[SCM] gsequencer/upstream: here's my code
jkraehemann-guest at users.alioth.debian.org
jkraehemann-guest at users.alioth.debian.org
Sun Jun 14 16:06:49 UTC 2015
The following commit has been merged in the upstream branch:
commit f232978bd62721fef8c3e14de3ba4c406ae578e3
Author: Joël Krähemann <weedlight at gmail.com>
Date: Thu Apr 2 21:43:11 2015 +0000
here's my code
diff --git a/.deps/gsequencer-ags_add_bulk_member.Po b/.deps/gsequencer-ags_add_bulk_member.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_add_bulk_member.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_add_line_member.Po b/.deps/gsequencer-ags_add_line_member.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_add_line_member.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_add_point_to_selection.Po b/.deps/gsequencer-ags_add_point_to_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_add_point_to_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_add_region_to_selection.Po b/.deps/gsequencer-ags_add_region_to_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_add_region_to_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_audio_preferences.Po b/.deps/gsequencer-ags_audio_preferences.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_audio_preferences.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_audio_preferences_callbacks.Po b/.deps/gsequencer-ags_audio_preferences_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_audio_preferences_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_area.Po b/.deps/gsequencer-ags_automation_area.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_area.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_area_callbacks.Po b/.deps/gsequencer-ags_automation_area_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_area_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_edit.Po b/.deps/gsequencer-ags_automation_edit.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_edit.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_edit_callbacks.Po b/.deps/gsequencer-ags_automation_edit_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_edit_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_editor.Po b/.deps/gsequencer-ags_automation_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_editor_callbacks.Po b/.deps/gsequencer-ags_automation_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_toolbar.Po b/.deps/gsequencer-ags_automation_toolbar.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_toolbar.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_automation_toolbar_callbacks.Po b/.deps/gsequencer-ags_automation_toolbar_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_automation_toolbar_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_bulk_member.Po b/.deps/gsequencer-ags_bulk_member.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_bulk_member.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_bulk_member_callbacks.Po b/.deps/gsequencer-ags_bulk_member_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_bulk_member_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_change_indicator.Po b/.deps/gsequencer-ags_change_indicator.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_change_indicator.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_change_tact.Po b/.deps/gsequencer-ags_change_tact.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_change_tact.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_display_tact.Po b/.deps/gsequencer-ags_display_tact.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_display_tact.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum.Po b/.deps/gsequencer-ags_drum.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_callbacks.Po b/.deps/gsequencer-ags_drum_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_input_line.Po b/.deps/gsequencer-ags_drum_input_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_input_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_input_line_callbacks.Po b/.deps/gsequencer-ags_drum_input_line_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_input_line_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_input_pad.Po b/.deps/gsequencer-ags_drum_input_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_input_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_input_pad_callbacks.Po b/.deps/gsequencer-ags_drum_input_pad_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_input_pad_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_output_line.Po b/.deps/gsequencer-ags_drum_output_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_output_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_output_line_callbacks.Po b/.deps/gsequencer-ags_drum_output_line_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_output_line_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_output_pad.Po b/.deps/gsequencer-ags_drum_output_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_output_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_drum_output_pad_callbacks.Po b/.deps/gsequencer-ags_drum_output_pad_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_drum_output_pad_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_editor.Po b/.deps/gsequencer-ags_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_editor_callbacks.Po b/.deps/gsequencer-ags_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_bridge.Po b/.deps/gsequencer-ags_effect_bridge.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_bridge.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_bridge_callbacks.Po b/.deps/gsequencer-ags_effect_bridge_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_bridge_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_bulk.Po b/.deps/gsequencer-ags_effect_bulk.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_bulk.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_bulk_callbacks.Po b/.deps/gsequencer-ags_effect_bulk_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_bulk_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_line.Po b/.deps/gsequencer-ags_effect_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_line_callbacks.Po b/.deps/gsequencer-ags_effect_line_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_line_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_pad.Po b/.deps/gsequencer-ags_effect_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_effect_pad_callbacks.Po b/.deps/gsequencer-ags_effect_pad_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_effect_pad_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_export_window.Po b/.deps/gsequencer-ags_export_window.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_export_window.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_export_window_callbacks.Po b/.deps/gsequencer-ags_export_window_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_export_window_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer.Po b/.deps/gsequencer-ags_ffplayer.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_bridge.Po b/.deps/gsequencer-ags_ffplayer_bridge.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_bridge.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_bridge_callbacks.Po b/.deps/gsequencer-ags_ffplayer_bridge_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_bridge_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_bulk_input.Po b/.deps/gsequencer-ags_ffplayer_bulk_input.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_bulk_input.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_bulk_input_callbacks.Po b/.deps/gsequencer-ags_ffplayer_bulk_input_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_bulk_input_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_callbacks.Po b/.deps/gsequencer-ags_ffplayer_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_input_line.Po b/.deps/gsequencer-ags_ffplayer_input_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_input_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_input_line_callbacks.Po b/.deps/gsequencer-ags_ffplayer_input_line_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_input_line_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_input_pad.Po b/.deps/gsequencer-ags_ffplayer_input_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_input_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ffplayer_input_pad_callbacks.Po b/.deps/gsequencer-ags_ffplayer_input_pad_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ffplayer_input_pad_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file.Po b/.deps/gsequencer-ags_file.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_gui.Po b/.deps/gsequencer-ags_file_gui.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_gui.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_id_ref.Po b/.deps/gsequencer-ags_file_id_ref.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_id_ref.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_launch.Po b/.deps/gsequencer-ags_file_launch.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_launch.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_link.Po b/.deps/gsequencer-ags_file_link.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_link.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_lookup.Po b/.deps/gsequencer-ags_file_lookup.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_lookup.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_selection.Po b/.deps/gsequencer-ags_file_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_selection_callbacks.Po b/.deps/gsequencer-ags_file_selection_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_selection_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_sound.Po b/.deps/gsequencer-ags_file_sound.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_sound.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_thread.Po b/.deps/gsequencer-ags_file_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_file_util.Po b/.deps/gsequencer-ags_file_util.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_file_util.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_free_selection.Po b/.deps/gsequencer-ags_free_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_free_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_generic_preferences.Po b/.deps/gsequencer-ags_generic_preferences.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_generic_preferences.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_generic_preferences_callbacks.Po b/.deps/gsequencer-ags_generic_preferences_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_generic_preferences_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_inline_player.Po b/.deps/gsequencer-ags_inline_player.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_inline_player.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_inline_player_callbacks.Po b/.deps/gsequencer-ags_inline_player_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_inline_player_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ladspa_bridge.Po b/.deps/gsequencer-ags_ladspa_bridge.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ladspa_bridge.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ladspa_bridge_callbacks.Po b/.deps/gsequencer-ags_ladspa_bridge_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ladspa_bridge_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ladspa_browser.Po b/.deps/gsequencer-ags_ladspa_browser.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ladspa_browser.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_ladspa_browser_callbacks.Po b/.deps/gsequencer-ags_ladspa_browser_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_ladspa_browser_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line.Po b/.deps/gsequencer-ags_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line_callbacks.Po b/.deps/gsequencer-ags_line_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line_editor.Po b/.deps/gsequencer-ags_line_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line_editor_callbacks.Po b/.deps/gsequencer-ags_line_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line_member.Po b/.deps/gsequencer-ags_line_member.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line_member.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line_member_callbacks.Po b/.deps/gsequencer-ags_line_member_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line_member_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line_member_editor.Po b/.deps/gsequencer-ags_line_member_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line_member_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_line_member_editor_callbacks.Po b/.deps/gsequencer-ags_line_member_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_line_member_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_link_collection_editor.Po b/.deps/gsequencer-ags_link_collection_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_link_collection_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_link_collection_editor_callbacks.Po b/.deps/gsequencer-ags_link_collection_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_link_collection_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_link_editor.Po b/.deps/gsequencer-ags_link_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_link_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_link_editor_callbacks.Po b/.deps/gsequencer-ags_link_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_link_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_listing_editor.Po b/.deps/gsequencer-ags_listing_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_listing_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_listing_editor_callbacks.Po b/.deps/gsequencer-ags_listing_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_listing_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine.Po b/.deps/gsequencer-ags_machine.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine_callbacks.Po b/.deps/gsequencer-ags_machine_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine_editor.Po b/.deps/gsequencer-ags_machine_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine_editor_callbacks.Po b/.deps/gsequencer-ags_machine_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine_radio_button.Po b/.deps/gsequencer-ags_machine_radio_button.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine_radio_button.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine_selection.Po b/.deps/gsequencer-ags_machine_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine_selector.Po b/.deps/gsequencer-ags_machine_selector.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine_selector.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_machine_selector_callbacks.Po b/.deps/gsequencer-ags_machine_selector_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_machine_selector_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_matrix.Po b/.deps/gsequencer-ags_matrix.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_matrix.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_matrix_bridge.Po b/.deps/gsequencer-ags_matrix_bridge.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_matrix_bridge.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_matrix_bridge_callbacks.Po b/.deps/gsequencer-ags_matrix_bridge_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_matrix_bridge_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_matrix_bulk_input.Po b/.deps/gsequencer-ags_matrix_bulk_input.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_matrix_bulk_input.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_matrix_bulk_input_callbacks.Po b/.deps/gsequencer-ags_matrix_bulk_input_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_matrix_bulk_input_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_matrix_callbacks.Po b/.deps/gsequencer-ags_matrix_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_matrix_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_menu_bar.Po b/.deps/gsequencer-ags_menu_bar.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_menu_bar.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_menu_bar_callbacks.Po b/.deps/gsequencer-ags_menu_bar_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_menu_bar_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_meter.Po b/.deps/gsequencer-ags_meter.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_meter.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_meter_callbacks.Po b/.deps/gsequencer-ags_meter_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_meter_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_mixer.Po b/.deps/gsequencer-ags_mixer.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_mixer.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_mixer_callbacks.Po b/.deps/gsequencer-ags_mixer_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_mixer_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_mixer_input_line.Po b/.deps/gsequencer-ags_mixer_input_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_mixer_input_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_mixer_input_pad.Po b/.deps/gsequencer-ags_mixer_input_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_mixer_input_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_navigation.Po b/.deps/gsequencer-ags_navigation.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_navigation.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_navigation_callbacks.Po b/.deps/gsequencer-ags_navigation_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_navigation_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_note_edit.Po b/.deps/gsequencer-ags_note_edit.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_note_edit.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_note_edit_callbacks.Po b/.deps/gsequencer-ags_note_edit_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_note_edit_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_notebook.Po b/.deps/gsequencer-ags_notebook.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_notebook.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_notebook_callbacks.Po b/.deps/gsequencer-ags_notebook_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_notebook_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_oscillator.Po b/.deps/gsequencer-ags_oscillator.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_oscillator.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_oscillator_callbacks.Po b/.deps/gsequencer-ags_oscillator_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_oscillator_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_pad.Po b/.deps/gsequencer-ags_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_pad_callbacks.Po b/.deps/gsequencer-ags_pad_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_pad_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_pad_editor.Po b/.deps/gsequencer-ags_pad_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_pad_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_pad_editor_callbacks.Po b/.deps/gsequencer-ags_pad_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_pad_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_panel.Po b/.deps/gsequencer-ags_panel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_panel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_panel_callbacks.Po b/.deps/gsequencer-ags_panel_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_panel_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_panel_input_line.Po b/.deps/gsequencer-ags_panel_input_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_panel_input_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_panel_input_pad.Po b/.deps/gsequencer-ags_panel_input_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_panel_input_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_pattern_edit.Po b/.deps/gsequencer-ags_pattern_edit.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_pattern_edit.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_pattern_edit_callbacks.Po b/.deps/gsequencer-ags_pattern_edit_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_pattern_edit_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_performance_preferences.Po b/.deps/gsequencer-ags_performance_preferences.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_performance_preferences.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_performance_preferences_callbacks.Po b/.deps/gsequencer-ags_performance_preferences_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_performance_preferences_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_plugin_preferences.Po b/.deps/gsequencer-ags_plugin_preferences.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_plugin_preferences.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_plugin_preferences_callbacks.Po b/.deps/gsequencer-ags_plugin_preferences_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_plugin_preferences_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_port_selection.Po b/.deps/gsequencer-ags_port_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_port_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_port_selection_callbacks.Po b/.deps/gsequencer-ags_port_selection_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_port_selection_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_preferences.Po b/.deps/gsequencer-ags_preferences.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_preferences.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_preferences_callbacks.Po b/.deps/gsequencer-ags_preferences_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_preferences_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_property_collection_editor.Po b/.deps/gsequencer-ags_property_collection_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_property_collection_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_property_collection_editor_callbacks.Po b/.deps/gsequencer-ags_property_collection_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_property_collection_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_property_editor.Po b/.deps/gsequencer-ags_property_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_property_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_property_editor_callbacks.Po b/.deps/gsequencer-ags_property_editor_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_property_editor_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_property_listing_editor.Po b/.deps/gsequencer-ags_property_listing_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_property_listing_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_registry.Po b/.deps/gsequencer-ags_registry.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_registry.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_remote_task.Po b/.deps/gsequencer-ags_remote_task.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_remote_task.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_remove_point_from_selection.Po b/.deps/gsequencer-ags_remove_point_from_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_remove_point_from_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_resize_editor.Po b/.deps/gsequencer-ags_resize_editor.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_resize_editor.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_save_file.Po b/.deps/gsequencer-ags_save_file.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_save_file.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_scroll_on_play.Po b/.deps/gsequencer-ags_scroll_on_play.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_scroll_on_play.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_server.Po b/.deps/gsequencer-ags_server.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_server.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_server_preferences.Po b/.deps/gsequencer-ags_server_preferences.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_server_preferences.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_server_preferences_callbacks.Po b/.deps/gsequencer-ags_server_preferences_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_server_preferences_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_sf2_chooser.Po b/.deps/gsequencer-ags_sf2_chooser.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_sf2_chooser.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_sf2_chooser_callbacks.Po b/.deps/gsequencer-ags_sf2_chooser_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_sf2_chooser_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_soundset.Po b/.deps/gsequencer-ags_soundset.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_soundset.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_soundset_callbacks.Po b/.deps/gsequencer-ags_soundset_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_soundset_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth.Po b/.deps/gsequencer-ags_synth.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_bridge.Po b/.deps/gsequencer-ags_synth_bridge.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_bridge.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_bridge_callbacks.Po b/.deps/gsequencer-ags_synth_bridge_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_bridge_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_bulk_output.Po b/.deps/gsequencer-ags_synth_bulk_output.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_bulk_output.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_bulk_output_callbacks.Po b/.deps/gsequencer-ags_synth_bulk_output_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_bulk_output_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_callbacks.Po b/.deps/gsequencer-ags_synth_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_input_line.Po b/.deps/gsequencer-ags_synth_input_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_input_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_input_pad.Po b/.deps/gsequencer-ags_synth_input_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_input_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_output_line.Po b/.deps/gsequencer-ags_synth_output_line.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_output_line.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_output_line_callbacks.Po b/.deps/gsequencer-ags_synth_output_line_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_output_line_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_output_pad.Po b/.deps/gsequencer-ags_synth_output_pad.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_output_pad.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_synth_output_pad_callbacks.Po b/.deps/gsequencer-ags_synth_output_pad_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_synth_output_pad_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_toggle_led.Po b/.deps/gsequencer-ags_toggle_led.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_toggle_led.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_toggle_pattern_bit.Po b/.deps/gsequencer-ags_toggle_pattern_bit.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_toggle_pattern_bit.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_toolbar.Po b/.deps/gsequencer-ags_toolbar.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_toolbar.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_toolbar_callbacks.Po b/.deps/gsequencer-ags_toolbar_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_toolbar_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_update_bulk_member.Po b/.deps/gsequencer-ags_update_bulk_member.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_update_bulk_member.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_window.Po b/.deps/gsequencer-ags_window.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_window.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-ags_window_callbacks.Po b/.deps/gsequencer-ags_window_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-ags_window_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/gsequencer-main.Po b/.deps/gsequencer-main.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/gsequencer-main.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_a-ags_applicable.Po b/.deps/libags_a-ags_applicable.Po
new file mode 100644
index 0000000..914f227
--- /dev/null
+++ b/.deps/libags_a-ags_applicable.Po
@@ -0,0 +1,402 @@
+libags_a-ags_applicable.o: src/ags/object/ags_applicable.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_applicable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_applicable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
diff --git a/.deps/libags_a-ags_combo_box_text.Po b/.deps/libags_a-ags_combo_box_text.Po
new file mode 100644
index 0000000..d0e90d6
--- /dev/null
+++ b/.deps/libags_a-ags_combo_box_text.Po
@@ -0,0 +1,1745 @@
+libags_a-ags_combo_box_text.o: src/ags/lib/ags_combo_box_text.c \
+ /usr/include/stdc-predef.h src/ags/lib/ags_combo_box_text.h \
+ /usr/include/glib-2.0/glib.h /usr/include/glib-2.0/glib/galloca.h \
+ /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h \
+ /usr/include/gtk-2.0/gtk/gtk.h /usr/include/gtk-2.0/gdk/gdk.h \
+ /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h \
+ /usr/include/glib-2.0/gio/gio.h /usr/include/glib-2.0/gio/giotypes.h \
+ /usr/include/glib-2.0/gio/gioenums.h /usr/include/glib-2.0/gio/gaction.h \
+ /usr/include/glib-2.0/gio/gactiongroup.h \
+ /usr/include/glib-2.0/gio/gactiongroupexporter.h \
+ /usr/include/glib-2.0/gio/gactionmap.h \
+ /usr/include/glib-2.0/gio/gappinfo.h \
+ /usr/include/glib-2.0/gio/gapplication.h \
+ /usr/include/glib-2.0/gio/gapplicationcommandline.h \
+ /usr/include/glib-2.0/gio/gasyncinitable.h \
+ /usr/include/glib-2.0/gio/ginitable.h \
+ /usr/include/glib-2.0/gio/gasyncresult.h \
+ /usr/include/glib-2.0/gio/gbufferedinputstream.h \
+ /usr/include/glib-2.0/gio/gfilterinputstream.h \
+ /usr/include/glib-2.0/gio/ginputstream.h \
+ /usr/include/glib-2.0/gio/gbufferedoutputstream.h \
+ /usr/include/glib-2.0/gio/gfilteroutputstream.h \
+ /usr/include/glib-2.0/gio/goutputstream.h \
+ /usr/include/glib-2.0/gio/gbytesicon.h \
+ /usr/include/glib-2.0/gio/gcancellable.h \
+ /usr/include/glib-2.0/gio/gcharsetconverter.h \
+ /usr/include/glib-2.0/gio/gconverter.h \
+ /usr/include/glib-2.0/gio/gcontenttype.h \
+ /usr/include/glib-2.0/gio/gconverterinputstream.h \
+ /usr/include/glib-2.0/gio/gconverteroutputstream.h \
+ /usr/include/glib-2.0/gio/gcredentials.h /usr/include/unistd.h \
+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
+ /usr/include/bits/confname.h /usr/include/getopt.h \
+ /usr/include/glib-2.0/gio/gdatainputstream.h \
+ /usr/include/glib-2.0/gio/gdataoutputstream.h \
+ /usr/include/glib-2.0/gio/gdbusaddress.h \
+ /usr/include/glib-2.0/gio/gdbusauthobserver.h \
+ /usr/include/glib-2.0/gio/gdbusconnection.h \
+ /usr/include/glib-2.0/gio/gdbuserror.h \
+ /usr/include/glib-2.0/gio/gdbusintrospection.h \
+ /usr/include/glib-2.0/gio/gdbusmessage.h \
+ /usr/include/glib-2.0/gio/gdbusmethodinvocation.h \
+ /usr/include/glib-2.0/gio/gdbusnameowning.h \
+ /usr/include/glib-2.0/gio/gdbusnamewatching.h \
+ /usr/include/glib-2.0/gio/gdbusproxy.h \
+ /usr/include/glib-2.0/gio/gdbusserver.h \
+ /usr/include/glib-2.0/gio/gdbusutils.h \
+ /usr/include/glib-2.0/gio/gdrive.h \
+ /usr/include/glib-2.0/gio/gemblemedicon.h \
+ /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \
+ /usr/include/glib-2.0/gio/gfileattribute.h \
+ /usr/include/glib-2.0/gio/gfileenumerator.h \
+ /usr/include/glib-2.0/gio/gfile.h /usr/include/glib-2.0/gio/gfileicon.h \
+ /usr/include/glib-2.0/gio/gfileinfo.h \
+ /usr/include/glib-2.0/gio/gfileinputstream.h \
+ /usr/include/glib-2.0/gio/gfileiostream.h \
+ /usr/include/glib-2.0/gio/giostream.h \
+ /usr/include/glib-2.0/gio/gioerror.h \
+ /usr/include/glib-2.0/gio/gfilemonitor.h \
+ /usr/include/glib-2.0/gio/gfilenamecompleter.h \
+ /usr/include/glib-2.0/gio/gfileoutputstream.h \
+ /usr/include/glib-2.0/gio/ginetaddress.h \
+ /usr/include/glib-2.0/gio/ginetaddressmask.h \
+ /usr/include/glib-2.0/gio/ginetsocketaddress.h \
+ /usr/include/glib-2.0/gio/gsocketaddress.h \
+ /usr/include/glib-2.0/gio/gioenumtypes.h \
+ /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \
+ /usr/include/glib-2.0/gio/gioscheduler.h \
+ /usr/include/glib-2.0/gio/gloadableicon.h \
+ /usr/include/glib-2.0/gio/gmemoryinputstream.h \
+ /usr/include/glib-2.0/gio/gmemoryoutputstream.h \
+ /usr/include/glib-2.0/gio/gmount.h \
+ /usr/include/glib-2.0/gio/gmountoperation.h \
+ /usr/include/glib-2.0/gio/gnativevolumemonitor.h \
+ /usr/include/glib-2.0/gio/gvolumemonitor.h \
+ /usr/include/glib-2.0/gio/gnetworkaddress.h \
+ /usr/include/glib-2.0/gio/gnetworkmonitor.h \
+ /usr/include/glib-2.0/gio/gnetworkservice.h \
+ /usr/include/glib-2.0/gio/gpermission.h \
+ /usr/include/glib-2.0/gio/gpollableinputstream.h \
+ /usr/include/glib-2.0/gio/gpollableoutputstream.h \
+ /usr/include/glib-2.0/gio/gpollableutils.h \
+ /usr/include/glib-2.0/gio/gpropertyaction.h \
+ /usr/include/glib-2.0/gio/gproxy.h \
+ /usr/include/glib-2.0/gio/gproxyaddress.h \
+ /usr/include/glib-2.0/gio/gproxyaddressenumerator.h \
+ /usr/include/glib-2.0/gio/gsocketaddressenumerator.h \
+ /usr/include/glib-2.0/gio/gproxyresolver.h \
+ /usr/include/glib-2.0/gio/gresolver.h \
+ /usr/include/glib-2.0/gio/gresource.h \
+ /usr/include/glib-2.0/gio/gseekable.h \
+ /usr/include/glib-2.0/gio/gsettingsschema.h \
+ /usr/include/glib-2.0/gio/gsettings.h \
+ /usr/include/glib-2.0/gio/gsimpleaction.h \
+ /usr/include/glib-2.0/gio/gsimpleactiongroup.h \
+ /usr/include/glib-2.0/gio/gactiongroup.h \
+ /usr/include/glib-2.0/gio/gactionmap.h \
+ /usr/include/glib-2.0/gio/gsimpleasyncresult.h \
+ /usr/include/glib-2.0/gio/gsimplepermission.h \
+ /usr/include/glib-2.0/gio/gsocketclient.h \
+ /usr/include/glib-2.0/gio/gsocketconnectable.h \
+ /usr/include/glib-2.0/gio/gsocketconnection.h \
+ /usr/include/glib-2.0/gio/gsocket.h \
+ /usr/include/glib-2.0/gio/gsocketcontrolmessage.h \
+ /usr/include/glib-2.0/gio/gsocketlistener.h \
+ /usr/include/glib-2.0/gio/gsocketservice.h \
+ /usr/include/glib-2.0/gio/gsrvtarget.h \
+ /usr/include/glib-2.0/gio/gsimpleproxyresolver.h \
+ /usr/include/glib-2.0/gio/gtask.h \
+ /usr/include/glib-2.0/gio/gsubprocess.h \
+ /usr/include/glib-2.0/gio/gsubprocesslauncher.h \
+ /usr/include/glib-2.0/gio/gtcpconnection.h \
+ /usr/include/glib-2.0/gio/gtcpwrapperconnection.h \
+ /usr/include/glib-2.0/gio/gtestdbus.h \
+ /usr/include/glib-2.0/gio/gthemedicon.h \
+ /usr/include/glib-2.0/gio/gthreadedsocketservice.h \
+ /usr/include/glib-2.0/gio/gtlsbackend.h \
+ /usr/include/glib-2.0/gio/gtlscertificate.h \
+ /usr/include/glib-2.0/gio/gtlsclientconnection.h \
+ /usr/include/glib-2.0/gio/gtlsconnection.h \
+ /usr/include/glib-2.0/gio/gtlsdatabase.h \
+ /usr/include/glib-2.0/gio/gtlsfiledatabase.h \
+ /usr/include/glib-2.0/gio/gtlsinteraction.h \
+ /usr/include/glib-2.0/gio/gtlsserverconnection.h \
+ /usr/include/glib-2.0/gio/gtlspassword.h \
+ /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \
+ /usr/include/glib-2.0/gio/gzlibcompressor.h \
+ /usr/include/glib-2.0/gio/gzlibdecompressor.h \
+ /usr/include/glib-2.0/gio/gdbusinterface.h \
+ /usr/include/glib-2.0/gio/gdbusinterfaceskeleton.h \
+ /usr/include/glib-2.0/gio/gdbusobject.h \
+ /usr/include/glib-2.0/gio/gdbusobjectskeleton.h \
+ /usr/include/glib-2.0/gio/gdbusobjectproxy.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanager.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanagerclient.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanagerserver.h \
+ /usr/include/glib-2.0/gio/gdbusactiongroup.h \
+ /usr/include/glib-2.0/gio/giotypes.h \
+ /usr/include/glib-2.0/gio/gremoteactiongroup.h \
+ /usr/include/glib-2.0/gio/gmenumodel.h /usr/include/glib-2.0/gio/gmenu.h \
+ /usr/include/glib-2.0/gio/gmenuexporter.h \
+ /usr/include/glib-2.0/gio/gdbusmenumodel.h \
+ /usr/include/glib-2.0/gio/gnotification.h \
+ /usr/include/gtk-2.0/gdk/gdkscreen.h /usr/include/cairo/cairo.h \
+ /usr/include/cairo/cairo-version.h /usr/include/cairo/cairo-features.h \
+ /usr/include/cairo/cairo-deprecated.h \
+ /usr/include/gtk-2.0/gdk/gdktypes.h /usr/include/pango-1.0/pango/pango.h \
+ /usr/include/pango-1.0/pango/pango-attributes.h \
+ /usr/include/pango-1.0/pango/pango-font.h \
+ /usr/include/pango-1.0/pango/pango-coverage.h \
+ /usr/include/pango-1.0/pango/pango-types.h \
+ /usr/include/pango-1.0/pango/pango-gravity.h \
+ /usr/include/pango-1.0/pango/pango-matrix.h \
+ /usr/include/pango-1.0/pango/pango-script.h \
+ /usr/include/pango-1.0/pango/pango-language.h \
+ /usr/include/pango-1.0/pango/pango-bidi-type.h \
+ /usr/include/pango-1.0/pango/pango-break.h \
+ /usr/include/pango-1.0/pango/pango-item.h \
+ /usr/include/pango-1.0/pango/pango-context.h \
+ /usr/include/pango-1.0/pango/pango-fontmap.h \
+ /usr/include/pango-1.0/pango/pango-fontset.h \
+ /usr/include/pango-1.0/pango/pango-engine.h \
+ /usr/include/pango-1.0/pango/pango-glyph.h \
+ /usr/include/pango-1.0/pango/pango-enum-types.h \
+ /usr/include/pango-1.0/pango/pango-features.h \
+ /usr/include/pango-1.0/pango/pango-glyph-item.h \
+ /usr/include/pango-1.0/pango/pango-layout.h \
+ /usr/include/pango-1.0/pango/pango-tabs.h \
+ /usr/include/pango-1.0/pango/pango-renderer.h \
+ /usr/include/pango-1.0/pango/pango-utils.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/lib/gtk-2.0/include/gdkconfig.h \
+ /usr/include/gtk-2.0/gdk/gdkdisplay.h \
+ /usr/include/gtk-2.0/gdk/gdkevents.h /usr/include/gtk-2.0/gdk/gdkcolor.h \
+ /usr/include/gtk-2.0/gdk/gdkdnd.h /usr/include/gtk-2.0/gdk/gdkinput.h \
+ /usr/include/gtk-2.0/gdk/gdkcairo.h /usr/include/gtk-2.0/gdk/gdkpixbuf.h \
+ /usr/include/gtk-2.0/gdk/gdkrgb.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h \
+ /usr/include/pango-1.0/pango/pangocairo.h \
+ /usr/include/gtk-2.0/gdk/gdkcursor.h \
+ /usr/include/gtk-2.0/gdk/gdkdisplaymanager.h \
+ /usr/include/gtk-2.0/gdk/gdkdrawable.h /usr/include/gtk-2.0/gdk/gdkgc.h \
+ /usr/include/gtk-2.0/gdk/gdkenumtypes.h \
+ /usr/include/gtk-2.0/gdk/gdkfont.h /usr/include/gtk-2.0/gdk/gdkimage.h \
+ /usr/include/gtk-2.0/gdk/gdkkeys.h /usr/include/gtk-2.0/gdk/gdkpango.h \
+ /usr/include/gtk-2.0/gdk/gdkpixmap.h \
+ /usr/include/gtk-2.0/gdk/gdkproperty.h \
+ /usr/include/gtk-2.0/gdk/gdkregion.h \
+ /usr/include/gtk-2.0/gdk/gdkselection.h \
+ /usr/include/gtk-2.0/gdk/gdkspawn.h \
+ /usr/include/gtk-2.0/gdk/gdktestutils.h \
+ /usr/include/gtk-2.0/gdk/gdkwindow.h \
+ /usr/include/gtk-2.0/gdk/gdkvisual.h \
+ /usr/include/gtk-2.0/gtk/gtkaboutdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkaccelgroup.h \
+ /usr/include/gtk-2.0/gtk/gtkenums.h /usr/include/gtk-2.0/gtk/gtkbin.h \
+ /usr/include/gtk-2.0/gtk/gtkcontainer.h \
+ /usr/include/gtk-2.0/gtk/gtkwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkobject.h \
+ /usr/include/gtk-2.0/gtk/gtktypeutils.h \
+ /usr/include/gtk-2.0/gtk/gtktypebuiltins.h \
+ /usr/include/gtk-2.0/gtk/gtkdebug.h \
+ /usr/include/gtk-2.0/gtk/gtkadjustment.h \
+ /usr/include/gtk-2.0/gtk/gtkstyle.h \
+ /usr/include/gtk-2.0/gtk/gtksettings.h /usr/include/gtk-2.0/gtk/gtkrc.h \
+ /usr/include/atk-1.0/atk/atk.h /usr/include/atk-1.0/atk/atkobject.h \
+ /usr/include/atk-1.0/atk/atkversion.h \
+ /usr/include/atk-1.0/atk/atkstate.h \
+ /usr/include/atk-1.0/atk/atkrelationtype.h \
+ /usr/include/atk-1.0/atk/atkaction.h \
+ /usr/include/atk-1.0/atk/atkcomponent.h \
+ /usr/include/atk-1.0/atk/atkutil.h \
+ /usr/include/atk-1.0/atk/atkdocument.h \
+ /usr/include/atk-1.0/atk/atkeditabletext.h \
+ /usr/include/atk-1.0/atk/atktext.h \
+ /usr/include/atk-1.0/atk/atk-enum-types.h \
+ /usr/include/atk-1.0/atk/atkgobjectaccessible.h \
+ /usr/include/atk-1.0/atk/atkhyperlink.h \
+ /usr/include/atk-1.0/atk/atkhyperlinkimpl.h \
+ /usr/include/atk-1.0/atk/atkhypertext.h \
+ /usr/include/atk-1.0/atk/atkimage.h \
+ /usr/include/atk-1.0/atk/atknoopobject.h \
+ /usr/include/atk-1.0/atk/atknoopobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkplug.h /usr/include/atk-1.0/atk/atkrange.h \
+ /usr/include/atk-1.0/atk/atkregistry.h \
+ /usr/include/atk-1.0/atk/atkobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkrelation.h \
+ /usr/include/atk-1.0/atk/atkrelationset.h \
+ /usr/include/atk-1.0/atk/atkselection.h \
+ /usr/include/atk-1.0/atk/atksocket.h \
+ /usr/include/atk-1.0/atk/atkstateset.h \
+ /usr/include/atk-1.0/atk/atkstreamablecontent.h \
+ /usr/include/atk-1.0/atk/atktable.h \
+ /usr/include/atk-1.0/atk/atktablecell.h \
+ /usr/include/atk-1.0/atk/atkmisc.h /usr/include/atk-1.0/atk/atkvalue.h \
+ /usr/include/atk-1.0/atk/atkwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkaccellabel.h \
+ /usr/include/gtk-2.0/gtk/gtklabel.h /usr/include/gtk-2.0/gtk/gtkmisc.h \
+ /usr/include/gtk-2.0/gtk/gtkmenu.h \
+ /usr/include/gtk-2.0/gtk/gtkmenushell.h \
+ /usr/include/gtk-2.0/gtk/gtkaccelmap.h \
+ /usr/include/gtk-2.0/gtk/gtkaccessible.h \
+ /usr/include/gtk-2.0/gtk/gtkaction.h \
+ /usr/include/gtk-2.0/gtk/gtkactiongroup.h \
+ /usr/include/gtk-2.0/gtk/gtkactivatable.h \
+ /usr/include/gtk-2.0/gtk/gtkalignment.h \
+ /usr/include/gtk-2.0/gtk/gtkarrow.h \
+ /usr/include/gtk-2.0/gtk/gtkaspectframe.h \
+ /usr/include/gtk-2.0/gtk/gtkframe.h \
+ /usr/include/gtk-2.0/gtk/gtkassistant.h \
+ /usr/include/gtk-2.0/gtk/gtkbbox.h /usr/include/gtk-2.0/gtk/gtkbox.h \
+ /usr/include/gtk-2.0/gtk/gtkbindings.h \
+ /usr/include/gtk-2.0/gtk/gtkbuildable.h \
+ /usr/include/gtk-2.0/gtk/gtkbuilder.h \
+ /usr/include/gtk-2.0/gtk/gtkbutton.h /usr/include/gtk-2.0/gtk/gtkimage.h \
+ /usr/include/gtk-2.0/gtk/gtkcalendar.h \
+ /usr/include/gtk-2.0/gtk/gtksignal.h \
+ /usr/include/gtk-2.0/gtk/gtkmarshal.h \
+ /usr/include/gtk-2.0/gtk/gtkcelleditable.h \
+ /usr/include/gtk-2.0/gtk/gtkcelllayout.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderer.h \
+ /usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodel.h \
+ /usr/include/gtk-2.0/gtk/gtktreesortable.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendereraccel.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderertext.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderercombo.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererspin.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererspinner.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h \
+ /usr/include/gtk-2.0/gtk/gtkcellview.h \
+ /usr/include/gtk-2.0/gtk/gtkcheckbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktogglebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkitem.h \
+ /usr/include/gtk-2.0/gtk/gtkclipboard.h \
+ /usr/include/gtk-2.0/gtk/gtkselection.h \
+ /usr/include/gtk-2.0/gtk/gtktextiter.h \
+ /usr/include/gtk-2.0/gtk/gtktexttag.h \
+ /usr/include/gtk-2.0/gtk/gtktextchild.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorsel.h \
+ /usr/include/gtk-2.0/gtk/gtkvbox.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorseldialog.h \
+ /usr/include/gtk-2.0/gtk/gtkcombobox.h \
+ /usr/include/gtk-2.0/gtk/gtktreeview.h /usr/include/gtk-2.0/gtk/gtkdnd.h \
+ /usr/include/gtk-2.0/gtk/gtkentry.h \
+ /usr/include/gtk-2.0/gtk/gtkeditable.h \
+ /usr/include/gtk-2.0/gtk/gtkimcontext.h \
+ /usr/include/gtk-2.0/gtk/gtkentrybuffer.h \
+ /usr/include/gtk-2.0/gtk/gtkentrycompletion.h \
+ /usr/include/gtk-2.0/gtk/gtkliststore.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodelfilter.h \
+ /usr/include/gtk-2.0/gtk/gtkcomboboxentry.h \
+ /usr/include/gtk-2.0/gtk/gtkcomboboxtext.h \
+ /usr/include/gtk-2.0/gtk/gtkdrawingarea.h \
+ /usr/include/gtk-2.0/gtk/gtkeventbox.h \
+ /usr/include/gtk-2.0/gtk/gtkexpander.h \
+ /usr/include/gtk-2.0/gtk/gtkfixed.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooser.h \
+ /usr/include/gtk-2.0/gtk/gtkfilefilter.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkhbox.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkfontbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkfontsel.h /usr/include/gtk-2.0/gtk/gtkgc.h \
+ /usr/include/gtk-2.0/gtk/gtkhandlebox.h \
+ /usr/include/gtk-2.0/gtk/gtkhbbox.h /usr/include/gtk-2.0/gtk/gtkhpaned.h \
+ /usr/include/gtk-2.0/gtk/gtkpaned.h /usr/include/gtk-2.0/gtk/gtkhruler.h \
+ /usr/include/gtk-2.0/gtk/gtkruler.h /usr/include/gtk-2.0/gtk/gtkhscale.h \
+ /usr/include/gtk-2.0/gtk/gtkscale.h /usr/include/gtk-2.0/gtk/gtkrange.h \
+ /usr/include/gtk-2.0/gtk/gtkhscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkhseparator.h \
+ /usr/include/gtk-2.0/gtk/gtkseparator.h \
+ /usr/include/gtk-2.0/gtk/gtkhsv.h \
+ /usr/include/gtk-2.0/gtk/gtkiconfactory.h \
+ /usr/include/gtk-2.0/gtk/gtkicontheme.h \
+ /usr/include/gtk-2.0/gtk/gtkiconview.h \
+ /usr/include/gtk-2.0/gtk/gtktooltip.h \
+ /usr/include/gtk-2.0/gtk/gtkimagemenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkimcontextsimple.h \
+ /usr/include/gtk-2.0/gtk/gtkimmulticontext.h \
+ /usr/include/gtk-2.0/gtk/gtkinfobar.h \
+ /usr/include/gtk-2.0/gtk/gtkinvisible.h \
+ /usr/include/gtk-2.0/gtk/gtklayout.h \
+ /usr/include/gtk-2.0/gtk/gtklinkbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkmain.h /usr/include/gtk-2.0/gtk/gtkmenubar.h \
+ /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoolitem.h \
+ /usr/include/gtk-2.0/gtk/gtktooltips.h \
+ /usr/include/gtk-2.0/gtk/gtksizegroup.h \
+ /usr/include/gtk-2.0/gtk/gtkmessagedialog.h \
+ /usr/include/gtk-2.0/gtk/gtkmodules.h \
+ /usr/include/gtk-2.0/gtk/gtkmountoperation.h \
+ /usr/include/gtk-2.0/gtk/gtknotebook.h \
+ /usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkorientable.h \
+ /usr/include/gtk-2.0/gtk/gtkpagesetup.h \
+ /usr/include/gtk-2.0/gtk/gtkpapersize.h \
+ /usr/include/gtk-2.0/gtk/gtkplug.h /usr/include/gtk-2.0/gtk/gtksocket.h \
+ /usr/include/gtk-2.0/gtk/gtkprintcontext.h \
+ /usr/include/gtk-2.0/gtk/gtkprintoperation.h \
+ /usr/include/gtk-2.0/gtk/gtkprintsettings.h \
+ /usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h \
+ /usr/include/gtk-2.0/gtk/gtkprogressbar.h \
+ /usr/include/gtk-2.0/gtk/gtkprogress.h \
+ /usr/include/gtk-2.0/gtk/gtkradioaction.h \
+ /usr/include/gtk-2.0/gtk/gtktoggleaction.h \
+ /usr/include/gtk-2.0/gtk/gtkradiobutton.h \
+ /usr/include/gtk-2.0/gtk/gtkradiomenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentaction.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentmanager.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooser.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentfilter.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooserdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchoosermenu.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkscalebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkscrolledwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkvscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkviewport.h \
+ /usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h \
+ /usr/include/gtk-2.0/gtk/gtkshow.h \
+ /usr/include/gtk-2.0/gtk/gtkspinbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkspinner.h \
+ /usr/include/gtk-2.0/gtk/gtkstatusbar.h \
+ /usr/include/gtk-2.0/gtk/gtkstatusicon.h \
+ /usr/include/gtk-2.0/gtk/gtkstock.h /usr/include/gtk-2.0/gtk/gtktable.h \
+ /usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtktextbuffer.h \
+ /usr/include/gtk-2.0/gtk/gtktexttagtable.h \
+ /usr/include/gtk-2.0/gtk/gtktextmark.h \
+ /usr/include/gtk-2.0/gtk/gtktextbufferrichtext.h \
+ /usr/include/gtk-2.0/gtk/gtktextview.h \
+ /usr/include/gtk-2.0/gtk/gtktoolbar.h \
+ /usr/include/gtk-2.0/gtk/gtkpixmap.h \
+ /usr/include/gtk-2.0/gtk/gtktoolitemgroup.h \
+ /usr/include/gtk-2.0/gtk/gtktoolpalette.h \
+ /usr/include/gtk-2.0/gtk/gtktoolshell.h \
+ /usr/include/gtk-2.0/gtk/gtktestutils.h \
+ /usr/include/gtk-2.0/gtk/gtktreednd.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodelsort.h \
+ /usr/include/gtk-2.0/gtk/gtktreeselection.h \
+ /usr/include/gtk-2.0/gtk/gtktreestore.h \
+ /usr/include/gtk-2.0/gtk/gtkuimanager.h \
+ /usr/include/gtk-2.0/gtk/gtkvbbox.h \
+ /usr/include/gtk-2.0/gtk/gtkversion.h \
+ /usr/include/gtk-2.0/gtk/gtkvolumebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkvpaned.h \
+ /usr/include/gtk-2.0/gtk/gtkvruler.h \
+ /usr/include/gtk-2.0/gtk/gtkvscale.h \
+ /usr/include/gtk-2.0/gtk/gtkvseparator.h \
+ /usr/include/gtk-2.0/gtk/gtktext.h /usr/include/gtk-2.0/gtk/gtktree.h \
+ /usr/include/gtk-2.0/gtk/gtktreeitem.h \
+ /usr/include/gtk-2.0/gtk/gtkclist.h /usr/include/gtk-2.0/gtk/gtkcombo.h \
+ /usr/include/gtk-2.0/gtk/gtkctree.h /usr/include/gtk-2.0/gtk/gtkcurve.h \
+ /usr/include/gtk-2.0/gtk/gtkfilesel.h \
+ /usr/include/gtk-2.0/gtk/gtkgamma.h \
+ /usr/include/gtk-2.0/gtk/gtkinputdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkitemfactory.h \
+ /usr/include/gtk-2.0/gtk/gtklist.h \
+ /usr/include/gtk-2.0/gtk/gtklistitem.h \
+ /usr/include/gtk-2.0/gtk/gtkoldeditable.h \
+ /usr/include/gtk-2.0/gtk/gtkoptionmenu.h \
+ /usr/include/gtk-2.0/gtk/gtkpreview.h \
+ /usr/include/gtk-2.0/gtk/gtktipsquery.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/lib/ags_combo_box_text.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/gtk-2.0/gtk/gtk.h:
+
+/usr/include/gtk-2.0/gdk/gdk.h:
+
+/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:
+
+/usr/include/glib-2.0/gio/gio.h:
+
+/usr/include/glib-2.0/gio/giotypes.h:
+
+/usr/include/glib-2.0/gio/gioenums.h:
+
+/usr/include/glib-2.0/gio/gaction.h:
+
+/usr/include/glib-2.0/gio/gactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactiongroupexporter.h:
+
+/usr/include/glib-2.0/gio/gactionmap.h:
+
+/usr/include/glib-2.0/gio/gappinfo.h:
+
+/usr/include/glib-2.0/gio/gapplication.h:
+
+/usr/include/glib-2.0/gio/gapplicationcommandline.h:
+
+/usr/include/glib-2.0/gio/gasyncinitable.h:
+
+/usr/include/glib-2.0/gio/ginitable.h:
+
+/usr/include/glib-2.0/gio/gasyncresult.h:
+
+/usr/include/glib-2.0/gio/gbufferedinputstream.h:
+
+/usr/include/glib-2.0/gio/gfilterinputstream.h:
+
+/usr/include/glib-2.0/gio/ginputstream.h:
+
+/usr/include/glib-2.0/gio/gbufferedoutputstream.h:
+
+/usr/include/glib-2.0/gio/gfilteroutputstream.h:
+
+/usr/include/glib-2.0/gio/goutputstream.h:
+
+/usr/include/glib-2.0/gio/gbytesicon.h:
+
+/usr/include/glib-2.0/gio/gcancellable.h:
+
+/usr/include/glib-2.0/gio/gcharsetconverter.h:
+
+/usr/include/glib-2.0/gio/gconverter.h:
+
+/usr/include/glib-2.0/gio/gcontenttype.h:
+
+/usr/include/glib-2.0/gio/gconverterinputstream.h:
+
+/usr/include/glib-2.0/gio/gconverteroutputstream.h:
+
+/usr/include/glib-2.0/gio/gcredentials.h:
+
+/usr/include/unistd.h:
+
+/usr/include/bits/posix_opt.h:
+
+/usr/include/bits/environments.h:
+
+/usr/include/bits/confname.h:
+
+/usr/include/getopt.h:
+
+/usr/include/glib-2.0/gio/gdatainputstream.h:
+
+/usr/include/glib-2.0/gio/gdataoutputstream.h:
+
+/usr/include/glib-2.0/gio/gdbusaddress.h:
+
+/usr/include/glib-2.0/gio/gdbusauthobserver.h:
+
+/usr/include/glib-2.0/gio/gdbusconnection.h:
+
+/usr/include/glib-2.0/gio/gdbuserror.h:
+
+/usr/include/glib-2.0/gio/gdbusintrospection.h:
+
+/usr/include/glib-2.0/gio/gdbusmessage.h:
+
+/usr/include/glib-2.0/gio/gdbusmethodinvocation.h:
+
+/usr/include/glib-2.0/gio/gdbusnameowning.h:
+
+/usr/include/glib-2.0/gio/gdbusnamewatching.h:
+
+/usr/include/glib-2.0/gio/gdbusproxy.h:
+
+/usr/include/glib-2.0/gio/gdbusserver.h:
+
+/usr/include/glib-2.0/gio/gdbusutils.h:
+
+/usr/include/glib-2.0/gio/gdrive.h:
+
+/usr/include/glib-2.0/gio/gemblemedicon.h:
+
+/usr/include/glib-2.0/gio/gicon.h:
+
+/usr/include/glib-2.0/gio/gemblem.h:
+
+/usr/include/glib-2.0/gio/gfileattribute.h:
+
+/usr/include/glib-2.0/gio/gfileenumerator.h:
+
+/usr/include/glib-2.0/gio/gfile.h:
+
+/usr/include/glib-2.0/gio/gfileicon.h:
+
+/usr/include/glib-2.0/gio/gfileinfo.h:
+
+/usr/include/glib-2.0/gio/gfileinputstream.h:
+
+/usr/include/glib-2.0/gio/gfileiostream.h:
+
+/usr/include/glib-2.0/gio/giostream.h:
+
+/usr/include/glib-2.0/gio/gioerror.h:
+
+/usr/include/glib-2.0/gio/gfilemonitor.h:
+
+/usr/include/glib-2.0/gio/gfilenamecompleter.h:
+
+/usr/include/glib-2.0/gio/gfileoutputstream.h:
+
+/usr/include/glib-2.0/gio/ginetaddress.h:
+
+/usr/include/glib-2.0/gio/ginetaddressmask.h:
+
+/usr/include/glib-2.0/gio/ginetsocketaddress.h:
+
+/usr/include/glib-2.0/gio/gsocketaddress.h:
+
+/usr/include/glib-2.0/gio/gioenumtypes.h:
+
+/usr/include/glib-2.0/gio/giomodule.h:
+
+/usr/include/glib-2.0/gmodule.h:
+
+/usr/include/glib-2.0/gio/gioscheduler.h:
+
+/usr/include/glib-2.0/gio/gloadableicon.h:
+
+/usr/include/glib-2.0/gio/gmemoryinputstream.h:
+
+/usr/include/glib-2.0/gio/gmemoryoutputstream.h:
+
+/usr/include/glib-2.0/gio/gmount.h:
+
+/usr/include/glib-2.0/gio/gmountoperation.h:
+
+/usr/include/glib-2.0/gio/gnativevolumemonitor.h:
+
+/usr/include/glib-2.0/gio/gvolumemonitor.h:
+
+/usr/include/glib-2.0/gio/gnetworkaddress.h:
+
+/usr/include/glib-2.0/gio/gnetworkmonitor.h:
+
+/usr/include/glib-2.0/gio/gnetworkservice.h:
+
+/usr/include/glib-2.0/gio/gpermission.h:
+
+/usr/include/glib-2.0/gio/gpollableinputstream.h:
+
+/usr/include/glib-2.0/gio/gpollableoutputstream.h:
+
+/usr/include/glib-2.0/gio/gpollableutils.h:
+
+/usr/include/glib-2.0/gio/gpropertyaction.h:
+
+/usr/include/glib-2.0/gio/gproxy.h:
+
+/usr/include/glib-2.0/gio/gproxyaddress.h:
+
+/usr/include/glib-2.0/gio/gproxyaddressenumerator.h:
+
+/usr/include/glib-2.0/gio/gsocketaddressenumerator.h:
+
+/usr/include/glib-2.0/gio/gproxyresolver.h:
+
+/usr/include/glib-2.0/gio/gresolver.h:
+
+/usr/include/glib-2.0/gio/gresource.h:
+
+/usr/include/glib-2.0/gio/gseekable.h:
+
+/usr/include/glib-2.0/gio/gsettingsschema.h:
+
+/usr/include/glib-2.0/gio/gsettings.h:
+
+/usr/include/glib-2.0/gio/gsimpleaction.h:
+
+/usr/include/glib-2.0/gio/gsimpleactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactionmap.h:
+
+/usr/include/glib-2.0/gio/gsimpleasyncresult.h:
+
+/usr/include/glib-2.0/gio/gsimplepermission.h:
+
+/usr/include/glib-2.0/gio/gsocketclient.h:
+
+/usr/include/glib-2.0/gio/gsocketconnectable.h:
+
+/usr/include/glib-2.0/gio/gsocketconnection.h:
+
+/usr/include/glib-2.0/gio/gsocket.h:
+
+/usr/include/glib-2.0/gio/gsocketcontrolmessage.h:
+
+/usr/include/glib-2.0/gio/gsocketlistener.h:
+
+/usr/include/glib-2.0/gio/gsocketservice.h:
+
+/usr/include/glib-2.0/gio/gsrvtarget.h:
+
+/usr/include/glib-2.0/gio/gsimpleproxyresolver.h:
+
+/usr/include/glib-2.0/gio/gtask.h:
+
+/usr/include/glib-2.0/gio/gsubprocess.h:
+
+/usr/include/glib-2.0/gio/gsubprocesslauncher.h:
+
+/usr/include/glib-2.0/gio/gtcpconnection.h:
+
+/usr/include/glib-2.0/gio/gtcpwrapperconnection.h:
+
+/usr/include/glib-2.0/gio/gtestdbus.h:
+
+/usr/include/glib-2.0/gio/gthemedicon.h:
+
+/usr/include/glib-2.0/gio/gthreadedsocketservice.h:
+
+/usr/include/glib-2.0/gio/gtlsbackend.h:
+
+/usr/include/glib-2.0/gio/gtlscertificate.h:
+
+/usr/include/glib-2.0/gio/gtlsclientconnection.h:
+
+/usr/include/glib-2.0/gio/gtlsconnection.h:
+
+/usr/include/glib-2.0/gio/gtlsdatabase.h:
+
+/usr/include/glib-2.0/gio/gtlsfiledatabase.h:
+
+/usr/include/glib-2.0/gio/gtlsinteraction.h:
+
+/usr/include/glib-2.0/gio/gtlsserverconnection.h:
+
+/usr/include/glib-2.0/gio/gtlspassword.h:
+
+/usr/include/glib-2.0/gio/gvfs.h:
+
+/usr/include/glib-2.0/gio/gvolume.h:
+
+/usr/include/glib-2.0/gio/gzlibcompressor.h:
+
+/usr/include/glib-2.0/gio/gzlibdecompressor.h:
+
+/usr/include/glib-2.0/gio/gdbusinterface.h:
+
+/usr/include/glib-2.0/gio/gdbusinterfaceskeleton.h:
+
+/usr/include/glib-2.0/gio/gdbusobject.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectskeleton.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectproxy.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanager.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanagerclient.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanagerserver.h:
+
+/usr/include/glib-2.0/gio/gdbusactiongroup.h:
+
+/usr/include/glib-2.0/gio/giotypes.h:
+
+/usr/include/glib-2.0/gio/gremoteactiongroup.h:
+
+/usr/include/glib-2.0/gio/gmenumodel.h:
+
+/usr/include/glib-2.0/gio/gmenu.h:
+
+/usr/include/glib-2.0/gio/gmenuexporter.h:
+
+/usr/include/glib-2.0/gio/gdbusmenumodel.h:
+
+/usr/include/glib-2.0/gio/gnotification.h:
+
+/usr/include/gtk-2.0/gdk/gdkscreen.h:
+
+/usr/include/cairo/cairo.h:
+
+/usr/include/cairo/cairo-version.h:
+
+/usr/include/cairo/cairo-features.h:
+
+/usr/include/cairo/cairo-deprecated.h:
+
+/usr/include/gtk-2.0/gdk/gdktypes.h:
+
+/usr/include/pango-1.0/pango/pango.h:
+
+/usr/include/pango-1.0/pango/pango-attributes.h:
+
+/usr/include/pango-1.0/pango/pango-font.h:
+
+/usr/include/pango-1.0/pango/pango-coverage.h:
+
+/usr/include/pango-1.0/pango/pango-types.h:
+
+/usr/include/pango-1.0/pango/pango-gravity.h:
+
+/usr/include/pango-1.0/pango/pango-matrix.h:
+
+/usr/include/pango-1.0/pango/pango-script.h:
+
+/usr/include/pango-1.0/pango/pango-language.h:
+
+/usr/include/pango-1.0/pango/pango-bidi-type.h:
+
+/usr/include/pango-1.0/pango/pango-break.h:
+
+/usr/include/pango-1.0/pango/pango-item.h:
+
+/usr/include/pango-1.0/pango/pango-context.h:
+
+/usr/include/pango-1.0/pango/pango-fontmap.h:
+
+/usr/include/pango-1.0/pango/pango-fontset.h:
+
+/usr/include/pango-1.0/pango/pango-engine.h:
+
+/usr/include/pango-1.0/pango/pango-glyph.h:
+
+/usr/include/pango-1.0/pango/pango-enum-types.h:
+
+/usr/include/pango-1.0/pango/pango-features.h:
+
+/usr/include/pango-1.0/pango/pango-glyph-item.h:
+
+/usr/include/pango-1.0/pango/pango-layout.h:
+
+/usr/include/pango-1.0/pango/pango-tabs.h:
+
+/usr/include/pango-1.0/pango/pango-renderer.h:
+
+/usr/include/pango-1.0/pango/pango-utils.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/lib/gtk-2.0/include/gdkconfig.h:
+
+/usr/include/gtk-2.0/gdk/gdkdisplay.h:
+
+/usr/include/gtk-2.0/gdk/gdkevents.h:
+
+/usr/include/gtk-2.0/gdk/gdkcolor.h:
+
+/usr/include/gtk-2.0/gdk/gdkdnd.h:
+
+/usr/include/gtk-2.0/gdk/gdkinput.h:
+
+/usr/include/gtk-2.0/gdk/gdkcairo.h:
+
+/usr/include/gtk-2.0/gdk/gdkpixbuf.h:
+
+/usr/include/gtk-2.0/gdk/gdkrgb.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h:
+
+/usr/include/pango-1.0/pango/pangocairo.h:
+
+/usr/include/gtk-2.0/gdk/gdkcursor.h:
+
+/usr/include/gtk-2.0/gdk/gdkdisplaymanager.h:
+
+/usr/include/gtk-2.0/gdk/gdkdrawable.h:
+
+/usr/include/gtk-2.0/gdk/gdkgc.h:
+
+/usr/include/gtk-2.0/gdk/gdkenumtypes.h:
+
+/usr/include/gtk-2.0/gdk/gdkfont.h:
+
+/usr/include/gtk-2.0/gdk/gdkimage.h:
+
+/usr/include/gtk-2.0/gdk/gdkkeys.h:
+
+/usr/include/gtk-2.0/gdk/gdkpango.h:
+
+/usr/include/gtk-2.0/gdk/gdkpixmap.h:
+
+/usr/include/gtk-2.0/gdk/gdkproperty.h:
+
+/usr/include/gtk-2.0/gdk/gdkregion.h:
+
+/usr/include/gtk-2.0/gdk/gdkselection.h:
+
+/usr/include/gtk-2.0/gdk/gdkspawn.h:
+
+/usr/include/gtk-2.0/gdk/gdktestutils.h:
+
+/usr/include/gtk-2.0/gdk/gdkwindow.h:
+
+/usr/include/gtk-2.0/gdk/gdkvisual.h:
+
+/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccelgroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkenums.h:
+
+/usr/include/gtk-2.0/gtk/gtkbin.h:
+
+/usr/include/gtk-2.0/gtk/gtkcontainer.h:
+
+/usr/include/gtk-2.0/gtk/gtkwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkobject.h:
+
+/usr/include/gtk-2.0/gtk/gtktypeutils.h:
+
+/usr/include/gtk-2.0/gtk/gtktypebuiltins.h:
+
+/usr/include/gtk-2.0/gtk/gtkdebug.h:
+
+/usr/include/gtk-2.0/gtk/gtkadjustment.h:
+
+/usr/include/gtk-2.0/gtk/gtkstyle.h:
+
+/usr/include/gtk-2.0/gtk/gtksettings.h:
+
+/usr/include/gtk-2.0/gtk/gtkrc.h:
+
+/usr/include/atk-1.0/atk/atk.h:
+
+/usr/include/atk-1.0/atk/atkobject.h:
+
+/usr/include/atk-1.0/atk/atkversion.h:
+
+/usr/include/atk-1.0/atk/atkstate.h:
+
+/usr/include/atk-1.0/atk/atkrelationtype.h:
+
+/usr/include/atk-1.0/atk/atkaction.h:
+
+/usr/include/atk-1.0/atk/atkcomponent.h:
+
+/usr/include/atk-1.0/atk/atkutil.h:
+
+/usr/include/atk-1.0/atk/atkdocument.h:
+
+/usr/include/atk-1.0/atk/atkeditabletext.h:
+
+/usr/include/atk-1.0/atk/atktext.h:
+
+/usr/include/atk-1.0/atk/atk-enum-types.h:
+
+/usr/include/atk-1.0/atk/atkgobjectaccessible.h:
+
+/usr/include/atk-1.0/atk/atkhyperlink.h:
+
+/usr/include/atk-1.0/atk/atkhyperlinkimpl.h:
+
+/usr/include/atk-1.0/atk/atkhypertext.h:
+
+/usr/include/atk-1.0/atk/atkimage.h:
+
+/usr/include/atk-1.0/atk/atknoopobject.h:
+
+/usr/include/atk-1.0/atk/atknoopobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkplug.h:
+
+/usr/include/atk-1.0/atk/atkrange.h:
+
+/usr/include/atk-1.0/atk/atkregistry.h:
+
+/usr/include/atk-1.0/atk/atkobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkrelation.h:
+
+/usr/include/atk-1.0/atk/atkrelationset.h:
+
+/usr/include/atk-1.0/atk/atkselection.h:
+
+/usr/include/atk-1.0/atk/atksocket.h:
+
+/usr/include/atk-1.0/atk/atkstateset.h:
+
+/usr/include/atk-1.0/atk/atkstreamablecontent.h:
+
+/usr/include/atk-1.0/atk/atktable.h:
+
+/usr/include/atk-1.0/atk/atktablecell.h:
+
+/usr/include/atk-1.0/atk/atkmisc.h:
+
+/usr/include/atk-1.0/atk/atkvalue.h:
+
+/usr/include/atk-1.0/atk/atkwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccellabel.h:
+
+/usr/include/gtk-2.0/gtk/gtklabel.h:
+
+/usr/include/gtk-2.0/gtk/gtkmisc.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenushell.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccelmap.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccessible.h:
+
+/usr/include/gtk-2.0/gtk/gtkaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkactiongroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkactivatable.h:
+
+/usr/include/gtk-2.0/gtk/gtkalignment.h:
+
+/usr/include/gtk-2.0/gtk/gtkarrow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaspectframe.h:
+
+/usr/include/gtk-2.0/gtk/gtkframe.h:
+
+/usr/include/gtk-2.0/gtk/gtkassistant.h:
+
+/usr/include/gtk-2.0/gtk/gtkbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkbindings.h:
+
+/usr/include/gtk-2.0/gtk/gtkbuildable.h:
+
+/usr/include/gtk-2.0/gtk/gtkbuilder.h:
+
+/usr/include/gtk-2.0/gtk/gtkbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkimage.h:
+
+/usr/include/gtk-2.0/gtk/gtkcalendar.h:
+
+/usr/include/gtk-2.0/gtk/gtksignal.h:
+
+/usr/include/gtk-2.0/gtk/gtkmarshal.h:
+
+/usr/include/gtk-2.0/gtk/gtkcelleditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkcelllayout.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderer.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodel.h:
+
+/usr/include/gtk-2.0/gtk/gtktreesortable.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendereraccel.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderertext.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderercombo.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererspin.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererspinner.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellview.h:
+
+/usr/include/gtk-2.0/gtk/gtkcheckbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktogglebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkclipboard.h:
+
+/usr/include/gtk-2.0/gtk/gtkselection.h:
+
+/usr/include/gtk-2.0/gtk/gtktextiter.h:
+
+/usr/include/gtk-2.0/gtk/gtktexttag.h:
+
+/usr/include/gtk-2.0/gtk/gtktextchild.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorsel.h:
+
+/usr/include/gtk-2.0/gtk/gtkvbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorseldialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkcombobox.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeview.h:
+
+/usr/include/gtk-2.0/gtk/gtkdnd.h:
+
+/usr/include/gtk-2.0/gtk/gtkentry.h:
+
+/usr/include/gtk-2.0/gtk/gtkeditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkimcontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkentrybuffer.h:
+
+/usr/include/gtk-2.0/gtk/gtkentrycompletion.h:
+
+/usr/include/gtk-2.0/gtk/gtkliststore.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodelfilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkcomboboxentry.h:
+
+/usr/include/gtk-2.0/gtk/gtkcomboboxtext.h:
+
+/usr/include/gtk-2.0/gtk/gtkdrawingarea.h:
+
+/usr/include/gtk-2.0/gtk/gtkeventbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkexpander.h:
+
+/usr/include/gtk-2.0/gtk/gtkfixed.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooser.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilefilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkhbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkfontbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkfontsel.h:
+
+/usr/include/gtk-2.0/gtk/gtkgc.h:
+
+/usr/include/gtk-2.0/gtk/gtkhandlebox.h:
+
+/usr/include/gtk-2.0/gtk/gtkhbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkhpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkhruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkhscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkrange.h:
+
+/usr/include/gtk-2.0/gtk/gtkhscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkhseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtkhsv.h:
+
+/usr/include/gtk-2.0/gtk/gtkiconfactory.h:
+
+/usr/include/gtk-2.0/gtk/gtkicontheme.h:
+
+/usr/include/gtk-2.0/gtk/gtkiconview.h:
+
+/usr/include/gtk-2.0/gtk/gtktooltip.h:
+
+/usr/include/gtk-2.0/gtk/gtkimagemenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkimcontextsimple.h:
+
+/usr/include/gtk-2.0/gtk/gtkimmulticontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkinfobar.h:
+
+/usr/include/gtk-2.0/gtk/gtkinvisible.h:
+
+/usr/include/gtk-2.0/gtk/gtklayout.h:
+
+/usr/include/gtk-2.0/gtk/gtklinkbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkmain.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenubar.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolitem.h:
+
+/usr/include/gtk-2.0/gtk/gtktooltips.h:
+
+/usr/include/gtk-2.0/gtk/gtksizegroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkmessagedialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkmodules.h:
+
+/usr/include/gtk-2.0/gtk/gtkmountoperation.h:
+
+/usr/include/gtk-2.0/gtk/gtknotebook.h:
+
+/usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkorientable.h:
+
+/usr/include/gtk-2.0/gtk/gtkpagesetup.h:
+
+/usr/include/gtk-2.0/gtk/gtkpapersize.h:
+
+/usr/include/gtk-2.0/gtk/gtkplug.h:
+
+/usr/include/gtk-2.0/gtk/gtksocket.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintcontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintoperation.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintsettings.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h:
+
+/usr/include/gtk-2.0/gtk/gtkprogressbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkprogress.h:
+
+/usr/include/gtk-2.0/gtk/gtkradioaction.h:
+
+/usr/include/gtk-2.0/gtk/gtktoggleaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiobutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentmanager.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooser.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentfilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooserdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchoosermenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkscalebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkvscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkviewport.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkshow.h:
+
+/usr/include/gtk-2.0/gtk/gtkspinbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkspinner.h:
+
+/usr/include/gtk-2.0/gtk/gtkstatusbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkstatusicon.h:
+
+/usr/include/gtk-2.0/gtk/gtkstock.h:
+
+/usr/include/gtk-2.0/gtk/gtktable.h:
+
+/usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtktextbuffer.h:
+
+/usr/include/gtk-2.0/gtk/gtktexttagtable.h:
+
+/usr/include/gtk-2.0/gtk/gtktextmark.h:
+
+/usr/include/gtk-2.0/gtk/gtktextbufferrichtext.h:
+
+/usr/include/gtk-2.0/gtk/gtktextview.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkpixmap.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolitemgroup.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolpalette.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolshell.h:
+
+/usr/include/gtk-2.0/gtk/gtktestutils.h:
+
+/usr/include/gtk-2.0/gtk/gtktreednd.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodelsort.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeselection.h:
+
+/usr/include/gtk-2.0/gtk/gtktreestore.h:
+
+/usr/include/gtk-2.0/gtk/gtkuimanager.h:
+
+/usr/include/gtk-2.0/gtk/gtkvbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkversion.h:
+
+/usr/include/gtk-2.0/gtk/gtkvolumebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkvpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkvruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkvscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkvseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtktext.h:
+
+/usr/include/gtk-2.0/gtk/gtktree.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkclist.h:
+
+/usr/include/gtk-2.0/gtk/gtkcombo.h:
+
+/usr/include/gtk-2.0/gtk/gtkctree.h:
+
+/usr/include/gtk-2.0/gtk/gtkcurve.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilesel.h:
+
+/usr/include/gtk-2.0/gtk/gtkgamma.h:
+
+/usr/include/gtk-2.0/gtk/gtkinputdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkitemfactory.h:
+
+/usr/include/gtk-2.0/gtk/gtklist.h:
+
+/usr/include/gtk-2.0/gtk/gtklistitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkoldeditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkoptionmenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkpreview.h:
+
+/usr/include/gtk-2.0/gtk/gtktipsquery.h:
diff --git a/.deps/libags_a-ags_connectable.Po b/.deps/libags_a-ags_connectable.Po
new file mode 100644
index 0000000..6f6dd1b
--- /dev/null
+++ b/.deps/libags_a-ags_connectable.Po
@@ -0,0 +1,479 @@
+libags_a-ags_connectable.o: src/ags-lib/object/ags_connectable.c \
+ /usr/include/stdc-predef.h src/ags-lib/object/ags_connectable.h \
+ /usr/include/glib-2.0/glib.h /usr/include/glib-2.0/glib/galloca.h \
+ /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h \
+ /usr/include/libxml2/libxml/tree.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/include/libxml2/libxml/xmlversion.h \
+ /usr/include/libxml2/libxml/xmlexports.h \
+ /usr/include/libxml2/libxml/xmlstring.h \
+ /usr/include/libxml2/libxml/xmlregexp.h \
+ /usr/include/libxml2/libxml/dict.h \
+ /usr/include/libxml2/libxml/xmlmemory.h \
+ /usr/include/libxml2/libxml/threads.h \
+ /usr/include/libxml2/libxml/globals.h \
+ /usr/include/libxml2/libxml/parser.h /usr/include/libxml2/libxml/hash.h \
+ /usr/include/libxml2/libxml/valid.h \
+ /usr/include/libxml2/libxml/xmlerror.h \
+ /usr/include/libxml2/libxml/list.h \
+ /usr/include/libxml2/libxml/xmlautomata.h \
+ /usr/include/libxml2/libxml/entities.h \
+ /usr/include/libxml2/libxml/encoding.h /usr/include/iconv.h \
+ /usr/include/libxml2/libxml/xmlIO.h /usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \
+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \
+ /usr/include/bits/stdlib-bsearch.h /usr/include/bits/stdlib-float.h \
+ /usr/include/libxml2/libxml/xlink.h /usr/include/libxml2/libxml/SAX2.h
+
+/usr/include/stdc-predef.h:
+
+src/ags-lib/object/ags_connectable.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/include/libxml2/libxml/xmlversion.h:
+
+/usr/include/libxml2/libxml/xmlexports.h:
+
+/usr/include/libxml2/libxml/xmlstring.h:
+
+/usr/include/libxml2/libxml/xmlregexp.h:
+
+/usr/include/libxml2/libxml/dict.h:
+
+/usr/include/libxml2/libxml/xmlmemory.h:
+
+/usr/include/libxml2/libxml/threads.h:
+
+/usr/include/libxml2/libxml/globals.h:
+
+/usr/include/libxml2/libxml/parser.h:
+
+/usr/include/libxml2/libxml/hash.h:
+
+/usr/include/libxml2/libxml/valid.h:
+
+/usr/include/libxml2/libxml/xmlerror.h:
+
+/usr/include/libxml2/libxml/list.h:
+
+/usr/include/libxml2/libxml/xmlautomata.h:
+
+/usr/include/libxml2/libxml/entities.h:
+
+/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/usr/include/libxml2/libxml/xmlIO.h:
+
+/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/libxml2/libxml/xlink.h:
+
+/usr/include/libxml2/libxml/SAX2.h:
diff --git a/.deps/libags_a-ags_container.Po b/.deps/libags_a-ags_container.Po
new file mode 100644
index 0000000..47f9666
--- /dev/null
+++ b/.deps/libags_a-ags_container.Po
@@ -0,0 +1,1745 @@
+libags_a-ags_container.o: src/ags/lib/ags_container.c \
+ /usr/include/stdc-predef.h src/ags/lib/ags_container.h \
+ /usr/include/glib-2.0/glib.h /usr/include/glib-2.0/glib/galloca.h \
+ /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h \
+ /usr/include/gtk-2.0/gtk/gtk.h /usr/include/gtk-2.0/gdk/gdk.h \
+ /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h \
+ /usr/include/glib-2.0/gio/gio.h /usr/include/glib-2.0/gio/giotypes.h \
+ /usr/include/glib-2.0/gio/gioenums.h /usr/include/glib-2.0/gio/gaction.h \
+ /usr/include/glib-2.0/gio/gactiongroup.h \
+ /usr/include/glib-2.0/gio/gactiongroupexporter.h \
+ /usr/include/glib-2.0/gio/gactionmap.h \
+ /usr/include/glib-2.0/gio/gappinfo.h \
+ /usr/include/glib-2.0/gio/gapplication.h \
+ /usr/include/glib-2.0/gio/gapplicationcommandline.h \
+ /usr/include/glib-2.0/gio/gasyncinitable.h \
+ /usr/include/glib-2.0/gio/ginitable.h \
+ /usr/include/glib-2.0/gio/gasyncresult.h \
+ /usr/include/glib-2.0/gio/gbufferedinputstream.h \
+ /usr/include/glib-2.0/gio/gfilterinputstream.h \
+ /usr/include/glib-2.0/gio/ginputstream.h \
+ /usr/include/glib-2.0/gio/gbufferedoutputstream.h \
+ /usr/include/glib-2.0/gio/gfilteroutputstream.h \
+ /usr/include/glib-2.0/gio/goutputstream.h \
+ /usr/include/glib-2.0/gio/gbytesicon.h \
+ /usr/include/glib-2.0/gio/gcancellable.h \
+ /usr/include/glib-2.0/gio/gcharsetconverter.h \
+ /usr/include/glib-2.0/gio/gconverter.h \
+ /usr/include/glib-2.0/gio/gcontenttype.h \
+ /usr/include/glib-2.0/gio/gconverterinputstream.h \
+ /usr/include/glib-2.0/gio/gconverteroutputstream.h \
+ /usr/include/glib-2.0/gio/gcredentials.h /usr/include/unistd.h \
+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
+ /usr/include/bits/confname.h /usr/include/getopt.h \
+ /usr/include/glib-2.0/gio/gdatainputstream.h \
+ /usr/include/glib-2.0/gio/gdataoutputstream.h \
+ /usr/include/glib-2.0/gio/gdbusaddress.h \
+ /usr/include/glib-2.0/gio/gdbusauthobserver.h \
+ /usr/include/glib-2.0/gio/gdbusconnection.h \
+ /usr/include/glib-2.0/gio/gdbuserror.h \
+ /usr/include/glib-2.0/gio/gdbusintrospection.h \
+ /usr/include/glib-2.0/gio/gdbusmessage.h \
+ /usr/include/glib-2.0/gio/gdbusmethodinvocation.h \
+ /usr/include/glib-2.0/gio/gdbusnameowning.h \
+ /usr/include/glib-2.0/gio/gdbusnamewatching.h \
+ /usr/include/glib-2.0/gio/gdbusproxy.h \
+ /usr/include/glib-2.0/gio/gdbusserver.h \
+ /usr/include/glib-2.0/gio/gdbusutils.h \
+ /usr/include/glib-2.0/gio/gdrive.h \
+ /usr/include/glib-2.0/gio/gemblemedicon.h \
+ /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \
+ /usr/include/glib-2.0/gio/gfileattribute.h \
+ /usr/include/glib-2.0/gio/gfileenumerator.h \
+ /usr/include/glib-2.0/gio/gfile.h /usr/include/glib-2.0/gio/gfileicon.h \
+ /usr/include/glib-2.0/gio/gfileinfo.h \
+ /usr/include/glib-2.0/gio/gfileinputstream.h \
+ /usr/include/glib-2.0/gio/gfileiostream.h \
+ /usr/include/glib-2.0/gio/giostream.h \
+ /usr/include/glib-2.0/gio/gioerror.h \
+ /usr/include/glib-2.0/gio/gfilemonitor.h \
+ /usr/include/glib-2.0/gio/gfilenamecompleter.h \
+ /usr/include/glib-2.0/gio/gfileoutputstream.h \
+ /usr/include/glib-2.0/gio/ginetaddress.h \
+ /usr/include/glib-2.0/gio/ginetaddressmask.h \
+ /usr/include/glib-2.0/gio/ginetsocketaddress.h \
+ /usr/include/glib-2.0/gio/gsocketaddress.h \
+ /usr/include/glib-2.0/gio/gioenumtypes.h \
+ /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \
+ /usr/include/glib-2.0/gio/gioscheduler.h \
+ /usr/include/glib-2.0/gio/gloadableicon.h \
+ /usr/include/glib-2.0/gio/gmemoryinputstream.h \
+ /usr/include/glib-2.0/gio/gmemoryoutputstream.h \
+ /usr/include/glib-2.0/gio/gmount.h \
+ /usr/include/glib-2.0/gio/gmountoperation.h \
+ /usr/include/glib-2.0/gio/gnativevolumemonitor.h \
+ /usr/include/glib-2.0/gio/gvolumemonitor.h \
+ /usr/include/glib-2.0/gio/gnetworkaddress.h \
+ /usr/include/glib-2.0/gio/gnetworkmonitor.h \
+ /usr/include/glib-2.0/gio/gnetworkservice.h \
+ /usr/include/glib-2.0/gio/gpermission.h \
+ /usr/include/glib-2.0/gio/gpollableinputstream.h \
+ /usr/include/glib-2.0/gio/gpollableoutputstream.h \
+ /usr/include/glib-2.0/gio/gpollableutils.h \
+ /usr/include/glib-2.0/gio/gpropertyaction.h \
+ /usr/include/glib-2.0/gio/gproxy.h \
+ /usr/include/glib-2.0/gio/gproxyaddress.h \
+ /usr/include/glib-2.0/gio/gproxyaddressenumerator.h \
+ /usr/include/glib-2.0/gio/gsocketaddressenumerator.h \
+ /usr/include/glib-2.0/gio/gproxyresolver.h \
+ /usr/include/glib-2.0/gio/gresolver.h \
+ /usr/include/glib-2.0/gio/gresource.h \
+ /usr/include/glib-2.0/gio/gseekable.h \
+ /usr/include/glib-2.0/gio/gsettingsschema.h \
+ /usr/include/glib-2.0/gio/gsettings.h \
+ /usr/include/glib-2.0/gio/gsimpleaction.h \
+ /usr/include/glib-2.0/gio/gsimpleactiongroup.h \
+ /usr/include/glib-2.0/gio/gactiongroup.h \
+ /usr/include/glib-2.0/gio/gactionmap.h \
+ /usr/include/glib-2.0/gio/gsimpleasyncresult.h \
+ /usr/include/glib-2.0/gio/gsimplepermission.h \
+ /usr/include/glib-2.0/gio/gsocketclient.h \
+ /usr/include/glib-2.0/gio/gsocketconnectable.h \
+ /usr/include/glib-2.0/gio/gsocketconnection.h \
+ /usr/include/glib-2.0/gio/gsocket.h \
+ /usr/include/glib-2.0/gio/gsocketcontrolmessage.h \
+ /usr/include/glib-2.0/gio/gsocketlistener.h \
+ /usr/include/glib-2.0/gio/gsocketservice.h \
+ /usr/include/glib-2.0/gio/gsrvtarget.h \
+ /usr/include/glib-2.0/gio/gsimpleproxyresolver.h \
+ /usr/include/glib-2.0/gio/gtask.h \
+ /usr/include/glib-2.0/gio/gsubprocess.h \
+ /usr/include/glib-2.0/gio/gsubprocesslauncher.h \
+ /usr/include/glib-2.0/gio/gtcpconnection.h \
+ /usr/include/glib-2.0/gio/gtcpwrapperconnection.h \
+ /usr/include/glib-2.0/gio/gtestdbus.h \
+ /usr/include/glib-2.0/gio/gthemedicon.h \
+ /usr/include/glib-2.0/gio/gthreadedsocketservice.h \
+ /usr/include/glib-2.0/gio/gtlsbackend.h \
+ /usr/include/glib-2.0/gio/gtlscertificate.h \
+ /usr/include/glib-2.0/gio/gtlsclientconnection.h \
+ /usr/include/glib-2.0/gio/gtlsconnection.h \
+ /usr/include/glib-2.0/gio/gtlsdatabase.h \
+ /usr/include/glib-2.0/gio/gtlsfiledatabase.h \
+ /usr/include/glib-2.0/gio/gtlsinteraction.h \
+ /usr/include/glib-2.0/gio/gtlsserverconnection.h \
+ /usr/include/glib-2.0/gio/gtlspassword.h \
+ /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \
+ /usr/include/glib-2.0/gio/gzlibcompressor.h \
+ /usr/include/glib-2.0/gio/gzlibdecompressor.h \
+ /usr/include/glib-2.0/gio/gdbusinterface.h \
+ /usr/include/glib-2.0/gio/gdbusinterfaceskeleton.h \
+ /usr/include/glib-2.0/gio/gdbusobject.h \
+ /usr/include/glib-2.0/gio/gdbusobjectskeleton.h \
+ /usr/include/glib-2.0/gio/gdbusobjectproxy.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanager.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanagerclient.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanagerserver.h \
+ /usr/include/glib-2.0/gio/gdbusactiongroup.h \
+ /usr/include/glib-2.0/gio/giotypes.h \
+ /usr/include/glib-2.0/gio/gremoteactiongroup.h \
+ /usr/include/glib-2.0/gio/gmenumodel.h /usr/include/glib-2.0/gio/gmenu.h \
+ /usr/include/glib-2.0/gio/gmenuexporter.h \
+ /usr/include/glib-2.0/gio/gdbusmenumodel.h \
+ /usr/include/glib-2.0/gio/gnotification.h \
+ /usr/include/gtk-2.0/gdk/gdkscreen.h /usr/include/cairo/cairo.h \
+ /usr/include/cairo/cairo-version.h /usr/include/cairo/cairo-features.h \
+ /usr/include/cairo/cairo-deprecated.h \
+ /usr/include/gtk-2.0/gdk/gdktypes.h /usr/include/pango-1.0/pango/pango.h \
+ /usr/include/pango-1.0/pango/pango-attributes.h \
+ /usr/include/pango-1.0/pango/pango-font.h \
+ /usr/include/pango-1.0/pango/pango-coverage.h \
+ /usr/include/pango-1.0/pango/pango-types.h \
+ /usr/include/pango-1.0/pango/pango-gravity.h \
+ /usr/include/pango-1.0/pango/pango-matrix.h \
+ /usr/include/pango-1.0/pango/pango-script.h \
+ /usr/include/pango-1.0/pango/pango-language.h \
+ /usr/include/pango-1.0/pango/pango-bidi-type.h \
+ /usr/include/pango-1.0/pango/pango-break.h \
+ /usr/include/pango-1.0/pango/pango-item.h \
+ /usr/include/pango-1.0/pango/pango-context.h \
+ /usr/include/pango-1.0/pango/pango-fontmap.h \
+ /usr/include/pango-1.0/pango/pango-fontset.h \
+ /usr/include/pango-1.0/pango/pango-engine.h \
+ /usr/include/pango-1.0/pango/pango-glyph.h \
+ /usr/include/pango-1.0/pango/pango-enum-types.h \
+ /usr/include/pango-1.0/pango/pango-features.h \
+ /usr/include/pango-1.0/pango/pango-glyph-item.h \
+ /usr/include/pango-1.0/pango/pango-layout.h \
+ /usr/include/pango-1.0/pango/pango-tabs.h \
+ /usr/include/pango-1.0/pango/pango-renderer.h \
+ /usr/include/pango-1.0/pango/pango-utils.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/lib/gtk-2.0/include/gdkconfig.h \
+ /usr/include/gtk-2.0/gdk/gdkdisplay.h \
+ /usr/include/gtk-2.0/gdk/gdkevents.h /usr/include/gtk-2.0/gdk/gdkcolor.h \
+ /usr/include/gtk-2.0/gdk/gdkdnd.h /usr/include/gtk-2.0/gdk/gdkinput.h \
+ /usr/include/gtk-2.0/gdk/gdkcairo.h /usr/include/gtk-2.0/gdk/gdkpixbuf.h \
+ /usr/include/gtk-2.0/gdk/gdkrgb.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h \
+ /usr/include/pango-1.0/pango/pangocairo.h \
+ /usr/include/gtk-2.0/gdk/gdkcursor.h \
+ /usr/include/gtk-2.0/gdk/gdkdisplaymanager.h \
+ /usr/include/gtk-2.0/gdk/gdkdrawable.h /usr/include/gtk-2.0/gdk/gdkgc.h \
+ /usr/include/gtk-2.0/gdk/gdkenumtypes.h \
+ /usr/include/gtk-2.0/gdk/gdkfont.h /usr/include/gtk-2.0/gdk/gdkimage.h \
+ /usr/include/gtk-2.0/gdk/gdkkeys.h /usr/include/gtk-2.0/gdk/gdkpango.h \
+ /usr/include/gtk-2.0/gdk/gdkpixmap.h \
+ /usr/include/gtk-2.0/gdk/gdkproperty.h \
+ /usr/include/gtk-2.0/gdk/gdkregion.h \
+ /usr/include/gtk-2.0/gdk/gdkselection.h \
+ /usr/include/gtk-2.0/gdk/gdkspawn.h \
+ /usr/include/gtk-2.0/gdk/gdktestutils.h \
+ /usr/include/gtk-2.0/gdk/gdkwindow.h \
+ /usr/include/gtk-2.0/gdk/gdkvisual.h \
+ /usr/include/gtk-2.0/gtk/gtkaboutdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkaccelgroup.h \
+ /usr/include/gtk-2.0/gtk/gtkenums.h /usr/include/gtk-2.0/gtk/gtkbin.h \
+ /usr/include/gtk-2.0/gtk/gtkcontainer.h \
+ /usr/include/gtk-2.0/gtk/gtkwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkobject.h \
+ /usr/include/gtk-2.0/gtk/gtktypeutils.h \
+ /usr/include/gtk-2.0/gtk/gtktypebuiltins.h \
+ /usr/include/gtk-2.0/gtk/gtkdebug.h \
+ /usr/include/gtk-2.0/gtk/gtkadjustment.h \
+ /usr/include/gtk-2.0/gtk/gtkstyle.h \
+ /usr/include/gtk-2.0/gtk/gtksettings.h /usr/include/gtk-2.0/gtk/gtkrc.h \
+ /usr/include/atk-1.0/atk/atk.h /usr/include/atk-1.0/atk/atkobject.h \
+ /usr/include/atk-1.0/atk/atkversion.h \
+ /usr/include/atk-1.0/atk/atkstate.h \
+ /usr/include/atk-1.0/atk/atkrelationtype.h \
+ /usr/include/atk-1.0/atk/atkaction.h \
+ /usr/include/atk-1.0/atk/atkcomponent.h \
+ /usr/include/atk-1.0/atk/atkutil.h \
+ /usr/include/atk-1.0/atk/atkdocument.h \
+ /usr/include/atk-1.0/atk/atkeditabletext.h \
+ /usr/include/atk-1.0/atk/atktext.h \
+ /usr/include/atk-1.0/atk/atk-enum-types.h \
+ /usr/include/atk-1.0/atk/atkgobjectaccessible.h \
+ /usr/include/atk-1.0/atk/atkhyperlink.h \
+ /usr/include/atk-1.0/atk/atkhyperlinkimpl.h \
+ /usr/include/atk-1.0/atk/atkhypertext.h \
+ /usr/include/atk-1.0/atk/atkimage.h \
+ /usr/include/atk-1.0/atk/atknoopobject.h \
+ /usr/include/atk-1.0/atk/atknoopobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkplug.h /usr/include/atk-1.0/atk/atkrange.h \
+ /usr/include/atk-1.0/atk/atkregistry.h \
+ /usr/include/atk-1.0/atk/atkobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkrelation.h \
+ /usr/include/atk-1.0/atk/atkrelationset.h \
+ /usr/include/atk-1.0/atk/atkselection.h \
+ /usr/include/atk-1.0/atk/atksocket.h \
+ /usr/include/atk-1.0/atk/atkstateset.h \
+ /usr/include/atk-1.0/atk/atkstreamablecontent.h \
+ /usr/include/atk-1.0/atk/atktable.h \
+ /usr/include/atk-1.0/atk/atktablecell.h \
+ /usr/include/atk-1.0/atk/atkmisc.h /usr/include/atk-1.0/atk/atkvalue.h \
+ /usr/include/atk-1.0/atk/atkwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkaccellabel.h \
+ /usr/include/gtk-2.0/gtk/gtklabel.h /usr/include/gtk-2.0/gtk/gtkmisc.h \
+ /usr/include/gtk-2.0/gtk/gtkmenu.h \
+ /usr/include/gtk-2.0/gtk/gtkmenushell.h \
+ /usr/include/gtk-2.0/gtk/gtkaccelmap.h \
+ /usr/include/gtk-2.0/gtk/gtkaccessible.h \
+ /usr/include/gtk-2.0/gtk/gtkaction.h \
+ /usr/include/gtk-2.0/gtk/gtkactiongroup.h \
+ /usr/include/gtk-2.0/gtk/gtkactivatable.h \
+ /usr/include/gtk-2.0/gtk/gtkalignment.h \
+ /usr/include/gtk-2.0/gtk/gtkarrow.h \
+ /usr/include/gtk-2.0/gtk/gtkaspectframe.h \
+ /usr/include/gtk-2.0/gtk/gtkframe.h \
+ /usr/include/gtk-2.0/gtk/gtkassistant.h \
+ /usr/include/gtk-2.0/gtk/gtkbbox.h /usr/include/gtk-2.0/gtk/gtkbox.h \
+ /usr/include/gtk-2.0/gtk/gtkbindings.h \
+ /usr/include/gtk-2.0/gtk/gtkbuildable.h \
+ /usr/include/gtk-2.0/gtk/gtkbuilder.h \
+ /usr/include/gtk-2.0/gtk/gtkbutton.h /usr/include/gtk-2.0/gtk/gtkimage.h \
+ /usr/include/gtk-2.0/gtk/gtkcalendar.h \
+ /usr/include/gtk-2.0/gtk/gtksignal.h \
+ /usr/include/gtk-2.0/gtk/gtkmarshal.h \
+ /usr/include/gtk-2.0/gtk/gtkcelleditable.h \
+ /usr/include/gtk-2.0/gtk/gtkcelllayout.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderer.h \
+ /usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodel.h \
+ /usr/include/gtk-2.0/gtk/gtktreesortable.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendereraccel.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderertext.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderercombo.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererspin.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererspinner.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h \
+ /usr/include/gtk-2.0/gtk/gtkcellview.h \
+ /usr/include/gtk-2.0/gtk/gtkcheckbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktogglebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkitem.h \
+ /usr/include/gtk-2.0/gtk/gtkclipboard.h \
+ /usr/include/gtk-2.0/gtk/gtkselection.h \
+ /usr/include/gtk-2.0/gtk/gtktextiter.h \
+ /usr/include/gtk-2.0/gtk/gtktexttag.h \
+ /usr/include/gtk-2.0/gtk/gtktextchild.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorsel.h \
+ /usr/include/gtk-2.0/gtk/gtkvbox.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorseldialog.h \
+ /usr/include/gtk-2.0/gtk/gtkcombobox.h \
+ /usr/include/gtk-2.0/gtk/gtktreeview.h /usr/include/gtk-2.0/gtk/gtkdnd.h \
+ /usr/include/gtk-2.0/gtk/gtkentry.h \
+ /usr/include/gtk-2.0/gtk/gtkeditable.h \
+ /usr/include/gtk-2.0/gtk/gtkimcontext.h \
+ /usr/include/gtk-2.0/gtk/gtkentrybuffer.h \
+ /usr/include/gtk-2.0/gtk/gtkentrycompletion.h \
+ /usr/include/gtk-2.0/gtk/gtkliststore.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodelfilter.h \
+ /usr/include/gtk-2.0/gtk/gtkcomboboxentry.h \
+ /usr/include/gtk-2.0/gtk/gtkcomboboxtext.h \
+ /usr/include/gtk-2.0/gtk/gtkdrawingarea.h \
+ /usr/include/gtk-2.0/gtk/gtkeventbox.h \
+ /usr/include/gtk-2.0/gtk/gtkexpander.h \
+ /usr/include/gtk-2.0/gtk/gtkfixed.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooser.h \
+ /usr/include/gtk-2.0/gtk/gtkfilefilter.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkhbox.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkfontbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkfontsel.h /usr/include/gtk-2.0/gtk/gtkgc.h \
+ /usr/include/gtk-2.0/gtk/gtkhandlebox.h \
+ /usr/include/gtk-2.0/gtk/gtkhbbox.h /usr/include/gtk-2.0/gtk/gtkhpaned.h \
+ /usr/include/gtk-2.0/gtk/gtkpaned.h /usr/include/gtk-2.0/gtk/gtkhruler.h \
+ /usr/include/gtk-2.0/gtk/gtkruler.h /usr/include/gtk-2.0/gtk/gtkhscale.h \
+ /usr/include/gtk-2.0/gtk/gtkscale.h /usr/include/gtk-2.0/gtk/gtkrange.h \
+ /usr/include/gtk-2.0/gtk/gtkhscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkhseparator.h \
+ /usr/include/gtk-2.0/gtk/gtkseparator.h \
+ /usr/include/gtk-2.0/gtk/gtkhsv.h \
+ /usr/include/gtk-2.0/gtk/gtkiconfactory.h \
+ /usr/include/gtk-2.0/gtk/gtkicontheme.h \
+ /usr/include/gtk-2.0/gtk/gtkiconview.h \
+ /usr/include/gtk-2.0/gtk/gtktooltip.h \
+ /usr/include/gtk-2.0/gtk/gtkimagemenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkimcontextsimple.h \
+ /usr/include/gtk-2.0/gtk/gtkimmulticontext.h \
+ /usr/include/gtk-2.0/gtk/gtkinfobar.h \
+ /usr/include/gtk-2.0/gtk/gtkinvisible.h \
+ /usr/include/gtk-2.0/gtk/gtklayout.h \
+ /usr/include/gtk-2.0/gtk/gtklinkbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkmain.h /usr/include/gtk-2.0/gtk/gtkmenubar.h \
+ /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoolitem.h \
+ /usr/include/gtk-2.0/gtk/gtktooltips.h \
+ /usr/include/gtk-2.0/gtk/gtksizegroup.h \
+ /usr/include/gtk-2.0/gtk/gtkmessagedialog.h \
+ /usr/include/gtk-2.0/gtk/gtkmodules.h \
+ /usr/include/gtk-2.0/gtk/gtkmountoperation.h \
+ /usr/include/gtk-2.0/gtk/gtknotebook.h \
+ /usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkorientable.h \
+ /usr/include/gtk-2.0/gtk/gtkpagesetup.h \
+ /usr/include/gtk-2.0/gtk/gtkpapersize.h \
+ /usr/include/gtk-2.0/gtk/gtkplug.h /usr/include/gtk-2.0/gtk/gtksocket.h \
+ /usr/include/gtk-2.0/gtk/gtkprintcontext.h \
+ /usr/include/gtk-2.0/gtk/gtkprintoperation.h \
+ /usr/include/gtk-2.0/gtk/gtkprintsettings.h \
+ /usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h \
+ /usr/include/gtk-2.0/gtk/gtkprogressbar.h \
+ /usr/include/gtk-2.0/gtk/gtkprogress.h \
+ /usr/include/gtk-2.0/gtk/gtkradioaction.h \
+ /usr/include/gtk-2.0/gtk/gtktoggleaction.h \
+ /usr/include/gtk-2.0/gtk/gtkradiobutton.h \
+ /usr/include/gtk-2.0/gtk/gtkradiomenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentaction.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentmanager.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooser.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentfilter.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooserdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchoosermenu.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkscalebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkscrolledwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkvscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkviewport.h \
+ /usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h \
+ /usr/include/gtk-2.0/gtk/gtkshow.h \
+ /usr/include/gtk-2.0/gtk/gtkspinbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkspinner.h \
+ /usr/include/gtk-2.0/gtk/gtkstatusbar.h \
+ /usr/include/gtk-2.0/gtk/gtkstatusicon.h \
+ /usr/include/gtk-2.0/gtk/gtkstock.h /usr/include/gtk-2.0/gtk/gtktable.h \
+ /usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtktextbuffer.h \
+ /usr/include/gtk-2.0/gtk/gtktexttagtable.h \
+ /usr/include/gtk-2.0/gtk/gtktextmark.h \
+ /usr/include/gtk-2.0/gtk/gtktextbufferrichtext.h \
+ /usr/include/gtk-2.0/gtk/gtktextview.h \
+ /usr/include/gtk-2.0/gtk/gtktoolbar.h \
+ /usr/include/gtk-2.0/gtk/gtkpixmap.h \
+ /usr/include/gtk-2.0/gtk/gtktoolitemgroup.h \
+ /usr/include/gtk-2.0/gtk/gtktoolpalette.h \
+ /usr/include/gtk-2.0/gtk/gtktoolshell.h \
+ /usr/include/gtk-2.0/gtk/gtktestutils.h \
+ /usr/include/gtk-2.0/gtk/gtktreednd.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodelsort.h \
+ /usr/include/gtk-2.0/gtk/gtktreeselection.h \
+ /usr/include/gtk-2.0/gtk/gtktreestore.h \
+ /usr/include/gtk-2.0/gtk/gtkuimanager.h \
+ /usr/include/gtk-2.0/gtk/gtkvbbox.h \
+ /usr/include/gtk-2.0/gtk/gtkversion.h \
+ /usr/include/gtk-2.0/gtk/gtkvolumebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkvpaned.h \
+ /usr/include/gtk-2.0/gtk/gtkvruler.h \
+ /usr/include/gtk-2.0/gtk/gtkvscale.h \
+ /usr/include/gtk-2.0/gtk/gtkvseparator.h \
+ /usr/include/gtk-2.0/gtk/gtktext.h /usr/include/gtk-2.0/gtk/gtktree.h \
+ /usr/include/gtk-2.0/gtk/gtktreeitem.h \
+ /usr/include/gtk-2.0/gtk/gtkclist.h /usr/include/gtk-2.0/gtk/gtkcombo.h \
+ /usr/include/gtk-2.0/gtk/gtkctree.h /usr/include/gtk-2.0/gtk/gtkcurve.h \
+ /usr/include/gtk-2.0/gtk/gtkfilesel.h \
+ /usr/include/gtk-2.0/gtk/gtkgamma.h \
+ /usr/include/gtk-2.0/gtk/gtkinputdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkitemfactory.h \
+ /usr/include/gtk-2.0/gtk/gtklist.h \
+ /usr/include/gtk-2.0/gtk/gtklistitem.h \
+ /usr/include/gtk-2.0/gtk/gtkoldeditable.h \
+ /usr/include/gtk-2.0/gtk/gtkoptionmenu.h \
+ /usr/include/gtk-2.0/gtk/gtkpreview.h \
+ /usr/include/gtk-2.0/gtk/gtktipsquery.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/lib/ags_container.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/gtk-2.0/gtk/gtk.h:
+
+/usr/include/gtk-2.0/gdk/gdk.h:
+
+/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:
+
+/usr/include/glib-2.0/gio/gio.h:
+
+/usr/include/glib-2.0/gio/giotypes.h:
+
+/usr/include/glib-2.0/gio/gioenums.h:
+
+/usr/include/glib-2.0/gio/gaction.h:
+
+/usr/include/glib-2.0/gio/gactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactiongroupexporter.h:
+
+/usr/include/glib-2.0/gio/gactionmap.h:
+
+/usr/include/glib-2.0/gio/gappinfo.h:
+
+/usr/include/glib-2.0/gio/gapplication.h:
+
+/usr/include/glib-2.0/gio/gapplicationcommandline.h:
+
+/usr/include/glib-2.0/gio/gasyncinitable.h:
+
+/usr/include/glib-2.0/gio/ginitable.h:
+
+/usr/include/glib-2.0/gio/gasyncresult.h:
+
+/usr/include/glib-2.0/gio/gbufferedinputstream.h:
+
+/usr/include/glib-2.0/gio/gfilterinputstream.h:
+
+/usr/include/glib-2.0/gio/ginputstream.h:
+
+/usr/include/glib-2.0/gio/gbufferedoutputstream.h:
+
+/usr/include/glib-2.0/gio/gfilteroutputstream.h:
+
+/usr/include/glib-2.0/gio/goutputstream.h:
+
+/usr/include/glib-2.0/gio/gbytesicon.h:
+
+/usr/include/glib-2.0/gio/gcancellable.h:
+
+/usr/include/glib-2.0/gio/gcharsetconverter.h:
+
+/usr/include/glib-2.0/gio/gconverter.h:
+
+/usr/include/glib-2.0/gio/gcontenttype.h:
+
+/usr/include/glib-2.0/gio/gconverterinputstream.h:
+
+/usr/include/glib-2.0/gio/gconverteroutputstream.h:
+
+/usr/include/glib-2.0/gio/gcredentials.h:
+
+/usr/include/unistd.h:
+
+/usr/include/bits/posix_opt.h:
+
+/usr/include/bits/environments.h:
+
+/usr/include/bits/confname.h:
+
+/usr/include/getopt.h:
+
+/usr/include/glib-2.0/gio/gdatainputstream.h:
+
+/usr/include/glib-2.0/gio/gdataoutputstream.h:
+
+/usr/include/glib-2.0/gio/gdbusaddress.h:
+
+/usr/include/glib-2.0/gio/gdbusauthobserver.h:
+
+/usr/include/glib-2.0/gio/gdbusconnection.h:
+
+/usr/include/glib-2.0/gio/gdbuserror.h:
+
+/usr/include/glib-2.0/gio/gdbusintrospection.h:
+
+/usr/include/glib-2.0/gio/gdbusmessage.h:
+
+/usr/include/glib-2.0/gio/gdbusmethodinvocation.h:
+
+/usr/include/glib-2.0/gio/gdbusnameowning.h:
+
+/usr/include/glib-2.0/gio/gdbusnamewatching.h:
+
+/usr/include/glib-2.0/gio/gdbusproxy.h:
+
+/usr/include/glib-2.0/gio/gdbusserver.h:
+
+/usr/include/glib-2.0/gio/gdbusutils.h:
+
+/usr/include/glib-2.0/gio/gdrive.h:
+
+/usr/include/glib-2.0/gio/gemblemedicon.h:
+
+/usr/include/glib-2.0/gio/gicon.h:
+
+/usr/include/glib-2.0/gio/gemblem.h:
+
+/usr/include/glib-2.0/gio/gfileattribute.h:
+
+/usr/include/glib-2.0/gio/gfileenumerator.h:
+
+/usr/include/glib-2.0/gio/gfile.h:
+
+/usr/include/glib-2.0/gio/gfileicon.h:
+
+/usr/include/glib-2.0/gio/gfileinfo.h:
+
+/usr/include/glib-2.0/gio/gfileinputstream.h:
+
+/usr/include/glib-2.0/gio/gfileiostream.h:
+
+/usr/include/glib-2.0/gio/giostream.h:
+
+/usr/include/glib-2.0/gio/gioerror.h:
+
+/usr/include/glib-2.0/gio/gfilemonitor.h:
+
+/usr/include/glib-2.0/gio/gfilenamecompleter.h:
+
+/usr/include/glib-2.0/gio/gfileoutputstream.h:
+
+/usr/include/glib-2.0/gio/ginetaddress.h:
+
+/usr/include/glib-2.0/gio/ginetaddressmask.h:
+
+/usr/include/glib-2.0/gio/ginetsocketaddress.h:
+
+/usr/include/glib-2.0/gio/gsocketaddress.h:
+
+/usr/include/glib-2.0/gio/gioenumtypes.h:
+
+/usr/include/glib-2.0/gio/giomodule.h:
+
+/usr/include/glib-2.0/gmodule.h:
+
+/usr/include/glib-2.0/gio/gioscheduler.h:
+
+/usr/include/glib-2.0/gio/gloadableicon.h:
+
+/usr/include/glib-2.0/gio/gmemoryinputstream.h:
+
+/usr/include/glib-2.0/gio/gmemoryoutputstream.h:
+
+/usr/include/glib-2.0/gio/gmount.h:
+
+/usr/include/glib-2.0/gio/gmountoperation.h:
+
+/usr/include/glib-2.0/gio/gnativevolumemonitor.h:
+
+/usr/include/glib-2.0/gio/gvolumemonitor.h:
+
+/usr/include/glib-2.0/gio/gnetworkaddress.h:
+
+/usr/include/glib-2.0/gio/gnetworkmonitor.h:
+
+/usr/include/glib-2.0/gio/gnetworkservice.h:
+
+/usr/include/glib-2.0/gio/gpermission.h:
+
+/usr/include/glib-2.0/gio/gpollableinputstream.h:
+
+/usr/include/glib-2.0/gio/gpollableoutputstream.h:
+
+/usr/include/glib-2.0/gio/gpollableutils.h:
+
+/usr/include/glib-2.0/gio/gpropertyaction.h:
+
+/usr/include/glib-2.0/gio/gproxy.h:
+
+/usr/include/glib-2.0/gio/gproxyaddress.h:
+
+/usr/include/glib-2.0/gio/gproxyaddressenumerator.h:
+
+/usr/include/glib-2.0/gio/gsocketaddressenumerator.h:
+
+/usr/include/glib-2.0/gio/gproxyresolver.h:
+
+/usr/include/glib-2.0/gio/gresolver.h:
+
+/usr/include/glib-2.0/gio/gresource.h:
+
+/usr/include/glib-2.0/gio/gseekable.h:
+
+/usr/include/glib-2.0/gio/gsettingsschema.h:
+
+/usr/include/glib-2.0/gio/gsettings.h:
+
+/usr/include/glib-2.0/gio/gsimpleaction.h:
+
+/usr/include/glib-2.0/gio/gsimpleactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactionmap.h:
+
+/usr/include/glib-2.0/gio/gsimpleasyncresult.h:
+
+/usr/include/glib-2.0/gio/gsimplepermission.h:
+
+/usr/include/glib-2.0/gio/gsocketclient.h:
+
+/usr/include/glib-2.0/gio/gsocketconnectable.h:
+
+/usr/include/glib-2.0/gio/gsocketconnection.h:
+
+/usr/include/glib-2.0/gio/gsocket.h:
+
+/usr/include/glib-2.0/gio/gsocketcontrolmessage.h:
+
+/usr/include/glib-2.0/gio/gsocketlistener.h:
+
+/usr/include/glib-2.0/gio/gsocketservice.h:
+
+/usr/include/glib-2.0/gio/gsrvtarget.h:
+
+/usr/include/glib-2.0/gio/gsimpleproxyresolver.h:
+
+/usr/include/glib-2.0/gio/gtask.h:
+
+/usr/include/glib-2.0/gio/gsubprocess.h:
+
+/usr/include/glib-2.0/gio/gsubprocesslauncher.h:
+
+/usr/include/glib-2.0/gio/gtcpconnection.h:
+
+/usr/include/glib-2.0/gio/gtcpwrapperconnection.h:
+
+/usr/include/glib-2.0/gio/gtestdbus.h:
+
+/usr/include/glib-2.0/gio/gthemedicon.h:
+
+/usr/include/glib-2.0/gio/gthreadedsocketservice.h:
+
+/usr/include/glib-2.0/gio/gtlsbackend.h:
+
+/usr/include/glib-2.0/gio/gtlscertificate.h:
+
+/usr/include/glib-2.0/gio/gtlsclientconnection.h:
+
+/usr/include/glib-2.0/gio/gtlsconnection.h:
+
+/usr/include/glib-2.0/gio/gtlsdatabase.h:
+
+/usr/include/glib-2.0/gio/gtlsfiledatabase.h:
+
+/usr/include/glib-2.0/gio/gtlsinteraction.h:
+
+/usr/include/glib-2.0/gio/gtlsserverconnection.h:
+
+/usr/include/glib-2.0/gio/gtlspassword.h:
+
+/usr/include/glib-2.0/gio/gvfs.h:
+
+/usr/include/glib-2.0/gio/gvolume.h:
+
+/usr/include/glib-2.0/gio/gzlibcompressor.h:
+
+/usr/include/glib-2.0/gio/gzlibdecompressor.h:
+
+/usr/include/glib-2.0/gio/gdbusinterface.h:
+
+/usr/include/glib-2.0/gio/gdbusinterfaceskeleton.h:
+
+/usr/include/glib-2.0/gio/gdbusobject.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectskeleton.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectproxy.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanager.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanagerclient.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanagerserver.h:
+
+/usr/include/glib-2.0/gio/gdbusactiongroup.h:
+
+/usr/include/glib-2.0/gio/giotypes.h:
+
+/usr/include/glib-2.0/gio/gremoteactiongroup.h:
+
+/usr/include/glib-2.0/gio/gmenumodel.h:
+
+/usr/include/glib-2.0/gio/gmenu.h:
+
+/usr/include/glib-2.0/gio/gmenuexporter.h:
+
+/usr/include/glib-2.0/gio/gdbusmenumodel.h:
+
+/usr/include/glib-2.0/gio/gnotification.h:
+
+/usr/include/gtk-2.0/gdk/gdkscreen.h:
+
+/usr/include/cairo/cairo.h:
+
+/usr/include/cairo/cairo-version.h:
+
+/usr/include/cairo/cairo-features.h:
+
+/usr/include/cairo/cairo-deprecated.h:
+
+/usr/include/gtk-2.0/gdk/gdktypes.h:
+
+/usr/include/pango-1.0/pango/pango.h:
+
+/usr/include/pango-1.0/pango/pango-attributes.h:
+
+/usr/include/pango-1.0/pango/pango-font.h:
+
+/usr/include/pango-1.0/pango/pango-coverage.h:
+
+/usr/include/pango-1.0/pango/pango-types.h:
+
+/usr/include/pango-1.0/pango/pango-gravity.h:
+
+/usr/include/pango-1.0/pango/pango-matrix.h:
+
+/usr/include/pango-1.0/pango/pango-script.h:
+
+/usr/include/pango-1.0/pango/pango-language.h:
+
+/usr/include/pango-1.0/pango/pango-bidi-type.h:
+
+/usr/include/pango-1.0/pango/pango-break.h:
+
+/usr/include/pango-1.0/pango/pango-item.h:
+
+/usr/include/pango-1.0/pango/pango-context.h:
+
+/usr/include/pango-1.0/pango/pango-fontmap.h:
+
+/usr/include/pango-1.0/pango/pango-fontset.h:
+
+/usr/include/pango-1.0/pango/pango-engine.h:
+
+/usr/include/pango-1.0/pango/pango-glyph.h:
+
+/usr/include/pango-1.0/pango/pango-enum-types.h:
+
+/usr/include/pango-1.0/pango/pango-features.h:
+
+/usr/include/pango-1.0/pango/pango-glyph-item.h:
+
+/usr/include/pango-1.0/pango/pango-layout.h:
+
+/usr/include/pango-1.0/pango/pango-tabs.h:
+
+/usr/include/pango-1.0/pango/pango-renderer.h:
+
+/usr/include/pango-1.0/pango/pango-utils.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/lib/gtk-2.0/include/gdkconfig.h:
+
+/usr/include/gtk-2.0/gdk/gdkdisplay.h:
+
+/usr/include/gtk-2.0/gdk/gdkevents.h:
+
+/usr/include/gtk-2.0/gdk/gdkcolor.h:
+
+/usr/include/gtk-2.0/gdk/gdkdnd.h:
+
+/usr/include/gtk-2.0/gdk/gdkinput.h:
+
+/usr/include/gtk-2.0/gdk/gdkcairo.h:
+
+/usr/include/gtk-2.0/gdk/gdkpixbuf.h:
+
+/usr/include/gtk-2.0/gdk/gdkrgb.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h:
+
+/usr/include/pango-1.0/pango/pangocairo.h:
+
+/usr/include/gtk-2.0/gdk/gdkcursor.h:
+
+/usr/include/gtk-2.0/gdk/gdkdisplaymanager.h:
+
+/usr/include/gtk-2.0/gdk/gdkdrawable.h:
+
+/usr/include/gtk-2.0/gdk/gdkgc.h:
+
+/usr/include/gtk-2.0/gdk/gdkenumtypes.h:
+
+/usr/include/gtk-2.0/gdk/gdkfont.h:
+
+/usr/include/gtk-2.0/gdk/gdkimage.h:
+
+/usr/include/gtk-2.0/gdk/gdkkeys.h:
+
+/usr/include/gtk-2.0/gdk/gdkpango.h:
+
+/usr/include/gtk-2.0/gdk/gdkpixmap.h:
+
+/usr/include/gtk-2.0/gdk/gdkproperty.h:
+
+/usr/include/gtk-2.0/gdk/gdkregion.h:
+
+/usr/include/gtk-2.0/gdk/gdkselection.h:
+
+/usr/include/gtk-2.0/gdk/gdkspawn.h:
+
+/usr/include/gtk-2.0/gdk/gdktestutils.h:
+
+/usr/include/gtk-2.0/gdk/gdkwindow.h:
+
+/usr/include/gtk-2.0/gdk/gdkvisual.h:
+
+/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccelgroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkenums.h:
+
+/usr/include/gtk-2.0/gtk/gtkbin.h:
+
+/usr/include/gtk-2.0/gtk/gtkcontainer.h:
+
+/usr/include/gtk-2.0/gtk/gtkwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkobject.h:
+
+/usr/include/gtk-2.0/gtk/gtktypeutils.h:
+
+/usr/include/gtk-2.0/gtk/gtktypebuiltins.h:
+
+/usr/include/gtk-2.0/gtk/gtkdebug.h:
+
+/usr/include/gtk-2.0/gtk/gtkadjustment.h:
+
+/usr/include/gtk-2.0/gtk/gtkstyle.h:
+
+/usr/include/gtk-2.0/gtk/gtksettings.h:
+
+/usr/include/gtk-2.0/gtk/gtkrc.h:
+
+/usr/include/atk-1.0/atk/atk.h:
+
+/usr/include/atk-1.0/atk/atkobject.h:
+
+/usr/include/atk-1.0/atk/atkversion.h:
+
+/usr/include/atk-1.0/atk/atkstate.h:
+
+/usr/include/atk-1.0/atk/atkrelationtype.h:
+
+/usr/include/atk-1.0/atk/atkaction.h:
+
+/usr/include/atk-1.0/atk/atkcomponent.h:
+
+/usr/include/atk-1.0/atk/atkutil.h:
+
+/usr/include/atk-1.0/atk/atkdocument.h:
+
+/usr/include/atk-1.0/atk/atkeditabletext.h:
+
+/usr/include/atk-1.0/atk/atktext.h:
+
+/usr/include/atk-1.0/atk/atk-enum-types.h:
+
+/usr/include/atk-1.0/atk/atkgobjectaccessible.h:
+
+/usr/include/atk-1.0/atk/atkhyperlink.h:
+
+/usr/include/atk-1.0/atk/atkhyperlinkimpl.h:
+
+/usr/include/atk-1.0/atk/atkhypertext.h:
+
+/usr/include/atk-1.0/atk/atkimage.h:
+
+/usr/include/atk-1.0/atk/atknoopobject.h:
+
+/usr/include/atk-1.0/atk/atknoopobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkplug.h:
+
+/usr/include/atk-1.0/atk/atkrange.h:
+
+/usr/include/atk-1.0/atk/atkregistry.h:
+
+/usr/include/atk-1.0/atk/atkobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkrelation.h:
+
+/usr/include/atk-1.0/atk/atkrelationset.h:
+
+/usr/include/atk-1.0/atk/atkselection.h:
+
+/usr/include/atk-1.0/atk/atksocket.h:
+
+/usr/include/atk-1.0/atk/atkstateset.h:
+
+/usr/include/atk-1.0/atk/atkstreamablecontent.h:
+
+/usr/include/atk-1.0/atk/atktable.h:
+
+/usr/include/atk-1.0/atk/atktablecell.h:
+
+/usr/include/atk-1.0/atk/atkmisc.h:
+
+/usr/include/atk-1.0/atk/atkvalue.h:
+
+/usr/include/atk-1.0/atk/atkwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccellabel.h:
+
+/usr/include/gtk-2.0/gtk/gtklabel.h:
+
+/usr/include/gtk-2.0/gtk/gtkmisc.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenushell.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccelmap.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccessible.h:
+
+/usr/include/gtk-2.0/gtk/gtkaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkactiongroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkactivatable.h:
+
+/usr/include/gtk-2.0/gtk/gtkalignment.h:
+
+/usr/include/gtk-2.0/gtk/gtkarrow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaspectframe.h:
+
+/usr/include/gtk-2.0/gtk/gtkframe.h:
+
+/usr/include/gtk-2.0/gtk/gtkassistant.h:
+
+/usr/include/gtk-2.0/gtk/gtkbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkbindings.h:
+
+/usr/include/gtk-2.0/gtk/gtkbuildable.h:
+
+/usr/include/gtk-2.0/gtk/gtkbuilder.h:
+
+/usr/include/gtk-2.0/gtk/gtkbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkimage.h:
+
+/usr/include/gtk-2.0/gtk/gtkcalendar.h:
+
+/usr/include/gtk-2.0/gtk/gtksignal.h:
+
+/usr/include/gtk-2.0/gtk/gtkmarshal.h:
+
+/usr/include/gtk-2.0/gtk/gtkcelleditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkcelllayout.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderer.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodel.h:
+
+/usr/include/gtk-2.0/gtk/gtktreesortable.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendereraccel.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderertext.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderercombo.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererspin.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererspinner.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellview.h:
+
+/usr/include/gtk-2.0/gtk/gtkcheckbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktogglebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkclipboard.h:
+
+/usr/include/gtk-2.0/gtk/gtkselection.h:
+
+/usr/include/gtk-2.0/gtk/gtktextiter.h:
+
+/usr/include/gtk-2.0/gtk/gtktexttag.h:
+
+/usr/include/gtk-2.0/gtk/gtktextchild.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorsel.h:
+
+/usr/include/gtk-2.0/gtk/gtkvbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorseldialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkcombobox.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeview.h:
+
+/usr/include/gtk-2.0/gtk/gtkdnd.h:
+
+/usr/include/gtk-2.0/gtk/gtkentry.h:
+
+/usr/include/gtk-2.0/gtk/gtkeditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkimcontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkentrybuffer.h:
+
+/usr/include/gtk-2.0/gtk/gtkentrycompletion.h:
+
+/usr/include/gtk-2.0/gtk/gtkliststore.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodelfilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkcomboboxentry.h:
+
+/usr/include/gtk-2.0/gtk/gtkcomboboxtext.h:
+
+/usr/include/gtk-2.0/gtk/gtkdrawingarea.h:
+
+/usr/include/gtk-2.0/gtk/gtkeventbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkexpander.h:
+
+/usr/include/gtk-2.0/gtk/gtkfixed.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooser.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilefilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkhbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkfontbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkfontsel.h:
+
+/usr/include/gtk-2.0/gtk/gtkgc.h:
+
+/usr/include/gtk-2.0/gtk/gtkhandlebox.h:
+
+/usr/include/gtk-2.0/gtk/gtkhbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkhpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkhruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkhscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkrange.h:
+
+/usr/include/gtk-2.0/gtk/gtkhscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkhseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtkhsv.h:
+
+/usr/include/gtk-2.0/gtk/gtkiconfactory.h:
+
+/usr/include/gtk-2.0/gtk/gtkicontheme.h:
+
+/usr/include/gtk-2.0/gtk/gtkiconview.h:
+
+/usr/include/gtk-2.0/gtk/gtktooltip.h:
+
+/usr/include/gtk-2.0/gtk/gtkimagemenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkimcontextsimple.h:
+
+/usr/include/gtk-2.0/gtk/gtkimmulticontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkinfobar.h:
+
+/usr/include/gtk-2.0/gtk/gtkinvisible.h:
+
+/usr/include/gtk-2.0/gtk/gtklayout.h:
+
+/usr/include/gtk-2.0/gtk/gtklinkbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkmain.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenubar.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolitem.h:
+
+/usr/include/gtk-2.0/gtk/gtktooltips.h:
+
+/usr/include/gtk-2.0/gtk/gtksizegroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkmessagedialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkmodules.h:
+
+/usr/include/gtk-2.0/gtk/gtkmountoperation.h:
+
+/usr/include/gtk-2.0/gtk/gtknotebook.h:
+
+/usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkorientable.h:
+
+/usr/include/gtk-2.0/gtk/gtkpagesetup.h:
+
+/usr/include/gtk-2.0/gtk/gtkpapersize.h:
+
+/usr/include/gtk-2.0/gtk/gtkplug.h:
+
+/usr/include/gtk-2.0/gtk/gtksocket.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintcontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintoperation.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintsettings.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h:
+
+/usr/include/gtk-2.0/gtk/gtkprogressbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkprogress.h:
+
+/usr/include/gtk-2.0/gtk/gtkradioaction.h:
+
+/usr/include/gtk-2.0/gtk/gtktoggleaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiobutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentmanager.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooser.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentfilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooserdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchoosermenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkscalebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkvscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkviewport.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkshow.h:
+
+/usr/include/gtk-2.0/gtk/gtkspinbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkspinner.h:
+
+/usr/include/gtk-2.0/gtk/gtkstatusbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkstatusicon.h:
+
+/usr/include/gtk-2.0/gtk/gtkstock.h:
+
+/usr/include/gtk-2.0/gtk/gtktable.h:
+
+/usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtktextbuffer.h:
+
+/usr/include/gtk-2.0/gtk/gtktexttagtable.h:
+
+/usr/include/gtk-2.0/gtk/gtktextmark.h:
+
+/usr/include/gtk-2.0/gtk/gtktextbufferrichtext.h:
+
+/usr/include/gtk-2.0/gtk/gtktextview.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkpixmap.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolitemgroup.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolpalette.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolshell.h:
+
+/usr/include/gtk-2.0/gtk/gtktestutils.h:
+
+/usr/include/gtk-2.0/gtk/gtktreednd.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodelsort.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeselection.h:
+
+/usr/include/gtk-2.0/gtk/gtktreestore.h:
+
+/usr/include/gtk-2.0/gtk/gtkuimanager.h:
+
+/usr/include/gtk-2.0/gtk/gtkvbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkversion.h:
+
+/usr/include/gtk-2.0/gtk/gtkvolumebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkvpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkvruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkvscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkvseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtktext.h:
+
+/usr/include/gtk-2.0/gtk/gtktree.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkclist.h:
+
+/usr/include/gtk-2.0/gtk/gtkcombo.h:
+
+/usr/include/gtk-2.0/gtk/gtkctree.h:
+
+/usr/include/gtk-2.0/gtk/gtkcurve.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilesel.h:
+
+/usr/include/gtk-2.0/gtk/gtkgamma.h:
+
+/usr/include/gtk-2.0/gtk/gtkinputdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkitemfactory.h:
+
+/usr/include/gtk-2.0/gtk/gtklist.h:
+
+/usr/include/gtk-2.0/gtk/gtklistitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkoldeditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkoptionmenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkpreview.h:
+
+/usr/include/gtk-2.0/gtk/gtktipsquery.h:
diff --git a/.deps/libags_a-ags_countable.Po b/.deps/libags_a-ags_countable.Po
new file mode 100644
index 0000000..4f52045
--- /dev/null
+++ b/.deps/libags_a-ags_countable.Po
@@ -0,0 +1,402 @@
+libags_a-ags_countable.o: src/ags/object/ags_countable.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_countable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_countable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
diff --git a/.deps/libags_a-ags_dynamic_connectable.Po b/.deps/libags_a-ags_dynamic_connectable.Po
new file mode 100644
index 0000000..af2dc4a
--- /dev/null
+++ b/.deps/libags_a-ags_dynamic_connectable.Po
@@ -0,0 +1,386 @@
+libags_a-ags_dynamic_connectable.o: \
+ src/ags/object/ags_dynamic_connectable.c /usr/include/stdc-predef.h \
+ src/ags/object/ags_dynamic_connectable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_dynamic_connectable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
diff --git a/.deps/libags_a-ags_effect.Po b/.deps/libags_a-ags_effect.Po
new file mode 100644
index 0000000..9b128eb
--- /dev/null
+++ b/.deps/libags_a-ags_effect.Po
@@ -0,0 +1,478 @@
+libags_a-ags_effect.o: src/ags/object/ags_effect.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_effect.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h \
+ /usr/include/libxml2/libxml/tree.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/include/libxml2/libxml/xmlversion.h \
+ /usr/include/libxml2/libxml/xmlexports.h \
+ /usr/include/libxml2/libxml/xmlstring.h \
+ /usr/include/libxml2/libxml/xmlregexp.h \
+ /usr/include/libxml2/libxml/dict.h \
+ /usr/include/libxml2/libxml/xmlmemory.h \
+ /usr/include/libxml2/libxml/threads.h \
+ /usr/include/libxml2/libxml/globals.h \
+ /usr/include/libxml2/libxml/parser.h /usr/include/libxml2/libxml/hash.h \
+ /usr/include/libxml2/libxml/valid.h \
+ /usr/include/libxml2/libxml/xmlerror.h \
+ /usr/include/libxml2/libxml/list.h \
+ /usr/include/libxml2/libxml/xmlautomata.h \
+ /usr/include/libxml2/libxml/entities.h \
+ /usr/include/libxml2/libxml/encoding.h /usr/include/iconv.h \
+ /usr/include/libxml2/libxml/xmlIO.h /usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \
+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \
+ /usr/include/bits/stdlib-bsearch.h /usr/include/bits/stdlib-float.h \
+ /usr/include/libxml2/libxml/xlink.h /usr/include/libxml2/libxml/SAX2.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_effect.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/include/libxml2/libxml/xmlversion.h:
+
+/usr/include/libxml2/libxml/xmlexports.h:
+
+/usr/include/libxml2/libxml/xmlstring.h:
+
+/usr/include/libxml2/libxml/xmlregexp.h:
+
+/usr/include/libxml2/libxml/dict.h:
+
+/usr/include/libxml2/libxml/xmlmemory.h:
+
+/usr/include/libxml2/libxml/threads.h:
+
+/usr/include/libxml2/libxml/globals.h:
+
+/usr/include/libxml2/libxml/parser.h:
+
+/usr/include/libxml2/libxml/hash.h:
+
+/usr/include/libxml2/libxml/valid.h:
+
+/usr/include/libxml2/libxml/xmlerror.h:
+
+/usr/include/libxml2/libxml/list.h:
+
+/usr/include/libxml2/libxml/xmlautomata.h:
+
+/usr/include/libxml2/libxml/entities.h:
+
+/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/usr/include/libxml2/libxml/xmlIO.h:
+
+/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/libxml2/libxml/xlink.h:
+
+/usr/include/libxml2/libxml/SAX2.h:
diff --git a/.deps/libags_a-ags_id_generator.Po b/.deps/libags_a-ags_id_generator.Po
new file mode 100644
index 0000000..4563458
--- /dev/null
+++ b/.deps/libags_a-ags_id_generator.Po
@@ -0,0 +1,352 @@
+libags_a-ags_id_generator.o: src/ags/util/ags_id_generator.c \
+ /usr/include/stdc-predef.h src/ags/util/ags_id_generator.h \
+ /usr/include/glib-2.0/glib.h /usr/include/glib-2.0/glib/galloca.h \
+ /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \
+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \
+ /usr/include/bits/stdlib-bsearch.h /usr/include/bits/stdlib-float.h \
+ /usr/include/uuid/uuid.h /usr/include/sys/time.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/util/ags_id_generator.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/uuid/uuid.h:
+
+/usr/include/sys/time.h:
diff --git a/.deps/libags_a-ags_list.Po b/.deps/libags_a-ags_list.Po
new file mode 100644
index 0000000..c573dda
--- /dev/null
+++ b/.deps/libags_a-ags_list.Po
@@ -0,0 +1,385 @@
+libags_a-ags_list.o: src/ags/lib/ags_list.c /usr/include/stdc-predef.h \
+ src/ags/lib/ags_list.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/lib/ags_list.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
diff --git a/.deps/libags_a-ags_log.Po b/.deps/libags_a-ags_log.Po
new file mode 100644
index 0000000..5520884
--- /dev/null
+++ b/.deps/libags_a-ags_log.Po
@@ -0,0 +1,426 @@
+libags_a-ags_log.o: src/ags/lib/ags_log.c /usr/include/stdc-predef.h \
+ src/ags/lib/ags_log.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h src/ags/lib/ags_list.h /usr/include/stdlib.h \
+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
+ /usr/include/alloca.h /usr/include/bits/stdlib-bsearch.h \
+ /usr/include/bits/stdlib-float.h /usr/include/string.h \
+ /usr/include/bits/string.h /usr/include/bits/string2.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/lib/ags_log.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+src/ags/lib/ags_list.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/string.h:
+
+/usr/include/bits/string.h:
+
+/usr/include/bits/string2.h:
diff --git a/.deps/libags_a-ags_main_loop.Po b/.deps/libags_a-ags_main_loop.Po
new file mode 100644
index 0000000..7f5b79d
--- /dev/null
+++ b/.deps/libags_a-ags_main_loop.Po
@@ -0,0 +1,440 @@
+libags_a-ags_main_loop.o: src/ags/object/ags_main_loop.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_main_loop.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h \
+ src/ags/thread/ags_async_queue.h /usr/include/linux/futex.h \
+ /usr/include/linux/types.h /usr/include/asm/types.h \
+ /usr/include/asm-generic/types.h /usr/include/asm-generic/int-ll64.h \
+ /usr/include/asm/bitsperlong.h /usr/include/asm-generic/bitsperlong.h \
+ /usr/include/linux/posix_types.h /usr/include/linux/stddef.h \
+ /usr/include/asm/posix_types.h /usr/include/asm/posix_types_64.h \
+ /usr/include/asm-generic/posix_types.h /usr/include/sys/time.h \
+ src/ags/object/ags_stackable.h /usr/include/stdio.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_main_loop.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+src/ags/thread/ags_async_queue.h:
+
+/usr/include/linux/futex.h:
+
+/usr/include/linux/types.h:
+
+/usr/include/asm/types.h:
+
+/usr/include/asm-generic/types.h:
+
+/usr/include/asm-generic/int-ll64.h:
+
+/usr/include/asm/bitsperlong.h:
+
+/usr/include/asm-generic/bitsperlong.h:
+
+/usr/include/linux/posix_types.h:
+
+/usr/include/linux/stddef.h:
+
+/usr/include/asm/posix_types.h:
+
+/usr/include/asm/posix_types_64.h:
+
+/usr/include/asm-generic/posix_types.h:
+
+/usr/include/sys/time.h:
+
+src/ags/object/ags_stackable.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
diff --git a/.deps/libags_a-ags_marshal.Po b/.deps/libags_a-ags_marshal.Po
new file mode 100644
index 0000000..07ed912
--- /dev/null
+++ b/.deps/libags_a-ags_marshal.Po
@@ -0,0 +1,382 @@
+libags_a-ags_marshal.o: src/ags/object/ags_marshal.c \
+ /usr/include/stdc-predef.h /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h
+
+/usr/include/stdc-predef.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
diff --git a/.deps/libags_a-ags_mutable.Po b/.deps/libags_a-ags_mutable.Po
new file mode 100644
index 0000000..1dfdfad
--- /dev/null
+++ b/.deps/libags_a-ags_mutable.Po
@@ -0,0 +1,2021 @@
+libags_a-ags_mutable.o: src/ags/object/ags_mutable.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_mutable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h src/ags/audio/ags_devout.h \
+ /usr/include/alsa/asoundlib.h /usr/include/unistd.h \
+ /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
+ /usr/include/bits/confname.h /usr/include/getopt.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/include/stdlib.h \
+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
+ /usr/include/alloca.h /usr/include/bits/stdlib-bsearch.h \
+ /usr/include/bits/stdlib-float.h /usr/include/string.h \
+ /usr/include/bits/string.h /usr/include/bits/string2.h \
+ /usr/include/fcntl.h /usr/include/bits/fcntl.h \
+ /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h \
+ /usr/include/assert.h /usr/include/sys/poll.h /usr/include/bits/poll.h \
+ /usr/include/errno.h /usr/include/bits/errno.h \
+ /usr/include/linux/errno.h /usr/include/asm/errno.h \
+ /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \
+ /usr/include/alsa/asoundef.h /usr/include/alsa/version.h \
+ /usr/include/alsa/global.h /usr/include/alsa/input.h \
+ /usr/include/alsa/output.h /usr/include/alsa/error.h \
+ /usr/include/alsa/conf.h /usr/include/alsa/pcm.h \
+ /usr/include/alsa/rawmidi.h /usr/include/alsa/timer.h \
+ /usr/include/alsa/hwdep.h /usr/include/alsa/control.h \
+ /usr/include/alsa/mixer.h /usr/include/alsa/seq_event.h \
+ /usr/include/alsa/seq.h /usr/include/alsa/seqmid.h \
+ /usr/include/alsa/seq_midi_event.h src/ags/thread/ags_audio_loop.h \
+ /usr/include/math.h /usr/include/bits/huge_val.h \
+ /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \
+ /usr/include/bits/inf.h /usr/include/bits/nan.h \
+ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \
+ /usr/include/bits/mathinline.h src/ags/thread/ags_thread-posix.h \
+ src/ags/thread/ags_async_queue.h /usr/include/linux/futex.h \
+ /usr/include/linux/types.h /usr/include/asm/types.h \
+ /usr/include/asm-generic/types.h /usr/include/asm-generic/int-ll64.h \
+ /usr/include/asm/bitsperlong.h /usr/include/asm-generic/bitsperlong.h \
+ /usr/include/linux/posix_types.h /usr/include/linux/stddef.h \
+ /usr/include/asm/posix_types.h /usr/include/asm/posix_types_64.h \
+ /usr/include/asm-generic/posix_types.h /usr/include/sys/time.h \
+ src/ags/object/ags_stackable.h src/ags/thread/ags_task_thread.h \
+ src/ags/thread/ags_thread_pool.h src/ags/object/ags_main_loop.h \
+ src/ags/audio/ags_task.h src/ags/thread/ags_devout_thread.h \
+ src/ags/thread/ags_iterator_thread.h src/ags/audio/ags_channel.h \
+ /usr/include/gtk-2.0/gtk/gtk.h /usr/include/gtk-2.0/gdk/gdk.h \
+ /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h \
+ /usr/include/glib-2.0/gio/gio.h /usr/include/glib-2.0/gio/giotypes.h \
+ /usr/include/glib-2.0/gio/gioenums.h /usr/include/glib-2.0/gio/gaction.h \
+ /usr/include/glib-2.0/gio/gactiongroup.h \
+ /usr/include/glib-2.0/gio/gactiongroupexporter.h \
+ /usr/include/glib-2.0/gio/gactionmap.h \
+ /usr/include/glib-2.0/gio/gappinfo.h \
+ /usr/include/glib-2.0/gio/gapplication.h \
+ /usr/include/glib-2.0/gio/gapplicationcommandline.h \
+ /usr/include/glib-2.0/gio/gasyncinitable.h \
+ /usr/include/glib-2.0/gio/ginitable.h \
+ /usr/include/glib-2.0/gio/gasyncresult.h \
+ /usr/include/glib-2.0/gio/gbufferedinputstream.h \
+ /usr/include/glib-2.0/gio/gfilterinputstream.h \
+ /usr/include/glib-2.0/gio/ginputstream.h \
+ /usr/include/glib-2.0/gio/gbufferedoutputstream.h \
+ /usr/include/glib-2.0/gio/gfilteroutputstream.h \
+ /usr/include/glib-2.0/gio/goutputstream.h \
+ /usr/include/glib-2.0/gio/gbytesicon.h \
+ /usr/include/glib-2.0/gio/gcancellable.h \
+ /usr/include/glib-2.0/gio/gcharsetconverter.h \
+ /usr/include/glib-2.0/gio/gconverter.h \
+ /usr/include/glib-2.0/gio/gcontenttype.h \
+ /usr/include/glib-2.0/gio/gconverterinputstream.h \
+ /usr/include/glib-2.0/gio/gconverteroutputstream.h \
+ /usr/include/glib-2.0/gio/gcredentials.h \
+ /usr/include/glib-2.0/gio/gdatainputstream.h \
+ /usr/include/glib-2.0/gio/gdataoutputstream.h \
+ /usr/include/glib-2.0/gio/gdbusaddress.h \
+ /usr/include/glib-2.0/gio/gdbusauthobserver.h \
+ /usr/include/glib-2.0/gio/gdbusconnection.h \
+ /usr/include/glib-2.0/gio/gdbuserror.h \
+ /usr/include/glib-2.0/gio/gdbusintrospection.h \
+ /usr/include/glib-2.0/gio/gdbusmessage.h \
+ /usr/include/glib-2.0/gio/gdbusmethodinvocation.h \
+ /usr/include/glib-2.0/gio/gdbusnameowning.h \
+ /usr/include/glib-2.0/gio/gdbusnamewatching.h \
+ /usr/include/glib-2.0/gio/gdbusproxy.h \
+ /usr/include/glib-2.0/gio/gdbusserver.h \
+ /usr/include/glib-2.0/gio/gdbusutils.h \
+ /usr/include/glib-2.0/gio/gdrive.h \
+ /usr/include/glib-2.0/gio/gemblemedicon.h \
+ /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \
+ /usr/include/glib-2.0/gio/gfileattribute.h \
+ /usr/include/glib-2.0/gio/gfileenumerator.h \
+ /usr/include/glib-2.0/gio/gfile.h /usr/include/glib-2.0/gio/gfileicon.h \
+ /usr/include/glib-2.0/gio/gfileinfo.h \
+ /usr/include/glib-2.0/gio/gfileinputstream.h \
+ /usr/include/glib-2.0/gio/gfileiostream.h \
+ /usr/include/glib-2.0/gio/giostream.h \
+ /usr/include/glib-2.0/gio/gioerror.h \
+ /usr/include/glib-2.0/gio/gfilemonitor.h \
+ /usr/include/glib-2.0/gio/gfilenamecompleter.h \
+ /usr/include/glib-2.0/gio/gfileoutputstream.h \
+ /usr/include/glib-2.0/gio/ginetaddress.h \
+ /usr/include/glib-2.0/gio/ginetaddressmask.h \
+ /usr/include/glib-2.0/gio/ginetsocketaddress.h \
+ /usr/include/glib-2.0/gio/gsocketaddress.h \
+ /usr/include/glib-2.0/gio/gioenumtypes.h \
+ /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \
+ /usr/include/glib-2.0/gio/gioscheduler.h \
+ /usr/include/glib-2.0/gio/gloadableicon.h \
+ /usr/include/glib-2.0/gio/gmemoryinputstream.h \
+ /usr/include/glib-2.0/gio/gmemoryoutputstream.h \
+ /usr/include/glib-2.0/gio/gmount.h \
+ /usr/include/glib-2.0/gio/gmountoperation.h \
+ /usr/include/glib-2.0/gio/gnativevolumemonitor.h \
+ /usr/include/glib-2.0/gio/gvolumemonitor.h \
+ /usr/include/glib-2.0/gio/gnetworkaddress.h \
+ /usr/include/glib-2.0/gio/gnetworkmonitor.h \
+ /usr/include/glib-2.0/gio/gnetworkservice.h \
+ /usr/include/glib-2.0/gio/gpermission.h \
+ /usr/include/glib-2.0/gio/gpollableinputstream.h \
+ /usr/include/glib-2.0/gio/gpollableoutputstream.h \
+ /usr/include/glib-2.0/gio/gpollableutils.h \
+ /usr/include/glib-2.0/gio/gpropertyaction.h \
+ /usr/include/glib-2.0/gio/gproxy.h \
+ /usr/include/glib-2.0/gio/gproxyaddress.h \
+ /usr/include/glib-2.0/gio/gproxyaddressenumerator.h \
+ /usr/include/glib-2.0/gio/gsocketaddressenumerator.h \
+ /usr/include/glib-2.0/gio/gproxyresolver.h \
+ /usr/include/glib-2.0/gio/gresolver.h \
+ /usr/include/glib-2.0/gio/gresource.h \
+ /usr/include/glib-2.0/gio/gseekable.h \
+ /usr/include/glib-2.0/gio/gsettingsschema.h \
+ /usr/include/glib-2.0/gio/gsettings.h \
+ /usr/include/glib-2.0/gio/gsimpleaction.h \
+ /usr/include/glib-2.0/gio/gsimpleactiongroup.h \
+ /usr/include/glib-2.0/gio/gactiongroup.h \
+ /usr/include/glib-2.0/gio/gactionmap.h \
+ /usr/include/glib-2.0/gio/gsimpleasyncresult.h \
+ /usr/include/glib-2.0/gio/gsimplepermission.h \
+ /usr/include/glib-2.0/gio/gsocketclient.h \
+ /usr/include/glib-2.0/gio/gsocketconnectable.h \
+ /usr/include/glib-2.0/gio/gsocketconnection.h \
+ /usr/include/glib-2.0/gio/gsocket.h \
+ /usr/include/glib-2.0/gio/gsocketcontrolmessage.h \
+ /usr/include/glib-2.0/gio/gsocketlistener.h \
+ /usr/include/glib-2.0/gio/gsocketservice.h \
+ /usr/include/glib-2.0/gio/gsrvtarget.h \
+ /usr/include/glib-2.0/gio/gsimpleproxyresolver.h \
+ /usr/include/glib-2.0/gio/gtask.h \
+ /usr/include/glib-2.0/gio/gsubprocess.h \
+ /usr/include/glib-2.0/gio/gsubprocesslauncher.h \
+ /usr/include/glib-2.0/gio/gtcpconnection.h \
+ /usr/include/glib-2.0/gio/gtcpwrapperconnection.h \
+ /usr/include/glib-2.0/gio/gtestdbus.h \
+ /usr/include/glib-2.0/gio/gthemedicon.h \
+ /usr/include/glib-2.0/gio/gthreadedsocketservice.h \
+ /usr/include/glib-2.0/gio/gtlsbackend.h \
+ /usr/include/glib-2.0/gio/gtlscertificate.h \
+ /usr/include/glib-2.0/gio/gtlsclientconnection.h \
+ /usr/include/glib-2.0/gio/gtlsconnection.h \
+ /usr/include/glib-2.0/gio/gtlsdatabase.h \
+ /usr/include/glib-2.0/gio/gtlsfiledatabase.h \
+ /usr/include/glib-2.0/gio/gtlsinteraction.h \
+ /usr/include/glib-2.0/gio/gtlsserverconnection.h \
+ /usr/include/glib-2.0/gio/gtlspassword.h \
+ /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \
+ /usr/include/glib-2.0/gio/gzlibcompressor.h \
+ /usr/include/glib-2.0/gio/gzlibdecompressor.h \
+ /usr/include/glib-2.0/gio/gdbusinterface.h \
+ /usr/include/glib-2.0/gio/gdbusinterfaceskeleton.h \
+ /usr/include/glib-2.0/gio/gdbusobject.h \
+ /usr/include/glib-2.0/gio/gdbusobjectskeleton.h \
+ /usr/include/glib-2.0/gio/gdbusobjectproxy.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanager.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanagerclient.h \
+ /usr/include/glib-2.0/gio/gdbusobjectmanagerserver.h \
+ /usr/include/glib-2.0/gio/gdbusactiongroup.h \
+ /usr/include/glib-2.0/gio/giotypes.h \
+ /usr/include/glib-2.0/gio/gremoteactiongroup.h \
+ /usr/include/glib-2.0/gio/gmenumodel.h /usr/include/glib-2.0/gio/gmenu.h \
+ /usr/include/glib-2.0/gio/gmenuexporter.h \
+ /usr/include/glib-2.0/gio/gdbusmenumodel.h \
+ /usr/include/glib-2.0/gio/gnotification.h \
+ /usr/include/gtk-2.0/gdk/gdkscreen.h /usr/include/cairo/cairo.h \
+ /usr/include/cairo/cairo-version.h /usr/include/cairo/cairo-features.h \
+ /usr/include/cairo/cairo-deprecated.h \
+ /usr/include/gtk-2.0/gdk/gdktypes.h /usr/include/pango-1.0/pango/pango.h \
+ /usr/include/pango-1.0/pango/pango-attributes.h \
+ /usr/include/pango-1.0/pango/pango-font.h \
+ /usr/include/pango-1.0/pango/pango-coverage.h \
+ /usr/include/pango-1.0/pango/pango-types.h \
+ /usr/include/pango-1.0/pango/pango-gravity.h \
+ /usr/include/pango-1.0/pango/pango-matrix.h \
+ /usr/include/pango-1.0/pango/pango-script.h \
+ /usr/include/pango-1.0/pango/pango-language.h \
+ /usr/include/pango-1.0/pango/pango-bidi-type.h \
+ /usr/include/pango-1.0/pango/pango-break.h \
+ /usr/include/pango-1.0/pango/pango-item.h \
+ /usr/include/pango-1.0/pango/pango-context.h \
+ /usr/include/pango-1.0/pango/pango-fontmap.h \
+ /usr/include/pango-1.0/pango/pango-fontset.h \
+ /usr/include/pango-1.0/pango/pango-engine.h \
+ /usr/include/pango-1.0/pango/pango-glyph.h \
+ /usr/include/pango-1.0/pango/pango-enum-types.h \
+ /usr/include/pango-1.0/pango/pango-features.h \
+ /usr/include/pango-1.0/pango/pango-glyph-item.h \
+ /usr/include/pango-1.0/pango/pango-layout.h \
+ /usr/include/pango-1.0/pango/pango-tabs.h \
+ /usr/include/pango-1.0/pango/pango-renderer.h \
+ /usr/include/pango-1.0/pango/pango-utils.h \
+ /usr/lib/gtk-2.0/include/gdkconfig.h \
+ /usr/include/gtk-2.0/gdk/gdkdisplay.h \
+ /usr/include/gtk-2.0/gdk/gdkevents.h /usr/include/gtk-2.0/gdk/gdkcolor.h \
+ /usr/include/gtk-2.0/gdk/gdkdnd.h /usr/include/gtk-2.0/gdk/gdkinput.h \
+ /usr/include/gtk-2.0/gdk/gdkcairo.h /usr/include/gtk-2.0/gdk/gdkpixbuf.h \
+ /usr/include/gtk-2.0/gdk/gdkrgb.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h \
+ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h \
+ /usr/include/pango-1.0/pango/pangocairo.h \
+ /usr/include/gtk-2.0/gdk/gdkcursor.h \
+ /usr/include/gtk-2.0/gdk/gdkdisplaymanager.h \
+ /usr/include/gtk-2.0/gdk/gdkdrawable.h /usr/include/gtk-2.0/gdk/gdkgc.h \
+ /usr/include/gtk-2.0/gdk/gdkenumtypes.h \
+ /usr/include/gtk-2.0/gdk/gdkfont.h /usr/include/gtk-2.0/gdk/gdkimage.h \
+ /usr/include/gtk-2.0/gdk/gdkkeys.h /usr/include/gtk-2.0/gdk/gdkpango.h \
+ /usr/include/gtk-2.0/gdk/gdkpixmap.h \
+ /usr/include/gtk-2.0/gdk/gdkproperty.h \
+ /usr/include/gtk-2.0/gdk/gdkregion.h \
+ /usr/include/gtk-2.0/gdk/gdkselection.h \
+ /usr/include/gtk-2.0/gdk/gdkspawn.h \
+ /usr/include/gtk-2.0/gdk/gdktestutils.h \
+ /usr/include/gtk-2.0/gdk/gdkwindow.h \
+ /usr/include/gtk-2.0/gdk/gdkvisual.h \
+ /usr/include/gtk-2.0/gtk/gtkaboutdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkaccelgroup.h \
+ /usr/include/gtk-2.0/gtk/gtkenums.h /usr/include/gtk-2.0/gtk/gtkbin.h \
+ /usr/include/gtk-2.0/gtk/gtkcontainer.h \
+ /usr/include/gtk-2.0/gtk/gtkwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkobject.h \
+ /usr/include/gtk-2.0/gtk/gtktypeutils.h \
+ /usr/include/gtk-2.0/gtk/gtktypebuiltins.h \
+ /usr/include/gtk-2.0/gtk/gtkdebug.h \
+ /usr/include/gtk-2.0/gtk/gtkadjustment.h \
+ /usr/include/gtk-2.0/gtk/gtkstyle.h \
+ /usr/include/gtk-2.0/gtk/gtksettings.h /usr/include/gtk-2.0/gtk/gtkrc.h \
+ /usr/include/atk-1.0/atk/atk.h /usr/include/atk-1.0/atk/atkobject.h \
+ /usr/include/atk-1.0/atk/atkversion.h \
+ /usr/include/atk-1.0/atk/atkstate.h \
+ /usr/include/atk-1.0/atk/atkrelationtype.h \
+ /usr/include/atk-1.0/atk/atkaction.h \
+ /usr/include/atk-1.0/atk/atkcomponent.h \
+ /usr/include/atk-1.0/atk/atkutil.h \
+ /usr/include/atk-1.0/atk/atkdocument.h \
+ /usr/include/atk-1.0/atk/atkeditabletext.h \
+ /usr/include/atk-1.0/atk/atktext.h \
+ /usr/include/atk-1.0/atk/atk-enum-types.h \
+ /usr/include/atk-1.0/atk/atkgobjectaccessible.h \
+ /usr/include/atk-1.0/atk/atkhyperlink.h \
+ /usr/include/atk-1.0/atk/atkhyperlinkimpl.h \
+ /usr/include/atk-1.0/atk/atkhypertext.h \
+ /usr/include/atk-1.0/atk/atkimage.h \
+ /usr/include/atk-1.0/atk/atknoopobject.h \
+ /usr/include/atk-1.0/atk/atknoopobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkplug.h /usr/include/atk-1.0/atk/atkrange.h \
+ /usr/include/atk-1.0/atk/atkregistry.h \
+ /usr/include/atk-1.0/atk/atkobjectfactory.h \
+ /usr/include/atk-1.0/atk/atkrelation.h \
+ /usr/include/atk-1.0/atk/atkrelationset.h \
+ /usr/include/atk-1.0/atk/atkselection.h \
+ /usr/include/atk-1.0/atk/atksocket.h \
+ /usr/include/atk-1.0/atk/atkstateset.h \
+ /usr/include/atk-1.0/atk/atkstreamablecontent.h \
+ /usr/include/atk-1.0/atk/atktable.h \
+ /usr/include/atk-1.0/atk/atktablecell.h \
+ /usr/include/atk-1.0/atk/atkmisc.h /usr/include/atk-1.0/atk/atkvalue.h \
+ /usr/include/atk-1.0/atk/atkwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkaccellabel.h \
+ /usr/include/gtk-2.0/gtk/gtklabel.h /usr/include/gtk-2.0/gtk/gtkmisc.h \
+ /usr/include/gtk-2.0/gtk/gtkmenu.h \
+ /usr/include/gtk-2.0/gtk/gtkmenushell.h \
+ /usr/include/gtk-2.0/gtk/gtkaccelmap.h \
+ /usr/include/gtk-2.0/gtk/gtkaccessible.h \
+ /usr/include/gtk-2.0/gtk/gtkaction.h \
+ /usr/include/gtk-2.0/gtk/gtkactiongroup.h \
+ /usr/include/gtk-2.0/gtk/gtkactivatable.h \
+ /usr/include/gtk-2.0/gtk/gtkalignment.h \
+ /usr/include/gtk-2.0/gtk/gtkarrow.h \
+ /usr/include/gtk-2.0/gtk/gtkaspectframe.h \
+ /usr/include/gtk-2.0/gtk/gtkframe.h \
+ /usr/include/gtk-2.0/gtk/gtkassistant.h \
+ /usr/include/gtk-2.0/gtk/gtkbbox.h /usr/include/gtk-2.0/gtk/gtkbox.h \
+ /usr/include/gtk-2.0/gtk/gtkbindings.h \
+ /usr/include/gtk-2.0/gtk/gtkbuildable.h \
+ /usr/include/gtk-2.0/gtk/gtkbuilder.h \
+ /usr/include/gtk-2.0/gtk/gtkbutton.h /usr/include/gtk-2.0/gtk/gtkimage.h \
+ /usr/include/gtk-2.0/gtk/gtkcalendar.h \
+ /usr/include/gtk-2.0/gtk/gtksignal.h \
+ /usr/include/gtk-2.0/gtk/gtkmarshal.h \
+ /usr/include/gtk-2.0/gtk/gtkcelleditable.h \
+ /usr/include/gtk-2.0/gtk/gtkcelllayout.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderer.h \
+ /usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodel.h \
+ /usr/include/gtk-2.0/gtk/gtktreesortable.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendereraccel.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderertext.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderercombo.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererspin.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrendererspinner.h \
+ /usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h \
+ /usr/include/gtk-2.0/gtk/gtkcellview.h \
+ /usr/include/gtk-2.0/gtk/gtkcheckbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktogglebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkitem.h \
+ /usr/include/gtk-2.0/gtk/gtkclipboard.h \
+ /usr/include/gtk-2.0/gtk/gtkselection.h \
+ /usr/include/gtk-2.0/gtk/gtktextiter.h \
+ /usr/include/gtk-2.0/gtk/gtktexttag.h \
+ /usr/include/gtk-2.0/gtk/gtktextchild.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorsel.h \
+ /usr/include/gtk-2.0/gtk/gtkvbox.h \
+ /usr/include/gtk-2.0/gtk/gtkcolorseldialog.h \
+ /usr/include/gtk-2.0/gtk/gtkcombobox.h \
+ /usr/include/gtk-2.0/gtk/gtktreeview.h /usr/include/gtk-2.0/gtk/gtkdnd.h \
+ /usr/include/gtk-2.0/gtk/gtkentry.h \
+ /usr/include/gtk-2.0/gtk/gtkeditable.h \
+ /usr/include/gtk-2.0/gtk/gtkimcontext.h \
+ /usr/include/gtk-2.0/gtk/gtkentrybuffer.h \
+ /usr/include/gtk-2.0/gtk/gtkentrycompletion.h \
+ /usr/include/gtk-2.0/gtk/gtkliststore.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodelfilter.h \
+ /usr/include/gtk-2.0/gtk/gtkcomboboxentry.h \
+ /usr/include/gtk-2.0/gtk/gtkcomboboxtext.h \
+ /usr/include/gtk-2.0/gtk/gtkdrawingarea.h \
+ /usr/include/gtk-2.0/gtk/gtkeventbox.h \
+ /usr/include/gtk-2.0/gtk/gtkexpander.h \
+ /usr/include/gtk-2.0/gtk/gtkfixed.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooser.h \
+ /usr/include/gtk-2.0/gtk/gtkfilefilter.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkhbox.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkfontbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkfontsel.h /usr/include/gtk-2.0/gtk/gtkgc.h \
+ /usr/include/gtk-2.0/gtk/gtkhandlebox.h \
+ /usr/include/gtk-2.0/gtk/gtkhbbox.h /usr/include/gtk-2.0/gtk/gtkhpaned.h \
+ /usr/include/gtk-2.0/gtk/gtkpaned.h /usr/include/gtk-2.0/gtk/gtkhruler.h \
+ /usr/include/gtk-2.0/gtk/gtkruler.h /usr/include/gtk-2.0/gtk/gtkhscale.h \
+ /usr/include/gtk-2.0/gtk/gtkscale.h /usr/include/gtk-2.0/gtk/gtkrange.h \
+ /usr/include/gtk-2.0/gtk/gtkhscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkhseparator.h \
+ /usr/include/gtk-2.0/gtk/gtkseparator.h \
+ /usr/include/gtk-2.0/gtk/gtkhsv.h \
+ /usr/include/gtk-2.0/gtk/gtkiconfactory.h \
+ /usr/include/gtk-2.0/gtk/gtkicontheme.h \
+ /usr/include/gtk-2.0/gtk/gtkiconview.h \
+ /usr/include/gtk-2.0/gtk/gtktooltip.h \
+ /usr/include/gtk-2.0/gtk/gtkimagemenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkimcontextsimple.h \
+ /usr/include/gtk-2.0/gtk/gtkimmulticontext.h \
+ /usr/include/gtk-2.0/gtk/gtkinfobar.h \
+ /usr/include/gtk-2.0/gtk/gtkinvisible.h \
+ /usr/include/gtk-2.0/gtk/gtklayout.h \
+ /usr/include/gtk-2.0/gtk/gtklinkbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkmain.h /usr/include/gtk-2.0/gtk/gtkmenubar.h \
+ /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoolitem.h \
+ /usr/include/gtk-2.0/gtk/gtktooltips.h \
+ /usr/include/gtk-2.0/gtk/gtksizegroup.h \
+ /usr/include/gtk-2.0/gtk/gtkmessagedialog.h \
+ /usr/include/gtk-2.0/gtk/gtkmodules.h \
+ /usr/include/gtk-2.0/gtk/gtkmountoperation.h \
+ /usr/include/gtk-2.0/gtk/gtknotebook.h \
+ /usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkorientable.h \
+ /usr/include/gtk-2.0/gtk/gtkpagesetup.h \
+ /usr/include/gtk-2.0/gtk/gtkpapersize.h \
+ /usr/include/gtk-2.0/gtk/gtkplug.h /usr/include/gtk-2.0/gtk/gtksocket.h \
+ /usr/include/gtk-2.0/gtk/gtkprintcontext.h \
+ /usr/include/gtk-2.0/gtk/gtkprintoperation.h \
+ /usr/include/gtk-2.0/gtk/gtkprintsettings.h \
+ /usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h \
+ /usr/include/gtk-2.0/gtk/gtkprogressbar.h \
+ /usr/include/gtk-2.0/gtk/gtkprogress.h \
+ /usr/include/gtk-2.0/gtk/gtkradioaction.h \
+ /usr/include/gtk-2.0/gtk/gtktoggleaction.h \
+ /usr/include/gtk-2.0/gtk/gtkradiobutton.h \
+ /usr/include/gtk-2.0/gtk/gtkradiomenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentaction.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentmanager.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooser.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentfilter.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooserdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchoosermenu.h \
+ /usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h \
+ /usr/include/gtk-2.0/gtk/gtkscalebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkscrolledwindow.h \
+ /usr/include/gtk-2.0/gtk/gtkvscrollbar.h \
+ /usr/include/gtk-2.0/gtk/gtkviewport.h \
+ /usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h \
+ /usr/include/gtk-2.0/gtk/gtkshow.h \
+ /usr/include/gtk-2.0/gtk/gtkspinbutton.h \
+ /usr/include/gtk-2.0/gtk/gtkspinner.h \
+ /usr/include/gtk-2.0/gtk/gtkstatusbar.h \
+ /usr/include/gtk-2.0/gtk/gtkstatusicon.h \
+ /usr/include/gtk-2.0/gtk/gtkstock.h /usr/include/gtk-2.0/gtk/gtktable.h \
+ /usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h \
+ /usr/include/gtk-2.0/gtk/gtktextbuffer.h \
+ /usr/include/gtk-2.0/gtk/gtktexttagtable.h \
+ /usr/include/gtk-2.0/gtk/gtktextmark.h \
+ /usr/include/gtk-2.0/gtk/gtktextbufferrichtext.h \
+ /usr/include/gtk-2.0/gtk/gtktextview.h \
+ /usr/include/gtk-2.0/gtk/gtktoolbar.h \
+ /usr/include/gtk-2.0/gtk/gtkpixmap.h \
+ /usr/include/gtk-2.0/gtk/gtktoolitemgroup.h \
+ /usr/include/gtk-2.0/gtk/gtktoolpalette.h \
+ /usr/include/gtk-2.0/gtk/gtktoolshell.h \
+ /usr/include/gtk-2.0/gtk/gtktestutils.h \
+ /usr/include/gtk-2.0/gtk/gtktreednd.h \
+ /usr/include/gtk-2.0/gtk/gtktreemodelsort.h \
+ /usr/include/gtk-2.0/gtk/gtktreeselection.h \
+ /usr/include/gtk-2.0/gtk/gtktreestore.h \
+ /usr/include/gtk-2.0/gtk/gtkuimanager.h \
+ /usr/include/gtk-2.0/gtk/gtkvbbox.h \
+ /usr/include/gtk-2.0/gtk/gtkversion.h \
+ /usr/include/gtk-2.0/gtk/gtkvolumebutton.h \
+ /usr/include/gtk-2.0/gtk/gtkvpaned.h \
+ /usr/include/gtk-2.0/gtk/gtkvruler.h \
+ /usr/include/gtk-2.0/gtk/gtkvscale.h \
+ /usr/include/gtk-2.0/gtk/gtkvseparator.h \
+ /usr/include/gtk-2.0/gtk/gtktext.h /usr/include/gtk-2.0/gtk/gtktree.h \
+ /usr/include/gtk-2.0/gtk/gtktreeitem.h \
+ /usr/include/gtk-2.0/gtk/gtkclist.h /usr/include/gtk-2.0/gtk/gtkcombo.h \
+ /usr/include/gtk-2.0/gtk/gtkctree.h /usr/include/gtk-2.0/gtk/gtkcurve.h \
+ /usr/include/gtk-2.0/gtk/gtkfilesel.h \
+ /usr/include/gtk-2.0/gtk/gtkgamma.h \
+ /usr/include/gtk-2.0/gtk/gtkinputdialog.h \
+ /usr/include/gtk-2.0/gtk/gtkitemfactory.h \
+ /usr/include/gtk-2.0/gtk/gtklist.h \
+ /usr/include/gtk-2.0/gtk/gtklistitem.h \
+ /usr/include/gtk-2.0/gtk/gtkoldeditable.h \
+ /usr/include/gtk-2.0/gtk/gtkoptionmenu.h \
+ /usr/include/gtk-2.0/gtk/gtkpreview.h \
+ /usr/include/gtk-2.0/gtk/gtktipsquery.h src/ags/audio/ags_recall_id.h \
+ src/ags/audio/ags_recycling.h src/ags/audio/ags_audio_signal.h \
+ src/ags/audio/ags_recycling_container.h src/ags/audio/ags_recall.h \
+ src/ags/audio/ags_port.h /usr/include/ladspa.h \
+ src/ags/audio/ags_recall_dependency.h src/ags/audio/ags_notation.h \
+ /usr/include/libxml2/libxml/tree.h \
+ /usr/include/libxml2/libxml/xmlversion.h \
+ /usr/include/libxml2/libxml/xmlexports.h \
+ /usr/include/libxml2/libxml/xmlstring.h \
+ /usr/include/libxml2/libxml/xmlregexp.h \
+ /usr/include/libxml2/libxml/dict.h \
+ /usr/include/libxml2/libxml/xmlmemory.h \
+ /usr/include/libxml2/libxml/threads.h \
+ /usr/include/libxml2/libxml/globals.h \
+ /usr/include/libxml2/libxml/parser.h /usr/include/libxml2/libxml/hash.h \
+ /usr/include/libxml2/libxml/valid.h \
+ /usr/include/libxml2/libxml/xmlerror.h \
+ /usr/include/libxml2/libxml/list.h \
+ /usr/include/libxml2/libxml/xmlautomata.h \
+ /usr/include/libxml2/libxml/entities.h \
+ /usr/include/libxml2/libxml/encoding.h /usr/include/iconv.h \
+ /usr/include/libxml2/libxml/xmlIO.h /usr/include/libxml2/libxml/SAX.h \
+ /usr/include/libxml2/libxml/xlink.h /usr/include/libxml2/libxml/SAX2.h \
+ src/ags/thread/ags_timestamp_thread.h src/ags/audio/ags_timestamp.h \
+ src/ags/audio/ags_note.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_mutable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+src/ags/audio/ags_devout.h:
+
+/usr/include/alsa/asoundlib.h:
+
+/usr/include/unistd.h:
+
+/usr/include/bits/posix_opt.h:
+
+/usr/include/bits/environments.h:
+
+/usr/include/bits/confname.h:
+
+/usr/include/getopt.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/string.h:
+
+/usr/include/bits/string.h:
+
+/usr/include/bits/string2.h:
+
+/usr/include/fcntl.h:
+
+/usr/include/bits/fcntl.h:
+
+/usr/include/bits/fcntl-linux.h:
+
+/usr/include/bits/stat.h:
+
+/usr/include/assert.h:
+
+/usr/include/sys/poll.h:
+
+/usr/include/bits/poll.h:
+
+/usr/include/errno.h:
+
+/usr/include/bits/errno.h:
+
+/usr/include/linux/errno.h:
+
+/usr/include/asm/errno.h:
+
+/usr/include/asm-generic/errno.h:
+
+/usr/include/asm-generic/errno-base.h:
+
+/usr/include/alsa/asoundef.h:
+
+/usr/include/alsa/version.h:
+
+/usr/include/alsa/global.h:
+
+/usr/include/alsa/input.h:
+
+/usr/include/alsa/output.h:
+
+/usr/include/alsa/error.h:
+
+/usr/include/alsa/conf.h:
+
+/usr/include/alsa/pcm.h:
+
+/usr/include/alsa/rawmidi.h:
+
+/usr/include/alsa/timer.h:
+
+/usr/include/alsa/hwdep.h:
+
+/usr/include/alsa/control.h:
+
+/usr/include/alsa/mixer.h:
+
+/usr/include/alsa/seq_event.h:
+
+/usr/include/alsa/seq.h:
+
+/usr/include/alsa/seqmid.h:
+
+/usr/include/alsa/seq_midi_event.h:
+
+src/ags/thread/ags_audio_loop.h:
+
+/usr/include/math.h:
+
+/usr/include/bits/huge_val.h:
+
+/usr/include/bits/huge_valf.h:
+
+/usr/include/bits/huge_vall.h:
+
+/usr/include/bits/inf.h:
+
+/usr/include/bits/nan.h:
+
+/usr/include/bits/mathdef.h:
+
+/usr/include/bits/mathcalls.h:
+
+/usr/include/bits/mathinline.h:
+
+src/ags/thread/ags_thread-posix.h:
+
+src/ags/thread/ags_async_queue.h:
+
+/usr/include/linux/futex.h:
+
+/usr/include/linux/types.h:
+
+/usr/include/asm/types.h:
+
+/usr/include/asm-generic/types.h:
+
+/usr/include/asm-generic/int-ll64.h:
+
+/usr/include/asm/bitsperlong.h:
+
+/usr/include/asm-generic/bitsperlong.h:
+
+/usr/include/linux/posix_types.h:
+
+/usr/include/linux/stddef.h:
+
+/usr/include/asm/posix_types.h:
+
+/usr/include/asm/posix_types_64.h:
+
+/usr/include/asm-generic/posix_types.h:
+
+/usr/include/sys/time.h:
+
+src/ags/object/ags_stackable.h:
+
+src/ags/thread/ags_task_thread.h:
+
+src/ags/thread/ags_thread_pool.h:
+
+src/ags/object/ags_main_loop.h:
+
+src/ags/audio/ags_task.h:
+
+src/ags/thread/ags_devout_thread.h:
+
+src/ags/thread/ags_iterator_thread.h:
+
+src/ags/audio/ags_channel.h:
+
+/usr/include/gtk-2.0/gtk/gtk.h:
+
+/usr/include/gtk-2.0/gdk/gdk.h:
+
+/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:
+
+/usr/include/glib-2.0/gio/gio.h:
+
+/usr/include/glib-2.0/gio/giotypes.h:
+
+/usr/include/glib-2.0/gio/gioenums.h:
+
+/usr/include/glib-2.0/gio/gaction.h:
+
+/usr/include/glib-2.0/gio/gactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactiongroupexporter.h:
+
+/usr/include/glib-2.0/gio/gactionmap.h:
+
+/usr/include/glib-2.0/gio/gappinfo.h:
+
+/usr/include/glib-2.0/gio/gapplication.h:
+
+/usr/include/glib-2.0/gio/gapplicationcommandline.h:
+
+/usr/include/glib-2.0/gio/gasyncinitable.h:
+
+/usr/include/glib-2.0/gio/ginitable.h:
+
+/usr/include/glib-2.0/gio/gasyncresult.h:
+
+/usr/include/glib-2.0/gio/gbufferedinputstream.h:
+
+/usr/include/glib-2.0/gio/gfilterinputstream.h:
+
+/usr/include/glib-2.0/gio/ginputstream.h:
+
+/usr/include/glib-2.0/gio/gbufferedoutputstream.h:
+
+/usr/include/glib-2.0/gio/gfilteroutputstream.h:
+
+/usr/include/glib-2.0/gio/goutputstream.h:
+
+/usr/include/glib-2.0/gio/gbytesicon.h:
+
+/usr/include/glib-2.0/gio/gcancellable.h:
+
+/usr/include/glib-2.0/gio/gcharsetconverter.h:
+
+/usr/include/glib-2.0/gio/gconverter.h:
+
+/usr/include/glib-2.0/gio/gcontenttype.h:
+
+/usr/include/glib-2.0/gio/gconverterinputstream.h:
+
+/usr/include/glib-2.0/gio/gconverteroutputstream.h:
+
+/usr/include/glib-2.0/gio/gcredentials.h:
+
+/usr/include/glib-2.0/gio/gdatainputstream.h:
+
+/usr/include/glib-2.0/gio/gdataoutputstream.h:
+
+/usr/include/glib-2.0/gio/gdbusaddress.h:
+
+/usr/include/glib-2.0/gio/gdbusauthobserver.h:
+
+/usr/include/glib-2.0/gio/gdbusconnection.h:
+
+/usr/include/glib-2.0/gio/gdbuserror.h:
+
+/usr/include/glib-2.0/gio/gdbusintrospection.h:
+
+/usr/include/glib-2.0/gio/gdbusmessage.h:
+
+/usr/include/glib-2.0/gio/gdbusmethodinvocation.h:
+
+/usr/include/glib-2.0/gio/gdbusnameowning.h:
+
+/usr/include/glib-2.0/gio/gdbusnamewatching.h:
+
+/usr/include/glib-2.0/gio/gdbusproxy.h:
+
+/usr/include/glib-2.0/gio/gdbusserver.h:
+
+/usr/include/glib-2.0/gio/gdbusutils.h:
+
+/usr/include/glib-2.0/gio/gdrive.h:
+
+/usr/include/glib-2.0/gio/gemblemedicon.h:
+
+/usr/include/glib-2.0/gio/gicon.h:
+
+/usr/include/glib-2.0/gio/gemblem.h:
+
+/usr/include/glib-2.0/gio/gfileattribute.h:
+
+/usr/include/glib-2.0/gio/gfileenumerator.h:
+
+/usr/include/glib-2.0/gio/gfile.h:
+
+/usr/include/glib-2.0/gio/gfileicon.h:
+
+/usr/include/glib-2.0/gio/gfileinfo.h:
+
+/usr/include/glib-2.0/gio/gfileinputstream.h:
+
+/usr/include/glib-2.0/gio/gfileiostream.h:
+
+/usr/include/glib-2.0/gio/giostream.h:
+
+/usr/include/glib-2.0/gio/gioerror.h:
+
+/usr/include/glib-2.0/gio/gfilemonitor.h:
+
+/usr/include/glib-2.0/gio/gfilenamecompleter.h:
+
+/usr/include/glib-2.0/gio/gfileoutputstream.h:
+
+/usr/include/glib-2.0/gio/ginetaddress.h:
+
+/usr/include/glib-2.0/gio/ginetaddressmask.h:
+
+/usr/include/glib-2.0/gio/ginetsocketaddress.h:
+
+/usr/include/glib-2.0/gio/gsocketaddress.h:
+
+/usr/include/glib-2.0/gio/gioenumtypes.h:
+
+/usr/include/glib-2.0/gio/giomodule.h:
+
+/usr/include/glib-2.0/gmodule.h:
+
+/usr/include/glib-2.0/gio/gioscheduler.h:
+
+/usr/include/glib-2.0/gio/gloadableicon.h:
+
+/usr/include/glib-2.0/gio/gmemoryinputstream.h:
+
+/usr/include/glib-2.0/gio/gmemoryoutputstream.h:
+
+/usr/include/glib-2.0/gio/gmount.h:
+
+/usr/include/glib-2.0/gio/gmountoperation.h:
+
+/usr/include/glib-2.0/gio/gnativevolumemonitor.h:
+
+/usr/include/glib-2.0/gio/gvolumemonitor.h:
+
+/usr/include/glib-2.0/gio/gnetworkaddress.h:
+
+/usr/include/glib-2.0/gio/gnetworkmonitor.h:
+
+/usr/include/glib-2.0/gio/gnetworkservice.h:
+
+/usr/include/glib-2.0/gio/gpermission.h:
+
+/usr/include/glib-2.0/gio/gpollableinputstream.h:
+
+/usr/include/glib-2.0/gio/gpollableoutputstream.h:
+
+/usr/include/glib-2.0/gio/gpollableutils.h:
+
+/usr/include/glib-2.0/gio/gpropertyaction.h:
+
+/usr/include/glib-2.0/gio/gproxy.h:
+
+/usr/include/glib-2.0/gio/gproxyaddress.h:
+
+/usr/include/glib-2.0/gio/gproxyaddressenumerator.h:
+
+/usr/include/glib-2.0/gio/gsocketaddressenumerator.h:
+
+/usr/include/glib-2.0/gio/gproxyresolver.h:
+
+/usr/include/glib-2.0/gio/gresolver.h:
+
+/usr/include/glib-2.0/gio/gresource.h:
+
+/usr/include/glib-2.0/gio/gseekable.h:
+
+/usr/include/glib-2.0/gio/gsettingsschema.h:
+
+/usr/include/glib-2.0/gio/gsettings.h:
+
+/usr/include/glib-2.0/gio/gsimpleaction.h:
+
+/usr/include/glib-2.0/gio/gsimpleactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactiongroup.h:
+
+/usr/include/glib-2.0/gio/gactionmap.h:
+
+/usr/include/glib-2.0/gio/gsimpleasyncresult.h:
+
+/usr/include/glib-2.0/gio/gsimplepermission.h:
+
+/usr/include/glib-2.0/gio/gsocketclient.h:
+
+/usr/include/glib-2.0/gio/gsocketconnectable.h:
+
+/usr/include/glib-2.0/gio/gsocketconnection.h:
+
+/usr/include/glib-2.0/gio/gsocket.h:
+
+/usr/include/glib-2.0/gio/gsocketcontrolmessage.h:
+
+/usr/include/glib-2.0/gio/gsocketlistener.h:
+
+/usr/include/glib-2.0/gio/gsocketservice.h:
+
+/usr/include/glib-2.0/gio/gsrvtarget.h:
+
+/usr/include/glib-2.0/gio/gsimpleproxyresolver.h:
+
+/usr/include/glib-2.0/gio/gtask.h:
+
+/usr/include/glib-2.0/gio/gsubprocess.h:
+
+/usr/include/glib-2.0/gio/gsubprocesslauncher.h:
+
+/usr/include/glib-2.0/gio/gtcpconnection.h:
+
+/usr/include/glib-2.0/gio/gtcpwrapperconnection.h:
+
+/usr/include/glib-2.0/gio/gtestdbus.h:
+
+/usr/include/glib-2.0/gio/gthemedicon.h:
+
+/usr/include/glib-2.0/gio/gthreadedsocketservice.h:
+
+/usr/include/glib-2.0/gio/gtlsbackend.h:
+
+/usr/include/glib-2.0/gio/gtlscertificate.h:
+
+/usr/include/glib-2.0/gio/gtlsclientconnection.h:
+
+/usr/include/glib-2.0/gio/gtlsconnection.h:
+
+/usr/include/glib-2.0/gio/gtlsdatabase.h:
+
+/usr/include/glib-2.0/gio/gtlsfiledatabase.h:
+
+/usr/include/glib-2.0/gio/gtlsinteraction.h:
+
+/usr/include/glib-2.0/gio/gtlsserverconnection.h:
+
+/usr/include/glib-2.0/gio/gtlspassword.h:
+
+/usr/include/glib-2.0/gio/gvfs.h:
+
+/usr/include/glib-2.0/gio/gvolume.h:
+
+/usr/include/glib-2.0/gio/gzlibcompressor.h:
+
+/usr/include/glib-2.0/gio/gzlibdecompressor.h:
+
+/usr/include/glib-2.0/gio/gdbusinterface.h:
+
+/usr/include/glib-2.0/gio/gdbusinterfaceskeleton.h:
+
+/usr/include/glib-2.0/gio/gdbusobject.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectskeleton.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectproxy.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanager.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanagerclient.h:
+
+/usr/include/glib-2.0/gio/gdbusobjectmanagerserver.h:
+
+/usr/include/glib-2.0/gio/gdbusactiongroup.h:
+
+/usr/include/glib-2.0/gio/giotypes.h:
+
+/usr/include/glib-2.0/gio/gremoteactiongroup.h:
+
+/usr/include/glib-2.0/gio/gmenumodel.h:
+
+/usr/include/glib-2.0/gio/gmenu.h:
+
+/usr/include/glib-2.0/gio/gmenuexporter.h:
+
+/usr/include/glib-2.0/gio/gdbusmenumodel.h:
+
+/usr/include/glib-2.0/gio/gnotification.h:
+
+/usr/include/gtk-2.0/gdk/gdkscreen.h:
+
+/usr/include/cairo/cairo.h:
+
+/usr/include/cairo/cairo-version.h:
+
+/usr/include/cairo/cairo-features.h:
+
+/usr/include/cairo/cairo-deprecated.h:
+
+/usr/include/gtk-2.0/gdk/gdktypes.h:
+
+/usr/include/pango-1.0/pango/pango.h:
+
+/usr/include/pango-1.0/pango/pango-attributes.h:
+
+/usr/include/pango-1.0/pango/pango-font.h:
+
+/usr/include/pango-1.0/pango/pango-coverage.h:
+
+/usr/include/pango-1.0/pango/pango-types.h:
+
+/usr/include/pango-1.0/pango/pango-gravity.h:
+
+/usr/include/pango-1.0/pango/pango-matrix.h:
+
+/usr/include/pango-1.0/pango/pango-script.h:
+
+/usr/include/pango-1.0/pango/pango-language.h:
+
+/usr/include/pango-1.0/pango/pango-bidi-type.h:
+
+/usr/include/pango-1.0/pango/pango-break.h:
+
+/usr/include/pango-1.0/pango/pango-item.h:
+
+/usr/include/pango-1.0/pango/pango-context.h:
+
+/usr/include/pango-1.0/pango/pango-fontmap.h:
+
+/usr/include/pango-1.0/pango/pango-fontset.h:
+
+/usr/include/pango-1.0/pango/pango-engine.h:
+
+/usr/include/pango-1.0/pango/pango-glyph.h:
+
+/usr/include/pango-1.0/pango/pango-enum-types.h:
+
+/usr/include/pango-1.0/pango/pango-features.h:
+
+/usr/include/pango-1.0/pango/pango-glyph-item.h:
+
+/usr/include/pango-1.0/pango/pango-layout.h:
+
+/usr/include/pango-1.0/pango/pango-tabs.h:
+
+/usr/include/pango-1.0/pango/pango-renderer.h:
+
+/usr/include/pango-1.0/pango/pango-utils.h:
+
+/usr/lib/gtk-2.0/include/gdkconfig.h:
+
+/usr/include/gtk-2.0/gdk/gdkdisplay.h:
+
+/usr/include/gtk-2.0/gdk/gdkevents.h:
+
+/usr/include/gtk-2.0/gdk/gdkcolor.h:
+
+/usr/include/gtk-2.0/gdk/gdkdnd.h:
+
+/usr/include/gtk-2.0/gdk/gdkinput.h:
+
+/usr/include/gtk-2.0/gdk/gdkcairo.h:
+
+/usr/include/gtk-2.0/gdk/gdkpixbuf.h:
+
+/usr/include/gtk-2.0/gdk/gdkrgb.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:
+
+/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h:
+
+/usr/include/pango-1.0/pango/pangocairo.h:
+
+/usr/include/gtk-2.0/gdk/gdkcursor.h:
+
+/usr/include/gtk-2.0/gdk/gdkdisplaymanager.h:
+
+/usr/include/gtk-2.0/gdk/gdkdrawable.h:
+
+/usr/include/gtk-2.0/gdk/gdkgc.h:
+
+/usr/include/gtk-2.0/gdk/gdkenumtypes.h:
+
+/usr/include/gtk-2.0/gdk/gdkfont.h:
+
+/usr/include/gtk-2.0/gdk/gdkimage.h:
+
+/usr/include/gtk-2.0/gdk/gdkkeys.h:
+
+/usr/include/gtk-2.0/gdk/gdkpango.h:
+
+/usr/include/gtk-2.0/gdk/gdkpixmap.h:
+
+/usr/include/gtk-2.0/gdk/gdkproperty.h:
+
+/usr/include/gtk-2.0/gdk/gdkregion.h:
+
+/usr/include/gtk-2.0/gdk/gdkselection.h:
+
+/usr/include/gtk-2.0/gdk/gdkspawn.h:
+
+/usr/include/gtk-2.0/gdk/gdktestutils.h:
+
+/usr/include/gtk-2.0/gdk/gdkwindow.h:
+
+/usr/include/gtk-2.0/gdk/gdkvisual.h:
+
+/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccelgroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkenums.h:
+
+/usr/include/gtk-2.0/gtk/gtkbin.h:
+
+/usr/include/gtk-2.0/gtk/gtkcontainer.h:
+
+/usr/include/gtk-2.0/gtk/gtkwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkobject.h:
+
+/usr/include/gtk-2.0/gtk/gtktypeutils.h:
+
+/usr/include/gtk-2.0/gtk/gtktypebuiltins.h:
+
+/usr/include/gtk-2.0/gtk/gtkdebug.h:
+
+/usr/include/gtk-2.0/gtk/gtkadjustment.h:
+
+/usr/include/gtk-2.0/gtk/gtkstyle.h:
+
+/usr/include/gtk-2.0/gtk/gtksettings.h:
+
+/usr/include/gtk-2.0/gtk/gtkrc.h:
+
+/usr/include/atk-1.0/atk/atk.h:
+
+/usr/include/atk-1.0/atk/atkobject.h:
+
+/usr/include/atk-1.0/atk/atkversion.h:
+
+/usr/include/atk-1.0/atk/atkstate.h:
+
+/usr/include/atk-1.0/atk/atkrelationtype.h:
+
+/usr/include/atk-1.0/atk/atkaction.h:
+
+/usr/include/atk-1.0/atk/atkcomponent.h:
+
+/usr/include/atk-1.0/atk/atkutil.h:
+
+/usr/include/atk-1.0/atk/atkdocument.h:
+
+/usr/include/atk-1.0/atk/atkeditabletext.h:
+
+/usr/include/atk-1.0/atk/atktext.h:
+
+/usr/include/atk-1.0/atk/atk-enum-types.h:
+
+/usr/include/atk-1.0/atk/atkgobjectaccessible.h:
+
+/usr/include/atk-1.0/atk/atkhyperlink.h:
+
+/usr/include/atk-1.0/atk/atkhyperlinkimpl.h:
+
+/usr/include/atk-1.0/atk/atkhypertext.h:
+
+/usr/include/atk-1.0/atk/atkimage.h:
+
+/usr/include/atk-1.0/atk/atknoopobject.h:
+
+/usr/include/atk-1.0/atk/atknoopobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkplug.h:
+
+/usr/include/atk-1.0/atk/atkrange.h:
+
+/usr/include/atk-1.0/atk/atkregistry.h:
+
+/usr/include/atk-1.0/atk/atkobjectfactory.h:
+
+/usr/include/atk-1.0/atk/atkrelation.h:
+
+/usr/include/atk-1.0/atk/atkrelationset.h:
+
+/usr/include/atk-1.0/atk/atkselection.h:
+
+/usr/include/atk-1.0/atk/atksocket.h:
+
+/usr/include/atk-1.0/atk/atkstateset.h:
+
+/usr/include/atk-1.0/atk/atkstreamablecontent.h:
+
+/usr/include/atk-1.0/atk/atktable.h:
+
+/usr/include/atk-1.0/atk/atktablecell.h:
+
+/usr/include/atk-1.0/atk/atkmisc.h:
+
+/usr/include/atk-1.0/atk/atkvalue.h:
+
+/usr/include/atk-1.0/atk/atkwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccellabel.h:
+
+/usr/include/gtk-2.0/gtk/gtklabel.h:
+
+/usr/include/gtk-2.0/gtk/gtkmisc.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenushell.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccelmap.h:
+
+/usr/include/gtk-2.0/gtk/gtkaccessible.h:
+
+/usr/include/gtk-2.0/gtk/gtkaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkactiongroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkactivatable.h:
+
+/usr/include/gtk-2.0/gtk/gtkalignment.h:
+
+/usr/include/gtk-2.0/gtk/gtkarrow.h:
+
+/usr/include/gtk-2.0/gtk/gtkaspectframe.h:
+
+/usr/include/gtk-2.0/gtk/gtkframe.h:
+
+/usr/include/gtk-2.0/gtk/gtkassistant.h:
+
+/usr/include/gtk-2.0/gtk/gtkbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkbindings.h:
+
+/usr/include/gtk-2.0/gtk/gtkbuildable.h:
+
+/usr/include/gtk-2.0/gtk/gtkbuilder.h:
+
+/usr/include/gtk-2.0/gtk/gtkbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkimage.h:
+
+/usr/include/gtk-2.0/gtk/gtkcalendar.h:
+
+/usr/include/gtk-2.0/gtk/gtksignal.h:
+
+/usr/include/gtk-2.0/gtk/gtkmarshal.h:
+
+/usr/include/gtk-2.0/gtk/gtkcelleditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkcelllayout.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderer.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodel.h:
+
+/usr/include/gtk-2.0/gtk/gtktreesortable.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendereraccel.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderertext.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderercombo.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererspin.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrendererspinner.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h:
+
+/usr/include/gtk-2.0/gtk/gtkcellview.h:
+
+/usr/include/gtk-2.0/gtk/gtkcheckbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktogglebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkclipboard.h:
+
+/usr/include/gtk-2.0/gtk/gtkselection.h:
+
+/usr/include/gtk-2.0/gtk/gtktextiter.h:
+
+/usr/include/gtk-2.0/gtk/gtktexttag.h:
+
+/usr/include/gtk-2.0/gtk/gtktextchild.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorsel.h:
+
+/usr/include/gtk-2.0/gtk/gtkvbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkcolorseldialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkcombobox.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeview.h:
+
+/usr/include/gtk-2.0/gtk/gtkdnd.h:
+
+/usr/include/gtk-2.0/gtk/gtkentry.h:
+
+/usr/include/gtk-2.0/gtk/gtkeditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkimcontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkentrybuffer.h:
+
+/usr/include/gtk-2.0/gtk/gtkentrycompletion.h:
+
+/usr/include/gtk-2.0/gtk/gtkliststore.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodelfilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkcomboboxentry.h:
+
+/usr/include/gtk-2.0/gtk/gtkcomboboxtext.h:
+
+/usr/include/gtk-2.0/gtk/gtkdrawingarea.h:
+
+/usr/include/gtk-2.0/gtk/gtkeventbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkexpander.h:
+
+/usr/include/gtk-2.0/gtk/gtkfixed.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooser.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilefilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkhbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkfontbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkfontsel.h:
+
+/usr/include/gtk-2.0/gtk/gtkgc.h:
+
+/usr/include/gtk-2.0/gtk/gtkhandlebox.h:
+
+/usr/include/gtk-2.0/gtk/gtkhbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkhpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkhruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkhscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkrange.h:
+
+/usr/include/gtk-2.0/gtk/gtkhscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkhseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtkhsv.h:
+
+/usr/include/gtk-2.0/gtk/gtkiconfactory.h:
+
+/usr/include/gtk-2.0/gtk/gtkicontheme.h:
+
+/usr/include/gtk-2.0/gtk/gtkiconview.h:
+
+/usr/include/gtk-2.0/gtk/gtktooltip.h:
+
+/usr/include/gtk-2.0/gtk/gtkimagemenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkimcontextsimple.h:
+
+/usr/include/gtk-2.0/gtk/gtkimmulticontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkinfobar.h:
+
+/usr/include/gtk-2.0/gtk/gtkinvisible.h:
+
+/usr/include/gtk-2.0/gtk/gtklayout.h:
+
+/usr/include/gtk-2.0/gtk/gtklinkbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkmain.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenubar.h:
+
+/usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolitem.h:
+
+/usr/include/gtk-2.0/gtk/gtktooltips.h:
+
+/usr/include/gtk-2.0/gtk/gtksizegroup.h:
+
+/usr/include/gtk-2.0/gtk/gtkmessagedialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkmodules.h:
+
+/usr/include/gtk-2.0/gtk/gtkmountoperation.h:
+
+/usr/include/gtk-2.0/gtk/gtknotebook.h:
+
+/usr/include/gtk-2.0/gtk/gtkoffscreenwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkorientable.h:
+
+/usr/include/gtk-2.0/gtk/gtkpagesetup.h:
+
+/usr/include/gtk-2.0/gtk/gtkpapersize.h:
+
+/usr/include/gtk-2.0/gtk/gtkplug.h:
+
+/usr/include/gtk-2.0/gtk/gtksocket.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintcontext.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintoperation.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintsettings.h:
+
+/usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h:
+
+/usr/include/gtk-2.0/gtk/gtkprogressbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkprogress.h:
+
+/usr/include/gtk-2.0/gtk/gtkradioaction.h:
+
+/usr/include/gtk-2.0/gtk/gtktoggleaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiobutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentaction.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentmanager.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooser.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentfilter.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooserdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchoosermenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h:
+
+/usr/include/gtk-2.0/gtk/gtkscalebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h:
+
+/usr/include/gtk-2.0/gtk/gtkvscrollbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkviewport.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkshow.h:
+
+/usr/include/gtk-2.0/gtk/gtkspinbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkspinner.h:
+
+/usr/include/gtk-2.0/gtk/gtkstatusbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkstatusicon.h:
+
+/usr/include/gtk-2.0/gtk/gtkstock.h:
+
+/usr/include/gtk-2.0/gtk/gtktable.h:
+
+/usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h:
+
+/usr/include/gtk-2.0/gtk/gtktextbuffer.h:
+
+/usr/include/gtk-2.0/gtk/gtktexttagtable.h:
+
+/usr/include/gtk-2.0/gtk/gtktextmark.h:
+
+/usr/include/gtk-2.0/gtk/gtktextbufferrichtext.h:
+
+/usr/include/gtk-2.0/gtk/gtktextview.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolbar.h:
+
+/usr/include/gtk-2.0/gtk/gtkpixmap.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolitemgroup.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolpalette.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolshell.h:
+
+/usr/include/gtk-2.0/gtk/gtktestutils.h:
+
+/usr/include/gtk-2.0/gtk/gtktreednd.h:
+
+/usr/include/gtk-2.0/gtk/gtktreemodelsort.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeselection.h:
+
+/usr/include/gtk-2.0/gtk/gtktreestore.h:
+
+/usr/include/gtk-2.0/gtk/gtkuimanager.h:
+
+/usr/include/gtk-2.0/gtk/gtkvbbox.h:
+
+/usr/include/gtk-2.0/gtk/gtkversion.h:
+
+/usr/include/gtk-2.0/gtk/gtkvolumebutton.h:
+
+/usr/include/gtk-2.0/gtk/gtkvpaned.h:
+
+/usr/include/gtk-2.0/gtk/gtkvruler.h:
+
+/usr/include/gtk-2.0/gtk/gtkvscale.h:
+
+/usr/include/gtk-2.0/gtk/gtkvseparator.h:
+
+/usr/include/gtk-2.0/gtk/gtktext.h:
+
+/usr/include/gtk-2.0/gtk/gtktree.h:
+
+/usr/include/gtk-2.0/gtk/gtktreeitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkclist.h:
+
+/usr/include/gtk-2.0/gtk/gtkcombo.h:
+
+/usr/include/gtk-2.0/gtk/gtkctree.h:
+
+/usr/include/gtk-2.0/gtk/gtkcurve.h:
+
+/usr/include/gtk-2.0/gtk/gtkfilesel.h:
+
+/usr/include/gtk-2.0/gtk/gtkgamma.h:
+
+/usr/include/gtk-2.0/gtk/gtkinputdialog.h:
+
+/usr/include/gtk-2.0/gtk/gtkitemfactory.h:
+
+/usr/include/gtk-2.0/gtk/gtklist.h:
+
+/usr/include/gtk-2.0/gtk/gtklistitem.h:
+
+/usr/include/gtk-2.0/gtk/gtkoldeditable.h:
+
+/usr/include/gtk-2.0/gtk/gtkoptionmenu.h:
+
+/usr/include/gtk-2.0/gtk/gtkpreview.h:
+
+/usr/include/gtk-2.0/gtk/gtktipsquery.h:
+
+src/ags/audio/ags_recall_id.h:
+
+src/ags/audio/ags_recycling.h:
+
+src/ags/audio/ags_audio_signal.h:
+
+src/ags/audio/ags_recycling_container.h:
+
+src/ags/audio/ags_recall.h:
+
+src/ags/audio/ags_port.h:
+
+/usr/include/ladspa.h:
+
+src/ags/audio/ags_recall_dependency.h:
+
+src/ags/audio/ags_notation.h:
+
+/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/libxml2/libxml/xmlversion.h:
+
+/usr/include/libxml2/libxml/xmlexports.h:
+
+/usr/include/libxml2/libxml/xmlstring.h:
+
+/usr/include/libxml2/libxml/xmlregexp.h:
+
+/usr/include/libxml2/libxml/dict.h:
+
+/usr/include/libxml2/libxml/xmlmemory.h:
+
+/usr/include/libxml2/libxml/threads.h:
+
+/usr/include/libxml2/libxml/globals.h:
+
+/usr/include/libxml2/libxml/parser.h:
+
+/usr/include/libxml2/libxml/hash.h:
+
+/usr/include/libxml2/libxml/valid.h:
+
+/usr/include/libxml2/libxml/xmlerror.h:
+
+/usr/include/libxml2/libxml/list.h:
+
+/usr/include/libxml2/libxml/xmlautomata.h:
+
+/usr/include/libxml2/libxml/entities.h:
+
+/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/usr/include/libxml2/libxml/xmlIO.h:
+
+/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/libxml2/libxml/xlink.h:
+
+/usr/include/libxml2/libxml/SAX2.h:
+
+src/ags/thread/ags_timestamp_thread.h:
+
+src/ags/audio/ags_timestamp.h:
+
+src/ags/audio/ags_note.h:
diff --git a/.deps/libags_a-ags_packable.Po b/.deps/libags_a-ags_packable.Po
new file mode 100644
index 0000000..7161f5c
--- /dev/null
+++ b/.deps/libags_a-ags_packable.Po
@@ -0,0 +1,385 @@
+libags_a-ags_packable.o: src/ags/object/ags_packable.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_packable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_packable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
diff --git a/.deps/libags_a-ags_parameter.Po b/.deps/libags_a-ags_parameter.Po
new file mode 100644
index 0000000..ca92b28
--- /dev/null
+++ b/.deps/libags_a-ags_parameter.Po
@@ -0,0 +1,411 @@
+libags_a-ags_parameter.o: src/ags/lib/ags_parameter.c \
+ /usr/include/stdc-predef.h src/ags/lib/ags_parameter.h \
+ /usr/include/glib-2.0/glib.h /usr/include/glib-2.0/glib/galloca.h \
+ /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h /usr/include/stdlib.h \
+ /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
+ /usr/include/alloca.h /usr/include/bits/stdlib-bsearch.h \
+ /usr/include/bits/stdlib-float.h /usr/include/string.h \
+ /usr/include/bits/string.h /usr/include/bits/string2.h \
+ /usr/include/glib-2.0/gobject/gvaluecollector.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/lib/ags_parameter.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/string.h:
+
+/usr/include/bits/string.h:
+
+/usr/include/bits/string2.h:
+
+/usr/include/glib-2.0/gobject/gvaluecollector.h:
diff --git a/.deps/libags_a-ags_persistable.Po b/.deps/libags_a-ags_persistable.Po
new file mode 100644
index 0000000..25713aa
--- /dev/null
+++ b/.deps/libags_a-ags_persistable.Po
@@ -0,0 +1,478 @@
+libags_a-ags_persistable.o: src/ags/object/ags_persistable.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_persistable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h \
+ /usr/include/libxml2/libxml/tree.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/include/libxml2/libxml/xmlversion.h \
+ /usr/include/libxml2/libxml/xmlexports.h \
+ /usr/include/libxml2/libxml/xmlstring.h \
+ /usr/include/libxml2/libxml/xmlregexp.h \
+ /usr/include/libxml2/libxml/dict.h \
+ /usr/include/libxml2/libxml/xmlmemory.h \
+ /usr/include/libxml2/libxml/threads.h \
+ /usr/include/libxml2/libxml/globals.h \
+ /usr/include/libxml2/libxml/parser.h /usr/include/libxml2/libxml/hash.h \
+ /usr/include/libxml2/libxml/valid.h \
+ /usr/include/libxml2/libxml/xmlerror.h \
+ /usr/include/libxml2/libxml/list.h \
+ /usr/include/libxml2/libxml/xmlautomata.h \
+ /usr/include/libxml2/libxml/entities.h \
+ /usr/include/libxml2/libxml/encoding.h /usr/include/iconv.h \
+ /usr/include/libxml2/libxml/xmlIO.h /usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \
+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \
+ /usr/include/bits/stdlib-bsearch.h /usr/include/bits/stdlib-float.h \
+ /usr/include/libxml2/libxml/xlink.h /usr/include/libxml2/libxml/SAX2.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_persistable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/include/libxml2/libxml/xmlversion.h:
+
+/usr/include/libxml2/libxml/xmlexports.h:
+
+/usr/include/libxml2/libxml/xmlstring.h:
+
+/usr/include/libxml2/libxml/xmlregexp.h:
+
+/usr/include/libxml2/libxml/dict.h:
+
+/usr/include/libxml2/libxml/xmlmemory.h:
+
+/usr/include/libxml2/libxml/threads.h:
+
+/usr/include/libxml2/libxml/globals.h:
+
+/usr/include/libxml2/libxml/parser.h:
+
+/usr/include/libxml2/libxml/hash.h:
+
+/usr/include/libxml2/libxml/valid.h:
+
+/usr/include/libxml2/libxml/xmlerror.h:
+
+/usr/include/libxml2/libxml/list.h:
+
+/usr/include/libxml2/libxml/xmlautomata.h:
+
+/usr/include/libxml2/libxml/entities.h:
+
+/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/usr/include/libxml2/libxml/xmlIO.h:
+
+/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/libxml2/libxml/xlink.h:
+
+/usr/include/libxml2/libxml/SAX2.h:
diff --git a/.deps/libags_a-ags_plugin.Po b/.deps/libags_a-ags_plugin.Po
new file mode 100644
index 0000000..82b0ec6
--- /dev/null
+++ b/.deps/libags_a-ags_plugin.Po
@@ -0,0 +1,503 @@
+libags_a-ags_plugin.o: src/ags/object/ags_plugin.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_plugin.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h src/ags/file/ags_file.h \
+ /usr/include/libxml2/libxml/tree.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/include/libxml2/libxml/xmlversion.h \
+ /usr/include/libxml2/libxml/xmlexports.h \
+ /usr/include/libxml2/libxml/xmlstring.h \
+ /usr/include/libxml2/libxml/xmlregexp.h \
+ /usr/include/libxml2/libxml/dict.h \
+ /usr/include/libxml2/libxml/xmlmemory.h \
+ /usr/include/libxml2/libxml/threads.h \
+ /usr/include/libxml2/libxml/globals.h \
+ /usr/include/libxml2/libxml/parser.h /usr/include/libxml2/libxml/hash.h \
+ /usr/include/libxml2/libxml/valid.h \
+ /usr/include/libxml2/libxml/xmlerror.h \
+ /usr/include/libxml2/libxml/list.h \
+ /usr/include/libxml2/libxml/xmlautomata.h \
+ /usr/include/libxml2/libxml/entities.h \
+ /usr/include/libxml2/libxml/encoding.h /usr/include/iconv.h \
+ /usr/include/libxml2/libxml/xmlIO.h /usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \
+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \
+ /usr/include/bits/stdlib-bsearch.h /usr/include/bits/stdlib-float.h \
+ /usr/include/libxml2/libxml/xlink.h /usr/include/libxml2/libxml/SAX2.h \
+ /usr/include/math.h /usr/include/bits/huge_val.h \
+ /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \
+ /usr/include/bits/inf.h /usr/include/bits/nan.h \
+ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \
+ /usr/include/bits/mathinline.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_plugin.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+src/ags/file/ags_file.h:
+
+/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/include/libxml2/libxml/xmlversion.h:
+
+/usr/include/libxml2/libxml/xmlexports.h:
+
+/usr/include/libxml2/libxml/xmlstring.h:
+
+/usr/include/libxml2/libxml/xmlregexp.h:
+
+/usr/include/libxml2/libxml/dict.h:
+
+/usr/include/libxml2/libxml/xmlmemory.h:
+
+/usr/include/libxml2/libxml/threads.h:
+
+/usr/include/libxml2/libxml/globals.h:
+
+/usr/include/libxml2/libxml/parser.h:
+
+/usr/include/libxml2/libxml/hash.h:
+
+/usr/include/libxml2/libxml/valid.h:
+
+/usr/include/libxml2/libxml/xmlerror.h:
+
+/usr/include/libxml2/libxml/list.h:
+
+/usr/include/libxml2/libxml/xmlautomata.h:
+
+/usr/include/libxml2/libxml/entities.h:
+
+/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/usr/include/libxml2/libxml/xmlIO.h:
+
+/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/libxml2/libxml/xlink.h:
+
+/usr/include/libxml2/libxml/SAX2.h:
+
+/usr/include/math.h:
+
+/usr/include/bits/huge_val.h:
+
+/usr/include/bits/huge_valf.h:
+
+/usr/include/bits/huge_vall.h:
+
+/usr/include/bits/inf.h:
+
+/usr/include/bits/nan.h:
+
+/usr/include/bits/mathdef.h:
+
+/usr/include/bits/mathcalls.h:
+
+/usr/include/bits/mathinline.h:
diff --git a/.deps/libags_a-ags_portlet.Po b/.deps/libags_a-ags_portlet.Po
new file mode 100644
index 0000000..a9c6db5
--- /dev/null
+++ b/.deps/libags_a-ags_portlet.Po
@@ -0,0 +1,407 @@
+libags_a-ags_portlet.o: src/ags/object/ags_portlet.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_portlet.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h src/ags/audio/ags_port.h \
+ /usr/include/ladspa.h /usr/include/stdio.h /usr/include/libio.h \
+ /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_portlet.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+src/ags/audio/ags_port.h:
+
+/usr/include/ladspa.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
diff --git a/.deps/libags_a-ags_runnable.Po b/.deps/libags_a-ags_runnable.Po
new file mode 100644
index 0000000..900c955
--- /dev/null
+++ b/.deps/libags_a-ags_runnable.Po
@@ -0,0 +1,402 @@
+libags_a-ags_runnable.o: src/ags/object/ags_runnable.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_runnable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_runnable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
diff --git a/.deps/libags_a-ags_seekable.Po b/.deps/libags_a-ags_seekable.Po
new file mode 100644
index 0000000..5e5675d
--- /dev/null
+++ b/.deps/libags_a-ags_seekable.Po
@@ -0,0 +1,385 @@
+libags_a-ags_seekable.o: src/ags/object/ags_seekable.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_seekable.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_seekable.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
diff --git a/.deps/libags_a-ags_soundcard.Po b/.deps/libags_a-ags_soundcard.Po
new file mode 100644
index 0000000..30265f7
--- /dev/null
+++ b/.deps/libags_a-ags_soundcard.Po
@@ -0,0 +1,503 @@
+libags_a-ags_soundcard.o: src/ags/object/ags_soundcard.c \
+ /usr/include/stdc-predef.h src/ags/object/ags_soundcard.h \
+ /usr/include/glib-2.0/glib-object.h \
+ /usr/include/glib-2.0/gobject/gbinding.h /usr/include/glib-2.0/glib.h \
+ /usr/include/glib-2.0/glib/galloca.h /usr/include/glib-2.0/glib/gtypes.h \
+ /usr/lib/glib-2.0/include/glibconfig.h \
+ /usr/include/glib-2.0/glib/gmacros.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h \
+ /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
+ /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
+ /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \
+ /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
+ /usr/include/bits/posix2_lim.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h \
+ /usr/include/glib-2.0/glib/gversionmacros.h /usr/include/time.h \
+ /usr/include/bits/time.h /usr/include/bits/types.h \
+ /usr/include/bits/typesizes.h /usr/include/xlocale.h \
+ /usr/include/glib-2.0/glib/garray.h \
+ /usr/include/glib-2.0/glib/gasyncqueue.h \
+ /usr/include/glib-2.0/glib/gthread.h \
+ /usr/include/glib-2.0/glib/gatomic.h /usr/include/glib-2.0/glib/gerror.h \
+ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
+ /usr/include/glib-2.0/glib/gquark.h \
+ /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \
+ /usr/include/bits/sigset.h /usr/include/bits/signum.h \
+ /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
+ /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
+ /usr/include/sys/ucontext.h /usr/include/bits/pthreadtypes.h \
+ /usr/include/bits/sigthread.h /usr/include/glib-2.0/glib/gbase64.h \
+ /usr/include/glib-2.0/glib/gbitlock.h \
+ /usr/include/glib-2.0/glib/gbookmarkfile.h \
+ /usr/include/glib-2.0/glib/gbytes.h \
+ /usr/include/glib-2.0/glib/gcharset.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/gconvert.h \
+ /usr/include/glib-2.0/glib/gdataset.h /usr/include/glib-2.0/glib/gdate.h \
+ /usr/include/glib-2.0/glib/gdatetime.h \
+ /usr/include/glib-2.0/glib/gtimezone.h /usr/include/glib-2.0/glib/gdir.h \
+ /usr/include/dirent.h /usr/include/bits/dirent.h \
+ /usr/include/glib-2.0/glib/genviron.h \
+ /usr/include/glib-2.0/glib/gfileutils.h \
+ /usr/include/glib-2.0/glib/ggettext.h /usr/include/glib-2.0/glib/ghash.h \
+ /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \
+ /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/ghmac.h \
+ /usr/include/glib-2.0/glib/gchecksum.h \
+ /usr/include/glib-2.0/glib/ghook.h \
+ /usr/include/glib-2.0/glib/ghostutils.h \
+ /usr/include/glib-2.0/glib/giochannel.h \
+ /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gpoll.h \
+ /usr/include/glib-2.0/glib/gslist.h /usr/include/glib-2.0/glib/gstring.h \
+ /usr/include/glib-2.0/glib/gunicode.h \
+ /usr/include/glib-2.0/glib/gutils.h \
+ /usr/include/glib-2.0/glib/gkeyfile.h \
+ /usr/include/glib-2.0/glib/gmappedfile.h \
+ /usr/include/glib-2.0/glib/gmarkup.h \
+ /usr/include/glib-2.0/glib/gmessages.h \
+ /usr/include/glib-2.0/glib/goption.h \
+ /usr/include/glib-2.0/glib/gpattern.h \
+ /usr/include/glib-2.0/glib/gprimes.h /usr/include/glib-2.0/glib/gqsort.h \
+ /usr/include/glib-2.0/glib/gqueue.h /usr/include/glib-2.0/glib/grand.h \
+ /usr/include/glib-2.0/glib/gregex.h \
+ /usr/include/glib-2.0/glib/gscanner.h \
+ /usr/include/glib-2.0/glib/gsequence.h \
+ /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gslice.h \
+ /usr/include/glib-2.0/glib/gspawn.h \
+ /usr/include/glib-2.0/glib/gstrfuncs.h \
+ /usr/include/glib-2.0/glib/gstringchunk.h \
+ /usr/include/glib-2.0/glib/gtestutils.h \
+ /usr/include/glib-2.0/glib/gthreadpool.h \
+ /usr/include/glib-2.0/glib/gtimer.h \
+ /usr/include/glib-2.0/glib/gtrashstack.h \
+ /usr/include/glib-2.0/glib/gtree.h \
+ /usr/include/glib-2.0/glib/gurifuncs.h \
+ /usr/include/glib-2.0/glib/gvarianttype.h \
+ /usr/include/glib-2.0/glib/gvariant.h \
+ /usr/include/glib-2.0/glib/gversion.h \
+ /usr/include/glib-2.0/glib/deprecated/gallocator.h \
+ /usr/include/glib-2.0/glib/deprecated/gcache.h \
+ /usr/include/glib-2.0/glib/deprecated/gcompletion.h \
+ /usr/include/glib-2.0/glib/deprecated/gmain.h \
+ /usr/include/glib-2.0/glib/deprecated/grel.h \
+ /usr/include/glib-2.0/glib/deprecated/gthread.h /usr/include/sys/types.h \
+ /usr/include/endian.h /usr/include/bits/endian.h \
+ /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h \
+ /usr/include/sys/select.h /usr/include/bits/select.h \
+ /usr/include/sys/sysmacros.h /usr/include/pthread.h /usr/include/sched.h \
+ /usr/include/bits/sched.h /usr/include/bits/setjmp.h \
+ /usr/include/glib-2.0/gobject/gobject.h \
+ /usr/include/glib-2.0/gobject/gtype.h \
+ /usr/include/glib-2.0/gobject/gvalue.h \
+ /usr/include/glib-2.0/gobject/gparam.h \
+ /usr/include/glib-2.0/gobject/gclosure.h \
+ /usr/include/glib-2.0/gobject/gsignal.h \
+ /usr/include/glib-2.0/gobject/gmarshal.h \
+ /usr/include/glib-2.0/gobject/gboxed.h \
+ /usr/include/glib-2.0/gobject/glib-types.h \
+ /usr/include/glib-2.0/gobject/genums.h \
+ /usr/include/glib-2.0/gobject/gparamspecs.h \
+ /usr/include/glib-2.0/gobject/gsourceclosure.h \
+ /usr/include/glib-2.0/gobject/gtypemodule.h \
+ /usr/include/glib-2.0/gobject/gtypeplugin.h \
+ /usr/include/glib-2.0/gobject/gvaluearray.h \
+ /usr/include/glib-2.0/gobject/gvaluetypes.h src/ags/file/ags_file.h \
+ /usr/include/libxml2/libxml/tree.h /usr/include/stdio.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h /usr/include/libxml2/libxml/xmlversion.h \
+ /usr/include/libxml2/libxml/xmlexports.h \
+ /usr/include/libxml2/libxml/xmlstring.h \
+ /usr/include/libxml2/libxml/xmlregexp.h \
+ /usr/include/libxml2/libxml/dict.h \
+ /usr/include/libxml2/libxml/xmlmemory.h \
+ /usr/include/libxml2/libxml/threads.h \
+ /usr/include/libxml2/libxml/globals.h \
+ /usr/include/libxml2/libxml/parser.h /usr/include/libxml2/libxml/hash.h \
+ /usr/include/libxml2/libxml/valid.h \
+ /usr/include/libxml2/libxml/xmlerror.h \
+ /usr/include/libxml2/libxml/list.h \
+ /usr/include/libxml2/libxml/xmlautomata.h \
+ /usr/include/libxml2/libxml/entities.h \
+ /usr/include/libxml2/libxml/encoding.h /usr/include/iconv.h \
+ /usr/include/libxml2/libxml/xmlIO.h /usr/include/libxml2/libxml/SAX.h \
+ /usr/include/stdlib.h /usr/include/bits/waitflags.h \
+ /usr/include/bits/waitstatus.h /usr/include/alloca.h \
+ /usr/include/bits/stdlib-bsearch.h /usr/include/bits/stdlib-float.h \
+ /usr/include/libxml2/libxml/xlink.h /usr/include/libxml2/libxml/SAX2.h \
+ /usr/include/math.h /usr/include/bits/huge_val.h \
+ /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \
+ /usr/include/bits/inf.h /usr/include/bits/nan.h \
+ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \
+ /usr/include/bits/mathinline.h
+
+/usr/include/stdc-predef.h:
+
+src/ags/object/ags_soundcard.h:
+
+/usr/include/glib-2.0/glib-object.h:
+
+/usr/include/glib-2.0/gobject/gbinding.h:
+
+/usr/include/glib-2.0/glib.h:
+
+/usr/include/glib-2.0/glib/galloca.h:
+
+/usr/include/glib-2.0/glib/gtypes.h:
+
+/usr/lib/glib-2.0/include/glibconfig.h:
+
+/usr/include/glib-2.0/glib/gmacros.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stddef.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/limits.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include-fixed/syslimits.h:
+
+/usr/include/limits.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-64.h:
+
+/usr/include/bits/posix1_lim.h:
+
+/usr/include/bits/local_lim.h:
+
+/usr/include/linux/limits.h:
+
+/usr/include/bits/posix2_lim.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/float.h:
+
+/usr/include/glib-2.0/glib/gversionmacros.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/xlocale.h:
+
+/usr/include/glib-2.0/glib/garray.h:
+
+/usr/include/glib-2.0/glib/gasyncqueue.h:
+
+/usr/include/glib-2.0/glib/gthread.h:
+
+/usr/include/glib-2.0/glib/gatomic.h:
+
+/usr/include/glib-2.0/glib/gerror.h:
+
+/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h:
+
+/usr/include/glib-2.0/glib/gquark.h:
+
+/usr/include/glib-2.0/glib/gbacktrace.h:
+
+/usr/include/signal.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/signum.h:
+
+/usr/include/bits/siginfo.h:
+
+/usr/include/bits/sigaction.h:
+
+/usr/include/bits/sigcontext.h:
+
+/usr/include/bits/sigstack.h:
+
+/usr/include/sys/ucontext.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/usr/include/bits/sigthread.h:
+
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbitlock.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/glib-2.0/glib/gbytes.h:
+
+/usr/include/glib-2.0/glib/gcharset.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/gconvert.h:
+
+/usr/include/glib-2.0/glib/gdataset.h:
+
+/usr/include/glib-2.0/glib/gdate.h:
+
+/usr/include/glib-2.0/glib/gdatetime.h:
+
+/usr/include/glib-2.0/glib/gtimezone.h:
+
+/usr/include/glib-2.0/glib/gdir.h:
+
+/usr/include/dirent.h:
+
+/usr/include/bits/dirent.h:
+
+/usr/include/glib-2.0/glib/genviron.h:
+
+/usr/include/glib-2.0/glib/gfileutils.h:
+
+/usr/include/glib-2.0/glib/ggettext.h:
+
+/usr/include/glib-2.0/glib/ghash.h:
+
+/usr/include/glib-2.0/glib/glist.h:
+
+/usr/include/glib-2.0/glib/gmem.h:
+
+/usr/include/glib-2.0/glib/gnode.h:
+
+/usr/include/glib-2.0/glib/ghmac.h:
+
+/usr/include/glib-2.0/glib/gchecksum.h:
+
+/usr/include/glib-2.0/glib/ghook.h:
+
+/usr/include/glib-2.0/glib/ghostutils.h:
+
+/usr/include/glib-2.0/glib/giochannel.h:
+
+/usr/include/glib-2.0/glib/gmain.h:
+
+/usr/include/glib-2.0/glib/gpoll.h:
+
+/usr/include/glib-2.0/glib/gslist.h:
+
+/usr/include/glib-2.0/glib/gstring.h:
+
+/usr/include/glib-2.0/glib/gunicode.h:
+
+/usr/include/glib-2.0/glib/gutils.h:
+
+/usr/include/glib-2.0/glib/gkeyfile.h:
+
+/usr/include/glib-2.0/glib/gmappedfile.h:
+
+/usr/include/glib-2.0/glib/gmarkup.h:
+
+/usr/include/glib-2.0/glib/gmessages.h:
+
+/usr/include/glib-2.0/glib/goption.h:
+
+/usr/include/glib-2.0/glib/gpattern.h:
+
+/usr/include/glib-2.0/glib/gprimes.h:
+
+/usr/include/glib-2.0/glib/gqsort.h:
+
+/usr/include/glib-2.0/glib/gqueue.h:
+
+/usr/include/glib-2.0/glib/grand.h:
+
+/usr/include/glib-2.0/glib/gregex.h:
+
+/usr/include/glib-2.0/glib/gscanner.h:
+
+/usr/include/glib-2.0/glib/gsequence.h:
+
+/usr/include/glib-2.0/glib/gshell.h:
+
+/usr/include/glib-2.0/glib/gslice.h:
+
+/usr/include/glib-2.0/glib/gspawn.h:
+
+/usr/include/glib-2.0/glib/gstrfuncs.h:
+
+/usr/include/glib-2.0/glib/gstringchunk.h:
+
+/usr/include/glib-2.0/glib/gtestutils.h:
+
+/usr/include/glib-2.0/glib/gthreadpool.h:
+
+/usr/include/glib-2.0/glib/gtimer.h:
+
+/usr/include/glib-2.0/glib/gtrashstack.h:
+
+/usr/include/glib-2.0/glib/gtree.h:
+
+/usr/include/glib-2.0/glib/gurifuncs.h:
+
+/usr/include/glib-2.0/glib/gvarianttype.h:
+
+/usr/include/glib-2.0/glib/gvariant.h:
+
+/usr/include/glib-2.0/glib/gversion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gallocator.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcache.h:
+
+/usr/include/glib-2.0/glib/deprecated/gcompletion.h:
+
+/usr/include/glib-2.0/glib/deprecated/gmain.h:
+
+/usr/include/glib-2.0/glib/deprecated/grel.h:
+
+/usr/include/glib-2.0/glib/deprecated/gthread.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/bits/byteswap.h:
+
+/usr/include/bits/byteswap-16.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/pthread.h:
+
+/usr/include/sched.h:
+
+/usr/include/bits/sched.h:
+
+/usr/include/bits/setjmp.h:
+
+/usr/include/glib-2.0/gobject/gobject.h:
+
+/usr/include/glib-2.0/gobject/gtype.h:
+
+/usr/include/glib-2.0/gobject/gvalue.h:
+
+/usr/include/glib-2.0/gobject/gparam.h:
+
+/usr/include/glib-2.0/gobject/gclosure.h:
+
+/usr/include/glib-2.0/gobject/gsignal.h:
+
+/usr/include/glib-2.0/gobject/gmarshal.h:
+
+/usr/include/glib-2.0/gobject/gboxed.h:
+
+/usr/include/glib-2.0/gobject/glib-types.h:
+
+/usr/include/glib-2.0/gobject/genums.h:
+
+/usr/include/glib-2.0/gobject/gparamspecs.h:
+
+/usr/include/glib-2.0/gobject/gsourceclosure.h:
+
+/usr/include/glib-2.0/gobject/gtypemodule.h:
+
+/usr/include/glib-2.0/gobject/gtypeplugin.h:
+
+/usr/include/glib-2.0/gobject/gvaluearray.h:
+
+/usr/include/glib-2.0/gobject/gvaluetypes.h:
+
+src/ags/file/ags_file.h:
+
+/usr/include/libxml2/libxml/tree.h:
+
+/usr/include/stdio.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/usr/include/libxml2/libxml/xmlversion.h:
+
+/usr/include/libxml2/libxml/xmlexports.h:
+
+/usr/include/libxml2/libxml/xmlstring.h:
+
+/usr/include/libxml2/libxml/xmlregexp.h:
+
+/usr/include/libxml2/libxml/dict.h:
+
+/usr/include/libxml2/libxml/xmlmemory.h:
+
+/usr/include/libxml2/libxml/threads.h:
+
+/usr/include/libxml2/libxml/globals.h:
+
+/usr/include/libxml2/libxml/parser.h:
+
+/usr/include/libxml2/libxml/hash.h:
+
+/usr/include/libxml2/libxml/valid.h:
+
+/usr/include/libxml2/libxml/xmlerror.h:
+
+/usr/include/libxml2/libxml/list.h:
+
+/usr/include/libxml2/libxml/xmlautomata.h:
+
+/usr/include/libxml2/libxml/entities.h:
+
+/usr/include/libxml2/libxml/encoding.h:
+
+/usr/include/iconv.h:
+
+/usr/include/libxml2/libxml/xmlIO.h:
+
+/usr/include/libxml2/libxml/SAX.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/bits/waitflags.h:
+
+/usr/include/bits/waitstatus.h:
+
+/usr/include/alloca.h:
+
+/usr/include/bits/stdlib-bsearch.h:
+
+/usr/include/bits/stdlib-float.h:
+
+/usr/include/libxml2/libxml/xlink.h:
+
+/usr/include/libxml2/libxml/SAX2.h:
+
+/usr/include/math.h:
+
+/usr/include/bits/huge_val.h:
+
+/usr/include/bits/huge_valf.h:
+
+/usr/include/bits/huge_vall.h:
+
+/usr/include/bits/inf.h:
+
+/usr/include/bits/nan.h:
+
+/usr/include/bits/mathdef.h:
+
+/usr/include/bits/mathcalls.h:
+
+/usr/include/bits/mathinline.h:
diff --git a/.deps/libags_a-ags_stackable.Po b/.deps/libags_a-ags_stackable.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_a-ags_stackable.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_a-ags_tactable.Po b/.deps/libags_a-ags_tactable.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_a-ags_tactable.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_a-ags_tree_iterator.Po b/.deps/libags_a-ags_tree_iterator.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_a-ags_tree_iterator.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_acceleration.Po b/.deps/libags_audio_a-ags_acceleration.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_acceleration.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_add_audio.Po b/.deps/libags_audio_a-ags_add_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_add_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_add_audio_signal.Po b/.deps/libags_audio_a-ags_add_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_add_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_add_note.Po b/.deps/libags_audio_a-ags_add_note.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_add_note.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_add_recall.Po b/.deps/libags_audio_a-ags_add_recall.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_add_recall.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_add_recall_container.Po b/.deps/libags_audio_a-ags_add_recall_container.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_add_recall_container.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_amplifier.Po b/.deps/libags_audio_a-ags_amplifier.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_amplifier.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_append_audio.Po b/.deps/libags_audio_a-ags_append_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_append_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_append_audio_threaded.Po b/.deps/libags_audio_a-ags_append_audio_threaded.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_append_audio_threaded.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_append_channel.Po b/.deps/libags_audio_a-ags_append_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_append_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_append_recall.Po b/.deps/libags_audio_a-ags_append_recall.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_append_recall.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_apply_bpm.Po b/.deps/libags_audio_a-ags_apply_bpm.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_apply_bpm.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_apply_sequencer_length.Po b/.deps/libags_audio_a-ags_apply_sequencer_length.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_apply_sequencer_length.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_apply_synth.Po b/.deps/libags_audio_a-ags_apply_synth.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_apply_synth.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_apply_tact.Po b/.deps/libags_audio_a-ags_apply_tact.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_apply_tact.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_audio.Po b/.deps/libags_audio_a-ags_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_audio_file.Po b/.deps/libags_audio_a-ags_audio_file.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_audio_file.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_audio_file_xml.Po b/.deps/libags_audio_a-ags_audio_file_xml.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_audio_file_xml.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_audio_set_recycling.Po b/.deps/libags_audio_a-ags_audio_set_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_audio_set_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_audio_signal.Po b/.deps/libags_audio_a-ags_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_automation.Po b/.deps/libags_audio_a-ags_automation.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_automation.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_buffer_audio_signal.Po b/.deps/libags_audio_a-ags_buffer_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_buffer_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_buffer_channel.Po b/.deps/libags_audio_a-ags_buffer_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_buffer_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_buffer_channel_run.Po b/.deps/libags_audio_a-ags_buffer_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_buffer_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_buffer_recycling.Po b/.deps/libags_audio_a-ags_buffer_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_buffer_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_cancel_audio.Po b/.deps/libags_audio_a-ags_cancel_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_cancel_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_cancel_channel.Po b/.deps/libags_audio_a-ags_cancel_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_cancel_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_cancel_recall.Po b/.deps/libags_audio_a-ags_cancel_recall.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_cancel_recall.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_channel.Po b/.deps/libags_audio_a-ags_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_channel_iter.Po b/.deps/libags_audio_a-ags_channel_iter.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_channel_iter.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_channel_set_recycling.Po b/.deps/libags_audio_a-ags_channel_set_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_channel_set_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_clone_channel.Po b/.deps/libags_audio_a-ags_clone_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_clone_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_clone_channel_run.Po b/.deps/libags_audio_a-ags_clone_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_clone_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_config.Po b/.deps/libags_audio_a-ags_config.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_config.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_audio_signal.Po b/.deps/libags_audio_a-ags_copy_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_channel.Po b/.deps/libags_audio_a-ags_copy_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_channel_run.Po b/.deps/libags_audio_a-ags_copy_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_notation_audio.Po b/.deps/libags_audio_a-ags_copy_notation_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_notation_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_notation_audio_run.Po b/.deps/libags_audio_a-ags_copy_notation_audio_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_notation_audio_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_pattern_audio.Po b/.deps/libags_audio_a-ags_copy_pattern_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_pattern_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_pattern_audio_run.Po b/.deps/libags_audio_a-ags_copy_pattern_audio_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_pattern_audio_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_pattern_channel.Po b/.deps/libags_audio_a-ags_copy_pattern_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_pattern_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_pattern_channel_run.Po b/.deps/libags_audio_a-ags_copy_pattern_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_pattern_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_copy_recycling.Po b/.deps/libags_audio_a-ags_copy_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_copy_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_count_beats_audio.Po b/.deps/libags_audio_a-ags_count_beats_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_count_beats_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_count_beats_audio_run.Po b/.deps/libags_audio_a-ags_count_beats_audio_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_count_beats_audio_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_delay_audio.Po b/.deps/libags_audio_a-ags_delay_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_delay_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_delay_audio_run.Po b/.deps/libags_audio_a-ags_delay_audio_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_delay_audio_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_devout.Po b/.deps/libags_audio_a-ags_devout.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_devout.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_echo.Po b/.deps/libags_audio_a-ags_echo.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_echo.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_export_output.Po b/.deps/libags_audio_a-ags_export_output.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_export_output.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_garbage_collector.Po b/.deps/libags_audio_a-ags_garbage_collector.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_garbage_collector.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_init_audio.Po b/.deps/libags_audio_a-ags_init_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_init_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_init_channel.Po b/.deps/libags_audio_a-ags_init_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_init_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_input.Po b/.deps/libags_audio_a-ags_input.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_input.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_ipatch.Po b/.deps/libags_audio_a-ags_ipatch.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_ipatch.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_ipatch_sf2_reader.Po b/.deps/libags_audio_a-ags_ipatch_sf2_reader.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_ipatch_sf2_reader.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_ladspa_manager.Po b/.deps/libags_audio_a-ags_ladspa_manager.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_ladspa_manager.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_libao.Po b/.deps/libags_audio_a-ags_libao.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_libao.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_link_channel.Po b/.deps/libags_audio_a-ags_link_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_link_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_loop_channel.Po b/.deps/libags_audio_a-ags_loop_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_loop_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_loop_channel_run.Po b/.deps/libags_audio_a-ags_loop_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_loop_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_mute_audio.Po b/.deps/libags_audio_a-ags_mute_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_mute_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_mute_audio_signal.Po b/.deps/libags_audio_a-ags_mute_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_mute_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_mute_channel.Po b/.deps/libags_audio_a-ags_mute_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_mute_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_mute_channel_run.Po b/.deps/libags_audio_a-ags_mute_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_mute_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_mute_recycling.Po b/.deps/libags_audio_a-ags_mute_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_mute_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_notation.Po b/.deps/libags_audio_a-ags_notation.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_notation.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_note.Po b/.deps/libags_audio_a-ags_note.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_note.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_open_file.Po b/.deps/libags_audio_a-ags_open_file.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_open_file.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_open_single_file.Po b/.deps/libags_audio_a-ags_open_single_file.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_open_single_file.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_output.Po b/.deps/libags_audio_a-ags_output.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_output.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_pattern.Po b/.deps/libags_audio_a-ags_pattern.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_pattern.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_peak_channel.Po b/.deps/libags_audio_a-ags_peak_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_peak_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_peak_channel_run.Po b/.deps/libags_audio_a-ags_peak_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_peak_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_audio.Po b/.deps/libags_audio_a-ags_play_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_audio_file.Po b/.deps/libags_audio_a-ags_play_audio_file.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_audio_file.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_audio_signal.Po b/.deps/libags_audio_a-ags_play_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_channel.Po b/.deps/libags_audio_a-ags_play_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_channel_run.Po b/.deps/libags_audio_a-ags_play_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_channel_run_master.Po b/.deps/libags_audio_a-ags_play_channel_run_master.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_channel_run_master.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_notation_audio.Po b/.deps/libags_audio_a-ags_play_notation_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_notation_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_notation_audio_run.Po b/.deps/libags_audio_a-ags_play_notation_audio_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_notation_audio_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_note.Po b/.deps/libags_audio_a-ags_play_note.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_note.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_pattern.Po b/.deps/libags_audio_a-ags_play_pattern.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_pattern.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_play_recycling.Po b/.deps/libags_audio_a-ags_play_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_play_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_playable.Po b/.deps/libags_audio_a-ags_playable.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_playable.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_plugin_factory.Po b/.deps/libags_audio_a-ags_plugin_factory.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_plugin_factory.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_port.Po b/.deps/libags_audio_a-ags_port.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_port.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall.Po b/.deps/libags_audio_a-ags_recall.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_audio.Po b/.deps/libags_audio_a-ags_recall_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_audio_run.Po b/.deps/libags_audio_a-ags_recall_audio_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_audio_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_audio_signal.Po b/.deps/libags_audio_a-ags_recall_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_channel.Po b/.deps/libags_audio_a-ags_recall_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_channel_run.Po b/.deps/libags_audio_a-ags_recall_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_channel_run_dummy.Po b/.deps/libags_audio_a-ags_recall_channel_run_dummy.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_channel_run_dummy.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_container.Po b/.deps/libags_audio_a-ags_recall_container.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_container.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_dependency.Po b/.deps/libags_audio_a-ags_recall_dependency.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_dependency.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_factory.Po b/.deps/libags_audio_a-ags_recall_factory.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_factory.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_id.Po b/.deps/libags_audio_a-ags_recall_id.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_id.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_ladspa.Po b/.deps/libags_audio_a-ags_recall_ladspa.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_ladspa.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_ladspa_run.Po b/.deps/libags_audio_a-ags_recall_ladspa_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_ladspa_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_recycling.Po b/.deps/libags_audio_a-ags_recall_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recall_recycling_dummy.Po b/.deps/libags_audio_a-ags_recall_recycling_dummy.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recall_recycling_dummy.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recycling.Po b/.deps/libags_audio_a-ags_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_recycling_container.Po b/.deps/libags_audio_a-ags_recycling_container.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_recycling_container.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_remove_audio.Po b/.deps/libags_audio_a-ags_remove_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_remove_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_remove_audio_signal.Po b/.deps/libags_audio_a-ags_remove_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_remove_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_remove_note.Po b/.deps/libags_audio_a-ags_remove_note.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_remove_note.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_remove_recall.Po b/.deps/libags_audio_a-ags_remove_recall.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_remove_recall.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_remove_recall_container.Po b/.deps/libags_audio_a-ags_remove_recall_container.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_remove_recall_container.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_remove_region_from_selection.Po b/.deps/libags_audio_a-ags_remove_region_from_selection.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_remove_region_from_selection.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_resize_audio.Po b/.deps/libags_audio_a-ags_resize_audio.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_resize_audio.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_set_audio_channels.Po b/.deps/libags_audio_a-ags_set_audio_channels.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_set_audio_channels.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_set_buffer_size.Po b/.deps/libags_audio_a-ags_set_buffer_size.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_set_buffer_size.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_set_devout_play_flags.Po b/.deps/libags_audio_a-ags_set_devout_play_flags.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_set_devout_play_flags.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_set_muted.Po b/.deps/libags_audio_a-ags_set_muted.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_set_muted.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_set_output_device.Po b/.deps/libags_audio_a-ags_set_output_device.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_set_output_device.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_set_samplerate.Po b/.deps/libags_audio_a-ags_set_samplerate.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_set_samplerate.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_sndfile.Po b/.deps/libags_audio_a-ags_sndfile.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_sndfile.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_start_devout.Po b/.deps/libags_audio_a-ags_start_devout.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_start_devout.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_stream.Po b/.deps/libags_audio_a-ags_stream.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_stream.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_stream_audio_signal.Po b/.deps/libags_audio_a-ags_stream_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_stream_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_stream_channel.Po b/.deps/libags_audio_a-ags_stream_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_stream_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_stream_channel_run.Po b/.deps/libags_audio_a-ags_stream_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_stream_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_stream_recycling.Po b/.deps/libags_audio_a-ags_stream_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_stream_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_synths.Po b/.deps/libags_audio_a-ags_synths.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_synths.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_task.Po b/.deps/libags_audio_a-ags_task.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_task.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_timestamp.Po b/.deps/libags_audio_a-ags_timestamp.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_timestamp.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_timestamp_factory.Po b/.deps/libags_audio_a-ags_timestamp_factory.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_timestamp_factory.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_unref_audio_signal.Po b/.deps/libags_audio_a-ags_unref_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_unref_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_volume_audio_signal.Po b/.deps/libags_audio_a-ags_volume_audio_signal.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_volume_audio_signal.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_volume_channel.Po b/.deps/libags_audio_a-ags_volume_channel.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_volume_channel.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_volume_channel_run.Po b/.deps/libags_audio_a-ags_volume_channel_run.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_volume_channel_run.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_audio_a-ags_volume_recycling.Po b/.deps/libags_audio_a-ags_volume_recycling.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_audio_a-ags_volume_recycling.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_cartesian.Po b/.deps/libags_gui_a-ags_cartesian.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_cartesian.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_dial.Po b/.deps/libags_gui_a-ags_dial.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_dial.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_expander.Po b/.deps/libags_gui_a-ags_expander.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_expander.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_expander_set.Po b/.deps/libags_gui_a-ags_expander_set.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_expander_set.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_hindicator.Po b/.deps/libags_gui_a-ags_hindicator.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_hindicator.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_htimebar.Po b/.deps/libags_gui_a-ags_htimebar.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_htimebar.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_indicator.Po b/.deps/libags_gui_a-ags_indicator.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_indicator.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_led.Po b/.deps/libags_gui_a-ags_led.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_led.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_menu.Po b/.deps/libags_gui_a-ags_menu.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_menu.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_menu_item.Po b/.deps/libags_gui_a-ags_menu_item.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_menu_item.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_option_menu.Po b/.deps/libags_gui_a-ags_option_menu.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_option_menu.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_ruler.Po b/.deps/libags_gui_a-ags_ruler.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_ruler.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_segment.Po b/.deps/libags_gui_a-ags_segment.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_segment.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_table.Po b/.deps/libags_gui_a-ags_table.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_table.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_timebar.Po b/.deps/libags_gui_a-ags_timebar.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_timebar.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_vindicator.Po b/.deps/libags_gui_a-ags_vindicator.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_vindicator.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_gui_a-ags_waveform.Po b/.deps/libags_gui_a-ags_waveform.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_gui_a-ags_waveform.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_async_queue.Po b/.deps/libags_thread_a-ags_async_queue.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_async_queue.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_audio_loop.Po b/.deps/libags_thread_a-ags_audio_loop.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_audio_loop.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_autosave_thread.Po b/.deps/libags_thread_a-ags_autosave_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_autosave_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_devout_thread.Po b/.deps/libags_thread_a-ags_devout_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_devout_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_export_thread.Po b/.deps/libags_thread_a-ags_export_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_export_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_gui_task_thread.Po b/.deps/libags_thread_a-ags_gui_task_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_gui_task_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_gui_thread.Po b/.deps/libags_thread_a-ags_gui_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_gui_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_iterator_thread.Po b/.deps/libags_thread_a-ags_iterator_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_iterator_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_record_thread.Po b/.deps/libags_thread_a-ags_record_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_record_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_recycling_thread.Po b/.deps/libags_thread_a-ags_recycling_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_recycling_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_recycling_thread_callbacks.Po b/.deps/libags_thread_a-ags_recycling_thread_callbacks.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_recycling_thread_callbacks.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_returnable_thread.Po b/.deps/libags_thread_a-ags_returnable_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_returnable_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_single_thread.Po b/.deps/libags_thread_a-ags_single_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_single_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_task_thread.Po b/.deps/libags_thread_a-ags_task_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_task_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_thread-posix.Po b/.deps/libags_thread_a-ags_thread-posix.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_thread-posix.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_thread_pool.Po b/.deps/libags_thread_a-ags_thread_pool.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_thread_pool.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/.deps/libags_thread_a-ags_timestamp_thread.Po b/.deps/libags_thread_a-ags_timestamp_thread.Po
new file mode 100644
index 0000000..9ce06a8
--- /dev/null
+++ b/.deps/libags_thread_a-ags_timestamp_thread.Po
@@ -0,0 +1 @@
+# dummy
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..733c072
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,675 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ {one line to give the program's name and a brief idea of what it does.}
+ Copyright (C) {year} {name of author}
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ {project} Copyright (C) {year} {fullname}
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
+
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..04ce544
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7788 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+bin_PROGRAMS = gsequencer$(EXEEXT)
+subdir = .
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in depcomp compile config.guess config.sub \
+ install-sh missing ltmain.sh
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+LIBRARIES = $(noinst_LIBRARIES)
+ARFLAGS = cru
+AM_V_AR = $(am__v_AR_$(V))
+am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY))
+am__v_AR_0 = @echo " AR " $@;
+am__v_AR_1 =
+libags_a_AR = $(AR) $(ARFLAGS)
+libags_a_LIBADD =
+am__objects_1 =
+am__objects_2 = $(am__objects_1) libags_a-ags_id_generator.$(OBJEXT)
+am__objects_3 = $(am__objects_1) libags_a-ags_connectable.$(OBJEXT) \
+ libags_a-ags_combo_box_text.$(OBJEXT) \
+ libags_a-ags_container.$(OBJEXT) libags_a-ags_list.$(OBJEXT) \
+ libags_a-ags_log.$(OBJEXT) libags_a-ags_parameter.$(OBJEXT)
+am__objects_4 = $(am__objects_1) libags_a-ags_applicable.$(OBJEXT) \
+ libags_a-ags_countable.$(OBJEXT) \
+ libags_a-ags_dynamic_connectable.$(OBJEXT) \
+ libags_a-ags_effect.$(OBJEXT) libags_a-ags_main_loop.$(OBJEXT) \
+ libags_a-ags_marshal.$(OBJEXT) libags_a-ags_mutable.$(OBJEXT) \
+ libags_a-ags_packable.$(OBJEXT) \
+ libags_a-ags_persistable.$(OBJEXT) \
+ libags_a-ags_plugin.$(OBJEXT) libags_a-ags_portlet.$(OBJEXT) \
+ libags_a-ags_runnable.$(OBJEXT) \
+ libags_a-ags_seekable.$(OBJEXT) \
+ libags_a-ags_soundcard.$(OBJEXT) \
+ libags_a-ags_stackable.$(OBJEXT) \
+ libags_a-ags_tactable.$(OBJEXT) \
+ libags_a-ags_tree_iterator.$(OBJEXT)
+am_libags_a_OBJECTS = $(am__objects_2) $(am__objects_3) \
+ $(am__objects_4)
+libags_a_OBJECTS = $(am_libags_a_OBJECTS)
+libags_audio_a_AR = $(AR) $(ARFLAGS)
+libags_audio_a_DEPENDENCIES = libags_thread.a libags.a
+am__objects_5 = libags_audio_a-ags_garbage_collector.$(OBJEXT) \
+ libags_audio_a-ags_libao.$(OBJEXT) \
+ libags_audio_a-ags_timestamp.$(OBJEXT) \
+ libags_audio_a-ags_timestamp_factory.$(OBJEXT)
+am__objects_6 = $(am__objects_5) \
+ libags_audio_a-ags_acceleration.$(OBJEXT) \
+ libags_audio_a-ags_playable.$(OBJEXT) \
+ libags_audio_a-ags_audio.$(OBJEXT) \
+ libags_audio_a-ags_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_automation.$(OBJEXT) \
+ libags_audio_a-ags_channel.$(OBJEXT) \
+ libags_audio_a-ags_channel_iter.$(OBJEXT) \
+ libags_audio_a-ags_config.$(OBJEXT) \
+ libags_audio_a-ags_devout.$(OBJEXT) \
+ libags_audio_a-ags_input.$(OBJEXT) \
+ libags_audio_a-ags_notation.$(OBJEXT) \
+ libags_audio_a-ags_note.$(OBJEXT) \
+ libags_audio_a-ags_output.$(OBJEXT) \
+ libags_audio_a-ags_pattern.$(OBJEXT) \
+ libags_audio_a-ags_port.$(OBJEXT) \
+ libags_audio_a-ags_recall_audio.$(OBJEXT) \
+ libags_audio_a-ags_recall_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_recall_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_recall_channel.$(OBJEXT) \
+ libags_audio_a-ags_recall_channel_run_dummy.$(OBJEXT) \
+ libags_audio_a-ags_recall_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_recall_container.$(OBJEXT) \
+ libags_audio_a-ags_recall_dependency.$(OBJEXT) \
+ libags_audio_a-ags_recall_factory.$(OBJEXT) \
+ libags_audio_a-ags_recall.$(OBJEXT) \
+ libags_audio_a-ags_recall_id.$(OBJEXT) \
+ libags_audio_a-ags_recall_ladspa.$(OBJEXT) \
+ libags_audio_a-ags_recall_ladspa_run.$(OBJEXT) \
+ libags_audio_a-ags_recall_recycling_dummy.$(OBJEXT) \
+ libags_audio_a-ags_recall_recycling.$(OBJEXT) \
+ libags_audio_a-ags_recycling_container.$(OBJEXT) \
+ libags_audio_a-ags_recycling.$(OBJEXT) \
+ libags_audio_a-ags_synths.$(OBJEXT) \
+ libags_audio_a-ags_task.$(OBJEXT) \
+ libags_audio_a-ags_timestamp_factory.$(OBJEXT) \
+ libags_audio_a-ags_timestamp.$(OBJEXT)
+am__objects_7 = libags_audio_a-ags_audio_file_xml.$(OBJEXT)
+am__objects_8 = $(am__objects_7) \
+ libags_audio_a-ags_audio_file.$(OBJEXT) \
+ libags_audio_a-ags_ipatch.$(OBJEXT) \
+ libags_audio_a-ags_ipatch_sf2_reader.$(OBJEXT) \
+ libags_audio_a-ags_sndfile.$(OBJEXT)
+am__objects_9 = libags_audio_a-ags_add_audio.$(OBJEXT) \
+ libags_audio_a-ags_add_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_add_note.$(OBJEXT) \
+ libags_audio_a-ags_add_recall_container.$(OBJEXT) \
+ libags_audio_a-ags_add_recall.$(OBJEXT) \
+ libags_audio_a-ags_append_audio.$(OBJEXT) \
+ libags_audio_a-ags_append_audio_threaded.$(OBJEXT) \
+ libags_audio_a-ags_append_channel.$(OBJEXT) \
+ libags_audio_a-ags_append_recall.$(OBJEXT) \
+ libags_audio_a-ags_apply_synth.$(OBJEXT) \
+ libags_audio_a-ags_audio_set_recycling.$(OBJEXT) \
+ libags_audio_a-ags_cancel_audio.$(OBJEXT) \
+ libags_audio_a-ags_cancel_channel.$(OBJEXT) \
+ libags_audio_a-ags_cancel_recall.$(OBJEXT) \
+ libags_audio_a-ags_channel_set_recycling.$(OBJEXT) \
+ libags_audio_a-ags_export_output.$(OBJEXT) \
+ libags_audio_a-ags_init_audio.$(OBJEXT) \
+ libags_audio_a-ags_init_channel.$(OBJEXT) \
+ libags_audio_a-ags_link_channel.$(OBJEXT) \
+ libags_audio_a-ags_open_file.$(OBJEXT) \
+ libags_audio_a-ags_open_single_file.$(OBJEXT) \
+ libags_audio_a-ags_remove_audio.$(OBJEXT) \
+ libags_audio_a-ags_remove_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_remove_note.$(OBJEXT) \
+ libags_audio_a-ags_remove_recall_container.$(OBJEXT) \
+ libags_audio_a-ags_remove_recall.$(OBJEXT) \
+ libags_audio_a-ags_remove_region_from_selection.$(OBJEXT) \
+ libags_audio_a-ags_resize_audio.$(OBJEXT) \
+ libags_audio_a-ags_set_audio_channels.$(OBJEXT) \
+ libags_audio_a-ags_set_buffer_size.$(OBJEXT) \
+ libags_audio_a-ags_set_devout_play_flags.$(OBJEXT) \
+ libags_audio_a-ags_set_output_device.$(OBJEXT) \
+ libags_audio_a-ags_set_samplerate.$(OBJEXT) \
+ libags_audio_a-ags_start_devout.$(OBJEXT) \
+ libags_audio_a-ags_unref_audio_signal.$(OBJEXT)
+am__objects_10 = $(am__objects_1) \
+ libags_audio_a-ags_apply_bpm.$(OBJEXT) \
+ libags_audio_a-ags_apply_sequencer_length.$(OBJEXT) \
+ libags_audio_a-ags_apply_tact.$(OBJEXT) \
+ libags_audio_a-ags_set_muted.$(OBJEXT)
+am__objects_11 = libags_audio_a-ags_amplifier.$(OBJEXT) \
+ libags_audio_a-ags_clone_channel.$(OBJEXT) \
+ libags_audio_a-ags_clone_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_echo.$(OBJEXT) \
+ libags_audio_a-ags_loop_channel.$(OBJEXT) \
+ libags_audio_a-ags_loop_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_play_note.$(OBJEXT) \
+ libags_audio_a-ags_stream.$(OBJEXT)
+am__objects_12 = $(am__objects_11) \
+ libags_audio_a-ags_buffer_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_buffer_channel.$(OBJEXT) \
+ libags_audio_a-ags_buffer_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_buffer_recycling.$(OBJEXT) \
+ libags_audio_a-ags_copy_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_copy_channel.$(OBJEXT) \
+ libags_audio_a-ags_copy_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_notation_audio.$(OBJEXT) \
+ libags_audio_a-ags_copy_notation_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_audio.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_channel.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_recycling.$(OBJEXT) \
+ libags_audio_a-ags_count_beats_audio.$(OBJEXT) \
+ libags_audio_a-ags_count_beats_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_delay_audio.$(OBJEXT) \
+ libags_audio_a-ags_delay_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_mute_audio.$(OBJEXT) \
+ libags_audio_a-ags_mute_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_mute_channel.$(OBJEXT) \
+ libags_audio_a-ags_mute_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_mute_recycling.$(OBJEXT) \
+ libags_audio_a-ags_peak_channel.$(OBJEXT) \
+ libags_audio_a-ags_peak_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_play_audio_file.$(OBJEXT) \
+ libags_audio_a-ags_play_audio.$(OBJEXT) \
+ libags_audio_a-ags_play_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_play_channel.$(OBJEXT) \
+ libags_audio_a-ags_play_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_play_channel_run_master.$(OBJEXT) \
+ libags_audio_a-ags_play_notation_audio.$(OBJEXT) \
+ libags_audio_a-ags_play_notation_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_play_pattern.$(OBJEXT) \
+ libags_audio_a-ags_play_recycling.$(OBJEXT) \
+ libags_audio_a-ags_stream_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_stream_channel.$(OBJEXT) \
+ libags_audio_a-ags_stream_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_stream_recycling.$(OBJEXT) \
+ libags_audio_a-ags_volume_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_volume_channel.$(OBJEXT) \
+ libags_audio_a-ags_volume_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_volume_recycling.$(OBJEXT)
+am__objects_13 = $(am__objects_1) \
+ libags_audio_a-ags_ladspa_manager.$(OBJEXT) \
+ libags_audio_a-ags_plugin_factory.$(OBJEXT)
+am_libags_audio_a_OBJECTS = $(am__objects_6) $(am__objects_8) \
+ $(am__objects_9) $(am__objects_10) $(am__objects_12) \
+ $(am__objects_13)
+libags_audio_a_OBJECTS = $(am_libags_audio_a_OBJECTS)
+libags_gui_a_AR = $(AR) $(ARFLAGS)
+libags_gui_a_LIBADD =
+am__objects_14 = $(am__objects_1) libags_gui_a-ags_cartesian.$(OBJEXT) \
+ libags_gui_a-ags_dial.$(OBJEXT) \
+ libags_gui_a-ags_expander.$(OBJEXT) \
+ libags_gui_a-ags_expander_set.$(OBJEXT) \
+ libags_gui_a-ags_hindicator.$(OBJEXT) \
+ libags_gui_a-ags_htimebar.$(OBJEXT) \
+ libags_gui_a-ags_indicator.$(OBJEXT) \
+ libags_gui_a-ags_led.$(OBJEXT) libags_gui_a-ags_menu.$(OBJEXT) \
+ libags_gui_a-ags_menu_item.$(OBJEXT) \
+ libags_gui_a-ags_option_menu.$(OBJEXT) \
+ libags_gui_a-ags_ruler.$(OBJEXT) \
+ libags_gui_a-ags_segment.$(OBJEXT) \
+ libags_gui_a-ags_table.$(OBJEXT) \
+ libags_gui_a-ags_timebar.$(OBJEXT) \
+ libags_gui_a-ags_vindicator.$(OBJEXT) \
+ libags_gui_a-ags_waveform.$(OBJEXT)
+am_libags_gui_a_OBJECTS = $(am__objects_14)
+libags_gui_a_OBJECTS = $(am_libags_gui_a_OBJECTS)
+libags_thread_a_AR = $(AR) $(ARFLAGS)
+libags_thread_a_DEPENDENCIES = libags.a
+am__objects_15 = $(am__objects_1) \
+ libags_thread_a-ags_async_queue.$(OBJEXT) \
+ libags_thread_a-ags_audio_loop.$(OBJEXT) \
+ libags_thread_a-ags_autosave_thread.$(OBJEXT) \
+ libags_thread_a-ags_devout_thread.$(OBJEXT) \
+ libags_thread_a-ags_export_thread.$(OBJEXT) \
+ libags_thread_a-ags_gui_task_thread.$(OBJEXT) \
+ libags_thread_a-ags_gui_thread.$(OBJEXT) \
+ libags_thread_a-ags_iterator_thread.$(OBJEXT) \
+ libags_thread_a-ags_record_thread.$(OBJEXT) \
+ libags_thread_a-ags_recycling_thread_callbacks.$(OBJEXT) \
+ libags_thread_a-ags_recycling_thread.$(OBJEXT) \
+ libags_thread_a-ags_returnable_thread.$(OBJEXT) \
+ libags_thread_a-ags_single_thread.$(OBJEXT) \
+ libags_thread_a-ags_task_thread.$(OBJEXT) \
+ libags_thread_a-ags_thread_pool.$(OBJEXT) \
+ libags_thread_a-ags_thread-posix.$(OBJEXT) \
+ libags_thread_a-ags_timestamp_thread.$(OBJEXT)
+am_libags_thread_a_OBJECTS = $(am__objects_15)
+libags_thread_a_OBJECTS = $(am_libags_thread_a_OBJECTS)
+am__installdirs = "$(DESTDIR)$(bindir)"
+PROGRAMS = $(bin_PROGRAMS)
+am__objects_16 = gsequencer-main.$(OBJEXT)
+am__objects_17 = $(am__objects_1) gsequencer-ags_registry.$(OBJEXT) \
+ gsequencer-ags_remote_task.$(OBJEXT) \
+ gsequencer-ags_server.$(OBJEXT)
+am__objects_18 = $(am__objects_1) \
+ gsequencer-ags_audio_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_audio_preferences.$(OBJEXT) \
+ gsequencer-ags_automation_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_editor.$(OBJEXT) \
+ gsequencer-ags_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_editor.$(OBJEXT) \
+ gsequencer-ags_effect_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_bridge.$(OBJEXT) \
+ gsequencer-ags_effect_bulk_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_bulk.$(OBJEXT) \
+ gsequencer-ags_bulk_member.$(OBJEXT) \
+ gsequencer-ags_bulk_member_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_line.$(OBJEXT) \
+ gsequencer-ags_effect_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_pad.$(OBJEXT) \
+ gsequencer-ags_export_window_callbacks.$(OBJEXT) \
+ gsequencer-ags_export_window.$(OBJEXT) \
+ gsequencer-ags_generic_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_generic_preferences.$(OBJEXT) \
+ gsequencer-ags_ladspa_browser_callbacks.$(OBJEXT) \
+ gsequencer-ags_ladspa_browser.$(OBJEXT) \
+ gsequencer-ags_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_editor.$(OBJEXT) \
+ gsequencer-ags_line.$(OBJEXT) \
+ gsequencer-ags_line_member_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_member_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_member_editor.$(OBJEXT) \
+ gsequencer-ags_line_member.$(OBJEXT) \
+ gsequencer-ags_link_collection_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_link_collection_editor.$(OBJEXT) \
+ gsequencer-ags_link_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_link_editor.$(OBJEXT) \
+ gsequencer-ags_listing_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_listing_editor.$(OBJEXT) \
+ gsequencer-ags_machine_callbacks.$(OBJEXT) \
+ gsequencer-ags_machine_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_machine_editor.$(OBJEXT) \
+ gsequencer-ags_machine.$(OBJEXT) \
+ gsequencer-ags_menu_bar_callbacks.$(OBJEXT) \
+ gsequencer-ags_menu_bar.$(OBJEXT) \
+ gsequencer-ags_navigation_callbacks.$(OBJEXT) \
+ gsequencer-ags_navigation.$(OBJEXT) \
+ gsequencer-ags_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_pad_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_pad_editor.$(OBJEXT) \
+ gsequencer-ags_pad.$(OBJEXT) \
+ gsequencer-ags_performance_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_performance_preferences.$(OBJEXT) \
+ gsequencer-ags_plugin_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_plugin_preferences.$(OBJEXT) \
+ gsequencer-ags_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_preferences.$(OBJEXT) \
+ gsequencer-ags_property_collection_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_property_collection_editor.$(OBJEXT) \
+ gsequencer-ags_property_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_property_editor.$(OBJEXT) \
+ gsequencer-ags_property_listing_editor.$(OBJEXT) \
+ gsequencer-ags_resize_editor.$(OBJEXT) \
+ gsequencer-ags_server_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_server_preferences.$(OBJEXT) \
+ gsequencer-ags_window_callbacks.$(OBJEXT) \
+ gsequencer-ags_window.$(OBJEXT)
+am__objects_19 = $(am__objects_1) \
+ gsequencer-ags_drum_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum.$(OBJEXT) \
+ gsequencer-ags_drum_input_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_input_line.$(OBJEXT) \
+ gsequencer-ags_drum_input_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_input_pad.$(OBJEXT) \
+ gsequencer-ags_drum_output_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_output_line.$(OBJEXT) \
+ gsequencer-ags_drum_output_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_output_pad.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bridge.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bulk_input_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bulk_input.$(OBJEXT) \
+ gsequencer-ags_ffplayer_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_line.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_pad.$(OBJEXT) \
+ gsequencer-ags_ladspa_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_ladspa_bridge.$(OBJEXT) \
+ gsequencer-ags_matrix_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_matrix_bridge.$(OBJEXT) \
+ gsequencer-ags_matrix_bulk_input_callbacks.$(OBJEXT) \
+ gsequencer-ags_matrix_bulk_input.$(OBJEXT) \
+ gsequencer-ags_matrix_callbacks.$(OBJEXT) \
+ gsequencer-ags_matrix.$(OBJEXT) \
+ gsequencer-ags_mixer_callbacks.$(OBJEXT) \
+ gsequencer-ags_mixer.$(OBJEXT) \
+ gsequencer-ags_mixer_input_line.$(OBJEXT) \
+ gsequencer-ags_mixer_input_pad.$(OBJEXT) \
+ gsequencer-ags_oscillator_callbacks.$(OBJEXT) \
+ gsequencer-ags_oscillator.$(OBJEXT) \
+ gsequencer-ags_panel_callbacks.$(OBJEXT) \
+ gsequencer-ags_panel.$(OBJEXT) \
+ gsequencer-ags_panel_input_line.$(OBJEXT) \
+ gsequencer-ags_panel_input_pad.$(OBJEXT) \
+ gsequencer-ags_synth_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_bridge.$(OBJEXT) \
+ gsequencer-ags_synth_bulk_output_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_bulk_output.$(OBJEXT) \
+ gsequencer-ags_synth_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth.$(OBJEXT) \
+ gsequencer-ags_synth_input_line.$(OBJEXT) \
+ gsequencer-ags_synth_input_pad.$(OBJEXT) \
+ gsequencer-ags_synth_output_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_output_line.$(OBJEXT) \
+ gsequencer-ags_synth_output_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_output_pad.$(OBJEXT)
+am__objects_20 = $(am__objects_1) \
+ gsequencer-ags_automation_area_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_area.$(OBJEXT) \
+ gsequencer-ags_automation_edit_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_edit.$(OBJEXT) \
+ gsequencer-ags_automation_toolbar_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_toolbar.$(OBJEXT) \
+ gsequencer-ags_file_selection_callbacks.$(OBJEXT) \
+ gsequencer-ags_file_selection.$(OBJEXT) \
+ gsequencer-ags_inline_player_callbacks.$(OBJEXT) \
+ gsequencer-ags_inline_player.$(OBJEXT) \
+ gsequencer-ags_machine_radio_button.$(OBJEXT) \
+ gsequencer-ags_machine_selection.$(OBJEXT) \
+ gsequencer-ags_machine_selector_callbacks.$(OBJEXT) \
+ gsequencer-ags_machine_selector.$(OBJEXT) \
+ gsequencer-ags_meter_callbacks.$(OBJEXT) \
+ gsequencer-ags_meter.$(OBJEXT) \
+ gsequencer-ags_notebook_callbacks.$(OBJEXT) \
+ gsequencer-ags_notebook.$(OBJEXT) \
+ gsequencer-ags_note_edit_callbacks.$(OBJEXT) \
+ gsequencer-ags_note_edit.$(OBJEXT) \
+ gsequencer-ags_pattern_edit_callbacks.$(OBJEXT) \
+ gsequencer-ags_pattern_edit.$(OBJEXT) \
+ gsequencer-ags_port_selection_callbacks.$(OBJEXT) \
+ gsequencer-ags_port_selection.$(OBJEXT) \
+ gsequencer-ags_sf2_chooser_callbacks.$(OBJEXT) \
+ gsequencer-ags_sf2_chooser.$(OBJEXT) \
+ gsequencer-ags_soundset_callbacks.$(OBJEXT) \
+ gsequencer-ags_soundset.$(OBJEXT) \
+ gsequencer-ags_toolbar_callbacks.$(OBJEXT) \
+ gsequencer-ags_toolbar.$(OBJEXT)
+am__objects_21 = gsequencer-ags_add_line_member.$(OBJEXT) \
+ gsequencer-ags_add_bulk_member.$(OBJEXT) \
+ gsequencer-ags_update_bulk_member.$(OBJEXT) \
+ gsequencer-ags_add_point_to_selection.$(OBJEXT) \
+ gsequencer-ags_add_region_to_selection.$(OBJEXT) \
+ gsequencer-ags_change_indicator.$(OBJEXT) \
+ gsequencer-ags_change_tact.$(OBJEXT) \
+ gsequencer-ags_display_tact.$(OBJEXT) \
+ gsequencer-ags_free_selection.$(OBJEXT) \
+ gsequencer-ags_remove_point_from_selection.$(OBJEXT) \
+ gsequencer-ags_save_file.$(OBJEXT) \
+ gsequencer-ags_scroll_on_play.$(OBJEXT) \
+ gsequencer-ags_toggle_led.$(OBJEXT) \
+ gsequencer-ags_toggle_pattern_bit.$(OBJEXT)
+am__objects_22 = $(am__objects_1) gsequencer-ags_file_gui.$(OBJEXT) \
+ gsequencer-ags_file.$(OBJEXT) \
+ gsequencer-ags_file_id_ref.$(OBJEXT) \
+ gsequencer-ags_file_launch.$(OBJEXT) \
+ gsequencer-ags_file_link.$(OBJEXT) \
+ gsequencer-ags_file_lookup.$(OBJEXT) \
+ gsequencer-ags_file_sound.$(OBJEXT) \
+ gsequencer-ags_file_thread.$(OBJEXT) \
+ gsequencer-ags_file_util.$(OBJEXT)
+am_gsequencer_OBJECTS = $(am__objects_16) $(am__objects_17) \
+ $(am__objects_18) $(am__objects_19) $(am__objects_20) \
+ $(am__objects_21) $(am__objects_22)
+gsequencer_OBJECTS = $(am_gsequencer_OBJECTS)
+gsequencer_DEPENDENCIES = libags_audio.a libags_gui.a libags_thread.a \
+ libags.a
+AM_V_lt = $(am__v_lt_$(V))
+am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
+am__v_lt_0 = --silent
+am__v_lt_1 =
+gsequencer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(gsequencer_CFLAGS) \
+ $(CFLAGS) $(gsequencer_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I.
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_$(V))
+am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_$(V))
+am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(libags_a_SOURCES) $(libags_audio_a_SOURCES) \
+ $(libags_gui_a_SOURCES) $(libags_thread_a_SOURCES) \
+ $(gsequencer_SOURCES)
+DIST_SOURCES = $(libags_a_SOURCES) $(libags_audio_a_SOURCES) \
+ $(libags_gui_a_SOURCES) $(libags_thread_a_SOURCES) \
+ $(gsequencer_SOURCES)
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+DIST_TARGETS = dist-gzip
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel
+abs_srcdir = /usr/src/ags-devel
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix =
+top_builddir = .
+top_srcdir = .
+AUTOMAKE_OPTIONS = foreign
+
+#
+SUBDIRS = po \
+ . \
+ src/ags/util \
+ src/ags/lib \
+ src/ags/object \
+ src/ags/widget \
+ src/ags/audio/task \
+ src/ags/audio/task/recall \
+ src/ags/audio/file \
+ src/ags/audio/recall \
+ src/ags/audio \
+ src/ags/file \
+ src/ags/server \
+ src/ags/X/editor \
+ src/ags/X/machine \
+ src/ags/X \
+ src/ags \
+ doc
+
+
+#
+libags_a_SOURCES = $(ags_util_c_sources) $(ags_lib_c_sources) $(ags_object_c_sources)
+libags_thread_a_SOURCES = $(ags_thread_c_sources)
+libags_audio_a_SOURCES = $(ags_audio_c_sources) $(ags_audio_file_c_sources) $(ags_audio_task_c_sources) $(ags_audio_task_recall_c_sources) $(ags_audio_recall_c_sources) $(ags_plugin_c_sources)
+libags_gui_a_SOURCES = $(ags_widget_c_sources)
+gsequencer_SOURCES = $(gsequencer_main_c_sources) $(gsequencer_server_c_sources) $(gsequencer_xorg_c_sources) $(gsequencer_machine_c_sources) $(gsequencer_editor_c_sources) $(ags_xorg_task_c_sources) $(gsequencer_file_c_sources)
+
+#
+TARGETS = gsequencer
+
+# this lists the binaries to produce, the (non-PHONY, binary) targets in
+# the previous manual Makefile
+noinst_LIBRARIES = libags.a libags_thread.a libags_audio.a libags_gui.a
+
+# application
+libags_a_CFLAGS = -g -O2 -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_a_LDFLAGS = -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_thread_a_CFLAGS = -g -O2 -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_thread_a_LDFLAGS = -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_thread_a_LIBADD = libags.a
+libags_audio_a_CFLAGS = -g -O2 -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_audio_a_LDFLAGS = -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_audio_a_LIBADD = libags_thread.a libags.a
+libags_gui_a_CFLAGS = -g -O2 -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_gui_a_LDFLAGS = -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+gsequencer_CFLAGS = -g -O2 -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+gsequencer_LDFLAGS = -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+gsequencer_LDADD = libags_audio.a libags_gui.a libags_thread.a libags.a
+ACLOCAL_AMFLAGS = -I m4
+
+# libags all files
+deprecated_ags_lib_h_sources =
+ags_lib_h_sources = \
+ $(deprecated_ags_lib_h_sources) \
+ src/ags-lib/object/ags_connectable.h \
+ src/ags/lib/ags_combo_box_text.h \
+ src/ags/lib/ags_container.h \
+ src/ags/lib/ags_list.h \
+ src/ags/lib/ags_log.h \
+ src/ags/lib/ags_parameter.h
+
+deprecated_ags_lib_c_sources =
+ags_lib_c_sources = \
+ $(deprecated_ags_lib_c_sources) \
+ src/ags-lib/object/ags_connectable.c \
+ src/ags/lib/ags_combo_box_text.c \
+ src/ags/lib/ags_container.c \
+ src/ags/lib/ags_list.c \
+ src/ags/lib/ags_log.c \
+ src/ags/lib/ags_parameter.c
+
+deprecated_ags_util_h_sources =
+ags_util_h_sources = \
+ $(deprecated_ags_util_h_sources) \
+ src/ags/util/ags_id_generator.h
+
+deprecated_ags_util_c_sources =
+ags_util_c_sources = \
+ $(deprecated_ags_util_c_sources) \
+ src/ags/util/ags_id_generator.c
+
+deprecated_ags_object_h_sources =
+ags_object_h_sources = \
+ $(deprecated_ags_object_h_sources) \
+ src/ags/object/ags_applicable.h \
+ src/ags/object/ags_countable.h \
+ src/ags/object/ags_dynamic_connectable.h \
+ src/ags/object/ags_effect.h \
+ src/ags/object/ags_main_loop.h \
+ src/ags/object/ags_marshal.h \
+ src/ags/object/ags_mutable.h \
+ src/ags/object/ags_packable.h \
+ src/ags/object/ags_persistable.h \
+ src/ags/object/ags_playable.h \
+ src/ags/object/ags_plugin.h \
+ src/ags/object/ags_portlet.h \
+ src/ags/object/ags_runnable.h \
+ src/ags/object/ags_seekable.h \
+ src/ags/object/ags_soundcard.h \
+ src/ags/object/ags_stackable.h \
+ src/ags/object/ags_tactable.h \
+ src/ags/object/ags_tree_iterator.h
+
+deprecated_ags_object_c_sources =
+ags_object_c_sources = \
+ $(deprecated_ags_object_c_sources) \
+ src/ags/object/ags_applicable.c \
+ src/ags/object/ags_countable.c \
+ src/ags/object/ags_dynamic_connectable.c \
+ src/ags/object/ags_effect.c \
+ src/ags/object/ags_main_loop.c \
+ src/ags/object/ags_marshal.c \
+ src/ags/object/ags_mutable.c \
+ src/ags/object/ags_packable.c \
+ src/ags/object/ags_persistable.c \
+ src/ags/object/ags_plugin.c \
+ src/ags/object/ags_portlet.c \
+ src/ags/object/ags_runnable.c \
+ src/ags/object/ags_seekable.c \
+ src/ags/object/ags_soundcard.c \
+ src/ags/object/ags_stackable.c \
+ src/ags/object/ags_tactable.c \
+ src/ags/object/ags_tree_iterator.c
+
+deprecated_ags_plugin_h_sources =
+ags_plugin_h_sources = \
+ $(deprecated_ags_plugin_h_sources) \
+ src/ags/plugin/ags_ladspa_manager.h \
+ src/ags/plugin/ags_plugin_factory.h \
+ src/ags/plugin/ags_plugin_stock.h
+
+deprecated_ags_plugin_c_sources =
+ags_plugin_c_sources = \
+ $(deprecated_ags_plugin_c_sources) \
+ src/ags/plugin/ags_ladspa_manager.c \
+ src/ags/plugin/ags_plugin_factory.c
+
+
+# libags_thread all files
+deprecated_ags_thread_h_sources = \
+ src/ags/thread/ags_history.h
+
+ags_thread_h_sources = \
+ $(deprecated_ags_thread_h_sources) \
+ src/ags/thread/ags_async_queue.h \
+ src/ags/thread/ags_audio_loop.h \
+ src/ags/thread/ags_autosave_thread.h \
+ src/ags/thread/ags_devout_thread.h \
+ src/ags/thread/ags_export_thread.h \
+ src/ags/thread/ags_gui_task_thread.h \
+ src/ags/thread/ags_gui_thread.h \
+ src/ags/thread/ags_iterator_thread.h \
+ src/ags/thread/ags_record_thread.h \
+ src/ags/thread/ags_recycling_thread_callbacks.h \
+ src/ags/thread/ags_recycling_thread.h \
+ src/ags/thread/ags_returnable_thread.h \
+ src/ags/thread/ags_single_thread.h \
+ src/ags/thread/ags_task_thread.h \
+ src/ags/thread/ags_thread_pool.h \
+ src/ags/thread/ags_thread-posix.h \
+ src/ags/thread/ags_timestamp_thread.h
+
+deprecated_ags_thread_c_sources =
+ags_thread_c_sources = \
+ $(deprecated_ags_thread_c_sources) \
+ src/ags/thread/ags_async_queue.c \
+ src/ags/thread/ags_audio_loop.c \
+ src/ags/thread/ags_autosave_thread.c \
+ src/ags/thread/ags_devout_thread.c \
+ src/ags/thread/ags_export_thread.c \
+ src/ags/thread/ags_gui_task_thread.c \
+ src/ags/thread/ags_gui_thread.c \
+ src/ags/thread/ags_iterator_thread.c \
+ src/ags/thread/ags_record_thread.c \
+ src/ags/thread/ags_recycling_thread_callbacks.c \
+ src/ags/thread/ags_recycling_thread.c \
+ src/ags/thread/ags_returnable_thread.c \
+ src/ags/thread/ags_single_thread.c \
+ src/ags/thread/ags_task_thread.c \
+ src/ags/thread/ags_thread_pool.c \
+ src/ags/thread/ags_thread-posix.c \
+ src/ags/thread/ags_timestamp_thread.c
+
+
+# libags_gui all files
+odeprecated_ags_widget_h_sources =
+ags_widget_h_sources = \
+ $(deprecated_ags_widget_h_sources) \
+ src/ags/widget/ags_cartesian.h \
+ src/ags/widget/ags_dial.h \
+ src/ags/widget/ags_expander.h \
+ src/ags/widget/ags_expander_set.h \
+ src/ags/widget/ags_hindicator.h \
+ src/ags/widget/ags_htimebar.h \
+ src/ags/widget/ags_indicator.h \
+ src/ags/widget/ags_led.h \
+ src/ags/widget/ags_menu.h \
+ src/ags/widget/ags_menu_item.h \
+ src/ags/widget/ags_option_menu.h \
+ src/ags/widget/ags_ruler.h \
+ src/ags/widget/ags_segment.h \
+ src/ags/widget/ags_table.h \
+ src/ags/widget/ags_timebar.h \
+ src/ags/widget/ags_vindicator.h \
+ src/ags/widget/ags_waveform.h
+
+deprecated_ags_widget_c_sources =
+ags_widget_c_sources = \
+ $(deprecated_ags_widget_c_sources) \
+ src/ags/widget/ags_cartesian.c \
+ src/ags/widget/ags_dial.c \
+ src/ags/widget/ags_expander.c \
+ src/ags/widget/ags_expander_set.c \
+ src/ags/widget/ags_hindicator.c \
+ src/ags/widget/ags_htimebar.c \
+ src/ags/widget/ags_indicator.c \
+ src/ags/widget/ags_led.c \
+ src/ags/widget/ags_menu.c \
+ src/ags/widget/ags_menu_item.c \
+ src/ags/widget/ags_option_menu.c \
+ src/ags/widget/ags_ruler.c \
+ src/ags/widget/ags_segment.c \
+ src/ags/widget/ags_table.c \
+ src/ags/widget/ags_timebar.c \
+ src/ags/widget/ags_vindicator.c \
+ src/ags/widget/ags_waveform.c
+
+
+# libags_audio all files
+deprecated_ags_audio_h_sources = \
+ src/ags/audio/ags_garbage_collector.h \
+ src/ags/audio/ags_effect.h \
+ src/ags/audio/ags_libao.h \
+ src/ags/audio/ags_timestamp.h \
+ src/ags/audio/ags_timestamp_factory.h
+
+ags_audio_h_sources = \
+ $(deprecated_ags_audio_h_sources) \
+ src/ags/audio/ags_acceleration.h \
+ src/ags/audio/ags_audio.h \
+ src/ags/audio/ags_audio_signal.h \
+ src/ags/audio/ags_automation.h \
+ src/ags/audio/ags_channel.h \
+ src/ags/audio/ags_channel_iter.h \
+ src/ags/audio/ags_config.h \
+ src/ags/audio/ags_devout.h \
+ src/ags/audio/ags_input.h \
+ src/ags/audio/ags_notation.h \
+ src/ags/audio/ags_note.h \
+ src/ags/audio/ags_output.h \
+ src/ags/audio/ags_pattern.h \
+ src/ags/audio/ags_port.h \
+ src/ags/audio/ags_recall_audio.h \
+ src/ags/audio/ags_recall_audio_run.h \
+ src/ags/audio/ags_recall_audio_signal.h \
+ src/ags/audio/ags_recall_channel.h \
+ src/ags/audio/ags_recall_channel_run_dummy.h \
+ src/ags/audio/ags_recall_channel_run.h \
+ src/ags/audio/ags_recall_container.h \
+ src/ags/audio/ags_recall_dependency.h \
+ src/ags/audio/ags_recall_factory.h \
+ src/ags/audio/ags_recall.h \
+ src/ags/audio/ags_recall_id.h \
+ src/ags/audio/ags_recall_ladspa.h \
+ src/ags/audio/ags_recall_ladspa_run.h \
+ src/ags/audio/ags_recall_recycling_dummy.h \
+ src/ags/audio/ags_recall_recycling.h \
+ src/ags/audio/ags_recycling_container.h \
+ src/ags/audio/ags_recycling.h \
+ src/ags/audio/ags_synths.h \
+ src/ags/audio/ags_task.h \
+ src/ags/audio/ags_timestamp_factory.h \
+ src/ags/audio/ags_timestamp.h
+
+deprecated_ags_audio_c_sources = \
+ src/ags/audio/ags_garbage_collector.c \
+ src/ags/audio/ags_libao.c \
+ src/ags/audio/ags_timestamp.c \
+ src/ags/audio/ags_timestamp_factory.c
+
+ags_audio_c_sources = \
+ $(deprecated_ags_audio_c_sources) \
+ src/ags/audio/ags_acceleration.c \
+ src/ags/object/ags_playable.c \
+ src/ags/audio/ags_audio.c \
+ src/ags/audio/ags_audio_signal.c \
+ src/ags/audio/ags_automation.c \
+ src/ags/audio/ags_channel.c \
+ src/ags/audio/ags_channel_iter.c \
+ src/ags/audio/ags_config.c \
+ src/ags/audio/ags_devout.c \
+ src/ags/audio/ags_input.c \
+ src/ags/audio/ags_notation.c \
+ src/ags/audio/ags_note.c \
+ src/ags/audio/ags_output.c \
+ src/ags/audio/ags_pattern.c \
+ src/ags/audio/ags_port.c \
+ src/ags/audio/ags_recall_audio.c \
+ src/ags/audio/ags_recall_audio_run.c \
+ src/ags/audio/ags_recall_audio_signal.c \
+ src/ags/audio/ags_recall_channel.c \
+ src/ags/audio/ags_recall_channel_run_dummy.c \
+ src/ags/audio/ags_recall_channel_run.c \
+ src/ags/audio/ags_recall_container.c \
+ src/ags/audio/ags_recall_dependency.c \
+ src/ags/audio/ags_recall_factory.c \
+ src/ags/audio/ags_recall.c \
+ src/ags/audio/ags_recall_id.c \
+ src/ags/audio/ags_recall_ladspa.c \
+ src/ags/audio/ags_recall_ladspa_run.c \
+ src/ags/audio/ags_recall_recycling_dummy.c \
+ src/ags/audio/ags_recall_recycling.c \
+ src/ags/audio/ags_recycling_container.c \
+ src/ags/audio/ags_recycling.c \
+ src/ags/audio/ags_synths.c \
+ src/ags/audio/ags_task.c \
+ src/ags/audio/ags_timestamp_factory.c \
+ src/ags/audio/ags_timestamp.c
+
+deprecated_ags_audio_file_h_sources = \
+ src/ags/audio/file/ags_audio_file_xml.h
+
+ags_audio_file_h_sources = \
+ $(deprecated_ags_audio_file_h_sources) \
+ src/ags/audio/file/ags_audio_file.h \
+ src/ags/audio/file/ags_ipatch.h \
+ src/ags/audio/file/ags_ipatch_sf2_reader.h \
+ src/ags/audio/file/ags_sndfile.h
+
+deprecated_ags_audio_file_c_sources = \
+ src/ags/audio/file/ags_audio_file_xml.c
+
+ags_audio_file_c_sources = \
+ $(deprecated_ags_audio_file_c_sources) \
+ src/ags/audio/file/ags_audio_file.c \
+ src/ags/audio/file/ags_ipatch.c \
+ src/ags/audio/file/ags_ipatch_sf2_reader.c \
+ src/ags/audio/file/ags_sndfile.c
+
+deprecated_ags_audio_recall_h_sources = \
+ src/ags/audio/recall/ags_amplifier.h \
+ src/ags/audio/recall/ags_clone_channel.h \
+ src/ags/audio/recall/ags_clone_channel_run.h \
+ src/ags/audio/recall/ags_down_mix.h \
+ src/ags/audio/recall/ags_echo.h \
+ src/ags/audio/recall/ags_loop_channel.h \
+ src/ags/audio/recall/ags_loop_channel_run.h \
+ src/ags/audio/recall/ags_play_note.h \
+ src/ags/audio/recall/ags_stream.h
+
+ags_audio_recall_h_sources = \
+ $(deprecated_ags_audio_recall_h_sources) \
+ src/ags/audio/recall/ags_buffer_audio_signal.h \
+ src/ags/audio/recall/ags_buffer_channel.h \
+ src/ags/audio/recall/ags_buffer_channel_run.h \
+ src/ags/audio/recall/ags_buffer_recycling.h \
+ src/ags/audio/recall/ags_copy_audio_signal.h \
+ src/ags/audio/recall/ags_copy_channel.h \
+ src/ags/audio/recall/ags_copy_channel_run.h \
+ src/ags/audio/recall/ags_copy_notation_audio.h \
+ src/ags/audio/recall/ags_copy_notation_audio_run.h \
+ src/ags/audio/recall/ags_copy_pattern_audio.h \
+ src/ags/audio/recall/ags_copy_pattern_audio_run.h \
+ src/ags/audio/recall/ags_copy_pattern_channel.h \
+ src/ags/audio/recall/ags_copy_pattern_channel_run.h \
+ src/ags/audio/recall/ags_copy_recycling.h \
+ src/ags/audio/recall/ags_count_beats_audio.h \
+ src/ags/audio/recall/ags_count_beats_audio_run.h \
+ src/ags/audio/recall/ags_delay_audio.h \
+ src/ags/audio/recall/ags_delay_audio_run.h \
+ src/ags/audio/recall/ags_mute_audio.h \
+ src/ags/audio/recall/ags_mute_audio_signal.h \
+ src/ags/audio/recall/ags_mute_channel.h \
+ src/ags/audio/recall/ags_mute_channel_run.h \
+ src/ags/audio/recall/ags_mute_recycling.h \
+ src/ags/audio/recall/ags_peak_channel.h \
+ src/ags/audio/recall/ags_peak_channel_run.h \
+ src/ags/audio/recall/ags_play_audio_file.h \
+ src/ags/audio/recall/ags_play_audio.h \
+ src/ags/audio/recall/ags_play_audio_signal.h \
+ src/ags/audio/recall/ags_play_channel.h \
+ src/ags/audio/recall/ags_play_channel_run.h \
+ src/ags/audio/recall/ags_play_channel_run_master.h \
+ src/ags/audio/recall/ags_play_notation_audio.h \
+ src/ags/audio/recall/ags_play_notation_audio_run.h \
+ src/ags/audio/recall/ags_play_pattern.h \
+ src/ags/audio/recall/ags_play_recycling.h \
+ src/ags/audio/recall/ags_stream_audio_signal.h \
+ src/ags/audio/recall/ags_stream_channel.h \
+ src/ags/audio/recall/ags_stream_channel_run.h \
+ src/ags/audio/recall/ags_stream_recycling.h \
+ src/ags/audio/recall/ags_volume_audio_signal.h \
+ src/ags/audio/recall/ags_volume_channel.h \
+ src/ags/audio/recall/ags_volume_channel_run.h \
+ src/ags/audio/recall/ags_volume_recycling.h
+
+deprecated_ags_audio_recall_c_sources = \
+ src/ags/audio/recall/ags_amplifier.c \
+ src/ags/audio/recall/ags_clone_channel.c \
+ src/ags/audio/recall/ags_clone_channel_run.c \
+ src/ags/audio/recall/ags_echo.c \
+ src/ags/audio/recall/ags_loop_channel.c \
+ src/ags/audio/recall/ags_loop_channel_run.c \
+ src/ags/audio/recall/ags_play_note.c \
+ src/ags/audio/recall/ags_stream.c
+
+ags_audio_recall_c_sources = \
+ $(deprecated_ags_audio_recall_c_sources) \
+ src/ags/audio/recall/ags_buffer_audio_signal.c \
+ src/ags/audio/recall/ags_buffer_channel.c \
+ src/ags/audio/recall/ags_buffer_channel_run.c \
+ src/ags/audio/recall/ags_buffer_recycling.c \
+ src/ags/audio/recall/ags_copy_audio_signal.c \
+ src/ags/audio/recall/ags_copy_channel.c \
+ src/ags/audio/recall/ags_copy_channel_run.c \
+ src/ags/audio/recall/ags_copy_notation_audio.c \
+ src/ags/audio/recall/ags_copy_notation_audio_run.c \
+ src/ags/audio/recall/ags_copy_pattern_audio.c \
+ src/ags/audio/recall/ags_copy_pattern_audio_run.c \
+ src/ags/audio/recall/ags_copy_pattern_channel.c \
+ src/ags/audio/recall/ags_copy_pattern_channel_run.c \
+ src/ags/audio/recall/ags_copy_recycling.c \
+ src/ags/audio/recall/ags_count_beats_audio.c \
+ src/ags/audio/recall/ags_count_beats_audio_run.c \
+ src/ags/audio/recall/ags_delay_audio.c \
+ src/ags/audio/recall/ags_delay_audio_run.c \
+ src/ags/audio/recall/ags_mute_audio.c \
+ src/ags/audio/recall/ags_mute_audio_signal.c \
+ src/ags/audio/recall/ags_mute_channel.c \
+ src/ags/audio/recall/ags_mute_channel_run.c \
+ src/ags/audio/recall/ags_mute_recycling.c \
+ src/ags/audio/recall/ags_peak_channel.c \
+ src/ags/audio/recall/ags_peak_channel_run.c \
+ src/ags/audio/recall/ags_play_audio_file.c \
+ src/ags/audio/recall/ags_play_audio.c \
+ src/ags/audio/recall/ags_play_audio_signal.c \
+ src/ags/audio/recall/ags_play_channel.c \
+ src/ags/audio/recall/ags_play_channel_run.c \
+ src/ags/audio/recall/ags_play_channel_run_master.c \
+ src/ags/audio/recall/ags_play_notation_audio.c \
+ src/ags/audio/recall/ags_play_notation_audio_run.c \
+ src/ags/audio/recall/ags_play_pattern.c \
+ src/ags/audio/recall/ags_play_recycling.c \
+ src/ags/audio/recall/ags_stream_audio_signal.c \
+ src/ags/audio/recall/ags_stream_channel.c \
+ src/ags/audio/recall/ags_stream_channel_run.c \
+ src/ags/audio/recall/ags_stream_recycling.c \
+ src/ags/audio/recall/ags_volume_audio_signal.c \
+ src/ags/audio/recall/ags_volume_channel.c \
+ src/ags/audio/recall/ags_volume_channel_run.c \
+ src/ags/audio/recall/ags_volume_recycling.c
+
+deprecated_ags_task_h_sources = \
+ src/ags/audio/task/ags_apply_wavetable.h
+
+ags_audio_task_h_sources = \
+ $(deprecated_ags_audio_task_h_sources) \
+ src/ags/audio/task/ags_add_audio.h \
+ src/ags/audio/task/ags_add_audio_signal.h \
+ src/ags/audio/task/ags_add_note.h \
+ src/ags/audio/task/ags_add_recall_container.h \
+ src/ags/audio/task/ags_add_recall.h \
+ src/ags/audio/task/ags_append_audio.h \
+ src/ags/audio/task/ags_append_audio_threaded.h \
+ src/ags/audio/task/ags_append_channel.h \
+ src/ags/audio/task/ags_append_recall.h \
+ src/ags/audio/task/ags_apply_synth.h \
+ src/ags/audio/task/ags_audio_set_recycling.h \
+ src/ags/audio/task/ags_cancel_audio.h \
+ src/ags/audio/task/ags_cancel_channel.h \
+ src/ags/audio/task/ags_cancel_recall.h \
+ src/ags/audio/task/ags_channel_set_recycling.h \
+ src/ags/audio/task/ags_export_output.h \
+ src/ags/audio/task/ags_init_audio.h \
+ src/ags/audio/task/ags_init_channel.h \
+ src/ags/audio/task/ags_link_channel.h \
+ src/ags/audio/task/ags_open_file.h \
+ src/ags/audio/task/ags_open_single_file.h \
+ src/ags/audio/task/ags_remove_audio.h \
+ src/ags/audio/task/ags_remove_audio_signal.h \
+ src/ags/audio/task/ags_remove_note.h \
+ src/ags/audio/task/ags_remove_recall_container.h \
+ src/ags/audio/task/ags_remove_recall.h \
+ src/ags/audio/task/ags_remove_region_from_selection.h \
+ src/ags/audio/task/ags_resize_audio.h \
+ src/ags/audio/task/ags_set_audio_channels.h \
+ src/ags/audio/task/ags_set_buffer_size.h \
+ src/ags/audio/task/ags_set_devout_play_flags.h \
+ src/ags/audio/task/ags_set_output_device.h \
+ src/ags/audio/task/ags_set_samplerate.h \
+ src/ags/audio/task/ags_start_devout.h \
+ src/ags/audio/task/ags_unref_audio_signal.h
+
+ags_xorg_task_h_sources = \
+ src/ags/audio/task/ags_add_point_to_selection.h \
+ src/ags/audio/task/ags_add_region_to_selection.h \
+ src/ags/audio/task/ags_add_line_member.h \
+ src/ags/audio/task/ags_add_bulk_member.h \
+ src/ags/audio/task/ags_update_bulk_member.h \
+ src/ags/audio/task/ags_change_indicator.h \
+ src/ags/audio/task/ags_change_tact.h \
+ src/ags/audio/task/ags_display_tact.h \
+ src/ags/audio/task/ags_free_selection.h \
+ src/ags/audio/task/ags_remove_point_from_selection.h \
+ src/ags/audio/task/ags_save_file.h \
+ src/ags/audio/task/ags_scroll_on_play.h \
+ src/ags/audio/task/ags_toggle_led.h \
+ src/ags/audio/task/ags_toggle_pattern_bit.h
+
+deprecated_ags_task_c_sources = \
+ src/ags/audio/task/ags_apply_wavetable.c
+
+ags_audio_task_c_sources = \
+ $(deprecated_ags_audio_task_c_sources) \
+ src/ags/audio/task/ags_add_audio.c \
+ src/ags/audio/task/ags_add_audio_signal.c \
+ src/ags/audio/task/ags_add_note.c \
+ src/ags/audio/task/ags_add_recall_container.c \
+ src/ags/audio/task/ags_add_recall.c \
+ src/ags/audio/task/ags_append_audio.c \
+ src/ags/audio/task/ags_append_audio_threaded.c \
+ src/ags/audio/task/ags_append_channel.c \
+ src/ags/audio/task/ags_append_recall.c \
+ src/ags/audio/task/ags_apply_synth.c \
+ src/ags/audio/task/ags_audio_set_recycling.c \
+ src/ags/audio/task/ags_cancel_audio.c \
+ src/ags/audio/task/ags_cancel_channel.c \
+ src/ags/audio/task/ags_cancel_recall.c \
+ src/ags/audio/task/ags_channel_set_recycling.c \
+ src/ags/audio/task/ags_export_output.c \
+ src/ags/audio/task/ags_init_audio.c \
+ src/ags/audio/task/ags_init_channel.c \
+ src/ags/audio/task/ags_link_channel.c \
+ src/ags/audio/task/ags_open_file.c \
+ src/ags/audio/task/ags_open_single_file.c \
+ src/ags/audio/task/ags_remove_audio.c \
+ src/ags/audio/task/ags_remove_audio_signal.c \
+ src/ags/audio/task/ags_remove_note.c \
+ src/ags/audio/task/ags_remove_recall_container.c \
+ src/ags/audio/task/ags_remove_recall.c \
+ src/ags/audio/task/ags_remove_region_from_selection.c \
+ src/ags/audio/task/ags_resize_audio.c \
+ src/ags/audio/task/ags_set_audio_channels.c \
+ src/ags/audio/task/ags_set_buffer_size.c \
+ src/ags/audio/task/ags_set_devout_play_flags.c \
+ src/ags/audio/task/ags_set_output_device.c \
+ src/ags/audio/task/ags_set_samplerate.c \
+ src/ags/audio/task/ags_start_devout.c \
+ src/ags/audio/task/ags_unref_audio_signal.c
+
+ags_xorg_task_c_sources = \
+ src/ags/audio/task/ags_add_line_member.c \
+ src/ags/audio/task/ags_add_bulk_member.c \
+ src/ags/audio/task/ags_update_bulk_member.c \
+ src/ags/audio/task/ags_add_point_to_selection.c \
+ src/ags/audio/task/ags_add_region_to_selection.c \
+ src/ags/audio/task/ags_change_indicator.c \
+ src/ags/audio/task/ags_change_tact.c \
+ src/ags/audio/task/ags_display_tact.c \
+ src/ags/audio/task/ags_free_selection.c \
+ src/ags/audio/task/ags_remove_point_from_selection.c \
+ src/ags/audio/task/ags_save_file.c \
+ src/ags/audio/task/ags_scroll_on_play.c \
+ src/ags/audio/task/ags_toggle_led.c \
+ src/ags/audio/task/ags_toggle_pattern_bit.c
+
+deprecated_ags_audio_task_recall_h_sources =
+ags_audio_task_recall_h_sources = \
+ $(deprecated_ags_audio_task_recall_h_sources) \
+ src/ags/audio/task/recall/ags_apply_bpm.h \
+ src/ags/audio/task/recall/ags_apply_sequencer_length.h \
+ src/ags/audio/task/recall/ags_apply_tact.h \
+ src/ags/audio/task/recall/ags_set_muted.h
+
+deprecated_ags_audio_task_recall_c_sources =
+ags_audio_task_recall_c_sources = \
+ $(deprecated_ags_audio_task_recall_c_sources) \
+ src/ags/audio/task/recall/ags_apply_bpm.c \
+ src/ags/audio/task/recall/ags_apply_sequencer_length.c \
+ src/ags/audio/task/recall/ags_apply_tact.c \
+ src/ags/audio/task/recall/ags_set_muted.c
+
+
+# gsequencer all files
+gsequencer_main_h_sources = \
+ src/ags/main.h
+
+gsequencer_main_c_sources = \
+ src/ags/main.c
+
+deprecated_gsequencer_server_h_sources =
+gsequencer_server_h_sources = \
+ $(deprecated_gsequencer_server_h_sources) \
+ src/ags/server/ags_registry.h \
+ src/ags/server/ags_remote_task.h \
+ src/ags/server/ags_server.h
+
+deprecated_gsequencer_server_c_sources =
+gsequencer_server_c_sources = \
+ $(deprecated_gsequencer_server_c_sources) \
+ src/ags/server/ags_registry.c \
+ src/ags/server/ags_remote_task.c \
+ src/ags/server/ags_server.c
+
+deprecated_gsequencer_xorg_h_sources =
+gsequencer_xorg_h_sources = \
+ $(deprecated_gsequencer_xorg_h_sources) \
+ src/ags/X/ags_audio_preferences_callbacks.h \
+ src/ags/X/ags_audio_preferences.h \
+ src/ags/X/ags_automation_editor_callbacks.h \
+ src/ags/X/ags_automation_editor.h \
+ src/ags/X/ags_editor_callbacks.h \
+ src/ags/X/ags_editor.h \
+ src/ags/X/ags_effect_bridge_callbacks.h \
+ src/ags/X/ags_effect_bridge.h \
+ src/ags/X/ags_effect_bulk_callbacks.h \
+ src/ags/X/ags_effect_bulk.h \
+ src/ags/X/ags_bulk_member_callbacks.h \
+ src/ags/X/ags_bulk_member.h \
+ src/ags/X/ags_effect_line_callbacks.h \
+ src/ags/X/ags_effect_line.h \
+ src/ags/X/ags_effect_pad_callbacks.h \
+ src/ags/X/ags_effect_pad.h \
+ src/ags/X/ags_export_window_callbacks.h \
+ src/ags/X/ags_export_window.h \
+ src/ags/X/ags_generic_preferences_callbacks.h \
+ src/ags/X/ags_generic_preferences.h \
+ src/ags/X/ags_ladspa_browser_callbacks.h \
+ src/ags/X/ags_ladspa_browser.h \
+ src/ags/X/ags_line_callbacks.h \
+ src/ags/X/ags_line_editor_callbacks.h \
+ src/ags/X/ags_line_editor.h \
+ src/ags/X/ags_line.h \
+ src/ags/X/ags_line_member_callbacks.h \
+ src/ags/X/ags_line_member_editor_callbacks.h \
+ src/ags/X/ags_line_member_editor.h \
+ src/ags/X/ags_line_member.h \
+ src/ags/X/ags_link_collection_editor_callbacks.h \
+ src/ags/X/ags_link_collection_editor.h \
+ src/ags/X/ags_link_editor_callbacks.h \
+ src/ags/X/ags_link_editor.h \
+ src/ags/X/ags_listing_editor_callbacks.h \
+ src/ags/X/ags_listing_editor.h \
+ src/ags/X/ags_machine_callbacks.h \
+ src/ags/X/ags_machine_editor_callbacks.h \
+ src/ags/X/ags_machine_editor.h \
+ src/ags/X/ags_machine.h \
+ src/ags/X/ags_menu_bar_callbacks.h \
+ src/ags/X/ags_menu_bar.h \
+ src/ags/X/ags_navigation_callbacks.h \
+ src/ags/X/ags_navigation.h \
+ src/ags/X/ags_pad_callbacks.h \
+ src/ags/X/ags_pad_editor_callbacks.h \
+ src/ags/X/ags_pad_editor.h \
+ src/ags/X/ags_pad.h \
+ src/ags/X/ags_performance_preferences_callbacks.h \
+ src/ags/X/ags_performance_preferences.h \
+ src/ags/X/ags_plugin_preferences_callbacks.h \
+ src/ags/X/ags_plugin_preferences.h \
+ src/ags/X/ags_preferences_callbacks.h \
+ src/ags/X/ags_preferences.h \
+ src/ags/X/ags_property_collection_editor_callbacks.h \
+ src/ags/X/ags_property_collection_editor.h \
+ src/ags/X/ags_property_editor_callbacks.h \
+ src/ags/X/ags_property_editor.h \
+ src/ags/X/ags_property_listing_editor.h \
+ src/ags/X/ags_resize_editor.h \
+ src/ags/X/ags_server_preferences_callbacks.h \
+ src/ags/X/ags_server_preferences.h \
+ src/ags/X/ags_window_callbacks.h \
+ src/ags/X/ags_window.h
+
+deprecated_gsequencer_xorg_c_sources =
+gsequencer_xorg_c_sources = \
+ $(deprecated_gsequencer_xorg_c_sources) \
+ src/ags/X/ags_audio_preferences_callbacks.c \
+ src/ags/X/ags_audio_preferences.c \
+ src/ags/X/ags_automation_editor_callbacks.c \
+ src/ags/X/ags_automation_editor.c \
+ src/ags/X/ags_editor_callbacks.c \
+ src/ags/X/ags_editor.c \
+ src/ags/X/ags_effect_bridge_callbacks.c \
+ src/ags/X/ags_effect_bridge.c \
+ src/ags/X/ags_effect_bulk_callbacks.c \
+ src/ags/X/ags_effect_bulk.c \
+ src/ags/X/ags_bulk_member.c \
+ src/ags/X/ags_bulk_member_callbacks.c \
+ src/ags/X/ags_effect_line_callbacks.c \
+ src/ags/X/ags_effect_line.c \
+ src/ags/X/ags_effect_pad_callbacks.c \
+ src/ags/X/ags_effect_pad.c \
+ src/ags/X/ags_export_window_callbacks.c \
+ src/ags/X/ags_export_window.c \
+ src/ags/X/ags_generic_preferences_callbacks.c \
+ src/ags/X/ags_generic_preferences.c \
+ src/ags/X/ags_ladspa_browser_callbacks.c \
+ src/ags/X/ags_ladspa_browser.c \
+ src/ags/X/ags_line_callbacks.c \
+ src/ags/X/ags_line_editor_callbacks.c \
+ src/ags/X/ags_line_editor.c \
+ src/ags/X/ags_line.c \
+ src/ags/X/ags_line_member_callbacks.c \
+ src/ags/X/ags_line_member_editor_callbacks.c \
+ src/ags/X/ags_line_member_editor.c \
+ src/ags/X/ags_line_member.c \
+ src/ags/X/ags_link_collection_editor_callbacks.c \
+ src/ags/X/ags_link_collection_editor.c \
+ src/ags/X/ags_link_editor_callbacks.c \
+ src/ags/X/ags_link_editor.c \
+ src/ags/X/ags_listing_editor_callbacks.c \
+ src/ags/X/ags_listing_editor.c \
+ src/ags/X/ags_machine_callbacks.c \
+ src/ags/X/ags_machine_editor_callbacks.c \
+ src/ags/X/ags_machine_editor.c \
+ src/ags/X/ags_machine.c \
+ src/ags/X/ags_menu_bar_callbacks.c \
+ src/ags/X/ags_menu_bar.c \
+ src/ags/X/ags_navigation_callbacks.c \
+ src/ags/X/ags_navigation.c \
+ src/ags/X/ags_pad_callbacks.c \
+ src/ags/X/ags_pad_editor_callbacks.c \
+ src/ags/X/ags_pad_editor.c \
+ src/ags/X/ags_pad.c \
+ src/ags/X/ags_performance_preferences_callbacks.c \
+ src/ags/X/ags_performance_preferences.c \
+ src/ags/X/ags_plugin_preferences_callbacks.c \
+ src/ags/X/ags_plugin_preferences.c \
+ src/ags/X/ags_preferences_callbacks.c \
+ src/ags/X/ags_preferences.c \
+ src/ags/X/ags_property_collection_editor_callbacks.c \
+ src/ags/X/ags_property_collection_editor.c \
+ src/ags/X/ags_property_editor_callbacks.c \
+ src/ags/X/ags_property_editor.c \
+ src/ags/X/ags_property_listing_editor.c \
+ src/ags/X/ags_resize_editor.c \
+ src/ags/X/ags_server_preferences_callbacks.c \
+ src/ags/X/ags_server_preferences.c \
+ src/ags/X/ags_window_callbacks.c \
+ src/ags/X/ags_window.c
+
+deprecated_gsequencer_machine_h_sources =
+gsequencer_machine_h_sources = \
+ $(deprecated_gsequencer_machine_h_sources) \
+ src/ags/X/machine/ags_drum_callbacks.h \
+ src/ags/X/machine/ags_drum.h \
+ src/ags/X/machine/ags_drum_input_line_callbacks.h \
+ src/ags/X/machine/ags_drum_input_line.h \
+ src/ags/X/machine/ags_drum_input_pad_callbacks.h \
+ src/ags/X/machine/ags_drum_input_pad.h \
+ src/ags/X/machine/ags_drum_output_line_callbacks.h \
+ src/ags/X/machine/ags_drum_output_line.h \
+ src/ags/X/machine/ags_drum_output_pad_callbacks.h \
+ src/ags/X/machine/ags_drum_output_pad.h \
+ src/ags/X/machine/ags_ffplayer_bridge_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_bridge.h \
+ src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_bulk_input.h \
+ src/ags/X/machine/ags_ffplayer_callbacks.h \
+ src/ags/X/machine/ags_ffplayer.h \
+ src/ags/X/machine/ags_ffplayer_input_line_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_input_line.h \
+ src/ags/X/machine/ags_ffplayer_input_pad_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_input_pad.h \
+ src/ags/X/machine/ags_ladspa_bridge_callbacks.h \
+ src/ags/X/machine/ags_ladspa_bridge.h \
+ src/ags/X/machine/ags_matrix_bridge_callbacks.h \
+ src/ags/X/machine/ags_matrix_bridge.h \
+ src/ags/X/machine/ags_matrix_bulk_input_callbacks.h \
+ src/ags/X/machine/ags_matrix_bulk_input.h \
+ src/ags/X/machine/ags_matrix_callbacks.h \
+ src/ags/X/machine/ags_matrix.h \
+ src/ags/X/machine/ags_mixer_callbacks.h \
+ src/ags/X/machine/ags_mixer.h \
+ src/ags/X/machine/ags_mixer_input_line.h \
+ src/ags/X/machine/ags_mixer_input_pad.h \
+ src/ags/X/machine/ags_oscillator_callbacks.h \
+ src/ags/X/machine/ags_oscillator.h \
+ src/ags/X/machine/ags_panel_callbacks.h \
+ src/ags/X/machine/ags_panel.h \
+ src/ags/X/machine/ags_panel_input_line.h \
+ src/ags/X/machine/ags_panel_input_pad.h \
+ src/ags/X/machine/ags_synth_bridge_callbacks.h \
+ src/ags/X/machine/ags_synth_bridge.h \
+ src/ags/X/machine/ags_synth_bulk_output_callbacks.h \
+ src/ags/X/machine/ags_synth_bulk_output.h \
+ src/ags/X/machine/ags_synth_callbacks.h \
+ src/ags/X/machine/ags_synth.h \
+ src/ags/X/machine/ags_synth_input_line.h \
+ src/ags/X/machine/ags_synth_input_pad.h \
+ src/ags/X/machine/ags_synth_output_line_callbacks.h \
+ src/ags/X/machine/ags_synth_output_line.h \
+ src/ags/X/machine/ags_synth_output_pad_callbacks.h \
+ src/ags/X/machine/ags_synth_output_pad.h
+
+deprecated_gsequencer_machine_c_sources =
+gsequencer_machine_c_sources = \
+ $(deprecated_gsequencer_machine_c_sources) \
+ src/ags/X/machine/ags_drum_callbacks.c \
+ src/ags/X/machine/ags_drum.c \
+ src/ags/X/machine/ags_drum_input_line_callbacks.c \
+ src/ags/X/machine/ags_drum_input_line.c \
+ src/ags/X/machine/ags_drum_input_pad_callbacks.c \
+ src/ags/X/machine/ags_drum_input_pad.c \
+ src/ags/X/machine/ags_drum_output_line_callbacks.c \
+ src/ags/X/machine/ags_drum_output_line.c \
+ src/ags/X/machine/ags_drum_output_pad_callbacks.c \
+ src/ags/X/machine/ags_drum_output_pad.c \
+ src/ags/X/machine/ags_ffplayer_bridge_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_bridge.c \
+ src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_bulk_input.c \
+ src/ags/X/machine/ags_ffplayer_callbacks.c \
+ src/ags/X/machine/ags_ffplayer.c \
+ src/ags/X/machine/ags_ffplayer_input_line_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_input_line.c \
+ src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_input_pad.c \
+ src/ags/X/machine/ags_ladspa_bridge_callbacks.c \
+ src/ags/X/machine/ags_ladspa_bridge.c \
+ src/ags/X/machine/ags_matrix_bridge_callbacks.c \
+ src/ags/X/machine/ags_matrix_bridge.c \
+ src/ags/X/machine/ags_matrix_bulk_input_callbacks.c \
+ src/ags/X/machine/ags_matrix_bulk_input.c \
+ src/ags/X/machine/ags_matrix_callbacks.c \
+ src/ags/X/machine/ags_matrix.c \
+ src/ags/X/machine/ags_mixer_callbacks.c \
+ src/ags/X/machine/ags_mixer.c \
+ src/ags/X/machine/ags_mixer_input_line.c \
+ src/ags/X/machine/ags_mixer_input_pad.c \
+ src/ags/X/machine/ags_oscillator_callbacks.c \
+ src/ags/X/machine/ags_oscillator.c \
+ src/ags/X/machine/ags_panel_callbacks.c \
+ src/ags/X/machine/ags_panel.c \
+ src/ags/X/machine/ags_panel_input_line.c \
+ src/ags/X/machine/ags_panel_input_pad.c \
+ src/ags/X/machine/ags_synth_bridge_callbacks.c \
+ src/ags/X/machine/ags_synth_bridge.c \
+ src/ags/X/machine/ags_synth_bulk_output_callbacks.c \
+ src/ags/X/machine/ags_synth_bulk_output.c \
+ src/ags/X/machine/ags_synth_callbacks.c \
+ src/ags/X/machine/ags_synth.c \
+ src/ags/X/machine/ags_synth_input_line.c \
+ src/ags/X/machine/ags_synth_input_pad.c \
+ src/ags/X/machine/ags_synth_output_line_callbacks.c \
+ src/ags/X/machine/ags_synth_output_line.c \
+ src/ags/X/machine/ags_synth_output_pad_callbacks.c \
+ src/ags/X/machine/ags_synth_output_pad.c
+
+deprecated_gsequencer_editor_h_sources =
+gsequencer_editor_h_sources = \
+ $(deprecated_gsequencer_editor_h_sources) \
+ src/ags/X/editor/ags_automation_area_callbacks.h \
+ src/ags/X/editor/ags_automation_area.h \
+ src/ags/X/editor/ags_automation_edit_callbacks.h \
+ src/ags/X/editor/ags_automation_edit.h \
+ src/ags/X/editor/ags_automation_toolbar_callbacks.h \
+ src/ags/X/editor/ags_automation_toolbar.h \
+ src/ags/X/editor/ags_file_selection_callbacks.h \
+ src/ags/X/editor/ags_file_selection.h \
+ src/ags/X/editor/ags_inline_player_callbacks.h \
+ src/ags/X/editor/ags_inline_player.h \
+ src/ags/X/editor/ags_machine_radio_button.h \
+ src/ags/X/editor/ags_machine_selection.h \
+ src/ags/X/editor/ags_machine_selector_callbacks.h \
+ src/ags/X/editor/ags_machine_selector.h \
+ src/ags/X/editor/ags_meter_callbacks.h \
+ src/ags/X/editor/ags_meter.h \
+ src/ags/X/editor/ags_notebook_callbacks.h \
+ src/ags/X/editor/ags_notebook.h \
+ src/ags/X/editor/ags_note_edit_callbacks.h \
+ src/ags/X/editor/ags_note_edit.h \
+ src/ags/X/editor/ags_pattern_edit_callbacks.h \
+ src/ags/X/editor/ags_pattern_edit.h \
+ src/ags/X/editor/ags_port_selection_callbacks.h \
+ src/ags/X/editor/ags_port_selection.h \
+ src/ags/X/editor/ags_sf2_chooser_callbacks.h \
+ src/ags/X/editor/ags_sf2_chooser.h \
+ src/ags/X/editor/ags_soundset_callbacks.h \
+ src/ags/X/editor/ags_soundset.h \
+ src/ags/X/editor/ags_toolbar_callbacks.h \
+ src/ags/X/editor/ags_toolbar.h \
+ src/ags/X/editor/ags_toolbar_mode_stock.h
+
+deprecated_gsequencer_editor_c_sources =
+gsequencer_editor_c_sources = \
+ $(deprecated_gsequencer_editor_c_sources) \
+ src/ags/X/editor/ags_automation_area_callbacks.c \
+ src/ags/X/editor/ags_automation_area.c \
+ src/ags/X/editor/ags_automation_edit_callbacks.c \
+ src/ags/X/editor/ags_automation_edit.c \
+ src/ags/X/editor/ags_automation_toolbar_callbacks.c \
+ src/ags/X/editor/ags_automation_toolbar.c \
+ src/ags/X/editor/ags_file_selection_callbacks.c \
+ src/ags/X/editor/ags_file_selection.c \
+ src/ags/X/editor/ags_inline_player_callbacks.c \
+ src/ags/X/editor/ags_inline_player.c \
+ src/ags/X/editor/ags_machine_radio_button.c \
+ src/ags/X/editor/ags_machine_selection.c \
+ src/ags/X/editor/ags_machine_selector_callbacks.c \
+ src/ags/X/editor/ags_machine_selector.c \
+ src/ags/X/editor/ags_meter_callbacks.c \
+ src/ags/X/editor/ags_meter.c \
+ src/ags/X/editor/ags_notebook_callbacks.c \
+ src/ags/X/editor/ags_notebook.c \
+ src/ags/X/editor/ags_note_edit_callbacks.c \
+ src/ags/X/editor/ags_note_edit.c \
+ src/ags/X/editor/ags_pattern_edit_callbacks.c \
+ src/ags/X/editor/ags_pattern_edit.c \
+ src/ags/X/editor/ags_port_selection_callbacks.c \
+ src/ags/X/editor/ags_port_selection.c \
+ src/ags/X/editor/ags_sf2_chooser_callbacks.c \
+ src/ags/X/editor/ags_sf2_chooser.c \
+ src/ags/X/editor/ags_soundset_callbacks.c \
+ src/ags/X/editor/ags_soundset.c \
+ src/ags/X/editor/ags_toolbar_callbacks.c \
+ src/ags/X/editor/ags_toolbar.c
+
+deprecated_gsequencer_file_h_sources =
+gsequencer_file_h_sources = \
+ $(deprecated_gsequencer_file_h_sources) \
+ src/ags/file/ags_file_gui.h \
+ src/ags/file/ags_file.h \
+ src/ags/file/ags_file_id_ref.h \
+ src/ags/file/ags_file_launch.h \
+ src/ags/file/ags_file_link.h \
+ src/ags/file/ags_file_lookup.h \
+ src/ags/file/ags_file_read.h \
+ src/ags/file/ags_file_sound.h \
+ src/ags/file/ags_file_stock.h \
+ src/ags/file/ags_file_thread.h \
+ src/ags/file/ags_file_util.h \
+ src/ags/file/ags_file_value_factory.h \
+ src/ags/file/ags_file_write.h
+
+deprecated_gsequencer_file_c_sources =
+gsequencer_file_c_sources = \
+ $(deprecated_gsequencer_file_c_sources) \
+ src/ags/file/ags_file_gui.c \
+ src/ags/file/ags_file.c \
+ src/ags/file/ags_file_id_ref.c \
+ src/ags/file/ags_file_launch.c \
+ src/ags/file/ags_file_link.c \
+ src/ags/file/ags_file_lookup.c \
+ src/ags/file/ags_file_sound.c \
+ src/ags/file/ags_file_thread.c \
+ src/ags/file/ags_file_util.c
+
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+ @test -f $@ || rm -f stamp-h1
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+clean-noinstLIBRARIES:
+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+
+libags.a: $(libags_a_OBJECTS) $(libags_a_DEPENDENCIES) $(EXTRA_libags_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags.a
+ $(AM_V_AR)$(libags_a_AR) libags.a $(libags_a_OBJECTS) $(libags_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags.a
+
+libags_audio.a: $(libags_audio_a_OBJECTS) $(libags_audio_a_DEPENDENCIES) $(EXTRA_libags_audio_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags_audio.a
+ $(AM_V_AR)$(libags_audio_a_AR) libags_audio.a $(libags_audio_a_OBJECTS) $(libags_audio_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags_audio.a
+
+libags_gui.a: $(libags_gui_a_OBJECTS) $(libags_gui_a_DEPENDENCIES) $(EXTRA_libags_gui_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags_gui.a
+ $(AM_V_AR)$(libags_gui_a_AR) libags_gui.a $(libags_gui_a_OBJECTS) $(libags_gui_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags_gui.a
+
+libags_thread.a: $(libags_thread_a_OBJECTS) $(libags_thread_a_DEPENDENCIES) $(EXTRA_libags_thread_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags_thread.a
+ $(AM_V_AR)$(libags_thread_a_AR) libags_thread.a $(libags_thread_a_OBJECTS) $(libags_thread_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags_thread.a
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p \
+ || test -f $$p1 \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
+ echo " rm -f" $$list; \
+ rm -f $$list || exit $$?; \
+ test -n "$(EXEEXT)" || exit 0; \
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+ echo " rm -f" $$list; \
+ rm -f $$list
+
+gsequencer$(EXEEXT): $(gsequencer_OBJECTS) $(gsequencer_DEPENDENCIES) $(EXTRA_gsequencer_DEPENDENCIES)
+ @rm -f gsequencer$(EXEEXT)
+ $(AM_V_CCLD)$(gsequencer_LINK) $(gsequencer_OBJECTS) $(gsequencer_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include ./$(DEPDIR)/gsequencer-ags_add_bulk_member.Po
+include ./$(DEPDIR)/gsequencer-ags_add_line_member.Po
+include ./$(DEPDIR)/gsequencer-ags_add_point_to_selection.Po
+include ./$(DEPDIR)/gsequencer-ags_add_region_to_selection.Po
+include ./$(DEPDIR)/gsequencer-ags_audio_preferences.Po
+include ./$(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_area.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_area_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_edit.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_toolbar.Po
+include ./$(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_bulk_member.Po
+include ./$(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_change_indicator.Po
+include ./$(DEPDIR)/gsequencer-ags_change_tact.Po
+include ./$(DEPDIR)/gsequencer-ags_display_tact.Po
+include ./$(DEPDIR)/gsequencer-ags_drum.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_input_line.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_input_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_output_line.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_output_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_bridge.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_bulk.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_line.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_line_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_export_window.Po
+include ./$(DEPDIR)/gsequencer-ags_export_window_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_bridge.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_input_line.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_file.Po
+include ./$(DEPDIR)/gsequencer-ags_file_gui.Po
+include ./$(DEPDIR)/gsequencer-ags_file_id_ref.Po
+include ./$(DEPDIR)/gsequencer-ags_file_launch.Po
+include ./$(DEPDIR)/gsequencer-ags_file_link.Po
+include ./$(DEPDIR)/gsequencer-ags_file_lookup.Po
+include ./$(DEPDIR)/gsequencer-ags_file_selection.Po
+include ./$(DEPDIR)/gsequencer-ags_file_selection_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_file_sound.Po
+include ./$(DEPDIR)/gsequencer-ags_file_thread.Po
+include ./$(DEPDIR)/gsequencer-ags_file_util.Po
+include ./$(DEPDIR)/gsequencer-ags_free_selection.Po
+include ./$(DEPDIR)/gsequencer-ags_generic_preferences.Po
+include ./$(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_inline_player.Po
+include ./$(DEPDIR)/gsequencer-ags_inline_player_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_ladspa_bridge.Po
+include ./$(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_ladspa_browser.Po
+include ./$(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_line.Po
+include ./$(DEPDIR)/gsequencer-ags_line_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_line_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_line_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_line_member.Po
+include ./$(DEPDIR)/gsequencer-ags_line_member_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_line_member_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_link_collection_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_link_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_link_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_listing_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_machine.Po
+include ./$(DEPDIR)/gsequencer-ags_machine_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_machine_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_machine_radio_button.Po
+include ./$(DEPDIR)/gsequencer-ags_machine_selection.Po
+include ./$(DEPDIR)/gsequencer-ags_machine_selector.Po
+include ./$(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_matrix.Po
+include ./$(DEPDIR)/gsequencer-ags_matrix_bridge.Po
+include ./$(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_matrix_bulk_input.Po
+include ./$(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_matrix_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_menu_bar.Po
+include ./$(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_meter.Po
+include ./$(DEPDIR)/gsequencer-ags_meter_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_mixer.Po
+include ./$(DEPDIR)/gsequencer-ags_mixer_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_mixer_input_line.Po
+include ./$(DEPDIR)/gsequencer-ags_mixer_input_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_navigation.Po
+include ./$(DEPDIR)/gsequencer-ags_navigation_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_note_edit.Po
+include ./$(DEPDIR)/gsequencer-ags_note_edit_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_notebook.Po
+include ./$(DEPDIR)/gsequencer-ags_notebook_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_oscillator.Po
+include ./$(DEPDIR)/gsequencer-ags_oscillator_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_pad_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_pad_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_panel.Po
+include ./$(DEPDIR)/gsequencer-ags_panel_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_panel_input_line.Po
+include ./$(DEPDIR)/gsequencer-ags_panel_input_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_pattern_edit.Po
+include ./$(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_performance_preferences.Po
+include ./$(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_plugin_preferences.Po
+include ./$(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_port_selection.Po
+include ./$(DEPDIR)/gsequencer-ags_port_selection_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_preferences.Po
+include ./$(DEPDIR)/gsequencer-ags_preferences_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_property_collection_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_property_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_property_editor_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_property_listing_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_registry.Po
+include ./$(DEPDIR)/gsequencer-ags_remote_task.Po
+include ./$(DEPDIR)/gsequencer-ags_remove_point_from_selection.Po
+include ./$(DEPDIR)/gsequencer-ags_resize_editor.Po
+include ./$(DEPDIR)/gsequencer-ags_save_file.Po
+include ./$(DEPDIR)/gsequencer-ags_scroll_on_play.Po
+include ./$(DEPDIR)/gsequencer-ags_server.Po
+include ./$(DEPDIR)/gsequencer-ags_server_preferences.Po
+include ./$(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_sf2_chooser.Po
+include ./$(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_soundset.Po
+include ./$(DEPDIR)/gsequencer-ags_soundset_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_synth.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_bridge.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_bulk_output.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_input_line.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_input_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_output_line.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_output_pad.Po
+include ./$(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_toggle_led.Po
+include ./$(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Po
+include ./$(DEPDIR)/gsequencer-ags_toolbar.Po
+include ./$(DEPDIR)/gsequencer-ags_toolbar_callbacks.Po
+include ./$(DEPDIR)/gsequencer-ags_update_bulk_member.Po
+include ./$(DEPDIR)/gsequencer-ags_window.Po
+include ./$(DEPDIR)/gsequencer-ags_window_callbacks.Po
+include ./$(DEPDIR)/gsequencer-main.Po
+include ./$(DEPDIR)/libags_a-ags_applicable.Po
+include ./$(DEPDIR)/libags_a-ags_combo_box_text.Po
+include ./$(DEPDIR)/libags_a-ags_connectable.Po
+include ./$(DEPDIR)/libags_a-ags_container.Po
+include ./$(DEPDIR)/libags_a-ags_countable.Po
+include ./$(DEPDIR)/libags_a-ags_dynamic_connectable.Po
+include ./$(DEPDIR)/libags_a-ags_effect.Po
+include ./$(DEPDIR)/libags_a-ags_id_generator.Po
+include ./$(DEPDIR)/libags_a-ags_list.Po
+include ./$(DEPDIR)/libags_a-ags_log.Po
+include ./$(DEPDIR)/libags_a-ags_main_loop.Po
+include ./$(DEPDIR)/libags_a-ags_marshal.Po
+include ./$(DEPDIR)/libags_a-ags_mutable.Po
+include ./$(DEPDIR)/libags_a-ags_packable.Po
+include ./$(DEPDIR)/libags_a-ags_parameter.Po
+include ./$(DEPDIR)/libags_a-ags_persistable.Po
+include ./$(DEPDIR)/libags_a-ags_plugin.Po
+include ./$(DEPDIR)/libags_a-ags_portlet.Po
+include ./$(DEPDIR)/libags_a-ags_runnable.Po
+include ./$(DEPDIR)/libags_a-ags_seekable.Po
+include ./$(DEPDIR)/libags_a-ags_soundcard.Po
+include ./$(DEPDIR)/libags_a-ags_stackable.Po
+include ./$(DEPDIR)/libags_a-ags_tactable.Po
+include ./$(DEPDIR)/libags_a-ags_tree_iterator.Po
+include ./$(DEPDIR)/libags_audio_a-ags_acceleration.Po
+include ./$(DEPDIR)/libags_audio_a-ags_add_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_add_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_add_note.Po
+include ./$(DEPDIR)/libags_audio_a-ags_add_recall.Po
+include ./$(DEPDIR)/libags_audio_a-ags_add_recall_container.Po
+include ./$(DEPDIR)/libags_audio_a-ags_amplifier.Po
+include ./$(DEPDIR)/libags_audio_a-ags_append_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Po
+include ./$(DEPDIR)/libags_audio_a-ags_append_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_append_recall.Po
+include ./$(DEPDIR)/libags_audio_a-ags_apply_bpm.Po
+include ./$(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Po
+include ./$(DEPDIR)/libags_audio_a-ags_apply_synth.Po
+include ./$(DEPDIR)/libags_audio_a-ags_apply_tact.Po
+include ./$(DEPDIR)/libags_audio_a-ags_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_audio_file.Po
+include ./$(DEPDIR)/libags_audio_a-ags_audio_file_xml.Po
+include ./$(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_automation.Po
+include ./$(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_buffer_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_buffer_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_cancel_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_cancel_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_cancel_recall.Po
+include ./$(DEPDIR)/libags_audio_a-ags_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_channel_iter.Po
+include ./$(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_clone_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_clone_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_config.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_copy_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_count_beats_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_delay_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_delay_audio_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_devout.Po
+include ./$(DEPDIR)/libags_audio_a-ags_echo.Po
+include ./$(DEPDIR)/libags_audio_a-ags_export_output.Po
+include ./$(DEPDIR)/libags_audio_a-ags_garbage_collector.Po
+include ./$(DEPDIR)/libags_audio_a-ags_init_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_init_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_input.Po
+include ./$(DEPDIR)/libags_audio_a-ags_ipatch.Po
+include ./$(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Po
+include ./$(DEPDIR)/libags_audio_a-ags_ladspa_manager.Po
+include ./$(DEPDIR)/libags_audio_a-ags_libao.Po
+include ./$(DEPDIR)/libags_audio_a-ags_link_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_loop_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_loop_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_mute_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_mute_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_mute_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_mute_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_notation.Po
+include ./$(DEPDIR)/libags_audio_a-ags_note.Po
+include ./$(DEPDIR)/libags_audio_a-ags_open_file.Po
+include ./$(DEPDIR)/libags_audio_a-ags_open_single_file.Po
+include ./$(DEPDIR)/libags_audio_a-ags_output.Po
+include ./$(DEPDIR)/libags_audio_a-ags_pattern.Po
+include ./$(DEPDIR)/libags_audio_a-ags_peak_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_peak_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_audio_file.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_notation_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_note.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_pattern.Po
+include ./$(DEPDIR)/libags_audio_a-ags_play_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_playable.Po
+include ./$(DEPDIR)/libags_audio_a-ags_plugin_factory.Po
+include ./$(DEPDIR)/libags_audio_a-ags_port.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_audio_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_container.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_dependency.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_factory.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_id.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_ladspa.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_recycling_container.Po
+include ./$(DEPDIR)/libags_audio_a-ags_remove_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_remove_note.Po
+include ./$(DEPDIR)/libags_audio_a-ags_remove_recall.Po
+include ./$(DEPDIR)/libags_audio_a-ags_remove_recall_container.Po
+include ./$(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Po
+include ./$(DEPDIR)/libags_audio_a-ags_resize_audio.Po
+include ./$(DEPDIR)/libags_audio_a-ags_set_audio_channels.Po
+include ./$(DEPDIR)/libags_audio_a-ags_set_buffer_size.Po
+include ./$(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Po
+include ./$(DEPDIR)/libags_audio_a-ags_set_muted.Po
+include ./$(DEPDIR)/libags_audio_a-ags_set_output_device.Po
+include ./$(DEPDIR)/libags_audio_a-ags_set_samplerate.Po
+include ./$(DEPDIR)/libags_audio_a-ags_sndfile.Po
+include ./$(DEPDIR)/libags_audio_a-ags_start_devout.Po
+include ./$(DEPDIR)/libags_audio_a-ags_stream.Po
+include ./$(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_stream_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_stream_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_stream_recycling.Po
+include ./$(DEPDIR)/libags_audio_a-ags_synths.Po
+include ./$(DEPDIR)/libags_audio_a-ags_task.Po
+include ./$(DEPDIR)/libags_audio_a-ags_timestamp.Po
+include ./$(DEPDIR)/libags_audio_a-ags_timestamp_factory.Po
+include ./$(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Po
+include ./$(DEPDIR)/libags_audio_a-ags_volume_channel.Po
+include ./$(DEPDIR)/libags_audio_a-ags_volume_channel_run.Po
+include ./$(DEPDIR)/libags_audio_a-ags_volume_recycling.Po
+include ./$(DEPDIR)/libags_gui_a-ags_cartesian.Po
+include ./$(DEPDIR)/libags_gui_a-ags_dial.Po
+include ./$(DEPDIR)/libags_gui_a-ags_expander.Po
+include ./$(DEPDIR)/libags_gui_a-ags_expander_set.Po
+include ./$(DEPDIR)/libags_gui_a-ags_hindicator.Po
+include ./$(DEPDIR)/libags_gui_a-ags_htimebar.Po
+include ./$(DEPDIR)/libags_gui_a-ags_indicator.Po
+include ./$(DEPDIR)/libags_gui_a-ags_led.Po
+include ./$(DEPDIR)/libags_gui_a-ags_menu.Po
+include ./$(DEPDIR)/libags_gui_a-ags_menu_item.Po
+include ./$(DEPDIR)/libags_gui_a-ags_option_menu.Po
+include ./$(DEPDIR)/libags_gui_a-ags_ruler.Po
+include ./$(DEPDIR)/libags_gui_a-ags_segment.Po
+include ./$(DEPDIR)/libags_gui_a-ags_table.Po
+include ./$(DEPDIR)/libags_gui_a-ags_timebar.Po
+include ./$(DEPDIR)/libags_gui_a-ags_vindicator.Po
+include ./$(DEPDIR)/libags_gui_a-ags_waveform.Po
+include ./$(DEPDIR)/libags_thread_a-ags_async_queue.Po
+include ./$(DEPDIR)/libags_thread_a-ags_audio_loop.Po
+include ./$(DEPDIR)/libags_thread_a-ags_autosave_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_devout_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_export_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_gui_task_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_gui_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_iterator_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_record_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_recycling_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Po
+include ./$(DEPDIR)/libags_thread_a-ags_returnable_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_single_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_task_thread.Po
+include ./$(DEPDIR)/libags_thread_a-ags_thread-posix.Po
+include ./$(DEPDIR)/libags_thread_a-ags_thread_pool.Po
+include ./$(DEPDIR)/libags_thread_a-ags_timestamp_thread.Po
+
+.c.o:
+ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# $(AM_V_CC)source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# $(AM_V_CC)source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+# $(AM_V_CC)source='$<' object='$@' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $<
+
+libags_a-ags_id_generator.o: src/ags/util/ags_id_generator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_id_generator.o -MD -MP -MF $(DEPDIR)/libags_a-ags_id_generator.Tpo -c -o libags_a-ags_id_generator.o `test -f 'src/ags/util/ags_id_generator.c' || echo '$(srcdir)/'`src/ags/util/ags_id_generator.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_id_generator.Tpo $(DEPDIR)/libags_a-ags_id_generator.Po
+# $(AM_V_CC)source='src/ags/util/ags_id_generator.c' object='libags_a-ags_id_generator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_id_generator.o `test -f 'src/ags/util/ags_id_generator.c' || echo '$(srcdir)/'`src/ags/util/ags_id_generator.c
+
+libags_a-ags_id_generator.obj: src/ags/util/ags_id_generator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_id_generator.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_id_generator.Tpo -c -o libags_a-ags_id_generator.obj `if test -f 'src/ags/util/ags_id_generator.c'; then $(CYGPATH_W) 'src/ags/util/ags_id_generator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/util/ags_id_generator.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_id_generator.Tpo $(DEPDIR)/libags_a-ags_id_generator.Po
+# $(AM_V_CC)source='src/ags/util/ags_id_generator.c' object='libags_a-ags_id_generator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_id_generator.obj `if test -f 'src/ags/util/ags_id_generator.c'; then $(CYGPATH_W) 'src/ags/util/ags_id_generator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/util/ags_id_generator.c'; fi`
+
+libags_a-ags_connectable.o: src/ags-lib/object/ags_connectable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_connectable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_connectable.Tpo -c -o libags_a-ags_connectable.o `test -f 'src/ags-lib/object/ags_connectable.c' || echo '$(srcdir)/'`src/ags-lib/object/ags_connectable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_connectable.Tpo $(DEPDIR)/libags_a-ags_connectable.Po
+# $(AM_V_CC)source='src/ags-lib/object/ags_connectable.c' object='libags_a-ags_connectable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_connectable.o `test -f 'src/ags-lib/object/ags_connectable.c' || echo '$(srcdir)/'`src/ags-lib/object/ags_connectable.c
+
+libags_a-ags_connectable.obj: src/ags-lib/object/ags_connectable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_connectable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_connectable.Tpo -c -o libags_a-ags_connectable.obj `if test -f 'src/ags-lib/object/ags_connectable.c'; then $(CYGPATH_W) 'src/ags-lib/object/ags_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags-lib/object/ags_connectable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_connectable.Tpo $(DEPDIR)/libags_a-ags_connectable.Po
+# $(AM_V_CC)source='src/ags-lib/object/ags_connectable.c' object='libags_a-ags_connectable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_connectable.obj `if test -f 'src/ags-lib/object/ags_connectable.c'; then $(CYGPATH_W) 'src/ags-lib/object/ags_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags-lib/object/ags_connectable.c'; fi`
+
+libags_a-ags_combo_box_text.o: src/ags/lib/ags_combo_box_text.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_combo_box_text.o -MD -MP -MF $(DEPDIR)/libags_a-ags_combo_box_text.Tpo -c -o libags_a-ags_combo_box_text.o `test -f 'src/ags/lib/ags_combo_box_text.c' || echo '$(srcdir)/'`src/ags/lib/ags_combo_box_text.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_combo_box_text.Tpo $(DEPDIR)/libags_a-ags_combo_box_text.Po
+# $(AM_V_CC)source='src/ags/lib/ags_combo_box_text.c' object='libags_a-ags_combo_box_text.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_combo_box_text.o `test -f 'src/ags/lib/ags_combo_box_text.c' || echo '$(srcdir)/'`src/ags/lib/ags_combo_box_text.c
+
+libags_a-ags_combo_box_text.obj: src/ags/lib/ags_combo_box_text.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_combo_box_text.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_combo_box_text.Tpo -c -o libags_a-ags_combo_box_text.obj `if test -f 'src/ags/lib/ags_combo_box_text.c'; then $(CYGPATH_W) 'src/ags/lib/ags_combo_box_text.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_combo_box_text.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_combo_box_text.Tpo $(DEPDIR)/libags_a-ags_combo_box_text.Po
+# $(AM_V_CC)source='src/ags/lib/ags_combo_box_text.c' object='libags_a-ags_combo_box_text.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_combo_box_text.obj `if test -f 'src/ags/lib/ags_combo_box_text.c'; then $(CYGPATH_W) 'src/ags/lib/ags_combo_box_text.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_combo_box_text.c'; fi`
+
+libags_a-ags_container.o: src/ags/lib/ags_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_container.o -MD -MP -MF $(DEPDIR)/libags_a-ags_container.Tpo -c -o libags_a-ags_container.o `test -f 'src/ags/lib/ags_container.c' || echo '$(srcdir)/'`src/ags/lib/ags_container.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_container.Tpo $(DEPDIR)/libags_a-ags_container.Po
+# $(AM_V_CC)source='src/ags/lib/ags_container.c' object='libags_a-ags_container.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_container.o `test -f 'src/ags/lib/ags_container.c' || echo '$(srcdir)/'`src/ags/lib/ags_container.c
+
+libags_a-ags_container.obj: src/ags/lib/ags_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_container.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_container.Tpo -c -o libags_a-ags_container.obj `if test -f 'src/ags/lib/ags_container.c'; then $(CYGPATH_W) 'src/ags/lib/ags_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_container.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_container.Tpo $(DEPDIR)/libags_a-ags_container.Po
+# $(AM_V_CC)source='src/ags/lib/ags_container.c' object='libags_a-ags_container.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_container.obj `if test -f 'src/ags/lib/ags_container.c'; then $(CYGPATH_W) 'src/ags/lib/ags_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_container.c'; fi`
+
+libags_a-ags_list.o: src/ags/lib/ags_list.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_list.o -MD -MP -MF $(DEPDIR)/libags_a-ags_list.Tpo -c -o libags_a-ags_list.o `test -f 'src/ags/lib/ags_list.c' || echo '$(srcdir)/'`src/ags/lib/ags_list.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_list.Tpo $(DEPDIR)/libags_a-ags_list.Po
+# $(AM_V_CC)source='src/ags/lib/ags_list.c' object='libags_a-ags_list.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_list.o `test -f 'src/ags/lib/ags_list.c' || echo '$(srcdir)/'`src/ags/lib/ags_list.c
+
+libags_a-ags_list.obj: src/ags/lib/ags_list.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_list.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_list.Tpo -c -o libags_a-ags_list.obj `if test -f 'src/ags/lib/ags_list.c'; then $(CYGPATH_W) 'src/ags/lib/ags_list.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_list.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_list.Tpo $(DEPDIR)/libags_a-ags_list.Po
+# $(AM_V_CC)source='src/ags/lib/ags_list.c' object='libags_a-ags_list.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_list.obj `if test -f 'src/ags/lib/ags_list.c'; then $(CYGPATH_W) 'src/ags/lib/ags_list.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_list.c'; fi`
+
+libags_a-ags_log.o: src/ags/lib/ags_log.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_log.o -MD -MP -MF $(DEPDIR)/libags_a-ags_log.Tpo -c -o libags_a-ags_log.o `test -f 'src/ags/lib/ags_log.c' || echo '$(srcdir)/'`src/ags/lib/ags_log.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_log.Tpo $(DEPDIR)/libags_a-ags_log.Po
+# $(AM_V_CC)source='src/ags/lib/ags_log.c' object='libags_a-ags_log.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_log.o `test -f 'src/ags/lib/ags_log.c' || echo '$(srcdir)/'`src/ags/lib/ags_log.c
+
+libags_a-ags_log.obj: src/ags/lib/ags_log.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_log.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_log.Tpo -c -o libags_a-ags_log.obj `if test -f 'src/ags/lib/ags_log.c'; then $(CYGPATH_W) 'src/ags/lib/ags_log.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_log.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_log.Tpo $(DEPDIR)/libags_a-ags_log.Po
+# $(AM_V_CC)source='src/ags/lib/ags_log.c' object='libags_a-ags_log.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_log.obj `if test -f 'src/ags/lib/ags_log.c'; then $(CYGPATH_W) 'src/ags/lib/ags_log.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_log.c'; fi`
+
+libags_a-ags_parameter.o: src/ags/lib/ags_parameter.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_parameter.o -MD -MP -MF $(DEPDIR)/libags_a-ags_parameter.Tpo -c -o libags_a-ags_parameter.o `test -f 'src/ags/lib/ags_parameter.c' || echo '$(srcdir)/'`src/ags/lib/ags_parameter.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_parameter.Tpo $(DEPDIR)/libags_a-ags_parameter.Po
+# $(AM_V_CC)source='src/ags/lib/ags_parameter.c' object='libags_a-ags_parameter.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_parameter.o `test -f 'src/ags/lib/ags_parameter.c' || echo '$(srcdir)/'`src/ags/lib/ags_parameter.c
+
+libags_a-ags_parameter.obj: src/ags/lib/ags_parameter.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_parameter.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_parameter.Tpo -c -o libags_a-ags_parameter.obj `if test -f 'src/ags/lib/ags_parameter.c'; then $(CYGPATH_W) 'src/ags/lib/ags_parameter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_parameter.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_parameter.Tpo $(DEPDIR)/libags_a-ags_parameter.Po
+# $(AM_V_CC)source='src/ags/lib/ags_parameter.c' object='libags_a-ags_parameter.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_parameter.obj `if test -f 'src/ags/lib/ags_parameter.c'; then $(CYGPATH_W) 'src/ags/lib/ags_parameter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_parameter.c'; fi`
+
+libags_a-ags_applicable.o: src/ags/object/ags_applicable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_applicable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_applicable.Tpo -c -o libags_a-ags_applicable.o `test -f 'src/ags/object/ags_applicable.c' || echo '$(srcdir)/'`src/ags/object/ags_applicable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_applicable.Tpo $(DEPDIR)/libags_a-ags_applicable.Po
+# $(AM_V_CC)source='src/ags/object/ags_applicable.c' object='libags_a-ags_applicable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_applicable.o `test -f 'src/ags/object/ags_applicable.c' || echo '$(srcdir)/'`src/ags/object/ags_applicable.c
+
+libags_a-ags_applicable.obj: src/ags/object/ags_applicable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_applicable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_applicable.Tpo -c -o libags_a-ags_applicable.obj `if test -f 'src/ags/object/ags_applicable.c'; then $(CYGPATH_W) 'src/ags/object/ags_applicable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_applicable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_applicable.Tpo $(DEPDIR)/libags_a-ags_applicable.Po
+# $(AM_V_CC)source='src/ags/object/ags_applicable.c' object='libags_a-ags_applicable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_applicable.obj `if test -f 'src/ags/object/ags_applicable.c'; then $(CYGPATH_W) 'src/ags/object/ags_applicable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_applicable.c'; fi`
+
+libags_a-ags_countable.o: src/ags/object/ags_countable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_countable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_countable.Tpo -c -o libags_a-ags_countable.o `test -f 'src/ags/object/ags_countable.c' || echo '$(srcdir)/'`src/ags/object/ags_countable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_countable.Tpo $(DEPDIR)/libags_a-ags_countable.Po
+# $(AM_V_CC)source='src/ags/object/ags_countable.c' object='libags_a-ags_countable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_countable.o `test -f 'src/ags/object/ags_countable.c' || echo '$(srcdir)/'`src/ags/object/ags_countable.c
+
+libags_a-ags_countable.obj: src/ags/object/ags_countable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_countable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_countable.Tpo -c -o libags_a-ags_countable.obj `if test -f 'src/ags/object/ags_countable.c'; then $(CYGPATH_W) 'src/ags/object/ags_countable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_countable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_countable.Tpo $(DEPDIR)/libags_a-ags_countable.Po
+# $(AM_V_CC)source='src/ags/object/ags_countable.c' object='libags_a-ags_countable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_countable.obj `if test -f 'src/ags/object/ags_countable.c'; then $(CYGPATH_W) 'src/ags/object/ags_countable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_countable.c'; fi`
+
+libags_a-ags_dynamic_connectable.o: src/ags/object/ags_dynamic_connectable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_dynamic_connectable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo -c -o libags_a-ags_dynamic_connectable.o `test -f 'src/ags/object/ags_dynamic_connectable.c' || echo '$(srcdir)/'`src/ags/object/ags_dynamic_connectable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo $(DEPDIR)/libags_a-ags_dynamic_connectable.Po
+# $(AM_V_CC)source='src/ags/object/ags_dynamic_connectable.c' object='libags_a-ags_dynamic_connectable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_dynamic_connectable.o `test -f 'src/ags/object/ags_dynamic_connectable.c' || echo '$(srcdir)/'`src/ags/object/ags_dynamic_connectable.c
+
+libags_a-ags_dynamic_connectable.obj: src/ags/object/ags_dynamic_connectable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_dynamic_connectable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo -c -o libags_a-ags_dynamic_connectable.obj `if test -f 'src/ags/object/ags_dynamic_connectable.c'; then $(CYGPATH_W) 'src/ags/object/ags_dynamic_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_dynamic_connectable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo $(DEPDIR)/libags_a-ags_dynamic_connectable.Po
+# $(AM_V_CC)source='src/ags/object/ags_dynamic_connectable.c' object='libags_a-ags_dynamic_connectable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_dynamic_connectable.obj `if test -f 'src/ags/object/ags_dynamic_connectable.c'; then $(CYGPATH_W) 'src/ags/object/ags_dynamic_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_dynamic_connectable.c'; fi`
+
+libags_a-ags_effect.o: src/ags/object/ags_effect.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_effect.o -MD -MP -MF $(DEPDIR)/libags_a-ags_effect.Tpo -c -o libags_a-ags_effect.o `test -f 'src/ags/object/ags_effect.c' || echo '$(srcdir)/'`src/ags/object/ags_effect.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_effect.Tpo $(DEPDIR)/libags_a-ags_effect.Po
+# $(AM_V_CC)source='src/ags/object/ags_effect.c' object='libags_a-ags_effect.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_effect.o `test -f 'src/ags/object/ags_effect.c' || echo '$(srcdir)/'`src/ags/object/ags_effect.c
+
+libags_a-ags_effect.obj: src/ags/object/ags_effect.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_effect.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_effect.Tpo -c -o libags_a-ags_effect.obj `if test -f 'src/ags/object/ags_effect.c'; then $(CYGPATH_W) 'src/ags/object/ags_effect.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_effect.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_effect.Tpo $(DEPDIR)/libags_a-ags_effect.Po
+# $(AM_V_CC)source='src/ags/object/ags_effect.c' object='libags_a-ags_effect.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_effect.obj `if test -f 'src/ags/object/ags_effect.c'; then $(CYGPATH_W) 'src/ags/object/ags_effect.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_effect.c'; fi`
+
+libags_a-ags_main_loop.o: src/ags/object/ags_main_loop.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_main_loop.o -MD -MP -MF $(DEPDIR)/libags_a-ags_main_loop.Tpo -c -o libags_a-ags_main_loop.o `test -f 'src/ags/object/ags_main_loop.c' || echo '$(srcdir)/'`src/ags/object/ags_main_loop.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_main_loop.Tpo $(DEPDIR)/libags_a-ags_main_loop.Po
+# $(AM_V_CC)source='src/ags/object/ags_main_loop.c' object='libags_a-ags_main_loop.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_main_loop.o `test -f 'src/ags/object/ags_main_loop.c' || echo '$(srcdir)/'`src/ags/object/ags_main_loop.c
+
+libags_a-ags_main_loop.obj: src/ags/object/ags_main_loop.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_main_loop.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_main_loop.Tpo -c -o libags_a-ags_main_loop.obj `if test -f 'src/ags/object/ags_main_loop.c'; then $(CYGPATH_W) 'src/ags/object/ags_main_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_main_loop.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_main_loop.Tpo $(DEPDIR)/libags_a-ags_main_loop.Po
+# $(AM_V_CC)source='src/ags/object/ags_main_loop.c' object='libags_a-ags_main_loop.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_main_loop.obj `if test -f 'src/ags/object/ags_main_loop.c'; then $(CYGPATH_W) 'src/ags/object/ags_main_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_main_loop.c'; fi`
+
+libags_a-ags_marshal.o: src/ags/object/ags_marshal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_marshal.o -MD -MP -MF $(DEPDIR)/libags_a-ags_marshal.Tpo -c -o libags_a-ags_marshal.o `test -f 'src/ags/object/ags_marshal.c' || echo '$(srcdir)/'`src/ags/object/ags_marshal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_marshal.Tpo $(DEPDIR)/libags_a-ags_marshal.Po
+# $(AM_V_CC)source='src/ags/object/ags_marshal.c' object='libags_a-ags_marshal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_marshal.o `test -f 'src/ags/object/ags_marshal.c' || echo '$(srcdir)/'`src/ags/object/ags_marshal.c
+
+libags_a-ags_marshal.obj: src/ags/object/ags_marshal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_marshal.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_marshal.Tpo -c -o libags_a-ags_marshal.obj `if test -f 'src/ags/object/ags_marshal.c'; then $(CYGPATH_W) 'src/ags/object/ags_marshal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_marshal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_marshal.Tpo $(DEPDIR)/libags_a-ags_marshal.Po
+# $(AM_V_CC)source='src/ags/object/ags_marshal.c' object='libags_a-ags_marshal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_marshal.obj `if test -f 'src/ags/object/ags_marshal.c'; then $(CYGPATH_W) 'src/ags/object/ags_marshal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_marshal.c'; fi`
+
+libags_a-ags_mutable.o: src/ags/object/ags_mutable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_mutable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_mutable.Tpo -c -o libags_a-ags_mutable.o `test -f 'src/ags/object/ags_mutable.c' || echo '$(srcdir)/'`src/ags/object/ags_mutable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_mutable.Tpo $(DEPDIR)/libags_a-ags_mutable.Po
+# $(AM_V_CC)source='src/ags/object/ags_mutable.c' object='libags_a-ags_mutable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_mutable.o `test -f 'src/ags/object/ags_mutable.c' || echo '$(srcdir)/'`src/ags/object/ags_mutable.c
+
+libags_a-ags_mutable.obj: src/ags/object/ags_mutable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_mutable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_mutable.Tpo -c -o libags_a-ags_mutable.obj `if test -f 'src/ags/object/ags_mutable.c'; then $(CYGPATH_W) 'src/ags/object/ags_mutable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_mutable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_mutable.Tpo $(DEPDIR)/libags_a-ags_mutable.Po
+# $(AM_V_CC)source='src/ags/object/ags_mutable.c' object='libags_a-ags_mutable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_mutable.obj `if test -f 'src/ags/object/ags_mutable.c'; then $(CYGPATH_W) 'src/ags/object/ags_mutable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_mutable.c'; fi`
+
+libags_a-ags_packable.o: src/ags/object/ags_packable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_packable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_packable.Tpo -c -o libags_a-ags_packable.o `test -f 'src/ags/object/ags_packable.c' || echo '$(srcdir)/'`src/ags/object/ags_packable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_packable.Tpo $(DEPDIR)/libags_a-ags_packable.Po
+# $(AM_V_CC)source='src/ags/object/ags_packable.c' object='libags_a-ags_packable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_packable.o `test -f 'src/ags/object/ags_packable.c' || echo '$(srcdir)/'`src/ags/object/ags_packable.c
+
+libags_a-ags_packable.obj: src/ags/object/ags_packable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_packable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_packable.Tpo -c -o libags_a-ags_packable.obj `if test -f 'src/ags/object/ags_packable.c'; then $(CYGPATH_W) 'src/ags/object/ags_packable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_packable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_packable.Tpo $(DEPDIR)/libags_a-ags_packable.Po
+# $(AM_V_CC)source='src/ags/object/ags_packable.c' object='libags_a-ags_packable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_packable.obj `if test -f 'src/ags/object/ags_packable.c'; then $(CYGPATH_W) 'src/ags/object/ags_packable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_packable.c'; fi`
+
+libags_a-ags_persistable.o: src/ags/object/ags_persistable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_persistable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_persistable.Tpo -c -o libags_a-ags_persistable.o `test -f 'src/ags/object/ags_persistable.c' || echo '$(srcdir)/'`src/ags/object/ags_persistable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_persistable.Tpo $(DEPDIR)/libags_a-ags_persistable.Po
+# $(AM_V_CC)source='src/ags/object/ags_persistable.c' object='libags_a-ags_persistable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_persistable.o `test -f 'src/ags/object/ags_persistable.c' || echo '$(srcdir)/'`src/ags/object/ags_persistable.c
+
+libags_a-ags_persistable.obj: src/ags/object/ags_persistable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_persistable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_persistable.Tpo -c -o libags_a-ags_persistable.obj `if test -f 'src/ags/object/ags_persistable.c'; then $(CYGPATH_W) 'src/ags/object/ags_persistable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_persistable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_persistable.Tpo $(DEPDIR)/libags_a-ags_persistable.Po
+# $(AM_V_CC)source='src/ags/object/ags_persistable.c' object='libags_a-ags_persistable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_persistable.obj `if test -f 'src/ags/object/ags_persistable.c'; then $(CYGPATH_W) 'src/ags/object/ags_persistable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_persistable.c'; fi`
+
+libags_a-ags_plugin.o: src/ags/object/ags_plugin.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_plugin.o -MD -MP -MF $(DEPDIR)/libags_a-ags_plugin.Tpo -c -o libags_a-ags_plugin.o `test -f 'src/ags/object/ags_plugin.c' || echo '$(srcdir)/'`src/ags/object/ags_plugin.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_plugin.Tpo $(DEPDIR)/libags_a-ags_plugin.Po
+# $(AM_V_CC)source='src/ags/object/ags_plugin.c' object='libags_a-ags_plugin.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_plugin.o `test -f 'src/ags/object/ags_plugin.c' || echo '$(srcdir)/'`src/ags/object/ags_plugin.c
+
+libags_a-ags_plugin.obj: src/ags/object/ags_plugin.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_plugin.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_plugin.Tpo -c -o libags_a-ags_plugin.obj `if test -f 'src/ags/object/ags_plugin.c'; then $(CYGPATH_W) 'src/ags/object/ags_plugin.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_plugin.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_plugin.Tpo $(DEPDIR)/libags_a-ags_plugin.Po
+# $(AM_V_CC)source='src/ags/object/ags_plugin.c' object='libags_a-ags_plugin.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_plugin.obj `if test -f 'src/ags/object/ags_plugin.c'; then $(CYGPATH_W) 'src/ags/object/ags_plugin.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_plugin.c'; fi`
+
+libags_a-ags_portlet.o: src/ags/object/ags_portlet.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_portlet.o -MD -MP -MF $(DEPDIR)/libags_a-ags_portlet.Tpo -c -o libags_a-ags_portlet.o `test -f 'src/ags/object/ags_portlet.c' || echo '$(srcdir)/'`src/ags/object/ags_portlet.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_portlet.Tpo $(DEPDIR)/libags_a-ags_portlet.Po
+# $(AM_V_CC)source='src/ags/object/ags_portlet.c' object='libags_a-ags_portlet.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_portlet.o `test -f 'src/ags/object/ags_portlet.c' || echo '$(srcdir)/'`src/ags/object/ags_portlet.c
+
+libags_a-ags_portlet.obj: src/ags/object/ags_portlet.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_portlet.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_portlet.Tpo -c -o libags_a-ags_portlet.obj `if test -f 'src/ags/object/ags_portlet.c'; then $(CYGPATH_W) 'src/ags/object/ags_portlet.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_portlet.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_portlet.Tpo $(DEPDIR)/libags_a-ags_portlet.Po
+# $(AM_V_CC)source='src/ags/object/ags_portlet.c' object='libags_a-ags_portlet.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_portlet.obj `if test -f 'src/ags/object/ags_portlet.c'; then $(CYGPATH_W) 'src/ags/object/ags_portlet.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_portlet.c'; fi`
+
+libags_a-ags_runnable.o: src/ags/object/ags_runnable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_runnable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_runnable.Tpo -c -o libags_a-ags_runnable.o `test -f 'src/ags/object/ags_runnable.c' || echo '$(srcdir)/'`src/ags/object/ags_runnable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_runnable.Tpo $(DEPDIR)/libags_a-ags_runnable.Po
+# $(AM_V_CC)source='src/ags/object/ags_runnable.c' object='libags_a-ags_runnable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_runnable.o `test -f 'src/ags/object/ags_runnable.c' || echo '$(srcdir)/'`src/ags/object/ags_runnable.c
+
+libags_a-ags_runnable.obj: src/ags/object/ags_runnable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_runnable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_runnable.Tpo -c -o libags_a-ags_runnable.obj `if test -f 'src/ags/object/ags_runnable.c'; then $(CYGPATH_W) 'src/ags/object/ags_runnable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_runnable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_runnable.Tpo $(DEPDIR)/libags_a-ags_runnable.Po
+# $(AM_V_CC)source='src/ags/object/ags_runnable.c' object='libags_a-ags_runnable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_runnable.obj `if test -f 'src/ags/object/ags_runnable.c'; then $(CYGPATH_W) 'src/ags/object/ags_runnable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_runnable.c'; fi`
+
+libags_a-ags_seekable.o: src/ags/object/ags_seekable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_seekable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_seekable.Tpo -c -o libags_a-ags_seekable.o `test -f 'src/ags/object/ags_seekable.c' || echo '$(srcdir)/'`src/ags/object/ags_seekable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_seekable.Tpo $(DEPDIR)/libags_a-ags_seekable.Po
+# $(AM_V_CC)source='src/ags/object/ags_seekable.c' object='libags_a-ags_seekable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_seekable.o `test -f 'src/ags/object/ags_seekable.c' || echo '$(srcdir)/'`src/ags/object/ags_seekable.c
+
+libags_a-ags_seekable.obj: src/ags/object/ags_seekable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_seekable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_seekable.Tpo -c -o libags_a-ags_seekable.obj `if test -f 'src/ags/object/ags_seekable.c'; then $(CYGPATH_W) 'src/ags/object/ags_seekable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_seekable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_seekable.Tpo $(DEPDIR)/libags_a-ags_seekable.Po
+# $(AM_V_CC)source='src/ags/object/ags_seekable.c' object='libags_a-ags_seekable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_seekable.obj `if test -f 'src/ags/object/ags_seekable.c'; then $(CYGPATH_W) 'src/ags/object/ags_seekable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_seekable.c'; fi`
+
+libags_a-ags_soundcard.o: src/ags/object/ags_soundcard.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_soundcard.o -MD -MP -MF $(DEPDIR)/libags_a-ags_soundcard.Tpo -c -o libags_a-ags_soundcard.o `test -f 'src/ags/object/ags_soundcard.c' || echo '$(srcdir)/'`src/ags/object/ags_soundcard.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_soundcard.Tpo $(DEPDIR)/libags_a-ags_soundcard.Po
+# $(AM_V_CC)source='src/ags/object/ags_soundcard.c' object='libags_a-ags_soundcard.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_soundcard.o `test -f 'src/ags/object/ags_soundcard.c' || echo '$(srcdir)/'`src/ags/object/ags_soundcard.c
+
+libags_a-ags_soundcard.obj: src/ags/object/ags_soundcard.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_soundcard.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_soundcard.Tpo -c -o libags_a-ags_soundcard.obj `if test -f 'src/ags/object/ags_soundcard.c'; then $(CYGPATH_W) 'src/ags/object/ags_soundcard.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_soundcard.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_soundcard.Tpo $(DEPDIR)/libags_a-ags_soundcard.Po
+# $(AM_V_CC)source='src/ags/object/ags_soundcard.c' object='libags_a-ags_soundcard.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_soundcard.obj `if test -f 'src/ags/object/ags_soundcard.c'; then $(CYGPATH_W) 'src/ags/object/ags_soundcard.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_soundcard.c'; fi`
+
+libags_a-ags_stackable.o: src/ags/object/ags_stackable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_stackable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_stackable.Tpo -c -o libags_a-ags_stackable.o `test -f 'src/ags/object/ags_stackable.c' || echo '$(srcdir)/'`src/ags/object/ags_stackable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_stackable.Tpo $(DEPDIR)/libags_a-ags_stackable.Po
+# $(AM_V_CC)source='src/ags/object/ags_stackable.c' object='libags_a-ags_stackable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_stackable.o `test -f 'src/ags/object/ags_stackable.c' || echo '$(srcdir)/'`src/ags/object/ags_stackable.c
+
+libags_a-ags_stackable.obj: src/ags/object/ags_stackable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_stackable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_stackable.Tpo -c -o libags_a-ags_stackable.obj `if test -f 'src/ags/object/ags_stackable.c'; then $(CYGPATH_W) 'src/ags/object/ags_stackable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_stackable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_stackable.Tpo $(DEPDIR)/libags_a-ags_stackable.Po
+# $(AM_V_CC)source='src/ags/object/ags_stackable.c' object='libags_a-ags_stackable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_stackable.obj `if test -f 'src/ags/object/ags_stackable.c'; then $(CYGPATH_W) 'src/ags/object/ags_stackable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_stackable.c'; fi`
+
+libags_a-ags_tactable.o: src/ags/object/ags_tactable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tactable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_tactable.Tpo -c -o libags_a-ags_tactable.o `test -f 'src/ags/object/ags_tactable.c' || echo '$(srcdir)/'`src/ags/object/ags_tactable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tactable.Tpo $(DEPDIR)/libags_a-ags_tactable.Po
+# $(AM_V_CC)source='src/ags/object/ags_tactable.c' object='libags_a-ags_tactable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tactable.o `test -f 'src/ags/object/ags_tactable.c' || echo '$(srcdir)/'`src/ags/object/ags_tactable.c
+
+libags_a-ags_tactable.obj: src/ags/object/ags_tactable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tactable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_tactable.Tpo -c -o libags_a-ags_tactable.obj `if test -f 'src/ags/object/ags_tactable.c'; then $(CYGPATH_W) 'src/ags/object/ags_tactable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tactable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tactable.Tpo $(DEPDIR)/libags_a-ags_tactable.Po
+# $(AM_V_CC)source='src/ags/object/ags_tactable.c' object='libags_a-ags_tactable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tactable.obj `if test -f 'src/ags/object/ags_tactable.c'; then $(CYGPATH_W) 'src/ags/object/ags_tactable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tactable.c'; fi`
+
+libags_a-ags_tree_iterator.o: src/ags/object/ags_tree_iterator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tree_iterator.o -MD -MP -MF $(DEPDIR)/libags_a-ags_tree_iterator.Tpo -c -o libags_a-ags_tree_iterator.o `test -f 'src/ags/object/ags_tree_iterator.c' || echo '$(srcdir)/'`src/ags/object/ags_tree_iterator.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tree_iterator.Tpo $(DEPDIR)/libags_a-ags_tree_iterator.Po
+# $(AM_V_CC)source='src/ags/object/ags_tree_iterator.c' object='libags_a-ags_tree_iterator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tree_iterator.o `test -f 'src/ags/object/ags_tree_iterator.c' || echo '$(srcdir)/'`src/ags/object/ags_tree_iterator.c
+
+libags_a-ags_tree_iterator.obj: src/ags/object/ags_tree_iterator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tree_iterator.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_tree_iterator.Tpo -c -o libags_a-ags_tree_iterator.obj `if test -f 'src/ags/object/ags_tree_iterator.c'; then $(CYGPATH_W) 'src/ags/object/ags_tree_iterator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tree_iterator.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tree_iterator.Tpo $(DEPDIR)/libags_a-ags_tree_iterator.Po
+# $(AM_V_CC)source='src/ags/object/ags_tree_iterator.c' object='libags_a-ags_tree_iterator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tree_iterator.obj `if test -f 'src/ags/object/ags_tree_iterator.c'; then $(CYGPATH_W) 'src/ags/object/ags_tree_iterator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tree_iterator.c'; fi`
+
+libags_audio_a-ags_garbage_collector.o: src/ags/audio/ags_garbage_collector.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_garbage_collector.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo -c -o libags_audio_a-ags_garbage_collector.o `test -f 'src/ags/audio/ags_garbage_collector.c' || echo '$(srcdir)/'`src/ags/audio/ags_garbage_collector.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo $(DEPDIR)/libags_audio_a-ags_garbage_collector.Po
+# $(AM_V_CC)source='src/ags/audio/ags_garbage_collector.c' object='libags_audio_a-ags_garbage_collector.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_garbage_collector.o `test -f 'src/ags/audio/ags_garbage_collector.c' || echo '$(srcdir)/'`src/ags/audio/ags_garbage_collector.c
+
+libags_audio_a-ags_garbage_collector.obj: src/ags/audio/ags_garbage_collector.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_garbage_collector.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo -c -o libags_audio_a-ags_garbage_collector.obj `if test -f 'src/ags/audio/ags_garbage_collector.c'; then $(CYGPATH_W) 'src/ags/audio/ags_garbage_collector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_garbage_collector.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo $(DEPDIR)/libags_audio_a-ags_garbage_collector.Po
+# $(AM_V_CC)source='src/ags/audio/ags_garbage_collector.c' object='libags_audio_a-ags_garbage_collector.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_garbage_collector.obj `if test -f 'src/ags/audio/ags_garbage_collector.c'; then $(CYGPATH_W) 'src/ags/audio/ags_garbage_collector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_garbage_collector.c'; fi`
+
+libags_audio_a-ags_libao.o: src/ags/audio/ags_libao.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_libao.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_libao.Tpo -c -o libags_audio_a-ags_libao.o `test -f 'src/ags/audio/ags_libao.c' || echo '$(srcdir)/'`src/ags/audio/ags_libao.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_libao.Tpo $(DEPDIR)/libags_audio_a-ags_libao.Po
+# $(AM_V_CC)source='src/ags/audio/ags_libao.c' object='libags_audio_a-ags_libao.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_libao.o `test -f 'src/ags/audio/ags_libao.c' || echo '$(srcdir)/'`src/ags/audio/ags_libao.c
+
+libags_audio_a-ags_libao.obj: src/ags/audio/ags_libao.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_libao.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_libao.Tpo -c -o libags_audio_a-ags_libao.obj `if test -f 'src/ags/audio/ags_libao.c'; then $(CYGPATH_W) 'src/ags/audio/ags_libao.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_libao.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_libao.Tpo $(DEPDIR)/libags_audio_a-ags_libao.Po
+# $(AM_V_CC)source='src/ags/audio/ags_libao.c' object='libags_audio_a-ags_libao.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_libao.obj `if test -f 'src/ags/audio/ags_libao.c'; then $(CYGPATH_W) 'src/ags/audio/ags_libao.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_libao.c'; fi`
+
+libags_audio_a-ags_timestamp.o: src/ags/audio/ags_timestamp.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo -c -o libags_audio_a-ags_timestamp.o `test -f 'src/ags/audio/ags_timestamp.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp.Po
+# $(AM_V_CC)source='src/ags/audio/ags_timestamp.c' object='libags_audio_a-ags_timestamp.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp.o `test -f 'src/ags/audio/ags_timestamp.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp.c
+
+libags_audio_a-ags_timestamp.obj: src/ags/audio/ags_timestamp.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo -c -o libags_audio_a-ags_timestamp.obj `if test -f 'src/ags/audio/ags_timestamp.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp.Po
+# $(AM_V_CC)source='src/ags/audio/ags_timestamp.c' object='libags_audio_a-ags_timestamp.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp.obj `if test -f 'src/ags/audio/ags_timestamp.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp.c'; fi`
+
+libags_audio_a-ags_timestamp_factory.o: src/ags/audio/ags_timestamp_factory.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp_factory.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo -c -o libags_audio_a-ags_timestamp_factory.o `test -f 'src/ags/audio/ags_timestamp_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp_factory.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Po
+# $(AM_V_CC)source='src/ags/audio/ags_timestamp_factory.c' object='libags_audio_a-ags_timestamp_factory.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp_factory.o `test -f 'src/ags/audio/ags_timestamp_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp_factory.c
+
+libags_audio_a-ags_timestamp_factory.obj: src/ags/audio/ags_timestamp_factory.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp_factory.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo -c -o libags_audio_a-ags_timestamp_factory.obj `if test -f 'src/ags/audio/ags_timestamp_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp_factory.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Po
+# $(AM_V_CC)source='src/ags/audio/ags_timestamp_factory.c' object='libags_audio_a-ags_timestamp_factory.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp_factory.obj `if test -f 'src/ags/audio/ags_timestamp_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp_factory.c'; fi`
+
+libags_audio_a-ags_acceleration.o: src/ags/audio/ags_acceleration.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_acceleration.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo -c -o libags_audio_a-ags_acceleration.o `test -f 'src/ags/audio/ags_acceleration.c' || echo '$(srcdir)/'`src/ags/audio/ags_acceleration.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo $(DEPDIR)/libags_audio_a-ags_acceleration.Po
+# $(AM_V_CC)source='src/ags/audio/ags_acceleration.c' object='libags_audio_a-ags_acceleration.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_acceleration.o `test -f 'src/ags/audio/ags_acceleration.c' || echo '$(srcdir)/'`src/ags/audio/ags_acceleration.c
+
+libags_audio_a-ags_acceleration.obj: src/ags/audio/ags_acceleration.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_acceleration.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo -c -o libags_audio_a-ags_acceleration.obj `if test -f 'src/ags/audio/ags_acceleration.c'; then $(CYGPATH_W) 'src/ags/audio/ags_acceleration.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_acceleration.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo $(DEPDIR)/libags_audio_a-ags_acceleration.Po
+# $(AM_V_CC)source='src/ags/audio/ags_acceleration.c' object='libags_audio_a-ags_acceleration.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_acceleration.obj `if test -f 'src/ags/audio/ags_acceleration.c'; then $(CYGPATH_W) 'src/ags/audio/ags_acceleration.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_acceleration.c'; fi`
+
+libags_audio_a-ags_playable.o: src/ags/object/ags_playable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_playable.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_playable.Tpo -c -o libags_audio_a-ags_playable.o `test -f 'src/ags/object/ags_playable.c' || echo '$(srcdir)/'`src/ags/object/ags_playable.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_playable.Tpo $(DEPDIR)/libags_audio_a-ags_playable.Po
+# $(AM_V_CC)source='src/ags/object/ags_playable.c' object='libags_audio_a-ags_playable.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_playable.o `test -f 'src/ags/object/ags_playable.c' || echo '$(srcdir)/'`src/ags/object/ags_playable.c
+
+libags_audio_a-ags_playable.obj: src/ags/object/ags_playable.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_playable.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_playable.Tpo -c -o libags_audio_a-ags_playable.obj `if test -f 'src/ags/object/ags_playable.c'; then $(CYGPATH_W) 'src/ags/object/ags_playable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_playable.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_playable.Tpo $(DEPDIR)/libags_audio_a-ags_playable.Po
+# $(AM_V_CC)source='src/ags/object/ags_playable.c' object='libags_audio_a-ags_playable.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_playable.obj `if test -f 'src/ags/object/ags_playable.c'; then $(CYGPATH_W) 'src/ags/object/ags_playable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_playable.c'; fi`
+
+libags_audio_a-ags_audio.o: src/ags/audio/ags_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio.Tpo -c -o libags_audio_a-ags_audio.o `test -f 'src/ags/audio/ags_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio.Tpo $(DEPDIR)/libags_audio_a-ags_audio.Po
+# $(AM_V_CC)source='src/ags/audio/ags_audio.c' object='libags_audio_a-ags_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio.o `test -f 'src/ags/audio/ags_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio.c
+
+libags_audio_a-ags_audio.obj: src/ags/audio/ags_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio.Tpo -c -o libags_audio_a-ags_audio.obj `if test -f 'src/ags/audio/ags_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio.Tpo $(DEPDIR)/libags_audio_a-ags_audio.Po
+# $(AM_V_CC)source='src/ags/audio/ags_audio.c' object='libags_audio_a-ags_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio.obj `if test -f 'src/ags/audio/ags_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio.c'; fi`
+
+libags_audio_a-ags_audio_signal.o: src/ags/audio/ags_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo -c -o libags_audio_a-ags_audio_signal.o `test -f 'src/ags/audio/ags_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/ags_audio_signal.c' object='libags_audio_a-ags_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_signal.o `test -f 'src/ags/audio/ags_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio_signal.c
+
+libags_audio_a-ags_audio_signal.obj: src/ags/audio/ags_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo -c -o libags_audio_a-ags_audio_signal.obj `if test -f 'src/ags/audio/ags_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/ags_audio_signal.c' object='libags_audio_a-ags_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_signal.obj `if test -f 'src/ags/audio/ags_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio_signal.c'; fi`
+
+libags_audio_a-ags_automation.o: src/ags/audio/ags_automation.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_automation.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_automation.Tpo -c -o libags_audio_a-ags_automation.o `test -f 'src/ags/audio/ags_automation.c' || echo '$(srcdir)/'`src/ags/audio/ags_automation.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_automation.Tpo $(DEPDIR)/libags_audio_a-ags_automation.Po
+# $(AM_V_CC)source='src/ags/audio/ags_automation.c' object='libags_audio_a-ags_automation.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_automation.o `test -f 'src/ags/audio/ags_automation.c' || echo '$(srcdir)/'`src/ags/audio/ags_automation.c
+
+libags_audio_a-ags_automation.obj: src/ags/audio/ags_automation.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_automation.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_automation.Tpo -c -o libags_audio_a-ags_automation.obj `if test -f 'src/ags/audio/ags_automation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_automation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_automation.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_automation.Tpo $(DEPDIR)/libags_audio_a-ags_automation.Po
+# $(AM_V_CC)source='src/ags/audio/ags_automation.c' object='libags_audio_a-ags_automation.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_automation.obj `if test -f 'src/ags/audio/ags_automation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_automation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_automation.c'; fi`
+
+libags_audio_a-ags_channel.o: src/ags/audio/ags_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel.Tpo -c -o libags_audio_a-ags_channel.o `test -f 'src/ags/audio/ags_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel.Tpo $(DEPDIR)/libags_audio_a-ags_channel.Po
+# $(AM_V_CC)source='src/ags/audio/ags_channel.c' object='libags_audio_a-ags_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel.o `test -f 'src/ags/audio/ags_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel.c
+
+libags_audio_a-ags_channel.obj: src/ags/audio/ags_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel.Tpo -c -o libags_audio_a-ags_channel.obj `if test -f 'src/ags/audio/ags_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel.Tpo $(DEPDIR)/libags_audio_a-ags_channel.Po
+# $(AM_V_CC)source='src/ags/audio/ags_channel.c' object='libags_audio_a-ags_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel.obj `if test -f 'src/ags/audio/ags_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel.c'; fi`
+
+libags_audio_a-ags_channel_iter.o: src/ags/audio/ags_channel_iter.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_iter.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo -c -o libags_audio_a-ags_channel_iter.o `test -f 'src/ags/audio/ags_channel_iter.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel_iter.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo $(DEPDIR)/libags_audio_a-ags_channel_iter.Po
+# $(AM_V_CC)source='src/ags/audio/ags_channel_iter.c' object='libags_audio_a-ags_channel_iter.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_iter.o `test -f 'src/ags/audio/ags_channel_iter.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel_iter.c
+
+libags_audio_a-ags_channel_iter.obj: src/ags/audio/ags_channel_iter.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_iter.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo -c -o libags_audio_a-ags_channel_iter.obj `if test -f 'src/ags/audio/ags_channel_iter.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel_iter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel_iter.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo $(DEPDIR)/libags_audio_a-ags_channel_iter.Po
+# $(AM_V_CC)source='src/ags/audio/ags_channel_iter.c' object='libags_audio_a-ags_channel_iter.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_iter.obj `if test -f 'src/ags/audio/ags_channel_iter.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel_iter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel_iter.c'; fi`
+
+libags_audio_a-ags_config.o: src/ags/audio/ags_config.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_config.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_config.Tpo -c -o libags_audio_a-ags_config.o `test -f 'src/ags/audio/ags_config.c' || echo '$(srcdir)/'`src/ags/audio/ags_config.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_config.Tpo $(DEPDIR)/libags_audio_a-ags_config.Po
+# $(AM_V_CC)source='src/ags/audio/ags_config.c' object='libags_audio_a-ags_config.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_config.o `test -f 'src/ags/audio/ags_config.c' || echo '$(srcdir)/'`src/ags/audio/ags_config.c
+
+libags_audio_a-ags_config.obj: src/ags/audio/ags_config.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_config.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_config.Tpo -c -o libags_audio_a-ags_config.obj `if test -f 'src/ags/audio/ags_config.c'; then $(CYGPATH_W) 'src/ags/audio/ags_config.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_config.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_config.Tpo $(DEPDIR)/libags_audio_a-ags_config.Po
+# $(AM_V_CC)source='src/ags/audio/ags_config.c' object='libags_audio_a-ags_config.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_config.obj `if test -f 'src/ags/audio/ags_config.c'; then $(CYGPATH_W) 'src/ags/audio/ags_config.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_config.c'; fi`
+
+libags_audio_a-ags_devout.o: src/ags/audio/ags_devout.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_devout.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_devout.Tpo -c -o libags_audio_a-ags_devout.o `test -f 'src/ags/audio/ags_devout.c' || echo '$(srcdir)/'`src/ags/audio/ags_devout.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_devout.Tpo $(DEPDIR)/libags_audio_a-ags_devout.Po
+# $(AM_V_CC)source='src/ags/audio/ags_devout.c' object='libags_audio_a-ags_devout.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_devout.o `test -f 'src/ags/audio/ags_devout.c' || echo '$(srcdir)/'`src/ags/audio/ags_devout.c
+
+libags_audio_a-ags_devout.obj: src/ags/audio/ags_devout.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_devout.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_devout.Tpo -c -o libags_audio_a-ags_devout.obj `if test -f 'src/ags/audio/ags_devout.c'; then $(CYGPATH_W) 'src/ags/audio/ags_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_devout.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_devout.Tpo $(DEPDIR)/libags_audio_a-ags_devout.Po
+# $(AM_V_CC)source='src/ags/audio/ags_devout.c' object='libags_audio_a-ags_devout.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_devout.obj `if test -f 'src/ags/audio/ags_devout.c'; then $(CYGPATH_W) 'src/ags/audio/ags_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_devout.c'; fi`
+
+libags_audio_a-ags_input.o: src/ags/audio/ags_input.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_input.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_input.Tpo -c -o libags_audio_a-ags_input.o `test -f 'src/ags/audio/ags_input.c' || echo '$(srcdir)/'`src/ags/audio/ags_input.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_input.Tpo $(DEPDIR)/libags_audio_a-ags_input.Po
+# $(AM_V_CC)source='src/ags/audio/ags_input.c' object='libags_audio_a-ags_input.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_input.o `test -f 'src/ags/audio/ags_input.c' || echo '$(srcdir)/'`src/ags/audio/ags_input.c
+
+libags_audio_a-ags_input.obj: src/ags/audio/ags_input.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_input.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_input.Tpo -c -o libags_audio_a-ags_input.obj `if test -f 'src/ags/audio/ags_input.c'; then $(CYGPATH_W) 'src/ags/audio/ags_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_input.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_input.Tpo $(DEPDIR)/libags_audio_a-ags_input.Po
+# $(AM_V_CC)source='src/ags/audio/ags_input.c' object='libags_audio_a-ags_input.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_input.obj `if test -f 'src/ags/audio/ags_input.c'; then $(CYGPATH_W) 'src/ags/audio/ags_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_input.c'; fi`
+
+libags_audio_a-ags_notation.o: src/ags/audio/ags_notation.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_notation.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_notation.Tpo -c -o libags_audio_a-ags_notation.o `test -f 'src/ags/audio/ags_notation.c' || echo '$(srcdir)/'`src/ags/audio/ags_notation.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_notation.Tpo $(DEPDIR)/libags_audio_a-ags_notation.Po
+# $(AM_V_CC)source='src/ags/audio/ags_notation.c' object='libags_audio_a-ags_notation.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_notation.o `test -f 'src/ags/audio/ags_notation.c' || echo '$(srcdir)/'`src/ags/audio/ags_notation.c
+
+libags_audio_a-ags_notation.obj: src/ags/audio/ags_notation.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_notation.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_notation.Tpo -c -o libags_audio_a-ags_notation.obj `if test -f 'src/ags/audio/ags_notation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_notation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_notation.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_notation.Tpo $(DEPDIR)/libags_audio_a-ags_notation.Po
+# $(AM_V_CC)source='src/ags/audio/ags_notation.c' object='libags_audio_a-ags_notation.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_notation.obj `if test -f 'src/ags/audio/ags_notation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_notation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_notation.c'; fi`
+
+libags_audio_a-ags_note.o: src/ags/audio/ags_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_note.Tpo -c -o libags_audio_a-ags_note.o `test -f 'src/ags/audio/ags_note.c' || echo '$(srcdir)/'`src/ags/audio/ags_note.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_note.Tpo $(DEPDIR)/libags_audio_a-ags_note.Po
+# $(AM_V_CC)source='src/ags/audio/ags_note.c' object='libags_audio_a-ags_note.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_note.o `test -f 'src/ags/audio/ags_note.c' || echo '$(srcdir)/'`src/ags/audio/ags_note.c
+
+libags_audio_a-ags_note.obj: src/ags/audio/ags_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_note.Tpo -c -o libags_audio_a-ags_note.obj `if test -f 'src/ags/audio/ags_note.c'; then $(CYGPATH_W) 'src/ags/audio/ags_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_note.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_note.Tpo $(DEPDIR)/libags_audio_a-ags_note.Po
+# $(AM_V_CC)source='src/ags/audio/ags_note.c' object='libags_audio_a-ags_note.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_note.obj `if test -f 'src/ags/audio/ags_note.c'; then $(CYGPATH_W) 'src/ags/audio/ags_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_note.c'; fi`
+
+libags_audio_a-ags_output.o: src/ags/audio/ags_output.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_output.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_output.Tpo -c -o libags_audio_a-ags_output.o `test -f 'src/ags/audio/ags_output.c' || echo '$(srcdir)/'`src/ags/audio/ags_output.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_output.Tpo $(DEPDIR)/libags_audio_a-ags_output.Po
+# $(AM_V_CC)source='src/ags/audio/ags_output.c' object='libags_audio_a-ags_output.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_output.o `test -f 'src/ags/audio/ags_output.c' || echo '$(srcdir)/'`src/ags/audio/ags_output.c
+
+libags_audio_a-ags_output.obj: src/ags/audio/ags_output.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_output.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_output.Tpo -c -o libags_audio_a-ags_output.obj `if test -f 'src/ags/audio/ags_output.c'; then $(CYGPATH_W) 'src/ags/audio/ags_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_output.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_output.Tpo $(DEPDIR)/libags_audio_a-ags_output.Po
+# $(AM_V_CC)source='src/ags/audio/ags_output.c' object='libags_audio_a-ags_output.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_output.obj `if test -f 'src/ags/audio/ags_output.c'; then $(CYGPATH_W) 'src/ags/audio/ags_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_output.c'; fi`
+
+libags_audio_a-ags_pattern.o: src/ags/audio/ags_pattern.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_pattern.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_pattern.Tpo -c -o libags_audio_a-ags_pattern.o `test -f 'src/ags/audio/ags_pattern.c' || echo '$(srcdir)/'`src/ags/audio/ags_pattern.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_pattern.Po
+# $(AM_V_CC)source='src/ags/audio/ags_pattern.c' object='libags_audio_a-ags_pattern.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_pattern.o `test -f 'src/ags/audio/ags_pattern.c' || echo '$(srcdir)/'`src/ags/audio/ags_pattern.c
+
+libags_audio_a-ags_pattern.obj: src/ags/audio/ags_pattern.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_pattern.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_pattern.Tpo -c -o libags_audio_a-ags_pattern.obj `if test -f 'src/ags/audio/ags_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/ags_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_pattern.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_pattern.Po
+# $(AM_V_CC)source='src/ags/audio/ags_pattern.c' object='libags_audio_a-ags_pattern.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_pattern.obj `if test -f 'src/ags/audio/ags_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/ags_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_pattern.c'; fi`
+
+libags_audio_a-ags_port.o: src/ags/audio/ags_port.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_port.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_port.Tpo -c -o libags_audio_a-ags_port.o `test -f 'src/ags/audio/ags_port.c' || echo '$(srcdir)/'`src/ags/audio/ags_port.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_port.Tpo $(DEPDIR)/libags_audio_a-ags_port.Po
+# $(AM_V_CC)source='src/ags/audio/ags_port.c' object='libags_audio_a-ags_port.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_port.o `test -f 'src/ags/audio/ags_port.c' || echo '$(srcdir)/'`src/ags/audio/ags_port.c
+
+libags_audio_a-ags_port.obj: src/ags/audio/ags_port.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_port.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_port.Tpo -c -o libags_audio_a-ags_port.obj `if test -f 'src/ags/audio/ags_port.c'; then $(CYGPATH_W) 'src/ags/audio/ags_port.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_port.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_port.Tpo $(DEPDIR)/libags_audio_a-ags_port.Po
+# $(AM_V_CC)source='src/ags/audio/ags_port.c' object='libags_audio_a-ags_port.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_port.obj `if test -f 'src/ags/audio/ags_port.c'; then $(CYGPATH_W) 'src/ags/audio/ags_port.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_port.c'; fi`
+
+libags_audio_a-ags_recall_audio.o: src/ags/audio/ags_recall_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo -c -o libags_audio_a-ags_recall_audio.o `test -f 'src/ags/audio/ags_recall_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_audio.c' object='libags_audio_a-ags_recall_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio.o `test -f 'src/ags/audio/ags_recall_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio.c
+
+libags_audio_a-ags_recall_audio.obj: src/ags/audio/ags_recall_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo -c -o libags_audio_a-ags_recall_audio.obj `if test -f 'src/ags/audio/ags_recall_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_audio.c' object='libags_audio_a-ags_recall_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio.obj `if test -f 'src/ags/audio/ags_recall_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio.c'; fi`
+
+libags_audio_a-ags_recall_audio_run.o: src/ags/audio/ags_recall_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo -c -o libags_audio_a-ags_recall_audio_run.o `test -f 'src/ags/audio/ags_recall_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_audio_run.c' object='libags_audio_a-ags_recall_audio_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_run.o `test -f 'src/ags/audio/ags_recall_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_run.c
+
+libags_audio_a-ags_recall_audio_run.obj: src/ags/audio/ags_recall_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo -c -o libags_audio_a-ags_recall_audio_run.obj `if test -f 'src/ags/audio/ags_recall_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_audio_run.c' object='libags_audio_a-ags_recall_audio_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_run.obj `if test -f 'src/ags/audio/ags_recall_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_run.c'; fi`
+
+libags_audio_a-ags_recall_audio_signal.o: src/ags/audio/ags_recall_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo -c -o libags_audio_a-ags_recall_audio_signal.o `test -f 'src/ags/audio/ags_recall_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_audio_signal.c' object='libags_audio_a-ags_recall_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_signal.o `test -f 'src/ags/audio/ags_recall_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_signal.c
+
+libags_audio_a-ags_recall_audio_signal.obj: src/ags/audio/ags_recall_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo -c -o libags_audio_a-ags_recall_audio_signal.obj `if test -f 'src/ags/audio/ags_recall_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_audio_signal.c' object='libags_audio_a-ags_recall_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_signal.obj `if test -f 'src/ags/audio/ags_recall_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_signal.c'; fi`
+
+libags_audio_a-ags_recall_channel.o: src/ags/audio/ags_recall_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo -c -o libags_audio_a-ags_recall_channel.o `test -f 'src/ags/audio/ags_recall_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_channel.c' object='libags_audio_a-ags_recall_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel.o `test -f 'src/ags/audio/ags_recall_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel.c
+
+libags_audio_a-ags_recall_channel.obj: src/ags/audio/ags_recall_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo -c -o libags_audio_a-ags_recall_channel.obj `if test -f 'src/ags/audio/ags_recall_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_channel.c' object='libags_audio_a-ags_recall_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel.obj `if test -f 'src/ags/audio/ags_recall_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel.c'; fi`
+
+libags_audio_a-ags_recall_channel_run_dummy.o: src/ags/audio/ags_recall_channel_run_dummy.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run_dummy.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo -c -o libags_audio_a-ags_recall_channel_run_dummy.o `test -f 'src/ags/audio/ags_recall_channel_run_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run_dummy.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run_dummy.c' object='libags_audio_a-ags_recall_channel_run_dummy.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run_dummy.o `test -f 'src/ags/audio/ags_recall_channel_run_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run_dummy.c
+
+libags_audio_a-ags_recall_channel_run_dummy.obj: src/ags/audio/ags_recall_channel_run_dummy.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run_dummy.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo -c -o libags_audio_a-ags_recall_channel_run_dummy.obj `if test -f 'src/ags/audio/ags_recall_channel_run_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run_dummy.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run_dummy.c' object='libags_audio_a-ags_recall_channel_run_dummy.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run_dummy.obj `if test -f 'src/ags/audio/ags_recall_channel_run_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run_dummy.c'; fi`
+
+libags_audio_a-ags_recall_channel_run.o: src/ags/audio/ags_recall_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo -c -o libags_audio_a-ags_recall_channel_run.o `test -f 'src/ags/audio/ags_recall_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run.c' object='libags_audio_a-ags_recall_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run.o `test -f 'src/ags/audio/ags_recall_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run.c
+
+libags_audio_a-ags_recall_channel_run.obj: src/ags/audio/ags_recall_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo -c -o libags_audio_a-ags_recall_channel_run.obj `if test -f 'src/ags/audio/ags_recall_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run.c' object='libags_audio_a-ags_recall_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run.obj `if test -f 'src/ags/audio/ags_recall_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run.c'; fi`
+
+libags_audio_a-ags_recall_container.o: src/ags/audio/ags_recall_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo -c -o libags_audio_a-ags_recall_container.o `test -f 'src/ags/audio/ags_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_container.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_recall_container.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_container.c' object='libags_audio_a-ags_recall_container.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_container.o `test -f 'src/ags/audio/ags_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_container.c
+
+libags_audio_a-ags_recall_container.obj: src/ags/audio/ags_recall_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo -c -o libags_audio_a-ags_recall_container.obj `if test -f 'src/ags/audio/ags_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_container.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_recall_container.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_container.c' object='libags_audio_a-ags_recall_container.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_container.obj `if test -f 'src/ags/audio/ags_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_container.c'; fi`
+
+libags_audio_a-ags_recall_dependency.o: src/ags/audio/ags_recall_dependency.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_dependency.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo -c -o libags_audio_a-ags_recall_dependency.o `test -f 'src/ags/audio/ags_recall_dependency.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_dependency.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo $(DEPDIR)/libags_audio_a-ags_recall_dependency.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_dependency.c' object='libags_audio_a-ags_recall_dependency.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_dependency.o `test -f 'src/ags/audio/ags_recall_dependency.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_dependency.c
+
+libags_audio_a-ags_recall_dependency.obj: src/ags/audio/ags_recall_dependency.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_dependency.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo -c -o libags_audio_a-ags_recall_dependency.obj `if test -f 'src/ags/audio/ags_recall_dependency.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_dependency.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_dependency.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo $(DEPDIR)/libags_audio_a-ags_recall_dependency.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_dependency.c' object='libags_audio_a-ags_recall_dependency.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_dependency.obj `if test -f 'src/ags/audio/ags_recall_dependency.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_dependency.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_dependency.c'; fi`
+
+libags_audio_a-ags_recall_factory.o: src/ags/audio/ags_recall_factory.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_factory.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo -c -o libags_audio_a-ags_recall_factory.o `test -f 'src/ags/audio/ags_recall_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_factory.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo $(DEPDIR)/libags_audio_a-ags_recall_factory.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_factory.c' object='libags_audio_a-ags_recall_factory.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_factory.o `test -f 'src/ags/audio/ags_recall_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_factory.c
+
+libags_audio_a-ags_recall_factory.obj: src/ags/audio/ags_recall_factory.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_factory.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo -c -o libags_audio_a-ags_recall_factory.obj `if test -f 'src/ags/audio/ags_recall_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_factory.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo $(DEPDIR)/libags_audio_a-ags_recall_factory.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_factory.c' object='libags_audio_a-ags_recall_factory.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_factory.obj `if test -f 'src/ags/audio/ags_recall_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_factory.c'; fi`
+
+libags_audio_a-ags_recall.o: src/ags/audio/ags_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall.Tpo -c -o libags_audio_a-ags_recall.o `test -f 'src/ags/audio/ags_recall.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall.Tpo $(DEPDIR)/libags_audio_a-ags_recall.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall.c' object='libags_audio_a-ags_recall.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall.o `test -f 'src/ags/audio/ags_recall.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall.c
+
+libags_audio_a-ags_recall.obj: src/ags/audio/ags_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall.Tpo -c -o libags_audio_a-ags_recall.obj `if test -f 'src/ags/audio/ags_recall.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall.Tpo $(DEPDIR)/libags_audio_a-ags_recall.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall.c' object='libags_audio_a-ags_recall.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall.obj `if test -f 'src/ags/audio/ags_recall.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall.c'; fi`
+
+libags_audio_a-ags_recall_id.o: src/ags/audio/ags_recall_id.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_id.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo -c -o libags_audio_a-ags_recall_id.o `test -f 'src/ags/audio/ags_recall_id.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_id.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo $(DEPDIR)/libags_audio_a-ags_recall_id.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_id.c' object='libags_audio_a-ags_recall_id.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_id.o `test -f 'src/ags/audio/ags_recall_id.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_id.c
+
+libags_audio_a-ags_recall_id.obj: src/ags/audio/ags_recall_id.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_id.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo -c -o libags_audio_a-ags_recall_id.obj `if test -f 'src/ags/audio/ags_recall_id.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_id.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_id.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo $(DEPDIR)/libags_audio_a-ags_recall_id.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_id.c' object='libags_audio_a-ags_recall_id.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_id.obj `if test -f 'src/ags/audio/ags_recall_id.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_id.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_id.c'; fi`
+
+libags_audio_a-ags_recall_ladspa.o: src/ags/audio/ags_recall_ladspa.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo -c -o libags_audio_a-ags_recall_ladspa.o `test -f 'src/ags/audio/ags_recall_ladspa.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa.c' object='libags_audio_a-ags_recall_ladspa.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa.o `test -f 'src/ags/audio/ags_recall_ladspa.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa.c
+
+libags_audio_a-ags_recall_ladspa.obj: src/ags/audio/ags_recall_ladspa.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo -c -o libags_audio_a-ags_recall_ladspa.obj `if test -f 'src/ags/audio/ags_recall_ladspa.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa.c' object='libags_audio_a-ags_recall_ladspa.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa.obj `if test -f 'src/ags/audio/ags_recall_ladspa.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa.c'; fi`
+
+libags_audio_a-ags_recall_ladspa_run.o: src/ags/audio/ags_recall_ladspa_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo -c -o libags_audio_a-ags_recall_ladspa_run.o `test -f 'src/ags/audio/ags_recall_ladspa_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa_run.c' object='libags_audio_a-ags_recall_ladspa_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa_run.o `test -f 'src/ags/audio/ags_recall_ladspa_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa_run.c
+
+libags_audio_a-ags_recall_ladspa_run.obj: src/ags/audio/ags_recall_ladspa_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo -c -o libags_audio_a-ags_recall_ladspa_run.obj `if test -f 'src/ags/audio/ags_recall_ladspa_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa_run.c' object='libags_audio_a-ags_recall_ladspa_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa_run.obj `if test -f 'src/ags/audio/ags_recall_ladspa_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa_run.c'; fi`
+
+libags_audio_a-ags_recall_recycling_dummy.o: src/ags/audio/ags_recall_recycling_dummy.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling_dummy.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo -c -o libags_audio_a-ags_recall_recycling_dummy.o `test -f 'src/ags/audio/ags_recall_recycling_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling_dummy.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_recycling_dummy.c' object='libags_audio_a-ags_recall_recycling_dummy.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling_dummy.o `test -f 'src/ags/audio/ags_recall_recycling_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling_dummy.c
+
+libags_audio_a-ags_recall_recycling_dummy.obj: src/ags/audio/ags_recall_recycling_dummy.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling_dummy.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo -c -o libags_audio_a-ags_recall_recycling_dummy.obj `if test -f 'src/ags/audio/ags_recall_recycling_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling_dummy.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_recycling_dummy.c' object='libags_audio_a-ags_recall_recycling_dummy.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling_dummy.obj `if test -f 'src/ags/audio/ags_recall_recycling_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling_dummy.c'; fi`
+
+libags_audio_a-ags_recall_recycling.o: src/ags/audio/ags_recall_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo -c -o libags_audio_a-ags_recall_recycling.o `test -f 'src/ags/audio/ags_recall_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_recycling.c' object='libags_audio_a-ags_recall_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling.o `test -f 'src/ags/audio/ags_recall_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling.c
+
+libags_audio_a-ags_recall_recycling.obj: src/ags/audio/ags_recall_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo -c -o libags_audio_a-ags_recall_recycling.obj `if test -f 'src/ags/audio/ags_recall_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recall_recycling.c' object='libags_audio_a-ags_recall_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling.obj `if test -f 'src/ags/audio/ags_recall_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling.c'; fi`
+
+libags_audio_a-ags_recycling_container.o: src/ags/audio/ags_recycling_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo -c -o libags_audio_a-ags_recycling_container.o `test -f 'src/ags/audio/ags_recycling_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling_container.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo $(DEPDIR)/libags_audio_a-ags_recycling_container.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recycling_container.c' object='libags_audio_a-ags_recycling_container.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling_container.o `test -f 'src/ags/audio/ags_recycling_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling_container.c
+
+libags_audio_a-ags_recycling_container.obj: src/ags/audio/ags_recycling_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo -c -o libags_audio_a-ags_recycling_container.obj `if test -f 'src/ags/audio/ags_recycling_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling_container.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo $(DEPDIR)/libags_audio_a-ags_recycling_container.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recycling_container.c' object='libags_audio_a-ags_recycling_container.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling_container.obj `if test -f 'src/ags/audio/ags_recycling_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling_container.c'; fi`
+
+libags_audio_a-ags_recycling.o: src/ags/audio/ags_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling.Tpo -c -o libags_audio_a-ags_recycling.o `test -f 'src/ags/audio/ags_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recycling.c' object='libags_audio_a-ags_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling.o `test -f 'src/ags/audio/ags_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling.c
+
+libags_audio_a-ags_recycling.obj: src/ags/audio/ags_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling.Tpo -c -o libags_audio_a-ags_recycling.obj `if test -f 'src/ags/audio/ags_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/ags_recycling.c' object='libags_audio_a-ags_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling.obj `if test -f 'src/ags/audio/ags_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling.c'; fi`
+
+libags_audio_a-ags_synths.o: src/ags/audio/ags_synths.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_synths.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_synths.Tpo -c -o libags_audio_a-ags_synths.o `test -f 'src/ags/audio/ags_synths.c' || echo '$(srcdir)/'`src/ags/audio/ags_synths.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_synths.Tpo $(DEPDIR)/libags_audio_a-ags_synths.Po
+# $(AM_V_CC)source='src/ags/audio/ags_synths.c' object='libags_audio_a-ags_synths.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_synths.o `test -f 'src/ags/audio/ags_synths.c' || echo '$(srcdir)/'`src/ags/audio/ags_synths.c
+
+libags_audio_a-ags_synths.obj: src/ags/audio/ags_synths.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_synths.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_synths.Tpo -c -o libags_audio_a-ags_synths.obj `if test -f 'src/ags/audio/ags_synths.c'; then $(CYGPATH_W) 'src/ags/audio/ags_synths.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_synths.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_synths.Tpo $(DEPDIR)/libags_audio_a-ags_synths.Po
+# $(AM_V_CC)source='src/ags/audio/ags_synths.c' object='libags_audio_a-ags_synths.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_synths.obj `if test -f 'src/ags/audio/ags_synths.c'; then $(CYGPATH_W) 'src/ags/audio/ags_synths.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_synths.c'; fi`
+
+libags_audio_a-ags_task.o: src/ags/audio/ags_task.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_task.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_task.Tpo -c -o libags_audio_a-ags_task.o `test -f 'src/ags/audio/ags_task.c' || echo '$(srcdir)/'`src/ags/audio/ags_task.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_task.Tpo $(DEPDIR)/libags_audio_a-ags_task.Po
+# $(AM_V_CC)source='src/ags/audio/ags_task.c' object='libags_audio_a-ags_task.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_task.o `test -f 'src/ags/audio/ags_task.c' || echo '$(srcdir)/'`src/ags/audio/ags_task.c
+
+libags_audio_a-ags_task.obj: src/ags/audio/ags_task.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_task.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_task.Tpo -c -o libags_audio_a-ags_task.obj `if test -f 'src/ags/audio/ags_task.c'; then $(CYGPATH_W) 'src/ags/audio/ags_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_task.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_task.Tpo $(DEPDIR)/libags_audio_a-ags_task.Po
+# $(AM_V_CC)source='src/ags/audio/ags_task.c' object='libags_audio_a-ags_task.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_task.obj `if test -f 'src/ags/audio/ags_task.c'; then $(CYGPATH_W) 'src/ags/audio/ags_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_task.c'; fi`
+
+libags_audio_a-ags_audio_file_xml.o: src/ags/audio/file/ags_audio_file_xml.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file_xml.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo -c -o libags_audio_a-ags_audio_file_xml.o `test -f 'src/ags/audio/file/ags_audio_file_xml.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file_xml.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_audio_file_xml.c' object='libags_audio_a-ags_audio_file_xml.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file_xml.o `test -f 'src/ags/audio/file/ags_audio_file_xml.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file_xml.c
+
+libags_audio_a-ags_audio_file_xml.obj: src/ags/audio/file/ags_audio_file_xml.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file_xml.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo -c -o libags_audio_a-ags_audio_file_xml.obj `if test -f 'src/ags/audio/file/ags_audio_file_xml.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file_xml.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file_xml.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_audio_file_xml.c' object='libags_audio_a-ags_audio_file_xml.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file_xml.obj `if test -f 'src/ags/audio/file/ags_audio_file_xml.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file_xml.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file_xml.c'; fi`
+
+libags_audio_a-ags_audio_file.o: src/ags/audio/file/ags_audio_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo -c -o libags_audio_a-ags_audio_file.o `test -f 'src/ags/audio/file/ags_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_audio_file.c' object='libags_audio_a-ags_audio_file.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file.o `test -f 'src/ags/audio/file/ags_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file.c
+
+libags_audio_a-ags_audio_file.obj: src/ags/audio/file/ags_audio_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo -c -o libags_audio_a-ags_audio_file.obj `if test -f 'src/ags/audio/file/ags_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_audio_file.c' object='libags_audio_a-ags_audio_file.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file.obj `if test -f 'src/ags/audio/file/ags_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file.c'; fi`
+
+libags_audio_a-ags_ipatch.o: src/ags/audio/file/ags_ipatch.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo -c -o libags_audio_a-ags_ipatch.o `test -f 'src/ags/audio/file/ags_ipatch.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_ipatch.c' object='libags_audio_a-ags_ipatch.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch.o `test -f 'src/ags/audio/file/ags_ipatch.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch.c
+
+libags_audio_a-ags_ipatch.obj: src/ags/audio/file/ags_ipatch.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo -c -o libags_audio_a-ags_ipatch.obj `if test -f 'src/ags/audio/file/ags_ipatch.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_ipatch.c' object='libags_audio_a-ags_ipatch.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch.obj `if test -f 'src/ags/audio/file/ags_ipatch.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch.c'; fi`
+
+libags_audio_a-ags_ipatch_sf2_reader.o: src/ags/audio/file/ags_ipatch_sf2_reader.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch_sf2_reader.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo -c -o libags_audio_a-ags_ipatch_sf2_reader.o `test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch_sf2_reader.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_ipatch_sf2_reader.c' object='libags_audio_a-ags_ipatch_sf2_reader.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch_sf2_reader.o `test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch_sf2_reader.c
+
+libags_audio_a-ags_ipatch_sf2_reader.obj: src/ags/audio/file/ags_ipatch_sf2_reader.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch_sf2_reader.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo -c -o libags_audio_a-ags_ipatch_sf2_reader.obj `if test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch_sf2_reader.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_ipatch_sf2_reader.c' object='libags_audio_a-ags_ipatch_sf2_reader.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch_sf2_reader.obj `if test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch_sf2_reader.c'; fi`
+
+libags_audio_a-ags_sndfile.o: src/ags/audio/file/ags_sndfile.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_sndfile.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo -c -o libags_audio_a-ags_sndfile.o `test -f 'src/ags/audio/file/ags_sndfile.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_sndfile.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo $(DEPDIR)/libags_audio_a-ags_sndfile.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_sndfile.c' object='libags_audio_a-ags_sndfile.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_sndfile.o `test -f 'src/ags/audio/file/ags_sndfile.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_sndfile.c
+
+libags_audio_a-ags_sndfile.obj: src/ags/audio/file/ags_sndfile.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_sndfile.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo -c -o libags_audio_a-ags_sndfile.obj `if test -f 'src/ags/audio/file/ags_sndfile.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_sndfile.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_sndfile.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo $(DEPDIR)/libags_audio_a-ags_sndfile.Po
+# $(AM_V_CC)source='src/ags/audio/file/ags_sndfile.c' object='libags_audio_a-ags_sndfile.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_sndfile.obj `if test -f 'src/ags/audio/file/ags_sndfile.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_sndfile.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_sndfile.c'; fi`
+
+libags_audio_a-ags_add_audio.o: src/ags/audio/task/ags_add_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo -c -o libags_audio_a-ags_add_audio.o `test -f 'src/ags/audio/task/ags_add_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_audio.c' object='libags_audio_a-ags_add_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio.o `test -f 'src/ags/audio/task/ags_add_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio.c
+
+libags_audio_a-ags_add_audio.obj: src/ags/audio/task/ags_add_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo -c -o libags_audio_a-ags_add_audio.obj `if test -f 'src/ags/audio/task/ags_add_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_audio.c' object='libags_audio_a-ags_add_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio.obj `if test -f 'src/ags/audio/task/ags_add_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio.c'; fi`
+
+libags_audio_a-ags_add_audio_signal.o: src/ags/audio/task/ags_add_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo -c -o libags_audio_a-ags_add_audio_signal.o `test -f 'src/ags/audio/task/ags_add_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_audio_signal.c' object='libags_audio_a-ags_add_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio_signal.o `test -f 'src/ags/audio/task/ags_add_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio_signal.c
+
+libags_audio_a-ags_add_audio_signal.obj: src/ags/audio/task/ags_add_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo -c -o libags_audio_a-ags_add_audio_signal.obj `if test -f 'src/ags/audio/task/ags_add_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_audio_signal.c' object='libags_audio_a-ags_add_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio_signal.obj `if test -f 'src/ags/audio/task/ags_add_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio_signal.c'; fi`
+
+libags_audio_a-ags_add_note.o: src/ags/audio/task/ags_add_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_note.Tpo -c -o libags_audio_a-ags_add_note.o `test -f 'src/ags/audio/task/ags_add_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_note.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_note.Tpo $(DEPDIR)/libags_audio_a-ags_add_note.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_note.c' object='libags_audio_a-ags_add_note.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_note.o `test -f 'src/ags/audio/task/ags_add_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_note.c
+
+libags_audio_a-ags_add_note.obj: src/ags/audio/task/ags_add_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_note.Tpo -c -o libags_audio_a-ags_add_note.obj `if test -f 'src/ags/audio/task/ags_add_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_note.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_note.Tpo $(DEPDIR)/libags_audio_a-ags_add_note.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_note.c' object='libags_audio_a-ags_add_note.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_note.obj `if test -f 'src/ags/audio/task/ags_add_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_note.c'; fi`
+
+libags_audio_a-ags_add_recall_container.o: src/ags/audio/task/ags_add_recall_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo -c -o libags_audio_a-ags_add_recall_container.o `test -f 'src/ags/audio/task/ags_add_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall_container.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall_container.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_recall_container.c' object='libags_audio_a-ags_add_recall_container.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall_container.o `test -f 'src/ags/audio/task/ags_add_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall_container.c
+
+libags_audio_a-ags_add_recall_container.obj: src/ags/audio/task/ags_add_recall_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo -c -o libags_audio_a-ags_add_recall_container.obj `if test -f 'src/ags/audio/task/ags_add_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall_container.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall_container.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_recall_container.c' object='libags_audio_a-ags_add_recall_container.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall_container.obj `if test -f 'src/ags/audio/task/ags_add_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall_container.c'; fi`
+
+libags_audio_a-ags_add_recall.o: src/ags/audio/task/ags_add_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo -c -o libags_audio_a-ags_add_recall.o `test -f 'src/ags/audio/task/ags_add_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_recall.c' object='libags_audio_a-ags_add_recall.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall.o `test -f 'src/ags/audio/task/ags_add_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall.c
+
+libags_audio_a-ags_add_recall.obj: src/ags/audio/task/ags_add_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo -c -o libags_audio_a-ags_add_recall.obj `if test -f 'src/ags/audio/task/ags_add_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_recall.c' object='libags_audio_a-ags_add_recall.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall.obj `if test -f 'src/ags/audio/task/ags_add_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall.c'; fi`
+
+libags_audio_a-ags_append_audio.o: src/ags/audio/task/ags_append_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo -c -o libags_audio_a-ags_append_audio.o `test -f 'src/ags/audio/task/ags_append_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_audio.c' object='libags_audio_a-ags_append_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio.o `test -f 'src/ags/audio/task/ags_append_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio.c
+
+libags_audio_a-ags_append_audio.obj: src/ags/audio/task/ags_append_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo -c -o libags_audio_a-ags_append_audio.obj `if test -f 'src/ags/audio/task/ags_append_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_audio.c' object='libags_audio_a-ags_append_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio.obj `if test -f 'src/ags/audio/task/ags_append_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio.c'; fi`
+
+libags_audio_a-ags_append_audio_threaded.o: src/ags/audio/task/ags_append_audio_threaded.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio_threaded.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo -c -o libags_audio_a-ags_append_audio_threaded.o `test -f 'src/ags/audio/task/ags_append_audio_threaded.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio_threaded.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_audio_threaded.c' object='libags_audio_a-ags_append_audio_threaded.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio_threaded.o `test -f 'src/ags/audio/task/ags_append_audio_threaded.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio_threaded.c
+
+libags_audio_a-ags_append_audio_threaded.obj: src/ags/audio/task/ags_append_audio_threaded.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio_threaded.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo -c -o libags_audio_a-ags_append_audio_threaded.obj `if test -f 'src/ags/audio/task/ags_append_audio_threaded.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio_threaded.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio_threaded.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_audio_threaded.c' object='libags_audio_a-ags_append_audio_threaded.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio_threaded.obj `if test -f 'src/ags/audio/task/ags_append_audio_threaded.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio_threaded.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio_threaded.c'; fi`
+
+libags_audio_a-ags_append_channel.o: src/ags/audio/task/ags_append_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo -c -o libags_audio_a-ags_append_channel.o `test -f 'src/ags/audio/task/ags_append_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo $(DEPDIR)/libags_audio_a-ags_append_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_channel.c' object='libags_audio_a-ags_append_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_channel.o `test -f 'src/ags/audio/task/ags_append_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_channel.c
+
+libags_audio_a-ags_append_channel.obj: src/ags/audio/task/ags_append_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo -c -o libags_audio_a-ags_append_channel.obj `if test -f 'src/ags/audio/task/ags_append_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo $(DEPDIR)/libags_audio_a-ags_append_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_channel.c' object='libags_audio_a-ags_append_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_channel.obj `if test -f 'src/ags/audio/task/ags_append_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_channel.c'; fi`
+
+libags_audio_a-ags_append_recall.o: src/ags/audio/task/ags_append_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo -c -o libags_audio_a-ags_append_recall.o `test -f 'src/ags/audio/task/ags_append_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_recall.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo $(DEPDIR)/libags_audio_a-ags_append_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_recall.c' object='libags_audio_a-ags_append_recall.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_recall.o `test -f 'src/ags/audio/task/ags_append_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_recall.c
+
+libags_audio_a-ags_append_recall.obj: src/ags/audio/task/ags_append_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo -c -o libags_audio_a-ags_append_recall.obj `if test -f 'src/ags/audio/task/ags_append_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_recall.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo $(DEPDIR)/libags_audio_a-ags_append_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_append_recall.c' object='libags_audio_a-ags_append_recall.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_recall.obj `if test -f 'src/ags/audio/task/ags_append_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_recall.c'; fi`
+
+libags_audio_a-ags_apply_synth.o: src/ags/audio/task/ags_apply_synth.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_synth.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo -c -o libags_audio_a-ags_apply_synth.o `test -f 'src/ags/audio/task/ags_apply_synth.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_apply_synth.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo $(DEPDIR)/libags_audio_a-ags_apply_synth.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_apply_synth.c' object='libags_audio_a-ags_apply_synth.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_synth.o `test -f 'src/ags/audio/task/ags_apply_synth.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_apply_synth.c
+
+libags_audio_a-ags_apply_synth.obj: src/ags/audio/task/ags_apply_synth.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_synth.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo -c -o libags_audio_a-ags_apply_synth.obj `if test -f 'src/ags/audio/task/ags_apply_synth.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_apply_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_apply_synth.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo $(DEPDIR)/libags_audio_a-ags_apply_synth.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_apply_synth.c' object='libags_audio_a-ags_apply_synth.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_synth.obj `if test -f 'src/ags/audio/task/ags_apply_synth.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_apply_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_apply_synth.c'; fi`
+
+libags_audio_a-ags_audio_set_recycling.o: src/ags/audio/task/ags_audio_set_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_set_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo -c -o libags_audio_a-ags_audio_set_recycling.o `test -f 'src/ags/audio/task/ags_audio_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_audio_set_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_audio_set_recycling.c' object='libags_audio_a-ags_audio_set_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_set_recycling.o `test -f 'src/ags/audio/task/ags_audio_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_audio_set_recycling.c
+
+libags_audio_a-ags_audio_set_recycling.obj: src/ags/audio/task/ags_audio_set_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_set_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo -c -o libags_audio_a-ags_audio_set_recycling.obj `if test -f 'src/ags/audio/task/ags_audio_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_audio_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_audio_set_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_audio_set_recycling.c' object='libags_audio_a-ags_audio_set_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_set_recycling.obj `if test -f 'src/ags/audio/task/ags_audio_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_audio_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_audio_set_recycling.c'; fi`
+
+libags_audio_a-ags_cancel_audio.o: src/ags/audio/task/ags_cancel_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo -c -o libags_audio_a-ags_cancel_audio.o `test -f 'src/ags/audio/task/ags_cancel_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_cancel_audio.c' object='libags_audio_a-ags_cancel_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_audio.o `test -f 'src/ags/audio/task/ags_cancel_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_audio.c
+
+libags_audio_a-ags_cancel_audio.obj: src/ags/audio/task/ags_cancel_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo -c -o libags_audio_a-ags_cancel_audio.obj `if test -f 'src/ags/audio/task/ags_cancel_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_cancel_audio.c' object='libags_audio_a-ags_cancel_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_audio.obj `if test -f 'src/ags/audio/task/ags_cancel_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_audio.c'; fi`
+
+libags_audio_a-ags_cancel_channel.o: src/ags/audio/task/ags_cancel_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo -c -o libags_audio_a-ags_cancel_channel.o `test -f 'src/ags/audio/task/ags_cancel_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_cancel_channel.c' object='libags_audio_a-ags_cancel_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_channel.o `test -f 'src/ags/audio/task/ags_cancel_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_channel.c
+
+libags_audio_a-ags_cancel_channel.obj: src/ags/audio/task/ags_cancel_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo -c -o libags_audio_a-ags_cancel_channel.obj `if test -f 'src/ags/audio/task/ags_cancel_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_cancel_channel.c' object='libags_audio_a-ags_cancel_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_channel.obj `if test -f 'src/ags/audio/task/ags_cancel_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_channel.c'; fi`
+
+libags_audio_a-ags_cancel_recall.o: src/ags/audio/task/ags_cancel_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo -c -o libags_audio_a-ags_cancel_recall.o `test -f 'src/ags/audio/task/ags_cancel_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_recall.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_cancel_recall.c' object='libags_audio_a-ags_cancel_recall.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_recall.o `test -f 'src/ags/audio/task/ags_cancel_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_recall.c
+
+libags_audio_a-ags_cancel_recall.obj: src/ags/audio/task/ags_cancel_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo -c -o libags_audio_a-ags_cancel_recall.obj `if test -f 'src/ags/audio/task/ags_cancel_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_recall.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_cancel_recall.c' object='libags_audio_a-ags_cancel_recall.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_recall.obj `if test -f 'src/ags/audio/task/ags_cancel_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_recall.c'; fi`
+
+libags_audio_a-ags_channel_set_recycling.o: src/ags/audio/task/ags_channel_set_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_set_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo -c -o libags_audio_a-ags_channel_set_recycling.o `test -f 'src/ags/audio/task/ags_channel_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_channel_set_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_channel_set_recycling.c' object='libags_audio_a-ags_channel_set_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_set_recycling.o `test -f 'src/ags/audio/task/ags_channel_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_channel_set_recycling.c
+
+libags_audio_a-ags_channel_set_recycling.obj: src/ags/audio/task/ags_channel_set_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_set_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo -c -o libags_audio_a-ags_channel_set_recycling.obj `if test -f 'src/ags/audio/task/ags_channel_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_channel_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_channel_set_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_channel_set_recycling.c' object='libags_audio_a-ags_channel_set_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_set_recycling.obj `if test -f 'src/ags/audio/task/ags_channel_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_channel_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_channel_set_recycling.c'; fi`
+
+libags_audio_a-ags_export_output.o: src/ags/audio/task/ags_export_output.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_export_output.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_export_output.Tpo -c -o libags_audio_a-ags_export_output.o `test -f 'src/ags/audio/task/ags_export_output.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_export_output.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_export_output.Tpo $(DEPDIR)/libags_audio_a-ags_export_output.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_export_output.c' object='libags_audio_a-ags_export_output.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_export_output.o `test -f 'src/ags/audio/task/ags_export_output.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_export_output.c
+
+libags_audio_a-ags_export_output.obj: src/ags/audio/task/ags_export_output.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_export_output.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_export_output.Tpo -c -o libags_audio_a-ags_export_output.obj `if test -f 'src/ags/audio/task/ags_export_output.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_export_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_export_output.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_export_output.Tpo $(DEPDIR)/libags_audio_a-ags_export_output.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_export_output.c' object='libags_audio_a-ags_export_output.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_export_output.obj `if test -f 'src/ags/audio/task/ags_export_output.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_export_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_export_output.c'; fi`
+
+libags_audio_a-ags_init_audio.o: src/ags/audio/task/ags_init_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo -c -o libags_audio_a-ags_init_audio.o `test -f 'src/ags/audio/task/ags_init_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo $(DEPDIR)/libags_audio_a-ags_init_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_init_audio.c' object='libags_audio_a-ags_init_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_audio.o `test -f 'src/ags/audio/task/ags_init_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_audio.c
+
+libags_audio_a-ags_init_audio.obj: src/ags/audio/task/ags_init_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo -c -o libags_audio_a-ags_init_audio.obj `if test -f 'src/ags/audio/task/ags_init_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo $(DEPDIR)/libags_audio_a-ags_init_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_init_audio.c' object='libags_audio_a-ags_init_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_audio.obj `if test -f 'src/ags/audio/task/ags_init_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_audio.c'; fi`
+
+libags_audio_a-ags_init_channel.o: src/ags/audio/task/ags_init_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo -c -o libags_audio_a-ags_init_channel.o `test -f 'src/ags/audio/task/ags_init_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo $(DEPDIR)/libags_audio_a-ags_init_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_init_channel.c' object='libags_audio_a-ags_init_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_channel.o `test -f 'src/ags/audio/task/ags_init_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_channel.c
+
+libags_audio_a-ags_init_channel.obj: src/ags/audio/task/ags_init_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo -c -o libags_audio_a-ags_init_channel.obj `if test -f 'src/ags/audio/task/ags_init_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo $(DEPDIR)/libags_audio_a-ags_init_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_init_channel.c' object='libags_audio_a-ags_init_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_channel.obj `if test -f 'src/ags/audio/task/ags_init_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_channel.c'; fi`
+
+libags_audio_a-ags_link_channel.o: src/ags/audio/task/ags_link_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_link_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo -c -o libags_audio_a-ags_link_channel.o `test -f 'src/ags/audio/task/ags_link_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_link_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo $(DEPDIR)/libags_audio_a-ags_link_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_link_channel.c' object='libags_audio_a-ags_link_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_link_channel.o `test -f 'src/ags/audio/task/ags_link_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_link_channel.c
+
+libags_audio_a-ags_link_channel.obj: src/ags/audio/task/ags_link_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_link_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo -c -o libags_audio_a-ags_link_channel.obj `if test -f 'src/ags/audio/task/ags_link_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_link_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_link_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo $(DEPDIR)/libags_audio_a-ags_link_channel.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_link_channel.c' object='libags_audio_a-ags_link_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_link_channel.obj `if test -f 'src/ags/audio/task/ags_link_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_link_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_link_channel.c'; fi`
+
+libags_audio_a-ags_open_file.o: src/ags/audio/task/ags_open_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_file.Tpo -c -o libags_audio_a-ags_open_file.o `test -f 'src/ags/audio/task/ags_open_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_file.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_file.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_open_file.c' object='libags_audio_a-ags_open_file.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_file.o `test -f 'src/ags/audio/task/ags_open_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_file.c
+
+libags_audio_a-ags_open_file.obj: src/ags/audio/task/ags_open_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_file.Tpo -c -o libags_audio_a-ags_open_file.obj `if test -f 'src/ags/audio/task/ags_open_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_file.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_file.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_open_file.c' object='libags_audio_a-ags_open_file.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_file.obj `if test -f 'src/ags/audio/task/ags_open_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_file.c'; fi`
+
+libags_audio_a-ags_open_single_file.o: src/ags/audio/task/ags_open_single_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_single_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo -c -o libags_audio_a-ags_open_single_file.o `test -f 'src/ags/audio/task/ags_open_single_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_single_file.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_single_file.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_open_single_file.c' object='libags_audio_a-ags_open_single_file.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_single_file.o `test -f 'src/ags/audio/task/ags_open_single_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_single_file.c
+
+libags_audio_a-ags_open_single_file.obj: src/ags/audio/task/ags_open_single_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_single_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo -c -o libags_audio_a-ags_open_single_file.obj `if test -f 'src/ags/audio/task/ags_open_single_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_single_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_single_file.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_single_file.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_open_single_file.c' object='libags_audio_a-ags_open_single_file.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_single_file.obj `if test -f 'src/ags/audio/task/ags_open_single_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_single_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_single_file.c'; fi`
+
+libags_audio_a-ags_remove_audio.o: src/ags/audio/task/ags_remove_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo -c -o libags_audio_a-ags_remove_audio.o `test -f 'src/ags/audio/task/ags_remove_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio.c' object='libags_audio_a-ags_remove_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio.o `test -f 'src/ags/audio/task/ags_remove_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio.c
+
+libags_audio_a-ags_remove_audio.obj: src/ags/audio/task/ags_remove_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo -c -o libags_audio_a-ags_remove_audio.obj `if test -f 'src/ags/audio/task/ags_remove_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio.c' object='libags_audio_a-ags_remove_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio.obj `if test -f 'src/ags/audio/task/ags_remove_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio.c'; fi`
+
+libags_audio_a-ags_remove_audio_signal.o: src/ags/audio/task/ags_remove_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo -c -o libags_audio_a-ags_remove_audio_signal.o `test -f 'src/ags/audio/task/ags_remove_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio_signal.c' object='libags_audio_a-ags_remove_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio_signal.o `test -f 'src/ags/audio/task/ags_remove_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio_signal.c
+
+libags_audio_a-ags_remove_audio_signal.obj: src/ags/audio/task/ags_remove_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo -c -o libags_audio_a-ags_remove_audio_signal.obj `if test -f 'src/ags/audio/task/ags_remove_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio_signal.c' object='libags_audio_a-ags_remove_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio_signal.obj `if test -f 'src/ags/audio/task/ags_remove_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio_signal.c'; fi`
+
+libags_audio_a-ags_remove_note.o: src/ags/audio/task/ags_remove_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo -c -o libags_audio_a-ags_remove_note.o `test -f 'src/ags/audio/task/ags_remove_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_note.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo $(DEPDIR)/libags_audio_a-ags_remove_note.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_note.c' object='libags_audio_a-ags_remove_note.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_note.o `test -f 'src/ags/audio/task/ags_remove_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_note.c
+
+libags_audio_a-ags_remove_note.obj: src/ags/audio/task/ags_remove_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo -c -o libags_audio_a-ags_remove_note.obj `if test -f 'src/ags/audio/task/ags_remove_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_note.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo $(DEPDIR)/libags_audio_a-ags_remove_note.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_note.c' object='libags_audio_a-ags_remove_note.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_note.obj `if test -f 'src/ags/audio/task/ags_remove_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_note.c'; fi`
+
+libags_audio_a-ags_remove_recall_container.o: src/ags/audio/task/ags_remove_recall_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo -c -o libags_audio_a-ags_remove_recall_container.o `test -f 'src/ags/audio/task/ags_remove_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall_container.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall_container.c' object='libags_audio_a-ags_remove_recall_container.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall_container.o `test -f 'src/ags/audio/task/ags_remove_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall_container.c
+
+libags_audio_a-ags_remove_recall_container.obj: src/ags/audio/task/ags_remove_recall_container.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo -c -o libags_audio_a-ags_remove_recall_container.obj `if test -f 'src/ags/audio/task/ags_remove_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall_container.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall_container.c' object='libags_audio_a-ags_remove_recall_container.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall_container.obj `if test -f 'src/ags/audio/task/ags_remove_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall_container.c'; fi`
+
+libags_audio_a-ags_remove_recall.o: src/ags/audio/task/ags_remove_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo -c -o libags_audio_a-ags_remove_recall.o `test -f 'src/ags/audio/task/ags_remove_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall.c' object='libags_audio_a-ags_remove_recall.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall.o `test -f 'src/ags/audio/task/ags_remove_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall.c
+
+libags_audio_a-ags_remove_recall.obj: src/ags/audio/task/ags_remove_recall.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo -c -o libags_audio_a-ags_remove_recall.obj `if test -f 'src/ags/audio/task/ags_remove_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall.c' object='libags_audio_a-ags_remove_recall.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall.obj `if test -f 'src/ags/audio/task/ags_remove_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall.c'; fi`
+
+libags_audio_a-ags_remove_region_from_selection.o: src/ags/audio/task/ags_remove_region_from_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_region_from_selection.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo -c -o libags_audio_a-ags_remove_region_from_selection.o `test -f 'src/ags/audio/task/ags_remove_region_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_region_from_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_region_from_selection.c' object='libags_audio_a-ags_remove_region_from_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_region_from_selection.o `test -f 'src/ags/audio/task/ags_remove_region_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_region_from_selection.c
+
+libags_audio_a-ags_remove_region_from_selection.obj: src/ags/audio/task/ags_remove_region_from_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_region_from_selection.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo -c -o libags_audio_a-ags_remove_region_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_region_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_region_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_region_from_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_region_from_selection.c' object='libags_audio_a-ags_remove_region_from_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_region_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_region_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_region_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_region_from_selection.c'; fi`
+
+libags_audio_a-ags_resize_audio.o: src/ags/audio/task/ags_resize_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_resize_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo -c -o libags_audio_a-ags_resize_audio.o `test -f 'src/ags/audio/task/ags_resize_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_resize_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo $(DEPDIR)/libags_audio_a-ags_resize_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_resize_audio.c' object='libags_audio_a-ags_resize_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_resize_audio.o `test -f 'src/ags/audio/task/ags_resize_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_resize_audio.c
+
+libags_audio_a-ags_resize_audio.obj: src/ags/audio/task/ags_resize_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_resize_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo -c -o libags_audio_a-ags_resize_audio.obj `if test -f 'src/ags/audio/task/ags_resize_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_resize_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_resize_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo $(DEPDIR)/libags_audio_a-ags_resize_audio.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_resize_audio.c' object='libags_audio_a-ags_resize_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_resize_audio.obj `if test -f 'src/ags/audio/task/ags_resize_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_resize_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_resize_audio.c'; fi`
+
+libags_audio_a-ags_set_audio_channels.o: src/ags/audio/task/ags_set_audio_channels.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_audio_channels.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo -c -o libags_audio_a-ags_set_audio_channels.o `test -f 'src/ags/audio/task/ags_set_audio_channels.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_audio_channels.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_audio_channels.c' object='libags_audio_a-ags_set_audio_channels.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_audio_channels.o `test -f 'src/ags/audio/task/ags_set_audio_channels.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_audio_channels.c
+
+libags_audio_a-ags_set_audio_channels.obj: src/ags/audio/task/ags_set_audio_channels.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_audio_channels.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo -c -o libags_audio_a-ags_set_audio_channels.obj `if test -f 'src/ags/audio/task/ags_set_audio_channels.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_audio_channels.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_audio_channels.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_audio_channels.c' object='libags_audio_a-ags_set_audio_channels.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_audio_channels.obj `if test -f 'src/ags/audio/task/ags_set_audio_channels.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_audio_channels.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_audio_channels.c'; fi`
+
+libags_audio_a-ags_set_buffer_size.o: src/ags/audio/task/ags_set_buffer_size.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_buffer_size.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo -c -o libags_audio_a-ags_set_buffer_size.o `test -f 'src/ags/audio/task/ags_set_buffer_size.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_buffer_size.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_buffer_size.c' object='libags_audio_a-ags_set_buffer_size.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_buffer_size.o `test -f 'src/ags/audio/task/ags_set_buffer_size.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_buffer_size.c
+
+libags_audio_a-ags_set_buffer_size.obj: src/ags/audio/task/ags_set_buffer_size.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_buffer_size.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo -c -o libags_audio_a-ags_set_buffer_size.obj `if test -f 'src/ags/audio/task/ags_set_buffer_size.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_buffer_size.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_buffer_size.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_buffer_size.c' object='libags_audio_a-ags_set_buffer_size.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_buffer_size.obj `if test -f 'src/ags/audio/task/ags_set_buffer_size.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_buffer_size.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_buffer_size.c'; fi`
+
+libags_audio_a-ags_set_devout_play_flags.o: src/ags/audio/task/ags_set_devout_play_flags.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_devout_play_flags.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo -c -o libags_audio_a-ags_set_devout_play_flags.o `test -f 'src/ags/audio/task/ags_set_devout_play_flags.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_devout_play_flags.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_devout_play_flags.c' object='libags_audio_a-ags_set_devout_play_flags.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_devout_play_flags.o `test -f 'src/ags/audio/task/ags_set_devout_play_flags.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_devout_play_flags.c
+
+libags_audio_a-ags_set_devout_play_flags.obj: src/ags/audio/task/ags_set_devout_play_flags.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_devout_play_flags.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo -c -o libags_audio_a-ags_set_devout_play_flags.obj `if test -f 'src/ags/audio/task/ags_set_devout_play_flags.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_devout_play_flags.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_devout_play_flags.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_devout_play_flags.c' object='libags_audio_a-ags_set_devout_play_flags.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_devout_play_flags.obj `if test -f 'src/ags/audio/task/ags_set_devout_play_flags.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_devout_play_flags.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_devout_play_flags.c'; fi`
+
+libags_audio_a-ags_set_output_device.o: src/ags/audio/task/ags_set_output_device.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_output_device.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo -c -o libags_audio_a-ags_set_output_device.o `test -f 'src/ags/audio/task/ags_set_output_device.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_output_device.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo $(DEPDIR)/libags_audio_a-ags_set_output_device.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_output_device.c' object='libags_audio_a-ags_set_output_device.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_output_device.o `test -f 'src/ags/audio/task/ags_set_output_device.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_output_device.c
+
+libags_audio_a-ags_set_output_device.obj: src/ags/audio/task/ags_set_output_device.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_output_device.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo -c -o libags_audio_a-ags_set_output_device.obj `if test -f 'src/ags/audio/task/ags_set_output_device.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_output_device.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_output_device.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo $(DEPDIR)/libags_audio_a-ags_set_output_device.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_output_device.c' object='libags_audio_a-ags_set_output_device.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_output_device.obj `if test -f 'src/ags/audio/task/ags_set_output_device.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_output_device.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_output_device.c'; fi`
+
+libags_audio_a-ags_set_samplerate.o: src/ags/audio/task/ags_set_samplerate.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_samplerate.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo -c -o libags_audio_a-ags_set_samplerate.o `test -f 'src/ags/audio/task/ags_set_samplerate.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_samplerate.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo $(DEPDIR)/libags_audio_a-ags_set_samplerate.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_samplerate.c' object='libags_audio_a-ags_set_samplerate.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_samplerate.o `test -f 'src/ags/audio/task/ags_set_samplerate.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_samplerate.c
+
+libags_audio_a-ags_set_samplerate.obj: src/ags/audio/task/ags_set_samplerate.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_samplerate.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo -c -o libags_audio_a-ags_set_samplerate.obj `if test -f 'src/ags/audio/task/ags_set_samplerate.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_samplerate.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_samplerate.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo $(DEPDIR)/libags_audio_a-ags_set_samplerate.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_set_samplerate.c' object='libags_audio_a-ags_set_samplerate.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_samplerate.obj `if test -f 'src/ags/audio/task/ags_set_samplerate.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_samplerate.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_samplerate.c'; fi`
+
+libags_audio_a-ags_start_devout.o: src/ags/audio/task/ags_start_devout.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_start_devout.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo -c -o libags_audio_a-ags_start_devout.o `test -f 'src/ags/audio/task/ags_start_devout.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_start_devout.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo $(DEPDIR)/libags_audio_a-ags_start_devout.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_start_devout.c' object='libags_audio_a-ags_start_devout.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_start_devout.o `test -f 'src/ags/audio/task/ags_start_devout.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_start_devout.c
+
+libags_audio_a-ags_start_devout.obj: src/ags/audio/task/ags_start_devout.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_start_devout.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo -c -o libags_audio_a-ags_start_devout.obj `if test -f 'src/ags/audio/task/ags_start_devout.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_start_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_start_devout.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo $(DEPDIR)/libags_audio_a-ags_start_devout.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_start_devout.c' object='libags_audio_a-ags_start_devout.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_start_devout.obj `if test -f 'src/ags/audio/task/ags_start_devout.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_start_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_start_devout.c'; fi`
+
+libags_audio_a-ags_unref_audio_signal.o: src/ags/audio/task/ags_unref_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_unref_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo -c -o libags_audio_a-ags_unref_audio_signal.o `test -f 'src/ags/audio/task/ags_unref_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_unref_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_unref_audio_signal.c' object='libags_audio_a-ags_unref_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_unref_audio_signal.o `test -f 'src/ags/audio/task/ags_unref_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_unref_audio_signal.c
+
+libags_audio_a-ags_unref_audio_signal.obj: src/ags/audio/task/ags_unref_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_unref_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo -c -o libags_audio_a-ags_unref_audio_signal.obj `if test -f 'src/ags/audio/task/ags_unref_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_unref_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_unref_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_unref_audio_signal.c' object='libags_audio_a-ags_unref_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_unref_audio_signal.obj `if test -f 'src/ags/audio/task/ags_unref_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_unref_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_unref_audio_signal.c'; fi`
+
+libags_audio_a-ags_apply_bpm.o: src/ags/audio/task/recall/ags_apply_bpm.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_bpm.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo -c -o libags_audio_a-ags_apply_bpm.o `test -f 'src/ags/audio/task/recall/ags_apply_bpm.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_bpm.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo $(DEPDIR)/libags_audio_a-ags_apply_bpm.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_bpm.c' object='libags_audio_a-ags_apply_bpm.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_bpm.o `test -f 'src/ags/audio/task/recall/ags_apply_bpm.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_bpm.c
+
+libags_audio_a-ags_apply_bpm.obj: src/ags/audio/task/recall/ags_apply_bpm.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_bpm.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo -c -o libags_audio_a-ags_apply_bpm.obj `if test -f 'src/ags/audio/task/recall/ags_apply_bpm.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_bpm.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_bpm.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo $(DEPDIR)/libags_audio_a-ags_apply_bpm.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_bpm.c' object='libags_audio_a-ags_apply_bpm.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_bpm.obj `if test -f 'src/ags/audio/task/recall/ags_apply_bpm.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_bpm.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_bpm.c'; fi`
+
+libags_audio_a-ags_apply_sequencer_length.o: src/ags/audio/task/recall/ags_apply_sequencer_length.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_sequencer_length.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo -c -o libags_audio_a-ags_apply_sequencer_length.o `test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_sequencer_length.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_sequencer_length.c' object='libags_audio_a-ags_apply_sequencer_length.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_sequencer_length.o `test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_sequencer_length.c
+
+libags_audio_a-ags_apply_sequencer_length.obj: src/ags/audio/task/recall/ags_apply_sequencer_length.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_sequencer_length.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo -c -o libags_audio_a-ags_apply_sequencer_length.obj `if test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_sequencer_length.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_sequencer_length.c' object='libags_audio_a-ags_apply_sequencer_length.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_sequencer_length.obj `if test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_sequencer_length.c'; fi`
+
+libags_audio_a-ags_apply_tact.o: src/ags/audio/task/recall/ags_apply_tact.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_tact.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo -c -o libags_audio_a-ags_apply_tact.o `test -f 'src/ags/audio/task/recall/ags_apply_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_tact.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo $(DEPDIR)/libags_audio_a-ags_apply_tact.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_tact.c' object='libags_audio_a-ags_apply_tact.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_tact.o `test -f 'src/ags/audio/task/recall/ags_apply_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_tact.c
+
+libags_audio_a-ags_apply_tact.obj: src/ags/audio/task/recall/ags_apply_tact.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_tact.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo -c -o libags_audio_a-ags_apply_tact.obj `if test -f 'src/ags/audio/task/recall/ags_apply_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_tact.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo $(DEPDIR)/libags_audio_a-ags_apply_tact.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_tact.c' object='libags_audio_a-ags_apply_tact.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_tact.obj `if test -f 'src/ags/audio/task/recall/ags_apply_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_tact.c'; fi`
+
+libags_audio_a-ags_set_muted.o: src/ags/audio/task/recall/ags_set_muted.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_muted.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo -c -o libags_audio_a-ags_set_muted.o `test -f 'src/ags/audio/task/recall/ags_set_muted.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_set_muted.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo $(DEPDIR)/libags_audio_a-ags_set_muted.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_set_muted.c' object='libags_audio_a-ags_set_muted.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_muted.o `test -f 'src/ags/audio/task/recall/ags_set_muted.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_set_muted.c
+
+libags_audio_a-ags_set_muted.obj: src/ags/audio/task/recall/ags_set_muted.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_muted.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo -c -o libags_audio_a-ags_set_muted.obj `if test -f 'src/ags/audio/task/recall/ags_set_muted.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_set_muted.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_set_muted.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo $(DEPDIR)/libags_audio_a-ags_set_muted.Po
+# $(AM_V_CC)source='src/ags/audio/task/recall/ags_set_muted.c' object='libags_audio_a-ags_set_muted.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_muted.obj `if test -f 'src/ags/audio/task/recall/ags_set_muted.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_set_muted.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_set_muted.c'; fi`
+
+libags_audio_a-ags_amplifier.o: src/ags/audio/recall/ags_amplifier.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_amplifier.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo -c -o libags_audio_a-ags_amplifier.o `test -f 'src/ags/audio/recall/ags_amplifier.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_amplifier.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo $(DEPDIR)/libags_audio_a-ags_amplifier.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_amplifier.c' object='libags_audio_a-ags_amplifier.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_amplifier.o `test -f 'src/ags/audio/recall/ags_amplifier.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_amplifier.c
+
+libags_audio_a-ags_amplifier.obj: src/ags/audio/recall/ags_amplifier.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_amplifier.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo -c -o libags_audio_a-ags_amplifier.obj `if test -f 'src/ags/audio/recall/ags_amplifier.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_amplifier.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_amplifier.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo $(DEPDIR)/libags_audio_a-ags_amplifier.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_amplifier.c' object='libags_audio_a-ags_amplifier.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_amplifier.obj `if test -f 'src/ags/audio/recall/ags_amplifier.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_amplifier.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_amplifier.c'; fi`
+
+libags_audio_a-ags_clone_channel.o: src/ags/audio/recall/ags_clone_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo -c -o libags_audio_a-ags_clone_channel.o `test -f 'src/ags/audio/recall/ags_clone_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel.c' object='libags_audio_a-ags_clone_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel.o `test -f 'src/ags/audio/recall/ags_clone_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel.c
+
+libags_audio_a-ags_clone_channel.obj: src/ags/audio/recall/ags_clone_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo -c -o libags_audio_a-ags_clone_channel.obj `if test -f 'src/ags/audio/recall/ags_clone_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel.c' object='libags_audio_a-ags_clone_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel.obj `if test -f 'src/ags/audio/recall/ags_clone_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel.c'; fi`
+
+libags_audio_a-ags_clone_channel_run.o: src/ags/audio/recall/ags_clone_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo -c -o libags_audio_a-ags_clone_channel_run.o `test -f 'src/ags/audio/recall/ags_clone_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel_run.c' object='libags_audio_a-ags_clone_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel_run.o `test -f 'src/ags/audio/recall/ags_clone_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel_run.c
+
+libags_audio_a-ags_clone_channel_run.obj: src/ags/audio/recall/ags_clone_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo -c -o libags_audio_a-ags_clone_channel_run.obj `if test -f 'src/ags/audio/recall/ags_clone_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel_run.c' object='libags_audio_a-ags_clone_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel_run.obj `if test -f 'src/ags/audio/recall/ags_clone_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel_run.c'; fi`
+
+libags_audio_a-ags_echo.o: src/ags/audio/recall/ags_echo.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_echo.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_echo.Tpo -c -o libags_audio_a-ags_echo.o `test -f 'src/ags/audio/recall/ags_echo.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_echo.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_echo.Tpo $(DEPDIR)/libags_audio_a-ags_echo.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_echo.c' object='libags_audio_a-ags_echo.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_echo.o `test -f 'src/ags/audio/recall/ags_echo.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_echo.c
+
+libags_audio_a-ags_echo.obj: src/ags/audio/recall/ags_echo.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_echo.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_echo.Tpo -c -o libags_audio_a-ags_echo.obj `if test -f 'src/ags/audio/recall/ags_echo.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_echo.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_echo.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_echo.Tpo $(DEPDIR)/libags_audio_a-ags_echo.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_echo.c' object='libags_audio_a-ags_echo.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_echo.obj `if test -f 'src/ags/audio/recall/ags_echo.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_echo.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_echo.c'; fi`
+
+libags_audio_a-ags_loop_channel.o: src/ags/audio/recall/ags_loop_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo -c -o libags_audio_a-ags_loop_channel.o `test -f 'src/ags/audio/recall/ags_loop_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel.c' object='libags_audio_a-ags_loop_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel.o `test -f 'src/ags/audio/recall/ags_loop_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel.c
+
+libags_audio_a-ags_loop_channel.obj: src/ags/audio/recall/ags_loop_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo -c -o libags_audio_a-ags_loop_channel.obj `if test -f 'src/ags/audio/recall/ags_loop_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel.c' object='libags_audio_a-ags_loop_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel.obj `if test -f 'src/ags/audio/recall/ags_loop_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel.c'; fi`
+
+libags_audio_a-ags_loop_channel_run.o: src/ags/audio/recall/ags_loop_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo -c -o libags_audio_a-ags_loop_channel_run.o `test -f 'src/ags/audio/recall/ags_loop_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel_run.c' object='libags_audio_a-ags_loop_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel_run.o `test -f 'src/ags/audio/recall/ags_loop_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel_run.c
+
+libags_audio_a-ags_loop_channel_run.obj: src/ags/audio/recall/ags_loop_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo -c -o libags_audio_a-ags_loop_channel_run.obj `if test -f 'src/ags/audio/recall/ags_loop_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel_run.c' object='libags_audio_a-ags_loop_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel_run.obj `if test -f 'src/ags/audio/recall/ags_loop_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel_run.c'; fi`
+
+libags_audio_a-ags_play_note.o: src/ags/audio/recall/ags_play_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_note.Tpo -c -o libags_audio_a-ags_play_note.o `test -f 'src/ags/audio/recall/ags_play_note.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_note.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_note.Tpo $(DEPDIR)/libags_audio_a-ags_play_note.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_note.c' object='libags_audio_a-ags_play_note.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_note.o `test -f 'src/ags/audio/recall/ags_play_note.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_note.c
+
+libags_audio_a-ags_play_note.obj: src/ags/audio/recall/ags_play_note.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_note.Tpo -c -o libags_audio_a-ags_play_note.obj `if test -f 'src/ags/audio/recall/ags_play_note.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_note.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_note.Tpo $(DEPDIR)/libags_audio_a-ags_play_note.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_note.c' object='libags_audio_a-ags_play_note.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_note.obj `if test -f 'src/ags/audio/recall/ags_play_note.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_note.c'; fi`
+
+libags_audio_a-ags_stream.o: src/ags/audio/recall/ags_stream.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream.Tpo -c -o libags_audio_a-ags_stream.o `test -f 'src/ags/audio/recall/ags_stream.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream.Tpo $(DEPDIR)/libags_audio_a-ags_stream.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream.c' object='libags_audio_a-ags_stream.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream.o `test -f 'src/ags/audio/recall/ags_stream.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream.c
+
+libags_audio_a-ags_stream.obj: src/ags/audio/recall/ags_stream.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream.Tpo -c -o libags_audio_a-ags_stream.obj `if test -f 'src/ags/audio/recall/ags_stream.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream.Tpo $(DEPDIR)/libags_audio_a-ags_stream.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream.c' object='libags_audio_a-ags_stream.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream.obj `if test -f 'src/ags/audio/recall/ags_stream.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream.c'; fi`
+
+libags_audio_a-ags_buffer_audio_signal.o: src/ags/audio/recall/ags_buffer_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo -c -o libags_audio_a-ags_buffer_audio_signal.o `test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_audio_signal.c' object='libags_audio_a-ags_buffer_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_audio_signal.o `test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_audio_signal.c
+
+libags_audio_a-ags_buffer_audio_signal.obj: src/ags/audio/recall/ags_buffer_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo -c -o libags_audio_a-ags_buffer_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_audio_signal.c' object='libags_audio_a-ags_buffer_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_audio_signal.c'; fi`
+
+libags_audio_a-ags_buffer_channel.o: src/ags/audio/recall/ags_buffer_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo -c -o libags_audio_a-ags_buffer_channel.o `test -f 'src/ags/audio/recall/ags_buffer_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel.c' object='libags_audio_a-ags_buffer_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel.o `test -f 'src/ags/audio/recall/ags_buffer_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel.c
+
+libags_audio_a-ags_buffer_channel.obj: src/ags/audio/recall/ags_buffer_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo -c -o libags_audio_a-ags_buffer_channel.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel.c' object='libags_audio_a-ags_buffer_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel.c'; fi`
+
+libags_audio_a-ags_buffer_channel_run.o: src/ags/audio/recall/ags_buffer_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo -c -o libags_audio_a-ags_buffer_channel_run.o `test -f 'src/ags/audio/recall/ags_buffer_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel_run.c' object='libags_audio_a-ags_buffer_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel_run.o `test -f 'src/ags/audio/recall/ags_buffer_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel_run.c
+
+libags_audio_a-ags_buffer_channel_run.obj: src/ags/audio/recall/ags_buffer_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo -c -o libags_audio_a-ags_buffer_channel_run.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel_run.c' object='libags_audio_a-ags_buffer_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel_run.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel_run.c'; fi`
+
+libags_audio_a-ags_buffer_recycling.o: src/ags/audio/recall/ags_buffer_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo -c -o libags_audio_a-ags_buffer_recycling.o `test -f 'src/ags/audio/recall/ags_buffer_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_recycling.c' object='libags_audio_a-ags_buffer_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_recycling.o `test -f 'src/ags/audio/recall/ags_buffer_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_recycling.c
+
+libags_audio_a-ags_buffer_recycling.obj: src/ags/audio/recall/ags_buffer_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo -c -o libags_audio_a-ags_buffer_recycling.obj `if test -f 'src/ags/audio/recall/ags_buffer_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_recycling.c' object='libags_audio_a-ags_buffer_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_recycling.obj `if test -f 'src/ags/audio/recall/ags_buffer_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_recycling.c'; fi`
+
+libags_audio_a-ags_copy_audio_signal.o: src/ags/audio/recall/ags_copy_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo -c -o libags_audio_a-ags_copy_audio_signal.o `test -f 'src/ags/audio/recall/ags_copy_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_audio_signal.c' object='libags_audio_a-ags_copy_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_audio_signal.o `test -f 'src/ags/audio/recall/ags_copy_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_audio_signal.c
+
+libags_audio_a-ags_copy_audio_signal.obj: src/ags/audio/recall/ags_copy_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo -c -o libags_audio_a-ags_copy_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_copy_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_audio_signal.c' object='libags_audio_a-ags_copy_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_copy_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_audio_signal.c'; fi`
+
+libags_audio_a-ags_copy_channel.o: src/ags/audio/recall/ags_copy_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo -c -o libags_audio_a-ags_copy_channel.o `test -f 'src/ags/audio/recall/ags_copy_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel.c' object='libags_audio_a-ags_copy_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel.o `test -f 'src/ags/audio/recall/ags_copy_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel.c
+
+libags_audio_a-ags_copy_channel.obj: src/ags/audio/recall/ags_copy_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo -c -o libags_audio_a-ags_copy_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel.c' object='libags_audio_a-ags_copy_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel.c'; fi`
+
+libags_audio_a-ags_copy_channel_run.o: src/ags/audio/recall/ags_copy_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo -c -o libags_audio_a-ags_copy_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel_run.c' object='libags_audio_a-ags_copy_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel_run.c
+
+libags_audio_a-ags_copy_channel_run.obj: src/ags/audio/recall/ags_copy_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo -c -o libags_audio_a-ags_copy_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel_run.c' object='libags_audio_a-ags_copy_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel_run.c'; fi`
+
+libags_audio_a-ags_copy_notation_audio.o: src/ags/audio/recall/ags_copy_notation_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo -c -o libags_audio_a-ags_copy_notation_audio.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio.c' object='libags_audio_a-ags_copy_notation_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio.c
+
+libags_audio_a-ags_copy_notation_audio.obj: src/ags/audio/recall/ags_copy_notation_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo -c -o libags_audio_a-ags_copy_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio.c' object='libags_audio_a-ags_copy_notation_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio.c'; fi`
+
+libags_audio_a-ags_copy_notation_audio_run.o: src/ags/audio/recall/ags_copy_notation_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo -c -o libags_audio_a-ags_copy_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio_run.c' object='libags_audio_a-ags_copy_notation_audio_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio_run.c
+
+libags_audio_a-ags_copy_notation_audio_run.obj: src/ags/audio/recall/ags_copy_notation_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo -c -o libags_audio_a-ags_copy_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio_run.c' object='libags_audio_a-ags_copy_notation_audio_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio_run.c'; fi`
+
+libags_audio_a-ags_copy_pattern_audio.o: src/ags/audio/recall/ags_copy_pattern_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo -c -o libags_audio_a-ags_copy_pattern_audio.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio.c' object='libags_audio_a-ags_copy_pattern_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio.c
+
+libags_audio_a-ags_copy_pattern_audio.obj: src/ags/audio/recall/ags_copy_pattern_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo -c -o libags_audio_a-ags_copy_pattern_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio.c' object='libags_audio_a-ags_copy_pattern_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio.c'; fi`
+
+libags_audio_a-ags_copy_pattern_audio_run.o: src/ags/audio/recall/ags_copy_pattern_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo -c -o libags_audio_a-ags_copy_pattern_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio_run.c' object='libags_audio_a-ags_copy_pattern_audio_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio_run.c
+
+libags_audio_a-ags_copy_pattern_audio_run.obj: src/ags/audio/recall/ags_copy_pattern_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo -c -o libags_audio_a-ags_copy_pattern_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio_run.c' object='libags_audio_a-ags_copy_pattern_audio_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio_run.c'; fi`
+
+libags_audio_a-ags_copy_pattern_channel.o: src/ags/audio/recall/ags_copy_pattern_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo -c -o libags_audio_a-ags_copy_pattern_channel.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel.c' object='libags_audio_a-ags_copy_pattern_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel.c
+
+libags_audio_a-ags_copy_pattern_channel.obj: src/ags/audio/recall/ags_copy_pattern_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo -c -o libags_audio_a-ags_copy_pattern_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel.c' object='libags_audio_a-ags_copy_pattern_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel.c'; fi`
+
+libags_audio_a-ags_copy_pattern_channel_run.o: src/ags/audio/recall/ags_copy_pattern_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo -c -o libags_audio_a-ags_copy_pattern_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel_run.c' object='libags_audio_a-ags_copy_pattern_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel_run.c
+
+libags_audio_a-ags_copy_pattern_channel_run.obj: src/ags/audio/recall/ags_copy_pattern_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo -c -o libags_audio_a-ags_copy_pattern_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel_run.c' object='libags_audio_a-ags_copy_pattern_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel_run.c'; fi`
+
+libags_audio_a-ags_copy_recycling.o: src/ags/audio/recall/ags_copy_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo -c -o libags_audio_a-ags_copy_recycling.o `test -f 'src/ags/audio/recall/ags_copy_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_copy_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_recycling.c' object='libags_audio_a-ags_copy_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_recycling.o `test -f 'src/ags/audio/recall/ags_copy_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_recycling.c
+
+libags_audio_a-ags_copy_recycling.obj: src/ags/audio/recall/ags_copy_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo -c -o libags_audio_a-ags_copy_recycling.obj `if test -f 'src/ags/audio/recall/ags_copy_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_copy_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_copy_recycling.c' object='libags_audio_a-ags_copy_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_recycling.obj `if test -f 'src/ags/audio/recall/ags_copy_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_recycling.c'; fi`
+
+libags_audio_a-ags_count_beats_audio.o: src/ags/audio/recall/ags_count_beats_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo -c -o libags_audio_a-ags_count_beats_audio.o `test -f 'src/ags/audio/recall/ags_count_beats_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio.c' object='libags_audio_a-ags_count_beats_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio.o `test -f 'src/ags/audio/recall/ags_count_beats_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio.c
+
+libags_audio_a-ags_count_beats_audio.obj: src/ags/audio/recall/ags_count_beats_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo -c -o libags_audio_a-ags_count_beats_audio.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio.c' object='libags_audio_a-ags_count_beats_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio.c'; fi`
+
+libags_audio_a-ags_count_beats_audio_run.o: src/ags/audio/recall/ags_count_beats_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo -c -o libags_audio_a-ags_count_beats_audio_run.o `test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio_run.c' object='libags_audio_a-ags_count_beats_audio_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio_run.o `test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio_run.c
+
+libags_audio_a-ags_count_beats_audio_run.obj: src/ags/audio/recall/ags_count_beats_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo -c -o libags_audio_a-ags_count_beats_audio_run.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio_run.c' object='libags_audio_a-ags_count_beats_audio_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio_run.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio_run.c'; fi`
+
+libags_audio_a-ags_delay_audio.o: src/ags/audio/recall/ags_delay_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo -c -o libags_audio_a-ags_delay_audio.o `test -f 'src/ags/audio/recall/ags_delay_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio.c' object='libags_audio_a-ags_delay_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio.o `test -f 'src/ags/audio/recall/ags_delay_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio.c
+
+libags_audio_a-ags_delay_audio.obj: src/ags/audio/recall/ags_delay_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo -c -o libags_audio_a-ags_delay_audio.obj `if test -f 'src/ags/audio/recall/ags_delay_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio.c' object='libags_audio_a-ags_delay_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio.obj `if test -f 'src/ags/audio/recall/ags_delay_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio.c'; fi`
+
+libags_audio_a-ags_delay_audio_run.o: src/ags/audio/recall/ags_delay_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo -c -o libags_audio_a-ags_delay_audio_run.o `test -f 'src/ags/audio/recall/ags_delay_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio_run.c' object='libags_audio_a-ags_delay_audio_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio_run.o `test -f 'src/ags/audio/recall/ags_delay_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio_run.c
+
+libags_audio_a-ags_delay_audio_run.obj: src/ags/audio/recall/ags_delay_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo -c -o libags_audio_a-ags_delay_audio_run.obj `if test -f 'src/ags/audio/recall/ags_delay_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio_run.c' object='libags_audio_a-ags_delay_audio_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio_run.obj `if test -f 'src/ags/audio/recall/ags_delay_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio_run.c'; fi`
+
+libags_audio_a-ags_mute_audio.o: src/ags/audio/recall/ags_mute_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo -c -o libags_audio_a-ags_mute_audio.o `test -f 'src/ags/audio/recall/ags_mute_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio.c' object='libags_audio_a-ags_mute_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio.o `test -f 'src/ags/audio/recall/ags_mute_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio.c
+
+libags_audio_a-ags_mute_audio.obj: src/ags/audio/recall/ags_mute_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo -c -o libags_audio_a-ags_mute_audio.obj `if test -f 'src/ags/audio/recall/ags_mute_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio.c' object='libags_audio_a-ags_mute_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio.obj `if test -f 'src/ags/audio/recall/ags_mute_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio.c'; fi`
+
+libags_audio_a-ags_mute_audio_signal.o: src/ags/audio/recall/ags_mute_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo -c -o libags_audio_a-ags_mute_audio_signal.o `test -f 'src/ags/audio/recall/ags_mute_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio_signal.c' object='libags_audio_a-ags_mute_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio_signal.o `test -f 'src/ags/audio/recall/ags_mute_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio_signal.c
+
+libags_audio_a-ags_mute_audio_signal.obj: src/ags/audio/recall/ags_mute_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo -c -o libags_audio_a-ags_mute_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_mute_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio_signal.c' object='libags_audio_a-ags_mute_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_mute_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio_signal.c'; fi`
+
+libags_audio_a-ags_mute_channel.o: src/ags/audio/recall/ags_mute_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo -c -o libags_audio_a-ags_mute_channel.o `test -f 'src/ags/audio/recall/ags_mute_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel.c' object='libags_audio_a-ags_mute_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel.o `test -f 'src/ags/audio/recall/ags_mute_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel.c
+
+libags_audio_a-ags_mute_channel.obj: src/ags/audio/recall/ags_mute_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo -c -o libags_audio_a-ags_mute_channel.obj `if test -f 'src/ags/audio/recall/ags_mute_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel.c' object='libags_audio_a-ags_mute_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel.obj `if test -f 'src/ags/audio/recall/ags_mute_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel.c'; fi`
+
+libags_audio_a-ags_mute_channel_run.o: src/ags/audio/recall/ags_mute_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo -c -o libags_audio_a-ags_mute_channel_run.o `test -f 'src/ags/audio/recall/ags_mute_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel_run.c' object='libags_audio_a-ags_mute_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel_run.o `test -f 'src/ags/audio/recall/ags_mute_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel_run.c
+
+libags_audio_a-ags_mute_channel_run.obj: src/ags/audio/recall/ags_mute_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo -c -o libags_audio_a-ags_mute_channel_run.obj `if test -f 'src/ags/audio/recall/ags_mute_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel_run.c' object='libags_audio_a-ags_mute_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel_run.obj `if test -f 'src/ags/audio/recall/ags_mute_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel_run.c'; fi`
+
+libags_audio_a-ags_mute_recycling.o: src/ags/audio/recall/ags_mute_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo -c -o libags_audio_a-ags_mute_recycling.o `test -f 'src/ags/audio/recall/ags_mute_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_mute_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_recycling.c' object='libags_audio_a-ags_mute_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_recycling.o `test -f 'src/ags/audio/recall/ags_mute_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_recycling.c
+
+libags_audio_a-ags_mute_recycling.obj: src/ags/audio/recall/ags_mute_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo -c -o libags_audio_a-ags_mute_recycling.obj `if test -f 'src/ags/audio/recall/ags_mute_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_mute_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_mute_recycling.c' object='libags_audio_a-ags_mute_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_recycling.obj `if test -f 'src/ags/audio/recall/ags_mute_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_recycling.c'; fi`
+
+libags_audio_a-ags_peak_channel.o: src/ags/audio/recall/ags_peak_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo -c -o libags_audio_a-ags_peak_channel.o `test -f 'src/ags/audio/recall/ags_peak_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel.c' object='libags_audio_a-ags_peak_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel.o `test -f 'src/ags/audio/recall/ags_peak_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel.c
+
+libags_audio_a-ags_peak_channel.obj: src/ags/audio/recall/ags_peak_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo -c -o libags_audio_a-ags_peak_channel.obj `if test -f 'src/ags/audio/recall/ags_peak_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel.c' object='libags_audio_a-ags_peak_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel.obj `if test -f 'src/ags/audio/recall/ags_peak_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel.c'; fi`
+
+libags_audio_a-ags_peak_channel_run.o: src/ags/audio/recall/ags_peak_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo -c -o libags_audio_a-ags_peak_channel_run.o `test -f 'src/ags/audio/recall/ags_peak_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel_run.c' object='libags_audio_a-ags_peak_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel_run.o `test -f 'src/ags/audio/recall/ags_peak_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel_run.c
+
+libags_audio_a-ags_peak_channel_run.obj: src/ags/audio/recall/ags_peak_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo -c -o libags_audio_a-ags_peak_channel_run.obj `if test -f 'src/ags/audio/recall/ags_peak_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel_run.c' object='libags_audio_a-ags_peak_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel_run.obj `if test -f 'src/ags/audio/recall/ags_peak_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel_run.c'; fi`
+
+libags_audio_a-ags_play_audio_file.o: src/ags/audio/recall/ags_play_audio_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo -c -o libags_audio_a-ags_play_audio_file.o `test -f 'src/ags/audio/recall/ags_play_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_file.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_file.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_file.c' object='libags_audio_a-ags_play_audio_file.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_file.o `test -f 'src/ags/audio/recall/ags_play_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_file.c
+
+libags_audio_a-ags_play_audio_file.obj: src/ags/audio/recall/ags_play_audio_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo -c -o libags_audio_a-ags_play_audio_file.obj `if test -f 'src/ags/audio/recall/ags_play_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_file.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_file.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_file.c' object='libags_audio_a-ags_play_audio_file.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_file.obj `if test -f 'src/ags/audio/recall/ags_play_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_file.c'; fi`
+
+libags_audio_a-ags_play_audio.o: src/ags/audio/recall/ags_play_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo -c -o libags_audio_a-ags_play_audio.o `test -f 'src/ags/audio/recall/ags_play_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio.c' object='libags_audio_a-ags_play_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio.o `test -f 'src/ags/audio/recall/ags_play_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio.c
+
+libags_audio_a-ags_play_audio.obj: src/ags/audio/recall/ags_play_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo -c -o libags_audio_a-ags_play_audio.obj `if test -f 'src/ags/audio/recall/ags_play_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio.c' object='libags_audio_a-ags_play_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio.obj `if test -f 'src/ags/audio/recall/ags_play_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio.c'; fi`
+
+libags_audio_a-ags_play_audio_signal.o: src/ags/audio/recall/ags_play_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo -c -o libags_audio_a-ags_play_audio_signal.o `test -f 'src/ags/audio/recall/ags_play_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_signal.c' object='libags_audio_a-ags_play_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_signal.o `test -f 'src/ags/audio/recall/ags_play_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_signal.c
+
+libags_audio_a-ags_play_audio_signal.obj: src/ags/audio/recall/ags_play_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo -c -o libags_audio_a-ags_play_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_play_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_signal.c' object='libags_audio_a-ags_play_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_play_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_signal.c'; fi`
+
+libags_audio_a-ags_play_channel.o: src/ags/audio/recall/ags_play_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo -c -o libags_audio_a-ags_play_channel.o `test -f 'src/ags/audio/recall/ags_play_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel.c' object='libags_audio_a-ags_play_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel.o `test -f 'src/ags/audio/recall/ags_play_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel.c
+
+libags_audio_a-ags_play_channel.obj: src/ags/audio/recall/ags_play_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo -c -o libags_audio_a-ags_play_channel.obj `if test -f 'src/ags/audio/recall/ags_play_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel.c' object='libags_audio_a-ags_play_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel.obj `if test -f 'src/ags/audio/recall/ags_play_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel.c'; fi`
+
+libags_audio_a-ags_play_channel_run.o: src/ags/audio/recall/ags_play_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo -c -o libags_audio_a-ags_play_channel_run.o `test -f 'src/ags/audio/recall/ags_play_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run.c' object='libags_audio_a-ags_play_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run.o `test -f 'src/ags/audio/recall/ags_play_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run.c
+
+libags_audio_a-ags_play_channel_run.obj: src/ags/audio/recall/ags_play_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo -c -o libags_audio_a-ags_play_channel_run.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run.c' object='libags_audio_a-ags_play_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run.c'; fi`
+
+libags_audio_a-ags_play_channel_run_master.o: src/ags/audio/recall/ags_play_channel_run_master.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run_master.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo -c -o libags_audio_a-ags_play_channel_run_master.o `test -f 'src/ags/audio/recall/ags_play_channel_run_master.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run_master.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run_master.c' object='libags_audio_a-ags_play_channel_run_master.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run_master.o `test -f 'src/ags/audio/recall/ags_play_channel_run_master.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run_master.c
+
+libags_audio_a-ags_play_channel_run_master.obj: src/ags/audio/recall/ags_play_channel_run_master.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run_master.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo -c -o libags_audio_a-ags_play_channel_run_master.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run_master.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run_master.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run_master.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run_master.c' object='libags_audio_a-ags_play_channel_run_master.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run_master.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run_master.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run_master.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run_master.c'; fi`
+
+libags_audio_a-ags_play_notation_audio.o: src/ags/audio/recall/ags_play_notation_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo -c -o libags_audio_a-ags_play_notation_audio.o `test -f 'src/ags/audio/recall/ags_play_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio.c' object='libags_audio_a-ags_play_notation_audio.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio.o `test -f 'src/ags/audio/recall/ags_play_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio.c
+
+libags_audio_a-ags_play_notation_audio.obj: src/ags/audio/recall/ags_play_notation_audio.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo -c -o libags_audio_a-ags_play_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio.c' object='libags_audio_a-ags_play_notation_audio.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio.c'; fi`
+
+libags_audio_a-ags_play_notation_audio_run.o: src/ags/audio/recall/ags_play_notation_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo -c -o libags_audio_a-ags_play_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio_run.c' object='libags_audio_a-ags_play_notation_audio_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio_run.c
+
+libags_audio_a-ags_play_notation_audio_run.obj: src/ags/audio/recall/ags_play_notation_audio_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo -c -o libags_audio_a-ags_play_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio_run.c' object='libags_audio_a-ags_play_notation_audio_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio_run.c'; fi`
+
+libags_audio_a-ags_play_pattern.o: src/ags/audio/recall/ags_play_pattern.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_pattern.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo -c -o libags_audio_a-ags_play_pattern.o `test -f 'src/ags/audio/recall/ags_play_pattern.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_pattern.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_play_pattern.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_pattern.c' object='libags_audio_a-ags_play_pattern.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_pattern.o `test -f 'src/ags/audio/recall/ags_play_pattern.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_pattern.c
+
+libags_audio_a-ags_play_pattern.obj: src/ags/audio/recall/ags_play_pattern.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_pattern.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo -c -o libags_audio_a-ags_play_pattern.obj `if test -f 'src/ags/audio/recall/ags_play_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_pattern.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_play_pattern.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_pattern.c' object='libags_audio_a-ags_play_pattern.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_pattern.obj `if test -f 'src/ags/audio/recall/ags_play_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_pattern.c'; fi`
+
+libags_audio_a-ags_play_recycling.o: src/ags/audio/recall/ags_play_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo -c -o libags_audio_a-ags_play_recycling.o `test -f 'src/ags/audio/recall/ags_play_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_play_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_recycling.c' object='libags_audio_a-ags_play_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_recycling.o `test -f 'src/ags/audio/recall/ags_play_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_recycling.c
+
+libags_audio_a-ags_play_recycling.obj: src/ags/audio/recall/ags_play_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo -c -o libags_audio_a-ags_play_recycling.obj `if test -f 'src/ags/audio/recall/ags_play_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_play_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_play_recycling.c' object='libags_audio_a-ags_play_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_recycling.obj `if test -f 'src/ags/audio/recall/ags_play_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_recycling.c'; fi`
+
+libags_audio_a-ags_stream_audio_signal.o: src/ags/audio/recall/ags_stream_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo -c -o libags_audio_a-ags_stream_audio_signal.o `test -f 'src/ags/audio/recall/ags_stream_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_audio_signal.c' object='libags_audio_a-ags_stream_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_audio_signal.o `test -f 'src/ags/audio/recall/ags_stream_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_audio_signal.c
+
+libags_audio_a-ags_stream_audio_signal.obj: src/ags/audio/recall/ags_stream_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo -c -o libags_audio_a-ags_stream_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_stream_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_audio_signal.c' object='libags_audio_a-ags_stream_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_stream_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_audio_signal.c'; fi`
+
+libags_audio_a-ags_stream_channel.o: src/ags/audio/recall/ags_stream_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo -c -o libags_audio_a-ags_stream_channel.o `test -f 'src/ags/audio/recall/ags_stream_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel.c' object='libags_audio_a-ags_stream_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel.o `test -f 'src/ags/audio/recall/ags_stream_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel.c
+
+libags_audio_a-ags_stream_channel.obj: src/ags/audio/recall/ags_stream_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo -c -o libags_audio_a-ags_stream_channel.obj `if test -f 'src/ags/audio/recall/ags_stream_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel.c' object='libags_audio_a-ags_stream_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel.obj `if test -f 'src/ags/audio/recall/ags_stream_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel.c'; fi`
+
+libags_audio_a-ags_stream_channel_run.o: src/ags/audio/recall/ags_stream_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo -c -o libags_audio_a-ags_stream_channel_run.o `test -f 'src/ags/audio/recall/ags_stream_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel_run.c' object='libags_audio_a-ags_stream_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel_run.o `test -f 'src/ags/audio/recall/ags_stream_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel_run.c
+
+libags_audio_a-ags_stream_channel_run.obj: src/ags/audio/recall/ags_stream_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo -c -o libags_audio_a-ags_stream_channel_run.obj `if test -f 'src/ags/audio/recall/ags_stream_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel_run.c' object='libags_audio_a-ags_stream_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel_run.obj `if test -f 'src/ags/audio/recall/ags_stream_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel_run.c'; fi`
+
+libags_audio_a-ags_stream_recycling.o: src/ags/audio/recall/ags_stream_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo -c -o libags_audio_a-ags_stream_recycling.o `test -f 'src/ags/audio/recall/ags_stream_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_stream_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_recycling.c' object='libags_audio_a-ags_stream_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_recycling.o `test -f 'src/ags/audio/recall/ags_stream_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_recycling.c
+
+libags_audio_a-ags_stream_recycling.obj: src/ags/audio/recall/ags_stream_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo -c -o libags_audio_a-ags_stream_recycling.obj `if test -f 'src/ags/audio/recall/ags_stream_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_stream_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_stream_recycling.c' object='libags_audio_a-ags_stream_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_recycling.obj `if test -f 'src/ags/audio/recall/ags_stream_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_recycling.c'; fi`
+
+libags_audio_a-ags_volume_audio_signal.o: src/ags/audio/recall/ags_volume_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo -c -o libags_audio_a-ags_volume_audio_signal.o `test -f 'src/ags/audio/recall/ags_volume_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_audio_signal.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_audio_signal.c' object='libags_audio_a-ags_volume_audio_signal.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_audio_signal.o `test -f 'src/ags/audio/recall/ags_volume_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_audio_signal.c
+
+libags_audio_a-ags_volume_audio_signal.obj: src/ags/audio/recall/ags_volume_audio_signal.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo -c -o libags_audio_a-ags_volume_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_volume_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_audio_signal.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_audio_signal.c' object='libags_audio_a-ags_volume_audio_signal.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_volume_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_audio_signal.c'; fi`
+
+libags_audio_a-ags_volume_channel.o: src/ags/audio/recall/ags_volume_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo -c -o libags_audio_a-ags_volume_channel.o `test -f 'src/ags/audio/recall/ags_volume_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel.c' object='libags_audio_a-ags_volume_channel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel.o `test -f 'src/ags/audio/recall/ags_volume_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel.c
+
+libags_audio_a-ags_volume_channel.obj: src/ags/audio/recall/ags_volume_channel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo -c -o libags_audio_a-ags_volume_channel.obj `if test -f 'src/ags/audio/recall/ags_volume_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel.c' object='libags_audio_a-ags_volume_channel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel.obj `if test -f 'src/ags/audio/recall/ags_volume_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel.c'; fi`
+
+libags_audio_a-ags_volume_channel_run.o: src/ags/audio/recall/ags_volume_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo -c -o libags_audio_a-ags_volume_channel_run.o `test -f 'src/ags/audio/recall/ags_volume_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel_run.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel_run.c' object='libags_audio_a-ags_volume_channel_run.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel_run.o `test -f 'src/ags/audio/recall/ags_volume_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel_run.c
+
+libags_audio_a-ags_volume_channel_run.obj: src/ags/audio/recall/ags_volume_channel_run.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo -c -o libags_audio_a-ags_volume_channel_run.obj `if test -f 'src/ags/audio/recall/ags_volume_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel_run.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel_run.c' object='libags_audio_a-ags_volume_channel_run.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel_run.obj `if test -f 'src/ags/audio/recall/ags_volume_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel_run.c'; fi`
+
+libags_audio_a-ags_volume_recycling.o: src/ags/audio/recall/ags_volume_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo -c -o libags_audio_a-ags_volume_recycling.o `test -f 'src/ags/audio/recall/ags_volume_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_recycling.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_volume_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_recycling.c' object='libags_audio_a-ags_volume_recycling.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_recycling.o `test -f 'src/ags/audio/recall/ags_volume_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_recycling.c
+
+libags_audio_a-ags_volume_recycling.obj: src/ags/audio/recall/ags_volume_recycling.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo -c -o libags_audio_a-ags_volume_recycling.obj `if test -f 'src/ags/audio/recall/ags_volume_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_recycling.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_volume_recycling.Po
+# $(AM_V_CC)source='src/ags/audio/recall/ags_volume_recycling.c' object='libags_audio_a-ags_volume_recycling.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_recycling.obj `if test -f 'src/ags/audio/recall/ags_volume_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_recycling.c'; fi`
+
+libags_audio_a-ags_ladspa_manager.o: src/ags/plugin/ags_ladspa_manager.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ladspa_manager.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo -c -o libags_audio_a-ags_ladspa_manager.o `test -f 'src/ags/plugin/ags_ladspa_manager.c' || echo '$(srcdir)/'`src/ags/plugin/ags_ladspa_manager.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Po
+# $(AM_V_CC)source='src/ags/plugin/ags_ladspa_manager.c' object='libags_audio_a-ags_ladspa_manager.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ladspa_manager.o `test -f 'src/ags/plugin/ags_ladspa_manager.c' || echo '$(srcdir)/'`src/ags/plugin/ags_ladspa_manager.c
+
+libags_audio_a-ags_ladspa_manager.obj: src/ags/plugin/ags_ladspa_manager.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ladspa_manager.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo -c -o libags_audio_a-ags_ladspa_manager.obj `if test -f 'src/ags/plugin/ags_ladspa_manager.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_ladspa_manager.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_ladspa_manager.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Po
+# $(AM_V_CC)source='src/ags/plugin/ags_ladspa_manager.c' object='libags_audio_a-ags_ladspa_manager.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ladspa_manager.obj `if test -f 'src/ags/plugin/ags_ladspa_manager.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_ladspa_manager.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_ladspa_manager.c'; fi`
+
+libags_audio_a-ags_plugin_factory.o: src/ags/plugin/ags_plugin_factory.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_plugin_factory.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo -c -o libags_audio_a-ags_plugin_factory.o `test -f 'src/ags/plugin/ags_plugin_factory.c' || echo '$(srcdir)/'`src/ags/plugin/ags_plugin_factory.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo $(DEPDIR)/libags_audio_a-ags_plugin_factory.Po
+# $(AM_V_CC)source='src/ags/plugin/ags_plugin_factory.c' object='libags_audio_a-ags_plugin_factory.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_plugin_factory.o `test -f 'src/ags/plugin/ags_plugin_factory.c' || echo '$(srcdir)/'`src/ags/plugin/ags_plugin_factory.c
+
+libags_audio_a-ags_plugin_factory.obj: src/ags/plugin/ags_plugin_factory.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_plugin_factory.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo -c -o libags_audio_a-ags_plugin_factory.obj `if test -f 'src/ags/plugin/ags_plugin_factory.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_plugin_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_plugin_factory.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo $(DEPDIR)/libags_audio_a-ags_plugin_factory.Po
+# $(AM_V_CC)source='src/ags/plugin/ags_plugin_factory.c' object='libags_audio_a-ags_plugin_factory.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_plugin_factory.obj `if test -f 'src/ags/plugin/ags_plugin_factory.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_plugin_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_plugin_factory.c'; fi`
+
+libags_gui_a-ags_cartesian.o: src/ags/widget/ags_cartesian.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_cartesian.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo -c -o libags_gui_a-ags_cartesian.o `test -f 'src/ags/widget/ags_cartesian.c' || echo '$(srcdir)/'`src/ags/widget/ags_cartesian.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo $(DEPDIR)/libags_gui_a-ags_cartesian.Po
+# $(AM_V_CC)source='src/ags/widget/ags_cartesian.c' object='libags_gui_a-ags_cartesian.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_cartesian.o `test -f 'src/ags/widget/ags_cartesian.c' || echo '$(srcdir)/'`src/ags/widget/ags_cartesian.c
+
+libags_gui_a-ags_cartesian.obj: src/ags/widget/ags_cartesian.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_cartesian.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo -c -o libags_gui_a-ags_cartesian.obj `if test -f 'src/ags/widget/ags_cartesian.c'; then $(CYGPATH_W) 'src/ags/widget/ags_cartesian.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_cartesian.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo $(DEPDIR)/libags_gui_a-ags_cartesian.Po
+# $(AM_V_CC)source='src/ags/widget/ags_cartesian.c' object='libags_gui_a-ags_cartesian.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_cartesian.obj `if test -f 'src/ags/widget/ags_cartesian.c'; then $(CYGPATH_W) 'src/ags/widget/ags_cartesian.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_cartesian.c'; fi`
+
+libags_gui_a-ags_dial.o: src/ags/widget/ags_dial.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_dial.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_dial.Tpo -c -o libags_gui_a-ags_dial.o `test -f 'src/ags/widget/ags_dial.c' || echo '$(srcdir)/'`src/ags/widget/ags_dial.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_dial.Tpo $(DEPDIR)/libags_gui_a-ags_dial.Po
+# $(AM_V_CC)source='src/ags/widget/ags_dial.c' object='libags_gui_a-ags_dial.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_dial.o `test -f 'src/ags/widget/ags_dial.c' || echo '$(srcdir)/'`src/ags/widget/ags_dial.c
+
+libags_gui_a-ags_dial.obj: src/ags/widget/ags_dial.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_dial.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_dial.Tpo -c -o libags_gui_a-ags_dial.obj `if test -f 'src/ags/widget/ags_dial.c'; then $(CYGPATH_W) 'src/ags/widget/ags_dial.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_dial.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_dial.Tpo $(DEPDIR)/libags_gui_a-ags_dial.Po
+# $(AM_V_CC)source='src/ags/widget/ags_dial.c' object='libags_gui_a-ags_dial.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_dial.obj `if test -f 'src/ags/widget/ags_dial.c'; then $(CYGPATH_W) 'src/ags/widget/ags_dial.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_dial.c'; fi`
+
+libags_gui_a-ags_expander.o: src/ags/widget/ags_expander.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander.Tpo -c -o libags_gui_a-ags_expander.o `test -f 'src/ags/widget/ags_expander.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander.Tpo $(DEPDIR)/libags_gui_a-ags_expander.Po
+# $(AM_V_CC)source='src/ags/widget/ags_expander.c' object='libags_gui_a-ags_expander.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander.o `test -f 'src/ags/widget/ags_expander.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander.c
+
+libags_gui_a-ags_expander.obj: src/ags/widget/ags_expander.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander.Tpo -c -o libags_gui_a-ags_expander.obj `if test -f 'src/ags/widget/ags_expander.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander.Tpo $(DEPDIR)/libags_gui_a-ags_expander.Po
+# $(AM_V_CC)source='src/ags/widget/ags_expander.c' object='libags_gui_a-ags_expander.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander.obj `if test -f 'src/ags/widget/ags_expander.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander.c'; fi`
+
+libags_gui_a-ags_expander_set.o: src/ags/widget/ags_expander_set.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander_set.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo -c -o libags_gui_a-ags_expander_set.o `test -f 'src/ags/widget/ags_expander_set.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander_set.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo $(DEPDIR)/libags_gui_a-ags_expander_set.Po
+# $(AM_V_CC)source='src/ags/widget/ags_expander_set.c' object='libags_gui_a-ags_expander_set.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander_set.o `test -f 'src/ags/widget/ags_expander_set.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander_set.c
+
+libags_gui_a-ags_expander_set.obj: src/ags/widget/ags_expander_set.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander_set.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo -c -o libags_gui_a-ags_expander_set.obj `if test -f 'src/ags/widget/ags_expander_set.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander_set.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander_set.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo $(DEPDIR)/libags_gui_a-ags_expander_set.Po
+# $(AM_V_CC)source='src/ags/widget/ags_expander_set.c' object='libags_gui_a-ags_expander_set.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander_set.obj `if test -f 'src/ags/widget/ags_expander_set.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander_set.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander_set.c'; fi`
+
+libags_gui_a-ags_hindicator.o: src/ags/widget/ags_hindicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_hindicator.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo -c -o libags_gui_a-ags_hindicator.o `test -f 'src/ags/widget/ags_hindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_hindicator.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo $(DEPDIR)/libags_gui_a-ags_hindicator.Po
+# $(AM_V_CC)source='src/ags/widget/ags_hindicator.c' object='libags_gui_a-ags_hindicator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_hindicator.o `test -f 'src/ags/widget/ags_hindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_hindicator.c
+
+libags_gui_a-ags_hindicator.obj: src/ags/widget/ags_hindicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_hindicator.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo -c -o libags_gui_a-ags_hindicator.obj `if test -f 'src/ags/widget/ags_hindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_hindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_hindicator.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo $(DEPDIR)/libags_gui_a-ags_hindicator.Po
+# $(AM_V_CC)source='src/ags/widget/ags_hindicator.c' object='libags_gui_a-ags_hindicator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_hindicator.obj `if test -f 'src/ags/widget/ags_hindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_hindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_hindicator.c'; fi`
+
+libags_gui_a-ags_htimebar.o: src/ags/widget/ags_htimebar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_htimebar.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo -c -o libags_gui_a-ags_htimebar.o `test -f 'src/ags/widget/ags_htimebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_htimebar.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo $(DEPDIR)/libags_gui_a-ags_htimebar.Po
+# $(AM_V_CC)source='src/ags/widget/ags_htimebar.c' object='libags_gui_a-ags_htimebar.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_htimebar.o `test -f 'src/ags/widget/ags_htimebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_htimebar.c
+
+libags_gui_a-ags_htimebar.obj: src/ags/widget/ags_htimebar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_htimebar.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo -c -o libags_gui_a-ags_htimebar.obj `if test -f 'src/ags/widget/ags_htimebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_htimebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_htimebar.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo $(DEPDIR)/libags_gui_a-ags_htimebar.Po
+# $(AM_V_CC)source='src/ags/widget/ags_htimebar.c' object='libags_gui_a-ags_htimebar.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_htimebar.obj `if test -f 'src/ags/widget/ags_htimebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_htimebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_htimebar.c'; fi`
+
+libags_gui_a-ags_indicator.o: src/ags/widget/ags_indicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_indicator.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_indicator.Tpo -c -o libags_gui_a-ags_indicator.o `test -f 'src/ags/widget/ags_indicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_indicator.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_indicator.Tpo $(DEPDIR)/libags_gui_a-ags_indicator.Po
+# $(AM_V_CC)source='src/ags/widget/ags_indicator.c' object='libags_gui_a-ags_indicator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_indicator.o `test -f 'src/ags/widget/ags_indicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_indicator.c
+
+libags_gui_a-ags_indicator.obj: src/ags/widget/ags_indicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_indicator.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_indicator.Tpo -c -o libags_gui_a-ags_indicator.obj `if test -f 'src/ags/widget/ags_indicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_indicator.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_indicator.Tpo $(DEPDIR)/libags_gui_a-ags_indicator.Po
+# $(AM_V_CC)source='src/ags/widget/ags_indicator.c' object='libags_gui_a-ags_indicator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_indicator.obj `if test -f 'src/ags/widget/ags_indicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_indicator.c'; fi`
+
+libags_gui_a-ags_led.o: src/ags/widget/ags_led.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_led.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_led.Tpo -c -o libags_gui_a-ags_led.o `test -f 'src/ags/widget/ags_led.c' || echo '$(srcdir)/'`src/ags/widget/ags_led.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_led.Tpo $(DEPDIR)/libags_gui_a-ags_led.Po
+# $(AM_V_CC)source='src/ags/widget/ags_led.c' object='libags_gui_a-ags_led.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_led.o `test -f 'src/ags/widget/ags_led.c' || echo '$(srcdir)/'`src/ags/widget/ags_led.c
+
+libags_gui_a-ags_led.obj: src/ags/widget/ags_led.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_led.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_led.Tpo -c -o libags_gui_a-ags_led.obj `if test -f 'src/ags/widget/ags_led.c'; then $(CYGPATH_W) 'src/ags/widget/ags_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_led.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_led.Tpo $(DEPDIR)/libags_gui_a-ags_led.Po
+# $(AM_V_CC)source='src/ags/widget/ags_led.c' object='libags_gui_a-ags_led.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_led.obj `if test -f 'src/ags/widget/ags_led.c'; then $(CYGPATH_W) 'src/ags/widget/ags_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_led.c'; fi`
+
+libags_gui_a-ags_menu.o: src/ags/widget/ags_menu.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu.Tpo -c -o libags_gui_a-ags_menu.o `test -f 'src/ags/widget/ags_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu.Tpo $(DEPDIR)/libags_gui_a-ags_menu.Po
+# $(AM_V_CC)source='src/ags/widget/ags_menu.c' object='libags_gui_a-ags_menu.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu.o `test -f 'src/ags/widget/ags_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu.c
+
+libags_gui_a-ags_menu.obj: src/ags/widget/ags_menu.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu.Tpo -c -o libags_gui_a-ags_menu.obj `if test -f 'src/ags/widget/ags_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu.Tpo $(DEPDIR)/libags_gui_a-ags_menu.Po
+# $(AM_V_CC)source='src/ags/widget/ags_menu.c' object='libags_gui_a-ags_menu.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu.obj `if test -f 'src/ags/widget/ags_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu.c'; fi`
+
+libags_gui_a-ags_menu_item.o: src/ags/widget/ags_menu_item.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu_item.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo -c -o libags_gui_a-ags_menu_item.o `test -f 'src/ags/widget/ags_menu_item.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu_item.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo $(DEPDIR)/libags_gui_a-ags_menu_item.Po
+# $(AM_V_CC)source='src/ags/widget/ags_menu_item.c' object='libags_gui_a-ags_menu_item.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu_item.o `test -f 'src/ags/widget/ags_menu_item.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu_item.c
+
+libags_gui_a-ags_menu_item.obj: src/ags/widget/ags_menu_item.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu_item.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo -c -o libags_gui_a-ags_menu_item.obj `if test -f 'src/ags/widget/ags_menu_item.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu_item.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu_item.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo $(DEPDIR)/libags_gui_a-ags_menu_item.Po
+# $(AM_V_CC)source='src/ags/widget/ags_menu_item.c' object='libags_gui_a-ags_menu_item.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu_item.obj `if test -f 'src/ags/widget/ags_menu_item.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu_item.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu_item.c'; fi`
+
+libags_gui_a-ags_option_menu.o: src/ags/widget/ags_option_menu.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_option_menu.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo -c -o libags_gui_a-ags_option_menu.o `test -f 'src/ags/widget/ags_option_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_option_menu.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo $(DEPDIR)/libags_gui_a-ags_option_menu.Po
+# $(AM_V_CC)source='src/ags/widget/ags_option_menu.c' object='libags_gui_a-ags_option_menu.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_option_menu.o `test -f 'src/ags/widget/ags_option_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_option_menu.c
+
+libags_gui_a-ags_option_menu.obj: src/ags/widget/ags_option_menu.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_option_menu.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo -c -o libags_gui_a-ags_option_menu.obj `if test -f 'src/ags/widget/ags_option_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_option_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_option_menu.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo $(DEPDIR)/libags_gui_a-ags_option_menu.Po
+# $(AM_V_CC)source='src/ags/widget/ags_option_menu.c' object='libags_gui_a-ags_option_menu.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_option_menu.obj `if test -f 'src/ags/widget/ags_option_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_option_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_option_menu.c'; fi`
+
+libags_gui_a-ags_ruler.o: src/ags/widget/ags_ruler.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_ruler.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_ruler.Tpo -c -o libags_gui_a-ags_ruler.o `test -f 'src/ags/widget/ags_ruler.c' || echo '$(srcdir)/'`src/ags/widget/ags_ruler.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_ruler.Tpo $(DEPDIR)/libags_gui_a-ags_ruler.Po
+# $(AM_V_CC)source='src/ags/widget/ags_ruler.c' object='libags_gui_a-ags_ruler.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_ruler.o `test -f 'src/ags/widget/ags_ruler.c' || echo '$(srcdir)/'`src/ags/widget/ags_ruler.c
+
+libags_gui_a-ags_ruler.obj: src/ags/widget/ags_ruler.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_ruler.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_ruler.Tpo -c -o libags_gui_a-ags_ruler.obj `if test -f 'src/ags/widget/ags_ruler.c'; then $(CYGPATH_W) 'src/ags/widget/ags_ruler.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_ruler.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_ruler.Tpo $(DEPDIR)/libags_gui_a-ags_ruler.Po
+# $(AM_V_CC)source='src/ags/widget/ags_ruler.c' object='libags_gui_a-ags_ruler.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_ruler.obj `if test -f 'src/ags/widget/ags_ruler.c'; then $(CYGPATH_W) 'src/ags/widget/ags_ruler.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_ruler.c'; fi`
+
+libags_gui_a-ags_segment.o: src/ags/widget/ags_segment.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_segment.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_segment.Tpo -c -o libags_gui_a-ags_segment.o `test -f 'src/ags/widget/ags_segment.c' || echo '$(srcdir)/'`src/ags/widget/ags_segment.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_segment.Tpo $(DEPDIR)/libags_gui_a-ags_segment.Po
+# $(AM_V_CC)source='src/ags/widget/ags_segment.c' object='libags_gui_a-ags_segment.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_segment.o `test -f 'src/ags/widget/ags_segment.c' || echo '$(srcdir)/'`src/ags/widget/ags_segment.c
+
+libags_gui_a-ags_segment.obj: src/ags/widget/ags_segment.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_segment.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_segment.Tpo -c -o libags_gui_a-ags_segment.obj `if test -f 'src/ags/widget/ags_segment.c'; then $(CYGPATH_W) 'src/ags/widget/ags_segment.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_segment.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_segment.Tpo $(DEPDIR)/libags_gui_a-ags_segment.Po
+# $(AM_V_CC)source='src/ags/widget/ags_segment.c' object='libags_gui_a-ags_segment.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_segment.obj `if test -f 'src/ags/widget/ags_segment.c'; then $(CYGPATH_W) 'src/ags/widget/ags_segment.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_segment.c'; fi`
+
+libags_gui_a-ags_table.o: src/ags/widget/ags_table.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_table.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_table.Tpo -c -o libags_gui_a-ags_table.o `test -f 'src/ags/widget/ags_table.c' || echo '$(srcdir)/'`src/ags/widget/ags_table.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_table.Tpo $(DEPDIR)/libags_gui_a-ags_table.Po
+# $(AM_V_CC)source='src/ags/widget/ags_table.c' object='libags_gui_a-ags_table.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_table.o `test -f 'src/ags/widget/ags_table.c' || echo '$(srcdir)/'`src/ags/widget/ags_table.c
+
+libags_gui_a-ags_table.obj: src/ags/widget/ags_table.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_table.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_table.Tpo -c -o libags_gui_a-ags_table.obj `if test -f 'src/ags/widget/ags_table.c'; then $(CYGPATH_W) 'src/ags/widget/ags_table.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_table.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_table.Tpo $(DEPDIR)/libags_gui_a-ags_table.Po
+# $(AM_V_CC)source='src/ags/widget/ags_table.c' object='libags_gui_a-ags_table.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_table.obj `if test -f 'src/ags/widget/ags_table.c'; then $(CYGPATH_W) 'src/ags/widget/ags_table.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_table.c'; fi`
+
+libags_gui_a-ags_timebar.o: src/ags/widget/ags_timebar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_timebar.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_timebar.Tpo -c -o libags_gui_a-ags_timebar.o `test -f 'src/ags/widget/ags_timebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_timebar.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_timebar.Tpo $(DEPDIR)/libags_gui_a-ags_timebar.Po
+# $(AM_V_CC)source='src/ags/widget/ags_timebar.c' object='libags_gui_a-ags_timebar.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_timebar.o `test -f 'src/ags/widget/ags_timebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_timebar.c
+
+libags_gui_a-ags_timebar.obj: src/ags/widget/ags_timebar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_timebar.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_timebar.Tpo -c -o libags_gui_a-ags_timebar.obj `if test -f 'src/ags/widget/ags_timebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_timebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_timebar.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_timebar.Tpo $(DEPDIR)/libags_gui_a-ags_timebar.Po
+# $(AM_V_CC)source='src/ags/widget/ags_timebar.c' object='libags_gui_a-ags_timebar.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_timebar.obj `if test -f 'src/ags/widget/ags_timebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_timebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_timebar.c'; fi`
+
+libags_gui_a-ags_vindicator.o: src/ags/widget/ags_vindicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_vindicator.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo -c -o libags_gui_a-ags_vindicator.o `test -f 'src/ags/widget/ags_vindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_vindicator.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo $(DEPDIR)/libags_gui_a-ags_vindicator.Po
+# $(AM_V_CC)source='src/ags/widget/ags_vindicator.c' object='libags_gui_a-ags_vindicator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_vindicator.o `test -f 'src/ags/widget/ags_vindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_vindicator.c
+
+libags_gui_a-ags_vindicator.obj: src/ags/widget/ags_vindicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_vindicator.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo -c -o libags_gui_a-ags_vindicator.obj `if test -f 'src/ags/widget/ags_vindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_vindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_vindicator.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo $(DEPDIR)/libags_gui_a-ags_vindicator.Po
+# $(AM_V_CC)source='src/ags/widget/ags_vindicator.c' object='libags_gui_a-ags_vindicator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_vindicator.obj `if test -f 'src/ags/widget/ags_vindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_vindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_vindicator.c'; fi`
+
+libags_gui_a-ags_waveform.o: src/ags/widget/ags_waveform.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_waveform.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_waveform.Tpo -c -o libags_gui_a-ags_waveform.o `test -f 'src/ags/widget/ags_waveform.c' || echo '$(srcdir)/'`src/ags/widget/ags_waveform.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_waveform.Tpo $(DEPDIR)/libags_gui_a-ags_waveform.Po
+# $(AM_V_CC)source='src/ags/widget/ags_waveform.c' object='libags_gui_a-ags_waveform.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_waveform.o `test -f 'src/ags/widget/ags_waveform.c' || echo '$(srcdir)/'`src/ags/widget/ags_waveform.c
+
+libags_gui_a-ags_waveform.obj: src/ags/widget/ags_waveform.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_waveform.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_waveform.Tpo -c -o libags_gui_a-ags_waveform.obj `if test -f 'src/ags/widget/ags_waveform.c'; then $(CYGPATH_W) 'src/ags/widget/ags_waveform.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_waveform.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_waveform.Tpo $(DEPDIR)/libags_gui_a-ags_waveform.Po
+# $(AM_V_CC)source='src/ags/widget/ags_waveform.c' object='libags_gui_a-ags_waveform.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_waveform.obj `if test -f 'src/ags/widget/ags_waveform.c'; then $(CYGPATH_W) 'src/ags/widget/ags_waveform.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_waveform.c'; fi`
+
+libags_thread_a-ags_async_queue.o: src/ags/thread/ags_async_queue.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_async_queue.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo -c -o libags_thread_a-ags_async_queue.o `test -f 'src/ags/thread/ags_async_queue.c' || echo '$(srcdir)/'`src/ags/thread/ags_async_queue.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo $(DEPDIR)/libags_thread_a-ags_async_queue.Po
+# $(AM_V_CC)source='src/ags/thread/ags_async_queue.c' object='libags_thread_a-ags_async_queue.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_async_queue.o `test -f 'src/ags/thread/ags_async_queue.c' || echo '$(srcdir)/'`src/ags/thread/ags_async_queue.c
+
+libags_thread_a-ags_async_queue.obj: src/ags/thread/ags_async_queue.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_async_queue.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo -c -o libags_thread_a-ags_async_queue.obj `if test -f 'src/ags/thread/ags_async_queue.c'; then $(CYGPATH_W) 'src/ags/thread/ags_async_queue.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_async_queue.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo $(DEPDIR)/libags_thread_a-ags_async_queue.Po
+# $(AM_V_CC)source='src/ags/thread/ags_async_queue.c' object='libags_thread_a-ags_async_queue.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_async_queue.obj `if test -f 'src/ags/thread/ags_async_queue.c'; then $(CYGPATH_W) 'src/ags/thread/ags_async_queue.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_async_queue.c'; fi`
+
+libags_thread_a-ags_audio_loop.o: src/ags/thread/ags_audio_loop.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_audio_loop.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo -c -o libags_thread_a-ags_audio_loop.o `test -f 'src/ags/thread/ags_audio_loop.c' || echo '$(srcdir)/'`src/ags/thread/ags_audio_loop.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo $(DEPDIR)/libags_thread_a-ags_audio_loop.Po
+# $(AM_V_CC)source='src/ags/thread/ags_audio_loop.c' object='libags_thread_a-ags_audio_loop.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_audio_loop.o `test -f 'src/ags/thread/ags_audio_loop.c' || echo '$(srcdir)/'`src/ags/thread/ags_audio_loop.c
+
+libags_thread_a-ags_audio_loop.obj: src/ags/thread/ags_audio_loop.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_audio_loop.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo -c -o libags_thread_a-ags_audio_loop.obj `if test -f 'src/ags/thread/ags_audio_loop.c'; then $(CYGPATH_W) 'src/ags/thread/ags_audio_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_audio_loop.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo $(DEPDIR)/libags_thread_a-ags_audio_loop.Po
+# $(AM_V_CC)source='src/ags/thread/ags_audio_loop.c' object='libags_thread_a-ags_audio_loop.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_audio_loop.obj `if test -f 'src/ags/thread/ags_audio_loop.c'; then $(CYGPATH_W) 'src/ags/thread/ags_audio_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_audio_loop.c'; fi`
+
+libags_thread_a-ags_autosave_thread.o: src/ags/thread/ags_autosave_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_autosave_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo -c -o libags_thread_a-ags_autosave_thread.o `test -f 'src/ags/thread/ags_autosave_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_autosave_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo $(DEPDIR)/libags_thread_a-ags_autosave_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_autosave_thread.c' object='libags_thread_a-ags_autosave_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_autosave_thread.o `test -f 'src/ags/thread/ags_autosave_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_autosave_thread.c
+
+libags_thread_a-ags_autosave_thread.obj: src/ags/thread/ags_autosave_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_autosave_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo -c -o libags_thread_a-ags_autosave_thread.obj `if test -f 'src/ags/thread/ags_autosave_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_autosave_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_autosave_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo $(DEPDIR)/libags_thread_a-ags_autosave_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_autosave_thread.c' object='libags_thread_a-ags_autosave_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_autosave_thread.obj `if test -f 'src/ags/thread/ags_autosave_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_autosave_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_autosave_thread.c'; fi`
+
+libags_thread_a-ags_devout_thread.o: src/ags/thread/ags_devout_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_devout_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo -c -o libags_thread_a-ags_devout_thread.o `test -f 'src/ags/thread/ags_devout_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_devout_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo $(DEPDIR)/libags_thread_a-ags_devout_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_devout_thread.c' object='libags_thread_a-ags_devout_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_devout_thread.o `test -f 'src/ags/thread/ags_devout_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_devout_thread.c
+
+libags_thread_a-ags_devout_thread.obj: src/ags/thread/ags_devout_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_devout_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo -c -o libags_thread_a-ags_devout_thread.obj `if test -f 'src/ags/thread/ags_devout_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_devout_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_devout_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo $(DEPDIR)/libags_thread_a-ags_devout_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_devout_thread.c' object='libags_thread_a-ags_devout_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_devout_thread.obj `if test -f 'src/ags/thread/ags_devout_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_devout_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_devout_thread.c'; fi`
+
+libags_thread_a-ags_export_thread.o: src/ags/thread/ags_export_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_export_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo -c -o libags_thread_a-ags_export_thread.o `test -f 'src/ags/thread/ags_export_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_export_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo $(DEPDIR)/libags_thread_a-ags_export_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_export_thread.c' object='libags_thread_a-ags_export_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_export_thread.o `test -f 'src/ags/thread/ags_export_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_export_thread.c
+
+libags_thread_a-ags_export_thread.obj: src/ags/thread/ags_export_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_export_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo -c -o libags_thread_a-ags_export_thread.obj `if test -f 'src/ags/thread/ags_export_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_export_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_export_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo $(DEPDIR)/libags_thread_a-ags_export_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_export_thread.c' object='libags_thread_a-ags_export_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_export_thread.obj `if test -f 'src/ags/thread/ags_export_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_export_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_export_thread.c'; fi`
+
+libags_thread_a-ags_gui_task_thread.o: src/ags/thread/ags_gui_task_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_task_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo -c -o libags_thread_a-ags_gui_task_thread.o `test -f 'src/ags/thread/ags_gui_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_task_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_gui_task_thread.c' object='libags_thread_a-ags_gui_task_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_task_thread.o `test -f 'src/ags/thread/ags_gui_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_task_thread.c
+
+libags_thread_a-ags_gui_task_thread.obj: src/ags/thread/ags_gui_task_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_task_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo -c -o libags_thread_a-ags_gui_task_thread.obj `if test -f 'src/ags/thread/ags_gui_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_task_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_gui_task_thread.c' object='libags_thread_a-ags_gui_task_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_task_thread.obj `if test -f 'src/ags/thread/ags_gui_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_task_thread.c'; fi`
+
+libags_thread_a-ags_gui_thread.o: src/ags/thread/ags_gui_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo -c -o libags_thread_a-ags_gui_thread.o `test -f 'src/ags/thread/ags_gui_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_gui_thread.c' object='libags_thread_a-ags_gui_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_thread.o `test -f 'src/ags/thread/ags_gui_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_thread.c
+
+libags_thread_a-ags_gui_thread.obj: src/ags/thread/ags_gui_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo -c -o libags_thread_a-ags_gui_thread.obj `if test -f 'src/ags/thread/ags_gui_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_gui_thread.c' object='libags_thread_a-ags_gui_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_thread.obj `if test -f 'src/ags/thread/ags_gui_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_thread.c'; fi`
+
+libags_thread_a-ags_iterator_thread.o: src/ags/thread/ags_iterator_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_iterator_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo -c -o libags_thread_a-ags_iterator_thread.o `test -f 'src/ags/thread/ags_iterator_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_iterator_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo $(DEPDIR)/libags_thread_a-ags_iterator_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_iterator_thread.c' object='libags_thread_a-ags_iterator_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_iterator_thread.o `test -f 'src/ags/thread/ags_iterator_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_iterator_thread.c
+
+libags_thread_a-ags_iterator_thread.obj: src/ags/thread/ags_iterator_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_iterator_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo -c -o libags_thread_a-ags_iterator_thread.obj `if test -f 'src/ags/thread/ags_iterator_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_iterator_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_iterator_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo $(DEPDIR)/libags_thread_a-ags_iterator_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_iterator_thread.c' object='libags_thread_a-ags_iterator_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_iterator_thread.obj `if test -f 'src/ags/thread/ags_iterator_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_iterator_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_iterator_thread.c'; fi`
+
+libags_thread_a-ags_record_thread.o: src/ags/thread/ags_record_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_record_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo -c -o libags_thread_a-ags_record_thread.o `test -f 'src/ags/thread/ags_record_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_record_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo $(DEPDIR)/libags_thread_a-ags_record_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_record_thread.c' object='libags_thread_a-ags_record_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_record_thread.o `test -f 'src/ags/thread/ags_record_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_record_thread.c
+
+libags_thread_a-ags_record_thread.obj: src/ags/thread/ags_record_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_record_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo -c -o libags_thread_a-ags_record_thread.obj `if test -f 'src/ags/thread/ags_record_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_record_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_record_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo $(DEPDIR)/libags_thread_a-ags_record_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_record_thread.c' object='libags_thread_a-ags_record_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_record_thread.obj `if test -f 'src/ags/thread/ags_record_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_record_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_record_thread.c'; fi`
+
+libags_thread_a-ags_recycling_thread_callbacks.o: src/ags/thread/ags_recycling_thread_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread_callbacks.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo -c -o libags_thread_a-ags_recycling_thread_callbacks.o `test -f 'src/ags/thread/ags_recycling_thread_callbacks.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Po
+# $(AM_V_CC)source='src/ags/thread/ags_recycling_thread_callbacks.c' object='libags_thread_a-ags_recycling_thread_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread_callbacks.o `test -f 'src/ags/thread/ags_recycling_thread_callbacks.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread_callbacks.c
+
+libags_thread_a-ags_recycling_thread_callbacks.obj: src/ags/thread/ags_recycling_thread_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread_callbacks.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo -c -o libags_thread_a-ags_recycling_thread_callbacks.obj `if test -f 'src/ags/thread/ags_recycling_thread_callbacks.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Po
+# $(AM_V_CC)source='src/ags/thread/ags_recycling_thread_callbacks.c' object='libags_thread_a-ags_recycling_thread_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread_callbacks.obj `if test -f 'src/ags/thread/ags_recycling_thread_callbacks.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread_callbacks.c'; fi`
+
+libags_thread_a-ags_recycling_thread.o: src/ags/thread/ags_recycling_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo -c -o libags_thread_a-ags_recycling_thread.o `test -f 'src/ags/thread/ags_recycling_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_recycling_thread.c' object='libags_thread_a-ags_recycling_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread.o `test -f 'src/ags/thread/ags_recycling_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread.c
+
+libags_thread_a-ags_recycling_thread.obj: src/ags/thread/ags_recycling_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo -c -o libags_thread_a-ags_recycling_thread.obj `if test -f 'src/ags/thread/ags_recycling_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_recycling_thread.c' object='libags_thread_a-ags_recycling_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread.obj `if test -f 'src/ags/thread/ags_recycling_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread.c'; fi`
+
+libags_thread_a-ags_returnable_thread.o: src/ags/thread/ags_returnable_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_returnable_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo -c -o libags_thread_a-ags_returnable_thread.o `test -f 'src/ags/thread/ags_returnable_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_returnable_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo $(DEPDIR)/libags_thread_a-ags_returnable_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_returnable_thread.c' object='libags_thread_a-ags_returnable_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_returnable_thread.o `test -f 'src/ags/thread/ags_returnable_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_returnable_thread.c
+
+libags_thread_a-ags_returnable_thread.obj: src/ags/thread/ags_returnable_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_returnable_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo -c -o libags_thread_a-ags_returnable_thread.obj `if test -f 'src/ags/thread/ags_returnable_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_returnable_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_returnable_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo $(DEPDIR)/libags_thread_a-ags_returnable_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_returnable_thread.c' object='libags_thread_a-ags_returnable_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_returnable_thread.obj `if test -f 'src/ags/thread/ags_returnable_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_returnable_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_returnable_thread.c'; fi`
+
+libags_thread_a-ags_single_thread.o: src/ags/thread/ags_single_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_single_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo -c -o libags_thread_a-ags_single_thread.o `test -f 'src/ags/thread/ags_single_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_single_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo $(DEPDIR)/libags_thread_a-ags_single_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_single_thread.c' object='libags_thread_a-ags_single_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_single_thread.o `test -f 'src/ags/thread/ags_single_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_single_thread.c
+
+libags_thread_a-ags_single_thread.obj: src/ags/thread/ags_single_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_single_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo -c -o libags_thread_a-ags_single_thread.obj `if test -f 'src/ags/thread/ags_single_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_single_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_single_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo $(DEPDIR)/libags_thread_a-ags_single_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_single_thread.c' object='libags_thread_a-ags_single_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_single_thread.obj `if test -f 'src/ags/thread/ags_single_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_single_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_single_thread.c'; fi`
+
+libags_thread_a-ags_task_thread.o: src/ags/thread/ags_task_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_task_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo -c -o libags_thread_a-ags_task_thread.o `test -f 'src/ags/thread/ags_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_task_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_task_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_task_thread.c' object='libags_thread_a-ags_task_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_task_thread.o `test -f 'src/ags/thread/ags_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_task_thread.c
+
+libags_thread_a-ags_task_thread.obj: src/ags/thread/ags_task_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_task_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo -c -o libags_thread_a-ags_task_thread.obj `if test -f 'src/ags/thread/ags_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_task_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_task_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_task_thread.c' object='libags_thread_a-ags_task_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_task_thread.obj `if test -f 'src/ags/thread/ags_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_task_thread.c'; fi`
+
+libags_thread_a-ags_thread_pool.o: src/ags/thread/ags_thread_pool.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread_pool.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo -c -o libags_thread_a-ags_thread_pool.o `test -f 'src/ags/thread/ags_thread_pool.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread_pool.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo $(DEPDIR)/libags_thread_a-ags_thread_pool.Po
+# $(AM_V_CC)source='src/ags/thread/ags_thread_pool.c' object='libags_thread_a-ags_thread_pool.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread_pool.o `test -f 'src/ags/thread/ags_thread_pool.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread_pool.c
+
+libags_thread_a-ags_thread_pool.obj: src/ags/thread/ags_thread_pool.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread_pool.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo -c -o libags_thread_a-ags_thread_pool.obj `if test -f 'src/ags/thread/ags_thread_pool.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread_pool.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread_pool.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo $(DEPDIR)/libags_thread_a-ags_thread_pool.Po
+# $(AM_V_CC)source='src/ags/thread/ags_thread_pool.c' object='libags_thread_a-ags_thread_pool.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread_pool.obj `if test -f 'src/ags/thread/ags_thread_pool.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread_pool.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread_pool.c'; fi`
+
+libags_thread_a-ags_thread-posix.o: src/ags/thread/ags_thread-posix.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread-posix.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo -c -o libags_thread_a-ags_thread-posix.o `test -f 'src/ags/thread/ags_thread-posix.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread-posix.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo $(DEPDIR)/libags_thread_a-ags_thread-posix.Po
+# $(AM_V_CC)source='src/ags/thread/ags_thread-posix.c' object='libags_thread_a-ags_thread-posix.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread-posix.o `test -f 'src/ags/thread/ags_thread-posix.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread-posix.c
+
+libags_thread_a-ags_thread-posix.obj: src/ags/thread/ags_thread-posix.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread-posix.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo -c -o libags_thread_a-ags_thread-posix.obj `if test -f 'src/ags/thread/ags_thread-posix.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread-posix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread-posix.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo $(DEPDIR)/libags_thread_a-ags_thread-posix.Po
+# $(AM_V_CC)source='src/ags/thread/ags_thread-posix.c' object='libags_thread_a-ags_thread-posix.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread-posix.obj `if test -f 'src/ags/thread/ags_thread-posix.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread-posix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread-posix.c'; fi`
+
+libags_thread_a-ags_timestamp_thread.o: src/ags/thread/ags_timestamp_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_timestamp_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo -c -o libags_thread_a-ags_timestamp_thread.o `test -f 'src/ags/thread/ags_timestamp_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_timestamp_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_timestamp_thread.c' object='libags_thread_a-ags_timestamp_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_timestamp_thread.o `test -f 'src/ags/thread/ags_timestamp_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_timestamp_thread.c
+
+libags_thread_a-ags_timestamp_thread.obj: src/ags/thread/ags_timestamp_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_timestamp_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo -c -o libags_thread_a-ags_timestamp_thread.obj `if test -f 'src/ags/thread/ags_timestamp_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_timestamp_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_timestamp_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Po
+# $(AM_V_CC)source='src/ags/thread/ags_timestamp_thread.c' object='libags_thread_a-ags_timestamp_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_timestamp_thread.obj `if test -f 'src/ags/thread/ags_timestamp_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_timestamp_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_timestamp_thread.c'; fi`
+
+gsequencer-main.o: src/ags/main.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-main.o -MD -MP -MF $(DEPDIR)/gsequencer-main.Tpo -c -o gsequencer-main.o `test -f 'src/ags/main.c' || echo '$(srcdir)/'`src/ags/main.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-main.Tpo $(DEPDIR)/gsequencer-main.Po
+# $(AM_V_CC)source='src/ags/main.c' object='gsequencer-main.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-main.o `test -f 'src/ags/main.c' || echo '$(srcdir)/'`src/ags/main.c
+
+gsequencer-main.obj: src/ags/main.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-main.obj -MD -MP -MF $(DEPDIR)/gsequencer-main.Tpo -c -o gsequencer-main.obj `if test -f 'src/ags/main.c'; then $(CYGPATH_W) 'src/ags/main.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/main.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-main.Tpo $(DEPDIR)/gsequencer-main.Po
+# $(AM_V_CC)source='src/ags/main.c' object='gsequencer-main.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-main.obj `if test -f 'src/ags/main.c'; then $(CYGPATH_W) 'src/ags/main.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/main.c'; fi`
+
+gsequencer-ags_registry.o: src/ags/server/ags_registry.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_registry.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_registry.Tpo -c -o gsequencer-ags_registry.o `test -f 'src/ags/server/ags_registry.c' || echo '$(srcdir)/'`src/ags/server/ags_registry.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_registry.Tpo $(DEPDIR)/gsequencer-ags_registry.Po
+# $(AM_V_CC)source='src/ags/server/ags_registry.c' object='gsequencer-ags_registry.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_registry.o `test -f 'src/ags/server/ags_registry.c' || echo '$(srcdir)/'`src/ags/server/ags_registry.c
+
+gsequencer-ags_registry.obj: src/ags/server/ags_registry.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_registry.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_registry.Tpo -c -o gsequencer-ags_registry.obj `if test -f 'src/ags/server/ags_registry.c'; then $(CYGPATH_W) 'src/ags/server/ags_registry.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_registry.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_registry.Tpo $(DEPDIR)/gsequencer-ags_registry.Po
+# $(AM_V_CC)source='src/ags/server/ags_registry.c' object='gsequencer-ags_registry.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_registry.obj `if test -f 'src/ags/server/ags_registry.c'; then $(CYGPATH_W) 'src/ags/server/ags_registry.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_registry.c'; fi`
+
+gsequencer-ags_remote_task.o: src/ags/server/ags_remote_task.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remote_task.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_remote_task.Tpo -c -o gsequencer-ags_remote_task.o `test -f 'src/ags/server/ags_remote_task.c' || echo '$(srcdir)/'`src/ags/server/ags_remote_task.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remote_task.Tpo $(DEPDIR)/gsequencer-ags_remote_task.Po
+# $(AM_V_CC)source='src/ags/server/ags_remote_task.c' object='gsequencer-ags_remote_task.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remote_task.o `test -f 'src/ags/server/ags_remote_task.c' || echo '$(srcdir)/'`src/ags/server/ags_remote_task.c
+
+gsequencer-ags_remote_task.obj: src/ags/server/ags_remote_task.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remote_task.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_remote_task.Tpo -c -o gsequencer-ags_remote_task.obj `if test -f 'src/ags/server/ags_remote_task.c'; then $(CYGPATH_W) 'src/ags/server/ags_remote_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_remote_task.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remote_task.Tpo $(DEPDIR)/gsequencer-ags_remote_task.Po
+# $(AM_V_CC)source='src/ags/server/ags_remote_task.c' object='gsequencer-ags_remote_task.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remote_task.obj `if test -f 'src/ags/server/ags_remote_task.c'; then $(CYGPATH_W) 'src/ags/server/ags_remote_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_remote_task.c'; fi`
+
+gsequencer-ags_server.o: src/ags/server/ags_server.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_server.Tpo -c -o gsequencer-ags_server.o `test -f 'src/ags/server/ags_server.c' || echo '$(srcdir)/'`src/ags/server/ags_server.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server.Tpo $(DEPDIR)/gsequencer-ags_server.Po
+# $(AM_V_CC)source='src/ags/server/ags_server.c' object='gsequencer-ags_server.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server.o `test -f 'src/ags/server/ags_server.c' || echo '$(srcdir)/'`src/ags/server/ags_server.c
+
+gsequencer-ags_server.obj: src/ags/server/ags_server.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_server.Tpo -c -o gsequencer-ags_server.obj `if test -f 'src/ags/server/ags_server.c'; then $(CYGPATH_W) 'src/ags/server/ags_server.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_server.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server.Tpo $(DEPDIR)/gsequencer-ags_server.Po
+# $(AM_V_CC)source='src/ags/server/ags_server.c' object='gsequencer-ags_server.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server.obj `if test -f 'src/ags/server/ags_server.c'; then $(CYGPATH_W) 'src/ags/server/ags_server.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_server.c'; fi`
+
+gsequencer-ags_audio_preferences_callbacks.o: src/ags/X/ags_audio_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo -c -o gsequencer-ags_audio_preferences_callbacks.o `test -f 'src/ags/X/ags_audio_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_audio_preferences_callbacks.c' object='gsequencer-ags_audio_preferences_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences_callbacks.o `test -f 'src/ags/X/ags_audio_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences_callbacks.c
+
+gsequencer-ags_audio_preferences_callbacks.obj: src/ags/X/ags_audio_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo -c -o gsequencer-ags_audio_preferences_callbacks.obj `if test -f 'src/ags/X/ags_audio_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_audio_preferences_callbacks.c' object='gsequencer-ags_audio_preferences_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences_callbacks.obj `if test -f 'src/ags/X/ags_audio_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences_callbacks.c'; fi`
+
+gsequencer-ags_audio_preferences.o: src/ags/X/ags_audio_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo -c -o gsequencer-ags_audio_preferences.o `test -f 'src/ags/X/ags_audio_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_audio_preferences.c' object='gsequencer-ags_audio_preferences.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences.o `test -f 'src/ags/X/ags_audio_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences.c
+
+gsequencer-ags_audio_preferences.obj: src/ags/X/ags_audio_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo -c -o gsequencer-ags_audio_preferences.obj `if test -f 'src/ags/X/ags_audio_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_audio_preferences.c' object='gsequencer-ags_audio_preferences.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences.obj `if test -f 'src/ags/X/ags_audio_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences.c'; fi`
+
+gsequencer-ags_automation_editor_callbacks.o: src/ags/X/ags_automation_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo -c -o gsequencer-ags_automation_editor_callbacks.o `test -f 'src/ags/X/ags_automation_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_automation_editor_callbacks.c' object='gsequencer-ags_automation_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor_callbacks.o `test -f 'src/ags/X/ags_automation_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor_callbacks.c
+
+gsequencer-ags_automation_editor_callbacks.obj: src/ags/X/ags_automation_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo -c -o gsequencer-ags_automation_editor_callbacks.obj `if test -f 'src/ags/X/ags_automation_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_automation_editor_callbacks.c' object='gsequencer-ags_automation_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor_callbacks.obj `if test -f 'src/ags/X/ags_automation_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor_callbacks.c'; fi`
+
+gsequencer-ags_automation_editor.o: src/ags/X/ags_automation_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor.Tpo -c -o gsequencer-ags_automation_editor.o `test -f 'src/ags/X/ags_automation_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor.Tpo $(DEPDIR)/gsequencer-ags_automation_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_automation_editor.c' object='gsequencer-ags_automation_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor.o `test -f 'src/ags/X/ags_automation_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor.c
+
+gsequencer-ags_automation_editor.obj: src/ags/X/ags_automation_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor.Tpo -c -o gsequencer-ags_automation_editor.obj `if test -f 'src/ags/X/ags_automation_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor.Tpo $(DEPDIR)/gsequencer-ags_automation_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_automation_editor.c' object='gsequencer-ags_automation_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor.obj `if test -f 'src/ags/X/ags_automation_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor.c'; fi`
+
+gsequencer-ags_editor_callbacks.o: src/ags/X/ags_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo -c -o gsequencer-ags_editor_callbacks.o `test -f 'src/ags/X/ags_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_editor_callbacks.c' object='gsequencer-ags_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor_callbacks.o `test -f 'src/ags/X/ags_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_editor_callbacks.c
+
+gsequencer-ags_editor_callbacks.obj: src/ags/X/ags_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo -c -o gsequencer-ags_editor_callbacks.obj `if test -f 'src/ags/X/ags_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_editor_callbacks.c' object='gsequencer-ags_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor_callbacks.obj `if test -f 'src/ags/X/ags_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor_callbacks.c'; fi`
+
+gsequencer-ags_editor.o: src/ags/X/ags_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor.Tpo -c -o gsequencer-ags_editor.o `test -f 'src/ags/X/ags_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor.Tpo $(DEPDIR)/gsequencer-ags_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_editor.c' object='gsequencer-ags_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor.o `test -f 'src/ags/X/ags_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_editor.c
+
+gsequencer-ags_editor.obj: src/ags/X/ags_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor.Tpo -c -o gsequencer-ags_editor.obj `if test -f 'src/ags/X/ags_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor.Tpo $(DEPDIR)/gsequencer-ags_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_editor.c' object='gsequencer-ags_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor.obj `if test -f 'src/ags/X/ags_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor.c'; fi`
+
+gsequencer-ags_effect_bridge_callbacks.o: src/ags/X/ags_effect_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo -c -o gsequencer-ags_effect_bridge_callbacks.o `test -f 'src/ags/X/ags_effect_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bridge_callbacks.c' object='gsequencer-ags_effect_bridge_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge_callbacks.o `test -f 'src/ags/X/ags_effect_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge_callbacks.c
+
+gsequencer-ags_effect_bridge_callbacks.obj: src/ags/X/ags_effect_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo -c -o gsequencer-ags_effect_bridge_callbacks.obj `if test -f 'src/ags/X/ags_effect_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bridge_callbacks.c' object='gsequencer-ags_effect_bridge_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge_callbacks.obj `if test -f 'src/ags/X/ags_effect_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge_callbacks.c'; fi`
+
+gsequencer-ags_effect_bridge.o: src/ags/X/ags_effect_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo -c -o gsequencer-ags_effect_bridge.o `test -f 'src/ags/X/ags_effect_bridge.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bridge.c' object='gsequencer-ags_effect_bridge.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge.o `test -f 'src/ags/X/ags_effect_bridge.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge.c
+
+gsequencer-ags_effect_bridge.obj: src/ags/X/ags_effect_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo -c -o gsequencer-ags_effect_bridge.obj `if test -f 'src/ags/X/ags_effect_bridge.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bridge.c' object='gsequencer-ags_effect_bridge.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge.obj `if test -f 'src/ags/X/ags_effect_bridge.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge.c'; fi`
+
+gsequencer-ags_effect_bulk_callbacks.o: src/ags/X/ags_effect_bulk_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo -c -o gsequencer-ags_effect_bulk_callbacks.o `test -f 'src/ags/X/ags_effect_bulk_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bulk_callbacks.c' object='gsequencer-ags_effect_bulk_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk_callbacks.o `test -f 'src/ags/X/ags_effect_bulk_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk_callbacks.c
+
+gsequencer-ags_effect_bulk_callbacks.obj: src/ags/X/ags_effect_bulk_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo -c -o gsequencer-ags_effect_bulk_callbacks.obj `if test -f 'src/ags/X/ags_effect_bulk_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bulk_callbacks.c' object='gsequencer-ags_effect_bulk_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk_callbacks.obj `if test -f 'src/ags/X/ags_effect_bulk_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk_callbacks.c'; fi`
+
+gsequencer-ags_effect_bulk.o: src/ags/X/ags_effect_bulk.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo -c -o gsequencer-ags_effect_bulk.o `test -f 'src/ags/X/ags_effect_bulk.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bulk.c' object='gsequencer-ags_effect_bulk.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk.o `test -f 'src/ags/X/ags_effect_bulk.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk.c
+
+gsequencer-ags_effect_bulk.obj: src/ags/X/ags_effect_bulk.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo -c -o gsequencer-ags_effect_bulk.obj `if test -f 'src/ags/X/ags_effect_bulk.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_bulk.c' object='gsequencer-ags_effect_bulk.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk.obj `if test -f 'src/ags/X/ags_effect_bulk.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk.c'; fi`
+
+gsequencer-ags_bulk_member.o: src/ags/X/ags_bulk_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member.Tpo -c -o gsequencer-ags_bulk_member.o `test -f 'src/ags/X/ags_bulk_member.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_bulk_member.Po
+# $(AM_V_CC)source='src/ags/X/ags_bulk_member.c' object='gsequencer-ags_bulk_member.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member.o `test -f 'src/ags/X/ags_bulk_member.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member.c
+
+gsequencer-ags_bulk_member.obj: src/ags/X/ags_bulk_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member.Tpo -c -o gsequencer-ags_bulk_member.obj `if test -f 'src/ags/X/ags_bulk_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_bulk_member.Po
+# $(AM_V_CC)source='src/ags/X/ags_bulk_member.c' object='gsequencer-ags_bulk_member.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member.obj `if test -f 'src/ags/X/ags_bulk_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member.c'; fi`
+
+gsequencer-ags_bulk_member_callbacks.o: src/ags/X/ags_bulk_member_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo -c -o gsequencer-ags_bulk_member_callbacks.o `test -f 'src/ags/X/ags_bulk_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_bulk_member_callbacks.c' object='gsequencer-ags_bulk_member_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member_callbacks.o `test -f 'src/ags/X/ags_bulk_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member_callbacks.c
+
+gsequencer-ags_bulk_member_callbacks.obj: src/ags/X/ags_bulk_member_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo -c -o gsequencer-ags_bulk_member_callbacks.obj `if test -f 'src/ags/X/ags_bulk_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_bulk_member_callbacks.c' object='gsequencer-ags_bulk_member_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member_callbacks.obj `if test -f 'src/ags/X/ags_bulk_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member_callbacks.c'; fi`
+
+gsequencer-ags_effect_line_callbacks.o: src/ags/X/ags_effect_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo -c -o gsequencer-ags_effect_line_callbacks.o `test -f 'src/ags/X/ags_effect_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_line_callbacks.c' object='gsequencer-ags_effect_line_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line_callbacks.o `test -f 'src/ags/X/ags_effect_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line_callbacks.c
+
+gsequencer-ags_effect_line_callbacks.obj: src/ags/X/ags_effect_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo -c -o gsequencer-ags_effect_line_callbacks.obj `if test -f 'src/ags/X/ags_effect_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_line_callbacks.c' object='gsequencer-ags_effect_line_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line_callbacks.obj `if test -f 'src/ags/X/ags_effect_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line_callbacks.c'; fi`
+
+gsequencer-ags_effect_line.o: src/ags/X/ags_effect_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line.Tpo -c -o gsequencer-ags_effect_line.o `test -f 'src/ags/X/ags_effect_line.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line.Tpo $(DEPDIR)/gsequencer-ags_effect_line.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_line.c' object='gsequencer-ags_effect_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line.o `test -f 'src/ags/X/ags_effect_line.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line.c
+
+gsequencer-ags_effect_line.obj: src/ags/X/ags_effect_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line.Tpo -c -o gsequencer-ags_effect_line.obj `if test -f 'src/ags/X/ags_effect_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line.Tpo $(DEPDIR)/gsequencer-ags_effect_line.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_line.c' object='gsequencer-ags_effect_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line.obj `if test -f 'src/ags/X/ags_effect_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line.c'; fi`
+
+gsequencer-ags_effect_pad_callbacks.o: src/ags/X/ags_effect_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo -c -o gsequencer-ags_effect_pad_callbacks.o `test -f 'src/ags/X/ags_effect_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_pad_callbacks.c' object='gsequencer-ags_effect_pad_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad_callbacks.o `test -f 'src/ags/X/ags_effect_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad_callbacks.c
+
+gsequencer-ags_effect_pad_callbacks.obj: src/ags/X/ags_effect_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo -c -o gsequencer-ags_effect_pad_callbacks.obj `if test -f 'src/ags/X/ags_effect_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_pad_callbacks.c' object='gsequencer-ags_effect_pad_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad_callbacks.obj `if test -f 'src/ags/X/ags_effect_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad_callbacks.c'; fi`
+
+gsequencer-ags_effect_pad.o: src/ags/X/ags_effect_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad.Tpo -c -o gsequencer-ags_effect_pad.o `test -f 'src/ags/X/ags_effect_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad.Tpo $(DEPDIR)/gsequencer-ags_effect_pad.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_pad.c' object='gsequencer-ags_effect_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad.o `test -f 'src/ags/X/ags_effect_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad.c
+
+gsequencer-ags_effect_pad.obj: src/ags/X/ags_effect_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad.Tpo -c -o gsequencer-ags_effect_pad.obj `if test -f 'src/ags/X/ags_effect_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad.Tpo $(DEPDIR)/gsequencer-ags_effect_pad.Po
+# $(AM_V_CC)source='src/ags/X/ags_effect_pad.c' object='gsequencer-ags_effect_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad.obj `if test -f 'src/ags/X/ags_effect_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad.c'; fi`
+
+gsequencer-ags_export_window_callbacks.o: src/ags/X/ags_export_window_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo -c -o gsequencer-ags_export_window_callbacks.o `test -f 'src/ags/X/ags_export_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_export_window_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_export_window_callbacks.c' object='gsequencer-ags_export_window_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window_callbacks.o `test -f 'src/ags/X/ags_export_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window_callbacks.c
+
+gsequencer-ags_export_window_callbacks.obj: src/ags/X/ags_export_window_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo -c -o gsequencer-ags_export_window_callbacks.obj `if test -f 'src/ags/X/ags_export_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_export_window_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_export_window_callbacks.c' object='gsequencer-ags_export_window_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window_callbacks.obj `if test -f 'src/ags/X/ags_export_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window_callbacks.c'; fi`
+
+gsequencer-ags_export_window.o: src/ags/X/ags_export_window.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window.Tpo -c -o gsequencer-ags_export_window.o `test -f 'src/ags/X/ags_export_window.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window.Tpo $(DEPDIR)/gsequencer-ags_export_window.Po
+# $(AM_V_CC)source='src/ags/X/ags_export_window.c' object='gsequencer-ags_export_window.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window.o `test -f 'src/ags/X/ags_export_window.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window.c
+
+gsequencer-ags_export_window.obj: src/ags/X/ags_export_window.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window.Tpo -c -o gsequencer-ags_export_window.obj `if test -f 'src/ags/X/ags_export_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window.Tpo $(DEPDIR)/gsequencer-ags_export_window.Po
+# $(AM_V_CC)source='src/ags/X/ags_export_window.c' object='gsequencer-ags_export_window.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window.obj `if test -f 'src/ags/X/ags_export_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window.c'; fi`
+
+gsequencer-ags_generic_preferences_callbacks.o: src/ags/X/ags_generic_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo -c -o gsequencer-ags_generic_preferences_callbacks.o `test -f 'src/ags/X/ags_generic_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_generic_preferences_callbacks.c' object='gsequencer-ags_generic_preferences_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences_callbacks.o `test -f 'src/ags/X/ags_generic_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences_callbacks.c
+
+gsequencer-ags_generic_preferences_callbacks.obj: src/ags/X/ags_generic_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo -c -o gsequencer-ags_generic_preferences_callbacks.obj `if test -f 'src/ags/X/ags_generic_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_generic_preferences_callbacks.c' object='gsequencer-ags_generic_preferences_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences_callbacks.obj `if test -f 'src/ags/X/ags_generic_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences_callbacks.c'; fi`
+
+gsequencer-ags_generic_preferences.o: src/ags/X/ags_generic_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo -c -o gsequencer-ags_generic_preferences.o `test -f 'src/ags/X/ags_generic_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_generic_preferences.c' object='gsequencer-ags_generic_preferences.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences.o `test -f 'src/ags/X/ags_generic_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences.c
+
+gsequencer-ags_generic_preferences.obj: src/ags/X/ags_generic_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo -c -o gsequencer-ags_generic_preferences.obj `if test -f 'src/ags/X/ags_generic_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_generic_preferences.c' object='gsequencer-ags_generic_preferences.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences.obj `if test -f 'src/ags/X/ags_generic_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences.c'; fi`
+
+gsequencer-ags_ladspa_browser_callbacks.o: src/ags/X/ags_ladspa_browser_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo -c -o gsequencer-ags_ladspa_browser_callbacks.o `test -f 'src/ags/X/ags_ladspa_browser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_ladspa_browser_callbacks.c' object='gsequencer-ags_ladspa_browser_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser_callbacks.o `test -f 'src/ags/X/ags_ladspa_browser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser_callbacks.c
+
+gsequencer-ags_ladspa_browser_callbacks.obj: src/ags/X/ags_ladspa_browser_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo -c -o gsequencer-ags_ladspa_browser_callbacks.obj `if test -f 'src/ags/X/ags_ladspa_browser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_ladspa_browser_callbacks.c' object='gsequencer-ags_ladspa_browser_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser_callbacks.obj `if test -f 'src/ags/X/ags_ladspa_browser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser_callbacks.c'; fi`
+
+gsequencer-ags_ladspa_browser.o: src/ags/X/ags_ladspa_browser.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo -c -o gsequencer-ags_ladspa_browser.o `test -f 'src/ags/X/ags_ladspa_browser.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser.Po
+# $(AM_V_CC)source='src/ags/X/ags_ladspa_browser.c' object='gsequencer-ags_ladspa_browser.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser.o `test -f 'src/ags/X/ags_ladspa_browser.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser.c
+
+gsequencer-ags_ladspa_browser.obj: src/ags/X/ags_ladspa_browser.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo -c -o gsequencer-ags_ladspa_browser.obj `if test -f 'src/ags/X/ags_ladspa_browser.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser.Po
+# $(AM_V_CC)source='src/ags/X/ags_ladspa_browser.c' object='gsequencer-ags_ladspa_browser.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser.obj `if test -f 'src/ags/X/ags_ladspa_browser.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser.c'; fi`
+
+gsequencer-ags_line_callbacks.o: src/ags/X/ags_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo -c -o gsequencer-ags_line_callbacks.o `test -f 'src/ags/X/ags_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_callbacks.c' object='gsequencer-ags_line_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_callbacks.o `test -f 'src/ags/X/ags_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_callbacks.c
+
+gsequencer-ags_line_callbacks.obj: src/ags/X/ags_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo -c -o gsequencer-ags_line_callbacks.obj `if test -f 'src/ags/X/ags_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_callbacks.c' object='gsequencer-ags_line_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_callbacks.obj `if test -f 'src/ags/X/ags_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_callbacks.c'; fi`
+
+gsequencer-ags_line_editor_callbacks.o: src/ags/X/ags_line_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo -c -o gsequencer-ags_line_editor_callbacks.o `test -f 'src/ags/X/ags_line_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_editor_callbacks.c' object='gsequencer-ags_line_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor_callbacks.o `test -f 'src/ags/X/ags_line_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor_callbacks.c
+
+gsequencer-ags_line_editor_callbacks.obj: src/ags/X/ags_line_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo -c -o gsequencer-ags_line_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_editor_callbacks.c' object='gsequencer-ags_line_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor_callbacks.c'; fi`
+
+gsequencer-ags_line_editor.o: src/ags/X/ags_line_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor.Tpo -c -o gsequencer-ags_line_editor.o `test -f 'src/ags/X/ags_line_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor.Tpo $(DEPDIR)/gsequencer-ags_line_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_editor.c' object='gsequencer-ags_line_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor.o `test -f 'src/ags/X/ags_line_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor.c
+
+gsequencer-ags_line_editor.obj: src/ags/X/ags_line_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor.Tpo -c -o gsequencer-ags_line_editor.obj `if test -f 'src/ags/X/ags_line_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor.Tpo $(DEPDIR)/gsequencer-ags_line_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_editor.c' object='gsequencer-ags_line_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor.obj `if test -f 'src/ags/X/ags_line_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor.c'; fi`
+
+gsequencer-ags_line.o: src/ags/X/ags_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line.Tpo -c -o gsequencer-ags_line.o `test -f 'src/ags/X/ags_line.c' || echo '$(srcdir)/'`src/ags/X/ags_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line.Tpo $(DEPDIR)/gsequencer-ags_line.Po
+# $(AM_V_CC)source='src/ags/X/ags_line.c' object='gsequencer-ags_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line.o `test -f 'src/ags/X/ags_line.c' || echo '$(srcdir)/'`src/ags/X/ags_line.c
+
+gsequencer-ags_line.obj: src/ags/X/ags_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line.Tpo -c -o gsequencer-ags_line.obj `if test -f 'src/ags/X/ags_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line.Tpo $(DEPDIR)/gsequencer-ags_line.Po
+# $(AM_V_CC)source='src/ags/X/ags_line.c' object='gsequencer-ags_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line.obj `if test -f 'src/ags/X/ags_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line.c'; fi`
+
+gsequencer-ags_line_member_callbacks.o: src/ags/X/ags_line_member_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo -c -o gsequencer-ags_line_member_callbacks.o `test -f 'src/ags/X/ags_line_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member_callbacks.c' object='gsequencer-ags_line_member_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_callbacks.o `test -f 'src/ags/X/ags_line_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_callbacks.c
+
+gsequencer-ags_line_member_callbacks.obj: src/ags/X/ags_line_member_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo -c -o gsequencer-ags_line_member_callbacks.obj `if test -f 'src/ags/X/ags_line_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member_callbacks.c' object='gsequencer-ags_line_member_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_callbacks.obj `if test -f 'src/ags/X/ags_line_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_callbacks.c'; fi`
+
+gsequencer-ags_line_member_editor_callbacks.o: src/ags/X/ags_line_member_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo -c -o gsequencer-ags_line_member_editor_callbacks.o `test -f 'src/ags/X/ags_line_member_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member_editor_callbacks.c' object='gsequencer-ags_line_member_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor_callbacks.o `test -f 'src/ags/X/ags_line_member_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor_callbacks.c
+
+gsequencer-ags_line_member_editor_callbacks.obj: src/ags/X/ags_line_member_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo -c -o gsequencer-ags_line_member_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_member_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member_editor_callbacks.c' object='gsequencer-ags_line_member_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_member_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor_callbacks.c'; fi`
+
+gsequencer-ags_line_member_editor.o: src/ags/X/ags_line_member_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo -c -o gsequencer-ags_line_member_editor.o `test -f 'src/ags/X/ags_line_member_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member_editor.c' object='gsequencer-ags_line_member_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor.o `test -f 'src/ags/X/ags_line_member_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor.c
+
+gsequencer-ags_line_member_editor.obj: src/ags/X/ags_line_member_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo -c -o gsequencer-ags_line_member_editor.obj `if test -f 'src/ags/X/ags_line_member_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member_editor.c' object='gsequencer-ags_line_member_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor.obj `if test -f 'src/ags/X/ags_line_member_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor.c'; fi`
+
+gsequencer-ags_line_member.o: src/ags/X/ags_line_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member.Tpo -c -o gsequencer-ags_line_member.o `test -f 'src/ags/X/ags_line_member.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member.Tpo $(DEPDIR)/gsequencer-ags_line_member.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member.c' object='gsequencer-ags_line_member.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member.o `test -f 'src/ags/X/ags_line_member.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member.c
+
+gsequencer-ags_line_member.obj: src/ags/X/ags_line_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member.Tpo -c -o gsequencer-ags_line_member.obj `if test -f 'src/ags/X/ags_line_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member.Tpo $(DEPDIR)/gsequencer-ags_line_member.Po
+# $(AM_V_CC)source='src/ags/X/ags_line_member.c' object='gsequencer-ags_line_member.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member.obj `if test -f 'src/ags/X/ags_line_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member.c'; fi`
+
+gsequencer-ags_link_collection_editor_callbacks.o: src/ags/X/ags_link_collection_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo -c -o gsequencer-ags_link_collection_editor_callbacks.o `test -f 'src/ags/X/ags_link_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_collection_editor_callbacks.c' object='gsequencer-ags_link_collection_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor_callbacks.o `test -f 'src/ags/X/ags_link_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor_callbacks.c
+
+gsequencer-ags_link_collection_editor_callbacks.obj: src/ags/X/ags_link_collection_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo -c -o gsequencer-ags_link_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_collection_editor_callbacks.c' object='gsequencer-ags_link_collection_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor_callbacks.c'; fi`
+
+gsequencer-ags_link_collection_editor.o: src/ags/X/ags_link_collection_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo -c -o gsequencer-ags_link_collection_editor.o `test -f 'src/ags/X/ags_link_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_collection_editor.c' object='gsequencer-ags_link_collection_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor.o `test -f 'src/ags/X/ags_link_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor.c
+
+gsequencer-ags_link_collection_editor.obj: src/ags/X/ags_link_collection_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo -c -o gsequencer-ags_link_collection_editor.obj `if test -f 'src/ags/X/ags_link_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_collection_editor.c' object='gsequencer-ags_link_collection_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor.obj `if test -f 'src/ags/X/ags_link_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor.c'; fi`
+
+gsequencer-ags_link_editor_callbacks.o: src/ags/X/ags_link_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo -c -o gsequencer-ags_link_editor_callbacks.o `test -f 'src/ags/X/ags_link_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_editor_callbacks.c' object='gsequencer-ags_link_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor_callbacks.o `test -f 'src/ags/X/ags_link_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor_callbacks.c
+
+gsequencer-ags_link_editor_callbacks.obj: src/ags/X/ags_link_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo -c -o gsequencer-ags_link_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_editor_callbacks.c' object='gsequencer-ags_link_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor_callbacks.c'; fi`
+
+gsequencer-ags_link_editor.o: src/ags/X/ags_link_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor.Tpo -c -o gsequencer-ags_link_editor.o `test -f 'src/ags/X/ags_link_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor.Tpo $(DEPDIR)/gsequencer-ags_link_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_editor.c' object='gsequencer-ags_link_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor.o `test -f 'src/ags/X/ags_link_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor.c
+
+gsequencer-ags_link_editor.obj: src/ags/X/ags_link_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor.Tpo -c -o gsequencer-ags_link_editor.obj `if test -f 'src/ags/X/ags_link_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor.Tpo $(DEPDIR)/gsequencer-ags_link_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_link_editor.c' object='gsequencer-ags_link_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor.obj `if test -f 'src/ags/X/ags_link_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor.c'; fi`
+
+gsequencer-ags_listing_editor_callbacks.o: src/ags/X/ags_listing_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo -c -o gsequencer-ags_listing_editor_callbacks.o `test -f 'src/ags/X/ags_listing_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_listing_editor_callbacks.c' object='gsequencer-ags_listing_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor_callbacks.o `test -f 'src/ags/X/ags_listing_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor_callbacks.c
+
+gsequencer-ags_listing_editor_callbacks.obj: src/ags/X/ags_listing_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo -c -o gsequencer-ags_listing_editor_callbacks.obj `if test -f 'src/ags/X/ags_listing_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_listing_editor_callbacks.c' object='gsequencer-ags_listing_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor_callbacks.obj `if test -f 'src/ags/X/ags_listing_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor_callbacks.c'; fi`
+
+gsequencer-ags_listing_editor.o: src/ags/X/ags_listing_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor.Tpo -c -o gsequencer-ags_listing_editor.o `test -f 'src/ags/X/ags_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_listing_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_listing_editor.c' object='gsequencer-ags_listing_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor.o `test -f 'src/ags/X/ags_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor.c
+
+gsequencer-ags_listing_editor.obj: src/ags/X/ags_listing_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor.Tpo -c -o gsequencer-ags_listing_editor.obj `if test -f 'src/ags/X/ags_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_listing_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_listing_editor.c' object='gsequencer-ags_listing_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor.obj `if test -f 'src/ags/X/ags_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor.c'; fi`
+
+gsequencer-ags_machine_callbacks.o: src/ags/X/ags_machine_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo -c -o gsequencer-ags_machine_callbacks.o `test -f 'src/ags/X/ags_machine_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine_callbacks.c' object='gsequencer-ags_machine_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_callbacks.o `test -f 'src/ags/X/ags_machine_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_callbacks.c
+
+gsequencer-ags_machine_callbacks.obj: src/ags/X/ags_machine_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo -c -o gsequencer-ags_machine_callbacks.obj `if test -f 'src/ags/X/ags_machine_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine_callbacks.c' object='gsequencer-ags_machine_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_callbacks.obj `if test -f 'src/ags/X/ags_machine_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_callbacks.c'; fi`
+
+gsequencer-ags_machine_editor_callbacks.o: src/ags/X/ags_machine_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo -c -o gsequencer-ags_machine_editor_callbacks.o `test -f 'src/ags/X/ags_machine_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine_editor_callbacks.c' object='gsequencer-ags_machine_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor_callbacks.o `test -f 'src/ags/X/ags_machine_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor_callbacks.c
+
+gsequencer-ags_machine_editor_callbacks.obj: src/ags/X/ags_machine_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo -c -o gsequencer-ags_machine_editor_callbacks.obj `if test -f 'src/ags/X/ags_machine_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine_editor_callbacks.c' object='gsequencer-ags_machine_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor_callbacks.obj `if test -f 'src/ags/X/ags_machine_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor_callbacks.c'; fi`
+
+gsequencer-ags_machine_editor.o: src/ags/X/ags_machine_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor.Tpo -c -o gsequencer-ags_machine_editor.o `test -f 'src/ags/X/ags_machine_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor.Tpo $(DEPDIR)/gsequencer-ags_machine_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine_editor.c' object='gsequencer-ags_machine_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor.o `test -f 'src/ags/X/ags_machine_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor.c
+
+gsequencer-ags_machine_editor.obj: src/ags/X/ags_machine_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor.Tpo -c -o gsequencer-ags_machine_editor.obj `if test -f 'src/ags/X/ags_machine_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor.Tpo $(DEPDIR)/gsequencer-ags_machine_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine_editor.c' object='gsequencer-ags_machine_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor.obj `if test -f 'src/ags/X/ags_machine_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor.c'; fi`
+
+gsequencer-ags_machine.o: src/ags/X/ags_machine.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine.Tpo -c -o gsequencer-ags_machine.o `test -f 'src/ags/X/ags_machine.c' || echo '$(srcdir)/'`src/ags/X/ags_machine.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine.Tpo $(DEPDIR)/gsequencer-ags_machine.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine.c' object='gsequencer-ags_machine.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine.o `test -f 'src/ags/X/ags_machine.c' || echo '$(srcdir)/'`src/ags/X/ags_machine.c
+
+gsequencer-ags_machine.obj: src/ags/X/ags_machine.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine.Tpo -c -o gsequencer-ags_machine.obj `if test -f 'src/ags/X/ags_machine.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine.Tpo $(DEPDIR)/gsequencer-ags_machine.Po
+# $(AM_V_CC)source='src/ags/X/ags_machine.c' object='gsequencer-ags_machine.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine.obj `if test -f 'src/ags/X/ags_machine.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine.c'; fi`
+
+gsequencer-ags_menu_bar_callbacks.o: src/ags/X/ags_menu_bar_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo -c -o gsequencer-ags_menu_bar_callbacks.o `test -f 'src/ags/X/ags_menu_bar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_menu_bar_callbacks.c' object='gsequencer-ags_menu_bar_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar_callbacks.o `test -f 'src/ags/X/ags_menu_bar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar_callbacks.c
+
+gsequencer-ags_menu_bar_callbacks.obj: src/ags/X/ags_menu_bar_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo -c -o gsequencer-ags_menu_bar_callbacks.obj `if test -f 'src/ags/X/ags_menu_bar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_menu_bar_callbacks.c' object='gsequencer-ags_menu_bar_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar_callbacks.obj `if test -f 'src/ags/X/ags_menu_bar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar_callbacks.c'; fi`
+
+gsequencer-ags_menu_bar.o: src/ags/X/ags_menu_bar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar.Tpo -c -o gsequencer-ags_menu_bar.o `test -f 'src/ags/X/ags_menu_bar.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar.Tpo $(DEPDIR)/gsequencer-ags_menu_bar.Po
+# $(AM_V_CC)source='src/ags/X/ags_menu_bar.c' object='gsequencer-ags_menu_bar.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar.o `test -f 'src/ags/X/ags_menu_bar.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar.c
+
+gsequencer-ags_menu_bar.obj: src/ags/X/ags_menu_bar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar.Tpo -c -o gsequencer-ags_menu_bar.obj `if test -f 'src/ags/X/ags_menu_bar.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar.Tpo $(DEPDIR)/gsequencer-ags_menu_bar.Po
+# $(AM_V_CC)source='src/ags/X/ags_menu_bar.c' object='gsequencer-ags_menu_bar.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar.obj `if test -f 'src/ags/X/ags_menu_bar.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar.c'; fi`
+
+gsequencer-ags_navigation_callbacks.o: src/ags/X/ags_navigation_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo -c -o gsequencer-ags_navigation_callbacks.o `test -f 'src/ags/X/ags_navigation_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo $(DEPDIR)/gsequencer-ags_navigation_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_navigation_callbacks.c' object='gsequencer-ags_navigation_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation_callbacks.o `test -f 'src/ags/X/ags_navigation_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation_callbacks.c
+
+gsequencer-ags_navigation_callbacks.obj: src/ags/X/ags_navigation_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo -c -o gsequencer-ags_navigation_callbacks.obj `if test -f 'src/ags/X/ags_navigation_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo $(DEPDIR)/gsequencer-ags_navigation_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_navigation_callbacks.c' object='gsequencer-ags_navigation_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation_callbacks.obj `if test -f 'src/ags/X/ags_navigation_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation_callbacks.c'; fi`
+
+gsequencer-ags_navigation.o: src/ags/X/ags_navigation.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation.Tpo -c -o gsequencer-ags_navigation.o `test -f 'src/ags/X/ags_navigation.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation.Tpo $(DEPDIR)/gsequencer-ags_navigation.Po
+# $(AM_V_CC)source='src/ags/X/ags_navigation.c' object='gsequencer-ags_navigation.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation.o `test -f 'src/ags/X/ags_navigation.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation.c
+
+gsequencer-ags_navigation.obj: src/ags/X/ags_navigation.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation.Tpo -c -o gsequencer-ags_navigation.obj `if test -f 'src/ags/X/ags_navigation.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation.Tpo $(DEPDIR)/gsequencer-ags_navigation.Po
+# $(AM_V_CC)source='src/ags/X/ags_navigation.c' object='gsequencer-ags_navigation.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation.obj `if test -f 'src/ags/X/ags_navigation.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation.c'; fi`
+
+gsequencer-ags_pad_callbacks.o: src/ags/X/ags_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo -c -o gsequencer-ags_pad_callbacks.o `test -f 'src/ags/X/ags_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad_callbacks.c' object='gsequencer-ags_pad_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_callbacks.o `test -f 'src/ags/X/ags_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_callbacks.c
+
+gsequencer-ags_pad_callbacks.obj: src/ags/X/ags_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo -c -o gsequencer-ags_pad_callbacks.obj `if test -f 'src/ags/X/ags_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad_callbacks.c' object='gsequencer-ags_pad_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_callbacks.obj `if test -f 'src/ags/X/ags_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_callbacks.c'; fi`
+
+gsequencer-ags_pad_editor_callbacks.o: src/ags/X/ags_pad_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo -c -o gsequencer-ags_pad_editor_callbacks.o `test -f 'src/ags/X/ags_pad_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad_editor_callbacks.c' object='gsequencer-ags_pad_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor_callbacks.o `test -f 'src/ags/X/ags_pad_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor_callbacks.c
+
+gsequencer-ags_pad_editor_callbacks.obj: src/ags/X/ags_pad_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo -c -o gsequencer-ags_pad_editor_callbacks.obj `if test -f 'src/ags/X/ags_pad_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad_editor_callbacks.c' object='gsequencer-ags_pad_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor_callbacks.obj `if test -f 'src/ags/X/ags_pad_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor_callbacks.c'; fi`
+
+gsequencer-ags_pad_editor.o: src/ags/X/ags_pad_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor.Tpo -c -o gsequencer-ags_pad_editor.o `test -f 'src/ags/X/ags_pad_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor.Tpo $(DEPDIR)/gsequencer-ags_pad_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad_editor.c' object='gsequencer-ags_pad_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor.o `test -f 'src/ags/X/ags_pad_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor.c
+
+gsequencer-ags_pad_editor.obj: src/ags/X/ags_pad_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor.Tpo -c -o gsequencer-ags_pad_editor.obj `if test -f 'src/ags/X/ags_pad_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor.Tpo $(DEPDIR)/gsequencer-ags_pad_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad_editor.c' object='gsequencer-ags_pad_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor.obj `if test -f 'src/ags/X/ags_pad_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor.c'; fi`
+
+gsequencer-ags_pad.o: src/ags/X/ags_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad.Tpo -c -o gsequencer-ags_pad.o `test -f 'src/ags/X/ags_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad.Tpo $(DEPDIR)/gsequencer-ags_pad.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad.c' object='gsequencer-ags_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad.o `test -f 'src/ags/X/ags_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_pad.c
+
+gsequencer-ags_pad.obj: src/ags/X/ags_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad.Tpo -c -o gsequencer-ags_pad.obj `if test -f 'src/ags/X/ags_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad.Tpo $(DEPDIR)/gsequencer-ags_pad.Po
+# $(AM_V_CC)source='src/ags/X/ags_pad.c' object='gsequencer-ags_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad.obj `if test -f 'src/ags/X/ags_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad.c'; fi`
+
+gsequencer-ags_performance_preferences_callbacks.o: src/ags/X/ags_performance_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo -c -o gsequencer-ags_performance_preferences_callbacks.o `test -f 'src/ags/X/ags_performance_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_performance_preferences_callbacks.c' object='gsequencer-ags_performance_preferences_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences_callbacks.o `test -f 'src/ags/X/ags_performance_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences_callbacks.c
+
+gsequencer-ags_performance_preferences_callbacks.obj: src/ags/X/ags_performance_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo -c -o gsequencer-ags_performance_preferences_callbacks.obj `if test -f 'src/ags/X/ags_performance_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_performance_preferences_callbacks.c' object='gsequencer-ags_performance_preferences_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences_callbacks.obj `if test -f 'src/ags/X/ags_performance_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences_callbacks.c'; fi`
+
+gsequencer-ags_performance_preferences.o: src/ags/X/ags_performance_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo -c -o gsequencer-ags_performance_preferences.o `test -f 'src/ags/X/ags_performance_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_performance_preferences.c' object='gsequencer-ags_performance_preferences.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences.o `test -f 'src/ags/X/ags_performance_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences.c
+
+gsequencer-ags_performance_preferences.obj: src/ags/X/ags_performance_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo -c -o gsequencer-ags_performance_preferences.obj `if test -f 'src/ags/X/ags_performance_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_performance_preferences.c' object='gsequencer-ags_performance_preferences.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences.obj `if test -f 'src/ags/X/ags_performance_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences.c'; fi`
+
+gsequencer-ags_plugin_preferences_callbacks.o: src/ags/X/ags_plugin_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo -c -o gsequencer-ags_plugin_preferences_callbacks.o `test -f 'src/ags/X/ags_plugin_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_plugin_preferences_callbacks.c' object='gsequencer-ags_plugin_preferences_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences_callbacks.o `test -f 'src/ags/X/ags_plugin_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences_callbacks.c
+
+gsequencer-ags_plugin_preferences_callbacks.obj: src/ags/X/ags_plugin_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo -c -o gsequencer-ags_plugin_preferences_callbacks.obj `if test -f 'src/ags/X/ags_plugin_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_plugin_preferences_callbacks.c' object='gsequencer-ags_plugin_preferences_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences_callbacks.obj `if test -f 'src/ags/X/ags_plugin_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences_callbacks.c'; fi`
+
+gsequencer-ags_plugin_preferences.o: src/ags/X/ags_plugin_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo -c -o gsequencer-ags_plugin_preferences.o `test -f 'src/ags/X/ags_plugin_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_plugin_preferences.c' object='gsequencer-ags_plugin_preferences.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences.o `test -f 'src/ags/X/ags_plugin_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences.c
+
+gsequencer-ags_plugin_preferences.obj: src/ags/X/ags_plugin_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo -c -o gsequencer-ags_plugin_preferences.obj `if test -f 'src/ags/X/ags_plugin_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_plugin_preferences.c' object='gsequencer-ags_plugin_preferences.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences.obj `if test -f 'src/ags/X/ags_plugin_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences.c'; fi`
+
+gsequencer-ags_preferences_callbacks.o: src/ags/X/ags_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo -c -o gsequencer-ags_preferences_callbacks.o `test -f 'src/ags/X/ags_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_preferences_callbacks.c' object='gsequencer-ags_preferences_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences_callbacks.o `test -f 'src/ags/X/ags_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences_callbacks.c
+
+gsequencer-ags_preferences_callbacks.obj: src/ags/X/ags_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo -c -o gsequencer-ags_preferences_callbacks.obj `if test -f 'src/ags/X/ags_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_preferences_callbacks.c' object='gsequencer-ags_preferences_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences_callbacks.obj `if test -f 'src/ags/X/ags_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences_callbacks.c'; fi`
+
+gsequencer-ags_preferences.o: src/ags/X/ags_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences.Tpo -c -o gsequencer-ags_preferences.o `test -f 'src/ags/X/ags_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences.Tpo $(DEPDIR)/gsequencer-ags_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_preferences.c' object='gsequencer-ags_preferences.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences.o `test -f 'src/ags/X/ags_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences.c
+
+gsequencer-ags_preferences.obj: src/ags/X/ags_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences.Tpo -c -o gsequencer-ags_preferences.obj `if test -f 'src/ags/X/ags_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences.Tpo $(DEPDIR)/gsequencer-ags_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_preferences.c' object='gsequencer-ags_preferences.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences.obj `if test -f 'src/ags/X/ags_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences.c'; fi`
+
+gsequencer-ags_property_collection_editor_callbacks.o: src/ags/X/ags_property_collection_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo -c -o gsequencer-ags_property_collection_editor_callbacks.o `test -f 'src/ags/X/ags_property_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_collection_editor_callbacks.c' object='gsequencer-ags_property_collection_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor_callbacks.o `test -f 'src/ags/X/ags_property_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor_callbacks.c
+
+gsequencer-ags_property_collection_editor_callbacks.obj: src/ags/X/ags_property_collection_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo -c -o gsequencer-ags_property_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_collection_editor_callbacks.c' object='gsequencer-ags_property_collection_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor_callbacks.c'; fi`
+
+gsequencer-ags_property_collection_editor.o: src/ags/X/ags_property_collection_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo -c -o gsequencer-ags_property_collection_editor.o `test -f 'src/ags/X/ags_property_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_collection_editor.c' object='gsequencer-ags_property_collection_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor.o `test -f 'src/ags/X/ags_property_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor.c
+
+gsequencer-ags_property_collection_editor.obj: src/ags/X/ags_property_collection_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo -c -o gsequencer-ags_property_collection_editor.obj `if test -f 'src/ags/X/ags_property_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_collection_editor.c' object='gsequencer-ags_property_collection_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor.obj `if test -f 'src/ags/X/ags_property_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor.c'; fi`
+
+gsequencer-ags_property_editor_callbacks.o: src/ags/X/ags_property_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo -c -o gsequencer-ags_property_editor_callbacks.o `test -f 'src/ags/X/ags_property_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_editor_callbacks.c' object='gsequencer-ags_property_editor_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor_callbacks.o `test -f 'src/ags/X/ags_property_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor_callbacks.c
+
+gsequencer-ags_property_editor_callbacks.obj: src/ags/X/ags_property_editor_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo -c -o gsequencer-ags_property_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_editor_callbacks.c' object='gsequencer-ags_property_editor_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor_callbacks.c'; fi`
+
+gsequencer-ags_property_editor.o: src/ags/X/ags_property_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor.Tpo -c -o gsequencer-ags_property_editor.o `test -f 'src/ags/X/ags_property_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor.Tpo $(DEPDIR)/gsequencer-ags_property_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_editor.c' object='gsequencer-ags_property_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor.o `test -f 'src/ags/X/ags_property_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor.c
+
+gsequencer-ags_property_editor.obj: src/ags/X/ags_property_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor.Tpo -c -o gsequencer-ags_property_editor.obj `if test -f 'src/ags/X/ags_property_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor.Tpo $(DEPDIR)/gsequencer-ags_property_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_editor.c' object='gsequencer-ags_property_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor.obj `if test -f 'src/ags/X/ags_property_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor.c'; fi`
+
+gsequencer-ags_property_listing_editor.o: src/ags/X/ags_property_listing_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_listing_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo -c -o gsequencer-ags_property_listing_editor.o `test -f 'src/ags/X/ags_property_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_listing_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_property_listing_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_listing_editor.c' object='gsequencer-ags_property_listing_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_listing_editor.o `test -f 'src/ags/X/ags_property_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_listing_editor.c
+
+gsequencer-ags_property_listing_editor.obj: src/ags/X/ags_property_listing_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_listing_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo -c -o gsequencer-ags_property_listing_editor.obj `if test -f 'src/ags/X/ags_property_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_listing_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_property_listing_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_property_listing_editor.c' object='gsequencer-ags_property_listing_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_listing_editor.obj `if test -f 'src/ags/X/ags_property_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_listing_editor.c'; fi`
+
+gsequencer-ags_resize_editor.o: src/ags/X/ags_resize_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_resize_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_resize_editor.Tpo -c -o gsequencer-ags_resize_editor.o `test -f 'src/ags/X/ags_resize_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_resize_editor.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_resize_editor.Tpo $(DEPDIR)/gsequencer-ags_resize_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_resize_editor.c' object='gsequencer-ags_resize_editor.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_resize_editor.o `test -f 'src/ags/X/ags_resize_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_resize_editor.c
+
+gsequencer-ags_resize_editor.obj: src/ags/X/ags_resize_editor.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_resize_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_resize_editor.Tpo -c -o gsequencer-ags_resize_editor.obj `if test -f 'src/ags/X/ags_resize_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_resize_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_resize_editor.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_resize_editor.Tpo $(DEPDIR)/gsequencer-ags_resize_editor.Po
+# $(AM_V_CC)source='src/ags/X/ags_resize_editor.c' object='gsequencer-ags_resize_editor.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_resize_editor.obj `if test -f 'src/ags/X/ags_resize_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_resize_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_resize_editor.c'; fi`
+
+gsequencer-ags_server_preferences_callbacks.o: src/ags/X/ags_server_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo -c -o gsequencer-ags_server_preferences_callbacks.o `test -f 'src/ags/X/ags_server_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_server_preferences_callbacks.c' object='gsequencer-ags_server_preferences_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences_callbacks.o `test -f 'src/ags/X/ags_server_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences_callbacks.c
+
+gsequencer-ags_server_preferences_callbacks.obj: src/ags/X/ags_server_preferences_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo -c -o gsequencer-ags_server_preferences_callbacks.obj `if test -f 'src/ags/X/ags_server_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_server_preferences_callbacks.c' object='gsequencer-ags_server_preferences_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences_callbacks.obj `if test -f 'src/ags/X/ags_server_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences_callbacks.c'; fi`
+
+gsequencer-ags_server_preferences.o: src/ags/X/ags_server_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences.Tpo -c -o gsequencer-ags_server_preferences.o `test -f 'src/ags/X/ags_server_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences.Tpo $(DEPDIR)/gsequencer-ags_server_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_server_preferences.c' object='gsequencer-ags_server_preferences.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences.o `test -f 'src/ags/X/ags_server_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences.c
+
+gsequencer-ags_server_preferences.obj: src/ags/X/ags_server_preferences.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences.Tpo -c -o gsequencer-ags_server_preferences.obj `if test -f 'src/ags/X/ags_server_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences.Tpo $(DEPDIR)/gsequencer-ags_server_preferences.Po
+# $(AM_V_CC)source='src/ags/X/ags_server_preferences.c' object='gsequencer-ags_server_preferences.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences.obj `if test -f 'src/ags/X/ags_server_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences.c'; fi`
+
+gsequencer-ags_window_callbacks.o: src/ags/X/ags_window_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo -c -o gsequencer-ags_window_callbacks.o `test -f 'src/ags/X/ags_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_window_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_window_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_window_callbacks.c' object='gsequencer-ags_window_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window_callbacks.o `test -f 'src/ags/X/ags_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_window_callbacks.c
+
+gsequencer-ags_window_callbacks.obj: src/ags/X/ags_window_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo -c -o gsequencer-ags_window_callbacks.obj `if test -f 'src/ags/X/ags_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_window_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/ags_window_callbacks.c' object='gsequencer-ags_window_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window_callbacks.obj `if test -f 'src/ags/X/ags_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window_callbacks.c'; fi`
+
+gsequencer-ags_window.o: src/ags/X/ags_window.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_window.Tpo -c -o gsequencer-ags_window.o `test -f 'src/ags/X/ags_window.c' || echo '$(srcdir)/'`src/ags/X/ags_window.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window.Tpo $(DEPDIR)/gsequencer-ags_window.Po
+# $(AM_V_CC)source='src/ags/X/ags_window.c' object='gsequencer-ags_window.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window.o `test -f 'src/ags/X/ags_window.c' || echo '$(srcdir)/'`src/ags/X/ags_window.c
+
+gsequencer-ags_window.obj: src/ags/X/ags_window.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_window.Tpo -c -o gsequencer-ags_window.obj `if test -f 'src/ags/X/ags_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window.Tpo $(DEPDIR)/gsequencer-ags_window.Po
+# $(AM_V_CC)source='src/ags/X/ags_window.c' object='gsequencer-ags_window.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window.obj `if test -f 'src/ags/X/ags_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window.c'; fi`
+
+gsequencer-ags_drum_callbacks.o: src/ags/X/machine/ags_drum_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo -c -o gsequencer-ags_drum_callbacks.o `test -f 'src/ags/X/machine/ags_drum_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_callbacks.c' object='gsequencer-ags_drum_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_callbacks.o `test -f 'src/ags/X/machine/ags_drum_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_callbacks.c
+
+gsequencer-ags_drum_callbacks.obj: src/ags/X/machine/ags_drum_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo -c -o gsequencer-ags_drum_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_callbacks.c' object='gsequencer-ags_drum_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_callbacks.c'; fi`
+
+gsequencer-ags_drum.o: src/ags/X/machine/ags_drum.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum.Tpo -c -o gsequencer-ags_drum.o `test -f 'src/ags/X/machine/ags_drum.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum.Tpo $(DEPDIR)/gsequencer-ags_drum.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum.c' object='gsequencer-ags_drum.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum.o `test -f 'src/ags/X/machine/ags_drum.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum.c
+
+gsequencer-ags_drum.obj: src/ags/X/machine/ags_drum.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum.Tpo -c -o gsequencer-ags_drum.obj `if test -f 'src/ags/X/machine/ags_drum.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum.Tpo $(DEPDIR)/gsequencer-ags_drum.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum.c' object='gsequencer-ags_drum.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum.obj `if test -f 'src/ags/X/machine/ags_drum.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum.c'; fi`
+
+gsequencer-ags_drum_input_line_callbacks.o: src/ags/X/machine/ags_drum_input_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo -c -o gsequencer-ags_drum_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line_callbacks.c' object='gsequencer-ags_drum_input_line_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line_callbacks.c
+
+gsequencer-ags_drum_input_line_callbacks.obj: src/ags/X/machine/ags_drum_input_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo -c -o gsequencer-ags_drum_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line_callbacks.c' object='gsequencer-ags_drum_input_line_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line_callbacks.c'; fi`
+
+gsequencer-ags_drum_input_line.o: src/ags/X/machine/ags_drum_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo -c -o gsequencer-ags_drum_input_line.o `test -f 'src/ags/X/machine/ags_drum_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line.c' object='gsequencer-ags_drum_input_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line.o `test -f 'src/ags/X/machine/ags_drum_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line.c
+
+gsequencer-ags_drum_input_line.obj: src/ags/X/machine/ags_drum_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo -c -o gsequencer-ags_drum_input_line.obj `if test -f 'src/ags/X/machine/ags_drum_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line.c' object='gsequencer-ags_drum_input_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line.obj `if test -f 'src/ags/X/machine/ags_drum_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line.c'; fi`
+
+gsequencer-ags_drum_input_pad_callbacks.o: src/ags/X/machine/ags_drum_input_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo -c -o gsequencer-ags_drum_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad_callbacks.c' object='gsequencer-ags_drum_input_pad_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad_callbacks.c
+
+gsequencer-ags_drum_input_pad_callbacks.obj: src/ags/X/machine/ags_drum_input_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo -c -o gsequencer-ags_drum_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad_callbacks.c' object='gsequencer-ags_drum_input_pad_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad_callbacks.c'; fi`
+
+gsequencer-ags_drum_input_pad.o: src/ags/X/machine/ags_drum_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo -c -o gsequencer-ags_drum_input_pad.o `test -f 'src/ags/X/machine/ags_drum_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad.c' object='gsequencer-ags_drum_input_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad.o `test -f 'src/ags/X/machine/ags_drum_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad.c
+
+gsequencer-ags_drum_input_pad.obj: src/ags/X/machine/ags_drum_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo -c -o gsequencer-ags_drum_input_pad.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad.c' object='gsequencer-ags_drum_input_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad.c'; fi`
+
+gsequencer-ags_drum_output_line_callbacks.o: src/ags/X/machine/ags_drum_output_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo -c -o gsequencer-ags_drum_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line_callbacks.c' object='gsequencer-ags_drum_output_line_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line_callbacks.c
+
+gsequencer-ags_drum_output_line_callbacks.obj: src/ags/X/machine/ags_drum_output_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo -c -o gsequencer-ags_drum_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line_callbacks.c' object='gsequencer-ags_drum_output_line_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line_callbacks.c'; fi`
+
+gsequencer-ags_drum_output_line.o: src/ags/X/machine/ags_drum_output_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo -c -o gsequencer-ags_drum_output_line.o `test -f 'src/ags/X/machine/ags_drum_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line.c' object='gsequencer-ags_drum_output_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line.o `test -f 'src/ags/X/machine/ags_drum_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line.c
+
+gsequencer-ags_drum_output_line.obj: src/ags/X/machine/ags_drum_output_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo -c -o gsequencer-ags_drum_output_line.obj `if test -f 'src/ags/X/machine/ags_drum_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line.c' object='gsequencer-ags_drum_output_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line.obj `if test -f 'src/ags/X/machine/ags_drum_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line.c'; fi`
+
+gsequencer-ags_drum_output_pad_callbacks.o: src/ags/X/machine/ags_drum_output_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo -c -o gsequencer-ags_drum_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad_callbacks.c' object='gsequencer-ags_drum_output_pad_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad_callbacks.c
+
+gsequencer-ags_drum_output_pad_callbacks.obj: src/ags/X/machine/ags_drum_output_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo -c -o gsequencer-ags_drum_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad_callbacks.c' object='gsequencer-ags_drum_output_pad_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad_callbacks.c'; fi`
+
+gsequencer-ags_drum_output_pad.o: src/ags/X/machine/ags_drum_output_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo -c -o gsequencer-ags_drum_output_pad.o `test -f 'src/ags/X/machine/ags_drum_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad.c' object='gsequencer-ags_drum_output_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad.o `test -f 'src/ags/X/machine/ags_drum_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad.c
+
+gsequencer-ags_drum_output_pad.obj: src/ags/X/machine/ags_drum_output_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo -c -o gsequencer-ags_drum_output_pad.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad.c' object='gsequencer-ags_drum_output_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad.c'; fi`
+
+gsequencer-ags_ffplayer_bridge_callbacks.o: src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' object='gsequencer-ags_ffplayer_bridge_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+
+gsequencer-ags_ffplayer_bridge_callbacks.obj: src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' object='gsequencer-ags_ffplayer_bridge_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_bridge.o: src/ags/X/machine/ags_ffplayer_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo -c -o gsequencer-ags_ffplayer_bridge.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge.c' object='gsequencer-ags_ffplayer_bridge.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge.c
+
+gsequencer-ags_ffplayer_bridge.obj: src/ags/X/machine/ags_ffplayer_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo -c -o gsequencer-ags_ffplayer_bridge.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge.c' object='gsequencer-ags_ffplayer_bridge.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge.c'; fi`
+
+gsequencer-ags_ffplayer_bulk_input_callbacks.o: src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' object='gsequencer-ags_ffplayer_bulk_input_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+
+gsequencer-ags_ffplayer_bulk_input_callbacks.obj: src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' object='gsequencer-ags_ffplayer_bulk_input_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_bulk_input.o: src/ags/X/machine/ags_ffplayer_bulk_input.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo -c -o gsequencer-ags_ffplayer_bulk_input.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input.c' object='gsequencer-ags_ffplayer_bulk_input.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input.c
+
+gsequencer-ags_ffplayer_bulk_input.obj: src/ags/X/machine/ags_ffplayer_bulk_input.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo -c -o gsequencer-ags_ffplayer_bulk_input.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input.c' object='gsequencer-ags_ffplayer_bulk_input.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input.c'; fi`
+
+gsequencer-ags_ffplayer_callbacks.o: src/ags/X/machine/ags_ffplayer_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo -c -o gsequencer-ags_ffplayer_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_callbacks.c' object='gsequencer-ags_ffplayer_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_callbacks.c
+
+gsequencer-ags_ffplayer_callbacks.obj: src/ags/X/machine/ags_ffplayer_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo -c -o gsequencer-ags_ffplayer_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_callbacks.c' object='gsequencer-ags_ffplayer_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer.o: src/ags/X/machine/ags_ffplayer.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer.Tpo -c -o gsequencer-ags_ffplayer.o `test -f 'src/ags/X/machine/ags_ffplayer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer.Tpo $(DEPDIR)/gsequencer-ags_ffplayer.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer.c' object='gsequencer-ags_ffplayer.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer.o `test -f 'src/ags/X/machine/ags_ffplayer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer.c
+
+gsequencer-ags_ffplayer.obj: src/ags/X/machine/ags_ffplayer.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer.Tpo -c -o gsequencer-ags_ffplayer.obj `if test -f 'src/ags/X/machine/ags_ffplayer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer.Tpo $(DEPDIR)/gsequencer-ags_ffplayer.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer.c' object='gsequencer-ags_ffplayer.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer.obj `if test -f 'src/ags/X/machine/ags_ffplayer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer.c'; fi`
+
+gsequencer-ags_ffplayer_input_line_callbacks.o: src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' object='gsequencer-ags_ffplayer_input_line_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+
+gsequencer-ags_ffplayer_input_line_callbacks.obj: src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' object='gsequencer-ags_ffplayer_input_line_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_input_line.o: src/ags/X/machine/ags_ffplayer_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo -c -o gsequencer-ags_ffplayer_input_line.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line.c' object='gsequencer-ags_ffplayer_input_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line.c
+
+gsequencer-ags_ffplayer_input_line.obj: src/ags/X/machine/ags_ffplayer_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo -c -o gsequencer-ags_ffplayer_input_line.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line.c' object='gsequencer-ags_ffplayer_input_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line.c'; fi`
+
+gsequencer-ags_ffplayer_input_pad_callbacks.o: src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' object='gsequencer-ags_ffplayer_input_pad_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+
+gsequencer-ags_ffplayer_input_pad_callbacks.obj: src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' object='gsequencer-ags_ffplayer_input_pad_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_input_pad.o: src/ags/X/machine/ags_ffplayer_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo -c -o gsequencer-ags_ffplayer_input_pad.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad.c' object='gsequencer-ags_ffplayer_input_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad.c
+
+gsequencer-ags_ffplayer_input_pad.obj: src/ags/X/machine/ags_ffplayer_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo -c -o gsequencer-ags_ffplayer_input_pad.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad.c' object='gsequencer-ags_ffplayer_input_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad.c'; fi`
+
+gsequencer-ags_ladspa_bridge_callbacks.o: src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo -c -o gsequencer-ags_ladspa_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge_callbacks.c' object='gsequencer-ags_ladspa_bridge_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+
+gsequencer-ags_ladspa_bridge_callbacks.obj: src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo -c -o gsequencer-ags_ladspa_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge_callbacks.c' object='gsequencer-ags_ladspa_bridge_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; fi`
+
+gsequencer-ags_ladspa_bridge.o: src/ags/X/machine/ags_ladspa_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo -c -o gsequencer-ags_ladspa_bridge.o `test -f 'src/ags/X/machine/ags_ladspa_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge.c' object='gsequencer-ags_ladspa_bridge.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge.o `test -f 'src/ags/X/machine/ags_ladspa_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge.c
+
+gsequencer-ags_ladspa_bridge.obj: src/ags/X/machine/ags_ladspa_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo -c -o gsequencer-ags_ladspa_bridge.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge.c' object='gsequencer-ags_ladspa_bridge.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge.c'; fi`
+
+gsequencer-ags_matrix_bridge_callbacks.o: src/ags/X/machine/ags_matrix_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo -c -o gsequencer-ags_matrix_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge_callbacks.c' object='gsequencer-ags_matrix_bridge_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge_callbacks.c
+
+gsequencer-ags_matrix_bridge_callbacks.obj: src/ags/X/machine/ags_matrix_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo -c -o gsequencer-ags_matrix_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge_callbacks.c' object='gsequencer-ags_matrix_bridge_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge_callbacks.c'; fi`
+
+gsequencer-ags_matrix_bridge.o: src/ags/X/machine/ags_matrix_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo -c -o gsequencer-ags_matrix_bridge.o `test -f 'src/ags/X/machine/ags_matrix_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge.c' object='gsequencer-ags_matrix_bridge.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge.o `test -f 'src/ags/X/machine/ags_matrix_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge.c
+
+gsequencer-ags_matrix_bridge.obj: src/ags/X/machine/ags_matrix_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo -c -o gsequencer-ags_matrix_bridge.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge.c' object='gsequencer-ags_matrix_bridge.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge.c'; fi`
+
+gsequencer-ags_matrix_bulk_input_callbacks.o: src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo -c -o gsequencer-ags_matrix_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' object='gsequencer-ags_matrix_bulk_input_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+
+gsequencer-ags_matrix_bulk_input_callbacks.obj: src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo -c -o gsequencer-ags_matrix_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' object='gsequencer-ags_matrix_bulk_input_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; fi`
+
+gsequencer-ags_matrix_bulk_input.o: src/ags/X/machine/ags_matrix_bulk_input.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo -c -o gsequencer-ags_matrix_bulk_input.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input.c' object='gsequencer-ags_matrix_bulk_input.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input.c
+
+gsequencer-ags_matrix_bulk_input.obj: src/ags/X/machine/ags_matrix_bulk_input.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo -c -o gsequencer-ags_matrix_bulk_input.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input.c' object='gsequencer-ags_matrix_bulk_input.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input.c'; fi`
+
+gsequencer-ags_matrix_callbacks.o: src/ags/X/machine/ags_matrix_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo -c -o gsequencer-ags_matrix_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_callbacks.c' object='gsequencer-ags_matrix_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_callbacks.c
+
+gsequencer-ags_matrix_callbacks.obj: src/ags/X/machine/ags_matrix_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo -c -o gsequencer-ags_matrix_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix_callbacks.c' object='gsequencer-ags_matrix_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_callbacks.c'; fi`
+
+gsequencer-ags_matrix.o: src/ags/X/machine/ags_matrix.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix.Tpo -c -o gsequencer-ags_matrix.o `test -f 'src/ags/X/machine/ags_matrix.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix.Tpo $(DEPDIR)/gsequencer-ags_matrix.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix.c' object='gsequencer-ags_matrix.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix.o `test -f 'src/ags/X/machine/ags_matrix.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix.c
+
+gsequencer-ags_matrix.obj: src/ags/X/machine/ags_matrix.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix.Tpo -c -o gsequencer-ags_matrix.obj `if test -f 'src/ags/X/machine/ags_matrix.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix.Tpo $(DEPDIR)/gsequencer-ags_matrix.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_matrix.c' object='gsequencer-ags_matrix.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix.obj `if test -f 'src/ags/X/machine/ags_matrix.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix.c'; fi`
+
+gsequencer-ags_mixer_callbacks.o: src/ags/X/machine/ags_mixer_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo -c -o gsequencer-ags_mixer_callbacks.o `test -f 'src/ags/X/machine/ags_mixer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_mixer_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer_callbacks.c' object='gsequencer-ags_mixer_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_callbacks.o `test -f 'src/ags/X/machine/ags_mixer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_callbacks.c
+
+gsequencer-ags_mixer_callbacks.obj: src/ags/X/machine/ags_mixer_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo -c -o gsequencer-ags_mixer_callbacks.obj `if test -f 'src/ags/X/machine/ags_mixer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_mixer_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer_callbacks.c' object='gsequencer-ags_mixer_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_callbacks.obj `if test -f 'src/ags/X/machine/ags_mixer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_callbacks.c'; fi`
+
+gsequencer-ags_mixer.o: src/ags/X/machine/ags_mixer.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer.Tpo -c -o gsequencer-ags_mixer.o `test -f 'src/ags/X/machine/ags_mixer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer.Tpo $(DEPDIR)/gsequencer-ags_mixer.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer.c' object='gsequencer-ags_mixer.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer.o `test -f 'src/ags/X/machine/ags_mixer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer.c
+
+gsequencer-ags_mixer.obj: src/ags/X/machine/ags_mixer.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer.Tpo -c -o gsequencer-ags_mixer.obj `if test -f 'src/ags/X/machine/ags_mixer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer.Tpo $(DEPDIR)/gsequencer-ags_mixer.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer.c' object='gsequencer-ags_mixer.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer.obj `if test -f 'src/ags/X/machine/ags_mixer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer.c'; fi`
+
+gsequencer-ags_mixer_input_line.o: src/ags/X/machine/ags_mixer_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo -c -o gsequencer-ags_mixer_input_line.o `test -f 'src/ags/X/machine/ags_mixer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_line.c' object='gsequencer-ags_mixer_input_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_line.o `test -f 'src/ags/X/machine/ags_mixer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_line.c
+
+gsequencer-ags_mixer_input_line.obj: src/ags/X/machine/ags_mixer_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo -c -o gsequencer-ags_mixer_input_line.obj `if test -f 'src/ags/X/machine/ags_mixer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_line.c' object='gsequencer-ags_mixer_input_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_line.obj `if test -f 'src/ags/X/machine/ags_mixer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_line.c'; fi`
+
+gsequencer-ags_mixer_input_pad.o: src/ags/X/machine/ags_mixer_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo -c -o gsequencer-ags_mixer_input_pad.o `test -f 'src/ags/X/machine/ags_mixer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_pad.c' object='gsequencer-ags_mixer_input_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_pad.o `test -f 'src/ags/X/machine/ags_mixer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_pad.c
+
+gsequencer-ags_mixer_input_pad.obj: src/ags/X/machine/ags_mixer_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo -c -o gsequencer-ags_mixer_input_pad.obj `if test -f 'src/ags/X/machine/ags_mixer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_pad.c' object='gsequencer-ags_mixer_input_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_pad.obj `if test -f 'src/ags/X/machine/ags_mixer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_pad.c'; fi`
+
+gsequencer-ags_oscillator_callbacks.o: src/ags/X/machine/ags_oscillator_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo -c -o gsequencer-ags_oscillator_callbacks.o `test -f 'src/ags/X/machine/ags_oscillator_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_oscillator_callbacks.c' object='gsequencer-ags_oscillator_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator_callbacks.o `test -f 'src/ags/X/machine/ags_oscillator_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator_callbacks.c
+
+gsequencer-ags_oscillator_callbacks.obj: src/ags/X/machine/ags_oscillator_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo -c -o gsequencer-ags_oscillator_callbacks.obj `if test -f 'src/ags/X/machine/ags_oscillator_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_oscillator_callbacks.c' object='gsequencer-ags_oscillator_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator_callbacks.obj `if test -f 'src/ags/X/machine/ags_oscillator_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator_callbacks.c'; fi`
+
+gsequencer-ags_oscillator.o: src/ags/X/machine/ags_oscillator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator.Tpo -c -o gsequencer-ags_oscillator.o `test -f 'src/ags/X/machine/ags_oscillator.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator.Tpo $(DEPDIR)/gsequencer-ags_oscillator.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_oscillator.c' object='gsequencer-ags_oscillator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator.o `test -f 'src/ags/X/machine/ags_oscillator.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator.c
+
+gsequencer-ags_oscillator.obj: src/ags/X/machine/ags_oscillator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator.Tpo -c -o gsequencer-ags_oscillator.obj `if test -f 'src/ags/X/machine/ags_oscillator.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator.Tpo $(DEPDIR)/gsequencer-ags_oscillator.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_oscillator.c' object='gsequencer-ags_oscillator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator.obj `if test -f 'src/ags/X/machine/ags_oscillator.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator.c'; fi`
+
+gsequencer-ags_panel_callbacks.o: src/ags/X/machine/ags_panel_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo -c -o gsequencer-ags_panel_callbacks.o `test -f 'src/ags/X/machine/ags_panel_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo $(DEPDIR)/gsequencer-ags_panel_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel_callbacks.c' object='gsequencer-ags_panel_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_callbacks.o `test -f 'src/ags/X/machine/ags_panel_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_callbacks.c
+
+gsequencer-ags_panel_callbacks.obj: src/ags/X/machine/ags_panel_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo -c -o gsequencer-ags_panel_callbacks.obj `if test -f 'src/ags/X/machine/ags_panel_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo $(DEPDIR)/gsequencer-ags_panel_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel_callbacks.c' object='gsequencer-ags_panel_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_callbacks.obj `if test -f 'src/ags/X/machine/ags_panel_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_callbacks.c'; fi`
+
+gsequencer-ags_panel.o: src/ags/X/machine/ags_panel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel.Tpo -c -o gsequencer-ags_panel.o `test -f 'src/ags/X/machine/ags_panel.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel.Tpo $(DEPDIR)/gsequencer-ags_panel.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel.c' object='gsequencer-ags_panel.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel.o `test -f 'src/ags/X/machine/ags_panel.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel.c
+
+gsequencer-ags_panel.obj: src/ags/X/machine/ags_panel.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel.Tpo -c -o gsequencer-ags_panel.obj `if test -f 'src/ags/X/machine/ags_panel.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel.Tpo $(DEPDIR)/gsequencer-ags_panel.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel.c' object='gsequencer-ags_panel.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel.obj `if test -f 'src/ags/X/machine/ags_panel.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel.c'; fi`
+
+gsequencer-ags_panel_input_line.o: src/ags/X/machine/ags_panel_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo -c -o gsequencer-ags_panel_input_line.o `test -f 'src/ags/X/machine/ags_panel_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo $(DEPDIR)/gsequencer-ags_panel_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_line.c' object='gsequencer-ags_panel_input_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_line.o `test -f 'src/ags/X/machine/ags_panel_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_line.c
+
+gsequencer-ags_panel_input_line.obj: src/ags/X/machine/ags_panel_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo -c -o gsequencer-ags_panel_input_line.obj `if test -f 'src/ags/X/machine/ags_panel_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo $(DEPDIR)/gsequencer-ags_panel_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_line.c' object='gsequencer-ags_panel_input_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_line.obj `if test -f 'src/ags/X/machine/ags_panel_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_line.c'; fi`
+
+gsequencer-ags_panel_input_pad.o: src/ags/X/machine/ags_panel_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo -c -o gsequencer-ags_panel_input_pad.o `test -f 'src/ags/X/machine/ags_panel_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo $(DEPDIR)/gsequencer-ags_panel_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_pad.c' object='gsequencer-ags_panel_input_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_pad.o `test -f 'src/ags/X/machine/ags_panel_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_pad.c
+
+gsequencer-ags_panel_input_pad.obj: src/ags/X/machine/ags_panel_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo -c -o gsequencer-ags_panel_input_pad.obj `if test -f 'src/ags/X/machine/ags_panel_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo $(DEPDIR)/gsequencer-ags_panel_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_pad.c' object='gsequencer-ags_panel_input_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_pad.obj `if test -f 'src/ags/X/machine/ags_panel_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_pad.c'; fi`
+
+gsequencer-ags_synth_bridge_callbacks.o: src/ags/X/machine/ags_synth_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo -c -o gsequencer-ags_synth_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge_callbacks.c' object='gsequencer-ags_synth_bridge_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge_callbacks.c
+
+gsequencer-ags_synth_bridge_callbacks.obj: src/ags/X/machine/ags_synth_bridge_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo -c -o gsequencer-ags_synth_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge_callbacks.c' object='gsequencer-ags_synth_bridge_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge_callbacks.c'; fi`
+
+gsequencer-ags_synth_bridge.o: src/ags/X/machine/ags_synth_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo -c -o gsequencer-ags_synth_bridge.o `test -f 'src/ags/X/machine/ags_synth_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge.c' object='gsequencer-ags_synth_bridge.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge.o `test -f 'src/ags/X/machine/ags_synth_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge.c
+
+gsequencer-ags_synth_bridge.obj: src/ags/X/machine/ags_synth_bridge.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo -c -o gsequencer-ags_synth_bridge.obj `if test -f 'src/ags/X/machine/ags_synth_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge.c' object='gsequencer-ags_synth_bridge.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge.obj `if test -f 'src/ags/X/machine/ags_synth_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge.c'; fi`
+
+gsequencer-ags_synth_bulk_output_callbacks.o: src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo -c -o gsequencer-ags_synth_bulk_output_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output_callbacks.c' object='gsequencer-ags_synth_bulk_output_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+
+gsequencer-ags_synth_bulk_output_callbacks.obj: src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo -c -o gsequencer-ags_synth_bulk_output_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output_callbacks.c' object='gsequencer-ags_synth_bulk_output_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; fi`
+
+gsequencer-ags_synth_bulk_output.o: src/ags/X/machine/ags_synth_bulk_output.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo -c -o gsequencer-ags_synth_bulk_output.o `test -f 'src/ags/X/machine/ags_synth_bulk_output.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output.c' object='gsequencer-ags_synth_bulk_output.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output.o `test -f 'src/ags/X/machine/ags_synth_bulk_output.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output.c
+
+gsequencer-ags_synth_bulk_output.obj: src/ags/X/machine/ags_synth_bulk_output.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo -c -o gsequencer-ags_synth_bulk_output.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output.c' object='gsequencer-ags_synth_bulk_output.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output.c'; fi`
+
+gsequencer-ags_synth_callbacks.o: src/ags/X/machine/ags_synth_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo -c -o gsequencer-ags_synth_callbacks.o `test -f 'src/ags/X/machine/ags_synth_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_callbacks.c' object='gsequencer-ags_synth_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_callbacks.o `test -f 'src/ags/X/machine/ags_synth_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_callbacks.c
+
+gsequencer-ags_synth_callbacks.obj: src/ags/X/machine/ags_synth_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo -c -o gsequencer-ags_synth_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_callbacks.c' object='gsequencer-ags_synth_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_callbacks.c'; fi`
+
+gsequencer-ags_synth.o: src/ags/X/machine/ags_synth.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth.Tpo -c -o gsequencer-ags_synth.o `test -f 'src/ags/X/machine/ags_synth.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth.Tpo $(DEPDIR)/gsequencer-ags_synth.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth.c' object='gsequencer-ags_synth.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth.o `test -f 'src/ags/X/machine/ags_synth.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth.c
+
+gsequencer-ags_synth.obj: src/ags/X/machine/ags_synth.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth.Tpo -c -o gsequencer-ags_synth.obj `if test -f 'src/ags/X/machine/ags_synth.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth.Tpo $(DEPDIR)/gsequencer-ags_synth.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth.c' object='gsequencer-ags_synth.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth.obj `if test -f 'src/ags/X/machine/ags_synth.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth.c'; fi`
+
+gsequencer-ags_synth_input_line.o: src/ags/X/machine/ags_synth_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo -c -o gsequencer-ags_synth_input_line.o `test -f 'src/ags/X/machine/ags_synth_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo $(DEPDIR)/gsequencer-ags_synth_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_line.c' object='gsequencer-ags_synth_input_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_line.o `test -f 'src/ags/X/machine/ags_synth_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_line.c
+
+gsequencer-ags_synth_input_line.obj: src/ags/X/machine/ags_synth_input_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo -c -o gsequencer-ags_synth_input_line.obj `if test -f 'src/ags/X/machine/ags_synth_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo $(DEPDIR)/gsequencer-ags_synth_input_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_line.c' object='gsequencer-ags_synth_input_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_line.obj `if test -f 'src/ags/X/machine/ags_synth_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_line.c'; fi`
+
+gsequencer-ags_synth_input_pad.o: src/ags/X/machine/ags_synth_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo -c -o gsequencer-ags_synth_input_pad.o `test -f 'src/ags/X/machine/ags_synth_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_pad.c' object='gsequencer-ags_synth_input_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_pad.o `test -f 'src/ags/X/machine/ags_synth_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_pad.c
+
+gsequencer-ags_synth_input_pad.obj: src/ags/X/machine/ags_synth_input_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo -c -o gsequencer-ags_synth_input_pad.obj `if test -f 'src/ags/X/machine/ags_synth_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_input_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_pad.c' object='gsequencer-ags_synth_input_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_pad.obj `if test -f 'src/ags/X/machine/ags_synth_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_pad.c'; fi`
+
+gsequencer-ags_synth_output_line_callbacks.o: src/ags/X/machine/ags_synth_output_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo -c -o gsequencer-ags_synth_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line_callbacks.c' object='gsequencer-ags_synth_output_line_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line_callbacks.c
+
+gsequencer-ags_synth_output_line_callbacks.obj: src/ags/X/machine/ags_synth_output_line_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo -c -o gsequencer-ags_synth_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line_callbacks.c' object='gsequencer-ags_synth_output_line_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line_callbacks.c'; fi`
+
+gsequencer-ags_synth_output_line.o: src/ags/X/machine/ags_synth_output_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo -c -o gsequencer-ags_synth_output_line.o `test -f 'src/ags/X/machine/ags_synth_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line.c' object='gsequencer-ags_synth_output_line.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line.o `test -f 'src/ags/X/machine/ags_synth_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line.c
+
+gsequencer-ags_synth_output_line.obj: src/ags/X/machine/ags_synth_output_line.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo -c -o gsequencer-ags_synth_output_line.obj `if test -f 'src/ags/X/machine/ags_synth_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line.c' object='gsequencer-ags_synth_output_line.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line.obj `if test -f 'src/ags/X/machine/ags_synth_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line.c'; fi`
+
+gsequencer-ags_synth_output_pad_callbacks.o: src/ags/X/machine/ags_synth_output_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo -c -o gsequencer-ags_synth_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad_callbacks.c' object='gsequencer-ags_synth_output_pad_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad_callbacks.c
+
+gsequencer-ags_synth_output_pad_callbacks.obj: src/ags/X/machine/ags_synth_output_pad_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo -c -o gsequencer-ags_synth_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad_callbacks.c' object='gsequencer-ags_synth_output_pad_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad_callbacks.c'; fi`
+
+gsequencer-ags_synth_output_pad.o: src/ags/X/machine/ags_synth_output_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo -c -o gsequencer-ags_synth_output_pad.o `test -f 'src/ags/X/machine/ags_synth_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad.c' object='gsequencer-ags_synth_output_pad.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad.o `test -f 'src/ags/X/machine/ags_synth_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad.c
+
+gsequencer-ags_synth_output_pad.obj: src/ags/X/machine/ags_synth_output_pad.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo -c -o gsequencer-ags_synth_output_pad.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad.Po
+# $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad.c' object='gsequencer-ags_synth_output_pad.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad.c'; fi`
+
+gsequencer-ags_automation_area_callbacks.o: src/ags/X/editor/ags_automation_area_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo -c -o gsequencer-ags_automation_area_callbacks.o `test -f 'src/ags/X/editor/ags_automation_area_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_area_callbacks.c' object='gsequencer-ags_automation_area_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area_callbacks.o `test -f 'src/ags/X/editor/ags_automation_area_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area_callbacks.c
+
+gsequencer-ags_automation_area_callbacks.obj: src/ags/X/editor/ags_automation_area_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo -c -o gsequencer-ags_automation_area_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_area_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_area_callbacks.c' object='gsequencer-ags_automation_area_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_area_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area_callbacks.c'; fi`
+
+gsequencer-ags_automation_area.o: src/ags/X/editor/ags_automation_area.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area.Tpo -c -o gsequencer-ags_automation_area.o `test -f 'src/ags/X/editor/ags_automation_area.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area.Tpo $(DEPDIR)/gsequencer-ags_automation_area.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_area.c' object='gsequencer-ags_automation_area.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area.o `test -f 'src/ags/X/editor/ags_automation_area.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area.c
+
+gsequencer-ags_automation_area.obj: src/ags/X/editor/ags_automation_area.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area.Tpo -c -o gsequencer-ags_automation_area.obj `if test -f 'src/ags/X/editor/ags_automation_area.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area.Tpo $(DEPDIR)/gsequencer-ags_automation_area.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_area.c' object='gsequencer-ags_automation_area.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area.obj `if test -f 'src/ags/X/editor/ags_automation_area.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area.c'; fi`
+
+gsequencer-ags_automation_edit_callbacks.o: src/ags/X/editor/ags_automation_edit_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo -c -o gsequencer-ags_automation_edit_callbacks.o `test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit_callbacks.c' object='gsequencer-ags_automation_edit_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit_callbacks.o `test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit_callbacks.c
+
+gsequencer-ags_automation_edit_callbacks.obj: src/ags/X/editor/ags_automation_edit_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo -c -o gsequencer-ags_automation_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit_callbacks.c' object='gsequencer-ags_automation_edit_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit_callbacks.c'; fi`
+
+gsequencer-ags_automation_edit.o: src/ags/X/editor/ags_automation_edit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit.Tpo -c -o gsequencer-ags_automation_edit.o `test -f 'src/ags/X/editor/ags_automation_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit.Tpo $(DEPDIR)/gsequencer-ags_automation_edit.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit.c' object='gsequencer-ags_automation_edit.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit.o `test -f 'src/ags/X/editor/ags_automation_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit.c
+
+gsequencer-ags_automation_edit.obj: src/ags/X/editor/ags_automation_edit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit.Tpo -c -o gsequencer-ags_automation_edit.obj `if test -f 'src/ags/X/editor/ags_automation_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit.Tpo $(DEPDIR)/gsequencer-ags_automation_edit.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit.c' object='gsequencer-ags_automation_edit.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit.obj `if test -f 'src/ags/X/editor/ags_automation_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit.c'; fi`
+
+gsequencer-ags_automation_toolbar_callbacks.o: src/ags/X/editor/ags_automation_toolbar_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo -c -o gsequencer-ags_automation_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar_callbacks.c' object='gsequencer-ags_automation_toolbar_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar_callbacks.c
+
+gsequencer-ags_automation_toolbar_callbacks.obj: src/ags/X/editor/ags_automation_toolbar_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo -c -o gsequencer-ags_automation_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar_callbacks.c' object='gsequencer-ags_automation_toolbar_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar_callbacks.c'; fi`
+
+gsequencer-ags_automation_toolbar.o: src/ags/X/editor/ags_automation_toolbar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo -c -o gsequencer-ags_automation_toolbar.o `test -f 'src/ags/X/editor/ags_automation_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar.c' object='gsequencer-ags_automation_toolbar.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar.o `test -f 'src/ags/X/editor/ags_automation_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar.c
+
+gsequencer-ags_automation_toolbar.obj: src/ags/X/editor/ags_automation_toolbar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo -c -o gsequencer-ags_automation_toolbar.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar.c' object='gsequencer-ags_automation_toolbar.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar.c'; fi`
+
+gsequencer-ags_file_selection_callbacks.o: src/ags/X/editor/ags_file_selection_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo -c -o gsequencer-ags_file_selection_callbacks.o `test -f 'src/ags/X/editor/ags_file_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_file_selection_callbacks.c' object='gsequencer-ags_file_selection_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection_callbacks.o `test -f 'src/ags/X/editor/ags_file_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection_callbacks.c
+
+gsequencer-ags_file_selection_callbacks.obj: src/ags/X/editor/ags_file_selection_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo -c -o gsequencer-ags_file_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_file_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_file_selection_callbacks.c' object='gsequencer-ags_file_selection_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_file_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection_callbacks.c'; fi`
+
+gsequencer-ags_file_selection.o: src/ags/X/editor/ags_file_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection.Tpo -c -o gsequencer-ags_file_selection.o `test -f 'src/ags/X/editor/ags_file_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection.Tpo $(DEPDIR)/gsequencer-ags_file_selection.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_file_selection.c' object='gsequencer-ags_file_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection.o `test -f 'src/ags/X/editor/ags_file_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection.c
+
+gsequencer-ags_file_selection.obj: src/ags/X/editor/ags_file_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection.Tpo -c -o gsequencer-ags_file_selection.obj `if test -f 'src/ags/X/editor/ags_file_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection.Tpo $(DEPDIR)/gsequencer-ags_file_selection.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_file_selection.c' object='gsequencer-ags_file_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection.obj `if test -f 'src/ags/X/editor/ags_file_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection.c'; fi`
+
+gsequencer-ags_inline_player_callbacks.o: src/ags/X/editor/ags_inline_player_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo -c -o gsequencer-ags_inline_player_callbacks.o `test -f 'src/ags/X/editor/ags_inline_player_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_inline_player_callbacks.c' object='gsequencer-ags_inline_player_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player_callbacks.o `test -f 'src/ags/X/editor/ags_inline_player_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player_callbacks.c
+
+gsequencer-ags_inline_player_callbacks.obj: src/ags/X/editor/ags_inline_player_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo -c -o gsequencer-ags_inline_player_callbacks.obj `if test -f 'src/ags/X/editor/ags_inline_player_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_inline_player_callbacks.c' object='gsequencer-ags_inline_player_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player_callbacks.obj `if test -f 'src/ags/X/editor/ags_inline_player_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player_callbacks.c'; fi`
+
+gsequencer-ags_inline_player.o: src/ags/X/editor/ags_inline_player.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player.Tpo -c -o gsequencer-ags_inline_player.o `test -f 'src/ags/X/editor/ags_inline_player.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player.Tpo $(DEPDIR)/gsequencer-ags_inline_player.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_inline_player.c' object='gsequencer-ags_inline_player.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player.o `test -f 'src/ags/X/editor/ags_inline_player.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player.c
+
+gsequencer-ags_inline_player.obj: src/ags/X/editor/ags_inline_player.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player.Tpo -c -o gsequencer-ags_inline_player.obj `if test -f 'src/ags/X/editor/ags_inline_player.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player.Tpo $(DEPDIR)/gsequencer-ags_inline_player.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_inline_player.c' object='gsequencer-ags_inline_player.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player.obj `if test -f 'src/ags/X/editor/ags_inline_player.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player.c'; fi`
+
+gsequencer-ags_machine_radio_button.o: src/ags/X/editor/ags_machine_radio_button.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_radio_button.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo -c -o gsequencer-ags_machine_radio_button.o `test -f 'src/ags/X/editor/ags_machine_radio_button.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_radio_button.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo $(DEPDIR)/gsequencer-ags_machine_radio_button.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_radio_button.c' object='gsequencer-ags_machine_radio_button.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_radio_button.o `test -f 'src/ags/X/editor/ags_machine_radio_button.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_radio_button.c
+
+gsequencer-ags_machine_radio_button.obj: src/ags/X/editor/ags_machine_radio_button.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_radio_button.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo -c -o gsequencer-ags_machine_radio_button.obj `if test -f 'src/ags/X/editor/ags_machine_radio_button.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_radio_button.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_radio_button.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo $(DEPDIR)/gsequencer-ags_machine_radio_button.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_radio_button.c' object='gsequencer-ags_machine_radio_button.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_radio_button.obj `if test -f 'src/ags/X/editor/ags_machine_radio_button.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_radio_button.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_radio_button.c'; fi`
+
+gsequencer-ags_machine_selection.o: src/ags/X/editor/ags_machine_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selection.Tpo -c -o gsequencer-ags_machine_selection.o `test -f 'src/ags/X/editor/ags_machine_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selection.Tpo $(DEPDIR)/gsequencer-ags_machine_selection.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_selection.c' object='gsequencer-ags_machine_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selection.o `test -f 'src/ags/X/editor/ags_machine_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selection.c
+
+gsequencer-ags_machine_selection.obj: src/ags/X/editor/ags_machine_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selection.Tpo -c -o gsequencer-ags_machine_selection.obj `if test -f 'src/ags/X/editor/ags_machine_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selection.Tpo $(DEPDIR)/gsequencer-ags_machine_selection.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_selection.c' object='gsequencer-ags_machine_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selection.obj `if test -f 'src/ags/X/editor/ags_machine_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selection.c'; fi`
+
+gsequencer-ags_machine_selector_callbacks.o: src/ags/X/editor/ags_machine_selector_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo -c -o gsequencer-ags_machine_selector_callbacks.o `test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector_callbacks.c' object='gsequencer-ags_machine_selector_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector_callbacks.o `test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector_callbacks.c
+
+gsequencer-ags_machine_selector_callbacks.obj: src/ags/X/editor/ags_machine_selector_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo -c -o gsequencer-ags_machine_selector_callbacks.obj `if test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector_callbacks.c' object='gsequencer-ags_machine_selector_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector_callbacks.obj `if test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector_callbacks.c'; fi`
+
+gsequencer-ags_machine_selector.o: src/ags/X/editor/ags_machine_selector.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector.Tpo -c -o gsequencer-ags_machine_selector.o `test -f 'src/ags/X/editor/ags_machine_selector.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector.Tpo $(DEPDIR)/gsequencer-ags_machine_selector.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector.c' object='gsequencer-ags_machine_selector.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector.o `test -f 'src/ags/X/editor/ags_machine_selector.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector.c
+
+gsequencer-ags_machine_selector.obj: src/ags/X/editor/ags_machine_selector.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector.Tpo -c -o gsequencer-ags_machine_selector.obj `if test -f 'src/ags/X/editor/ags_machine_selector.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector.Tpo $(DEPDIR)/gsequencer-ags_machine_selector.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector.c' object='gsequencer-ags_machine_selector.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector.obj `if test -f 'src/ags/X/editor/ags_machine_selector.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector.c'; fi`
+
+gsequencer-ags_meter_callbacks.o: src/ags/X/editor/ags_meter_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo -c -o gsequencer-ags_meter_callbacks.o `test -f 'src/ags/X/editor/ags_meter_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo $(DEPDIR)/gsequencer-ags_meter_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_meter_callbacks.c' object='gsequencer-ags_meter_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter_callbacks.o `test -f 'src/ags/X/editor/ags_meter_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter_callbacks.c
+
+gsequencer-ags_meter_callbacks.obj: src/ags/X/editor/ags_meter_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo -c -o gsequencer-ags_meter_callbacks.obj `if test -f 'src/ags/X/editor/ags_meter_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo $(DEPDIR)/gsequencer-ags_meter_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_meter_callbacks.c' object='gsequencer-ags_meter_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter_callbacks.obj `if test -f 'src/ags/X/editor/ags_meter_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter_callbacks.c'; fi`
+
+gsequencer-ags_meter.o: src/ags/X/editor/ags_meter.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter.Tpo -c -o gsequencer-ags_meter.o `test -f 'src/ags/X/editor/ags_meter.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter.Tpo $(DEPDIR)/gsequencer-ags_meter.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_meter.c' object='gsequencer-ags_meter.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter.o `test -f 'src/ags/X/editor/ags_meter.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter.c
+
+gsequencer-ags_meter.obj: src/ags/X/editor/ags_meter.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter.Tpo -c -o gsequencer-ags_meter.obj `if test -f 'src/ags/X/editor/ags_meter.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter.Tpo $(DEPDIR)/gsequencer-ags_meter.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_meter.c' object='gsequencer-ags_meter.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter.obj `if test -f 'src/ags/X/editor/ags_meter.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter.c'; fi`
+
+gsequencer-ags_notebook_callbacks.o: src/ags/X/editor/ags_notebook_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo -c -o gsequencer-ags_notebook_callbacks.o `test -f 'src/ags/X/editor/ags_notebook_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo $(DEPDIR)/gsequencer-ags_notebook_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_notebook_callbacks.c' object='gsequencer-ags_notebook_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook_callbacks.o `test -f 'src/ags/X/editor/ags_notebook_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook_callbacks.c
+
+gsequencer-ags_notebook_callbacks.obj: src/ags/X/editor/ags_notebook_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo -c -o gsequencer-ags_notebook_callbacks.obj `if test -f 'src/ags/X/editor/ags_notebook_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo $(DEPDIR)/gsequencer-ags_notebook_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_notebook_callbacks.c' object='gsequencer-ags_notebook_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook_callbacks.obj `if test -f 'src/ags/X/editor/ags_notebook_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook_callbacks.c'; fi`
+
+gsequencer-ags_notebook.o: src/ags/X/editor/ags_notebook.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook.Tpo -c -o gsequencer-ags_notebook.o `test -f 'src/ags/X/editor/ags_notebook.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook.Tpo $(DEPDIR)/gsequencer-ags_notebook.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_notebook.c' object='gsequencer-ags_notebook.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook.o `test -f 'src/ags/X/editor/ags_notebook.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook.c
+
+gsequencer-ags_notebook.obj: src/ags/X/editor/ags_notebook.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook.Tpo -c -o gsequencer-ags_notebook.obj `if test -f 'src/ags/X/editor/ags_notebook.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook.Tpo $(DEPDIR)/gsequencer-ags_notebook.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_notebook.c' object='gsequencer-ags_notebook.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook.obj `if test -f 'src/ags/X/editor/ags_notebook.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook.c'; fi`
+
+gsequencer-ags_note_edit_callbacks.o: src/ags/X/editor/ags_note_edit_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo -c -o gsequencer-ags_note_edit_callbacks.o `test -f 'src/ags/X/editor/ags_note_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_note_edit_callbacks.c' object='gsequencer-ags_note_edit_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit_callbacks.o `test -f 'src/ags/X/editor/ags_note_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit_callbacks.c
+
+gsequencer-ags_note_edit_callbacks.obj: src/ags/X/editor/ags_note_edit_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo -c -o gsequencer-ags_note_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_note_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_note_edit_callbacks.c' object='gsequencer-ags_note_edit_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_note_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit_callbacks.c'; fi`
+
+gsequencer-ags_note_edit.o: src/ags/X/editor/ags_note_edit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit.Tpo -c -o gsequencer-ags_note_edit.o `test -f 'src/ags/X/editor/ags_note_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit.Tpo $(DEPDIR)/gsequencer-ags_note_edit.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_note_edit.c' object='gsequencer-ags_note_edit.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit.o `test -f 'src/ags/X/editor/ags_note_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit.c
+
+gsequencer-ags_note_edit.obj: src/ags/X/editor/ags_note_edit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit.Tpo -c -o gsequencer-ags_note_edit.obj `if test -f 'src/ags/X/editor/ags_note_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit.Tpo $(DEPDIR)/gsequencer-ags_note_edit.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_note_edit.c' object='gsequencer-ags_note_edit.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit.obj `if test -f 'src/ags/X/editor/ags_note_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit.c'; fi`
+
+gsequencer-ags_pattern_edit_callbacks.o: src/ags/X/editor/ags_pattern_edit_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo -c -o gsequencer-ags_pattern_edit_callbacks.o `test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit_callbacks.c' object='gsequencer-ags_pattern_edit_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit_callbacks.o `test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit_callbacks.c
+
+gsequencer-ags_pattern_edit_callbacks.obj: src/ags/X/editor/ags_pattern_edit_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo -c -o gsequencer-ags_pattern_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit_callbacks.c' object='gsequencer-ags_pattern_edit_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit_callbacks.c'; fi`
+
+gsequencer-ags_pattern_edit.o: src/ags/X/editor/ags_pattern_edit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo -c -o gsequencer-ags_pattern_edit.o `test -f 'src/ags/X/editor/ags_pattern_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit.c' object='gsequencer-ags_pattern_edit.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit.o `test -f 'src/ags/X/editor/ags_pattern_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit.c
+
+gsequencer-ags_pattern_edit.obj: src/ags/X/editor/ags_pattern_edit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo -c -o gsequencer-ags_pattern_edit.obj `if test -f 'src/ags/X/editor/ags_pattern_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit.c' object='gsequencer-ags_pattern_edit.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit.obj `if test -f 'src/ags/X/editor/ags_pattern_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit.c'; fi`
+
+gsequencer-ags_port_selection_callbacks.o: src/ags/X/editor/ags_port_selection_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo -c -o gsequencer-ags_port_selection_callbacks.o `test -f 'src/ags/X/editor/ags_port_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_port_selection_callbacks.c' object='gsequencer-ags_port_selection_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection_callbacks.o `test -f 'src/ags/X/editor/ags_port_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection_callbacks.c
+
+gsequencer-ags_port_selection_callbacks.obj: src/ags/X/editor/ags_port_selection_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo -c -o gsequencer-ags_port_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_port_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_port_selection_callbacks.c' object='gsequencer-ags_port_selection_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_port_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection_callbacks.c'; fi`
+
+gsequencer-ags_port_selection.o: src/ags/X/editor/ags_port_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection.Tpo -c -o gsequencer-ags_port_selection.o `test -f 'src/ags/X/editor/ags_port_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection.Tpo $(DEPDIR)/gsequencer-ags_port_selection.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_port_selection.c' object='gsequencer-ags_port_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection.o `test -f 'src/ags/X/editor/ags_port_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection.c
+
+gsequencer-ags_port_selection.obj: src/ags/X/editor/ags_port_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection.Tpo -c -o gsequencer-ags_port_selection.obj `if test -f 'src/ags/X/editor/ags_port_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection.Tpo $(DEPDIR)/gsequencer-ags_port_selection.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_port_selection.c' object='gsequencer-ags_port_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection.obj `if test -f 'src/ags/X/editor/ags_port_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection.c'; fi`
+
+gsequencer-ags_sf2_chooser_callbacks.o: src/ags/X/editor/ags_sf2_chooser_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo -c -o gsequencer-ags_sf2_chooser_callbacks.o `test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser_callbacks.c' object='gsequencer-ags_sf2_chooser_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser_callbacks.o `test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser_callbacks.c
+
+gsequencer-ags_sf2_chooser_callbacks.obj: src/ags/X/editor/ags_sf2_chooser_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo -c -o gsequencer-ags_sf2_chooser_callbacks.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser_callbacks.c' object='gsequencer-ags_sf2_chooser_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser_callbacks.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser_callbacks.c'; fi`
+
+gsequencer-ags_sf2_chooser.o: src/ags/X/editor/ags_sf2_chooser.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo -c -o gsequencer-ags_sf2_chooser.o `test -f 'src/ags/X/editor/ags_sf2_chooser.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser.c' object='gsequencer-ags_sf2_chooser.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser.o `test -f 'src/ags/X/editor/ags_sf2_chooser.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser.c
+
+gsequencer-ags_sf2_chooser.obj: src/ags/X/editor/ags_sf2_chooser.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo -c -o gsequencer-ags_sf2_chooser.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser.c' object='gsequencer-ags_sf2_chooser.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser.c'; fi`
+
+gsequencer-ags_soundset_callbacks.o: src/ags/X/editor/ags_soundset_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo -c -o gsequencer-ags_soundset_callbacks.o `test -f 'src/ags/X/editor/ags_soundset_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo $(DEPDIR)/gsequencer-ags_soundset_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_soundset_callbacks.c' object='gsequencer-ags_soundset_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset_callbacks.o `test -f 'src/ags/X/editor/ags_soundset_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset_callbacks.c
+
+gsequencer-ags_soundset_callbacks.obj: src/ags/X/editor/ags_soundset_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo -c -o gsequencer-ags_soundset_callbacks.obj `if test -f 'src/ags/X/editor/ags_soundset_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo $(DEPDIR)/gsequencer-ags_soundset_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_soundset_callbacks.c' object='gsequencer-ags_soundset_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset_callbacks.obj `if test -f 'src/ags/X/editor/ags_soundset_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset_callbacks.c'; fi`
+
+gsequencer-ags_soundset.o: src/ags/X/editor/ags_soundset.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset.Tpo -c -o gsequencer-ags_soundset.o `test -f 'src/ags/X/editor/ags_soundset.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset.Tpo $(DEPDIR)/gsequencer-ags_soundset.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_soundset.c' object='gsequencer-ags_soundset.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset.o `test -f 'src/ags/X/editor/ags_soundset.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset.c
+
+gsequencer-ags_soundset.obj: src/ags/X/editor/ags_soundset.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset.Tpo -c -o gsequencer-ags_soundset.obj `if test -f 'src/ags/X/editor/ags_soundset.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset.Tpo $(DEPDIR)/gsequencer-ags_soundset.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_soundset.c' object='gsequencer-ags_soundset.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset.obj `if test -f 'src/ags/X/editor/ags_soundset.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset.c'; fi`
+
+gsequencer-ags_toolbar_callbacks.o: src/ags/X/editor/ags_toolbar_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo -c -o gsequencer-ags_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar_callbacks.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_toolbar_callbacks.c' object='gsequencer-ags_toolbar_callbacks.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar_callbacks.c
+
+gsequencer-ags_toolbar_callbacks.obj: src/ags/X/editor/ags_toolbar_callbacks.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo -c -o gsequencer-ags_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar_callbacks.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_toolbar_callbacks.c' object='gsequencer-ags_toolbar_callbacks.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar_callbacks.c'; fi`
+
+gsequencer-ags_toolbar.o: src/ags/X/editor/ags_toolbar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar.Tpo -c -o gsequencer-ags_toolbar.o `test -f 'src/ags/X/editor/ags_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar.Tpo $(DEPDIR)/gsequencer-ags_toolbar.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_toolbar.c' object='gsequencer-ags_toolbar.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar.o `test -f 'src/ags/X/editor/ags_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar.c
+
+gsequencer-ags_toolbar.obj: src/ags/X/editor/ags_toolbar.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar.Tpo -c -o gsequencer-ags_toolbar.obj `if test -f 'src/ags/X/editor/ags_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar.Tpo $(DEPDIR)/gsequencer-ags_toolbar.Po
+# $(AM_V_CC)source='src/ags/X/editor/ags_toolbar.c' object='gsequencer-ags_toolbar.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar.obj `if test -f 'src/ags/X/editor/ags_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar.c'; fi`
+
+gsequencer-ags_add_line_member.o: src/ags/audio/task/ags_add_line_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_line_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_line_member.Tpo -c -o gsequencer-ags_add_line_member.o `test -f 'src/ags/audio/task/ags_add_line_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_line_member.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_line_member.Tpo $(DEPDIR)/gsequencer-ags_add_line_member.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_line_member.c' object='gsequencer-ags_add_line_member.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_line_member.o `test -f 'src/ags/audio/task/ags_add_line_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_line_member.c
+
+gsequencer-ags_add_line_member.obj: src/ags/audio/task/ags_add_line_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_line_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_line_member.Tpo -c -o gsequencer-ags_add_line_member.obj `if test -f 'src/ags/audio/task/ags_add_line_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_line_member.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_line_member.Tpo $(DEPDIR)/gsequencer-ags_add_line_member.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_line_member.c' object='gsequencer-ags_add_line_member.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_line_member.obj `if test -f 'src/ags/audio/task/ags_add_line_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_line_member.c'; fi`
+
+gsequencer-ags_add_bulk_member.o: src/ags/audio/task/ags_add_bulk_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_bulk_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo -c -o gsequencer-ags_add_bulk_member.o `test -f 'src/ags/audio/task/ags_add_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_bulk_member.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_add_bulk_member.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_bulk_member.c' object='gsequencer-ags_add_bulk_member.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_bulk_member.o `test -f 'src/ags/audio/task/ags_add_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_bulk_member.c
+
+gsequencer-ags_add_bulk_member.obj: src/ags/audio/task/ags_add_bulk_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_bulk_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo -c -o gsequencer-ags_add_bulk_member.obj `if test -f 'src/ags/audio/task/ags_add_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_bulk_member.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_add_bulk_member.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_bulk_member.c' object='gsequencer-ags_add_bulk_member.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_bulk_member.obj `if test -f 'src/ags/audio/task/ags_add_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_bulk_member.c'; fi`
+
+gsequencer-ags_update_bulk_member.o: src/ags/audio/task/ags_update_bulk_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_update_bulk_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo -c -o gsequencer-ags_update_bulk_member.o `test -f 'src/ags/audio/task/ags_update_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_update_bulk_member.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_update_bulk_member.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_update_bulk_member.c' object='gsequencer-ags_update_bulk_member.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_update_bulk_member.o `test -f 'src/ags/audio/task/ags_update_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_update_bulk_member.c
+
+gsequencer-ags_update_bulk_member.obj: src/ags/audio/task/ags_update_bulk_member.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_update_bulk_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo -c -o gsequencer-ags_update_bulk_member.obj `if test -f 'src/ags/audio/task/ags_update_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_update_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_update_bulk_member.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_update_bulk_member.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_update_bulk_member.c' object='gsequencer-ags_update_bulk_member.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_update_bulk_member.obj `if test -f 'src/ags/audio/task/ags_update_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_update_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_update_bulk_member.c'; fi`
+
+gsequencer-ags_add_point_to_selection.o: src/ags/audio/task/ags_add_point_to_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_point_to_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo -c -o gsequencer-ags_add_point_to_selection.o `test -f 'src/ags/audio/task/ags_add_point_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_point_to_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_point_to_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_point_to_selection.c' object='gsequencer-ags_add_point_to_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_point_to_selection.o `test -f 'src/ags/audio/task/ags_add_point_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_point_to_selection.c
+
+gsequencer-ags_add_point_to_selection.obj: src/ags/audio/task/ags_add_point_to_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_point_to_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo -c -o gsequencer-ags_add_point_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_point_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_point_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_point_to_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_point_to_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_point_to_selection.c' object='gsequencer-ags_add_point_to_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_point_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_point_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_point_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_point_to_selection.c'; fi`
+
+gsequencer-ags_add_region_to_selection.o: src/ags/audio/task/ags_add_region_to_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_region_to_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo -c -o gsequencer-ags_add_region_to_selection.o `test -f 'src/ags/audio/task/ags_add_region_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_region_to_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_region_to_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_region_to_selection.c' object='gsequencer-ags_add_region_to_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_region_to_selection.o `test -f 'src/ags/audio/task/ags_add_region_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_region_to_selection.c
+
+gsequencer-ags_add_region_to_selection.obj: src/ags/audio/task/ags_add_region_to_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_region_to_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo -c -o gsequencer-ags_add_region_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_region_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_region_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_region_to_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_region_to_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_add_region_to_selection.c' object='gsequencer-ags_add_region_to_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_region_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_region_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_region_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_region_to_selection.c'; fi`
+
+gsequencer-ags_change_indicator.o: src/ags/audio/task/ags_change_indicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_indicator.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_indicator.Tpo -c -o gsequencer-ags_change_indicator.o `test -f 'src/ags/audio/task/ags_change_indicator.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_indicator.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_indicator.Tpo $(DEPDIR)/gsequencer-ags_change_indicator.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_change_indicator.c' object='gsequencer-ags_change_indicator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_indicator.o `test -f 'src/ags/audio/task/ags_change_indicator.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_indicator.c
+
+gsequencer-ags_change_indicator.obj: src/ags/audio/task/ags_change_indicator.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_indicator.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_indicator.Tpo -c -o gsequencer-ags_change_indicator.obj `if test -f 'src/ags/audio/task/ags_change_indicator.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_indicator.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_indicator.Tpo $(DEPDIR)/gsequencer-ags_change_indicator.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_change_indicator.c' object='gsequencer-ags_change_indicator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_indicator.obj `if test -f 'src/ags/audio/task/ags_change_indicator.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_indicator.c'; fi`
+
+gsequencer-ags_change_tact.o: src/ags/audio/task/ags_change_tact.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_tact.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_tact.Tpo -c -o gsequencer-ags_change_tact.o `test -f 'src/ags/audio/task/ags_change_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_tact.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_tact.Tpo $(DEPDIR)/gsequencer-ags_change_tact.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_change_tact.c' object='gsequencer-ags_change_tact.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_tact.o `test -f 'src/ags/audio/task/ags_change_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_tact.c
+
+gsequencer-ags_change_tact.obj: src/ags/audio/task/ags_change_tact.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_tact.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_tact.Tpo -c -o gsequencer-ags_change_tact.obj `if test -f 'src/ags/audio/task/ags_change_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_tact.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_tact.Tpo $(DEPDIR)/gsequencer-ags_change_tact.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_change_tact.c' object='gsequencer-ags_change_tact.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_tact.obj `if test -f 'src/ags/audio/task/ags_change_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_tact.c'; fi`
+
+gsequencer-ags_display_tact.o: src/ags/audio/task/ags_display_tact.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_display_tact.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_display_tact.Tpo -c -o gsequencer-ags_display_tact.o `test -f 'src/ags/audio/task/ags_display_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_display_tact.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_display_tact.Tpo $(DEPDIR)/gsequencer-ags_display_tact.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_display_tact.c' object='gsequencer-ags_display_tact.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_display_tact.o `test -f 'src/ags/audio/task/ags_display_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_display_tact.c
+
+gsequencer-ags_display_tact.obj: src/ags/audio/task/ags_display_tact.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_display_tact.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_display_tact.Tpo -c -o gsequencer-ags_display_tact.obj `if test -f 'src/ags/audio/task/ags_display_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_display_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_display_tact.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_display_tact.Tpo $(DEPDIR)/gsequencer-ags_display_tact.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_display_tact.c' object='gsequencer-ags_display_tact.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_display_tact.obj `if test -f 'src/ags/audio/task/ags_display_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_display_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_display_tact.c'; fi`
+
+gsequencer-ags_free_selection.o: src/ags/audio/task/ags_free_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_free_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_free_selection.Tpo -c -o gsequencer-ags_free_selection.o `test -f 'src/ags/audio/task/ags_free_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_free_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_free_selection.Tpo $(DEPDIR)/gsequencer-ags_free_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_free_selection.c' object='gsequencer-ags_free_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_free_selection.o `test -f 'src/ags/audio/task/ags_free_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_free_selection.c
+
+gsequencer-ags_free_selection.obj: src/ags/audio/task/ags_free_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_free_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_free_selection.Tpo -c -o gsequencer-ags_free_selection.obj `if test -f 'src/ags/audio/task/ags_free_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_free_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_free_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_free_selection.Tpo $(DEPDIR)/gsequencer-ags_free_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_free_selection.c' object='gsequencer-ags_free_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_free_selection.obj `if test -f 'src/ags/audio/task/ags_free_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_free_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_free_selection.c'; fi`
+
+gsequencer-ags_remove_point_from_selection.o: src/ags/audio/task/ags_remove_point_from_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remove_point_from_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo -c -o gsequencer-ags_remove_point_from_selection.o `test -f 'src/ags/audio/task/ags_remove_point_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_point_from_selection.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_point_from_selection.c' object='gsequencer-ags_remove_point_from_selection.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remove_point_from_selection.o `test -f 'src/ags/audio/task/ags_remove_point_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_point_from_selection.c
+
+gsequencer-ags_remove_point_from_selection.obj: src/ags/audio/task/ags_remove_point_from_selection.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remove_point_from_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo -c -o gsequencer-ags_remove_point_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_point_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_point_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_point_from_selection.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_remove_point_from_selection.c' object='gsequencer-ags_remove_point_from_selection.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remove_point_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_point_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_point_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_point_from_selection.c'; fi`
+
+gsequencer-ags_save_file.o: src/ags/audio/task/ags_save_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_save_file.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_save_file.Tpo -c -o gsequencer-ags_save_file.o `test -f 'src/ags/audio/task/ags_save_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_save_file.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_save_file.Tpo $(DEPDIR)/gsequencer-ags_save_file.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_save_file.c' object='gsequencer-ags_save_file.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_save_file.o `test -f 'src/ags/audio/task/ags_save_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_save_file.c
+
+gsequencer-ags_save_file.obj: src/ags/audio/task/ags_save_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_save_file.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_save_file.Tpo -c -o gsequencer-ags_save_file.obj `if test -f 'src/ags/audio/task/ags_save_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_save_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_save_file.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_save_file.Tpo $(DEPDIR)/gsequencer-ags_save_file.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_save_file.c' object='gsequencer-ags_save_file.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_save_file.obj `if test -f 'src/ags/audio/task/ags_save_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_save_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_save_file.c'; fi`
+
+gsequencer-ags_scroll_on_play.o: src/ags/audio/task/ags_scroll_on_play.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_scroll_on_play.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo -c -o gsequencer-ags_scroll_on_play.o `test -f 'src/ags/audio/task/ags_scroll_on_play.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_scroll_on_play.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo $(DEPDIR)/gsequencer-ags_scroll_on_play.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_scroll_on_play.c' object='gsequencer-ags_scroll_on_play.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_scroll_on_play.o `test -f 'src/ags/audio/task/ags_scroll_on_play.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_scroll_on_play.c
+
+gsequencer-ags_scroll_on_play.obj: src/ags/audio/task/ags_scroll_on_play.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_scroll_on_play.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo -c -o gsequencer-ags_scroll_on_play.obj `if test -f 'src/ags/audio/task/ags_scroll_on_play.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_scroll_on_play.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_scroll_on_play.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo $(DEPDIR)/gsequencer-ags_scroll_on_play.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_scroll_on_play.c' object='gsequencer-ags_scroll_on_play.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_scroll_on_play.obj `if test -f 'src/ags/audio/task/ags_scroll_on_play.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_scroll_on_play.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_scroll_on_play.c'; fi`
+
+gsequencer-ags_toggle_led.o: src/ags/audio/task/ags_toggle_led.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_led.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_led.Tpo -c -o gsequencer-ags_toggle_led.o `test -f 'src/ags/audio/task/ags_toggle_led.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_led.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_led.Tpo $(DEPDIR)/gsequencer-ags_toggle_led.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_toggle_led.c' object='gsequencer-ags_toggle_led.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_led.o `test -f 'src/ags/audio/task/ags_toggle_led.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_led.c
+
+gsequencer-ags_toggle_led.obj: src/ags/audio/task/ags_toggle_led.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_led.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_led.Tpo -c -o gsequencer-ags_toggle_led.obj `if test -f 'src/ags/audio/task/ags_toggle_led.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_led.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_led.Tpo $(DEPDIR)/gsequencer-ags_toggle_led.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_toggle_led.c' object='gsequencer-ags_toggle_led.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_led.obj `if test -f 'src/ags/audio/task/ags_toggle_led.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_led.c'; fi`
+
+gsequencer-ags_toggle_pattern_bit.o: src/ags/audio/task/ags_toggle_pattern_bit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_pattern_bit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo -c -o gsequencer-ags_toggle_pattern_bit.o `test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_pattern_bit.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_toggle_pattern_bit.c' object='gsequencer-ags_toggle_pattern_bit.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_pattern_bit.o `test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_pattern_bit.c
+
+gsequencer-ags_toggle_pattern_bit.obj: src/ags/audio/task/ags_toggle_pattern_bit.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_pattern_bit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo -c -o gsequencer-ags_toggle_pattern_bit.obj `if test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_pattern_bit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_pattern_bit.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Po
+# $(AM_V_CC)source='src/ags/audio/task/ags_toggle_pattern_bit.c' object='gsequencer-ags_toggle_pattern_bit.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_pattern_bit.obj `if test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_pattern_bit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_pattern_bit.c'; fi`
+
+gsequencer-ags_file_gui.o: src/ags/file/ags_file_gui.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_gui.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_gui.Tpo -c -o gsequencer-ags_file_gui.o `test -f 'src/ags/file/ags_file_gui.c' || echo '$(srcdir)/'`src/ags/file/ags_file_gui.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_gui.Tpo $(DEPDIR)/gsequencer-ags_file_gui.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_gui.c' object='gsequencer-ags_file_gui.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_gui.o `test -f 'src/ags/file/ags_file_gui.c' || echo '$(srcdir)/'`src/ags/file/ags_file_gui.c
+
+gsequencer-ags_file_gui.obj: src/ags/file/ags_file_gui.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_gui.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_gui.Tpo -c -o gsequencer-ags_file_gui.obj `if test -f 'src/ags/file/ags_file_gui.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_gui.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_gui.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_gui.Tpo $(DEPDIR)/gsequencer-ags_file_gui.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_gui.c' object='gsequencer-ags_file_gui.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_gui.obj `if test -f 'src/ags/file/ags_file_gui.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_gui.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_gui.c'; fi`
+
+gsequencer-ags_file.o: src/ags/file/ags_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file.Tpo -c -o gsequencer-ags_file.o `test -f 'src/ags/file/ags_file.c' || echo '$(srcdir)/'`src/ags/file/ags_file.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file.Tpo $(DEPDIR)/gsequencer-ags_file.Po
+# $(AM_V_CC)source='src/ags/file/ags_file.c' object='gsequencer-ags_file.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file.o `test -f 'src/ags/file/ags_file.c' || echo '$(srcdir)/'`src/ags/file/ags_file.c
+
+gsequencer-ags_file.obj: src/ags/file/ags_file.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file.Tpo -c -o gsequencer-ags_file.obj `if test -f 'src/ags/file/ags_file.c'; then $(CYGPATH_W) 'src/ags/file/ags_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file.Tpo $(DEPDIR)/gsequencer-ags_file.Po
+# $(AM_V_CC)source='src/ags/file/ags_file.c' object='gsequencer-ags_file.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file.obj `if test -f 'src/ags/file/ags_file.c'; then $(CYGPATH_W) 'src/ags/file/ags_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file.c'; fi`
+
+gsequencer-ags_file_id_ref.o: src/ags/file/ags_file_id_ref.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_id_ref.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo -c -o gsequencer-ags_file_id_ref.o `test -f 'src/ags/file/ags_file_id_ref.c' || echo '$(srcdir)/'`src/ags/file/ags_file_id_ref.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo $(DEPDIR)/gsequencer-ags_file_id_ref.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_id_ref.c' object='gsequencer-ags_file_id_ref.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_id_ref.o `test -f 'src/ags/file/ags_file_id_ref.c' || echo '$(srcdir)/'`src/ags/file/ags_file_id_ref.c
+
+gsequencer-ags_file_id_ref.obj: src/ags/file/ags_file_id_ref.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_id_ref.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo -c -o gsequencer-ags_file_id_ref.obj `if test -f 'src/ags/file/ags_file_id_ref.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_id_ref.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_id_ref.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo $(DEPDIR)/gsequencer-ags_file_id_ref.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_id_ref.c' object='gsequencer-ags_file_id_ref.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_id_ref.obj `if test -f 'src/ags/file/ags_file_id_ref.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_id_ref.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_id_ref.c'; fi`
+
+gsequencer-ags_file_launch.o: src/ags/file/ags_file_launch.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_launch.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_launch.Tpo -c -o gsequencer-ags_file_launch.o `test -f 'src/ags/file/ags_file_launch.c' || echo '$(srcdir)/'`src/ags/file/ags_file_launch.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_launch.Tpo $(DEPDIR)/gsequencer-ags_file_launch.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_launch.c' object='gsequencer-ags_file_launch.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_launch.o `test -f 'src/ags/file/ags_file_launch.c' || echo '$(srcdir)/'`src/ags/file/ags_file_launch.c
+
+gsequencer-ags_file_launch.obj: src/ags/file/ags_file_launch.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_launch.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_launch.Tpo -c -o gsequencer-ags_file_launch.obj `if test -f 'src/ags/file/ags_file_launch.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_launch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_launch.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_launch.Tpo $(DEPDIR)/gsequencer-ags_file_launch.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_launch.c' object='gsequencer-ags_file_launch.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_launch.obj `if test -f 'src/ags/file/ags_file_launch.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_launch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_launch.c'; fi`
+
+gsequencer-ags_file_link.o: src/ags/file/ags_file_link.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_link.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_link.Tpo -c -o gsequencer-ags_file_link.o `test -f 'src/ags/file/ags_file_link.c' || echo '$(srcdir)/'`src/ags/file/ags_file_link.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_link.Tpo $(DEPDIR)/gsequencer-ags_file_link.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_link.c' object='gsequencer-ags_file_link.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_link.o `test -f 'src/ags/file/ags_file_link.c' || echo '$(srcdir)/'`src/ags/file/ags_file_link.c
+
+gsequencer-ags_file_link.obj: src/ags/file/ags_file_link.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_link.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_link.Tpo -c -o gsequencer-ags_file_link.obj `if test -f 'src/ags/file/ags_file_link.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_link.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_link.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_link.Tpo $(DEPDIR)/gsequencer-ags_file_link.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_link.c' object='gsequencer-ags_file_link.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_link.obj `if test -f 'src/ags/file/ags_file_link.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_link.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_link.c'; fi`
+
+gsequencer-ags_file_lookup.o: src/ags/file/ags_file_lookup.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_lookup.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_lookup.Tpo -c -o gsequencer-ags_file_lookup.o `test -f 'src/ags/file/ags_file_lookup.c' || echo '$(srcdir)/'`src/ags/file/ags_file_lookup.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_lookup.Tpo $(DEPDIR)/gsequencer-ags_file_lookup.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_lookup.c' object='gsequencer-ags_file_lookup.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_lookup.o `test -f 'src/ags/file/ags_file_lookup.c' || echo '$(srcdir)/'`src/ags/file/ags_file_lookup.c
+
+gsequencer-ags_file_lookup.obj: src/ags/file/ags_file_lookup.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_lookup.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_lookup.Tpo -c -o gsequencer-ags_file_lookup.obj `if test -f 'src/ags/file/ags_file_lookup.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_lookup.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_lookup.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_lookup.Tpo $(DEPDIR)/gsequencer-ags_file_lookup.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_lookup.c' object='gsequencer-ags_file_lookup.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_lookup.obj `if test -f 'src/ags/file/ags_file_lookup.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_lookup.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_lookup.c'; fi`
+
+gsequencer-ags_file_sound.o: src/ags/file/ags_file_sound.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_sound.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_sound.Tpo -c -o gsequencer-ags_file_sound.o `test -f 'src/ags/file/ags_file_sound.c' || echo '$(srcdir)/'`src/ags/file/ags_file_sound.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_sound.Tpo $(DEPDIR)/gsequencer-ags_file_sound.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_sound.c' object='gsequencer-ags_file_sound.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_sound.o `test -f 'src/ags/file/ags_file_sound.c' || echo '$(srcdir)/'`src/ags/file/ags_file_sound.c
+
+gsequencer-ags_file_sound.obj: src/ags/file/ags_file_sound.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_sound.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_sound.Tpo -c -o gsequencer-ags_file_sound.obj `if test -f 'src/ags/file/ags_file_sound.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_sound.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_sound.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_sound.Tpo $(DEPDIR)/gsequencer-ags_file_sound.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_sound.c' object='gsequencer-ags_file_sound.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_sound.obj `if test -f 'src/ags/file/ags_file_sound.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_sound.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_sound.c'; fi`
+
+gsequencer-ags_file_thread.o: src/ags/file/ags_file_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_thread.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_thread.Tpo -c -o gsequencer-ags_file_thread.o `test -f 'src/ags/file/ags_file_thread.c' || echo '$(srcdir)/'`src/ags/file/ags_file_thread.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_thread.Tpo $(DEPDIR)/gsequencer-ags_file_thread.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_thread.c' object='gsequencer-ags_file_thread.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_thread.o `test -f 'src/ags/file/ags_file_thread.c' || echo '$(srcdir)/'`src/ags/file/ags_file_thread.c
+
+gsequencer-ags_file_thread.obj: src/ags/file/ags_file_thread.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_thread.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_thread.Tpo -c -o gsequencer-ags_file_thread.obj `if test -f 'src/ags/file/ags_file_thread.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_thread.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_thread.Tpo $(DEPDIR)/gsequencer-ags_file_thread.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_thread.c' object='gsequencer-ags_file_thread.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_thread.obj `if test -f 'src/ags/file/ags_file_thread.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_thread.c'; fi`
+
+gsequencer-ags_file_util.o: src/ags/file/ags_file_util.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_util.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_util.Tpo -c -o gsequencer-ags_file_util.o `test -f 'src/ags/file/ags_file_util.c' || echo '$(srcdir)/'`src/ags/file/ags_file_util.c
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_util.Tpo $(DEPDIR)/gsequencer-ags_file_util.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_util.c' object='gsequencer-ags_file_util.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_util.o `test -f 'src/ags/file/ags_file_util.c' || echo '$(srcdir)/'`src/ags/file/ags_file_util.c
+
+gsequencer-ags_file_util.obj: src/ags/file/ags_file_util.c
+ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_util.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_util.Tpo -c -o gsequencer-ags_file_util.obj `if test -f 'src/ags/file/ags_file_util.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_util.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_util.c'; fi`
+ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_util.Tpo $(DEPDIR)/gsequencer-ags_file_util.Po
+# $(AM_V_CC)source='src/ags/file/ags_file_util.c' object='gsequencer-ags_file_util.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_util.obj `if test -f 'src/ags/file/ags_file_util.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_util.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_util.c'; fi`
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool config.lt
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(bindir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-binPROGRAMS clean-generic clean-libtool \
+ clean-noinstLIBRARIES mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-hdr distclean-libtool distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS
+
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-binPROGRAMS \
+ clean-cscope clean-generic clean-libtool clean-noinstLIBRARIES \
+ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
+ distcheck distclean distclean-compile distclean-generic \
+ distclean-hdr distclean-libtool distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-binPROGRAMS install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..4c63f1d
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,974 @@
+AUTOMAKE_OPTIONS = foreign
+
+#
+SUBDIRS = po \
+ . \
+ src/ags/util \
+ src/ags/lib \
+ src/ags/object \
+ src/ags/widget \
+ src/ags/audio/task \
+ src/ags/audio/task/recall \
+ src/ags/audio/file \
+ src/ags/audio/recall \
+ src/ags/audio \
+ src/ags/file \
+ src/ags/server \
+ src/ags/X/editor \
+ src/ags/X/machine \
+ src/ags/X \
+ src/ags \
+ doc
+
+#
+libags_a_SOURCES = $(ags_util_c_sources) $(ags_lib_c_sources) $(ags_object_c_sources)
+libags_thread_a_SOURCES = $(ags_thread_c_sources)
+libags_audio_a_SOURCES = $(ags_audio_c_sources) $(ags_audio_file_c_sources) $(ags_audio_task_c_sources) $(ags_audio_task_recall_c_sources) $(ags_audio_recall_c_sources) $(ags_plugin_c_sources)
+libags_gui_a_SOURCES = $(ags_widget_c_sources)
+gsequencer_SOURCES = $(gsequencer_main_c_sources) $(gsequencer_server_c_sources) $(gsequencer_xorg_c_sources) $(gsequencer_machine_c_sources) $(gsequencer_editor_c_sources) $(ags_xorg_task_c_sources) $(gsequencer_file_c_sources)
+
+#
+TARGETS = gsequencer
+
+# this lists the binaries to produce, the (non-PHONY, binary) targets in
+# the previous manual Makefile
+noinst_LIBRARIES = libags.a libags_thread.a libags_audio.a libags_gui.a
+bin_PROGRAMS = gsequencer
+
+# application
+libags_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+
+libags_thread_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_thread_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_thread_a_LIBADD = libags.a
+
+libags_audio_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_audio_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_audio_a_LIBADD = libags_thread.a libags.a
+
+libags_gui_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_gui_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+
+gsequencer_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+gsequencer_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+gsequencer_LDADD = libags_audio.a libags_gui.a libags_thread.a libags.a
+
+ACLOCAL_AMFLAGS = -I m4
+
+# libags all files
+deprecated_ags_lib_h_sources =
+
+ags_lib_h_sources = \
+ $(deprecated_ags_lib_h_sources) \
+ src/ags-lib/object/ags_connectable.h \
+ src/ags/lib/ags_combo_box_text.h \
+ src/ags/lib/ags_container.h \
+ src/ags/lib/ags_list.h \
+ src/ags/lib/ags_log.h \
+ src/ags/lib/ags_parameter.h
+
+deprecated_ags_lib_c_sources =
+
+ags_lib_c_sources = \
+ $(deprecated_ags_lib_c_sources) \
+ src/ags-lib/object/ags_connectable.c \
+ src/ags/lib/ags_combo_box_text.c \
+ src/ags/lib/ags_container.c \
+ src/ags/lib/ags_list.c \
+ src/ags/lib/ags_log.c \
+ src/ags/lib/ags_parameter.c
+
+deprecated_ags_util_h_sources =
+
+ags_util_h_sources = \
+ $(deprecated_ags_util_h_sources) \
+ src/ags/util/ags_id_generator.h
+
+deprecated_ags_util_c_sources =
+
+ags_util_c_sources = \
+ $(deprecated_ags_util_c_sources) \
+ src/ags/util/ags_id_generator.c
+
+deprecated_ags_object_h_sources =
+
+ags_object_h_sources = \
+ $(deprecated_ags_object_h_sources) \
+ src/ags/object/ags_applicable.h \
+ src/ags/object/ags_countable.h \
+ src/ags/object/ags_dynamic_connectable.h \
+ src/ags/object/ags_effect.h \
+ src/ags/object/ags_main_loop.h \
+ src/ags/object/ags_marshal.h \
+ src/ags/object/ags_mutable.h \
+ src/ags/object/ags_packable.h \
+ src/ags/object/ags_persistable.h \
+ src/ags/object/ags_playable.h \
+ src/ags/object/ags_plugin.h \
+ src/ags/object/ags_portlet.h \
+ src/ags/object/ags_runnable.h \
+ src/ags/object/ags_seekable.h \
+ src/ags/object/ags_soundcard.h \
+ src/ags/object/ags_stackable.h \
+ src/ags/object/ags_tactable.h \
+ src/ags/object/ags_tree_iterator.h
+
+deprecated_ags_object_c_sources =
+
+ags_object_c_sources = \
+ $(deprecated_ags_object_c_sources) \
+ src/ags/object/ags_applicable.c \
+ src/ags/object/ags_countable.c \
+ src/ags/object/ags_dynamic_connectable.c \
+ src/ags/object/ags_effect.c \
+ src/ags/object/ags_main_loop.c \
+ src/ags/object/ags_marshal.c \
+ src/ags/object/ags_mutable.c \
+ src/ags/object/ags_packable.c \
+ src/ags/object/ags_persistable.c \
+ src/ags/object/ags_plugin.c \
+ src/ags/object/ags_portlet.c \
+ src/ags/object/ags_runnable.c \
+ src/ags/object/ags_seekable.c \
+ src/ags/object/ags_soundcard.c \
+ src/ags/object/ags_stackable.c \
+ src/ags/object/ags_tactable.c \
+ src/ags/object/ags_tree_iterator.c
+
+deprecated_ags_plugin_h_sources =
+
+ags_plugin_h_sources = \
+ $(deprecated_ags_plugin_h_sources) \
+ src/ags/plugin/ags_ladspa_manager.h \
+ src/ags/plugin/ags_plugin_factory.h \
+ src/ags/plugin/ags_plugin_stock.h
+
+deprecated_ags_plugin_c_sources =
+
+ags_plugin_c_sources = \
+ $(deprecated_ags_plugin_c_sources) \
+ src/ags/plugin/ags_ladspa_manager.c \
+ src/ags/plugin/ags_plugin_factory.c
+
+# libags_thread all files
+deprecated_ags_thread_h_sources = \
+ src/ags/thread/ags_history.h
+
+ags_thread_h_sources = \
+ $(deprecated_ags_thread_h_sources) \
+ src/ags/thread/ags_async_queue.h \
+ src/ags/thread/ags_audio_loop.h \
+ src/ags/thread/ags_autosave_thread.h \
+ src/ags/thread/ags_devout_thread.h \
+ src/ags/thread/ags_export_thread.h \
+ src/ags/thread/ags_gui_task_thread.h \
+ src/ags/thread/ags_gui_thread.h \
+ src/ags/thread/ags_iterator_thread.h \
+ src/ags/thread/ags_record_thread.h \
+ src/ags/thread/ags_recycling_thread_callbacks.h \
+ src/ags/thread/ags_recycling_thread.h \
+ src/ags/thread/ags_returnable_thread.h \
+ src/ags/thread/ags_single_thread.h \
+ src/ags/thread/ags_task_thread.h \
+ src/ags/thread/ags_thread_pool.h \
+ src/ags/thread/ags_thread-posix.h \
+ src/ags/thread/ags_timestamp_thread.h
+
+deprecated_ags_thread_c_sources =
+
+ags_thread_c_sources = \
+ $(deprecated_ags_thread_c_sources) \
+ src/ags/thread/ags_async_queue.c \
+ src/ags/thread/ags_audio_loop.c \
+ src/ags/thread/ags_autosave_thread.c \
+ src/ags/thread/ags_devout_thread.c \
+ src/ags/thread/ags_export_thread.c \
+ src/ags/thread/ags_gui_task_thread.c \
+ src/ags/thread/ags_gui_thread.c \
+ src/ags/thread/ags_iterator_thread.c \
+ src/ags/thread/ags_record_thread.c \
+ src/ags/thread/ags_recycling_thread_callbacks.c \
+ src/ags/thread/ags_recycling_thread.c \
+ src/ags/thread/ags_returnable_thread.c \
+ src/ags/thread/ags_single_thread.c \
+ src/ags/thread/ags_task_thread.c \
+ src/ags/thread/ags_thread_pool.c \
+ src/ags/thread/ags_thread-posix.c \
+ src/ags/thread/ags_timestamp_thread.c
+
+# libags_gui all files
+odeprecated_ags_widget_h_sources =
+
+ags_widget_h_sources = \
+ $(deprecated_ags_widget_h_sources) \
+ src/ags/widget/ags_cartesian.h \
+ src/ags/widget/ags_dial.h \
+ src/ags/widget/ags_expander.h \
+ src/ags/widget/ags_expander_set.h \
+ src/ags/widget/ags_hindicator.h \
+ src/ags/widget/ags_htimebar.h \
+ src/ags/widget/ags_indicator.h \
+ src/ags/widget/ags_led.h \
+ src/ags/widget/ags_menu.h \
+ src/ags/widget/ags_menu_item.h \
+ src/ags/widget/ags_option_menu.h \
+ src/ags/widget/ags_ruler.h \
+ src/ags/widget/ags_segment.h \
+ src/ags/widget/ags_table.h \
+ src/ags/widget/ags_timebar.h \
+ src/ags/widget/ags_vindicator.h \
+ src/ags/widget/ags_waveform.h
+
+deprecated_ags_widget_c_sources =
+
+ags_widget_c_sources = \
+ $(deprecated_ags_widget_c_sources) \
+ src/ags/widget/ags_cartesian.c \
+ src/ags/widget/ags_dial.c \
+ src/ags/widget/ags_expander.c \
+ src/ags/widget/ags_expander_set.c \
+ src/ags/widget/ags_hindicator.c \
+ src/ags/widget/ags_htimebar.c \
+ src/ags/widget/ags_indicator.c \
+ src/ags/widget/ags_led.c \
+ src/ags/widget/ags_menu.c \
+ src/ags/widget/ags_menu_item.c \
+ src/ags/widget/ags_option_menu.c \
+ src/ags/widget/ags_ruler.c \
+ src/ags/widget/ags_segment.c \
+ src/ags/widget/ags_table.c \
+ src/ags/widget/ags_timebar.c \
+ src/ags/widget/ags_vindicator.c \
+ src/ags/widget/ags_waveform.c
+
+# libags_audio all files
+deprecated_ags_audio_h_sources = \
+ src/ags/audio/ags_garbage_collector.h \
+ src/ags/audio/ags_effect.h \
+ src/ags/audio/ags_libao.h \
+ src/ags/audio/ags_timestamp.h \
+ src/ags/audio/ags_timestamp_factory.h
+
+ags_audio_h_sources = \
+ $(deprecated_ags_audio_h_sources) \
+ src/ags/audio/ags_acceleration.h \
+ src/ags/audio/ags_audio.h \
+ src/ags/audio/ags_audio_signal.h \
+ src/ags/audio/ags_automation.h \
+ src/ags/audio/ags_channel.h \
+ src/ags/audio/ags_channel_iter.h \
+ src/ags/audio/ags_config.h \
+ src/ags/audio/ags_devout.h \
+ src/ags/audio/ags_input.h \
+ src/ags/audio/ags_notation.h \
+ src/ags/audio/ags_note.h \
+ src/ags/audio/ags_output.h \
+ src/ags/audio/ags_pattern.h \
+ src/ags/audio/ags_port.h \
+ src/ags/audio/ags_recall_audio.h \
+ src/ags/audio/ags_recall_audio_run.h \
+ src/ags/audio/ags_recall_audio_signal.h \
+ src/ags/audio/ags_recall_channel.h \
+ src/ags/audio/ags_recall_channel_run_dummy.h \
+ src/ags/audio/ags_recall_channel_run.h \
+ src/ags/audio/ags_recall_container.h \
+ src/ags/audio/ags_recall_dependency.h \
+ src/ags/audio/ags_recall_factory.h \
+ src/ags/audio/ags_recall.h \
+ src/ags/audio/ags_recall_id.h \
+ src/ags/audio/ags_recall_ladspa.h \
+ src/ags/audio/ags_recall_ladspa_run.h \
+ src/ags/audio/ags_recall_recycling_dummy.h \
+ src/ags/audio/ags_recall_recycling.h \
+ src/ags/audio/ags_recycling_container.h \
+ src/ags/audio/ags_recycling.h \
+ src/ags/audio/ags_synths.h \
+ src/ags/audio/ags_task.h \
+ src/ags/audio/ags_timestamp_factory.h \
+ src/ags/audio/ags_timestamp.h
+
+deprecated_ags_audio_c_sources = \
+ src/ags/audio/ags_garbage_collector.c \
+ src/ags/audio/ags_libao.c \
+ src/ags/audio/ags_timestamp.c \
+ src/ags/audio/ags_timestamp_factory.c
+
+ags_audio_c_sources = \
+ $(deprecated_ags_audio_c_sources) \
+ src/ags/audio/ags_acceleration.c \
+ src/ags/object/ags_playable.c \
+ src/ags/audio/ags_audio.c \
+ src/ags/audio/ags_audio_signal.c \
+ src/ags/audio/ags_automation.c \
+ src/ags/audio/ags_channel.c \
+ src/ags/audio/ags_channel_iter.c \
+ src/ags/audio/ags_config.c \
+ src/ags/audio/ags_devout.c \
+ src/ags/audio/ags_input.c \
+ src/ags/audio/ags_notation.c \
+ src/ags/audio/ags_note.c \
+ src/ags/audio/ags_output.c \
+ src/ags/audio/ags_pattern.c \
+ src/ags/audio/ags_port.c \
+ src/ags/audio/ags_recall_audio.c \
+ src/ags/audio/ags_recall_audio_run.c \
+ src/ags/audio/ags_recall_audio_signal.c \
+ src/ags/audio/ags_recall_channel.c \
+ src/ags/audio/ags_recall_channel_run_dummy.c \
+ src/ags/audio/ags_recall_channel_run.c \
+ src/ags/audio/ags_recall_container.c \
+ src/ags/audio/ags_recall_dependency.c \
+ src/ags/audio/ags_recall_factory.c \
+ src/ags/audio/ags_recall.c \
+ src/ags/audio/ags_recall_id.c \
+ src/ags/audio/ags_recall_ladspa.c \
+ src/ags/audio/ags_recall_ladspa_run.c \
+ src/ags/audio/ags_recall_recycling_dummy.c \
+ src/ags/audio/ags_recall_recycling.c \
+ src/ags/audio/ags_recycling_container.c \
+ src/ags/audio/ags_recycling.c \
+ src/ags/audio/ags_synths.c \
+ src/ags/audio/ags_task.c \
+ src/ags/audio/ags_timestamp_factory.c \
+ src/ags/audio/ags_timestamp.c
+
+deprecated_ags_audio_file_h_sources = \
+ src/ags/audio/file/ags_audio_file_xml.h
+
+ags_audio_file_h_sources = \
+ $(deprecated_ags_audio_file_h_sources) \
+ src/ags/audio/file/ags_audio_file.h \
+ src/ags/audio/file/ags_ipatch.h \
+ src/ags/audio/file/ags_ipatch_sf2_reader.h \
+ src/ags/audio/file/ags_sndfile.h
+
+deprecated_ags_audio_file_c_sources = \
+ src/ags/audio/file/ags_audio_file_xml.c
+
+ags_audio_file_c_sources = \
+ $(deprecated_ags_audio_file_c_sources) \
+ src/ags/audio/file/ags_audio_file.c \
+ src/ags/audio/file/ags_ipatch.c \
+ src/ags/audio/file/ags_ipatch_sf2_reader.c \
+ src/ags/audio/file/ags_sndfile.c
+
+deprecated_ags_audio_recall_h_sources = \
+ src/ags/audio/recall/ags_amplifier.h \
+ src/ags/audio/recall/ags_clone_channel.h \
+ src/ags/audio/recall/ags_clone_channel_run.h \
+ src/ags/audio/recall/ags_down_mix.h \
+ src/ags/audio/recall/ags_echo.h \
+ src/ags/audio/recall/ags_loop_channel.h \
+ src/ags/audio/recall/ags_loop_channel_run.h \
+ src/ags/audio/recall/ags_play_note.h \
+ src/ags/audio/recall/ags_stream.h
+
+ags_audio_recall_h_sources = \
+ $(deprecated_ags_audio_recall_h_sources) \
+ src/ags/audio/recall/ags_buffer_audio_signal.h \
+ src/ags/audio/recall/ags_buffer_channel.h \
+ src/ags/audio/recall/ags_buffer_channel_run.h \
+ src/ags/audio/recall/ags_buffer_recycling.h \
+ src/ags/audio/recall/ags_copy_audio_signal.h \
+ src/ags/audio/recall/ags_copy_channel.h \
+ src/ags/audio/recall/ags_copy_channel_run.h \
+ src/ags/audio/recall/ags_copy_notation_audio.h \
+ src/ags/audio/recall/ags_copy_notation_audio_run.h \
+ src/ags/audio/recall/ags_copy_pattern_audio.h \
+ src/ags/audio/recall/ags_copy_pattern_audio_run.h \
+ src/ags/audio/recall/ags_copy_pattern_channel.h \
+ src/ags/audio/recall/ags_copy_pattern_channel_run.h \
+ src/ags/audio/recall/ags_copy_recycling.h \
+ src/ags/audio/recall/ags_count_beats_audio.h \
+ src/ags/audio/recall/ags_count_beats_audio_run.h \
+ src/ags/audio/recall/ags_delay_audio.h \
+ src/ags/audio/recall/ags_delay_audio_run.h \
+ src/ags/audio/recall/ags_mute_audio.h \
+ src/ags/audio/recall/ags_mute_audio_signal.h \
+ src/ags/audio/recall/ags_mute_channel.h \
+ src/ags/audio/recall/ags_mute_channel_run.h \
+ src/ags/audio/recall/ags_mute_recycling.h \
+ src/ags/audio/recall/ags_peak_channel.h \
+ src/ags/audio/recall/ags_peak_channel_run.h \
+ src/ags/audio/recall/ags_play_audio_file.h \
+ src/ags/audio/recall/ags_play_audio.h \
+ src/ags/audio/recall/ags_play_audio_signal.h \
+ src/ags/audio/recall/ags_play_channel.h \
+ src/ags/audio/recall/ags_play_channel_run.h \
+ src/ags/audio/recall/ags_play_channel_run_master.h \
+ src/ags/audio/recall/ags_play_notation_audio.h \
+ src/ags/audio/recall/ags_play_notation_audio_run.h \
+ src/ags/audio/recall/ags_play_pattern.h \
+ src/ags/audio/recall/ags_play_recycling.h \
+ src/ags/audio/recall/ags_stream_audio_signal.h \
+ src/ags/audio/recall/ags_stream_channel.h \
+ src/ags/audio/recall/ags_stream_channel_run.h \
+ src/ags/audio/recall/ags_stream_recycling.h \
+ src/ags/audio/recall/ags_volume_audio_signal.h \
+ src/ags/audio/recall/ags_volume_channel.h \
+ src/ags/audio/recall/ags_volume_channel_run.h \
+ src/ags/audio/recall/ags_volume_recycling.h
+
+deprecated_ags_audio_recall_c_sources = \
+ src/ags/audio/recall/ags_amplifier.c \
+ src/ags/audio/recall/ags_clone_channel.c \
+ src/ags/audio/recall/ags_clone_channel_run.c \
+ src/ags/audio/recall/ags_echo.c \
+ src/ags/audio/recall/ags_loop_channel.c \
+ src/ags/audio/recall/ags_loop_channel_run.c \
+ src/ags/audio/recall/ags_play_note.c \
+ src/ags/audio/recall/ags_stream.c
+
+ags_audio_recall_c_sources = \
+ $(deprecated_ags_audio_recall_c_sources) \
+ src/ags/audio/recall/ags_buffer_audio_signal.c \
+ src/ags/audio/recall/ags_buffer_channel.c \
+ src/ags/audio/recall/ags_buffer_channel_run.c \
+ src/ags/audio/recall/ags_buffer_recycling.c \
+ src/ags/audio/recall/ags_copy_audio_signal.c \
+ src/ags/audio/recall/ags_copy_channel.c \
+ src/ags/audio/recall/ags_copy_channel_run.c \
+ src/ags/audio/recall/ags_copy_notation_audio.c \
+ src/ags/audio/recall/ags_copy_notation_audio_run.c \
+ src/ags/audio/recall/ags_copy_pattern_audio.c \
+ src/ags/audio/recall/ags_copy_pattern_audio_run.c \
+ src/ags/audio/recall/ags_copy_pattern_channel.c \
+ src/ags/audio/recall/ags_copy_pattern_channel_run.c \
+ src/ags/audio/recall/ags_copy_recycling.c \
+ src/ags/audio/recall/ags_count_beats_audio.c \
+ src/ags/audio/recall/ags_count_beats_audio_run.c \
+ src/ags/audio/recall/ags_delay_audio.c \
+ src/ags/audio/recall/ags_delay_audio_run.c \
+ src/ags/audio/recall/ags_mute_audio.c \
+ src/ags/audio/recall/ags_mute_audio_signal.c \
+ src/ags/audio/recall/ags_mute_channel.c \
+ src/ags/audio/recall/ags_mute_channel_run.c \
+ src/ags/audio/recall/ags_mute_recycling.c \
+ src/ags/audio/recall/ags_peak_channel.c \
+ src/ags/audio/recall/ags_peak_channel_run.c \
+ src/ags/audio/recall/ags_play_audio_file.c \
+ src/ags/audio/recall/ags_play_audio.c \
+ src/ags/audio/recall/ags_play_audio_signal.c \
+ src/ags/audio/recall/ags_play_channel.c \
+ src/ags/audio/recall/ags_play_channel_run.c \
+ src/ags/audio/recall/ags_play_channel_run_master.c \
+ src/ags/audio/recall/ags_play_notation_audio.c \
+ src/ags/audio/recall/ags_play_notation_audio_run.c \
+ src/ags/audio/recall/ags_play_pattern.c \
+ src/ags/audio/recall/ags_play_recycling.c \
+ src/ags/audio/recall/ags_stream_audio_signal.c \
+ src/ags/audio/recall/ags_stream_channel.c \
+ src/ags/audio/recall/ags_stream_channel_run.c \
+ src/ags/audio/recall/ags_stream_recycling.c \
+ src/ags/audio/recall/ags_volume_audio_signal.c \
+ src/ags/audio/recall/ags_volume_channel.c \
+ src/ags/audio/recall/ags_volume_channel_run.c \
+ src/ags/audio/recall/ags_volume_recycling.c
+
+deprecated_ags_task_h_sources = \
+ src/ags/audio/task/ags_apply_wavetable.h
+
+ags_audio_task_h_sources = \
+ $(deprecated_ags_audio_task_h_sources) \
+ src/ags/audio/task/ags_add_audio.h \
+ src/ags/audio/task/ags_add_audio_signal.h \
+ src/ags/audio/task/ags_add_note.h \
+ src/ags/audio/task/ags_add_recall_container.h \
+ src/ags/audio/task/ags_add_recall.h \
+ src/ags/audio/task/ags_append_audio.h \
+ src/ags/audio/task/ags_append_audio_threaded.h \
+ src/ags/audio/task/ags_append_channel.h \
+ src/ags/audio/task/ags_append_recall.h \
+ src/ags/audio/task/ags_apply_synth.h \
+ src/ags/audio/task/ags_audio_set_recycling.h \
+ src/ags/audio/task/ags_cancel_audio.h \
+ src/ags/audio/task/ags_cancel_channel.h \
+ src/ags/audio/task/ags_cancel_recall.h \
+ src/ags/audio/task/ags_channel_set_recycling.h \
+ src/ags/audio/task/ags_export_output.h \
+ src/ags/audio/task/ags_init_audio.h \
+ src/ags/audio/task/ags_init_channel.h \
+ src/ags/audio/task/ags_link_channel.h \
+ src/ags/audio/task/ags_open_file.h \
+ src/ags/audio/task/ags_open_single_file.h \
+ src/ags/audio/task/ags_remove_audio.h \
+ src/ags/audio/task/ags_remove_audio_signal.h \
+ src/ags/audio/task/ags_remove_note.h \
+ src/ags/audio/task/ags_remove_recall_container.h \
+ src/ags/audio/task/ags_remove_recall.h \
+ src/ags/audio/task/ags_remove_region_from_selection.h \
+ src/ags/audio/task/ags_resize_audio.h \
+ src/ags/audio/task/ags_set_audio_channels.h \
+ src/ags/audio/task/ags_set_buffer_size.h \
+ src/ags/audio/task/ags_set_devout_play_flags.h \
+ src/ags/audio/task/ags_set_output_device.h \
+ src/ags/audio/task/ags_set_samplerate.h \
+ src/ags/audio/task/ags_start_devout.h \
+ src/ags/audio/task/ags_unref_audio_signal.h
+
+ags_xorg_task_h_sources = \
+ src/ags/audio/task/ags_add_point_to_selection.h \
+ src/ags/audio/task/ags_add_region_to_selection.h \
+ src/ags/audio/task/ags_add_line_member.h \
+ src/ags/audio/task/ags_add_bulk_member.h \
+ src/ags/audio/task/ags_update_bulk_member.h \
+ src/ags/audio/task/ags_change_indicator.h \
+ src/ags/audio/task/ags_change_tact.h \
+ src/ags/audio/task/ags_display_tact.h \
+ src/ags/audio/task/ags_free_selection.h \
+ src/ags/audio/task/ags_remove_point_from_selection.h \
+ src/ags/audio/task/ags_save_file.h \
+ src/ags/audio/task/ags_scroll_on_play.h \
+ src/ags/audio/task/ags_toggle_led.h \
+ src/ags/audio/task/ags_toggle_pattern_bit.h
+
+deprecated_ags_task_c_sources = \
+ src/ags/audio/task/ags_apply_wavetable.c
+
+ags_audio_task_c_sources = \
+ $(deprecated_ags_audio_task_c_sources) \
+ src/ags/audio/task/ags_add_audio.c \
+ src/ags/audio/task/ags_add_audio_signal.c \
+ src/ags/audio/task/ags_add_note.c \
+ src/ags/audio/task/ags_add_recall_container.c \
+ src/ags/audio/task/ags_add_recall.c \
+ src/ags/audio/task/ags_append_audio.c \
+ src/ags/audio/task/ags_append_audio_threaded.c \
+ src/ags/audio/task/ags_append_channel.c \
+ src/ags/audio/task/ags_append_recall.c \
+ src/ags/audio/task/ags_apply_synth.c \
+ src/ags/audio/task/ags_audio_set_recycling.c \
+ src/ags/audio/task/ags_cancel_audio.c \
+ src/ags/audio/task/ags_cancel_channel.c \
+ src/ags/audio/task/ags_cancel_recall.c \
+ src/ags/audio/task/ags_channel_set_recycling.c \
+ src/ags/audio/task/ags_export_output.c \
+ src/ags/audio/task/ags_init_audio.c \
+ src/ags/audio/task/ags_init_channel.c \
+ src/ags/audio/task/ags_link_channel.c \
+ src/ags/audio/task/ags_open_file.c \
+ src/ags/audio/task/ags_open_single_file.c \
+ src/ags/audio/task/ags_remove_audio.c \
+ src/ags/audio/task/ags_remove_audio_signal.c \
+ src/ags/audio/task/ags_remove_note.c \
+ src/ags/audio/task/ags_remove_recall_container.c \
+ src/ags/audio/task/ags_remove_recall.c \
+ src/ags/audio/task/ags_remove_region_from_selection.c \
+ src/ags/audio/task/ags_resize_audio.c \
+ src/ags/audio/task/ags_set_audio_channels.c \
+ src/ags/audio/task/ags_set_buffer_size.c \
+ src/ags/audio/task/ags_set_devout_play_flags.c \
+ src/ags/audio/task/ags_set_output_device.c \
+ src/ags/audio/task/ags_set_samplerate.c \
+ src/ags/audio/task/ags_start_devout.c \
+ src/ags/audio/task/ags_unref_audio_signal.c
+
+ags_xorg_task_c_sources = \
+ src/ags/audio/task/ags_add_line_member.c \
+ src/ags/audio/task/ags_add_bulk_member.c \
+ src/ags/audio/task/ags_update_bulk_member.c \
+ src/ags/audio/task/ags_add_point_to_selection.c \
+ src/ags/audio/task/ags_add_region_to_selection.c \
+ src/ags/audio/task/ags_change_indicator.c \
+ src/ags/audio/task/ags_change_tact.c \
+ src/ags/audio/task/ags_display_tact.c \
+ src/ags/audio/task/ags_free_selection.c \
+ src/ags/audio/task/ags_remove_point_from_selection.c \
+ src/ags/audio/task/ags_save_file.c \
+ src/ags/audio/task/ags_scroll_on_play.c \
+ src/ags/audio/task/ags_toggle_led.c \
+ src/ags/audio/task/ags_toggle_pattern_bit.c
+
+deprecated_ags_audio_task_recall_h_sources =
+
+ags_audio_task_recall_h_sources = \
+ $(deprecated_ags_audio_task_recall_h_sources) \
+ src/ags/audio/task/recall/ags_apply_bpm.h \
+ src/ags/audio/task/recall/ags_apply_sequencer_length.h \
+ src/ags/audio/task/recall/ags_apply_tact.h \
+ src/ags/audio/task/recall/ags_set_muted.h
+
+deprecated_ags_audio_task_recall_c_sources =
+
+ags_audio_task_recall_c_sources = \
+ $(deprecated_ags_audio_task_recall_c_sources) \
+ src/ags/audio/task/recall/ags_apply_bpm.c \
+ src/ags/audio/task/recall/ags_apply_sequencer_length.c \
+ src/ags/audio/task/recall/ags_apply_tact.c \
+ src/ags/audio/task/recall/ags_set_muted.c
+
+# gsequencer all files
+gsequencer_main_h_sources = \
+ src/ags/main.h
+
+gsequencer_main_c_sources = \
+ src/ags/main.c
+
+deprecated_gsequencer_server_h_sources =
+
+gsequencer_server_h_sources = \
+ $(deprecated_gsequencer_server_h_sources) \
+ src/ags/server/ags_registry.h \
+ src/ags/server/ags_remote_task.h \
+ src/ags/server/ags_server.h
+
+deprecated_gsequencer_server_c_sources =
+
+gsequencer_server_c_sources = \
+ $(deprecated_gsequencer_server_c_sources) \
+ src/ags/server/ags_registry.c \
+ src/ags/server/ags_remote_task.c \
+ src/ags/server/ags_server.c
+
+
+deprecated_gsequencer_xorg_h_sources =
+
+gsequencer_xorg_h_sources = \
+ $(deprecated_gsequencer_xorg_h_sources) \
+ src/ags/X/ags_audio_preferences_callbacks.h \
+ src/ags/X/ags_audio_preferences.h \
+ src/ags/X/ags_automation_editor_callbacks.h \
+ src/ags/X/ags_automation_editor.h \
+ src/ags/X/ags_editor_callbacks.h \
+ src/ags/X/ags_editor.h \
+ src/ags/X/ags_effect_bridge_callbacks.h \
+ src/ags/X/ags_effect_bridge.h \
+ src/ags/X/ags_effect_bulk_callbacks.h \
+ src/ags/X/ags_effect_bulk.h \
+ src/ags/X/ags_bulk_member_callbacks.h \
+ src/ags/X/ags_bulk_member.h \
+ src/ags/X/ags_effect_line_callbacks.h \
+ src/ags/X/ags_effect_line.h \
+ src/ags/X/ags_effect_pad_callbacks.h \
+ src/ags/X/ags_effect_pad.h \
+ src/ags/X/ags_export_window_callbacks.h \
+ src/ags/X/ags_export_window.h \
+ src/ags/X/ags_generic_preferences_callbacks.h \
+ src/ags/X/ags_generic_preferences.h \
+ src/ags/X/ags_ladspa_browser_callbacks.h \
+ src/ags/X/ags_ladspa_browser.h \
+ src/ags/X/ags_line_callbacks.h \
+ src/ags/X/ags_line_editor_callbacks.h \
+ src/ags/X/ags_line_editor.h \
+ src/ags/X/ags_line.h \
+ src/ags/X/ags_line_member_callbacks.h \
+ src/ags/X/ags_line_member_editor_callbacks.h \
+ src/ags/X/ags_line_member_editor.h \
+ src/ags/X/ags_line_member.h \
+ src/ags/X/ags_link_collection_editor_callbacks.h \
+ src/ags/X/ags_link_collection_editor.h \
+ src/ags/X/ags_link_editor_callbacks.h \
+ src/ags/X/ags_link_editor.h \
+ src/ags/X/ags_listing_editor_callbacks.h \
+ src/ags/X/ags_listing_editor.h \
+ src/ags/X/ags_machine_callbacks.h \
+ src/ags/X/ags_machine_editor_callbacks.h \
+ src/ags/X/ags_machine_editor.h \
+ src/ags/X/ags_machine.h \
+ src/ags/X/ags_menu_bar_callbacks.h \
+ src/ags/X/ags_menu_bar.h \
+ src/ags/X/ags_navigation_callbacks.h \
+ src/ags/X/ags_navigation.h \
+ src/ags/X/ags_pad_callbacks.h \
+ src/ags/X/ags_pad_editor_callbacks.h \
+ src/ags/X/ags_pad_editor.h \
+ src/ags/X/ags_pad.h \
+ src/ags/X/ags_performance_preferences_callbacks.h \
+ src/ags/X/ags_performance_preferences.h \
+ src/ags/X/ags_plugin_preferences_callbacks.h \
+ src/ags/X/ags_plugin_preferences.h \
+ src/ags/X/ags_preferences_callbacks.h \
+ src/ags/X/ags_preferences.h \
+ src/ags/X/ags_property_collection_editor_callbacks.h \
+ src/ags/X/ags_property_collection_editor.h \
+ src/ags/X/ags_property_editor_callbacks.h \
+ src/ags/X/ags_property_editor.h \
+ src/ags/X/ags_property_listing_editor.h \
+ src/ags/X/ags_resize_editor.h \
+ src/ags/X/ags_server_preferences_callbacks.h \
+ src/ags/X/ags_server_preferences.h \
+ src/ags/X/ags_window_callbacks.h \
+ src/ags/X/ags_window.h
+
+deprecated_gsequencer_xorg_c_sources =
+
+gsequencer_xorg_c_sources = \
+ $(deprecated_gsequencer_xorg_c_sources) \
+ src/ags/X/ags_audio_preferences_callbacks.c \
+ src/ags/X/ags_audio_preferences.c \
+ src/ags/X/ags_automation_editor_callbacks.c \
+ src/ags/X/ags_automation_editor.c \
+ src/ags/X/ags_editor_callbacks.c \
+ src/ags/X/ags_editor.c \
+ src/ags/X/ags_effect_bridge_callbacks.c \
+ src/ags/X/ags_effect_bridge.c \
+ src/ags/X/ags_effect_bulk_callbacks.c \
+ src/ags/X/ags_effect_bulk.c \
+ src/ags/X/ags_bulk_member.c \
+ src/ags/X/ags_bulk_member_callbacks.c \
+ src/ags/X/ags_effect_line_callbacks.c \
+ src/ags/X/ags_effect_line.c \
+ src/ags/X/ags_effect_pad_callbacks.c \
+ src/ags/X/ags_effect_pad.c \
+ src/ags/X/ags_export_window_callbacks.c \
+ src/ags/X/ags_export_window.c \
+ src/ags/X/ags_generic_preferences_callbacks.c \
+ src/ags/X/ags_generic_preferences.c \
+ src/ags/X/ags_ladspa_browser_callbacks.c \
+ src/ags/X/ags_ladspa_browser.c \
+ src/ags/X/ags_line_callbacks.c \
+ src/ags/X/ags_line_editor_callbacks.c \
+ src/ags/X/ags_line_editor.c \
+ src/ags/X/ags_line.c \
+ src/ags/X/ags_line_member_callbacks.c \
+ src/ags/X/ags_line_member_editor_callbacks.c \
+ src/ags/X/ags_line_member_editor.c \
+ src/ags/X/ags_line_member.c \
+ src/ags/X/ags_link_collection_editor_callbacks.c \
+ src/ags/X/ags_link_collection_editor.c \
+ src/ags/X/ags_link_editor_callbacks.c \
+ src/ags/X/ags_link_editor.c \
+ src/ags/X/ags_listing_editor_callbacks.c \
+ src/ags/X/ags_listing_editor.c \
+ src/ags/X/ags_machine_callbacks.c \
+ src/ags/X/ags_machine_editor_callbacks.c \
+ src/ags/X/ags_machine_editor.c \
+ src/ags/X/ags_machine.c \
+ src/ags/X/ags_menu_bar_callbacks.c \
+ src/ags/X/ags_menu_bar.c \
+ src/ags/X/ags_navigation_callbacks.c \
+ src/ags/X/ags_navigation.c \
+ src/ags/X/ags_pad_callbacks.c \
+ src/ags/X/ags_pad_editor_callbacks.c \
+ src/ags/X/ags_pad_editor.c \
+ src/ags/X/ags_pad.c \
+ src/ags/X/ags_performance_preferences_callbacks.c \
+ src/ags/X/ags_performance_preferences.c \
+ src/ags/X/ags_plugin_preferences_callbacks.c \
+ src/ags/X/ags_plugin_preferences.c \
+ src/ags/X/ags_preferences_callbacks.c \
+ src/ags/X/ags_preferences.c \
+ src/ags/X/ags_property_collection_editor_callbacks.c \
+ src/ags/X/ags_property_collection_editor.c \
+ src/ags/X/ags_property_editor_callbacks.c \
+ src/ags/X/ags_property_editor.c \
+ src/ags/X/ags_property_listing_editor.c \
+ src/ags/X/ags_resize_editor.c \
+ src/ags/X/ags_server_preferences_callbacks.c \
+ src/ags/X/ags_server_preferences.c \
+ src/ags/X/ags_window_callbacks.c \
+ src/ags/X/ags_window.c
+
+deprecated_gsequencer_machine_h_sources =
+
+gsequencer_machine_h_sources = \
+ $(deprecated_gsequencer_machine_h_sources) \
+ src/ags/X/machine/ags_drum_callbacks.h \
+ src/ags/X/machine/ags_drum.h \
+ src/ags/X/machine/ags_drum_input_line_callbacks.h \
+ src/ags/X/machine/ags_drum_input_line.h \
+ src/ags/X/machine/ags_drum_input_pad_callbacks.h \
+ src/ags/X/machine/ags_drum_input_pad.h \
+ src/ags/X/machine/ags_drum_output_line_callbacks.h \
+ src/ags/X/machine/ags_drum_output_line.h \
+ src/ags/X/machine/ags_drum_output_pad_callbacks.h \
+ src/ags/X/machine/ags_drum_output_pad.h \
+ src/ags/X/machine/ags_ffplayer_bridge_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_bridge.h \
+ src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_bulk_input.h \
+ src/ags/X/machine/ags_ffplayer_callbacks.h \
+ src/ags/X/machine/ags_ffplayer.h \
+ src/ags/X/machine/ags_ffplayer_input_line_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_input_line.h \
+ src/ags/X/machine/ags_ffplayer_input_pad_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_input_pad.h \
+ src/ags/X/machine/ags_ladspa_bridge_callbacks.h \
+ src/ags/X/machine/ags_ladspa_bridge.h \
+ src/ags/X/machine/ags_matrix_bridge_callbacks.h \
+ src/ags/X/machine/ags_matrix_bridge.h \
+ src/ags/X/machine/ags_matrix_bulk_input_callbacks.h \
+ src/ags/X/machine/ags_matrix_bulk_input.h \
+ src/ags/X/machine/ags_matrix_callbacks.h \
+ src/ags/X/machine/ags_matrix.h \
+ src/ags/X/machine/ags_mixer_callbacks.h \
+ src/ags/X/machine/ags_mixer.h \
+ src/ags/X/machine/ags_mixer_input_line.h \
+ src/ags/X/machine/ags_mixer_input_pad.h \
+ src/ags/X/machine/ags_oscillator_callbacks.h \
+ src/ags/X/machine/ags_oscillator.h \
+ src/ags/X/machine/ags_panel_callbacks.h \
+ src/ags/X/machine/ags_panel.h \
+ src/ags/X/machine/ags_panel_input_line.h \
+ src/ags/X/machine/ags_panel_input_pad.h \
+ src/ags/X/machine/ags_synth_bridge_callbacks.h \
+ src/ags/X/machine/ags_synth_bridge.h \
+ src/ags/X/machine/ags_synth_bulk_output_callbacks.h \
+ src/ags/X/machine/ags_synth_bulk_output.h \
+ src/ags/X/machine/ags_synth_callbacks.h \
+ src/ags/X/machine/ags_synth.h \
+ src/ags/X/machine/ags_synth_input_line.h \
+ src/ags/X/machine/ags_synth_input_pad.h \
+ src/ags/X/machine/ags_synth_output_line_callbacks.h \
+ src/ags/X/machine/ags_synth_output_line.h \
+ src/ags/X/machine/ags_synth_output_pad_callbacks.h \
+ src/ags/X/machine/ags_synth_output_pad.h
+
+deprecated_gsequencer_machine_c_sources =
+
+gsequencer_machine_c_sources = \
+ $(deprecated_gsequencer_machine_c_sources) \
+ src/ags/X/machine/ags_drum_callbacks.c \
+ src/ags/X/machine/ags_drum.c \
+ src/ags/X/machine/ags_drum_input_line_callbacks.c \
+ src/ags/X/machine/ags_drum_input_line.c \
+ src/ags/X/machine/ags_drum_input_pad_callbacks.c \
+ src/ags/X/machine/ags_drum_input_pad.c \
+ src/ags/X/machine/ags_drum_output_line_callbacks.c \
+ src/ags/X/machine/ags_drum_output_line.c \
+ src/ags/X/machine/ags_drum_output_pad_callbacks.c \
+ src/ags/X/machine/ags_drum_output_pad.c \
+ src/ags/X/machine/ags_ffplayer_bridge_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_bridge.c \
+ src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_bulk_input.c \
+ src/ags/X/machine/ags_ffplayer_callbacks.c \
+ src/ags/X/machine/ags_ffplayer.c \
+ src/ags/X/machine/ags_ffplayer_input_line_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_input_line.c \
+ src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_input_pad.c \
+ src/ags/X/machine/ags_ladspa_bridge_callbacks.c \
+ src/ags/X/machine/ags_ladspa_bridge.c \
+ src/ags/X/machine/ags_matrix_bridge_callbacks.c \
+ src/ags/X/machine/ags_matrix_bridge.c \
+ src/ags/X/machine/ags_matrix_bulk_input_callbacks.c \
+ src/ags/X/machine/ags_matrix_bulk_input.c \
+ src/ags/X/machine/ags_matrix_callbacks.c \
+ src/ags/X/machine/ags_matrix.c \
+ src/ags/X/machine/ags_mixer_callbacks.c \
+ src/ags/X/machine/ags_mixer.c \
+ src/ags/X/machine/ags_mixer_input_line.c \
+ src/ags/X/machine/ags_mixer_input_pad.c \
+ src/ags/X/machine/ags_oscillator_callbacks.c \
+ src/ags/X/machine/ags_oscillator.c \
+ src/ags/X/machine/ags_panel_callbacks.c \
+ src/ags/X/machine/ags_panel.c \
+ src/ags/X/machine/ags_panel_input_line.c \
+ src/ags/X/machine/ags_panel_input_pad.c \
+ src/ags/X/machine/ags_synth_bridge_callbacks.c \
+ src/ags/X/machine/ags_synth_bridge.c \
+ src/ags/X/machine/ags_synth_bulk_output_callbacks.c \
+ src/ags/X/machine/ags_synth_bulk_output.c \
+ src/ags/X/machine/ags_synth_callbacks.c \
+ src/ags/X/machine/ags_synth.c \
+ src/ags/X/machine/ags_synth_input_line.c \
+ src/ags/X/machine/ags_synth_input_pad.c \
+ src/ags/X/machine/ags_synth_output_line_callbacks.c \
+ src/ags/X/machine/ags_synth_output_line.c \
+ src/ags/X/machine/ags_synth_output_pad_callbacks.c \
+ src/ags/X/machine/ags_synth_output_pad.c
+
+deprecated_gsequencer_editor_h_sources =
+
+gsequencer_editor_h_sources = \
+ $(deprecated_gsequencer_editor_h_sources) \
+ src/ags/X/editor/ags_automation_area_callbacks.h \
+ src/ags/X/editor/ags_automation_area.h \
+ src/ags/X/editor/ags_automation_edit_callbacks.h \
+ src/ags/X/editor/ags_automation_edit.h \
+ src/ags/X/editor/ags_automation_toolbar_callbacks.h \
+ src/ags/X/editor/ags_automation_toolbar.h \
+ src/ags/X/editor/ags_file_selection_callbacks.h \
+ src/ags/X/editor/ags_file_selection.h \
+ src/ags/X/editor/ags_inline_player_callbacks.h \
+ src/ags/X/editor/ags_inline_player.h \
+ src/ags/X/editor/ags_machine_radio_button.h \
+ src/ags/X/editor/ags_machine_selection.h \
+ src/ags/X/editor/ags_machine_selector_callbacks.h \
+ src/ags/X/editor/ags_machine_selector.h \
+ src/ags/X/editor/ags_meter_callbacks.h \
+ src/ags/X/editor/ags_meter.h \
+ src/ags/X/editor/ags_notebook_callbacks.h \
+ src/ags/X/editor/ags_notebook.h \
+ src/ags/X/editor/ags_note_edit_callbacks.h \
+ src/ags/X/editor/ags_note_edit.h \
+ src/ags/X/editor/ags_pattern_edit_callbacks.h \
+ src/ags/X/editor/ags_pattern_edit.h \
+ src/ags/X/editor/ags_port_selection_callbacks.h \
+ src/ags/X/editor/ags_port_selection.h \
+ src/ags/X/editor/ags_sf2_chooser_callbacks.h \
+ src/ags/X/editor/ags_sf2_chooser.h \
+ src/ags/X/editor/ags_soundset_callbacks.h \
+ src/ags/X/editor/ags_soundset.h \
+ src/ags/X/editor/ags_toolbar_callbacks.h \
+ src/ags/X/editor/ags_toolbar.h \
+ src/ags/X/editor/ags_toolbar_mode_stock.h
+
+deprecated_gsequencer_editor_c_sources =
+
+gsequencer_editor_c_sources = \
+ $(deprecated_gsequencer_editor_c_sources) \
+ src/ags/X/editor/ags_automation_area_callbacks.c \
+ src/ags/X/editor/ags_automation_area.c \
+ src/ags/X/editor/ags_automation_edit_callbacks.c \
+ src/ags/X/editor/ags_automation_edit.c \
+ src/ags/X/editor/ags_automation_toolbar_callbacks.c \
+ src/ags/X/editor/ags_automation_toolbar.c \
+ src/ags/X/editor/ags_file_selection_callbacks.c \
+ src/ags/X/editor/ags_file_selection.c \
+ src/ags/X/editor/ags_inline_player_callbacks.c \
+ src/ags/X/editor/ags_inline_player.c \
+ src/ags/X/editor/ags_machine_radio_button.c \
+ src/ags/X/editor/ags_machine_selection.c \
+ src/ags/X/editor/ags_machine_selector_callbacks.c \
+ src/ags/X/editor/ags_machine_selector.c \
+ src/ags/X/editor/ags_meter_callbacks.c \
+ src/ags/X/editor/ags_meter.c \
+ src/ags/X/editor/ags_notebook_callbacks.c \
+ src/ags/X/editor/ags_notebook.c \
+ src/ags/X/editor/ags_note_edit_callbacks.c \
+ src/ags/X/editor/ags_note_edit.c \
+ src/ags/X/editor/ags_pattern_edit_callbacks.c \
+ src/ags/X/editor/ags_pattern_edit.c \
+ src/ags/X/editor/ags_port_selection_callbacks.c \
+ src/ags/X/editor/ags_port_selection.c \
+ src/ags/X/editor/ags_sf2_chooser_callbacks.c \
+ src/ags/X/editor/ags_sf2_chooser.c \
+ src/ags/X/editor/ags_soundset_callbacks.c \
+ src/ags/X/editor/ags_soundset.c \
+ src/ags/X/editor/ags_toolbar_callbacks.c \
+ src/ags/X/editor/ags_toolbar.c
+
+deprecated_gsequencer_file_h_sources =
+
+gsequencer_file_h_sources = \
+ $(deprecated_gsequencer_file_h_sources) \
+ src/ags/file/ags_file_gui.h \
+ src/ags/file/ags_file.h \
+ src/ags/file/ags_file_id_ref.h \
+ src/ags/file/ags_file_launch.h \
+ src/ags/file/ags_file_link.h \
+ src/ags/file/ags_file_lookup.h \
+ src/ags/file/ags_file_read.h \
+ src/ags/file/ags_file_sound.h \
+ src/ags/file/ags_file_stock.h \
+ src/ags/file/ags_file_thread.h \
+ src/ags/file/ags_file_util.h \
+ src/ags/file/ags_file_value_factory.h \
+ src/ags/file/ags_file_write.h
+
+deprecated_gsequencer_file_c_sources =
+
+gsequencer_file_c_sources = \
+ $(deprecated_gsequencer_file_c_sources) \
+ src/ags/file/ags_file_gui.c \
+ src/ags/file/ags_file.c \
+ src/ags/file/ags_file_id_ref.c \
+ src/ags/file/ags_file_launch.c \
+ src/ags/file/ags_file_link.c \
+ src/ags/file/ags_file_lookup.c \
+ src/ags/file/ags_file_sound.c \
+ src/ags/file/ags_file_thread.c \
+ src/ags/file/ags_file_util.c
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 0000000..7110ca9
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,7788 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+bin_PROGRAMS = gsequencer$(EXEEXT)
+subdir = .
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in depcomp compile config.guess config.sub \
+ install-sh missing ltmain.sh
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+LIBRARIES = $(noinst_LIBRARIES)
+ARFLAGS = cru
+AM_V_AR = $(am__v_AR_ at AM_V@)
+am__v_AR_ = $(am__v_AR_ at AM_DEFAULT_V@)
+am__v_AR_0 = @echo " AR " $@;
+am__v_AR_1 =
+libags_a_AR = $(AR) $(ARFLAGS)
+libags_a_LIBADD =
+am__objects_1 =
+am__objects_2 = $(am__objects_1) libags_a-ags_id_generator.$(OBJEXT)
+am__objects_3 = $(am__objects_1) libags_a-ags_connectable.$(OBJEXT) \
+ libags_a-ags_combo_box_text.$(OBJEXT) \
+ libags_a-ags_container.$(OBJEXT) libags_a-ags_list.$(OBJEXT) \
+ libags_a-ags_log.$(OBJEXT) libags_a-ags_parameter.$(OBJEXT)
+am__objects_4 = $(am__objects_1) libags_a-ags_applicable.$(OBJEXT) \
+ libags_a-ags_countable.$(OBJEXT) \
+ libags_a-ags_dynamic_connectable.$(OBJEXT) \
+ libags_a-ags_effect.$(OBJEXT) libags_a-ags_main_loop.$(OBJEXT) \
+ libags_a-ags_marshal.$(OBJEXT) libags_a-ags_mutable.$(OBJEXT) \
+ libags_a-ags_packable.$(OBJEXT) \
+ libags_a-ags_persistable.$(OBJEXT) \
+ libags_a-ags_plugin.$(OBJEXT) libags_a-ags_portlet.$(OBJEXT) \
+ libags_a-ags_runnable.$(OBJEXT) \
+ libags_a-ags_seekable.$(OBJEXT) \
+ libags_a-ags_soundcard.$(OBJEXT) \
+ libags_a-ags_stackable.$(OBJEXT) \
+ libags_a-ags_tactable.$(OBJEXT) \
+ libags_a-ags_tree_iterator.$(OBJEXT)
+am_libags_a_OBJECTS = $(am__objects_2) $(am__objects_3) \
+ $(am__objects_4)
+libags_a_OBJECTS = $(am_libags_a_OBJECTS)
+libags_audio_a_AR = $(AR) $(ARFLAGS)
+libags_audio_a_DEPENDENCIES = libags_thread.a libags.a
+am__objects_5 = libags_audio_a-ags_garbage_collector.$(OBJEXT) \
+ libags_audio_a-ags_libao.$(OBJEXT) \
+ libags_audio_a-ags_timestamp.$(OBJEXT) \
+ libags_audio_a-ags_timestamp_factory.$(OBJEXT)
+am__objects_6 = $(am__objects_5) \
+ libags_audio_a-ags_acceleration.$(OBJEXT) \
+ libags_audio_a-ags_playable.$(OBJEXT) \
+ libags_audio_a-ags_audio.$(OBJEXT) \
+ libags_audio_a-ags_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_automation.$(OBJEXT) \
+ libags_audio_a-ags_channel.$(OBJEXT) \
+ libags_audio_a-ags_channel_iter.$(OBJEXT) \
+ libags_audio_a-ags_config.$(OBJEXT) \
+ libags_audio_a-ags_devout.$(OBJEXT) \
+ libags_audio_a-ags_input.$(OBJEXT) \
+ libags_audio_a-ags_notation.$(OBJEXT) \
+ libags_audio_a-ags_note.$(OBJEXT) \
+ libags_audio_a-ags_output.$(OBJEXT) \
+ libags_audio_a-ags_pattern.$(OBJEXT) \
+ libags_audio_a-ags_port.$(OBJEXT) \
+ libags_audio_a-ags_recall_audio.$(OBJEXT) \
+ libags_audio_a-ags_recall_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_recall_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_recall_channel.$(OBJEXT) \
+ libags_audio_a-ags_recall_channel_run_dummy.$(OBJEXT) \
+ libags_audio_a-ags_recall_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_recall_container.$(OBJEXT) \
+ libags_audio_a-ags_recall_dependency.$(OBJEXT) \
+ libags_audio_a-ags_recall_factory.$(OBJEXT) \
+ libags_audio_a-ags_recall.$(OBJEXT) \
+ libags_audio_a-ags_recall_id.$(OBJEXT) \
+ libags_audio_a-ags_recall_ladspa.$(OBJEXT) \
+ libags_audio_a-ags_recall_ladspa_run.$(OBJEXT) \
+ libags_audio_a-ags_recall_recycling_dummy.$(OBJEXT) \
+ libags_audio_a-ags_recall_recycling.$(OBJEXT) \
+ libags_audio_a-ags_recycling_container.$(OBJEXT) \
+ libags_audio_a-ags_recycling.$(OBJEXT) \
+ libags_audio_a-ags_synths.$(OBJEXT) \
+ libags_audio_a-ags_task.$(OBJEXT) \
+ libags_audio_a-ags_timestamp_factory.$(OBJEXT) \
+ libags_audio_a-ags_timestamp.$(OBJEXT)
+am__objects_7 = libags_audio_a-ags_audio_file_xml.$(OBJEXT)
+am__objects_8 = $(am__objects_7) \
+ libags_audio_a-ags_audio_file.$(OBJEXT) \
+ libags_audio_a-ags_ipatch.$(OBJEXT) \
+ libags_audio_a-ags_ipatch_sf2_reader.$(OBJEXT) \
+ libags_audio_a-ags_sndfile.$(OBJEXT)
+am__objects_9 = libags_audio_a-ags_add_audio.$(OBJEXT) \
+ libags_audio_a-ags_add_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_add_note.$(OBJEXT) \
+ libags_audio_a-ags_add_recall_container.$(OBJEXT) \
+ libags_audio_a-ags_add_recall.$(OBJEXT) \
+ libags_audio_a-ags_append_audio.$(OBJEXT) \
+ libags_audio_a-ags_append_audio_threaded.$(OBJEXT) \
+ libags_audio_a-ags_append_channel.$(OBJEXT) \
+ libags_audio_a-ags_append_recall.$(OBJEXT) \
+ libags_audio_a-ags_apply_synth.$(OBJEXT) \
+ libags_audio_a-ags_audio_set_recycling.$(OBJEXT) \
+ libags_audio_a-ags_cancel_audio.$(OBJEXT) \
+ libags_audio_a-ags_cancel_channel.$(OBJEXT) \
+ libags_audio_a-ags_cancel_recall.$(OBJEXT) \
+ libags_audio_a-ags_channel_set_recycling.$(OBJEXT) \
+ libags_audio_a-ags_export_output.$(OBJEXT) \
+ libags_audio_a-ags_init_audio.$(OBJEXT) \
+ libags_audio_a-ags_init_channel.$(OBJEXT) \
+ libags_audio_a-ags_link_channel.$(OBJEXT) \
+ libags_audio_a-ags_open_file.$(OBJEXT) \
+ libags_audio_a-ags_open_single_file.$(OBJEXT) \
+ libags_audio_a-ags_remove_audio.$(OBJEXT) \
+ libags_audio_a-ags_remove_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_remove_note.$(OBJEXT) \
+ libags_audio_a-ags_remove_recall_container.$(OBJEXT) \
+ libags_audio_a-ags_remove_recall.$(OBJEXT) \
+ libags_audio_a-ags_remove_region_from_selection.$(OBJEXT) \
+ libags_audio_a-ags_resize_audio.$(OBJEXT) \
+ libags_audio_a-ags_set_audio_channels.$(OBJEXT) \
+ libags_audio_a-ags_set_buffer_size.$(OBJEXT) \
+ libags_audio_a-ags_set_devout_play_flags.$(OBJEXT) \
+ libags_audio_a-ags_set_output_device.$(OBJEXT) \
+ libags_audio_a-ags_set_samplerate.$(OBJEXT) \
+ libags_audio_a-ags_start_devout.$(OBJEXT) \
+ libags_audio_a-ags_unref_audio_signal.$(OBJEXT)
+am__objects_10 = $(am__objects_1) \
+ libags_audio_a-ags_apply_bpm.$(OBJEXT) \
+ libags_audio_a-ags_apply_sequencer_length.$(OBJEXT) \
+ libags_audio_a-ags_apply_tact.$(OBJEXT) \
+ libags_audio_a-ags_set_muted.$(OBJEXT)
+am__objects_11 = libags_audio_a-ags_amplifier.$(OBJEXT) \
+ libags_audio_a-ags_clone_channel.$(OBJEXT) \
+ libags_audio_a-ags_clone_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_echo.$(OBJEXT) \
+ libags_audio_a-ags_loop_channel.$(OBJEXT) \
+ libags_audio_a-ags_loop_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_play_note.$(OBJEXT) \
+ libags_audio_a-ags_stream.$(OBJEXT)
+am__objects_12 = $(am__objects_11) \
+ libags_audio_a-ags_buffer_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_buffer_channel.$(OBJEXT) \
+ libags_audio_a-ags_buffer_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_buffer_recycling.$(OBJEXT) \
+ libags_audio_a-ags_copy_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_copy_channel.$(OBJEXT) \
+ libags_audio_a-ags_copy_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_notation_audio.$(OBJEXT) \
+ libags_audio_a-ags_copy_notation_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_audio.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_channel.$(OBJEXT) \
+ libags_audio_a-ags_copy_pattern_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_copy_recycling.$(OBJEXT) \
+ libags_audio_a-ags_count_beats_audio.$(OBJEXT) \
+ libags_audio_a-ags_count_beats_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_delay_audio.$(OBJEXT) \
+ libags_audio_a-ags_delay_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_mute_audio.$(OBJEXT) \
+ libags_audio_a-ags_mute_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_mute_channel.$(OBJEXT) \
+ libags_audio_a-ags_mute_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_mute_recycling.$(OBJEXT) \
+ libags_audio_a-ags_peak_channel.$(OBJEXT) \
+ libags_audio_a-ags_peak_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_play_audio_file.$(OBJEXT) \
+ libags_audio_a-ags_play_audio.$(OBJEXT) \
+ libags_audio_a-ags_play_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_play_channel.$(OBJEXT) \
+ libags_audio_a-ags_play_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_play_channel_run_master.$(OBJEXT) \
+ libags_audio_a-ags_play_notation_audio.$(OBJEXT) \
+ libags_audio_a-ags_play_notation_audio_run.$(OBJEXT) \
+ libags_audio_a-ags_play_pattern.$(OBJEXT) \
+ libags_audio_a-ags_play_recycling.$(OBJEXT) \
+ libags_audio_a-ags_stream_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_stream_channel.$(OBJEXT) \
+ libags_audio_a-ags_stream_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_stream_recycling.$(OBJEXT) \
+ libags_audio_a-ags_volume_audio_signal.$(OBJEXT) \
+ libags_audio_a-ags_volume_channel.$(OBJEXT) \
+ libags_audio_a-ags_volume_channel_run.$(OBJEXT) \
+ libags_audio_a-ags_volume_recycling.$(OBJEXT)
+am__objects_13 = $(am__objects_1) \
+ libags_audio_a-ags_ladspa_manager.$(OBJEXT) \
+ libags_audio_a-ags_plugin_factory.$(OBJEXT)
+am_libags_audio_a_OBJECTS = $(am__objects_6) $(am__objects_8) \
+ $(am__objects_9) $(am__objects_10) $(am__objects_12) \
+ $(am__objects_13)
+libags_audio_a_OBJECTS = $(am_libags_audio_a_OBJECTS)
+libags_gui_a_AR = $(AR) $(ARFLAGS)
+libags_gui_a_LIBADD =
+am__objects_14 = $(am__objects_1) libags_gui_a-ags_cartesian.$(OBJEXT) \
+ libags_gui_a-ags_dial.$(OBJEXT) \
+ libags_gui_a-ags_expander.$(OBJEXT) \
+ libags_gui_a-ags_expander_set.$(OBJEXT) \
+ libags_gui_a-ags_hindicator.$(OBJEXT) \
+ libags_gui_a-ags_htimebar.$(OBJEXT) \
+ libags_gui_a-ags_indicator.$(OBJEXT) \
+ libags_gui_a-ags_led.$(OBJEXT) libags_gui_a-ags_menu.$(OBJEXT) \
+ libags_gui_a-ags_menu_item.$(OBJEXT) \
+ libags_gui_a-ags_option_menu.$(OBJEXT) \
+ libags_gui_a-ags_ruler.$(OBJEXT) \
+ libags_gui_a-ags_segment.$(OBJEXT) \
+ libags_gui_a-ags_table.$(OBJEXT) \
+ libags_gui_a-ags_timebar.$(OBJEXT) \
+ libags_gui_a-ags_vindicator.$(OBJEXT) \
+ libags_gui_a-ags_waveform.$(OBJEXT)
+am_libags_gui_a_OBJECTS = $(am__objects_14)
+libags_gui_a_OBJECTS = $(am_libags_gui_a_OBJECTS)
+libags_thread_a_AR = $(AR) $(ARFLAGS)
+libags_thread_a_DEPENDENCIES = libags.a
+am__objects_15 = $(am__objects_1) \
+ libags_thread_a-ags_async_queue.$(OBJEXT) \
+ libags_thread_a-ags_audio_loop.$(OBJEXT) \
+ libags_thread_a-ags_autosave_thread.$(OBJEXT) \
+ libags_thread_a-ags_devout_thread.$(OBJEXT) \
+ libags_thread_a-ags_export_thread.$(OBJEXT) \
+ libags_thread_a-ags_gui_task_thread.$(OBJEXT) \
+ libags_thread_a-ags_gui_thread.$(OBJEXT) \
+ libags_thread_a-ags_iterator_thread.$(OBJEXT) \
+ libags_thread_a-ags_record_thread.$(OBJEXT) \
+ libags_thread_a-ags_recycling_thread_callbacks.$(OBJEXT) \
+ libags_thread_a-ags_recycling_thread.$(OBJEXT) \
+ libags_thread_a-ags_returnable_thread.$(OBJEXT) \
+ libags_thread_a-ags_single_thread.$(OBJEXT) \
+ libags_thread_a-ags_task_thread.$(OBJEXT) \
+ libags_thread_a-ags_thread_pool.$(OBJEXT) \
+ libags_thread_a-ags_thread-posix.$(OBJEXT) \
+ libags_thread_a-ags_timestamp_thread.$(OBJEXT)
+am_libags_thread_a_OBJECTS = $(am__objects_15)
+libags_thread_a_OBJECTS = $(am_libags_thread_a_OBJECTS)
+am__installdirs = "$(DESTDIR)$(bindir)"
+PROGRAMS = $(bin_PROGRAMS)
+am__objects_16 = gsequencer-main.$(OBJEXT)
+am__objects_17 = $(am__objects_1) gsequencer-ags_registry.$(OBJEXT) \
+ gsequencer-ags_remote_task.$(OBJEXT) \
+ gsequencer-ags_server.$(OBJEXT)
+am__objects_18 = $(am__objects_1) \
+ gsequencer-ags_audio_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_audio_preferences.$(OBJEXT) \
+ gsequencer-ags_automation_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_editor.$(OBJEXT) \
+ gsequencer-ags_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_editor.$(OBJEXT) \
+ gsequencer-ags_effect_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_bridge.$(OBJEXT) \
+ gsequencer-ags_effect_bulk_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_bulk.$(OBJEXT) \
+ gsequencer-ags_bulk_member.$(OBJEXT) \
+ gsequencer-ags_bulk_member_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_line.$(OBJEXT) \
+ gsequencer-ags_effect_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_effect_pad.$(OBJEXT) \
+ gsequencer-ags_export_window_callbacks.$(OBJEXT) \
+ gsequencer-ags_export_window.$(OBJEXT) \
+ gsequencer-ags_generic_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_generic_preferences.$(OBJEXT) \
+ gsequencer-ags_ladspa_browser_callbacks.$(OBJEXT) \
+ gsequencer-ags_ladspa_browser.$(OBJEXT) \
+ gsequencer-ags_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_editor.$(OBJEXT) \
+ gsequencer-ags_line.$(OBJEXT) \
+ gsequencer-ags_line_member_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_member_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_line_member_editor.$(OBJEXT) \
+ gsequencer-ags_line_member.$(OBJEXT) \
+ gsequencer-ags_link_collection_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_link_collection_editor.$(OBJEXT) \
+ gsequencer-ags_link_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_link_editor.$(OBJEXT) \
+ gsequencer-ags_listing_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_listing_editor.$(OBJEXT) \
+ gsequencer-ags_machine_callbacks.$(OBJEXT) \
+ gsequencer-ags_machine_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_machine_editor.$(OBJEXT) \
+ gsequencer-ags_machine.$(OBJEXT) \
+ gsequencer-ags_menu_bar_callbacks.$(OBJEXT) \
+ gsequencer-ags_menu_bar.$(OBJEXT) \
+ gsequencer-ags_navigation_callbacks.$(OBJEXT) \
+ gsequencer-ags_navigation.$(OBJEXT) \
+ gsequencer-ags_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_pad_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_pad_editor.$(OBJEXT) \
+ gsequencer-ags_pad.$(OBJEXT) \
+ gsequencer-ags_performance_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_performance_preferences.$(OBJEXT) \
+ gsequencer-ags_plugin_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_plugin_preferences.$(OBJEXT) \
+ gsequencer-ags_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_preferences.$(OBJEXT) \
+ gsequencer-ags_property_collection_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_property_collection_editor.$(OBJEXT) \
+ gsequencer-ags_property_editor_callbacks.$(OBJEXT) \
+ gsequencer-ags_property_editor.$(OBJEXT) \
+ gsequencer-ags_property_listing_editor.$(OBJEXT) \
+ gsequencer-ags_resize_editor.$(OBJEXT) \
+ gsequencer-ags_server_preferences_callbacks.$(OBJEXT) \
+ gsequencer-ags_server_preferences.$(OBJEXT) \
+ gsequencer-ags_window_callbacks.$(OBJEXT) \
+ gsequencer-ags_window.$(OBJEXT)
+am__objects_19 = $(am__objects_1) \
+ gsequencer-ags_drum_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum.$(OBJEXT) \
+ gsequencer-ags_drum_input_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_input_line.$(OBJEXT) \
+ gsequencer-ags_drum_input_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_input_pad.$(OBJEXT) \
+ gsequencer-ags_drum_output_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_output_line.$(OBJEXT) \
+ gsequencer-ags_drum_output_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_drum_output_pad.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bridge.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bulk_input_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_bulk_input.$(OBJEXT) \
+ gsequencer-ags_ffplayer_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_line.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_ffplayer_input_pad.$(OBJEXT) \
+ gsequencer-ags_ladspa_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_ladspa_bridge.$(OBJEXT) \
+ gsequencer-ags_matrix_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_matrix_bridge.$(OBJEXT) \
+ gsequencer-ags_matrix_bulk_input_callbacks.$(OBJEXT) \
+ gsequencer-ags_matrix_bulk_input.$(OBJEXT) \
+ gsequencer-ags_matrix_callbacks.$(OBJEXT) \
+ gsequencer-ags_matrix.$(OBJEXT) \
+ gsequencer-ags_mixer_callbacks.$(OBJEXT) \
+ gsequencer-ags_mixer.$(OBJEXT) \
+ gsequencer-ags_mixer_input_line.$(OBJEXT) \
+ gsequencer-ags_mixer_input_pad.$(OBJEXT) \
+ gsequencer-ags_oscillator_callbacks.$(OBJEXT) \
+ gsequencer-ags_oscillator.$(OBJEXT) \
+ gsequencer-ags_panel_callbacks.$(OBJEXT) \
+ gsequencer-ags_panel.$(OBJEXT) \
+ gsequencer-ags_panel_input_line.$(OBJEXT) \
+ gsequencer-ags_panel_input_pad.$(OBJEXT) \
+ gsequencer-ags_synth_bridge_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_bridge.$(OBJEXT) \
+ gsequencer-ags_synth_bulk_output_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_bulk_output.$(OBJEXT) \
+ gsequencer-ags_synth_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth.$(OBJEXT) \
+ gsequencer-ags_synth_input_line.$(OBJEXT) \
+ gsequencer-ags_synth_input_pad.$(OBJEXT) \
+ gsequencer-ags_synth_output_line_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_output_line.$(OBJEXT) \
+ gsequencer-ags_synth_output_pad_callbacks.$(OBJEXT) \
+ gsequencer-ags_synth_output_pad.$(OBJEXT)
+am__objects_20 = $(am__objects_1) \
+ gsequencer-ags_automation_area_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_area.$(OBJEXT) \
+ gsequencer-ags_automation_edit_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_edit.$(OBJEXT) \
+ gsequencer-ags_automation_toolbar_callbacks.$(OBJEXT) \
+ gsequencer-ags_automation_toolbar.$(OBJEXT) \
+ gsequencer-ags_file_selection_callbacks.$(OBJEXT) \
+ gsequencer-ags_file_selection.$(OBJEXT) \
+ gsequencer-ags_inline_player_callbacks.$(OBJEXT) \
+ gsequencer-ags_inline_player.$(OBJEXT) \
+ gsequencer-ags_machine_radio_button.$(OBJEXT) \
+ gsequencer-ags_machine_selection.$(OBJEXT) \
+ gsequencer-ags_machine_selector_callbacks.$(OBJEXT) \
+ gsequencer-ags_machine_selector.$(OBJEXT) \
+ gsequencer-ags_meter_callbacks.$(OBJEXT) \
+ gsequencer-ags_meter.$(OBJEXT) \
+ gsequencer-ags_notebook_callbacks.$(OBJEXT) \
+ gsequencer-ags_notebook.$(OBJEXT) \
+ gsequencer-ags_note_edit_callbacks.$(OBJEXT) \
+ gsequencer-ags_note_edit.$(OBJEXT) \
+ gsequencer-ags_pattern_edit_callbacks.$(OBJEXT) \
+ gsequencer-ags_pattern_edit.$(OBJEXT) \
+ gsequencer-ags_port_selection_callbacks.$(OBJEXT) \
+ gsequencer-ags_port_selection.$(OBJEXT) \
+ gsequencer-ags_sf2_chooser_callbacks.$(OBJEXT) \
+ gsequencer-ags_sf2_chooser.$(OBJEXT) \
+ gsequencer-ags_soundset_callbacks.$(OBJEXT) \
+ gsequencer-ags_soundset.$(OBJEXT) \
+ gsequencer-ags_toolbar_callbacks.$(OBJEXT) \
+ gsequencer-ags_toolbar.$(OBJEXT)
+am__objects_21 = gsequencer-ags_add_line_member.$(OBJEXT) \
+ gsequencer-ags_add_bulk_member.$(OBJEXT) \
+ gsequencer-ags_update_bulk_member.$(OBJEXT) \
+ gsequencer-ags_add_point_to_selection.$(OBJEXT) \
+ gsequencer-ags_add_region_to_selection.$(OBJEXT) \
+ gsequencer-ags_change_indicator.$(OBJEXT) \
+ gsequencer-ags_change_tact.$(OBJEXT) \
+ gsequencer-ags_display_tact.$(OBJEXT) \
+ gsequencer-ags_free_selection.$(OBJEXT) \
+ gsequencer-ags_remove_point_from_selection.$(OBJEXT) \
+ gsequencer-ags_save_file.$(OBJEXT) \
+ gsequencer-ags_scroll_on_play.$(OBJEXT) \
+ gsequencer-ags_toggle_led.$(OBJEXT) \
+ gsequencer-ags_toggle_pattern_bit.$(OBJEXT)
+am__objects_22 = $(am__objects_1) gsequencer-ags_file_gui.$(OBJEXT) \
+ gsequencer-ags_file.$(OBJEXT) \
+ gsequencer-ags_file_id_ref.$(OBJEXT) \
+ gsequencer-ags_file_launch.$(OBJEXT) \
+ gsequencer-ags_file_link.$(OBJEXT) \
+ gsequencer-ags_file_lookup.$(OBJEXT) \
+ gsequencer-ags_file_sound.$(OBJEXT) \
+ gsequencer-ags_file_thread.$(OBJEXT) \
+ gsequencer-ags_file_util.$(OBJEXT)
+am_gsequencer_OBJECTS = $(am__objects_16) $(am__objects_17) \
+ $(am__objects_18) $(am__objects_19) $(am__objects_20) \
+ $(am__objects_21) $(am__objects_22)
+gsequencer_OBJECTS = $(am_gsequencer_OBJECTS)
+gsequencer_DEPENDENCIES = libags_audio.a libags_gui.a libags_thread.a \
+ libags.a
+AM_V_lt = $(am__v_lt_ at AM_V@)
+am__v_lt_ = $(am__v_lt_ at AM_DEFAULT_V@)
+am__v_lt_0 = --silent
+am__v_lt_1 =
+gsequencer_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(gsequencer_CFLAGS) \
+ $(CFLAGS) $(gsequencer_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+DEFAULT_INCLUDES = -I. at am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+AM_V_CC = $(am__v_CC_ at AM_V@)
+am__v_CC_ = $(am__v_CC_ at AM_DEFAULT_V@)
+am__v_CC_0 = @echo " CC " $@;
+am__v_CC_1 =
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+AM_V_CCLD = $(am__v_CCLD_ at AM_V@)
+am__v_CCLD_ = $(am__v_CCLD_ at AM_DEFAULT_V@)
+am__v_CCLD_0 = @echo " CCLD " $@;
+am__v_CCLD_1 =
+SOURCES = $(libags_a_SOURCES) $(libags_audio_a_SOURCES) \
+ $(libags_gui_a_SOURCES) $(libags_thread_a_SOURCES) \
+ $(gsequencer_SOURCES)
+DIST_SOURCES = $(libags_a_SOURCES) $(libags_audio_a_SOURCES) \
+ $(libags_gui_a_SOURCES) $(libags_thread_a_SOURCES) \
+ $(gsequencer_SOURCES)
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+DIST_TARGETS = dist-gzip
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AUTOMAKE_OPTIONS = foreign
+
+#
+SUBDIRS = po \
+ . \
+ src/ags/util \
+ src/ags/lib \
+ src/ags/object \
+ src/ags/widget \
+ src/ags/audio/task \
+ src/ags/audio/task/recall \
+ src/ags/audio/file \
+ src/ags/audio/recall \
+ src/ags/audio \
+ src/ags/file \
+ src/ags/server \
+ src/ags/X/editor \
+ src/ags/X/machine \
+ src/ags/X \
+ src/ags \
+ doc
+
+
+#
+libags_a_SOURCES = $(ags_util_c_sources) $(ags_lib_c_sources) $(ags_object_c_sources)
+libags_thread_a_SOURCES = $(ags_thread_c_sources)
+libags_audio_a_SOURCES = $(ags_audio_c_sources) $(ags_audio_file_c_sources) $(ags_audio_task_c_sources) $(ags_audio_task_recall_c_sources) $(ags_audio_recall_c_sources) $(ags_plugin_c_sources)
+libags_gui_a_SOURCES = $(ags_widget_c_sources)
+gsequencer_SOURCES = $(gsequencer_main_c_sources) $(gsequencer_server_c_sources) $(gsequencer_xorg_c_sources) $(gsequencer_machine_c_sources) $(gsequencer_editor_c_sources) $(ags_xorg_task_c_sources) $(gsequencer_file_c_sources)
+
+#
+TARGETS = gsequencer
+
+# this lists the binaries to produce, the (non-PHONY, binary) targets in
+# the previous manual Makefile
+noinst_LIBRARIES = libags.a libags_thread.a libags_audio.a libags_gui.a
+
+# application
+libags_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_thread_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_thread_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_thread_a_LIBADD = libags.a
+libags_audio_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_audio_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+libags_audio_a_LIBADD = libags_thread.a libags.a
+libags_gui_a_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+libags_gui_a_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+gsequencer_CFLAGS = @CFLAGS@ -g --pedantic -Wall -O -I./src -I/usr/include $(UUID_CFLAGS) $(LIBAO_CFLAGS) $(LIBASOUND2_CFLAGS) $(LIBXML2_CFLAGS) $(SNDFILE_CFLAGS) $(LIBINSTPATCH_CFLAGS) $(GOBJECT_CFLAGS) $(GDKPIXBUF_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS)
+gsequencer_LDFLAGS = @LDFLAGS@ -L/lib -L/usr/lib -L/usr/X11/lib -lm -pthread -lrt -lgmp $(UUID_LIBS) $(LIBAO_LIBS) $(LIBASOUND2_LIBS) $(LIBXML2_LIBS) $(SNDFILE_LIBS) $(LIBINSTPATCH_LIBS) $(GOBJECT_LIBS) $(GDKPIXBUF_LIBS) $(CAIRO_LIBS) $(GTK_LIBS)
+gsequencer_LDADD = libags_audio.a libags_gui.a libags_thread.a libags.a
+ACLOCAL_AMFLAGS = -I m4
+
+# libags all files
+deprecated_ags_lib_h_sources =
+ags_lib_h_sources = \
+ $(deprecated_ags_lib_h_sources) \
+ src/ags-lib/object/ags_connectable.h \
+ src/ags/lib/ags_combo_box_text.h \
+ src/ags/lib/ags_container.h \
+ src/ags/lib/ags_list.h \
+ src/ags/lib/ags_log.h \
+ src/ags/lib/ags_parameter.h
+
+deprecated_ags_lib_c_sources =
+ags_lib_c_sources = \
+ $(deprecated_ags_lib_c_sources) \
+ src/ags-lib/object/ags_connectable.c \
+ src/ags/lib/ags_combo_box_text.c \
+ src/ags/lib/ags_container.c \
+ src/ags/lib/ags_list.c \
+ src/ags/lib/ags_log.c \
+ src/ags/lib/ags_parameter.c
+
+deprecated_ags_util_h_sources =
+ags_util_h_sources = \
+ $(deprecated_ags_util_h_sources) \
+ src/ags/util/ags_id_generator.h
+
+deprecated_ags_util_c_sources =
+ags_util_c_sources = \
+ $(deprecated_ags_util_c_sources) \
+ src/ags/util/ags_id_generator.c
+
+deprecated_ags_object_h_sources =
+ags_object_h_sources = \
+ $(deprecated_ags_object_h_sources) \
+ src/ags/object/ags_applicable.h \
+ src/ags/object/ags_countable.h \
+ src/ags/object/ags_dynamic_connectable.h \
+ src/ags/object/ags_effect.h \
+ src/ags/object/ags_main_loop.h \
+ src/ags/object/ags_marshal.h \
+ src/ags/object/ags_mutable.h \
+ src/ags/object/ags_packable.h \
+ src/ags/object/ags_persistable.h \
+ src/ags/object/ags_playable.h \
+ src/ags/object/ags_plugin.h \
+ src/ags/object/ags_portlet.h \
+ src/ags/object/ags_runnable.h \
+ src/ags/object/ags_seekable.h \
+ src/ags/object/ags_soundcard.h \
+ src/ags/object/ags_stackable.h \
+ src/ags/object/ags_tactable.h \
+ src/ags/object/ags_tree_iterator.h
+
+deprecated_ags_object_c_sources =
+ags_object_c_sources = \
+ $(deprecated_ags_object_c_sources) \
+ src/ags/object/ags_applicable.c \
+ src/ags/object/ags_countable.c \
+ src/ags/object/ags_dynamic_connectable.c \
+ src/ags/object/ags_effect.c \
+ src/ags/object/ags_main_loop.c \
+ src/ags/object/ags_marshal.c \
+ src/ags/object/ags_mutable.c \
+ src/ags/object/ags_packable.c \
+ src/ags/object/ags_persistable.c \
+ src/ags/object/ags_plugin.c \
+ src/ags/object/ags_portlet.c \
+ src/ags/object/ags_runnable.c \
+ src/ags/object/ags_seekable.c \
+ src/ags/object/ags_soundcard.c \
+ src/ags/object/ags_stackable.c \
+ src/ags/object/ags_tactable.c \
+ src/ags/object/ags_tree_iterator.c
+
+deprecated_ags_plugin_h_sources =
+ags_plugin_h_sources = \
+ $(deprecated_ags_plugin_h_sources) \
+ src/ags/plugin/ags_ladspa_manager.h \
+ src/ags/plugin/ags_plugin_factory.h \
+ src/ags/plugin/ags_plugin_stock.h
+
+deprecated_ags_plugin_c_sources =
+ags_plugin_c_sources = \
+ $(deprecated_ags_plugin_c_sources) \
+ src/ags/plugin/ags_ladspa_manager.c \
+ src/ags/plugin/ags_plugin_factory.c
+
+
+# libags_thread all files
+deprecated_ags_thread_h_sources = \
+ src/ags/thread/ags_history.h
+
+ags_thread_h_sources = \
+ $(deprecated_ags_thread_h_sources) \
+ src/ags/thread/ags_async_queue.h \
+ src/ags/thread/ags_audio_loop.h \
+ src/ags/thread/ags_autosave_thread.h \
+ src/ags/thread/ags_devout_thread.h \
+ src/ags/thread/ags_export_thread.h \
+ src/ags/thread/ags_gui_task_thread.h \
+ src/ags/thread/ags_gui_thread.h \
+ src/ags/thread/ags_iterator_thread.h \
+ src/ags/thread/ags_record_thread.h \
+ src/ags/thread/ags_recycling_thread_callbacks.h \
+ src/ags/thread/ags_recycling_thread.h \
+ src/ags/thread/ags_returnable_thread.h \
+ src/ags/thread/ags_single_thread.h \
+ src/ags/thread/ags_task_thread.h \
+ src/ags/thread/ags_thread_pool.h \
+ src/ags/thread/ags_thread-posix.h \
+ src/ags/thread/ags_timestamp_thread.h
+
+deprecated_ags_thread_c_sources =
+ags_thread_c_sources = \
+ $(deprecated_ags_thread_c_sources) \
+ src/ags/thread/ags_async_queue.c \
+ src/ags/thread/ags_audio_loop.c \
+ src/ags/thread/ags_autosave_thread.c \
+ src/ags/thread/ags_devout_thread.c \
+ src/ags/thread/ags_export_thread.c \
+ src/ags/thread/ags_gui_task_thread.c \
+ src/ags/thread/ags_gui_thread.c \
+ src/ags/thread/ags_iterator_thread.c \
+ src/ags/thread/ags_record_thread.c \
+ src/ags/thread/ags_recycling_thread_callbacks.c \
+ src/ags/thread/ags_recycling_thread.c \
+ src/ags/thread/ags_returnable_thread.c \
+ src/ags/thread/ags_single_thread.c \
+ src/ags/thread/ags_task_thread.c \
+ src/ags/thread/ags_thread_pool.c \
+ src/ags/thread/ags_thread-posix.c \
+ src/ags/thread/ags_timestamp_thread.c
+
+
+# libags_gui all files
+odeprecated_ags_widget_h_sources =
+ags_widget_h_sources = \
+ $(deprecated_ags_widget_h_sources) \
+ src/ags/widget/ags_cartesian.h \
+ src/ags/widget/ags_dial.h \
+ src/ags/widget/ags_expander.h \
+ src/ags/widget/ags_expander_set.h \
+ src/ags/widget/ags_hindicator.h \
+ src/ags/widget/ags_htimebar.h \
+ src/ags/widget/ags_indicator.h \
+ src/ags/widget/ags_led.h \
+ src/ags/widget/ags_menu.h \
+ src/ags/widget/ags_menu_item.h \
+ src/ags/widget/ags_option_menu.h \
+ src/ags/widget/ags_ruler.h \
+ src/ags/widget/ags_segment.h \
+ src/ags/widget/ags_table.h \
+ src/ags/widget/ags_timebar.h \
+ src/ags/widget/ags_vindicator.h \
+ src/ags/widget/ags_waveform.h
+
+deprecated_ags_widget_c_sources =
+ags_widget_c_sources = \
+ $(deprecated_ags_widget_c_sources) \
+ src/ags/widget/ags_cartesian.c \
+ src/ags/widget/ags_dial.c \
+ src/ags/widget/ags_expander.c \
+ src/ags/widget/ags_expander_set.c \
+ src/ags/widget/ags_hindicator.c \
+ src/ags/widget/ags_htimebar.c \
+ src/ags/widget/ags_indicator.c \
+ src/ags/widget/ags_led.c \
+ src/ags/widget/ags_menu.c \
+ src/ags/widget/ags_menu_item.c \
+ src/ags/widget/ags_option_menu.c \
+ src/ags/widget/ags_ruler.c \
+ src/ags/widget/ags_segment.c \
+ src/ags/widget/ags_table.c \
+ src/ags/widget/ags_timebar.c \
+ src/ags/widget/ags_vindicator.c \
+ src/ags/widget/ags_waveform.c
+
+
+# libags_audio all files
+deprecated_ags_audio_h_sources = \
+ src/ags/audio/ags_garbage_collector.h \
+ src/ags/audio/ags_effect.h \
+ src/ags/audio/ags_libao.h \
+ src/ags/audio/ags_timestamp.h \
+ src/ags/audio/ags_timestamp_factory.h
+
+ags_audio_h_sources = \
+ $(deprecated_ags_audio_h_sources) \
+ src/ags/audio/ags_acceleration.h \
+ src/ags/audio/ags_audio.h \
+ src/ags/audio/ags_audio_signal.h \
+ src/ags/audio/ags_automation.h \
+ src/ags/audio/ags_channel.h \
+ src/ags/audio/ags_channel_iter.h \
+ src/ags/audio/ags_config.h \
+ src/ags/audio/ags_devout.h \
+ src/ags/audio/ags_input.h \
+ src/ags/audio/ags_notation.h \
+ src/ags/audio/ags_note.h \
+ src/ags/audio/ags_output.h \
+ src/ags/audio/ags_pattern.h \
+ src/ags/audio/ags_port.h \
+ src/ags/audio/ags_recall_audio.h \
+ src/ags/audio/ags_recall_audio_run.h \
+ src/ags/audio/ags_recall_audio_signal.h \
+ src/ags/audio/ags_recall_channel.h \
+ src/ags/audio/ags_recall_channel_run_dummy.h \
+ src/ags/audio/ags_recall_channel_run.h \
+ src/ags/audio/ags_recall_container.h \
+ src/ags/audio/ags_recall_dependency.h \
+ src/ags/audio/ags_recall_factory.h \
+ src/ags/audio/ags_recall.h \
+ src/ags/audio/ags_recall_id.h \
+ src/ags/audio/ags_recall_ladspa.h \
+ src/ags/audio/ags_recall_ladspa_run.h \
+ src/ags/audio/ags_recall_recycling_dummy.h \
+ src/ags/audio/ags_recall_recycling.h \
+ src/ags/audio/ags_recycling_container.h \
+ src/ags/audio/ags_recycling.h \
+ src/ags/audio/ags_synths.h \
+ src/ags/audio/ags_task.h \
+ src/ags/audio/ags_timestamp_factory.h \
+ src/ags/audio/ags_timestamp.h
+
+deprecated_ags_audio_c_sources = \
+ src/ags/audio/ags_garbage_collector.c \
+ src/ags/audio/ags_libao.c \
+ src/ags/audio/ags_timestamp.c \
+ src/ags/audio/ags_timestamp_factory.c
+
+ags_audio_c_sources = \
+ $(deprecated_ags_audio_c_sources) \
+ src/ags/audio/ags_acceleration.c \
+ src/ags/object/ags_playable.c \
+ src/ags/audio/ags_audio.c \
+ src/ags/audio/ags_audio_signal.c \
+ src/ags/audio/ags_automation.c \
+ src/ags/audio/ags_channel.c \
+ src/ags/audio/ags_channel_iter.c \
+ src/ags/audio/ags_config.c \
+ src/ags/audio/ags_devout.c \
+ src/ags/audio/ags_input.c \
+ src/ags/audio/ags_notation.c \
+ src/ags/audio/ags_note.c \
+ src/ags/audio/ags_output.c \
+ src/ags/audio/ags_pattern.c \
+ src/ags/audio/ags_port.c \
+ src/ags/audio/ags_recall_audio.c \
+ src/ags/audio/ags_recall_audio_run.c \
+ src/ags/audio/ags_recall_audio_signal.c \
+ src/ags/audio/ags_recall_channel.c \
+ src/ags/audio/ags_recall_channel_run_dummy.c \
+ src/ags/audio/ags_recall_channel_run.c \
+ src/ags/audio/ags_recall_container.c \
+ src/ags/audio/ags_recall_dependency.c \
+ src/ags/audio/ags_recall_factory.c \
+ src/ags/audio/ags_recall.c \
+ src/ags/audio/ags_recall_id.c \
+ src/ags/audio/ags_recall_ladspa.c \
+ src/ags/audio/ags_recall_ladspa_run.c \
+ src/ags/audio/ags_recall_recycling_dummy.c \
+ src/ags/audio/ags_recall_recycling.c \
+ src/ags/audio/ags_recycling_container.c \
+ src/ags/audio/ags_recycling.c \
+ src/ags/audio/ags_synths.c \
+ src/ags/audio/ags_task.c \
+ src/ags/audio/ags_timestamp_factory.c \
+ src/ags/audio/ags_timestamp.c
+
+deprecated_ags_audio_file_h_sources = \
+ src/ags/audio/file/ags_audio_file_xml.h
+
+ags_audio_file_h_sources = \
+ $(deprecated_ags_audio_file_h_sources) \
+ src/ags/audio/file/ags_audio_file.h \
+ src/ags/audio/file/ags_ipatch.h \
+ src/ags/audio/file/ags_ipatch_sf2_reader.h \
+ src/ags/audio/file/ags_sndfile.h
+
+deprecated_ags_audio_file_c_sources = \
+ src/ags/audio/file/ags_audio_file_xml.c
+
+ags_audio_file_c_sources = \
+ $(deprecated_ags_audio_file_c_sources) \
+ src/ags/audio/file/ags_audio_file.c \
+ src/ags/audio/file/ags_ipatch.c \
+ src/ags/audio/file/ags_ipatch_sf2_reader.c \
+ src/ags/audio/file/ags_sndfile.c
+
+deprecated_ags_audio_recall_h_sources = \
+ src/ags/audio/recall/ags_amplifier.h \
+ src/ags/audio/recall/ags_clone_channel.h \
+ src/ags/audio/recall/ags_clone_channel_run.h \
+ src/ags/audio/recall/ags_down_mix.h \
+ src/ags/audio/recall/ags_echo.h \
+ src/ags/audio/recall/ags_loop_channel.h \
+ src/ags/audio/recall/ags_loop_channel_run.h \
+ src/ags/audio/recall/ags_play_note.h \
+ src/ags/audio/recall/ags_stream.h
+
+ags_audio_recall_h_sources = \
+ $(deprecated_ags_audio_recall_h_sources) \
+ src/ags/audio/recall/ags_buffer_audio_signal.h \
+ src/ags/audio/recall/ags_buffer_channel.h \
+ src/ags/audio/recall/ags_buffer_channel_run.h \
+ src/ags/audio/recall/ags_buffer_recycling.h \
+ src/ags/audio/recall/ags_copy_audio_signal.h \
+ src/ags/audio/recall/ags_copy_channel.h \
+ src/ags/audio/recall/ags_copy_channel_run.h \
+ src/ags/audio/recall/ags_copy_notation_audio.h \
+ src/ags/audio/recall/ags_copy_notation_audio_run.h \
+ src/ags/audio/recall/ags_copy_pattern_audio.h \
+ src/ags/audio/recall/ags_copy_pattern_audio_run.h \
+ src/ags/audio/recall/ags_copy_pattern_channel.h \
+ src/ags/audio/recall/ags_copy_pattern_channel_run.h \
+ src/ags/audio/recall/ags_copy_recycling.h \
+ src/ags/audio/recall/ags_count_beats_audio.h \
+ src/ags/audio/recall/ags_count_beats_audio_run.h \
+ src/ags/audio/recall/ags_delay_audio.h \
+ src/ags/audio/recall/ags_delay_audio_run.h \
+ src/ags/audio/recall/ags_mute_audio.h \
+ src/ags/audio/recall/ags_mute_audio_signal.h \
+ src/ags/audio/recall/ags_mute_channel.h \
+ src/ags/audio/recall/ags_mute_channel_run.h \
+ src/ags/audio/recall/ags_mute_recycling.h \
+ src/ags/audio/recall/ags_peak_channel.h \
+ src/ags/audio/recall/ags_peak_channel_run.h \
+ src/ags/audio/recall/ags_play_audio_file.h \
+ src/ags/audio/recall/ags_play_audio.h \
+ src/ags/audio/recall/ags_play_audio_signal.h \
+ src/ags/audio/recall/ags_play_channel.h \
+ src/ags/audio/recall/ags_play_channel_run.h \
+ src/ags/audio/recall/ags_play_channel_run_master.h \
+ src/ags/audio/recall/ags_play_notation_audio.h \
+ src/ags/audio/recall/ags_play_notation_audio_run.h \
+ src/ags/audio/recall/ags_play_pattern.h \
+ src/ags/audio/recall/ags_play_recycling.h \
+ src/ags/audio/recall/ags_stream_audio_signal.h \
+ src/ags/audio/recall/ags_stream_channel.h \
+ src/ags/audio/recall/ags_stream_channel_run.h \
+ src/ags/audio/recall/ags_stream_recycling.h \
+ src/ags/audio/recall/ags_volume_audio_signal.h \
+ src/ags/audio/recall/ags_volume_channel.h \
+ src/ags/audio/recall/ags_volume_channel_run.h \
+ src/ags/audio/recall/ags_volume_recycling.h
+
+deprecated_ags_audio_recall_c_sources = \
+ src/ags/audio/recall/ags_amplifier.c \
+ src/ags/audio/recall/ags_clone_channel.c \
+ src/ags/audio/recall/ags_clone_channel_run.c \
+ src/ags/audio/recall/ags_echo.c \
+ src/ags/audio/recall/ags_loop_channel.c \
+ src/ags/audio/recall/ags_loop_channel_run.c \
+ src/ags/audio/recall/ags_play_note.c \
+ src/ags/audio/recall/ags_stream.c
+
+ags_audio_recall_c_sources = \
+ $(deprecated_ags_audio_recall_c_sources) \
+ src/ags/audio/recall/ags_buffer_audio_signal.c \
+ src/ags/audio/recall/ags_buffer_channel.c \
+ src/ags/audio/recall/ags_buffer_channel_run.c \
+ src/ags/audio/recall/ags_buffer_recycling.c \
+ src/ags/audio/recall/ags_copy_audio_signal.c \
+ src/ags/audio/recall/ags_copy_channel.c \
+ src/ags/audio/recall/ags_copy_channel_run.c \
+ src/ags/audio/recall/ags_copy_notation_audio.c \
+ src/ags/audio/recall/ags_copy_notation_audio_run.c \
+ src/ags/audio/recall/ags_copy_pattern_audio.c \
+ src/ags/audio/recall/ags_copy_pattern_audio_run.c \
+ src/ags/audio/recall/ags_copy_pattern_channel.c \
+ src/ags/audio/recall/ags_copy_pattern_channel_run.c \
+ src/ags/audio/recall/ags_copy_recycling.c \
+ src/ags/audio/recall/ags_count_beats_audio.c \
+ src/ags/audio/recall/ags_count_beats_audio_run.c \
+ src/ags/audio/recall/ags_delay_audio.c \
+ src/ags/audio/recall/ags_delay_audio_run.c \
+ src/ags/audio/recall/ags_mute_audio.c \
+ src/ags/audio/recall/ags_mute_audio_signal.c \
+ src/ags/audio/recall/ags_mute_channel.c \
+ src/ags/audio/recall/ags_mute_channel_run.c \
+ src/ags/audio/recall/ags_mute_recycling.c \
+ src/ags/audio/recall/ags_peak_channel.c \
+ src/ags/audio/recall/ags_peak_channel_run.c \
+ src/ags/audio/recall/ags_play_audio_file.c \
+ src/ags/audio/recall/ags_play_audio.c \
+ src/ags/audio/recall/ags_play_audio_signal.c \
+ src/ags/audio/recall/ags_play_channel.c \
+ src/ags/audio/recall/ags_play_channel_run.c \
+ src/ags/audio/recall/ags_play_channel_run_master.c \
+ src/ags/audio/recall/ags_play_notation_audio.c \
+ src/ags/audio/recall/ags_play_notation_audio_run.c \
+ src/ags/audio/recall/ags_play_pattern.c \
+ src/ags/audio/recall/ags_play_recycling.c \
+ src/ags/audio/recall/ags_stream_audio_signal.c \
+ src/ags/audio/recall/ags_stream_channel.c \
+ src/ags/audio/recall/ags_stream_channel_run.c \
+ src/ags/audio/recall/ags_stream_recycling.c \
+ src/ags/audio/recall/ags_volume_audio_signal.c \
+ src/ags/audio/recall/ags_volume_channel.c \
+ src/ags/audio/recall/ags_volume_channel_run.c \
+ src/ags/audio/recall/ags_volume_recycling.c
+
+deprecated_ags_task_h_sources = \
+ src/ags/audio/task/ags_apply_wavetable.h
+
+ags_audio_task_h_sources = \
+ $(deprecated_ags_audio_task_h_sources) \
+ src/ags/audio/task/ags_add_audio.h \
+ src/ags/audio/task/ags_add_audio_signal.h \
+ src/ags/audio/task/ags_add_note.h \
+ src/ags/audio/task/ags_add_recall_container.h \
+ src/ags/audio/task/ags_add_recall.h \
+ src/ags/audio/task/ags_append_audio.h \
+ src/ags/audio/task/ags_append_audio_threaded.h \
+ src/ags/audio/task/ags_append_channel.h \
+ src/ags/audio/task/ags_append_recall.h \
+ src/ags/audio/task/ags_apply_synth.h \
+ src/ags/audio/task/ags_audio_set_recycling.h \
+ src/ags/audio/task/ags_cancel_audio.h \
+ src/ags/audio/task/ags_cancel_channel.h \
+ src/ags/audio/task/ags_cancel_recall.h \
+ src/ags/audio/task/ags_channel_set_recycling.h \
+ src/ags/audio/task/ags_export_output.h \
+ src/ags/audio/task/ags_init_audio.h \
+ src/ags/audio/task/ags_init_channel.h \
+ src/ags/audio/task/ags_link_channel.h \
+ src/ags/audio/task/ags_open_file.h \
+ src/ags/audio/task/ags_open_single_file.h \
+ src/ags/audio/task/ags_remove_audio.h \
+ src/ags/audio/task/ags_remove_audio_signal.h \
+ src/ags/audio/task/ags_remove_note.h \
+ src/ags/audio/task/ags_remove_recall_container.h \
+ src/ags/audio/task/ags_remove_recall.h \
+ src/ags/audio/task/ags_remove_region_from_selection.h \
+ src/ags/audio/task/ags_resize_audio.h \
+ src/ags/audio/task/ags_set_audio_channels.h \
+ src/ags/audio/task/ags_set_buffer_size.h \
+ src/ags/audio/task/ags_set_devout_play_flags.h \
+ src/ags/audio/task/ags_set_output_device.h \
+ src/ags/audio/task/ags_set_samplerate.h \
+ src/ags/audio/task/ags_start_devout.h \
+ src/ags/audio/task/ags_unref_audio_signal.h
+
+ags_xorg_task_h_sources = \
+ src/ags/audio/task/ags_add_point_to_selection.h \
+ src/ags/audio/task/ags_add_region_to_selection.h \
+ src/ags/audio/task/ags_add_line_member.h \
+ src/ags/audio/task/ags_add_bulk_member.h \
+ src/ags/audio/task/ags_update_bulk_member.h \
+ src/ags/audio/task/ags_change_indicator.h \
+ src/ags/audio/task/ags_change_tact.h \
+ src/ags/audio/task/ags_display_tact.h \
+ src/ags/audio/task/ags_free_selection.h \
+ src/ags/audio/task/ags_remove_point_from_selection.h \
+ src/ags/audio/task/ags_save_file.h \
+ src/ags/audio/task/ags_scroll_on_play.h \
+ src/ags/audio/task/ags_toggle_led.h \
+ src/ags/audio/task/ags_toggle_pattern_bit.h
+
+deprecated_ags_task_c_sources = \
+ src/ags/audio/task/ags_apply_wavetable.c
+
+ags_audio_task_c_sources = \
+ $(deprecated_ags_audio_task_c_sources) \
+ src/ags/audio/task/ags_add_audio.c \
+ src/ags/audio/task/ags_add_audio_signal.c \
+ src/ags/audio/task/ags_add_note.c \
+ src/ags/audio/task/ags_add_recall_container.c \
+ src/ags/audio/task/ags_add_recall.c \
+ src/ags/audio/task/ags_append_audio.c \
+ src/ags/audio/task/ags_append_audio_threaded.c \
+ src/ags/audio/task/ags_append_channel.c \
+ src/ags/audio/task/ags_append_recall.c \
+ src/ags/audio/task/ags_apply_synth.c \
+ src/ags/audio/task/ags_audio_set_recycling.c \
+ src/ags/audio/task/ags_cancel_audio.c \
+ src/ags/audio/task/ags_cancel_channel.c \
+ src/ags/audio/task/ags_cancel_recall.c \
+ src/ags/audio/task/ags_channel_set_recycling.c \
+ src/ags/audio/task/ags_export_output.c \
+ src/ags/audio/task/ags_init_audio.c \
+ src/ags/audio/task/ags_init_channel.c \
+ src/ags/audio/task/ags_link_channel.c \
+ src/ags/audio/task/ags_open_file.c \
+ src/ags/audio/task/ags_open_single_file.c \
+ src/ags/audio/task/ags_remove_audio.c \
+ src/ags/audio/task/ags_remove_audio_signal.c \
+ src/ags/audio/task/ags_remove_note.c \
+ src/ags/audio/task/ags_remove_recall_container.c \
+ src/ags/audio/task/ags_remove_recall.c \
+ src/ags/audio/task/ags_remove_region_from_selection.c \
+ src/ags/audio/task/ags_resize_audio.c \
+ src/ags/audio/task/ags_set_audio_channels.c \
+ src/ags/audio/task/ags_set_buffer_size.c \
+ src/ags/audio/task/ags_set_devout_play_flags.c \
+ src/ags/audio/task/ags_set_output_device.c \
+ src/ags/audio/task/ags_set_samplerate.c \
+ src/ags/audio/task/ags_start_devout.c \
+ src/ags/audio/task/ags_unref_audio_signal.c
+
+ags_xorg_task_c_sources = \
+ src/ags/audio/task/ags_add_line_member.c \
+ src/ags/audio/task/ags_add_bulk_member.c \
+ src/ags/audio/task/ags_update_bulk_member.c \
+ src/ags/audio/task/ags_add_point_to_selection.c \
+ src/ags/audio/task/ags_add_region_to_selection.c \
+ src/ags/audio/task/ags_change_indicator.c \
+ src/ags/audio/task/ags_change_tact.c \
+ src/ags/audio/task/ags_display_tact.c \
+ src/ags/audio/task/ags_free_selection.c \
+ src/ags/audio/task/ags_remove_point_from_selection.c \
+ src/ags/audio/task/ags_save_file.c \
+ src/ags/audio/task/ags_scroll_on_play.c \
+ src/ags/audio/task/ags_toggle_led.c \
+ src/ags/audio/task/ags_toggle_pattern_bit.c
+
+deprecated_ags_audio_task_recall_h_sources =
+ags_audio_task_recall_h_sources = \
+ $(deprecated_ags_audio_task_recall_h_sources) \
+ src/ags/audio/task/recall/ags_apply_bpm.h \
+ src/ags/audio/task/recall/ags_apply_sequencer_length.h \
+ src/ags/audio/task/recall/ags_apply_tact.h \
+ src/ags/audio/task/recall/ags_set_muted.h
+
+deprecated_ags_audio_task_recall_c_sources =
+ags_audio_task_recall_c_sources = \
+ $(deprecated_ags_audio_task_recall_c_sources) \
+ src/ags/audio/task/recall/ags_apply_bpm.c \
+ src/ags/audio/task/recall/ags_apply_sequencer_length.c \
+ src/ags/audio/task/recall/ags_apply_tact.c \
+ src/ags/audio/task/recall/ags_set_muted.c
+
+
+# gsequencer all files
+gsequencer_main_h_sources = \
+ src/ags/main.h
+
+gsequencer_main_c_sources = \
+ src/ags/main.c
+
+deprecated_gsequencer_server_h_sources =
+gsequencer_server_h_sources = \
+ $(deprecated_gsequencer_server_h_sources) \
+ src/ags/server/ags_registry.h \
+ src/ags/server/ags_remote_task.h \
+ src/ags/server/ags_server.h
+
+deprecated_gsequencer_server_c_sources =
+gsequencer_server_c_sources = \
+ $(deprecated_gsequencer_server_c_sources) \
+ src/ags/server/ags_registry.c \
+ src/ags/server/ags_remote_task.c \
+ src/ags/server/ags_server.c
+
+deprecated_gsequencer_xorg_h_sources =
+gsequencer_xorg_h_sources = \
+ $(deprecated_gsequencer_xorg_h_sources) \
+ src/ags/X/ags_audio_preferences_callbacks.h \
+ src/ags/X/ags_audio_preferences.h \
+ src/ags/X/ags_automation_editor_callbacks.h \
+ src/ags/X/ags_automation_editor.h \
+ src/ags/X/ags_editor_callbacks.h \
+ src/ags/X/ags_editor.h \
+ src/ags/X/ags_effect_bridge_callbacks.h \
+ src/ags/X/ags_effect_bridge.h \
+ src/ags/X/ags_effect_bulk_callbacks.h \
+ src/ags/X/ags_effect_bulk.h \
+ src/ags/X/ags_bulk_member_callbacks.h \
+ src/ags/X/ags_bulk_member.h \
+ src/ags/X/ags_effect_line_callbacks.h \
+ src/ags/X/ags_effect_line.h \
+ src/ags/X/ags_effect_pad_callbacks.h \
+ src/ags/X/ags_effect_pad.h \
+ src/ags/X/ags_export_window_callbacks.h \
+ src/ags/X/ags_export_window.h \
+ src/ags/X/ags_generic_preferences_callbacks.h \
+ src/ags/X/ags_generic_preferences.h \
+ src/ags/X/ags_ladspa_browser_callbacks.h \
+ src/ags/X/ags_ladspa_browser.h \
+ src/ags/X/ags_line_callbacks.h \
+ src/ags/X/ags_line_editor_callbacks.h \
+ src/ags/X/ags_line_editor.h \
+ src/ags/X/ags_line.h \
+ src/ags/X/ags_line_member_callbacks.h \
+ src/ags/X/ags_line_member_editor_callbacks.h \
+ src/ags/X/ags_line_member_editor.h \
+ src/ags/X/ags_line_member.h \
+ src/ags/X/ags_link_collection_editor_callbacks.h \
+ src/ags/X/ags_link_collection_editor.h \
+ src/ags/X/ags_link_editor_callbacks.h \
+ src/ags/X/ags_link_editor.h \
+ src/ags/X/ags_listing_editor_callbacks.h \
+ src/ags/X/ags_listing_editor.h \
+ src/ags/X/ags_machine_callbacks.h \
+ src/ags/X/ags_machine_editor_callbacks.h \
+ src/ags/X/ags_machine_editor.h \
+ src/ags/X/ags_machine.h \
+ src/ags/X/ags_menu_bar_callbacks.h \
+ src/ags/X/ags_menu_bar.h \
+ src/ags/X/ags_navigation_callbacks.h \
+ src/ags/X/ags_navigation.h \
+ src/ags/X/ags_pad_callbacks.h \
+ src/ags/X/ags_pad_editor_callbacks.h \
+ src/ags/X/ags_pad_editor.h \
+ src/ags/X/ags_pad.h \
+ src/ags/X/ags_performance_preferences_callbacks.h \
+ src/ags/X/ags_performance_preferences.h \
+ src/ags/X/ags_plugin_preferences_callbacks.h \
+ src/ags/X/ags_plugin_preferences.h \
+ src/ags/X/ags_preferences_callbacks.h \
+ src/ags/X/ags_preferences.h \
+ src/ags/X/ags_property_collection_editor_callbacks.h \
+ src/ags/X/ags_property_collection_editor.h \
+ src/ags/X/ags_property_editor_callbacks.h \
+ src/ags/X/ags_property_editor.h \
+ src/ags/X/ags_property_listing_editor.h \
+ src/ags/X/ags_resize_editor.h \
+ src/ags/X/ags_server_preferences_callbacks.h \
+ src/ags/X/ags_server_preferences.h \
+ src/ags/X/ags_window_callbacks.h \
+ src/ags/X/ags_window.h
+
+deprecated_gsequencer_xorg_c_sources =
+gsequencer_xorg_c_sources = \
+ $(deprecated_gsequencer_xorg_c_sources) \
+ src/ags/X/ags_audio_preferences_callbacks.c \
+ src/ags/X/ags_audio_preferences.c \
+ src/ags/X/ags_automation_editor_callbacks.c \
+ src/ags/X/ags_automation_editor.c \
+ src/ags/X/ags_editor_callbacks.c \
+ src/ags/X/ags_editor.c \
+ src/ags/X/ags_effect_bridge_callbacks.c \
+ src/ags/X/ags_effect_bridge.c \
+ src/ags/X/ags_effect_bulk_callbacks.c \
+ src/ags/X/ags_effect_bulk.c \
+ src/ags/X/ags_bulk_member.c \
+ src/ags/X/ags_bulk_member_callbacks.c \
+ src/ags/X/ags_effect_line_callbacks.c \
+ src/ags/X/ags_effect_line.c \
+ src/ags/X/ags_effect_pad_callbacks.c \
+ src/ags/X/ags_effect_pad.c \
+ src/ags/X/ags_export_window_callbacks.c \
+ src/ags/X/ags_export_window.c \
+ src/ags/X/ags_generic_preferences_callbacks.c \
+ src/ags/X/ags_generic_preferences.c \
+ src/ags/X/ags_ladspa_browser_callbacks.c \
+ src/ags/X/ags_ladspa_browser.c \
+ src/ags/X/ags_line_callbacks.c \
+ src/ags/X/ags_line_editor_callbacks.c \
+ src/ags/X/ags_line_editor.c \
+ src/ags/X/ags_line.c \
+ src/ags/X/ags_line_member_callbacks.c \
+ src/ags/X/ags_line_member_editor_callbacks.c \
+ src/ags/X/ags_line_member_editor.c \
+ src/ags/X/ags_line_member.c \
+ src/ags/X/ags_link_collection_editor_callbacks.c \
+ src/ags/X/ags_link_collection_editor.c \
+ src/ags/X/ags_link_editor_callbacks.c \
+ src/ags/X/ags_link_editor.c \
+ src/ags/X/ags_listing_editor_callbacks.c \
+ src/ags/X/ags_listing_editor.c \
+ src/ags/X/ags_machine_callbacks.c \
+ src/ags/X/ags_machine_editor_callbacks.c \
+ src/ags/X/ags_machine_editor.c \
+ src/ags/X/ags_machine.c \
+ src/ags/X/ags_menu_bar_callbacks.c \
+ src/ags/X/ags_menu_bar.c \
+ src/ags/X/ags_navigation_callbacks.c \
+ src/ags/X/ags_navigation.c \
+ src/ags/X/ags_pad_callbacks.c \
+ src/ags/X/ags_pad_editor_callbacks.c \
+ src/ags/X/ags_pad_editor.c \
+ src/ags/X/ags_pad.c \
+ src/ags/X/ags_performance_preferences_callbacks.c \
+ src/ags/X/ags_performance_preferences.c \
+ src/ags/X/ags_plugin_preferences_callbacks.c \
+ src/ags/X/ags_plugin_preferences.c \
+ src/ags/X/ags_preferences_callbacks.c \
+ src/ags/X/ags_preferences.c \
+ src/ags/X/ags_property_collection_editor_callbacks.c \
+ src/ags/X/ags_property_collection_editor.c \
+ src/ags/X/ags_property_editor_callbacks.c \
+ src/ags/X/ags_property_editor.c \
+ src/ags/X/ags_property_listing_editor.c \
+ src/ags/X/ags_resize_editor.c \
+ src/ags/X/ags_server_preferences_callbacks.c \
+ src/ags/X/ags_server_preferences.c \
+ src/ags/X/ags_window_callbacks.c \
+ src/ags/X/ags_window.c
+
+deprecated_gsequencer_machine_h_sources =
+gsequencer_machine_h_sources = \
+ $(deprecated_gsequencer_machine_h_sources) \
+ src/ags/X/machine/ags_drum_callbacks.h \
+ src/ags/X/machine/ags_drum.h \
+ src/ags/X/machine/ags_drum_input_line_callbacks.h \
+ src/ags/X/machine/ags_drum_input_line.h \
+ src/ags/X/machine/ags_drum_input_pad_callbacks.h \
+ src/ags/X/machine/ags_drum_input_pad.h \
+ src/ags/X/machine/ags_drum_output_line_callbacks.h \
+ src/ags/X/machine/ags_drum_output_line.h \
+ src/ags/X/machine/ags_drum_output_pad_callbacks.h \
+ src/ags/X/machine/ags_drum_output_pad.h \
+ src/ags/X/machine/ags_ffplayer_bridge_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_bridge.h \
+ src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_bulk_input.h \
+ src/ags/X/machine/ags_ffplayer_callbacks.h \
+ src/ags/X/machine/ags_ffplayer.h \
+ src/ags/X/machine/ags_ffplayer_input_line_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_input_line.h \
+ src/ags/X/machine/ags_ffplayer_input_pad_callbacks.h \
+ src/ags/X/machine/ags_ffplayer_input_pad.h \
+ src/ags/X/machine/ags_ladspa_bridge_callbacks.h \
+ src/ags/X/machine/ags_ladspa_bridge.h \
+ src/ags/X/machine/ags_matrix_bridge_callbacks.h \
+ src/ags/X/machine/ags_matrix_bridge.h \
+ src/ags/X/machine/ags_matrix_bulk_input_callbacks.h \
+ src/ags/X/machine/ags_matrix_bulk_input.h \
+ src/ags/X/machine/ags_matrix_callbacks.h \
+ src/ags/X/machine/ags_matrix.h \
+ src/ags/X/machine/ags_mixer_callbacks.h \
+ src/ags/X/machine/ags_mixer.h \
+ src/ags/X/machine/ags_mixer_input_line.h \
+ src/ags/X/machine/ags_mixer_input_pad.h \
+ src/ags/X/machine/ags_oscillator_callbacks.h \
+ src/ags/X/machine/ags_oscillator.h \
+ src/ags/X/machine/ags_panel_callbacks.h \
+ src/ags/X/machine/ags_panel.h \
+ src/ags/X/machine/ags_panel_input_line.h \
+ src/ags/X/machine/ags_panel_input_pad.h \
+ src/ags/X/machine/ags_synth_bridge_callbacks.h \
+ src/ags/X/machine/ags_synth_bridge.h \
+ src/ags/X/machine/ags_synth_bulk_output_callbacks.h \
+ src/ags/X/machine/ags_synth_bulk_output.h \
+ src/ags/X/machine/ags_synth_callbacks.h \
+ src/ags/X/machine/ags_synth.h \
+ src/ags/X/machine/ags_synth_input_line.h \
+ src/ags/X/machine/ags_synth_input_pad.h \
+ src/ags/X/machine/ags_synth_output_line_callbacks.h \
+ src/ags/X/machine/ags_synth_output_line.h \
+ src/ags/X/machine/ags_synth_output_pad_callbacks.h \
+ src/ags/X/machine/ags_synth_output_pad.h
+
+deprecated_gsequencer_machine_c_sources =
+gsequencer_machine_c_sources = \
+ $(deprecated_gsequencer_machine_c_sources) \
+ src/ags/X/machine/ags_drum_callbacks.c \
+ src/ags/X/machine/ags_drum.c \
+ src/ags/X/machine/ags_drum_input_line_callbacks.c \
+ src/ags/X/machine/ags_drum_input_line.c \
+ src/ags/X/machine/ags_drum_input_pad_callbacks.c \
+ src/ags/X/machine/ags_drum_input_pad.c \
+ src/ags/X/machine/ags_drum_output_line_callbacks.c \
+ src/ags/X/machine/ags_drum_output_line.c \
+ src/ags/X/machine/ags_drum_output_pad_callbacks.c \
+ src/ags/X/machine/ags_drum_output_pad.c \
+ src/ags/X/machine/ags_ffplayer_bridge_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_bridge.c \
+ src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_bulk_input.c \
+ src/ags/X/machine/ags_ffplayer_callbacks.c \
+ src/ags/X/machine/ags_ffplayer.c \
+ src/ags/X/machine/ags_ffplayer_input_line_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_input_line.c \
+ src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c \
+ src/ags/X/machine/ags_ffplayer_input_pad.c \
+ src/ags/X/machine/ags_ladspa_bridge_callbacks.c \
+ src/ags/X/machine/ags_ladspa_bridge.c \
+ src/ags/X/machine/ags_matrix_bridge_callbacks.c \
+ src/ags/X/machine/ags_matrix_bridge.c \
+ src/ags/X/machine/ags_matrix_bulk_input_callbacks.c \
+ src/ags/X/machine/ags_matrix_bulk_input.c \
+ src/ags/X/machine/ags_matrix_callbacks.c \
+ src/ags/X/machine/ags_matrix.c \
+ src/ags/X/machine/ags_mixer_callbacks.c \
+ src/ags/X/machine/ags_mixer.c \
+ src/ags/X/machine/ags_mixer_input_line.c \
+ src/ags/X/machine/ags_mixer_input_pad.c \
+ src/ags/X/machine/ags_oscillator_callbacks.c \
+ src/ags/X/machine/ags_oscillator.c \
+ src/ags/X/machine/ags_panel_callbacks.c \
+ src/ags/X/machine/ags_panel.c \
+ src/ags/X/machine/ags_panel_input_line.c \
+ src/ags/X/machine/ags_panel_input_pad.c \
+ src/ags/X/machine/ags_synth_bridge_callbacks.c \
+ src/ags/X/machine/ags_synth_bridge.c \
+ src/ags/X/machine/ags_synth_bulk_output_callbacks.c \
+ src/ags/X/machine/ags_synth_bulk_output.c \
+ src/ags/X/machine/ags_synth_callbacks.c \
+ src/ags/X/machine/ags_synth.c \
+ src/ags/X/machine/ags_synth_input_line.c \
+ src/ags/X/machine/ags_synth_input_pad.c \
+ src/ags/X/machine/ags_synth_output_line_callbacks.c \
+ src/ags/X/machine/ags_synth_output_line.c \
+ src/ags/X/machine/ags_synth_output_pad_callbacks.c \
+ src/ags/X/machine/ags_synth_output_pad.c
+
+deprecated_gsequencer_editor_h_sources =
+gsequencer_editor_h_sources = \
+ $(deprecated_gsequencer_editor_h_sources) \
+ src/ags/X/editor/ags_automation_area_callbacks.h \
+ src/ags/X/editor/ags_automation_area.h \
+ src/ags/X/editor/ags_automation_edit_callbacks.h \
+ src/ags/X/editor/ags_automation_edit.h \
+ src/ags/X/editor/ags_automation_toolbar_callbacks.h \
+ src/ags/X/editor/ags_automation_toolbar.h \
+ src/ags/X/editor/ags_file_selection_callbacks.h \
+ src/ags/X/editor/ags_file_selection.h \
+ src/ags/X/editor/ags_inline_player_callbacks.h \
+ src/ags/X/editor/ags_inline_player.h \
+ src/ags/X/editor/ags_machine_radio_button.h \
+ src/ags/X/editor/ags_machine_selection.h \
+ src/ags/X/editor/ags_machine_selector_callbacks.h \
+ src/ags/X/editor/ags_machine_selector.h \
+ src/ags/X/editor/ags_meter_callbacks.h \
+ src/ags/X/editor/ags_meter.h \
+ src/ags/X/editor/ags_notebook_callbacks.h \
+ src/ags/X/editor/ags_notebook.h \
+ src/ags/X/editor/ags_note_edit_callbacks.h \
+ src/ags/X/editor/ags_note_edit.h \
+ src/ags/X/editor/ags_pattern_edit_callbacks.h \
+ src/ags/X/editor/ags_pattern_edit.h \
+ src/ags/X/editor/ags_port_selection_callbacks.h \
+ src/ags/X/editor/ags_port_selection.h \
+ src/ags/X/editor/ags_sf2_chooser_callbacks.h \
+ src/ags/X/editor/ags_sf2_chooser.h \
+ src/ags/X/editor/ags_soundset_callbacks.h \
+ src/ags/X/editor/ags_soundset.h \
+ src/ags/X/editor/ags_toolbar_callbacks.h \
+ src/ags/X/editor/ags_toolbar.h \
+ src/ags/X/editor/ags_toolbar_mode_stock.h
+
+deprecated_gsequencer_editor_c_sources =
+gsequencer_editor_c_sources = \
+ $(deprecated_gsequencer_editor_c_sources) \
+ src/ags/X/editor/ags_automation_area_callbacks.c \
+ src/ags/X/editor/ags_automation_area.c \
+ src/ags/X/editor/ags_automation_edit_callbacks.c \
+ src/ags/X/editor/ags_automation_edit.c \
+ src/ags/X/editor/ags_automation_toolbar_callbacks.c \
+ src/ags/X/editor/ags_automation_toolbar.c \
+ src/ags/X/editor/ags_file_selection_callbacks.c \
+ src/ags/X/editor/ags_file_selection.c \
+ src/ags/X/editor/ags_inline_player_callbacks.c \
+ src/ags/X/editor/ags_inline_player.c \
+ src/ags/X/editor/ags_machine_radio_button.c \
+ src/ags/X/editor/ags_machine_selection.c \
+ src/ags/X/editor/ags_machine_selector_callbacks.c \
+ src/ags/X/editor/ags_machine_selector.c \
+ src/ags/X/editor/ags_meter_callbacks.c \
+ src/ags/X/editor/ags_meter.c \
+ src/ags/X/editor/ags_notebook_callbacks.c \
+ src/ags/X/editor/ags_notebook.c \
+ src/ags/X/editor/ags_note_edit_callbacks.c \
+ src/ags/X/editor/ags_note_edit.c \
+ src/ags/X/editor/ags_pattern_edit_callbacks.c \
+ src/ags/X/editor/ags_pattern_edit.c \
+ src/ags/X/editor/ags_port_selection_callbacks.c \
+ src/ags/X/editor/ags_port_selection.c \
+ src/ags/X/editor/ags_sf2_chooser_callbacks.c \
+ src/ags/X/editor/ags_sf2_chooser.c \
+ src/ags/X/editor/ags_soundset_callbacks.c \
+ src/ags/X/editor/ags_soundset.c \
+ src/ags/X/editor/ags_toolbar_callbacks.c \
+ src/ags/X/editor/ags_toolbar.c
+
+deprecated_gsequencer_file_h_sources =
+gsequencer_file_h_sources = \
+ $(deprecated_gsequencer_file_h_sources) \
+ src/ags/file/ags_file_gui.h \
+ src/ags/file/ags_file.h \
+ src/ags/file/ags_file_id_ref.h \
+ src/ags/file/ags_file_launch.h \
+ src/ags/file/ags_file_link.h \
+ src/ags/file/ags_file_lookup.h \
+ src/ags/file/ags_file_read.h \
+ src/ags/file/ags_file_sound.h \
+ src/ags/file/ags_file_stock.h \
+ src/ags/file/ags_file_thread.h \
+ src/ags/file/ags_file_util.h \
+ src/ags/file/ags_file_value_factory.h \
+ src/ags/file/ags_file_write.h
+
+deprecated_gsequencer_file_c_sources =
+gsequencer_file_c_sources = \
+ $(deprecated_gsequencer_file_c_sources) \
+ src/ags/file/ags_file_gui.c \
+ src/ags/file/ags_file.c \
+ src/ags/file/ags_file_id_ref.c \
+ src/ags/file/ags_file_launch.c \
+ src/ags/file/ags_file_link.c \
+ src/ags/file/ags_file_lookup.c \
+ src/ags/file/ags_file_sound.c \
+ src/ags/file/ags_file_thread.c \
+ src/ags/file/ags_file_util.c
+
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+ @test -f $@ || rm -f stamp-h1
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+clean-noinstLIBRARIES:
+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+
+libags.a: $(libags_a_OBJECTS) $(libags_a_DEPENDENCIES) $(EXTRA_libags_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags.a
+ $(AM_V_AR)$(libags_a_AR) libags.a $(libags_a_OBJECTS) $(libags_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags.a
+
+libags_audio.a: $(libags_audio_a_OBJECTS) $(libags_audio_a_DEPENDENCIES) $(EXTRA_libags_audio_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags_audio.a
+ $(AM_V_AR)$(libags_audio_a_AR) libags_audio.a $(libags_audio_a_OBJECTS) $(libags_audio_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags_audio.a
+
+libags_gui.a: $(libags_gui_a_OBJECTS) $(libags_gui_a_DEPENDENCIES) $(EXTRA_libags_gui_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags_gui.a
+ $(AM_V_AR)$(libags_gui_a_AR) libags_gui.a $(libags_gui_a_OBJECTS) $(libags_gui_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags_gui.a
+
+libags_thread.a: $(libags_thread_a_OBJECTS) $(libags_thread_a_DEPENDENCIES) $(EXTRA_libags_thread_a_DEPENDENCIES)
+ $(AM_V_at)-rm -f libags_thread.a
+ $(AM_V_AR)$(libags_thread_a_AR) libags_thread.a $(libags_thread_a_OBJECTS) $(libags_thread_a_LIBADD)
+ $(AM_V_at)$(RANLIB) libags_thread.a
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
+ fi; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p \
+ || test -f $$p1 \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
+ echo " rm -f" $$list; \
+ rm -f $$list || exit $$?; \
+ test -n "$(EXEEXT)" || exit 0; \
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+ echo " rm -f" $$list; \
+ rm -f $$list
+
+gsequencer$(EXEEXT): $(gsequencer_OBJECTS) $(gsequencer_DEPENDENCIES) $(EXTRA_gsequencer_DEPENDENCIES)
+ @rm -f gsequencer$(EXEEXT)
+ $(AM_V_CCLD)$(gsequencer_LINK) $(gsequencer_OBJECTS) $(gsequencer_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_add_bulk_member.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_add_line_member.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_add_point_to_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_add_region_to_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_audio_preferences.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_area.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_area_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_edit.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_toolbar.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_bulk_member.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_change_indicator.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_change_tact.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_display_tact.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_input_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_input_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_output_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_output_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_bridge.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_bulk.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_line_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_export_window.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_export_window_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_bridge.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_input_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_gui.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_id_ref.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_launch.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_link.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_lookup.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_selection_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_sound.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_file_util.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_free_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_generic_preferences.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_inline_player.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_inline_player_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ladspa_bridge.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ladspa_browser.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line_member.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line_member_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line_member_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_link_collection_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_link_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_link_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_listing_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine_radio_button.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine_selector.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_matrix.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_matrix_bridge.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_matrix_bulk_input.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_matrix_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_menu_bar.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_meter.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_meter_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_mixer.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_mixer_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_mixer_input_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_mixer_input_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_navigation.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_navigation_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_note_edit.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_note_edit_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_notebook.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_notebook_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_oscillator.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_oscillator_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_pad_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_pad_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_panel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_panel_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_panel_input_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_panel_input_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_pattern_edit.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_performance_preferences.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_plugin_preferences.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_port_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_port_selection_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_preferences.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_preferences_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_property_collection_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_property_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_property_editor_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_property_listing_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_registry.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_remote_task.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_remove_point_from_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_resize_editor.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_save_file.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_scroll_on_play.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_server.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_server_preferences.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_sf2_chooser.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_soundset.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_soundset_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_bridge.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_bulk_output.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_input_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_input_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_output_line.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_output_pad.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_toggle_led.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_toolbar.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_toolbar_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_update_bulk_member.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_window.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-ags_window_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/gsequencer-main.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_applicable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_combo_box_text.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_connectable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_container.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_countable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_dynamic_connectable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_effect.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_id_generator.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_list.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_log.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_main_loop.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_marshal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_mutable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_packable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_parameter.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_persistable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_plugin.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_portlet.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_runnable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_seekable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_soundcard.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_stackable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_tactable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_a-ags_tree_iterator.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_acceleration.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_add_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_add_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_add_note.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_add_recall.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_add_recall_container.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_amplifier.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_append_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_append_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_append_recall.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_apply_bpm.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_apply_synth.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_apply_tact.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_audio_file.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_audio_file_xml.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_automation.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_buffer_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_buffer_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_cancel_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_cancel_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_cancel_recall.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_channel_iter.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_clone_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_clone_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_config.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_copy_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_count_beats_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_delay_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_delay_audio_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_devout.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_echo.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_export_output.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_garbage_collector.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_init_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_init_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_input.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_ipatch.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_ladspa_manager.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_libao.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_link_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_loop_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_loop_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_mute_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_mute_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_mute_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_mute_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_notation.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_note.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_open_file.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_open_single_file.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_output.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_pattern.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_peak_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_peak_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_audio_file.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_notation_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_note.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_pattern.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_play_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_playable.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_plugin_factory.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_port.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_audio_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_container.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_dependency.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_factory.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_id.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_ladspa.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_recycling_container.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_remove_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_remove_note.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_remove_recall.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_remove_recall_container.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_resize_audio.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_set_audio_channels.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_set_buffer_size.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_set_muted.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_set_output_device.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_set_samplerate.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_sndfile.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_start_devout.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_stream.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_stream_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_stream_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_stream_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_synths.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_task.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_timestamp.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_timestamp_factory.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_volume_channel.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_volume_channel_run.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_audio_a-ags_volume_recycling.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_cartesian.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_dial.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_expander.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_expander_set.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_hindicator.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_htimebar.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_indicator.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_led.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_menu.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_menu_item.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_option_menu.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_ruler.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_segment.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_table.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_timebar.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_vindicator.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_gui_a-ags_waveform.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_async_queue.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_audio_loop.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_autosave_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_devout_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_export_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_gui_task_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_gui_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_iterator_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_record_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_recycling_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_returnable_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_single_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_task_thread.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_thread-posix.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_thread_pool.Po at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libags_thread_a-ags_timestamp_thread.Po at am__quote@
+
+.c.o:
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ $<
+
+.c.obj:
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LTCOMPILE) -c -o $@ $<
+
+libags_a-ags_id_generator.o: src/ags/util/ags_id_generator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_id_generator.o -MD -MP -MF $(DEPDIR)/libags_a-ags_id_generator.Tpo -c -o libags_a-ags_id_generator.o `test -f 'src/ags/util/ags_id_generator.c' || echo '$(srcdir)/'`src/ags/util/ags_id_generator.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_id_generator.Tpo $(DEPDIR)/libags_a-ags_id_generator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/util/ags_id_generator.c' object='libags_a-ags_id_generator.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_id_generator.o `test -f 'src/ags/util/ags_id_generator.c' || echo '$(srcdir)/'`src/ags/util/ags_id_generator.c
+
+libags_a-ags_id_generator.obj: src/ags/util/ags_id_generator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_id_generator.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_id_generator.Tpo -c -o libags_a-ags_id_generator.obj `if test -f 'src/ags/util/ags_id_generator.c'; then $(CYGPATH_W) 'src/ags/util/ags_id_generator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/util/ags_id_generator.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_id_generator.Tpo $(DEPDIR)/libags_a-ags_id_generator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/util/ags_id_generator.c' object='libags_a-ags_id_generator.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_id_generator.obj `if test -f 'src/ags/util/ags_id_generator.c'; then $(CYGPATH_W) 'src/ags/util/ags_id_generator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/util/ags_id_generator.c'; fi`
+
+libags_a-ags_connectable.o: src/ags-lib/object/ags_connectable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_connectable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_connectable.Tpo -c -o libags_a-ags_connectable.o `test -f 'src/ags-lib/object/ags_connectable.c' || echo '$(srcdir)/'`src/ags-lib/object/ags_connectable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_connectable.Tpo $(DEPDIR)/libags_a-ags_connectable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags-lib/object/ags_connectable.c' object='libags_a-ags_connectable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_connectable.o `test -f 'src/ags-lib/object/ags_connectable.c' || echo '$(srcdir)/'`src/ags-lib/object/ags_connectable.c
+
+libags_a-ags_connectable.obj: src/ags-lib/object/ags_connectable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_connectable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_connectable.Tpo -c -o libags_a-ags_connectable.obj `if test -f 'src/ags-lib/object/ags_connectable.c'; then $(CYGPATH_W) 'src/ags-lib/object/ags_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags-lib/object/ags_connectable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_connectable.Tpo $(DEPDIR)/libags_a-ags_connectable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags-lib/object/ags_connectable.c' object='libags_a-ags_connectable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_connectable.obj `if test -f 'src/ags-lib/object/ags_connectable.c'; then $(CYGPATH_W) 'src/ags-lib/object/ags_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags-lib/object/ags_connectable.c'; fi`
+
+libags_a-ags_combo_box_text.o: src/ags/lib/ags_combo_box_text.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_combo_box_text.o -MD -MP -MF $(DEPDIR)/libags_a-ags_combo_box_text.Tpo -c -o libags_a-ags_combo_box_text.o `test -f 'src/ags/lib/ags_combo_box_text.c' || echo '$(srcdir)/'`src/ags/lib/ags_combo_box_text.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_combo_box_text.Tpo $(DEPDIR)/libags_a-ags_combo_box_text.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_combo_box_text.c' object='libags_a-ags_combo_box_text.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_combo_box_text.o `test -f 'src/ags/lib/ags_combo_box_text.c' || echo '$(srcdir)/'`src/ags/lib/ags_combo_box_text.c
+
+libags_a-ags_combo_box_text.obj: src/ags/lib/ags_combo_box_text.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_combo_box_text.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_combo_box_text.Tpo -c -o libags_a-ags_combo_box_text.obj `if test -f 'src/ags/lib/ags_combo_box_text.c'; then $(CYGPATH_W) 'src/ags/lib/ags_combo_box_text.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_combo_box_text.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_combo_box_text.Tpo $(DEPDIR)/libags_a-ags_combo_box_text.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_combo_box_text.c' object='libags_a-ags_combo_box_text.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_combo_box_text.obj `if test -f 'src/ags/lib/ags_combo_box_text.c'; then $(CYGPATH_W) 'src/ags/lib/ags_combo_box_text.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_combo_box_text.c'; fi`
+
+libags_a-ags_container.o: src/ags/lib/ags_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_container.o -MD -MP -MF $(DEPDIR)/libags_a-ags_container.Tpo -c -o libags_a-ags_container.o `test -f 'src/ags/lib/ags_container.c' || echo '$(srcdir)/'`src/ags/lib/ags_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_container.Tpo $(DEPDIR)/libags_a-ags_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_container.c' object='libags_a-ags_container.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_container.o `test -f 'src/ags/lib/ags_container.c' || echo '$(srcdir)/'`src/ags/lib/ags_container.c
+
+libags_a-ags_container.obj: src/ags/lib/ags_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_container.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_container.Tpo -c -o libags_a-ags_container.obj `if test -f 'src/ags/lib/ags_container.c'; then $(CYGPATH_W) 'src/ags/lib/ags_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_container.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_container.Tpo $(DEPDIR)/libags_a-ags_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_container.c' object='libags_a-ags_container.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_container.obj `if test -f 'src/ags/lib/ags_container.c'; then $(CYGPATH_W) 'src/ags/lib/ags_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_container.c'; fi`
+
+libags_a-ags_list.o: src/ags/lib/ags_list.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_list.o -MD -MP -MF $(DEPDIR)/libags_a-ags_list.Tpo -c -o libags_a-ags_list.o `test -f 'src/ags/lib/ags_list.c' || echo '$(srcdir)/'`src/ags/lib/ags_list.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_list.Tpo $(DEPDIR)/libags_a-ags_list.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_list.c' object='libags_a-ags_list.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_list.o `test -f 'src/ags/lib/ags_list.c' || echo '$(srcdir)/'`src/ags/lib/ags_list.c
+
+libags_a-ags_list.obj: src/ags/lib/ags_list.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_list.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_list.Tpo -c -o libags_a-ags_list.obj `if test -f 'src/ags/lib/ags_list.c'; then $(CYGPATH_W) 'src/ags/lib/ags_list.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_list.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_list.Tpo $(DEPDIR)/libags_a-ags_list.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_list.c' object='libags_a-ags_list.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_list.obj `if test -f 'src/ags/lib/ags_list.c'; then $(CYGPATH_W) 'src/ags/lib/ags_list.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_list.c'; fi`
+
+libags_a-ags_log.o: src/ags/lib/ags_log.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_log.o -MD -MP -MF $(DEPDIR)/libags_a-ags_log.Tpo -c -o libags_a-ags_log.o `test -f 'src/ags/lib/ags_log.c' || echo '$(srcdir)/'`src/ags/lib/ags_log.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_log.Tpo $(DEPDIR)/libags_a-ags_log.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_log.c' object='libags_a-ags_log.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_log.o `test -f 'src/ags/lib/ags_log.c' || echo '$(srcdir)/'`src/ags/lib/ags_log.c
+
+libags_a-ags_log.obj: src/ags/lib/ags_log.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_log.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_log.Tpo -c -o libags_a-ags_log.obj `if test -f 'src/ags/lib/ags_log.c'; then $(CYGPATH_W) 'src/ags/lib/ags_log.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_log.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_log.Tpo $(DEPDIR)/libags_a-ags_log.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_log.c' object='libags_a-ags_log.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_log.obj `if test -f 'src/ags/lib/ags_log.c'; then $(CYGPATH_W) 'src/ags/lib/ags_log.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_log.c'; fi`
+
+libags_a-ags_parameter.o: src/ags/lib/ags_parameter.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_parameter.o -MD -MP -MF $(DEPDIR)/libags_a-ags_parameter.Tpo -c -o libags_a-ags_parameter.o `test -f 'src/ags/lib/ags_parameter.c' || echo '$(srcdir)/'`src/ags/lib/ags_parameter.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_parameter.Tpo $(DEPDIR)/libags_a-ags_parameter.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_parameter.c' object='libags_a-ags_parameter.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_parameter.o `test -f 'src/ags/lib/ags_parameter.c' || echo '$(srcdir)/'`src/ags/lib/ags_parameter.c
+
+libags_a-ags_parameter.obj: src/ags/lib/ags_parameter.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_parameter.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_parameter.Tpo -c -o libags_a-ags_parameter.obj `if test -f 'src/ags/lib/ags_parameter.c'; then $(CYGPATH_W) 'src/ags/lib/ags_parameter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_parameter.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_parameter.Tpo $(DEPDIR)/libags_a-ags_parameter.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/lib/ags_parameter.c' object='libags_a-ags_parameter.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_parameter.obj `if test -f 'src/ags/lib/ags_parameter.c'; then $(CYGPATH_W) 'src/ags/lib/ags_parameter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/lib/ags_parameter.c'; fi`
+
+libags_a-ags_applicable.o: src/ags/object/ags_applicable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_applicable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_applicable.Tpo -c -o libags_a-ags_applicable.o `test -f 'src/ags/object/ags_applicable.c' || echo '$(srcdir)/'`src/ags/object/ags_applicable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_applicable.Tpo $(DEPDIR)/libags_a-ags_applicable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_applicable.c' object='libags_a-ags_applicable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_applicable.o `test -f 'src/ags/object/ags_applicable.c' || echo '$(srcdir)/'`src/ags/object/ags_applicable.c
+
+libags_a-ags_applicable.obj: src/ags/object/ags_applicable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_applicable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_applicable.Tpo -c -o libags_a-ags_applicable.obj `if test -f 'src/ags/object/ags_applicable.c'; then $(CYGPATH_W) 'src/ags/object/ags_applicable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_applicable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_applicable.Tpo $(DEPDIR)/libags_a-ags_applicable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_applicable.c' object='libags_a-ags_applicable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_applicable.obj `if test -f 'src/ags/object/ags_applicable.c'; then $(CYGPATH_W) 'src/ags/object/ags_applicable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_applicable.c'; fi`
+
+libags_a-ags_countable.o: src/ags/object/ags_countable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_countable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_countable.Tpo -c -o libags_a-ags_countable.o `test -f 'src/ags/object/ags_countable.c' || echo '$(srcdir)/'`src/ags/object/ags_countable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_countable.Tpo $(DEPDIR)/libags_a-ags_countable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_countable.c' object='libags_a-ags_countable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_countable.o `test -f 'src/ags/object/ags_countable.c' || echo '$(srcdir)/'`src/ags/object/ags_countable.c
+
+libags_a-ags_countable.obj: src/ags/object/ags_countable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_countable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_countable.Tpo -c -o libags_a-ags_countable.obj `if test -f 'src/ags/object/ags_countable.c'; then $(CYGPATH_W) 'src/ags/object/ags_countable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_countable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_countable.Tpo $(DEPDIR)/libags_a-ags_countable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_countable.c' object='libags_a-ags_countable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_countable.obj `if test -f 'src/ags/object/ags_countable.c'; then $(CYGPATH_W) 'src/ags/object/ags_countable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_countable.c'; fi`
+
+libags_a-ags_dynamic_connectable.o: src/ags/object/ags_dynamic_connectable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_dynamic_connectable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo -c -o libags_a-ags_dynamic_connectable.o `test -f 'src/ags/object/ags_dynamic_connectable.c' || echo '$(srcdir)/'`src/ags/object/ags_dynamic_connectable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo $(DEPDIR)/libags_a-ags_dynamic_connectable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_dynamic_connectable.c' object='libags_a-ags_dynamic_connectable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_dynamic_connectable.o `test -f 'src/ags/object/ags_dynamic_connectable.c' || echo '$(srcdir)/'`src/ags/object/ags_dynamic_connectable.c
+
+libags_a-ags_dynamic_connectable.obj: src/ags/object/ags_dynamic_connectable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_dynamic_connectable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo -c -o libags_a-ags_dynamic_connectable.obj `if test -f 'src/ags/object/ags_dynamic_connectable.c'; then $(CYGPATH_W) 'src/ags/object/ags_dynamic_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_dynamic_connectable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_dynamic_connectable.Tpo $(DEPDIR)/libags_a-ags_dynamic_connectable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_dynamic_connectable.c' object='libags_a-ags_dynamic_connectable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_dynamic_connectable.obj `if test -f 'src/ags/object/ags_dynamic_connectable.c'; then $(CYGPATH_W) 'src/ags/object/ags_dynamic_connectable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_dynamic_connectable.c'; fi`
+
+libags_a-ags_effect.o: src/ags/object/ags_effect.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_effect.o -MD -MP -MF $(DEPDIR)/libags_a-ags_effect.Tpo -c -o libags_a-ags_effect.o `test -f 'src/ags/object/ags_effect.c' || echo '$(srcdir)/'`src/ags/object/ags_effect.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_effect.Tpo $(DEPDIR)/libags_a-ags_effect.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_effect.c' object='libags_a-ags_effect.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_effect.o `test -f 'src/ags/object/ags_effect.c' || echo '$(srcdir)/'`src/ags/object/ags_effect.c
+
+libags_a-ags_effect.obj: src/ags/object/ags_effect.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_effect.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_effect.Tpo -c -o libags_a-ags_effect.obj `if test -f 'src/ags/object/ags_effect.c'; then $(CYGPATH_W) 'src/ags/object/ags_effect.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_effect.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_effect.Tpo $(DEPDIR)/libags_a-ags_effect.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_effect.c' object='libags_a-ags_effect.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_effect.obj `if test -f 'src/ags/object/ags_effect.c'; then $(CYGPATH_W) 'src/ags/object/ags_effect.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_effect.c'; fi`
+
+libags_a-ags_main_loop.o: src/ags/object/ags_main_loop.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_main_loop.o -MD -MP -MF $(DEPDIR)/libags_a-ags_main_loop.Tpo -c -o libags_a-ags_main_loop.o `test -f 'src/ags/object/ags_main_loop.c' || echo '$(srcdir)/'`src/ags/object/ags_main_loop.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_main_loop.Tpo $(DEPDIR)/libags_a-ags_main_loop.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_main_loop.c' object='libags_a-ags_main_loop.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_main_loop.o `test -f 'src/ags/object/ags_main_loop.c' || echo '$(srcdir)/'`src/ags/object/ags_main_loop.c
+
+libags_a-ags_main_loop.obj: src/ags/object/ags_main_loop.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_main_loop.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_main_loop.Tpo -c -o libags_a-ags_main_loop.obj `if test -f 'src/ags/object/ags_main_loop.c'; then $(CYGPATH_W) 'src/ags/object/ags_main_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_main_loop.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_main_loop.Tpo $(DEPDIR)/libags_a-ags_main_loop.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_main_loop.c' object='libags_a-ags_main_loop.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_main_loop.obj `if test -f 'src/ags/object/ags_main_loop.c'; then $(CYGPATH_W) 'src/ags/object/ags_main_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_main_loop.c'; fi`
+
+libags_a-ags_marshal.o: src/ags/object/ags_marshal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_marshal.o -MD -MP -MF $(DEPDIR)/libags_a-ags_marshal.Tpo -c -o libags_a-ags_marshal.o `test -f 'src/ags/object/ags_marshal.c' || echo '$(srcdir)/'`src/ags/object/ags_marshal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_marshal.Tpo $(DEPDIR)/libags_a-ags_marshal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_marshal.c' object='libags_a-ags_marshal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_marshal.o `test -f 'src/ags/object/ags_marshal.c' || echo '$(srcdir)/'`src/ags/object/ags_marshal.c
+
+libags_a-ags_marshal.obj: src/ags/object/ags_marshal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_marshal.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_marshal.Tpo -c -o libags_a-ags_marshal.obj `if test -f 'src/ags/object/ags_marshal.c'; then $(CYGPATH_W) 'src/ags/object/ags_marshal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_marshal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_marshal.Tpo $(DEPDIR)/libags_a-ags_marshal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_marshal.c' object='libags_a-ags_marshal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_marshal.obj `if test -f 'src/ags/object/ags_marshal.c'; then $(CYGPATH_W) 'src/ags/object/ags_marshal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_marshal.c'; fi`
+
+libags_a-ags_mutable.o: src/ags/object/ags_mutable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_mutable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_mutable.Tpo -c -o libags_a-ags_mutable.o `test -f 'src/ags/object/ags_mutable.c' || echo '$(srcdir)/'`src/ags/object/ags_mutable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_mutable.Tpo $(DEPDIR)/libags_a-ags_mutable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_mutable.c' object='libags_a-ags_mutable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_mutable.o `test -f 'src/ags/object/ags_mutable.c' || echo '$(srcdir)/'`src/ags/object/ags_mutable.c
+
+libags_a-ags_mutable.obj: src/ags/object/ags_mutable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_mutable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_mutable.Tpo -c -o libags_a-ags_mutable.obj `if test -f 'src/ags/object/ags_mutable.c'; then $(CYGPATH_W) 'src/ags/object/ags_mutable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_mutable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_mutable.Tpo $(DEPDIR)/libags_a-ags_mutable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_mutable.c' object='libags_a-ags_mutable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_mutable.obj `if test -f 'src/ags/object/ags_mutable.c'; then $(CYGPATH_W) 'src/ags/object/ags_mutable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_mutable.c'; fi`
+
+libags_a-ags_packable.o: src/ags/object/ags_packable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_packable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_packable.Tpo -c -o libags_a-ags_packable.o `test -f 'src/ags/object/ags_packable.c' || echo '$(srcdir)/'`src/ags/object/ags_packable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_packable.Tpo $(DEPDIR)/libags_a-ags_packable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_packable.c' object='libags_a-ags_packable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_packable.o `test -f 'src/ags/object/ags_packable.c' || echo '$(srcdir)/'`src/ags/object/ags_packable.c
+
+libags_a-ags_packable.obj: src/ags/object/ags_packable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_packable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_packable.Tpo -c -o libags_a-ags_packable.obj `if test -f 'src/ags/object/ags_packable.c'; then $(CYGPATH_W) 'src/ags/object/ags_packable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_packable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_packable.Tpo $(DEPDIR)/libags_a-ags_packable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_packable.c' object='libags_a-ags_packable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_packable.obj `if test -f 'src/ags/object/ags_packable.c'; then $(CYGPATH_W) 'src/ags/object/ags_packable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_packable.c'; fi`
+
+libags_a-ags_persistable.o: src/ags/object/ags_persistable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_persistable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_persistable.Tpo -c -o libags_a-ags_persistable.o `test -f 'src/ags/object/ags_persistable.c' || echo '$(srcdir)/'`src/ags/object/ags_persistable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_persistable.Tpo $(DEPDIR)/libags_a-ags_persistable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_persistable.c' object='libags_a-ags_persistable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_persistable.o `test -f 'src/ags/object/ags_persistable.c' || echo '$(srcdir)/'`src/ags/object/ags_persistable.c
+
+libags_a-ags_persistable.obj: src/ags/object/ags_persistable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_persistable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_persistable.Tpo -c -o libags_a-ags_persistable.obj `if test -f 'src/ags/object/ags_persistable.c'; then $(CYGPATH_W) 'src/ags/object/ags_persistable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_persistable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_persistable.Tpo $(DEPDIR)/libags_a-ags_persistable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_persistable.c' object='libags_a-ags_persistable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_persistable.obj `if test -f 'src/ags/object/ags_persistable.c'; then $(CYGPATH_W) 'src/ags/object/ags_persistable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_persistable.c'; fi`
+
+libags_a-ags_plugin.o: src/ags/object/ags_plugin.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_plugin.o -MD -MP -MF $(DEPDIR)/libags_a-ags_plugin.Tpo -c -o libags_a-ags_plugin.o `test -f 'src/ags/object/ags_plugin.c' || echo '$(srcdir)/'`src/ags/object/ags_plugin.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_plugin.Tpo $(DEPDIR)/libags_a-ags_plugin.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_plugin.c' object='libags_a-ags_plugin.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_plugin.o `test -f 'src/ags/object/ags_plugin.c' || echo '$(srcdir)/'`src/ags/object/ags_plugin.c
+
+libags_a-ags_plugin.obj: src/ags/object/ags_plugin.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_plugin.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_plugin.Tpo -c -o libags_a-ags_plugin.obj `if test -f 'src/ags/object/ags_plugin.c'; then $(CYGPATH_W) 'src/ags/object/ags_plugin.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_plugin.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_plugin.Tpo $(DEPDIR)/libags_a-ags_plugin.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_plugin.c' object='libags_a-ags_plugin.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_plugin.obj `if test -f 'src/ags/object/ags_plugin.c'; then $(CYGPATH_W) 'src/ags/object/ags_plugin.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_plugin.c'; fi`
+
+libags_a-ags_portlet.o: src/ags/object/ags_portlet.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_portlet.o -MD -MP -MF $(DEPDIR)/libags_a-ags_portlet.Tpo -c -o libags_a-ags_portlet.o `test -f 'src/ags/object/ags_portlet.c' || echo '$(srcdir)/'`src/ags/object/ags_portlet.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_portlet.Tpo $(DEPDIR)/libags_a-ags_portlet.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_portlet.c' object='libags_a-ags_portlet.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_portlet.o `test -f 'src/ags/object/ags_portlet.c' || echo '$(srcdir)/'`src/ags/object/ags_portlet.c
+
+libags_a-ags_portlet.obj: src/ags/object/ags_portlet.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_portlet.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_portlet.Tpo -c -o libags_a-ags_portlet.obj `if test -f 'src/ags/object/ags_portlet.c'; then $(CYGPATH_W) 'src/ags/object/ags_portlet.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_portlet.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_portlet.Tpo $(DEPDIR)/libags_a-ags_portlet.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_portlet.c' object='libags_a-ags_portlet.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_portlet.obj `if test -f 'src/ags/object/ags_portlet.c'; then $(CYGPATH_W) 'src/ags/object/ags_portlet.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_portlet.c'; fi`
+
+libags_a-ags_runnable.o: src/ags/object/ags_runnable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_runnable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_runnable.Tpo -c -o libags_a-ags_runnable.o `test -f 'src/ags/object/ags_runnable.c' || echo '$(srcdir)/'`src/ags/object/ags_runnable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_runnable.Tpo $(DEPDIR)/libags_a-ags_runnable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_runnable.c' object='libags_a-ags_runnable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_runnable.o `test -f 'src/ags/object/ags_runnable.c' || echo '$(srcdir)/'`src/ags/object/ags_runnable.c
+
+libags_a-ags_runnable.obj: src/ags/object/ags_runnable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_runnable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_runnable.Tpo -c -o libags_a-ags_runnable.obj `if test -f 'src/ags/object/ags_runnable.c'; then $(CYGPATH_W) 'src/ags/object/ags_runnable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_runnable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_runnable.Tpo $(DEPDIR)/libags_a-ags_runnable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_runnable.c' object='libags_a-ags_runnable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_runnable.obj `if test -f 'src/ags/object/ags_runnable.c'; then $(CYGPATH_W) 'src/ags/object/ags_runnable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_runnable.c'; fi`
+
+libags_a-ags_seekable.o: src/ags/object/ags_seekable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_seekable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_seekable.Tpo -c -o libags_a-ags_seekable.o `test -f 'src/ags/object/ags_seekable.c' || echo '$(srcdir)/'`src/ags/object/ags_seekable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_seekable.Tpo $(DEPDIR)/libags_a-ags_seekable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_seekable.c' object='libags_a-ags_seekable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_seekable.o `test -f 'src/ags/object/ags_seekable.c' || echo '$(srcdir)/'`src/ags/object/ags_seekable.c
+
+libags_a-ags_seekable.obj: src/ags/object/ags_seekable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_seekable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_seekable.Tpo -c -o libags_a-ags_seekable.obj `if test -f 'src/ags/object/ags_seekable.c'; then $(CYGPATH_W) 'src/ags/object/ags_seekable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_seekable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_seekable.Tpo $(DEPDIR)/libags_a-ags_seekable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_seekable.c' object='libags_a-ags_seekable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_seekable.obj `if test -f 'src/ags/object/ags_seekable.c'; then $(CYGPATH_W) 'src/ags/object/ags_seekable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_seekable.c'; fi`
+
+libags_a-ags_soundcard.o: src/ags/object/ags_soundcard.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_soundcard.o -MD -MP -MF $(DEPDIR)/libags_a-ags_soundcard.Tpo -c -o libags_a-ags_soundcard.o `test -f 'src/ags/object/ags_soundcard.c' || echo '$(srcdir)/'`src/ags/object/ags_soundcard.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_soundcard.Tpo $(DEPDIR)/libags_a-ags_soundcard.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_soundcard.c' object='libags_a-ags_soundcard.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_soundcard.o `test -f 'src/ags/object/ags_soundcard.c' || echo '$(srcdir)/'`src/ags/object/ags_soundcard.c
+
+libags_a-ags_soundcard.obj: src/ags/object/ags_soundcard.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_soundcard.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_soundcard.Tpo -c -o libags_a-ags_soundcard.obj `if test -f 'src/ags/object/ags_soundcard.c'; then $(CYGPATH_W) 'src/ags/object/ags_soundcard.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_soundcard.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_soundcard.Tpo $(DEPDIR)/libags_a-ags_soundcard.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_soundcard.c' object='libags_a-ags_soundcard.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_soundcard.obj `if test -f 'src/ags/object/ags_soundcard.c'; then $(CYGPATH_W) 'src/ags/object/ags_soundcard.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_soundcard.c'; fi`
+
+libags_a-ags_stackable.o: src/ags/object/ags_stackable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_stackable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_stackable.Tpo -c -o libags_a-ags_stackable.o `test -f 'src/ags/object/ags_stackable.c' || echo '$(srcdir)/'`src/ags/object/ags_stackable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_stackable.Tpo $(DEPDIR)/libags_a-ags_stackable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_stackable.c' object='libags_a-ags_stackable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_stackable.o `test -f 'src/ags/object/ags_stackable.c' || echo '$(srcdir)/'`src/ags/object/ags_stackable.c
+
+libags_a-ags_stackable.obj: src/ags/object/ags_stackable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_stackable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_stackable.Tpo -c -o libags_a-ags_stackable.obj `if test -f 'src/ags/object/ags_stackable.c'; then $(CYGPATH_W) 'src/ags/object/ags_stackable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_stackable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_stackable.Tpo $(DEPDIR)/libags_a-ags_stackable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_stackable.c' object='libags_a-ags_stackable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_stackable.obj `if test -f 'src/ags/object/ags_stackable.c'; then $(CYGPATH_W) 'src/ags/object/ags_stackable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_stackable.c'; fi`
+
+libags_a-ags_tactable.o: src/ags/object/ags_tactable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tactable.o -MD -MP -MF $(DEPDIR)/libags_a-ags_tactable.Tpo -c -o libags_a-ags_tactable.o `test -f 'src/ags/object/ags_tactable.c' || echo '$(srcdir)/'`src/ags/object/ags_tactable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tactable.Tpo $(DEPDIR)/libags_a-ags_tactable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_tactable.c' object='libags_a-ags_tactable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tactable.o `test -f 'src/ags/object/ags_tactable.c' || echo '$(srcdir)/'`src/ags/object/ags_tactable.c
+
+libags_a-ags_tactable.obj: src/ags/object/ags_tactable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tactable.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_tactable.Tpo -c -o libags_a-ags_tactable.obj `if test -f 'src/ags/object/ags_tactable.c'; then $(CYGPATH_W) 'src/ags/object/ags_tactable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tactable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tactable.Tpo $(DEPDIR)/libags_a-ags_tactable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_tactable.c' object='libags_a-ags_tactable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tactable.obj `if test -f 'src/ags/object/ags_tactable.c'; then $(CYGPATH_W) 'src/ags/object/ags_tactable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tactable.c'; fi`
+
+libags_a-ags_tree_iterator.o: src/ags/object/ags_tree_iterator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tree_iterator.o -MD -MP -MF $(DEPDIR)/libags_a-ags_tree_iterator.Tpo -c -o libags_a-ags_tree_iterator.o `test -f 'src/ags/object/ags_tree_iterator.c' || echo '$(srcdir)/'`src/ags/object/ags_tree_iterator.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tree_iterator.Tpo $(DEPDIR)/libags_a-ags_tree_iterator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_tree_iterator.c' object='libags_a-ags_tree_iterator.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tree_iterator.o `test -f 'src/ags/object/ags_tree_iterator.c' || echo '$(srcdir)/'`src/ags/object/ags_tree_iterator.c
+
+libags_a-ags_tree_iterator.obj: src/ags/object/ags_tree_iterator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -MT libags_a-ags_tree_iterator.obj -MD -MP -MF $(DEPDIR)/libags_a-ags_tree_iterator.Tpo -c -o libags_a-ags_tree_iterator.obj `if test -f 'src/ags/object/ags_tree_iterator.c'; then $(CYGPATH_W) 'src/ags/object/ags_tree_iterator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tree_iterator.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_a-ags_tree_iterator.Tpo $(DEPDIR)/libags_a-ags_tree_iterator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_tree_iterator.c' object='libags_a-ags_tree_iterator.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_a_CFLAGS) $(CFLAGS) -c -o libags_a-ags_tree_iterator.obj `if test -f 'src/ags/object/ags_tree_iterator.c'; then $(CYGPATH_W) 'src/ags/object/ags_tree_iterator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_tree_iterator.c'; fi`
+
+libags_audio_a-ags_garbage_collector.o: src/ags/audio/ags_garbage_collector.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_garbage_collector.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo -c -o libags_audio_a-ags_garbage_collector.o `test -f 'src/ags/audio/ags_garbage_collector.c' || echo '$(srcdir)/'`src/ags/audio/ags_garbage_collector.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo $(DEPDIR)/libags_audio_a-ags_garbage_collector.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_garbage_collector.c' object='libags_audio_a-ags_garbage_collector.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_garbage_collector.o `test -f 'src/ags/audio/ags_garbage_collector.c' || echo '$(srcdir)/'`src/ags/audio/ags_garbage_collector.c
+
+libags_audio_a-ags_garbage_collector.obj: src/ags/audio/ags_garbage_collector.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_garbage_collector.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo -c -o libags_audio_a-ags_garbage_collector.obj `if test -f 'src/ags/audio/ags_garbage_collector.c'; then $(CYGPATH_W) 'src/ags/audio/ags_garbage_collector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_garbage_collector.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_garbage_collector.Tpo $(DEPDIR)/libags_audio_a-ags_garbage_collector.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_garbage_collector.c' object='libags_audio_a-ags_garbage_collector.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_garbage_collector.obj `if test -f 'src/ags/audio/ags_garbage_collector.c'; then $(CYGPATH_W) 'src/ags/audio/ags_garbage_collector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_garbage_collector.c'; fi`
+
+libags_audio_a-ags_libao.o: src/ags/audio/ags_libao.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_libao.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_libao.Tpo -c -o libags_audio_a-ags_libao.o `test -f 'src/ags/audio/ags_libao.c' || echo '$(srcdir)/'`src/ags/audio/ags_libao.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_libao.Tpo $(DEPDIR)/libags_audio_a-ags_libao.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_libao.c' object='libags_audio_a-ags_libao.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_libao.o `test -f 'src/ags/audio/ags_libao.c' || echo '$(srcdir)/'`src/ags/audio/ags_libao.c
+
+libags_audio_a-ags_libao.obj: src/ags/audio/ags_libao.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_libao.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_libao.Tpo -c -o libags_audio_a-ags_libao.obj `if test -f 'src/ags/audio/ags_libao.c'; then $(CYGPATH_W) 'src/ags/audio/ags_libao.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_libao.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_libao.Tpo $(DEPDIR)/libags_audio_a-ags_libao.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_libao.c' object='libags_audio_a-ags_libao.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_libao.obj `if test -f 'src/ags/audio/ags_libao.c'; then $(CYGPATH_W) 'src/ags/audio/ags_libao.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_libao.c'; fi`
+
+libags_audio_a-ags_timestamp.o: src/ags/audio/ags_timestamp.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo -c -o libags_audio_a-ags_timestamp.o `test -f 'src/ags/audio/ags_timestamp.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_timestamp.c' object='libags_audio_a-ags_timestamp.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp.o `test -f 'src/ags/audio/ags_timestamp.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp.c
+
+libags_audio_a-ags_timestamp.obj: src/ags/audio/ags_timestamp.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo -c -o libags_audio_a-ags_timestamp.obj `if test -f 'src/ags/audio/ags_timestamp.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_timestamp.c' object='libags_audio_a-ags_timestamp.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp.obj `if test -f 'src/ags/audio/ags_timestamp.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp.c'; fi`
+
+libags_audio_a-ags_timestamp_factory.o: src/ags/audio/ags_timestamp_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp_factory.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo -c -o libags_audio_a-ags_timestamp_factory.o `test -f 'src/ags/audio/ags_timestamp_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_timestamp_factory.c' object='libags_audio_a-ags_timestamp_factory.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp_factory.o `test -f 'src/ags/audio/ags_timestamp_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_timestamp_factory.c
+
+libags_audio_a-ags_timestamp_factory.obj: src/ags/audio/ags_timestamp_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_timestamp_factory.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo -c -o libags_audio_a-ags_timestamp_factory.obj `if test -f 'src/ags/audio/ags_timestamp_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp_factory.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Tpo $(DEPDIR)/libags_audio_a-ags_timestamp_factory.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_timestamp_factory.c' object='libags_audio_a-ags_timestamp_factory.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_timestamp_factory.obj `if test -f 'src/ags/audio/ags_timestamp_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_timestamp_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_timestamp_factory.c'; fi`
+
+libags_audio_a-ags_acceleration.o: src/ags/audio/ags_acceleration.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_acceleration.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo -c -o libags_audio_a-ags_acceleration.o `test -f 'src/ags/audio/ags_acceleration.c' || echo '$(srcdir)/'`src/ags/audio/ags_acceleration.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo $(DEPDIR)/libags_audio_a-ags_acceleration.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_acceleration.c' object='libags_audio_a-ags_acceleration.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_acceleration.o `test -f 'src/ags/audio/ags_acceleration.c' || echo '$(srcdir)/'`src/ags/audio/ags_acceleration.c
+
+libags_audio_a-ags_acceleration.obj: src/ags/audio/ags_acceleration.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_acceleration.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo -c -o libags_audio_a-ags_acceleration.obj `if test -f 'src/ags/audio/ags_acceleration.c'; then $(CYGPATH_W) 'src/ags/audio/ags_acceleration.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_acceleration.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_acceleration.Tpo $(DEPDIR)/libags_audio_a-ags_acceleration.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_acceleration.c' object='libags_audio_a-ags_acceleration.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_acceleration.obj `if test -f 'src/ags/audio/ags_acceleration.c'; then $(CYGPATH_W) 'src/ags/audio/ags_acceleration.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_acceleration.c'; fi`
+
+libags_audio_a-ags_playable.o: src/ags/object/ags_playable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_playable.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_playable.Tpo -c -o libags_audio_a-ags_playable.o `test -f 'src/ags/object/ags_playable.c' || echo '$(srcdir)/'`src/ags/object/ags_playable.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_playable.Tpo $(DEPDIR)/libags_audio_a-ags_playable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_playable.c' object='libags_audio_a-ags_playable.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_playable.o `test -f 'src/ags/object/ags_playable.c' || echo '$(srcdir)/'`src/ags/object/ags_playable.c
+
+libags_audio_a-ags_playable.obj: src/ags/object/ags_playable.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_playable.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_playable.Tpo -c -o libags_audio_a-ags_playable.obj `if test -f 'src/ags/object/ags_playable.c'; then $(CYGPATH_W) 'src/ags/object/ags_playable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_playable.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_playable.Tpo $(DEPDIR)/libags_audio_a-ags_playable.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/object/ags_playable.c' object='libags_audio_a-ags_playable.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_playable.obj `if test -f 'src/ags/object/ags_playable.c'; then $(CYGPATH_W) 'src/ags/object/ags_playable.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/object/ags_playable.c'; fi`
+
+libags_audio_a-ags_audio.o: src/ags/audio/ags_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio.Tpo -c -o libags_audio_a-ags_audio.o `test -f 'src/ags/audio/ags_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio.Tpo $(DEPDIR)/libags_audio_a-ags_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_audio.c' object='libags_audio_a-ags_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio.o `test -f 'src/ags/audio/ags_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio.c
+
+libags_audio_a-ags_audio.obj: src/ags/audio/ags_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio.Tpo -c -o libags_audio_a-ags_audio.obj `if test -f 'src/ags/audio/ags_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio.Tpo $(DEPDIR)/libags_audio_a-ags_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_audio.c' object='libags_audio_a-ags_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio.obj `if test -f 'src/ags/audio/ags_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio.c'; fi`
+
+libags_audio_a-ags_audio_signal.o: src/ags/audio/ags_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo -c -o libags_audio_a-ags_audio_signal.o `test -f 'src/ags/audio/ags_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_audio_signal.c' object='libags_audio_a-ags_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_signal.o `test -f 'src/ags/audio/ags_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_audio_signal.c
+
+libags_audio_a-ags_audio_signal.obj: src/ags/audio/ags_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo -c -o libags_audio_a-ags_audio_signal.obj `if test -f 'src/ags/audio/ags_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_audio_signal.c' object='libags_audio_a-ags_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_signal.obj `if test -f 'src/ags/audio/ags_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_audio_signal.c'; fi`
+
+libags_audio_a-ags_automation.o: src/ags/audio/ags_automation.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_automation.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_automation.Tpo -c -o libags_audio_a-ags_automation.o `test -f 'src/ags/audio/ags_automation.c' || echo '$(srcdir)/'`src/ags/audio/ags_automation.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_automation.Tpo $(DEPDIR)/libags_audio_a-ags_automation.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_automation.c' object='libags_audio_a-ags_automation.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_automation.o `test -f 'src/ags/audio/ags_automation.c' || echo '$(srcdir)/'`src/ags/audio/ags_automation.c
+
+libags_audio_a-ags_automation.obj: src/ags/audio/ags_automation.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_automation.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_automation.Tpo -c -o libags_audio_a-ags_automation.obj `if test -f 'src/ags/audio/ags_automation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_automation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_automation.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_automation.Tpo $(DEPDIR)/libags_audio_a-ags_automation.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_automation.c' object='libags_audio_a-ags_automation.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_automation.obj `if test -f 'src/ags/audio/ags_automation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_automation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_automation.c'; fi`
+
+libags_audio_a-ags_channel.o: src/ags/audio/ags_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel.Tpo -c -o libags_audio_a-ags_channel.o `test -f 'src/ags/audio/ags_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel.Tpo $(DEPDIR)/libags_audio_a-ags_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_channel.c' object='libags_audio_a-ags_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel.o `test -f 'src/ags/audio/ags_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel.c
+
+libags_audio_a-ags_channel.obj: src/ags/audio/ags_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel.Tpo -c -o libags_audio_a-ags_channel.obj `if test -f 'src/ags/audio/ags_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel.Tpo $(DEPDIR)/libags_audio_a-ags_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_channel.c' object='libags_audio_a-ags_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel.obj `if test -f 'src/ags/audio/ags_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel.c'; fi`
+
+libags_audio_a-ags_channel_iter.o: src/ags/audio/ags_channel_iter.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_iter.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo -c -o libags_audio_a-ags_channel_iter.o `test -f 'src/ags/audio/ags_channel_iter.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel_iter.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo $(DEPDIR)/libags_audio_a-ags_channel_iter.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_channel_iter.c' object='libags_audio_a-ags_channel_iter.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_iter.o `test -f 'src/ags/audio/ags_channel_iter.c' || echo '$(srcdir)/'`src/ags/audio/ags_channel_iter.c
+
+libags_audio_a-ags_channel_iter.obj: src/ags/audio/ags_channel_iter.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_iter.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo -c -o libags_audio_a-ags_channel_iter.obj `if test -f 'src/ags/audio/ags_channel_iter.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel_iter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel_iter.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_iter.Tpo $(DEPDIR)/libags_audio_a-ags_channel_iter.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_channel_iter.c' object='libags_audio_a-ags_channel_iter.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_iter.obj `if test -f 'src/ags/audio/ags_channel_iter.c'; then $(CYGPATH_W) 'src/ags/audio/ags_channel_iter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_channel_iter.c'; fi`
+
+libags_audio_a-ags_config.o: src/ags/audio/ags_config.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_config.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_config.Tpo -c -o libags_audio_a-ags_config.o `test -f 'src/ags/audio/ags_config.c' || echo '$(srcdir)/'`src/ags/audio/ags_config.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_config.Tpo $(DEPDIR)/libags_audio_a-ags_config.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_config.c' object='libags_audio_a-ags_config.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_config.o `test -f 'src/ags/audio/ags_config.c' || echo '$(srcdir)/'`src/ags/audio/ags_config.c
+
+libags_audio_a-ags_config.obj: src/ags/audio/ags_config.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_config.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_config.Tpo -c -o libags_audio_a-ags_config.obj `if test -f 'src/ags/audio/ags_config.c'; then $(CYGPATH_W) 'src/ags/audio/ags_config.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_config.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_config.Tpo $(DEPDIR)/libags_audio_a-ags_config.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_config.c' object='libags_audio_a-ags_config.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_config.obj `if test -f 'src/ags/audio/ags_config.c'; then $(CYGPATH_W) 'src/ags/audio/ags_config.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_config.c'; fi`
+
+libags_audio_a-ags_devout.o: src/ags/audio/ags_devout.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_devout.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_devout.Tpo -c -o libags_audio_a-ags_devout.o `test -f 'src/ags/audio/ags_devout.c' || echo '$(srcdir)/'`src/ags/audio/ags_devout.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_devout.Tpo $(DEPDIR)/libags_audio_a-ags_devout.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_devout.c' object='libags_audio_a-ags_devout.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_devout.o `test -f 'src/ags/audio/ags_devout.c' || echo '$(srcdir)/'`src/ags/audio/ags_devout.c
+
+libags_audio_a-ags_devout.obj: src/ags/audio/ags_devout.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_devout.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_devout.Tpo -c -o libags_audio_a-ags_devout.obj `if test -f 'src/ags/audio/ags_devout.c'; then $(CYGPATH_W) 'src/ags/audio/ags_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_devout.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_devout.Tpo $(DEPDIR)/libags_audio_a-ags_devout.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_devout.c' object='libags_audio_a-ags_devout.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_devout.obj `if test -f 'src/ags/audio/ags_devout.c'; then $(CYGPATH_W) 'src/ags/audio/ags_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_devout.c'; fi`
+
+libags_audio_a-ags_input.o: src/ags/audio/ags_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_input.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_input.Tpo -c -o libags_audio_a-ags_input.o `test -f 'src/ags/audio/ags_input.c' || echo '$(srcdir)/'`src/ags/audio/ags_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_input.Tpo $(DEPDIR)/libags_audio_a-ags_input.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_input.c' object='libags_audio_a-ags_input.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_input.o `test -f 'src/ags/audio/ags_input.c' || echo '$(srcdir)/'`src/ags/audio/ags_input.c
+
+libags_audio_a-ags_input.obj: src/ags/audio/ags_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_input.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_input.Tpo -c -o libags_audio_a-ags_input.obj `if test -f 'src/ags/audio/ags_input.c'; then $(CYGPATH_W) 'src/ags/audio/ags_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_input.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_input.Tpo $(DEPDIR)/libags_audio_a-ags_input.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_input.c' object='libags_audio_a-ags_input.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_input.obj `if test -f 'src/ags/audio/ags_input.c'; then $(CYGPATH_W) 'src/ags/audio/ags_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_input.c'; fi`
+
+libags_audio_a-ags_notation.o: src/ags/audio/ags_notation.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_notation.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_notation.Tpo -c -o libags_audio_a-ags_notation.o `test -f 'src/ags/audio/ags_notation.c' || echo '$(srcdir)/'`src/ags/audio/ags_notation.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_notation.Tpo $(DEPDIR)/libags_audio_a-ags_notation.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_notation.c' object='libags_audio_a-ags_notation.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_notation.o `test -f 'src/ags/audio/ags_notation.c' || echo '$(srcdir)/'`src/ags/audio/ags_notation.c
+
+libags_audio_a-ags_notation.obj: src/ags/audio/ags_notation.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_notation.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_notation.Tpo -c -o libags_audio_a-ags_notation.obj `if test -f 'src/ags/audio/ags_notation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_notation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_notation.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_notation.Tpo $(DEPDIR)/libags_audio_a-ags_notation.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_notation.c' object='libags_audio_a-ags_notation.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_notation.obj `if test -f 'src/ags/audio/ags_notation.c'; then $(CYGPATH_W) 'src/ags/audio/ags_notation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_notation.c'; fi`
+
+libags_audio_a-ags_note.o: src/ags/audio/ags_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_note.Tpo -c -o libags_audio_a-ags_note.o `test -f 'src/ags/audio/ags_note.c' || echo '$(srcdir)/'`src/ags/audio/ags_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_note.Tpo $(DEPDIR)/libags_audio_a-ags_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_note.c' object='libags_audio_a-ags_note.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_note.o `test -f 'src/ags/audio/ags_note.c' || echo '$(srcdir)/'`src/ags/audio/ags_note.c
+
+libags_audio_a-ags_note.obj: src/ags/audio/ags_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_note.Tpo -c -o libags_audio_a-ags_note.obj `if test -f 'src/ags/audio/ags_note.c'; then $(CYGPATH_W) 'src/ags/audio/ags_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_note.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_note.Tpo $(DEPDIR)/libags_audio_a-ags_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_note.c' object='libags_audio_a-ags_note.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_note.obj `if test -f 'src/ags/audio/ags_note.c'; then $(CYGPATH_W) 'src/ags/audio/ags_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_note.c'; fi`
+
+libags_audio_a-ags_output.o: src/ags/audio/ags_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_output.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_output.Tpo -c -o libags_audio_a-ags_output.o `test -f 'src/ags/audio/ags_output.c' || echo '$(srcdir)/'`src/ags/audio/ags_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_output.Tpo $(DEPDIR)/libags_audio_a-ags_output.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_output.c' object='libags_audio_a-ags_output.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_output.o `test -f 'src/ags/audio/ags_output.c' || echo '$(srcdir)/'`src/ags/audio/ags_output.c
+
+libags_audio_a-ags_output.obj: src/ags/audio/ags_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_output.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_output.Tpo -c -o libags_audio_a-ags_output.obj `if test -f 'src/ags/audio/ags_output.c'; then $(CYGPATH_W) 'src/ags/audio/ags_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_output.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_output.Tpo $(DEPDIR)/libags_audio_a-ags_output.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_output.c' object='libags_audio_a-ags_output.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_output.obj `if test -f 'src/ags/audio/ags_output.c'; then $(CYGPATH_W) 'src/ags/audio/ags_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_output.c'; fi`
+
+libags_audio_a-ags_pattern.o: src/ags/audio/ags_pattern.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_pattern.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_pattern.Tpo -c -o libags_audio_a-ags_pattern.o `test -f 'src/ags/audio/ags_pattern.c' || echo '$(srcdir)/'`src/ags/audio/ags_pattern.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_pattern.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_pattern.c' object='libags_audio_a-ags_pattern.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_pattern.o `test -f 'src/ags/audio/ags_pattern.c' || echo '$(srcdir)/'`src/ags/audio/ags_pattern.c
+
+libags_audio_a-ags_pattern.obj: src/ags/audio/ags_pattern.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_pattern.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_pattern.Tpo -c -o libags_audio_a-ags_pattern.obj `if test -f 'src/ags/audio/ags_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/ags_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_pattern.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_pattern.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_pattern.c' object='libags_audio_a-ags_pattern.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_pattern.obj `if test -f 'src/ags/audio/ags_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/ags_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_pattern.c'; fi`
+
+libags_audio_a-ags_port.o: src/ags/audio/ags_port.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_port.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_port.Tpo -c -o libags_audio_a-ags_port.o `test -f 'src/ags/audio/ags_port.c' || echo '$(srcdir)/'`src/ags/audio/ags_port.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_port.Tpo $(DEPDIR)/libags_audio_a-ags_port.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_port.c' object='libags_audio_a-ags_port.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_port.o `test -f 'src/ags/audio/ags_port.c' || echo '$(srcdir)/'`src/ags/audio/ags_port.c
+
+libags_audio_a-ags_port.obj: src/ags/audio/ags_port.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_port.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_port.Tpo -c -o libags_audio_a-ags_port.obj `if test -f 'src/ags/audio/ags_port.c'; then $(CYGPATH_W) 'src/ags/audio/ags_port.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_port.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_port.Tpo $(DEPDIR)/libags_audio_a-ags_port.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_port.c' object='libags_audio_a-ags_port.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_port.obj `if test -f 'src/ags/audio/ags_port.c'; then $(CYGPATH_W) 'src/ags/audio/ags_port.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_port.c'; fi`
+
+libags_audio_a-ags_recall_audio.o: src/ags/audio/ags_recall_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo -c -o libags_audio_a-ags_recall_audio.o `test -f 'src/ags/audio/ags_recall_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_audio.c' object='libags_audio_a-ags_recall_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio.o `test -f 'src/ags/audio/ags_recall_audio.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio.c
+
+libags_audio_a-ags_recall_audio.obj: src/ags/audio/ags_recall_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo -c -o libags_audio_a-ags_recall_audio.obj `if test -f 'src/ags/audio/ags_recall_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_audio.c' object='libags_audio_a-ags_recall_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio.obj `if test -f 'src/ags/audio/ags_recall_audio.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio.c'; fi`
+
+libags_audio_a-ags_recall_audio_run.o: src/ags/audio/ags_recall_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo -c -o libags_audio_a-ags_recall_audio_run.o `test -f 'src/ags/audio/ags_recall_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_audio_run.c' object='libags_audio_a-ags_recall_audio_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_run.o `test -f 'src/ags/audio/ags_recall_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_run.c
+
+libags_audio_a-ags_recall_audio_run.obj: src/ags/audio/ags_recall_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo -c -o libags_audio_a-ags_recall_audio_run.obj `if test -f 'src/ags/audio/ags_recall_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_audio_run.c' object='libags_audio_a-ags_recall_audio_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_run.obj `if test -f 'src/ags/audio/ags_recall_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_run.c'; fi`
+
+libags_audio_a-ags_recall_audio_signal.o: src/ags/audio/ags_recall_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo -c -o libags_audio_a-ags_recall_audio_signal.o `test -f 'src/ags/audio/ags_recall_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_audio_signal.c' object='libags_audio_a-ags_recall_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_signal.o `test -f 'src/ags/audio/ags_recall_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_audio_signal.c
+
+libags_audio_a-ags_recall_audio_signal.obj: src/ags/audio/ags_recall_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo -c -o libags_audio_a-ags_recall_audio_signal.obj `if test -f 'src/ags/audio/ags_recall_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_recall_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_audio_signal.c' object='libags_audio_a-ags_recall_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_audio_signal.obj `if test -f 'src/ags/audio/ags_recall_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_audio_signal.c'; fi`
+
+libags_audio_a-ags_recall_channel.o: src/ags/audio/ags_recall_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo -c -o libags_audio_a-ags_recall_channel.o `test -f 'src/ags/audio/ags_recall_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_channel.c' object='libags_audio_a-ags_recall_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel.o `test -f 'src/ags/audio/ags_recall_channel.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel.c
+
+libags_audio_a-ags_recall_channel.obj: src/ags/audio/ags_recall_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo -c -o libags_audio_a-ags_recall_channel.obj `if test -f 'src/ags/audio/ags_recall_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_channel.c' object='libags_audio_a-ags_recall_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel.obj `if test -f 'src/ags/audio/ags_recall_channel.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel.c'; fi`
+
+libags_audio_a-ags_recall_channel_run_dummy.o: src/ags/audio/ags_recall_channel_run_dummy.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run_dummy.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo -c -o libags_audio_a-ags_recall_channel_run_dummy.o `test -f 'src/ags/audio/ags_recall_channel_run_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run_dummy.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run_dummy.c' object='libags_audio_a-ags_recall_channel_run_dummy.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run_dummy.o `test -f 'src/ags/audio/ags_recall_channel_run_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run_dummy.c
+
+libags_audio_a-ags_recall_channel_run_dummy.obj: src/ags/audio/ags_recall_channel_run_dummy.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run_dummy.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo -c -o libags_audio_a-ags_recall_channel_run_dummy.obj `if test -f 'src/ags/audio/ags_recall_channel_run_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run_dummy.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run_dummy.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run_dummy.c' object='libags_audio_a-ags_recall_channel_run_dummy.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run_dummy.obj `if test -f 'src/ags/audio/ags_recall_channel_run_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run_dummy.c'; fi`
+
+libags_audio_a-ags_recall_channel_run.o: src/ags/audio/ags_recall_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo -c -o libags_audio_a-ags_recall_channel_run.o `test -f 'src/ags/audio/ags_recall_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run.c' object='libags_audio_a-ags_recall_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run.o `test -f 'src/ags/audio/ags_recall_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_channel_run.c
+
+libags_audio_a-ags_recall_channel_run.obj: src/ags/audio/ags_recall_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo -c -o libags_audio_a-ags_recall_channel_run.obj `if test -f 'src/ags/audio/ags_recall_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_channel_run.c' object='libags_audio_a-ags_recall_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_channel_run.obj `if test -f 'src/ags/audio/ags_recall_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_channel_run.c'; fi`
+
+libags_audio_a-ags_recall_container.o: src/ags/audio/ags_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo -c -o libags_audio_a-ags_recall_container.o `test -f 'src/ags/audio/ags_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_recall_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_container.c' object='libags_audio_a-ags_recall_container.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_container.o `test -f 'src/ags/audio/ags_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_container.c
+
+libags_audio_a-ags_recall_container.obj: src/ags/audio/ags_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo -c -o libags_audio_a-ags_recall_container.obj `if test -f 'src/ags/audio/ags_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_container.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_recall_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_container.c' object='libags_audio_a-ags_recall_container.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_container.obj `if test -f 'src/ags/audio/ags_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_container.c'; fi`
+
+libags_audio_a-ags_recall_dependency.o: src/ags/audio/ags_recall_dependency.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_dependency.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo -c -o libags_audio_a-ags_recall_dependency.o `test -f 'src/ags/audio/ags_recall_dependency.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_dependency.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo $(DEPDIR)/libags_audio_a-ags_recall_dependency.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_dependency.c' object='libags_audio_a-ags_recall_dependency.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_dependency.o `test -f 'src/ags/audio/ags_recall_dependency.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_dependency.c
+
+libags_audio_a-ags_recall_dependency.obj: src/ags/audio/ags_recall_dependency.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_dependency.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo -c -o libags_audio_a-ags_recall_dependency.obj `if test -f 'src/ags/audio/ags_recall_dependency.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_dependency.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_dependency.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_dependency.Tpo $(DEPDIR)/libags_audio_a-ags_recall_dependency.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_dependency.c' object='libags_audio_a-ags_recall_dependency.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_dependency.obj `if test -f 'src/ags/audio/ags_recall_dependency.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_dependency.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_dependency.c'; fi`
+
+libags_audio_a-ags_recall_factory.o: src/ags/audio/ags_recall_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_factory.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo -c -o libags_audio_a-ags_recall_factory.o `test -f 'src/ags/audio/ags_recall_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo $(DEPDIR)/libags_audio_a-ags_recall_factory.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_factory.c' object='libags_audio_a-ags_recall_factory.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_factory.o `test -f 'src/ags/audio/ags_recall_factory.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_factory.c
+
+libags_audio_a-ags_recall_factory.obj: src/ags/audio/ags_recall_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_factory.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo -c -o libags_audio_a-ags_recall_factory.obj `if test -f 'src/ags/audio/ags_recall_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_factory.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_factory.Tpo $(DEPDIR)/libags_audio_a-ags_recall_factory.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_factory.c' object='libags_audio_a-ags_recall_factory.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_factory.obj `if test -f 'src/ags/audio/ags_recall_factory.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_factory.c'; fi`
+
+libags_audio_a-ags_recall.o: src/ags/audio/ags_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall.Tpo -c -o libags_audio_a-ags_recall.o `test -f 'src/ags/audio/ags_recall.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall.Tpo $(DEPDIR)/libags_audio_a-ags_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall.c' object='libags_audio_a-ags_recall.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall.o `test -f 'src/ags/audio/ags_recall.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall.c
+
+libags_audio_a-ags_recall.obj: src/ags/audio/ags_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall.Tpo -c -o libags_audio_a-ags_recall.obj `if test -f 'src/ags/audio/ags_recall.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall.Tpo $(DEPDIR)/libags_audio_a-ags_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall.c' object='libags_audio_a-ags_recall.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall.obj `if test -f 'src/ags/audio/ags_recall.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall.c'; fi`
+
+libags_audio_a-ags_recall_id.o: src/ags/audio/ags_recall_id.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_id.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo -c -o libags_audio_a-ags_recall_id.o `test -f 'src/ags/audio/ags_recall_id.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_id.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo $(DEPDIR)/libags_audio_a-ags_recall_id.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_id.c' object='libags_audio_a-ags_recall_id.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_id.o `test -f 'src/ags/audio/ags_recall_id.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_id.c
+
+libags_audio_a-ags_recall_id.obj: src/ags/audio/ags_recall_id.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_id.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo -c -o libags_audio_a-ags_recall_id.obj `if test -f 'src/ags/audio/ags_recall_id.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_id.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_id.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_id.Tpo $(DEPDIR)/libags_audio_a-ags_recall_id.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_id.c' object='libags_audio_a-ags_recall_id.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_id.obj `if test -f 'src/ags/audio/ags_recall_id.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_id.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_id.c'; fi`
+
+libags_audio_a-ags_recall_ladspa.o: src/ags/audio/ags_recall_ladspa.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo -c -o libags_audio_a-ags_recall_ladspa.o `test -f 'src/ags/audio/ags_recall_ladspa.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa.c' object='libags_audio_a-ags_recall_ladspa.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa.o `test -f 'src/ags/audio/ags_recall_ladspa.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa.c
+
+libags_audio_a-ags_recall_ladspa.obj: src/ags/audio/ags_recall_ladspa.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo -c -o libags_audio_a-ags_recall_ladspa.obj `if test -f 'src/ags/audio/ags_recall_ladspa.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa.c' object='libags_audio_a-ags_recall_ladspa.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa.obj `if test -f 'src/ags/audio/ags_recall_ladspa.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa.c'; fi`
+
+libags_audio_a-ags_recall_ladspa_run.o: src/ags/audio/ags_recall_ladspa_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo -c -o libags_audio_a-ags_recall_ladspa_run.o `test -f 'src/ags/audio/ags_recall_ladspa_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa_run.c' object='libags_audio_a-ags_recall_ladspa_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa_run.o `test -f 'src/ags/audio/ags_recall_ladspa_run.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_ladspa_run.c
+
+libags_audio_a-ags_recall_ladspa_run.obj: src/ags/audio/ags_recall_ladspa_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_ladspa_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo -c -o libags_audio_a-ags_recall_ladspa_run.obj `if test -f 'src/ags/audio/ags_recall_ladspa_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Tpo $(DEPDIR)/libags_audio_a-ags_recall_ladspa_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_ladspa_run.c' object='libags_audio_a-ags_recall_ladspa_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_ladspa_run.obj `if test -f 'src/ags/audio/ags_recall_ladspa_run.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_ladspa_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_ladspa_run.c'; fi`
+
+libags_audio_a-ags_recall_recycling_dummy.o: src/ags/audio/ags_recall_recycling_dummy.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling_dummy.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo -c -o libags_audio_a-ags_recall_recycling_dummy.o `test -f 'src/ags/audio/ags_recall_recycling_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling_dummy.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_recycling_dummy.c' object='libags_audio_a-ags_recall_recycling_dummy.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling_dummy.o `test -f 'src/ags/audio/ags_recall_recycling_dummy.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling_dummy.c
+
+libags_audio_a-ags_recall_recycling_dummy.obj: src/ags/audio/ags_recall_recycling_dummy.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling_dummy.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo -c -o libags_audio_a-ags_recall_recycling_dummy.obj `if test -f 'src/ags/audio/ags_recall_recycling_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling_dummy.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling_dummy.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_recycling_dummy.c' object='libags_audio_a-ags_recall_recycling_dummy.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling_dummy.obj `if test -f 'src/ags/audio/ags_recall_recycling_dummy.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling_dummy.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling_dummy.c'; fi`
+
+libags_audio_a-ags_recall_recycling.o: src/ags/audio/ags_recall_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo -c -o libags_audio_a-ags_recall_recycling.o `test -f 'src/ags/audio/ags_recall_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_recycling.c' object='libags_audio_a-ags_recall_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling.o `test -f 'src/ags/audio/ags_recall_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recall_recycling.c
+
+libags_audio_a-ags_recall_recycling.obj: src/ags/audio/ags_recall_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recall_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo -c -o libags_audio_a-ags_recall_recycling.obj `if test -f 'src/ags/audio/ags_recall_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recall_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recall_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recall_recycling.c' object='libags_audio_a-ags_recall_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recall_recycling.obj `if test -f 'src/ags/audio/ags_recall_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recall_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recall_recycling.c'; fi`
+
+libags_audio_a-ags_recycling_container.o: src/ags/audio/ags_recycling_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo -c -o libags_audio_a-ags_recycling_container.o `test -f 'src/ags/audio/ags_recycling_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo $(DEPDIR)/libags_audio_a-ags_recycling_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recycling_container.c' object='libags_audio_a-ags_recycling_container.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling_container.o `test -f 'src/ags/audio/ags_recycling_container.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling_container.c
+
+libags_audio_a-ags_recycling_container.obj: src/ags/audio/ags_recycling_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo -c -o libags_audio_a-ags_recycling_container.obj `if test -f 'src/ags/audio/ags_recycling_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling_container.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling_container.Tpo $(DEPDIR)/libags_audio_a-ags_recycling_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recycling_container.c' object='libags_audio_a-ags_recycling_container.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling_container.obj `if test -f 'src/ags/audio/ags_recycling_container.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling_container.c'; fi`
+
+libags_audio_a-ags_recycling.o: src/ags/audio/ags_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling.Tpo -c -o libags_audio_a-ags_recycling.o `test -f 'src/ags/audio/ags_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recycling.c' object='libags_audio_a-ags_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling.o `test -f 'src/ags/audio/ags_recycling.c' || echo '$(srcdir)/'`src/ags/audio/ags_recycling.c
+
+libags_audio_a-ags_recycling.obj: src/ags/audio/ags_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_recycling.Tpo -c -o libags_audio_a-ags_recycling.obj `if test -f 'src/ags/audio/ags_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_recycling.c' object='libags_audio_a-ags_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_recycling.obj `if test -f 'src/ags/audio/ags_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/ags_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_recycling.c'; fi`
+
+libags_audio_a-ags_synths.o: src/ags/audio/ags_synths.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_synths.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_synths.Tpo -c -o libags_audio_a-ags_synths.o `test -f 'src/ags/audio/ags_synths.c' || echo '$(srcdir)/'`src/ags/audio/ags_synths.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_synths.Tpo $(DEPDIR)/libags_audio_a-ags_synths.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_synths.c' object='libags_audio_a-ags_synths.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_synths.o `test -f 'src/ags/audio/ags_synths.c' || echo '$(srcdir)/'`src/ags/audio/ags_synths.c
+
+libags_audio_a-ags_synths.obj: src/ags/audio/ags_synths.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_synths.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_synths.Tpo -c -o libags_audio_a-ags_synths.obj `if test -f 'src/ags/audio/ags_synths.c'; then $(CYGPATH_W) 'src/ags/audio/ags_synths.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_synths.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_synths.Tpo $(DEPDIR)/libags_audio_a-ags_synths.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_synths.c' object='libags_audio_a-ags_synths.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_synths.obj `if test -f 'src/ags/audio/ags_synths.c'; then $(CYGPATH_W) 'src/ags/audio/ags_synths.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_synths.c'; fi`
+
+libags_audio_a-ags_task.o: src/ags/audio/ags_task.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_task.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_task.Tpo -c -o libags_audio_a-ags_task.o `test -f 'src/ags/audio/ags_task.c' || echo '$(srcdir)/'`src/ags/audio/ags_task.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_task.Tpo $(DEPDIR)/libags_audio_a-ags_task.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_task.c' object='libags_audio_a-ags_task.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_task.o `test -f 'src/ags/audio/ags_task.c' || echo '$(srcdir)/'`src/ags/audio/ags_task.c
+
+libags_audio_a-ags_task.obj: src/ags/audio/ags_task.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_task.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_task.Tpo -c -o libags_audio_a-ags_task.obj `if test -f 'src/ags/audio/ags_task.c'; then $(CYGPATH_W) 'src/ags/audio/ags_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_task.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_task.Tpo $(DEPDIR)/libags_audio_a-ags_task.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/ags_task.c' object='libags_audio_a-ags_task.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_task.obj `if test -f 'src/ags/audio/ags_task.c'; then $(CYGPATH_W) 'src/ags/audio/ags_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/ags_task.c'; fi`
+
+libags_audio_a-ags_audio_file_xml.o: src/ags/audio/file/ags_audio_file_xml.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file_xml.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo -c -o libags_audio_a-ags_audio_file_xml.o `test -f 'src/ags/audio/file/ags_audio_file_xml.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file_xml.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_audio_file_xml.c' object='libags_audio_a-ags_audio_file_xml.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file_xml.o `test -f 'src/ags/audio/file/ags_audio_file_xml.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file_xml.c
+
+libags_audio_a-ags_audio_file_xml.obj: src/ags/audio/file/ags_audio_file_xml.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file_xml.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo -c -o libags_audio_a-ags_audio_file_xml.obj `if test -f 'src/ags/audio/file/ags_audio_file_xml.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file_xml.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file_xml.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file_xml.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_audio_file_xml.c' object='libags_audio_a-ags_audio_file_xml.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file_xml.obj `if test -f 'src/ags/audio/file/ags_audio_file_xml.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file_xml.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file_xml.c'; fi`
+
+libags_audio_a-ags_audio_file.o: src/ags/audio/file/ags_audio_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo -c -o libags_audio_a-ags_audio_file.o `test -f 'src/ags/audio/file/ags_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_audio_file.c' object='libags_audio_a-ags_audio_file.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file.o `test -f 'src/ags/audio/file/ags_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_audio_file.c
+
+libags_audio_a-ags_audio_file.obj: src/ags/audio/file/ags_audio_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo -c -o libags_audio_a-ags_audio_file.obj `if test -f 'src/ags/audio/file/ags_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_audio_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_audio_file.c' object='libags_audio_a-ags_audio_file.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_file.obj `if test -f 'src/ags/audio/file/ags_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_audio_file.c'; fi`
+
+libags_audio_a-ags_ipatch.o: src/ags/audio/file/ags_ipatch.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo -c -o libags_audio_a-ags_ipatch.o `test -f 'src/ags/audio/file/ags_ipatch.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_ipatch.c' object='libags_audio_a-ags_ipatch.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch.o `test -f 'src/ags/audio/file/ags_ipatch.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch.c
+
+libags_audio_a-ags_ipatch.obj: src/ags/audio/file/ags_ipatch.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo -c -o libags_audio_a-ags_ipatch.obj `if test -f 'src/ags/audio/file/ags_ipatch.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_ipatch.c' object='libags_audio_a-ags_ipatch.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch.obj `if test -f 'src/ags/audio/file/ags_ipatch.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch.c'; fi`
+
+libags_audio_a-ags_ipatch_sf2_reader.o: src/ags/audio/file/ags_ipatch_sf2_reader.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch_sf2_reader.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo -c -o libags_audio_a-ags_ipatch_sf2_reader.o `test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch_sf2_reader.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_ipatch_sf2_reader.c' object='libags_audio_a-ags_ipatch_sf2_reader.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch_sf2_reader.o `test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_ipatch_sf2_reader.c
+
+libags_audio_a-ags_ipatch_sf2_reader.obj: src/ags/audio/file/ags_ipatch_sf2_reader.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ipatch_sf2_reader.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo -c -o libags_audio_a-ags_ipatch_sf2_reader.obj `if test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch_sf2_reader.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Tpo $(DEPDIR)/libags_audio_a-ags_ipatch_sf2_reader.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_ipatch_sf2_reader.c' object='libags_audio_a-ags_ipatch_sf2_reader.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ipatch_sf2_reader.obj `if test -f 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_ipatch_sf2_reader.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_ipatch_sf2_reader.c'; fi`
+
+libags_audio_a-ags_sndfile.o: src/ags/audio/file/ags_sndfile.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_sndfile.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo -c -o libags_audio_a-ags_sndfile.o `test -f 'src/ags/audio/file/ags_sndfile.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_sndfile.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo $(DEPDIR)/libags_audio_a-ags_sndfile.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_sndfile.c' object='libags_audio_a-ags_sndfile.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_sndfile.o `test -f 'src/ags/audio/file/ags_sndfile.c' || echo '$(srcdir)/'`src/ags/audio/file/ags_sndfile.c
+
+libags_audio_a-ags_sndfile.obj: src/ags/audio/file/ags_sndfile.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_sndfile.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo -c -o libags_audio_a-ags_sndfile.obj `if test -f 'src/ags/audio/file/ags_sndfile.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_sndfile.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_sndfile.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_sndfile.Tpo $(DEPDIR)/libags_audio_a-ags_sndfile.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/file/ags_sndfile.c' object='libags_audio_a-ags_sndfile.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_sndfile.obj `if test -f 'src/ags/audio/file/ags_sndfile.c'; then $(CYGPATH_W) 'src/ags/audio/file/ags_sndfile.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/file/ags_sndfile.c'; fi`
+
+libags_audio_a-ags_add_audio.o: src/ags/audio/task/ags_add_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo -c -o libags_audio_a-ags_add_audio.o `test -f 'src/ags/audio/task/ags_add_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_audio.c' object='libags_audio_a-ags_add_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio.o `test -f 'src/ags/audio/task/ags_add_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio.c
+
+libags_audio_a-ags_add_audio.obj: src/ags/audio/task/ags_add_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo -c -o libags_audio_a-ags_add_audio.obj `if test -f 'src/ags/audio/task/ags_add_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_audio.c' object='libags_audio_a-ags_add_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio.obj `if test -f 'src/ags/audio/task/ags_add_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio.c'; fi`
+
+libags_audio_a-ags_add_audio_signal.o: src/ags/audio/task/ags_add_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo -c -o libags_audio_a-ags_add_audio_signal.o `test -f 'src/ags/audio/task/ags_add_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_audio_signal.c' object='libags_audio_a-ags_add_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio_signal.o `test -f 'src/ags/audio/task/ags_add_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_audio_signal.c
+
+libags_audio_a-ags_add_audio_signal.obj: src/ags/audio/task/ags_add_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo -c -o libags_audio_a-ags_add_audio_signal.obj `if test -f 'src/ags/audio/task/ags_add_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_add_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_audio_signal.c' object='libags_audio_a-ags_add_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_audio_signal.obj `if test -f 'src/ags/audio/task/ags_add_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_audio_signal.c'; fi`
+
+libags_audio_a-ags_add_note.o: src/ags/audio/task/ags_add_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_note.Tpo -c -o libags_audio_a-ags_add_note.o `test -f 'src/ags/audio/task/ags_add_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_note.Tpo $(DEPDIR)/libags_audio_a-ags_add_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_note.c' object='libags_audio_a-ags_add_note.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_note.o `test -f 'src/ags/audio/task/ags_add_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_note.c
+
+libags_audio_a-ags_add_note.obj: src/ags/audio/task/ags_add_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_note.Tpo -c -o libags_audio_a-ags_add_note.obj `if test -f 'src/ags/audio/task/ags_add_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_note.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_note.Tpo $(DEPDIR)/libags_audio_a-ags_add_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_note.c' object='libags_audio_a-ags_add_note.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_note.obj `if test -f 'src/ags/audio/task/ags_add_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_note.c'; fi`
+
+libags_audio_a-ags_add_recall_container.o: src/ags/audio/task/ags_add_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo -c -o libags_audio_a-ags_add_recall_container.o `test -f 'src/ags/audio/task/ags_add_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_recall_container.c' object='libags_audio_a-ags_add_recall_container.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall_container.o `test -f 'src/ags/audio/task/ags_add_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall_container.c
+
+libags_audio_a-ags_add_recall_container.obj: src/ags/audio/task/ags_add_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo -c -o libags_audio_a-ags_add_recall_container.obj `if test -f 'src/ags/audio/task/ags_add_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall_container.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_recall_container.c' object='libags_audio_a-ags_add_recall_container.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall_container.obj `if test -f 'src/ags/audio/task/ags_add_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall_container.c'; fi`
+
+libags_audio_a-ags_add_recall.o: src/ags/audio/task/ags_add_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo -c -o libags_audio_a-ags_add_recall.o `test -f 'src/ags/audio/task/ags_add_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_recall.c' object='libags_audio_a-ags_add_recall.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall.o `test -f 'src/ags/audio/task/ags_add_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_recall.c
+
+libags_audio_a-ags_add_recall.obj: src/ags/audio/task/ags_add_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_add_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo -c -o libags_audio_a-ags_add_recall.obj `if test -f 'src/ags/audio/task/ags_add_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_add_recall.Tpo $(DEPDIR)/libags_audio_a-ags_add_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_recall.c' object='libags_audio_a-ags_add_recall.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_add_recall.obj `if test -f 'src/ags/audio/task/ags_add_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_recall.c'; fi`
+
+libags_audio_a-ags_append_audio.o: src/ags/audio/task/ags_append_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo -c -o libags_audio_a-ags_append_audio.o `test -f 'src/ags/audio/task/ags_append_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_audio.c' object='libags_audio_a-ags_append_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio.o `test -f 'src/ags/audio/task/ags_append_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio.c
+
+libags_audio_a-ags_append_audio.obj: src/ags/audio/task/ags_append_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo -c -o libags_audio_a-ags_append_audio.obj `if test -f 'src/ags/audio/task/ags_append_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_audio.c' object='libags_audio_a-ags_append_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio.obj `if test -f 'src/ags/audio/task/ags_append_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio.c'; fi`
+
+libags_audio_a-ags_append_audio_threaded.o: src/ags/audio/task/ags_append_audio_threaded.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio_threaded.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo -c -o libags_audio_a-ags_append_audio_threaded.o `test -f 'src/ags/audio/task/ags_append_audio_threaded.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio_threaded.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_audio_threaded.c' object='libags_audio_a-ags_append_audio_threaded.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio_threaded.o `test -f 'src/ags/audio/task/ags_append_audio_threaded.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_audio_threaded.c
+
+libags_audio_a-ags_append_audio_threaded.obj: src/ags/audio/task/ags_append_audio_threaded.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_audio_threaded.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo -c -o libags_audio_a-ags_append_audio_threaded.obj `if test -f 'src/ags/audio/task/ags_append_audio_threaded.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio_threaded.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio_threaded.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Tpo $(DEPDIR)/libags_audio_a-ags_append_audio_threaded.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_audio_threaded.c' object='libags_audio_a-ags_append_audio_threaded.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_audio_threaded.obj `if test -f 'src/ags/audio/task/ags_append_audio_threaded.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_audio_threaded.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_audio_threaded.c'; fi`
+
+libags_audio_a-ags_append_channel.o: src/ags/audio/task/ags_append_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo -c -o libags_audio_a-ags_append_channel.o `test -f 'src/ags/audio/task/ags_append_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo $(DEPDIR)/libags_audio_a-ags_append_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_channel.c' object='libags_audio_a-ags_append_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_channel.o `test -f 'src/ags/audio/task/ags_append_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_channel.c
+
+libags_audio_a-ags_append_channel.obj: src/ags/audio/task/ags_append_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo -c -o libags_audio_a-ags_append_channel.obj `if test -f 'src/ags/audio/task/ags_append_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_channel.Tpo $(DEPDIR)/libags_audio_a-ags_append_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_channel.c' object='libags_audio_a-ags_append_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_channel.obj `if test -f 'src/ags/audio/task/ags_append_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_channel.c'; fi`
+
+libags_audio_a-ags_append_recall.o: src/ags/audio/task/ags_append_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo -c -o libags_audio_a-ags_append_recall.o `test -f 'src/ags/audio/task/ags_append_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo $(DEPDIR)/libags_audio_a-ags_append_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_recall.c' object='libags_audio_a-ags_append_recall.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_recall.o `test -f 'src/ags/audio/task/ags_append_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_append_recall.c
+
+libags_audio_a-ags_append_recall.obj: src/ags/audio/task/ags_append_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_append_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo -c -o libags_audio_a-ags_append_recall.obj `if test -f 'src/ags/audio/task/ags_append_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_recall.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_append_recall.Tpo $(DEPDIR)/libags_audio_a-ags_append_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_append_recall.c' object='libags_audio_a-ags_append_recall.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_append_recall.obj `if test -f 'src/ags/audio/task/ags_append_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_append_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_append_recall.c'; fi`
+
+libags_audio_a-ags_apply_synth.o: src/ags/audio/task/ags_apply_synth.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_synth.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo -c -o libags_audio_a-ags_apply_synth.o `test -f 'src/ags/audio/task/ags_apply_synth.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_apply_synth.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo $(DEPDIR)/libags_audio_a-ags_apply_synth.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_apply_synth.c' object='libags_audio_a-ags_apply_synth.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_synth.o `test -f 'src/ags/audio/task/ags_apply_synth.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_apply_synth.c
+
+libags_audio_a-ags_apply_synth.obj: src/ags/audio/task/ags_apply_synth.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_synth.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo -c -o libags_audio_a-ags_apply_synth.obj `if test -f 'src/ags/audio/task/ags_apply_synth.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_apply_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_apply_synth.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_synth.Tpo $(DEPDIR)/libags_audio_a-ags_apply_synth.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_apply_synth.c' object='libags_audio_a-ags_apply_synth.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_synth.obj `if test -f 'src/ags/audio/task/ags_apply_synth.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_apply_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_apply_synth.c'; fi`
+
+libags_audio_a-ags_audio_set_recycling.o: src/ags/audio/task/ags_audio_set_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_set_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo -c -o libags_audio_a-ags_audio_set_recycling.o `test -f 'src/ags/audio/task/ags_audio_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_audio_set_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_audio_set_recycling.c' object='libags_audio_a-ags_audio_set_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_set_recycling.o `test -f 'src/ags/audio/task/ags_audio_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_audio_set_recycling.c
+
+libags_audio_a-ags_audio_set_recycling.obj: src/ags/audio/task/ags_audio_set_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_audio_set_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo -c -o libags_audio_a-ags_audio_set_recycling.obj `if test -f 'src/ags/audio/task/ags_audio_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_audio_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_audio_set_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_audio_set_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_audio_set_recycling.c' object='libags_audio_a-ags_audio_set_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_audio_set_recycling.obj `if test -f 'src/ags/audio/task/ags_audio_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_audio_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_audio_set_recycling.c'; fi`
+
+libags_audio_a-ags_cancel_audio.o: src/ags/audio/task/ags_cancel_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo -c -o libags_audio_a-ags_cancel_audio.o `test -f 'src/ags/audio/task/ags_cancel_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_cancel_audio.c' object='libags_audio_a-ags_cancel_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_audio.o `test -f 'src/ags/audio/task/ags_cancel_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_audio.c
+
+libags_audio_a-ags_cancel_audio.obj: src/ags/audio/task/ags_cancel_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo -c -o libags_audio_a-ags_cancel_audio.obj `if test -f 'src/ags/audio/task/ags_cancel_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_audio.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_cancel_audio.c' object='libags_audio_a-ags_cancel_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_audio.obj `if test -f 'src/ags/audio/task/ags_cancel_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_audio.c'; fi`
+
+libags_audio_a-ags_cancel_channel.o: src/ags/audio/task/ags_cancel_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo -c -o libags_audio_a-ags_cancel_channel.o `test -f 'src/ags/audio/task/ags_cancel_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_cancel_channel.c' object='libags_audio_a-ags_cancel_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_channel.o `test -f 'src/ags/audio/task/ags_cancel_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_channel.c
+
+libags_audio_a-ags_cancel_channel.obj: src/ags/audio/task/ags_cancel_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo -c -o libags_audio_a-ags_cancel_channel.obj `if test -f 'src/ags/audio/task/ags_cancel_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_channel.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_cancel_channel.c' object='libags_audio_a-ags_cancel_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_channel.obj `if test -f 'src/ags/audio/task/ags_cancel_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_channel.c'; fi`
+
+libags_audio_a-ags_cancel_recall.o: src/ags/audio/task/ags_cancel_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo -c -o libags_audio_a-ags_cancel_recall.o `test -f 'src/ags/audio/task/ags_cancel_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_cancel_recall.c' object='libags_audio_a-ags_cancel_recall.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_recall.o `test -f 'src/ags/audio/task/ags_cancel_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_cancel_recall.c
+
+libags_audio_a-ags_cancel_recall.obj: src/ags/audio/task/ags_cancel_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_cancel_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo -c -o libags_audio_a-ags_cancel_recall.obj `if test -f 'src/ags/audio/task/ags_cancel_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_recall.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_cancel_recall.Tpo $(DEPDIR)/libags_audio_a-ags_cancel_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_cancel_recall.c' object='libags_audio_a-ags_cancel_recall.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_cancel_recall.obj `if test -f 'src/ags/audio/task/ags_cancel_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_cancel_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_cancel_recall.c'; fi`
+
+libags_audio_a-ags_channel_set_recycling.o: src/ags/audio/task/ags_channel_set_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_set_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo -c -o libags_audio_a-ags_channel_set_recycling.o `test -f 'src/ags/audio/task/ags_channel_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_channel_set_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_channel_set_recycling.c' object='libags_audio_a-ags_channel_set_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_set_recycling.o `test -f 'src/ags/audio/task/ags_channel_set_recycling.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_channel_set_recycling.c
+
+libags_audio_a-ags_channel_set_recycling.obj: src/ags/audio/task/ags_channel_set_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_channel_set_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo -c -o libags_audio_a-ags_channel_set_recycling.obj `if test -f 'src/ags/audio/task/ags_channel_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_channel_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_channel_set_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_channel_set_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_channel_set_recycling.c' object='libags_audio_a-ags_channel_set_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_channel_set_recycling.obj `if test -f 'src/ags/audio/task/ags_channel_set_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_channel_set_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_channel_set_recycling.c'; fi`
+
+libags_audio_a-ags_export_output.o: src/ags/audio/task/ags_export_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_export_output.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_export_output.Tpo -c -o libags_audio_a-ags_export_output.o `test -f 'src/ags/audio/task/ags_export_output.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_export_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_export_output.Tpo $(DEPDIR)/libags_audio_a-ags_export_output.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_export_output.c' object='libags_audio_a-ags_export_output.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_export_output.o `test -f 'src/ags/audio/task/ags_export_output.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_export_output.c
+
+libags_audio_a-ags_export_output.obj: src/ags/audio/task/ags_export_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_export_output.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_export_output.Tpo -c -o libags_audio_a-ags_export_output.obj `if test -f 'src/ags/audio/task/ags_export_output.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_export_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_export_output.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_export_output.Tpo $(DEPDIR)/libags_audio_a-ags_export_output.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_export_output.c' object='libags_audio_a-ags_export_output.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_export_output.obj `if test -f 'src/ags/audio/task/ags_export_output.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_export_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_export_output.c'; fi`
+
+libags_audio_a-ags_init_audio.o: src/ags/audio/task/ags_init_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo -c -o libags_audio_a-ags_init_audio.o `test -f 'src/ags/audio/task/ags_init_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo $(DEPDIR)/libags_audio_a-ags_init_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_init_audio.c' object='libags_audio_a-ags_init_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_audio.o `test -f 'src/ags/audio/task/ags_init_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_audio.c
+
+libags_audio_a-ags_init_audio.obj: src/ags/audio/task/ags_init_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo -c -o libags_audio_a-ags_init_audio.obj `if test -f 'src/ags/audio/task/ags_init_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_audio.Tpo $(DEPDIR)/libags_audio_a-ags_init_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_init_audio.c' object='libags_audio_a-ags_init_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_audio.obj `if test -f 'src/ags/audio/task/ags_init_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_audio.c'; fi`
+
+libags_audio_a-ags_init_channel.o: src/ags/audio/task/ags_init_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo -c -o libags_audio_a-ags_init_channel.o `test -f 'src/ags/audio/task/ags_init_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo $(DEPDIR)/libags_audio_a-ags_init_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_init_channel.c' object='libags_audio_a-ags_init_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_channel.o `test -f 'src/ags/audio/task/ags_init_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_init_channel.c
+
+libags_audio_a-ags_init_channel.obj: src/ags/audio/task/ags_init_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_init_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo -c -o libags_audio_a-ags_init_channel.obj `if test -f 'src/ags/audio/task/ags_init_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_init_channel.Tpo $(DEPDIR)/libags_audio_a-ags_init_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_init_channel.c' object='libags_audio_a-ags_init_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_init_channel.obj `if test -f 'src/ags/audio/task/ags_init_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_init_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_init_channel.c'; fi`
+
+libags_audio_a-ags_link_channel.o: src/ags/audio/task/ags_link_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_link_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo -c -o libags_audio_a-ags_link_channel.o `test -f 'src/ags/audio/task/ags_link_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_link_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo $(DEPDIR)/libags_audio_a-ags_link_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_link_channel.c' object='libags_audio_a-ags_link_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_link_channel.o `test -f 'src/ags/audio/task/ags_link_channel.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_link_channel.c
+
+libags_audio_a-ags_link_channel.obj: src/ags/audio/task/ags_link_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_link_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo -c -o libags_audio_a-ags_link_channel.obj `if test -f 'src/ags/audio/task/ags_link_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_link_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_link_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_link_channel.Tpo $(DEPDIR)/libags_audio_a-ags_link_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_link_channel.c' object='libags_audio_a-ags_link_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_link_channel.obj `if test -f 'src/ags/audio/task/ags_link_channel.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_link_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_link_channel.c'; fi`
+
+libags_audio_a-ags_open_file.o: src/ags/audio/task/ags_open_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_file.Tpo -c -o libags_audio_a-ags_open_file.o `test -f 'src/ags/audio/task/ags_open_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_open_file.c' object='libags_audio_a-ags_open_file.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_file.o `test -f 'src/ags/audio/task/ags_open_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_file.c
+
+libags_audio_a-ags_open_file.obj: src/ags/audio/task/ags_open_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_file.Tpo -c -o libags_audio_a-ags_open_file.obj `if test -f 'src/ags/audio/task/ags_open_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_file.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_open_file.c' object='libags_audio_a-ags_open_file.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_file.obj `if test -f 'src/ags/audio/task/ags_open_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_file.c'; fi`
+
+libags_audio_a-ags_open_single_file.o: src/ags/audio/task/ags_open_single_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_single_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo -c -o libags_audio_a-ags_open_single_file.o `test -f 'src/ags/audio/task/ags_open_single_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_single_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_single_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_open_single_file.c' object='libags_audio_a-ags_open_single_file.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_single_file.o `test -f 'src/ags/audio/task/ags_open_single_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_open_single_file.c
+
+libags_audio_a-ags_open_single_file.obj: src/ags/audio/task/ags_open_single_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_open_single_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo -c -o libags_audio_a-ags_open_single_file.obj `if test -f 'src/ags/audio/task/ags_open_single_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_single_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_single_file.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_open_single_file.Tpo $(DEPDIR)/libags_audio_a-ags_open_single_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_open_single_file.c' object='libags_audio_a-ags_open_single_file.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_open_single_file.obj `if test -f 'src/ags/audio/task/ags_open_single_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_open_single_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_open_single_file.c'; fi`
+
+libags_audio_a-ags_remove_audio.o: src/ags/audio/task/ags_remove_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo -c -o libags_audio_a-ags_remove_audio.o `test -f 'src/ags/audio/task/ags_remove_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio.c' object='libags_audio_a-ags_remove_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio.o `test -f 'src/ags/audio/task/ags_remove_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio.c
+
+libags_audio_a-ags_remove_audio.obj: src/ags/audio/task/ags_remove_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo -c -o libags_audio_a-ags_remove_audio.obj `if test -f 'src/ags/audio/task/ags_remove_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio.c' object='libags_audio_a-ags_remove_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio.obj `if test -f 'src/ags/audio/task/ags_remove_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio.c'; fi`
+
+libags_audio_a-ags_remove_audio_signal.o: src/ags/audio/task/ags_remove_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo -c -o libags_audio_a-ags_remove_audio_signal.o `test -f 'src/ags/audio/task/ags_remove_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio_signal.c' object='libags_audio_a-ags_remove_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio_signal.o `test -f 'src/ags/audio/task/ags_remove_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_audio_signal.c
+
+libags_audio_a-ags_remove_audio_signal.obj: src/ags/audio/task/ags_remove_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo -c -o libags_audio_a-ags_remove_audio_signal.obj `if test -f 'src/ags/audio/task/ags_remove_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_remove_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_audio_signal.c' object='libags_audio_a-ags_remove_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_audio_signal.obj `if test -f 'src/ags/audio/task/ags_remove_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_audio_signal.c'; fi`
+
+libags_audio_a-ags_remove_note.o: src/ags/audio/task/ags_remove_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo -c -o libags_audio_a-ags_remove_note.o `test -f 'src/ags/audio/task/ags_remove_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo $(DEPDIR)/libags_audio_a-ags_remove_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_note.c' object='libags_audio_a-ags_remove_note.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_note.o `test -f 'src/ags/audio/task/ags_remove_note.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_note.c
+
+libags_audio_a-ags_remove_note.obj: src/ags/audio/task/ags_remove_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo -c -o libags_audio_a-ags_remove_note.obj `if test -f 'src/ags/audio/task/ags_remove_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_note.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_note.Tpo $(DEPDIR)/libags_audio_a-ags_remove_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_note.c' object='libags_audio_a-ags_remove_note.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_note.obj `if test -f 'src/ags/audio/task/ags_remove_note.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_note.c'; fi`
+
+libags_audio_a-ags_remove_recall_container.o: src/ags/audio/task/ags_remove_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall_container.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo -c -o libags_audio_a-ags_remove_recall_container.o `test -f 'src/ags/audio/task/ags_remove_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall_container.c' object='libags_audio_a-ags_remove_recall_container.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall_container.o `test -f 'src/ags/audio/task/ags_remove_recall_container.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall_container.c
+
+libags_audio_a-ags_remove_recall_container.obj: src/ags/audio/task/ags_remove_recall_container.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall_container.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo -c -o libags_audio_a-ags_remove_recall_container.obj `if test -f 'src/ags/audio/task/ags_remove_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall_container.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall_container.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall_container.c' object='libags_audio_a-ags_remove_recall_container.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall_container.obj `if test -f 'src/ags/audio/task/ags_remove_recall_container.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall_container.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall_container.c'; fi`
+
+libags_audio_a-ags_remove_recall.o: src/ags/audio/task/ags_remove_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo -c -o libags_audio_a-ags_remove_recall.o `test -f 'src/ags/audio/task/ags_remove_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall.c' object='libags_audio_a-ags_remove_recall.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall.o `test -f 'src/ags/audio/task/ags_remove_recall.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_recall.c
+
+libags_audio_a-ags_remove_recall.obj: src/ags/audio/task/ags_remove_recall.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_recall.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo -c -o libags_audio_a-ags_remove_recall.obj `if test -f 'src/ags/audio/task/ags_remove_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_recall.Tpo $(DEPDIR)/libags_audio_a-ags_remove_recall.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_recall.c' object='libags_audio_a-ags_remove_recall.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_recall.obj `if test -f 'src/ags/audio/task/ags_remove_recall.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_recall.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_recall.c'; fi`
+
+libags_audio_a-ags_remove_region_from_selection.o: src/ags/audio/task/ags_remove_region_from_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_region_from_selection.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo -c -o libags_audio_a-ags_remove_region_from_selection.o `test -f 'src/ags/audio/task/ags_remove_region_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_region_from_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_region_from_selection.c' object='libags_audio_a-ags_remove_region_from_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_region_from_selection.o `test -f 'src/ags/audio/task/ags_remove_region_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_region_from_selection.c
+
+libags_audio_a-ags_remove_region_from_selection.obj: src/ags/audio/task/ags_remove_region_from_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_remove_region_from_selection.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo -c -o libags_audio_a-ags_remove_region_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_region_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_region_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_region_from_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Tpo $(DEPDIR)/libags_audio_a-ags_remove_region_from_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_region_from_selection.c' object='libags_audio_a-ags_remove_region_from_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_remove_region_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_region_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_region_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_region_from_selection.c'; fi`
+
+libags_audio_a-ags_resize_audio.o: src/ags/audio/task/ags_resize_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_resize_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo -c -o libags_audio_a-ags_resize_audio.o `test -f 'src/ags/audio/task/ags_resize_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_resize_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo $(DEPDIR)/libags_audio_a-ags_resize_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_resize_audio.c' object='libags_audio_a-ags_resize_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_resize_audio.o `test -f 'src/ags/audio/task/ags_resize_audio.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_resize_audio.c
+
+libags_audio_a-ags_resize_audio.obj: src/ags/audio/task/ags_resize_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_resize_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo -c -o libags_audio_a-ags_resize_audio.obj `if test -f 'src/ags/audio/task/ags_resize_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_resize_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_resize_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_resize_audio.Tpo $(DEPDIR)/libags_audio_a-ags_resize_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_resize_audio.c' object='libags_audio_a-ags_resize_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_resize_audio.obj `if test -f 'src/ags/audio/task/ags_resize_audio.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_resize_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_resize_audio.c'; fi`
+
+libags_audio_a-ags_set_audio_channels.o: src/ags/audio/task/ags_set_audio_channels.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_audio_channels.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo -c -o libags_audio_a-ags_set_audio_channels.o `test -f 'src/ags/audio/task/ags_set_audio_channels.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_audio_channels.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_audio_channels.c' object='libags_audio_a-ags_set_audio_channels.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_audio_channels.o `test -f 'src/ags/audio/task/ags_set_audio_channels.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_audio_channels.c
+
+libags_audio_a-ags_set_audio_channels.obj: src/ags/audio/task/ags_set_audio_channels.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_audio_channels.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo -c -o libags_audio_a-ags_set_audio_channels.obj `if test -f 'src/ags/audio/task/ags_set_audio_channels.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_audio_channels.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_audio_channels.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Tpo $(DEPDIR)/libags_audio_a-ags_set_audio_channels.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_audio_channels.c' object='libags_audio_a-ags_set_audio_channels.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_audio_channels.obj `if test -f 'src/ags/audio/task/ags_set_audio_channels.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_audio_channels.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_audio_channels.c'; fi`
+
+libags_audio_a-ags_set_buffer_size.o: src/ags/audio/task/ags_set_buffer_size.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_buffer_size.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo -c -o libags_audio_a-ags_set_buffer_size.o `test -f 'src/ags/audio/task/ags_set_buffer_size.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_buffer_size.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_buffer_size.c' object='libags_audio_a-ags_set_buffer_size.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_buffer_size.o `test -f 'src/ags/audio/task/ags_set_buffer_size.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_buffer_size.c
+
+libags_audio_a-ags_set_buffer_size.obj: src/ags/audio/task/ags_set_buffer_size.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_buffer_size.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo -c -o libags_audio_a-ags_set_buffer_size.obj `if test -f 'src/ags/audio/task/ags_set_buffer_size.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_buffer_size.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_buffer_size.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Tpo $(DEPDIR)/libags_audio_a-ags_set_buffer_size.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_buffer_size.c' object='libags_audio_a-ags_set_buffer_size.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_buffer_size.obj `if test -f 'src/ags/audio/task/ags_set_buffer_size.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_buffer_size.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_buffer_size.c'; fi`
+
+libags_audio_a-ags_set_devout_play_flags.o: src/ags/audio/task/ags_set_devout_play_flags.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_devout_play_flags.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo -c -o libags_audio_a-ags_set_devout_play_flags.o `test -f 'src/ags/audio/task/ags_set_devout_play_flags.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_devout_play_flags.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_devout_play_flags.c' object='libags_audio_a-ags_set_devout_play_flags.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_devout_play_flags.o `test -f 'src/ags/audio/task/ags_set_devout_play_flags.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_devout_play_flags.c
+
+libags_audio_a-ags_set_devout_play_flags.obj: src/ags/audio/task/ags_set_devout_play_flags.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_devout_play_flags.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo -c -o libags_audio_a-ags_set_devout_play_flags.obj `if test -f 'src/ags/audio/task/ags_set_devout_play_flags.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_devout_play_flags.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_devout_play_flags.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Tpo $(DEPDIR)/libags_audio_a-ags_set_devout_play_flags.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_devout_play_flags.c' object='libags_audio_a-ags_set_devout_play_flags.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_devout_play_flags.obj `if test -f 'src/ags/audio/task/ags_set_devout_play_flags.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_devout_play_flags.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_devout_play_flags.c'; fi`
+
+libags_audio_a-ags_set_output_device.o: src/ags/audio/task/ags_set_output_device.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_output_device.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo -c -o libags_audio_a-ags_set_output_device.o `test -f 'src/ags/audio/task/ags_set_output_device.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_output_device.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo $(DEPDIR)/libags_audio_a-ags_set_output_device.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_output_device.c' object='libags_audio_a-ags_set_output_device.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_output_device.o `test -f 'src/ags/audio/task/ags_set_output_device.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_output_device.c
+
+libags_audio_a-ags_set_output_device.obj: src/ags/audio/task/ags_set_output_device.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_output_device.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo -c -o libags_audio_a-ags_set_output_device.obj `if test -f 'src/ags/audio/task/ags_set_output_device.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_output_device.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_output_device.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_output_device.Tpo $(DEPDIR)/libags_audio_a-ags_set_output_device.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_output_device.c' object='libags_audio_a-ags_set_output_device.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_output_device.obj `if test -f 'src/ags/audio/task/ags_set_output_device.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_output_device.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_output_device.c'; fi`
+
+libags_audio_a-ags_set_samplerate.o: src/ags/audio/task/ags_set_samplerate.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_samplerate.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo -c -o libags_audio_a-ags_set_samplerate.o `test -f 'src/ags/audio/task/ags_set_samplerate.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_samplerate.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo $(DEPDIR)/libags_audio_a-ags_set_samplerate.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_samplerate.c' object='libags_audio_a-ags_set_samplerate.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_samplerate.o `test -f 'src/ags/audio/task/ags_set_samplerate.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_set_samplerate.c
+
+libags_audio_a-ags_set_samplerate.obj: src/ags/audio/task/ags_set_samplerate.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_samplerate.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo -c -o libags_audio_a-ags_set_samplerate.obj `if test -f 'src/ags/audio/task/ags_set_samplerate.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_samplerate.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_samplerate.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_samplerate.Tpo $(DEPDIR)/libags_audio_a-ags_set_samplerate.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_set_samplerate.c' object='libags_audio_a-ags_set_samplerate.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_samplerate.obj `if test -f 'src/ags/audio/task/ags_set_samplerate.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_set_samplerate.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_set_samplerate.c'; fi`
+
+libags_audio_a-ags_start_devout.o: src/ags/audio/task/ags_start_devout.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_start_devout.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo -c -o libags_audio_a-ags_start_devout.o `test -f 'src/ags/audio/task/ags_start_devout.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_start_devout.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo $(DEPDIR)/libags_audio_a-ags_start_devout.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_start_devout.c' object='libags_audio_a-ags_start_devout.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_start_devout.o `test -f 'src/ags/audio/task/ags_start_devout.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_start_devout.c
+
+libags_audio_a-ags_start_devout.obj: src/ags/audio/task/ags_start_devout.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_start_devout.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo -c -o libags_audio_a-ags_start_devout.obj `if test -f 'src/ags/audio/task/ags_start_devout.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_start_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_start_devout.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_start_devout.Tpo $(DEPDIR)/libags_audio_a-ags_start_devout.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_start_devout.c' object='libags_audio_a-ags_start_devout.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_start_devout.obj `if test -f 'src/ags/audio/task/ags_start_devout.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_start_devout.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_start_devout.c'; fi`
+
+libags_audio_a-ags_unref_audio_signal.o: src/ags/audio/task/ags_unref_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_unref_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo -c -o libags_audio_a-ags_unref_audio_signal.o `test -f 'src/ags/audio/task/ags_unref_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_unref_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_unref_audio_signal.c' object='libags_audio_a-ags_unref_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_unref_audio_signal.o `test -f 'src/ags/audio/task/ags_unref_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_unref_audio_signal.c
+
+libags_audio_a-ags_unref_audio_signal.obj: src/ags/audio/task/ags_unref_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_unref_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo -c -o libags_audio_a-ags_unref_audio_signal.obj `if test -f 'src/ags/audio/task/ags_unref_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_unref_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_unref_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_unref_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_unref_audio_signal.c' object='libags_audio_a-ags_unref_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_unref_audio_signal.obj `if test -f 'src/ags/audio/task/ags_unref_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_unref_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_unref_audio_signal.c'; fi`
+
+libags_audio_a-ags_apply_bpm.o: src/ags/audio/task/recall/ags_apply_bpm.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_bpm.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo -c -o libags_audio_a-ags_apply_bpm.o `test -f 'src/ags/audio/task/recall/ags_apply_bpm.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_bpm.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo $(DEPDIR)/libags_audio_a-ags_apply_bpm.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_bpm.c' object='libags_audio_a-ags_apply_bpm.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_bpm.o `test -f 'src/ags/audio/task/recall/ags_apply_bpm.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_bpm.c
+
+libags_audio_a-ags_apply_bpm.obj: src/ags/audio/task/recall/ags_apply_bpm.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_bpm.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo -c -o libags_audio_a-ags_apply_bpm.obj `if test -f 'src/ags/audio/task/recall/ags_apply_bpm.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_bpm.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_bpm.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_bpm.Tpo $(DEPDIR)/libags_audio_a-ags_apply_bpm.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_bpm.c' object='libags_audio_a-ags_apply_bpm.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_bpm.obj `if test -f 'src/ags/audio/task/recall/ags_apply_bpm.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_bpm.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_bpm.c'; fi`
+
+libags_audio_a-ags_apply_sequencer_length.o: src/ags/audio/task/recall/ags_apply_sequencer_length.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_sequencer_length.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo -c -o libags_audio_a-ags_apply_sequencer_length.o `test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_sequencer_length.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_sequencer_length.c' object='libags_audio_a-ags_apply_sequencer_length.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_sequencer_length.o `test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_sequencer_length.c
+
+libags_audio_a-ags_apply_sequencer_length.obj: src/ags/audio/task/recall/ags_apply_sequencer_length.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_sequencer_length.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo -c -o libags_audio_a-ags_apply_sequencer_length.obj `if test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_sequencer_length.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Tpo $(DEPDIR)/libags_audio_a-ags_apply_sequencer_length.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_sequencer_length.c' object='libags_audio_a-ags_apply_sequencer_length.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_sequencer_length.obj `if test -f 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_sequencer_length.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_sequencer_length.c'; fi`
+
+libags_audio_a-ags_apply_tact.o: src/ags/audio/task/recall/ags_apply_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_tact.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo -c -o libags_audio_a-ags_apply_tact.o `test -f 'src/ags/audio/task/recall/ags_apply_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo $(DEPDIR)/libags_audio_a-ags_apply_tact.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_tact.c' object='libags_audio_a-ags_apply_tact.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_tact.o `test -f 'src/ags/audio/task/recall/ags_apply_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_apply_tact.c
+
+libags_audio_a-ags_apply_tact.obj: src/ags/audio/task/recall/ags_apply_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_apply_tact.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo -c -o libags_audio_a-ags_apply_tact.obj `if test -f 'src/ags/audio/task/recall/ags_apply_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_tact.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_apply_tact.Tpo $(DEPDIR)/libags_audio_a-ags_apply_tact.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_apply_tact.c' object='libags_audio_a-ags_apply_tact.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_apply_tact.obj `if test -f 'src/ags/audio/task/recall/ags_apply_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_apply_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_apply_tact.c'; fi`
+
+libags_audio_a-ags_set_muted.o: src/ags/audio/task/recall/ags_set_muted.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_muted.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo -c -o libags_audio_a-ags_set_muted.o `test -f 'src/ags/audio/task/recall/ags_set_muted.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_set_muted.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo $(DEPDIR)/libags_audio_a-ags_set_muted.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_set_muted.c' object='libags_audio_a-ags_set_muted.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_muted.o `test -f 'src/ags/audio/task/recall/ags_set_muted.c' || echo '$(srcdir)/'`src/ags/audio/task/recall/ags_set_muted.c
+
+libags_audio_a-ags_set_muted.obj: src/ags/audio/task/recall/ags_set_muted.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_set_muted.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo -c -o libags_audio_a-ags_set_muted.obj `if test -f 'src/ags/audio/task/recall/ags_set_muted.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_set_muted.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_set_muted.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_set_muted.Tpo $(DEPDIR)/libags_audio_a-ags_set_muted.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/recall/ags_set_muted.c' object='libags_audio_a-ags_set_muted.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_set_muted.obj `if test -f 'src/ags/audio/task/recall/ags_set_muted.c'; then $(CYGPATH_W) 'src/ags/audio/task/recall/ags_set_muted.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/recall/ags_set_muted.c'; fi`
+
+libags_audio_a-ags_amplifier.o: src/ags/audio/recall/ags_amplifier.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_amplifier.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo -c -o libags_audio_a-ags_amplifier.o `test -f 'src/ags/audio/recall/ags_amplifier.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_amplifier.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo $(DEPDIR)/libags_audio_a-ags_amplifier.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_amplifier.c' object='libags_audio_a-ags_amplifier.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_amplifier.o `test -f 'src/ags/audio/recall/ags_amplifier.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_amplifier.c
+
+libags_audio_a-ags_amplifier.obj: src/ags/audio/recall/ags_amplifier.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_amplifier.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo -c -o libags_audio_a-ags_amplifier.obj `if test -f 'src/ags/audio/recall/ags_amplifier.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_amplifier.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_amplifier.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_amplifier.Tpo $(DEPDIR)/libags_audio_a-ags_amplifier.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_amplifier.c' object='libags_audio_a-ags_amplifier.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_amplifier.obj `if test -f 'src/ags/audio/recall/ags_amplifier.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_amplifier.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_amplifier.c'; fi`
+
+libags_audio_a-ags_clone_channel.o: src/ags/audio/recall/ags_clone_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo -c -o libags_audio_a-ags_clone_channel.o `test -f 'src/ags/audio/recall/ags_clone_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel.c' object='libags_audio_a-ags_clone_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel.o `test -f 'src/ags/audio/recall/ags_clone_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel.c
+
+libags_audio_a-ags_clone_channel.obj: src/ags/audio/recall/ags_clone_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo -c -o libags_audio_a-ags_clone_channel.obj `if test -f 'src/ags/audio/recall/ags_clone_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel.c' object='libags_audio_a-ags_clone_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel.obj `if test -f 'src/ags/audio/recall/ags_clone_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel.c'; fi`
+
+libags_audio_a-ags_clone_channel_run.o: src/ags/audio/recall/ags_clone_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo -c -o libags_audio_a-ags_clone_channel_run.o `test -f 'src/ags/audio/recall/ags_clone_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel_run.c' object='libags_audio_a-ags_clone_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel_run.o `test -f 'src/ags/audio/recall/ags_clone_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_clone_channel_run.c
+
+libags_audio_a-ags_clone_channel_run.obj: src/ags/audio/recall/ags_clone_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_clone_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo -c -o libags_audio_a-ags_clone_channel_run.obj `if test -f 'src/ags/audio/recall/ags_clone_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_clone_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_clone_channel_run.c' object='libags_audio_a-ags_clone_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_clone_channel_run.obj `if test -f 'src/ags/audio/recall/ags_clone_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_clone_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_clone_channel_run.c'; fi`
+
+libags_audio_a-ags_echo.o: src/ags/audio/recall/ags_echo.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_echo.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_echo.Tpo -c -o libags_audio_a-ags_echo.o `test -f 'src/ags/audio/recall/ags_echo.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_echo.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_echo.Tpo $(DEPDIR)/libags_audio_a-ags_echo.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_echo.c' object='libags_audio_a-ags_echo.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_echo.o `test -f 'src/ags/audio/recall/ags_echo.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_echo.c
+
+libags_audio_a-ags_echo.obj: src/ags/audio/recall/ags_echo.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_echo.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_echo.Tpo -c -o libags_audio_a-ags_echo.obj `if test -f 'src/ags/audio/recall/ags_echo.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_echo.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_echo.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_echo.Tpo $(DEPDIR)/libags_audio_a-ags_echo.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_echo.c' object='libags_audio_a-ags_echo.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_echo.obj `if test -f 'src/ags/audio/recall/ags_echo.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_echo.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_echo.c'; fi`
+
+libags_audio_a-ags_loop_channel.o: src/ags/audio/recall/ags_loop_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo -c -o libags_audio_a-ags_loop_channel.o `test -f 'src/ags/audio/recall/ags_loop_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel.c' object='libags_audio_a-ags_loop_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel.o `test -f 'src/ags/audio/recall/ags_loop_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel.c
+
+libags_audio_a-ags_loop_channel.obj: src/ags/audio/recall/ags_loop_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo -c -o libags_audio_a-ags_loop_channel.obj `if test -f 'src/ags/audio/recall/ags_loop_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel.c' object='libags_audio_a-ags_loop_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel.obj `if test -f 'src/ags/audio/recall/ags_loop_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel.c'; fi`
+
+libags_audio_a-ags_loop_channel_run.o: src/ags/audio/recall/ags_loop_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo -c -o libags_audio_a-ags_loop_channel_run.o `test -f 'src/ags/audio/recall/ags_loop_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel_run.c' object='libags_audio_a-ags_loop_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel_run.o `test -f 'src/ags/audio/recall/ags_loop_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_loop_channel_run.c
+
+libags_audio_a-ags_loop_channel_run.obj: src/ags/audio/recall/ags_loop_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_loop_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo -c -o libags_audio_a-ags_loop_channel_run.obj `if test -f 'src/ags/audio/recall/ags_loop_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_loop_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_loop_channel_run.c' object='libags_audio_a-ags_loop_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_loop_channel_run.obj `if test -f 'src/ags/audio/recall/ags_loop_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_loop_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_loop_channel_run.c'; fi`
+
+libags_audio_a-ags_play_note.o: src/ags/audio/recall/ags_play_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_note.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_note.Tpo -c -o libags_audio_a-ags_play_note.o `test -f 'src/ags/audio/recall/ags_play_note.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_note.Tpo $(DEPDIR)/libags_audio_a-ags_play_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_note.c' object='libags_audio_a-ags_play_note.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_note.o `test -f 'src/ags/audio/recall/ags_play_note.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_note.c
+
+libags_audio_a-ags_play_note.obj: src/ags/audio/recall/ags_play_note.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_note.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_note.Tpo -c -o libags_audio_a-ags_play_note.obj `if test -f 'src/ags/audio/recall/ags_play_note.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_note.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_note.Tpo $(DEPDIR)/libags_audio_a-ags_play_note.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_note.c' object='libags_audio_a-ags_play_note.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_note.obj `if test -f 'src/ags/audio/recall/ags_play_note.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_note.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_note.c'; fi`
+
+libags_audio_a-ags_stream.o: src/ags/audio/recall/ags_stream.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream.Tpo -c -o libags_audio_a-ags_stream.o `test -f 'src/ags/audio/recall/ags_stream.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream.Tpo $(DEPDIR)/libags_audio_a-ags_stream.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream.c' object='libags_audio_a-ags_stream.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream.o `test -f 'src/ags/audio/recall/ags_stream.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream.c
+
+libags_audio_a-ags_stream.obj: src/ags/audio/recall/ags_stream.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream.Tpo -c -o libags_audio_a-ags_stream.obj `if test -f 'src/ags/audio/recall/ags_stream.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream.Tpo $(DEPDIR)/libags_audio_a-ags_stream.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream.c' object='libags_audio_a-ags_stream.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream.obj `if test -f 'src/ags/audio/recall/ags_stream.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream.c'; fi`
+
+libags_audio_a-ags_buffer_audio_signal.o: src/ags/audio/recall/ags_buffer_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo -c -o libags_audio_a-ags_buffer_audio_signal.o `test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_audio_signal.c' object='libags_audio_a-ags_buffer_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_audio_signal.o `test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_audio_signal.c
+
+libags_audio_a-ags_buffer_audio_signal.obj: src/ags/audio/recall/ags_buffer_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo -c -o libags_audio_a-ags_buffer_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_audio_signal.c' object='libags_audio_a-ags_buffer_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_buffer_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_audio_signal.c'; fi`
+
+libags_audio_a-ags_buffer_channel.o: src/ags/audio/recall/ags_buffer_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo -c -o libags_audio_a-ags_buffer_channel.o `test -f 'src/ags/audio/recall/ags_buffer_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel.c' object='libags_audio_a-ags_buffer_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel.o `test -f 'src/ags/audio/recall/ags_buffer_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel.c
+
+libags_audio_a-ags_buffer_channel.obj: src/ags/audio/recall/ags_buffer_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo -c -o libags_audio_a-ags_buffer_channel.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel.c' object='libags_audio_a-ags_buffer_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel.c'; fi`
+
+libags_audio_a-ags_buffer_channel_run.o: src/ags/audio/recall/ags_buffer_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo -c -o libags_audio_a-ags_buffer_channel_run.o `test -f 'src/ags/audio/recall/ags_buffer_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel_run.c' object='libags_audio_a-ags_buffer_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel_run.o `test -f 'src/ags/audio/recall/ags_buffer_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_channel_run.c
+
+libags_audio_a-ags_buffer_channel_run.obj: src/ags/audio/recall/ags_buffer_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo -c -o libags_audio_a-ags_buffer_channel_run.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_channel_run.c' object='libags_audio_a-ags_buffer_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_channel_run.obj `if test -f 'src/ags/audio/recall/ags_buffer_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_channel_run.c'; fi`
+
+libags_audio_a-ags_buffer_recycling.o: src/ags/audio/recall/ags_buffer_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo -c -o libags_audio_a-ags_buffer_recycling.o `test -f 'src/ags/audio/recall/ags_buffer_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_recycling.c' object='libags_audio_a-ags_buffer_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_recycling.o `test -f 'src/ags/audio/recall/ags_buffer_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_buffer_recycling.c
+
+libags_audio_a-ags_buffer_recycling.obj: src/ags/audio/recall/ags_buffer_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_buffer_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo -c -o libags_audio_a-ags_buffer_recycling.obj `if test -f 'src/ags/audio/recall/ags_buffer_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_buffer_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_buffer_recycling.c' object='libags_audio_a-ags_buffer_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_buffer_recycling.obj `if test -f 'src/ags/audio/recall/ags_buffer_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_buffer_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_buffer_recycling.c'; fi`
+
+libags_audio_a-ags_copy_audio_signal.o: src/ags/audio/recall/ags_copy_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo -c -o libags_audio_a-ags_copy_audio_signal.o `test -f 'src/ags/audio/recall/ags_copy_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_audio_signal.c' object='libags_audio_a-ags_copy_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_audio_signal.o `test -f 'src/ags/audio/recall/ags_copy_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_audio_signal.c
+
+libags_audio_a-ags_copy_audio_signal.obj: src/ags/audio/recall/ags_copy_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo -c -o libags_audio_a-ags_copy_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_copy_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_copy_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_audio_signal.c' object='libags_audio_a-ags_copy_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_copy_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_audio_signal.c'; fi`
+
+libags_audio_a-ags_copy_channel.o: src/ags/audio/recall/ags_copy_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo -c -o libags_audio_a-ags_copy_channel.o `test -f 'src/ags/audio/recall/ags_copy_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel.c' object='libags_audio_a-ags_copy_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel.o `test -f 'src/ags/audio/recall/ags_copy_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel.c
+
+libags_audio_a-ags_copy_channel.obj: src/ags/audio/recall/ags_copy_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo -c -o libags_audio_a-ags_copy_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel.c' object='libags_audio_a-ags_copy_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel.c'; fi`
+
+libags_audio_a-ags_copy_channel_run.o: src/ags/audio/recall/ags_copy_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo -c -o libags_audio_a-ags_copy_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel_run.c' object='libags_audio_a-ags_copy_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_channel_run.c
+
+libags_audio_a-ags_copy_channel_run.obj: src/ags/audio/recall/ags_copy_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo -c -o libags_audio_a-ags_copy_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_channel_run.c' object='libags_audio_a-ags_copy_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_channel_run.c'; fi`
+
+libags_audio_a-ags_copy_notation_audio.o: src/ags/audio/recall/ags_copy_notation_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo -c -o libags_audio_a-ags_copy_notation_audio.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio.c' object='libags_audio_a-ags_copy_notation_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio.c
+
+libags_audio_a-ags_copy_notation_audio.obj: src/ags/audio/recall/ags_copy_notation_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo -c -o libags_audio_a-ags_copy_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio.c' object='libags_audio_a-ags_copy_notation_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio.c'; fi`
+
+libags_audio_a-ags_copy_notation_audio_run.o: src/ags/audio/recall/ags_copy_notation_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo -c -o libags_audio_a-ags_copy_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio_run.c' object='libags_audio_a-ags_copy_notation_audio_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_notation_audio_run.c
+
+libags_audio_a-ags_copy_notation_audio_run.obj: src/ags/audio/recall/ags_copy_notation_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_notation_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo -c -o libags_audio_a-ags_copy_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_notation_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_notation_audio_run.c' object='libags_audio_a-ags_copy_notation_audio_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_notation_audio_run.c'; fi`
+
+libags_audio_a-ags_copy_pattern_audio.o: src/ags/audio/recall/ags_copy_pattern_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo -c -o libags_audio_a-ags_copy_pattern_audio.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio.c' object='libags_audio_a-ags_copy_pattern_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio.c
+
+libags_audio_a-ags_copy_pattern_audio.obj: src/ags/audio/recall/ags_copy_pattern_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo -c -o libags_audio_a-ags_copy_pattern_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio.c' object='libags_audio_a-ags_copy_pattern_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio.c'; fi`
+
+libags_audio_a-ags_copy_pattern_audio_run.o: src/ags/audio/recall/ags_copy_pattern_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo -c -o libags_audio_a-ags_copy_pattern_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio_run.c' object='libags_audio_a-ags_copy_pattern_audio_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_audio_run.c
+
+libags_audio_a-ags_copy_pattern_audio_run.obj: src/ags/audio/recall/ags_copy_pattern_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo -c -o libags_audio_a-ags_copy_pattern_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_audio_run.c' object='libags_audio_a-ags_copy_pattern_audio_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_audio_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_audio_run.c'; fi`
+
+libags_audio_a-ags_copy_pattern_channel.o: src/ags/audio/recall/ags_copy_pattern_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo -c -o libags_audio_a-ags_copy_pattern_channel.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel.c' object='libags_audio_a-ags_copy_pattern_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel.c
+
+libags_audio_a-ags_copy_pattern_channel.obj: src/ags/audio/recall/ags_copy_pattern_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo -c -o libags_audio_a-ags_copy_pattern_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel.c' object='libags_audio_a-ags_copy_pattern_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel.c'; fi`
+
+libags_audio_a-ags_copy_pattern_channel_run.o: src/ags/audio/recall/ags_copy_pattern_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo -c -o libags_audio_a-ags_copy_pattern_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel_run.c' object='libags_audio_a-ags_copy_pattern_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel_run.o `test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_pattern_channel_run.c
+
+libags_audio_a-ags_copy_pattern_channel_run.obj: src/ags/audio/recall/ags_copy_pattern_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_pattern_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo -c -o libags_audio_a-ags_copy_pattern_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_copy_pattern_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_pattern_channel_run.c' object='libags_audio_a-ags_copy_pattern_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_pattern_channel_run.obj `if test -f 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_pattern_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_pattern_channel_run.c'; fi`
+
+libags_audio_a-ags_copy_recycling.o: src/ags/audio/recall/ags_copy_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo -c -o libags_audio_a-ags_copy_recycling.o `test -f 'src/ags/audio/recall/ags_copy_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_copy_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_recycling.c' object='libags_audio_a-ags_copy_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_recycling.o `test -f 'src/ags/audio/recall/ags_copy_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_copy_recycling.c
+
+libags_audio_a-ags_copy_recycling.obj: src/ags/audio/recall/ags_copy_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_copy_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo -c -o libags_audio_a-ags_copy_recycling.obj `if test -f 'src/ags/audio/recall/ags_copy_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_copy_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_copy_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_copy_recycling.c' object='libags_audio_a-ags_copy_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_copy_recycling.obj `if test -f 'src/ags/audio/recall/ags_copy_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_copy_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_copy_recycling.c'; fi`
+
+libags_audio_a-ags_count_beats_audio.o: src/ags/audio/recall/ags_count_beats_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo -c -o libags_audio_a-ags_count_beats_audio.o `test -f 'src/ags/audio/recall/ags_count_beats_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio.c' object='libags_audio_a-ags_count_beats_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio.o `test -f 'src/ags/audio/recall/ags_count_beats_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio.c
+
+libags_audio_a-ags_count_beats_audio.obj: src/ags/audio/recall/ags_count_beats_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo -c -o libags_audio_a-ags_count_beats_audio.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio.c' object='libags_audio_a-ags_count_beats_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio.c'; fi`
+
+libags_audio_a-ags_count_beats_audio_run.o: src/ags/audio/recall/ags_count_beats_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo -c -o libags_audio_a-ags_count_beats_audio_run.o `test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio_run.c' object='libags_audio_a-ags_count_beats_audio_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio_run.o `test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_count_beats_audio_run.c
+
+libags_audio_a-ags_count_beats_audio_run.obj: src/ags/audio/recall/ags_count_beats_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_count_beats_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo -c -o libags_audio_a-ags_count_beats_audio_run.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_count_beats_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_count_beats_audio_run.c' object='libags_audio_a-ags_count_beats_audio_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_count_beats_audio_run.obj `if test -f 'src/ags/audio/recall/ags_count_beats_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_count_beats_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_count_beats_audio_run.c'; fi`
+
+libags_audio_a-ags_delay_audio.o: src/ags/audio/recall/ags_delay_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo -c -o libags_audio_a-ags_delay_audio.o `test -f 'src/ags/audio/recall/ags_delay_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio.c' object='libags_audio_a-ags_delay_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio.o `test -f 'src/ags/audio/recall/ags_delay_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio.c
+
+libags_audio_a-ags_delay_audio.obj: src/ags/audio/recall/ags_delay_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo -c -o libags_audio_a-ags_delay_audio.obj `if test -f 'src/ags/audio/recall/ags_delay_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio.c' object='libags_audio_a-ags_delay_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio.obj `if test -f 'src/ags/audio/recall/ags_delay_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio.c'; fi`
+
+libags_audio_a-ags_delay_audio_run.o: src/ags/audio/recall/ags_delay_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo -c -o libags_audio_a-ags_delay_audio_run.o `test -f 'src/ags/audio/recall/ags_delay_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio_run.c' object='libags_audio_a-ags_delay_audio_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio_run.o `test -f 'src/ags/audio/recall/ags_delay_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_delay_audio_run.c
+
+libags_audio_a-ags_delay_audio_run.obj: src/ags/audio/recall/ags_delay_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_delay_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo -c -o libags_audio_a-ags_delay_audio_run.obj `if test -f 'src/ags/audio/recall/ags_delay_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_delay_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_delay_audio_run.c' object='libags_audio_a-ags_delay_audio_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_delay_audio_run.obj `if test -f 'src/ags/audio/recall/ags_delay_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_delay_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_delay_audio_run.c'; fi`
+
+libags_audio_a-ags_mute_audio.o: src/ags/audio/recall/ags_mute_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo -c -o libags_audio_a-ags_mute_audio.o `test -f 'src/ags/audio/recall/ags_mute_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio.c' object='libags_audio_a-ags_mute_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio.o `test -f 'src/ags/audio/recall/ags_mute_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio.c
+
+libags_audio_a-ags_mute_audio.obj: src/ags/audio/recall/ags_mute_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo -c -o libags_audio_a-ags_mute_audio.obj `if test -f 'src/ags/audio/recall/ags_mute_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio.c' object='libags_audio_a-ags_mute_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio.obj `if test -f 'src/ags/audio/recall/ags_mute_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio.c'; fi`
+
+libags_audio_a-ags_mute_audio_signal.o: src/ags/audio/recall/ags_mute_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo -c -o libags_audio_a-ags_mute_audio_signal.o `test -f 'src/ags/audio/recall/ags_mute_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio_signal.c' object='libags_audio_a-ags_mute_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio_signal.o `test -f 'src/ags/audio/recall/ags_mute_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_audio_signal.c
+
+libags_audio_a-ags_mute_audio_signal.obj: src/ags/audio/recall/ags_mute_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo -c -o libags_audio_a-ags_mute_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_mute_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_mute_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_audio_signal.c' object='libags_audio_a-ags_mute_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_mute_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_audio_signal.c'; fi`
+
+libags_audio_a-ags_mute_channel.o: src/ags/audio/recall/ags_mute_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo -c -o libags_audio_a-ags_mute_channel.o `test -f 'src/ags/audio/recall/ags_mute_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel.c' object='libags_audio_a-ags_mute_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel.o `test -f 'src/ags/audio/recall/ags_mute_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel.c
+
+libags_audio_a-ags_mute_channel.obj: src/ags/audio/recall/ags_mute_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo -c -o libags_audio_a-ags_mute_channel.obj `if test -f 'src/ags/audio/recall/ags_mute_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel.c' object='libags_audio_a-ags_mute_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel.obj `if test -f 'src/ags/audio/recall/ags_mute_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel.c'; fi`
+
+libags_audio_a-ags_mute_channel_run.o: src/ags/audio/recall/ags_mute_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo -c -o libags_audio_a-ags_mute_channel_run.o `test -f 'src/ags/audio/recall/ags_mute_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel_run.c' object='libags_audio_a-ags_mute_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel_run.o `test -f 'src/ags/audio/recall/ags_mute_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_channel_run.c
+
+libags_audio_a-ags_mute_channel_run.obj: src/ags/audio/recall/ags_mute_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo -c -o libags_audio_a-ags_mute_channel_run.obj `if test -f 'src/ags/audio/recall/ags_mute_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_mute_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_channel_run.c' object='libags_audio_a-ags_mute_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_channel_run.obj `if test -f 'src/ags/audio/recall/ags_mute_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_channel_run.c'; fi`
+
+libags_audio_a-ags_mute_recycling.o: src/ags/audio/recall/ags_mute_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo -c -o libags_audio_a-ags_mute_recycling.o `test -f 'src/ags/audio/recall/ags_mute_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_mute_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_recycling.c' object='libags_audio_a-ags_mute_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_recycling.o `test -f 'src/ags/audio/recall/ags_mute_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_mute_recycling.c
+
+libags_audio_a-ags_mute_recycling.obj: src/ags/audio/recall/ags_mute_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_mute_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo -c -o libags_audio_a-ags_mute_recycling.obj `if test -f 'src/ags/audio/recall/ags_mute_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_mute_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_mute_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_mute_recycling.c' object='libags_audio_a-ags_mute_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_mute_recycling.obj `if test -f 'src/ags/audio/recall/ags_mute_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_mute_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_mute_recycling.c'; fi`
+
+libags_audio_a-ags_peak_channel.o: src/ags/audio/recall/ags_peak_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo -c -o libags_audio_a-ags_peak_channel.o `test -f 'src/ags/audio/recall/ags_peak_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel.c' object='libags_audio_a-ags_peak_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel.o `test -f 'src/ags/audio/recall/ags_peak_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel.c
+
+libags_audio_a-ags_peak_channel.obj: src/ags/audio/recall/ags_peak_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo -c -o libags_audio_a-ags_peak_channel.obj `if test -f 'src/ags/audio/recall/ags_peak_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel.c' object='libags_audio_a-ags_peak_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel.obj `if test -f 'src/ags/audio/recall/ags_peak_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel.c'; fi`
+
+libags_audio_a-ags_peak_channel_run.o: src/ags/audio/recall/ags_peak_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo -c -o libags_audio_a-ags_peak_channel_run.o `test -f 'src/ags/audio/recall/ags_peak_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel_run.c' object='libags_audio_a-ags_peak_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel_run.o `test -f 'src/ags/audio/recall/ags_peak_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_peak_channel_run.c
+
+libags_audio_a-ags_peak_channel_run.obj: src/ags/audio/recall/ags_peak_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_peak_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo -c -o libags_audio_a-ags_peak_channel_run.obj `if test -f 'src/ags/audio/recall/ags_peak_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_peak_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_peak_channel_run.c' object='libags_audio_a-ags_peak_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_peak_channel_run.obj `if test -f 'src/ags/audio/recall/ags_peak_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_peak_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_peak_channel_run.c'; fi`
+
+libags_audio_a-ags_play_audio_file.o: src/ags/audio/recall/ags_play_audio_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_file.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo -c -o libags_audio_a-ags_play_audio_file.o `test -f 'src/ags/audio/recall/ags_play_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_file.c' object='libags_audio_a-ags_play_audio_file.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_file.o `test -f 'src/ags/audio/recall/ags_play_audio_file.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_file.c
+
+libags_audio_a-ags_play_audio_file.obj: src/ags/audio/recall/ags_play_audio_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_file.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo -c -o libags_audio_a-ags_play_audio_file.obj `if test -f 'src/ags/audio/recall/ags_play_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_file.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_file.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_file.c' object='libags_audio_a-ags_play_audio_file.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_file.obj `if test -f 'src/ags/audio/recall/ags_play_audio_file.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_file.c'; fi`
+
+libags_audio_a-ags_play_audio.o: src/ags/audio/recall/ags_play_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo -c -o libags_audio_a-ags_play_audio.o `test -f 'src/ags/audio/recall/ags_play_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio.c' object='libags_audio_a-ags_play_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio.o `test -f 'src/ags/audio/recall/ags_play_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio.c
+
+libags_audio_a-ags_play_audio.obj: src/ags/audio/recall/ags_play_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo -c -o libags_audio_a-ags_play_audio.obj `if test -f 'src/ags/audio/recall/ags_play_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio.c' object='libags_audio_a-ags_play_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio.obj `if test -f 'src/ags/audio/recall/ags_play_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio.c'; fi`
+
+libags_audio_a-ags_play_audio_signal.o: src/ags/audio/recall/ags_play_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo -c -o libags_audio_a-ags_play_audio_signal.o `test -f 'src/ags/audio/recall/ags_play_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_signal.c' object='libags_audio_a-ags_play_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_signal.o `test -f 'src/ags/audio/recall/ags_play_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_audio_signal.c
+
+libags_audio_a-ags_play_audio_signal.obj: src/ags/audio/recall/ags_play_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo -c -o libags_audio_a-ags_play_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_play_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_play_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_audio_signal.c' object='libags_audio_a-ags_play_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_play_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_audio_signal.c'; fi`
+
+libags_audio_a-ags_play_channel.o: src/ags/audio/recall/ags_play_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo -c -o libags_audio_a-ags_play_channel.o `test -f 'src/ags/audio/recall/ags_play_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel.c' object='libags_audio_a-ags_play_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel.o `test -f 'src/ags/audio/recall/ags_play_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel.c
+
+libags_audio_a-ags_play_channel.obj: src/ags/audio/recall/ags_play_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo -c -o libags_audio_a-ags_play_channel.obj `if test -f 'src/ags/audio/recall/ags_play_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel.c' object='libags_audio_a-ags_play_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel.obj `if test -f 'src/ags/audio/recall/ags_play_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel.c'; fi`
+
+libags_audio_a-ags_play_channel_run.o: src/ags/audio/recall/ags_play_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo -c -o libags_audio_a-ags_play_channel_run.o `test -f 'src/ags/audio/recall/ags_play_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run.c' object='libags_audio_a-ags_play_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run.o `test -f 'src/ags/audio/recall/ags_play_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run.c
+
+libags_audio_a-ags_play_channel_run.obj: src/ags/audio/recall/ags_play_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo -c -o libags_audio_a-ags_play_channel_run.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run.c' object='libags_audio_a-ags_play_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run.c'; fi`
+
+libags_audio_a-ags_play_channel_run_master.o: src/ags/audio/recall/ags_play_channel_run_master.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run_master.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo -c -o libags_audio_a-ags_play_channel_run_master.o `test -f 'src/ags/audio/recall/ags_play_channel_run_master.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run_master.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run_master.c' object='libags_audio_a-ags_play_channel_run_master.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run_master.o `test -f 'src/ags/audio/recall/ags_play_channel_run_master.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_channel_run_master.c
+
+libags_audio_a-ags_play_channel_run_master.obj: src/ags/audio/recall/ags_play_channel_run_master.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_channel_run_master.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo -c -o libags_audio_a-ags_play_channel_run_master.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run_master.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run_master.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run_master.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Tpo $(DEPDIR)/libags_audio_a-ags_play_channel_run_master.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_channel_run_master.c' object='libags_audio_a-ags_play_channel_run_master.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_channel_run_master.obj `if test -f 'src/ags/audio/recall/ags_play_channel_run_master.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_channel_run_master.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_channel_run_master.c'; fi`
+
+libags_audio_a-ags_play_notation_audio.o: src/ags/audio/recall/ags_play_notation_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo -c -o libags_audio_a-ags_play_notation_audio.o `test -f 'src/ags/audio/recall/ags_play_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio.c' object='libags_audio_a-ags_play_notation_audio.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio.o `test -f 'src/ags/audio/recall/ags_play_notation_audio.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio.c
+
+libags_audio_a-ags_play_notation_audio.obj: src/ags/audio/recall/ags_play_notation_audio.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo -c -o libags_audio_a-ags_play_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio.c' object='libags_audio_a-ags_play_notation_audio.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio.c'; fi`
+
+libags_audio_a-ags_play_notation_audio_run.o: src/ags/audio/recall/ags_play_notation_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo -c -o libags_audio_a-ags_play_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio_run.c' object='libags_audio_a-ags_play_notation_audio_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio_run.o `test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_notation_audio_run.c
+
+libags_audio_a-ags_play_notation_audio_run.obj: src/ags/audio/recall/ags_play_notation_audio_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_notation_audio_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo -c -o libags_audio_a-ags_play_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Tpo $(DEPDIR)/libags_audio_a-ags_play_notation_audio_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_notation_audio_run.c' object='libags_audio_a-ags_play_notation_audio_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_notation_audio_run.obj `if test -f 'src/ags/audio/recall/ags_play_notation_audio_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_notation_audio_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_notation_audio_run.c'; fi`
+
+libags_audio_a-ags_play_pattern.o: src/ags/audio/recall/ags_play_pattern.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_pattern.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo -c -o libags_audio_a-ags_play_pattern.o `test -f 'src/ags/audio/recall/ags_play_pattern.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_pattern.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_play_pattern.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_pattern.c' object='libags_audio_a-ags_play_pattern.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_pattern.o `test -f 'src/ags/audio/recall/ags_play_pattern.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_pattern.c
+
+libags_audio_a-ags_play_pattern.obj: src/ags/audio/recall/ags_play_pattern.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_pattern.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo -c -o libags_audio_a-ags_play_pattern.obj `if test -f 'src/ags/audio/recall/ags_play_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_pattern.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_pattern.Tpo $(DEPDIR)/libags_audio_a-ags_play_pattern.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_pattern.c' object='libags_audio_a-ags_play_pattern.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_pattern.obj `if test -f 'src/ags/audio/recall/ags_play_pattern.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_pattern.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_pattern.c'; fi`
+
+libags_audio_a-ags_play_recycling.o: src/ags/audio/recall/ags_play_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo -c -o libags_audio_a-ags_play_recycling.o `test -f 'src/ags/audio/recall/ags_play_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_play_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_recycling.c' object='libags_audio_a-ags_play_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_recycling.o `test -f 'src/ags/audio/recall/ags_play_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_play_recycling.c
+
+libags_audio_a-ags_play_recycling.obj: src/ags/audio/recall/ags_play_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_play_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo -c -o libags_audio_a-ags_play_recycling.obj `if test -f 'src/ags/audio/recall/ags_play_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_play_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_play_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_play_recycling.c' object='libags_audio_a-ags_play_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_play_recycling.obj `if test -f 'src/ags/audio/recall/ags_play_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_play_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_play_recycling.c'; fi`
+
+libags_audio_a-ags_stream_audio_signal.o: src/ags/audio/recall/ags_stream_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo -c -o libags_audio_a-ags_stream_audio_signal.o `test -f 'src/ags/audio/recall/ags_stream_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_audio_signal.c' object='libags_audio_a-ags_stream_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_audio_signal.o `test -f 'src/ags/audio/recall/ags_stream_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_audio_signal.c
+
+libags_audio_a-ags_stream_audio_signal.obj: src/ags/audio/recall/ags_stream_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo -c -o libags_audio_a-ags_stream_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_stream_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_stream_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_audio_signal.c' object='libags_audio_a-ags_stream_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_stream_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_audio_signal.c'; fi`
+
+libags_audio_a-ags_stream_channel.o: src/ags/audio/recall/ags_stream_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo -c -o libags_audio_a-ags_stream_channel.o `test -f 'src/ags/audio/recall/ags_stream_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel.c' object='libags_audio_a-ags_stream_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel.o `test -f 'src/ags/audio/recall/ags_stream_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel.c
+
+libags_audio_a-ags_stream_channel.obj: src/ags/audio/recall/ags_stream_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo -c -o libags_audio_a-ags_stream_channel.obj `if test -f 'src/ags/audio/recall/ags_stream_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel.c' object='libags_audio_a-ags_stream_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel.obj `if test -f 'src/ags/audio/recall/ags_stream_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel.c'; fi`
+
+libags_audio_a-ags_stream_channel_run.o: src/ags/audio/recall/ags_stream_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo -c -o libags_audio_a-ags_stream_channel_run.o `test -f 'src/ags/audio/recall/ags_stream_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel_run.c' object='libags_audio_a-ags_stream_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel_run.o `test -f 'src/ags/audio/recall/ags_stream_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_channel_run.c
+
+libags_audio_a-ags_stream_channel_run.obj: src/ags/audio/recall/ags_stream_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo -c -o libags_audio_a-ags_stream_channel_run.obj `if test -f 'src/ags/audio/recall/ags_stream_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_stream_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_channel_run.c' object='libags_audio_a-ags_stream_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_channel_run.obj `if test -f 'src/ags/audio/recall/ags_stream_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_channel_run.c'; fi`
+
+libags_audio_a-ags_stream_recycling.o: src/ags/audio/recall/ags_stream_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo -c -o libags_audio_a-ags_stream_recycling.o `test -f 'src/ags/audio/recall/ags_stream_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_stream_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_recycling.c' object='libags_audio_a-ags_stream_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_recycling.o `test -f 'src/ags/audio/recall/ags_stream_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_stream_recycling.c
+
+libags_audio_a-ags_stream_recycling.obj: src/ags/audio/recall/ags_stream_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_stream_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo -c -o libags_audio_a-ags_stream_recycling.obj `if test -f 'src/ags/audio/recall/ags_stream_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_stream_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_stream_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_stream_recycling.c' object='libags_audio_a-ags_stream_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_stream_recycling.obj `if test -f 'src/ags/audio/recall/ags_stream_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_stream_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_stream_recycling.c'; fi`
+
+libags_audio_a-ags_volume_audio_signal.o: src/ags/audio/recall/ags_volume_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_audio_signal.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo -c -o libags_audio_a-ags_volume_audio_signal.o `test -f 'src/ags/audio/recall/ags_volume_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_audio_signal.c' object='libags_audio_a-ags_volume_audio_signal.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_audio_signal.o `test -f 'src/ags/audio/recall/ags_volume_audio_signal.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_audio_signal.c
+
+libags_audio_a-ags_volume_audio_signal.obj: src/ags/audio/recall/ags_volume_audio_signal.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_audio_signal.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo -c -o libags_audio_a-ags_volume_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_volume_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_audio_signal.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Tpo $(DEPDIR)/libags_audio_a-ags_volume_audio_signal.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_audio_signal.c' object='libags_audio_a-ags_volume_audio_signal.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_audio_signal.obj `if test -f 'src/ags/audio/recall/ags_volume_audio_signal.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_audio_signal.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_audio_signal.c'; fi`
+
+libags_audio_a-ags_volume_channel.o: src/ags/audio/recall/ags_volume_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo -c -o libags_audio_a-ags_volume_channel.o `test -f 'src/ags/audio/recall/ags_volume_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel.c' object='libags_audio_a-ags_volume_channel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel.o `test -f 'src/ags/audio/recall/ags_volume_channel.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel.c
+
+libags_audio_a-ags_volume_channel.obj: src/ags/audio/recall/ags_volume_channel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo -c -o libags_audio_a-ags_volume_channel.obj `if test -f 'src/ags/audio/recall/ags_volume_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel.c' object='libags_audio_a-ags_volume_channel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel.obj `if test -f 'src/ags/audio/recall/ags_volume_channel.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel.c'; fi`
+
+libags_audio_a-ags_volume_channel_run.o: src/ags/audio/recall/ags_volume_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel_run.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo -c -o libags_audio_a-ags_volume_channel_run.o `test -f 'src/ags/audio/recall/ags_volume_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel_run.c' object='libags_audio_a-ags_volume_channel_run.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel_run.o `test -f 'src/ags/audio/recall/ags_volume_channel_run.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_channel_run.c
+
+libags_audio_a-ags_volume_channel_run.obj: src/ags/audio/recall/ags_volume_channel_run.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_channel_run.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo -c -o libags_audio_a-ags_volume_channel_run.obj `if test -f 'src/ags/audio/recall/ags_volume_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel_run.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Tpo $(DEPDIR)/libags_audio_a-ags_volume_channel_run.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_channel_run.c' object='libags_audio_a-ags_volume_channel_run.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_channel_run.obj `if test -f 'src/ags/audio/recall/ags_volume_channel_run.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_channel_run.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_channel_run.c'; fi`
+
+libags_audio_a-ags_volume_recycling.o: src/ags/audio/recall/ags_volume_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_recycling.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo -c -o libags_audio_a-ags_volume_recycling.o `test -f 'src/ags/audio/recall/ags_volume_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_volume_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_recycling.c' object='libags_audio_a-ags_volume_recycling.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_recycling.o `test -f 'src/ags/audio/recall/ags_volume_recycling.c' || echo '$(srcdir)/'`src/ags/audio/recall/ags_volume_recycling.c
+
+libags_audio_a-ags_volume_recycling.obj: src/ags/audio/recall/ags_volume_recycling.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_volume_recycling.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo -c -o libags_audio_a-ags_volume_recycling.obj `if test -f 'src/ags/audio/recall/ags_volume_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_recycling.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_volume_recycling.Tpo $(DEPDIR)/libags_audio_a-ags_volume_recycling.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/recall/ags_volume_recycling.c' object='libags_audio_a-ags_volume_recycling.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_volume_recycling.obj `if test -f 'src/ags/audio/recall/ags_volume_recycling.c'; then $(CYGPATH_W) 'src/ags/audio/recall/ags_volume_recycling.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/recall/ags_volume_recycling.c'; fi`
+
+libags_audio_a-ags_ladspa_manager.o: src/ags/plugin/ags_ladspa_manager.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ladspa_manager.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo -c -o libags_audio_a-ags_ladspa_manager.o `test -f 'src/ags/plugin/ags_ladspa_manager.c' || echo '$(srcdir)/'`src/ags/plugin/ags_ladspa_manager.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/plugin/ags_ladspa_manager.c' object='libags_audio_a-ags_ladspa_manager.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ladspa_manager.o `test -f 'src/ags/plugin/ags_ladspa_manager.c' || echo '$(srcdir)/'`src/ags/plugin/ags_ladspa_manager.c
+
+libags_audio_a-ags_ladspa_manager.obj: src/ags/plugin/ags_ladspa_manager.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_ladspa_manager.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo -c -o libags_audio_a-ags_ladspa_manager.obj `if test -f 'src/ags/plugin/ags_ladspa_manager.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_ladspa_manager.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_ladspa_manager.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Tpo $(DEPDIR)/libags_audio_a-ags_ladspa_manager.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/plugin/ags_ladspa_manager.c' object='libags_audio_a-ags_ladspa_manager.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_ladspa_manager.obj `if test -f 'src/ags/plugin/ags_ladspa_manager.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_ladspa_manager.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_ladspa_manager.c'; fi`
+
+libags_audio_a-ags_plugin_factory.o: src/ags/plugin/ags_plugin_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_plugin_factory.o -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo -c -o libags_audio_a-ags_plugin_factory.o `test -f 'src/ags/plugin/ags_plugin_factory.c' || echo '$(srcdir)/'`src/ags/plugin/ags_plugin_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo $(DEPDIR)/libags_audio_a-ags_plugin_factory.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/plugin/ags_plugin_factory.c' object='libags_audio_a-ags_plugin_factory.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_plugin_factory.o `test -f 'src/ags/plugin/ags_plugin_factory.c' || echo '$(srcdir)/'`src/ags/plugin/ags_plugin_factory.c
+
+libags_audio_a-ags_plugin_factory.obj: src/ags/plugin/ags_plugin_factory.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -MT libags_audio_a-ags_plugin_factory.obj -MD -MP -MF $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo -c -o libags_audio_a-ags_plugin_factory.obj `if test -f 'src/ags/plugin/ags_plugin_factory.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_plugin_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_plugin_factory.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_audio_a-ags_plugin_factory.Tpo $(DEPDIR)/libags_audio_a-ags_plugin_factory.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/plugin/ags_plugin_factory.c' object='libags_audio_a-ags_plugin_factory.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_audio_a_CFLAGS) $(CFLAGS) -c -o libags_audio_a-ags_plugin_factory.obj `if test -f 'src/ags/plugin/ags_plugin_factory.c'; then $(CYGPATH_W) 'src/ags/plugin/ags_plugin_factory.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/plugin/ags_plugin_factory.c'; fi`
+
+libags_gui_a-ags_cartesian.o: src/ags/widget/ags_cartesian.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_cartesian.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo -c -o libags_gui_a-ags_cartesian.o `test -f 'src/ags/widget/ags_cartesian.c' || echo '$(srcdir)/'`src/ags/widget/ags_cartesian.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo $(DEPDIR)/libags_gui_a-ags_cartesian.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_cartesian.c' object='libags_gui_a-ags_cartesian.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_cartesian.o `test -f 'src/ags/widget/ags_cartesian.c' || echo '$(srcdir)/'`src/ags/widget/ags_cartesian.c
+
+libags_gui_a-ags_cartesian.obj: src/ags/widget/ags_cartesian.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_cartesian.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo -c -o libags_gui_a-ags_cartesian.obj `if test -f 'src/ags/widget/ags_cartesian.c'; then $(CYGPATH_W) 'src/ags/widget/ags_cartesian.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_cartesian.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_cartesian.Tpo $(DEPDIR)/libags_gui_a-ags_cartesian.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_cartesian.c' object='libags_gui_a-ags_cartesian.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_cartesian.obj `if test -f 'src/ags/widget/ags_cartesian.c'; then $(CYGPATH_W) 'src/ags/widget/ags_cartesian.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_cartesian.c'; fi`
+
+libags_gui_a-ags_dial.o: src/ags/widget/ags_dial.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_dial.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_dial.Tpo -c -o libags_gui_a-ags_dial.o `test -f 'src/ags/widget/ags_dial.c' || echo '$(srcdir)/'`src/ags/widget/ags_dial.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_dial.Tpo $(DEPDIR)/libags_gui_a-ags_dial.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_dial.c' object='libags_gui_a-ags_dial.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_dial.o `test -f 'src/ags/widget/ags_dial.c' || echo '$(srcdir)/'`src/ags/widget/ags_dial.c
+
+libags_gui_a-ags_dial.obj: src/ags/widget/ags_dial.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_dial.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_dial.Tpo -c -o libags_gui_a-ags_dial.obj `if test -f 'src/ags/widget/ags_dial.c'; then $(CYGPATH_W) 'src/ags/widget/ags_dial.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_dial.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_dial.Tpo $(DEPDIR)/libags_gui_a-ags_dial.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_dial.c' object='libags_gui_a-ags_dial.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_dial.obj `if test -f 'src/ags/widget/ags_dial.c'; then $(CYGPATH_W) 'src/ags/widget/ags_dial.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_dial.c'; fi`
+
+libags_gui_a-ags_expander.o: src/ags/widget/ags_expander.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander.Tpo -c -o libags_gui_a-ags_expander.o `test -f 'src/ags/widget/ags_expander.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander.Tpo $(DEPDIR)/libags_gui_a-ags_expander.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_expander.c' object='libags_gui_a-ags_expander.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander.o `test -f 'src/ags/widget/ags_expander.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander.c
+
+libags_gui_a-ags_expander.obj: src/ags/widget/ags_expander.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander.Tpo -c -o libags_gui_a-ags_expander.obj `if test -f 'src/ags/widget/ags_expander.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander.Tpo $(DEPDIR)/libags_gui_a-ags_expander.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_expander.c' object='libags_gui_a-ags_expander.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander.obj `if test -f 'src/ags/widget/ags_expander.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander.c'; fi`
+
+libags_gui_a-ags_expander_set.o: src/ags/widget/ags_expander_set.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander_set.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo -c -o libags_gui_a-ags_expander_set.o `test -f 'src/ags/widget/ags_expander_set.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander_set.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo $(DEPDIR)/libags_gui_a-ags_expander_set.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_expander_set.c' object='libags_gui_a-ags_expander_set.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander_set.o `test -f 'src/ags/widget/ags_expander_set.c' || echo '$(srcdir)/'`src/ags/widget/ags_expander_set.c
+
+libags_gui_a-ags_expander_set.obj: src/ags/widget/ags_expander_set.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_expander_set.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo -c -o libags_gui_a-ags_expander_set.obj `if test -f 'src/ags/widget/ags_expander_set.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander_set.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander_set.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_expander_set.Tpo $(DEPDIR)/libags_gui_a-ags_expander_set.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_expander_set.c' object='libags_gui_a-ags_expander_set.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_expander_set.obj `if test -f 'src/ags/widget/ags_expander_set.c'; then $(CYGPATH_W) 'src/ags/widget/ags_expander_set.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_expander_set.c'; fi`
+
+libags_gui_a-ags_hindicator.o: src/ags/widget/ags_hindicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_hindicator.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo -c -o libags_gui_a-ags_hindicator.o `test -f 'src/ags/widget/ags_hindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_hindicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo $(DEPDIR)/libags_gui_a-ags_hindicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_hindicator.c' object='libags_gui_a-ags_hindicator.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_hindicator.o `test -f 'src/ags/widget/ags_hindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_hindicator.c
+
+libags_gui_a-ags_hindicator.obj: src/ags/widget/ags_hindicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_hindicator.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo -c -o libags_gui_a-ags_hindicator.obj `if test -f 'src/ags/widget/ags_hindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_hindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_hindicator.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_hindicator.Tpo $(DEPDIR)/libags_gui_a-ags_hindicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_hindicator.c' object='libags_gui_a-ags_hindicator.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_hindicator.obj `if test -f 'src/ags/widget/ags_hindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_hindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_hindicator.c'; fi`
+
+libags_gui_a-ags_htimebar.o: src/ags/widget/ags_htimebar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_htimebar.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo -c -o libags_gui_a-ags_htimebar.o `test -f 'src/ags/widget/ags_htimebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_htimebar.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo $(DEPDIR)/libags_gui_a-ags_htimebar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_htimebar.c' object='libags_gui_a-ags_htimebar.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_htimebar.o `test -f 'src/ags/widget/ags_htimebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_htimebar.c
+
+libags_gui_a-ags_htimebar.obj: src/ags/widget/ags_htimebar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_htimebar.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo -c -o libags_gui_a-ags_htimebar.obj `if test -f 'src/ags/widget/ags_htimebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_htimebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_htimebar.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_htimebar.Tpo $(DEPDIR)/libags_gui_a-ags_htimebar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_htimebar.c' object='libags_gui_a-ags_htimebar.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_htimebar.obj `if test -f 'src/ags/widget/ags_htimebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_htimebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_htimebar.c'; fi`
+
+libags_gui_a-ags_indicator.o: src/ags/widget/ags_indicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_indicator.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_indicator.Tpo -c -o libags_gui_a-ags_indicator.o `test -f 'src/ags/widget/ags_indicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_indicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_indicator.Tpo $(DEPDIR)/libags_gui_a-ags_indicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_indicator.c' object='libags_gui_a-ags_indicator.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_indicator.o `test -f 'src/ags/widget/ags_indicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_indicator.c
+
+libags_gui_a-ags_indicator.obj: src/ags/widget/ags_indicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_indicator.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_indicator.Tpo -c -o libags_gui_a-ags_indicator.obj `if test -f 'src/ags/widget/ags_indicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_indicator.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_indicator.Tpo $(DEPDIR)/libags_gui_a-ags_indicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_indicator.c' object='libags_gui_a-ags_indicator.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_indicator.obj `if test -f 'src/ags/widget/ags_indicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_indicator.c'; fi`
+
+libags_gui_a-ags_led.o: src/ags/widget/ags_led.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_led.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_led.Tpo -c -o libags_gui_a-ags_led.o `test -f 'src/ags/widget/ags_led.c' || echo '$(srcdir)/'`src/ags/widget/ags_led.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_led.Tpo $(DEPDIR)/libags_gui_a-ags_led.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_led.c' object='libags_gui_a-ags_led.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_led.o `test -f 'src/ags/widget/ags_led.c' || echo '$(srcdir)/'`src/ags/widget/ags_led.c
+
+libags_gui_a-ags_led.obj: src/ags/widget/ags_led.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_led.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_led.Tpo -c -o libags_gui_a-ags_led.obj `if test -f 'src/ags/widget/ags_led.c'; then $(CYGPATH_W) 'src/ags/widget/ags_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_led.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_led.Tpo $(DEPDIR)/libags_gui_a-ags_led.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_led.c' object='libags_gui_a-ags_led.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_led.obj `if test -f 'src/ags/widget/ags_led.c'; then $(CYGPATH_W) 'src/ags/widget/ags_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_led.c'; fi`
+
+libags_gui_a-ags_menu.o: src/ags/widget/ags_menu.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu.Tpo -c -o libags_gui_a-ags_menu.o `test -f 'src/ags/widget/ags_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu.Tpo $(DEPDIR)/libags_gui_a-ags_menu.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_menu.c' object='libags_gui_a-ags_menu.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu.o `test -f 'src/ags/widget/ags_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu.c
+
+libags_gui_a-ags_menu.obj: src/ags/widget/ags_menu.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu.Tpo -c -o libags_gui_a-ags_menu.obj `if test -f 'src/ags/widget/ags_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu.Tpo $(DEPDIR)/libags_gui_a-ags_menu.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_menu.c' object='libags_gui_a-ags_menu.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu.obj `if test -f 'src/ags/widget/ags_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu.c'; fi`
+
+libags_gui_a-ags_menu_item.o: src/ags/widget/ags_menu_item.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu_item.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo -c -o libags_gui_a-ags_menu_item.o `test -f 'src/ags/widget/ags_menu_item.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu_item.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo $(DEPDIR)/libags_gui_a-ags_menu_item.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_menu_item.c' object='libags_gui_a-ags_menu_item.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu_item.o `test -f 'src/ags/widget/ags_menu_item.c' || echo '$(srcdir)/'`src/ags/widget/ags_menu_item.c
+
+libags_gui_a-ags_menu_item.obj: src/ags/widget/ags_menu_item.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_menu_item.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo -c -o libags_gui_a-ags_menu_item.obj `if test -f 'src/ags/widget/ags_menu_item.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu_item.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu_item.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_menu_item.Tpo $(DEPDIR)/libags_gui_a-ags_menu_item.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_menu_item.c' object='libags_gui_a-ags_menu_item.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_menu_item.obj `if test -f 'src/ags/widget/ags_menu_item.c'; then $(CYGPATH_W) 'src/ags/widget/ags_menu_item.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_menu_item.c'; fi`
+
+libags_gui_a-ags_option_menu.o: src/ags/widget/ags_option_menu.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_option_menu.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo -c -o libags_gui_a-ags_option_menu.o `test -f 'src/ags/widget/ags_option_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_option_menu.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo $(DEPDIR)/libags_gui_a-ags_option_menu.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_option_menu.c' object='libags_gui_a-ags_option_menu.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_option_menu.o `test -f 'src/ags/widget/ags_option_menu.c' || echo '$(srcdir)/'`src/ags/widget/ags_option_menu.c
+
+libags_gui_a-ags_option_menu.obj: src/ags/widget/ags_option_menu.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_option_menu.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo -c -o libags_gui_a-ags_option_menu.obj `if test -f 'src/ags/widget/ags_option_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_option_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_option_menu.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_option_menu.Tpo $(DEPDIR)/libags_gui_a-ags_option_menu.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_option_menu.c' object='libags_gui_a-ags_option_menu.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_option_menu.obj `if test -f 'src/ags/widget/ags_option_menu.c'; then $(CYGPATH_W) 'src/ags/widget/ags_option_menu.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_option_menu.c'; fi`
+
+libags_gui_a-ags_ruler.o: src/ags/widget/ags_ruler.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_ruler.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_ruler.Tpo -c -o libags_gui_a-ags_ruler.o `test -f 'src/ags/widget/ags_ruler.c' || echo '$(srcdir)/'`src/ags/widget/ags_ruler.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_ruler.Tpo $(DEPDIR)/libags_gui_a-ags_ruler.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_ruler.c' object='libags_gui_a-ags_ruler.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_ruler.o `test -f 'src/ags/widget/ags_ruler.c' || echo '$(srcdir)/'`src/ags/widget/ags_ruler.c
+
+libags_gui_a-ags_ruler.obj: src/ags/widget/ags_ruler.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_ruler.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_ruler.Tpo -c -o libags_gui_a-ags_ruler.obj `if test -f 'src/ags/widget/ags_ruler.c'; then $(CYGPATH_W) 'src/ags/widget/ags_ruler.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_ruler.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_ruler.Tpo $(DEPDIR)/libags_gui_a-ags_ruler.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_ruler.c' object='libags_gui_a-ags_ruler.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_ruler.obj `if test -f 'src/ags/widget/ags_ruler.c'; then $(CYGPATH_W) 'src/ags/widget/ags_ruler.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_ruler.c'; fi`
+
+libags_gui_a-ags_segment.o: src/ags/widget/ags_segment.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_segment.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_segment.Tpo -c -o libags_gui_a-ags_segment.o `test -f 'src/ags/widget/ags_segment.c' || echo '$(srcdir)/'`src/ags/widget/ags_segment.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_segment.Tpo $(DEPDIR)/libags_gui_a-ags_segment.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_segment.c' object='libags_gui_a-ags_segment.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_segment.o `test -f 'src/ags/widget/ags_segment.c' || echo '$(srcdir)/'`src/ags/widget/ags_segment.c
+
+libags_gui_a-ags_segment.obj: src/ags/widget/ags_segment.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_segment.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_segment.Tpo -c -o libags_gui_a-ags_segment.obj `if test -f 'src/ags/widget/ags_segment.c'; then $(CYGPATH_W) 'src/ags/widget/ags_segment.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_segment.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_segment.Tpo $(DEPDIR)/libags_gui_a-ags_segment.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_segment.c' object='libags_gui_a-ags_segment.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_segment.obj `if test -f 'src/ags/widget/ags_segment.c'; then $(CYGPATH_W) 'src/ags/widget/ags_segment.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_segment.c'; fi`
+
+libags_gui_a-ags_table.o: src/ags/widget/ags_table.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_table.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_table.Tpo -c -o libags_gui_a-ags_table.o `test -f 'src/ags/widget/ags_table.c' || echo '$(srcdir)/'`src/ags/widget/ags_table.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_table.Tpo $(DEPDIR)/libags_gui_a-ags_table.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_table.c' object='libags_gui_a-ags_table.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_table.o `test -f 'src/ags/widget/ags_table.c' || echo '$(srcdir)/'`src/ags/widget/ags_table.c
+
+libags_gui_a-ags_table.obj: src/ags/widget/ags_table.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_table.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_table.Tpo -c -o libags_gui_a-ags_table.obj `if test -f 'src/ags/widget/ags_table.c'; then $(CYGPATH_W) 'src/ags/widget/ags_table.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_table.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_table.Tpo $(DEPDIR)/libags_gui_a-ags_table.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_table.c' object='libags_gui_a-ags_table.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_table.obj `if test -f 'src/ags/widget/ags_table.c'; then $(CYGPATH_W) 'src/ags/widget/ags_table.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_table.c'; fi`
+
+libags_gui_a-ags_timebar.o: src/ags/widget/ags_timebar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_timebar.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_timebar.Tpo -c -o libags_gui_a-ags_timebar.o `test -f 'src/ags/widget/ags_timebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_timebar.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_timebar.Tpo $(DEPDIR)/libags_gui_a-ags_timebar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_timebar.c' object='libags_gui_a-ags_timebar.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_timebar.o `test -f 'src/ags/widget/ags_timebar.c' || echo '$(srcdir)/'`src/ags/widget/ags_timebar.c
+
+libags_gui_a-ags_timebar.obj: src/ags/widget/ags_timebar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_timebar.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_timebar.Tpo -c -o libags_gui_a-ags_timebar.obj `if test -f 'src/ags/widget/ags_timebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_timebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_timebar.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_timebar.Tpo $(DEPDIR)/libags_gui_a-ags_timebar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_timebar.c' object='libags_gui_a-ags_timebar.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_timebar.obj `if test -f 'src/ags/widget/ags_timebar.c'; then $(CYGPATH_W) 'src/ags/widget/ags_timebar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_timebar.c'; fi`
+
+libags_gui_a-ags_vindicator.o: src/ags/widget/ags_vindicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_vindicator.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo -c -o libags_gui_a-ags_vindicator.o `test -f 'src/ags/widget/ags_vindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_vindicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo $(DEPDIR)/libags_gui_a-ags_vindicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_vindicator.c' object='libags_gui_a-ags_vindicator.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_vindicator.o `test -f 'src/ags/widget/ags_vindicator.c' || echo '$(srcdir)/'`src/ags/widget/ags_vindicator.c
+
+libags_gui_a-ags_vindicator.obj: src/ags/widget/ags_vindicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_vindicator.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo -c -o libags_gui_a-ags_vindicator.obj `if test -f 'src/ags/widget/ags_vindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_vindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_vindicator.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_vindicator.Tpo $(DEPDIR)/libags_gui_a-ags_vindicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_vindicator.c' object='libags_gui_a-ags_vindicator.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_vindicator.obj `if test -f 'src/ags/widget/ags_vindicator.c'; then $(CYGPATH_W) 'src/ags/widget/ags_vindicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_vindicator.c'; fi`
+
+libags_gui_a-ags_waveform.o: src/ags/widget/ags_waveform.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_waveform.o -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_waveform.Tpo -c -o libags_gui_a-ags_waveform.o `test -f 'src/ags/widget/ags_waveform.c' || echo '$(srcdir)/'`src/ags/widget/ags_waveform.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_waveform.Tpo $(DEPDIR)/libags_gui_a-ags_waveform.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_waveform.c' object='libags_gui_a-ags_waveform.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_waveform.o `test -f 'src/ags/widget/ags_waveform.c' || echo '$(srcdir)/'`src/ags/widget/ags_waveform.c
+
+libags_gui_a-ags_waveform.obj: src/ags/widget/ags_waveform.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -MT libags_gui_a-ags_waveform.obj -MD -MP -MF $(DEPDIR)/libags_gui_a-ags_waveform.Tpo -c -o libags_gui_a-ags_waveform.obj `if test -f 'src/ags/widget/ags_waveform.c'; then $(CYGPATH_W) 'src/ags/widget/ags_waveform.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_waveform.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_gui_a-ags_waveform.Tpo $(DEPDIR)/libags_gui_a-ags_waveform.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/widget/ags_waveform.c' object='libags_gui_a-ags_waveform.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_gui_a_CFLAGS) $(CFLAGS) -c -o libags_gui_a-ags_waveform.obj `if test -f 'src/ags/widget/ags_waveform.c'; then $(CYGPATH_W) 'src/ags/widget/ags_waveform.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/widget/ags_waveform.c'; fi`
+
+libags_thread_a-ags_async_queue.o: src/ags/thread/ags_async_queue.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_async_queue.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo -c -o libags_thread_a-ags_async_queue.o `test -f 'src/ags/thread/ags_async_queue.c' || echo '$(srcdir)/'`src/ags/thread/ags_async_queue.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo $(DEPDIR)/libags_thread_a-ags_async_queue.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_async_queue.c' object='libags_thread_a-ags_async_queue.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_async_queue.o `test -f 'src/ags/thread/ags_async_queue.c' || echo '$(srcdir)/'`src/ags/thread/ags_async_queue.c
+
+libags_thread_a-ags_async_queue.obj: src/ags/thread/ags_async_queue.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_async_queue.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo -c -o libags_thread_a-ags_async_queue.obj `if test -f 'src/ags/thread/ags_async_queue.c'; then $(CYGPATH_W) 'src/ags/thread/ags_async_queue.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_async_queue.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_async_queue.Tpo $(DEPDIR)/libags_thread_a-ags_async_queue.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_async_queue.c' object='libags_thread_a-ags_async_queue.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_async_queue.obj `if test -f 'src/ags/thread/ags_async_queue.c'; then $(CYGPATH_W) 'src/ags/thread/ags_async_queue.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_async_queue.c'; fi`
+
+libags_thread_a-ags_audio_loop.o: src/ags/thread/ags_audio_loop.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_audio_loop.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo -c -o libags_thread_a-ags_audio_loop.o `test -f 'src/ags/thread/ags_audio_loop.c' || echo '$(srcdir)/'`src/ags/thread/ags_audio_loop.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo $(DEPDIR)/libags_thread_a-ags_audio_loop.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_audio_loop.c' object='libags_thread_a-ags_audio_loop.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_audio_loop.o `test -f 'src/ags/thread/ags_audio_loop.c' || echo '$(srcdir)/'`src/ags/thread/ags_audio_loop.c
+
+libags_thread_a-ags_audio_loop.obj: src/ags/thread/ags_audio_loop.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_audio_loop.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo -c -o libags_thread_a-ags_audio_loop.obj `if test -f 'src/ags/thread/ags_audio_loop.c'; then $(CYGPATH_W) 'src/ags/thread/ags_audio_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_audio_loop.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_audio_loop.Tpo $(DEPDIR)/libags_thread_a-ags_audio_loop.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_audio_loop.c' object='libags_thread_a-ags_audio_loop.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_audio_loop.obj `if test -f 'src/ags/thread/ags_audio_loop.c'; then $(CYGPATH_W) 'src/ags/thread/ags_audio_loop.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_audio_loop.c'; fi`
+
+libags_thread_a-ags_autosave_thread.o: src/ags/thread/ags_autosave_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_autosave_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo -c -o libags_thread_a-ags_autosave_thread.o `test -f 'src/ags/thread/ags_autosave_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_autosave_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo $(DEPDIR)/libags_thread_a-ags_autosave_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_autosave_thread.c' object='libags_thread_a-ags_autosave_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_autosave_thread.o `test -f 'src/ags/thread/ags_autosave_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_autosave_thread.c
+
+libags_thread_a-ags_autosave_thread.obj: src/ags/thread/ags_autosave_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_autosave_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo -c -o libags_thread_a-ags_autosave_thread.obj `if test -f 'src/ags/thread/ags_autosave_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_autosave_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_autosave_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_autosave_thread.Tpo $(DEPDIR)/libags_thread_a-ags_autosave_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_autosave_thread.c' object='libags_thread_a-ags_autosave_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_autosave_thread.obj `if test -f 'src/ags/thread/ags_autosave_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_autosave_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_autosave_thread.c'; fi`
+
+libags_thread_a-ags_devout_thread.o: src/ags/thread/ags_devout_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_devout_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo -c -o libags_thread_a-ags_devout_thread.o `test -f 'src/ags/thread/ags_devout_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_devout_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo $(DEPDIR)/libags_thread_a-ags_devout_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_devout_thread.c' object='libags_thread_a-ags_devout_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_devout_thread.o `test -f 'src/ags/thread/ags_devout_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_devout_thread.c
+
+libags_thread_a-ags_devout_thread.obj: src/ags/thread/ags_devout_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_devout_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo -c -o libags_thread_a-ags_devout_thread.obj `if test -f 'src/ags/thread/ags_devout_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_devout_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_devout_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_devout_thread.Tpo $(DEPDIR)/libags_thread_a-ags_devout_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_devout_thread.c' object='libags_thread_a-ags_devout_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_devout_thread.obj `if test -f 'src/ags/thread/ags_devout_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_devout_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_devout_thread.c'; fi`
+
+libags_thread_a-ags_export_thread.o: src/ags/thread/ags_export_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_export_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo -c -o libags_thread_a-ags_export_thread.o `test -f 'src/ags/thread/ags_export_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_export_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo $(DEPDIR)/libags_thread_a-ags_export_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_export_thread.c' object='libags_thread_a-ags_export_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_export_thread.o `test -f 'src/ags/thread/ags_export_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_export_thread.c
+
+libags_thread_a-ags_export_thread.obj: src/ags/thread/ags_export_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_export_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo -c -o libags_thread_a-ags_export_thread.obj `if test -f 'src/ags/thread/ags_export_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_export_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_export_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_export_thread.Tpo $(DEPDIR)/libags_thread_a-ags_export_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_export_thread.c' object='libags_thread_a-ags_export_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_export_thread.obj `if test -f 'src/ags/thread/ags_export_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_export_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_export_thread.c'; fi`
+
+libags_thread_a-ags_gui_task_thread.o: src/ags/thread/ags_gui_task_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_task_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo -c -o libags_thread_a-ags_gui_task_thread.o `test -f 'src/ags/thread/ags_gui_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_task_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_gui_task_thread.c' object='libags_thread_a-ags_gui_task_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_task_thread.o `test -f 'src/ags/thread/ags_gui_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_task_thread.c
+
+libags_thread_a-ags_gui_task_thread.obj: src/ags/thread/ags_gui_task_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_task_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo -c -o libags_thread_a-ags_gui_task_thread.obj `if test -f 'src/ags/thread/ags_gui_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_task_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_task_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_gui_task_thread.c' object='libags_thread_a-ags_gui_task_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_task_thread.obj `if test -f 'src/ags/thread/ags_gui_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_task_thread.c'; fi`
+
+libags_thread_a-ags_gui_thread.o: src/ags/thread/ags_gui_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo -c -o libags_thread_a-ags_gui_thread.o `test -f 'src/ags/thread/ags_gui_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_gui_thread.c' object='libags_thread_a-ags_gui_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_thread.o `test -f 'src/ags/thread/ags_gui_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_gui_thread.c
+
+libags_thread_a-ags_gui_thread.obj: src/ags/thread/ags_gui_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_gui_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo -c -o libags_thread_a-ags_gui_thread.obj `if test -f 'src/ags/thread/ags_gui_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_gui_thread.Tpo $(DEPDIR)/libags_thread_a-ags_gui_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_gui_thread.c' object='libags_thread_a-ags_gui_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_gui_thread.obj `if test -f 'src/ags/thread/ags_gui_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_gui_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_gui_thread.c'; fi`
+
+libags_thread_a-ags_iterator_thread.o: src/ags/thread/ags_iterator_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_iterator_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo -c -o libags_thread_a-ags_iterator_thread.o `test -f 'src/ags/thread/ags_iterator_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_iterator_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo $(DEPDIR)/libags_thread_a-ags_iterator_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_iterator_thread.c' object='libags_thread_a-ags_iterator_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_iterator_thread.o `test -f 'src/ags/thread/ags_iterator_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_iterator_thread.c
+
+libags_thread_a-ags_iterator_thread.obj: src/ags/thread/ags_iterator_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_iterator_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo -c -o libags_thread_a-ags_iterator_thread.obj `if test -f 'src/ags/thread/ags_iterator_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_iterator_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_iterator_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_iterator_thread.Tpo $(DEPDIR)/libags_thread_a-ags_iterator_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_iterator_thread.c' object='libags_thread_a-ags_iterator_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_iterator_thread.obj `if test -f 'src/ags/thread/ags_iterator_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_iterator_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_iterator_thread.c'; fi`
+
+libags_thread_a-ags_record_thread.o: src/ags/thread/ags_record_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_record_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo -c -o libags_thread_a-ags_record_thread.o `test -f 'src/ags/thread/ags_record_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_record_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo $(DEPDIR)/libags_thread_a-ags_record_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_record_thread.c' object='libags_thread_a-ags_record_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_record_thread.o `test -f 'src/ags/thread/ags_record_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_record_thread.c
+
+libags_thread_a-ags_record_thread.obj: src/ags/thread/ags_record_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_record_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo -c -o libags_thread_a-ags_record_thread.obj `if test -f 'src/ags/thread/ags_record_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_record_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_record_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_record_thread.Tpo $(DEPDIR)/libags_thread_a-ags_record_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_record_thread.c' object='libags_thread_a-ags_record_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_record_thread.obj `if test -f 'src/ags/thread/ags_record_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_record_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_record_thread.c'; fi`
+
+libags_thread_a-ags_recycling_thread_callbacks.o: src/ags/thread/ags_recycling_thread_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread_callbacks.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo -c -o libags_thread_a-ags_recycling_thread_callbacks.o `test -f 'src/ags/thread/ags_recycling_thread_callbacks.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_recycling_thread_callbacks.c' object='libags_thread_a-ags_recycling_thread_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread_callbacks.o `test -f 'src/ags/thread/ags_recycling_thread_callbacks.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread_callbacks.c
+
+libags_thread_a-ags_recycling_thread_callbacks.obj: src/ags/thread/ags_recycling_thread_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread_callbacks.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo -c -o libags_thread_a-ags_recycling_thread_callbacks.obj `if test -f 'src/ags/thread/ags_recycling_thread_callbacks.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_recycling_thread_callbacks.c' object='libags_thread_a-ags_recycling_thread_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread_callbacks.obj `if test -f 'src/ags/thread/ags_recycling_thread_callbacks.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread_callbacks.c'; fi`
+
+libags_thread_a-ags_recycling_thread.o: src/ags/thread/ags_recycling_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo -c -o libags_thread_a-ags_recycling_thread.o `test -f 'src/ags/thread/ags_recycling_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_recycling_thread.c' object='libags_thread_a-ags_recycling_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread.o `test -f 'src/ags/thread/ags_recycling_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_recycling_thread.c
+
+libags_thread_a-ags_recycling_thread.obj: src/ags/thread/ags_recycling_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_recycling_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo -c -o libags_thread_a-ags_recycling_thread.obj `if test -f 'src/ags/thread/ags_recycling_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_recycling_thread.Tpo $(DEPDIR)/libags_thread_a-ags_recycling_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_recycling_thread.c' object='libags_thread_a-ags_recycling_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_recycling_thread.obj `if test -f 'src/ags/thread/ags_recycling_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_recycling_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_recycling_thread.c'; fi`
+
+libags_thread_a-ags_returnable_thread.o: src/ags/thread/ags_returnable_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_returnable_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo -c -o libags_thread_a-ags_returnable_thread.o `test -f 'src/ags/thread/ags_returnable_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_returnable_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo $(DEPDIR)/libags_thread_a-ags_returnable_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_returnable_thread.c' object='libags_thread_a-ags_returnable_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_returnable_thread.o `test -f 'src/ags/thread/ags_returnable_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_returnable_thread.c
+
+libags_thread_a-ags_returnable_thread.obj: src/ags/thread/ags_returnable_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_returnable_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo -c -o libags_thread_a-ags_returnable_thread.obj `if test -f 'src/ags/thread/ags_returnable_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_returnable_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_returnable_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_returnable_thread.Tpo $(DEPDIR)/libags_thread_a-ags_returnable_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_returnable_thread.c' object='libags_thread_a-ags_returnable_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_returnable_thread.obj `if test -f 'src/ags/thread/ags_returnable_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_returnable_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_returnable_thread.c'; fi`
+
+libags_thread_a-ags_single_thread.o: src/ags/thread/ags_single_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_single_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo -c -o libags_thread_a-ags_single_thread.o `test -f 'src/ags/thread/ags_single_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_single_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo $(DEPDIR)/libags_thread_a-ags_single_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_single_thread.c' object='libags_thread_a-ags_single_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_single_thread.o `test -f 'src/ags/thread/ags_single_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_single_thread.c
+
+libags_thread_a-ags_single_thread.obj: src/ags/thread/ags_single_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_single_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo -c -o libags_thread_a-ags_single_thread.obj `if test -f 'src/ags/thread/ags_single_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_single_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_single_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_single_thread.Tpo $(DEPDIR)/libags_thread_a-ags_single_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_single_thread.c' object='libags_thread_a-ags_single_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_single_thread.obj `if test -f 'src/ags/thread/ags_single_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_single_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_single_thread.c'; fi`
+
+libags_thread_a-ags_task_thread.o: src/ags/thread/ags_task_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_task_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo -c -o libags_thread_a-ags_task_thread.o `test -f 'src/ags/thread/ags_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_task_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_task_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_task_thread.c' object='libags_thread_a-ags_task_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_task_thread.o `test -f 'src/ags/thread/ags_task_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_task_thread.c
+
+libags_thread_a-ags_task_thread.obj: src/ags/thread/ags_task_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_task_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo -c -o libags_thread_a-ags_task_thread.obj `if test -f 'src/ags/thread/ags_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_task_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_task_thread.Tpo $(DEPDIR)/libags_thread_a-ags_task_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_task_thread.c' object='libags_thread_a-ags_task_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_task_thread.obj `if test -f 'src/ags/thread/ags_task_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_task_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_task_thread.c'; fi`
+
+libags_thread_a-ags_thread_pool.o: src/ags/thread/ags_thread_pool.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread_pool.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo -c -o libags_thread_a-ags_thread_pool.o `test -f 'src/ags/thread/ags_thread_pool.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread_pool.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo $(DEPDIR)/libags_thread_a-ags_thread_pool.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_thread_pool.c' object='libags_thread_a-ags_thread_pool.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread_pool.o `test -f 'src/ags/thread/ags_thread_pool.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread_pool.c
+
+libags_thread_a-ags_thread_pool.obj: src/ags/thread/ags_thread_pool.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread_pool.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo -c -o libags_thread_a-ags_thread_pool.obj `if test -f 'src/ags/thread/ags_thread_pool.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread_pool.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread_pool.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread_pool.Tpo $(DEPDIR)/libags_thread_a-ags_thread_pool.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_thread_pool.c' object='libags_thread_a-ags_thread_pool.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread_pool.obj `if test -f 'src/ags/thread/ags_thread_pool.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread_pool.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread_pool.c'; fi`
+
+libags_thread_a-ags_thread-posix.o: src/ags/thread/ags_thread-posix.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread-posix.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo -c -o libags_thread_a-ags_thread-posix.o `test -f 'src/ags/thread/ags_thread-posix.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread-posix.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo $(DEPDIR)/libags_thread_a-ags_thread-posix.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_thread-posix.c' object='libags_thread_a-ags_thread-posix.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread-posix.o `test -f 'src/ags/thread/ags_thread-posix.c' || echo '$(srcdir)/'`src/ags/thread/ags_thread-posix.c
+
+libags_thread_a-ags_thread-posix.obj: src/ags/thread/ags_thread-posix.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_thread-posix.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo -c -o libags_thread_a-ags_thread-posix.obj `if test -f 'src/ags/thread/ags_thread-posix.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread-posix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread-posix.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_thread-posix.Tpo $(DEPDIR)/libags_thread_a-ags_thread-posix.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_thread-posix.c' object='libags_thread_a-ags_thread-posix.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_thread-posix.obj `if test -f 'src/ags/thread/ags_thread-posix.c'; then $(CYGPATH_W) 'src/ags/thread/ags_thread-posix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_thread-posix.c'; fi`
+
+libags_thread_a-ags_timestamp_thread.o: src/ags/thread/ags_timestamp_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_timestamp_thread.o -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo -c -o libags_thread_a-ags_timestamp_thread.o `test -f 'src/ags/thread/ags_timestamp_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_timestamp_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_timestamp_thread.c' object='libags_thread_a-ags_timestamp_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_timestamp_thread.o `test -f 'src/ags/thread/ags_timestamp_thread.c' || echo '$(srcdir)/'`src/ags/thread/ags_timestamp_thread.c
+
+libags_thread_a-ags_timestamp_thread.obj: src/ags/thread/ags_timestamp_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -MT libags_thread_a-ags_timestamp_thread.obj -MD -MP -MF $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo -c -o libags_thread_a-ags_timestamp_thread.obj `if test -f 'src/ags/thread/ags_timestamp_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_timestamp_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_timestamp_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Tpo $(DEPDIR)/libags_thread_a-ags_timestamp_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/thread/ags_timestamp_thread.c' object='libags_thread_a-ags_timestamp_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libags_thread_a_CFLAGS) $(CFLAGS) -c -o libags_thread_a-ags_timestamp_thread.obj `if test -f 'src/ags/thread/ags_timestamp_thread.c'; then $(CYGPATH_W) 'src/ags/thread/ags_timestamp_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/thread/ags_timestamp_thread.c'; fi`
+
+gsequencer-main.o: src/ags/main.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-main.o -MD -MP -MF $(DEPDIR)/gsequencer-main.Tpo -c -o gsequencer-main.o `test -f 'src/ags/main.c' || echo '$(srcdir)/'`src/ags/main.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-main.Tpo $(DEPDIR)/gsequencer-main.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/main.c' object='gsequencer-main.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-main.o `test -f 'src/ags/main.c' || echo '$(srcdir)/'`src/ags/main.c
+
+gsequencer-main.obj: src/ags/main.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-main.obj -MD -MP -MF $(DEPDIR)/gsequencer-main.Tpo -c -o gsequencer-main.obj `if test -f 'src/ags/main.c'; then $(CYGPATH_W) 'src/ags/main.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/main.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-main.Tpo $(DEPDIR)/gsequencer-main.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/main.c' object='gsequencer-main.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-main.obj `if test -f 'src/ags/main.c'; then $(CYGPATH_W) 'src/ags/main.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/main.c'; fi`
+
+gsequencer-ags_registry.o: src/ags/server/ags_registry.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_registry.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_registry.Tpo -c -o gsequencer-ags_registry.o `test -f 'src/ags/server/ags_registry.c' || echo '$(srcdir)/'`src/ags/server/ags_registry.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_registry.Tpo $(DEPDIR)/gsequencer-ags_registry.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/server/ags_registry.c' object='gsequencer-ags_registry.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_registry.o `test -f 'src/ags/server/ags_registry.c' || echo '$(srcdir)/'`src/ags/server/ags_registry.c
+
+gsequencer-ags_registry.obj: src/ags/server/ags_registry.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_registry.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_registry.Tpo -c -o gsequencer-ags_registry.obj `if test -f 'src/ags/server/ags_registry.c'; then $(CYGPATH_W) 'src/ags/server/ags_registry.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_registry.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_registry.Tpo $(DEPDIR)/gsequencer-ags_registry.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/server/ags_registry.c' object='gsequencer-ags_registry.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_registry.obj `if test -f 'src/ags/server/ags_registry.c'; then $(CYGPATH_W) 'src/ags/server/ags_registry.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_registry.c'; fi`
+
+gsequencer-ags_remote_task.o: src/ags/server/ags_remote_task.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remote_task.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_remote_task.Tpo -c -o gsequencer-ags_remote_task.o `test -f 'src/ags/server/ags_remote_task.c' || echo '$(srcdir)/'`src/ags/server/ags_remote_task.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remote_task.Tpo $(DEPDIR)/gsequencer-ags_remote_task.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/server/ags_remote_task.c' object='gsequencer-ags_remote_task.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remote_task.o `test -f 'src/ags/server/ags_remote_task.c' || echo '$(srcdir)/'`src/ags/server/ags_remote_task.c
+
+gsequencer-ags_remote_task.obj: src/ags/server/ags_remote_task.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remote_task.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_remote_task.Tpo -c -o gsequencer-ags_remote_task.obj `if test -f 'src/ags/server/ags_remote_task.c'; then $(CYGPATH_W) 'src/ags/server/ags_remote_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_remote_task.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remote_task.Tpo $(DEPDIR)/gsequencer-ags_remote_task.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/server/ags_remote_task.c' object='gsequencer-ags_remote_task.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remote_task.obj `if test -f 'src/ags/server/ags_remote_task.c'; then $(CYGPATH_W) 'src/ags/server/ags_remote_task.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_remote_task.c'; fi`
+
+gsequencer-ags_server.o: src/ags/server/ags_server.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_server.Tpo -c -o gsequencer-ags_server.o `test -f 'src/ags/server/ags_server.c' || echo '$(srcdir)/'`src/ags/server/ags_server.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server.Tpo $(DEPDIR)/gsequencer-ags_server.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/server/ags_server.c' object='gsequencer-ags_server.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server.o `test -f 'src/ags/server/ags_server.c' || echo '$(srcdir)/'`src/ags/server/ags_server.c
+
+gsequencer-ags_server.obj: src/ags/server/ags_server.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_server.Tpo -c -o gsequencer-ags_server.obj `if test -f 'src/ags/server/ags_server.c'; then $(CYGPATH_W) 'src/ags/server/ags_server.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_server.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server.Tpo $(DEPDIR)/gsequencer-ags_server.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/server/ags_server.c' object='gsequencer-ags_server.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server.obj `if test -f 'src/ags/server/ags_server.c'; then $(CYGPATH_W) 'src/ags/server/ags_server.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/server/ags_server.c'; fi`
+
+gsequencer-ags_audio_preferences_callbacks.o: src/ags/X/ags_audio_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo -c -o gsequencer-ags_audio_preferences_callbacks.o `test -f 'src/ags/X/ags_audio_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_audio_preferences_callbacks.c' object='gsequencer-ags_audio_preferences_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences_callbacks.o `test -f 'src/ags/X/ags_audio_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences_callbacks.c
+
+gsequencer-ags_audio_preferences_callbacks.obj: src/ags/X/ags_audio_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo -c -o gsequencer-ags_audio_preferences_callbacks.obj `if test -f 'src/ags/X/ags_audio_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_audio_preferences_callbacks.c' object='gsequencer-ags_audio_preferences_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences_callbacks.obj `if test -f 'src/ags/X/ags_audio_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences_callbacks.c'; fi`
+
+gsequencer-ags_audio_preferences.o: src/ags/X/ags_audio_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo -c -o gsequencer-ags_audio_preferences.o `test -f 'src/ags/X/ags_audio_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_audio_preferences.c' object='gsequencer-ags_audio_preferences.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences.o `test -f 'src/ags/X/ags_audio_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_audio_preferences.c
+
+gsequencer-ags_audio_preferences.obj: src/ags/X/ags_audio_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_audio_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo -c -o gsequencer-ags_audio_preferences.obj `if test -f 'src/ags/X/ags_audio_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_audio_preferences.Tpo $(DEPDIR)/gsequencer-ags_audio_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_audio_preferences.c' object='gsequencer-ags_audio_preferences.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_audio_preferences.obj `if test -f 'src/ags/X/ags_audio_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_audio_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_audio_preferences.c'; fi`
+
+gsequencer-ags_automation_editor_callbacks.o: src/ags/X/ags_automation_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo -c -o gsequencer-ags_automation_editor_callbacks.o `test -f 'src/ags/X/ags_automation_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_automation_editor_callbacks.c' object='gsequencer-ags_automation_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor_callbacks.o `test -f 'src/ags/X/ags_automation_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor_callbacks.c
+
+gsequencer-ags_automation_editor_callbacks.obj: src/ags/X/ags_automation_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo -c -o gsequencer-ags_automation_editor_callbacks.obj `if test -f 'src/ags/X/ags_automation_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_automation_editor_callbacks.c' object='gsequencer-ags_automation_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor_callbacks.obj `if test -f 'src/ags/X/ags_automation_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor_callbacks.c'; fi`
+
+gsequencer-ags_automation_editor.o: src/ags/X/ags_automation_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor.Tpo -c -o gsequencer-ags_automation_editor.o `test -f 'src/ags/X/ags_automation_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor.Tpo $(DEPDIR)/gsequencer-ags_automation_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_automation_editor.c' object='gsequencer-ags_automation_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor.o `test -f 'src/ags/X/ags_automation_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_automation_editor.c
+
+gsequencer-ags_automation_editor.obj: src/ags/X/ags_automation_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_editor.Tpo -c -o gsequencer-ags_automation_editor.obj `if test -f 'src/ags/X/ags_automation_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_editor.Tpo $(DEPDIR)/gsequencer-ags_automation_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_automation_editor.c' object='gsequencer-ags_automation_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_editor.obj `if test -f 'src/ags/X/ags_automation_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_automation_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_automation_editor.c'; fi`
+
+gsequencer-ags_editor_callbacks.o: src/ags/X/ags_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo -c -o gsequencer-ags_editor_callbacks.o `test -f 'src/ags/X/ags_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_editor_callbacks.c' object='gsequencer-ags_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor_callbacks.o `test -f 'src/ags/X/ags_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_editor_callbacks.c
+
+gsequencer-ags_editor_callbacks.obj: src/ags/X/ags_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo -c -o gsequencer-ags_editor_callbacks.obj `if test -f 'src/ags/X/ags_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_editor_callbacks.c' object='gsequencer-ags_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor_callbacks.obj `if test -f 'src/ags/X/ags_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor_callbacks.c'; fi`
+
+gsequencer-ags_editor.o: src/ags/X/ags_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor.Tpo -c -o gsequencer-ags_editor.o `test -f 'src/ags/X/ags_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor.Tpo $(DEPDIR)/gsequencer-ags_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_editor.c' object='gsequencer-ags_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor.o `test -f 'src/ags/X/ags_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_editor.c
+
+gsequencer-ags_editor.obj: src/ags/X/ags_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_editor.Tpo -c -o gsequencer-ags_editor.obj `if test -f 'src/ags/X/ags_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_editor.Tpo $(DEPDIR)/gsequencer-ags_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_editor.c' object='gsequencer-ags_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_editor.obj `if test -f 'src/ags/X/ags_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_editor.c'; fi`
+
+gsequencer-ags_effect_bridge_callbacks.o: src/ags/X/ags_effect_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo -c -o gsequencer-ags_effect_bridge_callbacks.o `test -f 'src/ags/X/ags_effect_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bridge_callbacks.c' object='gsequencer-ags_effect_bridge_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge_callbacks.o `test -f 'src/ags/X/ags_effect_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge_callbacks.c
+
+gsequencer-ags_effect_bridge_callbacks.obj: src/ags/X/ags_effect_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo -c -o gsequencer-ags_effect_bridge_callbacks.obj `if test -f 'src/ags/X/ags_effect_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bridge_callbacks.c' object='gsequencer-ags_effect_bridge_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge_callbacks.obj `if test -f 'src/ags/X/ags_effect_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge_callbacks.c'; fi`
+
+gsequencer-ags_effect_bridge.o: src/ags/X/ags_effect_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo -c -o gsequencer-ags_effect_bridge.o `test -f 'src/ags/X/ags_effect_bridge.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bridge.c' object='gsequencer-ags_effect_bridge.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge.o `test -f 'src/ags/X/ags_effect_bridge.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bridge.c
+
+gsequencer-ags_effect_bridge.obj: src/ags/X/ags_effect_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo -c -o gsequencer-ags_effect_bridge.obj `if test -f 'src/ags/X/ags_effect_bridge.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bridge.Tpo $(DEPDIR)/gsequencer-ags_effect_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bridge.c' object='gsequencer-ags_effect_bridge.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bridge.obj `if test -f 'src/ags/X/ags_effect_bridge.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bridge.c'; fi`
+
+gsequencer-ags_effect_bulk_callbacks.o: src/ags/X/ags_effect_bulk_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo -c -o gsequencer-ags_effect_bulk_callbacks.o `test -f 'src/ags/X/ags_effect_bulk_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bulk_callbacks.c' object='gsequencer-ags_effect_bulk_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk_callbacks.o `test -f 'src/ags/X/ags_effect_bulk_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk_callbacks.c
+
+gsequencer-ags_effect_bulk_callbacks.obj: src/ags/X/ags_effect_bulk_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo -c -o gsequencer-ags_effect_bulk_callbacks.obj `if test -f 'src/ags/X/ags_effect_bulk_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bulk_callbacks.c' object='gsequencer-ags_effect_bulk_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk_callbacks.obj `if test -f 'src/ags/X/ags_effect_bulk_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk_callbacks.c'; fi`
+
+gsequencer-ags_effect_bulk.o: src/ags/X/ags_effect_bulk.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo -c -o gsequencer-ags_effect_bulk.o `test -f 'src/ags/X/ags_effect_bulk.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bulk.c' object='gsequencer-ags_effect_bulk.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk.o `test -f 'src/ags/X/ags_effect_bulk.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_bulk.c
+
+gsequencer-ags_effect_bulk.obj: src/ags/X/ags_effect_bulk.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_bulk.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo -c -o gsequencer-ags_effect_bulk.obj `if test -f 'src/ags/X/ags_effect_bulk.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_bulk.Tpo $(DEPDIR)/gsequencer-ags_effect_bulk.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_bulk.c' object='gsequencer-ags_effect_bulk.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_bulk.obj `if test -f 'src/ags/X/ags_effect_bulk.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_bulk.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_bulk.c'; fi`
+
+gsequencer-ags_bulk_member.o: src/ags/X/ags_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member.Tpo -c -o gsequencer-ags_bulk_member.o `test -f 'src/ags/X/ags_bulk_member.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_bulk_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_bulk_member.c' object='gsequencer-ags_bulk_member.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member.o `test -f 'src/ags/X/ags_bulk_member.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member.c
+
+gsequencer-ags_bulk_member.obj: src/ags/X/ags_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member.Tpo -c -o gsequencer-ags_bulk_member.obj `if test -f 'src/ags/X/ags_bulk_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_bulk_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_bulk_member.c' object='gsequencer-ags_bulk_member.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member.obj `if test -f 'src/ags/X/ags_bulk_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member.c'; fi`
+
+gsequencer-ags_bulk_member_callbacks.o: src/ags/X/ags_bulk_member_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo -c -o gsequencer-ags_bulk_member_callbacks.o `test -f 'src/ags/X/ags_bulk_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_bulk_member_callbacks.c' object='gsequencer-ags_bulk_member_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member_callbacks.o `test -f 'src/ags/X/ags_bulk_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_bulk_member_callbacks.c
+
+gsequencer-ags_bulk_member_callbacks.obj: src/ags/X/ags_bulk_member_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_bulk_member_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo -c -o gsequencer-ags_bulk_member_callbacks.obj `if test -f 'src/ags/X/ags_bulk_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_bulk_member_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_bulk_member_callbacks.c' object='gsequencer-ags_bulk_member_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_bulk_member_callbacks.obj `if test -f 'src/ags/X/ags_bulk_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_bulk_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_bulk_member_callbacks.c'; fi`
+
+gsequencer-ags_effect_line_callbacks.o: src/ags/X/ags_effect_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo -c -o gsequencer-ags_effect_line_callbacks.o `test -f 'src/ags/X/ags_effect_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_line_callbacks.c' object='gsequencer-ags_effect_line_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line_callbacks.o `test -f 'src/ags/X/ags_effect_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line_callbacks.c
+
+gsequencer-ags_effect_line_callbacks.obj: src/ags/X/ags_effect_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo -c -o gsequencer-ags_effect_line_callbacks.obj `if test -f 'src/ags/X/ags_effect_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_line_callbacks.c' object='gsequencer-ags_effect_line_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line_callbacks.obj `if test -f 'src/ags/X/ags_effect_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line_callbacks.c'; fi`
+
+gsequencer-ags_effect_line.o: src/ags/X/ags_effect_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line.Tpo -c -o gsequencer-ags_effect_line.o `test -f 'src/ags/X/ags_effect_line.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line.Tpo $(DEPDIR)/gsequencer-ags_effect_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_line.c' object='gsequencer-ags_effect_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line.o `test -f 'src/ags/X/ags_effect_line.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_line.c
+
+gsequencer-ags_effect_line.obj: src/ags/X/ags_effect_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_line.Tpo -c -o gsequencer-ags_effect_line.obj `if test -f 'src/ags/X/ags_effect_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_line.Tpo $(DEPDIR)/gsequencer-ags_effect_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_line.c' object='gsequencer-ags_effect_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_line.obj `if test -f 'src/ags/X/ags_effect_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_line.c'; fi`
+
+gsequencer-ags_effect_pad_callbacks.o: src/ags/X/ags_effect_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo -c -o gsequencer-ags_effect_pad_callbacks.o `test -f 'src/ags/X/ags_effect_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_pad_callbacks.c' object='gsequencer-ags_effect_pad_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad_callbacks.o `test -f 'src/ags/X/ags_effect_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad_callbacks.c
+
+gsequencer-ags_effect_pad_callbacks.obj: src/ags/X/ags_effect_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo -c -o gsequencer-ags_effect_pad_callbacks.obj `if test -f 'src/ags/X/ags_effect_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_effect_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_pad_callbacks.c' object='gsequencer-ags_effect_pad_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad_callbacks.obj `if test -f 'src/ags/X/ags_effect_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad_callbacks.c'; fi`
+
+gsequencer-ags_effect_pad.o: src/ags/X/ags_effect_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad.Tpo -c -o gsequencer-ags_effect_pad.o `test -f 'src/ags/X/ags_effect_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad.Tpo $(DEPDIR)/gsequencer-ags_effect_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_pad.c' object='gsequencer-ags_effect_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad.o `test -f 'src/ags/X/ags_effect_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_effect_pad.c
+
+gsequencer-ags_effect_pad.obj: src/ags/X/ags_effect_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_effect_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_effect_pad.Tpo -c -o gsequencer-ags_effect_pad.obj `if test -f 'src/ags/X/ags_effect_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_effect_pad.Tpo $(DEPDIR)/gsequencer-ags_effect_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_effect_pad.c' object='gsequencer-ags_effect_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_effect_pad.obj `if test -f 'src/ags/X/ags_effect_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_effect_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_effect_pad.c'; fi`
+
+gsequencer-ags_export_window_callbacks.o: src/ags/X/ags_export_window_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo -c -o gsequencer-ags_export_window_callbacks.o `test -f 'src/ags/X/ags_export_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_export_window_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_export_window_callbacks.c' object='gsequencer-ags_export_window_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window_callbacks.o `test -f 'src/ags/X/ags_export_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window_callbacks.c
+
+gsequencer-ags_export_window_callbacks.obj: src/ags/X/ags_export_window_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo -c -o gsequencer-ags_export_window_callbacks.obj `if test -f 'src/ags/X/ags_export_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_export_window_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_export_window_callbacks.c' object='gsequencer-ags_export_window_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window_callbacks.obj `if test -f 'src/ags/X/ags_export_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window_callbacks.c'; fi`
+
+gsequencer-ags_export_window.o: src/ags/X/ags_export_window.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window.Tpo -c -o gsequencer-ags_export_window.o `test -f 'src/ags/X/ags_export_window.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window.Tpo $(DEPDIR)/gsequencer-ags_export_window.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_export_window.c' object='gsequencer-ags_export_window.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window.o `test -f 'src/ags/X/ags_export_window.c' || echo '$(srcdir)/'`src/ags/X/ags_export_window.c
+
+gsequencer-ags_export_window.obj: src/ags/X/ags_export_window.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_export_window.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_export_window.Tpo -c -o gsequencer-ags_export_window.obj `if test -f 'src/ags/X/ags_export_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_export_window.Tpo $(DEPDIR)/gsequencer-ags_export_window.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_export_window.c' object='gsequencer-ags_export_window.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_export_window.obj `if test -f 'src/ags/X/ags_export_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_export_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_export_window.c'; fi`
+
+gsequencer-ags_generic_preferences_callbacks.o: src/ags/X/ags_generic_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo -c -o gsequencer-ags_generic_preferences_callbacks.o `test -f 'src/ags/X/ags_generic_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_generic_preferences_callbacks.c' object='gsequencer-ags_generic_preferences_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences_callbacks.o `test -f 'src/ags/X/ags_generic_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences_callbacks.c
+
+gsequencer-ags_generic_preferences_callbacks.obj: src/ags/X/ags_generic_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo -c -o gsequencer-ags_generic_preferences_callbacks.obj `if test -f 'src/ags/X/ags_generic_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_generic_preferences_callbacks.c' object='gsequencer-ags_generic_preferences_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences_callbacks.obj `if test -f 'src/ags/X/ags_generic_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences_callbacks.c'; fi`
+
+gsequencer-ags_generic_preferences.o: src/ags/X/ags_generic_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo -c -o gsequencer-ags_generic_preferences.o `test -f 'src/ags/X/ags_generic_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_generic_preferences.c' object='gsequencer-ags_generic_preferences.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences.o `test -f 'src/ags/X/ags_generic_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_generic_preferences.c
+
+gsequencer-ags_generic_preferences.obj: src/ags/X/ags_generic_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_generic_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo -c -o gsequencer-ags_generic_preferences.obj `if test -f 'src/ags/X/ags_generic_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_generic_preferences.Tpo $(DEPDIR)/gsequencer-ags_generic_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_generic_preferences.c' object='gsequencer-ags_generic_preferences.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_generic_preferences.obj `if test -f 'src/ags/X/ags_generic_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_generic_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_generic_preferences.c'; fi`
+
+gsequencer-ags_ladspa_browser_callbacks.o: src/ags/X/ags_ladspa_browser_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo -c -o gsequencer-ags_ladspa_browser_callbacks.o `test -f 'src/ags/X/ags_ladspa_browser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_ladspa_browser_callbacks.c' object='gsequencer-ags_ladspa_browser_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser_callbacks.o `test -f 'src/ags/X/ags_ladspa_browser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser_callbacks.c
+
+gsequencer-ags_ladspa_browser_callbacks.obj: src/ags/X/ags_ladspa_browser_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo -c -o gsequencer-ags_ladspa_browser_callbacks.obj `if test -f 'src/ags/X/ags_ladspa_browser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_ladspa_browser_callbacks.c' object='gsequencer-ags_ladspa_browser_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser_callbacks.obj `if test -f 'src/ags/X/ags_ladspa_browser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser_callbacks.c'; fi`
+
+gsequencer-ags_ladspa_browser.o: src/ags/X/ags_ladspa_browser.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo -c -o gsequencer-ags_ladspa_browser.o `test -f 'src/ags/X/ags_ladspa_browser.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_ladspa_browser.c' object='gsequencer-ags_ladspa_browser.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser.o `test -f 'src/ags/X/ags_ladspa_browser.c' || echo '$(srcdir)/'`src/ags/X/ags_ladspa_browser.c
+
+gsequencer-ags_ladspa_browser.obj: src/ags/X/ags_ladspa_browser.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_browser.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo -c -o gsequencer-ags_ladspa_browser.obj `if test -f 'src/ags/X/ags_ladspa_browser.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_browser.Tpo $(DEPDIR)/gsequencer-ags_ladspa_browser.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_ladspa_browser.c' object='gsequencer-ags_ladspa_browser.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_browser.obj `if test -f 'src/ags/X/ags_ladspa_browser.c'; then $(CYGPATH_W) 'src/ags/X/ags_ladspa_browser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_ladspa_browser.c'; fi`
+
+gsequencer-ags_line_callbacks.o: src/ags/X/ags_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo -c -o gsequencer-ags_line_callbacks.o `test -f 'src/ags/X/ags_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_callbacks.c' object='gsequencer-ags_line_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_callbacks.o `test -f 'src/ags/X/ags_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_callbacks.c
+
+gsequencer-ags_line_callbacks.obj: src/ags/X/ags_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo -c -o gsequencer-ags_line_callbacks.obj `if test -f 'src/ags/X/ags_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_callbacks.c' object='gsequencer-ags_line_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_callbacks.obj `if test -f 'src/ags/X/ags_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_callbacks.c'; fi`
+
+gsequencer-ags_line_editor_callbacks.o: src/ags/X/ags_line_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo -c -o gsequencer-ags_line_editor_callbacks.o `test -f 'src/ags/X/ags_line_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_editor_callbacks.c' object='gsequencer-ags_line_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor_callbacks.o `test -f 'src/ags/X/ags_line_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor_callbacks.c
+
+gsequencer-ags_line_editor_callbacks.obj: src/ags/X/ags_line_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo -c -o gsequencer-ags_line_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_editor_callbacks.c' object='gsequencer-ags_line_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor_callbacks.c'; fi`
+
+gsequencer-ags_line_editor.o: src/ags/X/ags_line_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor.Tpo -c -o gsequencer-ags_line_editor.o `test -f 'src/ags/X/ags_line_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor.Tpo $(DEPDIR)/gsequencer-ags_line_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_editor.c' object='gsequencer-ags_line_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor.o `test -f 'src/ags/X/ags_line_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_editor.c
+
+gsequencer-ags_line_editor.obj: src/ags/X/ags_line_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_editor.Tpo -c -o gsequencer-ags_line_editor.obj `if test -f 'src/ags/X/ags_line_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_editor.Tpo $(DEPDIR)/gsequencer-ags_line_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_editor.c' object='gsequencer-ags_line_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_editor.obj `if test -f 'src/ags/X/ags_line_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_editor.c'; fi`
+
+gsequencer-ags_line.o: src/ags/X/ags_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line.Tpo -c -o gsequencer-ags_line.o `test -f 'src/ags/X/ags_line.c' || echo '$(srcdir)/'`src/ags/X/ags_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line.Tpo $(DEPDIR)/gsequencer-ags_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line.c' object='gsequencer-ags_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line.o `test -f 'src/ags/X/ags_line.c' || echo '$(srcdir)/'`src/ags/X/ags_line.c
+
+gsequencer-ags_line.obj: src/ags/X/ags_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line.Tpo -c -o gsequencer-ags_line.obj `if test -f 'src/ags/X/ags_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line.Tpo $(DEPDIR)/gsequencer-ags_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line.c' object='gsequencer-ags_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line.obj `if test -f 'src/ags/X/ags_line.c'; then $(CYGPATH_W) 'src/ags/X/ags_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line.c'; fi`
+
+gsequencer-ags_line_member_callbacks.o: src/ags/X/ags_line_member_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo -c -o gsequencer-ags_line_member_callbacks.o `test -f 'src/ags/X/ags_line_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member_callbacks.c' object='gsequencer-ags_line_member_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_callbacks.o `test -f 'src/ags/X/ags_line_member_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_callbacks.c
+
+gsequencer-ags_line_member_callbacks.obj: src/ags/X/ags_line_member_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo -c -o gsequencer-ags_line_member_callbacks.obj `if test -f 'src/ags/X/ags_line_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member_callbacks.c' object='gsequencer-ags_line_member_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_callbacks.obj `if test -f 'src/ags/X/ags_line_member_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_callbacks.c'; fi`
+
+gsequencer-ags_line_member_editor_callbacks.o: src/ags/X/ags_line_member_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo -c -o gsequencer-ags_line_member_editor_callbacks.o `test -f 'src/ags/X/ags_line_member_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member_editor_callbacks.c' object='gsequencer-ags_line_member_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor_callbacks.o `test -f 'src/ags/X/ags_line_member_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor_callbacks.c
+
+gsequencer-ags_line_member_editor_callbacks.obj: src/ags/X/ags_line_member_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo -c -o gsequencer-ags_line_member_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_member_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member_editor_callbacks.c' object='gsequencer-ags_line_member_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor_callbacks.obj `if test -f 'src/ags/X/ags_line_member_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor_callbacks.c'; fi`
+
+gsequencer-ags_line_member_editor.o: src/ags/X/ags_line_member_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo -c -o gsequencer-ags_line_member_editor.o `test -f 'src/ags/X/ags_line_member_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member_editor.c' object='gsequencer-ags_line_member_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor.o `test -f 'src/ags/X/ags_line_member_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member_editor.c
+
+gsequencer-ags_line_member_editor.obj: src/ags/X/ags_line_member_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo -c -o gsequencer-ags_line_member_editor.obj `if test -f 'src/ags/X/ags_line_member_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member_editor.Tpo $(DEPDIR)/gsequencer-ags_line_member_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member_editor.c' object='gsequencer-ags_line_member_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member_editor.obj `if test -f 'src/ags/X/ags_line_member_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member_editor.c'; fi`
+
+gsequencer-ags_line_member.o: src/ags/X/ags_line_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member.Tpo -c -o gsequencer-ags_line_member.o `test -f 'src/ags/X/ags_line_member.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member.Tpo $(DEPDIR)/gsequencer-ags_line_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member.c' object='gsequencer-ags_line_member.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member.o `test -f 'src/ags/X/ags_line_member.c' || echo '$(srcdir)/'`src/ags/X/ags_line_member.c
+
+gsequencer-ags_line_member.obj: src/ags/X/ags_line_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_line_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_line_member.Tpo -c -o gsequencer-ags_line_member.obj `if test -f 'src/ags/X/ags_line_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_line_member.Tpo $(DEPDIR)/gsequencer-ags_line_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_line_member.c' object='gsequencer-ags_line_member.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_line_member.obj `if test -f 'src/ags/X/ags_line_member.c'; then $(CYGPATH_W) 'src/ags/X/ags_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_line_member.c'; fi`
+
+gsequencer-ags_link_collection_editor_callbacks.o: src/ags/X/ags_link_collection_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo -c -o gsequencer-ags_link_collection_editor_callbacks.o `test -f 'src/ags/X/ags_link_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_collection_editor_callbacks.c' object='gsequencer-ags_link_collection_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor_callbacks.o `test -f 'src/ags/X/ags_link_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor_callbacks.c
+
+gsequencer-ags_link_collection_editor_callbacks.obj: src/ags/X/ags_link_collection_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo -c -o gsequencer-ags_link_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_collection_editor_callbacks.c' object='gsequencer-ags_link_collection_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor_callbacks.c'; fi`
+
+gsequencer-ags_link_collection_editor.o: src/ags/X/ags_link_collection_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo -c -o gsequencer-ags_link_collection_editor.o `test -f 'src/ags/X/ags_link_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_collection_editor.c' object='gsequencer-ags_link_collection_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor.o `test -f 'src/ags/X/ags_link_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_collection_editor.c
+
+gsequencer-ags_link_collection_editor.obj: src/ags/X/ags_link_collection_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_collection_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo -c -o gsequencer-ags_link_collection_editor.obj `if test -f 'src/ags/X/ags_link_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_link_collection_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_collection_editor.c' object='gsequencer-ags_link_collection_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_collection_editor.obj `if test -f 'src/ags/X/ags_link_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_collection_editor.c'; fi`
+
+gsequencer-ags_link_editor_callbacks.o: src/ags/X/ags_link_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo -c -o gsequencer-ags_link_editor_callbacks.o `test -f 'src/ags/X/ags_link_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_editor_callbacks.c' object='gsequencer-ags_link_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor_callbacks.o `test -f 'src/ags/X/ags_link_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor_callbacks.c
+
+gsequencer-ags_link_editor_callbacks.obj: src/ags/X/ags_link_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo -c -o gsequencer-ags_link_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_link_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_editor_callbacks.c' object='gsequencer-ags_link_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor_callbacks.obj `if test -f 'src/ags/X/ags_link_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor_callbacks.c'; fi`
+
+gsequencer-ags_link_editor.o: src/ags/X/ags_link_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor.Tpo -c -o gsequencer-ags_link_editor.o `test -f 'src/ags/X/ags_link_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor.Tpo $(DEPDIR)/gsequencer-ags_link_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_editor.c' object='gsequencer-ags_link_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor.o `test -f 'src/ags/X/ags_link_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_link_editor.c
+
+gsequencer-ags_link_editor.obj: src/ags/X/ags_link_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_link_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_link_editor.Tpo -c -o gsequencer-ags_link_editor.obj `if test -f 'src/ags/X/ags_link_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_link_editor.Tpo $(DEPDIR)/gsequencer-ags_link_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_link_editor.c' object='gsequencer-ags_link_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_link_editor.obj `if test -f 'src/ags/X/ags_link_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_link_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_link_editor.c'; fi`
+
+gsequencer-ags_listing_editor_callbacks.o: src/ags/X/ags_listing_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo -c -o gsequencer-ags_listing_editor_callbacks.o `test -f 'src/ags/X/ags_listing_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_listing_editor_callbacks.c' object='gsequencer-ags_listing_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor_callbacks.o `test -f 'src/ags/X/ags_listing_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor_callbacks.c
+
+gsequencer-ags_listing_editor_callbacks.obj: src/ags/X/ags_listing_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo -c -o gsequencer-ags_listing_editor_callbacks.obj `if test -f 'src/ags/X/ags_listing_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_listing_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_listing_editor_callbacks.c' object='gsequencer-ags_listing_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor_callbacks.obj `if test -f 'src/ags/X/ags_listing_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor_callbacks.c'; fi`
+
+gsequencer-ags_listing_editor.o: src/ags/X/ags_listing_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor.Tpo -c -o gsequencer-ags_listing_editor.o `test -f 'src/ags/X/ags_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_listing_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_listing_editor.c' object='gsequencer-ags_listing_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor.o `test -f 'src/ags/X/ags_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_listing_editor.c
+
+gsequencer-ags_listing_editor.obj: src/ags/X/ags_listing_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_listing_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_listing_editor.Tpo -c -o gsequencer-ags_listing_editor.obj `if test -f 'src/ags/X/ags_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_listing_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_listing_editor.c' object='gsequencer-ags_listing_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_listing_editor.obj `if test -f 'src/ags/X/ags_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_listing_editor.c'; fi`
+
+gsequencer-ags_machine_callbacks.o: src/ags/X/ags_machine_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo -c -o gsequencer-ags_machine_callbacks.o `test -f 'src/ags/X/ags_machine_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine_callbacks.c' object='gsequencer-ags_machine_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_callbacks.o `test -f 'src/ags/X/ags_machine_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_callbacks.c
+
+gsequencer-ags_machine_callbacks.obj: src/ags/X/ags_machine_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo -c -o gsequencer-ags_machine_callbacks.obj `if test -f 'src/ags/X/ags_machine_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine_callbacks.c' object='gsequencer-ags_machine_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_callbacks.obj `if test -f 'src/ags/X/ags_machine_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_callbacks.c'; fi`
+
+gsequencer-ags_machine_editor_callbacks.o: src/ags/X/ags_machine_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo -c -o gsequencer-ags_machine_editor_callbacks.o `test -f 'src/ags/X/ags_machine_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine_editor_callbacks.c' object='gsequencer-ags_machine_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor_callbacks.o `test -f 'src/ags/X/ags_machine_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor_callbacks.c
+
+gsequencer-ags_machine_editor_callbacks.obj: src/ags/X/ags_machine_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo -c -o gsequencer-ags_machine_editor_callbacks.obj `if test -f 'src/ags/X/ags_machine_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine_editor_callbacks.c' object='gsequencer-ags_machine_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor_callbacks.obj `if test -f 'src/ags/X/ags_machine_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor_callbacks.c'; fi`
+
+gsequencer-ags_machine_editor.o: src/ags/X/ags_machine_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor.Tpo -c -o gsequencer-ags_machine_editor.o `test -f 'src/ags/X/ags_machine_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor.Tpo $(DEPDIR)/gsequencer-ags_machine_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine_editor.c' object='gsequencer-ags_machine_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor.o `test -f 'src/ags/X/ags_machine_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_machine_editor.c
+
+gsequencer-ags_machine_editor.obj: src/ags/X/ags_machine_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_editor.Tpo -c -o gsequencer-ags_machine_editor.obj `if test -f 'src/ags/X/ags_machine_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_editor.Tpo $(DEPDIR)/gsequencer-ags_machine_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine_editor.c' object='gsequencer-ags_machine_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_editor.obj `if test -f 'src/ags/X/ags_machine_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine_editor.c'; fi`
+
+gsequencer-ags_machine.o: src/ags/X/ags_machine.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine.Tpo -c -o gsequencer-ags_machine.o `test -f 'src/ags/X/ags_machine.c' || echo '$(srcdir)/'`src/ags/X/ags_machine.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine.Tpo $(DEPDIR)/gsequencer-ags_machine.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine.c' object='gsequencer-ags_machine.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine.o `test -f 'src/ags/X/ags_machine.c' || echo '$(srcdir)/'`src/ags/X/ags_machine.c
+
+gsequencer-ags_machine.obj: src/ags/X/ags_machine.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine.Tpo -c -o gsequencer-ags_machine.obj `if test -f 'src/ags/X/ags_machine.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine.Tpo $(DEPDIR)/gsequencer-ags_machine.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_machine.c' object='gsequencer-ags_machine.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine.obj `if test -f 'src/ags/X/ags_machine.c'; then $(CYGPATH_W) 'src/ags/X/ags_machine.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_machine.c'; fi`
+
+gsequencer-ags_menu_bar_callbacks.o: src/ags/X/ags_menu_bar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo -c -o gsequencer-ags_menu_bar_callbacks.o `test -f 'src/ags/X/ags_menu_bar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_menu_bar_callbacks.c' object='gsequencer-ags_menu_bar_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar_callbacks.o `test -f 'src/ags/X/ags_menu_bar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar_callbacks.c
+
+gsequencer-ags_menu_bar_callbacks.obj: src/ags/X/ags_menu_bar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo -c -o gsequencer-ags_menu_bar_callbacks.obj `if test -f 'src/ags/X/ags_menu_bar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_menu_bar_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_menu_bar_callbacks.c' object='gsequencer-ags_menu_bar_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar_callbacks.obj `if test -f 'src/ags/X/ags_menu_bar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar_callbacks.c'; fi`
+
+gsequencer-ags_menu_bar.o: src/ags/X/ags_menu_bar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar.Tpo -c -o gsequencer-ags_menu_bar.o `test -f 'src/ags/X/ags_menu_bar.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar.Tpo $(DEPDIR)/gsequencer-ags_menu_bar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_menu_bar.c' object='gsequencer-ags_menu_bar.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar.o `test -f 'src/ags/X/ags_menu_bar.c' || echo '$(srcdir)/'`src/ags/X/ags_menu_bar.c
+
+gsequencer-ags_menu_bar.obj: src/ags/X/ags_menu_bar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_menu_bar.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_menu_bar.Tpo -c -o gsequencer-ags_menu_bar.obj `if test -f 'src/ags/X/ags_menu_bar.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_menu_bar.Tpo $(DEPDIR)/gsequencer-ags_menu_bar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_menu_bar.c' object='gsequencer-ags_menu_bar.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_menu_bar.obj `if test -f 'src/ags/X/ags_menu_bar.c'; then $(CYGPATH_W) 'src/ags/X/ags_menu_bar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_menu_bar.c'; fi`
+
+gsequencer-ags_navigation_callbacks.o: src/ags/X/ags_navigation_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo -c -o gsequencer-ags_navigation_callbacks.o `test -f 'src/ags/X/ags_navigation_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo $(DEPDIR)/gsequencer-ags_navigation_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_navigation_callbacks.c' object='gsequencer-ags_navigation_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation_callbacks.o `test -f 'src/ags/X/ags_navigation_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation_callbacks.c
+
+gsequencer-ags_navigation_callbacks.obj: src/ags/X/ags_navigation_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo -c -o gsequencer-ags_navigation_callbacks.obj `if test -f 'src/ags/X/ags_navigation_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation_callbacks.Tpo $(DEPDIR)/gsequencer-ags_navigation_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_navigation_callbacks.c' object='gsequencer-ags_navigation_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation_callbacks.obj `if test -f 'src/ags/X/ags_navigation_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation_callbacks.c'; fi`
+
+gsequencer-ags_navigation.o: src/ags/X/ags_navigation.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation.Tpo -c -o gsequencer-ags_navigation.o `test -f 'src/ags/X/ags_navigation.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation.Tpo $(DEPDIR)/gsequencer-ags_navigation.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_navigation.c' object='gsequencer-ags_navigation.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation.o `test -f 'src/ags/X/ags_navigation.c' || echo '$(srcdir)/'`src/ags/X/ags_navigation.c
+
+gsequencer-ags_navigation.obj: src/ags/X/ags_navigation.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_navigation.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_navigation.Tpo -c -o gsequencer-ags_navigation.obj `if test -f 'src/ags/X/ags_navigation.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_navigation.Tpo $(DEPDIR)/gsequencer-ags_navigation.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_navigation.c' object='gsequencer-ags_navigation.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_navigation.obj `if test -f 'src/ags/X/ags_navigation.c'; then $(CYGPATH_W) 'src/ags/X/ags_navigation.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_navigation.c'; fi`
+
+gsequencer-ags_pad_callbacks.o: src/ags/X/ags_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo -c -o gsequencer-ags_pad_callbacks.o `test -f 'src/ags/X/ags_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad_callbacks.c' object='gsequencer-ags_pad_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_callbacks.o `test -f 'src/ags/X/ags_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_callbacks.c
+
+gsequencer-ags_pad_callbacks.obj: src/ags/X/ags_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo -c -o gsequencer-ags_pad_callbacks.obj `if test -f 'src/ags/X/ags_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad_callbacks.c' object='gsequencer-ags_pad_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_callbacks.obj `if test -f 'src/ags/X/ags_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_callbacks.c'; fi`
+
+gsequencer-ags_pad_editor_callbacks.o: src/ags/X/ags_pad_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo -c -o gsequencer-ags_pad_editor_callbacks.o `test -f 'src/ags/X/ags_pad_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad_editor_callbacks.c' object='gsequencer-ags_pad_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor_callbacks.o `test -f 'src/ags/X/ags_pad_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor_callbacks.c
+
+gsequencer-ags_pad_editor_callbacks.obj: src/ags/X/ags_pad_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo -c -o gsequencer-ags_pad_editor_callbacks.obj `if test -f 'src/ags/X/ags_pad_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pad_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad_editor_callbacks.c' object='gsequencer-ags_pad_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor_callbacks.obj `if test -f 'src/ags/X/ags_pad_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor_callbacks.c'; fi`
+
+gsequencer-ags_pad_editor.o: src/ags/X/ags_pad_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor.Tpo -c -o gsequencer-ags_pad_editor.o `test -f 'src/ags/X/ags_pad_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor.Tpo $(DEPDIR)/gsequencer-ags_pad_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad_editor.c' object='gsequencer-ags_pad_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor.o `test -f 'src/ags/X/ags_pad_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_pad_editor.c
+
+gsequencer-ags_pad_editor.obj: src/ags/X/ags_pad_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad_editor.Tpo -c -o gsequencer-ags_pad_editor.obj `if test -f 'src/ags/X/ags_pad_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad_editor.Tpo $(DEPDIR)/gsequencer-ags_pad_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad_editor.c' object='gsequencer-ags_pad_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad_editor.obj `if test -f 'src/ags/X/ags_pad_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad_editor.c'; fi`
+
+gsequencer-ags_pad.o: src/ags/X/ags_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad.Tpo -c -o gsequencer-ags_pad.o `test -f 'src/ags/X/ags_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad.Tpo $(DEPDIR)/gsequencer-ags_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad.c' object='gsequencer-ags_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad.o `test -f 'src/ags/X/ags_pad.c' || echo '$(srcdir)/'`src/ags/X/ags_pad.c
+
+gsequencer-ags_pad.obj: src/ags/X/ags_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pad.Tpo -c -o gsequencer-ags_pad.obj `if test -f 'src/ags/X/ags_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pad.Tpo $(DEPDIR)/gsequencer-ags_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_pad.c' object='gsequencer-ags_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pad.obj `if test -f 'src/ags/X/ags_pad.c'; then $(CYGPATH_W) 'src/ags/X/ags_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_pad.c'; fi`
+
+gsequencer-ags_performance_preferences_callbacks.o: src/ags/X/ags_performance_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo -c -o gsequencer-ags_performance_preferences_callbacks.o `test -f 'src/ags/X/ags_performance_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_performance_preferences_callbacks.c' object='gsequencer-ags_performance_preferences_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences_callbacks.o `test -f 'src/ags/X/ags_performance_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences_callbacks.c
+
+gsequencer-ags_performance_preferences_callbacks.obj: src/ags/X/ags_performance_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo -c -o gsequencer-ags_performance_preferences_callbacks.obj `if test -f 'src/ags/X/ags_performance_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_performance_preferences_callbacks.c' object='gsequencer-ags_performance_preferences_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences_callbacks.obj `if test -f 'src/ags/X/ags_performance_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences_callbacks.c'; fi`
+
+gsequencer-ags_performance_preferences.o: src/ags/X/ags_performance_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo -c -o gsequencer-ags_performance_preferences.o `test -f 'src/ags/X/ags_performance_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_performance_preferences.c' object='gsequencer-ags_performance_preferences.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences.o `test -f 'src/ags/X/ags_performance_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_performance_preferences.c
+
+gsequencer-ags_performance_preferences.obj: src/ags/X/ags_performance_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_performance_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo -c -o gsequencer-ags_performance_preferences.obj `if test -f 'src/ags/X/ags_performance_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_performance_preferences.Tpo $(DEPDIR)/gsequencer-ags_performance_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_performance_preferences.c' object='gsequencer-ags_performance_preferences.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_performance_preferences.obj `if test -f 'src/ags/X/ags_performance_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_performance_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_performance_preferences.c'; fi`
+
+gsequencer-ags_plugin_preferences_callbacks.o: src/ags/X/ags_plugin_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo -c -o gsequencer-ags_plugin_preferences_callbacks.o `test -f 'src/ags/X/ags_plugin_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_plugin_preferences_callbacks.c' object='gsequencer-ags_plugin_preferences_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences_callbacks.o `test -f 'src/ags/X/ags_plugin_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences_callbacks.c
+
+gsequencer-ags_plugin_preferences_callbacks.obj: src/ags/X/ags_plugin_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo -c -o gsequencer-ags_plugin_preferences_callbacks.obj `if test -f 'src/ags/X/ags_plugin_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_plugin_preferences_callbacks.c' object='gsequencer-ags_plugin_preferences_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences_callbacks.obj `if test -f 'src/ags/X/ags_plugin_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences_callbacks.c'; fi`
+
+gsequencer-ags_plugin_preferences.o: src/ags/X/ags_plugin_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo -c -o gsequencer-ags_plugin_preferences.o `test -f 'src/ags/X/ags_plugin_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_plugin_preferences.c' object='gsequencer-ags_plugin_preferences.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences.o `test -f 'src/ags/X/ags_plugin_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_plugin_preferences.c
+
+gsequencer-ags_plugin_preferences.obj: src/ags/X/ags_plugin_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_plugin_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo -c -o gsequencer-ags_plugin_preferences.obj `if test -f 'src/ags/X/ags_plugin_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_plugin_preferences.Tpo $(DEPDIR)/gsequencer-ags_plugin_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_plugin_preferences.c' object='gsequencer-ags_plugin_preferences.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_plugin_preferences.obj `if test -f 'src/ags/X/ags_plugin_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_plugin_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_plugin_preferences.c'; fi`
+
+gsequencer-ags_preferences_callbacks.o: src/ags/X/ags_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo -c -o gsequencer-ags_preferences_callbacks.o `test -f 'src/ags/X/ags_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_preferences_callbacks.c' object='gsequencer-ags_preferences_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences_callbacks.o `test -f 'src/ags/X/ags_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences_callbacks.c
+
+gsequencer-ags_preferences_callbacks.obj: src/ags/X/ags_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo -c -o gsequencer-ags_preferences_callbacks.obj `if test -f 'src/ags/X/ags_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_preferences_callbacks.c' object='gsequencer-ags_preferences_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences_callbacks.obj `if test -f 'src/ags/X/ags_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences_callbacks.c'; fi`
+
+gsequencer-ags_preferences.o: src/ags/X/ags_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences.Tpo -c -o gsequencer-ags_preferences.o `test -f 'src/ags/X/ags_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences.Tpo $(DEPDIR)/gsequencer-ags_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_preferences.c' object='gsequencer-ags_preferences.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences.o `test -f 'src/ags/X/ags_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_preferences.c
+
+gsequencer-ags_preferences.obj: src/ags/X/ags_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_preferences.Tpo -c -o gsequencer-ags_preferences.obj `if test -f 'src/ags/X/ags_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_preferences.Tpo $(DEPDIR)/gsequencer-ags_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_preferences.c' object='gsequencer-ags_preferences.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_preferences.obj `if test -f 'src/ags/X/ags_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_preferences.c'; fi`
+
+gsequencer-ags_property_collection_editor_callbacks.o: src/ags/X/ags_property_collection_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo -c -o gsequencer-ags_property_collection_editor_callbacks.o `test -f 'src/ags/X/ags_property_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_collection_editor_callbacks.c' object='gsequencer-ags_property_collection_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor_callbacks.o `test -f 'src/ags/X/ags_property_collection_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor_callbacks.c
+
+gsequencer-ags_property_collection_editor_callbacks.obj: src/ags/X/ags_property_collection_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo -c -o gsequencer-ags_property_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_collection_editor_callbacks.c' object='gsequencer-ags_property_collection_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_collection_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor_callbacks.c'; fi`
+
+gsequencer-ags_property_collection_editor.o: src/ags/X/ags_property_collection_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo -c -o gsequencer-ags_property_collection_editor.o `test -f 'src/ags/X/ags_property_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_collection_editor.c' object='gsequencer-ags_property_collection_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor.o `test -f 'src/ags/X/ags_property_collection_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_collection_editor.c
+
+gsequencer-ags_property_collection_editor.obj: src/ags/X/ags_property_collection_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_collection_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo -c -o gsequencer-ags_property_collection_editor.obj `if test -f 'src/ags/X/ags_property_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_collection_editor.Tpo $(DEPDIR)/gsequencer-ags_property_collection_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_collection_editor.c' object='gsequencer-ags_property_collection_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_collection_editor.obj `if test -f 'src/ags/X/ags_property_collection_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_collection_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_collection_editor.c'; fi`
+
+gsequencer-ags_property_editor_callbacks.o: src/ags/X/ags_property_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo -c -o gsequencer-ags_property_editor_callbacks.o `test -f 'src/ags/X/ags_property_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_editor_callbacks.c' object='gsequencer-ags_property_editor_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor_callbacks.o `test -f 'src/ags/X/ags_property_editor_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor_callbacks.c
+
+gsequencer-ags_property_editor_callbacks.obj: src/ags/X/ags_property_editor_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo -c -o gsequencer-ags_property_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Tpo $(DEPDIR)/gsequencer-ags_property_editor_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_editor_callbacks.c' object='gsequencer-ags_property_editor_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor_callbacks.obj `if test -f 'src/ags/X/ags_property_editor_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor_callbacks.c'; fi`
+
+gsequencer-ags_property_editor.o: src/ags/X/ags_property_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor.Tpo -c -o gsequencer-ags_property_editor.o `test -f 'src/ags/X/ags_property_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor.Tpo $(DEPDIR)/gsequencer-ags_property_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_editor.c' object='gsequencer-ags_property_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor.o `test -f 'src/ags/X/ags_property_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_editor.c
+
+gsequencer-ags_property_editor.obj: src/ags/X/ags_property_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_editor.Tpo -c -o gsequencer-ags_property_editor.obj `if test -f 'src/ags/X/ags_property_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_editor.Tpo $(DEPDIR)/gsequencer-ags_property_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_editor.c' object='gsequencer-ags_property_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_editor.obj `if test -f 'src/ags/X/ags_property_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_editor.c'; fi`
+
+gsequencer-ags_property_listing_editor.o: src/ags/X/ags_property_listing_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_listing_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo -c -o gsequencer-ags_property_listing_editor.o `test -f 'src/ags/X/ags_property_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_listing_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_property_listing_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_listing_editor.c' object='gsequencer-ags_property_listing_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_listing_editor.o `test -f 'src/ags/X/ags_property_listing_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_property_listing_editor.c
+
+gsequencer-ags_property_listing_editor.obj: src/ags/X/ags_property_listing_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_property_listing_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo -c -o gsequencer-ags_property_listing_editor.obj `if test -f 'src/ags/X/ags_property_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_listing_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_property_listing_editor.Tpo $(DEPDIR)/gsequencer-ags_property_listing_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_property_listing_editor.c' object='gsequencer-ags_property_listing_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_property_listing_editor.obj `if test -f 'src/ags/X/ags_property_listing_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_property_listing_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_property_listing_editor.c'; fi`
+
+gsequencer-ags_resize_editor.o: src/ags/X/ags_resize_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_resize_editor.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_resize_editor.Tpo -c -o gsequencer-ags_resize_editor.o `test -f 'src/ags/X/ags_resize_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_resize_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_resize_editor.Tpo $(DEPDIR)/gsequencer-ags_resize_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_resize_editor.c' object='gsequencer-ags_resize_editor.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_resize_editor.o `test -f 'src/ags/X/ags_resize_editor.c' || echo '$(srcdir)/'`src/ags/X/ags_resize_editor.c
+
+gsequencer-ags_resize_editor.obj: src/ags/X/ags_resize_editor.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_resize_editor.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_resize_editor.Tpo -c -o gsequencer-ags_resize_editor.obj `if test -f 'src/ags/X/ags_resize_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_resize_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_resize_editor.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_resize_editor.Tpo $(DEPDIR)/gsequencer-ags_resize_editor.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_resize_editor.c' object='gsequencer-ags_resize_editor.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_resize_editor.obj `if test -f 'src/ags/X/ags_resize_editor.c'; then $(CYGPATH_W) 'src/ags/X/ags_resize_editor.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_resize_editor.c'; fi`
+
+gsequencer-ags_server_preferences_callbacks.o: src/ags/X/ags_server_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo -c -o gsequencer-ags_server_preferences_callbacks.o `test -f 'src/ags/X/ags_server_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_server_preferences_callbacks.c' object='gsequencer-ags_server_preferences_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences_callbacks.o `test -f 'src/ags/X/ags_server_preferences_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences_callbacks.c
+
+gsequencer-ags_server_preferences_callbacks.obj: src/ags/X/ags_server_preferences_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo -c -o gsequencer-ags_server_preferences_callbacks.obj `if test -f 'src/ags/X/ags_server_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Tpo $(DEPDIR)/gsequencer-ags_server_preferences_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_server_preferences_callbacks.c' object='gsequencer-ags_server_preferences_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences_callbacks.obj `if test -f 'src/ags/X/ags_server_preferences_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences_callbacks.c'; fi`
+
+gsequencer-ags_server_preferences.o: src/ags/X/ags_server_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences.Tpo -c -o gsequencer-ags_server_preferences.o `test -f 'src/ags/X/ags_server_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences.Tpo $(DEPDIR)/gsequencer-ags_server_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_server_preferences.c' object='gsequencer-ags_server_preferences.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences.o `test -f 'src/ags/X/ags_server_preferences.c' || echo '$(srcdir)/'`src/ags/X/ags_server_preferences.c
+
+gsequencer-ags_server_preferences.obj: src/ags/X/ags_server_preferences.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_server_preferences.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_server_preferences.Tpo -c -o gsequencer-ags_server_preferences.obj `if test -f 'src/ags/X/ags_server_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_server_preferences.Tpo $(DEPDIR)/gsequencer-ags_server_preferences.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_server_preferences.c' object='gsequencer-ags_server_preferences.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_server_preferences.obj `if test -f 'src/ags/X/ags_server_preferences.c'; then $(CYGPATH_W) 'src/ags/X/ags_server_preferences.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_server_preferences.c'; fi`
+
+gsequencer-ags_window_callbacks.o: src/ags/X/ags_window_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo -c -o gsequencer-ags_window_callbacks.o `test -f 'src/ags/X/ags_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_window_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_window_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_window_callbacks.c' object='gsequencer-ags_window_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window_callbacks.o `test -f 'src/ags/X/ags_window_callbacks.c' || echo '$(srcdir)/'`src/ags/X/ags_window_callbacks.c
+
+gsequencer-ags_window_callbacks.obj: src/ags/X/ags_window_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo -c -o gsequencer-ags_window_callbacks.obj `if test -f 'src/ags/X/ags_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window_callbacks.Tpo $(DEPDIR)/gsequencer-ags_window_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_window_callbacks.c' object='gsequencer-ags_window_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window_callbacks.obj `if test -f 'src/ags/X/ags_window_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/ags_window_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window_callbacks.c'; fi`
+
+gsequencer-ags_window.o: src/ags/X/ags_window.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_window.Tpo -c -o gsequencer-ags_window.o `test -f 'src/ags/X/ags_window.c' || echo '$(srcdir)/'`src/ags/X/ags_window.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window.Tpo $(DEPDIR)/gsequencer-ags_window.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_window.c' object='gsequencer-ags_window.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window.o `test -f 'src/ags/X/ags_window.c' || echo '$(srcdir)/'`src/ags/X/ags_window.c
+
+gsequencer-ags_window.obj: src/ags/X/ags_window.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_window.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_window.Tpo -c -o gsequencer-ags_window.obj `if test -f 'src/ags/X/ags_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_window.Tpo $(DEPDIR)/gsequencer-ags_window.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/ags_window.c' object='gsequencer-ags_window.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_window.obj `if test -f 'src/ags/X/ags_window.c'; then $(CYGPATH_W) 'src/ags/X/ags_window.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/ags_window.c'; fi`
+
+gsequencer-ags_drum_callbacks.o: src/ags/X/machine/ags_drum_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo -c -o gsequencer-ags_drum_callbacks.o `test -f 'src/ags/X/machine/ags_drum_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_callbacks.c' object='gsequencer-ags_drum_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_callbacks.o `test -f 'src/ags/X/machine/ags_drum_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_callbacks.c
+
+gsequencer-ags_drum_callbacks.obj: src/ags/X/machine/ags_drum_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo -c -o gsequencer-ags_drum_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_callbacks.c' object='gsequencer-ags_drum_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_callbacks.c'; fi`
+
+gsequencer-ags_drum.o: src/ags/X/machine/ags_drum.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum.Tpo -c -o gsequencer-ags_drum.o `test -f 'src/ags/X/machine/ags_drum.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum.Tpo $(DEPDIR)/gsequencer-ags_drum.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum.c' object='gsequencer-ags_drum.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum.o `test -f 'src/ags/X/machine/ags_drum.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum.c
+
+gsequencer-ags_drum.obj: src/ags/X/machine/ags_drum.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum.Tpo -c -o gsequencer-ags_drum.obj `if test -f 'src/ags/X/machine/ags_drum.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum.Tpo $(DEPDIR)/gsequencer-ags_drum.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum.c' object='gsequencer-ags_drum.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum.obj `if test -f 'src/ags/X/machine/ags_drum.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum.c'; fi`
+
+gsequencer-ags_drum_input_line_callbacks.o: src/ags/X/machine/ags_drum_input_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo -c -o gsequencer-ags_drum_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line_callbacks.c' object='gsequencer-ags_drum_input_line_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line_callbacks.c
+
+gsequencer-ags_drum_input_line_callbacks.obj: src/ags/X/machine/ags_drum_input_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo -c -o gsequencer-ags_drum_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line_callbacks.c' object='gsequencer-ags_drum_input_line_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line_callbacks.c'; fi`
+
+gsequencer-ags_drum_input_line.o: src/ags/X/machine/ags_drum_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo -c -o gsequencer-ags_drum_input_line.o `test -f 'src/ags/X/machine/ags_drum_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line.c' object='gsequencer-ags_drum_input_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line.o `test -f 'src/ags/X/machine/ags_drum_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_line.c
+
+gsequencer-ags_drum_input_line.obj: src/ags/X/machine/ags_drum_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo -c -o gsequencer-ags_drum_input_line.obj `if test -f 'src/ags/X/machine/ags_drum_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_line.Tpo $(DEPDIR)/gsequencer-ags_drum_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_line.c' object='gsequencer-ags_drum_input_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_line.obj `if test -f 'src/ags/X/machine/ags_drum_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_line.c'; fi`
+
+gsequencer-ags_drum_input_pad_callbacks.o: src/ags/X/machine/ags_drum_input_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo -c -o gsequencer-ags_drum_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad_callbacks.c' object='gsequencer-ags_drum_input_pad_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad_callbacks.c
+
+gsequencer-ags_drum_input_pad_callbacks.obj: src/ags/X/machine/ags_drum_input_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo -c -o gsequencer-ags_drum_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad_callbacks.c' object='gsequencer-ags_drum_input_pad_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad_callbacks.c'; fi`
+
+gsequencer-ags_drum_input_pad.o: src/ags/X/machine/ags_drum_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo -c -o gsequencer-ags_drum_input_pad.o `test -f 'src/ags/X/machine/ags_drum_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad.c' object='gsequencer-ags_drum_input_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad.o `test -f 'src/ags/X/machine/ags_drum_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_input_pad.c
+
+gsequencer-ags_drum_input_pad.obj: src/ags/X/machine/ags_drum_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo -c -o gsequencer-ags_drum_input_pad.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_input_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_input_pad.c' object='gsequencer-ags_drum_input_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_input_pad.obj `if test -f 'src/ags/X/machine/ags_drum_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_input_pad.c'; fi`
+
+gsequencer-ags_drum_output_line_callbacks.o: src/ags/X/machine/ags_drum_output_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo -c -o gsequencer-ags_drum_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line_callbacks.c' object='gsequencer-ags_drum_output_line_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line_callbacks.c
+
+gsequencer-ags_drum_output_line_callbacks.obj: src/ags/X/machine/ags_drum_output_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo -c -o gsequencer-ags_drum_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line_callbacks.c' object='gsequencer-ags_drum_output_line_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line_callbacks.c'; fi`
+
+gsequencer-ags_drum_output_line.o: src/ags/X/machine/ags_drum_output_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo -c -o gsequencer-ags_drum_output_line.o `test -f 'src/ags/X/machine/ags_drum_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line.c' object='gsequencer-ags_drum_output_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line.o `test -f 'src/ags/X/machine/ags_drum_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_line.c
+
+gsequencer-ags_drum_output_line.obj: src/ags/X/machine/ags_drum_output_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo -c -o gsequencer-ags_drum_output_line.obj `if test -f 'src/ags/X/machine/ags_drum_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_line.Tpo $(DEPDIR)/gsequencer-ags_drum_output_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_line.c' object='gsequencer-ags_drum_output_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_line.obj `if test -f 'src/ags/X/machine/ags_drum_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_line.c'; fi`
+
+gsequencer-ags_drum_output_pad_callbacks.o: src/ags/X/machine/ags_drum_output_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo -c -o gsequencer-ags_drum_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad_callbacks.c' object='gsequencer-ags_drum_output_pad_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad_callbacks.c
+
+gsequencer-ags_drum_output_pad_callbacks.obj: src/ags/X/machine/ags_drum_output_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo -c -o gsequencer-ags_drum_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad_callbacks.c' object='gsequencer-ags_drum_output_pad_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad_callbacks.c'; fi`
+
+gsequencer-ags_drum_output_pad.o: src/ags/X/machine/ags_drum_output_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo -c -o gsequencer-ags_drum_output_pad.o `test -f 'src/ags/X/machine/ags_drum_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad.c' object='gsequencer-ags_drum_output_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad.o `test -f 'src/ags/X/machine/ags_drum_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_drum_output_pad.c
+
+gsequencer-ags_drum_output_pad.obj: src/ags/X/machine/ags_drum_output_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_drum_output_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo -c -o gsequencer-ags_drum_output_pad.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_drum_output_pad.Tpo $(DEPDIR)/gsequencer-ags_drum_output_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_drum_output_pad.c' object='gsequencer-ags_drum_output_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_drum_output_pad.obj `if test -f 'src/ags/X/machine/ags_drum_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_drum_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_drum_output_pad.c'; fi`
+
+gsequencer-ags_ffplayer_bridge_callbacks.o: src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' object='gsequencer-ags_ffplayer_bridge_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+
+gsequencer-ags_ffplayer_bridge_callbacks.obj: src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge_callbacks.c' object='gsequencer-ags_ffplayer_bridge_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_bridge.o: src/ags/X/machine/ags_ffplayer_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo -c -o gsequencer-ags_ffplayer_bridge.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge.c' object='gsequencer-ags_ffplayer_bridge.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge.o `test -f 'src/ags/X/machine/ags_ffplayer_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bridge.c
+
+gsequencer-ags_ffplayer_bridge.obj: src/ags/X/machine/ags_ffplayer_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo -c -o gsequencer-ags_ffplayer_bridge.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bridge.c' object='gsequencer-ags_ffplayer_bridge.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bridge.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bridge.c'; fi`
+
+gsequencer-ags_ffplayer_bulk_input_callbacks.o: src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' object='gsequencer-ags_ffplayer_bulk_input_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+
+gsequencer-ags_ffplayer_bulk_input_callbacks.obj: src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c' object='gsequencer-ags_ffplayer_bulk_input_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_bulk_input.o: src/ags/X/machine/ags_ffplayer_bulk_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo -c -o gsequencer-ags_ffplayer_bulk_input.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input.c' object='gsequencer-ags_ffplayer_bulk_input.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input.o `test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_bulk_input.c
+
+gsequencer-ags_ffplayer_bulk_input.obj: src/ags/X/machine/ags_ffplayer_bulk_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_bulk_input.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo -c -o gsequencer-ags_ffplayer_bulk_input.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_bulk_input.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_bulk_input.c' object='gsequencer-ags_ffplayer_bulk_input.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_bulk_input.obj `if test -f 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_bulk_input.c'; fi`
+
+gsequencer-ags_ffplayer_callbacks.o: src/ags/X/machine/ags_ffplayer_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo -c -o gsequencer-ags_ffplayer_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_callbacks.c' object='gsequencer-ags_ffplayer_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_callbacks.c
+
+gsequencer-ags_ffplayer_callbacks.obj: src/ags/X/machine/ags_ffplayer_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo -c -o gsequencer-ags_ffplayer_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_callbacks.c' object='gsequencer-ags_ffplayer_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer.o: src/ags/X/machine/ags_ffplayer.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer.Tpo -c -o gsequencer-ags_ffplayer.o `test -f 'src/ags/X/machine/ags_ffplayer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer.Tpo $(DEPDIR)/gsequencer-ags_ffplayer.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer.c' object='gsequencer-ags_ffplayer.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer.o `test -f 'src/ags/X/machine/ags_ffplayer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer.c
+
+gsequencer-ags_ffplayer.obj: src/ags/X/machine/ags_ffplayer.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer.Tpo -c -o gsequencer-ags_ffplayer.obj `if test -f 'src/ags/X/machine/ags_ffplayer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer.Tpo $(DEPDIR)/gsequencer-ags_ffplayer.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer.c' object='gsequencer-ags_ffplayer.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer.obj `if test -f 'src/ags/X/machine/ags_ffplayer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer.c'; fi`
+
+gsequencer-ags_ffplayer_input_line_callbacks.o: src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' object='gsequencer-ags_ffplayer_input_line_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+
+gsequencer-ags_ffplayer_input_line_callbacks.obj: src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line_callbacks.c' object='gsequencer-ags_ffplayer_input_line_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_input_line.o: src/ags/X/machine/ags_ffplayer_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo -c -o gsequencer-ags_ffplayer_input_line.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line.c' object='gsequencer-ags_ffplayer_input_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line.o `test -f 'src/ags/X/machine/ags_ffplayer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_line.c
+
+gsequencer-ags_ffplayer_input_line.obj: src/ags/X/machine/ags_ffplayer_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo -c -o gsequencer-ags_ffplayer_input_line.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_line.c' object='gsequencer-ags_ffplayer_input_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_line.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_line.c'; fi`
+
+gsequencer-ags_ffplayer_input_pad_callbacks.o: src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' object='gsequencer-ags_ffplayer_input_pad_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad_callbacks.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+
+gsequencer-ags_ffplayer_input_pad_callbacks.obj: src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo -c -o gsequencer-ags_ffplayer_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c' object='gsequencer-ags_ffplayer_input_pad_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c'; fi`
+
+gsequencer-ags_ffplayer_input_pad.o: src/ags/X/machine/ags_ffplayer_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo -c -o gsequencer-ags_ffplayer_input_pad.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad.c' object='gsequencer-ags_ffplayer_input_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad.o `test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ffplayer_input_pad.c
+
+gsequencer-ags_ffplayer_input_pad.obj: src/ags/X/machine/ags_ffplayer_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ffplayer_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo -c -o gsequencer-ags_ffplayer_input_pad.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_ffplayer_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ffplayer_input_pad.c' object='gsequencer-ags_ffplayer_input_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ffplayer_input_pad.obj `if test -f 'src/ags/X/machine/ags_ffplayer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ffplayer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ffplayer_input_pad.c'; fi`
+
+gsequencer-ags_ladspa_bridge_callbacks.o: src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo -c -o gsequencer-ags_ladspa_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge_callbacks.c' object='gsequencer-ags_ladspa_bridge_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+
+gsequencer-ags_ladspa_bridge_callbacks.obj: src/ags/X/machine/ags_ladspa_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo -c -o gsequencer-ags_ladspa_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge_callbacks.c' object='gsequencer-ags_ladspa_bridge_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge_callbacks.c'; fi`
+
+gsequencer-ags_ladspa_bridge.o: src/ags/X/machine/ags_ladspa_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo -c -o gsequencer-ags_ladspa_bridge.o `test -f 'src/ags/X/machine/ags_ladspa_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge.c' object='gsequencer-ags_ladspa_bridge.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge.o `test -f 'src/ags/X/machine/ags_ladspa_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_ladspa_bridge.c
+
+gsequencer-ags_ladspa_bridge.obj: src/ags/X/machine/ags_ladspa_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_ladspa_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo -c -o gsequencer-ags_ladspa_bridge.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_ladspa_bridge.Tpo $(DEPDIR)/gsequencer-ags_ladspa_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_ladspa_bridge.c' object='gsequencer-ags_ladspa_bridge.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_ladspa_bridge.obj `if test -f 'src/ags/X/machine/ags_ladspa_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_ladspa_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_ladspa_bridge.c'; fi`
+
+gsequencer-ags_matrix_bridge_callbacks.o: src/ags/X/machine/ags_matrix_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo -c -o gsequencer-ags_matrix_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge_callbacks.c' object='gsequencer-ags_matrix_bridge_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge_callbacks.c
+
+gsequencer-ags_matrix_bridge_callbacks.obj: src/ags/X/machine/ags_matrix_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo -c -o gsequencer-ags_matrix_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge_callbacks.c' object='gsequencer-ags_matrix_bridge_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge_callbacks.c'; fi`
+
+gsequencer-ags_matrix_bridge.o: src/ags/X/machine/ags_matrix_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo -c -o gsequencer-ags_matrix_bridge.o `test -f 'src/ags/X/machine/ags_matrix_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge.c' object='gsequencer-ags_matrix_bridge.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge.o `test -f 'src/ags/X/machine/ags_matrix_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bridge.c
+
+gsequencer-ags_matrix_bridge.obj: src/ags/X/machine/ags_matrix_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo -c -o gsequencer-ags_matrix_bridge.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bridge.Tpo $(DEPDIR)/gsequencer-ags_matrix_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bridge.c' object='gsequencer-ags_matrix_bridge.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bridge.obj `if test -f 'src/ags/X/machine/ags_matrix_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bridge.c'; fi`
+
+gsequencer-ags_matrix_bulk_input_callbacks.o: src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo -c -o gsequencer-ags_matrix_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' object='gsequencer-ags_matrix_bulk_input_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+
+gsequencer-ags_matrix_bulk_input_callbacks.obj: src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo -c -o gsequencer-ags_matrix_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input_callbacks.c' object='gsequencer-ags_matrix_bulk_input_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input_callbacks.c'; fi`
+
+gsequencer-ags_matrix_bulk_input.o: src/ags/X/machine/ags_matrix_bulk_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo -c -o gsequencer-ags_matrix_bulk_input.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input.c' object='gsequencer-ags_matrix_bulk_input.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input.o `test -f 'src/ags/X/machine/ags_matrix_bulk_input.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_bulk_input.c
+
+gsequencer-ags_matrix_bulk_input.obj: src/ags/X/machine/ags_matrix_bulk_input.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_bulk_input.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo -c -o gsequencer-ags_matrix_bulk_input.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Tpo $(DEPDIR)/gsequencer-ags_matrix_bulk_input.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_bulk_input.c' object='gsequencer-ags_matrix_bulk_input.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_bulk_input.obj `if test -f 'src/ags/X/machine/ags_matrix_bulk_input.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_bulk_input.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_bulk_input.c'; fi`
+
+gsequencer-ags_matrix_callbacks.o: src/ags/X/machine/ags_matrix_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo -c -o gsequencer-ags_matrix_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_callbacks.c' object='gsequencer-ags_matrix_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_callbacks.o `test -f 'src/ags/X/machine/ags_matrix_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix_callbacks.c
+
+gsequencer-ags_matrix_callbacks.obj: src/ags/X/machine/ags_matrix_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo -c -o gsequencer-ags_matrix_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix_callbacks.Tpo $(DEPDIR)/gsequencer-ags_matrix_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix_callbacks.c' object='gsequencer-ags_matrix_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix_callbacks.obj `if test -f 'src/ags/X/machine/ags_matrix_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix_callbacks.c'; fi`
+
+gsequencer-ags_matrix.o: src/ags/X/machine/ags_matrix.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix.Tpo -c -o gsequencer-ags_matrix.o `test -f 'src/ags/X/machine/ags_matrix.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix.Tpo $(DEPDIR)/gsequencer-ags_matrix.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix.c' object='gsequencer-ags_matrix.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix.o `test -f 'src/ags/X/machine/ags_matrix.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_matrix.c
+
+gsequencer-ags_matrix.obj: src/ags/X/machine/ags_matrix.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_matrix.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_matrix.Tpo -c -o gsequencer-ags_matrix.obj `if test -f 'src/ags/X/machine/ags_matrix.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_matrix.Tpo $(DEPDIR)/gsequencer-ags_matrix.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_matrix.c' object='gsequencer-ags_matrix.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_matrix.obj `if test -f 'src/ags/X/machine/ags_matrix.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_matrix.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_matrix.c'; fi`
+
+gsequencer-ags_mixer_callbacks.o: src/ags/X/machine/ags_mixer_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo -c -o gsequencer-ags_mixer_callbacks.o `test -f 'src/ags/X/machine/ags_mixer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_mixer_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer_callbacks.c' object='gsequencer-ags_mixer_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_callbacks.o `test -f 'src/ags/X/machine/ags_mixer_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_callbacks.c
+
+gsequencer-ags_mixer_callbacks.obj: src/ags/X/machine/ags_mixer_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo -c -o gsequencer-ags_mixer_callbacks.obj `if test -f 'src/ags/X/machine/ags_mixer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_callbacks.Tpo $(DEPDIR)/gsequencer-ags_mixer_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer_callbacks.c' object='gsequencer-ags_mixer_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_callbacks.obj `if test -f 'src/ags/X/machine/ags_mixer_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_callbacks.c'; fi`
+
+gsequencer-ags_mixer.o: src/ags/X/machine/ags_mixer.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer.Tpo -c -o gsequencer-ags_mixer.o `test -f 'src/ags/X/machine/ags_mixer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer.Tpo $(DEPDIR)/gsequencer-ags_mixer.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer.c' object='gsequencer-ags_mixer.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer.o `test -f 'src/ags/X/machine/ags_mixer.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer.c
+
+gsequencer-ags_mixer.obj: src/ags/X/machine/ags_mixer.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer.Tpo -c -o gsequencer-ags_mixer.obj `if test -f 'src/ags/X/machine/ags_mixer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer.Tpo $(DEPDIR)/gsequencer-ags_mixer.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer.c' object='gsequencer-ags_mixer.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer.obj `if test -f 'src/ags/X/machine/ags_mixer.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer.c'; fi`
+
+gsequencer-ags_mixer_input_line.o: src/ags/X/machine/ags_mixer_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo -c -o gsequencer-ags_mixer_input_line.o `test -f 'src/ags/X/machine/ags_mixer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_line.c' object='gsequencer-ags_mixer_input_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_line.o `test -f 'src/ags/X/machine/ags_mixer_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_line.c
+
+gsequencer-ags_mixer_input_line.obj: src/ags/X/machine/ags_mixer_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo -c -o gsequencer-ags_mixer_input_line.obj `if test -f 'src/ags/X/machine/ags_mixer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_line.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_line.c' object='gsequencer-ags_mixer_input_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_line.obj `if test -f 'src/ags/X/machine/ags_mixer_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_line.c'; fi`
+
+gsequencer-ags_mixer_input_pad.o: src/ags/X/machine/ags_mixer_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo -c -o gsequencer-ags_mixer_input_pad.o `test -f 'src/ags/X/machine/ags_mixer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_pad.c' object='gsequencer-ags_mixer_input_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_pad.o `test -f 'src/ags/X/machine/ags_mixer_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_mixer_input_pad.c
+
+gsequencer-ags_mixer_input_pad.obj: src/ags/X/machine/ags_mixer_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_mixer_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo -c -o gsequencer-ags_mixer_input_pad.obj `if test -f 'src/ags/X/machine/ags_mixer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_mixer_input_pad.Tpo $(DEPDIR)/gsequencer-ags_mixer_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_mixer_input_pad.c' object='gsequencer-ags_mixer_input_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_mixer_input_pad.obj `if test -f 'src/ags/X/machine/ags_mixer_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_mixer_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_mixer_input_pad.c'; fi`
+
+gsequencer-ags_oscillator_callbacks.o: src/ags/X/machine/ags_oscillator_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo -c -o gsequencer-ags_oscillator_callbacks.o `test -f 'src/ags/X/machine/ags_oscillator_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_oscillator_callbacks.c' object='gsequencer-ags_oscillator_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator_callbacks.o `test -f 'src/ags/X/machine/ags_oscillator_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator_callbacks.c
+
+gsequencer-ags_oscillator_callbacks.obj: src/ags/X/machine/ags_oscillator_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo -c -o gsequencer-ags_oscillator_callbacks.obj `if test -f 'src/ags/X/machine/ags_oscillator_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Tpo $(DEPDIR)/gsequencer-ags_oscillator_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_oscillator_callbacks.c' object='gsequencer-ags_oscillator_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator_callbacks.obj `if test -f 'src/ags/X/machine/ags_oscillator_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator_callbacks.c'; fi`
+
+gsequencer-ags_oscillator.o: src/ags/X/machine/ags_oscillator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator.Tpo -c -o gsequencer-ags_oscillator.o `test -f 'src/ags/X/machine/ags_oscillator.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator.Tpo $(DEPDIR)/gsequencer-ags_oscillator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_oscillator.c' object='gsequencer-ags_oscillator.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator.o `test -f 'src/ags/X/machine/ags_oscillator.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_oscillator.c
+
+gsequencer-ags_oscillator.obj: src/ags/X/machine/ags_oscillator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_oscillator.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_oscillator.Tpo -c -o gsequencer-ags_oscillator.obj `if test -f 'src/ags/X/machine/ags_oscillator.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_oscillator.Tpo $(DEPDIR)/gsequencer-ags_oscillator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_oscillator.c' object='gsequencer-ags_oscillator.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_oscillator.obj `if test -f 'src/ags/X/machine/ags_oscillator.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_oscillator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_oscillator.c'; fi`
+
+gsequencer-ags_panel_callbacks.o: src/ags/X/machine/ags_panel_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo -c -o gsequencer-ags_panel_callbacks.o `test -f 'src/ags/X/machine/ags_panel_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo $(DEPDIR)/gsequencer-ags_panel_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel_callbacks.c' object='gsequencer-ags_panel_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_callbacks.o `test -f 'src/ags/X/machine/ags_panel_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_callbacks.c
+
+gsequencer-ags_panel_callbacks.obj: src/ags/X/machine/ags_panel_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo -c -o gsequencer-ags_panel_callbacks.obj `if test -f 'src/ags/X/machine/ags_panel_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_callbacks.Tpo $(DEPDIR)/gsequencer-ags_panel_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel_callbacks.c' object='gsequencer-ags_panel_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_callbacks.obj `if test -f 'src/ags/X/machine/ags_panel_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_callbacks.c'; fi`
+
+gsequencer-ags_panel.o: src/ags/X/machine/ags_panel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel.Tpo -c -o gsequencer-ags_panel.o `test -f 'src/ags/X/machine/ags_panel.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel.Tpo $(DEPDIR)/gsequencer-ags_panel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel.c' object='gsequencer-ags_panel.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel.o `test -f 'src/ags/X/machine/ags_panel.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel.c
+
+gsequencer-ags_panel.obj: src/ags/X/machine/ags_panel.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel.Tpo -c -o gsequencer-ags_panel.obj `if test -f 'src/ags/X/machine/ags_panel.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel.Tpo $(DEPDIR)/gsequencer-ags_panel.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel.c' object='gsequencer-ags_panel.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel.obj `if test -f 'src/ags/X/machine/ags_panel.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel.c'; fi`
+
+gsequencer-ags_panel_input_line.o: src/ags/X/machine/ags_panel_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo -c -o gsequencer-ags_panel_input_line.o `test -f 'src/ags/X/machine/ags_panel_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo $(DEPDIR)/gsequencer-ags_panel_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_line.c' object='gsequencer-ags_panel_input_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_line.o `test -f 'src/ags/X/machine/ags_panel_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_line.c
+
+gsequencer-ags_panel_input_line.obj: src/ags/X/machine/ags_panel_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo -c -o gsequencer-ags_panel_input_line.obj `if test -f 'src/ags/X/machine/ags_panel_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_line.Tpo $(DEPDIR)/gsequencer-ags_panel_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_line.c' object='gsequencer-ags_panel_input_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_line.obj `if test -f 'src/ags/X/machine/ags_panel_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_line.c'; fi`
+
+gsequencer-ags_panel_input_pad.o: src/ags/X/machine/ags_panel_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo -c -o gsequencer-ags_panel_input_pad.o `test -f 'src/ags/X/machine/ags_panel_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo $(DEPDIR)/gsequencer-ags_panel_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_pad.c' object='gsequencer-ags_panel_input_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_pad.o `test -f 'src/ags/X/machine/ags_panel_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_panel_input_pad.c
+
+gsequencer-ags_panel_input_pad.obj: src/ags/X/machine/ags_panel_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_panel_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo -c -o gsequencer-ags_panel_input_pad.obj `if test -f 'src/ags/X/machine/ags_panel_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_panel_input_pad.Tpo $(DEPDIR)/gsequencer-ags_panel_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_panel_input_pad.c' object='gsequencer-ags_panel_input_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_panel_input_pad.obj `if test -f 'src/ags/X/machine/ags_panel_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_panel_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_panel_input_pad.c'; fi`
+
+gsequencer-ags_synth_bridge_callbacks.o: src/ags/X/machine/ags_synth_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo -c -o gsequencer-ags_synth_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge_callbacks.c' object='gsequencer-ags_synth_bridge_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge_callbacks.c
+
+gsequencer-ags_synth_bridge_callbacks.obj: src/ags/X/machine/ags_synth_bridge_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo -c -o gsequencer-ags_synth_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge_callbacks.c' object='gsequencer-ags_synth_bridge_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge_callbacks.c'; fi`
+
+gsequencer-ags_synth_bridge.o: src/ags/X/machine/ags_synth_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo -c -o gsequencer-ags_synth_bridge.o `test -f 'src/ags/X/machine/ags_synth_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge.c' object='gsequencer-ags_synth_bridge.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge.o `test -f 'src/ags/X/machine/ags_synth_bridge.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bridge.c
+
+gsequencer-ags_synth_bridge.obj: src/ags/X/machine/ags_synth_bridge.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bridge.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo -c -o gsequencer-ags_synth_bridge.obj `if test -f 'src/ags/X/machine/ags_synth_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bridge.Tpo $(DEPDIR)/gsequencer-ags_synth_bridge.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bridge.c' object='gsequencer-ags_synth_bridge.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bridge.obj `if test -f 'src/ags/X/machine/ags_synth_bridge.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bridge.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bridge.c'; fi`
+
+gsequencer-ags_synth_bulk_output_callbacks.o: src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo -c -o gsequencer-ags_synth_bulk_output_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output_callbacks.c' object='gsequencer-ags_synth_bulk_output_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output_callbacks.o `test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+
+gsequencer-ags_synth_bulk_output_callbacks.obj: src/ags/X/machine/ags_synth_bulk_output_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo -c -o gsequencer-ags_synth_bulk_output_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output_callbacks.c' object='gsequencer-ags_synth_bulk_output_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output_callbacks.c'; fi`
+
+gsequencer-ags_synth_bulk_output.o: src/ags/X/machine/ags_synth_bulk_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo -c -o gsequencer-ags_synth_bulk_output.o `test -f 'src/ags/X/machine/ags_synth_bulk_output.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output.c' object='gsequencer-ags_synth_bulk_output.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output.o `test -f 'src/ags/X/machine/ags_synth_bulk_output.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_bulk_output.c
+
+gsequencer-ags_synth_bulk_output.obj: src/ags/X/machine/ags_synth_bulk_output.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_bulk_output.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo -c -o gsequencer-ags_synth_bulk_output.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_bulk_output.Tpo $(DEPDIR)/gsequencer-ags_synth_bulk_output.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_bulk_output.c' object='gsequencer-ags_synth_bulk_output.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_bulk_output.obj `if test -f 'src/ags/X/machine/ags_synth_bulk_output.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_bulk_output.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_bulk_output.c'; fi`
+
+gsequencer-ags_synth_callbacks.o: src/ags/X/machine/ags_synth_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo -c -o gsequencer-ags_synth_callbacks.o `test -f 'src/ags/X/machine/ags_synth_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_callbacks.c' object='gsequencer-ags_synth_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_callbacks.o `test -f 'src/ags/X/machine/ags_synth_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_callbacks.c
+
+gsequencer-ags_synth_callbacks.obj: src/ags/X/machine/ags_synth_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo -c -o gsequencer-ags_synth_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_callbacks.c' object='gsequencer-ags_synth_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_callbacks.c'; fi`
+
+gsequencer-ags_synth.o: src/ags/X/machine/ags_synth.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth.Tpo -c -o gsequencer-ags_synth.o `test -f 'src/ags/X/machine/ags_synth.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth.Tpo $(DEPDIR)/gsequencer-ags_synth.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth.c' object='gsequencer-ags_synth.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth.o `test -f 'src/ags/X/machine/ags_synth.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth.c
+
+gsequencer-ags_synth.obj: src/ags/X/machine/ags_synth.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth.Tpo -c -o gsequencer-ags_synth.obj `if test -f 'src/ags/X/machine/ags_synth.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth.Tpo $(DEPDIR)/gsequencer-ags_synth.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth.c' object='gsequencer-ags_synth.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth.obj `if test -f 'src/ags/X/machine/ags_synth.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth.c'; fi`
+
+gsequencer-ags_synth_input_line.o: src/ags/X/machine/ags_synth_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo -c -o gsequencer-ags_synth_input_line.o `test -f 'src/ags/X/machine/ags_synth_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo $(DEPDIR)/gsequencer-ags_synth_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_line.c' object='gsequencer-ags_synth_input_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_line.o `test -f 'src/ags/X/machine/ags_synth_input_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_line.c
+
+gsequencer-ags_synth_input_line.obj: src/ags/X/machine/ags_synth_input_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo -c -o gsequencer-ags_synth_input_line.obj `if test -f 'src/ags/X/machine/ags_synth_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_line.Tpo $(DEPDIR)/gsequencer-ags_synth_input_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_line.c' object='gsequencer-ags_synth_input_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_line.obj `if test -f 'src/ags/X/machine/ags_synth_input_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_line.c'; fi`
+
+gsequencer-ags_synth_input_pad.o: src/ags/X/machine/ags_synth_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo -c -o gsequencer-ags_synth_input_pad.o `test -f 'src/ags/X/machine/ags_synth_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_pad.c' object='gsequencer-ags_synth_input_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_pad.o `test -f 'src/ags/X/machine/ags_synth_input_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_input_pad.c
+
+gsequencer-ags_synth_input_pad.obj: src/ags/X/machine/ags_synth_input_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_input_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo -c -o gsequencer-ags_synth_input_pad.obj `if test -f 'src/ags/X/machine/ags_synth_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_input_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_input_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_input_pad.c' object='gsequencer-ags_synth_input_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_input_pad.obj `if test -f 'src/ags/X/machine/ags_synth_input_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_input_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_input_pad.c'; fi`
+
+gsequencer-ags_synth_output_line_callbacks.o: src/ags/X/machine/ags_synth_output_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo -c -o gsequencer-ags_synth_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line_callbacks.c' object='gsequencer-ags_synth_output_line_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line_callbacks.c
+
+gsequencer-ags_synth_output_line_callbacks.obj: src/ags/X/machine/ags_synth_output_line_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo -c -o gsequencer-ags_synth_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line_callbacks.c' object='gsequencer-ags_synth_output_line_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line_callbacks.c'; fi`
+
+gsequencer-ags_synth_output_line.o: src/ags/X/machine/ags_synth_output_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo -c -o gsequencer-ags_synth_output_line.o `test -f 'src/ags/X/machine/ags_synth_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line.c' object='gsequencer-ags_synth_output_line.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line.o `test -f 'src/ags/X/machine/ags_synth_output_line.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_line.c
+
+gsequencer-ags_synth_output_line.obj: src/ags/X/machine/ags_synth_output_line.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_line.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo -c -o gsequencer-ags_synth_output_line.obj `if test -f 'src/ags/X/machine/ags_synth_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_line.Tpo $(DEPDIR)/gsequencer-ags_synth_output_line.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_line.c' object='gsequencer-ags_synth_output_line.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_line.obj `if test -f 'src/ags/X/machine/ags_synth_output_line.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_line.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_line.c'; fi`
+
+gsequencer-ags_synth_output_pad_callbacks.o: src/ags/X/machine/ags_synth_output_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo -c -o gsequencer-ags_synth_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad_callbacks.c' object='gsequencer-ags_synth_output_pad_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad_callbacks.o `test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad_callbacks.c
+
+gsequencer-ags_synth_output_pad_callbacks.obj: src/ags/X/machine/ags_synth_output_pad_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo -c -o gsequencer-ags_synth_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad_callbacks.c' object='gsequencer-ags_synth_output_pad_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad_callbacks.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad_callbacks.c'; fi`
+
+gsequencer-ags_synth_output_pad.o: src/ags/X/machine/ags_synth_output_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo -c -o gsequencer-ags_synth_output_pad.o `test -f 'src/ags/X/machine/ags_synth_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad.c' object='gsequencer-ags_synth_output_pad.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad.o `test -f 'src/ags/X/machine/ags_synth_output_pad.c' || echo '$(srcdir)/'`src/ags/X/machine/ags_synth_output_pad.c
+
+gsequencer-ags_synth_output_pad.obj: src/ags/X/machine/ags_synth_output_pad.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_synth_output_pad.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo -c -o gsequencer-ags_synth_output_pad.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_synth_output_pad.Tpo $(DEPDIR)/gsequencer-ags_synth_output_pad.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/machine/ags_synth_output_pad.c' object='gsequencer-ags_synth_output_pad.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_synth_output_pad.obj `if test -f 'src/ags/X/machine/ags_synth_output_pad.c'; then $(CYGPATH_W) 'src/ags/X/machine/ags_synth_output_pad.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/machine/ags_synth_output_pad.c'; fi`
+
+gsequencer-ags_automation_area_callbacks.o: src/ags/X/editor/ags_automation_area_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo -c -o gsequencer-ags_automation_area_callbacks.o `test -f 'src/ags/X/editor/ags_automation_area_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_area_callbacks.c' object='gsequencer-ags_automation_area_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area_callbacks.o `test -f 'src/ags/X/editor/ags_automation_area_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area_callbacks.c
+
+gsequencer-ags_automation_area_callbacks.obj: src/ags/X/editor/ags_automation_area_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo -c -o gsequencer-ags_automation_area_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_area_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_area_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_area_callbacks.c' object='gsequencer-ags_automation_area_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_area_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area_callbacks.c'; fi`
+
+gsequencer-ags_automation_area.o: src/ags/X/editor/ags_automation_area.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area.Tpo -c -o gsequencer-ags_automation_area.o `test -f 'src/ags/X/editor/ags_automation_area.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area.Tpo $(DEPDIR)/gsequencer-ags_automation_area.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_area.c' object='gsequencer-ags_automation_area.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area.o `test -f 'src/ags/X/editor/ags_automation_area.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_area.c
+
+gsequencer-ags_automation_area.obj: src/ags/X/editor/ags_automation_area.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_area.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_area.Tpo -c -o gsequencer-ags_automation_area.obj `if test -f 'src/ags/X/editor/ags_automation_area.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_area.Tpo $(DEPDIR)/gsequencer-ags_automation_area.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_area.c' object='gsequencer-ags_automation_area.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_area.obj `if test -f 'src/ags/X/editor/ags_automation_area.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_area.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_area.c'; fi`
+
+gsequencer-ags_automation_edit_callbacks.o: src/ags/X/editor/ags_automation_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo -c -o gsequencer-ags_automation_edit_callbacks.o `test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit_callbacks.c' object='gsequencer-ags_automation_edit_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit_callbacks.o `test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit_callbacks.c
+
+gsequencer-ags_automation_edit_callbacks.obj: src/ags/X/editor/ags_automation_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo -c -o gsequencer-ags_automation_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_edit_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit_callbacks.c' object='gsequencer-ags_automation_edit_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit_callbacks.c'; fi`
+
+gsequencer-ags_automation_edit.o: src/ags/X/editor/ags_automation_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit.Tpo -c -o gsequencer-ags_automation_edit.o `test -f 'src/ags/X/editor/ags_automation_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit.Tpo $(DEPDIR)/gsequencer-ags_automation_edit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit.c' object='gsequencer-ags_automation_edit.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit.o `test -f 'src/ags/X/editor/ags_automation_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_edit.c
+
+gsequencer-ags_automation_edit.obj: src/ags/X/editor/ags_automation_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_edit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_edit.Tpo -c -o gsequencer-ags_automation_edit.obj `if test -f 'src/ags/X/editor/ags_automation_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_edit.Tpo $(DEPDIR)/gsequencer-ags_automation_edit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_edit.c' object='gsequencer-ags_automation_edit.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_edit.obj `if test -f 'src/ags/X/editor/ags_automation_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_edit.c'; fi`
+
+gsequencer-ags_automation_toolbar_callbacks.o: src/ags/X/editor/ags_automation_toolbar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo -c -o gsequencer-ags_automation_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar_callbacks.c' object='gsequencer-ags_automation_toolbar_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar_callbacks.c
+
+gsequencer-ags_automation_toolbar_callbacks.obj: src/ags/X/editor/ags_automation_toolbar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo -c -o gsequencer-ags_automation_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar_callbacks.c' object='gsequencer-ags_automation_toolbar_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar_callbacks.c'; fi`
+
+gsequencer-ags_automation_toolbar.o: src/ags/X/editor/ags_automation_toolbar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo -c -o gsequencer-ags_automation_toolbar.o `test -f 'src/ags/X/editor/ags_automation_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar.c' object='gsequencer-ags_automation_toolbar.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar.o `test -f 'src/ags/X/editor/ags_automation_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_automation_toolbar.c
+
+gsequencer-ags_automation_toolbar.obj: src/ags/X/editor/ags_automation_toolbar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_automation_toolbar.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo -c -o gsequencer-ags_automation_toolbar.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_automation_toolbar.Tpo $(DEPDIR)/gsequencer-ags_automation_toolbar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_automation_toolbar.c' object='gsequencer-ags_automation_toolbar.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_automation_toolbar.obj `if test -f 'src/ags/X/editor/ags_automation_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_automation_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_automation_toolbar.c'; fi`
+
+gsequencer-ags_file_selection_callbacks.o: src/ags/X/editor/ags_file_selection_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo -c -o gsequencer-ags_file_selection_callbacks.o `test -f 'src/ags/X/editor/ags_file_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_file_selection_callbacks.c' object='gsequencer-ags_file_selection_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection_callbacks.o `test -f 'src/ags/X/editor/ags_file_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection_callbacks.c
+
+gsequencer-ags_file_selection_callbacks.obj: src/ags/X/editor/ags_file_selection_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo -c -o gsequencer-ags_file_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_file_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_file_selection_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_file_selection_callbacks.c' object='gsequencer-ags_file_selection_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_file_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection_callbacks.c'; fi`
+
+gsequencer-ags_file_selection.o: src/ags/X/editor/ags_file_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection.Tpo -c -o gsequencer-ags_file_selection.o `test -f 'src/ags/X/editor/ags_file_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection.Tpo $(DEPDIR)/gsequencer-ags_file_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_file_selection.c' object='gsequencer-ags_file_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection.o `test -f 'src/ags/X/editor/ags_file_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_file_selection.c
+
+gsequencer-ags_file_selection.obj: src/ags/X/editor/ags_file_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_selection.Tpo -c -o gsequencer-ags_file_selection.obj `if test -f 'src/ags/X/editor/ags_file_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_selection.Tpo $(DEPDIR)/gsequencer-ags_file_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_file_selection.c' object='gsequencer-ags_file_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_selection.obj `if test -f 'src/ags/X/editor/ags_file_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_file_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_file_selection.c'; fi`
+
+gsequencer-ags_inline_player_callbacks.o: src/ags/X/editor/ags_inline_player_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo -c -o gsequencer-ags_inline_player_callbacks.o `test -f 'src/ags/X/editor/ags_inline_player_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_inline_player_callbacks.c' object='gsequencer-ags_inline_player_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player_callbacks.o `test -f 'src/ags/X/editor/ags_inline_player_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player_callbacks.c
+
+gsequencer-ags_inline_player_callbacks.obj: src/ags/X/editor/ags_inline_player_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo -c -o gsequencer-ags_inline_player_callbacks.obj `if test -f 'src/ags/X/editor/ags_inline_player_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Tpo $(DEPDIR)/gsequencer-ags_inline_player_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_inline_player_callbacks.c' object='gsequencer-ags_inline_player_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player_callbacks.obj `if test -f 'src/ags/X/editor/ags_inline_player_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player_callbacks.c'; fi`
+
+gsequencer-ags_inline_player.o: src/ags/X/editor/ags_inline_player.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player.Tpo -c -o gsequencer-ags_inline_player.o `test -f 'src/ags/X/editor/ags_inline_player.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player.Tpo $(DEPDIR)/gsequencer-ags_inline_player.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_inline_player.c' object='gsequencer-ags_inline_player.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player.o `test -f 'src/ags/X/editor/ags_inline_player.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_inline_player.c
+
+gsequencer-ags_inline_player.obj: src/ags/X/editor/ags_inline_player.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_inline_player.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_inline_player.Tpo -c -o gsequencer-ags_inline_player.obj `if test -f 'src/ags/X/editor/ags_inline_player.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_inline_player.Tpo $(DEPDIR)/gsequencer-ags_inline_player.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_inline_player.c' object='gsequencer-ags_inline_player.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_inline_player.obj `if test -f 'src/ags/X/editor/ags_inline_player.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_inline_player.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_inline_player.c'; fi`
+
+gsequencer-ags_machine_radio_button.o: src/ags/X/editor/ags_machine_radio_button.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_radio_button.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo -c -o gsequencer-ags_machine_radio_button.o `test -f 'src/ags/X/editor/ags_machine_radio_button.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_radio_button.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo $(DEPDIR)/gsequencer-ags_machine_radio_button.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_radio_button.c' object='gsequencer-ags_machine_radio_button.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_radio_button.o `test -f 'src/ags/X/editor/ags_machine_radio_button.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_radio_button.c
+
+gsequencer-ags_machine_radio_button.obj: src/ags/X/editor/ags_machine_radio_button.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_radio_button.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo -c -o gsequencer-ags_machine_radio_button.obj `if test -f 'src/ags/X/editor/ags_machine_radio_button.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_radio_button.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_radio_button.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_radio_button.Tpo $(DEPDIR)/gsequencer-ags_machine_radio_button.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_radio_button.c' object='gsequencer-ags_machine_radio_button.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_radio_button.obj `if test -f 'src/ags/X/editor/ags_machine_radio_button.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_radio_button.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_radio_button.c'; fi`
+
+gsequencer-ags_machine_selection.o: src/ags/X/editor/ags_machine_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selection.Tpo -c -o gsequencer-ags_machine_selection.o `test -f 'src/ags/X/editor/ags_machine_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selection.Tpo $(DEPDIR)/gsequencer-ags_machine_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_selection.c' object='gsequencer-ags_machine_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selection.o `test -f 'src/ags/X/editor/ags_machine_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selection.c
+
+gsequencer-ags_machine_selection.obj: src/ags/X/editor/ags_machine_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selection.Tpo -c -o gsequencer-ags_machine_selection.obj `if test -f 'src/ags/X/editor/ags_machine_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selection.Tpo $(DEPDIR)/gsequencer-ags_machine_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_selection.c' object='gsequencer-ags_machine_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selection.obj `if test -f 'src/ags/X/editor/ags_machine_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selection.c'; fi`
+
+gsequencer-ags_machine_selector_callbacks.o: src/ags/X/editor/ags_machine_selector_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo -c -o gsequencer-ags_machine_selector_callbacks.o `test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector_callbacks.c' object='gsequencer-ags_machine_selector_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector_callbacks.o `test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector_callbacks.c
+
+gsequencer-ags_machine_selector_callbacks.obj: src/ags/X/editor/ags_machine_selector_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo -c -o gsequencer-ags_machine_selector_callbacks.obj `if test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Tpo $(DEPDIR)/gsequencer-ags_machine_selector_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector_callbacks.c' object='gsequencer-ags_machine_selector_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector_callbacks.obj `if test -f 'src/ags/X/editor/ags_machine_selector_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector_callbacks.c'; fi`
+
+gsequencer-ags_machine_selector.o: src/ags/X/editor/ags_machine_selector.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector.Tpo -c -o gsequencer-ags_machine_selector.o `test -f 'src/ags/X/editor/ags_machine_selector.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector.Tpo $(DEPDIR)/gsequencer-ags_machine_selector.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector.c' object='gsequencer-ags_machine_selector.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector.o `test -f 'src/ags/X/editor/ags_machine_selector.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_machine_selector.c
+
+gsequencer-ags_machine_selector.obj: src/ags/X/editor/ags_machine_selector.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_machine_selector.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_machine_selector.Tpo -c -o gsequencer-ags_machine_selector.obj `if test -f 'src/ags/X/editor/ags_machine_selector.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_machine_selector.Tpo $(DEPDIR)/gsequencer-ags_machine_selector.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_machine_selector.c' object='gsequencer-ags_machine_selector.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_machine_selector.obj `if test -f 'src/ags/X/editor/ags_machine_selector.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_machine_selector.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_machine_selector.c'; fi`
+
+gsequencer-ags_meter_callbacks.o: src/ags/X/editor/ags_meter_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo -c -o gsequencer-ags_meter_callbacks.o `test -f 'src/ags/X/editor/ags_meter_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo $(DEPDIR)/gsequencer-ags_meter_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_meter_callbacks.c' object='gsequencer-ags_meter_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter_callbacks.o `test -f 'src/ags/X/editor/ags_meter_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter_callbacks.c
+
+gsequencer-ags_meter_callbacks.obj: src/ags/X/editor/ags_meter_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo -c -o gsequencer-ags_meter_callbacks.obj `if test -f 'src/ags/X/editor/ags_meter_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter_callbacks.Tpo $(DEPDIR)/gsequencer-ags_meter_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_meter_callbacks.c' object='gsequencer-ags_meter_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter_callbacks.obj `if test -f 'src/ags/X/editor/ags_meter_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter_callbacks.c'; fi`
+
+gsequencer-ags_meter.o: src/ags/X/editor/ags_meter.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter.Tpo -c -o gsequencer-ags_meter.o `test -f 'src/ags/X/editor/ags_meter.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter.Tpo $(DEPDIR)/gsequencer-ags_meter.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_meter.c' object='gsequencer-ags_meter.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter.o `test -f 'src/ags/X/editor/ags_meter.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_meter.c
+
+gsequencer-ags_meter.obj: src/ags/X/editor/ags_meter.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_meter.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_meter.Tpo -c -o gsequencer-ags_meter.obj `if test -f 'src/ags/X/editor/ags_meter.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_meter.Tpo $(DEPDIR)/gsequencer-ags_meter.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_meter.c' object='gsequencer-ags_meter.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_meter.obj `if test -f 'src/ags/X/editor/ags_meter.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_meter.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_meter.c'; fi`
+
+gsequencer-ags_notebook_callbacks.o: src/ags/X/editor/ags_notebook_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo -c -o gsequencer-ags_notebook_callbacks.o `test -f 'src/ags/X/editor/ags_notebook_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo $(DEPDIR)/gsequencer-ags_notebook_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_notebook_callbacks.c' object='gsequencer-ags_notebook_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook_callbacks.o `test -f 'src/ags/X/editor/ags_notebook_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook_callbacks.c
+
+gsequencer-ags_notebook_callbacks.obj: src/ags/X/editor/ags_notebook_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo -c -o gsequencer-ags_notebook_callbacks.obj `if test -f 'src/ags/X/editor/ags_notebook_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook_callbacks.Tpo $(DEPDIR)/gsequencer-ags_notebook_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_notebook_callbacks.c' object='gsequencer-ags_notebook_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook_callbacks.obj `if test -f 'src/ags/X/editor/ags_notebook_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook_callbacks.c'; fi`
+
+gsequencer-ags_notebook.o: src/ags/X/editor/ags_notebook.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook.Tpo -c -o gsequencer-ags_notebook.o `test -f 'src/ags/X/editor/ags_notebook.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook.Tpo $(DEPDIR)/gsequencer-ags_notebook.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_notebook.c' object='gsequencer-ags_notebook.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook.o `test -f 'src/ags/X/editor/ags_notebook.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_notebook.c
+
+gsequencer-ags_notebook.obj: src/ags/X/editor/ags_notebook.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_notebook.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_notebook.Tpo -c -o gsequencer-ags_notebook.obj `if test -f 'src/ags/X/editor/ags_notebook.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_notebook.Tpo $(DEPDIR)/gsequencer-ags_notebook.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_notebook.c' object='gsequencer-ags_notebook.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_notebook.obj `if test -f 'src/ags/X/editor/ags_notebook.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_notebook.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_notebook.c'; fi`
+
+gsequencer-ags_note_edit_callbacks.o: src/ags/X/editor/ags_note_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo -c -o gsequencer-ags_note_edit_callbacks.o `test -f 'src/ags/X/editor/ags_note_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_note_edit_callbacks.c' object='gsequencer-ags_note_edit_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit_callbacks.o `test -f 'src/ags/X/editor/ags_note_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit_callbacks.c
+
+gsequencer-ags_note_edit_callbacks.obj: src/ags/X/editor/ags_note_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo -c -o gsequencer-ags_note_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_note_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_note_edit_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_note_edit_callbacks.c' object='gsequencer-ags_note_edit_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_note_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit_callbacks.c'; fi`
+
+gsequencer-ags_note_edit.o: src/ags/X/editor/ags_note_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit.Tpo -c -o gsequencer-ags_note_edit.o `test -f 'src/ags/X/editor/ags_note_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit.Tpo $(DEPDIR)/gsequencer-ags_note_edit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_note_edit.c' object='gsequencer-ags_note_edit.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit.o `test -f 'src/ags/X/editor/ags_note_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_note_edit.c
+
+gsequencer-ags_note_edit.obj: src/ags/X/editor/ags_note_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_note_edit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_note_edit.Tpo -c -o gsequencer-ags_note_edit.obj `if test -f 'src/ags/X/editor/ags_note_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_note_edit.Tpo $(DEPDIR)/gsequencer-ags_note_edit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_note_edit.c' object='gsequencer-ags_note_edit.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_note_edit.obj `if test -f 'src/ags/X/editor/ags_note_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_note_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_note_edit.c'; fi`
+
+gsequencer-ags_pattern_edit_callbacks.o: src/ags/X/editor/ags_pattern_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo -c -o gsequencer-ags_pattern_edit_callbacks.o `test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit_callbacks.c' object='gsequencer-ags_pattern_edit_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit_callbacks.o `test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit_callbacks.c
+
+gsequencer-ags_pattern_edit_callbacks.obj: src/ags/X/editor/ags_pattern_edit_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo -c -o gsequencer-ags_pattern_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit_callbacks.c' object='gsequencer-ags_pattern_edit_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit_callbacks.obj `if test -f 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit_callbacks.c'; fi`
+
+gsequencer-ags_pattern_edit.o: src/ags/X/editor/ags_pattern_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo -c -o gsequencer-ags_pattern_edit.o `test -f 'src/ags/X/editor/ags_pattern_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit.c' object='gsequencer-ags_pattern_edit.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit.o `test -f 'src/ags/X/editor/ags_pattern_edit.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_pattern_edit.c
+
+gsequencer-ags_pattern_edit.obj: src/ags/X/editor/ags_pattern_edit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_pattern_edit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo -c -o gsequencer-ags_pattern_edit.obj `if test -f 'src/ags/X/editor/ags_pattern_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_pattern_edit.Tpo $(DEPDIR)/gsequencer-ags_pattern_edit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_pattern_edit.c' object='gsequencer-ags_pattern_edit.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_pattern_edit.obj `if test -f 'src/ags/X/editor/ags_pattern_edit.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_pattern_edit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_pattern_edit.c'; fi`
+
+gsequencer-ags_port_selection_callbacks.o: src/ags/X/editor/ags_port_selection_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo -c -o gsequencer-ags_port_selection_callbacks.o `test -f 'src/ags/X/editor/ags_port_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_port_selection_callbacks.c' object='gsequencer-ags_port_selection_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection_callbacks.o `test -f 'src/ags/X/editor/ags_port_selection_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection_callbacks.c
+
+gsequencer-ags_port_selection_callbacks.obj: src/ags/X/editor/ags_port_selection_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo -c -o gsequencer-ags_port_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_port_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Tpo $(DEPDIR)/gsequencer-ags_port_selection_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_port_selection_callbacks.c' object='gsequencer-ags_port_selection_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection_callbacks.obj `if test -f 'src/ags/X/editor/ags_port_selection_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection_callbacks.c'; fi`
+
+gsequencer-ags_port_selection.o: src/ags/X/editor/ags_port_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection.Tpo -c -o gsequencer-ags_port_selection.o `test -f 'src/ags/X/editor/ags_port_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection.Tpo $(DEPDIR)/gsequencer-ags_port_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_port_selection.c' object='gsequencer-ags_port_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection.o `test -f 'src/ags/X/editor/ags_port_selection.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_port_selection.c
+
+gsequencer-ags_port_selection.obj: src/ags/X/editor/ags_port_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_port_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_port_selection.Tpo -c -o gsequencer-ags_port_selection.obj `if test -f 'src/ags/X/editor/ags_port_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_port_selection.Tpo $(DEPDIR)/gsequencer-ags_port_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_port_selection.c' object='gsequencer-ags_port_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_port_selection.obj `if test -f 'src/ags/X/editor/ags_port_selection.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_port_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_port_selection.c'; fi`
+
+gsequencer-ags_sf2_chooser_callbacks.o: src/ags/X/editor/ags_sf2_chooser_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo -c -o gsequencer-ags_sf2_chooser_callbacks.o `test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser_callbacks.c' object='gsequencer-ags_sf2_chooser_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser_callbacks.o `test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser_callbacks.c
+
+gsequencer-ags_sf2_chooser_callbacks.obj: src/ags/X/editor/ags_sf2_chooser_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo -c -o gsequencer-ags_sf2_chooser_callbacks.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser_callbacks.c' object='gsequencer-ags_sf2_chooser_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser_callbacks.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser_callbacks.c'; fi`
+
+gsequencer-ags_sf2_chooser.o: src/ags/X/editor/ags_sf2_chooser.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo -c -o gsequencer-ags_sf2_chooser.o `test -f 'src/ags/X/editor/ags_sf2_chooser.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser.c' object='gsequencer-ags_sf2_chooser.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser.o `test -f 'src/ags/X/editor/ags_sf2_chooser.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_sf2_chooser.c
+
+gsequencer-ags_sf2_chooser.obj: src/ags/X/editor/ags_sf2_chooser.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_sf2_chooser.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo -c -o gsequencer-ags_sf2_chooser.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_sf2_chooser.Tpo $(DEPDIR)/gsequencer-ags_sf2_chooser.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_sf2_chooser.c' object='gsequencer-ags_sf2_chooser.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_sf2_chooser.obj `if test -f 'src/ags/X/editor/ags_sf2_chooser.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_sf2_chooser.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_sf2_chooser.c'; fi`
+
+gsequencer-ags_soundset_callbacks.o: src/ags/X/editor/ags_soundset_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo -c -o gsequencer-ags_soundset_callbacks.o `test -f 'src/ags/X/editor/ags_soundset_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo $(DEPDIR)/gsequencer-ags_soundset_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_soundset_callbacks.c' object='gsequencer-ags_soundset_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset_callbacks.o `test -f 'src/ags/X/editor/ags_soundset_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset_callbacks.c
+
+gsequencer-ags_soundset_callbacks.obj: src/ags/X/editor/ags_soundset_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo -c -o gsequencer-ags_soundset_callbacks.obj `if test -f 'src/ags/X/editor/ags_soundset_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset_callbacks.Tpo $(DEPDIR)/gsequencer-ags_soundset_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_soundset_callbacks.c' object='gsequencer-ags_soundset_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset_callbacks.obj `if test -f 'src/ags/X/editor/ags_soundset_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset_callbacks.c'; fi`
+
+gsequencer-ags_soundset.o: src/ags/X/editor/ags_soundset.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset.Tpo -c -o gsequencer-ags_soundset.o `test -f 'src/ags/X/editor/ags_soundset.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset.Tpo $(DEPDIR)/gsequencer-ags_soundset.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_soundset.c' object='gsequencer-ags_soundset.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset.o `test -f 'src/ags/X/editor/ags_soundset.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_soundset.c
+
+gsequencer-ags_soundset.obj: src/ags/X/editor/ags_soundset.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_soundset.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_soundset.Tpo -c -o gsequencer-ags_soundset.obj `if test -f 'src/ags/X/editor/ags_soundset.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_soundset.Tpo $(DEPDIR)/gsequencer-ags_soundset.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_soundset.c' object='gsequencer-ags_soundset.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_soundset.obj `if test -f 'src/ags/X/editor/ags_soundset.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_soundset.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_soundset.c'; fi`
+
+gsequencer-ags_toolbar_callbacks.o: src/ags/X/editor/ags_toolbar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar_callbacks.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo -c -o gsequencer-ags_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_toolbar_callbacks.c' object='gsequencer-ags_toolbar_callbacks.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar_callbacks.o `test -f 'src/ags/X/editor/ags_toolbar_callbacks.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar_callbacks.c
+
+gsequencer-ags_toolbar_callbacks.obj: src/ags/X/editor/ags_toolbar_callbacks.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar_callbacks.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo -c -o gsequencer-ags_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar_callbacks.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Tpo $(DEPDIR)/gsequencer-ags_toolbar_callbacks.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_toolbar_callbacks.c' object='gsequencer-ags_toolbar_callbacks.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar_callbacks.obj `if test -f 'src/ags/X/editor/ags_toolbar_callbacks.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar_callbacks.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar_callbacks.c'; fi`
+
+gsequencer-ags_toolbar.o: src/ags/X/editor/ags_toolbar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar.Tpo -c -o gsequencer-ags_toolbar.o `test -f 'src/ags/X/editor/ags_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar.Tpo $(DEPDIR)/gsequencer-ags_toolbar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_toolbar.c' object='gsequencer-ags_toolbar.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar.o `test -f 'src/ags/X/editor/ags_toolbar.c' || echo '$(srcdir)/'`src/ags/X/editor/ags_toolbar.c
+
+gsequencer-ags_toolbar.obj: src/ags/X/editor/ags_toolbar.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toolbar.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toolbar.Tpo -c -o gsequencer-ags_toolbar.obj `if test -f 'src/ags/X/editor/ags_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toolbar.Tpo $(DEPDIR)/gsequencer-ags_toolbar.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/X/editor/ags_toolbar.c' object='gsequencer-ags_toolbar.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toolbar.obj `if test -f 'src/ags/X/editor/ags_toolbar.c'; then $(CYGPATH_W) 'src/ags/X/editor/ags_toolbar.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/X/editor/ags_toolbar.c'; fi`
+
+gsequencer-ags_add_line_member.o: src/ags/audio/task/ags_add_line_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_line_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_line_member.Tpo -c -o gsequencer-ags_add_line_member.o `test -f 'src/ags/audio/task/ags_add_line_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_line_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_line_member.Tpo $(DEPDIR)/gsequencer-ags_add_line_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_line_member.c' object='gsequencer-ags_add_line_member.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_line_member.o `test -f 'src/ags/audio/task/ags_add_line_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_line_member.c
+
+gsequencer-ags_add_line_member.obj: src/ags/audio/task/ags_add_line_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_line_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_line_member.Tpo -c -o gsequencer-ags_add_line_member.obj `if test -f 'src/ags/audio/task/ags_add_line_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_line_member.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_line_member.Tpo $(DEPDIR)/gsequencer-ags_add_line_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_line_member.c' object='gsequencer-ags_add_line_member.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_line_member.obj `if test -f 'src/ags/audio/task/ags_add_line_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_line_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_line_member.c'; fi`
+
+gsequencer-ags_add_bulk_member.o: src/ags/audio/task/ags_add_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_bulk_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo -c -o gsequencer-ags_add_bulk_member.o `test -f 'src/ags/audio/task/ags_add_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_add_bulk_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_bulk_member.c' object='gsequencer-ags_add_bulk_member.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_bulk_member.o `test -f 'src/ags/audio/task/ags_add_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_bulk_member.c
+
+gsequencer-ags_add_bulk_member.obj: src/ags/audio/task/ags_add_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_bulk_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo -c -o gsequencer-ags_add_bulk_member.obj `if test -f 'src/ags/audio/task/ags_add_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_bulk_member.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_add_bulk_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_bulk_member.c' object='gsequencer-ags_add_bulk_member.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_bulk_member.obj `if test -f 'src/ags/audio/task/ags_add_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_bulk_member.c'; fi`
+
+gsequencer-ags_update_bulk_member.o: src/ags/audio/task/ags_update_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_update_bulk_member.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo -c -o gsequencer-ags_update_bulk_member.o `test -f 'src/ags/audio/task/ags_update_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_update_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_update_bulk_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_update_bulk_member.c' object='gsequencer-ags_update_bulk_member.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_update_bulk_member.o `test -f 'src/ags/audio/task/ags_update_bulk_member.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_update_bulk_member.c
+
+gsequencer-ags_update_bulk_member.obj: src/ags/audio/task/ags_update_bulk_member.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_update_bulk_member.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo -c -o gsequencer-ags_update_bulk_member.obj `if test -f 'src/ags/audio/task/ags_update_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_update_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_update_bulk_member.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_update_bulk_member.Tpo $(DEPDIR)/gsequencer-ags_update_bulk_member.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_update_bulk_member.c' object='gsequencer-ags_update_bulk_member.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_update_bulk_member.obj `if test -f 'src/ags/audio/task/ags_update_bulk_member.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_update_bulk_member.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_update_bulk_member.c'; fi`
+
+gsequencer-ags_add_point_to_selection.o: src/ags/audio/task/ags_add_point_to_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_point_to_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo -c -o gsequencer-ags_add_point_to_selection.o `test -f 'src/ags/audio/task/ags_add_point_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_point_to_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_point_to_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_point_to_selection.c' object='gsequencer-ags_add_point_to_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_point_to_selection.o `test -f 'src/ags/audio/task/ags_add_point_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_point_to_selection.c
+
+gsequencer-ags_add_point_to_selection.obj: src/ags/audio/task/ags_add_point_to_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_point_to_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo -c -o gsequencer-ags_add_point_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_point_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_point_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_point_to_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_point_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_point_to_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_point_to_selection.c' object='gsequencer-ags_add_point_to_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_point_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_point_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_point_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_point_to_selection.c'; fi`
+
+gsequencer-ags_add_region_to_selection.o: src/ags/audio/task/ags_add_region_to_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_region_to_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo -c -o gsequencer-ags_add_region_to_selection.o `test -f 'src/ags/audio/task/ags_add_region_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_region_to_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_region_to_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_region_to_selection.c' object='gsequencer-ags_add_region_to_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_region_to_selection.o `test -f 'src/ags/audio/task/ags_add_region_to_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_add_region_to_selection.c
+
+gsequencer-ags_add_region_to_selection.obj: src/ags/audio/task/ags_add_region_to_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_add_region_to_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo -c -o gsequencer-ags_add_region_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_region_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_region_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_region_to_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_add_region_to_selection.Tpo $(DEPDIR)/gsequencer-ags_add_region_to_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_add_region_to_selection.c' object='gsequencer-ags_add_region_to_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_add_region_to_selection.obj `if test -f 'src/ags/audio/task/ags_add_region_to_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_add_region_to_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_add_region_to_selection.c'; fi`
+
+gsequencer-ags_change_indicator.o: src/ags/audio/task/ags_change_indicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_indicator.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_indicator.Tpo -c -o gsequencer-ags_change_indicator.o `test -f 'src/ags/audio/task/ags_change_indicator.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_indicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_indicator.Tpo $(DEPDIR)/gsequencer-ags_change_indicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_change_indicator.c' object='gsequencer-ags_change_indicator.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_indicator.o `test -f 'src/ags/audio/task/ags_change_indicator.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_indicator.c
+
+gsequencer-ags_change_indicator.obj: src/ags/audio/task/ags_change_indicator.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_indicator.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_indicator.Tpo -c -o gsequencer-ags_change_indicator.obj `if test -f 'src/ags/audio/task/ags_change_indicator.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_indicator.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_indicator.Tpo $(DEPDIR)/gsequencer-ags_change_indicator.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_change_indicator.c' object='gsequencer-ags_change_indicator.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_indicator.obj `if test -f 'src/ags/audio/task/ags_change_indicator.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_indicator.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_indicator.c'; fi`
+
+gsequencer-ags_change_tact.o: src/ags/audio/task/ags_change_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_tact.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_tact.Tpo -c -o gsequencer-ags_change_tact.o `test -f 'src/ags/audio/task/ags_change_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_tact.Tpo $(DEPDIR)/gsequencer-ags_change_tact.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_change_tact.c' object='gsequencer-ags_change_tact.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_tact.o `test -f 'src/ags/audio/task/ags_change_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_change_tact.c
+
+gsequencer-ags_change_tact.obj: src/ags/audio/task/ags_change_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_change_tact.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_change_tact.Tpo -c -o gsequencer-ags_change_tact.obj `if test -f 'src/ags/audio/task/ags_change_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_tact.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_change_tact.Tpo $(DEPDIR)/gsequencer-ags_change_tact.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_change_tact.c' object='gsequencer-ags_change_tact.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_change_tact.obj `if test -f 'src/ags/audio/task/ags_change_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_change_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_change_tact.c'; fi`
+
+gsequencer-ags_display_tact.o: src/ags/audio/task/ags_display_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_display_tact.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_display_tact.Tpo -c -o gsequencer-ags_display_tact.o `test -f 'src/ags/audio/task/ags_display_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_display_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_display_tact.Tpo $(DEPDIR)/gsequencer-ags_display_tact.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_display_tact.c' object='gsequencer-ags_display_tact.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_display_tact.o `test -f 'src/ags/audio/task/ags_display_tact.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_display_tact.c
+
+gsequencer-ags_display_tact.obj: src/ags/audio/task/ags_display_tact.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_display_tact.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_display_tact.Tpo -c -o gsequencer-ags_display_tact.obj `if test -f 'src/ags/audio/task/ags_display_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_display_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_display_tact.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_display_tact.Tpo $(DEPDIR)/gsequencer-ags_display_tact.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_display_tact.c' object='gsequencer-ags_display_tact.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_display_tact.obj `if test -f 'src/ags/audio/task/ags_display_tact.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_display_tact.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_display_tact.c'; fi`
+
+gsequencer-ags_free_selection.o: src/ags/audio/task/ags_free_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_free_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_free_selection.Tpo -c -o gsequencer-ags_free_selection.o `test -f 'src/ags/audio/task/ags_free_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_free_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_free_selection.Tpo $(DEPDIR)/gsequencer-ags_free_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_free_selection.c' object='gsequencer-ags_free_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_free_selection.o `test -f 'src/ags/audio/task/ags_free_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_free_selection.c
+
+gsequencer-ags_free_selection.obj: src/ags/audio/task/ags_free_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_free_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_free_selection.Tpo -c -o gsequencer-ags_free_selection.obj `if test -f 'src/ags/audio/task/ags_free_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_free_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_free_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_free_selection.Tpo $(DEPDIR)/gsequencer-ags_free_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_free_selection.c' object='gsequencer-ags_free_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_free_selection.obj `if test -f 'src/ags/audio/task/ags_free_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_free_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_free_selection.c'; fi`
+
+gsequencer-ags_remove_point_from_selection.o: src/ags/audio/task/ags_remove_point_from_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remove_point_from_selection.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo -c -o gsequencer-ags_remove_point_from_selection.o `test -f 'src/ags/audio/task/ags_remove_point_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_point_from_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_point_from_selection.c' object='gsequencer-ags_remove_point_from_selection.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remove_point_from_selection.o `test -f 'src/ags/audio/task/ags_remove_point_from_selection.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_remove_point_from_selection.c
+
+gsequencer-ags_remove_point_from_selection.obj: src/ags/audio/task/ags_remove_point_from_selection.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_remove_point_from_selection.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo -c -o gsequencer-ags_remove_point_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_point_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_point_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_point_from_selection.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Tpo $(DEPDIR)/gsequencer-ags_remove_point_from_selection.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_remove_point_from_selection.c' object='gsequencer-ags_remove_point_from_selection.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_remove_point_from_selection.obj `if test -f 'src/ags/audio/task/ags_remove_point_from_selection.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_remove_point_from_selection.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_remove_point_from_selection.c'; fi`
+
+gsequencer-ags_save_file.o: src/ags/audio/task/ags_save_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_save_file.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_save_file.Tpo -c -o gsequencer-ags_save_file.o `test -f 'src/ags/audio/task/ags_save_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_save_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_save_file.Tpo $(DEPDIR)/gsequencer-ags_save_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_save_file.c' object='gsequencer-ags_save_file.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_save_file.o `test -f 'src/ags/audio/task/ags_save_file.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_save_file.c
+
+gsequencer-ags_save_file.obj: src/ags/audio/task/ags_save_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_save_file.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_save_file.Tpo -c -o gsequencer-ags_save_file.obj `if test -f 'src/ags/audio/task/ags_save_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_save_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_save_file.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_save_file.Tpo $(DEPDIR)/gsequencer-ags_save_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_save_file.c' object='gsequencer-ags_save_file.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_save_file.obj `if test -f 'src/ags/audio/task/ags_save_file.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_save_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_save_file.c'; fi`
+
+gsequencer-ags_scroll_on_play.o: src/ags/audio/task/ags_scroll_on_play.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_scroll_on_play.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo -c -o gsequencer-ags_scroll_on_play.o `test -f 'src/ags/audio/task/ags_scroll_on_play.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_scroll_on_play.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo $(DEPDIR)/gsequencer-ags_scroll_on_play.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_scroll_on_play.c' object='gsequencer-ags_scroll_on_play.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_scroll_on_play.o `test -f 'src/ags/audio/task/ags_scroll_on_play.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_scroll_on_play.c
+
+gsequencer-ags_scroll_on_play.obj: src/ags/audio/task/ags_scroll_on_play.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_scroll_on_play.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo -c -o gsequencer-ags_scroll_on_play.obj `if test -f 'src/ags/audio/task/ags_scroll_on_play.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_scroll_on_play.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_scroll_on_play.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_scroll_on_play.Tpo $(DEPDIR)/gsequencer-ags_scroll_on_play.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_scroll_on_play.c' object='gsequencer-ags_scroll_on_play.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_scroll_on_play.obj `if test -f 'src/ags/audio/task/ags_scroll_on_play.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_scroll_on_play.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_scroll_on_play.c'; fi`
+
+gsequencer-ags_toggle_led.o: src/ags/audio/task/ags_toggle_led.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_led.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_led.Tpo -c -o gsequencer-ags_toggle_led.o `test -f 'src/ags/audio/task/ags_toggle_led.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_led.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_led.Tpo $(DEPDIR)/gsequencer-ags_toggle_led.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_toggle_led.c' object='gsequencer-ags_toggle_led.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_led.o `test -f 'src/ags/audio/task/ags_toggle_led.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_led.c
+
+gsequencer-ags_toggle_led.obj: src/ags/audio/task/ags_toggle_led.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_led.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_led.Tpo -c -o gsequencer-ags_toggle_led.obj `if test -f 'src/ags/audio/task/ags_toggle_led.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_led.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_led.Tpo $(DEPDIR)/gsequencer-ags_toggle_led.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_toggle_led.c' object='gsequencer-ags_toggle_led.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_led.obj `if test -f 'src/ags/audio/task/ags_toggle_led.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_led.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_led.c'; fi`
+
+gsequencer-ags_toggle_pattern_bit.o: src/ags/audio/task/ags_toggle_pattern_bit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_pattern_bit.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo -c -o gsequencer-ags_toggle_pattern_bit.o `test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_pattern_bit.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_toggle_pattern_bit.c' object='gsequencer-ags_toggle_pattern_bit.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_pattern_bit.o `test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c' || echo '$(srcdir)/'`src/ags/audio/task/ags_toggle_pattern_bit.c
+
+gsequencer-ags_toggle_pattern_bit.obj: src/ags/audio/task/ags_toggle_pattern_bit.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_toggle_pattern_bit.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo -c -o gsequencer-ags_toggle_pattern_bit.obj `if test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_pattern_bit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_pattern_bit.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Tpo $(DEPDIR)/gsequencer-ags_toggle_pattern_bit.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/audio/task/ags_toggle_pattern_bit.c' object='gsequencer-ags_toggle_pattern_bit.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_toggle_pattern_bit.obj `if test -f 'src/ags/audio/task/ags_toggle_pattern_bit.c'; then $(CYGPATH_W) 'src/ags/audio/task/ags_toggle_pattern_bit.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/audio/task/ags_toggle_pattern_bit.c'; fi`
+
+gsequencer-ags_file_gui.o: src/ags/file/ags_file_gui.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_gui.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_gui.Tpo -c -o gsequencer-ags_file_gui.o `test -f 'src/ags/file/ags_file_gui.c' || echo '$(srcdir)/'`src/ags/file/ags_file_gui.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_gui.Tpo $(DEPDIR)/gsequencer-ags_file_gui.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_gui.c' object='gsequencer-ags_file_gui.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_gui.o `test -f 'src/ags/file/ags_file_gui.c' || echo '$(srcdir)/'`src/ags/file/ags_file_gui.c
+
+gsequencer-ags_file_gui.obj: src/ags/file/ags_file_gui.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_gui.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_gui.Tpo -c -o gsequencer-ags_file_gui.obj `if test -f 'src/ags/file/ags_file_gui.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_gui.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_gui.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_gui.Tpo $(DEPDIR)/gsequencer-ags_file_gui.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_gui.c' object='gsequencer-ags_file_gui.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_gui.obj `if test -f 'src/ags/file/ags_file_gui.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_gui.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_gui.c'; fi`
+
+gsequencer-ags_file.o: src/ags/file/ags_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file.Tpo -c -o gsequencer-ags_file.o `test -f 'src/ags/file/ags_file.c' || echo '$(srcdir)/'`src/ags/file/ags_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file.Tpo $(DEPDIR)/gsequencer-ags_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file.c' object='gsequencer-ags_file.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file.o `test -f 'src/ags/file/ags_file.c' || echo '$(srcdir)/'`src/ags/file/ags_file.c
+
+gsequencer-ags_file.obj: src/ags/file/ags_file.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file.Tpo -c -o gsequencer-ags_file.obj `if test -f 'src/ags/file/ags_file.c'; then $(CYGPATH_W) 'src/ags/file/ags_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file.Tpo $(DEPDIR)/gsequencer-ags_file.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file.c' object='gsequencer-ags_file.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file.obj `if test -f 'src/ags/file/ags_file.c'; then $(CYGPATH_W) 'src/ags/file/ags_file.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file.c'; fi`
+
+gsequencer-ags_file_id_ref.o: src/ags/file/ags_file_id_ref.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_id_ref.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo -c -o gsequencer-ags_file_id_ref.o `test -f 'src/ags/file/ags_file_id_ref.c' || echo '$(srcdir)/'`src/ags/file/ags_file_id_ref.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo $(DEPDIR)/gsequencer-ags_file_id_ref.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_id_ref.c' object='gsequencer-ags_file_id_ref.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_id_ref.o `test -f 'src/ags/file/ags_file_id_ref.c' || echo '$(srcdir)/'`src/ags/file/ags_file_id_ref.c
+
+gsequencer-ags_file_id_ref.obj: src/ags/file/ags_file_id_ref.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_id_ref.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo -c -o gsequencer-ags_file_id_ref.obj `if test -f 'src/ags/file/ags_file_id_ref.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_id_ref.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_id_ref.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_id_ref.Tpo $(DEPDIR)/gsequencer-ags_file_id_ref.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_id_ref.c' object='gsequencer-ags_file_id_ref.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_id_ref.obj `if test -f 'src/ags/file/ags_file_id_ref.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_id_ref.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_id_ref.c'; fi`
+
+gsequencer-ags_file_launch.o: src/ags/file/ags_file_launch.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_launch.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_launch.Tpo -c -o gsequencer-ags_file_launch.o `test -f 'src/ags/file/ags_file_launch.c' || echo '$(srcdir)/'`src/ags/file/ags_file_launch.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_launch.Tpo $(DEPDIR)/gsequencer-ags_file_launch.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_launch.c' object='gsequencer-ags_file_launch.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_launch.o `test -f 'src/ags/file/ags_file_launch.c' || echo '$(srcdir)/'`src/ags/file/ags_file_launch.c
+
+gsequencer-ags_file_launch.obj: src/ags/file/ags_file_launch.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_launch.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_launch.Tpo -c -o gsequencer-ags_file_launch.obj `if test -f 'src/ags/file/ags_file_launch.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_launch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_launch.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_launch.Tpo $(DEPDIR)/gsequencer-ags_file_launch.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_launch.c' object='gsequencer-ags_file_launch.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_launch.obj `if test -f 'src/ags/file/ags_file_launch.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_launch.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_launch.c'; fi`
+
+gsequencer-ags_file_link.o: src/ags/file/ags_file_link.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_link.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_link.Tpo -c -o gsequencer-ags_file_link.o `test -f 'src/ags/file/ags_file_link.c' || echo '$(srcdir)/'`src/ags/file/ags_file_link.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_link.Tpo $(DEPDIR)/gsequencer-ags_file_link.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_link.c' object='gsequencer-ags_file_link.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_link.o `test -f 'src/ags/file/ags_file_link.c' || echo '$(srcdir)/'`src/ags/file/ags_file_link.c
+
+gsequencer-ags_file_link.obj: src/ags/file/ags_file_link.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_link.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_link.Tpo -c -o gsequencer-ags_file_link.obj `if test -f 'src/ags/file/ags_file_link.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_link.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_link.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_link.Tpo $(DEPDIR)/gsequencer-ags_file_link.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_link.c' object='gsequencer-ags_file_link.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_link.obj `if test -f 'src/ags/file/ags_file_link.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_link.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_link.c'; fi`
+
+gsequencer-ags_file_lookup.o: src/ags/file/ags_file_lookup.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_lookup.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_lookup.Tpo -c -o gsequencer-ags_file_lookup.o `test -f 'src/ags/file/ags_file_lookup.c' || echo '$(srcdir)/'`src/ags/file/ags_file_lookup.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_lookup.Tpo $(DEPDIR)/gsequencer-ags_file_lookup.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_lookup.c' object='gsequencer-ags_file_lookup.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_lookup.o `test -f 'src/ags/file/ags_file_lookup.c' || echo '$(srcdir)/'`src/ags/file/ags_file_lookup.c
+
+gsequencer-ags_file_lookup.obj: src/ags/file/ags_file_lookup.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_lookup.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_lookup.Tpo -c -o gsequencer-ags_file_lookup.obj `if test -f 'src/ags/file/ags_file_lookup.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_lookup.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_lookup.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_lookup.Tpo $(DEPDIR)/gsequencer-ags_file_lookup.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_lookup.c' object='gsequencer-ags_file_lookup.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_lookup.obj `if test -f 'src/ags/file/ags_file_lookup.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_lookup.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_lookup.c'; fi`
+
+gsequencer-ags_file_sound.o: src/ags/file/ags_file_sound.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_sound.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_sound.Tpo -c -o gsequencer-ags_file_sound.o `test -f 'src/ags/file/ags_file_sound.c' || echo '$(srcdir)/'`src/ags/file/ags_file_sound.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_sound.Tpo $(DEPDIR)/gsequencer-ags_file_sound.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_sound.c' object='gsequencer-ags_file_sound.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_sound.o `test -f 'src/ags/file/ags_file_sound.c' || echo '$(srcdir)/'`src/ags/file/ags_file_sound.c
+
+gsequencer-ags_file_sound.obj: src/ags/file/ags_file_sound.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_sound.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_sound.Tpo -c -o gsequencer-ags_file_sound.obj `if test -f 'src/ags/file/ags_file_sound.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_sound.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_sound.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_sound.Tpo $(DEPDIR)/gsequencer-ags_file_sound.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_sound.c' object='gsequencer-ags_file_sound.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_sound.obj `if test -f 'src/ags/file/ags_file_sound.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_sound.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_sound.c'; fi`
+
+gsequencer-ags_file_thread.o: src/ags/file/ags_file_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_thread.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_thread.Tpo -c -o gsequencer-ags_file_thread.o `test -f 'src/ags/file/ags_file_thread.c' || echo '$(srcdir)/'`src/ags/file/ags_file_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_thread.Tpo $(DEPDIR)/gsequencer-ags_file_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_thread.c' object='gsequencer-ags_file_thread.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_thread.o `test -f 'src/ags/file/ags_file_thread.c' || echo '$(srcdir)/'`src/ags/file/ags_file_thread.c
+
+gsequencer-ags_file_thread.obj: src/ags/file/ags_file_thread.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_thread.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_thread.Tpo -c -o gsequencer-ags_file_thread.obj `if test -f 'src/ags/file/ags_file_thread.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_thread.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_thread.Tpo $(DEPDIR)/gsequencer-ags_file_thread.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_thread.c' object='gsequencer-ags_file_thread.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_thread.obj `if test -f 'src/ags/file/ags_file_thread.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_thread.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_thread.c'; fi`
+
+gsequencer-ags_file_util.o: src/ags/file/ags_file_util.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_util.o -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_util.Tpo -c -o gsequencer-ags_file_util.o `test -f 'src/ags/file/ags_file_util.c' || echo '$(srcdir)/'`src/ags/file/ags_file_util.c
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_util.Tpo $(DEPDIR)/gsequencer-ags_file_util.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_util.c' object='gsequencer-ags_file_util.o' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_util.o `test -f 'src/ags/file/ags_file_util.c' || echo '$(srcdir)/'`src/ags/file/ags_file_util.c
+
+gsequencer-ags_file_util.obj: src/ags/file/ags_file_util.c
+ at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -MT gsequencer-ags_file_util.obj -MD -MP -MF $(DEPDIR)/gsequencer-ags_file_util.Tpo -c -o gsequencer-ags_file_util.obj `if test -f 'src/ags/file/ags_file_util.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_util.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_util.c'; fi`
+ at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gsequencer-ags_file_util.Tpo $(DEPDIR)/gsequencer-ags_file_util.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ags/file/ags_file_util.c' object='gsequencer-ags_file_util.obj' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gsequencer_CFLAGS) $(CFLAGS) -c -o gsequencer-ags_file_util.obj `if test -f 'src/ags/file/ags_file_util.c'; then $(CYGPATH_W) 'src/ags/file/ags_file_util.c'; else $(CYGPATH_W) '$(srcdir)/src/ags/file/ags_file_util.c'; fi`
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool config.lt
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(bindir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-binPROGRAMS clean-generic clean-libtool \
+ clean-noinstLIBRARIES mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-hdr distclean-libtool distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS
+
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-binPROGRAMS \
+ clean-cscope clean-generic clean-libtool clean-noinstLIBRARIES \
+ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
+ distcheck distclean distclean-compile distclean-generic \
+ distclean-hdr distclean-libtool distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-binPROGRAMS install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..039a6e7
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+Advanced Gtk+ Sequencer development tree
+===
+
+This is the development tree of ags aka gsequencer. This repository includes:
+
+* libags
+* libags-thread
+* libags-audio
+* libags-widget
+* libags-server
+* gsequencer
+
diff --git a/aclocal.m4 b/aclocal.m4
new file mode 100644
index 0000000..5d41afd
--- /dev/null
+++ b/aclocal.m4
@@ -0,0 +1,1398 @@
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+# serial 1 (pkg-config-0.24)
+#
+# Copyright © 2004 Scott James Remnant <scott at netsplit.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+# only at the first occurence in configure.ac, so if the first place
+# it's called might be skipped (such as if it is within an "if", you
+# have to call PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_default([$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ AC_MSG_RESULT([no])
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ m4_default([$4], [AC_MSG_ERROR(
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT])[]dnl
+ ])
+elif test $pkg_failed = untried; then
+ AC_MSG_RESULT([no])
+ m4_default([$4], [AC_MSG_FAILURE(
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+ ])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ $3
+fi[]dnl
+])# PKG_CHECK_MODULES
+
+
+# PKG_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable pkgconfigdir as the location where a module
+# should install pkg-config .pc files. By default the directory is
+# $libdir/pkgconfig, but the default can be changed by passing
+# DIRECTORY. The user can override through the --with-pkgconfigdir
+# parameter.
+AC_DEFUN([PKG_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([pkgconfigdir],
+ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
+ [with_pkgconfigdir=]pkg_default)
+AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_INSTALLDIR
+
+
+# PKG_NOARCH_INSTALLDIR(DIRECTORY)
+# -------------------------
+# Substitutes the variable noarch_pkgconfigdir as the location where a
+# module should install arch-independent pkg-config .pc files. By
+# default the directory is $datadir/pkgconfig, but the default can be
+# changed by passing DIRECTORY. The user can override through the
+# --with-noarch-pkgconfigdir parameter.
+AC_DEFUN([PKG_NOARCH_INSTALLDIR],
+[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([noarch-pkgconfigdir],
+ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
+ [with_noarch_pkgconfigdir=]pkg_default)
+AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+]) dnl PKG_NOARCH_INSTALLDIR
+
+
+# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
+# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -------------------------------------------
+# Retrieves the value of the pkg-config variable for the given module.
+AC_DEFUN([PKG_CHECK_VAR],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
+
+_PKG_CONFIG([$1], [variable="][$3]["], [$2])
+AS_VAR_COPY([$1], [pkg_cv_][$1])
+
+AS_VAR_IF([$1], [""], [$5], [$4])dnl
+])# PKG_CHECK_VAR
+
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.14'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.14.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each '.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake at gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# -*- Autoconf -*-
+# Obsolete and "removed" macros, that must however still report explicit
+# error messages when used, to smooth transition.
+#
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([AM_CONFIG_HEADER],
+[AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
+AC_CONFIG_HEADERS($@)])
+
+AC_DEFUN([AM_PROG_CC_STDC],
+[AC_PROG_CC
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should simply use the 'AC][_PROG_CC' macro instead.
+Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
+but upon 'ac_cv_prog_cc_stdc'.])])
+
+AC_DEFUN([AM_C_PROTOTYPES],
+ [AC_FATAL([automatic de-ANSI-fication support has been removed])])
+AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_CC_C_O
+# ---------------
+# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
+# to automatically call this.
+AC_DEFUN([_AM_PROG_CC_C_O],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+AC_LANG_PUSH([C])dnl
+AC_CACHE_CHECK(
+ [whether $CC understands -c and -o together],
+ [am_cv_prog_cc_c_o],
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i])
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+AC_LANG_POP([C])])
+
+# For backward compatibility.
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_RUN_LOG(COMMAND)
+# -------------------
+# Run COMMAND, save the exit status in ac_status, and log it.
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
+AC_DEFUN([AM_RUN_LOG],
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# ("yes" being less verbose, "no" or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+#
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([m4/libtool.m4])
+m4_include([m4/ltoptions.m4])
+m4_include([m4/ltsugar.m4])
+m4_include([m4/ltversion.m4])
+m4_include([m4/lt~obsolete.m4])
diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0
new file mode 100644
index 0000000..c0deb4b
--- /dev/null
+++ b/autom4te.cache/output.0
@@ -0,0 +1,21440 @@
+@%:@! /bin/sh
+@%:@ Guess values for system-dependent variables and create Makefiles.
+@%:@ Generated by GNU Autoconf 2.69 for gsequencer 0.4.3.
+@%:@
+@%:@ Report bugs to <weedlight at gmail.com>.
+@%:@
+@%:@
+@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+@%:@
+@%:@
+@%:@ This configure script is free software; the Free Software Foundation
+@%:@ gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in @%:@ ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+
+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in @%:@(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in @%:@ ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf at gnu.org and
+$0: weedlight at gmail.com about your system, including any
+$0: error possibly output before this message. Then install
+$0: a modern shell, or manually run the script under such a
+$0: shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+
+@%:@ as_fn_executable_p FILE
+@%:@ -----------------------
+@%:@ Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} @%:@ as_fn_executable_p
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIB@&t at OBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='gsequencer'
+PACKAGE_TARNAME='gsequencer'
+PACKAGE_VERSION='0.4.3'
+PACKAGE_STRING='gsequencer 0.4.3'
+PACKAGE_BUGREPORT='weedlight at gmail.com'
+PACKAGE_URL=''
+
+ac_unique_file="config.h.in"
+enable_option_checking=no
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIB@&t at OBJS
+GTK_LIBS
+GTK_CFLAGS
+CAIRO_LIBS
+CAIRO_CFLAGS
+GDKPIXBUF_LIBS
+GDKPIXBUF_CFLAGS
+GOBJECT_LIBS
+GOBJECT_CFLAGS
+LIBINSTPATCH_LIBS
+LIBINSTPATCH_CFLAGS
+SNDFILE_LIBS
+SNDFILE_CFLAGS
+LIBXML2_LIBS
+LIBXML2_CFLAGS
+LIBASOUND2_LIBS
+LIBASOUND2_CFLAGS
+LIBAO_LIBS
+LIBAO_CFLAGS
+UUID_LIBS
+UUID_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+XMKMF
+CXXCPP
+OTOOL64
+OTOOL
+LIPO
+NMEDIT
+DSYMUTIL
+MANIFEST_TOOL
+ac_ct_AR
+AR
+NM
+ac_ct_DUMPBIN
+DUMPBIN
+LD
+FGREP
+EGREP
+GREP
+SED
+LIBTOOL
+OBJDUMP
+DLLTOOL
+AS
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+RANLIB
+LN_S
+CPP
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+ac_ct_CC
+CFLAGS
+CC
+am__fastdepCXX_FALSE
+am__fastdepCXX_TRUE
+CXXDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CXX
+CPPFLAGS
+LDFLAGS
+CXXFLAGS
+CXX
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+subdirs
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_dependency_tracking
+enable_shared
+enable_static
+with_pic
+enable_fast_install
+with_aix_soname
+with_gnu_ld
+with_sysroot
+enable_libtool_lock
+with_x
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CXX
+CXXFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CCC
+CC
+CFLAGS
+CPP
+CXXCPP
+XMKMF
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+UUID_CFLAGS
+UUID_LIBS
+LIBAO_CFLAGS
+LIBAO_LIBS
+LIBASOUND2_CFLAGS
+LIBASOUND2_LIBS
+LIBXML2_CFLAGS
+LIBXML2_LIBS
+SNDFILE_CFLAGS
+SNDFILE_LIBS
+LIBINSTPATCH_CFLAGS
+LIBINSTPATCH_LIBS
+GOBJECT_CFLAGS
+GOBJECT_LIBS
+GDKPIXBUF_CFLAGS
+GDKPIXBUF_LIBS
+CAIRO_CFLAGS
+CAIRO_LIBS
+GTK_CFLAGS
+GTK_LIBS'
+ac_subdirs_all='.
+ po
+ doc
+ src/ags
+ src/ags/X
+ src/ags/X/editor
+ src/ags/X/machine
+ src/ags/audio
+ src/ags/audio/file
+ src/ags/audio/recall
+ src/ags/audio/task
+ src/ags/audio/task/recall
+ src/ags/file
+ src/ags/lib
+ src/ags/object
+ src/ags/plugin
+ src/ags/server
+ src/ags/thread
+ src/ags/util
+ src/ags/widget'
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures gsequencer 0.4.3 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ @<:@@S|@ac_default_prefix@:>@
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ @<:@PREFIX@:>@
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/gsequencer@:>@
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+X features:
+ --x-includes=DIR X include files are in DIR
+ --x-libraries=DIR X library files are in DIR
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of gsequencer 0.4.3:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
+ --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
+ --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
+ --enable-fast-install@<:@=PKGS@:>@
+ optimize for fast installation @<:@default=yes@:>@
+ --disable-libtool-lock avoid locking (might break parallel builds)
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
+ both@:>@
+ --with-aix-soname=aix|svr4|both
+ shared library versioning (aka "SONAME") variant to
+ provide on AIX, @<:@default=aix@:>@.
+ --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
+ --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
+ compiler's sysroot if not specified).
+ --with-x use the X Window System
+
+Some influential environment variables:
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CC C compiler command
+ CFLAGS C compiler flags
+ CPP C preprocessor
+ CXXCPP C++ preprocessor
+ XMKMF Path to xmkmf, Makefile generator for X Window System
+ PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+ UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
+ UUID_LIBS linker flags for UUID, overriding pkg-config
+ LIBAO_CFLAGS
+ C compiler flags for LIBAO, overriding pkg-config
+ LIBAO_LIBS linker flags for LIBAO, overriding pkg-config
+ LIBASOUND2_CFLAGS
+ C compiler flags for LIBASOUND2, overriding pkg-config
+ LIBASOUND2_LIBS
+ linker flags for LIBASOUND2, overriding pkg-config
+ LIBXML2_CFLAGS
+ C compiler flags for LIBXML2, overriding pkg-config
+ LIBXML2_LIBS
+ linker flags for LIBXML2, overriding pkg-config
+ SNDFILE_CFLAGS
+ C compiler flags for SNDFILE, overriding pkg-config
+ SNDFILE_LIBS
+ linker flags for SNDFILE, overriding pkg-config
+ LIBINSTPATCH_CFLAGS
+ C compiler flags for LIBINSTPATCH, overriding pkg-config
+ LIBINSTPATCH_LIBS
+ linker flags for LIBINSTPATCH, overriding pkg-config
+ GOBJECT_CFLAGS
+ C compiler flags for GOBJECT, overriding pkg-config
+ GOBJECT_LIBS
+ linker flags for GOBJECT, overriding pkg-config
+ GDKPIXBUF_CFLAGS
+ C compiler flags for GDKPIXBUF, overriding pkg-config
+ GDKPIXBUF_LIBS
+ linker flags for GDKPIXBUF, overriding pkg-config
+ CAIRO_CFLAGS
+ C compiler flags for CAIRO, overriding pkg-config
+ CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
+ GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
+ GTK_LIBS linker flags for GTK, overriding pkg-config
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <weedlight at gmail.com>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+gsequencer configure 0.4.3
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+@%:@ ac_fn_cxx_try_compile LINENO
+@%:@ ----------------------------
+@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_compile
+
+@%:@ ac_fn_c_try_compile LINENO
+@%:@ --------------------------
+@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_compile
+
+@%:@ ac_fn_c_try_cpp LINENO
+@%:@ ----------------------
+@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_cpp
+
+@%:@ ac_fn_c_try_link LINENO
+@%:@ -----------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_link
+
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+@%:@ -------------------------------------------------------
+@%:@ Tests whether HEADER exists and can be compiled using the include files in
+@%:@ INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_header_compile
+
+@%:@ ac_fn_c_try_run LINENO
+@%:@ ----------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded. Assumes
+@%:@ that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_run
+
+@%:@ ac_fn_c_check_func LINENO FUNC VAR
+@%:@ ----------------------------------
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_func
+
+@%:@ ac_fn_cxx_try_cpp LINENO
+@%:@ ------------------------
+@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_cpp
+
+@%:@ ac_fn_cxx_try_link LINENO
+@%:@ -------------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_link
+
+@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+@%:@ -------------------------------------------------------
+@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
+@%:@ the include files in INCLUDES and setting the cache variable VAR
+@%:@ accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## ---------------------------------- ##
+## Report this to weedlight at gmail.com ##
+## ---------------------------------- ##"
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_header_mongrel
+
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+@%:@ -------------------------------------------
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
+@%:@ variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_type
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in @%:@((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+
+
+subdirs="$subdirs . po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget"
+
+ac_config_files="$ac_config_files Makefile po/Makefile doc/Makefile src/ags/Makefile src/ags/X/Makefile src/ags/X/editor/Makefile src/ags/X/machine/Makefile src/ags/audio/Makefile src/ags/audio/file/Makefile src/ags/audio/recall/Makefile src/ags/audio/task/Makefile src/ags/audio/task/recall/Makefile src/ags/file/Makefile src/ags/lib/Makefile src/ags/object/Makefile src/ags/plugin/Makefile src/ags/server/Makefile src/ags/thread/Makefile src/ags/util/Makefile src/ags/widget/Makefile"
+
+
+am__api_version='1.14'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in @%:@((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+@%:@ Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+
+ PACKAGE=gsequencer
+ VERSION=0.4.3
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake at gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
+# Checks for programs.
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
+$as_echo_n "checking whether the C++ compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C++ compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
+$as_echo_n "checking for C++ compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C++ compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+@%:@ Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+
+depcc="$CXX" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
+if ${ac_cv_c_const+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this sort of thing. */
+ typedef int charset[2];
+ const charset cs = { 0, 0 };
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this sort of thing. */
+ char tx;
+ char *t = &tx;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; } bx;
+ struct s *b = &bx; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_c_const=yes
+else
+ ac_cv_c_const=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
+$as_echo "$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+$as_echo "@%:@define const /**/" >>confdefs.h
+
+fi
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
+set dummy ${ac_tool_prefix}as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AS"; then
+ ac_cv_prog_AS="$AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AS="${ac_tool_prefix}as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AS=$ac_cv_prog_AS
+if test -n "$AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
+$as_echo "$AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AS"; then
+ ac_ct_AS=$AS
+ # Extract the first word of "as", so it can be a program name with args.
+set dummy as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AS"; then
+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AS="as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
+if test -n "$ac_ct_AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
+$as_echo "$ac_ct_AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_AS" = x; then
+ AS="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AS=$ac_ct_AS
+ fi
+else
+ AS="$ac_cv_prog_AS"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+ ;;
+esac
+
+test -z "$AS" && AS=as
+
+
+
+
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+
+case `pwd` in
+ *\ * | *\ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
+esac
+
+
+
+macro_version='2.4.4'
+macro_revision='2.4.4'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO ""
+}
+
+case $ECHO in
+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
+$as_echo_n "checking for fgrep... " >&6; }
+if ${ac_cv_path_FGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
+ then ac_cv_path_FGREP="$GREP -F"
+ else
+ if test -z "$FGREP"; then
+ ac_path_FGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in fgrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_FGREP" || continue
+# Check for GNU ac_path_FGREP and select it if it is found.
+ # Check for GNU $ac_path_FGREP
+case `"$ac_path_FGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'FGREP' >> "conftest.nl"
+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_FGREP="$ac_path_FGREP"
+ ac_path_FGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_FGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_FGREP"; then
+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_FGREP=$FGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
+$as_echo "$ac_cv_path_FGREP" >&6; }
+ FGREP="$ac_cv_path_FGREP"
+
+
+test -z "$GREP" && GREP=grep
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@%:@ Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
+if ${lt_cv_path_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
+$as_echo "$lt_cv_path_NM" >&6; }
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in dumpbin "link -dump"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DUMPBIN"; then
+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DUMPBIN=$ac_cv_prog_DUMPBIN
+if test -n "$DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
+$as_echo "$DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$DUMPBIN" && break
+ done
+fi
+if test -z "$DUMPBIN"; then
+ ac_ct_DUMPBIN=$DUMPBIN
+ for ac_prog in dumpbin "link -dump"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DUMPBIN"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
+if test -n "$ac_ct_DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
+$as_echo "$ac_ct_DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_DUMPBIN" && break
+done
+
+ if test "x$ac_ct_DUMPBIN" = x; then
+ DUMPBIN=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DUMPBIN=$ac_ct_DUMPBIN
+ fi
+fi
+
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
+if ${lt_cv_nm_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: output\"" >&5)
+ cat conftest.out >&5
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
+$as_echo "$lt_cv_nm_interface" >&6; }
+
+# find the maximum length of command line arguments
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
+if ${lt_cv_sys_max_cmd_len+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+
+fi
+
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+$as_echo "none" >&6; }
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+
+
+
+
+
+: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+
+
+
+
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
+if ${lt_cv_ld_reload_flag+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test yes != "$GCC"; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test yes = "$GCC"; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
+if ${lt_cv_deplibs_check_method+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# 'unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# that responds to the $file_magic_cmd with a given extended regex.
+# If you have 'file' or equivalent on your system and you're not sure
+# whether 'pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[4-9]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[45]*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ if ( file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[3-9]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd* | bitrig*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+os2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh;
+ # decide which one to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ar_at_file=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -eq "$ac_status"; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -ne "$ac_status"; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test no = "$lt_cv_ar_at_file"; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+test -z "$STRIP" && STRIP=:
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+test -z "$RANLIB" && RANLIB=:
+
+
+
+
+
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ bitrig* | openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[BCDEGRST]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[BCDT]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[ABCDGISTW]'
+ ;;
+hpux*)
+ if test ia64 = "$host_cpu"; then
+ symcode='[ABCDEGRST]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[BCDEGRST]'
+ ;;
+osf*)
+ symcode='[BCDEGQRST]'
+ ;;
+solaris*)
+ symcode='[BDRT]'
+ ;;
+sco3.2v5*)
+ symcode='[DT]'
+ ;;
+sysv4.2uw2*)
+ symcode='[DT]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[ABDT]'
+ ;;
+sysv4)
+ symcode='[DFNSTU]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[ABCDGIRSTW]' ;;
+esac
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Gets list of data symbols to import.
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
+ # Adjust the below global symbol transforms to fixup imported variables.
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
+ lt_c_name_lib_hook="\
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
+else
+ # Disable hooks by default.
+ lt_cv_sys_global_symbol_to_import=
+ lt_cdecl_hook=
+ lt_c_name_hook=
+ lt_c_name_lib_hook=
+fi
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+$lt_cdecl_hook\
+" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
+$lt_c_name_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
+
+# Transform an extracted symbol line into symbol name with lib prefix and
+# symbol address.
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
+$lt_c_name_lib_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function,
+ # D for any global variable and I for any imported variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK '"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
+" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
+" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT@&t at _DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT@&t at _DLSYM_CONST
+#else
+# define LT@&t at _DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT@&t at _DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS=conftstm.$ac_objext
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest$ac_exeext; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&5
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+ fi
+ else
+ echo "$progname: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test yes = "$pipe_works"; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+
+fi
+
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
+$as_echo "failed" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+@%:@ Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+ withval=$with_sysroot;
+else
+ with_sysroot=no
+fi
+
+
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
+$as_echo "$with_sysroot" >&6; }
+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+ ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
+$as_echo_n "checking for a working dd... " >&6; }
+if ${ac_cv_path_lt_DD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+: ${lt_DD:=$DD}
+if test -z "$lt_DD"; then
+ ac_path_lt_DD_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in dd; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_lt_DD" || continue
+if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
+fi
+ $ac_path_lt_DD_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_lt_DD"; then
+ :
+ fi
+else
+ ac_cv_path_lt_DD=$lt_DD
+fi
+
+rm -f conftest.i conftest2.i conftest.out
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
+$as_echo "$ac_cv_path_lt_DD" >&6; }
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
+$as_echo_n "checking how to truncate binary pipes... " >&6; }
+if ${lt_cv_truncate_bin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+lt_cv_truncate_bin=
+if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
+fi
+rm -f conftest.i conftest2.i conftest.out
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
+$as_echo "$lt_cv_truncate_bin" >&6; }
+
+
+
+
+
+
+@%:@ Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then :
+ enableval=$enable_libtool_lock;
+fi
+
+test no = "$enable_libtool_lock" || enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out what ABI is being produced by ac_compile, and set mode
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE=32
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE=64
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly. Note that the listed cases only cover the
+ # situations where additional linker options are needed (such as when
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
+ # vice versa); the common cases where no linker options are needed do
+ # not appear in the list.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -belf"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
+if ${lt_cv_cc_needs_belf+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_cc_needs_belf=yes
+else
+ lt_cv_cc_needs_belf=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
+ if test yes != "$lt_cv_cc_needs_belf"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS=$SAVE_CFLAGS
+ fi
+ ;;
+*-*solaris*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*|x86_64-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD=${LD-ld}_sol2
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks=$enable_libtool_lock
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$MANIFEST_TOOL"; then
+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+ # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_MANIFEST_TOOL"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
+ MANIFEST_TOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+ fi
+else
+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&5
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test yes != "$lt_cv_path_mainfest_tool"; then
+ MANIFEST_TOOL=:
+fi
+
+
+
+
+
+
+ case $host_os in
+ rhapsody* | darwin*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DSYMUTIL"; then
+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
+if test -n "$DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
+$as_echo "$DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DSYMUTIL"; then
+ ac_ct_DSYMUTIL=$DSYMUTIL
+ # Extract the first word of "dsymutil", so it can be a program name with args.
+set dummy dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DSYMUTIL"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
+if test -n "$ac_ct_DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DSYMUTIL" = x; then
+ DSYMUTIL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DSYMUTIL=$ac_ct_DSYMUTIL
+ fi
+else
+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NMEDIT"; then
+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+NMEDIT=$ac_cv_prog_NMEDIT
+if test -n "$NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
+$as_echo "$NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_NMEDIT"; then
+ ac_ct_NMEDIT=$NMEDIT
+ # Extract the first word of "nmedit", so it can be a program name with args.
+set dummy nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_NMEDIT"; then
+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
+if test -n "$ac_ct_NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
+$as_echo "$ac_ct_NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_NMEDIT" = x; then
+ NMEDIT=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ NMEDIT=$ac_ct_NMEDIT
+ fi
+else
+ NMEDIT="$ac_cv_prog_NMEDIT"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LIPO"; then
+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LIPO=$ac_cv_prog_LIPO
+if test -n "$LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
+$as_echo "$LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_LIPO"; then
+ ac_ct_LIPO=$LIPO
+ # Extract the first word of "lipo", so it can be a program name with args.
+set dummy lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_LIPO"; then
+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_LIPO="lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
+if test -n "$ac_ct_LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
+$as_echo "$ac_ct_LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_LIPO" = x; then
+ LIPO=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ LIPO=$ac_ct_LIPO
+ fi
+else
+ LIPO="$ac_cv_prog_LIPO"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL"; then
+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL=$ac_cv_prog_OTOOL
+if test -n "$OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
+$as_echo "$OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL"; then
+ ac_ct_OTOOL=$OTOOL
+ # Extract the first word of "otool", so it can be a program name with args.
+set dummy otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL"; then
+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL="otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
+if test -n "$ac_ct_OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
+$as_echo "$ac_ct_OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL" = x; then
+ OTOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL=$ac_ct_OTOOL
+ fi
+else
+ OTOOL="$ac_cv_prog_OTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL64"; then
+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL64=$ac_cv_prog_OTOOL64
+if test -n "$OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
+$as_echo "$OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL64"; then
+ ac_ct_OTOOL64=$OTOOL64
+ # Extract the first word of "otool64", so it can be a program name with args.
+set dummy otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL64"; then
+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL64="otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
+if test -n "$ac_ct_OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
+$as_echo "$ac_ct_OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL64" = x; then
+ OTOOL64=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL64=$ac_ct_OTOOL64
+ fi
+else
+ OTOOL64="$ac_cv_prog_OTOOL64"
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
+$as_echo_n "checking for -single_module linker flag... " >&6; }
+if ${lt_cv_apple_cc_single_mod+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_apple_cc_single_mod=no
+ if test -z "$LT_MULTI_MODULE"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&5
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_ld_exported_symbols_list=yes
+else
+ lt_cv_ld_exported_symbols_list=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
+ echo "$RANLIB libconftest.a" >&5
+ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&5
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
+ case $host_os in
+ rhapsody* | darwin1.[012])
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ 10.[012][,.]*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
+ fi
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in dlfcn.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
+"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_DLFCN_H 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+func_stripname_cnf ()
+{
+ case @S|@2 in
+ .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
+ *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
+ esac
+} # func_stripname_cnf
+
+
+
+
+
+# Set options
+
+
+
+ enable_dlopen=no
+
+
+
+ @%:@ Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then :
+ enableval=$enable_shared; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_shared=yes
+fi
+
+
+
+
+
+
+
+
+
+ @%:@ Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_static=yes
+fi
+
+
+
+
+
+
+
+
+
+
+@%:@ Check whether --with-pic was given.
+if test "${with_pic+set}" = set; then :
+ withval=$with_pic; lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for lt_pkg in $withval; do
+ IFS=$lt_save_ifs
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ pic_mode=default
+fi
+
+
+
+
+
+
+
+
+ @%:@ Check whether --enable-fast-install was given.
+if test "${enable_fast_install+set}" = set; then :
+ enableval=$enable_fast_install; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_fast_install=yes
+fi
+
+
+
+
+
+
+
+
+ shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[5-9]*,yes)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
+$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
+
+@%:@ Check whether --with-aix-soname was given.
+if test "${with_aix_soname+set}" = set; then :
+ withval=$with_aix_soname; case $withval in
+ aix|svr4|both)
+ ;;
+ *)
+ as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
+ ;;
+ esac
+ lt_cv_with_aix_soname=$with_aix_soname
+else
+ if ${lt_cv_with_aix_soname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_with_aix_soname=aix
+fi
+
+ with_aix_soname=$lt_cv_with_aix_soname
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
+$as_echo "$with_aix_soname" >&6; }
+ if test aix != "$with_aix_soname"; then
+ # For the AIX way of multilib, we name the shared archive member
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
+ if test 64 = "${OBJECT_MODE-32}"; then
+ shared_archive_member_spec=shr_64
+ else
+ shared_archive_member_spec=shr
+ fi
+ fi
+ ;;
+*)
+ with_aix_soname=aix
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+test -z "$LN_S" && LN_S="ln -s"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+$as_echo_n "checking for objdir... " >&6; }
+if ${lt_cv_objdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
+$as_echo "$lt_cv_objdir" >&6; }
+objdir=$lt_cv_objdir
+
+
+
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define LT_OBJDIR "$lt_cv_objdir/"
+_ACEOF
+
+
+
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+old_CC=$CC
+old_CFLAGS=$CFLAGS
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/${ac_tool_prefix}file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+
+
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
+$as_echo_n "checking for file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ else
+ MAGIC_CMD=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+
+lt_save_CC=$CC
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+objext=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+
+lt_prog_compiler_no_builtin_flag=
+
+if test yes = "$GCC"; then
+ case $cc_basename in
+ nvcc*)
+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+ *)
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+
+
+
+
+
+ lt_prog_compiler_wl=
+lt_prog_compiler_pic=
+lt_prog_compiler_static=
+
+
+ if test yes = "$GCC"; then
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_static='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ lt_prog_compiler_wl='-Xlinker '
+ if test -n "$lt_prog_compiler_pic"; then
+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl='-Wl,'
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ else
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ case $cc_basename in
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static='$wl-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ # old Intel for x86_64, which still supported -KPIC.
+ ecc*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-qpic'
+ lt_prog_compiler_static='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Wl,'
+ ;;
+ *Intel*\ [CF]*Compiler*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ *Portland\ Group*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ rdos*)
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl='-Qoption ld '
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic='-Kconform_pic'
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ unicos*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_can_build_shared=no
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic='-pic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic=
+ ;;
+ *)
+ lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works"; then
+ case $lt_prog_compiler_pic in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
+ esac
+else
+ lt_prog_compiler_pic=
+ lt_prog_compiler_can_build_shared=no
+fi
+
+fi
+
+
+
+
+
+
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works"; then
+ :
+else
+ lt_prog_compiler_static=
+fi
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ runpath_var=
+ allow_undefined_flag=
+ always_export_symbols=no
+ archive_cmds=
+ archive_expsym_cmds=
+ compiler_needs_object=no
+ enable_shared_with_static_runtimes=no
+ export_dynamic_flag_spec=
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ hardcode_automatic=no
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_separator=
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=unsupported
+ inherit_rpath=no
+ link_all_deplibs=unknown
+ module_cmds=
+ module_expsym_cmds=
+ old_archive_from_new_cmds=
+ old_archive_from_expsyms_cmds=
+ thread_safe_flag_spec=
+ whole_archive_flag_spec=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
+ # as well as any symbol that contains 'd'.
+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test yes != "$GCC"; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd* | bitrig*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test yes = "$with_gnu_ld"; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+ *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test yes = "$lt_use_gnu_ld_interface"; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='$wl'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec='$wl--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[3-9]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test ia64 != "$host_cpu"; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ export_dynamic_flag_spec='$wl--export-all-symbols'
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ haiku*)
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs=yes
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test linux-dietlibc = "$host_os"; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test no = "$tmp_diet"
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ whole_archive_flag_spec=
+ tmp_sharedflag='--shared' ;;
+ nagfor*) # NAGFOR 5.3
+ tmp_sharedflag='-Wl,-shared' ;;
+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ tcc*)
+ export_dynamic_flag_spec='-rdynamic'
+ ;;
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+
+ if test no = "$ld_shlibs"; then
+ runpath_var=
+ hardcode_libdir_flag_spec=
+ export_dynamic_flag_spec=
+ whole_archive_flag_spec=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds=''
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ file_list_spec='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # traditional, no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ ;;
+ esac
+
+ if test yes = "$GCC"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag="$shared_flag "'$wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ always_export_symbols=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag=' $wl-bernotok'
+ allow_undefined_flag=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec='$convenience'
+ fi
+ archive_cmds_need_lc=yes
+ archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared libraries.
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[45]*)
+ export_dynamic_flag_spec=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ file_list_spec='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+ enable_shared_with_static_runtimes=yes
+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ old_postinstall_cmds='chmod 644 $oldlib'
+ postlink_cmds='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_from_new_cmds='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ enable_shared_with_static_runtimes=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc=no
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec=''
+ fi
+ link_all_deplibs=yes
+ allow_undefined_flag=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+
+ else
+ ld_shlibs=no
+ fi
+
+ ;;
+
+ dgux*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ hpux9*)
+ if test yes = "$GCC"; then
+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ export_dynamic_flag_spec='$wl-E'
+ ;;
+
+ hpux10*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler__b=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -b"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler__b=yes
+ fi
+ else
+ lt_cv_prog_compiler__b=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test yes = "$lt_cv_prog_compiler__b"; then
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
+ ;;
+ esac
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ ;;
+ *)
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo (void) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_irix_exported_symbol=yes
+else
+ lt_cv_irix_exported_symbol=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+ if test yes = "$lt_cv_irix_exported_symbol"; then
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
+ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ inherit_rpath=yes
+ link_all_deplibs=yes
+ ;;
+
+ linux*)
+ case $cc_basename in
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ ld_shlibs=yes
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ newsos6)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_shlibpath_var=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ hardcode_direct_absolute=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ else
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ osf3*)
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_separator=:
+ ;;
+
+ solaris*)
+ no_undefined_flag=' -z defs'
+ if test yes = "$GCC"; then
+ wlarc='$wl'
+ archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='$wl'
+ archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_shlibpath_var=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test yes = "$GCC"; then
+ whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ else
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ link_all_deplibs=yes
+ ;;
+
+ sunos4*)
+ if test sequent = "$host_vendor"; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds='$CC -r -o $output$reload_objs'
+ hardcode_direct=no
+ ;;
+ motorola)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag='$wl-z,text'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag='$wl-z,text'
+ allow_undefined_flag='$wl-z,nodefs'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-R,$libdir'
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ export_dynamic_flag_spec='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+
+ if test sni = "$host_vendor"; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ export_dynamic_flag_spec='$wl-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
+$as_echo "$ld_shlibs" >&6; }
+test no = "$ld_shlibs" && can_build_shared=no
+
+with_gnu_ld=$with_gnu_ld
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ pic_flag=$lt_prog_compiler_pic
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc=no
+ else
+ lt_cv_archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+if test yes = "$GCC"; then
+ case $host_os in
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
+ *) lt_awk_arg='/^libraries:/' ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary...
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ # ...but if some path component already ends with the multilib dir we assume
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
+ lt_multi_os_dir=
+ ;;
+ esac
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
+ elif test -n "$lt_multi_os_dir"; then
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS = " "; FS = "/|\n";} {
+ lt_foo = "";
+ lt_count = 0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo = "/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[lt_foo]++; }
+ if (lt_freq[lt_foo] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" ||
+ test -n "$runpath_var" ||
+ test yes = "$hardcode_automatic"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
+ test no != "$hardcode_minus_L"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
+$as_echo "$hardcode_action" >&6; }
+
+if test relink = "$hardcode_action" ||
+ test yes = "$inherit_rpath"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+ if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
+if test "x$ac_cv_func_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if ${ac_cv_lib_dld_shl_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_shl_load=yes
+else
+ ac_cv_lib_dld_shl_load=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
+else
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if ${ac_cv_lib_svld_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_svld_dlopen=yes
+else
+ ac_cv_lib_svld_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if ${ac_cv_lib_dld_dld_link+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_dld_link=yes
+else
+ ac_cv_lib_dld_dld_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+ lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
+$as_echo "$lt_cv_dlopen_self" >&6; }
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self_static+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+striplib=
+old_striplib=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+ # Report what library types will actually be built
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
+$as_echo "$can_build_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+$as_echo_n "checking whether to build shared libraries... " >&6; }
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
+$as_echo "$enable_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
+$as_echo_n "checking whether to build static libraries... " >&6; }
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
+$as_echo "$enable_static" >&6; }
+
+
+
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC=$lt_save_CC
+
+ if test -n "$CXX" && ( test no != "$CXX" &&
+ ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
+ (test g++ != "$CXX"))); then
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
+if test -z "$CXXCPP"; then
+ if ${ac_cv_prog_CXXCPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CXXCPP needs to be expanded
+ for CXXCPP in "$CXX -E" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CXXCPP=$CXXCPP
+
+fi
+ CXXCPP=$ac_cv_prog_CXXCPP
+else
+ ac_cv_prog_CXXCPP=$CXXCPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
+$as_echo "$CXXCPP" >&6; }
+ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+else
+ _lt_caught_CXX_error=yes
+fi
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+archive_cmds_need_lc_CXX=no
+allow_undefined_flag_CXX=
+always_export_symbols_CXX=no
+archive_expsym_cmds_CXX=
+compiler_needs_object_CXX=no
+export_dynamic_flag_spec_CXX=
+hardcode_direct_CXX=no
+hardcode_direct_absolute_CXX=no
+hardcode_libdir_flag_spec_CXX=
+hardcode_libdir_separator_CXX=
+hardcode_minus_L_CXX=no
+hardcode_shlibpath_var_CXX=unsupported
+hardcode_automatic_CXX=no
+inherit_rpath_CXX=no
+module_cmds_CXX=
+module_expsym_cmds_CXX=
+link_all_deplibs_CXX=unknown
+old_archive_cmds_CXX=$old_archive_cmds
+reload_flag_CXX=$reload_flag
+reload_cmds_CXX=$reload_cmds
+no_undefined_flag_CXX=
+whole_archive_flag_spec_CXX=
+enable_shared_with_static_runtimes_CXX=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+objext_CXX=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_caught_CXX_error"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+ # save warnings/boilerplate of simple test code
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ compiler_CXX=$CC
+ for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test yes = "$GXX"; then
+ lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
+ else
+ lt_prog_compiler_no_builtin_flag_CXX=
+ fi
+
+ if test yes = "$GXX"; then
+ # Set up default GNU C++ configuration
+
+
+
+@%:@ Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test yes = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='$wl'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec_CXX=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+ ld_shlibs_CXX=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_CXX=''
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ file_list_spec_CXX='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct_CXX=no
+ hardcode_direct_absolute_CXX=no
+ ;;
+ esac
+
+ if test yes = "$GXX"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct_CXX=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_CXX=yes
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_libdir_separator_CXX=
+ fi
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag=$shared_flag' $wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec_CXX='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ always_export_symbols_CXX=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ # The "-G" linker flag allows undefined symbols.
+ no_undefined_flag_CXX='-bernotok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+
+ archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_CXX="-z nodefs"
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_CXX=' $wl-bernotok'
+ allow_undefined_flag_CXX=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_CXX='$convenience'
+ fi
+ archive_cmds_need_lc_CXX=yes
+ archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared
+ # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag_CXX=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX=' '
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=yes
+ file_list_spec_CXX='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
+ enable_shared_with_static_runtimes_CXX=yes
+ # Don't use ranlib
+ old_postinstall_cmds_CXX='chmod 644 $oldlib'
+ postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=no
+ enable_shared_with_static_runtimes_CXX=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc_CXX=no
+ hardcode_direct_CXX=no
+ hardcode_automatic_CXX=yes
+ hardcode_shlibpath_var_CXX=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec_CXX=''
+ fi
+ link_all_deplibs_CXX=yes
+ allow_undefined_flag_CXX=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+ if test yes != "$lt_cv_apple_cc_single_mod"; then
+ archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+ fi
+
+ else
+ ld_shlibs_CXX=no
+ fi
+
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_minus_L_CXX=yes
+ allow_undefined_flag_CXX=unsupported
+ shrext_cmds=.dll
+ archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes_CXX=yes
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ ld_shlibs_CXX=no
+ ;;
+
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+ ;;
+
+ haiku*)
+ archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs_CXX=yes
+ ;;
+
+ hpux9*)
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ export_dynamic_flag_spec_CXX='$wl-E'
+ hardcode_direct_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ export_dynamic_flag_spec_CXX='$wl-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ ;;
+ *)
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+ ;;
+ esac
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ inherit_rpath_CXX=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ archive_cmds_need_lc_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
+ prelink_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ old_archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object_CXX=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ ld_shlibs_CXX=yes
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ hardcode_direct_absolute_CXX=yes
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ ;;
+ *)
+ allow_undefined_flag_CXX=' -expect_unresolved \*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
+ $RM $lib.exp'
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ ;;
+ esac
+
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ case $host in
+ osf3*)
+ archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ archive_cmds_need_lc_CXX=yes
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_shlibpath_var_CXX=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ link_all_deplibs_CXX=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ no_undefined_flag_CXX=' $wl-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require '-G' NOT '-shared' on this
+ # platform.
+ archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag_CXX='$wl-z,text'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag_CXX='$wl-z,text'
+ allow_undefined_flag_CXX='$wl-z,nodefs'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ export_dynamic_flag_spec_CXX='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
+ '"$old_archive_cmds_CXX"
+ reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
+ '"$reload_cmds_CXX"
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+ test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+ GCC_CXX=$GXX
+ LD_CXX=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ # Dependencies to place before and after the object being linked:
+predep_objects_CXX=
+postdep_objects_CXX=
+predeps_CXX=
+postdeps_CXX=
+compiler_lib_search_path_CXX=
+
+cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test x-L = "$p" ||
+ test x-R = "$p"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test no = "$pre_test_object_deps_done"; then
+ case $prev in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$compiler_lib_search_path_CXX"; then
+ compiler_lib_search_path_CXX=$prev$p
+ else
+ compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$postdeps_CXX"; then
+ postdeps_CXX=$prev$p
+ else
+ postdeps_CXX="${postdeps_CXX} $prev$p"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test no = "$pre_test_object_deps_done"; then
+ if test -z "$predep_objects_CXX"; then
+ predep_objects_CXX=$p
+ else
+ predep_objects_CXX="$predep_objects_CXX $p"
+ fi
+ else
+ if test -z "$postdep_objects_CXX"; then
+ postdep_objects_CXX=$p
+ else
+ postdep_objects_CXX="$postdep_objects_CXX $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling CXX test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+case $host_os in
+interix[3-9]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ predep_objects_CXX=
+ postdep_objects_CXX=
+ postdeps_CXX=
+ ;;
+
+linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ # Adding this requires a known-good setup of shared libraries for
+ # Sun compiler versions before 5.6, else PIC objects from an old
+ # archive will be linked into the output, leading to subtle bugs.
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+esac
+
+
+case " $postdeps_CXX " in
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
+esac
+ compiler_lib_search_dirs_CXX=
+if test -n "${compiler_lib_search_path_CXX}"; then
+ compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ lt_prog_compiler_wl_CXX=
+lt_prog_compiler_pic_CXX=
+lt_prog_compiler_static_CXX=
+
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test yes = "$GXX"; then
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ fi
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static_CXX='$wl-static'
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_CXX='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ lt_prog_compiler_pic_CXX=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static_CXX=
+ ;;
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_CXX=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[4-9]*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ else
+ lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ if test ia64 != "$host_cpu"; then
+ lt_prog_compiler_pic_CXX='+Z'
+ fi
+ ;;
+ aCC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64, which still supported -KPIC.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fpic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-qpic'
+ lt_prog_compiler_static_CXX='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ lt_prog_compiler_pic_CXX='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ lt_prog_compiler_wl_CXX='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ lt_prog_compiler_pic_CXX='-pic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ lt_prog_compiler_can_build_shared_CXX=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_CXX=
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
+lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works_CXX=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works_CXX=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
+ case $lt_prog_compiler_pic_CXX in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
+ esac
+else
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_can_build_shared_CXX=no
+fi
+
+fi
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works_CXX=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
+ :
+else
+ lt_prog_compiler_static_CXX=
+fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ case $host_os in
+ aix[4-9]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX=$ltdll_cmds
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+ ;;
+ esac
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+with_gnu_ld_CXX=$with_gnu_ld
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_CXX" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_CXX=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds_CXX in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_CXX
+ pic_flag=$lt_prog_compiler_pic_CXX
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+ allow_undefined_flag_CXX=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc_CXX=no
+ else
+ lt_cv_archive_cmds_need_lc_CXX=yes
+ fi
+ allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
+ archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action_CXX=
+if test -n "$hardcode_libdir_flag_spec_CXX" ||
+ test -n "$runpath_var_CXX" ||
+ test yes = "$hardcode_automatic_CXX"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct_CXX" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
+ test no != "$hardcode_minus_L_CXX"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_CXX=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_CXX=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_CXX=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
+$as_echo "$hardcode_action_CXX" >&6; }
+
+if test relink = "$hardcode_action_CXX" ||
+ test yes = "$inherit_rpath_CXX"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test yes != "$_lt_caught_CXX_error"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
+
+
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-lgmp':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
+$as_echo_n "checking for main in -lgmp... " >&6; }
+if ${ac_cv_lib_gmp_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lgmp $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_gmp_main=yes
+else
+ ac_cv_lib_gmp_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
+$as_echo "$ac_cv_lib_gmp_main" >&6; }
+if test "x$ac_cv_lib_gmp_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBGMP 1
+_ACEOF
+
+ LIBS="-lgmp $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lm':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
+$as_echo_n "checking for main in -lm... " >&6; }
+if ${ac_cv_lib_m_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_main=yes
+else
+ ac_cv_lib_m_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
+$as_echo "$ac_cv_lib_m_main" >&6; }
+if test "x$ac_cv_lib_m_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBM 1
+_ACEOF
+
+ LIBS="-lm $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lrt':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
+$as_echo_n "checking for main in -lrt... " >&6; }
+if ${ac_cv_lib_rt_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lrt $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_rt_main=yes
+else
+ ac_cv_lib_rt_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
+$as_echo "$ac_cv_lib_rt_main" >&6; }
+if test "x$ac_cv_lib_rt_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBRT 1
+_ACEOF
+
+ LIBS="-lrt $LIBS"
+
+fi
+
+
+# Checks for header files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
+$as_echo_n "checking for X... " >&6; }
+
+
+@%:@ Check whether --with-x was given.
+if test "${with_x+set}" = set; then :
+ withval=$with_x;
+fi
+
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+if test "x$with_x" = xno; then
+ # The user explicitly disabled X.
+ have_x=disabled
+else
+ case $x_includes,$x_libraries in #(
+ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
+ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # One or both of the vars are not set, and there is no cached value.
+ac_x_includes=no ac_x_libraries=no
+rm -f -r conftest.dir
+if mkdir conftest.dir; then
+ cd conftest.dir
+ cat >Imakefile <<'_ACEOF'
+incroot:
+ @echo incroot='${INCROOT}'
+usrlibdir:
+ @echo usrlibdir='${USRLIBDIR}'
+libdir:
+ @echo libdir='${LIBDIR}'
+_ACEOF
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
+ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+ for ac_var in incroot usrlibdir libdir; do
+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
+ done
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
+ for ac_extension in a so sl dylib la dll; do
+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
+ test -f "$ac_im_libdir/libX11.$ac_extension"; then
+ ac_im_usrlibdir=$ac_im_libdir; break
+ fi
+ done
+ # Screen out bogus values from the imake configuration. They are
+ # bogus both because they are the default anyway, and because
+ # using them would break gcc on systems where it needs fixed includes.
+ case $ac_im_incroot in
+ /usr/include) ac_x_includes= ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
+ esac
+ case $ac_im_usrlibdir in
+ /usr/lib | /usr/lib64 | /lib | /lib64) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
+ esac
+ fi
+ cd ..
+ rm -f -r conftest.dir
+fi
+
+# Standard set of common directories for X headers.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ac_x_header_dirs='
+/usr/X11/include
+/usr/X11R7/include
+/usr/X11R6/include
+/usr/X11R5/include
+/usr/X11R4/include
+
+/usr/include/X11
+/usr/include/X11R7
+/usr/include/X11R6
+/usr/include/X11R5
+/usr/include/X11R4
+
+/usr/local/X11/include
+/usr/local/X11R7/include
+/usr/local/X11R6/include
+/usr/local/X11R5/include
+/usr/local/X11R4/include
+
+/usr/local/include/X11
+/usr/local/include/X11R7
+/usr/local/include/X11R6
+/usr/local/include/X11R5
+/usr/local/include/X11R4
+
+/usr/X386/include
+/usr/x386/include
+/usr/XFree86/include/X11
+
+/usr/include
+/usr/local/include
+/usr/unsupported/include
+/usr/athena/include
+/usr/local/x11r5/include
+/usr/lpp/Xamples/include
+
+/usr/openwin/include
+/usr/openwin/share/include'
+
+if test "$ac_x_includes" = no; then
+ # Guess where to find include files, by looking for Xlib.h.
+ # First, try using that file with no special directory specified.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <X11/Xlib.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # We can compile using X headers with no special include directory.
+ac_x_includes=
+else
+ for ac_dir in $ac_x_header_dirs; do
+ if test -r "$ac_dir/X11/Xlib.h"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+done
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+fi # $ac_x_includes = no
+
+if test "$ac_x_libraries" = no; then
+ # Check for the libraries.
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS=$LIBS
+ LIBS="-lX11 $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <X11/Xlib.h>
+int
+main ()
+{
+XrmInitialize ()
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ LIBS=$ac_save_LIBS
+# We can link X programs with no special library path.
+ac_x_libraries=
+else
+ LIBS=$ac_save_LIBS
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+do
+ # Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl dylib la dll; do
+ if test -r "$ac_dir/libX11.$ac_extension"; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi # $ac_x_libraries = no
+
+case $ac_x_includes,$ac_x_libraries in #(
+ no,* | *,no | *\'*)
+ # Didn't find X, or a directory has "'" in its name.
+ ac_cv_have_x="have_x=no";; #(
+ *)
+ # Record where we found X for the cache.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$ac_x_includes'\
+ ac_x_libraries='$ac_x_libraries'"
+esac
+fi
+;; #(
+ *) have_x=yes;;
+ esac
+ eval "$ac_cv_have_x"
+fi # $with_x != no
+
+if test "$have_x" != yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
+$as_echo "$have_x" >&6; }
+ no_x=yes
+else
+ # If each of the values was on the command line, it overrides each guess.
+ test "x$x_includes" = xNONE && x_includes=$ac_x_includes
+ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
+ # Update the cache value to reflect the command line values.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$x_includes'\
+ ac_x_libraries='$x_libraries'"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
+fi
+
+for ac_header in fcntl.h libintl.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+# Checks for typedefs, structures, and compiler characteristics.
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
+if test "x$ac_cv_type_pid_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+@%:@define pid_t int
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
+if test "x$ac_cv_type_size_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+@%:@define size_t unsigned int
+_ACEOF
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
+if ${ac_cv_type_uid_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "uid_t" >/dev/null 2>&1; then :
+ ac_cv_type_uid_t=yes
+else
+ ac_cv_type_uid_t=no
+fi
+rm -f conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
+$as_echo "$ac_cv_type_uid_t" >&6; }
+if test $ac_cv_type_uid_t = no; then
+
+$as_echo "@%:@define uid_t int" >>confdefs.h
+
+
+$as_echo "@%:@define gid_t int" >>confdefs.h
+
+fi
+
+
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.9.0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
+$as_echo_n "checking for UUID... " >&6; }
+
+if test -n "$UUID_CFLAGS"; then
+ pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$UUID_LIBS"; then
+ pkg_cv_UUID_LIBS="$UUID_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ else
+ UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$UUID_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (uuid >= 1.0.2) were not met:
+
+$UUID_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
+ UUID_LIBS=$pkg_cv_UUID_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAO" >&5
+$as_echo_n "checking for LIBAO... " >&6; }
+
+if test -n "$LIBAO_CFLAGS"; then
+ pkg_cv_LIBAO_CFLAGS="$LIBAO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_CFLAGS=`$PKG_CONFIG --cflags "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBAO_LIBS"; then
+ pkg_cv_LIBAO_LIBS="$LIBAO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_LIBS=`$PKG_CONFIG --libs "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ else
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBAO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (ao >= 1.1.0) were not met:
+
+$LIBAO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBAO_CFLAGS=$pkg_cv_LIBAO_CFLAGS
+ LIBAO_LIBS=$pkg_cv_LIBAO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBASOUND2" >&5
+$as_echo_n "checking for LIBASOUND2... " >&6; }
+
+if test -n "$LIBASOUND2_CFLAGS"; then
+ pkg_cv_LIBASOUND2_CFLAGS="$LIBASOUND2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBASOUND2_LIBS"; then
+ pkg_cv_LIBASOUND2_LIBS="$LIBASOUND2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ else
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBASOUND2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (alsa >= 1.0.25) were not met:
+
+$LIBASOUND2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBASOUND2_CFLAGS=$pkg_cv_LIBASOUND2_CFLAGS
+ LIBASOUND2_LIBS=$pkg_cv_LIBASOUND2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
+$as_echo_n "checking for LIBXML2... " >&6; }
+
+if test -n "$LIBXML2_CFLAGS"; then
+ pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBXML2_LIBS"; then
+ pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ else
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBXML2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libxml-2.0 >= 2.8.0) were not met:
+
+$LIBXML2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
+ LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
+$as_echo_n "checking for SNDFILE... " >&6; }
+
+if test -n "$SNDFILE_CFLAGS"; then
+ pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$SNDFILE_LIBS"; then
+ pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ else
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$SNDFILE_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (sndfile >= 1.0.25) were not met:
+
+$SNDFILE_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
+ SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBINSTPATCH" >&5
+$as_echo_n "checking for LIBINSTPATCH... " >&6; }
+
+if test -n "$LIBINSTPATCH_CFLAGS"; then
+ pkg_cv_LIBINSTPATCH_CFLAGS="$LIBINSTPATCH_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBINSTPATCH_LIBS"; then
+ pkg_cv_LIBINSTPATCH_LIBS="$LIBINSTPATCH_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_LIBS=`$PKG_CONFIG --libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ else
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBINSTPATCH_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libinstpatch-1.0 >= 1.0) were not met:
+
+$LIBINSTPATCH_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBINSTPATCH_CFLAGS=$pkg_cv_LIBINSTPATCH_CFLAGS
+ LIBINSTPATCH_LIBS=$pkg_cv_LIBINSTPATCH_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
+$as_echo_n "checking for GOBJECT... " >&6; }
+
+if test -n "$GOBJECT_CFLAGS"; then
+ pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GOBJECT_LIBS"; then
+ pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ else
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GOBJECT_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3) were not met:
+
+$GOBJECT_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
+ GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDKPIXBUF" >&5
+$as_echo_n "checking for GDKPIXBUF... " >&6; }
+
+if test -n "$GDKPIXBUF_CFLAGS"; then
+ pkg_cv_GDKPIXBUF_CFLAGS="$GDKPIXBUF_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GDKPIXBUF_LIBS"; then
+ pkg_cv_GDKPIXBUF_LIBS="$GDKPIXBUF_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ else
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GDKPIXBUF_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gdk-pixbuf-2.0 >= 2.26.1) were not met:
+
+$GDKPIXBUF_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GDKPIXBUF_CFLAGS=$pkg_cv_GDKPIXBUF_CFLAGS
+ GDKPIXBUF_LIBS=$pkg_cv_GDKPIXBUF_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
+$as_echo_n "checking for CAIRO... " >&6; }
+
+if test -n "$CAIRO_CFLAGS"; then
+ pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$CAIRO_LIBS"; then
+ pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ else
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$CAIRO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (cairo >= 1.12.0) were not met:
+
+$CAIRO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
+ CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
+$as_echo_n "checking for GTK... " >&6; }
+
+if test -n "$GTK_CFLAGS"; then
+ pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GTK_LIBS"; then
+ pkg_cv_GTK_LIBS="$GTK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ else
+ GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GTK_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gtk+-2.0 >= 2.24.10) were not met:
+
+$GTK_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
+ GTK_LIBS=$pkg_cv_GTK_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+#PKG_CHECK_MODULES([XMLRPC_UTIL], [xmlrpc_util >= 1.16.33])
+#AC_SUBST(XMLRPC_UTIL_CFLAGS)
+#AC_SUBST(XMLRPC_UTIL_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER], [xmlrpc_client >= 1.#16.33])
+#AC_SUBST(XMLRPC_SERVER_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_CGI], [xmlrpc_server_cgi >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_CGI_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_CGI_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_ABYSS], [xmlrpc_server_abyss >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_ABYSS_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_ABYSS_LIBS)$
+
+# Checks for library functions.
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_malloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *malloc ();
+#endif
+
+int
+main ()
+{
+return ! malloc (0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_malloc_0_nonnull=yes
+else
+ ac_cv_func_malloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
+
+$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
+
+else
+ $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
+
+ case " $LIB@&t at OBJS " in
+ *" malloc.$ac_objext "* ) ;;
+ *) LIB@&t at OBJS="$LIB@&t at OBJS malloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
+
+fi
+
+
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
+$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
+if ${ac_cv_func_realloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_realloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *realloc ();
+#endif
+
+int
+main ()
+{
+return ! realloc (0, 0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_realloc_0_nonnull=yes
+else
+ ac_cv_func_realloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
+if test $ac_cv_func_realloc_0_nonnull = yes; then :
+
+$as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
+
+else
+ $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
+
+ case " $LIB@&t at OBJS " in
+ *" realloc.$ac_objext "* ) ;;
+ *) LIB@&t at OBJS="$LIB@&t at OBJS realloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
+
+fi
+
+
+for ac_func in atexit clock_gettime floor memset socket sqrt strchr strtol strtoul
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIB@&t at OBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIB@&t at OBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+@%:@ as_fn_executable_p FILE
+@%:@ -----------------------
+@%:@ Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} @%:@ as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <weedlight at gmail.com>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+gsequencer config.status 0.4.3
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
+@%:@@%:@ Running $as_me. @%:@@%:@
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
+predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
+postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
+predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
+postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
+LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
+reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
+reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
+postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
+
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in AS \
+DLLTOOL \
+OBJDUMP \
+SHELL \
+ECHO \
+PATH_SEPARATOR \
+SED \
+GREP \
+EGREP \
+FGREP \
+LD \
+NM \
+LN_S \
+lt_SP2NL \
+lt_NL2SP \
+reload_flag \
+deplibs_check_method \
+file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+sharedlib_from_linklib_cmd \
+AR \
+AR_FLAGS \
+archiver_list_spec \
+STRIP \
+RANLIB \
+CC \
+CFLAGS \
+compiler \
+lt_cv_sys_global_symbol_pipe \
+lt_cv_sys_global_symbol_to_cdecl \
+lt_cv_sys_global_symbol_to_import \
+lt_cv_sys_global_symbol_to_c_name_address \
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
+lt_cv_nm_interface \
+nm_file_list_spec \
+lt_cv_truncate_bin \
+lt_prog_compiler_no_builtin_flag \
+lt_prog_compiler_pic \
+lt_prog_compiler_wl \
+lt_prog_compiler_static \
+lt_cv_prog_compiler_c_o \
+need_locks \
+MANIFEST_TOOL \
+DSYMUTIL \
+NMEDIT \
+LIPO \
+OTOOL \
+OTOOL64 \
+shrext_cmds \
+export_dynamic_flag_spec \
+whole_archive_flag_spec \
+compiler_needs_object \
+with_gnu_ld \
+allow_undefined_flag \
+no_undefined_flag \
+hardcode_libdir_flag_spec \
+hardcode_libdir_separator \
+exclude_expsyms \
+include_expsyms \
+file_list_spec \
+variables_saved_for_relink \
+libname_spec \
+library_names_spec \
+soname_spec \
+install_override_mode \
+finish_eval \
+old_striplib \
+striplib \
+compiler_lib_search_dirs \
+predep_objects \
+postdep_objects \
+predeps \
+postdeps \
+compiler_lib_search_path \
+LD_CXX \
+reload_flag_CXX \
+compiler_CXX \
+lt_prog_compiler_no_builtin_flag_CXX \
+lt_prog_compiler_pic_CXX \
+lt_prog_compiler_wl_CXX \
+lt_prog_compiler_static_CXX \
+lt_cv_prog_compiler_c_o_CXX \
+export_dynamic_flag_spec_CXX \
+whole_archive_flag_spec_CXX \
+compiler_needs_object_CXX \
+with_gnu_ld_CXX \
+allow_undefined_flag_CXX \
+no_undefined_flag_CXX \
+hardcode_libdir_flag_spec_CXX \
+hardcode_libdir_separator_CXX \
+exclude_expsyms_CXX \
+include_expsyms_CXX \
+file_list_spec_CXX \
+compiler_lib_search_dirs_CXX \
+predep_objects_CXX \
+postdep_objects_CXX \
+predeps_CXX \
+postdeps_CXX \
+compiler_lib_search_path_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in reload_cmds \
+old_postinstall_cmds \
+old_postuninstall_cmds \
+old_archive_cmds \
+extract_expsyms_cmds \
+old_archive_from_new_cmds \
+old_archive_from_expsyms_cmds \
+archive_cmds \
+archive_expsym_cmds \
+module_cmds \
+module_expsym_cmds \
+export_symbols_cmds \
+prelink_cmds \
+postlink_cmds \
+postinstall_cmds \
+postuninstall_cmds \
+finish_cmds \
+sys_lib_search_path_spec \
+sys_lib_dlsearch_path_spec \
+reload_cmds_CXX \
+old_archive_cmds_CXX \
+old_archive_from_new_cmds_CXX \
+old_archive_from_expsyms_cmds_CXX \
+archive_cmds_CXX \
+archive_expsym_cmds_CXX \
+module_cmds_CXX \
+module_expsym_cmds_CXX \
+export_symbols_cmds_CXX \
+prelink_cmds_CXX \
+postlink_cmds_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+ac_aux_dir='$ac_aux_dir'
+
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ RM='$RM'
+ ofile='$ofile'
+
+
+
+
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "src/ags/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/Makefile" ;;
+ "src/ags/X/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/Makefile" ;;
+ "src/ags/X/editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/editor/Makefile" ;;
+ "src/ags/X/machine/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/machine/Makefile" ;;
+ "src/ags/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/Makefile" ;;
+ "src/ags/audio/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/file/Makefile" ;;
+ "src/ags/audio/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/recall/Makefile" ;;
+ "src/ags/audio/task/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/Makefile" ;;
+ "src/ags/audio/task/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/recall/Makefile" ;;
+ "src/ags/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/file/Makefile" ;;
+ "src/ags/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/lib/Makefile" ;;
+ "src/ags/object/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/object/Makefile" ;;
+ "src/ags/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/plugin/Makefile" ;;
+ "src/ags/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/server/Makefile" ;;
+ "src/ags/thread/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/thread/Makefile" ;;
+ "src/ags/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/util/Makefile" ;;
+ "src/ags/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/widget/Makefile" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "libtool":C)
+
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags='CXX '
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Assembler program.
+AS=$lt_AS
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Object dumper program.
+OBJDUMP=$lt_OBJDUMP
+
+# Which release of libtool.m4 was used?
+macro_version=$macro_version
+macro_revision=$macro_revision
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# What type of objects to build.
+pic_mode=$pic_mode
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
+# The host system.
+host_alias=$host_alias
+host=$host
+host_os=$host_os
+
+# The build system.
+build_alias=$build_alias
+build=$build
+build_os=$build_os
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="\$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP=$lt_GREP
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# A literal string matcher.
+FGREP=$lt_FGREP
+
+# A BSD- or MS-compatible name lister.
+NM=$lt_NM
+
+# Whether we need soft or hard links.
+LN_S=$lt_LN_S
+
+# What is the maximum length of a command?
+max_cmd_len=$max_cmd_len
+
+# Object file suffix (normally "o").
+objext=$ac_objext
+
+# Executable file suffix (normally "").
+exeext=$exeext
+
+# whether the shell understands "unset".
+lt_unset=$lt_unset
+
+# turn spaces into newlines.
+SP2NL=$lt_lt_SP2NL
+
+# turn newlines into spaces.
+NL2SP=$lt_lt_NL2SP
+
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd=$lt_file_magic_cmd
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
+# The archiver.
+AR=$lt_AR
+
+# Flags to create an archive.
+AR_FLAGS=$lt_AR_FLAGS
+
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
+# A symbol stripping program.
+STRIP=$lt_STRIP
+
+# Commands used to install an old-style archive.
+RANLIB=$lt_RANLIB
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
+# A C compiler.
+LTCC=$lt_CC
+
+# LTCC compiler flags.
+LTCFLAGS=$lt_CFLAGS
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm into a list of symbols to manually relocate.
+global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
+# The name lister interface.
+nm_interface=$lt_lt_cv_nm_interface
+
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
+
+# The root where to search for dependent libraries,and where our libraries should be installed.
+lt_sysroot=$lt_sysroot
+
+# Command to truncate a binary pipe.
+lt_truncate_bin=$lt_lt_cv_truncate_bin
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=$MAGIC_CMD
+
+# Must we lock files when doing compilation?
+need_locks=$lt_need_locks
+
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=$lt_DSYMUTIL
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=$lt_NMEDIT
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=$lt_LIPO
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=$lt_OTOOL
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=$lt_OTOOL64
+
+# Old archive suffix (normally "a").
+libext=$libext
+
+# Shared library suffix (normally ".so").
+shrext_cmds=$lt_shrext_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink=$lt_variables_saved_for_relink
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Library versioning type.
+version_type=$version_type
+
+# Shared library runtime path variable.
+runpath_var=$runpath_var
+
+# Shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=$lt_postinstall_cmds
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=$lt_finish_eval
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds
+
+# A language specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects
+postdep_objects=$lt_postdep_objects
+predeps=$lt_predeps
+postdeps=$lt_postdeps
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path
+
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+
+ cat <<_LT_EOF >> "$ofile"
+
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+# The linker used to build libraries.
+LD=$lt_LD_CXX
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds_CXX
+
+# A language specific compiler.
+CC=$lt_compiler_CXX
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC_CXX
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_CXX
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object_CXX
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds_CXX
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds_CXX
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld_CXX
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_CXX
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L_CXX
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic_CXX
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath_CXX
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_CXX
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols_CXX
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_CXX
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_CXX
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds_CXX
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec_CXX
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_CXX
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects_CXX
+postdep_objects=$lt_postdep_objects_CXX
+predeps=$lt_predeps_CXX
+postdeps=$lt_postdeps_CXX
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+
+# ### END LIBTOOL TAG CONFIG: CXX
+_LT_EOF
+
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+
+#
+# CONFIG_SUBDIRS section.
+#
+if test "$no_recursion" != yes; then
+
+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments
+ # so they do not pile up.
+ ac_sub_configure_args=
+ ac_prev=
+ eval "set x $ac_configure_args"
+ shift
+ for ac_arg
+ do
+ if test -n "$ac_prev"; then
+ ac_prev=
+ continue
+ fi
+ case $ac_arg in
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
+ | --c=*)
+ ;;
+ --config-cache | -C)
+ ;;
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ ;;
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ ;;
+ --disable-option-checking)
+ ;;
+ *)
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
+ esac
+ done
+
+ # Always prepend --prefix to ensure using the same prefix
+ # in subdir configurations.
+ ac_arg="--prefix=$prefix"
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
+
+ # Pass --silent
+ if test "$silent" = yes; then
+ ac_sub_configure_args="--silent $ac_sub_configure_args"
+ fi
+
+ # Always prepend --disable-option-checking to silence warnings, since
+ # different subdirs can have different --enable and --with options.
+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
+
+ ac_popdir=`pwd`
+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
+
+ # Do not complain, so a configure script can configure whichever
+ # parts of a large source tree are present.
+ test -d "$srcdir/$ac_dir" || continue
+
+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
+ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
+ $as_echo "$ac_msg" >&6
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ cd "$ac_dir"
+
+ # Check for guested configure; otherwise get Cygnus style configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ ac_sub_configure=$ac_srcdir/configure.gnu
+ elif test -f "$ac_srcdir/configure"; then
+ ac_sub_configure=$ac_srcdir/configure
+ elif test -f "$ac_srcdir/configure.in"; then
+ # This should be Cygnus configure.
+ ac_sub_configure=$ac_aux_dir/configure
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
+ ac_sub_configure=
+ fi
+
+ # The recursion is here.
+ if test -n "$ac_sub_configure"; then
+ # Make the cache file name correct relative to the subdirectory.
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
+ *) # Relative name.
+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
+ # The eval makes quoting arguments work.
+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
+ as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
+ fi
+
+ cd "$ac_popdir"
+ done
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1
new file mode 100644
index 0000000..5d3149b
--- /dev/null
+++ b/autom4te.cache/output.1
@@ -0,0 +1,21439 @@
+@%:@! /bin/sh
+@%:@ Guess values for system-dependent variables and create Makefiles.
+@%:@ Generated by GNU Autoconf 2.69 for gsequencer 0.4.3.
+@%:@
+@%:@ Report bugs to <weedlight at gmail.com>.
+@%:@
+@%:@
+@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+@%:@
+@%:@
+@%:@ This configure script is free software; the Free Software Foundation
+@%:@ gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in @%:@ ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+
+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in @%:@(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in @%:@ ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf at gnu.org and
+$0: weedlight at gmail.com about your system, including any
+$0: error possibly output before this message. Then install
+$0: a modern shell, or manually run the script under such a
+$0: shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+
+@%:@ as_fn_executable_p FILE
+@%:@ -----------------------
+@%:@ Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} @%:@ as_fn_executable_p
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIB@&t at OBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='gsequencer'
+PACKAGE_TARNAME='gsequencer'
+PACKAGE_VERSION='0.4.3'
+PACKAGE_STRING='gsequencer 0.4.3'
+PACKAGE_BUGREPORT='weedlight at gmail.com'
+PACKAGE_URL=''
+
+ac_unique_file="config.h.in"
+enable_option_checking=no
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIB@&t at OBJS
+GTK_LIBS
+GTK_CFLAGS
+CAIRO_LIBS
+CAIRO_CFLAGS
+GDKPIXBUF_LIBS
+GDKPIXBUF_CFLAGS
+GOBJECT_LIBS
+GOBJECT_CFLAGS
+LIBINSTPATCH_LIBS
+LIBINSTPATCH_CFLAGS
+SNDFILE_LIBS
+SNDFILE_CFLAGS
+LIBXML2_LIBS
+LIBXML2_CFLAGS
+LIBASOUND2_LIBS
+LIBASOUND2_CFLAGS
+LIBAO_LIBS
+LIBAO_CFLAGS
+UUID_LIBS
+UUID_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+XMKMF
+CXXCPP
+OTOOL64
+OTOOL
+LIPO
+NMEDIT
+DSYMUTIL
+MANIFEST_TOOL
+ac_ct_AR
+AR
+NM
+ac_ct_DUMPBIN
+DUMPBIN
+LD
+FGREP
+EGREP
+GREP
+SED
+LIBTOOL
+OBJDUMP
+DLLTOOL
+AS
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+RANLIB
+LN_S
+CPP
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+ac_ct_CC
+CFLAGS
+CC
+am__fastdepCXX_FALSE
+am__fastdepCXX_TRUE
+CXXDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CXX
+CPPFLAGS
+LDFLAGS
+CXXFLAGS
+CXX
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+subdirs
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_dependency_tracking
+enable_shared
+enable_static
+with_pic
+enable_fast_install
+with_aix_soname
+with_gnu_ld
+with_sysroot
+enable_libtool_lock
+with_x
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CXX
+CXXFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CCC
+CC
+CFLAGS
+CPP
+CXXCPP
+XMKMF
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+UUID_CFLAGS
+UUID_LIBS
+LIBAO_CFLAGS
+LIBAO_LIBS
+LIBASOUND2_CFLAGS
+LIBASOUND2_LIBS
+LIBXML2_CFLAGS
+LIBXML2_LIBS
+SNDFILE_CFLAGS
+SNDFILE_LIBS
+LIBINSTPATCH_CFLAGS
+LIBINSTPATCH_LIBS
+GOBJECT_CFLAGS
+GOBJECT_LIBS
+GDKPIXBUF_CFLAGS
+GDKPIXBUF_LIBS
+CAIRO_CFLAGS
+CAIRO_LIBS
+GTK_CFLAGS
+GTK_LIBS'
+ac_subdirs_all='po
+ doc
+ src/ags
+ src/ags/X
+ src/ags/X/editor
+ src/ags/X/machine
+ src/ags/audio
+ src/ags/audio/file
+ src/ags/audio/recall
+ src/ags/audio/task
+ src/ags/audio/task/recall
+ src/ags/file
+ src/ags/lib
+ src/ags/object
+ src/ags/plugin
+ src/ags/server
+ src/ags/thread
+ src/ags/util
+ src/ags/widget'
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures gsequencer 0.4.3 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ @<:@@S|@ac_default_prefix@:>@
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ @<:@PREFIX@:>@
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/gsequencer@:>@
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+X features:
+ --x-includes=DIR X include files are in DIR
+ --x-libraries=DIR X library files are in DIR
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of gsequencer 0.4.3:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
+ --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
+ --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
+ --enable-fast-install@<:@=PKGS@:>@
+ optimize for fast installation @<:@default=yes@:>@
+ --disable-libtool-lock avoid locking (might break parallel builds)
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
+ both@:>@
+ --with-aix-soname=aix|svr4|both
+ shared library versioning (aka "SONAME") variant to
+ provide on AIX, @<:@default=aix@:>@.
+ --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
+ --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
+ compiler's sysroot if not specified).
+ --with-x use the X Window System
+
+Some influential environment variables:
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CC C compiler command
+ CFLAGS C compiler flags
+ CPP C preprocessor
+ CXXCPP C++ preprocessor
+ XMKMF Path to xmkmf, Makefile generator for X Window System
+ PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+ UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
+ UUID_LIBS linker flags for UUID, overriding pkg-config
+ LIBAO_CFLAGS
+ C compiler flags for LIBAO, overriding pkg-config
+ LIBAO_LIBS linker flags for LIBAO, overriding pkg-config
+ LIBASOUND2_CFLAGS
+ C compiler flags for LIBASOUND2, overriding pkg-config
+ LIBASOUND2_LIBS
+ linker flags for LIBASOUND2, overriding pkg-config
+ LIBXML2_CFLAGS
+ C compiler flags for LIBXML2, overriding pkg-config
+ LIBXML2_LIBS
+ linker flags for LIBXML2, overriding pkg-config
+ SNDFILE_CFLAGS
+ C compiler flags for SNDFILE, overriding pkg-config
+ SNDFILE_LIBS
+ linker flags for SNDFILE, overriding pkg-config
+ LIBINSTPATCH_CFLAGS
+ C compiler flags for LIBINSTPATCH, overriding pkg-config
+ LIBINSTPATCH_LIBS
+ linker flags for LIBINSTPATCH, overriding pkg-config
+ GOBJECT_CFLAGS
+ C compiler flags for GOBJECT, overriding pkg-config
+ GOBJECT_LIBS
+ linker flags for GOBJECT, overriding pkg-config
+ GDKPIXBUF_CFLAGS
+ C compiler flags for GDKPIXBUF, overriding pkg-config
+ GDKPIXBUF_LIBS
+ linker flags for GDKPIXBUF, overriding pkg-config
+ CAIRO_CFLAGS
+ C compiler flags for CAIRO, overriding pkg-config
+ CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
+ GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
+ GTK_LIBS linker flags for GTK, overriding pkg-config
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <weedlight at gmail.com>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+gsequencer configure 0.4.3
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+@%:@ ac_fn_cxx_try_compile LINENO
+@%:@ ----------------------------
+@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_compile
+
+@%:@ ac_fn_c_try_compile LINENO
+@%:@ --------------------------
+@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_compile
+
+@%:@ ac_fn_c_try_cpp LINENO
+@%:@ ----------------------
+@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_cpp
+
+@%:@ ac_fn_c_try_link LINENO
+@%:@ -----------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_link
+
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+@%:@ -------------------------------------------------------
+@%:@ Tests whether HEADER exists and can be compiled using the include files in
+@%:@ INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_header_compile
+
+@%:@ ac_fn_c_try_run LINENO
+@%:@ ----------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded. Assumes
+@%:@ that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_run
+
+@%:@ ac_fn_c_check_func LINENO FUNC VAR
+@%:@ ----------------------------------
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_func
+
+@%:@ ac_fn_cxx_try_cpp LINENO
+@%:@ ------------------------
+@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_cpp
+
+@%:@ ac_fn_cxx_try_link LINENO
+@%:@ -------------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_link
+
+@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+@%:@ -------------------------------------------------------
+@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
+@%:@ the include files in INCLUDES and setting the cache variable VAR
+@%:@ accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## ---------------------------------- ##
+## Report this to weedlight at gmail.com ##
+## ---------------------------------- ##"
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_header_mongrel
+
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+@%:@ -------------------------------------------
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
+@%:@ variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_type
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in @%:@((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+
+
+subdirs="$subdirs po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget"
+
+ac_config_files="$ac_config_files Makefile po/Makefile doc/Makefile src/ags/Makefile src/ags/X/Makefile src/ags/X/editor/Makefile src/ags/X/machine/Makefile src/ags/audio/Makefile src/ags/audio/file/Makefile src/ags/audio/recall/Makefile src/ags/audio/task/Makefile src/ags/audio/task/recall/Makefile src/ags/file/Makefile src/ags/lib/Makefile src/ags/object/Makefile src/ags/plugin/Makefile src/ags/server/Makefile src/ags/thread/Makefile src/ags/util/Makefile src/ags/widget/Makefile"
+
+
+am__api_version='1.14'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in @%:@((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+@%:@ Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+
+ PACKAGE=gsequencer
+ VERSION=0.4.3
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake at gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
+# Checks for programs.
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
+$as_echo_n "checking whether the C++ compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C++ compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
+$as_echo_n "checking for C++ compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C++ compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+@%:@ Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+
+depcc="$CXX" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
+if ${ac_cv_c_const+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this sort of thing. */
+ typedef int charset[2];
+ const charset cs = { 0, 0 };
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this sort of thing. */
+ char tx;
+ char *t = &tx;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; } bx;
+ struct s *b = &bx; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_c_const=yes
+else
+ ac_cv_c_const=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
+$as_echo "$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+$as_echo "@%:@define const /**/" >>confdefs.h
+
+fi
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
+set dummy ${ac_tool_prefix}as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AS"; then
+ ac_cv_prog_AS="$AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AS="${ac_tool_prefix}as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AS=$ac_cv_prog_AS
+if test -n "$AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
+$as_echo "$AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AS"; then
+ ac_ct_AS=$AS
+ # Extract the first word of "as", so it can be a program name with args.
+set dummy as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AS"; then
+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AS="as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
+if test -n "$ac_ct_AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
+$as_echo "$ac_ct_AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_AS" = x; then
+ AS="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AS=$ac_ct_AS
+ fi
+else
+ AS="$ac_cv_prog_AS"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+ ;;
+esac
+
+test -z "$AS" && AS=as
+
+
+
+
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+
+case `pwd` in
+ *\ * | *\ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
+esac
+
+
+
+macro_version='2.4.4'
+macro_revision='2.4.4'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO ""
+}
+
+case $ECHO in
+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
+$as_echo_n "checking for fgrep... " >&6; }
+if ${ac_cv_path_FGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
+ then ac_cv_path_FGREP="$GREP -F"
+ else
+ if test -z "$FGREP"; then
+ ac_path_FGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in fgrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_FGREP" || continue
+# Check for GNU ac_path_FGREP and select it if it is found.
+ # Check for GNU $ac_path_FGREP
+case `"$ac_path_FGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'FGREP' >> "conftest.nl"
+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_FGREP="$ac_path_FGREP"
+ ac_path_FGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_FGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_FGREP"; then
+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_FGREP=$FGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
+$as_echo "$ac_cv_path_FGREP" >&6; }
+ FGREP="$ac_cv_path_FGREP"
+
+
+test -z "$GREP" && GREP=grep
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@%:@ Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
+if ${lt_cv_path_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
+$as_echo "$lt_cv_path_NM" >&6; }
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in dumpbin "link -dump"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DUMPBIN"; then
+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DUMPBIN=$ac_cv_prog_DUMPBIN
+if test -n "$DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
+$as_echo "$DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$DUMPBIN" && break
+ done
+fi
+if test -z "$DUMPBIN"; then
+ ac_ct_DUMPBIN=$DUMPBIN
+ for ac_prog in dumpbin "link -dump"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DUMPBIN"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
+if test -n "$ac_ct_DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
+$as_echo "$ac_ct_DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_DUMPBIN" && break
+done
+
+ if test "x$ac_ct_DUMPBIN" = x; then
+ DUMPBIN=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DUMPBIN=$ac_ct_DUMPBIN
+ fi
+fi
+
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
+if ${lt_cv_nm_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: output\"" >&5)
+ cat conftest.out >&5
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
+$as_echo "$lt_cv_nm_interface" >&6; }
+
+# find the maximum length of command line arguments
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
+if ${lt_cv_sys_max_cmd_len+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+
+fi
+
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+$as_echo "none" >&6; }
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+
+
+
+
+
+: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+
+
+
+
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
+if ${lt_cv_ld_reload_flag+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test yes != "$GCC"; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test yes = "$GCC"; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
+if ${lt_cv_deplibs_check_method+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# 'unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# that responds to the $file_magic_cmd with a given extended regex.
+# If you have 'file' or equivalent on your system and you're not sure
+# whether 'pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[4-9]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[45]*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ if ( file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[3-9]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd* | bitrig*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+os2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh;
+ # decide which one to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ar_at_file=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -eq "$ac_status"; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -ne "$ac_status"; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test no = "$lt_cv_ar_at_file"; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+test -z "$STRIP" && STRIP=:
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+test -z "$RANLIB" && RANLIB=:
+
+
+
+
+
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ bitrig* | openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[BCDEGRST]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[BCDT]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[ABCDGISTW]'
+ ;;
+hpux*)
+ if test ia64 = "$host_cpu"; then
+ symcode='[ABCDEGRST]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[BCDEGRST]'
+ ;;
+osf*)
+ symcode='[BCDEGQRST]'
+ ;;
+solaris*)
+ symcode='[BDRT]'
+ ;;
+sco3.2v5*)
+ symcode='[DT]'
+ ;;
+sysv4.2uw2*)
+ symcode='[DT]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[ABDT]'
+ ;;
+sysv4)
+ symcode='[DFNSTU]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[ABCDGIRSTW]' ;;
+esac
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Gets list of data symbols to import.
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
+ # Adjust the below global symbol transforms to fixup imported variables.
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
+ lt_c_name_lib_hook="\
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
+else
+ # Disable hooks by default.
+ lt_cv_sys_global_symbol_to_import=
+ lt_cdecl_hook=
+ lt_c_name_hook=
+ lt_c_name_lib_hook=
+fi
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+$lt_cdecl_hook\
+" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
+$lt_c_name_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
+
+# Transform an extracted symbol line into symbol name with lib prefix and
+# symbol address.
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
+$lt_c_name_lib_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function,
+ # D for any global variable and I for any imported variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK '"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
+" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
+" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT@&t at _DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT@&t at _DLSYM_CONST
+#else
+# define LT@&t at _DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT@&t at _DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS=conftstm.$ac_objext
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest$ac_exeext; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&5
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+ fi
+ else
+ echo "$progname: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test yes = "$pipe_works"; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+
+fi
+
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
+$as_echo "failed" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+@%:@ Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+ withval=$with_sysroot;
+else
+ with_sysroot=no
+fi
+
+
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
+$as_echo "$with_sysroot" >&6; }
+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+ ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
+$as_echo_n "checking for a working dd... " >&6; }
+if ${ac_cv_path_lt_DD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+: ${lt_DD:=$DD}
+if test -z "$lt_DD"; then
+ ac_path_lt_DD_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in dd; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_lt_DD" || continue
+if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
+fi
+ $ac_path_lt_DD_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_lt_DD"; then
+ :
+ fi
+else
+ ac_cv_path_lt_DD=$lt_DD
+fi
+
+rm -f conftest.i conftest2.i conftest.out
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
+$as_echo "$ac_cv_path_lt_DD" >&6; }
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
+$as_echo_n "checking how to truncate binary pipes... " >&6; }
+if ${lt_cv_truncate_bin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+lt_cv_truncate_bin=
+if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
+fi
+rm -f conftest.i conftest2.i conftest.out
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
+$as_echo "$lt_cv_truncate_bin" >&6; }
+
+
+
+
+
+
+@%:@ Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then :
+ enableval=$enable_libtool_lock;
+fi
+
+test no = "$enable_libtool_lock" || enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out what ABI is being produced by ac_compile, and set mode
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE=32
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE=64
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly. Note that the listed cases only cover the
+ # situations where additional linker options are needed (such as when
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
+ # vice versa); the common cases where no linker options are needed do
+ # not appear in the list.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -belf"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
+if ${lt_cv_cc_needs_belf+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_cc_needs_belf=yes
+else
+ lt_cv_cc_needs_belf=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
+ if test yes != "$lt_cv_cc_needs_belf"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS=$SAVE_CFLAGS
+ fi
+ ;;
+*-*solaris*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*|x86_64-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD=${LD-ld}_sol2
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks=$enable_libtool_lock
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$MANIFEST_TOOL"; then
+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+ # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_MANIFEST_TOOL"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
+ MANIFEST_TOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+ fi
+else
+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&5
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test yes != "$lt_cv_path_mainfest_tool"; then
+ MANIFEST_TOOL=:
+fi
+
+
+
+
+
+
+ case $host_os in
+ rhapsody* | darwin*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DSYMUTIL"; then
+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
+if test -n "$DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
+$as_echo "$DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DSYMUTIL"; then
+ ac_ct_DSYMUTIL=$DSYMUTIL
+ # Extract the first word of "dsymutil", so it can be a program name with args.
+set dummy dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DSYMUTIL"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
+if test -n "$ac_ct_DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DSYMUTIL" = x; then
+ DSYMUTIL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DSYMUTIL=$ac_ct_DSYMUTIL
+ fi
+else
+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NMEDIT"; then
+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+NMEDIT=$ac_cv_prog_NMEDIT
+if test -n "$NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
+$as_echo "$NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_NMEDIT"; then
+ ac_ct_NMEDIT=$NMEDIT
+ # Extract the first word of "nmedit", so it can be a program name with args.
+set dummy nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_NMEDIT"; then
+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
+if test -n "$ac_ct_NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
+$as_echo "$ac_ct_NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_NMEDIT" = x; then
+ NMEDIT=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ NMEDIT=$ac_ct_NMEDIT
+ fi
+else
+ NMEDIT="$ac_cv_prog_NMEDIT"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LIPO"; then
+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LIPO=$ac_cv_prog_LIPO
+if test -n "$LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
+$as_echo "$LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_LIPO"; then
+ ac_ct_LIPO=$LIPO
+ # Extract the first word of "lipo", so it can be a program name with args.
+set dummy lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_LIPO"; then
+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_LIPO="lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
+if test -n "$ac_ct_LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
+$as_echo "$ac_ct_LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_LIPO" = x; then
+ LIPO=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ LIPO=$ac_ct_LIPO
+ fi
+else
+ LIPO="$ac_cv_prog_LIPO"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL"; then
+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL=$ac_cv_prog_OTOOL
+if test -n "$OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
+$as_echo "$OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL"; then
+ ac_ct_OTOOL=$OTOOL
+ # Extract the first word of "otool", so it can be a program name with args.
+set dummy otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL"; then
+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL="otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
+if test -n "$ac_ct_OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
+$as_echo "$ac_ct_OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL" = x; then
+ OTOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL=$ac_ct_OTOOL
+ fi
+else
+ OTOOL="$ac_cv_prog_OTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL64"; then
+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL64=$ac_cv_prog_OTOOL64
+if test -n "$OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
+$as_echo "$OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL64"; then
+ ac_ct_OTOOL64=$OTOOL64
+ # Extract the first word of "otool64", so it can be a program name with args.
+set dummy otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL64"; then
+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL64="otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
+if test -n "$ac_ct_OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
+$as_echo "$ac_ct_OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL64" = x; then
+ OTOOL64=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL64=$ac_ct_OTOOL64
+ fi
+else
+ OTOOL64="$ac_cv_prog_OTOOL64"
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
+$as_echo_n "checking for -single_module linker flag... " >&6; }
+if ${lt_cv_apple_cc_single_mod+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_apple_cc_single_mod=no
+ if test -z "$LT_MULTI_MODULE"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&5
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_ld_exported_symbols_list=yes
+else
+ lt_cv_ld_exported_symbols_list=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
+ echo "$RANLIB libconftest.a" >&5
+ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&5
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
+ case $host_os in
+ rhapsody* | darwin1.[012])
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ 10.[012][,.]*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
+ fi
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in dlfcn.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
+"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_DLFCN_H 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+func_stripname_cnf ()
+{
+ case @S|@2 in
+ .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
+ *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
+ esac
+} # func_stripname_cnf
+
+
+
+
+
+# Set options
+
+
+
+ enable_dlopen=no
+
+
+
+ @%:@ Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then :
+ enableval=$enable_shared; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_shared=yes
+fi
+
+
+
+
+
+
+
+
+
+ @%:@ Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_static=yes
+fi
+
+
+
+
+
+
+
+
+
+
+@%:@ Check whether --with-pic was given.
+if test "${with_pic+set}" = set; then :
+ withval=$with_pic; lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for lt_pkg in $withval; do
+ IFS=$lt_save_ifs
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ pic_mode=default
+fi
+
+
+
+
+
+
+
+
+ @%:@ Check whether --enable-fast-install was given.
+if test "${enable_fast_install+set}" = set; then :
+ enableval=$enable_fast_install; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_fast_install=yes
+fi
+
+
+
+
+
+
+
+
+ shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[5-9]*,yes)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
+$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
+
+@%:@ Check whether --with-aix-soname was given.
+if test "${with_aix_soname+set}" = set; then :
+ withval=$with_aix_soname; case $withval in
+ aix|svr4|both)
+ ;;
+ *)
+ as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
+ ;;
+ esac
+ lt_cv_with_aix_soname=$with_aix_soname
+else
+ if ${lt_cv_with_aix_soname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_with_aix_soname=aix
+fi
+
+ with_aix_soname=$lt_cv_with_aix_soname
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
+$as_echo "$with_aix_soname" >&6; }
+ if test aix != "$with_aix_soname"; then
+ # For the AIX way of multilib, we name the shared archive member
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
+ if test 64 = "${OBJECT_MODE-32}"; then
+ shared_archive_member_spec=shr_64
+ else
+ shared_archive_member_spec=shr
+ fi
+ fi
+ ;;
+*)
+ with_aix_soname=aix
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+test -z "$LN_S" && LN_S="ln -s"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+$as_echo_n "checking for objdir... " >&6; }
+if ${lt_cv_objdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
+$as_echo "$lt_cv_objdir" >&6; }
+objdir=$lt_cv_objdir
+
+
+
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define LT_OBJDIR "$lt_cv_objdir/"
+_ACEOF
+
+
+
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+old_CC=$CC
+old_CFLAGS=$CFLAGS
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/${ac_tool_prefix}file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+
+
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
+$as_echo_n "checking for file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ else
+ MAGIC_CMD=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+
+lt_save_CC=$CC
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+objext=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+
+lt_prog_compiler_no_builtin_flag=
+
+if test yes = "$GCC"; then
+ case $cc_basename in
+ nvcc*)
+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+ *)
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+
+
+
+
+
+ lt_prog_compiler_wl=
+lt_prog_compiler_pic=
+lt_prog_compiler_static=
+
+
+ if test yes = "$GCC"; then
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_static='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ lt_prog_compiler_wl='-Xlinker '
+ if test -n "$lt_prog_compiler_pic"; then
+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl='-Wl,'
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ else
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ case $cc_basename in
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static='$wl-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ # old Intel for x86_64, which still supported -KPIC.
+ ecc*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-qpic'
+ lt_prog_compiler_static='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Wl,'
+ ;;
+ *Intel*\ [CF]*Compiler*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ *Portland\ Group*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ rdos*)
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl='-Qoption ld '
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic='-Kconform_pic'
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ unicos*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_can_build_shared=no
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic='-pic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic=
+ ;;
+ *)
+ lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works"; then
+ case $lt_prog_compiler_pic in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
+ esac
+else
+ lt_prog_compiler_pic=
+ lt_prog_compiler_can_build_shared=no
+fi
+
+fi
+
+
+
+
+
+
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works"; then
+ :
+else
+ lt_prog_compiler_static=
+fi
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ runpath_var=
+ allow_undefined_flag=
+ always_export_symbols=no
+ archive_cmds=
+ archive_expsym_cmds=
+ compiler_needs_object=no
+ enable_shared_with_static_runtimes=no
+ export_dynamic_flag_spec=
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ hardcode_automatic=no
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_separator=
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=unsupported
+ inherit_rpath=no
+ link_all_deplibs=unknown
+ module_cmds=
+ module_expsym_cmds=
+ old_archive_from_new_cmds=
+ old_archive_from_expsyms_cmds=
+ thread_safe_flag_spec=
+ whole_archive_flag_spec=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
+ # as well as any symbol that contains 'd'.
+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test yes != "$GCC"; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd* | bitrig*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test yes = "$with_gnu_ld"; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+ *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test yes = "$lt_use_gnu_ld_interface"; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='$wl'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec='$wl--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[3-9]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test ia64 != "$host_cpu"; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ export_dynamic_flag_spec='$wl--export-all-symbols'
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ haiku*)
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs=yes
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test linux-dietlibc = "$host_os"; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test no = "$tmp_diet"
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ whole_archive_flag_spec=
+ tmp_sharedflag='--shared' ;;
+ nagfor*) # NAGFOR 5.3
+ tmp_sharedflag='-Wl,-shared' ;;
+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ tcc*)
+ export_dynamic_flag_spec='-rdynamic'
+ ;;
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+
+ if test no = "$ld_shlibs"; then
+ runpath_var=
+ hardcode_libdir_flag_spec=
+ export_dynamic_flag_spec=
+ whole_archive_flag_spec=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds=''
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ file_list_spec='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # traditional, no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ ;;
+ esac
+
+ if test yes = "$GCC"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag="$shared_flag "'$wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ always_export_symbols=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag=' $wl-bernotok'
+ allow_undefined_flag=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec='$convenience'
+ fi
+ archive_cmds_need_lc=yes
+ archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared libraries.
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[45]*)
+ export_dynamic_flag_spec=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ file_list_spec='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+ enable_shared_with_static_runtimes=yes
+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ old_postinstall_cmds='chmod 644 $oldlib'
+ postlink_cmds='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_from_new_cmds='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ enable_shared_with_static_runtimes=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc=no
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec=''
+ fi
+ link_all_deplibs=yes
+ allow_undefined_flag=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+
+ else
+ ld_shlibs=no
+ fi
+
+ ;;
+
+ dgux*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ hpux9*)
+ if test yes = "$GCC"; then
+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ export_dynamic_flag_spec='$wl-E'
+ ;;
+
+ hpux10*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler__b=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -b"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler__b=yes
+ fi
+ else
+ lt_cv_prog_compiler__b=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test yes = "$lt_cv_prog_compiler__b"; then
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
+ ;;
+ esac
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ ;;
+ *)
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo (void) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_irix_exported_symbol=yes
+else
+ lt_cv_irix_exported_symbol=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+ if test yes = "$lt_cv_irix_exported_symbol"; then
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
+ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ inherit_rpath=yes
+ link_all_deplibs=yes
+ ;;
+
+ linux*)
+ case $cc_basename in
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ ld_shlibs=yes
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ newsos6)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_shlibpath_var=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ hardcode_direct_absolute=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ else
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ osf3*)
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_separator=:
+ ;;
+
+ solaris*)
+ no_undefined_flag=' -z defs'
+ if test yes = "$GCC"; then
+ wlarc='$wl'
+ archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='$wl'
+ archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_shlibpath_var=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test yes = "$GCC"; then
+ whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ else
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ link_all_deplibs=yes
+ ;;
+
+ sunos4*)
+ if test sequent = "$host_vendor"; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds='$CC -r -o $output$reload_objs'
+ hardcode_direct=no
+ ;;
+ motorola)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag='$wl-z,text'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag='$wl-z,text'
+ allow_undefined_flag='$wl-z,nodefs'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-R,$libdir'
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ export_dynamic_flag_spec='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+
+ if test sni = "$host_vendor"; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ export_dynamic_flag_spec='$wl-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
+$as_echo "$ld_shlibs" >&6; }
+test no = "$ld_shlibs" && can_build_shared=no
+
+with_gnu_ld=$with_gnu_ld
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ pic_flag=$lt_prog_compiler_pic
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc=no
+ else
+ lt_cv_archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+if test yes = "$GCC"; then
+ case $host_os in
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
+ *) lt_awk_arg='/^libraries:/' ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary...
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ # ...but if some path component already ends with the multilib dir we assume
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
+ lt_multi_os_dir=
+ ;;
+ esac
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
+ elif test -n "$lt_multi_os_dir"; then
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS = " "; FS = "/|\n";} {
+ lt_foo = "";
+ lt_count = 0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo = "/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[lt_foo]++; }
+ if (lt_freq[lt_foo] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" ||
+ test -n "$runpath_var" ||
+ test yes = "$hardcode_automatic"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
+ test no != "$hardcode_minus_L"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
+$as_echo "$hardcode_action" >&6; }
+
+if test relink = "$hardcode_action" ||
+ test yes = "$inherit_rpath"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+ if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
+if test "x$ac_cv_func_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if ${ac_cv_lib_dld_shl_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_shl_load=yes
+else
+ ac_cv_lib_dld_shl_load=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
+else
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if ${ac_cv_lib_svld_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_svld_dlopen=yes
+else
+ ac_cv_lib_svld_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if ${ac_cv_lib_dld_dld_link+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_dld_link=yes
+else
+ ac_cv_lib_dld_dld_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+ lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
+$as_echo "$lt_cv_dlopen_self" >&6; }
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self_static+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+striplib=
+old_striplib=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+ # Report what library types will actually be built
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
+$as_echo "$can_build_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+$as_echo_n "checking whether to build shared libraries... " >&6; }
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
+$as_echo "$enable_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
+$as_echo_n "checking whether to build static libraries... " >&6; }
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
+$as_echo "$enable_static" >&6; }
+
+
+
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC=$lt_save_CC
+
+ if test -n "$CXX" && ( test no != "$CXX" &&
+ ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
+ (test g++ != "$CXX"))); then
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
+if test -z "$CXXCPP"; then
+ if ${ac_cv_prog_CXXCPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CXXCPP needs to be expanded
+ for CXXCPP in "$CXX -E" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CXXCPP=$CXXCPP
+
+fi
+ CXXCPP=$ac_cv_prog_CXXCPP
+else
+ ac_cv_prog_CXXCPP=$CXXCPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
+$as_echo "$CXXCPP" >&6; }
+ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+else
+ _lt_caught_CXX_error=yes
+fi
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+archive_cmds_need_lc_CXX=no
+allow_undefined_flag_CXX=
+always_export_symbols_CXX=no
+archive_expsym_cmds_CXX=
+compiler_needs_object_CXX=no
+export_dynamic_flag_spec_CXX=
+hardcode_direct_CXX=no
+hardcode_direct_absolute_CXX=no
+hardcode_libdir_flag_spec_CXX=
+hardcode_libdir_separator_CXX=
+hardcode_minus_L_CXX=no
+hardcode_shlibpath_var_CXX=unsupported
+hardcode_automatic_CXX=no
+inherit_rpath_CXX=no
+module_cmds_CXX=
+module_expsym_cmds_CXX=
+link_all_deplibs_CXX=unknown
+old_archive_cmds_CXX=$old_archive_cmds
+reload_flag_CXX=$reload_flag
+reload_cmds_CXX=$reload_cmds
+no_undefined_flag_CXX=
+whole_archive_flag_spec_CXX=
+enable_shared_with_static_runtimes_CXX=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+objext_CXX=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_caught_CXX_error"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+ # save warnings/boilerplate of simple test code
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ compiler_CXX=$CC
+ for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test yes = "$GXX"; then
+ lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
+ else
+ lt_prog_compiler_no_builtin_flag_CXX=
+ fi
+
+ if test yes = "$GXX"; then
+ # Set up default GNU C++ configuration
+
+
+
+@%:@ Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test yes = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='$wl'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec_CXX=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+ ld_shlibs_CXX=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_CXX=''
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ file_list_spec_CXX='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct_CXX=no
+ hardcode_direct_absolute_CXX=no
+ ;;
+ esac
+
+ if test yes = "$GXX"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct_CXX=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_CXX=yes
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_libdir_separator_CXX=
+ fi
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag=$shared_flag' $wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec_CXX='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ always_export_symbols_CXX=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ # The "-G" linker flag allows undefined symbols.
+ no_undefined_flag_CXX='-bernotok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+
+ archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_CXX="-z nodefs"
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_CXX=' $wl-bernotok'
+ allow_undefined_flag_CXX=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_CXX='$convenience'
+ fi
+ archive_cmds_need_lc_CXX=yes
+ archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared
+ # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag_CXX=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX=' '
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=yes
+ file_list_spec_CXX='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
+ enable_shared_with_static_runtimes_CXX=yes
+ # Don't use ranlib
+ old_postinstall_cmds_CXX='chmod 644 $oldlib'
+ postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=no
+ enable_shared_with_static_runtimes_CXX=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc_CXX=no
+ hardcode_direct_CXX=no
+ hardcode_automatic_CXX=yes
+ hardcode_shlibpath_var_CXX=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec_CXX=''
+ fi
+ link_all_deplibs_CXX=yes
+ allow_undefined_flag_CXX=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+ if test yes != "$lt_cv_apple_cc_single_mod"; then
+ archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+ fi
+
+ else
+ ld_shlibs_CXX=no
+ fi
+
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_minus_L_CXX=yes
+ allow_undefined_flag_CXX=unsupported
+ shrext_cmds=.dll
+ archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes_CXX=yes
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ ld_shlibs_CXX=no
+ ;;
+
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+ ;;
+
+ haiku*)
+ archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs_CXX=yes
+ ;;
+
+ hpux9*)
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ export_dynamic_flag_spec_CXX='$wl-E'
+ hardcode_direct_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ export_dynamic_flag_spec_CXX='$wl-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ ;;
+ *)
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+ ;;
+ esac
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ inherit_rpath_CXX=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ archive_cmds_need_lc_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
+ prelink_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ old_archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object_CXX=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ ld_shlibs_CXX=yes
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ hardcode_direct_absolute_CXX=yes
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ ;;
+ *)
+ allow_undefined_flag_CXX=' -expect_unresolved \*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
+ $RM $lib.exp'
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ ;;
+ esac
+
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ case $host in
+ osf3*)
+ archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ archive_cmds_need_lc_CXX=yes
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_shlibpath_var_CXX=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ link_all_deplibs_CXX=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ no_undefined_flag_CXX=' $wl-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require '-G' NOT '-shared' on this
+ # platform.
+ archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag_CXX='$wl-z,text'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag_CXX='$wl-z,text'
+ allow_undefined_flag_CXX='$wl-z,nodefs'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ export_dynamic_flag_spec_CXX='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
+ '"$old_archive_cmds_CXX"
+ reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
+ '"$reload_cmds_CXX"
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+ test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+ GCC_CXX=$GXX
+ LD_CXX=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ # Dependencies to place before and after the object being linked:
+predep_objects_CXX=
+postdep_objects_CXX=
+predeps_CXX=
+postdeps_CXX=
+compiler_lib_search_path_CXX=
+
+cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test x-L = "$p" ||
+ test x-R = "$p"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test no = "$pre_test_object_deps_done"; then
+ case $prev in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$compiler_lib_search_path_CXX"; then
+ compiler_lib_search_path_CXX=$prev$p
+ else
+ compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$postdeps_CXX"; then
+ postdeps_CXX=$prev$p
+ else
+ postdeps_CXX="${postdeps_CXX} $prev$p"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test no = "$pre_test_object_deps_done"; then
+ if test -z "$predep_objects_CXX"; then
+ predep_objects_CXX=$p
+ else
+ predep_objects_CXX="$predep_objects_CXX $p"
+ fi
+ else
+ if test -z "$postdep_objects_CXX"; then
+ postdep_objects_CXX=$p
+ else
+ postdep_objects_CXX="$postdep_objects_CXX $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling CXX test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+case $host_os in
+interix[3-9]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ predep_objects_CXX=
+ postdep_objects_CXX=
+ postdeps_CXX=
+ ;;
+
+linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ # Adding this requires a known-good setup of shared libraries for
+ # Sun compiler versions before 5.6, else PIC objects from an old
+ # archive will be linked into the output, leading to subtle bugs.
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+esac
+
+
+case " $postdeps_CXX " in
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
+esac
+ compiler_lib_search_dirs_CXX=
+if test -n "${compiler_lib_search_path_CXX}"; then
+ compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ lt_prog_compiler_wl_CXX=
+lt_prog_compiler_pic_CXX=
+lt_prog_compiler_static_CXX=
+
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test yes = "$GXX"; then
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ fi
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static_CXX='$wl-static'
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_CXX='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ lt_prog_compiler_pic_CXX=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static_CXX=
+ ;;
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_CXX=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[4-9]*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ else
+ lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ if test ia64 != "$host_cpu"; then
+ lt_prog_compiler_pic_CXX='+Z'
+ fi
+ ;;
+ aCC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64, which still supported -KPIC.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fpic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-qpic'
+ lt_prog_compiler_static_CXX='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ lt_prog_compiler_pic_CXX='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ lt_prog_compiler_wl_CXX='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ lt_prog_compiler_pic_CXX='-pic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ lt_prog_compiler_can_build_shared_CXX=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_CXX=
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
+lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works_CXX=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works_CXX=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
+ case $lt_prog_compiler_pic_CXX in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
+ esac
+else
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_can_build_shared_CXX=no
+fi
+
+fi
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works_CXX=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
+ :
+else
+ lt_prog_compiler_static_CXX=
+fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ case $host_os in
+ aix[4-9]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX=$ltdll_cmds
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+ ;;
+ esac
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+with_gnu_ld_CXX=$with_gnu_ld
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_CXX" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_CXX=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds_CXX in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_CXX
+ pic_flag=$lt_prog_compiler_pic_CXX
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+ allow_undefined_flag_CXX=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc_CXX=no
+ else
+ lt_cv_archive_cmds_need_lc_CXX=yes
+ fi
+ allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
+ archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action_CXX=
+if test -n "$hardcode_libdir_flag_spec_CXX" ||
+ test -n "$runpath_var_CXX" ||
+ test yes = "$hardcode_automatic_CXX"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct_CXX" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
+ test no != "$hardcode_minus_L_CXX"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_CXX=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_CXX=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_CXX=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
+$as_echo "$hardcode_action_CXX" >&6; }
+
+if test relink = "$hardcode_action_CXX" ||
+ test yes = "$inherit_rpath_CXX"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test yes != "$_lt_caught_CXX_error"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
+
+
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-lgmp':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
+$as_echo_n "checking for main in -lgmp... " >&6; }
+if ${ac_cv_lib_gmp_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lgmp $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_gmp_main=yes
+else
+ ac_cv_lib_gmp_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
+$as_echo "$ac_cv_lib_gmp_main" >&6; }
+if test "x$ac_cv_lib_gmp_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBGMP 1
+_ACEOF
+
+ LIBS="-lgmp $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lm':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
+$as_echo_n "checking for main in -lm... " >&6; }
+if ${ac_cv_lib_m_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_main=yes
+else
+ ac_cv_lib_m_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
+$as_echo "$ac_cv_lib_m_main" >&6; }
+if test "x$ac_cv_lib_m_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBM 1
+_ACEOF
+
+ LIBS="-lm $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lrt':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
+$as_echo_n "checking for main in -lrt... " >&6; }
+if ${ac_cv_lib_rt_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lrt $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_rt_main=yes
+else
+ ac_cv_lib_rt_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
+$as_echo "$ac_cv_lib_rt_main" >&6; }
+if test "x$ac_cv_lib_rt_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBRT 1
+_ACEOF
+
+ LIBS="-lrt $LIBS"
+
+fi
+
+
+# Checks for header files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
+$as_echo_n "checking for X... " >&6; }
+
+
+@%:@ Check whether --with-x was given.
+if test "${with_x+set}" = set; then :
+ withval=$with_x;
+fi
+
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+if test "x$with_x" = xno; then
+ # The user explicitly disabled X.
+ have_x=disabled
+else
+ case $x_includes,$x_libraries in #(
+ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
+ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # One or both of the vars are not set, and there is no cached value.
+ac_x_includes=no ac_x_libraries=no
+rm -f -r conftest.dir
+if mkdir conftest.dir; then
+ cd conftest.dir
+ cat >Imakefile <<'_ACEOF'
+incroot:
+ @echo incroot='${INCROOT}'
+usrlibdir:
+ @echo usrlibdir='${USRLIBDIR}'
+libdir:
+ @echo libdir='${LIBDIR}'
+_ACEOF
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
+ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+ for ac_var in incroot usrlibdir libdir; do
+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
+ done
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
+ for ac_extension in a so sl dylib la dll; do
+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
+ test -f "$ac_im_libdir/libX11.$ac_extension"; then
+ ac_im_usrlibdir=$ac_im_libdir; break
+ fi
+ done
+ # Screen out bogus values from the imake configuration. They are
+ # bogus both because they are the default anyway, and because
+ # using them would break gcc on systems where it needs fixed includes.
+ case $ac_im_incroot in
+ /usr/include) ac_x_includes= ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
+ esac
+ case $ac_im_usrlibdir in
+ /usr/lib | /usr/lib64 | /lib | /lib64) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
+ esac
+ fi
+ cd ..
+ rm -f -r conftest.dir
+fi
+
+# Standard set of common directories for X headers.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ac_x_header_dirs='
+/usr/X11/include
+/usr/X11R7/include
+/usr/X11R6/include
+/usr/X11R5/include
+/usr/X11R4/include
+
+/usr/include/X11
+/usr/include/X11R7
+/usr/include/X11R6
+/usr/include/X11R5
+/usr/include/X11R4
+
+/usr/local/X11/include
+/usr/local/X11R7/include
+/usr/local/X11R6/include
+/usr/local/X11R5/include
+/usr/local/X11R4/include
+
+/usr/local/include/X11
+/usr/local/include/X11R7
+/usr/local/include/X11R6
+/usr/local/include/X11R5
+/usr/local/include/X11R4
+
+/usr/X386/include
+/usr/x386/include
+/usr/XFree86/include/X11
+
+/usr/include
+/usr/local/include
+/usr/unsupported/include
+/usr/athena/include
+/usr/local/x11r5/include
+/usr/lpp/Xamples/include
+
+/usr/openwin/include
+/usr/openwin/share/include'
+
+if test "$ac_x_includes" = no; then
+ # Guess where to find include files, by looking for Xlib.h.
+ # First, try using that file with no special directory specified.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <X11/Xlib.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # We can compile using X headers with no special include directory.
+ac_x_includes=
+else
+ for ac_dir in $ac_x_header_dirs; do
+ if test -r "$ac_dir/X11/Xlib.h"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+done
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+fi # $ac_x_includes = no
+
+if test "$ac_x_libraries" = no; then
+ # Check for the libraries.
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS=$LIBS
+ LIBS="-lX11 $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <X11/Xlib.h>
+int
+main ()
+{
+XrmInitialize ()
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ LIBS=$ac_save_LIBS
+# We can link X programs with no special library path.
+ac_x_libraries=
+else
+ LIBS=$ac_save_LIBS
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+do
+ # Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl dylib la dll; do
+ if test -r "$ac_dir/libX11.$ac_extension"; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi # $ac_x_libraries = no
+
+case $ac_x_includes,$ac_x_libraries in #(
+ no,* | *,no | *\'*)
+ # Didn't find X, or a directory has "'" in its name.
+ ac_cv_have_x="have_x=no";; #(
+ *)
+ # Record where we found X for the cache.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$ac_x_includes'\
+ ac_x_libraries='$ac_x_libraries'"
+esac
+fi
+;; #(
+ *) have_x=yes;;
+ esac
+ eval "$ac_cv_have_x"
+fi # $with_x != no
+
+if test "$have_x" != yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
+$as_echo "$have_x" >&6; }
+ no_x=yes
+else
+ # If each of the values was on the command line, it overrides each guess.
+ test "x$x_includes" = xNONE && x_includes=$ac_x_includes
+ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
+ # Update the cache value to reflect the command line values.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$x_includes'\
+ ac_x_libraries='$x_libraries'"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
+fi
+
+for ac_header in fcntl.h libintl.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+# Checks for typedefs, structures, and compiler characteristics.
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
+if test "x$ac_cv_type_pid_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+@%:@define pid_t int
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
+if test "x$ac_cv_type_size_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+@%:@define size_t unsigned int
+_ACEOF
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
+if ${ac_cv_type_uid_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "uid_t" >/dev/null 2>&1; then :
+ ac_cv_type_uid_t=yes
+else
+ ac_cv_type_uid_t=no
+fi
+rm -f conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
+$as_echo "$ac_cv_type_uid_t" >&6; }
+if test $ac_cv_type_uid_t = no; then
+
+$as_echo "@%:@define uid_t int" >>confdefs.h
+
+
+$as_echo "@%:@define gid_t int" >>confdefs.h
+
+fi
+
+
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.9.0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
+$as_echo_n "checking for UUID... " >&6; }
+
+if test -n "$UUID_CFLAGS"; then
+ pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$UUID_LIBS"; then
+ pkg_cv_UUID_LIBS="$UUID_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ else
+ UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$UUID_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (uuid >= 1.0.2) were not met:
+
+$UUID_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
+ UUID_LIBS=$pkg_cv_UUID_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAO" >&5
+$as_echo_n "checking for LIBAO... " >&6; }
+
+if test -n "$LIBAO_CFLAGS"; then
+ pkg_cv_LIBAO_CFLAGS="$LIBAO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_CFLAGS=`$PKG_CONFIG --cflags "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBAO_LIBS"; then
+ pkg_cv_LIBAO_LIBS="$LIBAO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_LIBS=`$PKG_CONFIG --libs "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ else
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBAO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (ao >= 1.1.0) were not met:
+
+$LIBAO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBAO_CFLAGS=$pkg_cv_LIBAO_CFLAGS
+ LIBAO_LIBS=$pkg_cv_LIBAO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBASOUND2" >&5
+$as_echo_n "checking for LIBASOUND2... " >&6; }
+
+if test -n "$LIBASOUND2_CFLAGS"; then
+ pkg_cv_LIBASOUND2_CFLAGS="$LIBASOUND2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBASOUND2_LIBS"; then
+ pkg_cv_LIBASOUND2_LIBS="$LIBASOUND2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ else
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBASOUND2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (alsa >= 1.0.25) were not met:
+
+$LIBASOUND2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBASOUND2_CFLAGS=$pkg_cv_LIBASOUND2_CFLAGS
+ LIBASOUND2_LIBS=$pkg_cv_LIBASOUND2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
+$as_echo_n "checking for LIBXML2... " >&6; }
+
+if test -n "$LIBXML2_CFLAGS"; then
+ pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBXML2_LIBS"; then
+ pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ else
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBXML2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libxml-2.0 >= 2.8.0) were not met:
+
+$LIBXML2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
+ LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
+$as_echo_n "checking for SNDFILE... " >&6; }
+
+if test -n "$SNDFILE_CFLAGS"; then
+ pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$SNDFILE_LIBS"; then
+ pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ else
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$SNDFILE_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (sndfile >= 1.0.25) were not met:
+
+$SNDFILE_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
+ SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBINSTPATCH" >&5
+$as_echo_n "checking for LIBINSTPATCH... " >&6; }
+
+if test -n "$LIBINSTPATCH_CFLAGS"; then
+ pkg_cv_LIBINSTPATCH_CFLAGS="$LIBINSTPATCH_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBINSTPATCH_LIBS"; then
+ pkg_cv_LIBINSTPATCH_LIBS="$LIBINSTPATCH_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_LIBS=`$PKG_CONFIG --libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ else
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBINSTPATCH_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libinstpatch-1.0 >= 1.0) were not met:
+
+$LIBINSTPATCH_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBINSTPATCH_CFLAGS=$pkg_cv_LIBINSTPATCH_CFLAGS
+ LIBINSTPATCH_LIBS=$pkg_cv_LIBINSTPATCH_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
+$as_echo_n "checking for GOBJECT... " >&6; }
+
+if test -n "$GOBJECT_CFLAGS"; then
+ pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GOBJECT_LIBS"; then
+ pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ else
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GOBJECT_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3) were not met:
+
+$GOBJECT_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
+ GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDKPIXBUF" >&5
+$as_echo_n "checking for GDKPIXBUF... " >&6; }
+
+if test -n "$GDKPIXBUF_CFLAGS"; then
+ pkg_cv_GDKPIXBUF_CFLAGS="$GDKPIXBUF_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GDKPIXBUF_LIBS"; then
+ pkg_cv_GDKPIXBUF_LIBS="$GDKPIXBUF_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ else
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GDKPIXBUF_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gdk-pixbuf-2.0 >= 2.26.1) were not met:
+
+$GDKPIXBUF_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GDKPIXBUF_CFLAGS=$pkg_cv_GDKPIXBUF_CFLAGS
+ GDKPIXBUF_LIBS=$pkg_cv_GDKPIXBUF_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
+$as_echo_n "checking for CAIRO... " >&6; }
+
+if test -n "$CAIRO_CFLAGS"; then
+ pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$CAIRO_LIBS"; then
+ pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ else
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$CAIRO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (cairo >= 1.12.0) were not met:
+
+$CAIRO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
+ CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
+$as_echo_n "checking for GTK... " >&6; }
+
+if test -n "$GTK_CFLAGS"; then
+ pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GTK_LIBS"; then
+ pkg_cv_GTK_LIBS="$GTK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ else
+ GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GTK_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gtk+-2.0 >= 2.24.10) were not met:
+
+$GTK_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
+ GTK_LIBS=$pkg_cv_GTK_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+#PKG_CHECK_MODULES([XMLRPC_UTIL], [xmlrpc_util >= 1.16.33])
+#AC_SUBST(XMLRPC_UTIL_CFLAGS)
+#AC_SUBST(XMLRPC_UTIL_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER], [xmlrpc_client >= 1.#16.33])
+#AC_SUBST(XMLRPC_SERVER_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_CGI], [xmlrpc_server_cgi >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_CGI_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_CGI_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_ABYSS], [xmlrpc_server_abyss >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_ABYSS_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_ABYSS_LIBS)$
+
+# Checks for library functions.
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_malloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *malloc ();
+#endif
+
+int
+main ()
+{
+return ! malloc (0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_malloc_0_nonnull=yes
+else
+ ac_cv_func_malloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
+
+$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
+
+else
+ $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
+
+ case " $LIB@&t at OBJS " in
+ *" malloc.$ac_objext "* ) ;;
+ *) LIB@&t at OBJS="$LIB@&t at OBJS malloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
+
+fi
+
+
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
+$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
+if ${ac_cv_func_realloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_realloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *realloc ();
+#endif
+
+int
+main ()
+{
+return ! realloc (0, 0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_realloc_0_nonnull=yes
+else
+ ac_cv_func_realloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
+if test $ac_cv_func_realloc_0_nonnull = yes; then :
+
+$as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
+
+else
+ $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
+
+ case " $LIB@&t at OBJS " in
+ *" realloc.$ac_objext "* ) ;;
+ *) LIB@&t at OBJS="$LIB@&t at OBJS realloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
+
+fi
+
+
+for ac_func in atexit clock_gettime floor memset socket sqrt strchr strtol strtoul
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIB@&t at OBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIB@&t at OBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+@%:@ as_fn_executable_p FILE
+@%:@ -----------------------
+@%:@ Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} @%:@ as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <weedlight at gmail.com>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+gsequencer config.status 0.4.3
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
+@%:@@%:@ Running $as_me. @%:@@%:@
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
+predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
+postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
+predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
+postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
+LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
+reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
+reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
+postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
+
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in AS \
+DLLTOOL \
+OBJDUMP \
+SHELL \
+ECHO \
+PATH_SEPARATOR \
+SED \
+GREP \
+EGREP \
+FGREP \
+LD \
+NM \
+LN_S \
+lt_SP2NL \
+lt_NL2SP \
+reload_flag \
+deplibs_check_method \
+file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+sharedlib_from_linklib_cmd \
+AR \
+AR_FLAGS \
+archiver_list_spec \
+STRIP \
+RANLIB \
+CC \
+CFLAGS \
+compiler \
+lt_cv_sys_global_symbol_pipe \
+lt_cv_sys_global_symbol_to_cdecl \
+lt_cv_sys_global_symbol_to_import \
+lt_cv_sys_global_symbol_to_c_name_address \
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
+lt_cv_nm_interface \
+nm_file_list_spec \
+lt_cv_truncate_bin \
+lt_prog_compiler_no_builtin_flag \
+lt_prog_compiler_pic \
+lt_prog_compiler_wl \
+lt_prog_compiler_static \
+lt_cv_prog_compiler_c_o \
+need_locks \
+MANIFEST_TOOL \
+DSYMUTIL \
+NMEDIT \
+LIPO \
+OTOOL \
+OTOOL64 \
+shrext_cmds \
+export_dynamic_flag_spec \
+whole_archive_flag_spec \
+compiler_needs_object \
+with_gnu_ld \
+allow_undefined_flag \
+no_undefined_flag \
+hardcode_libdir_flag_spec \
+hardcode_libdir_separator \
+exclude_expsyms \
+include_expsyms \
+file_list_spec \
+variables_saved_for_relink \
+libname_spec \
+library_names_spec \
+soname_spec \
+install_override_mode \
+finish_eval \
+old_striplib \
+striplib \
+compiler_lib_search_dirs \
+predep_objects \
+postdep_objects \
+predeps \
+postdeps \
+compiler_lib_search_path \
+LD_CXX \
+reload_flag_CXX \
+compiler_CXX \
+lt_prog_compiler_no_builtin_flag_CXX \
+lt_prog_compiler_pic_CXX \
+lt_prog_compiler_wl_CXX \
+lt_prog_compiler_static_CXX \
+lt_cv_prog_compiler_c_o_CXX \
+export_dynamic_flag_spec_CXX \
+whole_archive_flag_spec_CXX \
+compiler_needs_object_CXX \
+with_gnu_ld_CXX \
+allow_undefined_flag_CXX \
+no_undefined_flag_CXX \
+hardcode_libdir_flag_spec_CXX \
+hardcode_libdir_separator_CXX \
+exclude_expsyms_CXX \
+include_expsyms_CXX \
+file_list_spec_CXX \
+compiler_lib_search_dirs_CXX \
+predep_objects_CXX \
+postdep_objects_CXX \
+predeps_CXX \
+postdeps_CXX \
+compiler_lib_search_path_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in reload_cmds \
+old_postinstall_cmds \
+old_postuninstall_cmds \
+old_archive_cmds \
+extract_expsyms_cmds \
+old_archive_from_new_cmds \
+old_archive_from_expsyms_cmds \
+archive_cmds \
+archive_expsym_cmds \
+module_cmds \
+module_expsym_cmds \
+export_symbols_cmds \
+prelink_cmds \
+postlink_cmds \
+postinstall_cmds \
+postuninstall_cmds \
+finish_cmds \
+sys_lib_search_path_spec \
+sys_lib_dlsearch_path_spec \
+reload_cmds_CXX \
+old_archive_cmds_CXX \
+old_archive_from_new_cmds_CXX \
+old_archive_from_expsyms_cmds_CXX \
+archive_cmds_CXX \
+archive_expsym_cmds_CXX \
+module_cmds_CXX \
+module_expsym_cmds_CXX \
+export_symbols_cmds_CXX \
+prelink_cmds_CXX \
+postlink_cmds_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+ac_aux_dir='$ac_aux_dir'
+
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ RM='$RM'
+ ofile='$ofile'
+
+
+
+
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "src/ags/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/Makefile" ;;
+ "src/ags/X/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/Makefile" ;;
+ "src/ags/X/editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/editor/Makefile" ;;
+ "src/ags/X/machine/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/machine/Makefile" ;;
+ "src/ags/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/Makefile" ;;
+ "src/ags/audio/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/file/Makefile" ;;
+ "src/ags/audio/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/recall/Makefile" ;;
+ "src/ags/audio/task/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/Makefile" ;;
+ "src/ags/audio/task/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/recall/Makefile" ;;
+ "src/ags/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/file/Makefile" ;;
+ "src/ags/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/lib/Makefile" ;;
+ "src/ags/object/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/object/Makefile" ;;
+ "src/ags/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/plugin/Makefile" ;;
+ "src/ags/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/server/Makefile" ;;
+ "src/ags/thread/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/thread/Makefile" ;;
+ "src/ags/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/util/Makefile" ;;
+ "src/ags/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/widget/Makefile" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "libtool":C)
+
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags='CXX '
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Assembler program.
+AS=$lt_AS
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Object dumper program.
+OBJDUMP=$lt_OBJDUMP
+
+# Which release of libtool.m4 was used?
+macro_version=$macro_version
+macro_revision=$macro_revision
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# What type of objects to build.
+pic_mode=$pic_mode
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
+# The host system.
+host_alias=$host_alias
+host=$host
+host_os=$host_os
+
+# The build system.
+build_alias=$build_alias
+build=$build
+build_os=$build_os
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="\$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP=$lt_GREP
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# A literal string matcher.
+FGREP=$lt_FGREP
+
+# A BSD- or MS-compatible name lister.
+NM=$lt_NM
+
+# Whether we need soft or hard links.
+LN_S=$lt_LN_S
+
+# What is the maximum length of a command?
+max_cmd_len=$max_cmd_len
+
+# Object file suffix (normally "o").
+objext=$ac_objext
+
+# Executable file suffix (normally "").
+exeext=$exeext
+
+# whether the shell understands "unset".
+lt_unset=$lt_unset
+
+# turn spaces into newlines.
+SP2NL=$lt_lt_SP2NL
+
+# turn newlines into spaces.
+NL2SP=$lt_lt_NL2SP
+
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd=$lt_file_magic_cmd
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
+# The archiver.
+AR=$lt_AR
+
+# Flags to create an archive.
+AR_FLAGS=$lt_AR_FLAGS
+
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
+# A symbol stripping program.
+STRIP=$lt_STRIP
+
+# Commands used to install an old-style archive.
+RANLIB=$lt_RANLIB
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
+# A C compiler.
+LTCC=$lt_CC
+
+# LTCC compiler flags.
+LTCFLAGS=$lt_CFLAGS
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm into a list of symbols to manually relocate.
+global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
+# The name lister interface.
+nm_interface=$lt_lt_cv_nm_interface
+
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
+
+# The root where to search for dependent libraries,and where our libraries should be installed.
+lt_sysroot=$lt_sysroot
+
+# Command to truncate a binary pipe.
+lt_truncate_bin=$lt_lt_cv_truncate_bin
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=$MAGIC_CMD
+
+# Must we lock files when doing compilation?
+need_locks=$lt_need_locks
+
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=$lt_DSYMUTIL
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=$lt_NMEDIT
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=$lt_LIPO
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=$lt_OTOOL
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=$lt_OTOOL64
+
+# Old archive suffix (normally "a").
+libext=$libext
+
+# Shared library suffix (normally ".so").
+shrext_cmds=$lt_shrext_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink=$lt_variables_saved_for_relink
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Library versioning type.
+version_type=$version_type
+
+# Shared library runtime path variable.
+runpath_var=$runpath_var
+
+# Shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=$lt_postinstall_cmds
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=$lt_finish_eval
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds
+
+# A language specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects
+postdep_objects=$lt_postdep_objects
+predeps=$lt_predeps
+postdeps=$lt_postdeps
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path
+
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+
+ cat <<_LT_EOF >> "$ofile"
+
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+# The linker used to build libraries.
+LD=$lt_LD_CXX
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds_CXX
+
+# A language specific compiler.
+CC=$lt_compiler_CXX
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC_CXX
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_CXX
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object_CXX
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds_CXX
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds_CXX
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld_CXX
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_CXX
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L_CXX
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic_CXX
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath_CXX
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_CXX
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols_CXX
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_CXX
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_CXX
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds_CXX
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec_CXX
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_CXX
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects_CXX
+postdep_objects=$lt_postdep_objects_CXX
+predeps=$lt_predeps_CXX
+postdeps=$lt_postdeps_CXX
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+
+# ### END LIBTOOL TAG CONFIG: CXX
+_LT_EOF
+
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+
+#
+# CONFIG_SUBDIRS section.
+#
+if test "$no_recursion" != yes; then
+
+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments
+ # so they do not pile up.
+ ac_sub_configure_args=
+ ac_prev=
+ eval "set x $ac_configure_args"
+ shift
+ for ac_arg
+ do
+ if test -n "$ac_prev"; then
+ ac_prev=
+ continue
+ fi
+ case $ac_arg in
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
+ | --c=*)
+ ;;
+ --config-cache | -C)
+ ;;
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ ;;
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ ;;
+ --disable-option-checking)
+ ;;
+ *)
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
+ esac
+ done
+
+ # Always prepend --prefix to ensure using the same prefix
+ # in subdir configurations.
+ ac_arg="--prefix=$prefix"
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
+
+ # Pass --silent
+ if test "$silent" = yes; then
+ ac_sub_configure_args="--silent $ac_sub_configure_args"
+ fi
+
+ # Always prepend --disable-option-checking to silence warnings, since
+ # different subdirs can have different --enable and --with options.
+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
+
+ ac_popdir=`pwd`
+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
+
+ # Do not complain, so a configure script can configure whichever
+ # parts of a large source tree are present.
+ test -d "$srcdir/$ac_dir" || continue
+
+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
+ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
+ $as_echo "$ac_msg" >&6
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ cd "$ac_dir"
+
+ # Check for guested configure; otherwise get Cygnus style configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ ac_sub_configure=$ac_srcdir/configure.gnu
+ elif test -f "$ac_srcdir/configure"; then
+ ac_sub_configure=$ac_srcdir/configure
+ elif test -f "$ac_srcdir/configure.in"; then
+ # This should be Cygnus configure.
+ ac_sub_configure=$ac_aux_dir/configure
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
+ ac_sub_configure=
+ fi
+
+ # The recursion is here.
+ if test -n "$ac_sub_configure"; then
+ # Make the cache file name correct relative to the subdirectory.
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
+ *) # Relative name.
+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
+ # The eval makes quoting arguments work.
+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
+ as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
+ fi
+
+ cd "$ac_popdir"
+ done
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
diff --git a/autom4te.cache/output.2 b/autom4te.cache/output.2
new file mode 100644
index 0000000..5d3149b
--- /dev/null
+++ b/autom4te.cache/output.2
@@ -0,0 +1,21439 @@
+@%:@! /bin/sh
+@%:@ Guess values for system-dependent variables and create Makefiles.
+@%:@ Generated by GNU Autoconf 2.69 for gsequencer 0.4.3.
+@%:@
+@%:@ Report bugs to <weedlight at gmail.com>.
+@%:@
+@%:@
+@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+@%:@
+@%:@
+@%:@ This configure script is free software; the Free Software Foundation
+@%:@ gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in @%:@ ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+
+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in @%:@(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in @%:@ ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf at gnu.org and
+$0: weedlight at gmail.com about your system, including any
+$0: error possibly output before this message. Then install
+$0: a modern shell, or manually run the script under such a
+$0: shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+
+@%:@ as_fn_executable_p FILE
+@%:@ -----------------------
+@%:@ Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} @%:@ as_fn_executable_p
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIB@&t at OBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='gsequencer'
+PACKAGE_TARNAME='gsequencer'
+PACKAGE_VERSION='0.4.3'
+PACKAGE_STRING='gsequencer 0.4.3'
+PACKAGE_BUGREPORT='weedlight at gmail.com'
+PACKAGE_URL=''
+
+ac_unique_file="config.h.in"
+enable_option_checking=no
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIB@&t at OBJS
+GTK_LIBS
+GTK_CFLAGS
+CAIRO_LIBS
+CAIRO_CFLAGS
+GDKPIXBUF_LIBS
+GDKPIXBUF_CFLAGS
+GOBJECT_LIBS
+GOBJECT_CFLAGS
+LIBINSTPATCH_LIBS
+LIBINSTPATCH_CFLAGS
+SNDFILE_LIBS
+SNDFILE_CFLAGS
+LIBXML2_LIBS
+LIBXML2_CFLAGS
+LIBASOUND2_LIBS
+LIBASOUND2_CFLAGS
+LIBAO_LIBS
+LIBAO_CFLAGS
+UUID_LIBS
+UUID_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+XMKMF
+CXXCPP
+OTOOL64
+OTOOL
+LIPO
+NMEDIT
+DSYMUTIL
+MANIFEST_TOOL
+ac_ct_AR
+AR
+NM
+ac_ct_DUMPBIN
+DUMPBIN
+LD
+FGREP
+EGREP
+GREP
+SED
+LIBTOOL
+OBJDUMP
+DLLTOOL
+AS
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+RANLIB
+LN_S
+CPP
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+ac_ct_CC
+CFLAGS
+CC
+am__fastdepCXX_FALSE
+am__fastdepCXX_TRUE
+CXXDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CXX
+CPPFLAGS
+LDFLAGS
+CXXFLAGS
+CXX
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+subdirs
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_dependency_tracking
+enable_shared
+enable_static
+with_pic
+enable_fast_install
+with_aix_soname
+with_gnu_ld
+with_sysroot
+enable_libtool_lock
+with_x
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CXX
+CXXFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CCC
+CC
+CFLAGS
+CPP
+CXXCPP
+XMKMF
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+UUID_CFLAGS
+UUID_LIBS
+LIBAO_CFLAGS
+LIBAO_LIBS
+LIBASOUND2_CFLAGS
+LIBASOUND2_LIBS
+LIBXML2_CFLAGS
+LIBXML2_LIBS
+SNDFILE_CFLAGS
+SNDFILE_LIBS
+LIBINSTPATCH_CFLAGS
+LIBINSTPATCH_LIBS
+GOBJECT_CFLAGS
+GOBJECT_LIBS
+GDKPIXBUF_CFLAGS
+GDKPIXBUF_LIBS
+CAIRO_CFLAGS
+CAIRO_LIBS
+GTK_CFLAGS
+GTK_LIBS'
+ac_subdirs_all='po
+ doc
+ src/ags
+ src/ags/X
+ src/ags/X/editor
+ src/ags/X/machine
+ src/ags/audio
+ src/ags/audio/file
+ src/ags/audio/recall
+ src/ags/audio/task
+ src/ags/audio/task/recall
+ src/ags/file
+ src/ags/lib
+ src/ags/object
+ src/ags/plugin
+ src/ags/server
+ src/ags/thread
+ src/ags/util
+ src/ags/widget'
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures gsequencer 0.4.3 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ @<:@@S|@ac_default_prefix@:>@
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ @<:@PREFIX@:>@
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/gsequencer@:>@
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+X features:
+ --x-includes=DIR X include files are in DIR
+ --x-libraries=DIR X library files are in DIR
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of gsequencer 0.4.3:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
+ --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
+ --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
+ --enable-fast-install@<:@=PKGS@:>@
+ optimize for fast installation @<:@default=yes@:>@
+ --disable-libtool-lock avoid locking (might break parallel builds)
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
+ both@:>@
+ --with-aix-soname=aix|svr4|both
+ shared library versioning (aka "SONAME") variant to
+ provide on AIX, @<:@default=aix@:>@.
+ --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
+ --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
+ compiler's sysroot if not specified).
+ --with-x use the X Window System
+
+Some influential environment variables:
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CC C compiler command
+ CFLAGS C compiler flags
+ CPP C preprocessor
+ CXXCPP C++ preprocessor
+ XMKMF Path to xmkmf, Makefile generator for X Window System
+ PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+ UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
+ UUID_LIBS linker flags for UUID, overriding pkg-config
+ LIBAO_CFLAGS
+ C compiler flags for LIBAO, overriding pkg-config
+ LIBAO_LIBS linker flags for LIBAO, overriding pkg-config
+ LIBASOUND2_CFLAGS
+ C compiler flags for LIBASOUND2, overriding pkg-config
+ LIBASOUND2_LIBS
+ linker flags for LIBASOUND2, overriding pkg-config
+ LIBXML2_CFLAGS
+ C compiler flags for LIBXML2, overriding pkg-config
+ LIBXML2_LIBS
+ linker flags for LIBXML2, overriding pkg-config
+ SNDFILE_CFLAGS
+ C compiler flags for SNDFILE, overriding pkg-config
+ SNDFILE_LIBS
+ linker flags for SNDFILE, overriding pkg-config
+ LIBINSTPATCH_CFLAGS
+ C compiler flags for LIBINSTPATCH, overriding pkg-config
+ LIBINSTPATCH_LIBS
+ linker flags for LIBINSTPATCH, overriding pkg-config
+ GOBJECT_CFLAGS
+ C compiler flags for GOBJECT, overriding pkg-config
+ GOBJECT_LIBS
+ linker flags for GOBJECT, overriding pkg-config
+ GDKPIXBUF_CFLAGS
+ C compiler flags for GDKPIXBUF, overriding pkg-config
+ GDKPIXBUF_LIBS
+ linker flags for GDKPIXBUF, overriding pkg-config
+ CAIRO_CFLAGS
+ C compiler flags for CAIRO, overriding pkg-config
+ CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
+ GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
+ GTK_LIBS linker flags for GTK, overriding pkg-config
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <weedlight at gmail.com>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+gsequencer configure 0.4.3
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+@%:@ ac_fn_cxx_try_compile LINENO
+@%:@ ----------------------------
+@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_compile
+
+@%:@ ac_fn_c_try_compile LINENO
+@%:@ --------------------------
+@%:@ Try to compile conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_compile
+
+@%:@ ac_fn_c_try_cpp LINENO
+@%:@ ----------------------
+@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_cpp
+
+@%:@ ac_fn_c_try_link LINENO
+@%:@ -----------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_link
+
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+@%:@ -------------------------------------------------------
+@%:@ Tests whether HEADER exists and can be compiled using the include files in
+@%:@ INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_header_compile
+
+@%:@ ac_fn_c_try_run LINENO
+@%:@ ----------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded. Assumes
+@%:@ that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_run
+
+@%:@ ac_fn_c_check_func LINENO FUNC VAR
+@%:@ ----------------------------------
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_func
+
+@%:@ ac_fn_cxx_try_cpp LINENO
+@%:@ ------------------------
+@%:@ Try to preprocess conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_cpp
+
+@%:@ ac_fn_cxx_try_link LINENO
+@%:@ -------------------------
+@%:@ Try to link conftest. at S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_link
+
+@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+@%:@ -------------------------------------------------------
+@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
+@%:@ the include files in INCLUDES and setting the cache variable VAR
+@%:@ accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## ---------------------------------- ##
+## Report this to weedlight at gmail.com ##
+## ---------------------------------- ##"
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_header_mongrel
+
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+@%:@ -------------------------------------------
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
+@%:@ variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} @%:@ ac_fn_c_check_type
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in @%:@((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+
+
+subdirs="$subdirs po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget"
+
+ac_config_files="$ac_config_files Makefile po/Makefile doc/Makefile src/ags/Makefile src/ags/X/Makefile src/ags/X/editor/Makefile src/ags/X/machine/Makefile src/ags/audio/Makefile src/ags/audio/file/Makefile src/ags/audio/recall/Makefile src/ags/audio/task/Makefile src/ags/audio/task/recall/Makefile src/ags/file/Makefile src/ags/lib/Makefile src/ags/object/Makefile src/ags/plugin/Makefile src/ags/server/Makefile src/ags/thread/Makefile src/ags/util/Makefile src/ags/widget/Makefile"
+
+
+am__api_version='1.14'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in @%:@((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+@%:@ Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+
+ PACKAGE=gsequencer
+ VERSION=0.4.3
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake at gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
+# Checks for programs.
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
+$as_echo_n "checking whether the C++ compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C++ compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
+$as_echo_n "checking for C++ compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C++ compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+@%:@ Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+
+depcc="$CXX" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
+if ${ac_cv_c_const+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this sort of thing. */
+ typedef int charset[2];
+ const charset cs = { 0, 0 };
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this sort of thing. */
+ char tx;
+ char *t = &tx;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; } bx;
+ struct s *b = &bx; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_c_const=yes
+else
+ ac_cv_c_const=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
+$as_echo "$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+$as_echo "@%:@define const /**/" >>confdefs.h
+
+fi
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
+set dummy ${ac_tool_prefix}as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AS"; then
+ ac_cv_prog_AS="$AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AS="${ac_tool_prefix}as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AS=$ac_cv_prog_AS
+if test -n "$AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
+$as_echo "$AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AS"; then
+ ac_ct_AS=$AS
+ # Extract the first word of "as", so it can be a program name with args.
+set dummy as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AS"; then
+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AS="as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
+if test -n "$ac_ct_AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
+$as_echo "$ac_ct_AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_AS" = x; then
+ AS="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AS=$ac_ct_AS
+ fi
+else
+ AS="$ac_cv_prog_AS"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+ ;;
+esac
+
+test -z "$AS" && AS=as
+
+
+
+
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+
+case `pwd` in
+ *\ * | *\ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
+esac
+
+
+
+macro_version='2.4.4'
+macro_revision='2.4.4'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO ""
+}
+
+case $ECHO in
+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
+$as_echo_n "checking for fgrep... " >&6; }
+if ${ac_cv_path_FGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
+ then ac_cv_path_FGREP="$GREP -F"
+ else
+ if test -z "$FGREP"; then
+ ac_path_FGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in fgrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_FGREP" || continue
+# Check for GNU ac_path_FGREP and select it if it is found.
+ # Check for GNU $ac_path_FGREP
+case `"$ac_path_FGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'FGREP' >> "conftest.nl"
+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_FGREP="$ac_path_FGREP"
+ ac_path_FGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_FGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_FGREP"; then
+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_FGREP=$FGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
+$as_echo "$ac_cv_path_FGREP" >&6; }
+ FGREP="$ac_cv_path_FGREP"
+
+
+test -z "$GREP" && GREP=grep
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@%:@ Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
+if ${lt_cv_path_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
+$as_echo "$lt_cv_path_NM" >&6; }
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in dumpbin "link -dump"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DUMPBIN"; then
+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DUMPBIN=$ac_cv_prog_DUMPBIN
+if test -n "$DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
+$as_echo "$DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$DUMPBIN" && break
+ done
+fi
+if test -z "$DUMPBIN"; then
+ ac_ct_DUMPBIN=$DUMPBIN
+ for ac_prog in dumpbin "link -dump"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DUMPBIN"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
+if test -n "$ac_ct_DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
+$as_echo "$ac_ct_DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_DUMPBIN" && break
+done
+
+ if test "x$ac_ct_DUMPBIN" = x; then
+ DUMPBIN=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DUMPBIN=$ac_ct_DUMPBIN
+ fi
+fi
+
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
+if ${lt_cv_nm_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: output\"" >&5)
+ cat conftest.out >&5
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
+$as_echo "$lt_cv_nm_interface" >&6; }
+
+# find the maximum length of command line arguments
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
+if ${lt_cv_sys_max_cmd_len+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+
+fi
+
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+$as_echo "none" >&6; }
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+
+
+
+
+
+: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+
+
+
+
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
+if ${lt_cv_ld_reload_flag+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test yes != "$GCC"; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test yes = "$GCC"; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
+if ${lt_cv_deplibs_check_method+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# 'unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# that responds to the $file_magic_cmd with a given extended regex.
+# If you have 'file' or equivalent on your system and you're not sure
+# whether 'pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[4-9]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[45]*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ if ( file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[3-9]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd* | bitrig*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+os2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh;
+ # decide which one to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ar_at_file=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -eq "$ac_status"; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -ne "$ac_status"; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test no = "$lt_cv_ar_at_file"; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+test -z "$STRIP" && STRIP=:
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+test -z "$RANLIB" && RANLIB=:
+
+
+
+
+
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ bitrig* | openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[BCDEGRST]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[BCDT]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[ABCDGISTW]'
+ ;;
+hpux*)
+ if test ia64 = "$host_cpu"; then
+ symcode='[ABCDEGRST]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[BCDEGRST]'
+ ;;
+osf*)
+ symcode='[BCDEGQRST]'
+ ;;
+solaris*)
+ symcode='[BDRT]'
+ ;;
+sco3.2v5*)
+ symcode='[DT]'
+ ;;
+sysv4.2uw2*)
+ symcode='[DT]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[ABDT]'
+ ;;
+sysv4)
+ symcode='[DFNSTU]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[ABCDGIRSTW]' ;;
+esac
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Gets list of data symbols to import.
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
+ # Adjust the below global symbol transforms to fixup imported variables.
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
+ lt_c_name_lib_hook="\
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
+else
+ # Disable hooks by default.
+ lt_cv_sys_global_symbol_to_import=
+ lt_cdecl_hook=
+ lt_c_name_hook=
+ lt_c_name_lib_hook=
+fi
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+$lt_cdecl_hook\
+" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
+$lt_c_name_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
+
+# Transform an extracted symbol line into symbol name with lib prefix and
+# symbol address.
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
+$lt_c_name_lib_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function,
+ # D for any global variable and I for any imported variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK '"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
+" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
+" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT@&t at _DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT@&t at _DLSYM_CONST
+#else
+# define LT@&t at _DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT@&t at _DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS=conftstm.$ac_objext
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest$ac_exeext; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&5
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+ fi
+ else
+ echo "$progname: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test yes = "$pipe_works"; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+
+fi
+
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
+$as_echo "failed" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+@%:@ Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+ withval=$with_sysroot;
+else
+ with_sysroot=no
+fi
+
+
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
+$as_echo "$with_sysroot" >&6; }
+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+ ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
+$as_echo_n "checking for a working dd... " >&6; }
+if ${ac_cv_path_lt_DD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+: ${lt_DD:=$DD}
+if test -z "$lt_DD"; then
+ ac_path_lt_DD_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in dd; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_lt_DD" || continue
+if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
+fi
+ $ac_path_lt_DD_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_lt_DD"; then
+ :
+ fi
+else
+ ac_cv_path_lt_DD=$lt_DD
+fi
+
+rm -f conftest.i conftest2.i conftest.out
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
+$as_echo "$ac_cv_path_lt_DD" >&6; }
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
+$as_echo_n "checking how to truncate binary pipes... " >&6; }
+if ${lt_cv_truncate_bin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+lt_cv_truncate_bin=
+if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
+fi
+rm -f conftest.i conftest2.i conftest.out
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
+$as_echo "$lt_cv_truncate_bin" >&6; }
+
+
+
+
+
+
+@%:@ Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then :
+ enableval=$enable_libtool_lock;
+fi
+
+test no = "$enable_libtool_lock" || enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out what ABI is being produced by ac_compile, and set mode
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE=32
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE=64
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly. Note that the listed cases only cover the
+ # situations where additional linker options are needed (such as when
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
+ # vice versa); the common cases where no linker options are needed do
+ # not appear in the list.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -belf"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
+if ${lt_cv_cc_needs_belf+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_cc_needs_belf=yes
+else
+ lt_cv_cc_needs_belf=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
+ if test yes != "$lt_cv_cc_needs_belf"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS=$SAVE_CFLAGS
+ fi
+ ;;
+*-*solaris*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*|x86_64-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD=${LD-ld}_sol2
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks=$enable_libtool_lock
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$MANIFEST_TOOL"; then
+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+ # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_MANIFEST_TOOL"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
+ MANIFEST_TOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+ fi
+else
+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&5
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test yes != "$lt_cv_path_mainfest_tool"; then
+ MANIFEST_TOOL=:
+fi
+
+
+
+
+
+
+ case $host_os in
+ rhapsody* | darwin*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DSYMUTIL"; then
+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
+if test -n "$DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
+$as_echo "$DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DSYMUTIL"; then
+ ac_ct_DSYMUTIL=$DSYMUTIL
+ # Extract the first word of "dsymutil", so it can be a program name with args.
+set dummy dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DSYMUTIL"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
+if test -n "$ac_ct_DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DSYMUTIL" = x; then
+ DSYMUTIL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DSYMUTIL=$ac_ct_DSYMUTIL
+ fi
+else
+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NMEDIT"; then
+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+NMEDIT=$ac_cv_prog_NMEDIT
+if test -n "$NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
+$as_echo "$NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_NMEDIT"; then
+ ac_ct_NMEDIT=$NMEDIT
+ # Extract the first word of "nmedit", so it can be a program name with args.
+set dummy nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_NMEDIT"; then
+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
+if test -n "$ac_ct_NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
+$as_echo "$ac_ct_NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_NMEDIT" = x; then
+ NMEDIT=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ NMEDIT=$ac_ct_NMEDIT
+ fi
+else
+ NMEDIT="$ac_cv_prog_NMEDIT"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LIPO"; then
+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LIPO=$ac_cv_prog_LIPO
+if test -n "$LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
+$as_echo "$LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_LIPO"; then
+ ac_ct_LIPO=$LIPO
+ # Extract the first word of "lipo", so it can be a program name with args.
+set dummy lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_LIPO"; then
+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_LIPO="lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
+if test -n "$ac_ct_LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
+$as_echo "$ac_ct_LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_LIPO" = x; then
+ LIPO=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ LIPO=$ac_ct_LIPO
+ fi
+else
+ LIPO="$ac_cv_prog_LIPO"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL"; then
+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL=$ac_cv_prog_OTOOL
+if test -n "$OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
+$as_echo "$OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL"; then
+ ac_ct_OTOOL=$OTOOL
+ # Extract the first word of "otool", so it can be a program name with args.
+set dummy otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL"; then
+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL="otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
+if test -n "$ac_ct_OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
+$as_echo "$ac_ct_OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL" = x; then
+ OTOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL=$ac_ct_OTOOL
+ fi
+else
+ OTOOL="$ac_cv_prog_OTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL64"; then
+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL64=$ac_cv_prog_OTOOL64
+if test -n "$OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
+$as_echo "$OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL64"; then
+ ac_ct_OTOOL64=$OTOOL64
+ # Extract the first word of "otool64", so it can be a program name with args.
+set dummy otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL64"; then
+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL64="otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
+if test -n "$ac_ct_OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
+$as_echo "$ac_ct_OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL64" = x; then
+ OTOOL64=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL64=$ac_ct_OTOOL64
+ fi
+else
+ OTOOL64="$ac_cv_prog_OTOOL64"
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
+$as_echo_n "checking for -single_module linker flag... " >&6; }
+if ${lt_cv_apple_cc_single_mod+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_apple_cc_single_mod=no
+ if test -z "$LT_MULTI_MODULE"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&5
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_ld_exported_symbols_list=yes
+else
+ lt_cv_ld_exported_symbols_list=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
+ echo "$RANLIB libconftest.a" >&5
+ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&5
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
+ case $host_os in
+ rhapsody* | darwin1.[012])
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ 10.[012][,.]*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
+ fi
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in dlfcn.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
+"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_DLFCN_H 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+func_stripname_cnf ()
+{
+ case @S|@2 in
+ .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
+ *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
+ esac
+} # func_stripname_cnf
+
+
+
+
+
+# Set options
+
+
+
+ enable_dlopen=no
+
+
+
+ @%:@ Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then :
+ enableval=$enable_shared; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_shared=yes
+fi
+
+
+
+
+
+
+
+
+
+ @%:@ Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_static=yes
+fi
+
+
+
+
+
+
+
+
+
+
+@%:@ Check whether --with-pic was given.
+if test "${with_pic+set}" = set; then :
+ withval=$with_pic; lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for lt_pkg in $withval; do
+ IFS=$lt_save_ifs
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ pic_mode=default
+fi
+
+
+
+
+
+
+
+
+ @%:@ Check whether --enable-fast-install was given.
+if test "${enable_fast_install+set}" = set; then :
+ enableval=$enable_fast_install; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_fast_install=yes
+fi
+
+
+
+
+
+
+
+
+ shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[5-9]*,yes)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
+$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
+
+@%:@ Check whether --with-aix-soname was given.
+if test "${with_aix_soname+set}" = set; then :
+ withval=$with_aix_soname; case $withval in
+ aix|svr4|both)
+ ;;
+ *)
+ as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
+ ;;
+ esac
+ lt_cv_with_aix_soname=$with_aix_soname
+else
+ if ${lt_cv_with_aix_soname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_with_aix_soname=aix
+fi
+
+ with_aix_soname=$lt_cv_with_aix_soname
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
+$as_echo "$with_aix_soname" >&6; }
+ if test aix != "$with_aix_soname"; then
+ # For the AIX way of multilib, we name the shared archive member
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
+ if test 64 = "${OBJECT_MODE-32}"; then
+ shared_archive_member_spec=shr_64
+ else
+ shared_archive_member_spec=shr
+ fi
+ fi
+ ;;
+*)
+ with_aix_soname=aix
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+test -z "$LN_S" && LN_S="ln -s"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+$as_echo_n "checking for objdir... " >&6; }
+if ${lt_cv_objdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
+$as_echo "$lt_cv_objdir" >&6; }
+objdir=$lt_cv_objdir
+
+
+
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define LT_OBJDIR "$lt_cv_objdir/"
+_ACEOF
+
+
+
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+old_CC=$CC
+old_CFLAGS=$CFLAGS
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/${ac_tool_prefix}file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+
+
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
+$as_echo_n "checking for file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ else
+ MAGIC_CMD=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+
+lt_save_CC=$CC
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+objext=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+
+lt_prog_compiler_no_builtin_flag=
+
+if test yes = "$GCC"; then
+ case $cc_basename in
+ nvcc*)
+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+ *)
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+
+
+
+
+
+ lt_prog_compiler_wl=
+lt_prog_compiler_pic=
+lt_prog_compiler_static=
+
+
+ if test yes = "$GCC"; then
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_static='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ lt_prog_compiler_wl='-Xlinker '
+ if test -n "$lt_prog_compiler_pic"; then
+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl='-Wl,'
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ else
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ case $cc_basename in
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static='$wl-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ # old Intel for x86_64, which still supported -KPIC.
+ ecc*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-qpic'
+ lt_prog_compiler_static='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Wl,'
+ ;;
+ *Intel*\ [CF]*Compiler*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ *Portland\ Group*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ rdos*)
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl='-Qoption ld '
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic='-Kconform_pic'
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ unicos*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_can_build_shared=no
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic='-pic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic=
+ ;;
+ *)
+ lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works"; then
+ case $lt_prog_compiler_pic in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
+ esac
+else
+ lt_prog_compiler_pic=
+ lt_prog_compiler_can_build_shared=no
+fi
+
+fi
+
+
+
+
+
+
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works"; then
+ :
+else
+ lt_prog_compiler_static=
+fi
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ runpath_var=
+ allow_undefined_flag=
+ always_export_symbols=no
+ archive_cmds=
+ archive_expsym_cmds=
+ compiler_needs_object=no
+ enable_shared_with_static_runtimes=no
+ export_dynamic_flag_spec=
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ hardcode_automatic=no
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_separator=
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=unsupported
+ inherit_rpath=no
+ link_all_deplibs=unknown
+ module_cmds=
+ module_expsym_cmds=
+ old_archive_from_new_cmds=
+ old_archive_from_expsyms_cmds=
+ thread_safe_flag_spec=
+ whole_archive_flag_spec=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
+ # as well as any symbol that contains 'd'.
+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test yes != "$GCC"; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd* | bitrig*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test yes = "$with_gnu_ld"; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+ *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test yes = "$lt_use_gnu_ld_interface"; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='$wl'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec='$wl--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[3-9]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test ia64 != "$host_cpu"; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ export_dynamic_flag_spec='$wl--export-all-symbols'
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ haiku*)
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs=yes
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test linux-dietlibc = "$host_os"; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test no = "$tmp_diet"
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ whole_archive_flag_spec=
+ tmp_sharedflag='--shared' ;;
+ nagfor*) # NAGFOR 5.3
+ tmp_sharedflag='-Wl,-shared' ;;
+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ tcc*)
+ export_dynamic_flag_spec='-rdynamic'
+ ;;
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+
+ if test no = "$ld_shlibs"; then
+ runpath_var=
+ hardcode_libdir_flag_spec=
+ export_dynamic_flag_spec=
+ whole_archive_flag_spec=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds=''
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ file_list_spec='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # traditional, no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ ;;
+ esac
+
+ if test yes = "$GCC"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag="$shared_flag "'$wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ always_export_symbols=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag=' $wl-bernotok'
+ allow_undefined_flag=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec='$convenience'
+ fi
+ archive_cmds_need_lc=yes
+ archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared libraries.
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[45]*)
+ export_dynamic_flag_spec=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ file_list_spec='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+ enable_shared_with_static_runtimes=yes
+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ old_postinstall_cmds='chmod 644 $oldlib'
+ postlink_cmds='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_from_new_cmds='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ enable_shared_with_static_runtimes=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc=no
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec=''
+ fi
+ link_all_deplibs=yes
+ allow_undefined_flag=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+
+ else
+ ld_shlibs=no
+ fi
+
+ ;;
+
+ dgux*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ hpux9*)
+ if test yes = "$GCC"; then
+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ export_dynamic_flag_spec='$wl-E'
+ ;;
+
+ hpux10*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler__b=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -b"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler__b=yes
+ fi
+ else
+ lt_cv_prog_compiler__b=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test yes = "$lt_cv_prog_compiler__b"; then
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
+ ;;
+ esac
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ ;;
+ *)
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo (void) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_irix_exported_symbol=yes
+else
+ lt_cv_irix_exported_symbol=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+ if test yes = "$lt_cv_irix_exported_symbol"; then
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
+ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ inherit_rpath=yes
+ link_all_deplibs=yes
+ ;;
+
+ linux*)
+ case $cc_basename in
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ ld_shlibs=yes
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ newsos6)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_shlibpath_var=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ hardcode_direct_absolute=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ else
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ osf3*)
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_separator=:
+ ;;
+
+ solaris*)
+ no_undefined_flag=' -z defs'
+ if test yes = "$GCC"; then
+ wlarc='$wl'
+ archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='$wl'
+ archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_shlibpath_var=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test yes = "$GCC"; then
+ whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ else
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ link_all_deplibs=yes
+ ;;
+
+ sunos4*)
+ if test sequent = "$host_vendor"; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds='$CC -r -o $output$reload_objs'
+ hardcode_direct=no
+ ;;
+ motorola)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag='$wl-z,text'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag='$wl-z,text'
+ allow_undefined_flag='$wl-z,nodefs'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-R,$libdir'
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ export_dynamic_flag_spec='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+
+ if test sni = "$host_vendor"; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ export_dynamic_flag_spec='$wl-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
+$as_echo "$ld_shlibs" >&6; }
+test no = "$ld_shlibs" && can_build_shared=no
+
+with_gnu_ld=$with_gnu_ld
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ pic_flag=$lt_prog_compiler_pic
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc=no
+ else
+ lt_cv_archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+if test yes = "$GCC"; then
+ case $host_os in
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
+ *) lt_awk_arg='/^libraries:/' ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary...
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ # ...but if some path component already ends with the multilib dir we assume
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
+ lt_multi_os_dir=
+ ;;
+ esac
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
+ elif test -n "$lt_multi_os_dir"; then
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS = " "; FS = "/|\n";} {
+ lt_foo = "";
+ lt_count = 0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo = "/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[lt_foo]++; }
+ if (lt_freq[lt_foo] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" ||
+ test -n "$runpath_var" ||
+ test yes = "$hardcode_automatic"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
+ test no != "$hardcode_minus_L"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
+$as_echo "$hardcode_action" >&6; }
+
+if test relink = "$hardcode_action" ||
+ test yes = "$inherit_rpath"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+ if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
+if test "x$ac_cv_func_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if ${ac_cv_lib_dld_shl_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_shl_load=yes
+else
+ ac_cv_lib_dld_shl_load=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
+else
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if ${ac_cv_lib_svld_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_svld_dlopen=yes
+else
+ ac_cv_lib_svld_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if ${ac_cv_lib_dld_dld_link+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_dld_link=yes
+else
+ ac_cv_lib_dld_dld_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+ lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
+$as_echo "$lt_cv_dlopen_self" >&6; }
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self_static+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+striplib=
+old_striplib=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+ # Report what library types will actually be built
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
+$as_echo "$can_build_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+$as_echo_n "checking whether to build shared libraries... " >&6; }
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
+$as_echo "$enable_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
+$as_echo_n "checking whether to build static libraries... " >&6; }
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
+$as_echo "$enable_static" >&6; }
+
+
+
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC=$lt_save_CC
+
+ if test -n "$CXX" && ( test no != "$CXX" &&
+ ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
+ (test g++ != "$CXX"))); then
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
+if test -z "$CXXCPP"; then
+ if ${ac_cv_prog_CXXCPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CXXCPP needs to be expanded
+ for CXXCPP in "$CXX -E" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CXXCPP=$CXXCPP
+
+fi
+ CXXCPP=$ac_cv_prog_CXXCPP
+else
+ ac_cv_prog_CXXCPP=$CXXCPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
+$as_echo "$CXXCPP" >&6; }
+ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+else
+ _lt_caught_CXX_error=yes
+fi
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+archive_cmds_need_lc_CXX=no
+allow_undefined_flag_CXX=
+always_export_symbols_CXX=no
+archive_expsym_cmds_CXX=
+compiler_needs_object_CXX=no
+export_dynamic_flag_spec_CXX=
+hardcode_direct_CXX=no
+hardcode_direct_absolute_CXX=no
+hardcode_libdir_flag_spec_CXX=
+hardcode_libdir_separator_CXX=
+hardcode_minus_L_CXX=no
+hardcode_shlibpath_var_CXX=unsupported
+hardcode_automatic_CXX=no
+inherit_rpath_CXX=no
+module_cmds_CXX=
+module_expsym_cmds_CXX=
+link_all_deplibs_CXX=unknown
+old_archive_cmds_CXX=$old_archive_cmds
+reload_flag_CXX=$reload_flag
+reload_cmds_CXX=$reload_cmds
+no_undefined_flag_CXX=
+whole_archive_flag_spec_CXX=
+enable_shared_with_static_runtimes_CXX=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+objext_CXX=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_caught_CXX_error"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+ # save warnings/boilerplate of simple test code
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ compiler_CXX=$CC
+ for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test yes = "$GXX"; then
+ lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
+ else
+ lt_prog_compiler_no_builtin_flag_CXX=
+ fi
+
+ if test yes = "$GXX"; then
+ # Set up default GNU C++ configuration
+
+
+
+@%:@ Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test yes = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='$wl'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec_CXX=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+ ld_shlibs_CXX=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_CXX=''
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ file_list_spec_CXX='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct_CXX=no
+ hardcode_direct_absolute_CXX=no
+ ;;
+ esac
+
+ if test yes = "$GXX"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct_CXX=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_CXX=yes
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_libdir_separator_CXX=
+ fi
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag=$shared_flag' $wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec_CXX='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ always_export_symbols_CXX=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ # The "-G" linker flag allows undefined symbols.
+ no_undefined_flag_CXX='-bernotok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+
+ archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_CXX="-z nodefs"
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_CXX=' $wl-bernotok'
+ allow_undefined_flag_CXX=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_CXX='$convenience'
+ fi
+ archive_cmds_need_lc_CXX=yes
+ archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared
+ # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag_CXX=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX=' '
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=yes
+ file_list_spec_CXX='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
+ enable_shared_with_static_runtimes_CXX=yes
+ # Don't use ranlib
+ old_postinstall_cmds_CXX='chmod 644 $oldlib'
+ postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=no
+ enable_shared_with_static_runtimes_CXX=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc_CXX=no
+ hardcode_direct_CXX=no
+ hardcode_automatic_CXX=yes
+ hardcode_shlibpath_var_CXX=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec_CXX=''
+ fi
+ link_all_deplibs_CXX=yes
+ allow_undefined_flag_CXX=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+ if test yes != "$lt_cv_apple_cc_single_mod"; then
+ archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+ fi
+
+ else
+ ld_shlibs_CXX=no
+ fi
+
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_minus_L_CXX=yes
+ allow_undefined_flag_CXX=unsupported
+ shrext_cmds=.dll
+ archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes_CXX=yes
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ ld_shlibs_CXX=no
+ ;;
+
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+ ;;
+
+ haiku*)
+ archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs_CXX=yes
+ ;;
+
+ hpux9*)
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ export_dynamic_flag_spec_CXX='$wl-E'
+ hardcode_direct_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ export_dynamic_flag_spec_CXX='$wl-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ ;;
+ *)
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+ ;;
+ esac
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ inherit_rpath_CXX=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ archive_cmds_need_lc_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
+ prelink_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ old_archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object_CXX=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ ld_shlibs_CXX=yes
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ hardcode_direct_absolute_CXX=yes
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ ;;
+ *)
+ allow_undefined_flag_CXX=' -expect_unresolved \*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
+ $RM $lib.exp'
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ ;;
+ esac
+
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ case $host in
+ osf3*)
+ archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ archive_cmds_need_lc_CXX=yes
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_shlibpath_var_CXX=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ link_all_deplibs_CXX=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ no_undefined_flag_CXX=' $wl-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require '-G' NOT '-shared' on this
+ # platform.
+ archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag_CXX='$wl-z,text'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag_CXX='$wl-z,text'
+ allow_undefined_flag_CXX='$wl-z,nodefs'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ export_dynamic_flag_spec_CXX='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
+ '"$old_archive_cmds_CXX"
+ reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
+ '"$reload_cmds_CXX"
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+ test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+ GCC_CXX=$GXX
+ LD_CXX=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ # Dependencies to place before and after the object being linked:
+predep_objects_CXX=
+postdep_objects_CXX=
+predeps_CXX=
+postdeps_CXX=
+compiler_lib_search_path_CXX=
+
+cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test x-L = "$p" ||
+ test x-R = "$p"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test no = "$pre_test_object_deps_done"; then
+ case $prev in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$compiler_lib_search_path_CXX"; then
+ compiler_lib_search_path_CXX=$prev$p
+ else
+ compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$postdeps_CXX"; then
+ postdeps_CXX=$prev$p
+ else
+ postdeps_CXX="${postdeps_CXX} $prev$p"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test no = "$pre_test_object_deps_done"; then
+ if test -z "$predep_objects_CXX"; then
+ predep_objects_CXX=$p
+ else
+ predep_objects_CXX="$predep_objects_CXX $p"
+ fi
+ else
+ if test -z "$postdep_objects_CXX"; then
+ postdep_objects_CXX=$p
+ else
+ postdep_objects_CXX="$postdep_objects_CXX $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling CXX test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+case $host_os in
+interix[3-9]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ predep_objects_CXX=
+ postdep_objects_CXX=
+ postdeps_CXX=
+ ;;
+
+linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ # Adding this requires a known-good setup of shared libraries for
+ # Sun compiler versions before 5.6, else PIC objects from an old
+ # archive will be linked into the output, leading to subtle bugs.
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+esac
+
+
+case " $postdeps_CXX " in
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
+esac
+ compiler_lib_search_dirs_CXX=
+if test -n "${compiler_lib_search_path_CXX}"; then
+ compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ lt_prog_compiler_wl_CXX=
+lt_prog_compiler_pic_CXX=
+lt_prog_compiler_static_CXX=
+
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test yes = "$GXX"; then
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ fi
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static_CXX='$wl-static'
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_CXX='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ lt_prog_compiler_pic_CXX=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static_CXX=
+ ;;
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_CXX=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[4-9]*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ else
+ lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ if test ia64 != "$host_cpu"; then
+ lt_prog_compiler_pic_CXX='+Z'
+ fi
+ ;;
+ aCC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64, which still supported -KPIC.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fpic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-qpic'
+ lt_prog_compiler_static_CXX='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ lt_prog_compiler_pic_CXX='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ lt_prog_compiler_wl_CXX='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ lt_prog_compiler_pic_CXX='-pic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ lt_prog_compiler_can_build_shared_CXX=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_CXX=
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
+lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works_CXX=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works_CXX=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
+ case $lt_prog_compiler_pic_CXX in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
+ esac
+else
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_can_build_shared_CXX=no
+fi
+
+fi
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works_CXX=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
+ :
+else
+ lt_prog_compiler_static_CXX=
+fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ case $host_os in
+ aix[4-9]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX=$ltdll_cmds
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+ ;;
+ esac
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+with_gnu_ld_CXX=$with_gnu_ld
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_CXX" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_CXX=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds_CXX in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_CXX
+ pic_flag=$lt_prog_compiler_pic_CXX
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+ allow_undefined_flag_CXX=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc_CXX=no
+ else
+ lt_cv_archive_cmds_need_lc_CXX=yes
+ fi
+ allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
+ archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action_CXX=
+if test -n "$hardcode_libdir_flag_spec_CXX" ||
+ test -n "$runpath_var_CXX" ||
+ test yes = "$hardcode_automatic_CXX"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct_CXX" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
+ test no != "$hardcode_minus_L_CXX"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_CXX=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_CXX=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_CXX=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
+$as_echo "$hardcode_action_CXX" >&6; }
+
+if test relink = "$hardcode_action_CXX" ||
+ test yes = "$inherit_rpath_CXX"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test yes != "$_lt_caught_CXX_error"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
+
+
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-lgmp':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
+$as_echo_n "checking for main in -lgmp... " >&6; }
+if ${ac_cv_lib_gmp_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lgmp $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_gmp_main=yes
+else
+ ac_cv_lib_gmp_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
+$as_echo "$ac_cv_lib_gmp_main" >&6; }
+if test "x$ac_cv_lib_gmp_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBGMP 1
+_ACEOF
+
+ LIBS="-lgmp $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lm':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
+$as_echo_n "checking for main in -lm... " >&6; }
+if ${ac_cv_lib_m_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_main=yes
+else
+ ac_cv_lib_m_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
+$as_echo "$ac_cv_lib_m_main" >&6; }
+if test "x$ac_cv_lib_m_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBM 1
+_ACEOF
+
+ LIBS="-lm $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lrt':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
+$as_echo_n "checking for main in -lrt... " >&6; }
+if ${ac_cv_lib_rt_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lrt $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_rt_main=yes
+else
+ ac_cv_lib_rt_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
+$as_echo "$ac_cv_lib_rt_main" >&6; }
+if test "x$ac_cv_lib_rt_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_LIBRT 1
+_ACEOF
+
+ LIBS="-lrt $LIBS"
+
+fi
+
+
+# Checks for header files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
+$as_echo_n "checking for X... " >&6; }
+
+
+@%:@ Check whether --with-x was given.
+if test "${with_x+set}" = set; then :
+ withval=$with_x;
+fi
+
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+if test "x$with_x" = xno; then
+ # The user explicitly disabled X.
+ have_x=disabled
+else
+ case $x_includes,$x_libraries in #(
+ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
+ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # One or both of the vars are not set, and there is no cached value.
+ac_x_includes=no ac_x_libraries=no
+rm -f -r conftest.dir
+if mkdir conftest.dir; then
+ cd conftest.dir
+ cat >Imakefile <<'_ACEOF'
+incroot:
+ @echo incroot='${INCROOT}'
+usrlibdir:
+ @echo usrlibdir='${USRLIBDIR}'
+libdir:
+ @echo libdir='${LIBDIR}'
+_ACEOF
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
+ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+ for ac_var in incroot usrlibdir libdir; do
+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
+ done
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
+ for ac_extension in a so sl dylib la dll; do
+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
+ test -f "$ac_im_libdir/libX11.$ac_extension"; then
+ ac_im_usrlibdir=$ac_im_libdir; break
+ fi
+ done
+ # Screen out bogus values from the imake configuration. They are
+ # bogus both because they are the default anyway, and because
+ # using them would break gcc on systems where it needs fixed includes.
+ case $ac_im_incroot in
+ /usr/include) ac_x_includes= ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
+ esac
+ case $ac_im_usrlibdir in
+ /usr/lib | /usr/lib64 | /lib | /lib64) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
+ esac
+ fi
+ cd ..
+ rm -f -r conftest.dir
+fi
+
+# Standard set of common directories for X headers.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ac_x_header_dirs='
+/usr/X11/include
+/usr/X11R7/include
+/usr/X11R6/include
+/usr/X11R5/include
+/usr/X11R4/include
+
+/usr/include/X11
+/usr/include/X11R7
+/usr/include/X11R6
+/usr/include/X11R5
+/usr/include/X11R4
+
+/usr/local/X11/include
+/usr/local/X11R7/include
+/usr/local/X11R6/include
+/usr/local/X11R5/include
+/usr/local/X11R4/include
+
+/usr/local/include/X11
+/usr/local/include/X11R7
+/usr/local/include/X11R6
+/usr/local/include/X11R5
+/usr/local/include/X11R4
+
+/usr/X386/include
+/usr/x386/include
+/usr/XFree86/include/X11
+
+/usr/include
+/usr/local/include
+/usr/unsupported/include
+/usr/athena/include
+/usr/local/x11r5/include
+/usr/lpp/Xamples/include
+
+/usr/openwin/include
+/usr/openwin/share/include'
+
+if test "$ac_x_includes" = no; then
+ # Guess where to find include files, by looking for Xlib.h.
+ # First, try using that file with no special directory specified.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <X11/Xlib.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # We can compile using X headers with no special include directory.
+ac_x_includes=
+else
+ for ac_dir in $ac_x_header_dirs; do
+ if test -r "$ac_dir/X11/Xlib.h"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+done
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+fi # $ac_x_includes = no
+
+if test "$ac_x_libraries" = no; then
+ # Check for the libraries.
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS=$LIBS
+ LIBS="-lX11 $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <X11/Xlib.h>
+int
+main ()
+{
+XrmInitialize ()
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ LIBS=$ac_save_LIBS
+# We can link X programs with no special library path.
+ac_x_libraries=
+else
+ LIBS=$ac_save_LIBS
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+do
+ # Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl dylib la dll; do
+ if test -r "$ac_dir/libX11.$ac_extension"; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi # $ac_x_libraries = no
+
+case $ac_x_includes,$ac_x_libraries in #(
+ no,* | *,no | *\'*)
+ # Didn't find X, or a directory has "'" in its name.
+ ac_cv_have_x="have_x=no";; #(
+ *)
+ # Record where we found X for the cache.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$ac_x_includes'\
+ ac_x_libraries='$ac_x_libraries'"
+esac
+fi
+;; #(
+ *) have_x=yes;;
+ esac
+ eval "$ac_cv_have_x"
+fi # $with_x != no
+
+if test "$have_x" != yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
+$as_echo "$have_x" >&6; }
+ no_x=yes
+else
+ # If each of the values was on the command line, it overrides each guess.
+ test "x$x_includes" = xNONE && x_includes=$ac_x_includes
+ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
+ # Update the cache value to reflect the command line values.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$x_includes'\
+ ac_x_libraries='$x_libraries'"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
+fi
+
+for ac_header in fcntl.h libintl.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+# Checks for typedefs, structures, and compiler characteristics.
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
+if test "x$ac_cv_type_pid_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+@%:@define pid_t int
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
+if test "x$ac_cv_type_size_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+@%:@define size_t unsigned int
+_ACEOF
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
+if ${ac_cv_type_uid_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "uid_t" >/dev/null 2>&1; then :
+ ac_cv_type_uid_t=yes
+else
+ ac_cv_type_uid_t=no
+fi
+rm -f conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
+$as_echo "$ac_cv_type_uid_t" >&6; }
+if test $ac_cv_type_uid_t = no; then
+
+$as_echo "@%:@define uid_t int" >>confdefs.h
+
+
+$as_echo "@%:@define gid_t int" >>confdefs.h
+
+fi
+
+
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.9.0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
+$as_echo_n "checking for UUID... " >&6; }
+
+if test -n "$UUID_CFLAGS"; then
+ pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$UUID_LIBS"; then
+ pkg_cv_UUID_LIBS="$UUID_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ else
+ UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$UUID_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (uuid >= 1.0.2) were not met:
+
+$UUID_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
+ UUID_LIBS=$pkg_cv_UUID_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAO" >&5
+$as_echo_n "checking for LIBAO... " >&6; }
+
+if test -n "$LIBAO_CFLAGS"; then
+ pkg_cv_LIBAO_CFLAGS="$LIBAO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_CFLAGS=`$PKG_CONFIG --cflags "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBAO_LIBS"; then
+ pkg_cv_LIBAO_LIBS="$LIBAO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_LIBS=`$PKG_CONFIG --libs "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ else
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBAO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (ao >= 1.1.0) were not met:
+
+$LIBAO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBAO_CFLAGS=$pkg_cv_LIBAO_CFLAGS
+ LIBAO_LIBS=$pkg_cv_LIBAO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBASOUND2" >&5
+$as_echo_n "checking for LIBASOUND2... " >&6; }
+
+if test -n "$LIBASOUND2_CFLAGS"; then
+ pkg_cv_LIBASOUND2_CFLAGS="$LIBASOUND2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBASOUND2_LIBS"; then
+ pkg_cv_LIBASOUND2_LIBS="$LIBASOUND2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ else
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBASOUND2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (alsa >= 1.0.25) were not met:
+
+$LIBASOUND2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBASOUND2_CFLAGS=$pkg_cv_LIBASOUND2_CFLAGS
+ LIBASOUND2_LIBS=$pkg_cv_LIBASOUND2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
+$as_echo_n "checking for LIBXML2... " >&6; }
+
+if test -n "$LIBXML2_CFLAGS"; then
+ pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBXML2_LIBS"; then
+ pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ else
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBXML2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libxml-2.0 >= 2.8.0) were not met:
+
+$LIBXML2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
+ LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
+$as_echo_n "checking for SNDFILE... " >&6; }
+
+if test -n "$SNDFILE_CFLAGS"; then
+ pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$SNDFILE_LIBS"; then
+ pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ else
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$SNDFILE_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (sndfile >= 1.0.25) were not met:
+
+$SNDFILE_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
+ SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBINSTPATCH" >&5
+$as_echo_n "checking for LIBINSTPATCH... " >&6; }
+
+if test -n "$LIBINSTPATCH_CFLAGS"; then
+ pkg_cv_LIBINSTPATCH_CFLAGS="$LIBINSTPATCH_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBINSTPATCH_LIBS"; then
+ pkg_cv_LIBINSTPATCH_LIBS="$LIBINSTPATCH_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_LIBS=`$PKG_CONFIG --libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ else
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBINSTPATCH_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libinstpatch-1.0 >= 1.0) were not met:
+
+$LIBINSTPATCH_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBINSTPATCH_CFLAGS=$pkg_cv_LIBINSTPATCH_CFLAGS
+ LIBINSTPATCH_LIBS=$pkg_cv_LIBINSTPATCH_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
+$as_echo_n "checking for GOBJECT... " >&6; }
+
+if test -n "$GOBJECT_CFLAGS"; then
+ pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GOBJECT_LIBS"; then
+ pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ else
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GOBJECT_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3) were not met:
+
+$GOBJECT_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
+ GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDKPIXBUF" >&5
+$as_echo_n "checking for GDKPIXBUF... " >&6; }
+
+if test -n "$GDKPIXBUF_CFLAGS"; then
+ pkg_cv_GDKPIXBUF_CFLAGS="$GDKPIXBUF_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GDKPIXBUF_LIBS"; then
+ pkg_cv_GDKPIXBUF_LIBS="$GDKPIXBUF_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ else
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GDKPIXBUF_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gdk-pixbuf-2.0 >= 2.26.1) were not met:
+
+$GDKPIXBUF_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GDKPIXBUF_CFLAGS=$pkg_cv_GDKPIXBUF_CFLAGS
+ GDKPIXBUF_LIBS=$pkg_cv_GDKPIXBUF_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
+$as_echo_n "checking for CAIRO... " >&6; }
+
+if test -n "$CAIRO_CFLAGS"; then
+ pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$CAIRO_LIBS"; then
+ pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ else
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$CAIRO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (cairo >= 1.12.0) were not met:
+
+$CAIRO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
+ CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
+$as_echo_n "checking for GTK... " >&6; }
+
+if test -n "$GTK_CFLAGS"; then
+ pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GTK_LIBS"; then
+ pkg_cv_GTK_LIBS="$GTK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ else
+ GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GTK_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gtk+-2.0 >= 2.24.10) were not met:
+
+$GTK_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
+ GTK_LIBS=$pkg_cv_GTK_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+#PKG_CHECK_MODULES([XMLRPC_UTIL], [xmlrpc_util >= 1.16.33])
+#AC_SUBST(XMLRPC_UTIL_CFLAGS)
+#AC_SUBST(XMLRPC_UTIL_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER], [xmlrpc_client >= 1.#16.33])
+#AC_SUBST(XMLRPC_SERVER_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_CGI], [xmlrpc_server_cgi >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_CGI_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_CGI_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_ABYSS], [xmlrpc_server_abyss >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_ABYSS_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_ABYSS_LIBS)$
+
+# Checks for library functions.
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_malloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *malloc ();
+#endif
+
+int
+main ()
+{
+return ! malloc (0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_malloc_0_nonnull=yes
+else
+ ac_cv_func_malloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
+
+$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
+
+else
+ $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
+
+ case " $LIB@&t at OBJS " in
+ *" malloc.$ac_objext "* ) ;;
+ *) LIB@&t at OBJS="$LIB@&t at OBJS malloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
+
+fi
+
+
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
+$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
+if ${ac_cv_func_realloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_realloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *realloc ();
+#endif
+
+int
+main ()
+{
+return ! realloc (0, 0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_realloc_0_nonnull=yes
+else
+ ac_cv_func_realloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
+if test $ac_cv_func_realloc_0_nonnull = yes; then :
+
+$as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
+
+else
+ $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
+
+ case " $LIB@&t at OBJS " in
+ *" realloc.$ac_objext "* ) ;;
+ *) LIB@&t at OBJS="$LIB@&t at OBJS realloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
+
+fi
+
+
+for ac_func in atexit clock_gettime floor memset socket sqrt strchr strtol strtoul
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIB@&t at OBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIB@&t at OBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+@%:@ as_fn_executable_p FILE
+@%:@ -----------------------
+@%:@ Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} @%:@ as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <weedlight at gmail.com>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+gsequencer config.status 0.4.3
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
+@%:@@%:@ Running $as_me. @%:@@%:@
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
+predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
+postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
+predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
+postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
+LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
+reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
+reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
+postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
+
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in AS \
+DLLTOOL \
+OBJDUMP \
+SHELL \
+ECHO \
+PATH_SEPARATOR \
+SED \
+GREP \
+EGREP \
+FGREP \
+LD \
+NM \
+LN_S \
+lt_SP2NL \
+lt_NL2SP \
+reload_flag \
+deplibs_check_method \
+file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+sharedlib_from_linklib_cmd \
+AR \
+AR_FLAGS \
+archiver_list_spec \
+STRIP \
+RANLIB \
+CC \
+CFLAGS \
+compiler \
+lt_cv_sys_global_symbol_pipe \
+lt_cv_sys_global_symbol_to_cdecl \
+lt_cv_sys_global_symbol_to_import \
+lt_cv_sys_global_symbol_to_c_name_address \
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
+lt_cv_nm_interface \
+nm_file_list_spec \
+lt_cv_truncate_bin \
+lt_prog_compiler_no_builtin_flag \
+lt_prog_compiler_pic \
+lt_prog_compiler_wl \
+lt_prog_compiler_static \
+lt_cv_prog_compiler_c_o \
+need_locks \
+MANIFEST_TOOL \
+DSYMUTIL \
+NMEDIT \
+LIPO \
+OTOOL \
+OTOOL64 \
+shrext_cmds \
+export_dynamic_flag_spec \
+whole_archive_flag_spec \
+compiler_needs_object \
+with_gnu_ld \
+allow_undefined_flag \
+no_undefined_flag \
+hardcode_libdir_flag_spec \
+hardcode_libdir_separator \
+exclude_expsyms \
+include_expsyms \
+file_list_spec \
+variables_saved_for_relink \
+libname_spec \
+library_names_spec \
+soname_spec \
+install_override_mode \
+finish_eval \
+old_striplib \
+striplib \
+compiler_lib_search_dirs \
+predep_objects \
+postdep_objects \
+predeps \
+postdeps \
+compiler_lib_search_path \
+LD_CXX \
+reload_flag_CXX \
+compiler_CXX \
+lt_prog_compiler_no_builtin_flag_CXX \
+lt_prog_compiler_pic_CXX \
+lt_prog_compiler_wl_CXX \
+lt_prog_compiler_static_CXX \
+lt_cv_prog_compiler_c_o_CXX \
+export_dynamic_flag_spec_CXX \
+whole_archive_flag_spec_CXX \
+compiler_needs_object_CXX \
+with_gnu_ld_CXX \
+allow_undefined_flag_CXX \
+no_undefined_flag_CXX \
+hardcode_libdir_flag_spec_CXX \
+hardcode_libdir_separator_CXX \
+exclude_expsyms_CXX \
+include_expsyms_CXX \
+file_list_spec_CXX \
+compiler_lib_search_dirs_CXX \
+predep_objects_CXX \
+postdep_objects_CXX \
+predeps_CXX \
+postdeps_CXX \
+compiler_lib_search_path_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in reload_cmds \
+old_postinstall_cmds \
+old_postuninstall_cmds \
+old_archive_cmds \
+extract_expsyms_cmds \
+old_archive_from_new_cmds \
+old_archive_from_expsyms_cmds \
+archive_cmds \
+archive_expsym_cmds \
+module_cmds \
+module_expsym_cmds \
+export_symbols_cmds \
+prelink_cmds \
+postlink_cmds \
+postinstall_cmds \
+postuninstall_cmds \
+finish_cmds \
+sys_lib_search_path_spec \
+sys_lib_dlsearch_path_spec \
+reload_cmds_CXX \
+old_archive_cmds_CXX \
+old_archive_from_new_cmds_CXX \
+old_archive_from_expsyms_cmds_CXX \
+archive_cmds_CXX \
+archive_expsym_cmds_CXX \
+module_cmds_CXX \
+module_expsym_cmds_CXX \
+export_symbols_cmds_CXX \
+prelink_cmds_CXX \
+postlink_cmds_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+ac_aux_dir='$ac_aux_dir'
+
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ RM='$RM'
+ ofile='$ofile'
+
+
+
+
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "src/ags/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/Makefile" ;;
+ "src/ags/X/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/Makefile" ;;
+ "src/ags/X/editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/editor/Makefile" ;;
+ "src/ags/X/machine/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/machine/Makefile" ;;
+ "src/ags/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/Makefile" ;;
+ "src/ags/audio/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/file/Makefile" ;;
+ "src/ags/audio/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/recall/Makefile" ;;
+ "src/ags/audio/task/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/Makefile" ;;
+ "src/ags/audio/task/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/recall/Makefile" ;;
+ "src/ags/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/file/Makefile" ;;
+ "src/ags/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/lib/Makefile" ;;
+ "src/ags/object/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/object/Makefile" ;;
+ "src/ags/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/plugin/Makefile" ;;
+ "src/ags/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/server/Makefile" ;;
+ "src/ags/thread/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/thread/Makefile" ;;
+ "src/ags/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/util/Makefile" ;;
+ "src/ags/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/widget/Makefile" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "libtool":C)
+
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags='CXX '
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Assembler program.
+AS=$lt_AS
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Object dumper program.
+OBJDUMP=$lt_OBJDUMP
+
+# Which release of libtool.m4 was used?
+macro_version=$macro_version
+macro_revision=$macro_revision
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# What type of objects to build.
+pic_mode=$pic_mode
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
+# The host system.
+host_alias=$host_alias
+host=$host
+host_os=$host_os
+
+# The build system.
+build_alias=$build_alias
+build=$build
+build_os=$build_os
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="\$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP=$lt_GREP
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# A literal string matcher.
+FGREP=$lt_FGREP
+
+# A BSD- or MS-compatible name lister.
+NM=$lt_NM
+
+# Whether we need soft or hard links.
+LN_S=$lt_LN_S
+
+# What is the maximum length of a command?
+max_cmd_len=$max_cmd_len
+
+# Object file suffix (normally "o").
+objext=$ac_objext
+
+# Executable file suffix (normally "").
+exeext=$exeext
+
+# whether the shell understands "unset".
+lt_unset=$lt_unset
+
+# turn spaces into newlines.
+SP2NL=$lt_lt_SP2NL
+
+# turn newlines into spaces.
+NL2SP=$lt_lt_NL2SP
+
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd=$lt_file_magic_cmd
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
+# The archiver.
+AR=$lt_AR
+
+# Flags to create an archive.
+AR_FLAGS=$lt_AR_FLAGS
+
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
+# A symbol stripping program.
+STRIP=$lt_STRIP
+
+# Commands used to install an old-style archive.
+RANLIB=$lt_RANLIB
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
+# A C compiler.
+LTCC=$lt_CC
+
+# LTCC compiler flags.
+LTCFLAGS=$lt_CFLAGS
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm into a list of symbols to manually relocate.
+global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
+# The name lister interface.
+nm_interface=$lt_lt_cv_nm_interface
+
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
+
+# The root where to search for dependent libraries,and where our libraries should be installed.
+lt_sysroot=$lt_sysroot
+
+# Command to truncate a binary pipe.
+lt_truncate_bin=$lt_lt_cv_truncate_bin
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=$MAGIC_CMD
+
+# Must we lock files when doing compilation?
+need_locks=$lt_need_locks
+
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=$lt_DSYMUTIL
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=$lt_NMEDIT
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=$lt_LIPO
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=$lt_OTOOL
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=$lt_OTOOL64
+
+# Old archive suffix (normally "a").
+libext=$libext
+
+# Shared library suffix (normally ".so").
+shrext_cmds=$lt_shrext_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink=$lt_variables_saved_for_relink
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Library versioning type.
+version_type=$version_type
+
+# Shared library runtime path variable.
+runpath_var=$runpath_var
+
+# Shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=$lt_postinstall_cmds
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=$lt_finish_eval
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds
+
+# A language specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects
+postdep_objects=$lt_postdep_objects
+predeps=$lt_predeps
+postdeps=$lt_postdeps
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path
+
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+
+ cat <<_LT_EOF >> "$ofile"
+
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+# The linker used to build libraries.
+LD=$lt_LD_CXX
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds_CXX
+
+# A language specific compiler.
+CC=$lt_compiler_CXX
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC_CXX
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_CXX
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object_CXX
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds_CXX
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds_CXX
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld_CXX
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_CXX
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L_CXX
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic_CXX
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath_CXX
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_CXX
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols_CXX
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_CXX
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_CXX
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds_CXX
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec_CXX
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_CXX
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects_CXX
+postdep_objects=$lt_postdep_objects_CXX
+predeps=$lt_predeps_CXX
+postdeps=$lt_postdeps_CXX
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+
+# ### END LIBTOOL TAG CONFIG: CXX
+_LT_EOF
+
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+
+#
+# CONFIG_SUBDIRS section.
+#
+if test "$no_recursion" != yes; then
+
+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments
+ # so they do not pile up.
+ ac_sub_configure_args=
+ ac_prev=
+ eval "set x $ac_configure_args"
+ shift
+ for ac_arg
+ do
+ if test -n "$ac_prev"; then
+ ac_prev=
+ continue
+ fi
+ case $ac_arg in
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
+ | --c=*)
+ ;;
+ --config-cache | -C)
+ ;;
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ ;;
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ ;;
+ --disable-option-checking)
+ ;;
+ *)
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
+ esac
+ done
+
+ # Always prepend --prefix to ensure using the same prefix
+ # in subdir configurations.
+ ac_arg="--prefix=$prefix"
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
+
+ # Pass --silent
+ if test "$silent" = yes; then
+ ac_sub_configure_args="--silent $ac_sub_configure_args"
+ fi
+
+ # Always prepend --disable-option-checking to silence warnings, since
+ # different subdirs can have different --enable and --with options.
+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
+
+ ac_popdir=`pwd`
+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
+
+ # Do not complain, so a configure script can configure whichever
+ # parts of a large source tree are present.
+ test -d "$srcdir/$ac_dir" || continue
+
+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
+ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
+ $as_echo "$ac_msg" >&6
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ cd "$ac_dir"
+
+ # Check for guested configure; otherwise get Cygnus style configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ ac_sub_configure=$ac_srcdir/configure.gnu
+ elif test -f "$ac_srcdir/configure"; then
+ ac_sub_configure=$ac_srcdir/configure
+ elif test -f "$ac_srcdir/configure.in"; then
+ # This should be Cygnus configure.
+ ac_sub_configure=$ac_aux_dir/configure
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
+ ac_sub_configure=
+ fi
+
+ # The recursion is here.
+ if test -n "$ac_sub_configure"; then
+ # Make the cache file name correct relative to the subdirectory.
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
+ *) # Relative name.
+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
+ # The eval makes quoting arguments work.
+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
+ as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
+ fi
+
+ cd "$ac_popdir"
+ done
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
diff --git a/autom4te.cache/requests b/autom4te.cache/requests
new file mode 100644
index 0000000..931e049
--- /dev/null
+++ b/autom4te.cache/requests
@@ -0,0 +1,544 @@
+# This file was generated.
+# It contains the lists of macros which have been traced.
+# It can be safely removed.
+
+ at request = (
+ bless( [
+ '0',
+ 1,
+ [
+ '/usr/share/autoconf'
+ ],
+ [
+ '/usr/share/autoconf/autoconf/autoconf.m4f',
+ '-',
+ '/usr/share/aclocal-1.14/internal/ac-config-macro-dirs.m4',
+ '/usr/share/aclocal/libtool.m4',
+ '/usr/share/aclocal/ltargz.m4',
+ '/usr/share/aclocal/ltdl.m4',
+ '/usr/share/aclocal/ltoptions.m4',
+ '/usr/share/aclocal/ltsugar.m4',
+ '/usr/share/aclocal/ltversion.m4',
+ '/usr/share/aclocal/lt~obsolete.m4',
+ '/usr/share/aclocal/pkg.m4',
+ '/usr/share/aclocal-1.14/amversion.m4',
+ '/usr/share/aclocal-1.14/auxdir.m4',
+ '/usr/share/aclocal-1.14/cond.m4',
+ '/usr/share/aclocal-1.14/depend.m4',
+ '/usr/share/aclocal-1.14/depout.m4',
+ '/usr/share/aclocal-1.14/init.m4',
+ '/usr/share/aclocal-1.14/install-sh.m4',
+ '/usr/share/aclocal-1.14/lead-dot.m4',
+ '/usr/share/aclocal-1.14/make.m4',
+ '/usr/share/aclocal-1.14/missing.m4',
+ '/usr/share/aclocal-1.14/obsolete.m4',
+ '/usr/share/aclocal-1.14/options.m4',
+ '/usr/share/aclocal-1.14/prog-cc-c-o.m4',
+ '/usr/share/aclocal-1.14/runlog.m4',
+ '/usr/share/aclocal-1.14/sanity.m4',
+ '/usr/share/aclocal-1.14/silent.m4',
+ '/usr/share/aclocal-1.14/strip.m4',
+ '/usr/share/aclocal-1.14/substnot.m4',
+ '/usr/share/aclocal-1.14/tar.m4',
+ 'configure.ac'
+ ],
+ {
+ '_m4_warn' => 1,
+ 'm4_pattern_allow' => 1,
+ '_LT_AC_TAGVAR' => 1,
+ '_LT_AC_FILE_LTDLL_C' => 1,
+ 'LT_FUNC_ARGZ' => 1,
+ 'fp_C_PROTOTYPES' => 1,
+ 'AC_LTDL_SYSSEARCHPATH' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'LT_FUNC_DLSYM_USCORE' => 1,
+ '_LT_AC_SYS_COMPILER' => 1,
+ 'AC_ENABLE_FAST_INSTALL' => 1,
+ 'AC_LIBTOOL_WIN32_DLL' => 1,
+ 'AC_LIBTOOL_PROG_CC_C_O' => 1,
+ '_LT_AC_SYS_LIBPATH_AIX' => 1,
+ '_LT_REQUIRED_DARWIN_CHECKS' => 1,
+ '_LT_AC_LANG_F77_CONFIG' => 1,
+ 'AM_PROG_NM' => 1,
+ '_LT_AC_LANG_F77' => 1,
+ 'AU_DEFUN' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ 'AM_SET_LEADING_DOT' => 1,
+ 'LTDL_INSTALLABLE' => 1,
+ 'AC_ENABLE_SHARED' => 1,
+ 'AC_DISABLE_FAST_INSTALL' => 1,
+ '_LT_AC_LANG_CXX_CONFIG' => 1,
+ 'LT_OUTPUT' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
+ 'AC_LIBLTDL_INSTALLABLE' => 1,
+ '_LT_AC_LANG_GCJ' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
+ 'AC_WITH_LTDL' => 1,
+ 'LT_PROG_RC' => 1,
+ 'PKG_NOARCH_INSTALLDIR' => 1,
+ 'AM_DISABLE_SHARED' => 1,
+ 'AC_LTDL_SYMBOL_USCORE' => 1,
+ 'AC_LIBTOOL_SETUP' => 1,
+ 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AC_LTDL_OBJDIR' => 1,
+ 'LT_AC_PROG_GCJ' => 1,
+ 'AC_LTDL_PREOPEN' => 1,
+ '_LT_AC_PROG_CXXCPP' => 1,
+ 'AC_LIBTOOL_DLOPEN_SELF' => 1,
+ 'LT_PROG_GCJ' => 1,
+ 'AM_PROG_CC_STDC' => 1,
+ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+ 'AC_LTDL_SHLIBPATH' => 1,
+ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
+ 'AC_PROG_EGREP' => 1,
+ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+ '_LTDL_SETUP' => 1,
+ '_AM_IF_OPTION' => 1,
+ 'AM_RUN_LOG' => 1,
+ 'PKG_CHECK_VAR' => 1,
+ 'AC_PATH_MAGIC' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ 'AC_LIBTOOL_OBJDIR' => 1,
+ 'AC_LIBTOOL_LINKER_OPTION' => 1,
+ 'AC_LIBTOOL_RC' => 1,
+ '_LT_AC_LOCK' => 1,
+ 'AC_LIBTOOL_DLOPEN' => 1,
+ 'AC_LIBTOOL_FC' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ 'LTOBSOLETE_VERSION' => 1,
+ 'LTDL_CONVENIENCE' => 1,
+ 'AC_LIBTOOL_COMPILER_OPTION' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'AC_LIBTOOL_CXX' => 1,
+ '_LT_DLL_DEF_P' => 1,
+ 'PKG_CHECK_EXISTS' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'LT_LANG' => 1,
+ 'LT_AC_PROG_RC' => 1,
+ 'AM_DEP_TRACK' => 1,
+ 'AC_LIBLTDL_CONVENIENCE' => 1,
+ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
+ 'LT_SYS_MODULE_EXT' => 1,
+ 'AC_DEFUN_ONCE' => 1,
+ '_AC_PROG_LIBTOOL' => 1,
+ 'AC_DEFUN' => 1,
+ '_LT_PROG_LTMAIN' => 1,
+ 'PKG_PROG_PKG_CONFIG' => 1,
+ 'AC_PROG_NM' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ '_LT_AC_TRY_DLOPEN_SELF' => 1,
+ '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+ 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+ '_LT_AC_CHECK_DLFCN' => 1,
+ '_AM_CONFIG_MACRO_DIRS' => 1,
+ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+ 'LT_SYS_DLOPEN_SELF' => 1,
+ 'AM_SUBST_NOTMAKE' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AC_LIBTOOL_CONFIG' => 1,
+ 'LT_LIB_M' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ '_LT_PROG_FC' => 1,
+ 'AM_C_PROTOTYPES' => 1,
+ 'LT_SYS_DLSEARCH_PATH' => 1,
+ 'AM_CONFIG_HEADER' => 1,
+ 'AC_LIBTOOL_PICMODE' => 1,
+ 'AC_LIBTOOL_GCJ' => 1,
+ 'AC_PROG_LD_RELOAD_FLAG' => 1,
+ 'AC_LIBTOOL_F77' => 1,
+ '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
+ 'LT_PATH_LD' => 1,
+ 'AC_PATH_TOOL_PREFIX' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'LT_AC_PROG_EGREP' => 1,
+ '_LT_PREPARE_SED_QUOTE_VARS' => 1,
+ '_LT_COMPILER_BOILERPLATE' => 1,
+ 'LT_CMD_MAX_LEN' => 1,
+ 'include' => 1,
+ 'LT_WITH_LTDL' => 1,
+ 'AC_ENABLE_STATIC' => 1,
+ '_LT_PROG_ECHO_BACKSLASH' => 1,
+ '_LT_AC_LANG_C_CONFIG' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ 'AC_LTDL_DLLIB' => 1,
+ 'AC_DISABLE_STATIC' => 1,
+ 'AC_LIB_LTDL' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ '_LT_PATH_TOOL_PREFIX' => 1,
+ 'LT_SYS_MODULE_PATH' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'LT_SYS_DLOPEN_DEPLIBS' => 1,
+ 'AM_MISSING_PROG' => 1,
+ 'AM_PROG_LD' => 1,
+ 'AC_PROG_LD' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AC_LTDL_SHLIBEXT' => 1,
+ '_LT_AC_LANG_RC_CONFIG' => 1,
+ 'AM_ENABLE_STATIC' => 1,
+ 'AM_MAKE_INCLUDE' => 1,
+ 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
+ 'LT_AC_PROG_SED' => 1,
+ '_LT_PROG_F77' => 1,
+ 'LTOPTIONS_VERSION' => 1,
+ 'LT_PATH_NM' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ '_LT_LIBOBJ' => 1,
+ 'LTVERSION_VERSION' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ '_AM_DEPENDENCIES' => 1,
+ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+ '_AM_SET_OPTION' => 1,
+ 'LT_INIT' => 1,
+ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
+ 'AC_LTDL_ENABLE_INSTALL' => 1,
+ 'AM_ENABLE_SHARED' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
+ 'AC_PROG_LD_GNU' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
+ 'm4_include' => 1,
+ '_LT_WITH_SYSROOT' => 1,
+ '_LT_COMPILER_OPTION' => 1,
+ 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ 'PKG_INSTALLDIR' => 1,
+ '_LT_LINKER_BOILERPLATE' => 1,
+ '_LT_LINKER_OPTION' => 1,
+ 'LT_PROG_GO' => 1,
+ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ 'PKG_CHECK_MODULES' => 1,
+ '_LT_CC_BASENAME' => 1,
+ 'AM_DISABLE_STATIC' => 1,
+ '_LT_AC_LANG_CXX' => 1,
+ 'LTSUGAR_VERSION' => 1,
+ 'LTDL_INIT' => 1,
+ 'AC_CHECK_LIBM' => 1,
+ 'AC_LTDL_DLSYM_USCORE' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+ 'AC_DISABLE_SHARED' => 1,
+ '_LT_PROG_CXX' => 1,
+ '_AM_PROG_CC_C_O' => 1,
+ '_LT_AC_LANG_GCJ_CONFIG' => 1,
+ '_LT_AC_SHELL_INIT' => 1,
+ '_AM_PROG_TAR' => 1,
+ 'AC_CONFIG_MACRO_DIR' => 1,
+ 'LT_SYS_SYMBOL_USCORE' => 1,
+ 'LT_LIB_DLLOAD' => 1
+ }
+ ], 'Autom4te::Request' ),
+ bless( [
+ '1',
+ 1,
+ [
+ '/usr/share/autoconf'
+ ],
+ [
+ '/usr/share/autoconf/autoconf/autoconf.m4f',
+ 'aclocal.m4',
+ 'configure.ac'
+ ],
+ {
+ 'include' => 1,
+ 'AM_GNU_GETTEXT' => 1,
+ 'AC_SUBST' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'm4_include' => 1,
+ 'm4_sinclude' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'AC_CANONICAL_TARGET' => 1,
+ 'AC_CANONICAL_BUILD' => 1,
+ 'AC_REQUIRE_AUX_FILE' => 1,
+ 'AC_CONFIG_LIBOBJ_DIR' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'AM_PROG_CXX_C_O' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'AC_CONFIG_SUBDIRS' => 1,
+ 'AM_ENABLE_MULTILIB' => 1,
+ 'LT_INIT' => 1,
+ 'AM_POT_TOOLS' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ '_m4_warn' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'm4_pattern_allow' => 1,
+ 'AM_PROG_F77_C_O' => 1,
+ 'AM_NLS' => 1,
+ '_AM_COND_ENDIF' => 1,
+ 'AC_FC_PP_SRCEXT' => 1,
+ 'AC_LIBSOURCE' => 1,
+ 'AM_PROG_FC_C_O' => 1,
+ 'AH_OUTPUT' => 1,
+ 'AM_XGETTEXT_OPTION' => 1,
+ 'AC_CONFIG_HEADERS' => 1,
+ 'AC_SUBST_TRACE' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AM_MAKEFILE_INCLUDE' => 1,
+ 'AC_FC_PP_DEFINE' => 1,
+ 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
+ 'AM_PROG_MOC' => 1,
+ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AC_FC_FREEFORM' => 1,
+ 'AC_CONFIG_AUX_DIR' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'sinclude' => 1,
+ 'AC_CANONICAL_HOST' => 1,
+ 'AC_DEFINE_TRACE_LITERAL' => 1,
+ 'AC_CONFIG_FILES' => 1,
+ 'AM_PATH_GUILE' => 1,
+ '_AM_COND_IF' => 1,
+ 'AM_PROG_AR' => 1,
+ 'AC_CONFIG_LINKS' => 1,
+ 'AM_MAINTAINER_MODE' => 1,
+ 'AC_CANONICAL_SYSTEM' => 1,
+ 'AC_FC_SRCEXT' => 1,
+ '_AM_COND_ELSE' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ '_AM_MAKEFILE_INCLUDE' => 1,
+ 'AC_INIT' => 1
+ }
+ ], 'Autom4te::Request' ),
+ bless( [
+ '2',
+ 1,
+ [
+ '/usr/share/autoconf'
+ ],
+ [
+ '/usr/share/autoconf/autoconf/autoconf.m4f',
+ '-',
+ '/usr/share/aclocal-1.14/internal/ac-config-macro-dirs.m4',
+ '/usr/share/aclocal/ltargz.m4',
+ '/usr/share/aclocal/ltdl.m4',
+ '/usr/share/aclocal/pkg.m4',
+ '/usr/share/aclocal-1.14/amversion.m4',
+ '/usr/share/aclocal-1.14/auxdir.m4',
+ '/usr/share/aclocal-1.14/cond.m4',
+ '/usr/share/aclocal-1.14/depend.m4',
+ '/usr/share/aclocal-1.14/depout.m4',
+ '/usr/share/aclocal-1.14/init.m4',
+ '/usr/share/aclocal-1.14/install-sh.m4',
+ '/usr/share/aclocal-1.14/lead-dot.m4',
+ '/usr/share/aclocal-1.14/make.m4',
+ '/usr/share/aclocal-1.14/missing.m4',
+ '/usr/share/aclocal-1.14/obsolete.m4',
+ '/usr/share/aclocal-1.14/options.m4',
+ '/usr/share/aclocal-1.14/prog-cc-c-o.m4',
+ '/usr/share/aclocal-1.14/runlog.m4',
+ '/usr/share/aclocal-1.14/sanity.m4',
+ '/usr/share/aclocal-1.14/silent.m4',
+ '/usr/share/aclocal-1.14/strip.m4',
+ '/usr/share/aclocal-1.14/substnot.m4',
+ '/usr/share/aclocal-1.14/tar.m4',
+ 'm4/libtool.m4',
+ 'm4/ltoptions.m4',
+ 'm4/ltsugar.m4',
+ 'm4/ltversion.m4',
+ 'm4/lt~obsolete.m4',
+ 'configure.ac'
+ ],
+ {
+ '_LT_PROG_LTMAIN' => 1,
+ 'AC_DEFUN' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ 'PKG_PROG_PKG_CONFIG' => 1,
+ 'AC_PROG_NM' => 1,
+ '_LT_AC_CHECK_DLFCN' => 1,
+ 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+ '_LT_AC_TRY_DLOPEN_SELF' => 1,
+ '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+ 'LT_LIB_M' => 1,
+ 'AC_LIBTOOL_CONFIG' => 1,
+ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AM_SUBST_NOTMAKE' => 1,
+ 'LT_SYS_DLOPEN_SELF' => 1,
+ '_AM_CONFIG_MACRO_DIRS' => 1,
+ 'LT_AC_PROG_RC' => 1,
+ 'LT_LANG' => 1,
+ 'AC_LIBLTDL_CONVENIENCE' => 1,
+ 'AM_DEP_TRACK' => 1,
+ '_AC_PROG_LIBTOOL' => 1,
+ 'AC_DEFUN_ONCE' => 1,
+ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
+ 'LT_SYS_MODULE_EXT' => 1,
+ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ 'LTOBSOLETE_VERSION' => 1,
+ 'AC_LIBTOOL_FC' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
+ 'LTDL_CONVENIENCE' => 1,
+ 'AC_LIBTOOL_COMPILER_OPTION' => 1,
+ '_LT_DLL_DEF_P' => 1,
+ 'AC_LIBTOOL_CXX' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'PKG_CHECK_EXISTS' => 1,
+ '_AM_IF_OPTION' => 1,
+ '_LTDL_SETUP' => 1,
+ 'AC_PATH_MAGIC' => 1,
+ 'PKG_CHECK_VAR' => 1,
+ 'AM_RUN_LOG' => 1,
+ 'AC_LIBTOOL_LINKER_OPTION' => 1,
+ 'AC_LIBTOOL_OBJDIR' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ 'AC_LIBTOOL_DLOPEN' => 1,
+ '_LT_AC_LOCK' => 1,
+ 'AC_LIBTOOL_RC' => 1,
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
+ 'AC_LTDL_PREOPEN' => 1,
+ '_LT_AC_PROG_CXXCPP' => 1,
+ 'AC_LTDL_OBJDIR' => 1,
+ 'LT_AC_PROG_GCJ' => 1,
+ 'AC_LIBTOOL_DLOPEN_SELF' => 1,
+ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+ 'AC_PROG_EGREP' => 1,
+ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
+ 'AC_LTDL_SHLIBPATH' => 1,
+ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+ 'LT_PROG_GCJ' => 1,
+ 'AM_PROG_CC_STDC' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'LT_OUTPUT' => 1,
+ 'AC_ENABLE_SHARED' => 1,
+ '_LT_AC_LANG_CXX_CONFIG' => 1,
+ 'AC_DISABLE_FAST_INSTALL' => 1,
+ 'LTDL_INSTALLABLE' => 1,
+ '_LT_AC_LANG_GCJ' => 1,
+ 'AC_LIBLTDL_INSTALLABLE' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
+ 'LT_PROG_RC' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
+ 'AC_WITH_LTDL' => 1,
+ 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ 'AC_LIBTOOL_SETUP' => 1,
+ 'AC_LTDL_SYMBOL_USCORE' => 1,
+ 'PKG_NOARCH_INSTALLDIR' => 1,
+ 'AM_DISABLE_SHARED' => 1,
+ 'LT_FUNC_DLSYM_USCORE' => 1,
+ '_LT_AC_SYS_COMPILER' => 1,
+ 'm4_pattern_forbid' => 1,
+ '_LT_REQUIRED_DARWIN_CHECKS' => 1,
+ '_LT_AC_SYS_LIBPATH_AIX' => 1,
+ 'AC_LIBTOOL_PROG_CC_C_O' => 1,
+ 'AC_LIBTOOL_WIN32_DLL' => 1,
+ 'AC_ENABLE_FAST_INSTALL' => 1,
+ 'AU_DEFUN' => 1,
+ 'AM_PROG_NM' => 1,
+ '_LT_AC_LANG_F77' => 1,
+ '_LT_AC_LANG_F77_CONFIG' => 1,
+ 'AM_SET_LEADING_DOT' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ '_m4_warn' => 1,
+ 'm4_pattern_allow' => 1,
+ '_LT_AC_TAGVAR' => 1,
+ '_LT_AC_FILE_LTDLL_C' => 1,
+ 'LT_FUNC_ARGZ' => 1,
+ 'fp_C_PROTOTYPES' => 1,
+ 'AC_LTDL_SYSSEARCHPATH' => 1,
+ '_LT_AC_LANG_GCJ_CONFIG' => 1,
+ '_LT_AC_SHELL_INIT' => 1,
+ '_AM_PROG_CC_C_O' => 1,
+ '_AM_PROG_TAR' => 1,
+ 'AC_CONFIG_MACRO_DIR' => 1,
+ 'LT_SYS_SYMBOL_USCORE' => 1,
+ 'LT_LIB_DLLOAD' => 1,
+ '_LT_AC_LANG_CXX' => 1,
+ 'AM_DISABLE_STATIC' => 1,
+ 'PKG_CHECK_MODULES' => 1,
+ '_LT_CC_BASENAME' => 1,
+ 'AC_LTDL_DLSYM_USCORE' => 1,
+ 'AC_CHECK_LIBM' => 1,
+ 'LTSUGAR_VERSION' => 1,
+ 'LTDL_INIT' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'AC_DISABLE_SHARED' => 1,
+ '_LT_PROG_CXX' => 1,
+ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+ 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ '_LT_COMPILER_OPTION' => 1,
+ 'm4_include' => 1,
+ '_LT_WITH_SYSROOT' => 1,
+ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
+ 'PKG_INSTALLDIR' => 1,
+ 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ '_LT_LINKER_BOILERPLATE' => 1,
+ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ 'LT_PROG_GO' => 1,
+ '_LT_LINKER_OPTION' => 1,
+ '_LT_LIBOBJ' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'LT_PATH_NM' => 1,
+ '_AM_DEPENDENCIES' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'LTVERSION_VERSION' => 1,
+ '_AM_SET_OPTION' => 1,
+ 'LT_INIT' => 1,
+ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
+ 'AC_PROG_LD_GNU' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ 'AM_ENABLE_SHARED' => 1,
+ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
+ 'AC_LTDL_ENABLE_INSTALL' => 1,
+ 'AM_MISSING_PROG' => 1,
+ 'LT_SYS_DLOPEN_DEPLIBS' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+ 'AC_PROG_LD' => 1,
+ 'AM_PROG_LD' => 1,
+ 'AM_ENABLE_STATIC' => 1,
+ '_LT_AC_LANG_RC_CONFIG' => 1,
+ 'AC_LTDL_SHLIBEXT' => 1,
+ 'LTOPTIONS_VERSION' => 1,
+ '_LT_PROG_F77' => 1,
+ 'LT_AC_PROG_SED' => 1,
+ 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
+ 'AM_MAKE_INCLUDE' => 1,
+ 'AC_DISABLE_STATIC' => 1,
+ 'AC_LTDL_DLLIB' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ 'AC_LIB_LTDL' => 1,
+ 'LT_SYS_MODULE_PATH' => 1,
+ '_LT_PATH_TOOL_PREFIX' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'AC_PATH_TOOL_PREFIX' => 1,
+ 'LT_AC_PROG_EGREP' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'AC_ENABLE_STATIC' => 1,
+ 'include' => 1,
+ 'LT_WITH_LTDL' => 1,
+ 'LT_CMD_MAX_LEN' => 1,
+ '_LT_PREPARE_SED_QUOTE_VARS' => 1,
+ '_LT_COMPILER_BOILERPLATE' => 1,
+ '_LT_AC_LANG_C_CONFIG' => 1,
+ '_LT_PROG_ECHO_BACKSLASH' => 1,
+ '_LT_PROG_FC' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'AM_C_PROTOTYPES' => 1,
+ 'AC_PROG_LD_RELOAD_FLAG' => 1,
+ 'AC_LIBTOOL_PICMODE' => 1,
+ 'AC_LIBTOOL_GCJ' => 1,
+ 'LT_SYS_DLSEARCH_PATH' => 1,
+ 'AM_CONFIG_HEADER' => 1,
+ '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
+ 'LT_PATH_LD' => 1,
+ 'AC_LIBTOOL_F77' => 1
+ }
+ ], 'Autom4te::Request' )
+ );
+
diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0
new file mode 100644
index 0000000..d84d0e8
--- /dev/null
+++ b/autom4te.cache/traces.0
@@ -0,0 +1,3028 @@
+m4trace:/usr/share/aclocal/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+AC_BEFORE([$0], [LT_LANG])dnl
+AC_BEFORE([$0], [LT_OUTPUT])dnl
+AC_BEFORE([$0], [LTDL_INIT])dnl
+m4_require([_LT_CHECK_BUILDDIR])dnl
+
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
+dnl unless we require an AC_DEFUNed macro:
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
+AC_REQUIRE([LTSUGAR_VERSION])dnl
+AC_REQUIRE([LTVERSION_VERSION])dnl
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
+m4_require([_LT_PROG_LTMAIN])dnl
+
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
+dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+AC_SUBST(LIBTOOL)dnl
+
+_LT_SETUP
+
+# Only expand once:
+m4_define([LT_INIT])
+])
+m4trace:/usr/share/aclocal/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:602: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
+AC_MSG_NOTICE([creating $CONFIG_LT])
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+lt_cl_silent=false
+exec AS_MESSAGE_LOG_FD>>config.log
+{
+ echo
+ AS_BOX([Running $as_me.])
+} >&AS_MESSAGE_LOG_FD
+
+lt_cl_help="\
+'$as_me' creates a local libtool stub from the current configuration,
+for use in further configure time tests before the real libtool is
+generated.
+
+Usage: $[0] [[OPTIONS]]
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+
+Report bugs to <bug-libtool at gnu.org>."
+
+lt_cl_version="\
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
+configured by $[0], generated by m4_PACKAGE_STRING.
+
+Copyright (C) 2011 Free Software Foundation, Inc.
+This config.lt script is free software; the Free Software Foundation
+gives unlimited permision to copy, distribute and modify it."
+
+while test 0 != $[#]
+do
+ case $[1] in
+ --version | --v* | -V )
+ echo "$lt_cl_version"; exit 0 ;;
+ --help | --h* | -h )
+ echo "$lt_cl_help"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --quiet | --q* | --silent | --s* | -q )
+ lt_cl_silent=: ;;
+
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
+Try '$[0] --help' for more information.]) ;;
+
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
+Try '$[0] --help' for more information.]) ;;
+ esac
+ shift
+done
+
+if $lt_cl_silent; then
+ exec AS_MESSAGE_FD>/dev/null
+fi
+_LTEOF
+
+cat >>"$CONFIG_LT" <<_LTEOF
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
+_LTEOF
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+AC_MSG_NOTICE([creating $ofile])
+_LT_OUTPUT_LIBTOOL_COMMANDS
+AS_EXIT(0)
+_LTEOF
+chmod +x "$CONFIG_LT"
+
+# configure is writing to config.log, but config.lt does its own redirection,
+# appending to config.log, which fails on DOS, as config.log is still kept
+# open by configure. Here we exec the FD to /dev/null, effectively closing
+# config.log, so it can be properly (re)opened and appended to by config.lt.
+lt_cl_success=:
+test yes = "$silent" &&
+ lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
+])
+m4trace:/usr/share/aclocal/libtool.m4:781: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
+m4trace:/usr/share/aclocal/libtool.m4:792: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
+m4_case([$1],
+ [C], [_LT_LANG(C)],
+ [C++], [_LT_LANG(CXX)],
+ [Go], [_LT_LANG(GO)],
+ [Java], [_LT_LANG(GCJ)],
+ [Fortran 77], [_LT_LANG(F77)],
+ [Fortran], [_LT_LANG(FC)],
+ [Windows Resource], [_LT_LANG(RC)],
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
+ [_LT_LANG($1)],
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
+])
+m4trace:/usr/share/aclocal/libtool.m4:884: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
+m4trace:/usr/share/aclocal/libtool.m4:884: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(C++)])
+m4trace:/usr/share/aclocal/libtool.m4:885: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
+m4trace:/usr/share/aclocal/libtool.m4:885: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Fortran 77)])
+m4trace:/usr/share/aclocal/libtool.m4:886: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
+m4trace:/usr/share/aclocal/libtool.m4:886: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Fortran)])
+m4trace:/usr/share/aclocal/libtool.m4:887: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+m4trace:/usr/share/aclocal/libtool.m4:887: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Java)])
+m4trace:/usr/share/aclocal/libtool.m4:888: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
+m4trace:/usr/share/aclocal/libtool.m4:888: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Windows Resource)])
+m4trace:/usr/share/aclocal/libtool.m4:1216: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
+ [Search for dependent libraries within DIR (or the compiler's sysroot
+ if not specified).])],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted. We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ AC_MSG_RESULT([$with_sysroot])
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
+ ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and where our libraries should be installed.])])
+m4trace:/usr/share/aclocal/libtool.m4:1547: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ fi
+ $RM conftest*
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$5], , :, [$5])
+else
+ m4_if([$6], , :, [$6])
+fi
+])
+m4trace:/usr/share/aclocal/libtool.m4:1589: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:1589: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:1598: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $3"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ else
+ $2=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$4], , :, [$4])
+else
+ m4_if([$5], , :, [$5])
+fi
+])
+m4trace:/usr/share/aclocal/libtool.m4:1633: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:1633: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:1640: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+])
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+_LT_DECL([], [max_cmd_len], [0],
+ [What is the maximum length of a command?])
+])
+m4trace:/usr/share/aclocal/libtool.m4:1779: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:1779: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:1890: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
+if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen=shl_load],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen=dlopen],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
+ [Whether dlopen is supported])
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
+ [Whether dlopen of programs is supported])
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
+ [Whether dlopen of statically linked programs is supported])
+])
+m4trace:/usr/share/aclocal/libtool.m4:2015: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:2015: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3060: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$1"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac])
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+_LT_DECL([], [MAGIC_CMD], [0],
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
+])
+m4trace:/usr/share/aclocal/libtool.m4:3122: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3122: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3145: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
+
+AC_ARG_WITH([gnu-ld],
+ [AS_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test no = "$withval" || with_gnu_ld=yes],
+ [with_gnu_ld=no])dnl
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi])
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+_LT_PATH_LD_GNU
+AC_SUBST([LD])
+
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
+])
+m4trace:/usr/share/aclocal/libtool.m4:3234: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3234: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3235: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3235: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3564: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi])
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+ AC_SUBST([DUMPBIN])
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+AC_SUBST([NM])
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
+
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
+ [lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
+ cat conftest.out >&AS_MESSAGE_LOG_FD
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*])
+])
+m4trace:/usr/share/aclocal/libtool.m4:3659: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3659: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3660: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3660: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3731: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
+ test DEF = "`$SED -n dnl
+ -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
+ -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
+ -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
+ -e q dnl Only consider the first "real" line
+ $1`" dnl
+])
+m4trace:/usr/share/aclocal/libtool.m4:3745: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM=-lm)
+ ;;
+esac
+AC_SUBST([LIBM])
+])
+m4trace:/usr/share/aclocal/libtool.m4:3764: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:3764: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:8071: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
+ [AC_CHECK_TOOL(GCJ, gcj,)
+ test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)])])[]dnl
+])
+m4trace:/usr/share/aclocal/libtool.m4:8080: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:8080: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:8087: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
+])
+m4trace:/usr/share/aclocal/libtool.m4:8094: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
+])
+m4trace:/usr/share/aclocal/libtool.m4:8099: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:8099: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:8219: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
+m4trace:/usr/share/aclocal/libtool.m4:8219: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
+m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
+AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
+
+AC_CHECK_TYPES([error_t],
+ [],
+ [AC_DEFINE([error_t], [int],
+ [Define to a type to use for 'error_t' if it is not otherwise available.])
+ AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
+ does not typedef error_t.])],
+ [#if defined(HAVE_ARGZ_H)
+# include <argz.h>
+#endif])
+
+LT_ARGZ_H=
+AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
+ argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
+
+dnl if have system argz functions, allow forced use of
+dnl libltdl-supplied implementation (and default to do so
+dnl on "known bad" systems). Could use a runtime check, but
+dnl (a) detecting malloc issues is notoriously unreliable
+dnl (b) only known system that declares argz functions,
+dnl provides them, yet they are broken, is cygwin
+dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
+dnl So, it's more straightforward simply to special case
+dnl this for known bad systems.
+AS_IF([test -z "$LT_ARGZ_H"],
+ [AC_CACHE_CHECK(
+ [if argz actually works],
+ [lt_cv_sys_argz_works],
+ [[case $host_os in #(
+ *cygwin*)
+ lt_cv_sys_argz_works=no
+ if test no != "$cross_compiling"; then
+ lt_cv_sys_argz_works="guessing no"
+ else
+ lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
+ save_IFS=$IFS
+ IFS=-.
+ set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
+ IFS=$save_IFS
+ lt_os_major=${2-0}
+ lt_os_minor=${3-0}
+ lt_os_micro=${4-0}
+ if test 1 -lt "$lt_os_major" \
+ || { test 1 -eq "$lt_os_major" \
+ && { test 5 -lt "$lt_os_minor" \
+ || { test 5 -eq "$lt_os_minor" \
+ && test 24 -lt "$lt_os_micro"; }; }; }; then
+ lt_cv_sys_argz_works=yes
+ fi
+ fi
+ ;; #(
+ *) lt_cv_sys_argz_works=yes ;;
+ esac]])
+ AS_IF([test yes = "$lt_cv_sys_argz_works"],
+ [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
+ [This value is set to 1 to indicate that the system argz facility works])],
+ [LT_ARGZ_H=lt__argz.h
+ AC_LIBOBJ([lt__argz])])])
+
+AC_SUBST([LT_ARGZ_H])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
+_$0($*)
+])
+m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
+dnl Although the argument is deprecated and no longer documented,
+dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
+dnl here make sure it is the same as any other declaration of libltdl's
+dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
+dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
+m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
+_$0()
+])
+m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_CONVENIENCE])
+m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
+You should run autoupdate.])dnl
+_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_CONVENIENCE])
+m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
+dnl Although the argument is deprecated and no longer documented,
+dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
+dnl here make sure it is the same as any other declaration of libltdl's
+dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
+dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
+m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
+_$0()
+])
+m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_INSTALLABLE])
+m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
+You should run autoupdate.])dnl
+_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_INSTALLABLE])
+m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
+ m4_pattern_allow([^_LT_LIBOBJS$])
+ _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
+])
+m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+dnl We need to keep our own list of libobjs separate from our parent project,
+dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
+dnl we look for our own LIBOBJs.
+m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
+m4_pushdef([AC_LIBSOURCES])
+
+dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
+m4_if(_LTDL_MODE, [],
+ [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
+ m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
+ [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
+
+AC_ARG_WITH([included_ltdl],
+ [AS_HELP_STRING([--with-included-ltdl],
+ [use the GNU ltdl sources included here])])
+
+if test yes != "$with_included_ltdl"; then
+ # We are not being forced to use the included libltdl sources, so
+ # decide whether there is a useful installed version we can use.
+ AC_CHECK_HEADER([ltdl.h],
+ [AC_CHECK_DECL([lt_dlinterface_register],
+ [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
+ [with_included_ltdl=no],
+ [with_included_ltdl=yes])],
+ [with_included_ltdl=yes],
+ [AC_INCLUDES_DEFAULT
+ #include <ltdl.h>])],
+ [with_included_ltdl=yes],
+ [AC_INCLUDES_DEFAULT]
+ )
+fi
+
+dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
+dnl was called yet, then for old times' sake, we assume libltdl is in an
+dnl eponymous directory:
+AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
+
+AC_ARG_WITH([ltdl_include],
+ [AS_HELP_STRING([--with-ltdl-include=DIR],
+ [use the ltdl headers installed in DIR])])
+
+if test -n "$with_ltdl_include"; then
+ if test -f "$with_ltdl_include/ltdl.h"; then :
+ else
+ AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
+ fi
+else
+ with_ltdl_include=no
+fi
+
+AC_ARG_WITH([ltdl_lib],
+ [AS_HELP_STRING([--with-ltdl-lib=DIR],
+ [use the libltdl.la installed in DIR])])
+
+if test -n "$with_ltdl_lib"; then
+ if test -f "$with_ltdl_lib/libltdl.la"; then :
+ else
+ AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
+ fi
+else
+ with_ltdl_lib=no
+fi
+
+case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
+ ,yes,no,no,)
+ m4_case(m4_default(_LTDL_TYPE, [convenience]),
+ [convenience], [_LTDL_CONVENIENCE],
+ [installable], [_LTDL_INSTALLABLE],
+ [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
+ ;;
+ ,no,no,no,)
+ # If the included ltdl is not to be used, then use the
+ # preinstalled libltdl we found.
+ AC_DEFINE([HAVE_LTDL], [1],
+ [Define this if a modern libltdl is already installed])
+ LIBLTDL=-lltdl
+ LTDLDEPS=
+ LTDLINCL=
+ ;;
+ ,no*,no,*)
+ AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
+ ;;
+ *) with_included_ltdl=no
+ LIBLTDL="-L$with_ltdl_lib -lltdl"
+ LTDLDEPS=
+ LTDLINCL=-I$with_ltdl_include
+ ;;
+esac
+INCLTDL=$LTDLINCL
+
+# Report our decision...
+AC_MSG_CHECKING([where to find libltdl headers])
+AC_MSG_RESULT([$LTDLINCL])
+AC_MSG_CHECKING([where to find libltdl library])
+AC_MSG_RESULT([$LIBLTDL])
+
+_LTDL_SETUP
+
+dnl restore autoconf definition.
+m4_popdef([AC_LIBOBJ])
+m4_popdef([AC_LIBSOURCES])
+
+AC_CONFIG_COMMANDS_PRE([
+ _ltdl_libobjs=
+ _ltdl_ltlibobjs=
+ if test -n "$_LT_LIBOBJS"; then
+ # Remove the extension.
+ _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
+ for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
+ _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
+ _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
+ done
+ fi
+ AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
+ AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
+])
+
+# Only expand once:
+m4_define([LTDL_INIT])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
+You should run autoupdate.])dnl
+LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
+You should run autoupdate.])dnl
+LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
+You should run autoupdate.])dnl
+LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
+AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
+AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
+AC_REQUIRE([LT_LIB_DLLOAD])dnl
+AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
+AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
+AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
+AC_REQUIRE([LT_FUNC_ARGZ])dnl
+
+m4_require([_LT_CHECK_OBJDIR])dnl
+m4_require([_LT_HEADER_DLFCN])dnl
+m4_require([_LT_CHECK_DLPREOPEN])dnl
+m4_require([_LT_DECL_SED])dnl
+
+dnl Don't require this, or it will be expanded earlier than the code
+dnl that sets the variables it relies on:
+_LT_ENABLE_INSTALL
+
+dnl _LTDL_MODE specific code must be called at least once:
+_LTDL_MODE_DISPATCH
+
+# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
+# the user used. This is so that ltdl.h can pick up the parent projects
+# config.h file, The first file in AC_CONFIG_HEADERS must contain the
+# definitions required by ltdl.c.
+# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
+AC_CONFIG_COMMANDS_PRE([dnl
+m4_pattern_allow([^LT_CONFIG_H$])dnl
+m4_ifset([AH_HEADER],
+ [LT_CONFIG_H=AH_HEADER],
+ [m4_ifset([AC_LIST_HEADERS],
+ [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
+ [])])])
+AC_SUBST([LT_CONFIG_H])
+
+AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
+ [], [], [AC_INCLUDES_DEFAULT])
+
+AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
+AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
+
+m4_pattern_allow([LT_LIBEXT])dnl
+AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
+
+name=
+eval "lt_libprefix=\"$libname_spec\""
+m4_pattern_allow([LT_LIBPREFIX])dnl
+AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
+
+name=ltdl
+eval "LTDLOPEN=\"$libname_spec\""
+AC_SUBST([LTDLOPEN])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
+ [lt_cv_sys_dlopen_deplibs],
+ [# PORTME does your system automatically load deplibs for dlopen?
+ # or its logical equivalent (e.g. shl_load for HP-UX < 11)
+ # For now, we just catch OSes we know something about -- in the
+ # future, we'll try test this programmatically.
+ lt_cv_sys_dlopen_deplibs=unknown
+ case $host_os in
+ aix3*|aix4.1.*|aix4.2.*)
+ # Unknown whether this is true for these versions of AIX, but
+ # we want this 'case' here to explicitly catch those versions.
+ lt_cv_sys_dlopen_deplibs=unknown
+ ;;
+ aix[[4-9]]*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ lt_cv_sys_dlopen_deplibs=no
+ ;;
+ esac
+ ;;
+ bitrig*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ darwin*)
+ # Assuming the user has installed a libdl from somewhere, this is true
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ freebsd* | dragonfly*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ # GNU and its variants, using gnu ld.so (Glibc)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ hpux10*|hpux11*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ interix*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ irix[[12345]]*|irix6.[[01]]*)
+ # Catch all versions of IRIX before 6.2, and indicate that we don't
+ # know how it worked for any of those versions.
+ lt_cv_sys_dlopen_deplibs=unknown
+ ;;
+ irix*)
+ # The case above catches anything before 6.2, and it's known that
+ # at 6.2 and later dlopen does load deplibs.
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ netbsd*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ openbsd*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ osf[[1234]]*)
+ # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
+ # it did *not* use an RPATH in a shared library to find objects the
+ # library depends on, so we explicitly say 'no'.
+ lt_cv_sys_dlopen_deplibs=no
+ ;;
+ osf5.0|osf5.0a|osf5.1)
+ # dlopen *does* load deplibs and with the right loader patch applied
+ # it even uses RPATH in a shared library to search for shared objects
+ # that the library depends on, but there's no easy way to know if that
+ # patch is installed. Since this is the case, all we can really
+ # say is unknown -- it depends on the patch being installed. If
+ # it is, this changes to 'yes'. Without it, it would be 'no'.
+ lt_cv_sys_dlopen_deplibs=unknown
+ ;;
+ osf*)
+ # the two cases above should catch all versions of osf <= 5.1. Read
+ # the comments above for what we know about them.
+ # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
+ # is used to find them so we can finally say 'yes'.
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ qnx*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ solaris*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ libltdl_cv_sys_dlopen_deplibs=yes
+ ;;
+ esac
+ ])
+if test yes != "$lt_cv_sys_dlopen_deplibs"; then
+ AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
+ [Define if the OS needs help to load dependent libraries for dlopen().])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
+AC_CACHE_CHECK([what extension is used for runtime loadable modules],
+ [libltdl_cv_shlibext],
+[
+module=yes
+eval libltdl_cv_shlibext=$shrext_cmds
+module=no
+eval libltdl_cv_shrext=$shrext_cmds
+ ])
+if test -n "$libltdl_cv_shlibext"; then
+ m4_pattern_allow([LT_MODULE_EXT])dnl
+ AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
+ [Define to the extension used for runtime loadable modules, say, ".so".])
+fi
+if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
+ m4_pattern_allow([LT_SHARED_EXT])dnl
+ AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
+ [Define to the shared library suffix, say, ".dylib".])
+fi
+if test -n "$shared_archive_member_spec"; then
+ m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
+ AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
+ [Define to the shared archive member specification, say "(shr.o)".])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
+AC_CACHE_CHECK([what variable specifies run-time module search path],
+ [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
+if test -n "$lt_cv_module_path_var"; then
+ m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
+ AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
+ [Define to the name of the environment variable that determines the run-time module search path.])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
+AC_CACHE_CHECK([for the default library search path],
+ [lt_cv_sys_dlsearch_path],
+ [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
+if test -n "$lt_cv_sys_dlsearch_path"; then
+ sys_dlsearch_path=
+ for dir in $lt_cv_sys_dlsearch_path; do
+ if test -z "$sys_dlsearch_path"; then
+ sys_dlsearch_path=$dir
+ else
+ sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
+ fi
+ done
+ m4_pattern_allow([LT_DLSEARCH_PATH])dnl
+ AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
+ [Define to the system default library search path.])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
+LT_DLLOADERS=
+AC_SUBST([LT_DLLOADERS])
+
+AC_LANG_PUSH([C])
+lt_dlload_save_LIBS=$LIBS
+
+LIBADD_DLOPEN=
+AC_SEARCH_LIBS([dlopen], [dl],
+ [AC_DEFINE([HAVE_LIBDL], [1],
+ [Define if you have the libdl library or equivalent.])
+ if test "$ac_cv_search_dlopen" != "none required"; then
+ LIBADD_DLOPEN=-ldl
+ fi
+ libltdl_cv_lib_dl_dlopen=yes
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
+# include <dlfcn.h>
+#endif
+ ]], [[dlopen(0, 0);]])],
+ [AC_DEFINE([HAVE_LIBDL], [1],
+ [Define if you have the libdl library or equivalent.])
+ libltdl_cv_func_dlopen=yes
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [AC_DEFINE([HAVE_LIBDL], [1],
+ [Define if you have the libdl library or equivalent.])
+ LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
+if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
+then
+ lt_save_LIBS=$LIBS
+ LIBS="$LIBS $LIBADD_DLOPEN"
+ AC_CHECK_FUNCS([dlerror])
+ LIBS=$lt_save_LIBS
+fi
+AC_SUBST([LIBADD_DLOPEN])
+
+LIBADD_SHL_LOAD=
+AC_CHECK_FUNC([shl_load],
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
+ [Define if you have the shl_load function.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
+ [Define if you have the shl_load function.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
+ LIBADD_SHL_LOAD=-ldld])])
+AC_SUBST([LIBADD_SHL_LOAD])
+
+case $host_os in
+darwin[[1567]].*)
+# We only want this for pre-Mac OS X 10.4.
+ AC_CHECK_FUNC([_dyld_func_lookup],
+ [AC_DEFINE([HAVE_DYLD], [1],
+ [Define if you have the _dyld_func_lookup function.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
+ ;;
+beos*)
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
+ ;;
+cygwin* | mingw* | pw32*)
+ AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
+ ;;
+esac
+
+AC_CHECK_LIB([dld], [dld_link],
+ [AC_DEFINE([HAVE_DLD], [1],
+ [Define if you have the GNU dld library.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
+AC_SUBST([LIBADD_DLD_LINK])
+
+m4_pattern_allow([^LT_DLPREOPEN$])
+LT_DLPREOPEN=
+if test -n "$LT_DLLOADERS"
+then
+ for lt_loader in $LT_DLLOADERS; do
+ LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
+ done
+ AC_DEFINE([HAVE_LIBDLLOADER], [1],
+ [Define if libdlloader will be built on this platform])
+fi
+AC_SUBST([LT_DLPREOPEN])
+
+dnl This isn't used anymore, but set it for backwards compatibility
+LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
+AC_SUBST([LIBADD_DL])
+
+LIBS=$lt_dlload_save_LIBS
+AC_LANG_POP
+])
+m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+AC_CACHE_CHECK([for _ prefix in compiled symbols],
+ [lt_cv_sys_symbol_underscore],
+ [lt_cv_sys_symbol_underscore=no
+ cat > conftest.$ac_ext <<_LT_EOF
+void nm_test_func(){}
+int main(){nm_test_func;return 0;}
+_LT_EOF
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ ac_nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
+ # See whether the symbols have a leading underscore.
+ if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
+ lt_cv_sys_symbol_underscore=yes
+ else
+ if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
+ :
+ else
+ echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ fi
+ else
+ echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.c >&AS_MESSAGE_LOG_FD
+ fi
+ rm -rf conftest*
+ ])
+ sys_symbol_underscore=$lt_cv_sys_symbol_underscore
+ AC_SUBST([sys_symbol_underscore])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:800: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl
+AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
+AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
+if test yes = "$lt_cv_sys_symbol_underscore"; then
+ if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
+ AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
+ [libltdl_cv_need_uscore],
+ [libltdl_cv_need_uscore=unknown
+ dlsym_uscore_save_LIBS=$LIBS
+ LIBS="$LIBS $LIBADD_DLOPEN"
+ libname=conftmod # stay within 8.3 filename limits!
+ cat >$libname.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+int fnord () { return 42; }]
+_LT_EOF
+
+ # ltfn_module_cmds module_cmds
+ # Execute tilde-delimited MODULE_CMDS with environment primed for
+ # $module_cmds or $archive_cmds type content.
+ ltfn_module_cmds ()
+ {( # subshell avoids polluting parent global environment
+ module_cmds_save_ifs=$IFS; IFS='~'
+ for cmd in @S|@1; do
+ IFS=$module_cmds_save_ifs
+ libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
+ rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
+ major=; versuffix=; verstring=; deplibs=
+ ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
+ eval $cmd
+ done
+ IFS=$module_cmds_save_ifs
+ )}
+
+ # Compile a loadable module using libtool macro expansion results.
+ $CC $pic_flag -c $libname.$ac_ext
+ ltfn_module_cmds "${module_cmds:-$archive_cmds}"
+
+ # Try to fetch fnord with dlsym().
+ libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
+ cat >conftest.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+#include <stdio.h>
+#ifndef RTLD_GLOBAL
+# ifdef DL_GLOBAL
+# define RTLD_GLOBAL DL_GLOBAL
+# else
+# define RTLD_GLOBAL 0
+# endif
+#endif
+#ifndef RTLD_NOW
+# ifdef DL_NOW
+# define RTLD_NOW DL_NOW
+# else
+# define RTLD_NOW 0
+# endif
+#endif
+int main () {
+ void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
+ int status = $libltdl_dlunknown;
+ if (handle) {
+ if (dlsym (handle, "fnord"))
+ status = $libltdl_dlnouscore;
+ else {
+ if (dlsym (handle, "_fnord"))
+ status = $libltdl_dluscore;
+ else
+ puts (dlerror ());
+ }
+ dlclose (handle);
+ } else
+ puts (dlerror ());
+ return status;
+}]
+_LT_EOF
+ if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
+ libltdl_status=$?
+ case x$libltdl_status in
+ x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
+ x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
+ x*) libltdl_cv_need_uscore=unknown ;;
+ esac
+ fi
+ rm -rf conftest* $libname*
+ LIBS=$dlsym_uscore_save_LIBS
+ ])
+ fi
+fi
+
+if test yes = "$libltdl_cv_need_uscore"; then
+ AC_DEFINE([NEED_USCORE], [1],
+ [Define if dlsym() requires a leading underscore in symbol names.])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
+m4trace:/usr/share/aclocal/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+m4trace:/usr/share/aclocal/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'dlopen' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'dlopen' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
+You should run autoupdate.])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
+You should run autoupdate.])dnl
+AC_ENABLE_SHARED($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
+You should run autoupdate.])dnl
+AC_DISABLE_SHARED($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
+You should run autoupdate.])dnl
+AC_ENABLE_STATIC($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
+You should run autoupdate.])dnl
+AC_DISABLE_STATIC($@)])
+m4trace:/usr/share/aclocal/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'disable-fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'disable-fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'pic-only' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'pic-only' option into LT_INIT's first parameter.])
+])
+m4trace:/usr/share/aclocal/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
+m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.4'
+macro_revision='2.4.4'
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
+_LT_DECL(, macro_revision, 0)
+])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
+m4trace:/usr/share/aclocal/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
+m4trace:/usr/share/aclocal/pkg.m4:27: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+fi[]dnl
+])
+m4trace:/usr/share/aclocal/pkg.m4:60: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_default([$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+m4trace:/usr/share/aclocal/pkg.m4:86: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])
+m4trace:/usr/share/aclocal/pkg.m4:106: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ AC_MSG_RESULT([no])
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ m4_default([$4], [AC_MSG_ERROR(
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT])[]dnl
+ ])
+elif test $pkg_failed = untried; then
+ AC_MSG_RESULT([no])
+ m4_default([$4], [AC_MSG_FAILURE(
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+ ])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ $3
+fi[]dnl
+])
+m4trace:/usr/share/aclocal/pkg.m4:169: -1- AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([pkgconfigdir],
+ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
+ [with_pkgconfigdir=]pkg_default)
+AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+])
+m4trace:/usr/share/aclocal/pkg.m4:189: -1- AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([noarch-pkgconfigdir],
+ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
+ [with_noarch_pkgconfigdir=]pkg_default)
+AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+])
+m4trace:/usr/share/aclocal/pkg.m4:206: -1- AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
+
+_PKG_CONFIG([$1], [variable="][$3]["], [$2])
+AS_VAR_COPY([$1], [pkg_cv_][$1])
+
+AS_VAR_IF([$1], [""], [$5], [$4])dnl
+])
+m4trace:/usr/share/aclocal-1.14/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.14'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.14.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+m4trace:/usr/share/aclocal-1.14/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.14.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+m4trace:/usr/share/aclocal-1.14/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+m4trace:/usr/share/aclocal-1.14/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+m4trace:/usr/share/aclocal-1.14/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+m4trace:/usr/share/aclocal-1.14/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+m4trace:/usr/share/aclocal-1.14/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+m4trace:/usr/share/aclocal-1.14/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])
+m4trace:/usr/share/aclocal-1.14/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+m4trace:/usr/share/aclocal-1.14/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake at gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi])
+m4trace:/usr/share/aclocal-1.14/init.m4:182: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+m4trace:/usr/share/aclocal-1.14/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+m4trace:/usr/share/aclocal-1.14/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+m4trace:/usr/share/aclocal-1.14/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+m4trace:/usr/share/aclocal-1.14/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+m4trace:/usr/share/aclocal-1.14/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
+AC_CONFIG_HEADERS($@)])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should simply use the 'AC][_PROG_CC' macro instead.
+Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
+but upon 'ac_cv_prog_cc_stdc'.])])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:26: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_FATAL([automatic de-ANSI-fication support has been removed])])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:28: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete.
+You should run autoupdate.])dnl
+AM_C_PROTOTYPES])
+m4trace:/usr/share/aclocal-1.14/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+m4trace:/usr/share/aclocal-1.14/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+m4trace:/usr/share/aclocal-1.14/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+m4trace:/usr/share/aclocal-1.14/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+AC_LANG_PUSH([C])dnl
+AC_CACHE_CHECK(
+ [whether $CC understands -c and -o together],
+ [am_cv_prog_cc_c_o],
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i])
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+AC_LANG_POP([C])])
+m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+m4trace:/usr/share/aclocal-1.14/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
+m4trace:/usr/share/aclocal-1.14/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+m4trace:/usr/share/aclocal-1.14/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+m4trace:/usr/share/aclocal-1.14/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+m4trace:/usr/share/aclocal-1.14/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
+m4trace:/usr/share/aclocal-1.14/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+m4trace:/usr/share/aclocal-1.14/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^subdirs$])
+m4trace:configure.ac:49: -1- AM_INIT_AUTOMAKE([gsequencer], [0.4.3])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:49: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
+m4trace:configure.ac:49: -1- AM_AUTOMAKE_VERSION([1.14.1])
+m4trace:configure.ac:49: -1- _AM_AUTOCONF_VERSION([2.69])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:49: -1- _m4_warn([obsolete], [AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.], [/usr/share/aclocal-1.14/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
+configure.ac:49: the top level])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:49: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
+m4trace:configure.ac:49: -2- _AM_MANGLE_OPTION([no-define])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:49: -1- AM_SANITY_CHECK
+m4trace:configure.ac:49: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+m4trace:configure.ac:49: -1- AM_MISSING_HAS_RUN
+m4trace:configure.ac:49: -1- AM_AUX_DIR_EXPAND
+m4trace:configure.ac:49: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:49: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:49: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:49: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:49: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:49: -1- AM_PROG_INSTALL_SH
+m4trace:configure.ac:49: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:49: -1- AM_PROG_INSTALL_STRIP
+m4trace:configure.ac:49: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^MKDIR_P$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:49: -1- AM_SET_LEADING_DOT
+m4trace:configure.ac:49: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:49: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+m4trace:configure.ac:49: -2- _AM_MANGLE_OPTION([tar-ustar])
+m4trace:configure.ac:49: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
+m4trace:configure.ac:49: -2- _AM_MANGLE_OPTION([tar-pax])
+m4trace:configure.ac:49: -1- _AM_PROG_TAR([v7])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:49: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+m4trace:configure.ac:49: -2- _AM_MANGLE_OPTION([no-dependencies])
+m4trace:configure.ac:49: -1- AM_SILENT_RULES
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AM_V$])
+m4trace:configure.ac:49: -1- AM_SUBST_NOTMAKE([AM_V])
+m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([AM_V])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AM_DEFAULT_V$])
+m4trace:configure.ac:49: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
+m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
+m4trace:configure.ac:49: -1- m4_pattern_allow([^AM_BACKSLASH$])
+m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^CXXFLAGS$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^ac_ct_CXX$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:52: -1- _AM_DEPENDENCIES([CXX])
+m4trace:configure.ac:52: -1- AM_SET_DEPDIR
+m4trace:configure.ac:52: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:52: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:52: -1- AM_MAKE_INCLUDE
+m4trace:configure.ac:52: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:52: -1- AM_DEP_TRACK
+m4trace:configure.ac:52: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:52: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:52: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:52: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^am__nodep$])
+m4trace:configure.ac:52: -1- _AM_SUBST_NOTMAKE([am__nodep])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^CXXDEPMODE$])
+m4trace:configure.ac:52: -1- AM_CONDITIONAL([am__fastdepCXX], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
+m4trace:configure.ac:52: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:52: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:54: -1- _AM_PROG_CC_C_O
+m4trace:configure.ac:54: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
+m4trace:configure.ac:54: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:54: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:54: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:54: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:55: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:55: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:55: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:57: -1- m4_pattern_allow([^LN_S$])
+m4trace:configure.ac:58: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:60: -1- AM_PROG_CC_STDC
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:60: -1- _AM_PROG_CC_C_O
+m4trace:configure.ac:60: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
+m4trace:configure.ac:60: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:60: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:60: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:60: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:60: -1- _m4_warn([obsolete], ['AM_PROG_CC_STDC': this macro is obsolete.
+You should simply use the 'AC_PROG_CC' macro instead.
+Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
+but upon 'ac_cv_prog_cc_stdc'.], [/usr/share/aclocal-1.14/obsolete.m4:17: AM_PROG_CC_STDC is expanded from...
+configure.ac:60: the top level])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^const$])
+m4trace:configure.ac:62: -1- AC_LIBTOOL_WIN32_DLL
+m4trace:configure.ac:62: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
+You should run autoupdate.], [/usr/share/aclocal/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
+configure.ac:62: the top level])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^build$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^build_cpu$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^build_vendor$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^build_os$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^host$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^host_cpu$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^host_vendor$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^host_os$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^AS$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:62: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.], [/usr/share/aclocal/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
+configure.ac:62: the top level])
+m4trace:configure.ac:63: -1- AM_PROG_LIBTOOL
+m4trace:configure.ac:63: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
+You should run autoupdate.], [/usr/share/aclocal/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
+configure.ac:63: the top level])
+m4trace:configure.ac:63: -1- LT_INIT
+m4trace:configure.ac:63: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
+m4trace:configure.ac:63: -1- LTOPTIONS_VERSION
+m4trace:configure.ac:63: -1- LTSUGAR_VERSION
+m4trace:configure.ac:63: -1- LTVERSION_VERSION
+m4trace:configure.ac:63: -1- LTOBSOLETE_VERSION
+m4trace:configure.ac:63: -1- _LT_PROG_LTMAIN
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LIBTOOL$])
+m4trace:configure.ac:63: -1- _LT_PREPARE_SED_QUOTE_VARS
+m4trace:configure.ac:63: -1- _LT_PROG_ECHO_BACKSLASH
+m4trace:configure.ac:63: -1- LT_PATH_LD
+m4trace:configure.ac:63: -1- m4_pattern_allow([^SED$])
+m4trace:configure.ac:63: -1- AC_PROG_EGREP
+m4trace:configure.ac:63: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^FGREP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LD$])
+m4trace:configure.ac:63: -1- LT_PATH_NM
+m4trace:configure.ac:63: -1- m4_pattern_allow([^DUMPBIN$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^DUMPBIN$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^NM$])
+m4trace:configure.ac:63: -1- LT_CMD_MAX_LEN
+m4trace:configure.ac:63: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^AR$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^ac_ct_AR$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:63: -1- _LT_WITH_SYSROOT
+m4trace:configure.ac:63: -1- m4_pattern_allow([LT_OBJDIR])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LT_OBJDIR$])
+m4trace:configure.ac:63: -1- _LT_CC_BASENAME([$compiler])
+m4trace:configure.ac:63: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
+m4trace:configure.ac:63: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
+m4trace:configure.ac:63: -1- LT_SUPPORTED_TAG([CC])
+m4trace:configure.ac:63: -1- _LT_COMPILER_BOILERPLATE
+m4trace:configure.ac:63: -1- _LT_LINKER_BOILERPLATE
+m4trace:configure.ac:63: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
+m4trace:configure.ac:63: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t at m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
+ esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
+m4trace:configure.ac:63: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^MANIFEST_TOOL$])
+m4trace:configure.ac:63: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:63: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:63: -1- _LT_REQUIRED_DARWIN_CHECKS
+m4trace:configure.ac:63: -1- m4_pattern_allow([^DSYMUTIL$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^NMEDIT$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LIPO$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^OTOOL$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^OTOOL64$])
+m4trace:configure.ac:63: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
+m4trace:configure.ac:63: -1- LT_SYS_DLOPEN_SELF
+m4trace:configure.ac:63: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
+m4trace:configure.ac:63: -1- LT_LANG([CXX])
+m4trace:configure.ac:63: -1- LT_SUPPORTED_TAG([CXX])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CXXCPP$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CXXCPP$])
+m4trace:configure.ac:63: -1- _LT_COMPILER_BOILERPLATE
+m4trace:configure.ac:63: -1- _LT_LINKER_BOILERPLATE
+m4trace:configure.ac:63: -1- _LT_CC_BASENAME([$compiler])
+m4trace:configure.ac:63: -1- LT_PATH_LD
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LD$])
+m4trace:configure.ac:63: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:63: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:63: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t at m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
+ esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
+m4trace:configure.ac:63: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
+m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LIBGMP$])
+m4trace:configure.ac:69: -1- m4_pattern_allow([^HAVE_LIBM$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^HAVE_LIBRT$])
+m4trace:configure.ac:74: -1- m4_pattern_allow([^XMKMF$])
+m4trace:configure.ac:78: -1- m4_pattern_allow([^pid_t$])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^size_t$])
+m4trace:configure.ac:80: -1- m4_pattern_allow([^uid_t$])
+m4trace:configure.ac:80: -1- m4_pattern_allow([^gid_t$])
+m4trace:configure.ac:82: -1- PKG_CHECK_MODULES([UUID], [uuid >= 1.0.2])
+m4trace:configure.ac:82: -1- PKG_PROG_PKG_CONFIG
+m4trace:configure.ac:82: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^UUID_CFLAGS$])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^UUID_LIBS$])
+m4trace:configure.ac:82: -1- PKG_CHECK_EXISTS([uuid >= 1.0.2], [pkg_cv_[]UUID_CFLAGS=`$PKG_CONFIG --[]cflags "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:82: -1- PKG_CHECK_EXISTS([uuid >= 1.0.2], [pkg_cv_[]UUID_LIBS=`$PKG_CONFIG --[]libs "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:82: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:83: -1- m4_pattern_allow([^UUID_CFLAGS$])
+m4trace:configure.ac:84: -1- m4_pattern_allow([^UUID_LIBS$])
+m4trace:configure.ac:86: -1- PKG_CHECK_MODULES([LIBAO], [ao >= 1.1.0])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LIBAO_CFLAGS$])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LIBAO_LIBS$])
+m4trace:configure.ac:86: -1- PKG_CHECK_EXISTS([ao >= 1.1.0], [pkg_cv_[]LIBAO_CFLAGS=`$PKG_CONFIG --[]cflags "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:86: -1- PKG_CHECK_EXISTS([ao >= 1.1.0], [pkg_cv_[]LIBAO_LIBS=`$PKG_CONFIG --[]libs "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:86: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:87: -1- m4_pattern_allow([^LIBAO_CFLAGS$])
+m4trace:configure.ac:88: -1- m4_pattern_allow([^LIBAO_LIBS$])
+m4trace:configure.ac:90: -1- PKG_CHECK_MODULES([LIBASOUND2], [alsa >= 1.0.25])
+m4trace:configure.ac:90: -1- m4_pattern_allow([^LIBASOUND2_CFLAGS$])
+m4trace:configure.ac:90: -1- m4_pattern_allow([^LIBASOUND2_LIBS$])
+m4trace:configure.ac:90: -1- PKG_CHECK_EXISTS([alsa >= 1.0.25], [pkg_cv_[]LIBASOUND2_CFLAGS=`$PKG_CONFIG --[]cflags "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:90: -1- PKG_CHECK_EXISTS([alsa >= 1.0.25], [pkg_cv_[]LIBASOUND2_LIBS=`$PKG_CONFIG --[]libs "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:90: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:91: -1- m4_pattern_allow([^LIBASOUND2_CFLAGS$])
+m4trace:configure.ac:92: -1- m4_pattern_allow([^LIBASOUND2_LIBS$])
+m4trace:configure.ac:94: -1- PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.8.0])
+m4trace:configure.ac:94: -1- m4_pattern_allow([^LIBXML2_CFLAGS$])
+m4trace:configure.ac:94: -1- m4_pattern_allow([^LIBXML2_LIBS$])
+m4trace:configure.ac:94: -1- PKG_CHECK_EXISTS([libxml-2.0 >= 2.8.0], [pkg_cv_[]LIBXML2_CFLAGS=`$PKG_CONFIG --[]cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:94: -1- PKG_CHECK_EXISTS([libxml-2.0 >= 2.8.0], [pkg_cv_[]LIBXML2_LIBS=`$PKG_CONFIG --[]libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:94: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:95: -1- m4_pattern_allow([^LIBXML2_CFLAGS$])
+m4trace:configure.ac:96: -1- m4_pattern_allow([^LIBXML2_LIBS$])
+m4trace:configure.ac:98: -1- PKG_CHECK_MODULES([SNDFILE], [sndfile >= 1.0.25])
+m4trace:configure.ac:98: -1- m4_pattern_allow([^SNDFILE_CFLAGS$])
+m4trace:configure.ac:98: -1- m4_pattern_allow([^SNDFILE_LIBS$])
+m4trace:configure.ac:98: -1- PKG_CHECK_EXISTS([sndfile >= 1.0.25], [pkg_cv_[]SNDFILE_CFLAGS=`$PKG_CONFIG --[]cflags "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:98: -1- PKG_CHECK_EXISTS([sndfile >= 1.0.25], [pkg_cv_[]SNDFILE_LIBS=`$PKG_CONFIG --[]libs "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:98: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:99: -1- m4_pattern_allow([^SNDFILE_CFLAGS$])
+m4trace:configure.ac:100: -1- m4_pattern_allow([^SNDFILE_LIBS$])
+m4trace:configure.ac:102: -1- PKG_CHECK_MODULES([LIBINSTPATCH], [libinstpatch-1.0 >= 1.0])
+m4trace:configure.ac:102: -1- m4_pattern_allow([^LIBINSTPATCH_CFLAGS$])
+m4trace:configure.ac:102: -1- m4_pattern_allow([^LIBINSTPATCH_LIBS$])
+m4trace:configure.ac:102: -1- PKG_CHECK_EXISTS([libinstpatch-1.0 >= 1.0], [pkg_cv_[]LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --[]cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:102: -1- PKG_CHECK_EXISTS([libinstpatch-1.0 >= 1.0], [pkg_cv_[]LIBINSTPATCH_LIBS=`$PKG_CONFIG --[]libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:102: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:103: -1- m4_pattern_allow([^LIBINSTPATCH_CFLAGS$])
+m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBINSTPATCH_LIBS$])
+m4trace:configure.ac:106: -1- PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3])
+m4trace:configure.ac:106: -1- m4_pattern_allow([^GOBJECT_CFLAGS$])
+m4trace:configure.ac:106: -1- m4_pattern_allow([^GOBJECT_LIBS$])
+m4trace:configure.ac:106: -1- PKG_CHECK_EXISTS([gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3], [pkg_cv_[]GOBJECT_CFLAGS=`$PKG_CONFIG --[]cflags "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:106: -1- PKG_CHECK_EXISTS([gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3], [pkg_cv_[]GOBJECT_LIBS=`$PKG_CONFIG --[]libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:106: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:107: -1- m4_pattern_allow([^GOBJECT_CFLAGS$])
+m4trace:configure.ac:108: -1- m4_pattern_allow([^GOBJECT_LIBS$])
+m4trace:configure.ac:110: -1- PKG_CHECK_MODULES([GDKPIXBUF], [gdk-pixbuf-2.0 >= 2.26.1])
+m4trace:configure.ac:110: -1- m4_pattern_allow([^GDKPIXBUF_CFLAGS$])
+m4trace:configure.ac:110: -1- m4_pattern_allow([^GDKPIXBUF_LIBS$])
+m4trace:configure.ac:110: -1- PKG_CHECK_EXISTS([gdk-pixbuf-2.0 >= 2.26.1], [pkg_cv_[]GDKPIXBUF_CFLAGS=`$PKG_CONFIG --[]cflags "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:110: -1- PKG_CHECK_EXISTS([gdk-pixbuf-2.0 >= 2.26.1], [pkg_cv_[]GDKPIXBUF_LIBS=`$PKG_CONFIG --[]libs "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:110: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:111: -1- m4_pattern_allow([^GDKPIXBUF_CFLAGS$])
+m4trace:configure.ac:112: -1- m4_pattern_allow([^GDKPIXBUF_LIBS$])
+m4trace:configure.ac:114: -1- PKG_CHECK_MODULES([CAIRO], [cairo >= 1.12.0])
+m4trace:configure.ac:114: -1- m4_pattern_allow([^CAIRO_CFLAGS$])
+m4trace:configure.ac:114: -1- m4_pattern_allow([^CAIRO_LIBS$])
+m4trace:configure.ac:114: -1- PKG_CHECK_EXISTS([cairo >= 1.12.0], [pkg_cv_[]CAIRO_CFLAGS=`$PKG_CONFIG --[]cflags "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:114: -1- PKG_CHECK_EXISTS([cairo >= 1.12.0], [pkg_cv_[]CAIRO_LIBS=`$PKG_CONFIG --[]libs "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:114: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:115: -1- m4_pattern_allow([^CAIRO_CFLAGS$])
+m4trace:configure.ac:116: -1- m4_pattern_allow([^CAIRO_LIBS$])
+m4trace:configure.ac:118: -1- PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.24.10])
+m4trace:configure.ac:118: -1- m4_pattern_allow([^GTK_CFLAGS$])
+m4trace:configure.ac:118: -1- m4_pattern_allow([^GTK_LIBS$])
+m4trace:configure.ac:118: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.24.10], [pkg_cv_[]GTK_CFLAGS=`$PKG_CONFIG --[]cflags "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:118: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.24.10], [pkg_cv_[]GTK_LIBS=`$PKG_CONFIG --[]libs "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:118: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:119: -1- m4_pattern_allow([^GTK_CFLAGS$])
+m4trace:configure.ac:120: -1- m4_pattern_allow([^GTK_LIBS$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^malloc$])
+m4trace:configure.ac:140: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:140: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:140: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:140: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:140: -1- m4_pattern_allow([^realloc$])
+m4trace:configure.ac:143: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:143: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:143: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:143: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:143: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:143: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:143: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:143: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
+m4trace:configure.ac:143: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:143: -1- _LT_PROG_LTMAIN
diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1
new file mode 100644
index 0000000..793091b
--- /dev/null
+++ b/autom4te.cache/traces.1
@@ -0,0 +1,942 @@
+m4trace:aclocal.m4:1394: -1- m4_include([m4/libtool.m4])
+m4trace:aclocal.m4:1395: -1- m4_include([m4/ltoptions.m4])
+m4trace:aclocal.m4:1396: -1- m4_include([m4/ltsugar.m4])
+m4trace:aclocal.m4:1397: -1- m4_include([m4/ltversion.m4])
+m4trace:aclocal.m4:1398: -1- m4_include([m4/lt~obsolete.m4])
+m4trace:configure.ac:5: -1- AC_INIT([gsequencer], [0.4.3], [weedlight at gmail.com])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:5: -1- AC_SUBST([SHELL])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_URL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
+ ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
+ ['${datarootdir}/doc/${PACKAGE}'])])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
+@%:@undef PACKAGE_NAME])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
+@%:@undef PACKAGE_TARNAME])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
+@%:@undef PACKAGE_VERSION])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
+@%:@undef PACKAGE_STRING])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
+@%:@undef PACKAGE_BUGREPORT])
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
+@%:@undef PACKAGE_URL])
+m4trace:configure.ac:5: -1- AC_SUBST([DEFS])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:5: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:5: -1- AC_SUBST([build_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:5: -1- AC_SUBST([host_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:5: -1- AC_SUBST([target_alias])
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:7: -1- AC_CONFIG_HEADERS([config.h])
+m4trace:configure.ac:8: -1- AC_CONFIG_SUBDIRS([po
+ doc
+ src/ags
+ src/ags/X
+ src/ags/X/editor
+ src/ags/X/machine
+ src/ags/audio
+ src/ags/audio/file
+ src/ags/audio/recall
+ src/ags/audio/task
+ src/ags/audio/task/recall
+ src/ags/file
+ src/ags/lib
+ src/ags/object
+ src/ags/plugin
+ src/ags/server
+ src/ags/thread
+ src/ags/util
+ src/ags/widget])
+m4trace:configure.ac:8: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([po
+ doc
+ src/ags
+ src/ags/X
+ src/ags/X/editor
+ src/ags/X/machine
+ src/ags/audio
+ src/ags/audio/file
+ src/ags/audio/recall
+ src/ags/audio/task
+ src/ags/audio/task/recall
+ src/ags/file
+ src/ags/lib
+ src/ags/object
+ src/ags/plugin
+ src/ags/server
+ src/ags/thread
+ src/ags/util
+ src/ags/widget])"])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([subdirs])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^subdirs$])
+m4trace:configure.ac:27: -1- AC_CONFIG_FILES([Makefile
+ po/Makefile
+ doc/Makefile
+ src/ags/Makefile
+ src/ags/X/Makefile
+ src/ags/X/editor/Makefile
+ src/ags/X/machine/Makefile
+ src/ags/audio/Makefile
+ src/ags/audio/file/Makefile
+ src/ags/audio/recall/Makefile
+ src/ags/audio/task/Makefile
+ src/ags/audio/task/recall/Makefile
+ src/ags/file/Makefile
+ src/ags/lib/Makefile
+ src/ags/object/Makefile
+ src/ags/plugin/Makefile
+ src/ags/server/Makefile
+ src/ags/thread/Makefile
+ src/ags/util/Makefile
+ src/ags/widget/Makefile])
+m4trace:configure.ac:48: -1- AM_INIT_AUTOMAKE([gsequencer], [0.4.3])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:48: -1- AM_AUTOMAKE_VERSION([1.14.1])
+m4trace:configure.ac:48: -1- AC_REQUIRE_AUX_FILE([install-sh])
+m4trace:configure.ac:48: -1- AC_SUBST([INSTALL_PROGRAM])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:48: -1- AC_SUBST([INSTALL_SCRIPT])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:48: -1- AC_SUBST([INSTALL_DATA])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([INSTALL_DATA])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:48: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([am__isrc])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:48: -1- AC_SUBST([CYGPATH_W])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([CYGPATH_W])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:48: -1- _m4_warn([obsolete], [AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.], [aclocal.m4:653: AM_INIT_AUTOMAKE is expanded from...
+configure.ac:48: the top level])
+m4trace:configure.ac:48: -1- AC_SUBST([PACKAGE], [gsequencer])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([PACKAGE])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:48: -1- AC_SUBST([VERSION], [0.4.3])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([VERSION])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:48: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:48: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
+@%:@undef PACKAGE])
+m4trace:configure.ac:48: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:48: -1- AH_OUTPUT([VERSION], [/* Version number of package */
+@%:@undef VERSION])
+m4trace:configure.ac:48: -1- AC_REQUIRE_AUX_FILE([missing])
+m4trace:configure.ac:48: -1- AC_SUBST([ACLOCAL])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([ACLOCAL])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:48: -1- AC_SUBST([AUTOCONF])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AUTOCONF])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:48: -1- AC_SUBST([AUTOMAKE])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AUTOMAKE])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:48: -1- AC_SUBST([AUTOHEADER])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AUTOHEADER])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:48: -1- AC_SUBST([MAKEINFO])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([MAKEINFO])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:48: -1- AC_SUBST([install_sh])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([install_sh])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:48: -1- AC_SUBST([STRIP])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([STRIP])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:48: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:48: -1- AC_REQUIRE_AUX_FILE([install-sh])
+m4trace:configure.ac:48: -1- AC_SUBST([MKDIR_P])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([MKDIR_P])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^MKDIR_P$])
+m4trace:configure.ac:48: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([mkdir_p])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:48: -1- AC_SUBST([AWK])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AWK])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:48: -1- AC_SUBST([SET_MAKE])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([SET_MAKE])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:48: -1- AC_SUBST([am__leading_dot])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([am__leading_dot])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:48: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AMTAR])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:48: -1- AC_SUBST([am__tar])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([am__tar])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:48: -1- AC_SUBST([am__untar])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([am__untar])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:48: -1- AM_SILENT_RULES
+m4trace:configure.ac:48: -1- AC_SUBST([AM_V])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AM_V])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_V$])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([AM_V])
+m4trace:configure.ac:48: -1- AC_SUBST([AM_DEFAULT_V])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_DEFAULT_V$])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
+m4trace:configure.ac:48: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
+m4trace:configure.ac:48: -1- AC_SUBST([AM_BACKSLASH])
+m4trace:configure.ac:48: -1- AC_SUBST_TRACE([AM_BACKSLASH])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_BACKSLASH$])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
+m4trace:configure.ac:51: -1- AC_SUBST([CXX])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CXX])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:51: -1- AC_SUBST([CXXFLAGS])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CXXFLAGS])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXFLAGS$])
+m4trace:configure.ac:51: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:51: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:51: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:51: -1- AC_SUBST([CXX])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CXX])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:51: -1- AC_SUBST([ac_ct_CXX])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([ac_ct_CXX])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^ac_ct_CXX$])
+m4trace:configure.ac:51: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([EXEEXT])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:51: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([OBJEXT])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:51: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([DEPDIR])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:51: -1- AC_SUBST([am__include])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([am__include])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:51: -1- AC_SUBST([am__quote])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([am__quote])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:51: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:51: -1- AC_SUBST([AMDEP_TRUE])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([AMDEP_TRUE])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:51: -1- AC_SUBST([AMDEP_FALSE])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([AMDEP_FALSE])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:51: -1- AC_SUBST([AMDEPBACKSLASH])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:51: -1- AC_SUBST([am__nodep])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([am__nodep])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__nodep$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([am__nodep])
+m4trace:configure.ac:51: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([CXXDEPMODE])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXDEPMODE$])
+m4trace:configure.ac:51: -1- AM_CONDITIONAL([am__fastdepCXX], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:51: -1- AC_SUBST([am__fastdepCXX_TRUE])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
+m4trace:configure.ac:51: -1- AC_SUBST([am__fastdepCXX_FALSE])
+m4trace:configure.ac:51: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:52: -1- AC_SUBST([AWK])
+m4trace:configure.ac:52: -1- AC_SUBST_TRACE([AWK])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:53: -1- AC_SUBST([CC])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- AC_SUBST([CFLAGS])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CFLAGS])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:53: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:53: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:53: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:53: -1- AC_SUBST([CC])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- AC_SUBST([CC])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- AC_SUBST([CC])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- AC_SUBST([CC])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- AC_SUBST([ac_ct_CC])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([ac_ct_CC])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:53: -1- AC_REQUIRE_AUX_FILE([compile])
+m4trace:configure.ac:53: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([CCDEPMODE])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:53: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:53: -1- AC_SUBST([am__fastdepCC_TRUE])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:53: -1- AC_SUBST([am__fastdepCC_FALSE])
+m4trace:configure.ac:53: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:53: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:53: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:54: -1- AC_SUBST([CPP])
+m4trace:configure.ac:54: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:54: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:54: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:54: -1- AC_SUBST([CPP])
+m4trace:configure.ac:54: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:56: -1- AC_SUBST([LN_S], [$as_ln_s])
+m4trace:configure.ac:56: -1- AC_SUBST_TRACE([LN_S])
+m4trace:configure.ac:56: -1- m4_pattern_allow([^LN_S$])
+m4trace:configure.ac:57: -1- AC_SUBST([SET_MAKE])
+m4trace:configure.ac:57: -1- AC_SUBST_TRACE([SET_MAKE])
+m4trace:configure.ac:57: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:58: -1- AC_SUBST([RANLIB])
+m4trace:configure.ac:58: -1- AC_SUBST_TRACE([RANLIB])
+m4trace:configure.ac:58: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:59: -1- AC_SUBST([CC])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- AC_SUBST([CFLAGS])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CFLAGS])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:59: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:59: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:59: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:59: -1- AC_SUBST([CC])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- AC_SUBST([CC])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- AC_SUBST([CC])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- AC_SUBST([CC])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- AC_SUBST([ac_ct_CC])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([ac_ct_CC])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:59: -1- AC_REQUIRE_AUX_FILE([compile])
+m4trace:configure.ac:59: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CCDEPMODE])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:59: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:59: -1- AC_SUBST([am__fastdepCC_TRUE])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:59: -1- AC_SUBST([am__fastdepCC_FALSE])
+m4trace:configure.ac:59: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:59: -1- _m4_warn([obsolete], ['AM_PROG_CC_STDC': this macro is obsolete.
+You should simply use the 'AC_PROG_CC' macro instead.
+Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
+but upon 'ac_cv_prog_cc_stdc'.], [aclocal.m4:965: AM_PROG_CC_STDC is expanded from...
+configure.ac:59: the top level])
+m4trace:configure.ac:60: -1- AC_DEFINE_TRACE_LITERAL([const])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^const$])
+m4trace:configure.ac:60: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
+@%:@undef const])
+m4trace:configure.ac:61: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
+You should run autoupdate.], [m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
+configure.ac:61: the top level])
+m4trace:configure.ac:61: -1- AC_CANONICAL_HOST
+m4trace:configure.ac:61: -1- AC_CANONICAL_BUILD
+m4trace:configure.ac:61: -1- AC_REQUIRE_AUX_FILE([config.sub])
+m4trace:configure.ac:61: -1- AC_REQUIRE_AUX_FILE([config.guess])
+m4trace:configure.ac:61: -1- AC_SUBST([build], [$ac_cv_build])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([build])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build$])
+m4trace:configure.ac:61: -1- AC_SUBST([build_cpu], [$[1]])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([build_cpu])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build_cpu$])
+m4trace:configure.ac:61: -1- AC_SUBST([build_vendor], [$[2]])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([build_vendor])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build_vendor$])
+m4trace:configure.ac:61: -1- AC_SUBST([build_os])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([build_os])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build_os$])
+m4trace:configure.ac:61: -1- AC_SUBST([host], [$ac_cv_host])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([host])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host$])
+m4trace:configure.ac:61: -1- AC_SUBST([host_cpu], [$[1]])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([host_cpu])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host_cpu$])
+m4trace:configure.ac:61: -1- AC_SUBST([host_vendor], [$[2]])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([host_vendor])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host_vendor$])
+m4trace:configure.ac:61: -1- AC_SUBST([host_os])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([host_os])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host_os$])
+m4trace:configure.ac:61: -1- AC_SUBST([AS])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([AS])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^AS$])
+m4trace:configure.ac:61: -1- AC_SUBST([DLLTOOL])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([DLLTOOL])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:61: -1- AC_SUBST([OBJDUMP])
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([OBJDUMP])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:61: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.], [m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
+configure.ac:61: the top level])
+m4trace:configure.ac:62: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
+You should run autoupdate.], [m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
+configure.ac:62: the top level])
+m4trace:configure.ac:62: -1- LT_INIT
+m4trace:configure.ac:62: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
+m4trace:configure.ac:62: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
+m4trace:configure.ac:62: -1- AC_SUBST([LIBTOOL])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LIBTOOL])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LIBTOOL$])
+m4trace:configure.ac:62: -1- AC_SUBST([SED])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([SED])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^SED$])
+m4trace:configure.ac:62: -1- AC_SUBST([GREP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([GREP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:62: -1- AC_SUBST([EGREP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([EGREP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:62: -1- AC_SUBST([FGREP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([FGREP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^FGREP$])
+m4trace:configure.ac:62: -1- AC_SUBST([GREP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([GREP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:62: -1- AC_SUBST([LD])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LD])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LD$])
+m4trace:configure.ac:62: -1- AC_SUBST([DUMPBIN])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([DUMPBIN])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DUMPBIN$])
+m4trace:configure.ac:62: -1- AC_SUBST([ac_ct_DUMPBIN])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
+m4trace:configure.ac:62: -1- AC_SUBST([DUMPBIN])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([DUMPBIN])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DUMPBIN$])
+m4trace:configure.ac:62: -1- AC_SUBST([NM])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([NM])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^NM$])
+m4trace:configure.ac:62: -1- AC_SUBST([OBJDUMP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([OBJDUMP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:62: -1- AC_SUBST([OBJDUMP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([OBJDUMP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:62: -1- AC_SUBST([DLLTOOL])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([DLLTOOL])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:62: -1- AC_SUBST([DLLTOOL])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([DLLTOOL])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:62: -1- AC_SUBST([AR])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([AR])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^AR$])
+m4trace:configure.ac:62: -1- AC_SUBST([ac_ct_AR])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([ac_ct_AR])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^ac_ct_AR$])
+m4trace:configure.ac:62: -1- AC_SUBST([STRIP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([STRIP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:62: -1- AC_SUBST([RANLIB])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([RANLIB])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([LT_OBJDIR])
+m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LT_OBJDIR$])
+m4trace:configure.ac:62: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory where libtool stores uninstalled libraries. */
+@%:@undef LT_OBJDIR])
+m4trace:configure.ac:62: -1- LT_SUPPORTED_TAG([CC])
+m4trace:configure.ac:62: -1- AC_SUBST([MANIFEST_TOOL])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^MANIFEST_TOOL$])
+m4trace:configure.ac:62: -1- AC_SUBST([DSYMUTIL])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([DSYMUTIL])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DSYMUTIL$])
+m4trace:configure.ac:62: -1- AC_SUBST([NMEDIT])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([NMEDIT])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^NMEDIT$])
+m4trace:configure.ac:62: -1- AC_SUBST([LIPO])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LIPO])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LIPO$])
+m4trace:configure.ac:62: -1- AC_SUBST([OTOOL])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([OTOOL])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OTOOL$])
+m4trace:configure.ac:62: -1- AC_SUBST([OTOOL64])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([OTOOL64])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OTOOL64$])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
+@%:@undef HAVE_DLFCN_H])
+m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:62: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
+@%:@undef STDC_HEADERS])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
+@%:@undef HAVE_SYS_TYPES_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
+@%:@undef HAVE_SYS_STAT_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+@%:@undef HAVE_STDLIB_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
+@%:@undef HAVE_STRING_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
+@%:@undef HAVE_MEMORY_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
+@%:@undef HAVE_STRINGS_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
+@%:@undef HAVE_INTTYPES_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
+@%:@undef HAVE_STDINT_H])
+m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
+@%:@undef HAVE_UNISTD_H])
+m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
+m4trace:configure.ac:62: -1- LT_SUPPORTED_TAG([CXX])
+m4trace:configure.ac:62: -1- AC_SUBST([CXXCPP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([CXXCPP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^CXXCPP$])
+m4trace:configure.ac:62: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:62: -1- AC_SUBST([CXXCPP])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([CXXCPP])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^CXXCPP$])
+m4trace:configure.ac:62: -1- AC_SUBST([LD])
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LD])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LD$])
+m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_LIBGMP], [/* Define to 1 if you have the `gmp\' library (-lgmp). */
+@%:@undef HAVE_LIBGMP])
+m4trace:configure.ac:66: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGMP])
+m4trace:configure.ac:66: -1- m4_pattern_allow([^HAVE_LIBGMP$])
+m4trace:configure.ac:68: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */
+@%:@undef HAVE_LIBM])
+m4trace:configure.ac:68: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM])
+m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE_LIBM$])
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_LIBRT], [/* Define to 1 if you have the `rt\' library (-lrt). */
+@%:@undef HAVE_LIBRT])
+m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRT])
+m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_LIBRT$])
+m4trace:configure.ac:73: -1- AC_SUBST([XMKMF])
+m4trace:configure.ac:73: -1- AC_SUBST_TRACE([XMKMF])
+m4trace:configure.ac:73: -1- m4_pattern_allow([^XMKMF$])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
+@%:@undef HAVE_FCNTL_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the <libintl.h> header file. */
+@%:@undef HAVE_LIBINTL_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
+@%:@undef HAVE_NETINET_IN_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
+@%:@undef HAVE_STDINT_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+@%:@undef HAVE_STDLIB_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
+@%:@undef HAVE_STRING_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
+@%:@undef HAVE_SYS_IOCTL_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
+@%:@undef HAVE_SYS_SOCKET_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
+@%:@undef HAVE_SYS_TIME_H])
+m4trace:configure.ac:74: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
+@%:@undef HAVE_UNISTD_H])
+m4trace:configure.ac:77: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
+m4trace:configure.ac:77: -1- m4_pattern_allow([^pid_t$])
+m4trace:configure.ac:77: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
+@%:@undef pid_t])
+m4trace:configure.ac:78: -1- AC_DEFINE_TRACE_LITERAL([size_t])
+m4trace:configure.ac:78: -1- m4_pattern_allow([^size_t$])
+m4trace:configure.ac:78: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
+@%:@undef size_t])
+m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^uid_t$])
+m4trace:configure.ac:79: -1- AH_OUTPUT([uid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
+@%:@undef uid_t])
+m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^gid_t$])
+m4trace:configure.ac:79: -1- AH_OUTPUT([gid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
+@%:@undef gid_t])
+m4trace:configure.ac:81: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+m4trace:configure.ac:81: -1- AC_SUBST([PKG_CONFIG])
+m4trace:configure.ac:81: -1- AC_SUBST_TRACE([PKG_CONFIG])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:81: -1- AC_SUBST([PKG_CONFIG_PATH])
+m4trace:configure.ac:81: -1- AC_SUBST_TRACE([PKG_CONFIG_PATH])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
+m4trace:configure.ac:81: -1- AC_SUBST([PKG_CONFIG_LIBDIR])
+m4trace:configure.ac:81: -1- AC_SUBST_TRACE([PKG_CONFIG_LIBDIR])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
+m4trace:configure.ac:81: -1- AC_SUBST([PKG_CONFIG])
+m4trace:configure.ac:81: -1- AC_SUBST_TRACE([PKG_CONFIG])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:81: -1- AC_SUBST([UUID_CFLAGS])
+m4trace:configure.ac:81: -1- AC_SUBST_TRACE([UUID_CFLAGS])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^UUID_CFLAGS$])
+m4trace:configure.ac:81: -1- AC_SUBST([UUID_LIBS])
+m4trace:configure.ac:81: -1- AC_SUBST_TRACE([UUID_LIBS])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^UUID_LIBS$])
+m4trace:configure.ac:82: -1- AC_SUBST([UUID_CFLAGS])
+m4trace:configure.ac:82: -1- AC_SUBST_TRACE([UUID_CFLAGS])
+m4trace:configure.ac:82: -1- m4_pattern_allow([^UUID_CFLAGS$])
+m4trace:configure.ac:83: -1- AC_SUBST([UUID_LIBS])
+m4trace:configure.ac:83: -1- AC_SUBST_TRACE([UUID_LIBS])
+m4trace:configure.ac:83: -1- m4_pattern_allow([^UUID_LIBS$])
+m4trace:configure.ac:85: -1- AC_SUBST([LIBAO_CFLAGS])
+m4trace:configure.ac:85: -1- AC_SUBST_TRACE([LIBAO_CFLAGS])
+m4trace:configure.ac:85: -1- m4_pattern_allow([^LIBAO_CFLAGS$])
+m4trace:configure.ac:85: -1- AC_SUBST([LIBAO_LIBS])
+m4trace:configure.ac:85: -1- AC_SUBST_TRACE([LIBAO_LIBS])
+m4trace:configure.ac:85: -1- m4_pattern_allow([^LIBAO_LIBS$])
+m4trace:configure.ac:86: -1- AC_SUBST([LIBAO_CFLAGS])
+m4trace:configure.ac:86: -1- AC_SUBST_TRACE([LIBAO_CFLAGS])
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LIBAO_CFLAGS$])
+m4trace:configure.ac:87: -1- AC_SUBST([LIBAO_LIBS])
+m4trace:configure.ac:87: -1- AC_SUBST_TRACE([LIBAO_LIBS])
+m4trace:configure.ac:87: -1- m4_pattern_allow([^LIBAO_LIBS$])
+m4trace:configure.ac:89: -1- AC_SUBST([LIBASOUND2_CFLAGS])
+m4trace:configure.ac:89: -1- AC_SUBST_TRACE([LIBASOUND2_CFLAGS])
+m4trace:configure.ac:89: -1- m4_pattern_allow([^LIBASOUND2_CFLAGS$])
+m4trace:configure.ac:89: -1- AC_SUBST([LIBASOUND2_LIBS])
+m4trace:configure.ac:89: -1- AC_SUBST_TRACE([LIBASOUND2_LIBS])
+m4trace:configure.ac:89: -1- m4_pattern_allow([^LIBASOUND2_LIBS$])
+m4trace:configure.ac:90: -1- AC_SUBST([LIBASOUND2_CFLAGS])
+m4trace:configure.ac:90: -1- AC_SUBST_TRACE([LIBASOUND2_CFLAGS])
+m4trace:configure.ac:90: -1- m4_pattern_allow([^LIBASOUND2_CFLAGS$])
+m4trace:configure.ac:91: -1- AC_SUBST([LIBASOUND2_LIBS])
+m4trace:configure.ac:91: -1- AC_SUBST_TRACE([LIBASOUND2_LIBS])
+m4trace:configure.ac:91: -1- m4_pattern_allow([^LIBASOUND2_LIBS$])
+m4trace:configure.ac:93: -1- AC_SUBST([LIBXML2_CFLAGS])
+m4trace:configure.ac:93: -1- AC_SUBST_TRACE([LIBXML2_CFLAGS])
+m4trace:configure.ac:93: -1- m4_pattern_allow([^LIBXML2_CFLAGS$])
+m4trace:configure.ac:93: -1- AC_SUBST([LIBXML2_LIBS])
+m4trace:configure.ac:93: -1- AC_SUBST_TRACE([LIBXML2_LIBS])
+m4trace:configure.ac:93: -1- m4_pattern_allow([^LIBXML2_LIBS$])
+m4trace:configure.ac:94: -1- AC_SUBST([LIBXML2_CFLAGS])
+m4trace:configure.ac:94: -1- AC_SUBST_TRACE([LIBXML2_CFLAGS])
+m4trace:configure.ac:94: -1- m4_pattern_allow([^LIBXML2_CFLAGS$])
+m4trace:configure.ac:95: -1- AC_SUBST([LIBXML2_LIBS])
+m4trace:configure.ac:95: -1- AC_SUBST_TRACE([LIBXML2_LIBS])
+m4trace:configure.ac:95: -1- m4_pattern_allow([^LIBXML2_LIBS$])
+m4trace:configure.ac:97: -1- AC_SUBST([SNDFILE_CFLAGS])
+m4trace:configure.ac:97: -1- AC_SUBST_TRACE([SNDFILE_CFLAGS])
+m4trace:configure.ac:97: -1- m4_pattern_allow([^SNDFILE_CFLAGS$])
+m4trace:configure.ac:97: -1- AC_SUBST([SNDFILE_LIBS])
+m4trace:configure.ac:97: -1- AC_SUBST_TRACE([SNDFILE_LIBS])
+m4trace:configure.ac:97: -1- m4_pattern_allow([^SNDFILE_LIBS$])
+m4trace:configure.ac:98: -1- AC_SUBST([SNDFILE_CFLAGS])
+m4trace:configure.ac:98: -1- AC_SUBST_TRACE([SNDFILE_CFLAGS])
+m4trace:configure.ac:98: -1- m4_pattern_allow([^SNDFILE_CFLAGS$])
+m4trace:configure.ac:99: -1- AC_SUBST([SNDFILE_LIBS])
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([SNDFILE_LIBS])
+m4trace:configure.ac:99: -1- m4_pattern_allow([^SNDFILE_LIBS$])
+m4trace:configure.ac:101: -1- AC_SUBST([LIBINSTPATCH_CFLAGS])
+m4trace:configure.ac:101: -1- AC_SUBST_TRACE([LIBINSTPATCH_CFLAGS])
+m4trace:configure.ac:101: -1- m4_pattern_allow([^LIBINSTPATCH_CFLAGS$])
+m4trace:configure.ac:101: -1- AC_SUBST([LIBINSTPATCH_LIBS])
+m4trace:configure.ac:101: -1- AC_SUBST_TRACE([LIBINSTPATCH_LIBS])
+m4trace:configure.ac:101: -1- m4_pattern_allow([^LIBINSTPATCH_LIBS$])
+m4trace:configure.ac:102: -1- AC_SUBST([LIBINSTPATCH_CFLAGS])
+m4trace:configure.ac:102: -1- AC_SUBST_TRACE([LIBINSTPATCH_CFLAGS])
+m4trace:configure.ac:102: -1- m4_pattern_allow([^LIBINSTPATCH_CFLAGS$])
+m4trace:configure.ac:103: -1- AC_SUBST([LIBINSTPATCH_LIBS])
+m4trace:configure.ac:103: -1- AC_SUBST_TRACE([LIBINSTPATCH_LIBS])
+m4trace:configure.ac:103: -1- m4_pattern_allow([^LIBINSTPATCH_LIBS$])
+m4trace:configure.ac:105: -1- AC_SUBST([GOBJECT_CFLAGS])
+m4trace:configure.ac:105: -1- AC_SUBST_TRACE([GOBJECT_CFLAGS])
+m4trace:configure.ac:105: -1- m4_pattern_allow([^GOBJECT_CFLAGS$])
+m4trace:configure.ac:105: -1- AC_SUBST([GOBJECT_LIBS])
+m4trace:configure.ac:105: -1- AC_SUBST_TRACE([GOBJECT_LIBS])
+m4trace:configure.ac:105: -1- m4_pattern_allow([^GOBJECT_LIBS$])
+m4trace:configure.ac:106: -1- AC_SUBST([GOBJECT_CFLAGS])
+m4trace:configure.ac:106: -1- AC_SUBST_TRACE([GOBJECT_CFLAGS])
+m4trace:configure.ac:106: -1- m4_pattern_allow([^GOBJECT_CFLAGS$])
+m4trace:configure.ac:107: -1- AC_SUBST([GOBJECT_LIBS])
+m4trace:configure.ac:107: -1- AC_SUBST_TRACE([GOBJECT_LIBS])
+m4trace:configure.ac:107: -1- m4_pattern_allow([^GOBJECT_LIBS$])
+m4trace:configure.ac:109: -1- AC_SUBST([GDKPIXBUF_CFLAGS])
+m4trace:configure.ac:109: -1- AC_SUBST_TRACE([GDKPIXBUF_CFLAGS])
+m4trace:configure.ac:109: -1- m4_pattern_allow([^GDKPIXBUF_CFLAGS$])
+m4trace:configure.ac:109: -1- AC_SUBST([GDKPIXBUF_LIBS])
+m4trace:configure.ac:109: -1- AC_SUBST_TRACE([GDKPIXBUF_LIBS])
+m4trace:configure.ac:109: -1- m4_pattern_allow([^GDKPIXBUF_LIBS$])
+m4trace:configure.ac:110: -1- AC_SUBST([GDKPIXBUF_CFLAGS])
+m4trace:configure.ac:110: -1- AC_SUBST_TRACE([GDKPIXBUF_CFLAGS])
+m4trace:configure.ac:110: -1- m4_pattern_allow([^GDKPIXBUF_CFLAGS$])
+m4trace:configure.ac:111: -1- AC_SUBST([GDKPIXBUF_LIBS])
+m4trace:configure.ac:111: -1- AC_SUBST_TRACE([GDKPIXBUF_LIBS])
+m4trace:configure.ac:111: -1- m4_pattern_allow([^GDKPIXBUF_LIBS$])
+m4trace:configure.ac:113: -1- AC_SUBST([CAIRO_CFLAGS])
+m4trace:configure.ac:113: -1- AC_SUBST_TRACE([CAIRO_CFLAGS])
+m4trace:configure.ac:113: -1- m4_pattern_allow([^CAIRO_CFLAGS$])
+m4trace:configure.ac:113: -1- AC_SUBST([CAIRO_LIBS])
+m4trace:configure.ac:113: -1- AC_SUBST_TRACE([CAIRO_LIBS])
+m4trace:configure.ac:113: -1- m4_pattern_allow([^CAIRO_LIBS$])
+m4trace:configure.ac:114: -1- AC_SUBST([CAIRO_CFLAGS])
+m4trace:configure.ac:114: -1- AC_SUBST_TRACE([CAIRO_CFLAGS])
+m4trace:configure.ac:114: -1- m4_pattern_allow([^CAIRO_CFLAGS$])
+m4trace:configure.ac:115: -1- AC_SUBST([CAIRO_LIBS])
+m4trace:configure.ac:115: -1- AC_SUBST_TRACE([CAIRO_LIBS])
+m4trace:configure.ac:115: -1- m4_pattern_allow([^CAIRO_LIBS$])
+m4trace:configure.ac:117: -1- AC_SUBST([GTK_CFLAGS])
+m4trace:configure.ac:117: -1- AC_SUBST_TRACE([GTK_CFLAGS])
+m4trace:configure.ac:117: -1- m4_pattern_allow([^GTK_CFLAGS$])
+m4trace:configure.ac:117: -1- AC_SUBST([GTK_LIBS])
+m4trace:configure.ac:117: -1- AC_SUBST_TRACE([GTK_LIBS])
+m4trace:configure.ac:117: -1- m4_pattern_allow([^GTK_LIBS$])
+m4trace:configure.ac:118: -1- AC_SUBST([GTK_CFLAGS])
+m4trace:configure.ac:118: -1- AC_SUBST_TRACE([GTK_CFLAGS])
+m4trace:configure.ac:118: -1- m4_pattern_allow([^GTK_CFLAGS$])
+m4trace:configure.ac:119: -1- AC_SUBST([GTK_LIBS])
+m4trace:configure.ac:119: -1- AC_SUBST_TRACE([GTK_LIBS])
+m4trace:configure.ac:119: -1- m4_pattern_allow([^GTK_LIBS$])
+m4trace:configure.ac:138: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+@%:@undef HAVE_STDLIB_H])
+m4trace:configure.ac:138: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:138: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:138: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
+ to 0 otherwise. */
+@%:@undef HAVE_MALLOC])
+m4trace:configure.ac:138: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:138: -1- AC_SUBST([LIB@&t at OBJS], ["$LIB@&t at OBJS malloc.$ac_objext"])
+m4trace:configure.ac:138: -1- AC_SUBST_TRACE([LIB@&t at OBJS])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:138: -1- AC_LIBSOURCE([malloc.c])
+m4trace:configure.ac:138: -1- AC_DEFINE_TRACE_LITERAL([malloc])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^malloc$])
+m4trace:configure.ac:138: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
+@%:@undef malloc])
+m4trace:configure.ac:139: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+@%:@undef HAVE_STDLIB_H])
+m4trace:configure.ac:139: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:139: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:139: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
+ and to 0 otherwise. */
+@%:@undef HAVE_REALLOC])
+m4trace:configure.ac:139: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:139: -1- AC_SUBST([LIB@&t at OBJS], ["$LIB@&t at OBJS realloc.$ac_objext"])
+m4trace:configure.ac:139: -1- AC_SUBST_TRACE([LIB@&t at OBJS])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:139: -1- AC_LIBSOURCE([realloc.c])
+m4trace:configure.ac:139: -1- AC_DEFINE_TRACE_LITERAL([realloc])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^realloc$])
+m4trace:configure.ac:139: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
+@%:@undef realloc])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
+@%:@undef HAVE_ATEXIT])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* Define to 1 if you have the `clock_gettime\' function. */
+@%:@undef HAVE_CLOCK_GETTIME])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_FLOOR], [/* Define to 1 if you have the `floor\' function. */
+@%:@undef HAVE_FLOOR])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
+@%:@undef HAVE_MEMSET])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
+@%:@undef HAVE_SOCKET])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_SQRT], [/* Define to 1 if you have the `sqrt\' function. */
+@%:@undef HAVE_SQRT])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
+@%:@undef HAVE_STRCHR])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
+@%:@undef HAVE_STRTOL])
+m4trace:configure.ac:140: -1- AH_OUTPUT([HAVE_STRTOUL], [/* Define to 1 if you have the `strtoul\' function. */
+@%:@undef HAVE_STRTOUL])
+m4trace:configure.ac:142: -1- AC_SUBST([LIB@&t at OBJS], [$ac_libobjs])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([LIB@&t at OBJS])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:142: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:142: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:142: -1- AC_SUBST([am__EXEEXT_TRUE])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:142: -1- AC_SUBST([am__EXEEXT_FALSE])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:142: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:142: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([top_build_prefix])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.ac:142: -1- AC_SUBST_TRACE([MKDIR_P])
+m4trace:configure.ac:142: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
diff --git a/autom4te.cache/traces.2 b/autom4te.cache/traces.2
new file mode 100644
index 0000000..8fcda7b
--- /dev/null
+++ b/autom4te.cache/traces.2
@@ -0,0 +1,3028 @@
+m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
+AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
+
+AC_CHECK_TYPES([error_t],
+ [],
+ [AC_DEFINE([error_t], [int],
+ [Define to a type to use for 'error_t' if it is not otherwise available.])
+ AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
+ does not typedef error_t.])],
+ [#if defined(HAVE_ARGZ_H)
+# include <argz.h>
+#endif])
+
+LT_ARGZ_H=
+AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
+ argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
+
+dnl if have system argz functions, allow forced use of
+dnl libltdl-supplied implementation (and default to do so
+dnl on "known bad" systems). Could use a runtime check, but
+dnl (a) detecting malloc issues is notoriously unreliable
+dnl (b) only known system that declares argz functions,
+dnl provides them, yet they are broken, is cygwin
+dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
+dnl So, it's more straightforward simply to special case
+dnl this for known bad systems.
+AS_IF([test -z "$LT_ARGZ_H"],
+ [AC_CACHE_CHECK(
+ [if argz actually works],
+ [lt_cv_sys_argz_works],
+ [[case $host_os in #(
+ *cygwin*)
+ lt_cv_sys_argz_works=no
+ if test no != "$cross_compiling"; then
+ lt_cv_sys_argz_works="guessing no"
+ else
+ lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
+ save_IFS=$IFS
+ IFS=-.
+ set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
+ IFS=$save_IFS
+ lt_os_major=${2-0}
+ lt_os_minor=${3-0}
+ lt_os_micro=${4-0}
+ if test 1 -lt "$lt_os_major" \
+ || { test 1 -eq "$lt_os_major" \
+ && { test 5 -lt "$lt_os_minor" \
+ || { test 5 -eq "$lt_os_minor" \
+ && test 24 -lt "$lt_os_micro"; }; }; }; then
+ lt_cv_sys_argz_works=yes
+ fi
+ fi
+ ;; #(
+ *) lt_cv_sys_argz_works=yes ;;
+ esac]])
+ AS_IF([test yes = "$lt_cv_sys_argz_works"],
+ [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
+ [This value is set to 1 to indicate that the system argz facility works])],
+ [LT_ARGZ_H=lt__argz.h
+ AC_LIBOBJ([lt__argz])])])
+
+AC_SUBST([LT_ARGZ_H])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
+_$0($*)
+])
+m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
+dnl Although the argument is deprecated and no longer documented,
+dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
+dnl here make sure it is the same as any other declaration of libltdl's
+dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
+dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
+m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
+_$0()
+])
+m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_CONVENIENCE])
+m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
+You should run autoupdate.])dnl
+_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_CONVENIENCE])
+m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
+dnl Although the argument is deprecated and no longer documented,
+dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
+dnl here make sure it is the same as any other declaration of libltdl's
+dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
+dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
+m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
+_$0()
+])
+m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_INSTALLABLE])
+m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
+You should run autoupdate.])dnl
+_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
+_LTDL_INSTALLABLE])
+m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
+ m4_pattern_allow([^_LT_LIBOBJS$])
+ _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
+])
+m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+dnl We need to keep our own list of libobjs separate from our parent project,
+dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
+dnl we look for our own LIBOBJs.
+m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
+m4_pushdef([AC_LIBSOURCES])
+
+dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
+m4_if(_LTDL_MODE, [],
+ [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
+ m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
+ [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
+
+AC_ARG_WITH([included_ltdl],
+ [AS_HELP_STRING([--with-included-ltdl],
+ [use the GNU ltdl sources included here])])
+
+if test yes != "$with_included_ltdl"; then
+ # We are not being forced to use the included libltdl sources, so
+ # decide whether there is a useful installed version we can use.
+ AC_CHECK_HEADER([ltdl.h],
+ [AC_CHECK_DECL([lt_dlinterface_register],
+ [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
+ [with_included_ltdl=no],
+ [with_included_ltdl=yes])],
+ [with_included_ltdl=yes],
+ [AC_INCLUDES_DEFAULT
+ #include <ltdl.h>])],
+ [with_included_ltdl=yes],
+ [AC_INCLUDES_DEFAULT]
+ )
+fi
+
+dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
+dnl was called yet, then for old times' sake, we assume libltdl is in an
+dnl eponymous directory:
+AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
+
+AC_ARG_WITH([ltdl_include],
+ [AS_HELP_STRING([--with-ltdl-include=DIR],
+ [use the ltdl headers installed in DIR])])
+
+if test -n "$with_ltdl_include"; then
+ if test -f "$with_ltdl_include/ltdl.h"; then :
+ else
+ AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
+ fi
+else
+ with_ltdl_include=no
+fi
+
+AC_ARG_WITH([ltdl_lib],
+ [AS_HELP_STRING([--with-ltdl-lib=DIR],
+ [use the libltdl.la installed in DIR])])
+
+if test -n "$with_ltdl_lib"; then
+ if test -f "$with_ltdl_lib/libltdl.la"; then :
+ else
+ AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
+ fi
+else
+ with_ltdl_lib=no
+fi
+
+case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
+ ,yes,no,no,)
+ m4_case(m4_default(_LTDL_TYPE, [convenience]),
+ [convenience], [_LTDL_CONVENIENCE],
+ [installable], [_LTDL_INSTALLABLE],
+ [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
+ ;;
+ ,no,no,no,)
+ # If the included ltdl is not to be used, then use the
+ # preinstalled libltdl we found.
+ AC_DEFINE([HAVE_LTDL], [1],
+ [Define this if a modern libltdl is already installed])
+ LIBLTDL=-lltdl
+ LTDLDEPS=
+ LTDLINCL=
+ ;;
+ ,no*,no,*)
+ AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
+ ;;
+ *) with_included_ltdl=no
+ LIBLTDL="-L$with_ltdl_lib -lltdl"
+ LTDLDEPS=
+ LTDLINCL=-I$with_ltdl_include
+ ;;
+esac
+INCLTDL=$LTDLINCL
+
+# Report our decision...
+AC_MSG_CHECKING([where to find libltdl headers])
+AC_MSG_RESULT([$LTDLINCL])
+AC_MSG_CHECKING([where to find libltdl library])
+AC_MSG_RESULT([$LIBLTDL])
+
+_LTDL_SETUP
+
+dnl restore autoconf definition.
+m4_popdef([AC_LIBOBJ])
+m4_popdef([AC_LIBSOURCES])
+
+AC_CONFIG_COMMANDS_PRE([
+ _ltdl_libobjs=
+ _ltdl_ltlibobjs=
+ if test -n "$_LT_LIBOBJS"; then
+ # Remove the extension.
+ _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
+ for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
+ _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
+ _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
+ done
+ fi
+ AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
+ AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
+])
+
+# Only expand once:
+m4_define([LTDL_INIT])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
+You should run autoupdate.])dnl
+LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
+You should run autoupdate.])dnl
+LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
+You should run autoupdate.])dnl
+LTDL_INIT($@)])
+m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
+AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
+AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
+AC_REQUIRE([LT_LIB_DLLOAD])dnl
+AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
+AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
+AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
+AC_REQUIRE([LT_FUNC_ARGZ])dnl
+
+m4_require([_LT_CHECK_OBJDIR])dnl
+m4_require([_LT_HEADER_DLFCN])dnl
+m4_require([_LT_CHECK_DLPREOPEN])dnl
+m4_require([_LT_DECL_SED])dnl
+
+dnl Don't require this, or it will be expanded earlier than the code
+dnl that sets the variables it relies on:
+_LT_ENABLE_INSTALL
+
+dnl _LTDL_MODE specific code must be called at least once:
+_LTDL_MODE_DISPATCH
+
+# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
+# the user used. This is so that ltdl.h can pick up the parent projects
+# config.h file, The first file in AC_CONFIG_HEADERS must contain the
+# definitions required by ltdl.c.
+# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
+AC_CONFIG_COMMANDS_PRE([dnl
+m4_pattern_allow([^LT_CONFIG_H$])dnl
+m4_ifset([AH_HEADER],
+ [LT_CONFIG_H=AH_HEADER],
+ [m4_ifset([AC_LIST_HEADERS],
+ [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
+ [])])])
+AC_SUBST([LT_CONFIG_H])
+
+AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
+ [], [], [AC_INCLUDES_DEFAULT])
+
+AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
+AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
+
+m4_pattern_allow([LT_LIBEXT])dnl
+AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
+
+name=
+eval "lt_libprefix=\"$libname_spec\""
+m4_pattern_allow([LT_LIBPREFIX])dnl
+AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
+
+name=ltdl
+eval "LTDLOPEN=\"$libname_spec\""
+AC_SUBST([LTDLOPEN])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
+ [lt_cv_sys_dlopen_deplibs],
+ [# PORTME does your system automatically load deplibs for dlopen?
+ # or its logical equivalent (e.g. shl_load for HP-UX < 11)
+ # For now, we just catch OSes we know something about -- in the
+ # future, we'll try test this programmatically.
+ lt_cv_sys_dlopen_deplibs=unknown
+ case $host_os in
+ aix3*|aix4.1.*|aix4.2.*)
+ # Unknown whether this is true for these versions of AIX, but
+ # we want this 'case' here to explicitly catch those versions.
+ lt_cv_sys_dlopen_deplibs=unknown
+ ;;
+ aix[[4-9]]*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ lt_cv_sys_dlopen_deplibs=no
+ ;;
+ esac
+ ;;
+ bitrig*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ darwin*)
+ # Assuming the user has installed a libdl from somewhere, this is true
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ freebsd* | dragonfly*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ # GNU and its variants, using gnu ld.so (Glibc)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ hpux10*|hpux11*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ interix*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ irix[[12345]]*|irix6.[[01]]*)
+ # Catch all versions of IRIX before 6.2, and indicate that we don't
+ # know how it worked for any of those versions.
+ lt_cv_sys_dlopen_deplibs=unknown
+ ;;
+ irix*)
+ # The case above catches anything before 6.2, and it's known that
+ # at 6.2 and later dlopen does load deplibs.
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ netbsd*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ openbsd*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ osf[[1234]]*)
+ # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
+ # it did *not* use an RPATH in a shared library to find objects the
+ # library depends on, so we explicitly say 'no'.
+ lt_cv_sys_dlopen_deplibs=no
+ ;;
+ osf5.0|osf5.0a|osf5.1)
+ # dlopen *does* load deplibs and with the right loader patch applied
+ # it even uses RPATH in a shared library to search for shared objects
+ # that the library depends on, but there's no easy way to know if that
+ # patch is installed. Since this is the case, all we can really
+ # say is unknown -- it depends on the patch being installed. If
+ # it is, this changes to 'yes'. Without it, it would be 'no'.
+ lt_cv_sys_dlopen_deplibs=unknown
+ ;;
+ osf*)
+ # the two cases above should catch all versions of osf <= 5.1. Read
+ # the comments above for what we know about them.
+ # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
+ # is used to find them so we can finally say 'yes'.
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ qnx*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ solaris*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ libltdl_cv_sys_dlopen_deplibs=yes
+ ;;
+ esac
+ ])
+if test yes != "$lt_cv_sys_dlopen_deplibs"; then
+ AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
+ [Define if the OS needs help to load dependent libraries for dlopen().])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
+AC_CACHE_CHECK([what extension is used for runtime loadable modules],
+ [libltdl_cv_shlibext],
+[
+module=yes
+eval libltdl_cv_shlibext=$shrext_cmds
+module=no
+eval libltdl_cv_shrext=$shrext_cmds
+ ])
+if test -n "$libltdl_cv_shlibext"; then
+ m4_pattern_allow([LT_MODULE_EXT])dnl
+ AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
+ [Define to the extension used for runtime loadable modules, say, ".so".])
+fi
+if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
+ m4_pattern_allow([LT_SHARED_EXT])dnl
+ AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
+ [Define to the shared library suffix, say, ".dylib".])
+fi
+if test -n "$shared_archive_member_spec"; then
+ m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
+ AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
+ [Define to the shared archive member specification, say "(shr.o)".])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
+AC_CACHE_CHECK([what variable specifies run-time module search path],
+ [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
+if test -n "$lt_cv_module_path_var"; then
+ m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
+ AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
+ [Define to the name of the environment variable that determines the run-time module search path.])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
+AC_CACHE_CHECK([for the default library search path],
+ [lt_cv_sys_dlsearch_path],
+ [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
+if test -n "$lt_cv_sys_dlsearch_path"; then
+ sys_dlsearch_path=
+ for dir in $lt_cv_sys_dlsearch_path; do
+ if test -z "$sys_dlsearch_path"; then
+ sys_dlsearch_path=$dir
+ else
+ sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
+ fi
+ done
+ m4_pattern_allow([LT_DLSEARCH_PATH])dnl
+ AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
+ [Define to the system default library search path.])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
+LT_DLLOADERS=
+AC_SUBST([LT_DLLOADERS])
+
+AC_LANG_PUSH([C])
+lt_dlload_save_LIBS=$LIBS
+
+LIBADD_DLOPEN=
+AC_SEARCH_LIBS([dlopen], [dl],
+ [AC_DEFINE([HAVE_LIBDL], [1],
+ [Define if you have the libdl library or equivalent.])
+ if test "$ac_cv_search_dlopen" != "none required"; then
+ LIBADD_DLOPEN=-ldl
+ fi
+ libltdl_cv_lib_dl_dlopen=yes
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
+# include <dlfcn.h>
+#endif
+ ]], [[dlopen(0, 0);]])],
+ [AC_DEFINE([HAVE_LIBDL], [1],
+ [Define if you have the libdl library or equivalent.])
+ libltdl_cv_func_dlopen=yes
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [AC_DEFINE([HAVE_LIBDL], [1],
+ [Define if you have the libdl library or equivalent.])
+ LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
+if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
+then
+ lt_save_LIBS=$LIBS
+ LIBS="$LIBS $LIBADD_DLOPEN"
+ AC_CHECK_FUNCS([dlerror])
+ LIBS=$lt_save_LIBS
+fi
+AC_SUBST([LIBADD_DLOPEN])
+
+LIBADD_SHL_LOAD=
+AC_CHECK_FUNC([shl_load],
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
+ [Define if you have the shl_load function.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
+ [Define if you have the shl_load function.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
+ LIBADD_SHL_LOAD=-ldld])])
+AC_SUBST([LIBADD_SHL_LOAD])
+
+case $host_os in
+darwin[[1567]].*)
+# We only want this for pre-Mac OS X 10.4.
+ AC_CHECK_FUNC([_dyld_func_lookup],
+ [AC_DEFINE([HAVE_DYLD], [1],
+ [Define if you have the _dyld_func_lookup function.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
+ ;;
+beos*)
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
+ ;;
+cygwin* | mingw* | pw32*)
+ AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
+ ;;
+esac
+
+AC_CHECK_LIB([dld], [dld_link],
+ [AC_DEFINE([HAVE_DLD], [1],
+ [Define if you have the GNU dld library.])
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
+AC_SUBST([LIBADD_DLD_LINK])
+
+m4_pattern_allow([^LT_DLPREOPEN$])
+LT_DLPREOPEN=
+if test -n "$LT_DLLOADERS"
+then
+ for lt_loader in $LT_DLLOADERS; do
+ LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
+ done
+ AC_DEFINE([HAVE_LIBDLLOADER], [1],
+ [Define if libdlloader will be built on this platform])
+fi
+AC_SUBST([LT_DLPREOPEN])
+
+dnl This isn't used anymore, but set it for backwards compatibility
+LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
+AC_SUBST([LIBADD_DL])
+
+LIBS=$lt_dlload_save_LIBS
+AC_LANG_POP
+])
+m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+AC_CACHE_CHECK([for _ prefix in compiled symbols],
+ [lt_cv_sys_symbol_underscore],
+ [lt_cv_sys_symbol_underscore=no
+ cat > conftest.$ac_ext <<_LT_EOF
+void nm_test_func(){}
+int main(){nm_test_func;return 0;}
+_LT_EOF
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ ac_nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
+ # See whether the symbols have a leading underscore.
+ if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
+ lt_cv_sys_symbol_underscore=yes
+ else
+ if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
+ :
+ else
+ echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ fi
+ else
+ echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.c >&AS_MESSAGE_LOG_FD
+ fi
+ rm -rf conftest*
+ ])
+ sys_symbol_underscore=$lt_cv_sys_symbol_underscore
+ AC_SUBST([sys_symbol_underscore])
+])
+m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:800: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl
+AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
+AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
+if test yes = "$lt_cv_sys_symbol_underscore"; then
+ if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
+ AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
+ [libltdl_cv_need_uscore],
+ [libltdl_cv_need_uscore=unknown
+ dlsym_uscore_save_LIBS=$LIBS
+ LIBS="$LIBS $LIBADD_DLOPEN"
+ libname=conftmod # stay within 8.3 filename limits!
+ cat >$libname.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+int fnord () { return 42; }]
+_LT_EOF
+
+ # ltfn_module_cmds module_cmds
+ # Execute tilde-delimited MODULE_CMDS with environment primed for
+ # $module_cmds or $archive_cmds type content.
+ ltfn_module_cmds ()
+ {( # subshell avoids polluting parent global environment
+ module_cmds_save_ifs=$IFS; IFS='~'
+ for cmd in @S|@1; do
+ IFS=$module_cmds_save_ifs
+ libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
+ rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
+ major=; versuffix=; verstring=; deplibs=
+ ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
+ eval $cmd
+ done
+ IFS=$module_cmds_save_ifs
+ )}
+
+ # Compile a loadable module using libtool macro expansion results.
+ $CC $pic_flag -c $libname.$ac_ext
+ ltfn_module_cmds "${module_cmds:-$archive_cmds}"
+
+ # Try to fetch fnord with dlsym().
+ libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
+ cat >conftest.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+#include <stdio.h>
+#ifndef RTLD_GLOBAL
+# ifdef DL_GLOBAL
+# define RTLD_GLOBAL DL_GLOBAL
+# else
+# define RTLD_GLOBAL 0
+# endif
+#endif
+#ifndef RTLD_NOW
+# ifdef DL_NOW
+# define RTLD_NOW DL_NOW
+# else
+# define RTLD_NOW 0
+# endif
+#endif
+int main () {
+ void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
+ int status = $libltdl_dlunknown;
+ if (handle) {
+ if (dlsym (handle, "fnord"))
+ status = $libltdl_dlnouscore;
+ else {
+ if (dlsym (handle, "_fnord"))
+ status = $libltdl_dluscore;
+ else
+ puts (dlerror ());
+ }
+ dlclose (handle);
+ } else
+ puts (dlerror ());
+ return status;
+}]
+_LT_EOF
+ if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
+ libltdl_status=$?
+ case x$libltdl_status in
+ x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
+ x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
+ x*) libltdl_cv_need_uscore=unknown ;;
+ esac
+ fi
+ rm -rf conftest* $libname*
+ LIBS=$dlsym_uscore_save_LIBS
+ ])
+ fi
+fi
+
+if test yes = "$libltdl_cv_need_uscore"; then
+ AC_DEFINE([NEED_USCORE], [1],
+ [Define if dlsym() requires a leading underscore in symbol names.])
+fi
+])
+m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
+m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
+m4trace:/usr/share/aclocal/pkg.m4:27: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+fi[]dnl
+])
+m4trace:/usr/share/aclocal/pkg.m4:60: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_default([$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+m4trace:/usr/share/aclocal/pkg.m4:86: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])
+m4trace:/usr/share/aclocal/pkg.m4:106: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ AC_MSG_RESULT([no])
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ m4_default([$4], [AC_MSG_ERROR(
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT])[]dnl
+ ])
+elif test $pkg_failed = untried; then
+ AC_MSG_RESULT([no])
+ m4_default([$4], [AC_MSG_FAILURE(
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
+ ])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ $3
+fi[]dnl
+])
+m4trace:/usr/share/aclocal/pkg.m4:169: -1- AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([pkgconfigdir],
+ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
+ [with_pkgconfigdir=]pkg_default)
+AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+])
+m4trace:/usr/share/aclocal/pkg.m4:189: -1- AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
+m4_pushdef([pkg_description],
+ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
+AC_ARG_WITH([noarch-pkgconfigdir],
+ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
+ [with_noarch_pkgconfigdir=]pkg_default)
+AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
+m4_popdef([pkg_default])
+m4_popdef([pkg_description])
+])
+m4trace:/usr/share/aclocal/pkg.m4:206: -1- AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
+
+_PKG_CONFIG([$1], [variable="][$3]["], [$2])
+AS_VAR_COPY([$1], [pkg_cv_][$1])
+
+AS_VAR_IF([$1], [""], [$5], [$4])dnl
+])
+m4trace:/usr/share/aclocal-1.14/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.14'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.14.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+m4trace:/usr/share/aclocal-1.14/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.14.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+m4trace:/usr/share/aclocal-1.14/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+m4trace:/usr/share/aclocal-1.14/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+m4trace:/usr/share/aclocal-1.14/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+m4trace:/usr/share/aclocal-1.14/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+m4trace:/usr/share/aclocal-1.14/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+m4trace:/usr/share/aclocal-1.14/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])
+m4trace:/usr/share/aclocal-1.14/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+m4trace:/usr/share/aclocal-1.14/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake at gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi])
+m4trace:/usr/share/aclocal-1.14/init.m4:182: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+m4trace:/usr/share/aclocal-1.14/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+m4trace:/usr/share/aclocal-1.14/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+m4trace:/usr/share/aclocal-1.14/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+m4trace:/usr/share/aclocal-1.14/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+m4trace:/usr/share/aclocal-1.14/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
+AC_CONFIG_HEADERS($@)])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should simply use the 'AC][_PROG_CC' macro instead.
+Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
+but upon 'ac_cv_prog_cc_stdc'.])])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:26: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_FATAL([automatic de-ANSI-fication support has been removed])])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
+m4trace:/usr/share/aclocal-1.14/obsolete.m4:28: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete.
+You should run autoupdate.])dnl
+AM_C_PROTOTYPES])
+m4trace:/usr/share/aclocal-1.14/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+m4trace:/usr/share/aclocal-1.14/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+m4trace:/usr/share/aclocal-1.14/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+m4trace:/usr/share/aclocal-1.14/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+AC_LANG_PUSH([C])dnl
+AC_CACHE_CHECK(
+ [whether $CC understands -c and -o together],
+ [am_cv_prog_cc_c_o],
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i])
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+AC_LANG_POP([C])])
+m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+m4trace:/usr/share/aclocal-1.14/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
+m4trace:/usr/share/aclocal-1.14/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+m4trace:/usr/share/aclocal-1.14/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+m4trace:/usr/share/aclocal-1.14/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+m4trace:/usr/share/aclocal-1.14/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
+m4trace:/usr/share/aclocal-1.14/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+m4trace:/usr/share/aclocal-1.14/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+])
+m4trace:m4/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+AC_BEFORE([$0], [LT_LANG])dnl
+AC_BEFORE([$0], [LT_OUTPUT])dnl
+AC_BEFORE([$0], [LTDL_INIT])dnl
+m4_require([_LT_CHECK_BUILDDIR])dnl
+
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
+dnl unless we require an AC_DEFUNed macro:
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
+AC_REQUIRE([LTSUGAR_VERSION])dnl
+AC_REQUIRE([LTVERSION_VERSION])dnl
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
+m4_require([_LT_PROG_LTMAIN])dnl
+
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
+dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+AC_SUBST(LIBTOOL)dnl
+
+_LT_SETUP
+
+# Only expand once:
+m4_define([LT_INIT])
+])
+m4trace:m4/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:m4/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
+m4trace:m4/libtool.m4:602: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
+AC_MSG_NOTICE([creating $CONFIG_LT])
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+lt_cl_silent=false
+exec AS_MESSAGE_LOG_FD>>config.log
+{
+ echo
+ AS_BOX([Running $as_me.])
+} >&AS_MESSAGE_LOG_FD
+
+lt_cl_help="\
+'$as_me' creates a local libtool stub from the current configuration,
+for use in further configure time tests before the real libtool is
+generated.
+
+Usage: $[0] [[OPTIONS]]
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+
+Report bugs to <bug-libtool at gnu.org>."
+
+lt_cl_version="\
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
+configured by $[0], generated by m4_PACKAGE_STRING.
+
+Copyright (C) 2011 Free Software Foundation, Inc.
+This config.lt script is free software; the Free Software Foundation
+gives unlimited permision to copy, distribute and modify it."
+
+while test 0 != $[#]
+do
+ case $[1] in
+ --version | --v* | -V )
+ echo "$lt_cl_version"; exit 0 ;;
+ --help | --h* | -h )
+ echo "$lt_cl_help"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --quiet | --q* | --silent | --s* | -q )
+ lt_cl_silent=: ;;
+
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
+Try '$[0] --help' for more information.]) ;;
+
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
+Try '$[0] --help' for more information.]) ;;
+ esac
+ shift
+done
+
+if $lt_cl_silent; then
+ exec AS_MESSAGE_FD>/dev/null
+fi
+_LTEOF
+
+cat >>"$CONFIG_LT" <<_LTEOF
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
+_LTEOF
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+AC_MSG_NOTICE([creating $ofile])
+_LT_OUTPUT_LIBTOOL_COMMANDS
+AS_EXIT(0)
+_LTEOF
+chmod +x "$CONFIG_LT"
+
+# configure is writing to config.log, but config.lt does its own redirection,
+# appending to config.log, which fails on DOS, as config.log is still kept
+# open by configure. Here we exec the FD to /dev/null, effectively closing
+# config.log, so it can be properly (re)opened and appended to by config.lt.
+lt_cl_success=:
+test yes = "$silent" &&
+ lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
+])
+m4trace:m4/libtool.m4:781: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
+m4trace:m4/libtool.m4:792: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
+m4_case([$1],
+ [C], [_LT_LANG(C)],
+ [C++], [_LT_LANG(CXX)],
+ [Go], [_LT_LANG(GO)],
+ [Java], [_LT_LANG(GCJ)],
+ [Fortran 77], [_LT_LANG(F77)],
+ [Fortran], [_LT_LANG(FC)],
+ [Windows Resource], [_LT_LANG(RC)],
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
+ [_LT_LANG($1)],
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
+])
+m4trace:m4/libtool.m4:884: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
+m4trace:m4/libtool.m4:884: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(C++)])
+m4trace:m4/libtool.m4:885: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
+m4trace:m4/libtool.m4:885: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Fortran 77)])
+m4trace:m4/libtool.m4:886: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
+m4trace:m4/libtool.m4:886: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Fortran)])
+m4trace:m4/libtool.m4:887: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+m4trace:m4/libtool.m4:887: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Java)])
+m4trace:m4/libtool.m4:888: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
+m4trace:m4/libtool.m4:888: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
+You should run autoupdate.])dnl
+LT_LANG(Windows Resource)])
+m4trace:m4/libtool.m4:1216: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
+ [Search for dependent libraries within DIR (or the compiler's sysroot
+ if not specified).])],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted. We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ AC_MSG_RESULT([$with_sysroot])
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
+ ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and where our libraries should be installed.])])
+m4trace:m4/libtool.m4:1547: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ fi
+ $RM conftest*
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$5], , :, [$5])
+else
+ m4_if([$6], , :, [$6])
+fi
+])
+m4trace:m4/libtool.m4:1589: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
+m4trace:m4/libtool.m4:1589: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
+m4trace:m4/libtool.m4:1598: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $3"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ else
+ $2=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$4], , :, [$4])
+else
+ m4_if([$5], , :, [$5])
+fi
+])
+m4trace:m4/libtool.m4:1633: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
+m4trace:m4/libtool.m4:1633: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
+m4trace:m4/libtool.m4:1640: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+])
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+_LT_DECL([], [max_cmd_len], [0],
+ [What is the maximum length of a command?])
+])
+m4trace:m4/libtool.m4:1779: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
+m4trace:m4/libtool.m4:1779: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
+m4trace:m4/libtool.m4:1890: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
+if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen=shl_load],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen=dlopen],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
+ [Whether dlopen is supported])
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
+ [Whether dlopen of programs is supported])
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
+ [Whether dlopen of statically linked programs is supported])
+])
+m4trace:m4/libtool.m4:2015: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
+m4trace:m4/libtool.m4:2015: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
+m4trace:m4/libtool.m4:3060: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$1"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac])
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+_LT_DECL([], [MAGIC_CMD], [0],
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
+])
+m4trace:m4/libtool.m4:3122: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
+m4trace:m4/libtool.m4:3122: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
+m4trace:m4/libtool.m4:3145: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
+
+AC_ARG_WITH([gnu-ld],
+ [AS_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test no = "$withval" || with_gnu_ld=yes],
+ [with_gnu_ld=no])dnl
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi])
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+_LT_PATH_LD_GNU
+AC_SUBST([LD])
+
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
+])
+m4trace:m4/libtool.m4:3234: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:m4/libtool.m4:3234: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:m4/libtool.m4:3235: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:m4/libtool.m4:3235: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
+m4trace:m4/libtool.m4:3564: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi])
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+ AC_SUBST([DUMPBIN])
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+AC_SUBST([NM])
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
+
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
+ [lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
+ cat conftest.out >&AS_MESSAGE_LOG_FD
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*])
+])
+m4trace:m4/libtool.m4:3659: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:m4/libtool.m4:3659: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:m4/libtool.m4:3660: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:m4/libtool.m4:3660: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
+m4trace:m4/libtool.m4:3731: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
+ test DEF = "`$SED -n dnl
+ -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
+ -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
+ -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
+ -e q dnl Only consider the first "real" line
+ $1`" dnl
+])
+m4trace:m4/libtool.m4:3745: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM=-lm)
+ ;;
+esac
+AC_SUBST([LIBM])
+])
+m4trace:m4/libtool.m4:3764: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
+m4trace:m4/libtool.m4:3764: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
+m4trace:m4/libtool.m4:8071: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
+ [AC_CHECK_TOOL(GCJ, gcj,)
+ test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)])])[]dnl
+])
+m4trace:m4/libtool.m4:8080: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
+m4trace:m4/libtool.m4:8080: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
+m4trace:m4/libtool.m4:8087: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
+])
+m4trace:m4/libtool.m4:8094: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
+])
+m4trace:m4/libtool.m4:8099: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
+m4trace:m4/libtool.m4:8099: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
+m4trace:m4/libtool.m4:8219: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
+m4trace:m4/libtool.m4:8219: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
+m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+m4trace:m4/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'dlopen' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'dlopen' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
+You should run autoupdate.])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
+])
+m4trace:m4/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
+])
+m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
+You should run autoupdate.])dnl
+AC_ENABLE_SHARED($@)])
+m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
+You should run autoupdate.])dnl
+AC_DISABLE_SHARED($@)])
+m4trace:m4/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
+])
+m4trace:m4/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
+])
+m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
+You should run autoupdate.])dnl
+AC_ENABLE_STATIC($@)])
+m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
+You should run autoupdate.])dnl
+AC_DISABLE_STATIC($@)])
+m4trace:m4/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'disable-fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'disable-fast-install' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'pic-only' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
+You should run autoupdate.])dnl
+_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'pic-only' option into LT_INIT's first parameter.])
+])
+m4trace:m4/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
+m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.4'
+macro_revision='2.4.4'
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
+_LT_DECL(, macro_revision, 0)
+])
+m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
+m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
+m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
+m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
+m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
+m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
+m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
+m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
+m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
+m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
+m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
+m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
+m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
+m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
+m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
+m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
+m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
+m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
+m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
+m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
+m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
+m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
+m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
+m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
+m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
+m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
+m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
+m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
+m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
+m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
+m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
+m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
+m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
+m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
+m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
+m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
+m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
+m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
+m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
+m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
+m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
+m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
+m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
+m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
+m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
+m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
+m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
+m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
+m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
+m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
+m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^subdirs$])
+m4trace:configure.ac:48: -1- AM_INIT_AUTOMAKE([gsequencer], [0.4.3])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:48: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
+m4trace:configure.ac:48: -1- AM_AUTOMAKE_VERSION([1.14.1])
+m4trace:configure.ac:48: -1- _AM_AUTOCONF_VERSION([2.69])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:48: -1- _m4_warn([obsolete], [AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.], [/usr/share/aclocal-1.14/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
+configure.ac:48: the top level])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:48: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
+m4trace:configure.ac:48: -2- _AM_MANGLE_OPTION([no-define])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:48: -1- AM_SANITY_CHECK
+m4trace:configure.ac:48: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+m4trace:configure.ac:48: -1- AM_MISSING_HAS_RUN
+m4trace:configure.ac:48: -1- AM_AUX_DIR_EXPAND
+m4trace:configure.ac:48: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:48: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:48: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:48: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:48: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:48: -1- AM_PROG_INSTALL_SH
+m4trace:configure.ac:48: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:48: -1- AM_PROG_INSTALL_STRIP
+m4trace:configure.ac:48: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^MKDIR_P$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:48: -1- AM_SET_LEADING_DOT
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:48: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+m4trace:configure.ac:48: -2- _AM_MANGLE_OPTION([tar-ustar])
+m4trace:configure.ac:48: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
+m4trace:configure.ac:48: -2- _AM_MANGLE_OPTION([tar-pax])
+m4trace:configure.ac:48: -1- _AM_PROG_TAR([v7])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:48: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+m4trace:configure.ac:48: -2- _AM_MANGLE_OPTION([no-dependencies])
+m4trace:configure.ac:48: -1- AM_SILENT_RULES
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_V$])
+m4trace:configure.ac:48: -1- AM_SUBST_NOTMAKE([AM_V])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([AM_V])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_DEFAULT_V$])
+m4trace:configure.ac:48: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
+m4trace:configure.ac:48: -1- m4_pattern_allow([^AM_BACKSLASH$])
+m4trace:configure.ac:48: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXFLAGS$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^ac_ct_CXX$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:51: -1- _AM_DEPENDENCIES([CXX])
+m4trace:configure.ac:51: -1- AM_SET_DEPDIR
+m4trace:configure.ac:51: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:51: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:51: -1- AM_MAKE_INCLUDE
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:51: -1- AM_DEP_TRACK
+m4trace:configure.ac:51: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__nodep$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([am__nodep])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^CXXDEPMODE$])
+m4trace:configure.ac:51: -1- AM_CONDITIONAL([am__fastdepCXX], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:51: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:52: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:53: -1- _AM_PROG_CC_C_O
+m4trace:configure.ac:53: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
+m4trace:configure.ac:53: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:53: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:53: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:53: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:53: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:54: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:56: -1- m4_pattern_allow([^LN_S$])
+m4trace:configure.ac:57: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:58: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:59: -1- AM_PROG_CC_STDC
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:59: -1- _AM_PROG_CC_C_O
+m4trace:configure.ac:59: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
+m4trace:configure.ac:59: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:59: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:59: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:59: -1- _m4_warn([obsolete], ['AM_PROG_CC_STDC': this macro is obsolete.
+You should simply use the 'AC_PROG_CC' macro instead.
+Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
+but upon 'ac_cv_prog_cc_stdc'.], [/usr/share/aclocal-1.14/obsolete.m4:17: AM_PROG_CC_STDC is expanded from...
+configure.ac:59: the top level])
+m4trace:configure.ac:60: -1- m4_pattern_allow([^const$])
+m4trace:configure.ac:61: -1- AC_LIBTOOL_WIN32_DLL
+m4trace:configure.ac:61: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
+You should run autoupdate.], [m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
+configure.ac:61: the top level])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build_cpu$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build_vendor$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^build_os$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host_cpu$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host_vendor$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^host_os$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^AS$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:61: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.], [m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
+configure.ac:61: the top level])
+m4trace:configure.ac:62: -1- AM_PROG_LIBTOOL
+m4trace:configure.ac:62: -1- _m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
+You should run autoupdate.], [m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
+configure.ac:62: the top level])
+m4trace:configure.ac:62: -1- LT_INIT
+m4trace:configure.ac:62: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
+m4trace:configure.ac:62: -1- LTOPTIONS_VERSION
+m4trace:configure.ac:62: -1- LTSUGAR_VERSION
+m4trace:configure.ac:62: -1- LTVERSION_VERSION
+m4trace:configure.ac:62: -1- LTOBSOLETE_VERSION
+m4trace:configure.ac:62: -1- _LT_PROG_LTMAIN
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LIBTOOL$])
+m4trace:configure.ac:62: -1- _LT_PREPARE_SED_QUOTE_VARS
+m4trace:configure.ac:62: -1- _LT_PROG_ECHO_BACKSLASH
+m4trace:configure.ac:62: -1- LT_PATH_LD
+m4trace:configure.ac:62: -1- m4_pattern_allow([^SED$])
+m4trace:configure.ac:62: -1- AC_PROG_EGREP
+m4trace:configure.ac:62: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^FGREP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LD$])
+m4trace:configure.ac:62: -1- LT_PATH_NM
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DUMPBIN$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DUMPBIN$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^NM$])
+m4trace:configure.ac:62: -1- LT_CMD_MAX_LEN
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OBJDUMP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DLLTOOL$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^AR$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^ac_ct_AR$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:62: -1- _LT_WITH_SYSROOT
+m4trace:configure.ac:62: -1- m4_pattern_allow([LT_OBJDIR])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LT_OBJDIR$])
+m4trace:configure.ac:62: -1- _LT_CC_BASENAME([$compiler])
+m4trace:configure.ac:62: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
+m4trace:configure.ac:62: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
+m4trace:configure.ac:62: -1- LT_SUPPORTED_TAG([CC])
+m4trace:configure.ac:62: -1- _LT_COMPILER_BOILERPLATE
+m4trace:configure.ac:62: -1- _LT_LINKER_BOILERPLATE
+m4trace:configure.ac:62: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
+m4trace:configure.ac:62: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t at m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
+ esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
+m4trace:configure.ac:62: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^MANIFEST_TOOL$])
+m4trace:configure.ac:62: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:62: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:62: -1- _LT_REQUIRED_DARWIN_CHECKS
+m4trace:configure.ac:62: -1- m4_pattern_allow([^DSYMUTIL$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^NMEDIT$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LIPO$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OTOOL$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^OTOOL64$])
+m4trace:configure.ac:62: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
+m4trace:configure.ac:62: -1- LT_SYS_DLOPEN_SELF
+m4trace:configure.ac:62: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
+m4trace:configure.ac:62: -1- LT_LANG([CXX])
+m4trace:configure.ac:62: -1- LT_SUPPORTED_TAG([CXX])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^CXXCPP$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:62: -1- m4_pattern_allow([^CXXCPP$])
+m4trace:configure.ac:62: -1- _LT_COMPILER_BOILERPLATE
+m4trace:configure.ac:62: -1- _LT_LINKER_BOILERPLATE
+m4trace:configure.ac:62: -1- _LT_CC_BASENAME([$compiler])
+m4trace:configure.ac:62: -1- LT_PATH_LD
+m4trace:configure.ac:62: -1- m4_pattern_allow([^LD$])
+m4trace:configure.ac:62: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:62: -1- _LT_DLL_DEF_P([$export_symbols])
+m4trace:configure.ac:62: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t at m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
+ esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
+m4trace:configure.ac:62: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
+m4trace:configure.ac:66: -1- m4_pattern_allow([^HAVE_LIBGMP$])
+m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE_LIBM$])
+m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_LIBRT$])
+m4trace:configure.ac:73: -1- m4_pattern_allow([^XMKMF$])
+m4trace:configure.ac:77: -1- m4_pattern_allow([^pid_t$])
+m4trace:configure.ac:78: -1- m4_pattern_allow([^size_t$])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^uid_t$])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^gid_t$])
+m4trace:configure.ac:81: -1- PKG_CHECK_MODULES([UUID], [uuid >= 1.0.2])
+m4trace:configure.ac:81: -1- PKG_PROG_PKG_CONFIG
+m4trace:configure.ac:81: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^UUID_CFLAGS$])
+m4trace:configure.ac:81: -1- m4_pattern_allow([^UUID_LIBS$])
+m4trace:configure.ac:81: -1- PKG_CHECK_EXISTS([uuid >= 1.0.2], [pkg_cv_[]UUID_CFLAGS=`$PKG_CONFIG --[]cflags "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:81: -1- PKG_CHECK_EXISTS([uuid >= 1.0.2], [pkg_cv_[]UUID_LIBS=`$PKG_CONFIG --[]libs "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:81: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:82: -1- m4_pattern_allow([^UUID_CFLAGS$])
+m4trace:configure.ac:83: -1- m4_pattern_allow([^UUID_LIBS$])
+m4trace:configure.ac:85: -1- PKG_CHECK_MODULES([LIBAO], [ao >= 1.1.0])
+m4trace:configure.ac:85: -1- m4_pattern_allow([^LIBAO_CFLAGS$])
+m4trace:configure.ac:85: -1- m4_pattern_allow([^LIBAO_LIBS$])
+m4trace:configure.ac:85: -1- PKG_CHECK_EXISTS([ao >= 1.1.0], [pkg_cv_[]LIBAO_CFLAGS=`$PKG_CONFIG --[]cflags "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:85: -1- PKG_CHECK_EXISTS([ao >= 1.1.0], [pkg_cv_[]LIBAO_LIBS=`$PKG_CONFIG --[]libs "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:85: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:86: -1- m4_pattern_allow([^LIBAO_CFLAGS$])
+m4trace:configure.ac:87: -1- m4_pattern_allow([^LIBAO_LIBS$])
+m4trace:configure.ac:89: -1- PKG_CHECK_MODULES([LIBASOUND2], [alsa >= 1.0.25])
+m4trace:configure.ac:89: -1- m4_pattern_allow([^LIBASOUND2_CFLAGS$])
+m4trace:configure.ac:89: -1- m4_pattern_allow([^LIBASOUND2_LIBS$])
+m4trace:configure.ac:89: -1- PKG_CHECK_EXISTS([alsa >= 1.0.25], [pkg_cv_[]LIBASOUND2_CFLAGS=`$PKG_CONFIG --[]cflags "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:89: -1- PKG_CHECK_EXISTS([alsa >= 1.0.25], [pkg_cv_[]LIBASOUND2_LIBS=`$PKG_CONFIG --[]libs "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:89: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:90: -1- m4_pattern_allow([^LIBASOUND2_CFLAGS$])
+m4trace:configure.ac:91: -1- m4_pattern_allow([^LIBASOUND2_LIBS$])
+m4trace:configure.ac:93: -1- PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.8.0])
+m4trace:configure.ac:93: -1- m4_pattern_allow([^LIBXML2_CFLAGS$])
+m4trace:configure.ac:93: -1- m4_pattern_allow([^LIBXML2_LIBS$])
+m4trace:configure.ac:93: -1- PKG_CHECK_EXISTS([libxml-2.0 >= 2.8.0], [pkg_cv_[]LIBXML2_CFLAGS=`$PKG_CONFIG --[]cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:93: -1- PKG_CHECK_EXISTS([libxml-2.0 >= 2.8.0], [pkg_cv_[]LIBXML2_LIBS=`$PKG_CONFIG --[]libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:93: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:94: -1- m4_pattern_allow([^LIBXML2_CFLAGS$])
+m4trace:configure.ac:95: -1- m4_pattern_allow([^LIBXML2_LIBS$])
+m4trace:configure.ac:97: -1- PKG_CHECK_MODULES([SNDFILE], [sndfile >= 1.0.25])
+m4trace:configure.ac:97: -1- m4_pattern_allow([^SNDFILE_CFLAGS$])
+m4trace:configure.ac:97: -1- m4_pattern_allow([^SNDFILE_LIBS$])
+m4trace:configure.ac:97: -1- PKG_CHECK_EXISTS([sndfile >= 1.0.25], [pkg_cv_[]SNDFILE_CFLAGS=`$PKG_CONFIG --[]cflags "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:97: -1- PKG_CHECK_EXISTS([sndfile >= 1.0.25], [pkg_cv_[]SNDFILE_LIBS=`$PKG_CONFIG --[]libs "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:97: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:98: -1- m4_pattern_allow([^SNDFILE_CFLAGS$])
+m4trace:configure.ac:99: -1- m4_pattern_allow([^SNDFILE_LIBS$])
+m4trace:configure.ac:101: -1- PKG_CHECK_MODULES([LIBINSTPATCH], [libinstpatch-1.0 >= 1.0])
+m4trace:configure.ac:101: -1- m4_pattern_allow([^LIBINSTPATCH_CFLAGS$])
+m4trace:configure.ac:101: -1- m4_pattern_allow([^LIBINSTPATCH_LIBS$])
+m4trace:configure.ac:101: -1- PKG_CHECK_EXISTS([libinstpatch-1.0 >= 1.0], [pkg_cv_[]LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --[]cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:101: -1- PKG_CHECK_EXISTS([libinstpatch-1.0 >= 1.0], [pkg_cv_[]LIBINSTPATCH_LIBS=`$PKG_CONFIG --[]libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:101: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:102: -1- m4_pattern_allow([^LIBINSTPATCH_CFLAGS$])
+m4trace:configure.ac:103: -1- m4_pattern_allow([^LIBINSTPATCH_LIBS$])
+m4trace:configure.ac:105: -1- PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3])
+m4trace:configure.ac:105: -1- m4_pattern_allow([^GOBJECT_CFLAGS$])
+m4trace:configure.ac:105: -1- m4_pattern_allow([^GOBJECT_LIBS$])
+m4trace:configure.ac:105: -1- PKG_CHECK_EXISTS([gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3], [pkg_cv_[]GOBJECT_CFLAGS=`$PKG_CONFIG --[]cflags "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:105: -1- PKG_CHECK_EXISTS([gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3], [pkg_cv_[]GOBJECT_LIBS=`$PKG_CONFIG --[]libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:105: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:106: -1- m4_pattern_allow([^GOBJECT_CFLAGS$])
+m4trace:configure.ac:107: -1- m4_pattern_allow([^GOBJECT_LIBS$])
+m4trace:configure.ac:109: -1- PKG_CHECK_MODULES([GDKPIXBUF], [gdk-pixbuf-2.0 >= 2.26.1])
+m4trace:configure.ac:109: -1- m4_pattern_allow([^GDKPIXBUF_CFLAGS$])
+m4trace:configure.ac:109: -1- m4_pattern_allow([^GDKPIXBUF_LIBS$])
+m4trace:configure.ac:109: -1- PKG_CHECK_EXISTS([gdk-pixbuf-2.0 >= 2.26.1], [pkg_cv_[]GDKPIXBUF_CFLAGS=`$PKG_CONFIG --[]cflags "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:109: -1- PKG_CHECK_EXISTS([gdk-pixbuf-2.0 >= 2.26.1], [pkg_cv_[]GDKPIXBUF_LIBS=`$PKG_CONFIG --[]libs "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:109: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:110: -1- m4_pattern_allow([^GDKPIXBUF_CFLAGS$])
+m4trace:configure.ac:111: -1- m4_pattern_allow([^GDKPIXBUF_LIBS$])
+m4trace:configure.ac:113: -1- PKG_CHECK_MODULES([CAIRO], [cairo >= 1.12.0])
+m4trace:configure.ac:113: -1- m4_pattern_allow([^CAIRO_CFLAGS$])
+m4trace:configure.ac:113: -1- m4_pattern_allow([^CAIRO_LIBS$])
+m4trace:configure.ac:113: -1- PKG_CHECK_EXISTS([cairo >= 1.12.0], [pkg_cv_[]CAIRO_CFLAGS=`$PKG_CONFIG --[]cflags "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:113: -1- PKG_CHECK_EXISTS([cairo >= 1.12.0], [pkg_cv_[]CAIRO_LIBS=`$PKG_CONFIG --[]libs "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:113: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:114: -1- m4_pattern_allow([^CAIRO_CFLAGS$])
+m4trace:configure.ac:115: -1- m4_pattern_allow([^CAIRO_LIBS$])
+m4trace:configure.ac:117: -1- PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.24.10])
+m4trace:configure.ac:117: -1- m4_pattern_allow([^GTK_CFLAGS$])
+m4trace:configure.ac:117: -1- m4_pattern_allow([^GTK_LIBS$])
+m4trace:configure.ac:117: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.24.10], [pkg_cv_[]GTK_CFLAGS=`$PKG_CONFIG --[]cflags "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:117: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.24.10], [pkg_cv_[]GTK_LIBS=`$PKG_CONFIG --[]libs "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
+m4trace:configure.ac:117: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:118: -1- m4_pattern_allow([^GTK_CFLAGS$])
+m4trace:configure.ac:119: -1- m4_pattern_allow([^GTK_LIBS$])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^HAVE_MALLOC$])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^malloc$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_REALLOC$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:139: -1- m4_pattern_allow([^realloc$])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^LIB@&t at OBJS$])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:142: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:142: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:142: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:142: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:142: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
+m4trace:configure.ac:142: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:142: -1- _LT_PROG_LTMAIN
diff --git a/compile b/compile
new file mode 100755
index 0000000..531136b
--- /dev/null
+++ b/compile
@@ -0,0 +1,347 @@
+#! /bin/sh
+# Wrapper for compilers which do not understand '-c -o'.
+
+scriptversion=2012-10-14.11; # UTC
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey at cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
+
+nl='
+'
+
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" "" $nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+ file=$1
+ case $file in
+ / | /[!/]*) # absolute file, and not a UNC file
+ if test -z "$file_conv"; then
+ # lazily determine how to convert abs files
+ case `uname -s` in
+ MINGW*)
+ file_conv=mingw
+ ;;
+ CYGWIN*)
+ file_conv=cygwin
+ ;;
+ *)
+ file_conv=wine
+ ;;
+ esac
+ fi
+ case $file_conv/,$2, in
+ *,$file_conv,*)
+ ;;
+ mingw/*)
+ file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+ ;;
+ cygwin/*)
+ file=`cygpath -m "$file" || echo "$file"`
+ ;;
+ wine/*)
+ file=`winepath -w "$file" || echo "$file"`
+ ;;
+ esac
+ ;;
+ esac
+}
+
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+ func_file_conv "$1"
+ if test -z "$lib_path"; then
+ lib_path=$file
+ else
+ lib_path="$lib_path;$file"
+ fi
+ linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+ lib=$1
+ found=no
+ save_IFS=$IFS
+ IFS=';'
+ for dir in $lib_path $LIB
+ do
+ IFS=$save_IFS
+ if $shared && test -f "$dir/$lib.dll.lib"; then
+ found=yes
+ lib=$dir/$lib.dll.lib
+ break
+ fi
+ if test -f "$dir/$lib.lib"; then
+ found=yes
+ lib=$dir/$lib.lib
+ break
+ fi
+ if test -f "$dir/lib$lib.a"; then
+ found=yes
+ lib=$dir/lib$lib.a
+ break
+ fi
+ done
+ IFS=$save_IFS
+
+ if test "$found" != yes; then
+ lib=$lib.lib
+ fi
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+ # Assume a capable shell
+ lib_path=
+ shared=:
+ linker_opts=
+ for arg
+ do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ eat=1
+ case $2 in
+ *.o | *.[oO][bB][jJ])
+ func_file_conv "$2"
+ set x "$@" -Fo"$file"
+ shift
+ ;;
+ *)
+ func_file_conv "$2"
+ set x "$@" -Fe"$file"
+ shift
+ ;;
+ esac
+ ;;
+ -I)
+ eat=1
+ func_file_conv "$2" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -I*)
+ func_file_conv "${1#-I}" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -l)
+ eat=1
+ func_cl_dashl "$2"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -l*)
+ func_cl_dashl "${1#-l}"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -L)
+ eat=1
+ func_cl_dashL "$2"
+ ;;
+ -L*)
+ func_cl_dashL "${1#-L}"
+ ;;
+ -static)
+ shared=false
+ ;;
+ -Wl,*)
+ arg=${1#-Wl,}
+ save_ifs="$IFS"; IFS=','
+ for flag in $arg; do
+ IFS="$save_ifs"
+ linker_opts="$linker_opts $flag"
+ done
+ IFS="$save_ifs"
+ ;;
+ -Xlinker)
+ eat=1
+ linker_opts="$linker_opts $2"
+ ;;
+ -*)
+ set x "$@" "$1"
+ shift
+ ;;
+ *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+ func_file_conv "$1"
+ set x "$@" -Tp"$file"
+ shift
+ ;;
+ *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+ func_file_conv "$1" mingw
+ set x "$@" "$file"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+ done
+ if test -n "$linker_opts"; then
+ linker_opts="-link$linker_opts"
+ fi
+ exec "$@" $linker_opts
+ exit 1
+}
+
+eat=
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: compile [--help] [--version] PROGRAM [ARGS]
+
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
+arguments, and rename the output as expected.
+
+If you are trying to build a whole package this is not the
+right script to run: please start by reading the file 'INSTALL'.
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "compile $scriptversion"
+ exit $?
+ ;;
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;
+esac
+
+ofile=
+cfile=
+
+for arg
+do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ # So we strip '-o arg' only if arg is an object.
+ eat=1
+ case $2 in
+ *.o | *.obj)
+ ofile=$2
+ ;;
+ *)
+ set x "$@" -o "$2"
+ shift
+ ;;
+ esac
+ ;;
+ *.c)
+ cfile=$1
+ set x "$@" "$1"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+done
+
+if test -z "$ofile" || test -z "$cfile"; then
+ # If no '-o' option was seen then we might have been invoked from a
+ # pattern rule where we don't need one. That is ok -- this is a
+ # normal compilation that the losing compiler can handle. If no
+ # '.c' file was seen then we are probably linking. That is also
+ # ok.
+ exec "$@"
+fi
+
+# Name of file we expect compiler to create.
+cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
+
+# Create the lock directory.
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
+# that we are using for the .o file. Also, base the name on the expected
+# object file name, since that is what matters with a parallel build.
+lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
+while true; do
+ if mkdir "$lockdir" >/dev/null 2>&1; then
+ break
+ fi
+ sleep 1
+done
+# FIXME: race condition here if user kills between mkdir and trap.
+trap "rmdir '$lockdir'; exit 1" 1 2 15
+
+# Run the compile.
+"$@"
+ret=$?
+
+if test -f "$cofile"; then
+ test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+ test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
+fi
+
+rmdir "$lockdir"
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/config.guess b/config.guess
new file mode 100755
index 0000000..9afd676
--- /dev/null
+++ b/config.guess
@@ -0,0 +1,1568 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+# Copyright 1992-2013 Free Software Foundation, Inc.
+
+timestamp='2013-11-29'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+#
+# Originally written by Per Bothner.
+#
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+#
+# Please send patches with a ChangeLog entry to config-patches at gnu.org.
+
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches at gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright 1992-2013 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help" >&2
+ exit 1 ;;
+ * )
+ break ;;
+ esac
+done
+
+if test $# != 0; then
+ echo "$me: too many arguments$help" >&2
+ exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,) echo "int x;" > $dummy.c ;
+ for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+ CC_FOR_BUILD="$c"; break ;
+ fi ;
+ done ;
+ if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found ;
+ fi
+ ;;
+ ,,*) CC_FOR_BUILD=$CC ;;
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
+esac ; set_cc_for_build= ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi at noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+case "${UNAME_SYSTEM}" in
+Linux|GNU|GNU/*)
+ # If the system lacks a compiler, then just pick glibc.
+ # We could probably try harder.
+ LIBC=gnu
+
+ eval $set_cc_for_build
+ cat <<-EOF > $dummy.c
+ #include <features.h>
+ #if defined(__UCLIBC__)
+ LIBC=uclibc
+ #elif defined(__dietlibc__)
+ LIBC=dietlibc
+ #else
+ LIBC=gnu
+ #endif
+ EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ ;;
+esac
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
+ # compatibility and a consistent mechanism for selecting the
+ # object file format.
+ #
+ # Note: NetBSD doesn't particularly care about the vendor
+ # portion of the name. We always set it to "unknown".
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+ case "${UNAME_MACHINE_ARCH}" in
+ armeb) machine=armeb-unknown ;;
+ arm*) machine=arm-unknown ;;
+ sh3el) machine=shl-unknown ;;
+ sh3eb) machine=sh-unknown ;;
+ sh5el) machine=sh5le-unknown ;;
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ esac
+ # The Operating System including object format, if it has switched
+ # to ELF recently, or will in the future.
+ case "${UNAME_MACHINE_ARCH}" in
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ eval $set_cc_for_build
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ELF__
+ then
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+ # Return netbsd for either. FIX?
+ os=netbsd
+ else
+ os=netbsdelf
+ fi
+ ;;
+ *)
+ os=netbsd
+ ;;
+ esac
+ # The OS release
+ # Debian GNU/NetBSD machines have a different userland, and
+ # thus, need a distinct triplet. However, they do not need
+ # kernel version information, so it can be replaced with a
+ # suitable tag, in the style of linux-gnu.
+ case "${UNAME_VERSION}" in
+ Debian*)
+ release='-gnu'
+ ;;
+ *)
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ ;;
+ esac
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ # contains redundant information, the shorter form:
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ echo "${machine}-${os}${release}"
+ exit ;;
+ *:Bitrig:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
+ exit ;;
+ *:OpenBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+ exit ;;
+ *:ekkoBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+ exit ;;
+ *:SolidBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+ exit ;;
+ macppc:MirBSD:*:*)
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ *:MirBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ alpha:OSF1:*:*)
+ case $UNAME_RELEASE in
+ *4.0)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ ;;
+ *5.*)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+ ;;
+ esac
+ # According to Compaq, /usr/sbin/psrinfo has been available on
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
+ # covers most systems running today. This code pipes the CPU
+ # types through head -n 1, so we only detect the type of CPU 0.
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+ case "$ALPHA_CPU_TYPE" in
+ "EV4 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "EV4.5 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "LCA4 (21066/21068)")
+ UNAME_MACHINE="alpha" ;;
+ "EV5 (21164)")
+ UNAME_MACHINE="alphaev5" ;;
+ "EV5.6 (21164A)")
+ UNAME_MACHINE="alphaev56" ;;
+ "EV5.6 (21164PC)")
+ UNAME_MACHINE="alphapca56" ;;
+ "EV5.7 (21164PC)")
+ UNAME_MACHINE="alphapca57" ;;
+ "EV6 (21264)")
+ UNAME_MACHINE="alphaev6" ;;
+ "EV6.7 (21264A)")
+ UNAME_MACHINE="alphaev67" ;;
+ "EV6.8CB (21264C)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8AL (21264B)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8CX (21264D)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.9A (21264/EV69A)")
+ UNAME_MACHINE="alphaev69" ;;
+ "EV7 (21364)")
+ UNAME_MACHINE="alphaev7" ;;
+ "EV7.9 (21364A)")
+ UNAME_MACHINE="alphaev79" ;;
+ esac
+ # A Pn.n version is a patched version.
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
+ # 1.2 uses "1.2" for uname -r.
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+ exitcode=$?
+ trap '' 0
+ exit $exitcode ;;
+ Alpha\ *:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # Should we change UNAME_MACHINE based on the output of uname instead
+ # of the specific Alpha model?
+ echo alpha-pc-interix
+ exit ;;
+ 21064:Windows_NT:50:3)
+ echo alpha-dec-winnt3.5
+ exit ;;
+ Amiga*:UNIX_System_V:4.0:*)
+ echo m68k-unknown-sysv4
+ exit ;;
+ *:[Aa]miga[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-amigaos
+ exit ;;
+ *:[Mm]orph[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-morphos
+ exit ;;
+ *:OS/390:*:*)
+ echo i370-ibm-openedition
+ exit ;;
+ *:z/VM:*:*)
+ echo s390-ibm-zvmoe
+ exit ;;
+ *:OS400:*:*)
+ echo powerpc-ibm-os400
+ exit ;;
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ echo arm-acorn-riscix${UNAME_RELEASE}
+ exit ;;
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
+ echo arm-unknown-riscos
+ exit ;;
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ echo hppa1.1-hitachi-hiuxmpp
+ exit ;;
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+ # akee at wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit ;;
+ NILE*:*:*:dcosx)
+ echo pyramid-pyramid-svr4
+ exit ;;
+ DRS?6000:unix:4.0:6*)
+ echo sparc-icl-nx6
+ exit ;;
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+ case `/usr/bin/uname -p` in
+ sparc) echo sparc-icl-nx7; exit ;;
+ esac ;;
+ s390x:SunOS:*:*)
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4H:SunOS:5.*:*)
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+ eval $set_cc_for_build
+ SUN_ARCH="i386"
+ # If there is a compiler, see if it is configured for 64-bit objects.
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+ # This test works for both compilers.
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ SUN_ARCH="x86_64"
+ fi
+ fi
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+ exit ;;
+ sun3*:SunOS:*:*)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ exit ;;
+ sun*:*:4.2BSD:*)
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+ case "`/bin/arch`" in
+ sun3)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ ;;
+ sun4)
+ echo sparc-sun-sunos${UNAME_RELEASE}
+ ;;
+ esac
+ exit ;;
+ aushp:SunOS:*:*)
+ echo sparc-auspex-sunos${UNAME_RELEASE}
+ exit ;;
+ # The situation for MiNT is a little confusing. The machine name
+ # can be virtually everything (everything which is not
+ # "atarist" or "atariste" at least should have a processor
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
+ # to the lowercase version "mint" (or "freemint"). Finally
+ # the system name "TOS" denotes a system which is actually not
+ # MiNT. But MiNT is downward compatible to TOS, so this should
+ # be no problem.
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+ echo m68k-milan-mint${UNAME_RELEASE}
+ exit ;;
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+ echo m68k-hades-mint${UNAME_RELEASE}
+ exit ;;
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+ echo m68k-unknown-mint${UNAME_RELEASE}
+ exit ;;
+ m68k:machten:*:*)
+ echo m68k-apple-machten${UNAME_RELEASE}
+ exit ;;
+ powerpc:machten:*:*)
+ echo powerpc-apple-machten${UNAME_RELEASE}
+ exit ;;
+ RISC*:Mach:*:*)
+ echo mips-dec-mach_bsd4.3
+ exit ;;
+ RISC*:ULTRIX:*:*)
+ echo mips-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ VAX*:ULTRIX*:*:*)
+ echo vax-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
+ echo clipper-intergraph-clix${UNAME_RELEASE}
+ exit ;;
+ mips:*:*:UMIPS | mips:*:*:RISCos)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h> /* for printf() prototype */
+ int main (int argc, char *argv[]) {
+#else
+ int main (argc, argv) int argc; char *argv[]; {
+#endif
+ #if defined (host_mips) && defined (MIPSEB)
+ #if defined (SYSTYPE_SYSV)
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_SVR4)
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ #endif
+ #endif
+ exit (-1);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+ SYSTEM_NAME=`$dummy $dummyarg` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo mips-mips-riscos${UNAME_RELEASE}
+ exit ;;
+ Motorola:PowerMAX_OS:*:*)
+ echo powerpc-motorola-powermax
+ exit ;;
+ Motorola:*:4.3:PL8-*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:Power_UNIX:*:*)
+ echo powerpc-harris-powerunix
+ exit ;;
+ m88k:CX/UX:7*:*)
+ echo m88k-harris-cxux7
+ exit ;;
+ m88k:*:4*:R4*)
+ echo m88k-motorola-sysv4
+ exit ;;
+ m88k:*:3*:R3*)
+ echo m88k-motorola-sysv3
+ exit ;;
+ AViiON:dgux:*:*)
+ # DG/UX returns AViiON for all architectures
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ then
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
+ then
+ echo m88k-dg-dgux${UNAME_RELEASE}
+ else
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
+ fi
+ else
+ echo i586-dg-dgux${UNAME_RELEASE}
+ fi
+ exit ;;
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
+ echo m88k-dolphin-sysv3
+ exit ;;
+ M88*:*:R3*:*)
+ # Delta 88k system running SVR3
+ echo m88k-motorola-sysv3
+ exit ;;
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+ echo m88k-tektronix-sysv3
+ exit ;;
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+ echo m68k-tektronix-bsd
+ exit ;;
+ *:IRIX*:*:*)
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+ exit ;;
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ i*86:AIX:*:*)
+ echo i386-ibm-aix
+ exit ;;
+ ia64:AIX:*:*)
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:2:3)
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <sys/systemcfg.h>
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+ then
+ echo "$SYSTEM_NAME"
+ else
+ echo rs6000-ibm-aix3.2.5
+ fi
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
+ exit ;;
+ *:AIX:*:[4567])
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ IBM_ARCH=rs6000
+ else
+ IBM_ARCH=powerpc
+ fi
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:*:*)
+ echo rs6000-ibm-aix
+ exit ;;
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ echo romp-ibm-bsd4.4
+ exit ;;
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
+ exit ;; # report: romp-ibm BSD 4.3
+ *:BOSX:*:*)
+ echo rs6000-bull-bosx
+ exit ;;
+ DPX/2?00:B.O.S.:*:*)
+ echo m68k-bull-sysv3
+ exit ;;
+ 9000/[34]??:4.3bsd:1.*:*)
+ echo m68k-hp-bsd
+ exit ;;
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+ echo m68k-hp-bsd4.4
+ exit ;;
+ 9000/[34678]??:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ case "${UNAME_MACHINE}" in
+ 9000/31? ) HP_ARCH=m68000 ;;
+ 9000/[34]?? ) HP_ARCH=m68k ;;
+ 9000/[678][0-9][0-9])
+ if [ -x /usr/bin/getconf ]; then
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+ case "${sc_cpu_version}" in
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+ 532) # CPU_PA_RISC2_0
+ case "${sc_kernel_bits}" in
+ 32) HP_ARCH="hppa2.0n" ;;
+ 64) HP_ARCH="hppa2.0w" ;;
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
+ esac ;;
+ esac
+ fi
+ if [ "${HP_ARCH}" = "" ]; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+
+ #define _HPUX_SOURCE
+ #include <stdlib.h>
+ #include <unistd.h>
+
+ int main ()
+ {
+ #if defined(_SC_KERNEL_BITS)
+ long bits = sysconf(_SC_KERNEL_BITS);
+ #endif
+ long cpu = sysconf (_SC_CPU_VERSION);
+
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+ case CPU_PA_RISC2_0:
+ #if defined(_SC_KERNEL_BITS)
+ switch (bits)
+ {
+ case 64: puts ("hppa2.0w"); break;
+ case 32: puts ("hppa2.0n"); break;
+ default: puts ("hppa2.0"); break;
+ } break;
+ #else /* !defined(_SC_KERNEL_BITS) */
+ puts ("hppa2.0"); break;
+ #endif
+ default: puts ("hppa1.0"); break;
+ }
+ exit (0);
+ }
+EOF
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+ test -z "$HP_ARCH" && HP_ARCH=hppa
+ fi ;;
+ esac
+ if [ ${HP_ARCH} = "hppa2.0w" ]
+ then
+ eval $set_cc_for_build
+
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
+ # generating 64-bit code. GNU and HP use different nomenclature:
+ #
+ # $ CC_FOR_BUILD=cc ./config.guess
+ # => hppa2.0w-hp-hpux11.23
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+ # => hppa64-hp-hpux11.23
+
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+ grep -q __LP64__
+ then
+ HP_ARCH="hppa2.0w"
+ else
+ HP_ARCH="hppa64"
+ fi
+ fi
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ exit ;;
+ ia64:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ echo ia64-hp-hpux${HPUX_REV}
+ exit ;;
+ 3050*:HI-UX:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <unistd.h>
+ int
+ main ()
+ {
+ long cpu = sysconf (_SC_CPU_VERSION);
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
+ results, however. */
+ if (CPU_IS_PA_RISC (cpu))
+ {
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
+ }
+ }
+ else if (CPU_IS_HP_MC68K (cpu))
+ puts ("m68k-hitachi-hiuxwe2");
+ else puts ("unknown-hitachi-hiuxwe2");
+ exit (0);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo unknown-hitachi-hiuxwe2
+ exit ;;
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+ echo hppa1.1-hp-bsd
+ exit ;;
+ 9000/8??:4.3bsd:*:*)
+ echo hppa1.0-hp-bsd
+ exit ;;
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ echo hppa1.0-hp-mpeix
+ exit ;;
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+ echo hppa1.1-hp-osf
+ exit ;;
+ hp8??:OSF1:*:*)
+ echo hppa1.0-hp-osf
+ exit ;;
+ i*86:OSF1:*:*)
+ if [ -x /usr/sbin/sysversion ] ; then
+ echo ${UNAME_MACHINE}-unknown-osf1mk
+ else
+ echo ${UNAME_MACHINE}-unknown-osf1
+ fi
+ exit ;;
+ parisc*:Lites*:*:*)
+ echo hppa1.1-hp-lites
+ exit ;;
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ echo c1-convex-bsd
+ exit ;;
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+ echo c34-convex-bsd
+ exit ;;
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+ echo c38-convex-bsd
+ exit ;;
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ echo c4-convex-bsd
+ exit ;;
+ CRAY*Y-MP:*:*:*)
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*[A-Z]90:*:*:*)
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+ -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*TS:*:*:*)
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*T3E:*:*:*)
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*SV1:*:*:*)
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ *:UNICOS/mp:*:*)
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ 5000:UNIX_System_V:4.*:*)
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ exit ;;
+ sparc*:BSD/OS:*:*)
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:BSD/OS:*:*)
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:FreeBSD:*:*)
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ case ${UNAME_PROCESSOR} in
+ amd64)
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ *)
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ esac
+ exit ;;
+ i*:CYGWIN*:*)
+ echo ${UNAME_MACHINE}-pc-cygwin
+ exit ;;
+ *:MINGW64*:*)
+ echo ${UNAME_MACHINE}-pc-mingw64
+ exit ;;
+ *:MINGW*:*)
+ echo ${UNAME_MACHINE}-pc-mingw32
+ exit ;;
+ i*:MSYS*:*)
+ echo ${UNAME_MACHINE}-pc-msys
+ exit ;;
+ i*:windows32*:*)
+ # uname -m includes "-pc" on this system.
+ echo ${UNAME_MACHINE}-mingw32
+ exit ;;
+ i*:PW*:*)
+ echo ${UNAME_MACHINE}-pc-pw32
+ exit ;;
+ *:Interix*:*)
+ case ${UNAME_MACHINE} in
+ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ authenticamd | genuineintel | EM64T)
+ echo x86_64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ IA64)
+ echo ia64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+ echo i${UNAME_MACHINE}-pc-mks
+ exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # UNAME_MACHINE based on the output of uname instead of i386?
+ echo i586-pc-interix
+ exit ;;
+ i*:UWIN*:*)
+ echo ${UNAME_MACHINE}-pc-uwin
+ exit ;;
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
+ p*:CYGWIN*:*)
+ echo powerpcle-unknown-cygwin
+ exit ;;
+ prep*:SunOS:5.*:*)
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ *:GNU:*:*)
+ # the GNU system
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ exit ;;
+ *:GNU/*:*:*)
+ # other systems with GNU libc and userland
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
+ exit ;;
+ i*86:Minix:*:*)
+ echo ${UNAME_MACHINE}-pc-minix
+ exit ;;
+ aarch64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ aarch64_be:Linux:*:*)
+ UNAME_MACHINE=aarch64_be
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arc:Linux:*:* | arceb:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arm*:Linux:*:*)
+ eval $set_cc_for_build
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_EABI__
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ else
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_PCS_VFP
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
+ else
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
+ fi
+ fi
+ exit ;;
+ avr32*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ cris:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ crisv32:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ frv:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ hexagon:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:Linux:*:*)
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
+ exit ;;
+ ia64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m32r*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m68*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ mips:Linux:*:* | mips64:Linux:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #undef CPU
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=${UNAME_MACHINE}el
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=${UNAME_MACHINE}
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
+ ;;
+ or1k:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ or32:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-${LIBC}
+ exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-${LIBC}
+ exit ;;
+ parisc:Linux:*:* | hppa:Linux:*:*)
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
+ *) echo hppa-unknown-linux-${LIBC} ;;
+ esac
+ exit ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-${LIBC}
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-${LIBC}
+ exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-${LIBC}
+ exit ;;
+ ppcle:Linux:*:*)
+ echo powerpcle-unknown-linux-${LIBC}
+ exit ;;
+ s390:Linux:*:* | s390x:Linux:*:*)
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
+ exit ;;
+ sh64*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sh*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sparc:Linux:*:* | sparc64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ tile*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ vax:Linux:*:*)
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
+ exit ;;
+ x86_64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ xtensa*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:DYNIX/ptx:4*:*)
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+ # earlier versions are messed up and put the nodename in both
+ # sysname and nodename.
+ echo i386-sequent-sysv4
+ exit ;;
+ i*86:UNIX_SV:4.2MP:2.*)
+ # Unixware is an offshoot of SVR4, but it has its own version
+ # number series starting with 2...
+ # I am not positive that other SVR4 systems won't match this,
+ # I just have to hope. -- rms.
+ # Use sysv4.2uw... so that sysv4* matches it.
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ exit ;;
+ i*86:OS/2:*:*)
+ # If we were able to find `uname', then EMX Unix compatibility
+ # is probably installed.
+ echo ${UNAME_MACHINE}-pc-os2-emx
+ exit ;;
+ i*86:XTS-300:*:STOP)
+ echo ${UNAME_MACHINE}-unknown-stop
+ exit ;;
+ i*86:atheos:*:*)
+ echo ${UNAME_MACHINE}-unknown-atheos
+ exit ;;
+ i*86:syllable:*:*)
+ echo ${UNAME_MACHINE}-pc-syllable
+ exit ;;
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
+ echo i386-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ i*86:*DOS:*:*)
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ exit ;;
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+ else
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ fi
+ exit ;;
+ i*86:*:5:[678]*)
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
+ case `/bin/uname -X | grep "^Machine"` in
+ *486*) UNAME_MACHINE=i486 ;;
+ *Pentium) UNAME_MACHINE=i586 ;;
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+ esac
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ exit ;;
+ i*86:*:3.2:*)
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ && UNAME_MACHINE=i686
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ && UNAME_MACHINE=i686
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+ else
+ echo ${UNAME_MACHINE}-pc-sysv32
+ fi
+ exit ;;
+ pc:*:*:*)
+ # Left here for compatibility:
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
+ # the processor, so we play safe by assuming i586.
+ # Note: whatever this is, it MUST be the same as what config.sub
+ # prints for the "djgpp" host, or else GDB configury will decide that
+ # this is a cross-build.
+ echo i586-pc-msdosdjgpp
+ exit ;;
+ Intel:Mach:3*:*)
+ echo i386-pc-mach3
+ exit ;;
+ paragon:*:*:*)
+ echo i860-intel-osf1
+ exit ;;
+ i860:*:4.*:*) # i860-SVR4
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+ else # Add other i860-SVR4 vendors below as they are discovered.
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
+ fi
+ exit ;;
+ mini*:CTIX:SYS*5:*)
+ # "miniframe"
+ echo m68010-convergent-sysv
+ exit ;;
+ mc68k:UNIX:SYSTEM5:3.51m)
+ echo m68k-convergent-sysv
+ exit ;;
+ M680?0:D-NIX:5.3:*)
+ echo m68k-diab-dnix
+ exit ;;
+ M68*:*:R3V[5678]*:*)
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+ OS_REL=''
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4; exit; } ;;
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+ OS_REL='.3'
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ mc68030:UNIX_System_V:4.*:*)
+ echo m68k-atari-sysv4
+ exit ;;
+ TSUNAMI:LynxOS:2.*:*)
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ rs6000:LynxOS:2.*:*)
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ SM[BE]S:UNIX_SV:*:*)
+ echo mips-dde-sysv${UNAME_RELEASE}
+ exit ;;
+ RM*:ReliantUNIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo ${UNAME_MACHINE}-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit ;;
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ # says <Richard.M.Bartel at ccMail.Census.GOV>
+ echo i586-unisys-sysv4
+ exit ;;
+ *:UNIX_System_V:4*:FTX*)
+ # From Gerald Hewes <hewes at openmarket.com>.
+ # How about differentiating between stratus architectures? -djm
+ echo hppa1.1-stratus-sysv4
+ exit ;;
+ *:*:*:FTX*)
+ # From seanf at swdc.stratus.com.
+ echo i860-stratus-sysv4
+ exit ;;
+ i*86:VOS:*:*)
+ # From Paul.Green at stratus.com.
+ echo ${UNAME_MACHINE}-stratus-vos
+ exit ;;
+ *:VOS:*:*)
+ # From Paul.Green at stratus.com.
+ echo hppa1.1-stratus-vos
+ exit ;;
+ mc68*:A/UX:*:*)
+ echo m68k-apple-aux${UNAME_RELEASE}
+ exit ;;
+ news*:NEWS-OS:6*:*)
+ echo mips-sony-newsos6
+ exit ;;
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+ if [ -d /usr/nec ]; then
+ echo mips-nec-sysv${UNAME_RELEASE}
+ else
+ echo mips-unknown-sysv${UNAME_RELEASE}
+ fi
+ exit ;;
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
+ echo powerpc-be-beos
+ exit ;;
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
+ echo powerpc-apple-beos
+ exit ;;
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
+ echo i586-pc-beos
+ exit ;;
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
+ echo i586-pc-haiku
+ exit ;;
+ x86_64:Haiku:*:*)
+ echo x86_64-unknown-haiku
+ exit ;;
+ SX-4:SUPER-UX:*:*)
+ echo sx4-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-5:SUPER-UX:*:*)
+ echo sx5-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-6:SUPER-UX:*:*)
+ echo sx6-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-7:SUPER-UX:*:*)
+ echo sx7-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8:SUPER-UX:*:*)
+ echo sx8-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8R:SUPER-UX:*:*)
+ echo sx8r-nec-superux${UNAME_RELEASE}
+ exit ;;
+ Power*:Rhapsody:*:*)
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Rhapsody:*:*)
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Darwin:*:*)
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+ eval $set_cc_for_build
+ if test "$UNAME_PROCESSOR" = unknown ; then
+ UNAME_PROCESSOR=powerpc
+ fi
+ if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
+ fi
+ elif test "$UNAME_PROCESSOR" = i386 ; then
+ # Avoid executing cc on OS X 10.9, as it ships with a stub
+ # that puts up a graphical alert prompting to install
+ # developer tools. Any system running Mac OS X 10.7 or
+ # later (Darwin 11 and later) is required to have a 64-bit
+ # processor. This is not true of the ARM version of Darwin
+ # that Apple uses in portable devices.
+ UNAME_PROCESSOR=x86_64
+ fi
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+ exit ;;
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = "x86"; then
+ UNAME_PROCESSOR=i386
+ UNAME_MACHINE=pc
+ fi
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+ exit ;;
+ *:QNX:*:4*)
+ echo i386-pc-qnx
+ exit ;;
+ NEO-?:NONSTOP_KERNEL:*:*)
+ echo neo-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSE-*:NONSTOP_KERNEL:*:*)
+ echo nse-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSR-?:NONSTOP_KERNEL:*:*)
+ echo nsr-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ *:NonStop-UX:*:*)
+ echo mips-compaq-nonstopux
+ exit ;;
+ BS2000:POSIX*:*:*)
+ echo bs2000-siemens-sysv
+ exit ;;
+ DS/*:UNIX_System_V:*:*)
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+ exit ;;
+ *:Plan9:*:*)
+ # "uname -m" is not consistent, so use $cputype instead. 386
+ # is converted to i386 for consistency with other x86
+ # operating systems.
+ if test "$cputype" = "386"; then
+ UNAME_MACHINE=i386
+ else
+ UNAME_MACHINE="$cputype"
+ fi
+ echo ${UNAME_MACHINE}-unknown-plan9
+ exit ;;
+ *:TOPS-10:*:*)
+ echo pdp10-unknown-tops10
+ exit ;;
+ *:TENEX:*:*)
+ echo pdp10-unknown-tenex
+ exit ;;
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+ echo pdp10-dec-tops20
+ exit ;;
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+ echo pdp10-xkl-tops20
+ exit ;;
+ *:TOPS-20:*:*)
+ echo pdp10-unknown-tops20
+ exit ;;
+ *:ITS:*:*)
+ echo pdp10-unknown-its
+ exit ;;
+ SEI:*:*:SEIUX)
+ echo mips-sei-seiux${UNAME_RELEASE}
+ exit ;;
+ *:DragonFly:*:*)
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ exit ;;
+ *:*VMS:*:*)
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ case "${UNAME_MACHINE}" in
+ A*) echo alpha-dec-vms ; exit ;;
+ I*) echo ia64-dec-vms ; exit ;;
+ V*) echo vax-dec-vms ; exit ;;
+ esac ;;
+ *:XENIX:*:SysV)
+ echo i386-pc-xenix
+ exit ;;
+ i*86:skyos:*:*)
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+ exit ;;
+ i*86:rdos:*:*)
+ echo ${UNAME_MACHINE}-pc-rdos
+ exit ;;
+ i*86:AROS:*:*)
+ echo ${UNAME_MACHINE}-pc-aros
+ exit ;;
+ x86_64:VMkernel:*:*)
+ echo ${UNAME_MACHINE}-unknown-esx
+ exit ;;
+esac
+
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+#ifdef _SEQUENT_
+# include <sys/types.h>
+# include <sys/utsname.h>
+#endif
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
+ I don't know.... */
+ printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+ printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+ "4"
+#else
+ ""
+#endif
+ ); exit (0);
+#endif
+#endif
+
+#if defined (__arm) && defined (__acorn) && defined (__unix)
+ printf ("arm-acorn-riscix\n"); exit (0);
+#endif
+
+#if defined (hp300) && !defined (hpux)
+ printf ("m68k-hp-bsd\n"); exit (0);
+#endif
+
+#if defined (NeXT)
+#if !defined (__ARCHITECTURE__)
+#define __ARCHITECTURE__ "m68k"
+#endif
+ int version;
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
+ if (version < 4)
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
+ else
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
+ exit (0);
+#endif
+
+#if defined (MULTIMAX) || defined (n16)
+#if defined (UMAXV)
+ printf ("ns32k-encore-sysv\n"); exit (0);
+#else
+#if defined (CMU)
+ printf ("ns32k-encore-mach\n"); exit (0);
+#else
+ printf ("ns32k-encore-bsd\n"); exit (0);
+#endif
+#endif
+#endif
+
+#if defined (__386BSD__)
+ printf ("i386-pc-bsd\n"); exit (0);
+#endif
+
+#if defined (sequent)
+#if defined (i386)
+ printf ("i386-sequent-dynix\n"); exit (0);
+#endif
+#if defined (ns32000)
+ printf ("ns32k-sequent-dynix\n"); exit (0);
+#endif
+#endif
+
+#if defined (_SEQUENT_)
+ struct utsname un;
+
+ uname(&un);
+
+ if (strncmp(un.version, "V2", 2) == 0) {
+ printf ("i386-sequent-ptx2\n"); exit (0);
+ }
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
+ printf ("i386-sequent-ptx1\n"); exit (0);
+ }
+ printf ("i386-sequent-ptx\n"); exit (0);
+
+#endif
+
+#if defined (vax)
+# if !defined (ultrix)
+# include <sys/param.h>
+# if defined (BSD)
+# if BSD == 43
+ printf ("vax-dec-bsd4.3\n"); exit (0);
+# else
+# if BSD == 199006
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# endif
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# else
+ printf ("vax-dec-ultrix\n"); exit (0);
+# endif
+#endif
+
+#if defined (alliant) && defined (i860)
+ printf ("i860-alliant-bsd\n"); exit (0);
+#endif
+
+ exit (1);
+}
+EOF
+
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+
+# Apollos put the system type in the environment.
+
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
+
+# Convex versions that predate uname can use getsysinfo(1)
+
+if [ -x /usr/convex/getsysinfo ]
+then
+ case `getsysinfo -f cpu_type` in
+ c1*)
+ echo c1-convex-bsd
+ exit ;;
+ c2*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ c34*)
+ echo c34-convex-bsd
+ exit ;;
+ c38*)
+ echo c38-convex-bsd
+ exit ;;
+ c4*)
+ echo c4-convex-bsd
+ exit ;;
+ esac
+fi
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script, last modified $timestamp, has failed to recognize
+the operating system you are using. It is advised that you
+download the most up to date version of the config scripts from
+
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+and
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+If the version you run ($0) is already up to date, please
+send the following data and any information you think might be
+pertinent to <config-patches at gnu.org> in order to provide the needed
+information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..f994bb4
--- /dev/null
+++ b/config.h
@@ -0,0 +1,145 @@
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if you have the `atexit' function. */
+#define HAVE_ATEXIT 1
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#define HAVE_CLOCK_GETTIME 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the `floor' function. */
+#define HAVE_FLOOR 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the `gmp' library (-lgmp). */
+#define HAVE_LIBGMP 1
+
+/* Define to 1 if you have the <libintl.h> header file. */
+#define HAVE_LIBINTL_H 1
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define to 1 if you have the `rt' library (-lrt). */
+#define HAVE_LIBRT 1
+
+/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
+ to 0 otherwise. */
+#define HAVE_MALLOC 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `memset' function. */
+#define HAVE_MEMSET 1
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#define HAVE_NETINET_IN_H 1
+
+/* Define to 1 if your system has a GNU libc compatible `realloc' function,
+ and to 0 otherwise. */
+#define HAVE_REALLOC 1
+
+/* Define to 1 if you have the `socket' function. */
+#define HAVE_SOCKET 1
+
+/* Define to 1 if you have the `sqrt' function. */
+#define HAVE_SQRT 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the `strchr' function. */
+#define HAVE_STRCHR 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strtol' function. */
+#define HAVE_STRTOL 1
+
+/* Define to 1 if you have the `strtoul' function. */
+#define HAVE_STRTOUL 1
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "gsequencer"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "weedlight at gmail.com"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "gsequencer"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "gsequencer 0.4.3"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "gsequencer"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "0.4.3"
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "0.4.3"
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef gid_t */
+
+/* Define to rpl_malloc if the replacement function should be used. */
+/* #undef malloc */
+
+/* Define to `int' if <sys/types.h> does not define. */
+/* #undef pid_t */
+
+/* Define to rpl_realloc if the replacement function should be used. */
+/* #undef realloc */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+/* #undef uid_t */
diff --git a/config.h.in b/config.h.in
new file mode 100644
index 0000000..689a0e7
--- /dev/null
+++ b/config.h.in
@@ -0,0 +1,144 @@
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if you have the `atexit' function. */
+#undef HAVE_ATEXIT
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#undef HAVE_CLOCK_GETTIME
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#undef HAVE_FCNTL_H
+
+/* Define to 1 if you have the `floor' function. */
+#undef HAVE_FLOOR
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the `gmp' library (-lgmp). */
+#undef HAVE_LIBGMP
+
+/* Define to 1 if you have the <libintl.h> header file. */
+#undef HAVE_LIBINTL_H
+
+/* Define to 1 if you have the `m' library (-lm). */
+#undef HAVE_LIBM
+
+/* Define to 1 if you have the `rt' library (-lrt). */
+#undef HAVE_LIBRT
+
+/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
+ to 0 otherwise. */
+#undef HAVE_MALLOC
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the `memset' function. */
+#undef HAVE_MEMSET
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#undef HAVE_NETINET_IN_H
+
+/* Define to 1 if your system has a GNU libc compatible `realloc' function,
+ and to 0 otherwise. */
+#undef HAVE_REALLOC
+
+/* Define to 1 if you have the `socket' function. */
+#undef HAVE_SOCKET
+
+/* Define to 1 if you have the `sqrt' function. */
+#undef HAVE_SQRT
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the `strchr' function. */
+#undef HAVE_STRCHR
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the `strtol' function. */
+#undef HAVE_STRTOL
+
+/* Define to 1 if you have the `strtoul' function. */
+#undef HAVE_STRTOUL
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#undef HAVE_SYS_IOCTL_H
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#undef HAVE_SYS_SOCKET_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#undef LT_OBJDIR
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Version number of package */
+#undef VERSION
+
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+#undef gid_t
+
+/* Define to rpl_malloc if the replacement function should be used. */
+#undef malloc
+
+/* Define to `int' if <sys/types.h> does not define. */
+#undef pid_t
+
+/* Define to rpl_realloc if the replacement function should be used. */
+#undef realloc
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#undef size_t
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+#undef uid_t
diff --git a/config.h.in~ b/config.h.in~
new file mode 100644
index 0000000..689a0e7
--- /dev/null
+++ b/config.h.in~
@@ -0,0 +1,144 @@
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if you have the `atexit' function. */
+#undef HAVE_ATEXIT
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#undef HAVE_CLOCK_GETTIME
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#undef HAVE_FCNTL_H
+
+/* Define to 1 if you have the `floor' function. */
+#undef HAVE_FLOOR
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the `gmp' library (-lgmp). */
+#undef HAVE_LIBGMP
+
+/* Define to 1 if you have the <libintl.h> header file. */
+#undef HAVE_LIBINTL_H
+
+/* Define to 1 if you have the `m' library (-lm). */
+#undef HAVE_LIBM
+
+/* Define to 1 if you have the `rt' library (-lrt). */
+#undef HAVE_LIBRT
+
+/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
+ to 0 otherwise. */
+#undef HAVE_MALLOC
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the `memset' function. */
+#undef HAVE_MEMSET
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#undef HAVE_NETINET_IN_H
+
+/* Define to 1 if your system has a GNU libc compatible `realloc' function,
+ and to 0 otherwise. */
+#undef HAVE_REALLOC
+
+/* Define to 1 if you have the `socket' function. */
+#undef HAVE_SOCKET
+
+/* Define to 1 if you have the `sqrt' function. */
+#undef HAVE_SQRT
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the `strchr' function. */
+#undef HAVE_STRCHR
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the `strtol' function. */
+#undef HAVE_STRTOL
+
+/* Define to 1 if you have the `strtoul' function. */
+#undef HAVE_STRTOUL
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#undef HAVE_SYS_IOCTL_H
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#undef HAVE_SYS_SOCKET_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#undef HAVE_SYS_TIME_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#undef LT_OBJDIR
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Version number of package */
+#undef VERSION
+
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+#undef gid_t
+
+/* Define to rpl_malloc if the replacement function should be used. */
+#undef malloc
+
+/* Define to `int' if <sys/types.h> does not define. */
+#undef pid_t
+
+/* Define to rpl_realloc if the replacement function should be used. */
+#undef realloc
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#undef size_t
+
+/* Define to `int' if <sys/types.h> doesn't define. */
+#undef uid_t
diff --git a/config.log b/config.log
new file mode 100644
index 0000000..541a840
--- /dev/null
+++ b/config.log
@@ -0,0 +1,1475 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by gsequencer configure 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ ./configure
+
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = Device-03036C
+uname -m = x86_64
+uname -r = 3.14.25-rt22
+uname -s = Linux
+uname -v = #1 SMP PREEMPT RT Thu Jan 1 12:57:50 GMT 2015
+
+/usr/bin/uname -p = unknown
+/bin/uname -X = unknown
+
+/bin/arch = unknown
+/usr/bin/arch -k = unknown
+/usr/convex/getsysinfo = unknown
+/usr/bin/hostinfo = unknown
+/bin/machine = unknown
+/usr/bin/oslevel = unknown
+/bin/universe = unknown
+
+PATH: /bin
+PATH: /usr/bin
+PATH: /usr/X11/bin
+PATH: /home/minos/bin
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+configure:2568: checking for a BSD-compatible install
+configure:2636: result: /usr/bin/install -c
+configure:2647: checking whether build environment is sane
+configure:2702: result: yes
+configure:2853: checking for a thread-safe mkdir -p
+configure:2892: result: /bin/mkdir -p
+configure:2899: checking for gawk
+configure:2915: found /usr/bin/gawk
+configure:2926: result: gawk
+configure:2937: checking whether make sets $(MAKE)
+configure:2959: result: yes
+configure:2988: checking whether make supports nested variables
+configure:3005: result: yes
+configure:3191: checking for g++
+configure:3207: found /usr/bin/g++
+configure:3218: result: g++
+configure:3245: checking for C++ compiler version
+configure:3254: g++ --version >&5
+g++ (GCC) 4.9.2
+Copyright (C) 2014 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:3265: $? = 0
+configure:3254: g++ -v >&5
+Using built-in specs.
+COLLECT_GCC=g++
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
+Target: x86_64-unknown-linux-gnu
+Configured with: ../gcc-4.9.2/configure --prefix=/usr --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib
+Thread model: posix
+gcc version 4.9.2 (GCC)
+configure:3265: $? = 0
+configure:3254: g++ -V >&5
+g++: error: unrecognized command line option '-V'
+g++: fatal error: no input files
+compilation terminated.
+configure:3265: $? = 1
+configure:3254: g++ -qversion >&5
+g++: error: unrecognized command line option '-qversion'
+g++: fatal error: no input files
+compilation terminated.
+configure:3265: $? = 1
+configure:3285: checking whether the C++ compiler works
+configure:3307: g++ conftest.cpp >&5
+configure:3311: $? = 0
+configure:3359: result: yes
+configure:3362: checking for C++ compiler default output file name
+configure:3364: result: a.out
+configure:3370: checking for suffix of executables
+configure:3377: g++ -o conftest conftest.cpp >&5
+configure:3381: $? = 0
+configure:3403: result:
+configure:3425: checking whether we are cross compiling
+configure:3433: g++ -o conftest conftest.cpp >&5
+configure:3437: $? = 0
+configure:3444: ./conftest
+configure:3448: $? = 0
+configure:3463: result: no
+configure:3468: checking for suffix of object files
+configure:3490: g++ -c conftest.cpp >&5
+configure:3494: $? = 0
+configure:3515: result: o
+configure:3519: checking whether we are using the GNU C++ compiler
+configure:3538: g++ -c conftest.cpp >&5
+configure:3538: $? = 0
+configure:3547: result: yes
+configure:3556: checking whether g++ accepts -g
+configure:3576: g++ -c -g conftest.cpp >&5
+configure:3576: $? = 0
+configure:3617: result: yes
+configure:3651: checking for style of include used by make
+configure:3679: result: GNU
+configure:3705: checking dependency style of g++
+configure:3816: result: gcc3
+configure:3835: checking for gawk
+configure:3862: result: gawk
+configure:3921: checking for gcc
+configure:3937: found /usr/bin/gcc
+configure:3948: result: gcc
+configure:4177: checking for C compiler version
+configure:4186: gcc --version >&5
+gcc (GCC) 4.9.2
+Copyright (C) 2014 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:4197: $? = 0
+configure:4186: gcc -v >&5
+Using built-in specs.
+COLLECT_GCC=gcc
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
+Target: x86_64-unknown-linux-gnu
+Configured with: ../gcc-4.9.2/configure --prefix=/usr --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib
+Thread model: posix
+gcc version 4.9.2 (GCC)
+configure:4197: $? = 0
+configure:4186: gcc -V >&5
+gcc: error: unrecognized command line option '-V'
+gcc: fatal error: no input files
+compilation terminated.
+configure:4197: $? = 1
+configure:4186: gcc -qversion >&5
+gcc: error: unrecognized command line option '-qversion'
+gcc: fatal error: no input files
+compilation terminated.
+configure:4197: $? = 1
+configure:4201: checking whether we are using the GNU C compiler
+configure:4220: gcc -c conftest.c >&5
+configure:4220: $? = 0
+configure:4229: result: yes
+configure:4238: checking whether gcc accepts -g
+configure:4258: gcc -c -g conftest.c >&5
+configure:4258: $? = 0
+configure:4299: result: yes
+configure:4316: checking for gcc option to accept ISO C89
+configure:4379: gcc -c -g -O2 conftest.c >&5
+configure:4379: $? = 0
+configure:4392: result: none needed
+configure:4417: checking whether gcc understands -c and -o together
+configure:4439: gcc -c conftest.c -o conftest2.o
+configure:4442: $? = 0
+configure:4439: gcc -c conftest.c -o conftest2.o
+configure:4442: $? = 0
+configure:4454: result: yes
+configure:4473: checking dependency style of gcc
+configure:4584: result: gcc3
+configure:4604: checking how to run the C preprocessor
+configure:4635: gcc -E conftest.c
+configure:4635: $? = 0
+configure:4649: gcc -E conftest.c
+conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+ ^
+compilation terminated.
+configure:4649: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:4674: result: gcc -E
+configure:4694: gcc -E conftest.c
+configure:4694: $? = 0
+configure:4708: gcc -E conftest.c
+conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+ ^
+compilation terminated.
+configure:4708: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:4737: checking whether ln -s works
+configure:4741: result: yes
+configure:4748: checking whether make sets $(MAKE)
+configure:4770: result: yes
+configure:4822: checking for ranlib
+configure:4838: found /usr/bin/ranlib
+configure:4849: result: ranlib
+configure:4919: checking for gcc
+configure:4946: result: gcc
+configure:5175: checking for C compiler version
+configure:5184: gcc --version >&5
+gcc (GCC) 4.9.2
+Copyright (C) 2014 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:5195: $? = 0
+configure:5184: gcc -v >&5
+Using built-in specs.
+COLLECT_GCC=gcc
+COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
+Target: x86_64-unknown-linux-gnu
+Configured with: ../gcc-4.9.2/configure --prefix=/usr --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib
+Thread model: posix
+gcc version 4.9.2 (GCC)
+configure:5195: $? = 0
+configure:5184: gcc -V >&5
+gcc: error: unrecognized command line option '-V'
+gcc: fatal error: no input files
+compilation terminated.
+configure:5195: $? = 1
+configure:5184: gcc -qversion >&5
+gcc: error: unrecognized command line option '-qversion'
+gcc: fatal error: no input files
+compilation terminated.
+configure:5195: $? = 1
+configure:5199: checking whether we are using the GNU C compiler
+configure:5227: result: yes
+configure:5236: checking whether gcc accepts -g
+configure:5297: result: yes
+configure:5314: checking for gcc option to accept ISO C89
+configure:5390: result: none needed
+configure:5415: checking whether gcc understands -c and -o together
+configure:5452: result: yes
+configure:5471: checking dependency style of gcc
+configure:5582: result: gcc3
+configure:5600: checking for an ANSI C-conforming const
+configure:5666: gcc -c -g -O2 conftest.c >&5
+configure:5666: $? = 0
+configure:5673: result: yes
+configure:5685: checking build system type
+configure:5699: result: x86_64-unknown-linux-gnu
+configure:5719: checking host system type
+configure:5732: result: x86_64-unknown-linux-gnu
+configure:6101: checking how to print strings
+configure:6128: result: printf
+configure:6149: checking for a sed that does not truncate output
+configure:6213: result: /bin/sed
+configure:6231: checking for grep that handles long lines and -e
+configure:6289: result: /bin/grep
+configure:6294: checking for egrep
+configure:6356: result: /bin/grep -E
+configure:6361: checking for fgrep
+configure:6423: result: /bin/grep -F
+configure:6458: checking for ld used by gcc
+configure:6525: result: /usr/bin/ld
+configure:6532: checking if the linker (/usr/bin/ld) is GNU ld
+configure:6547: result: yes
+configure:6559: checking for BSD- or MS-compatible name lister (nm)
+configure:6613: result: /usr/bin/nm -B
+configure:6743: checking the name lister (/usr/bin/nm -B) interface
+configure:6750: gcc -c -g -O2 conftest.c >&5
+configure:6753: /usr/bin/nm -B "conftest.o"
+configure:6756: output
+0000000000000000 B some_variable
+configure:6763: result: BSD nm
+configure:6767: checking the maximum length of command line arguments
+configure:6898: result: 1572864
+configure:6946: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
+configure:6986: result: func_convert_file_noop
+configure:6993: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
+configure:7013: result: func_convert_file_noop
+configure:7020: checking for /usr/bin/ld option to reload object files
+configure:7027: result: -r
+configure:7101: checking for objdump
+configure:7128: result: objdump
+configure:7157: checking how to recognize dependent libraries
+configure:7357: result: pass_all
+configure:7442: checking for dlltool
+configure:7469: result: dlltool
+configure:7499: checking how to associate runtime and link libraries
+configure:7526: result: printf %s\n
+configure:7586: checking for ar
+configure:7602: found /usr/bin/ar
+configure:7613: result: ar
+configure:7650: checking for archiver @FILE support
+configure:7667: gcc -c -g -O2 conftest.c >&5
+configure:7667: $? = 0
+configure:7670: ar cru libconftest.a @conftest.lst >&5
+configure:7673: $? = 0
+configure:7678: ar cru libconftest.a @conftest.lst >&5
+ar: conftest.o: No such file or directory
+configure:7681: $? = 1
+configure:7693: result: @
+configure:7751: checking for strip
+configure:7767: found /usr/bin/strip
+configure:7778: result: strip
+configure:7850: checking for ranlib
+configure:7877: result: ranlib
+configure:7979: checking command to parse /usr/bin/nm -B output from gcc object
+configure:8132: gcc -c -g -O2 conftest.c >&5
+configure:8135: $? = 0
+configure:8139: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
+configure:8142: $? = 0
+configure:8208: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
+configure:8211: $? = 0
+configure:8249: result: ok
+configure:8296: checking for sysroot
+configure:8326: result: no
+configure:8333: checking for a working dd
+configure:8371: result: /bin/dd
+configure:8375: checking how to truncate binary pipes
+configure:8390: result: /bin/dd bs=4096 count=1
+configure:8511: gcc -c -g -O2 conftest.c >&5
+configure:8514: $? = 0
+configure:8704: checking for mt
+configure:8720: found /bin/mt
+configure:8731: result: mt
+configure:8754: checking if mt is a manifest tool
+configure:8760: mt '-?'
+configure:8768: result: no
+configure:9406: checking for ANSI C header files
+configure:9426: gcc -c -g -O2 conftest.c >&5
+configure:9426: $? = 0
+configure:9499: gcc -o conftest -g -O2 conftest.c >&5
+configure:9499: $? = 0
+configure:9499: ./conftest
+configure:9499: $? = 0
+configure:9510: result: yes
+configure:9523: checking for sys/types.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for sys/stat.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for stdlib.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for string.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for memory.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for strings.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for inttypes.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for stdint.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9523: checking for unistd.h
+configure:9523: gcc -c -g -O2 conftest.c >&5
+configure:9523: $? = 0
+configure:9523: result: yes
+configure:9537: checking for dlfcn.h
+configure:9537: gcc -c -g -O2 conftest.c >&5
+configure:9537: $? = 0
+configure:9537: result: yes
+configure:9802: checking for objdir
+configure:9817: result: .libs
+configure:10088: checking if gcc supports -fno-rtti -fno-exceptions
+configure:10106: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
+cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
+configure:10110: $? = 0
+configure:10123: result: no
+configure:10481: checking for gcc option to produce PIC
+configure:10488: result: -fPIC -DPIC
+configure:10496: checking if gcc PIC flag -fPIC -DPIC works
+configure:10514: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
+configure:10518: $? = 0
+configure:10531: result: yes
+configure:10560: checking if gcc static flag -static works
+configure:10588: result: yes
+configure:10603: checking if gcc supports -c -o file.o
+configure:10624: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
+configure:10628: $? = 0
+configure:10650: result: yes
+configure:10658: checking if gcc supports -c -o file.o
+configure:10705: result: yes
+configure:10738: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
+configure:11997: result: yes
+configure:12034: checking whether -lc should be explicitly linked in
+configure:12042: gcc -c -g -O2 conftest.c >&5
+configure:12045: $? = 0
+configure:12060: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
+configure:12063: $? = 0
+configure:12077: result: no
+configure:12237: checking dynamic linker characteristics
+configure:12814: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
+configure:12814: $? = 0
+configure:13046: result: GNU/Linux ld.so
+configure:13153: checking how to hardcode library paths into programs
+configure:13178: result: immediate
+configure:13726: checking whether stripping libraries is possible
+configure:13731: result: yes
+configure:13766: checking if libtool supports shared libraries
+configure:13768: result: yes
+configure:13771: checking whether to build shared libraries
+configure:13796: result: yes
+configure:13799: checking whether to build static libraries
+configure:13803: result: yes
+configure:13826: checking how to run the C++ preprocessor
+configure:13853: g++ -E conftest.cpp
+configure:13853: $? = 0
+configure:13867: g++ -E conftest.cpp
+conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+ ^
+compilation terminated.
+configure:13867: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:13892: result: g++ -E
+configure:13912: g++ -E conftest.cpp
+configure:13912: $? = 0
+configure:13926: g++ -E conftest.cpp
+conftest.cpp:23:28: fatal error: ac_nonexistent.h: No such file or directory
+ #include <ac_nonexistent.h>
+ ^
+compilation terminated.
+configure:13926: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:14095: checking for ld used by g++
+configure:14162: result: /usr/bin/ld -m elf_x86_64
+configure:14169: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
+configure:14184: result: yes
+configure:14239: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
+configure:15312: result: yes
+configure:15348: g++ -c -g -O2 conftest.cpp >&5
+configure:15351: $? = 0
+configure:15877: checking for g++ option to produce PIC
+configure:15884: result: -fPIC -DPIC
+configure:15892: checking if g++ PIC flag -fPIC -DPIC works
+configure:15910: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5
+configure:15914: $? = 0
+configure:15927: result: yes
+configure:15950: checking if g++ static flag -static works
+configure:15978: result: yes
+configure:15990: checking if g++ supports -c -o file.o
+configure:16011: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
+configure:16015: $? = 0
+configure:16037: result: yes
+configure:16042: checking if g++ supports -c -o file.o
+configure:16089: result: yes
+configure:16119: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
+configure:16159: result: yes
+configure:16300: checking dynamic linker characteristics
+configure:17036: result: GNU/Linux ld.so
+configure:17089: checking how to hardcode library paths into programs
+configure:17114: result: immediate
+configure:17178: checking for main in -lgmp
+configure:17197: gcc -o conftest -g -O2 conftest.c -lgmp >&5
+configure:17197: $? = 0
+configure:17206: result: yes
+configure:17218: checking for main in -lm
+configure:17237: gcc -o conftest -g -O2 conftest.c -lm -lgmp >&5
+configure:17237: $? = 0
+configure:17246: result: yes
+configure:17258: checking for main in -lrt
+configure:17277: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:17277: $? = 0
+configure:17286: result: yes
+configure:17299: checking for X
+configure:17407: gcc -E conftest.c
+conftest.c:26:22: fatal error: X11/Xlib.h: No such file or directory
+ #include <X11/Xlib.h>
+ ^
+compilation terminated.
+configure:17407: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_LIBGMP 1
+| #define HAVE_LIBM 1
+| #define HAVE_LIBRT 1
+| /* end confdefs.h. */
+| #include <X11/Xlib.h>
+configure:17438: gcc -o conftest -g -O2 conftest.c -lX11 -lrt -lm -lgmp >&5
+conftest.c:26:22: fatal error: X11/Xlib.h: No such file or directory
+ #include <X11/Xlib.h>
+ ^
+compilation terminated.
+configure:17438: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_LIBGMP 1
+| #define HAVE_LIBM 1
+| #define HAVE_LIBRT 1
+| /* end confdefs.h. */
+| #include <X11/Xlib.h>
+| int
+| main ()
+| {
+| XrmInitialize ()
+| ;
+| return 0;
+| }
+configure:17488: result: libraries /usr/X11/lib, headers /usr/X11/include
+configure:17495: checking fcntl.h usability
+configure:17495: gcc -c -g -O2 conftest.c >&5
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking fcntl.h presence
+configure:17495: gcc -E conftest.c
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking for fcntl.h
+configure:17495: result: yes
+configure:17495: checking libintl.h usability
+configure:17495: gcc -c -g -O2 conftest.c >&5
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking libintl.h presence
+configure:17495: gcc -E conftest.c
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking for libintl.h
+configure:17495: result: yes
+configure:17495: checking netinet/in.h usability
+configure:17495: gcc -c -g -O2 conftest.c >&5
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking netinet/in.h presence
+configure:17495: gcc -E conftest.c
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking for netinet/in.h
+configure:17495: result: yes
+configure:17495: checking for stdint.h
+configure:17495: result: yes
+configure:17495: checking for stdlib.h
+configure:17495: result: yes
+configure:17495: checking for string.h
+configure:17495: result: yes
+configure:17495: checking sys/ioctl.h usability
+configure:17495: gcc -c -g -O2 conftest.c >&5
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking sys/ioctl.h presence
+configure:17495: gcc -E conftest.c
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking for sys/ioctl.h
+configure:17495: result: yes
+configure:17495: checking sys/socket.h usability
+configure:17495: gcc -c -g -O2 conftest.c >&5
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking sys/socket.h presence
+configure:17495: gcc -E conftest.c
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking for sys/socket.h
+configure:17495: result: yes
+configure:17495: checking sys/time.h usability
+configure:17495: gcc -c -g -O2 conftest.c >&5
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking sys/time.h presence
+configure:17495: gcc -E conftest.c
+configure:17495: $? = 0
+configure:17495: result: yes
+configure:17495: checking for sys/time.h
+configure:17495: result: yes
+configure:17495: checking for unistd.h
+configure:17495: result: yes
+configure:17507: checking for pid_t
+configure:17507: gcc -c -g -O2 conftest.c >&5
+configure:17507: $? = 0
+configure:17507: gcc -c -g -O2 conftest.c >&5
+conftest.c: In function 'main':
+conftest.c:72:20: error: expected expression before ')' token
+ if (sizeof ((pid_t)))
+ ^
+configure:17507: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_LIBGMP 1
+| #define HAVE_LIBM 1
+| #define HAVE_LIBRT 1
+| #define HAVE_FCNTL_H 1
+| #define HAVE_LIBINTL_H 1
+| #define HAVE_NETINET_IN_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_SYS_IOCTL_H 1
+| #define HAVE_SYS_SOCKET_H 1
+| #define HAVE_SYS_TIME_H 1
+| #define HAVE_UNISTD_H 1
+| /* end confdefs.h. */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| # include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| # include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| int
+| main ()
+| {
+| if (sizeof ((pid_t)))
+| return 0;
+| ;
+| return 0;
+| }
+configure:17507: result: yes
+configure:17518: checking for size_t
+configure:17518: gcc -c -g -O2 conftest.c >&5
+configure:17518: $? = 0
+configure:17518: gcc -c -g -O2 conftest.c >&5
+conftest.c: In function 'main':
+conftest.c:72:21: error: expected expression before ')' token
+ if (sizeof ((size_t)))
+ ^
+configure:17518: $? = 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "gsequencer"
+| #define PACKAGE_TARNAME "gsequencer"
+| #define PACKAGE_VERSION "0.4.3"
+| #define PACKAGE_STRING "gsequencer 0.4.3"
+| #define PACKAGE_BUGREPORT "weedlight at gmail.com"
+| #define PACKAGE_URL ""
+| #define PACKAGE "gsequencer"
+| #define VERSION "0.4.3"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define HAVE_LIBGMP 1
+| #define HAVE_LIBM 1
+| #define HAVE_LIBRT 1
+| #define HAVE_FCNTL_H 1
+| #define HAVE_LIBINTL_H 1
+| #define HAVE_NETINET_IN_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_SYS_IOCTL_H 1
+| #define HAVE_SYS_SOCKET_H 1
+| #define HAVE_SYS_TIME_H 1
+| #define HAVE_UNISTD_H 1
+| /* end confdefs.h. */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| # include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| # include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| int
+| main ()
+| {
+| if (sizeof ((size_t)))
+| return 0;
+| ;
+| return 0;
+| }
+configure:17518: result: yes
+configure:17529: checking for uid_t in sys/types.h
+configure:17548: result: yes
+configure:17614: checking for pkg-config
+configure:17632: found /usr/bin/pkg-config
+configure:17644: result: /usr/bin/pkg-config
+configure:17669: checking pkg-config is at least version 0.9.0
+configure:17672: result: yes
+configure:17682: checking for UUID
+configure:17689: $PKG_CONFIG --exists --print-errors "uuid >= 1.0.2"
+configure:17692: $? = 0
+configure:17706: $PKG_CONFIG --exists --print-errors "uuid >= 1.0.2"
+configure:17709: $? = 0
+configure:17767: result: yes
+configure:17776: checking for LIBAO
+configure:17783: $PKG_CONFIG --exists --print-errors "ao >= 1.1.0"
+configure:17786: $? = 0
+configure:17800: $PKG_CONFIG --exists --print-errors "ao >= 1.1.0"
+configure:17803: $? = 0
+configure:17861: result: yes
+configure:17870: checking for LIBASOUND2
+configure:17877: $PKG_CONFIG --exists --print-errors "alsa >= 1.0.25"
+configure:17880: $? = 0
+configure:17894: $PKG_CONFIG --exists --print-errors "alsa >= 1.0.25"
+configure:17897: $? = 0
+configure:17955: result: yes
+configure:17964: checking for LIBXML2
+configure:17971: $PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0"
+configure:17974: $? = 0
+configure:17988: $PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0"
+configure:17991: $? = 0
+configure:18049: result: yes
+configure:18058: checking for SNDFILE
+configure:18065: $PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25"
+configure:18068: $? = 0
+configure:18082: $PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25"
+configure:18085: $? = 0
+configure:18143: result: yes
+configure:18152: checking for LIBINSTPATCH
+configure:18159: $PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0"
+configure:18162: $? = 0
+configure:18176: $PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0"
+configure:18179: $? = 0
+configure:18237: result: yes
+configure:18246: checking for GOBJECT
+configure:18253: $PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3"
+configure:18256: $? = 0
+configure:18270: $PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3"
+configure:18273: $? = 0
+configure:18331: result: yes
+configure:18340: checking for GDKPIXBUF
+configure:18347: $PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1"
+configure:18350: $? = 0
+configure:18364: $PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1"
+configure:18367: $? = 0
+configure:18425: result: yes
+configure:18434: checking for CAIRO
+configure:18441: $PKG_CONFIG --exists --print-errors "cairo >= 1.12.0"
+configure:18444: $? = 0
+configure:18458: $PKG_CONFIG --exists --print-errors "cairo >= 1.12.0"
+configure:18461: $? = 0
+configure:18519: result: yes
+configure:18528: checking for GTK
+configure:18535: $PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10"
+configure:18538: $? = 0
+configure:18552: $PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10"
+configure:18555: $? = 0
+configure:18613: result: yes
+configure:18639: checking for stdlib.h
+configure:18639: result: yes
+configure:18649: checking for GNU libc compatible malloc
+configure:18673: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:18673: $? = 0
+configure:18673: ./conftest
+configure:18673: $? = 0
+configure:18683: result: yes
+configure:18706: checking for stdlib.h
+configure:18706: result: yes
+configure:18716: checking for GNU libc compatible realloc
+configure:18740: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:18740: $? = 0
+configure:18740: ./conftest
+configure:18740: $? = 0
+configure:18750: result: yes
+configure:18774: checking for atexit
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for clock_gettime
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for floor
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+conftest.c:65:6: warning: conflicting types for built-in function 'floor'
+ char floor ();
+ ^
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for memset
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+conftest.c:66:6: warning: conflicting types for built-in function 'memset'
+ char memset ();
+ ^
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for socket
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for sqrt
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+conftest.c:68:6: warning: conflicting types for built-in function 'sqrt'
+ char sqrt ();
+ ^
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for strchr
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+conftest.c:69:6: warning: conflicting types for built-in function 'strchr'
+ char strchr ();
+ ^
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for strtol
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18774: checking for strtoul
+configure:18774: gcc -o conftest -g -O2 conftest.c -lrt -lm -lgmp >&5
+configure:18774: $? = 0
+configure:18774: result: yes
+configure:18892: checking that generated files are newer than configure
+configure:18898: result: done
+configure:18929: creating ./config.status
+
+## ---------------------- ##
+## Running config.status. ##
+## ---------------------- ##
+
+This file was extended by gsequencer config.status 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES =
+ CONFIG_HEADERS =
+ CONFIG_LINKS =
+ CONFIG_COMMANDS =
+ $ ./config.status
+
+on Device-03036C
+
+config.status:1222: creating Makefile
+config.status:1222: creating po/Makefile
+config.status:1222: creating doc/Makefile
+config.status:1222: creating src/ags/Makefile
+config.status:1222: creating src/ags/X/Makefile
+config.status:1222: creating src/ags/X/editor/Makefile
+config.status:1222: creating src/ags/X/machine/Makefile
+config.status:1222: creating src/ags/audio/Makefile
+config.status:1222: creating src/ags/audio/file/Makefile
+config.status:1222: creating src/ags/audio/recall/Makefile
+config.status:1222: creating src/ags/audio/task/Makefile
+config.status:1222: creating src/ags/audio/task/recall/Makefile
+config.status:1222: creating src/ags/file/Makefile
+config.status:1222: creating src/ags/lib/Makefile
+config.status:1222: creating src/ags/object/Makefile
+config.status:1222: creating src/ags/plugin/Makefile
+config.status:1222: creating src/ags/server/Makefile
+config.status:1222: creating src/ags/thread/Makefile
+config.status:1222: creating src/ags/util/Makefile
+config.status:1222: creating src/ags/widget/Makefile
+config.status:1222: creating config.h
+config.status:1403: config.h is unchanged
+config.status:1451: executing depfiles commands
+config.status:1451: executing libtool commands
+configure:21360: === configuring in po (/usr/src/ags-devel/po)
+configure:21409: WARNING: no configuration information is in po
+configure:21360: === configuring in doc (/usr/src/ags-devel/doc)
+configure:21409: WARNING: no configuration information is in doc
+configure:21360: === configuring in src/ags (/usr/src/ags-devel/src/ags)
+configure:21409: WARNING: no configuration information is in src/ags
+configure:21360: === configuring in src/ags/X (/usr/src/ags-devel/src/ags/X)
+configure:21409: WARNING: no configuration information is in src/ags/X
+configure:21360: === configuring in src/ags/X/editor (/usr/src/ags-devel/src/ags/X/editor)
+configure:21409: WARNING: no configuration information is in src/ags/X/editor
+configure:21360: === configuring in src/ags/X/machine (/usr/src/ags-devel/src/ags/X/machine)
+configure:21409: WARNING: no configuration information is in src/ags/X/machine
+configure:21360: === configuring in src/ags/audio (/usr/src/ags-devel/src/ags/audio)
+configure:21409: WARNING: no configuration information is in src/ags/audio
+configure:21360: === configuring in src/ags/audio/file (/usr/src/ags-devel/src/ags/audio/file)
+configure:21409: WARNING: no configuration information is in src/ags/audio/file
+configure:21360: === configuring in src/ags/audio/recall (/usr/src/ags-devel/src/ags/audio/recall)
+configure:21409: WARNING: no configuration information is in src/ags/audio/recall
+configure:21360: === configuring in src/ags/audio/task (/usr/src/ags-devel/src/ags/audio/task)
+configure:21409: WARNING: no configuration information is in src/ags/audio/task
+configure:21360: === configuring in src/ags/audio/task/recall (/usr/src/ags-devel/src/ags/audio/task/recall)
+configure:21409: WARNING: no configuration information is in src/ags/audio/task/recall
+configure:21360: === configuring in src/ags/file (/usr/src/ags-devel/src/ags/file)
+configure:21409: WARNING: no configuration information is in src/ags/file
+configure:21360: === configuring in src/ags/lib (/usr/src/ags-devel/src/ags/lib)
+configure:21409: WARNING: no configuration information is in src/ags/lib
+configure:21360: === configuring in src/ags/object (/usr/src/ags-devel/src/ags/object)
+configure:21409: WARNING: no configuration information is in src/ags/object
+configure:21360: === configuring in src/ags/plugin (/usr/src/ags-devel/src/ags/plugin)
+configure:21409: WARNING: no configuration information is in src/ags/plugin
+configure:21360: === configuring in src/ags/server (/usr/src/ags-devel/src/ags/server)
+configure:21409: WARNING: no configuration information is in src/ags/server
+configure:21360: === configuring in src/ags/thread (/usr/src/ags-devel/src/ags/thread)
+configure:21409: WARNING: no configuration information is in src/ags/thread
+configure:21360: === configuring in src/ags/util (/usr/src/ags-devel/src/ags/util)
+configure:21409: WARNING: no configuration information is in src/ags/util
+configure:21360: === configuring in src/ags/widget (/usr/src/ags-devel/src/ags/widget)
+configure:21409: WARNING: no configuration information is in src/ags/widget
+
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+
+ac_cv_build=x86_64-unknown-linux-gnu
+ac_cv_c_compiler_gnu=yes
+ac_cv_c_const=yes
+ac_cv_cxx_compiler_gnu=yes
+ac_cv_env_CAIRO_CFLAGS_set=
+ac_cv_env_CAIRO_CFLAGS_value=
+ac_cv_env_CAIRO_LIBS_set=
+ac_cv_env_CAIRO_LIBS_value=
+ac_cv_env_CCC_set=
+ac_cv_env_CCC_value=
+ac_cv_env_CC_set=
+ac_cv_env_CC_value=
+ac_cv_env_CFLAGS_set=
+ac_cv_env_CFLAGS_value=
+ac_cv_env_CPPFLAGS_set=
+ac_cv_env_CPPFLAGS_value=
+ac_cv_env_CPP_set=
+ac_cv_env_CPP_value=
+ac_cv_env_CXXCPP_set=
+ac_cv_env_CXXCPP_value=
+ac_cv_env_CXXFLAGS_set=
+ac_cv_env_CXXFLAGS_value=
+ac_cv_env_CXX_set=
+ac_cv_env_CXX_value=
+ac_cv_env_GDKPIXBUF_CFLAGS_set=
+ac_cv_env_GDKPIXBUF_CFLAGS_value=
+ac_cv_env_GDKPIXBUF_LIBS_set=
+ac_cv_env_GDKPIXBUF_LIBS_value=
+ac_cv_env_GOBJECT_CFLAGS_set=
+ac_cv_env_GOBJECT_CFLAGS_value=
+ac_cv_env_GOBJECT_LIBS_set=
+ac_cv_env_GOBJECT_LIBS_value=
+ac_cv_env_GTK_CFLAGS_set=
+ac_cv_env_GTK_CFLAGS_value=
+ac_cv_env_GTK_LIBS_set=
+ac_cv_env_GTK_LIBS_value=
+ac_cv_env_LDFLAGS_set=
+ac_cv_env_LDFLAGS_value=
+ac_cv_env_LIBAO_CFLAGS_set=
+ac_cv_env_LIBAO_CFLAGS_value=
+ac_cv_env_LIBAO_LIBS_set=
+ac_cv_env_LIBAO_LIBS_value=
+ac_cv_env_LIBASOUND2_CFLAGS_set=
+ac_cv_env_LIBASOUND2_CFLAGS_value=
+ac_cv_env_LIBASOUND2_LIBS_set=
+ac_cv_env_LIBASOUND2_LIBS_value=
+ac_cv_env_LIBINSTPATCH_CFLAGS_set=
+ac_cv_env_LIBINSTPATCH_CFLAGS_value=
+ac_cv_env_LIBINSTPATCH_LIBS_set=
+ac_cv_env_LIBINSTPATCH_LIBS_value=
+ac_cv_env_LIBS_set=
+ac_cv_env_LIBS_value=
+ac_cv_env_LIBXML2_CFLAGS_set=
+ac_cv_env_LIBXML2_CFLAGS_value=
+ac_cv_env_LIBXML2_LIBS_set=
+ac_cv_env_LIBXML2_LIBS_value=
+ac_cv_env_PKG_CONFIG_LIBDIR_set=
+ac_cv_env_PKG_CONFIG_LIBDIR_value=
+ac_cv_env_PKG_CONFIG_PATH_set=set
+ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+ac_cv_env_PKG_CONFIG_set=
+ac_cv_env_PKG_CONFIG_value=
+ac_cv_env_SNDFILE_CFLAGS_set=
+ac_cv_env_SNDFILE_CFLAGS_value=
+ac_cv_env_SNDFILE_LIBS_set=
+ac_cv_env_SNDFILE_LIBS_value=
+ac_cv_env_UUID_CFLAGS_set=
+ac_cv_env_UUID_CFLAGS_value=
+ac_cv_env_UUID_LIBS_set=
+ac_cv_env_UUID_LIBS_value=
+ac_cv_env_XMKMF_set=
+ac_cv_env_XMKMF_value=
+ac_cv_env_build_alias_set=
+ac_cv_env_build_alias_value=
+ac_cv_env_host_alias_set=
+ac_cv_env_host_alias_value=
+ac_cv_env_target_alias_set=
+ac_cv_env_target_alias_value=
+ac_cv_func_atexit=yes
+ac_cv_func_clock_gettime=yes
+ac_cv_func_floor=yes
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_memset=yes
+ac_cv_func_realloc_0_nonnull=yes
+ac_cv_func_socket=yes
+ac_cv_func_sqrt=yes
+ac_cv_func_strchr=yes
+ac_cv_func_strtol=yes
+ac_cv_func_strtoul=yes
+ac_cv_have_x='have_x=yes ac_x_includes='\''/usr/X11/include'\'' ac_x_libraries='\''/usr/X11/lib'\'''
+ac_cv_header_dlfcn_h=yes
+ac_cv_header_fcntl_h=yes
+ac_cv_header_inttypes_h=yes
+ac_cv_header_libintl_h=yes
+ac_cv_header_memory_h=yes
+ac_cv_header_netinet_in_h=yes
+ac_cv_header_stdc=yes
+ac_cv_header_stdint_h=yes
+ac_cv_header_stdlib_h=yes
+ac_cv_header_string_h=yes
+ac_cv_header_strings_h=yes
+ac_cv_header_sys_ioctl_h=yes
+ac_cv_header_sys_socket_h=yes
+ac_cv_header_sys_stat_h=yes
+ac_cv_header_sys_time_h=yes
+ac_cv_header_sys_types_h=yes
+ac_cv_header_unistd_h=yes
+ac_cv_host=x86_64-unknown-linux-gnu
+ac_cv_lib_gmp_main=yes
+ac_cv_lib_m_main=yes
+ac_cv_lib_rt_main=yes
+ac_cv_objext=o
+ac_cv_path_EGREP='/bin/grep -E'
+ac_cv_path_FGREP='/bin/grep -F'
+ac_cv_path_GREP=/bin/grep
+ac_cv_path_SED=/bin/sed
+ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
+ac_cv_path_install='/usr/bin/install -c'
+ac_cv_path_lt_DD=/bin/dd
+ac_cv_path_mkdir=/bin/mkdir
+ac_cv_prog_AWK=gawk
+ac_cv_prog_CPP='gcc -E'
+ac_cv_prog_CXXCPP='g++ -E'
+ac_cv_prog_ac_ct_AR=ar
+ac_cv_prog_ac_ct_CC=gcc
+ac_cv_prog_ac_ct_CXX=g++
+ac_cv_prog_ac_ct_DLLTOOL=dlltool
+ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
+ac_cv_prog_ac_ct_OBJDUMP=objdump
+ac_cv_prog_ac_ct_RANLIB=ranlib
+ac_cv_prog_ac_ct_STRIP=strip
+ac_cv_prog_cc_c89=
+ac_cv_prog_cc_g=yes
+ac_cv_prog_cxx_g=yes
+ac_cv_prog_make_make_set=yes
+ac_cv_type_pid_t=yes
+ac_cv_type_size_t=yes
+ac_cv_type_uid_t=yes
+am_cv_CC_dependencies_compiler_type=gcc3
+am_cv_CXX_dependencies_compiler_type=gcc3
+am_cv_make_support_nested_variables=yes
+am_cv_prog_cc_c_o=yes
+am_cv_prog_cc_stdc=
+lt_cv_ar_at_file=@
+lt_cv_archive_cmds_need_lc=no
+lt_cv_deplibs_check_method=pass_all
+lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_ld_reload_flag=-r
+lt_cv_nm_interface='BSD nm'
+lt_cv_objdir=.libs
+lt_cv_path_LD=/usr/bin/ld
+lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
+lt_cv_path_NM='/usr/bin/nm -B'
+lt_cv_path_mainfest_tool=no
+lt_cv_prog_compiler_c_o=yes
+lt_cv_prog_compiler_c_o_CXX=yes
+lt_cv_prog_compiler_pic='-fPIC -DPIC'
+lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
+lt_cv_prog_compiler_pic_works=yes
+lt_cv_prog_compiler_pic_works_CXX=yes
+lt_cv_prog_compiler_rtti_exceptions=no
+lt_cv_prog_compiler_static_works=yes
+lt_cv_prog_compiler_static_works_CXX=yes
+lt_cv_prog_gnu_ld=yes
+lt_cv_prog_gnu_ldcxx=yes
+lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
+lt_cv_shlibpath_overrides_runpath=no
+lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
+lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
+lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
+lt_cv_sys_global_symbol_to_import=
+lt_cv_sys_max_cmd_len=1572864
+lt_cv_to_host_file_cmd=func_convert_file_noop
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
+pkg_cv_CAIRO_CFLAGS='-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include '
+pkg_cv_CAIRO_LIBS='-lcairo '
+pkg_cv_GDKPIXBUF_CFLAGS='-pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+pkg_cv_GDKPIXBUF_LIBS='-lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 '
+pkg_cv_GOBJECT_CFLAGS='-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+pkg_cv_GOBJECT_LIBS='-lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 '
+pkg_cv_GTK_CFLAGS='-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include '
+pkg_cv_GTK_LIBS='-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype '
+pkg_cv_LIBAO_CFLAGS=
+pkg_cv_LIBAO_LIBS='-lao '
+pkg_cv_LIBASOUND2_CFLAGS='-I/usr/include/alsa '
+pkg_cv_LIBASOUND2_LIBS='-lasound '
+pkg_cv_LIBINSTPATCH_CFLAGS='-I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+pkg_cv_LIBINSTPATCH_LIBS='-linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile '
+pkg_cv_LIBXML2_CFLAGS='-I/usr/include/libxml2 '
+pkg_cv_LIBXML2_LIBS='-lxml2 '
+pkg_cv_SNDFILE_CFLAGS=
+pkg_cv_SNDFILE_LIBS='-lsndfile '
+pkg_cv_UUID_CFLAGS='-I/usr/include/uuid '
+pkg_cv_UUID_LIBS='-luuid '
+
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+
+ACLOCAL='${SHELL} /usr/src/ags-devel/missing aclocal-1.14'
+AMDEPBACKSLASH='\'
+AMDEP_FALSE='#'
+AMDEP_TRUE=''
+AMTAR='$${TAR-tar}'
+AM_BACKSLASH='\'
+AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+AM_DEFAULT_VERBOSITY='1'
+AM_V='$(V)'
+AR='ar'
+AS='as'
+AUTOCONF='${SHELL} /usr/src/ags-devel/missing autoconf'
+AUTOHEADER='${SHELL} /usr/src/ags-devel/missing autoheader'
+AUTOMAKE='${SHELL} /usr/src/ags-devel/missing automake-1.14'
+AWK='gawk'
+CAIRO_CFLAGS='-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include '
+CAIRO_LIBS='-lcairo '
+CC='gcc'
+CCDEPMODE='depmode=gcc3'
+CFLAGS='-g -O2'
+CPP='gcc -E'
+CPPFLAGS=''
+CXX='g++'
+CXXCPP='g++ -E'
+CXXDEPMODE='depmode=gcc3'
+CXXFLAGS='-g -O2'
+CYGPATH_W='echo'
+DEFS='-DHAVE_CONFIG_H'
+DEPDIR='.deps'
+DLLTOOL='dlltool'
+DSYMUTIL=''
+DUMPBIN=''
+ECHO_C=''
+ECHO_N='-n'
+ECHO_T=''
+EGREP='/bin/grep -E'
+EXEEXT=''
+FGREP='/bin/grep -F'
+GDKPIXBUF_CFLAGS='-pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+GDKPIXBUF_LIBS='-lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 '
+GOBJECT_CFLAGS='-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+GOBJECT_LIBS='-lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 '
+GREP='/bin/grep'
+GTK_CFLAGS='-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include '
+GTK_LIBS='-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype '
+INSTALL_DATA='${INSTALL} -m 644'
+INSTALL_PROGRAM='${INSTALL}'
+INSTALL_SCRIPT='${INSTALL}'
+INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
+LD='/usr/bin/ld -m elf_x86_64'
+LDFLAGS=''
+LIBAO_CFLAGS=''
+LIBAO_LIBS='-lao '
+LIBASOUND2_CFLAGS='-I/usr/include/alsa '
+LIBASOUND2_LIBS='-lasound '
+LIBINSTPATCH_CFLAGS='-I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+LIBINSTPATCH_LIBS='-linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile '
+LIBOBJS=''
+LIBS='-lrt -lm -lgmp '
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+LIBXML2_CFLAGS='-I/usr/include/libxml2 '
+LIBXML2_LIBS='-lxml2 '
+LIPO=''
+LN_S='ln -s'
+LTLIBOBJS=''
+MAKEINFO='${SHELL} /usr/src/ags-devel/missing makeinfo'
+MANIFEST_TOOL=':'
+MKDIR_P='/bin/mkdir -p'
+NM='/usr/bin/nm -B'
+NMEDIT=''
+OBJDUMP='objdump'
+OBJEXT='o'
+OTOOL64=''
+OTOOL=''
+PACKAGE='gsequencer'
+PACKAGE_BUGREPORT='weedlight at gmail.com'
+PACKAGE_NAME='gsequencer'
+PACKAGE_STRING='gsequencer 0.4.3'
+PACKAGE_TARNAME='gsequencer'
+PACKAGE_URL=''
+PACKAGE_VERSION='0.4.3'
+PATH_SEPARATOR=':'
+PKG_CONFIG='/usr/bin/pkg-config'
+PKG_CONFIG_LIBDIR=''
+PKG_CONFIG_PATH='/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig'
+RANLIB='ranlib'
+SED='/bin/sed'
+SET_MAKE=''
+SHELL='/bin/sh'
+SNDFILE_CFLAGS=''
+SNDFILE_LIBS='-lsndfile '
+STRIP='strip'
+UUID_CFLAGS='-I/usr/include/uuid '
+UUID_LIBS='-luuid '
+VERSION='0.4.3'
+XMKMF=''
+ac_ct_AR='ar'
+ac_ct_CC='gcc'
+ac_ct_CXX='g++'
+ac_ct_DUMPBIN=''
+am__EXEEXT_FALSE=''
+am__EXEEXT_TRUE='#'
+am__fastdepCC_FALSE='#'
+am__fastdepCC_TRUE=''
+am__fastdepCXX_FALSE='#'
+am__fastdepCXX_TRUE=''
+am__include='include'
+am__isrc=''
+am__leading_dot='.'
+am__nodep='_no'
+am__quote=''
+am__tar='$${TAR-tar} chof - "$$tardir"'
+am__untar='$${TAR-tar} xf -'
+bindir='${exec_prefix}/bin'
+build='x86_64-unknown-linux-gnu'
+build_alias=''
+build_cpu='x86_64'
+build_os='linux-gnu'
+build_vendor='unknown'
+datadir='${datarootdir}'
+datarootdir='${prefix}/share'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+dvidir='${docdir}'
+exec_prefix='${prefix}'
+host='x86_64-unknown-linux-gnu'
+host_alias=''
+host_cpu='x86_64'
+host_os='linux-gnu'
+host_vendor='unknown'
+htmldir='${docdir}'
+includedir='${prefix}/include'
+infodir='${datarootdir}/info'
+install_sh='${SHELL} /usr/src/ags-devel/install-sh'
+libdir='${exec_prefix}/lib'
+libexecdir='${exec_prefix}/libexec'
+localedir='${datarootdir}/locale'
+localstatedir='${prefix}/var'
+mandir='${datarootdir}/man'
+mkdir_p='$(MKDIR_P)'
+oldincludedir='/usr/include'
+pdfdir='${docdir}'
+prefix='/usr/local'
+program_transform_name='s,x,x,'
+psdir='${docdir}'
+sbindir='${exec_prefix}/sbin'
+sharedstatedir='${prefix}/com'
+subdirs=' po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget'
+sysconfdir='${prefix}/etc'
+target_alias=''
+
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+
+/* confdefs.h */
+#define PACKAGE_NAME "gsequencer"
+#define PACKAGE_TARNAME "gsequencer"
+#define PACKAGE_VERSION "0.4.3"
+#define PACKAGE_STRING "gsequencer 0.4.3"
+#define PACKAGE_BUGREPORT "weedlight at gmail.com"
+#define PACKAGE_URL ""
+#define PACKAGE "gsequencer"
+#define VERSION "0.4.3"
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_DLFCN_H 1
+#define LT_OBJDIR ".libs/"
+#define HAVE_LIBGMP 1
+#define HAVE_LIBM 1
+#define HAVE_LIBRT 1
+#define HAVE_FCNTL_H 1
+#define HAVE_LIBINTL_H 1
+#define HAVE_NETINET_IN_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_SYS_IOCTL_H 1
+#define HAVE_SYS_SOCKET_H 1
+#define HAVE_SYS_TIME_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_MALLOC 1
+#define HAVE_STDLIB_H 1
+#define HAVE_REALLOC 1
+#define HAVE_ATEXIT 1
+#define HAVE_CLOCK_GETTIME 1
+#define HAVE_FLOOR 1
+#define HAVE_MEMSET 1
+#define HAVE_SOCKET 1
+#define HAVE_SQRT 1
+#define HAVE_STRCHR 1
+#define HAVE_STRTOL 1
+#define HAVE_STRTOUL 1
+
+configure: exit 0
diff --git a/config.status b/config.status
new file mode 100755
index 0000000..ed98ec6
--- /dev/null
+++ b/config.status
@@ -0,0 +1,2204 @@
+#! /bin/sh
+# Generated by configure.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+# Files that config.status was made for.
+config_files=" Makefile po/Makefile doc/Makefile src/ags/Makefile src/ags/X/Makefile src/ags/X/editor/Makefile src/ags/X/machine/Makefile src/ags/audio/Makefile src/ags/audio/file/Makefile src/ags/audio/recall/Makefile src/ags/audio/task/Makefile src/ags/audio/task/recall/Makefile src/ags/file/Makefile src/ags/lib/Makefile src/ags/object/Makefile src/ags/plugin/Makefile src/ags/server/Makefile src/ags/thread/Makefile src/ags/util/Makefile src/ags/widget/Makefile"
+config_headers=" config.h"
+config_commands=" depfiles libtool"
+
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <weedlight at gmail.com>."
+
+ac_cs_config="'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig'"
+ac_cs_version="\
+gsequencer config.status 0.4.3
+configured by ./configure, generated by GNU Autoconf 2.69,
+ with options \"$ac_cs_config\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='/usr/src/ags-devel'
+srcdir='.'
+INSTALL='/usr/bin/install -c'
+MKDIR_P='/bin/mkdir -p'
+AWK='gawk'
+test -n "$AWK" || AWK=awk
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+if $ac_cs_recheck; then
+ set X /bin/sh './configure' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig' $ac_configure_extra_args --no-create --no-recursion
+ shift
+ $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
+ CONFIG_SHELL='/bin/sh'
+ export CONFIG_SHELL
+ exec "$@"
+fi
+
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="" ac_aux_dir="."
+
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+AS='as'
+DLLTOOL='dlltool'
+OBJDUMP='objdump'
+macro_version='2.4.4'
+macro_revision='2.4.4'
+enable_shared='yes'
+enable_static='yes'
+pic_mode='default'
+enable_fast_install='yes'
+shared_archive_member_spec=''
+SHELL='/bin/sh'
+ECHO='printf %s\n'
+PATH_SEPARATOR=':'
+host_alias=''
+host='x86_64-unknown-linux-gnu'
+host_os='linux-gnu'
+build_alias=''
+build='x86_64-unknown-linux-gnu'
+build_os='linux-gnu'
+SED='/bin/sed'
+Xsed='/bin/sed -e 1s/^X//'
+GREP='/bin/grep'
+EGREP='/bin/grep -E'
+FGREP='/bin/grep -F'
+LD='/usr/bin/ld -m elf_x86_64'
+NM='/usr/bin/nm -B'
+LN_S='ln -s'
+max_cmd_len='1572864'
+ac_objext='o'
+exeext=''
+lt_unset='unset'
+lt_SP2NL='tr \040 \012'
+lt_NL2SP='tr \015\012 \040\040'
+lt_cv_to_host_file_cmd='func_convert_file_noop'
+lt_cv_to_tool_file_cmd='func_convert_file_noop'
+reload_flag=' -r'
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+deplibs_check_method='pass_all'
+file_magic_cmd='$MAGIC_CMD'
+file_magic_glob=''
+want_nocaseglob='no'
+sharedlib_from_linklib_cmd='printf %s\n'
+AR='ar'
+AR_FLAGS='cru'
+archiver_list_spec='@'
+STRIP='strip'
+RANLIB='ranlib'
+old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
+old_postuninstall_cmds=''
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
+lock_old_archive_extraction='no'
+CC='gcc'
+CFLAGS='-g -O2'
+compiler='g++'
+GCC='yes'
+lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
+lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
+lt_cv_sys_global_symbol_to_import=''
+lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
+lt_cv_nm_interface='BSD nm'
+nm_file_list_spec='@'
+lt_sysroot=''
+lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
+objdir='.libs'
+MAGIC_CMD='file'
+lt_prog_compiler_no_builtin_flag=' -fno-builtin'
+lt_prog_compiler_pic=' -fPIC -DPIC'
+lt_prog_compiler_wl='-Wl,'
+lt_prog_compiler_static='-static'
+lt_cv_prog_compiler_c_o='yes'
+need_locks='no'
+MANIFEST_TOOL=':'
+DSYMUTIL=''
+NMEDIT=''
+LIPO=''
+OTOOL=''
+OTOOL64=''
+libext='a'
+shrext_cmds='.so'
+extract_expsyms_cmds=''
+archive_cmds_need_lc='no'
+enable_shared_with_static_runtimes='no'
+export_dynamic_flag_spec='$wl--export-dynamic'
+whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
+compiler_needs_object='no'
+old_archive_from_new_cmds=''
+old_archive_from_expsyms_cmds=''
+archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+module_cmds=''
+module_expsym_cmds=''
+with_gnu_ld='yes'
+allow_undefined_flag=''
+no_undefined_flag=''
+hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+hardcode_libdir_separator=''
+hardcode_direct='no'
+hardcode_direct_absolute='no'
+hardcode_minus_L='no'
+hardcode_shlibpath_var='unsupported'
+hardcode_automatic='no'
+inherit_rpath='no'
+link_all_deplibs='unknown'
+always_export_symbols='no'
+export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+include_expsyms=''
+prelink_cmds=''
+postlink_cmds=''
+file_list_spec=''
+variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
+need_lib_prefix='no'
+need_version='no'
+version_type='linux'
+runpath_var='LD_RUN_PATH'
+shlibpath_var='LD_LIBRARY_PATH'
+shlibpath_overrides_runpath='no'
+libname_spec='lib$name'
+library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+soname_spec='$libname$release$shared_ext$major'
+install_override_mode=''
+postinstall_cmds=''
+postuninstall_cmds=''
+finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+finish_eval=''
+hardcode_into_libs='yes'
+sys_lib_search_path_spec='/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 /usr/lib64 /lib64 /usr/lib /lib '
+sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/local/lib /opt/lib /usr/X11/lib '
+hardcode_action='immediate'
+enable_dlopen='unknown'
+enable_dlopen_self='unknown'
+enable_dlopen_self_static='unknown'
+old_striplib='strip --strip-debug'
+striplib='strip --strip-unneeded'
+compiler_lib_search_dirs=''
+predep_objects=''
+postdep_objects=''
+predeps=''
+postdeps=''
+compiler_lib_search_path=''
+LD_CXX='/usr/bin/ld -m elf_x86_64'
+reload_flag_CXX=' -r'
+reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
+old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
+compiler_CXX='g++'
+GCC_CXX='yes'
+lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
+lt_prog_compiler_pic_CXX=' -fPIC -DPIC'
+lt_prog_compiler_wl_CXX='-Wl,'
+lt_prog_compiler_static_CXX='-static'
+lt_cv_prog_compiler_c_o_CXX='yes'
+archive_cmds_need_lc_CXX='no'
+enable_shared_with_static_runtimes_CXX='no'
+export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+compiler_needs_object_CXX='no'
+old_archive_from_new_cmds_CXX=''
+old_archive_from_expsyms_cmds_CXX=''
+archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+module_cmds_CXX=''
+module_expsym_cmds_CXX=''
+with_gnu_ld_CXX='yes'
+allow_undefined_flag_CXX=''
+no_undefined_flag_CXX=''
+hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+hardcode_libdir_separator_CXX=''
+hardcode_direct_CXX='no'
+hardcode_direct_absolute_CXX='no'
+hardcode_minus_L_CXX='no'
+hardcode_shlibpath_var_CXX='unsupported'
+hardcode_automatic_CXX='no'
+inherit_rpath_CXX='no'
+link_all_deplibs_CXX='unknown'
+always_export_symbols_CXX='no'
+export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+include_expsyms_CXX=''
+prelink_cmds_CXX=''
+postlink_cmds_CXX=''
+file_list_spec_CXX=''
+hardcode_action_CXX='immediate'
+compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../..'
+predep_objects_CXX='/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/crtbeginS.o'
+postdep_objects_CXX='/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64/crtn.o'
+predeps_CXX=''
+postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s'
+compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../..'
+
+LTCC='gcc'
+LTCFLAGS='-g -O2'
+compiler='gcc'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in AS DLLTOOL OBJDUMP SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_import lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix lt_cv_nm_interface nm_file_list_spec lt_cv_truncate_bin lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_separator_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
+ case `eval \\$ECHO \\""\\$$var"\\"` in
+ *[\\\`\"\$]*)
+ eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_$var=\\\"\$$var\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX postlink_cmds_CXX; do
+ case `eval \\$ECHO \\""\\$$var"\\"` in
+ *[\\\`\"\$]*)
+ eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_$var=\\\"\$$var\\\""
+ ;;
+ esac
+done
+
+ac_aux_dir='.'
+
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+
+ PACKAGE='gsequencer'
+ VERSION='0.4.3'
+ RM='rm -f'
+ ofile='libtool'
+
+
+
+
+
+
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "src/ags/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/Makefile" ;;
+ "src/ags/X/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/Makefile" ;;
+ "src/ags/X/editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/editor/Makefile" ;;
+ "src/ags/X/machine/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/machine/Makefile" ;;
+ "src/ags/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/Makefile" ;;
+ "src/ags/audio/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/file/Makefile" ;;
+ "src/ags/audio/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/recall/Makefile" ;;
+ "src/ags/audio/task/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/Makefile" ;;
+ "src/ags/audio/task/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/recall/Makefile" ;;
+ "src/ags/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/file/Makefile" ;;
+ "src/ags/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/lib/Makefile" ;;
+ "src/ags/object/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/object/Makefile" ;;
+ "src/ags/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/plugin/Makefile" ;;
+ "src/ags/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/server/Makefile" ;;
+ "src/ags/thread/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/thread/Makefile" ;;
+ "src/ags/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/util/Makefile" ;;
+ "src/ags/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/widget/Makefile" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
+S["am__EXEEXT_FALSE"]=""
+S["am__EXEEXT_TRUE"]="#"
+S["LTLIBOBJS"]=""
+S["LIBOBJS"]=""
+S["GTK_LIBS"]="-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfont"\
+"config -lfreetype "
+S["GTK_CFLAGS"]="-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixma"\
+"n-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0"\
+"/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/ha"\
+"rfbuzz -I/usr/X11/include "
+S["CAIRO_LIBS"]="-lcairo "
+S["CAIRO_CFLAGS"]="-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I"\
+"/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include "
+S["GDKPIXBUF_LIBS"]="-lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 "
+S["GDKPIXBUF_CFLAGS"]="-pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include "
+S["GOBJECT_LIBS"]="-lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 "
+S["GOBJECT_CFLAGS"]="-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include "
+S["LIBINSTPATCH_LIBS"]="-linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile "
+S["LIBINSTPATCH_CFLAGS"]="-I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include "
+S["SNDFILE_LIBS"]="-lsndfile "
+S["SNDFILE_CFLAGS"]=""
+S["LIBXML2_LIBS"]="-lxml2 "
+S["LIBXML2_CFLAGS"]="-I/usr/include/libxml2 "
+S["LIBASOUND2_LIBS"]="-lasound "
+S["LIBASOUND2_CFLAGS"]="-I/usr/include/alsa "
+S["LIBAO_LIBS"]="-lao "
+S["LIBAO_CFLAGS"]=""
+S["UUID_LIBS"]="-luuid "
+S["UUID_CFLAGS"]="-I/usr/include/uuid "
+S["PKG_CONFIG_LIBDIR"]=""
+S["PKG_CONFIG_PATH"]="/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig"
+S["PKG_CONFIG"]="/usr/bin/pkg-config"
+S["XMKMF"]=""
+S["CXXCPP"]="g++ -E"
+S["OTOOL64"]=""
+S["OTOOL"]=""
+S["LIPO"]=""
+S["NMEDIT"]=""
+S["DSYMUTIL"]=""
+S["MANIFEST_TOOL"]=":"
+S["ac_ct_AR"]="ar"
+S["AR"]="ar"
+S["NM"]="/usr/bin/nm -B"
+S["ac_ct_DUMPBIN"]=""
+S["DUMPBIN"]=""
+S["LD"]="/usr/bin/ld -m elf_x86_64"
+S["FGREP"]="/bin/grep -F"
+S["EGREP"]="/bin/grep -E"
+S["GREP"]="/bin/grep"
+S["SED"]="/bin/sed"
+S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
+S["OBJDUMP"]="objdump"
+S["DLLTOOL"]="dlltool"
+S["AS"]="as"
+S["host_os"]="linux-gnu"
+S["host_vendor"]="unknown"
+S["host_cpu"]="x86_64"
+S["host"]="x86_64-unknown-linux-gnu"
+S["build_os"]="linux-gnu"
+S["build_vendor"]="unknown"
+S["build_cpu"]="x86_64"
+S["build"]="x86_64-unknown-linux-gnu"
+S["RANLIB"]="ranlib"
+S["LN_S"]="ln -s"
+S["CPP"]="gcc -E"
+S["am__fastdepCC_FALSE"]="#"
+S["am__fastdepCC_TRUE"]=""
+S["CCDEPMODE"]="depmode=gcc3"
+S["ac_ct_CC"]="gcc"
+S["CFLAGS"]="-g -O2"
+S["CC"]="gcc"
+S["am__fastdepCXX_FALSE"]="#"
+S["am__fastdepCXX_TRUE"]=""
+S["CXXDEPMODE"]="depmode=gcc3"
+S["am__nodep"]="_no"
+S["AMDEPBACKSLASH"]="\\"
+S["AMDEP_FALSE"]="#"
+S["AMDEP_TRUE"]=""
+S["am__quote"]=""
+S["am__include"]="include"
+S["DEPDIR"]=".deps"
+S["OBJEXT"]="o"
+S["EXEEXT"]=""
+S["ac_ct_CXX"]="g++"
+S["CPPFLAGS"]=""
+S["LDFLAGS"]=""
+S["CXXFLAGS"]="-g -O2"
+S["CXX"]="g++"
+S["AM_BACKSLASH"]="\\"
+S["AM_DEFAULT_VERBOSITY"]="1"
+S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
+S["AM_V"]="$(V)"
+S["am__untar"]="$${TAR-tar} xf -"
+S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
+S["AMTAR"]="$${TAR-tar}"
+S["am__leading_dot"]="."
+S["SET_MAKE"]=""
+S["AWK"]="gawk"
+S["mkdir_p"]="$(MKDIR_P)"
+S["MKDIR_P"]="/bin/mkdir -p"
+S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
+S["STRIP"]="strip"
+S["install_sh"]="${SHELL} /usr/src/ags-devel/install-sh"
+S["MAKEINFO"]="${SHELL} /usr/src/ags-devel/missing makeinfo"
+S["AUTOHEADER"]="${SHELL} /usr/src/ags-devel/missing autoheader"
+S["AUTOMAKE"]="${SHELL} /usr/src/ags-devel/missing automake-1.14"
+S["AUTOCONF"]="${SHELL} /usr/src/ags-devel/missing autoconf"
+S["ACLOCAL"]="${SHELL} /usr/src/ags-devel/missing aclocal-1.14"
+S["VERSION"]="0.4.3"
+S["PACKAGE"]="gsequencer"
+S["CYGPATH_W"]="echo"
+S["am__isrc"]=""
+S["INSTALL_DATA"]="${INSTALL} -m 644"
+S["INSTALL_SCRIPT"]="${INSTALL}"
+S["INSTALL_PROGRAM"]="${INSTALL}"
+S["subdirs"]=" po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/"\
+"task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget"
+S["target_alias"]=""
+S["host_alias"]=""
+S["build_alias"]=""
+S["LIBS"]="-lrt -lm -lgmp "
+S["ECHO_T"]=""
+S["ECHO_N"]="-n"
+S["ECHO_C"]=""
+S["DEFS"]="-DHAVE_CONFIG_H"
+S["mandir"]="${datarootdir}/man"
+S["localedir"]="${datarootdir}/locale"
+S["libdir"]="${exec_prefix}/lib"
+S["psdir"]="${docdir}"
+S["pdfdir"]="${docdir}"
+S["dvidir"]="${docdir}"
+S["htmldir"]="${docdir}"
+S["infodir"]="${datarootdir}/info"
+S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
+S["oldincludedir"]="/usr/include"
+S["includedir"]="${prefix}/include"
+S["localstatedir"]="${prefix}/var"
+S["sharedstatedir"]="${prefix}/com"
+S["sysconfdir"]="${prefix}/etc"
+S["datadir"]="${datarootdir}"
+S["datarootdir"]="${prefix}/share"
+S["libexecdir"]="${exec_prefix}/libexec"
+S["sbindir"]="${exec_prefix}/sbin"
+S["bindir"]="${exec_prefix}/bin"
+S["program_transform_name"]="s,x,x,"
+S["prefix"]="/usr/local"
+S["exec_prefix"]="${prefix}"
+S["PACKAGE_URL"]=""
+S["PACKAGE_BUGREPORT"]="weedlight at gmail.com"
+S["PACKAGE_STRING"]="gsequencer 0.4.3"
+S["PACKAGE_VERSION"]="0.4.3"
+S["PACKAGE_TARNAME"]="gsequencer"
+S["PACKAGE_NAME"]="gsequencer"
+S["PATH_SEPARATOR"]=":"
+S["SHELL"]="/bin/sh"
+_ACAWK
+cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+D["PACKAGE_NAME"]=" \"gsequencer\""
+D["PACKAGE_TARNAME"]=" \"gsequencer\""
+D["PACKAGE_VERSION"]=" \"0.4.3\""
+D["PACKAGE_STRING"]=" \"gsequencer 0.4.3\""
+D["PACKAGE_BUGREPORT"]=" \"weedlight at gmail.com\""
+D["PACKAGE_URL"]=" \"\""
+D["PACKAGE"]=" \"gsequencer\""
+D["VERSION"]=" \"0.4.3\""
+D["STDC_HEADERS"]=" 1"
+D["HAVE_SYS_TYPES_H"]=" 1"
+D["HAVE_SYS_STAT_H"]=" 1"
+D["HAVE_STDLIB_H"]=" 1"
+D["HAVE_STRING_H"]=" 1"
+D["HAVE_MEMORY_H"]=" 1"
+D["HAVE_STRINGS_H"]=" 1"
+D["HAVE_INTTYPES_H"]=" 1"
+D["HAVE_STDINT_H"]=" 1"
+D["HAVE_UNISTD_H"]=" 1"
+D["HAVE_DLFCN_H"]=" 1"
+D["LT_OBJDIR"]=" \".libs/\""
+D["HAVE_LIBGMP"]=" 1"
+D["HAVE_LIBM"]=" 1"
+D["HAVE_LIBRT"]=" 1"
+D["HAVE_FCNTL_H"]=" 1"
+D["HAVE_LIBINTL_H"]=" 1"
+D["HAVE_NETINET_IN_H"]=" 1"
+D["HAVE_STDINT_H"]=" 1"
+D["HAVE_STDLIB_H"]=" 1"
+D["HAVE_STRING_H"]=" 1"
+D["HAVE_SYS_IOCTL_H"]=" 1"
+D["HAVE_SYS_SOCKET_H"]=" 1"
+D["HAVE_SYS_TIME_H"]=" 1"
+D["HAVE_UNISTD_H"]=" 1"
+D["HAVE_STDLIB_H"]=" 1"
+D["HAVE_MALLOC"]=" 1"
+D["HAVE_STDLIB_H"]=" 1"
+D["HAVE_REALLOC"]=" 1"
+D["HAVE_ATEXIT"]=" 1"
+D["HAVE_CLOCK_GETTIME"]=" 1"
+D["HAVE_FLOOR"]=" 1"
+D["HAVE_MEMSET"]=" 1"
+D["HAVE_SOCKET"]=" 1"
+D["HAVE_SQRT"]=" 1"
+D["HAVE_STRCHR"]=" 1"
+D["HAVE_STRTOL"]=" 1"
+D["HAVE_STRTOUL"]=" 1"
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
+ line = $ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+ ac_datarootdir_hack='
+ s&@datadir@&${datarootdir}&g
+ s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
+ s&@infodir@&${datarootdir}/info&g
+ s&@localedir@&${datarootdir}/locale&g
+ s&@mandir@&${datarootdir}/man&g
+ s&\${datarootdir}&${prefix}/share&g' ;;
+esac
+ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}
+
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "libtool":C)
+
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags='CXX '
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Assembler program.
+AS=$lt_AS
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Object dumper program.
+OBJDUMP=$lt_OBJDUMP
+
+# Which release of libtool.m4 was used?
+macro_version=$macro_version
+macro_revision=$macro_revision
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# What type of objects to build.
+pic_mode=$pic_mode
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
+# The host system.
+host_alias=$host_alias
+host=$host
+host_os=$host_os
+
+# The build system.
+build_alias=$build_alias
+build=$build
+build_os=$build_os
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="\$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP=$lt_GREP
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# A literal string matcher.
+FGREP=$lt_FGREP
+
+# A BSD- or MS-compatible name lister.
+NM=$lt_NM
+
+# Whether we need soft or hard links.
+LN_S=$lt_LN_S
+
+# What is the maximum length of a command?
+max_cmd_len=$max_cmd_len
+
+# Object file suffix (normally "o").
+objext=$ac_objext
+
+# Executable file suffix (normally "").
+exeext=$exeext
+
+# whether the shell understands "unset".
+lt_unset=$lt_unset
+
+# turn spaces into newlines.
+SP2NL=$lt_lt_SP2NL
+
+# turn newlines into spaces.
+NL2SP=$lt_lt_NL2SP
+
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd=$lt_file_magic_cmd
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
+# The archiver.
+AR=$lt_AR
+
+# Flags to create an archive.
+AR_FLAGS=$lt_AR_FLAGS
+
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
+# A symbol stripping program.
+STRIP=$lt_STRIP
+
+# Commands used to install an old-style archive.
+RANLIB=$lt_RANLIB
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
+# A C compiler.
+LTCC=$lt_CC
+
+# LTCC compiler flags.
+LTCFLAGS=$lt_CFLAGS
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm into a list of symbols to manually relocate.
+global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
+# The name lister interface.
+nm_interface=$lt_lt_cv_nm_interface
+
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
+
+# The root where to search for dependent libraries,and where our libraries should be installed.
+lt_sysroot=$lt_sysroot
+
+# Command to truncate a binary pipe.
+lt_truncate_bin=$lt_lt_cv_truncate_bin
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=$MAGIC_CMD
+
+# Must we lock files when doing compilation?
+need_locks=$lt_need_locks
+
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=$lt_DSYMUTIL
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=$lt_NMEDIT
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=$lt_LIPO
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=$lt_OTOOL
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=$lt_OTOOL64
+
+# Old archive suffix (normally "a").
+libext=$libext
+
+# Shared library suffix (normally ".so").
+shrext_cmds=$lt_shrext_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink=$lt_variables_saved_for_relink
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Library versioning type.
+version_type=$version_type
+
+# Shared library runtime path variable.
+runpath_var=$runpath_var
+
+# Shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=$lt_postinstall_cmds
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=$lt_finish_eval
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds
+
+# A language specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects
+postdep_objects=$lt_postdep_objects
+predeps=$lt_predeps
+postdeps=$lt_postdeps
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path
+
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+
+ cat <<_LT_EOF >> "$ofile"
+
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+# The linker used to build libraries.
+LD=$lt_LD_CXX
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds_CXX
+
+# A language specific compiler.
+CC=$lt_compiler_CXX
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC_CXX
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_CXX
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object_CXX
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds_CXX
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds_CXX
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld_CXX
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_CXX
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L_CXX
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic_CXX
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath_CXX
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_CXX
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols_CXX
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_CXX
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_CXX
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds_CXX
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec_CXX
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_CXX
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects_CXX
+postdep_objects=$lt_postdep_objects_CXX
+predeps=$lt_predeps_CXX
+postdeps=$lt_postdeps_CXX
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+
+# ### END LIBTOOL TAG CONFIG: CXX
+_LT_EOF
+
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
diff --git a/config.sub b/config.sub
new file mode 100755
index 0000000..61cb4bc
--- /dev/null
+++ b/config.sub
@@ -0,0 +1,1793 @@
+#! /bin/sh
+# Configuration validation subroutine script.
+# Copyright 1992-2013 Free Software Foundation, Inc.
+
+timestamp='2013-10-01'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+
+
+# Please send patches with a ChangeLog entry to config-patches at gnu.org.
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support. The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS
+ $0 [OPTION] ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches at gnu.org>."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright 1992-2013 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help"
+ exit 1 ;;
+
+ *local*)
+ # First pass through any local machine types.
+ echo $1
+ exit ;;
+
+ * )
+ break ;;
+ esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+ exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+ exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
+ storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
+ android-linux)
+ os=-linux-android
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
+ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+ then os=`echo $1 | sed 's/.*-/-/'`
+ else os=; fi
+ ;;
+esac
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work. We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+ -sun*os*)
+ # Prevent following clause from handling this invalid input.
+ ;;
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+ -apple | -axis | -knuth | -cray | -microblaze*)
+ os=
+ basic_machine=$1
+ ;;
+ -bluegene*)
+ os=-cnk
+ ;;
+ -sim | -cisco | -oki | -wec | -winbond)
+ os=
+ basic_machine=$1
+ ;;
+ -scout)
+ ;;
+ -wrs)
+ os=-vxworks
+ basic_machine=$1
+ ;;
+ -chorusos*)
+ os=-chorusos
+ basic_machine=$1
+ ;;
+ -chorusrdb)
+ os=-chorusrdb
+ basic_machine=$1
+ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+ -sco6)
+ os=-sco5v6
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5)
+ os=-sco3.2v5
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco4)
+ os=-sco3.2v4
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2.[4-9]*)
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2v[4-9]*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5v6*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco*)
+ os=-sco3.2v2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -udk*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -isc)
+ os=-isc2.2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -clix*)
+ basic_machine=clipper-intergraph
+ ;;
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -lynx*178)
+ os=-lynxos178
+ ;;
+ -lynx*5)
+ os=-lynxos5
+ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+ -windowsnt*)
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
+ ;;
+ -psos*)
+ os=-psos
+ ;;
+ -mint | -mint[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+ # Recognize the basic CPU types without company name.
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
+ | aarch64 | aarch64_be \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+ | arc | arceb \
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
+ | avr | avr32 \
+ | be32 | be64 \
+ | bfin \
+ | c4x | c8051 | clipper \
+ | d10v | d30v | dlx | dsp16xx \
+ | epiphany \
+ | fido | fr30 | frv \
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ | hexagon \
+ | i370 | i860 | i960 | ia64 \
+ | ip2k | iq2000 \
+ | k1om \
+ | le32 | le64 \
+ | lm32 \
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
+ | mips | mipsbe | mipseb | mipsel | mipsle \
+ | mips16 \
+ | mips64 | mips64el \
+ | mips64octeon | mips64octeonel \
+ | mips64orion | mips64orionel \
+ | mips64r5900 | mips64r5900el \
+ | mips64vr | mips64vrel \
+ | mips64vr4100 | mips64vr4100el \
+ | mips64vr4300 | mips64vr4300el \
+ | mips64vr5000 | mips64vr5000el \
+ | mips64vr5900 | mips64vr5900el \
+ | mipsisa32 | mipsisa32el \
+ | mipsisa32r2 | mipsisa32r2el \
+ | mipsisa64 | mipsisa64el \
+ | mipsisa64r2 | mipsisa64r2el \
+ | mipsisa64sb1 | mipsisa64sb1el \
+ | mipsisa64sr71k | mipsisa64sr71kel \
+ | mipsr5900 | mipsr5900el \
+ | mipstx39 | mipstx39el \
+ | mn10200 | mn10300 \
+ | moxie \
+ | mt \
+ | msp430 \
+ | nds32 | nds32le | nds32be \
+ | nios | nios2 | nios2eb | nios2el \
+ | ns16k | ns32k \
+ | open8 \
+ | or1k | or32 \
+ | pdp10 | pdp11 | pj | pjl \
+ | powerpc | powerpc64 | powerpc64le | powerpcle \
+ | pyramid \
+ | rl78 | rx \
+ | score \
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | sh64 | sh64le \
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+ | spu \
+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
+ | ubicom32 \
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
+ | we32k \
+ | x86 | xc16x | xstormy16 | xtensa \
+ | z8k | z80)
+ basic_machine=$basic_machine-unknown
+ ;;
+ c54x)
+ basic_machine=tic54x-unknown
+ ;;
+ c55x)
+ basic_machine=tic55x-unknown
+ ;;
+ c6x)
+ basic_machine=tic6x-unknown
+ ;;
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ ;;
+ ms1)
+ basic_machine=mt-unknown
+ ;;
+
+ strongarm | thumb | xscale)
+ basic_machine=arm-unknown
+ ;;
+ xgate)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ xscaleeb)
+ basic_machine=armeb-unknown
+ ;;
+
+ xscaleel)
+ basic_machine=armel-unknown
+ ;;
+
+ # We use `pc' rather than `unknown'
+ # because (1) that's what they normally are, and
+ # (2) the word "unknown" tends to confuse beginning users.
+ i*86 | x86_64)
+ basic_machine=$basic_machine-pc
+ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
+ | aarch64-* | aarch64_be-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | avr-* | avr32-* \
+ | be32-* | be64-* \
+ | bfin-* | bs2000-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
+ | c8051-* | clipper-* | craynv-* | cydra-* \
+ | d10v-* | d30v-* | dlx-* \
+ | elxsi-* \
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
+ | h8300-* | h8500-* \
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ | hexagon-* \
+ | i*86-* | i860-* | i960-* | ia64-* \
+ | ip2k-* | iq2000-* \
+ | k1om-* \
+ | le32-* | le64-* \
+ | lm32-* \
+ | m32c-* | m32r-* | m32rle-* \
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+ | microblaze-* | microblazeel-* \
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+ | mips16-* \
+ | mips64-* | mips64el-* \
+ | mips64octeon-* | mips64octeonel-* \
+ | mips64orion-* | mips64orionel-* \
+ | mips64r5900-* | mips64r5900el-* \
+ | mips64vr-* | mips64vrel-* \
+ | mips64vr4100-* | mips64vr4100el-* \
+ | mips64vr4300-* | mips64vr4300el-* \
+ | mips64vr5000-* | mips64vr5000el-* \
+ | mips64vr5900-* | mips64vr5900el-* \
+ | mipsisa32-* | mipsisa32el-* \
+ | mipsisa32r2-* | mipsisa32r2el-* \
+ | mipsisa64-* | mipsisa64el-* \
+ | mipsisa64r2-* | mipsisa64r2el-* \
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+ | mipsr5900-* | mipsr5900el-* \
+ | mipstx39-* | mipstx39el-* \
+ | mmix-* \
+ | mt-* \
+ | msp430-* \
+ | nds32-* | nds32le-* | nds32be-* \
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
+ | none-* | np1-* | ns16k-* | ns32k-* \
+ | open8-* \
+ | orion-* \
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
+ | pyramid-* \
+ | rl78-* | romp-* | rs6000-* | rx-* \
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+ | sparclite-* \
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+ | tahoe-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ | tile*-* \
+ | tron-* \
+ | ubicom32-* \
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+ | vax-* \
+ | we32k-* \
+ | x86-* | x86_64-* | xc16x-* | xps100-* \
+ | xstormy16-* | xtensa*-* \
+ | ymp-* \
+ | z8k-* | z80-*)
+ ;;
+ # Recognize the basic CPU types without company name, with glob match.
+ xtensa*)
+ basic_machine=$basic_machine-unknown
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
+ 386bsd)
+ basic_machine=i386-unknown
+ os=-bsd
+ ;;
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+ basic_machine=m68000-att
+ ;;
+ 3b*)
+ basic_machine=we32k-att
+ ;;
+ a29khif)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ abacus)
+ basic_machine=abacus-unknown
+ ;;
+ adobe68k)
+ basic_machine=m68010-adobe
+ os=-scout
+ ;;
+ alliant | fx80)
+ basic_machine=fx80-alliant
+ ;;
+ altos | altos3068)
+ basic_machine=m68k-altos
+ ;;
+ am29k)
+ basic_machine=a29k-none
+ os=-bsd
+ ;;
+ amd64)
+ basic_machine=x86_64-pc
+ ;;
+ amd64-*)
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ amdahl)
+ basic_machine=580-amdahl
+ os=-sysv
+ ;;
+ amiga | amiga-*)
+ basic_machine=m68k-unknown
+ ;;
+ amigaos | amigados)
+ basic_machine=m68k-unknown
+ os=-amigaos
+ ;;
+ amigaunix | amix)
+ basic_machine=m68k-unknown
+ os=-sysv4
+ ;;
+ apollo68)
+ basic_machine=m68k-apollo
+ os=-sysv
+ ;;
+ apollo68bsd)
+ basic_machine=m68k-apollo
+ os=-bsd
+ ;;
+ aros)
+ basic_machine=i386-pc
+ os=-aros
+ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+ ;;
+ balance)
+ basic_machine=ns32k-sequent
+ os=-dynix
+ ;;
+ blackfin)
+ basic_machine=bfin-unknown
+ os=-linux
+ ;;
+ blackfin-*)
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ bluegene*)
+ basic_machine=powerpc-ibm
+ os=-cnk
+ ;;
+ c54x-*)
+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c55x-*)
+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c6x-*)
+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c90)
+ basic_machine=c90-cray
+ os=-unicos
+ ;;
+ cegcc)
+ basic_machine=arm-unknown
+ os=-cegcc
+ ;;
+ convex-c1)
+ basic_machine=c1-convex
+ os=-bsd
+ ;;
+ convex-c2)
+ basic_machine=c2-convex
+ os=-bsd
+ ;;
+ convex-c32)
+ basic_machine=c32-convex
+ os=-bsd
+ ;;
+ convex-c34)
+ basic_machine=c34-convex
+ os=-bsd
+ ;;
+ convex-c38)
+ basic_machine=c38-convex
+ os=-bsd
+ ;;
+ cray | j90)
+ basic_machine=j90-cray
+ os=-unicos
+ ;;
+ craynv)
+ basic_machine=craynv-cray
+ os=-unicosmp
+ ;;
+ cr16 | cr16-*)
+ basic_machine=cr16-unknown
+ os=-elf
+ ;;
+ crds | unos)
+ basic_machine=m68k-crds
+ ;;
+ crisv32 | crisv32-* | etraxfs*)
+ basic_machine=crisv32-axis
+ ;;
+ cris | cris-* | etrax*)
+ basic_machine=cris-axis
+ ;;
+ crx)
+ basic_machine=crx-unknown
+ os=-elf
+ ;;
+ da30 | da30-*)
+ basic_machine=m68k-da30
+ ;;
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ basic_machine=mips-dec
+ ;;
+ decsystem10* | dec10*)
+ basic_machine=pdp10-dec
+ os=-tops10
+ ;;
+ decsystem20* | dec20*)
+ basic_machine=pdp10-dec
+ os=-tops20
+ ;;
+ delta | 3300 | motorola-3300 | motorola-delta \
+ | 3300-motorola | delta-motorola)
+ basic_machine=m68k-motorola
+ ;;
+ delta88)
+ basic_machine=m88k-motorola
+ os=-sysv3
+ ;;
+ dicos)
+ basic_machine=i686-pc
+ os=-dicos
+ ;;
+ djgpp)
+ basic_machine=i586-pc
+ os=-msdosdjgpp
+ ;;
+ dpx20 | dpx20-*)
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+ dpx2* | dpx2*-bull)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+ ;;
+ elxsi)
+ basic_machine=elxsi-elxsi
+ os=-bsd
+ ;;
+ encore | umax | mmax)
+ basic_machine=ns32k-encore
+ ;;
+ es1800 | OSE68k | ose68k | ose | OSE)
+ basic_machine=m68k-ericsson
+ os=-ose
+ ;;
+ fx2800)
+ basic_machine=i860-alliant
+ ;;
+ genix)
+ basic_machine=ns32k-ns
+ ;;
+ gmicro)
+ basic_machine=tron-gmicro
+ os=-sysv
+ ;;
+ go32)
+ basic_machine=i386-pc
+ os=-go32
+ ;;
+ h3050r* | hiux*)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ h8300hms)
+ basic_machine=h8300-hitachi
+ os=-hms
+ ;;
+ h8300xray)
+ basic_machine=h8300-hitachi
+ os=-xray
+ ;;
+ h8500hms)
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
+ harris)
+ basic_machine=m88k-harris
+ os=-sysv3
+ ;;
+ hp300-*)
+ basic_machine=m68k-hp
+ ;;
+ hp300bsd)
+ basic_machine=m68k-hp
+ os=-bsd
+ ;;
+ hp300hpux)
+ basic_machine=m68k-hp
+ os=-hpux
+ ;;
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k2[0-9][0-9] | hp9k31[0-9])
+ basic_machine=m68000-hp
+ ;;
+ hp9k3[2-9][0-9])
+ basic_machine=m68k-hp
+ ;;
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k78[0-9] | hp78[0-9])
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][13679] | hp8[0-9][13679])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hppa-next)
+ os=-nextstep3
+ ;;
+ hppaosf)
+ basic_machine=hppa1.1-hp
+ os=-osf
+ ;;
+ hppro)
+ basic_machine=hppa1.1-hp
+ os=-proelf
+ ;;
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+ ;;
+ i*86v4*)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv4
+ ;;
+ i*86v)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv
+ ;;
+ i*86sol2)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-solaris2
+ ;;
+ i386mach)
+ basic_machine=i386-mach
+ os=-mach
+ ;;
+ i386-vsta | vsta)
+ basic_machine=i386-unknown
+ os=-vsta
+ ;;
+ iris | iris4d)
+ basic_machine=mips-sgi
+ case $os in
+ -irix*)
+ ;;
+ *)
+ os=-irix4
+ ;;
+ esac
+ ;;
+ isi68 | isi)
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
+ m68knommu)
+ basic_machine=m68k-unknown
+ os=-linux
+ ;;
+ m68knommu-*)
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ m88k-omron*)
+ basic_machine=m88k-omron
+ ;;
+ magnum | m3230)
+ basic_machine=mips-mips
+ os=-sysv
+ ;;
+ merlin)
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+ microblaze*)
+ basic_machine=microblaze-xilinx
+ ;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+ ;;
+ mingw32)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ mingw32ce)
+ basic_machine=arm-unknown
+ os=-mingw32ce
+ ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+ mips3*-*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ ;;
+ mips3*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+ ;;
+ monitor)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ morphos)
+ basic_machine=powerpc-unknown
+ os=-morphos
+ ;;
+ msdos)
+ basic_machine=i386-pc
+ os=-msdos
+ ;;
+ ms1-*)
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+ ;;
+ msys)
+ basic_machine=i686-pc
+ os=-msys
+ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
+ nacl)
+ basic_machine=le32-unknown
+ os=-nacl
+ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+ ;;
+ netbsd386)
+ basic_machine=i386-unknown
+ os=-netbsd
+ ;;
+ netwinder)
+ basic_machine=armv4l-rebel
+ os=-linux
+ ;;
+ news | news700 | news800 | news900)
+ basic_machine=m68k-sony
+ os=-newsos
+ ;;
+ news1000)
+ basic_machine=m68030-sony
+ os=-newsos
+ ;;
+ news-3600 | risc-news)
+ basic_machine=mips-sony
+ os=-newsos
+ ;;
+ necv70)
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+ next | m*-next )
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+ ;;
+ -ns2*)
+ os=-nextstep2
+ ;;
+ *)
+ os=-nextstep3
+ ;;
+ esac
+ ;;
+ nh3000)
+ basic_machine=m68k-harris
+ os=-cxux
+ ;;
+ nh[45]000)
+ basic_machine=m88k-harris
+ os=-cxux
+ ;;
+ nindy960)
+ basic_machine=i960-intel
+ os=-nindy
+ ;;
+ mon960)
+ basic_machine=i960-intel
+ os=-mon960
+ ;;
+ nonstopux)
+ basic_machine=mips-compaq
+ os=-nonstopux
+ ;;
+ np1)
+ basic_machine=np1-gould
+ ;;
+ neo-tandem)
+ basic_machine=neo-tandem
+ ;;
+ nse-tandem)
+ basic_machine=nse-tandem
+ ;;
+ nsr-tandem)
+ basic_machine=nsr-tandem
+ ;;
+ op50n-* | op60c-*)
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ openrisc | openrisc-*)
+ basic_machine=or32-unknown
+ ;;
+ os400)
+ basic_machine=powerpc-ibm
+ os=-os400
+ ;;
+ OSE68000 | ose68000)
+ basic_machine=m68000-ericsson
+ os=-ose
+ ;;
+ os68k)
+ basic_machine=m68k-none
+ os=-os68k
+ ;;
+ pa-hitachi)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ paragon)
+ basic_machine=i860-intel
+ os=-osf
+ ;;
+ parisc)
+ basic_machine=hppa-unknown
+ os=-linux
+ ;;
+ parisc-*)
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ pbd)
+ basic_machine=sparc-tti
+ ;;
+ pbb)
+ basic_machine=m68k-tti
+ ;;
+ pc532 | pc532-*)
+ basic_machine=ns32k-pc532
+ ;;
+ pc98)
+ basic_machine=i386-pc
+ ;;
+ pc98-*)
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium | p5 | k5 | k6 | nexgen | viac3)
+ basic_machine=i586-pc
+ ;;
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
+ basic_machine=i686-pc
+ ;;
+ pentiumii | pentium2 | pentiumiii | pentium3)
+ basic_machine=i686-pc
+ ;;
+ pentium4)
+ basic_machine=i786-pc
+ ;;
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium4-*)
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pn)
+ basic_machine=pn-gould
+ ;;
+ power) basic_machine=power-ibm
+ ;;
+ ppc | ppcbe) basic_machine=powerpc-unknown
+ ;;
+ ppc-* | ppcbe-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppcle | powerpclittle | ppc-le | powerpc-little)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64) basic_machine=powerpc64-unknown
+ ;;
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+ basic_machine=powerpc64le-unknown
+ ;;
+ ppc64le-* | powerpc64little-*)
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ps2)
+ basic_machine=i386-ibm
+ ;;
+ pw32)
+ basic_machine=i586-unknown
+ os=-pw32
+ ;;
+ rdos | rdos64)
+ basic_machine=x86_64-pc
+ os=-rdos
+ ;;
+ rdos32)
+ basic_machine=i386-pc
+ os=-rdos
+ ;;
+ rom68k)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ rm[46]00)
+ basic_machine=mips-siemens
+ ;;
+ rtpc | rtpc-*)
+ basic_machine=romp-ibm
+ ;;
+ s390 | s390-*)
+ basic_machine=s390-ibm
+ ;;
+ s390x | s390x-*)
+ basic_machine=s390x-ibm
+ ;;
+ sa29200)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ sb1)
+ basic_machine=mipsisa64sb1-unknown
+ ;;
+ sb1el)
+ basic_machine=mipsisa64sb1el-unknown
+ ;;
+ sde)
+ basic_machine=mipsisa32-sde
+ os=-elf
+ ;;
+ sei)
+ basic_machine=mips-sei
+ os=-seiux
+ ;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
+ sh)
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+ sh5el)
+ basic_machine=sh5le-unknown
+ ;;
+ sh64)
+ basic_machine=sh64-unknown
+ ;;
+ sparclite-wrs | simso-wrs)
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
+ sps7)
+ basic_machine=m68k-bull
+ os=-sysv2
+ ;;
+ spur)
+ basic_machine=spur-unknown
+ ;;
+ st2000)
+ basic_machine=m68k-tandem
+ ;;
+ stratus)
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
+ strongarm-* | thumb-*)
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+ sun2os3)
+ basic_machine=m68000-sun
+ os=-sunos3
+ ;;
+ sun2os4)
+ basic_machine=m68000-sun
+ os=-sunos4
+ ;;
+ sun3os3)
+ basic_machine=m68k-sun
+ os=-sunos3
+ ;;
+ sun3os4)
+ basic_machine=m68k-sun
+ os=-sunos4
+ ;;
+ sun4os3)
+ basic_machine=sparc-sun
+ os=-sunos3
+ ;;
+ sun4os4)
+ basic_machine=sparc-sun
+ os=-sunos4
+ ;;
+ sun4sol2)
+ basic_machine=sparc-sun
+ os=-solaris2
+ ;;
+ sun3 | sun3-*)
+ basic_machine=m68k-sun
+ ;;
+ sun4)
+ basic_machine=sparc-sun
+ ;;
+ sun386 | sun386i | roadrunner)
+ basic_machine=i386-sun
+ ;;
+ sv1)
+ basic_machine=sv1-cray
+ os=-unicos
+ ;;
+ symmetry)
+ basic_machine=i386-sequent
+ os=-dynix
+ ;;
+ t3e)
+ basic_machine=alphaev5-cray
+ os=-unicos
+ ;;
+ t90)
+ basic_machine=t90-cray
+ os=-unicos
+ ;;
+ tile*)
+ basic_machine=$basic_machine-unknown
+ os=-linux-gnu
+ ;;
+ tx39)
+ basic_machine=mipstx39-unknown
+ ;;
+ tx39el)
+ basic_machine=mipstx39el-unknown
+ ;;
+ toad1)
+ basic_machine=pdp10-xkl
+ os=-tops20
+ ;;
+ tower | tower-32)
+ basic_machine=m68k-ncr
+ ;;
+ tpf)
+ basic_machine=s390x-ibm
+ os=-tpf
+ ;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ ultra3)
+ basic_machine=a29k-nyu
+ os=-sym1
+ ;;
+ v810 | necv810)
+ basic_machine=v810-nec
+ os=-none
+ ;;
+ vaxv)
+ basic_machine=vax-dec
+ os=-sysv
+ ;;
+ vms)
+ basic_machine=vax-dec
+ os=-vms
+ ;;
+ vpp*|vx|vx-*)
+ basic_machine=f301-fujitsu
+ ;;
+ vxworks960)
+ basic_machine=i960-wrs
+ os=-vxworks
+ ;;
+ vxworks68)
+ basic_machine=m68k-wrs
+ os=-vxworks
+ ;;
+ vxworks29k)
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
+ w65*)
+ basic_machine=w65-wdc
+ os=-none
+ ;;
+ w89k-*)
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
+ xbox)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
+ xscale-* | xscalee[bl]-*)
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+ ;;
+ ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+ ;;
+ z8k-*-coff)
+ basic_machine=z8k-unknown
+ os=-sim
+ ;;
+ z80-*-coff)
+ basic_machine=z80-unknown
+ os=-sim
+ ;;
+ none)
+ basic_machine=none-none
+ os=-none
+ ;;
+
+# Here we handle the default manufacturer of certain CPU types. It is in
+# some cases the only manufacturer, in others, it is the most popular.
+ w89k)
+ basic_machine=hppa1.1-winbond
+ ;;
+ op50n)
+ basic_machine=hppa1.1-oki
+ ;;
+ op60c)
+ basic_machine=hppa1.1-oki
+ ;;
+ romp)
+ basic_machine=romp-ibm
+ ;;
+ mmix)
+ basic_machine=mmix-knuth
+ ;;
+ rs6000)
+ basic_machine=rs6000-ibm
+ ;;
+ vax)
+ basic_machine=vax-dec
+ ;;
+ pdp10)
+ # there are many clones, so DEC is not a safe bet
+ basic_machine=pdp10-unknown
+ ;;
+ pdp11)
+ basic_machine=pdp11-dec
+ ;;
+ we32k)
+ basic_machine=we32k-att
+ ;;
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
+ basic_machine=sh-unknown
+ ;;
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
+ basic_machine=sparc-sun
+ ;;
+ cydra)
+ basic_machine=cydra-cydrome
+ ;;
+ orion)
+ basic_machine=orion-highlevel
+ ;;
+ orion105)
+ basic_machine=clipper-highlevel
+ ;;
+ mac | mpw | mac-mpw)
+ basic_machine=m68k-apple
+ ;;
+ pmac | pmac-mpw)
+ basic_machine=powerpc-apple
+ ;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
+ *)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+ *-digital*)
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+ ;;
+ *-commodore*)
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+ ;;
+ *)
+ ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+ # First match some system type aliases
+ # that might get confused with valid system types.
+ # -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
+ ;;
+ -solaris1 | -solaris1.*)
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
+ ;;
+ -solaris)
+ os=-solaris2
+ ;;
+ -svr4*)
+ os=-sysv4
+ ;;
+ -unixware*)
+ os=-sysv4.2uw
+ ;;
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ ;;
+ # First accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -sym* | -kopensolaris* | -plan9* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* | -aros* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+ | -bitrig* | -openbsd* | -solidbsd* \
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)
+ case $basic_machine in
+ x86-* | i*86-*)
+ ;;
+ *)
+ os=-nto$os
+ ;;
+ esac
+ ;;
+ -nto-qnx*)
+ ;;
+ -nto*)
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
+ ;;
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+ ;;
+ -mac*)
+ os=`echo $os | sed -e 's|mac|macos|'`
+ ;;
+ -linux-dietlibc)
+ os=-linux-dietlibc
+ ;;
+ -linux*)
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
+ ;;
+ -sunos5*)
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
+ ;;
+ -sunos6*)
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
+ ;;
+ -opened*)
+ os=-openedition
+ ;;
+ -os400*)
+ os=-os400
+ ;;
+ -wince*)
+ os=-wince
+ ;;
+ -osfrose*)
+ os=-osfrose
+ ;;
+ -osf*)
+ os=-osf
+ ;;
+ -utek*)
+ os=-bsd
+ ;;
+ -dynix*)
+ os=-bsd
+ ;;
+ -acis*)
+ os=-aos
+ ;;
+ -atheos*)
+ os=-atheos
+ ;;
+ -syllable*)
+ os=-syllable
+ ;;
+ -386bsd)
+ os=-bsd
+ ;;
+ -ctix* | -uts*)
+ os=-sysv
+ ;;
+ -nova*)
+ os=-rtmk-nova
+ ;;
+ -ns2 )
+ os=-nextstep2
+ ;;
+ -nsk*)
+ os=-nsk
+ ;;
+ # Preserve the version number of sinix5.
+ -sinix5.*)
+ os=`echo $os | sed -e 's|sinix|sysv|'`
+ ;;
+ -sinix*)
+ os=-sysv4
+ ;;
+ -tpf*)
+ os=-tpf
+ ;;
+ -triton*)
+ os=-sysv3
+ ;;
+ -oss*)
+ os=-sysv3
+ ;;
+ -svr4)
+ os=-sysv4
+ ;;
+ -svr3)
+ os=-sysv3
+ ;;
+ -sysvr4)
+ os=-sysv4
+ ;;
+ # This must come after -sysvr4.
+ -sysv*)
+ ;;
+ -ose*)
+ os=-ose
+ ;;
+ -es1800*)
+ os=-ose
+ ;;
+ -xenix)
+ os=-xenix
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ os=-mint
+ ;;
+ -aros*)
+ os=-aros
+ ;;
+ -zvmoe)
+ os=-zvmoe
+ ;;
+ -dicos*)
+ os=-dicos
+ ;;
+ -nacl*)
+ ;;
+ -none)
+ ;;
+ *)
+ # Get rid of the `-' at the beginning of $os.
+ os=`echo $os | sed 's/[^-]*-//'`
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system. Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+ score-*)
+ os=-elf
+ ;;
+ spu-*)
+ os=-elf
+ ;;
+ *-acorn)
+ os=-riscix1.2
+ ;;
+ arm*-rebel)
+ os=-linux
+ ;;
+ arm*-semi)
+ os=-aout
+ ;;
+ c4x-* | tic4x-*)
+ os=-coff
+ ;;
+ c8051-*)
+ os=-elf
+ ;;
+ hexagon-*)
+ os=-elf
+ ;;
+ tic54x-*)
+ os=-coff
+ ;;
+ tic55x-*)
+ os=-coff
+ ;;
+ tic6x-*)
+ os=-coff
+ ;;
+ # This must come before the *-dec entry.
+ pdp10-*)
+ os=-tops20
+ ;;
+ pdp11-*)
+ os=-none
+ ;;
+ *-dec | vax-*)
+ os=-ultrix4.2
+ ;;
+ m68*-apollo)
+ os=-domain
+ ;;
+ i386-sun)
+ os=-sunos4.0.2
+ ;;
+ m68000-sun)
+ os=-sunos3
+ ;;
+ m68*-cisco)
+ os=-aout
+ ;;
+ mep-*)
+ os=-elf
+ ;;
+ mips*-cisco)
+ os=-elf
+ ;;
+ mips*-*)
+ os=-elf
+ ;;
+ or1k-*)
+ os=-elf
+ ;;
+ or32-*)
+ os=-coff
+ ;;
+ *-tti) # must be before sparc entry or we get the wrong os.
+ os=-sysv3
+ ;;
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
+ *-be)
+ os=-beos
+ ;;
+ *-haiku)
+ os=-haiku
+ ;;
+ *-ibm)
+ os=-aix
+ ;;
+ *-knuth)
+ os=-mmixware
+ ;;
+ *-wec)
+ os=-proelf
+ ;;
+ *-winbond)
+ os=-proelf
+ ;;
+ *-oki)
+ os=-proelf
+ ;;
+ *-hp)
+ os=-hpux
+ ;;
+ *-hitachi)
+ os=-hiux
+ ;;
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+ os=-sysv
+ ;;
+ *-cbm)
+ os=-amigaos
+ ;;
+ *-dg)
+ os=-dgux
+ ;;
+ *-dolphin)
+ os=-sysv3
+ ;;
+ m68k-ccur)
+ os=-rtu
+ ;;
+ m88k-omron*)
+ os=-luna
+ ;;
+ *-next )
+ os=-nextstep
+ ;;
+ *-sequent)
+ os=-ptx
+ ;;
+ *-crds)
+ os=-unos
+ ;;
+ *-ns)
+ os=-genix
+ ;;
+ i370-*)
+ os=-mvs
+ ;;
+ *-next)
+ os=-nextstep3
+ ;;
+ *-gould)
+ os=-sysv
+ ;;
+ *-highlevel)
+ os=-bsd
+ ;;
+ *-encore)
+ os=-bsd
+ ;;
+ *-sgi)
+ os=-irix
+ ;;
+ *-siemens)
+ os=-sysv4
+ ;;
+ *-masscomp)
+ os=-rtu
+ ;;
+ f30[01]-fujitsu | f700-fujitsu)
+ os=-uxpv
+ ;;
+ *-rom68k)
+ os=-coff
+ ;;
+ *-*bug)
+ os=-coff
+ ;;
+ *-apple)
+ os=-macos
+ ;;
+ *-atari*)
+ os=-mint
+ ;;
+ *)
+ os=-none
+ ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer. We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+ *-unknown)
+ case $os in
+ -riscix*)
+ vendor=acorn
+ ;;
+ -sunos*)
+ vendor=sun
+ ;;
+ -cnk*|-aix*)
+ vendor=ibm
+ ;;
+ -beos*)
+ vendor=be
+ ;;
+ -hpux*)
+ vendor=hp
+ ;;
+ -mpeix*)
+ vendor=hp
+ ;;
+ -hiux*)
+ vendor=hitachi
+ ;;
+ -unos*)
+ vendor=crds
+ ;;
+ -dgux*)
+ vendor=dg
+ ;;
+ -luna*)
+ vendor=omron
+ ;;
+ -genix*)
+ vendor=ns
+ ;;
+ -mvs* | -opened*)
+ vendor=ibm
+ ;;
+ -os400*)
+ vendor=ibm
+ ;;
+ -ptx*)
+ vendor=sequent
+ ;;
+ -tpf*)
+ vendor=ibm
+ ;;
+ -vxsim* | -vxworks* | -windiss*)
+ vendor=wrs
+ ;;
+ -aux*)
+ vendor=apple
+ ;;
+ -hms*)
+ vendor=hitachi
+ ;;
+ -mpw* | -macos*)
+ vendor=apple
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ vendor=atari
+ ;;
+ -vos*)
+ vendor=stratus
+ ;;
+ esac
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ ;;
+esac
+
+echo $basic_machine$os
+exit
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/configure b/configure
new file mode 100755
index 0000000..ec6ad80
--- /dev/null
+++ b/configure
@@ -0,0 +1,21439 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for gsequencer 0.4.3.
+#
+# Report bugs to <weedlight at gmail.com>.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+
+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf at gnu.org and
+$0: weedlight at gmail.com about your system, including any
+$0: error possibly output before this message. Then install
+$0: a modern shell, or manually run the script under such a
+$0: shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='gsequencer'
+PACKAGE_TARNAME='gsequencer'
+PACKAGE_VERSION='0.4.3'
+PACKAGE_STRING='gsequencer 0.4.3'
+PACKAGE_BUGREPORT='weedlight at gmail.com'
+PACKAGE_URL=''
+
+ac_unique_file="config.h.in"
+enable_option_checking=no
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIBOBJS
+GTK_LIBS
+GTK_CFLAGS
+CAIRO_LIBS
+CAIRO_CFLAGS
+GDKPIXBUF_LIBS
+GDKPIXBUF_CFLAGS
+GOBJECT_LIBS
+GOBJECT_CFLAGS
+LIBINSTPATCH_LIBS
+LIBINSTPATCH_CFLAGS
+SNDFILE_LIBS
+SNDFILE_CFLAGS
+LIBXML2_LIBS
+LIBXML2_CFLAGS
+LIBASOUND2_LIBS
+LIBASOUND2_CFLAGS
+LIBAO_LIBS
+LIBAO_CFLAGS
+UUID_LIBS
+UUID_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+XMKMF
+CXXCPP
+OTOOL64
+OTOOL
+LIPO
+NMEDIT
+DSYMUTIL
+MANIFEST_TOOL
+ac_ct_AR
+AR
+NM
+ac_ct_DUMPBIN
+DUMPBIN
+LD
+FGREP
+EGREP
+GREP
+SED
+LIBTOOL
+OBJDUMP
+DLLTOOL
+AS
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+RANLIB
+LN_S
+CPP
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+ac_ct_CC
+CFLAGS
+CC
+am__fastdepCXX_FALSE
+am__fastdepCXX_TRUE
+CXXDEPMODE
+am__nodep
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CXX
+CPPFLAGS
+LDFLAGS
+CXXFLAGS
+CXX
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+subdirs
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_dependency_tracking
+enable_shared
+enable_static
+with_pic
+enable_fast_install
+with_aix_soname
+with_gnu_ld
+with_sysroot
+enable_libtool_lock
+with_x
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CXX
+CXXFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CCC
+CC
+CFLAGS
+CPP
+CXXCPP
+XMKMF
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+UUID_CFLAGS
+UUID_LIBS
+LIBAO_CFLAGS
+LIBAO_LIBS
+LIBASOUND2_CFLAGS
+LIBASOUND2_LIBS
+LIBXML2_CFLAGS
+LIBXML2_LIBS
+SNDFILE_CFLAGS
+SNDFILE_LIBS
+LIBINSTPATCH_CFLAGS
+LIBINSTPATCH_LIBS
+GOBJECT_CFLAGS
+GOBJECT_LIBS
+GDKPIXBUF_CFLAGS
+GDKPIXBUF_LIBS
+CAIRO_CFLAGS
+CAIRO_LIBS
+GTK_CFLAGS
+GTK_LIBS'
+ac_subdirs_all='po
+ doc
+ src/ags
+ src/ags/X
+ src/ags/X/editor
+ src/ags/X/machine
+ src/ags/audio
+ src/ags/audio/file
+ src/ags/audio/recall
+ src/ags/audio/task
+ src/ags/audio/task/recall
+ src/ags/file
+ src/ags/lib
+ src/ags/object
+ src/ags/plugin
+ src/ags/server
+ src/ags/thread
+ src/ags/util
+ src/ags/widget'
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures gsequencer 0.4.3 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/gsequencer]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+X features:
+ --x-includes=DIR X include files are in DIR
+ --x-libraries=DIR X library files are in DIR
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of gsequencer 0.4.3:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --enable-dependency-tracking
+ do not reject slow dependency extractors
+ --disable-dependency-tracking
+ speeds up one-time build
+ --enable-shared[=PKGS] build shared libraries [default=yes]
+ --enable-static[=PKGS] build static libraries [default=yes]
+ --enable-fast-install[=PKGS]
+ optimize for fast installation [default=yes]
+ --disable-libtool-lock avoid locking (might break parallel builds)
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
+ both]
+ --with-aix-soname=aix|svr4|both
+ shared library versioning (aka "SONAME") variant to
+ provide on AIX, [default=aix].
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+ --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
+ compiler's sysroot if not specified).
+ --with-x use the X Window System
+
+Some influential environment variables:
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CC C compiler command
+ CFLAGS C compiler flags
+ CPP C preprocessor
+ CXXCPP C++ preprocessor
+ XMKMF Path to xmkmf, Makefile generator for X Window System
+ PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+ UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
+ UUID_LIBS linker flags for UUID, overriding pkg-config
+ LIBAO_CFLAGS
+ C compiler flags for LIBAO, overriding pkg-config
+ LIBAO_LIBS linker flags for LIBAO, overriding pkg-config
+ LIBASOUND2_CFLAGS
+ C compiler flags for LIBASOUND2, overriding pkg-config
+ LIBASOUND2_LIBS
+ linker flags for LIBASOUND2, overriding pkg-config
+ LIBXML2_CFLAGS
+ C compiler flags for LIBXML2, overriding pkg-config
+ LIBXML2_LIBS
+ linker flags for LIBXML2, overriding pkg-config
+ SNDFILE_CFLAGS
+ C compiler flags for SNDFILE, overriding pkg-config
+ SNDFILE_LIBS
+ linker flags for SNDFILE, overriding pkg-config
+ LIBINSTPATCH_CFLAGS
+ C compiler flags for LIBINSTPATCH, overriding pkg-config
+ LIBINSTPATCH_LIBS
+ linker flags for LIBINSTPATCH, overriding pkg-config
+ GOBJECT_CFLAGS
+ C compiler flags for GOBJECT, overriding pkg-config
+ GOBJECT_LIBS
+ linker flags for GOBJECT, overriding pkg-config
+ GDKPIXBUF_CFLAGS
+ C compiler flags for GDKPIXBUF, overriding pkg-config
+ GDKPIXBUF_LIBS
+ linker flags for GDKPIXBUF, overriding pkg-config
+ CAIRO_CFLAGS
+ C compiler flags for CAIRO, overriding pkg-config
+ CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
+ GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
+ GTK_LIBS linker flags for GTK, overriding pkg-config
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <weedlight at gmail.com>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+gsequencer configure 0.4.3
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_cxx_try_compile LINENO
+# ----------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_compile
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_compile
+
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_cpp
+
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_compile
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
+# ac_fn_c_check_func LINENO FUNC VAR
+# ----------------------------------
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_func
+
+# ac_fn_cxx_try_cpp LINENO
+# ------------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_cpp
+
+# ac_fn_cxx_try_link LINENO
+# -------------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_link
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## ---------------------------------- ##
+## Report this to weedlight at gmail.com ##
+## ---------------------------------- ##"
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_mongrel
+
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+# -------------------------------------------
+# Tests whether TYPE exists after having included INCLUDES, setting cache
+# variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_type
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+
+
+subdirs="$subdirs po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget"
+
+ac_config_files="$ac_config_files Makefile po/Makefile doc/Makefile src/ags/Makefile src/ags/X/Makefile src/ags/X/editor/Makefile src/ags/X/machine/Makefile src/ags/audio/Makefile src/ags/audio/file/Makefile src/ags/audio/recall/Makefile src/ags/audio/task/Makefile src/ags/audio/task/recall/Makefile src/ags/file/Makefile src/ags/lib/Makefile src/ags/object/Makefile src/ags/plugin/Makefile src/ags/server/Makefile src/ags/thread/Makefile src/ags/util/Makefile src/ags/widget/Makefile"
+
+
+am__api_version='1.14'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+
+ PACKAGE=gsequencer
+ VERSION=0.4.3
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake at gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
+# Checks for programs.
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
+$as_echo_n "checking whether the C++ compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C++ compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
+$as_echo_n "checking for C++ compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C++ compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+
+depcc="$CXX" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
+if ${ac_cv_c_const+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this sort of thing. */
+ typedef int charset[2];
+ const charset cs = { 0, 0 };
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this sort of thing. */
+ char tx;
+ char *t = &tx;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; } bx;
+ struct s *b = &bx; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_c_const=yes
+else
+ ac_cv_c_const=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
+$as_echo "$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+$as_echo "#define const /**/" >>confdefs.h
+
+fi
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
+set dummy ${ac_tool_prefix}as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AS"; then
+ ac_cv_prog_AS="$AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AS="${ac_tool_prefix}as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AS=$ac_cv_prog_AS
+if test -n "$AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
+$as_echo "$AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AS"; then
+ ac_ct_AS=$AS
+ # Extract the first word of "as", so it can be a program name with args.
+set dummy as; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AS"; then
+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AS="as"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
+if test -n "$ac_ct_AS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
+$as_echo "$ac_ct_AS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_AS" = x; then
+ AS="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AS=$ac_ct_AS
+ fi
+else
+ AS="$ac_cv_prog_AS"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+ ;;
+esac
+
+test -z "$AS" && AS=as
+
+
+
+
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+
+case `pwd` in
+ *\ * | *\ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
+esac
+
+
+
+macro_version='2.4.4'
+macro_revision='2.4.4'
+
+
+
+
+
+
+
+
+
+
+
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+$as_echo_n "checking how to print strings... " >&6; }
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO ""
+}
+
+case $ECHO in
+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
+$as_echo "printf" >&6; } ;;
+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
+$as_echo "print -r" >&6; } ;;
+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
+$as_echo "cat" >&6; } ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
+$as_echo_n "checking for fgrep... " >&6; }
+if ${ac_cv_path_FGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
+ then ac_cv_path_FGREP="$GREP -F"
+ else
+ if test -z "$FGREP"; then
+ ac_path_FGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in fgrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_FGREP" || continue
+# Check for GNU ac_path_FGREP and select it if it is found.
+ # Check for GNU $ac_path_FGREP
+case `"$ac_path_FGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'FGREP' >> "conftest.nl"
+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_FGREP="$ac_path_FGREP"
+ ac_path_FGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_FGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_FGREP"; then
+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_FGREP=$FGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
+$as_echo "$ac_cv_path_FGREP" >&6; }
+ FGREP="$ac_cv_path_FGREP"
+
+
+test -z "$GREP" && GREP=grep
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
+if ${lt_cv_path_NM+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
+$as_echo "$lt_cv_path_NM" >&6; }
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in dumpbin "link -dump"
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DUMPBIN"; then
+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DUMPBIN=$ac_cv_prog_DUMPBIN
+if test -n "$DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
+$as_echo "$DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$DUMPBIN" && break
+ done
+fi
+if test -z "$DUMPBIN"; then
+ ac_ct_DUMPBIN=$DUMPBIN
+ for ac_prog in dumpbin "link -dump"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DUMPBIN"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
+if test -n "$ac_ct_DUMPBIN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
+$as_echo "$ac_ct_DUMPBIN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_DUMPBIN" && break
+done
+
+ if test "x$ac_ct_DUMPBIN" = x; then
+ DUMPBIN=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DUMPBIN=$ac_ct_DUMPBIN
+ fi
+fi
+
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
+$as_echo_n "checking the name lister ($NM) interface... " >&6; }
+if ${lt_cv_nm_interface+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&5
+ (eval echo "\"\$as_me:$LINENO: output\"" >&5)
+ cat conftest.out >&5
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
+$as_echo "$lt_cv_nm_interface" >&6; }
+
+# find the maximum length of command line arguments
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
+$as_echo_n "checking the maximum length of command line arguments... " >&6; }
+if ${lt_cv_sys_max_cmd_len+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+
+fi
+
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
+$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
+$as_echo "none" >&6; }
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+
+
+
+
+
+: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+
+
+
+
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
+if ${lt_cv_to_host_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+
+fi
+
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
+if ${lt_cv_to_tool_file_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ #assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+
+fi
+
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+$as_echo_n "checking for $LD option to reload object files... " >&6; }
+if ${lt_cv_ld_reload_flag+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
+$as_echo "$lt_cv_ld_reload_flag" >&6; }
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test yes != "$GCC"; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test yes = "$GCC"; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
+set dummy ${ac_tool_prefix}objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OBJDUMP"; then
+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OBJDUMP=$ac_cv_prog_OBJDUMP
+if test -n "$OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
+$as_echo "$OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OBJDUMP"; then
+ ac_ct_OBJDUMP=$OBJDUMP
+ # Extract the first word of "objdump", so it can be a program name with args.
+set dummy objdump; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OBJDUMP"; then
+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OBJDUMP="objdump"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
+if test -n "$ac_ct_OBJDUMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
+$as_echo "$ac_ct_OBJDUMP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OBJDUMP" = x; then
+ OBJDUMP="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OBJDUMP=$ac_ct_OBJDUMP
+ fi
+else
+ OBJDUMP="$ac_cv_prog_OBJDUMP"
+fi
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
+$as_echo_n "checking how to recognize dependent libraries... " >&6; }
+if ${lt_cv_deplibs_check_method+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# 'unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# that responds to the $file_magic_cmd with a given extended regex.
+# If you have 'file' or equivalent on your system and you're not sure
+# whether 'pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[4-9]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[45]*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ if ( file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[3-9]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd* | bitrig*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+os2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+$as_echo "$lt_cv_deplibs_check_method" >&6; }
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DLLTOOL"; then
+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DLLTOOL=$ac_cv_prog_DLLTOOL
+if test -n "$DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
+$as_echo "$DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DLLTOOL"; then
+ ac_ct_DLLTOOL=$DLLTOOL
+ # Extract the first word of "dlltool", so it can be a program name with args.
+set dummy dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DLLTOOL"; then
+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
+if test -n "$ac_ct_DLLTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
+$as_echo "$ac_ct_DLLTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DLLTOOL" = x; then
+ DLLTOOL="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DLLTOOL=$ac_ct_DLLTOOL
+ fi
+else
+ DLLTOOL="$ac_cv_prog_DLLTOOL"
+fi
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh;
+ # decide which one to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
+ ;;
+esac
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AR" && break
+ done
+fi
+if test -z "$AR"; then
+ ac_ct_AR=$AR
+ for ac_prog in ar
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_AR" && break
+done
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+fi
+
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ar_at_file=no
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -eq "$ac_status"; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
+ (eval $lt_ar_try) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if test 0 -ne "$ac_status"; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
+
+if test no = "$lt_cv_ar_at_file"; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+test -z "$STRIP" && STRIP=:
+
+
+
+
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+test -z "$RANLIB" && RANLIB=:
+
+
+
+
+
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ bitrig* | openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[BCDEGRST]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[BCDT]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[ABCDGISTW]'
+ ;;
+hpux*)
+ if test ia64 = "$host_cpu"; then
+ symcode='[ABCDEGRST]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[BCDEGRST]'
+ ;;
+osf*)
+ symcode='[BCDEGQRST]'
+ ;;
+solaris*)
+ symcode='[BDRT]'
+ ;;
+sco3.2v5*)
+ symcode='[DT]'
+ ;;
+sysv4.2uw2*)
+ symcode='[DT]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[ABDT]'
+ ;;
+sysv4)
+ symcode='[DFNSTU]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[ABCDGIRSTW]' ;;
+esac
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Gets list of data symbols to import.
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
+ # Adjust the below global symbol transforms to fixup imported variables.
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
+ lt_c_name_lib_hook="\
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
+else
+ # Disable hooks by default.
+ lt_cv_sys_global_symbol_to_import=
+ lt_cdecl_hook=
+ lt_c_name_hook=
+ lt_c_name_lib_hook=
+fi
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+$lt_cdecl_hook\
+" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
+$lt_c_name_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
+
+# Transform an extracted symbol line into symbol name with lib prefix and
+# symbol address.
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
+$lt_c_name_lib_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function,
+ # D for any global variable and I for any imported variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK '"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
+" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
+" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT_DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS=conftstm.$ac_objext
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s conftest$ac_exeext; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&5
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+ fi
+ else
+ echo "$progname: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test yes = "$pipe_works"; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+
+fi
+
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
+$as_echo "failed" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
+# Check whether --with-sysroot was given.
+if test "${with_sysroot+set}" = set; then :
+ withval=$with_sysroot;
+else
+ with_sysroot=no
+fi
+
+
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
+$as_echo "$with_sysroot" >&6; }
+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+ ;;
+esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
+$as_echo_n "checking for a working dd... " >&6; }
+if ${ac_cv_path_lt_DD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+: ${lt_DD:=$DD}
+if test -z "$lt_DD"; then
+ ac_path_lt_DD_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in dd; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_lt_DD" || continue
+if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
+fi
+ $ac_path_lt_DD_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_lt_DD"; then
+ :
+ fi
+else
+ ac_cv_path_lt_DD=$lt_DD
+fi
+
+rm -f conftest.i conftest2.i conftest.out
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
+$as_echo "$ac_cv_path_lt_DD" >&6; }
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
+$as_echo_n "checking how to truncate binary pipes... " >&6; }
+if ${lt_cv_truncate_bin+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+lt_cv_truncate_bin=
+if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
+fi
+rm -f conftest.i conftest2.i conftest.out
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
+$as_echo "$lt_cv_truncate_bin" >&6; }
+
+
+
+
+
+
+# Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then :
+ enableval=$enable_libtool_lock;
+fi
+
+test no = "$enable_libtool_lock" || enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out what ABI is being produced by ac_compile, and set mode
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE=32
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE=64
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly. Note that the listed cases only cover the
+ # situations where additional linker options are needed (such as when
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
+ # vice versa); the common cases where no linker options are needed do
+ # not appear in the list.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -belf"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
+$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
+if ${lt_cv_cc_needs_belf+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_cc_needs_belf=yes
+else
+ lt_cv_cc_needs_belf=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+$as_echo "$lt_cv_cc_needs_belf" >&6; }
+ if test yes != "$lt_cv_cc_needs_belf"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS=$SAVE_CFLAGS
+ fi
+ ;;
+*-*solaris*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*|x86_64-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD=${LD-ld}_sol2
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks=$enable_libtool_lock
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
+set dummy ${ac_tool_prefix}mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$MANIFEST_TOOL"; then
+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
+if test -n "$MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
+$as_echo "$MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
+ # Extract the first word of "mt", so it can be a program name with args.
+set dummy mt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_MANIFEST_TOOL"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
+if test -n "$ac_ct_MANIFEST_TOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
+ MANIFEST_TOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+ fi
+else
+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
+fi
+
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
+if ${lt_cv_path_mainfest_tool+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&5
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
+if test yes != "$lt_cv_path_mainfest_tool"; then
+ MANIFEST_TOOL=:
+fi
+
+
+
+
+
+
+ case $host_os in
+ rhapsody* | darwin*)
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$DSYMUTIL"; then
+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+DSYMUTIL=$ac_cv_prog_DSYMUTIL
+if test -n "$DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
+$as_echo "$DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_DSYMUTIL"; then
+ ac_ct_DSYMUTIL=$DSYMUTIL
+ # Extract the first word of "dsymutil", so it can be a program name with args.
+set dummy dsymutil; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_DSYMUTIL"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
+if test -n "$ac_ct_DSYMUTIL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
+$as_echo "$ac_ct_DSYMUTIL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_DSYMUTIL" = x; then
+ DSYMUTIL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DSYMUTIL=$ac_ct_DSYMUTIL
+ fi
+else
+ DSYMUTIL="$ac_cv_prog_DSYMUTIL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
+set dummy ${ac_tool_prefix}nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$NMEDIT"; then
+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+NMEDIT=$ac_cv_prog_NMEDIT
+if test -n "$NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
+$as_echo "$NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_NMEDIT"; then
+ ac_ct_NMEDIT=$NMEDIT
+ # Extract the first word of "nmedit", so it can be a program name with args.
+set dummy nmedit; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_NMEDIT"; then
+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_NMEDIT="nmedit"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
+if test -n "$ac_ct_NMEDIT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
+$as_echo "$ac_ct_NMEDIT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_NMEDIT" = x; then
+ NMEDIT=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ NMEDIT=$ac_ct_NMEDIT
+ fi
+else
+ NMEDIT="$ac_cv_prog_NMEDIT"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
+set dummy ${ac_tool_prefix}lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$LIPO"; then
+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+LIPO=$ac_cv_prog_LIPO
+if test -n "$LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
+$as_echo "$LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_LIPO"; then
+ ac_ct_LIPO=$LIPO
+ # Extract the first word of "lipo", so it can be a program name with args.
+set dummy lipo; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_LIPO"; then
+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_LIPO="lipo"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
+if test -n "$ac_ct_LIPO"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
+$as_echo "$ac_ct_LIPO" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_LIPO" = x; then
+ LIPO=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ LIPO=$ac_ct_LIPO
+ fi
+else
+ LIPO="$ac_cv_prog_LIPO"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL"; then
+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL=$ac_cv_prog_OTOOL
+if test -n "$OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
+$as_echo "$OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL"; then
+ ac_ct_OTOOL=$OTOOL
+ # Extract the first word of "otool", so it can be a program name with args.
+set dummy otool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL"; then
+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL="otool"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
+if test -n "$ac_ct_OTOOL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
+$as_echo "$ac_ct_OTOOL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL" = x; then
+ OTOOL=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL=$ac_ct_OTOOL
+ fi
+else
+ OTOOL="$ac_cv_prog_OTOOL"
+fi
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
+set dummy ${ac_tool_prefix}otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$OTOOL64"; then
+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+OTOOL64=$ac_cv_prog_OTOOL64
+if test -n "$OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
+$as_echo "$OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_OTOOL64"; then
+ ac_ct_OTOOL64=$OTOOL64
+ # Extract the first word of "otool64", so it can be a program name with args.
+set dummy otool64; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_OTOOL64"; then
+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_OTOOL64="otool64"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
+if test -n "$ac_ct_OTOOL64"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
+$as_echo "$ac_ct_OTOOL64" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_OTOOL64" = x; then
+ OTOOL64=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ OTOOL64=$ac_ct_OTOOL64
+ fi
+else
+ OTOOL64="$ac_cv_prog_OTOOL64"
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
+$as_echo_n "checking for -single_module linker flag... " >&6; }
+if ${lt_cv_apple_cc_single_mod+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_apple_cc_single_mod=no
+ if test -z "$LT_MULTI_MODULE"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&5
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
+$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_ld_exported_symbols_list=yes
+else
+ lt_cv_ld_exported_symbols_list=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
+$as_echo_n "checking for -force_load linker flag... " >&6; }
+if ${lt_cv_ld_force_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
+ echo "$RANLIB libconftest.a" >&5
+ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&5
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&5
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
+$as_echo "$lt_cv_ld_force_load" >&6; }
+ case $host_os in
+ rhapsody* | darwin1.[012])
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ 10.[012][,.]*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
+ fi
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in dlfcn.h
+do :
+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
+"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DLFCN_H 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+func_stripname_cnf ()
+{
+ case $2 in
+ .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
+ *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
+ esac
+} # func_stripname_cnf
+
+
+
+
+
+# Set options
+
+
+
+ enable_dlopen=no
+
+
+
+ # Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then :
+ enableval=$enable_shared; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_shared=yes
+fi
+
+
+
+
+
+
+
+
+
+ # Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_static=yes
+fi
+
+
+
+
+
+
+
+
+
+
+# Check whether --with-pic was given.
+if test "${with_pic+set}" = set; then :
+ withval=$with_pic; lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for lt_pkg in $withval; do
+ IFS=$lt_save_ifs
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ pic_mode=default
+fi
+
+
+
+
+
+
+
+
+ # Check whether --enable-fast-install was given.
+if test "${enable_fast_install+set}" = set; then :
+ enableval=$enable_fast_install; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac
+else
+ enable_fast_install=yes
+fi
+
+
+
+
+
+
+
+
+ shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[5-9]*,yes)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
+$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
+
+# Check whether --with-aix-soname was given.
+if test "${with_aix_soname+set}" = set; then :
+ withval=$with_aix_soname; case $withval in
+ aix|svr4|both)
+ ;;
+ *)
+ as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
+ ;;
+ esac
+ lt_cv_with_aix_soname=$with_aix_soname
+else
+ if ${lt_cv_with_aix_soname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_with_aix_soname=aix
+fi
+
+ with_aix_soname=$lt_cv_with_aix_soname
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
+$as_echo "$with_aix_soname" >&6; }
+ if test aix != "$with_aix_soname"; then
+ # For the AIX way of multilib, we name the shared archive member
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
+ if test 64 = "${OBJECT_MODE-32}"; then
+ shared_archive_member_spec=shr_64
+ else
+ shared_archive_member_spec=shr
+ fi
+ fi
+ ;;
+*)
+ with_aix_soname=aix
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+test -z "$LN_S" && LN_S="ln -s"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
+$as_echo_n "checking for objdir... " >&6; }
+if ${lt_cv_objdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
+$as_echo "$lt_cv_objdir" >&6; }
+objdir=$lt_cv_objdir
+
+
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define LT_OBJDIR "$lt_cv_objdir/"
+_ACEOF
+
+
+
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+old_CC=$CC
+old_CFLAGS=$CFLAGS
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/${ac_tool_prefix}file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+
+
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
+$as_echo_n "checking for file... " >&6; }
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/file"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac
+fi
+
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
+$as_echo "$MAGIC_CMD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ else
+ MAGIC_CMD=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+
+lt_save_CC=$CC
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+objext=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+
+lt_prog_compiler_no_builtin_flag=
+
+if test yes = "$GCC"; then
+ case $cc_basename in
+ nvcc*)
+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
+ *)
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+
+
+
+
+
+ lt_prog_compiler_wl=
+lt_prog_compiler_pic=
+lt_prog_compiler_static=
+
+
+ if test yes = "$GCC"; then
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_static='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ lt_prog_compiler_wl='-Xlinker '
+ if test -n "$lt_prog_compiler_pic"; then
+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl='-Wl,'
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ else
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ case $cc_basename in
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static='$wl-static'
+ ;;
+ esac
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static='$wl-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ # old Intel for x86_64, which still supported -KPIC.
+ ecc*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ lt_prog_compiler_wl='-Wl,-Wl,,'
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-qpic'
+ lt_prog_compiler_static='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ lt_prog_compiler_wl='-Wl,'
+ ;;
+ *Intel*\ [CF]*Compiler*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ *Portland\ Group*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-fpic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ rdos*)
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl='-Qoption ld '
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic='-Kconform_pic'
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ unicos*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_can_build_shared=no
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic='-pic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic=
+ ;;
+ *)
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works"; then
+ case $lt_prog_compiler_pic in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
+ esac
+else
+ lt_prog_compiler_pic=
+ lt_prog_compiler_can_build_shared=no
+fi
+
+fi
+
+
+
+
+
+
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
+$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works"; then
+ :
+else
+ lt_prog_compiler_static=
+fi
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
+$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ runpath_var=
+ allow_undefined_flag=
+ always_export_symbols=no
+ archive_cmds=
+ archive_expsym_cmds=
+ compiler_needs_object=no
+ enable_shared_with_static_runtimes=no
+ export_dynamic_flag_spec=
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ hardcode_automatic=no
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_separator=
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=unsupported
+ inherit_rpath=no
+ link_all_deplibs=unknown
+ module_cmds=
+ module_expsym_cmds=
+ old_archive_from_new_cmds=
+ old_archive_from_expsyms_cmds=
+ thread_safe_flag_spec=
+ whole_archive_flag_spec=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
+ # as well as any symbol that contains 'd'.
+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test yes != "$GCC"; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd* | bitrig*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test yes = "$with_gnu_ld"; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
+ *\ \(GNU\ Binutils\)\ [3-9]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test yes = "$lt_use_gnu_ld_interface"; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='$wl'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec='$wl--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[3-9]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test ia64 != "$host_cpu"; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ export_dynamic_flag_spec='$wl--export-all-symbols'
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ haiku*)
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs=yes
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test linux-dietlibc = "$host_os"; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test no = "$tmp_diet"
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ whole_archive_flag_spec=
+ tmp_sharedflag='--shared' ;;
+ nagfor*) # NAGFOR 5.3
+ tmp_sharedflag='-Wl,-shared' ;;
+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ tcc*)
+ export_dynamic_flag_spec='-rdynamic'
+ ;;
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+
+ if test no = "$ld_shlibs"; then
+ runpath_var=
+ hardcode_libdir_flag_spec=
+ export_dynamic_flag_spec=
+ whole_archive_flag_spec=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds=''
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ file_list_spec='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # traditional, no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct=no
+ hardcode_direct_absolute=no
+ ;;
+ esac
+
+ if test yes = "$GCC"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag="$shared_flag "'$wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ always_export_symbols=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath_+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath_"; then
+ lt_cv_aix_libpath_=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath_
+fi
+
+ hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag=' $wl-bernotok'
+ allow_undefined_flag=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec='$convenience'
+ fi
+ archive_cmds_need_lc=yes
+ archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared libraries.
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds=''
+ ;;
+ m68k)
+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[45]*)
+ export_dynamic_flag_spec=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ file_list_spec='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
+ enable_shared_with_static_runtimes=yes
+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ old_postinstall_cmds='chmod 644 $oldlib'
+ postlink_cmds='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_from_new_cmds='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ enable_shared_with_static_runtimes=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc=no
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec=''
+ fi
+ link_all_deplibs=yes
+ allow_undefined_flag=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+
+ else
+ ld_shlibs=no
+ fi
+
+ ;;
+
+ dgux*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ hpux9*)
+ if test yes = "$GCC"; then
+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ export_dynamic_flag_spec='$wl-E'
+ ;;
+
+ hpux10*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
+$as_echo_n "checking if $CC understands -b... " >&6; }
+if ${lt_cv_prog_compiler__b+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler__b=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -b"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler__b=yes
+ fi
+ else
+ lt_cv_prog_compiler__b=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
+$as_echo "$lt_cv_prog_compiler__b" >&6; }
+
+if test yes = "$lt_cv_prog_compiler__b"; then
+ archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+fi
+
+ ;;
+ esac
+ fi
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec='$wl+b $wl$libdir'
+ hardcode_libdir_separator=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ ;;
+ *)
+ hardcode_direct=yes
+ hardcode_direct_absolute=yes
+ export_dynamic_flag_spec='$wl-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
+if ${lt_cv_irix_exported_symbol+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int foo (void) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_irix_exported_symbol=yes
+else
+ lt_cv_irix_exported_symbol=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
+ if test yes = "$lt_cv_irix_exported_symbol"; then
+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
+ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ inherit_rpath=yes
+ link_all_deplibs=yes
+ ;;
+
+ linux*)
+ case $cc_basename in
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ ld_shlibs=yes
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ newsos6)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ hardcode_shlibpath_var=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ hardcode_direct_absolute=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ export_dynamic_flag_spec='$wl-E'
+ else
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ shrext_cmds=.dll
+ archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ osf3*)
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test yes = "$GCC"; then
+ allow_undefined_flag=' $wl-expect_unresolved $wl\*'
+ archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ archive_cmds_need_lc='no'
+ hardcode_libdir_separator=:
+ ;;
+
+ solaris*)
+ no_undefined_flag=' -z defs'
+ if test yes = "$GCC"; then
+ wlarc='$wl'
+ archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='$wl'
+ archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_shlibpath_var=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test yes = "$GCC"; then
+ whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ else
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ link_all_deplibs=yes
+ ;;
+
+ sunos4*)
+ if test sequent = "$host_vendor"; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds='$CC -r -o $output$reload_objs'
+ hardcode_direct=no
+ ;;
+ motorola)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag='$wl-z,text'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag='$wl-z,text'
+ allow_undefined_flag='$wl-z,nodefs'
+ archive_cmds_need_lc=no
+ hardcode_shlibpath_var=no
+ hardcode_libdir_flag_spec='$wl-R,$libdir'
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+ export_dynamic_flag_spec='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+
+ if test sni = "$host_vendor"; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ export_dynamic_flag_spec='$wl-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
+$as_echo "$ld_shlibs" >&6; }
+test no = "$ld_shlibs" && can_build_shared=no
+
+with_gnu_ld=$with_gnu_ld
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ pic_flag=$lt_prog_compiler_pic
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc=no
+ else
+ lt_cv_archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+if test yes = "$GCC"; then
+ case $host_os in
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
+ *) lt_awk_arg='/^libraries:/' ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary...
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ # ...but if some path component already ends with the multilib dir we assume
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
+ lt_multi_os_dir=
+ ;;
+ esac
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
+ elif test -n "$lt_multi_os_dir"; then
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS = " "; FS = "/|\n";} {
+ lt_foo = "";
+ lt_count = 0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo = "/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[lt_foo]++; }
+ if (lt_freq[lt_foo] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" ||
+ test -n "$runpath_var" ||
+ test yes = "$hardcode_automatic"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
+ test no != "$hardcode_minus_L"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
+$as_echo "$hardcode_action" >&6; }
+
+if test relink = "$hardcode_action" ||
+ test yes = "$inherit_rpath"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+ if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
+if test "x$ac_cv_func_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
+$as_echo_n "checking for shl_load in -ldld... " >&6; }
+if ${ac_cv_lib_dld_shl_load+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_shl_load=yes
+else
+ ac_cv_lib_dld_shl_load=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
+$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
+ lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
+else
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
+if ${ac_cv_lib_dl_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dl_dlopen=yes
+else
+ ac_cv_lib_dl_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
+$as_echo_n "checking for dlopen in -lsvld... " >&6; }
+if ${ac_cv_lib_svld_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_svld_dlopen=yes
+else
+ ac_cv_lib_svld_dlopen=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
+$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
+ lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
+$as_echo_n "checking for dld_link in -ldld... " >&6; }
+if ${ac_cv_lib_dld_dld_link+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_dld_dld_link=yes
+else
+ ac_cv_lib_dld_dld_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
+$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
+ lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
+$as_echo_n "checking whether a program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
+$as_echo "$lt_cv_dlopen_self" >&6; }
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
+if ${lt_cv_dlopen_self_static+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test yes = "$cross_compiling"; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}
+_LT_EOF
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&5 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
+$as_echo "$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+striplib=
+old_striplib=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
+$as_echo_n "checking whether stripping libraries is possible... " >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ fi
+ ;;
+ *)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+ # Report what library types will actually be built
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
+$as_echo_n "checking if libtool supports shared libraries... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
+$as_echo "$can_build_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+$as_echo_n "checking whether to build shared libraries... " >&6; }
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[4-9]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
+$as_echo "$enable_shared" >&6; }
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
+$as_echo_n "checking whether to build static libraries... " >&6; }
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
+$as_echo "$enable_static" >&6; }
+
+
+
+
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC=$lt_save_CC
+
+ if test -n "$CXX" && ( test no != "$CXX" &&
+ ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
+ (test g++ != "$CXX"))); then
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
+if test -z "$CXXCPP"; then
+ if ${ac_cv_prog_CXXCPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CXXCPP needs to be expanded
+ for CXXCPP in "$CXX -E" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CXXCPP=$CXXCPP
+
+fi
+ CXXCPP=$ac_cv_prog_CXXCPP
+else
+ ac_cv_prog_CXXCPP=$CXXCPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
+$as_echo "$CXXCPP" >&6; }
+ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_cxx_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+else
+ _lt_caught_CXX_error=yes
+fi
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+archive_cmds_need_lc_CXX=no
+allow_undefined_flag_CXX=
+always_export_symbols_CXX=no
+archive_expsym_cmds_CXX=
+compiler_needs_object_CXX=no
+export_dynamic_flag_spec_CXX=
+hardcode_direct_CXX=no
+hardcode_direct_absolute_CXX=no
+hardcode_libdir_flag_spec_CXX=
+hardcode_libdir_separator_CXX=
+hardcode_minus_L_CXX=no
+hardcode_shlibpath_var_CXX=unsupported
+hardcode_automatic_CXX=no
+inherit_rpath_CXX=no
+module_cmds_CXX=
+module_expsym_cmds_CXX=
+link_all_deplibs_CXX=unknown
+old_archive_cmds_CXX=$old_archive_cmds
+reload_flag_CXX=$reload_flag
+reload_cmds_CXX=$reload_cmds
+no_undefined_flag_CXX=
+whole_archive_flag_spec_CXX=
+enable_shared_with_static_runtimes_CXX=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+objext_CXX=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_caught_CXX_error"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+
+
+
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+ # save warnings/boilerplate of simple test code
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+
+ ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ compiler_CXX=$CC
+ for cc_temp in $compiler""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test yes = "$GXX"; then
+ lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
+ else
+ lt_prog_compiler_no_builtin_flag_CXX=
+ fi
+
+ if test yes = "$GXX"; then
+ # Set up default GNU C++ configuration
+
+
+
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then :
+ withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
+$as_echo_n "checking for ld used by $CC... " >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
+$as_echo_n "checking for GNU ld... " >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
+$as_echo_n "checking for non-GNU ld... " >&6; }
+fi
+if ${lt_cv_path_LD+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi
+fi
+
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
+$as_echo "$LD" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
+if ${lt_cv_prog_gnu_ld+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
+$as_echo "$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+
+
+
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test yes = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='$wl'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ whole_archive_flag_spec_CXX=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+ ld_shlibs_CXX=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aix[4-9]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_CXX=''
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ file_list_spec_CXX='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ hardcode_direct_CXX=no
+ hardcode_direct_absolute_CXX=no
+ ;;
+ esac
+
+ if test yes = "$GXX"; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct_CXX=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_CXX=yes
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_libdir_separator_CXX=
+ fi
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag=$shared_flag' $wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ export_dynamic_flag_spec_CXX='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ always_export_symbols_CXX=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ # The "-G" linker flag allows undefined symbols.
+ no_undefined_flag_CXX='-bernotok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+
+ archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_CXX="-z nodefs"
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ if ${lt_cv_aix_libpath__CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+ lt_aix_libpath_sed='
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }'
+ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test -z "$lt_cv_aix_libpath__CXX"; then
+ lt_cv_aix_libpath__CXX=/usr/lib:/lib
+ fi
+
+fi
+
+ aix_libpath=$lt_cv_aix_libpath__CXX
+fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_CXX=' $wl-bernotok'
+ allow_undefined_flag_CXX=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_CXX='$convenience'
+ fi
+ archive_cmds_need_lc_CXX=yes
+ archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared
+ # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag_CXX=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX=' '
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=yes
+ file_list_spec_CXX='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
+ enable_shared_with_static_runtimes_CXX=yes
+ # Don't use ranlib
+ old_postinstall_cmds_CXX='chmod 644 $oldlib'
+ postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
+ allow_undefined_flag_CXX=unsupported
+ always_export_symbols_CXX=no
+ enable_shared_with_static_runtimes_CXX=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+
+
+ archive_cmds_need_lc_CXX=no
+ hardcode_direct_CXX=no
+ hardcode_automatic_CXX=yes
+ hardcode_shlibpath_var_CXX=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+
+ else
+ whole_archive_flag_spec_CXX=''
+ fi
+ link_all_deplibs_CXX=yes
+ allow_undefined_flag_CXX=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+ if test yes != "$lt_cv_apple_cc_single_mod"; then
+ archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+ archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+ fi
+
+ else
+ ld_shlibs_CXX=no
+ fi
+
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_minus_L_CXX=yes
+ allow_undefined_flag_CXX=unsupported
+ shrext_cmds=.dll
+ archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ enable_shared_with_static_runtimes_CXX=yes
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ ld_shlibs_CXX=no
+ ;;
+
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+ ;;
+
+ haiku*)
+ archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ link_all_deplibs_CXX=yes
+ ;;
+
+ hpux9*)
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ export_dynamic_flag_spec_CXX='$wl-E'
+ hardcode_direct_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test no = "$with_gnu_ld"; then
+ hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ export_dynamic_flag_spec_CXX='$wl-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ ;;
+ *)
+ hardcode_direct_CXX=yes
+ hardcode_direct_absolute_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[3-9]*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+ ;;
+ esac
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+ inherit_rpath_CXX=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ archive_cmds_need_lc_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
+ prelink_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ old_archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ archive_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+ archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ compiler_needs_object_CXX=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ ld_shlibs_CXX=yes
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ hardcode_direct_absolute_CXX=yes
+ archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
+ export_dynamic_flag_spec_CXX='$wl-E'
+ whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ ;;
+ *)
+ allow_undefined_flag_CXX=' -expect_unresolved \*'
+ archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
+ $RM $lib.exp'
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ ;;
+ esac
+
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
+ case $host in
+ osf3*)
+ archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ esac
+
+ hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ archive_cmds_need_lc_CXX=yes
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_shlibpath_var_CXX=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ link_all_deplibs_CXX=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ no_undefined_flag_CXX=' $wl-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require '-G' NOT '-shared' on this
+ # platform.
+ archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ no_undefined_flag_CXX='$wl-z,text'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ no_undefined_flag_CXX='$wl-z,text'
+ allow_undefined_flag_CXX='$wl-z,nodefs'
+ archive_cmds_need_lc_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+ export_dynamic_flag_spec_CXX='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
+ '"$old_archive_cmds_CXX"
+ reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
+ '"$reload_cmds_CXX"
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+ test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+ GCC_CXX=$GXX
+ LD_CXX=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ # Dependencies to place before and after the object being linked:
+predep_objects_CXX=
+postdep_objects_CXX=
+predeps_CXX=
+postdeps_CXX=
+compiler_lib_search_path_CXX=
+
+cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test x-L = "$p" ||
+ test x-R = "$p"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test no = "$pre_test_object_deps_done"; then
+ case $prev in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$compiler_lib_search_path_CXX"; then
+ compiler_lib_search_path_CXX=$prev$p
+ else
+ compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$postdeps_CXX"; then
+ postdeps_CXX=$prev$p
+ else
+ postdeps_CXX="${postdeps_CXX} $prev$p"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test no = "$pre_test_object_deps_done"; then
+ if test -z "$predep_objects_CXX"; then
+ predep_objects_CXX=$p
+ else
+ predep_objects_CXX="$predep_objects_CXX $p"
+ fi
+ else
+ if test -z "$postdep_objects_CXX"; then
+ postdep_objects_CXX=$p
+ else
+ postdep_objects_CXX="$postdep_objects_CXX $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling CXX test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+case $host_os in
+interix[3-9]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ predep_objects_CXX=
+ postdep_objects_CXX=
+ postdeps_CXX=
+ ;;
+
+linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ # Adding this requires a known-good setup of shared libraries for
+ # Sun compiler versions before 5.6, else PIC objects from an old
+ # archive will be linked into the output, leading to subtle bugs.
+ if test yes != "$solaris_use_stlport4"; then
+ postdeps_CXX='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+esac
+
+
+case " $postdeps_CXX " in
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
+esac
+ compiler_lib_search_dirs_CXX=
+if test -n "${compiler_lib_search_path_CXX}"; then
+ compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ lt_prog_compiler_wl_CXX=
+lt_prog_compiler_pic_CXX=
+lt_prog_compiler_static_CXX=
+
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test yes = "$GXX"; then
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ fi
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ case $host_os in
+ os2*)
+ lt_prog_compiler_static_CXX='$wl-static'
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_CXX='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ lt_prog_compiler_pic_CXX=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ lt_prog_compiler_static_CXX=
+ ;;
+ interix[3-9]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_CXX=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[4-9]*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ else
+ lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ if test ia64 != "$host_cpu"; then
+ lt_prog_compiler_pic_CXX='+Z'
+ fi
+ ;;
+ aCC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64, which still supported -KPIC.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-fpic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-qpic'
+ lt_prog_compiler_static_CXX='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ lt_prog_compiler_pic_CXX='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ lt_prog_compiler_pic_CXX='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ lt_prog_compiler_wl_CXX='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ lt_prog_compiler_pic_CXX='-pic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ lt_prog_compiler_can_build_shared_CXX=no
+ ;;
+ esac
+ fi
+
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_CXX=
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
+ ;;
+esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
+lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_pic_works_CXX=no
+ ac_outfile=conftest.$ac_objext
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_pic_works_CXX=yes
+ fi
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
+ case $lt_prog_compiler_pic_CXX in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
+ esac
+else
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_can_build_shared_CXX=no
+fi
+
+fi
+
+
+
+
+
+#
+# Check to make sure the static flag actually works.
+#
+wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_static_works_CXX=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ else
+ lt_cv_prog_compiler_static_works_CXX=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
+
+if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
+ :
+else
+ lt_prog_compiler_static_CXX=
+fi
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w . 2>&5
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+
+
+hard_links=nottested
+if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
+$as_echo_n "checking if we can lock with hard links... " >&6; }
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
+$as_echo "$hard_links" >&6; }
+ if test no = "$hard_links"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
+$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ case $host_os in
+ aix[4-9]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX=$ltdll_cmds
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+ exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+ ;;
+ esac
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+$as_echo "$ld_shlibs_CXX" >&6; }
+test no = "$ld_shlibs_CXX" && can_build_shared=no
+
+with_gnu_ld_CXX=$with_gnu_ld
+
+
+
+
+
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_CXX" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_CXX=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $archive_cmds_CXX in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_CXX
+ pic_flag=$lt_prog_compiler_pic_CXX
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+ allow_undefined_flag_CXX=
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
+ (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ then
+ lt_cv_archive_cmds_need_lc_CXX=no
+ else
+ lt_cv_archive_cmds_need_lc_CXX=yes
+ fi
+ allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
+$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
+ archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
+$as_echo_n "checking dynamic linker characteristics... " >&6; }
+
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[4-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a(lib.so.V)'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[45]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[23].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[3-9]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
+ lt_cv_shlibpath_overrides_runpath=yes
+fi
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
+$as_echo "$dynamic_linker" >&6; }
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
+$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
+hardcode_action_CXX=
+if test -n "$hardcode_libdir_flag_spec_CXX" ||
+ test -n "$runpath_var_CXX" ||
+ test yes = "$hardcode_automatic_CXX"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$hardcode_direct_CXX" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
+ test no != "$hardcode_minus_L_CXX"; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_CXX=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_CXX=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_CXX=unsupported
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
+$as_echo "$hardcode_action_CXX" >&6; }
+
+if test relink = "$hardcode_action_CXX" ||
+ test yes = "$inherit_rpath_CXX"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+
+
+
+
+
+
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test yes != "$_lt_caught_CXX_error"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ac_config_commands="$ac_config_commands libtool"
+
+
+
+
+# Only expand once:
+
+
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-lgmp':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
+$as_echo_n "checking for main in -lgmp... " >&6; }
+if ${ac_cv_lib_gmp_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lgmp $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_gmp_main=yes
+else
+ ac_cv_lib_gmp_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
+$as_echo "$ac_cv_lib_gmp_main" >&6; }
+if test "x$ac_cv_lib_gmp_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBGMP 1
+_ACEOF
+
+ LIBS="-lgmp $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lm':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
+$as_echo_n "checking for main in -lm... " >&6; }
+if ${ac_cv_lib_m_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_main=yes
+else
+ ac_cv_lib_m_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
+$as_echo "$ac_cv_lib_m_main" >&6; }
+if test "x$ac_cv_lib_m_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBM 1
+_ACEOF
+
+ LIBS="-lm $LIBS"
+
+fi
+
+# FIXME: Replace `main' with a function in `-lrt':
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrt" >&5
+$as_echo_n "checking for main in -lrt... " >&6; }
+if ${ac_cv_lib_rt_main+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lrt $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_rt_main=yes
+else
+ ac_cv_lib_rt_main=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_main" >&5
+$as_echo "$ac_cv_lib_rt_main" >&6; }
+if test "x$ac_cv_lib_rt_main" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBRT 1
+_ACEOF
+
+ LIBS="-lrt $LIBS"
+
+fi
+
+
+# Checks for header files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
+$as_echo_n "checking for X... " >&6; }
+
+
+# Check whether --with-x was given.
+if test "${with_x+set}" = set; then :
+ withval=$with_x;
+fi
+
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
+if test "x$with_x" = xno; then
+ # The user explicitly disabled X.
+ have_x=disabled
+else
+ case $x_includes,$x_libraries in #(
+ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
+ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # One or both of the vars are not set, and there is no cached value.
+ac_x_includes=no ac_x_libraries=no
+rm -f -r conftest.dir
+if mkdir conftest.dir; then
+ cd conftest.dir
+ cat >Imakefile <<'_ACEOF'
+incroot:
+ @echo incroot='${INCROOT}'
+usrlibdir:
+ @echo usrlibdir='${USRLIBDIR}'
+libdir:
+ @echo libdir='${LIBDIR}'
+_ACEOF
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
+ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+ for ac_var in incroot usrlibdir libdir; do
+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
+ done
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
+ for ac_extension in a so sl dylib la dll; do
+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
+ test -f "$ac_im_libdir/libX11.$ac_extension"; then
+ ac_im_usrlibdir=$ac_im_libdir; break
+ fi
+ done
+ # Screen out bogus values from the imake configuration. They are
+ # bogus both because they are the default anyway, and because
+ # using them would break gcc on systems where it needs fixed includes.
+ case $ac_im_incroot in
+ /usr/include) ac_x_includes= ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
+ esac
+ case $ac_im_usrlibdir in
+ /usr/lib | /usr/lib64 | /lib | /lib64) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
+ esac
+ fi
+ cd ..
+ rm -f -r conftest.dir
+fi
+
+# Standard set of common directories for X headers.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ac_x_header_dirs='
+/usr/X11/include
+/usr/X11R7/include
+/usr/X11R6/include
+/usr/X11R5/include
+/usr/X11R4/include
+
+/usr/include/X11
+/usr/include/X11R7
+/usr/include/X11R6
+/usr/include/X11R5
+/usr/include/X11R4
+
+/usr/local/X11/include
+/usr/local/X11R7/include
+/usr/local/X11R6/include
+/usr/local/X11R5/include
+/usr/local/X11R4/include
+
+/usr/local/include/X11
+/usr/local/include/X11R7
+/usr/local/include/X11R6
+/usr/local/include/X11R5
+/usr/local/include/X11R4
+
+/usr/X386/include
+/usr/x386/include
+/usr/XFree86/include/X11
+
+/usr/include
+/usr/local/include
+/usr/unsupported/include
+/usr/athena/include
+/usr/local/x11r5/include
+/usr/lpp/Xamples/include
+
+/usr/openwin/include
+/usr/openwin/share/include'
+
+if test "$ac_x_includes" = no; then
+ # Guess where to find include files, by looking for Xlib.h.
+ # First, try using that file with no special directory specified.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <X11/Xlib.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # We can compile using X headers with no special include directory.
+ac_x_includes=
+else
+ for ac_dir in $ac_x_header_dirs; do
+ if test -r "$ac_dir/X11/Xlib.h"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+done
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+fi # $ac_x_includes = no
+
+if test "$ac_x_libraries" = no; then
+ # Check for the libraries.
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS=$LIBS
+ LIBS="-lX11 $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <X11/Xlib.h>
+int
+main ()
+{
+XrmInitialize ()
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ LIBS=$ac_save_LIBS
+# We can link X programs with no special library path.
+ac_x_libraries=
+else
+ LIBS=$ac_save_LIBS
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+do
+ # Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl dylib la dll; do
+ if test -r "$ac_dir/libX11.$ac_extension"; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi # $ac_x_libraries = no
+
+case $ac_x_includes,$ac_x_libraries in #(
+ no,* | *,no | *\'*)
+ # Didn't find X, or a directory has "'" in its name.
+ ac_cv_have_x="have_x=no";; #(
+ *)
+ # Record where we found X for the cache.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$ac_x_includes'\
+ ac_x_libraries='$ac_x_libraries'"
+esac
+fi
+;; #(
+ *) have_x=yes;;
+ esac
+ eval "$ac_cv_have_x"
+fi # $with_x != no
+
+if test "$have_x" != yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
+$as_echo "$have_x" >&6; }
+ no_x=yes
+else
+ # If each of the values was on the command line, it overrides each guess.
+ test "x$x_includes" = xNONE && x_includes=$ac_x_includes
+ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
+ # Update the cache value to reflect the command line values.
+ ac_cv_have_x="have_x=yes\
+ ac_x_includes='$x_includes'\
+ ac_x_libraries='$x_libraries'"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
+fi
+
+for ac_header in fcntl.h libintl.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+# Checks for typedefs, structures, and compiler characteristics.
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
+if test "x$ac_cv_type_pid_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define pid_t int
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
+if test "x$ac_cv_type_size_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define size_t unsigned int
+_ACEOF
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
+if ${ac_cv_type_uid_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "uid_t" >/dev/null 2>&1; then :
+ ac_cv_type_uid_t=yes
+else
+ ac_cv_type_uid_t=no
+fi
+rm -f conftest*
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
+$as_echo "$ac_cv_type_uid_t" >&6; }
+if test $ac_cv_type_uid_t = no; then
+
+$as_echo "#define uid_t int" >>confdefs.h
+
+
+$as_echo "#define gid_t int" >>confdefs.h
+
+fi
+
+
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.9.0
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
+$as_echo_n "checking for UUID... " >&6; }
+
+if test -n "$UUID_CFLAGS"; then
+ pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$UUID_LIBS"; then
+ pkg_cv_UUID_LIBS="$UUID_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 1.0.2\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "uuid >= 1.0.2") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= 1.0.2" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ else
+ UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 1.0.2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$UUID_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (uuid >= 1.0.2) were not met:
+
+$UUID_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables UUID_CFLAGS
+and UUID_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
+ UUID_LIBS=$pkg_cv_UUID_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAO" >&5
+$as_echo_n "checking for LIBAO... " >&6; }
+
+if test -n "$LIBAO_CFLAGS"; then
+ pkg_cv_LIBAO_CFLAGS="$LIBAO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_CFLAGS=`$PKG_CONFIG --cflags "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBAO_LIBS"; then
+ pkg_cv_LIBAO_LIBS="$LIBAO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao >= 1.1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "ao >= 1.1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBAO_LIBS=`$PKG_CONFIG --libs "ao >= 1.1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ else
+ LIBAO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ao >= 1.1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBAO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (ao >= 1.1.0) were not met:
+
+$LIBAO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBAO_CFLAGS
+and LIBAO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBAO_CFLAGS=$pkg_cv_LIBAO_CFLAGS
+ LIBAO_LIBS=$pkg_cv_LIBAO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBASOUND2" >&5
+$as_echo_n "checking for LIBASOUND2... " >&6; }
+
+if test -n "$LIBASOUND2_CFLAGS"; then
+ pkg_cv_LIBASOUND2_CFLAGS="$LIBASOUND2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBASOUND2_LIBS"; then
+ pkg_cv_LIBASOUND2_LIBS="$LIBASOUND2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "alsa >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBASOUND2_LIBS=`$PKG_CONFIG --libs "alsa >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ else
+ LIBASOUND2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBASOUND2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (alsa >= 1.0.25) were not met:
+
+$LIBASOUND2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBASOUND2_CFLAGS
+and LIBASOUND2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBASOUND2_CFLAGS=$pkg_cv_LIBASOUND2_CFLAGS
+ LIBASOUND2_LIBS=$pkg_cv_LIBASOUND2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
+$as_echo_n "checking for LIBXML2... " >&6; }
+
+if test -n "$LIBXML2_CFLAGS"; then
+ pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBXML2_LIBS"; then
+ pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.8.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.8.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.8.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ else
+ LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.8.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBXML2_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libxml-2.0 >= 2.8.0) were not met:
+
+$LIBXML2_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBXML2_CFLAGS
+and LIBXML2_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
+ LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
+$as_echo_n "checking for SNDFILE... " >&6; }
+
+if test -n "$SNDFILE_CFLAGS"; then
+ pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$SNDFILE_LIBS"; then
+ pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.25\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.25") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.25" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ else
+ SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.25" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$SNDFILE_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (sndfile >= 1.0.25) were not met:
+
+$SNDFILE_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables SNDFILE_CFLAGS
+and SNDFILE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
+ SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBINSTPATCH" >&5
+$as_echo_n "checking for LIBINSTPATCH... " >&6; }
+
+if test -n "$LIBINSTPATCH_CFLAGS"; then
+ pkg_cv_LIBINSTPATCH_CFLAGS="$LIBINSTPATCH_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_CFLAGS=`$PKG_CONFIG --cflags "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$LIBINSTPATCH_LIBS"; then
+ pkg_cv_LIBINSTPATCH_LIBS="$LIBINSTPATCH_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinstpatch-1.0 >= 1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libinstpatch-1.0 >= 1.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_LIBINSTPATCH_LIBS=`$PKG_CONFIG --libs "libinstpatch-1.0 >= 1.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ else
+ LIBINSTPATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinstpatch-1.0 >= 1.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$LIBINSTPATCH_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (libinstpatch-1.0 >= 1.0) were not met:
+
+$LIBINSTPATCH_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables LIBINSTPATCH_CFLAGS
+and LIBINSTPATCH_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ LIBINSTPATCH_CFLAGS=$pkg_cv_LIBINSTPATCH_CFLAGS
+ LIBINSTPATCH_LIBS=$pkg_cv_LIBINSTPATCH_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
+$as_echo_n "checking for GOBJECT... " >&6; }
+
+if test -n "$GOBJECT_CFLAGS"; then
+ pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GOBJECT_LIBS"; then
+ pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ else
+ GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GOBJECT_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3) were not met:
+
+$GOBJECT_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GOBJECT_CFLAGS
+and GOBJECT_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
+ GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDKPIXBUF" >&5
+$as_echo_n "checking for GDKPIXBUF... " >&6; }
+
+if test -n "$GDKPIXBUF_CFLAGS"; then
+ pkg_cv_GDKPIXBUF_CFLAGS="$GDKPIXBUF_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GDKPIXBUF_LIBS"; then
+ pkg_cv_GDKPIXBUF_LIBS="$GDKPIXBUF_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.26.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.26.1") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GDKPIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ else
+ GDKPIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.26.1" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GDKPIXBUF_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gdk-pixbuf-2.0 >= 2.26.1) were not met:
+
+$GDKPIXBUF_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GDKPIXBUF_CFLAGS
+and GDKPIXBUF_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GDKPIXBUF_CFLAGS=$pkg_cv_GDKPIXBUF_CFLAGS
+ GDKPIXBUF_LIBS=$pkg_cv_GDKPIXBUF_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
+$as_echo_n "checking for CAIRO... " >&6; }
+
+if test -n "$CAIRO_CFLAGS"; then
+ pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$CAIRO_LIBS"; then
+ pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.12.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "cairo >= 1.12.0") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.12.0" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ else
+ CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.12.0" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$CAIRO_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (cairo >= 1.12.0) were not met:
+
+$CAIRO_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables CAIRO_CFLAGS
+and CAIRO_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
+ CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
+$as_echo_n "checking for GTK... " >&6; }
+
+if test -n "$GTK_CFLAGS"; then
+ pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$GTK_LIBS"; then
+ pkg_cv_GTK_LIBS="$GTK_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.24.10\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.24.10") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.24.10" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ else
+ GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.24.10" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$GTK_PKG_ERRORS" >&5
+
+ as_fn_error $? "Package requirements (gtk+-2.0 >= 2.24.10) were not met:
+
+$GTK_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables GTK_CFLAGS
+and GTK_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
+ GTK_LIBS=$pkg_cv_GTK_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+
+
+
+#PKG_CHECK_MODULES([XMLRPC_UTIL], [xmlrpc_util >= 1.16.33])
+#AC_SUBST(XMLRPC_UTIL_CFLAGS)
+#AC_SUBST(XMLRPC_UTIL_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER], [xmlrpc_client >= 1.#16.33])
+#AC_SUBST(XMLRPC_SERVER_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_CGI], [xmlrpc_server_cgi >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_CGI_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_CGI_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_ABYSS], [xmlrpc_server_abyss >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_ABYSS_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_ABYSS_LIBS)$
+
+# Checks for library functions.
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_malloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *malloc ();
+#endif
+
+int
+main ()
+{
+return ! malloc (0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_malloc_0_nonnull=yes
+else
+ ac_cv_func_malloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
+
+$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
+
+else
+ $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
+
+ case " $LIBOBJS " in
+ *" malloc.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "#define malloc rpl_malloc" >>confdefs.h
+
+fi
+
+
+for ac_header in stdlib.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_STDLIB_H 1
+_ACEOF
+
+fi
+
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
+$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
+if ${ac_cv_func_realloc_0_nonnull+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then :
+ ac_cv_func_realloc_0_nonnull=no
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
+# include <stdlib.h>
+#else
+char *realloc ();
+#endif
+
+int
+main ()
+{
+return ! realloc (0, 0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_func_realloc_0_nonnull=yes
+else
+ ac_cv_func_realloc_0_nonnull=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
+$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
+if test $ac_cv_func_realloc_0_nonnull = yes; then :
+
+$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
+
+else
+ $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
+
+ case " $LIBOBJS " in
+ *" realloc.$ac_objext "* ) ;;
+ *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
+ ;;
+esac
+
+
+$as_echo "#define realloc rpl_realloc" >>confdefs.h
+
+fi
+
+
+for ac_func in atexit clock_gettime floor memset socket sqrt strchr strtol strtoul
+do :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by gsequencer $as_me 0.4.3, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <weedlight at gmail.com>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+gsequencer config.status 0.4.3
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
+predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
+postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
+predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
+postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
+LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
+reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
+reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
+export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
+allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
+predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
+postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
+compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
+
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in AS \
+DLLTOOL \
+OBJDUMP \
+SHELL \
+ECHO \
+PATH_SEPARATOR \
+SED \
+GREP \
+EGREP \
+FGREP \
+LD \
+NM \
+LN_S \
+lt_SP2NL \
+lt_NL2SP \
+reload_flag \
+deplibs_check_method \
+file_magic_cmd \
+file_magic_glob \
+want_nocaseglob \
+sharedlib_from_linklib_cmd \
+AR \
+AR_FLAGS \
+archiver_list_spec \
+STRIP \
+RANLIB \
+CC \
+CFLAGS \
+compiler \
+lt_cv_sys_global_symbol_pipe \
+lt_cv_sys_global_symbol_to_cdecl \
+lt_cv_sys_global_symbol_to_import \
+lt_cv_sys_global_symbol_to_c_name_address \
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
+lt_cv_nm_interface \
+nm_file_list_spec \
+lt_cv_truncate_bin \
+lt_prog_compiler_no_builtin_flag \
+lt_prog_compiler_pic \
+lt_prog_compiler_wl \
+lt_prog_compiler_static \
+lt_cv_prog_compiler_c_o \
+need_locks \
+MANIFEST_TOOL \
+DSYMUTIL \
+NMEDIT \
+LIPO \
+OTOOL \
+OTOOL64 \
+shrext_cmds \
+export_dynamic_flag_spec \
+whole_archive_flag_spec \
+compiler_needs_object \
+with_gnu_ld \
+allow_undefined_flag \
+no_undefined_flag \
+hardcode_libdir_flag_spec \
+hardcode_libdir_separator \
+exclude_expsyms \
+include_expsyms \
+file_list_spec \
+variables_saved_for_relink \
+libname_spec \
+library_names_spec \
+soname_spec \
+install_override_mode \
+finish_eval \
+old_striplib \
+striplib \
+compiler_lib_search_dirs \
+predep_objects \
+postdep_objects \
+predeps \
+postdeps \
+compiler_lib_search_path \
+LD_CXX \
+reload_flag_CXX \
+compiler_CXX \
+lt_prog_compiler_no_builtin_flag_CXX \
+lt_prog_compiler_pic_CXX \
+lt_prog_compiler_wl_CXX \
+lt_prog_compiler_static_CXX \
+lt_cv_prog_compiler_c_o_CXX \
+export_dynamic_flag_spec_CXX \
+whole_archive_flag_spec_CXX \
+compiler_needs_object_CXX \
+with_gnu_ld_CXX \
+allow_undefined_flag_CXX \
+no_undefined_flag_CXX \
+hardcode_libdir_flag_spec_CXX \
+hardcode_libdir_separator_CXX \
+exclude_expsyms_CXX \
+include_expsyms_CXX \
+file_list_spec_CXX \
+compiler_lib_search_dirs_CXX \
+predep_objects_CXX \
+postdep_objects_CXX \
+predeps_CXX \
+postdeps_CXX \
+compiler_lib_search_path_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in reload_cmds \
+old_postinstall_cmds \
+old_postuninstall_cmds \
+old_archive_cmds \
+extract_expsyms_cmds \
+old_archive_from_new_cmds \
+old_archive_from_expsyms_cmds \
+archive_cmds \
+archive_expsym_cmds \
+module_cmds \
+module_expsym_cmds \
+export_symbols_cmds \
+prelink_cmds \
+postlink_cmds \
+postinstall_cmds \
+postuninstall_cmds \
+finish_cmds \
+sys_lib_search_path_spec \
+sys_lib_dlsearch_path_spec \
+reload_cmds_CXX \
+old_archive_cmds_CXX \
+old_archive_from_new_cmds_CXX \
+old_archive_from_expsyms_cmds_CXX \
+archive_cmds_CXX \
+archive_expsym_cmds_CXX \
+module_cmds_CXX \
+module_expsym_cmds_CXX \
+export_symbols_cmds_CXX \
+prelink_cmds_CXX \
+postlink_cmds_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+ac_aux_dir='$ac_aux_dir'
+
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ RM='$RM'
+ ofile='$ofile'
+
+
+
+
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "src/ags/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/Makefile" ;;
+ "src/ags/X/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/Makefile" ;;
+ "src/ags/X/editor/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/editor/Makefile" ;;
+ "src/ags/X/machine/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/X/machine/Makefile" ;;
+ "src/ags/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/Makefile" ;;
+ "src/ags/audio/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/file/Makefile" ;;
+ "src/ags/audio/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/recall/Makefile" ;;
+ "src/ags/audio/task/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/Makefile" ;;
+ "src/ags/audio/task/recall/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/audio/task/recall/Makefile" ;;
+ "src/ags/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/file/Makefile" ;;
+ "src/ags/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/lib/Makefile" ;;
+ "src/ags/object/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/object/Makefile" ;;
+ "src/ags/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/plugin/Makefile" ;;
+ "src/ags/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/server/Makefile" ;;
+ "src/ags/thread/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/thread/Makefile" ;;
+ "src/ags/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/util/Makefile" ;;
+ "src/ags/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/ags/widget/Makefile" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_tt"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+ } >"$ac_tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$ac_tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+ "libtool":C)
+
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags='CXX '
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Assembler program.
+AS=$lt_AS
+
+# DLL creation program.
+DLLTOOL=$lt_DLLTOOL
+
+# Object dumper program.
+OBJDUMP=$lt_OBJDUMP
+
+# Which release of libtool.m4 was used?
+macro_version=$macro_version
+macro_revision=$macro_revision
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# What type of objects to build.
+pic_mode=$pic_mode
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# An echo program that protects backslashes.
+ECHO=$lt_ECHO
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=$lt_PATH_SEPARATOR
+
+# The host system.
+host_alias=$host_alias
+host=$host
+host_os=$host_os
+
+# The build system.
+build_alias=$build_alias
+build=$build
+build_os=$build_os
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="\$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP=$lt_GREP
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# A literal string matcher.
+FGREP=$lt_FGREP
+
+# A BSD- or MS-compatible name lister.
+NM=$lt_NM
+
+# Whether we need soft or hard links.
+LN_S=$lt_LN_S
+
+# What is the maximum length of a command?
+max_cmd_len=$max_cmd_len
+
+# Object file suffix (normally "o").
+objext=$ac_objext
+
+# Executable file suffix (normally "").
+exeext=$exeext
+
+# whether the shell understands "unset".
+lt_unset=$lt_unset
+
+# turn spaces into newlines.
+SP2NL=$lt_lt_SP2NL
+
+# turn newlines into spaces.
+NL2SP=$lt_lt_NL2SP
+
+# convert \$build file names to \$host format.
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+
+# convert \$build files to toolchain format.
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd=$lt_file_magic_cmd
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=$lt_file_magic_glob
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob=$lt_want_nocaseglob
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
+
+# The archiver.
+AR=$lt_AR
+
+# Flags to create an archive.
+AR_FLAGS=$lt_AR_FLAGS
+
+# How to feed a file listing to the archiver.
+archiver_list_spec=$lt_archiver_list_spec
+
+# A symbol stripping program.
+STRIP=$lt_STRIP
+
+# Commands used to install an old-style archive.
+RANLIB=$lt_RANLIB
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=$lock_old_archive_extraction
+
+# A C compiler.
+LTCC=$lt_CC
+
+# LTCC compiler flags.
+LTCFLAGS=$lt_CFLAGS
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm into a list of symbols to manually relocate.
+global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
+# The name lister interface.
+nm_interface=$lt_lt_cv_nm_interface
+
+# Specify filename containing input files for \$NM.
+nm_file_list_spec=$lt_nm_file_list_spec
+
+# The root where to search for dependent libraries,and where our libraries should be installed.
+lt_sysroot=$lt_sysroot
+
+# Command to truncate a binary pipe.
+lt_truncate_bin=$lt_lt_cv_truncate_bin
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=$MAGIC_CMD
+
+# Must we lock files when doing compilation?
+need_locks=$lt_need_locks
+
+# Manifest tool.
+MANIFEST_TOOL=$lt_MANIFEST_TOOL
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=$lt_DSYMUTIL
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=$lt_NMEDIT
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=$lt_LIPO
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=$lt_OTOOL
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=$lt_OTOOL64
+
+# Old archive suffix (normally "a").
+libext=$libext
+
+# Shared library suffix (normally ".so").
+shrext_cmds=$lt_shrext_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink=$lt_variables_saved_for_relink
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Library versioning type.
+version_type=$version_type
+
+# Shared library runtime path variable.
+runpath_var=$runpath_var
+
+# Shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=$lt_install_override_mode
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=$lt_postinstall_cmds
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=$lt_finish_eval
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries.
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds
+
+# A language specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects
+postdep_objects=$lt_postdep_objects
+predeps=$lt_predeps
+postdeps=$lt_postdeps
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path
+
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+
+ltmain=$ac_aux_dir/ltmain.sh
+
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+
+ cat <<_LT_EOF >> "$ofile"
+
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+# The linker used to build libraries.
+LD=$lt_LD_CXX
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag_CXX
+reload_cmds=$lt_reload_cmds_CXX
+
+# Commands used to build an old-style archive.
+old_archive_cmds=$lt_old_archive_cmds_CXX
+
+# A language specific compiler.
+CC=$lt_compiler_CXX
+
+# Is the compiler the GNU compiler?
+with_gcc=$GCC_CXX
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_CXX
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object=$lt_compiler_needs_object_CXX
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+
+# Commands used to build a shared archive.
+archive_cmds=$lt_archive_cmds_CXX
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=$lt_module_cmds_CXX
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld=$lt_with_gnu_ld_CXX
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_CXX
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=$hardcode_direct_CXX
+
+# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting \$shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=$hardcode_direct_absolute_CXX
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=$hardcode_minus_L_CXX
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=$hardcode_automatic_CXX
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=$inherit_rpath_CXX
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_CXX
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=$always_export_symbols_CXX
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_CXX
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_CXX
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=$lt_prelink_cmds_CXX
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=$lt_postlink_cmds_CXX
+
+# Specify filename containing input files.
+file_list_spec=$lt_file_list_spec_CXX
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_CXX
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=$lt_predep_objects_CXX
+postdep_objects=$lt_postdep_objects_CXX
+predeps=$lt_predeps_CXX
+postdeps=$lt_postdeps_CXX
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+
+# ### END LIBTOOL TAG CONFIG: CXX
+_LT_EOF
+
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+
+#
+# CONFIG_SUBDIRS section.
+#
+if test "$no_recursion" != yes; then
+
+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments
+ # so they do not pile up.
+ ac_sub_configure_args=
+ ac_prev=
+ eval "set x $ac_configure_args"
+ shift
+ for ac_arg
+ do
+ if test -n "$ac_prev"; then
+ ac_prev=
+ continue
+ fi
+ case $ac_arg in
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
+ | --c=*)
+ ;;
+ --config-cache | -C)
+ ;;
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ ;;
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ ;;
+ --disable-option-checking)
+ ;;
+ *)
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
+ esac
+ done
+
+ # Always prepend --prefix to ensure using the same prefix
+ # in subdir configurations.
+ ac_arg="--prefix=$prefix"
+ case $ac_arg in
+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
+
+ # Pass --silent
+ if test "$silent" = yes; then
+ ac_sub_configure_args="--silent $ac_sub_configure_args"
+ fi
+
+ # Always prepend --disable-option-checking to silence warnings, since
+ # different subdirs can have different --enable and --with options.
+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
+
+ ac_popdir=`pwd`
+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
+
+ # Do not complain, so a configure script can configure whichever
+ # parts of a large source tree are present.
+ test -d "$srcdir/$ac_dir" || continue
+
+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
+ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
+ $as_echo "$ac_msg" >&6
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ cd "$ac_dir"
+
+ # Check for guested configure; otherwise get Cygnus style configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ ac_sub_configure=$ac_srcdir/configure.gnu
+ elif test -f "$ac_srcdir/configure"; then
+ ac_sub_configure=$ac_srcdir/configure
+ elif test -f "$ac_srcdir/configure.in"; then
+ # This should be Cygnus configure.
+ ac_sub_configure=$ac_aux_dir/configure
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
+ ac_sub_configure=
+ fi
+
+ # The recursion is here.
+ if test -n "$ac_sub_configure"; then
+ # Make the cache file name correct relative to the subdirectory.
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
+ *) # Relative name.
+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
+ esac
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
+ # The eval makes quoting arguments work.
+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
+ as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
+ fi
+
+ cd "$ac_popdir"
+ done
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..374a880
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,143 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([gsequencer], [0.4.3], [weedlight at gmail.com])
+AC_CONFIG_SRCDIR([config.h.in])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_SUBDIRS([po
+ doc
+ src/ags
+ src/ags/X
+ src/ags/X/editor
+ src/ags/X/machine
+ src/ags/audio
+ src/ags/audio/file
+ src/ags/audio/recall
+ src/ags/audio/task
+ src/ags/audio/task/recall
+ src/ags/file
+ src/ags/lib
+ src/ags/object
+ src/ags/plugin
+ src/ags/server
+ src/ags/thread
+ src/ags/util
+ src/ags/widget])
+AC_CONFIG_FILES([Makefile
+ po/Makefile
+ doc/Makefile
+ src/ags/Makefile
+ src/ags/X/Makefile
+ src/ags/X/editor/Makefile
+ src/ags/X/machine/Makefile
+ src/ags/audio/Makefile
+ src/ags/audio/file/Makefile
+ src/ags/audio/recall/Makefile
+ src/ags/audio/task/Makefile
+ src/ags/audio/task/recall/Makefile
+ src/ags/file/Makefile
+ src/ags/lib/Makefile
+ src/ags/object/Makefile
+ src/ags/plugin/Makefile
+ src/ags/server/Makefile
+ src/ags/thread/Makefile
+ src/ags/util/Makefile
+ src/ags/widget/Makefile])
+
+AM_INIT_AUTOMAKE(gsequencer, 0.4.3)
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_AWK
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_PROG_RANLIB
+AM_PROG_CC_STDC
+AC_C_CONST
+AC_LIBTOOL_WIN32_DLL
+AM_PROG_LIBTOOL
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-lgmp':
+AC_CHECK_LIB([gmp], [main])
+# FIXME: Replace `main' with a function in `-lm':
+AC_CHECK_LIB([m], [main])
+# FIXME: Replace `main' with a function in `-lrt':
+AC_CHECK_LIB([rt], [main])
+
+# Checks for header files.
+AC_PATH_X
+AC_CHECK_HEADERS([fcntl.h libintl.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_TYPE_PID_T
+AC_TYPE_SIZE_T
+AC_TYPE_UID_T
+
+PKG_CHECK_MODULES([UUID], [uuid >= 1.0.2])
+AC_SUBST(UUID_CFLAGS)
+AC_SUBST(UUID_LIBS)
+
+PKG_CHECK_MODULES([LIBAO], [ao >= 1.1.0])
+AC_SUBST(LIBAO_CFLAGS)
+AC_SUBST(LIBAO_LIBS)
+
+PKG_CHECK_MODULES([LIBASOUND2], [alsa >= 1.0.25])
+AC_SUBST(LIBASOUND2_CFLAGS)
+AC_SUBST(LIBASOUND2_LIBS)
+
+PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.8.0])
+AC_SUBST(LIBXML2_CFLAGS)
+AC_SUBST(LIBXML2_LIBS)
+
+PKG_CHECK_MODULES([SNDFILE], [sndfile >= 1.0.25])
+AC_SUBST(SNDFILE_CFLAGS)
+AC_SUBST(SNDFILE_LIBS)
+
+PKG_CHECK_MODULES([LIBINSTPATCH], [libinstpatch-1.0 >= 1.0])
+AC_SUBST(LIBINSTPATCH_CFLAGS)
+AC_SUBST(LIBINSTPATCH_LIBS)
+
+PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.32.3 glib-2.0 >= 2.32.3 gmodule-2.0 >= 2.32.3 gthread-2.0 >= 2.32.3])
+AC_SUBST(GOBJECT_CFLAGS)
+AC_SUBST(GOBJECT_LIBS)
+
+PKG_CHECK_MODULES([GDKPIXBUF], [gdk-pixbuf-2.0 >= 2.26.1])
+AC_SUBST(GDKPIXBUF_CFLAGS)
+AC_SUBST(GDKPIXBUF_LIBS)
+
+PKG_CHECK_MODULES([CAIRO], [cairo >= 1.12.0])
+AC_SUBST(CAIRO_CFLAGS)
+AC_SUBST(CAIRO_LIBS)
+
+PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.24.10])
+AC_SUBST(GTK_CFLAGS)
+AC_SUBST(GTK_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_UTIL], [xmlrpc_util >= 1.16.33])
+#AC_SUBST(XMLRPC_UTIL_CFLAGS)
+#AC_SUBST(XMLRPC_UTIL_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER], [xmlrpc_client >= 1.#16.33])
+#AC_SUBST(XMLRPC_SERVER_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_CGI], [xmlrpc_server_cgi >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_CGI_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_CGI_LIBS)
+
+#PKG_CHECK_MODULES([XMLRPC_SERVER_ABYSS], [xmlrpc_server_abyss >= 1.16.33])
+#AC_SUBST(XMLRPC_SERVER_ABYSS_CFLAGS)
+#AC_SUBST(XMLRPC_SERVER_ABYSS_LIBS)$
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_FUNC_REALLOC
+AC_CHECK_FUNCS([atexit clock_gettime floor memset socket sqrt strchr strtol strtoul])
+
+AC_OUTPUT
+
diff --git a/depcomp b/depcomp
new file mode 100755
index 0000000..4ebd5b3
--- /dev/null
+++ b/depcomp
@@ -0,0 +1,791 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2013-05-30.07; # UTC
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva at dcc.unicamp.br>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by 'PROGRAMS ARGS'.
+ object Object file output by 'PROGRAMS ARGS'.
+ DEPDIR directory where to store dependencies.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputting dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit $?
+ ;;
+esac
+
+# Get the directory component of the given path, and save it in the
+# global variables '$dir'. Note that this directory component will
+# be either empty or ending with a '/' character. This is deliberate.
+set_dir_from ()
+{
+ case $1 in
+ */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
+ *) dir=;;
+ esac
+}
+
+# Get the suffix-stripped basename of the given path, and save it the
+# global variable '$base'.
+set_base_from ()
+{
+ base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
+}
+
+# If no dependency file was actually created by the compiler invocation,
+# we still have to create a dummy depfile, to avoid errors with the
+# Makefile "include basename.Plo" scheme.
+make_dummy_depfile ()
+{
+ echo "#dummy" > "$depfile"
+}
+
+# Factor out some common post-processing of the generated depfile.
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
+aix_post_process_depfile ()
+{
+ # If the compiler actually managed to produce a dependency file,
+ # post-process it.
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form 'foo.o: dependency.h'.
+ # Do two passes, one to just change these to
+ # $object: dependency.h
+ # and one to simply output
+ # dependency.h:
+ # which is needed to avoid the deleted-header problem.
+ { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
+ sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
+ } > "$depfile"
+ rm -f "$tmpdepfile"
+ else
+ make_dummy_depfile
+ fi
+}
+
+# A tabulation character.
+tab=' '
+# A newline character.
+nl='
+'
+# Character ranges might be problematic outside the C locale.
+# These definitions help.
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+lower=abcdefghijklmnopqrstuvwxyz
+digits=0123456789
+alpha=${upper}${lower}
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
+ exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
+# Some modes work just like other modes, but use different flags. We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write. Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+ # HP compiler uses -M and no extra arg.
+ gccflag=-M
+ depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+ # This is just like msvc7 but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
+ gccflag=-qmakedep=gcc,-MF
+ depmode=gcc
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff. Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am. Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+ for arg
+ do
+ case $arg in
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+ *) set fnord "$@" "$arg" ;;
+ esac
+ shift # fnord
+ shift # $arg
+ done
+ "$@"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ mv "$tmpdepfile" "$depfile"
+ ;;
+
+gcc)
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
+## (see the conditional assignment to $gccflag above).
+## There are various ways to get dependency output from gcc. Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+## up in a subdir. Having to rename by hand is ugly.
+## (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+## -MM, not -M (despite what the docs say). Also, it might not be
+## supported by the other compilers which use the 'gcc' depmode.
+## - Using -M directly means running the compiler twice (even worse
+## than renaming).
+ if test -z "$gccflag"; then
+ gccflag=-MD,
+ fi
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The second -e expression handles DOS-style file names with drive
+ # letters.
+ sed -e 's/^[^:]*: / /' \
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the "deleted header file" problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header). We avoid this by adding
+## dummy dependencies for each header file. Too bad gcc doesn't do
+## this for us directly.
+## Some versions of gcc put a space before the ':'. On the theory
+## that the space means something, we add a space to the output as
+## well. hp depmode also adds that space, but also prefixes the VPATH
+## to the object. Take care to not repeat it in the output.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+sgi)
+ if test "$libtool" = yes; then
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
+ else
+ "$@" -MDupdate "$tmpdepfile"
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
+ echo "$object : \\" > "$depfile"
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and replace this with sed code, as IRIX sed won't handle
+ # lines with more than a fixed number of characters (4096 in
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
+ # the IRIX cc adds comments like '#:fec' to the end of the
+ # dependency line.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
+ | tr "$nl" ' ' >> "$depfile"
+ echo >> "$depfile"
+ # The second pass generates a dummy entry for each header file.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+xlc)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+aix)
+ # The C for AIX Compiler uses -M and outputs the dependencies
+ # in a .u file. In older versions, this file always lives in the
+ # current directory. Also, the AIX compiler puts '$object:' at the
+ # start of each line; $object doesn't have directory information.
+ # Version 6 uses the directory in both cases.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$base.u
+ tmpdepfile3=$dir.libs/$base.u
+ "$@" -Wc,-M
+ else
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$dir$base.u
+ tmpdepfile3=$dir$base.u
+ "$@" -M
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ aix_post_process_depfile
+ ;;
+
+tcc)
+ # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
+ # FIXME: That version still under development at the moment of writing.
+ # Make that this statement remains true also for stable, released
+ # versions.
+ # It will wrap lines (doesn't matter whether long or short) with a
+ # trailing '\', as in:
+ #
+ # foo.o : \
+ # foo.c \
+ # foo.h \
+ #
+ # It will put a trailing '\' even on the last line, and will use leading
+ # spaces rather than leading tabs (at least since its commit 0394caf7
+ # "Emit spaces for -MD").
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
+ # We have to change lines of the first kind to '$object: \'.
+ sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
+ # And for each line of the second kind, we have to emit a 'dep.h:'
+ # dummy dependency, to avoid the deleted-header problem.
+ sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+## The order of this option in the case statement is important, since the
+## shell code in configure will try each of these formats in the order
+## listed in this file. A plain '-MD' option would be understood by many
+## compilers, so we must ensure this comes after the gcc and icc options.
+pgcc)
+ # Portland's C compiler understands '-MD'.
+ # Will always output deps to 'file.d' where file is the root name of the
+ # source file under compilation, even if file resides in a subdirectory.
+ # The object file name does not affect the name of the '.d' file.
+ # pgcc 10.2 will output
+ # foo.o: sub/foo.c sub/foo.h
+ # and will wrap long lines using '\' :
+ # foo.o: sub/foo.c ... \
+ # sub/foo.h ... \
+ # ...
+ set_dir_from "$object"
+ # Use the source, not the object, to determine the base name, since
+ # that's sadly what pgcc will do too.
+ set_base_from "$source"
+ tmpdepfile=$base.d
+
+ # For projects that build the same source file twice into different object
+ # files, the pgcc approach of using the *source* file root name can cause
+ # problems in parallel builds. Use a locking strategy to avoid stomping on
+ # the same $tmpdepfile.
+ lockdir=$base.d-lock
+ trap "
+ echo '$0: caught signal, cleaning up...' >&2
+ rmdir '$lockdir'
+ exit 1
+ " 1 2 13 15
+ numtries=100
+ i=$numtries
+ while test $i -gt 0; do
+ # mkdir is a portable test-and-set.
+ if mkdir "$lockdir" 2>/dev/null; then
+ # This process acquired the lock.
+ "$@" -MD
+ stat=$?
+ # Release the lock.
+ rmdir "$lockdir"
+ break
+ else
+ # If the lock is being held by a different process, wait
+ # until the winning process is done or we timeout.
+ while test -d "$lockdir" && test $i -gt 0; do
+ sleep 1
+ i=`expr $i - 1`
+ done
+ fi
+ i=`expr $i - 1`
+ done
+ trap - 1 2 13 15
+ if test $i -le 0; then
+ echo "$0: failed to acquire lock after $numtries attempts" >&2
+ echo "$0: check lockdir '$lockdir'" >&2
+ exit 1
+ fi
+
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each line is of the form `foo.o: dependent.h',
+ # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+ # Do two passes, one to just change these to
+ # `$object: dependent.h' and one to simply `dependent.h:'.
+ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp2)
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+ # compilers, which have integrated preprocessors. The correct option
+ # to use with these is +Maked; it writes dependencies to a file named
+ # 'foo.d', which lands next to the object file, wherever that
+ # happens to be.
+ # Much of this is similar to the tru64 case; see comments there.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir.libs/$base.d
+ "$@" -Wc,+Maked
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ "$@" +Maked
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add 'dependent.h:' lines.
+ sed -ne '2,${
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile" "$tmpdepfile2"
+ ;;
+
+tru64)
+ # The Tru64 compiler uses -MD to generate dependencies as a side
+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in 'foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+ set_dir_from "$object"
+ set_base_from "$object"
+
+ if test "$libtool" = yes; then
+ # Libtool generates 2 separate objects for the 2 libraries. These
+ # two compilations output dependencies in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir$base.o.d # libtool 1.5
+ tmpdepfile2=$dir.libs/$base.o.d # Likewise.
+ tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ # Same post-processing that is required for AIX mode.
+ aix_post_process_depfile
+ ;;
+
+msvc7)
+ if test "$libtool" = yes; then
+ showIncludes=-Wc,-showIncludes
+ else
+ showIncludes=-showIncludes
+ fi
+ "$@" $showIncludes > "$tmpdepfile"
+ stat=$?
+ grep -v '^Note: including file: ' "$tmpdepfile"
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The first sed program below extracts the file names and escapes
+ # backslashes for cygpath. The second sed program outputs the file
+ # name when reading, but also accumulates all include files in the
+ # hold buffer in order to output them again at the end. This only
+ # works with sed implementations that can handle large buffers.
+ sed < "$tmpdepfile" -n '
+/^Note: including file: *\(.*\)/ {
+ s//\1/
+ s/\\/\\\\/g
+ p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+ s/.*/'"$tab"'/
+ G
+ p
+}' >> "$depfile"
+ echo >> "$depfile" # make sure the fragment doesn't end with a backslash
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7msys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+#nosideeffect)
+ # This comment above is used by automake to tell side-effect
+ # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout, regardless of -o.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ test -z "$dashmflag" && dashmflag=-M
+ # Require at least two characters before searching for ':'
+ # in the target name. This is to cope with DOS-style filenames:
+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
+ "$@" $dashmflag |
+ sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this sed invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+dashXmstdout)
+ # This case only exists to satisfy depend.m4. It is never actually
+ # run, as this mode is specially recognized in the preamble.
+ exit 1
+ ;;
+
+makedepend)
+ "$@" || exit $?
+ # Remove any Libtool call
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+ # X makedepend
+ shift
+ cleared=no eat=no
+ for arg
+ do
+ case $cleared in
+ no)
+ set ""; shift
+ cleared=yes ;;
+ esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
+ case "$arg" in
+ -D*|-I*)
+ set fnord "$@" "$arg"; shift ;;
+ # Strip any option that makedepend may not understand. Remove
+ # the object too, otherwise makedepend will parse it as a source file.
+ -arch)
+ eat=yes ;;
+ -*|$object)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift ;;
+ esac
+ done
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ rm -f "$depfile"
+ # makedepend may prepend the VPATH from the source file name to the object.
+ # No need to regex-escape $object, excess matching of '.' is harmless.
+ sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process the last invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed '1,2d' "$tmpdepfile" \
+ | tr ' ' "$nl" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile" "$tmpdepfile".bak
+ ;;
+
+cpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ "$@" -E \
+ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ | sed '$ s: \\$::' > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ cat < "$tmpdepfile" >> "$depfile"
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvisualcpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ IFS=" "
+ for arg
+ do
+ case "$arg" in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+ set fnord "$@"
+ shift
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
+ esac
+ done
+ "$@" -E 2>/dev/null |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+ echo "$tab" >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvcmsys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+none)
+ exec "$@"
+ ;;
+
+*)
+ echo "Unknown depmode $depmode" 1>&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..267e131
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,456 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# doc/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = doc
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/doc
+abs_srcdir = /usr/src/ags-devel/doc
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../
+top_builddir = ..
+top_srcdir = ..
+ags_doc_xml_files = agsSet.xml
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu doc/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+ags_doc_html_nochunks: $(ags_doc_xml_files)
+ echo "not implemented"
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..a5e0b39
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,5 @@
+
+ags_doc_xml_files = agsSet.xml
+
+ags_doc_html_nochunks: $(ags_doc_xml_files)
+ echo "not implemented"
diff --git a/doc/Makefile.in b/doc/Makefile.in
new file mode 100644
index 0000000..62b7316
--- /dev/null
+++ b/doc/Makefile.in
@@ -0,0 +1,456 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = doc
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+ags_doc_xml_files = agsSet.xml
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu doc/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+ags_doc_html_nochunks: $(ags_doc_xml_files)
+ echo "not implemented"
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/doc/agsSet.xml b/doc/agsSet.xml
new file mode 100644
index 0000000..5046b99
--- /dev/null
+++ b/doc/agsSet.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding="utf-8"?>
+<set xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
+ <title>Advanced Gtk+ Sequencer</title>
+ <subtitle>Documentation</subtitle>
+
+ <xi:include href="usersBook.xml"/>
+ <xi:include href="developersBook.xml"/>
+
+</set>
diff --git a/doc/appa.xml b/doc/appa.xml
new file mode 100644
index 0000000..a3a3a34
--- /dev/null
+++ b/doc/appa.xml
@@ -0,0 +1,560 @@
+<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
+<appendix id="fdl">
+ <title>GNU Free Documentation License</title>
+ <simpara>Version 1.3, 3 November 2008</simpara>
+ <simpara>
+ Copyright © 2000, 2001, 2002, 2007, 2008
+ <ulink url="http://www.fsf.org/">Free Software Foundation, Inc.</ulink>
+ </simpara>
+ <simpara>
+ Everyone is permitted to copy and distribute verbatim copies of this
+ license document, but changing it is not allowed.
+ </simpara>
+ <bridgehead id="section0" renderas="sect2">
+ 0. PREAMBLE
+ </bridgehead>
+ <simpara>
+ The purpose of this License is to make a manual, textbook, or other
+ functional and useful document “free” in the sense of freedom:
+ to assure everyone the effective freedom to copy and redistribute it, with
+ or without modifying it, either commercially or
+ noncommercially. Secondarily, this License preserves for the author and
+ publisher a way to get credit for their work, while not being considered
+ responsible for modifications made by others.
+ </simpara>
+ <simpara>
+ This License is a kind of “copyleft”, which means that
+ derivative works of the document must themselves be free in the same
+ sense. It complements the GNU General Public License, which is a copyleft
+ license designed for free software.
+ </simpara>
+ <simpara>
+ We have designed this License in order to use it for manuals for free
+ software, because free software needs free documentation: a free program
+ should come with manuals providing the same freedoms that the software
+ does. But this License is not limited to software manuals; it can be used
+ for any textual work, regardless of subject matter or whether it is
+ published as a printed book. We recommend this License principally for
+ works whose purpose is instruction or reference.
+ </simpara>
+ <bridgehead id="section1" renderas="sect2">
+ 1. APPLICABILITY AND DEFINITIONS
+ </bridgehead>
+ <simpara>
+ This License applies to any manual or other work, in any medium, that
+ contains a notice placed by the copyright holder saying it can be
+ distributed under the terms of this License. Such a notice grants a
+ world-wide, royalty-free license, unlimited in duration, to use that work
+ under the conditions stated herein. The “Document”, below,
+ refers to any such manual or work. Any member of the public is a licensee,
+ and is addressed as “you”. You accept the license if you copy,
+ modify or distribute the work in a way requiring permission under
+ copyright law.
+ </simpara>
+ <simpara>
+ A “Modified Version” of the Document means any work containing
+ the Document or a portion of it, either copied verbatim, or with
+ modifications and/or translated into another language.
+ </simpara>
+ <simpara>
+ A “Secondary Section” is a named appendix or a front-matter
+ section of the Document that deals exclusively with the relationship of
+ the publishers or authors of the Document to the Document’s overall
+ subject (or to related matters) and contains nothing that could fall
+ directly within that overall subject. (Thus, if the Document is in part a
+ textbook of mathematics, a Secondary Section may not explain any
+ mathematics.) The relationship could be a matter of historical connection
+ with the subject or with related matters, or of legal, commercial,
+ philosophical, ethical or political position regarding them.
+ </simpara>
+ <simpara>
+ The “Invariant Sections” are certain Secondary Sections whose
+ titles are designated, as being those of Invariant Sections, in the notice
+ that says that the Document is released under this License. If a section
+ does not fit the above definition of Secondary then it is not allowed to
+ be designated as Invariant. The Document may contain zero Invariant
+ Sections. If the Document does not identify any Invariant Sections then
+ there are none.
+ </simpara>
+ <simpara>
+ The “Cover Texts” are certain short passages of text that are
+ listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says
+ that the Document is released under this License. A Front-Cover Text may
+ be at most 5 words, and a Back-Cover Text may be at most 25 words.
+ </simpara>
+ <simpara>
+ A “Transparent” copy of the Document means a machine-readable
+ copy, represented in a format whose specification is available to the
+ general public, that is suitable for revising the document
+ straightforwardly with generic text editors or (for images composed of
+ pixels) generic paint programs or (for drawings) some widely available
+ drawing editor, and that is suitable for input to text formatters or for
+ automatic translation to a variety of formats suitable for input to text
+ formatters. A copy made in an otherwise Transparent file format whose
+ markup, or absence of markup, has been arranged to thwart or discourage
+ subsequent modification by readers is not Transparent. An image format is
+ not Transparent if used for any substantial amount of text. A copy that is
+ not “Transparent” is called “Opaque”.
+ </simpara>
+ <simpara>
+ Examples of suitable formats for Transparent copies include plain ASCII
+ without markup, Texinfo input format, LaTeX input format, SGML or XML
+ using a publicly available DTD, and standard-conforming simple HTML,
+ PostScript or PDF designed for human modification. Examples of transparent
+ image formats include PNG, XCF and JPG. Opaque formats include proprietary
+ formats that can be read and edited only by proprietary word processors,
+ SGML or XML for which the DTD and/or processing tools are not generally
+ available, and the machine-generated HTML, PostScript or PDF produced by
+ some word processors for output purposes only.
+ </simpara>
+ <simpara>
+ The “Title Page” means, for a printed book, the title page
+ itself, plus such following pages as are needed to hold, legibly, the
+ material this License requires to appear in the title page. For works in
+ formats which do not have any title page as such, “Title Page”
+ means the text near the most prominent appearance of the work’s
+ title, preceding the beginning of the body of the text.
+ </simpara>
+ <simpara>
+ The “publisher” means any person or entity that distributes
+ copies of the Document to the public.
+ </simpara>
+ <simpara>
+ A section “Entitled XYZ” means a named subunit of the Document
+ whose title either is precisely XYZ or contains XYZ in parentheses
+ following text that translates XYZ in another language. (Here XYZ stands
+ for a specific section name mentioned below, such as
+ “Acknowledgements”, “Dedications”,
+ “Endorsements”, or “History”.) To “Preserve
+ the Title” of such a section when you modify the Document means that
+ it remains a section “Entitled XYZ” according to this
+ definition.
+ </simpara>
+ <simpara>
+ The Document may include Warranty Disclaimers next to the notice which
+ states that this License applies to the Document. These Warranty
+ Disclaimers are considered to be included by reference in this License,
+ but only as regards disclaiming warranties: any other implication that
+ these Warranty Disclaimers may have is void and has no effect on the
+ meaning of this License.
+ </simpara>
+ <bridgehead id="section2" renderas="sect2">
+ 2. VERBATIM COPYING
+ </bridgehead>
+ <simpara>
+ You may copy and distribute the Document in any medium, either
+ commercially or noncommercially, provided that this License, the copyright
+ notices, and the license notice saying this License applies to the
+ Document are reproduced in all copies, and that you add no other
+ conditions whatsoever to those of this License. You may not use technical
+ measures to obstruct or control the reading or further copying of the
+ copies you make or distribute. However, you may accept compensation in
+ exchange for copies. If you distribute a large enough number of copies you
+ must also follow the conditions in section 3.
+ </simpara>
+ <simpara>
+ You may also lend copies, under the same conditions stated above, and you
+ may publicly display copies.
+ </simpara>
+ <bridgehead id="section3" renderas="sect2">
+ 3. COPYING IN QUANTITY
+ </bridgehead>
+ <simpara>
+ If you publish printed copies (or copies in media that commonly have
+ printed covers) of the Document, numbering more than 100, and the
+ Document’s license notice requires Cover Texts, you must enclose
+ the copies in covers that carry, clearly and legibly, all these Cover
+ Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the
+ back cover. Both covers must also clearly and legibly identify you as the
+ publisher of these copies. The front cover must present the full title
+ with all words of the title equally prominent and visible. You may add
+ other material on the covers in addition. Copying with changes limited to
+ the covers, as long as they preserve the title of the Document and satisfy
+ these conditions, can be treated as verbatim copying in other respects.
+ </simpara>
+ <simpara>
+ If the required texts for either cover are too voluminous to fit legibly,
+ you should put the first ones listed (as many as fit reasonably) on the
+ actual cover, and continue the rest onto adjacent pages.
+ </simpara>
+ <simpara>
+ If you publish or distribute Opaque copies of the Document numbering more
+ than 100, you must either include a machine-readable Transparent copy
+ along with each Opaque copy, or state in or with each Opaque copy a
+ computer-network location from which the general network-using public has
+ access to download using public-standard network protocols a complete
+ Transparent copy of the Document, free of added material. If you use the
+ latter option, you must take reasonably prudent steps, when you begin
+ distribution of Opaque copies in quantity, to ensure that this Transparent
+ copy will remain thus accessible at the stated location until at least one
+ year after the last time you distribute an Opaque copy (directly or
+ through your agents or retailers) of that edition to the public.
+ </simpara>
+ <simpara>
+ It is requested, but not required, that you contact the authors of the
+ Document well before redistributing any large number of copies, to give
+ them a chance to provide you with an updated version of the Document.
+ </simpara>
+ <bridgehead id="section4" renderas="sect2">
+ 4. MODIFICATIONS
+ </bridgehead>
+ <simpara>
+ You may copy and distribute a Modified Version of the Document under the
+ conditions of sections 2 and 3 above, provided that you release the
+ Modified Version under precisely this License, with the Modified Version
+ filling the role of the Document, thus licensing distribution and
+ modification of the Modified Version to whoever possesses a copy of it. In
+ addition, you must do these things in the Modified Version:
+ </simpara>
+ <orderedlist numeration="upperalpha">
+ <listitem>
+ <simpara>
+ Use in the Title Page (and on the covers, if any) a title distinct
+ from that of the Document, and from those of previous versions (which
+ should, if there were any, be listed in the History section of the
+ Document). You may use the same title as a previous version if the
+ original publisher of that version gives permission.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ List on the Title Page, as authors, one or more persons or entities
+ responsible for authorship of the modifications in the Modified
+ Version, together with at least five of the principal authors of the
+ Document (all of its principal authors, if it has fewer than five),
+ unless they release you from this requirement.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ State on the Title page the name of the publisher of the Modified
+ Version, as the publisher.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Preserve all the copyright notices of the Document.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Add an appropriate copyright notice for your modifications adjacent to
+ the other copyright notices.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Include, immediately after the copyright notices, a license notice
+ giving the public permission to use the Modified Version under the
+ terms of this License, in the form shown in the Addendum below.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Preserve in that license notice the full lists of Invariant Sections
+ and required Cover Texts given in the Document’s license
+ notice.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Include an unaltered copy of this License.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Preserve the section Entitled “History”, Preserve its
+ Title, and add to it an item stating at least the title, year, new
+ authors, and publisher of the Modified Version as given on the Title
+ Page. If there is no section Entitled “History” in the
+ Document, create one stating the title, year, authors, and publisher
+ of the Document as given on its Title Page, then add an item
+ describing the Modified Version as stated in the previous sentence.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Preserve the network location, if any, given in the Document for
+ public access to a Transparent copy of the Document, and likewise the
+ network locations given in the Document for previous versions it was
+ based on. These may be placed in the “History”
+ section. You may omit a network location for a work that was published
+ at least four years before the Document itself, or if the original
+ publisher of the version it refers to gives permission.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ For any section Entitled “Acknowledgements” or
+ “Dedications”, Preserve the Title of the section, and
+ preserve in the section all the substance and tone of each of the
+ contributor acknowledgements and/or dedications given therein.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Preserve all the Invariant Sections of the Document, unaltered in
+ their text and in their titles. Section numbers or the equivalent are
+ not considered part of the section titles.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Delete any section Entitled “Endorsements”. Such a section
+ may not be included in the Modified Version.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Do not retitle any existing section to be Entitled
+ “Endorsements” or to conflict in title with any Invariant
+ Section.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ Preserve any Warranty Disclaimers.
+ </simpara>
+ </listitem>
+ </orderedlist>
+ <simpara>
+ If the Modified Version includes new front-matter sections or appendices
+ that qualify as Secondary Sections and contain no material copied from the
+ Document, you may at your option designate some or all of these sections
+ as invariant. To do this, add their titles to the list of Invariant
+ Sections in the Modified Version’s license notice. These titles
+ must be distinct from any other section titles.
+ </simpara>
+ <simpara>
+ You may add a section Entitled “Endorsements”, provided it
+ contains nothing but endorsements of your Modified Version by various
+ parties — for example, statements of peer review or that the text
+ has been approved by an organization as the authoritative definition of a
+ standard.
+ </simpara>
+ <simpara>
+ You may add a passage of up to five words as a Front-Cover Text, and a
+ passage of up to 25 words as a Back-Cover Text, to the end of the list of
+ Cover Texts in the Modified Version. Only one passage of Front-Cover Text
+ and one of Back-Cover Text may be added by (or through arrangements made
+ by) any one entity. If the Document already includes a cover text for the
+ same cover, previously added by you or by arrangement made by the same
+ entity you are acting on behalf of, you may not add another; but you may
+ replace the old one, on explicit permission from the previous publisher
+ that added the old one.
+ </simpara>
+ <simpara>
+ The author(s) and publisher(s) of the Document do not by this License give
+ permission to use their names for publicity for or to assert or imply
+ endorsement of any Modified Version.
+ </simpara>
+ <bridgehead id="section5" renderas="sect2">
+ 5. COMBINING DOCUMENTS
+ </bridgehead>
+ <simpara>
+ You may combine the Document with other documents released under this
+ License, under the terms defined in section 4 above for modified versions,
+ provided that you include in the combination all of the Invariant Sections
+ of all of the original documents, unmodified, and list them all as
+ Invariant Sections of your combined work in its license notice, and that
+ you preserve all their Warranty Disclaimers.
+ </simpara>
+ <simpara>
+ The combined work need only contain one copy of this License, and multiple
+ identical Invariant Sections may be replaced with a single copy. If there
+ are multiple Invariant Sections with the same name but different contents,
+ make the title of each such section unique by adding at the end of it, in
+ parentheses, the name of the original author or publisher of that section
+ if known, or else a unique number. Make the same adjustment to the section
+ titles in the list of Invariant Sections in the license notice of the
+ combined work.
+ </simpara>
+ <simpara>
+ In the combination, you must combine any sections Entitled
+ “History” in the various original documents, forming one
+ section Entitled “History”; likewise combine any sections
+ Entitled “Acknowledgements”, and any sections Entitled
+ “Dedications”. You must delete all sections Entitled
+ “Endorsements”.
+ </simpara>
+ <bridgehead id="section6" renderas="sect2">
+ 6. COLLECTIONS OF DOCUMENTS
+ </bridgehead>
+ <simpara>
+ You may make a collection consisting of the Document and other documents
+ released under this License, and replace the individual copies of this
+ License in the various documents with a single copy that is included in
+ the collection, provided that you follow the rules of this License for
+ verbatim copying of each of the documents in all other respects.
+ </simpara>
+ <simpara>
+ You may extract a single document from such a collection, and distribute
+ it individually under this License, provided you insert a copy of this
+ License into the extracted document, and follow this License in all other
+ respects regarding verbatim copying of that document.
+ </simpara>
+ <bridgehead id="section7" renderas="sect2">
+ 7. AGGREGATION WITH INDEPENDENT WORKS
+ </bridgehead>
+ <simpara>
+ A compilation of the Document or its derivatives with other separate and
+ independent documents or works, in or on a volume of a storage or
+ distribution medium, is called an “aggregate” if the copyright
+ resulting from the compilation is not used to limit the legal rights of
+ the compilation’s users beyond what the individual works
+ permit. When the Document is included in an aggregate, this License does
+ not apply to the other works in the aggregate which are not themselves
+ derivative works of the Document.
+ </simpara>
+ <simpara>
+ If the Cover Text requirement of section 3 is applicable to these copies
+ of the Document, then if the Document is less than one half of the entire
+ aggregate, the Document’s Cover Texts may be placed on covers that
+ bracket the Document within the aggregate, or the electronic equivalent of
+ covers if the Document is in electronic form. Otherwise they must appear
+ on printed covers that bracket the whole aggregate.
+ </simpara>
+ <bridgehead id="section8" renderas="sect2">
+ 8. TRANSLATION
+ </bridgehead>
+ <simpara>
+ Translation is considered a kind of modification, so you may distribute
+ translations of the Document under the terms of section 4. Replacing
+ Invariant Sections with translations requires special permission from
+ their copyright holders, but you may include translations of some or all
+ Invariant Sections in addition to the original versions of these Invariant
+ Sections. You may include a translation of this License, and all the
+ license notices in the Document, and any Warranty Disclaimers, provided
+ that you also include the original English version of this License and the
+ original versions of those notices and disclaimers. In case of a
+ disagreement between the translation and the original version of this
+ License or a notice or disclaimer, the original version will prevail.
+ </simpara>
+ <simpara>
+ If a section in the Document is Entitled “Acknowledgements”,
+ “Dedications”, or “History”, the requirement
+ (section 4) to Preserve its Title (section 1) will typically require
+ changing the actual title.
+ </simpara>
+ <bridgehead id="section9" renderas="sect2">
+ 9. TERMINATION
+ </bridgehead>
+ <simpara>
+ You may not copy, modify, sublicense, or distribute the Document except as
+ expressly provided under this License. Any attempt otherwise to copy,
+ modify, sublicense, or distribute it is void, and will automatically
+ terminate your rights under this License.
+ </simpara>
+ <simpara>
+ However, if you cease all violation of this License, then your license
+ from a particular copyright holder is reinstated (a) provisionally, unless
+ and until the copyright holder explicitly and finally terminates your
+ license, and (b) permanently, if the copyright holder fails to notify you
+ of the violation by some reasonable means prior to 60 days after the
+ cessation.
+ </simpara>
+ <simpara>
+ Moreover, your license from a particular copyright holder is reinstated
+ permanently if the copyright holder notifies you of the violation by some
+ reasonable means, this is the first time you have received notice of
+ violation of this License (for any work) from that copyright holder, and
+ you cure the violation prior to 30 days after your receipt of the notice.
+ </simpara>
+ <simpara>
+ Termination of your rights under this section does not terminate the
+ licenses of parties who have received copies or rights from you under this
+ License. If your rights have been terminated and not permanently
+ reinstated, receipt of a copy of some or all of the same material does not
+ give you any rights to use it.
+ </simpara>
+ <bridgehead id="section10" renderas="sect2">
+ 10. FUTURE REVISIONS OF THIS LICENSE
+ </bridgehead>
+ <simpara>
+ The Free Software Foundation may publish new, revised versions of the GNU
+ Free Documentation License from time to time. Such new versions will be
+ similar in spirit to the present version, but may differ in detail to
+ address new problems or concerns. See
+ <ulink url="http://www.gnu.org/copyleft/">Copyleft</ulink>.
+ </simpara>
+ <simpara>
+ Each version of the License is given a distinguishing version number. If
+ the Document specifies that a particular numbered version of this License
+ “or any later version” applies to it, you have the option of
+ following the terms and conditions either of that specified version or of
+ any later version that has been published (not as a draft) by the Free
+ Software Foundation. If the Document does not specify a version number of
+ this License, you may choose any version ever published (not as a draft)
+ by the Free Software Foundation. If the Document specifies that a proxy
+ can decide which future versions of this License can be used, that
+ proxy’s public statement of acceptance of a version permanently
+ authorizes you to choose that version for the Document.
+ </simpara>
+ <bridgehead id="section11" renderas="sect2">
+ 11. RELICENSING
+ </bridgehead>
+ <simpara>
+ “Massive Multiauthor Collaboration Site” (or “MMC
+ Site”) means any World Wide Web server that publishes copyrightable
+ works and also provides prominent facilities for anybody to edit those
+ works. A public wiki that anybody can edit is an example of such a
+ server. A “Massive Multiauthor Collaboration” (or
+ “MMC”) contained in the site means any set of copyrightable
+ works thus published on the MMC site.
+ </simpara>
+ <simpara>
+ “CC-BY-SA” means the Creative Commons Attribution-Share Alike
+ 3.0 license published by Creative Commons Corporation, a not-for-profit
+ corporation with a principal place of business in San Francisco,
+ California, as well as future copyleft versions of that license published
+ by that same organization.
+ </simpara>
+ <simpara>
+ “Incorporate” means to publish or republish a Document, in
+ whole or in part, as part of another Document.
+ </simpara>
+ <simpara>
+ An MMC is “eligible for relicensing” if it is licensed under
+ this License, and if all works that were first published under this
+ License somewhere other than this MMC, and subsequently incorporated in
+ whole or in part into the MMC, (1) had no cover texts or invariant
+ sections, and (2) were thus incorporated prior to November 1, 2008.
+ </simpara>
+ <simpara>
+ The operator of an MMC Site may republish an MMC contained in the site
+ under CC-BY-SA on the same site at any time before August 1, 2009,
+ provided the MMC is eligible for relicensing.
+ </simpara>
+ <bridgehead id="addendum" renderas="sect2">
+ ADDENDUM: How to use this License for your documents
+ </bridgehead>
+ <simpara>
+ To use this License in a document you have written, include a copy of the
+ License in the document and put the following copyright and license
+ notices just after the title page:
+ </simpara>
+ <screen>Copyright © 2013 Joël Krähemann
+
+Permission is granted to copy, distribute and/or modify this document under the
+terms of the GNU Free Documentation License, Version 1.3 or any later version
+published by the Free Software Foundation; with no Invariant Sections, no
+Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in
+the section entitled “GNU Free Documentation License”.</screen>
+ <simpara>
+ If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+ replace the “with… Texts.” line with this:
+ </simpara>
+ <screen>with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts
+being LIST, and with the Back-Cover Texts being LIST.</screen>
+ <simpara>
+ If you have Invariant Sections without Cover Texts, or some other
+ combination of the three, merge those two alternatives to suit the
+ situation.
+ </simpara>
+ <simpara>
+ If your document contains nontrivial examples of program code, we
+ recommend releasing these examples in parallel under your choice of free
+ software license, such as the GNU General Public License, to permit their
+ use in free software.
+ </simpara>
+</appendix>
diff --git a/doc/developersBook.xml b/doc/developersBook.xml
new file mode 100644
index 0000000..37aded7
--- /dev/null
+++ b/doc/developersBook.xml
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding="utf-8"?>
+<!DOCTYPE book [
+<!ENTITY jkraehemann "Joël Krähemann">
+]>
+<book xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
+ <title>Advanced Gtk+ Sequencer</title>
+ <subtitle>Developer's Book</subtitle>
+
+ <info>
+ <legalnotice>
+ <para>
+ Copyright (C) &jkraehemann;.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ A copy of the license is included in the section entitled "GNU
+ Free Documentation License".
+ </para>
+ </legalnotice>
+ <author>
+ <personname>
+ <firstname>Joël</firstname>
+ <surname>Krähemann</surname>
+ </personname>
+ </author>
+ </info>
+
+ <dedication>
+ <para>This book is dedicated to my friend.</para>
+ </dedication>
+
+ <xi:include href="developersBook/preface.xml"/>
+ <xi:include href="developersBook/chap1.xml"/>
+ <xi:include href="developersBook/chap2.xml"/>
+ <xi:include href="developersBook/chap3.xml"/>
+ <xi:include href="developersBook/chap4.xml"/>
+ <xi:include href="developersBook/chap5.xml"/>
+ <xi:include href="appa.xml"/>
+ <xi:include href="developersBook/appb.xml"/>
+
+</book>
diff --git a/doc/developersBook/appb.xml b/doc/developersBook/appb.xml
new file mode 100644
index 0000000..0b765b6
--- /dev/null
+++ b/doc/developersBook/appb.xml
@@ -0,0 +1,76 @@
+<?xml version='1.0' encoding="utf-8"?>
+<appendix>
+ <title>Related projects</title>
+ <para>
+ Here is a brief list of Advanced Gtk+ Sequencer's direct dependencies.
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ gmp: Gnu MP Bignum, http://gmplib.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libasound2: ALSA, http://alsa-project.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ ladspa-sdk: LADSPA, http://www.ladspa.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libsndfile1: Sndfile-1, http://www.mega-nerd.com/libsndfile
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libinstpatch1: Instpatch-1, http://www.swamiproject.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libxml2: Gnome XML-2, http://www.gnome.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libuuid: Universaly Unique Identifier, http://www.sourceforge.net/p/libuuid
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libglib-2.x: GLib-2, http://www.gtk.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libgobject-2.x: GObject-2, http://www.gtk.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libgdk-2.x: Gdk-2, http://www.gtk.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libcairo-2.x: Cairo-2, http://www.cairographics.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libgtk-2.x: Gtk-2, http://www.gtk.org
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ libxmlrpc-c: XMLRPC-C, http://xmlrpc-c.sourceforge.net
+ </para>
+ </listitem>
+ </itemizedlist>
+
+</appendix>
diff --git a/doc/developersBook/chap1.xml b/doc/developersBook/chap1.xml
new file mode 100644
index 0000000..64ea8d3
--- /dev/null
+++ b/doc/developersBook/chap1.xml
@@ -0,0 +1,175 @@
+<?xml version='1.0' encoding="utf-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
+ <title>Linking</title>
+ <para>
+ In this section you get some knowledge about ags internals. Here you get an
+ overview of the audio layer. All code related to it is located in subdirectory
+ <ags/audio>. Linking AgsChannel is a quiet complex thing but If you wish
+ to do so you can just call ags_channel_link() and this will the especially covered
+ here.
+ </para>
+
+ <sect1>
+ <title>Overview</title>
+ <para>
+ AgsAudio, AgsChannel and AgsRecycling are involved in linking. When talking about
+ linking we should view AgsChannel objects as networked and therefore exists an
+ additional nested network of AgsRecycling objects.
+ </para>
+ <para>
+ The AgsAudio object gives clarification about how AgsChannel has to be accessed
+ either synchronously or asynchronously. Further it tells us whether AgsOutput or
+ AgsInput has a new audio stream which causes in conjunction a dedicated
+ AgsRecycling associated with the appropriate AgsChannel.
+ </para>
+
+ <imagedata fileref="../images/AGS_linking.svg" />
+ <table>
+ <title>AGS network layer table</title>
+ <tgroup cols="2" align="left" colsep='1' rowsep='1'>
+ <thead>
+ <row>
+ <entry>object</entry>
+ <entry>flags</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>Audio#0</entry>
+ <entry>
+ AGS_AUDIO_SYNC | AGS_AUDIO_OUTPUT_HAS_RECYCLING
+ </entry>
+ </row>
+ <row>
+ <entry>Audio#1</entry>
+ <entry>
+ AGS_AUDIO_ASYNC
+ </entry>
+ </row>
+ <row>
+ <entry>Audio#2</entry>
+ <entry>
+ AGS_AUDIO_ASYNC | AGS_AUDIO_OUTPUT_HAS_RECYCLING
+ </entry>
+ </row>
+ <row>
+ <entry>Audio#3</entry>
+ <entry>
+ AGS_AUDIO_ASYNC | AGS_AUDIO_OUTPUT_HAS_RECYCLING
+ </entry>
+ </row>
+ <row>
+ <entry>Audio#4</entry>
+ <entry>
+ AGS_AUDIO_ASYNC | AGS_AUDIO_OUTPUT_HAS_RECYCLING
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ green:
+ </para>
+
+ <itemizedlist mark="circle">
+ <listitem>
+ Bidirectional linked AgsChannel to an other AgsChannel.
+ </listitem>
+ <listitem>
+ Generally you link an AgsOutput to an AgsInput.
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ <para>
+ red:
+ </para>
+
+ <itemizedlist mark="circle">
+ <listitem>
+ Bidirectional linked AgsRecycling to an other AgsRecycling on the same
+ level.
+ </listitem>
+ <listitem>
+ They are linked across AgsAudio objects.
+ </listitem>
+ <listitem>
+ Same level means the linked AgsRecycling are all child nodes of a parent
+ AgsRecycling.
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ <para>
+ yellow:
+ </para>
+
+ <itemizedlist mark="circle">
+ <listitem>
+ Unidirectional linked AgsRecycling to an AgsChannel.
+ </listitem>
+ <listitem>
+ First AgsRecycling of an AgsOutput and last AgsRecycling of an (other)
+ AgsOutput are linked to an AgsChannel.
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ </sect1>
+
+ <sect1>
+ <title>Limitations</title>
+ <itemizedlist mark="bullet">
+ <listitem>
+ You may not create any kind of loops.
+ </listitem>
+ <listitem>
+ You may not set AGS_AUDIO_INPUT_HAS_RECYCLING without setting
+ AGS_AUDIO_OUTPUT_HAS_RECYCLING flag.
+ </listitem>
+ </itemizedlist>
+ </sect1>
+
+ <sect1>
+ <title>Hands-On</title>
+ <para>
+ There may be two ways how you can link AgsChannel objects.
+ </para>
+
+ <example>
+ <title>Prerequisites</title>
+ <programlisting language="C">
+<xi:include href="../listings/linking_prerequisites.c" parse="text" />
+ </programlisting>
+ </example>
+
+ <para>
+ Assumed you know really what you do, you may be interested in following code.
+ </para>
+
+ <example>
+ <title>Thread-Unsafe way</title>
+ <programlisting language="C">
+<xi:include href="../listings/linking_unsafe.c" parse="text" />
+ </programlisting>
+ </example>
+
+ <para>
+ But generally you wish to create an AgsTask object and let it to link the
+ AgsChannel for you.
+ </para>
+
+ <example>
+ <title>Multithread-Safe way</title>
+ <programlisting language="C">
+<xi:include href="../listings/linking_safe.c" parse="text" />
+ </programlisting>
+ </example>
+
+ </sect1>
+
+</chapter>
diff --git a/doc/developersBook/chap2.xml b/doc/developersBook/chap2.xml
new file mode 100644
index 0000000..b130d4b
--- /dev/null
+++ b/doc/developersBook/chap2.xml
@@ -0,0 +1,469 @@
+<?xml version='1.0' encoding="utf-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
+ <title>Effects</title>
+ <para>
+ You may directly inherit by <ags/audio/ags_recall.h> to do some wicked stuff.
+ But generally you should inherit by these subclasses of AgsRecall:
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ <ags/audio/ags_recall_audio.h>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ags/audio/ags_recall_audio_run.h>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ags/audio/ags_recall_channel.h>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ags/audio/ags_recall_channel_run.h>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ags/audio/ags_recall_recycling.h>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ags/audio/ags_recall_audio_signal.h>
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ You probably wish to have different context for fields of an effect, that's
+ what these objects take on. But before we cover them in detail, we take a
+ look at the lifecycle an effect must accomplish.
+ </para>
+
+ <sect1>
+ <title>Play/recall context</title>
+ <para>
+ Don't mix this context up with static/runtime context we talked before.
+ The AgsRecall may have two faces or may be just one for play context.
+ </para>
+
+ <para>
+ The play context will be called in case the higher level of AgsRecycling
+ will output to a device e.g. the soundcard and no further processing will
+ be done.
+ </para>
+
+ <para>
+ The recall context means that the AgsRecall will pass one or more cycles
+ of copying or sequencing. This design is intended to make ags as modular
+ and reusable over different use cases as possible. Practically it should
+ be possible to chain up several sequencers.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Hands-On instantiating an effect</title>
+ <para>
+ After you got an overview of the basic lifecycle of an effect it's time
+ to create an effect. In this guide we will cover instatiating an effect
+ by using the echo effect. In the following chapter we'll take a look
+ inside the echo effect.
+ </para>
+
+ <sect2>
+ <title>AgsRecallContainer</title>
+ <para>
+ AgsRecallContainer isn't a recall itself but you can use it to
+ retrieve a different context.
+ </para>
+
+ <example>
+ <title>Creating AgsRecallContainer</title>
+ <programlisting language="C">
+<xi:include href="../listings/effects_recall_container.c" parse="text" />
+ </programlisting>
+ </example>
+
+ </sect2>
+
+ <sect2>
+ <title>AgsRecallAudio context</title>
+ <para>
+ This is a context you want to use for fields applicable to the
+ entire AgsAudio object.
+ </para>
+
+ <example>
+ <title>Creating AgsEchoAudio</title>
+ <programlisting language="C">
+<xi:include href="../listings/effects_echo_audio.c" parse="text" />
+ </programlisting>
+ </example>
+
+ </sect2>
+
+ <sect2>
+ <title>AgsRecallChannel context</title>
+ <para>
+ This context you can use for fields applicable to the AgsChannel
+ you want to modify.
+ </para>
+
+ <example>
+ <title>Creating AgsEchoChannel</title>
+ <programlisting language="C">
+<xi:include href="../listings/effects_echo_channel.c" parse="text" />
+ </programlisting>
+ </example>
+
+ </sect2>
+
+ <sect2>
+ <title>AgsRecallAudioRun context</title>
+ <para>
+ The AgsRecallAudioRun class will be duplicated for a parental running
+ AgsChannel. There may be several AgsChannel objects as parental owning
+ a run.
+ </para>
+
+ <example>
+ <title>Creating AgsEchoAudioRun</title>
+ <programlisting language="C">
+<xi:include href="../listings/effects_echo_audio_run.c" parse="text" />
+ </programlisting>
+ </example>
+
+ </sect2>
+
+ <sect2>
+ <title>AgsRecallChannelRun context</title>
+ <para>
+ The AgsRecallChannelRun behaves like an AgsRecallAudioRun but
+ is designated to an AgsChannel object.
+ </para>
+
+ <example>
+ <title>Creating AgsEchoChannelRun</title>
+ <programlisting language="C">
+<xi:include href="../listings/effects_echo_channel_run.c" parse="text" />
+ </programlisting>
+ </example>
+
+ </sect2>
+
+ </sect1>
+
+ <sect1>
+ <title>The basic lifecycle of an effect</title>
+ <para>
+ In this section I'll introduce the keyword run which can be understood as a
+ playing instance. But I rather talk about run because it's not guaranted that
+ the recall outputs directly to a device.
+ </para>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="../images/AGS_recall_lifecycle.svg" align="right" />
+ </imageobject>
+ </mediaobject>
+
+ <para>
+ The implemented effect as a subclass of AgsRecall resides as template on
+ the appropriate AgsAudio or AgsChannel.
+ </para>
+
+ <para>
+ When recycling changes on input, new AgsRecallRecycling will be added.
+ This class function may be of relevancy:
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ channel_class->recycling_changed
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ As a new run occures the AgsRecallAudioRun and AgsRecallChannelRun will be
+ duplicated, dependencies resolved, state initialized and enter the play loop
+ hierarchy. These class functions will be called on the recall:
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ channel_class->duplicate
+ </para>
+ <itemizedlist mark="circle">
+ <listitem>
+ This function will be called on the template object to instantiate the
+ the object which will pass further processing.
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ Further processing:
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ recall_class->resolve_dependencies
+ </para>
+ <itemizedlist mark="circle">
+ <listitem>
+ <para>
+ The recall may want to depend on a other recall (eg. a counter) and
+ may ignore following calls while rather do processing on an event
+ of the dependency.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
+ <para>
+ recall_class->run_init_pre, recall_class->run_init_inter &
+ recall_class->run_init_post
+ </para>
+ <itemizedlist mark="circle">
+ <listitem>
+ <para>
+ Will be called only once for the run reffering to dedicated AgsGroupId.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
+ <para>
+ recall_class->run_pre, recall_class->run_inter &
+ recall_class->run_post
+ </para>
+ <itemizedlist mark="circle">
+ <listitem>
+ <para>
+ Will be called for each cycle of a run reffering to AgsGroupId.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ There may be more than one AgsGroupId for a template i.e. there can
+ exist more than one run at the very same time.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ </itemizedlist>
+
+ <para>
+ As soon as an add_audio_signal event will be emitted on an AgsRecycling, the
+ AgsRecallAudioSignal subclass will be instantiated which performs audio stream
+ manipulation. These class functions will be called on the recall:
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ recall_class->run_init_pre, recall_class->run_init_inter &
+ recall_class->run_init_post
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ recall_class->run_pre, recall_class->run_inter &
+ recall_class->run_post
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ When you're done with processing call:
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ recall_class->done
+ </para>
+ </listitem>
+ </itemizedlist>
+ </sect1>
+
+ <sect1>
+ <title>A closer look at effects</title>
+ <para>
+ First we look at recall initialization and afterwards at processing audio data with run etapes.
+ </para>
+
+ <sect2>
+ <title>Recursive initialization</title>
+ <para>
+ Initilization recusivly is done by calling ags_channel_recursive_play_init().
+ </para>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="../images/AGS_run_init.svg" align="right" />
+ </imageobject>
+ </mediaobject>
+
+ <para>
+ The initialization occurs in one part.
+ </para>
+
+ <para>
+ The following procedures needs to be passed:
+ </para>
+
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ Allocating group id and recall countainer.
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ Acts as a unique identifier for runtime.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </listitem>
+
+ <listitem>
+ <para>
+ Duplicating recalls and pass default properties.
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ Set up functional runtime objects.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </listitem>
+
+ <listitem>
+ <para>
+ Resolve dependencies and inject.
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ Dynamic connect of objects.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </listitem>
+
+ <listitem>
+ <para>
+ Initialized tree recursivly as entire initialization stage.
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ The created context is now ready to be processed ...
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </listitem>
+
+ </itemizedlist>
+ </sect2>
+
+ <sect2>
+ <title>The different run stages</title>
+
+ <para>
+ As mentioned before audio processing will be done within an AgsRecallAudioSignal subclass.
+ </para>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="../images/AGS_run.svg" align="right" />
+ </imageobject>
+ </mediaobject>
+
+ <para>
+ This object is running the stages as illustrated and you may have noticed it's recursive.
+ The run phase is divided in 3 stages with dedicated pass within tree.
+ </para>
+
+ <para>
+ run_pre() is the very first etape. Its purpose is mainly of allocating or preparing buffers.
+ </para>
+
+ <para>
+ run_inter() is the second phase and acts as effect processor.
+ </para>
+
+ <para>
+ run_post() is the third phase and is usually used for doing clean-up.
+ </para>
+
+ <para>
+ These recalls implementing those functions generally inherit by AGS_TYPE_RECALL_AUDIO_RUN,
+ AGS_TYPE_RECALL_CHANNEL_RUN or AGS_TYPE_RECALL_AUDIO_SIGNAL.
+ </para>
+
+ <para>
+ Run time values are written in real time using atomic operations. This is done by AgsPort and
+ inherit by AGS_TYPE_RECALL_AUDIO or AGS_TYPE_RECALL_CHANNEL.
+ </para>
+
+ <para>
+ AgsRecallContainer matches related recalls. This means you pack recalls of same XML type eg. ags-echo to be grouped, litteraly:
+ </para>
+
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ ags-echo-channel
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ ags-echo-channel-run
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ ags-echo-recycling
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ ags-echo-audio-signal
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ </sect2>
+
+ </sect1>
+
+</chapter>
diff --git a/doc/developersBook/chap4.xml b/doc/developersBook/chap4.xml
new file mode 100644
index 0000000..d74b051
--- /dev/null
+++ b/doc/developersBook/chap4.xml
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding="utf-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
+ <title>Port to safe read/write</title>
+ <para>
+ The AgsPort object may contain primitive types as well objects. The read/write operations are
+ generally done by atomic operations. There exists interfacing AgsTaskThread functions but not
+ used, for now.
+ Representing objects should implement AgsPortletInterface.
+ </para>
+
+ <sect1>
+ <title>Portlet interface safe read/write properties</title>
+ <para>
+ The AgsPortletInterface is used where a GObject is represented by the assigned port. The
+ implemententing class is responsible for thread safe get/set properties. Most common way
+ is using mutices.
+ </para>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="../images/AGS_portlet.svg" align="right" />
+ </imageobject>
+ </mediaobject>
+
+ </sect1>
+
+</chapter>
diff --git a/doc/developersBook/chap5.xml b/doc/developersBook/chap5.xml
new file mode 100644
index 0000000..102fdf7
--- /dev/null
+++ b/doc/developersBook/chap5.xml
@@ -0,0 +1,68 @@
+<?xml version='1.0' encoding="utf-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
+ <title>Plugin interface to do abstraction</title>
+ <para>
+ The AgsPlugin interface defines some elementary functions like get_name() or set_name() and
+ therefor get_version(), set_version(), get_build_id() and set_build_id(). Further it contains
+ functions used to persist it using XML. This would be get_xml_type(), set_xml_type(), read()
+ and write(). And get_ports() and set_ports() to allow thread safe communication between the
+ different layers of Advanced Gtk+ Sequencer but to be said those functions accomplish for
+ persisting and restoring.
+ </para>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="../images/AGS_plugin.svg" align="right" />
+ </imageobject>
+ </mediaobject>
+
+ <sect1>
+ <title>Hands-on</title>
+
+ <sect2>
+ <title>get_type()</title>
+ <para>
+ First you need to tell object type system to use the AgsPluginInterface this is normally
+ done in the classes get_type() function.
+ </para>
+
+ <example>
+ <title>ags_echo_channel_get_type()</title>
+ <programlisting language="C">
+<xi:include href="../listings/echo_get_type.c" parse="text" />
+ </programlisting>
+ </example>
+ </sect2>
+
+ <sect2>
+ <title>plugin_interface_init()</title>
+ <para>
+ Implement its set_ports() function.
+ </para>
+
+ <example>
+ <title>ags_echo_channel_plugin_interface_init()</title>
+ <programlisting language="C">
+<xi:include href="../listings/echo_plugin_interface_init.c" parse="text" />
+ </programlisting>
+ </example>
+ </sect2>
+
+ <sect2>
+ <title>set_ports()</title>
+ <para>
+ Finally load the ports restored of XML file.
+ </para>
+
+ <example>
+ <title>ags_echo_channel_set_ports()</title>
+ <programlisting language="C">
+<xi:include href="../listings/echo_set_ports.c" parse="text" />
+ </programlisting>
+ </example>
+ </sect2>
+
+ </sect1>
+
+</chapter>
diff --git a/doc/developersBook/preface.xml b/doc/developersBook/preface.xml
new file mode 100644
index 0000000..afa7942
--- /dev/null
+++ b/doc/developersBook/preface.xml
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding="utf-8"?>
+<preface>
+ <title>Foreword</title>
+ <para>
+ I began to code with C in spring 2002 and hadn't much programming skills, yet.
+ You may ask me why the C programming language? Well, my friend who was already
+ a convient free software user and hacker recomended me it. He told me that C is
+ a standard on Unix like operating systems so it would be a good choice.
+ </para>
+ <para>
+ After started with language basics and several discussions with my friend about
+ pointers he advised me of Gtk+. While I was doing my first steps in GUI programming
+ with C, I was sure to extensively use it and became a persuaded free software user
+ and programmer.
+ </para>
+ <para>
+ A year later I really understood the object orientated matter of GObject and how
+ to write objects and widgets myself. C wasn't like Java where you just couldn't
+ implement no classes just everything was a class or at least a method.
+ </para>
+ <para>
+ First output with AGS happend via Open Sound System device drivers but the entire
+ application lacked of a thread safe concept. But for now you may write tasks.
+ </para>
+ <para>
+ Be part of the fun.
+ </para>
+</preface>
diff --git a/doc/images/AGS_linking.png b/doc/images/AGS_linking.png
new file mode 100644
index 0000000..90b9fef
Binary files /dev/null and b/doc/images/AGS_linking.png differ
diff --git a/doc/images/AGS_plugin.png b/doc/images/AGS_plugin.png
new file mode 100644
index 0000000..430a474
Binary files /dev/null and b/doc/images/AGS_plugin.png differ
diff --git a/doc/images/AGS_portlet.png b/doc/images/AGS_portlet.png
new file mode 100644
index 0000000..cdfea6f
Binary files /dev/null and b/doc/images/AGS_portlet.png differ
diff --git a/doc/images/AGS_recall_lifecycle.png b/doc/images/AGS_recall_lifecycle.png
new file mode 100644
index 0000000..881bbc5
Binary files /dev/null and b/doc/images/AGS_recall_lifecycle.png differ
diff --git a/doc/images/AGS_run.png b/doc/images/AGS_run.png
new file mode 100644
index 0000000..db76d9a
Binary files /dev/null and b/doc/images/AGS_run.png differ
diff --git a/doc/images/AGS_run_init.png b/doc/images/AGS_run_init.png
new file mode 100644
index 0000000..54515c0
Binary files /dev/null and b/doc/images/AGS_run_init.png differ
diff --git a/doc/images/AGS_threads.png b/doc/images/AGS_threads.png
new file mode 100644
index 0000000..52e0aa7
Binary files /dev/null and b/doc/images/AGS_threads.png differ
diff --git a/doc/images/ags-64x64.png b/doc/images/ags-64x64.png
new file mode 100644
index 0000000..26bfb22
Binary files /dev/null and b/doc/images/ags-64x64.png differ
diff --git a/doc/images/ags-jumper.png b/doc/images/ags-jumper.png
new file mode 100644
index 0000000..90acc02
Binary files /dev/null and b/doc/images/ags-jumper.png differ
diff --git a/doc/images/ags-toolbar.png b/doc/images/ags-toolbar.png
new file mode 100644
index 0000000..c823cda
Binary files /dev/null and b/doc/images/ags-toolbar.png differ
diff --git a/doc/images/ags.png b/doc/images/ags.png
new file mode 100644
index 0000000..aa5558a
Binary files /dev/null and b/doc/images/ags.png differ
diff --git a/doc/images/ags_drum.png b/doc/images/ags_drum.png
new file mode 100644
index 0000000..05d2bef
Binary files /dev/null and b/doc/images/ags_drum.png differ
diff --git a/doc/images/ags_editor.png b/doc/images/ags_editor.png
new file mode 100644
index 0000000..e3b9717
Binary files /dev/null and b/doc/images/ags_editor.png differ
diff --git a/doc/images/ags_ffplayer.png b/doc/images/ags_ffplayer.png
new file mode 100644
index 0000000..5d1fcbf
Binary files /dev/null and b/doc/images/ags_ffplayer.png differ
diff --git a/doc/images/ags_matrix.png b/doc/images/ags_matrix.png
new file mode 100644
index 0000000..9c989c9
Binary files /dev/null and b/doc/images/ags_matrix.png differ
diff --git a/doc/images/ags_menu.png b/doc/images/ags_menu.png
new file mode 100644
index 0000000..8b05542
Binary files /dev/null and b/doc/images/ags_menu.png differ
diff --git a/doc/images/ags_mixer.png b/doc/images/ags_mixer.png
new file mode 100644
index 0000000..d0cba79
Binary files /dev/null and b/doc/images/ags_mixer.png differ
diff --git a/doc/images/ags_navigation.png b/doc/images/ags_navigation.png
new file mode 100644
index 0000000..3a5a894
Binary files /dev/null and b/doc/images/ags_navigation.png differ
diff --git a/doc/images/ags_panel.png b/doc/images/ags_panel.png
new file mode 100644
index 0000000..48d1d72
Binary files /dev/null and b/doc/images/ags_panel.png differ
diff --git a/doc/images/ags_synth.png b/doc/images/ags_synth.png
new file mode 100644
index 0000000..c3baca6
Binary files /dev/null and b/doc/images/ags_synth.png differ
diff --git a/doc/images/dia/AGS b/doc/images/dia/AGS
new file mode 100644
index 0000000..e69de29
diff --git a/doc/images/dia/AGS - linking.dia b/doc/images/dia/AGS - linking.dia
new file mode 100644
index 0000000..da5cd93
Binary files /dev/null and b/doc/images/dia/AGS - linking.dia differ
diff --git a/doc/images/dia/AGS - plugin.dia b/doc/images/dia/AGS - plugin.dia
new file mode 100644
index 0000000..4b69a8d
Binary files /dev/null and b/doc/images/dia/AGS - plugin.dia differ
diff --git a/doc/images/dia/AGS - portlet.dia b/doc/images/dia/AGS - portlet.dia
new file mode 100644
index 0000000..bb304b6
Binary files /dev/null and b/doc/images/dia/AGS - portlet.dia differ
diff --git a/doc/images/dia/AGS - recall lifecycle.dia b/doc/images/dia/AGS - recall lifecycle.dia
new file mode 100644
index 0000000..95ec66e
Binary files /dev/null and b/doc/images/dia/AGS - recall lifecycle.dia differ
diff --git a/doc/images/dia/AGS - recursive init.dia b/doc/images/dia/AGS - recursive init.dia
new file mode 100644
index 0000000..6a57b4e
Binary files /dev/null and b/doc/images/dia/AGS - recursive init.dia differ
diff --git a/doc/images/dia/AGS - run.dia b/doc/images/dia/AGS - run.dia
new file mode 100644
index 0000000..9aed421
Binary files /dev/null and b/doc/images/dia/AGS - run.dia differ
diff --git a/doc/images/dia/AGS - threads.dia b/doc/images/dia/AGS - threads.dia
new file mode 100644
index 0000000..a0017eb
Binary files /dev/null and b/doc/images/dia/AGS - threads.dia differ
diff --git a/doc/images/gimp/ags.xcf b/doc/images/gimp/ags.xcf
new file mode 100644
index 0000000..6674d9f
Binary files /dev/null and b/doc/images/gimp/ags.xcf differ
diff --git a/doc/images/jumper.png b/doc/images/jumper.png
new file mode 100644
index 0000000..1a9383e
Binary files /dev/null and b/doc/images/jumper.png differ
diff --git a/doc/listings/echo_get_type.c b/doc/listings/echo_get_type.c
new file mode 100644
index 0000000..6cdbdc2
--- /dev/null
+++ b/doc/listings/echo_get_type.c
@@ -0,0 +1,36 @@
+GType
+ags_echo_channel_get_type()
+{
+ static GType ags_type_echo_channel = 0;
+
+ if(!ags_type_echo_channel){
+ static const GTypeInfo ags_echo_channel_info = {
+ sizeof (AgsEchoChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_echo_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_channel */
+ sizeof (AgsEchoChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_echo_channel_init,
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_echo_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_echo_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsEchoChannel\0",
+ &ags_echo_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_echo_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_echo_channel);
+}
diff --git a/doc/listings/echo_plugin_interface_init.c b/doc/listings/echo_plugin_interface_init.c
new file mode 100644
index 0000000..919941e
--- /dev/null
+++ b/doc/listings/echo_plugin_interface_init.c
@@ -0,0 +1,7 @@
+void
+ags_echo_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_echo_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_echo_channel_set_ports;
+}
diff --git a/doc/listings/echo_set_ports.c b/doc/listings/echo_set_ports.c
new file mode 100644
index 0000000..bcdf4fb
--- /dev/null
+++ b/doc/listings/echo_set_ports.c
@@ -0,0 +1,32 @@
+ags_echo_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./delay[0]\0",
+ 10)){
+ g_object_set(G_OBJECT(plugin),
+ "delay\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./repeat[0]\0",
+ 11)){
+ g_object_set(G_OBJECT(plugin),
+ "repeat\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./fade[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "fade\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./dry[0]\0",
+ 8)){
+ g_object_set(G_OBJECT(plugin),
+ "dry\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
diff --git a/doc/listings/effects_echo_audio.c b/doc/listings/effects_echo_audio.c
new file mode 100644
index 0000000..a502ec5
--- /dev/null
+++ b/doc/listings/effects_echo_audio.c
@@ -0,0 +1,8 @@
+AgsEchoAudio *echo_audio;
+
+echo_audio = (AgsEchoAudio *) g_object_new(AGS_TYPE_ECHO_AUDIO,
+ "audio", audio,
+ "container", echo_container,
+ NULL);
+
+AGS_RECALL(echo_audio)->flags = AGS_RECALL_TEMPLATE;
diff --git a/doc/listings/effects_echo_audio_run.c b/doc/listings/effects_echo_audio_run.c
new file mode 100644
index 0000000..63f9a01
--- /dev/null
+++ b/doc/listings/effects_echo_audio_run.c
@@ -0,0 +1,7 @@
+echo_audio_run = (AgsEchoAudioRun *) g_object_new(AGS_TYPE_ECHO_AUDIO_RUN,
+ "audio", audio,
+ "container", echo_container,
+ "recall_audio", echo_audio,
+ NULL);
+
+AGS_RECALL(echo_audio_run)->flags = AGS_RECALL_TEMPLATE;
diff --git a/doc/listings/effects_echo_channel.c b/doc/listings/effects_echo_channel.c
new file mode 100644
index 0000000..f0a9d78
--- /dev/null
+++ b/doc/listings/effects_echo_channel.c
@@ -0,0 +1,13 @@
+AgsEchoChannel *echo_channel;
+
+echo_channel = (AgsEchoChannel *) g_object_new(AGS_TYPE_ECHO_CHANNEL,
+ "channel", channel,
+ "container", echo_container,
+ "recall_audio", echo_audio,
+ "delay", (devout->frequency * (60 / devout->bpm) / 4),
+ "repeat", 3,
+ "fade", -0.25,
+ "dry", 0.5,
+ NULL);
+
+AGS_RECALL(echo_channel)->flags = AGS_RECALL_TEMPLATE;
diff --git a/doc/listings/effects_echo_channel_run.c b/doc/listings/effects_echo_channel_run.c
new file mode 100644
index 0000000..0e3943d
--- /dev/null
+++ b/doc/listings/effects_echo_channel_run.c
@@ -0,0 +1,11 @@
+AgsEchoChannelRun *echo_channel_run;
+
+echo_channel_run = (AgsEchoChannelRun *) g_object_new(AGS_TYPE_ECHO_CHANNEL_RUN,
+ "channel", channel
+ "container", echo_container,
+ "recall_audio", echo_audio,
+ "recall_channel", echo_channel,
+ "recall_audio_run", echo_audio_run,
+ NULL);
+
+AGS_RECALL(echo_channel_run)->flags = AGS_RECALL_TEMPLATE;
diff --git a/doc/listings/effects_recall_container.c b/doc/listings/effects_recall_container.c
new file mode 100644
index 0000000..141dd02
--- /dev/null
+++ b/doc/listings/effects_recall_container.c
@@ -0,0 +1,17 @@
+AgsMachine *machine;
+AgsDevout *devout;
+AgsAudio *audio;
+AgsChannel *channel;
+AgsRecallContainer *echo_container;
+
+/* some pseudo code */
+machine = (AgsMachine *) gtk_widget_get_ancestor(widget,
+ AGS_TYPE_MACHINE);
+
+/* retrieve some essencial objects */
+audio = machine->audio;
+devout = audio->devout;
+
+/* create the container */
+recall_container = (AgsRecallContainer *) g_object_new(AGS_TYPE_RECALL_CONTAINER,
+ NULL);
diff --git a/doc/listings/linking_prerequisites.c b/doc/listings/linking_prerequisites.c
new file mode 100644
index 0000000..2b36f95
--- /dev/null
+++ b/doc/listings/linking_prerequisites.c
@@ -0,0 +1,32 @@
+AgsTaskThread *task_thread;
+AgsDevout *devout;
+AgsAudio *master_audio, *slave_audio;
+AgsLinkChannel *linkChannel;
+GError *error;
+
+/* some pseudo code */
+devout = AGS_WINDOW(gtk_widget_get_toblevel(widget))->devout;
+task_thread = AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread;
+
+/* create AgsAudio objects */
+master_audio = (AgsAudio *) g_object_new(AGS_TYPE_AUDIO,
+ "devout", devout,
+ NULL);
+slave_audio = (AgsAudio *) g_object_new(AGS_TYPE_AUDIO,
+ "devout", devout,
+ NULL);
+
+/* assign AgsAudioSignal objects to master_audio and slave_audio */
+ags_audio_set_flags(master_audio,
+ AGS_AUDIO_OUTPUT_HAS_RECYCLING);
+ags_audio_set_flags(slave_audio,
+ (AGS_AUDIO_ASYNC | AGS_AUDIO_OUTPUT_HAS_RECYCLING | AGS_AUDIO_INPUT_HAS_RECYCLING));
+
+/* create AgsChannel objects within master_audio and slave_audio */
+ags_audio_set_audio_channels(master_audio, 2);
+ags_audio_set_pads(master_audio, AGS_TYPE_OUTPUT, 1);
+ags_audio_set_pads(master_audio, AGS_TYPE_INPUT, 1);
+
+ags_audio_set_audio_channels(slave_audio, 2);
+ags_audio_set_pads(slave_audio, AGS_TYPE_OUTPUT, 1);
+ags_audio_set_pads(slave_audio, AGS_TYPE_INPUT, 8);
diff --git a/doc/listings/linking_safe.c b/doc/listings/linking_safe.c
new file mode 100644
index 0000000..89f8cef
--- /dev/null
+++ b/doc/listings/linking_safe.c
@@ -0,0 +1,8 @@
+/* creating AgsLink task and add it to AgsDevout */
+link_channel = ags_link_channel_new(ags_channel_nth(master_audio->input, 0),
+ ags_channel_nth(slave_audio->output, 0));
+ags_task_thread_append_task(task_thread, link_channel);
+
+link_channel = ags_link_channel_new(ags_channel_nth(master_audio->input, 1),
+ ags_channel_nth(slave_audio->output, 1));
+ags_task_thread_append_task(task_thread, link_channel);
diff --git a/doc/listings/linking_unsafe.c b/doc/listings/linking_unsafe.c
new file mode 100644
index 0000000..e57e3de
--- /dev/null
+++ b/doc/listings/linking_unsafe.c
@@ -0,0 +1,9 @@
+/* link master_audio's input with slave_audio's output */
+ags_channel_set_link(ags_channel_nth(master_audio->input, 0),
+ ags_channel_nth(slave_audio->output, 0),
+ &error);
+
+
+ags_channel_set_link(ags_channel_nth(master_audio->input, 1),
+ ags_channel_nth(slave_audio->output, 1),
+ &error);
diff --git a/doc/reference/ags/ags-decl-list.txt b/doc/reference/ags/ags-decl-list.txt
new file mode 100644
index 0000000..5f52442
--- /dev/null
+++ b/doc/reference/ags/ags-decl-list.txt
@@ -0,0 +1,5715 @@
+<SECTION>
+<FILE>ags_add_audio</FILE>
+<TITLE>AgsAddAudio</TITLE>
+AgsAddAudio
+AgsAddAudioClass
+ags_add_audio_new
+<SUBSECTION Standard>
+AGS_ADD_AUDIO
+AGS_ADD_AUDIO_CLASS
+AGS_ADD_AUDIO_GET_CLASS
+AGS_IS_ADD_AUDIO
+AGS_IS_ADD_AUDIO_CLASS
+AGS_TYPE_ADD_AUDIO
+ags_add_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_audio_signal</FILE>
+<TITLE>AgsAddAudioSignal</TITLE>
+AgsAddAudioSignal
+AgsAddAudioSignalClass
+ags_add_audio_signal_new
+<SUBSECTION Standard>
+AGS_ADD_AUDIO_SIGNAL
+AGS_ADD_AUDIO_SIGNAL_CLASS
+AGS_ADD_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_ADD_AUDIO_SIGNAL
+AGS_IS_ADD_AUDIO_SIGNAL_CLASS
+AGS_TYPE_ADD_AUDIO_SIGNAL
+ags_add_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_line_member</FILE>
+<TITLE>AgsAddLineMember</TITLE>
+AgsAddLineMember
+AgsAddLineMemberClass
+ags_add_line_member_new
+<SUBSECTION Standard>
+AGS_ADD_LINE_MEMBER
+AGS_ADD_LINE_MEMBER_CLASS
+AGS_ADD_LINE_MEMBER_GET_CLASS
+AGS_IS_ADD_LINE_MEMBER
+AGS_IS_ADD_LINE_MEMBER_CLASS
+AGS_TYPE_ADD_LINE_MEMBER
+ags_add_line_member_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_note</FILE>
+<TITLE>AgsAddNote</TITLE>
+AgsAddNote
+AgsAddNoteClass
+ags_add_note_new
+<SUBSECTION Standard>
+AGS_ADD_NOTE
+AGS_ADD_NOTE_CLASS
+AGS_ADD_NOTE_GET_CLASS
+AGS_IS_ADD_NOTE
+AGS_IS_ADD_NOTE_CLASS
+AGS_TYPE_ADD_NOTE
+ags_add_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_point_to_selection</FILE>
+<TITLE>AgsAddPointToSelection</TITLE>
+AgsAddPointToSelection
+AgsAddPointToSelectionClass
+ags_add_point_to_selection_new
+<SUBSECTION Standard>
+AGS_ADD_POINT_TO_SELECTION
+AGS_ADD_POINT_TO_SELECTION_CLASS
+AGS_ADD_POINT_TO_SELECTION_GET_CLASS
+AGS_IS_ADD_POINT_TO_SELECTION
+AGS_IS_ADD_POINT_TO_SELECTION_CLASS
+AGS_TYPE_ADD_POINT_TO_SELECTION
+ags_add_point_to_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_recall</FILE>
+<TITLE>AgsAddRecall</TITLE>
+AgsAddRecall
+AgsAddRecallClass
+ags_add_recall_new
+<SUBSECTION Standard>
+AGS_ADD_RECALL
+AGS_ADD_RECALL_CLASS
+AGS_ADD_RECALL_GET_CLASS
+AGS_IS_ADD_RECALL
+AGS_IS_ADD_RECALL_CLASS
+AGS_TYPE_ADD_RECALL
+ags_add_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_region_to_selection</FILE>
+<TITLE>AgsAddRegionToSelection</TITLE>
+AgsAddRegionToSelection
+AgsAddRegionToSelectionClass
+ags_add_region_to_selection_new
+<SUBSECTION Standard>
+AGS_ADD_REGION_TO_SELECTION
+AGS_ADD_REGION_TO_SELECTION_CLASS
+AGS_ADD_REGION_TO_SELECTION_GET_CLASS
+AGS_IS_ADD_REGION_TO_SELECTION
+AGS_IS_ADD_REGION_TO_SELECTION_CLASS
+AGS_TYPE_ADD_REGION_TO_SELECTION
+ags_add_region_to_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_amplifier</FILE>
+ags_amplifier
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_audio</FILE>
+<TITLE>AgsAppendAudio</TITLE>
+AgsAppendAudio
+AgsAppendAudioClass
+ags_append_audio_new
+<SUBSECTION Standard>
+AGS_APPEND_AUDIO
+AGS_APPEND_AUDIO_CLASS
+AGS_APPEND_AUDIO_GET_CLASS
+AGS_IS_APPEND_AUDIO
+AGS_IS_APPEND_AUDIO_CLASS
+AGS_TYPE_APPEND_AUDIO
+ags_append_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_audio_threaded</FILE>
+<TITLE>AgsAppendAudioThreaded</TITLE>
+AgsAppendAudioThreaded
+AgsAppendAudioThreadedClass
+ags_append_audio_threaded_new
+<SUBSECTION Standard>
+AGS_APPEND_AUDIO_THREADED
+AGS_APPEND_AUDIO_THREADED_CLASS
+AGS_APPEND_AUDIO_THREADED_GET_CLASS
+AGS_IS_APPEND_AUDIO_THREADED
+AGS_IS_APPEND_AUDIO_THREADED_CLASS
+AGS_TYPE_APPEND_AUDIO_THREADED
+ags_append_audio_threaded_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_channel</FILE>
+<TITLE>AgsAppendChannel</TITLE>
+AgsAppendChannel
+AgsAppendChannelClass
+ags_append_channel_new
+<SUBSECTION Standard>
+AGS_APPEND_CHANNEL
+AGS_APPEND_CHANNEL_CLASS
+AGS_APPEND_CHANNEL_GET_CLASS
+AGS_IS_APPEND_CHANNEL
+AGS_IS_APPEND_CHANNEL_CLASS
+AGS_TYPE_APPEND_CHANNEL
+ags_append_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_recall</FILE>
+<TITLE>AgsAppendRecall</TITLE>
+AgsAppendRecall
+AgsAppendRecallClass
+ags_append_recall_new
+<SUBSECTION Standard>
+AGS_APPEND_RECALL
+AGS_APPEND_RECALL_CLASS
+AGS_APPEND_RECALL_GET_CLASS
+AGS_IS_APPEND_RECALL
+AGS_IS_APPEND_RECALL_CLASS
+AGS_TYPE_APPEND_RECALL
+ags_append_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_applicable</FILE>
+<TITLE>AgsApplicable</TITLE>
+AgsApplicable
+AgsApplicableInterface
+ags_applicable_apply
+ags_applicable_reset
+ags_applicable_set_update
+<SUBSECTION Standard>
+AGS_APPLICABLE
+AGS_APPLICABLE_GET_INTERFACE
+AGS_APPLICABLE_INTERFACE
+AGS_IS_APPLICABLE
+AGS_IS_APPLICABLE_INTERFACE
+AGS_TYPE_APPLICABLE
+ags_applicable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_bpm</FILE>
+<TITLE>AgsApplyBpm</TITLE>
+AgsApplyBpm
+AgsApplyBpmClass
+ags_apply_bpm_new
+<SUBSECTION Standard>
+AGS_APPLY_BPM
+AGS_APPLY_BPM_CLASS
+AGS_APPLY_BPM_GET_CLASS
+AGS_IS_APPLY_BPM
+AGS_IS_APPLY_BPM_CLASS
+AGS_TYPE_APPLY_BPM
+ags_apply_bpm_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_sequencer_length</FILE>
+<TITLE>AgsApplySequencerLength</TITLE>
+AgsApplySequencerLength
+AgsApplySequencerLengthClass
+ags_apply_sequencer_length_new
+<SUBSECTION Standard>
+AGS_APPLY_SEQUENCER_LENGTH
+AGS_APPLY_SEQUENCER_LENGTH_CLASS
+AGS_APPLY_SEQUENCER_LENGTH_GET_CLASS
+AGS_IS_APPLY_SEQUENCER_LENGTH
+AGS_IS_APPLY_SEQUENCER_LENGTH_CLASS
+AGS_TYPE_APPLY_SEQUENCER_LENGTH
+ags_apply_sequencer_length_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_synth</FILE>
+<TITLE>AgsApplySynth</TITLE>
+AgsApplySynth
+AgsApplySynthClass
+AgsApplySynthWave
+ags_apply_synth_new
+<SUBSECTION Standard>
+AGS_APPLY_SYNTH
+AGS_APPLY_SYNTH_CLASS
+AGS_APPLY_SYNTH_GET_CLASS
+AGS_IS_APPLY_SYNTH
+AGS_IS_APPLY_SYNTH_CLASS
+AGS_TYPE_APPLY_SYNTH
+ags_apply_synth_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_tact</FILE>
+<TITLE>AgsApplyTact</TITLE>
+AgsApplyTact
+AgsApplyTactClass
+ags_apply_tact_new
+<SUBSECTION Standard>
+AGS_APPLY_TACT
+AGS_APPLY_TACT_CLASS
+AGS_APPLY_TACT_GET_CLASS
+AGS_IS_APPLY_TACT
+AGS_IS_APPLY_TACT_CLASS
+AGS_TYPE_APPLY_TACT
+ags_apply_tact_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_wavetable</FILE>
+<TITLE>AgsApplyWavetable</TITLE>
+AgsApplyWavetable
+AgsApplyWavetableClass
+ags_apply_wavetable_new
+<SUBSECTION Standard>
+AGS_APPLY_WAVETABLE
+AGS_APPLY_WAVETABLE_CLASS
+AGS_APPLY_WAVETABLE_GET_CLASS
+AGS_IS_APPLY_WAVETABLE
+AGS_IS_APPLY_WAVETABLE_CLASS
+AGS_TYPE_APPLY_WAVETABLE
+ags_apply_wavetable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_async_queue</FILE>
+<TITLE>AgsAsyncQueue</TITLE>
+AGS_ASYNC_QUEUE_CLOCK_ID
+AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE
+AGS_ASYNC_QUEUE_SIGNAL_HIGH
+AGS_ASYNC_QUEUE_SIGNAL_LOW
+AgsAsyncQueue
+AgsAsyncQueueClass
+AgsAsyncQueueFlags
+AgsContext
+AgsTimer
+ags_async_queue_add
+ags_async_queue_find_context
+ags_async_queue_idle
+ags_async_queue_initerrupt
+ags_async_queue_new
+ags_async_queue_next_interval
+ags_async_queue_pop_context
+ags_async_queue_push_context
+ags_async_queue_remove
+ags_async_queue_worker
+ags_context_alloc
+ags_timer_alloc
+<SUBSECTION Standard>
+AGS_ASYNC_QUEUE
+AGS_ASYNC_QUEUE_CLASS
+AGS_ASYNC_QUEUE_GET_CLASS
+AGS_IS_ASYNC_QUEUE
+AGS_IS_ASYNC_QUEUE_CLASS
+AGS_TYPE_ASYNC_QUEUE
+ags_async_queue_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio</FILE>
+<TITLE>AgsAudio</TITLE>
+AgsAudio
+AgsAudioClass
+AgsAudioFlags
+ags_audio_add_recall
+ags_audio_add_recall_container
+ags_audio_add_recall_id
+ags_audio_cancel
+ags_audio_done
+ags_audio_duplicate_recall
+ags_audio_init_recall
+ags_audio_init_run
+ags_audio_is_playing
+ags_audio_new
+ags_audio_open_files
+ags_audio_play
+ags_audio_recall_change_state
+ags_audio_recursive_play_init
+ags_audio_remove_recall
+ags_audio_remove_recall_container
+ags_audio_remove_recall_id
+ags_audio_resolve_recall
+ags_audio_set_audio_channels
+ags_audio_set_devout
+ags_audio_set_flags
+ags_audio_set_pads
+ags_audio_set_sequence_length
+ags_audio_tact
+ags_audio_unset_flags
+<SUBSECTION Standard>
+AGS_AUDIO
+AGS_AUDIO_CLASS
+AGS_AUDIO_GET_CLASS
+AGS_IS_AUDIO
+AGS_IS_AUDIO_CLASS
+AGS_TYPE_AUDIO
+ags_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_file</FILE>
+<TITLE>AgsAudioFile</TITLE>
+AgsAudioFile
+AgsAudioFileClass
+ags_audio_file_close
+ags_audio_file_flush
+ags_audio_file_new
+ags_audio_file_open
+ags_audio_file_open_from_data
+ags_audio_file_read_audio_signal
+ags_audio_file_rw_open
+ags_audio_file_seek
+ags_audio_file_write
+<SUBSECTION Standard>
+AGS_AUDIO_FILE
+AGS_AUDIO_FILE_CLASS
+AGS_AUDIO_FILE_GET_CLASS
+AGS_IS_AUDIO_FILE
+AGS_IS_AUDIO_FILE_CLASS
+AGS_TYPE_AUDIO_FILE
+ags_audio_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_file_xml</FILE>
+<TITLE>AgsAudioFileXml</TITLE>
+AgsAudioFileXml
+AgsAudioFileXmlClass
+ags_audio_file_xml_new
+<SUBSECTION Standard>
+AGS_AUDIO_FILE_XML
+AGS_AUDIO_FILE_XML_CLASS
+AGS_IS_AUDIO_FILE_XML
+AGS_TYPE_AUDIO_FILE_XML
+ags_audio_file_xml_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_loop</FILE>
+<TITLE>AgsAudioLoop</TITLE>
+AGS_AUDIO_LOOP_DEFAULT_JIFFIE
+AgsAudioLoop
+AgsAudioLoopClass
+AgsAudioLoopFlags
+ags_audio_loop_add_audio
+ags_audio_loop_add_channel
+ags_audio_loop_add_recall
+ags_audio_loop_new
+ags_audio_loop_remove_audio
+ags_audio_loop_remove_channel
+ags_audio_loop_remove_recall
+<SUBSECTION Standard>
+AGS_AUDIO_LOOP
+AGS_AUDIO_LOOP_CLASS
+AGS_AUDIO_LOOP_GET_CLASS
+AGS_IS_AUDIO_LOOP
+AGS_IS_AUDIO_LOOP_CLASS
+AGS_TYPE_AUDIO_LOOP
+ags_audio_loop_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_preferences</FILE>
+<TITLE>AgsAudioPreferences</TITLE>
+AgsAudioPreferences
+AgsAudioPreferencesClass
+ags_audio_preferences_new
+<SUBSECTION Standard>
+AGS_AUDIO_PREFERENCES
+AGS_AUDIO_PREFERENCES_CLASS
+AGS_AUDIO_PREFERENCES_GET_CLASS
+AGS_IS_AUDIO_PREFERENCES
+AGS_IS_AUDIO_PREFERENCES_CLASS
+AGS_TYPE_AUDIO_PREFERENCES
+ags_audio_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_preferences_callbacks</FILE>
+ags_audio_preferences_audio_channels_changed
+ags_audio_preferences_buffer_size_changed
+ags_audio_preferences_card_changed_callback
+ags_audio_preferences_samplerate_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_set_recycling</FILE>
+<TITLE>AgsAudioSetRecycling</TITLE>
+AgsAudioSetRecycling
+AgsAudioSetRecyclingClass
+ags_audio_set_recycling_new
+<SUBSECTION Standard>
+AGS_AUDIO_SET_RECYCLING
+AGS_AUDIO_SET_RECYCLING_CLASS
+AGS_AUDIO_SET_RECYCLING_GET_CLASS
+AGS_IS_AUDIO_SET_RECYCLING
+AGS_IS_AUDIO_SET_RECYCLING_CLASS
+AGS_TYPE_AUDIO_SET_RECYCLING
+ags_audio_set_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_signal</FILE>
+<TITLE>AgsAudioSignal</TITLE>
+AgsAttack
+AgsAttackFlags
+AgsAudioSignal
+AgsAudioSignalClass
+AgsAudioSignalFlags
+ags_audio_signal_add_stream
+ags_audio_signal_copy_buffer_to_buffer
+ags_audio_signal_copy_buffer_to_double_buffer
+ags_audio_signal_copy_double_buffer_to_buffer
+ags_audio_signal_duplicate_stream
+ags_audio_signal_get_by_recall_id
+ags_audio_signal_get_length_till_current
+ags_audio_signal_get_stream_current
+ags_audio_signal_get_template
+ags_audio_signal_morph_samplerate
+ags_audio_signal_new
+ags_audio_signal_new_with_length
+ags_audio_signal_realloc_buffer_size
+ags_audio_signal_scale
+ags_audio_signal_stream_resize
+ags_audio_signal_stream_safe_resize
+ags_audio_signal_tile
+ags_stream_alloc
+<SUBSECTION Standard>
+AGS_AUDIO_SIGNAL
+AGS_AUDIO_SIGNAL_CLASS
+AGS_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_AUDIO_SIGNAL
+AGS_IS_AUDIO_SIGNAL_CLASS
+AGS_TYPE_AUDIO_SIGNAL
+ags_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_autosave_thread</FILE>
+<TITLE>AgsAutosaveThread</TITLE>
+AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME
+AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE
+AgsAutosaveThread
+AgsAutosaveThreadClass
+ags_autosave_thread_new
+<SUBSECTION Standard>
+AGS_AUTOSAVE_THREAD
+AGS_AUTOSAVE_THREAD_CLASS
+AGS_AUTOSAVE_THREAD_GET_CLASS
+AGS_IS_AUTOSAVE_THREAD
+AGS_IS_AUTOSAVE_THREAD_CLASS
+AGS_TYPE_AUTOSAVE_THREAD
+ags_autosave_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_audio_signal</FILE>
+<TITLE>AgsBufferAudioSignal</TITLE>
+AgsBufferAudioSignal
+AgsBufferAudioSignalClass
+ags_buffer_audio_signal_new
+<SUBSECTION Standard>
+AGS_BUFFER_AUDIO_SIGNAL
+AGS_BUFFER_AUDIO_SIGNAL_CLASS
+AGS_BUFFER_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_BUFFER_AUDIO_SIGNAL
+AGS_IS_BUFFER_AUDIO_SIGNAL_CLASS
+AGS_TYPE_BUFFER_AUDIO_SIGNAL
+ags_buffer_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_channel</FILE>
+<TITLE>AgsBufferChannel</TITLE>
+AgsBufferChannel
+AgsBufferChannelClass
+ags_buffer_channel_new
+<SUBSECTION Standard>
+AGS_BUFFER_CHANNEL
+AGS_BUFFER_CHANNEL_CLASS
+AGS_BUFFER_CHANNEL_GET_CLASS
+AGS_IS_BUFFER_CHANNEL
+AGS_IS_BUFFER_CHANNEL_CLASS
+AGS_TYPE_BUFFER_CHANNEL
+ags_buffer_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_channel_run</FILE>
+<TITLE>AgsBufferChannelRun</TITLE>
+AgsBufferChannelRun
+AgsBufferChannelRunClass
+ags_buffer_channel_run_new
+<SUBSECTION Standard>
+AGS_BUFFER_CHANNEL_RUN
+AGS_BUFFER_CHANNEL_RUN_CLASS
+AGS_BUFFER_CHANNEL_RUN_GET_CLASS
+AGS_IS_BUFFER_CHANNEL_RUN
+AGS_IS_BUFFER_CHANNEL_RUN_CLASS
+AGS_TYPE_BUFFER_CHANNEL_RUN
+ags_buffer_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_recycling</FILE>
+<TITLE>AgsBufferRecycling</TITLE>
+AgsBufferRecycling
+AgsBufferRecyclingClass
+ags_buffer_recycling_new
+<SUBSECTION Standard>
+AGS_BUFFER_RECYCLING
+AGS_BUFFER_RECYCLING_CLASS
+AGS_BUFFER_RECYCLING_GET_CLASS
+AGS_IS_BUFFER_RECYCLING
+AGS_IS_BUFFER_RECYCLING_CLASS
+AGS_TYPE_BUFFER_RECYCLING
+ags_buffer_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cancel_audio</FILE>
+<TITLE>AgsCancelAudio</TITLE>
+AgsCancelAudio
+AgsCancelAudioClass
+ags_cancel_audio_new
+<SUBSECTION Standard>
+AGS_CANCEL_AUDIO
+AGS_CANCEL_AUDIO_CLASS
+AGS_CANCEL_AUDIO_GET_CLASS
+AGS_IS_CANCEL_AUDIO
+AGS_IS_CANCEL_AUDIO_CLASS
+AGS_TYPE_CANCEL_AUDIO
+ags_cancel_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cancel_channel</FILE>
+<TITLE>AgsCancelChannel</TITLE>
+AgsCancelChannel
+AgsCancelChannelClass
+ags_cancel_channel_new
+<SUBSECTION Standard>
+AGS_CANCEL_CHANNEL
+AGS_CANCEL_CHANNEL_CLASS
+AGS_CANCEL_CHANNEL_GET_CLASS
+AGS_IS_CANCEL_CHANNEL
+AGS_IS_CANCEL_CHANNEL_CLASS
+AGS_TYPE_CANCEL_CHANNEL
+ags_cancel_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cancel_recall</FILE>
+<TITLE>AgsCancelRecall</TITLE>
+AgsCancelRecall
+AgsCancelRecallClass
+ags_cancel_recall_new
+<SUBSECTION Standard>
+AGS_CANCEL_RECALL
+AGS_CANCEL_RECALL_CLASS
+AGS_CANCEL_RECALL_GET_CLASS
+AGS_IS_CANCEL_RECALL
+AGS_IS_CANCEL_RECALL_CLASS
+AGS_TYPE_CANCEL_RECALL
+ags_cancel_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cartesian</FILE>
+<TITLE>AgsCartesian</TITLE>
+AgsCartesian
+AgsCartesianClass
+ags_cartesian_new
+<SUBSECTION Standard>
+AGS_CARTESIAN
+AGS_CARTESIAN_CLASS
+AGS_CARTESIAN_GET_CLASS
+AGS_IS_CARTESIAN
+AGS_IS_CARTESIAN_CLASS
+AGS_TYPE_CARTESIAN
+ags_cartesian_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_change_indicator</FILE>
+<TITLE>AgsChangeIndicator</TITLE>
+AgsChangeIndicator
+AgsChangeIndicatorClass
+ags_change_indicator_new
+<SUBSECTION Standard>
+AGS_CHANGE_INDICATOR
+AGS_CHANGE_INDICATOR_CLASS
+AGS_CHANGE_INDICATOR_GET_CLASS
+AGS_IS_CHANGE_INDICATOR
+AGS_IS_CHANGE_INDICATOR_CLASS
+AGS_TYPE_CHANGE_INDICATOR
+ags_change_indicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_change_tact</FILE>
+<TITLE>AgsChangeTact</TITLE>
+AgsChangeTact
+AgsChangeTactClass
+ags_change_tact_new
+<SUBSECTION Standard>
+AGS_CHANGE_TACT
+AGS_CHANGE_TACT_CLASS
+AGS_CHANGE_TACT_GET_CLASS
+AGS_IS_CHANGE_TACT
+AGS_IS_CHANGE_TACT_CLASS
+AGS_TYPE_CHANGE_TACT
+ags_change_tact_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_channel</FILE>
+<TITLE>AgsChannel</TITLE>
+AGS_CHANNEL_ERROR
+AgsChannel
+AgsChannelClass
+AgsChannelError
+AgsChannelFlags
+AgsChannelRecallIDMode
+ags_channel_add_recall
+ags_channel_add_recall_container
+ags_channel_add_recall_id
+ags_channel_cancel
+ags_channel_done
+ags_channel_duplicate_recall
+ags_channel_error_quark
+ags_channel_find_recall
+ags_channel_first
+ags_channel_first_with_recycling
+ags_channel_init_recall
+ags_channel_last
+ags_channel_last_with_recycling
+ags_channel_new
+ags_channel_nth
+ags_channel_pad_first
+ags_channel_pad_last
+ags_channel_pad_nth
+ags_channel_play
+ags_channel_recall_id_set
+ags_channel_recursive_play
+ags_channel_recursive_play_init
+ags_channel_recursive_play_threaded
+ags_channel_recursive_reset_recall_ids
+ags_channel_recycling_changed
+ags_channel_remove_recall
+ags_channel_remove_recall_id
+ags_channel_resolve_recall
+ags_channel_safe_resize_audio_signal
+ags_channel_set_devout
+ags_channel_set_link
+ags_channel_set_recycling
+ags_channel_tillrecycling_cancel
+<SUBSECTION Standard>
+AGS_CHANNEL
+AGS_CHANNEL_CLASS
+AGS_CHANNEL_GET_CLASS
+AGS_IS_CHANNEL
+AGS_IS_CHANNEL_CLASS
+AGS_TYPE_CHANNEL
+ags_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_channel_iter</FILE>
+AgsChannelIter
+AgsChannelIterFlags
+ags_channel_iter_alloc
+ags_channel_iter_free
+ags_channel_iter_next
+ags_channel_iter_prev
+</SECTION>
+
+<SECTION>
+<FILE>ags_channel_set_recycling</FILE>
+<TITLE>AgsChannelSetRecycling</TITLE>
+AgsChannelSetRecycling
+AgsChannelSetRecyclingClass
+ags_channel_set_recycling_new
+<SUBSECTION Standard>
+AGS_CHANNEL_SET_RECYCLING
+AGS_CHANNEL_SET_RECYCLING_CLASS
+AGS_CHANNEL_SET_RECYCLING_GET_CLASS
+AGS_IS_CHANNEL_SET_RECYCLING
+AGS_IS_CHANNEL_SET_RECYCLING_CLASS
+AGS_TYPE_CHANNEL_SET_RECYCLING
+ags_channel_set_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_clone_channel</FILE>
+<TITLE>AgsCloneChannel</TITLE>
+AgsCloneChannel
+AgsCloneChannelClass
+ags_clone_channel_new
+<SUBSECTION Standard>
+AGS_CLONE_CHANNEL
+AGS_CLONE_CHANNEL_CLASS
+AGS_CLONE_CHANNEL_GET_CLASS
+AGS_IS_CLONE_CHANNEL
+AGS_IS_CLONE_CHANNEL_CLASS
+AGS_TYPE_CLONE_CHANNEL
+ags_clone_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_clone_channel_run</FILE>
+<TITLE>AgsCloneChannelRun</TITLE>
+AgsCloneChannelRun
+AgsCloneChannelRunClass
+ags_clone_channel_run_new
+<SUBSECTION Standard>
+AGS_CLONE_CHANNEL_RUN
+AGS_CLONE_CHANNEL_RUN_CLASS
+AGS_CLONE_CHANNEL_RUN_GET_CLASS
+AGS_IS_CLONE_CHANNEL_RUN
+AGS_IS_CLONE_CHANNEL_RUN_CLASS
+AGS_TYPE_CLONE_CHANNEL_RUN
+ags_clone_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_combo_box_text</FILE>
+ags_combo_box_text_remove_all
+</SECTION>
+
+<SECTION>
+<FILE>ags_config</FILE>
+<TITLE>AgsConfig</TITLE>
+AGS_CONFIG_DEFAULT_BUILD_ID
+AGS_CONFIG_DEFAULT_VERSION
+AGS_CONFIG_DEVOUT
+AGS_CONFIG_THREAD
+AgsConfig
+AgsConfigClass
+ags_config_get
+ags_config_load_defaults
+ags_config_load_from_file
+ags_config_new
+ags_config_save
+ags_config_set
+<SUBSECTION Standard>
+AGS_CONFIG
+AGS_CONFIG_CLASS
+AGS_CONFIG_GET_CLASS
+AGS_IS_CONFIG
+AGS_IS_CONFIG_CLASS
+AGS_TYPE_CONFIG
+ags_config_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_container</FILE>
+ags_container_add_all
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_audio_signal</FILE>
+<TITLE>AgsCopyAudioSignal</TITLE>
+AgsCopyAudioSignal
+AgsCopyAudioSignalClass
+ags_copy_audio_signal_new
+<SUBSECTION Standard>
+AGS_COPY_AUDIO_SIGNAL
+AGS_COPY_AUDIO_SIGNAL_CLASS
+AGS_COPY_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_COPY_AUDIO_SIGNAL
+AGS_IS_COPY_AUDIO_SIGNAL_CLASS
+AGS_TYPE_COPY_AUDIO_SIGNAL
+ags_copy_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_channel</FILE>
+<TITLE>AgsCopyChannel</TITLE>
+AgsCopyChannel
+AgsCopyChannelClass
+ags_copy_channel_new
+<SUBSECTION Standard>
+AGS_COPY_CHANNEL
+AGS_COPY_CHANNEL_CLASS
+AGS_COPY_CHANNEL_GET_CLASS
+AGS_IS_COPY_CHANNEL
+AGS_IS_COPY_CHANNEL_CLASS
+AGS_TYPE_COPY_CHANNEL
+ags_copy_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_channel_run</FILE>
+<TITLE>AgsCopyChannelRun</TITLE>
+AgsCopyChannelRun
+AgsCopyChannelRunClass
+AgsCopyChannelRunFlags
+ags_copy_channel_run_new
+<SUBSECTION Standard>
+AGS_COPY_CHANNEL_RUN
+AGS_COPY_CHANNEL_RUN_CLASS
+AGS_COPY_CHANNEL_RUN_GET_CLASS
+AGS_IS_COPY_CHANNEL_RUN
+AGS_IS_COPY_CHANNEL_RUN_CLASS
+AGS_TYPE_COPY_CHANNEL_RUN
+ags_copy_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_notation_audio</FILE>
+<TITLE>AgsCopyNotationAudio</TITLE>
+AgsCopyNotationAudio
+AgsCopyNotationAudioClass
+AgsCopyNotationAudioFlags
+ags_copy_notation_audio_new
+<SUBSECTION Standard>
+AGS_COPY_NOTATION_AUDIO
+AGS_COPY_NOTATION_AUDIO_CLASS
+AGS_COPY_NOTATION_AUDIO_GET_CLASS
+AGS_IS_COPY_NOTATION_AUDIO
+AGS_IS_COPY_NOTATION_AUDIO_CLASS
+AGS_TYPE_COPY_NOTATION_AUDIO
+ags_copy_notation_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_notation_audio_run</FILE>
+<TITLE>AgsCopyNotationAudioRun</TITLE>
+AgsCopyNotationAudioRun
+AgsCopyNotationAudioRunClass
+ags_copy_notation_audio_run_new
+<SUBSECTION Standard>
+AGS_COPY_NOTATION_AUDIO_RUN
+AGS_COPY_NOTATION_AUDIO_RUN_CLASS
+AGS_COPY_NOTATION_AUDIO_RUN_GET_CLASS
+AGS_IS_COPY_NOTATION_AUDIO_RUN
+AGS_IS_COPY_NOTATION_AUDIO_RUN_CLASS
+AGS_TYPE_COPY_NOTATION_AUDIO_RUN
+ags_copy_notation_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_audio</FILE>
+<TITLE>AgsCopyPatternAudio</TITLE>
+AgsCopyPatternAudio
+AgsCopyPatternAudioClass
+ags_copy_pattern_audio_new
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_AUDIO
+AGS_COPY_PATTERN_AUDIO_CLASS
+AGS_COPY_PATTERN_AUDIO_GET_CLASS
+AGS_IS_COPY_PATTERN_AUDIO
+AGS_IS_COPY_PATTERN_AUDIO_CLASS
+AGS_TYPE_COPY_PATTERN_AUDIO
+ags_copy_pattern_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_audio_run</FILE>
+<TITLE>AgsCopyPatternAudioRun</TITLE>
+AgsCopyPatternAudioRun
+AgsCopyPatternAudioRunClass
+ags_copy_pattern_audio_run_new
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_AUDIO_RUN
+AGS_COPY_PATTERN_AUDIO_RUN_CLASS
+AGS_COPY_PATTERN_AUDIO_RUN_GET_CLASS
+AGS_IS_COPY_PATTERN_AUDIO_RUN
+AGS_IS_COPY_PATTERN_AUDIO_RUN_CLASS
+AGS_TYPE_COPY_PATTERN_AUDIO_RUN
+ags_copy_pattern_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_channel</FILE>
+<TITLE>AgsCopyPatternChannel</TITLE>
+AgsCopyPatternChannel
+AgsCopyPatternChannelClass
+ags_copy_pattern_channel_new
+ags_copy_pattern_channel_template_find_source_and_destination
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_CHANNEL
+AGS_COPY_PATTERN_CHANNEL_CLASS
+AGS_COPY_PATTERN_CHANNEL_GET_CLASS
+AGS_IS_COPY_PATTERN_CHANNEL
+AGS_IS_COPY_PATTERN_CHANNEL_CLASS
+AGS_TYPE_COPY_PATTERN_CHANNEL
+ags_copy_pattern_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_channel_run</FILE>
+<TITLE>AgsCopyPatternChannelRun</TITLE>
+AgsCopyPatternChannelRun
+AgsCopyPatternChannelRunClass
+ags_copy_pattern_channel_run_new
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_CHANNEL_RUN
+AGS_COPY_PATTERN_CHANNEL_RUN_CLASS
+AGS_COPY_PATTERN_CHANNEL_RUN_GET_CLASS
+AGS_IS_COPY_PATTERN_CHANNEL_RUN
+AGS_IS_COPY_PATTERN_CHANNEL_RUN_CLASS
+AGS_TYPE_COPY_PATTERN_CHANNEL_RUN
+ags_copy_pattern_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_recycling</FILE>
+<TITLE>AgsCopyRecycling</TITLE>
+AgsCopyRecycling
+AgsCopyRecyclingClass
+ags_copy_recycling_new
+<SUBSECTION Standard>
+AGS_COPY_RECYCLING
+AGS_COPY_RECYCLING_CLASS
+AGS_COPY_RECYCLING_GET_CLASS
+AGS_IS_COPY_RECYCLING
+AGS_IS_COPY_RECYCLING_CLASS
+AGS_TYPE_COPY_RECYCLING
+ags_copy_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_count_beats_audio</FILE>
+<TITLE>AgsCountBeatsAudio</TITLE>
+AgsCountBeatsAudio
+AgsCountBeatsAudioClass
+ags_count_beats_audio_new
+<SUBSECTION Standard>
+AGS_COUNT_BEATS_AUDIO
+AGS_COUNT_BEATS_AUDIO_CLASS
+AGS_COUNT_BEATS_AUDIO_GET_CLASS
+AGS_IS_COUNT_BEATS_AUDIO
+AGS_IS_COUNT_BEATS_AUDIO_CLASS
+AGS_TYPE_COUNT_BEATS_AUDIO
+ags_count_beats_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_count_beats_audio_run</FILE>
+<TITLE>AgsCountBeatsAudioRun</TITLE>
+AgsCountBeatsAudioRun
+AgsCountBeatsAudioRunClass
+ags_count_beats_audio_run_new
+ags_count_beats_audio_run_notation_loop
+ags_count_beats_audio_run_notation_start
+ags_count_beats_audio_run_notation_stop
+ags_count_beats_audio_run_sequencer_loop
+ags_count_beats_audio_run_sequencer_start
+ags_count_beats_audio_run_sequencer_stop
+<SUBSECTION Standard>
+AGS_COUNT_BEATS_AUDIO_RUN
+AGS_COUNT_BEATS_AUDIO_RUN_CLASS
+AGS_COUNT_BEATS_AUDIO_RUN_GET_CLASS
+AGS_IS_COUNT_BEATS_AUDIO_RUN
+AGS_IS_COUNT_BEATS_AUDIO_RUN_CLASS
+AGS_TYPE_COUNT_BEATS_AUDIO_RUN
+ags_count_beats_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_countable</FILE>
+<TITLE>AgsCountable</TITLE>
+AgsCountable
+AgsCountableInterface
+ags_countable_get_notation_counter
+ags_countable_get_sequencer_counter
+<SUBSECTION Standard>
+AGS_COUNTABLE
+AGS_COUNTABLE_GET_INTERFACE
+AGS_COUNTABLE_INTERFACE
+AGS_IS_COUNTABLE
+AGS_IS_COUNTABLE_INTERFACE
+AGS_TYPE_COUNTABLE
+ags_countable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_delay_audio</FILE>
+<TITLE>AgsDelayAudio</TITLE>
+AgsDelayAudio
+AgsDelayAudioClass
+ags_delay_audio_new
+ags_delay_audio_notation_duration_changed
+ags_delay_audio_sequencer_duration_changed
+<SUBSECTION Standard>
+AGS_DELAY_AUDIO
+AGS_DELAY_AUDIO_CLASS
+AGS_DELAY_AUDIO_GET_CLASS
+AGS_IS_DELAY_AUDIO
+AGS_IS_DELAY_AUDIO_CLASS
+AGS_TYPE_DELAY_AUDIO
+ags_delay_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_delay_audio_run</FILE>
+<TITLE>AgsDelayAudioRun</TITLE>
+AgsDelayAudioRun
+AgsDelayAudioRunClass
+ags_delay_audio_run_new
+ags_delay_audio_run_notation_alloc_input
+ags_delay_audio_run_notation_alloc_output
+ags_delay_audio_run_notation_count
+ags_delay_audio_run_sequencer_alloc_input
+ags_delay_audio_run_sequencer_alloc_output
+ags_delay_audio_run_sequencer_count
+<SUBSECTION Standard>
+AGS_DELAY_AUDIO_RUN
+AGS_DELAY_AUDIO_RUN_CLASS
+AGS_DELAY_AUDIO_RUN_GET_CLASS
+AGS_IS_DELAY_AUDIO_RUN
+AGS_IS_DELAY_AUDIO_RUN_CLASS
+AGS_TYPE_DELAY_AUDIO_RUN
+ags_delay_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_devout</FILE>
+<TITLE>AgsDevout</TITLE>
+AGS_DEVOUT_DEFAULT_BPM
+AGS_DEVOUT_DEFAULT_BUFFER_SIZE
+AGS_DEVOUT_DEFAULT_DELAY
+AGS_DEVOUT_DEFAULT_FORMAT
+AGS_DEVOUT_DEFAULT_JIFFIE
+AGS_DEVOUT_DEFAULT_SAMPLERATE
+AGS_DEVOUT_DEFAULT_SCALE
+AGS_DEVOUT_DEFAULT_TACT
+AGS_DEVOUT_DEFAULT_TACTRATE
+AGS_DEVOUT_DEFAULT_TACT_JIFFIE
+AGS_DEVOUT_ERROR
+AGS_DEVOUT_PLAY
+AGS_DEVOUT_PLAY_DOMAIN
+AgsDevout
+AgsDevoutClass
+AgsDevoutError
+AgsDevoutFlags
+AgsDevoutPlay
+AgsDevoutPlayDomain
+AgsDevoutPlayFlags
+AgsDevoutResolutionMode
+ags_devout_error_quark
+ags_devout_list_cards
+ags_devout_new
+ags_devout_note_offset_changed
+ags_devout_pcm_info
+ags_devout_play_alloc
+ags_devout_play_domain_alloc
+ags_devout_play_domain_free
+ags_devout_play_find_source
+ags_devout_play_free
+ags_devout_tic
+<SUBSECTION Standard>
+AGS_DEVOUT
+AGS_DEVOUT_CLASS
+AGS_DEVOUT_GET_CLASS
+AGS_IS_DEVOUT
+AGS_IS_DEVOUT_CLASS
+AGS_TYPE_DEVOUT
+ags_devout_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_devout_thread</FILE>
+<TITLE>AgsDevoutThread</TITLE>
+AGS_DEVOUT_THREAD_DEFAULT_JIFFIE
+AgsDevoutThread
+AgsDevoutThreadClass
+ags_devout_thread_new
+<SUBSECTION Standard>
+AGS_DEVOUT_THREAD
+AGS_DEVOUT_THREAD_CLASS
+AGS_DEVOUT_THREAD_GET_CLASS
+AGS_IS_DEVOUT_THREAD
+AGS_IS_DEVOUT_THREAD_CLASS
+AGS_TYPE_DEVOUT_THREAD
+ags_devout_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_dial</FILE>
+<TITLE>AgsDial</TITLE>
+AGS_DIAL_DEFAULT_PRECISION
+AgsDial
+AgsDialClass
+AgsDialFlags
+ags_dial_new
+<SUBSECTION Standard>
+AGS_DIAL
+AGS_DIAL_CLASS
+AGS_DIAL_GET_CLASS
+AGS_IS_DIAL
+AGS_IS_DIAL_CLASS
+AGS_TYPE_DIAL
+ags_dial_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_display_tact</FILE>
+<TITLE>AgsDisplayTact</TITLE>
+AgsDisplayTact
+AgsDisplayTactClass
+ags_display_tact_new
+<SUBSECTION Standard>
+AGS_DISPLAY_TACT
+AGS_DISPLAY_TACT_CLASS
+AGS_DISPLAY_TACT_GET_CLASS
+AGS_IS_DISPLAY_TACT
+AGS_IS_DISPLAY_TACT_CLASS
+AGS_TYPE_DISPLAY_TACT
+ags_display_tact_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_down_mix</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum</FILE>
+<TITLE>AgsDrum</TITLE>
+AGS_DRUM_PATTERN_CONTROLS
+AgsDrum
+AgsDrumClass
+AgsDrumFlags
+ags_drum_new
+ags_drum_set_pattern
+<SUBSECTION Standard>
+AGS_DRUM
+AGS_DRUM_CLASS
+AGS_DRUM_GET_CLASS
+AGS_IS_DRUM
+AGS_IS_DRUM_CLASS
+AGS_TYPE_DRUM
+ags_drum_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_callbacks</FILE>
+ags_drum_done_callback
+ags_drum_index0_callback
+ags_drum_index1_callback
+ags_drum_length_spin_callback
+ags_drum_loop_button_callback
+ags_drum_offset_callback
+ags_drum_open_callback
+ags_drum_pad_callback
+ags_drum_parent_set_callback
+ags_drum_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_line</FILE>
+<TITLE>AgsDrumInputLine</TITLE>
+AgsDrumInputLine
+AgsDrumInputLineClass
+ags_drum_input_line_map_recall
+ags_drum_input_line_new
+<SUBSECTION Standard>
+AGS_DRUM_INPUT_LINE
+AGS_DRUM_INPUT_LINE_CLASS
+AGS_DRUM_INPUT_LINE_GET_CLASS
+AGS_IS_DRUM_INPUT_LINE
+AGS_IS_DRUM_INPUT_LINE_CLASS
+AGS_TYPE_DRUM_INPUT_LINE
+ags_drum_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_line_callbacks</FILE>
+ags_drum_input_line_audio_set_pads_callback
+ags_drum_input_line_channel_done_callback
+ags_drum_input_line_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_pad</FILE>
+<TITLE>AgsDrumInputPad</TITLE>
+AgsDrumInputPad
+AgsDrumInputPadClass
+AgsDrumInputPadFlags
+ags_drum_input_pad_new
+<SUBSECTION Standard>
+AGS_DRUM_INPUT_PAD
+AGS_DRUM_INPUT_PAD_CLASS
+AGS_DRUM_INPUT_PAD_GET_CLASS
+AGS_IS_DRUM_INPUT_PAD
+AGS_IS_DRUM_INPUT_PAD_CLASS
+AGS_TYPE_DRUM_INPUT_PAD
+ags_drum_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_pad_callbacks</FILE>
+ags_drum_input_pad_edit_callback
+ags_drum_input_pad_open_callback
+ags_drum_input_pad_play_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_line</FILE>
+<TITLE>AgsDrumOutputLine</TITLE>
+AgsDrumOutputLine
+AgsDrumOutputLineClass
+ags_drum_output_line_add_default_recall
+ags_drum_output_line_new
+<SUBSECTION Standard>
+AGS_DRUM_OUTPUT_LINE
+AGS_DRUM_OUTPUT_LINE_CLASS
+AGS_DRUM_OUTPUT_LINE_GET_CLASS
+AGS_IS_DRUM_OUTPUT_LINE
+AGS_IS_DRUM_OUTPUT_LINE_CLASS
+AGS_TYPE_DRUM_OUTPUT_LINE
+ags_drum_output_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_line_callbacks</FILE>
+ags_drum_output_line_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_pad</FILE>
+<TITLE>AgsDrumOutputPad</TITLE>
+AgsDrumOutputPad
+AgsDrumOutputPadClass
+AgsDrumOutputPadFlags
+ags_drum_output_pad_new
+<SUBSECTION Standard>
+AGS_DRUM_OUTPUT_PAD
+AGS_DRUM_OUTPUT_PAD_CLASS
+AGS_DRUM_OUTPUT_PAD_GET_CLASS
+AGS_IS_DRUM_OUTPUT_PAD
+AGS_IS_DRUM_OUTPUT_PAD_CLASS
+AGS_TYPE_DRUM_OUTPUT_PAD
+ags_drum_output_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_pad_callbacks</FILE>
+ags_drum_output_pad_play_cancel
+ags_drum_output_pad_play_done
+</SECTION>
+
+<SECTION>
+<FILE>ags_dynamic_connectable</FILE>
+<TITLE>AgsDynamicConnectable</TITLE>
+AgsDynamicConnectable
+AgsDynamicConnectableInterface
+ags_dynamic_connectable_connect
+ags_dynamic_connectable_disconnect
+<SUBSECTION Standard>
+AGS_DYNAMIC_CONNECTABLE
+AGS_DYNAMIC_CONNECTABLE_GET_INTERFACE
+AGS_DYNAMIC_CONNECTABLE_INTERFACE
+AGS_IS_DYNAMIC_CONNECTABLE
+AGS_IS_DYNAMIC_CONNECTABLE_INTERFACE
+AGS_TYPE_DYNAMIC_CONNECTABLE
+ags_dynamic_connectable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_echo</FILE>
+ags_echo
+</SECTION>
+
+<SECTION>
+<FILE>ags_editor</FILE>
+<TITLE>AgsEditor</TITLE>
+AGS_EDITOR_DEFAULT
+AGS_EDITOR_DEFAULT_BUILD_ID
+AGS_EDITOR_DEFAULT_VERSION
+AgsEditor
+AgsEditorClass
+ags_editor_machine_changed
+ags_editor_new
+<SUBSECTION Standard>
+AGS_EDITOR
+AGS_EDITOR_CLASS
+AGS_EDITOR_GET_CLASS
+AGS_IS_EDITOR
+AGS_IS_EDITOR_CLASS
+AGS_TYPE_EDITOR
+ags_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_editor_callbacks</FILE>
+ags_editor_change_position_callback
+ags_editor_machine_changed_callback
+ags_editor_parent_set_callback
+ags_editor_set_audio_channels_callback
+ags_editor_set_pads_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_effect</FILE>
+AGS_EFFECT_COPY_BUFFER
+AGS_EFFECT_COPY_STREAM
+AGS_EFFECT_DOWN_MIX
+</SECTION>
+
+<SECTION>
+<FILE>ags_effect</FILE>
+<TITLE>AgsEffect</TITLE>
+AgsEffect
+AgsEffectInterface
+<SUBSECTION Standard>
+AGS_EFFECT
+AGS_EFFECT_GET_INTERFACE
+AGS_EFFECT_INTERFACE
+AGS_IS_EFFECT
+AGS_IS_EFFECT_INTERFACE
+AGS_TYPE_EFFECT
+ags_effect_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_expander</FILE>
+<TITLE>AgsExpander</TITLE>
+AGS_EXPANDER_CHILD
+AgsExpander
+AgsExpanderChild
+AgsExpanderClass
+AgsExpanderFlags
+ags_expander_add
+ags_expander_child_alloc
+ags_expander_child_find
+ags_expander_new
+ags_expander_remove
+<SUBSECTION Standard>
+AGS_EXPANDER
+AGS_EXPANDER_CLASS
+AGS_EXPANDER_GET_CLASS
+AGS_IS_EXPANDER
+AGS_IS_EXPANDER_CLASS
+AGS_TYPE_EXPANDER
+ags_expander_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_expander_set</FILE>
+<TITLE>AgsExpanderSet</TITLE>
+AGS_EXPANDER_SET_CHILD
+AgsExpanderSet
+AgsExpanderSetChild
+AgsExpanderSetClass
+AgsExpanderSetFlags
+ags_expander_set_add
+ags_expander_set_child_alloc
+ags_expander_set_child_find
+ags_expander_set_new
+ags_expander_set_remove
+ags_expander_set_set_flags
+<SUBSECTION Standard>
+AGS_EXPANDER_SET
+AGS_EXPANDER_SET_CLASS
+AGS_EXPANDER_SET_GET_CLASS
+AGS_IS_EXPANDER_SET
+AGS_IS_EXPANDER_SET_CLASS
+AGS_TYPE_EXPANDER_SET
+ags_expander_set_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_output</FILE>
+<TITLE>AgsExportOutput</TITLE>
+AgsExportOutput
+AgsExportOutputClass
+ags_export_output_new
+<SUBSECTION Standard>
+AGS_EXPORT_OUTPUT
+AGS_EXPORT_OUTPUT_CLASS
+AGS_EXPORT_OUTPUT_GET_CLASS
+AGS_IS_EXPORT_OUTPUT
+AGS_IS_EXPORT_OUTPUT_CLASS
+AGS_TYPE_EXPORT_OUTPUT
+ags_export_output_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_thread</FILE>
+<TITLE>AgsExportThread</TITLE>
+AGS_EXPORT_THREAD_BUFFER_TIME
+AGS_EXPORT_THREAD_DEFAULT_JIFFIE
+AgsExportThread
+AgsExportThreadClass
+ags_export_thread_new
+<SUBSECTION Standard>
+AGS_EXPORT_THREAD
+AGS_EXPORT_THREAD_CLASS
+AGS_EXPORT_THREAD_GET_CLASS
+AGS_IS_EXPORT_THREAD
+AGS_IS_EXPORT_THREAD_CLASS
+AGS_TYPE_EXPORT_THREAD
+ags_export_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_window</FILE>
+<TITLE>AgsExportWindow</TITLE>
+AgsExportWindow
+AgsExportWindowClass
+AgsExportWindowFlags
+ags_export_window_new
+<SUBSECTION Standard>
+AGS_EXPORT_WINDOW
+AGS_EXPORT_WINDOW_CLASS
+AGS_EXPORT_WINDOW_GET_CLASS
+AGS_IS_EXPORT_WINDOW
+AGS_IS_EXPORT_WINDOW_CLASS
+AGS_TYPE_EXPORT_WINDOW
+ags_export_window_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_window_callbacks</FILE>
+ags_export_window_export_callback
+ags_export_window_file_chooser_button_callback
+ags_export_window_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_ffplayer</FILE>
+<TITLE>AgsFFPlayer</TITLE>
+AgsFFPlayer
+AgsFFPlayerClass
+ags_ffplayer_new
+ags_ffplayer_paint
+<SUBSECTION Standard>
+AGS_FFPLAYER
+AGS_FFPLAYER_CLASS
+AGS_FFPLAYER_GET_CLASS
+AGS_IS_FFPLAYER
+AGS_IS_FFPLAYER_CLASS
+AGS_TYPE_FFPLAYER
+ags_ffplayer_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ffplayer_callbacks</FILE>
+ags_ffplayer_drawing_area_button_press_callback
+ags_ffplayer_drawing_area_configure_callback
+ags_ffplayer_drawing_area_expose_callback
+ags_ffplayer_hscrollbar_value_changed
+ags_ffplayer_instrument_changed_callback
+ags_ffplayer_open_clicked_callback
+ags_ffplayer_open_dialog_response_callback
+ags_ffplayer_parent_set_callback
+ags_ffplayer_preset_changed_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_file</FILE>
+<TITLE>AgsFile</TITLE>
+AGS_FILE_CHECKSUM_LENGTH
+AGS_FILE_DEFAULT_AUDIO_ENCODING
+AGS_FILE_DEFAULT_AUDIO_FORMAT
+AGS_FILE_DEFAULT_DTD
+AGS_FILE_DEFAULT_ENCODING
+AgsFile
+AgsFileClass
+AgsFileFlags
+ags_file_add_id_ref
+ags_file_add_launch
+ags_file_add_lookup
+ags_file_find_id_ref_by_node
+ags_file_find_id_ref_by_reference
+ags_file_find_id_ref_by_xpath
+ags_file_new
+ags_file_read
+ags_file_read_main
+ags_file_read_resolve
+ags_file_read_server
+ags_file_read_start
+ags_file_str2md5
+ags_file_write
+ags_file_write_concurrent
+ags_file_write_main
+ags_file_write_resolve
+ags_file_write_server
+<SUBSECTION Standard>
+AGS_FILE
+AGS_FILE_CLASS
+AGS_FILE_GET_CLASS
+AGS_IS_FILE
+AGS_IS_FILE_CLASS
+AGS_TYPE_FILE
+ags_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_gui</FILE>
+ags_file_read_dialog
+ags_file_read_dialog_list
+ags_file_read_editor
+ags_file_read_line
+ags_file_read_line_editor
+ags_file_read_line_list
+ags_file_read_line_member
+ags_file_read_line_member_editor
+ags_file_read_line_member_list
+ags_file_read_link_collection_editor
+ags_file_read_link_editor
+ags_file_read_machine
+ags_file_read_machine_counter
+ags_file_read_machine_counter_list
+ags_file_read_machine_editor
+ags_file_read_machine_editor_list
+ags_file_read_machine_list
+ags_file_read_machine_selector
+ags_file_read_menu_bar
+ags_file_read_mixer_input_pad
+ags_file_read_mixer_output_pad
+ags_file_read_navigation
+ags_file_read_notebook
+ags_file_read_notebook_tab
+ags_file_read_notebook_tab_list
+ags_file_read_pad
+ags_file_read_pad_editor
+ags_file_read_pad_list
+ags_file_read_resize_editor
+ags_file_read_toolbar
+ags_file_read_widget
+ags_file_read_window
+ags_file_write_dialog
+ags_file_write_dialog_list
+ags_file_write_editor
+ags_file_write_line
+ags_file_write_line_editor
+ags_file_write_line_list
+ags_file_write_line_member
+ags_file_write_line_member_editor
+ags_file_write_line_member_list
+ags_file_write_link_collection_editor
+ags_file_write_link_editor
+ags_file_write_machine
+ags_file_write_machine_counter
+ags_file_write_machine_counter_list
+ags_file_write_machine_editor
+ags_file_write_machine_editor_list
+ags_file_write_machine_list
+ags_file_write_machine_selector
+ags_file_write_menu_bar
+ags_file_write_mixer_input_pad
+ags_file_write_mixer_output_pad
+ags_file_write_navigation
+ags_file_write_notebook
+ags_file_write_notebook_tab
+ags_file_write_notebook_tab_list
+ags_file_write_pad
+ags_file_write_pad_editor
+ags_file_write_pad_list
+ags_file_write_resize_editor
+ags_file_write_toolbar
+ags_file_write_widget
+ags_file_write_window
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_id_ref</FILE>
+<TITLE>AgsFileIdRef</TITLE>
+AGS_FILE_ID_REF_RESOLVE_DATA
+AGS_FILE_ID_REF_SERIALIZE_DATA
+AGS_FILE_RESOLVE
+AgsFileIdRef
+AgsFileIdRefClass
+AgsFileResolve
+ags_file_id_ref_new
+ags_file_id_ref_resolved
+<SUBSECTION Standard>
+AGS_FILE_ID_REF
+AGS_FILE_ID_REF_CLASS
+AGS_FILE_ID_REF_GET_CLASS
+AGS_IS_FILE_ID_REF
+AGS_IS_FILE_ID_REF_CLASS
+AGS_TYPE_FILE_ID_REF
+ags_file_id_ref_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_launch</FILE>
+<TITLE>AgsFileLaunch</TITLE>
+AgsFileLaunch
+AgsFileLaunchClass
+ags_file_launch_new
+ags_file_launch_start
+<SUBSECTION Standard>
+AGS_FILE_LAUNCH
+AGS_FILE_LAUNCH_CLASS
+AGS_FILE_LAUNCH_GET_CLASS
+AGS_IS_FILE_LAUNCH
+AGS_IS_FILE_LAUNCH_CLASS
+AGS_TYPE_FILE_LAUNCH
+ags_file_launch_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_link</FILE>
+<TITLE>AgsFileLink</TITLE>
+AgsFileLink
+AgsFileLinkClass
+ags_file_link_new
+<SUBSECTION Standard>
+AGS_FILE_LINK
+AGS_FILE_LINK_CLASS
+AGS_FILE_LINK_GET_CLASS
+AGS_IS_FILE_LINK
+AGS_IS_FILE_LINK_CLASS
+AGS_TYPE_FILE_LINK
+ags_file_link_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_lookup</FILE>
+<TITLE>AgsFileLookup</TITLE>
+AgsFileLookup
+AgsFileLookupClass
+ags_file_lookup_find_by_node
+ags_file_lookup_new
+ags_file_lookup_resolve
+<SUBSECTION Standard>
+AGS_FILE_LOOKUP
+AGS_FILE_LOOKUP_CLASS
+AGS_FILE_LOOKUP_GET_CLASS
+AGS_IS_FILE_LOOKUP
+AGS_IS_FILE_LOOKUP_CLASS
+AGS_TYPE_FILE_LOOKUP
+ags_file_lookup_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_read</FILE>
+<TITLE>AgsFileRead</TITLE>
+AgsFileRead
+AgsFileReadClass
+ags_file_read_new
+<SUBSECTION Standard>
+AGS_FILE_READ
+AGS_FILE_READ_CLASS
+AGS_FILE_READ_GET_CLASS
+AGS_IS_FILE_READ
+AGS_IS_FILE_READ_CLASS
+AGS_TYPE_FILE_READ
+ags_file_read_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_selection</FILE>
+<TITLE>AgsFileSelection</TITLE>
+AGS_FILE_SELECTION_ENTRY
+AgsFileSelection
+AgsFileSelectionClass
+AgsFileSelectionEntry
+AgsFileSelectionFlags
+ags_file_selection_add_entry
+ags_file_selection_completed
+ags_file_selection_contains_file
+ags_file_selection_entry_alloc
+ags_file_selection_new
+ags_file_selection_remove_entry
+ags_file_selection_set_entry
+<SUBSECTION Standard>
+AGS_FILE_SELECTION
+AGS_FILE_SELECTION_CLASS
+AGS_FILE_SELECTION_GET_CLASS
+AGS_IS_FILE_SELECTION
+AGS_IS_FILE_SELECTION_CLASS
+AGS_TYPE_FILE_SELECTION
+ags_file_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_selection_callbacks</FILE>
+ags_file_selection_remove_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_sound</FILE>
+ags_file_read_audio
+ags_file_read_audio_list
+ags_file_read_audio_signal
+ags_file_read_audio_signal_list
+ags_file_read_channel
+ags_file_read_channel_list
+ags_file_read_devout
+ags_file_read_devout_list
+ags_file_read_devout_play
+ags_file_read_devout_play_list
+ags_file_read_file_link
+ags_file_read_input
+ags_file_read_notation
+ags_file_read_notation_list
+ags_file_read_note
+ags_file_read_note_list
+ags_file_read_output
+ags_file_read_pattern
+ags_file_read_pattern_data
+ags_file_read_pattern_data_list
+ags_file_read_pattern_list
+ags_file_read_port
+ags_file_read_port_list
+ags_file_read_recall
+ags_file_read_recall_audio
+ags_file_read_recall_audio_run
+ags_file_read_recall_audio_signal
+ags_file_read_recall_channel
+ags_file_read_recall_channel_run
+ags_file_read_recall_container
+ags_file_read_recall_container_list
+ags_file_read_recall_list
+ags_file_read_recall_recycling
+ags_file_read_recycling
+ags_file_read_recycling_list
+ags_file_read_stream
+ags_file_read_stream_list
+ags_file_read_task
+ags_file_read_task_list
+ags_file_read_timestamp
+ags_file_read_timestamp_list
+ags_file_write_audio
+ags_file_write_audio_list
+ags_file_write_audio_signal
+ags_file_write_audio_signal_list
+ags_file_write_channel
+ags_file_write_channel_list
+ags_file_write_devout
+ags_file_write_devout_list
+ags_file_write_devout_play
+ags_file_write_devout_play_list
+ags_file_write_file_link
+ags_file_write_input
+ags_file_write_notation
+ags_file_write_notation_list
+ags_file_write_note
+ags_file_write_note_list
+ags_file_write_output
+ags_file_write_pattern
+ags_file_write_pattern_data
+ags_file_write_pattern_data_list
+ags_file_write_pattern_list
+ags_file_write_port
+ags_file_write_port_list
+ags_file_write_recall
+ags_file_write_recall_audio
+ags_file_write_recall_audio_run
+ags_file_write_recall_audio_signal
+ags_file_write_recall_channel
+ags_file_write_recall_channel_run
+ags_file_write_recall_container
+ags_file_write_recall_container_list
+ags_file_write_recall_list
+ags_file_write_recall_recycling
+ags_file_write_recycling
+ags_file_write_recycling_list
+ags_file_write_stream
+ags_file_write_stream_list
+ags_file_write_task
+ags_file_write_task_list
+ags_file_write_timestamp
+ags_file_write_timestamp_list
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_stock</FILE>
+AGS_CLIPBOARD_DEFAULT_VERSION
+AGS_FILE_BOOLEAN_POINTER_PROP
+AGS_FILE_BOOLEAN_PROP
+AGS_FILE_BUILD_ID_PROP
+AGS_FILE_CHAR_POINTER_PROP
+AGS_FILE_CHAR_PROP
+AGS_FILE_DEFAULT_VERSION
+AGS_FILE_DOUBLE_POINTER_PROP
+AGS_FILE_DOUBLE_PROP
+AGS_FILE_DYNAMIC_WIDGET_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_CARTESIAN
+AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_DIAL
+AGS_FILE_DYNAMIC_WIDGET_HINDICATOR
+AGS_FILE_DYNAMIC_WIDGET_HSCALE
+AGS_FILE_DYNAMIC_WIDGET_LABEL
+AGS_FILE_DYNAMIC_WIDGET_LED
+AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_VINDICATOR
+AGS_FILE_DYNAMIC_WIDGET_VSCALE
+AGS_FILE_DYNAMIC_WIDGET_WAVEFORM
+AGS_FILE_EFFECTS_DEFAULT_VERSION
+AGS_FILE_FALSE
+AGS_FILE_FLAGS_PROP
+AGS_FILE_FLOAT_POINTER_PROP
+AGS_FILE_FLOAT_PROP
+AGS_FILE_ID_PROP
+AGS_FILE_INT64_POINTER_PROP
+AGS_FILE_INT64_PROP
+AGS_FILE_NAME_PROP
+AGS_FILE_OBJECT_PROP
+AGS_FILE_POINTER_PROP
+AGS_FILE_SCOPE_PROP
+AGS_FILE_TRUE
+AGS_FILE_TYPE_PROP
+AGS_FILE_UINT64_POINTER_PROP
+AGS_FILE_UINT64_PROP
+AGS_FILE_VERSION_PROP
+AGS_FILE_XPATH_PROP
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_thread</FILE>
+ags_file_read_audio_loop
+ags_file_read_thread
+ags_file_read_thread_list
+ags_file_read_thread_pool
+ags_file_write_audio_loop
+ags_file_write_thread
+ags_file_write_thread_list
+ags_file_write_thread_pool
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_util</FILE>
+ags_file_read_embedded_audio
+ags_file_read_embedded_audio_list
+ags_file_read_file_link
+ags_file_read_file_link_list
+ags_file_util_read_dependency
+ags_file_util_read_history
+ags_file_util_read_object
+ags_file_util_read_parameter
+ags_file_util_read_value
+ags_file_util_write_dependency
+ags_file_util_write_history
+ags_file_util_write_object
+ags_file_util_write_parameter
+ags_file_util_write_value
+ags_file_write_embedded_audio
+ags_file_write_embedded_audio_list
+ags_file_write_file_link
+ags_file_write_file_link_list
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_value_factory</FILE>
+<TITLE>AgsFileValueFactory</TITLE>
+AgsFileValueFactory
+AgsFileValueFactoryClass
+ags_file_value_factory_new
+<SUBSECTION Standard>
+AGS_FILE_VALUE_FACTORY
+AGS_FILE_VALUE_FACTORY_CLASS
+AGS_FILE_VALUE_FACTORY_GET_CLASS
+AGS_IS_FILE_VALUE_FACTORY
+AGS_IS_FILE_VALUE_FACTORY_CLASS
+AGS_TYPE_FILE_VALUE_FACTORY
+ags_file_value_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_write</FILE>
+<TITLE>AgsFileWrite</TITLE>
+AgsFileWrite
+AgsFileWriteClass
+ags_file_write_new
+<SUBSECTION Standard>
+AGS_FILE_WRITE
+AGS_FILE_WRITE_CLASS
+AGS_FILE_WRITE_GET_CLASS
+AGS_IS_FILE_WRITE
+AGS_IS_FILE_WRITE_CLASS
+AGS_TYPE_FILE_WRITE
+ags_file_write_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_free_selection</FILE>
+<TITLE>AgsFreeSelection</TITLE>
+AgsFreeSelection
+AgsFreeSelectionClass
+ags_free_selection_new
+<SUBSECTION Standard>
+AGS_FREE_SELECTION
+AGS_FREE_SELECTION_CLASS
+AGS_FREE_SELECTION_GET_CLASS
+AGS_IS_FREE_SELECTION
+AGS_IS_FREE_SELECTION_CLASS
+AGS_TYPE_FREE_SELECTION
+ags_free_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_garbage_collector</FILE>
+<TITLE>AgsGarbageCollector</TITLE>
+AgsGarbageCollector
+AgsGarbageCollectorClass
+AgsGarbageCollectorFlags
+ags_garbage_collector_add
+ags_garbage_collector_new
+ags_garbage_collector_remove
+ags_garbage_collector_run
+<SUBSECTION Standard>
+AGS_GARBAGE_COLLECTOR
+AGS_GARBAGE_COLLECTOR_CLASS
+AGS_TYPE_GARBAGE_COLLECTOR
+ags_garbage_collector_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_generic_preferences</FILE>
+<TITLE>AgsGenericPreferences</TITLE>
+AgsGenericPreferences
+AgsGenericPreferencesClass
+ags_generic_preferences_new
+<SUBSECTION Standard>
+AGS_GENERIC_PREFERENCES
+AGS_GENERIC_PREFERENCES_CLASS
+AGS_GENERIC_PREFERENCES_GET_CLASS
+AGS_IS_GENERIC_PREFERENCES
+AGS_IS_GENERIC_PREFERENCES_CLASS
+AGS_TYPE_GENERIC_PREFERENCES
+ags_generic_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_gui_task_thread</FILE>
+<TITLE>AgsGuiTaskThread</TITLE>
+AgsGuiTaskThread
+AgsGuiTaskThreadClass
+ags_gui_task_thread_new
+<SUBSECTION Standard>
+AGS_GUI_TASK_THREAD
+AGS_GUI_TASK_THREAD_CLASS
+AGS_GUI_TASK_THREAD_GET_CLASS
+AGS_IS_GUI_TASK_THREAD
+AGS_IS_GUI_TASK_THREAD_CLASS
+AGS_TYPE_GUI_TASK_THREAD
+ags_gui_task_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_gui_thread</FILE>
+<TITLE>AgsGuiThread</TITLE>
+AGS_GUI_THREAD_DEFAULT_JIFFIE
+AgsGuiThread
+AgsGuiThreadClass
+ags_gui_thread_new
+<SUBSECTION Standard>
+AGS_GUI_THREAD
+AGS_GUI_THREAD_CLASS
+AGS_GUI_THREAD_GET_CLASS
+AGS_IS_GUI_THREAD
+AGS_IS_GUI_THREAD_CLASS
+AGS_TYPE_GUI_THREAD
+ags_gui_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_hindicator</FILE>
+<TITLE>AgsHIndicator</TITLE>
+AgsHIndicator
+AgsHIndicatorClass
+ags_hindicator_new
+<SUBSECTION Standard>
+AGS_HINDICATOR
+AGS_HINDICATOR_CLASS
+AGS_HINDICATOR_GET_CLASS
+AGS_IS_HINDICATOR
+AGS_IS_HINDICATOR_CLASS
+AGS_TYPE_HINDICATOR
+ags_hindicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_history</FILE>
+<TITLE>AgsHistory</TITLE>
+AgsHistory
+AgsHistoryAppend
+AgsHistoryClass
+ags_history_new
+<SUBSECTION Standard>
+AGS_HISTORY
+AGS_HISTORY_CLASS
+AGS_HISTORY_GET_CLASS
+AGS_IS_HISTORY
+AGS_IS_HISTORY_CLASS
+AGS_TYPE_HISTORY
+ags_history_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_htimebar</FILE>
+<TITLE>AgsHTimebar</TITLE>
+AgsHTimebar
+AgsHTimebarClass
+ags_htimebar_new
+<SUBSECTION Standard>
+AGS_HTIMEBAR
+AGS_HTIMEBAR_CLASS
+AGS_HTIMEBAR_GET_CLASS
+AGS_IS_HTIMEBAR
+AGS_IS_HTIMEBAR_CLASS
+AGS_TYPE_HTIMEBAR
+</SECTION>
+
+<SECTION>
+<FILE>ags_id_generator</FILE>
+ags_id_generator_create_uuid
+</SECTION>
+
+<SECTION>
+<FILE>ags_indicator</FILE>
+<TITLE>AgsIndicator</TITLE>
+AgsIndicator
+AgsIndicatorClass
+ags_indicator_new
+<SUBSECTION Standard>
+AGS_INDICATOR
+AGS_INDICATOR_CLASS
+AGS_INDICATOR_GET_CLASS
+AGS_IS_INDICATOR
+AGS_IS_INDICATOR_CLASS
+AGS_TYPE_INDICATOR
+ags_indicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_init_audio</FILE>
+<TITLE>AgsInitAudio</TITLE>
+AgsInitAudio
+AgsInitAudioClass
+ags_init_audio_new
+<SUBSECTION Standard>
+AGS_INIT_AUDIO
+AGS_INIT_AUDIO_CLASS
+AGS_INIT_AUDIO_GET_CLASS
+AGS_IS_INIT_AUDIO
+AGS_IS_INIT_AUDIO_CLASS
+AGS_TYPE_INIT_AUDIO
+ags_init_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_init_channel</FILE>
+<TITLE>AgsInitChannel</TITLE>
+AgsInitChannel
+AgsInitChannelClass
+ags_init_channel_new
+<SUBSECTION Standard>
+AGS_INIT_CHANNEL
+AGS_INIT_CHANNEL_CLASS
+AGS_INIT_CHANNEL_GET_CLASS
+AGS_IS_INIT_CHANNEL
+AGS_IS_INIT_CHANNEL_CLASS
+AGS_TYPE_INIT_CHANNEL
+ags_init_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_inline_player</FILE>
+<TITLE>AgsInlinePlayer</TITLE>
+AgsInlinePlayer
+AgsInlinePlayerClass
+ags_inline_player_new
+<SUBSECTION Standard>
+AGS_INLINE_PLAYER
+AGS_INLINE_PLAYER_CLASS
+AGS_INLINE_PLAYER_GET_CLASS
+AGS_IS_INLINE_PLAYER
+AGS_IS_INLINE_PLAYER_CLASS
+AGS_TYPE_INLINE_PLAYER
+ags_inline_player_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_inline_player_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_input</FILE>
+<TITLE>AgsInput</TITLE>
+AgsInput
+AgsInputClass
+ags_input_new
+<SUBSECTION Standard>
+AGS_INPUT
+AGS_INPUT_CLASS
+AGS_INPUT_GET_CLASS
+AGS_IS_INPUT
+AGS_IS_INPUT_CLASS
+AGS_TYPE_INPUT
+ags_input_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ipatch</FILE>
+<TITLE>AgsIpatch</TITLE>
+AGS_IPATCH_DEFAULT_CHANNELS
+AGS_IPATCH_READ
+AGS_IPATCH_WRITE
+AgsIpatch
+AgsIpatchClass
+AgsIpatchFlags
+ags_ipatch_new
+<SUBSECTION Standard>
+AGS_IPATCH
+AGS_IPATCH_CLASS
+AGS_IPATCH_GET_CLASS
+AGS_IS_IPATCH
+AGS_IS_IPATCH_CLASS
+AGS_TYPE_IPATCH
+ags_ipatch_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ipatch_sf2_reader</FILE>
+<TITLE>AgsIpatchSF2Reader</TITLE>
+AgsIpatchSF2Reader
+AgsIpatchSF2ReaderClass
+AgsSF2Levels
+ags_ipatch_sf2_reader_new
+<SUBSECTION Standard>
+AGS_IPATCH_SF2_READER
+AGS_IPATCH_SF2_READER_CLASS
+AGS_IPATCH_SF2_READER_GET_CLASS
+AGS_IS_IPATCH_SF2_READER
+AGS_IS_IPATCH_SF2_READER_CLASS
+AGS_TYPE_IPATCH_SF2_READER
+ags_ipatch_sf2_reader_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_iterator_thread</FILE>
+<TITLE>AgsIteratorThread</TITLE>
+AgsIteratorThread
+AgsIteratorThreadClass
+AgsIteratorThreadFlags
+ags_iterator_thread_children_ready
+ags_iterator_thread_new
+<SUBSECTION Standard>
+AGS_IS_ITERATOR_THREAD
+AGS_IS_ITERATOR_THREAD_CLASS
+AGS_ITERATOR_THREAD
+AGS_ITERATOR_THREAD_CLASS
+AGS_ITERATOR_THREAD_GET_CLASS
+AGS_TYPE_ITERATOR_THREAD
+ags_iterator_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ladspa_browser</FILE>
+<TITLE>AgsLadspaBrowser</TITLE>
+AgsLadspaBrowser
+AgsLadspaBrowserClass
+ags_ladspa_browser_combo_box_controls_new
+ags_ladspa_browser_get_plugin_effect
+ags_ladspa_browser_get_plugin_filename
+ags_ladspa_browser_new
+ags_ladspa_browser_preview_new
+<SUBSECTION Standard>
+AGS_IS_LADSPA_BROWSER
+AGS_IS_LADSPA_BROWSER_CLASS
+AGS_LADSPA_BROWSER
+AGS_LADSPA_BROWSER_CLASS
+AGS_LADSPA_BROWSER_GET_CLASS
+AGS_TYPE_LADSPA_BROWSER
+ags_ladspa_browser_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ladspa_browser_callbacks</FILE>
+ags_ladspa_browser_cancel_callback
+ags_ladspa_browser_ok_callback
+ags_ladspa_browser_plugin_effect_callback
+ags_ladspa_browser_plugin_filename_callback
+ags_ladspa_browser_preview_close_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_ladspa_manager</FILE>
+<TITLE>AgsLadspaManager</TITLE>
+AGS_LADSPA_PLUGIN
+AgsLadspaManager
+AgsLadspaManagerClass
+AgsLadspaPlugin
+AgsLadspaPluginFlags
+ags_ladspa_manager_find_ladspa_plugin
+ags_ladspa_manager_get_filenames
+ags_ladspa_manager_get_instance
+ags_ladspa_manager_load_default_directory
+ags_ladspa_manager_load_file
+ags_ladspa_manager_new
+ags_ladspa_plugin_alloc
+ags_ladspa_plugin_free
+<SUBSECTION Standard>
+AGS_IS_LADSPA_MANAGER
+AGS_IS_LADSPA_MANAGER_CLASS
+AGS_LADSPA_MANAGER
+AGS_LADSPA_MANAGER_CLASS
+AGS_LADSPA_MANAGER_GET_CLASS
+AGS_TYPE_LADSPA_MANAGER
+ags_ladspa_manager_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_led</FILE>
+<TITLE>AgsLed</TITLE>
+AgsLed
+AgsLedClass
+AgsLedFlags
+ags_led_new
+ags_led_set_active
+ags_led_unset_active
+<SUBSECTION Standard>
+AGS_IS_LED
+AGS_IS_LED_CLASS
+AGS_LED
+AGS_LED_CLASS
+AGS_LED_GET_CLASS
+AGS_TYPE_LED
+ags_led_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_libao</FILE>
+<TITLE>AgsLibao</TITLE>
+AGS_LIBAO_DEFAULT_BPM
+AGS_LIBAO_DEFAULT_BUFFER_SIZE
+AGS_LIBAO_DEFAULT_DELAY
+AGS_LIBAO_DEFAULT_JIFFIE
+AGS_LIBAO_DEFAULT_SAMPLERATE
+AGS_LIBAO_DEFAULT_TACT
+AGS_LIBAO_DEFAULT_TACTRATE
+AGS_LIBAO_DEFAULT_TACT_JIFFIE
+AGS_LIBAO_ERROR
+AGS_LIBAO_PLAY
+AGS_LIBAO_PLAY_DOMAIN
+AgsLibao
+AgsLibaoClass
+AgsLibaoError
+AgsLibaoFlags
+AgsLibaoPlay
+AgsLibaoPlayDomain
+AgsLibaoPlayFlags
+AgsLibaoResolutionMode
+ags_libao_error_quark
+ags_libao_list_cards
+ags_libao_new
+ags_libao_note_offset_changed
+ags_libao_pcm_info
+ags_libao_play_alloc
+ags_libao_play_domain_alloc
+ags_libao_play_domain_free
+ags_libao_play_free
+ags_libao_tic
+<SUBSECTION Standard>
+AGS_IS_LIBAO
+AGS_IS_LIBAO_CLASS
+AGS_LIBAO
+AGS_LIBAO_CLASS
+AGS_LIBAO_GET_CLASS
+AGS_TYPE_LIBAO
+ags_libao_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line</FILE>
+<TITLE>AgsLine</TITLE>
+AGS_LINE_DEFAULT_BUILD_ID
+AGS_LINE_DEFAULT_VERSION
+AgsLine
+AgsLineClass
+AgsLineFlags
+ags_line_find_next_grouped
+ags_line_find_port
+ags_line_group_changed
+ags_line_new
+ags_line_set_channel
+<SUBSECTION Standard>
+AGS_IS_LINE
+AGS_IS_LINE_CLASS
+AGS_LINE
+AGS_LINE_CLASS
+AGS_LINE_GET_CLASS
+AGS_TYPE_LINE
+ags_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_callbacks</FILE>
+ags_line_channel_done_callback
+ags_line_copy_pattern_cancel
+ags_line_copy_pattern_done
+ags_line_group_clicked_callback
+ags_line_parent_set_callback
+ags_line_peak_run_post_callback
+ags_line_play_channel_run_cancel
+ags_line_play_volume_cancel
+ags_line_play_volume_done
+ags_line_recall_volume_cancel
+ags_line_recall_volume_done
+ags_line_remove_recall_callback
+ags_line_volume_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_editor</FILE>
+<TITLE>AgsLineEditor</TITLE>
+AGS_LINE_EDITOR_DEFAULT_BUILD_ID
+AGS_LINE_EDITOR_DEFAULT_VERSION
+AgsLineEditor
+AgsLineEditorClass
+ags_line_editor_new
+ags_line_editor_set_channel
+<SUBSECTION Standard>
+AGS_IS_LINE_EDITOR
+AGS_IS_LINE_EDITOR_CLASS
+AGS_LINE_EDITOR
+AGS_LINE_EDITOR_CLASS
+AGS_LINE_EDITOR_GET_CLASS
+AGS_TYPE_LINE_EDITOR
+ags_line_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_editor_callbacks</FILE>
+ags_line_editor_destroy_callback
+ags_line_editor_parent_set_callback
+ags_line_editor_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member</FILE>
+<TITLE>AgsLineMember</TITLE>
+AgsLineMember
+AgsLineMemberClass
+AgsLineMemberFlags
+ags_line_member_change_port
+ags_line_member_find_port
+ags_line_member_get_widget
+ags_line_member_new
+ags_line_member_set_label
+<SUBSECTION Standard>
+AGS_IS_LINE_MEMBER
+AGS_IS_LINE_MEMBER_CLASS
+AGS_LINE_MEMBER
+AGS_LINE_MEMBER_CLASS
+AGS_LINE_MEMBER_GET_CLASS
+AGS_TYPE_LINE_MEMBER
+ags_line_member_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member_callbacks</FILE>
+ags_line_member_button_clicked_callback
+ags_line_member_check_button_clicked_callback
+ags_line_member_dial_changed_callback
+ags_line_member_hscale_changed_callback
+ags_line_member_parent_set_callback
+ags_line_member_port_safe_write_callback
+ags_line_member_spin_button_changed_callback
+ags_line_member_toggle_button_clicked_callback
+ags_line_member_vscale_changed_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member_editor</FILE>
+<TITLE>AgsLineMemberEditor</TITLE>
+AgsLineMemberEditor
+AgsLineMemberEditorClass
+ags_line_member_editor_new
+<SUBSECTION Standard>
+AGS_IS_LINE_MEMBER_EDITOR
+AGS_IS_LINE_MEMBER_EDITOR_CLASS
+AGS_LINE_MEMBER_EDITOR
+AGS_LINE_MEMBER_EDITOR_CLASS
+AGS_LINE_MEMBER_EDITOR_GET_CLASS
+AGS_TYPE_LINE_MEMBER_EDITOR
+ags_line_member_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member_editor_callbacks</FILE>
+ags_line_member_editor_add_callback
+ags_line_member_editor_ladspa_browser_response_callback
+ags_line_member_editor_remove_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_channel</FILE>
+<TITLE>AgsLinkChannel</TITLE>
+AgsLinkChannel
+AgsLinkChannelClass
+ags_link_channel_new
+<SUBSECTION Standard>
+AGS_IS_LINK_CHANNEL
+AGS_IS_LINK_CHANNEL_CLASS
+AGS_LINK_CHANNEL
+AGS_LINK_CHANNEL_CLASS
+AGS_LINK_CHANNEL_GET_CLASS
+AGS_TYPE_LINK_CHANNEL
+ags_link_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_collection_editor</FILE>
+<TITLE>AgsLinkCollectionEditor</TITLE>
+AgsLinkCollectionEditor
+AgsLinkCollectionEditorClass
+ags_link_collection_editor_check_count
+ags_link_collection_editor_check_first_line
+ags_link_collection_editor_check_first_link
+ags_link_collection_editor_new
+<SUBSECTION Standard>
+AGS_IS_LINK_COLLECTION_EDITOR
+AGS_IS_LINK_COLLECTION_EDITOR_CLASS
+AGS_LINK_COLLECTION_EDITOR
+AGS_LINK_COLLECTION_EDITOR_CLASS
+AGS_LINK_COLLECTION_EDITOR_GET_CLASS
+AGS_TYPE_LINK_COLLECTION_EDITOR
+ags_link_collection_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_collection_editor_callbacks</FILE>
+ags_link_collection_editor_count_callback
+ags_link_collection_editor_first_line_callback
+ags_link_collection_editor_first_link_callback
+ags_link_collection_editor_link_callback
+ags_link_collection_editor_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_editor</FILE>
+<TITLE>AgsLinkEditor</TITLE>
+AgsLinkEditor
+AgsLinkEditorClass
+AgsLinkEditorFlags
+ags_link_editor_new
+<SUBSECTION Standard>
+AGS_IS_LINK_EDITOR
+AGS_IS_LINK_EDITOR_CLASS
+AGS_LINK_EDITOR
+AGS_LINK_EDITOR_CLASS
+AGS_LINK_EDITOR_GET_CLASS
+AGS_TYPE_LINK_EDITOR
+ags_link_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_editor_callbacks</FILE>
+ags_link_editor_combo_callback
+ags_link_editor_destroy_callback
+ags_link_editor_parent_set_callback
+ags_link_editor_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_list</FILE>
+ags_list_duplicate_list
+ags_list_free_and_free_link
+ags_list_free_and_unref_link
+</SECTION>
+
+<SECTION>
+<FILE>ags_listing_editor</FILE>
+<TITLE>AgsListingEditor</TITLE>
+AgsListingEditor
+AgsListingEditorClass
+ags_listing_editor_add_children
+ags_listing_editor_new
+<SUBSECTION Standard>
+AGS_IS_LISTING_EDITOR
+AGS_IS_LISTING_EDITOR_CLASS
+AGS_LISTING_EDITOR
+AGS_LISTING_EDITOR_CLASS
+AGS_LISTING_EDITOR_GET_CLASS
+AGS_TYPE_LISTING_EDITOR
+ags_listing_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_listing_editor_callbacks</FILE>
+ags_listing_editor_parent_set_callback
+ags_listing_editor_set_pads_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_log</FILE>
+<TITLE>AgsLog</TITLE>
+AgsLog
+AgsLogClass
+AgsLogFlags
+AgsLogFormatedMessage
+AgsLogMessage
+ags_default_log
+ags_log_debug
+ags_log_message
+ags_log_start_queue
+ags_log_stop_queue
+<SUBSECTION Standard>
+AGS_IS_LOG
+AGS_IS_LOG_CLASS
+AGS_LOG
+AGS_LOG_CLASS
+AGS_LOG_GET_CLASS
+AGS_TYPE_LOG
+</SECTION>
+
+<SECTION>
+<FILE>ags_loop_channel</FILE>
+<TITLE>AgsLoopChannel</TITLE>
+AgsLoopChannel
+AgsLoopChannelClass
+ags_loop_channel_new
+<SUBSECTION Standard>
+AGS_IS_LOOP_CHANNEL
+AGS_IS_LOOP_CHANNEL_CLASS
+AGS_LOOP_CHANNEL
+AGS_LOOP_CHANNEL_CLASS
+AGS_LOOP_CHANNEL_GET_CLASS
+AGS_TYPE_LOOP_CHANNEL
+ags_loop_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_loop_channel_run</FILE>
+<TITLE>AgsLoopChannelRun</TITLE>
+AgsLoopChannelRun
+AgsLoopChannelRunClass
+ags_loop_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_LOOP_CHANNEL_RUN
+AGS_IS_LOOP_CHANNEL_RUN_CLASS
+AGS_LOOP_CHANNEL_RUN
+AGS_LOOP_CHANNEL_RUN_CLASS
+AGS_LOOP_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_LOOP_CHANNEL_RUN
+ags_loop_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine</FILE>
+<TITLE>AgsMachine</TITLE>
+AGS_MACHINE_DEFAULT_BUILD_ID
+AGS_MACHINE_DEFAULT_VERSION
+AgsMachine
+AgsMachineClass
+AgsMachineFileInputFlags
+AgsMachineFlags
+ags_machine_add_default_recalls
+ags_machine_file_chooser_dialog_new
+ags_machine_find_by_name
+ags_machine_find_port
+ags_machine_get_possible_links
+ags_machine_new
+ags_machine_open_files
+ags_machine_set_run
+<SUBSECTION Standard>
+AGS_IS_MACHINE
+AGS_IS_MACHINE_CLASS
+AGS_MACHINE
+AGS_MACHINE_CLASS
+AGS_MACHINE_GET_CLASS
+AGS_TYPE_MACHINE
+ags_machine_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_callbacks</FILE>
+ags_machine_button_press_callback
+ags_machine_destroy_callback
+ags_machine_done_callback
+ags_machine_open_response_callback
+ags_machine_parent_set_callback
+ags_machine_play_callback
+ags_machine_popup_destroy_activate_callback
+ags_machine_popup_hide_activate_callback
+ags_machine_popup_move_down_activate_callback
+ags_machine_popup_move_up_activate_callback
+ags_machine_popup_properties_activate_callback
+ags_machine_popup_rename_activate_callback
+ags_machine_popup_show_activate_callback
+ags_machine_start_failure_callback
+ags_machine_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_editor</FILE>
+<TITLE>AgsMachineEditor</TITLE>
+AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID
+AGS_MACHINE_EDITOR_DEFAULT_VERSION
+AgsMachineEditor
+AgsMachineEditorClass
+AgsMachineEditorFlags
+ags_machine_editor_add_children
+ags_machine_editor_add_input
+ags_machine_editor_add_output
+ags_machine_editor_new
+ags_machine_editor_remove_input
+ags_machine_editor_remove_output
+ags_machine_editor_set_machine
+<SUBSECTION Standard>
+AGS_IS_MACHINE_EDITOR
+AGS_IS_MACHINE_EDITOR_CLASS
+AGS_MACHINE_EDITOR
+AGS_MACHINE_EDITOR_CLASS
+AGS_MACHINE_EDITOR_GET_CLASS
+AGS_TYPE_MACHINE_EDITOR
+ags_machine_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_editor_callbacks</FILE>
+ags_machine_editor_add_callback
+ags_machine_editor_apply_callback
+ags_machine_editor_back_callback
+ags_machine_editor_cancel_callback
+ags_machine_editor_destroy_callback
+ags_machine_editor_ok_callback
+ags_machine_editor_parent_set_callback
+ags_machine_editor_remove_callback
+ags_machine_editor_show_callback
+ags_machine_editor_switch_page_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_radio_button</FILE>
+<TITLE>AgsMachineRadioButton</TITLE>
+AgsMachineRadioButton
+AgsMachineRadioButtonClass
+ags_machine_radio_button_new
+<SUBSECTION Standard>
+AGS_IS_MACHINE_RADIO_BUTTON
+AGS_IS_MACHINE_RADIO_BUTTON_CLASS
+AGS_MACHINE_RADIO_BUTTON
+AGS_MACHINE_RADIO_BUTTON_CLASS
+AGS_MACHINE_RADIO_BUTTON_GET_CLASS
+AGS_TYPE_MACHINE_RADIO_BUTTON
+ags_machine_radio_button_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_selection</FILE>
+<TITLE>AgsMachineSelection</TITLE>
+AgsMachineSelection
+AgsMachineSelectionClass
+ags_machine_selection_new
+ags_machine_selection_run
+<SUBSECTION Standard>
+AGS_IS_MACHINE_SELECTION
+AGS_IS_MACHINE_SELECTION_CLASS
+AGS_MACHINE_SELECTION
+AGS_MACHINE_SELECTION_CLASS
+AGS_MACHINE_SELECTION_GET_CLASS
+AGS_TYPE_MACHINE_SELECTION
+ags_machine_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_selector</FILE>
+<TITLE>AgsMachineSelector</TITLE>
+AgsMachineSelector
+AgsMachineSelectorClass
+ags_machine_selector_changed
+ags_machine_selector_new
+ags_machine_selector_popup_new
+<SUBSECTION Standard>
+AGS_IS_MACHINE_SELECTOR
+AGS_IS_MACHINE_SELECTOR_CLASS
+AGS_MACHINE_SELECTOR
+AGS_MACHINE_SELECTOR_CLASS
+AGS_MACHINE_SELECTOR_GET_CLASS
+AGS_TYPE_MACHINE_SELECTOR
+ags_machine_selector_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_selector_callbacks</FILE>
+ags_machine_selector_popup_add_index_callback
+ags_machine_selector_popup_add_tab_callback
+ags_machine_selector_popup_link_index_callback
+ags_machine_selector_popup_remove_index_callback
+ags_machine_selector_popup_remove_tab_callback
+ags_machine_selector_radio_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_main_loop</FILE>
+<TITLE>AgsMainLoop</TITLE>
+AgsMainLoop
+AgsMainLoopInterface
+ags_main_loop_get_async_queue
+ags_main_loop_get_last_sync
+ags_main_loop_get_tic
+ags_main_loop_set_async_queue
+ags_main_loop_set_last_sync
+ags_main_loop_set_tic
+<SUBSECTION Standard>
+AGS_IS_MAIN_LOOP
+AGS_IS_MAIN_LOOP_INTERFACE
+AGS_MAIN_LOOP
+AGS_MAIN_LOOP_GET_INTERFACE
+AGS_MAIN_LOOP_INTERFACE
+AGS_TYPE_MAIN_LOOP
+ags_main_loop_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_marshal</FILE>
+g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT
+g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT
+g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER
+g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING
+g_cclosure_user_marshal_OBJECT__VOID
+g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER
+g_cclosure_user_marshal_ULONG__VOID
+g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN
+g_cclosure_user_marshal_VOID__OBJECT_UINT
+g_cclosure_user_marshal_VOID__STRING_POINTER
+g_cclosure_user_marshal_VOID__UINT_DOUBLE
+g_cclosure_user_marshal_VOID__UINT_INT
+g_cclosure_user_marshal_VOID__UINT_UINT
+g_cclosure_user_marshal_VOID__UINT_UINT_UINT
+g_cclosure_user_marshal_VOID__ULONG_UINT
+g_cclosure_user_marshal_VOID__ULONG_UINT_UINT
+</SECTION>
+
+<SECTION>
+<FILE>ags_matrix</FILE>
+<TITLE>AgsMatrix</TITLE>
+AGS_MATRIX_CELL_HEIGHT
+AGS_MATRIX_CELL_WIDTH
+AGS_MATRIX_OCTAVE
+AGS_MATRIX_PATTERN_CONTROLS
+AgsMatrix
+AgsMatrixClass
+ags_matrix_draw_gutter
+ags_matrix_draw_matrix
+ags_matrix_highlight_gutter_point
+ags_matrix_input_map_recall
+ags_matrix_new
+ags_matrix_output_map_recall
+ags_matrix_redraw_gutter_point
+ags_matrix_unpaint_gutter_point
+<SUBSECTION Standard>
+AGS_IS_MATRIX
+AGS_IS_MATRIX_CLASS
+AGS_MATRIX
+AGS_MATRIX_CLASS
+AGS_MATRIX_GET_CLASS
+AGS_TYPE_MATRIX
+ags_matrix_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_matrix_callbacks</FILE>
+ags_matrix_adjustment_value_changed_callback
+ags_matrix_bpm_callback
+ags_matrix_done_callback
+ags_matrix_drawing_area_button_press_callback
+ags_matrix_drawing_area_expose_callback
+ags_matrix_index_callback
+ags_matrix_length_spin_callback
+ags_matrix_loop_button_callback
+ags_matrix_parent_set_callback
+ags_matrix_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu</FILE>
+<TITLE>AgsMenu</TITLE>
+AgsMenu
+AgsMenuClass
+ags_menu_new
+<SUBSECTION Standard>
+AGS_IS_MENU
+AGS_IS_MENU_CLASS
+AGS_MENU
+AGS_MENU_CLASS
+AGS_MENU_GET_CLASS
+AGS_TYPE_MENU
+ags_menu_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu_bar</FILE>
+<TITLE>AgsMenuBar</TITLE>
+AgsMenuBar
+AgsMenuBarClass
+ags_menu_bar_new
+ags_tact_combo_box_new
+ags_tact_menu_new
+ags_zoom_combo_box_new
+ags_zoom_menu_new
+<SUBSECTION Standard>
+AGS_IS_MENU_BAR
+AGS_IS_MENU_BAR_CLASS
+AGS_MENU_BAR
+AGS_MENU_BAR_CLASS
+AGS_MENU_BAR_GET_CLASS
+AGS_TYPE_MENU_BAR
+ags_menu_bar_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu_bar_callbacks</FILE>
+ags_menu_bar_about_callback
+ags_menu_bar_add_callback
+ags_menu_bar_add_drum_callback
+ags_menu_bar_add_ffplayer_callback
+ags_menu_bar_add_matrix_callback
+ags_menu_bar_add_mixer_callback
+ags_menu_bar_add_panel_callback
+ags_menu_bar_add_synth_callback
+ags_menu_bar_destroy_callback
+ags_menu_bar_export_callback
+ags_menu_bar_open_callback
+ags_menu_bar_preferences_callback
+ags_menu_bar_quit_callback
+ags_menu_bar_remove_callback
+ags_menu_bar_save_as_callback
+ags_menu_bar_save_callback
+ags_menu_bar_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu_item</FILE>
+<TITLE>AgsMenuItem</TITLE>
+AgsMenuItem
+AgsMenuItemClass
+ags_menu_item_new
+<SUBSECTION Standard>
+AGS_IS_MENU_ITEM
+AGS_IS_MENU_ITEM_CLASS
+AGS_MENU_ITEM
+AGS_MENU_ITEM_CLASS
+AGS_MENU_ITEM_GET_CLASS
+AGS_TYPE_MENU_ITEM
+ags_menu_item_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_meter</FILE>
+<TITLE>AgsMeter</TITLE>
+AgsMeter
+AgsMeterClass
+ags_meter_new
+ags_meter_paint
+ags_meter_sound_string
+<SUBSECTION Standard>
+AGS_IS_METER
+AGS_IS_METER_CLASS
+AGS_METER
+AGS_METER_CLASS
+AGS_METER_GET_CLASS
+AGS_TYPE_METER
+ags_meter_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_meter_callbacks</FILE>
+ags_meter_configure_event
+ags_meter_destroy_callback
+ags_meter_expose_event
+ags_meter_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer</FILE>
+<TITLE>AgsMixer</TITLE>
+AgsMixer
+AgsMixerClass
+ags_mixer_new
+<SUBSECTION Standard>
+AGS_IS_MIXER
+AGS_IS_MIXER_CLASS
+AGS_MIXER
+AGS_MIXER_CLASS
+AGS_MIXER_GET_CLASS
+AGS_TYPE_MIXER
+ags_mixer_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer_callbacks</FILE>
+ags_mixer_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer_input_line</FILE>
+<TITLE>AgsMixerInputLine</TITLE>
+AgsMixerInputLine
+AgsMixerInputLineClass
+ags_mixer_input_line_map_recall
+ags_mixer_input_line_new
+<SUBSECTION Standard>
+AGS_IS_MIXER_INPUT_LINE
+AGS_IS_MIXER_INPUT_LINE_CLASS
+AGS_MIXER_INPUT_LINE
+AGS_MIXER_INPUT_LINE_CLASS
+AGS_MIXER_INPUT_LINE_GET_CLASS
+AGS_TYPE_MIXER_INPUT_LINE
+ags_mixer_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer_input_pad</FILE>
+<TITLE>AgsMixerInputPad</TITLE>
+AgsMixerInputPad
+AgsMixerInputPadClass
+ags_mixer_input_pad_new
+<SUBSECTION Standard>
+AGS_IS_MIXER_INPUT_PAD
+AGS_IS_MIXER_INPUT_PAD_CLASS
+AGS_MIXER_INPUT_PAD
+AGS_MIXER_INPUT_PAD_CLASS
+AGS_MIXER_INPUT_PAD_GET_CLASS
+AGS_TYPE_MIXER_INPUT_PAD
+ags_mixer_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mutable</FILE>
+<TITLE>AgsMutable</TITLE>
+AgsMutable
+AgsMutableInterface
+ags_mutable_set_muted
+<SUBSECTION Standard>
+AGS_IS_MUTABLE
+AGS_IS_MUTABLE_INTERFACE
+AGS_MUTABLE
+AGS_MUTABLE_GET_INTERFACE
+AGS_MUTABLE_INTERFACE
+AGS_TYPE_MUTABLE
+ags_mutable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_audio</FILE>
+<TITLE>AgsMuteAudio</TITLE>
+AgsMuteAudio
+AgsMuteAudioClass
+ags_mute_audio_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_AUDIO
+AGS_IS_MUTE_AUDIO_CLASS
+AGS_MUTE_AUDIO
+AGS_MUTE_AUDIO_CLASS
+AGS_MUTE_AUDIO_GET_CLASS
+AGS_TYPE_MUTE_AUDIO
+ags_mute_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_audio_signal</FILE>
+<TITLE>AgsMuteAudioSignal</TITLE>
+AgsMuteAudioSignal
+AgsMuteAudioSignalClass
+ags_mute_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_AUDIO_SIGNAL
+AGS_IS_MUTE_AUDIO_SIGNAL_CLASS
+AGS_MUTE_AUDIO_SIGNAL
+AGS_MUTE_AUDIO_SIGNAL_CLASS
+AGS_MUTE_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_MUTE_AUDIO_SIGNAL
+ags_mute_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_channel</FILE>
+<TITLE>AgsMuteChannel</TITLE>
+AgsMuteChannel
+AgsMuteChannelClass
+ags_mute_channel_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_CHANNEL
+AGS_IS_MUTE_CHANNEL_CLASS
+AGS_MUTE_CHANNEL
+AGS_MUTE_CHANNEL_CLASS
+AGS_MUTE_CHANNEL_GET_CLASS
+AGS_TYPE_MUTE_CHANNEL
+ags_mute_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_channel_run</FILE>
+<TITLE>AgsMuteChannelRun</TITLE>
+AgsMuteChannelRun
+AgsMuteChannelRunClass
+ags_mute_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_CHANNEL_RUN
+AGS_IS_MUTE_CHANNEL_RUN_CLASS
+AGS_MUTE_CHANNEL_RUN
+AGS_MUTE_CHANNEL_RUN_CLASS
+AGS_MUTE_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_MUTE_CHANNEL_RUN
+ags_mute_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_recycling</FILE>
+<TITLE>AgsMuteRecycling</TITLE>
+AgsMuteRecycling
+AgsMuteRecyclingClass
+ags_mute_recycling_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_RECYCLING
+AGS_IS_MUTE_RECYCLING_CLASS
+AGS_MUTE_RECYCLING
+AGS_MUTE_RECYCLING_CLASS
+AGS_MUTE_RECYCLING_GET_CLASS
+AGS_TYPE_MUTE_RECYCLING
+ags_mute_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_navigation</FILE>
+<TITLE>AgsNavigation</TITLE>
+AGS_NAVIGATION_DEFAULT_TACT_STEP
+AGS_NAVIGATION_REWIND_STEPS
+AGS_NAVIGATION_SEEK_STEPS
+AgsNavigation
+AgsNavigationClass
+AgsNavigationFlags
+ags_navigation_change_position
+ags_navigation_new
+ags_navigation_set_seeking_sensitive
+ags_navigation_tact_to_time_string
+ags_navigation_update_time_string
+<SUBSECTION Standard>
+AGS_IS_NAVIGATION
+AGS_IS_NAVIGATION_CLASS
+AGS_NAVIGATION
+AGS_NAVIGATION_CLASS
+AGS_NAVIGATION_GET_CLASS
+AGS_TYPE_NAVIGATION
+ags_navigation_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_navigation_callbacks</FILE>
+ags_navigation_bpm_callback
+ags_navigation_destroy_callback
+ags_navigation_duration_tact_callback
+ags_navigation_expander_callback
+ags_navigation_forward_callback
+ags_navigation_loop_callback
+ags_navigation_loop_left_tact_callback
+ags_navigation_loop_right_tact_callback
+ags_navigation_next_callback
+ags_navigation_parent_set_callback
+ags_navigation_play_callback
+ags_navigation_position_tact_callback
+ags_navigation_prev_callback
+ags_navigation_raster_callback
+ags_navigation_rewind_callback
+ags_navigation_show_callback
+ags_navigation_stop_callback
+ags_navigation_tic_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_notation</FILE>
+<TITLE>AgsNotation</TITLE>
+AGS_NOTATION_DEFAULT_BPM
+AGS_NOTATION_DEFAULT_DURATION
+AGS_NOTATION_DEFAULT_JIFFIE
+AGS_NOTATION_DEFAULT_LENGTH
+AGS_NOTATION_MAXIMUM_NOTE_LENGTH
+AGS_NOTATION_MINIMUM_NOTE_LENGTH
+AGS_NOTATION_TICS_PER_BEAT
+AgsNotation
+AgsNotationClass
+AgsNotationFlags
+ags_notation_add_note
+ags_notation_add_point_to_selection
+ags_notation_add_region_to_selection
+ags_notation_copy_selection
+ags_notation_cut_selection
+ags_notation_find_near_timestamp
+ags_notation_find_point
+ags_notation_find_region
+ags_notation_free_selection
+ags_notation_get_current
+ags_notation_get_selection
+ags_notation_insert_from_clipboard
+ags_notation_is_note_selected
+ags_notation_new
+ags_notation_remove_note_at_position
+ags_notation_remove_point_from_selection
+ags_notation_remove_region_from_selection
+<SUBSECTION Standard>
+AGS_IS_NOTATION
+AGS_IS_NOTATION_CLASS
+AGS_NOTATION
+AGS_NOTATION_CLASS
+AGS_NOTATION_GET_CLASS
+AGS_TYPE_NOTATION
+ags_notation_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_note</FILE>
+<TITLE>AgsNote</TITLE>
+AgsNote
+AgsNoteClass
+AgsNoteFlags
+ags_note_duplicate
+ags_note_new
+<SUBSECTION Standard>
+AGS_IS_NOTE
+AGS_IS_NOTE_CLASS
+AGS_NOTE
+AGS_NOTE_CLASS
+AGS_NOTE_GET_CLASS
+AGS_TYPE_NOTE
+ags_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_note_edit</FILE>
+<TITLE>AgsNoteEdit</TITLE>
+AGS_NOTE_EDIT_MAX_CONTROLS
+AgsNoteEdit
+AgsNoteEditClass
+AgsNoteEditFlags
+AgsNoteEditResetFlags
+ags_note_edit_draw_notation
+ags_note_edit_draw_position
+ags_note_edit_draw_scroll
+ags_note_edit_draw_segment
+ags_note_edit_new
+ags_note_edit_reset_horizontally
+ags_note_edit_reset_vertically
+ags_note_edit_set_map_height
+<SUBSECTION Standard>
+AGS_IS_NOTE_EDIT
+AGS_IS_NOTE_EDIT_CLASS
+AGS_NOTE_EDIT
+AGS_NOTE_EDIT_CLASS
+AGS_NOTE_EDIT_GET_CLASS
+AGS_TYPE_NOTE_EDIT
+ags_note_edit_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_note_edit_callbacks</FILE>
+ags_note_edit_drawing_area_button_press_event
+ags_note_edit_drawing_area_button_release_event
+ags_note_edit_drawing_area_configure_event
+ags_note_edit_drawing_area_expose_event
+ags_note_edit_drawing_area_motion_notify_event
+ags_note_edit_hscrollbar_value_changed
+ags_note_edit_vscrollbar_value_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_notebook</FILE>
+<TITLE>AgsNotebook</TITLE>
+AGS_NOTEBOOK_TAB
+AgsNotebook
+AgsNotebookClass
+AgsNotebookTab
+AgsNotebookTabFlags
+ags_notebook_add_child
+ags_notebook_add_tab
+ags_notebook_insert_tab
+ags_notebook_new
+ags_notebook_next_active_tab
+ags_notebook_remove_child
+ags_notebook_remove_tab
+ags_notebook_tab_index
+<SUBSECTION Standard>
+AGS_IS_NOTEBOOK
+AGS_IS_NOTEBOOK_CLASS
+AGS_NOTEBOOK
+AGS_NOTEBOOK_CLASS
+AGS_NOTEBOOK_GET_CLASS
+AGS_TYPE_NOTEBOOK
+ags_notebook_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_notebook_callbacks</FILE>
+ags_notebook_machine_changed_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_open_file</FILE>
+<TITLE>AgsOpenFile</TITLE>
+AgsOpenFile
+AgsOpenFileClass
+ags_open_file_new
+<SUBSECTION Standard>
+AGS_IS_OPEN_FILE
+AGS_IS_OPEN_FILE_CLASS
+AGS_OPEN_FILE
+AGS_OPEN_FILE_CLASS
+AGS_OPEN_FILE_GET_CLASS
+AGS_TYPE_OPEN_FILE
+ags_open_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_open_single_file</FILE>
+<TITLE>AgsOpenSingleFile</TITLE>
+AgsOpenSingleFile
+AgsOpenSingleFileClass
+ags_open_single_file_new
+<SUBSECTION Standard>
+AGS_IS_OPEN_SINGLE_FILE
+AGS_IS_OPEN_SINGLE_FILE_CLASS
+AGS_OPEN_SINGLE_FILE
+AGS_OPEN_SINGLE_FILE_CLASS
+AGS_OPEN_SINGLE_FILE_GET_CLASS
+AGS_TYPE_OPEN_SINGLE_FILE
+ags_open_single_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_option_menu</FILE>
+<TITLE>AgsOptionMenu</TITLE>
+AgsOptionMenu
+AgsOptionMenuClass
+ags_option_menu_new
+<SUBSECTION Standard>
+AGS_IS_OPTION_MENU
+AGS_IS_OPTION_MENU_CLASS
+AGS_OPTION_MENU
+AGS_OPTION_MENU_CLASS
+AGS_OPTION_MENU_GET_CLASS
+AGS_TYPE_OPTION_MENU
+ags_option_menu_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_oscillator</FILE>
+<TITLE>AgsOscillator</TITLE>
+AgsOscillator
+AgsOscillatorClass
+ags_file_read_oscillator
+ags_file_write_oscillator
+ags_oscillator_new
+<SUBSECTION Standard>
+AGS_IS_OSCILLATOR
+AGS_IS_OSCILLATOR_CLASS
+AGS_OSCILLATOR
+AGS_OSCILLATOR_CLASS
+AGS_OSCILLATOR_GET_CLASS
+AGS_TYPE_OSCILLATOR
+ags_oscillator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_oscillator_callbacks</FILE>
+ags_oscillator_attack_callback
+ags_oscillator_frame_count_callback
+ags_oscillator_frequency_callback
+ags_oscillator_phase_callback
+ags_oscillator_volume_callback
+ags_oscillator_wave_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_output</FILE>
+<TITLE>AgsOutput</TITLE>
+AgsOutput
+AgsOutputClass
+ags_output_find_first_input_recycling
+ags_output_find_last_input_recycling
+ags_output_new
+<SUBSECTION Standard>
+AGS_IS_OUTPUT
+AGS_IS_OUTPUT_CLASS
+AGS_OUTPUT
+AGS_OUTPUT_CLASS
+AGS_OUTPUT_GET_CLASS
+AGS_TYPE_OUTPUT
+ags_output_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_packable</FILE>
+<TITLE>AgsPackable</TITLE>
+AgsPackable
+AgsPackableInterface
+ags_packable_pack
+ags_packable_unpack
+<SUBSECTION Standard>
+AGS_IS_PACKABLE
+AGS_IS_PACKABLE_INTERFACE
+AGS_PACKABLE
+AGS_PACKABLE_GET_INTERFACE
+AGS_PACKABLE_INTERFACE
+AGS_TYPE_PACKABLE
+ags_packable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad</FILE>
+<TITLE>AgsPad</TITLE>
+AGS_PAD_DEFAULT_BUILD_ID
+AGS_PAD_DEFAULT_VERSION
+AgsPad
+AgsPadClass
+AgsPadFlags
+ags_pad_find_port
+ags_pad_new
+ags_pad_resize_lines
+ags_pad_set_channel
+<SUBSECTION Standard>
+AGS_IS_PAD
+AGS_IS_PAD_CLASS
+AGS_PAD
+AGS_PAD_CLASS
+AGS_PAD_GET_CLASS
+AGS_TYPE_PAD
+ags_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad_callbacks</FILE>
+ags_pad_destroy_callback
+ags_pad_group_clicked_callback
+ags_pad_mute_clicked_callback
+ags_pad_option_changed_callback
+ags_pad_parent_set_callback
+ags_pad_show_callback
+ags_pad_solo_clicked_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad_editor</FILE>
+<TITLE>AgsPadEditor</TITLE>
+AGS_PAD_EDITOR_DEFAULT_BUILD_ID
+AGS_PAD_EDITOR_DEFAULT_VERSION
+AgsPadEditor
+AgsPadEditorClass
+ags_pad_editor_new
+ags_pad_editor_set_channel
+<SUBSECTION Standard>
+AGS_IS_PAD_EDITOR
+AGS_IS_PAD_EDITOR_CLASS
+AGS_PAD_EDITOR
+AGS_PAD_EDITOR_CLASS
+AGS_PAD_EDITOR_GET_CLASS
+AGS_TYPE_PAD_EDITOR
+ags_pad_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad_editor_callbacks</FILE>
+ags_pad_editor_destroy_callback
+ags_pad_editor_parent_set_callback
+ags_pad_editor_set_audio_channels_callback
+ags_pad_editor_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel</FILE>
+<TITLE>AgsPanel</TITLE>
+AgsPanel
+AgsPanelClass
+ags_panel_new
+<SUBSECTION Standard>
+AGS_IS_PANEL
+AGS_IS_PANEL_CLASS
+AGS_PANEL
+AGS_PANEL_CLASS
+AGS_PANEL_GET_CLASS
+AGS_TYPE_PANEL
+ags_panel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel_callbacks</FILE>
+ags_panel_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel_input_line</FILE>
+<TITLE>AgsPanelInputLine</TITLE>
+AgsPanelInputLine
+AgsPanelInputLineClass
+ags_panel_input_line_map_recall
+ags_panel_input_line_new
+<SUBSECTION Standard>
+AGS_IS_PANEL_INPUT_LINE
+AGS_IS_PANEL_INPUT_LINE_CLASS
+AGS_PANEL_INPUT_LINE
+AGS_PANEL_INPUT_LINE_CLASS
+AGS_PANEL_INPUT_LINE_GET_CLASS
+AGS_TYPE_PANEL_INPUT_LINE
+ags_panel_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel_input_pad</FILE>
+<TITLE>AgsPanelInputPad</TITLE>
+AgsPanelInputPad
+AgsPanelInputPadClass
+ags_panel_input_pad_new
+<SUBSECTION Standard>
+AGS_IS_PANEL_INPUT_PAD
+AGS_IS_PANEL_INPUT_PAD_CLASS
+AGS_PANEL_INPUT_PAD
+AGS_PANEL_INPUT_PAD_CLASS
+AGS_PANEL_INPUT_PAD_GET_CLASS
+AGS_TYPE_PANEL_INPUT_PAD
+ags_panel_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_parameter</FILE>
+ags_parameter_grow
+</SECTION>
+
+<SECTION>
+<FILE>ags_pattern</FILE>
+<TITLE>AgsPattern</TITLE>
+AgsPattern
+AgsPatternClass
+ags_pattern_get_bit
+ags_pattern_get_by_timestamp
+ags_pattern_new
+ags_pattern_set_dim
+ags_pattern_toggle_bit
+<SUBSECTION Standard>
+AGS_IS_PATTERN
+AGS_IS_PATTERN_CLASS
+AGS_PATTERN
+AGS_PATTERN_CLASS
+AGS_PATTERN_GET_CLASS
+AGS_TYPE_PATTERN
+ags_pattern_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_peak_channel</FILE>
+<TITLE>AgsPeakChannel</TITLE>
+AgsPeakChannel
+AgsPeakChannelClass
+ags_peak_channel_new
+ags_peak_channel_retrieve_peak
+<SUBSECTION Standard>
+AGS_IS_PEAK_CHANNEL
+AGS_IS_PEAK_CHANNEL_CLASS
+AGS_PEAK_CHANNEL
+AGS_PEAK_CHANNEL_CLASS
+AGS_PEAK_CHANNEL_GET_CLASS
+AGS_TYPE_PEAK_CHANNEL
+ags_peak_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_peak_channel_run</FILE>
+<TITLE>AgsPeakChannelRun</TITLE>
+AgsPeakChannelRun
+AgsPeakChannelRunClass
+ags_peak_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_PEAK_CHANNEL_RUN
+AGS_IS_PEAK_CHANNEL_RUN_CLASS
+AGS_PEAK_CHANNEL_RUN
+AGS_PEAK_CHANNEL_RUN_CLASS
+AGS_PEAK_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_PEAK_CHANNEL_RUN
+ags_peak_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_performance_preferences</FILE>
+<TITLE>AgsPerformancePreferences</TITLE>
+AgsPerformancePreferences
+AgsPerformancePreferencesClass
+ags_performance_preferences_new
+<SUBSECTION Standard>
+AGS_IS_PERFORMANCE_PREFERENCES
+AGS_IS_PERFORMANCE_PREFERENCES_CLASS
+AGS_PERFORMANCE_PREFERENCES
+AGS_PERFORMANCE_PREFERENCES_CLASS
+AGS_PERFORMANCE_PREFERENCES_GET_CLASS
+AGS_TYPE_PERFORMANCE_PREFERENCES
+ags_performance_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_performance_preferences_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_persistable</FILE>
+<TITLE>AgsPersistable</TITLE>
+AgsPersistable
+AgsPersistableInterface
+ags_persistable_read
+ags_persistable_read_link
+ags_persistable_write
+ags_persistable_write_link
+<SUBSECTION Standard>
+AGS_IS_PERSISTABLE
+AGS_IS_PERSISTABLE_INTERFACE
+AGS_PERSISTABLE
+AGS_PERSISTABLE_GET_INTERFACE
+AGS_PERSISTABLE_INTERFACE
+AGS_TYPE_PERSISTABLE
+ags_persistable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_audio</FILE>
+<TITLE>AgsPlayAudio</TITLE>
+AgsPlayAudio
+AgsPlayAudioClass
+ags_play_audio_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_AUDIO
+AGS_IS_PLAY_AUDIO_CLASS
+AGS_PLAY_AUDIO
+AGS_PLAY_AUDIO_CLASS
+AGS_PLAY_AUDIO_GET_CLASS
+AGS_TYPE_PLAY_AUDIO
+ags_play_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_audio_file</FILE>
+<TITLE>AgsPlayAudioFile</TITLE>
+AgsPlayAudioFile
+AgsPlayAudioFileClass
+ags_play_audio_file_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_AUDIO_FILE
+AGS_IS_PLAY_AUDIO_FILE_CLASS
+AGS_PLAY_AUDIO_FILE
+AGS_PLAY_AUDIO_FILE_CLASS
+AGS_PLAY_AUDIO_FILE_GET_CLASS
+AGS_TYPE_PLAY_AUDIO_FILE
+ags_play_audio_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_audio_signal</FILE>
+<TITLE>AgsPlayAudioSignal</TITLE>
+AgsPlayAudioSignal
+AgsPlayAudioSignalClass
+ags_play_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_AUDIO_SIGNAL
+AGS_IS_PLAY_AUDIO_SIGNAL_CLASS
+AGS_PLAY_AUDIO_SIGNAL
+AGS_PLAY_AUDIO_SIGNAL_CLASS
+AGS_PLAY_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_PLAY_AUDIO_SIGNAL
+ags_play_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_channel</FILE>
+<TITLE>AgsPlayChannel</TITLE>
+AgsPlayChannel
+AgsPlayChannelClass
+ags_play_channel_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_CHANNEL
+AGS_IS_PLAY_CHANNEL_CLASS
+AGS_PLAY_CHANNEL
+AGS_PLAY_CHANNEL_CLASS
+AGS_PLAY_CHANNEL_GET_CLASS
+AGS_TYPE_PLAY_CHANNEL
+ags_play_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_channel_run</FILE>
+<TITLE>AgsPlayChannelRun</TITLE>
+AgsPlayChannelRun
+AgsPlayChannelRunClass
+AgsPlayChannelRunFlags
+ags_play_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_CHANNEL_RUN
+AGS_IS_PLAY_CHANNEL_RUN_CLASS
+AGS_PLAY_CHANNEL_RUN
+AGS_PLAY_CHANNEL_RUN_CLASS
+AGS_PLAY_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_PLAY_CHANNEL_RUN
+ags_play_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_channel_run_master</FILE>
+<TITLE>AgsPlayChannelRunMaster</TITLE>
+AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER
+AgsPlayChannelRunMaster
+AgsPlayChannelRunMasterClass
+AgsPlayChannelRunMasterFlags
+AgsPlayChannelRunMasterStreamer
+ags_play_channel_run_master_find_streamer
+ags_play_channel_run_master_new
+ags_play_channel_run_master_streamer_alloc
+<SUBSECTION Standard>
+AGS_IS_PLAY_CHANNEL_RUN_MASTER
+AGS_IS_PLAY_CHANNEL_RUN_MASTER_CLASS
+AGS_PLAY_CHANNEL_RUN_MASTER
+AGS_PLAY_CHANNEL_RUN_MASTER_CLASS
+AGS_PLAY_CHANNEL_RUN_MASTER_GET_CLASS
+AGS_TYPE_PLAY_CHANNEL_RUN_MASTER
+ags_play_channel_run_master_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_notation_audio</FILE>
+<TITLE>AgsPlayNotationAudio</TITLE>
+AgsPlayNotationAudio
+AgsPlayNotationAudioClass
+ags_play_notation_audio_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_NOTATION_AUDIO
+AGS_IS_PLAY_NOTATION_AUDIO_CLASS
+AGS_PLAY_NOTATION_AUDIO
+AGS_PLAY_NOTATION_AUDIO_CLASS
+AGS_PLAY_NOTATION_AUDIO_GET_CLASS
+AGS_TYPE_PLAY_NOTATION_AUDIO
+ags_play_notation_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_notation_audio_run</FILE>
+<TITLE>AgsPlayNotationAudioRun</TITLE>
+AgsPlayNotationAudioRun
+AgsPlayNotationAudioRunClass
+AgsPlayNotationAudioRunFlags
+ags_play_notation_audio_run_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_NOTATION_AUDIO_RUN
+AGS_IS_PLAY_NOTATION_AUDIO_RUN_CLASS
+AGS_PLAY_NOTATION_AUDIO_RUN
+AGS_PLAY_NOTATION_AUDIO_RUN_CLASS
+AGS_PLAY_NOTATION_AUDIO_RUN_GET_CLASS
+AGS_TYPE_PLAY_NOTATION_AUDIO_RUN
+ags_play_notation_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_note</FILE>
+<TITLE>AgsPlayNote</TITLE>
+AgsPlayNote
+AgsPlayNoteClass
+ags_play_note_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_NOTE
+AGS_IS_PLAY_NOTE_CLASS
+AGS_PLAY_NOTE
+AGS_PLAY_NOTE_CLASS
+AGS_PLAY_NOTE_GET_CLASS
+AGS_TYPE_PLAY_NOTE
+ags_play_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_pattern</FILE>
+<TITLE>AgsPlayPattern</TITLE>
+AgsPlayPattern
+AgsPlayPatternClass
+ags_play_pattern_connect
+<SUBSECTION Standard>
+AGS_PLAY_PATTERN
+AGS_PLAY_PATTERN_CLASS
+AGS_TYPE_PLAY_PATTERN
+ags_play_pattern_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_recycling</FILE>
+<TITLE>AgsPlayRecycling</TITLE>
+AgsPlayRecycling
+AgsPlayRecyclingClass
+ags_play_recycling_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_RECYCLING
+AGS_IS_PLAY_RECYCLING_CLASS
+AGS_PLAY_RECYCLING
+AGS_PLAY_RECYCLING_CLASS
+AGS_PLAY_RECYCLING_GET_CLASS
+AGS_TYPE_PLAY_RECYCLING
+ags_play_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_playable</FILE>
+<TITLE>AgsPlayable</TITLE>
+AGS_PLAYABLE_ERROR
+AgsPlayable
+AgsPlayableError
+AgsPlayableInterface
+ags_playable_close
+ags_playable_error_quark
+ags_playable_flush
+ags_playable_info
+ags_playable_iter_next
+ags_playable_iter_start
+ags_playable_level_count
+ags_playable_level_select
+ags_playable_level_up
+ags_playable_nth_level
+ags_playable_open
+ags_playable_read
+ags_playable_read_audio_signal
+ags_playable_rw_open
+ags_playable_seek
+ags_playable_selected_level
+ags_playable_sublevel_names
+ags_playable_write
+<SUBSECTION Standard>
+AGS_IS_PLAYABLE
+AGS_IS_PLAYABLE_INTERFACE
+AGS_PLAYABLE
+AGS_PLAYABLE_GET_INTERFACE
+AGS_PLAYABLE_INTERFACE
+AGS_TYPE_PLAYABLE
+ags_playable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin</FILE>
+<TITLE>AgsPlugin</TITLE>
+AgsPlugin
+AgsPluginInterface
+ags_plugin_get_build_id
+ags_plugin_get_name
+ags_plugin_get_ports
+ags_plugin_get_version
+ags_plugin_get_xml_type
+ags_plugin_read
+ags_plugin_set_build_id
+ags_plugin_set_name
+ags_plugin_set_ports
+ags_plugin_set_version
+ags_plugin_set_xml_type
+ags_plugin_write
+<SUBSECTION Standard>
+AGS_IS_PLUGIN
+AGS_IS_PLUGIN_INTERFACE
+AGS_PLUGIN
+AGS_PLUGIN_GET_INTERFACE
+AGS_PLUGIN_INTERFACE
+AGS_TYPE_PLUGIN
+ags_plugin_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_factory</FILE>
+<TITLE>AgsPluginFactory</TITLE>
+AgsPluginFactory
+AgsPluginFactoryClass
+AgsPluginMetadata
+ags_plugin_factory_add
+ags_plugin_factory_create
+ags_plugin_factory_get_instance
+ags_plugin_factory_list_by_name
+ags_plugin_factory_new
+ags_plugin_factory_new_from_file
+ags_plugin_factory_read_file
+<SUBSECTION Standard>
+AGS_IS_PLUGIN_FACTORY
+AGS_IS_PLUGIN_FACTORY_CLASS
+AGS_PLUGIN_FACTORY
+AGS_PLUGIN_FACTORY_CLASS
+AGS_PLUGIN_FACTORY_GET_CLASS
+AGS_TYPE_PLUGIN_FACTORY
+ags_plugin_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_preferences</FILE>
+<TITLE>AgsPluginPreferences</TITLE>
+AgsLadspaPluginPreferences
+AgsPluginPreferences
+AgsPluginPreferencesClass
+ags_ladspa_plugin_preferences_alloc
+ags_plugin_preferences_new
+<SUBSECTION Standard>
+AGS_IS_PLUGIN_PREFERENCES
+AGS_IS_PLUGIN_PREFERENCES_CLASS
+AGS_PLUGIN_PREFERENCES
+AGS_PLUGIN_PREFERENCES_CLASS
+AGS_PLUGIN_PREFERENCES_GET_CLASS
+AGS_TYPE_PLUGIN_PREFERENCES
+ags_plugin_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_preferences_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_stock</FILE>
+AGS_PLUGIN_NAME_VOLUME
+</SECTION>
+
+<SECTION>
+<FILE>ags_port</FILE>
+<TITLE>AgsPort</TITLE>
+AgsPort
+AgsPortClass
+ags_port_find_specifier
+ags_port_new
+ags_port_safe_get_property
+ags_port_safe_read
+ags_port_safe_set_property
+ags_port_safe_write
+<SUBSECTION Standard>
+AGS_IS_PORT
+AGS_IS_PORT_CLASS
+AGS_PORT
+AGS_PORT_CLASS
+AGS_PORT_GET_CLASS
+AGS_TYPE_PORT
+ags_port_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_portable_thread</FILE>
+<TITLE>AgsPortableThread</TITLE>
+AgsPortableThread
+AgsPortableThreadClass
+AgsPortableThreadFlags
+ags_portable_thread_add_child
+ags_portable_thread_children_is_locked
+ags_portable_thread_first
+ags_portable_thread_get_toplevel
+ags_portable_thread_is_current_ready
+ags_portable_thread_is_current_synced
+ags_portable_thread_is_tree_ready
+ags_portable_thread_is_tree_synced
+ags_portable_thread_last
+ags_portable_thread_lock
+ags_portable_thread_lock_all
+ags_portable_thread_lock_children
+ags_portable_thread_lock_parent
+ags_portable_thread_lock_sibling
+ags_portable_thread_main_loop_unlock_children
+ags_portable_thread_new
+ags_portable_thread_next_children_locked
+ags_portable_thread_next_parent_locked
+ags_portable_thread_next_sibling_locked
+ags_portable_thread_parental_is_locked
+ags_portable_thread_remove_child
+ags_portable_thread_run
+ags_portable_thread_sibling_is_locked
+ags_portable_thread_signal_children
+ags_portable_thread_signal_parent
+ags_portable_thread_signal_sibling
+ags_portable_thread_start
+ags_portable_thread_stop
+ags_portable_thread_timelock
+ags_portable_thread_trylock
+ags_portable_thread_unlock
+ags_portable_thread_unlock_all
+ags_portable_thread_unlock_children
+ags_portable_thread_unlock_parent
+ags_portable_thread_unlock_sibling
+ags_portable_thread_wait_children
+ags_portable_thread_wait_parent
+ags_portable_thread_wait_sibling
+<SUBSECTION Standard>
+AGS_IS_PORTABLE_THREAD
+AGS_IS_PORTABLE_THREAD_CLASS
+AGS_PORTABLE_THREAD
+AGS_PORTABLE_THREAD_CLASS
+AGS_PORTABLE_THREAD_GET_CLASS
+AGS_TYPE_PORTABLE_THREAD
+ags_portable_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_portlet</FILE>
+<TITLE>AgsPortlet</TITLE>
+AgsPortlet
+AgsPortletInterface
+ags_portlet_get_port
+ags_portlet_list_safe_properties
+ags_portlet_safe_get_property
+ags_portlet_safe_set_property
+ags_portlet_set_port
+<SUBSECTION Standard>
+AGS_IS_PORTLET
+AGS_IS_PORTLET_INTERFACE
+AGS_PORTLET
+AGS_PORTLET_GET_INTERFACE
+AGS_PORTLET_INTERFACE
+AGS_TYPE_PORTLET
+ags_portlet_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_preferences</FILE>
+<TITLE>AgsPreferences</TITLE>
+AgsPreferences
+AgsPreferencesClass
+AgsPreferencesFlags
+ags_preferences_new
+<SUBSECTION Standard>
+AGS_IS_PREFERENCES
+AGS_IS_PREFERENCES_CLASS
+AGS_PREFERENCES
+AGS_PREFERENCES_CLASS
+AGS_PREFERENCES_GET_CLASS
+AGS_TYPE_PREFERENCES
+ags_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_preferences_callbacks</FILE>
+ags_preferences_response_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_collection_editor</FILE>
+<TITLE>AgsPropertyCollectionEditor</TITLE>
+AgsPropertyCollectionEditor
+AgsPropertyCollectionEditorClass
+ags_property_collection_editor_new
+<SUBSECTION Standard>
+AGS_IS_PROPERTY_COLLECTION_EDITOR
+AGS_IS_PROPERTY_COLLECTION_EDITOR_CLASS
+AGS_PROPERTY_COLLECTION_EDITOR
+AGS_PROPERTY_COLLECTION_EDITOR_CLASS
+AGS_PROPERTY_COLLECTION_EDITOR_GET_CLASS
+AGS_TYPE_PROPERTY_COLLECTION_EDITOR
+ags_property_collection_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_collection_editor_callbacks</FILE>
+ags_property_collection_editor_add_collection_callback
+ags_property_collection_editor_remove_collection_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_editor</FILE>
+<TITLE>AgsPropertyEditor</TITLE>
+AgsPropertyEditor
+AgsPropertyEditorClass
+AgsPropertyEditorFlags
+ags_property_editor_new
+<SUBSECTION Standard>
+AGS_IS_PROPERTY_EDITOR
+AGS_IS_PROPERTY_EDITOR_CLASS
+AGS_PROPERTY_EDITOR
+AGS_PROPERTY_EDITOR_CLASS
+AGS_PROPERTY_EDITOR_GET_CLASS
+AGS_TYPE_PROPERTY_EDITOR
+ags_property_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_editor_callbacks</FILE>
+ags_property_editor_enable_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_listing_editor</FILE>
+<TITLE>AgsPropertyListingEditor</TITLE>
+AgsPropertyListingEditor
+AgsPropertyListingEditorClass
+ags_property_listing_editor_new
+<SUBSECTION Standard>
+AGS_IS_PROPERTY_LISTING_EDITOR
+AGS_IS_PROPERTY_LISTING_EDITOR_CLASS
+AGS_PROPERTY_LISTING_EDITOR
+AGS_PROPERTY_LISTING_EDITOR_CLASS
+AGS_PROPERTY_LISTING_EDITOR_GET_CLASS
+AGS_TYPE_PROPERTY_LISTING_EDITOR
+ags_property_listing_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall</FILE>
+<TITLE>AgsRecall</TITLE>
+AGS_RECALL_DEFAULT_BUILD_ID
+AGS_RECALL_DEFAULT_VERSION
+AGS_RECALL_HANDLER
+AgsRecall
+AgsRecallClass
+AgsRecallFlags
+AgsRecallHandler
+AgsRecallNotifyDependencyMode
+ags_recall_add_child
+ags_recall_add_dependency
+ags_recall_add_handler
+ags_recall_cancel
+ags_recall_child_added
+ags_recall_done
+ags_recall_duplicate
+ags_recall_find_by_effect
+ags_recall_find_provider
+ags_recall_find_provider_with_recycling_container
+ags_recall_find_recycling_container
+ags_recall_find_template
+ags_recall_find_type
+ags_recall_find_type_with_recycling_container
+ags_recall_get_children
+ags_recall_get_dependencies
+ags_recall_handler_alloc
+ags_recall_is_done
+ags_recall_new
+ags_recall_notify_dependency
+ags_recall_remove
+ags_recall_remove_child
+ags_recall_remove_dependency
+ags_recall_remove_handler
+ags_recall_resolve_dependencies
+ags_recall_run_init
+ags_recall_run_init_inter
+ags_recall_run_init_post
+ags_recall_run_init_pre
+ags_recall_run_inter
+ags_recall_run_post
+ags_recall_run_pre
+ags_recall_set_devout_recursive
+ags_recall_set_effect
+ags_recall_set_flags
+ags_recall_set_recall_id
+ags_recall_stop_persistent
+ags_recall_template_find_provider
+ags_recall_template_find_type
+<SUBSECTION Standard>
+AGS_IS_RECALL
+AGS_IS_RECALL_CLASS
+AGS_RECALL
+AGS_RECALL_CLASS
+AGS_RECALL_GET_CLASS
+AGS_TYPE_RECALL
+ags_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_audio</FILE>
+<TITLE>AgsRecallAudio</TITLE>
+AgsRecallAudio
+AgsRecallAudioClass
+ags_recall_audio_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_AUDIO
+AGS_IS_RECALL_AUDIO_CLASS
+AGS_RECALL_AUDIO
+AGS_RECALL_AUDIO_CLASS
+AGS_RECALL_AUDIO_GET_CLASS
+AGS_TYPE_RECALL_AUDIO
+ags_recall_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_audio_run</FILE>
+<TITLE>AgsRecallAudioRun</TITLE>
+AgsRecallAudioRun
+AgsRecallAudioRunClass
+ags_recall_audio_run_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_AUDIO_RUN
+AGS_IS_RECALL_AUDIO_RUN_CLASS
+AGS_RECALL_AUDIO_RUN
+AGS_RECALL_AUDIO_RUN_CLASS
+AGS_RECALL_AUDIO_RUN_GET_CLASS
+AGS_TYPE_RECALL_AUDIO_RUN
+ags_recall_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_audio_signal</FILE>
+<TITLE>AgsRecallAudioSignal</TITLE>
+AgsRecallAudioSignal
+AgsRecallAudioSignalClass
+AgsRecallAudioSignalFlags
+ags_recall_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_AUDIO_SIGNAL
+AGS_IS_RECALL_AUDIO_SIGNAL_CLASS
+AGS_RECALL_AUDIO_SIGNAL
+AGS_RECALL_AUDIO_SIGNAL_CLASS
+AGS_RECALL_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_RECALL_AUDIO_SIGNAL
+ags_recall_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_channel</FILE>
+<TITLE>AgsRecallChannel</TITLE>
+AgsRecallChannel
+AgsRecallChannelClass
+ags_recall_channel_find_channel
+ags_recall_channel_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_CHANNEL
+AGS_IS_RECALL_CHANNEL_CLASS
+AGS_RECALL_CHANNEL
+AGS_RECALL_CHANNEL_CLASS
+AGS_RECALL_CHANNEL_GET_CLASS
+AGS_TYPE_RECALL_CHANNEL
+ags_recall_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_channel_run</FILE>
+<TITLE>AgsRecallChannelRun</TITLE>
+AgsRecallChannelRun
+AgsRecallChannelRunClass
+ags_recall_channel_run_get_run_order
+ags_recall_channel_run_new
+ags_recall_channel_run_run_order_changed
+<SUBSECTION Standard>
+AGS_IS_RECALL_CHANNEL_RUN
+AGS_IS_RECALL_CHANNEL_RUN_CLASS
+AGS_RECALL_CHANNEL_RUN
+AGS_RECALL_CHANNEL_RUN_CLASS
+AGS_RECALL_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_RECALL_CHANNEL_RUN
+ags_recall_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_channel_run_dummy</FILE>
+<TITLE>AgsRecallChannelRunDummy</TITLE>
+AgsRecallChannelRunDummy
+AgsRecallChannelRunDummyClass
+ags_recall_channel_run_dummy_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_CHANNEL_RUN_DUMMY
+AGS_IS_RECALL_CHANNEL_RUN_DUMMY_CLASS
+AGS_RECALL_CHANNEL_RUN_DUMMY
+AGS_RECALL_CHANNEL_RUN_DUMMY_CLASS
+AGS_RECALL_CHANNEL_RUN_DUMMY_GET_CLASS
+AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY
+ags_recall_channel_run_dummy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_container</FILE>
+<TITLE>AgsRecallContainer</TITLE>
+AgsRecallContainer
+AgsRecallContainerClass
+AgsRecallContainerFindFlags
+AgsRecallContainerFlags
+ags_recall_container_find
+ags_recall_container_get_recall_audio
+ags_recall_container_get_recall_audio_run
+ags_recall_container_get_recall_channel
+ags_recall_container_get_recall_channel_run
+ags_recall_container_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_CONTAINER
+AGS_IS_RECALL_CONTAINER_CLASS
+AGS_RECALL_CONTAINER
+AGS_RECALL_CONTAINER_CLASS
+AGS_RECALL_CONTAINER_GET_CLASS
+AGS_TYPE_RECALL_CONTAINER
+ags_recall_container_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_dependency</FILE>
+<TITLE>AgsRecallDependency</TITLE>
+AgsRecallDependency
+AgsRecallDependencyClass
+ags_recall_dependency_find_dependency
+ags_recall_dependency_find_dependency_by_provider
+ags_recall_dependency_new
+ags_recall_dependency_resolve
+<SUBSECTION Standard>
+AGS_IS_RECALL_DEPENDENCY
+AGS_IS_RECALL_DEPENDENCY_CLASS
+AGS_RECALL_DEPENDENCY
+AGS_RECALL_DEPENDENCY_CLASS
+AGS_RECALL_DEPENDENCY_GET_CLASS
+AGS_TYPE_RECALL_DEPENDENCY
+ags_recall_dependency_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_factory</FILE>
+<TITLE>AgsRecallFactory</TITLE>
+AgsRecallFactory
+AgsRecallFactoryClass
+AgsRecallFactoryCreateFlags
+ags_recall_factory_create
+ags_recall_factory_get_instance
+ags_recall_factory_new
+ags_recall_factory_remove
+<SUBSECTION Standard>
+AGS_IS_RECALL_FACTORY
+AGS_IS_RECALL_FACTORY_CLASS
+AGS_RECALL_FACTORY
+AGS_RECALL_FACTORY_CLASS
+AGS_RECALL_FACTORY_GET_CLASS
+AGS_TYPE_RECALL_FACTORY
+ags_recall_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_id</FILE>
+<TITLE>AgsRecallID</TITLE>
+AgsRecallID
+AgsRecallIDClass
+AgsRecallIDFlags
+ags_recall_id_add
+ags_recall_id_find_parent_recycling_container
+ags_recall_id_find_recycling_container
+ags_recall_id_get_run_stage
+ags_recall_id_new
+ags_recall_id_set_run_stage
+ags_recall_id_unset_run_stage
+<SUBSECTION Standard>
+AGS_IS_RECALL_ID
+AGS_IS_RECALL_ID_CLASS
+AGS_RECALL_ID
+AGS_RECALL_ID_CLASS
+AGS_RECALL_ID_GET_CLASS
+AGS_TYPE_RECALL_ID
+ags_recall_id_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_ladspa</FILE>
+<TITLE>AgsRecallLadspa</TITLE>
+AgsRecallLadspa
+AgsRecallLadspaClass
+ags_recall_ladpsa_find
+ags_recall_ladspa_float_to_short
+ags_recall_ladspa_load_ports
+ags_recall_ladspa_new
+ags_recall_ladspa_short_to_float
+<SUBSECTION Standard>
+AGS_IS_RECALL_LADSPA
+AGS_IS_RECALL_LADSPA_CLASS
+AGS_RECALL_LADSPA
+AGS_RECALL_LADSPA_CLASS
+AGS_RECALL_LADSPA_GET_CLASS
+AGS_TYPE_RECALL_LADSPA
+ags_recall_ladspa_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_ladspa_run</FILE>
+<TITLE>AgsRecallLadspaRun</TITLE>
+AgsRecallLadspaRun
+AgsRecallLadspaRunClass
+ags_recall_ladspa_run_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_LADSPA_RUN
+AGS_IS_RECALL_LADSPA_RUN_CLASS
+AGS_RECALL_LADSPA_RUN
+AGS_RECALL_LADSPA_RUN_CLASS
+AGS_RECALL_LADSPA_RUN_GET_CLASS
+AGS_TYPE_RECALL_LADSPA_RUN
+ags_recall_ladspa_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_recycling</FILE>
+<TITLE>AgsRecallRecycling</TITLE>
+AgsRecallRecycling
+AgsRecallRecyclingClass
+AgsRecallRecyclingFlags
+ags_recall_recycling_get_child_source
+ags_recall_recycling_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_RECYCLING
+AGS_IS_RECALL_RECYCLING_CLASS
+AGS_RECALL_RECYCLING
+AGS_RECALL_RECYCLING_CLASS
+AGS_RECALL_RECYCLING_GET_CLASS
+AGS_TYPE_RECALL_RECYCLING
+ags_recall_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_recycling_dummy</FILE>
+<TITLE>AgsRecallRecyclingDummy</TITLE>
+AgsRecallRecyclingDummy
+AgsRecallRecyclingDummyClass
+ags_recall_recycling_dummy_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_RECYCLING_DUMMY
+AGS_IS_RECALL_RECYCLING_DUMMY_CLASS
+AGS_RECALL_RECYCLING_DUMMY
+AGS_RECALL_RECYCLING_DUMMY_CLASS
+AGS_RECALL_RECYCLING_DUMMY_GET_CLASS
+AGS_TYPE_RECALL_RECYCLING_DUMMY
+ags_recall_recycling_dummy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_record_thread</FILE>
+<TITLE>AgsRecordThread</TITLE>
+AGS_RECORD_THREAD_DEFAULT_DELAY
+AgsRecordThread
+AgsRecordThreadClass
+ags_record_thread_new
+<SUBSECTION Standard>
+AGS_IS_RECORD_THREAD
+AGS_IS_RECORD_THREAD_CLASS
+AGS_RECORD_THREAD
+AGS_RECORD_THREAD_CLASS
+AGS_RECORD_THREAD_GET_CLASS
+AGS_TYPE_RECORD_THREAD
+ags_record_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling</FILE>
+<TITLE>AgsRecycling</TITLE>
+AgsRecycling
+AgsRecyclingClass
+AgsRecyclingFlags
+ags_recycling_add_audio_signal
+ags_recycling_create_audio_signal_with_defaults
+ags_recycling_create_audio_signal_with_frame_count
+ags_recycling_find_next_channel
+ags_recycling_new
+ags_recycling_position
+ags_recycling_remove_audio_signal
+ags_recycling_set_devout
+<SUBSECTION Standard>
+AGS_IS_RECYCLING
+AGS_IS_RECYCLING_CLASS
+AGS_RECYCLING
+AGS_RECYCLING_CLASS
+AGS_RECYCLING_GET_CLASS
+AGS_TYPE_RECYCLING
+ags_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling_container</FILE>
+<TITLE>AgsRecyclingContainer</TITLE>
+AgsRecyclingContainer
+AgsRecyclingContainerClass
+ags_recycling_container_add
+ags_recycling_container_add_child
+ags_recycling_container_find
+ags_recycling_container_find_child
+ags_recycling_container_find_parent
+ags_recycling_container_get_child_recall_id
+ags_recycling_container_get_toplevel
+ags_recycling_container_insert
+ags_recycling_container_new
+ags_recycling_container_remove
+ags_recycling_container_remove_child
+ags_recycling_container_replace
+ags_recycling_container_reset_recycling
+<SUBSECTION Standard>
+AGS_IS_RECYCLING_CONTAINER
+AGS_IS_RECYCLING_CONTAINER_CLASS
+AGS_RECYCLING_CONTAINER
+AGS_RECYCLING_CONTAINER_CLASS
+AGS_RECYCLING_CONTAINER_GET_CLASS
+AGS_TYPE_RECYCLING_CONTAINER
+ags_recycling_container_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling_thread</FILE>
+<TITLE>AgsRecyclingThread</TITLE>
+AGS_RECYCLING_THREAD_DEFAULT_JIFFIE
+AgsRecyclingThread
+AgsRecyclingThreadClass
+AgsRecyclingThreadFlags
+ags_recycling_thread_new
+ags_recycling_thread_play_audio
+ags_recycling_thread_play_channel
+<SUBSECTION Standard>
+AGS_IS_RECYCLING_THREAD
+AGS_IS_RECYCLING_THREAD_CLASS
+AGS_RECYCLING_THREAD
+AGS_RECYCLING_THREAD_CLASS
+AGS_RECYCLING_THREAD_GET_CLASS
+AGS_TYPE_RECYCLING_THREAD
+ags_recycling_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling_thread_callbacks</FILE>
+ags_recycling_thread_iterate_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_registry</FILE>
+<TITLE>AgsRegistry</TITLE>
+AGS_REGISTRY_DEFAULT_ID_LENGTH
+AgsRegistry
+AgsRegistryClass
+AgsRegistryEntry
+ags_registry_add
+ags_registry_entry_alloc
+ags_registry_entry_bulk
+ags_registry_entry_find
+ags_registry_new
+<SUBSECTION Standard>
+AGS_IS_REGISTRY
+AGS_IS_REGISTRY_CLASS
+AGS_REGISTRY
+AGS_REGISTRY_CLASS
+AGS_REGISTRY_GET_CLASS
+AGS_TYPE_REGISTRY
+ags_registry_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remote_task</FILE>
+<TITLE>AgsRemoteTask</TITLE>
+AgsRemoteTask
+AgsRemoteTaskClass
+ags_remote_task_launch
+ags_remote_task_launch_timed
+ags_remote_task_new
+<SUBSECTION Standard>
+AGS_IS_REMOTE_TASK
+AGS_IS_REMOTE_TASK_CLASS
+AGS_REMOTE_TASK
+AGS_REMOTE_TASK_CLASS
+AGS_REMOTE_TASK_GET_CLASS
+AGS_TYPE_REMOTE_TASK
+ags_remote_task_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_audio</FILE>
+<TITLE>AgsRemoveAudio</TITLE>
+AgsRemoveAudio
+AgsRemoveAudioClass
+ags_remove_audio_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_AUDIO
+AGS_IS_REMOVE_AUDIO_CLASS
+AGS_REMOVE_AUDIO
+AGS_REMOVE_AUDIO_CLASS
+AGS_REMOVE_AUDIO_GET_CLASS
+AGS_TYPE_REMOVE_AUDIO
+ags_remove_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_audio_signal</FILE>
+<TITLE>AgsRemoveAudioSignal</TITLE>
+AgsRemoveAudioSignal
+AgsRemoveAudioSignalClass
+ags_remove_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_AUDIO_SIGNAL
+AGS_IS_REMOVE_AUDIO_SIGNAL_CLASS
+AGS_REMOVE_AUDIO_SIGNAL
+AGS_REMOVE_AUDIO_SIGNAL_CLASS
+AGS_REMOVE_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_REMOVE_AUDIO_SIGNAL
+ags_remove_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_note</FILE>
+<TITLE>AgsRemoveNote</TITLE>
+AgsRemoveNote
+AgsRemoveNoteClass
+ags_remove_note_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_NOTE
+AGS_IS_REMOVE_NOTE_CLASS
+AGS_REMOVE_NOTE
+AGS_REMOVE_NOTE_CLASS
+AGS_REMOVE_NOTE_GET_CLASS
+AGS_TYPE_REMOVE_NOTE
+ags_remove_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_point_from_selection</FILE>
+<TITLE>AgsRemovePointFromSelection</TITLE>
+AgsRemovePointFromSelection
+AgsRemovePointFromSelectionClass
+ags_remove_point_from_selection_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_POINT_FROM_SELECTION
+AGS_IS_REMOVE_POINT_FROM_SELECTION_CLASS
+AGS_REMOVE_POINT_FROM_SELECTION
+AGS_REMOVE_POINT_FROM_SELECTION_CLASS
+AGS_REMOVE_POINT_FROM_SELECTION_GET_CLASS
+AGS_TYPE_REMOVE_POINT_FROM_SELECTION
+ags_remove_point_from_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_recall</FILE>
+<TITLE>AgsRemoveRecall</TITLE>
+AgsRemoveRecall
+AgsRemoveRecallClass
+ags_remove_recall_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_RECALL
+AGS_IS_REMOVE_RECALL_CLASS
+AGS_REMOVE_RECALL
+AGS_REMOVE_RECALL_CLASS
+AGS_REMOVE_RECALL_GET_CLASS
+AGS_TYPE_REMOVE_RECALL
+ags_remove_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_region_from_selection</FILE>
+<TITLE>AgsRemoveRegionFromSelection</TITLE>
+AgsRemoveRegionFromSelection
+AgsRemoveRegionFromSelectionClass
+ags_remove_region_from_selection_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_REGION_FROM_SELECTION
+AGS_IS_REMOVE_REGION_FROM_SELECTION_CLASS
+AGS_REMOVE_REGION_FROM_SELECTION
+AGS_REMOVE_REGION_FROM_SELECTION_CLASS
+AGS_REMOVE_REGION_FROM_SELECTION_GET_CLASS
+AGS_TYPE_REMOVE_REGION_FROM_SELECTION
+ags_remove_region_from_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_resize_editor</FILE>
+<TITLE>AgsResizeEditor</TITLE>
+AgsResizeEditor
+AgsResizeEditorClass
+ags_resize_editor_new
+<SUBSECTION Standard>
+AGS_IS_RESIZE_EDITOR
+AGS_IS_RESIZE_EDITOR_CLASS
+AGS_RESIZE_EDITOR
+AGS_RESIZE_EDITOR_CLASS
+AGS_RESIZE_EDITOR_GET_CLASS
+AGS_TYPE_RESIZE_EDITOR
+</SECTION>
+
+<SECTION>
+<FILE>ags_returnable_thread</FILE>
+<TITLE>AgsReturnableThread</TITLE>
+AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE
+AgsReturnableThread
+AgsReturnableThreadCallback
+AgsReturnableThreadClass
+AgsReturnableThreadFlags
+ags_returnable_thread_connect_safe_run
+ags_returnable_thread_disconnect_safe_run
+ags_returnable_thread_new
+ags_returnable_thread_safe_run
+<SUBSECTION Standard>
+AGS_IS_RETURNABLE_THREAD
+AGS_IS_RETURNABLE_THREAD_CLASS
+AGS_RETURNABLE_THREAD
+AGS_RETURNABLE_THREAD_CLASS
+AGS_RETURNABLE_THREAD_GET_CLASS
+AGS_TYPE_RETURNABLE_THREAD
+ags_returnable_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ruler</FILE>
+<TITLE>AgsRuler</TITLE>
+AGS_RULER_DEFAULT_STEP
+AGS_RULER_LARGE_STEP
+AGS_RULER_SMALL_STEP
+AgsRuler
+AgsRulerClass
+ags_ruler_new
+<SUBSECTION Standard>
+AGS_IS_RULER
+AGS_IS_RULER_CLASS
+AGS_RULER
+AGS_RULER_CLASS
+AGS_RULER_GET_CLASS
+AGS_TYPE_RULER
+ags_ruler_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_runnable</FILE>
+<TITLE>AgsRunnable</TITLE>
+AgsRunnable
+AgsRunnableInterface
+ags_runnable_run
+ags_runnable_stop
+<SUBSECTION Standard>
+AGS_IS_RUNNABLE
+AGS_IS_RUNNABLE_INTERFACE
+AGS_RUNNABLE
+AGS_RUNNABLE_GET_INTERFACE
+AGS_RUNNABLE_INTERFACE
+AGS_TYPE_RUNNABLE
+ags_runnable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_save_file</FILE>
+<TITLE>AgsSaveFile</TITLE>
+AgsSaveFile
+AgsSaveFileClass
+ags_save_file_new
+<SUBSECTION Standard>
+AGS_IS_SAVE_FILE
+AGS_IS_SAVE_FILE_CLASS
+AGS_SAVE_FILE
+AGS_SAVE_FILE_CLASS
+AGS_SAVE_FILE_GET_CLASS
+AGS_TYPE_SAVE_FILE
+ags_save_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_scroll_on_play</FILE>
+<TITLE>AgsScrollOnPlay</TITLE>
+AgsScrollOnPlay
+AgsScrollOnPlayClass
+ags_scroll_on_play_new
+<SUBSECTION Standard>
+AGS_IS_SCROLL_ON_PLAY
+AGS_IS_SCROLL_ON_PLAY_CLASS
+AGS_SCROLL_ON_PLAY
+AGS_SCROLL_ON_PLAY_CLASS
+AGS_SCROLL_ON_PLAY_GET_CLASS
+AGS_TYPE_SCROLL_ON_PLAY
+ags_scroll_on_play_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_seekable</FILE>
+<TITLE>AgsSeekable</TITLE>
+AgsSeekable
+AgsSeekableInterface
+ags_seekable_seek
+<SUBSECTION Standard>
+AGS_IS_SEEKABLE
+AGS_IS_SEEKABLE_INTERFACE
+AGS_SEEKABLE
+AGS_SEEKABLE_GET_INTERFACE
+AGS_SEEKABLE_INTERFACE
+AGS_TYPE_SEEKABLE
+ags_seekable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_segment</FILE>
+<TITLE>AgsSegment</TITLE>
+AGS_SEGMENT_FLAGS
+AgsSegment
+AgsSegmentClass
+AgsSegmentFields
+ags_segment_draw_string
+ags_segment_field_off
+ags_segment_field_on
+ags_segment_new
+<SUBSECTION Standard>
+AGS_IS_SEGMENT
+AGS_IS_SEGMENT_CLASS
+AGS_SEGMENT
+AGS_SEGMENT_CLASS
+AGS_SEGMENT_GET_CLASS
+AGS_TYPE_SEGMENT
+ags_segment_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_server</FILE>
+<TITLE>AgsServer</TITLE>
+AgsServer
+AgsServerClass
+AgsServerFlags
+ags_server_create_object
+ags_server_lookup
+ags_server_new
+ags_server_object_set_property
+ags_server_start
+<SUBSECTION Standard>
+AGS_IS_SERVER
+AGS_IS_SERVER_CLASS
+AGS_SERVER
+AGS_SERVER_CLASS
+AGS_SERVER_GET_CLASS
+AGS_TYPE_SERVER
+ags_server_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_server_preferences</FILE>
+<TITLE>AgsServerPreferences</TITLE>
+AgsServerPreferences
+AgsServerPreferencesClass
+ags_server_preferences_new
+<SUBSECTION Standard>
+AGS_IS_SERVER_PREFERENCES
+AGS_IS_SERVER_PREFERENCES_CLASS
+AGS_SERVER_PREFERENCES
+AGS_SERVER_PREFERENCES_CLASS
+AGS_SERVER_PREFERENCES_GET_CLASS
+AGS_TYPE_SERVER_PREFERENCES
+ags_server_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_server_preferences_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_audio_channels</FILE>
+<TITLE>AgsSetAudioChannels</TITLE>
+AgsSetAudioChannels
+AgsSetAudioChannelsClass
+ags_set_audio_channels_new
+<SUBSECTION Standard>
+AGS_IS_SET_AUDIO_CHANNELS
+AGS_IS_SET_AUDIO_CHANNELS_CLASS
+AGS_SET_AUDIO_CHANNELS
+AGS_SET_AUDIO_CHANNELS_CLASS
+AGS_SET_AUDIO_CHANNELS_GET_CLASS
+AGS_TYPE_SET_AUDIO_CHANNELS
+ags_set_audio_channels_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_buffer_size</FILE>
+<TITLE>AgsSetBufferSize</TITLE>
+AgsSetBufferSize
+AgsSetBufferSizeClass
+ags_set_buffer_size_new
+<SUBSECTION Standard>
+AGS_IS_SET_BUFFER_SIZE
+AGS_IS_SET_BUFFER_SIZE_CLASS
+AGS_SET_BUFFER_SIZE
+AGS_SET_BUFFER_SIZE_CLASS
+AGS_SET_BUFFER_SIZE_GET_CLASS
+AGS_TYPE_SET_BUFFER_SIZE
+ags_set_buffer_size_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_devout_play_flags</FILE>
+<TITLE>AgsSetDevoutPlayFlags</TITLE>
+AgsSetDevoutPlayFlags
+AgsSetDevoutPlayFlagsClass
+ags_set_devout_play_flags_new
+<SUBSECTION Standard>
+AGS_IS_SET_DEVOUT_PLAY_FLAGS
+AGS_IS_SET_DEVOUT_PLAY_FLAGS_CLASS
+AGS_SET_DEVOUT_PLAY_FLAGS
+AGS_SET_DEVOUT_PLAY_FLAGS_CLASS
+AGS_SET_DEVOUT_PLAY_FLAGS_GET_CLASS
+AGS_TYPE_SET_DEVOUT_PLAY_FLAGS
+ags_set_devout_play_flags_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_muted</FILE>
+<TITLE>AgsSetMuted</TITLE>
+AgsSetMuted
+AgsSetMutedClass
+ags_set_muted_new
+<SUBSECTION Standard>
+AGS_IS_SET_MUTED
+AGS_IS_SET_MUTED_CLASS
+AGS_SET_MUTED
+AGS_SET_MUTED_CLASS
+AGS_SET_MUTED_GET_CLASS
+AGS_TYPE_SET_MUTED
+ags_set_muted_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_output_device</FILE>
+<TITLE>AgsSetOutputDevice</TITLE>
+AgsSetOutputDevice
+AgsSetOutputDeviceClass
+ags_set_output_device_new
+<SUBSECTION Standard>
+AGS_IS_SET_OUTPUT_DEVICE
+AGS_IS_SET_OUTPUT_DEVICE_CLASS
+AGS_SET_OUTPUT_DEVICE
+AGS_SET_OUTPUT_DEVICE_CLASS
+AGS_SET_OUTPUT_DEVICE_GET_CLASS
+AGS_TYPE_SET_OUTPUT_DEVICE
+ags_set_output_device_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_samplerate</FILE>
+<TITLE>AgsSetSamplerate</TITLE>
+AgsSetSamplerate
+AgsSetSamplerateClass
+ags_set_samplerate_new
+<SUBSECTION Standard>
+AGS_IS_SET_SAMPLERATE
+AGS_IS_SET_SAMPLERATE_CLASS
+AGS_SET_SAMPLERATE
+AGS_SET_SAMPLERATE_CLASS
+AGS_SET_SAMPLERATE_GET_CLASS
+AGS_TYPE_SET_SAMPLERATE
+ags_set_samplerate_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_sf2_chooser</FILE>
+<TITLE>AgsSF2Chooser</TITLE>
+AgsSF2Chooser
+AgsSF2ChooserClass
+ags_sf2_chooser_completed
+ags_sf2_chooser_new
+ags_sf2_chooser_open
+ags_sf2_chooser_remove_all_from_combo
+<SUBSECTION Standard>
+AGS_IS_SF2_CHOOSER
+AGS_IS_SF2_CHOOSER_CLASS
+AGS_SF2_CHOOSER
+AGS_SF2_CHOOSER_CLASS
+AGS_SF2_CHOOSER_GET_CLASS
+AGS_TYPE_SF2_CHOOSER
+ags_sf2_chooser_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_sf2_chooser_callbacks</FILE>
+ags_sf2_chooser_instrument_changed
+ags_sf2_chooser_preset_changed
+ags_sf2_chooser_sample_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_single_thread</FILE>
+<TITLE>AgsSingleThread</TITLE>
+AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE
+AgsSingleThread
+AgsSingleThreadClass
+ags_single_thread_new
+<SUBSECTION Standard>
+AGS_IS_SINGLE_THREAD
+AGS_IS_SINGLE_THREAD_CLASS
+AGS_SINGLE_THREAD
+AGS_SINGLE_THREAD_CLASS
+AGS_SINGLE_THREAD_GET_CLASS
+AGS_TYPE_SINGLE_THREAD
+ags_single_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_sndfile</FILE>
+<TITLE>AgsSndfile</TITLE>
+AgsSndfile
+AgsSndfileClass
+AgsSndfileFlags
+ags_sndfile_new
+<SUBSECTION Standard>
+AGS_IS_SNDFILE
+AGS_IS_SNDFILE_CLASS
+AGS_SNDFILE
+AGS_SNDFILE_CLASS
+AGS_SNDFILE_GET_CLASS
+AGS_TYPE_SNDFILE
+ags_sndfile_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_soundcard</FILE>
+<TITLE>AgsSoundcard</TITLE>
+AgsSoundcard
+AgsSoundcardInterface
+ags_soundcard_list_cards
+ags_soundcard_offset_changed
+ags_soundcard_pcm_info
+ags_soundcard_tic
+<SUBSECTION Standard>
+AGS_IS_SOUNDCARD
+AGS_IS_SOUNDCARD_INTERFACE
+AGS_SOUNDCARD
+AGS_SOUNDCARD_GET_INTERFACE
+AGS_SOUNDCARD_INTERFACE
+AGS_TYPE_SOUNDCARD
+ags_soundcard_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stackable</FILE>
+<TITLE>AgsStackable</TITLE>
+AgsStackable
+AgsStackableInterface
+ags_stackable_pop
+ags_stackable_push
+<SUBSECTION Standard>
+AGS_IS_STACKABLE
+AGS_IS_STACKABLE_INTERFACE
+AGS_STACKABLE
+AGS_STACKABLE_GET_INTERFACE
+AGS_STACKABLE_INTERFACE
+AGS_TYPE_STACKABLE
+ags_stackable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_start_devout</FILE>
+<TITLE>AgsStartDevout</TITLE>
+AgsStartDevout
+AgsStartDevoutClass
+ags_start_devout_new
+<SUBSECTION Standard>
+AGS_IS_START_DEVOUT
+AGS_IS_START_DEVOUT_CLASS
+AGS_START_DEVOUT
+AGS_START_DEVOUT_CLASS
+AGS_START_DEVOUT_GET_CLASS
+AGS_TYPE_START_DEVOUT
+ags_start_devout_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream</FILE>
+<TITLE>AgsStream</TITLE>
+AgsStream
+AgsStreamClass
+ags_stream
+ags_stream_new
+<SUBSECTION Standard>
+AGS_STREAM
+AGS_STREAM_CLASS
+AGS_TYPE_STREAM
+ags_stream_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_audio_signal</FILE>
+<TITLE>AgsStreamAudioSignal</TITLE>
+AgsStreamAudioSignal
+AgsStreamAudioSignalClass
+ags_stream_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_AUDIO_SIGNAL
+AGS_IS_STREAM_AUDIO_SIGNAL_CLASS
+AGS_STREAM_AUDIO_SIGNAL
+AGS_STREAM_AUDIO_SIGNAL_CLASS
+AGS_STREAM_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_STREAM_AUDIO_SIGNAL
+ags_stream_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_channel</FILE>
+<TITLE>AgsStreamChannel</TITLE>
+AgsStreamChannel
+AgsStreamChannelClass
+ags_stream_channel_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_CHANNEL
+AGS_IS_STREAM_CHANNEL_CLASS
+AGS_STREAM_CHANNEL
+AGS_STREAM_CHANNEL_CLASS
+AGS_STREAM_CHANNEL_GET_CLASS
+AGS_TYPE_STREAM_CHANNEL
+ags_stream_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_channel_run</FILE>
+<TITLE>AgsStreamChannelRun</TITLE>
+AgsStreamChannelRun
+AgsStreamChannelRunClass
+ags_stream_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_CHANNEL_RUN
+AGS_IS_STREAM_CHANNEL_RUN_CLASS
+AGS_STREAM_CHANNEL_RUN
+AGS_STREAM_CHANNEL_RUN_CLASS
+AGS_STREAM_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_STREAM_CHANNEL_RUN
+ags_stream_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_recycling</FILE>
+<TITLE>AgsStreamRecycling</TITLE>
+AgsStreamRecycling
+AgsStreamRecyclingClass
+ags_stream_recycling_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_RECYCLING
+AGS_IS_STREAM_RECYCLING_CLASS
+AGS_STREAM_RECYCLING
+AGS_STREAM_RECYCLING_CLASS
+AGS_STREAM_RECYCLING_GET_CLASS
+AGS_TYPE_STREAM_RECYCLING
+ags_stream_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth</FILE>
+<TITLE>AgsSynth</TITLE>
+AgsSynth
+AgsSynthClass
+AgsSynthFlags
+ags_synth_new
+<SUBSECTION Standard>
+AGS_IS_SYNTH
+AGS_IS_SYNTH_CLASS
+AGS_SYNTH
+AGS_SYNTH_CLASS
+AGS_SYNTH_GET_CLASS
+AGS_TYPE_SYNTH
+ags_synth_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth_callbacks</FILE>
+ags_synth_auto_update_callback
+ags_synth_lower_callback
+ags_synth_parent_set_callback
+ags_synth_update_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth_input_line</FILE>
+<TITLE>AgsSynthInputLine</TITLE>
+AgsSynthInputLine
+AgsSynthInputLineClass
+ags_synth_input_line_map_recall
+ags_synth_input_line_new
+<SUBSECTION Standard>
+AGS_IS_SYNTH_INPUT_LINE
+AGS_IS_SYNTH_INPUT_LINE_CLASS
+AGS_SYNTH_INPUT_LINE
+AGS_SYNTH_INPUT_LINE_CLASS
+AGS_SYNTH_INPUT_LINE_GET_CLASS
+AGS_TYPE_SYNTH_INPUT_LINE
+ags_synth_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth_input_pad</FILE>
+<TITLE>AgsSynthInputPad</TITLE>
+AgsSynthInputPad
+AgsSynthInputPadClass
+ags_synth_input_pad_new
+<SUBSECTION Standard>
+AGS_IS_SYNTH_INPUT_PAD
+AGS_IS_SYNTH_INPUT_PAD_CLASS
+AGS_SYNTH_INPUT_PAD
+AGS_SYNTH_INPUT_PAD_CLASS
+AGS_SYNTH_INPUT_PAD_GET_CLASS
+AGS_TYPE_SYNTH_INPUT_PAD
+ags_synth_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synths</FILE>
+ags_synth_saw
+ags_synth_sin
+ags_synth_square
+ags_synth_triangle
+</SECTION>
+
+<SECTION>
+<FILE>ags_synths</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_table</FILE>
+<TITLE>AgsTable</TITLE>
+AgsTable
+AgsTableClass
+ags_table_new
+<SUBSECTION Standard>
+AGS_IS_TABLE
+AGS_IS_TABLE_CLASS
+AGS_TABLE
+AGS_TABLE_CLASS
+AGS_TABLE_GET_CLASS
+AGS_TYPE_TABLE
+ags_table_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_tactable</FILE>
+<TITLE>AgsTactable</TITLE>
+AgsTactable
+AgsTactableInterface
+ags_tactable_change_bpm
+ags_tactable_change_notation_duration
+ags_tactable_change_sequencer_duration
+ags_tactable_change_tact
+<SUBSECTION Standard>
+AGS_IS_TACTABLE
+AGS_IS_TACTABLE_INTERFACE
+AGS_TACTABLE
+AGS_TACTABLE_GET_INTERFACE
+AGS_TACTABLE_INTERFACE
+AGS_TYPE_TACTABLE
+ags_tactable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_task</FILE>
+<TITLE>AgsTask</TITLE>
+AgsTask
+AgsTaskClass
+AgsTaskFlags
+ags_task_failure
+ags_task_launch
+ags_task_new
+<SUBSECTION Standard>
+AGS_IS_TASK
+AGS_IS_TASK_CLASS
+AGS_TASK
+AGS_TASK_CLASS
+AGS_TASK_GET_CLASS
+AGS_TYPE_TASK
+ags_task_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_task_thread</FILE>
+<TITLE>AgsTaskThread</TITLE>
+AGS_TASK_THREAD_DEFAULT_JIFFIE
+AgsTaskThread
+AgsTaskThreadAppend
+AgsTaskThreadClass
+ags_task_thread_append_task
+ags_task_thread_append_tasks
+ags_task_thread_new
+<SUBSECTION Standard>
+AGS_IS_TASK_THREAD
+AGS_IS_TASK_THREAD_CLASS
+AGS_TASK_THREAD
+AGS_TASK_THREAD_CLASS
+AGS_TASK_THREAD_GET_CLASS
+AGS_TYPE_TASK_THREAD
+ags_task_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_thread-kthreads</FILE>
+<TITLE>AgsThread</TITLE>
+AGS_THREAD_RESUME_SIG
+AGS_THREAD_STACKSIZE
+AGS_THREAD_SUSPEND_SIG
+AgsThread
+AgsThreadClass
+AgsThreadFlags
+MSEC_PER_SEC
+NSEC_PER_SEC
+ags_thread_add_child
+ags_thread_children_is_locked
+ags_thread_first
+ags_thread_get_toplevel
+ags_thread_hangcheck
+ags_thread_is_current_ready
+ags_thread_is_tree_ready
+ags_thread_last
+ags_thread_lock
+ags_thread_lock_all
+ags_thread_lock_children
+ags_thread_lock_parent
+ags_thread_lock_sibling
+ags_thread_new
+ags_thread_next_children_locked
+ags_thread_next_parent_locked
+ags_thread_next_sibling_locked
+ags_thread_parental_is_locked
+ags_thread_remove_child
+ags_thread_resume
+ags_thread_run
+ags_thread_set_sync
+ags_thread_set_sync_all
+ags_thread_sibling_is_locked
+ags_thread_signal_children
+ags_thread_signal_parent
+ags_thread_signal_sibling
+ags_thread_start
+ags_thread_stop
+ags_thread_suspend
+ags_thread_timelock
+ags_thread_trylock
+ags_thread_unlock
+ags_thread_unlock_all
+ags_thread_unlock_children
+ags_thread_unlock_parent
+ags_thread_unlock_sibling
+ags_thread_wait_children
+ags_thread_wait_parent
+ags_thread_wait_sibling
+<SUBSECTION Standard>
+AGS_IS_THREAD
+AGS_IS_THREAD_CLASS
+AGS_THREAD
+AGS_THREAD_CLASS
+AGS_THREAD_GET_CLASS
+AGS_TYPE_THREAD
+ags_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_thread-posix</FILE>
+<TITLE>AgsThread</TITLE>
+AGS_ACCOUNTING_TABLE
+AGS_THREAD_DEFAULT_ATTACK
+AGS_THREAD_DEFAULT_JIFFIE
+AGS_THREAD_MAX_PRECISION
+AGS_THREAD_RESUME_SIG
+AGS_THREAD_SUSPEND_SIG
+AgsAccountingTable
+AgsThread
+AgsThreadClass
+AgsThreadFlags
+MSEC_PER_SEC
+NSEC_PER_SEC
+ags_accounting_table_alloc
+ags_accounting_table_set_sanity
+ags_thread_add_child
+ags_thread_children_is_locked
+ags_thread_first
+ags_thread_get_toplevel
+ags_thread_hangcheck
+ags_thread_is_current_ready
+ags_thread_is_tree_ready
+ags_thread_last
+ags_thread_lock
+ags_thread_lock_all
+ags_thread_lock_children
+ags_thread_lock_parent
+ags_thread_lock_sibling
+ags_thread_new
+ags_thread_next_children_locked
+ags_thread_next_parent_locked
+ags_thread_next_sibling_locked
+ags_thread_parental_is_locked
+ags_thread_remove_child
+ags_thread_resume
+ags_thread_run
+ags_thread_set_sync
+ags_thread_set_sync_all
+ags_thread_sibling_is_locked
+ags_thread_signal_children
+ags_thread_signal_parent
+ags_thread_signal_sibling
+ags_thread_start
+ags_thread_stop
+ags_thread_suspend
+ags_thread_timelock
+ags_thread_trylock
+ags_thread_unlock
+ags_thread_unlock_all
+ags_thread_unlock_children
+ags_thread_unlock_parent
+ags_thread_unlock_sibling
+ags_thread_wait_children
+ags_thread_wait_parent
+ags_thread_wait_sibling
+<SUBSECTION Standard>
+AGS_IS_THREAD
+AGS_IS_THREAD_CLASS
+AGS_THREAD
+AGS_THREAD_CLASS
+AGS_THREAD_GET_CLASS
+AGS_TYPE_THREAD
+ags_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_thread_pool</FILE>
+<TITLE>AgsThreadPool</TITLE>
+AgsThreadPool
+AgsThreadPoolClass
+AgsThreadPoolFlags
+ags_thread_pool_new
+ags_thread_pool_pull
+ags_thread_pool_start
+<SUBSECTION Standard>
+AGS_IS_THREAD_POOL
+AGS_IS_THREAD_POOL_CLASS
+AGS_THREAD_POOL
+AGS_THREAD_POOL_CLASS
+AGS_THREAD_POOL_GET_CLASS
+AGS_TYPE_THREAD_POOL
+ags_thread_pool_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_timebar</FILE>
+<TITLE>AgsTimebar</TITLE>
+AgsTimebar
+AgsTimebarClass
+ags_timebar_new
+<SUBSECTION Standard>
+AGS_IS_TIMEBAR
+AGS_IS_TIMEBAR_CLASS
+AGS_TIMEBAR
+AGS_TIMEBAR_CLASS
+AGS_TIMEBAR_GET_CLASS
+AGS_TYPE_TIMEBAR
+</SECTION>
+
+<SECTION>
+<FILE>ags_timestamp</FILE>
+<TITLE>AgsTimestamp</TITLE>
+AgsTimestamp
+AgsTimestampClass
+AgsTimestampFlags
+ags_timestamp_new
+<SUBSECTION Standard>
+AGS_IS_TIMESTAMP
+AGS_IS_TIMESTAMP_CLASS
+AGS_TIMESTAMP
+AGS_TIMESTAMP_CLASS
+AGS_TIMESTAMP_GET_CLASS
+AGS_TYPE_TIMESTAMP
+ags_timestamp_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_timestamp_factory</FILE>
+<TITLE>AgsTimestampFactory</TITLE>
+AgsTimestampFactory
+AgsTimestampFactoryClass
+AgsTimestampFactoryFlags
+ags_timestamp_factory_create
+ags_timestamp_factory_get_instance
+ags_timestamp_factory_new
+<SUBSECTION Standard>
+AGS_IS_TIMESTAMP_FACTORY
+AGS_IS_TIMESTAMP_FACTORY_CLASS
+AGS_TIMESTAMP_FACTORY
+AGS_TIMESTAMP_FACTORY_CLASS
+AGS_TIMESTAMP_FACTORY_GET_CLASS
+AGS_TYPE_TIMESTAMP_FACTORY
+ags_timestamp_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_timestamp_thread</FILE>
+<TITLE>AgsTimestampThread</TITLE>
+AGS_MICROSECONDS_PER_SECOND
+AGS_TIMESTAMP_THREAD_DEFAULT_BPM
+AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE
+AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE
+AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE
+AGS_TIMESTAMP_THREAD_DEFAULT_TIC
+AgsTimestampThread
+AgsTimestampThreadClass
+ags_timestamp_thread_new
+<SUBSECTION Standard>
+AGS_IS_TIMESTAMP_THREAD
+AGS_IS_TIMESTAMP_THREAD_CLASS
+AGS_TIMESTAMP_THREAD
+AGS_TIMESTAMP_THREAD_CLASS
+AGS_TIMESTAMP_THREAD_GET_CLASS
+AGS_TYPE_TIMESTAMP_THREAD
+ags_timestamp_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toggle_led</FILE>
+<TITLE>AgsToggleLed</TITLE>
+AgsToggleLed
+AgsToggleLedClass
+ags_toggle_led_new
+<SUBSECTION Standard>
+AGS_IS_TOGGLE_LED
+AGS_IS_TOGGLE_LED_CLASS
+AGS_TOGGLE_LED
+AGS_TOGGLE_LED_CLASS
+AGS_TOGGLE_LED_GET_CLASS
+AGS_TYPE_TOGGLE_LED
+ags_toggle_led_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toggle_pattern_bit</FILE>
+<TITLE>AgsTogglePatternBit</TITLE>
+AgsTogglePatternBit
+AgsTogglePatternBitClass
+ags_toggle_pattern_bit_new
+ags_toggle_pattern_bit_refresh_gui
+<SUBSECTION Standard>
+AGS_IS_TOGGLE_PATTERN_BIT
+AGS_IS_TOGGLE_PATTERN_BIT_CLASS
+AGS_TOGGLE_PATTERN_BIT
+AGS_TOGGLE_PATTERN_BIT_CLASS
+AGS_TOGGLE_PATTERN_BIT_GET_CLASS
+AGS_TYPE_TOGGLE_PATTERN_BIT
+ags_toggle_pattern_bit_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toolbar</FILE>
+<TITLE>AgsToolbar</TITLE>
+AgsToolbar
+AgsToolbarClass
+ags_toolbar_new
+<SUBSECTION Standard>
+AGS_IS_TOOLBAR
+AGS_IS_TOOLBAR_CLASS
+AGS_TOOLBAR
+AGS_TOOLBAR_CLASS
+AGS_TOOLBAR_GET_CLASS
+AGS_TYPE_TOOLBAR
+ags_toolbar_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toolbar_callbacks</FILE>
+ags_toolbar_clear_callback
+ags_toolbar_copy_or_cut_callback
+ags_toolbar_destroy_callback
+ags_toolbar_edit_callback
+ags_toolbar_mode_callback
+ags_toolbar_paste_callback
+ags_toolbar_position_callback
+ags_toolbar_select_callback
+ags_toolbar_show_callback
+ags_toolbar_zoom_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_toolbar_mode_stock</FILE>
+AGS_TOOLBAR_MODE_ALL_CHANNELS
+AGS_TOOLBAR_MODE_MULTI_CHANNEL
+AGS_TOOLBAR_MODE_SINGLE_CHANNEL
+</SECTION>
+
+<SECTION>
+<FILE>ags_tree_iterator</FILE>
+<TITLE>AgsTreeIterator</TITLE>
+AgsTreeIterator
+AgsTreeIteratorInterface
+ags_tree_iterator_is_inverse_mode
+ags_tree_iterator_iterate
+ags_tree_iterator_iterate_nested
+ags_tree_iterator_safe_iterate
+ags_tree_iterator_safe_iterate_nested
+ags_tree_iterator_set_inverse_mode
+<SUBSECTION Standard>
+AGS_IS_TREE_ITERATOR
+AGS_IS_TREE_ITERATOR_INTERFACE
+AGS_TREE_ITERATOR
+AGS_TREE_ITERATOR_GET_INTERFACE
+AGS_TREE_ITERATOR_INTERFACE
+AGS_TYPE_TREE_ITERATOR
+ags_tree_iterator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_unref_audio_signal</FILE>
+<TITLE>AgsUnrefAudioSignal</TITLE>
+AgsUnrefAudioSignal
+AgsUnrefAudioSignalClass
+ags_unref_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_UNREF_AUDIO_SIGNAL
+AGS_IS_UNREF_AUDIO_SIGNAL_CLASS
+AGS_TYPE_UNREF_AUDIO_SIGNAL
+AGS_UNREF_AUDIO_SIGNAL
+AGS_UNREF_AUDIO_SIGNAL_CLASS
+AGS_UNREF_AUDIO_SIGNAL_GET_CLASS
+ags_unref_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_vindicator</FILE>
+<TITLE>AgsVIndicator</TITLE>
+AgsVIndicator
+AgsVIndicatorClass
+ags_vindicator_new
+<SUBSECTION Standard>
+AGS_IS_VINDICATOR
+AGS_IS_VINDICATOR_CLASS
+AGS_TYPE_VINDICATOR
+AGS_VINDICATOR
+AGS_VINDICATOR_CLASS
+AGS_VINDICATOR_GET_CLASS
+ags_vindicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_audio_signal</FILE>
+<TITLE>AgsVolumeAudioSignal</TITLE>
+AgsVolumeAudioSignal
+AgsVolumeAudioSignalClass
+ags_volume_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_AUDIO_SIGNAL
+AGS_IS_VOLUME_AUDIO_SIGNAL_CLASS
+AGS_TYPE_VOLUME_AUDIO_SIGNAL
+AGS_VOLUME_AUDIO_SIGNAL
+AGS_VOLUME_AUDIO_SIGNAL_CLASS
+AGS_VOLUME_AUDIO_SIGNAL_GET_CLASS
+ags_volume_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_channel</FILE>
+<TITLE>AgsVolumeChannel</TITLE>
+AgsVolumeChannel
+AgsVolumeChannelClass
+ags_volume_channel_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_CHANNEL
+AGS_IS_VOLUME_CHANNEL_CLASS
+AGS_TYPE_VOLUME_CHANNEL
+AGS_VOLUME_CHANNEL
+AGS_VOLUME_CHANNEL_CLASS
+AGS_VOLUME_CHANNEL_GET_CLASS
+ags_volume_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_channel_run</FILE>
+<TITLE>AgsVolumeChannelRun</TITLE>
+AgsVolumeChannelRun
+AgsVolumeChannelRunClass
+ags_volume_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_CHANNEL_RUN
+AGS_IS_VOLUME_CHANNEL_RUN_CLASS
+AGS_TYPE_VOLUME_CHANNEL_RUN
+AGS_VOLUME_CHANNEL_RUN
+AGS_VOLUME_CHANNEL_RUN_CLASS
+AGS_VOLUME_CHANNEL_RUN_GET_CLASS
+ags_volume_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_recycling</FILE>
+<TITLE>AgsVolumeRecycling</TITLE>
+AgsVolumeRecycling
+AgsVolumeRecyclingClass
+ags_volume_recycling_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_RECYCLING
+AGS_IS_VOLUME_RECYCLING_CLASS
+AGS_TYPE_VOLUME_RECYCLING
+AGS_VOLUME_RECYCLING
+AGS_VOLUME_RECYCLING_CLASS
+AGS_VOLUME_RECYCLING_GET_CLASS
+ags_volume_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_waveform</FILE>
+<TITLE>AgsWaveform</TITLE>
+AgsWaveform
+AgsWaveformClass
+ags_waveform_new
+<SUBSECTION Standard>
+AGS_IS_WAVEFORM
+AGS_IS_WAVEFORM_CLASS
+AGS_TYPE_WAVEFORM
+AGS_WAVEFORM
+AGS_WAVEFORM_CLASS
+AGS_WAVEFORM_GET_CLASS
+ags_waveform_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_window</FILE>
+<TITLE>AgsWindow</TITLE>
+AGS_MACHINE_COUNTER
+AgsMachineCounter
+AgsWindow
+AgsWindowClass
+AgsWindowFlags
+ags_machine_counter_alloc
+ags_window_decrement_machine_counter
+ags_window_find_machine_counter
+ags_window_increment_machine_counter
+ags_window_new
+<SUBSECTION Standard>
+AGS_IS_WINDOW
+AGS_IS_WINDOW_CLASS
+AGS_TYPE_WINDOW
+AGS_WINDOW
+AGS_WINDOW_CLASS
+AGS_WINDOW_GET_CLASS
+ags_window_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_window_callbacks</FILE>
+ags_window_delete_event_callback
+</SECTION>
+
+<SECTION>
+<FILE>jmath</FILE>
+j_math_algebra_brackeds_out
+j_math_algebra_functions_out
+j_math_algebra_operations_out
+j_math_algebra_solve
+j_math_and
+j_math_cut_leading_zeros
+j_math_exclusive_or
+j_math_exp
+j_math_exp2
+j_math_gauss
+j_math_get_first_level_operator
+j_math_get_second_level_operator
+j_math_is_function
+j_math_is_function_backward
+j_math_is_operator
+j_math_less
+j_math_make_valid
+j_math_more
+j_math_or
+j_math_put_null_at_beginning
+j_math_put_null_at_end
+j_math_root
+j_math_root2
+j_math_solve_arithmetic
+j_math_sort_array
+j_math_width
+j_math_width_list
+</SECTION>
+
+<SECTION>
+<FILE>main</FILE>
+<TITLE>AgsMain</TITLE>
+AGS_BUILD_ID
+AGS_EFFECTS_DEFAULT_VERSION
+AGS_PRIORITY
+AGS_VERSION
+ALSA_PCM_NEW_HW_PARAMS_API
+AgsMain
+AgsMainClass
+AgsMainFlags
+ags_main_add_devout
+ags_main_load_config
+ags_main_new
+ags_main_quit
+ags_main_register_machine_type
+ags_main_register_recall_type
+ags_main_register_task_type
+ags_main_register_thread_type
+ags_main_register_widget_type
+<SUBSECTION Standard>
+AGS_IS_MAIN
+AGS_IS_MAIN_CLASS
+AGS_MAIN
+AGS_MAIN_CLASS
+AGS_MAIN_GET_CLASS
+AGS_TYPE_MAIN
+ags_main_get_type
+</SECTION>
+
diff --git a/doc/reference/ags/ags-decl.txt b/doc/reference/ags/ags-decl.txt
new file mode 100644
index 0000000..b6ef93e
--- /dev/null
+++ b/doc/reference/ags/ags-decl.txt
@@ -0,0 +1,21600 @@
+<MACRO>
+<NAME>ALSA_PCM_NEW_HW_PARAMS_API</NAME>
+#define ALSA_PCM_NEW_HW_PARAMS_API
+</MACRO>
+<MACRO>
+<NAME>AGS_TYPE_MAIN</NAME>
+#define AGS_TYPE_MAIN (ags_main_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MAIN</NAME>
+#define AGS_MAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MAIN, AgsMain))
+</MACRO>
+<MACRO>
+<NAME>AGS_MAIN_CLASS</NAME>
+#define AGS_MAIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MAIN, AgsMainClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MAIN</NAME>
+#define AGS_IS_MAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MAIN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MAIN_CLASS</NAME>
+#define AGS_IS_MAIN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MAIN))
+</MACRO>
+<MACRO>
+<NAME>AGS_MAIN_GET_CLASS</NAME>
+#define AGS_MAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_MAIN, AgsMainClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_VERSION</NAME>
+#define AGS_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_BUILD_ID</NAME>
+#define AGS_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_EFFECTS_DEFAULT_VERSION</NAME>
+#define AGS_EFFECTS_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_PRIORITY</NAME>
+#define AGS_PRIORITY (49)
+</MACRO>
+<ENUM>
+<NAME>AgsMainFlags</NAME>
+typedef enum{
+ AGS_MAIN_SINGLE_THREAD = 1,
+ AGS_MAIN_CONNECTED = 1 << 1,
+}AgsMainFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsMain</NAME>
+struct _AgsMain
+{
+ GObject object;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+#ifdef AGS_WITH_XMLRPC_C
+ xmlrpc_env env;
+#endif
+
+ AgsThread *main_loop;
+ AgsThread *autosave_thread;
+ AgsThreadPool *thread_pool;
+
+ AgsServer *server;
+
+ GList *devout;
+
+ AgsWindow *window;
+
+ AgsConfig *config;
+ AgsLog *log;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMainClass</NAME>
+struct _AgsMainClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_main_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_load_config</NAME>
+<RETURNS>void </RETURNS>
+AgsMain *ags_main
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_add_devout</NAME>
+<RETURNS>void </RETURNS>
+AgsMain *ags_main, AgsDevout *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_register_thread_type</NAME>
+<RETURNS>void </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_register_recall_type</NAME>
+<RETURNS>void </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_register_task_type</NAME>
+<RETURNS>void </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_register_widget_type</NAME>
+<RETURNS>void </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_register_machine_type</NAME>
+<RETURNS>void </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_quit</NAME>
+<RETURNS>void </RETURNS>
+AgsMain *ags_main
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_new</NAME>
+<RETURNS>AgsMain * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECYCLING</NAME>
+#define AGS_TYPE_RECYCLING (ags_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING</NAME>
+#define AGS_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECYCLING, AgsRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_CLASS</NAME>
+#define AGS_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECYCLING, AgsRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECYCLING</NAME>
+#define AGS_IS_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECYCLING_CLASS</NAME>
+#define AGS_IS_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_GET_CLASS</NAME>
+#define AGS_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECYCLING, AgsRecyclingClass))
+</MACRO>
+<ENUM>
+<NAME>AgsRecyclingFlags</NAME>
+typedef enum{
+ AGS_RECYCLING_MUTED = 1,
+}AgsRecyclingFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecycling</NAME>
+struct _AgsRecycling
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *channel;
+ GObject *devout;
+
+ AgsRecycling *parent;
+
+ AgsRecycling *next;
+ AgsRecycling *prev;
+
+ GList *audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecyclingClass</NAME>
+struct _AgsRecyclingClass
+{
+ GObjectClass object;
+
+ void (*add_audio_signal)(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+ void (*remove_audio_signal)(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_set_devout</NAME>
+<RETURNS>void </RETURNS>
+AgsRecycling *recycling, GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_add_audio_signal</NAME>
+<RETURNS>void </RETURNS>
+AgsRecycling *recycling, AgsAudioSignal *audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_remove_audio_signal</NAME>
+<RETURNS>void </RETURNS>
+AgsRecycling *recycling, AgsAudioSignal *audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_create_audio_signal_with_defaults</NAME>
+<RETURNS>void </RETURNS>
+AgsRecycling *recycling, AgsAudioSignal *audio_signal, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_create_audio_signal_with_frame_count</NAME>
+<RETURNS>void </RETURNS>
+AgsRecycling *recycling, AgsAudioSignal *audio_signal, guint frame_count, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_position</NAME>
+<RETURNS>gint </RETURNS>
+AgsRecycling *start_recycling, AgsRecycling *end_region, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_find_next_channel</NAME>
+<RETURNS>AgsRecycling * </RETURNS>
+AgsRecycling *start_region, AgsRecycling *end_region, GObject *prev_channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_new</NAME>
+<RETURNS>AgsRecycling * </RETURNS>
+GObject *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TIMESTAMP</NAME>
+#define AGS_TYPE_TIMESTAMP (ags_timestamp_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP</NAME>
+#define AGS_TIMESTAMP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMESTAMP, AgsTimestamp))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_CLASS</NAME>
+#define AGS_TIMESTAMP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TIMESTAMP, AgsTimestampClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMESTAMP</NAME>
+#define AGS_IS_TIMESTAMP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TIMESTAMP))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMESTAMP_CLASS</NAME>
+#define AGS_IS_TIMESTAMP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TIMESTAMP))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_GET_CLASS</NAME>
+#define AGS_TIMESTAMP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TIMESTAMP, AgsTimestampClass))
+</MACRO>
+<ENUM>
+<NAME>AgsTimestampFlags</NAME>
+typedef enum{
+ AGS_TIMESTAMP_UNIX = 1,
+ AGS_TIMESTAMP_OUTDATED = 1 << 1,
+}AgsTimestampFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsTimestamp</NAME>
+struct _AgsTimestamp
+{
+ GObject object;
+
+ guint flags;
+
+ union{
+ struct _unix{
+ time_t time_val;
+ }unix_time;
+ }timer;
+
+ guint delay;
+ guint attack;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTimestampClass</NAME>
+struct _AgsTimestampClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_timestamp_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_timestamp_new</NAME>
+<RETURNS>AgsTimestamp * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_DEPENDENCY</NAME>
+#define AGS_TYPE_RECALL_DEPENDENCY (ags_recall_dependency_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_DEPENDENCY</NAME>
+#define AGS_RECALL_DEPENDENCY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AGS_TYPE_RECALL_DEPENDENCY, AgsRecallDependency))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_DEPENDENCY_CLASS</NAME>
+#define AGS_RECALL_DEPENDENCY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), AGS_TYPE_RECALL_DEPENDENCY, AgsRecallDependencyClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_DEPENDENCY</NAME>
+#define AGS_IS_RECALL_DEPENDENCY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_DEPENDENCY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_DEPENDENCY_CLASS</NAME>
+#define AGS_IS_RECALL_DEPENDENCY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_DEPENDENCY))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_DEPENDENCY_GET_CLASS</NAME>
+#define AGS_RECALL_DEPENDENCY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_DEPENDENCY, AgsRecallDependencyClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallDependency</NAME>
+struct _AgsRecallDependency
+{
+ GObject object;
+
+ GObject *dependency;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallDependencyClass</NAME>
+struct _AgsRecallDependencyClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_dependency_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_dependency_find_dependency</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall_dependencies, GObject *dependency
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_dependency_find_dependency_by_provider</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall_dependencies, GObject *provider
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_dependency_resolve</NAME>
+<RETURNS>GObject * </RETURNS>
+AgsRecallDependency *recall_dependency, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_dependency_new</NAME>
+<RETURNS>AgsRecallDependency * </RETURNS>
+GObject *dependency
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_NOTATION</NAME>
+#define AGS_TYPE_NOTATION (ags_notation_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION</NAME>
+#define AGS_NOTATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTATION, AgsNotation))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_CLASS</NAME>
+#define AGS_NOTATION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTATION, AgsNotationClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTATION</NAME>
+#define AGS_IS_NOTATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_NOTATION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTATION_CLASS</NAME>
+#define AGS_IS_NOTATION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_NOTATION))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_GET_CLASS</NAME>
+#define AGS_NOTATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_NOTATION, AgsNotationClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_DEFAULT_BPM</NAME>
+#define AGS_NOTATION_DEFAULT_BPM (120.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_TICS_PER_BEAT</NAME>
+#define AGS_NOTATION_TICS_PER_BEAT (4.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_MINIMUM_NOTE_LENGTH</NAME>
+#define AGS_NOTATION_MINIMUM_NOTE_LENGTH (1.0 / 16.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_MAXIMUM_NOTE_LENGTH</NAME>
+#define AGS_NOTATION_MAXIMUM_NOTE_LENGTH (16.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_DEFAULT_LENGTH</NAME>
+#define AGS_NOTATION_DEFAULT_LENGTH (65535.0 / AGS_NOTATION_TICS_PER_BEAT - AGS_NOTATION_MAXIMUM_NOTE_LENGTH)
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_DEFAULT_JIFFIE</NAME>
+#define AGS_NOTATION_DEFAULT_JIFFIE (60.0 / AGS_NOTATION_DEFAULT_BPM / AGS_NOTATION_TICS_PER_BEAT)
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTATION_DEFAULT_DURATION</NAME>
+#define AGS_NOTATION_DEFAULT_DURATION (AGS_NOTATION_DEFAULT_LENGTH * AGS_NOTATION_DEFAULT_JIFFIE * AGS_MICROSECONDS_PER_SECOND)
+</MACRO>
+<ENUM>
+<NAME>AgsNotationFlags</NAME>
+typedef enum{
+ AGS_NOTATION_STICKY = 1,
+ AGS_NOTATION_INDICATED_LENGTH = 1 << 1,
+}AgsNotationFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsNotation</NAME>
+struct _AgsNotation
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *timestamp;
+
+ guint audio_channel;
+ GObject *audio;
+
+ gchar *key;
+ gdouble base_frequency;
+
+ gdouble tact;
+ gdouble bpm;
+
+ gdouble maximum_note_length;
+
+ GList *notes;
+
+ gdouble start_loop;
+ gdouble end_loop;
+ gdouble offset;
+
+ GList *selection;
+
+ GObject *port;
+
+ GList *current_notes;
+ GList *next_notes;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsNotationClass</NAME>
+struct _AgsNotationClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_notation_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_find_near_timestamp</NAME>
+<RETURNS>GList * </RETURNS>
+GList *notation, guint audio_channel, GObject *timestamp
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_add_note</NAME>
+<RETURNS>void </RETURNS>
+AgsNotation *notation, AgsNote *note, gboolean use_selection_list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_remove_note_at_position</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsNotation *notation, guint x, guint y
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_get_selection</NAME>
+<RETURNS>GList * </RETURNS>
+AgsNotation *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_is_note_selected</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsNotation *notation, AgsNote *note
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_find_point</NAME>
+<RETURNS>AgsNote * </RETURNS>
+AgsNotation *notation, guint x, guint y, gboolean use_selection_list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_find_region</NAME>
+<RETURNS>GList * </RETURNS>
+AgsNotation *notation, guint x0, guint y0, guint x1, guint y1, gboolean use_selection_list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_free_selection</NAME>
+<RETURNS>void </RETURNS>
+AgsNotation *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_add_point_to_selection</NAME>
+<RETURNS>void </RETURNS>
+AgsNotation *notation, guint x, guint y, gboolean replace_current_selection
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_remove_point_from_selection</NAME>
+<RETURNS>void </RETURNS>
+AgsNotation *notation, guint x, guint y
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_add_region_to_selection</NAME>
+<RETURNS>void </RETURNS>
+AgsNotation *notation, guint x0, guint y0, guint x1, guint y1, gboolean replace_current_selection
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_remove_region_from_selection</NAME>
+<RETURNS>void </RETURNS>
+AgsNotation *notation, guint x0, guint y0, guint x1, guint y1
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_copy_selection</NAME>
+<RETURNS>xmlNodePtr </RETURNS>
+AgsNotation *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_cut_selection</NAME>
+<RETURNS>xmlNodePtr </RETURNS>
+AgsNotation *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_insert_from_clipboard</NAME>
+<RETURNS>void </RETURNS>
+AgsNotation *notation, xmlNodePtr content, gboolean reset_x_offset, guint x_offset, gboolean reset_y_offset, guint y_offset
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_get_current</NAME>
+<RETURNS>GList * </RETURNS>
+AgsNotation *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notation_new</NAME>
+<RETURNS>AgsNotation * </RETURNS>
+guint audio_channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY</NAME>
+#define AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY (ags_recall_channel_run_dummy_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_RUN_DUMMY</NAME>
+#define AGS_RECALL_CHANNEL_RUN_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY, AgsRecallChannelRunDummy))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_RUN_DUMMY_CLASS</NAME>
+#define AGS_RECALL_CHANNEL_RUN_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY, AgsRecallChannelRunDummyClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CHANNEL_RUN_DUMMY</NAME>
+#define AGS_IS_RECALL_CHANNEL_RUN_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CHANNEL_RUN_DUMMY_CLASS</NAME>
+#define AGS_IS_RECALL_CHANNEL_RUN_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_RUN_DUMMY_GET_CLASS</NAME>
+#define AGS_RECALL_CHANNEL_RUN_DUMMY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY, AgsRecallChannelRunDummyClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallChannelRunDummy</NAME>
+struct _AgsRecallChannelRunDummy
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ GType recycling_dummy_child_type;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallChannelRunDummyClass</NAME>
+struct _AgsRecallChannelRunDummyClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_channel_run_dummy_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_channel_run_dummy_new</NAME>
+<RETURNS>AgsRecallChannelRunDummy * </RETURNS>
+AgsChannel *source, GType child_type, GType recycling_dummy_child_type
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_AUDIO_RUN</NAME>
+#define AGS_TYPE_RECALL_AUDIO_RUN (ags_recall_audio_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_RUN</NAME>
+#define AGS_RECALL_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_AUDIO_RUN, AgsRecallAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_RUN_CLASS</NAME>
+#define AGS_RECALL_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_AUDIO_RUN, AgsRecallAudioRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_AUDIO_RUN</NAME>
+#define AGS_IS_RECALL_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_AUDIO_RUN_CLASS</NAME>
+#define AGS_IS_RECALL_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_RUN_GET_CLASS</NAME>
+#define AGS_RECALL_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_AUDIO_RUN, AgsRecallAudioRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallAudioRun</NAME>
+struct _AgsRecallAudioRun
+{
+ AgsRecall recall;
+
+ AgsRecallAudio *recall_audio;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallAudioRunClass</NAME>
+struct _AgsRecallAudioRunClass
+{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_audio_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_audio_run_new</NAME>
+<RETURNS>AgsRecallAudioRun * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TASK</NAME>
+#define AGS_TYPE_TASK (ags_task_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TASK</NAME>
+#define AGS_TASK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TASK, AgsTask))
+</MACRO>
+<MACRO>
+<NAME>AGS_TASK_CLASS</NAME>
+#define AGS_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TASK, AgsTaskClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TASK</NAME>
+#define AGS_IS_TASK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TASK))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TASK_CLASS</NAME>
+#define AGS_IS_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TASK))
+</MACRO>
+<MACRO>
+<NAME>AGS_TASK_GET_CLASS</NAME>
+#define AGS_TASK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TASK, AgsTaskClass)))
+</MACRO>
+<ENUM>
+<NAME>AgsTaskFlags</NAME>
+typedef enum{
+ AGS_TASK_LOCKED = 1,
+}AgsTaskFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsTask</NAME>
+struct _AgsTask
+{
+ GObject object;
+
+ guint flags;
+
+ char *name;
+
+ guint delay;
+
+ pthread_cond_t wait_sync_task_cond;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTaskClass</NAME>
+struct _AgsTaskClass
+{
+ GObjectClass object;
+
+ void (*launch)(AgsTask *task);
+
+ void (*failure)(AgsTask *task, GError *error);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_task_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_task_launch</NAME>
+<RETURNS>void </RETURNS>
+AgsTask *task
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_task_failure</NAME>
+<RETURNS>void </RETURNS>
+AgsTask *task, GError *error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_task_new</NAME>
+<RETURNS>AgsTask * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TIMESTAMP_FACTORY</NAME>
+#define AGS_TYPE_TIMESTAMP_FACTORY (ags_timestamp_factory_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_FACTORY</NAME>
+#define AGS_TIMESTAMP_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMESTAMP_FACTORY, AgsTimestampFactory))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_FACTORY_CLASS</NAME>
+#define AGS_TIMESTAMP_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TIMESTAMP_FACTORY, AgsTimestampFactoryClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMESTAMP_FACTORY</NAME>
+#define AGS_IS_TIMESTAMP_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TIMESTAMP_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMESTAMP_FACTORY_CLASS</NAME>
+#define AGS_IS_TIMESTAMP_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TIMESTAMP_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_FACTORY_GET_CLASS</NAME>
+#define AGS_TIMESTAMP_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TIMESTAMP_FACTORY, AgsTimestampFactoryClass))
+</MACRO>
+<ENUM>
+<NAME>AgsTimestampFactoryFlags</NAME>
+typedef enum{
+ AGS_TIMESTAMP_FACTORY_UNIX = 1,
+}AgsTimestampFactoryFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsTimestampFactory</NAME>
+struct _AgsTimestampFactory
+{
+ GObject object;
+
+ guint flags;
+
+ GList *timestamp;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTimestampFactoryClass</NAME>
+struct _AgsTimestampFactoryClass
+{
+ GObjectClass object;
+
+ AgsTimestamp* (*create)(AgsTimestampFactory *timestamp_factory,
+ AgsTimestamp *predecor);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_timestamp_factory_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_timestamp_factory_create</NAME>
+<RETURNS>AgsTimestamp * </RETURNS>
+AgsTimestampFactory *timestamp_factory, AgsTimestamp *predecor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_timestamp_factory_get_instance</NAME>
+<RETURNS>AgsTimestampFactory * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_timestamp_factory_new</NAME>
+<RETURNS>AgsTimestampFactory * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL</NAME>
+#define AGS_TYPE_RECALL (ags_recall_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL</NAME>
+#define AGS_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL, AgsRecall))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CLASS</NAME>
+#define AGS_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL, AgsRecallClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL</NAME>
+#define AGS_IS_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CLASS</NAME>
+#define AGS_IS_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_GET_CLASS</NAME>
+#define AGS_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL, AgsRecallClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_HANDLER</NAME>
+#define AGS_RECALL_HANDLER(handler) ((AgsRecallHandler *)(handler))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_DEFAULT_VERSION</NAME>
+#define AGS_RECALL_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_DEFAULT_BUILD_ID</NAME>
+#define AGS_RECALL_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<ENUM>
+<NAME>AgsRecallFlags</NAME>
+typedef enum{
+ AGS_RECALL_CONNECTED = 1,
+ AGS_RECALL_RUN_INITIALIZED = 1 << 1, //TODO:JK: rename to AGS_RECALL_RUN_CONNECTED
+ AGS_RECALL_TEMPLATE = 1 << 2,
+ AGS_RECALL_PLAYBACK = 1 << 3,
+ AGS_RECALL_SEQUENCER = 1 << 4,
+ AGS_RECALL_NOTATION = 1 << 5,
+ AGS_RECALL_DEFAULT_TEMPLATE = 1 << 6,
+ //TODO:JK: remove because it's useless
+ // AGS_RECALL_IS_REAL = 1 << 7,
+ AGS_RECALL_INPUT_ORIENTATED = 1 << 8,
+ AGS_RECALL_OUTPUT_ORIENTATED = 1 << 9,
+ AGS_RECALL_PERSISTENT = 1 << 10,
+ AGS_RECALL_INITIAL_RUN = 1 << 11,
+ AGS_RECALL_TERMINATING = 1 << 12,
+ AGS_RECALL_DONE = 1 << 13,
+ AGS_RECALL_REMOVE = 1 << 14,
+ AGS_RECALL_HIDE = 1 << 15,
+ AGS_RECALL_PROPAGATE_DONE = 1 << 16, // see ags_recall_real_remove
+ AGS_RECALL_PERSISTENT_PLAYBACK = 1 << 17,
+ AGS_RECALL_PERSISTENT_SEQUENCER = 1 << 18,
+ AGS_RECALL_PERSISTENT_NOTATION = 1 << 19,
+ AGS_RECALL_SKIP_DEPENDENCIES = 1 << 20,
+}AgsRecallFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsRecallNotifyDependencyMode</NAME>
+typedef enum{
+ AGS_RECALL_NOTIFY_RUN,
+ AGS_RECALL_NOTIFY_AUDIO,
+ AGS_RECALL_NOTIFY_AUDIO_RUN,
+ AGS_RECALL_NOTIFY_CHANNEL,
+ AGS_RECALL_NOTIFY_CHANNEL_RUN,
+ AGS_RECALL_NOTIFY_RECALL,
+}AgsRecallNotifyDependencyMode;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecall</NAME>
+struct _AgsRecall
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+ GObject *container; // see AgsRecallContainer
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *effect;
+ gchar *name;
+
+ gchar *xml_type;
+
+ GList *dependencies;
+
+ AgsRecallID *recall_id;
+
+ AgsRecall *parent;
+ GList *children;
+
+ GType child_type;
+ GParameter *child_parameters;
+ guint n_params;
+
+ GList *port;
+
+ GList *handlers;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallClass</NAME>
+struct _AgsRecallClass
+{
+ GObjectClass object;
+
+ void (*resolve_dependencies)(AgsRecall *recall);
+
+ void (*run_init_pre)(AgsRecall *recall);
+ void (*run_init_inter)(AgsRecall *recall);
+ void (*run_init_post)(AgsRecall *recall);
+
+ void (*run_pre)(AgsRecall *recall);
+ void (*run_inter)(AgsRecall *recall);
+ void (*run_post)(AgsRecall *recall);
+
+ void (*stop_persistent)(AgsRecall *recall);
+ void (*done)(AgsRecall *recall);
+
+ void (*cancel)(AgsRecall *recall);
+ void (*remove)(AgsRecall *recall);
+
+ AgsRecall* (*duplicate)(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *params); // if a sequencer is linked with a sequencer the AgsRecall's with the flag AGS_RECALL_SOURCE must be duplicated
+
+ void (*notify_dependency)(AgsRecall *recall, guint dependency, gboolean increase);
+
+ void (*child_added)(AgsRecall *recall, AgsRecall *child);
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallHandler</NAME>
+struct _AgsRecallHandler
+{
+ const gchar *signal_name;
+ GCallback callback;
+ GObject *data;
+ gulong handler;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_set_flags</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, guint flags
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_resolve_dependencies</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *reall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_child_added</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *parent, AgsRecall *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_run_init_pre</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_run_init_inter</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_run_init_post</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_run_pre</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_run_inter</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_run_post</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_stop_persistent</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_done</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_remove</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_is_done</NAME>
+<RETURNS>gboolean </RETURNS>
+GList *recalls, GObject *recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_duplicate</NAME>
+<RETURNS>AgsRecall * </RETURNS>
+AgsRecall *recall, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_set_recall_id</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_set_devout_recursive</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_notify_dependency</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, guint dependency, gint count
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_add_dependency</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecallDependency *dependency
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_remove_dependency</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecall *template
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_get_dependencies</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_remove_child</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecall *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_add_child</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecall *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_get_children</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_set_effect</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, char *effect
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_find_by_effect</NAME>
+<RETURNS>GList * </RETURNS>
+GList *list, AgsRecallID *recall_id, char *effect
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_find_type</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, GType type
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_find_template</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_template_find_type</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, GType type
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_find_type_with_recycling_container</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, GType type, GObject *recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_find_recycling_container</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, GObject *recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_find_provider</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, GObject *provider
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_template_find_provider</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, GObject *provider
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_find_provider_with_recycling_container</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, GObject *provider, GObject *recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_run_init</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, guint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_handler_alloc</NAME>
+<RETURNS>AgsRecallHandler * </RETURNS>
+const gchar *signal_name, GCallback callback, GObject *data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_add_handler</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecallHandler *recall_handler
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_remove_handler</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecallHandler *recall_handler
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_new</NAME>
+<RETURNS>AgsRecall * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_CHANNEL</NAME>
+#define AGS_TYPE_RECALL_CHANNEL (ags_recall_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL</NAME>
+#define AGS_RECALL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CHANNEL, AgsRecallChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_CLASS</NAME>
+#define AGS_RECALL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CHANNEL, AgsRecallChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CHANNEL</NAME>
+#define AGS_IS_RECALL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CHANNEL_CLASS</NAME>
+#define AGS_IS_RECALL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_GET_CLASS</NAME>
+#define AGS_RECALL_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_CHANNEL, AgsRecallChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallChannel</NAME>
+struct _AgsRecallChannel
+{
+ AgsRecall recall;
+
+ AgsChannel *destination;
+ AgsChannel *source;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallChannelClass</NAME>
+struct _AgsRecallChannelClass
+{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_channel_find_channel</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall_channel, AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_channel_new</NAME>
+<RETURNS>AgsRecallChannel * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_sin</NAME>
+<RETURNS>void </RETURNS>
+AgsDevout *devout, signed short *buffer, guint offset, guint freq, guint phase, guint length, double volume
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_saw</NAME>
+<RETURNS>void </RETURNS>
+AgsDevout *devout, signed short *buffer, guint offset, guint freq, guint phase, guint length, double volume
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_triangle</NAME>
+<RETURNS>void </RETURNS>
+AgsDevout *devout, signed short *buffer, guint offset, guint freq, guint phase, guint length, double volume
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_square</NAME>
+<RETURNS>void </RETURNS>
+AgsDevout *devout, signed short *buffer, guint offset, guint freq, guint phase, guint length, double volume
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_AUDIO</NAME>
+#define AGS_TYPE_RECALL_AUDIO (ags_recall_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO</NAME>
+#define AGS_RECALL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_AUDIO, AgsRecallAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_CLASS</NAME>
+#define AGS_RECALL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_AUDIO, AgsRecallAudioClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_AUDIO</NAME>
+#define AGS_IS_RECALL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_AUDIO_CLASS</NAME>
+#define AGS_IS_RECALL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_GET_CLASS</NAME>
+#define AGS_RECALL_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_AUDIO, AgsRecallAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallAudio</NAME>
+struct _AgsRecallAudio
+{
+ AgsRecall recall;
+
+ AgsAudio *audio;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallAudioClass</NAME>
+struct _AgsRecallAudioClass
+{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_audio_new</NAME>
+<RETURNS>AgsRecallAudio * </RETURNS>
+AgsAudio *audio
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_OUTPUT</NAME>
+#define AGS_TYPE_OUTPUT (ags_output_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_OUTPUT</NAME>
+#define AGS_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OUTPUT, AgsOutput))
+</MACRO>
+<MACRO>
+<NAME>AGS_OUTPUT_CLASS</NAME>
+#define AGS_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OUTPUT, AgsOutputClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OUTPUT</NAME>
+#define AGS_IS_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OUTPUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OUTPUT_CLASS</NAME>
+#define AGS_IS_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_OUTPUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_OUTPUT_GET_CLASS</NAME>
+#define AGS_OUTPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_OUTPUT, AgsOutputClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsOutput</NAME>
+struct _AgsOutput
+{
+ AgsChannel channel;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsOutputClass</NAME>
+struct _AgsOutputClass
+{
+ AgsChannelClass channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_output_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_output_find_first_input_recycling</NAME>
+<RETURNS>AgsRecycling * </RETURNS>
+AgsOutput *output
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_output_find_last_input_recycling</NAME>
+<RETURNS>AgsRecycling * </RETURNS>
+AgsOutput *output
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_output_new</NAME>
+<RETURNS>AgsOutput * </RETURNS>
+GObject *audio
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_RECALL_AUDIO_SIGNAL (ags_recall_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_SIGNAL</NAME>
+#define AGS_RECALL_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_AUDIO_SIGNAL, AgsRecallAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_RECALL_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_AUDIO_SIGNAL, AgsRecallAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_AUDIO_SIGNAL</NAME>
+#define AGS_IS_RECALL_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_RECALL_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_RECALL_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_AUDIO_SIGNAL, AgsRecallAudioSignalClass))
+</MACRO>
+<ENUM>
+<NAME>AgsRecallAudioSignalFlags</NAME>
+typedef enum{
+ AGS_RECALL_AUDIO_SIGNAL_INITIAL_RUN = 1,
+}AgsRecallAudioSignalFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecallAudioSignal</NAME>
+struct _AgsRecallAudioSignal
+{
+ AgsRecall recall;
+
+ guint flags;
+
+ guint audio_channel;
+
+ AgsAudioSignal *destination;
+
+ AgsAudioSignal *source;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallAudioSignalClass</NAME>
+struct _AgsRecallAudioSignalClass
+{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_audio_signal_new</NAME>
+<RETURNS>AgsRecallAudioSignal * </RETURNS>
+AgsAudioSignal *destination, AgsAudioSignal *source, AgsDevout *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_ID</NAME>
+#define AGS_TYPE_RECALL_ID (ags_recall_id_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_ID</NAME>
+#define AGS_RECALL_ID(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AGS_TYPE_RECALL_ID, AgsRecallID))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_ID_CLASS</NAME>
+#define AGS_RECALL_ID_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), AGS_TYPE_RECALL_ID, AgsRecallIDClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_ID</NAME>
+#define AGS_IS_RECALL_ID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_ID))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_ID_CLASS</NAME>
+#define AGS_IS_RECALL_ID_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_ID))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_ID_GET_CLASS</NAME>
+#define AGS_RECALL_ID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_ID, AgsRecallIDClass))
+</MACRO>
+<ENUM>
+<NAME>AgsRecallIDFlags</NAME>
+typedef enum{
+ AGS_RECALL_ID_PLAYBACK = 1,
+ AGS_RECALL_ID_SEQUENCER = 1 << 1,
+ AGS_RECALL_ID_NOTATION = 1 << 2,
+ AGS_RECALL_ID_DUPLICATE = 1 << 3,
+ AGS_RECALL_ID_RESOLVE = 1 << 4,
+ AGS_RECALL_ID_INIT_PRE = 1 << 5,
+ AGS_RECALL_ID_INIT_INTER = 1 << 6,
+ AGS_RECALL_ID_INIT_POST = 1 << 7,
+ AGS_RECALL_ID_PRE = 1 << 8,
+ AGS_RECALL_ID_INTER = 1 << 9,
+ AGS_RECALL_ID_POST = 1 << 10,
+ AGS_RECALL_ID_CANCEL = 1 << 11,
+}AgsRecallIDFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecallID</NAME>
+struct _AgsRecallID
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *recycling;
+ AgsRecyclingContainer *recycling_container;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallIDClass</NAME>
+struct _AgsRecallIDClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_id_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_id_get_run_stage</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsRecallID *id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_id_set_run_stage</NAME>
+<RETURNS>void </RETURNS>
+AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_id_unset_run_stage</NAME>
+<RETURNS>void </RETURNS>
+AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_id_find_recycling_container</NAME>
+<RETURNS>AgsRecallID * </RETURNS>
+GList *recall_id_list, AgsRecyclingContainer *recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_id_find_parent_recycling_container</NAME>
+<RETURNS>AgsRecallID * </RETURNS>
+GList *recall_id_list, AgsRecyclingContainer *parent_recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_id_add</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall_id_list, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_id_new</NAME>
+<RETURNS>AgsRecallID * </RETURNS>
+AgsRecycling *recycling
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_RECYCLING</NAME>
+#define AGS_TYPE_RECALL_RECYCLING (ags_recall_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_RECYCLING</NAME>
+#define AGS_RECALL_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_RECYCLING, AgsRecallRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_RECYCLING_CLASS</NAME>
+#define AGS_RECALL_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_RECYCLING, AgsRecallRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_RECYCLING</NAME>
+#define AGS_IS_RECALL_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_RECYCLING_CLASS</NAME>
+#define AGS_IS_RECALL_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_RECYCLING_GET_CLASS</NAME>
+#define AGS_RECALL_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_RECYCLING, AgsRecallRecyclingClass))
+</MACRO>
+<ENUM>
+<NAME>AgsRecallRecyclingFlags</NAME>
+typedef enum{
+ AGS_RECALL_RECYCLING_GARBAGE_COLLECTOR = 1,
+ AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION = 1 << 1,
+ AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE = 1 << 2,
+ AGS_RECALL_RECYCLING_CREATE_DESTINATION_ON_MAP_SOURCE = 1 << 3,
+}AgsRecallRecyclingFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecallRecycling</NAME>
+struct _AgsRecallRecycling
+{
+ AgsRecall recall;
+
+ guint flags;
+
+ guint audio_channel;
+
+ AgsRecycling *destination;
+ gulong destination_add_audio_signal_handler;
+ gulong destination_remove_audio_signal_handler;
+
+ AgsRecycling *source;
+ gulong source_add_audio_signal_handler;
+ gulong source_remove_audio_signal_handler;
+
+ AgsAudioSignal *child_destination;
+ GList *child_source;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallRecyclingClass</NAME>
+struct _AgsRecallRecyclingClass
+{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_recycling_get_child_source</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecallRecycling *recall_recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_recycling_new</NAME>
+<RETURNS>AgsRecallRecycling * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PATTERN</NAME>
+#define AGS_TYPE_PATTERN (ags_pattern_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PATTERN</NAME>
+#define AGS_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PATTERN, AgsPattern))
+</MACRO>
+<MACRO>
+<NAME>AGS_PATTERN_CLASS</NAME>
+#define AGS_PATTERN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PATTERN, AgsPatternClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PATTERN</NAME>
+#define AGS_IS_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PATTERN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PATTERN_CLASS</NAME>
+#define AGS_IS_PATTERN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PATTERN))
+</MACRO>
+<MACRO>
+<NAME>AGS_PATTERN_GET_CLASS</NAME>
+#define AGS_PATTERN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PATTERN, AgsPatternClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPattern</NAME>
+struct _AgsPattern
+{
+ GObject object;
+
+ GObject *timestamp;
+
+ guint dim[3];
+ guint ***pattern;
+
+ GObject *port;
+
+ guint i;
+ guint j;
+ guint bit;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPatternClass</NAME>
+struct _AgsPatternClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_pattern_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pattern_get_by_timestamp</NAME>
+<RETURNS>AgsPattern * </RETURNS>
+GList *list, GObject *timestamp
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pattern_set_dim</NAME>
+<RETURNS>void </RETURNS>
+AgsPattern *pattern, guint dim0, guint dim1, guint lenght
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pattern_get_bit</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPattern *pattern, guint i, guint j, guint bit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pattern_toggle_bit</NAME>
+<RETURNS>void </RETURNS>
+AgsPattern *pattern, guint i, guint j, guint bit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pattern_new</NAME>
+<RETURNS>AgsPattern * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DEVOUT</NAME>
+#define AGS_TYPE_DEVOUT (ags_devout_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT</NAME>
+#define AGS_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DEVOUT, AgsDevout))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_CLASS</NAME>
+#define AGS_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DEVOUT, AgsDevout))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DEVOUT</NAME>
+#define AGS_IS_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DEVOUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DEVOUT_CLASS</NAME>
+#define AGS_IS_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DEVOUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_GET_CLASS</NAME>
+#define AGS_DEVOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DEVOUT, AgsDevoutClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_PLAY_DOMAIN</NAME>
+#define AGS_DEVOUT_PLAY_DOMAIN(ptr) ((AgsDevoutPlayDomain *)(ptr))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_PLAY</NAME>
+#define AGS_DEVOUT_PLAY(ptr) ((AgsDevoutPlay *)(ptr))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_SAMPLERATE</NAME>
+#define AGS_DEVOUT_DEFAULT_SAMPLERATE (44100.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_FORMAT</NAME>
+#define AGS_DEVOUT_DEFAULT_FORMAT (16)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_BUFFER_SIZE</NAME>
+#define AGS_DEVOUT_DEFAULT_BUFFER_SIZE (944)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_BPM</NAME>
+#define AGS_DEVOUT_DEFAULT_BPM (120.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_JIFFIE</NAME>
+#define AGS_DEVOUT_DEFAULT_JIFFIE ((double) AGS_DEVOUT_DEFAULT_SAMPLERATE / (double) AGS_DEVOUT_DEFAULT_BUFFER_SIZE)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_TACT</NAME>
+#define AGS_DEVOUT_DEFAULT_TACT (1.0 / 1.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_TACT_JIFFIE</NAME>
+#define AGS_DEVOUT_DEFAULT_TACT_JIFFIE (60.0 / AGS_DEVOUT_DEFAULT_BPM * AGS_DEVOUT_DEFAULT_TACT)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_TACTRATE</NAME>
+#define AGS_DEVOUT_DEFAULT_TACTRATE (1.0 / AGS_DEVOUT_DEFAULT_TACT_JIFFIE)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_SCALE</NAME>
+#define AGS_DEVOUT_DEFAULT_SCALE (1.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_DEFAULT_DELAY</NAME>
+#define AGS_DEVOUT_DEFAULT_DELAY (AGS_DEVOUT_DEFAULT_JIFFIE * (60.0 / AGS_DEVOUT_DEFAULT_BPM))
+</MACRO>
+<ENUM>
+<NAME>AgsDevoutFlags</NAME>
+typedef enum
+{
+ AGS_DEVOUT_BUFFER0 = 1,
+ AGS_DEVOUT_BUFFER1 = 1 << 1,
+ AGS_DEVOUT_BUFFER2 = 1 << 2,
+ AGS_DEVOUT_BUFFER3 = 1 << 3,
+
+ AGS_DEVOUT_ATTACK_FIRST = 1 << 4,
+
+ AGS_DEVOUT_PLAY = 1 << 5,
+
+ AGS_DEVOUT_LIBAO = 1 << 6,
+ AGS_DEVOUT_OSS = 1 << 7,
+ AGS_DEVOUT_ALSA = 1 << 8,
+
+ AGS_DEVOUT_SHUTDOWN = 1 << 9,
+ AGS_DEVOUT_START_PLAY = 1 << 10,
+
+ AGS_DEVOUT_NONBLOCKING = 1 << 11,
+
+ AGS_DEVOUT_TIMING_SET_0 = 1 << 12,
+ AGS_DEVOUT_TIMING_SET_1 = 1 << 13,
+}AgsDevoutFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsDevoutPlayFlags</NAME>
+typedef enum
+{
+ AGS_DEVOUT_PLAY_DONE = 1,
+ AGS_DEVOUT_PLAY_REMOVE = 1 << 1,
+ AGS_DEVOUT_PLAY_CHANNEL = 1 << 2,
+ AGS_DEVOUT_PLAY_PAD = 1 << 3,
+ AGS_DEVOUT_PLAY_AUDIO = 1 << 4,
+ AGS_DEVOUT_PLAY_PLAYBACK = 1 << 5,
+ AGS_DEVOUT_PLAY_SEQUENCER = 1 << 6,
+ AGS_DEVOUT_PLAY_NOTATION = 1 << 7,
+ AGS_DEVOUT_PLAY_SUPER_THREADED = 1 << 8,
+}AgsDevoutPlayFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsDevoutResolutionMode</NAME>
+typedef enum{
+ AGS_DEVOUT_RESOLUTION_8_BIT = 8,
+ AGS_DEVOUT_RESOLUTION_16_BIT = 16,
+ AGS_DEVOUT_RESOLUTION_24_BIT = 24,
+ AGS_DEVOUT_RESOLUTION_32_BIT = 32,
+ AGS_DEVOUT_RESOLUTION_64_BIT = 64,
+}AgsDevoutResolutionMode;
+</ENUM>
+<MACRO>
+<NAME>AGS_DEVOUT_ERROR</NAME>
+#define AGS_DEVOUT_ERROR (ags_devout_error_quark())
+</MACRO>
+<ENUM>
+<NAME>AgsDevoutError</NAME>
+typedef enum{
+ AGS_DEVOUT_ERROR_LOCKED_SOUNDCARD,
+}AgsDevoutError;
+</ENUM>
+<STRUCT>
+<NAME>AgsDevout</NAME>
+struct _AgsDevout
+{
+ GObject object;
+
+ guint flags;
+
+ guint dsp_channels;
+ guint pcm_channels;
+ guint bits;
+ guint buffer_size;
+ guint frequency; // sample_rate
+
+ signed short** buffer;
+
+ double bpm; // beats per minute
+
+ gdouble *delay; // count of tics within buffer size
+ guint *attack; // where currently tic resides in the stream's offset, measured in 1/64 of bpm
+
+ gdouble delay_counter; // next time attack changeing when delay_counter == delay
+ guint tic_counter;
+
+ union{
+ struct _AgsAO{
+ ao_device *device;
+ ao_sample_format *format;
+ int driver_ao;
+ }ao;
+ struct _AgsOss{
+ int device_fd;
+ char *device;
+ }oss;
+ struct _AgsAlsa{
+ char *device;
+ int rc;
+ snd_pcm_t *handle;
+ snd_async_handler_t *ahandler;
+ snd_pcm_hw_params_t *params;
+ }alsa;
+ }out;
+
+ GObject *ags_main;
+
+ GList *audio;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDevoutClass</NAME>
+struct _AgsDevoutClass
+{
+ GObjectClass object;
+
+ void (*play_init)(AgsDevout *devout,
+ GError **error);
+ void (*play)(AgsDevout *devout,
+ GError **error);
+ void (*stop)(AgsDevout *devout);
+
+ void (*tic)(AgsDevout *devout);
+
+ void (*note_offset_changed)(AgsDevout *devout, guint note_offset);
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDevoutPlayDomain</NAME>
+struct _AgsDevoutPlayDomain
+{
+ GObject *domain;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+
+ GList *devout_play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDevoutPlay</NAME>
+struct _AgsDevoutPlay
+{
+ guint flags;
+
+ AgsIteratorThread **iterator_thread;
+
+ GObject *source;
+ guint audio_channel;
+
+ AgsRecallID **recall_id;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_devout_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_error_quark</NAME>
+<RETURNS>GQuark </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_play_domain_alloc</NAME>
+<RETURNS>AgsDevoutPlayDomain * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_play_domain_free</NAME>
+<RETURNS>void </RETURNS>
+AgsDevoutPlayDomain *devout_play_domain
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_play_alloc</NAME>
+<RETURNS>AgsDevoutPlay * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_play_free</NAME>
+<RETURNS>void </RETURNS>
+AgsDevoutPlay *devout_play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_play_find_source</NAME>
+<RETURNS>AgsDevoutPlay * </RETURNS>
+GList *devout_play, GObject *source
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_list_cards</NAME>
+<RETURNS>void </RETURNS>
+GList **card_id, GList **card_name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_pcm_info</NAME>
+<RETURNS>void </RETURNS>
+char *card_id, guint *channels_min, guint *channels_max, guint *rate_min, guint *rate_max, guint *buffer_size_min, guint *buffer_size_max, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_tic</NAME>
+<RETURNS>void </RETURNS>
+AgsDevout *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_note_offset_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsDevout *devout, guint note_offset
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_new</NAME>
+<RETURNS>AgsDevout * </RETURNS>
+GObject *ags_main
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LIBAO</NAME>
+#define AGS_TYPE_LIBAO (ags_libao_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO</NAME>
+#define AGS_LIBAO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LIBAO, AgsLibao))
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_CLASS</NAME>
+#define AGS_LIBAO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LIBAO, AgsLibao))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LIBAO</NAME>
+#define AGS_IS_LIBAO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LIBAO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LIBAO_CLASS</NAME>
+#define AGS_IS_LIBAO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LIBAO))
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_GET_CLASS</NAME>
+#define AGS_LIBAO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_LIBAO, AgsLibaoClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_PLAY_DOMAIN</NAME>
+#define AGS_LIBAO_PLAY_DOMAIN(ptr) ((AgsLibaoPlayDomain *)(ptr))
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_PLAY</NAME>
+#define AGS_LIBAO_PLAY(ptr) ((AgsLibaoPlay *)(ptr))
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_SAMPLERATE</NAME>
+#define AGS_LIBAO_DEFAULT_SAMPLERATE (44100.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_BUFFER_SIZE</NAME>
+#define AGS_LIBAO_DEFAULT_BUFFER_SIZE (940)
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_BPM</NAME>
+#define AGS_LIBAO_DEFAULT_BPM (120.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_JIFFIE</NAME>
+#define AGS_LIBAO_DEFAULT_JIFFIE ((double) AGS_LIBAO_DEFAULT_SAMPLERATE / (double) AGS_LIBAO_DEFAULT_BUFFER_SIZE)
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_TACT</NAME>
+#define AGS_LIBAO_DEFAULT_TACT (1.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_TACT_JIFFIE</NAME>
+#define AGS_LIBAO_DEFAULT_TACT_JIFFIE (60.0 / AGS_LIBAO_DEFAULT_BPM * AGS_LIBAO_DEFAULT_TACT)
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_TACTRATE</NAME>
+#define AGS_LIBAO_DEFAULT_TACTRATE (1.0 / AGS_LIBAO_DEFAULT_TACT_JIFFIE)
+</MACRO>
+<MACRO>
+<NAME>AGS_LIBAO_DEFAULT_DELAY</NAME>
+#define AGS_LIBAO_DEFAULT_DELAY (AGS_LIBAO_DEFAULT_JIFFIE / AGS_LIBAO_DEFAULT_TACTRATE)
+</MACRO>
+<ENUM>
+<NAME>AgsLibaoFlags</NAME>
+typedef enum
+ {
+ AGS_LIBAO_BUFFER0 = 1,
+ AGS_LIBAO_BUFFER1 = 1 << 1,
+ AGS_LIBAO_BUFFER2 = 1 << 2,
+ AGS_LIBAO_BUFFER3 = 1 << 3,
+
+ AGS_LIBAO_ATTACK_FIRST = 1 << 4,
+
+ AGS_LIBAO_PLAY = 1 << 5,
+
+ AGS_LIBAO_LIBAO = 1 << 6,
+ AGS_LIBAO_OSS = 1 << 7,
+ AGS_LIBAO_ALSA = 1 << 8,
+
+ AGS_LIBAO_SHUTDOWN = 1 << 9,
+ AGS_LIBAO_START_PLAY = 1 << 10,
+
+ AGS_LIBAO_NONBLOCKING = 1 << 11,
+
+ AGS_LIBAO_TIMING_SET_0 = 1 << 12,
+ AGS_LIBAO_TIMING_SET_1 = 1 << 13,
+ }AgsLibaoFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsLibaoPlayFlags</NAME>
+typedef enum
+ {
+ AGS_LIBAO_PLAY_DONE = 1,
+ AGS_LIBAO_PLAY_REMOVE = 1 << 1,
+ AGS_LIBAO_PLAY_CHANNEL = 1 << 2,
+ AGS_LIBAO_PLAY_PAD = 1 << 3,
+ AGS_LIBAO_PLAY_AUDIO = 1 << 4,
+ AGS_LIBAO_PLAY_PLAYBACK = 1 << 5,
+ AGS_LIBAO_PLAY_SEQUENCER = 1 << 6,
+ AGS_LIBAO_PLAY_NOTATION = 1 << 7,
+ AGS_LIBAO_PLAY_SUPER_THREADED = 1 << 8,
+ }AgsLibaoPlayFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsLibaoResolutionMode</NAME>
+typedef enum{
+ AGS_LIBAO_RESOLUTION_8_BIT = 8,
+ AGS_LIBAO_RESOLUTION_16_BIT = 16,
+ AGS_LIBAO_RESOLUTION_24_BIT = 24,
+ AGS_LIBAO_RESOLUTION_32_BIT = 32,
+ AGS_LIBAO_RESOLUTION_64_BIT = 64,
+}AgsLibaoResolutionMode;
+</ENUM>
+<MACRO>
+<NAME>AGS_LIBAO_ERROR</NAME>
+#define AGS_LIBAO_ERROR (ags_libao_error_quark())
+</MACRO>
+<ENUM>
+<NAME>AgsLibaoError</NAME>
+typedef enum{
+ AGS_LIBAO_ERROR_LOCKED_SOUNDCARD,
+}AgsLibaoError;
+</ENUM>
+<STRUCT>
+<NAME>AgsLibao</NAME>
+struct _AgsLibao
+{
+ GObject object;
+
+ guint flags;
+
+ guint dsp_channels;
+ guint pcm_channels;
+ guint bits;
+ guint buffer_size;
+ guint frequency; // sample_rate
+
+ signed short** buffer;
+
+ double bpm; // beats per minute
+
+ gdouble *delay; // count of tics within buffer size
+ guint *attack; // where currently tic resides in the stream's offset, measured in 1/64 of bpm
+
+ gdouble delay_counter; // next time attack changeing when delay_counter == delay
+ guint tic_counter;
+
+ union{
+ struct _AgsAO{
+ ao_device *device;
+ ao_sample_format *format;
+ int driver_ao;
+ }ao;
+ struct _AgsOss{
+ int device_fd;
+ char *device;
+ }oss;
+ struct _AgsAlsa{
+ char *device;
+ int rc;
+ snd_pcm_t *handle;
+ snd_async_handler_t *ahandler;
+ snd_pcm_hw_params_t *params;
+ }alsa;
+ }out;
+
+ GObject *ags_main;
+
+ GList *audio;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLibaoClass</NAME>
+struct _AgsLibaoClass
+{
+ GObjectClass object;
+
+ void (*play_init)(AgsLibao *libao,
+ GError **error);
+ void (*play)(AgsLibao *libao,
+ GError **error);
+ void (*stop)(AgsLibao *libao);
+
+ void (*tic)(AgsLibao *libao);
+
+ void (*note_offset_changed)(AgsLibao *libao, guint note_offset);
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLibaoPlayDomain</NAME>
+struct _AgsLibaoPlayDomain
+{
+ GObject *domain;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+
+ GList *libao_play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLibaoPlay</NAME>
+struct _AgsLibaoPlay
+{
+ guint flags;
+
+ AgsIteratorThread **iterator_thread;
+
+ GObject *source;
+ guint audio_channel;
+
+ AgsRecallID *recall_id[3];
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_libao_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_error_quark</NAME>
+<RETURNS>GQuark </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_play_domain_alloc</NAME>
+<RETURNS>AgsLibaoPlayDomain * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_play_domain_free</NAME>
+<RETURNS>void </RETURNS>
+AgsLibaoPlayDomain *libao_play_domain
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_play_alloc</NAME>
+<RETURNS>AgsLibaoPlay * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_play_free</NAME>
+<RETURNS>void </RETURNS>
+AgsLibaoPlay *libao_play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_list_cards</NAME>
+<RETURNS>void </RETURNS>
+GList **card_id, GList **card_name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_pcm_info</NAME>
+<RETURNS>void </RETURNS>
+char *card_id, guint *channels_min, guint *channels_max, guint *rate_min, guint *rate_max, guint *buffer_size_min, guint *buffer_size_max, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_tic</NAME>
+<RETURNS>void </RETURNS>
+AgsLibao *libao
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_note_offset_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsLibao *libao, guint note_offset
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_libao_new</NAME>
+<RETURNS>AgsLibao * </RETURNS>
+GObject *ags_main
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_GARBAGE_COLLECTOR</NAME>
+#define AGS_TYPE_GARBAGE_COLLECTOR (ags_garbage_collector_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_GARBAGE_COLLECTOR</NAME>
+#define AGS_GARBAGE_COLLECTOR(obj) ((AgsGarbage_Collector*) G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_GARBAGE_COLLECTOR, AgsGarbageCollector))
+</MACRO>
+<MACRO>
+<NAME>AGS_GARBAGE_COLLECTOR_CLASS</NAME>
+#define AGS_GARBAGE_COLLECTOR_CLASS(class) ((AgsGarbage_CollectorClass*) G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GARBAGE_COLLECTOR, AgsGarbageCollectorClass))
+</MACRO>
+<ENUM>
+<NAME>AgsGarbageCollectorFlags</NAME>
+typedef enum{
+ AGS_GARBAGE_COLLECTOR_RUN = 1, // cancel flag of ags_garbage_collector run
+ AGS_GARBAGE_COLLECTOR_CANCEL_RUN = 1 << 1, // used by ags_garbage_collector_remove to remove the current (stopped) AgsRecycling while ags_garbage_collector_run is running
+}AgsGarbageCollectorFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsGarbageCollector</NAME>
+struct _AgsGarbageCollector
+{
+ GObject object;
+
+ guint32 flags;
+
+ GObject *devout;
+
+ GList *list; // data of type AgsRecycling
+ GList *stopped;
+ GList *start;
+ GList *end;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsGarbageCollectorClass</NAME>
+struct _AgsGarbageCollectorClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_garbage_collector_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_garbage_collector_add</NAME>
+<RETURNS>void </RETURNS>
+AgsGarbageCollector *garbage_collector, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_garbage_collector_remove</NAME>
+<RETURNS>void </RETURNS>
+AgsGarbageCollector *garbage_collector, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_garbage_collector_run</NAME>
+<RETURNS>void </RETURNS>
+AgsGarbageCollector *garbage_collector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_garbage_collector_new</NAME>
+<RETURNS>AgsGarbageCollector * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUDIO</NAME>
+#define AGS_TYPE_AUDIO (ags_audio_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO</NAME>
+#define AGS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO, AgsAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_CLASS</NAME>
+#define AGS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO, AgsAudioClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO</NAME>
+#define AGS_IS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_CLASS</NAME>
+#define AGS_IS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_GET_CLASS</NAME>
+#define AGS_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO, AgsAudioClass))
+</MACRO>
+<ENUM>
+<NAME>AgsAudioFlags</NAME>
+typedef enum{
+ AGS_AUDIO_OUTPUT_HAS_RECYCLING = 1,
+ AGS_AUDIO_INPUT_HAS_RECYCLING = 1 << 1,
+ AGS_AUDIO_INPUT_TAKES_FILE = 1 << 2,
+ AGS_AUDIO_HAS_NOTATION = 1 << 3,
+ AGS_AUDIO_SYNC = 1 << 4, // can be combined with below
+ AGS_AUDIO_ASYNC = 1 << 5,
+ AGS_AUDIO_RUNNING = 1 << 6,
+ AGS_AUDIO_PLAYING = 1 << 7,
+ AGS_AUDIO_NOTATION_DEFAULT = 1 << 8,
+}AgsAudioFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsAudio</NAME>
+struct _AgsAudio
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+ guint level;
+
+ guint sequence_length;
+ guint audio_channels;
+ guint frequence;
+
+ guint output_pads;
+ guint output_lines;
+
+ guint input_pads;
+ guint input_lines;
+
+ AgsChannel *output;
+ AgsChannel *input;
+
+ gpointer devout_play_domain;
+
+ GList *notation;
+
+ GList *recall_id;
+
+ GList *container;
+
+ GList *recall;
+ GList *play;
+
+ GList *recall_remove; //TODO:JK: verify deprecation
+ GList *play_remove; //TODO:JK: verify deprecation
+
+ GtkWidget *machine;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAudioClass</NAME>
+struct _AgsAudioClass
+{
+ GObjectClass object;
+
+ void (*set_audio_channels)(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old);
+ void (*set_pads)(AgsAudio *audio,
+ GType type,
+ guint pads, guint pads_old);
+
+ AgsRecallID* (*init_run)(AgsAudio *audio);
+ void (*tact)(AgsAudio *audio, AgsRecallID *recall_id);
+ void (*done)(AgsAudio *audio, AgsRecallID *recall_id);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_set_flags</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, guint flags
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_unset_flags</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, guint flags
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_set_audio_channels</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, guint audio_channels
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_set_pads</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GType type, guint pads
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_init_run</NAME>
+<RETURNS>AgsRecallID * </RETURNS>
+AgsAudio *audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_tact</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_done</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_set_sequence_length</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, guint sequence_length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_set_devout</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_add_recall_id</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GObject *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_remove_recall_id</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GObject *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_add_recall_container</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GObject *recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_remove_recall_container</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GObject *recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_add_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GObject *recall, gboolean play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_remove_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GObject *recall, gboolean play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_recall_change_state</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, gboolean enable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_duplicate_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_init_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, gint stage, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_resolve_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_is_playing</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsAudio *audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_play</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_recursive_play_init</NAME>
+<RETURNS>GList * </RETURNS>
+AgsAudio *audio, gboolean playback, gboolean sequencer, gboolean notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_open_files</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GSList *filenames, gboolean overwrite_channels, gboolean create_channels
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_new</NAME>
+<RETURNS>AgsAudio * </RETURNS>
+
+</FUNCTION>
+<ENUM>
+<NAME>AgsChannelIterFlags</NAME>
+typedef enum{
+ AGS_CHANNEL_ITER_LEVEL_STRICT,
+ AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_LEAFES,
+ AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_ROOT,
+ AGS_CHANNEL_ITER_DIRECTION_LEAFES_TO_ROOT,
+ AGS_CHANNEL_ITER_DIRECTION_ROOT_TO_LEAFES,
+}AgsChannelIterFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsChannelIter</NAME>
+struct _AgsChannelIter
+{
+ AgsChannel *current_start;
+
+ AgsChannelIter *parent;
+ GList *children;
+ AgsChannelIter *current_iter;
+
+ AgsChannel *current;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_channel_iter_alloc</NAME>
+<RETURNS>AgsChannelIter * </RETURNS>
+AgsChannel *start
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_iter_free</NAME>
+<RETURNS>void </RETURNS>
+AgsChannelIter *iter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_iter_prev</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannelIter *iter, guint mode
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_iter_next</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannelIter *iter, guint mode
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_LADSPA_RUN</NAME>
+#define AGS_TYPE_RECALL_LADSPA_RUN (ags_recall_ladspa_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_LADSPA_RUN</NAME>
+#define AGS_RECALL_LADSPA_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_LADSPA_RUN, AgsRecallLadspaRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_LADSPA_RUN_CLASS</NAME>
+#define AGS_RECALL_LADSPA_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_LADSPA_RUN, AgsRecallLadspaRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_LADSPA_RUN</NAME>
+#define AGS_IS_RECALL_LADSPA_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_LADSPA_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_LADSPA_RUN_CLASS</NAME>
+#define AGS_IS_RECALL_LADSPA_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_LADSPA_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_LADSPA_RUN_GET_CLASS</NAME>
+#define AGS_RECALL_LADSPA_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_LADSPA_RUN, AgsRecallLadspaRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallLadspaRun</NAME>
+struct _AgsRecallLadspaRun
+{
+ AgsRecallAudioSignal recall_audio_signal;
+
+ LADSPA_Data *input;
+ LADSPA_Data *output;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallLadspaRunClass</NAME>
+struct _AgsRecallLadspaRunClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_ladspa_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_ladspa_run_new</NAME>
+<RETURNS>AgsRecallLadspaRun * </RETURNS>
+AgsAudioSignal *audio_signal
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_CHANNEL_RUN</NAME>
+#define AGS_TYPE_RECALL_CHANNEL_RUN (ags_recall_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_RUN</NAME>
+#define AGS_RECALL_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CHANNEL_RUN, AgsRecallChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_RUN_CLASS</NAME>
+#define AGS_RECALL_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CHANNEL_RUN, AgsRecallChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CHANNEL_RUN</NAME>
+#define AGS_IS_RECALL_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_RECALL_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_RECALL_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_CHANNEL_RUN, AgsRecallChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallChannelRun</NAME>
+struct _AgsRecallChannelRun
+{
+ AgsRecall recall;
+
+ guint audio_channel;
+
+ AgsRecallChannel *recall_channel;
+ AgsRecallAudioRun *recall_audio_run;
+
+ AgsChannel *destination;
+ gulong destination_recycling_changed_handler;
+ gulong changed_output_handler;
+
+ AgsChannel *source;
+ gulong source_recycling_changed_handler;
+
+ guint run_order;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallChannelRunClass</NAME>
+struct _AgsRecallChannelRunClass
+{
+ AgsRecallClass recall;
+
+ void (*run_order_changed)(AgsRecallChannelRun *recall_channel_run, guint nth_run);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_channel_run_run_order_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsRecallChannelRun *recall_channel_run, guint run_order
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_channel_run_get_run_order</NAME>
+<RETURNS>guint </RETURNS>
+AgsRecallChannelRun *recall_channel_run
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_channel_run_new</NAME>
+<RETURNS>AgsRecallChannelRun * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECYCLING_CONTAINER</NAME>
+#define AGS_TYPE_RECYCLING_CONTAINER (ags_recycling_container_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_CONTAINER</NAME>
+#define AGS_RECYCLING_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECYCLING_CONTAINER, AgsRecyclingContainer))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_CONTAINER_CLASS</NAME>
+#define AGS_RECYCLING_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECYCLING_CONTAINER, AgsRecyclingContainerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECYCLING_CONTAINER</NAME>
+#define AGS_IS_RECYCLING_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECYCLING_CONTAINER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECYCLING_CONTAINER_CLASS</NAME>
+#define AGS_IS_RECYCLING_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECYCLING_CONTAINER))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_CONTAINER_GET_CLASS</NAME>
+#define AGS_RECYCLING_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECYCLING_CONTAINER, AgsRecyclingContainerClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecyclingContainer</NAME>
+struct _AgsRecyclingContainer
+{
+ GObject object;
+
+ GObject *recall_id;
+
+ AgsRecycling **recycling;
+ guint64 length;
+
+ AgsRecyclingContainer *parent;
+ GList *children;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecyclingContainerClass</NAME>
+struct _AgsRecyclingContainerClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recycling_container_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_replace</NAME>
+<RETURNS>void </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *recycling, gint position
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_add</NAME>
+<RETURNS>AgsRecyclingContainer * </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_remove</NAME>
+<RETURNS>AgsRecyclingContainer * </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_insert</NAME>
+<RETURNS>AgsRecyclingContainer * </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *recycling, gint position
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_get_toplevel</NAME>
+<RETURNS>AgsRecyclingContainer * </RETURNS>
+AgsRecyclingContainer *recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_find</NAME>
+<RETURNS>gint </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_find_child</NAME>
+<RETURNS>gint </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_find_parent</NAME>
+<RETURNS>gint </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_add_child</NAME>
+<RETURNS>void </RETURNS>
+AgsRecyclingContainer *parent, AgsRecyclingContainer *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_remove_child</NAME>
+<RETURNS>void </RETURNS>
+AgsRecyclingContainer *parent, AgsRecyclingContainer *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_get_child_recall_id</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecyclingContainer *recycling_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_reset_recycling</NAME>
+<RETURNS>void </RETURNS>
+AgsRecyclingContainer *recycling_container, AgsRecycling *old_first_recycling, AgsRecycling *old_last_recycling, AgsRecycling *new_first_recycling, AgsRecycling *new_last_recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_container_new</NAME>
+<RETURNS>AgsRecyclingContainer * </RETURNS>
+gint length
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_LADSPA</NAME>
+#define AGS_TYPE_RECALL_LADSPA (ags_recall_ladspa_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_LADSPA</NAME>
+#define AGS_RECALL_LADSPA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_LADSPA, AgsRecallLadspa))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_LADSPA_CLASS</NAME>
+#define AGS_RECALL_LADSPA_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_LADSPA, AgsRecallLadspaClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_LADSPA</NAME>
+#define AGS_IS_RECALL_LADSPA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_LADSPA))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_LADSPA_CLASS</NAME>
+#define AGS_IS_RECALL_LADSPA_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_LADSPA))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_LADSPA_GET_CLASS</NAME>
+#define AGS_RECALL_LADSPA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_LADSPA, AgsRecallLadspaClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallLadspa</NAME>
+struct _AgsRecallLadspa
+{
+ AgsRecallChannel recall_channel;
+
+ gchar *filename;
+ gchar *effect;
+ guint index;
+
+ LADSPA_Descriptor *plugin_descriptor;
+ guint input_port;
+ guint output_port;
+
+ LADSPA_Handle ladspa_handle;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallLadspaClass</NAME>
+struct _AgsRecallLadspaClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_ladspa_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_ladspa_load_ports</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecallLadspa *recall_ladspa
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_ladspa_short_to_float</NAME>
+<RETURNS>void </RETURNS>
+signed short *buffer, float *destination
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_ladspa_float_to_short</NAME>
+<RETURNS>void </RETURNS>
+float *buffer, signed short *destination
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_ladpsa_find</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, gchar *filename, gchar *effect
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_ladspa_new</NAME>
+<RETURNS>AgsRecallLadspa * </RETURNS>
+AgsChannel *source, gchar *filename, gchar *effect, guint index
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_RECYCLING_DUMMY</NAME>
+#define AGS_TYPE_RECALL_RECYCLING_DUMMY (ags_recall_recycling_dummy_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_RECYCLING_DUMMY</NAME>
+#define AGS_RECALL_RECYCLING_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_RECYCLING_DUMMY, AgsRecallRecyclingDummy))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_RECYCLING_DUMMY_CLASS</NAME>
+#define AGS_RECALL_RECYCLING_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_RECYCLING_DUMMY, AgsRecallRecyclingDummyClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_RECYCLING_DUMMY</NAME>
+#define AGS_IS_RECALL_RECYCLING_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_RECYCLING_DUMMY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_RECYCLING_DUMMY_CLASS</NAME>
+#define AGS_IS_RECALL_RECYCLING_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_RECYCLING_DUMMY))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_RECYCLING_DUMMY_GET_CLASS</NAME>
+#define AGS_RECALL_RECYCLING_DUMMY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_RECYCLING_DUMMY, AgsRecallRecyclingDummyClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRecallRecyclingDummy</NAME>
+struct _AgsRecallRecyclingDummy
+{
+ AgsRecallRecycling recall_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallRecyclingDummyClass</NAME>
+struct _AgsRecallRecyclingDummyClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_recycling_dummy_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_recycling_dummy_new</NAME>
+<RETURNS>AgsRecallRecyclingDummy * </RETURNS>
+AgsRecycling *recycling, GType child_type
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CHANNEL</NAME>
+#define AGS_TYPE_CHANNEL (ags_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANNEL</NAME>
+#define AGS_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANNEL, AgsChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANNEL_CLASS</NAME>
+#define AGS_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANNEL, AgsChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANNEL</NAME>
+#define AGS_IS_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANNEL_CLASS</NAME>
+#define AGS_IS_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANNEL_GET_CLASS</NAME>
+#define AGS_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANNEL, AgsChannelClass))
+</MACRO>
+<ENUM>
+<NAME>AgsChannelFlags</NAME>
+typedef enum{
+ AGS_CHANNEL_RUNNING = 1,
+}AgsChannelFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsChannelRecallIDMode</NAME>
+typedef enum{
+ AGS_CHANNEL_RECALL_ID_RUN_STAGE,
+ AGS_CHANNEL_RECALL_ID_CANCEL,
+}AgsChannelRecallIDMode;
+</ENUM>
+<MACRO>
+<NAME>AGS_CHANNEL_ERROR</NAME>
+#define AGS_CHANNEL_ERROR (ags_channel_error_quark())
+</MACRO>
+<ENUM>
+<NAME>AgsChannelError</NAME>
+typedef enum{
+ AGS_CHANNEL_ERROR_LOOP_IN_LINK,
+}AgsChannelError;
+</ENUM>
+<STRUCT>
+<NAME>AgsChannel</NAME>
+struct _AgsChannel
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *audio;
+ GObject *devout;
+
+ AgsChannel *prev;
+ AgsChannel *prev_pad;
+ AgsChannel *next;
+ AgsChannel *next_pad;
+
+ guint pad;
+ guint audio_channel;
+ guint line;
+
+ char *note;
+
+ gpointer devout_play;
+
+ // GObject *recycling_container; // contains child recycling
+ GList *recall_id; // there may be several recall's running
+ GList *container;
+
+ GList *recall;
+ GList *play;
+
+ AgsChannel *link;
+ AgsRecycling *first_recycling;
+ AgsRecycling *last_recycling;
+ GObject *recycling_thread;
+
+ GList *pattern;
+ AgsNotation *notation;
+
+ GtkWidget *line_widget;
+ gpointer file_data;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsChannelClass</NAME>
+struct _AgsChannelClass
+{
+ GObjectClass object;
+
+ void (*recycling_changed)(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region);
+
+ void (*done)(AgsChannel *channel,
+ AgsRecallID *recall_id);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_error_quark</NAME>
+<RETURNS>GQuark </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_find_recall</NAME>
+<RETURNS>AgsRecall * </RETURNS>
+AgsChannel *channel, char *effect, char *name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_first</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_last</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_nth</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel, guint nth
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_pad_first</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_pad_last</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_pad_nth</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel, guint nth
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_first_with_recycling</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_last_with_recycling</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_set_devout</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_remove_recall_id</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_add_recall_id</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_add_recall_container</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, GObject *recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_remove_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, GObject *recall, gboolean play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_add_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, GObject *recall, gboolean play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_set_link</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsChannel *link, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_set_recycling</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecycling *first_recycling, AgsRecycling *last_recycling, gboolean update, gboolean destroy_old
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_recycling_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecycling *old_start_region, AgsRecycling *old_end_region, AgsRecycling *new_start_region, AgsRecycling *new_end_region, AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region, AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_done</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_safe_resize_audio_signal</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, guint size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_resolve_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_play</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_recursive_play_threaded</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_recursive_play</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_duplicate_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_init_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, gint stage, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_recursive_play_init</NAME>
+<RETURNS>AgsRecallID * </RETURNS>
+AgsChannel *channel, gint stage, gboolean arrange_recall_id, gboolean duplicate_templates, gboolean playback, gboolean sequencer, gboolean notation, gboolean resolve_dependencies, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_tillrecycling_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_recursive_reset_recall_ids</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsChannel *link, AgsChannel *old_channel_link, AgsChannel *old_link_link
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_recall_id_set</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *output, AgsRecallID *recall_id, gboolean ommit_own_channel, guint mode, ...
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_new</NAME>
+<RETURNS>AgsChannel * </RETURNS>
+GObject *audio
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_FACTORY</NAME>
+#define AGS_TYPE_RECALL_FACTORY (ags_recall_factory_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_FACTORY</NAME>
+#define AGS_RECALL_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_FACTORY, AgsRecallFactory))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_FACTORY_CLASS</NAME>
+#define AGS_RECALL_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_FACTORY, AgsRecallFactoryClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_FACTORY</NAME>
+#define AGS_IS_RECALL_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_FACTORY_CLASS</NAME>
+#define AGS_IS_RECALL_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_FACTORY_GET_CLASS</NAME>
+#define AGS_RECALL_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_FACTORY, AgsRecallFactoryClass))
+</MACRO>
+<ENUM>
+<NAME>AgsRecallFactoryCreateFlags</NAME>
+typedef enum{
+ AGS_RECALL_FACTORY_OUTPUT = 1,
+ AGS_RECALL_FACTORY_INPUT = 1 << 1,
+ AGS_RECALL_FACTORY_REMAP = 1 << 2,
+ AGS_RECALL_FACTORY_ADD = 1 << 3,
+ AGS_RECALL_FACTORY_PLAY = 1 << 4,
+ AGS_RECALL_FACTORY_RECALL = 1 << 5,
+}AgsRecallFactoryCreateFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecallFactory</NAME>
+struct _AgsRecallFactory
+{
+ GObject object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallFactoryClass</NAME>
+struct _AgsRecallFactoryClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_factory_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_factory_create</NAME>
+<RETURNS>GList * </RETURNS>
+AgsAudio *audio, AgsRecallContainer *play_container, AgsRecallContainer *recall_container, gchar *plugin_name, guint start_audio_channel, guint stop_audio_channel, guint start_pad, guint stop_pad, guint create_flags, guint recall_flags
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_factory_remove</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallContainer *recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_factory_get_instance</NAME>
+<RETURNS>AgsRecallFactory * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_factory_new</NAME>
+<RETURNS>AgsRecallFactory * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PORT</NAME>
+#define AGS_TYPE_PORT (ags_port_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PORT</NAME>
+#define AGS_PORT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PORT, AgsPort))
+</MACRO>
+<MACRO>
+<NAME>AGS_PORT_CLASS</NAME>
+#define AGS_PORT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PORT, AgsPortClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PORT</NAME>
+#define AGS_IS_PORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PORT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PORT_CLASS</NAME>
+#define AGS_IS_PORT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PORT))
+</MACRO>
+<MACRO>
+<NAME>AGS_PORT_GET_CLASS</NAME>
+#define AGS_PORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PORT, AgsPortClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPort</NAME>
+struct _AgsPort
+{
+ GObject object;
+
+ gchar *plugin_name;
+ gchar *specifier;
+
+ gchar *control_port;
+
+ gboolean port_value_is_pointer;
+ GType port_value_type;
+
+ guint port_value_size;
+ guint port_value_length;
+
+ pthread_mutex_t mutex;
+
+ union _AgsPortValue{
+ gboolean ags_port_boolean;
+ gint64 ags_port_int;
+ guint64 ags_port_uint;
+ gfloat ags_port_float;
+ gdouble ags_port_double;
+ gboolean *ags_port_boolean_ptr;
+ gint64 *ags_port_int_ptr;
+ guint64 *ags_port_uint_ptr;
+ gfloat *ags_port_float_ptr;
+ gdouble *ags_port_double_ptr;
+ gpointer ags_port_pointer;
+ GObject *ags_port_object;
+ }port_value;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPortClass</NAME>
+struct _AgsPortClass
+{
+ GObjectClass object;
+
+ void (*safe_read)(AgsPort *port, GValue *value);
+ void (*safe_write)(AgsPort *port, GValue *value);
+
+ void (*safe_get_property)(AgsPort *port, gchar *property_name, GValue *value);
+ void (*safe_set_property)(AgsPort *port, gchar *property_name, GValue *value);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_port_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_port_safe_read</NAME>
+<RETURNS>void </RETURNS>
+AgsPort *port, GValue *value
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_port_safe_write</NAME>
+<RETURNS>void </RETURNS>
+AgsPort *port, GValue *value
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_port_safe_get_property</NAME>
+<RETURNS>void </RETURNS>
+AgsPort *port, gchar *property_name, GValue *value
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_port_safe_set_property</NAME>
+<RETURNS>void </RETURNS>
+AgsPort *port, gchar *property_name, GValue *value
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_port_find_specifier</NAME>
+<RETURNS>GList * </RETURNS>
+GList *port, gchar *specifier
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_port_new</NAME>
+<RETURNS>AgsPort * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_AUDIO_SIGNAL (ags_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_SIGNAL</NAME>
+#define AGS_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_SIGNAL, AgsAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_SIGNAL, AgsAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_SIGNAL</NAME>
+#define AGS_IS_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_AUDIO_SIGNAL, AgsAudioSignalClass))
+</MACRO>
+<ENUM>
+<NAME>AgsAudioSignalFlags</NAME>
+typedef enum{
+ AGS_AUDIO_SIGNAL_TEMPLATE = 1,
+ AGS_AUDIO_SIGNAL_PLAY_DONE = 1 << 1,
+ AGS_AUDIO_SIGNAL_STANDALONE = 1 << 2,
+}AgsAudioSignalFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsAttackFlags</NAME>
+typedef enum{
+ AGS_ATTACK_INITIAL_RUN = 1,
+ AGS_ATTACK_SWAP = 1 << 1,
+}AgsAttackFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsAudioSignal</NAME>
+struct _AgsAudioSignal
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+
+ GObject *recycling;
+ GObject *recall_id; // AGS_TYPE_RECALL_ID to identify the AgsAudioSignal
+
+ guint samplerate;
+ guint buffer_size;
+ guint resolution;
+
+ guint length;
+ guint last_frame; // the last frame at stream_end
+ guint loop_start;
+ guint loop_end;
+
+ guint delay;
+ guint attack;
+
+ guint lock_attack;
+
+ GList *stream_beginning;
+ GList *stream_current;
+ GList *stream_end;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAudioSignalClass</NAME>
+struct _AgsAudioSignalClass
+{
+ GObjectClass object;
+
+ void (*realloc_buffer_size)(AgsAudioSignal *audio_signal, guint buffer_size);
+ void (*morph_samplerate)(AgsAudioSignal *audio_signal, guint samplerate, double k_morph);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stream_alloc</NAME>
+<RETURNS>signed short * </RETURNS>
+guint buffer_size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_get_length_till_current</NAME>
+<RETURNS>guint </RETURNS>
+AgsAudioSignal *audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_add_stream</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_stream_resize</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_stream_safe_resize</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_realloc_buffer_size</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal, guint buffer_size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_morph_samplerate</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal, guint samplerate, double k_morph
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_copy_buffer_to_buffer</NAME>
+<RETURNS>void </RETURNS>
+signed short *destination, guint dchannels, signed short *source, guint schannels, guint size) __attribute__ ((hot)
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_copy_buffer_to_double_buffer</NAME>
+<RETURNS>void </RETURNS>
+double *destination, guint dchannels, signed short *source, guint schannels, guint size) __attribute__ ((hot)
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_copy_double_buffer_to_buffer</NAME>
+<RETURNS>void </RETURNS>
+signed short *destination, guint dchannels, double *source, guint schannels, guint size) __attribute__ ((hot)
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_duplicate_stream</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal, AgsAudioSignal *template
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_get_template</NAME>
+<RETURNS>AgsAudioSignal * </RETURNS>
+GList *audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_get_stream_current</NAME>
+<RETURNS>GList * </RETURNS>
+GList *audio_signal, GObject *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_get_by_recall_id</NAME>
+<RETURNS>GList * </RETURNS>
+GList *audio_signal, GObject *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_tile</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal, AgsAudioSignal *template, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_scale</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioSignal *audio_signal, AgsAudioSignal *template, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_new</NAME>
+<RETURNS>AgsAudioSignal * </RETURNS>
+GObject *devout, GObject *recycling, GObject *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_signal_new_with_length</NAME>
+<RETURNS>AgsAudioSignal * </RETURNS>
+GObject *devout, GObject *recycling, GObject *recall_id, guint length
+</FUNCTION>
+<STRUCT>
+<NAME>AgsAttack</NAME>
+</STRUCT>
+<MACRO>
+<NAME>AGS_TYPE_CONFIG</NAME>
+#define AGS_TYPE_CONFIG (ags_config_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_CONFIG</NAME>
+#define AGS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONFIG, AgsConfig))
+</MACRO>
+<MACRO>
+<NAME>AGS_CONFIG_CLASS</NAME>
+#define AGS_CONFIG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CONFIG, AgsConfigClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CONFIG</NAME>
+#define AGS_IS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CONFIG))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CONFIG_CLASS</NAME>
+#define AGS_IS_CONFIG_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CONFIG))
+</MACRO>
+<MACRO>
+<NAME>AGS_CONFIG_GET_CLASS</NAME>
+#define AGS_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CONFIG, AgsConfigClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_CONFIG_DEFAULT_VERSION</NAME>
+#define AGS_CONFIG_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_CONFIG_DEFAULT_BUILD_ID</NAME>
+#define AGS_CONFIG_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_CONFIG_THREAD</NAME>
+#define AGS_CONFIG_THREAD "thread\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_CONFIG_DEVOUT</NAME>
+#define AGS_CONFIG_DEVOUT "device\0"
+</MACRO>
+<STRUCT>
+<NAME>AgsConfig</NAME>
+struct _AgsConfig
+{
+ GObject object;
+
+ guint version;
+ gchar *build_id;
+
+ GKeyFile *key_file;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsConfigClass</NAME>
+struct _AgsConfigClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_config_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_config_load_defaults</NAME>
+<RETURNS>void </RETURNS>
+AgsConfig *config
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_config_load_from_file</NAME>
+<RETURNS>void </RETURNS>
+AgsConfig *config, gchar *filename
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_config_save</NAME>
+<RETURNS>void </RETURNS>
+AgsConfig *config
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_config_set</NAME>
+<RETURNS>void </RETURNS>
+AgsConfig *config, gchar *group, gchar *key, gchar *value
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_config_get</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsConfig *config, gchar *group, gchar *key
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_config_new</NAME>
+<RETURNS>AgsConfig * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_INPUT</NAME>
+#define AGS_TYPE_INPUT (ags_input_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_INPUT</NAME>
+#define AGS_INPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INPUT, AgsInput))
+</MACRO>
+<MACRO>
+<NAME>AGS_INPUT_CLASS</NAME>
+#define AGS_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INPUT, AgsInputClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INPUT</NAME>
+#define AGS_IS_INPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INPUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INPUT_CLASS</NAME>
+#define AGS_IS_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INPUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_INPUT_GET_CLASS</NAME>
+#define AGS_INPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INPUT, AgsInputClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsInput</NAME>
+struct _AgsInput
+{
+ AgsChannel channel;
+
+ GObject *file_link;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsInputClass</NAME>
+struct _AgsInputClass
+{
+ AgsChannelClass channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_input_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_input_new</NAME>
+<RETURNS>AgsInput * </RETURNS>
+GObject *audio
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_NOTE</NAME>
+#define AGS_TYPE_NOTE (ags_note_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTE</NAME>
+#define AGS_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTE, AgsNote))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTE_CLASS</NAME>
+#define AGS_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTE, AgsNoteClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTE</NAME>
+#define AGS_IS_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTE_CLASS</NAME>
+#define AGS_IS_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTE_GET_CLASS</NAME>
+#define AGS_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_NOTE, AgsNoteClass))
+</MACRO>
+<ENUM>
+<NAME>AgsNoteFlags</NAME>
+typedef enum{
+ AGS_NOTE_GUI = 1,
+ AGS_NOTE_RUNTIME = 1 << 1,
+ AGS_NOTE_HUMAN_READABLE = 1 << 2,
+ AGS_NOTE_DEFAULT_LENGTH = 1 << 3,
+ AGS_NOTE_IS_SELECTED = 1 << 4,
+}AgsNoteFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsNote</NAME>
+struct _AgsNote
+{
+ GObject object;
+
+ guint flags;
+
+ // gui format, convert easy to visualization
+ guint x[2];
+ guint y;
+
+ gchar *name;
+ gdouble frequency;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsNoteClass</NAME>
+struct _AgsNoteClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_note_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_duplicate</NAME>
+<RETURNS>AgsNote * </RETURNS>
+AgsNote *note
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_new</NAME>
+<RETURNS>AgsNote * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECALL_CONTAINER</NAME>
+#define AGS_TYPE_RECALL_CONTAINER (ags_recall_container_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CONTAINER</NAME>
+#define AGS_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainer))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CONTAINER_CLASS</NAME>
+#define AGS_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CONTAINER</NAME>
+#define AGS_IS_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_CONTAINER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECALL_CONTAINER_CLASS</NAME>
+#define AGS_IS_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_CONTAINER))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECALL_CONTAINER_GET_CLASS</NAME>
+#define AGS_RECALL_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainerClass))
+</MACRO>
+<ENUM>
+<NAME>AgsRecallContainerFlags</NAME>
+typedef enum{
+ AGS_RECALL_CONTAINER_PLAY = 1,
+}AgsRecallContainerFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsRecallContainerFindFlags</NAME>
+typedef enum{
+ AGS_RECALL_CONTAINER_FIND_TYPE,
+ AGS_RECALL_CONTAINER_FIND_TEMPLATE,
+ AGS_RECALL_CONTAINER_FIND_RECALL_ID,
+}AgsRecallContainerFindFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecallContainer</NAME>
+struct _AgsRecallContainer
+{
+ GObject object;
+
+ guint flags;
+
+ GType recall_audio_type;
+ AgsRecall *recall_audio;
+
+ GType recall_audio_run_type;
+ GList *recall_audio_run;
+
+ GType recall_channel_type;
+ GList *recall_channel;
+
+ GType recall_channel_run_type;
+ GList *recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecallContainerClass</NAME>
+struct _AgsRecallContainerClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recall_container_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_container_get_recall_audio</NAME>
+<RETURNS>AgsRecall * </RETURNS>
+AgsRecallContainer *container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_container_get_recall_audio_run</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecallContainer *container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_container_get_recall_channel</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecallContainer *container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_container_get_recall_channel_run</NAME>
+<RETURNS>GList * </RETURNS>
+AgsRecallContainer *container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_container_find</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall_container, GType type, guint find_flags, AgsRecallID *recall_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recall_container_new</NAME>
+<RETURNS>AgsRecallContainer * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_EFFECT_COPY_STREAM</NAME>
+#define AGS_EFFECT_COPY_STREAM "copy_stream"
+</MACRO>
+<MACRO>
+<NAME>AGS_EFFECT_COPY_BUFFER</NAME>
+#define AGS_EFFECT_COPY_BUFFER "copy_buffer"
+</MACRO>
+<MACRO>
+<NAME>AGS_EFFECT_DOWN_MIX</NAME>
+#define AGS_EFFECT_DOWN_MIX "down_mix"
+</MACRO>
+<MACRO>
+<NAME>AGS_TYPE_CANCEL_CHANNEL</NAME>
+#define AGS_TYPE_CANCEL_CHANNEL (ags_cancel_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_CHANNEL</NAME>
+#define AGS_CANCEL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CANCEL_CHANNEL, AgsCancelChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_CHANNEL_CLASS</NAME>
+#define AGS_CANCEL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CANCEL_CHANNEL, AgsCancelChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CANCEL_CHANNEL</NAME>
+#define AGS_IS_CANCEL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CANCEL_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CANCEL_CHANNEL_CLASS</NAME>
+#define AGS_IS_CANCEL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CANCEL_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_CHANNEL_GET_CLASS</NAME>
+#define AGS_CANCEL_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CANCEL_CHANNEL, AgsCancelChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCancelChannel</NAME>
+struct _AgsCancelChannel
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+
+ AgsDevoutPlay *play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCancelChannelClass</NAME>
+struct _AgsCancelChannelClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_cancel_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_cancel_channel_new</NAME>
+<RETURNS>AgsCancelChannel * </RETURNS>
+AgsChannel *channel, AgsRecallID *recall_id, AgsDevoutPlay *play
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ADD_LINE_MEMBER</NAME>
+#define AGS_TYPE_ADD_LINE_MEMBER (ags_add_line_member_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_LINE_MEMBER</NAME>
+#define AGS_ADD_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_LINE_MEMBER, AgsAddLineMember))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_LINE_MEMBER_CLASS</NAME>
+#define AGS_ADD_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_LINE_MEMBER, AgsAddLineMemberClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_LINE_MEMBER</NAME>
+#define AGS_IS_ADD_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_LINE_MEMBER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_LINE_MEMBER_CLASS</NAME>
+#define AGS_IS_ADD_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_LINE_MEMBER))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_LINE_MEMBER_GET_CLASS</NAME>
+#define AGS_ADD_LINE_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_LINE_MEMBER, AgsAddLineMemberClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAddLineMember</NAME>
+struct _AgsAddLineMember
+{
+ AgsTask task;
+
+ AgsLine *line;
+ AgsLineMember *line_member;
+
+ guint x;
+ guint y;
+ guint width;
+ guint height;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAddLineMemberClass</NAME>
+struct _AgsAddLineMemberClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_add_line_member_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_add_line_member_new</NAME>
+<RETURNS>AgsAddLineMember * </RETURNS>
+AgsLine *line, AgsLineMember *line_member, guint x, guint y, guint width, guint height
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REMOVE_AUDIO</NAME>
+#define AGS_TYPE_REMOVE_AUDIO (ags_remove_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_AUDIO</NAME>
+#define AGS_REMOVE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_AUDIO, AgsRemoveAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_AUDIO_CLASS</NAME>
+#define AGS_REMOVE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_AUDIO, AgsRemoveAudioClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_AUDIO</NAME>
+#define AGS_IS_REMOVE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_AUDIO_CLASS</NAME>
+#define AGS_IS_REMOVE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_AUDIO_GET_CLASS</NAME>
+#define AGS_REMOVE_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_AUDIO, AgsRemoveAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRemoveAudio</NAME>
+struct _AgsRemoveAudio
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+ AgsAudio *audio;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRemoveAudioClass</NAME>
+struct _AgsRemoveAudioClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_remove_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remove_audio_new</NAME>
+<RETURNS>AgsRemoveAudio * </RETURNS>
+AgsDevout *devout, AgsAudio *audio
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_INIT_AUDIO</NAME>
+#define AGS_TYPE_INIT_AUDIO (ags_init_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_INIT_AUDIO</NAME>
+#define AGS_INIT_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INIT_AUDIO, AgsInitAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_INIT_AUDIO_CLASS</NAME>
+#define AGS_INIT_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INIT_AUDIO, AgsInitAudioClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INIT_AUDIO</NAME>
+#define AGS_IS_INIT_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INIT_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INIT_AUDIO_CLASS</NAME>
+#define AGS_IS_INIT_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INIT_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_INIT_AUDIO_GET_CLASS</NAME>
+#define AGS_INIT_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INIT_AUDIO, AgsInitAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsInitAudio</NAME>
+struct _AgsInitAudio
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsInitAudioClass</NAME>
+struct _AgsInitAudioClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_init_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_init_audio_new</NAME>
+<RETURNS>AgsInitAudio * </RETURNS>
+AgsAudio *audio, gboolean playback, gboolean sequencer, gboolean notation
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REMOVE_NOTE</NAME>
+#define AGS_TYPE_REMOVE_NOTE (ags_remove_note_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_NOTE</NAME>
+#define AGS_REMOVE_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_NOTE, AgsRemoveNote))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_NOTE_CLASS</NAME>
+#define AGS_REMOVE_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_NOTE, AgsRemoveNoteClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_NOTE</NAME>
+#define AGS_IS_REMOVE_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_NOTE_CLASS</NAME>
+#define AGS_IS_REMOVE_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_NOTE_GET_CLASS</NAME>
+#define AGS_REMOVE_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_NOTE, AgsRemoveNoteClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRemoveNote</NAME>
+struct _AgsRemoveNote
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRemoveNoteClass</NAME>
+struct _AgsRemoveNoteClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_remove_note_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remove_note_new</NAME>
+<RETURNS>AgsRemoveNote * </RETURNS>
+AgsNotation *notation, guint x, guint y
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ADD_REGION_TO_SELECTION</NAME>
+#define AGS_TYPE_ADD_REGION_TO_SELECTION (ags_add_region_to_selection_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_REGION_TO_SELECTION</NAME>
+#define AGS_ADD_REGION_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_REGION_TO_SELECTION, AgsAddRegionToSelection))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_REGION_TO_SELECTION_CLASS</NAME>
+#define AGS_ADD_REGION_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_REGION_TO_SELECTION, AgsAddRegionToSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_REGION_TO_SELECTION</NAME>
+#define AGS_IS_ADD_REGION_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_REGION_TO_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_REGION_TO_SELECTION_CLASS</NAME>
+#define AGS_IS_ADD_REGION_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_REGION_TO_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_REGION_TO_SELECTION_GET_CLASS</NAME>
+#define AGS_ADD_REGION_TO_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_REGION_TO_SELECTION, AgsAddRegionToSelectionClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAddRegionToSelection</NAME>
+struct _AgsAddRegionToSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x0;
+ guint y0;
+ guint x1;
+ guint y1;
+
+ gboolean replace_current_selection;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAddRegionToSelectionClass</NAME>
+struct _AgsAddRegionToSelectionClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_add_region_to_selection_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_add_region_to_selection_new</NAME>
+<RETURNS>AgsAddRegionToSelection * </RETURNS>
+AgsNotation *notation, guint x0, guint y0, guint x1, guint y1, gboolean replace_current_selection
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CHANGE_INDICATOR</NAME>
+#define AGS_TYPE_CHANGE_INDICATOR (ags_change_indicator_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANGE_INDICATOR</NAME>
+#define AGS_CHANGE_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANGE_INDICATOR, AgsChangeIndicator))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANGE_INDICATOR_CLASS</NAME>
+#define AGS_CHANGE_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANGE_INDICATOR, AgsChangeIndicatorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANGE_INDICATOR</NAME>
+#define AGS_IS_CHANGE_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANGE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANGE_INDICATOR_CLASS</NAME>
+#define AGS_IS_CHANGE_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CHANGE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANGE_INDICATOR_GET_CLASS</NAME>
+#define AGS_CHANGE_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANGE_INDICATOR, AgsChangeIndicatorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsChangeIndicator</NAME>
+struct _AgsChangeIndicator
+{
+ AgsTask task;
+
+ AgsIndicator *indicator;
+ gdouble value;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsChangeIndicatorClass</NAME>
+struct _AgsChangeIndicatorClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_change_indicator_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_change_indicator_new</NAME>
+<RETURNS>AgsChangeIndicator * </RETURNS>
+AgsIndicator *indicator, gdouble value
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPEND_AUDIO</NAME>
+#define AGS_TYPE_APPEND_AUDIO (ags_append_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_AUDIO</NAME>
+#define AGS_APPEND_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_AUDIO, AgsAppendAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_AUDIO_CLASS</NAME>
+#define AGS_APPEND_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_AUDIO, AgsAppendAudioClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_AUDIO</NAME>
+#define AGS_IS_APPEND_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_AUDIO_CLASS</NAME>
+#define AGS_IS_APPEND_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_AUDIO_GET_CLASS</NAME>
+#define AGS_APPEND_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_AUDIO, AgsAppendAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAppendAudio</NAME>
+struct _AgsAppendAudio
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ GObject *audio;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAppendAudioClass</NAME>
+struct _AgsAppendAudioClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_append_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_append_audio_new</NAME>
+<RETURNS>AgsAppendAudio * </RETURNS>
+GObject *audio_loop, GObject *audio
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SET_SAMPLERATE</NAME>
+#define AGS_TYPE_SET_SAMPLERATE (ags_set_samplerate_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_SAMPLERATE</NAME>
+#define AGS_SET_SAMPLERATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerate))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_SAMPLERATE_CLASS</NAME>
+#define AGS_SET_SAMPLERATE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerateClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_SAMPLERATE</NAME>
+#define AGS_IS_SET_SAMPLERATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_SAMPLERATE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_SAMPLERATE_CLASS</NAME>
+#define AGS_IS_SET_SAMPLERATE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_SAMPLERATE))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_SAMPLERATE_GET_CLASS</NAME>
+#define AGS_SET_SAMPLERATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerateClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSetSamplerate</NAME>
+struct _AgsSetSamplerate
+{
+ AgsTask task;
+
+ GObject *gobject;
+ guint samplerate;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSetSamplerateClass</NAME>
+struct _AgsSetSamplerateClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_set_samplerate_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_set_samplerate_new</NAME>
+<RETURNS>AgsSetSamplerate * </RETURNS>
+GObject *gobject, guint samplerate
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REMOVE_POINT_FROM_SELECTION</NAME>
+#define AGS_TYPE_REMOVE_POINT_FROM_SELECTION (ags_remove_point_from_selection_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_POINT_FROM_SELECTION</NAME>
+#define AGS_REMOVE_POINT_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_POINT_FROM_SELECTION, AgsRemovePointFromSelection))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_POINT_FROM_SELECTION_CLASS</NAME>
+#define AGS_REMOVE_POINT_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_POINT_FROM_SELECTION, AgsRemovePointFromSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_POINT_FROM_SELECTION</NAME>
+#define AGS_IS_REMOVE_POINT_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_POINT_FROM_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_POINT_FROM_SELECTION_CLASS</NAME>
+#define AGS_IS_REMOVE_POINT_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_POINT_FROM_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_POINT_FROM_SELECTION_GET_CLASS</NAME>
+#define AGS_REMOVE_POINT_FROM_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_POINT_FROM_SELECTION, AgsRemovePointFromSelectionClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRemovePointFromSelection</NAME>
+struct _AgsRemovePointFromSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRemovePointFromSelectionClass</NAME>
+struct _AgsRemovePointFromSelectionClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_remove_point_from_selection_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remove_point_from_selection_new</NAME>
+<RETURNS>AgsRemovePointFromSelection * </RETURNS>
+AgsNotation *notation, guint x, guint y
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SET_BUFFER_SIZE</NAME>
+#define AGS_TYPE_SET_BUFFER_SIZE (ags_set_buffer_size_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_BUFFER_SIZE</NAME>
+#define AGS_SET_BUFFER_SIZE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSize))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_BUFFER_SIZE_CLASS</NAME>
+#define AGS_SET_BUFFER_SIZE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSizeClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_BUFFER_SIZE</NAME>
+#define AGS_IS_SET_BUFFER_SIZE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_BUFFER_SIZE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_BUFFER_SIZE_CLASS</NAME>
+#define AGS_IS_SET_BUFFER_SIZE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_BUFFER_SIZE))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_BUFFER_SIZE_GET_CLASS</NAME>
+#define AGS_SET_BUFFER_SIZE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSizeClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSetBufferSize</NAME>
+struct _AgsSetBufferSize
+{
+ AgsTask task;
+
+ GObject *gobject;
+ guint buffer_size;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSetBufferSizeClass</NAME>
+struct _AgsSetBufferSizeClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_set_buffer_size_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_set_buffer_size_new</NAME>
+<RETURNS>AgsSetBufferSize * </RETURNS>
+GObject *gobject, guint buffer_size
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ADD_AUDIO</NAME>
+#define AGS_TYPE_ADD_AUDIO (ags_add_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_AUDIO</NAME>
+#define AGS_ADD_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_AUDIO, AgsAddAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_AUDIO_CLASS</NAME>
+#define AGS_ADD_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_AUDIO, AgsAddAudioClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_AUDIO</NAME>
+#define AGS_IS_ADD_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_AUDIO_CLASS</NAME>
+#define AGS_IS_ADD_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_AUDIO_GET_CLASS</NAME>
+#define AGS_ADD_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_AUDIO, AgsAddAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAddAudio</NAME>
+struct _AgsAddAudio
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+ AgsAudio *audio;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAddAudioClass</NAME>
+struct _AgsAddAudioClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_add_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_add_audio_new</NAME>
+<RETURNS>AgsAddAudio * </RETURNS>
+AgsDevout *devout, AgsAudio *audio
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TOGGLE_LED</NAME>
+#define AGS_TYPE_TOGGLE_LED (ags_toggle_led_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TOGGLE_LED</NAME>
+#define AGS_TOGGLE_LED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TOGGLE_LED, AgsToggleLed))
+</MACRO>
+<MACRO>
+<NAME>AGS_TOGGLE_LED_CLASS</NAME>
+#define AGS_TOGGLE_LED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TOGGLE_LED, AgsToggleLedClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TOGGLE_LED</NAME>
+#define AGS_IS_TOGGLE_LED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TOGGLE_LED))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TOGGLE_LED_CLASS</NAME>
+#define AGS_IS_TOGGLE_LED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TOGGLE_LED))
+</MACRO>
+<MACRO>
+<NAME>AGS_TOGGLE_LED_GET_CLASS</NAME>
+#define AGS_TOGGLE_LED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TOGGLE_LED, AgsToggleLedClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsToggleLed</NAME>
+struct _AgsToggleLed
+{
+ AgsTask task;
+
+ GList *led;
+ guint set_active;
+ guint unset_active;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsToggleLedClass</NAME>
+struct _AgsToggleLedClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_toggle_led_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toggle_led_new</NAME>
+<RETURNS>AgsToggleLed * </RETURNS>
+GList *led, guint set_active, guint unset_active
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ADD_RECALL</NAME>
+#define AGS_TYPE_ADD_RECALL (ags_add_recall_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_RECALL</NAME>
+#define AGS_ADD_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_RECALL, AgsAddRecall))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_RECALL_CLASS</NAME>
+#define AGS_ADD_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_RECALL, AgsAddRecallClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_RECALL</NAME>
+#define AGS_IS_ADD_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_RECALL_CLASS</NAME>
+#define AGS_IS_ADD_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_RECALL_GET_CLASS</NAME>
+#define AGS_ADD_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_RECALL, AgsAddRecallClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAddRecall</NAME>
+struct _AgsAddRecall
+{
+ AgsTask task;
+
+ GObject *context;
+
+ AgsRecall *recall;
+ gboolean is_play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAddRecallClass</NAME>
+struct _AgsAddRecallClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_add_recall_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_add_recall_new</NAME>
+<RETURNS>AgsAddRecall * </RETURNS>
+GObject *context, AgsRecall *recall, gboolean is_play
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REMOVE_REGION_FROM_SELECTION</NAME>
+#define AGS_TYPE_REMOVE_REGION_FROM_SELECTION (ags_remove_region_from_selection_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_REGION_FROM_SELECTION</NAME>
+#define AGS_REMOVE_REGION_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelection))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_REGION_FROM_SELECTION_CLASS</NAME>
+#define AGS_REMOVE_REGION_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_REGION_FROM_SELECTION</NAME>
+#define AGS_IS_REMOVE_REGION_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_REGION_FROM_SELECTION_CLASS</NAME>
+#define AGS_IS_REMOVE_REGION_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_REGION_FROM_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_REGION_FROM_SELECTION_GET_CLASS</NAME>
+#define AGS_REMOVE_REGION_FROM_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelectionClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRemoveRegionFromSelection</NAME>
+struct _AgsRemoveRegionFromSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x0;
+ guint y0;
+ guint x1;
+ guint y1;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRemoveRegionFromSelectionClass</NAME>
+struct _AgsRemoveRegionFromSelectionClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_remove_region_from_selection_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remove_region_from_selection_new</NAME>
+<RETURNS>AgsRemoveRegionFromSelection * </RETURNS>
+AgsNotation *notation, guint x0, guint y0, guint x1, guint y1
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LINK_CHANNEL</NAME>
+#define AGS_TYPE_LINK_CHANNEL (ags_link_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_CHANNEL</NAME>
+#define AGS_LINK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINK_CHANNEL, AgsLinkChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_CHANNEL_CLASS</NAME>
+#define AGS_LINK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINK_CHANNEL, AgsLinkChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINK_CHANNEL</NAME>
+#define AGS_IS_LINK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LINK_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINK_CHANNEL_CLASS</NAME>
+#define AGS_IS_LINK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_LINK_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_CHANNEL_GET_CLASS</NAME>
+#define AGS_LINK_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LINK_CHANNEL, AgsLinkChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsLinkChannel</NAME>
+struct _AgsLinkChannel
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsChannel *link;
+
+ GError *error;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLinkChannelClass</NAME>
+struct _AgsLinkChannelClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_link_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_channel_new</NAME>
+<RETURNS>AgsLinkChannel * </RETURNS>
+AgsChannel *channel, AgsChannel *link
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REMOVE_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_REMOVE_AUDIO_SIGNAL (ags_remove_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_AUDIO_SIGNAL</NAME>
+#define AGS_REMOVE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_AUDIO_SIGNAL, AgsRemoveAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_REMOVE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_AUDIO_SIGNAL, AgsRemoveAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_AUDIO_SIGNAL</NAME>
+#define AGS_IS_REMOVE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_REMOVE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_REMOVE_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_AUDIO_SIGNAL, AgsRemoveAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRemoveAudioSignal</NAME>
+struct _AgsRemoveAudioSignal
+{
+ AgsTask task;
+
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRemoveAudioSignalClass</NAME>
+struct _AgsRemoveAudioSignalClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_remove_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remove_audio_signal_new</NAME>
+<RETURNS>AgsRemoveAudioSignal * </RETURNS>
+AgsRecycling *recycling, AgsAudioSignal *audio_signal
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ADD_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_ADD_AUDIO_SIGNAL (ags_add_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_AUDIO_SIGNAL</NAME>
+#define AGS_ADD_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_AUDIO_SIGNAL, AgsAddAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_ADD_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_AUDIO_SIGNAL, AgsAddAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_AUDIO_SIGNAL</NAME>
+#define AGS_IS_ADD_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_ADD_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_ADD_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_AUDIO_SIGNAL, AgsAddAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAddAudioSignal</NAME>
+struct _AgsAddAudioSignal
+{
+ AgsTask task;
+
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ AgsDevout *devout;
+ AgsRecallID *recall_id;
+ guint audio_signal_flags;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAddAudioSignalClass</NAME>
+struct _AgsAddAudioSignalClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_add_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_add_audio_signal_new</NAME>
+<RETURNS>AgsAddAudioSignal * </RETURNS>
+AgsRecycling *recycling, AgsAudioSignal *audio_signal, AgsDevout *devout, AgsRecallID *recall_id, guint audio_signal_flags
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUDIO_SET_RECYCLING</NAME>
+#define AGS_TYPE_AUDIO_SET_RECYCLING (ags_audio_set_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_SET_RECYCLING</NAME>
+#define AGS_AUDIO_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_SET_RECYCLING, AgsAudioSetRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_SET_RECYCLING_CLASS</NAME>
+#define AGS_AUDIO_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_SET_RECYCLING, AgsAudioSetRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_SET_RECYCLING</NAME>
+#define AGS_IS_AUDIO_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO_SET_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_SET_RECYCLING_CLASS</NAME>
+#define AGS_IS_AUDIO_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO_SET_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_SET_RECYCLING_GET_CLASS</NAME>
+#define AGS_AUDIO_SET_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO_SET_RECYCLING, AgsAudioSetRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAudioSetRecycling</NAME>
+struct _AgsAudioSetRecycling
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ GParameter *parameter;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAudioSetRecyclingClass</NAME>
+struct _AgsAudioSetRecyclingClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_audio_set_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_set_recycling_new</NAME>
+<RETURNS>AgsAudioSetRecycling * </RETURNS>
+AgsAudio *audio, GParameter *parameter
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPLY_WAVETABLE</NAME>
+#define AGS_TYPE_APPLY_WAVETABLE (ags_apply_wavetable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_WAVETABLE</NAME>
+#define AGS_APPLY_WAVETABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_WAVETABLE, AgsApplyWavetable))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_WAVETABLE_CLASS</NAME>
+#define AGS_APPLY_WAVETABLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_WAVETABLE, AgsApplyWavetableClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_WAVETABLE</NAME>
+#define AGS_IS_APPLY_WAVETABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_WAVETABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_WAVETABLE_CLASS</NAME>
+#define AGS_IS_APPLY_WAVETABLE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_WAVETABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_WAVETABLE_GET_CLASS</NAME>
+#define AGS_APPLY_WAVETABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_WAVETABLE, AgsApplyWavetableClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsApplyWavetable</NAME>
+struct _AgsApplyWavetable
+{
+ AgsTask task;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsApplyWavetableClass</NAME>
+struct _AgsApplyWavetableClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_apply_wavetable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_apply_wavetable_new</NAME>
+<RETURNS>AgsApplyWavetable * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CANCEL_AUDIO</NAME>
+#define AGS_TYPE_CANCEL_AUDIO (ags_cancel_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_AUDIO</NAME>
+#define AGS_CANCEL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CANCEL_AUDIO, AgsCancelAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_AUDIO_CLASS</NAME>
+#define AGS_CANCEL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CANCEL_AUDIO, AgsCancelAudioClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CANCEL_AUDIO</NAME>
+#define AGS_IS_CANCEL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CANCEL_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CANCEL_AUDIO_CLASS</NAME>
+#define AGS_IS_CANCEL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CANCEL_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_AUDIO_GET_CLASS</NAME>
+#define AGS_CANCEL_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CANCEL_AUDIO, AgsCancelAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCancelAudio</NAME>
+struct _AgsCancelAudio
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCancelAudioClass</NAME>
+struct _AgsCancelAudioClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_cancel_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_cancel_audio_new</NAME>
+<RETURNS>AgsCancelAudio * </RETURNS>
+AgsAudio *audio, gboolean playback, gboolean sequencer, gboolean notation
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPEND_AUDIO_THREADED</NAME>
+#define AGS_TYPE_APPEND_AUDIO_THREADED (ags_append_audio_threaded_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_AUDIO_THREADED</NAME>
+#define AGS_APPEND_AUDIO_THREADED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_AUDIO_THREADED, AgsAppendAudioThreaded))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_AUDIO_THREADED_CLASS</NAME>
+#define AGS_APPEND_AUDIO_THREADED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_AUDIO_THREADED, AgsAppendAudioThreadedClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_AUDIO_THREADED</NAME>
+#define AGS_IS_APPEND_AUDIO_THREADED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_AUDIO_THREADED))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_AUDIO_THREADED_CLASS</NAME>
+#define AGS_IS_APPEND_AUDIO_THREADED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_AUDIO_THREADED))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_AUDIO_THREADED_GET_CLASS</NAME>
+#define AGS_APPEND_AUDIO_THREADED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_AUDIO_THREADED, AgsAppendAudioThreadedClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAppendAudioThreaded</NAME>
+struct _AgsAppendAudioThreaded
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ AgsDevoutPlay *devout_play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAppendAudioThreadedClass</NAME>
+struct _AgsAppendAudioThreadedClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_append_audio_threaded_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_append_audio_threaded_new</NAME>
+<RETURNS>AgsAppendAudioThreaded * </RETURNS>
+GObject *audio_loop, AgsDevoutPlay *play
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPEND_CHANNEL</NAME>
+#define AGS_TYPE_APPEND_CHANNEL (ags_append_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_CHANNEL</NAME>
+#define AGS_APPEND_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_CHANNEL, AgsAppendChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_CHANNEL_CLASS</NAME>
+#define AGS_APPEND_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_CHANNEL, AgsAppendChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_CHANNEL</NAME>
+#define AGS_IS_APPEND_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_CHANNEL_CLASS</NAME>
+#define AGS_IS_APPEND_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_CHANNEL_GET_CLASS</NAME>
+#define AGS_APPEND_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_CHANNEL, AgsAppendChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAppendChannel</NAME>
+struct _AgsAppendChannel
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ GObject *channel;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAppendChannelClass</NAME>
+struct _AgsAppendChannelClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_append_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_append_channel_new</NAME>
+<RETURNS>AgsAppendChannel * </RETURNS>
+GObject *audio_loop, GObject *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SCROLL_ON_PLAY</NAME>
+#define AGS_TYPE_SCROLL_ON_PLAY (ags_scroll_on_play_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SCROLL_ON_PLAY</NAME>
+#define AGS_SCROLL_ON_PLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlay))
+</MACRO>
+<MACRO>
+<NAME>AGS_SCROLL_ON_PLAY_CLASS</NAME>
+#define AGS_SCROLL_ON_PLAY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlayClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SCROLL_ON_PLAY</NAME>
+#define AGS_IS_SCROLL_ON_PLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SCROLL_ON_PLAY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SCROLL_ON_PLAY_CLASS</NAME>
+#define AGS_IS_SCROLL_ON_PLAY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SCROLL_ON_PLAY))
+</MACRO>
+<MACRO>
+<NAME>AGS_SCROLL_ON_PLAY_GET_CLASS</NAME>
+#define AGS_SCROLL_ON_PLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlayClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsScrollOnPlay</NAME>
+struct _AgsScrollOnPlay
+{
+ AgsTask task;
+
+ GtkWidget *editor;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsScrollOnPlayClass</NAME>
+struct _AgsScrollOnPlayClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_scroll_on_play_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_scroll_on_play_new</NAME>
+<RETURNS>AgsScrollOnPlay * </RETURNS>
+GtkWidget *editor
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_OPEN_SINGLE_FILE</NAME>
+#define AGS_TYPE_OPEN_SINGLE_FILE (ags_open_single_file_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_OPEN_SINGLE_FILE</NAME>
+#define AGS_OPEN_SINGLE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFile))
+</MACRO>
+<MACRO>
+<NAME>AGS_OPEN_SINGLE_FILE_CLASS</NAME>
+#define AGS_OPEN_SINGLE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OPEN_SINGLE_FILE</NAME>
+#define AGS_IS_OPEN_SINGLE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_SINGLE_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OPEN_SINGLE_FILE_CLASS</NAME>
+#define AGS_IS_OPEN_SINGLE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPEN_SINGLE_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_OPEN_SINGLE_FILE_GET_CLASS</NAME>
+#define AGS_OPEN_SINGLE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFileClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsOpenSingleFile</NAME>
+struct _AgsOpenSingleFile
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsDevout *devout;
+
+ gchar *filename;
+ guint start_channel;
+ guint audio_channels;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsOpenSingleFileClass</NAME>
+struct _AgsOpenSingleFileClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_open_single_file_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_open_single_file_new</NAME>
+<RETURNS>AgsOpenSingleFile * </RETURNS>
+AgsChannel *channel, AgsDevout *devout, gchar *filename, guint start_channel, guint audio_channels
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DISPLAY_TACT</NAME>
+#define AGS_TYPE_DISPLAY_TACT (ags_display_tact_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DISPLAY_TACT</NAME>
+#define AGS_DISPLAY_TACT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DISPLAY_TACT, AgsDisplayTact))
+</MACRO>
+<MACRO>
+<NAME>AGS_DISPLAY_TACT_CLASS</NAME>
+#define AGS_DISPLAY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DISPLAY_TACT, AgsDisplayTactClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DISPLAY_TACT</NAME>
+#define AGS_IS_DISPLAY_TACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DISPLAY_TACT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DISPLAY_TACT_CLASS</NAME>
+#define AGS_IS_DISPLAY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DISPLAY_TACT))
+</MACRO>
+<MACRO>
+<NAME>AGS_DISPLAY_TACT_GET_CLASS</NAME>
+#define AGS_DISPLAY_TACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DISPLAY_TACT, AgsDisplayTactClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsDisplayTact</NAME>
+struct _AgsDisplayTact
+{
+ AgsTask task;
+
+ GtkWidget *navigation;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDisplayTactClass</NAME>
+struct _AgsDisplayTactClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_display_tact_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_display_tact_new</NAME>
+<RETURNS>AgsDisplayTact * </RETURNS>
+GtkWidget *navigation
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_EXPORT_OUTPUT</NAME>
+#define AGS_TYPE_EXPORT_OUTPUT (ags_export_output_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_OUTPUT</NAME>
+#define AGS_EXPORT_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutput))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_OUTPUT_CLASS</NAME>
+#define AGS_EXPORT_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutputClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPORT_OUTPUT</NAME>
+#define AGS_IS_EXPORT_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPORT_OUTPUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPORT_OUTPUT_CLASS</NAME>
+#define AGS_IS_EXPORT_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPORT_OUTPUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_OUTPUT_GET_CLASS</NAME>
+#define AGS_EXPORT_OUTPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutputClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsExportOutput</NAME>
+struct _AgsExportOutput
+{
+ AgsTask task;
+
+ AgsExportThread *export_thread;
+ AgsDevout *devout;
+ gchar *filename;
+ guint tic;
+ gboolean live_performance;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsExportOutputClass</NAME>
+struct _AgsExportOutputClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_export_output_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_export_output_new</NAME>
+<RETURNS>AgsExportOutput * </RETURNS>
+AgsExportThread *export_thread, AgsDevout *devout, gchar *filename, guint tic, gboolean live_performance
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TOGGLE_PATTERN_BIT</NAME>
+#define AGS_TYPE_TOGGLE_PATTERN_BIT (ags_toggle_pattern_bit_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TOGGLE_PATTERN_BIT</NAME>
+#define AGS_TOGGLE_PATTERN_BIT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TOGGLE_PATTERN_BIT, AgsTogglePatternBit))
+</MACRO>
+<MACRO>
+<NAME>AGS_TOGGLE_PATTERN_BIT_CLASS</NAME>
+#define AGS_TOGGLE_PATTERN_BIT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TOGGLE_PATTERN_BIT, AgsTogglePatternBitClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TOGGLE_PATTERN_BIT</NAME>
+#define AGS_IS_TOGGLE_PATTERN_BIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TOGGLE_PATTERN_BIT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TOGGLE_PATTERN_BIT_CLASS</NAME>
+#define AGS_IS_TOGGLE_PATTERN_BIT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TOGGLE_PATTERN_BIT))
+</MACRO>
+<MACRO>
+<NAME>AGS_TOGGLE_PATTERN_BIT_GET_CLASS</NAME>
+#define AGS_TOGGLE_PATTERN_BIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TOGGLE_PATTERN_BIT, AgsTogglePatternBitClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsTogglePatternBit</NAME>
+struct _AgsTogglePatternBit
+{
+ AgsTask task;
+
+ AgsPattern *pattern;
+ guint line;
+
+ guint index_i;
+ guint index_j;
+ guint bit;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTogglePatternBitClass</NAME>
+struct _AgsTogglePatternBitClass
+{
+ AgsTaskClass task;
+
+ void (*refresh_gui)(AgsTogglePatternBit *toggle_pattern_bit);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_toggle_pattern_bit_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toggle_pattern_bit_refresh_gui</NAME>
+<RETURNS>void </RETURNS>
+AgsTogglePatternBit *toggle_pattern_bit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toggle_pattern_bit_new</NAME>
+<RETURNS>AgsTogglePatternBit * </RETURNS>
+AgsPattern *pattern, guint line, guint index_i, guint index_j, guint bit
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_OPEN_FILE</NAME>
+#define AGS_TYPE_OPEN_FILE (ags_open_file_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_OPEN_FILE</NAME>
+#define AGS_OPEN_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_FILE, AgsOpenFile))
+</MACRO>
+<MACRO>
+<NAME>AGS_OPEN_FILE_CLASS</NAME>
+#define AGS_OPEN_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_FILE, AgsOpenFileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OPEN_FILE</NAME>
+#define AGS_IS_OPEN_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OPEN_FILE_CLASS</NAME>
+#define AGS_IS_OPEN_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPEN_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_OPEN_FILE_GET_CLASS</NAME>
+#define AGS_OPEN_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_FILE, AgsOpenFileClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsOpenFile</NAME>
+struct _AgsOpenFile
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ GSList *filenames;
+
+ gboolean overwrite_channels;
+ gboolean create_channels;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsOpenFileClass</NAME>
+struct _AgsOpenFileClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_open_file_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_open_file_new</NAME>
+<RETURNS>AgsOpenFile * </RETURNS>
+AgsAudio *audio, GSList *filenames, gboolean overwrite_channels, gboolean create_channels
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ADD_POINT_TO_SELECTION</NAME>
+#define AGS_TYPE_ADD_POINT_TO_SELECTION (ags_add_point_to_selection_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_POINT_TO_SELECTION</NAME>
+#define AGS_ADD_POINT_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_POINT_TO_SELECTION, AgsAddPointToSelection))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_POINT_TO_SELECTION_CLASS</NAME>
+#define AGS_ADD_POINT_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_POINT_TO_SELECTION, AgsAddPointToSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_POINT_TO_SELECTION</NAME>
+#define AGS_IS_ADD_POINT_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_POINT_TO_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_POINT_TO_SELECTION_CLASS</NAME>
+#define AGS_IS_ADD_POINT_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_POINT_TO_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_POINT_TO_SELECTION_GET_CLASS</NAME>
+#define AGS_ADD_POINT_TO_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_POINT_TO_SELECTION, AgsAddPointToSelectionClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAddPointToSelection</NAME>
+struct _AgsAddPointToSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+
+ gboolean replace_current_selection;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAddPointToSelectionClass</NAME>
+struct _AgsAddPointToSelectionClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_add_point_to_selection_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_add_point_to_selection_new</NAME>
+<RETURNS>AgsAddPointToSelection * </RETURNS>
+AgsNotation *notation, guint x, guint y, gboolean replace_current_selection
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CHANGE_TACT</NAME>
+#define AGS_TYPE_CHANGE_TACT (ags_change_tact_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANGE_TACT</NAME>
+#define AGS_CHANGE_TACT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANGE_TACT, AgsChangeTact))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANGE_TACT_CLASS</NAME>
+#define AGS_CHANGE_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANGE_TACT, AgsChangeTactClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANGE_TACT</NAME>
+#define AGS_IS_CHANGE_TACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANGE_TACT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANGE_TACT_CLASS</NAME>
+#define AGS_IS_CHANGE_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CHANGE_TACT))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANGE_TACT_GET_CLASS</NAME>
+#define AGS_CHANGE_TACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANGE_TACT, AgsChangeTactClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsChangeTact</NAME>
+struct _AgsChangeTact
+{
+ AgsTask task;
+
+ AgsNavigation *navigation;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsChangeTactClass</NAME>
+struct _AgsChangeTactClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_change_tact_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_change_tact_new</NAME>
+<RETURNS>AgsChangeTact * </RETURNS>
+AgsNavigation *navigation
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SET_AUDIO_CHANNELS</NAME>
+#define AGS_TYPE_SET_AUDIO_CHANNELS (ags_set_audio_channels_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_AUDIO_CHANNELS</NAME>
+#define AGS_SET_AUDIO_CHANNELS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannels))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_AUDIO_CHANNELS_CLASS</NAME>
+#define AGS_SET_AUDIO_CHANNELS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannelsClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_AUDIO_CHANNELS</NAME>
+#define AGS_IS_SET_AUDIO_CHANNELS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_AUDIO_CHANNELS))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_AUDIO_CHANNELS_CLASS</NAME>
+#define AGS_IS_SET_AUDIO_CHANNELS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_AUDIO_CHANNELS))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_AUDIO_CHANNELS_GET_CLASS</NAME>
+#define AGS_SET_AUDIO_CHANNELS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannelsClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSetAudioChannels</NAME>
+struct _AgsSetAudioChannels
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+ guint audio_channels;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSetAudioChannelsClass</NAME>
+struct _AgsSetAudioChannelsClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_set_audio_channels_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_set_audio_channels_new</NAME>
+<RETURNS>AgsSetAudioChannels * </RETURNS>
+AgsDevout *devout, guint audio_channels
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPEND_RECALL</NAME>
+#define AGS_TYPE_APPEND_RECALL (ags_append_recall_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_RECALL</NAME>
+#define AGS_APPEND_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_RECALL, AgsAppendRecall))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_RECALL_CLASS</NAME>
+#define AGS_APPEND_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_RECALL, AgsAppendRecallClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_RECALL</NAME>
+#define AGS_IS_APPEND_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPEND_RECALL_CLASS</NAME>
+#define AGS_IS_APPEND_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPEND_RECALL_GET_CLASS</NAME>
+#define AGS_APPEND_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_RECALL, AgsAppendRecallClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAppendRecall</NAME>
+struct _AgsAppendRecall
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ AgsDevoutPlay *devout_play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAppendRecallClass</NAME>
+struct _AgsAppendRecallClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_append_recall_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_append_recall_new</NAME>
+<RETURNS>AgsAppendRecall * </RETURNS>
+GObject *audio_loop, AgsDevoutPlay *devout_play
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPLY_SYNTH</NAME>
+#define AGS_TYPE_APPLY_SYNTH (ags_apply_synth_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_SYNTH</NAME>
+#define AGS_APPLY_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SYNTH, AgsApplySynth))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_SYNTH_CLASS</NAME>
+#define AGS_APPLY_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SYNTH, AgsApplySynthClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_SYNTH</NAME>
+#define AGS_IS_APPLY_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SYNTH))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_SYNTH_CLASS</NAME>
+#define AGS_IS_APPLY_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SYNTH))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_SYNTH_GET_CLASS</NAME>
+#define AGS_APPLY_SYNTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SYNTH, AgsApplySynthClass))
+</MACRO>
+<ENUM>
+<NAME>AgsApplySynthWave</NAME>
+typedef enum{
+ AGS_APPLY_SYNTH_INVALID,
+ AGS_APPLY_SYNTH_SIN,
+ AGS_APPLY_SYNTH_SAW,
+ AGS_APPLY_SYNTH_SQUARE,
+ AGS_APPLY_SYNTH_TRIANGLE,
+}AgsApplySynthWave;
+</ENUM>
+<STRUCT>
+<NAME>AgsApplySynth</NAME>
+struct _AgsApplySynth
+{
+ AgsTask task;
+
+ AgsChannel *start_channel;
+ guint count;
+
+ guint wave;
+
+ guint attack;
+ guint frame_count;
+ guint frequency;
+ guint phase;
+ guint start;
+
+ gdouble volume;
+
+ guint loop_start;
+ guint loop_end;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsApplySynthClass</NAME>
+struct _AgsApplySynthClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_apply_synth_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_apply_synth_new</NAME>
+<RETURNS>AgsApplySynth * </RETURNS>
+AgsChannel *start_channel, guint count, guint wave, guint attack, guint frame_count, guint frequency, guint phase, guint start, gdouble volume, guint loop_start, guint loop_end
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FREE_SELECTION</NAME>
+#define AGS_TYPE_FREE_SELECTION (ags_free_selection_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FREE_SELECTION</NAME>
+#define AGS_FREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FREE_SELECTION, AgsFreeSelection))
+</MACRO>
+<MACRO>
+<NAME>AGS_FREE_SELECTION_CLASS</NAME>
+#define AGS_FREE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FREE_SELECTION, AgsFreeSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FREE_SELECTION</NAME>
+#define AGS_IS_FREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FREE_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FREE_SELECTION_CLASS</NAME>
+#define AGS_IS_FREE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_FREE_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_FREE_SELECTION_GET_CLASS</NAME>
+#define AGS_FREE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_FREE_SELECTION, AgsFreeSelectionClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFreeSelection</NAME>
+struct _AgsFreeSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFreeSelectionClass</NAME>
+struct _AgsFreeSelectionClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_free_selection_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_free_selection_new</NAME>
+<RETURNS>AgsFreeSelection * </RETURNS>
+AgsNotation *notation
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CHANNEL_SET_RECYCLING</NAME>
+#define AGS_TYPE_CHANNEL_SET_RECYCLING (ags_channel_set_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANNEL_SET_RECYCLING</NAME>
+#define AGS_CHANNEL_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANNEL_SET_RECYCLING, AgsChannelSetRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANNEL_SET_RECYCLING_CLASS</NAME>
+#define AGS_CHANNEL_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANNEL_SET_RECYCLING, AgsChannelSetRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANNEL_SET_RECYCLING</NAME>
+#define AGS_IS_CHANNEL_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANNEL_SET_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CHANNEL_SET_RECYCLING_CLASS</NAME>
+#define AGS_IS_CHANNEL_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CHANNEL_SET_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_CHANNEL_SET_RECYCLING_GET_CLASS</NAME>
+#define AGS_CHANNEL_SET_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANNEL_SET_RECYCLING, AgsChannelSetRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsChannelSetRecycling</NAME>
+struct _AgsChannelSetRecycling
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+
+ AgsRecycling *first_recycling;
+ AgsRecycling *last_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsChannelSetRecyclingClass</NAME>
+struct _AgsChannelSetRecyclingClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_channel_set_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_channel_set_recycling_new</NAME>
+<RETURNS>AgsChannelSetRecycling * </RETURNS>
+AgsChannel *channel, AgsRecycling *first_recycling, AgsRecycling *last_recycling
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ADD_NOTE</NAME>
+#define AGS_TYPE_ADD_NOTE (ags_add_note_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_NOTE</NAME>
+#define AGS_ADD_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_NOTE, AgsAddNote))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_NOTE_CLASS</NAME>
+#define AGS_ADD_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_NOTE, AgsAddNoteClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_NOTE</NAME>
+#define AGS_IS_ADD_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ADD_NOTE_CLASS</NAME>
+#define AGS_IS_ADD_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_ADD_NOTE_GET_CLASS</NAME>
+#define AGS_ADD_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_NOTE, AgsAddNoteClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAddNote</NAME>
+struct _AgsAddNote
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ AgsNote *note;
+ gboolean use_selection_list;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAddNoteClass</NAME>
+struct _AgsAddNoteClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_add_note_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_add_note_new</NAME>
+<RETURNS>AgsAddNote * </RETURNS>
+AgsNotation *notation, AgsNote *note, gboolean use_selection_list
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_INIT_CHANNEL</NAME>
+#define AGS_TYPE_INIT_CHANNEL (ags_init_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_INIT_CHANNEL</NAME>
+#define AGS_INIT_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INIT_CHANNEL, AgsInitChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_INIT_CHANNEL_CLASS</NAME>
+#define AGS_INIT_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INIT_CHANNEL, AgsInitChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INIT_CHANNEL</NAME>
+#define AGS_IS_INIT_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INIT_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INIT_CHANNEL_CLASS</NAME>
+#define AGS_IS_INIT_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INIT_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_INIT_CHANNEL_GET_CLASS</NAME>
+#define AGS_INIT_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INIT_CHANNEL, AgsInitChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsInitChannel</NAME>
+struct _AgsInitChannel
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ gboolean play_pad;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsInitChannelClass</NAME>
+struct _AgsInitChannelClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_init_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_init_channel_new</NAME>
+<RETURNS>AgsInitChannel * </RETURNS>
+AgsChannel *channel, gboolean play_pad, gboolean playback, gboolean sequencer, gboolean notation
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SET_DEVOUT_PLAY_FLAGS</NAME>
+#define AGS_TYPE_SET_DEVOUT_PLAY_FLAGS (ags_set_devout_play_flags_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_DEVOUT_PLAY_FLAGS</NAME>
+#define AGS_SET_DEVOUT_PLAY_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS, AgsSetDevoutPlayFlags))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_DEVOUT_PLAY_FLAGS_CLASS</NAME>
+#define AGS_SET_DEVOUT_PLAY_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS, AgsSetDevoutPlayFlagsClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_DEVOUT_PLAY_FLAGS</NAME>
+#define AGS_IS_SET_DEVOUT_PLAY_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_DEVOUT_PLAY_FLAGS_CLASS</NAME>
+#define AGS_IS_SET_DEVOUT_PLAY_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_DEVOUT_PLAY_FLAGS_GET_CLASS</NAME>
+#define AGS_SET_DEVOUT_PLAY_FLAGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS, AgsSetDevoutPlayFlagsClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSetDevoutPlayFlags</NAME>
+struct _AgsSetDevoutPlayFlags
+{
+ AgsTask task;
+
+ AgsDevoutPlay *devout_play;
+ guint devout_play_flags;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSetDevoutPlayFlagsClass</NAME>
+struct _AgsSetDevoutPlayFlagsClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_set_devout_play_flags_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_set_devout_play_flags_new</NAME>
+<RETURNS>AgsSetDevoutPlayFlags * </RETURNS>
+AgsDevoutPlay *play, guint devout_play_flags
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_UNREF_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_UNREF_AUDIO_SIGNAL (ags_unref_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_UNREF_AUDIO_SIGNAL</NAME>
+#define AGS_UNREF_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_UNREF_AUDIO_SIGNAL, AgsUnrefAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_UNREF_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_UNREF_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_UNREF_AUDIO_SIGNAL, AgsUnrefAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_UNREF_AUDIO_SIGNAL</NAME>
+#define AGS_IS_UNREF_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_UNREF_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_UNREF_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_UNREF_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_UNREF_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_UNREF_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_UNREF_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_UNREF_AUDIO_SIGNAL, AgsUnrefAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsUnrefAudioSignal</NAME>
+struct _AgsUnrefAudioSignal
+{
+ AgsTask task;
+
+ AgsAudioSignal *audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsUnrefAudioSignalClass</NAME>
+struct _AgsUnrefAudioSignalClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_unref_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_unref_audio_signal_new</NAME>
+<RETURNS>AgsUnrefAudioSignal * </RETURNS>
+AgsAudioSignal *audio_signal
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CANCEL_RECALL</NAME>
+#define AGS_TYPE_CANCEL_RECALL (ags_cancel_recall_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_RECALL</NAME>
+#define AGS_CANCEL_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CANCEL_RECALL, AgsCancelRecall))
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_RECALL_CLASS</NAME>
+#define AGS_CANCEL_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CANCEL_RECALL, AgsCancelRecallClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CANCEL_RECALL</NAME>
+#define AGS_IS_CANCEL_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CANCEL_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CANCEL_RECALL_CLASS</NAME>
+#define AGS_IS_CANCEL_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CANCEL_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_CANCEL_RECALL_GET_CLASS</NAME>
+#define AGS_CANCEL_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CANCEL_RECALL, AgsCancelRecallClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCancelRecall</NAME>
+struct _AgsCancelRecall
+{
+ AgsTask task;
+
+ AgsRecall *recall;
+
+ AgsDevoutPlay *play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCancelRecallClass</NAME>
+struct _AgsCancelRecallClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_cancel_recall_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_cancel_recall_new</NAME>
+<RETURNS>AgsCancelRecall * </RETURNS>
+AgsRecall *recall, AgsDevoutPlay *play
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REMOVE_RECALL</NAME>
+#define AGS_TYPE_REMOVE_RECALL (ags_remove_recall_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_RECALL</NAME>
+#define AGS_REMOVE_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_RECALL, AgsRemoveRecall))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_RECALL_CLASS</NAME>
+#define AGS_REMOVE_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_RECALL, AgsRemoveRecallClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_RECALL</NAME>
+#define AGS_IS_REMOVE_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOVE_RECALL_CLASS</NAME>
+#define AGS_IS_REMOVE_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_RECALL))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOVE_RECALL_GET_CLASS</NAME>
+#define AGS_REMOVE_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_RECALL, AgsRemoveRecallClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRemoveRecall</NAME>
+struct _AgsRemoveRecall
+{
+ AgsTask task;
+
+ GObject *context;
+
+ AgsRecall *recall;
+ gboolean is_play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRemoveRecallClass</NAME>
+struct _AgsRemoveRecallClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_remove_recall_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remove_recall_new</NAME>
+<RETURNS>AgsRemoveRecall * </RETURNS>
+GObject *context, AgsRecall *recall, gboolean is_play
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SET_OUTPUT_DEVICE</NAME>
+#define AGS_TYPE_SET_OUTPUT_DEVICE (ags_set_output_device_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_OUTPUT_DEVICE</NAME>
+#define AGS_SET_OUTPUT_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDevice))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_OUTPUT_DEVICE_CLASS</NAME>
+#define AGS_SET_OUTPUT_DEVICE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDeviceClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_OUTPUT_DEVICE</NAME>
+#define AGS_IS_SET_OUTPUT_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_OUTPUT_DEVICE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_OUTPUT_DEVICE_CLASS</NAME>
+#define AGS_IS_SET_OUTPUT_DEVICE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_OUTPUT_DEVICE))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_OUTPUT_DEVICE_GET_CLASS</NAME>
+#define AGS_SET_OUTPUT_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDeviceClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSetOutputDevice</NAME>
+struct _AgsSetOutputDevice
+{
+ AgsTask task;
+
+ GObject *devout;
+ char *card_id;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSetOutputDeviceClass</NAME>
+struct _AgsSetOutputDeviceClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_set_output_device_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_set_output_device_new</NAME>
+<RETURNS>AgsSetOutputDevice * </RETURNS>
+GObject *devout, char *card_id
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_START_DEVOUT</NAME>
+#define AGS_TYPE_START_DEVOUT (ags_start_devout_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_START_DEVOUT</NAME>
+#define AGS_START_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_START_DEVOUT, AgsStartDevout))
+</MACRO>
+<MACRO>
+<NAME>AGS_START_DEVOUT_CLASS</NAME>
+#define AGS_START_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_START_DEVOUT, AgsStartDevoutClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_START_DEVOUT</NAME>
+#define AGS_IS_START_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_START_DEVOUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_START_DEVOUT_CLASS</NAME>
+#define AGS_IS_START_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_START_DEVOUT))
+</MACRO>
+<MACRO>
+<NAME>AGS_START_DEVOUT_GET_CLASS</NAME>
+#define AGS_START_DEVOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_START_DEVOUT, AgsStartDevoutClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsStartDevout</NAME>
+struct _AgsStartDevout
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsStartDevoutClass</NAME>
+struct _AgsStartDevoutClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_start_devout_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_start_devout_new</NAME>
+<RETURNS>AgsStartDevout * </RETURNS>
+AgsDevout *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SAVE_FILE</NAME>
+#define AGS_TYPE_SAVE_FILE (ags_save_file_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SAVE_FILE</NAME>
+#define AGS_SAVE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SAVE_FILE, AgsSaveFile))
+</MACRO>
+<MACRO>
+<NAME>AGS_SAVE_FILE_CLASS</NAME>
+#define AGS_SAVE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SAVE_FILE, AgsSaveFileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SAVE_FILE</NAME>
+#define AGS_IS_SAVE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SAVE_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SAVE_FILE_CLASS</NAME>
+#define AGS_IS_SAVE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SAVE_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_SAVE_FILE_GET_CLASS</NAME>
+#define AGS_SAVE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SAVE_FILE, AgsSaveFileClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSaveFile</NAME>
+struct _AgsSaveFile
+{
+ AgsTask task;
+
+ AgsFile *file;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSaveFileClass</NAME>
+struct _AgsSaveFileClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_save_file_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_save_file_new</NAME>
+<RETURNS>AgsSaveFile * </RETURNS>
+AgsFile *file
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SET_MUTED</NAME>
+#define AGS_TYPE_SET_MUTED (ags_set_muted_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_MUTED</NAME>
+#define AGS_SET_MUTED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_MUTED, AgsSetMuted))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_MUTED_CLASS</NAME>
+#define AGS_SET_MUTED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_MUTED, AgsSetMutedClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_MUTED</NAME>
+#define AGS_IS_SET_MUTED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_MUTED))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SET_MUTED_CLASS</NAME>
+#define AGS_IS_SET_MUTED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_MUTED))
+</MACRO>
+<MACRO>
+<NAME>AGS_SET_MUTED_GET_CLASS</NAME>
+#define AGS_SET_MUTED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_MUTED, AgsSetMutedClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSetMuted</NAME>
+struct _AgsSetMuted
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gboolean muted;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSetMutedClass</NAME>
+struct _AgsSetMutedClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_set_muted_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_set_muted_new</NAME>
+<RETURNS>AgsSetMuted * </RETURNS>
+GObject *gobject, gboolean muted
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPLY_BPM</NAME>
+#define AGS_TYPE_APPLY_BPM (ags_apply_bpm_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_BPM</NAME>
+#define AGS_APPLY_BPM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_BPM, AgsApplyBpm))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_BPM_CLASS</NAME>
+#define AGS_APPLY_BPM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_BPM, AgsApplyBpmClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_BPM</NAME>
+#define AGS_IS_APPLY_BPM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_BPM))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_BPM_CLASS</NAME>
+#define AGS_IS_APPLY_BPM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_BPM))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_BPM_GET_CLASS</NAME>
+#define AGS_APPLY_BPM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_BPM, AgsApplyBpmClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsApplyBpm</NAME>
+struct _AgsApplyBpm
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble bpm;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsApplyBpmClass</NAME>
+struct _AgsApplyBpmClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_apply_bpm_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_apply_bpm_new</NAME>
+<RETURNS>AgsApplyBpm * </RETURNS>
+GObject *gobject, gdouble bpm
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPLY_SEQUENCER_LENGTH</NAME>
+#define AGS_TYPE_APPLY_SEQUENCER_LENGTH (ags_apply_sequencer_length_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_SEQUENCER_LENGTH</NAME>
+#define AGS_APPLY_SEQUENCER_LENGTH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SEQUENCER_LENGTH, AgsApplySequencerLength))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_SEQUENCER_LENGTH_CLASS</NAME>
+#define AGS_APPLY_SEQUENCER_LENGTH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SEQUENCER_LENGTH, AgsApplySequencerLengthClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_SEQUENCER_LENGTH</NAME>
+#define AGS_IS_APPLY_SEQUENCER_LENGTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SEQUENCER_LENGTH))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_SEQUENCER_LENGTH_CLASS</NAME>
+#define AGS_IS_APPLY_SEQUENCER_LENGTH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SEQUENCER_LENGTH))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_SEQUENCER_LENGTH_GET_CLASS</NAME>
+#define AGS_APPLY_SEQUENCER_LENGTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SEQUENCER_LENGTH, AgsApplySequencerLengthClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsApplySequencerLength</NAME>
+struct _AgsApplySequencerLength
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble length;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsApplySequencerLengthClass</NAME>
+struct _AgsApplySequencerLengthClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_apply_sequencer_length_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_apply_sequencer_length_new</NAME>
+<RETURNS>AgsApplySequencerLength * </RETURNS>
+GObject *gobject, gdouble length
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPLY_TACT</NAME>
+#define AGS_TYPE_APPLY_TACT (ags_apply_tact_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_TACT</NAME>
+#define AGS_APPLY_TACT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_TACT, AgsApplyTact))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_TACT_CLASS</NAME>
+#define AGS_APPLY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_TACT, AgsApplyTactClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_TACT</NAME>
+#define AGS_IS_APPLY_TACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_TACT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLY_TACT_CLASS</NAME>
+#define AGS_IS_APPLY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_TACT))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLY_TACT_GET_CLASS</NAME>
+#define AGS_APPLY_TACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_TACT, AgsApplyTactClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsApplyTact</NAME>
+struct _AgsApplyTact
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble tact;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsApplyTactClass</NAME>
+struct _AgsApplyTactClass
+{
+ AgsTaskClass task;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_apply_tact_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_apply_tact_new</NAME>
+<RETURNS>AgsApplyTact * </RETURNS>
+GObject *gobject, gdouble tact
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUDIO_FILE</NAME>
+#define AGS_TYPE_AUDIO_FILE (ags_audio_file_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_FILE</NAME>
+#define AGS_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_FILE, AgsAudioFile))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_FILE_CLASS</NAME>
+#define AGS_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_FILE, AgsAudioFileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_FILE</NAME>
+#define AGS_IS_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_FILE_CLASS</NAME>
+#define AGS_IS_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_FILE_GET_CLASS</NAME>
+#define AGS_AUDIO_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO_FILE, AgsAudioFileClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAudioFile</NAME>
+struct _AgsAudioFile
+{
+ GObject object;
+
+ AgsDevout *devout;
+
+ gchar *name;
+ guint samplerate;
+ guint frames;
+ guint channels;
+ guint format;
+
+ guint start_channel;
+ guint audio_channels;
+
+ GList *audio_signal;
+
+ GObject *file;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAudioFileClass</NAME>
+struct _AgsAudioFileClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_audio_file_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_open</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsAudioFile *audio_file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_open_from_data</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsAudioFile *audio_file, gchar *data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_rw_open</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsAudioFile *audio_file, gboolean create
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_close</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioFile *audio_file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_read_audio_signal</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioFile *audio_file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_seek</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioFile *audio_file, guint frames, gint whence
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_write</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioFile *audio_file, signed short *buffer, guint buffer_size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_flush</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioFile *audio_file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_new</NAME>
+<RETURNS>AgsAudioFile * </RETURNS>
+gchar *name, AgsDevout *devout, guint start_channel, guint audio_channels
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SNDFILE</NAME>
+#define AGS_TYPE_SNDFILE (ags_sndfile_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SNDFILE</NAME>
+#define AGS_SNDFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SNDFILE, AgsSndfile))
+</MACRO>
+<MACRO>
+<NAME>AGS_SNDFILE_CLASS</NAME>
+#define AGS_SNDFILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SNDFILE, AgsSndfileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SNDFILE</NAME>
+#define AGS_IS_SNDFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SNDFILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SNDFILE_CLASS</NAME>
+#define AGS_IS_SNDFILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SNDFILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_SNDFILE_GET_CLASS</NAME>
+#define AGS_SNDFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SNDFILE, AgsSndfileClass))
+</MACRO>
+<ENUM>
+<NAME>AgsSndfileFlags</NAME>
+typedef enum{
+ AGS_SNDFILE_ITER_START = 1,
+ AGS_SNDFILE_VIRTUAL = 1 << 1,
+}AgsSndfileFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsSndfile</NAME>
+struct _AgsSndfile
+{
+ GObject object;
+
+ guint flags;
+
+ SF_INFO *info;
+ SNDFILE *file;
+
+ guchar *pointer;
+ guchar *current;
+ gsize length;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSndfileClass</NAME>
+struct _AgsSndfileClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_sndfile_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sndfile_new</NAME>
+<RETURNS>AgsSndfile * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_IPATCH_SF2_READER</NAME>
+#define AGS_TYPE_IPATCH_SF2_READER (ags_ipatch_sf2_reader_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_SF2_READER</NAME>
+#define AGS_IPATCH_SF2_READER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2Reader))
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_SF2_READER_CLASS</NAME>
+#define AGS_IPATCH_SF2_READER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2ReaderClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_IPATCH_SF2_READER</NAME>
+#define AGS_IS_IPATCH_SF2_READER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_IPATCH_SF2_READER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_IPATCH_SF2_READER_CLASS</NAME>
+#define AGS_IS_IPATCH_SF2_READER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_IPATCH_SF2_READER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_SF2_READER_GET_CLASS</NAME>
+#define AGS_IPATCH_SF2_READER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2ReaderClass))
+</MACRO>
+<ENUM>
+<NAME>AgsSF2Levels</NAME>
+typedef enum{
+ AGS_SF2_FILENAME = 0,
+ AGS_SF2_PHDR = 1,
+ AGS_SF2_IHDR = 2,
+ AGS_SF2_SHDR = 3,
+}AgsSF2Levels;
+</ENUM>
+<STRUCT>
+<NAME>AgsIpatchSF2Reader</NAME>
+struct _AgsIpatchSF2Reader
+{
+ GObject object;
+
+ AgsIpatch *ipatch;
+
+ gchar **selected;
+
+ IpatchSF2Reader *reader;
+
+ IpatchSF2 *sf2;
+
+ int bank;
+ int program;
+
+ IpatchContainer *preset;
+ IpatchContainer *instrument;
+ IpatchContainer *sample;
+
+ int count;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsIpatchSF2ReaderClass</NAME>
+struct _AgsIpatchSF2ReaderClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_ipatch_sf2_reader_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ipatch_sf2_reader_new</NAME>
+<RETURNS>AgsIpatchSF2Reader * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_IPATCH</NAME>
+#define AGS_TYPE_IPATCH (ags_ipatch_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH</NAME>
+#define AGS_IPATCH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH, AgsIpatch))
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_CLASS</NAME>
+#define AGS_IPATCH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH, AgsIpatchClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_IPATCH</NAME>
+#define AGS_IS_IPATCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_IPATCH))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_IPATCH_CLASS</NAME>
+#define AGS_IS_IPATCH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_IPATCH))
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_GET_CLASS</NAME>
+#define AGS_IPATCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_IPATCH, AgsIpatchClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_DEFAULT_CHANNELS</NAME>
+#define AGS_IPATCH_DEFAULT_CHANNELS 2
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_READ</NAME>
+#define AGS_IPATCH_READ "r"
+</MACRO>
+<MACRO>
+<NAME>AGS_IPATCH_WRITE</NAME>
+#define AGS_IPATCH_WRITE "w"
+</MACRO>
+<ENUM>
+<NAME>AgsIpatchFlags</NAME>
+typedef enum{
+ AGS_IPATCH_DLS2 = 1,
+ AGS_IPATCH_SF2 = 1 << 1,
+ AGS_IPATCH_GIG = 1 << 2,
+}AgsIpatchFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsIpatch</NAME>
+struct _AgsIpatch
+{
+ GObject object;
+
+ guint flags;
+
+ AgsDevout *devout;
+ GList *audio_signal;
+
+ IpatchFile *file;
+ char *filename;
+ char *mode;
+
+ IpatchFileHandle *handle;
+ GError *error;
+
+ IpatchBase *base;
+ GObject *reader;
+
+ IpatchList *samples;
+ GList *iter;
+
+ guint nth_level;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsIpatchClass</NAME>
+struct _AgsIpatchClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_ipatch_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ipatch_new</NAME>
+<RETURNS>AgsIpatch * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUDIO_FILE_XML</NAME>
+#define AGS_TYPE_AUDIO_FILE_XML (ags_audio_file_xml_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_FILE_XML</NAME>
+#define AGS_AUDIO_FILE_XML(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_AUDIO_FILE_XML, AgsAudioFileXml))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_FILE_XML_CLASS</NAME>
+#define AGS_AUDIO_FILE_XML_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_FILE_XML, AgsAudioFileXmlClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_FILE_XML</NAME>
+#define AGS_IS_AUDIO_FILE_XML(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, AGS_TYPE_AUDIO_FILE_XML))
+</MACRO>
+<STRUCT>
+<NAME>AgsAudioFileXml</NAME>
+struct _AgsAudioFileXml
+{
+ GObject object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAudioFileXmlClass</NAME>
+struct _AgsAudioFileXmlClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_audio_file_xml_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_file_xml_new</NAME>
+<RETURNS>AgsAudioFileXml * </RETURNS>
+AgsAudioFile *audio_file
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MUTE_RECYCLING</NAME>
+#define AGS_TYPE_MUTE_RECYCLING (ags_mute_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_RECYCLING</NAME>
+#define AGS_MUTE_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_RECYCLING, AgsMuteRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_RECYCLING_CLASS</NAME>
+#define AGS_MUTE_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_RECYCLING, AgsMuteRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_RECYCLING</NAME>
+#define AGS_IS_MUTE_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_RECYCLING_CLASS</NAME>
+#define AGS_IS_MUTE_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_RECYCLING_GET_CLASS</NAME>
+#define AGS_MUTE_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_RECYCLING, AgsMuteRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMuteRecycling</NAME>
+struct _AgsMuteRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMuteRecyclingClass</NAME>
+struct _AgsMuteRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mute_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mute_recycling_new</NAME>
+<RETURNS>AgsMuteRecycling * </RETURNS>
+AgsRecycling *source
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_NOTE</NAME>
+#define AGS_TYPE_PLAY_NOTE (ags_play_note_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTE</NAME>
+#define AGS_PLAY_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_NOTE, AgsPlayNote))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTE_CLASS</NAME>
+#define AGS_PLAY_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_NOTE, AgsPlayNote))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_NOTE</NAME>
+#define AGS_IS_PLAY_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_NOTE_CLASS</NAME>
+#define AGS_IS_PLAY_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_NOTE))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTE_GET_CLASS</NAME>
+#define AGS_PLAY_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_NOTE, AgsPlayNoteClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayNote</NAME>
+struct _AgsPlayNote
+{
+ AgsRecall recall;
+
+ AgsDevout *devout;
+
+ AgsChannel *channel;
+ AgsNote *note;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayNoteClass</NAME>
+struct _AgsPlayNoteClass
+{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_note_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_note_new</NAME>
+<RETURNS>AgsPlayNote * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_PATTERN_AUDIO</NAME>
+#define AGS_TYPE_COPY_PATTERN_AUDIO (ags_copy_pattern_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_AUDIO</NAME>
+#define AGS_COPY_PATTERN_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_AUDIO, AgsCopyPatternAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_AUDIO_CLASS</NAME>
+#define AGS_COPY_PATTERN_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_AUDIO, AgsCopyPatternAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_AUDIO</NAME>
+#define AGS_IS_COPY_PATTERN_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_AUDIO_CLASS</NAME>
+#define AGS_IS_COPY_PATTERN_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_AUDIO_GET_CLASS</NAME>
+#define AGS_COPY_PATTERN_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_AUDIO, AgsCopyPatternAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyPatternAudio</NAME>
+struct _AgsCopyPatternAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *bank_index_0;
+ AgsPort *bank_index_1;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyPatternAudioClass</NAME>
+struct _AgsCopyPatternAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_pattern_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_pattern_audio_new</NAME>
+<RETURNS>AgsCopyPatternAudio * </RETURNS>
+AgsDevout *devout, gdouble tact, guint i, guint j
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DELAY_AUDIO_RUN</NAME>
+#define AGS_TYPE_DELAY_AUDIO_RUN (ags_delay_audio_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DELAY_AUDIO_RUN</NAME>
+#define AGS_DELAY_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DELAY_AUDIO_RUN, AgsDelayAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_DELAY_AUDIO_RUN_CLASS</NAME>
+#define AGS_DELAY_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DELAY_AUDIO_RUN, AgsDelayAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DELAY_AUDIO_RUN</NAME>
+#define AGS_IS_DELAY_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DELAY_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DELAY_AUDIO_RUN_CLASS</NAME>
+#define AGS_IS_DELAY_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DELAY_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_DELAY_AUDIO_RUN_GET_CLASS</NAME>
+#define AGS_DELAY_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DELAY_AUDIO_RUN, AgsDelayAudioRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsDelayAudioRun</NAME>
+struct _AgsDelayAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ guint dependency_ref;
+
+ guint hide_ref;
+ guint hide_ref_counter;
+
+ guint notation_counter;
+ guint sequencer_counter;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDelayAudioRunClass</NAME>
+struct _AgsDelayAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+
+ void (*notation_alloc_output)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*notation_alloc_input)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*notation_count)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+
+ void (*sequencer_alloc_output)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*sequencer_alloc_input)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*sequencer_count)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_delay_audio_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_run_notation_alloc_output</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudioRun *delay_audio_run, guint run_order, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_run_notation_alloc_input</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudioRun *delay_audio_run, guint run_order, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_run_notation_count</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudioRun *delay_audio_run, guint run_order, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_run_sequencer_alloc_output</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudioRun *delay_audio_run, guint run_order, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_run_sequencer_alloc_input</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudioRun *delay_audio_run, guint run_order, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_run_sequencer_count</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudioRun *delay_audio_run, guint run_order, guint delay, guint attack
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_run_new</NAME>
+<RETURNS>AgsDelayAudioRun * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_VOLUME_CHANNEL</NAME>
+#define AGS_TYPE_VOLUME_CHANNEL (ags_volume_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_CHANNEL</NAME>
+#define AGS_VOLUME_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_VOLUME_CHANNEL, AgsVolumeChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_CHANNEL_CLASS</NAME>
+#define AGS_VOLUME_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_VOLUME_CHANNEL, AgsVolumeChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_CHANNEL</NAME>
+#define AGS_IS_VOLUME_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_VOLUME_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_CHANNEL_CLASS</NAME>
+#define AGS_IS_VOLUME_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_VOLUME_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_CHANNEL_GET_CLASS</NAME>
+#define AGS_VOLUME_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_VOLUME_CHANNEL, AgsVolumeChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsVolumeChannel</NAME>
+struct _AgsVolumeChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *volume;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsVolumeChannelClass</NAME>
+struct _AgsVolumeChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_volume_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_volume_channel_new</NAME>
+<RETURNS>AgsVolumeChannel * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_NOTATION_AUDIO_RUN</NAME>
+#define AGS_TYPE_PLAY_NOTATION_AUDIO_RUN (ags_play_notation_audio_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTATION_AUDIO_RUN</NAME>
+#define AGS_PLAY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN, AgsPlayNotationAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTATION_AUDIO_RUN_CLASS</NAME>
+#define AGS_PLAY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN, AgsPlayNotationAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_NOTATION_AUDIO_RUN</NAME>
+#define AGS_IS_PLAY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_NOTATION_AUDIO_RUN_CLASS</NAME>
+#define AGS_IS_PLAY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTATION_AUDIO_RUN_GET_CLASS</NAME>
+#define AGS_PLAY_NOTATION_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN, AgsPlayNotationAudioRunClass))
+</MACRO>
+<ENUM>
+<NAME>AgsPlayNotationAudioRunFlags</NAME>
+typedef enum{
+ AGS_PLAY_NOTATION_AUDIO_RUN_DEFAULT = 1,
+}AgsPlayNotationAudioRunFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsPlayNotationAudioRun</NAME>
+struct _AgsPlayNotationAudioRun
+{
+ AgsRecallAudioRun recall;
+
+ guint flags;
+
+ AgsDelayAudioRun *delay_audio_run;
+ gulong notation_alloc_input_handler;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayNotationAudioRunClass</NAME>
+struct _AgsPlayNotationAudioRunClass
+{
+ AgsRecallAudioRunClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_notation_audio_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_notation_audio_run_new</NAME>
+<RETURNS>AgsPlayNotationAudioRun * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_CHANNEL</NAME>
+#define AGS_TYPE_COPY_CHANNEL (ags_copy_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_CHANNEL</NAME>
+#define AGS_COPY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_CHANNEL, AgsCopyChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_CHANNEL_CLASS</NAME>
+#define AGS_COPY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_CHANNEL, AgsCopyChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_CHANNEL</NAME>
+#define AGS_IS_COPY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_CHANNEL_CLASS</NAME>
+#define AGS_IS_COPY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_CHANNEL_GET_CLASS</NAME>
+#define AGS_COPY_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_CHANNEL, AgsCopyChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyChannel</NAME>
+struct _AgsCopyChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyChannelClass</NAME>
+struct _AgsCopyChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_channel_new</NAME>
+<RETURNS>AgsCopyChannel * </RETURNS>
+AgsChannel *destination, AgsChannel *source
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PEAK_CHANNEL_RUN</NAME>
+#define AGS_TYPE_PEAK_CHANNEL_RUN (ags_peak_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PEAK_CHANNEL_RUN</NAME>
+#define AGS_PEAK_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PEAK_CHANNEL_RUN, AgsPeakChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_PEAK_CHANNEL_RUN_CLASS</NAME>
+#define AGS_PEAK_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_INSTANCE_CAST(class, AGS_TYPE_PEAK_CHANNEL_RUN, AgsPeakChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PEAK_CHANNEL_RUN</NAME>
+#define AGS_IS_PEAK_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PEAK_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PEAK_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_PEAK_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PEAK_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_PEAK_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_PEAK_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PEAK_CHANNEL_RUN, AgsPeakChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPeakChannelRun</NAME>
+struct _AgsPeakChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPeakChannelRunClass</NAME>
+struct _AgsPeakChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_peak_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_peak_channel_run_new</NAME>
+<RETURNS>AgsPeakChannelRun * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CLONE_CHANNEL</NAME>
+#define AGS_TYPE_CLONE_CHANNEL (ags_clone_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CLONE_CHANNEL</NAME>
+#define AGS_CLONE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLONE_CHANNEL, AgsCloneChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_CLONE_CHANNEL_CLASS</NAME>
+#define AGS_CLONE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CLONE_CHANNEL, AgsCloneChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CLONE_CHANNEL</NAME>
+#define AGS_IS_CLONE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLONE_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CLONE_CHANNEL_CLASS</NAME>
+#define AGS_IS_CLONE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLONE_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_CLONE_CHANNEL_GET_CLASS</NAME>
+#define AGS_CLONE_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_CLONE_CHANNEL, AgsCloneChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCloneChannel</NAME>
+struct _AgsCloneChannel
+{
+ AgsRecallChannel recall_channel;
+
+ guint audio_channel;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCloneChannelClass</NAME>
+struct _AgsCloneChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_clone_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_clone_channel_new</NAME>
+<RETURNS>AgsCloneChannel * </RETURNS>
+AgsDevout *devout, guint audio_channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_STREAM</NAME>
+#define AGS_TYPE_STREAM (ags_stream_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM</NAME>
+#define AGS_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_STREAM, AgsStream))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_CLASS</NAME>
+#define AGS_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_STREAM, AgsStream))
+</MACRO>
+<STRUCT>
+<NAME>AgsStream</NAME>
+struct _AgsStream{
+ AgsRecall recall;
+
+ AgsAudioSignal *audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsStreamClass</NAME>
+struct _AgsStreamClass{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_stream_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stream</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecallID *recall_id, gpointer data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stream_new</NAME>
+<RETURNS>AgsStream * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_PATTERN_AUDIO_RUN</NAME>
+#define AGS_TYPE_COPY_PATTERN_AUDIO_RUN (ags_copy_pattern_audio_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_AUDIO_RUN</NAME>
+#define AGS_COPY_PATTERN_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_AUDIO_RUN, AgsCopyPatternAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_AUDIO_RUN_CLASS</NAME>
+#define AGS_COPY_PATTERN_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_AUDIO_RUN, AgsCopyPatternAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_AUDIO_RUN</NAME>
+#define AGS_IS_COPY_PATTERN_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_AUDIO_RUN_CLASS</NAME>
+#define AGS_IS_COPY_PATTERN_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_AUDIO_RUN_GET_CLASS</NAME>
+#define AGS_COPY_PATTERN_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_AUDIO_RUN, AgsCopyPatternAudioRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyPatternAudioRun</NAME>
+struct _AgsCopyPatternAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ guint hide_ref;
+ guint hide_ref_counter;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyPatternAudioRunClass</NAME>
+struct _AgsCopyPatternAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_pattern_audio_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_pattern_audio_run_new</NAME>
+<RETURNS>AgsCopyPatternAudioRun * </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_PLAY_AUDIO_SIGNAL (ags_play_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_SIGNAL</NAME>
+#define AGS_PLAY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_AUDIO_SIGNAL, AgsPlayAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_PLAY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_AUDIO_SIGNAL, AgsPlayAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_AUDIO_SIGNAL</NAME>
+#define AGS_IS_PLAY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_PLAY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_PLAY_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_AUDIO_SIGNAL, AgsPlayAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayAudioSignal</NAME>
+struct _AgsPlayAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayAudioSignalClass</NAME>
+struct _AgsPlayAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_audio_signal_new</NAME>
+<RETURNS>AgsPlayAudioSignal * </RETURNS>
+AgsAudioSignal *source, AgsDevout *devout, guint audio_channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_STREAM_CHANNEL</NAME>
+#define AGS_TYPE_STREAM_CHANNEL (ags_stream_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_CHANNEL</NAME>
+#define AGS_STREAM_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_CHANNEL, AgsStreamChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_CHANNEL_CLASS</NAME>
+#define AGS_STREAM_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_CHANNEL, AgsStreamChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_CHANNEL</NAME>
+#define AGS_IS_STREAM_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_STREAM_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_CHANNEL_CLASS</NAME>
+#define AGS_IS_STREAM_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_STREAM_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_CHANNEL_GET_CLASS</NAME>
+#define AGS_STREAM_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_STREAM_CHANNEL, AgsStreamChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsStreamChannel</NAME>
+struct _AgsStreamChannel
+{
+ AgsRecallChannel recall_channel;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsStreamChannelClass</NAME>
+struct _AgsStreamChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_stream_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stream_channel_new</NAME>
+<RETURNS>AgsStreamChannel * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_RECYCLING</NAME>
+#define AGS_TYPE_PLAY_RECYCLING (ags_play_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_RECYCLING</NAME>
+#define AGS_PLAY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_RECYCLING, AgsPlayRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_RECYCLING_CLASS</NAME>
+#define AGS_PLAY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_RECYCLING, AgsPlayRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_RECYCLING</NAME>
+#define AGS_IS_PLAY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_RECYCLING_CLASS</NAME>
+#define AGS_IS_PLAY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_RECYCLING_GET_CLASS</NAME>
+#define AGS_PLAY_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_RECYCLING, AgsPlayRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayRecycling</NAME>
+struct _AgsPlayRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayRecyclingClass</NAME>
+struct _AgsPlayRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_recycling_new</NAME>
+<RETURNS>AgsPlayRecycling * </RETURNS>
+AgsRecycling *source, AgsDevout *devout, guint audio_channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_NOTATION_AUDIO</NAME>
+#define AGS_TYPE_COPY_NOTATION_AUDIO (ags_copy_notation_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_NOTATION_AUDIO</NAME>
+#define AGS_COPY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_NOTATION_AUDIO, AgsCopyNotationAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_NOTATION_AUDIO_CLASS</NAME>
+#define AGS_COPY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_NOTATION_AUDIO, AgsCopyNotationAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_NOTATION_AUDIO</NAME>
+#define AGS_IS_COPY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_NOTATION_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_NOTATION_AUDIO_CLASS</NAME>
+#define AGS_IS_COPY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_NOTATION_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_NOTATION_AUDIO_GET_CLASS</NAME>
+#define AGS_COPY_NOTATION_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_NOTATION_AUDIO, AgsCopyNotationAudioClass))
+</MACRO>
+<ENUM>
+<NAME>AgsCopyNotationAudioFlags</NAME>
+typedef enum{
+ AGS_COPY_NOTATION_AUDIO_FIT_AUDIO_SIGNAL = 1,
+}AgsCopyNotationAudioFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsCopyNotationAudio</NAME>
+struct _AgsCopyNotationAudio
+{
+ AgsRecallAudio recall_audio;
+
+ guint flags;
+
+ AgsDevout *devout;
+
+ AgsNotation *notation;
+ guint audio_channel;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyNotationAudioClass</NAME>
+struct _AgsCopyNotationAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_notation_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_notation_audio_new</NAME>
+<RETURNS>AgsCopyNotationAudio * </RETURNS>
+AgsDevout *devout, AgsNotation *notation, guint audio_channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MUTE_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_MUTE_AUDIO_SIGNAL (ags_mute_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_AUDIO_SIGNAL</NAME>
+#define AGS_MUTE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_AUDIO_SIGNAL, AgsMuteAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_MUTE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_AUDIO_SIGNAL, AgsMuteAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_AUDIO_SIGNAL</NAME>
+#define AGS_IS_MUTE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_MUTE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_MUTE_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_AUDIO_SIGNAL, AgsMuteAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMuteAudioSignal</NAME>
+struct _AgsMuteAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMuteAudioSignalClass</NAME>
+struct _AgsMuteAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mute_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mute_audio_signal_new</NAME>
+<RETURNS>AgsMuteAudioSignal * </RETURNS>
+AgsAudioSignal *source
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MUTE_CHANNEL</NAME>
+#define AGS_TYPE_MUTE_CHANNEL (ags_mute_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_CHANNEL</NAME>
+#define AGS_MUTE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_CHANNEL, AgsMuteChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_CHANNEL_CLASS</NAME>
+#define AGS_MUTE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_CHANNEL, AgsMuteChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_CHANNEL</NAME>
+#define AGS_IS_MUTE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_CHANNEL_CLASS</NAME>
+#define AGS_IS_MUTE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_CHANNEL_GET_CLASS</NAME>
+#define AGS_MUTE_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_CHANNEL, AgsMuteChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMuteChannel</NAME>
+struct _AgsMuteChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMuteChannelClass</NAME>
+struct _AgsMuteChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mute_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mute_channel_new</NAME>
+<RETURNS>AgsMuteChannel * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_BUFFER_CHANNEL</NAME>
+#define AGS_TYPE_BUFFER_CHANNEL (ags_buffer_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_CHANNEL</NAME>
+#define AGS_BUFFER_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_CHANNEL, AgsBufferChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_CHANNEL_CLASS</NAME>
+#define AGS_BUFFER_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_CHANNEL, AgsBufferChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_CHANNEL</NAME>
+#define AGS_IS_BUFFER_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BUFFER_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_CHANNEL_CLASS</NAME>
+#define AGS_IS_BUFFER_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BUFFER_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_CHANNEL_GET_CLASS</NAME>
+#define AGS_BUFFER_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BUFFER_CHANNEL, AgsBufferChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsBufferChannel</NAME>
+struct _AgsBufferChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsBufferChannelClass</NAME>
+struct _AgsBufferChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_buffer_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_buffer_channel_new</NAME>
+<RETURNS>AgsBufferChannel * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_BUFFER_RECYCLING</NAME>
+#define AGS_TYPE_BUFFER_RECYCLING (ags_buffer_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_RECYCLING</NAME>
+#define AGS_BUFFER_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_RECYCLING, AgsBufferRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_RECYCLING_CLASS</NAME>
+#define AGS_BUFFER_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_RECYCLING, AgsBufferRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_RECYCLING</NAME>
+#define AGS_IS_BUFFER_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BUFFER_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_RECYCLING_CLASS</NAME>
+#define AGS_IS_BUFFER_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BUFFER_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_RECYCLING_GET_CLASS</NAME>
+#define AGS_BUFFER_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BUFFER_RECYCLING, AgsBufferRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsBufferRecycling</NAME>
+struct _AgsBufferRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsBufferRecyclingClass</NAME>
+struct _AgsBufferRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_buffer_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_buffer_recycling_new</NAME>
+<RETURNS>AgsBufferRecycling * </RETURNS>
+AgsRecycling *recycling
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_NOTATION_AUDIO_RUN</NAME>
+#define AGS_TYPE_COPY_NOTATION_AUDIO_RUN (ags_copy_notation_audio_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_NOTATION_AUDIO_RUN</NAME>
+#define AGS_COPY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_NOTATION_AUDIO_RUN, AgsCopyNotationAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_NOTATION_AUDIO_RUN_CLASS</NAME>
+#define AGS_COPY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_NOTATION_AUDIO_RUN, AgsCopyNotationAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_NOTATION_AUDIO_RUN</NAME>
+#define AGS_IS_COPY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_NOTATION_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_NOTATION_AUDIO_RUN_CLASS</NAME>
+#define AGS_IS_COPY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_NOTATION_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_NOTATION_AUDIO_RUN_GET_CLASS</NAME>
+#define AGS_COPY_NOTATION_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_NOTATION_AUDIO_RUN, AgsCopyNotationAudioRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyNotationAudioRun</NAME>
+struct _AgsCopyNotationAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ gulong tic_alloc_input_handler;
+
+ GList *current_note;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyNotationAudioRunClass</NAME>
+struct _AgsCopyNotationAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_notation_audio_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_notation_audio_run_new</NAME>
+<RETURNS>AgsCopyNotationAudioRun * </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_VOLUME_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_VOLUME_AUDIO_SIGNAL (ags_volume_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_AUDIO_SIGNAL</NAME>
+#define AGS_VOLUME_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_VOLUME_AUDIO_SIGNAL, AgsVolumeAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_VOLUME_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_VOLUME_AUDIO_SIGNAL, AgsVolumeAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_AUDIO_SIGNAL</NAME>
+#define AGS_IS_VOLUME_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_VOLUME_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_VOLUME_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_VOLUME_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_VOLUME_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_VOLUME_AUDIO_SIGNAL, AgsVolumeAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsVolumeAudioSignal</NAME>
+struct _AgsVolumeAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsVolumeAudioSignalClass</NAME>
+struct _AgsVolumeAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_volume_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_volume_audio_signal_new</NAME>
+<RETURNS>AgsVolumeAudioSignal * </RETURNS>
+AgsAudioSignal *audio_signal
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_PATTERN_CHANNEL_RUN</NAME>
+#define AGS_TYPE_COPY_PATTERN_CHANNEL_RUN (ags_copy_pattern_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_CHANNEL_RUN</NAME>
+#define AGS_COPY_PATTERN_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN, AgsCopyPatternChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_CHANNEL_RUN_CLASS</NAME>
+#define AGS_COPY_PATTERN_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN, AgsCopyPatternChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_CHANNEL_RUN</NAME>
+#define AGS_IS_COPY_PATTERN_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_COPY_PATTERN_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_COPY_PATTERN_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN, AgsCopyPatternChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyPatternChannelRun</NAME>
+struct _AgsCopyPatternChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ gulong sequencer_alloc_handler;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyPatternChannelRunClass</NAME>
+struct _AgsCopyPatternChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_pattern_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_pattern_channel_run_new</NAME>
+<RETURNS>AgsCopyPatternChannelRun * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_AUDIO</NAME>
+#define AGS_TYPE_PLAY_AUDIO (ags_play_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO</NAME>
+#define AGS_PLAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_AUDIO, AgsPlayAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_CLASS</NAME>
+#define AGS_PLAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_AUDIO, AgsPlayAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_AUDIO</NAME>
+#define AGS_IS_PLAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_AUDIO_CLASS</NAME>
+#define AGS_IS_PLAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_GET_CLASS</NAME>
+#define AGS_PLAY_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_AUDIO, AgsPlayAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayAudio</NAME>
+struct _AgsPlayAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *muted;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayAudioClass</NAME>
+struct _AgsPlayAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_audio_new</NAME>
+<RETURNS>AgsPlayAudio * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_VOLUME_CHANNEL_RUN</NAME>
+#define AGS_TYPE_VOLUME_CHANNEL_RUN (ags_volume_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_CHANNEL_RUN</NAME>
+#define AGS_VOLUME_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_VOLUME_CHANNEL_RUN, AgsVolumeChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_CHANNEL_RUN_CLASS</NAME>
+#define AGS_VOLUME_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_INSTANCE_CAST(class, AGS_TYPE_VOLUME_CHANNEL_RUN, AgsVolumeChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_CHANNEL_RUN</NAME>
+#define AGS_IS_VOLUME_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_VOLUME_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_VOLUME_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_VOLUME_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_VOLUME_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_VOLUME_CHANNEL_RUN, AgsVolumeChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsVolumeChannelRun</NAME>
+struct _AgsVolumeChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsVolumeChannelRunClass</NAME>
+struct _AgsVolumeChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_volume_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_volume_channel_run_new</NAME>
+<RETURNS>AgsVolumeChannelRun * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_AUDIO_FILE</NAME>
+#define AGS_TYPE_PLAY_AUDIO_FILE (ags_play_audio_file_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_FILE</NAME>
+#define AGS_PLAY_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_AUDIO_FILE, AgsPlayAudioFile))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_FILE_CLASS</NAME>
+#define AGS_PLAY_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AgsPlayAudioFileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_AUDIO_FILE</NAME>
+#define AGS_IS_PLAY_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_AUDIO_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_AUDIO_FILE_CLASS</NAME>
+#define AGS_IS_PLAY_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_AUDIO_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_AUDIO_FILE_GET_CLASS</NAME>
+#define AGS_PLAY_AUDIO_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_AUDIO_FILE, AgsPlayAudioFileClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayAudioFile</NAME>
+struct _AgsPlayAudioFile
+{
+ AgsRecall recall;
+
+ AgsAudioFile *audio_file;
+ guint current_frame;
+
+ AgsDevout *devout;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayAudioFileClass</NAME>
+struct _AgsPlayAudioFileClass
+{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_audio_file_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_audio_file_new</NAME>
+<RETURNS>AgsPlayAudioFile * </RETURNS>
+AgsAudioFile *audio_file, AgsDevout *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_amplifier</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LOOP_CHANNEL_RUN</NAME>
+#define AGS_TYPE_LOOP_CHANNEL_RUN (ags_loop_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LOOP_CHANNEL_RUN</NAME>
+#define AGS_LOOP_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOOP_CHANNEL_RUN, AgsLoopChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_LOOP_CHANNEL_RUN_CLASS</NAME>
+#define AGS_LOOP_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LOOP_CHANNEL_RUN, AgsLoopChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LOOP_CHANNEL_RUN</NAME>
+#define AGS_IS_LOOP_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOOP_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LOOP_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_LOOP_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LOOP_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_LOOP_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_LOOP_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LOOP_CHANNEL_RUN, AgsLoopChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsLoopChannelRun</NAME>
+struct _AgsLoopChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ gulong start_handler;
+ gulong loop_handler;
+ gulong stop_handler;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLoopChannelRunClass</NAME>
+struct _AgsLoopChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_loop_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_loop_channel_run_new</NAME>
+<RETURNS>AgsLoopChannelRun * </RETURNS>
+AgsChannel *channel, AgsCountBeatsAudioRun *count_beats_audio_run, gboolean is_template
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_COPY_AUDIO_SIGNAL (ags_copy_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_AUDIO_SIGNAL</NAME>
+#define AGS_COPY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_AUDIO_SIGNAL, AgsCopyAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_COPY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_AUDIO_SIGNAL, AgsCopyAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_AUDIO_SIGNAL</NAME>
+#define AGS_IS_COPY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_COPY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_COPY_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_AUDIO_SIGNAL, AgsCopyAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyAudioSignal</NAME>
+struct _AgsCopyAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyAudioSignalClass</NAME>
+struct _AgsCopyAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_audio_signal_new</NAME>
+<RETURNS>AgsCopyAudioSignal * </RETURNS>
+AgsAudioSignal *destination, AgsAudioSignal *source, AgsDevout *devout, AgsAttack *attack
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PEAK_CHANNEL</NAME>
+#define AGS_TYPE_PEAK_CHANNEL (ags_peak_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PEAK_CHANNEL</NAME>
+#define AGS_PEAK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PEAK_CHANNEL, AgsPeakChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_PEAK_CHANNEL_CLASS</NAME>
+#define AGS_PEAK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PEAK_CHANNEL, AgsPeakChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PEAK_CHANNEL</NAME>
+#define AGS_IS_PEAK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PEAK_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PEAK_CHANNEL_CLASS</NAME>
+#define AGS_IS_PEAK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PEAK_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_PEAK_CHANNEL_GET_CLASS</NAME>
+#define AGS_PEAK_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PEAK_CHANNEL, AgsPeakChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPeakChannel</NAME>
+struct _AgsPeakChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *peak;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPeakChannelClass</NAME>
+struct _AgsPeakChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_peak_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_peak_channel_retrieve_peak</NAME>
+<RETURNS>void </RETURNS>
+AgsPeakChannel *peak_channel, gboolean is_play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_peak_channel_new</NAME>
+<RETURNS>AgsPeakChannel * </RETURNS>
+AgsChannel *source
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_CHANNEL</NAME>
+#define AGS_TYPE_PLAY_CHANNEL (ags_play_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL</NAME>
+#define AGS_PLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_CHANNEL, AgsPlayChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_CLASS</NAME>
+#define AGS_PLAY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_CHANNEL, AgsPlayChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_CHANNEL</NAME>
+#define AGS_IS_PLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAY_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_CHANNEL_CLASS</NAME>
+#define AGS_IS_PLAY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLAY_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_GET_CLASS</NAME>
+#define AGS_PLAY_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLAY_CHANNEL, AgsPlayChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayChannel</NAME>
+struct _AgsPlayChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *audio_channel;
+
+ AgsPort *muted;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayChannelClass</NAME>
+struct _AgsPlayChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_channel_new</NAME>
+<RETURNS>AgsPlayChannel * </RETURNS>
+AgsDevout *devout, guint audio_channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LOOP_CHANNEL</NAME>
+#define AGS_TYPE_LOOP_CHANNEL (ags_loop_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LOOP_CHANNEL</NAME>
+#define AGS_LOOP_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOOP_CHANNEL, AgsLoopChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_LOOP_CHANNEL_CLASS</NAME>
+#define AGS_LOOP_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LOOP_CHANNEL, AgsLoopChannelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LOOP_CHANNEL</NAME>
+#define AGS_IS_LOOP_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOOP_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LOOP_CHANNEL_CLASS</NAME>
+#define AGS_IS_LOOP_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LOOP_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_LOOP_CHANNEL_GET_CLASS</NAME>
+#define AGS_LOOP_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LOOP_CHANNEL, AgsLoopChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsLoopChannel</NAME>
+struct _AgsLoopChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsDelayAudio *delay_audio;
+ gulong sequencer_duration_changed_handler;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLoopChannelClass</NAME>
+struct _AgsLoopChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_loop_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_loop_channel_new</NAME>
+<RETURNS>AgsLoopChannel * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COUNT_BEATS_AUDIO</NAME>
+#define AGS_TYPE_COUNT_BEATS_AUDIO (ags_count_beats_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNT_BEATS_AUDIO</NAME>
+#define AGS_COUNT_BEATS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNT_BEATS_AUDIO, AgsCountBeatsAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNT_BEATS_AUDIO_CLASS</NAME>
+#define AGS_COUNT_BEATS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COUNT_BEATS_AUDIO, AgsCountBeatsAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COUNT_BEATS_AUDIO</NAME>
+#define AGS_IS_COUNT_BEATS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COUNT_BEATS_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COUNT_BEATS_AUDIO_CLASS</NAME>
+#define AGS_IS_COUNT_BEATS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COUNT_BEATS_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNT_BEATS_AUDIO_GET_CLASS</NAME>
+#define AGS_COUNT_BEATS_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COUNT_BEATS_AUDIO, AgsCountBeatsAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCountBeatsAudio</NAME>
+struct _AgsCountBeatsAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *loop;
+
+ AgsPort *notation_loop_start;
+ AgsPort *notation_loop_end;
+ AgsPort *sequencer_loop_start;
+ AgsPort *sequencer_loop_end;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCountBeatsAudioClass</NAME>
+struct _AgsCountBeatsAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_count_beats_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_new</NAME>
+<RETURNS>AgsCountBeatsAudio * </RETURNS>
+gboolean loop
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_NOTATION_AUDIO</NAME>
+#define AGS_TYPE_PLAY_NOTATION_AUDIO (ags_play_notation_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTATION_AUDIO</NAME>
+#define AGS_PLAY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_NOTATION_AUDIO, AgsPlayNotationAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTATION_AUDIO_CLASS</NAME>
+#define AGS_PLAY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_NOTATION_AUDIO, AgsPlayNotationAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_NOTATION_AUDIO</NAME>
+#define AGS_IS_PLAY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_NOTATION_AUDIO_CLASS</NAME>
+#define AGS_IS_PLAY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_NOTATION_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_NOTATION_AUDIO_GET_CLASS</NAME>
+#define AGS_PLAY_NOTATION_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO, AgsPlayNotationAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayNotationAudio</NAME>
+struct _AgsPlayNotationAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *notation;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayNotationAudioClass</NAME>
+struct _AgsPlayNotationAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_notation_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_notation_audio_new</NAME>
+<RETURNS>AgsPlayNotationAudio * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_STREAM_RECYCLING</NAME>
+#define AGS_TYPE_STREAM_RECYCLING (ags_stream_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_RECYCLING</NAME>
+#define AGS_STREAM_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_RECYCLING, AgsStreamRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_RECYCLING_CLASS</NAME>
+#define AGS_STREAM_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_RECYCLING, AgsStreamRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_RECYCLING</NAME>
+#define AGS_IS_STREAM_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_STREAM_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_RECYCLING_CLASS</NAME>
+#define AGS_IS_STREAM_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_STREAM_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_RECYCLING_GET_CLASS</NAME>
+#define AGS_STREAM_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_STREAM_RECYCLING, AgsStreamRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsStreamRecycling</NAME>
+struct _AgsStreamRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsStreamRecyclingClass</NAME>
+struct _AgsStreamRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_stream_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stream_recycling_new</NAME>
+<RETURNS>AgsStreamRecycling * </RETURNS>
+AgsRecycling *recycling
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DELAY_AUDIO</NAME>
+#define AGS_TYPE_DELAY_AUDIO (ags_delay_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DELAY_AUDIO</NAME>
+#define AGS_DELAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DELAY_AUDIO, AgsDelayAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_DELAY_AUDIO_CLASS</NAME>
+#define AGS_DELAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DELAY_AUDIO, AgsDelayAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DELAY_AUDIO</NAME>
+#define AGS_IS_DELAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DELAY_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DELAY_AUDIO_CLASS</NAME>
+#define AGS_IS_DELAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DELAY_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_DELAY_AUDIO_GET_CLASS</NAME>
+#define AGS_DELAY_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_DELAY_AUDIO, AgsDelayAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsDelayAudio</NAME>
+struct _AgsDelayAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *bpm;
+ AgsPort *tact;
+
+ AgsPort *notation_delay;
+ AgsPort *sequencer_delay;
+
+ AgsPort *sequencer_duration;
+ AgsPort *notation_duration;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDelayAudioClass</NAME>
+struct _AgsDelayAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+
+ void (*notation_duration_changed)(AgsDelayAudio *delay_audio);
+ void (*sequencer_duration_changed)(AgsDelayAudio *delay_audio);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_delay_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_notation_duration_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudio *delay_audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_sequencer_duration_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsDelayAudio *delay_audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_delay_audio_new</NAME>
+<RETURNS>AgsDelayAudio * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_BUFFER_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_BUFFER_AUDIO_SIGNAL (ags_buffer_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_AUDIO_SIGNAL</NAME>
+#define AGS_BUFFER_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_AUDIO_SIGNAL, AgsBufferAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_BUFFER_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_AUDIO_SIGNAL, AgsBufferAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_AUDIO_SIGNAL</NAME>
+#define AGS_IS_BUFFER_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BUFFER_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_BUFFER_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BUFFER_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_BUFFER_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BUFFER_AUDIO_SIGNAL, AgsBufferAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsBufferAudioSignal</NAME>
+struct _AgsBufferAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsBufferAudioSignalClass</NAME>
+struct _AgsBufferAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_buffer_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_buffer_audio_signal_new</NAME>
+<RETURNS>AgsBufferAudioSignal * </RETURNS>
+AgsAudioSignal *audio_signal
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_PATTERN_CHANNEL</NAME>
+#define AGS_TYPE_COPY_PATTERN_CHANNEL (ags_copy_pattern_channel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_CHANNEL</NAME>
+#define AGS_COPY_PATTERN_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_CHANNEL, AgsCopyPatternChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_CHANNEL_CLASS</NAME>
+#define AGS_COPY_PATTERN_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_CHANNEL, AgsCopyPatternChannel))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_CHANNEL</NAME>
+#define AGS_IS_COPY_PATTERN_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_PATTERN_CHANNEL_CLASS</NAME>
+#define AGS_IS_COPY_PATTERN_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_CHANNEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_PATTERN_CHANNEL_GET_CLASS</NAME>
+#define AGS_COPY_PATTERN_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL, AgsCopyPatternChannelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyPatternChannel</NAME>
+struct _AgsCopyPatternChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *pattern;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyPatternChannelClass</NAME>
+struct _AgsCopyPatternChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_pattern_channel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_pattern_channel_template_find_source_and_destination</NAME>
+<RETURNS>GList * </RETURNS>
+GList *recall, AgsChannel *destination, AgsChannel *source
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_pattern_channel_new</NAME>
+<RETURNS>AgsCopyPatternChannel * </RETURNS>
+AgsChannel *destination, AgsChannel *source, AgsPort *pattern
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_RECYCLING</NAME>
+#define AGS_TYPE_COPY_RECYCLING (ags_copy_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_RECYCLING</NAME>
+#define AGS_COPY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_RECYCLING, AgsCopyRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_RECYCLING_CLASS</NAME>
+#define AGS_COPY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_RECYCLING, AgsCopyRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_RECYCLING</NAME>
+#define AGS_IS_COPY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_RECYCLING_CLASS</NAME>
+#define AGS_IS_COPY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_RECYCLING_GET_CLASS</NAME>
+#define AGS_COPY_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_RECYCLING, AgsCopyRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCopyRecycling</NAME>
+struct _AgsCopyRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyRecyclingClass</NAME>
+struct _AgsCopyRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_recycling_new</NAME>
+<RETURNS>AgsCopyRecycling * </RETURNS>
+AgsRecycling *destination, AgsRecycling *source, AgsDevout *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MUTE_AUDIO</NAME>
+#define AGS_TYPE_MUTE_AUDIO (ags_mute_audio_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_AUDIO</NAME>
+#define AGS_MUTE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_AUDIO, AgsMuteAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_AUDIO_CLASS</NAME>
+#define AGS_MUTE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_AUDIO, AgsMuteAudio))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_AUDIO</NAME>
+#define AGS_IS_MUTE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_AUDIO_CLASS</NAME>
+#define AGS_IS_MUTE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_AUDIO))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_AUDIO_GET_CLASS</NAME>
+#define AGS_MUTE_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_AUDIO, AgsMuteAudioClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMuteAudio</NAME>
+struct _AgsMuteAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *muted;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMuteAudioClass</NAME>
+struct _AgsMuteAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mute_audio_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mute_audio_new</NAME>
+<RETURNS>AgsMuteAudio * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_CHANNEL_RUN_MASTER</NAME>
+#define AGS_TYPE_PLAY_CHANNEL_RUN_MASTER (ags_play_channel_run_master_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_RUN_MASTER</NAME>
+#define AGS_PLAY_CHANNEL_RUN_MASTER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER, AgsPlayChannelRunMaster))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_RUN_MASTER_CLASS</NAME>
+#define AGS_PLAY_CHANNEL_RUN_MASTER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER, AgsPlayChannelRunMasterClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_CHANNEL_RUN_MASTER</NAME>
+#define AGS_IS_PLAY_CHANNEL_RUN_MASTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_CHANNEL_RUN_MASTER_CLASS</NAME>
+#define AGS_IS_PLAY_CHANNEL_RUN_MASTER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_RUN_MASTER_GET_CLASS</NAME>
+#define AGS_PLAY_CHANNEL_RUN_MASTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER, AgsPlayChannelRunMasterClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER</NAME>
+#define AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER(strct) ((AgsPlayChannelRunMasterStreamer *)(strct))
+</MACRO>
+<ENUM>
+<NAME>AgsPlayChannelRunMasterFlags</NAME>
+typedef enum{
+ AGS_PLAY_CHANNEL_RUN_MASTER_TERMINATING = 1,
+}AgsPlayChannelRunMasterFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsPlayChannelRunMaster</NAME>
+struct _AgsPlayChannelRunMaster
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+
+ GList *streamer;
+
+ gulong source_recycling_changed_handler;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayChannelRunMasterClass</NAME>
+struct _AgsPlayChannelRunMasterClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayChannelRunMasterStreamer</NAME>
+struct _AgsPlayChannelRunMasterStreamer
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ AgsStreamChannelRun *stream_channel_run;
+ gulong done_handler;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_channel_run_master_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_channel_run_master_streamer_alloc</NAME>
+<RETURNS>AgsPlayChannelRunMasterStreamer * </RETURNS>
+AgsPlayChannelRunMaster *play_channel_run_master, AgsStreamChannelRun *stream_channel_run
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_channel_run_master_find_streamer</NAME>
+<RETURNS>GList * </RETURNS>
+GList *list, AgsStreamChannelRun *stream_channel_run
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_channel_run_master_new</NAME>
+<RETURNS>AgsPlayChannelRunMaster * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COUNT_BEATS_AUDIO_RUN</NAME>
+#define AGS_TYPE_COUNT_BEATS_AUDIO_RUN (ags_count_beats_audio_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNT_BEATS_AUDIO_RUN</NAME>
+#define AGS_COUNT_BEATS_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNT_BEATS_AUDIO_RUN_CLASS</NAME>
+#define AGS_COUNT_BEATS_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COUNT_BEATS_AUDIO_RUN</NAME>
+#define AGS_IS_COUNT_BEATS_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COUNT_BEATS_AUDIO_RUN_CLASS</NAME>
+#define AGS_IS_COUNT_BEATS_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COUNT_BEATS_AUDIO_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNT_BEATS_AUDIO_RUN_GET_CLASS</NAME>
+#define AGS_COUNT_BEATS_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCountBeatsAudioRun</NAME>
+struct _AgsCountBeatsAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ gboolean first_run;
+
+ guint notation_counter;
+ guint sequencer_counter;
+
+ guint recall_ref;
+
+ guint hide_ref;
+ guint notation_hide_ref_counter;
+ guint sequencer_hide_ref_counter;
+
+ gulong sequencer_alloc_output_handler;
+ gulong sequencer_count_handler;
+
+ gulong notation_alloc_output_handler;
+ gulong notation_count_handler;
+
+ AgsDelayAudioRun *delay_audio_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCountBeatsAudioRunClass</NAME>
+struct _AgsCountBeatsAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+
+ void (*notation_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*notation_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*notation_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+
+ void (*sequencer_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*sequencer_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*sequencer_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_notation_start</NAME>
+<RETURNS>void </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run, guint run_order
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_notation_loop</NAME>
+<RETURNS>void </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run, guint run_order
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_notation_stop</NAME>
+<RETURNS>void </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run, guint run_order
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_sequencer_start</NAME>
+<RETURNS>void </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run, guint run_order
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_sequencer_loop</NAME>
+<RETURNS>void </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run, guint run_order
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_sequencer_stop</NAME>
+<RETURNS>void </RETURNS>
+AgsCountBeatsAudioRun *count_beats_audio_run, guint run_order
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_count_beats_audio_run_new</NAME>
+<RETURNS>AgsCountBeatsAudioRun * </RETURNS>
+AgsDelayAudioRun *delay_audio_run
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_CHANNEL_RUN</NAME>
+#define AGS_TYPE_PLAY_CHANNEL_RUN (ags_play_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_RUN</NAME>
+#define AGS_PLAY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_CHANNEL_RUN, AgsPlayChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_RUN_CLASS</NAME>
+#define AGS_PLAY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_CHANNEL_RUN, AgsPlayChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_CHANNEL_RUN</NAME>
+#define AGS_IS_PLAY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAY_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAY_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_PLAY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLAY_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_PLAY_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLAY_CHANNEL_RUN, AgsPlayChannelRunClass))
+</MACRO>
+<ENUM>
+<NAME>AgsPlayChannelRunFlags</NAME>
+typedef enum{
+ AGS_PLAY_CHANNEL_RUN_TERMINATING = 1,
+ AGS_PLAY_CHANNEL_RUN_INITIAL_RUN = 1 << 1,
+}AgsPlayChannelRunFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsPlayChannelRun</NAME>
+struct _AgsPlayChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+
+ AgsStreamChannelRun *stream_channel_run;
+ gulong done_handler;
+
+ gulong source_recycling_changed_handler;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayChannelRunClass</NAME>
+struct _AgsPlayChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_channel_run_new</NAME>
+<RETURNS>AgsPlayChannelRun * </RETURNS>
+AgsStreamChannelRun *stream_channel_run
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_STREAM_CHANNEL_RUN</NAME>
+#define AGS_TYPE_STREAM_CHANNEL_RUN (ags_stream_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_CHANNEL_RUN</NAME>
+#define AGS_STREAM_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_CHANNEL_RUN, AgsStreamChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_CHANNEL_RUN_CLASS</NAME>
+#define AGS_STREAM_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_CHANNEL_RUN, AgsStreamChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_CHANNEL_RUN</NAME>
+#define AGS_IS_STREAM_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_STREAM_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_STREAM_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_STREAM_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_STREAM_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_STREAM_CHANNEL_RUN, AgsStreamChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsStreamChannelRun</NAME>
+struct _AgsStreamChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsStreamChannelRunClass</NAME>
+struct _AgsStreamChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_stream_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stream_channel_run_new</NAME>
+<RETURNS>AgsStreamChannelRun * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_BUFFER_CHANNEL_RUN</NAME>
+#define AGS_TYPE_BUFFER_CHANNEL_RUN (ags_buffer_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_CHANNEL_RUN</NAME>
+#define AGS_BUFFER_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_CHANNEL_RUN, AgsBufferChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_CHANNEL_RUN_CLASS</NAME>
+#define AGS_BUFFER_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_CHANNEL_RUN, AgsBufferChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_CHANNEL_RUN</NAME>
+#define AGS_IS_BUFFER_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_BUFFER_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_BUFFER_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_BUFFER_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_BUFFER_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_BUFFER_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_BUFFER_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_BUFFER_CHANNEL_RUN, AgsBufferChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsBufferChannelRun</NAME>
+struct _AgsBufferChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsBufferChannelRunClass</NAME>
+struct _AgsBufferChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_buffer_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_buffer_channel_run_new</NAME>
+<RETURNS>AgsBufferChannelRun * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_VOLUME_RECYCLING</NAME>
+#define AGS_TYPE_VOLUME_RECYCLING (ags_volume_recycling_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_RECYCLING</NAME>
+#define AGS_VOLUME_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_VOLUME_RECYCLING, AgsVolumeRecycling))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_RECYCLING_CLASS</NAME>
+#define AGS_VOLUME_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_VOLUME_RECYCLING, AgsVolumeRecyclingClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_RECYCLING</NAME>
+#define AGS_IS_VOLUME_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_VOLUME_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VOLUME_RECYCLING_CLASS</NAME>
+#define AGS_IS_VOLUME_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_VOLUME_RECYCLING))
+</MACRO>
+<MACRO>
+<NAME>AGS_VOLUME_RECYCLING_GET_CLASS</NAME>
+#define AGS_VOLUME_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_VOLUME_RECYCLING, AgsVolumeRecyclingClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsVolumeRecycling</NAME>
+struct _AgsVolumeRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsVolumeRecyclingClass</NAME>
+struct _AgsVolumeRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_volume_recycling_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_volume_recycling_new</NAME>
+<RETURNS>AgsVolumeRecycling * </RETURNS>
+AgsRecycling *recycling
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COPY_CHANNEL_RUN</NAME>
+#define AGS_TYPE_COPY_CHANNEL_RUN (ags_copy_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_CHANNEL_RUN</NAME>
+#define AGS_COPY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_CHANNEL_RUN, AgsCopyChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_CHANNEL_RUN_CLASS</NAME>
+#define AGS_COPY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_CHANNEL_RUN, AgsCopyChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_CHANNEL_RUN</NAME>
+#define AGS_IS_COPY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_COPY_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COPY_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_COPY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_COPY_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_COPY_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_COPY_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_COPY_CHANNEL_RUN, AgsCopyChannelRunClass))
+</MACRO>
+<ENUM>
+<NAME>AgsCopyChannelRunFlags</NAME>
+typedef enum{
+ AGS_COPY_CHANNEL_RUN_EXACT_LENGTH = 1,
+ AGS_COPY_CHANNEL_RUN_OMIT_FURTHER_ATTACK = 1 << 1,
+}AgsCopyChannelRunFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsCopyChannelRun</NAME>
+struct _AgsCopyChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCopyChannelRunClass</NAME>
+struct _AgsCopyChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_copy_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_copy_channel_run_new</NAME>
+<RETURNS>AgsCopyChannelRun * </RETURNS>
+AgsChannel *destination, AgsChannel *source, AgsDevout *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAY_PATTERN</NAME>
+#define AGS_TYPE_PLAY_PATTERN (ags_play_pattern_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_PATTERN</NAME>
+#define AGS_PLAY_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PLAY_PATTERN, AgsPlayPattern))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAY_PATTERN_CLASS</NAME>
+#define AGS_PLAY_PATTERN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PLAY_PATTERN, AgsPlayPattern))
+</MACRO>
+<STRUCT>
+<NAME>AgsPlayPattern</NAME>
+struct _AgsPlayPattern{
+ AgsRecall recall;
+
+ // AgsDelay *delay;
+
+ AgsChannel *channel;
+ AgsPattern *pattern;
+
+ guint i;
+ guint j;
+ guint bit;
+ guint length;
+
+ gboolean loop;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPlayPatternClass</NAME>
+struct _AgsPlayPatternClass{
+ AgsRecallClass recall;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_play_pattern_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_play_pattern_connect</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayPattern *play_pattern
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MUTE_CHANNEL_RUN</NAME>
+#define AGS_TYPE_MUTE_CHANNEL_RUN (ags_mute_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_CHANNEL_RUN</NAME>
+#define AGS_MUTE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_CHANNEL_RUN, AgsMuteChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_CHANNEL_RUN_CLASS</NAME>
+#define AGS_MUTE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_CHANNEL_RUN, AgsMuteChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_CHANNEL_RUN</NAME>
+#define AGS_IS_MUTE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MUTE_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTE_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_MUTE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MUTE_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTE_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_MUTE_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MUTE_CHANNEL_RUN, AgsMuteChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMuteChannelRun</NAME>
+struct _AgsMuteChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMuteChannelRunClass</NAME>
+struct _AgsMuteChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mute_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mute_channel_run_new</NAME>
+<RETURNS>AgsMuteChannelRun * </RETURNS>
+AgsChannel *source
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CLONE_CHANNEL_RUN</NAME>
+#define AGS_TYPE_CLONE_CHANNEL_RUN (ags_clone_channel_run_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CLONE_CHANNEL_RUN</NAME>
+#define AGS_CLONE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLONE_CHANNEL_RUN, AgsCloneChannelRun))
+</MACRO>
+<MACRO>
+<NAME>AGS_CLONE_CHANNEL_RUN_CLASS</NAME>
+#define AGS_CLONE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CLONE_CHANNEL_RUN, AgsCloneChannelRunClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CLONE_CHANNEL_RUN</NAME>
+#define AGS_IS_CLONE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CLONE_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CLONE_CHANNEL_RUN_CLASS</NAME>
+#define AGS_IS_CLONE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CLONE_CHANNEL_RUN))
+</MACRO>
+<MACRO>
+<NAME>AGS_CLONE_CHANNEL_RUN_GET_CLASS</NAME>
+#define AGS_CLONE_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CLONE_CHANNEL_RUN, AgsCloneChannelRunClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCloneChannelRun</NAME>
+struct _AgsCloneChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCloneChannelRunClass</NAME>
+struct _AgsCloneChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_clone_channel_run_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_clone_channel_run_new</NAME>
+<RETURNS>AgsCloneChannelRun * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_echo</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_STREAM_AUDIO_SIGNAL</NAME>
+#define AGS_TYPE_STREAM_AUDIO_SIGNAL (ags_stream_audio_signal_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_AUDIO_SIGNAL</NAME>
+#define AGS_STREAM_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_AUDIO_SIGNAL, AgsStreamAudioSignal))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_STREAM_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_AUDIO_SIGNAL, AgsStreamAudioSignalClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_AUDIO_SIGNAL</NAME>
+#define AGS_IS_STREAM_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_STREAM_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STREAM_AUDIO_SIGNAL_CLASS</NAME>
+#define AGS_IS_STREAM_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_STREAM_AUDIO_SIGNAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_STREAM_AUDIO_SIGNAL_GET_CLASS</NAME>
+#define AGS_STREAM_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_STREAM_AUDIO_SIGNAL, AgsStreamAudioSignalClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsStreamAudioSignal</NAME>
+struct _AgsStreamAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsStreamAudioSignalClass</NAME>
+struct _AgsStreamAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_stream_audio_signal_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stream_audio_signal_new</NAME>
+<RETURNS>AgsStreamAudioSignal * </RETURNS>
+AgsAudioSignal *audio_signal
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DIAL</NAME>
+#define AGS_TYPE_DIAL (ags_dial_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DIAL</NAME>
+#define AGS_DIAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DIAL, AgsDial))
+</MACRO>
+<MACRO>
+<NAME>AGS_DIAL_CLASS</NAME>
+#define AGS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DIAL, AgsDialClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DIAL</NAME>
+#define AGS_IS_DIAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DIAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DIAL_CLASS</NAME>
+#define AGS_IS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DIAL))
+</MACRO>
+<MACRO>
+<NAME>AGS_DIAL_GET_CLASS</NAME>
+#define AGS_DIAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DIAL, AgsDialClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_DIAL_DEFAULT_PRECISION</NAME>
+#define AGS_DIAL_DEFAULT_PRECISION (8.0)
+</MACRO>
+<ENUM>
+<NAME>AgsDialFlags</NAME>
+typedef enum{
+ AGS_DIAL_WITH_BUTTONS = 1,
+ AGS_DIAL_MOUSE_BUTTON_PRESSED = 1 << 1,
+ AGS_DIAL_BUTTON_DOWN_PRESSED = 1 << 2,
+ AGS_DIAL_BUTTON_UP_PRESSED = 1 << 3,
+ AGS_DIAL_MOTION_CAPTURING_INIT = 1 << 4,
+ AGS_DIAL_MOTION_CAPTURING = 1 << 5,
+ AGS_DIAL_IDLE = 1 << 6,
+}AgsDialFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsDial</NAME>
+struct _AgsDial
+{
+ GtkWidget widget;
+
+ guint flags;
+
+ guint radius;
+ guint outline_strength;
+ guint scale_precision;
+
+ guint font_size;
+ gint button_width;
+ gint button_height;
+ gint margin_left;
+ gint margin_right;
+
+ gdouble tolerance;
+ gdouble negated_tolerance;
+
+ gint sleep_interval;
+
+ GtkAdjustment *adjustment;
+
+ gdouble gravity_x;
+ gdouble gravity_y;
+ gdouble current_x;
+ gdouble current_y;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDialClass</NAME>
+struct _AgsDialClass
+{
+ GtkWidgetClass widget;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_dial_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_dial_new</NAME>
+<RETURNS>AgsDial * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_INDICATOR</NAME>
+#define AGS_TYPE_INDICATOR (ags_indicator_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_INDICATOR</NAME>
+#define AGS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsIndicator))
+</MACRO>
+<MACRO>
+<NAME>AGS_INDICATOR_CLASS</NAME>
+#define AGS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsIndicatorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INDICATOR</NAME>
+#define AGS_IS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INDICATOR_CLASS</NAME>
+#define AGS_IS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_INDICATOR_GET_CLASS</NAME>
+#define AGS_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsIndicatorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsIndicator</NAME>
+struct _AgsIndicator
+{
+ GtkWidget widget;
+
+ GtkAdjustment *adjustment;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsIndicatorClass</NAME>
+struct _AgsIndicatorClass
+{
+ GtkWidgetClass widget;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_indicator_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_indicator_new</NAME>
+<RETURNS>AgsIndicator * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SEGMENT</NAME>
+#define AGS_TYPE_SEGMENT (ags_segment_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SEGMENT</NAME>
+#define AGS_SEGMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SEGMENT, AgsSegment))
+</MACRO>
+<MACRO>
+<NAME>AGS_SEGMENT_CLASS</NAME>
+#define AGS_SEGMENT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SEGMENT, AgsSegmentClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SEGMENT</NAME>
+#define AGS_IS_SEGMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SEGMENT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SEGMENT_CLASS</NAME>
+#define AGS_IS_SEGMENT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SEGMENT))
+</MACRO>
+<MACRO>
+<NAME>AGS_SEGMENT_GET_CLASS</NAME>
+#define AGS_SEGMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SEGMENT, AgsSegmentClass))
+</MACRO>
+<ENUM>
+<NAME>AGS_SEGMENT_FLAGS</NAME>
+typedef enum{
+ AGS_SEGMENT_MONOCHROME = 1,
+ AGS_SEGMENT_COLOR_RED = 1 << 1,
+ AGS_SEGMENT_COLOR_BLUE = 1 << 2,
+ AGS_SGEMENT_COLOR_GREEN = 1 << 3,
+}AGS_SEGMENT_FLAGS;
+</ENUM>
+<ENUM>
+<NAME>AgsSegmentFields</NAME>
+typedef enum{
+ AGS_SEGMENT_UPPER_LEFT = 1,
+ AGS_SEGMENT_UPPER_RIGHT = 1 << 1,
+ AGS_SEGMENT_LOWER_LEFT = 1 << 2,
+ AGS_SEGMENT_LOWER_RIGHT = 1 << 3,
+ AGS_SEGMENT_LEFT_UPPER_1 = 1 << 4,
+ AGS_SEGMENT_LEFT_UPPER_2 = 1 << 5,
+ AGS_SEGMENT_LEFT_LOWER_1 = 1 << 6,
+ AGS_SEGMENT_LEFT_LOWER_2 = 1 << 7,
+ AGS_SEGMENT_RIGHT_UPPER_1 = 1 << 8,
+ AGS_SEGMENT_RIGHT_UPPER_2 = 1 << 9,
+ AGS_SEGMENT_RIGHT_LOWER_1 = 1 << 10,
+ AGS_SEGMENT_RIGHT_LOWER_2 = 1 << 11,
+ AGS_SEGMENT_DIAGONAL_UPPER_LEFT_1 = 1 << 12,
+ AGS_SEGMENT_DIAGONAL_UPPER_LEFT_2 = 1 << 13,
+ AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_1 = 1 << 14,
+ AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_2 = 1 << 15,
+ AGS_SEGMENT_DIAGONAL_LOWER_LEFT_1 = 1 << 16,
+ AGS_SEGMENT_DIAGONAL_LOWER_LEFT_2 = 1 << 17,
+ AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_1 = 1 << 18,
+ AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_2 = 1 << 19,
+}AgsSegmentFields;
+</ENUM>
+<STRUCT>
+<NAME>AgsSegment</NAME>
+struct _AgsSegment
+{
+ GtkWidget widget;
+
+ guint flags;
+
+ guint count;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSegmentClass</NAME>
+struct _AgsSegmentClass
+{
+ GtkWidgetClass widget;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_segment_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_segment_field_on</NAME>
+<RETURNS>void </RETURNS>
+AgsSegment *segment, guint field
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_segment_field_off</NAME>
+<RETURNS>void </RETURNS>
+AgsSegment *segment, guint field
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_segment_draw_string</NAME>
+<RETURNS>void </RETURNS>
+AgsSegment *segment, gchar **string
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_segment_new</NAME>
+<RETURNS>AgsSegment * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TABLE</NAME>
+#define AGS_TYPE_TABLE (ags_table_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TABLE</NAME>
+#define AGS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TABLE, AgsTable))
+</MACRO>
+<MACRO>
+<NAME>AGS_TABLE_CLASS</NAME>
+#define AGS_TABLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TABLE, AgsTableClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TABLE</NAME>
+#define AGS_IS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TABLE_CLASS</NAME>
+#define AGS_IS_TABLE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_TABLE_GET_CLASS</NAME>
+#define AGS_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TABLE, AgsTableClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsTable</NAME>
+struct _AgsTable
+{
+ GtkTable table;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTableClass</NAME>
+struct _AgsTableClass
+{
+ GtkTableClass table;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_table_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_table_new</NAME>
+<RETURNS>AgsTable * </RETURNS>
+guint row, guint columns, gboolean homogeneous
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RULER</NAME>
+#define AGS_TYPE_RULER (ags_ruler_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RULER</NAME>
+#define AGS_RULER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_RULER, AgsRuler))
+</MACRO>
+<MACRO>
+<NAME>AGS_RULER_CLASS</NAME>
+#define AGS_RULER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RULER, AgsRulerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RULER</NAME>
+#define AGS_IS_RULER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RULER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RULER_CLASS</NAME>
+#define AGS_IS_RULER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RULER))
+</MACRO>
+<MACRO>
+<NAME>AGS_RULER_GET_CLASS</NAME>
+#define AGS_RULER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RULER, AgsRulerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_RULER_DEFAULT_STEP</NAME>
+#define AGS_RULER_DEFAULT_STEP (16)
+</MACRO>
+<MACRO>
+<NAME>AGS_RULER_LARGE_STEP</NAME>
+#define AGS_RULER_LARGE_STEP (8.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_RULER_SMALL_STEP</NAME>
+#define AGS_RULER_SMALL_STEP (6.0)
+</MACRO>
+<STRUCT>
+<NAME>AgsRuler</NAME>
+struct _AgsRuler
+{
+ GtkWidget widget;
+
+ guint flags;
+
+ guint font_size;
+
+ GtkAdjustment *adjustment;
+
+ guint step;
+
+ gdouble factor;
+ gdouble precision;
+ gdouble scale_precision;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRulerClass</NAME>
+struct _AgsRulerClass
+{
+ GtkWidgetClass widget;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_ruler_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ruler_new</NAME>
+<RETURNS>AgsRuler * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_HTIMEBAR</NAME>
+#define AGS_TYPE_HTIMEBAR (ags_htimebar_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_HTIMEBAR</NAME>
+#define AGS_HTIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_HTIMEBAR, AgsHTimebar))
+</MACRO>
+<MACRO>
+<NAME>AGS_HTIMEBAR_CLASS</NAME>
+#define AGS_HTIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_HTIMEBAR, AgsHTimebarClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_HTIMEBAR</NAME>
+#define AGS_IS_HTIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_HTIMEBAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_HTIMEBAR_CLASS</NAME>
+#define AGS_IS_HTIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_HTIMEBAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_HTIMEBAR_GET_CLASS</NAME>
+#define AGS_HTIMEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_HTIMEBAR, AgsHTimebarClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsHTimebar</NAME>
+struct _AgsHTimebar
+{
+ AgsTimebar range;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsHTimebarClass</NAME>
+struct _AgsHTimebarClass
+{
+ AgsTimebarClass timebar;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_htimebar_new</NAME>
+<RETURNS>AgsHTimebar * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MENU</NAME>
+#define AGS_TYPE_MENU (ags_menu_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU</NAME>
+#define AGS_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MENU, AgsMenu))
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_CLASS</NAME>
+#define AGS_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MENU, AgsMenuClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MENU</NAME>
+#define AGS_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MENU))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MENU_CLASS</NAME>
+#define AGS_IS_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MENU))
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_GET_CLASS</NAME>
+#define AGS_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MENU, AgsMenuClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMenu</NAME>
+struct _AgsMenu
+{
+ GtkWindow window;
+
+ AgsTable *table;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMenuClass</NAME>
+struct _AgsMenuClass
+{
+ GtkWindowClass window;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_menu_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_new</NAME>
+<RETURNS>AgsMenu * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_OPTION_MENU</NAME>
+#define AGS_TYPE_OPTION_MENU (ags_option_menu_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_OPTION_MENU</NAME>
+#define AGS_OPTION_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPTION_MENU, AgsOptionMenu))
+</MACRO>
+<MACRO>
+<NAME>AGS_OPTION_MENU_CLASS</NAME>
+#define AGS_OPTION_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPTION_MENU, AgsOptionMenuClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OPTION_MENU</NAME>
+#define AGS_IS_OPTION_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPTION_MENU))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OPTION_MENU_CLASS</NAME>
+#define AGS_IS_OPTION_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPTION_MENU))
+</MACRO>
+<MACRO>
+<NAME>AGS_OPTION_MENU_GET_CLASS</NAME>
+#define AGS_OPTION_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPTION_MENU, AgsOptionMenuClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsOptionMenu</NAME>
+struct _AgsOptionMenu
+{
+ GtkHBox hbox;
+
+ GtkWidget *button;
+ AgsTable *table;
+
+ GtkWidget *menu;
+ GList *active_item;
+ GtkWidget *focus;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsOptionMenuClass</NAME>
+struct _AgsOptionMenuClass
+{
+ GtkHBoxClass hbox;
+
+ void (*changed)(AgsOptionMenu *option_menu);
+ void (*focus_changed)(AgsOptionMenu *option_menu);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_option_menu_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_option_menu_new</NAME>
+<RETURNS>AgsOptionMenu * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LED</NAME>
+#define AGS_TYPE_LED (ags_led_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LED</NAME>
+#define AGS_LED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LED, AgsLed))
+</MACRO>
+<MACRO>
+<NAME>AGS_LED_CLASS</NAME>
+#define AGS_LED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LED, AgsLedClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LED</NAME>
+#define AGS_IS_LED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LED))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LED_CLASS</NAME>
+#define AGS_IS_LED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_LED))
+</MACRO>
+<MACRO>
+<NAME>AGS_LED_GET_CLASS</NAME>
+#define AGS_LED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LED, AgsLedClass))
+</MACRO>
+<ENUM>
+<NAME>AgsLedFlags</NAME>
+typedef enum{
+ AGS_LED_ACTIVE = 1,
+}AgsLedFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsLed</NAME>
+struct _AgsLed
+{
+ GtkBin bin;
+
+ guint flags;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLedClass</NAME>
+struct _AgsLedClass
+{
+ GtkBinClass bin;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_led_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_led_set_active</NAME>
+<RETURNS>void </RETURNS>
+AgsLed *led
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_led_unset_active</NAME>
+<RETURNS>void </RETURNS>
+AgsLed *led
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_led_new</NAME>
+<RETURNS>AgsLed * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_WAVEFORM</NAME>
+#define AGS_TYPE_WAVEFORM (ags_waveform_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_WAVEFORM</NAME>
+#define AGS_WAVEFORM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_WAVEFORM, AgsWaveform))
+</MACRO>
+<MACRO>
+<NAME>AGS_WAVEFORM_CLASS</NAME>
+#define AGS_WAVEFORM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_WAVEFORM, AgsWaveformClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_WAVEFORM</NAME>
+#define AGS_IS_WAVEFORM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_WAVEFORM))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_WAVEFORM_CLASS</NAME>
+#define AGS_IS_WAVEFORM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_WAVEFORM))
+</MACRO>
+<MACRO>
+<NAME>AGS_WAVEFORM_GET_CLASS</NAME>
+#define AGS_WAVEFORM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_WAVEFORM, AgsWaveformClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsWaveform</NAME>
+struct _AgsWaveform
+{
+ GtkWidget widget;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsWaveformClass</NAME>
+struct _AgsWaveformClass
+{
+ GtkWidgetClass widget;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_waveform_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_waveform_new</NAME>
+<RETURNS>AgsWaveform * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_EXPANDER_SET</NAME>
+#define AGS_TYPE_EXPANDER_SET (ags_expander_set_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER_SET</NAME>
+#define AGS_EXPANDER_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPANDER_SET, AgsExpanderSet))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER_SET_CLASS</NAME>
+#define AGS_EXPANDER_SET_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPANDER_SET, AgsExpanderSetClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPANDER_SET</NAME>
+#define AGS_IS_EXPANDER_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPANDER_SET))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPANDER_SET_CLASS</NAME>
+#define AGS_IS_EXPANDER_SET_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPANDER_SET))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER_SET_GET_CLASS</NAME>
+#define AGS_EXPANDER_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPANDER_SET, AgsExpanderSetClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER_SET_CHILD</NAME>
+#define AGS_EXPANDER_SET_CHILD(ptr) ((AgsExpanderSetChild *)(ptr))
+</MACRO>
+<ENUM>
+<NAME>AgsExpanderSetFlags</NAME>
+typedef enum{
+ AGS_EXPANDER_SET_DRAW_GHOST = 1,
+ AGS_EXPANDER_SET_DRAW_LEFT_ENDING = 1 << 1,
+ AGS_EXPANDER_SET_DRAW_RIGHT_ENDING = 1 << 2,
+ AGS_EXPANDER_SET_DRAW_LEFT_CONNECTOR = 1 << 3,
+ AGS_EXPANDER_SET_DRAW_RIGHT_CONNECTOR = 1 << 4,
+}AgsExpanderSetFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsExpanderSet</NAME>
+struct _AgsExpanderSet
+{
+ GtkTable table;
+
+ guint flags;
+
+ GList *ghost;
+ GList *location;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsExpanderSetClass</NAME>
+struct _AgsExpanderSetClass
+{
+ GtkTableClass table;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsExpanderSetChild</NAME>
+struct _AgsExpanderSetChild
+{
+ GtkWidget *child;
+
+ guint x;
+ guint y;
+
+ guint width;
+ guint height;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_expander_set_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_set_child_alloc</NAME>
+<RETURNS>AgsExpanderSetChild * </RETURNS>
+guint x, guint y, guint width, guint height
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_set_child_find</NAME>
+<RETURNS>AgsExpanderSetChild * </RETURNS>
+AgsExpanderSet *expander_set, GtkWidget *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_set_set_flags</NAME>
+<RETURNS>void </RETURNS>
+AgsExpanderSet *expander_set, guint flags
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_set_add</NAME>
+<RETURNS>void </RETURNS>
+AgsExpanderSet *expander_set, GtkWidget *widget, guint x, guint y, guint width, guint height
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_set_remove</NAME>
+<RETURNS>void </RETURNS>
+AgsExpanderSet *expander_set, GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_set_new</NAME>
+<RETURNS>AgsExpanderSet * </RETURNS>
+guint width, guint height
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_CARTESIAN</NAME>
+#define AGS_TYPE_CARTESIAN (ags_cartesian_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_CARTESIAN</NAME>
+#define AGS_CARTESIAN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CARTESIAN, AgsCartesian))
+</MACRO>
+<MACRO>
+<NAME>AGS_CARTESIAN_CLASS</NAME>
+#define AGS_CARTESIAN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CARTESIAN, AgsCartesianClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CARTESIAN</NAME>
+#define AGS_IS_CARTESIAN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CARTESIAN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_CARTESIAN_CLASS</NAME>
+#define AGS_IS_CARTESIAN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CARTESIAN))
+</MACRO>
+<MACRO>
+<NAME>AGS_CARTESIAN_GET_CLASS</NAME>
+#define AGS_CARTESIAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CARTESIAN, AgsCartesianClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsCartesian</NAME>
+struct _AgsCartesian
+{
+ GtkWidget widget;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsCartesianClass</NAME>
+struct _AgsCartesianClass
+{
+ GtkWidgetClass widget;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_cartesian_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_cartesian_new</NAME>
+<RETURNS>AgsCartesian * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_HINDICATOR</NAME>
+#define AGS_TYPE_HINDICATOR (ags_hindicator_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_HINDICATOR</NAME>
+#define AGS_HINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsHIndicator))
+</MACRO>
+<MACRO>
+<NAME>AGS_HINDICATOR_CLASS</NAME>
+#define AGS_HINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsHIndicatorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_HINDICATOR</NAME>
+#define AGS_IS_HINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_HINDICATOR_CLASS</NAME>
+#define AGS_IS_HINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_HINDICATOR_GET_CLASS</NAME>
+#define AGS_HINDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsHIndicatorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsHIndicator</NAME>
+struct _AgsHIndicator
+{
+ AgsIndicator indicator;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsHIndicatorClass</NAME>
+struct _AgsHIndicatorClass
+{
+ GtkWidgetClass indicator;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_hindicator_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_hindicator_new</NAME>
+<RETURNS>AgsHIndicator * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MENU_ITEM</NAME>
+#define AGS_TYPE_MENU_ITEM (ags_menu_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_ITEM</NAME>
+#define AGS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MENU_ITEM, AgsMenuItem))
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_ITEM_CLASS</NAME>
+#define AGS_MENU_ITEM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MENU_ITEM, AgsMenuItemClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MENU_ITEM</NAME>
+#define AGS_IS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MENU_ITEM))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MENU_ITEM_CLASS</NAME>
+#define AGS_IS_MENU_ITEM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MENU_ITEM))
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_ITEM_GET_CLASS</NAME>
+#define AGS_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MENU_ITEM, AgsMenuItemClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMenuItem</NAME>
+struct _AgsMenuItem
+{
+ AgsTable table;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMenuItemClass</NAME>
+struct _AgsMenuItemClass
+{
+ AgsTableClass table;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_menu_item_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_item_new</NAME>
+<RETURNS>AgsMenuItem * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TIMEBAR</NAME>
+#define AGS_TYPE_TIMEBAR (ags_timebar_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMEBAR</NAME>
+#define AGS_TIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMEBAR, AgsTimebar))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMEBAR_CLASS</NAME>
+#define AGS_TIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TIMEBAR, AgsTimebarClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMEBAR</NAME>
+#define AGS_IS_TIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TIMEBAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMEBAR_CLASS</NAME>
+#define AGS_IS_TIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TIMEBAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMEBAR_GET_CLASS</NAME>
+#define AGS_TIMEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TIMEBAR, AgsTimebarClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsTimebar</NAME>
+struct _AgsTimebar
+{
+ GtkRange range;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTimebarClass</NAME>
+struct _AgsTimebarClass
+{
+ GtkRangeClass range;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_timebar_new</NAME>
+<RETURNS>AgsTimebar * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_EXPANDER</NAME>
+#define AGS_TYPE_EXPANDER (ags_expander_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER</NAME>
+#define AGS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPANDER, AgsExpander))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER_CLASS</NAME>
+#define AGS_EXPANDER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPANDER, AgsExpanderClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPANDER</NAME>
+#define AGS_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPANDER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPANDER_CLASS</NAME>
+#define AGS_IS_EXPANDER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPANDER))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER_GET_CLASS</NAME>
+#define AGS_EXPANDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPANDER, AgsExpanderClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPANDER_CHILD</NAME>
+#define AGS_EXPANDER_CHILD(ptr) ((AgsExpanderChild *)(ptr))
+</MACRO>
+<ENUM>
+<NAME>AgsExpanderFlags</NAME>
+typedef enum{
+ AGS_EXPANDER_DRAW_BORDER = 1,
+}AgsExpanderFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsExpander</NAME>
+struct _AgsExpander
+{
+ GtkExpander expander;
+
+ guint flags;
+
+ GtkTable *table;
+
+ GList *children;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsExpanderClass</NAME>
+struct _AgsExpanderClass
+{
+ GtkExpanderClass expander;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsExpanderChild</NAME>
+struct _AgsExpanderChild
+{
+ GtkWidget *child;
+
+ guint x;
+ guint y;
+
+ guint width;
+ guint height;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_expander_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_child_alloc</NAME>
+<RETURNS>AgsExpanderChild * </RETURNS>
+guint x, guint y, guint width, guint height
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_child_find</NAME>
+<RETURNS>AgsExpanderChild * </RETURNS>
+AgsExpander *expander, GtkWidget *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_add</NAME>
+<RETURNS>void </RETURNS>
+AgsExpander *expander, GtkWidget *widget, guint x, guint y, guint width, guint height
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_remove</NAME>
+<RETURNS>void </RETURNS>
+AgsExpander *expander, GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_expander_new</NAME>
+<RETURNS>AgsExpander * </RETURNS>
+guint width, guint height
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_VINDICATOR</NAME>
+#define AGS_TYPE_VINDICATOR (ags_vindicator_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_VINDICATOR</NAME>
+#define AGS_VINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsVIndicator))
+</MACRO>
+<MACRO>
+<NAME>AGS_VINDICATOR_CLASS</NAME>
+#define AGS_VINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsVIndicatorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VINDICATOR</NAME>
+#define AGS_IS_VINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_VINDICATOR_CLASS</NAME>
+#define AGS_IS_VINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_VINDICATOR_GET_CLASS</NAME>
+#define AGS_VINDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsVIndicatorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsVIndicator</NAME>
+struct _AgsVIndicator
+{
+ AgsIndicator indicator;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsVIndicatorClass</NAME>
+struct _AgsVIndicatorClass
+{
+ GtkWidgetClass indicator;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_vindicator_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_vindicator_new</NAME>
+<RETURNS>AgsVIndicator * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LINE_MEMBER_EDITOR</NAME>
+#define AGS_TYPE_LINE_MEMBER_EDITOR (ags_line_member_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_MEMBER_EDITOR</NAME>
+#define AGS_LINE_MEMBER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE_MEMBER_EDITOR, AgsLineMemberEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_MEMBER_EDITOR_CLASS</NAME>
+#define AGS_LINE_MEMBER_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE_MEMBER_EDITOR, AgsLineMemberEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE_MEMBER_EDITOR</NAME>
+#define AGS_IS_LINE_MEMBER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE_MEMBER_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE_MEMBER_EDITOR_CLASS</NAME>
+#define AGS_IS_LINE_MEMBER_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE_MEMBER_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_MEMBER_EDITOR_GET_CLASS</NAME>
+#define AGS_LINE_MEMBER_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE_MEMBER_EDITOR, AgsLineMemberEditorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsLineMemberEditor</NAME>
+struct _AgsLineMemberEditor
+{
+ GtkVBox vbox;
+
+ GtkVBox *line_member;
+
+ GtkButton *add;
+ GtkMenu *popup;
+
+ GtkButton *remove;
+
+ AgsLadspaBrowser *ladspa_browser;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLineMemberEditorClass</NAME>
+struct _AgsLineMemberEditorClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_line_member_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_editor_new</NAME>
+<RETURNS>AgsLineMemberEditor * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_editor_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsLinkEditor *link_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_editor_destroy_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkObject *object, AgsLinkEditor *link_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_editor_show_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsLinkEditor *link_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_editor_combo_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo, AgsLinkEditor *link_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_editor_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsPadEditor *pad_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_editor_destroy_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkObject *object, AgsPadEditor *pad_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_editor_show_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsPadEditor *pad_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_editor_set_audio_channels_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, guint audio_channels, guint audio_channels_old, AgsPadEditor *pad_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_property_collection_editor_add_collection_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkButton *button, AgsPropertyCollectionEditor *property_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_property_collection_editor_remove_collection_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkButton *button, GtkTable *table
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MACHINE</NAME>
+#define AGS_TYPE_MACHINE (ags_machine_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE</NAME>
+#define AGS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE, AgsMachine))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_CLASS</NAME>
+#define AGS_MACHINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE, AgsMachineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE</NAME>
+#define AGS_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MACHINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_CLASS</NAME>
+#define AGS_IS_MACHINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MACHINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_GET_CLASS</NAME>
+#define AGS_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MACHINE, AgsMachineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_DEFAULT_VERSION</NAME>
+#define AGS_MACHINE_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_DEFAULT_BUILD_ID</NAME>
+#define AGS_MACHINE_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<ENUM>
+<NAME>AgsMachineFlags</NAME>
+typedef enum{
+ AGS_MACHINE_SOLO = 1,
+ AGS_MACHINE_IS_EFFECT = 1 << 1,
+ AGS_MACHINE_IS_SEQUENCER = 1 << 2,
+ AGS_MACHINE_IS_SYNTHESIZER = 1 << 3,
+ AGS_MACHINE_TAKES_FILE_INPUT = 1 << 4,
+ AGS_MACHINE_MAPPED_RECALL = 1 << 5,
+ AGS_MACHINE_PREMAPPED_RECALL = 1 << 6,
+ AGS_MACHINE_BLOCK_PLAY = 1 << 7,
+ AGS_MACHINE_BLOCK_STOP = 1 << 8,
+}AgsMachineFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsMachineFileInputFlags</NAME>
+typedef enum{
+ AGS_MACHINE_ACCEPT_WAV = 1,
+ AGS_MACHINE_ACCEPT_OGG = 1 << 1,
+ AGS_MACHINE_ACCEPT_SOUNDFONT2 = 1 << 2,
+}AgsMachineFileInputFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsMachine</NAME>
+struct _AgsMachine
+{
+ GtkHandleBox handle_box;
+
+ GObject *ags_main;
+
+ char *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ guint flags;
+ guint file_input_flags;
+
+ AgsAudio *audio;
+
+ GtkToggleButton *play;
+
+ GType output_pad_type;
+ GType output_line_type;
+ GtkContainer *output;
+
+ GType input_pad_type;
+ GType input_line_type;
+ GtkContainer *input;
+
+ GList *port;
+
+ GtkMenu *popup;
+ GtkDialog *properties;
+ GtkDialog *rename;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMachineClass</NAME>
+struct _AgsMachineClass
+{
+ GtkHandleBoxClass handle_box;
+
+ void (*add_default_recalls)(AgsMachine *machine);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_machine_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_add_default_recalls</NAME>
+<RETURNS>void </RETURNS>
+AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_get_possible_links</NAME>
+<RETURNS>GtkListStore * </RETURNS>
+AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_find_by_name</NAME>
+<RETURNS>AgsMachine * </RETURNS>
+GList *list, char *name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_find_port</NAME>
+<RETURNS>void </RETURNS>
+AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_set_run</NAME>
+<RETURNS>void </RETURNS>
+AgsMachine *machine, gboolean run
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_file_chooser_dialog_new</NAME>
+<RETURNS>GtkFileChooserDialog * </RETURNS>
+AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_open_files</NAME>
+<RETURNS>void </RETURNS>
+AgsMachine *machine, GSList *filenames, gboolean overwrite_channels, gboolean create_channels
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_new</NAME>
+<RETURNS>AgsMachine * </RETURNS>
+GObject *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LADSPA_BROWSER</NAME>
+#define AGS_TYPE_LADSPA_BROWSER (ags_ladspa_browser_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LADSPA_BROWSER</NAME>
+#define AGS_LADSPA_BROWSER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_LADSPA_BROWSER, AgsLadspaBrowser))
+</MACRO>
+<MACRO>
+<NAME>AGS_LADSPA_BROWSER_CLASS</NAME>
+#define AGS_LADSPA_BROWSER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LADSPA_BROWSER, AgsLadspaBrowserClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LADSPA_BROWSER</NAME>
+#define AGS_IS_LADSPA_BROWSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LADSPA_BROWSER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LADSPA_BROWSER_CLASS</NAME>
+#define AGS_IS_LADSPA_BROWSER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LADSPA_BROWSER))
+</MACRO>
+<MACRO>
+<NAME>AGS_LADSPA_BROWSER_GET_CLASS</NAME>
+#define AGS_LADSPA_BROWSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LADSPA_BROWSER, AgsLadspaBrowserClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsLadspaBrowser</NAME>
+struct _AgsLadspaBrowser
+{
+ GtkDialog dialog;
+
+ GtkWidget *parent;
+
+ gchar *path;
+
+ GtkHBox *plugin;
+ GtkVBox *description;
+
+ GtkWidget *preview;
+
+ GtkButton *apply;
+ GtkButton *ok;
+ GtkButton *cancel;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLadspaBrowserClass</NAME>
+struct _AgsLadspaBrowserClass
+{
+ GtkDialogClass dialog;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_ladspa_browser_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_get_plugin_filename</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsLadspaBrowser *ladspa_browser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_get_plugin_effect</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsLadspaBrowser *ladspa_browser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_combo_box_controls_new</NAME>
+<RETURNS>GtkWidget * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_preview_new</NAME>
+<RETURNS>GtkWidget * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_new</NAME>
+<RETURNS>AgsLadspaBrowser * </RETURNS>
+GtkWidget *parent
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_EDITOR</NAME>
+#define AGS_TYPE_EDITOR (ags_editor_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_EDITOR</NAME>
+#define AGS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EDITOR, AgsEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_EDITOR_CLASS</NAME>
+#define AGS_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EDITOR, AgsEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EDITOR</NAME>
+#define AGS_IS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EDITOR_CLASS</NAME>
+#define AGS_IS_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_EDITOR_GET_CLASS</NAME>
+#define AGS_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_EDITOR, AgsEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_EDITOR_DEFAULT_VERSION</NAME>
+#define AGS_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_EDITOR_DEFAULT_BUILD_ID</NAME>
+#define AGS_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_EDITOR_DEFAULT</NAME>
+#define AGS_EDITOR_DEFAULT "default\0"
+</MACRO>
+<STRUCT>
+<NAME>AgsEditor</NAME>
+struct _AgsEditor
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsDevout *devout;
+
+ AgsMachineSelector *machine_selector;
+ AgsMachine *selected_machine;
+ gulong set_audio_channels_handler;
+ gulong set_pads_handler;
+
+ AgsToolbar *toolbar;
+
+ AgsNotebook *notebook;
+
+ AgsMeter *meter;
+ AgsNoteEdit *note_edit;
+
+ guint tact_counter;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsEditorClass</NAME>
+struct _AgsEditorClass
+{
+ GtkVBoxClass vbox;
+
+ void (*machine_changed)(AgsEditor *editor, AgsMachine *machine);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_editor_machine_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsEditor *editor, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_editor_new</NAME>
+<RETURNS>AgsEditor * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LINE_EDITOR</NAME>
+#define AGS_TYPE_LINE_EDITOR (ags_line_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_EDITOR</NAME>
+#define AGS_LINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE_EDITOR, AgsLineEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_EDITOR_CLASS</NAME>
+#define AGS_LINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE_EDITOR, AgsLineEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE_EDITOR</NAME>
+#define AGS_IS_LINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE_EDITOR_CLASS</NAME>
+#define AGS_IS_LINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_EDITOR_GET_CLASS</NAME>
+#define AGS_LINE_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE_EDITOR, AgsLineEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_EDITOR_DEFAULT_VERSION</NAME>
+#define AGS_LINE_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_EDITOR_DEFAULT_BUILD_ID</NAME>
+#define AGS_LINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<STRUCT>
+<NAME>AgsLineEditor</NAME>
+struct _AgsLineEditor
+{
+ GtkVBox vbox;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ AgsLinkEditor *link_editor;
+ AgsLineMemberEditor *member_editor;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLineEditorClass</NAME>
+struct _AgsLineEditorClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_line_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_editor_set_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsLineEditor *line_editor, AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_editor_new</NAME>
+<RETURNS>AgsLineEditor * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PROPERTY_COLLECTION_EDITOR</NAME>
+#define AGS_TYPE_PROPERTY_COLLECTION_EDITOR (ags_property_collection_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_COLLECTION_EDITOR</NAME>
+#define AGS_PROPERTY_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PROPERTY_COLLECTION_EDITOR, AgsPropertyCollectionEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_COLLECTION_EDITOR_CLASS</NAME>
+#define AGS_PROPERTY_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PROPERTY_COLLECTION_EDITOR, AgsPropertyCollectionEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PROPERTY_COLLECTION_EDITOR</NAME>
+#define AGS_IS_PROPERTY_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PROPERTY_COLLECTION_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PROPERTY_COLLECTION_EDITOR_CLASS</NAME>
+#define AGS_IS_PROPERTY_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PROPERTY_COLLECTION_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_COLLECTION_EDITOR_GET_CLASS</NAME>
+#define AGS_PROPERTY_COLLECTION_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PROPERTY_COLLECTION_EDITOR, AgsPropertyCollectionEditorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPropertyCollectionEditor</NAME>
+struct _AgsPropertyCollectionEditor
+{
+ AgsPropertyEditor property_editor;
+
+ GType child_type;
+ guint child_parameter_count;
+ GParameter *child_parameter;
+
+ GtkVBox *child;
+
+ GtkButton *add_collection;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPropertyCollectionEditorClass</NAME>
+struct _AgsPropertyCollectionEditorClass
+{
+ AgsPropertyEditorClass property_editor;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_property_collection_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_property_collection_editor_new</NAME>
+<RETURNS>AgsPropertyCollectionEditor * </RETURNS>
+GType child_type, guint child_parameter_count, GParameter *child_parameter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_editor_destroy_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkObject *object, AgsLineEditor *line_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_editor_show_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsLineEditor *line_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_editor_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsLineEditor *line_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_destroy_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkObject *object, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_button_press_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *handle_box, GdkEventButton *event, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_popup_move_up_activate_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_popup_move_down_activate_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_popup_hide_activate_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_popup_show_activate_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_popup_destroy_activate_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_popup_rename_activate_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_popup_properties_activate_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_open_response_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkDialog *dialog, gint response, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_play_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_done_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_start_failure_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsTask *task, GError *error, AgsMachine *machine
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LINE</NAME>
+#define AGS_TYPE_LINE (ags_line_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE</NAME>
+#define AGS_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE, AgsLine))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_CLASS</NAME>
+#define AGS_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE, AgsLineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE</NAME>
+#define AGS_IS_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE_CLASS</NAME>
+#define AGS_IS_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_GET_CLASS</NAME>
+#define AGS_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE, AgsLineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_DEFAULT_VERSION</NAME>
+#define AGS_LINE_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_DEFAULT_BUILD_ID</NAME>
+#define AGS_LINE_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<ENUM>
+<NAME>AgsLineFlags</NAME>
+typedef enum{
+ AGS_LINE_CONNECTED = 1,
+ AGS_LINE_GROUPED = 1 << 1,
+ AGS_LINE_MAPPED_RECALL = 1 << 2,
+ AGS_LINE_PREMAPPED_RECALL = 1 << 3,
+}AgsLineFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsLine</NAME>
+struct _AgsLine
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *name;
+
+ AgsChannel *channel;
+
+ GtkWidget *pad;
+
+ GtkLabel *label;
+ GtkToggleButton *group;
+
+ AgsExpander *expander;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLineClass</NAME>
+struct _AgsLineClass
+{
+ GtkVBoxClass vbox;
+
+ void (*set_channel)(AgsLine *line, AgsChannel *channel);
+
+ void (*group_changed)(AgsLine *line);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_line_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_set_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsLine *line, AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_find_port</NAME>
+<RETURNS>void </RETURNS>
+AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_group_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_find_next_grouped</NAME>
+<RETURNS>GList * </RETURNS>
+GList *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_new</NAME>
+<RETURNS>AgsLine * </RETURNS>
+GtkWidget *pad, AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_NAVIGATION</NAME>
+#define AGS_TYPE_NAVIGATION (ags_navigation_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_NAVIGATION</NAME>
+#define AGS_NAVIGATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NAVIGATION, AgsNavigation))
+</MACRO>
+<MACRO>
+<NAME>AGS_NAVIGATION_CLASS</NAME>
+#define AGS_NAVIGATION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NAVIGATION, AgsNavigationClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NAVIGATION</NAME>
+#define AGS_IS_NAVIGATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NAVIGATION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NAVIGATION_CLASS</NAME>
+#define AGS_IS_NAVIGATION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_NAVIGATION))
+</MACRO>
+<MACRO>
+<NAME>AGS_NAVIGATION_GET_CLASS</NAME>
+#define AGS_NAVIGATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_NAVIGATION, AgsNavigationClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_NAVIGATION_DEFAULT_TACT_STEP</NAME>
+#define AGS_NAVIGATION_DEFAULT_TACT_STEP (1.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_NAVIGATION_SEEK_STEPS</NAME>
+#define AGS_NAVIGATION_SEEK_STEPS (1.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_NAVIGATION_REWIND_STEPS</NAME>
+#define AGS_NAVIGATION_REWIND_STEPS (4.0)
+</MACRO>
+<ENUM>
+<NAME>AgsNavigationFlags</NAME>
+typedef enum{
+ AGS_NAVIGATION_BLOCK_TACT = 1,
+}AgsNavigationFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsNavigation</NAME>
+struct _AgsNavigation
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ AgsDevout *devout;
+
+ GtkToggleButton *expander;
+
+ GtkSpinButton *bpm;
+ gdouble current_bpm;
+
+ GtkToggleButton *rewind;
+ GtkButton *previous;
+ GtkToggleButton *play;
+ GtkButton *stop;
+ GtkButton *next;
+ GtkToggleButton *forward;
+
+ GtkCheckButton *loop;
+
+ GtkLabel *position_time;
+ GtkSpinButton *position_tact;
+
+ GtkLabel *duration_time;
+ GtkSpinButton *duration_tact;
+
+ GtkSpinButton *loop_left_tact;
+ GtkSpinButton *loop_right_tact;
+
+ GtkCheckButton *scroll;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsNavigationClass</NAME>
+struct _AgsNavigationClass
+{
+ GtkVBoxClass vbox;
+
+ void (*change_position)(AgsNavigation *navigation,
+ gdouble tact);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_navigation_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_tact_to_time_string</NAME>
+<RETURNS>gchar * </RETURNS>
+gdouble tact
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_update_time_string</NAME>
+<RETURNS>void </RETURNS>
+double tact, gchar *time_string
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_set_seeking_sensitive</NAME>
+<RETURNS>void </RETURNS>
+AgsNavigation *navigation, gboolean enabled
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_change_position</NAME>
+<RETURNS>void </RETURNS>
+AgsNavigation *navigation, gdouble tact
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_new</NAME>
+<RETURNS>AgsNavigation * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_window_delete_event_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, gpointer data
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SERVER_PREFERENCES</NAME>
+#define AGS_TYPE_SERVER_PREFERENCES (ags_server_preferences_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SERVER_PREFERENCES</NAME>
+#define AGS_SERVER_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERVER_PREFERENCES, AgsServerPreferences))
+</MACRO>
+<MACRO>
+<NAME>AGS_SERVER_PREFERENCES_CLASS</NAME>
+#define AGS_SERVER_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SERVER_PREFERENCES, AgsServerPreferencesClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SERVER_PREFERENCES</NAME>
+#define AGS_IS_SERVER_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SERVER_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SERVER_PREFERENCES_CLASS</NAME>
+#define AGS_IS_SERVER_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SERVER_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_SERVER_PREFERENCES_GET_CLASS</NAME>
+#define AGS_SERVER_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SERVER_PREFERENCES, AgsServerPreferencesClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsServerPreferences</NAME>
+struct _AgsServerPreferences
+{
+ GtkVBox vbox;
+
+ GtkCheckButton *start;
+
+ GtkEntry *address;
+ GtkEntry *port;
+
+ GtkEntry *username;
+ GtkEntry *password;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsServerPreferencesClass</NAME>
+struct _AgsServerPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_server_preferences_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_server_preferences_new</NAME>
+<RETURNS>AgsServerPreferences * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_export_window_file_chooser_button_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *file_chooser_button, AgsExportWindow *export_window
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_export_window_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *spin_button, AgsExportWindow *export_window
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_export_window_export_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsExportWindow *export_window
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_editor_add_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *button, AgsLineMemberEditor *line_member_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_editor_remove_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *button, AgsLineMemberEditor *line_member_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_editor_ladspa_browser_response_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkDialog *dialog, gint response, AgsLineMemberEditor *line_member_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_plugin_filename_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBoxText *combo_box, AgsLadspaBrowser *ladspa_browser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_plugin_effect_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBoxText *combo_box, AgsLadspaBrowser *ladspa_browser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_preview_close_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *preview, AgsLadspaBrowser *ladspa_browser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_ok_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsLadspaBrowser *ladspa_browser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_browser_cancel_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsLadspaBrowser *ladspa_browser
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PAD_EDITOR</NAME>
+#define AGS_TYPE_PAD_EDITOR (ags_pad_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_EDITOR</NAME>
+#define AGS_PAD_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PAD_EDITOR, AgsPadEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_EDITOR_CLASS</NAME>
+#define AGS_PAD_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PAD_EDITOR, AgsPadEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PAD_EDITOR</NAME>
+#define AGS_IS_PAD_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PAD_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PAD_EDITOR_CLASS</NAME>
+#define AGS_IS_PAD_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PAD_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_EDITOR_GET_CLASS</NAME>
+#define AGS_PAD_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_PAD_EDITOR, AgsPadEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_EDITOR_DEFAULT_VERSION</NAME>
+#define AGS_PAD_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_EDITOR_DEFAULT_BUILD_ID</NAME>
+#define AGS_PAD_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<STRUCT>
+<NAME>AgsPadEditor</NAME>
+struct _AgsPadEditor
+{
+ GtkVBox vbox;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *pad;
+
+ GtkExpander *line_editor_expander;
+ GtkVBox *line_editor;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPadEditorClass</NAME>
+struct _AgsPadEditorClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_pad_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_editor_set_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsPadEditor *pad_editor, AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_editor_new</NAME>
+<RETURNS>AgsPadEditor * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_destroy_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkObject *object, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_show_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_switch_page_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_add_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_remove_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_back_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *button, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_apply_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_ok_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_cancel_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsMachineEditor *machine_editor
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PREFERENCES</NAME>
+#define AGS_TYPE_PREFERENCES (ags_preferences_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PREFERENCES</NAME>
+#define AGS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PREFERENCES, AgsPreferences))
+</MACRO>
+<MACRO>
+<NAME>AGS_PREFERENCES_CLASS</NAME>
+#define AGS_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PREFERENCES, AgsPreferencesClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PREFERENCES</NAME>
+#define AGS_IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PREFERENCES_CLASS</NAME>
+#define AGS_IS_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_PREFERENCES_GET_CLASS</NAME>
+#define AGS_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PREFERENCES, AgsPreferencesClass))
+</MACRO>
+<ENUM>
+<NAME>AgsPreferencesFlags</NAME>
+typedef enum{
+ AGS_PREFERENCES_SHUTDOWN = 1,
+}AgsPreferencesFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsPreferences</NAME>
+struct _AgsPreferences
+{
+ GtkDialog dialog;
+
+ guint flags;
+
+ GtkWindow *window;
+
+ AgsAudioPreferences *audio_preferences;
+ AgsPerformancePreferences *performance_preferences;
+ AgsServerPreferences *server_preferences;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPreferencesClass</NAME>
+struct _AgsPreferencesClass
+{
+ GtkDialogClass dialog;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_preferences_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_preferences_new</NAME>
+<RETURNS>AgsPreferences * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_dial_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *dial, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_vscale_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *vscale, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_hscale_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *hscale, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_spin_button_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *spin_button, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_check_button_clicked_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *check_button, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_toggle_button_clicked_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_button_clicked_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *button, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_port_safe_write_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsPort *port, GValue *value, AgsLineMember *line_member
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MACHINE_EDITOR</NAME>
+#define AGS_TYPE_MACHINE_EDITOR (ags_machine_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_EDITOR</NAME>
+#define AGS_MACHINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_EDITOR_CLASS</NAME>
+#define AGS_MACHINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_EDITOR</NAME>
+#define AGS_IS_MACHINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_EDITOR_CLASS</NAME>
+#define AGS_IS_MACHINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_EDITOR_GET_CLASS</NAME>
+#define AGS_MACHINE_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_EDITOR_DEFAULT_VERSION</NAME>
+#define AGS_MACHINE_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID</NAME>
+#define AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<ENUM>
+<NAME>AgsMachineEditorFlags</NAME>
+typedef enum{
+ AGS_MACHINE_EDITOR_CLOSING = 1,
+}AgsMachineEditorFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsMachineEditor</NAME>
+struct _AgsMachineEditor
+{
+ GtkDialog dialog;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsMachine *machine;
+
+ GtkNotebook *notebook;
+
+ GtkScrolledWindow *output_scrolled_window;
+ AgsListingEditor *output_editor;
+
+ GtkScrolledWindow *input_scrolled_window;
+ AgsListingEditor *input_editor;
+
+ GtkScrolledWindow *output_link_editor_scrolled_window;
+ AgsPropertyCollectionEditor *output_link_editor;
+
+ GtkScrolledWindow *input_link_editor_scrolled_window;
+ AgsPropertyCollectionEditor *input_link_editor;
+
+ GtkScrolledWindow *resize_editor_scrolled_window;
+ AgsResizeEditor *resize_editor;
+
+ GtkButton *add;
+ GtkButton *remove;
+ GtkButton *apply;
+ GtkButton *ok;
+ GtkButton *cancel;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMachineEditorClass</NAME>
+struct _AgsMachineEditorClass
+{
+ GtkDialogClass dialog;
+
+ void (*set_machine)(AgsMachineEditor *machine_editor,
+ AgsMachine *machine);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_machine_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_add_children</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_set_machine</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineEditor *machine_editor, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_add_input</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_add_output</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_remove_input</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_remove_output</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_editor_new</NAME>
+<RETURNS>AgsMachineEditor * </RETURNS>
+AgsMachine *machine
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LINE_MEMBER</NAME>
+#define AGS_TYPE_LINE_MEMBER (ags_line_member_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_MEMBER</NAME>
+#define AGS_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE_MEMBER, AgsLineMember))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_MEMBER_CLASS</NAME>
+#define AGS_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE_MEMBER, AgsLineMemberClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE_MEMBER</NAME>
+#define AGS_IS_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE_MEMBER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINE_MEMBER_CLASS</NAME>
+#define AGS_IS_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE_MEMBER))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINE_MEMBER_GET_CLASS</NAME>
+#define AGS_LINE_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE_MEMBER, AgsLineMemberClass))
+</MACRO>
+<ENUM>
+<NAME>AgsLineMemberFlags</NAME>
+typedef enum{
+ AGS_LINE_MEMBER_DEFAULT_TEMPLATE = 1,
+ AGS_LINE_MEMBER_RESET_BY_ATOMIC = 1 << 1,
+ AGS_LINE_MEMBER_RESET_BY_TASK = 1 << 2,
+ AGS_LINE_MEMBER_APPLY_RECALL = 1 << 3,
+ AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE = 1 << 4,
+ AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE = 1 << 5,
+ AGS_LINE_MEMBER_CALLBACK_READ_BLOCK = 1 << 6,
+ AGS_LINE_MEMBER_CALLBACK_WRITE_BLOCK = 1 << 7,
+}AgsLineMemberFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsLineMember</NAME>
+struct _AgsLineMember
+{
+ GtkFrame frame;
+
+ guint flags;
+
+ GType widget_type;
+ gchar *widget_label;
+
+ gchar *plugin_name;
+ gchar *specifier;
+
+ gchar *control_port;
+
+ AgsPort *port;
+ gpointer port_data;
+ gboolean active;
+
+ AgsPort *recall_port;
+ gpointer recall_port_data;
+ gboolean recall_active;
+
+ GType task_type;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLineMemberClass</NAME>
+struct _AgsLineMemberClass
+{
+ GtkFrameClass frame;
+
+ void (*change_port)(AgsLineMember *line_member,
+ gpointer port_data);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_line_member_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_get_widget</NAME>
+<RETURNS>GtkWidget * </RETURNS>
+AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_set_label</NAME>
+<RETURNS>void </RETURNS>
+AgsLineMember *line_member, gchar *label
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_change_port</NAME>
+<RETURNS>void </RETURNS>
+AgsLineMember *line_member, gpointer port_data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_find_port</NAME>
+<RETURNS>void </RETURNS>
+AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_member_new</NAME>
+<RETURNS>AgsLineMember * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MENU_BAR</NAME>
+#define AGS_TYPE_MENU_BAR (ags_menu_bar_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_BAR</NAME>
+#define AGS_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MENU_BAR, AgsMenuBar))
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_BAR_CLASS</NAME>
+#define AGS_MENU_BAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MENU_BAR, AgsMenuBarClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MENU_BAR</NAME>
+#define AGS_IS_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MENU_BAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MENU_BAR_CLASS</NAME>
+#define AGS_IS_MENU_BAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MENU_BAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_MENU_BAR_GET_CLASS</NAME>
+#define AGS_MENU_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MENU_BAR, AgsMenuBarClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMenuBar</NAME>
+struct _AgsMenuBar
+{
+ GtkMenuBar menu_bar;
+
+ GtkMenu *file;
+ GtkMenu *edit;
+ GtkMenu *add;
+ GtkMenu *help;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMenuBarClass</NAME>
+struct _AgsMenuBarClass
+{
+ GtkMenuBarClass menu_bar;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_menu_bar_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_new</NAME>
+<RETURNS>AgsMenuBar * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_zoom_menu_new</NAME>
+<RETURNS>GtkMenu * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tact_menu_new</NAME>
+<RETURNS>GtkMenu * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_zoom_combo_box_new</NAME>
+<RETURNS>GtkComboBox * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tact_combo_box_new</NAME>
+<RETURNS>GtkComboBox * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUDIO_PREFERENCES</NAME>
+#define AGS_TYPE_AUDIO_PREFERENCES (ags_audio_preferences_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_PREFERENCES</NAME>
+#define AGS_AUDIO_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferences))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_PREFERENCES_CLASS</NAME>
+#define AGS_AUDIO_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferencesClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_PREFERENCES</NAME>
+#define AGS_IS_AUDIO_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_PREFERENCES_CLASS</NAME>
+#define AGS_IS_AUDIO_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_PREFERENCES_GET_CLASS</NAME>
+#define AGS_AUDIO_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferencesClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsAudioPreferences</NAME>
+struct _AgsAudioPreferences
+{
+ GtkVBox vbox;
+
+ GtkComboBox *card;
+ GtkSpinButton *audio_channels;
+ GtkSpinButton *samplerate;
+ GtkSpinButton *buffer_size;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAudioPreferencesClass</NAME>
+struct _AgsAudioPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_audio_preferences_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_preferences_new</NAME>
+<RETURNS>AgsAudioPreferences * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_GENERIC_PREFERENCES</NAME>
+#define AGS_TYPE_GENERIC_PREFERENCES (ags_generic_preferences_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_GENERIC_PREFERENCES</NAME>
+#define AGS_GENERIC_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GENERIC_PREFERENCES, AgsGenericPreferences))
+</MACRO>
+<MACRO>
+<NAME>AGS_GENERIC_PREFERENCES_CLASS</NAME>
+#define AGS_GENERIC_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_GENERIC_PREFERENCES, AgsGenericPreferencesClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_GENERIC_PREFERENCES</NAME>
+#define AGS_IS_GENERIC_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_GENERIC_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_GENERIC_PREFERENCES_CLASS</NAME>
+#define AGS_IS_GENERIC_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_GENERIC_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_GENERIC_PREFERENCES_GET_CLASS</NAME>
+#define AGS_GENERIC_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_GENERIC_PREFERENCES, AgsGenericPreferencesClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsGenericPreferences</NAME>
+struct _AgsGenericPreferences
+{
+ GtkVBox vbox;
+
+ GtkComboBox *audio_output_module;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsGenericPreferencesClass</NAME>
+struct _AgsGenericPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_generic_preferences_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_generic_preferences_new</NAME>
+<RETURNS>AgsGenericPreferences * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PROPERTY_EDITOR</NAME>
+#define AGS_TYPE_PROPERTY_EDITOR (ags_property_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_EDITOR</NAME>
+#define AGS_PROPERTY_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PROPERTY_EDITOR, AgsPropertyEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_EDITOR_CLASS</NAME>
+#define AGS_PROPERTY_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PROPERTY_EDITOR, AgsPropertyEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PROPERTY_EDITOR</NAME>
+#define AGS_IS_PROPERTY_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PROPERTY_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PROPERTY_EDITOR_CLASS</NAME>
+#define AGS_IS_PROPERTY_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PROPERTY_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_EDITOR_GET_CLASS</NAME>
+#define AGS_PROPERTY_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PROPERTY_EDITOR, AgsPropertyEditorClass))
+</MACRO>
+<ENUM>
+<NAME>AgsPropertyEditorFlags</NAME>
+typedef enum{
+ AGS_PROPERTY_EDITOR_ENABLED = 1,
+}AgsPropertyEditorFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsPropertyEditor</NAME>
+struct _AgsPropertyEditor
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ GtkCheckButton *enabled;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPropertyEditorClass</NAME>
+struct _AgsPropertyEditorClass
+{
+ GtkVBoxClass vbox;
+
+ void (*apply)(AgsPropertyEditor *property_editor);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_property_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_property_editor_new</NAME>
+<RETURNS>AgsPropertyEditor * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_destroy_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkObject *object, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_show_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_open_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_save_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_save_as_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_export_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_quit_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_add_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_add_panel_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_add_mixer_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_add_drum_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_add_matrix_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_add_synth_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_add_ffplayer_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_remove_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_preferences_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_menu_bar_about_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMenuBar *menu_bar
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_WINDOW</NAME>
+#define AGS_TYPE_WINDOW (ags_window_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_WINDOW</NAME>
+#define AGS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_WINDOW, AgsWindow))
+</MACRO>
+<MACRO>
+<NAME>AGS_WINDOW_CLASS</NAME>
+#define AGS_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_WINDOW, AgsWindowClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_WINDOW</NAME>
+#define AGS_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_WINDOW))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_WINDOW_CLASS</NAME>
+#define AGS_IS_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_WINDOW))
+</MACRO>
+<MACRO>
+<NAME>AGS_WINDOW_GET_CLASS</NAME>
+#define AGS_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_WINDOW, AgsWindowClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_COUNTER</NAME>
+#define AGS_MACHINE_COUNTER(ptr) ((AgsMachineCounter *)(ptr))
+</MACRO>
+<ENUM>
+<NAME>AgsWindowFlags</NAME>
+typedef enum{
+ AGS_WINDOW_READY = 1,
+ AGS_WINDOW_LOADING = 1 << 1,
+ AGS_WINDOW_SAVING = 1 << 2,
+ AGS_WINDOW_TERMINATING = 1 << 3,
+}AgsWindowFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsWindow</NAME>
+struct _AgsWindow
+{
+ GtkWindow window;
+
+ guint flags;
+
+ GObject *ags_main;
+
+ AgsDevout *devout;
+
+ char *name;
+
+ AgsMenuBar *menu_bar;
+
+ GtkVPaned *paned;
+
+ GtkVBox *machines;
+ GList *machine_counter;
+ AgsMachine *selected;
+
+ AgsEditor *editor;
+ AgsNavigation *navigation;
+
+ AgsExportWindow *export_window;
+ AgsPreferences *preferences;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsWindowClass</NAME>
+struct _AgsWindowClass
+{
+ GtkWindowClass window;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMachineCounter</NAME>
+struct _AgsMachineCounter
+{
+ gchar *version;
+ gchar *build_id;
+
+ GType machine_type;
+ guint counter;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_window_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_window_find_machine_counter</NAME>
+<RETURNS>AgsMachineCounter * </RETURNS>
+AgsWindow *window, GType machine_type
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_window_increment_machine_counter</NAME>
+<RETURNS>void </RETURNS>
+AgsWindow *window, GType machine_type
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_window_decrement_machine_counter</NAME>
+<RETURNS>void </RETURNS>
+AgsWindow *window, GType machine_type
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_counter_alloc</NAME>
+<RETURNS>AgsMachineCounter * </RETURNS>
+gchar *version, gchar *build_id, GType machine_type, guint initial_value
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_window_new</NAME>
+<RETURNS>AgsWindow * </RETURNS>
+GObject *ags_main
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_EXPORT_WINDOW</NAME>
+#define AGS_TYPE_EXPORT_WINDOW (ags_export_window_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_WINDOW</NAME>
+#define AGS_EXPORT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_WINDOW, AgsExportWindow))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_WINDOW_CLASS</NAME>
+#define AGS_EXPORT_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPORT_WINDOW, AgsExportWindowClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPORT_WINDOW</NAME>
+#define AGS_IS_EXPORT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPORT_WINDOW))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPORT_WINDOW_CLASS</NAME>
+#define AGS_IS_EXPORT_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPORT_WINDOW))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_WINDOW_GET_CLASS</NAME>
+#define AGS_EXPORT_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPORT_WINDOW, AgsExportWindowClass))
+</MACRO>
+<ENUM>
+<NAME>AgsExportWindowFlags</NAME>
+typedef enum{
+ AGS_EXPORT_WINDOW_LIVE_EXPORT = 1,
+}AgsExportWindowFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsExportWindow</NAME>
+struct _AgsExportWindow
+{
+ GtkWindow window;
+
+ guint flags;
+
+ GObject *ags_main;
+ AgsDevout *devout;
+
+ GtkCheckButton *live_export;
+
+ GtkEntry *filename;
+ GtkFileChooserButton *file_chooser_button;
+
+ GtkComboBoxText *mode;
+ GtkSpinButton *tact;
+ GtkLabel *duration;
+ GtkComboBoxText *output_format;
+
+ GtkToggleButton *export;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsExportWindowClass</NAME>
+struct _AgsExportWindowClass
+{
+ GtkWindowClass window;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_export_window_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_export_window_new</NAME>
+<RETURNS>AgsExportWindow * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_destroy_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkObject *object, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_show_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_option_changed_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_group_clicked_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_mute_clicked_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_solo_clicked_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_editor_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsEditor *editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_editor_set_audio_channels_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, guint audio_channels, guint audio_channels_old, AgsEditor *editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_editor_set_pads_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GType channel_type, guint pads, guint pads_old, AgsEditor *editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_editor_machine_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineSelector *machine_selector, AgsMachine *machine, AgsEditor *editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_editor_change_position_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsNavigation *navigation, gdouble tact, AgsEditor *editor
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PAD</NAME>
+#define AGS_TYPE_PAD (ags_pad_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD</NAME>
+#define AGS_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PAD, AgsPad))
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_CLASS</NAME>
+#define AGS_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PAD, AgsPadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PAD</NAME>
+#define AGS_IS_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PAD_CLASS</NAME>
+#define AGS_IS_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_GET_CLASS</NAME>
+#define AGS_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PAD, AgsPadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_DEFAULT_VERSION</NAME>
+#define AGS_PAD_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_PAD_DEFAULT_BUILD_ID</NAME>
+#define AGS_PAD_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</MACRO>
+<ENUM>
+<NAME>AgsPadFlags</NAME>
+typedef enum{
+ AGS_PAD_CONNECTED = 1,
+ AGS_PAD_SHOW_GROUPING = 1 << 1,
+ AGS_PAD_GROUP_ALL = 1 << 2,
+ AGS_PAD_GROUP_LINE = 1 << 3,
+}AgsPadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsPad</NAME>
+struct _AgsPad
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ guint cols;
+ AgsExpanderSet *expander_set;
+
+ GtkToggleButton *group;
+ GtkToggleButton *mute;
+ GtkToggleButton *solo;
+
+ GtkToggleButton *play;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPadClass</NAME>
+struct _AgsPadClass
+{
+ GtkVBoxClass vbox;
+
+ void (*set_channel)(AgsPad *pad, AgsChannel *channel);
+
+ void (*resize_lines)(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_pad_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_set_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsPad *pad, AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_resize_lines</NAME>
+<RETURNS>void </RETURNS>
+AgsPad *pad, GType line_type, guint audio_channels, guint audio_channels_old
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_find_port</NAME>
+<RETURNS>void </RETURNS>
+AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_pad_new</NAME>
+<RETURNS>AgsPad * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RESIZE_EDITOR</NAME>
+#define AGS_TYPE_RESIZE_EDITOR (ags_resize_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RESIZE_EDITOR</NAME>
+#define AGS_RESIZE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RESIZE_EDITOR, AgsResizeEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_RESIZE_EDITOR_CLASS</NAME>
+#define AGS_RESIZE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RESIZE_EDITOR, AgsResizeEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RESIZE_EDITOR</NAME>
+#define AGS_IS_RESIZE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RESIZE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RESIZE_EDITOR_CLASS</NAME>
+#define AGS_IS_RESIZE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RESIZE_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_RESIZE_EDITOR_GET_CLASS</NAME>
+#define AGS_RESIZE_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RESIZE_EDITOR, AgsResizeEditorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsResizeEditor</NAME>
+struct _AgsResizeEditor
+{
+ AgsPropertyEditor property_editor;
+
+ GtkSpinButton *audio_channels;
+
+ GtkSpinButton *input_pads;
+ GtkSpinButton *output_pads;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsResizeEditorClass</NAME>
+struct _AgsResizeEditorClass
+{
+ AgsPropertyEditorClass property_editor;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_resize_editor_new</NAME>
+<RETURNS>AgsResizeEditor * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_listing_editor_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsListingEditor *listing_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_listing_editor_set_pads_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GType channel_type, guint pads, guint pads_old, AgsListingEditor *listing_editor
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LINK_COLLECTION_EDITOR</NAME>
+#define AGS_TYPE_LINK_COLLECTION_EDITOR (ags_link_collection_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_COLLECTION_EDITOR</NAME>
+#define AGS_LINK_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINK_COLLECTION_EDITOR, AgsLinkCollectionEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_COLLECTION_EDITOR_CLASS</NAME>
+#define AGS_LINK_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINK_COLLECTION_EDITOR, AgsLinkCollectionEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINK_COLLECTION_EDITOR</NAME>
+#define AGS_IS_LINK_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINK_COLLECTION_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINK_COLLECTION_EDITOR_CLASS</NAME>
+#define AGS_IS_LINK_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINK_COLLECTION_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_COLLECTION_EDITOR_GET_CLASS</NAME>
+#define AGS_LINK_COLLECTION_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LINK_COLLECTION_EDITOR, AgsLinkCollectionEditorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsLinkCollectionEditor</NAME>
+struct _AgsLinkCollectionEditor
+{
+ GtkTable table;
+
+ GType channel_type;
+
+ GtkComboBox *link;
+ GtkSpinButton *first_line;
+ GtkSpinButton *first_link;
+ GtkSpinButton *count;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLinkCollectionEditorClass</NAME>
+struct _AgsLinkCollectionEditorClass
+{
+ GtkTableClass table;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_link_collection_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_check_first_line</NAME>
+<RETURNS>void </RETURNS>
+AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_check_first_link</NAME>
+<RETURNS>void </RETURNS>
+AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_check_count</NAME>
+<RETURNS>void </RETURNS>
+AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_new</NAME>
+<RETURNS>AgsLinkCollectionEditor * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PROPERTY_LISTING_EDITOR</NAME>
+#define AGS_TYPE_PROPERTY_LISTING_EDITOR (ags_property_listing_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_LISTING_EDITOR</NAME>
+#define AGS_PROPERTY_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PROPERTY_LISTING_EDITOR, AgsPropertyListingEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_LISTING_EDITOR_CLASS</NAME>
+#define AGS_PROPERTY_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PROPERTY_LISTING_EDITOR, AgsPropertyListingEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PROPERTY_LISTING_EDITOR</NAME>
+#define AGS_IS_PROPERTY_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PROPERTY_LISTING_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PROPERTY_LISTING_EDITOR_CLASS</NAME>
+#define AGS_IS_PROPERTY_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PROPERTY_LISTING_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_PROPERTY_LISTING_EDITOR_GET_CLASS</NAME>
+#define AGS_PROPERTY_LISTING_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PROPERTY_LISTING_EDITOR, AgsPropertyListingEditorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPropertyListingEditor</NAME>
+struct _AgsPropertyListingEditor
+{
+ AgsPropertyEditor property_editor;
+
+ GtkVBox *child;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPropertyListingEditorClass</NAME>
+struct _AgsPropertyListingEditorClass
+{
+ AgsPropertyEditorClass property_editor;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_property_listing_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_property_listing_editor_new</NAME>
+<RETURNS>AgsPropertyListingEditor * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PERFORMANCE_PREFERENCES</NAME>
+#define AGS_TYPE_PERFORMANCE_PREFERENCES (ags_performance_preferences_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PERFORMANCE_PREFERENCES</NAME>
+#define AGS_PERFORMANCE_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PERFORMANCE_PREFERENCES, AgsPerformancePreferences))
+</MACRO>
+<MACRO>
+<NAME>AGS_PERFORMANCE_PREFERENCES_CLASS</NAME>
+#define AGS_PERFORMANCE_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PERFORMANCE_PREFERENCES, AgsPerformancePreferencesClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PERFORMANCE_PREFERENCES</NAME>
+#define AGS_IS_PERFORMANCE_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PERFORMANCE_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PERFORMANCE_PREFERENCES_CLASS</NAME>
+#define AGS_IS_PERFORMANCE_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PERFORMANCE_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_PERFORMANCE_PREFERENCES_GET_CLASS</NAME>
+#define AGS_PERFORMANCE_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PERFORMANCE_PREFERENCES, AgsPerformancePreferencesClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPerformancePreferences</NAME>
+struct _AgsPerformancePreferences
+{
+ GtkVBox vbox;
+
+ GtkCheckButton *super_threaded;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPerformancePreferencesClass</NAME>
+struct _AgsPerformancePreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_performance_preferences_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_performance_preferences_new</NAME>
+<RETURNS>AgsPerformancePreferences * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLUGIN_PREFERENCES</NAME>
+#define AGS_TYPE_PLUGIN_PREFERENCES (ags_plugin_preferences_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_PREFERENCES</NAME>
+#define AGS_PLUGIN_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN_PREFERENCES, AgsPluginPreferences))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_PREFERENCES_CLASS</NAME>
+#define AGS_PLUGIN_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLUGIN_PREFERENCES, AgsPluginPreferencesClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLUGIN_PREFERENCES</NAME>
+#define AGS_IS_PLUGIN_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLUGIN_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLUGIN_PREFERENCES_CLASS</NAME>
+#define AGS_IS_PLUGIN_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLUGIN_PREFERENCES))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_PREFERENCES_GET_CLASS</NAME>
+#define AGS_PLUGIN_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLUGIN_PREFERENCES, AgsPluginPreferencesClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPluginPreferences</NAME>
+struct _AgsPluginPreferences
+{
+ GtkVBox vbox;
+
+ AgsLadspaPluginPreferences *ladspa_plugin_preferencens;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPluginPreferencesClass</NAME>
+struct _AgsPluginPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLadspaPluginPreferences</NAME>
+struct _AgsLadspaPluginPreferences
+{
+ GtkEntry *ladspa_path;
+ GtkCellView *plugin_file;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_plugin_preferences_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_plugin_preferences_alloc</NAME>
+<RETURNS>AgsLadspaPluginPreferences * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_preferences_new</NAME>
+<RETURNS>AgsPluginPreferences * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, gpointer data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_destroy_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkObject *object, gpointer data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_show_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, gpointer data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_expander_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_bpm_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_rewind_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_prev_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_play_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_stop_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_next_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_forward_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_loop_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_position_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_duration_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_loop_left_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_loop_right_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_raster_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_navigation_tic_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsDevout *devout, AgsNavigation *navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_preferences_card_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo, AgsAudioPreferences *audio_preferences
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_preferences_audio_channels_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsAudioPreferences *audio_preferences
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_preferences_samplerate_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsAudioPreferences *audio_preferences
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_preferences_buffer_size_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsAudioPreferences *audio_preferences
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_link_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo, AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_first_line_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_first_link_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_collection_editor_count_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LINK_EDITOR</NAME>
+#define AGS_TYPE_LINK_EDITOR (ags_link_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_EDITOR</NAME>
+#define AGS_LINK_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_LINK_EDITOR, AgsLinkEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_EDITOR_CLASS</NAME>
+#define AGS_LINK_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LINK_EDITOR, AgsLinkEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINK_EDITOR</NAME>
+#define AGS_IS_LINK_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINK_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LINK_EDITOR_CLASS</NAME>
+#define AGS_IS_LINK_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINK_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_LINK_EDITOR_GET_CLASS</NAME>
+#define AGS_LINK_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINK_EDITOR, AgsLinkEditorClass))
+</MACRO>
+<ENUM>
+<NAME>AgsLinkEditorFlags</NAME>
+typedef enum{
+ AGS_LINK_EDITOR_FILE_CHOOSER_PLAY_DONE = 1,
+}AgsLinkEditorFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsLinkEditor</NAME>
+struct _AgsLinkEditor
+{
+ GtkHBox hbox;
+
+ guint flags;
+
+ GtkComboBox *combo;
+ GtkSpinButton *spin_button;
+
+ AgsAudioFile *audio_file;
+
+ GtkFileChooserDialog *file_chooser;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLinkEditorClass</NAME>
+struct _AgsLinkEditorClass
+{
+ GtkHBoxClass hbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_link_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_link_editor_new</NAME>
+<RETURNS>AgsLinkEditor * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_remove_recall_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_group_clicked_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_volume_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkRange *range, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_peak_run_post_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *peak_channel, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_copy_pattern_done</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_copy_pattern_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_recall_volume_done</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_recall_volume_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_channel_done_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_play_channel_run_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_play_volume_done</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_line_play_volume_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_property_editor_enable_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkToggleButton *toggle, AgsPropertyEditor *property_editor
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LISTING_EDITOR</NAME>
+#define AGS_TYPE_LISTING_EDITOR (ags_listing_editor_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LISTING_EDITOR</NAME>
+#define AGS_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LISTING_EDITOR, AgsListingEditor))
+</MACRO>
+<MACRO>
+<NAME>AGS_LISTING_EDITOR_CLASS</NAME>
+#define AGS_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LISTING_EDITOR, AgsListingEditorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LISTING_EDITOR</NAME>
+#define AGS_IS_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LISTING_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LISTING_EDITOR_CLASS</NAME>
+#define AGS_IS_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LISTING_EDITOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_LISTING_EDITOR_GET_CLASS</NAME>
+#define AGS_LISTING_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LISTING_EDITOR, AgsListingEditorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsListingEditor</NAME>
+struct _AgsListingEditor
+{
+ AgsPropertyListingEditor property_listing_editor;
+
+ GType channel_type;
+
+ GtkVBox *child;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsListingEditorClass</NAME>
+struct _AgsListingEditorClass
+{
+ AgsPropertyListingEditorClass property_listing_editor;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_listing_editor_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_listing_editor_add_children</NAME>
+<RETURNS>void </RETURNS>
+AgsListingEditor *listing_editor, AgsAudio *audio, guint nth_channel, gboolean connect
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_listing_editor_new</NAME>
+<RETURNS>AgsListingEditor * </RETURNS>
+GType channel_type
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_preferences_response_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkDialog *dialog, gint response_id, gpointer user_data
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_NOTE_EDIT</NAME>
+#define AGS_TYPE_NOTE_EDIT (ags_note_edit_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTE_EDIT</NAME>
+#define AGS_NOTE_EDIT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTE_EDIT, AgsNoteEdit))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTE_EDIT_CLASS</NAME>
+#define AGS_NOTE_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTE_EDIT, AgsNoteEditClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTE_EDIT</NAME>
+#define AGS_IS_NOTE_EDIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NOTE_EDIT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTE_EDIT_CLASS</NAME>
+#define AGS_IS_NOTE_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_NOTE_EDIT))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTE_EDIT_GET_CLASS</NAME>
+#define AGS_NOTE_EDIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_NOTE_EDIT, AgsNoteEditClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTE_EDIT_MAX_CONTROLS</NAME>
+#define AGS_NOTE_EDIT_MAX_CONTROLS 1200
+</MACRO>
+<ENUM>
+<NAME>AgsNoteEditFlags</NAME>
+typedef enum{
+ AGS_NOTE_EDIT_RESETING_VERTICALLY = 1,
+ AGS_NOTE_EDIT_RESETING_HORIZONTALLY = 1 << 1,
+ AGS_NOTE_EDIT_POSITION_CURSOR = 1 << 2,
+ AGS_NOTE_EDIT_ADDING_NOTE = 1 << 3,
+ AGS_NOTE_EDIT_DELETING_NOTE = 1 << 4,
+ AGS_NOTE_EDIT_SELECTING_NOTES = 1 << 5,
+}AgsNoteEditFlags;
+</ENUM>
+<ENUM>
+<NAME>AgsNoteEditResetFlags</NAME>
+typedef enum{
+ AGS_NOTE_EDIT_RESET_VSCROLLBAR = 1,
+ AGS_NOTE_EDIT_RESET_HSCROLLBAR = 1 << 1,
+ AGS_NOTE_EDIT_RESET_WIDTH = 1 << 2,
+ AGS_NOTE_EDIT_RESET_HEIGHT = 1 << 3, // reserved
+}AgsNoteEditResetFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsNoteEdit</NAME>
+struct _AgsNoteEdit
+{
+ GtkTable table;
+
+ guint flags;
+
+ AgsRuler *ruler;
+ GtkDrawingArea *drawing_area;
+
+ struct _AgsNoteEditControl{ // values retrieved by mouse pressed and released callback
+ AgsNote *note;
+
+ guint x0_offset;
+ guint y0_offset;
+ guint x0;
+ guint y0;
+
+ guint x1_offset;
+ guint y1_offset;
+ guint x1;
+ guint y1;
+ }control;
+
+ guint width;
+ guint height;
+ guint map_width;
+ guint map_height;
+
+ guint control_height;
+ guint control_margin_y;
+
+ guint control_width;
+
+ guint y0;
+ guint y1;
+
+ guint nth_y;
+ guint stop_y;
+
+ struct _AgsNoteEditControlCurrent{ // values for drawing refering to current tic and zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ }control_current;
+
+ struct _AgsNoteEditControlUnit{ // values for drawing refering to smallest tic and current zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ guint stop_x;
+ }control_unit;
+
+ guint selected_x;
+ guint selected_y;
+
+ GtkVScrollbar *vscrollbar;
+ GtkHScrollbar *hscrollbar;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsNoteEditClass</NAME>
+struct _AgsNoteEditClass
+{
+ GtkTableClass table;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_note_edit_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_set_map_height</NAME>
+<RETURNS>void </RETURNS>
+AgsNoteEdit *note_edit, guint map_height
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_reset_vertically</NAME>
+<RETURNS>void </RETURNS>
+AgsNoteEdit *note_edit, guint flags
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_reset_horizontally</NAME>
+<RETURNS>void </RETURNS>
+AgsNoteEdit *note_edit, guint flags
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_draw_segment</NAME>
+<RETURNS>void </RETURNS>
+AgsNoteEdit *note_edit, cairo_t *cr
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_draw_position</NAME>
+<RETURNS>void </RETURNS>
+AgsNoteEdit *note_edit, cairo_t *cr
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_draw_notation</NAME>
+<RETURNS>void </RETURNS>
+AgsNoteEdit *note_edit, cairo_t *cr
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_draw_scroll</NAME>
+<RETURNS>void </RETURNS>
+AgsNoteEdit *note_edit, cairo_t *cr, gdouble position
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_new</NAME>
+<RETURNS>AgsNoteEdit * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SF2_CHOOSER</NAME>
+#define AGS_TYPE_SF2_CHOOSER (ags_sf2_chooser_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_SF2_CHOOSER</NAME>
+#define AGS_SF2_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SF2_CHOOSER, AgsSF2Chooser))
+</MACRO>
+<MACRO>
+<NAME>AGS_SF2_CHOOSER_CLASS</NAME>
+#define AGS_SF2_CHOOSER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SF2_CHOOSER, AgsSF2ChooserClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SF2_CHOOSER</NAME>
+#define AGS_IS_SF2_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SF2_CHOOSER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SF2_CHOOSER_CLASS</NAME>
+#define AGS_IS_SF2_CHOOSER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SF2_CHOOSER))
+</MACRO>
+<MACRO>
+<NAME>AGS_SF2_CHOOSER_GET_CLASS</NAME>
+#define AGS_SF2_CHOOSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SF2_CHOOSER, AgsSF2ChooserClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSF2Chooser</NAME>
+struct _AgsSF2Chooser
+{
+ GtkVBox vbox;
+
+ AgsIpatch *ipatch;
+
+ GtkComboBoxText *preset;
+ GtkComboBoxText *instrument;
+ GtkComboBoxText *sample;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSF2ChooserClass</NAME>
+struct _AgsSF2ChooserClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_sf2_chooser_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sf2_chooser_open</NAME>
+<RETURNS>void </RETURNS>
+AgsSF2Chooser *sf2_chooser, gchar *filename
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sf2_chooser_completed</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsSF2Chooser *sf2_chooser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sf2_chooser_remove_all_from_combo</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBoxText *combo
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sf2_chooser_new</NAME>
+<RETURNS>AgsSF2Chooser * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MACHINE_SELECTION</NAME>
+#define AGS_TYPE_MACHINE_SELECTION (ags_machine_selection_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_SELECTION</NAME>
+#define AGS_MACHINE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_SELECTION, AgsMachineSelection))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_SELECTION_CLASS</NAME>
+#define AGS_MACHINE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_SELECTION, AgsMachineSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_SELECTION</NAME>
+#define AGS_IS_MACHINE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_SELECTION_CLASS</NAME>
+#define AGS_IS_MACHINE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_SELECTION_GET_CLASS</NAME>
+#define AGS_MACHINE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_MACHINE_SELECTION, AgsMachineSelectionClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMachineSelection</NAME>
+struct _AgsMachineSelection
+{
+ GtkDialog dialog;
+
+ AgsWindow *window;
+ GList *machine;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMachineSelectionClass</NAME>
+struct _AgsMachineSelectionClass
+{
+ GtkDialogClass dialog;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_machine_selection_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selection_run</NAME>
+<RETURNS>AgsMachine * </RETURNS>
+AgsMachineSelection *machine_selection
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selection_new</NAME>
+<RETURNS>AgsMachineSelection * </RETURNS>
+AgsWindow *window
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MACHINE_RADIO_BUTTON</NAME>
+#define AGS_TYPE_MACHINE_RADIO_BUTTON (ags_machine_radio_button_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_RADIO_BUTTON</NAME>
+#define AGS_MACHINE_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_RADIO_BUTTON, AgsMachineRadioButton))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_RADIO_BUTTON_CLASS</NAME>
+#define AGS_MACHINE_RADIO_BUTTON_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_RADIO_BUTTON, AgsMachineRadioButtonClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_RADIO_BUTTON</NAME>
+#define AGS_IS_MACHINE_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_RADIO_BUTTON))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_RADIO_BUTTON_CLASS</NAME>
+#define AGS_IS_MACHINE_RADIO_BUTTON_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_RADIO_BUTTON))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_RADIO_BUTTON_GET_CLASS</NAME>
+#define AGS_MACHINE_RADIO_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_MACHINE_RADIO_BUTTON, AgsMachineRadioButtonClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMachineRadioButton</NAME>
+struct _AgsMachineRadioButton
+{
+ GtkRadioButton radio_button;
+
+ AgsMachine *machine;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMachineRadioButtonClass</NAME>
+struct _AgsMachineRadioButtonClass
+{
+ GtkRadioButtonClass radio_button;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_machine_radio_button_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_radio_button_new</NAME>
+<RETURNS>AgsMachineRadioButton * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_popup_add_tab_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMachineSelector *machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_popup_remove_tab_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMachineSelector *machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_popup_add_index_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMachineSelector *machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_popup_remove_index_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMachineSelector *machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_popup_link_index_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *menu_item, AgsMachineSelector *machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_radio_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *radio_button, AgsMachineSelector *machine_selector
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_NOTEBOOK</NAME>
+#define AGS_TYPE_NOTEBOOK (ags_notebook_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTEBOOK</NAME>
+#define AGS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTEBOOK, AgsNotebook))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTEBOOK_CLASS</NAME>
+#define AGS_NOTEBOOK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTEBOOK, AgsNotebookClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTEBOOK</NAME>
+#define AGS_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NOTEBOOK))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_NOTEBOOK_CLASS</NAME>
+#define AGS_IS_NOTEBOOK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_NOTEBOOK))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTEBOOK_GET_CLASS</NAME>
+#define AGS_NOTEBOOK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_NOTEBOOK, AgsNotebookClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_NOTEBOOK_TAB</NAME>
+#define AGS_NOTEBOOK_TAB(x) ((AgsNotebookTab *)(x))
+</MACRO>
+<ENUM>
+<NAME>AgsNotebookTabFlags</NAME>
+typedef enum{
+ AGS_NOTEBOOK_TAB_VISIBLE = 1,
+ AGS_NOTEBOOK_TAB_MODE_NORMAL = 1 << 1,
+ AGS_NOTEBOOK_TAB_MODE_OVERLAY = 1 << 2,
+}AgsNotebookTabFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsNotebook</NAME>
+struct _AgsNotebook
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ GtkHBox *hbox;
+
+ GList *tabs;
+ GtkWidget *child;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsNotebookClass</NAME>
+struct _AgsNotebookClass
+{
+ GtkVBoxClass vbox;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsNotebookTab</NAME>
+struct _AgsNotebookTab
+{
+ guint flags;
+
+ GtkToggleButton *toggle;
+ GObject *notation;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_notebook_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_tab_index</NAME>
+<RETURNS>gint </RETURNS>
+AgsNotebook *notebook, GObject *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_next_active_tab</NAME>
+<RETURNS>gint </RETURNS>
+AgsNotebook *notebook, gint position
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_add_tab</NAME>
+<RETURNS>gint </RETURNS>
+AgsNotebook *notebook
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_insert_tab</NAME>
+<RETURNS>void </RETURNS>
+AgsNotebook *notebook, gint position
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_remove_tab</NAME>
+<RETURNS>void </RETURNS>
+AgsNotebook *notebook, gint nth
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_add_child</NAME>
+<RETURNS>void </RETURNS>
+AgsNotebook *notebook, GtkWidget *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_remove_child</NAME>
+<RETURNS>void </RETURNS>
+AgsNotebook *notebook, GtkWidget *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_new</NAME>
+<RETURNS>AgsNotebook * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TOOLBAR_MODE_SINGLE_CHANNEL</NAME>
+#define AGS_TOOLBAR_MODE_SINGLE_CHANNEL "single channel\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_TOOLBAR_MODE_MULTI_CHANNEL</NAME>
+#define AGS_TOOLBAR_MODE_MULTI_CHANNEL "multi channel\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_TOOLBAR_MODE_ALL_CHANNELS</NAME>
+#define AGS_TOOLBAR_MODE_ALL_CHANNELS "all channels\0"
+</MACRO>
+<FUNCTION>
+<NAME>ags_file_selection_remove_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkButton *button, GtkTable *hbox
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_INLINE_PLAYER</NAME>
+#define AGS_TYPE_INLINE_PLAYER (ags_inline_player_get_type ())
+</MACRO>
+<MACRO>
+<NAME>AGS_INLINE_PLAYER</NAME>
+#define AGS_INLINE_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INLINE_PLAYER, AgsInlinePlayer))
+</MACRO>
+<MACRO>
+<NAME>AGS_INLINE_PLAYER_CLASS</NAME>
+#define AGS_INLINE_PLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INLINE_PLAYER, AgsInlinePlayerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INLINE_PLAYER</NAME>
+#define AGS_IS_INLINE_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INLINE_PLAYER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_INLINE_PLAYER_CLASS</NAME>
+#define AGS_IS_INLINE_PLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INLINE_PLAYER))
+</MACRO>
+<MACRO>
+<NAME>AGS_INLINE_PLAYER_GET_CLASS</NAME>
+#define AGS_INLINE_PLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INLINE_PLAYER, AgsInlinePlayerClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsInlinePlayer</NAME>
+struct _AgsInlinePlayer
+{
+ GtkHBox vbox;
+
+ AgsPlayable *playable;
+
+ GtkToggleButton *play;
+ GtkHScale *position;
+ GtkVolumeButton *volume;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsInlinePlayerClass</NAME>
+struct _AgsInlinePlayerClass
+{
+ GtkHBoxClass vbox;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_inline_player_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_inline_player_new</NAME>
+<RETURNS>AgsInlinePlayer * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_METER</NAME>
+#define AGS_TYPE_METER (ags_meter_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_METER</NAME>
+#define AGS_METER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_METER, AgsMeter))
+</MACRO>
+<MACRO>
+<NAME>AGS_METER_CLASS</NAME>
+#define AGS_METER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_METER, AgsMeterClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_METER</NAME>
+#define AGS_IS_METER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_METER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_METER_CLASS</NAME>
+#define AGS_IS_METER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_METER))
+</MACRO>
+<MACRO>
+<NAME>AGS_METER_GET_CLASS</NAME>
+#define AGS_METER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_METER, AgsMeterClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMeter</NAME>
+struct _AgsMeter
+{
+ GtkDrawingArea drawing_area;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMeterClass</NAME>
+struct _AgsMeterClass
+{
+ GtkDrawingAreaClass drawing_area;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_meter_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_meter_sound_string</NAME>
+<RETURNS>char * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_meter_paint</NAME>
+<RETURNS>void </RETURNS>
+AgsMeter *meter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_meter_new</NAME>
+<RETURNS>AgsMeter * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MACHINE_SELECTOR</NAME>
+#define AGS_TYPE_MACHINE_SELECTOR (ags_machine_selector_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_SELECTOR</NAME>
+#define AGS_MACHINE_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_SELECTOR, AgsMachineSelector))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_SELECTOR_CLASS</NAME>
+#define AGS_MACHINE_SELECTOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_SELECTOR, AgsMachineSelectorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_SELECTOR</NAME>
+#define AGS_IS_MACHINE_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_SELECTOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MACHINE_SELECTOR_CLASS</NAME>
+#define AGS_IS_MACHINE_SELECTOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_SELECTOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_MACHINE_SELECTOR_GET_CLASS</NAME>
+#define AGS_MACHINE_SELECTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_MACHINE_SELECTOR, AgsMachineSelectorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMachineSelector</NAME>
+struct _AgsMachineSelector
+{
+ GtkVBox vbox;
+
+ GtkMenu *popup;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMachineSelectorClass</NAME>
+struct _AgsMachineSelectorClass
+{
+ GtkVBoxClass vbox;
+
+ void (*changed)(AgsMachineSelector *machine_selector, AgsMachine *machine);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_machine_selector_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsMachineSelector *machine_selector, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_popup_new</NAME>
+<RETURNS>GtkMenu * </RETURNS>
+AgsMachineSelector *machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_machine_selector_new</NAME>
+<RETURNS>AgsMachineSelector * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_destroy_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkObject *object, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_show_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_position_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkToggleButton *toggle_button, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_edit_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkToggleButton *toggle_button, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_clear_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkToggleButton *toggle_button, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_select_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkToggleButton *toggle_button, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_copy_or_cut_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_paste_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_zoom_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo_box, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_mode_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_drawing_area_expose_event</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventExpose *event, AgsNoteEdit *note_edit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_drawing_area_configure_event</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventConfigure *event, AgsNoteEdit *note_edit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_drawing_area_button_press_event</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventButton *event, AgsNoteEdit *note_edit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_drawing_area_button_release_event</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventButton *event, AgsNoteEdit *note_edit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_drawing_area_motion_notify_event</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventMotion *event, AgsNoteEdit *note_edit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_vscrollbar_value_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkRange *range, AgsNoteEdit *note_edit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_note_edit_hscrollbar_value_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkRange *range, AgsNoteEdit *note_edit
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_meter_destroy_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkObject *object, AgsMeter *meter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_meter_show_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsMeter *meter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_meter_expose_event</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventExpose *event, AgsMeter *meter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_meter_configure_event</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventConfigure *event, AgsMeter *meter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sf2_chooser_preset_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sf2_chooser_instrument_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_sf2_chooser_sample_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_notebook_machine_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsEditor *editor, AgsMachine *machine, AgsNotebook *notebook
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE_SELECTION</NAME>
+#define AGS_TYPE_FILE_SELECTION (ags_file_selection_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_SELECTION</NAME>
+#define AGS_FILE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_SELECTION, AgsFileSelection))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_SELECTION_CLASS</NAME>
+#define AGS_FILE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_SELECTION, AgsFileSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_SELECTION</NAME>
+#define AGS_IS_FILE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FILE_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_SELECTION_CLASS</NAME>
+#define AGS_IS_FILE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_FILE_SELECTION))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_SELECTION_GET_CLASS</NAME>
+#define AGS_FILE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_FILE_SELECTION, AgsFileSelectionClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_SELECTION_ENTRY</NAME>
+#define AGS_FILE_SELECTION_ENTRY(strct) ((AgsFileSelectionEntry *) (strct))
+</MACRO>
+<ENUM>
+<NAME>AgsFileSelectionFlags</NAME>
+typedef enum{
+ AGS_FILE_SELECTION_COMPLETED = 1,
+}AgsFileSelectionFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsFileSelection</NAME>
+struct _AgsFileSelection
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *directory;
+
+ guint entry_count;
+ GList *entry;
+
+ GtkLabel *chosed;
+ GtkLabel *selected;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileSelectionClass</NAME>
+struct _AgsFileSelectionClass
+{
+ GtkVBoxClass vbox;
+
+ void (*add_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
+ void (*remove_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
+
+ void (*completed)(AgsFileSelection *file_selection);
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileSelectionEntry</NAME>
+struct _AgsFileSelectionEntry
+{
+ GtkTable *table;
+
+ GtkWidget *entry;
+
+ gboolean chosed;
+ gchar *filename;
+
+ GtkSpinButton *nth_sample;
+ GtkSpinButton *nth_channel;
+ GtkSpinButton *count;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_selection_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_selection_entry_alloc</NAME>
+<RETURNS>AgsFileSelectionEntry * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_selection_set_entry</NAME>
+<RETURNS>void </RETURNS>
+AgsFileSelection *file_selection, GList *entry
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_selection_add_entry</NAME>
+<RETURNS>void </RETURNS>
+AgsFileSelection *file_selection, GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_selection_remove_entry</NAME>
+<RETURNS>void </RETURNS>
+AgsFileSelection *file_selection, GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_selection_contains_file</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsFileSelection *file_selection, gchar *filename
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_selection_completed</NAME>
+<RETURNS>void </RETURNS>
+AgsFileSelection *file_selection
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_selection_new</NAME>
+<RETURNS>AgsFileSelection * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TOOLBAR</NAME>
+#define AGS_TYPE_TOOLBAR (ags_toolbar_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TOOLBAR</NAME>
+#define AGS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TOOLBAR, AgsToolbar))
+</MACRO>
+<MACRO>
+<NAME>AGS_TOOLBAR_CLASS</NAME>
+#define AGS_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TOOLBAR, AgsToolbarClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TOOLBAR</NAME>
+#define AGS_IS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TOOLBAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TOOLBAR_CLASS</NAME>
+#define AGS_IS_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TOOLBAR))
+</MACRO>
+<MACRO>
+<NAME>AGS_TOOLBAR_GET_CLASS</NAME>
+#define AGS_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_TOOLBAR, AgsToolbarClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsToolbar</NAME>
+struct _AgsToolbar
+{
+ GtkToolbar toolbar;
+
+ GtkToggleButton *selected_edit_mode;
+ GtkToggleButton *position;
+ GtkToggleButton *edit;
+ GtkToggleButton *clear;
+ GtkToggleButton *select;
+
+ GtkButton *copy;
+ GtkButton *cut;
+ GtkButton *paste;
+
+ guint zoom_history;
+ GtkComboBoxText *zoom;
+
+ GtkComboBoxText *mode;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsToolbarClass</NAME>
+struct _AgsToolbarClass
+{
+ GtkToolbarClass toolbar;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_toolbar_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_toolbar_new</NAME>
+<RETURNS>AgsToolbar * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SYNTH_INPUT_LINE</NAME>
+#define AGS_TYPE_SYNTH_INPUT_LINE (ags_synth_input_line_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_INPUT_LINE</NAME>
+#define AGS_SYNTH_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_INPUT_LINE, AgsSynthInputLine))
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_INPUT_LINE_CLASS</NAME>
+#define AGS_SYNTH_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SYNTH_INPUT_LINE, AgsSynthInputLineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SYNTH_INPUT_LINE</NAME>
+#define AGS_IS_SYNTH_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SYNTH_INPUT_LINE_CLASS</NAME>
+#define AGS_IS_SYNTH_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_INPUT_LINE_GET_CLASS</NAME>
+#define AGS_SYNTH_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SYNTH_INPUT_LINE, AgsSynthInputLineClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSynthInputLine</NAME>
+struct _AgsSynthInputLine
+{
+ AgsLine line;
+
+ gchar *name;
+ gchar *xml_type;
+
+ AgsOscillator *oscillator;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSynthInputLineClass</NAME>
+struct _AgsSynthInputLineClass
+{
+ AgsLineClass line;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_synth_input_line_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_input_line_map_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsSynthInputLine *synth_input_line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_input_line_new</NAME>
+<RETURNS>AgsSynthInputLine * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_output_line_parent_set_callback</NAME>
+<RETURNS>int </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, gpointer data
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DRUM_OUTPUT_PAD</NAME>
+#define AGS_TYPE_DRUM_OUTPUT_PAD (ags_drum_output_pad_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_OUTPUT_PAD</NAME>
+#define AGS_DRUM_OUTPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_OUTPUT_PAD, AgsDrumOutputPad))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_OUTPUT_PAD_CLASS</NAME>
+#define AGS_DRUM_OUTPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DRUM_OUTPUT_PAD, AgsDrumOutputPadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_OUTPUT_PAD</NAME>
+#define AGS_IS_DRUM_OUTPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_OUTPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_OUTPUT_PAD_CLASS</NAME>
+#define AGS_IS_DRUM_OUTPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_OUTPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_OUTPUT_PAD_GET_CLASS</NAME>
+#define AGS_DRUM_OUTPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_OUTPUT_PAD, AgsDrumOutputPadClass))
+</MACRO>
+<ENUM>
+<NAME>AgsDrumOutputPadFlags</NAME>
+typedef enum{
+ AGS_DRUM_OUTPUT_PAD_PLAY_DONE = 1,
+}AgsDrumOutputPadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsDrumOutputPad</NAME>
+struct _AgsDrumOutputPad
+{
+ AgsPad pad;
+
+ guint flags;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDrumOutputPadClass</NAME>
+struct _AgsDrumOutputPadClass
+{
+ AgsPadClass pad;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_drum_output_pad_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_output_pad_new</NAME>
+<RETURNS>AgsDrumOutputPad * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_output_pad_play_done</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecallID *recall_id, AgsDrumOutputPad *drum_output_pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_output_pad_play_cancel</NAME>
+<RETURNS>void </RETURNS>
+AgsRecall *recall, AgsRecallID *recall_id, AgsDrumOutputPad *drum_output_pad
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PANEL</NAME>
+#define AGS_TYPE_PANEL (ags_panel_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL</NAME>
+#define AGS_PANEL(obj) ((AgsPanel*) G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PANEL, AgsPanel))
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_CLASS</NAME>
+#define AGS_PANEL_CLASS(class) ((AgsPanelClass*) G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PANEL, AgsPanelClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PANEL</NAME>
+#define AGS_IS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, AGS_TYPE_PANEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PANEL_CLASS</NAME>
+#define AGS_IS_PANEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PANEL))
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_GET_CLASS</NAME>
+#define AGS_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PANEL, AgsPanelClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPanel</NAME>
+struct _AgsPanel
+{
+ AgsMachine machine;
+
+ GtkVBox *vbox;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPanelClass</NAME>
+struct _AgsPanelClass
+{
+ AgsMachineClass machine;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_panel_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_panel_new</NAME>
+<RETURNS>AgsPanel * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_open_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_loop_button_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *button, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_length_spin_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *spin_button, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_index0_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_index1_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_pad_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_offset_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_done_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id, AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_pad_open_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *button, AgsDrumInputPad *drum_input_pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_pad_play_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkToggleButton *button, AgsDrumInputPad *drum_input_pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_pad_edit_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *toggle_button, AgsDrumInputPad *drum_input_pad
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DRUM_INPUT_PAD</NAME>
+#define AGS_TYPE_DRUM_INPUT_PAD (ags_drum_input_pad_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_INPUT_PAD</NAME>
+#define AGS_DRUM_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_INPUT_PAD, AgsDrumInputPad))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_INPUT_PAD_CLASS</NAME>
+#define AGS_DRUM_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DRUM_INPUT_PAD, AgsDrumInputPadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_INPUT_PAD</NAME>
+#define AGS_IS_DRUM_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_INPUT_PAD_CLASS</NAME>
+#define AGS_IS_DRUM_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_INPUT_PAD_GET_CLASS</NAME>
+#define AGS_DRUM_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_INPUT_PAD, AgsDrumInputPadClass))
+</MACRO>
+<ENUM>
+<NAME>AgsDrumInputPadFlags</NAME>
+typedef enum{
+ AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE = 1,
+}AgsDrumInputPadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsDrumInputPad</NAME>
+struct _AgsDrumInputPad
+{
+ AgsPad pad;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+ GtkToggleButton *play;
+ GtkToggleButton *edit;
+
+ GList *pad_open_recalls;
+ guint pad_open_play_ref;
+
+ GtkFileChooserDialog *file_chooser;
+
+ guint pad_play_ref;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDrumInputPadClass</NAME>
+struct _AgsDrumInputPadClass
+{
+ AgsPadClass pad;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_drum_input_pad_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_pad_new</NAME>
+<RETURNS>AgsDrumInputPad * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PANEL_INPUT_LINE</NAME>
+#define AGS_TYPE_PANEL_INPUT_LINE (ags_panel_input_line_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_INPUT_LINE</NAME>
+#define AGS_PANEL_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PANEL_INPUT_LINE, AgsPanelInputLine))
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_INPUT_LINE_CLASS</NAME>
+#define AGS_PANEL_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PANEL_INPUT_LINE, AgsPanelInputLineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PANEL_INPUT_LINE</NAME>
+#define AGS_IS_PANEL_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PANEL_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PANEL_INPUT_LINE_CLASS</NAME>
+#define AGS_IS_PANEL_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PANEL_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_INPUT_LINE_GET_CLASS</NAME>
+#define AGS_PANEL_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PANEL_INPUT_LINE, AgsPanelInputLineClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPanelInputLine</NAME>
+struct _AgsPanelInputLine
+{
+ AgsLine line;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPanelInputLineClass</NAME>
+struct _AgsPanelInputLineClass
+{
+ AgsLineClass line;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_panel_input_line_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_panel_input_line_map_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsPanelInputLine *panel_input_line, guint output_pad_start
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_panel_input_line_new</NAME>
+<RETURNS>AgsPanelInputLine * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PANEL_INPUT_PAD</NAME>
+#define AGS_TYPE_PANEL_INPUT_PAD (ags_panel_input_pad_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_INPUT_PAD</NAME>
+#define AGS_PANEL_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PANEL_INPUT_PAD, AgsPanelInputPad))
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_INPUT_PAD_CLASS</NAME>
+#define AGS_PANEL_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PANEL_INPUT_PAD, AgsPanelInputPadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PANEL_INPUT_PAD</NAME>
+#define AGS_IS_PANEL_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PANEL_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PANEL_INPUT_PAD_CLASS</NAME>
+#define AGS_IS_PANEL_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PANEL_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_PANEL_INPUT_PAD_GET_CLASS</NAME>
+#define AGS_PANEL_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PANEL_INPUT_PAD, AgsPanelInputPadClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPanelInputPad</NAME>
+struct _AgsPanelInputPad
+{
+ AgsPad pad;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPanelInputPadClass</NAME>
+struct _AgsPanelInputPadClass
+{
+ AgsPadClass pad;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_panel_input_pad_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_panel_input_pad_new</NAME>
+<RETURNS>AgsPanelInputPad * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsSynth *synth
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_lower_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsSynth *synth
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_auto_update_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkToggleButton *toggle, AgsSynth *synth
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_update_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkButton *button, AgsSynth *synth
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SYNTH_INPUT_PAD</NAME>
+#define AGS_TYPE_SYNTH_INPUT_PAD (ags_synth_input_pad_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_INPUT_PAD</NAME>
+#define AGS_SYNTH_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_INPUT_PAD, AgsSynthInputPad))
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_INPUT_PAD_CLASS</NAME>
+#define AGS_SYNTH_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SYNTH_INPUT_PAD, AgsSynthInputPadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SYNTH_INPUT_PAD</NAME>
+#define AGS_IS_SYNTH_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SYNTH_INPUT_PAD_CLASS</NAME>
+#define AGS_IS_SYNTH_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_INPUT_PAD_GET_CLASS</NAME>
+#define AGS_SYNTH_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SYNTH_INPUT_PAD, AgsSynthInputPadClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsSynthInputPad</NAME>
+struct _AgsSynthInputPad
+{
+ AgsPad pad;
+
+ gchar *name;
+ gchar *xml_type;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSynthInputPadClass</NAME>
+struct _AgsSynthInputPadClass
+{
+ AgsPadClass pad;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_synth_input_pad_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_input_pad_new</NAME>
+<RETURNS>AgsSynthInputPad * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MIXER</NAME>
+#define AGS_TYPE_MIXER (ags_mixer_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER</NAME>
+#define AGS_MIXER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_MIXER, AgsMixer))
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_CLASS</NAME>
+#define AGS_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIXER, AgsMixerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MIXER</NAME>
+#define AGS_IS_MIXER(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, AGS_TYPE_MIXER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MIXER_CLASS</NAME>
+#define AGS_IS_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MIXER))
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_GET_CLASS</NAME>
+#define AGS_MIXER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MIXER, AgsMixerClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMixer</NAME>
+struct _AgsMixer
+{
+ AgsMachine machine;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkHBox *input_pad;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMixerClass</NAME>
+struct _AgsMixerClass
+{
+ AgsMachineClass machine;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mixer_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mixer_new</NAME>
+<RETURNS>AgsMixer * </RETURNS>
+GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_oscillator_wave_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *combo, AgsOscillator *oscillator
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_oscillator_attack_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsOscillator *oscillator
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_oscillator_frame_count_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsOscillator *oscillator
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_oscillator_frequency_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsOscillator *oscillator
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_oscillator_phase_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsOscillator *oscillator
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_oscillator_volume_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkSpinButton *spin_button, AgsOscillator *oscillator
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DRUM</NAME>
+#define AGS_TYPE_DRUM (ags_drum_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM</NAME>
+#define AGS_DRUM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM, AgsDrum))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_CLASS</NAME>
+#define AGS_DRUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DRUM, AgsDrumClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM</NAME>
+#define AGS_IS_DRUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_CLASS</NAME>
+#define AGS_IS_DRUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_GET_CLASS</NAME>
+#define AGS_DRUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DRUM, AgsDrumClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_PATTERN_CONTROLS</NAME>
+#define AGS_DRUM_PATTERN_CONTROLS (16)
+</MACRO>
+<ENUM>
+<NAME>AgsDrumFlags</NAME>
+typedef enum{
+ AGS_DRUM_BLOCK_PATTERN = 1,
+}AgsDrumFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsDrum</NAME>
+struct _AgsDrum
+{
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+
+ GtkCheckButton *loop_button;
+ GtkSpinButton *length_spin;
+
+ GtkToggleButton *run;
+
+ GtkVBox *vbox;
+
+ GtkHBox *input_pad;
+ GtkVBox *output_pad;
+
+ GtkToggleButton *selected_edit_button;
+
+ AgsDrumInputPad *selected_pad;
+ AgsLine *selected_line;
+
+ GtkToggleButton *index0[4];
+ GtkToggleButton *selected0;
+
+ GtkToggleButton *index1[12];
+ GtkToggleButton *selected1;
+
+ guint active_led;
+ GtkHBox *led;
+ GtkHBox *pattern;
+
+ GtkVBox *offset;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDrumClass</NAME>
+struct _AgsDrumClass
+{
+ AgsMachineClass machine;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_drum_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_set_pattern</NAME>
+<RETURNS>void </RETURNS>
+AgsDrum *drum
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_new</NAME>
+<RETURNS>AgsDrum * </RETURNS>
+GObject *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MIXER_INPUT_PAD</NAME>
+#define AGS_TYPE_MIXER_INPUT_PAD (ags_mixer_input_pad_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_INPUT_PAD</NAME>
+#define AGS_MIXER_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIXER_INPUT_PAD, AgsMixerInputPad))
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_INPUT_PAD_CLASS</NAME>
+#define AGS_MIXER_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIXER_INPUT_PAD, AgsMixerInputPadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MIXER_INPUT_PAD</NAME>
+#define AGS_IS_MIXER_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MIXER_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MIXER_INPUT_PAD_CLASS</NAME>
+#define AGS_IS_MIXER_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MIXER_INPUT_PAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_INPUT_PAD_GET_CLASS</NAME>
+#define AGS_MIXER_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_MIXER_INPUT_PAD, AgsMixerInputPadClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMixerInputPad</NAME>
+struct _AgsMixerInputPad
+{
+ AgsPad pad;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMixerInputPadClass</NAME>
+struct _AgsMixerInputPadClass
+{
+ AgsPadClass pad;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mixer_input_pad_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mixer_input_pad_new</NAME>
+<RETURNS>AgsMixerInputPad * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MIXER_INPUT_LINE</NAME>
+#define AGS_TYPE_MIXER_INPUT_LINE (ags_mixer_input_line_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_INPUT_LINE</NAME>
+#define AGS_MIXER_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIXER_INPUT_LINE, AgsMixerInputLine))
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_INPUT_LINE_CLASS</NAME>
+#define AGS_MIXER_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIXER_INPUT_LINE, AgsMixerInputLineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MIXER_INPUT_LINE</NAME>
+#define AGS_IS_MIXER_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MIXER_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MIXER_INPUT_LINE_CLASS</NAME>
+#define AGS_IS_MIXER_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MIXER_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_MIXER_INPUT_LINE_GET_CLASS</NAME>
+#define AGS_MIXER_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_MIXER_INPUT_LINE, AgsMixerInputLineClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsMixerInputLine</NAME>
+struct _AgsMixerInputLine
+{
+ AgsLine line;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMixerInputLineClass</NAME>
+struct _AgsMixerInputLineClass
+{
+ AgsLineClass line;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mixer_input_line_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mixer_input_line_map_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsMixerInputLine *mixer_input_line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mixer_input_line_new</NAME>
+<RETURNS>AgsMixerInputLine * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SYNTH</NAME>
+#define AGS_TYPE_SYNTH (ags_synth_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH</NAME>
+#define AGS_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH, AgsSynth))
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_CLASS</NAME>
+#define AGS_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SYNTH, AgsSynthClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SYNTH</NAME>
+#define AGS_IS_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SYNTH_CLASS</NAME>
+#define AGS_IS_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH))
+</MACRO>
+<MACRO>
+<NAME>AGS_SYNTH_GET_CLASS</NAME>
+#define AGS_SYNTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SYNTH, AgsSynthClass))
+</MACRO>
+<ENUM>
+<NAME>AgsSynthFlags</NAME>
+typedef enum{
+ AGS_SYNTH_AUTO_UPDATE = 1,
+}AgsSynthFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsSynth</NAME>
+struct _AgsSynth
+{
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkVBox *input_pad;
+
+ GtkSpinButton *lower; // how many channels until to lowest freq
+ GtkSpinButton *loop_start;
+ GtkSpinButton *loop_end;
+
+ GtkCheckButton *auto_update;
+ GtkButton *update;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSynthClass</NAME>
+struct _AgsSynthClass
+{
+ AgsMachineClass machine;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_synth_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_synth_new</NAME>
+<RETURNS>AgsSynth * </RETURNS>
+GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_index_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_drawing_area_expose_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventExpose *event, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_drawing_area_button_press_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventButton *event, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_adjustment_value_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_bpm_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *spin_button, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_length_spin_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *spin_button, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_loop_button_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *button, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_tact_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id, AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_done_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, AgsRecallID *recall_id, AgsMatrix *matrix
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DRUM_OUTPUT_LINE</NAME>
+#define AGS_TYPE_DRUM_OUTPUT_LINE (ags_drum_output_line_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_OUTPUT_LINE</NAME>
+#define AGS_DRUM_OUTPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_OUTPUT_LINE, AgsDrumOutputLine))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_OUTPUT_LINE_CLASS</NAME>
+#define AGS_DRUM_OUTPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DRUM_OUTPUT_LINE, AgsDrumOutputLineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_OUTPUT_LINE</NAME>
+#define AGS_IS_DRUM_OUTPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_OUTPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_OUTPUT_LINE_CLASS</NAME>
+#define AGS_IS_DRUM_OUTPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_OUTPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_OUTPUT_LINE_GET_CLASS</NAME>
+#define AGS_DRUM_OUTPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_OUTPUT_LINE, AgsDrumOutputLineClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsDrumOutputLine</NAME>
+struct _AgsDrumOutputLine
+{
+ AgsLine line;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDrumOutputLineClass</NAME>
+struct _AgsDrumOutputLineClass
+{
+ AgsLineClass line;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_drum_output_line_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_output_line_add_default_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsDrumOutputLine *drum_output_line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_output_line_new</NAME>
+<RETURNS>AgsDrumOutputLine * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DRUM_INPUT_LINE</NAME>
+#define AGS_TYPE_DRUM_INPUT_LINE (ags_drum_input_line_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_INPUT_LINE</NAME>
+#define AGS_DRUM_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_INPUT_LINE, AgsDrumInputLine))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_INPUT_LINE_CLASS</NAME>
+#define AGS_DRUM_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DRUM_INPUT_LINE, AgsDrumInputLineClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_INPUT_LINE</NAME>
+#define AGS_IS_DRUM_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DRUM_INPUT_LINE_CLASS</NAME>
+#define AGS_IS_DRUM_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_INPUT_LINE))
+</MACRO>
+<MACRO>
+<NAME>AGS_DRUM_INPUT_LINE_GET_CLASS</NAME>
+#define AGS_DRUM_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_INPUT_LINE, AgsDrumInputLineClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsDrumInputLine</NAME>
+struct _AgsDrumInputLine
+{
+ AgsLine line;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDrumInputLineClass</NAME>
+struct _AgsDrumInputLineClass
+{
+ AgsLineClass line;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_drum_input_line_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_line_map_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsDrumInputLine *drum_input_line, guint output_pad_start
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_line_new</NAME>
+<RETURNS>AgsDrumInputLine * </RETURNS>
+AgsChannel *channel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_OSCILLATOR</NAME>
+#define AGS_TYPE_OSCILLATOR (ags_oscillator_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_OSCILLATOR</NAME>
+#define AGS_OSCILLATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_OSCILLATOR, AgsOscillator))
+</MACRO>
+<MACRO>
+<NAME>AGS_OSCILLATOR_CLASS</NAME>
+#define AGS_OSCILLATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_OSCILLATOR, AgsOscillatorClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OSCILLATOR</NAME>
+#define AGS_IS_OSCILLATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OSCILLATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_OSCILLATOR_CLASS</NAME>
+#define AGS_IS_OSCILLATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OSCILLATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_OSCILLATOR_GET_CLASS</NAME>
+#define AGS_OSCILLATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OSCILLATOR, AgsOscillatorClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsOscillator</NAME>
+struct _AgsOscillator
+{
+ GtkFrame frame;
+
+ GtkComboBox *wave;
+ gulong wave_handler;
+
+ GtkSpinButton *attack;
+ gulong attack_handler;
+
+ GtkSpinButton *frame_count;
+ gulong frame_count_handler;
+
+ GtkSpinButton *frequency;
+ gulong frequency_handler;
+
+ GtkSpinButton *phase;
+ gulong phase_handler;
+
+ GtkSpinButton *volume;
+ gulong volume_handler;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsOscillatorClass</NAME>
+struct _AgsOscillatorClass
+{
+ GtkFrameClass frame;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_oscillator_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_oscillator</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsOscillator **oscillator
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_oscillator</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsOscillator *oscillator
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_oscillator_new</NAME>
+<RETURNS>AgsOscillator * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MATRIX</NAME>
+#define AGS_TYPE_MATRIX (ags_matrix_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MATRIX</NAME>
+#define AGS_MATRIX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MATRIX, AgsMatrix))
+</MACRO>
+<MACRO>
+<NAME>AGS_MATRIX_CLASS</NAME>
+#define AGS_MATRIX_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MATRIX, AgsMatrixClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MATRIX</NAME>
+#define AGS_IS_MATRIX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MATRIX))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MATRIX_CLASS</NAME>
+#define AGS_IS_MATRIX_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MATRIX))
+</MACRO>
+<MACRO>
+<NAME>AGS_MATRIX_GET_CLASS</NAME>
+#define AGS_MATRIX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MATRIX, AgsMatrixClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_MATRIX_PATTERN_CONTROLS</NAME>
+#define AGS_MATRIX_PATTERN_CONTROLS (16)
+</MACRO>
+<MACRO>
+<NAME>AGS_MATRIX_OCTAVE</NAME>
+#define AGS_MATRIX_OCTAVE 10
+</MACRO>
+<MACRO>
+<NAME>AGS_MATRIX_CELL_WIDTH</NAME>
+#define AGS_MATRIX_CELL_WIDTH 12
+</MACRO>
+<MACRO>
+<NAME>AGS_MATRIX_CELL_HEIGHT</NAME>
+#define AGS_MATRIX_CELL_HEIGHT 10
+</MACRO>
+<STRUCT>
+<NAME>AgsMatrix</NAME>
+struct _AgsMatrix
+{
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ guint mapped_output_pad;
+ guint mapped_input_pad;
+
+ GtkTable *table;
+
+ GtkToggleButton *run;
+ GtkToggleButton *selected;
+ GtkToggleButton *index[9];
+
+ GtkDrawingArea *drawing_area;
+ guint active_led;
+ GtkHBox *led;
+
+ GtkAdjustment *adjustment;
+
+ GtkSpinButton *length_spin;
+ GtkCheckButton *loop_button;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsMatrixClass</NAME>
+struct _AgsMatrixClass
+{
+ AgsMachineClass machine;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_matrix_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_input_map_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsMatrix *matrix, guint input_pad_start
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_output_map_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsMatrix *matrix, guint output_pad_start
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_draw_gutter</NAME>
+<RETURNS>void </RETURNS>
+AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_draw_matrix</NAME>
+<RETURNS>void </RETURNS>
+AgsMatrix *matrix
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_redraw_gutter_point</NAME>
+<RETURNS>void </RETURNS>
+AgsMatrix *matrix, AgsChannel *channel, guint j, guint i
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_highlight_gutter_point</NAME>
+<RETURNS>void </RETURNS>
+AgsMatrix *matrix, guint j, guint i
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_unpaint_gutter_point</NAME>
+<RETURNS>void </RETURNS>
+AgsMatrix *matrix, guint j, guint i
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_matrix_new</NAME>
+<RETURNS>AgsMatrix * </RETURNS>
+GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mixer_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsMixer *mixer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_line_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsDrumInputLine *drum_input_line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_line_channel_done_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsChannel *channel, AgsDrumInputLine *drum_input_line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_drum_input_line_audio_set_pads_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsAudio *audio, GType type, guint pads, guint pads_old, AgsDrumInputLine *drum_input_line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_open_clicked_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_open_dialog_response_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, gint response, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_preset_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *preset, AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_instrument_changed_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBox *instrument, AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_drawing_area_expose_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventExpose *event, AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_drawing_area_configure_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, GdkEventConfigure *event, AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_drawing_area_button_press_callback</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkWidget *widget, AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_hscrollbar_value_changed</NAME>
+<RETURNS>void </RETURNS>
+GtkAdjustment *adjustment, AgsFFPlayer *ffplayers
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_panel_parent_set_callback</NAME>
+<RETURNS>void </RETURNS>
+GtkWidget *widget, GtkObject *old_parent, AgsPanel *panel
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FFPLAYER</NAME>
+#define AGS_TYPE_FFPLAYER (ags_ffplayer_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FFPLAYER</NAME>
+#define AGS_FFPLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FFPLAYER, AgsFFPlayer))
+</MACRO>
+<MACRO>
+<NAME>AGS_FFPLAYER_CLASS</NAME>
+#define AGS_FFPLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FFPLAYER, AgsFFPlayerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FFPLAYER</NAME>
+#define AGS_IS_FFPLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FFPLAYER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FFPLAYER_CLASS</NAME>
+#define AGS_IS_FFPLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FFPLAYER))
+</MACRO>
+<MACRO>
+<NAME>AGS_FFPLAYER_GET_CLASS</NAME>
+#define AGS_FFPLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_FFPLAYER, AgsFFPlayerClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFFPlayer</NAME>
+struct _AgsFFPlayer
+{
+ AgsMachine machine;
+
+ guint mapped_output_pad;
+ guint mapped_input_pad;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+
+ guint control_width;
+ guint control_height;
+
+ GtkDrawingArea *drawing_area;
+ GtkAdjustment *hadjustment;
+
+ AgsIpatch *ipatch;
+ GtkComboBoxText *preset;
+ GtkComboBoxText *instrument;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFFPlayerClass</NAME>
+struct _AgsFFPlayerClass
+{
+ AgsMachineClass machine;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_ffplayer_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_paint</NAME>
+<RETURNS>void </RETURNS>
+AgsFFPlayer *ffplayer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ffplayer_new</NAME>
+<RETURNS>AgsFFPlayer * </RETURNS>
+GObject *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REMOTE_TASK</NAME>
+#define AGS_TYPE_REMOTE_TASK (ags_remote_task_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOTE_TASK</NAME>
+#define AGS_REMOTE_TASK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOTE_TASK, AgsRemoteTask))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOTE_TASK_CLASS</NAME>
+#define AGS_REMOTE_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_REMOTE_TASK, AgsRemoteTaskClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOTE_TASK</NAME>
+#define AGS_IS_REMOTE_TASK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_REMOTE_TASK))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REMOTE_TASK_CLASS</NAME>
+#define AGS_IS_REMOTE_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_REMOTE_TASK))
+</MACRO>
+<MACRO>
+<NAME>AGS_REMOTE_TASK_GET_CLASS</NAME>
+#define AGS_REMOTE_TASK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_REMOTE_TASK, AgsRemoteTaskClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsRemoteTask</NAME>
+struct _AgsRemoteTask
+{
+ GObject object;
+
+ GObject *server;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRemoteTaskClass</NAME>
+struct _AgsRemoteTaskClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_remote_task_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remote_task_launch</NAME>
+<RETURNS>xmlrpc_value * </RETURNS>
+xmlrpc_env *env, xmlrpc_value *param_array, void *server_info
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remote_task_launch_timed</NAME>
+<RETURNS>xmlrpc_value * </RETURNS>
+xmlrpc_env *env, xmlrpc_value *param_array, void *server_info
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_remote_task_new</NAME>
+<RETURNS>AgsRemoteTask * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SERVER</NAME>
+#define AGS_TYPE_SERVER (ags_server_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SERVER</NAME>
+#define AGS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERVER, AgsServer))
+</MACRO>
+<MACRO>
+<NAME>AGS_SERVER_CLASS</NAME>
+#define AGS_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SERVER, AgsServerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SERVER</NAME>
+#define AGS_IS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SERVER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SERVER_CLASS</NAME>
+#define AGS_IS_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SERVER))
+</MACRO>
+<MACRO>
+<NAME>AGS_SERVER_GET_CLASS</NAME>
+#define AGS_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SERVER, AgsServerClass))
+</MACRO>
+<ENUM>
+<NAME>AgsServerFlags</NAME>
+typedef enum{
+ AGS_SERVER_STARTED = 1,
+ AGS_SERVER_RUNNING = 1 << 1,
+}AgsServerFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsServer</NAME>
+struct _AgsServer
+{
+ GObject object;
+
+ guint flags;
+
+#ifdef AGS_WITH_XMLRPC_C
+ TServer abyss_server;
+ TSocket *socket;
+#endif
+ int socket_fd;
+ struct sockaddr_in address;
+
+ void *server_info;
+
+ GObject *main;
+
+ AgsRegistry *registry;
+ AgsRemoteTask *remote_task;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsServerClass</NAME>
+struct _AgsServerClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsServer *server);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_server_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_server_start</NAME>
+<RETURNS>void </RETURNS>
+AgsServer *server
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_server_lookup</NAME>
+<RETURNS>AgsServer * </RETURNS>
+void *server_info
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_server_create_object</NAME>
+<RETURNS>xmlrpc_value * </RETURNS>
+xmlrpc_env *env, xmlrpc_value *param_array, void *server_info
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_server_object_set_property</NAME>
+<RETURNS>xmlrpc_value * </RETURNS>
+xmlrpc_env *env, xmlrpc_value *param_array, void *server_info
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_server_new</NAME>
+<RETURNS>AgsServer * </RETURNS>
+GObject *main
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_REGISTRY</NAME>
+#define AGS_TYPE_REGISTRY (ags_registry_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_REGISTRY</NAME>
+#define AGS_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REGISTRY, AgsRegistry))
+</MACRO>
+<MACRO>
+<NAME>AGS_REGISTRY_CLASS</NAME>
+#define AGS_REGISTRY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_REGISTRY, AgsRegistryClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REGISTRY</NAME>
+#define AGS_IS_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_REGISTRY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_REGISTRY_CLASS</NAME>
+#define AGS_IS_REGISTRY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_REGISTRY))
+</MACRO>
+<MACRO>
+<NAME>AGS_REGISTRY_GET_CLASS</NAME>
+#define AGS_REGISTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_REGISTRY, AgsRegistryClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_REGISTRY_DEFAULT_ID_LENGTH</NAME>
+#define AGS_REGISTRY_DEFAULT_ID_LENGTH 16
+</MACRO>
+<STRUCT>
+<NAME>AgsRegistry</NAME>
+struct _AgsRegistry
+{
+ GObject object;
+
+ guint flags;
+
+ pthread_mutex_t mutex;
+
+ AgsFile *previous;
+ AgsFile *current;
+
+#ifdef AGS_WITH_XMLRPC_C
+ xmlrpc_registry *registry;
+#endif
+
+ GObject *server;
+
+ guint id_length;
+ guint counter;
+
+ GList *entry;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRegistryClass</NAME>
+struct _AgsRegistryClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRegistryEntry</NAME>
+struct _AgsRegistryEntry
+{
+ gchar *id;
+ GValue entry;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_registry_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_registry_entry_alloc</NAME>
+<RETURNS>AgsRegistryEntry * </RETURNS>
+AgsRegistry *registry
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_registry_add</NAME>
+<RETURNS>void </RETURNS>
+AgsRegistry *registry, AgsRegistryEntry *registry_entry
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_registry_entry_find</NAME>
+<RETURNS>AgsRegistryEntry * </RETURNS>
+AgsRegistry *registry, gchar *id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_registry_entry_bulk</NAME>
+<RETURNS>xmlrpc_value * </RETURNS>
+xmlrpc_env *env, xmlrpc_value *param_array, void *server_info
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_registry_new</NAME>
+<RETURNS>AgsRegistry * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLUGIN_FACTORY</NAME>
+#define AGS_TYPE_PLUGIN_FACTORY (ags_plugin_factory_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_FACTORY</NAME>
+#define AGS_PLUGIN_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactory))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_FACTORY_CLASS</NAME>
+#define AGS_PLUGIN_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactoryClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLUGIN_FACTORY</NAME>
+#define AGS_IS_PLUGIN_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLUGIN_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLUGIN_FACTORY_CLASS</NAME>
+#define AGS_IS_PLUGIN_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLUGIN_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_FACTORY_GET_CLASS</NAME>
+#define AGS_PLUGIN_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactoryClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsPluginFactory</NAME>
+struct _AgsPluginFactory
+{
+ GObject object;
+
+ GList *plugin;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPluginFactoryClass</NAME>
+struct _AgsPluginFactoryClass
+{
+ GObjectClass object;
+
+ void (*add)(AgsPluginFactory *plugin_factory,
+ GType plugin_type,
+ gchar *plugin_name,
+ gchar *version, gchar *build_id,
+ gchar *xml_type,
+ GParameter *control, guint control_count);
+
+ AgsPlugin* (*create)(AgsPluginFactory *plugin_factory,
+ gchar *xml_type);
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPluginMetadata</NAME>
+struct _AgsPluginMetadata
+{
+ GType plugin_type;
+ gchar *plugin_name;
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *xml_type;
+
+ GParameter *control;
+ guint control_count;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_plugin_factory_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_factory_read_file</NAME>
+<RETURNS>void </RETURNS>
+AgsPluginFactory *plugin_factory, gchar *path
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_factory_list_by_name</NAME>
+<RETURNS>GList * </RETURNS>
+AgsPluginFactory *plugin_factory, gchar *plugin_name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_factory_add</NAME>
+<RETURNS>void </RETURNS>
+AgsPluginFactory *plugin_factory, GType plugin_type, gchar *plugin_name, gchar *version, gchar *build_id, gchar *xml_type, GParameter *control, guint control_count
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_factory_create</NAME>
+<RETURNS>AgsPlugin * </RETURNS>
+AgsPluginFactory *plugin_factory, gchar *plugin_name, gchar *version, gchar *build_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_factory_get_instance</NAME>
+<RETURNS>AgsPluginFactory * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_factory_new_from_file</NAME>
+<RETURNS>AgsPluginFactory * </RETURNS>
+gchar *path
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_factory_new</NAME>
+<RETURNS>AgsPluginFactory * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_PLUGIN_NAME_VOLUME</NAME>
+#define AGS_PLUGIN_NAME_VOLUME "ags-volume\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_TYPE_LADSPA_MANAGER</NAME>
+#define AGS_TYPE_LADSPA_MANAGER (ags_ladspa_manager_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LADSPA_MANAGER</NAME>
+#define AGS_LADSPA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManager))
+</MACRO>
+<MACRO>
+<NAME>AGS_LADSPA_MANAGER_CLASS</NAME>
+#define AGS_LADSPA_MANAGER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManagerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LADSPA_MANAGER</NAME>
+#define AGS_IS_LADSPA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LADSPA_MANAGER))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LADSPA_MANAGER_CLASS</NAME>
+#define AGS_IS_LADSPA_MANAGER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LADSPA_MANAGER))
+</MACRO>
+<MACRO>
+<NAME>AGS_LADSPA_MANAGER_GET_CLASS</NAME>
+#define AGS_LADSPA_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManagerClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_LADSPA_PLUGIN</NAME>
+#define AGS_LADSPA_PLUGIN(ptr) ((AgsLadspaPlugin *)(ptr))
+</MACRO>
+<ENUM>
+<NAME>AgsLadspaPluginFlags</NAME>
+typedef enum{
+ AGS_LADSPA_PLUGIN_IS_LOADED = 1,
+}AgsLadspaPluginFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsLadspaManager</NAME>
+struct _AgsLadspaManager
+{
+ GObject object;
+
+ GList *ladspa_plugin;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLadspaManagerClass</NAME>
+struct _AgsLadspaManagerClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLadspaPlugin</NAME>
+struct _AgsLadspaPlugin
+{
+ guint flags;
+
+ gchar *filename;
+ void *plugin_so;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_ladspa_manager_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_plugin_alloc</NAME>
+<RETURNS>AgsLadspaPlugin * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_plugin_free</NAME>
+<RETURNS>void </RETURNS>
+AgsLadspaPlugin *ladspa_plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_manager_get_filenames</NAME>
+<RETURNS>gchar ** </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_manager_find_ladspa_plugin</NAME>
+<RETURNS>AgsLadspaPlugin * </RETURNS>
+gchar *filename
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_manager_load_file</NAME>
+<RETURNS>void </RETURNS>
+gchar *filename
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_manager_load_default_directory</NAME>
+<RETURNS>void </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_manager_get_instance</NAME>
+<RETURNS>AgsLadspaManager * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_ladspa_manager_new</NAME>
+<RETURNS>AgsLadspaManager * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RETURNABLE_THREAD</NAME>
+#define AGS_TYPE_RETURNABLE_THREAD (ags_returnable_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RETURNABLE_THREAD</NAME>
+#define AGS_RETURNABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_RETURNABLE_THREAD_CLASS</NAME>
+#define AGS_RETURNABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RETURNABLE_THREAD</NAME>
+#define AGS_IS_RETURNABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RETURNABLE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RETURNABLE_THREAD_CLASS</NAME>
+#define AGS_IS_RETURNABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RETURNABLE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_RETURNABLE_THREAD_GET_CLASS</NAME>
+#define AGS_RETURNABLE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE (1000)
+</MACRO>
+<USER_FUNCTION>
+<NAME>AgsReturnableThreadCallback</NAME>
+<RETURNS>void </RETURNS>
+AgsReturnableThread *returnable_thread, gpointer data
+</USER_FUNCTION>
+<ENUM>
+<NAME>AgsReturnableThreadFlags</NAME>
+typedef enum{
+ AGS_RETURNABLE_THREAD_IN_USE = 1,
+ AGS_RETURNABLE_THREAD_RESET = 1 << 1,
+}AgsReturnableThreadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsReturnableThread</NAME>
+struct _AgsReturnableThread
+{
+ AgsThread thread;
+
+ volatile guint flags;
+
+ GObject *thread_pool;
+
+ pthread_mutex_t reset_mutex;
+ volatile void *safe_data;
+
+ gulong handler;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsReturnableThreadClass</NAME>
+struct _AgsReturnableThreadClass
+{
+ AgsThreadClass thread;
+
+ void (*safe_run)(AgsReturnableThread *returnable_thread);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_returnable_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_returnable_thread_safe_run</NAME>
+<RETURNS>void </RETURNS>
+AgsReturnableThread *returnable_thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_returnable_thread_connect_safe_run</NAME>
+<RETURNS>void </RETURNS>
+AgsReturnableThread *returnable_thread, AgsReturnableThreadCallback callback
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_returnable_thread_disconnect_safe_run</NAME>
+<RETURNS>void </RETURNS>
+AgsReturnableThread *returnable_thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_returnable_thread_new</NAME>
+<RETURNS>AgsReturnableThread * </RETURNS>
+GObject *thread_pool
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_EXPORT_THREAD</NAME>
+#define AGS_TYPE_EXPORT_THREAD (ags_export_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_THREAD</NAME>
+#define AGS_EXPORT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_THREAD, AgsExportThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_THREAD_CLASS</NAME>
+#define AGS_EXPORT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_EXPORT_THREAD, AgsExportThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPORT_THREAD</NAME>
+#define AGS_IS_EXPORT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_EXPORT_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EXPORT_THREAD_CLASS</NAME>
+#define AGS_IS_EXPORT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_EXPORT_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_THREAD_GET_CLASS</NAME>
+#define AGS_EXPORT_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_EXPORT_THREAD, AgsExportThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_EXPORT_THREAD_DEFAULT_JIFFIE (48.0) // same as devout thread
+</MACRO>
+<MACRO>
+<NAME>AGS_EXPORT_THREAD_BUFFER_TIME</NAME>
+#define AGS_EXPORT_THREAD_BUFFER_TIME (1.0 / (AGS_DEVOUT_DEFAULT_FORMAT / 8))
+</MACRO>
+<STRUCT>
+<NAME>AgsExportThread</NAME>
+struct _AgsExportThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ guint tic;
+ guint counter;
+
+ AgsAudioFile *audio_file;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsExportThreadClass</NAME>
+struct _AgsExportThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_export_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_export_thread_new</NAME>
+<RETURNS>AgsExportThread * </RETURNS>
+GObject *devout, AgsAudioFile *audio_file
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUTOSAVE_THREAD</NAME>
+#define AGS_TYPE_AUTOSAVE_THREAD (ags_autosave_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUTOSAVE_THREAD</NAME>
+#define AGS_AUTOSAVE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUTOSAVE_THREAD_CLASS</NAME>
+#define AGS_AUTOSAVE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUTOSAVE_THREAD</NAME>
+#define AGS_IS_AUTOSAVE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOSAVE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUTOSAVE_THREAD_CLASS</NAME>
+#define AGS_IS_AUTOSAVE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOSAVE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUTOSAVE_THREAD_GET_CLASS</NAME>
+#define AGS_AUTOSAVE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE (0.2)
+</MACRO>
+<MACRO>
+<NAME>AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME</NAME>
+#define AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME "ags-autosaved.xml\0"
+</MACRO>
+<STRUCT>
+<NAME>AgsAutosaveThread</NAME>
+struct _AgsAutosaveThread
+{
+ AgsThread thread;
+
+
+ volatile guint tic;
+ volatile guint last_sync;
+
+ AgsMain *ags_main;
+
+ guint delay;
+ guint counter;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAutosaveThreadClass</NAME>
+struct _AgsAutosaveThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_autosave_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_autosave_thread_new</NAME>
+<RETURNS>AgsAutosaveThread * </RETURNS>
+GObject *devout, AgsMain *ags_main
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_GUI_TASK_THREAD</NAME>
+#define AGS_TYPE_GUI_TASK_THREAD (ags_gui_task_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_GUI_TASK_THREAD</NAME>
+#define AGS_GUI_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GUI_TASK_THREAD, AgsGuiTaskThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_GUI_TASK_THREAD_CLASS</NAME>
+#define AGS_GUI_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GUI_TASK_THREAD, AgsGuiTaskThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_GUI_TASK_THREAD</NAME>
+#define AGS_IS_GUI_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_GUI_TASK_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_GUI_TASK_THREAD_CLASS</NAME>
+#define AGS_IS_GUI_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_GUI_TASK_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_GUI_TASK_THREAD_GET_CLASS</NAME>
+#define AGS_GUI_TASK_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_GUI_TASK_THREAD, AgsGuiTaskThreadClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsGuiTaskThread</NAME>
+struct _AgsGuiTaskThread
+{
+ AgsTaskThread task_thread;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsGuiTaskThreadClass</NAME>
+struct _AgsGuiTaskThreadClass
+{
+ AgsTaskThreadClass task_thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_gui_task_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_gui_task_thread_new</NAME>
+<RETURNS>AgsGuiTaskThread * </RETURNS>
+GObject *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_AUDIO_LOOP</NAME>
+#define AGS_TYPE_AUDIO_LOOP (ags_audio_loop_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_LOOP</NAME>
+#define AGS_AUDIO_LOOP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_LOOP, AgsAudioLoop))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_LOOP_CLASS</NAME>
+#define AGS_AUDIO_LOOP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_LOOP, AgsAudioLoopClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_LOOP</NAME>
+#define AGS_IS_AUDIO_LOOP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_LOOP))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_AUDIO_LOOP_CLASS</NAME>
+#define AGS_IS_AUDIO_LOOP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_LOOP))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_LOOP_GET_CLASS</NAME>
+#define AGS_AUDIO_LOOP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_LOOP, AgsAudioLoopClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_AUDIO_LOOP_DEFAULT_JIFFIE</NAME>
+#define AGS_AUDIO_LOOP_DEFAULT_JIFFIE (48.0)
+</MACRO>
+<ENUM>
+<NAME>AgsAudioLoopFlags</NAME>
+typedef enum{
+ AGS_AUDIO_LOOP_PLAY_RECALL = 1,
+ AGS_AUDIO_LOOP_PLAYING_RECALL = 1 << 1,
+ AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING = 1 << 2,
+ AGS_AUDIO_LOOP_PLAY_CHANNEL = 1 << 3,
+ AGS_AUDIO_LOOP_PLAYING_CHANNEL = 1 << 4,
+ AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING = 1 << 5,
+ AGS_AUDIO_LOOP_PLAY_AUDIO = 1 << 6,
+ AGS_AUDIO_LOOP_PLAYING_AUDIO = 1 << 7,
+ AGS_AUDIO_LOOP_PLAY_NOTATION = 1 << 8,
+ AGS_AUDIO_LOOP_PLAYING_NOTATION = 1 << 9,
+ AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING = 1 << 10,
+}AgsAudioLoopFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsAudioLoop</NAME>
+struct _AgsAudioLoop
+{
+ AgsThread thread;
+
+ guint flags;
+
+ volatile guint tic;
+ volatile guint last_sync;
+
+ GCond cond;
+ GMutex mutex;
+
+ gdouble frequency;
+
+ GObject *ags_main;
+
+ AgsAsyncQueue *async_queue;
+
+ AgsThread *task_thread;
+ AgsThread *gui_thread;
+ AgsThread *devout_thread;
+ AgsThread *export_thread;
+
+ pthread_mutex_t recall_mutex;
+
+ guint play_recall_ref;
+ GList *play_recall; // play AgsRecall
+
+ guint play_channel_ref;
+ GList *play_channel; // play AgsChannel
+
+ guint play_audio_ref;
+ GList *play_audio; // play AgsAudio
+
+ guint play_notation_ref;
+ GList *play_notation;
+
+ GList *tree_sanity;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAudioLoopClass</NAME>
+struct _AgsAudioLoopClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_audio_loop_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_loop_add_audio</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioLoop *audio_loop, GObject *audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_loop_remove_audio</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioLoop *audio_loop, GObject *audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_loop_add_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioLoop *audio_loop, GObject *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_loop_remove_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioLoop *audio_loop, GObject *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_loop_add_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioLoop *audio_loop, GObject *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_loop_remove_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsAudioLoop *audio_loop, GObject *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_audio_loop_new</NAME>
+<RETURNS>AgsAudioLoop * </RETURNS>
+GObject *devout, GObject *ags_main
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ITERATOR_THREAD</NAME>
+#define AGS_TYPE_ITERATOR_THREAD (ags_iterator_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ITERATOR_THREAD</NAME>
+#define AGS_ITERATOR_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ITERATOR_THREAD, AgsIteratorThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_ITERATOR_THREAD_CLASS</NAME>
+#define AGS_ITERATOR_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_ITERATOR_THREAD, AgsIteratorThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ITERATOR_THREAD</NAME>
+#define AGS_IS_ITERATOR_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_ITERATOR_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ITERATOR_THREAD_CLASS</NAME>
+#define AGS_IS_ITERATOR_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_ITERATOR_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_ITERATOR_THREAD_GET_CLASS</NAME>
+#define AGS_ITERATOR_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_ITERATOR_THREAD, AgsIteratorThreadClass))
+</MACRO>
+<ENUM>
+<NAME>AgsIteratorThreadFlags</NAME>
+typedef enum{
+ AGS_ITERATOR_THREAD_DONE = 1,
+ AGS_ITERATOR_THREAD_WAIT = 1 << 1,
+}AgsIteratorThreadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsIteratorThread</NAME>
+struct _AgsIteratorThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ pthread_mutex_t tic_mutex;
+ pthread_cond_t tic_cond;
+
+ AgsThread *recycling_thread;
+
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+ gint stage;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsIteratorThreadClass</NAME>
+struct _AgsIteratorThreadClass
+{
+ AgsThreadClass thread;
+
+ void (*children_ready)(AgsIteratorThread *iterator_thread,
+ AgsThread *current);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_iterator_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_iterator_thread_children_ready</NAME>
+<RETURNS>void </RETURNS>
+AgsIteratorThread *iterator_thread, AgsThread *current
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_iterator_thread_new</NAME>
+<RETURNS>AgsIteratorThread * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_THREAD</NAME>
+#define AGS_TYPE_THREAD (ags_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD</NAME>
+#define AGS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD, AgsThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_CLASS</NAME>
+#define AGS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD, AgsThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_THREAD</NAME>
+#define AGS_IS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_THREAD_CLASS</NAME>
+#define AGS_IS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_GET_CLASS</NAME>
+#define AGS_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD, AgsThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_ACCOUNTING_TABLE</NAME>
+#define AGS_ACCOUNTING_TABLE(ptr) ((AgsAccountingTable *)(ptr))
+</MACRO>
+<MACRO>
+<NAME>MSEC_PER_SEC</NAME>
+#define MSEC_PER_SEC (1000000) /* The number of msecs per sec. */
+</MACRO>
+<MACRO>
+<NAME>NSEC_PER_SEC</NAME>
+#define NSEC_PER_SEC (1000000000) /* The number of nsecs per sec. */
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_RESUME_SIG</NAME>
+#define AGS_THREAD_RESUME_SIG SIGUSR2
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_SUSPEND_SIG</NAME>
+#define AGS_THREAD_SUSPEND_SIG SIGUSR1
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_THREAD_DEFAULT_JIFFIE (250)
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_MAX_PRECISION</NAME>
+#define AGS_THREAD_MAX_PRECISION (1000)
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_DEFAULT_ATTACK</NAME>
+#define AGS_THREAD_DEFAULT_ATTACK (1.0)
+</MACRO>
+<ENUM>
+<NAME>AgsThreadFlags</NAME>
+typedef enum{
+ AGS_THREAD_RUNNING = 1,
+ AGS_THREAD_IDLE = 1 << 1,
+ AGS_THREAD_LOCKED = 1 << 2,
+ AGS_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_THREAD_WAIT_0 = 1 << 16,
+ AGS_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_THREAD_WAIT_1 = 1 << 18,
+ AGS_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_THREAD_WAIT_2 = 1 << 20,
+ AGS_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_THREAD_TIMELOCK_RESUME = 1 << 23,
+ /*
+ * prefered way would be unlocking greedy_locks
+ * and the suspend to not become greedy
+ * but while pthread_suspend and pthread_resume
+ * are missing you need this as work-around
+ */
+ AGS_THREAD_SKIP_NON_GREEDY = 1 << 24,
+ AGS_THREAD_SKIPPED_BY_TIMELOCK = 1 << 25,
+ AGS_THREAD_LOCK_GREEDY_RUN_MUTEX = 1 << 26,
+ AGS_THREAD_SUSPENDED = 1 << 27,
+ AGS_THREAD_SINGLE_LOOP = 1 << 28,
+ AGS_THREAD_READY = 1 << 29,
+ AGS_THREAD_UNREF_ON_EXIT = 1 << 30,
+}AgsThreadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsThread</NAME>
+struct _AgsThread
+{
+ GObject object;
+
+ volatile guint flags;
+
+ sigset_t wait_mask;
+
+ pthread_t thread;
+ pthread_attr_t thread_attr;
+
+ gdouble freq;
+
+ pthread_mutex_t mutex;
+ pthread_mutexattr_t mutexattr;
+ pthread_cond_t cond;
+
+ pthread_mutex_t start_mutex;
+ pthread_cond_t start_cond;
+
+ pthread_barrier_t barrier[2];
+ gboolean first_barrier;
+ int wait_count[2];
+
+ pthread_t timelock_thread;
+ pthread_mutex_t timelock_mutex;
+ pthread_cond_t timelock_cond;
+
+ pthread_mutex_t greedy_mutex;
+ pthread_cond_t greedy_cond;
+ pthread_mutex_t greedy_run_mutex;
+ volatile guint locked_greedy;
+
+ struct timespec timelock;
+ GList *greedy_locks;
+
+ pthread_mutex_t suspend_mutex;
+ volatile gboolean critical_region;
+
+ GObject *devout;
+ AgsThread *parent;
+
+ AgsThread *next;
+ AgsThread *prev;
+
+ AgsThread *children;
+
+ gpointer data;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsThreadClass</NAME>
+struct _AgsThreadClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsThread *thread);
+ void (*run)(AgsThread *thread);
+ void (*suspend)(AgsThread *thread);
+ void (*resume)(AgsThread *thread);
+ void (*timelock)(AgsThread *thread);
+ void (*stop)(AgsThread *thread);
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAccountingTable</NAME>
+struct _AgsAccountingTable
+{
+ AgsThread *thread;
+ gdouble sanity;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_accounting_table_alloc</NAME>
+<RETURNS>AgsAccountingTable * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_accounting_table_set_sanity</NAME>
+<RETURNS>void </RETURNS>
+GList *table, AgsThread *thread, gdouble sanity
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_set_sync</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, guint tic
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_set_sync_all</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, guint tic
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_trylock</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_get_toplevel</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_first</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_last</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_remove_child</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_add_child</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_parental_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_sibling_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_children_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_is_current_ready</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *current, guint tic
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_is_tree_ready</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread, guint tic
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_next_parent_locked</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_next_sibling_locked</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_next_children_locked</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_all</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_all</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_wait_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_wait_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_wait_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_signal_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_signal_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_signal_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_start</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_run</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_suspend</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_resume</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_timelock</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_stop</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_hangcheck</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_new</NAME>
+<RETURNS>AgsThread * </RETURNS>
+gpointer data
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_THREAD_POOL</NAME>
+#define AGS_TYPE_THREAD_POOL (ags_thread_pool_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_POOL</NAME>
+#define AGS_THREAD_POOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD_POOL, AgsThreadPool))
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_POOL_CLASS</NAME>
+#define AGS_THREAD_POOL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD_POOL, AgsThreadPoolClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_THREAD_POOL</NAME>
+#define AGS_IS_THREAD_POOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD_POOL))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_THREAD_POOL_CLASS</NAME>
+#define AGS_IS_THREAD_POOL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD_POOL))
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_POOL_GET_CLASS</NAME>
+#define AGS_THREAD_POOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD_POOL, AgsThreadPoolClass))
+</MACRO>
+<ENUM>
+<NAME>AgsThreadPoolFlags</NAME>
+typedef enum{
+ AGS_THREAD_POOL_RUNNING = 1,
+ AGS_THREAD_POOL_READY = 1 << 1,
+}AgsThreadPoolFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsThreadPool</NAME>
+struct _AgsThreadPool
+{
+ GObject object;
+
+ volatile guint flags;
+
+ volatile guint max_unused_threads;
+ volatile guint max_threads;
+
+ pthread_t thread;
+
+ pthread_mutex_t creation_mutex;
+ pthread_cond_t creation_cond;
+
+ volatile guint n_threads;
+ volatile guint newly_pulled;
+ volatile guint queued;
+
+ AgsThread *parent;
+ volatile GList *returnable_thread;
+ volatile GList *running_thread;
+
+ pthread_mutex_t pull_mutex;
+
+ pthread_mutex_t return_mutex;
+ pthread_cond_t return_cond;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsThreadPoolClass</NAME>
+struct _AgsThreadPoolClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsThreadPool *thread_pool);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_thread_pool_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_pool_pull</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThreadPool *thread_pool
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_pool_start</NAME>
+<RETURNS>void </RETURNS>
+AgsThreadPool *thread_pool
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_pool_new</NAME>
+<RETURNS>AgsThreadPool * </RETURNS>
+AgsThread *parent
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PORTABLE_THREAD</NAME>
+#define AGS_TYPE_PORTABLE_THREAD (ags_portable_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PORTABLE_THREAD</NAME>
+#define AGS_PORTABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD, AgsPortableThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_PORTABLE_THREAD_CLASS</NAME>
+#define AGS_PORTABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD, AgsPortableThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PORTABLE_THREAD</NAME>
+#define AGS_IS_PORTABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PORTABLE_THREAD_CLASS</NAME>
+#define AGS_IS_PORTABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_PORTABLE_THREAD_GET_CLASS</NAME>
+#define AGS_PORTABLE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD, AgsPortableThreadClass))
+</MACRO>
+<ENUM>
+<NAME>AgsPortableThreadFlags</NAME>
+typedef enum{
+ AGS_PORTABLE_THREAD_RUNNING = 1,
+ AGS_PORTABLE_THREAD_IDLE = 1 << 1,
+ AGS_PORTABLE_THREAD_LOCKED = 1 << 2,
+ AGS_PORTABLE_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_PORTABLE_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_PORTABLE_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_PORTABLE_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_PORTABLE_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_PORTABLE_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_PORTABLE_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_PORTABLE_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_PORTABLE_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_PORTABLE_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_PORTABLE_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_PORTABLE_THREAD_WAIT_0 = 1 << 16,
+ AGS_PORTABLE_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_PORTABLE_THREAD_WAIT_1 = 1 << 18,
+ AGS_PORTABLE_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_PORTABLE_THREAD_WAIT_2 = 1 << 20,
+ AGS_PORTABLE_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_PORTABLE_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_PORTABLE_THREAD_TIMELOCK_RESUME = 1 << 23,
+}AgsPortableThreadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsPortableThread</NAME>
+struct _AgsPortableThread
+{
+ GObject object;
+
+ volatile guint flags;
+
+ pth_t thread;
+ pth_attr_t thread_attr;
+
+ pth_mutex_t mutex;
+ pth_cond_t cond;
+
+ pth_mutex_t start_mutex;
+ pth_cond_t start_cond;
+
+ pth_barrier_t barrier[2];
+ gboolean first_barrier;
+ int wait_count[2];
+
+ pth_t timelock_thread;
+ pth_mutex_t timelock_mutex;
+ pth_cond_t timelock_cond;
+
+ long timelock;
+
+ GObject *devout;
+ AgsPortableThread *parent;
+
+ AgsPortableThread *next;
+ AgsPortableThread *prev;
+
+ AgsPortableThread *children;
+
+ GObject *data;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsPortableThreadClass</NAME>
+struct _AgsPortableThreadClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsPortableThread *thread);
+ void (*run)(AgsPortableThread *thread);
+ void (*timelock)(AgsPortableThread *thread);
+ void (*stop)(AgsPortableThread *thread);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_portable_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_lock</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_trylock</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_unlock</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_get_toplevel</NAME>
+<RETURNS>AgsPortableThread * </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_first</NAME>
+<RETURNS>AgsPortableThread * </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_last</NAME>
+<RETURNS>AgsPortableThread * </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_remove_child</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_add_child</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_parental_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_sibling_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_children_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_is_current_ready</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *current
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_is_current_synced</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *current
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_is_tree_ready</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_is_tree_synced</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_main_loop_unlock_children</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_next_parent_locked</NAME>
+<RETURNS>AgsPortableThread * </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_next_sibling_locked</NAME>
+<RETURNS>AgsPortableThread * </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_next_children_locked</NAME>
+<RETURNS>AgsPortableThread * </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_lock_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_lock_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_lock_children</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_lock_all</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_unlock_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_unlock_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_unlock_children</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_unlock_all</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_wait_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_wait_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_wait_children</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_signal_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, AgsPortableThread *parent, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_signal_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_signal_children</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_start</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_run</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_timelock</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_stop</NAME>
+<RETURNS>void </RETURNS>
+AgsPortableThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portable_thread_new</NAME>
+<RETURNS>AgsPortableThread * </RETURNS>
+GObject *data
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SINGLE_THREAD</NAME>
+#define AGS_TYPE_SINGLE_THREAD (ags_single_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SINGLE_THREAD</NAME>
+#define AGS_SINGLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SINGLE_THREAD, AgsSingleThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_SINGLE_THREAD_CLASS</NAME>
+#define AGS_SINGLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SINGLE_THREAD, AgsSingleThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SINGLE_THREAD</NAME>
+#define AGS_IS_SINGLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SINGLE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SINGLE_THREAD_CLASS</NAME>
+#define AGS_IS_SINGLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SINGLE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_SINGLE_THREAD_GET_CLASS</NAME>
+#define AGS_SINGLE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SINGLE_THREAD, AgsSingleThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE</NAME>
+#define AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE (30)
+</MACRO>
+<STRUCT>
+<NAME>AgsSingleThread</NAME>
+struct _AgsSingleThread
+{
+ AgsThread thread;
+
+ AgsAudioLoop *audio_loop;
+ AgsDevoutThread *devout_thread;
+ AgsTaskThread *task_thread;
+ AgsGuiThread *gui_thread;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsSingleThreadClass</NAME>
+struct _AgsSingleThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_single_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_single_thread_new</NAME>
+<RETURNS>AgsSingleThread * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECORD_THREAD</NAME>
+#define AGS_TYPE_RECORD_THREAD (ags_record_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECORD_THREAD</NAME>
+#define AGS_RECORD_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECORD_THREAD, AgsRecordThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECORD_THREAD_CLASS</NAME>
+#define AGS_RECORD_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RECORD_THREAD, AgsRecordThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECORD_THREAD</NAME>
+#define AGS_IS_RECORD_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECORD_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECORD_THREAD_CLASS</NAME>
+#define AGS_IS_RECORD_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECORD_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECORD_THREAD_GET_CLASS</NAME>
+#define AGS_RECORD_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RECORD_THREAD, AgsRecordThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECORD_THREAD_DEFAULT_DELAY</NAME>
+#define AGS_RECORD_THREAD_DEFAULT_DELAY (128)
+</MACRO>
+<STRUCT>
+<NAME>AgsRecordThread</NAME>
+struct _AgsRecordThread
+{
+ AgsThread thread;
+
+ AgsRegistry *registry;
+
+ guint delay;
+ guint counter;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecordThreadClass</NAME>
+struct _AgsRecordThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_record_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_record_thread_new</NAME>
+<RETURNS>AgsRecordThread * </RETURNS>
+GObject *devout, AgsRegistry *registry
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DEVOUT_THREAD</NAME>
+#define AGS_TYPE_DEVOUT_THREAD (ags_devout_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_THREAD</NAME>
+#define AGS_DEVOUT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DEVOUT_THREAD, AgsDevoutThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_THREAD_CLASS</NAME>
+#define AGS_DEVOUT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DEVOUT_THREAD, AgsDevoutThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DEVOUT_THREAD</NAME>
+#define AGS_IS_DEVOUT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DEVOUT_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DEVOUT_THREAD_CLASS</NAME>
+#define AGS_IS_DEVOUT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DEVOUT_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_THREAD_GET_CLASS</NAME>
+#define AGS_DEVOUT_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DEVOUT_THREAD, AgsDevoutThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_DEVOUT_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_DEVOUT_THREAD_DEFAULT_JIFFIE (48.0)
+</MACRO>
+<STRUCT>
+<NAME>AgsDevoutThread</NAME>
+struct _AgsDevoutThread
+{
+ AgsThread thread;
+
+ time_t time_val;
+
+ AgsThread *timestamp_thread;
+
+ GError *error;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsDevoutThreadClass</NAME>
+struct _AgsDevoutThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_devout_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_devout_thread_new</NAME>
+<RETURNS>AgsDevoutThread * </RETURNS>
+GObject *devout
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_HISTORY</NAME>
+#define AGS_TYPE_HISTORY (ags_history_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_HISTORY</NAME>
+#define AGS_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_HISTORY, AgsHistory))
+</MACRO>
+<MACRO>
+<NAME>AGS_HISTORY_CLASS</NAME>
+#define AGS_HISTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_HISTORY, AgsHistory))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_HISTORY</NAME>
+#define AGS_IS_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_HISTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_HISTORY_CLASS</NAME>
+#define AGS_IS_HISTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_HISTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_HISTORY_GET_CLASS</NAME>
+#define AGS_HISTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_HISTORY, AgsHistoryClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsHistory</NAME>
+struct _AgsHistory
+{
+ GObject gobject;
+
+ GList *task;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsHistoryClass</NAME>
+struct _AgsHistoryClass
+{
+ GObjectClass gobject;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_history_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_history_new</NAME>
+<RETURNS>AgsHistory * </RETURNS>
+
+</FUNCTION>
+<STRUCT>
+<NAME>AgsHistoryAppend</NAME>
+</STRUCT>
+<MACRO>
+<NAME>AGS_TYPE_GUI_THREAD</NAME>
+#define AGS_TYPE_GUI_THREAD (ags_gui_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_GUI_THREAD</NAME>
+#define AGS_GUI_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GUI_THREAD, AgsGuiThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_GUI_THREAD_CLASS</NAME>
+#define AGS_GUI_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GUI_THREAD, AgsGuiThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_GUI_THREAD</NAME>
+#define AGS_IS_GUI_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_GUI_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_GUI_THREAD_CLASS</NAME>
+#define AGS_IS_GUI_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_GUI_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_GUI_THREAD_GET_CLASS</NAME>
+#define AGS_GUI_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_GUI_THREAD, AgsGuiThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_GUI_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_GUI_THREAD_DEFAULT_JIFFIE (250)
+</MACRO>
+<STRUCT>
+<NAME>AgsGuiThread</NAME>
+struct _AgsGuiThread
+{
+ AgsThread thread;
+
+ GMutex mutex;
+ GCond cond;
+
+ AgsThread *gui_task_thread;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsGuiThreadClass</NAME>
+struct _AgsGuiThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_gui_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_gui_thread_new</NAME>
+<RETURNS>AgsGuiThread * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_ASYNC_QUEUE</NAME>
+#define AGS_TYPE_ASYNC_QUEUE (ags_async_queue_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_ASYNC_QUEUE</NAME>
+#define AGS_ASYNC_QUEUE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ASYNC_QUEUE, AgsAsyncQueue))
+</MACRO>
+<MACRO>
+<NAME>AGS_ASYNC_QUEUE_CLASS</NAME>
+#define AGS_ASYNC_QUEUE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_ASYNC_QUEUE, AgsAsyncQueueClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ASYNC_QUEUE</NAME>
+#define AGS_IS_ASYNC_QUEUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_ASYNC_QUEUE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_ASYNC_QUEUE_CLASS</NAME>
+#define AGS_IS_ASYNC_QUEUE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_ASYNC_QUEUE))
+</MACRO>
+<MACRO>
+<NAME>AGS_ASYNC_QUEUE_GET_CLASS</NAME>
+#define AGS_ASYNC_QUEUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_ASYNC_QUEUE, AgsAsyncQueueClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE</NAME>
+#define AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE (250)
+</MACRO>
+<MACRO>
+<NAME>AGS_ASYNC_QUEUE_CLOCK_ID</NAME>
+#define AGS_ASYNC_QUEUE_CLOCK_ID CLOCK_REALTIME
+</MACRO>
+<MACRO>
+<NAME>AGS_ASYNC_QUEUE_SIGNAL_HIGH</NAME>
+#define AGS_ASYNC_QUEUE_SIGNAL_HIGH SIGRTMAX
+</MACRO>
+<MACRO>
+<NAME>AGS_ASYNC_QUEUE_SIGNAL_LOW</NAME>
+#define AGS_ASYNC_QUEUE_SIGNAL_LOW SIGRTMIN
+</MACRO>
+<ENUM>
+<NAME>AgsAsyncQueueFlags</NAME>
+typedef enum{
+ AGS_ASYNC_QUEUE_LINUX_THREADS = 1,
+ AGS_ASYNC_QUEUE_POSIX_THREADS = 1 << 1,
+ AGS_ASYNC_QUEUE_WORKER_RUNNING = 1 << 2,
+ AGS_ASYNC_QUEUE_INTERRUPT_OWN = 1 << 2,
+ AGS_ASYNC_QUEUE_INTERRUPT_OTHER = 1 << 3,
+ AGS_ASYNC_QUEUE_STOP_BIT_0 = 1 << 4,
+ AGS_ASYNC_QUEUE_STOP_BIT_1 = 1 << 5,
+}AgsAsyncQueueFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsAsyncQueue</NAME>
+struct _AgsAsyncQueue
+{
+ GObject object;
+
+ guint flags;
+
+ guint output_sum;
+ guint systemrate;
+ guint interval;
+
+ timer_t timerid;
+
+ GQueue *stack;
+ GHashTable *timer;
+
+ union{
+ // atomic_t monitor;
+ pthread_mutex_t mutex;
+ }lock;
+
+ GList *context;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsAsyncQueueClass</NAME>
+struct _AgsAsyncQueueClass
+{
+ GObjectClass object;
+
+ void (*interrupt)(AgsAsyncQueue *async_queue);
+
+ void (*push_context)(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+ void (*pop_context)(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTimer</NAME>
+struct _AgsTimer
+{
+ struct timespec run_delay;
+
+ //NOTE: not supported for now
+ gboolean record_history;
+ gpointer history;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsContext</NAME>
+struct _AgsContext
+{
+ GQueue *stack;
+ GHashTable *timer;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_async_queue_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_timer_alloc</NAME>
+<RETURNS>AgsTimer * </RETURNS>
+time_t tv_sec, long tv_nsec
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_context_alloc</NAME>
+<RETURNS>AgsContext * </RETURNS>
+GQueue *stack, GHashTable *timer
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_next_interval</NAME>
+<RETURNS>guint </RETURNS>
+AgsAsyncQueue *async_queue
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_find_context</NAME>
+<RETURNS>AgsContext * </RETURNS>
+AgsAsyncQueue *async_queue, AgsStackable *stackable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_add</NAME>
+<RETURNS>void </RETURNS>
+AgsAsyncQueue *async_queue, AgsStackable *stackable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_remove</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsAsyncQueue *async_queue, AgsStackable *stackable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_idle</NAME>
+<RETURNS>void </RETURNS>
+AgsAsyncQueue *async_queue
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_initerrupt</NAME>
+<RETURNS>void </RETURNS>
+AgsAsyncQueue *async_queue
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_push_context</NAME>
+<RETURNS>void </RETURNS>
+AgsAsyncQueue *async_queue, AgsContext *context
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_pop_context</NAME>
+<RETURNS>void </RETURNS>
+AgsAsyncQueue *async_queue, AgsContext *context
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_worker</NAME>
+<RETURNS>void * </RETURNS>
+void *ptr
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_async_queue_new</NAME>
+<RETURNS>AgsAsyncQueue * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_THREAD</NAME>
+#define AGS_TYPE_THREAD (ags_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD</NAME>
+#define AGS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD, AgsThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_CLASS</NAME>
+#define AGS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD, AgsThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_THREAD</NAME>
+#define AGS_IS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_THREAD_CLASS</NAME>
+#define AGS_IS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_GET_CLASS</NAME>
+#define AGS_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD, AgsThreadClass))
+</MACRO>
+<MACRO>
+<NAME>MSEC_PER_SEC</NAME>
+#define MSEC_PER_SEC (1000000) /* The number of msecs per sec. */
+</MACRO>
+<MACRO>
+<NAME>NSEC_PER_SEC</NAME>
+#define NSEC_PER_SEC (1000000000) /* The number of nsecs per sec. */
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_STACKSIZE</NAME>
+#define AGS_THREAD_STACKSIZE (16384)
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_RESUME_SIG</NAME>
+#define AGS_THREAD_RESUME_SIG SIGUSR2
+</MACRO>
+<MACRO>
+<NAME>AGS_THREAD_SUSPEND_SIG</NAME>
+#define AGS_THREAD_SUSPEND_SIG SIGUSR1
+</MACRO>
+<ENUM>
+<NAME>AgsThreadFlags</NAME>
+typedef enum{
+ AGS_THREAD_RUNNING = 1,
+ AGS_THREAD_IDLE = 1 << 1,
+ AGS_THREAD_LOCKED = 1 << 2,
+ AGS_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_THREAD_WAIT_0 = 1 << 16,
+ AGS_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_THREAD_WAIT_1 = 1 << 18,
+ AGS_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_THREAD_WAIT_2 = 1 << 20,
+ AGS_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_THREAD_TIMELOCK_RESUME = 1 << 23,
+ /*
+ * prefered way would be unlocking greedy_locks
+ * and the suspend to not become greedy
+ * but while pthread_suspend and pthread_resume
+ * are missing you need this as work-around
+ */
+ AGS_THREAD_SKIP_NON_GREEDY = 1 << 24,
+ AGS_THREAD_SKIPPED_BY_TIMELOCK = 1 << 25,
+ AGS_THREAD_LOCK_GREEDY_RUN_MUTEX = 1 << 26,
+ AGS_THREAD_SUSPENDED = 1 << 27,
+ AGS_THREAD_SINGLE_LOOP = 1 << 28,
+ AGS_THREAD_READY = 1 << 29,
+ AGS_THREAD_UNREF_ON_EXIT = 1 << 30,
+}AgsThreadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsThread</NAME>
+struct _AgsThread
+{
+ GObject object;
+
+ atomic_t flags;
+
+ atomic_t monitor;
+ atomic_t lock_count;
+
+ atomic_t barrier;
+ atomic_t barrier_count;
+
+ atomic_t dyntic;
+
+ struct timespec timed_suspend;
+ gint goodness;
+
+ AgsThread *children;
+ AgsThread *next;
+ AgsThread *prev;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsThreadClass</NAME>
+struct _AgsThreadClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsThread *thread);
+ void (*run)(AgsThread *thread);
+ void (*suspend)(AgsThread *thread);
+ void (*resume)(AgsThread *thread);
+ void (*timelock)(AgsThread *thread);
+ void (*stop)(AgsThread *thread);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_set_sync</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, guint tic
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_set_sync_all</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, guint tic
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_trylock</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_get_toplevel</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_first</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_last</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_remove_child</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_add_child</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *child
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_parental_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_sibling_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_children_is_locked</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_is_current_ready</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *current
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_is_tree_ready</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_next_parent_locked</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_next_sibling_locked</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_next_children_locked</NAME>
+<RETURNS>AgsThread * </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_lock_all</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_unlock_all</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_wait_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_wait_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_wait_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_signal_parent</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, AgsThread *parent, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_signal_sibling</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_signal_children</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread, gboolean broadcast
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_start</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_run</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_suspend</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_resume</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_timelock</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_stop</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_hangcheck</NAME>
+<RETURNS>void </RETURNS>
+AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_thread_new</NAME>
+<RETURNS>AgsThread * </RETURNS>
+gpointer data
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_thread_iterate_callback</NAME>
+<RETURNS>void </RETURNS>
+AgsRecyclingThread *thread
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RECYCLING_THREAD</NAME>
+#define AGS_TYPE_RECYCLING_THREAD (ags_recycling_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_THREAD</NAME>
+#define AGS_RECYCLING_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECYCLING_THREAD, AgsRecyclingThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_THREAD_CLASS</NAME>
+#define AGS_RECYCLING_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RECYCLING_THREAD, AgsRecyclingThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECYCLING_THREAD</NAME>
+#define AGS_IS_RECYCLING_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECYCLING_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RECYCLING_THREAD_CLASS</NAME>
+#define AGS_IS_RECYCLING_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECYCLING_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_THREAD_GET_CLASS</NAME>
+#define AGS_RECYCLING_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RECYCLING_THREAD, AgsRecyclingThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_RECYCLING_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_RECYCLING_THREAD_DEFAULT_JIFFIE (100)
+</MACRO>
+<ENUM>
+<NAME>AgsRecyclingThreadFlags</NAME>
+typedef enum{
+ AGS_RECYCLING_THREAD_RUNNING = 1,
+ AGS_RECYCLING_THREAD_WAIT = 1 << 1,
+ AGS_RECYCLING_THREAD_DONE = 1 << 2,
+}AgsRecyclingThreadFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsRecyclingThread</NAME>
+struct _AgsRecyclingThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ AgsThread *iterator_thread;
+
+ pthread_mutex_t iteration_mutex;
+ pthread_cond_t iteration_cond;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsRecyclingThreadClass</NAME>
+struct _AgsRecyclingThreadClass
+{
+ AgsThreadClass thread;
+
+ void (*play_channel)(AgsRecyclingThread *recycling_thread,
+ GObject *channel,
+ AgsRecallID *recall_id,
+ gint stage);
+
+ void (*play_audio)(AgsRecyclingThread *recycling_thread,
+ GObject *output, GObject *audio,
+ AgsRecallID *recall_id,
+ gint stage);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_recycling_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_thread_play_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsRecyclingThread *recycling_thread, GObject *channel, AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_thread_play_audio</NAME>
+<RETURNS>void </RETURNS>
+AgsRecyclingThread *recycling_thread, GObject *output, GObject *audio, AgsRecallID *recall_id, gint stage
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_recycling_thread_new</NAME>
+<RETURNS>AgsRecyclingThread * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TIMESTAMP_THREAD</NAME>
+#define AGS_TYPE_TIMESTAMP_THREAD (ags_timestamp_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD</NAME>
+#define AGS_TIMESTAMP_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMESTAMP_THREAD, AgsTimestampThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD_CLASS</NAME>
+#define AGS_TIMESTAMP_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_TIMESTAMP_THREAD, AgsTimestampThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMESTAMP_THREAD</NAME>
+#define AGS_IS_TIMESTAMP_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TIMESTAMP_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TIMESTAMP_THREAD_CLASS</NAME>
+#define AGS_IS_TIMESTAMP_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TIMESTAMP_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD_GET_CLASS</NAME>
+#define AGS_TIMESTAMP_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_TIMESTAMP_THREAD, AgsTimestampThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_MICROSECONDS_PER_SECOND</NAME>
+#define AGS_MICROSECONDS_PER_SECOND (1000000.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD_DEFAULT_BPM</NAME>
+#define AGS_TIMESTAMP_THREAD_DEFAULT_BPM (120.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE</NAME>
+#define AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE (44100.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE</NAME>
+#define AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE (256.0)
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE (AGS_MICROSECONDS_PER_SECOND * \
+ 60.0 / AGS_TIMESTAMP_THREAD_DEFAULT_BPM)
+</MACRO>
+<MACRO>
+<NAME>AGS_TIMESTAMP_THREAD_DEFAULT_TIC</NAME>
+#define AGS_TIMESTAMP_THREAD_DEFAULT_TIC (AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE / \
+ AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE / AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE)
+</MACRO>
+<STRUCT>
+<NAME>AgsTimestampThread</NAME>
+struct _AgsTimestampThread
+{
+ AgsThread thread;
+
+ GObject *current_timestamp;
+ GObject *current_latency;
+
+ GObject *timestamp;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTimestampThreadClass</NAME>
+struct _AgsTimestampThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_timestamp_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_timestamp_thread_new</NAME>
+<RETURNS>AgsTimestampThread * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TASK_THREAD</NAME>
+#define AGS_TYPE_TASK_THREAD (ags_task_thread_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TASK_THREAD</NAME>
+#define AGS_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TASK_THREAD, AgsTaskThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_TASK_THREAD_CLASS</NAME>
+#define AGS_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_TASK_THREAD, AgsTaskThread))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TASK_THREAD</NAME>
+#define AGS_IS_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TASK_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TASK_THREAD_CLASS</NAME>
+#define AGS_IS_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TASK_THREAD))
+</MACRO>
+<MACRO>
+<NAME>AGS_TASK_THREAD_GET_CLASS</NAME>
+#define AGS_TASK_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_TASK_THREAD, AgsTaskThreadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_TASK_THREAD_DEFAULT_JIFFIE</NAME>
+#define AGS_TASK_THREAD_DEFAULT_JIFFIE (1000)
+</MACRO>
+<STRUCT>
+<NAME>AgsTaskThread</NAME>
+struct _AgsTaskThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ GMutex mutex;
+ GCond cond;
+
+ pthread_mutex_t read_mutex;
+ pthread_mutex_t launch_mutex;
+
+ volatile guint queued;
+ volatile guint pending;
+
+ volatile GList *exec;
+ volatile GList *queue;
+
+ AgsThreadPool *thread_pool;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTaskThreadClass</NAME>
+struct _AgsTaskThreadClass
+{
+ AgsThreadClass thread;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsTaskThreadAppend</NAME>
+struct _AgsTaskThreadAppend
+{
+ volatile AgsTaskThread *task_thread;
+ volatile gpointer data;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_task_thread_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_task_thread_append_task</NAME>
+<RETURNS>void </RETURNS>
+AgsTaskThread *task_thread, AgsTask *task
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_task_thread_append_tasks</NAME>
+<RETURNS>void </RETURNS>
+AgsTaskThread *task_thread, GList *list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_task_thread_new</NAME>
+<RETURNS>AgsTaskThread * </RETURNS>
+GObject *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_id_generator_create_uuid</NAME>
+<RETURNS>gchar * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE_LOOKUP</NAME>
+#define AGS_TYPE_FILE_LOOKUP (ags_file_lookup_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LOOKUP</NAME>
+#define AGS_FILE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_LOOKUP, AgsFileLookup))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LOOKUP_CLASS</NAME>
+#define AGS_FILE_LOOKUP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_LOOKUP, AgsFileLookupClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_LOOKUP</NAME>
+#define AGS_IS_FILE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_LOOKUP))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_LOOKUP_CLASS</NAME>
+#define AGS_IS_FILE_LOOKUP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_LOOKUP))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LOOKUP_GET_CLASS</NAME>
+#define AGS_FILE_LOOKUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_LOOKUP, AgsFileLookupClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFileLookup</NAME>
+struct _AgsFileLookup
+{
+ GObject object;
+
+ AgsFile *file;
+
+ xmlNode *node;
+ gpointer ref;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileLookupClass</NAME>
+struct _AgsFileLookupClass
+{
+ GObjectClass object;
+
+ void (*resolve)(AgsFileLookup *lookup);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_lookup_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_lookup_find_by_node</NAME>
+<RETURNS>GList * </RETURNS>
+GList *file_lookup, xmlNode *node
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_lookup_resolve</NAME>
+<RETURNS>void </RETURNS>
+AgsFileLookup *lookup
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_lookup_new</NAME>
+<RETURNS>AgsFileLookup * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_read_value</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, gchar **id, GValue *value, xmlChar **xpath
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_write_value</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, gchar *id, GValue *value, GType pointer_type, guint arr_length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_read_parameter</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, gchar **id, GParameter **parameter, gint *n_params, xmlChar ***xpath
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_write_parameter</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, gchar *id, GParameter *parameter, gint n_params
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_read_dependency</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, gchar **id, gchar **name, xmlChar **xpath
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_write_dependency</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, gchar *id, gchar *name, xmlChar *xpath
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_read_object</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GObject **gobject
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_write_object</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GObject *gobject
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_read_history</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsHistory **history
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_util_write_history</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsHistory *history
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_embedded_audio</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, gchar **embedded_audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_embedded_audio</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, gchar *embedded_audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_embedded_audio_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **embedded_audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_embedded_audio_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *embedded_audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_file_link</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsFileLink **file_link
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_file_link</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsFileLink *file_link
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_file_link_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **file_link
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_file_link_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *file_link
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE_ID_REF</NAME>
+#define AGS_TYPE_FILE_ID_REF (ags_file_id_ref_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_ID_REF</NAME>
+#define AGS_FILE_ID_REF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_ID_REF, AgsFileIdRef))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_ID_REF_CLASS</NAME>
+#define AGS_FILE_ID_REF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_FILE_ID_REF, AgsFileIdRef))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_ID_REF</NAME>
+#define AGS_IS_FILE_ID_REF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_ID_REF))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_ID_REF_CLASS</NAME>
+#define AGS_IS_FILE_ID_REF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_ID_REF))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_ID_REF_GET_CLASS</NAME>
+#define AGS_FILE_ID_REF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_FILE_ID_REF, AgsFileIdRefClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_RESOLVE</NAME>
+#define AGS_FILE_RESOLVE(f) ((AgsFileResolve)(f))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_ID_REF_SERIALIZE_DATA</NAME>
+#define AGS_FILE_ID_REF_SERIALIZE_DATA "ags-file-id-ref-serizalize-data\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_ID_REF_RESOLVE_DATA</NAME>
+#define AGS_FILE_ID_REF_RESOLVE_DATA "ags-file-id-ref-resolve-data\0"
+</MACRO>
+<USER_FUNCTION>
+<NAME>AgsFileResolve</NAME>
+<RETURNS>void </RETURNS>
+void
+</USER_FUNCTION>
+<STRUCT>
+<NAME>AgsFileIdRef</NAME>
+struct _AgsFileIdRef
+{
+ GObject object;
+
+ GObject *main;
+ GObject *file;
+
+ xmlNode *node;
+ gchar *xpath;
+ gpointer ref;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileIdRefClass</NAME>
+struct _AgsFileIdRefClass
+{
+ GObjectClass object;
+
+ void (*resolved)(AgsFileIdRef *file_id_ref);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_id_ref_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_id_ref_resolved</NAME>
+<RETURNS>void </RETURNS>
+AgsFileIdRef *file_id_ref
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_id_ref_new</NAME>
+<RETURNS>AgsFileIdRef * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_FILE_DEFAULT_VERSION</NAME>
+#define AGS_FILE_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_EFFECTS_DEFAULT_VERSION</NAME>
+#define AGS_FILE_EFFECTS_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_CLIPBOARD_DEFAULT_VERSION</NAME>
+#define AGS_CLIPBOARD_DEFAULT_VERSION "0.4.2\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_FALSE</NAME>
+#define AGS_FILE_FALSE "FALSE\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_TRUE</NAME>
+#define AGS_FILE_TRUE "TRUE\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_BOOLEAN_PROP</NAME>
+#define AGS_FILE_BOOLEAN_PROP "gboolean\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_CHAR_PROP</NAME>
+#define AGS_FILE_CHAR_PROP "gchar\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_INT64_PROP</NAME>
+#define AGS_FILE_INT64_PROP "gint64\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_UINT64_PROP</NAME>
+#define AGS_FILE_UINT64_PROP "guint64\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_FLOAT_PROP</NAME>
+#define AGS_FILE_FLOAT_PROP "gfloat\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DOUBLE_PROP</NAME>
+#define AGS_FILE_DOUBLE_PROP "gdouble\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_POINTER_PROP</NAME>
+#define AGS_FILE_POINTER_PROP "gpointer\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_OBJECT_PROP</NAME>
+#define AGS_FILE_OBJECT_PROP "GObject\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_BOOLEAN_POINTER_PROP</NAME>
+#define AGS_FILE_BOOLEAN_POINTER_PROP "gboolean-pointer\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_CHAR_POINTER_PROP</NAME>
+#define AGS_FILE_CHAR_POINTER_PROP "gchar-pointer\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_INT64_POINTER_PROP</NAME>
+#define AGS_FILE_INT64_POINTER_PROP "gint64-pointer\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_UINT64_POINTER_PROP</NAME>
+#define AGS_FILE_UINT64_POINTER_PROP "guint64-pointer\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_FLOAT_POINTER_PROP</NAME>
+#define AGS_FILE_FLOAT_POINTER_PROP "gfloat-pointer\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DOUBLE_POINTER_PROP</NAME>
+#define AGS_FILE_DOUBLE_POINTER_PROP "gdouble-pointer\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_ID_PROP</NAME>
+#define AGS_FILE_ID_PROP "id\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_NAME_PROP</NAME>
+#define AGS_FILE_NAME_PROP "name\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_TYPE_PROP</NAME>
+#define AGS_FILE_TYPE_PROP "type\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_SCOPE_PROP</NAME>
+#define AGS_FILE_SCOPE_PROP "scope\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_VERSION_PROP</NAME>
+#define AGS_FILE_VERSION_PROP "version\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_BUILD_ID_PROP</NAME>
+#define AGS_FILE_BUILD_ID_PROP "build-id\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_XPATH_PROP</NAME>
+#define AGS_FILE_XPATH_PROP "xpath\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_FLAGS_PROP</NAME>
+#define AGS_FILE_FLAGS_PROP "flags\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_LED</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_LED (g_type_name(AgsTypeLed))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_VINDICATOR</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_VINDICATOR (g_type_name(AgsTypeVIndicator))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_HINDICATOR</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_HINDICATOR (g_type_name(AgsTypeHIndicator))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_LABEL</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_LABEL (g_type_name(GtkTypeLabel))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_WAVEFORM</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_WAVEFORM (g_type_name(AgsTypeWaveform))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_BUTTON</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_BUTTON (g_type_name(GtkTypeButton))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON (g_type_name(GtkTypeToggleButton))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON (g_type_name(GtkTypeCheckButton))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON (g_type_name(GtkTypeSpinButton))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_VSCALE</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_VSCALE (g_type_name(GtkTypeVScale))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_HSCALE</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_HSCALE (g_type_name(GtkTypeHScale))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_DIAL</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_DIAL (g_type_name(AgsTypeDial))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DYNAMIC_WIDGET_CARTESIAN</NAME>
+#define AGS_FILE_DYNAMIC_WIDGET_CARTESIAN (g_type_name(GtkTypeCartesian))
+</MACRO>
+<MACRO>
+<NAME>AGS_TYPE_FILE_WRITE</NAME>
+#define AGS_TYPE_FILE_WRITE (ags_file_write_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_WRITE</NAME>
+#define AGS_FILE_WRITE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_WRITE, AgsFileWrite))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_WRITE_CLASS</NAME>
+#define AGS_FILE_WRITE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_WRITE, AgsFileWriteClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_WRITE</NAME>
+#define AGS_IS_FILE_WRITE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_WRITE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_WRITE_CLASS</NAME>
+#define AGS_IS_FILE_WRITE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_WRITE))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_WRITE_GET_CLASS</NAME>
+#define AGS_FILE_WRITE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_WRITE, AgsFileWriteClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFileWrite</NAME>
+struct _AgsFileWrite
+{
+ GObject object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileWriteClass</NAME>
+struct _AgsFileWriteClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_write_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_new</NAME>
+<RETURNS>AgsFileWrite * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE_LINK</NAME>
+#define AGS_TYPE_FILE_LINK (ags_file_link_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LINK</NAME>
+#define AGS_FILE_LINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_LINK, AgsFileLink))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LINK_CLASS</NAME>
+#define AGS_FILE_LINK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_FILE_LINK, AgsFileLink))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_LINK</NAME>
+#define AGS_IS_FILE_LINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_LINK))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_LINK_CLASS</NAME>
+#define AGS_IS_FILE_LINK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_LINK))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LINK_GET_CLASS</NAME>
+#define AGS_FILE_LINK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_FILE_LINK, AgsFileLinkClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFileLink</NAME>
+struct _AgsFileLink
+{
+ GObject object;
+
+ gchar *filename;
+ gchar *data;
+ AgsTimestamp *timestamp;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileLinkClass</NAME>
+struct _AgsFileLinkClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_link_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_link_new</NAME>
+<RETURNS>AgsFileLink * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE_READ</NAME>
+#define AGS_TYPE_FILE_READ (ags_file_read_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_READ</NAME>
+#define AGS_FILE_READ(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_READ, AgsFileRead))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_READ_CLASS</NAME>
+#define AGS_FILE_READ_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_READ, AgsFileReadClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_READ</NAME>
+#define AGS_IS_FILE_READ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_READ))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_READ_CLASS</NAME>
+#define AGS_IS_FILE_READ_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_READ))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_READ_GET_CLASS</NAME>
+#define AGS_FILE_READ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_READ, AgsFileReadClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFileRead</NAME>
+struct _AgsFileRead
+{
+ GObject object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileReadClass</NAME>
+struct _AgsFileReadClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_read_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_new</NAME>
+<RETURNS>AgsFileRead * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_devout</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsDevout **devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_devout</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsDevout *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_devout_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_devout_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *devout
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_devout_play</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsDevoutPlay **play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_devout_play</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsDevoutPlay *play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_devout_play_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_devout_play_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *play
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_audio</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsAudio **audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_audio</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsAudio *audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_audio_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_audio_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *audio
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsChannel **channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_channel</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsChannel *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_channel_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_channel_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *channel
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_input</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsChannel *input
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_input</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsChannel *input
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_output</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsChannel *output
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_output</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsChannel *output
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_file_link</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsFileLink *file_link
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_file_link</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsFileLink *file_link
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecall **recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_container</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecallContainer **recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_container</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecallContainer *recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_container_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_container_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *recall_container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_audio</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_audio</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_audio_run</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_audio_run</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_channel</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_channel</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_channel_run</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_channel_run</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_recycling</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_recycling</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recall_audio_signal</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recall_audio_signal</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecall *recall
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_port</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPort **port
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_port</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPort *port
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_port_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **port
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_port_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *port
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recycling</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsRecycling **recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recycling</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsRecycling *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_recycling_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_recycling_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *recycling
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_audio_signal</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsAudioSignal **audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_audio_signal</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsAudioSignal *audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_audio_signal_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_audio_signal_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *audio_signal
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_stream</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **stream, guint *index, guint buffer_size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_stream</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *stream, guint index, guint buffer_size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_stream_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **stream, guint buffer_size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_stream_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *stream, guint buffer_size
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_pattern</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPattern **pattern
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_pattern</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPattern *pattern
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_pattern_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **pattern
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_pattern_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *pattern
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_pattern_data</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPattern *pattern, guint *i, guint *j, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_pattern_data</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPattern *pattern, guint i, guint j, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_pattern_data_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPattern *pattern, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_pattern_data_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPattern *pattern, guint length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_notation</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsNotation **notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_notation</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsNotation *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_notation_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_notation_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *notation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_note</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsNote **note
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_note</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsNote *note
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_note_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **note
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_note_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *note
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_task</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsTask **task
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_task</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsTask *task
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_task_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **task
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_task_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *task
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_timestamp</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsTimestamp **timestamp
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_timestamp</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsTimestamp *timestamp
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_timestamp_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **timestamp
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_timestamp_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *timestamp
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE_LAUNCH</NAME>
+#define AGS_TYPE_FILE_LAUNCH (ags_file_launch_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LAUNCH</NAME>
+#define AGS_FILE_LAUNCH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_LAUNCH, AgsFileLaunch))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LAUNCH_CLASS</NAME>
+#define AGS_FILE_LAUNCH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_LAUNCH, AgsFileLaunchClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_LAUNCH</NAME>
+#define AGS_IS_FILE_LAUNCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_LAUNCH))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_LAUNCH_CLASS</NAME>
+#define AGS_IS_FILE_LAUNCH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_LAUNCH))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_LAUNCH_GET_CLASS</NAME>
+#define AGS_FILE_LAUNCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_LAUNCH, AgsFileLaunchClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFileLaunch</NAME>
+struct _AgsFileLaunch
+{
+ GObject object;
+
+ xmlNode *node;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileLaunchClass</NAME>
+struct _AgsFileLaunchClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsFileLaunch *file_launch);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_launch_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_launch_start</NAME>
+<RETURNS>void </RETURNS>
+AgsFileLaunch *file_launch
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_launch_new</NAME>
+<RETURNS>AgsFileLaunch * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_widget</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_widget</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GtkWidget *widget
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_window</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsWindow **window
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_window</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsWindow *window
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_menu_bar</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsMenuBar **menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_menu_bar</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsMenuBar *menu_bar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_machine_counter</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsMachineCounter **machine_counter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_machine_counter</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsMachineCounter *machine_counter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_machine_counter_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **machine_counter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_machine_counter_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *machine_counter
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_machine</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsMachine **machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_machine</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsMachine *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_machine_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_machine_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *machine
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_pad</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPad **pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_pad</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPad *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_pad_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_pad_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_mixer_input_pad</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPad *mixer_input_pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_mixer_input_pad</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPad *mixer_input_pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_mixer_output_pad</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPad *mixer_output_pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_mixer_output_pad</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPad *mixer_output_pad
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_line</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsLine **line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_line</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_line_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_line_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *line
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_line_member</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsLineMember **line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_line_member</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsLineMember *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_line_member_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_line_member_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *line_member
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_dialog</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GtkDialog **dialog
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_dialog</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GtkDialog *dialog
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_dialog_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **dialog
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_dialog_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *dialog
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_machine_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsMachineEditor **machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_machine_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsMachineEditor *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_machine_editor_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_machine_editor_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *machine_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_pad_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPadEditor **pad_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_pad_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPadEditor *pad_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_line_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsLineEditor **line_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_line_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsLineEditor *line_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_link_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsLinkEditor **link_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_link_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsLinkEditor *link_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_line_member_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsLineMemberEditor **line_member_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_line_member_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsLineMemberEditor *line_member_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_link_collection_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsLinkCollectionEditor **link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_link_collection_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsLinkCollectionEditor *link_collection_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_resize_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsResizeEditor **resize_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_resize_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsResizeEditor *resize_editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_editor</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsEditor **editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_editor</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsEditor *editor
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_toolbar</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsToolbar **toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_toolbar</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsToolbar *toolbar
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_machine_selector</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *parent, AgsMachineSelector **machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_machine_selector</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *node, AgsMachineSelector *machine_selector
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_notebook</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsNotebook **notebook
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_notebook</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsNotebook *notebook
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_notebook_tab_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **notebook_tab_list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_notebook_tab_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *notebook_tab_list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_notebook_tab</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsNotebookTab **notebook_tab
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_notebook_tab</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsNotebookTab *notebook_tab
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_navigation</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsNavigation **navigation
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_navigation</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsNavigation *navigation
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE</NAME>
+#define AGS_TYPE_FILE (ags_file_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE</NAME>
+#define AGS_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE, AgsFile))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_CLASS</NAME>
+#define AGS_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE, AgsFileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE</NAME>
+#define AGS_IS_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_CLASS</NAME>
+#define AGS_IS_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_GET_CLASS</NAME>
+#define AGS_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE, AgsFileClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DEFAULT_ENCODING</NAME>
+#define AGS_FILE_DEFAULT_ENCODING "UTF-8\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DEFAULT_DTD</NAME>
+#define AGS_FILE_DEFAULT_DTD "ags_file.dtd\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_CHECKSUM_LENGTH</NAME>
+#define AGS_FILE_CHECKSUM_LENGTH (g_checksum_type_get_length(G_CHECKSUM_MD5))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DEFAULT_AUDIO_FORMAT</NAME>
+#define AGS_FILE_DEFAULT_AUDIO_FORMAT "raw\0"
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_DEFAULT_AUDIO_ENCODING</NAME>
+#define AGS_FILE_DEFAULT_AUDIO_ENCODING "base64\0"
+</MACRO>
+<ENUM>
+<NAME>AgsFileFlags</NAME>
+typedef enum{
+ AGS_FILE_READ = 1,
+ AGS_FILE_READ_AUDIO_SIGNAL = 1 << 1,
+ AGS_FILE_READ_EMBEDDED_AUDIO = 1 << 2,
+ AGS_FILE_WRITE = 1 << 3,
+ AGS_FILE_WRITE_AUDIO_SIGNAL = 1 << 4,
+ AGS_FILE_WRITE_EMBEDDED_AUDIO = 1 << 5,
+}AgsFileFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsFile</NAME>
+struct _AgsFile
+{
+ GObject object;
+
+ guint flags;
+
+ gchar *filename;
+ gchar *encoding;
+ gchar *dtd;
+
+ gchar *audio_format;
+ gchar *audio_encoding;
+
+ xmlDoc *doc;
+
+ GList *id_refs;
+ GList *lookup;
+ GList *launch;
+
+ GObject *ags_main;
+
+ GObject *clipboard;
+ GList *property;
+ GList *script;
+ GObject *cluster;
+ GObject *client;
+ GObject *server;
+
+ GObject *history;
+
+ GList *embedded_audio;
+ GList *file_link;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileClass</NAME>
+struct _AgsFileClass
+{
+ GObjectClass object;
+
+ void (*write)(AgsFile *file);
+ void (*write_concurrent)(AgsFile *file);
+ void (*write_resolve)(AgsFile *file);
+
+ void (*read)(AgsFile *file);
+ void (*read_resolve)(AgsFile *file);
+ void (*read_start)(AgsFile *file);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_str2md5</NAME>
+<RETURNS>gchar * </RETURNS>
+gchar *content, guint strlen
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_add_id_ref</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, GObject *id_ref
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_find_id_ref_by_node</NAME>
+<RETURNS>GObject * </RETURNS>
+AgsFile *file, xmlNode *node
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_find_id_ref_by_xpath</NAME>
+<RETURNS>GObject * </RETURNS>
+AgsFile *file, gchar *xpath
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_find_id_ref_by_reference</NAME>
+<RETURNS>GObject * </RETURNS>
+AgsFile *file, gpointer ref
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_add_lookup</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, GObject *file_lookup
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_add_launch</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, GObject *file_launch
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_concurrent</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_resolve</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_resolve</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_start</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_server</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GObject **server
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_server</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *parent, GObject *server
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_main</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GObject **main
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_main</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *parent, GObject *main
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_new</NAME>
+<RETURNS>AgsFile * </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_FILE_VALUE_FACTORY</NAME>
+#define AGS_TYPE_FILE_VALUE_FACTORY (ags_file_value_factory_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_VALUE_FACTORY</NAME>
+#define AGS_FILE_VALUE_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_VALUE_FACTORY, AgsFileValueFactory))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_VALUE_FACTORY_CLASS</NAME>
+#define AGS_FILE_VALUE_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_VALUE_FACTORY, AgsFileValueFactoryClass))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_VALUE_FACTORY</NAME>
+#define AGS_IS_FILE_VALUE_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_VALUE_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_FILE_VALUE_FACTORY_CLASS</NAME>
+#define AGS_IS_FILE_VALUE_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_VALUE_FACTORY))
+</MACRO>
+<MACRO>
+<NAME>AGS_FILE_VALUE_FACTORY_GET_CLASS</NAME>
+#define AGS_FILE_VALUE_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_VALUE_FACTORY, AgsFileValueFactoryClass))
+</MACRO>
+<STRUCT>
+<NAME>AgsFileValueFactory</NAME>
+struct _AgsFileValueFactory
+{
+ GObject object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsFileValueFactoryClass</NAME>
+struct _AgsFileValueFactoryClass
+{
+ GObject object;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_file_value_factory_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_value_factory_new</NAME>
+<RETURNS>AgsFileValueFactory * </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_thread</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsThread **thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_thread</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsThread *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_thread_list</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, GList **thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_thread_list</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, GList *thread
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_thread_pool</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsThreadPool **thread_pool
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_thread_pool</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsThreadPool *thread_pool
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_read_audio_loop</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsAudioLoop *audio_loop
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_file_write_audio_loop</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsAudioLoop *audio_loop
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_LOG</NAME>
+#define AGS_TYPE_LOG (ags_log_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_LOG</NAME>
+#define AGS_LOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOG, AgsLog))
+</MACRO>
+<MACRO>
+<NAME>AGS_LOG_CLASS</NAME>
+#define AGS_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LOG, AgsLog))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LOG</NAME>
+#define AGS_IS_LOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOG))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_LOG_CLASS</NAME>
+#define AGS_IS_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LOG))
+</MACRO>
+<MACRO>
+<NAME>AGS_LOG_GET_CLASS</NAME>
+#define AGS_LOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_LOG, AgsLogClass))
+</MACRO>
+<MACRO>
+<NAME>ags_default_log</NAME>
+#define ags_default_log ags_default_log
+</MACRO>
+<ENUM>
+<NAME>AgsLogFlags</NAME>
+typedef enum{
+ AGS_LOG_STARTING = 1,
+ AGS_LOG_RUNNING = 1 << 1,
+ AGS_LOG_TIMER_SLEEP = 1 << 2,
+ AGS_LOG_OUTPUT_SUSPEND = 1 << 3,
+ AGS_LOG_OUTPUT_WAITS_FOR_QUEUE = 1 << 4,
+ AGS_LOG_QUEUE_SUSPEND = 1 << 5,
+ AGS_LOG_SUSPEND = 1 << 6,
+ AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT = 1 << 7,
+ AGS_LOG_OMMIT_DEBUG = 1 << 8,
+}AgsLogFlags;
+</ENUM>
+<STRUCT>
+<NAME>AgsLog</NAME>
+struct _AgsLog
+{
+ GObject object;
+
+ guint flags;
+
+ FILE *file;
+ pthread_mutex_t start_mutex;
+ pthread_cond_t start_wait_cond;
+
+ struct timespec *log_interval;
+ struct timespec *free_float;
+ pthread_t timer_thread;
+ pthread_attr_t timer_thread_attr;
+ pthread_mutex_t timer_mutex;
+ pthread_mutexattr_t timer_mutex_attr;
+ gboolean timer_started;
+ gboolean timer_active;
+ gboolean timer_awaken;
+ pthread_cond_t timer_wait_cond;
+
+ pthread_t broker_thread;
+ pthread_attr_t broker_thread_attr;
+ pthread_mutex_t broker_mutex;
+ pthread_mutexattr_t broker_mutex_attr;
+ gboolean broker_started;
+ gboolean broker_active;
+ gboolean broker_awaken;
+ gboolean signaled_timer;
+ gboolean signaled_log;
+ gboolean signaled_queue;
+ gboolean signaled_output;
+ pthread_cond_t broker_wait_cond;
+
+ GList *output_formated_message;
+ pthread_t output_thread;
+ pthread_attr_t output_thread_attr;
+ pthread_mutex_t output_mutex;
+ pthread_mutexattr_t output_mutex_attr;
+ gboolean output_started;
+ gboolean output_active;
+ gboolean output_awaken;
+ pthread_cond_t output_wait_cond;
+
+ GList *queue_formated_message;
+ GList *queue_message;
+ pthread_t queue_thread;
+ pthread_attr_t queue_thread_attr;
+ pthread_mutex_t queue_mutex;
+ pthread_mutexattr_t queue_mutex_attr;
+ gboolean queue_started;
+ gboolean queue_active;
+ gboolean queue_awaken;
+ pthread_cond_t queue_wait_cond;
+
+ GList *log;
+ guint active_logs;
+ guint suspended_logs;
+ pthread_cond_t log_wait_cond;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLogClass</NAME>
+struct _AgsLogClass
+{
+ GObjectClass object;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLogMessage</NAME>
+struct _AgsLogMessage
+{
+ gboolean debug;
+
+ struct timespec *time;
+ char *format;
+ va_list args;
+};
+</STRUCT>
+<STRUCT>
+<NAME>AgsLogFormatedMessage</NAME>
+struct _AgsLogFormatedMessage
+{
+ int length;
+ char *message;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_log_start_queue</NAME>
+<RETURNS>void </RETURNS>
+AgsLog *log
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_log_stop_queue</NAME>
+<RETURNS>void </RETURNS>
+AgsLog *log
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_log_debug</NAME>
+<RETURNS>void </RETURNS>
+AgsLog *log, char *format, ...
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_log_message</NAME>
+<RETURNS>void </RETURNS>
+AgsLog *log, char *format, ...
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_parameter_grow</NAME>
+<RETURNS>GParameter *</RETURNS>
+GType type, GParameter *params, guint *n_params, ...
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_container_add_all</NAME>
+<RETURNS>void </RETURNS>
+GtkContainer *container, GList *list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_combo_box_text_remove_all</NAME>
+<RETURNS>void </RETURNS>
+GtkComboBoxText *combo_box
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_list_free_and_free_link</NAME>
+<RETURNS>void </RETURNS>
+GList *list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_list_free_and_unref_link</NAME>
+<RETURNS>void </RETURNS>
+GList *list
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_list_duplicate_list</NAME>
+<RETURNS>void </RETURNS>
+gpointer entry, gpointer target
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_or</NAME>
+<RETURNS>int </RETURNS>
+int a, int b
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_exclusive_or</NAME>
+<RETURNS>int </RETURNS>
+int a, int b
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_and</NAME>
+<RETURNS>int </RETURNS>
+int a, int b
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_more</NAME>
+<RETURNS>jboolean </RETURNS>
+int a, int b
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_less</NAME>
+<RETURNS>jboolean </RETURNS>
+int a, int b
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_sort_array</NAME>
+<RETURNS>int * </RETURNS>
+int *array, int size
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_put_null_at_beginning</NAME>
+<RETURNS>void </RETURNS>
+int *array, uint size
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_put_null_at_end</NAME>
+<RETURNS>void </RETURNS>
+int *array, uint size
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_width</NAME>
+<RETURNS>uint </RETURNS>
+int a
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_width_list</NAME>
+<RETURNS>JList * </RETURNS>
+JList *list
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_cut_leading_zeros</NAME>
+<RETURNS>JList * </RETURNS>
+JList *value
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_exp2</NAME>
+<RETURNS>int </RETURNS>
+int a
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_exp</NAME>
+<RETURNS>int </RETURNS>
+int a, int b
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_root2</NAME>
+<RETURNS>int </RETURNS>
+int a
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_root</NAME>
+<RETURNS>int </RETURNS>
+int a, int b
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_make_valid</NAME>
+<RETURNS>void </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_is_operator</NAME>
+<RETURNS>jboolean </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_is_function</NAME>
+<RETURNS>jboolean </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_is_function_backward</NAME>
+<RETURNS>jboolean </RETURNS>
+char *start, char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_get_first_level_operator</NAME>
+<RETURNS>char * </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_get_second_level_operator</NAME>
+<RETURNS>char * </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_solve_arithmetic</NAME>
+<RETURNS>int </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_algebra_brackeds_out</NAME>
+<RETURNS>char * </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_algebra_operations_out</NAME>
+<RETURNS>char * </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_algebra_functions_out</NAME>
+<RETURNS>char * </RETURNS>
+char *string
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_algebra_solve</NAME>
+<RETURNS>int * </RETURNS>
+char *string, char *operation
+</FUNCTION>
+<FUNCTION>
+<NAME>j_math_gauss</NAME>
+<RETURNS>int * </RETURNS>
+char **string, uint count
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_DYNAMIC_CONNECTABLE</NAME>
+#define AGS_TYPE_DYNAMIC_CONNECTABLE (ags_dynamic_connectable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_DYNAMIC_CONNECTABLE</NAME>
+#define AGS_DYNAMIC_CONNECTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DYNAMIC_CONNECTABLE, AgsDynamicConnectable))
+</MACRO>
+<MACRO>
+<NAME>AGS_DYNAMIC_CONNECTABLE_INTERFACE</NAME>
+#define AGS_DYNAMIC_CONNECTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_DYNAMIC_CONNECTABLE, AgsDynamicConnectableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DYNAMIC_CONNECTABLE</NAME>
+#define AGS_IS_DYNAMIC_CONNECTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DYNAMIC_CONNECTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_DYNAMIC_CONNECTABLE_INTERFACE</NAME>
+#define AGS_IS_DYNAMIC_CONNECTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_DYNAMIC_CONNECTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_DYNAMIC_CONNECTABLE_GET_INTERFACE</NAME>
+#define AGS_DYNAMIC_CONNECTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_DYNAMIC_CONNECTABLE, AgsDynamicConnectableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsDynamicConnectable</NAME>
+typedef void AgsDynamicConnectable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsDynamicConnectableInterface</NAME>
+struct _AgsDynamicConnectableInterface
+{
+ GTypeInterface interface;
+
+ void (*connect_dynamic)(AgsDynamicConnectable *connectable);
+ void (*disconnect_dynamic)(AgsDynamicConnectable *connectable);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_dynamic_connectable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_dynamic_connectable_connect</NAME>
+<RETURNS>void </RETURNS>
+AgsDynamicConnectable *connectable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_dynamic_connectable_disconnect</NAME>
+<RETURNS>void </RETURNS>
+AgsDynamicConnectable *connectable
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PORTLET</NAME>
+#define AGS_TYPE_PORTLET (ags_portlet_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PORTLET</NAME>
+#define AGS_PORTLET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PORTLET, AgsPortlet))
+</MACRO>
+<MACRO>
+<NAME>AGS_PORTLET_INTERFACE</NAME>
+#define AGS_PORTLET_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PORTLET, AgsPortletInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PORTLET</NAME>
+#define AGS_IS_PORTLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PORTLET))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PORTLET_INTERFACE</NAME>
+#define AGS_IS_PORTLET_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PORTLET))
+</MACRO>
+<MACRO>
+<NAME>AGS_PORTLET_GET_INTERFACE</NAME>
+#define AGS_PORTLET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PORTLET, AgsPortletInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsPortlet</NAME>
+typedef void AgsPortlet;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsPortletInterface</NAME>
+struct _AgsPortletInterface
+{
+ GTypeInterface interface;
+
+ AgsPort* (*get_port)(AgsPortlet *portlet);
+ void (*set_port)(AgsPortlet *portlet, AgsPort *port);
+
+ GList* (*list_safe_properties)(AgsPortlet *portlet);
+
+ void (*safe_get_property)(AgsPortlet *portlet, gchar *property_name, GValue *value);
+ void (*safe_set_property)(AgsPortlet *portlet, gchar *property_name, GValue *value);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_portlet_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portlet_get_port</NAME>
+<RETURNS>AgsPort * </RETURNS>
+AgsPortlet *portlet
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portlet_set_port</NAME>
+<RETURNS>void </RETURNS>
+AgsPortlet *portlet, AgsPort *port
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portlet_list_safe_properties</NAME>
+<RETURNS>GList * </RETURNS>
+AgsPortlet *portlet
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portlet_safe_get_property</NAME>
+<RETURNS>void </RETURNS>
+AgsPortlet *portlet, gchar *property_name, GValue *value
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_portlet_safe_set_property</NAME>
+<RETURNS>void </RETURNS>
+AgsPortlet *portlet, gchar *property_name, GValue *value
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SOUNDCARD</NAME>
+#define AGS_TYPE_SOUNDCARD (ags_soundcard_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SOUNDCARD</NAME>
+#define AGS_SOUNDCARD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOUNDCARD, AgsSoundcard))
+</MACRO>
+<MACRO>
+<NAME>AGS_SOUNDCARD_INTERFACE</NAME>
+#define AGS_SOUNDCARD_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SOUNDCARD, AgsSoundcardInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SOUNDCARD</NAME>
+#define AGS_IS_SOUNDCARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SOUNDCARD))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SOUNDCARD_INTERFACE</NAME>
+#define AGS_IS_SOUNDCARD_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SOUNDCARD))
+</MACRO>
+<MACRO>
+<NAME>AGS_SOUNDCARD_GET_INTERFACE</NAME>
+#define AGS_SOUNDCARD_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SOUNDCARD, AgsSoundcardInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsSoundcard</NAME>
+typedef void AgsSoundcard;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsSoundcardInterface</NAME>
+struct _AgsSoundcardInterface
+{
+ GTypeInterface interface;
+
+ void (*list_cards)(AgsSoundcard *soundcard,
+ GList **card_id, GList **card_name);
+ void (*pcm_info)(AgsSoundcard *soundcard, gchar *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error);
+
+ void (*play_init)(AgsSoundcard *soundcard,
+ GError **error);
+ void (*play)(AgsSoundcard *soundcard,
+ GError **error);
+ void (*stop)(AgsSoundcard *soundcard);
+
+ void (*tic)(AgsSoundcard *soundcard);
+ void (*offset_changed)(AgsSoundcard *soundcard, guint note_offset);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_soundcard_list_cards</NAME>
+<RETURNS>void </RETURNS>
+AgsSoundcard *soundcard, GList **card_id, GList **card_name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_soundcard_pcm_info</NAME>
+<RETURNS>void </RETURNS>
+AgsSoundcard *soundcard, gchar *card_id, guint *channels_min, guint *channels_max, guint *rate_min, guint *rate_max, guint *buffer_size_min, guint *buffer_size_max, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_soundcard_tic</NAME>
+<RETURNS>void </RETURNS>
+AgsSoundcard *soundcard
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_soundcard_offset_changed</NAME>
+<RETURNS>void </RETURNS>
+AgsSoundcard *soundcard, guint note_offset
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_soundcard_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MAIN_LOOP</NAME>
+#define AGS_TYPE_MAIN_LOOP (ags_main_loop_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MAIN_LOOP</NAME>
+#define AGS_MAIN_LOOP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MAIN_LOOP, AgsMainLoop))
+</MACRO>
+<MACRO>
+<NAME>AGS_MAIN_LOOP_INTERFACE</NAME>
+#define AGS_MAIN_LOOP_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_MAIN_LOOP, AgsMainLoopInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MAIN_LOOP</NAME>
+#define AGS_IS_MAIN_LOOP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MAIN_LOOP))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MAIN_LOOP_INTERFACE</NAME>
+#define AGS_IS_MAIN_LOOP_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_MAIN_LOOP))
+</MACRO>
+<MACRO>
+<NAME>AGS_MAIN_LOOP_GET_INTERFACE</NAME>
+#define AGS_MAIN_LOOP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_MAIN_LOOP, AgsMainLoopInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsMainLoop</NAME>
+typedef void AgsMainLoop;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsMainLoopInterface</NAME>
+struct _AgsMainLoopInterface
+{
+ GTypeInterface interface;
+
+ void (*set_async_queue)(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue);
+ AgsAsyncQueue* (*get_async_queue)(AgsMainLoop *main_loop);
+
+ void (*set_tic)(AgsMainLoop *main_loop, guint tic);
+ guint (*get_tic)(AgsMainLoop *main_loop);
+
+ void (*set_last_sync)(AgsMainLoop *main_loop, guint last_sync);
+ guint (*get_last_sync)(AgsMainLoop *main_loop);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_main_loop_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_loop_set_async_queue</NAME>
+<RETURNS>void </RETURNS>
+AgsMainLoop *main_loop, AgsAsyncQueue *async_queue
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_loop_get_async_queue</NAME>
+<RETURNS>AgsAsyncQueue * </RETURNS>
+AgsMainLoop *main_loop
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_loop_set_tic</NAME>
+<RETURNS>void </RETURNS>
+AgsMainLoop *main_loop, guint tic
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_loop_get_tic</NAME>
+<RETURNS>guint </RETURNS>
+AgsMainLoop *main_loop
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_loop_set_last_sync</NAME>
+<RETURNS>void </RETURNS>
+AgsMainLoop *main_loop, guint last_sync
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_main_loop_get_last_sync</NAME>
+<RETURNS>guint </RETURNS>
+AgsMainLoop *main_loop
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_MUTABLE</NAME>
+#define AGS_TYPE_MUTABLE (ags_mutable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTABLE</NAME>
+#define AGS_MUTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTABLE, AgsMutable))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTABLE_INTERFACE</NAME>
+#define AGS_MUTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_MUTABLE, AgsMutableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTABLE</NAME>
+#define AGS_IS_MUTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MUTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_MUTABLE_INTERFACE</NAME>
+#define AGS_IS_MUTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_MUTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_MUTABLE_GET_INTERFACE</NAME>
+#define AGS_MUTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_MUTABLE, AgsMutableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsMutable</NAME>
+typedef void AgsMutable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsMutableInterface</NAME>
+struct _AgsMutableInterface
+{
+ GTypeInterface interface;
+
+ void (*set_muted)(AgsMutable *mutable, gboolean muted);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_mutable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_mutable_set_muted</NAME>
+<RETURNS>void </RETURNS>
+AgsMutable *mutable, gboolean muted
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_RUNNABLE</NAME>
+#define AGS_TYPE_RUNNABLE (ags_runnable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_RUNNABLE</NAME>
+#define AGS_RUNNABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RUNNABLE, AgsRunnable))
+</MACRO>
+<MACRO>
+<NAME>AGS_RUNNABLE_INTERFACE</NAME>
+#define AGS_RUNNABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_RUNNABLE, AgsRunnableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RUNNABLE</NAME>
+#define AGS_IS_RUNNABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RUNNABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_RUNNABLE_INTERFACE</NAME>
+#define AGS_IS_RUNNABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_RUNNABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_RUNNABLE_GET_INTERFACE</NAME>
+#define AGS_RUNNABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_RUNNABLE, AgsRunnableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsRunnable</NAME>
+typedef void AgsRunnable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsRunnableInterface</NAME>
+struct _AgsRunnableInterface
+{
+ GTypeInterface interface;
+
+ void (*run)(AgsRunnable *runnable);
+ void (*stop)(AgsRunnable *runnable);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_runnable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_runnable_run</NAME>
+<RETURNS>void </RETURNS>
+AgsRunnable *runnable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_runnable_stop</NAME>
+<RETURNS>void </RETURNS>
+AgsRunnable *runnable
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_APPLICABLE</NAME>
+#define AGS_TYPE_APPLICABLE (ags_applicable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLICABLE</NAME>
+#define AGS_APPLICABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLICABLE, AgsApplicable))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLICABLE_INTERFACE</NAME>
+#define AGS_APPLICABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_APPLICABLE, AgsApplicableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLICABLE</NAME>
+#define AGS_IS_APPLICABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLICABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_APPLICABLE_INTERFACE</NAME>
+#define AGS_IS_APPLICABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_APPLICABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_APPLICABLE_GET_INTERFACE</NAME>
+#define AGS_APPLICABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_APPLICABLE, AgsApplicableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsApplicable</NAME>
+typedef void AgsApplicable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsApplicableInterface</NAME>
+struct _AgsApplicableInterface
+{
+ GTypeInterface interface;
+
+ void (*set_update)(AgsApplicable *applicable, gboolean update);
+ void (*apply)(AgsApplicable *applicable);
+ void (*reset)(AgsApplicable *applicable);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_applicable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_applicable_set_update</NAME>
+<RETURNS>void </RETURNS>
+AgsApplicable *applicable, gboolean update
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_applicable_apply</NAME>
+<RETURNS>void </RETURNS>
+AgsApplicable *applicable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_applicable_reset</NAME>
+<RETURNS>void </RETURNS>
+AgsApplicable *applicable
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_COUNTABLE</NAME>
+#define AGS_TYPE_COUNTABLE (ags_countable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNTABLE</NAME>
+#define AGS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNTABLE, AgsCountable))
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNTABLE_INTERFACE</NAME>
+#define AGS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_COUNTABLE, AgsCountableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COUNTABLE</NAME>
+#define AGS_IS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_COUNTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_COUNTABLE_INTERFACE</NAME>
+#define AGS_IS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_COUNTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_COUNTABLE_GET_INTERFACE</NAME>
+#define AGS_COUNTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_COUNTABLE, AgsCountableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsCountable</NAME>
+typedef void AgsCountable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsCountableInterface</NAME>
+struct _AgsCountableInterface
+{
+ GTypeInterface interface;
+
+ guint (*get_notation_counter)(AgsCountable *countable);
+ guint (*get_sequencer_counter)(AgsCountable *countable);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_countable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_countable_get_notation_counter</NAME>
+<RETURNS>guint </RETURNS>
+AgsCountable *countable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_countable_get_sequencer_counter</NAME>
+<RETURNS>guint </RETURNS>
+AgsCountable *countable
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PACKABLE</NAME>
+#define AGS_TYPE_PACKABLE (ags_packable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PACKABLE</NAME>
+#define AGS_PACKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PACKABLE, AgsPackable))
+</MACRO>
+<MACRO>
+<NAME>AGS_PACKABLE_INTERFACE</NAME>
+#define AGS_PACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PACKABLE, AgsPackableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PACKABLE</NAME>
+#define AGS_IS_PACKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PACKABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PACKABLE_INTERFACE</NAME>
+#define AGS_IS_PACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PACKABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_PACKABLE_GET_INTERFACE</NAME>
+#define AGS_PACKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PACKABLE, AgsPackableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsPackable</NAME>
+typedef void AgsPackable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsPackableInterface</NAME>
+struct _AgsPackableInterface
+{
+ GTypeInterface interface;
+
+ gboolean (*pack)(AgsPackable *packable, GObject *container);
+ gboolean (*unpack)(AgsPackable *packable);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_packable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_packable_pack</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPackable *packable, GObject *container
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_packable_unpack</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPackable *packable
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_SEEKABLE</NAME>
+#define AGS_TYPE_SEEKABLE (ags_seekable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_SEEKABLE</NAME>
+#define AGS_SEEKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SEEKABLE, AgsSeekable))
+</MACRO>
+<MACRO>
+<NAME>AGS_SEEKABLE_INTERFACE</NAME>
+#define AGS_SEEKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SEEKABLE, AgsSeekableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SEEKABLE</NAME>
+#define AGS_IS_SEEKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SEEKABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_SEEKABLE_INTERFACE</NAME>
+#define AGS_IS_SEEKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SEEKABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_SEEKABLE_GET_INTERFACE</NAME>
+#define AGS_SEEKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SEEKABLE, AgsSeekableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsSeekable</NAME>
+typedef void AgsSeekable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsSeekableInterface</NAME>
+struct _AgsSeekableInterface
+{
+ GTypeInterface interface;
+
+ void (*seek)(AgsSeekable *seekable, guint steps, gboolean forward);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_seekable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_seekable_seek</NAME>
+<RETURNS>void </RETURNS>
+AgsSeekable *seekable, guint steps, gboolean forward
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PERSISTABLE</NAME>
+#define AGS_TYPE_PERSISTABLE (ags_persistable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PERSISTABLE</NAME>
+#define AGS_PERSISTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PERSISTABLE, AgsPersistable))
+</MACRO>
+<MACRO>
+<NAME>AGS_PERSISTABLE_INTERFACE</NAME>
+#define AGS_PERSISTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PERSISTABLE, AgsPersistableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PERSISTABLE</NAME>
+#define AGS_IS_PERSISTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PERSISTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PERSISTABLE_INTERFACE</NAME>
+#define AGS_IS_PERSISTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PERSISTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_PERSISTABLE_GET_INTERFACE</NAME>
+#define AGS_PERSISTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PERSISTABLE, AgsPersistableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsPersistable</NAME>
+typedef void AgsPersistable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsPersistableInterface</NAME>
+struct _AgsPersistableInterface
+{
+ GTypeInterface interface;
+
+ AgsPersistable* (*read)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+ void (*read_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+
+ xmlNodePtr (*write)(AgsPersistable *persistable, xmlDocPtr doc);
+ void (*write_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_persistable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_persistable_read</NAME>
+<RETURNS>AgsPersistable * </RETURNS>
+AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_persistable_read_link</NAME>
+<RETURNS>void </RETURNS>
+AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_persistable_write</NAME>
+<RETURNS>xmlNodePtr </RETURNS>
+AgsPersistable *persistable, xmlDocPtr doc
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_persistable_write_link</NAME>
+<RETURNS>void </RETURNS>
+AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_ULONG__VOID</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__UINT_UINT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__UINT_UINT_UINT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__UINT_INT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__UINT_DOUBLE</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__ULONG_UINT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__ULONG_UINT_UINT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__STRING_POINTER</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__OBJECT_UINT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__OBJECT_OBJECT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_OBJECT__VOID</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<FUNCTION>
+<NAME>g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT</NAME>
+<RETURNS>void </RETURNS>
+GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TACTABLE</NAME>
+#define AGS_TYPE_TACTABLE (ags_tactable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TACTABLE</NAME>
+#define AGS_TACTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TACTABLE, AgsTactable))
+</MACRO>
+<MACRO>
+<NAME>AGS_TACTABLE_INTERFACE</NAME>
+#define AGS_TACTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_TACTABLE, AgsTactableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TACTABLE</NAME>
+#define AGS_IS_TACTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TACTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TACTABLE_INTERFACE</NAME>
+#define AGS_IS_TACTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_TACTABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_TACTABLE_GET_INTERFACE</NAME>
+#define AGS_TACTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_TACTABLE, AgsTactableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsTactable</NAME>
+typedef void AgsTactable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsTactableInterface</NAME>
+struct _AgsTactableInterface
+{
+ GTypeInterface interface;
+
+ void (*change_sequencer_duration)(AgsTactable *tactable, gdouble duration);
+ void (*change_notation_duration)(AgsTactable *tactable, gdouble duration);
+ void (*change_tact)(AgsTactable *tactable, gdouble tact);
+ void (*change_bpm)(AgsTactable *tactable, gdouble bpm);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_tactable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tactable_change_sequencer_duration</NAME>
+<RETURNS>void </RETURNS>
+AgsTactable *tactable, gdouble duration
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tactable_change_notation_duration</NAME>
+<RETURNS>void </RETURNS>
+AgsTactable *tactable, gdouble duration
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tactable_change_tact</NAME>
+<RETURNS>void </RETURNS>
+AgsTactable *tactable, gdouble tact
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tactable_change_bpm</NAME>
+<RETURNS>void </RETURNS>
+AgsTactable *tactable, gdouble bpm
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_STACKABLE</NAME>
+#define AGS_TYPE_STACKABLE (ags_stackable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_STACKABLE</NAME>
+#define AGS_STACKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STACKABLE, AgsStackable))
+</MACRO>
+<MACRO>
+<NAME>AGS_STACKABLE_INTERFACE</NAME>
+#define AGS_STACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_STACKABLE, AgsStackableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STACKABLE</NAME>
+#define AGS_IS_STACKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_STACKABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_STACKABLE_INTERFACE</NAME>
+#define AGS_IS_STACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_STACKABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_STACKABLE_GET_INTERFACE</NAME>
+#define AGS_STACKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_STACKABLE, AgsStackableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsStackable</NAME>
+typedef void AgsStackable;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsStackableInterface</NAME>
+struct _AgsStackableInterface
+{
+ GTypeInterface interface;
+
+ void (*push)(AgsStackable *stackable);
+ void (*pop)(AgsStackable *stackable);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_stackable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stackable_push</NAME>
+<RETURNS>void </RETURNS>
+AgsStackable *stackable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_stackable_pop</NAME>
+<RETURNS>void </RETURNS>
+AgsStackable *stackable
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_TREE_ITERATOR</NAME>
+#define AGS_TYPE_TREE_ITERATOR (ags_tree_iterator_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_TREE_ITERATOR</NAME>
+#define AGS_TREE_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TREE_ITERATOR, AgsTreeIterator))
+</MACRO>
+<MACRO>
+<NAME>AGS_TREE_ITERATOR_INTERFACE</NAME>
+#define AGS_TREE_ITERATOR_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_TREE_ITERATOR, AgsTreeIteratorInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TREE_ITERATOR</NAME>
+#define AGS_IS_TREE_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TREE_ITERATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_TREE_ITERATOR_INTERFACE</NAME>
+#define AGS_IS_TREE_ITERATOR_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_TREE_ITERATOR))
+</MACRO>
+<MACRO>
+<NAME>AGS_TREE_ITERATOR_GET_INTERFACE</NAME>
+#define AGS_TREE_ITERATOR_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_TREE_ITERATOR, AgsTreeIteratorInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsTreeIterator</NAME>
+typedef void AgsTreeIterator;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsTreeIteratorInterface</NAME>
+struct _AgsTreeIteratorInterface
+{
+ GTypeInterface interface;
+
+ void (*set_inverse_mode)(AgsTreeIterator *tree, gboolean mode);
+ gboolean (*is_inverse_mode)(AgsTreeIterator *tree);
+
+ void (*iterate)(AgsTreeIterator *tree,
+ gpointer node_id);
+ void (*iterate_nested)(AgsTreeIterator *tree,
+ gpointer node_id);
+
+ void (*safe_iterate)(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+ void (*safe_iterate_nested)(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+
+ void (*loop_action)(AgsTreeIterator *current,
+ gpointer node_id);
+ void (*nested_loop_action)(AgsTreeIterator *current,
+ gpointer node_id);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_tree_iterator_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tree_iterator_set_inverse_mode</NAME>
+<RETURNS>void </RETURNS>
+AgsTreeIterator *tree, gboolean mode
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tree_iterator_is_inverse_mode</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsTreeIterator *tree
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tree_iterator_iterate</NAME>
+<RETURNS>void </RETURNS>
+AgsTreeIterator *tree, gpointer node_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tree_iterator_iterate_nested</NAME>
+<RETURNS>void </RETURNS>
+AgsTreeIterator *tree, gpointer node_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tree_iterator_safe_iterate</NAME>
+<RETURNS>void </RETURNS>
+AgsTreeIterator *toplevel, AgsTreeIterator *current, gpointer node_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_tree_iterator_safe_iterate_nested</NAME>
+<RETURNS>void </RETURNS>
+AgsTreeIterator *toplevel, AgsTreeIterator *current, gpointer node_id
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_EFFECT</NAME>
+#define AGS_TYPE_EFFECT (ags_effect_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_EFFECT</NAME>
+#define AGS_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EFFECT, AgsEffect))
+</MACRO>
+<MACRO>
+<NAME>AGS_EFFECT_INTERFACE</NAME>
+#define AGS_EFFECT_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_EFFECT, AgsEffectInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EFFECT</NAME>
+#define AGS_IS_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EFFECT))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_EFFECT_INTERFACE</NAME>
+#define AGS_IS_EFFECT_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_EFFECT))
+</MACRO>
+<MACRO>
+<NAME>AGS_EFFECT_GET_INTERFACE</NAME>
+#define AGS_EFFECT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_EFFECT, AgsEffectInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsEffect</NAME>
+typedef void AgsEffect;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsEffectInterface</NAME>
+struct _AgsEffectInterface
+{
+ GTypeInterface interface;
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_effect_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLAYABLE</NAME>
+#define AGS_TYPE_PLAYABLE (ags_playable_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAYABLE</NAME>
+#define AGS_PLAYABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAYABLE, AgsPlayable))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAYABLE_INTERFACE</NAME>
+#define AGS_PLAYABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PLAYABLE, AgsPlayableInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAYABLE</NAME>
+#define AGS_IS_PLAYABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAYABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLAYABLE_INTERFACE</NAME>
+#define AGS_IS_PLAYABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PLAYABLE))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLAYABLE_GET_INTERFACE</NAME>
+#define AGS_PLAYABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PLAYABLE, AgsPlayableInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsPlayable</NAME>
+typedef void AgsPlayable;
+</TYPEDEF>
+<MACRO>
+<NAME>AGS_PLAYABLE_ERROR</NAME>
+#define AGS_PLAYABLE_ERROR (ags_playable_error_quark())
+</MACRO>
+<ENUM>
+<NAME>AgsPlayableError</NAME>
+typedef enum{
+ AGS_PLAYABLE_ERROR_NO_SUCH_LEVEL,
+ AGS_PLAYABLE_ERROR_NO_SAMPLE,
+}AgsPlayableError;
+</ENUM>
+<STRUCT>
+<NAME>AgsPlayableInterface</NAME>
+struct _AgsPlayableInterface
+{
+ GTypeInterface interface;
+
+ gboolean (*open)(AgsPlayable *playable, gchar *name);
+ gboolean (*rw_open)(AgsPlayable *playable, gchar *name,
+ gboolean create,
+ guint samplerate, guint channels,
+ guint frames,
+ guint format);
+
+ /* these functions are especially for soundfonts */
+ guint (*level_count)(AgsPlayable *playable);
+ guint (*nth_level)(AgsPlayable *playable);
+ gchar* (*selected_level)(AgsPlayable *playable);
+
+ gchar** (*sublevel_names)(AgsPlayable *playable);
+ void (*level_select)(AgsPlayable *playable,
+ guint nth_level, gchar *sublevel_name,
+ GError **error);
+ void (*level_up)(AgsPlayable *playable,
+ guint levels,
+ GError **error);
+
+ void (*iter_start)(AgsPlayable *playable);
+ gboolean (*iter_next)(AgsPlayable *playable);
+
+ /* read sample data */
+ void (*info)(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error);
+ signed short* (*read)(AgsPlayable *playable,
+ guint channel,
+ GError **error);
+
+ /* write sample data */
+ void (*write)(AgsPlayable *playable,
+ signed short *buffer, guint buffer_length);
+ void (*flush)(AgsPlayable *playable);
+
+ /* position */
+ void (*seek)(AgsPlayable *playable,
+ guint frames, gint whence);
+
+ /* close */
+ void (*close)(AgsPlayable *playable);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_playable_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_error_quark</NAME>
+<RETURNS>GQuark </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_open</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPlayable *playable, gchar *name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_rw_open</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPlayable *playable, gchar *name, gboolean create, guint samplerate, guint channels, guint frames, guint format
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_level_count</NAME>
+<RETURNS>guint </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_nth_level</NAME>
+<RETURNS>guint </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_selected_level</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_sublevel_names</NAME>
+<RETURNS>gchar ** </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_level_select</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable, guint nth_level, gchar *sublevel_name, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_level_up</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable, guint levels, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_iter_start</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_iter_next</NAME>
+<RETURNS>gboolean </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_info</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable, guint *channels, guint *frames, guint *loop_start, guint *loop_end, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_read</NAME>
+<RETURNS>signed short * </RETURNS>
+AgsPlayable *playable, guint channel, GError **error
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_write</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable, signed short *buffer, guint buffer_length
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_flush</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_seek</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable, guint frames, gint whence
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_close</NAME>
+<RETURNS>void </RETURNS>
+AgsPlayable *playable
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_playable_read_audio_signal</NAME>
+<RETURNS>GList * </RETURNS>
+AgsPlayable *playable, AgsDevout *devout, guint start_channel, guint channels
+</FUNCTION>
+<MACRO>
+<NAME>AGS_TYPE_PLUGIN</NAME>
+#define AGS_TYPE_PLUGIN (ags_plugin_get_type())
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN</NAME>
+#define AGS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN, AgsPlugin))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_INTERFACE</NAME>
+#define AGS_PLUGIN_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PLUGIN, AgsPluginInterface))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLUGIN</NAME>
+#define AGS_IS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLUGIN))
+</MACRO>
+<MACRO>
+<NAME>AGS_IS_PLUGIN_INTERFACE</NAME>
+#define AGS_IS_PLUGIN_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PLUGIN))
+</MACRO>
+<MACRO>
+<NAME>AGS_PLUGIN_GET_INTERFACE</NAME>
+#define AGS_PLUGIN_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PLUGIN, AgsPluginInterface))
+</MACRO>
+<TYPEDEF>
+<NAME>AgsPlugin</NAME>
+typedef void AgsPlugin;
+</TYPEDEF>
+<STRUCT>
+<NAME>AgsPluginInterface</NAME>
+struct _AgsPluginInterface
+{
+ GTypeInterface interface;
+
+ gchar* (*get_name)(AgsPlugin *plugin);
+ void (*set_name)(AgsPlugin *plugin, gchar *name);
+
+ gchar* (*get_version)(AgsPlugin *plugin);
+ void (*set_version)(AgsPlugin *plugin, gchar *version);
+
+ gchar* (*get_build_id)(AgsPlugin *plugin);
+ void (*set_build_id)(AgsPlugin *plugin, gchar *build_id);
+
+ gchar* (*get_xml_type)(AgsPlugin *plugin);
+ void (*set_xml_type)(AgsPlugin *plugin, gchar *xml_type);
+
+ GList* (*get_ports)(AgsPlugin *plugin);
+ void (*set_ports)(AgsPlugin *plugin, GList *ports);
+
+ void (*read)(AgsFile *file,
+ xmlNode *node,
+ AgsPlugin *plugin);
+ xmlNode* (*write)(AgsFile *file,
+ xmlNode *parent,
+ AgsPlugin *plugin);
+};
+</STRUCT>
+<FUNCTION>
+<NAME>ags_plugin_get_type</NAME>
+<RETURNS>GType </RETURNS>
+
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_get_name</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_set_name</NAME>
+<RETURNS>void </RETURNS>
+AgsPlugin *plugin, gchar *name
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_get_version</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_set_version</NAME>
+<RETURNS>void </RETURNS>
+AgsPlugin *plugin, gchar *version
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_get_build_id</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_set_build_id</NAME>
+<RETURNS>void </RETURNS>
+AgsPlugin *plugin, gchar *build_id
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_get_xml_type</NAME>
+<RETURNS>gchar * </RETURNS>
+AgsPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_set_xml_type</NAME>
+<RETURNS>void </RETURNS>
+AgsPlugin *plugin, gchar *xml_type
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_get_ports</NAME>
+<RETURNS>GList * </RETURNS>
+AgsPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_set_ports</NAME>
+<RETURNS>void </RETURNS>
+AgsPlugin *plugin, GList *ports
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_read</NAME>
+<RETURNS>void </RETURNS>
+AgsFile *file, xmlNode *node, AgsPlugin *plugin
+</FUNCTION>
+<FUNCTION>
+<NAME>ags_plugin_write</NAME>
+<RETURNS>xmlNode * </RETURNS>
+AgsFile *file, xmlNode *parent, AgsPlugin *plugin
+</FUNCTION>
diff --git a/doc/reference/ags/ags-docs.xml b/doc/reference/ags/ags-docs.xml
new file mode 100644
index 0000000..5a3ffe9
--- /dev/null
+++ b/doc/reference/ags/ags-docs.xml
@@ -0,0 +1,385 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<book id="index">
+ <bookinfo>
+ <title>Advanced Gtk+ Sequencer Reference Manual</title>
+ <releaseinfo>
+ for Advanced Gtk+ Sequencer 0.4.2.
+ The latest version of this documentation can be found on-line at
+ <ulink role="online-location" url="http://ags.sourceforge.net/api/ags/index.html">http://ags.sourceforge.net/api/ags/</ulink>.
+ </releaseinfo>
+ </bookinfo>
+
+ <xi:include href="xml/main.xml"/>
+
+ <part id="util">
+ <title>Library - Completion routines</title>
+
+ <xi:include href="xml/ags_combo_box_text.xml"/>
+ <xi:include href="xml/ags_list.xml"/>
+ <xi:include href="xml/ags_parameter.xml"/>
+ </part>
+
+ <part id="util">
+ <title>Util - Helper functions</title>
+
+ <xi:include href="xml/ags_id_generator.xml"/>
+ </part>
+
+ <part id="object">
+ <title>Object - Interfaces and marshallers</title>
+
+ <xi:include href="xml/ags_applicable.xml"/>
+ <xi:include href="xml/ags_countable.xml"/>
+ <xi:include href="xml/ags_dynamic_connectable.xml"/>
+ <xi:include href="xml/ags_main_loop.xml"/>
+ <xi:include href="xml/ags_marshal.xml"/>
+ <xi:include href="xml/ags_mutable.xml"/>
+ <xi:include href="xml/ags_packable.xml"/>
+ <xi:include href="xml/ags_portlet.xml"/>
+ <xi:include href="xml/ags_runnable.xml"/>
+ <xi:include href="xml/ags_seekable.xml"/>
+ <xi:include href="xml/ags_tactable.xml"/>
+ <xi:include href="xml/ags_stackable.xml"/>
+ <xi:include href="xml/ags_persistable.xml"/>
+ <xi:include href="xml/ags_playable.xml"/>
+ <xi:include href="xml/ags_plugin.xml"/>
+ </part>
+
+ <part id="plugin">
+ <title>Plugin - API of plugins</title>
+
+ <xi:include href="xml/ags_ladspa_manager.xml"/>
+ <xi:include href="xml/ags_plugin_factory.xml"/>
+ <xi:include href="xml/ags_plugin_stock.xml"/>
+ </part>
+
+ <part id="widget">
+ <title>Widget - GUI elements</title>
+
+ <xi:include href="xml/ags_dial.xml"/>
+ <xi:include href="xml/ags_expander.xml"/>
+ <xi:include href="xml/ags_expander_set.xml"/>
+ <xi:include href="xml/ags_indicator.xml"/>
+ <xi:include href="xml/ags_led.xml"/>
+ <xi:include href="xml/ags_ruler.xml"/>
+ <xi:include href="xml/ags_vindicator.xml"/>
+ </part>
+
+ <part id="thread">
+ <title>Thread - Multi-threaded tree</title>
+
+ <xi:include href="xml/ags_audio_loop.xml"/>
+ <xi:include href="xml/ags_autosave_thread.xml"/>
+ <xi:include href="xml/ags_devout_thread.xml"/>
+ <xi:include href="xml/ags_export_thread.xml"/>
+ <xi:include href="xml/ags_gui_thread.xml"/>
+ <xi:include href="xml/ags_iterator_thread.xml"/>
+ <xi:include href="xml/ags_recycling_thread.xml"/>
+ <xi:include href="xml/ags_recycling_thread_callbacks.xml"/>
+ <xi:include href="xml/ags_returnable_thread.xml"/>
+ <xi:include href="xml/ags_task_thread.xml"/>
+ <xi:include href="xml/ags_timestamp_thread.xml"/>
+ <xi:include href="xml/ags_thread-posix.xml"/>
+ <xi:include href="xml/ags_thread_pool.xml"/>
+ <xi:include href="xml/ags_single_thread.xml"/>
+ </part>
+
+ <part id="audio">
+ <title>The audio layer</title>
+
+ <xi:include href="xml/ags_audio.xml"/>
+ <xi:include href="xml/ags_audio_signal.xml"/>
+ <xi:include href="xml/ags_channel.xml"/>
+ <xi:include href="xml/ags_config.xml"/>
+ <xi:include href="xml/ags_devout.xml"/>
+ <xi:include href="xml/ags_input.xml"/>
+ <xi:include href="xml/ags_notation.xml"/>
+ <xi:include href="xml/ags_note.xml"/>
+ <xi:include href="xml/ags_output.xml"/>
+ <xi:include href="xml/ags_pattern.xml"/>
+ <xi:include href="xml/ags_port.xml"/>
+ <xi:include href="xml/ags_recall.xml"/>
+ <xi:include href="xml/ags_recall_audio.xml"/>
+ <xi:include href="xml/ags_recall_audio_run.xml"/>
+ <xi:include href="xml/ags_recall_audio_signal.xml"/>
+ <xi:include href="xml/ags_recall_channel.xml"/>
+ <xi:include href="xml/ags_recall_channel_run.xml"/>
+ <xi:include href="xml/ags_recall_channel_run_dummy.xml"/>
+ <xi:include href="xml/ags_recall_container.xml"/>
+ <xi:include href="xml/ags_recall_dependency.xml"/>
+ <xi:include href="xml/ags_recall_factory.xml"/>
+ <xi:include href="xml/ags_recall_id.xml"/>
+ <xi:include href="xml/ags_recall_ladspa.xml"/>
+ <xi:include href="xml/ags_recall_ladspa_run.xml"/>
+ <xi:include href="xml/ags_recall_recycling.xml"/>
+ <xi:include href="xml/ags_recall_recycling_dummy.xml"/>
+ <xi:include href="xml/ags_recycling.xml"/>
+ <xi:include href="xml/ags_recycling_container.xml"/>
+ <xi:include href="xml/ags_task.xml"/>
+ <xi:include href="xml/ags_timestamp.xml"/>
+ <xi:include href="xml/ags_timestamp_factory.xml"/>
+ <xi:include href="xml/ags_synths.xml"/>
+
+ <chapter id="audio-file">
+ <title>Audio files - Reading/Writing audio data from disk</title>
+
+ <xi:include href="xml/ags_audio_file.xml"/>
+ <xi:include href="xml/ags_ipatch.xml"/>
+ <xi:include href="xml/ags_ipatch_sf2_reader.xml"/>
+ <xi:include href="xml/ags_sndfile.xml"/>
+ </chapter>
+
+ <chapter id="recall">
+ <title>Recalls - Effect processors</title>
+
+ <xi:include href="xml/ags_buffer_audio_signal.xml"/>
+ <xi:include href="xml/ags_buffer_channel.xml"/>
+ <xi:include href="xml/ags_buffer_channel_run.xml"/>
+ <xi:include href="xml/ags_buffer_recycling.xml"/>
+ <xi:include href="xml/ags_copy_audio_signal.xml"/>
+ <xi:include href="xml/ags_copy_channel.xml"/>
+ <xi:include href="xml/ags_copy_channel_run.xml"/>
+ <xi:include href="xml/ags_copy_notation_audio.xml"/>
+ <xi:include href="xml/ags_copy_notation_audio_run.xml"/>
+ <xi:include href="xml/ags_copy_pattern_audio.xml"/>
+ <xi:include href="xml/ags_copy_pattern_audio_run.xml"/>
+ <xi:include href="xml/ags_copy_pattern_channel.xml"/>
+ <xi:include href="xml/ags_copy_pattern_channel_run.xml"/>
+ <xi:include href="xml/ags_copy_recycling.xml"/>
+ <xi:include href="xml/ags_count_beats_audio.xml"/>
+ <xi:include href="xml/ags_count_beats_audio_run.xml"/>
+ <xi:include href="xml/ags_delay_audio.xml"/>
+ <xi:include href="xml/ags_delay_audio_run.xml"/>
+ <xi:include href="xml/ags_loop_channel.xml"/>
+ <xi:include href="xml/ags_loop_channel_run.xml"/>
+ <xi:include href="xml/ags_peak_channel.xml"/>
+ <xi:include href="xml/ags_peak_channel_run.xml"/>
+ <xi:include href="xml/ags_volume_audio_signal.xml"/>
+ <xi:include href="xml/ags_volume_channel.xml"/>
+ <xi:include href="xml/ags_volume_channel_run.xml"/>
+ <xi:include href="xml/ags_volume_recycling.xml"/>
+ <xi:include href="xml/ags_play_audio.xml"/>
+ <xi:include href="xml/ags_play_audio_file.xml"/>
+ <xi:include href="xml/ags_play_audio_signal.xml"/>
+ <xi:include href="xml/ags_play_channel.xml"/>
+ <xi:include href="xml/ags_play_channel_run.xml"/>
+ <xi:include href="xml/ags_play_channel_run_master.xml"/>
+ <xi:include href="xml/ags_play_notation_audio.xml"/>
+ <xi:include href="xml/ags_play_notation_audio_run.xml"/>
+ <xi:include href="xml/ags_play_note.xml"/>
+ <xi:include href="xml/ags_play_pattern.xml"/>
+ <xi:include href="xml/ags_play_recycling.xml"/>
+ <xi:include href="xml/ags_stream.xml"/>
+ <xi:include href="xml/ags_stream_audio_signal.xml"/>
+ <xi:include href="xml/ags_stream_channel.xml"/>
+ <xi:include href="xml/ags_stream_channel_run.xml"/>
+ <xi:include href="xml/ags_stream_recycling.xml"/>
+ </chapter>
+
+ <chapter id="task">
+ <title>Task - Data exchanged between Audio and GUI</title>
+
+ <xi:include href="xml/ags_add_audio.xml"/>
+ <xi:include href="xml/ags_add_audio_signal.xml"/>
+ <xi:include href="xml/ags_add_line_member.xml"/>
+ <xi:include href="xml/ags_add_note.xml"/>
+ <xi:include href="xml/ags_add_point_to_selection.xml"/>
+ <xi:include href="xml/ags_add_recall.xml"/>
+ <xi:include href="xml/ags_add_region_to_selection.xml"/>
+ <xi:include href="xml/ags_append_audio.xml"/>
+ <xi:include href="xml/ags_append_audio_threaded.xml"/>
+ <xi:include href="xml/ags_append_channel.xml"/>
+ <xi:include href="xml/ags_append_recall.xml"/>
+ <xi:include href="xml/ags_apply_bpm.xml"/>
+ <xi:include href="xml/ags_apply_sequencer_length.xml"/>
+ <xi:include href="xml/ags_apply_synth.xml"/>
+ <xi:include href="xml/ags_apply_tact.xml"/>
+ <xi:include href="xml/ags_apply_wavetable.xml"/>
+ <xi:include href="xml/ags_audio_set_recycling.xml"/>
+ <xi:include href="xml/ags_cancel_audio.xml"/>
+ <xi:include href="xml/ags_cancel_channel.xml"/>
+ <xi:include href="xml/ags_cancel_recall.xml"/>
+ <xi:include href="xml/ags_change_indicator.xml"/>
+ <xi:include href="xml/ags_change_tact.xml"/>
+ <xi:include href="xml/ags_channel_set_recycling.xml"/>
+ <xi:include href="xml/ags_display_tact.xml"/>
+ <xi:include href="xml/ags_export_output.xml"/>
+ <xi:include href="xml/ags_free_selection.xml"/>
+ <xi:include href="xml/ags_init_audio.xml"/>
+ <xi:include href="xml/ags_init_channel.xml"/>
+ <xi:include href="xml/ags_mute_audio.xml"/>
+ <xi:include href="xml/ags_mute_audio_signal.xml"/>
+ <xi:include href="xml/ags_mute_channel.xml"/>
+ <xi:include href="xml/ags_mute_channel_run.xml"/>
+ <xi:include href="xml/ags_mute_recycling.xml"/>
+ <xi:include href="xml/ags_open_file.xml"/>
+ <xi:include href="xml/ags_open_single_file.xml"/>
+ <xi:include href="xml/ags_remove_audio.xml"/>
+ <xi:include href="xml/ags_remove_audio_signal.xml"/>
+ <xi:include href="xml/ags_remove_note.xml"/>
+ <xi:include href="xml/ags_remove_point_from_selection.xml"/>
+ <xi:include href="xml/ags_remove_recall.xml"/>
+ <xi:include href="xml/ags_remove_region_from_selection.xml"/>
+ <xi:include href="xml/ags_save_file.xml"/>
+ <xi:include href="xml/ags_scroll_on_play.xml"/>
+ <xi:include href="xml/ags_set_audio_channels.xml"/>
+ <xi:include href="xml/ags_set_buffer_size.xml"/>
+ <xi:include href="xml/ags_set_devout_play_flags.xml"/>
+ <xi:include href="xml/ags_set_muted.xml"/>
+ <xi:include href="xml/ags_set_output_device.xml"/>
+ <xi:include href="xml/ags_set_samplerate.xml"/>
+ <xi:include href="xml/ags_start_devout.xml"/>
+ <xi:include href="xml/ags_toggle_led.xml"/>
+ <xi:include href="xml/ags_toggle_pattern_bit.xml"/>
+ <xi:include href="xml/ags_unref_audio_signal.xml"/>
+ </chapter>
+ </part>
+
+ <part>
+ <title>Graphical user interface</title>
+
+ <xi:include href="xml/ags_audio_preferences.xml"/>
+ <xi:include href="xml/ags_audio_preferences_callbacks.xml"/>
+ <xi:include href="xml/ags_editor.xml"/>
+ <xi:include href="xml/ags_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_export_window.xml"/>
+ <xi:include href="xml/ags_export_window_callbacks.xml"/>
+ <xi:include href="xml/ags_file_selection.xml"/>
+ <xi:include href="xml/ags_file_selection_callbacks.xml"/>
+ <xi:include href="xml/ags_inline_player.xml"/>
+ <xi:include href="xml/ags_ladspa_browser.xml"/>
+ <xi:include href="xml/ags_ladspa_browser_callbacks.xml"/>
+ <xi:include href="xml/ags_line.xml"/>
+ <xi:include href="xml/ags_line_callbacks.xml"/>
+ <xi:include href="xml/ags_line_editor.xml"/>
+ <xi:include href="xml/ags_line_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_line_member.xml"/>
+ <xi:include href="xml/ags_line_member_callbacks.xml"/>
+ <xi:include href="xml/ags_line_member_editor.xml"/>
+ <xi:include href="xml/ags_line_member_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_link_channel.xml"/>
+ <xi:include href="xml/ags_link_collection_editor.xml"/>
+ <xi:include href="xml/ags_link_collection_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_link_editor.xml"/>
+ <xi:include href="xml/ags_link_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_listing_editor.xml"/>
+ <xi:include href="xml/ags_listing_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_machine.xml"/>
+ <xi:include href="xml/ags_machine_callbacks.xml"/>
+ <xi:include href="xml/ags_machine_editor.xml"/>
+ <xi:include href="xml/ags_machine_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_menu_bar.xml"/>
+ <xi:include href="xml/ags_menu_bar_callbacks.xml"/>
+ <xi:include href="xml/ags_navigation.xml"/>
+ <xi:include href="xml/ags_navigation_callbacks.xml"/>
+ <xi:include href="xml/ags_pad.xml"/>
+ <xi:include href="xml/ags_pad_callbacks.xml"/>
+ <xi:include href="xml/ags_pad_editor.xml"/>
+ <xi:include href="xml/ags_pad_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_performance_preferences.xml"/>
+ <xi:include href="xml/ags_plugin_preferences.xml"/>
+ <xi:include href="xml/ags_preferences.xml"/>
+ <xi:include href="xml/ags_preferences_callbacks.xml"/>
+ <xi:include href="xml/ags_property_collection_editor.xml"/>
+ <xi:include href="xml/ags_property_collection_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_property_editor.xml"/>
+ <xi:include href="xml/ags_property_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_property_listing_editor.xml"/>
+ <xi:include href="xml/ags_resize_editor.xml"/>
+ <xi:include href="xml/ags_server_preferences.xml"/>
+ <xi:include href="xml/ags_window.xml"/>
+ <xi:include href="xml/ags_window_callbacks.xml"/>
+
+ <chapter id="editor">
+ <title>Editor - Piano roll and its controls</title>
+
+ <xi:include href="xml/ags_toolbar_mode_stock.xml"/>
+ <xi:include href="xml/ags_toolbar.xml"/>
+ <xi:include href="xml/ags_toolbar_callbacks.xml"/>
+ <xi:include href="xml/ags_machine_selection.xml"/>
+ <xi:include href="xml/ags_machine_selector.xml"/>
+ <xi:include href="xml/ags_machine_selector_callbacks.xml"/>
+ <xi:include href="xml/ags_machine_radio_button.xml"/>
+ <xi:include href="xml/ags_notebook.xml"/>
+ <xi:include href="xml/ags_notebook_callbacks.xml"/>
+ <xi:include href="xml/ags_meter.xml"/>
+ <xi:include href="xml/ags_meter_callbacks.xml"/>
+ <xi:include href="xml/ags_note_edit.xml"/>
+ <xi:include href="xml/ags_note_edit_callbacks.xml"/>
+ <xi:include href="xml/ags_sf2_chooser.xml"/>
+ <xi:include href="xml/ags_sf2_chooser_callbacks.xml"/>
+ </chapter>
+
+ <chapter id="engines">
+ <title>Engines - Composite widgets with audio set up</title>
+
+ <xi:include href="xml/ags_panel.xml"/>
+ <xi:include href="xml/ags_panel_callbacks.xml"/>
+ <xi:include href="xml/ags_panel_input_line.xml"/>
+ <xi:include href="xml/ags_panel_input_pad.xml"/>
+ <xi:include href="xml/ags_mixer.xml"/>
+ <xi:include href="xml/ags_mixer_callbacks.xml"/>
+ <xi:include href="xml/ags_mixer_input_line.xml"/>
+ <xi:include href="xml/ags_mixer_input_pad.xml"/>
+ <xi:include href="xml/ags_drum.xml"/>
+ <xi:include href="xml/ags_drum_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_input_line.xml"/>
+ <xi:include href="xml/ags_drum_input_line_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_input_pad.xml"/>
+ <xi:include href="xml/ags_drum_input_pad_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_output_line.xml"/>
+ <xi:include href="xml/ags_drum_output_line_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_output_pad.xml"/>
+ <xi:include href="xml/ags_drum_output_pad_callbacks.xml"/>
+ <xi:include href="xml/ags_matrix.xml"/>
+ <xi:include href="xml/ags_matrix_callbacks.xml"/>
+ <xi:include href="xml/ags_synth.xml"/>
+ <xi:include href="xml/ags_synth_callbacks.xml"/>
+ <xi:include href="xml/ags_synth_input_line.xml"/>
+ <xi:include href="xml/ags_synth_input_pad.xml"/>
+ <xi:include href="xml/ags_oscillator.xml"/>
+ <xi:include href="xml/ags_oscillator_callbacks.xml"/>
+ <xi:include href="xml/ags_ffplayer.xml"/>
+ <xi:include href="xml/ags_ffplayer_callbacks.xml"/>
+ </chapter>
+ </part>
+
+ <part id="xml-io">
+ <title>XML Input/Output - Persist project</title>
+
+ <xi:include href="xml/ags_file_stock.xml"/>
+ <xi:include href="xml/ags_file.xml"/>
+ <xi:include href="xml/ags_file_id_ref.xml"/>
+ <xi:include href="xml/ags_file_link.xml"/>
+ <xi:include href="xml/ags_file_lookup.xml"/>
+ <xi:include href="xml/ags_file_launch.xml"/>
+ <xi:include href="xml/ags_file_gui.xml"/>
+ <xi:include href="xml/ags_file_sound.xml"/>
+ <xi:include href="xml/ags_file_util.xml"/>
+ <xi:include href="xml/ags_file_thread.xml"/>
+ </part>
+
+ <part id="xml-rpc">
+ <title>XML-RPC - planned server</title>
+
+ <xi:include href="xml/ags_registry.xml"/>
+ <xi:include href="xml/ags_remote_task.xml"/>
+ <xi:include href="xml/ags_server.xml"/>
+ </part>
+
+ <index id="api-index-full">
+ <title>API Index</title>
+ <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
+ </index>
+ <index id="deprecated-api-index" role="deprecated">
+ <title>Index of deprecated API</title>
+ <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
+ </index>
+
+ <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
+</book>
diff --git a/doc/reference/ags/ags-overrides.txt b/doc/reference/ags/ags-overrides.txt
new file mode 100644
index 0000000..e69de29
diff --git a/doc/reference/ags/ags-scan.c b/doc/reference/ags/ags-scan.c
new file mode 100644
index 0000000..b7a8188
--- /dev/null
+++ b/doc/reference/ags/ags-scan.c
@@ -0,0 +1,1690 @@
+#include <string.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <errno.h>
+#include <glib-object.h>
+
+extern GType ags_add_audio_get_type (void);
+extern GType ags_add_audio_signal_get_type (void);
+extern GType ags_add_line_member_get_type (void);
+extern GType ags_add_note_get_type (void);
+extern GType ags_add_point_to_selection_get_type (void);
+extern GType ags_add_recall_get_type (void);
+extern GType ags_add_region_to_selection_get_type (void);
+extern GType ags_append_audio_get_type (void);
+extern GType ags_append_audio_threaded_get_type (void);
+extern GType ags_append_channel_get_type (void);
+extern GType ags_append_recall_get_type (void);
+extern GType ags_applicable_get_type (void);
+extern GType ags_apply_bpm_get_type (void);
+extern GType ags_apply_sequencer_length_get_type (void);
+extern GType ags_apply_synth_get_type (void);
+extern GType ags_apply_tact_get_type (void);
+extern GType ags_apply_wavetable_get_type (void);
+extern GType ags_async_queue_get_type (void);
+extern GType ags_audio_file_get_type (void);
+extern GType ags_audio_file_xml_get_type (void);
+extern GType ags_audio_get_type (void);
+extern GType ags_audio_loop_get_type (void);
+extern GType ags_audio_preferences_get_type (void);
+extern GType ags_audio_set_recycling_get_type (void);
+extern GType ags_audio_signal_get_type (void);
+extern GType ags_autosave_thread_get_type (void);
+extern GType ags_buffer_audio_signal_get_type (void);
+extern GType ags_buffer_channel_get_type (void);
+extern GType ags_buffer_channel_run_get_type (void);
+extern GType ags_buffer_recycling_get_type (void);
+extern GType ags_cancel_audio_get_type (void);
+extern GType ags_cancel_channel_get_type (void);
+extern GType ags_cancel_recall_get_type (void);
+extern GType ags_cartesian_get_type (void);
+extern GType ags_change_indicator_get_type (void);
+extern GType ags_change_tact_get_type (void);
+extern GType ags_channel_get_type (void);
+extern GType ags_channel_set_recycling_get_type (void);
+extern GType ags_clone_channel_get_type (void);
+extern GType ags_clone_channel_run_get_type (void);
+extern GType ags_config_get_type (void);
+extern GType ags_copy_audio_signal_get_type (void);
+extern GType ags_copy_channel_get_type (void);
+extern GType ags_copy_channel_run_get_type (void);
+extern GType ags_copy_notation_audio_get_type (void);
+extern GType ags_copy_notation_audio_run_get_type (void);
+extern GType ags_copy_pattern_audio_get_type (void);
+extern GType ags_copy_pattern_audio_run_get_type (void);
+extern GType ags_copy_pattern_channel_get_type (void);
+extern GType ags_copy_pattern_channel_run_get_type (void);
+extern GType ags_copy_recycling_get_type (void);
+extern GType ags_count_beats_audio_get_type (void);
+extern GType ags_count_beats_audio_run_get_type (void);
+extern GType ags_countable_get_type (void);
+extern GType ags_delay_audio_get_type (void);
+extern GType ags_delay_audio_run_get_type (void);
+extern GType ags_devout_get_type (void);
+extern GType ags_devout_thread_get_type (void);
+extern GType ags_dial_get_type (void);
+extern GType ags_display_tact_get_type (void);
+extern GType ags_drum_get_type (void);
+extern GType ags_drum_input_line_get_type (void);
+extern GType ags_drum_input_pad_get_type (void);
+extern GType ags_drum_output_line_get_type (void);
+extern GType ags_drum_output_pad_get_type (void);
+extern GType ags_dynamic_connectable_get_type (void);
+extern GType ags_editor_get_type (void);
+extern GType ags_effect_get_type (void);
+extern GType ags_expander_get_type (void);
+extern GType ags_expander_set_get_type (void);
+extern GType ags_export_output_get_type (void);
+extern GType ags_export_thread_get_type (void);
+extern GType ags_export_window_get_type (void);
+extern GType ags_ffplayer_get_type (void);
+extern GType ags_file_get_type (void);
+extern GType ags_file_id_ref_get_type (void);
+extern GType ags_file_launch_get_type (void);
+extern GType ags_file_link_get_type (void);
+extern GType ags_file_lookup_get_type (void);
+extern GType ags_file_read_get_type (void);
+extern GType ags_file_selection_get_type (void);
+extern GType ags_file_value_factory_get_type (void);
+extern GType ags_file_write_get_type (void);
+extern GType ags_free_selection_get_type (void);
+extern GType ags_garbage_collector_get_type (void);
+extern GType ags_generic_preferences_get_type (void);
+extern GType ags_gui_task_thread_get_type (void);
+extern GType ags_gui_thread_get_type (void);
+extern GType ags_hindicator_get_type (void);
+extern GType ags_history_get_type (void);
+extern GType ags_indicator_get_type (void);
+extern GType ags_init_audio_get_type (void);
+extern GType ags_init_channel_get_type (void);
+extern GType ags_inline_player_get_type (void);
+extern GType ags_input_get_type (void);
+extern GType ags_ipatch_get_type (void);
+extern GType ags_ipatch_sf2_reader_get_type (void);
+extern GType ags_iterator_thread_get_type (void);
+extern GType ags_ladspa_browser_get_type (void);
+extern GType ags_ladspa_manager_get_type (void);
+extern GType ags_led_get_type (void);
+extern GType ags_libao_get_type (void);
+extern GType ags_line_editor_get_type (void);
+extern GType ags_line_get_type (void);
+extern GType ags_line_member_editor_get_type (void);
+extern GType ags_line_member_get_type (void);
+extern GType ags_link_channel_get_type (void);
+extern GType ags_link_collection_editor_get_type (void);
+extern GType ags_link_editor_get_type (void);
+extern GType ags_listing_editor_get_type (void);
+extern GType ags_loop_channel_get_type (void);
+extern GType ags_loop_channel_run_get_type (void);
+extern GType ags_machine_editor_get_type (void);
+extern GType ags_machine_get_type (void);
+extern GType ags_machine_radio_button_get_type (void);
+extern GType ags_machine_selection_get_type (void);
+extern GType ags_machine_selector_get_type (void);
+extern GType ags_main_get_type (void);
+extern GType ags_main_loop_get_type (void);
+extern GType ags_matrix_get_type (void);
+extern GType ags_menu_bar_get_type (void);
+extern GType ags_menu_get_type (void);
+extern GType ags_menu_item_get_type (void);
+extern GType ags_meter_get_type (void);
+extern GType ags_mixer_get_type (void);
+extern GType ags_mixer_input_line_get_type (void);
+extern GType ags_mixer_input_pad_get_type (void);
+extern GType ags_mutable_get_type (void);
+extern GType ags_mute_audio_get_type (void);
+extern GType ags_mute_audio_signal_get_type (void);
+extern GType ags_mute_channel_get_type (void);
+extern GType ags_mute_channel_run_get_type (void);
+extern GType ags_mute_recycling_get_type (void);
+extern GType ags_navigation_get_type (void);
+extern GType ags_notation_get_type (void);
+extern GType ags_note_edit_get_type (void);
+extern GType ags_note_get_type (void);
+extern GType ags_notebook_get_type (void);
+extern GType ags_open_file_get_type (void);
+extern GType ags_open_single_file_get_type (void);
+extern GType ags_option_menu_get_type (void);
+extern GType ags_oscillator_get_type (void);
+extern GType ags_output_get_type (void);
+extern GType ags_packable_get_type (void);
+extern GType ags_pad_editor_get_type (void);
+extern GType ags_pad_get_type (void);
+extern GType ags_panel_get_type (void);
+extern GType ags_panel_input_line_get_type (void);
+extern GType ags_panel_input_pad_get_type (void);
+extern GType ags_pattern_get_type (void);
+extern GType ags_peak_channel_get_type (void);
+extern GType ags_peak_channel_run_get_type (void);
+extern GType ags_performance_preferences_get_type (void);
+extern GType ags_persistable_get_type (void);
+extern GType ags_play_audio_file_get_type (void);
+extern GType ags_play_audio_get_type (void);
+extern GType ags_play_audio_signal_get_type (void);
+extern GType ags_play_channel_get_type (void);
+extern GType ags_play_channel_run_get_type (void);
+extern GType ags_play_channel_run_master_get_type (void);
+extern GType ags_play_notation_audio_get_type (void);
+extern GType ags_play_notation_audio_run_get_type (void);
+extern GType ags_play_note_get_type (void);
+extern GType ags_play_pattern_get_type (void);
+extern GType ags_play_recycling_get_type (void);
+extern GType ags_playable_get_type (void);
+extern GType ags_plugin_factory_get_type (void);
+extern GType ags_plugin_get_type (void);
+extern GType ags_plugin_preferences_get_type (void);
+extern GType ags_port_get_type (void);
+extern GType ags_portable_thread_get_type (void);
+extern GType ags_portlet_get_type (void);
+extern GType ags_preferences_get_type (void);
+extern GType ags_property_collection_editor_get_type (void);
+extern GType ags_property_editor_get_type (void);
+extern GType ags_property_listing_editor_get_type (void);
+extern GType ags_recall_audio_get_type (void);
+extern GType ags_recall_audio_run_get_type (void);
+extern GType ags_recall_audio_signal_get_type (void);
+extern GType ags_recall_channel_get_type (void);
+extern GType ags_recall_channel_run_dummy_get_type (void);
+extern GType ags_recall_channel_run_get_type (void);
+extern GType ags_recall_container_get_type (void);
+extern GType ags_recall_dependency_get_type (void);
+extern GType ags_recall_factory_get_type (void);
+extern GType ags_recall_get_type (void);
+extern GType ags_recall_id_get_type (void);
+extern GType ags_recall_ladspa_get_type (void);
+extern GType ags_recall_ladspa_run_get_type (void);
+extern GType ags_recall_recycling_dummy_get_type (void);
+extern GType ags_recall_recycling_get_type (void);
+extern GType ags_record_thread_get_type (void);
+extern GType ags_recycling_container_get_type (void);
+extern GType ags_recycling_get_type (void);
+extern GType ags_recycling_thread_get_type (void);
+extern GType ags_registry_get_type (void);
+extern GType ags_remote_task_get_type (void);
+extern GType ags_remove_audio_get_type (void);
+extern GType ags_remove_audio_signal_get_type (void);
+extern GType ags_remove_note_get_type (void);
+extern GType ags_remove_point_from_selection_get_type (void);
+extern GType ags_remove_recall_get_type (void);
+extern GType ags_remove_region_from_selection_get_type (void);
+extern GType ags_returnable_thread_get_type (void);
+extern GType ags_ruler_get_type (void);
+extern GType ags_runnable_get_type (void);
+extern GType ags_save_file_get_type (void);
+extern GType ags_scroll_on_play_get_type (void);
+extern GType ags_seekable_get_type (void);
+extern GType ags_segment_get_type (void);
+extern GType ags_server_get_type (void);
+extern GType ags_server_preferences_get_type (void);
+extern GType ags_set_audio_channels_get_type (void);
+extern GType ags_set_buffer_size_get_type (void);
+extern GType ags_set_devout_play_flags_get_type (void);
+extern GType ags_set_muted_get_type (void);
+extern GType ags_set_output_device_get_type (void);
+extern GType ags_set_samplerate_get_type (void);
+extern GType ags_sf2_chooser_get_type (void);
+extern GType ags_single_thread_get_type (void);
+extern GType ags_sndfile_get_type (void);
+extern GType ags_soundcard_get_type (void);
+extern GType ags_stackable_get_type (void);
+extern GType ags_start_devout_get_type (void);
+extern GType ags_stream_audio_signal_get_type (void);
+extern GType ags_stream_channel_get_type (void);
+extern GType ags_stream_channel_run_get_type (void);
+extern GType ags_stream_get_type (void);
+extern GType ags_stream_recycling_get_type (void);
+extern GType ags_synth_get_type (void);
+extern GType ags_synth_input_line_get_type (void);
+extern GType ags_synth_input_pad_get_type (void);
+extern GType ags_table_get_type (void);
+extern GType ags_tactable_get_type (void);
+extern GType ags_task_get_type (void);
+extern GType ags_task_thread_get_type (void);
+extern GType ags_thread_get_type (void);
+extern GType ags_thread_get_type (void);
+extern GType ags_thread_pool_get_type (void);
+extern GType ags_timestamp_factory_get_type (void);
+extern GType ags_timestamp_get_type (void);
+extern GType ags_timestamp_thread_get_type (void);
+extern GType ags_toggle_led_get_type (void);
+extern GType ags_toggle_pattern_bit_get_type (void);
+extern GType ags_toolbar_get_type (void);
+extern GType ags_tree_iterator_get_type (void);
+extern GType ags_unref_audio_signal_get_type (void);
+extern GType ags_vindicator_get_type (void);
+extern GType ags_volume_audio_signal_get_type (void);
+extern GType ags_volume_channel_get_type (void);
+extern GType ags_volume_channel_run_get_type (void);
+extern GType ags_volume_recycling_get_type (void);
+extern GType ags_waveform_get_type (void);
+extern GType ags_window_get_type (void);
+
+#ifdef GTK_IS_WIDGET_CLASS
+#include <gtk/gtk.h>
+#endif
+GType object_types[255];
+
+static GType *
+get_object_types (void)
+{
+ gpointer g_object_class;
+ gint i = 0;
+ object_types[i++] = ags_add_audio_get_type ();
+ object_types[i++] = ags_add_audio_signal_get_type ();
+ object_types[i++] = ags_add_line_member_get_type ();
+ object_types[i++] = ags_add_note_get_type ();
+ object_types[i++] = ags_add_point_to_selection_get_type ();
+ object_types[i++] = ags_add_recall_get_type ();
+ object_types[i++] = ags_add_region_to_selection_get_type ();
+ object_types[i++] = ags_append_audio_get_type ();
+ object_types[i++] = ags_append_audio_threaded_get_type ();
+ object_types[i++] = ags_append_channel_get_type ();
+ object_types[i++] = ags_append_recall_get_type ();
+ object_types[i++] = ags_applicable_get_type ();
+ object_types[i++] = ags_apply_bpm_get_type ();
+ object_types[i++] = ags_apply_sequencer_length_get_type ();
+ object_types[i++] = ags_apply_synth_get_type ();
+ object_types[i++] = ags_apply_tact_get_type ();
+ object_types[i++] = ags_apply_wavetable_get_type ();
+ object_types[i++] = ags_async_queue_get_type ();
+ object_types[i++] = ags_audio_file_get_type ();
+ object_types[i++] = ags_audio_file_xml_get_type ();
+ object_types[i++] = ags_audio_get_type ();
+ object_types[i++] = ags_audio_loop_get_type ();
+ object_types[i++] = ags_audio_preferences_get_type ();
+ object_types[i++] = ags_audio_set_recycling_get_type ();
+ object_types[i++] = ags_audio_signal_get_type ();
+ object_types[i++] = ags_autosave_thread_get_type ();
+ object_types[i++] = ags_buffer_audio_signal_get_type ();
+ object_types[i++] = ags_buffer_channel_get_type ();
+ object_types[i++] = ags_buffer_channel_run_get_type ();
+ object_types[i++] = ags_buffer_recycling_get_type ();
+ object_types[i++] = ags_cancel_audio_get_type ();
+ object_types[i++] = ags_cancel_channel_get_type ();
+ object_types[i++] = ags_cancel_recall_get_type ();
+ object_types[i++] = ags_cartesian_get_type ();
+ object_types[i++] = ags_change_indicator_get_type ();
+ object_types[i++] = ags_change_tact_get_type ();
+ object_types[i++] = ags_channel_get_type ();
+ object_types[i++] = ags_channel_set_recycling_get_type ();
+ object_types[i++] = ags_clone_channel_get_type ();
+ object_types[i++] = ags_clone_channel_run_get_type ();
+ object_types[i++] = ags_config_get_type ();
+ object_types[i++] = ags_copy_audio_signal_get_type ();
+ object_types[i++] = ags_copy_channel_get_type ();
+ object_types[i++] = ags_copy_channel_run_get_type ();
+ object_types[i++] = ags_copy_notation_audio_get_type ();
+ object_types[i++] = ags_copy_notation_audio_run_get_type ();
+ object_types[i++] = ags_copy_pattern_audio_get_type ();
+ object_types[i++] = ags_copy_pattern_audio_run_get_type ();
+ object_types[i++] = ags_copy_pattern_channel_get_type ();
+ object_types[i++] = ags_copy_pattern_channel_run_get_type ();
+ object_types[i++] = ags_copy_recycling_get_type ();
+ object_types[i++] = ags_count_beats_audio_get_type ();
+ object_types[i++] = ags_count_beats_audio_run_get_type ();
+ object_types[i++] = ags_countable_get_type ();
+ object_types[i++] = ags_delay_audio_get_type ();
+ object_types[i++] = ags_delay_audio_run_get_type ();
+ object_types[i++] = ags_devout_get_type ();
+ object_types[i++] = ags_devout_thread_get_type ();
+ object_types[i++] = ags_dial_get_type ();
+ object_types[i++] = ags_display_tact_get_type ();
+ object_types[i++] = ags_drum_get_type ();
+ object_types[i++] = ags_drum_input_line_get_type ();
+ object_types[i++] = ags_drum_input_pad_get_type ();
+ object_types[i++] = ags_drum_output_line_get_type ();
+ object_types[i++] = ags_drum_output_pad_get_type ();
+ object_types[i++] = ags_dynamic_connectable_get_type ();
+ object_types[i++] = ags_editor_get_type ();
+ object_types[i++] = ags_effect_get_type ();
+ object_types[i++] = ags_expander_get_type ();
+ object_types[i++] = ags_expander_set_get_type ();
+ object_types[i++] = ags_export_output_get_type ();
+ object_types[i++] = ags_export_thread_get_type ();
+ object_types[i++] = ags_export_window_get_type ();
+ object_types[i++] = ags_ffplayer_get_type ();
+ object_types[i++] = ags_file_get_type ();
+ object_types[i++] = ags_file_id_ref_get_type ();
+ object_types[i++] = ags_file_launch_get_type ();
+ object_types[i++] = ags_file_link_get_type ();
+ object_types[i++] = ags_file_lookup_get_type ();
+ object_types[i++] = ags_file_read_get_type ();
+ object_types[i++] = ags_file_selection_get_type ();
+ object_types[i++] = ags_file_value_factory_get_type ();
+ object_types[i++] = ags_file_write_get_type ();
+ object_types[i++] = ags_free_selection_get_type ();
+ object_types[i++] = ags_garbage_collector_get_type ();
+ object_types[i++] = ags_generic_preferences_get_type ();
+ object_types[i++] = ags_gui_task_thread_get_type ();
+ object_types[i++] = ags_gui_thread_get_type ();
+ object_types[i++] = ags_hindicator_get_type ();
+ object_types[i++] = ags_history_get_type ();
+ object_types[i++] = ags_indicator_get_type ();
+ object_types[i++] = ags_init_audio_get_type ();
+ object_types[i++] = ags_init_channel_get_type ();
+ object_types[i++] = ags_inline_player_get_type ();
+ object_types[i++] = ags_input_get_type ();
+ object_types[i++] = ags_ipatch_get_type ();
+ object_types[i++] = ags_ipatch_sf2_reader_get_type ();
+ object_types[i++] = ags_iterator_thread_get_type ();
+ object_types[i++] = ags_ladspa_browser_get_type ();
+ object_types[i++] = ags_ladspa_manager_get_type ();
+ object_types[i++] = ags_led_get_type ();
+ object_types[i++] = ags_libao_get_type ();
+ object_types[i++] = ags_line_editor_get_type ();
+ object_types[i++] = ags_line_get_type ();
+ object_types[i++] = ags_line_member_editor_get_type ();
+ object_types[i++] = ags_line_member_get_type ();
+ object_types[i++] = ags_link_channel_get_type ();
+ object_types[i++] = ags_link_collection_editor_get_type ();
+ object_types[i++] = ags_link_editor_get_type ();
+ object_types[i++] = ags_listing_editor_get_type ();
+ object_types[i++] = ags_loop_channel_get_type ();
+ object_types[i++] = ags_loop_channel_run_get_type ();
+ object_types[i++] = ags_machine_editor_get_type ();
+ object_types[i++] = ags_machine_get_type ();
+ object_types[i++] = ags_machine_radio_button_get_type ();
+ object_types[i++] = ags_machine_selection_get_type ();
+ object_types[i++] = ags_machine_selector_get_type ();
+ object_types[i++] = ags_main_get_type ();
+ object_types[i++] = ags_main_loop_get_type ();
+ object_types[i++] = ags_matrix_get_type ();
+ object_types[i++] = ags_menu_bar_get_type ();
+ object_types[i++] = ags_menu_get_type ();
+ object_types[i++] = ags_menu_item_get_type ();
+ object_types[i++] = ags_meter_get_type ();
+ object_types[i++] = ags_mixer_get_type ();
+ object_types[i++] = ags_mixer_input_line_get_type ();
+ object_types[i++] = ags_mixer_input_pad_get_type ();
+ object_types[i++] = ags_mutable_get_type ();
+ object_types[i++] = ags_mute_audio_get_type ();
+ object_types[i++] = ags_mute_audio_signal_get_type ();
+ object_types[i++] = ags_mute_channel_get_type ();
+ object_types[i++] = ags_mute_channel_run_get_type ();
+ object_types[i++] = ags_mute_recycling_get_type ();
+ object_types[i++] = ags_navigation_get_type ();
+ object_types[i++] = ags_notation_get_type ();
+ object_types[i++] = ags_note_edit_get_type ();
+ object_types[i++] = ags_note_get_type ();
+ object_types[i++] = ags_notebook_get_type ();
+ object_types[i++] = ags_open_file_get_type ();
+ object_types[i++] = ags_open_single_file_get_type ();
+ object_types[i++] = ags_option_menu_get_type ();
+ object_types[i++] = ags_oscillator_get_type ();
+ object_types[i++] = ags_output_get_type ();
+ object_types[i++] = ags_packable_get_type ();
+ object_types[i++] = ags_pad_editor_get_type ();
+ object_types[i++] = ags_pad_get_type ();
+ object_types[i++] = ags_panel_get_type ();
+ object_types[i++] = ags_panel_input_line_get_type ();
+ object_types[i++] = ags_panel_input_pad_get_type ();
+ object_types[i++] = ags_pattern_get_type ();
+ object_types[i++] = ags_peak_channel_get_type ();
+ object_types[i++] = ags_peak_channel_run_get_type ();
+ object_types[i++] = ags_performance_preferences_get_type ();
+ object_types[i++] = ags_persistable_get_type ();
+ object_types[i++] = ags_play_audio_file_get_type ();
+ object_types[i++] = ags_play_audio_get_type ();
+ object_types[i++] = ags_play_audio_signal_get_type ();
+ object_types[i++] = ags_play_channel_get_type ();
+ object_types[i++] = ags_play_channel_run_get_type ();
+ object_types[i++] = ags_play_channel_run_master_get_type ();
+ object_types[i++] = ags_play_notation_audio_get_type ();
+ object_types[i++] = ags_play_notation_audio_run_get_type ();
+ object_types[i++] = ags_play_note_get_type ();
+ object_types[i++] = ags_play_pattern_get_type ();
+ object_types[i++] = ags_play_recycling_get_type ();
+ object_types[i++] = ags_playable_get_type ();
+ object_types[i++] = ags_plugin_factory_get_type ();
+ object_types[i++] = ags_plugin_get_type ();
+ object_types[i++] = ags_plugin_preferences_get_type ();
+ object_types[i++] = ags_port_get_type ();
+ object_types[i++] = ags_portable_thread_get_type ();
+ object_types[i++] = ags_portlet_get_type ();
+ object_types[i++] = ags_preferences_get_type ();
+ object_types[i++] = ags_property_collection_editor_get_type ();
+ object_types[i++] = ags_property_editor_get_type ();
+ object_types[i++] = ags_property_listing_editor_get_type ();
+ object_types[i++] = ags_recall_audio_get_type ();
+ object_types[i++] = ags_recall_audio_run_get_type ();
+ object_types[i++] = ags_recall_audio_signal_get_type ();
+ object_types[i++] = ags_recall_channel_get_type ();
+ object_types[i++] = ags_recall_channel_run_dummy_get_type ();
+ object_types[i++] = ags_recall_channel_run_get_type ();
+ object_types[i++] = ags_recall_container_get_type ();
+ object_types[i++] = ags_recall_dependency_get_type ();
+ object_types[i++] = ags_recall_factory_get_type ();
+ object_types[i++] = ags_recall_get_type ();
+ object_types[i++] = ags_recall_id_get_type ();
+ object_types[i++] = ags_recall_ladspa_get_type ();
+ object_types[i++] = ags_recall_ladspa_run_get_type ();
+ object_types[i++] = ags_recall_recycling_dummy_get_type ();
+ object_types[i++] = ags_recall_recycling_get_type ();
+ object_types[i++] = ags_record_thread_get_type ();
+ object_types[i++] = ags_recycling_container_get_type ();
+ object_types[i++] = ags_recycling_get_type ();
+ object_types[i++] = ags_recycling_thread_get_type ();
+ object_types[i++] = ags_registry_get_type ();
+ object_types[i++] = ags_remote_task_get_type ();
+ object_types[i++] = ags_remove_audio_get_type ();
+ object_types[i++] = ags_remove_audio_signal_get_type ();
+ object_types[i++] = ags_remove_note_get_type ();
+ object_types[i++] = ags_remove_point_from_selection_get_type ();
+ object_types[i++] = ags_remove_recall_get_type ();
+ object_types[i++] = ags_remove_region_from_selection_get_type ();
+ object_types[i++] = ags_returnable_thread_get_type ();
+ object_types[i++] = ags_ruler_get_type ();
+ object_types[i++] = ags_runnable_get_type ();
+ object_types[i++] = ags_save_file_get_type ();
+ object_types[i++] = ags_scroll_on_play_get_type ();
+ object_types[i++] = ags_seekable_get_type ();
+ object_types[i++] = ags_segment_get_type ();
+ object_types[i++] = ags_server_get_type ();
+ object_types[i++] = ags_server_preferences_get_type ();
+ object_types[i++] = ags_set_audio_channels_get_type ();
+ object_types[i++] = ags_set_buffer_size_get_type ();
+ object_types[i++] = ags_set_devout_play_flags_get_type ();
+ object_types[i++] = ags_set_muted_get_type ();
+ object_types[i++] = ags_set_output_device_get_type ();
+ object_types[i++] = ags_set_samplerate_get_type ();
+ object_types[i++] = ags_sf2_chooser_get_type ();
+ object_types[i++] = ags_single_thread_get_type ();
+ object_types[i++] = ags_sndfile_get_type ();
+ object_types[i++] = ags_soundcard_get_type ();
+ object_types[i++] = ags_stackable_get_type ();
+ object_types[i++] = ags_start_devout_get_type ();
+ object_types[i++] = ags_stream_audio_signal_get_type ();
+ object_types[i++] = ags_stream_channel_get_type ();
+ object_types[i++] = ags_stream_channel_run_get_type ();
+ object_types[i++] = ags_stream_get_type ();
+ object_types[i++] = ags_stream_recycling_get_type ();
+ object_types[i++] = ags_synth_get_type ();
+ object_types[i++] = ags_synth_input_line_get_type ();
+ object_types[i++] = ags_synth_input_pad_get_type ();
+ object_types[i++] = ags_table_get_type ();
+ object_types[i++] = ags_tactable_get_type ();
+ object_types[i++] = ags_task_get_type ();
+ object_types[i++] = ags_task_thread_get_type ();
+ object_types[i++] = ags_thread_get_type ();
+ object_types[i++] = ags_thread_get_type ();
+ object_types[i++] = ags_thread_pool_get_type ();
+ object_types[i++] = ags_timestamp_factory_get_type ();
+ object_types[i++] = ags_timestamp_get_type ();
+ object_types[i++] = ags_timestamp_thread_get_type ();
+ object_types[i++] = ags_toggle_led_get_type ();
+ object_types[i++] = ags_toggle_pattern_bit_get_type ();
+ object_types[i++] = ags_toolbar_get_type ();
+ object_types[i++] = ags_tree_iterator_get_type ();
+ object_types[i++] = ags_unref_audio_signal_get_type ();
+ object_types[i++] = ags_vindicator_get_type ();
+ object_types[i++] = ags_volume_audio_signal_get_type ();
+ object_types[i++] = ags_volume_channel_get_type ();
+ object_types[i++] = ags_volume_channel_run_get_type ();
+ object_types[i++] = ags_volume_recycling_get_type ();
+ object_types[i++] = ags_waveform_get_type ();
+ object_types[i++] = ags_window_get_type ();
+ object_types[i] = 0;
+
+ /* reference the GObjectClass to initialize the param spec pool
+ * potentially needed by interfaces. See http://bugs.gnome.org/571820 */
+ g_object_class = g_type_class_ref (G_TYPE_OBJECT);
+
+ /* Need to make sure all the types are loaded in and initialize
+ * their signals and properties.
+ */
+ for (i=0; object_types[i]; i++)
+ {
+ if (G_TYPE_IS_CLASSED (object_types[i]))
+ g_type_class_ref (object_types[i]);
+ if (G_TYPE_IS_INTERFACE (object_types[i]))
+ g_type_default_interface_ref (object_types[i]);
+ }
+
+ g_type_class_unref (g_object_class);
+
+ return object_types;
+}
+
+/*
+ * This uses GObject type functions to output signal prototypes and the object
+ * hierarchy.
+ */
+
+/* The output files */
+const gchar *signals_filename = "./ags.signals.new";
+const gchar *hierarchy_filename = "./ags.hierarchy.new";
+const gchar *interfaces_filename = "./ags.interfaces.new";
+const gchar *prerequisites_filename = "./ags.prerequisites.new";
+const gchar *args_filename = "./ags.args.new";
+
+
+static void output_signals (void);
+static void output_object_signals (FILE *fp,
+ GType object_type);
+static void output_object_signal (FILE *fp,
+ const gchar *object_class_name,
+ guint signal_id);
+static const gchar * get_type_name (GType type,
+ gboolean * is_pointer);
+static void output_object_hierarchy (void);
+static void output_hierarchy (FILE *fp,
+ GType type,
+ guint level);
+
+static void output_object_interfaces (void);
+static void output_interfaces (FILE *fp,
+ GType type);
+
+static void output_interface_prerequisites (void);
+static void output_prerequisites (FILE *fp,
+ GType type);
+
+static void output_args (void);
+static void output_object_args (FILE *fp, GType object_type);
+
+int
+main (int argc, char *argv[])
+{
+ g_type_init(); g_type_class_ref(G_TYPE_OBJECT);
+
+ get_object_types ();
+
+ output_signals ();
+ output_object_hierarchy ();
+ output_object_interfaces ();
+ output_interface_prerequisites ();
+ output_args ();
+
+ return 0;
+}
+
+
+static void
+output_signals (void)
+{
+ FILE *fp;
+ gint i;
+
+ fp = fopen (signals_filename, "w");
+ if (fp == NULL)
+ {
+ g_warning ("Couldn't open output file: %s : %s", signals_filename, g_strerror(errno));
+ return;
+ }
+
+ for (i = 0; object_types[i]; i++)
+ output_object_signals (fp, object_types[i]);
+
+ fclose (fp);
+}
+
+static gint
+compare_signals (const void *a, const void *b)
+{
+ const guint *signal_a = a;
+ const guint *signal_b = b;
+
+ return strcmp (g_signal_name (*signal_a), g_signal_name (*signal_b));
+}
+
+/* This outputs all the signals of one object. */
+static void
+output_object_signals (FILE *fp, GType object_type)
+{
+ const gchar *object_class_name;
+ guint *signals, n_signals;
+ guint sig;
+
+ if (G_TYPE_IS_INSTANTIATABLE (object_type) ||
+ G_TYPE_IS_INTERFACE (object_type))
+ {
+
+ object_class_name = g_type_name (object_type);
+
+ signals = g_signal_list_ids (object_type, &n_signals);
+ qsort (signals, n_signals, sizeof (guint), compare_signals);
+
+ for (sig = 0; sig < n_signals; sig++)
+ {
+ output_object_signal (fp, object_class_name, signals[sig]);
+ }
+ g_free (signals);
+ }
+}
+
+
+/* This outputs one signal. */
+static void
+output_object_signal (FILE *fp,
+ const gchar *object_name,
+ guint signal_id)
+{
+ GSignalQuery query_info;
+ const gchar *type_name, *ret_type, *object_arg, *arg_name;
+ gchar *pos, *object_arg_lower;
+ gboolean is_pointer;
+ gchar buffer[1024];
+ guint i, param;
+ gint param_num, widget_num, event_num, callback_num;
+ gint *arg_num;
+ gchar signal_name[128];
+ gchar flags[16];
+
+ /* g_print ("Object: %s Signal: %u\n", object_name, signal_id);*/
+
+ param_num = 1;
+ widget_num = event_num = callback_num = 0;
+
+ g_signal_query (signal_id, &query_info);
+
+ /* Output the signal object type and the argument name. We assume the
+ type is a pointer - I think that is OK. We remove "Gtk" or "Gnome" and
+ convert to lower case for the argument name. */
+ pos = buffer;
+ sprintf (pos, "%s ", object_name);
+ pos += strlen (pos);
+
+ /* Try to come up with a sensible variable name for the first arg
+ * It chops off 2 know prefixes :/ and makes the name lowercase
+ * It should replace lowercase -> uppercase with '_'
+ * GFileMonitor -> file_monitor
+ * GIOExtensionPoint -> extension_point
+ * GtkTreeView -> tree_view
+ * if 2nd char is upper case too
+ * search for first lower case and go back one char
+ * else
+ * search for next upper case
+ */
+ if (!strncmp (object_name, "Gtk", 3))
+ object_arg = object_name + 3;
+ else if (!strncmp (object_name, "Gnome", 5))
+ object_arg = object_name + 5;
+ else
+ object_arg = object_name;
+
+ object_arg_lower = g_ascii_strdown (object_arg, -1);
+ sprintf (pos, "*%s\n", object_arg_lower);
+ pos += strlen (pos);
+ if (!strncmp (object_arg_lower, "widget", 6))
+ widget_num = 2;
+ g_free(object_arg_lower);
+
+ /* Convert signal name to use underscores rather than dashes '-'. */
+ strncpy (signal_name, query_info.signal_name, 127);
+ signal_name[127] = '\0';
+ for (i = 0; signal_name[i]; i++)
+ {
+ if (signal_name[i] == '-')
+ signal_name[i] = '_';
+ }
+
+ /* Output the signal parameters. */
+ for (param = 0; param < query_info.n_params; param++)
+ {
+ type_name = get_type_name (query_info.param_types[param] & ~G_SIGNAL_TYPE_STATIC_SCOPE, &is_pointer);
+
+ /* Most arguments to the callback are called "arg1", "arg2", etc.
+ GtkWidgets are called "widget", "widget2", ...
+ GtkCallbacks are called "callback", "callback2", ... */
+ if (!strcmp (type_name, "GtkWidget"))
+ {
+ arg_name = "widget";
+ arg_num = &widget_num;
+ }
+ else if (!strcmp (type_name, "GtkCallback")
+ || !strcmp (type_name, "GtkCCallback"))
+ {
+ arg_name = "callback";
+ arg_num = &callback_num;
+ }
+ else
+ {
+ arg_name = "arg";
+ arg_num = ¶m_num;
+ }
+ sprintf (pos, "%s ", type_name);
+ pos += strlen (pos);
+
+ if (!arg_num || *arg_num == 0)
+ sprintf (pos, "%s%s\n", is_pointer ? "*" : " ", arg_name);
+ else
+ sprintf (pos, "%s%s%i\n", is_pointer ? "*" : " ", arg_name,
+ *arg_num);
+ pos += strlen (pos);
+
+ if (arg_num)
+ {
+ if (*arg_num == 0)
+ *arg_num = 2;
+ else
+ *arg_num += 1;
+ }
+ }
+
+ pos = flags;
+ /* We use one-character flags for simplicity. */
+ if (query_info.signal_flags & G_SIGNAL_RUN_FIRST)
+ *pos++ = 'f';
+ if (query_info.signal_flags & G_SIGNAL_RUN_LAST)
+ *pos++ = 'l';
+ if (query_info.signal_flags & G_SIGNAL_RUN_CLEANUP)
+ *pos++ = 'c';
+ if (query_info.signal_flags & G_SIGNAL_NO_RECURSE)
+ *pos++ = 'r';
+ if (query_info.signal_flags & G_SIGNAL_DETAILED)
+ *pos++ = 'd';
+ if (query_info.signal_flags & G_SIGNAL_ACTION)
+ *pos++ = 'a';
+ if (query_info.signal_flags & G_SIGNAL_NO_HOOKS)
+ *pos++ = 'h';
+ *pos = 0;
+
+ /* Output the return type and function name. */
+ ret_type = get_type_name (query_info.return_type & ~G_SIGNAL_TYPE_STATIC_SCOPE, &is_pointer);
+
+ fprintf (fp,
+ "<SIGNAL>\n<NAME>%s::%s</NAME>\n<RETURNS>%s%s</RETURNS>\n<FLAGS>%s</FLAGS>\n%s</SIGNAL>\n\n",
+ object_name, query_info.signal_name, ret_type, is_pointer ? "*" : "", flags, buffer);
+}
+
+
+/* Returns the type name to use for a signal argument or return value, given
+ the GtkType from the signal info. It also sets is_pointer to TRUE if the
+ argument needs a '*' since it is a pointer. */
+static const gchar *
+get_type_name (GType type, gboolean * is_pointer)
+{
+ const gchar *type_name;
+
+ *is_pointer = FALSE;
+ type_name = g_type_name (type);
+
+ switch (type) {
+ case G_TYPE_NONE:
+ case G_TYPE_CHAR:
+ case G_TYPE_UCHAR:
+ case G_TYPE_BOOLEAN:
+ case G_TYPE_INT:
+ case G_TYPE_UINT:
+ case G_TYPE_LONG:
+ case G_TYPE_ULONG:
+ case G_TYPE_FLOAT:
+ case G_TYPE_DOUBLE:
+ case G_TYPE_POINTER:
+ /* These all have normal C type names so they are OK. */
+ return type_name;
+
+ case G_TYPE_STRING:
+ /* A GtkString is really a gchar*. */
+ *is_pointer = TRUE;
+ return "gchar";
+
+ case G_TYPE_ENUM:
+ case G_TYPE_FLAGS:
+ /* We use a gint for both of these. Hopefully a subtype with a decent
+ name will be registered and used instead, as GTK+ does itself. */
+ return "gint";
+
+ case G_TYPE_BOXED:
+ /* The boxed type shouldn't be used itself, only subtypes. Though we
+ return 'gpointer' just in case. */
+ return "gpointer";
+
+ case G_TYPE_PARAM:
+ /* A GParam is really a GParamSpec*. */
+ *is_pointer = TRUE;
+ return "GParamSpec";
+
+#if GLIB_CHECK_VERSION (2, 25, 9)
+ case G_TYPE_VARIANT:
+ *is_pointer = TRUE;
+ return "GVariant";
+#endif
+
+default:
+ break;
+ }
+
+ /* For all GObject subclasses we can use the class name with a "*",
+ e.g. 'GtkWidget *'. */
+ if (g_type_is_a (type, G_TYPE_OBJECT))
+ *is_pointer = TRUE;
+
+ /* Also catch non GObject root types */
+ if (G_TYPE_IS_CLASSED (type))
+ *is_pointer = TRUE;
+
+ /* All boxed subtypes will be pointers as well. */
+ /* Exception: GStrv */
+ if (g_type_is_a (type, G_TYPE_BOXED) &&
+ !g_type_is_a (type, G_TYPE_STRV))
+ *is_pointer = TRUE;
+
+ /* All pointer subtypes will be pointers as well. */
+ if (g_type_is_a (type, G_TYPE_POINTER))
+ *is_pointer = TRUE;
+
+ /* But enums are not */
+ if (g_type_is_a (type, G_TYPE_ENUM) ||
+ g_type_is_a (type, G_TYPE_FLAGS))
+ *is_pointer = FALSE;
+
+ return type_name;
+}
+
+
+/* This outputs the hierarchy of all objects which have been initialized,
+ i.e. by calling their XXX_get_type() initialization function. */
+static void
+output_object_hierarchy (void)
+{
+ FILE *fp;
+ gint i,j;
+ GType root, type;
+ GType root_types[255] = { G_TYPE_INVALID, };
+
+ fp = fopen (hierarchy_filename, "w");
+ if (fp == NULL)
+ {
+ g_warning ("Couldn't open output file: %s : %s", hierarchy_filename, g_strerror(errno));
+ return;
+ }
+ output_hierarchy (fp, G_TYPE_OBJECT, 0);
+ output_hierarchy (fp, G_TYPE_INTERFACE, 0);
+
+ for (i=0; object_types[i]; i++) {
+ root = object_types[i];
+ while ((type = g_type_parent (root))) {
+ root = type;
+ }
+ if ((root != G_TYPE_OBJECT) && (root != G_TYPE_INTERFACE)) {
+ for (j=0; root_types[j]; j++) {
+ if (root == root_types[j]) {
+ root = G_TYPE_INVALID; break;
+ }
+ }
+ if(root) {
+ root_types[j] = root;
+ output_hierarchy (fp, root, 0);
+ }
+ }
+ }
+
+ fclose (fp);
+}
+
+/* This is called recursively to output the hierarchy of a object. */
+static void
+output_hierarchy (FILE *fp,
+ GType type,
+ guint level)
+{
+ guint i;
+ GType *children;
+ guint n_children;
+
+ if (!type)
+ return;
+
+ for (i = 0; i < level; i++)
+ fprintf (fp, " ");
+ fprintf (fp, "%s\n", g_type_name (type));
+
+ children = g_type_children (type, &n_children);
+
+ for (i=0; i < n_children; i++)
+ output_hierarchy (fp, children[i], level + 1);
+
+ g_free (children);
+}
+
+static void output_object_interfaces (void)
+{
+ guint i;
+ FILE *fp;
+
+ fp = fopen (interfaces_filename, "w");
+ if (fp == NULL)
+ {
+ g_warning ("Couldn't open output file: %s : %s", interfaces_filename, g_strerror(errno));
+ return;
+ }
+ output_interfaces (fp, G_TYPE_OBJECT);
+
+ for (i = 0; object_types[i]; i++)
+ {
+ if (!g_type_parent (object_types[i]) &&
+ (object_types[i] != G_TYPE_OBJECT) &&
+ G_TYPE_IS_INSTANTIATABLE (object_types[i]))
+ {
+ output_interfaces (fp, object_types[i]);
+ }
+ }
+ fclose (fp);
+}
+
+static void
+output_interfaces (FILE *fp,
+ GType type)
+{
+ guint i;
+ GType *children, *interfaces;
+ guint n_children, n_interfaces;
+
+ if (!type)
+ return;
+
+ interfaces = g_type_interfaces (type, &n_interfaces);
+
+ if (n_interfaces > 0)
+ {
+ fprintf (fp, "%s", g_type_name (type));
+ for (i=0; i < n_interfaces; i++)
+ fprintf (fp, " %s", g_type_name (interfaces[i]));
+ fprintf (fp, "\n");
+ }
+ g_free (interfaces);
+
+ children = g_type_children (type, &n_children);
+
+ for (i=0; i < n_children; i++)
+ output_interfaces (fp, children[i]);
+
+ g_free (children);
+}
+
+static void output_interface_prerequisites (void)
+{
+ FILE *fp;
+
+ fp = fopen (prerequisites_filename, "w");
+ if (fp == NULL)
+ {
+ g_warning ("Couldn't open output file: %s : %s", prerequisites_filename, g_strerror(errno));
+ return;
+ }
+ output_prerequisites (fp, G_TYPE_INTERFACE);
+ fclose (fp);
+}
+
+static void
+output_prerequisites (FILE *fp,
+ GType type)
+{
+#if GLIB_CHECK_VERSION(2,1,0)
+ guint i;
+ GType *children, *prerequisites;
+ guint n_children, n_prerequisites;
+
+ if (!type)
+ return;
+
+ prerequisites = g_type_interface_prerequisites (type, &n_prerequisites);
+
+ if (n_prerequisites > 0)
+ {
+ fprintf (fp, "%s", g_type_name (type));
+ for (i=0; i < n_prerequisites; i++)
+ fprintf (fp, " %s", g_type_name (prerequisites[i]));
+ fprintf (fp, "\n");
+ }
+ g_free (prerequisites);
+
+ children = g_type_children (type, &n_children);
+
+ for (i=0; i < n_children; i++)
+ output_prerequisites (fp, children[i]);
+
+ g_free (children);
+#endif
+}
+
+static void
+output_args (void)
+{
+ FILE *fp;
+ gint i;
+
+ fp = fopen (args_filename, "w");
+ if (fp == NULL)
+ {
+ g_warning ("Couldn't open output file: %s : %s", args_filename, g_strerror(errno));
+ return;
+ }
+
+ for (i = 0; object_types[i]; i++) {
+ output_object_args (fp, object_types[i]);
+ }
+
+ fclose (fp);
+}
+
+static gint
+compare_param_specs (const void *a, const void *b)
+{
+ GParamSpec *spec_a = *(GParamSpec **)a;
+ GParamSpec *spec_b = *(GParamSpec **)b;
+
+ return strcmp (g_param_spec_get_name (spec_a), g_param_spec_get_name (spec_b));
+}
+
+/* Its common to have unsigned properties restricted
+ * to the signed range. Therefore we make this look
+ * a bit nicer by spelling out the max constants.
+ */
+
+/* Don't use "==" with floats, it might trigger a gcc warning. */
+#define GTKDOC_COMPARE_FLOAT(x, y) (x <= y && x >= y)
+
+static gchar*
+describe_double_constant (gdouble value)
+{
+ gchar *desc;
+
+ if (GTKDOC_COMPARE_FLOAT (value, G_MAXDOUBLE))
+ desc = g_strdup ("G_MAXDOUBLE");
+ else if (GTKDOC_COMPARE_FLOAT (value, G_MINDOUBLE))
+ desc = g_strdup ("G_MINDOUBLE");
+ else if (GTKDOC_COMPARE_FLOAT (value, -G_MAXDOUBLE))
+ desc = g_strdup ("-G_MAXDOUBLE");
+ else if (GTKDOC_COMPARE_FLOAT (value, G_MAXFLOAT))
+ desc = g_strdup ("G_MAXFLOAT");
+ else if (GTKDOC_COMPARE_FLOAT (value, G_MINFLOAT))
+ desc = g_strdup ("G_MINFLOAT");
+ else if (GTKDOC_COMPARE_FLOAT (value, -G_MAXFLOAT))
+ desc = g_strdup ("-G_MAXFLOAT");
+ else{
+ /* make sure floats are output with a decimal dot irrespective of
+ * current locale. Use formatd since we want human-readable numbers
+ * and do not need the exact same bit representation when deserialising */
+ desc = g_malloc0 (G_ASCII_DTOSTR_BUF_SIZE);
+ g_ascii_formatd (desc, G_ASCII_DTOSTR_BUF_SIZE, "%g", value);
+ }
+
+ return desc;
+}
+
+static gchar*
+describe_signed_constant (gsize size, gint64 value)
+{
+ gchar *desc = NULL;
+
+ switch (size) {
+ case 2:
+ if (sizeof (int) == 2) {
+ if (value == G_MAXINT)
+ desc = g_strdup ("G_MAXINT");
+ else if (value == G_MININT)
+ desc = g_strdup ("G_MININT");
+ else if (value == (gint64)G_MAXUINT)
+ desc = g_strdup ("G_MAXUINT");
+ }
+ break;
+ case 4:
+ if (sizeof (int) == 4) {
+ if (value == G_MAXINT)
+ desc = g_strdup ("G_MAXINT");
+ else if (value == G_MININT)
+ desc = g_strdup ("G_MININT");
+ else if (value == (gint64)G_MAXUINT)
+ desc = g_strdup ("G_MAXUINT");
+ }
+ if (value == G_MAXLONG)
+ desc = g_strdup ("G_MAXLONG");
+ else if (value == G_MINLONG)
+ desc = g_strdup ("G_MINLONG");
+ else if (value == (gint64)G_MAXULONG)
+ desc = g_strdup ("G_MAXULONG");
+ break;
+ case 8:
+ if (value == G_MAXINT64)
+ desc = g_strdup ("G_MAXINT64");
+ else if (value == G_MININT64)
+ desc = g_strdup ("G_MININT64");
+ break;
+ default:
+ break;
+ }
+ if (!desc)
+ desc = g_strdup_printf ("%" G_GINT64_FORMAT, value);
+
+ return desc;
+}
+
+static gchar*
+describe_unsigned_constant (gsize size, guint64 value)
+{
+ gchar *desc = NULL;
+
+ switch (size) {
+ case 2:
+ if (sizeof (int) == 2) {
+ if (value == (guint64)G_MAXINT)
+ desc = g_strdup ("G_MAXINT");
+ else if (value == G_MAXUINT)
+ desc = g_strdup ("G_MAXUINT");
+ }
+ break;
+ case 4:
+ if (sizeof (int) == 4) {
+ if (value == (guint64)G_MAXINT)
+ desc = g_strdup ("G_MAXINT");
+ else if (value == G_MAXUINT)
+ desc = g_strdup ("G_MAXUINT");
+ }
+ if (value == (guint64)G_MAXLONG)
+ desc = g_strdup ("G_MAXLONG");
+ else if (value == G_MAXULONG)
+ desc = g_strdup ("G_MAXULONG");
+ break;
+ case 8:
+ if (value == G_MAXINT64)
+ desc = g_strdup ("G_MAXINT64");
+ else if (value == G_MAXUINT64)
+ desc = g_strdup ("G_MAXUINT64");
+ break;
+ default:
+ break;
+ }
+ if (!desc)
+ desc = g_strdup_printf ("%" G_GUINT64_FORMAT, value);
+
+ return desc;
+}
+
+static gchar*
+describe_type (GParamSpec *spec)
+{
+ gchar *desc;
+ gchar *lower;
+ gchar *upper;
+
+ if (G_IS_PARAM_SPEC_CHAR (spec))
+ {
+ GParamSpecChar *pspec = G_PARAM_SPEC_CHAR (spec);
+
+ lower = describe_signed_constant (sizeof(gchar), pspec->minimum);
+ upper = describe_signed_constant (sizeof(gchar), pspec->maximum);
+ if (pspec->minimum == G_MININT8 && pspec->maximum == G_MAXINT8)
+ desc = g_strdup ("");
+ else if (pspec->minimum == G_MININT8)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXINT8)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_UCHAR (spec))
+ {
+ GParamSpecUChar *pspec = G_PARAM_SPEC_UCHAR (spec);
+
+ lower = describe_unsigned_constant (sizeof(guchar), pspec->minimum);
+ upper = describe_unsigned_constant (sizeof(guchar), pspec->maximum);
+ if (pspec->minimum == 0 && pspec->maximum == G_MAXUINT8)
+ desc = g_strdup ("");
+ else if (pspec->minimum == 0)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXUINT8)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_INT (spec))
+ {
+ GParamSpecInt *pspec = G_PARAM_SPEC_INT (spec);
+
+ lower = describe_signed_constant (sizeof(gint), pspec->minimum);
+ upper = describe_signed_constant (sizeof(gint), pspec->maximum);
+ if (pspec->minimum == G_MININT && pspec->maximum == G_MAXINT)
+ desc = g_strdup ("");
+ else if (pspec->minimum == G_MININT)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXINT)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_UINT (spec))
+ {
+ GParamSpecUInt *pspec = G_PARAM_SPEC_UINT (spec);
+
+ lower = describe_unsigned_constant (sizeof(guint), pspec->minimum);
+ upper = describe_unsigned_constant (sizeof(guint), pspec->maximum);
+ if (pspec->minimum == 0 && pspec->maximum == G_MAXUINT)
+ desc = g_strdup ("");
+ else if (pspec->minimum == 0)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXUINT)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_LONG (spec))
+ {
+ GParamSpecLong *pspec = G_PARAM_SPEC_LONG (spec);
+
+ lower = describe_signed_constant (sizeof(glong), pspec->minimum);
+ upper = describe_signed_constant (sizeof(glong), pspec->maximum);
+ if (pspec->minimum == G_MINLONG && pspec->maximum == G_MAXLONG)
+ desc = g_strdup ("");
+ else if (pspec->minimum == G_MINLONG)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXLONG)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_ULONG (spec))
+ {
+ GParamSpecULong *pspec = G_PARAM_SPEC_ULONG (spec);
+
+ lower = describe_unsigned_constant (sizeof(gulong), pspec->minimum);
+ upper = describe_unsigned_constant (sizeof(gulong), pspec->maximum);
+ if (pspec->minimum == 0 && pspec->maximum == G_MAXULONG)
+ desc = g_strdup ("");
+ else if (pspec->minimum == 0)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXULONG)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_INT64 (spec))
+ {
+ GParamSpecInt64 *pspec = G_PARAM_SPEC_INT64 (spec);
+
+ lower = describe_signed_constant (sizeof(gint64), pspec->minimum);
+ upper = describe_signed_constant (sizeof(gint64), pspec->maximum);
+ if (pspec->minimum == G_MININT64 && pspec->maximum == G_MAXINT64)
+ desc = g_strdup ("");
+ else if (pspec->minimum == G_MININT64)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXINT64)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_UINT64 (spec))
+ {
+ GParamSpecUInt64 *pspec = G_PARAM_SPEC_UINT64 (spec);
+
+ lower = describe_unsigned_constant (sizeof(guint64), pspec->minimum);
+ upper = describe_unsigned_constant (sizeof(guint64), pspec->maximum);
+ if (pspec->minimum == 0 && pspec->maximum == G_MAXUINT64)
+ desc = g_strdup ("");
+ else if (pspec->minimum == 0)
+ desc = g_strdup_printf ("<= %s", upper);
+ else if (pspec->maximum == G_MAXUINT64)
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_FLOAT (spec))
+ {
+ GParamSpecFloat *pspec = G_PARAM_SPEC_FLOAT (spec);
+
+ lower = describe_double_constant (pspec->minimum);
+ upper = describe_double_constant (pspec->maximum);
+ if (GTKDOC_COMPARE_FLOAT (pspec->minimum, -G_MAXFLOAT))
+ {
+ if (GTKDOC_COMPARE_FLOAT (pspec->maximum, G_MAXFLOAT))
+ desc = g_strdup ("");
+ else
+ desc = g_strdup_printf ("<= %s", upper);
+ }
+ else if (GTKDOC_COMPARE_FLOAT (pspec->maximum, G_MAXFLOAT))
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+ else if (G_IS_PARAM_SPEC_DOUBLE (spec))
+ {
+ GParamSpecDouble *pspec = G_PARAM_SPEC_DOUBLE (spec);
+
+ lower = describe_double_constant (pspec->minimum);
+ upper = describe_double_constant (pspec->maximum);
+ if (GTKDOC_COMPARE_FLOAT (pspec->minimum, -G_MAXDOUBLE))
+ {
+ if (GTKDOC_COMPARE_FLOAT (pspec->maximum, G_MAXDOUBLE))
+ desc = g_strdup ("");
+ else
+ desc = g_strdup_printf ("<= %s", upper);
+ }
+ else if (GTKDOC_COMPARE_FLOAT (pspec->maximum, G_MAXDOUBLE))
+ desc = g_strdup_printf (">= %s", lower);
+ else
+ desc = g_strdup_printf ("[%s,%s]", lower, upper);
+ g_free (lower);
+ g_free (upper);
+ }
+#if GLIB_CHECK_VERSION (2, 12, 0)
+ else if (G_IS_PARAM_SPEC_GTYPE (spec))
+ {
+ GParamSpecGType *pspec = G_PARAM_SPEC_GTYPE (spec);
+ gboolean is_pointer;
+
+ desc = g_strdup (get_type_name (pspec->is_a_type, &is_pointer));
+ }
+#endif
+#if GLIB_CHECK_VERSION (2, 25, 9)
+ else if (G_IS_PARAM_SPEC_VARIANT (spec))
+ {
+ GParamSpecVariant *pspec = G_PARAM_SPEC_VARIANT (spec);
+ gchar *variant_type;
+
+ variant_type = g_variant_type_dup_string (pspec->type);
+ desc = g_strdup_printf ("GVariant<%s>", variant_type);
+ g_free (variant_type);
+ }
+#endif
+ else
+ {
+ desc = g_strdup ("");
+ }
+
+ return desc;
+}
+
+static gchar*
+describe_default (GParamSpec *spec)
+{
+ gchar *desc;
+
+ if (G_IS_PARAM_SPEC_CHAR (spec))
+ {
+ GParamSpecChar *pspec = G_PARAM_SPEC_CHAR (spec);
+
+ desc = g_strdup_printf ("%d", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_UCHAR (spec))
+ {
+ GParamSpecUChar *pspec = G_PARAM_SPEC_UCHAR (spec);
+
+ desc = g_strdup_printf ("%u", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_BOOLEAN (spec))
+ {
+ GParamSpecBoolean *pspec = G_PARAM_SPEC_BOOLEAN (spec);
+
+ desc = g_strdup_printf ("%s", pspec->default_value ? "TRUE" : "FALSE");
+ }
+ else if (G_IS_PARAM_SPEC_INT (spec))
+ {
+ GParamSpecInt *pspec = G_PARAM_SPEC_INT (spec);
+
+ desc = g_strdup_printf ("%d", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_UINT (spec))
+ {
+ GParamSpecUInt *pspec = G_PARAM_SPEC_UINT (spec);
+
+ desc = g_strdup_printf ("%u", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_LONG (spec))
+ {
+ GParamSpecLong *pspec = G_PARAM_SPEC_LONG (spec);
+
+ desc = g_strdup_printf ("%ld", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_LONG (spec))
+ {
+ GParamSpecULong *pspec = G_PARAM_SPEC_ULONG (spec);
+
+ desc = g_strdup_printf ("%lu", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_INT64 (spec))
+ {
+ GParamSpecInt64 *pspec = G_PARAM_SPEC_INT64 (spec);
+
+ desc = g_strdup_printf ("%" G_GINT64_FORMAT, pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_UINT64 (spec))
+ {
+ GParamSpecUInt64 *pspec = G_PARAM_SPEC_UINT64 (spec);
+
+ desc = g_strdup_printf ("%" G_GUINT64_FORMAT, pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_UNICHAR (spec))
+ {
+ GParamSpecUnichar *pspec = G_PARAM_SPEC_UNICHAR (spec);
+
+ if (g_unichar_isprint (pspec->default_value))
+ desc = g_strdup_printf ("'%c'", pspec->default_value);
+ else
+ desc = g_strdup_printf ("%u", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_ENUM (spec))
+ {
+ GParamSpecEnum *pspec = G_PARAM_SPEC_ENUM (spec);
+
+ GEnumValue *value = g_enum_get_value (pspec->enum_class, pspec->default_value);
+ if (value)
+ desc = g_strdup_printf ("%s", value->value_name);
+ else
+ desc = g_strdup_printf ("%d", pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_FLAGS (spec))
+ {
+ GParamSpecFlags *pspec = G_PARAM_SPEC_FLAGS (spec);
+ guint default_value;
+ GString *acc;
+
+ default_value = pspec->default_value;
+ acc = g_string_new ("");
+
+ while (default_value)
+ {
+ GFlagsValue *value = g_flags_get_first_value (pspec->flags_class, default_value);
+
+ if (!value)
+ break;
+
+ if (acc->len > 0)
+ g_string_append (acc, "|");
+ g_string_append (acc, value->value_name);
+
+ default_value &= ~value->value;
+ }
+
+ if (default_value == 0)
+ desc = g_string_free (acc, FALSE);
+ else
+ {
+ desc = g_strdup_printf ("%d", pspec->default_value);
+ g_string_free (acc, TRUE);
+ }
+ }
+ else if (G_IS_PARAM_SPEC_FLOAT (spec))
+ {
+ GParamSpecFloat *pspec = G_PARAM_SPEC_FLOAT (spec);
+
+ /* make sure floats are output with a decimal dot irrespective of
+ * current locale. Use formatd since we want human-readable numbers
+ * and do not need the exact same bit representation when deserialising */
+ desc = g_malloc0 (G_ASCII_DTOSTR_BUF_SIZE);
+ g_ascii_formatd (desc, G_ASCII_DTOSTR_BUF_SIZE, "%g",
+ pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_DOUBLE (spec))
+ {
+ GParamSpecDouble *pspec = G_PARAM_SPEC_DOUBLE (spec);
+
+ /* make sure floats are output with a decimal dot irrespective of
+ * current locale. Use formatd since we want human-readable numbers
+ * and do not need the exact same bit representation when deserialising */
+ desc = g_malloc0 (G_ASCII_DTOSTR_BUF_SIZE);
+ g_ascii_formatd (desc, G_ASCII_DTOSTR_BUF_SIZE, "%g",
+ pspec->default_value);
+ }
+ else if (G_IS_PARAM_SPEC_STRING (spec))
+ {
+ GParamSpecString *pspec = G_PARAM_SPEC_STRING (spec);
+
+ if (pspec->default_value)
+ {
+ gchar *esc = g_strescape (pspec->default_value, NULL);
+
+ desc = g_strdup_printf ("\"%s\"", esc);
+
+ g_free (esc);
+ }
+ else
+ desc = g_strdup_printf ("NULL");
+ }
+#if GLIB_CHECK_VERSION (2, 25, 9)
+ else if (G_IS_PARAM_SPEC_VARIANT (spec))
+ {
+ GParamSpecVariant *pspec = G_PARAM_SPEC_VARIANT (spec);
+
+ if (pspec->default_value)
+ desc = g_variant_print (pspec->default_value, TRUE);
+ else
+ desc = g_strdup ("NULL");
+ }
+#endif
+ else
+ {
+ desc = g_strdup ("");
+ }
+
+ return desc;
+}
+
+
+static void
+output_object_args (FILE *fp, GType object_type)
+{
+ gpointer class;
+ const gchar *object_class_name;
+ guint arg;
+ gchar flags[16], *pos;
+ GParamSpec **properties;
+ guint n_properties;
+ gboolean child_prop;
+ gboolean style_prop;
+ gboolean is_pointer;
+ const gchar *type_name;
+ gchar *type_desc;
+ gchar *default_value;
+
+ if (G_TYPE_IS_OBJECT (object_type))
+ {
+ class = g_type_class_peek (object_type);
+ if (!class)
+ return;
+
+ properties = g_object_class_list_properties (class, &n_properties);
+ }
+#if GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 3)
+ else if (G_TYPE_IS_INTERFACE (object_type))
+ {
+ class = g_type_default_interface_ref (object_type);
+
+ if (!class)
+ return;
+
+ properties = g_object_interface_list_properties (class, &n_properties);
+ }
+#endif
+ else
+ return;
+
+ object_class_name = g_type_name (object_type);
+
+ child_prop = FALSE;
+ style_prop = FALSE;
+
+ while (TRUE) {
+ qsort (properties, n_properties, sizeof (GParamSpec *), compare_param_specs);
+ for (arg = 0; arg < n_properties; arg++)
+ {
+ GParamSpec *spec = properties[arg];
+ const gchar *nick, *blurb, *dot;
+
+ if (spec->owner_type != object_type)
+ continue;
+
+ pos = flags;
+ /* We use one-character flags for simplicity. */
+ if (child_prop && !style_prop)
+ *pos++ = 'c';
+ if (style_prop)
+ *pos++ = 's';
+ if (spec->flags & G_PARAM_READABLE)
+ *pos++ = 'r';
+ if (spec->flags & G_PARAM_WRITABLE)
+ *pos++ = 'w';
+ if (spec->flags & G_PARAM_CONSTRUCT)
+ *pos++ = 'x';
+ if (spec->flags & G_PARAM_CONSTRUCT_ONLY)
+ *pos++ = 'X';
+ *pos = 0;
+
+ nick = g_param_spec_get_nick (spec);
+ blurb = g_param_spec_get_blurb (spec);
+
+ dot = "";
+ if (blurb) {
+ int str_len = strlen (blurb);
+ if (str_len > 0 && blurb[str_len - 1] != '.')
+ dot = ".";
+ }
+
+ type_desc = describe_type (spec);
+ default_value = describe_default (spec);
+ type_name = get_type_name (spec->value_type, &is_pointer);
+ fprintf (fp, "<ARG>\n<NAME>%s::%s</NAME>\n<TYPE>%s%s</TYPE>\n<RANGE>%s</RANGE>\n<FLAGS>%s</FLAGS>\n<NICK>%s</NICK>\n<BLURB>%s%s</BLURB>\n<DEFAULT>%s</DEFAULT>\n</ARG>\n\n",
+ object_class_name, g_param_spec_get_name (spec), type_name, is_pointer ? "*" : "", type_desc, flags, nick ? nick : "(null)", blurb ? blurb : "(null)", dot, default_value);
+ g_free (type_desc);
+ g_free (default_value);
+ }
+
+ g_free (properties);
+
+#ifdef GTK_IS_CONTAINER_CLASS
+ if (!child_prop && GTK_IS_CONTAINER_CLASS (class)) {
+ properties = gtk_container_class_list_child_properties (class, &n_properties);
+ child_prop = TRUE;
+ continue;
+ }
+#endif
+
+#ifdef GTK_IS_CELL_AREA_CLASS
+ if (!child_prop && GTK_IS_CELL_AREA_CLASS (class)) {
+ properties = gtk_cell_area_class_list_cell_properties (class, &n_properties);
+ child_prop = TRUE;
+ continue;
+ }
+#endif
+
+#ifdef GTK_IS_WIDGET_CLASS
+#if GTK_CHECK_VERSION(2,1,0)
+ if (!style_prop && GTK_IS_WIDGET_CLASS (class)) {
+ properties = gtk_widget_class_list_style_properties (GTK_WIDGET_CLASS (class), &n_properties);
+ style_prop = TRUE;
+ continue;
+ }
+#endif
+#endif
+
+ break;
+ }
+}
diff --git a/doc/reference/ags/ags-sections.txt b/doc/reference/ags/ags-sections.txt
new file mode 100644
index 0000000..5f52442
--- /dev/null
+++ b/doc/reference/ags/ags-sections.txt
@@ -0,0 +1,5715 @@
+<SECTION>
+<FILE>ags_add_audio</FILE>
+<TITLE>AgsAddAudio</TITLE>
+AgsAddAudio
+AgsAddAudioClass
+ags_add_audio_new
+<SUBSECTION Standard>
+AGS_ADD_AUDIO
+AGS_ADD_AUDIO_CLASS
+AGS_ADD_AUDIO_GET_CLASS
+AGS_IS_ADD_AUDIO
+AGS_IS_ADD_AUDIO_CLASS
+AGS_TYPE_ADD_AUDIO
+ags_add_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_audio_signal</FILE>
+<TITLE>AgsAddAudioSignal</TITLE>
+AgsAddAudioSignal
+AgsAddAudioSignalClass
+ags_add_audio_signal_new
+<SUBSECTION Standard>
+AGS_ADD_AUDIO_SIGNAL
+AGS_ADD_AUDIO_SIGNAL_CLASS
+AGS_ADD_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_ADD_AUDIO_SIGNAL
+AGS_IS_ADD_AUDIO_SIGNAL_CLASS
+AGS_TYPE_ADD_AUDIO_SIGNAL
+ags_add_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_line_member</FILE>
+<TITLE>AgsAddLineMember</TITLE>
+AgsAddLineMember
+AgsAddLineMemberClass
+ags_add_line_member_new
+<SUBSECTION Standard>
+AGS_ADD_LINE_MEMBER
+AGS_ADD_LINE_MEMBER_CLASS
+AGS_ADD_LINE_MEMBER_GET_CLASS
+AGS_IS_ADD_LINE_MEMBER
+AGS_IS_ADD_LINE_MEMBER_CLASS
+AGS_TYPE_ADD_LINE_MEMBER
+ags_add_line_member_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_note</FILE>
+<TITLE>AgsAddNote</TITLE>
+AgsAddNote
+AgsAddNoteClass
+ags_add_note_new
+<SUBSECTION Standard>
+AGS_ADD_NOTE
+AGS_ADD_NOTE_CLASS
+AGS_ADD_NOTE_GET_CLASS
+AGS_IS_ADD_NOTE
+AGS_IS_ADD_NOTE_CLASS
+AGS_TYPE_ADD_NOTE
+ags_add_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_point_to_selection</FILE>
+<TITLE>AgsAddPointToSelection</TITLE>
+AgsAddPointToSelection
+AgsAddPointToSelectionClass
+ags_add_point_to_selection_new
+<SUBSECTION Standard>
+AGS_ADD_POINT_TO_SELECTION
+AGS_ADD_POINT_TO_SELECTION_CLASS
+AGS_ADD_POINT_TO_SELECTION_GET_CLASS
+AGS_IS_ADD_POINT_TO_SELECTION
+AGS_IS_ADD_POINT_TO_SELECTION_CLASS
+AGS_TYPE_ADD_POINT_TO_SELECTION
+ags_add_point_to_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_recall</FILE>
+<TITLE>AgsAddRecall</TITLE>
+AgsAddRecall
+AgsAddRecallClass
+ags_add_recall_new
+<SUBSECTION Standard>
+AGS_ADD_RECALL
+AGS_ADD_RECALL_CLASS
+AGS_ADD_RECALL_GET_CLASS
+AGS_IS_ADD_RECALL
+AGS_IS_ADD_RECALL_CLASS
+AGS_TYPE_ADD_RECALL
+ags_add_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_add_region_to_selection</FILE>
+<TITLE>AgsAddRegionToSelection</TITLE>
+AgsAddRegionToSelection
+AgsAddRegionToSelectionClass
+ags_add_region_to_selection_new
+<SUBSECTION Standard>
+AGS_ADD_REGION_TO_SELECTION
+AGS_ADD_REGION_TO_SELECTION_CLASS
+AGS_ADD_REGION_TO_SELECTION_GET_CLASS
+AGS_IS_ADD_REGION_TO_SELECTION
+AGS_IS_ADD_REGION_TO_SELECTION_CLASS
+AGS_TYPE_ADD_REGION_TO_SELECTION
+ags_add_region_to_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_amplifier</FILE>
+ags_amplifier
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_audio</FILE>
+<TITLE>AgsAppendAudio</TITLE>
+AgsAppendAudio
+AgsAppendAudioClass
+ags_append_audio_new
+<SUBSECTION Standard>
+AGS_APPEND_AUDIO
+AGS_APPEND_AUDIO_CLASS
+AGS_APPEND_AUDIO_GET_CLASS
+AGS_IS_APPEND_AUDIO
+AGS_IS_APPEND_AUDIO_CLASS
+AGS_TYPE_APPEND_AUDIO
+ags_append_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_audio_threaded</FILE>
+<TITLE>AgsAppendAudioThreaded</TITLE>
+AgsAppendAudioThreaded
+AgsAppendAudioThreadedClass
+ags_append_audio_threaded_new
+<SUBSECTION Standard>
+AGS_APPEND_AUDIO_THREADED
+AGS_APPEND_AUDIO_THREADED_CLASS
+AGS_APPEND_AUDIO_THREADED_GET_CLASS
+AGS_IS_APPEND_AUDIO_THREADED
+AGS_IS_APPEND_AUDIO_THREADED_CLASS
+AGS_TYPE_APPEND_AUDIO_THREADED
+ags_append_audio_threaded_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_channel</FILE>
+<TITLE>AgsAppendChannel</TITLE>
+AgsAppendChannel
+AgsAppendChannelClass
+ags_append_channel_new
+<SUBSECTION Standard>
+AGS_APPEND_CHANNEL
+AGS_APPEND_CHANNEL_CLASS
+AGS_APPEND_CHANNEL_GET_CLASS
+AGS_IS_APPEND_CHANNEL
+AGS_IS_APPEND_CHANNEL_CLASS
+AGS_TYPE_APPEND_CHANNEL
+ags_append_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_append_recall</FILE>
+<TITLE>AgsAppendRecall</TITLE>
+AgsAppendRecall
+AgsAppendRecallClass
+ags_append_recall_new
+<SUBSECTION Standard>
+AGS_APPEND_RECALL
+AGS_APPEND_RECALL_CLASS
+AGS_APPEND_RECALL_GET_CLASS
+AGS_IS_APPEND_RECALL
+AGS_IS_APPEND_RECALL_CLASS
+AGS_TYPE_APPEND_RECALL
+ags_append_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_applicable</FILE>
+<TITLE>AgsApplicable</TITLE>
+AgsApplicable
+AgsApplicableInterface
+ags_applicable_apply
+ags_applicable_reset
+ags_applicable_set_update
+<SUBSECTION Standard>
+AGS_APPLICABLE
+AGS_APPLICABLE_GET_INTERFACE
+AGS_APPLICABLE_INTERFACE
+AGS_IS_APPLICABLE
+AGS_IS_APPLICABLE_INTERFACE
+AGS_TYPE_APPLICABLE
+ags_applicable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_bpm</FILE>
+<TITLE>AgsApplyBpm</TITLE>
+AgsApplyBpm
+AgsApplyBpmClass
+ags_apply_bpm_new
+<SUBSECTION Standard>
+AGS_APPLY_BPM
+AGS_APPLY_BPM_CLASS
+AGS_APPLY_BPM_GET_CLASS
+AGS_IS_APPLY_BPM
+AGS_IS_APPLY_BPM_CLASS
+AGS_TYPE_APPLY_BPM
+ags_apply_bpm_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_sequencer_length</FILE>
+<TITLE>AgsApplySequencerLength</TITLE>
+AgsApplySequencerLength
+AgsApplySequencerLengthClass
+ags_apply_sequencer_length_new
+<SUBSECTION Standard>
+AGS_APPLY_SEQUENCER_LENGTH
+AGS_APPLY_SEQUENCER_LENGTH_CLASS
+AGS_APPLY_SEQUENCER_LENGTH_GET_CLASS
+AGS_IS_APPLY_SEQUENCER_LENGTH
+AGS_IS_APPLY_SEQUENCER_LENGTH_CLASS
+AGS_TYPE_APPLY_SEQUENCER_LENGTH
+ags_apply_sequencer_length_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_synth</FILE>
+<TITLE>AgsApplySynth</TITLE>
+AgsApplySynth
+AgsApplySynthClass
+AgsApplySynthWave
+ags_apply_synth_new
+<SUBSECTION Standard>
+AGS_APPLY_SYNTH
+AGS_APPLY_SYNTH_CLASS
+AGS_APPLY_SYNTH_GET_CLASS
+AGS_IS_APPLY_SYNTH
+AGS_IS_APPLY_SYNTH_CLASS
+AGS_TYPE_APPLY_SYNTH
+ags_apply_synth_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_tact</FILE>
+<TITLE>AgsApplyTact</TITLE>
+AgsApplyTact
+AgsApplyTactClass
+ags_apply_tact_new
+<SUBSECTION Standard>
+AGS_APPLY_TACT
+AGS_APPLY_TACT_CLASS
+AGS_APPLY_TACT_GET_CLASS
+AGS_IS_APPLY_TACT
+AGS_IS_APPLY_TACT_CLASS
+AGS_TYPE_APPLY_TACT
+ags_apply_tact_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_apply_wavetable</FILE>
+<TITLE>AgsApplyWavetable</TITLE>
+AgsApplyWavetable
+AgsApplyWavetableClass
+ags_apply_wavetable_new
+<SUBSECTION Standard>
+AGS_APPLY_WAVETABLE
+AGS_APPLY_WAVETABLE_CLASS
+AGS_APPLY_WAVETABLE_GET_CLASS
+AGS_IS_APPLY_WAVETABLE
+AGS_IS_APPLY_WAVETABLE_CLASS
+AGS_TYPE_APPLY_WAVETABLE
+ags_apply_wavetable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_async_queue</FILE>
+<TITLE>AgsAsyncQueue</TITLE>
+AGS_ASYNC_QUEUE_CLOCK_ID
+AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE
+AGS_ASYNC_QUEUE_SIGNAL_HIGH
+AGS_ASYNC_QUEUE_SIGNAL_LOW
+AgsAsyncQueue
+AgsAsyncQueueClass
+AgsAsyncQueueFlags
+AgsContext
+AgsTimer
+ags_async_queue_add
+ags_async_queue_find_context
+ags_async_queue_idle
+ags_async_queue_initerrupt
+ags_async_queue_new
+ags_async_queue_next_interval
+ags_async_queue_pop_context
+ags_async_queue_push_context
+ags_async_queue_remove
+ags_async_queue_worker
+ags_context_alloc
+ags_timer_alloc
+<SUBSECTION Standard>
+AGS_ASYNC_QUEUE
+AGS_ASYNC_QUEUE_CLASS
+AGS_ASYNC_QUEUE_GET_CLASS
+AGS_IS_ASYNC_QUEUE
+AGS_IS_ASYNC_QUEUE_CLASS
+AGS_TYPE_ASYNC_QUEUE
+ags_async_queue_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio</FILE>
+<TITLE>AgsAudio</TITLE>
+AgsAudio
+AgsAudioClass
+AgsAudioFlags
+ags_audio_add_recall
+ags_audio_add_recall_container
+ags_audio_add_recall_id
+ags_audio_cancel
+ags_audio_done
+ags_audio_duplicate_recall
+ags_audio_init_recall
+ags_audio_init_run
+ags_audio_is_playing
+ags_audio_new
+ags_audio_open_files
+ags_audio_play
+ags_audio_recall_change_state
+ags_audio_recursive_play_init
+ags_audio_remove_recall
+ags_audio_remove_recall_container
+ags_audio_remove_recall_id
+ags_audio_resolve_recall
+ags_audio_set_audio_channels
+ags_audio_set_devout
+ags_audio_set_flags
+ags_audio_set_pads
+ags_audio_set_sequence_length
+ags_audio_tact
+ags_audio_unset_flags
+<SUBSECTION Standard>
+AGS_AUDIO
+AGS_AUDIO_CLASS
+AGS_AUDIO_GET_CLASS
+AGS_IS_AUDIO
+AGS_IS_AUDIO_CLASS
+AGS_TYPE_AUDIO
+ags_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_file</FILE>
+<TITLE>AgsAudioFile</TITLE>
+AgsAudioFile
+AgsAudioFileClass
+ags_audio_file_close
+ags_audio_file_flush
+ags_audio_file_new
+ags_audio_file_open
+ags_audio_file_open_from_data
+ags_audio_file_read_audio_signal
+ags_audio_file_rw_open
+ags_audio_file_seek
+ags_audio_file_write
+<SUBSECTION Standard>
+AGS_AUDIO_FILE
+AGS_AUDIO_FILE_CLASS
+AGS_AUDIO_FILE_GET_CLASS
+AGS_IS_AUDIO_FILE
+AGS_IS_AUDIO_FILE_CLASS
+AGS_TYPE_AUDIO_FILE
+ags_audio_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_file_xml</FILE>
+<TITLE>AgsAudioFileXml</TITLE>
+AgsAudioFileXml
+AgsAudioFileXmlClass
+ags_audio_file_xml_new
+<SUBSECTION Standard>
+AGS_AUDIO_FILE_XML
+AGS_AUDIO_FILE_XML_CLASS
+AGS_IS_AUDIO_FILE_XML
+AGS_TYPE_AUDIO_FILE_XML
+ags_audio_file_xml_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_loop</FILE>
+<TITLE>AgsAudioLoop</TITLE>
+AGS_AUDIO_LOOP_DEFAULT_JIFFIE
+AgsAudioLoop
+AgsAudioLoopClass
+AgsAudioLoopFlags
+ags_audio_loop_add_audio
+ags_audio_loop_add_channel
+ags_audio_loop_add_recall
+ags_audio_loop_new
+ags_audio_loop_remove_audio
+ags_audio_loop_remove_channel
+ags_audio_loop_remove_recall
+<SUBSECTION Standard>
+AGS_AUDIO_LOOP
+AGS_AUDIO_LOOP_CLASS
+AGS_AUDIO_LOOP_GET_CLASS
+AGS_IS_AUDIO_LOOP
+AGS_IS_AUDIO_LOOP_CLASS
+AGS_TYPE_AUDIO_LOOP
+ags_audio_loop_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_preferences</FILE>
+<TITLE>AgsAudioPreferences</TITLE>
+AgsAudioPreferences
+AgsAudioPreferencesClass
+ags_audio_preferences_new
+<SUBSECTION Standard>
+AGS_AUDIO_PREFERENCES
+AGS_AUDIO_PREFERENCES_CLASS
+AGS_AUDIO_PREFERENCES_GET_CLASS
+AGS_IS_AUDIO_PREFERENCES
+AGS_IS_AUDIO_PREFERENCES_CLASS
+AGS_TYPE_AUDIO_PREFERENCES
+ags_audio_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_preferences_callbacks</FILE>
+ags_audio_preferences_audio_channels_changed
+ags_audio_preferences_buffer_size_changed
+ags_audio_preferences_card_changed_callback
+ags_audio_preferences_samplerate_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_set_recycling</FILE>
+<TITLE>AgsAudioSetRecycling</TITLE>
+AgsAudioSetRecycling
+AgsAudioSetRecyclingClass
+ags_audio_set_recycling_new
+<SUBSECTION Standard>
+AGS_AUDIO_SET_RECYCLING
+AGS_AUDIO_SET_RECYCLING_CLASS
+AGS_AUDIO_SET_RECYCLING_GET_CLASS
+AGS_IS_AUDIO_SET_RECYCLING
+AGS_IS_AUDIO_SET_RECYCLING_CLASS
+AGS_TYPE_AUDIO_SET_RECYCLING
+ags_audio_set_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_audio_signal</FILE>
+<TITLE>AgsAudioSignal</TITLE>
+AgsAttack
+AgsAttackFlags
+AgsAudioSignal
+AgsAudioSignalClass
+AgsAudioSignalFlags
+ags_audio_signal_add_stream
+ags_audio_signal_copy_buffer_to_buffer
+ags_audio_signal_copy_buffer_to_double_buffer
+ags_audio_signal_copy_double_buffer_to_buffer
+ags_audio_signal_duplicate_stream
+ags_audio_signal_get_by_recall_id
+ags_audio_signal_get_length_till_current
+ags_audio_signal_get_stream_current
+ags_audio_signal_get_template
+ags_audio_signal_morph_samplerate
+ags_audio_signal_new
+ags_audio_signal_new_with_length
+ags_audio_signal_realloc_buffer_size
+ags_audio_signal_scale
+ags_audio_signal_stream_resize
+ags_audio_signal_stream_safe_resize
+ags_audio_signal_tile
+ags_stream_alloc
+<SUBSECTION Standard>
+AGS_AUDIO_SIGNAL
+AGS_AUDIO_SIGNAL_CLASS
+AGS_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_AUDIO_SIGNAL
+AGS_IS_AUDIO_SIGNAL_CLASS
+AGS_TYPE_AUDIO_SIGNAL
+ags_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_autosave_thread</FILE>
+<TITLE>AgsAutosaveThread</TITLE>
+AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME
+AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE
+AgsAutosaveThread
+AgsAutosaveThreadClass
+ags_autosave_thread_new
+<SUBSECTION Standard>
+AGS_AUTOSAVE_THREAD
+AGS_AUTOSAVE_THREAD_CLASS
+AGS_AUTOSAVE_THREAD_GET_CLASS
+AGS_IS_AUTOSAVE_THREAD
+AGS_IS_AUTOSAVE_THREAD_CLASS
+AGS_TYPE_AUTOSAVE_THREAD
+ags_autosave_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_audio_signal</FILE>
+<TITLE>AgsBufferAudioSignal</TITLE>
+AgsBufferAudioSignal
+AgsBufferAudioSignalClass
+ags_buffer_audio_signal_new
+<SUBSECTION Standard>
+AGS_BUFFER_AUDIO_SIGNAL
+AGS_BUFFER_AUDIO_SIGNAL_CLASS
+AGS_BUFFER_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_BUFFER_AUDIO_SIGNAL
+AGS_IS_BUFFER_AUDIO_SIGNAL_CLASS
+AGS_TYPE_BUFFER_AUDIO_SIGNAL
+ags_buffer_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_channel</FILE>
+<TITLE>AgsBufferChannel</TITLE>
+AgsBufferChannel
+AgsBufferChannelClass
+ags_buffer_channel_new
+<SUBSECTION Standard>
+AGS_BUFFER_CHANNEL
+AGS_BUFFER_CHANNEL_CLASS
+AGS_BUFFER_CHANNEL_GET_CLASS
+AGS_IS_BUFFER_CHANNEL
+AGS_IS_BUFFER_CHANNEL_CLASS
+AGS_TYPE_BUFFER_CHANNEL
+ags_buffer_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_channel_run</FILE>
+<TITLE>AgsBufferChannelRun</TITLE>
+AgsBufferChannelRun
+AgsBufferChannelRunClass
+ags_buffer_channel_run_new
+<SUBSECTION Standard>
+AGS_BUFFER_CHANNEL_RUN
+AGS_BUFFER_CHANNEL_RUN_CLASS
+AGS_BUFFER_CHANNEL_RUN_GET_CLASS
+AGS_IS_BUFFER_CHANNEL_RUN
+AGS_IS_BUFFER_CHANNEL_RUN_CLASS
+AGS_TYPE_BUFFER_CHANNEL_RUN
+ags_buffer_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_buffer_recycling</FILE>
+<TITLE>AgsBufferRecycling</TITLE>
+AgsBufferRecycling
+AgsBufferRecyclingClass
+ags_buffer_recycling_new
+<SUBSECTION Standard>
+AGS_BUFFER_RECYCLING
+AGS_BUFFER_RECYCLING_CLASS
+AGS_BUFFER_RECYCLING_GET_CLASS
+AGS_IS_BUFFER_RECYCLING
+AGS_IS_BUFFER_RECYCLING_CLASS
+AGS_TYPE_BUFFER_RECYCLING
+ags_buffer_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cancel_audio</FILE>
+<TITLE>AgsCancelAudio</TITLE>
+AgsCancelAudio
+AgsCancelAudioClass
+ags_cancel_audio_new
+<SUBSECTION Standard>
+AGS_CANCEL_AUDIO
+AGS_CANCEL_AUDIO_CLASS
+AGS_CANCEL_AUDIO_GET_CLASS
+AGS_IS_CANCEL_AUDIO
+AGS_IS_CANCEL_AUDIO_CLASS
+AGS_TYPE_CANCEL_AUDIO
+ags_cancel_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cancel_channel</FILE>
+<TITLE>AgsCancelChannel</TITLE>
+AgsCancelChannel
+AgsCancelChannelClass
+ags_cancel_channel_new
+<SUBSECTION Standard>
+AGS_CANCEL_CHANNEL
+AGS_CANCEL_CHANNEL_CLASS
+AGS_CANCEL_CHANNEL_GET_CLASS
+AGS_IS_CANCEL_CHANNEL
+AGS_IS_CANCEL_CHANNEL_CLASS
+AGS_TYPE_CANCEL_CHANNEL
+ags_cancel_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cancel_recall</FILE>
+<TITLE>AgsCancelRecall</TITLE>
+AgsCancelRecall
+AgsCancelRecallClass
+ags_cancel_recall_new
+<SUBSECTION Standard>
+AGS_CANCEL_RECALL
+AGS_CANCEL_RECALL_CLASS
+AGS_CANCEL_RECALL_GET_CLASS
+AGS_IS_CANCEL_RECALL
+AGS_IS_CANCEL_RECALL_CLASS
+AGS_TYPE_CANCEL_RECALL
+ags_cancel_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_cartesian</FILE>
+<TITLE>AgsCartesian</TITLE>
+AgsCartesian
+AgsCartesianClass
+ags_cartesian_new
+<SUBSECTION Standard>
+AGS_CARTESIAN
+AGS_CARTESIAN_CLASS
+AGS_CARTESIAN_GET_CLASS
+AGS_IS_CARTESIAN
+AGS_IS_CARTESIAN_CLASS
+AGS_TYPE_CARTESIAN
+ags_cartesian_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_change_indicator</FILE>
+<TITLE>AgsChangeIndicator</TITLE>
+AgsChangeIndicator
+AgsChangeIndicatorClass
+ags_change_indicator_new
+<SUBSECTION Standard>
+AGS_CHANGE_INDICATOR
+AGS_CHANGE_INDICATOR_CLASS
+AGS_CHANGE_INDICATOR_GET_CLASS
+AGS_IS_CHANGE_INDICATOR
+AGS_IS_CHANGE_INDICATOR_CLASS
+AGS_TYPE_CHANGE_INDICATOR
+ags_change_indicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_change_tact</FILE>
+<TITLE>AgsChangeTact</TITLE>
+AgsChangeTact
+AgsChangeTactClass
+ags_change_tact_new
+<SUBSECTION Standard>
+AGS_CHANGE_TACT
+AGS_CHANGE_TACT_CLASS
+AGS_CHANGE_TACT_GET_CLASS
+AGS_IS_CHANGE_TACT
+AGS_IS_CHANGE_TACT_CLASS
+AGS_TYPE_CHANGE_TACT
+ags_change_tact_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_channel</FILE>
+<TITLE>AgsChannel</TITLE>
+AGS_CHANNEL_ERROR
+AgsChannel
+AgsChannelClass
+AgsChannelError
+AgsChannelFlags
+AgsChannelRecallIDMode
+ags_channel_add_recall
+ags_channel_add_recall_container
+ags_channel_add_recall_id
+ags_channel_cancel
+ags_channel_done
+ags_channel_duplicate_recall
+ags_channel_error_quark
+ags_channel_find_recall
+ags_channel_first
+ags_channel_first_with_recycling
+ags_channel_init_recall
+ags_channel_last
+ags_channel_last_with_recycling
+ags_channel_new
+ags_channel_nth
+ags_channel_pad_first
+ags_channel_pad_last
+ags_channel_pad_nth
+ags_channel_play
+ags_channel_recall_id_set
+ags_channel_recursive_play
+ags_channel_recursive_play_init
+ags_channel_recursive_play_threaded
+ags_channel_recursive_reset_recall_ids
+ags_channel_recycling_changed
+ags_channel_remove_recall
+ags_channel_remove_recall_id
+ags_channel_resolve_recall
+ags_channel_safe_resize_audio_signal
+ags_channel_set_devout
+ags_channel_set_link
+ags_channel_set_recycling
+ags_channel_tillrecycling_cancel
+<SUBSECTION Standard>
+AGS_CHANNEL
+AGS_CHANNEL_CLASS
+AGS_CHANNEL_GET_CLASS
+AGS_IS_CHANNEL
+AGS_IS_CHANNEL_CLASS
+AGS_TYPE_CHANNEL
+ags_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_channel_iter</FILE>
+AgsChannelIter
+AgsChannelIterFlags
+ags_channel_iter_alloc
+ags_channel_iter_free
+ags_channel_iter_next
+ags_channel_iter_prev
+</SECTION>
+
+<SECTION>
+<FILE>ags_channel_set_recycling</FILE>
+<TITLE>AgsChannelSetRecycling</TITLE>
+AgsChannelSetRecycling
+AgsChannelSetRecyclingClass
+ags_channel_set_recycling_new
+<SUBSECTION Standard>
+AGS_CHANNEL_SET_RECYCLING
+AGS_CHANNEL_SET_RECYCLING_CLASS
+AGS_CHANNEL_SET_RECYCLING_GET_CLASS
+AGS_IS_CHANNEL_SET_RECYCLING
+AGS_IS_CHANNEL_SET_RECYCLING_CLASS
+AGS_TYPE_CHANNEL_SET_RECYCLING
+ags_channel_set_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_clone_channel</FILE>
+<TITLE>AgsCloneChannel</TITLE>
+AgsCloneChannel
+AgsCloneChannelClass
+ags_clone_channel_new
+<SUBSECTION Standard>
+AGS_CLONE_CHANNEL
+AGS_CLONE_CHANNEL_CLASS
+AGS_CLONE_CHANNEL_GET_CLASS
+AGS_IS_CLONE_CHANNEL
+AGS_IS_CLONE_CHANNEL_CLASS
+AGS_TYPE_CLONE_CHANNEL
+ags_clone_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_clone_channel_run</FILE>
+<TITLE>AgsCloneChannelRun</TITLE>
+AgsCloneChannelRun
+AgsCloneChannelRunClass
+ags_clone_channel_run_new
+<SUBSECTION Standard>
+AGS_CLONE_CHANNEL_RUN
+AGS_CLONE_CHANNEL_RUN_CLASS
+AGS_CLONE_CHANNEL_RUN_GET_CLASS
+AGS_IS_CLONE_CHANNEL_RUN
+AGS_IS_CLONE_CHANNEL_RUN_CLASS
+AGS_TYPE_CLONE_CHANNEL_RUN
+ags_clone_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_combo_box_text</FILE>
+ags_combo_box_text_remove_all
+</SECTION>
+
+<SECTION>
+<FILE>ags_config</FILE>
+<TITLE>AgsConfig</TITLE>
+AGS_CONFIG_DEFAULT_BUILD_ID
+AGS_CONFIG_DEFAULT_VERSION
+AGS_CONFIG_DEVOUT
+AGS_CONFIG_THREAD
+AgsConfig
+AgsConfigClass
+ags_config_get
+ags_config_load_defaults
+ags_config_load_from_file
+ags_config_new
+ags_config_save
+ags_config_set
+<SUBSECTION Standard>
+AGS_CONFIG
+AGS_CONFIG_CLASS
+AGS_CONFIG_GET_CLASS
+AGS_IS_CONFIG
+AGS_IS_CONFIG_CLASS
+AGS_TYPE_CONFIG
+ags_config_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_container</FILE>
+ags_container_add_all
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_audio_signal</FILE>
+<TITLE>AgsCopyAudioSignal</TITLE>
+AgsCopyAudioSignal
+AgsCopyAudioSignalClass
+ags_copy_audio_signal_new
+<SUBSECTION Standard>
+AGS_COPY_AUDIO_SIGNAL
+AGS_COPY_AUDIO_SIGNAL_CLASS
+AGS_COPY_AUDIO_SIGNAL_GET_CLASS
+AGS_IS_COPY_AUDIO_SIGNAL
+AGS_IS_COPY_AUDIO_SIGNAL_CLASS
+AGS_TYPE_COPY_AUDIO_SIGNAL
+ags_copy_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_channel</FILE>
+<TITLE>AgsCopyChannel</TITLE>
+AgsCopyChannel
+AgsCopyChannelClass
+ags_copy_channel_new
+<SUBSECTION Standard>
+AGS_COPY_CHANNEL
+AGS_COPY_CHANNEL_CLASS
+AGS_COPY_CHANNEL_GET_CLASS
+AGS_IS_COPY_CHANNEL
+AGS_IS_COPY_CHANNEL_CLASS
+AGS_TYPE_COPY_CHANNEL
+ags_copy_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_channel_run</FILE>
+<TITLE>AgsCopyChannelRun</TITLE>
+AgsCopyChannelRun
+AgsCopyChannelRunClass
+AgsCopyChannelRunFlags
+ags_copy_channel_run_new
+<SUBSECTION Standard>
+AGS_COPY_CHANNEL_RUN
+AGS_COPY_CHANNEL_RUN_CLASS
+AGS_COPY_CHANNEL_RUN_GET_CLASS
+AGS_IS_COPY_CHANNEL_RUN
+AGS_IS_COPY_CHANNEL_RUN_CLASS
+AGS_TYPE_COPY_CHANNEL_RUN
+ags_copy_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_notation_audio</FILE>
+<TITLE>AgsCopyNotationAudio</TITLE>
+AgsCopyNotationAudio
+AgsCopyNotationAudioClass
+AgsCopyNotationAudioFlags
+ags_copy_notation_audio_new
+<SUBSECTION Standard>
+AGS_COPY_NOTATION_AUDIO
+AGS_COPY_NOTATION_AUDIO_CLASS
+AGS_COPY_NOTATION_AUDIO_GET_CLASS
+AGS_IS_COPY_NOTATION_AUDIO
+AGS_IS_COPY_NOTATION_AUDIO_CLASS
+AGS_TYPE_COPY_NOTATION_AUDIO
+ags_copy_notation_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_notation_audio_run</FILE>
+<TITLE>AgsCopyNotationAudioRun</TITLE>
+AgsCopyNotationAudioRun
+AgsCopyNotationAudioRunClass
+ags_copy_notation_audio_run_new
+<SUBSECTION Standard>
+AGS_COPY_NOTATION_AUDIO_RUN
+AGS_COPY_NOTATION_AUDIO_RUN_CLASS
+AGS_COPY_NOTATION_AUDIO_RUN_GET_CLASS
+AGS_IS_COPY_NOTATION_AUDIO_RUN
+AGS_IS_COPY_NOTATION_AUDIO_RUN_CLASS
+AGS_TYPE_COPY_NOTATION_AUDIO_RUN
+ags_copy_notation_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_audio</FILE>
+<TITLE>AgsCopyPatternAudio</TITLE>
+AgsCopyPatternAudio
+AgsCopyPatternAudioClass
+ags_copy_pattern_audio_new
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_AUDIO
+AGS_COPY_PATTERN_AUDIO_CLASS
+AGS_COPY_PATTERN_AUDIO_GET_CLASS
+AGS_IS_COPY_PATTERN_AUDIO
+AGS_IS_COPY_PATTERN_AUDIO_CLASS
+AGS_TYPE_COPY_PATTERN_AUDIO
+ags_copy_pattern_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_audio_run</FILE>
+<TITLE>AgsCopyPatternAudioRun</TITLE>
+AgsCopyPatternAudioRun
+AgsCopyPatternAudioRunClass
+ags_copy_pattern_audio_run_new
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_AUDIO_RUN
+AGS_COPY_PATTERN_AUDIO_RUN_CLASS
+AGS_COPY_PATTERN_AUDIO_RUN_GET_CLASS
+AGS_IS_COPY_PATTERN_AUDIO_RUN
+AGS_IS_COPY_PATTERN_AUDIO_RUN_CLASS
+AGS_TYPE_COPY_PATTERN_AUDIO_RUN
+ags_copy_pattern_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_channel</FILE>
+<TITLE>AgsCopyPatternChannel</TITLE>
+AgsCopyPatternChannel
+AgsCopyPatternChannelClass
+ags_copy_pattern_channel_new
+ags_copy_pattern_channel_template_find_source_and_destination
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_CHANNEL
+AGS_COPY_PATTERN_CHANNEL_CLASS
+AGS_COPY_PATTERN_CHANNEL_GET_CLASS
+AGS_IS_COPY_PATTERN_CHANNEL
+AGS_IS_COPY_PATTERN_CHANNEL_CLASS
+AGS_TYPE_COPY_PATTERN_CHANNEL
+ags_copy_pattern_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_pattern_channel_run</FILE>
+<TITLE>AgsCopyPatternChannelRun</TITLE>
+AgsCopyPatternChannelRun
+AgsCopyPatternChannelRunClass
+ags_copy_pattern_channel_run_new
+<SUBSECTION Standard>
+AGS_COPY_PATTERN_CHANNEL_RUN
+AGS_COPY_PATTERN_CHANNEL_RUN_CLASS
+AGS_COPY_PATTERN_CHANNEL_RUN_GET_CLASS
+AGS_IS_COPY_PATTERN_CHANNEL_RUN
+AGS_IS_COPY_PATTERN_CHANNEL_RUN_CLASS
+AGS_TYPE_COPY_PATTERN_CHANNEL_RUN
+ags_copy_pattern_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_copy_recycling</FILE>
+<TITLE>AgsCopyRecycling</TITLE>
+AgsCopyRecycling
+AgsCopyRecyclingClass
+ags_copy_recycling_new
+<SUBSECTION Standard>
+AGS_COPY_RECYCLING
+AGS_COPY_RECYCLING_CLASS
+AGS_COPY_RECYCLING_GET_CLASS
+AGS_IS_COPY_RECYCLING
+AGS_IS_COPY_RECYCLING_CLASS
+AGS_TYPE_COPY_RECYCLING
+ags_copy_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_count_beats_audio</FILE>
+<TITLE>AgsCountBeatsAudio</TITLE>
+AgsCountBeatsAudio
+AgsCountBeatsAudioClass
+ags_count_beats_audio_new
+<SUBSECTION Standard>
+AGS_COUNT_BEATS_AUDIO
+AGS_COUNT_BEATS_AUDIO_CLASS
+AGS_COUNT_BEATS_AUDIO_GET_CLASS
+AGS_IS_COUNT_BEATS_AUDIO
+AGS_IS_COUNT_BEATS_AUDIO_CLASS
+AGS_TYPE_COUNT_BEATS_AUDIO
+ags_count_beats_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_count_beats_audio_run</FILE>
+<TITLE>AgsCountBeatsAudioRun</TITLE>
+AgsCountBeatsAudioRun
+AgsCountBeatsAudioRunClass
+ags_count_beats_audio_run_new
+ags_count_beats_audio_run_notation_loop
+ags_count_beats_audio_run_notation_start
+ags_count_beats_audio_run_notation_stop
+ags_count_beats_audio_run_sequencer_loop
+ags_count_beats_audio_run_sequencer_start
+ags_count_beats_audio_run_sequencer_stop
+<SUBSECTION Standard>
+AGS_COUNT_BEATS_AUDIO_RUN
+AGS_COUNT_BEATS_AUDIO_RUN_CLASS
+AGS_COUNT_BEATS_AUDIO_RUN_GET_CLASS
+AGS_IS_COUNT_BEATS_AUDIO_RUN
+AGS_IS_COUNT_BEATS_AUDIO_RUN_CLASS
+AGS_TYPE_COUNT_BEATS_AUDIO_RUN
+ags_count_beats_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_countable</FILE>
+<TITLE>AgsCountable</TITLE>
+AgsCountable
+AgsCountableInterface
+ags_countable_get_notation_counter
+ags_countable_get_sequencer_counter
+<SUBSECTION Standard>
+AGS_COUNTABLE
+AGS_COUNTABLE_GET_INTERFACE
+AGS_COUNTABLE_INTERFACE
+AGS_IS_COUNTABLE
+AGS_IS_COUNTABLE_INTERFACE
+AGS_TYPE_COUNTABLE
+ags_countable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_delay_audio</FILE>
+<TITLE>AgsDelayAudio</TITLE>
+AgsDelayAudio
+AgsDelayAudioClass
+ags_delay_audio_new
+ags_delay_audio_notation_duration_changed
+ags_delay_audio_sequencer_duration_changed
+<SUBSECTION Standard>
+AGS_DELAY_AUDIO
+AGS_DELAY_AUDIO_CLASS
+AGS_DELAY_AUDIO_GET_CLASS
+AGS_IS_DELAY_AUDIO
+AGS_IS_DELAY_AUDIO_CLASS
+AGS_TYPE_DELAY_AUDIO
+ags_delay_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_delay_audio_run</FILE>
+<TITLE>AgsDelayAudioRun</TITLE>
+AgsDelayAudioRun
+AgsDelayAudioRunClass
+ags_delay_audio_run_new
+ags_delay_audio_run_notation_alloc_input
+ags_delay_audio_run_notation_alloc_output
+ags_delay_audio_run_notation_count
+ags_delay_audio_run_sequencer_alloc_input
+ags_delay_audio_run_sequencer_alloc_output
+ags_delay_audio_run_sequencer_count
+<SUBSECTION Standard>
+AGS_DELAY_AUDIO_RUN
+AGS_DELAY_AUDIO_RUN_CLASS
+AGS_DELAY_AUDIO_RUN_GET_CLASS
+AGS_IS_DELAY_AUDIO_RUN
+AGS_IS_DELAY_AUDIO_RUN_CLASS
+AGS_TYPE_DELAY_AUDIO_RUN
+ags_delay_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_devout</FILE>
+<TITLE>AgsDevout</TITLE>
+AGS_DEVOUT_DEFAULT_BPM
+AGS_DEVOUT_DEFAULT_BUFFER_SIZE
+AGS_DEVOUT_DEFAULT_DELAY
+AGS_DEVOUT_DEFAULT_FORMAT
+AGS_DEVOUT_DEFAULT_JIFFIE
+AGS_DEVOUT_DEFAULT_SAMPLERATE
+AGS_DEVOUT_DEFAULT_SCALE
+AGS_DEVOUT_DEFAULT_TACT
+AGS_DEVOUT_DEFAULT_TACTRATE
+AGS_DEVOUT_DEFAULT_TACT_JIFFIE
+AGS_DEVOUT_ERROR
+AGS_DEVOUT_PLAY
+AGS_DEVOUT_PLAY_DOMAIN
+AgsDevout
+AgsDevoutClass
+AgsDevoutError
+AgsDevoutFlags
+AgsDevoutPlay
+AgsDevoutPlayDomain
+AgsDevoutPlayFlags
+AgsDevoutResolutionMode
+ags_devout_error_quark
+ags_devout_list_cards
+ags_devout_new
+ags_devout_note_offset_changed
+ags_devout_pcm_info
+ags_devout_play_alloc
+ags_devout_play_domain_alloc
+ags_devout_play_domain_free
+ags_devout_play_find_source
+ags_devout_play_free
+ags_devout_tic
+<SUBSECTION Standard>
+AGS_DEVOUT
+AGS_DEVOUT_CLASS
+AGS_DEVOUT_GET_CLASS
+AGS_IS_DEVOUT
+AGS_IS_DEVOUT_CLASS
+AGS_TYPE_DEVOUT
+ags_devout_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_devout_thread</FILE>
+<TITLE>AgsDevoutThread</TITLE>
+AGS_DEVOUT_THREAD_DEFAULT_JIFFIE
+AgsDevoutThread
+AgsDevoutThreadClass
+ags_devout_thread_new
+<SUBSECTION Standard>
+AGS_DEVOUT_THREAD
+AGS_DEVOUT_THREAD_CLASS
+AGS_DEVOUT_THREAD_GET_CLASS
+AGS_IS_DEVOUT_THREAD
+AGS_IS_DEVOUT_THREAD_CLASS
+AGS_TYPE_DEVOUT_THREAD
+ags_devout_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_dial</FILE>
+<TITLE>AgsDial</TITLE>
+AGS_DIAL_DEFAULT_PRECISION
+AgsDial
+AgsDialClass
+AgsDialFlags
+ags_dial_new
+<SUBSECTION Standard>
+AGS_DIAL
+AGS_DIAL_CLASS
+AGS_DIAL_GET_CLASS
+AGS_IS_DIAL
+AGS_IS_DIAL_CLASS
+AGS_TYPE_DIAL
+ags_dial_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_display_tact</FILE>
+<TITLE>AgsDisplayTact</TITLE>
+AgsDisplayTact
+AgsDisplayTactClass
+ags_display_tact_new
+<SUBSECTION Standard>
+AGS_DISPLAY_TACT
+AGS_DISPLAY_TACT_CLASS
+AGS_DISPLAY_TACT_GET_CLASS
+AGS_IS_DISPLAY_TACT
+AGS_IS_DISPLAY_TACT_CLASS
+AGS_TYPE_DISPLAY_TACT
+ags_display_tact_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_down_mix</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum</FILE>
+<TITLE>AgsDrum</TITLE>
+AGS_DRUM_PATTERN_CONTROLS
+AgsDrum
+AgsDrumClass
+AgsDrumFlags
+ags_drum_new
+ags_drum_set_pattern
+<SUBSECTION Standard>
+AGS_DRUM
+AGS_DRUM_CLASS
+AGS_DRUM_GET_CLASS
+AGS_IS_DRUM
+AGS_IS_DRUM_CLASS
+AGS_TYPE_DRUM
+ags_drum_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_callbacks</FILE>
+ags_drum_done_callback
+ags_drum_index0_callback
+ags_drum_index1_callback
+ags_drum_length_spin_callback
+ags_drum_loop_button_callback
+ags_drum_offset_callback
+ags_drum_open_callback
+ags_drum_pad_callback
+ags_drum_parent_set_callback
+ags_drum_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_line</FILE>
+<TITLE>AgsDrumInputLine</TITLE>
+AgsDrumInputLine
+AgsDrumInputLineClass
+ags_drum_input_line_map_recall
+ags_drum_input_line_new
+<SUBSECTION Standard>
+AGS_DRUM_INPUT_LINE
+AGS_DRUM_INPUT_LINE_CLASS
+AGS_DRUM_INPUT_LINE_GET_CLASS
+AGS_IS_DRUM_INPUT_LINE
+AGS_IS_DRUM_INPUT_LINE_CLASS
+AGS_TYPE_DRUM_INPUT_LINE
+ags_drum_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_line_callbacks</FILE>
+ags_drum_input_line_audio_set_pads_callback
+ags_drum_input_line_channel_done_callback
+ags_drum_input_line_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_pad</FILE>
+<TITLE>AgsDrumInputPad</TITLE>
+AgsDrumInputPad
+AgsDrumInputPadClass
+AgsDrumInputPadFlags
+ags_drum_input_pad_new
+<SUBSECTION Standard>
+AGS_DRUM_INPUT_PAD
+AGS_DRUM_INPUT_PAD_CLASS
+AGS_DRUM_INPUT_PAD_GET_CLASS
+AGS_IS_DRUM_INPUT_PAD
+AGS_IS_DRUM_INPUT_PAD_CLASS
+AGS_TYPE_DRUM_INPUT_PAD
+ags_drum_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_input_pad_callbacks</FILE>
+ags_drum_input_pad_edit_callback
+ags_drum_input_pad_open_callback
+ags_drum_input_pad_play_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_line</FILE>
+<TITLE>AgsDrumOutputLine</TITLE>
+AgsDrumOutputLine
+AgsDrumOutputLineClass
+ags_drum_output_line_add_default_recall
+ags_drum_output_line_new
+<SUBSECTION Standard>
+AGS_DRUM_OUTPUT_LINE
+AGS_DRUM_OUTPUT_LINE_CLASS
+AGS_DRUM_OUTPUT_LINE_GET_CLASS
+AGS_IS_DRUM_OUTPUT_LINE
+AGS_IS_DRUM_OUTPUT_LINE_CLASS
+AGS_TYPE_DRUM_OUTPUT_LINE
+ags_drum_output_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_line_callbacks</FILE>
+ags_drum_output_line_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_pad</FILE>
+<TITLE>AgsDrumOutputPad</TITLE>
+AgsDrumOutputPad
+AgsDrumOutputPadClass
+AgsDrumOutputPadFlags
+ags_drum_output_pad_new
+<SUBSECTION Standard>
+AGS_DRUM_OUTPUT_PAD
+AGS_DRUM_OUTPUT_PAD_CLASS
+AGS_DRUM_OUTPUT_PAD_GET_CLASS
+AGS_IS_DRUM_OUTPUT_PAD
+AGS_IS_DRUM_OUTPUT_PAD_CLASS
+AGS_TYPE_DRUM_OUTPUT_PAD
+ags_drum_output_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_drum_output_pad_callbacks</FILE>
+ags_drum_output_pad_play_cancel
+ags_drum_output_pad_play_done
+</SECTION>
+
+<SECTION>
+<FILE>ags_dynamic_connectable</FILE>
+<TITLE>AgsDynamicConnectable</TITLE>
+AgsDynamicConnectable
+AgsDynamicConnectableInterface
+ags_dynamic_connectable_connect
+ags_dynamic_connectable_disconnect
+<SUBSECTION Standard>
+AGS_DYNAMIC_CONNECTABLE
+AGS_DYNAMIC_CONNECTABLE_GET_INTERFACE
+AGS_DYNAMIC_CONNECTABLE_INTERFACE
+AGS_IS_DYNAMIC_CONNECTABLE
+AGS_IS_DYNAMIC_CONNECTABLE_INTERFACE
+AGS_TYPE_DYNAMIC_CONNECTABLE
+ags_dynamic_connectable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_echo</FILE>
+ags_echo
+</SECTION>
+
+<SECTION>
+<FILE>ags_editor</FILE>
+<TITLE>AgsEditor</TITLE>
+AGS_EDITOR_DEFAULT
+AGS_EDITOR_DEFAULT_BUILD_ID
+AGS_EDITOR_DEFAULT_VERSION
+AgsEditor
+AgsEditorClass
+ags_editor_machine_changed
+ags_editor_new
+<SUBSECTION Standard>
+AGS_EDITOR
+AGS_EDITOR_CLASS
+AGS_EDITOR_GET_CLASS
+AGS_IS_EDITOR
+AGS_IS_EDITOR_CLASS
+AGS_TYPE_EDITOR
+ags_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_editor_callbacks</FILE>
+ags_editor_change_position_callback
+ags_editor_machine_changed_callback
+ags_editor_parent_set_callback
+ags_editor_set_audio_channels_callback
+ags_editor_set_pads_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_effect</FILE>
+AGS_EFFECT_COPY_BUFFER
+AGS_EFFECT_COPY_STREAM
+AGS_EFFECT_DOWN_MIX
+</SECTION>
+
+<SECTION>
+<FILE>ags_effect</FILE>
+<TITLE>AgsEffect</TITLE>
+AgsEffect
+AgsEffectInterface
+<SUBSECTION Standard>
+AGS_EFFECT
+AGS_EFFECT_GET_INTERFACE
+AGS_EFFECT_INTERFACE
+AGS_IS_EFFECT
+AGS_IS_EFFECT_INTERFACE
+AGS_TYPE_EFFECT
+ags_effect_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_expander</FILE>
+<TITLE>AgsExpander</TITLE>
+AGS_EXPANDER_CHILD
+AgsExpander
+AgsExpanderChild
+AgsExpanderClass
+AgsExpanderFlags
+ags_expander_add
+ags_expander_child_alloc
+ags_expander_child_find
+ags_expander_new
+ags_expander_remove
+<SUBSECTION Standard>
+AGS_EXPANDER
+AGS_EXPANDER_CLASS
+AGS_EXPANDER_GET_CLASS
+AGS_IS_EXPANDER
+AGS_IS_EXPANDER_CLASS
+AGS_TYPE_EXPANDER
+ags_expander_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_expander_set</FILE>
+<TITLE>AgsExpanderSet</TITLE>
+AGS_EXPANDER_SET_CHILD
+AgsExpanderSet
+AgsExpanderSetChild
+AgsExpanderSetClass
+AgsExpanderSetFlags
+ags_expander_set_add
+ags_expander_set_child_alloc
+ags_expander_set_child_find
+ags_expander_set_new
+ags_expander_set_remove
+ags_expander_set_set_flags
+<SUBSECTION Standard>
+AGS_EXPANDER_SET
+AGS_EXPANDER_SET_CLASS
+AGS_EXPANDER_SET_GET_CLASS
+AGS_IS_EXPANDER_SET
+AGS_IS_EXPANDER_SET_CLASS
+AGS_TYPE_EXPANDER_SET
+ags_expander_set_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_output</FILE>
+<TITLE>AgsExportOutput</TITLE>
+AgsExportOutput
+AgsExportOutputClass
+ags_export_output_new
+<SUBSECTION Standard>
+AGS_EXPORT_OUTPUT
+AGS_EXPORT_OUTPUT_CLASS
+AGS_EXPORT_OUTPUT_GET_CLASS
+AGS_IS_EXPORT_OUTPUT
+AGS_IS_EXPORT_OUTPUT_CLASS
+AGS_TYPE_EXPORT_OUTPUT
+ags_export_output_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_thread</FILE>
+<TITLE>AgsExportThread</TITLE>
+AGS_EXPORT_THREAD_BUFFER_TIME
+AGS_EXPORT_THREAD_DEFAULT_JIFFIE
+AgsExportThread
+AgsExportThreadClass
+ags_export_thread_new
+<SUBSECTION Standard>
+AGS_EXPORT_THREAD
+AGS_EXPORT_THREAD_CLASS
+AGS_EXPORT_THREAD_GET_CLASS
+AGS_IS_EXPORT_THREAD
+AGS_IS_EXPORT_THREAD_CLASS
+AGS_TYPE_EXPORT_THREAD
+ags_export_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_window</FILE>
+<TITLE>AgsExportWindow</TITLE>
+AgsExportWindow
+AgsExportWindowClass
+AgsExportWindowFlags
+ags_export_window_new
+<SUBSECTION Standard>
+AGS_EXPORT_WINDOW
+AGS_EXPORT_WINDOW_CLASS
+AGS_EXPORT_WINDOW_GET_CLASS
+AGS_IS_EXPORT_WINDOW
+AGS_IS_EXPORT_WINDOW_CLASS
+AGS_TYPE_EXPORT_WINDOW
+ags_export_window_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_export_window_callbacks</FILE>
+ags_export_window_export_callback
+ags_export_window_file_chooser_button_callback
+ags_export_window_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_ffplayer</FILE>
+<TITLE>AgsFFPlayer</TITLE>
+AgsFFPlayer
+AgsFFPlayerClass
+ags_ffplayer_new
+ags_ffplayer_paint
+<SUBSECTION Standard>
+AGS_FFPLAYER
+AGS_FFPLAYER_CLASS
+AGS_FFPLAYER_GET_CLASS
+AGS_IS_FFPLAYER
+AGS_IS_FFPLAYER_CLASS
+AGS_TYPE_FFPLAYER
+ags_ffplayer_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ffplayer_callbacks</FILE>
+ags_ffplayer_drawing_area_button_press_callback
+ags_ffplayer_drawing_area_configure_callback
+ags_ffplayer_drawing_area_expose_callback
+ags_ffplayer_hscrollbar_value_changed
+ags_ffplayer_instrument_changed_callback
+ags_ffplayer_open_clicked_callback
+ags_ffplayer_open_dialog_response_callback
+ags_ffplayer_parent_set_callback
+ags_ffplayer_preset_changed_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_file</FILE>
+<TITLE>AgsFile</TITLE>
+AGS_FILE_CHECKSUM_LENGTH
+AGS_FILE_DEFAULT_AUDIO_ENCODING
+AGS_FILE_DEFAULT_AUDIO_FORMAT
+AGS_FILE_DEFAULT_DTD
+AGS_FILE_DEFAULT_ENCODING
+AgsFile
+AgsFileClass
+AgsFileFlags
+ags_file_add_id_ref
+ags_file_add_launch
+ags_file_add_lookup
+ags_file_find_id_ref_by_node
+ags_file_find_id_ref_by_reference
+ags_file_find_id_ref_by_xpath
+ags_file_new
+ags_file_read
+ags_file_read_main
+ags_file_read_resolve
+ags_file_read_server
+ags_file_read_start
+ags_file_str2md5
+ags_file_write
+ags_file_write_concurrent
+ags_file_write_main
+ags_file_write_resolve
+ags_file_write_server
+<SUBSECTION Standard>
+AGS_FILE
+AGS_FILE_CLASS
+AGS_FILE_GET_CLASS
+AGS_IS_FILE
+AGS_IS_FILE_CLASS
+AGS_TYPE_FILE
+ags_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_gui</FILE>
+ags_file_read_dialog
+ags_file_read_dialog_list
+ags_file_read_editor
+ags_file_read_line
+ags_file_read_line_editor
+ags_file_read_line_list
+ags_file_read_line_member
+ags_file_read_line_member_editor
+ags_file_read_line_member_list
+ags_file_read_link_collection_editor
+ags_file_read_link_editor
+ags_file_read_machine
+ags_file_read_machine_counter
+ags_file_read_machine_counter_list
+ags_file_read_machine_editor
+ags_file_read_machine_editor_list
+ags_file_read_machine_list
+ags_file_read_machine_selector
+ags_file_read_menu_bar
+ags_file_read_mixer_input_pad
+ags_file_read_mixer_output_pad
+ags_file_read_navigation
+ags_file_read_notebook
+ags_file_read_notebook_tab
+ags_file_read_notebook_tab_list
+ags_file_read_pad
+ags_file_read_pad_editor
+ags_file_read_pad_list
+ags_file_read_resize_editor
+ags_file_read_toolbar
+ags_file_read_widget
+ags_file_read_window
+ags_file_write_dialog
+ags_file_write_dialog_list
+ags_file_write_editor
+ags_file_write_line
+ags_file_write_line_editor
+ags_file_write_line_list
+ags_file_write_line_member
+ags_file_write_line_member_editor
+ags_file_write_line_member_list
+ags_file_write_link_collection_editor
+ags_file_write_link_editor
+ags_file_write_machine
+ags_file_write_machine_counter
+ags_file_write_machine_counter_list
+ags_file_write_machine_editor
+ags_file_write_machine_editor_list
+ags_file_write_machine_list
+ags_file_write_machine_selector
+ags_file_write_menu_bar
+ags_file_write_mixer_input_pad
+ags_file_write_mixer_output_pad
+ags_file_write_navigation
+ags_file_write_notebook
+ags_file_write_notebook_tab
+ags_file_write_notebook_tab_list
+ags_file_write_pad
+ags_file_write_pad_editor
+ags_file_write_pad_list
+ags_file_write_resize_editor
+ags_file_write_toolbar
+ags_file_write_widget
+ags_file_write_window
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_id_ref</FILE>
+<TITLE>AgsFileIdRef</TITLE>
+AGS_FILE_ID_REF_RESOLVE_DATA
+AGS_FILE_ID_REF_SERIALIZE_DATA
+AGS_FILE_RESOLVE
+AgsFileIdRef
+AgsFileIdRefClass
+AgsFileResolve
+ags_file_id_ref_new
+ags_file_id_ref_resolved
+<SUBSECTION Standard>
+AGS_FILE_ID_REF
+AGS_FILE_ID_REF_CLASS
+AGS_FILE_ID_REF_GET_CLASS
+AGS_IS_FILE_ID_REF
+AGS_IS_FILE_ID_REF_CLASS
+AGS_TYPE_FILE_ID_REF
+ags_file_id_ref_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_launch</FILE>
+<TITLE>AgsFileLaunch</TITLE>
+AgsFileLaunch
+AgsFileLaunchClass
+ags_file_launch_new
+ags_file_launch_start
+<SUBSECTION Standard>
+AGS_FILE_LAUNCH
+AGS_FILE_LAUNCH_CLASS
+AGS_FILE_LAUNCH_GET_CLASS
+AGS_IS_FILE_LAUNCH
+AGS_IS_FILE_LAUNCH_CLASS
+AGS_TYPE_FILE_LAUNCH
+ags_file_launch_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_link</FILE>
+<TITLE>AgsFileLink</TITLE>
+AgsFileLink
+AgsFileLinkClass
+ags_file_link_new
+<SUBSECTION Standard>
+AGS_FILE_LINK
+AGS_FILE_LINK_CLASS
+AGS_FILE_LINK_GET_CLASS
+AGS_IS_FILE_LINK
+AGS_IS_FILE_LINK_CLASS
+AGS_TYPE_FILE_LINK
+ags_file_link_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_lookup</FILE>
+<TITLE>AgsFileLookup</TITLE>
+AgsFileLookup
+AgsFileLookupClass
+ags_file_lookup_find_by_node
+ags_file_lookup_new
+ags_file_lookup_resolve
+<SUBSECTION Standard>
+AGS_FILE_LOOKUP
+AGS_FILE_LOOKUP_CLASS
+AGS_FILE_LOOKUP_GET_CLASS
+AGS_IS_FILE_LOOKUP
+AGS_IS_FILE_LOOKUP_CLASS
+AGS_TYPE_FILE_LOOKUP
+ags_file_lookup_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_read</FILE>
+<TITLE>AgsFileRead</TITLE>
+AgsFileRead
+AgsFileReadClass
+ags_file_read_new
+<SUBSECTION Standard>
+AGS_FILE_READ
+AGS_FILE_READ_CLASS
+AGS_FILE_READ_GET_CLASS
+AGS_IS_FILE_READ
+AGS_IS_FILE_READ_CLASS
+AGS_TYPE_FILE_READ
+ags_file_read_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_selection</FILE>
+<TITLE>AgsFileSelection</TITLE>
+AGS_FILE_SELECTION_ENTRY
+AgsFileSelection
+AgsFileSelectionClass
+AgsFileSelectionEntry
+AgsFileSelectionFlags
+ags_file_selection_add_entry
+ags_file_selection_completed
+ags_file_selection_contains_file
+ags_file_selection_entry_alloc
+ags_file_selection_new
+ags_file_selection_remove_entry
+ags_file_selection_set_entry
+<SUBSECTION Standard>
+AGS_FILE_SELECTION
+AGS_FILE_SELECTION_CLASS
+AGS_FILE_SELECTION_GET_CLASS
+AGS_IS_FILE_SELECTION
+AGS_IS_FILE_SELECTION_CLASS
+AGS_TYPE_FILE_SELECTION
+ags_file_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_selection_callbacks</FILE>
+ags_file_selection_remove_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_sound</FILE>
+ags_file_read_audio
+ags_file_read_audio_list
+ags_file_read_audio_signal
+ags_file_read_audio_signal_list
+ags_file_read_channel
+ags_file_read_channel_list
+ags_file_read_devout
+ags_file_read_devout_list
+ags_file_read_devout_play
+ags_file_read_devout_play_list
+ags_file_read_file_link
+ags_file_read_input
+ags_file_read_notation
+ags_file_read_notation_list
+ags_file_read_note
+ags_file_read_note_list
+ags_file_read_output
+ags_file_read_pattern
+ags_file_read_pattern_data
+ags_file_read_pattern_data_list
+ags_file_read_pattern_list
+ags_file_read_port
+ags_file_read_port_list
+ags_file_read_recall
+ags_file_read_recall_audio
+ags_file_read_recall_audio_run
+ags_file_read_recall_audio_signal
+ags_file_read_recall_channel
+ags_file_read_recall_channel_run
+ags_file_read_recall_container
+ags_file_read_recall_container_list
+ags_file_read_recall_list
+ags_file_read_recall_recycling
+ags_file_read_recycling
+ags_file_read_recycling_list
+ags_file_read_stream
+ags_file_read_stream_list
+ags_file_read_task
+ags_file_read_task_list
+ags_file_read_timestamp
+ags_file_read_timestamp_list
+ags_file_write_audio
+ags_file_write_audio_list
+ags_file_write_audio_signal
+ags_file_write_audio_signal_list
+ags_file_write_channel
+ags_file_write_channel_list
+ags_file_write_devout
+ags_file_write_devout_list
+ags_file_write_devout_play
+ags_file_write_devout_play_list
+ags_file_write_file_link
+ags_file_write_input
+ags_file_write_notation
+ags_file_write_notation_list
+ags_file_write_note
+ags_file_write_note_list
+ags_file_write_output
+ags_file_write_pattern
+ags_file_write_pattern_data
+ags_file_write_pattern_data_list
+ags_file_write_pattern_list
+ags_file_write_port
+ags_file_write_port_list
+ags_file_write_recall
+ags_file_write_recall_audio
+ags_file_write_recall_audio_run
+ags_file_write_recall_audio_signal
+ags_file_write_recall_channel
+ags_file_write_recall_channel_run
+ags_file_write_recall_container
+ags_file_write_recall_container_list
+ags_file_write_recall_list
+ags_file_write_recall_recycling
+ags_file_write_recycling
+ags_file_write_recycling_list
+ags_file_write_stream
+ags_file_write_stream_list
+ags_file_write_task
+ags_file_write_task_list
+ags_file_write_timestamp
+ags_file_write_timestamp_list
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_stock</FILE>
+AGS_CLIPBOARD_DEFAULT_VERSION
+AGS_FILE_BOOLEAN_POINTER_PROP
+AGS_FILE_BOOLEAN_PROP
+AGS_FILE_BUILD_ID_PROP
+AGS_FILE_CHAR_POINTER_PROP
+AGS_FILE_CHAR_PROP
+AGS_FILE_DEFAULT_VERSION
+AGS_FILE_DOUBLE_POINTER_PROP
+AGS_FILE_DOUBLE_PROP
+AGS_FILE_DYNAMIC_WIDGET_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_CARTESIAN
+AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_DIAL
+AGS_FILE_DYNAMIC_WIDGET_HINDICATOR
+AGS_FILE_DYNAMIC_WIDGET_HSCALE
+AGS_FILE_DYNAMIC_WIDGET_LABEL
+AGS_FILE_DYNAMIC_WIDGET_LED
+AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_VINDICATOR
+AGS_FILE_DYNAMIC_WIDGET_VSCALE
+AGS_FILE_DYNAMIC_WIDGET_WAVEFORM
+AGS_FILE_EFFECTS_DEFAULT_VERSION
+AGS_FILE_FALSE
+AGS_FILE_FLAGS_PROP
+AGS_FILE_FLOAT_POINTER_PROP
+AGS_FILE_FLOAT_PROP
+AGS_FILE_ID_PROP
+AGS_FILE_INT64_POINTER_PROP
+AGS_FILE_INT64_PROP
+AGS_FILE_NAME_PROP
+AGS_FILE_OBJECT_PROP
+AGS_FILE_POINTER_PROP
+AGS_FILE_SCOPE_PROP
+AGS_FILE_TRUE
+AGS_FILE_TYPE_PROP
+AGS_FILE_UINT64_POINTER_PROP
+AGS_FILE_UINT64_PROP
+AGS_FILE_VERSION_PROP
+AGS_FILE_XPATH_PROP
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_thread</FILE>
+ags_file_read_audio_loop
+ags_file_read_thread
+ags_file_read_thread_list
+ags_file_read_thread_pool
+ags_file_write_audio_loop
+ags_file_write_thread
+ags_file_write_thread_list
+ags_file_write_thread_pool
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_util</FILE>
+ags_file_read_embedded_audio
+ags_file_read_embedded_audio_list
+ags_file_read_file_link
+ags_file_read_file_link_list
+ags_file_util_read_dependency
+ags_file_util_read_history
+ags_file_util_read_object
+ags_file_util_read_parameter
+ags_file_util_read_value
+ags_file_util_write_dependency
+ags_file_util_write_history
+ags_file_util_write_object
+ags_file_util_write_parameter
+ags_file_util_write_value
+ags_file_write_embedded_audio
+ags_file_write_embedded_audio_list
+ags_file_write_file_link
+ags_file_write_file_link_list
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_value_factory</FILE>
+<TITLE>AgsFileValueFactory</TITLE>
+AgsFileValueFactory
+AgsFileValueFactoryClass
+ags_file_value_factory_new
+<SUBSECTION Standard>
+AGS_FILE_VALUE_FACTORY
+AGS_FILE_VALUE_FACTORY_CLASS
+AGS_FILE_VALUE_FACTORY_GET_CLASS
+AGS_IS_FILE_VALUE_FACTORY
+AGS_IS_FILE_VALUE_FACTORY_CLASS
+AGS_TYPE_FILE_VALUE_FACTORY
+ags_file_value_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_file_write</FILE>
+<TITLE>AgsFileWrite</TITLE>
+AgsFileWrite
+AgsFileWriteClass
+ags_file_write_new
+<SUBSECTION Standard>
+AGS_FILE_WRITE
+AGS_FILE_WRITE_CLASS
+AGS_FILE_WRITE_GET_CLASS
+AGS_IS_FILE_WRITE
+AGS_IS_FILE_WRITE_CLASS
+AGS_TYPE_FILE_WRITE
+ags_file_write_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_free_selection</FILE>
+<TITLE>AgsFreeSelection</TITLE>
+AgsFreeSelection
+AgsFreeSelectionClass
+ags_free_selection_new
+<SUBSECTION Standard>
+AGS_FREE_SELECTION
+AGS_FREE_SELECTION_CLASS
+AGS_FREE_SELECTION_GET_CLASS
+AGS_IS_FREE_SELECTION
+AGS_IS_FREE_SELECTION_CLASS
+AGS_TYPE_FREE_SELECTION
+ags_free_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_garbage_collector</FILE>
+<TITLE>AgsGarbageCollector</TITLE>
+AgsGarbageCollector
+AgsGarbageCollectorClass
+AgsGarbageCollectorFlags
+ags_garbage_collector_add
+ags_garbage_collector_new
+ags_garbage_collector_remove
+ags_garbage_collector_run
+<SUBSECTION Standard>
+AGS_GARBAGE_COLLECTOR
+AGS_GARBAGE_COLLECTOR_CLASS
+AGS_TYPE_GARBAGE_COLLECTOR
+ags_garbage_collector_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_generic_preferences</FILE>
+<TITLE>AgsGenericPreferences</TITLE>
+AgsGenericPreferences
+AgsGenericPreferencesClass
+ags_generic_preferences_new
+<SUBSECTION Standard>
+AGS_GENERIC_PREFERENCES
+AGS_GENERIC_PREFERENCES_CLASS
+AGS_GENERIC_PREFERENCES_GET_CLASS
+AGS_IS_GENERIC_PREFERENCES
+AGS_IS_GENERIC_PREFERENCES_CLASS
+AGS_TYPE_GENERIC_PREFERENCES
+ags_generic_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_gui_task_thread</FILE>
+<TITLE>AgsGuiTaskThread</TITLE>
+AgsGuiTaskThread
+AgsGuiTaskThreadClass
+ags_gui_task_thread_new
+<SUBSECTION Standard>
+AGS_GUI_TASK_THREAD
+AGS_GUI_TASK_THREAD_CLASS
+AGS_GUI_TASK_THREAD_GET_CLASS
+AGS_IS_GUI_TASK_THREAD
+AGS_IS_GUI_TASK_THREAD_CLASS
+AGS_TYPE_GUI_TASK_THREAD
+ags_gui_task_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_gui_thread</FILE>
+<TITLE>AgsGuiThread</TITLE>
+AGS_GUI_THREAD_DEFAULT_JIFFIE
+AgsGuiThread
+AgsGuiThreadClass
+ags_gui_thread_new
+<SUBSECTION Standard>
+AGS_GUI_THREAD
+AGS_GUI_THREAD_CLASS
+AGS_GUI_THREAD_GET_CLASS
+AGS_IS_GUI_THREAD
+AGS_IS_GUI_THREAD_CLASS
+AGS_TYPE_GUI_THREAD
+ags_gui_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_hindicator</FILE>
+<TITLE>AgsHIndicator</TITLE>
+AgsHIndicator
+AgsHIndicatorClass
+ags_hindicator_new
+<SUBSECTION Standard>
+AGS_HINDICATOR
+AGS_HINDICATOR_CLASS
+AGS_HINDICATOR_GET_CLASS
+AGS_IS_HINDICATOR
+AGS_IS_HINDICATOR_CLASS
+AGS_TYPE_HINDICATOR
+ags_hindicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_history</FILE>
+<TITLE>AgsHistory</TITLE>
+AgsHistory
+AgsHistoryAppend
+AgsHistoryClass
+ags_history_new
+<SUBSECTION Standard>
+AGS_HISTORY
+AGS_HISTORY_CLASS
+AGS_HISTORY_GET_CLASS
+AGS_IS_HISTORY
+AGS_IS_HISTORY_CLASS
+AGS_TYPE_HISTORY
+ags_history_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_htimebar</FILE>
+<TITLE>AgsHTimebar</TITLE>
+AgsHTimebar
+AgsHTimebarClass
+ags_htimebar_new
+<SUBSECTION Standard>
+AGS_HTIMEBAR
+AGS_HTIMEBAR_CLASS
+AGS_HTIMEBAR_GET_CLASS
+AGS_IS_HTIMEBAR
+AGS_IS_HTIMEBAR_CLASS
+AGS_TYPE_HTIMEBAR
+</SECTION>
+
+<SECTION>
+<FILE>ags_id_generator</FILE>
+ags_id_generator_create_uuid
+</SECTION>
+
+<SECTION>
+<FILE>ags_indicator</FILE>
+<TITLE>AgsIndicator</TITLE>
+AgsIndicator
+AgsIndicatorClass
+ags_indicator_new
+<SUBSECTION Standard>
+AGS_INDICATOR
+AGS_INDICATOR_CLASS
+AGS_INDICATOR_GET_CLASS
+AGS_IS_INDICATOR
+AGS_IS_INDICATOR_CLASS
+AGS_TYPE_INDICATOR
+ags_indicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_init_audio</FILE>
+<TITLE>AgsInitAudio</TITLE>
+AgsInitAudio
+AgsInitAudioClass
+ags_init_audio_new
+<SUBSECTION Standard>
+AGS_INIT_AUDIO
+AGS_INIT_AUDIO_CLASS
+AGS_INIT_AUDIO_GET_CLASS
+AGS_IS_INIT_AUDIO
+AGS_IS_INIT_AUDIO_CLASS
+AGS_TYPE_INIT_AUDIO
+ags_init_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_init_channel</FILE>
+<TITLE>AgsInitChannel</TITLE>
+AgsInitChannel
+AgsInitChannelClass
+ags_init_channel_new
+<SUBSECTION Standard>
+AGS_INIT_CHANNEL
+AGS_INIT_CHANNEL_CLASS
+AGS_INIT_CHANNEL_GET_CLASS
+AGS_IS_INIT_CHANNEL
+AGS_IS_INIT_CHANNEL_CLASS
+AGS_TYPE_INIT_CHANNEL
+ags_init_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_inline_player</FILE>
+<TITLE>AgsInlinePlayer</TITLE>
+AgsInlinePlayer
+AgsInlinePlayerClass
+ags_inline_player_new
+<SUBSECTION Standard>
+AGS_INLINE_PLAYER
+AGS_INLINE_PLAYER_CLASS
+AGS_INLINE_PLAYER_GET_CLASS
+AGS_IS_INLINE_PLAYER
+AGS_IS_INLINE_PLAYER_CLASS
+AGS_TYPE_INLINE_PLAYER
+ags_inline_player_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_inline_player_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_input</FILE>
+<TITLE>AgsInput</TITLE>
+AgsInput
+AgsInputClass
+ags_input_new
+<SUBSECTION Standard>
+AGS_INPUT
+AGS_INPUT_CLASS
+AGS_INPUT_GET_CLASS
+AGS_IS_INPUT
+AGS_IS_INPUT_CLASS
+AGS_TYPE_INPUT
+ags_input_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ipatch</FILE>
+<TITLE>AgsIpatch</TITLE>
+AGS_IPATCH_DEFAULT_CHANNELS
+AGS_IPATCH_READ
+AGS_IPATCH_WRITE
+AgsIpatch
+AgsIpatchClass
+AgsIpatchFlags
+ags_ipatch_new
+<SUBSECTION Standard>
+AGS_IPATCH
+AGS_IPATCH_CLASS
+AGS_IPATCH_GET_CLASS
+AGS_IS_IPATCH
+AGS_IS_IPATCH_CLASS
+AGS_TYPE_IPATCH
+ags_ipatch_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ipatch_sf2_reader</FILE>
+<TITLE>AgsIpatchSF2Reader</TITLE>
+AgsIpatchSF2Reader
+AgsIpatchSF2ReaderClass
+AgsSF2Levels
+ags_ipatch_sf2_reader_new
+<SUBSECTION Standard>
+AGS_IPATCH_SF2_READER
+AGS_IPATCH_SF2_READER_CLASS
+AGS_IPATCH_SF2_READER_GET_CLASS
+AGS_IS_IPATCH_SF2_READER
+AGS_IS_IPATCH_SF2_READER_CLASS
+AGS_TYPE_IPATCH_SF2_READER
+ags_ipatch_sf2_reader_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_iterator_thread</FILE>
+<TITLE>AgsIteratorThread</TITLE>
+AgsIteratorThread
+AgsIteratorThreadClass
+AgsIteratorThreadFlags
+ags_iterator_thread_children_ready
+ags_iterator_thread_new
+<SUBSECTION Standard>
+AGS_IS_ITERATOR_THREAD
+AGS_IS_ITERATOR_THREAD_CLASS
+AGS_ITERATOR_THREAD
+AGS_ITERATOR_THREAD_CLASS
+AGS_ITERATOR_THREAD_GET_CLASS
+AGS_TYPE_ITERATOR_THREAD
+ags_iterator_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ladspa_browser</FILE>
+<TITLE>AgsLadspaBrowser</TITLE>
+AgsLadspaBrowser
+AgsLadspaBrowserClass
+ags_ladspa_browser_combo_box_controls_new
+ags_ladspa_browser_get_plugin_effect
+ags_ladspa_browser_get_plugin_filename
+ags_ladspa_browser_new
+ags_ladspa_browser_preview_new
+<SUBSECTION Standard>
+AGS_IS_LADSPA_BROWSER
+AGS_IS_LADSPA_BROWSER_CLASS
+AGS_LADSPA_BROWSER
+AGS_LADSPA_BROWSER_CLASS
+AGS_LADSPA_BROWSER_GET_CLASS
+AGS_TYPE_LADSPA_BROWSER
+ags_ladspa_browser_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ladspa_browser_callbacks</FILE>
+ags_ladspa_browser_cancel_callback
+ags_ladspa_browser_ok_callback
+ags_ladspa_browser_plugin_effect_callback
+ags_ladspa_browser_plugin_filename_callback
+ags_ladspa_browser_preview_close_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_ladspa_manager</FILE>
+<TITLE>AgsLadspaManager</TITLE>
+AGS_LADSPA_PLUGIN
+AgsLadspaManager
+AgsLadspaManagerClass
+AgsLadspaPlugin
+AgsLadspaPluginFlags
+ags_ladspa_manager_find_ladspa_plugin
+ags_ladspa_manager_get_filenames
+ags_ladspa_manager_get_instance
+ags_ladspa_manager_load_default_directory
+ags_ladspa_manager_load_file
+ags_ladspa_manager_new
+ags_ladspa_plugin_alloc
+ags_ladspa_plugin_free
+<SUBSECTION Standard>
+AGS_IS_LADSPA_MANAGER
+AGS_IS_LADSPA_MANAGER_CLASS
+AGS_LADSPA_MANAGER
+AGS_LADSPA_MANAGER_CLASS
+AGS_LADSPA_MANAGER_GET_CLASS
+AGS_TYPE_LADSPA_MANAGER
+ags_ladspa_manager_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_led</FILE>
+<TITLE>AgsLed</TITLE>
+AgsLed
+AgsLedClass
+AgsLedFlags
+ags_led_new
+ags_led_set_active
+ags_led_unset_active
+<SUBSECTION Standard>
+AGS_IS_LED
+AGS_IS_LED_CLASS
+AGS_LED
+AGS_LED_CLASS
+AGS_LED_GET_CLASS
+AGS_TYPE_LED
+ags_led_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_libao</FILE>
+<TITLE>AgsLibao</TITLE>
+AGS_LIBAO_DEFAULT_BPM
+AGS_LIBAO_DEFAULT_BUFFER_SIZE
+AGS_LIBAO_DEFAULT_DELAY
+AGS_LIBAO_DEFAULT_JIFFIE
+AGS_LIBAO_DEFAULT_SAMPLERATE
+AGS_LIBAO_DEFAULT_TACT
+AGS_LIBAO_DEFAULT_TACTRATE
+AGS_LIBAO_DEFAULT_TACT_JIFFIE
+AGS_LIBAO_ERROR
+AGS_LIBAO_PLAY
+AGS_LIBAO_PLAY_DOMAIN
+AgsLibao
+AgsLibaoClass
+AgsLibaoError
+AgsLibaoFlags
+AgsLibaoPlay
+AgsLibaoPlayDomain
+AgsLibaoPlayFlags
+AgsLibaoResolutionMode
+ags_libao_error_quark
+ags_libao_list_cards
+ags_libao_new
+ags_libao_note_offset_changed
+ags_libao_pcm_info
+ags_libao_play_alloc
+ags_libao_play_domain_alloc
+ags_libao_play_domain_free
+ags_libao_play_free
+ags_libao_tic
+<SUBSECTION Standard>
+AGS_IS_LIBAO
+AGS_IS_LIBAO_CLASS
+AGS_LIBAO
+AGS_LIBAO_CLASS
+AGS_LIBAO_GET_CLASS
+AGS_TYPE_LIBAO
+ags_libao_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line</FILE>
+<TITLE>AgsLine</TITLE>
+AGS_LINE_DEFAULT_BUILD_ID
+AGS_LINE_DEFAULT_VERSION
+AgsLine
+AgsLineClass
+AgsLineFlags
+ags_line_find_next_grouped
+ags_line_find_port
+ags_line_group_changed
+ags_line_new
+ags_line_set_channel
+<SUBSECTION Standard>
+AGS_IS_LINE
+AGS_IS_LINE_CLASS
+AGS_LINE
+AGS_LINE_CLASS
+AGS_LINE_GET_CLASS
+AGS_TYPE_LINE
+ags_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_callbacks</FILE>
+ags_line_channel_done_callback
+ags_line_copy_pattern_cancel
+ags_line_copy_pattern_done
+ags_line_group_clicked_callback
+ags_line_parent_set_callback
+ags_line_peak_run_post_callback
+ags_line_play_channel_run_cancel
+ags_line_play_volume_cancel
+ags_line_play_volume_done
+ags_line_recall_volume_cancel
+ags_line_recall_volume_done
+ags_line_remove_recall_callback
+ags_line_volume_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_editor</FILE>
+<TITLE>AgsLineEditor</TITLE>
+AGS_LINE_EDITOR_DEFAULT_BUILD_ID
+AGS_LINE_EDITOR_DEFAULT_VERSION
+AgsLineEditor
+AgsLineEditorClass
+ags_line_editor_new
+ags_line_editor_set_channel
+<SUBSECTION Standard>
+AGS_IS_LINE_EDITOR
+AGS_IS_LINE_EDITOR_CLASS
+AGS_LINE_EDITOR
+AGS_LINE_EDITOR_CLASS
+AGS_LINE_EDITOR_GET_CLASS
+AGS_TYPE_LINE_EDITOR
+ags_line_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_editor_callbacks</FILE>
+ags_line_editor_destroy_callback
+ags_line_editor_parent_set_callback
+ags_line_editor_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member</FILE>
+<TITLE>AgsLineMember</TITLE>
+AgsLineMember
+AgsLineMemberClass
+AgsLineMemberFlags
+ags_line_member_change_port
+ags_line_member_find_port
+ags_line_member_get_widget
+ags_line_member_new
+ags_line_member_set_label
+<SUBSECTION Standard>
+AGS_IS_LINE_MEMBER
+AGS_IS_LINE_MEMBER_CLASS
+AGS_LINE_MEMBER
+AGS_LINE_MEMBER_CLASS
+AGS_LINE_MEMBER_GET_CLASS
+AGS_TYPE_LINE_MEMBER
+ags_line_member_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member_callbacks</FILE>
+ags_line_member_button_clicked_callback
+ags_line_member_check_button_clicked_callback
+ags_line_member_dial_changed_callback
+ags_line_member_hscale_changed_callback
+ags_line_member_parent_set_callback
+ags_line_member_port_safe_write_callback
+ags_line_member_spin_button_changed_callback
+ags_line_member_toggle_button_clicked_callback
+ags_line_member_vscale_changed_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member_editor</FILE>
+<TITLE>AgsLineMemberEditor</TITLE>
+AgsLineMemberEditor
+AgsLineMemberEditorClass
+ags_line_member_editor_new
+<SUBSECTION Standard>
+AGS_IS_LINE_MEMBER_EDITOR
+AGS_IS_LINE_MEMBER_EDITOR_CLASS
+AGS_LINE_MEMBER_EDITOR
+AGS_LINE_MEMBER_EDITOR_CLASS
+AGS_LINE_MEMBER_EDITOR_GET_CLASS
+AGS_TYPE_LINE_MEMBER_EDITOR
+ags_line_member_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_line_member_editor_callbacks</FILE>
+ags_line_member_editor_add_callback
+ags_line_member_editor_ladspa_browser_response_callback
+ags_line_member_editor_remove_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_channel</FILE>
+<TITLE>AgsLinkChannel</TITLE>
+AgsLinkChannel
+AgsLinkChannelClass
+ags_link_channel_new
+<SUBSECTION Standard>
+AGS_IS_LINK_CHANNEL
+AGS_IS_LINK_CHANNEL_CLASS
+AGS_LINK_CHANNEL
+AGS_LINK_CHANNEL_CLASS
+AGS_LINK_CHANNEL_GET_CLASS
+AGS_TYPE_LINK_CHANNEL
+ags_link_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_collection_editor</FILE>
+<TITLE>AgsLinkCollectionEditor</TITLE>
+AgsLinkCollectionEditor
+AgsLinkCollectionEditorClass
+ags_link_collection_editor_check_count
+ags_link_collection_editor_check_first_line
+ags_link_collection_editor_check_first_link
+ags_link_collection_editor_new
+<SUBSECTION Standard>
+AGS_IS_LINK_COLLECTION_EDITOR
+AGS_IS_LINK_COLLECTION_EDITOR_CLASS
+AGS_LINK_COLLECTION_EDITOR
+AGS_LINK_COLLECTION_EDITOR_CLASS
+AGS_LINK_COLLECTION_EDITOR_GET_CLASS
+AGS_TYPE_LINK_COLLECTION_EDITOR
+ags_link_collection_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_collection_editor_callbacks</FILE>
+ags_link_collection_editor_count_callback
+ags_link_collection_editor_first_line_callback
+ags_link_collection_editor_first_link_callback
+ags_link_collection_editor_link_callback
+ags_link_collection_editor_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_editor</FILE>
+<TITLE>AgsLinkEditor</TITLE>
+AgsLinkEditor
+AgsLinkEditorClass
+AgsLinkEditorFlags
+ags_link_editor_new
+<SUBSECTION Standard>
+AGS_IS_LINK_EDITOR
+AGS_IS_LINK_EDITOR_CLASS
+AGS_LINK_EDITOR
+AGS_LINK_EDITOR_CLASS
+AGS_LINK_EDITOR_GET_CLASS
+AGS_TYPE_LINK_EDITOR
+ags_link_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_link_editor_callbacks</FILE>
+ags_link_editor_combo_callback
+ags_link_editor_destroy_callback
+ags_link_editor_parent_set_callback
+ags_link_editor_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_list</FILE>
+ags_list_duplicate_list
+ags_list_free_and_free_link
+ags_list_free_and_unref_link
+</SECTION>
+
+<SECTION>
+<FILE>ags_listing_editor</FILE>
+<TITLE>AgsListingEditor</TITLE>
+AgsListingEditor
+AgsListingEditorClass
+ags_listing_editor_add_children
+ags_listing_editor_new
+<SUBSECTION Standard>
+AGS_IS_LISTING_EDITOR
+AGS_IS_LISTING_EDITOR_CLASS
+AGS_LISTING_EDITOR
+AGS_LISTING_EDITOR_CLASS
+AGS_LISTING_EDITOR_GET_CLASS
+AGS_TYPE_LISTING_EDITOR
+ags_listing_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_listing_editor_callbacks</FILE>
+ags_listing_editor_parent_set_callback
+ags_listing_editor_set_pads_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_log</FILE>
+<TITLE>AgsLog</TITLE>
+AgsLog
+AgsLogClass
+AgsLogFlags
+AgsLogFormatedMessage
+AgsLogMessage
+ags_default_log
+ags_log_debug
+ags_log_message
+ags_log_start_queue
+ags_log_stop_queue
+<SUBSECTION Standard>
+AGS_IS_LOG
+AGS_IS_LOG_CLASS
+AGS_LOG
+AGS_LOG_CLASS
+AGS_LOG_GET_CLASS
+AGS_TYPE_LOG
+</SECTION>
+
+<SECTION>
+<FILE>ags_loop_channel</FILE>
+<TITLE>AgsLoopChannel</TITLE>
+AgsLoopChannel
+AgsLoopChannelClass
+ags_loop_channel_new
+<SUBSECTION Standard>
+AGS_IS_LOOP_CHANNEL
+AGS_IS_LOOP_CHANNEL_CLASS
+AGS_LOOP_CHANNEL
+AGS_LOOP_CHANNEL_CLASS
+AGS_LOOP_CHANNEL_GET_CLASS
+AGS_TYPE_LOOP_CHANNEL
+ags_loop_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_loop_channel_run</FILE>
+<TITLE>AgsLoopChannelRun</TITLE>
+AgsLoopChannelRun
+AgsLoopChannelRunClass
+ags_loop_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_LOOP_CHANNEL_RUN
+AGS_IS_LOOP_CHANNEL_RUN_CLASS
+AGS_LOOP_CHANNEL_RUN
+AGS_LOOP_CHANNEL_RUN_CLASS
+AGS_LOOP_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_LOOP_CHANNEL_RUN
+ags_loop_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine</FILE>
+<TITLE>AgsMachine</TITLE>
+AGS_MACHINE_DEFAULT_BUILD_ID
+AGS_MACHINE_DEFAULT_VERSION
+AgsMachine
+AgsMachineClass
+AgsMachineFileInputFlags
+AgsMachineFlags
+ags_machine_add_default_recalls
+ags_machine_file_chooser_dialog_new
+ags_machine_find_by_name
+ags_machine_find_port
+ags_machine_get_possible_links
+ags_machine_new
+ags_machine_open_files
+ags_machine_set_run
+<SUBSECTION Standard>
+AGS_IS_MACHINE
+AGS_IS_MACHINE_CLASS
+AGS_MACHINE
+AGS_MACHINE_CLASS
+AGS_MACHINE_GET_CLASS
+AGS_TYPE_MACHINE
+ags_machine_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_callbacks</FILE>
+ags_machine_button_press_callback
+ags_machine_destroy_callback
+ags_machine_done_callback
+ags_machine_open_response_callback
+ags_machine_parent_set_callback
+ags_machine_play_callback
+ags_machine_popup_destroy_activate_callback
+ags_machine_popup_hide_activate_callback
+ags_machine_popup_move_down_activate_callback
+ags_machine_popup_move_up_activate_callback
+ags_machine_popup_properties_activate_callback
+ags_machine_popup_rename_activate_callback
+ags_machine_popup_show_activate_callback
+ags_machine_start_failure_callback
+ags_machine_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_editor</FILE>
+<TITLE>AgsMachineEditor</TITLE>
+AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID
+AGS_MACHINE_EDITOR_DEFAULT_VERSION
+AgsMachineEditor
+AgsMachineEditorClass
+AgsMachineEditorFlags
+ags_machine_editor_add_children
+ags_machine_editor_add_input
+ags_machine_editor_add_output
+ags_machine_editor_new
+ags_machine_editor_remove_input
+ags_machine_editor_remove_output
+ags_machine_editor_set_machine
+<SUBSECTION Standard>
+AGS_IS_MACHINE_EDITOR
+AGS_IS_MACHINE_EDITOR_CLASS
+AGS_MACHINE_EDITOR
+AGS_MACHINE_EDITOR_CLASS
+AGS_MACHINE_EDITOR_GET_CLASS
+AGS_TYPE_MACHINE_EDITOR
+ags_machine_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_editor_callbacks</FILE>
+ags_machine_editor_add_callback
+ags_machine_editor_apply_callback
+ags_machine_editor_back_callback
+ags_machine_editor_cancel_callback
+ags_machine_editor_destroy_callback
+ags_machine_editor_ok_callback
+ags_machine_editor_parent_set_callback
+ags_machine_editor_remove_callback
+ags_machine_editor_show_callback
+ags_machine_editor_switch_page_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_radio_button</FILE>
+<TITLE>AgsMachineRadioButton</TITLE>
+AgsMachineRadioButton
+AgsMachineRadioButtonClass
+ags_machine_radio_button_new
+<SUBSECTION Standard>
+AGS_IS_MACHINE_RADIO_BUTTON
+AGS_IS_MACHINE_RADIO_BUTTON_CLASS
+AGS_MACHINE_RADIO_BUTTON
+AGS_MACHINE_RADIO_BUTTON_CLASS
+AGS_MACHINE_RADIO_BUTTON_GET_CLASS
+AGS_TYPE_MACHINE_RADIO_BUTTON
+ags_machine_radio_button_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_selection</FILE>
+<TITLE>AgsMachineSelection</TITLE>
+AgsMachineSelection
+AgsMachineSelectionClass
+ags_machine_selection_new
+ags_machine_selection_run
+<SUBSECTION Standard>
+AGS_IS_MACHINE_SELECTION
+AGS_IS_MACHINE_SELECTION_CLASS
+AGS_MACHINE_SELECTION
+AGS_MACHINE_SELECTION_CLASS
+AGS_MACHINE_SELECTION_GET_CLASS
+AGS_TYPE_MACHINE_SELECTION
+ags_machine_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_selector</FILE>
+<TITLE>AgsMachineSelector</TITLE>
+AgsMachineSelector
+AgsMachineSelectorClass
+ags_machine_selector_changed
+ags_machine_selector_new
+ags_machine_selector_popup_new
+<SUBSECTION Standard>
+AGS_IS_MACHINE_SELECTOR
+AGS_IS_MACHINE_SELECTOR_CLASS
+AGS_MACHINE_SELECTOR
+AGS_MACHINE_SELECTOR_CLASS
+AGS_MACHINE_SELECTOR_GET_CLASS
+AGS_TYPE_MACHINE_SELECTOR
+ags_machine_selector_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_machine_selector_callbacks</FILE>
+ags_machine_selector_popup_add_index_callback
+ags_machine_selector_popup_add_tab_callback
+ags_machine_selector_popup_link_index_callback
+ags_machine_selector_popup_remove_index_callback
+ags_machine_selector_popup_remove_tab_callback
+ags_machine_selector_radio_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_main_loop</FILE>
+<TITLE>AgsMainLoop</TITLE>
+AgsMainLoop
+AgsMainLoopInterface
+ags_main_loop_get_async_queue
+ags_main_loop_get_last_sync
+ags_main_loop_get_tic
+ags_main_loop_set_async_queue
+ags_main_loop_set_last_sync
+ags_main_loop_set_tic
+<SUBSECTION Standard>
+AGS_IS_MAIN_LOOP
+AGS_IS_MAIN_LOOP_INTERFACE
+AGS_MAIN_LOOP
+AGS_MAIN_LOOP_GET_INTERFACE
+AGS_MAIN_LOOP_INTERFACE
+AGS_TYPE_MAIN_LOOP
+ags_main_loop_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_marshal</FILE>
+g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT
+g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT
+g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER
+g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING
+g_cclosure_user_marshal_OBJECT__VOID
+g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER
+g_cclosure_user_marshal_ULONG__VOID
+g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN
+g_cclosure_user_marshal_VOID__OBJECT_UINT
+g_cclosure_user_marshal_VOID__STRING_POINTER
+g_cclosure_user_marshal_VOID__UINT_DOUBLE
+g_cclosure_user_marshal_VOID__UINT_INT
+g_cclosure_user_marshal_VOID__UINT_UINT
+g_cclosure_user_marshal_VOID__UINT_UINT_UINT
+g_cclosure_user_marshal_VOID__ULONG_UINT
+g_cclosure_user_marshal_VOID__ULONG_UINT_UINT
+</SECTION>
+
+<SECTION>
+<FILE>ags_matrix</FILE>
+<TITLE>AgsMatrix</TITLE>
+AGS_MATRIX_CELL_HEIGHT
+AGS_MATRIX_CELL_WIDTH
+AGS_MATRIX_OCTAVE
+AGS_MATRIX_PATTERN_CONTROLS
+AgsMatrix
+AgsMatrixClass
+ags_matrix_draw_gutter
+ags_matrix_draw_matrix
+ags_matrix_highlight_gutter_point
+ags_matrix_input_map_recall
+ags_matrix_new
+ags_matrix_output_map_recall
+ags_matrix_redraw_gutter_point
+ags_matrix_unpaint_gutter_point
+<SUBSECTION Standard>
+AGS_IS_MATRIX
+AGS_IS_MATRIX_CLASS
+AGS_MATRIX
+AGS_MATRIX_CLASS
+AGS_MATRIX_GET_CLASS
+AGS_TYPE_MATRIX
+ags_matrix_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_matrix_callbacks</FILE>
+ags_matrix_adjustment_value_changed_callback
+ags_matrix_bpm_callback
+ags_matrix_done_callback
+ags_matrix_drawing_area_button_press_callback
+ags_matrix_drawing_area_expose_callback
+ags_matrix_index_callback
+ags_matrix_length_spin_callback
+ags_matrix_loop_button_callback
+ags_matrix_parent_set_callback
+ags_matrix_tact_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu</FILE>
+<TITLE>AgsMenu</TITLE>
+AgsMenu
+AgsMenuClass
+ags_menu_new
+<SUBSECTION Standard>
+AGS_IS_MENU
+AGS_IS_MENU_CLASS
+AGS_MENU
+AGS_MENU_CLASS
+AGS_MENU_GET_CLASS
+AGS_TYPE_MENU
+ags_menu_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu_bar</FILE>
+<TITLE>AgsMenuBar</TITLE>
+AgsMenuBar
+AgsMenuBarClass
+ags_menu_bar_new
+ags_tact_combo_box_new
+ags_tact_menu_new
+ags_zoom_combo_box_new
+ags_zoom_menu_new
+<SUBSECTION Standard>
+AGS_IS_MENU_BAR
+AGS_IS_MENU_BAR_CLASS
+AGS_MENU_BAR
+AGS_MENU_BAR_CLASS
+AGS_MENU_BAR_GET_CLASS
+AGS_TYPE_MENU_BAR
+ags_menu_bar_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu_bar_callbacks</FILE>
+ags_menu_bar_about_callback
+ags_menu_bar_add_callback
+ags_menu_bar_add_drum_callback
+ags_menu_bar_add_ffplayer_callback
+ags_menu_bar_add_matrix_callback
+ags_menu_bar_add_mixer_callback
+ags_menu_bar_add_panel_callback
+ags_menu_bar_add_synth_callback
+ags_menu_bar_destroy_callback
+ags_menu_bar_export_callback
+ags_menu_bar_open_callback
+ags_menu_bar_preferences_callback
+ags_menu_bar_quit_callback
+ags_menu_bar_remove_callback
+ags_menu_bar_save_as_callback
+ags_menu_bar_save_callback
+ags_menu_bar_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_menu_item</FILE>
+<TITLE>AgsMenuItem</TITLE>
+AgsMenuItem
+AgsMenuItemClass
+ags_menu_item_new
+<SUBSECTION Standard>
+AGS_IS_MENU_ITEM
+AGS_IS_MENU_ITEM_CLASS
+AGS_MENU_ITEM
+AGS_MENU_ITEM_CLASS
+AGS_MENU_ITEM_GET_CLASS
+AGS_TYPE_MENU_ITEM
+ags_menu_item_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_meter</FILE>
+<TITLE>AgsMeter</TITLE>
+AgsMeter
+AgsMeterClass
+ags_meter_new
+ags_meter_paint
+ags_meter_sound_string
+<SUBSECTION Standard>
+AGS_IS_METER
+AGS_IS_METER_CLASS
+AGS_METER
+AGS_METER_CLASS
+AGS_METER_GET_CLASS
+AGS_TYPE_METER
+ags_meter_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_meter_callbacks</FILE>
+ags_meter_configure_event
+ags_meter_destroy_callback
+ags_meter_expose_event
+ags_meter_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer</FILE>
+<TITLE>AgsMixer</TITLE>
+AgsMixer
+AgsMixerClass
+ags_mixer_new
+<SUBSECTION Standard>
+AGS_IS_MIXER
+AGS_IS_MIXER_CLASS
+AGS_MIXER
+AGS_MIXER_CLASS
+AGS_MIXER_GET_CLASS
+AGS_TYPE_MIXER
+ags_mixer_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer_callbacks</FILE>
+ags_mixer_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer_input_line</FILE>
+<TITLE>AgsMixerInputLine</TITLE>
+AgsMixerInputLine
+AgsMixerInputLineClass
+ags_mixer_input_line_map_recall
+ags_mixer_input_line_new
+<SUBSECTION Standard>
+AGS_IS_MIXER_INPUT_LINE
+AGS_IS_MIXER_INPUT_LINE_CLASS
+AGS_MIXER_INPUT_LINE
+AGS_MIXER_INPUT_LINE_CLASS
+AGS_MIXER_INPUT_LINE_GET_CLASS
+AGS_TYPE_MIXER_INPUT_LINE
+ags_mixer_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mixer_input_pad</FILE>
+<TITLE>AgsMixerInputPad</TITLE>
+AgsMixerInputPad
+AgsMixerInputPadClass
+ags_mixer_input_pad_new
+<SUBSECTION Standard>
+AGS_IS_MIXER_INPUT_PAD
+AGS_IS_MIXER_INPUT_PAD_CLASS
+AGS_MIXER_INPUT_PAD
+AGS_MIXER_INPUT_PAD_CLASS
+AGS_MIXER_INPUT_PAD_GET_CLASS
+AGS_TYPE_MIXER_INPUT_PAD
+ags_mixer_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mutable</FILE>
+<TITLE>AgsMutable</TITLE>
+AgsMutable
+AgsMutableInterface
+ags_mutable_set_muted
+<SUBSECTION Standard>
+AGS_IS_MUTABLE
+AGS_IS_MUTABLE_INTERFACE
+AGS_MUTABLE
+AGS_MUTABLE_GET_INTERFACE
+AGS_MUTABLE_INTERFACE
+AGS_TYPE_MUTABLE
+ags_mutable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_audio</FILE>
+<TITLE>AgsMuteAudio</TITLE>
+AgsMuteAudio
+AgsMuteAudioClass
+ags_mute_audio_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_AUDIO
+AGS_IS_MUTE_AUDIO_CLASS
+AGS_MUTE_AUDIO
+AGS_MUTE_AUDIO_CLASS
+AGS_MUTE_AUDIO_GET_CLASS
+AGS_TYPE_MUTE_AUDIO
+ags_mute_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_audio_signal</FILE>
+<TITLE>AgsMuteAudioSignal</TITLE>
+AgsMuteAudioSignal
+AgsMuteAudioSignalClass
+ags_mute_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_AUDIO_SIGNAL
+AGS_IS_MUTE_AUDIO_SIGNAL_CLASS
+AGS_MUTE_AUDIO_SIGNAL
+AGS_MUTE_AUDIO_SIGNAL_CLASS
+AGS_MUTE_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_MUTE_AUDIO_SIGNAL
+ags_mute_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_channel</FILE>
+<TITLE>AgsMuteChannel</TITLE>
+AgsMuteChannel
+AgsMuteChannelClass
+ags_mute_channel_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_CHANNEL
+AGS_IS_MUTE_CHANNEL_CLASS
+AGS_MUTE_CHANNEL
+AGS_MUTE_CHANNEL_CLASS
+AGS_MUTE_CHANNEL_GET_CLASS
+AGS_TYPE_MUTE_CHANNEL
+ags_mute_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_channel_run</FILE>
+<TITLE>AgsMuteChannelRun</TITLE>
+AgsMuteChannelRun
+AgsMuteChannelRunClass
+ags_mute_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_CHANNEL_RUN
+AGS_IS_MUTE_CHANNEL_RUN_CLASS
+AGS_MUTE_CHANNEL_RUN
+AGS_MUTE_CHANNEL_RUN_CLASS
+AGS_MUTE_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_MUTE_CHANNEL_RUN
+ags_mute_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_mute_recycling</FILE>
+<TITLE>AgsMuteRecycling</TITLE>
+AgsMuteRecycling
+AgsMuteRecyclingClass
+ags_mute_recycling_new
+<SUBSECTION Standard>
+AGS_IS_MUTE_RECYCLING
+AGS_IS_MUTE_RECYCLING_CLASS
+AGS_MUTE_RECYCLING
+AGS_MUTE_RECYCLING_CLASS
+AGS_MUTE_RECYCLING_GET_CLASS
+AGS_TYPE_MUTE_RECYCLING
+ags_mute_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_navigation</FILE>
+<TITLE>AgsNavigation</TITLE>
+AGS_NAVIGATION_DEFAULT_TACT_STEP
+AGS_NAVIGATION_REWIND_STEPS
+AGS_NAVIGATION_SEEK_STEPS
+AgsNavigation
+AgsNavigationClass
+AgsNavigationFlags
+ags_navigation_change_position
+ags_navigation_new
+ags_navigation_set_seeking_sensitive
+ags_navigation_tact_to_time_string
+ags_navigation_update_time_string
+<SUBSECTION Standard>
+AGS_IS_NAVIGATION
+AGS_IS_NAVIGATION_CLASS
+AGS_NAVIGATION
+AGS_NAVIGATION_CLASS
+AGS_NAVIGATION_GET_CLASS
+AGS_TYPE_NAVIGATION
+ags_navigation_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_navigation_callbacks</FILE>
+ags_navigation_bpm_callback
+ags_navigation_destroy_callback
+ags_navigation_duration_tact_callback
+ags_navigation_expander_callback
+ags_navigation_forward_callback
+ags_navigation_loop_callback
+ags_navigation_loop_left_tact_callback
+ags_navigation_loop_right_tact_callback
+ags_navigation_next_callback
+ags_navigation_parent_set_callback
+ags_navigation_play_callback
+ags_navigation_position_tact_callback
+ags_navigation_prev_callback
+ags_navigation_raster_callback
+ags_navigation_rewind_callback
+ags_navigation_show_callback
+ags_navigation_stop_callback
+ags_navigation_tic_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_notation</FILE>
+<TITLE>AgsNotation</TITLE>
+AGS_NOTATION_DEFAULT_BPM
+AGS_NOTATION_DEFAULT_DURATION
+AGS_NOTATION_DEFAULT_JIFFIE
+AGS_NOTATION_DEFAULT_LENGTH
+AGS_NOTATION_MAXIMUM_NOTE_LENGTH
+AGS_NOTATION_MINIMUM_NOTE_LENGTH
+AGS_NOTATION_TICS_PER_BEAT
+AgsNotation
+AgsNotationClass
+AgsNotationFlags
+ags_notation_add_note
+ags_notation_add_point_to_selection
+ags_notation_add_region_to_selection
+ags_notation_copy_selection
+ags_notation_cut_selection
+ags_notation_find_near_timestamp
+ags_notation_find_point
+ags_notation_find_region
+ags_notation_free_selection
+ags_notation_get_current
+ags_notation_get_selection
+ags_notation_insert_from_clipboard
+ags_notation_is_note_selected
+ags_notation_new
+ags_notation_remove_note_at_position
+ags_notation_remove_point_from_selection
+ags_notation_remove_region_from_selection
+<SUBSECTION Standard>
+AGS_IS_NOTATION
+AGS_IS_NOTATION_CLASS
+AGS_NOTATION
+AGS_NOTATION_CLASS
+AGS_NOTATION_GET_CLASS
+AGS_TYPE_NOTATION
+ags_notation_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_note</FILE>
+<TITLE>AgsNote</TITLE>
+AgsNote
+AgsNoteClass
+AgsNoteFlags
+ags_note_duplicate
+ags_note_new
+<SUBSECTION Standard>
+AGS_IS_NOTE
+AGS_IS_NOTE_CLASS
+AGS_NOTE
+AGS_NOTE_CLASS
+AGS_NOTE_GET_CLASS
+AGS_TYPE_NOTE
+ags_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_note_edit</FILE>
+<TITLE>AgsNoteEdit</TITLE>
+AGS_NOTE_EDIT_MAX_CONTROLS
+AgsNoteEdit
+AgsNoteEditClass
+AgsNoteEditFlags
+AgsNoteEditResetFlags
+ags_note_edit_draw_notation
+ags_note_edit_draw_position
+ags_note_edit_draw_scroll
+ags_note_edit_draw_segment
+ags_note_edit_new
+ags_note_edit_reset_horizontally
+ags_note_edit_reset_vertically
+ags_note_edit_set_map_height
+<SUBSECTION Standard>
+AGS_IS_NOTE_EDIT
+AGS_IS_NOTE_EDIT_CLASS
+AGS_NOTE_EDIT
+AGS_NOTE_EDIT_CLASS
+AGS_NOTE_EDIT_GET_CLASS
+AGS_TYPE_NOTE_EDIT
+ags_note_edit_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_note_edit_callbacks</FILE>
+ags_note_edit_drawing_area_button_press_event
+ags_note_edit_drawing_area_button_release_event
+ags_note_edit_drawing_area_configure_event
+ags_note_edit_drawing_area_expose_event
+ags_note_edit_drawing_area_motion_notify_event
+ags_note_edit_hscrollbar_value_changed
+ags_note_edit_vscrollbar_value_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_notebook</FILE>
+<TITLE>AgsNotebook</TITLE>
+AGS_NOTEBOOK_TAB
+AgsNotebook
+AgsNotebookClass
+AgsNotebookTab
+AgsNotebookTabFlags
+ags_notebook_add_child
+ags_notebook_add_tab
+ags_notebook_insert_tab
+ags_notebook_new
+ags_notebook_next_active_tab
+ags_notebook_remove_child
+ags_notebook_remove_tab
+ags_notebook_tab_index
+<SUBSECTION Standard>
+AGS_IS_NOTEBOOK
+AGS_IS_NOTEBOOK_CLASS
+AGS_NOTEBOOK
+AGS_NOTEBOOK_CLASS
+AGS_NOTEBOOK_GET_CLASS
+AGS_TYPE_NOTEBOOK
+ags_notebook_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_notebook_callbacks</FILE>
+ags_notebook_machine_changed_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_open_file</FILE>
+<TITLE>AgsOpenFile</TITLE>
+AgsOpenFile
+AgsOpenFileClass
+ags_open_file_new
+<SUBSECTION Standard>
+AGS_IS_OPEN_FILE
+AGS_IS_OPEN_FILE_CLASS
+AGS_OPEN_FILE
+AGS_OPEN_FILE_CLASS
+AGS_OPEN_FILE_GET_CLASS
+AGS_TYPE_OPEN_FILE
+ags_open_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_open_single_file</FILE>
+<TITLE>AgsOpenSingleFile</TITLE>
+AgsOpenSingleFile
+AgsOpenSingleFileClass
+ags_open_single_file_new
+<SUBSECTION Standard>
+AGS_IS_OPEN_SINGLE_FILE
+AGS_IS_OPEN_SINGLE_FILE_CLASS
+AGS_OPEN_SINGLE_FILE
+AGS_OPEN_SINGLE_FILE_CLASS
+AGS_OPEN_SINGLE_FILE_GET_CLASS
+AGS_TYPE_OPEN_SINGLE_FILE
+ags_open_single_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_option_menu</FILE>
+<TITLE>AgsOptionMenu</TITLE>
+AgsOptionMenu
+AgsOptionMenuClass
+ags_option_menu_new
+<SUBSECTION Standard>
+AGS_IS_OPTION_MENU
+AGS_IS_OPTION_MENU_CLASS
+AGS_OPTION_MENU
+AGS_OPTION_MENU_CLASS
+AGS_OPTION_MENU_GET_CLASS
+AGS_TYPE_OPTION_MENU
+ags_option_menu_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_oscillator</FILE>
+<TITLE>AgsOscillator</TITLE>
+AgsOscillator
+AgsOscillatorClass
+ags_file_read_oscillator
+ags_file_write_oscillator
+ags_oscillator_new
+<SUBSECTION Standard>
+AGS_IS_OSCILLATOR
+AGS_IS_OSCILLATOR_CLASS
+AGS_OSCILLATOR
+AGS_OSCILLATOR_CLASS
+AGS_OSCILLATOR_GET_CLASS
+AGS_TYPE_OSCILLATOR
+ags_oscillator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_oscillator_callbacks</FILE>
+ags_oscillator_attack_callback
+ags_oscillator_frame_count_callback
+ags_oscillator_frequency_callback
+ags_oscillator_phase_callback
+ags_oscillator_volume_callback
+ags_oscillator_wave_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_output</FILE>
+<TITLE>AgsOutput</TITLE>
+AgsOutput
+AgsOutputClass
+ags_output_find_first_input_recycling
+ags_output_find_last_input_recycling
+ags_output_new
+<SUBSECTION Standard>
+AGS_IS_OUTPUT
+AGS_IS_OUTPUT_CLASS
+AGS_OUTPUT
+AGS_OUTPUT_CLASS
+AGS_OUTPUT_GET_CLASS
+AGS_TYPE_OUTPUT
+ags_output_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_packable</FILE>
+<TITLE>AgsPackable</TITLE>
+AgsPackable
+AgsPackableInterface
+ags_packable_pack
+ags_packable_unpack
+<SUBSECTION Standard>
+AGS_IS_PACKABLE
+AGS_IS_PACKABLE_INTERFACE
+AGS_PACKABLE
+AGS_PACKABLE_GET_INTERFACE
+AGS_PACKABLE_INTERFACE
+AGS_TYPE_PACKABLE
+ags_packable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad</FILE>
+<TITLE>AgsPad</TITLE>
+AGS_PAD_DEFAULT_BUILD_ID
+AGS_PAD_DEFAULT_VERSION
+AgsPad
+AgsPadClass
+AgsPadFlags
+ags_pad_find_port
+ags_pad_new
+ags_pad_resize_lines
+ags_pad_set_channel
+<SUBSECTION Standard>
+AGS_IS_PAD
+AGS_IS_PAD_CLASS
+AGS_PAD
+AGS_PAD_CLASS
+AGS_PAD_GET_CLASS
+AGS_TYPE_PAD
+ags_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad_callbacks</FILE>
+ags_pad_destroy_callback
+ags_pad_group_clicked_callback
+ags_pad_mute_clicked_callback
+ags_pad_option_changed_callback
+ags_pad_parent_set_callback
+ags_pad_show_callback
+ags_pad_solo_clicked_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad_editor</FILE>
+<TITLE>AgsPadEditor</TITLE>
+AGS_PAD_EDITOR_DEFAULT_BUILD_ID
+AGS_PAD_EDITOR_DEFAULT_VERSION
+AgsPadEditor
+AgsPadEditorClass
+ags_pad_editor_new
+ags_pad_editor_set_channel
+<SUBSECTION Standard>
+AGS_IS_PAD_EDITOR
+AGS_IS_PAD_EDITOR_CLASS
+AGS_PAD_EDITOR
+AGS_PAD_EDITOR_CLASS
+AGS_PAD_EDITOR_GET_CLASS
+AGS_TYPE_PAD_EDITOR
+ags_pad_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_pad_editor_callbacks</FILE>
+ags_pad_editor_destroy_callback
+ags_pad_editor_parent_set_callback
+ags_pad_editor_set_audio_channels_callback
+ags_pad_editor_show_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel</FILE>
+<TITLE>AgsPanel</TITLE>
+AgsPanel
+AgsPanelClass
+ags_panel_new
+<SUBSECTION Standard>
+AGS_IS_PANEL
+AGS_IS_PANEL_CLASS
+AGS_PANEL
+AGS_PANEL_CLASS
+AGS_PANEL_GET_CLASS
+AGS_TYPE_PANEL
+ags_panel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel_callbacks</FILE>
+ags_panel_parent_set_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel_input_line</FILE>
+<TITLE>AgsPanelInputLine</TITLE>
+AgsPanelInputLine
+AgsPanelInputLineClass
+ags_panel_input_line_map_recall
+ags_panel_input_line_new
+<SUBSECTION Standard>
+AGS_IS_PANEL_INPUT_LINE
+AGS_IS_PANEL_INPUT_LINE_CLASS
+AGS_PANEL_INPUT_LINE
+AGS_PANEL_INPUT_LINE_CLASS
+AGS_PANEL_INPUT_LINE_GET_CLASS
+AGS_TYPE_PANEL_INPUT_LINE
+ags_panel_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_panel_input_pad</FILE>
+<TITLE>AgsPanelInputPad</TITLE>
+AgsPanelInputPad
+AgsPanelInputPadClass
+ags_panel_input_pad_new
+<SUBSECTION Standard>
+AGS_IS_PANEL_INPUT_PAD
+AGS_IS_PANEL_INPUT_PAD_CLASS
+AGS_PANEL_INPUT_PAD
+AGS_PANEL_INPUT_PAD_CLASS
+AGS_PANEL_INPUT_PAD_GET_CLASS
+AGS_TYPE_PANEL_INPUT_PAD
+ags_panel_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_parameter</FILE>
+ags_parameter_grow
+</SECTION>
+
+<SECTION>
+<FILE>ags_pattern</FILE>
+<TITLE>AgsPattern</TITLE>
+AgsPattern
+AgsPatternClass
+ags_pattern_get_bit
+ags_pattern_get_by_timestamp
+ags_pattern_new
+ags_pattern_set_dim
+ags_pattern_toggle_bit
+<SUBSECTION Standard>
+AGS_IS_PATTERN
+AGS_IS_PATTERN_CLASS
+AGS_PATTERN
+AGS_PATTERN_CLASS
+AGS_PATTERN_GET_CLASS
+AGS_TYPE_PATTERN
+ags_pattern_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_peak_channel</FILE>
+<TITLE>AgsPeakChannel</TITLE>
+AgsPeakChannel
+AgsPeakChannelClass
+ags_peak_channel_new
+ags_peak_channel_retrieve_peak
+<SUBSECTION Standard>
+AGS_IS_PEAK_CHANNEL
+AGS_IS_PEAK_CHANNEL_CLASS
+AGS_PEAK_CHANNEL
+AGS_PEAK_CHANNEL_CLASS
+AGS_PEAK_CHANNEL_GET_CLASS
+AGS_TYPE_PEAK_CHANNEL
+ags_peak_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_peak_channel_run</FILE>
+<TITLE>AgsPeakChannelRun</TITLE>
+AgsPeakChannelRun
+AgsPeakChannelRunClass
+ags_peak_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_PEAK_CHANNEL_RUN
+AGS_IS_PEAK_CHANNEL_RUN_CLASS
+AGS_PEAK_CHANNEL_RUN
+AGS_PEAK_CHANNEL_RUN_CLASS
+AGS_PEAK_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_PEAK_CHANNEL_RUN
+ags_peak_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_performance_preferences</FILE>
+<TITLE>AgsPerformancePreferences</TITLE>
+AgsPerformancePreferences
+AgsPerformancePreferencesClass
+ags_performance_preferences_new
+<SUBSECTION Standard>
+AGS_IS_PERFORMANCE_PREFERENCES
+AGS_IS_PERFORMANCE_PREFERENCES_CLASS
+AGS_PERFORMANCE_PREFERENCES
+AGS_PERFORMANCE_PREFERENCES_CLASS
+AGS_PERFORMANCE_PREFERENCES_GET_CLASS
+AGS_TYPE_PERFORMANCE_PREFERENCES
+ags_performance_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_performance_preferences_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_persistable</FILE>
+<TITLE>AgsPersistable</TITLE>
+AgsPersistable
+AgsPersistableInterface
+ags_persistable_read
+ags_persistable_read_link
+ags_persistable_write
+ags_persistable_write_link
+<SUBSECTION Standard>
+AGS_IS_PERSISTABLE
+AGS_IS_PERSISTABLE_INTERFACE
+AGS_PERSISTABLE
+AGS_PERSISTABLE_GET_INTERFACE
+AGS_PERSISTABLE_INTERFACE
+AGS_TYPE_PERSISTABLE
+ags_persistable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_audio</FILE>
+<TITLE>AgsPlayAudio</TITLE>
+AgsPlayAudio
+AgsPlayAudioClass
+ags_play_audio_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_AUDIO
+AGS_IS_PLAY_AUDIO_CLASS
+AGS_PLAY_AUDIO
+AGS_PLAY_AUDIO_CLASS
+AGS_PLAY_AUDIO_GET_CLASS
+AGS_TYPE_PLAY_AUDIO
+ags_play_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_audio_file</FILE>
+<TITLE>AgsPlayAudioFile</TITLE>
+AgsPlayAudioFile
+AgsPlayAudioFileClass
+ags_play_audio_file_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_AUDIO_FILE
+AGS_IS_PLAY_AUDIO_FILE_CLASS
+AGS_PLAY_AUDIO_FILE
+AGS_PLAY_AUDIO_FILE_CLASS
+AGS_PLAY_AUDIO_FILE_GET_CLASS
+AGS_TYPE_PLAY_AUDIO_FILE
+ags_play_audio_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_audio_signal</FILE>
+<TITLE>AgsPlayAudioSignal</TITLE>
+AgsPlayAudioSignal
+AgsPlayAudioSignalClass
+ags_play_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_AUDIO_SIGNAL
+AGS_IS_PLAY_AUDIO_SIGNAL_CLASS
+AGS_PLAY_AUDIO_SIGNAL
+AGS_PLAY_AUDIO_SIGNAL_CLASS
+AGS_PLAY_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_PLAY_AUDIO_SIGNAL
+ags_play_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_channel</FILE>
+<TITLE>AgsPlayChannel</TITLE>
+AgsPlayChannel
+AgsPlayChannelClass
+ags_play_channel_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_CHANNEL
+AGS_IS_PLAY_CHANNEL_CLASS
+AGS_PLAY_CHANNEL
+AGS_PLAY_CHANNEL_CLASS
+AGS_PLAY_CHANNEL_GET_CLASS
+AGS_TYPE_PLAY_CHANNEL
+ags_play_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_channel_run</FILE>
+<TITLE>AgsPlayChannelRun</TITLE>
+AgsPlayChannelRun
+AgsPlayChannelRunClass
+AgsPlayChannelRunFlags
+ags_play_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_CHANNEL_RUN
+AGS_IS_PLAY_CHANNEL_RUN_CLASS
+AGS_PLAY_CHANNEL_RUN
+AGS_PLAY_CHANNEL_RUN_CLASS
+AGS_PLAY_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_PLAY_CHANNEL_RUN
+ags_play_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_channel_run_master</FILE>
+<TITLE>AgsPlayChannelRunMaster</TITLE>
+AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER
+AgsPlayChannelRunMaster
+AgsPlayChannelRunMasterClass
+AgsPlayChannelRunMasterFlags
+AgsPlayChannelRunMasterStreamer
+ags_play_channel_run_master_find_streamer
+ags_play_channel_run_master_new
+ags_play_channel_run_master_streamer_alloc
+<SUBSECTION Standard>
+AGS_IS_PLAY_CHANNEL_RUN_MASTER
+AGS_IS_PLAY_CHANNEL_RUN_MASTER_CLASS
+AGS_PLAY_CHANNEL_RUN_MASTER
+AGS_PLAY_CHANNEL_RUN_MASTER_CLASS
+AGS_PLAY_CHANNEL_RUN_MASTER_GET_CLASS
+AGS_TYPE_PLAY_CHANNEL_RUN_MASTER
+ags_play_channel_run_master_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_notation_audio</FILE>
+<TITLE>AgsPlayNotationAudio</TITLE>
+AgsPlayNotationAudio
+AgsPlayNotationAudioClass
+ags_play_notation_audio_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_NOTATION_AUDIO
+AGS_IS_PLAY_NOTATION_AUDIO_CLASS
+AGS_PLAY_NOTATION_AUDIO
+AGS_PLAY_NOTATION_AUDIO_CLASS
+AGS_PLAY_NOTATION_AUDIO_GET_CLASS
+AGS_TYPE_PLAY_NOTATION_AUDIO
+ags_play_notation_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_notation_audio_run</FILE>
+<TITLE>AgsPlayNotationAudioRun</TITLE>
+AgsPlayNotationAudioRun
+AgsPlayNotationAudioRunClass
+AgsPlayNotationAudioRunFlags
+ags_play_notation_audio_run_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_NOTATION_AUDIO_RUN
+AGS_IS_PLAY_NOTATION_AUDIO_RUN_CLASS
+AGS_PLAY_NOTATION_AUDIO_RUN
+AGS_PLAY_NOTATION_AUDIO_RUN_CLASS
+AGS_PLAY_NOTATION_AUDIO_RUN_GET_CLASS
+AGS_TYPE_PLAY_NOTATION_AUDIO_RUN
+ags_play_notation_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_note</FILE>
+<TITLE>AgsPlayNote</TITLE>
+AgsPlayNote
+AgsPlayNoteClass
+ags_play_note_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_NOTE
+AGS_IS_PLAY_NOTE_CLASS
+AGS_PLAY_NOTE
+AGS_PLAY_NOTE_CLASS
+AGS_PLAY_NOTE_GET_CLASS
+AGS_TYPE_PLAY_NOTE
+ags_play_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_pattern</FILE>
+<TITLE>AgsPlayPattern</TITLE>
+AgsPlayPattern
+AgsPlayPatternClass
+ags_play_pattern_connect
+<SUBSECTION Standard>
+AGS_PLAY_PATTERN
+AGS_PLAY_PATTERN_CLASS
+AGS_TYPE_PLAY_PATTERN
+ags_play_pattern_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_play_recycling</FILE>
+<TITLE>AgsPlayRecycling</TITLE>
+AgsPlayRecycling
+AgsPlayRecyclingClass
+ags_play_recycling_new
+<SUBSECTION Standard>
+AGS_IS_PLAY_RECYCLING
+AGS_IS_PLAY_RECYCLING_CLASS
+AGS_PLAY_RECYCLING
+AGS_PLAY_RECYCLING_CLASS
+AGS_PLAY_RECYCLING_GET_CLASS
+AGS_TYPE_PLAY_RECYCLING
+ags_play_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_playable</FILE>
+<TITLE>AgsPlayable</TITLE>
+AGS_PLAYABLE_ERROR
+AgsPlayable
+AgsPlayableError
+AgsPlayableInterface
+ags_playable_close
+ags_playable_error_quark
+ags_playable_flush
+ags_playable_info
+ags_playable_iter_next
+ags_playable_iter_start
+ags_playable_level_count
+ags_playable_level_select
+ags_playable_level_up
+ags_playable_nth_level
+ags_playable_open
+ags_playable_read
+ags_playable_read_audio_signal
+ags_playable_rw_open
+ags_playable_seek
+ags_playable_selected_level
+ags_playable_sublevel_names
+ags_playable_write
+<SUBSECTION Standard>
+AGS_IS_PLAYABLE
+AGS_IS_PLAYABLE_INTERFACE
+AGS_PLAYABLE
+AGS_PLAYABLE_GET_INTERFACE
+AGS_PLAYABLE_INTERFACE
+AGS_TYPE_PLAYABLE
+ags_playable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin</FILE>
+<TITLE>AgsPlugin</TITLE>
+AgsPlugin
+AgsPluginInterface
+ags_plugin_get_build_id
+ags_plugin_get_name
+ags_plugin_get_ports
+ags_plugin_get_version
+ags_plugin_get_xml_type
+ags_plugin_read
+ags_plugin_set_build_id
+ags_plugin_set_name
+ags_plugin_set_ports
+ags_plugin_set_version
+ags_plugin_set_xml_type
+ags_plugin_write
+<SUBSECTION Standard>
+AGS_IS_PLUGIN
+AGS_IS_PLUGIN_INTERFACE
+AGS_PLUGIN
+AGS_PLUGIN_GET_INTERFACE
+AGS_PLUGIN_INTERFACE
+AGS_TYPE_PLUGIN
+ags_plugin_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_factory</FILE>
+<TITLE>AgsPluginFactory</TITLE>
+AgsPluginFactory
+AgsPluginFactoryClass
+AgsPluginMetadata
+ags_plugin_factory_add
+ags_plugin_factory_create
+ags_plugin_factory_get_instance
+ags_plugin_factory_list_by_name
+ags_plugin_factory_new
+ags_plugin_factory_new_from_file
+ags_plugin_factory_read_file
+<SUBSECTION Standard>
+AGS_IS_PLUGIN_FACTORY
+AGS_IS_PLUGIN_FACTORY_CLASS
+AGS_PLUGIN_FACTORY
+AGS_PLUGIN_FACTORY_CLASS
+AGS_PLUGIN_FACTORY_GET_CLASS
+AGS_TYPE_PLUGIN_FACTORY
+ags_plugin_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_preferences</FILE>
+<TITLE>AgsPluginPreferences</TITLE>
+AgsLadspaPluginPreferences
+AgsPluginPreferences
+AgsPluginPreferencesClass
+ags_ladspa_plugin_preferences_alloc
+ags_plugin_preferences_new
+<SUBSECTION Standard>
+AGS_IS_PLUGIN_PREFERENCES
+AGS_IS_PLUGIN_PREFERENCES_CLASS
+AGS_PLUGIN_PREFERENCES
+AGS_PLUGIN_PREFERENCES_CLASS
+AGS_PLUGIN_PREFERENCES_GET_CLASS
+AGS_TYPE_PLUGIN_PREFERENCES
+ags_plugin_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_preferences_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_plugin_stock</FILE>
+AGS_PLUGIN_NAME_VOLUME
+</SECTION>
+
+<SECTION>
+<FILE>ags_port</FILE>
+<TITLE>AgsPort</TITLE>
+AgsPort
+AgsPortClass
+ags_port_find_specifier
+ags_port_new
+ags_port_safe_get_property
+ags_port_safe_read
+ags_port_safe_set_property
+ags_port_safe_write
+<SUBSECTION Standard>
+AGS_IS_PORT
+AGS_IS_PORT_CLASS
+AGS_PORT
+AGS_PORT_CLASS
+AGS_PORT_GET_CLASS
+AGS_TYPE_PORT
+ags_port_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_portable_thread</FILE>
+<TITLE>AgsPortableThread</TITLE>
+AgsPortableThread
+AgsPortableThreadClass
+AgsPortableThreadFlags
+ags_portable_thread_add_child
+ags_portable_thread_children_is_locked
+ags_portable_thread_first
+ags_portable_thread_get_toplevel
+ags_portable_thread_is_current_ready
+ags_portable_thread_is_current_synced
+ags_portable_thread_is_tree_ready
+ags_portable_thread_is_tree_synced
+ags_portable_thread_last
+ags_portable_thread_lock
+ags_portable_thread_lock_all
+ags_portable_thread_lock_children
+ags_portable_thread_lock_parent
+ags_portable_thread_lock_sibling
+ags_portable_thread_main_loop_unlock_children
+ags_portable_thread_new
+ags_portable_thread_next_children_locked
+ags_portable_thread_next_parent_locked
+ags_portable_thread_next_sibling_locked
+ags_portable_thread_parental_is_locked
+ags_portable_thread_remove_child
+ags_portable_thread_run
+ags_portable_thread_sibling_is_locked
+ags_portable_thread_signal_children
+ags_portable_thread_signal_parent
+ags_portable_thread_signal_sibling
+ags_portable_thread_start
+ags_portable_thread_stop
+ags_portable_thread_timelock
+ags_portable_thread_trylock
+ags_portable_thread_unlock
+ags_portable_thread_unlock_all
+ags_portable_thread_unlock_children
+ags_portable_thread_unlock_parent
+ags_portable_thread_unlock_sibling
+ags_portable_thread_wait_children
+ags_portable_thread_wait_parent
+ags_portable_thread_wait_sibling
+<SUBSECTION Standard>
+AGS_IS_PORTABLE_THREAD
+AGS_IS_PORTABLE_THREAD_CLASS
+AGS_PORTABLE_THREAD
+AGS_PORTABLE_THREAD_CLASS
+AGS_PORTABLE_THREAD_GET_CLASS
+AGS_TYPE_PORTABLE_THREAD
+ags_portable_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_portlet</FILE>
+<TITLE>AgsPortlet</TITLE>
+AgsPortlet
+AgsPortletInterface
+ags_portlet_get_port
+ags_portlet_list_safe_properties
+ags_portlet_safe_get_property
+ags_portlet_safe_set_property
+ags_portlet_set_port
+<SUBSECTION Standard>
+AGS_IS_PORTLET
+AGS_IS_PORTLET_INTERFACE
+AGS_PORTLET
+AGS_PORTLET_GET_INTERFACE
+AGS_PORTLET_INTERFACE
+AGS_TYPE_PORTLET
+ags_portlet_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_preferences</FILE>
+<TITLE>AgsPreferences</TITLE>
+AgsPreferences
+AgsPreferencesClass
+AgsPreferencesFlags
+ags_preferences_new
+<SUBSECTION Standard>
+AGS_IS_PREFERENCES
+AGS_IS_PREFERENCES_CLASS
+AGS_PREFERENCES
+AGS_PREFERENCES_CLASS
+AGS_PREFERENCES_GET_CLASS
+AGS_TYPE_PREFERENCES
+ags_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_preferences_callbacks</FILE>
+ags_preferences_response_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_collection_editor</FILE>
+<TITLE>AgsPropertyCollectionEditor</TITLE>
+AgsPropertyCollectionEditor
+AgsPropertyCollectionEditorClass
+ags_property_collection_editor_new
+<SUBSECTION Standard>
+AGS_IS_PROPERTY_COLLECTION_EDITOR
+AGS_IS_PROPERTY_COLLECTION_EDITOR_CLASS
+AGS_PROPERTY_COLLECTION_EDITOR
+AGS_PROPERTY_COLLECTION_EDITOR_CLASS
+AGS_PROPERTY_COLLECTION_EDITOR_GET_CLASS
+AGS_TYPE_PROPERTY_COLLECTION_EDITOR
+ags_property_collection_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_collection_editor_callbacks</FILE>
+ags_property_collection_editor_add_collection_callback
+ags_property_collection_editor_remove_collection_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_editor</FILE>
+<TITLE>AgsPropertyEditor</TITLE>
+AgsPropertyEditor
+AgsPropertyEditorClass
+AgsPropertyEditorFlags
+ags_property_editor_new
+<SUBSECTION Standard>
+AGS_IS_PROPERTY_EDITOR
+AGS_IS_PROPERTY_EDITOR_CLASS
+AGS_PROPERTY_EDITOR
+AGS_PROPERTY_EDITOR_CLASS
+AGS_PROPERTY_EDITOR_GET_CLASS
+AGS_TYPE_PROPERTY_EDITOR
+ags_property_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_editor_callbacks</FILE>
+ags_property_editor_enable_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_property_listing_editor</FILE>
+<TITLE>AgsPropertyListingEditor</TITLE>
+AgsPropertyListingEditor
+AgsPropertyListingEditorClass
+ags_property_listing_editor_new
+<SUBSECTION Standard>
+AGS_IS_PROPERTY_LISTING_EDITOR
+AGS_IS_PROPERTY_LISTING_EDITOR_CLASS
+AGS_PROPERTY_LISTING_EDITOR
+AGS_PROPERTY_LISTING_EDITOR_CLASS
+AGS_PROPERTY_LISTING_EDITOR_GET_CLASS
+AGS_TYPE_PROPERTY_LISTING_EDITOR
+ags_property_listing_editor_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall</FILE>
+<TITLE>AgsRecall</TITLE>
+AGS_RECALL_DEFAULT_BUILD_ID
+AGS_RECALL_DEFAULT_VERSION
+AGS_RECALL_HANDLER
+AgsRecall
+AgsRecallClass
+AgsRecallFlags
+AgsRecallHandler
+AgsRecallNotifyDependencyMode
+ags_recall_add_child
+ags_recall_add_dependency
+ags_recall_add_handler
+ags_recall_cancel
+ags_recall_child_added
+ags_recall_done
+ags_recall_duplicate
+ags_recall_find_by_effect
+ags_recall_find_provider
+ags_recall_find_provider_with_recycling_container
+ags_recall_find_recycling_container
+ags_recall_find_template
+ags_recall_find_type
+ags_recall_find_type_with_recycling_container
+ags_recall_get_children
+ags_recall_get_dependencies
+ags_recall_handler_alloc
+ags_recall_is_done
+ags_recall_new
+ags_recall_notify_dependency
+ags_recall_remove
+ags_recall_remove_child
+ags_recall_remove_dependency
+ags_recall_remove_handler
+ags_recall_resolve_dependencies
+ags_recall_run_init
+ags_recall_run_init_inter
+ags_recall_run_init_post
+ags_recall_run_init_pre
+ags_recall_run_inter
+ags_recall_run_post
+ags_recall_run_pre
+ags_recall_set_devout_recursive
+ags_recall_set_effect
+ags_recall_set_flags
+ags_recall_set_recall_id
+ags_recall_stop_persistent
+ags_recall_template_find_provider
+ags_recall_template_find_type
+<SUBSECTION Standard>
+AGS_IS_RECALL
+AGS_IS_RECALL_CLASS
+AGS_RECALL
+AGS_RECALL_CLASS
+AGS_RECALL_GET_CLASS
+AGS_TYPE_RECALL
+ags_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_audio</FILE>
+<TITLE>AgsRecallAudio</TITLE>
+AgsRecallAudio
+AgsRecallAudioClass
+ags_recall_audio_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_AUDIO
+AGS_IS_RECALL_AUDIO_CLASS
+AGS_RECALL_AUDIO
+AGS_RECALL_AUDIO_CLASS
+AGS_RECALL_AUDIO_GET_CLASS
+AGS_TYPE_RECALL_AUDIO
+ags_recall_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_audio_run</FILE>
+<TITLE>AgsRecallAudioRun</TITLE>
+AgsRecallAudioRun
+AgsRecallAudioRunClass
+ags_recall_audio_run_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_AUDIO_RUN
+AGS_IS_RECALL_AUDIO_RUN_CLASS
+AGS_RECALL_AUDIO_RUN
+AGS_RECALL_AUDIO_RUN_CLASS
+AGS_RECALL_AUDIO_RUN_GET_CLASS
+AGS_TYPE_RECALL_AUDIO_RUN
+ags_recall_audio_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_audio_signal</FILE>
+<TITLE>AgsRecallAudioSignal</TITLE>
+AgsRecallAudioSignal
+AgsRecallAudioSignalClass
+AgsRecallAudioSignalFlags
+ags_recall_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_AUDIO_SIGNAL
+AGS_IS_RECALL_AUDIO_SIGNAL_CLASS
+AGS_RECALL_AUDIO_SIGNAL
+AGS_RECALL_AUDIO_SIGNAL_CLASS
+AGS_RECALL_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_RECALL_AUDIO_SIGNAL
+ags_recall_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_channel</FILE>
+<TITLE>AgsRecallChannel</TITLE>
+AgsRecallChannel
+AgsRecallChannelClass
+ags_recall_channel_find_channel
+ags_recall_channel_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_CHANNEL
+AGS_IS_RECALL_CHANNEL_CLASS
+AGS_RECALL_CHANNEL
+AGS_RECALL_CHANNEL_CLASS
+AGS_RECALL_CHANNEL_GET_CLASS
+AGS_TYPE_RECALL_CHANNEL
+ags_recall_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_channel_run</FILE>
+<TITLE>AgsRecallChannelRun</TITLE>
+AgsRecallChannelRun
+AgsRecallChannelRunClass
+ags_recall_channel_run_get_run_order
+ags_recall_channel_run_new
+ags_recall_channel_run_run_order_changed
+<SUBSECTION Standard>
+AGS_IS_RECALL_CHANNEL_RUN
+AGS_IS_RECALL_CHANNEL_RUN_CLASS
+AGS_RECALL_CHANNEL_RUN
+AGS_RECALL_CHANNEL_RUN_CLASS
+AGS_RECALL_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_RECALL_CHANNEL_RUN
+ags_recall_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_channel_run_dummy</FILE>
+<TITLE>AgsRecallChannelRunDummy</TITLE>
+AgsRecallChannelRunDummy
+AgsRecallChannelRunDummyClass
+ags_recall_channel_run_dummy_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_CHANNEL_RUN_DUMMY
+AGS_IS_RECALL_CHANNEL_RUN_DUMMY_CLASS
+AGS_RECALL_CHANNEL_RUN_DUMMY
+AGS_RECALL_CHANNEL_RUN_DUMMY_CLASS
+AGS_RECALL_CHANNEL_RUN_DUMMY_GET_CLASS
+AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY
+ags_recall_channel_run_dummy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_container</FILE>
+<TITLE>AgsRecallContainer</TITLE>
+AgsRecallContainer
+AgsRecallContainerClass
+AgsRecallContainerFindFlags
+AgsRecallContainerFlags
+ags_recall_container_find
+ags_recall_container_get_recall_audio
+ags_recall_container_get_recall_audio_run
+ags_recall_container_get_recall_channel
+ags_recall_container_get_recall_channel_run
+ags_recall_container_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_CONTAINER
+AGS_IS_RECALL_CONTAINER_CLASS
+AGS_RECALL_CONTAINER
+AGS_RECALL_CONTAINER_CLASS
+AGS_RECALL_CONTAINER_GET_CLASS
+AGS_TYPE_RECALL_CONTAINER
+ags_recall_container_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_dependency</FILE>
+<TITLE>AgsRecallDependency</TITLE>
+AgsRecallDependency
+AgsRecallDependencyClass
+ags_recall_dependency_find_dependency
+ags_recall_dependency_find_dependency_by_provider
+ags_recall_dependency_new
+ags_recall_dependency_resolve
+<SUBSECTION Standard>
+AGS_IS_RECALL_DEPENDENCY
+AGS_IS_RECALL_DEPENDENCY_CLASS
+AGS_RECALL_DEPENDENCY
+AGS_RECALL_DEPENDENCY_CLASS
+AGS_RECALL_DEPENDENCY_GET_CLASS
+AGS_TYPE_RECALL_DEPENDENCY
+ags_recall_dependency_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_factory</FILE>
+<TITLE>AgsRecallFactory</TITLE>
+AgsRecallFactory
+AgsRecallFactoryClass
+AgsRecallFactoryCreateFlags
+ags_recall_factory_create
+ags_recall_factory_get_instance
+ags_recall_factory_new
+ags_recall_factory_remove
+<SUBSECTION Standard>
+AGS_IS_RECALL_FACTORY
+AGS_IS_RECALL_FACTORY_CLASS
+AGS_RECALL_FACTORY
+AGS_RECALL_FACTORY_CLASS
+AGS_RECALL_FACTORY_GET_CLASS
+AGS_TYPE_RECALL_FACTORY
+ags_recall_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_id</FILE>
+<TITLE>AgsRecallID</TITLE>
+AgsRecallID
+AgsRecallIDClass
+AgsRecallIDFlags
+ags_recall_id_add
+ags_recall_id_find_parent_recycling_container
+ags_recall_id_find_recycling_container
+ags_recall_id_get_run_stage
+ags_recall_id_new
+ags_recall_id_set_run_stage
+ags_recall_id_unset_run_stage
+<SUBSECTION Standard>
+AGS_IS_RECALL_ID
+AGS_IS_RECALL_ID_CLASS
+AGS_RECALL_ID
+AGS_RECALL_ID_CLASS
+AGS_RECALL_ID_GET_CLASS
+AGS_TYPE_RECALL_ID
+ags_recall_id_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_ladspa</FILE>
+<TITLE>AgsRecallLadspa</TITLE>
+AgsRecallLadspa
+AgsRecallLadspaClass
+ags_recall_ladpsa_find
+ags_recall_ladspa_float_to_short
+ags_recall_ladspa_load_ports
+ags_recall_ladspa_new
+ags_recall_ladspa_short_to_float
+<SUBSECTION Standard>
+AGS_IS_RECALL_LADSPA
+AGS_IS_RECALL_LADSPA_CLASS
+AGS_RECALL_LADSPA
+AGS_RECALL_LADSPA_CLASS
+AGS_RECALL_LADSPA_GET_CLASS
+AGS_TYPE_RECALL_LADSPA
+ags_recall_ladspa_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_ladspa_run</FILE>
+<TITLE>AgsRecallLadspaRun</TITLE>
+AgsRecallLadspaRun
+AgsRecallLadspaRunClass
+ags_recall_ladspa_run_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_LADSPA_RUN
+AGS_IS_RECALL_LADSPA_RUN_CLASS
+AGS_RECALL_LADSPA_RUN
+AGS_RECALL_LADSPA_RUN_CLASS
+AGS_RECALL_LADSPA_RUN_GET_CLASS
+AGS_TYPE_RECALL_LADSPA_RUN
+ags_recall_ladspa_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_recycling</FILE>
+<TITLE>AgsRecallRecycling</TITLE>
+AgsRecallRecycling
+AgsRecallRecyclingClass
+AgsRecallRecyclingFlags
+ags_recall_recycling_get_child_source
+ags_recall_recycling_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_RECYCLING
+AGS_IS_RECALL_RECYCLING_CLASS
+AGS_RECALL_RECYCLING
+AGS_RECALL_RECYCLING_CLASS
+AGS_RECALL_RECYCLING_GET_CLASS
+AGS_TYPE_RECALL_RECYCLING
+ags_recall_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recall_recycling_dummy</FILE>
+<TITLE>AgsRecallRecyclingDummy</TITLE>
+AgsRecallRecyclingDummy
+AgsRecallRecyclingDummyClass
+ags_recall_recycling_dummy_new
+<SUBSECTION Standard>
+AGS_IS_RECALL_RECYCLING_DUMMY
+AGS_IS_RECALL_RECYCLING_DUMMY_CLASS
+AGS_RECALL_RECYCLING_DUMMY
+AGS_RECALL_RECYCLING_DUMMY_CLASS
+AGS_RECALL_RECYCLING_DUMMY_GET_CLASS
+AGS_TYPE_RECALL_RECYCLING_DUMMY
+ags_recall_recycling_dummy_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_record_thread</FILE>
+<TITLE>AgsRecordThread</TITLE>
+AGS_RECORD_THREAD_DEFAULT_DELAY
+AgsRecordThread
+AgsRecordThreadClass
+ags_record_thread_new
+<SUBSECTION Standard>
+AGS_IS_RECORD_THREAD
+AGS_IS_RECORD_THREAD_CLASS
+AGS_RECORD_THREAD
+AGS_RECORD_THREAD_CLASS
+AGS_RECORD_THREAD_GET_CLASS
+AGS_TYPE_RECORD_THREAD
+ags_record_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling</FILE>
+<TITLE>AgsRecycling</TITLE>
+AgsRecycling
+AgsRecyclingClass
+AgsRecyclingFlags
+ags_recycling_add_audio_signal
+ags_recycling_create_audio_signal_with_defaults
+ags_recycling_create_audio_signal_with_frame_count
+ags_recycling_find_next_channel
+ags_recycling_new
+ags_recycling_position
+ags_recycling_remove_audio_signal
+ags_recycling_set_devout
+<SUBSECTION Standard>
+AGS_IS_RECYCLING
+AGS_IS_RECYCLING_CLASS
+AGS_RECYCLING
+AGS_RECYCLING_CLASS
+AGS_RECYCLING_GET_CLASS
+AGS_TYPE_RECYCLING
+ags_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling_container</FILE>
+<TITLE>AgsRecyclingContainer</TITLE>
+AgsRecyclingContainer
+AgsRecyclingContainerClass
+ags_recycling_container_add
+ags_recycling_container_add_child
+ags_recycling_container_find
+ags_recycling_container_find_child
+ags_recycling_container_find_parent
+ags_recycling_container_get_child_recall_id
+ags_recycling_container_get_toplevel
+ags_recycling_container_insert
+ags_recycling_container_new
+ags_recycling_container_remove
+ags_recycling_container_remove_child
+ags_recycling_container_replace
+ags_recycling_container_reset_recycling
+<SUBSECTION Standard>
+AGS_IS_RECYCLING_CONTAINER
+AGS_IS_RECYCLING_CONTAINER_CLASS
+AGS_RECYCLING_CONTAINER
+AGS_RECYCLING_CONTAINER_CLASS
+AGS_RECYCLING_CONTAINER_GET_CLASS
+AGS_TYPE_RECYCLING_CONTAINER
+ags_recycling_container_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling_thread</FILE>
+<TITLE>AgsRecyclingThread</TITLE>
+AGS_RECYCLING_THREAD_DEFAULT_JIFFIE
+AgsRecyclingThread
+AgsRecyclingThreadClass
+AgsRecyclingThreadFlags
+ags_recycling_thread_new
+ags_recycling_thread_play_audio
+ags_recycling_thread_play_channel
+<SUBSECTION Standard>
+AGS_IS_RECYCLING_THREAD
+AGS_IS_RECYCLING_THREAD_CLASS
+AGS_RECYCLING_THREAD
+AGS_RECYCLING_THREAD_CLASS
+AGS_RECYCLING_THREAD_GET_CLASS
+AGS_TYPE_RECYCLING_THREAD
+ags_recycling_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_recycling_thread_callbacks</FILE>
+ags_recycling_thread_iterate_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_registry</FILE>
+<TITLE>AgsRegistry</TITLE>
+AGS_REGISTRY_DEFAULT_ID_LENGTH
+AgsRegistry
+AgsRegistryClass
+AgsRegistryEntry
+ags_registry_add
+ags_registry_entry_alloc
+ags_registry_entry_bulk
+ags_registry_entry_find
+ags_registry_new
+<SUBSECTION Standard>
+AGS_IS_REGISTRY
+AGS_IS_REGISTRY_CLASS
+AGS_REGISTRY
+AGS_REGISTRY_CLASS
+AGS_REGISTRY_GET_CLASS
+AGS_TYPE_REGISTRY
+ags_registry_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remote_task</FILE>
+<TITLE>AgsRemoteTask</TITLE>
+AgsRemoteTask
+AgsRemoteTaskClass
+ags_remote_task_launch
+ags_remote_task_launch_timed
+ags_remote_task_new
+<SUBSECTION Standard>
+AGS_IS_REMOTE_TASK
+AGS_IS_REMOTE_TASK_CLASS
+AGS_REMOTE_TASK
+AGS_REMOTE_TASK_CLASS
+AGS_REMOTE_TASK_GET_CLASS
+AGS_TYPE_REMOTE_TASK
+ags_remote_task_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_audio</FILE>
+<TITLE>AgsRemoveAudio</TITLE>
+AgsRemoveAudio
+AgsRemoveAudioClass
+ags_remove_audio_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_AUDIO
+AGS_IS_REMOVE_AUDIO_CLASS
+AGS_REMOVE_AUDIO
+AGS_REMOVE_AUDIO_CLASS
+AGS_REMOVE_AUDIO_GET_CLASS
+AGS_TYPE_REMOVE_AUDIO
+ags_remove_audio_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_audio_signal</FILE>
+<TITLE>AgsRemoveAudioSignal</TITLE>
+AgsRemoveAudioSignal
+AgsRemoveAudioSignalClass
+ags_remove_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_AUDIO_SIGNAL
+AGS_IS_REMOVE_AUDIO_SIGNAL_CLASS
+AGS_REMOVE_AUDIO_SIGNAL
+AGS_REMOVE_AUDIO_SIGNAL_CLASS
+AGS_REMOVE_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_REMOVE_AUDIO_SIGNAL
+ags_remove_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_note</FILE>
+<TITLE>AgsRemoveNote</TITLE>
+AgsRemoveNote
+AgsRemoveNoteClass
+ags_remove_note_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_NOTE
+AGS_IS_REMOVE_NOTE_CLASS
+AGS_REMOVE_NOTE
+AGS_REMOVE_NOTE_CLASS
+AGS_REMOVE_NOTE_GET_CLASS
+AGS_TYPE_REMOVE_NOTE
+ags_remove_note_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_point_from_selection</FILE>
+<TITLE>AgsRemovePointFromSelection</TITLE>
+AgsRemovePointFromSelection
+AgsRemovePointFromSelectionClass
+ags_remove_point_from_selection_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_POINT_FROM_SELECTION
+AGS_IS_REMOVE_POINT_FROM_SELECTION_CLASS
+AGS_REMOVE_POINT_FROM_SELECTION
+AGS_REMOVE_POINT_FROM_SELECTION_CLASS
+AGS_REMOVE_POINT_FROM_SELECTION_GET_CLASS
+AGS_TYPE_REMOVE_POINT_FROM_SELECTION
+ags_remove_point_from_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_recall</FILE>
+<TITLE>AgsRemoveRecall</TITLE>
+AgsRemoveRecall
+AgsRemoveRecallClass
+ags_remove_recall_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_RECALL
+AGS_IS_REMOVE_RECALL_CLASS
+AGS_REMOVE_RECALL
+AGS_REMOVE_RECALL_CLASS
+AGS_REMOVE_RECALL_GET_CLASS
+AGS_TYPE_REMOVE_RECALL
+ags_remove_recall_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_remove_region_from_selection</FILE>
+<TITLE>AgsRemoveRegionFromSelection</TITLE>
+AgsRemoveRegionFromSelection
+AgsRemoveRegionFromSelectionClass
+ags_remove_region_from_selection_new
+<SUBSECTION Standard>
+AGS_IS_REMOVE_REGION_FROM_SELECTION
+AGS_IS_REMOVE_REGION_FROM_SELECTION_CLASS
+AGS_REMOVE_REGION_FROM_SELECTION
+AGS_REMOVE_REGION_FROM_SELECTION_CLASS
+AGS_REMOVE_REGION_FROM_SELECTION_GET_CLASS
+AGS_TYPE_REMOVE_REGION_FROM_SELECTION
+ags_remove_region_from_selection_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_resize_editor</FILE>
+<TITLE>AgsResizeEditor</TITLE>
+AgsResizeEditor
+AgsResizeEditorClass
+ags_resize_editor_new
+<SUBSECTION Standard>
+AGS_IS_RESIZE_EDITOR
+AGS_IS_RESIZE_EDITOR_CLASS
+AGS_RESIZE_EDITOR
+AGS_RESIZE_EDITOR_CLASS
+AGS_RESIZE_EDITOR_GET_CLASS
+AGS_TYPE_RESIZE_EDITOR
+</SECTION>
+
+<SECTION>
+<FILE>ags_returnable_thread</FILE>
+<TITLE>AgsReturnableThread</TITLE>
+AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE
+AgsReturnableThread
+AgsReturnableThreadCallback
+AgsReturnableThreadClass
+AgsReturnableThreadFlags
+ags_returnable_thread_connect_safe_run
+ags_returnable_thread_disconnect_safe_run
+ags_returnable_thread_new
+ags_returnable_thread_safe_run
+<SUBSECTION Standard>
+AGS_IS_RETURNABLE_THREAD
+AGS_IS_RETURNABLE_THREAD_CLASS
+AGS_RETURNABLE_THREAD
+AGS_RETURNABLE_THREAD_CLASS
+AGS_RETURNABLE_THREAD_GET_CLASS
+AGS_TYPE_RETURNABLE_THREAD
+ags_returnable_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_ruler</FILE>
+<TITLE>AgsRuler</TITLE>
+AGS_RULER_DEFAULT_STEP
+AGS_RULER_LARGE_STEP
+AGS_RULER_SMALL_STEP
+AgsRuler
+AgsRulerClass
+ags_ruler_new
+<SUBSECTION Standard>
+AGS_IS_RULER
+AGS_IS_RULER_CLASS
+AGS_RULER
+AGS_RULER_CLASS
+AGS_RULER_GET_CLASS
+AGS_TYPE_RULER
+ags_ruler_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_runnable</FILE>
+<TITLE>AgsRunnable</TITLE>
+AgsRunnable
+AgsRunnableInterface
+ags_runnable_run
+ags_runnable_stop
+<SUBSECTION Standard>
+AGS_IS_RUNNABLE
+AGS_IS_RUNNABLE_INTERFACE
+AGS_RUNNABLE
+AGS_RUNNABLE_GET_INTERFACE
+AGS_RUNNABLE_INTERFACE
+AGS_TYPE_RUNNABLE
+ags_runnable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_save_file</FILE>
+<TITLE>AgsSaveFile</TITLE>
+AgsSaveFile
+AgsSaveFileClass
+ags_save_file_new
+<SUBSECTION Standard>
+AGS_IS_SAVE_FILE
+AGS_IS_SAVE_FILE_CLASS
+AGS_SAVE_FILE
+AGS_SAVE_FILE_CLASS
+AGS_SAVE_FILE_GET_CLASS
+AGS_TYPE_SAVE_FILE
+ags_save_file_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_scroll_on_play</FILE>
+<TITLE>AgsScrollOnPlay</TITLE>
+AgsScrollOnPlay
+AgsScrollOnPlayClass
+ags_scroll_on_play_new
+<SUBSECTION Standard>
+AGS_IS_SCROLL_ON_PLAY
+AGS_IS_SCROLL_ON_PLAY_CLASS
+AGS_SCROLL_ON_PLAY
+AGS_SCROLL_ON_PLAY_CLASS
+AGS_SCROLL_ON_PLAY_GET_CLASS
+AGS_TYPE_SCROLL_ON_PLAY
+ags_scroll_on_play_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_seekable</FILE>
+<TITLE>AgsSeekable</TITLE>
+AgsSeekable
+AgsSeekableInterface
+ags_seekable_seek
+<SUBSECTION Standard>
+AGS_IS_SEEKABLE
+AGS_IS_SEEKABLE_INTERFACE
+AGS_SEEKABLE
+AGS_SEEKABLE_GET_INTERFACE
+AGS_SEEKABLE_INTERFACE
+AGS_TYPE_SEEKABLE
+ags_seekable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_segment</FILE>
+<TITLE>AgsSegment</TITLE>
+AGS_SEGMENT_FLAGS
+AgsSegment
+AgsSegmentClass
+AgsSegmentFields
+ags_segment_draw_string
+ags_segment_field_off
+ags_segment_field_on
+ags_segment_new
+<SUBSECTION Standard>
+AGS_IS_SEGMENT
+AGS_IS_SEGMENT_CLASS
+AGS_SEGMENT
+AGS_SEGMENT_CLASS
+AGS_SEGMENT_GET_CLASS
+AGS_TYPE_SEGMENT
+ags_segment_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_server</FILE>
+<TITLE>AgsServer</TITLE>
+AgsServer
+AgsServerClass
+AgsServerFlags
+ags_server_create_object
+ags_server_lookup
+ags_server_new
+ags_server_object_set_property
+ags_server_start
+<SUBSECTION Standard>
+AGS_IS_SERVER
+AGS_IS_SERVER_CLASS
+AGS_SERVER
+AGS_SERVER_CLASS
+AGS_SERVER_GET_CLASS
+AGS_TYPE_SERVER
+ags_server_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_server_preferences</FILE>
+<TITLE>AgsServerPreferences</TITLE>
+AgsServerPreferences
+AgsServerPreferencesClass
+ags_server_preferences_new
+<SUBSECTION Standard>
+AGS_IS_SERVER_PREFERENCES
+AGS_IS_SERVER_PREFERENCES_CLASS
+AGS_SERVER_PREFERENCES
+AGS_SERVER_PREFERENCES_CLASS
+AGS_SERVER_PREFERENCES_GET_CLASS
+AGS_TYPE_SERVER_PREFERENCES
+ags_server_preferences_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_server_preferences_callbacks</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_audio_channels</FILE>
+<TITLE>AgsSetAudioChannels</TITLE>
+AgsSetAudioChannels
+AgsSetAudioChannelsClass
+ags_set_audio_channels_new
+<SUBSECTION Standard>
+AGS_IS_SET_AUDIO_CHANNELS
+AGS_IS_SET_AUDIO_CHANNELS_CLASS
+AGS_SET_AUDIO_CHANNELS
+AGS_SET_AUDIO_CHANNELS_CLASS
+AGS_SET_AUDIO_CHANNELS_GET_CLASS
+AGS_TYPE_SET_AUDIO_CHANNELS
+ags_set_audio_channels_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_buffer_size</FILE>
+<TITLE>AgsSetBufferSize</TITLE>
+AgsSetBufferSize
+AgsSetBufferSizeClass
+ags_set_buffer_size_new
+<SUBSECTION Standard>
+AGS_IS_SET_BUFFER_SIZE
+AGS_IS_SET_BUFFER_SIZE_CLASS
+AGS_SET_BUFFER_SIZE
+AGS_SET_BUFFER_SIZE_CLASS
+AGS_SET_BUFFER_SIZE_GET_CLASS
+AGS_TYPE_SET_BUFFER_SIZE
+ags_set_buffer_size_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_devout_play_flags</FILE>
+<TITLE>AgsSetDevoutPlayFlags</TITLE>
+AgsSetDevoutPlayFlags
+AgsSetDevoutPlayFlagsClass
+ags_set_devout_play_flags_new
+<SUBSECTION Standard>
+AGS_IS_SET_DEVOUT_PLAY_FLAGS
+AGS_IS_SET_DEVOUT_PLAY_FLAGS_CLASS
+AGS_SET_DEVOUT_PLAY_FLAGS
+AGS_SET_DEVOUT_PLAY_FLAGS_CLASS
+AGS_SET_DEVOUT_PLAY_FLAGS_GET_CLASS
+AGS_TYPE_SET_DEVOUT_PLAY_FLAGS
+ags_set_devout_play_flags_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_muted</FILE>
+<TITLE>AgsSetMuted</TITLE>
+AgsSetMuted
+AgsSetMutedClass
+ags_set_muted_new
+<SUBSECTION Standard>
+AGS_IS_SET_MUTED
+AGS_IS_SET_MUTED_CLASS
+AGS_SET_MUTED
+AGS_SET_MUTED_CLASS
+AGS_SET_MUTED_GET_CLASS
+AGS_TYPE_SET_MUTED
+ags_set_muted_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_output_device</FILE>
+<TITLE>AgsSetOutputDevice</TITLE>
+AgsSetOutputDevice
+AgsSetOutputDeviceClass
+ags_set_output_device_new
+<SUBSECTION Standard>
+AGS_IS_SET_OUTPUT_DEVICE
+AGS_IS_SET_OUTPUT_DEVICE_CLASS
+AGS_SET_OUTPUT_DEVICE
+AGS_SET_OUTPUT_DEVICE_CLASS
+AGS_SET_OUTPUT_DEVICE_GET_CLASS
+AGS_TYPE_SET_OUTPUT_DEVICE
+ags_set_output_device_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_set_samplerate</FILE>
+<TITLE>AgsSetSamplerate</TITLE>
+AgsSetSamplerate
+AgsSetSamplerateClass
+ags_set_samplerate_new
+<SUBSECTION Standard>
+AGS_IS_SET_SAMPLERATE
+AGS_IS_SET_SAMPLERATE_CLASS
+AGS_SET_SAMPLERATE
+AGS_SET_SAMPLERATE_CLASS
+AGS_SET_SAMPLERATE_GET_CLASS
+AGS_TYPE_SET_SAMPLERATE
+ags_set_samplerate_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_sf2_chooser</FILE>
+<TITLE>AgsSF2Chooser</TITLE>
+AgsSF2Chooser
+AgsSF2ChooserClass
+ags_sf2_chooser_completed
+ags_sf2_chooser_new
+ags_sf2_chooser_open
+ags_sf2_chooser_remove_all_from_combo
+<SUBSECTION Standard>
+AGS_IS_SF2_CHOOSER
+AGS_IS_SF2_CHOOSER_CLASS
+AGS_SF2_CHOOSER
+AGS_SF2_CHOOSER_CLASS
+AGS_SF2_CHOOSER_GET_CLASS
+AGS_TYPE_SF2_CHOOSER
+ags_sf2_chooser_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_sf2_chooser_callbacks</FILE>
+ags_sf2_chooser_instrument_changed
+ags_sf2_chooser_preset_changed
+ags_sf2_chooser_sample_changed
+</SECTION>
+
+<SECTION>
+<FILE>ags_single_thread</FILE>
+<TITLE>AgsSingleThread</TITLE>
+AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE
+AgsSingleThread
+AgsSingleThreadClass
+ags_single_thread_new
+<SUBSECTION Standard>
+AGS_IS_SINGLE_THREAD
+AGS_IS_SINGLE_THREAD_CLASS
+AGS_SINGLE_THREAD
+AGS_SINGLE_THREAD_CLASS
+AGS_SINGLE_THREAD_GET_CLASS
+AGS_TYPE_SINGLE_THREAD
+ags_single_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_sndfile</FILE>
+<TITLE>AgsSndfile</TITLE>
+AgsSndfile
+AgsSndfileClass
+AgsSndfileFlags
+ags_sndfile_new
+<SUBSECTION Standard>
+AGS_IS_SNDFILE
+AGS_IS_SNDFILE_CLASS
+AGS_SNDFILE
+AGS_SNDFILE_CLASS
+AGS_SNDFILE_GET_CLASS
+AGS_TYPE_SNDFILE
+ags_sndfile_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_soundcard</FILE>
+<TITLE>AgsSoundcard</TITLE>
+AgsSoundcard
+AgsSoundcardInterface
+ags_soundcard_list_cards
+ags_soundcard_offset_changed
+ags_soundcard_pcm_info
+ags_soundcard_tic
+<SUBSECTION Standard>
+AGS_IS_SOUNDCARD
+AGS_IS_SOUNDCARD_INTERFACE
+AGS_SOUNDCARD
+AGS_SOUNDCARD_GET_INTERFACE
+AGS_SOUNDCARD_INTERFACE
+AGS_TYPE_SOUNDCARD
+ags_soundcard_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stackable</FILE>
+<TITLE>AgsStackable</TITLE>
+AgsStackable
+AgsStackableInterface
+ags_stackable_pop
+ags_stackable_push
+<SUBSECTION Standard>
+AGS_IS_STACKABLE
+AGS_IS_STACKABLE_INTERFACE
+AGS_STACKABLE
+AGS_STACKABLE_GET_INTERFACE
+AGS_STACKABLE_INTERFACE
+AGS_TYPE_STACKABLE
+ags_stackable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_start_devout</FILE>
+<TITLE>AgsStartDevout</TITLE>
+AgsStartDevout
+AgsStartDevoutClass
+ags_start_devout_new
+<SUBSECTION Standard>
+AGS_IS_START_DEVOUT
+AGS_IS_START_DEVOUT_CLASS
+AGS_START_DEVOUT
+AGS_START_DEVOUT_CLASS
+AGS_START_DEVOUT_GET_CLASS
+AGS_TYPE_START_DEVOUT
+ags_start_devout_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream</FILE>
+<TITLE>AgsStream</TITLE>
+AgsStream
+AgsStreamClass
+ags_stream
+ags_stream_new
+<SUBSECTION Standard>
+AGS_STREAM
+AGS_STREAM_CLASS
+AGS_TYPE_STREAM
+ags_stream_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_audio_signal</FILE>
+<TITLE>AgsStreamAudioSignal</TITLE>
+AgsStreamAudioSignal
+AgsStreamAudioSignalClass
+ags_stream_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_AUDIO_SIGNAL
+AGS_IS_STREAM_AUDIO_SIGNAL_CLASS
+AGS_STREAM_AUDIO_SIGNAL
+AGS_STREAM_AUDIO_SIGNAL_CLASS
+AGS_STREAM_AUDIO_SIGNAL_GET_CLASS
+AGS_TYPE_STREAM_AUDIO_SIGNAL
+ags_stream_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_channel</FILE>
+<TITLE>AgsStreamChannel</TITLE>
+AgsStreamChannel
+AgsStreamChannelClass
+ags_stream_channel_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_CHANNEL
+AGS_IS_STREAM_CHANNEL_CLASS
+AGS_STREAM_CHANNEL
+AGS_STREAM_CHANNEL_CLASS
+AGS_STREAM_CHANNEL_GET_CLASS
+AGS_TYPE_STREAM_CHANNEL
+ags_stream_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_channel_run</FILE>
+<TITLE>AgsStreamChannelRun</TITLE>
+AgsStreamChannelRun
+AgsStreamChannelRunClass
+ags_stream_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_CHANNEL_RUN
+AGS_IS_STREAM_CHANNEL_RUN_CLASS
+AGS_STREAM_CHANNEL_RUN
+AGS_STREAM_CHANNEL_RUN_CLASS
+AGS_STREAM_CHANNEL_RUN_GET_CLASS
+AGS_TYPE_STREAM_CHANNEL_RUN
+ags_stream_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_stream_recycling</FILE>
+<TITLE>AgsStreamRecycling</TITLE>
+AgsStreamRecycling
+AgsStreamRecyclingClass
+ags_stream_recycling_new
+<SUBSECTION Standard>
+AGS_IS_STREAM_RECYCLING
+AGS_IS_STREAM_RECYCLING_CLASS
+AGS_STREAM_RECYCLING
+AGS_STREAM_RECYCLING_CLASS
+AGS_STREAM_RECYCLING_GET_CLASS
+AGS_TYPE_STREAM_RECYCLING
+ags_stream_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth</FILE>
+<TITLE>AgsSynth</TITLE>
+AgsSynth
+AgsSynthClass
+AgsSynthFlags
+ags_synth_new
+<SUBSECTION Standard>
+AGS_IS_SYNTH
+AGS_IS_SYNTH_CLASS
+AGS_SYNTH
+AGS_SYNTH_CLASS
+AGS_SYNTH_GET_CLASS
+AGS_TYPE_SYNTH
+ags_synth_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth_callbacks</FILE>
+ags_synth_auto_update_callback
+ags_synth_lower_callback
+ags_synth_parent_set_callback
+ags_synth_update_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth_input_line</FILE>
+<TITLE>AgsSynthInputLine</TITLE>
+AgsSynthInputLine
+AgsSynthInputLineClass
+ags_synth_input_line_map_recall
+ags_synth_input_line_new
+<SUBSECTION Standard>
+AGS_IS_SYNTH_INPUT_LINE
+AGS_IS_SYNTH_INPUT_LINE_CLASS
+AGS_SYNTH_INPUT_LINE
+AGS_SYNTH_INPUT_LINE_CLASS
+AGS_SYNTH_INPUT_LINE_GET_CLASS
+AGS_TYPE_SYNTH_INPUT_LINE
+ags_synth_input_line_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synth_input_pad</FILE>
+<TITLE>AgsSynthInputPad</TITLE>
+AgsSynthInputPad
+AgsSynthInputPadClass
+ags_synth_input_pad_new
+<SUBSECTION Standard>
+AGS_IS_SYNTH_INPUT_PAD
+AGS_IS_SYNTH_INPUT_PAD_CLASS
+AGS_SYNTH_INPUT_PAD
+AGS_SYNTH_INPUT_PAD_CLASS
+AGS_SYNTH_INPUT_PAD_GET_CLASS
+AGS_TYPE_SYNTH_INPUT_PAD
+ags_synth_input_pad_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_synths</FILE>
+ags_synth_saw
+ags_synth_sin
+ags_synth_square
+ags_synth_triangle
+</SECTION>
+
+<SECTION>
+<FILE>ags_synths</FILE>
+
+</SECTION>
+
+<SECTION>
+<FILE>ags_table</FILE>
+<TITLE>AgsTable</TITLE>
+AgsTable
+AgsTableClass
+ags_table_new
+<SUBSECTION Standard>
+AGS_IS_TABLE
+AGS_IS_TABLE_CLASS
+AGS_TABLE
+AGS_TABLE_CLASS
+AGS_TABLE_GET_CLASS
+AGS_TYPE_TABLE
+ags_table_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_tactable</FILE>
+<TITLE>AgsTactable</TITLE>
+AgsTactable
+AgsTactableInterface
+ags_tactable_change_bpm
+ags_tactable_change_notation_duration
+ags_tactable_change_sequencer_duration
+ags_tactable_change_tact
+<SUBSECTION Standard>
+AGS_IS_TACTABLE
+AGS_IS_TACTABLE_INTERFACE
+AGS_TACTABLE
+AGS_TACTABLE_GET_INTERFACE
+AGS_TACTABLE_INTERFACE
+AGS_TYPE_TACTABLE
+ags_tactable_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_task</FILE>
+<TITLE>AgsTask</TITLE>
+AgsTask
+AgsTaskClass
+AgsTaskFlags
+ags_task_failure
+ags_task_launch
+ags_task_new
+<SUBSECTION Standard>
+AGS_IS_TASK
+AGS_IS_TASK_CLASS
+AGS_TASK
+AGS_TASK_CLASS
+AGS_TASK_GET_CLASS
+AGS_TYPE_TASK
+ags_task_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_task_thread</FILE>
+<TITLE>AgsTaskThread</TITLE>
+AGS_TASK_THREAD_DEFAULT_JIFFIE
+AgsTaskThread
+AgsTaskThreadAppend
+AgsTaskThreadClass
+ags_task_thread_append_task
+ags_task_thread_append_tasks
+ags_task_thread_new
+<SUBSECTION Standard>
+AGS_IS_TASK_THREAD
+AGS_IS_TASK_THREAD_CLASS
+AGS_TASK_THREAD
+AGS_TASK_THREAD_CLASS
+AGS_TASK_THREAD_GET_CLASS
+AGS_TYPE_TASK_THREAD
+ags_task_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_thread-kthreads</FILE>
+<TITLE>AgsThread</TITLE>
+AGS_THREAD_RESUME_SIG
+AGS_THREAD_STACKSIZE
+AGS_THREAD_SUSPEND_SIG
+AgsThread
+AgsThreadClass
+AgsThreadFlags
+MSEC_PER_SEC
+NSEC_PER_SEC
+ags_thread_add_child
+ags_thread_children_is_locked
+ags_thread_first
+ags_thread_get_toplevel
+ags_thread_hangcheck
+ags_thread_is_current_ready
+ags_thread_is_tree_ready
+ags_thread_last
+ags_thread_lock
+ags_thread_lock_all
+ags_thread_lock_children
+ags_thread_lock_parent
+ags_thread_lock_sibling
+ags_thread_new
+ags_thread_next_children_locked
+ags_thread_next_parent_locked
+ags_thread_next_sibling_locked
+ags_thread_parental_is_locked
+ags_thread_remove_child
+ags_thread_resume
+ags_thread_run
+ags_thread_set_sync
+ags_thread_set_sync_all
+ags_thread_sibling_is_locked
+ags_thread_signal_children
+ags_thread_signal_parent
+ags_thread_signal_sibling
+ags_thread_start
+ags_thread_stop
+ags_thread_suspend
+ags_thread_timelock
+ags_thread_trylock
+ags_thread_unlock
+ags_thread_unlock_all
+ags_thread_unlock_children
+ags_thread_unlock_parent
+ags_thread_unlock_sibling
+ags_thread_wait_children
+ags_thread_wait_parent
+ags_thread_wait_sibling
+<SUBSECTION Standard>
+AGS_IS_THREAD
+AGS_IS_THREAD_CLASS
+AGS_THREAD
+AGS_THREAD_CLASS
+AGS_THREAD_GET_CLASS
+AGS_TYPE_THREAD
+ags_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_thread-posix</FILE>
+<TITLE>AgsThread</TITLE>
+AGS_ACCOUNTING_TABLE
+AGS_THREAD_DEFAULT_ATTACK
+AGS_THREAD_DEFAULT_JIFFIE
+AGS_THREAD_MAX_PRECISION
+AGS_THREAD_RESUME_SIG
+AGS_THREAD_SUSPEND_SIG
+AgsAccountingTable
+AgsThread
+AgsThreadClass
+AgsThreadFlags
+MSEC_PER_SEC
+NSEC_PER_SEC
+ags_accounting_table_alloc
+ags_accounting_table_set_sanity
+ags_thread_add_child
+ags_thread_children_is_locked
+ags_thread_first
+ags_thread_get_toplevel
+ags_thread_hangcheck
+ags_thread_is_current_ready
+ags_thread_is_tree_ready
+ags_thread_last
+ags_thread_lock
+ags_thread_lock_all
+ags_thread_lock_children
+ags_thread_lock_parent
+ags_thread_lock_sibling
+ags_thread_new
+ags_thread_next_children_locked
+ags_thread_next_parent_locked
+ags_thread_next_sibling_locked
+ags_thread_parental_is_locked
+ags_thread_remove_child
+ags_thread_resume
+ags_thread_run
+ags_thread_set_sync
+ags_thread_set_sync_all
+ags_thread_sibling_is_locked
+ags_thread_signal_children
+ags_thread_signal_parent
+ags_thread_signal_sibling
+ags_thread_start
+ags_thread_stop
+ags_thread_suspend
+ags_thread_timelock
+ags_thread_trylock
+ags_thread_unlock
+ags_thread_unlock_all
+ags_thread_unlock_children
+ags_thread_unlock_parent
+ags_thread_unlock_sibling
+ags_thread_wait_children
+ags_thread_wait_parent
+ags_thread_wait_sibling
+<SUBSECTION Standard>
+AGS_IS_THREAD
+AGS_IS_THREAD_CLASS
+AGS_THREAD
+AGS_THREAD_CLASS
+AGS_THREAD_GET_CLASS
+AGS_TYPE_THREAD
+ags_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_thread_pool</FILE>
+<TITLE>AgsThreadPool</TITLE>
+AgsThreadPool
+AgsThreadPoolClass
+AgsThreadPoolFlags
+ags_thread_pool_new
+ags_thread_pool_pull
+ags_thread_pool_start
+<SUBSECTION Standard>
+AGS_IS_THREAD_POOL
+AGS_IS_THREAD_POOL_CLASS
+AGS_THREAD_POOL
+AGS_THREAD_POOL_CLASS
+AGS_THREAD_POOL_GET_CLASS
+AGS_TYPE_THREAD_POOL
+ags_thread_pool_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_timebar</FILE>
+<TITLE>AgsTimebar</TITLE>
+AgsTimebar
+AgsTimebarClass
+ags_timebar_new
+<SUBSECTION Standard>
+AGS_IS_TIMEBAR
+AGS_IS_TIMEBAR_CLASS
+AGS_TIMEBAR
+AGS_TIMEBAR_CLASS
+AGS_TIMEBAR_GET_CLASS
+AGS_TYPE_TIMEBAR
+</SECTION>
+
+<SECTION>
+<FILE>ags_timestamp</FILE>
+<TITLE>AgsTimestamp</TITLE>
+AgsTimestamp
+AgsTimestampClass
+AgsTimestampFlags
+ags_timestamp_new
+<SUBSECTION Standard>
+AGS_IS_TIMESTAMP
+AGS_IS_TIMESTAMP_CLASS
+AGS_TIMESTAMP
+AGS_TIMESTAMP_CLASS
+AGS_TIMESTAMP_GET_CLASS
+AGS_TYPE_TIMESTAMP
+ags_timestamp_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_timestamp_factory</FILE>
+<TITLE>AgsTimestampFactory</TITLE>
+AgsTimestampFactory
+AgsTimestampFactoryClass
+AgsTimestampFactoryFlags
+ags_timestamp_factory_create
+ags_timestamp_factory_get_instance
+ags_timestamp_factory_new
+<SUBSECTION Standard>
+AGS_IS_TIMESTAMP_FACTORY
+AGS_IS_TIMESTAMP_FACTORY_CLASS
+AGS_TIMESTAMP_FACTORY
+AGS_TIMESTAMP_FACTORY_CLASS
+AGS_TIMESTAMP_FACTORY_GET_CLASS
+AGS_TYPE_TIMESTAMP_FACTORY
+ags_timestamp_factory_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_timestamp_thread</FILE>
+<TITLE>AgsTimestampThread</TITLE>
+AGS_MICROSECONDS_PER_SECOND
+AGS_TIMESTAMP_THREAD_DEFAULT_BPM
+AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE
+AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE
+AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE
+AGS_TIMESTAMP_THREAD_DEFAULT_TIC
+AgsTimestampThread
+AgsTimestampThreadClass
+ags_timestamp_thread_new
+<SUBSECTION Standard>
+AGS_IS_TIMESTAMP_THREAD
+AGS_IS_TIMESTAMP_THREAD_CLASS
+AGS_TIMESTAMP_THREAD
+AGS_TIMESTAMP_THREAD_CLASS
+AGS_TIMESTAMP_THREAD_GET_CLASS
+AGS_TYPE_TIMESTAMP_THREAD
+ags_timestamp_thread_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toggle_led</FILE>
+<TITLE>AgsToggleLed</TITLE>
+AgsToggleLed
+AgsToggleLedClass
+ags_toggle_led_new
+<SUBSECTION Standard>
+AGS_IS_TOGGLE_LED
+AGS_IS_TOGGLE_LED_CLASS
+AGS_TOGGLE_LED
+AGS_TOGGLE_LED_CLASS
+AGS_TOGGLE_LED_GET_CLASS
+AGS_TYPE_TOGGLE_LED
+ags_toggle_led_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toggle_pattern_bit</FILE>
+<TITLE>AgsTogglePatternBit</TITLE>
+AgsTogglePatternBit
+AgsTogglePatternBitClass
+ags_toggle_pattern_bit_new
+ags_toggle_pattern_bit_refresh_gui
+<SUBSECTION Standard>
+AGS_IS_TOGGLE_PATTERN_BIT
+AGS_IS_TOGGLE_PATTERN_BIT_CLASS
+AGS_TOGGLE_PATTERN_BIT
+AGS_TOGGLE_PATTERN_BIT_CLASS
+AGS_TOGGLE_PATTERN_BIT_GET_CLASS
+AGS_TYPE_TOGGLE_PATTERN_BIT
+ags_toggle_pattern_bit_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toolbar</FILE>
+<TITLE>AgsToolbar</TITLE>
+AgsToolbar
+AgsToolbarClass
+ags_toolbar_new
+<SUBSECTION Standard>
+AGS_IS_TOOLBAR
+AGS_IS_TOOLBAR_CLASS
+AGS_TOOLBAR
+AGS_TOOLBAR_CLASS
+AGS_TOOLBAR_GET_CLASS
+AGS_TYPE_TOOLBAR
+ags_toolbar_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_toolbar_callbacks</FILE>
+ags_toolbar_clear_callback
+ags_toolbar_copy_or_cut_callback
+ags_toolbar_destroy_callback
+ags_toolbar_edit_callback
+ags_toolbar_mode_callback
+ags_toolbar_paste_callback
+ags_toolbar_position_callback
+ags_toolbar_select_callback
+ags_toolbar_show_callback
+ags_toolbar_zoom_callback
+</SECTION>
+
+<SECTION>
+<FILE>ags_toolbar_mode_stock</FILE>
+AGS_TOOLBAR_MODE_ALL_CHANNELS
+AGS_TOOLBAR_MODE_MULTI_CHANNEL
+AGS_TOOLBAR_MODE_SINGLE_CHANNEL
+</SECTION>
+
+<SECTION>
+<FILE>ags_tree_iterator</FILE>
+<TITLE>AgsTreeIterator</TITLE>
+AgsTreeIterator
+AgsTreeIteratorInterface
+ags_tree_iterator_is_inverse_mode
+ags_tree_iterator_iterate
+ags_tree_iterator_iterate_nested
+ags_tree_iterator_safe_iterate
+ags_tree_iterator_safe_iterate_nested
+ags_tree_iterator_set_inverse_mode
+<SUBSECTION Standard>
+AGS_IS_TREE_ITERATOR
+AGS_IS_TREE_ITERATOR_INTERFACE
+AGS_TREE_ITERATOR
+AGS_TREE_ITERATOR_GET_INTERFACE
+AGS_TREE_ITERATOR_INTERFACE
+AGS_TYPE_TREE_ITERATOR
+ags_tree_iterator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_unref_audio_signal</FILE>
+<TITLE>AgsUnrefAudioSignal</TITLE>
+AgsUnrefAudioSignal
+AgsUnrefAudioSignalClass
+ags_unref_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_UNREF_AUDIO_SIGNAL
+AGS_IS_UNREF_AUDIO_SIGNAL_CLASS
+AGS_TYPE_UNREF_AUDIO_SIGNAL
+AGS_UNREF_AUDIO_SIGNAL
+AGS_UNREF_AUDIO_SIGNAL_CLASS
+AGS_UNREF_AUDIO_SIGNAL_GET_CLASS
+ags_unref_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_vindicator</FILE>
+<TITLE>AgsVIndicator</TITLE>
+AgsVIndicator
+AgsVIndicatorClass
+ags_vindicator_new
+<SUBSECTION Standard>
+AGS_IS_VINDICATOR
+AGS_IS_VINDICATOR_CLASS
+AGS_TYPE_VINDICATOR
+AGS_VINDICATOR
+AGS_VINDICATOR_CLASS
+AGS_VINDICATOR_GET_CLASS
+ags_vindicator_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_audio_signal</FILE>
+<TITLE>AgsVolumeAudioSignal</TITLE>
+AgsVolumeAudioSignal
+AgsVolumeAudioSignalClass
+ags_volume_audio_signal_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_AUDIO_SIGNAL
+AGS_IS_VOLUME_AUDIO_SIGNAL_CLASS
+AGS_TYPE_VOLUME_AUDIO_SIGNAL
+AGS_VOLUME_AUDIO_SIGNAL
+AGS_VOLUME_AUDIO_SIGNAL_CLASS
+AGS_VOLUME_AUDIO_SIGNAL_GET_CLASS
+ags_volume_audio_signal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_channel</FILE>
+<TITLE>AgsVolumeChannel</TITLE>
+AgsVolumeChannel
+AgsVolumeChannelClass
+ags_volume_channel_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_CHANNEL
+AGS_IS_VOLUME_CHANNEL_CLASS
+AGS_TYPE_VOLUME_CHANNEL
+AGS_VOLUME_CHANNEL
+AGS_VOLUME_CHANNEL_CLASS
+AGS_VOLUME_CHANNEL_GET_CLASS
+ags_volume_channel_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_channel_run</FILE>
+<TITLE>AgsVolumeChannelRun</TITLE>
+AgsVolumeChannelRun
+AgsVolumeChannelRunClass
+ags_volume_channel_run_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_CHANNEL_RUN
+AGS_IS_VOLUME_CHANNEL_RUN_CLASS
+AGS_TYPE_VOLUME_CHANNEL_RUN
+AGS_VOLUME_CHANNEL_RUN
+AGS_VOLUME_CHANNEL_RUN_CLASS
+AGS_VOLUME_CHANNEL_RUN_GET_CLASS
+ags_volume_channel_run_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_volume_recycling</FILE>
+<TITLE>AgsVolumeRecycling</TITLE>
+AgsVolumeRecycling
+AgsVolumeRecyclingClass
+ags_volume_recycling_new
+<SUBSECTION Standard>
+AGS_IS_VOLUME_RECYCLING
+AGS_IS_VOLUME_RECYCLING_CLASS
+AGS_TYPE_VOLUME_RECYCLING
+AGS_VOLUME_RECYCLING
+AGS_VOLUME_RECYCLING_CLASS
+AGS_VOLUME_RECYCLING_GET_CLASS
+ags_volume_recycling_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_waveform</FILE>
+<TITLE>AgsWaveform</TITLE>
+AgsWaveform
+AgsWaveformClass
+ags_waveform_new
+<SUBSECTION Standard>
+AGS_IS_WAVEFORM
+AGS_IS_WAVEFORM_CLASS
+AGS_TYPE_WAVEFORM
+AGS_WAVEFORM
+AGS_WAVEFORM_CLASS
+AGS_WAVEFORM_GET_CLASS
+ags_waveform_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_window</FILE>
+<TITLE>AgsWindow</TITLE>
+AGS_MACHINE_COUNTER
+AgsMachineCounter
+AgsWindow
+AgsWindowClass
+AgsWindowFlags
+ags_machine_counter_alloc
+ags_window_decrement_machine_counter
+ags_window_find_machine_counter
+ags_window_increment_machine_counter
+ags_window_new
+<SUBSECTION Standard>
+AGS_IS_WINDOW
+AGS_IS_WINDOW_CLASS
+AGS_TYPE_WINDOW
+AGS_WINDOW
+AGS_WINDOW_CLASS
+AGS_WINDOW_GET_CLASS
+ags_window_get_type
+</SECTION>
+
+<SECTION>
+<FILE>ags_window_callbacks</FILE>
+ags_window_delete_event_callback
+</SECTION>
+
+<SECTION>
+<FILE>jmath</FILE>
+j_math_algebra_brackeds_out
+j_math_algebra_functions_out
+j_math_algebra_operations_out
+j_math_algebra_solve
+j_math_and
+j_math_cut_leading_zeros
+j_math_exclusive_or
+j_math_exp
+j_math_exp2
+j_math_gauss
+j_math_get_first_level_operator
+j_math_get_second_level_operator
+j_math_is_function
+j_math_is_function_backward
+j_math_is_operator
+j_math_less
+j_math_make_valid
+j_math_more
+j_math_or
+j_math_put_null_at_beginning
+j_math_put_null_at_end
+j_math_root
+j_math_root2
+j_math_solve_arithmetic
+j_math_sort_array
+j_math_width
+j_math_width_list
+</SECTION>
+
+<SECTION>
+<FILE>main</FILE>
+<TITLE>AgsMain</TITLE>
+AGS_BUILD_ID
+AGS_EFFECTS_DEFAULT_VERSION
+AGS_PRIORITY
+AGS_VERSION
+ALSA_PCM_NEW_HW_PARAMS_API
+AgsMain
+AgsMainClass
+AgsMainFlags
+ags_main_add_devout
+ags_main_load_config
+ags_main_new
+ags_main_quit
+ags_main_register_machine_type
+ags_main_register_recall_type
+ags_main_register_task_type
+ags_main_register_thread_type
+ags_main_register_widget_type
+<SUBSECTION Standard>
+AGS_IS_MAIN
+AGS_IS_MAIN_CLASS
+AGS_MAIN
+AGS_MAIN_CLASS
+AGS_MAIN_GET_CLASS
+AGS_TYPE_MAIN
+ags_main_get_type
+</SECTION>
+
diff --git a/doc/reference/ags/ags-undeclared.txt b/doc/reference/ags/ags-undeclared.txt
new file mode 100644
index 0000000..e69de29
diff --git a/doc/reference/ags/ags-undocumented.txt b/doc/reference/ags/ags-undocumented.txt
new file mode 100644
index 0000000..70fc149
--- /dev/null
+++ b/doc/reference/ags/ags-undocumented.txt
@@ -0,0 +1,1925 @@
+41% symbol docs coverage.
+1242 symbols documented.
+519 symbols incomplete.
+1776 not documented.
+
+
+AGS_ACCOUNTING_TABLE
+AGS_ASYNC_QUEUE_CLOCK_ID
+AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE
+AGS_ASYNC_QUEUE_SIGNAL_HIGH
+AGS_ASYNC_QUEUE_SIGNAL_LOW
+AGS_AUDIO_LOOP_DEFAULT_JIFFIE
+AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME
+AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE
+AGS_BUILD_ID
+AGS_CHANNEL_ERROR
+AGS_CLIPBOARD_DEFAULT_VERSION
+AGS_CONFIG_DEFAULT_BUILD_ID
+AGS_CONFIG_DEFAULT_VERSION
+AGS_CONFIG_DEVOUT
+AGS_CONFIG_THREAD
+AGS_DEVOUT_DEFAULT_BPM
+AGS_DEVOUT_DEFAULT_BUFFER_SIZE
+AGS_DEVOUT_DEFAULT_DELAY
+AGS_DEVOUT_DEFAULT_FORMAT
+AGS_DEVOUT_DEFAULT_JIFFIE
+AGS_DEVOUT_DEFAULT_SAMPLERATE
+AGS_DEVOUT_DEFAULT_SCALE
+AGS_DEVOUT_DEFAULT_TACT
+AGS_DEVOUT_DEFAULT_TACTRATE
+AGS_DEVOUT_DEFAULT_TACT_JIFFIE
+AGS_DEVOUT_ERROR
+AGS_DEVOUT_PLAY
+AGS_DEVOUT_PLAY_DOMAIN
+AGS_DEVOUT_THREAD_DEFAULT_JIFFIE
+AGS_DIAL_DEFAULT_PRECISION
+AGS_DRUM_PATTERN_CONTROLS
+AGS_EDITOR_DEFAULT
+AGS_EDITOR_DEFAULT_BUILD_ID
+AGS_EDITOR_DEFAULT_VERSION
+AGS_EFFECTS_DEFAULT_VERSION
+AGS_EFFECT_COPY_BUFFER
+AGS_EFFECT_COPY_STREAM
+AGS_EFFECT_DOWN_MIX
+AGS_EXPANDER_CHILD
+AGS_EXPANDER_SET_CHILD
+AGS_EXPORT_THREAD_BUFFER_TIME
+AGS_EXPORT_THREAD_DEFAULT_JIFFIE
+AGS_FILE_BOOLEAN_POINTER_PROP
+AGS_FILE_BOOLEAN_PROP
+AGS_FILE_BUILD_ID_PROP
+AGS_FILE_CHAR_POINTER_PROP
+AGS_FILE_CHAR_PROP
+AGS_FILE_CHECKSUM_LENGTH
+AGS_FILE_DEFAULT_AUDIO_ENCODING
+AGS_FILE_DEFAULT_AUDIO_FORMAT
+AGS_FILE_DEFAULT_DTD
+AGS_FILE_DEFAULT_ENCODING
+AGS_FILE_DEFAULT_VERSION
+AGS_FILE_DOUBLE_POINTER_PROP
+AGS_FILE_DOUBLE_PROP
+AGS_FILE_DYNAMIC_WIDGET_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_CARTESIAN
+AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_DIAL
+AGS_FILE_DYNAMIC_WIDGET_HINDICATOR
+AGS_FILE_DYNAMIC_WIDGET_HSCALE
+AGS_FILE_DYNAMIC_WIDGET_LABEL
+AGS_FILE_DYNAMIC_WIDGET_LED
+AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON
+AGS_FILE_DYNAMIC_WIDGET_VINDICATOR
+AGS_FILE_DYNAMIC_WIDGET_VSCALE
+AGS_FILE_DYNAMIC_WIDGET_WAVEFORM
+AGS_FILE_EFFECTS_DEFAULT_VERSION
+AGS_FILE_FALSE
+AGS_FILE_FLAGS_PROP
+AGS_FILE_FLOAT_POINTER_PROP
+AGS_FILE_FLOAT_PROP
+AGS_FILE_ID_PROP
+AGS_FILE_ID_REF_RESOLVE_DATA
+AGS_FILE_ID_REF_SERIALIZE_DATA
+AGS_FILE_INT64_POINTER_PROP
+AGS_FILE_INT64_PROP
+AGS_FILE_NAME_PROP
+AGS_FILE_OBJECT_PROP
+AGS_FILE_POINTER_PROP
+AGS_FILE_RESOLVE
+AGS_FILE_SCOPE_PROP
+AGS_FILE_SELECTION_ENTRY
+AGS_FILE_TRUE
+AGS_FILE_TYPE_PROP
+AGS_FILE_UINT64_POINTER_PROP
+AGS_FILE_UINT64_PROP
+AGS_FILE_VERSION_PROP
+AGS_FILE_XPATH_PROP
+AGS_GUI_THREAD_DEFAULT_JIFFIE
+AGS_IPATCH_DEFAULT_CHANNELS
+AGS_IPATCH_READ
+AGS_IPATCH_WRITE
+AGS_LADSPA_PLUGIN
+AGS_LIBAO_DEFAULT_BPM
+AGS_LIBAO_DEFAULT_BUFFER_SIZE
+AGS_LIBAO_DEFAULT_DELAY
+AGS_LIBAO_DEFAULT_JIFFIE
+AGS_LIBAO_DEFAULT_SAMPLERATE
+AGS_LIBAO_DEFAULT_TACT
+AGS_LIBAO_DEFAULT_TACTRATE
+AGS_LIBAO_DEFAULT_TACT_JIFFIE
+AGS_LIBAO_ERROR
+AGS_LIBAO_PLAY
+AGS_LIBAO_PLAY_DOMAIN
+AGS_LINE_DEFAULT_BUILD_ID
+AGS_LINE_DEFAULT_VERSION
+AGS_LINE_EDITOR_DEFAULT_BUILD_ID
+AGS_LINE_EDITOR_DEFAULT_VERSION
+AGS_MACHINE_COUNTER
+AGS_MACHINE_DEFAULT_BUILD_ID
+AGS_MACHINE_DEFAULT_VERSION
+AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID
+AGS_MACHINE_EDITOR_DEFAULT_VERSION
+AGS_MATRIX_CELL_HEIGHT
+AGS_MATRIX_CELL_WIDTH
+AGS_MATRIX_OCTAVE
+AGS_MATRIX_PATTERN_CONTROLS
+AGS_MICROSECONDS_PER_SECOND
+AGS_NAVIGATION_DEFAULT_TACT_STEP
+AGS_NAVIGATION_REWIND_STEPS
+AGS_NAVIGATION_SEEK_STEPS
+AGS_NOTATION_DEFAULT_BPM
+AGS_NOTATION_DEFAULT_DURATION
+AGS_NOTATION_DEFAULT_JIFFIE
+AGS_NOTATION_DEFAULT_LENGTH
+AGS_NOTATION_MAXIMUM_NOTE_LENGTH
+AGS_NOTATION_MINIMUM_NOTE_LENGTH
+AGS_NOTATION_TICS_PER_BEAT
+AGS_NOTEBOOK_TAB
+AGS_NOTE_EDIT_MAX_CONTROLS
+AGS_PAD_DEFAULT_BUILD_ID
+AGS_PAD_DEFAULT_VERSION
+AGS_PAD_EDITOR_DEFAULT_BUILD_ID
+AGS_PAD_EDITOR_DEFAULT_VERSION
+AGS_PLAYABLE_ERROR
+AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER
+AGS_PLUGIN_NAME_VOLUME
+AGS_PRIORITY
+AGS_RECALL_DEFAULT_BUILD_ID
+AGS_RECALL_DEFAULT_VERSION
+AGS_RECALL_HANDLER
+AGS_RECORD_THREAD_DEFAULT_DELAY
+AGS_RECYCLING_THREAD_DEFAULT_JIFFIE
+AGS_REGISTRY_DEFAULT_ID_LENGTH
+AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE
+AGS_RULER_DEFAULT_STEP
+AGS_RULER_LARGE_STEP
+AGS_RULER_SMALL_STEP
+AGS_SEGMENT_FLAGS (<items>)
+AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE
+AGS_TASK_THREAD_DEFAULT_JIFFIE
+AGS_THREAD_DEFAULT_ATTACK
+AGS_THREAD_DEFAULT_JIFFIE
+AGS_THREAD_MAX_PRECISION
+AGS_THREAD_RESUME_SIG
+AGS_THREAD_STACKSIZE
+AGS_THREAD_SUSPEND_SIG
+AGS_TIMESTAMP_THREAD_DEFAULT_BPM
+AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE
+AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE
+AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE
+AGS_TIMESTAMP_THREAD_DEFAULT_TIC
+AGS_TOOLBAR_MODE_ALL_CHANNELS
+AGS_TOOLBAR_MODE_MULTI_CHANNEL
+AGS_TOOLBAR_MODE_SINGLE_CHANNEL
+AGS_VERSION
+ALSA_PCM_NEW_HW_PARAMS_API
+AgsAccountingTable (<items>)
+AgsAddAudio
+AgsAddAudioClass (<items>)
+AgsAddAudioSignal
+AgsAddAudioSignalClass (<items>)
+AgsAddLineMember
+AgsAddLineMemberClass (<items>)
+AgsAddNote
+AgsAddNoteClass (<items>)
+AgsAddPointToSelection
+AgsAddPointToSelectionClass (<items>)
+AgsAddRecall
+AgsAddRecallClass (<items>)
+AgsAddRegionToSelection
+AgsAddRegionToSelectionClass (<items>)
+AgsAppendAudio
+AgsAppendAudioClass (<items>)
+AgsAppendAudioThreaded (<items>)
+AgsAppendAudioThreadedClass (<items>)
+AgsAppendChannel
+AgsAppendChannelClass (<items>)
+AgsAppendRecall
+AgsAppendRecallClass (<items>)
+AgsApplicable
+AgsApplicableInterface (<items>)
+AgsApplyBpm
+AgsApplyBpmClass (<items>)
+AgsApplySequencerLength
+AgsApplySequencerLengthClass (<items>)
+AgsApplySynth
+AgsApplySynthClass (<items>)
+AgsApplySynthWave (<items>)
+AgsApplyTact
+AgsApplyTactClass (<items>)
+AgsApplyWavetable
+AgsApplyWavetableClass (<items>)
+AgsAsyncQueue
+AgsAsyncQueue::interrupt
+AgsAsyncQueue::pop-context
+AgsAsyncQueue::push-context
+AgsAsyncQueueClass (<items>)
+AgsAsyncQueueFlags (<items>)
+AgsAttack
+AgsAttackFlags (<items>)
+AgsAudio
+AgsAudioClass (<items>)
+AgsAudioFile
+AgsAudioFileClass (<items>)
+AgsAudioFileXml
+AgsAudioFileXmlClass (<items>)
+AgsAudioFlags (<items>)
+AgsAudioLoop
+AgsAudioLoopClass (<items>)
+AgsAudioLoopFlags (<items>)
+AgsAudioPreferences
+AgsAudioPreferencesClass (<items>)
+AgsAudioSetRecycling
+AgsAudioSetRecyclingClass (<items>)
+AgsAudioSignal
+AgsAudioSignalClass (<items>)
+AgsAudioSignalFlags (<items>)
+AgsAutosaveThread
+AgsAutosaveThreadClass (<items>)
+AgsBufferAudioSignal
+AgsBufferAudioSignalClass (<items>)
+AgsBufferChannel
+AgsBufferChannelClass (<items>)
+AgsBufferChannelRun
+AgsBufferChannelRunClass (<items>)
+AgsBufferRecycling
+AgsBufferRecyclingClass (<items>)
+AgsCancelAudio
+AgsCancelAudioClass (<items>)
+AgsCancelChannel
+AgsCancelChannelClass (<items>)
+AgsCancelRecall
+AgsCancelRecallClass (<items>)
+AgsCartesian (<items>)
+AgsCartesianClass (<items>)
+AgsChangeIndicator
+AgsChangeIndicatorClass (<items>)
+AgsChangeTact
+AgsChangeTactClass (<items>)
+AgsChannel
+AgsChannelClass (<items>)
+AgsChannelError (<items>)
+AgsChannelFlags (<items>)
+AgsChannelIter (<items>)
+AgsChannelIterFlags (<items>)
+AgsChannelRecallIDMode (<items>)
+AgsChannelSetRecycling
+AgsChannelSetRecyclingClass (<items>)
+AgsCloneChannel (<items>)
+AgsCloneChannelClass (<items>)
+AgsCloneChannelRun (<items>)
+AgsCloneChannelRunClass (<items>)
+AgsConfig
+AgsConfigClass (<items>)
+AgsContext (<items>)
+AgsCopyAudioSignal
+AgsCopyAudioSignalClass (<items>)
+AgsCopyChannel
+AgsCopyChannelClass (<items>)
+AgsCopyChannelRun
+AgsCopyChannelRunClass (<items>)
+AgsCopyChannelRunFlags (<items>)
+AgsCopyNotationAudio
+AgsCopyNotationAudioClass (<items>)
+AgsCopyNotationAudioFlags (<items>)
+AgsCopyNotationAudioRun
+AgsCopyNotationAudioRunClass (<items>)
+AgsCopyPatternAudio
+AgsCopyPatternAudioClass (<items>)
+AgsCopyPatternAudioRun
+AgsCopyPatternAudioRunClass (<items>)
+AgsCopyPatternChannel
+AgsCopyPatternChannelClass (<items>)
+AgsCopyPatternChannelRun
+AgsCopyPatternChannelRunClass (<items>)
+AgsCopyRecycling
+AgsCopyRecyclingClass (<items>)
+AgsCountBeatsAudio
+AgsCountBeatsAudioClass (<items>)
+AgsCountBeatsAudioRun
+AgsCountBeatsAudioRunClass (<items>)
+AgsCountable
+AgsCountableInterface (<items>)
+AgsDelayAudio
+AgsDelayAudioClass (<items>)
+AgsDelayAudioRun
+AgsDelayAudioRunClass (<items>)
+AgsDevout
+AgsDevoutClass (<items>)
+AgsDevoutError (<items>)
+AgsDevoutFlags (<items>)
+AgsDevoutPlayFlags (<items>)
+AgsDevoutResolutionMode (<items>)
+AgsDevoutThread
+AgsDevoutThreadClass (<items>)
+AgsDial
+AgsDialClass (<items>)
+AgsDialFlags (<items>)
+AgsDisplayTact
+AgsDisplayTactClass (<items>)
+AgsDrum
+AgsDrumClass (<items>)
+AgsDrumFlags (<items>)
+AgsDrumInputLine
+AgsDrumInputLineClass (<items>)
+AgsDrumInputPad
+AgsDrumInputPadClass (<items>)
+AgsDrumInputPadFlags (<items>)
+AgsDrumOutputLine
+AgsDrumOutputLineClass (<items>)
+AgsDrumOutputPad
+AgsDrumOutputPadClass (<items>)
+AgsDrumOutputPadFlags (<items>)
+AgsDynamicConnectable
+AgsDynamicConnectableInterface (<items>)
+AgsEditor
+AgsEditorClass (<items>)
+AgsEffect
+AgsEffectInterface (<items>)
+AgsExpander
+AgsExpanderChild (<items>)
+AgsExpanderClass (<items>)
+AgsExpanderFlags (<items>)
+AgsExpanderSet
+AgsExpanderSetChild (<items>)
+AgsExpanderSetClass (<items>)
+AgsExpanderSetFlags (<items>)
+AgsExportOutput
+AgsExportOutputClass (<items>)
+AgsExportThread
+AgsExportThreadClass (<items>)
+AgsExportWindow
+AgsExportWindowClass (<items>)
+AgsExportWindowFlags (<items>)
+AgsFFPlayer
+AgsFFPlayerClass (<items>)
+AgsFile
+AgsFile::read
+AgsFile::read-resolve
+AgsFile::read-start
+AgsFile::write
+AgsFile::write-concurrent
+AgsFile::write-resolve
+AgsFileClass (<items>)
+AgsFileFlags (<items>)
+AgsFileIdRef
+AgsFileIdRef::resolved
+AgsFileIdRefClass (<items>)
+AgsFileLaunch
+AgsFileLaunch::start
+AgsFileLaunchClass (<items>)
+AgsFileLink
+AgsFileLinkClass (<items>)
+AgsFileLookup
+AgsFileLookup::resolve
+AgsFileLookupClass (<items>)
+AgsFileRead (<items>)
+AgsFileReadClass (<items>)
+AgsFileResolve
+AgsFileSelection
+AgsFileSelection::add-entry
+AgsFileSelection::completed
+AgsFileSelection::remove-entry
+AgsFileSelectionClass (<items>)
+AgsFileSelectionEntry (<items>)
+AgsFileSelectionFlags (<items>)
+AgsFileValueFactory (<items>)
+AgsFileValueFactoryClass (<items>)
+AgsFileWrite (<items>)
+AgsFileWriteClass (<items>)
+AgsFreeSelection
+AgsFreeSelectionClass (<items>)
+AgsGarbageCollector
+AgsGarbageCollectorClass (<items>)
+AgsGarbageCollectorFlags (<items>)
+AgsGenericPreferences (<items>)
+AgsGenericPreferencesClass (<items>)
+AgsGuiTaskThread
+AgsGuiTaskThreadClass (<items>)
+AgsGuiThread
+AgsGuiThreadClass (<items>)
+AgsHIndicator (<items>)
+AgsHIndicatorClass (<items>)
+AgsHTimebar (<items>)
+AgsHTimebarClass (<items>)
+AgsHistory (<items>)
+AgsHistoryAppend
+AgsHistoryClass (<items>)
+AgsIndicator
+AgsIndicatorClass (<items>)
+AgsInitAudio
+AgsInitAudioClass (<items>)
+AgsInitChannel
+AgsInitChannelClass (<items>)
+AgsInlinePlayer
+AgsInlinePlayerClass (<items>)
+AgsInput
+AgsInputClass (<items>)
+AgsIpatch
+AgsIpatchClass (<items>)
+AgsIpatchFlags (<items>)
+AgsIpatchSF2Reader
+AgsIpatchSF2ReaderClass (<items>)
+AgsIteratorThread
+AgsIteratorThread::children-ready
+AgsIteratorThreadClass (<items>)
+AgsIteratorThreadFlags (<items>)
+AgsLadspaBrowser
+AgsLadspaBrowserClass (<items>)
+AgsLadspaManager
+AgsLadspaManagerClass (<items>)
+AgsLadspaPlugin (<items>)
+AgsLadspaPluginFlags (<items>)
+AgsLadspaPluginPreferences (<items>)
+AgsLed
+AgsLedClass (<items>)
+AgsLedFlags (<items>)
+AgsLibao (<items>)
+AgsLibaoClass (<items>)
+AgsLibaoError (<items>)
+AgsLibaoFlags (<items>)
+AgsLibaoPlay (<items>)
+AgsLibaoPlayDomain (<items>)
+AgsLibaoPlayFlags (<items>)
+AgsLibaoResolutionMode (<items>)
+AgsLine
+AgsLine::resize-lines
+AgsLineClass (<items>)
+AgsLineEditor
+AgsLineEditorClass (<items>)
+AgsLineFlags (<items>)
+AgsLineMember
+AgsLineMemberClass (<items>)
+AgsLineMemberEditor
+AgsLineMemberEditorClass (<items>)
+AgsLineMemberFlags (<items>)
+AgsLinkChannel
+AgsLinkChannelClass (<items>)
+AgsLinkCollectionEditor
+AgsLinkCollectionEditorClass (<items>)
+AgsLinkEditor
+AgsLinkEditorClass (<items>)
+AgsLinkEditorFlags (<items>)
+AgsListingEditor
+AgsListingEditorClass (<items>)
+AgsLog (<items>)
+AgsLogClass (<items>)
+AgsLogFlags (<items>)
+AgsLogFormatedMessage (<items>)
+AgsLogMessage (<items>)
+AgsLoopChannel
+AgsLoopChannelClass (<items>)
+AgsLoopChannelRun
+AgsLoopChannelRunClass (<items>)
+AgsMachine
+AgsMachineClass (<items>)
+AgsMachineCounter (<items>)
+AgsMachineEditor
+AgsMachineEditor::set-machine
+AgsMachineEditorClass (<items>)
+AgsMachineEditorFlags (<items>)
+AgsMachineFileInputFlags (<items>)
+AgsMachineFlags (<items>)
+AgsMachineRadioButton
+AgsMachineRadioButtonClass (<items>)
+AgsMachineSelection
+AgsMachineSelectionClass (<items>)
+AgsMachineSelector
+AgsMachineSelector::changed
+AgsMachineSelectorClass (<items>)
+AgsMain
+AgsMainClass (<items>)
+AgsMainFlags (<items>)
+AgsMainLoop
+AgsMainLoopInterface (<items>)
+AgsMatrix
+AgsMatrixClass (<items>)
+AgsMenu
+AgsMenuBar
+AgsMenuBarClass (<items>)
+AgsMenuClass (<items>)
+AgsMenuItem
+AgsMenuItemClass (<items>)
+AgsMeter
+AgsMeterClass (<items>)
+AgsMixer
+AgsMixerClass (<items>)
+AgsMixerInputLine
+AgsMixerInputLineClass (<items>)
+AgsMixerInputPad
+AgsMixerInputPadClass (<items>)
+AgsMutable
+AgsMutableInterface (<items>)
+AgsMuteAudio
+AgsMuteAudioClass (<items>)
+AgsMuteAudioSignal
+AgsMuteAudioSignalClass (<items>)
+AgsMuteChannel
+AgsMuteChannelClass (<items>)
+AgsMuteChannelRun
+AgsMuteChannelRunClass (<items>)
+AgsMuteRecycling
+AgsMuteRecyclingClass (<items>)
+AgsNavigation
+AgsNavigationClass (<items>)
+AgsNavigationFlags (<items>)
+AgsNotation
+AgsNotationClass (<items>)
+AgsNotationFlags (<items>)
+AgsNote
+AgsNoteClass (<items>)
+AgsNoteEdit
+AgsNoteEditClass (<items>)
+AgsNoteEditFlags (<items>)
+AgsNoteEditResetFlags (<items>)
+AgsNoteFlags (<items>)
+AgsNotebook
+AgsNotebookClass (<items>)
+AgsNotebookTab (<items>)
+AgsNotebookTabFlags (<items>)
+AgsOpenFile
+AgsOpenFileClass (<items>)
+AgsOpenSingleFile
+AgsOpenSingleFileClass (<items>)
+AgsOptionMenu
+AgsOptionMenuClass (<items>)
+AgsOscillator
+AgsOscillatorClass (<items>)
+AgsOutput
+AgsOutputClass (<items>)
+AgsPackable
+AgsPackableInterface (<items>)
+AgsPad
+AgsPad::resize-lines
+AgsPad::set-channel
+AgsPadClass (<items>)
+AgsPadEditor
+AgsPadEditorClass (<items>)
+AgsPadFlags (<items>)
+AgsPanel
+AgsPanelClass (<items>)
+AgsPanelInputLine
+AgsPanelInputLineClass (<items>)
+AgsPanelInputPad
+AgsPanelInputPadClass (<items>)
+AgsPattern
+AgsPatternClass (<items>)
+AgsPeakChannel
+AgsPeakChannelClass (<items>)
+AgsPeakChannelRun
+AgsPeakChannelRunClass (<items>)
+AgsPerformancePreferences
+AgsPerformancePreferencesClass (<items>)
+AgsPersistable
+AgsPersistableInterface (<items>)
+AgsPlayAudio
+AgsPlayAudioClass (<items>)
+AgsPlayAudioFile
+AgsPlayAudioFileClass (<items>)
+AgsPlayAudioSignal
+AgsPlayAudioSignalClass (<items>)
+AgsPlayChannel
+AgsPlayChannelClass (<items>)
+AgsPlayChannelRun
+AgsPlayChannelRunClass (<items>)
+AgsPlayChannelRunFlags (<items>)
+AgsPlayChannelRunMaster
+AgsPlayChannelRunMasterClass (<items>)
+AgsPlayChannelRunMasterFlags (<items>)
+AgsPlayChannelRunMasterStreamer (<items>)
+AgsPlayNotationAudio
+AgsPlayNotationAudioClass (<items>)
+AgsPlayNotationAudioRun
+AgsPlayNotationAudioRunClass (<items>)
+AgsPlayNotationAudioRunFlags (<items>)
+AgsPlayNote
+AgsPlayNoteClass (<items>)
+AgsPlayPattern
+AgsPlayPatternClass (<items>)
+AgsPlayRecycling
+AgsPlayRecyclingClass (<items>)
+AgsPlayable
+AgsPlayableError (<items>)
+AgsPlayableInterface (<items>)
+AgsPlugin
+AgsPluginFactory
+AgsPluginFactory::add
+AgsPluginFactory::create
+AgsPluginFactoryClass (<items>)
+AgsPluginInterface (<items>)
+AgsPluginMetadata (<items>)
+AgsPluginPreferences
+AgsPluginPreferencesClass (<items>)
+AgsPort
+AgsPortClass (<items>)
+AgsPortableThread (<items>)
+AgsPortableThreadClass (<items>)
+AgsPortableThreadFlags (<items>)
+AgsPortlet
+AgsPortletInterface (<items>)
+AgsPreferences
+AgsPreferencesClass (<items>)
+AgsPreferencesFlags (<items>)
+AgsPropertyCollectionEditor
+AgsPropertyCollectionEditorClass (<items>)
+AgsPropertyEditor
+AgsPropertyEditorClass (<items>)
+AgsPropertyEditorFlags (<items>)
+AgsPropertyListingEditor
+AgsPropertyListingEditorClass (<items>)
+AgsRecall
+AgsRecallAudio
+AgsRecallAudioClass (<items>)
+AgsRecallAudioRun
+AgsRecallAudioRunClass (<items>)
+AgsRecallAudioSignal
+AgsRecallAudioSignalClass (<items>)
+AgsRecallAudioSignalFlags (<items>)
+AgsRecallChannel
+AgsRecallChannelClass (<items>)
+AgsRecallChannelRun
+AgsRecallChannelRunClass (<items>)
+AgsRecallChannelRunDummy
+AgsRecallChannelRunDummyClass (<items>)
+AgsRecallClass (<items>)
+AgsRecallContainer
+AgsRecallContainerClass (<items>)
+AgsRecallContainerFindFlags (<items>)
+AgsRecallContainerFlags (<items>)
+AgsRecallDependency
+AgsRecallDependencyClass (<items>)
+AgsRecallFactory
+AgsRecallFactoryClass (<items>)
+AgsRecallFactoryCreateFlags (<items>)
+AgsRecallFlags (<items>)
+AgsRecallHandler (signal_name, callback, data, handler)
+AgsRecallID
+AgsRecallIDClass (<items>)
+AgsRecallIDFlags (<items>)
+AgsRecallLadspa
+AgsRecallLadspaClass (<items>)
+AgsRecallLadspaRun
+AgsRecallLadspaRunClass (<items>)
+AgsRecallNotifyDependencyMode (<items>)
+AgsRecallRecycling
+AgsRecallRecyclingClass (<items>)
+AgsRecallRecyclingDummy
+AgsRecallRecyclingDummyClass (<items>)
+AgsRecallRecyclingFlags (<items>)
+AgsRecordThread (<items>)
+AgsRecordThreadClass (<items>)
+AgsRecycling
+AgsRecyclingClass (<items>)
+AgsRecyclingContainer
+AgsRecyclingContainerClass (<items>)
+AgsRecyclingFlags (<items>)
+AgsRecyclingThread
+AgsRecyclingThread::play-audio
+AgsRecyclingThread::play-channel
+AgsRecyclingThreadClass (<items>)
+AgsRecyclingThreadFlags (<items>)
+AgsRegistry
+AgsRegistryClass (<items>)
+AgsRegistryEntry (<items>)
+AgsRemoteTask
+AgsRemoteTaskClass (<items>)
+AgsRemoveAudio
+AgsRemoveAudioClass (<items>)
+AgsRemoveAudioSignal
+AgsRemoveAudioSignalClass (<items>)
+AgsRemoveNote
+AgsRemoveNoteClass (<items>)
+AgsRemovePointFromSelection
+AgsRemovePointFromSelectionClass (<items>)
+AgsRemoveRecall
+AgsRemoveRecallClass (<items>)
+AgsRemoveRegionFromSelection
+AgsRemoveRegionFromSelectionClass (<items>)
+AgsResizeEditor (<items>)
+AgsResizeEditorClass (<items>)
+AgsReturnableThread
+AgsReturnableThread::safe-run
+AgsReturnableThreadCallback
+AgsReturnableThreadClass (<items>)
+AgsReturnableThreadFlags (<items>)
+AgsRuler
+AgsRulerClass (<items>)
+AgsRunnable
+AgsRunnableInterface (<items>)
+AgsSF2Chooser
+AgsSF2ChooserClass (<items>)
+AgsSF2Levels (<items>)
+AgsSaveFile
+AgsSaveFileClass (<items>)
+AgsScrollOnPlay
+AgsScrollOnPlayClass (<items>)
+AgsSeekable
+AgsSeekableInterface (<items>)
+AgsSegment (<items>)
+AgsSegmentClass (<items>)
+AgsSegmentFields (<items>)
+AgsServer
+AgsServer::start
+AgsServerClass (<items>)
+AgsServerFlags (<items>)
+AgsServerPreferences
+AgsServerPreferencesClass (<items>)
+AgsSetAudioChannels
+AgsSetAudioChannelsClass (<items>)
+AgsSetBufferSize
+AgsSetBufferSizeClass (<items>)
+AgsSetDevoutPlayFlags
+AgsSetDevoutPlayFlagsClass (<items>)
+AgsSetMuted
+AgsSetMutedClass (<items>)
+AgsSetOutputDevice
+AgsSetOutputDeviceClass (<items>)
+AgsSetSamplerate
+AgsSetSamplerateClass (<items>)
+AgsSingleThread
+AgsSingleThreadClass (<items>)
+AgsSndfile
+AgsSndfileClass (<items>)
+AgsSndfileFlags (<items>)
+AgsSoundcard
+AgsSoundcardInterface (<items>)
+AgsStackable
+AgsStackableInterface (<items>)
+AgsStartDevout
+AgsStartDevoutClass (<items>)
+AgsStream
+AgsStreamAudioSignal
+AgsStreamAudioSignalClass (<items>)
+AgsStreamChannel
+AgsStreamChannelClass (<items>)
+AgsStreamChannelRun
+AgsStreamChannelRunClass (<items>)
+AgsStreamClass (<items>)
+AgsStreamRecycling
+AgsStreamRecyclingClass (<items>)
+AgsSynth
+AgsSynthClass (<items>)
+AgsSynthFlags (<items>)
+AgsSynthInputLine
+AgsSynthInputLineClass (<items>)
+AgsSynthInputPad
+AgsSynthInputPadClass (<items>)
+AgsTable
+AgsTableClass (<items>)
+AgsTactable
+AgsTactableInterface (<items>)
+AgsTask
+AgsTaskClass (<items>)
+AgsTaskFlags (<items>)
+AgsTaskThread
+AgsTaskThreadAppend (<items>)
+AgsTaskThreadClass (<items>)
+AgsThread
+AgsThreadClass (<items>)
+AgsThreadFlags (<items>)
+AgsThreadPool
+AgsThreadPool::start
+AgsThreadPoolClass (<items>)
+AgsThreadPoolFlags (<items>)
+AgsTimebar (<items>)
+AgsTimebarClass (<items>)
+AgsTimer (<items>)
+AgsTimestamp
+AgsTimestampClass (<items>)
+AgsTimestampFactory
+AgsTimestampFactory::create
+AgsTimestampFactoryClass (<items>)
+AgsTimestampFactoryFlags (<items>)
+AgsTimestampFlags (<items>)
+AgsTimestampThread
+AgsTimestampThreadClass (<items>)
+AgsToggleLed
+AgsToggleLedClass (<items>)
+AgsTogglePatternBit
+AgsTogglePatternBit::refresh-gui
+AgsTogglePatternBitClass (<items>)
+AgsToolbar
+AgsToolbarClass (<items>)
+AgsTreeIterator
+AgsTreeIteratorInterface (<items>)
+AgsUnrefAudioSignal
+AgsUnrefAudioSignalClass (<items>)
+AgsVIndicator
+AgsVIndicatorClass (<items>)
+AgsVolumeAudioSignal
+AgsVolumeAudioSignalClass (<items>)
+AgsVolumeChannel
+AgsVolumeChannelClass (<items>)
+AgsVolumeChannelRun
+AgsVolumeChannelRunClass (<items>)
+AgsVolumeRecycling
+AgsVolumeRecyclingClass (<items>)
+AgsWaveform (<items>)
+AgsWaveformClass (<items>)
+AgsWindow
+AgsWindowClass (<items>)
+AgsWindowFlags (<items>)
+MSEC_PER_SEC
+NSEC_PER_SEC
+ags_accounting_table_alloc
+ags_accounting_table_set_sanity
+ags_amplifier
+ags_append_audio_threaded_new
+ags_append_recall_new (devout_play)
+ags_apply_sequencer_length_new (length)
+ags_apply_synth_new (start_channel, count, wave, attack, frame_count, frequency, phase, start, volume, loop_start, loop_end, start_channel, count, wave, attack, frame_count, frequency, phase, start, volume, loop_start, loop_end)
+ags_apply_wavetable_new
+ags_async_queue_add
+ags_async_queue_find_context
+ags_async_queue_idle
+ags_async_queue_initerrupt
+ags_async_queue_new
+ags_async_queue_next_interval
+ags_async_queue_pop_context
+ags_async_queue_push_context
+ags_async_queue_remove
+ags_async_queue_worker
+ags_audio_add_recall (recall)
+ags_audio_file_open (Returns)
+ags_audio_file_open_from_data (Returns)
+ags_audio_file_rw_open (Returns)
+ags_audio_file_xml_new
+ags_audio_preferences_audio_channels_changed
+ags_audio_preferences_buffer_size_changed
+ags_audio_preferences_card_changed_callback
+ags_audio_preferences_samplerate_changed
+ags_audio_recall_change_state
+ags_audio_remove_recall (recall)
+ags_audio_set_recycling_new
+ags_audio_signal_new_with_length
+ags_audio_unset_flags
+ags_cartesian_new
+ags_change_tact_new
+ags_channel_add_recall (recall)
+ags_channel_error_quark
+ags_channel_find_recall
+ags_channel_init_recall (stage)
+ags_channel_iter_alloc
+ags_channel_iter_free
+ags_channel_iter_next
+ags_channel_iter_prev
+ags_channel_recall_id_set
+ags_channel_recursive_play_init (Returns)
+ags_channel_remove_recall (recall)
+ags_channel_safe_resize_audio_signal (size)
+ags_channel_set_recycling_new
+ags_clone_channel_new
+ags_clone_channel_run_new
+ags_container_add_all
+ags_context_alloc
+ags_copy_notation_audio_new (devout)
+ags_copy_notation_audio_run_new (count_beats_audio_run)
+ags_copy_pattern_channel_template_find_source_and_destination
+ags_countable_get_notation_counter
+ags_countable_get_sequencer_counter
+ags_default_log
+ags_delay_audio_notation_duration_changed
+ags_delay_audio_sequencer_duration_changed
+ags_devout_error_quark
+ags_devout_note_offset_changed
+ags_devout_pcm_info (buffer_size_max)
+ags_devout_play_find_source (source)
+ags_drum_done_callback
+ags_drum_index0_callback
+ags_drum_index1_callback
+ags_drum_input_line_audio_set_pads_callback
+ags_drum_input_line_channel_done_callback
+ags_drum_input_line_map_recall
+ags_drum_input_line_parent_set_callback
+ags_drum_input_pad_edit_callback
+ags_drum_input_pad_open_callback
+ags_drum_input_pad_play_callback
+ags_drum_length_spin_callback
+ags_drum_loop_button_callback
+ags_drum_offset_callback
+ags_drum_open_callback
+ags_drum_output_line_add_default_recall
+ags_drum_output_line_parent_set_callback
+ags_drum_output_pad_play_cancel
+ags_drum_output_pad_play_done
+ags_drum_pad_callback
+ags_drum_parent_set_callback
+ags_drum_set_pattern
+ags_drum_tact_callback
+ags_dynamic_connectable_connect
+ags_dynamic_connectable_disconnect
+ags_echo
+ags_editor_change_position_callback
+ags_editor_machine_changed_callback
+ags_editor_parent_set_callback
+ags_editor_set_audio_channels_callback
+ags_editor_set_pads_callback
+ags_expander_child_alloc
+ags_expander_child_find
+ags_expander_set_child_alloc
+ags_expander_set_child_find
+ags_expander_set_set_flags
+ags_export_thread_new (devout)
+ags_export_window_export_callback
+ags_export_window_file_chooser_button_callback
+ags_export_window_new
+ags_export_window_tact_callback
+ags_ffplayer_drawing_area_button_press_callback
+ags_ffplayer_drawing_area_configure_callback
+ags_ffplayer_drawing_area_expose_callback
+ags_ffplayer_hscrollbar_value_changed
+ags_ffplayer_instrument_changed_callback
+ags_ffplayer_open_clicked_callback
+ags_ffplayer_open_dialog_response_callback
+ags_ffplayer_paint
+ags_ffplayer_parent_set_callback
+ags_ffplayer_preset_changed_callback
+ags_file_add_id_ref
+ags_file_add_launch
+ags_file_add_lookup
+ags_file_find_id_ref_by_node
+ags_file_find_id_ref_by_reference
+ags_file_find_id_ref_by_xpath
+ags_file_id_ref_resolved
+ags_file_launch_start
+ags_file_lookup_find_by_node
+ags_file_lookup_resolve
+ags_file_read
+ags_file_read_audio
+ags_file_read_audio_list
+ags_file_read_audio_loop
+ags_file_read_audio_signal
+ags_file_read_audio_signal_list
+ags_file_read_channel
+ags_file_read_channel_list
+ags_file_read_devout
+ags_file_read_devout_list
+ags_file_read_devout_play
+ags_file_read_devout_play_list
+ags_file_read_dialog
+ags_file_read_dialog_list
+ags_file_read_editor
+ags_file_read_embedded_audio
+ags_file_read_embedded_audio_list
+ags_file_read_file_link
+ags_file_read_file_link_list
+ags_file_read_input
+ags_file_read_line
+ags_file_read_line_editor
+ags_file_read_line_list
+ags_file_read_line_member
+ags_file_read_line_member_editor
+ags_file_read_line_member_list
+ags_file_read_link_collection_editor
+ags_file_read_link_editor
+ags_file_read_machine
+ags_file_read_machine_counter
+ags_file_read_machine_counter_list
+ags_file_read_machine_editor
+ags_file_read_machine_editor_list
+ags_file_read_machine_list
+ags_file_read_machine_selector
+ags_file_read_main
+ags_file_read_menu_bar
+ags_file_read_mixer_input_pad
+ags_file_read_mixer_output_pad
+ags_file_read_navigation
+ags_file_read_new
+ags_file_read_notation
+ags_file_read_notation_list
+ags_file_read_note
+ags_file_read_note_list
+ags_file_read_notebook
+ags_file_read_notebook_tab
+ags_file_read_notebook_tab_list
+ags_file_read_oscillator
+ags_file_read_output
+ags_file_read_pad
+ags_file_read_pad_editor
+ags_file_read_pad_list
+ags_file_read_pattern
+ags_file_read_pattern_data
+ags_file_read_pattern_data_list
+ags_file_read_pattern_list
+ags_file_read_port
+ags_file_read_port_list
+ags_file_read_recall
+ags_file_read_recall_audio
+ags_file_read_recall_audio_run
+ags_file_read_recall_audio_signal
+ags_file_read_recall_channel
+ags_file_read_recall_channel_run
+ags_file_read_recall_container
+ags_file_read_recall_container_list
+ags_file_read_recall_list
+ags_file_read_recall_recycling
+ags_file_read_recycling
+ags_file_read_recycling_list
+ags_file_read_resize_editor
+ags_file_read_resolve
+ags_file_read_server
+ags_file_read_start
+ags_file_read_stream
+ags_file_read_stream_list
+ags_file_read_task
+ags_file_read_task_list
+ags_file_read_thread
+ags_file_read_thread_list
+ags_file_read_thread_pool
+ags_file_read_timestamp
+ags_file_read_timestamp_list
+ags_file_read_toolbar
+ags_file_read_widget
+ags_file_read_window
+ags_file_selection_add_entry
+ags_file_selection_completed
+ags_file_selection_contains_file
+ags_file_selection_entry_alloc
+ags_file_selection_new
+ags_file_selection_remove_callback
+ags_file_selection_remove_entry
+ags_file_selection_set_entry (file_selection, entry)
+ags_file_str2md5
+ags_file_util_read_dependency
+ags_file_util_read_history
+ags_file_util_read_object
+ags_file_util_read_parameter
+ags_file_util_read_value
+ags_file_util_write_dependency
+ags_file_util_write_history
+ags_file_util_write_object
+ags_file_util_write_parameter
+ags_file_util_write_value
+ags_file_value_factory_new
+ags_file_write
+ags_file_write_audio
+ags_file_write_audio_list
+ags_file_write_audio_loop
+ags_file_write_audio_signal
+ags_file_write_audio_signal_list
+ags_file_write_channel
+ags_file_write_channel_list
+ags_file_write_concurrent
+ags_file_write_devout
+ags_file_write_devout_list
+ags_file_write_devout_play
+ags_file_write_devout_play_list
+ags_file_write_dialog
+ags_file_write_dialog_list
+ags_file_write_editor
+ags_file_write_embedded_audio
+ags_file_write_embedded_audio_list
+ags_file_write_file_link
+ags_file_write_file_link_list
+ags_file_write_input
+ags_file_write_line
+ags_file_write_line_editor
+ags_file_write_line_list
+ags_file_write_line_member
+ags_file_write_line_member_editor
+ags_file_write_line_member_list
+ags_file_write_link_collection_editor
+ags_file_write_link_editor
+ags_file_write_machine
+ags_file_write_machine_counter
+ags_file_write_machine_counter_list
+ags_file_write_machine_editor
+ags_file_write_machine_editor_list
+ags_file_write_machine_list
+ags_file_write_machine_selector
+ags_file_write_main
+ags_file_write_menu_bar
+ags_file_write_mixer_input_pad
+ags_file_write_mixer_output_pad
+ags_file_write_navigation
+ags_file_write_new
+ags_file_write_notation
+ags_file_write_notation_list
+ags_file_write_note
+ags_file_write_note_list
+ags_file_write_notebook
+ags_file_write_notebook_tab
+ags_file_write_notebook_tab_list
+ags_file_write_oscillator
+ags_file_write_output
+ags_file_write_pad
+ags_file_write_pad_editor
+ags_file_write_pad_list
+ags_file_write_pattern
+ags_file_write_pattern_data
+ags_file_write_pattern_data_list
+ags_file_write_pattern_list
+ags_file_write_port
+ags_file_write_port_list
+ags_file_write_recall
+ags_file_write_recall_audio
+ags_file_write_recall_audio_run
+ags_file_write_recall_audio_signal
+ags_file_write_recall_channel
+ags_file_write_recall_channel_run
+ags_file_write_recall_container
+ags_file_write_recall_container_list
+ags_file_write_recall_list
+ags_file_write_recall_recycling
+ags_file_write_recycling
+ags_file_write_recycling_list
+ags_file_write_resize_editor
+ags_file_write_resolve
+ags_file_write_server
+ags_file_write_stream
+ags_file_write_stream_list
+ags_file_write_task
+ags_file_write_task_list
+ags_file_write_thread
+ags_file_write_thread_list
+ags_file_write_thread_pool
+ags_file_write_timestamp
+ags_file_write_timestamp_list
+ags_file_write_toolbar
+ags_file_write_widget
+ags_file_write_window
+ags_free_selection_new (notation)
+ags_garbage_collector_add
+ags_garbage_collector_new
+ags_garbage_collector_remove
+ags_garbage_collector_run
+ags_generic_preferences_new
+ags_gui_task_thread_new
+ags_hindicator_new
+ags_history_new
+ags_htimebar_new
+ags_inline_player_new
+ags_ipatch_read_audio_signal (Returns)
+ags_iterator_thread_children_ready
+ags_iterator_thread_new
+ags_ladspa_browser_cancel_callback
+ags_ladspa_browser_get_plugin_effect (ladspa_browser)
+ags_ladspa_browser_get_plugin_filename (ladspa_browser)
+ags_ladspa_browser_new (parent)
+ags_ladspa_browser_ok_callback
+ags_ladspa_browser_plugin_effect_callback
+ags_ladspa_browser_plugin_filename_callback
+ags_ladspa_browser_preview_close_callback
+ags_ladspa_browser_preview_new
+ags_ladspa_plugin_preferences_alloc
+ags_led_set_active
+ags_led_unset_active
+ags_libao_error_quark
+ags_libao_list_cards
+ags_libao_new
+ags_libao_note_offset_changed
+ags_libao_pcm_info
+ags_libao_play_alloc
+ags_libao_play_domain_alloc
+ags_libao_play_domain_free
+ags_libao_play_free
+ags_libao_tic
+ags_line_channel_done_callback
+ags_line_copy_pattern_cancel
+ags_line_copy_pattern_done
+ags_line_editor_destroy_callback
+ags_line_editor_parent_set_callback
+ags_line_editor_show_callback
+ags_line_find_next_grouped (Returns)
+ags_line_group_clicked_callback
+ags_line_member_button_clicked_callback
+ags_line_member_change_port
+ags_line_member_check_button_clicked_callback
+ags_line_member_dial_changed_callback
+ags_line_member_editor_add_callback
+ags_line_member_editor_ladspa_browser_response_callback
+ags_line_member_editor_remove_callback
+ags_line_member_get_widget
+ags_line_member_hscale_changed_callback
+ags_line_member_parent_set_callback
+ags_line_member_port_safe_write_callback
+ags_line_member_spin_button_changed_callback
+ags_line_member_toggle_button_clicked_callback
+ags_line_member_vscale_changed_callback
+ags_line_parent_set_callback
+ags_line_peak_run_post_callback
+ags_line_play_channel_run_cancel
+ags_line_play_volume_cancel
+ags_line_play_volume_done
+ags_line_recall_volume_cancel
+ags_line_recall_volume_done
+ags_line_remove_recall_callback
+ags_line_volume_callback
+ags_link_channel_new (link)
+ags_link_collection_editor_check_count
+ags_link_collection_editor_check_first_line
+ags_link_collection_editor_check_first_link
+ags_link_collection_editor_count_callback
+ags_link_collection_editor_first_line_callback
+ags_link_collection_editor_first_link_callback
+ags_link_collection_editor_link_callback
+ags_link_collection_editor_parent_set_callback
+ags_link_editor_combo_callback
+ags_link_editor_destroy_callback
+ags_link_editor_parent_set_callback
+ags_link_editor_show_callback
+ags_list_duplicate_list
+ags_listing_editor_add_children (listing_editor)
+ags_listing_editor_parent_set_callback
+ags_listing_editor_set_pads_callback
+ags_log_debug
+ags_log_message
+ags_log_start_queue
+ags_log_stop_queue
+ags_machine_button_press_callback
+ags_machine_counter_alloc
+ags_machine_destroy_callback
+ags_machine_done_callback
+ags_machine_editor_add_callback
+ags_machine_editor_add_children (machine_editor)
+ags_machine_editor_add_input
+ags_machine_editor_add_output
+ags_machine_editor_apply_callback
+ags_machine_editor_back_callback
+ags_machine_editor_cancel_callback
+ags_machine_editor_destroy_callback
+ags_machine_editor_ok_callback
+ags_machine_editor_parent_set_callback
+ags_machine_editor_remove_callback
+ags_machine_editor_remove_input
+ags_machine_editor_remove_output
+ags_machine_editor_show_callback
+ags_machine_editor_switch_page_callback
+ags_machine_file_chooser_dialog_new (Returns)
+ags_machine_find_by_name (Returns)
+ags_machine_open_response_callback
+ags_machine_parent_set_callback
+ags_machine_play_callback
+ags_machine_popup_destroy_activate_callback
+ags_machine_popup_hide_activate_callback
+ags_machine_popup_move_down_activate_callback
+ags_machine_popup_move_up_activate_callback
+ags_machine_popup_properties_activate_callback
+ags_machine_popup_rename_activate_callback
+ags_machine_popup_show_activate_callback
+ags_machine_radio_button_new (Returns)
+ags_machine_selection_new (window, Returns)
+ags_machine_selector_changed (machine_selector, machine)
+ags_machine_selector_new (Returns)
+ags_machine_selector_popup_add_index_callback
+ags_machine_selector_popup_add_tab_callback
+ags_machine_selector_popup_link_index_callback
+ags_machine_selector_popup_new (machine_selector, Returns)
+ags_machine_selector_popup_remove_index_callback
+ags_machine_selector_popup_remove_tab_callback
+ags_machine_selector_radio_changed
+ags_machine_start_failure_callback
+ags_machine_tact_callback
+ags_main_add_devout
+ags_main_load_config
+ags_main_loop_get_async_queue
+ags_main_loop_set_async_queue
+ags_main_new
+ags_main_quit
+ags_main_register_machine_type
+ags_main_register_recall_type
+ags_main_register_task_type
+ags_main_register_thread_type
+ags_main_register_widget_type
+ags_matrix_adjustment_value_changed_callback
+ags_matrix_bpm_callback
+ags_matrix_done_callback
+ags_matrix_draw_gutter
+ags_matrix_draw_matrix
+ags_matrix_drawing_area_button_press_callback
+ags_matrix_drawing_area_expose_callback
+ags_matrix_highlight_gutter_point
+ags_matrix_index_callback
+ags_matrix_input_map_recall
+ags_matrix_length_spin_callback
+ags_matrix_loop_button_callback
+ags_matrix_output_map_recall
+ags_matrix_parent_set_callback
+ags_matrix_redraw_gutter_point
+ags_matrix_tact_callback
+ags_matrix_unpaint_gutter_point
+ags_menu_bar_about_callback
+ags_menu_bar_add_callback
+ags_menu_bar_add_drum_callback
+ags_menu_bar_add_ffplayer_callback
+ags_menu_bar_add_matrix_callback
+ags_menu_bar_add_mixer_callback
+ags_menu_bar_add_panel_callback
+ags_menu_bar_add_synth_callback
+ags_menu_bar_destroy_callback
+ags_menu_bar_export_callback
+ags_menu_bar_open_callback
+ags_menu_bar_preferences_callback
+ags_menu_bar_quit_callback
+ags_menu_bar_remove_callback
+ags_menu_bar_save_as_callback
+ags_menu_bar_save_callback
+ags_menu_bar_show_callback
+ags_menu_item_new
+ags_menu_new
+ags_meter_configure_event
+ags_meter_destroy_callback
+ags_meter_expose_event
+ags_meter_new (Returns)
+ags_meter_paint
+ags_meter_show_callback
+ags_meter_sound_string
+ags_mixer_input_line_map_recall
+ags_mixer_parent_set_callback
+ags_mutable_set_muted
+ags_mute_channel_run_new
+ags_navigation_bpm_callback
+ags_navigation_destroy_callback
+ags_navigation_duration_tact_callback
+ags_navigation_expander_callback
+ags_navigation_forward_callback
+ags_navigation_loop_callback
+ags_navigation_loop_left_tact_callback
+ags_navigation_loop_right_tact_callback
+ags_navigation_next_callback
+ags_navigation_parent_set_callback
+ags_navigation_play_callback
+ags_navigation_position_tact_callback
+ags_navigation_prev_callback
+ags_navigation_raster_callback
+ags_navigation_rewind_callback
+ags_navigation_set_seeking_sensitive
+ags_navigation_show_callback
+ags_navigation_stop_callback
+ags_navigation_tic_callback
+ags_navigation_update_time_string (time_string)
+ags_notation_find_region (use_selection_list)
+ags_notation_get_current
+ags_notation_insert_from_clipboard (content)
+ags_note_edit_drawing_area_button_press_event
+ags_note_edit_drawing_area_button_release_event
+ags_note_edit_drawing_area_configure_event
+ags_note_edit_drawing_area_expose_event
+ags_note_edit_drawing_area_motion_notify_event
+ags_note_edit_hscrollbar_value_changed
+ags_note_edit_new (Returns)
+ags_note_edit_vscrollbar_value_changed
+ags_notebook_add_child
+ags_notebook_add_tab
+ags_notebook_insert_tab
+ags_notebook_machine_changed_callback
+ags_notebook_new (Returns)
+ags_notebook_next_active_tab
+ags_notebook_remove_child
+ags_notebook_remove_tab
+ags_notebook_tab_index
+ags_open_file_new (audio)
+ags_open_single_file_new
+ags_option_menu_new
+ags_oscillator_attack_callback
+ags_oscillator_frame_count_callback
+ags_oscillator_frequency_callback
+ags_oscillator_phase_callback
+ags_oscillator_volume_callback
+ags_oscillator_wave_callback
+ags_packable_pack (container)
+ags_pad_destroy_callback
+ags_pad_editor_destroy_callback
+ags_pad_editor_parent_set_callback
+ags_pad_editor_set_audio_channels_callback
+ags_pad_editor_show_callback
+ags_pad_group_clicked_callback
+ags_pad_mute_clicked_callback
+ags_pad_option_changed_callback
+ags_pad_parent_set_callback
+ags_pad_show_callback
+ags_pad_solo_clicked_callback
+ags_panel_input_line_map_recall
+ags_panel_parent_set_callback
+ags_parameter_grow (type)
+ags_pattern_get_by_timestamp
+ags_pattern_set_dim (lenght)
+ags_peak_channel_retrieve_peak
+ags_persistable_read
+ags_persistable_read_link
+ags_persistable_write
+ags_persistable_write_link
+ags_play_audio_file_new
+ags_play_audio_signal_new (audio_channel)
+ags_play_channel_run_master_find_streamer
+ags_play_channel_run_master_new
+ags_play_channel_run_master_streamer_alloc
+ags_play_note_new
+ags_play_pattern_connect
+ags_playable_error_quark
+ags_playable_iter_next (Returns)
+ags_playable_read_audio_signal (channels)
+ags_plugin_factory_add
+ags_plugin_factory_create
+ags_plugin_factory_get_instance
+ags_plugin_factory_list_by_name
+ags_plugin_factory_new
+ags_plugin_factory_new_from_file
+ags_plugin_factory_read_file
+ags_portable_thread_add_child
+ags_portable_thread_children_is_locked
+ags_portable_thread_first (thread, Returns)
+ags_portable_thread_get_toplevel (thread, Returns)
+ags_portable_thread_is_current_ready
+ags_portable_thread_is_current_synced
+ags_portable_thread_is_tree_ready
+ags_portable_thread_is_tree_synced
+ags_portable_thread_last (thread, Returns)
+ags_portable_thread_lock (thread)
+ags_portable_thread_lock_all
+ags_portable_thread_lock_children (thread)
+ags_portable_thread_lock_parent (thread, parent)
+ags_portable_thread_lock_sibling (thread)
+ags_portable_thread_main_loop_unlock_children
+ags_portable_thread_new (data, Returns)
+ags_portable_thread_next_children_locked (thread, Returns)
+ags_portable_thread_next_parent_locked (thread, parent, Returns)
+ags_portable_thread_next_sibling_locked (thread, Returns)
+ags_portable_thread_parental_is_locked (thread, parent, Returns)
+ags_portable_thread_remove_child
+ags_portable_thread_run (thread)
+ags_portable_thread_sibling_is_locked (thread, Returns)
+ags_portable_thread_signal_children (thread, broadcast)
+ags_portable_thread_signal_parent (thread, parent, broadcast)
+ags_portable_thread_signal_sibling (thread, broadcast)
+ags_portable_thread_start (thread)
+ags_portable_thread_stop (thread)
+ags_portable_thread_timelock
+ags_portable_thread_trylock
+ags_portable_thread_unlock (thread)
+ags_portable_thread_unlock_all
+ags_portable_thread_unlock_children (thread)
+ags_portable_thread_unlock_parent (thread, parent)
+ags_portable_thread_unlock_sibling (thread)
+ags_portable_thread_wait_children (thread)
+ags_portable_thread_wait_parent (thread, parent)
+ags_portable_thread_wait_sibling (thread)
+ags_preferences_response_callback
+ags_property_collection_editor_add_collection_callback
+ags_property_collection_editor_new (child_type, child_parameter_count, child_parameter)
+ags_property_collection_editor_remove_collection_callback
+ags_property_editor_enable_callback
+ags_property_listing_editor_new
+ags_recall_add_child (recall)
+ags_recall_add_dependency (dependency)
+ags_recall_audio_new (audio)
+ags_recall_channel_find_channel (channel)
+ags_recall_channel_run_get_run_order
+ags_recall_child_added
+ags_recall_dependency_resolve (recall_dependency)
+ags_recall_duplicate (Returns)
+ags_recall_factory_create (play_container)
+ags_recall_factory_get_instance
+ags_recall_factory_remove
+ags_recall_find_provider_with_recycling_container (recall)
+ags_recall_find_recycling_container (recall)
+ags_recall_find_template (recall)
+ags_recall_find_type (recall)
+ags_recall_find_type_with_recycling_container (recall)
+ags_recall_handler_alloc (Returns)
+ags_recall_id_find_parent_recycling_container (parent_recycling_container)
+ags_recall_id_new (recycling, recycling)
+ags_recall_is_done (recalls, Returns)
+ags_recall_notify_dependency (dependency)
+ags_recall_recycling_dummy_new (recycling, child_type)
+ags_recall_recycling_get_child_source
+ags_recall_remove_child (recall)
+ags_recall_remove_dependency (template)
+ags_recall_resolve_dependencies (reall)
+ags_recall_run_init
+ags_recall_run_init_inter
+ags_recall_run_init_post
+ags_recall_set_devout_recursive
+ags_recall_set_effect
+ags_recall_template_find_provider
+ags_recall_template_find_type (recall)
+ags_record_thread_new
+ags_recycling_container_remove
+ags_recycling_container_replace
+ags_recycling_create_audio_signal_with_defaults (delay, attack, delay, attack)
+ags_recycling_create_audio_signal_with_frame_count (delay, attack, delay, attack)
+ags_recycling_position (start_recycling)
+ags_recycling_set_devout
+ags_recycling_thread_iterate_callback
+ags_recycling_thread_new
+ags_recycling_thread_play_audio
+ags_recycling_thread_play_channel
+ags_registry_add
+ags_registry_entry_alloc
+ags_registry_entry_bulk
+ags_registry_entry_find
+ags_registry_new
+ags_remote_task_launch
+ags_remote_task_launch_timed
+ags_remote_task_new
+ags_remove_point_from_selection_new
+ags_remove_region_from_selection_new
+ags_returnable_thread_safe_run
+ags_runnable_run
+ags_runnable_stop
+ags_seekable_seek
+ags_segment_draw_string
+ags_segment_field_off
+ags_segment_field_on
+ags_segment_new
+ags_server_create_object
+ags_server_lookup
+ags_server_new
+ags_server_object_set_property
+ags_server_start
+ags_set_buffer_size_new (gobject)
+ags_set_devout_play_flags_new (play, devout_play_flags)
+ags_set_samplerate_new (gobject)
+ags_sf2_chooser_completed
+ags_sf2_chooser_instrument_changed
+ags_sf2_chooser_new
+ags_sf2_chooser_open
+ags_sf2_chooser_preset_changed
+ags_sf2_chooser_remove_all_from_combo
+ags_sf2_chooser_sample_changed
+ags_single_thread_new
+ags_soundcard_list_cards
+ags_soundcard_offset_changed
+ags_soundcard_pcm_info
+ags_soundcard_tic (soundcard)
+ags_stackable_pop
+ags_stackable_push
+ags_stream
+ags_stream_new
+ags_synth_auto_update_callback
+ags_synth_input_line_map_recall
+ags_synth_lower_callback
+ags_synth_parent_set_callback
+ags_synth_saw (<parameters>)
+ags_synth_sin (<parameters>)
+ags_synth_square (<parameters>)
+ags_synth_triangle (<parameters>)
+ags_synth_update_callback
+ags_table_new
+ags_tact_combo_box_new
+ags_tact_menu_new
+ags_thread_add_child (thread, child)
+ags_thread_children_is_locked (thread, Returns, thread, Returns)
+ags_thread_first (thread, Returns, thread, Returns)
+ags_thread_get_toplevel (thread, Returns)
+ags_thread_hangcheck (thread, thread)
+ags_thread_is_current_ready
+ags_thread_is_tree_ready
+ags_thread_last (thread, Returns, thread, Returns)
+ags_thread_lock (thread, thread)
+ags_thread_lock_all
+ags_thread_lock_children (thread, thread)
+ags_thread_lock_parent (thread, parent, thread, parent)
+ags_thread_lock_sibling (thread, thread)
+ags_thread_new (data, Returns, data, Returns)
+ags_thread_next_children_locked (thread, Returns, thread, Returns)
+ags_thread_next_parent_locked (thread, parent, Returns, thread, parent, Returns)
+ags_thread_next_sibling_locked (thread, Returns, thread, Returns)
+ags_thread_parental_is_locked (thread, parent, Returns, thread, parent, Returns)
+ags_thread_remove_child (thread, child)
+ags_thread_resume
+ags_thread_run (thread, thread)
+ags_thread_set_sync (thread, tic, thread, tic)
+ags_thread_set_sync_all
+ags_thread_sibling_is_locked (thread, Returns, thread, Returns)
+ags_thread_signal_children (thread, broadcast, thread, broadcast)
+ags_thread_signal_parent (thread, parent, broadcast, thread, parent, broadcast)
+ags_thread_signal_sibling (thread, broadcast, thread, broadcast)
+ags_thread_start (thread, thread)
+ags_thread_stop (thread, thread)
+ags_thread_suspend
+ags_thread_timelock
+ags_thread_trylock (Returns, thread, Returns)
+ags_thread_unlock (thread, thread)
+ags_thread_unlock_all
+ags_thread_unlock_children (thread, thread)
+ags_thread_unlock_parent (thread, parent, thread, parent)
+ags_thread_unlock_sibling (thread, thread)
+ags_thread_wait_children (thread, thread)
+ags_thread_wait_parent (thread, parent, thread, parent)
+ags_thread_wait_sibling (thread, thread)
+ags_timebar_new
+ags_timer_alloc
+ags_timestamp_factory_create
+ags_timestamp_factory_get_instance
+ags_timestamp_thread_new
+ags_toggle_pattern_bit_new (line, line)
+ags_toggle_pattern_bit_refresh_gui
+ags_toolbar_clear_callback
+ags_toolbar_copy_or_cut_callback
+ags_toolbar_destroy_callback
+ags_toolbar_edit_callback
+ags_toolbar_mode_callback
+ags_toolbar_new (Returns)
+ags_toolbar_paste_callback
+ags_toolbar_position_callback
+ags_toolbar_select_callback
+ags_toolbar_show_callback
+ags_toolbar_zoom_callback
+ags_tree_iterator_is_inverse_mode
+ags_tree_iterator_iterate
+ags_tree_iterator_iterate_nested
+ags_tree_iterator_safe_iterate
+ags_tree_iterator_safe_iterate_nested
+ags_tree_iterator_set_inverse_mode
+ags_unref_audio_signal_new
+ags_vindicator_new (Returns)
+ags_volume_channel_run_new (channel)
+ags_waveform_new
+ags_window_decrement_machine_counter
+ags_window_delete_event_callback
+ags_window_find_machine_counter
+ags_window_increment_machine_counter
+ags_zoom_menu_new
+g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT
+g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT
+g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER
+g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING
+g_cclosure_user_marshal_OBJECT__VOID
+g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER
+g_cclosure_user_marshal_ULONG__VOID
+g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN
+g_cclosure_user_marshal_VOID__OBJECT_UINT
+g_cclosure_user_marshal_VOID__STRING_POINTER
+g_cclosure_user_marshal_VOID__UINT_DOUBLE
+g_cclosure_user_marshal_VOID__UINT_INT
+g_cclosure_user_marshal_VOID__UINT_UINT
+g_cclosure_user_marshal_VOID__UINT_UINT_UINT
+g_cclosure_user_marshal_VOID__ULONG_UINT
+g_cclosure_user_marshal_VOID__ULONG_UINT_UINT
+j_math_algebra_brackeds_out
+j_math_algebra_functions_out
+j_math_algebra_operations_out
+j_math_algebra_solve
+j_math_and
+j_math_cut_leading_zeros
+j_math_exclusive_or
+j_math_exp
+j_math_exp2
+j_math_gauss
+j_math_get_first_level_operator
+j_math_get_second_level_operator
+j_math_is_function
+j_math_is_function_backward
+j_math_is_operator
+j_math_less
+j_math_make_valid
+j_math_more
+j_math_or
+j_math_put_null_at_beginning
+j_math_put_null_at_end
+j_math_root
+j_math_root2
+j_math_solve_arithmetic
+j_math_sort_array
+j_math_width
+j_math_width_list
+
+
+ags_amplifier:Long_Description
+ags_amplifier:Short_Description
+ags_append_audio_threaded:Long_Description
+ags_append_audio_threaded:Short_Description
+ags_apply_wavetable:Long_Description
+ags_apply_wavetable:Short_Description
+ags_async_queue:Long_Description
+ags_async_queue:Short_Description
+ags_audio_file_xml:Long_Description
+ags_audio_file_xml:Short_Description
+ags_audio_preferences_callbacks:Long_Description
+ags_audio_preferences_callbacks:Short_Description
+ags_audio_set_recycling:Long_Description
+ags_audio_set_recycling:Short_Description
+ags_cartesian:Long_Description
+ags_cartesian:Short_Description
+ags_change_tact:Long_Description
+ags_change_tact:Short_Description
+ags_channel_iter:Long_Description
+ags_channel_iter:Short_Description
+ags_channel_set_recycling:Long_Description
+ags_channel_set_recycling:Short_Description
+ags_clone_channel:Long_Description
+ags_clone_channel:Short_Description
+ags_clone_channel_run:Long_Description
+ags_clone_channel_run:Short_Description
+ags_container:Long_Description
+ags_container:Short_Description
+ags_countable:Long_Description
+ags_countable:Short_Description
+ags_down_mix:Long_Description
+ags_down_mix:Short_Description
+ags_drum_callbacks:Long_Description
+ags_drum_callbacks:Short_Description
+ags_drum_input_line_callbacks:Long_Description
+ags_drum_input_line_callbacks:Short_Description
+ags_drum_input_pad_callbacks:Long_Description
+ags_drum_input_pad_callbacks:Short_Description
+ags_drum_output_line_callbacks:Long_Description
+ags_drum_output_line_callbacks:Short_Description
+ags_drum_output_pad_callbacks:Long_Description
+ags_drum_output_pad_callbacks:Short_Description
+ags_echo:Long_Description
+ags_echo:Short_Description
+ags_editor_callbacks:Long_Description
+ags_editor_callbacks:Short_Description
+ags_effect:Long_Description
+ags_effect:Short_Description
+ags_export_window_callbacks:Long_Description
+ags_export_window_callbacks:Short_Description
+ags_ffplayer_callbacks:Long_Description
+ags_ffplayer_callbacks:Short_Description
+ags_file_gui:Long_Description
+ags_file_gui:Short_Description
+ags_file_read:Long_Description
+ags_file_read:Short_Description
+ags_file_selection:Long_Description
+ags_file_selection:Short_Description
+ags_file_selection_callbacks:Long_Description
+ags_file_selection_callbacks:Short_Description
+ags_file_sound:Long_Description
+ags_file_sound:Short_Description
+ags_file_stock:Long_Description
+ags_file_stock:Short_Description
+ags_file_thread:Long_Description
+ags_file_thread:Short_Description
+ags_file_util:Long_Description
+ags_file_util:Short_Description
+ags_file_value_factory:Long_Description
+ags_file_value_factory:Short_Description
+ags_file_write:Long_Description
+ags_file_write:Short_Description
+ags_garbage_collector:Long_Description
+ags_garbage_collector:Short_Description
+ags_generic_preferences:Long_Description
+ags_generic_preferences:Short_Description
+ags_gui_task_thread:Long_Description
+ags_gui_task_thread:Short_Description
+ags_hindicator:Long_Description
+ags_hindicator:Short_Description
+ags_history:Long_Description
+ags_history:Short_Description
+ags_htimebar:Long_Description
+ags_htimebar:Short_Description
+ags_inline_player:Long_Description
+ags_inline_player:Short_Description
+ags_inline_player_callbacks:Long_Description
+ags_inline_player_callbacks:Short_Description
+ags_iterator_thread:Long_Description
+ags_iterator_thread:Short_Description
+ags_ladspa_browser_callbacks:Long_Description
+ags_ladspa_browser_callbacks:Short_Description
+ags_libao:Long_Description
+ags_libao:Short_Description
+ags_line_callbacks:Long_Description
+ags_line_callbacks:Short_Description
+ags_line_editor_callbacks:Long_Description
+ags_line_editor_callbacks:Short_Description
+ags_line_member_callbacks:Long_Description
+ags_line_member_callbacks:Short_Description
+ags_line_member_editor_callbacks:Long_Description
+ags_line_member_editor_callbacks:Short_Description
+ags_link_collection_editor_callbacks:Long_Description
+ags_link_collection_editor_callbacks:Short_Description
+ags_link_editor_callbacks:Long_Description
+ags_link_editor_callbacks:Short_Description
+ags_listing_editor_callbacks:Long_Description
+ags_listing_editor_callbacks:Short_Description
+ags_log:Long_Description
+ags_log:Short_Description
+ags_machine_callbacks:Long_Description
+ags_machine_callbacks:Short_Description
+ags_machine_editor_callbacks:Long_Description
+ags_machine_editor_callbacks:Short_Description
+ags_machine_selector_callbacks:Long_Description
+ags_machine_selector_callbacks:Short_Description
+ags_marshal:Long_Description
+ags_marshal:Short_Description
+ags_matrix_callbacks:Long_Description
+ags_matrix_callbacks:Short_Description
+ags_menu:Long_Description
+ags_menu:Short_Description
+ags_menu_bar_callbacks:Long_Description
+ags_menu_bar_callbacks:Short_Description
+ags_menu_item:Long_Description
+ags_menu_item:Short_Description
+ags_meter_callbacks:Long_Description
+ags_meter_callbacks:Short_Description
+ags_mixer_callbacks:Long_Description
+ags_mixer_callbacks:Short_Description
+ags_mutable:Long_Description
+ags_mutable:Short_Description
+ags_mute_channel_run:Long_Description
+ags_mute_channel_run:Short_Description
+ags_navigation_callbacks:Long_Description
+ags_navigation_callbacks:Short_Description
+ags_note_edit_callbacks:Long_Description
+ags_note_edit_callbacks:Short_Description
+ags_notebook_callbacks:Long_Description
+ags_notebook_callbacks:Short_Description
+ags_open_single_file:Long_Description
+ags_open_single_file:Short_Description
+ags_option_menu:Long_Description
+ags_option_menu:Short_Description
+ags_oscillator_callbacks:Long_Description
+ags_oscillator_callbacks:Short_Description
+ags_pad_callbacks:Long_Description
+ags_pad_callbacks:Short_Description
+ags_pad_editor_callbacks:Long_Description
+ags_pad_editor_callbacks:Short_Description
+ags_panel_callbacks:Long_Description
+ags_panel_callbacks:Short_Description
+ags_performance_preferences_callbacks:Long_Description
+ags_performance_preferences_callbacks:Short_Description
+ags_persistable:Long_Description
+ags_persistable:Short_Description
+ags_play_audio_file:Long_Description
+ags_play_audio_file:Short_Description
+ags_play_channel_run_master:Long_Description
+ags_play_channel_run_master:Short_Description
+ags_play_note:Long_Description
+ags_play_note:Short_Description
+ags_play_pattern:Long_Description
+ags_play_pattern:Short_Description
+ags_plugin_factory:Long_Description
+ags_plugin_factory:Short_Description
+ags_plugin_preferences_callbacks:Long_Description
+ags_plugin_preferences_callbacks:Short_Description
+ags_plugin_stock:Long_Description
+ags_plugin_stock:Short_Description
+ags_portable_thread:Long_Description
+ags_portable_thread:Short_Description
+ags_preferences_callbacks:Long_Description
+ags_preferences_callbacks:Short_Description
+ags_property_collection_editor_callbacks:Long_Description
+ags_property_collection_editor_callbacks:Short_Description
+ags_property_editor_callbacks:Long_Description
+ags_property_editor_callbacks:Short_Description
+ags_property_listing_editor:Long_Description
+ags_property_listing_editor:Short_Description
+ags_record_thread:Long_Description
+ags_record_thread:Short_Description
+ags_recycling_thread:Long_Description
+ags_recycling_thread:Short_Description
+ags_recycling_thread_callbacks:Long_Description
+ags_recycling_thread_callbacks:Short_Description
+ags_registry:Long_Description
+ags_registry:Short_Description
+ags_remote_task:Long_Description
+ags_remote_task:Short_Description
+ags_remove_point_from_selection:Long_Description
+ags_remove_point_from_selection:Short_Description
+ags_remove_region_from_selection:Long_Description
+ags_remove_region_from_selection:Short_Description
+ags_runnable:Long_Description
+ags_runnable:Short_Description
+ags_seekable:Long_Description
+ags_seekable:Short_Description
+ags_segment:Long_Description
+ags_segment:Short_Description
+ags_server:Long_Description
+ags_server:Short_Description
+ags_server_preferences_callbacks:Long_Description
+ags_server_preferences_callbacks:Short_Description
+ags_sf2_chooser:Long_Description
+ags_sf2_chooser:Short_Description
+ags_sf2_chooser_callbacks:Long_Description
+ags_sf2_chooser_callbacks:Short_Description
+ags_single_thread:Long_Description
+ags_single_thread:Short_Description
+ags_soundcard:Long_Description
+ags_soundcard:Short_Description
+ags_stackable:Long_Description
+ags_stackable:Short_Description
+ags_stream:Long_Description
+ags_stream:Short_Description
+ags_synth_callbacks:Long_Description
+ags_synth_callbacks:Short_Description
+ags_synths:Long_Description
+ags_synths:Short_Description
+ags_table:Long_Description
+ags_table:Short_Description
+ags_thread-kthreads:Long_Description
+ags_thread-kthreads:Short_Description
+ags_timebar:Long_Description
+ags_timebar:Short_Description
+ags_timestamp_thread:Long_Description
+ags_timestamp_thread:Short_Description
+ags_toolbar_callbacks:Long_Description
+ags_toolbar_callbacks:Short_Description
+ags_toolbar_mode_stock:Long_Description
+ags_toolbar_mode_stock:Short_Description
+ags_tree_iterator:Long_Description
+ags_tree_iterator:Short_Description
+ags_unref_audio_signal:Long_Description
+ags_unref_audio_signal:Short_Description
+ags_waveform:Long_Description
+ags_waveform:Short_Description
+ags_window_callbacks:Long_Description
+ags_window_callbacks:Short_Description
+jmath:Long_Description
+jmath:Short_Description
+main:Short_Description
diff --git a/doc/reference/ags/ags-unused.txt b/doc/reference/ags/ags-unused.txt
new file mode 100644
index 0000000..e69de29
diff --git a/doc/reference/ags/ags.types b/doc/reference/ags/ags.types
new file mode 100644
index 0000000..5109355
--- /dev/null
+++ b/doc/reference/ags/ags.types
@@ -0,0 +1,254 @@
+ags_add_audio_get_type
+ags_add_audio_signal_get_type
+ags_add_line_member_get_type
+ags_add_note_get_type
+ags_add_point_to_selection_get_type
+ags_add_recall_get_type
+ags_add_region_to_selection_get_type
+ags_append_audio_get_type
+ags_append_audio_threaded_get_type
+ags_append_channel_get_type
+ags_append_recall_get_type
+ags_applicable_get_type
+ags_apply_bpm_get_type
+ags_apply_sequencer_length_get_type
+ags_apply_synth_get_type
+ags_apply_tact_get_type
+ags_apply_wavetable_get_type
+ags_async_queue_get_type
+ags_audio_file_get_type
+ags_audio_file_xml_get_type
+ags_audio_get_type
+ags_audio_loop_get_type
+ags_audio_preferences_get_type
+ags_audio_set_recycling_get_type
+ags_audio_signal_get_type
+ags_autosave_thread_get_type
+ags_buffer_audio_signal_get_type
+ags_buffer_channel_get_type
+ags_buffer_channel_run_get_type
+ags_buffer_recycling_get_type
+ags_cancel_audio_get_type
+ags_cancel_channel_get_type
+ags_cancel_recall_get_type
+ags_cartesian_get_type
+ags_change_indicator_get_type
+ags_change_tact_get_type
+ags_channel_get_type
+ags_channel_set_recycling_get_type
+ags_clone_channel_get_type
+ags_clone_channel_run_get_type
+ags_config_get_type
+ags_copy_audio_signal_get_type
+ags_copy_channel_get_type
+ags_copy_channel_run_get_type
+ags_copy_notation_audio_get_type
+ags_copy_notation_audio_run_get_type
+ags_copy_pattern_audio_get_type
+ags_copy_pattern_audio_run_get_type
+ags_copy_pattern_channel_get_type
+ags_copy_pattern_channel_run_get_type
+ags_copy_recycling_get_type
+ags_count_beats_audio_get_type
+ags_count_beats_audio_run_get_type
+ags_countable_get_type
+ags_delay_audio_get_type
+ags_delay_audio_run_get_type
+ags_devout_get_type
+ags_devout_thread_get_type
+ags_dial_get_type
+ags_display_tact_get_type
+ags_drum_get_type
+ags_drum_input_line_get_type
+ags_drum_input_pad_get_type
+ags_drum_output_line_get_type
+ags_drum_output_pad_get_type
+ags_dynamic_connectable_get_type
+ags_editor_get_type
+ags_effect_get_type
+ags_expander_get_type
+ags_expander_set_get_type
+ags_export_output_get_type
+ags_export_thread_get_type
+ags_export_window_get_type
+ags_ffplayer_get_type
+ags_file_get_type
+ags_file_id_ref_get_type
+ags_file_launch_get_type
+ags_file_link_get_type
+ags_file_lookup_get_type
+ags_file_read_get_type
+ags_file_selection_get_type
+ags_file_value_factory_get_type
+ags_file_write_get_type
+ags_free_selection_get_type
+ags_garbage_collector_get_type
+ags_generic_preferences_get_type
+ags_gui_task_thread_get_type
+ags_gui_thread_get_type
+ags_hindicator_get_type
+ags_history_get_type
+ags_indicator_get_type
+ags_init_audio_get_type
+ags_init_channel_get_type
+ags_inline_player_get_type
+ags_input_get_type
+ags_ipatch_get_type
+ags_ipatch_sf2_reader_get_type
+ags_iterator_thread_get_type
+ags_ladspa_browser_get_type
+ags_ladspa_manager_get_type
+ags_led_get_type
+ags_libao_get_type
+ags_line_editor_get_type
+ags_line_get_type
+ags_line_member_editor_get_type
+ags_line_member_get_type
+ags_link_channel_get_type
+ags_link_collection_editor_get_type
+ags_link_editor_get_type
+ags_listing_editor_get_type
+ags_loop_channel_get_type
+ags_loop_channel_run_get_type
+ags_machine_editor_get_type
+ags_machine_get_type
+ags_machine_radio_button_get_type
+ags_machine_selection_get_type
+ags_machine_selector_get_type
+ags_main_get_type
+ags_main_loop_get_type
+ags_matrix_get_type
+ags_menu_bar_get_type
+ags_menu_get_type
+ags_menu_item_get_type
+ags_meter_get_type
+ags_mixer_get_type
+ags_mixer_input_line_get_type
+ags_mixer_input_pad_get_type
+ags_mutable_get_type
+ags_mute_audio_get_type
+ags_mute_audio_signal_get_type
+ags_mute_channel_get_type
+ags_mute_channel_run_get_type
+ags_mute_recycling_get_type
+ags_navigation_get_type
+ags_notation_get_type
+ags_note_edit_get_type
+ags_note_get_type
+ags_notebook_get_type
+ags_open_file_get_type
+ags_open_single_file_get_type
+ags_option_menu_get_type
+ags_oscillator_get_type
+ags_output_get_type
+ags_packable_get_type
+ags_pad_editor_get_type
+ags_pad_get_type
+ags_panel_get_type
+ags_panel_input_line_get_type
+ags_panel_input_pad_get_type
+ags_pattern_get_type
+ags_peak_channel_get_type
+ags_peak_channel_run_get_type
+ags_performance_preferences_get_type
+ags_persistable_get_type
+ags_play_audio_file_get_type
+ags_play_audio_get_type
+ags_play_audio_signal_get_type
+ags_play_channel_get_type
+ags_play_channel_run_get_type
+ags_play_channel_run_master_get_type
+ags_play_notation_audio_get_type
+ags_play_notation_audio_run_get_type
+ags_play_note_get_type
+ags_play_pattern_get_type
+ags_play_recycling_get_type
+ags_playable_get_type
+ags_plugin_factory_get_type
+ags_plugin_get_type
+ags_plugin_preferences_get_type
+ags_port_get_type
+ags_portable_thread_get_type
+ags_portlet_get_type
+ags_preferences_get_type
+ags_property_collection_editor_get_type
+ags_property_editor_get_type
+ags_property_listing_editor_get_type
+ags_recall_audio_get_type
+ags_recall_audio_run_get_type
+ags_recall_audio_signal_get_type
+ags_recall_channel_get_type
+ags_recall_channel_run_dummy_get_type
+ags_recall_channel_run_get_type
+ags_recall_container_get_type
+ags_recall_dependency_get_type
+ags_recall_factory_get_type
+ags_recall_get_type
+ags_recall_id_get_type
+ags_recall_ladspa_get_type
+ags_recall_ladspa_run_get_type
+ags_recall_recycling_dummy_get_type
+ags_recall_recycling_get_type
+ags_record_thread_get_type
+ags_recycling_container_get_type
+ags_recycling_get_type
+ags_recycling_thread_get_type
+ags_registry_get_type
+ags_remote_task_get_type
+ags_remove_audio_get_type
+ags_remove_audio_signal_get_type
+ags_remove_note_get_type
+ags_remove_point_from_selection_get_type
+ags_remove_recall_get_type
+ags_remove_region_from_selection_get_type
+ags_returnable_thread_get_type
+ags_ruler_get_type
+ags_runnable_get_type
+ags_save_file_get_type
+ags_scroll_on_play_get_type
+ags_seekable_get_type
+ags_segment_get_type
+ags_server_get_type
+ags_server_preferences_get_type
+ags_set_audio_channels_get_type
+ags_set_buffer_size_get_type
+ags_set_devout_play_flags_get_type
+ags_set_muted_get_type
+ags_set_output_device_get_type
+ags_set_samplerate_get_type
+ags_sf2_chooser_get_type
+ags_single_thread_get_type
+ags_sndfile_get_type
+ags_soundcard_get_type
+ags_stackable_get_type
+ags_start_devout_get_type
+ags_stream_audio_signal_get_type
+ags_stream_channel_get_type
+ags_stream_channel_run_get_type
+ags_stream_get_type
+ags_stream_recycling_get_type
+ags_synth_get_type
+ags_synth_input_line_get_type
+ags_synth_input_pad_get_type
+ags_table_get_type
+ags_tactable_get_type
+ags_task_get_type
+ags_task_thread_get_type
+ags_thread_get_type
+ags_thread_get_type
+ags_thread_pool_get_type
+ags_timestamp_factory_get_type
+ags_timestamp_get_type
+ags_timestamp_thread_get_type
+ags_toggle_led_get_type
+ags_toggle_pattern_bit_get_type
+ags_toolbar_get_type
+ags_tree_iterator_get_type
+ags_unref_audio_signal_get_type
+ags_vindicator_get_type
+ags_volume_audio_signal_get_type
+ags_volume_channel_get_type
+ags_volume_channel_run_get_type
+ags_volume_recycling_get_type
+ags_waveform_get_type
+ags_window_get_type
diff --git a/doc/reference/ags/sgml.stamp b/doc/reference/ags/sgml.stamp
new file mode 100644
index 0000000..e0cb139
--- /dev/null
+++ b/doc/reference/ags/sgml.stamp
@@ -0,0 +1 @@
+timestamp
\ No newline at end of file
diff --git a/doc/reference/ags/tmpl.stamp b/doc/reference/ags/tmpl.stamp
new file mode 100644
index 0000000..e0cb139
--- /dev/null
+++ b/doc/reference/ags/tmpl.stamp
@@ -0,0 +1 @@
+timestamp
\ No newline at end of file
diff --git a/doc/reference/ags/tmpl/ags-unused.sgml b/doc/reference/ags/tmpl/ags-unused.sgml
new file mode 100644
index 0000000..e69de29
diff --git a/doc/reference/ags/tmpl/ags_add_audio.sgml b/doc/reference/ags/tmpl/ags_add_audio.sgml
new file mode 100644
index 0000000..3c27e41
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_add_audio.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsAddAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAddAudio ##### -->
+<para>
+
+</para>
+
+ at task:
+ at devout:
+ at audio:
+
+<!-- ##### STRUCT AgsAddAudioClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_add_audio_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at audio:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_add_audio_signal.sgml b/doc/reference/ags/tmpl/ags_add_audio_signal.sgml
new file mode 100644
index 0000000..27cb45e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_add_audio_signal.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsAddAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAddAudioSignal ##### -->
+<para>
+
+</para>
+
+ at task:
+ at recycling:
+ at audio_signal:
+ at devout:
+ at recall_id:
+ at audio_signal_flags:
+
+<!-- ##### STRUCT AgsAddAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_add_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at audio_signal:
+ at devout:
+ at recall_id:
+ at audio_signal_flags:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_add_line_member.sgml b/doc/reference/ags/tmpl/ags_add_line_member.sgml
new file mode 100644
index 0000000..5dc4691
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_add_line_member.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsAddLineMember
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAddLineMember ##### -->
+<para>
+
+</para>
+
+ at task:
+ at line:
+ at line_member:
+ at x:
+ at y:
+ at width:
+ at height:
+
+<!-- ##### STRUCT AgsAddLineMemberClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_add_line_member_new ##### -->
+<para>
+
+</para>
+
+ at line:
+ at line_member:
+ at x:
+ at y:
+ at width:
+ at height:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_add_note.sgml b/doc/reference/ags/tmpl/ags_add_note.sgml
new file mode 100644
index 0000000..0f31c34
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_add_note.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsAddNote
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAddNote ##### -->
+<para>
+
+</para>
+
+ at task:
+ at notation:
+ at note:
+ at use_selection_list:
+
+<!-- ##### STRUCT AgsAddNoteClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_add_note_new ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at note:
+ at use_selection_list:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_add_point_to_selection.sgml b/doc/reference/ags/tmpl/ags_add_point_to_selection.sgml
new file mode 100644
index 0000000..2939c30
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_add_point_to_selection.sgml
@@ -0,0 +1,54 @@
+<!-- ##### SECTION Title ##### -->
+AgsAddPointToSelection
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAddPointToSelection ##### -->
+<para>
+
+</para>
+
+ at task:
+ at notation:
+ at x:
+ at y:
+ at replace_current_selection:
+
+<!-- ##### STRUCT AgsAddPointToSelectionClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_add_point_to_selection_new ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x:
+ at y:
+ at replace_current_selection:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_add_recall.sgml b/doc/reference/ags/tmpl/ags_add_recall.sgml
new file mode 100644
index 0000000..d3eda14
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_add_recall.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsAddRecall
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAddRecall ##### -->
+<para>
+
+</para>
+
+ at task:
+ at context:
+ at recall:
+ at is_play:
+
+<!-- ##### STRUCT AgsAddRecallClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_add_recall_new ##### -->
+<para>
+
+</para>
+
+ at context:
+ at recall:
+ at is_play:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_add_region_to_selection.sgml b/doc/reference/ags/tmpl/ags_add_region_to_selection.sgml
new file mode 100644
index 0000000..be7ec1c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_add_region_to_selection.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsAddRegionToSelection
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAddRegionToSelection ##### -->
+<para>
+
+</para>
+
+ at task:
+ at notation:
+ at x0:
+ at y0:
+ at x1:
+ at y1:
+ at replace_current_selection:
+
+<!-- ##### STRUCT AgsAddRegionToSelectionClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_add_region_to_selection_new ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x0:
+ at y0:
+ at x1:
+ at y1:
+ at replace_current_selection:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_amplifier.sgml b/doc/reference/ags/tmpl/ags_amplifier.sgml
new file mode 100644
index 0000000..b5e9a7e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_amplifier.sgml
@@ -0,0 +1,32 @@
+<!-- ##### SECTION Title ##### -->
+ags_amplifier
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_amplifier ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
diff --git a/doc/reference/ags/tmpl/ags_append_audio.sgml b/doc/reference/ags/tmpl/ags_append_audio.sgml
new file mode 100644
index 0000000..7503b2c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_append_audio.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsAppendAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAppendAudio ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio_loop:
+ at audio:
+
+<!-- ##### STRUCT AgsAppendAudioClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_append_audio_new ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at audio:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_append_audio_threaded.sgml b/doc/reference/ags/tmpl/ags_append_audio_threaded.sgml
new file mode 100644
index 0000000..c36cb42
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_append_audio_threaded.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsAppendAudioThreaded
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAppendAudioThreaded ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio_loop:
+ at devout_play:
+
+<!-- ##### STRUCT AgsAppendAudioThreadedClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_append_audio_threaded_new ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at play:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_append_channel.sgml b/doc/reference/ags/tmpl/ags_append_channel.sgml
new file mode 100644
index 0000000..4f757f9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_append_channel.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsAppendChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAppendChannel ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio_loop:
+ at channel:
+
+<!-- ##### STRUCT AgsAppendChannelClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_append_channel_new ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_append_recall.sgml b/doc/reference/ags/tmpl/ags_append_recall.sgml
new file mode 100644
index 0000000..ac55481
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_append_recall.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsAppendRecall
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAppendRecall ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio_loop:
+ at devout_play:
+
+<!-- ##### STRUCT AgsAppendRecallClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_append_recall_new ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at devout_play:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_applicable.sgml b/doc/reference/ags/tmpl/ags_applicable.sgml
new file mode 100644
index 0000000..7ac3439
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_applicable.sgml
@@ -0,0 +1,65 @@
+<!-- ##### SECTION Title ##### -->
+AgsApplicable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsApplicable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsApplicableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at set_update:
+ at apply:
+ at reset:
+
+<!-- ##### FUNCTION ags_applicable_apply ##### -->
+<para>
+
+</para>
+
+ at applicable:
+
+
+<!-- ##### FUNCTION ags_applicable_reset ##### -->
+<para>
+
+</para>
+
+ at applicable:
+
+
+<!-- ##### FUNCTION ags_applicable_set_update ##### -->
+<para>
+
+</para>
+
+ at applicable:
+ at update:
+
+
diff --git a/doc/reference/ags/tmpl/ags_apply_bpm.sgml b/doc/reference/ags/tmpl/ags_apply_bpm.sgml
new file mode 100644
index 0000000..0ce0450
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_apply_bpm.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsApplyBpm
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsApplyBpm ##### -->
+<para>
+
+</para>
+
+ at task:
+ at gobject:
+ at bpm:
+
+<!-- ##### STRUCT AgsApplyBpmClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_apply_bpm_new ##### -->
+<para>
+
+</para>
+
+ at gobject:
+ at bpm:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_apply_sequencer_length.sgml b/doc/reference/ags/tmpl/ags_apply_sequencer_length.sgml
new file mode 100644
index 0000000..0ffb192
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_apply_sequencer_length.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsApplySequencerLength
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsApplySequencerLength ##### -->
+<para>
+
+</para>
+
+ at task:
+ at gobject:
+ at length:
+
+<!-- ##### STRUCT AgsApplySequencerLengthClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_apply_sequencer_length_new ##### -->
+<para>
+
+</para>
+
+ at gobject:
+ at length:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_apply_synth.sgml b/doc/reference/ags/tmpl/ags_apply_synth.sgml
new file mode 100644
index 0000000..0dcaf52
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_apply_synth.sgml
@@ -0,0 +1,79 @@
+<!-- ##### SECTION Title ##### -->
+AgsApplySynth
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsApplySynth ##### -->
+<para>
+
+</para>
+
+ at task:
+ at start_channel:
+ at count:
+ at wave:
+ at attack:
+ at frame_count:
+ at frequency:
+ at phase:
+ at start:
+ at volume:
+ at loop_start:
+ at loop_end:
+
+<!-- ##### STRUCT AgsApplySynthClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### ENUM AgsApplySynthWave ##### -->
+<para>
+
+</para>
+
+ at AGS_APPLY_SYNTH_INVALID:
+ at AGS_APPLY_SYNTH_SIN:
+ at AGS_APPLY_SYNTH_SAW:
+ at AGS_APPLY_SYNTH_SQUARE:
+ at AGS_APPLY_SYNTH_TRIANGLE:
+
+<!-- ##### FUNCTION ags_apply_synth_new ##### -->
+<para>
+
+</para>
+
+ at start_channel:
+ at count:
+ at wave:
+ at attack:
+ at frame_count:
+ at frequency:
+ at phase:
+ at start:
+ at volume:
+ at loop_start:
+ at loop_end:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_apply_tact.sgml b/doc/reference/ags/tmpl/ags_apply_tact.sgml
new file mode 100644
index 0000000..484d26c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_apply_tact.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsApplyTact
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsApplyTact ##### -->
+<para>
+
+</para>
+
+ at task:
+ at gobject:
+ at tact:
+
+<!-- ##### STRUCT AgsApplyTactClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_apply_tact_new ##### -->
+<para>
+
+</para>
+
+ at gobject:
+ at tact:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_apply_wavetable.sgml b/doc/reference/ags/tmpl/ags_apply_wavetable.sgml
new file mode 100644
index 0000000..d95e9eb
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_apply_wavetable.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsApplyWavetable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsApplyWavetable ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### STRUCT AgsApplyWavetableClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_apply_wavetable_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_async_queue.sgml b/doc/reference/ags/tmpl/ags_async_queue.sgml
new file mode 100644
index 0000000..34e7f21
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_async_queue.sgml
@@ -0,0 +1,216 @@
+<!-- ##### SECTION Title ##### -->
+AgsAsyncQueue
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_ASYNC_QUEUE_CLOCK_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_ASYNC_QUEUE_SIGNAL_HIGH ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_ASYNC_QUEUE_SIGNAL_LOW ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsAsyncQueue ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at output_sum:
+ at systemrate:
+ at interval:
+ at timerid:
+ at stack:
+ at timer:
+ at context:
+
+<!-- ##### STRUCT AgsAsyncQueueClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at interrupt:
+ at push_context:
+ at pop_context:
+
+<!-- ##### ENUM AgsAsyncQueueFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_ASYNC_QUEUE_LINUX_THREADS:
+ at AGS_ASYNC_QUEUE_POSIX_THREADS:
+ at AGS_ASYNC_QUEUE_WORKER_RUNNING:
+ at AGS_ASYNC_QUEUE_INTERRUPT_OWN:
+ at AGS_ASYNC_QUEUE_INTERRUPT_OTHER:
+ at AGS_ASYNC_QUEUE_STOP_BIT_0:
+ at AGS_ASYNC_QUEUE_STOP_BIT_1:
+
+<!-- ##### STRUCT AgsContext ##### -->
+<para>
+
+</para>
+
+ at stack:
+ at timer:
+
+<!-- ##### STRUCT AgsTimer ##### -->
+<para>
+
+</para>
+
+ at run_delay:
+ at record_history:
+ at history:
+
+<!-- ##### FUNCTION ags_async_queue_add ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+ at stackable:
+
+
+<!-- ##### FUNCTION ags_async_queue_find_context ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+ at stackable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_async_queue_idle ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+
+
+<!-- ##### FUNCTION ags_async_queue_initerrupt ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+
+
+<!-- ##### FUNCTION ags_async_queue_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_async_queue_next_interval ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_async_queue_pop_context ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+ at context:
+
+
+<!-- ##### FUNCTION ags_async_queue_push_context ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+ at context:
+
+
+<!-- ##### FUNCTION ags_async_queue_remove ##### -->
+<para>
+
+</para>
+
+ at async_queue:
+ at stackable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_async_queue_worker ##### -->
+<para>
+
+</para>
+
+ at ptr:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_context_alloc ##### -->
+<para>
+
+</para>
+
+ at stack:
+ at timer:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_timer_alloc ##### -->
+<para>
+
+</para>
+
+ at tv_sec:
+ at Param2:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio.sgml b/doc/reference/ags/tmpl/ags_audio.sgml
new file mode 100644
index 0000000..d23a478
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio.sgml
@@ -0,0 +1,313 @@
+<!-- ##### SECTION Title ##### -->
+AgsAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAudio ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at devout:
+ at level:
+ at sequence_length:
+ at audio_channels:
+ at frequence:
+ at output_pads:
+ at output_lines:
+ at input_pads:
+ at input_lines:
+ at output:
+ at input:
+ at devout_play_domain:
+ at notation:
+ at recall_id:
+ at container:
+ at recall:
+ at play:
+ at recall_remove:
+ at play_remove:
+ at machine:
+
+<!-- ##### STRUCT AgsAudioClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at set_audio_channels:
+ at set_pads:
+ at init_run:
+ at tact:
+ at done:
+
+<!-- ##### ENUM AgsAudioFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_AUDIO_OUTPUT_HAS_RECYCLING:
+ at AGS_AUDIO_INPUT_HAS_RECYCLING:
+ at AGS_AUDIO_INPUT_TAKES_FILE:
+ at AGS_AUDIO_HAS_NOTATION:
+ at AGS_AUDIO_SYNC:
+ at AGS_AUDIO_ASYNC:
+ at AGS_AUDIO_RUNNING:
+ at AGS_AUDIO_PLAYING:
+ at AGS_AUDIO_NOTATION_DEFAULT:
+
+<!-- ##### FUNCTION ags_audio_add_recall ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall:
+ at play:
+
+
+<!-- ##### FUNCTION ags_audio_add_recall_container ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_container:
+
+
+<!-- ##### FUNCTION ags_audio_add_recall_id ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_cancel ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_done ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_duplicate_recall ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_init_recall ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at stage:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_init_run ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_is_playing ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_open_files ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at filenames:
+ at overwrite_channels:
+ at create_channels:
+
+
+<!-- ##### FUNCTION ags_audio_play ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+ at stage:
+
+
+<!-- ##### FUNCTION ags_audio_recall_change_state ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at enable:
+
+
+<!-- ##### FUNCTION ags_audio_recursive_play_init ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at playback:
+ at sequencer:
+ at notation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_remove_recall ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall:
+ at play:
+
+
+<!-- ##### FUNCTION ags_audio_remove_recall_container ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_container:
+
+
+<!-- ##### FUNCTION ags_audio_remove_recall_id ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_resolve_recall ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_set_audio_channels ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at audio_channels:
+
+
+<!-- ##### FUNCTION ags_audio_set_devout ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at devout:
+
+
+<!-- ##### FUNCTION ags_audio_set_flags ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at flags:
+
+
+<!-- ##### FUNCTION ags_audio_set_pads ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at type:
+ at pads:
+
+
+<!-- ##### FUNCTION ags_audio_set_sequence_length ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at sequence_length:
+
+
+<!-- ##### FUNCTION ags_audio_tact ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_audio_unset_flags ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at flags:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio_file.sgml b/doc/reference/ags/tmpl/ags_audio_file.sgml
new file mode 100644
index 0000000..bd07eb9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio_file.sgml
@@ -0,0 +1,133 @@
+<!-- ##### SECTION Title ##### -->
+AgsAudioFile
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAudioFile ##### -->
+<para>
+
+</para>
+
+ at object:
+ at devout:
+ at name:
+ at samplerate:
+ at frames:
+ at channels:
+ at format:
+ at start_channel:
+ at audio_channels:
+ at audio_signal:
+ at file:
+
+<!-- ##### STRUCT AgsAudioFileClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_audio_file_close ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+
+
+<!-- ##### FUNCTION ags_audio_file_flush ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+
+
+<!-- ##### FUNCTION ags_audio_file_new ##### -->
+<para>
+
+</para>
+
+ at name:
+ at devout:
+ at start_channel:
+ at audio_channels:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_file_open ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_file_open_from_data ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+ at data:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_file_read_audio_signal ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+
+
+<!-- ##### FUNCTION ags_audio_file_rw_open ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+ at create:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_file_seek ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+ at frames:
+ at whence:
+
+
+<!-- ##### FUNCTION ags_audio_file_write ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+ at buffer:
+ at buffer_size:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio_file_xml.sgml b/doc/reference/ags/tmpl/ags_audio_file_xml.sgml
new file mode 100644
index 0000000..4dde4a8
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio_file_xml.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsAudioFileXml
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAudioFileXml ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### STRUCT AgsAudioFileXmlClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_audio_file_xml_new ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio_loop.sgml b/doc/reference/ags/tmpl/ags_audio_loop.sgml
new file mode 100644
index 0000000..e8cca8b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio_loop.sgml
@@ -0,0 +1,148 @@
+<!-- ##### SECTION Title ##### -->
+AgsAudioLoop
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_AUDIO_LOOP_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsAudioLoop ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at flags:
+ at tic:
+ at last_sync:
+ at cond:
+ at mutex:
+ at frequency:
+ at ags_main:
+ at async_queue:
+ at task_thread:
+ at gui_thread:
+ at devout_thread:
+ at export_thread:
+ at recall_mutex:
+ at play_recall_ref:
+ at play_recall:
+ at play_channel_ref:
+ at play_channel:
+ at play_audio_ref:
+ at play_audio:
+ at play_notation_ref:
+ at play_notation:
+ at tree_sanity:
+
+<!-- ##### STRUCT AgsAudioLoopClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### ENUM AgsAudioLoopFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_AUDIO_LOOP_PLAY_RECALL:
+ at AGS_AUDIO_LOOP_PLAYING_RECALL:
+ at AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING:
+ at AGS_AUDIO_LOOP_PLAY_CHANNEL:
+ at AGS_AUDIO_LOOP_PLAYING_CHANNEL:
+ at AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING:
+ at AGS_AUDIO_LOOP_PLAY_AUDIO:
+ at AGS_AUDIO_LOOP_PLAYING_AUDIO:
+ at AGS_AUDIO_LOOP_PLAY_NOTATION:
+ at AGS_AUDIO_LOOP_PLAYING_NOTATION:
+ at AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING:
+
+<!-- ##### FUNCTION ags_audio_loop_add_audio ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at audio:
+
+
+<!-- ##### FUNCTION ags_audio_loop_add_channel ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at channel:
+
+
+<!-- ##### FUNCTION ags_audio_loop_add_recall ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_audio_loop_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at ags_main:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_loop_remove_audio ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at audio:
+
+
+<!-- ##### FUNCTION ags_audio_loop_remove_channel ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at channel:
+
+
+<!-- ##### FUNCTION ags_audio_loop_remove_recall ##### -->
+<para>
+
+</para>
+
+ at audio_loop:
+ at recall:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio_preferences.sgml b/doc/reference/ags/tmpl/ags_audio_preferences.sgml
new file mode 100644
index 0000000..4b1ada2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio_preferences.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsAudioPreferences
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAudioPreferences ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at card:
+ at audio_channels:
+ at samplerate:
+ at buffer_size:
+
+<!-- ##### STRUCT AgsAudioPreferencesClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_audio_preferences_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio_preferences_callbacks.sgml b/doc/reference/ags/tmpl/ags_audio_preferences_callbacks.sgml
new file mode 100644
index 0000000..490fec8
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio_preferences_callbacks.sgml
@@ -0,0 +1,60 @@
+<!-- ##### SECTION Title ##### -->
+ags_audio_preferences_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_audio_preferences_audio_channels_changed ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at audio_preferences:
+
+
+<!-- ##### FUNCTION ags_audio_preferences_buffer_size_changed ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at audio_preferences:
+
+
+<!-- ##### FUNCTION ags_audio_preferences_card_changed_callback ##### -->
+<para>
+
+</para>
+
+ at combo:
+ at audio_preferences:
+
+
+<!-- ##### FUNCTION ags_audio_preferences_samplerate_changed ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at audio_preferences:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio_set_recycling.sgml b/doc/reference/ags/tmpl/ags_audio_set_recycling.sgml
new file mode 100644
index 0000000..e546406
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio_set_recycling.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsAudioSetRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAudioSetRecycling ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio:
+ at parameter:
+
+<!-- ##### STRUCT AgsAudioSetRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_audio_set_recycling_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at parameter:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_audio_signal.sgml b/doc/reference/ags/tmpl/ags_audio_signal.sgml
new file mode 100644
index 0000000..ef654ff
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_audio_signal.sgml
@@ -0,0 +1,257 @@
+<!-- ##### SECTION Title ##### -->
+AgsAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsAttack ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### ENUM AgsAttackFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_ATTACK_INITIAL_RUN:
+ at AGS_ATTACK_SWAP:
+
+<!-- ##### STRUCT AgsAudioSignal ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at devout:
+ at recycling:
+ at recall_id:
+ at samplerate:
+ at buffer_size:
+ at resolution:
+ at length:
+ at last_frame:
+ at loop_start:
+ at loop_end:
+ at delay:
+ at attack:
+ at lock_attack:
+ at stream_beginning:
+ at stream_current:
+ at stream_end:
+
+<!-- ##### STRUCT AgsAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at realloc_buffer_size:
+ at morph_samplerate:
+
+<!-- ##### ENUM AgsAudioSignalFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_AUDIO_SIGNAL_TEMPLATE:
+ at AGS_AUDIO_SIGNAL_PLAY_DONE:
+ at AGS_AUDIO_SIGNAL_STANDALONE:
+
+<!-- ##### FUNCTION ags_audio_signal_add_stream ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+
+
+<!-- ##### FUNCTION ags_audio_signal_copy_buffer_to_buffer ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at dchannels:
+ at source:
+ at schannels:
+
+
+<!-- ##### FUNCTION ags_audio_signal_copy_buffer_to_double_buffer ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at dchannels:
+ at source:
+ at schannels:
+
+
+<!-- ##### FUNCTION ags_audio_signal_copy_double_buffer_to_buffer ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at dchannels:
+ at source:
+ at schannels:
+
+
+<!-- ##### FUNCTION ags_audio_signal_duplicate_stream ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at template:
+
+
+<!-- ##### FUNCTION ags_audio_signal_get_by_recall_id ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at recall_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_signal_get_length_till_current ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_signal_get_stream_current ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at recall_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_signal_get_template ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_signal_morph_samplerate ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at samplerate:
+ at k_morph:
+
+
+<!-- ##### FUNCTION ags_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at recycling:
+ at recall_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_signal_new_with_length ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at recycling:
+ at recall_id:
+ at length:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_audio_signal_realloc_buffer_size ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at buffer_size:
+
+
+<!-- ##### FUNCTION ags_audio_signal_scale ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at template:
+ at length:
+
+
+<!-- ##### FUNCTION ags_audio_signal_stream_resize ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at length:
+
+
+<!-- ##### FUNCTION ags_audio_signal_stream_safe_resize ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at length:
+
+
+<!-- ##### FUNCTION ags_audio_signal_tile ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at template:
+ at length:
+
+
+<!-- ##### FUNCTION ags_stream_alloc ##### -->
+<para>
+
+</para>
+
+ at buffer_size:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_autosave_thread.sgml b/doc/reference/ags/tmpl/ags_autosave_thread.sgml
new file mode 100644
index 0000000..445cfea
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_autosave_thread.sgml
@@ -0,0 +1,67 @@
+<!-- ##### SECTION Title ##### -->
+AgsAutosaveThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsAutosaveThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at tic:
+ at last_sync:
+ at ags_main:
+ at delay:
+ at counter:
+
+<!-- ##### STRUCT AgsAutosaveThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_autosave_thread_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at ags_main:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_buffer_audio_signal.sgml b/doc/reference/ags/tmpl/ags_buffer_audio_signal.sgml
new file mode 100644
index 0000000..90ad9d9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_buffer_audio_signal.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsBufferAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsBufferAudioSignal ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### STRUCT AgsBufferAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### FUNCTION ags_buffer_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_buffer_channel.sgml b/doc/reference/ags/tmpl/ags_buffer_channel.sgml
new file mode 100644
index 0000000..dc37c63
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_buffer_channel.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsBufferChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsBufferChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at muted:
+
+<!-- ##### STRUCT AgsBufferChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_buffer_channel_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_buffer_channel_run.sgml b/doc/reference/ags/tmpl/ags_buffer_channel_run.sgml
new file mode 100644
index 0000000..a9a4c6b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_buffer_channel_run.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsBufferChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsBufferChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### STRUCT AgsBufferChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_buffer_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_buffer_recycling.sgml b/doc/reference/ags/tmpl/ags_buffer_recycling.sgml
new file mode 100644
index 0000000..c6bb851
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_buffer_recycling.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsBufferRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsBufferRecycling ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### STRUCT AgsBufferRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### FUNCTION ags_buffer_recycling_new ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_cancel_audio.sgml b/doc/reference/ags/tmpl/ags_cancel_audio.sgml
new file mode 100644
index 0000000..ec2b234
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_cancel_audio.sgml
@@ -0,0 +1,54 @@
+<!-- ##### SECTION Title ##### -->
+AgsCancelAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCancelAudio ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio:
+ at playback:
+ at sequencer:
+ at notation:
+
+<!-- ##### STRUCT AgsCancelAudioClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_cancel_audio_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at playback:
+ at sequencer:
+ at notation:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_cancel_channel.sgml b/doc/reference/ags/tmpl/ags_cancel_channel.sgml
new file mode 100644
index 0000000..9fa15c1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_cancel_channel.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsCancelChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCancelChannel ##### -->
+<para>
+
+</para>
+
+ at task:
+ at channel:
+ at recall_id:
+ at play:
+
+<!-- ##### STRUCT AgsCancelChannelClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_cancel_channel_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+ at play:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_cancel_recall.sgml b/doc/reference/ags/tmpl/ags_cancel_recall.sgml
new file mode 100644
index 0000000..32f501f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_cancel_recall.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsCancelRecall
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCancelRecall ##### -->
+<para>
+
+</para>
+
+ at task:
+ at recall:
+ at play:
+
+<!-- ##### STRUCT AgsCancelRecallClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_cancel_recall_new ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at play:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_cartesian.sgml b/doc/reference/ags/tmpl/ags_cartesian.sgml
new file mode 100644
index 0000000..aa3ba81
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_cartesian.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsCartesian
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCartesian ##### -->
+<para>
+
+</para>
+
+ at widget:
+
+<!-- ##### STRUCT AgsCartesianClass ##### -->
+<para>
+
+</para>
+
+ at widget:
+
+<!-- ##### FUNCTION ags_cartesian_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_change_indicator.sgml b/doc/reference/ags/tmpl/ags_change_indicator.sgml
new file mode 100644
index 0000000..f38c8f6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_change_indicator.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsChangeIndicator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsChangeIndicator ##### -->
+<para>
+
+</para>
+
+ at task:
+ at indicator:
+ at value:
+
+<!-- ##### STRUCT AgsChangeIndicatorClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_change_indicator_new ##### -->
+<para>
+
+</para>
+
+ at indicator:
+ at value:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_change_tact.sgml b/doc/reference/ags/tmpl/ags_change_tact.sgml
new file mode 100644
index 0000000..552435d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_change_tact.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsChangeTact
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsChangeTact ##### -->
+<para>
+
+</para>
+
+ at task:
+ at navigation:
+
+<!-- ##### STRUCT AgsChangeTactClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_change_tact_new ##### -->
+<para>
+
+</para>
+
+ at navigation:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_channel.sgml b/doc/reference/ags/tmpl/ags_channel.sgml
new file mode 100644
index 0000000..63ba829
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_channel.sgml
@@ -0,0 +1,423 @@
+<!-- ##### SECTION Title ##### -->
+AgsChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_CHANNEL_ERROR ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsChannel ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at audio:
+ at devout:
+ at prev:
+ at prev_pad:
+ at next:
+ at next_pad:
+ at pad:
+ at audio_channel:
+ at line:
+ at note:
+ at devout_play:
+ at recall_id:
+ at container:
+ at recall:
+ at play:
+ at link:
+ at first_recycling:
+ at last_recycling:
+ at recycling_thread:
+ at pattern:
+ at notation:
+ at line_widget:
+ at file_data:
+
+<!-- ##### STRUCT AgsChannelClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at recycling_changed:
+ at done:
+
+<!-- ##### ENUM AgsChannelError ##### -->
+<para>
+
+</para>
+
+ at AGS_CHANNEL_ERROR_LOOP_IN_LINK:
+
+<!-- ##### ENUM AgsChannelFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_CHANNEL_RUNNING:
+
+<!-- ##### ENUM AgsChannelRecallIDMode ##### -->
+<para>
+
+</para>
+
+ at AGS_CHANNEL_RECALL_ID_RUN_STAGE:
+ at AGS_CHANNEL_RECALL_ID_CANCEL:
+
+<!-- ##### FUNCTION ags_channel_add_recall ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall:
+ at play:
+
+
+<!-- ##### FUNCTION ags_channel_add_recall_container ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_container:
+
+
+<!-- ##### FUNCTION ags_channel_add_recall_id ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_channel_cancel ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_channel_done ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_channel_duplicate_recall ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_channel_error_quark ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_find_recall ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at effect:
+ at name:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_first ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_first_with_recycling ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_init_recall ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at stage:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_channel_last ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_last_with_recycling ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_nth ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at nth:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_pad_first ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_pad_last ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_pad_nth ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at nth:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_play ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+ at stage:
+
+
+<!-- ##### FUNCTION ags_channel_recall_id_set ##### -->
+<para>
+
+</para>
+
+ at output:
+ at recall_id:
+ at ommit_own_channel:
+ at mode:
+ at ...:
+
+
+<!-- ##### FUNCTION ags_channel_recursive_play ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+ at stage:
+
+
+<!-- ##### FUNCTION ags_channel_recursive_play_init ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at stage:
+ at arrange_recall_id:
+ at duplicate_templates:
+ at playback:
+ at sequencer:
+ at notation:
+ at resolve_dependencies:
+ at recall_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_recursive_play_threaded ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+ at stage:
+
+
+<!-- ##### FUNCTION ags_channel_recursive_reset_recall_ids ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at link:
+ at old_channel_link:
+ at old_link_link:
+
+
+<!-- ##### FUNCTION ags_channel_recycling_changed ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at old_start_region:
+ at old_end_region:
+ at new_start_region:
+ at new_end_region:
+ at old_start_changed_region:
+ at old_end_changed_region:
+ at new_start_changed_region:
+ at new_end_changed_region:
+
+
+<!-- ##### FUNCTION ags_channel_remove_recall ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall:
+ at play:
+
+
+<!-- ##### FUNCTION ags_channel_remove_recall_id ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_channel_resolve_recall ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_channel_safe_resize_audio_signal ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at size:
+
+
+<!-- ##### FUNCTION ags_channel_set_devout ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at devout:
+
+
+<!-- ##### FUNCTION ags_channel_set_link ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at link:
+ at error:
+
+
+<!-- ##### FUNCTION ags_channel_set_recycling ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at first_recycling:
+ at last_recycling:
+ at update:
+ at destroy_old:
+
+
+<!-- ##### FUNCTION ags_channel_tillrecycling_cancel ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at recall_id:
+
+
diff --git a/doc/reference/ags/tmpl/ags_channel_iter.sgml b/doc/reference/ags/tmpl/ags_channel_iter.sgml
new file mode 100644
index 0000000..dd7cb66
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_channel_iter.sgml
@@ -0,0 +1,83 @@
+<!-- ##### SECTION Title ##### -->
+ags_channel_iter
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsChannelIter ##### -->
+<para>
+
+</para>
+
+ at current_start:
+ at parent:
+ at children:
+ at current_iter:
+ at current:
+
+<!-- ##### ENUM AgsChannelIterFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_CHANNEL_ITER_LEVEL_STRICT:
+ at AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_LEAFES:
+ at AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_ROOT:
+ at AGS_CHANNEL_ITER_DIRECTION_LEAFES_TO_ROOT:
+ at AGS_CHANNEL_ITER_DIRECTION_ROOT_TO_LEAFES:
+
+<!-- ##### FUNCTION ags_channel_iter_alloc ##### -->
+<para>
+
+</para>
+
+ at start:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_iter_free ##### -->
+<para>
+
+</para>
+
+ at iter:
+
+
+<!-- ##### FUNCTION ags_channel_iter_next ##### -->
+<para>
+
+</para>
+
+ at iter:
+ at mode:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_channel_iter_prev ##### -->
+<para>
+
+</para>
+
+ at iter:
+ at mode:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_channel_set_recycling.sgml b/doc/reference/ags/tmpl/ags_channel_set_recycling.sgml
new file mode 100644
index 0000000..8863156
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_channel_set_recycling.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsChannelSetRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsChannelSetRecycling ##### -->
+<para>
+
+</para>
+
+ at task:
+ at channel:
+ at first_recycling:
+ at last_recycling:
+
+<!-- ##### STRUCT AgsChannelSetRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_channel_set_recycling_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at first_recycling:
+ at last_recycling:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_clone_channel.sgml b/doc/reference/ags/tmpl/ags_clone_channel.sgml
new file mode 100644
index 0000000..bcb233c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_clone_channel.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsCloneChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCloneChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at audio_channel:
+
+<!-- ##### STRUCT AgsCloneChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_clone_channel_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at audio_channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_clone_channel_run.sgml b/doc/reference/ags/tmpl/ags_clone_channel_run.sgml
new file mode 100644
index 0000000..4caf5fc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_clone_channel_run.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsCloneChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCloneChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### STRUCT AgsCloneChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_clone_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_combo_box_text.sgml b/doc/reference/ags/tmpl/ags_combo_box_text.sgml
new file mode 100644
index 0000000..c50be2c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_combo_box_text.sgml
@@ -0,0 +1,32 @@
+<!-- ##### SECTION Title ##### -->
+ags_combo_box_text
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_combo_box_text_remove_all ##### -->
+<para>
+
+</para>
+
+ at combo_box:
+
+
diff --git a/doc/reference/ags/tmpl/ags_config.sgml b/doc/reference/ags/tmpl/ags_config.sgml
new file mode 100644
index 0000000..2c12613
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_config.sgml
@@ -0,0 +1,124 @@
+<!-- ##### SECTION Title ##### -->
+AgsConfig
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_CONFIG_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_CONFIG_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_CONFIG_DEVOUT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_CONFIG_THREAD ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsConfig ##### -->
+<para>
+
+</para>
+
+ at object:
+ at version:
+ at build_id:
+ at key_file:
+
+<!-- ##### STRUCT AgsConfigClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_config_get ##### -->
+<para>
+
+</para>
+
+ at config:
+ at group:
+ at key:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_config_load_defaults ##### -->
+<para>
+
+</para>
+
+ at config:
+
+
+<!-- ##### FUNCTION ags_config_load_from_file ##### -->
+<para>
+
+</para>
+
+ at config:
+ at filename:
+
+
+<!-- ##### FUNCTION ags_config_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_config_save ##### -->
+<para>
+
+</para>
+
+ at config:
+
+
+<!-- ##### FUNCTION ags_config_set ##### -->
+<para>
+
+</para>
+
+ at config:
+ at group:
+ at key:
+ at value:
+
+
diff --git a/doc/reference/ags/tmpl/ags_container.sgml b/doc/reference/ags/tmpl/ags_container.sgml
new file mode 100644
index 0000000..6e7ae9c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_container.sgml
@@ -0,0 +1,33 @@
+<!-- ##### SECTION Title ##### -->
+ags_container
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_container_add_all ##### -->
+<para>
+
+</para>
+
+ at container:
+ at list:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_audio_signal.sgml b/doc/reference/ags/tmpl/ags_copy_audio_signal.sgml
new file mode 100644
index 0000000..9f32ac9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_audio_signal.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyAudioSignal ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### STRUCT AgsCopyAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### FUNCTION ags_copy_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at source:
+ at devout:
+ at attack:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_channel.sgml b/doc/reference/ags/tmpl/ags_copy_channel.sgml
new file mode 100644
index 0000000..0cbce6a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_channel.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at muted:
+
+<!-- ##### STRUCT AgsCopyChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_copy_channel_new ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at source:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_channel_run.sgml b/doc/reference/ags/tmpl/ags_copy_channel_run.sgml
new file mode 100644
index 0000000..b05776a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_channel_run.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at flags:
+
+<!-- ##### STRUCT AgsCopyChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### ENUM AgsCopyChannelRunFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_COPY_CHANNEL_RUN_EXACT_LENGTH:
+ at AGS_COPY_CHANNEL_RUN_OMIT_FURTHER_ATTACK:
+
+<!-- ##### FUNCTION ags_copy_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at source:
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_notation_audio.sgml b/doc/reference/ags/tmpl/ags_copy_notation_audio.sgml
new file mode 100644
index 0000000..6320893
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_notation_audio.sgml
@@ -0,0 +1,60 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyNotationAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyNotationAudio ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at flags:
+ at devout:
+ at notation:
+ at audio_channel:
+
+<!-- ##### STRUCT AgsCopyNotationAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+
+<!-- ##### ENUM AgsCopyNotationAudioFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_COPY_NOTATION_AUDIO_FIT_AUDIO_SIGNAL:
+
+<!-- ##### FUNCTION ags_copy_notation_audio_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at notation:
+ at audio_channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_notation_audio_run.sgml b/doc/reference/ags/tmpl/ags_copy_notation_audio_run.sgml
new file mode 100644
index 0000000..4234a14
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_notation_audio_run.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyNotationAudioRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyNotationAudioRun ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+ at count_beats_audio_run:
+ at tic_alloc_input_handler:
+ at current_note:
+
+<!-- ##### STRUCT AgsCopyNotationAudioRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+
+<!-- ##### FUNCTION ags_copy_notation_audio_run_new ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_pattern_audio.sgml b/doc/reference/ags/tmpl/ags_copy_pattern_audio.sgml
new file mode 100644
index 0000000..eef2b71
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_pattern_audio.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyPatternAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyPatternAudio ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at bank_index_0:
+ at bank_index_1:
+
+<!-- ##### STRUCT AgsCopyPatternAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+
+<!-- ##### FUNCTION ags_copy_pattern_audio_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at tact:
+ at i:
+ at j:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_pattern_audio_run.sgml b/doc/reference/ags/tmpl/ags_copy_pattern_audio_run.sgml
new file mode 100644
index 0000000..7504a64
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_pattern_audio_run.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyPatternAudioRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyPatternAudioRun ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+ at hide_ref:
+ at hide_ref_counter:
+ at count_beats_audio_run:
+
+<!-- ##### STRUCT AgsCopyPatternAudioRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+
+<!-- ##### FUNCTION ags_copy_pattern_audio_run_new ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_pattern_channel.sgml b/doc/reference/ags/tmpl/ags_copy_pattern_channel.sgml
new file mode 100644
index 0000000..cc482b8
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_pattern_channel.sgml
@@ -0,0 +1,61 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyPatternChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyPatternChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at pattern:
+
+<!-- ##### STRUCT AgsCopyPatternChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_copy_pattern_channel_new ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at source:
+ at pattern:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_copy_pattern_channel_template_find_source_and_destination ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at destination:
+ at source:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_pattern_channel_run.sgml b/doc/reference/ags/tmpl/ags_copy_pattern_channel_run.sgml
new file mode 100644
index 0000000..9bf2c82
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_pattern_channel_run.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyPatternChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyPatternChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at sequencer_alloc_handler:
+
+<!-- ##### STRUCT AgsCopyPatternChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_copy_pattern_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_copy_recycling.sgml b/doc/reference/ags/tmpl/ags_copy_recycling.sgml
new file mode 100644
index 0000000..3a66804
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_copy_recycling.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsCopyRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCopyRecycling ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### STRUCT AgsCopyRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### FUNCTION ags_copy_recycling_new ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at source:
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_count_beats_audio.sgml b/doc/reference/ags/tmpl/ags_count_beats_audio.sgml
new file mode 100644
index 0000000..10f481a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_count_beats_audio.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsCountBeatsAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCountBeatsAudio ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at loop:
+ at notation_loop_start:
+ at notation_loop_end:
+ at sequencer_loop_start:
+ at sequencer_loop_end:
+
+<!-- ##### STRUCT AgsCountBeatsAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+
+<!-- ##### FUNCTION ags_count_beats_audio_new ##### -->
+<para>
+
+</para>
+
+ at loop:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_count_beats_audio_run.sgml b/doc/reference/ags/tmpl/ags_count_beats_audio_run.sgml
new file mode 100644
index 0000000..2686730
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_count_beats_audio_run.sgml
@@ -0,0 +1,119 @@
+<!-- ##### SECTION Title ##### -->
+AgsCountBeatsAudioRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsCountBeatsAudioRun ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+ at first_run:
+ at notation_counter:
+ at sequencer_counter:
+ at recall_ref:
+ at hide_ref:
+ at notation_hide_ref_counter:
+ at sequencer_hide_ref_counter:
+ at sequencer_alloc_output_handler:
+ at sequencer_count_handler:
+ at notation_alloc_output_handler:
+ at notation_count_handler:
+ at delay_audio_run:
+
+<!-- ##### STRUCT AgsCountBeatsAudioRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+ at notation_start:
+ at notation_loop:
+ at notation_stop:
+ at sequencer_start:
+ at sequencer_loop:
+ at sequencer_stop:
+
+<!-- ##### FUNCTION ags_count_beats_audio_run_new ##### -->
+<para>
+
+</para>
+
+ at delay_audio_run:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_count_beats_audio_run_notation_loop ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at run_order:
+
+
+<!-- ##### FUNCTION ags_count_beats_audio_run_notation_start ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at run_order:
+
+
+<!-- ##### FUNCTION ags_count_beats_audio_run_notation_stop ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at run_order:
+
+
+<!-- ##### FUNCTION ags_count_beats_audio_run_sequencer_loop ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at run_order:
+
+
+<!-- ##### FUNCTION ags_count_beats_audio_run_sequencer_start ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at run_order:
+
+
+<!-- ##### FUNCTION ags_count_beats_audio_run_sequencer_stop ##### -->
+<para>
+
+</para>
+
+ at count_beats_audio_run:
+ at run_order:
+
+
diff --git a/doc/reference/ags/tmpl/ags_countable.sgml b/doc/reference/ags/tmpl/ags_countable.sgml
new file mode 100644
index 0000000..aa6eb75
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_countable.sgml
@@ -0,0 +1,57 @@
+<!-- ##### SECTION Title ##### -->
+AgsCountable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsCountable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsCountableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at get_notation_counter:
+ at get_sequencer_counter:
+
+<!-- ##### FUNCTION ags_countable_get_notation_counter ##### -->
+<para>
+
+</para>
+
+ at countable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_countable_get_sequencer_counter ##### -->
+<para>
+
+</para>
+
+ at countable:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_delay_audio.sgml b/doc/reference/ags/tmpl/ags_delay_audio.sgml
new file mode 100644
index 0000000..bfddcfc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_delay_audio.sgml
@@ -0,0 +1,70 @@
+<!-- ##### SECTION Title ##### -->
+AgsDelayAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsDelayAudio ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at bpm:
+ at tact:
+ at notation_delay:
+ at sequencer_delay:
+ at sequencer_duration:
+ at notation_duration:
+
+<!-- ##### STRUCT AgsDelayAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at notation_duration_changed:
+ at sequencer_duration_changed:
+
+<!-- ##### FUNCTION ags_delay_audio_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_delay_audio_notation_duration_changed ##### -->
+<para>
+
+</para>
+
+ at delay_audio:
+
+
+<!-- ##### FUNCTION ags_delay_audio_sequencer_duration_changed ##### -->
+<para>
+
+</para>
+
+ at delay_audio:
+
+
diff --git a/doc/reference/ags/tmpl/ags_delay_audio_run.sgml b/doc/reference/ags/tmpl/ags_delay_audio_run.sgml
new file mode 100644
index 0000000..431473e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_delay_audio_run.sgml
@@ -0,0 +1,123 @@
+<!-- ##### SECTION Title ##### -->
+AgsDelayAudioRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsDelayAudioRun ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+ at dependency_ref:
+ at hide_ref:
+ at hide_ref_counter:
+ at notation_counter:
+ at sequencer_counter:
+
+<!-- ##### STRUCT AgsDelayAudioRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_run:
+ at notation_alloc_output:
+ at notation_alloc_input:
+ at notation_count:
+ at sequencer_alloc_output:
+ at sequencer_alloc_input:
+ at sequencer_count:
+
+<!-- ##### FUNCTION ags_delay_audio_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_delay_audio_run_notation_alloc_input ##### -->
+<para>
+
+</para>
+
+ at delay_audio_run:
+ at run_order:
+ at delay:
+ at attack:
+
+
+<!-- ##### FUNCTION ags_delay_audio_run_notation_alloc_output ##### -->
+<para>
+
+</para>
+
+ at delay_audio_run:
+ at run_order:
+ at delay:
+ at attack:
+
+
+<!-- ##### FUNCTION ags_delay_audio_run_notation_count ##### -->
+<para>
+
+</para>
+
+ at delay_audio_run:
+ at run_order:
+ at delay:
+ at attack:
+
+
+<!-- ##### FUNCTION ags_delay_audio_run_sequencer_alloc_input ##### -->
+<para>
+
+</para>
+
+ at delay_audio_run:
+ at run_order:
+ at delay:
+ at attack:
+
+
+<!-- ##### FUNCTION ags_delay_audio_run_sequencer_alloc_output ##### -->
+<para>
+
+</para>
+
+ at delay_audio_run:
+ at run_order:
+ at delay:
+ at attack:
+
+
+<!-- ##### FUNCTION ags_delay_audio_run_sequencer_count ##### -->
+<para>
+
+</para>
+
+ at delay_audio_run:
+ at run_order:
+ at delay:
+ at attack:
+
+
diff --git a/doc/reference/ags/tmpl/ags_devout.sgml b/doc/reference/ags/tmpl/ags_devout.sgml
new file mode 100644
index 0000000..9fc81b9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_devout.sgml
@@ -0,0 +1,323 @@
+<!-- ##### SECTION Title ##### -->
+AgsDevout
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_BPM ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_BUFFER_SIZE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_DELAY ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_FORMAT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_SAMPLERATE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_SCALE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_TACT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_TACTRATE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_DEFAULT_TACT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_ERROR ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_DEVOUT_PLAY ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### MACRO AGS_DEVOUT_PLAY_DOMAIN ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### STRUCT AgsDevout ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at dsp_channels:
+ at pcm_channels:
+ at bits:
+ at buffer_size:
+ at frequency:
+ at buffer:
+ at bpm:
+ at delay:
+ at attack:
+ at delay_counter:
+ at tic_counter:
+
+<!-- ##### STRUCT AgsDevoutClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at play_init:
+ at play:
+ at stop:
+ at tic:
+ at note_offset_changed:
+
+<!-- ##### ENUM AgsDevoutError ##### -->
+<para>
+
+</para>
+
+ at AGS_DEVOUT_ERROR_LOCKED_SOUNDCARD:
+
+<!-- ##### ENUM AgsDevoutFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_DEVOUT_BUFFER0:
+ at AGS_DEVOUT_BUFFER1:
+ at AGS_DEVOUT_BUFFER2:
+ at AGS_DEVOUT_BUFFER3:
+ at AGS_DEVOUT_ATTACK_FIRST:
+ at AGS_DEVOUT_PLAY:
+ at AGS_DEVOUT_LIBAO:
+ at AGS_DEVOUT_OSS:
+ at AGS_DEVOUT_ALSA:
+ at AGS_DEVOUT_SHUTDOWN:
+ at AGS_DEVOUT_START_PLAY:
+ at AGS_DEVOUT_NONBLOCKING:
+ at AGS_DEVOUT_TIMING_SET_0:
+ at AGS_DEVOUT_TIMING_SET_1:
+
+<!-- ##### STRUCT AgsDevoutPlay ##### -->
+<para>
+
+</para>
+
+ at flags:
+ at iterator_thread:
+ at source:
+ at audio_channel:
+ at recall_id:
+
+<!-- ##### STRUCT AgsDevoutPlayDomain ##### -->
+<para>
+
+</para>
+
+ at domain:
+ at playback:
+ at sequencer:
+ at notation:
+ at devout_play:
+
+<!-- ##### ENUM AgsDevoutPlayFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_DEVOUT_PLAY_DONE:
+ at AGS_DEVOUT_PLAY_REMOVE:
+ at AGS_DEVOUT_PLAY_CHANNEL:
+ at AGS_DEVOUT_PLAY_PAD:
+ at AGS_DEVOUT_PLAY_AUDIO:
+ at AGS_DEVOUT_PLAY_PLAYBACK:
+ at AGS_DEVOUT_PLAY_SEQUENCER:
+ at AGS_DEVOUT_PLAY_NOTATION:
+ at AGS_DEVOUT_PLAY_SUPER_THREADED:
+
+<!-- ##### ENUM AgsDevoutResolutionMode ##### -->
+<para>
+
+</para>
+
+ at AGS_DEVOUT_RESOLUTION_8_BIT:
+ at AGS_DEVOUT_RESOLUTION_16_BIT:
+ at AGS_DEVOUT_RESOLUTION_24_BIT:
+ at AGS_DEVOUT_RESOLUTION_32_BIT:
+ at AGS_DEVOUT_RESOLUTION_64_BIT:
+
+<!-- ##### FUNCTION ags_devout_error_quark ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_devout_list_cards ##### -->
+<para>
+
+</para>
+
+ at card_id:
+ at card_name:
+
+
+<!-- ##### FUNCTION ags_devout_new ##### -->
+<para>
+
+</para>
+
+ at ags_main:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_devout_note_offset_changed ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at note_offset:
+
+
+<!-- ##### FUNCTION ags_devout_pcm_info ##### -->
+<para>
+
+</para>
+
+ at card_id:
+ at channels_min:
+ at channels_max:
+ at rate_min:
+ at rate_max:
+ at buffer_size_min:
+ at buffer_size_max:
+ at error:
+
+
+<!-- ##### FUNCTION ags_devout_play_alloc ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_devout_play_domain_alloc ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_devout_play_domain_free ##### -->
+<para>
+
+</para>
+
+ at devout_play_domain:
+
+
+<!-- ##### FUNCTION ags_devout_play_find_source ##### -->
+<para>
+
+</para>
+
+ at devout_play:
+ at source:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_devout_play_free ##### -->
+<para>
+
+</para>
+
+ at devout_play:
+
+
+<!-- ##### FUNCTION ags_devout_tic ##### -->
+<para>
+
+</para>
+
+ at devout:
+
+
diff --git a/doc/reference/ags/tmpl/ags_devout_thread.sgml b/doc/reference/ags/tmpl/ags_devout_thread.sgml
new file mode 100644
index 0000000..7e4117b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_devout_thread.sgml
@@ -0,0 +1,57 @@
+<!-- ##### SECTION Title ##### -->
+AgsDevoutThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_DEVOUT_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsDevoutThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at time_val:
+ at timestamp_thread:
+ at error:
+
+<!-- ##### STRUCT AgsDevoutThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_devout_thread_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_dial.sgml b/doc/reference/ags/tmpl/ags_dial.sgml
new file mode 100644
index 0000000..71b87ee
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_dial.sgml
@@ -0,0 +1,83 @@
+<!-- ##### SECTION Title ##### -->
+AgsDial
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_DIAL_DEFAULT_PRECISION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsDial ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at flags:
+ at radius:
+ at outline_strength:
+ at scale_precision:
+ at font_size:
+ at button_width:
+ at button_height:
+ at margin_left:
+ at margin_right:
+ at tolerance:
+ at negated_tolerance:
+ at sleep_interval:
+ at adjustment:
+ at gravity_x:
+ at gravity_y:
+ at current_x:
+ at current_y:
+
+<!-- ##### STRUCT AgsDialClass ##### -->
+<para>
+
+</para>
+
+ at widget:
+
+<!-- ##### ENUM AgsDialFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_DIAL_WITH_BUTTONS:
+ at AGS_DIAL_MOUSE_BUTTON_PRESSED:
+ at AGS_DIAL_BUTTON_DOWN_PRESSED:
+ at AGS_DIAL_BUTTON_UP_PRESSED:
+ at AGS_DIAL_MOTION_CAPTURING_INIT:
+ at AGS_DIAL_MOTION_CAPTURING:
+ at AGS_DIAL_IDLE:
+
+<!-- ##### FUNCTION ags_dial_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_display_tact.sgml b/doc/reference/ags/tmpl/ags_display_tact.sgml
new file mode 100644
index 0000000..62979a1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_display_tact.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsDisplayTact
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsDisplayTact ##### -->
+<para>
+
+</para>
+
+ at task:
+ at navigation:
+
+<!-- ##### STRUCT AgsDisplayTactClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_display_tact_new ##### -->
+<para>
+
+</para>
+
+ at navigation:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_down_mix.sgml b/doc/reference/ags/tmpl/ags_down_mix.sgml
new file mode 100644
index 0000000..afcae5e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_down_mix.sgml
@@ -0,0 +1,24 @@
+<!-- ##### SECTION Title ##### -->
+ags_down_mix
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum.sgml b/doc/reference/ags/tmpl/ags_drum.sgml
new file mode 100644
index 0000000..7a14ac6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum.sgml
@@ -0,0 +1,90 @@
+<!-- ##### SECTION Title ##### -->
+AgsDrum
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_DRUM_PATTERN_CONTROLS ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsDrum ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at flags:
+ at name:
+ at xml_type:
+ at open:
+ at loop_button:
+ at length_spin:
+ at run:
+ at vbox:
+ at input_pad:
+ at output_pad:
+ at selected_edit_button:
+ at selected_pad:
+ at selected_line:
+ at index0:
+ at selected0:
+ at index1:
+ at selected1:
+ at active_led:
+ at led:
+ at pattern:
+ at offset:
+
+<!-- ##### STRUCT AgsDrumClass ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+<!-- ##### ENUM AgsDrumFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_DRUM_BLOCK_PATTERN:
+
+<!-- ##### FUNCTION ags_drum_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_drum_set_pattern ##### -->
+<para>
+
+</para>
+
+ at drum:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_callbacks.sgml b/doc/reference/ags/tmpl/ags_drum_callbacks.sgml
new file mode 100644
index 0000000..9e43749
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_callbacks.sgml
@@ -0,0 +1,117 @@
+<!-- ##### SECTION Title ##### -->
+ags_drum_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_drum_done_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_index0_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_index1_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_length_spin_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_loop_button_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_offset_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_open_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_pad_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at drum:
+
+
+<!-- ##### FUNCTION ags_drum_tact_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+ at drum:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_input_line.sgml b/doc/reference/ags/tmpl/ags_drum_input_line.sgml
new file mode 100644
index 0000000..4a3b663
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_input_line.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsDrumInputLine
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsDrumInputLine ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### STRUCT AgsDrumInputLineClass ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### FUNCTION ags_drum_input_line_map_recall ##### -->
+<para>
+
+</para>
+
+ at drum_input_line:
+ at output_pad_start:
+
+
+<!-- ##### FUNCTION ags_drum_input_line_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_input_line_callbacks.sgml b/doc/reference/ags/tmpl/ags_drum_input_line_callbacks.sgml
new file mode 100644
index 0000000..a3752bf
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_input_line_callbacks.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+ags_drum_input_line_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_drum_input_line_audio_set_pads_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at type:
+ at pads:
+ at pads_old:
+ at drum_input_line:
+
+
+<!-- ##### FUNCTION ags_drum_input_line_channel_done_callback ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at drum_input_line:
+
+
+<!-- ##### FUNCTION ags_drum_input_line_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at drum_input_line:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_input_pad.sgml b/doc/reference/ags/tmpl/ags_drum_input_pad.sgml
new file mode 100644
index 0000000..64d4286
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_input_pad.sgml
@@ -0,0 +1,64 @@
+<!-- ##### SECTION Title ##### -->
+AgsDrumInputPad
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsDrumInputPad ##### -->
+<para>
+
+</para>
+
+ at pad:
+ at flags:
+ at name:
+ at xml_type:
+ at open:
+ at play:
+ at edit:
+ at pad_open_recalls:
+ at pad_open_play_ref:
+ at file_chooser:
+ at pad_play_ref:
+
+<!-- ##### STRUCT AgsDrumInputPadClass ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+<!-- ##### ENUM AgsDrumInputPadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE:
+
+<!-- ##### FUNCTION ags_drum_input_pad_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_input_pad_callbacks.sgml b/doc/reference/ags/tmpl/ags_drum_input_pad_callbacks.sgml
new file mode 100644
index 0000000..307c7c1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_input_pad_callbacks.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+ags_drum_input_pad_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_drum_input_pad_edit_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at drum_input_pad:
+
+
+<!-- ##### FUNCTION ags_drum_input_pad_open_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at drum_input_pad:
+
+
+<!-- ##### FUNCTION ags_drum_input_pad_play_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at drum_input_pad:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_output_line.sgml b/doc/reference/ags/tmpl/ags_drum_output_line.sgml
new file mode 100644
index 0000000..20e6615
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_output_line.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+AgsDrumOutputLine
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsDrumOutputLine ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### STRUCT AgsDrumOutputLineClass ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### FUNCTION ags_drum_output_line_add_default_recall ##### -->
+<para>
+
+</para>
+
+ at drum_output_line:
+
+
+<!-- ##### FUNCTION ags_drum_output_line_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_output_line_callbacks.sgml b/doc/reference/ags/tmpl/ags_drum_output_line_callbacks.sgml
new file mode 100644
index 0000000..e9e749f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_output_line_callbacks.sgml
@@ -0,0 +1,35 @@
+<!-- ##### SECTION Title ##### -->
+ags_drum_output_line_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_drum_output_line_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at data:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_output_pad.sgml b/doc/reference/ags/tmpl/ags_drum_output_pad.sgml
new file mode 100644
index 0000000..bcda879
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_output_pad.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+AgsDrumOutputPad
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsDrumOutputPad ##### -->
+<para>
+
+</para>
+
+ at pad:
+ at flags:
+
+<!-- ##### STRUCT AgsDrumOutputPadClass ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+<!-- ##### ENUM AgsDrumOutputPadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_DRUM_OUTPUT_PAD_PLAY_DONE:
+
+<!-- ##### FUNCTION ags_drum_output_pad_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_drum_output_pad_callbacks.sgml b/doc/reference/ags/tmpl/ags_drum_output_pad_callbacks.sgml
new file mode 100644
index 0000000..14e3ecc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_drum_output_pad_callbacks.sgml
@@ -0,0 +1,44 @@
+<!-- ##### SECTION Title ##### -->
+ags_drum_output_pad_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_drum_output_pad_play_cancel ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_id:
+ at drum_output_pad:
+
+
+<!-- ##### FUNCTION ags_drum_output_pad_play_done ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_id:
+ at drum_output_pad:
+
+
diff --git a/doc/reference/ags/tmpl/ags_dynamic_connectable.sgml b/doc/reference/ags/tmpl/ags_dynamic_connectable.sgml
new file mode 100644
index 0000000..ad819a1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_dynamic_connectable.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+AgsDynamicConnectable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsDynamicConnectable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsDynamicConnectableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at connect_dynamic:
+ at disconnect_dynamic:
+
+<!-- ##### FUNCTION ags_dynamic_connectable_connect ##### -->
+<para>
+
+</para>
+
+ at connectable:
+
+
+<!-- ##### FUNCTION ags_dynamic_connectable_disconnect ##### -->
+<para>
+
+</para>
+
+ at connectable:
+
+
diff --git a/doc/reference/ags/tmpl/ags_echo.sgml b/doc/reference/ags/tmpl/ags_echo.sgml
new file mode 100644
index 0000000..babc550
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_echo.sgml
@@ -0,0 +1,32 @@
+<!-- ##### SECTION Title ##### -->
+ags_echo
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_echo ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
diff --git a/doc/reference/ags/tmpl/ags_editor.sgml b/doc/reference/ags/tmpl/ags_editor.sgml
new file mode 100644
index 0000000..11a1b69
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_editor.sgml
@@ -0,0 +1,90 @@
+<!-- ##### SECTION Title ##### -->
+AgsEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_EDITOR_DEFAULT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_EDITOR_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_EDITOR_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsEditor ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at flags:
+ at version:
+ at build_id:
+ at devout:
+ at machine_selector:
+ at selected_machine:
+ at set_audio_channels_handler:
+ at set_pads_handler:
+ at toolbar:
+ at notebook:
+ at meter:
+ at note_edit:
+ at tact_counter:
+
+<!-- ##### STRUCT AgsEditorClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at machine_changed:
+
+<!-- ##### FUNCTION ags_editor_machine_changed ##### -->
+<para>
+
+</para>
+
+ at editor:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_editor_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_editor_callbacks.sgml
new file mode 100644
index 0000000..dedbe0d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_editor_callbacks.sgml
@@ -0,0 +1,77 @@
+<!-- ##### SECTION Title ##### -->
+ags_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_editor_change_position_callback ##### -->
+<para>
+
+</para>
+
+ at navigation:
+ at tact:
+ at editor:
+
+
+<!-- ##### FUNCTION ags_editor_machine_changed_callback ##### -->
+<para>
+
+</para>
+
+ at machine_selector:
+ at machine:
+ at editor:
+
+
+<!-- ##### FUNCTION ags_editor_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at editor:
+
+
+<!-- ##### FUNCTION ags_editor_set_audio_channels_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at audio_channels:
+ at audio_channels_old:
+ at editor:
+
+
+<!-- ##### FUNCTION ags_editor_set_pads_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at channel_type:
+ at pads:
+ at pads_old:
+ at editor:
+
+
diff --git a/doc/reference/ags/tmpl/ags_effect.sgml b/doc/reference/ags/tmpl/ags_effect.sgml
new file mode 100644
index 0000000..b9fed8c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_effect.sgml
@@ -0,0 +1,37 @@
+<!-- ##### SECTION Title ##### -->
+AgsEffect
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsEffect ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsEffectInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+
diff --git a/doc/reference/ags/tmpl/ags_effect.sgml.bak b/doc/reference/ags/tmpl/ags_effect.sgml.bak
new file mode 100644
index 0000000..fde5ff9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_effect.sgml.bak
@@ -0,0 +1,45 @@
+<!-- ##### SECTION Title ##### -->
+ags_effect
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_EFFECT_COPY_BUFFER ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_EFFECT_COPY_STREAM ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_EFFECT_DOWN_MIX ##### -->
+<para>
+
+</para>
+
+
+
diff --git a/doc/reference/ags/tmpl/ags_expander.sgml b/doc/reference/ags/tmpl/ags_expander.sgml
new file mode 100644
index 0000000..0f1572c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_expander.sgml
@@ -0,0 +1,121 @@
+<!-- ##### SECTION Title ##### -->
+AgsExpander
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_EXPANDER_CHILD ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### STRUCT AgsExpander ##### -->
+<para>
+
+</para>
+
+ at expander:
+ at flags:
+ at table:
+ at children:
+
+<!-- ##### STRUCT AgsExpanderChild ##### -->
+<para>
+
+</para>
+
+ at child:
+ at x:
+ at y:
+ at width:
+ at height:
+
+<!-- ##### STRUCT AgsExpanderClass ##### -->
+<para>
+
+</para>
+
+ at expander:
+
+<!-- ##### ENUM AgsExpanderFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_EXPANDER_DRAW_BORDER:
+
+<!-- ##### FUNCTION ags_expander_add ##### -->
+<para>
+
+</para>
+
+ at expander:
+ at widget:
+ at x:
+ at y:
+ at width:
+ at height:
+
+
+<!-- ##### FUNCTION ags_expander_child_alloc ##### -->
+<para>
+
+</para>
+
+ at x:
+ at y:
+ at width:
+ at height:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_expander_child_find ##### -->
+<para>
+
+</para>
+
+ at expander:
+ at child:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_expander_new ##### -->
+<para>
+
+</para>
+
+ at width:
+ at height:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_expander_remove ##### -->
+<para>
+
+</para>
+
+ at expander:
+ at widget:
+
+
diff --git a/doc/reference/ags/tmpl/ags_expander_set.sgml b/doc/reference/ags/tmpl/ags_expander_set.sgml
new file mode 100644
index 0000000..a6eb103
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_expander_set.sgml
@@ -0,0 +1,134 @@
+<!-- ##### SECTION Title ##### -->
+AgsExpanderSet
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_EXPANDER_SET_CHILD ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### STRUCT AgsExpanderSet ##### -->
+<para>
+
+</para>
+
+ at table:
+ at flags:
+ at ghost:
+ at location:
+
+<!-- ##### STRUCT AgsExpanderSetChild ##### -->
+<para>
+
+</para>
+
+ at child:
+ at x:
+ at y:
+ at width:
+ at height:
+
+<!-- ##### STRUCT AgsExpanderSetClass ##### -->
+<para>
+
+</para>
+
+ at table:
+
+<!-- ##### ENUM AgsExpanderSetFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_EXPANDER_SET_DRAW_GHOST:
+ at AGS_EXPANDER_SET_DRAW_LEFT_ENDING:
+ at AGS_EXPANDER_SET_DRAW_RIGHT_ENDING:
+ at AGS_EXPANDER_SET_DRAW_LEFT_CONNECTOR:
+ at AGS_EXPANDER_SET_DRAW_RIGHT_CONNECTOR:
+
+<!-- ##### FUNCTION ags_expander_set_add ##### -->
+<para>
+
+</para>
+
+ at expander_set:
+ at widget:
+ at x:
+ at y:
+ at width:
+ at height:
+
+
+<!-- ##### FUNCTION ags_expander_set_child_alloc ##### -->
+<para>
+
+</para>
+
+ at x:
+ at y:
+ at width:
+ at height:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_expander_set_child_find ##### -->
+<para>
+
+</para>
+
+ at expander_set:
+ at child:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_expander_set_new ##### -->
+<para>
+
+</para>
+
+ at width:
+ at height:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_expander_set_remove ##### -->
+<para>
+
+</para>
+
+ at expander_set:
+ at widget:
+
+
+<!-- ##### FUNCTION ags_expander_set_set_flags ##### -->
+<para>
+
+</para>
+
+ at expander_set:
+ at flags:
+
+
diff --git a/doc/reference/ags/tmpl/ags_export_output.sgml b/doc/reference/ags/tmpl/ags_export_output.sgml
new file mode 100644
index 0000000..d966278
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_export_output.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsExportOutput
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsExportOutput ##### -->
+<para>
+
+</para>
+
+ at task:
+ at export_thread:
+ at devout:
+ at filename:
+ at tic:
+ at live_performance:
+
+<!-- ##### STRUCT AgsExportOutputClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_export_output_new ##### -->
+<para>
+
+</para>
+
+ at export_thread:
+ at devout:
+ at filename:
+ at tic:
+ at live_performance:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_export_thread.sgml b/doc/reference/ags/tmpl/ags_export_thread.sgml
new file mode 100644
index 0000000..dd22803
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_export_thread.sgml
@@ -0,0 +1,66 @@
+<!-- ##### SECTION Title ##### -->
+AgsExportThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_EXPORT_THREAD_BUFFER_TIME ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_EXPORT_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsExportThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at flags:
+ at tic:
+ at counter:
+ at audio_file:
+
+<!-- ##### STRUCT AgsExportThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_export_thread_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at audio_file:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_export_window.sgml b/doc/reference/ags/tmpl/ags_export_window.sgml
new file mode 100644
index 0000000..a44284e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_export_window.sgml
@@ -0,0 +1,64 @@
+<!-- ##### SECTION Title ##### -->
+AgsExportWindow
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsExportWindow ##### -->
+<para>
+
+</para>
+
+ at window:
+ at flags:
+ at ags_main:
+ at devout:
+ at live_export:
+ at filename:
+ at file_chooser_button:
+ at mode:
+ at tact:
+ at duration:
+ at output_format:
+ at export:
+
+<!-- ##### STRUCT AgsExportWindowClass ##### -->
+<para>
+
+</para>
+
+ at window:
+
+<!-- ##### ENUM AgsExportWindowFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_EXPORT_WINDOW_LIVE_EXPORT:
+
+<!-- ##### FUNCTION ags_export_window_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_export_window_callbacks.sgml b/doc/reference/ags/tmpl/ags_export_window_callbacks.sgml
new file mode 100644
index 0000000..63b264f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_export_window_callbacks.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+ags_export_window_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_export_window_export_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at export_window:
+
+
+<!-- ##### FUNCTION ags_export_window_file_chooser_button_callback ##### -->
+<para>
+
+</para>
+
+ at file_chooser_button:
+ at export_window:
+
+
+<!-- ##### FUNCTION ags_export_window_tact_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at export_window:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ffplayer.sgml b/doc/reference/ags/tmpl/ags_ffplayer.sgml
new file mode 100644
index 0000000..6b06b83
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ffplayer.sgml
@@ -0,0 +1,67 @@
+<!-- ##### SECTION Title ##### -->
+AgsFFPlayer
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFFPlayer ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at mapped_output_pad:
+ at mapped_input_pad:
+ at name:
+ at xml_type:
+ at open:
+ at control_width:
+ at control_height:
+ at drawing_area:
+ at hadjustment:
+ at ipatch:
+ at preset:
+ at instrument:
+
+<!-- ##### STRUCT AgsFFPlayerClass ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+<!-- ##### FUNCTION ags_ffplayer_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ffplayer_paint ##### -->
+<para>
+
+</para>
+
+ at ffplayer:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ffplayer_callbacks.sgml b/doc/reference/ags/tmpl/ags_ffplayer_callbacks.sgml
new file mode 100644
index 0000000..34ae53c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ffplayer_callbacks.sgml
@@ -0,0 +1,112 @@
+<!-- ##### SECTION Title ##### -->
+ags_ffplayer_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_ffplayer_drawing_area_button_press_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at ffplayer:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ffplayer_drawing_area_configure_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at ffplayer:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ffplayer_drawing_area_expose_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at ffplayer:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ffplayer_hscrollbar_value_changed ##### -->
+<para>
+
+</para>
+
+ at adjustment:
+ at ffplayers:
+
+
+<!-- ##### FUNCTION ags_ffplayer_instrument_changed_callback ##### -->
+<para>
+
+</para>
+
+ at instrument:
+ at ffplayer:
+
+
+<!-- ##### FUNCTION ags_ffplayer_open_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at ffplayer:
+
+
+<!-- ##### FUNCTION ags_ffplayer_open_dialog_response_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at response:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_ffplayer_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at ffplayer:
+
+
+<!-- ##### FUNCTION ags_ffplayer_preset_changed_callback ##### -->
+<para>
+
+</para>
+
+ at preset:
+ at ffplayer:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file.sgml b/doc/reference/ags/tmpl/ags_file.sgml
new file mode 100644
index 0000000..f55f66b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file.sgml
@@ -0,0 +1,274 @@
+<!-- ##### SECTION Title ##### -->
+AgsFile
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_FILE_CHECKSUM_LENGTH ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DEFAULT_AUDIO_ENCODING ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DEFAULT_AUDIO_FORMAT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DEFAULT_DTD ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DEFAULT_ENCODING ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsFile ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at filename:
+ at encoding:
+ at dtd:
+ at audio_format:
+ at audio_encoding:
+ at doc:
+ at id_refs:
+ at lookup:
+ at launch:
+ at ags_main:
+ at clipboard:
+ at property:
+ at script:
+ at cluster:
+ at client:
+ at server:
+ at history:
+ at embedded_audio:
+ at file_link:
+
+<!-- ##### STRUCT AgsFileClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at write:
+ at write_concurrent:
+ at write_resolve:
+ at read:
+ at read_resolve:
+ at read_start:
+
+<!-- ##### ENUM AgsFileFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_FILE_READ:
+ at AGS_FILE_READ_AUDIO_SIGNAL:
+ at AGS_FILE_READ_EMBEDDED_AUDIO:
+ at AGS_FILE_WRITE:
+ at AGS_FILE_WRITE_AUDIO_SIGNAL:
+ at AGS_FILE_WRITE_EMBEDDED_AUDIO:
+
+<!-- ##### FUNCTION ags_file_add_id_ref ##### -->
+<para>
+
+</para>
+
+ at file:
+ at id_ref:
+
+
+<!-- ##### FUNCTION ags_file_add_launch ##### -->
+<para>
+
+</para>
+
+ at file:
+ at file_launch:
+
+
+<!-- ##### FUNCTION ags_file_add_lookup ##### -->
+<para>
+
+</para>
+
+ at file:
+ at file_lookup:
+
+
+<!-- ##### FUNCTION ags_file_find_id_ref_by_node ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_find_id_ref_by_reference ##### -->
+<para>
+
+</para>
+
+ at file:
+ at ref:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_find_id_ref_by_xpath ##### -->
+<para>
+
+</para>
+
+ at file:
+ at xpath:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_read ##### -->
+<para>
+
+</para>
+
+ at file:
+
+
+<!-- ##### FUNCTION ags_file_read_main ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at main:
+
+
+<!-- ##### FUNCTION ags_file_read_resolve ##### -->
+<para>
+
+</para>
+
+ at file:
+
+
+<!-- ##### FUNCTION ags_file_read_server ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at server:
+
+
+<!-- ##### FUNCTION ags_file_read_start ##### -->
+<para>
+
+</para>
+
+ at file:
+
+
+<!-- ##### FUNCTION ags_file_str2md5 ##### -->
+<para>
+
+</para>
+
+ at content:
+ at strlen:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write ##### -->
+<para>
+
+</para>
+
+ at file:
+
+
+<!-- ##### FUNCTION ags_file_write_concurrent ##### -->
+<para>
+
+</para>
+
+ at file:
+
+
+<!-- ##### FUNCTION ags_file_write_main ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at main:
+
+
+<!-- ##### FUNCTION ags_file_write_resolve ##### -->
+<para>
+
+</para>
+
+ at file:
+
+
+<!-- ##### FUNCTION ags_file_write_server ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at server:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_gui.sgml b/doc/reference/ags/tmpl/ags_file_gui.sgml
new file mode 100644
index 0000000..edc49da
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_gui.sgml
@@ -0,0 +1,696 @@
+<!-- ##### SECTION Title ##### -->
+ags_file_gui
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_file_read_dialog ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at dialog:
+
+
+<!-- ##### FUNCTION ags_file_read_dialog_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at dialog:
+
+
+<!-- ##### FUNCTION ags_file_read_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at editor:
+
+
+<!-- ##### FUNCTION ags_file_read_line ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at line:
+
+
+<!-- ##### FUNCTION ags_file_read_line_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at line_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_line_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at line:
+
+
+<!-- ##### FUNCTION ags_file_read_line_member ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_file_read_line_member_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at line_member_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_line_member_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_file_read_link_collection_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_link_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at link_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_machine ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_file_read_machine_counter ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at machine_counter:
+
+
+<!-- ##### FUNCTION ags_file_read_machine_counter_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at machine_counter:
+
+
+<!-- ##### FUNCTION ags_file_read_machine_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at machine_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_machine_editor_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at machine_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_machine_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_file_read_machine_selector ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at machine_selector:
+
+
+<!-- ##### FUNCTION ags_file_read_menu_bar ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_file_read_mixer_input_pad ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at mixer_input_pad:
+
+
+<!-- ##### FUNCTION ags_file_read_mixer_output_pad ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at mixer_output_pad:
+
+
+<!-- ##### FUNCTION ags_file_read_navigation ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_file_read_notebook ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at notebook:
+
+
+<!-- ##### FUNCTION ags_file_read_notebook_tab ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at notebook_tab:
+
+
+<!-- ##### FUNCTION ags_file_read_notebook_tab_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at notebook_tab_list:
+
+
+<!-- ##### FUNCTION ags_file_read_pad ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at pad:
+
+
+<!-- ##### FUNCTION ags_file_read_pad_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at pad_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_pad_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at pad:
+
+
+<!-- ##### FUNCTION ags_file_read_resize_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at resize_editor:
+
+
+<!-- ##### FUNCTION ags_file_read_toolbar ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_file_read_widget ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at widget:
+
+
+<!-- ##### FUNCTION ags_file_read_window ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at window:
+
+
+<!-- ##### FUNCTION ags_file_write_dialog ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at dialog:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_dialog_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at dialog:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_line ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at line:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_line_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at line_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_line_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at line:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_line_member ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at line_member:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_line_member_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at line_member_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_line_member_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at line_member:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_link_collection_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at link_collection_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_link_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at link_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_machine ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_machine_counter ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at machine_counter:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_machine_counter_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at machine_counter:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_machine_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_machine_editor_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_machine_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_machine_selector ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at machine_selector:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_menu_bar ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at menu_bar:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_mixer_input_pad ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at mixer_input_pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_mixer_output_pad ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at mixer_output_pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_navigation ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at navigation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_notebook ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at notebook:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_notebook_tab ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at notebook_tab:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_notebook_tab_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at notebook_tab_list:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_pad ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_pad_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at pad_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_pad_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_resize_editor ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at resize_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_toolbar ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at toolbar:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_widget ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at widget:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_window ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at window:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_id_ref.sgml b/doc/reference/ags/tmpl/ags_file_id_ref.sgml
new file mode 100644
index 0000000..e37b700
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_id_ref.sgml
@@ -0,0 +1,90 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileIdRef
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_FILE_ID_REF_RESOLVE_DATA ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_ID_REF_SERIALIZE_DATA ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_RESOLVE ##### -->
+<para>
+
+</para>
+
+ at f:
+
+
+<!-- ##### STRUCT AgsFileIdRef ##### -->
+<para>
+
+</para>
+
+ at object:
+ at main:
+ at file:
+ at node:
+ at xpath:
+ at ref:
+
+<!-- ##### STRUCT AgsFileIdRefClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at resolved:
+
+<!-- ##### USER_FUNCTION AgsFileResolve ##### -->
+<para>
+
+</para>
+
+ at void:
+
+
+<!-- ##### FUNCTION ags_file_id_ref_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_id_ref_resolved ##### -->
+<para>
+
+</para>
+
+ at file_id_ref:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_launch.sgml b/doc/reference/ags/tmpl/ags_file_launch.sgml
new file mode 100644
index 0000000..f5c8246
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_launch.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileLaunch
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFileLaunch ##### -->
+<para>
+
+</para>
+
+ at object:
+ at node:
+
+<!-- ##### STRUCT AgsFileLaunchClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at start:
+
+<!-- ##### FUNCTION ags_file_launch_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_launch_start ##### -->
+<para>
+
+</para>
+
+ at file_launch:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_link.sgml b/doc/reference/ags/tmpl/ags_file_link.sgml
new file mode 100644
index 0000000..a75bcc6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_link.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileLink
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFileLink ##### -->
+<para>
+
+</para>
+
+ at object:
+ at filename:
+ at data:
+ at timestamp:
+
+<!-- ##### STRUCT AgsFileLinkClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_file_link_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_lookup.sgml b/doc/reference/ags/tmpl/ags_file_lookup.sgml
new file mode 100644
index 0000000..150ce23
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_lookup.sgml
@@ -0,0 +1,68 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileLookup
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFileLookup ##### -->
+<para>
+
+</para>
+
+ at object:
+ at file:
+ at node:
+ at ref:
+
+<!-- ##### STRUCT AgsFileLookupClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at resolve:
+
+<!-- ##### FUNCTION ags_file_lookup_find_by_node ##### -->
+<para>
+
+</para>
+
+ at file_lookup:
+ at node:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_lookup_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_lookup_resolve ##### -->
+<para>
+
+</para>
+
+ at lookup:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_read.sgml b/doc/reference/ags/tmpl/ags_file_read.sgml
new file mode 100644
index 0000000..08f8cce
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_read.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileRead
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFileRead ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### STRUCT AgsFileReadClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_file_read_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_selection.sgml b/doc/reference/ags/tmpl/ags_file_selection.sgml
new file mode 100644
index 0000000..6235da3
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_selection.sgml
@@ -0,0 +1,136 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileSelection
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_FILE_SELECTION_ENTRY ##### -->
+<para>
+
+</para>
+
+ at strct:
+
+
+<!-- ##### STRUCT AgsFileSelection ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at flags:
+ at directory:
+ at entry_count:
+ at entry:
+ at chosed:
+ at selected:
+
+<!-- ##### STRUCT AgsFileSelectionClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at add_entry:
+ at remove_entry:
+ at completed:
+
+<!-- ##### STRUCT AgsFileSelectionEntry ##### -->
+<para>
+
+</para>
+
+ at table:
+ at entry:
+ at chosed:
+ at filename:
+ at nth_sample:
+ at nth_channel:
+ at count:
+
+<!-- ##### ENUM AgsFileSelectionFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_FILE_SELECTION_COMPLETED:
+
+<!-- ##### FUNCTION ags_file_selection_add_entry ##### -->
+<para>
+
+</para>
+
+ at file_selection:
+ at widget:
+
+
+<!-- ##### FUNCTION ags_file_selection_completed ##### -->
+<para>
+
+</para>
+
+ at file_selection:
+
+
+<!-- ##### FUNCTION ags_file_selection_contains_file ##### -->
+<para>
+
+</para>
+
+ at file_selection:
+ at filename:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_selection_entry_alloc ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_selection_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_selection_remove_entry ##### -->
+<para>
+
+</para>
+
+ at file_selection:
+ at widget:
+
+
+<!-- ##### FUNCTION ags_file_selection_set_entry ##### -->
+<para>
+
+</para>
+
+ at file_selection:
+ at entry:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_selection_callbacks.sgml b/doc/reference/ags/tmpl/ags_file_selection_callbacks.sgml
new file mode 100644
index 0000000..9a65d38
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_selection_callbacks.sgml
@@ -0,0 +1,33 @@
+<!-- ##### SECTION Title ##### -->
+ags_file_selection_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_file_selection_remove_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at hbox:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_sound.sgml b/doc/reference/ags/tmpl/ags_file_sound.sgml
new file mode 100644
index 0000000..624cc27
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_sound.sgml
@@ -0,0 +1,899 @@
+<!-- ##### SECTION Title ##### -->
+ags_file_sound
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_file_read_audio ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at audio:
+
+
+<!-- ##### FUNCTION ags_file_read_audio_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at audio:
+
+
+<!-- ##### FUNCTION ags_file_read_audio_signal ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at audio_signal:
+
+
+<!-- ##### FUNCTION ags_file_read_audio_signal_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at audio_signal:
+
+
+<!-- ##### FUNCTION ags_file_read_channel ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at channel:
+
+
+<!-- ##### FUNCTION ags_file_read_channel_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at channel:
+
+
+<!-- ##### FUNCTION ags_file_read_devout ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at devout:
+
+
+<!-- ##### FUNCTION ags_file_read_devout_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at devout:
+
+
+<!-- ##### FUNCTION ags_file_read_devout_play ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at play:
+
+
+<!-- ##### FUNCTION ags_file_read_devout_play_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at play:
+
+
+<!-- ##### FUNCTION ags_file_read_file_link ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at file_link:
+
+
+<!-- ##### FUNCTION ags_file_read_input ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at input:
+
+
+<!-- ##### FUNCTION ags_file_read_notation ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at notation:
+
+
+<!-- ##### FUNCTION ags_file_read_notation_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at notation:
+
+
+<!-- ##### FUNCTION ags_file_read_note ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at note:
+
+
+<!-- ##### FUNCTION ags_file_read_note_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at note:
+
+
+<!-- ##### FUNCTION ags_file_read_output ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at output:
+
+
+<!-- ##### FUNCTION ags_file_read_pattern ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at pattern:
+
+
+<!-- ##### FUNCTION ags_file_read_pattern_data ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at pattern:
+ at i:
+ at j:
+ at length:
+
+
+<!-- ##### FUNCTION ags_file_read_pattern_data_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at pattern:
+ at length:
+
+
+<!-- ##### FUNCTION ags_file_read_pattern_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at pattern:
+
+
+<!-- ##### FUNCTION ags_file_read_port ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at port:
+
+
+<!-- ##### FUNCTION ags_file_read_port_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at port:
+
+
+<!-- ##### FUNCTION ags_file_read_recall ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_audio ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_audio_run ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_audio_signal ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_channel ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_channel_run ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_container ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall_container:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_container_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall_container:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recall_recycling ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recall:
+
+
+<!-- ##### FUNCTION ags_file_read_recycling ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recycling:
+
+
+<!-- ##### FUNCTION ags_file_read_recycling_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at recycling:
+
+
+<!-- ##### FUNCTION ags_file_read_stream ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at stream:
+ at index:
+ at buffer_size:
+
+
+<!-- ##### FUNCTION ags_file_read_stream_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at stream:
+ at buffer_size:
+
+
+<!-- ##### FUNCTION ags_file_read_task ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at task:
+
+
+<!-- ##### FUNCTION ags_file_read_task_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at task:
+
+
+<!-- ##### FUNCTION ags_file_read_timestamp ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at timestamp:
+
+
+<!-- ##### FUNCTION ags_file_read_timestamp_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at timestamp:
+
+
+<!-- ##### FUNCTION ags_file_write_audio ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at audio:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_audio_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at audio:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_audio_signal ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at audio_signal:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_audio_signal_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at audio_signal:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_channel ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_channel_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_devout ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at devout:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_devout_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at devout:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_devout_play ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at play:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_devout_play_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at play:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_file_link ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at file_link:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_input ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at input:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_notation ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at notation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_notation_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at notation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_note ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at note:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_note_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at note:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_output ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at output:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_pattern ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at pattern:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_pattern_data ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at pattern:
+ at i:
+ at j:
+ at length:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_pattern_data_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at pattern:
+ at length:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_pattern_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at pattern:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_port ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at port:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_port_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at port:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_audio ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_audio_run ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_audio_signal ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_channel ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_channel_run ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_container ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_container_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recall_recycling ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recycling ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_recycling_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_stream ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at stream:
+ at index:
+ at buffer_size:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_stream_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at stream:
+ at buffer_size:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_task ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at task:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_task_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at task:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_timestamp ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at timestamp:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_timestamp_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at timestamp:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_stock.sgml b/doc/reference/ags/tmpl/ags_file_stock.sgml
new file mode 100644
index 0000000..66cec5c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_stock.sgml
@@ -0,0 +1,304 @@
+<!-- ##### SECTION Title ##### -->
+ags_file_stock
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_CLIPBOARD_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_BOOLEAN_POINTER_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_BOOLEAN_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_BUILD_ID_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_CHAR_POINTER_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_CHAR_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DOUBLE_POINTER_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DOUBLE_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_BUTTON ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_CARTESIAN ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_DIAL ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_HINDICATOR ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_HSCALE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_LABEL ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_LED ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_VINDICATOR ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_VSCALE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_DYNAMIC_WIDGET_WAVEFORM ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_EFFECTS_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_FALSE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_FLAGS_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_FLOAT_POINTER_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_FLOAT_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_ID_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_INT64_POINTER_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_INT64_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_NAME_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_OBJECT_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_POINTER_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_SCOPE_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_TRUE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_TYPE_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_UINT64_POINTER_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_UINT64_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_VERSION_PROP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_FILE_XPATH_PROP ##### -->
+<para>
+
+</para>
+
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_thread.sgml b/doc/reference/ags/tmpl/ags_file_thread.sgml
new file mode 100644
index 0000000..814868b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_thread.sgml
@@ -0,0 +1,108 @@
+<!-- ##### SECTION Title ##### -->
+ags_file_thread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_file_read_audio_loop ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at audio_loop:
+
+
+<!-- ##### FUNCTION ags_file_read_thread ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at thread:
+
+
+<!-- ##### FUNCTION ags_file_read_thread_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at thread:
+
+
+<!-- ##### FUNCTION ags_file_read_thread_pool ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at thread_pool:
+
+
+<!-- ##### FUNCTION ags_file_write_audio_loop ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at audio_loop:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_thread ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_thread_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_thread_pool ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at thread_pool:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_util.sgml b/doc/reference/ags/tmpl/ags_file_util.sgml
new file mode 100644
index 0000000..4b2fd42
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_util.sgml
@@ -0,0 +1,227 @@
+<!-- ##### SECTION Title ##### -->
+ags_file_util
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_file_read_embedded_audio ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at embedded_audio:
+
+
+<!-- ##### FUNCTION ags_file_read_embedded_audio_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at embedded_audio:
+
+
+<!-- ##### FUNCTION ags_file_read_file_link ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at file_link:
+
+
+<!-- ##### FUNCTION ags_file_read_file_link_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at file_link:
+
+
+<!-- ##### FUNCTION ags_file_util_read_dependency ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at id:
+ at name:
+ at xpath:
+
+
+<!-- ##### FUNCTION ags_file_util_read_history ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at history:
+
+
+<!-- ##### FUNCTION ags_file_util_read_object ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at gobject:
+
+
+<!-- ##### FUNCTION ags_file_util_read_parameter ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at id:
+ at parameter:
+ at n_params:
+ at xpath:
+
+
+<!-- ##### FUNCTION ags_file_util_read_value ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at id:
+ at value:
+ at xpath:
+
+
+<!-- ##### FUNCTION ags_file_util_write_dependency ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at id:
+ at name:
+ at xpath:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_util_write_history ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at history:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_util_write_object ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at gobject:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_util_write_parameter ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at id:
+ at parameter:
+ at n_params:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_util_write_value ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at id:
+ at value:
+ at pointer_type:
+ at arr_length:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_embedded_audio ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at embedded_audio:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_embedded_audio_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at embedded_audio:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_file_link ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at file_link:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_file_write_file_link_list ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at file_link:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_value_factory.sgml b/doc/reference/ags/tmpl/ags_file_value_factory.sgml
new file mode 100644
index 0000000..df261b4
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_value_factory.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileValueFactory
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFileValueFactory ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### STRUCT AgsFileValueFactoryClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_file_value_factory_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_file_write.sgml b/doc/reference/ags/tmpl/ags_file_write.sgml
new file mode 100644
index 0000000..80558e8
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_file_write.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsFileWrite
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFileWrite ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### STRUCT AgsFileWriteClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_file_write_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_free_selection.sgml b/doc/reference/ags/tmpl/ags_free_selection.sgml
new file mode 100644
index 0000000..c31191a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_free_selection.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsFreeSelection
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsFreeSelection ##### -->
+<para>
+
+</para>
+
+ at task:
+ at notation:
+
+<!-- ##### STRUCT AgsFreeSelectionClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_free_selection_new ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_garbage_collector.sgml b/doc/reference/ags/tmpl/ags_garbage_collector.sgml
new file mode 100644
index 0000000..a3e3bde
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_garbage_collector.sgml
@@ -0,0 +1,86 @@
+<!-- ##### SECTION Title ##### -->
+AgsGarbageCollector
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsGarbageCollector ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at devout:
+ at list:
+ at stopped:
+ at start:
+ at end:
+
+<!-- ##### STRUCT AgsGarbageCollectorClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsGarbageCollectorFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_GARBAGE_COLLECTOR_RUN:
+ at AGS_GARBAGE_COLLECTOR_CANCEL_RUN:
+
+<!-- ##### FUNCTION ags_garbage_collector_add ##### -->
+<para>
+
+</para>
+
+ at garbage_collector:
+ at recycling:
+
+
+<!-- ##### FUNCTION ags_garbage_collector_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_garbage_collector_remove ##### -->
+<para>
+
+</para>
+
+ at garbage_collector:
+ at recycling:
+
+
+<!-- ##### FUNCTION ags_garbage_collector_run ##### -->
+<para>
+
+</para>
+
+ at garbage_collector:
+
+
diff --git a/doc/reference/ags/tmpl/ags_generic_preferences.sgml b/doc/reference/ags/tmpl/ags_generic_preferences.sgml
new file mode 100644
index 0000000..c02b7ba
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_generic_preferences.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsGenericPreferences
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsGenericPreferences ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at audio_output_module:
+
+<!-- ##### STRUCT AgsGenericPreferencesClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_generic_preferences_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_gui_task_thread.sgml b/doc/reference/ags/tmpl/ags_gui_task_thread.sgml
new file mode 100644
index 0000000..ba1636a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_gui_task_thread.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsGuiTaskThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsGuiTaskThread ##### -->
+<para>
+
+</para>
+
+ at task_thread:
+
+<!-- ##### STRUCT AgsGuiTaskThreadClass ##### -->
+<para>
+
+</para>
+
+ at task_thread:
+
+<!-- ##### FUNCTION ags_gui_task_thread_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_gui_thread.sgml b/doc/reference/ags/tmpl/ags_gui_thread.sgml
new file mode 100644
index 0000000..d836e39
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_gui_thread.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsGuiThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_GUI_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsGuiThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at mutex:
+ at cond:
+ at gui_task_thread:
+
+<!-- ##### STRUCT AgsGuiThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_gui_thread_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_hindicator.sgml b/doc/reference/ags/tmpl/ags_hindicator.sgml
new file mode 100644
index 0000000..6d70576
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_hindicator.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsHIndicator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsHIndicator ##### -->
+<para>
+
+</para>
+
+ at indicator:
+
+<!-- ##### STRUCT AgsHIndicatorClass ##### -->
+<para>
+
+</para>
+
+ at indicator:
+
+<!-- ##### FUNCTION ags_hindicator_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_history.sgml b/doc/reference/ags/tmpl/ags_history.sgml
new file mode 100644
index 0000000..5c38a56
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_history.sgml
@@ -0,0 +1,53 @@
+<!-- ##### SECTION Title ##### -->
+AgsHistory
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsHistory ##### -->
+<para>
+
+</para>
+
+ at gobject:
+ at task:
+
+<!-- ##### STRUCT AgsHistoryAppend ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsHistoryClass ##### -->
+<para>
+
+</para>
+
+ at gobject:
+
+<!-- ##### FUNCTION ags_history_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_htimebar.sgml b/doc/reference/ags/tmpl/ags_htimebar.sgml
new file mode 100644
index 0000000..a892e63
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_htimebar.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsHTimebar
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsHTimebar ##### -->
+<para>
+
+</para>
+
+ at range:
+
+<!-- ##### STRUCT AgsHTimebarClass ##### -->
+<para>
+
+</para>
+
+ at timebar:
+
+<!-- ##### FUNCTION ags_htimebar_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_id_generator.sgml b/doc/reference/ags/tmpl/ags_id_generator.sgml
new file mode 100644
index 0000000..79f734e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_id_generator.sgml
@@ -0,0 +1,32 @@
+<!-- ##### SECTION Title ##### -->
+ags_id_generator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_id_generator_create_uuid ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_indicator.sgml b/doc/reference/ags/tmpl/ags_indicator.sgml
new file mode 100644
index 0000000..d506470
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_indicator.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsIndicator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsIndicator ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at adjustment:
+
+<!-- ##### STRUCT AgsIndicatorClass ##### -->
+<para>
+
+</para>
+
+ at widget:
+
+<!-- ##### FUNCTION ags_indicator_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_init_audio.sgml b/doc/reference/ags/tmpl/ags_init_audio.sgml
new file mode 100644
index 0000000..ce170f7
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_init_audio.sgml
@@ -0,0 +1,54 @@
+<!-- ##### SECTION Title ##### -->
+AgsInitAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsInitAudio ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio:
+ at playback:
+ at sequencer:
+ at notation:
+
+<!-- ##### STRUCT AgsInitAudioClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_init_audio_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at playback:
+ at sequencer:
+ at notation:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_init_channel.sgml b/doc/reference/ags/tmpl/ags_init_channel.sgml
new file mode 100644
index 0000000..8ba7937
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_init_channel.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsInitChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsInitChannel ##### -->
+<para>
+
+</para>
+
+ at task:
+ at channel:
+ at play_pad:
+ at playback:
+ at sequencer:
+ at notation:
+
+<!-- ##### STRUCT AgsInitChannelClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_init_channel_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at play_pad:
+ at playback:
+ at sequencer:
+ at notation:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_inline_player.sgml b/doc/reference/ags/tmpl/ags_inline_player.sgml
new file mode 100644
index 0000000..6d88ccd
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_inline_player.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsInlinePlayer
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsInlinePlayer ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at playable:
+ at play:
+ at position:
+ at volume:
+
+<!-- ##### STRUCT AgsInlinePlayerClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_inline_player_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_inline_player_callbacks.sgml b/doc/reference/ags/tmpl/ags_inline_player_callbacks.sgml
new file mode 100644
index 0000000..32ce928
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_inline_player_callbacks.sgml
@@ -0,0 +1,24 @@
+<!-- ##### SECTION Title ##### -->
+ags_inline_player_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
diff --git a/doc/reference/ags/tmpl/ags_input.sgml b/doc/reference/ags/tmpl/ags_input.sgml
new file mode 100644
index 0000000..7700455
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_input.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsInput
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsInput ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at file_link:
+
+<!-- ##### STRUCT AgsInputClass ##### -->
+<para>
+
+</para>
+
+ at channel:
+
+<!-- ##### FUNCTION ags_input_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ipatch.sgml b/doc/reference/ags/tmpl/ags_ipatch.sgml
new file mode 100644
index 0000000..9a24b48
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ipatch.sgml
@@ -0,0 +1,89 @@
+<!-- ##### SECTION Title ##### -->
+AgsIpatch
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_IPATCH_DEFAULT_CHANNELS ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_IPATCH_READ ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_IPATCH_WRITE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsIpatch ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at devout:
+ at audio_signal:
+ at file:
+ at filename:
+ at mode:
+ at handle:
+ at error:
+ at base:
+ at reader:
+ at samples:
+ at iter:
+ at nth_level:
+
+<!-- ##### STRUCT AgsIpatchClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsIpatchFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_IPATCH_DLS2:
+ at AGS_IPATCH_SF2:
+ at AGS_IPATCH_GIG:
+
+<!-- ##### FUNCTION ags_ipatch_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ipatch_sf2_reader.sgml b/doc/reference/ags/tmpl/ags_ipatch_sf2_reader.sgml
new file mode 100644
index 0000000..9450180
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ipatch_sf2_reader.sgml
@@ -0,0 +1,66 @@
+<!-- ##### SECTION Title ##### -->
+AgsIpatchSF2Reader
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsIpatchSF2Reader ##### -->
+<para>
+
+</para>
+
+ at object:
+ at ipatch:
+ at selected:
+ at reader:
+ at sf2:
+ at bank:
+ at program:
+ at preset:
+ at instrument:
+ at sample:
+ at count:
+
+<!-- ##### STRUCT AgsIpatchSF2ReaderClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsSF2Levels ##### -->
+<para>
+
+</para>
+
+ at AGS_SF2_FILENAME:
+ at AGS_SF2_PHDR:
+ at AGS_SF2_IHDR:
+ at AGS_SF2_SHDR:
+
+<!-- ##### FUNCTION ags_ipatch_sf2_reader_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_iterator_thread.sgml b/doc/reference/ags/tmpl/ags_iterator_thread.sgml
new file mode 100644
index 0000000..50cee38
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_iterator_thread.sgml
@@ -0,0 +1,71 @@
+<!-- ##### SECTION Title ##### -->
+AgsIteratorThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsIteratorThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at flags:
+ at tic_mutex:
+ at tic_cond:
+ at recycling_thread:
+ at channel:
+ at recall_id:
+ at stage:
+
+<!-- ##### STRUCT AgsIteratorThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at children_ready:
+
+<!-- ##### ENUM AgsIteratorThreadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_ITERATOR_THREAD_DONE:
+ at AGS_ITERATOR_THREAD_WAIT:
+
+<!-- ##### FUNCTION ags_iterator_thread_children_ready ##### -->
+<para>
+
+</para>
+
+ at iterator_thread:
+ at current:
+
+
+<!-- ##### FUNCTION ags_iterator_thread_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ladspa_browser.sgml b/doc/reference/ags/tmpl/ags_ladspa_browser.sgml
new file mode 100644
index 0000000..445a23f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ladspa_browser.sgml
@@ -0,0 +1,89 @@
+<!-- ##### SECTION Title ##### -->
+AgsLadspaBrowser
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLadspaBrowser ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at parent:
+ at path:
+ at plugin:
+ at description:
+ at preview:
+ at apply:
+ at ok:
+ at cancel:
+
+<!-- ##### STRUCT AgsLadspaBrowserClass ##### -->
+<para>
+
+</para>
+
+ at dialog:
+
+<!-- ##### FUNCTION ags_ladspa_browser_combo_box_controls_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_get_plugin_effect ##### -->
+<para>
+
+</para>
+
+ at ladspa_browser:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_get_plugin_filename ##### -->
+<para>
+
+</para>
+
+ at ladspa_browser:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_new ##### -->
+<para>
+
+</para>
+
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_preview_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ladspa_browser_callbacks.sgml b/doc/reference/ags/tmpl/ags_ladspa_browser_callbacks.sgml
new file mode 100644
index 0000000..b505939
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ladspa_browser_callbacks.sgml
@@ -0,0 +1,71 @@
+<!-- ##### SECTION Title ##### -->
+ags_ladspa_browser_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_cancel_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at ladspa_browser:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_ok_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at ladspa_browser:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_plugin_effect_callback ##### -->
+<para>
+
+</para>
+
+ at combo_box:
+ at ladspa_browser:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_plugin_filename_callback ##### -->
+<para>
+
+</para>
+
+ at combo_box:
+ at ladspa_browser:
+
+
+<!-- ##### FUNCTION ags_ladspa_browser_preview_close_callback ##### -->
+<para>
+
+</para>
+
+ at preview:
+ at ladspa_browser:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ladspa_manager.sgml b/doc/reference/ags/tmpl/ags_ladspa_manager.sgml
new file mode 100644
index 0000000..a5a239e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ladspa_manager.sgml
@@ -0,0 +1,127 @@
+<!-- ##### SECTION Title ##### -->
+AgsLadspaManager
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_LADSPA_PLUGIN ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### STRUCT AgsLadspaManager ##### -->
+<para>
+
+</para>
+
+ at object:
+ at ladspa_plugin:
+
+<!-- ##### STRUCT AgsLadspaManagerClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### STRUCT AgsLadspaPlugin ##### -->
+<para>
+
+</para>
+
+ at flags:
+ at filename:
+ at plugin_so:
+
+<!-- ##### ENUM AgsLadspaPluginFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LADSPA_PLUGIN_IS_LOADED:
+
+<!-- ##### FUNCTION ags_ladspa_manager_find_ladspa_plugin ##### -->
+<para>
+
+</para>
+
+ at filename:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_manager_get_filenames ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_manager_get_instance ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_manager_load_default_directory ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_ladspa_manager_load_file ##### -->
+<para>
+
+</para>
+
+ at filename:
+
+
+<!-- ##### FUNCTION ags_ladspa_manager_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_plugin_alloc ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ladspa_plugin_free ##### -->
+<para>
+
+</para>
+
+ at ladspa_plugin:
+
+
diff --git a/doc/reference/ags/tmpl/ags_led.sgml b/doc/reference/ags/tmpl/ags_led.sgml
new file mode 100644
index 0000000..909244a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_led.sgml
@@ -0,0 +1,70 @@
+<!-- ##### SECTION Title ##### -->
+AgsLed
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLed ##### -->
+<para>
+
+</para>
+
+ at bin:
+ at flags:
+
+<!-- ##### STRUCT AgsLedClass ##### -->
+<para>
+
+</para>
+
+ at bin:
+
+<!-- ##### ENUM AgsLedFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LED_ACTIVE:
+
+<!-- ##### FUNCTION ags_led_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_led_set_active ##### -->
+<para>
+
+</para>
+
+ at led:
+
+
+<!-- ##### FUNCTION ags_led_unset_active ##### -->
+<para>
+
+</para>
+
+ at led:
+
+
diff --git a/doc/reference/ags/tmpl/ags_libao.sgml b/doc/reference/ags/tmpl/ags_libao.sgml
new file mode 100644
index 0000000..354d6c2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_libao.sgml
@@ -0,0 +1,299 @@
+<!-- ##### SECTION Title ##### -->
+AgsLibao
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_BPM ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_BUFFER_SIZE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_DELAY ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_SAMPLERATE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_TACT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_TACTRATE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_DEFAULT_TACT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_ERROR ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LIBAO_PLAY ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### MACRO AGS_LIBAO_PLAY_DOMAIN ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### STRUCT AgsLibao ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at dsp_channels:
+ at pcm_channels:
+ at bits:
+ at buffer_size:
+ at frequency:
+ at buffer:
+ at bpm:
+ at delay:
+ at attack:
+ at delay_counter:
+ at tic_counter:
+
+<!-- ##### STRUCT AgsLibaoClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at play_init:
+ at play:
+ at stop:
+ at tic:
+ at note_offset_changed:
+
+<!-- ##### ENUM AgsLibaoError ##### -->
+<para>
+
+</para>
+
+ at AGS_LIBAO_ERROR_LOCKED_SOUNDCARD:
+
+<!-- ##### ENUM AgsLibaoFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LIBAO_BUFFER0:
+ at AGS_LIBAO_BUFFER1:
+ at AGS_LIBAO_BUFFER2:
+ at AGS_LIBAO_BUFFER3:
+ at AGS_LIBAO_ATTACK_FIRST:
+ at AGS_LIBAO_PLAY:
+ at AGS_LIBAO_LIBAO:
+ at AGS_LIBAO_OSS:
+ at AGS_LIBAO_ALSA:
+ at AGS_LIBAO_SHUTDOWN:
+ at AGS_LIBAO_START_PLAY:
+ at AGS_LIBAO_NONBLOCKING:
+ at AGS_LIBAO_TIMING_SET_0:
+ at AGS_LIBAO_TIMING_SET_1:
+
+<!-- ##### STRUCT AgsLibaoPlay ##### -->
+<para>
+
+</para>
+
+ at flags:
+ at iterator_thread:
+ at source:
+ at audio_channel:
+ at recall_id:
+
+<!-- ##### STRUCT AgsLibaoPlayDomain ##### -->
+<para>
+
+</para>
+
+ at domain:
+ at playback:
+ at sequencer:
+ at notation:
+ at libao_play:
+
+<!-- ##### ENUM AgsLibaoPlayFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LIBAO_PLAY_DONE:
+ at AGS_LIBAO_PLAY_REMOVE:
+ at AGS_LIBAO_PLAY_CHANNEL:
+ at AGS_LIBAO_PLAY_PAD:
+ at AGS_LIBAO_PLAY_AUDIO:
+ at AGS_LIBAO_PLAY_PLAYBACK:
+ at AGS_LIBAO_PLAY_SEQUENCER:
+ at AGS_LIBAO_PLAY_NOTATION:
+ at AGS_LIBAO_PLAY_SUPER_THREADED:
+
+<!-- ##### ENUM AgsLibaoResolutionMode ##### -->
+<para>
+
+</para>
+
+ at AGS_LIBAO_RESOLUTION_8_BIT:
+ at AGS_LIBAO_RESOLUTION_16_BIT:
+ at AGS_LIBAO_RESOLUTION_24_BIT:
+ at AGS_LIBAO_RESOLUTION_32_BIT:
+ at AGS_LIBAO_RESOLUTION_64_BIT:
+
+<!-- ##### FUNCTION ags_libao_error_quark ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_libao_list_cards ##### -->
+<para>
+
+</para>
+
+ at card_id:
+ at card_name:
+
+
+<!-- ##### FUNCTION ags_libao_new ##### -->
+<para>
+
+</para>
+
+ at ags_main:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_libao_note_offset_changed ##### -->
+<para>
+
+</para>
+
+ at libao:
+ at note_offset:
+
+
+<!-- ##### FUNCTION ags_libao_pcm_info ##### -->
+<para>
+
+</para>
+
+ at card_id:
+ at channels_min:
+ at channels_max:
+ at rate_min:
+ at rate_max:
+ at buffer_size_min:
+ at buffer_size_max:
+ at error:
+
+
+<!-- ##### FUNCTION ags_libao_play_alloc ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_libao_play_domain_alloc ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_libao_play_domain_free ##### -->
+<para>
+
+</para>
+
+ at libao_play_domain:
+
+
+<!-- ##### FUNCTION ags_libao_play_free ##### -->
+<para>
+
+</para>
+
+ at libao_play:
+
+
+<!-- ##### FUNCTION ags_libao_tic ##### -->
+<para>
+
+</para>
+
+ at libao:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line.sgml b/doc/reference/ags/tmpl/ags_line.sgml
new file mode 100644
index 0000000..f7bf785
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line.sgml
@@ -0,0 +1,117 @@
+<!-- ##### SECTION Title ##### -->
+AgsLine
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_LINE_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LINE_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsLine ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at flags:
+ at version:
+ at build_id:
+ at name:
+ at channel:
+ at pad:
+ at label:
+ at group:
+ at expander:
+
+<!-- ##### STRUCT AgsLineClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at set_channel:
+ at group_changed:
+
+<!-- ##### ENUM AgsLineFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LINE_CONNECTED:
+ at AGS_LINE_GROUPED:
+ at AGS_LINE_MAPPED_RECALL:
+ at AGS_LINE_PREMAPPED_RECALL:
+
+<!-- ##### FUNCTION ags_line_find_next_grouped ##### -->
+<para>
+
+</para>
+
+ at line:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_find_port ##### -->
+<para>
+
+</para>
+
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_group_changed ##### -->
+<para>
+
+</para>
+
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_new ##### -->
+<para>
+
+</para>
+
+ at pad:
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_set_channel ##### -->
+<para>
+
+</para>
+
+ at line:
+ at channel:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line_callbacks.sgml b/doc/reference/ags/tmpl/ags_line_callbacks.sgml
new file mode 100644
index 0000000..7918612
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line_callbacks.sgml
@@ -0,0 +1,144 @@
+<!-- ##### SECTION Title ##### -->
+ags_line_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_line_channel_done_callback ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_copy_pattern_cancel ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_copy_pattern_done ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_group_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at line:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at line:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_peak_run_post_callback ##### -->
+<para>
+
+</para>
+
+ at peak_channel:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_play_channel_run_cancel ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_play_volume_cancel ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_play_volume_done ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_recall_volume_cancel ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_recall_volume_done ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_remove_recall_callback ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at line:
+
+
+<!-- ##### FUNCTION ags_line_volume_callback ##### -->
+<para>
+
+</para>
+
+ at range:
+ at line:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line_editor.sgml b/doc/reference/ags/tmpl/ags_line_editor.sgml
new file mode 100644
index 0000000..99bb0c9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line_editor.sgml
@@ -0,0 +1,75 @@
+<!-- ##### SECTION Title ##### -->
+AgsLineEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_LINE_EDITOR_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_LINE_EDITOR_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsLineEditor ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at version:
+ at build_id:
+ at channel:
+ at link_editor:
+ at member_editor:
+
+<!-- ##### STRUCT AgsLineEditorClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_line_editor_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_editor_set_channel ##### -->
+<para>
+
+</para>
+
+ at line_editor:
+ at channel:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_line_editor_callbacks.sgml
new file mode 100644
index 0000000..e686189
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line_editor_callbacks.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+ags_line_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_line_editor_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at line_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_editor_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at line_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_editor_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at line_editor:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line_member.sgml b/doc/reference/ags/tmpl/ags_line_member.sgml
new file mode 100644
index 0000000..2815144
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line_member.sgml
@@ -0,0 +1,109 @@
+<!-- ##### SECTION Title ##### -->
+AgsLineMember
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLineMember ##### -->
+<para>
+
+</para>
+
+ at frame:
+ at flags:
+ at widget_type:
+ at widget_label:
+ at plugin_name:
+ at specifier:
+ at control_port:
+ at port:
+ at port_data:
+ at active:
+ at recall_port:
+ at recall_port_data:
+ at recall_active:
+ at task_type:
+
+<!-- ##### STRUCT AgsLineMemberClass ##### -->
+<para>
+
+</para>
+
+ at frame:
+ at change_port:
+
+<!-- ##### ENUM AgsLineMemberFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LINE_MEMBER_DEFAULT_TEMPLATE:
+ at AGS_LINE_MEMBER_RESET_BY_ATOMIC:
+ at AGS_LINE_MEMBER_RESET_BY_TASK:
+ at AGS_LINE_MEMBER_APPLY_RECALL:
+ at AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE:
+ at AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE:
+ at AGS_LINE_MEMBER_CALLBACK_READ_BLOCK:
+ at AGS_LINE_MEMBER_CALLBACK_WRITE_BLOCK:
+
+<!-- ##### FUNCTION ags_line_member_change_port ##### -->
+<para>
+
+</para>
+
+ at line_member:
+ at port_data:
+
+
+<!-- ##### FUNCTION ags_line_member_find_port ##### -->
+<para>
+
+</para>
+
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_get_widget ##### -->
+<para>
+
+</para>
+
+ at line_member:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_member_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_member_set_label ##### -->
+<para>
+
+</para>
+
+ at line_member:
+ at label:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line_member_callbacks.sgml b/doc/reference/ags/tmpl/ags_line_member_callbacks.sgml
new file mode 100644
index 0000000..6318242
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line_member_callbacks.sgml
@@ -0,0 +1,108 @@
+<!-- ##### SECTION Title ##### -->
+ags_line_member_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_line_member_button_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_check_button_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at check_button:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_dial_changed_callback ##### -->
+<para>
+
+</para>
+
+ at dial:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_hscale_changed_callback ##### -->
+<para>
+
+</para>
+
+ at hscale:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at line_member:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_line_member_port_safe_write_callback ##### -->
+<para>
+
+</para>
+
+ at port:
+ at value:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_spin_button_changed_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_toggle_button_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at line_member:
+
+
+<!-- ##### FUNCTION ags_line_member_vscale_changed_callback ##### -->
+<para>
+
+</para>
+
+ at vscale:
+ at line_member:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line_member_editor.sgml b/doc/reference/ags/tmpl/ags_line_member_editor.sgml
new file mode 100644
index 0000000..d71ef32
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line_member_editor.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+AgsLineMemberEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLineMemberEditor ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at line_member:
+ at add:
+ at popup:
+ at remove:
+ at ladspa_browser:
+
+<!-- ##### STRUCT AgsLineMemberEditorClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_line_member_editor_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_line_member_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_line_member_editor_callbacks.sgml
new file mode 100644
index 0000000..396a609
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_line_member_editor_callbacks.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+ags_line_member_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_line_member_editor_add_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at line_member_editor:
+
+
+<!-- ##### FUNCTION ags_line_member_editor_ladspa_browser_response_callback ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at response:
+ at line_member_editor:
+
+
+<!-- ##### FUNCTION ags_line_member_editor_remove_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at line_member_editor:
+
+
diff --git a/doc/reference/ags/tmpl/ags_link_channel.sgml b/doc/reference/ags/tmpl/ags_link_channel.sgml
new file mode 100644
index 0000000..1beb108
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_link_channel.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+AgsLinkChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLinkChannel ##### -->
+<para>
+
+</para>
+
+ at task:
+ at channel:
+ at link:
+ at error:
+
+<!-- ##### STRUCT AgsLinkChannelClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_link_channel_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at link:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_link_collection_editor.sgml b/doc/reference/ags/tmpl/ags_link_collection_editor.sgml
new file mode 100644
index 0000000..8ec6d9b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_link_collection_editor.sgml
@@ -0,0 +1,75 @@
+<!-- ##### SECTION Title ##### -->
+AgsLinkCollectionEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLinkCollectionEditor ##### -->
+<para>
+
+</para>
+
+ at table:
+ at channel_type:
+ at link:
+ at first_line:
+ at first_link:
+ at count:
+
+<!-- ##### STRUCT AgsLinkCollectionEditorClass ##### -->
+<para>
+
+</para>
+
+ at table:
+
+<!-- ##### FUNCTION ags_link_collection_editor_check_count ##### -->
+<para>
+
+</para>
+
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_check_first_line ##### -->
+<para>
+
+</para>
+
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_check_first_link ##### -->
+<para>
+
+</para>
+
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_link_collection_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_link_collection_editor_callbacks.sgml
new file mode 100644
index 0000000..8505ad1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_link_collection_editor_callbacks.sgml
@@ -0,0 +1,71 @@
+<!-- ##### SECTION Title ##### -->
+ags_link_collection_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_count_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_first_line_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_first_link_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_link_callback ##### -->
+<para>
+
+</para>
+
+ at combo:
+ at link_collection_editor:
+
+
+<!-- ##### FUNCTION ags_link_collection_editor_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at link_collection_editor:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_link_editor.sgml b/doc/reference/ags/tmpl/ags_link_editor.sgml
new file mode 100644
index 0000000..d01ad0a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_link_editor.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsLinkEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLinkEditor ##### -->
+<para>
+
+</para>
+
+ at hbox:
+ at flags:
+ at combo:
+ at spin_button:
+ at audio_file:
+ at file_chooser:
+
+<!-- ##### STRUCT AgsLinkEditorClass ##### -->
+<para>
+
+</para>
+
+ at hbox:
+
+<!-- ##### ENUM AgsLinkEditorFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LINK_EDITOR_FILE_CHOOSER_PLAY_DONE:
+
+<!-- ##### FUNCTION ags_link_editor_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_link_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_link_editor_callbacks.sgml
new file mode 100644
index 0000000..5ddc320
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_link_editor_callbacks.sgml
@@ -0,0 +1,64 @@
+<!-- ##### SECTION Title ##### -->
+ags_link_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_link_editor_combo_callback ##### -->
+<para>
+
+</para>
+
+ at combo:
+ at link_editor:
+
+
+<!-- ##### FUNCTION ags_link_editor_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at link_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_link_editor_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at link_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_link_editor_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at link_editor:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_list.sgml b/doc/reference/ags/tmpl/ags_list.sgml
new file mode 100644
index 0000000..6f674f9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_list.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+ags_list
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_list_duplicate_list ##### -->
+<para>
+
+</para>
+
+ at entry:
+ at target:
+
+
+<!-- ##### FUNCTION ags_list_free_and_free_link ##### -->
+<para>
+
+</para>
+
+ at list:
+
+
+<!-- ##### FUNCTION ags_list_free_and_unref_link ##### -->
+<para>
+
+</para>
+
+ at list:
+
+
diff --git a/doc/reference/ags/tmpl/ags_listing_editor.sgml b/doc/reference/ags/tmpl/ags_listing_editor.sgml
new file mode 100644
index 0000000..c4c9db5
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_listing_editor.sgml
@@ -0,0 +1,60 @@
+<!-- ##### SECTION Title ##### -->
+AgsListingEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsListingEditor ##### -->
+<para>
+
+</para>
+
+ at property_listing_editor:
+ at channel_type:
+ at child:
+
+<!-- ##### STRUCT AgsListingEditorClass ##### -->
+<para>
+
+</para>
+
+ at property_listing_editor:
+
+<!-- ##### FUNCTION ags_listing_editor_add_children ##### -->
+<para>
+
+</para>
+
+ at listing_editor:
+ at audio:
+ at nth_channel:
+ at connect:
+
+
+<!-- ##### FUNCTION ags_listing_editor_new ##### -->
+<para>
+
+</para>
+
+ at channel_type:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_listing_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_listing_editor_callbacks.sgml
new file mode 100644
index 0000000..3faa323
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_listing_editor_callbacks.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+ags_listing_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_listing_editor_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at listing_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_listing_editor_set_pads_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at channel_type:
+ at pads:
+ at pads_old:
+ at listing_editor:
+
+
diff --git a/doc/reference/ags/tmpl/ags_log.sgml b/doc/reference/ags/tmpl/ags_log.sgml
new file mode 100644
index 0000000..7288679
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_log.sgml
@@ -0,0 +1,163 @@
+<!-- ##### SECTION Title ##### -->
+AgsLog
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLog ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at file:
+ at start_mutex:
+ at start_wait_cond:
+ at log_interval:
+ at free_float:
+ at timer_thread:
+ at timer_thread_attr:
+ at timer_mutex:
+ at timer_mutex_attr:
+ at timer_started:
+ at timer_active:
+ at timer_awaken:
+ at timer_wait_cond:
+ at broker_thread:
+ at broker_thread_attr:
+ at broker_mutex:
+ at broker_mutex_attr:
+ at broker_started:
+ at broker_active:
+ at broker_awaken:
+ at signaled_timer:
+ at signaled_log:
+ at signaled_queue:
+ at signaled_output:
+ at broker_wait_cond:
+ at output_formated_message:
+ at output_thread:
+ at output_thread_attr:
+ at output_mutex:
+ at output_mutex_attr:
+ at output_started:
+ at output_active:
+ at output_awaken:
+ at output_wait_cond:
+ at queue_formated_message:
+ at queue_message:
+ at queue_thread:
+ at queue_thread_attr:
+ at queue_mutex:
+ at queue_mutex_attr:
+ at queue_started:
+ at queue_active:
+ at queue_awaken:
+ at queue_wait_cond:
+ at log:
+ at active_logs:
+ at suspended_logs:
+ at log_wait_cond:
+
+<!-- ##### STRUCT AgsLogClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsLogFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_LOG_STARTING:
+ at AGS_LOG_RUNNING:
+ at AGS_LOG_TIMER_SLEEP:
+ at AGS_LOG_OUTPUT_SUSPEND:
+ at AGS_LOG_OUTPUT_WAITS_FOR_QUEUE:
+ at AGS_LOG_QUEUE_SUSPEND:
+ at AGS_LOG_SUSPEND:
+ at AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT:
+ at AGS_LOG_OMMIT_DEBUG:
+
+<!-- ##### STRUCT AgsLogFormatedMessage ##### -->
+<para>
+
+</para>
+
+ at length:
+ at message:
+
+<!-- ##### STRUCT AgsLogMessage ##### -->
+<para>
+
+</para>
+
+ at debug:
+ at time:
+ at format:
+ at args:
+
+<!-- ##### MACRO ags_default_log ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_log_debug ##### -->
+<para>
+
+</para>
+
+ at log:
+ at format:
+ at ...:
+
+
+<!-- ##### FUNCTION ags_log_message ##### -->
+<para>
+
+</para>
+
+ at log:
+ at format:
+ at ...:
+
+
+<!-- ##### FUNCTION ags_log_start_queue ##### -->
+<para>
+
+</para>
+
+ at log:
+
+
+<!-- ##### FUNCTION ags_log_stop_queue ##### -->
+<para>
+
+</para>
+
+ at log:
+
+
diff --git a/doc/reference/ags/tmpl/ags_loop_channel.sgml b/doc/reference/ags/tmpl/ags_loop_channel.sgml
new file mode 100644
index 0000000..ca8fb4f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_loop_channel.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsLoopChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLoopChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at delay_audio:
+ at sequencer_duration_changed_handler:
+
+<!-- ##### STRUCT AgsLoopChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_loop_channel_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_loop_channel_run.sgml b/doc/reference/ags/tmpl/ags_loop_channel_run.sgml
new file mode 100644
index 0000000..69cdf4d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_loop_channel_run.sgml
@@ -0,0 +1,53 @@
+<!-- ##### SECTION Title ##### -->
+AgsLoopChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLoopChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at count_beats_audio_run:
+ at start_handler:
+ at loop_handler:
+ at stop_handler:
+
+<!-- ##### STRUCT AgsLoopChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_loop_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at count_beats_audio_run:
+ at is_template:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine.sgml b/doc/reference/ags/tmpl/ags_machine.sgml
new file mode 100644
index 0000000..9f38b45
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine.sgml
@@ -0,0 +1,168 @@
+<!-- ##### SECTION Title ##### -->
+AgsMachine
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_MACHINE_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_MACHINE_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsMachine ##### -->
+<para>
+
+</para>
+
+ at handle_box:
+ at ags_main:
+ at name:
+ at version:
+ at build_id:
+ at flags:
+ at file_input_flags:
+ at audio:
+ at play:
+ at output_pad_type:
+ at output_line_type:
+ at output:
+ at input_pad_type:
+ at input_line_type:
+ at input:
+ at port:
+ at popup:
+ at properties:
+ at rename:
+
+<!-- ##### STRUCT AgsMachineClass ##### -->
+<para>
+
+</para>
+
+ at handle_box:
+ at add_default_recalls:
+
+<!-- ##### ENUM AgsMachineFileInputFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_MACHINE_ACCEPT_WAV:
+ at AGS_MACHINE_ACCEPT_OGG:
+ at AGS_MACHINE_ACCEPT_SOUNDFONT2:
+
+<!-- ##### ENUM AgsMachineFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_MACHINE_SOLO:
+ at AGS_MACHINE_IS_EFFECT:
+ at AGS_MACHINE_IS_SEQUENCER:
+ at AGS_MACHINE_IS_SYNTHESIZER:
+ at AGS_MACHINE_TAKES_FILE_INPUT:
+ at AGS_MACHINE_MAPPED_RECALL:
+ at AGS_MACHINE_PREMAPPED_RECALL:
+ at AGS_MACHINE_BLOCK_PLAY:
+ at AGS_MACHINE_BLOCK_STOP:
+
+<!-- ##### FUNCTION ags_machine_add_default_recalls ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_file_chooser_dialog_new ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_find_by_name ##### -->
+<para>
+
+</para>
+
+ at list:
+ at name:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_find_port ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_get_possible_links ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_open_files ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at filenames:
+ at overwrite_channels:
+ at create_channels:
+
+
+<!-- ##### FUNCTION ags_machine_set_run ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at run:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine_callbacks.sgml b/doc/reference/ags/tmpl/ags_machine_callbacks.sgml
new file mode 100644
index 0000000..a24ccd3
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine_callbacks.sgml
@@ -0,0 +1,174 @@
+<!-- ##### SECTION Title ##### -->
+ags_machine_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_machine_button_press_callback ##### -->
+<para>
+
+</para>
+
+ at handle_box:
+ at event:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_done_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_open_response_callback ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at response:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_play_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_popup_destroy_activate_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_popup_hide_activate_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_popup_move_down_activate_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_popup_move_up_activate_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_popup_properties_activate_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_popup_rename_activate_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_popup_show_activate_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_start_failure_callback ##### -->
+<para>
+
+</para>
+
+ at task:
+ at error:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_tact_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+ at machine:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine_editor.sgml b/doc/reference/ags/tmpl/ags_machine_editor.sgml
new file mode 100644
index 0000000..1688763
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine_editor.sgml
@@ -0,0 +1,138 @@
+<!-- ##### SECTION Title ##### -->
+AgsMachineEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_MACHINE_EDITOR_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsMachineEditor ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at flags:
+ at version:
+ at build_id:
+ at machine:
+ at notebook:
+ at output_scrolled_window:
+ at output_editor:
+ at input_scrolled_window:
+ at input_editor:
+ at output_link_editor_scrolled_window:
+ at output_link_editor:
+ at input_link_editor_scrolled_window:
+ at input_link_editor:
+ at resize_editor_scrolled_window:
+ at resize_editor:
+ at add:
+ at remove:
+ at apply:
+ at ok:
+ at cancel:
+
+<!-- ##### STRUCT AgsMachineEditorClass ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at set_machine:
+
+<!-- ##### ENUM AgsMachineEditorFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_MACHINE_EDITOR_CLOSING:
+
+<!-- ##### FUNCTION ags_machine_editor_add_children ##### -->
+<para>
+
+</para>
+
+ at machine_editor:
+
+
+<!-- ##### FUNCTION ags_machine_editor_add_input ##### -->
+<para>
+
+</para>
+
+ at machine_editor:
+
+
+<!-- ##### FUNCTION ags_machine_editor_add_output ##### -->
+<para>
+
+</para>
+
+ at machine_editor:
+
+
+<!-- ##### FUNCTION ags_machine_editor_new ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_remove_input ##### -->
+<para>
+
+</para>
+
+ at machine_editor:
+
+
+<!-- ##### FUNCTION ags_machine_editor_remove_output ##### -->
+<para>
+
+</para>
+
+ at machine_editor:
+
+
+<!-- ##### FUNCTION ags_machine_editor_set_machine ##### -->
+<para>
+
+</para>
+
+ at machine_editor:
+ at machine:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_machine_editor_callbacks.sgml
new file mode 100644
index 0000000..7d8a91b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine_editor_callbacks.sgml
@@ -0,0 +1,127 @@
+<!-- ##### SECTION Title ##### -->
+ags_machine_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_machine_editor_add_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_apply_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_back_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_cancel_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_ok_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_remove_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at machine_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_editor_switch_page_callback ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at page:
+ at page_num:
+ at machine_editor:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine_radio_button.sgml b/doc/reference/ags/tmpl/ags_machine_radio_button.sgml
new file mode 100644
index 0000000..256fc97
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine_radio_button.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMachineRadioButton
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMachineRadioButton ##### -->
+<para>
+
+</para>
+
+ at radio_button:
+ at machine:
+
+<!-- ##### STRUCT AgsMachineRadioButtonClass ##### -->
+<para>
+
+</para>
+
+ at radio_button:
+
+<!-- ##### FUNCTION ags_machine_radio_button_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine_selection.sgml b/doc/reference/ags/tmpl/ags_machine_selection.sgml
new file mode 100644
index 0000000..c59dcd1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine_selection.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsMachineSelection
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMachineSelection ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at window:
+ at machine:
+
+<!-- ##### STRUCT AgsMachineSelectionClass ##### -->
+<para>
+
+</para>
+
+ at dialog:
+
+<!-- ##### FUNCTION ags_machine_selection_new ##### -->
+<para>
+
+</para>
+
+ at window:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_selection_run ##### -->
+<para>
+
+</para>
+
+ at machine_selection:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine_selector.sgml b/doc/reference/ags/tmpl/ags_machine_selector.sgml
new file mode 100644
index 0000000..1a20c0b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine_selector.sgml
@@ -0,0 +1,66 @@
+<!-- ##### SECTION Title ##### -->
+AgsMachineSelector
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMachineSelector ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at popup:
+
+<!-- ##### STRUCT AgsMachineSelectorClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at changed:
+
+<!-- ##### FUNCTION ags_machine_selector_changed ##### -->
+<para>
+
+</para>
+
+ at machine_selector:
+ at machine:
+
+
+<!-- ##### FUNCTION ags_machine_selector_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_machine_selector_popup_new ##### -->
+<para>
+
+</para>
+
+ at machine_selector:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_machine_selector_callbacks.sgml b/doc/reference/ags/tmpl/ags_machine_selector_callbacks.sgml
new file mode 100644
index 0000000..77c5b53
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_machine_selector_callbacks.sgml
@@ -0,0 +1,78 @@
+<!-- ##### SECTION Title ##### -->
+ags_machine_selector_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_machine_selector_popup_add_index_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at machine_selector:
+
+
+<!-- ##### FUNCTION ags_machine_selector_popup_add_tab_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at machine_selector:
+
+
+<!-- ##### FUNCTION ags_machine_selector_popup_link_index_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at machine_selector:
+
+
+<!-- ##### FUNCTION ags_machine_selector_popup_remove_index_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at machine_selector:
+
+
+<!-- ##### FUNCTION ags_machine_selector_popup_remove_tab_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at machine_selector:
+
+
+<!-- ##### FUNCTION ags_machine_selector_radio_changed ##### -->
+<para>
+
+</para>
+
+ at radio_button:
+ at machine_selector:
+
+
diff --git a/doc/reference/ags/tmpl/ags_main_loop.sgml b/doc/reference/ags/tmpl/ags_main_loop.sgml
new file mode 100644
index 0000000..7f1a3f0
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_main_loop.sgml
@@ -0,0 +1,97 @@
+<!-- ##### SECTION Title ##### -->
+AgsMainLoop
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsMainLoop ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsMainLoopInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at set_async_queue:
+ at get_async_queue:
+ at set_tic:
+ at get_tic:
+ at set_last_sync:
+ at get_last_sync:
+
+<!-- ##### FUNCTION ags_main_loop_get_async_queue ##### -->
+<para>
+
+</para>
+
+ at main_loop:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_main_loop_get_last_sync ##### -->
+<para>
+
+</para>
+
+ at main_loop:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_main_loop_get_tic ##### -->
+<para>
+
+</para>
+
+ at main_loop:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_main_loop_set_async_queue ##### -->
+<para>
+
+</para>
+
+ at main_loop:
+ at async_queue:
+
+
+<!-- ##### FUNCTION ags_main_loop_set_last_sync ##### -->
+<para>
+
+</para>
+
+ at main_loop:
+ at last_sync:
+
+
+<!-- ##### FUNCTION ags_main_loop_set_tic ##### -->
+<para>
+
+</para>
+
+ at main_loop:
+ at tic:
+
+
diff --git a/doc/reference/ags/tmpl/ags_marshal.sgml b/doc/reference/ags/tmpl/ags_marshal.sgml
new file mode 100644
index 0000000..a40ad99
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_marshal.sgml
@@ -0,0 +1,284 @@
+<!-- ##### SECTION Title ##### -->
+ags_marshal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_OBJECT__VOID ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_ULONG__VOID ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__OBJECT_OBJECT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__OBJECT_UINT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__STRING_POINTER ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__UINT_DOUBLE ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__UINT_INT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__UINT_UINT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__UINT_UINT_UINT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__ULONG_UINT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
+<!-- ##### FUNCTION g_cclosure_user_marshal_VOID__ULONG_UINT_UINT ##### -->
+<para>
+
+</para>
+
+ at closure:
+ at return_value:
+ at n_param_values:
+ at param_values:
+ at invocation_hint:
+ at marshal_data:
+
+
diff --git a/doc/reference/ags/tmpl/ags_matrix.sgml b/doc/reference/ags/tmpl/ags_matrix.sgml
new file mode 100644
index 0000000..33f2c28
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_matrix.sgml
@@ -0,0 +1,155 @@
+<!-- ##### SECTION Title ##### -->
+AgsMatrix
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_MATRIX_CELL_HEIGHT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_MATRIX_CELL_WIDTH ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_MATRIX_OCTAVE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_MATRIX_PATTERN_CONTROLS ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsMatrix ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at flags:
+ at name:
+ at xml_type:
+ at mapped_output_pad:
+ at mapped_input_pad:
+ at table:
+ at run:
+ at selected:
+ at index:
+ at drawing_area:
+ at active_led:
+ at led:
+ at adjustment:
+ at length_spin:
+ at loop_button:
+
+<!-- ##### STRUCT AgsMatrixClass ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+<!-- ##### FUNCTION ags_matrix_draw_gutter ##### -->
+<para>
+
+</para>
+
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_draw_matrix ##### -->
+<para>
+
+</para>
+
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_highlight_gutter_point ##### -->
+<para>
+
+</para>
+
+ at matrix:
+ at j:
+ at i:
+
+
+<!-- ##### FUNCTION ags_matrix_input_map_recall ##### -->
+<para>
+
+</para>
+
+ at matrix:
+ at input_pad_start:
+
+
+<!-- ##### FUNCTION ags_matrix_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_matrix_output_map_recall ##### -->
+<para>
+
+</para>
+
+ at matrix:
+ at output_pad_start:
+
+
+<!-- ##### FUNCTION ags_matrix_redraw_gutter_point ##### -->
+<para>
+
+</para>
+
+ at matrix:
+ at channel:
+ at j:
+ at i:
+
+
+<!-- ##### FUNCTION ags_matrix_unpaint_gutter_point ##### -->
+<para>
+
+</para>
+
+ at matrix:
+ at j:
+ at i:
+
+
diff --git a/doc/reference/ags/tmpl/ags_matrix_callbacks.sgml b/doc/reference/ags/tmpl/ags_matrix_callbacks.sgml
new file mode 100644
index 0000000..32d61e8
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_matrix_callbacks.sgml
@@ -0,0 +1,121 @@
+<!-- ##### SECTION Title ##### -->
+ags_matrix_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_matrix_adjustment_value_changed_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_bpm_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_done_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_drawing_area_button_press_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at matrix:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_matrix_drawing_area_expose_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at matrix:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_matrix_index_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_length_spin_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_loop_button_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at matrix:
+
+
+<!-- ##### FUNCTION ags_matrix_tact_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_id:
+ at matrix:
+
+
diff --git a/doc/reference/ags/tmpl/ags_menu.sgml b/doc/reference/ags/tmpl/ags_menu.sgml
new file mode 100644
index 0000000..e0e6326
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_menu.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMenu
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMenu ##### -->
+<para>
+
+</para>
+
+ at window:
+ at table:
+
+<!-- ##### STRUCT AgsMenuClass ##### -->
+<para>
+
+</para>
+
+ at window:
+
+<!-- ##### FUNCTION ags_menu_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_menu_bar.sgml b/doc/reference/ags/tmpl/ags_menu_bar.sgml
new file mode 100644
index 0000000..36ae554
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_menu_bar.sgml
@@ -0,0 +1,82 @@
+<!-- ##### SECTION Title ##### -->
+AgsMenuBar
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMenuBar ##### -->
+<para>
+
+</para>
+
+ at menu_bar:
+ at file:
+ at edit:
+ at add:
+ at help:
+
+<!-- ##### STRUCT AgsMenuBarClass ##### -->
+<para>
+
+</para>
+
+ at menu_bar:
+
+<!-- ##### FUNCTION ags_menu_bar_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_tact_combo_box_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_tact_menu_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_zoom_combo_box_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_zoom_menu_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_menu_bar_callbacks.sgml b/doc/reference/ags/tmpl/ags_menu_bar_callbacks.sgml
new file mode 100644
index 0000000..93b4d7a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_menu_bar_callbacks.sgml
@@ -0,0 +1,178 @@
+<!-- ##### SECTION Title ##### -->
+ags_menu_bar_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_menu_bar_about_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_add_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_add_drum_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_add_ffplayer_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_add_matrix_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_add_mixer_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_add_panel_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_add_synth_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at menu_bar:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_menu_bar_export_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_open_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_preferences_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_quit_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_remove_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_save_as_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_save_callback ##### -->
+<para>
+
+</para>
+
+ at menu_item:
+ at menu_bar:
+
+
+<!-- ##### FUNCTION ags_menu_bar_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at menu_bar:
+
+
diff --git a/doc/reference/ags/tmpl/ags_menu_item.sgml b/doc/reference/ags/tmpl/ags_menu_item.sgml
new file mode 100644
index 0000000..d197e62
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_menu_item.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsMenuItem
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMenuItem ##### -->
+<para>
+
+</para>
+
+ at table:
+
+<!-- ##### STRUCT AgsMenuItemClass ##### -->
+<para>
+
+</para>
+
+ at table:
+
+<!-- ##### FUNCTION ags_menu_item_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_meter.sgml b/doc/reference/ags/tmpl/ags_meter.sgml
new file mode 100644
index 0000000..931e34f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_meter.sgml
@@ -0,0 +1,62 @@
+<!-- ##### SECTION Title ##### -->
+AgsMeter
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMeter ##### -->
+<para>
+
+</para>
+
+ at drawing_area:
+
+<!-- ##### STRUCT AgsMeterClass ##### -->
+<para>
+
+</para>
+
+ at drawing_area:
+
+<!-- ##### FUNCTION ags_meter_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_meter_paint ##### -->
+<para>
+
+</para>
+
+ at meter:
+
+
+<!-- ##### FUNCTION ags_meter_sound_string ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_meter_callbacks.sgml b/doc/reference/ags/tmpl/ags_meter_callbacks.sgml
new file mode 100644
index 0000000..1d17d9c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_meter_callbacks.sgml
@@ -0,0 +1,65 @@
+<!-- ##### SECTION Title ##### -->
+ags_meter_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_meter_configure_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at meter:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_meter_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at meter:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_meter_expose_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at meter:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_meter_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at meter:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mixer.sgml b/doc/reference/ags/tmpl/ags_mixer.sgml
new file mode 100644
index 0000000..2b6b0b3
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mixer.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsMixer
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMixer ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at name:
+ at xml_type:
+ at input_pad:
+
+<!-- ##### STRUCT AgsMixerClass ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+<!-- ##### FUNCTION ags_mixer_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mixer_callbacks.sgml b/doc/reference/ags/tmpl/ags_mixer_callbacks.sgml
new file mode 100644
index 0000000..cd582df
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mixer_callbacks.sgml
@@ -0,0 +1,34 @@
+<!-- ##### SECTION Title ##### -->
+ags_mixer_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_mixer_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at mixer:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mixer_input_line.sgml b/doc/reference/ags/tmpl/ags_mixer_input_line.sgml
new file mode 100644
index 0000000..12413bb
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mixer_input_line.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+AgsMixerInputLine
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMixerInputLine ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### STRUCT AgsMixerInputLineClass ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### FUNCTION ags_mixer_input_line_map_recall ##### -->
+<para>
+
+</para>
+
+ at mixer_input_line:
+
+
+<!-- ##### FUNCTION ags_mixer_input_line_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mixer_input_pad.sgml b/doc/reference/ags/tmpl/ags_mixer_input_pad.sgml
new file mode 100644
index 0000000..015c83f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mixer_input_pad.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMixerInputPad
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMixerInputPad ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+<!-- ##### STRUCT AgsMixerInputPadClass ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+<!-- ##### FUNCTION ags_mixer_input_pad_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mutable.sgml b/doc/reference/ags/tmpl/ags_mutable.sgml
new file mode 100644
index 0000000..825aeb8
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mutable.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMutable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsMutable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsMutableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at set_muted:
+
+<!-- ##### FUNCTION ags_mutable_set_muted ##### -->
+<para>
+
+</para>
+
+ at mutable:
+ at muted:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mute_audio.sgml b/doc/reference/ags/tmpl/ags_mute_audio.sgml
new file mode 100644
index 0000000..35cf68e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mute_audio.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMuteAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMuteAudio ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at muted:
+
+<!-- ##### STRUCT AgsMuteAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+
+<!-- ##### FUNCTION ags_mute_audio_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mute_audio_signal.sgml b/doc/reference/ags/tmpl/ags_mute_audio_signal.sgml
new file mode 100644
index 0000000..36b20c9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mute_audio_signal.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMuteAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMuteAudioSignal ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### STRUCT AgsMuteAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### FUNCTION ags_mute_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mute_channel.sgml b/doc/reference/ags/tmpl/ags_mute_channel.sgml
new file mode 100644
index 0000000..806d41b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mute_channel.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMuteChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMuteChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at muted:
+
+<!-- ##### STRUCT AgsMuteChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_mute_channel_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mute_channel_run.sgml b/doc/reference/ags/tmpl/ags_mute_channel_run.sgml
new file mode 100644
index 0000000..1f420e5
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mute_channel_run.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMuteChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMuteChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### STRUCT AgsMuteChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_mute_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_mute_recycling.sgml b/doc/reference/ags/tmpl/ags_mute_recycling.sgml
new file mode 100644
index 0000000..9d40f26
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_mute_recycling.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsMuteRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsMuteRecycling ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### STRUCT AgsMuteRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### FUNCTION ags_mute_recycling_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_navigation.sgml b/doc/reference/ags/tmpl/ags_navigation.sgml
new file mode 100644
index 0000000..bbf1c14
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_navigation.sgml
@@ -0,0 +1,130 @@
+<!-- ##### SECTION Title ##### -->
+AgsNavigation
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_NAVIGATION_DEFAULT_TACT_STEP ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NAVIGATION_REWIND_STEPS ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NAVIGATION_SEEK_STEPS ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsNavigation ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at flags:
+ at devout:
+ at expander:
+ at bpm:
+ at current_bpm:
+ at rewind:
+ at previous:
+ at play:
+ at stop:
+ at next:
+ at forward:
+ at loop:
+ at position_time:
+ at position_tact:
+ at duration_time:
+ at duration_tact:
+ at loop_left_tact:
+ at loop_right_tact:
+ at scroll:
+
+<!-- ##### STRUCT AgsNavigationClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at change_position:
+
+<!-- ##### ENUM AgsNavigationFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_NAVIGATION_BLOCK_TACT:
+
+<!-- ##### FUNCTION ags_navigation_change_position ##### -->
+<para>
+
+</para>
+
+ at navigation:
+ at tact:
+
+
+<!-- ##### FUNCTION ags_navigation_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_navigation_set_seeking_sensitive ##### -->
+<para>
+
+</para>
+
+ at navigation:
+ at enabled:
+
+
+<!-- ##### FUNCTION ags_navigation_tact_to_time_string ##### -->
+<para>
+
+</para>
+
+ at tact:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_navigation_update_time_string ##### -->
+<para>
+
+</para>
+
+ at tact:
+ at time_string:
+
+
diff --git a/doc/reference/ags/tmpl/ags_navigation_callbacks.sgml b/doc/reference/ags/tmpl/ags_navigation_callbacks.sgml
new file mode 100644
index 0000000..f0582a6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_navigation_callbacks.sgml
@@ -0,0 +1,188 @@
+<!-- ##### SECTION Title ##### -->
+ags_navigation_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_navigation_bpm_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at data:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_navigation_duration_tact_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_expander_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_forward_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_loop_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_loop_left_tact_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_loop_right_tact_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_next_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at data:
+
+
+<!-- ##### FUNCTION ags_navigation_play_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_position_tact_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_prev_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_raster_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_rewind_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at data:
+
+
+<!-- ##### FUNCTION ags_navigation_stop_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at navigation:
+
+
+<!-- ##### FUNCTION ags_navigation_tic_callback ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at navigation:
+
+
diff --git a/doc/reference/ags/tmpl/ags_notation.sgml b/doc/reference/ags/tmpl/ags_notation.sgml
new file mode 100644
index 0000000..cb704f1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_notation.sgml
@@ -0,0 +1,292 @@
+<!-- ##### SECTION Title ##### -->
+AgsNotation
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_NOTATION_DEFAULT_BPM ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NOTATION_DEFAULT_DURATION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NOTATION_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NOTATION_DEFAULT_LENGTH ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NOTATION_MAXIMUM_NOTE_LENGTH ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NOTATION_MINIMUM_NOTE_LENGTH ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_NOTATION_TICS_PER_BEAT ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsNotation ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at timestamp:
+ at audio_channel:
+ at audio:
+ at key:
+ at base_frequency:
+ at tact:
+ at bpm:
+ at maximum_note_length:
+ at notes:
+ at start_loop:
+ at end_loop:
+ at offset:
+ at selection:
+ at port:
+ at current_notes:
+ at next_notes:
+
+<!-- ##### STRUCT AgsNotationClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsNotationFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_NOTATION_STICKY:
+ at AGS_NOTATION_INDICATED_LENGTH:
+
+<!-- ##### FUNCTION ags_notation_add_note ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at note:
+ at use_selection_list:
+
+
+<!-- ##### FUNCTION ags_notation_add_point_to_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x:
+ at y:
+ at replace_current_selection:
+
+
+<!-- ##### FUNCTION ags_notation_add_region_to_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x0:
+ at y0:
+ at x1:
+ at y1:
+ at replace_current_selection:
+
+
+<!-- ##### FUNCTION ags_notation_copy_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_cut_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_find_near_timestamp ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at audio_channel:
+ at timestamp:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_find_point ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x:
+ at y:
+ at use_selection_list:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_find_region ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x0:
+ at y0:
+ at x1:
+ at y1:
+ at use_selection_list:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_free_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+
+
+<!-- ##### FUNCTION ags_notation_get_current ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_get_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_insert_from_clipboard ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at content:
+ at reset_x_offset:
+ at x_offset:
+ at reset_y_offset:
+ at y_offset:
+
+
+<!-- ##### FUNCTION ags_notation_is_note_selected ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at note:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_new ##### -->
+<para>
+
+</para>
+
+ at audio_channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_remove_note_at_position ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x:
+ at y:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notation_remove_point_from_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x:
+ at y:
+
+
+<!-- ##### FUNCTION ags_notation_remove_region_from_selection ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x0:
+ at y0:
+ at x1:
+ at y1:
+
+
diff --git a/doc/reference/ags/tmpl/ags_note.sgml b/doc/reference/ags/tmpl/ags_note.sgml
new file mode 100644
index 0000000..66fdd16
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_note.sgml
@@ -0,0 +1,71 @@
+<!-- ##### SECTION Title ##### -->
+AgsNote
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsNote ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at x:
+ at y:
+ at name:
+ at frequency:
+
+<!-- ##### STRUCT AgsNoteClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsNoteFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_NOTE_GUI:
+ at AGS_NOTE_RUNTIME:
+ at AGS_NOTE_HUMAN_READABLE:
+ at AGS_NOTE_DEFAULT_LENGTH:
+ at AGS_NOTE_IS_SELECTED:
+
+<!-- ##### FUNCTION ags_note_duplicate ##### -->
+<para>
+
+</para>
+
+ at note:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_note_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_note_edit.sgml b/doc/reference/ags/tmpl/ags_note_edit.sgml
new file mode 100644
index 0000000..49864e2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_note_edit.sgml
@@ -0,0 +1,156 @@
+<!-- ##### SECTION Title ##### -->
+AgsNoteEdit
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_NOTE_EDIT_MAX_CONTROLS ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsNoteEdit ##### -->
+<para>
+
+</para>
+
+ at table:
+ at flags:
+ at drawing_area:
+ at width:
+ at height:
+ at map_width:
+ at map_height:
+ at control_height:
+ at control_margin_y:
+ at control_width:
+ at y0:
+ at y1:
+ at nth_y:
+ at stop_y:
+ at selected_x:
+ at selected_y:
+ at vscrollbar:
+ at hscrollbar:
+
+<!-- ##### STRUCT AgsNoteEditClass ##### -->
+<para>
+
+</para>
+
+ at table:
+
+<!-- ##### ENUM AgsNoteEditFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_NOTE_EDIT_RESETING_VERTICALLY:
+ at AGS_NOTE_EDIT_RESETING_HORIZONTALLY:
+ at AGS_NOTE_EDIT_POSITION_CURSOR:
+ at AGS_NOTE_EDIT_ADDING_NOTE:
+ at AGS_NOTE_EDIT_DELETING_NOTE:
+ at AGS_NOTE_EDIT_SELECTING_NOTES:
+
+<!-- ##### ENUM AgsNoteEditResetFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_NOTE_EDIT_RESET_VSCROLLBAR:
+ at AGS_NOTE_EDIT_RESET_HSCROLLBAR:
+ at AGS_NOTE_EDIT_RESET_WIDTH:
+ at AGS_NOTE_EDIT_RESET_HEIGHT:
+
+<!-- ##### FUNCTION ags_note_edit_draw_notation ##### -->
+<para>
+
+</para>
+
+ at note_edit:
+ at cr:
+
+
+<!-- ##### FUNCTION ags_note_edit_draw_position ##### -->
+<para>
+
+</para>
+
+ at note_edit:
+ at cr:
+
+
+<!-- ##### FUNCTION ags_note_edit_draw_scroll ##### -->
+<para>
+
+</para>
+
+ at note_edit:
+ at cr:
+ at position:
+
+
+<!-- ##### FUNCTION ags_note_edit_draw_segment ##### -->
+<para>
+
+</para>
+
+ at note_edit:
+ at cr:
+
+
+<!-- ##### FUNCTION ags_note_edit_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_note_edit_reset_horizontally ##### -->
+<para>
+
+</para>
+
+ at note_edit:
+ at flags:
+
+
+<!-- ##### FUNCTION ags_note_edit_reset_vertically ##### -->
+<para>
+
+</para>
+
+ at note_edit:
+ at flags:
+
+
+<!-- ##### FUNCTION ags_note_edit_set_map_height ##### -->
+<para>
+
+</para>
+
+ at note_edit:
+ at map_height:
+
+
diff --git a/doc/reference/ags/tmpl/ags_note_edit_callbacks.sgml b/doc/reference/ags/tmpl/ags_note_edit_callbacks.sgml
new file mode 100644
index 0000000..45ee077
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_note_edit_callbacks.sgml
@@ -0,0 +1,97 @@
+<!-- ##### SECTION Title ##### -->
+ags_note_edit_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_note_edit_drawing_area_button_press_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at note_edit:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_note_edit_drawing_area_button_release_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at note_edit:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_note_edit_drawing_area_configure_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at note_edit:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_note_edit_drawing_area_expose_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at note_edit:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_note_edit_drawing_area_motion_notify_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at note_edit:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_note_edit_hscrollbar_value_changed ##### -->
+<para>
+
+</para>
+
+ at range:
+ at note_edit:
+
+
+<!-- ##### FUNCTION ags_note_edit_vscrollbar_value_changed ##### -->
+<para>
+
+</para>
+
+ at range:
+ at note_edit:
+
+
diff --git a/doc/reference/ags/tmpl/ags_notebook.sgml b/doc/reference/ags/tmpl/ags_notebook.sgml
new file mode 100644
index 0000000..c6b4eef
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_notebook.sgml
@@ -0,0 +1,141 @@
+<!-- ##### SECTION Title ##### -->
+AgsNotebook
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_NOTEBOOK_TAB ##### -->
+<para>
+
+</para>
+
+ at x:
+
+
+<!-- ##### STRUCT AgsNotebook ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at flags:
+ at hbox:
+ at tabs:
+ at child:
+
+<!-- ##### STRUCT AgsNotebookClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### STRUCT AgsNotebookTab ##### -->
+<para>
+
+</para>
+
+ at flags:
+ at toggle:
+ at notation:
+
+<!-- ##### ENUM AgsNotebookTabFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_NOTEBOOK_TAB_VISIBLE:
+ at AGS_NOTEBOOK_TAB_MODE_NORMAL:
+ at AGS_NOTEBOOK_TAB_MODE_OVERLAY:
+
+<!-- ##### FUNCTION ags_notebook_add_child ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at child:
+
+
+<!-- ##### FUNCTION ags_notebook_add_tab ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notebook_insert_tab ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at position:
+
+
+<!-- ##### FUNCTION ags_notebook_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notebook_next_active_tab ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at position:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_notebook_remove_child ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at child:
+
+
+<!-- ##### FUNCTION ags_notebook_remove_tab ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at nth:
+
+
+<!-- ##### FUNCTION ags_notebook_tab_index ##### -->
+<para>
+
+</para>
+
+ at notebook:
+ at notation:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_notebook_callbacks.sgml b/doc/reference/ags/tmpl/ags_notebook_callbacks.sgml
new file mode 100644
index 0000000..42e20bc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_notebook_callbacks.sgml
@@ -0,0 +1,34 @@
+<!-- ##### SECTION Title ##### -->
+ags_notebook_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_notebook_machine_changed_callback ##### -->
+<para>
+
+</para>
+
+ at editor:
+ at machine:
+ at notebook:
+
+
diff --git a/doc/reference/ags/tmpl/ags_open_file.sgml b/doc/reference/ags/tmpl/ags_open_file.sgml
new file mode 100644
index 0000000..d840899
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_open_file.sgml
@@ -0,0 +1,54 @@
+<!-- ##### SECTION Title ##### -->
+AgsOpenFile
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsOpenFile ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio:
+ at filenames:
+ at overwrite_channels:
+ at create_channels:
+
+<!-- ##### STRUCT AgsOpenFileClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_open_file_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at filenames:
+ at overwrite_channels:
+ at create_channels:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_open_single_file.sgml b/doc/reference/ags/tmpl/ags_open_single_file.sgml
new file mode 100644
index 0000000..75c8d37
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_open_single_file.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsOpenSingleFile
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsOpenSingleFile ##### -->
+<para>
+
+</para>
+
+ at task:
+ at channel:
+ at devout:
+ at filename:
+ at start_channel:
+ at audio_channels:
+
+<!-- ##### STRUCT AgsOpenSingleFileClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_open_single_file_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at devout:
+ at filename:
+ at start_channel:
+ at audio_channels:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_option_menu.sgml b/doc/reference/ags/tmpl/ags_option_menu.sgml
new file mode 100644
index 0000000..0427ae7
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_option_menu.sgml
@@ -0,0 +1,53 @@
+<!-- ##### SECTION Title ##### -->
+AgsOptionMenu
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsOptionMenu ##### -->
+<para>
+
+</para>
+
+ at hbox:
+ at button:
+ at table:
+ at menu:
+ at active_item:
+ at focus:
+
+<!-- ##### STRUCT AgsOptionMenuClass ##### -->
+<para>
+
+</para>
+
+ at hbox:
+ at changed:
+ at focus_changed:
+
+<!-- ##### FUNCTION ags_option_menu_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_oscillator.sgml b/doc/reference/ags/tmpl/ags_oscillator.sgml
new file mode 100644
index 0000000..61271e3
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_oscillator.sgml
@@ -0,0 +1,79 @@
+<!-- ##### SECTION Title ##### -->
+AgsOscillator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsOscillator ##### -->
+<para>
+
+</para>
+
+ at frame:
+ at wave:
+ at wave_handler:
+ at attack:
+ at attack_handler:
+ at frame_count:
+ at frame_count_handler:
+ at frequency:
+ at frequency_handler:
+ at phase:
+ at phase_handler:
+ at volume:
+ at volume_handler:
+
+<!-- ##### STRUCT AgsOscillatorClass ##### -->
+<para>
+
+</para>
+
+ at frame:
+
+<!-- ##### FUNCTION ags_file_read_oscillator ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at oscillator:
+
+
+<!-- ##### FUNCTION ags_file_write_oscillator ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at oscillator:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_oscillator_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_oscillator_callbacks.sgml b/doc/reference/ags/tmpl/ags_oscillator_callbacks.sgml
new file mode 100644
index 0000000..46dda54
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_oscillator_callbacks.sgml
@@ -0,0 +1,78 @@
+<!-- ##### SECTION Title ##### -->
+ags_oscillator_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_oscillator_attack_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at oscillator:
+
+
+<!-- ##### FUNCTION ags_oscillator_frame_count_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at oscillator:
+
+
+<!-- ##### FUNCTION ags_oscillator_frequency_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at oscillator:
+
+
+<!-- ##### FUNCTION ags_oscillator_phase_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at oscillator:
+
+
+<!-- ##### FUNCTION ags_oscillator_volume_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at oscillator:
+
+
+<!-- ##### FUNCTION ags_oscillator_wave_callback ##### -->
+<para>
+
+</para>
+
+ at combo:
+ at oscillator:
+
+
diff --git a/doc/reference/ags/tmpl/ags_output.sgml b/doc/reference/ags/tmpl/ags_output.sgml
new file mode 100644
index 0000000..cbce9f6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_output.sgml
@@ -0,0 +1,65 @@
+<!-- ##### SECTION Title ##### -->
+AgsOutput
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsOutput ##### -->
+<para>
+
+</para>
+
+ at channel:
+
+<!-- ##### STRUCT AgsOutputClass ##### -->
+<para>
+
+</para>
+
+ at channel:
+
+<!-- ##### FUNCTION ags_output_find_first_input_recycling ##### -->
+<para>
+
+</para>
+
+ at output:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_output_find_last_input_recycling ##### -->
+<para>
+
+</para>
+
+ at output:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_output_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_packable.sgml b/doc/reference/ags/tmpl/ags_packable.sgml
new file mode 100644
index 0000000..5dbc7d4
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_packable.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsPackable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsPackable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsPackableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at pack:
+ at unpack:
+
+<!-- ##### FUNCTION ags_packable_pack ##### -->
+<para>
+
+</para>
+
+ at packable:
+ at container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_packable_unpack ##### -->
+<para>
+
+</para>
+
+ at packable:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_pad.sgml b/doc/reference/ags/tmpl/ags_pad.sgml
new file mode 100644
index 0000000..5289be6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_pad.sgml
@@ -0,0 +1,112 @@
+<!-- ##### SECTION Title ##### -->
+AgsPad
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_PAD_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_PAD_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsPad ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at flags:
+ at name:
+ at version:
+ at build_id:
+ at channel:
+ at cols:
+ at expander_set:
+ at group:
+ at mute:
+ at solo:
+ at play:
+
+<!-- ##### STRUCT AgsPadClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at set_channel:
+ at resize_lines:
+
+<!-- ##### ENUM AgsPadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_PAD_CONNECTED:
+ at AGS_PAD_SHOW_GROUPING:
+ at AGS_PAD_GROUP_ALL:
+ at AGS_PAD_GROUP_LINE:
+
+<!-- ##### FUNCTION ags_pad_find_port ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+
+<!-- ##### FUNCTION ags_pad_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_resize_lines ##### -->
+<para>
+
+</para>
+
+ at pad:
+ at line_type:
+ at audio_channels:
+ at audio_channels_old:
+
+
+<!-- ##### FUNCTION ags_pad_set_channel ##### -->
+<para>
+
+</para>
+
+ at pad:
+ at channel:
+
+
diff --git a/doc/reference/ags/tmpl/ags_pad_callbacks.sgml b/doc/reference/ags/tmpl/ags_pad_callbacks.sgml
new file mode 100644
index 0000000..9c5f733
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_pad_callbacks.sgml
@@ -0,0 +1,95 @@
+<!-- ##### SECTION Title ##### -->
+ags_pad_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_pad_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_group_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_mute_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_option_changed_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at pad:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_solo_clicked_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at pad:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_pad_editor.sgml b/doc/reference/ags/tmpl/ags_pad_editor.sgml
new file mode 100644
index 0000000..850cbe0
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_pad_editor.sgml
@@ -0,0 +1,75 @@
+<!-- ##### SECTION Title ##### -->
+AgsPadEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_PAD_EDITOR_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_PAD_EDITOR_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsPadEditor ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at version:
+ at build_id:
+ at pad:
+ at line_editor_expander:
+ at line_editor:
+
+<!-- ##### STRUCT AgsPadEditorClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_pad_editor_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_editor_set_channel ##### -->
+<para>
+
+</para>
+
+ at pad_editor:
+ at channel:
+
+
diff --git a/doc/reference/ags/tmpl/ags_pad_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_pad_editor_callbacks.sgml
new file mode 100644
index 0000000..a1efa75
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_pad_editor_callbacks.sgml
@@ -0,0 +1,66 @@
+<!-- ##### SECTION Title ##### -->
+ags_pad_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_pad_editor_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at pad_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_editor_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at pad_editor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pad_editor_set_audio_channels_callback ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at audio_channels:
+ at audio_channels_old:
+ at pad_editor:
+
+
+<!-- ##### FUNCTION ags_pad_editor_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at pad_editor:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_panel.sgml b/doc/reference/ags/tmpl/ags_panel.sgml
new file mode 100644
index 0000000..ea53407
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_panel.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsPanel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPanel ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at vbox:
+
+<!-- ##### STRUCT AgsPanelClass ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+<!-- ##### FUNCTION ags_panel_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_panel_callbacks.sgml b/doc/reference/ags/tmpl/ags_panel_callbacks.sgml
new file mode 100644
index 0000000..bfeb620
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_panel_callbacks.sgml
@@ -0,0 +1,34 @@
+<!-- ##### SECTION Title ##### -->
+ags_panel_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_panel_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at panel:
+
+
diff --git a/doc/reference/ags/tmpl/ags_panel_input_line.sgml b/doc/reference/ags/tmpl/ags_panel_input_line.sgml
new file mode 100644
index 0000000..42523c4
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_panel_input_line.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsPanelInputLine
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPanelInputLine ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### STRUCT AgsPanelInputLineClass ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### FUNCTION ags_panel_input_line_map_recall ##### -->
+<para>
+
+</para>
+
+ at panel_input_line:
+ at output_pad_start:
+
+
+<!-- ##### FUNCTION ags_panel_input_line_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_panel_input_pad.sgml b/doc/reference/ags/tmpl/ags_panel_input_pad.sgml
new file mode 100644
index 0000000..5f07dc1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_panel_input_pad.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsPanelInputPad
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPanelInputPad ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+<!-- ##### STRUCT AgsPanelInputPadClass ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+<!-- ##### FUNCTION ags_panel_input_pad_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_parameter.sgml b/doc/reference/ags/tmpl/ags_parameter.sgml
new file mode 100644
index 0000000..47de88f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_parameter.sgml
@@ -0,0 +1,36 @@
+<!-- ##### SECTION Title ##### -->
+ags_parameter
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_parameter_grow ##### -->
+<para>
+
+</para>
+
+ at type:
+ at params:
+ at n_params:
+ at ...:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_pattern.sgml b/doc/reference/ags/tmpl/ags_pattern.sgml
new file mode 100644
index 0000000..b2af143
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_pattern.sgml
@@ -0,0 +1,97 @@
+<!-- ##### SECTION Title ##### -->
+AgsPattern
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPattern ##### -->
+<para>
+
+</para>
+
+ at object:
+ at timestamp:
+ at dim:
+ at pattern:
+ at port:
+ at i:
+ at j:
+ at bit:
+
+<!-- ##### STRUCT AgsPatternClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_pattern_get_bit ##### -->
+<para>
+
+</para>
+
+ at pattern:
+ at i:
+ at j:
+ at bit:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pattern_get_by_timestamp ##### -->
+<para>
+
+</para>
+
+ at list:
+ at timestamp:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pattern_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_pattern_set_dim ##### -->
+<para>
+
+</para>
+
+ at pattern:
+ at dim0:
+ at dim1:
+ at lenght:
+
+
+<!-- ##### FUNCTION ags_pattern_toggle_bit ##### -->
+<para>
+
+</para>
+
+ at pattern:
+ at i:
+ at j:
+ at bit:
+
+
diff --git a/doc/reference/ags/tmpl/ags_peak_channel.sgml b/doc/reference/ags/tmpl/ags_peak_channel.sgml
new file mode 100644
index 0000000..f4a8d73
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_peak_channel.sgml
@@ -0,0 +1,57 @@
+<!-- ##### SECTION Title ##### -->
+AgsPeakChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPeakChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at peak:
+
+<!-- ##### STRUCT AgsPeakChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_peak_channel_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_peak_channel_retrieve_peak ##### -->
+<para>
+
+</para>
+
+ at peak_channel:
+ at is_play:
+
+
diff --git a/doc/reference/ags/tmpl/ags_peak_channel_run.sgml b/doc/reference/ags/tmpl/ags_peak_channel_run.sgml
new file mode 100644
index 0000000..0251566
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_peak_channel_run.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsPeakChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPeakChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### STRUCT AgsPeakChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_peak_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_performance_preferences.sgml b/doc/reference/ags/tmpl/ags_performance_preferences.sgml
new file mode 100644
index 0000000..43ac417
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_performance_preferences.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsPerformancePreferences
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPerformancePreferences ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at super_threaded:
+
+<!-- ##### STRUCT AgsPerformancePreferencesClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_performance_preferences_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_performance_preferences_callbacks.sgml b/doc/reference/ags/tmpl/ags_performance_preferences_callbacks.sgml
new file mode 100644
index 0000000..af664cc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_performance_preferences_callbacks.sgml
@@ -0,0 +1,24 @@
+<!-- ##### SECTION Title ##### -->
+ags_performance_preferences_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
diff --git a/doc/reference/ags/tmpl/ags_persistable.sgml b/doc/reference/ags/tmpl/ags_persistable.sgml
new file mode 100644
index 0000000..9349a85
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_persistable.sgml
@@ -0,0 +1,82 @@
+<!-- ##### SECTION Title ##### -->
+AgsPersistable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsPersistable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsPersistableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at read:
+ at read_link:
+ at write:
+ at write_link:
+
+<!-- ##### FUNCTION ags_persistable_read ##### -->
+<para>
+
+</para>
+
+ at persistable:
+ at doc:
+ at node:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_persistable_read_link ##### -->
+<para>
+
+</para>
+
+ at persistable:
+ at doc:
+ at node:
+
+
+<!-- ##### FUNCTION ags_persistable_write ##### -->
+<para>
+
+</para>
+
+ at persistable:
+ at doc:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_persistable_write_link ##### -->
+<para>
+
+</para>
+
+ at persistable:
+ at doc:
+ at node:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_audio.sgml b/doc/reference/ags/tmpl/ags_play_audio.sgml
new file mode 100644
index 0000000..f863cf9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_audio.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayAudio ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at muted:
+
+<!-- ##### STRUCT AgsPlayAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+
+<!-- ##### FUNCTION ags_play_audio_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_audio_file.sgml b/doc/reference/ags/tmpl/ags_play_audio_file.sgml
new file mode 100644
index 0000000..d9d60c9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_audio_file.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayAudioFile
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayAudioFile ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at audio_file:
+ at current_frame:
+ at devout:
+
+<!-- ##### STRUCT AgsPlayAudioFileClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### FUNCTION ags_play_audio_file_new ##### -->
+<para>
+
+</para>
+
+ at audio_file:
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_audio_signal.sgml b/doc/reference/ags/tmpl/ags_play_audio_signal.sgml
new file mode 100644
index 0000000..243f6c7
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_audio_signal.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayAudioSignal ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### STRUCT AgsPlayAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### FUNCTION ags_play_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at devout:
+ at audio_channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_channel.sgml b/doc/reference/ags/tmpl/ags_play_channel.sgml
new file mode 100644
index 0000000..65a3bf3
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_channel.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at audio_channel:
+ at muted:
+
+<!-- ##### STRUCT AgsPlayChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_play_channel_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at audio_channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_channel_run.sgml b/doc/reference/ags/tmpl/ags_play_channel_run.sgml
new file mode 100644
index 0000000..9f7283a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_channel_run.sgml
@@ -0,0 +1,59 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at flags:
+ at stream_channel_run:
+ at done_handler:
+ at source_recycling_changed_handler:
+
+<!-- ##### STRUCT AgsPlayChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### ENUM AgsPlayChannelRunFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_PLAY_CHANNEL_RUN_TERMINATING:
+ at AGS_PLAY_CHANNEL_RUN_INITIAL_RUN:
+
+<!-- ##### FUNCTION ags_play_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at stream_channel_run:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_channel_run_master.sgml b/doc/reference/ags/tmpl/ags_play_channel_run_master.sgml
new file mode 100644
index 0000000..41deb47
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_channel_run_master.sgml
@@ -0,0 +1,93 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayChannelRunMaster
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER ##### -->
+<para>
+
+</para>
+
+ at strct:
+
+
+<!-- ##### STRUCT AgsPlayChannelRunMaster ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at flags:
+ at streamer:
+ at source_recycling_changed_handler:
+
+<!-- ##### STRUCT AgsPlayChannelRunMasterClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### ENUM AgsPlayChannelRunMasterFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_PLAY_CHANNEL_RUN_MASTER_TERMINATING:
+
+<!-- ##### STRUCT AgsPlayChannelRunMasterStreamer ##### -->
+<para>
+
+</para>
+
+ at play_channel_run_master:
+ at stream_channel_run:
+ at done_handler:
+
+<!-- ##### FUNCTION ags_play_channel_run_master_find_streamer ##### -->
+<para>
+
+</para>
+
+ at list:
+ at stream_channel_run:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_play_channel_run_master_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_play_channel_run_master_streamer_alloc ##### -->
+<para>
+
+</para>
+
+ at play_channel_run_master:
+ at stream_channel_run:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_notation_audio.sgml b/doc/reference/ags/tmpl/ags_play_notation_audio.sgml
new file mode 100644
index 0000000..bc31fa7
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_notation_audio.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayNotationAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayNotationAudio ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+ at notation:
+
+<!-- ##### STRUCT AgsPlayNotationAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio:
+
+<!-- ##### FUNCTION ags_play_notation_audio_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_notation_audio_run.sgml b/doc/reference/ags/tmpl/ags_play_notation_audio_run.sgml
new file mode 100644
index 0000000..f96442c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_notation_audio_run.sgml
@@ -0,0 +1,57 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayNotationAudioRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayNotationAudioRun ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at flags:
+ at delay_audio_run:
+ at notation_alloc_input_handler:
+ at count_beats_audio_run:
+
+<!-- ##### STRUCT AgsPlayNotationAudioRunClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### ENUM AgsPlayNotationAudioRunFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_PLAY_NOTATION_AUDIO_RUN_DEFAULT:
+
+<!-- ##### FUNCTION ags_play_notation_audio_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_note.sgml b/doc/reference/ags/tmpl/ags_play_note.sgml
new file mode 100644
index 0000000..b0e96f5
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_note.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayNote
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayNote ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at devout:
+ at channel:
+ at note:
+
+<!-- ##### STRUCT AgsPlayNoteClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### FUNCTION ags_play_note_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_pattern.sgml b/doc/reference/ags/tmpl/ags_play_pattern.sgml
new file mode 100644
index 0000000..bb46d62
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_pattern.sgml
@@ -0,0 +1,53 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayPattern
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayPattern ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at channel:
+ at pattern:
+ at i:
+ at j:
+ at bit:
+ at length:
+ at loop:
+
+<!-- ##### STRUCT AgsPlayPatternClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### FUNCTION ags_play_pattern_connect ##### -->
+<para>
+
+</para>
+
+ at play_pattern:
+
+
diff --git a/doc/reference/ags/tmpl/ags_play_recycling.sgml b/doc/reference/ags/tmpl/ags_play_recycling.sgml
new file mode 100644
index 0000000..d4dcb21
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_play_recycling.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPlayRecycling ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### STRUCT AgsPlayRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### FUNCTION ags_play_recycling_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at devout:
+ at audio_channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_playable.sgml b/doc/reference/ags/tmpl/ags_playable.sgml
new file mode 100644
index 0000000..1ff8edf
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_playable.sgml
@@ -0,0 +1,247 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlayable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_PLAYABLE_ERROR ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### TYPEDEF AgsPlayable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### ENUM AgsPlayableError ##### -->
+<para>
+
+</para>
+
+ at AGS_PLAYABLE_ERROR_NO_SUCH_LEVEL:
+ at AGS_PLAYABLE_ERROR_NO_SAMPLE:
+
+<!-- ##### STRUCT AgsPlayableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at open:
+ at rw_open:
+ at level_count:
+ at nth_level:
+ at selected_level:
+ at sublevel_names:
+ at level_select:
+ at level_up:
+ at iter_start:
+ at iter_next:
+ at info:
+ at read:
+ at write:
+ at flush:
+ at seek:
+ at close:
+
+<!-- ##### FUNCTION ags_playable_close ##### -->
+<para>
+
+</para>
+
+ at playable:
+
+
+<!-- ##### FUNCTION ags_playable_error_quark ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_flush ##### -->
+<para>
+
+</para>
+
+ at playable:
+
+
+<!-- ##### FUNCTION ags_playable_info ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at channels:
+ at frames:
+ at loop_start:
+ at loop_end:
+ at error:
+
+
+<!-- ##### FUNCTION ags_playable_iter_next ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_iter_start ##### -->
+<para>
+
+</para>
+
+ at playable:
+
+
+<!-- ##### FUNCTION ags_playable_level_count ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_level_select ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at nth_level:
+ at sublevel_name:
+ at error:
+
+
+<!-- ##### FUNCTION ags_playable_level_up ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at levels:
+ at error:
+
+
+<!-- ##### FUNCTION ags_playable_nth_level ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_open ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at name:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_read ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at channel:
+ at error:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_read_audio_signal ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at devout:
+ at start_channel:
+ at channels:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_rw_open ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at name:
+ at create:
+ at samplerate:
+ at channels:
+ at frames:
+ at format:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_seek ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at frames:
+ at whence:
+
+
+<!-- ##### FUNCTION ags_playable_selected_level ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_sublevel_names ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_playable_write ##### -->
+<para>
+
+</para>
+
+ at playable:
+ at buffer:
+ at buffer_length:
+
+
diff --git a/doc/reference/ags/tmpl/ags_plugin.sgml b/doc/reference/ags/tmpl/ags_plugin.sgml
new file mode 100644
index 0000000..90c63c0
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_plugin.sgml
@@ -0,0 +1,160 @@
+<!-- ##### SECTION Title ##### -->
+AgsPlugin
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsPlugin ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsPluginInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at get_name:
+ at set_name:
+ at get_version:
+ at set_version:
+ at get_build_id:
+ at set_build_id:
+ at get_xml_type:
+ at set_xml_type:
+ at get_ports:
+ at set_ports:
+ at read:
+ at write:
+
+<!-- ##### FUNCTION ags_plugin_get_build_id ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_get_name ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_get_ports ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_get_version ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_get_xml_type ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_read ##### -->
+<para>
+
+</para>
+
+ at file:
+ at node:
+ at plugin:
+
+
+<!-- ##### FUNCTION ags_plugin_set_build_id ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at build_id:
+
+
+<!-- ##### FUNCTION ags_plugin_set_name ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at name:
+
+
+<!-- ##### FUNCTION ags_plugin_set_ports ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at ports:
+
+
+<!-- ##### FUNCTION ags_plugin_set_version ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at version:
+
+
+<!-- ##### FUNCTION ags_plugin_set_xml_type ##### -->
+<para>
+
+</para>
+
+ at plugin:
+ at xml_type:
+
+
+<!-- ##### FUNCTION ags_plugin_write ##### -->
+<para>
+
+</para>
+
+ at file:
+ at parent:
+ at plugin:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_plugin_factory.sgml b/doc/reference/ags/tmpl/ags_plugin_factory.sgml
new file mode 100644
index 0000000..57b4651
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_plugin_factory.sgml
@@ -0,0 +1,125 @@
+<!-- ##### SECTION Title ##### -->
+AgsPluginFactory
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPluginFactory ##### -->
+<para>
+
+</para>
+
+ at object:
+ at plugin:
+
+<!-- ##### STRUCT AgsPluginFactoryClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at add:
+ at create:
+
+<!-- ##### STRUCT AgsPluginMetadata ##### -->
+<para>
+
+</para>
+
+ at plugin_type:
+ at plugin_name:
+ at version:
+ at build_id:
+ at xml_type:
+ at control:
+ at control_count:
+
+<!-- ##### FUNCTION ags_plugin_factory_add ##### -->
+<para>
+
+</para>
+
+ at plugin_factory:
+ at plugin_type:
+ at plugin_name:
+ at version:
+ at build_id:
+ at xml_type:
+ at control:
+ at control_count:
+
+
+<!-- ##### FUNCTION ags_plugin_factory_create ##### -->
+<para>
+
+</para>
+
+ at plugin_factory:
+ at plugin_name:
+ at version:
+ at build_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_factory_get_instance ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_factory_list_by_name ##### -->
+<para>
+
+</para>
+
+ at plugin_factory:
+ at plugin_name:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_factory_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_factory_new_from_file ##### -->
+<para>
+
+</para>
+
+ at path:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_factory_read_file ##### -->
+<para>
+
+</para>
+
+ at plugin_factory:
+ at path:
+
+
diff --git a/doc/reference/ags/tmpl/ags_plugin_preferences.sgml b/doc/reference/ags/tmpl/ags_plugin_preferences.sgml
new file mode 100644
index 0000000..c05198c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_plugin_preferences.sgml
@@ -0,0 +1,63 @@
+<!-- ##### SECTION Title ##### -->
+AgsPluginPreferences
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsLadspaPluginPreferences ##### -->
+<para>
+
+</para>
+
+ at ladspa_path:
+ at plugin_file:
+
+<!-- ##### STRUCT AgsPluginPreferences ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at ladspa_plugin_preferencens:
+
+<!-- ##### STRUCT AgsPluginPreferencesClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_ladspa_plugin_preferences_alloc ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_plugin_preferences_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_plugin_preferences_callbacks.sgml b/doc/reference/ags/tmpl/ags_plugin_preferences_callbacks.sgml
new file mode 100644
index 0000000..2402d05
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_plugin_preferences_callbacks.sgml
@@ -0,0 +1,24 @@
+<!-- ##### SECTION Title ##### -->
+ags_plugin_preferences_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
diff --git a/doc/reference/ags/tmpl/ags_plugin_stock.sgml b/doc/reference/ags/tmpl/ags_plugin_stock.sgml
new file mode 100644
index 0000000..ccac5cc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_plugin_stock.sgml
@@ -0,0 +1,31 @@
+<!-- ##### SECTION Title ##### -->
+ags_plugin_stock
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_PLUGIN_NAME_VOLUME ##### -->
+<para>
+
+</para>
+
+
+
diff --git a/doc/reference/ags/tmpl/ags_port.sgml b/doc/reference/ags/tmpl/ags_port.sgml
new file mode 100644
index 0000000..16c24ed
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_port.sgml
@@ -0,0 +1,106 @@
+<!-- ##### SECTION Title ##### -->
+AgsPort
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPort ##### -->
+<para>
+
+</para>
+
+ at object:
+ at plugin_name:
+ at specifier:
+ at control_port:
+ at port_value_is_pointer:
+ at port_value_type:
+ at port_value_size:
+ at port_value_length:
+ at mutex:
+
+<!-- ##### STRUCT AgsPortClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at safe_read:
+ at safe_write:
+ at safe_get_property:
+ at safe_set_property:
+
+<!-- ##### FUNCTION ags_port_find_specifier ##### -->
+<para>
+
+</para>
+
+ at port:
+ at specifier:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_port_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_port_safe_get_property ##### -->
+<para>
+
+</para>
+
+ at port:
+ at property_name:
+ at value:
+
+
+<!-- ##### FUNCTION ags_port_safe_read ##### -->
+<para>
+
+</para>
+
+ at port:
+ at value:
+
+
+<!-- ##### FUNCTION ags_port_safe_set_property ##### -->
+<para>
+
+</para>
+
+ at port:
+ at property_name:
+ at value:
+
+
+<!-- ##### FUNCTION ags_port_safe_write ##### -->
+<para>
+
+</para>
+
+ at port:
+ at value:
+
+
diff --git a/doc/reference/ags/tmpl/ags_portable_thread.sgml b/doc/reference/ags/tmpl/ags_portable_thread.sgml
new file mode 100644
index 0000000..2a377fc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_portable_thread.sgml
@@ -0,0 +1,421 @@
+<!-- ##### SECTION Title ##### -->
+AgsPortableThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPortableThread ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at thread:
+ at thread_attr:
+ at mutex:
+ at cond:
+ at start_mutex:
+ at start_cond:
+ at barrier:
+ at first_barrier:
+ at wait_count:
+ at timelock_thread:
+ at timelock_mutex:
+ at timelock_cond:
+ at devout:
+ at parent:
+ at next:
+ at prev:
+ at children:
+ at data:
+
+<!-- ##### STRUCT AgsPortableThreadClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at start:
+ at run:
+ at timelock:
+ at stop:
+
+<!-- ##### ENUM AgsPortableThreadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_PORTABLE_THREAD_RUNNING:
+ at AGS_PORTABLE_THREAD_IDLE:
+ at AGS_PORTABLE_THREAD_LOCKED:
+ at AGS_PORTABLE_THREAD_WAIT_FOR_PARENT:
+ at AGS_PORTABLE_THREAD_WAIT_FOR_SIBLING:
+ at AGS_PORTABLE_THREAD_WAIT_FOR_CHILDREN:
+ at AGS_PORTABLE_THREAD_WAIT_FOR_BARRIER:
+ at AGS_PORTABLE_THREAD_WAITING_FOR_PARENT:
+ at AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING:
+ at AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN:
+ at AGS_PORTABLE_THREAD_WAITING_FOR_BARRIER:
+ at AGS_PORTABLE_THREAD_BROADCAST_PARENT:
+ at AGS_PORTABLE_THREAD_BROADCAST_SIBLING:
+ at AGS_PORTABLE_THREAD_BROADCAST_CHILDREN:
+ at AGS_PORTABLE_THREAD_INITIAL_RUN:
+ at AGS_PORTABLE_THREAD_TREE_SYNC_0:
+ at AGS_PORTABLE_THREAD_WAIT_0:
+ at AGS_PORTABLE_THREAD_TREE_SYNC_1:
+ at AGS_PORTABLE_THREAD_WAIT_1:
+ at AGS_PORTABLE_THREAD_TREE_SYNC_2:
+ at AGS_PORTABLE_THREAD_WAIT_2:
+ at AGS_PORTABLE_THREAD_TIMELOCK_RUN:
+ at AGS_PORTABLE_THREAD_TIMELOCK_WAIT:
+ at AGS_PORTABLE_THREAD_TIMELOCK_RESUME:
+
+<!-- ##### FUNCTION ags_portable_thread_add_child ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at child:
+
+
+<!-- ##### FUNCTION ags_portable_thread_children_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_first ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_get_toplevel ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_is_current_ready ##### -->
+<para>
+
+</para>
+
+ at current:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_is_current_synced ##### -->
+<para>
+
+</para>
+
+ at current:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_is_tree_ready ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_is_tree_synced ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_last ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_lock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_lock_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_lock_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_lock_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_portable_thread_lock_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_main_loop_unlock_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_new ##### -->
+<para>
+
+</para>
+
+ at data:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_next_children_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_next_parent_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_next_sibling_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_parental_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_remove_child ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at child:
+
+
+<!-- ##### FUNCTION ags_portable_thread_run ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_sibling_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_signal_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_portable_thread_signal_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_portable_thread_signal_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_portable_thread_start ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_stop ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_timelock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_trylock ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portable_thread_unlock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_unlock_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_unlock_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_unlock_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_portable_thread_unlock_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_wait_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_portable_thread_wait_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_portable_thread_wait_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
diff --git a/doc/reference/ags/tmpl/ags_portlet.sgml b/doc/reference/ags/tmpl/ags_portlet.sgml
new file mode 100644
index 0000000..7f56395
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_portlet.sgml
@@ -0,0 +1,89 @@
+<!-- ##### SECTION Title ##### -->
+AgsPortlet
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsPortlet ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsPortletInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at get_port:
+ at set_port:
+ at list_safe_properties:
+ at safe_get_property:
+ at safe_set_property:
+
+<!-- ##### FUNCTION ags_portlet_get_port ##### -->
+<para>
+
+</para>
+
+ at portlet:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portlet_list_safe_properties ##### -->
+<para>
+
+</para>
+
+ at portlet:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_portlet_safe_get_property ##### -->
+<para>
+
+</para>
+
+ at portlet:
+ at property_name:
+ at value:
+
+
+<!-- ##### FUNCTION ags_portlet_safe_set_property ##### -->
+<para>
+
+</para>
+
+ at portlet:
+ at property_name:
+ at value:
+
+
+<!-- ##### FUNCTION ags_portlet_set_port ##### -->
+<para>
+
+</para>
+
+ at portlet:
+ at port:
+
+
diff --git a/doc/reference/ags/tmpl/ags_preferences.sgml b/doc/reference/ags/tmpl/ags_preferences.sgml
new file mode 100644
index 0000000..bc669c6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_preferences.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsPreferences
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPreferences ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at flags:
+ at window:
+ at audio_preferences:
+ at performance_preferences:
+ at server_preferences:
+
+<!-- ##### STRUCT AgsPreferencesClass ##### -->
+<para>
+
+</para>
+
+ at dialog:
+
+<!-- ##### ENUM AgsPreferencesFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_PREFERENCES_SHUTDOWN:
+
+<!-- ##### FUNCTION ags_preferences_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_preferences_callbacks.sgml b/doc/reference/ags/tmpl/ags_preferences_callbacks.sgml
new file mode 100644
index 0000000..065006e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_preferences_callbacks.sgml
@@ -0,0 +1,34 @@
+<!-- ##### SECTION Title ##### -->
+ags_preferences_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_preferences_response_callback ##### -->
+<para>
+
+</para>
+
+ at dialog:
+ at response_id:
+ at user_data:
+
+
diff --git a/doc/reference/ags/tmpl/ags_property_collection_editor.sgml b/doc/reference/ags/tmpl/ags_property_collection_editor.sgml
new file mode 100644
index 0000000..079cd7c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_property_collection_editor.sgml
@@ -0,0 +1,54 @@
+<!-- ##### SECTION Title ##### -->
+AgsPropertyCollectionEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPropertyCollectionEditor ##### -->
+<para>
+
+</para>
+
+ at property_editor:
+ at child_type:
+ at child_parameter_count:
+ at child_parameter:
+ at child:
+ at add_collection:
+
+<!-- ##### STRUCT AgsPropertyCollectionEditorClass ##### -->
+<para>
+
+</para>
+
+ at property_editor:
+
+<!-- ##### FUNCTION ags_property_collection_editor_new ##### -->
+<para>
+
+</para>
+
+ at child_type:
+ at child_parameter_count:
+ at child_parameter:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_property_collection_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_property_collection_editor_callbacks.sgml
new file mode 100644
index 0000000..f44c6d2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_property_collection_editor_callbacks.sgml
@@ -0,0 +1,42 @@
+<!-- ##### SECTION Title ##### -->
+ags_property_collection_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_property_collection_editor_add_collection_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at property_collection_editor:
+
+
+<!-- ##### FUNCTION ags_property_collection_editor_remove_collection_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at table:
+
+
diff --git a/doc/reference/ags/tmpl/ags_property_editor.sgml b/doc/reference/ags/tmpl/ags_property_editor.sgml
new file mode 100644
index 0000000..e55b9b2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_property_editor.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsPropertyEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPropertyEditor ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at flags:
+ at enabled:
+
+<!-- ##### STRUCT AgsPropertyEditorClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at apply:
+
+<!-- ##### ENUM AgsPropertyEditorFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_PROPERTY_EDITOR_ENABLED:
+
+<!-- ##### FUNCTION ags_property_editor_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_property_editor_callbacks.sgml b/doc/reference/ags/tmpl/ags_property_editor_callbacks.sgml
new file mode 100644
index 0000000..9d295b2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_property_editor_callbacks.sgml
@@ -0,0 +1,33 @@
+<!-- ##### SECTION Title ##### -->
+ags_property_editor_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_property_editor_enable_callback ##### -->
+<para>
+
+</para>
+
+ at toggle:
+ at property_editor:
+
+
diff --git a/doc/reference/ags/tmpl/ags_property_listing_editor.sgml b/doc/reference/ags/tmpl/ags_property_listing_editor.sgml
new file mode 100644
index 0000000..de6e065
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_property_listing_editor.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsPropertyListingEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsPropertyListingEditor ##### -->
+<para>
+
+</para>
+
+ at property_editor:
+ at child:
+
+<!-- ##### STRUCT AgsPropertyListingEditorClass ##### -->
+<para>
+
+</para>
+
+ at property_editor:
+
+<!-- ##### FUNCTION ags_property_listing_editor_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall.sgml b/doc/reference/ags/tmpl/ags_recall.sgml
new file mode 100644
index 0000000..dc03a9a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall.sgml
@@ -0,0 +1,494 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecall
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_RECALL_DEFAULT_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_RECALL_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_RECALL_HANDLER ##### -->
+<para>
+
+</para>
+
+ at handler:
+
+
+<!-- ##### STRUCT AgsRecall ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at devout:
+ at container:
+ at version:
+ at build_id:
+ at effect:
+ at name:
+ at xml_type:
+ at dependencies:
+ at recall_id:
+ at parent:
+ at children:
+ at child_type:
+ at child_parameters:
+ at n_params:
+ at port:
+ at handlers:
+
+<!-- ##### STRUCT AgsRecallClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at resolve_dependencies:
+ at run_init_pre:
+ at run_init_inter:
+ at run_init_post:
+ at run_pre:
+ at run_inter:
+ at run_post:
+ at stop_persistent:
+ at done:
+ at cancel:
+ at remove:
+ at duplicate:
+ at notify_dependency:
+ at child_added:
+
+<!-- ##### ENUM AgsRecallFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_CONNECTED:
+ at AGS_RECALL_RUN_INITIALIZED:
+ at AGS_RECALL_TEMPLATE:
+ at AGS_RECALL_PLAYBACK:
+ at AGS_RECALL_SEQUENCER:
+ at AGS_RECALL_NOTATION:
+ at AGS_RECALL_DEFAULT_TEMPLATE:
+ at AGS_RECALL_INPUT_ORIENTATED:
+ at AGS_RECALL_OUTPUT_ORIENTATED:
+ at AGS_RECALL_PERSISTENT:
+ at AGS_RECALL_INITIAL_RUN:
+ at AGS_RECALL_TERMINATING:
+ at AGS_RECALL_DONE:
+ at AGS_RECALL_REMOVE:
+ at AGS_RECALL_HIDE:
+ at AGS_RECALL_PROPAGATE_DONE:
+ at AGS_RECALL_PERSISTENT_PLAYBACK:
+ at AGS_RECALL_PERSISTENT_SEQUENCER:
+ at AGS_RECALL_PERSISTENT_NOTATION:
+ at AGS_RECALL_SKIP_DEPENDENCIES:
+
+<!-- ##### STRUCT AgsRecallHandler ##### -->
+<para>
+
+</para>
+
+ at signal_name:
+ at callback:
+ at data:
+ at handler:
+
+<!-- ##### ENUM AgsRecallNotifyDependencyMode ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_NOTIFY_RUN:
+ at AGS_RECALL_NOTIFY_AUDIO:
+ at AGS_RECALL_NOTIFY_AUDIO_RUN:
+ at AGS_RECALL_NOTIFY_CHANNEL:
+ at AGS_RECALL_NOTIFY_CHANNEL_RUN:
+ at AGS_RECALL_NOTIFY_RECALL:
+
+<!-- ##### FUNCTION ags_recall_add_child ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at child:
+
+
+<!-- ##### FUNCTION ags_recall_add_dependency ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at dependency:
+
+
+<!-- ##### FUNCTION ags_recall_add_handler ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_handler:
+
+
+<!-- ##### FUNCTION ags_recall_cancel ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_child_added ##### -->
+<para>
+
+</para>
+
+ at parent:
+ at child:
+
+
+<!-- ##### FUNCTION ags_recall_done ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_duplicate ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_find_by_effect ##### -->
+<para>
+
+</para>
+
+ at list:
+ at recall_id:
+ at effect:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_find_provider ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at provider:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_find_provider_with_recycling_container ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at provider:
+ at recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_find_recycling_container ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_find_template ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_find_type ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at type:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_find_type_with_recycling_container ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at type:
+ at recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_get_children ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_get_dependencies ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_handler_alloc ##### -->
+<para>
+
+</para>
+
+ at signal_name:
+ at callback:
+ at data:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_is_done ##### -->
+<para>
+
+</para>
+
+ at recalls:
+ at recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_notify_dependency ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at dependency:
+ at count:
+
+
+<!-- ##### FUNCTION ags_recall_remove ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_remove_child ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at child:
+
+
+<!-- ##### FUNCTION ags_recall_remove_dependency ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at template:
+
+
+<!-- ##### FUNCTION ags_recall_remove_handler ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_handler:
+
+
+<!-- ##### FUNCTION ags_recall_resolve_dependencies ##### -->
+<para>
+
+</para>
+
+ at reall:
+
+
+<!-- ##### FUNCTION ags_recall_run_init ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at stage:
+
+
+<!-- ##### FUNCTION ags_recall_run_init_inter ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_run_init_post ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_run_init_pre ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_run_inter ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_run_post ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_run_pre ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_set_devout_recursive ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at devout:
+
+
+<!-- ##### FUNCTION ags_recall_set_effect ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at effect:
+
+
+<!-- ##### FUNCTION ags_recall_set_flags ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at flags:
+
+
+<!-- ##### FUNCTION ags_recall_set_recall_id ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_id:
+
+
+<!-- ##### FUNCTION ags_recall_stop_persistent ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+
+<!-- ##### FUNCTION ags_recall_template_find_provider ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at provider:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_template_find_type ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at type:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_audio.sgml b/doc/reference/ags/tmpl/ags_recall_audio.sgml
new file mode 100644
index 0000000..d43da60
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_audio.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallAudio ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at audio:
+
+<!-- ##### STRUCT AgsRecallAudioClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### FUNCTION ags_recall_audio_new ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_audio_run.sgml b/doc/reference/ags/tmpl/ags_recall_audio_run.sgml
new file mode 100644
index 0000000..76c7e0b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_audio_run.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallAudioRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallAudioRun ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_audio:
+
+<!-- ##### STRUCT AgsRecallAudioRunClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### FUNCTION ags_recall_audio_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_audio_signal.sgml b/doc/reference/ags/tmpl/ags_recall_audio_signal.sgml
new file mode 100644
index 0000000..efa757e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_audio_signal.sgml
@@ -0,0 +1,60 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallAudioSignal ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at flags:
+ at audio_channel:
+ at destination:
+ at source:
+
+<!-- ##### STRUCT AgsRecallAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### ENUM AgsRecallAudioSignalFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_AUDIO_SIGNAL_INITIAL_RUN:
+
+<!-- ##### FUNCTION ags_recall_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at destination:
+ at source:
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_channel.sgml b/doc/reference/ags/tmpl/ags_recall_channel.sgml
new file mode 100644
index 0000000..d1f3371
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_channel.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallChannel ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at destination:
+ at source:
+
+<!-- ##### STRUCT AgsRecallChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### FUNCTION ags_recall_channel_find_channel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_channel_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_channel_run.sgml b/doc/reference/ags/tmpl/ags_recall_channel_run.sgml
new file mode 100644
index 0000000..4dce333
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_channel_run.sgml
@@ -0,0 +1,74 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at audio_channel:
+ at recall_channel:
+ at recall_audio_run:
+ at destination:
+ at destination_recycling_changed_handler:
+ at changed_output_handler:
+ at source:
+ at source_recycling_changed_handler:
+ at run_order:
+
+<!-- ##### STRUCT AgsRecallChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at run_order_changed:
+
+<!-- ##### FUNCTION ags_recall_channel_run_get_run_order ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_channel_run_run_order_changed ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at run_order:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_channel_run_dummy.sgml b/doc/reference/ags/tmpl/ags_recall_channel_run_dummy.sgml
new file mode 100644
index 0000000..074e154
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_channel_run_dummy.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallChannelRunDummy
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallChannelRunDummy ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+ at recycling_dummy_child_type:
+
+<!-- ##### STRUCT AgsRecallChannelRunDummyClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_recall_channel_run_dummy_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at child_type:
+ at recycling_dummy_child_type:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_container.sgml b/doc/reference/ags/tmpl/ags_recall_container.sgml
new file mode 100644
index 0000000..84a50d0
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_container.sgml
@@ -0,0 +1,119 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallContainer
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallContainer ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at recall_audio_type:
+ at recall_audio:
+ at recall_audio_run_type:
+ at recall_audio_run:
+ at recall_channel_type:
+ at recall_channel:
+ at recall_channel_run_type:
+ at recall_channel_run:
+
+<!-- ##### STRUCT AgsRecallContainerClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsRecallContainerFindFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_CONTAINER_FIND_TYPE:
+ at AGS_RECALL_CONTAINER_FIND_TEMPLATE:
+ at AGS_RECALL_CONTAINER_FIND_RECALL_ID:
+
+<!-- ##### ENUM AgsRecallContainerFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_CONTAINER_PLAY:
+
+<!-- ##### FUNCTION ags_recall_container_find ##### -->
+<para>
+
+</para>
+
+ at recall_container:
+ at type:
+ at find_flags:
+ at recall_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_container_get_recall_audio ##### -->
+<para>
+
+</para>
+
+ at container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_container_get_recall_audio_run ##### -->
+<para>
+
+</para>
+
+ at container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_container_get_recall_channel ##### -->
+<para>
+
+</para>
+
+ at container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_container_get_recall_channel_run ##### -->
+<para>
+
+</para>
+
+ at container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_container_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_dependency.sgml b/doc/reference/ags/tmpl/ags_recall_dependency.sgml
new file mode 100644
index 0000000..7e22db4
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_dependency.sgml
@@ -0,0 +1,78 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallDependency
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallDependency ##### -->
+<para>
+
+</para>
+
+ at object:
+ at dependency:
+
+<!-- ##### STRUCT AgsRecallDependencyClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_recall_dependency_find_dependency ##### -->
+<para>
+
+</para>
+
+ at recall_dependencies:
+ at dependency:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_dependency_find_dependency_by_provider ##### -->
+<para>
+
+</para>
+
+ at recall_dependencies:
+ at provider:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_dependency_new ##### -->
+<para>
+
+</para>
+
+ at dependency:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_dependency_resolve ##### -->
+<para>
+
+</para>
+
+ at recall_dependency:
+ at recall_id:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_factory.sgml b/doc/reference/ags/tmpl/ags_recall_factory.sgml
new file mode 100644
index 0000000..97d6a72
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_factory.sgml
@@ -0,0 +1,93 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallFactory
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallFactory ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### STRUCT AgsRecallFactoryClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsRecallFactoryCreateFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_FACTORY_OUTPUT:
+ at AGS_RECALL_FACTORY_INPUT:
+ at AGS_RECALL_FACTORY_REMAP:
+ at AGS_RECALL_FACTORY_ADD:
+ at AGS_RECALL_FACTORY_PLAY:
+ at AGS_RECALL_FACTORY_RECALL:
+
+<!-- ##### FUNCTION ags_recall_factory_create ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at play_container:
+ at recall_container:
+ at plugin_name:
+ at start_audio_channel:
+ at stop_audio_channel:
+ at start_pad:
+ at stop_pad:
+ at create_flags:
+ at recall_flags:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_factory_get_instance ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_factory_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_factory_remove ##### -->
+<para>
+
+</para>
+
+ at audio:
+ at recall_container:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_id.sgml b/doc/reference/ags/tmpl/ags_recall_id.sgml
new file mode 100644
index 0000000..107e7b7
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_id.sgml
@@ -0,0 +1,126 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallID
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallID ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at recycling:
+ at recycling_container:
+
+<!-- ##### STRUCT AgsRecallIDClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsRecallIDFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_ID_PLAYBACK:
+ at AGS_RECALL_ID_SEQUENCER:
+ at AGS_RECALL_ID_NOTATION:
+ at AGS_RECALL_ID_DUPLICATE:
+ at AGS_RECALL_ID_RESOLVE:
+ at AGS_RECALL_ID_INIT_PRE:
+ at AGS_RECALL_ID_INIT_INTER:
+ at AGS_RECALL_ID_INIT_POST:
+ at AGS_RECALL_ID_PRE:
+ at AGS_RECALL_ID_INTER:
+ at AGS_RECALL_ID_POST:
+ at AGS_RECALL_ID_CANCEL:
+
+<!-- ##### FUNCTION ags_recall_id_add ##### -->
+<para>
+
+</para>
+
+ at recall_id_list:
+ at recall_id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_id_find_parent_recycling_container ##### -->
+<para>
+
+</para>
+
+ at recall_id_list:
+ at parent_recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_id_find_recycling_container ##### -->
+<para>
+
+</para>
+
+ at recall_id_list:
+ at recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_id_get_run_stage ##### -->
+<para>
+
+</para>
+
+ at id:
+ at stage:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_id_new ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_id_set_run_stage ##### -->
+<para>
+
+</para>
+
+ at recall_id:
+ at stage:
+
+
+<!-- ##### FUNCTION ags_recall_id_unset_run_stage ##### -->
+<para>
+
+</para>
+
+ at recall_id:
+ at stage:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_ladspa.sgml b/doc/reference/ags/tmpl/ags_recall_ladspa.sgml
new file mode 100644
index 0000000..ef88754
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_ladspa.sgml
@@ -0,0 +1,94 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallLadspa
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallLadspa ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at filename:
+ at effect:
+ at index:
+ at plugin_descriptor:
+ at input_port:
+ at output_port:
+
+<!-- ##### STRUCT AgsRecallLadspaClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_recall_ladpsa_find ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at filename:
+ at effect:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_ladspa_float_to_short ##### -->
+<para>
+
+</para>
+
+ at buffer:
+ at destination:
+
+
+<!-- ##### FUNCTION ags_recall_ladspa_load_ports ##### -->
+<para>
+
+</para>
+
+ at recall_ladspa:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_ladspa_new ##### -->
+<para>
+
+</para>
+
+ at source:
+ at filename:
+ at effect:
+ at index:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_ladspa_short_to_float ##### -->
+<para>
+
+</para>
+
+ at buffer:
+ at destination:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_ladspa_run.sgml b/doc/reference/ags/tmpl/ags_recall_ladspa_run.sgml
new file mode 100644
index 0000000..747733d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_ladspa_run.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallLadspaRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallLadspaRun ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+ at input:
+ at output:
+
+<!-- ##### STRUCT AgsRecallLadspaRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### FUNCTION ags_recall_ladspa_run_new ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_recycling.sgml b/doc/reference/ags/tmpl/ags_recall_recycling.sgml
new file mode 100644
index 0000000..b23b29f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_recycling.sgml
@@ -0,0 +1,75 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallRecycling ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at flags:
+ at audio_channel:
+ at destination:
+ at destination_add_audio_signal_handler:
+ at destination_remove_audio_signal_handler:
+ at source:
+ at source_add_audio_signal_handler:
+ at source_remove_audio_signal_handler:
+ at child_destination:
+ at child_source:
+
+<!-- ##### STRUCT AgsRecallRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### ENUM AgsRecallRecyclingFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECALL_RECYCLING_GARBAGE_COLLECTOR:
+ at AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION:
+ at AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE:
+ at AGS_RECALL_RECYCLING_CREATE_DESTINATION_ON_MAP_SOURCE:
+
+<!-- ##### FUNCTION ags_recall_recycling_get_child_source ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recall_recycling_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recall_recycling_dummy.sgml b/doc/reference/ags/tmpl/ags_recall_recycling_dummy.sgml
new file mode 100644
index 0000000..9d5ae21
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recall_recycling_dummy.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecallRecyclingDummy
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecallRecyclingDummy ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### STRUCT AgsRecallRecyclingDummyClass ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### FUNCTION ags_recall_recycling_dummy_new ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at child_type:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_record_thread.sgml b/doc/reference/ags/tmpl/ags_record_thread.sgml
new file mode 100644
index 0000000..a7211ee
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_record_thread.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecordThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_RECORD_THREAD_DEFAULT_DELAY ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsRecordThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at registry:
+ at delay:
+ at counter:
+
+<!-- ##### STRUCT AgsRecordThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_record_thread_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at registry:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recycling.sgml b/doc/reference/ags/tmpl/ags_recycling.sgml
new file mode 100644
index 0000000..de23166
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recycling.sgml
@@ -0,0 +1,135 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecycling ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at channel:
+ at devout:
+ at parent:
+ at next:
+ at prev:
+ at audio_signal:
+
+<!-- ##### STRUCT AgsRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at add_audio_signal:
+ at remove_audio_signal:
+
+<!-- ##### ENUM AgsRecyclingFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECYCLING_MUTED:
+
+<!-- ##### FUNCTION ags_recycling_add_audio_signal ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at audio_signal:
+
+
+<!-- ##### FUNCTION ags_recycling_create_audio_signal_with_defaults ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at audio_signal:
+ at delay:
+ at attack:
+
+
+<!-- ##### FUNCTION ags_recycling_create_audio_signal_with_frame_count ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at audio_signal:
+ at frame_count:
+ at delay:
+ at attack:
+
+
+<!-- ##### FUNCTION ags_recycling_find_next_channel ##### -->
+<para>
+
+</para>
+
+ at start_region:
+ at end_region:
+ at prev_channel:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_position ##### -->
+<para>
+
+</para>
+
+ at start_recycling:
+ at end_region:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_remove_audio_signal ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at audio_signal:
+
+
+<!-- ##### FUNCTION ags_recycling_set_devout ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at devout:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recycling_container.sgml b/doc/reference/ags/tmpl/ags_recycling_container.sgml
new file mode 100644
index 0000000..d2d66db
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recycling_container.sgml
@@ -0,0 +1,171 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecyclingContainer
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRecyclingContainer ##### -->
+<para>
+
+</para>
+
+ at object:
+ at recall_id:
+ at recycling:
+ at length:
+ at parent:
+ at children:
+
+<!-- ##### STRUCT AgsRecyclingContainerClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_recycling_container_add ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_add_child ##### -->
+<para>
+
+</para>
+
+ at parent:
+ at child:
+
+
+<!-- ##### FUNCTION ags_recycling_container_find ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_find_child ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_find_parent ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_get_child_recall_id ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_get_toplevel ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_insert ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at recycling:
+ at position:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_new ##### -->
+<para>
+
+</para>
+
+ at length:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_remove ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at recycling:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_container_remove_child ##### -->
+<para>
+
+</para>
+
+ at parent:
+ at child:
+
+
+<!-- ##### FUNCTION ags_recycling_container_replace ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at recycling:
+ at position:
+
+
+<!-- ##### FUNCTION ags_recycling_container_reset_recycling ##### -->
+<para>
+
+</para>
+
+ at recycling_container:
+ at old_first_recycling:
+ at old_last_recycling:
+ at new_first_recycling:
+ at new_last_recycling:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recycling_thread.sgml b/doc/reference/ags/tmpl/ags_recycling_thread.sgml
new file mode 100644
index 0000000..f20c4fc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recycling_thread.sgml
@@ -0,0 +1,91 @@
+<!-- ##### SECTION Title ##### -->
+AgsRecyclingThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_RECYCLING_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsRecyclingThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at flags:
+ at iterator_thread:
+ at iteration_mutex:
+ at iteration_cond:
+
+<!-- ##### STRUCT AgsRecyclingThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at play_channel:
+ at play_audio:
+
+<!-- ##### ENUM AgsRecyclingThreadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RECYCLING_THREAD_RUNNING:
+ at AGS_RECYCLING_THREAD_WAIT:
+ at AGS_RECYCLING_THREAD_DONE:
+
+<!-- ##### FUNCTION ags_recycling_thread_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_recycling_thread_play_audio ##### -->
+<para>
+
+</para>
+
+ at recycling_thread:
+ at output:
+ at audio:
+ at recall_id:
+ at stage:
+
+
+<!-- ##### FUNCTION ags_recycling_thread_play_channel ##### -->
+<para>
+
+</para>
+
+ at recycling_thread:
+ at channel:
+ at recall_id:
+ at stage:
+
+
diff --git a/doc/reference/ags/tmpl/ags_recycling_thread_callbacks.sgml b/doc/reference/ags/tmpl/ags_recycling_thread_callbacks.sgml
new file mode 100644
index 0000000..d04f351
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_recycling_thread_callbacks.sgml
@@ -0,0 +1,32 @@
+<!-- ##### SECTION Title ##### -->
+ags_recycling_thread_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_recycling_thread_iterate_callback ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
diff --git a/doc/reference/ags/tmpl/ags_registry.sgml b/doc/reference/ags/tmpl/ags_registry.sgml
new file mode 100644
index 0000000..b213c1f
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_registry.sgml
@@ -0,0 +1,109 @@
+<!-- ##### SECTION Title ##### -->
+AgsRegistry
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_REGISTRY_DEFAULT_ID_LENGTH ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsRegistry ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at mutex:
+ at previous:
+ at current:
+ at registry:
+ at server:
+ at id_length:
+ at counter:
+ at entry:
+
+<!-- ##### STRUCT AgsRegistryClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### STRUCT AgsRegistryEntry ##### -->
+<para>
+
+</para>
+
+ at id:
+ at entry:
+
+<!-- ##### FUNCTION ags_registry_add ##### -->
+<para>
+
+</para>
+
+ at registry:
+ at registry_entry:
+
+
+<!-- ##### FUNCTION ags_registry_entry_alloc ##### -->
+<para>
+
+</para>
+
+ at registry:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_registry_entry_bulk ##### -->
+<para>
+
+</para>
+
+ at env:
+ at param_array:
+ at server_info:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_registry_entry_find ##### -->
+<para>
+
+</para>
+
+ at registry:
+ at id:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_registry_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_remote_task.sgml b/doc/reference/ags/tmpl/ags_remote_task.sgml
new file mode 100644
index 0000000..ce0d8ec
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_remote_task.sgml
@@ -0,0 +1,69 @@
+<!-- ##### SECTION Title ##### -->
+AgsRemoteTask
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRemoteTask ##### -->
+<para>
+
+</para>
+
+ at object:
+ at server:
+
+<!-- ##### STRUCT AgsRemoteTaskClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### FUNCTION ags_remote_task_launch ##### -->
+<para>
+
+</para>
+
+ at env:
+ at param_array:
+ at server_info:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_remote_task_launch_timed ##### -->
+<para>
+
+</para>
+
+ at env:
+ at param_array:
+ at server_info:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_remote_task_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_remove_audio.sgml b/doc/reference/ags/tmpl/ags_remove_audio.sgml
new file mode 100644
index 0000000..4cb7e1d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_remove_audio.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsRemoveAudio
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRemoveAudio ##### -->
+<para>
+
+</para>
+
+ at task:
+ at devout:
+ at audio:
+
+<!-- ##### STRUCT AgsRemoveAudioClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_remove_audio_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at audio:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_remove_audio_signal.sgml b/doc/reference/ags/tmpl/ags_remove_audio_signal.sgml
new file mode 100644
index 0000000..c27f72e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_remove_audio_signal.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsRemoveAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRemoveAudioSignal ##### -->
+<para>
+
+</para>
+
+ at task:
+ at recycling:
+ at audio_signal:
+
+<!-- ##### STRUCT AgsRemoveAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_remove_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at audio_signal:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_remove_note.sgml b/doc/reference/ags/tmpl/ags_remove_note.sgml
new file mode 100644
index 0000000..065f0ff
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_remove_note.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsRemoveNote
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRemoveNote ##### -->
+<para>
+
+</para>
+
+ at task:
+ at notation:
+ at x:
+ at y:
+
+<!-- ##### STRUCT AgsRemoveNoteClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_remove_note_new ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x:
+ at y:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_remove_point_from_selection.sgml b/doc/reference/ags/tmpl/ags_remove_point_from_selection.sgml
new file mode 100644
index 0000000..3aae072
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_remove_point_from_selection.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsRemovePointFromSelection
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRemovePointFromSelection ##### -->
+<para>
+
+</para>
+
+ at task:
+ at notation:
+ at x:
+ at y:
+
+<!-- ##### STRUCT AgsRemovePointFromSelectionClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_remove_point_from_selection_new ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x:
+ at y:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_remove_recall.sgml b/doc/reference/ags/tmpl/ags_remove_recall.sgml
new file mode 100644
index 0000000..9d145d7
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_remove_recall.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsRemoveRecall
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRemoveRecall ##### -->
+<para>
+
+</para>
+
+ at task:
+ at context:
+ at recall:
+ at is_play:
+
+<!-- ##### STRUCT AgsRemoveRecallClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_remove_recall_new ##### -->
+<para>
+
+</para>
+
+ at context:
+ at recall:
+ at is_play:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_remove_region_from_selection.sgml b/doc/reference/ags/tmpl/ags_remove_region_from_selection.sgml
new file mode 100644
index 0000000..15b6a1d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_remove_region_from_selection.sgml
@@ -0,0 +1,56 @@
+<!-- ##### SECTION Title ##### -->
+AgsRemoveRegionFromSelection
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRemoveRegionFromSelection ##### -->
+<para>
+
+</para>
+
+ at task:
+ at notation:
+ at x0:
+ at y0:
+ at x1:
+ at y1:
+
+<!-- ##### STRUCT AgsRemoveRegionFromSelectionClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_remove_region_from_selection_new ##### -->
+<para>
+
+</para>
+
+ at notation:
+ at x0:
+ at y0:
+ at x1:
+ at y1:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_resize_editor.sgml b/doc/reference/ags/tmpl/ags_resize_editor.sgml
new file mode 100644
index 0000000..89488d1
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_resize_editor.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsResizeEditor
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsResizeEditor ##### -->
+<para>
+
+</para>
+
+ at property_editor:
+ at audio_channels:
+ at input_pads:
+ at output_pads:
+
+<!-- ##### STRUCT AgsResizeEditorClass ##### -->
+<para>
+
+</para>
+
+ at property_editor:
+
+<!-- ##### FUNCTION ags_resize_editor_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_returnable_thread.sgml b/doc/reference/ags/tmpl/ags_returnable_thread.sgml
new file mode 100644
index 0000000..69b9861
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_returnable_thread.sgml
@@ -0,0 +1,102 @@
+<!-- ##### SECTION Title ##### -->
+AgsReturnableThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsReturnableThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at flags:
+ at thread_pool:
+ at reset_mutex:
+ at safe_data:
+ at handler:
+
+<!-- ##### USER_FUNCTION AgsReturnableThreadCallback ##### -->
+<para>
+
+</para>
+
+ at returnable_thread:
+ at data:
+
+
+<!-- ##### STRUCT AgsReturnableThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at safe_run:
+
+<!-- ##### ENUM AgsReturnableThreadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_RETURNABLE_THREAD_IN_USE:
+ at AGS_RETURNABLE_THREAD_RESET:
+
+<!-- ##### FUNCTION ags_returnable_thread_connect_safe_run ##### -->
+<para>
+
+</para>
+
+ at returnable_thread:
+ at callback:
+
+
+<!-- ##### FUNCTION ags_returnable_thread_disconnect_safe_run ##### -->
+<para>
+
+</para>
+
+ at returnable_thread:
+
+
+<!-- ##### FUNCTION ags_returnable_thread_new ##### -->
+<para>
+
+</para>
+
+ at thread_pool:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_returnable_thread_safe_run ##### -->
+<para>
+
+</para>
+
+ at returnable_thread:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ruler.sgml b/doc/reference/ags/tmpl/ags_ruler.sgml
new file mode 100644
index 0000000..1be4163
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ruler.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsRuler
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsRuler ##### -->
+<para>
+
+</para>
+
+ at drawing_area:
+
+<!-- ##### STRUCT AgsRulerClass ##### -->
+<para>
+
+</para>
+
+ at drawing_area:
+
+<!-- ##### FUNCTION ags_ruler_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_ruler_callbacks.sgml b/doc/reference/ags/tmpl/ags_ruler_callbacks.sgml
new file mode 100644
index 0000000..c66f9bd
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_ruler_callbacks.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+ags_ruler_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_ruler_configure_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at ruler:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_ruler_expose_event ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at event:
+ at ruler:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_runnable.sgml b/doc/reference/ags/tmpl/ags_runnable.sgml
new file mode 100644
index 0000000..22da837
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_runnable.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+AgsRunnable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsRunnable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsRunnableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at run:
+ at stop:
+
+<!-- ##### FUNCTION ags_runnable_run ##### -->
+<para>
+
+</para>
+
+ at runnable:
+
+
+<!-- ##### FUNCTION ags_runnable_stop ##### -->
+<para>
+
+</para>
+
+ at runnable:
+
+
diff --git a/doc/reference/ags/tmpl/ags_save_file.sgml b/doc/reference/ags/tmpl/ags_save_file.sgml
new file mode 100644
index 0000000..b4ff14c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_save_file.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsSaveFile
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSaveFile ##### -->
+<para>
+
+</para>
+
+ at task:
+ at file:
+
+<!-- ##### STRUCT AgsSaveFileClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_save_file_new ##### -->
+<para>
+
+</para>
+
+ at file:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_scroll_on_play.sgml b/doc/reference/ags/tmpl/ags_scroll_on_play.sgml
new file mode 100644
index 0000000..550e312
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_scroll_on_play.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsScrollOnPlay
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsScrollOnPlay ##### -->
+<para>
+
+</para>
+
+ at task:
+ at editor:
+
+<!-- ##### STRUCT AgsScrollOnPlayClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_scroll_on_play_new ##### -->
+<para>
+
+</para>
+
+ at editor:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_seekable.sgml b/doc/reference/ags/tmpl/ags_seekable.sgml
new file mode 100644
index 0000000..cbb5151
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_seekable.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsSeekable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsSeekable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsSeekableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at seek:
+
+<!-- ##### FUNCTION ags_seekable_seek ##### -->
+<para>
+
+</para>
+
+ at seekable:
+ at steps:
+ at forward:
+
+
diff --git a/doc/reference/ags/tmpl/ags_segment.sgml b/doc/reference/ags/tmpl/ags_segment.sgml
new file mode 100644
index 0000000..fd8426d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_segment.sgml
@@ -0,0 +1,111 @@
+<!-- ##### SECTION Title ##### -->
+AgsSegment
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### ENUM AGS_SEGMENT_FLAGS ##### -->
+<para>
+
+</para>
+
+ at AGS_SEGMENT_MONOCHROME:
+ at AGS_SEGMENT_COLOR_RED:
+ at AGS_SEGMENT_COLOR_BLUE:
+ at AGS_SGEMENT_COLOR_GREEN:
+
+<!-- ##### STRUCT AgsSegment ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at flags:
+ at count:
+
+<!-- ##### STRUCT AgsSegmentClass ##### -->
+<para>
+
+</para>
+
+ at widget:
+
+<!-- ##### ENUM AgsSegmentFields ##### -->
+<para>
+
+</para>
+
+ at AGS_SEGMENT_UPPER_LEFT:
+ at AGS_SEGMENT_UPPER_RIGHT:
+ at AGS_SEGMENT_LOWER_LEFT:
+ at AGS_SEGMENT_LOWER_RIGHT:
+ at AGS_SEGMENT_LEFT_UPPER_1:
+ at AGS_SEGMENT_LEFT_UPPER_2:
+ at AGS_SEGMENT_LEFT_LOWER_1:
+ at AGS_SEGMENT_LEFT_LOWER_2:
+ at AGS_SEGMENT_RIGHT_UPPER_1:
+ at AGS_SEGMENT_RIGHT_UPPER_2:
+ at AGS_SEGMENT_RIGHT_LOWER_1:
+ at AGS_SEGMENT_RIGHT_LOWER_2:
+ at AGS_SEGMENT_DIAGONAL_UPPER_LEFT_1:
+ at AGS_SEGMENT_DIAGONAL_UPPER_LEFT_2:
+ at AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_1:
+ at AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_2:
+ at AGS_SEGMENT_DIAGONAL_LOWER_LEFT_1:
+ at AGS_SEGMENT_DIAGONAL_LOWER_LEFT_2:
+ at AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_1:
+ at AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_2:
+
+<!-- ##### FUNCTION ags_segment_draw_string ##### -->
+<para>
+
+</para>
+
+ at segment:
+ at string:
+
+
+<!-- ##### FUNCTION ags_segment_field_off ##### -->
+<para>
+
+</para>
+
+ at segment:
+ at field:
+
+
+<!-- ##### FUNCTION ags_segment_field_on ##### -->
+<para>
+
+</para>
+
+ at segment:
+ at field:
+
+
+<!-- ##### FUNCTION ags_segment_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_server.sgml b/doc/reference/ags/tmpl/ags_server.sgml
new file mode 100644
index 0000000..369d5fc
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_server.sgml
@@ -0,0 +1,104 @@
+<!-- ##### SECTION Title ##### -->
+AgsServer
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsServer ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at abyss_server:
+ at socket:
+ at socket_fd:
+ at address:
+ at server_info:
+ at main:
+ at registry:
+ at remote_task:
+
+<!-- ##### STRUCT AgsServerClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at start:
+
+<!-- ##### ENUM AgsServerFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_SERVER_STARTED:
+ at AGS_SERVER_RUNNING:
+
+<!-- ##### FUNCTION ags_server_create_object ##### -->
+<para>
+
+</para>
+
+ at env:
+ at param_array:
+ at server_info:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_server_lookup ##### -->
+<para>
+
+</para>
+
+ at server_info:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_server_new ##### -->
+<para>
+
+</para>
+
+ at main:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_server_object_set_property ##### -->
+<para>
+
+</para>
+
+ at env:
+ at param_array:
+ at server_info:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_server_start ##### -->
+<para>
+
+</para>
+
+ at server:
+
+
diff --git a/doc/reference/ags/tmpl/ags_server_preferences.sgml b/doc/reference/ags/tmpl/ags_server_preferences.sgml
new file mode 100644
index 0000000..6d16927
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_server_preferences.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+AgsServerPreferences
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsServerPreferences ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at start:
+ at address:
+ at port:
+ at username:
+ at password:
+
+<!-- ##### STRUCT AgsServerPreferencesClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_server_preferences_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_server_preferences_callbacks.sgml b/doc/reference/ags/tmpl/ags_server_preferences_callbacks.sgml
new file mode 100644
index 0000000..0b9268a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_server_preferences_callbacks.sgml
@@ -0,0 +1,24 @@
+<!-- ##### SECTION Title ##### -->
+ags_server_preferences_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
diff --git a/doc/reference/ags/tmpl/ags_set_audio_channels.sgml b/doc/reference/ags/tmpl/ags_set_audio_channels.sgml
new file mode 100644
index 0000000..cfd54e5
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_set_audio_channels.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsSetAudioChannels
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSetAudioChannels ##### -->
+<para>
+
+</para>
+
+ at task:
+ at devout:
+ at audio_channels:
+
+<!-- ##### STRUCT AgsSetAudioChannelsClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_set_audio_channels_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at audio_channels:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_set_buffer_size.sgml b/doc/reference/ags/tmpl/ags_set_buffer_size.sgml
new file mode 100644
index 0000000..973c7b0
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_set_buffer_size.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsSetBufferSize
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSetBufferSize ##### -->
+<para>
+
+</para>
+
+ at task:
+ at gobject:
+ at buffer_size:
+
+<!-- ##### STRUCT AgsSetBufferSizeClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_set_buffer_size_new ##### -->
+<para>
+
+</para>
+
+ at gobject:
+ at buffer_size:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_set_devout_play_flags.sgml b/doc/reference/ags/tmpl/ags_set_devout_play_flags.sgml
new file mode 100644
index 0000000..b6921d2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_set_devout_play_flags.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsSetDevoutPlayFlags
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSetDevoutPlayFlags ##### -->
+<para>
+
+</para>
+
+ at task:
+ at devout_play:
+ at devout_play_flags:
+
+<!-- ##### STRUCT AgsSetDevoutPlayFlagsClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_set_devout_play_flags_new ##### -->
+<para>
+
+</para>
+
+ at play:
+ at devout_play_flags:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_set_muted.sgml b/doc/reference/ags/tmpl/ags_set_muted.sgml
new file mode 100644
index 0000000..8b82334
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_set_muted.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsSetMuted
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSetMuted ##### -->
+<para>
+
+</para>
+
+ at task:
+ at gobject:
+ at muted:
+
+<!-- ##### STRUCT AgsSetMutedClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_set_muted_new ##### -->
+<para>
+
+</para>
+
+ at gobject:
+ at muted:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_set_output_device.sgml b/doc/reference/ags/tmpl/ags_set_output_device.sgml
new file mode 100644
index 0000000..79b57fa
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_set_output_device.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsSetOutputDevice
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSetOutputDevice ##### -->
+<para>
+
+</para>
+
+ at task:
+ at devout:
+ at card_id:
+
+<!-- ##### STRUCT AgsSetOutputDeviceClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_set_output_device_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at card_id:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_set_samplerate.sgml b/doc/reference/ags/tmpl/ags_set_samplerate.sgml
new file mode 100644
index 0000000..cab2b16
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_set_samplerate.sgml
@@ -0,0 +1,50 @@
+<!-- ##### SECTION Title ##### -->
+AgsSetSamplerate
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSetSamplerate ##### -->
+<para>
+
+</para>
+
+ at task:
+ at gobject:
+ at samplerate:
+
+<!-- ##### STRUCT AgsSetSamplerateClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_set_samplerate_new ##### -->
+<para>
+
+</para>
+
+ at gobject:
+ at samplerate:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_sf2_chooser.sgml b/doc/reference/ags/tmpl/ags_sf2_chooser.sgml
new file mode 100644
index 0000000..46deb86
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_sf2_chooser.sgml
@@ -0,0 +1,76 @@
+<!-- ##### SECTION Title ##### -->
+AgsSF2Chooser
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSF2Chooser ##### -->
+<para>
+
+</para>
+
+ at vbox:
+ at ipatch:
+ at preset:
+ at instrument:
+ at sample:
+
+<!-- ##### STRUCT AgsSF2ChooserClass ##### -->
+<para>
+
+</para>
+
+ at vbox:
+
+<!-- ##### FUNCTION ags_sf2_chooser_completed ##### -->
+<para>
+
+</para>
+
+ at sf2_chooser:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_sf2_chooser_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_sf2_chooser_open ##### -->
+<para>
+
+</para>
+
+ at sf2_chooser:
+ at filename:
+
+
+<!-- ##### FUNCTION ags_sf2_chooser_remove_all_from_combo ##### -->
+<para>
+
+</para>
+
+ at combo:
+
+
diff --git a/doc/reference/ags/tmpl/ags_sf2_chooser_callbacks.sgml b/doc/reference/ags/tmpl/ags_sf2_chooser_callbacks.sgml
new file mode 100644
index 0000000..af00f0e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_sf2_chooser_callbacks.sgml
@@ -0,0 +1,51 @@
+<!-- ##### SECTION Title ##### -->
+ags_sf2_chooser_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_sf2_chooser_instrument_changed ##### -->
+<para>
+
+</para>
+
+ at combo_box:
+ at sf2_chooser:
+
+
+<!-- ##### FUNCTION ags_sf2_chooser_preset_changed ##### -->
+<para>
+
+</para>
+
+ at combo_box:
+ at sf2_chooser:
+
+
+<!-- ##### FUNCTION ags_sf2_chooser_sample_changed ##### -->
+<para>
+
+</para>
+
+ at combo_box:
+ at sf2_chooser:
+
+
diff --git a/doc/reference/ags/tmpl/ags_single_thread.sgml b/doc/reference/ags/tmpl/ags_single_thread.sgml
new file mode 100644
index 0000000..60be9d0
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_single_thread.sgml
@@ -0,0 +1,57 @@
+<!-- ##### SECTION Title ##### -->
+AgsSingleThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsSingleThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at audio_loop:
+ at devout_thread:
+ at task_thread:
+ at gui_thread:
+
+<!-- ##### STRUCT AgsSingleThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_single_thread_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_sndfile.sgml b/doc/reference/ags/tmpl/ags_sndfile.sgml
new file mode 100644
index 0000000..02bb86b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_sndfile.sgml
@@ -0,0 +1,60 @@
+<!-- ##### SECTION Title ##### -->
+AgsSndfile
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSndfile ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at info:
+ at file:
+ at pointer:
+ at current:
+ at length:
+
+<!-- ##### STRUCT AgsSndfileClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsSndfileFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_SNDFILE_ITER_START:
+ at AGS_SNDFILE_VIRTUAL:
+
+<!-- ##### FUNCTION ags_sndfile_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_soundcard.sgml b/doc/reference/ags/tmpl/ags_soundcard.sgml
new file mode 100644
index 0000000..6fb7468
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_soundcard.sgml
@@ -0,0 +1,87 @@
+<!-- ##### SECTION Title ##### -->
+AgsSoundcard
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsSoundcard ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsSoundcardInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at list_cards:
+ at pcm_info:
+ at play_init:
+ at play:
+ at stop:
+ at tic:
+ at offset_changed:
+
+<!-- ##### FUNCTION ags_soundcard_list_cards ##### -->
+<para>
+
+</para>
+
+ at soundcard:
+ at card_id:
+ at card_name:
+
+
+<!-- ##### FUNCTION ags_soundcard_offset_changed ##### -->
+<para>
+
+</para>
+
+ at soundcard:
+ at note_offset:
+
+
+<!-- ##### FUNCTION ags_soundcard_pcm_info ##### -->
+<para>
+
+</para>
+
+ at soundcard:
+ at card_id:
+ at channels_min:
+ at channels_max:
+ at rate_min:
+ at rate_max:
+ at buffer_size_min:
+ at buffer_size_max:
+ at error:
+
+
+<!-- ##### FUNCTION ags_soundcard_tic ##### -->
+<para>
+
+</para>
+
+ at soundcard:
+
+
diff --git a/doc/reference/ags/tmpl/ags_stackable.sgml b/doc/reference/ags/tmpl/ags_stackable.sgml
new file mode 100644
index 0000000..af9bdf6
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_stackable.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+AgsStackable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsStackable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsStackableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at push:
+ at pop:
+
+<!-- ##### FUNCTION ags_stackable_pop ##### -->
+<para>
+
+</para>
+
+ at stackable:
+
+
+<!-- ##### FUNCTION ags_stackable_push ##### -->
+<para>
+
+</para>
+
+ at stackable:
+
+
diff --git a/doc/reference/ags/tmpl/ags_start_devout.sgml b/doc/reference/ags/tmpl/ags_start_devout.sgml
new file mode 100644
index 0000000..7bb7c94
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_start_devout.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsStartDevout
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsStartDevout ##### -->
+<para>
+
+</para>
+
+ at task:
+ at devout:
+
+<!-- ##### STRUCT AgsStartDevoutClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_start_devout_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_stream.sgml b/doc/reference/ags/tmpl/ags_stream.sgml
new file mode 100644
index 0000000..d30658b
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_stream.sgml
@@ -0,0 +1,57 @@
+<!-- ##### SECTION Title ##### -->
+AgsStream
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsStream ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at audio_signal:
+
+<!-- ##### STRUCT AgsStreamClass ##### -->
+<para>
+
+</para>
+
+ at recall:
+
+<!-- ##### FUNCTION ags_stream ##### -->
+<para>
+
+</para>
+
+ at recall:
+ at recall_id:
+ at data:
+
+
+<!-- ##### FUNCTION ags_stream_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_stream_audio_signal.sgml b/doc/reference/ags/tmpl/ags_stream_audio_signal.sgml
new file mode 100644
index 0000000..3d82b45
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_stream_audio_signal.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsStreamAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsStreamAudioSignal ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### STRUCT AgsStreamAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### FUNCTION ags_stream_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_stream_channel.sgml b/doc/reference/ags/tmpl/ags_stream_channel.sgml
new file mode 100644
index 0000000..124ba81
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_stream_channel.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsStreamChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsStreamChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### STRUCT AgsStreamChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_stream_channel_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_stream_channel_run.sgml b/doc/reference/ags/tmpl/ags_stream_channel_run.sgml
new file mode 100644
index 0000000..295aa00
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_stream_channel_run.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsStreamChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsStreamChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### STRUCT AgsStreamChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_stream_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_stream_recycling.sgml b/doc/reference/ags/tmpl/ags_stream_recycling.sgml
new file mode 100644
index 0000000..7469e7a
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_stream_recycling.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsStreamRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsStreamRecycling ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### STRUCT AgsStreamRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### FUNCTION ags_stream_recycling_new ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_synth.sgml b/doc/reference/ags/tmpl/ags_synth.sgml
new file mode 100644
index 0000000..272aec0
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_synth.sgml
@@ -0,0 +1,63 @@
+<!-- ##### SECTION Title ##### -->
+AgsSynth
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSynth ##### -->
+<para>
+
+</para>
+
+ at machine:
+ at flags:
+ at name:
+ at xml_type:
+ at input_pad:
+ at lower:
+ at loop_start:
+ at loop_end:
+ at auto_update:
+ at update:
+
+<!-- ##### STRUCT AgsSynthClass ##### -->
+<para>
+
+</para>
+
+ at machine:
+
+<!-- ##### ENUM AgsSynthFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_SYNTH_AUTO_UPDATE:
+
+<!-- ##### FUNCTION ags_synth_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_synth_callbacks.sgml b/doc/reference/ags/tmpl/ags_synth_callbacks.sgml
new file mode 100644
index 0000000..bd8e3ab
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_synth_callbacks.sgml
@@ -0,0 +1,61 @@
+<!-- ##### SECTION Title ##### -->
+ags_synth_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_synth_auto_update_callback ##### -->
+<para>
+
+</para>
+
+ at toggle:
+ at synth:
+
+
+<!-- ##### FUNCTION ags_synth_lower_callback ##### -->
+<para>
+
+</para>
+
+ at spin_button:
+ at synth:
+
+
+<!-- ##### FUNCTION ags_synth_parent_set_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at old_parent:
+ at synth:
+
+
+<!-- ##### FUNCTION ags_synth_update_callback ##### -->
+<para>
+
+</para>
+
+ at button:
+ at synth:
+
+
diff --git a/doc/reference/ags/tmpl/ags_synth_input_line.sgml b/doc/reference/ags/tmpl/ags_synth_input_line.sgml
new file mode 100644
index 0000000..a87f0a9
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_synth_input_line.sgml
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+AgsSynthInputLine
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSynthInputLine ##### -->
+<para>
+
+</para>
+
+ at line:
+ at name:
+ at xml_type:
+ at oscillator:
+
+<!-- ##### STRUCT AgsSynthInputLineClass ##### -->
+<para>
+
+</para>
+
+ at line:
+
+<!-- ##### FUNCTION ags_synth_input_line_map_recall ##### -->
+<para>
+
+</para>
+
+ at synth_input_line:
+
+
+<!-- ##### FUNCTION ags_synth_input_line_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_synth_input_pad.sgml b/doc/reference/ags/tmpl/ags_synth_input_pad.sgml
new file mode 100644
index 0000000..4f23850
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_synth_input_pad.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsSynthInputPad
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsSynthInputPad ##### -->
+<para>
+
+</para>
+
+ at pad:
+ at name:
+ at xml_type:
+
+<!-- ##### STRUCT AgsSynthInputPadClass ##### -->
+<para>
+
+</para>
+
+ at pad:
+
+<!-- ##### FUNCTION ags_synth_input_pad_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_synths.sgml b/doc/reference/ags/tmpl/ags_synths.sgml
new file mode 100644
index 0000000..fb81456
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_synths.sgml
@@ -0,0 +1,24 @@
+<!-- ##### SECTION Title ##### -->
+ags_synths
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
diff --git a/doc/reference/ags/tmpl/ags_synths.sgml.bak b/doc/reference/ags/tmpl/ags_synths.sgml.bak
new file mode 100644
index 0000000..36fe231
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_synths.sgml.bak
@@ -0,0 +1,80 @@
+<!-- ##### SECTION Title ##### -->
+ags_synths
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_synth_saw ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at buffer:
+ at offset:
+ at freq:
+ at phase:
+ at length:
+ at volume:
+
+
+<!-- ##### FUNCTION ags_synth_sin ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at buffer:
+ at offset:
+ at freq:
+ at phase:
+ at length:
+ at volume:
+
+
+<!-- ##### FUNCTION ags_synth_square ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at buffer:
+ at offset:
+ at freq:
+ at phase:
+ at length:
+ at volume:
+
+
+<!-- ##### FUNCTION ags_synth_triangle ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at buffer:
+ at offset:
+ at freq:
+ at phase:
+ at length:
+ at volume:
+
+
diff --git a/doc/reference/ags/tmpl/ags_table.sgml b/doc/reference/ags/tmpl/ags_table.sgml
new file mode 100644
index 0000000..cfda8d4
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_table.sgml
@@ -0,0 +1,49 @@
+<!-- ##### SECTION Title ##### -->
+AgsTable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsTable ##### -->
+<para>
+
+</para>
+
+ at table:
+
+<!-- ##### STRUCT AgsTableClass ##### -->
+<para>
+
+</para>
+
+ at table:
+
+<!-- ##### FUNCTION ags_table_new ##### -->
+<para>
+
+</para>
+
+ at row:
+ at columns:
+ at homogeneous:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_tactable.sgml b/doc/reference/ags/tmpl/ags_tactable.sgml
new file mode 100644
index 0000000..90e774c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_tactable.sgml
@@ -0,0 +1,77 @@
+<!-- ##### SECTION Title ##### -->
+AgsTactable
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsTactable ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsTactableInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at change_sequencer_duration:
+ at change_notation_duration:
+ at change_tact:
+ at change_bpm:
+
+<!-- ##### FUNCTION ags_tactable_change_bpm ##### -->
+<para>
+
+</para>
+
+ at tactable:
+ at bpm:
+
+
+<!-- ##### FUNCTION ags_tactable_change_notation_duration ##### -->
+<para>
+
+</para>
+
+ at tactable:
+ at duration:
+
+
+<!-- ##### FUNCTION ags_tactable_change_sequencer_duration ##### -->
+<para>
+
+</para>
+
+ at tactable:
+ at duration:
+
+
+<!-- ##### FUNCTION ags_tactable_change_tact ##### -->
+<para>
+
+</para>
+
+ at tactable:
+ at tact:
+
+
diff --git a/doc/reference/ags/tmpl/ags_task.sgml b/doc/reference/ags/tmpl/ags_task.sgml
new file mode 100644
index 0000000..5b83dee
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_task.sgml
@@ -0,0 +1,76 @@
+<!-- ##### SECTION Title ##### -->
+AgsTask
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsTask ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at name:
+ at delay:
+ at wait_sync_task_cond:
+
+<!-- ##### STRUCT AgsTaskClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at launch:
+ at failure:
+
+<!-- ##### ENUM AgsTaskFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_TASK_LOCKED:
+
+<!-- ##### FUNCTION ags_task_failure ##### -->
+<para>
+
+</para>
+
+ at task:
+ at error:
+
+
+<!-- ##### FUNCTION ags_task_launch ##### -->
+<para>
+
+</para>
+
+ at task:
+
+
+<!-- ##### FUNCTION ags_task_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_task_thread.sgml b/doc/reference/ags/tmpl/ags_task_thread.sgml
new file mode 100644
index 0000000..37fbcf2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_task_thread.sgml
@@ -0,0 +1,90 @@
+<!-- ##### SECTION Title ##### -->
+AgsTaskThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_TASK_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsTaskThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at flags:
+ at mutex:
+ at cond:
+ at read_mutex:
+ at launch_mutex:
+ at queued:
+ at pending:
+ at exec:
+ at queue:
+ at thread_pool:
+
+<!-- ##### STRUCT AgsTaskThreadAppend ##### -->
+<para>
+
+</para>
+
+ at task_thread:
+ at data:
+
+<!-- ##### STRUCT AgsTaskThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_task_thread_append_task ##### -->
+<para>
+
+</para>
+
+ at task_thread:
+ at task:
+
+
+<!-- ##### FUNCTION ags_task_thread_append_tasks ##### -->
+<para>
+
+</para>
+
+ at task_thread:
+ at list:
+
+
+<!-- ##### FUNCTION ags_task_thread_new ##### -->
+<para>
+
+</para>
+
+ at devout:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_thread-kthreads.sgml b/doc/reference/ags/tmpl/ags_thread-kthreads.sgml
new file mode 100644
index 0000000..24905e3
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_thread-kthreads.sgml
@@ -0,0 +1,494 @@
+<!-- ##### SECTION Title ##### -->
+AgsThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_THREAD_RESUME_SIG ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_THREAD_STACKSIZE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_THREAD_SUSPEND_SIG ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsThread ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at wait_mask:
+ at thread:
+ at thread_attr:
+ at freq:
+ at mutex:
+ at mutexattr:
+ at cond:
+ at start_mutex:
+ at start_cond:
+ at barrier:
+ at first_barrier:
+ at wait_count:
+ at timelock_thread:
+ at timelock_mutex:
+ at timelock_cond:
+ at greedy_mutex:
+ at greedy_cond:
+ at greedy_run_mutex:
+ at locked_greedy:
+ at timelock:
+ at greedy_locks:
+ at suspend_mutex:
+ at critical_region:
+ at devout:
+ at parent:
+ at next:
+ at prev:
+ at children:
+ at data:
+
+<!-- ##### STRUCT AgsThreadClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at start:
+ at run:
+ at suspend:
+ at resume:
+ at timelock:
+ at stop:
+
+<!-- ##### ENUM AgsThreadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_THREAD_RUNNING:
+ at AGS_THREAD_IDLE:
+ at AGS_THREAD_LOCKED:
+ at AGS_THREAD_WAIT_FOR_PARENT:
+ at AGS_THREAD_WAIT_FOR_SIBLING:
+ at AGS_THREAD_WAIT_FOR_CHILDREN:
+ at AGS_THREAD_WAIT_FOR_BARRIER:
+ at AGS_THREAD_WAITING_FOR_PARENT:
+ at AGS_THREAD_WAITING_FOR_SIBLING:
+ at AGS_THREAD_WAITING_FOR_CHILDREN:
+ at AGS_THREAD_WAITING_FOR_BARRIER:
+ at AGS_THREAD_BROADCAST_PARENT:
+ at AGS_THREAD_BROADCAST_SIBLING:
+ at AGS_THREAD_BROADCAST_CHILDREN:
+ at AGS_THREAD_INITIAL_RUN:
+ at AGS_THREAD_TREE_SYNC_0:
+ at AGS_THREAD_WAIT_0:
+ at AGS_THREAD_TREE_SYNC_1:
+ at AGS_THREAD_WAIT_1:
+ at AGS_THREAD_TREE_SYNC_2:
+ at AGS_THREAD_WAIT_2:
+ at AGS_THREAD_TIMELOCK_RUN:
+ at AGS_THREAD_TIMELOCK_WAIT:
+ at AGS_THREAD_TIMELOCK_RESUME:
+ at AGS_THREAD_SKIP_NON_GREEDY:
+ at AGS_THREAD_SKIPPED_BY_TIMELOCK:
+ at AGS_THREAD_LOCK_GREEDY_RUN_MUTEX:
+ at AGS_THREAD_SUSPENDED:
+ at AGS_THREAD_SINGLE_LOOP:
+ at AGS_THREAD_READY:
+ at AGS_THREAD_UNREF_ON_EXIT:
+
+<!-- ##### MACRO MSEC_PER_SEC ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO NSEC_PER_SEC ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_thread_add_child ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at child:
+
+
+<!-- ##### FUNCTION ags_thread_children_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_first ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_get_toplevel ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_hangcheck ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_is_current_ready ##### -->
+<para>
+
+</para>
+
+ at current:
+ at tic:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_is_tree_ready ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at tic:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_last ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_lock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_lock_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_lock_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_lock_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_thread_lock_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_new ##### -->
+<para>
+
+</para>
+
+ at data:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_next_children_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_next_parent_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_next_sibling_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_parental_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_remove_child ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at child:
+
+
+<!-- ##### FUNCTION ags_thread_resume ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_run ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_set_sync ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at tic:
+
+
+<!-- ##### FUNCTION ags_thread_set_sync_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at tic:
+
+
+<!-- ##### FUNCTION ags_thread_sibling_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_signal_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_thread_signal_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_thread_signal_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_thread_start ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_stop ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_suspend ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_timelock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_trylock ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_unlock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_wait_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_wait_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_thread_wait_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
diff --git a/doc/reference/ags/tmpl/ags_thread-posix.sgml b/doc/reference/ags/tmpl/ags_thread-posix.sgml
new file mode 100644
index 0000000..66c5483
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_thread-posix.sgml
@@ -0,0 +1,543 @@
+<!-- ##### SECTION Title ##### -->
+AgsThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_ACCOUNTING_TABLE ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### MACRO AGS_THREAD_DEFAULT_ATTACK ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_THREAD_MAX_PRECISION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_THREAD_RESUME_SIG ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_THREAD_SUSPEND_SIG ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsAccountingTable ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at sanity:
+
+<!-- ##### STRUCT AgsThread ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at wait_mask:
+ at thread:
+ at thread_attr:
+ at freq:
+ at mutex:
+ at mutexattr:
+ at cond:
+ at start_mutex:
+ at start_cond:
+ at barrier:
+ at first_barrier:
+ at wait_count:
+ at timelock_thread:
+ at timelock_mutex:
+ at timelock_cond:
+ at greedy_mutex:
+ at greedy_cond:
+ at greedy_run_mutex:
+ at locked_greedy:
+ at timelock:
+ at greedy_locks:
+ at suspend_mutex:
+ at critical_region:
+ at devout:
+ at parent:
+ at next:
+ at prev:
+ at children:
+ at data:
+
+<!-- ##### STRUCT AgsThreadClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at start:
+ at run:
+ at suspend:
+ at resume:
+ at timelock:
+ at stop:
+
+<!-- ##### ENUM AgsThreadFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_THREAD_RUNNING:
+ at AGS_THREAD_IDLE:
+ at AGS_THREAD_LOCKED:
+ at AGS_THREAD_WAIT_FOR_PARENT:
+ at AGS_THREAD_WAIT_FOR_SIBLING:
+ at AGS_THREAD_WAIT_FOR_CHILDREN:
+ at AGS_THREAD_WAIT_FOR_BARRIER:
+ at AGS_THREAD_WAITING_FOR_PARENT:
+ at AGS_THREAD_WAITING_FOR_SIBLING:
+ at AGS_THREAD_WAITING_FOR_CHILDREN:
+ at AGS_THREAD_WAITING_FOR_BARRIER:
+ at AGS_THREAD_BROADCAST_PARENT:
+ at AGS_THREAD_BROADCAST_SIBLING:
+ at AGS_THREAD_BROADCAST_CHILDREN:
+ at AGS_THREAD_INITIAL_RUN:
+ at AGS_THREAD_TREE_SYNC_0:
+ at AGS_THREAD_WAIT_0:
+ at AGS_THREAD_TREE_SYNC_1:
+ at AGS_THREAD_WAIT_1:
+ at AGS_THREAD_TREE_SYNC_2:
+ at AGS_THREAD_WAIT_2:
+ at AGS_THREAD_TIMELOCK_RUN:
+ at AGS_THREAD_TIMELOCK_WAIT:
+ at AGS_THREAD_TIMELOCK_RESUME:
+ at AGS_THREAD_SKIP_NON_GREEDY:
+ at AGS_THREAD_SKIPPED_BY_TIMELOCK:
+ at AGS_THREAD_LOCK_GREEDY_RUN_MUTEX:
+ at AGS_THREAD_SUSPENDED:
+ at AGS_THREAD_SINGLE_LOOP:
+ at AGS_THREAD_READY:
+ at AGS_THREAD_UNREF_ON_EXIT:
+
+<!-- ##### MACRO MSEC_PER_SEC ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO NSEC_PER_SEC ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_accounting_table_alloc ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_accounting_table_set_sanity ##### -->
+<para>
+
+</para>
+
+ at table:
+ at thread:
+ at sanity:
+
+
+<!-- ##### FUNCTION ags_thread_add_child ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at child:
+
+
+<!-- ##### FUNCTION ags_thread_children_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_first ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_get_toplevel ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_hangcheck ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_is_current_ready ##### -->
+<para>
+
+</para>
+
+ at current:
+ at tic:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_is_tree_ready ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at tic:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_last ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_lock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_lock_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_lock_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_lock_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_thread_lock_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_new ##### -->
+<para>
+
+</para>
+
+ at data:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_next_children_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_next_parent_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_next_sibling_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_parental_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_remove_child ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at child:
+
+
+<!-- ##### FUNCTION ags_thread_resume ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_run ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_set_sync ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at tic:
+
+
+<!-- ##### FUNCTION ags_thread_set_sync_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at tic:
+
+
+<!-- ##### FUNCTION ags_thread_sibling_is_locked ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_signal_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_thread_signal_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_thread_signal_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at broadcast:
+
+
+<!-- ##### FUNCTION ags_thread_start ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_stop ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_suspend ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_timelock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_trylock ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_unlock ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_all ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_thread_unlock_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_wait_children ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
+<!-- ##### FUNCTION ags_thread_wait_parent ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at parent:
+
+
+<!-- ##### FUNCTION ags_thread_wait_sibling ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+
diff --git a/doc/reference/ags/tmpl/ags_thread_pool.sgml b/doc/reference/ags/tmpl/ags_thread_pool.sgml
new file mode 100644
index 0000000..0a67104
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_thread_pool.sgml
@@ -0,0 +1,88 @@
+<!-- ##### SECTION Title ##### -->
+AgsThreadPool
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsThreadPool ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at max_unused_threads:
+ at max_threads:
+ at thread:
+ at creation_mutex:
+ at creation_cond:
+ at n_threads:
+ at newly_pulled:
+ at queued:
+ at parent:
+ at returnable_thread:
+ at running_thread:
+ at pull_mutex:
+ at return_mutex:
+ at return_cond:
+
+<!-- ##### STRUCT AgsThreadPoolClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at start:
+
+<!-- ##### ENUM AgsThreadPoolFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_THREAD_POOL_RUNNING:
+ at AGS_THREAD_POOL_READY:
+
+<!-- ##### FUNCTION ags_thread_pool_new ##### -->
+<para>
+
+</para>
+
+ at parent:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_pool_pull ##### -->
+<para>
+
+</para>
+
+ at thread_pool:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_thread_pool_start ##### -->
+<para>
+
+</para>
+
+ at thread_pool:
+
+
diff --git a/doc/reference/ags/tmpl/ags_timebar.sgml b/doc/reference/ags/tmpl/ags_timebar.sgml
new file mode 100644
index 0000000..84b61fd
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_timebar.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsTimebar
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsTimebar ##### -->
+<para>
+
+</para>
+
+ at range:
+
+<!-- ##### STRUCT AgsTimebarClass ##### -->
+<para>
+
+</para>
+
+ at range:
+
+<!-- ##### FUNCTION ags_timebar_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_timestamp.sgml b/doc/reference/ags/tmpl/ags_timestamp.sgml
new file mode 100644
index 0000000..0da7de4
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_timestamp.sgml
@@ -0,0 +1,55 @@
+<!-- ##### SECTION Title ##### -->
+AgsTimestamp
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsTimestamp ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+
+<!-- ##### STRUCT AgsTimestampClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsTimestampFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_TIMESTAMP_UNIX:
+ at AGS_TIMESTAMP_OUTDATED:
+
+<!-- ##### FUNCTION ags_timestamp_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_timestamp_factory.sgml b/doc/reference/ags/tmpl/ags_timestamp_factory.sgml
new file mode 100644
index 0000000..7256b71
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_timestamp_factory.sgml
@@ -0,0 +1,74 @@
+<!-- ##### SECTION Title ##### -->
+AgsTimestampFactory
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsTimestampFactory ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at timestamp:
+
+<!-- ##### STRUCT AgsTimestampFactoryClass ##### -->
+<para>
+
+</para>
+
+ at object:
+ at create:
+
+<!-- ##### ENUM AgsTimestampFactoryFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_TIMESTAMP_FACTORY_UNIX:
+
+<!-- ##### FUNCTION ags_timestamp_factory_create ##### -->
+<para>
+
+</para>
+
+ at timestamp_factory:
+ at predecor:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_timestamp_factory_get_instance ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_timestamp_factory_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_timestamp_thread.sgml b/doc/reference/ags/tmpl/ags_timestamp_thread.sgml
new file mode 100644
index 0000000..8867dfa
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_timestamp_thread.sgml
@@ -0,0 +1,91 @@
+<!-- ##### SECTION Title ##### -->
+AgsTimestampThread
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_MICROSECONDS_PER_SECOND ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_TIMESTAMP_THREAD_DEFAULT_BPM ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_TIMESTAMP_THREAD_DEFAULT_TIC ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsTimestampThread ##### -->
+<para>
+
+</para>
+
+ at thread:
+ at current_timestamp:
+ at current_latency:
+ at timestamp:
+
+<!-- ##### STRUCT AgsTimestampThreadClass ##### -->
+<para>
+
+</para>
+
+ at thread:
+
+<!-- ##### FUNCTION ags_timestamp_thread_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_toggle_led.sgml b/doc/reference/ags/tmpl/ags_toggle_led.sgml
new file mode 100644
index 0000000..e0c3784
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_toggle_led.sgml
@@ -0,0 +1,52 @@
+<!-- ##### SECTION Title ##### -->
+AgsToggleLed
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsToggleLed ##### -->
+<para>
+
+</para>
+
+ at task:
+ at led:
+ at set_active:
+ at unset_active:
+
+<!-- ##### STRUCT AgsToggleLedClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_toggle_led_new ##### -->
+<para>
+
+</para>
+
+ at led:
+ at set_active:
+ at unset_active:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_toggle_pattern_bit.sgml b/doc/reference/ags/tmpl/ags_toggle_pattern_bit.sgml
new file mode 100644
index 0000000..c1b9396
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_toggle_pattern_bit.sgml
@@ -0,0 +1,65 @@
+<!-- ##### SECTION Title ##### -->
+AgsTogglePatternBit
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsTogglePatternBit ##### -->
+<para>
+
+</para>
+
+ at task:
+ at pattern:
+ at line:
+ at index_i:
+ at index_j:
+ at bit:
+
+<!-- ##### STRUCT AgsTogglePatternBitClass ##### -->
+<para>
+
+</para>
+
+ at task:
+ at refresh_gui:
+
+<!-- ##### FUNCTION ags_toggle_pattern_bit_new ##### -->
+<para>
+
+</para>
+
+ at pattern:
+ at line:
+ at index_i:
+ at index_j:
+ at bit:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_toggle_pattern_bit_refresh_gui ##### -->
+<para>
+
+</para>
+
+ at toggle_pattern_bit:
+
+
diff --git a/doc/reference/ags/tmpl/ags_toolbar.sgml b/doc/reference/ags/tmpl/ags_toolbar.sgml
new file mode 100644
index 0000000..3fde2d8
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_toolbar.sgml
@@ -0,0 +1,57 @@
+<!-- ##### SECTION Title ##### -->
+AgsToolbar
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsToolbar ##### -->
+<para>
+
+</para>
+
+ at toolbar:
+ at selected_edit_mode:
+ at position:
+ at edit:
+ at clear:
+ at select:
+ at copy:
+ at cut:
+ at paste:
+ at zoom_history:
+ at zoom:
+ at mode:
+
+<!-- ##### STRUCT AgsToolbarClass ##### -->
+<para>
+
+</para>
+
+ at toolbar:
+
+<!-- ##### FUNCTION ags_toolbar_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_toolbar_callbacks.sgml b/doc/reference/ags/tmpl/ags_toolbar_callbacks.sgml
new file mode 100644
index 0000000..49aa799
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_toolbar_callbacks.sgml
@@ -0,0 +1,115 @@
+<!-- ##### SECTION Title ##### -->
+ags_toolbar_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_toolbar_clear_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_copy_or_cut_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_destroy_callback ##### -->
+<para>
+
+</para>
+
+ at object:
+ at toolbar:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_toolbar_edit_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_mode_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_paste_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_position_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_select_callback ##### -->
+<para>
+
+</para>
+
+ at toggle_button:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_show_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at toolbar:
+
+
+<!-- ##### FUNCTION ags_toolbar_zoom_callback ##### -->
+<para>
+
+</para>
+
+ at combo_box:
+ at toolbar:
+
+
diff --git a/doc/reference/ags/tmpl/ags_toolbar_mode_stock.sgml b/doc/reference/ags/tmpl/ags_toolbar_mode_stock.sgml
new file mode 100644
index 0000000..14c019e
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_toolbar_mode_stock.sgml
@@ -0,0 +1,45 @@
+<!-- ##### SECTION Title ##### -->
+ags_toolbar_mode_stock
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_TOOLBAR_MODE_ALL_CHANNELS ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_TOOLBAR_MODE_MULTI_CHANNEL ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_TOOLBAR_MODE_SINGLE_CHANNEL ##### -->
+<para>
+
+</para>
+
+
+
diff --git a/doc/reference/ags/tmpl/ags_tree_iterator.sgml b/doc/reference/ags/tmpl/ags_tree_iterator.sgml
new file mode 100644
index 0000000..126193d
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_tree_iterator.sgml
@@ -0,0 +1,101 @@
+<!-- ##### SECTION Title ##### -->
+AgsTreeIterator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### TYPEDEF AgsTreeIterator ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT AgsTreeIteratorInterface ##### -->
+<para>
+
+</para>
+
+ at interface:
+ at set_inverse_mode:
+ at is_inverse_mode:
+ at iterate:
+ at iterate_nested:
+ at safe_iterate:
+ at safe_iterate_nested:
+ at loop_action:
+ at nested_loop_action:
+
+<!-- ##### FUNCTION ags_tree_iterator_is_inverse_mode ##### -->
+<para>
+
+</para>
+
+ at tree:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_tree_iterator_iterate ##### -->
+<para>
+
+</para>
+
+ at tree:
+ at node_id:
+
+
+<!-- ##### FUNCTION ags_tree_iterator_iterate_nested ##### -->
+<para>
+
+</para>
+
+ at tree:
+ at node_id:
+
+
+<!-- ##### FUNCTION ags_tree_iterator_safe_iterate ##### -->
+<para>
+
+</para>
+
+ at toplevel:
+ at current:
+ at node_id:
+
+
+<!-- ##### FUNCTION ags_tree_iterator_safe_iterate_nested ##### -->
+<para>
+
+</para>
+
+ at toplevel:
+ at current:
+ at node_id:
+
+
+<!-- ##### FUNCTION ags_tree_iterator_set_inverse_mode ##### -->
+<para>
+
+</para>
+
+ at tree:
+ at mode:
+
+
diff --git a/doc/reference/ags/tmpl/ags_unref_audio_signal.sgml b/doc/reference/ags/tmpl/ags_unref_audio_signal.sgml
new file mode 100644
index 0000000..522fce2
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_unref_audio_signal.sgml
@@ -0,0 +1,48 @@
+<!-- ##### SECTION Title ##### -->
+AgsUnrefAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsUnrefAudioSignal ##### -->
+<para>
+
+</para>
+
+ at task:
+ at audio_signal:
+
+<!-- ##### STRUCT AgsUnrefAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at task:
+
+<!-- ##### FUNCTION ags_unref_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_vindicator.sgml b/doc/reference/ags/tmpl/ags_vindicator.sgml
new file mode 100644
index 0000000..f0e3d66
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_vindicator.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsVIndicator
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsVIndicator ##### -->
+<para>
+
+</para>
+
+ at indicator:
+
+<!-- ##### STRUCT AgsVIndicatorClass ##### -->
+<para>
+
+</para>
+
+ at indicator:
+
+<!-- ##### FUNCTION ags_vindicator_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_volume_audio_signal.sgml b/doc/reference/ags/tmpl/ags_volume_audio_signal.sgml
new file mode 100644
index 0000000..500ce30
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_volume_audio_signal.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsVolumeAudioSignal
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsVolumeAudioSignal ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### STRUCT AgsVolumeAudioSignalClass ##### -->
+<para>
+
+</para>
+
+ at recall_audio_signal:
+
+<!-- ##### FUNCTION ags_volume_audio_signal_new ##### -->
+<para>
+
+</para>
+
+ at audio_signal:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_volume_channel.sgml b/doc/reference/ags/tmpl/ags_volume_channel.sgml
new file mode 100644
index 0000000..37d542c
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_volume_channel.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsVolumeChannel
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsVolumeChannel ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+ at volume:
+
+<!-- ##### STRUCT AgsVolumeChannelClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel:
+
+<!-- ##### FUNCTION ags_volume_channel_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_volume_channel_run.sgml b/doc/reference/ags/tmpl/ags_volume_channel_run.sgml
new file mode 100644
index 0000000..68fec96
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_volume_channel_run.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsVolumeChannelRun
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsVolumeChannelRun ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### STRUCT AgsVolumeChannelRunClass ##### -->
+<para>
+
+</para>
+
+ at recall_channel_run:
+
+<!-- ##### FUNCTION ags_volume_channel_run_new ##### -->
+<para>
+
+</para>
+
+ at channel:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_volume_recycling.sgml b/doc/reference/ags/tmpl/ags_volume_recycling.sgml
new file mode 100644
index 0000000..039ed42
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_volume_recycling.sgml
@@ -0,0 +1,47 @@
+<!-- ##### SECTION Title ##### -->
+AgsVolumeRecycling
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsVolumeRecycling ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### STRUCT AgsVolumeRecyclingClass ##### -->
+<para>
+
+</para>
+
+ at recall_recycling:
+
+<!-- ##### FUNCTION ags_volume_recycling_new ##### -->
+<para>
+
+</para>
+
+ at recycling:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_waveform.sgml b/doc/reference/ags/tmpl/ags_waveform.sgml
new file mode 100644
index 0000000..6a30560
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_waveform.sgml
@@ -0,0 +1,46 @@
+<!-- ##### SECTION Title ##### -->
+AgsWaveform
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### STRUCT AgsWaveform ##### -->
+<para>
+
+</para>
+
+ at widget:
+
+<!-- ##### STRUCT AgsWaveformClass ##### -->
+<para>
+
+</para>
+
+ at widget:
+
+<!-- ##### FUNCTION ags_waveform_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_window.sgml b/doc/reference/ags/tmpl/ags_window.sgml
new file mode 100644
index 0000000..4291b32
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_window.sgml
@@ -0,0 +1,128 @@
+<!-- ##### SECTION Title ##### -->
+AgsWindow
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_MACHINE_COUNTER ##### -->
+<para>
+
+</para>
+
+ at ptr:
+
+
+<!-- ##### STRUCT AgsMachineCounter ##### -->
+<para>
+
+</para>
+
+ at version:
+ at build_id:
+ at machine_type:
+ at counter:
+
+<!-- ##### STRUCT AgsWindow ##### -->
+<para>
+
+</para>
+
+ at window:
+ at flags:
+ at ags_main:
+ at devout:
+ at name:
+ at menu_bar:
+ at paned:
+ at machines:
+ at machine_counter:
+ at selected:
+ at editor:
+ at navigation:
+ at export_window:
+ at preferences:
+
+<!-- ##### STRUCT AgsWindowClass ##### -->
+<para>
+
+</para>
+
+ at window:
+
+<!-- ##### ENUM AgsWindowFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_WINDOW_READY:
+ at AGS_WINDOW_LOADING:
+ at AGS_WINDOW_SAVING:
+ at AGS_WINDOW_TERMINATING:
+
+<!-- ##### FUNCTION ags_machine_counter_alloc ##### -->
+<para>
+
+</para>
+
+ at version:
+ at build_id:
+ at machine_type:
+ at initial_value:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_window_decrement_machine_counter ##### -->
+<para>
+
+</para>
+
+ at window:
+ at machine_type:
+
+
+<!-- ##### FUNCTION ags_window_find_machine_counter ##### -->
+<para>
+
+</para>
+
+ at window:
+ at machine_type:
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_window_increment_machine_counter ##### -->
+<para>
+
+</para>
+
+ at window:
+ at machine_type:
+
+
+<!-- ##### FUNCTION ags_window_new ##### -->
+<para>
+
+</para>
+
+ at ags_main:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/ags_window_callbacks.sgml b/doc/reference/ags/tmpl/ags_window_callbacks.sgml
new file mode 100644
index 0000000..7c37274
--- /dev/null
+++ b/doc/reference/ags/tmpl/ags_window_callbacks.sgml
@@ -0,0 +1,34 @@
+<!-- ##### SECTION Title ##### -->
+ags_window_callbacks
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION ags_window_delete_event_callback ##### -->
+<para>
+
+</para>
+
+ at widget:
+ at data:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/jmath.sgml b/doc/reference/ags/tmpl/jmath.sgml
new file mode 100644
index 0000000..bca94eb
--- /dev/null
+++ b/doc/reference/ags/tmpl/jmath.sgml
@@ -0,0 +1,277 @@
+<!-- ##### SECTION Title ##### -->
+jmath
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### FUNCTION j_math_algebra_brackeds_out ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_algebra_functions_out ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_algebra_operations_out ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_algebra_solve ##### -->
+<para>
+
+</para>
+
+ at string:
+ at operation:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_and ##### -->
+<para>
+
+</para>
+
+ at a:
+ at b:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_cut_leading_zeros ##### -->
+<para>
+
+</para>
+
+ at value:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_exclusive_or ##### -->
+<para>
+
+</para>
+
+ at a:
+ at b:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_exp ##### -->
+<para>
+
+</para>
+
+ at a:
+ at b:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_exp2 ##### -->
+<para>
+
+</para>
+
+ at a:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_gauss ##### -->
+<para>
+
+</para>
+
+ at string:
+ at count:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_get_first_level_operator ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_get_second_level_operator ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_is_function ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_is_function_backward ##### -->
+<para>
+
+</para>
+
+ at start:
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_is_operator ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_less ##### -->
+<para>
+
+</para>
+
+ at a:
+ at b:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_make_valid ##### -->
+<para>
+
+</para>
+
+ at string:
+
+
+<!-- ##### FUNCTION j_math_more ##### -->
+<para>
+
+</para>
+
+ at a:
+ at b:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_or ##### -->
+<para>
+
+</para>
+
+ at a:
+ at b:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_put_null_at_beginning ##### -->
+<para>
+
+</para>
+
+ at array:
+ at size:
+
+
+<!-- ##### FUNCTION j_math_put_null_at_end ##### -->
+<para>
+
+</para>
+
+ at array:
+ at size:
+
+
+<!-- ##### FUNCTION j_math_root ##### -->
+<para>
+
+</para>
+
+ at a:
+ at b:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_root2 ##### -->
+<para>
+
+</para>
+
+ at a:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_solve_arithmetic ##### -->
+<para>
+
+</para>
+
+ at string:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_sort_array ##### -->
+<para>
+
+</para>
+
+ at array:
+ at size:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_width ##### -->
+<para>
+
+</para>
+
+ at a:
+ at Returns:
+
+
+<!-- ##### FUNCTION j_math_width_list ##### -->
+<para>
+
+</para>
+
+ at list:
+ at Returns:
+
+
diff --git a/doc/reference/ags/tmpl/main.sgml b/doc/reference/ags/tmpl/main.sgml
new file mode 100644
index 0000000..4769d52
--- /dev/null
+++ b/doc/reference/ags/tmpl/main.sgml
@@ -0,0 +1,161 @@
+<!-- ##### SECTION Title ##### -->
+AgsMain
+
+<!-- ##### SECTION Short_Description ##### -->
+
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
+<!-- ##### MACRO AGS_BUILD_ID ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_EFFECTS_DEFAULT_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_PRIORITY ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO AGS_VERSION ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### MACRO ALSA_PCM_NEW_HW_PARAMS_API ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### STRUCT AgsMain ##### -->
+<para>
+
+</para>
+
+ at object:
+ at flags:
+ at version:
+ at build_id:
+ at env:
+ at main_loop:
+ at autosave_thread:
+ at thread_pool:
+ at server:
+ at devout:
+ at window:
+ at config:
+ at log:
+
+<!-- ##### STRUCT AgsMainClass ##### -->
+<para>
+
+</para>
+
+ at object:
+
+<!-- ##### ENUM AgsMainFlags ##### -->
+<para>
+
+</para>
+
+ at AGS_MAIN_SINGLE_THREAD:
+ at AGS_MAIN_CONNECTED:
+
+<!-- ##### FUNCTION ags_main_add_devout ##### -->
+<para>
+
+</para>
+
+ at ags_main:
+ at devout:
+
+
+<!-- ##### FUNCTION ags_main_load_config ##### -->
+<para>
+
+</para>
+
+ at ags_main:
+
+
+<!-- ##### FUNCTION ags_main_new ##### -->
+<para>
+
+</para>
+
+ at Returns:
+
+
+<!-- ##### FUNCTION ags_main_quit ##### -->
+<para>
+
+</para>
+
+ at ags_main:
+
+
+<!-- ##### FUNCTION ags_main_register_machine_type ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_main_register_recall_type ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_main_register_task_type ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_main_register_thread_type ##### -->
+<para>
+
+</para>
+
+
+
+<!-- ##### FUNCTION ags_main_register_widget_type ##### -->
+<para>
+
+</para>
+
+
+
diff --git a/doc/reference/ags/xml/ags-doc.bottom b/doc/reference/ags/xml/ags-doc.bottom
new file mode 100644
index 0000000..13b8b72
--- /dev/null
+++ b/doc/reference/ags/xml/ags-doc.bottom
@@ -0,0 +1,318 @@
+ <xi:include href="xml/ags_add_audio.xml"/>
+ <xi:include href="xml/ags_add_audio_signal.xml"/>
+ <xi:include href="xml/ags_add_line_member.xml"/>
+ <xi:include href="xml/ags_add_note.xml"/>
+ <xi:include href="xml/ags_add_point_to_selection.xml"/>
+ <xi:include href="xml/ags_add_recall.xml"/>
+ <xi:include href="xml/ags_add_region_to_selection.xml"/>
+ <xi:include href="xml/ags_amplifier.xml"/>
+ <xi:include href="xml/ags_append_audio.xml"/>
+ <xi:include href="xml/ags_append_audio_threaded.xml"/>
+ <xi:include href="xml/ags_append_channel.xml"/>
+ <xi:include href="xml/ags_append_recall.xml"/>
+ <xi:include href="xml/ags_applicable.xml"/>
+ <xi:include href="xml/ags_apply_bpm.xml"/>
+ <xi:include href="xml/ags_apply_sequencer_length.xml"/>
+ <xi:include href="xml/ags_apply_synth.xml"/>
+ <xi:include href="xml/ags_apply_tact.xml"/>
+ <xi:include href="xml/ags_apply_wavetable.xml"/>
+ <xi:include href="xml/ags_async_queue.xml"/>
+ <xi:include href="xml/ags_audio.xml"/>
+ <xi:include href="xml/ags_audio_file.xml"/>
+ <xi:include href="xml/ags_audio_file_xml.xml"/>
+ <xi:include href="xml/ags_audio_loop.xml"/>
+ <xi:include href="xml/ags_audio_preferences.xml"/>
+ <xi:include href="xml/ags_audio_preferences_callbacks.xml"/>
+ <xi:include href="xml/ags_audio_set_recycling.xml"/>
+ <xi:include href="xml/ags_audio_signal.xml"/>
+ <xi:include href="xml/ags_autosave_thread.xml"/>
+ <xi:include href="xml/ags_buffer_audio_signal.xml"/>
+ <xi:include href="xml/ags_buffer_channel.xml"/>
+ <xi:include href="xml/ags_buffer_channel_run.xml"/>
+ <xi:include href="xml/ags_buffer_recycling.xml"/>
+ <xi:include href="xml/ags_cancel_audio.xml"/>
+ <xi:include href="xml/ags_cancel_channel.xml"/>
+ <xi:include href="xml/ags_cancel_recall.xml"/>
+ <xi:include href="xml/ags_cartesian.xml"/>
+ <xi:include href="xml/ags_change_indicator.xml"/>
+ <xi:include href="xml/ags_change_tact.xml"/>
+ <xi:include href="xml/ags_channel.xml"/>
+ <xi:include href="xml/ags_channel_iter.xml"/>
+ <xi:include href="xml/ags_channel_set_recycling.xml"/>
+ <xi:include href="xml/ags_clone_channel.xml"/>
+ <xi:include href="xml/ags_clone_channel_run.xml"/>
+ <xi:include href="xml/ags_combo_box_text.xml"/>
+ <xi:include href="xml/ags_config.xml"/>
+ <xi:include href="xml/ags_container.xml"/>
+ <xi:include href="xml/ags_copy_audio_signal.xml"/>
+ <xi:include href="xml/ags_copy_channel.xml"/>
+ <xi:include href="xml/ags_copy_channel_run.xml"/>
+ <xi:include href="xml/ags_copy_notation_audio.xml"/>
+ <xi:include href="xml/ags_copy_notation_audio_run.xml"/>
+ <xi:include href="xml/ags_copy_pattern_audio.xml"/>
+ <xi:include href="xml/ags_copy_pattern_audio_run.xml"/>
+ <xi:include href="xml/ags_copy_pattern_channel.xml"/>
+ <xi:include href="xml/ags_copy_pattern_channel_run.xml"/>
+ <xi:include href="xml/ags_copy_recycling.xml"/>
+ <xi:include href="xml/ags_count_beats_audio.xml"/>
+ <xi:include href="xml/ags_count_beats_audio_run.xml"/>
+ <xi:include href="xml/ags_countable.xml"/>
+ <xi:include href="xml/ags_delay_audio.xml"/>
+ <xi:include href="xml/ags_delay_audio_run.xml"/>
+ <xi:include href="xml/ags_devout.xml"/>
+ <xi:include href="xml/ags_devout_thread.xml"/>
+ <xi:include href="xml/ags_dial.xml"/>
+ <xi:include href="xml/ags_display_tact.xml"/>
+ <xi:include href="xml/ags_drum.xml"/>
+ <xi:include href="xml/ags_drum_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_input_line.xml"/>
+ <xi:include href="xml/ags_drum_input_line_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_input_pad.xml"/>
+ <xi:include href="xml/ags_drum_input_pad_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_output_line.xml"/>
+ <xi:include href="xml/ags_drum_output_line_callbacks.xml"/>
+ <xi:include href="xml/ags_drum_output_pad.xml"/>
+ <xi:include href="xml/ags_drum_output_pad_callbacks.xml"/>
+ <xi:include href="xml/ags_dynamic_connectable.xml"/>
+ <xi:include href="xml/ags_echo.xml"/>
+ <xi:include href="xml/ags_editor.xml"/>
+ <xi:include href="xml/ags_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_effect.xml"/>
+ <xi:include href="xml/ags_effect.xml"/>
+ <xi:include href="xml/ags_expander.xml"/>
+ <xi:include href="xml/ags_expander_set.xml"/>
+ <xi:include href="xml/ags_export_output.xml"/>
+ <xi:include href="xml/ags_export_thread.xml"/>
+ <xi:include href="xml/ags_export_window.xml"/>
+ <xi:include href="xml/ags_export_window_callbacks.xml"/>
+ <xi:include href="xml/ags_ffplayer.xml"/>
+ <xi:include href="xml/ags_ffplayer_callbacks.xml"/>
+ <xi:include href="xml/ags_file.xml"/>
+ <xi:include href="xml/ags_file_gui.xml"/>
+ <xi:include href="xml/ags_file_id_ref.xml"/>
+ <xi:include href="xml/ags_file_launch.xml"/>
+ <xi:include href="xml/ags_file_link.xml"/>
+ <xi:include href="xml/ags_file_lookup.xml"/>
+ <xi:include href="xml/ags_file_read.xml"/>
+ <xi:include href="xml/ags_file_selection.xml"/>
+ <xi:include href="xml/ags_file_selection_callbacks.xml"/>
+ <xi:include href="xml/ags_file_sound.xml"/>
+ <xi:include href="xml/ags_file_stock.xml"/>
+ <xi:include href="xml/ags_file_thread.xml"/>
+ <xi:include href="xml/ags_file_util.xml"/>
+ <xi:include href="xml/ags_file_value_factory.xml"/>
+ <xi:include href="xml/ags_file_write.xml"/>
+ <xi:include href="xml/ags_free_selection.xml"/>
+ <xi:include href="xml/ags_garbage_collector.xml"/>
+ <xi:include href="xml/ags_generic_preferences.xml"/>
+ <xi:include href="xml/ags_gui_task_thread.xml"/>
+ <xi:include href="xml/ags_gui_thread.xml"/>
+ <xi:include href="xml/ags_hindicator.xml"/>
+ <xi:include href="xml/ags_history.xml"/>
+ <xi:include href="xml/ags_htimebar.xml"/>
+ <xi:include href="xml/ags_id_generator.xml"/>
+ <xi:include href="xml/ags_indicator.xml"/>
+ <xi:include href="xml/ags_init_audio.xml"/>
+ <xi:include href="xml/ags_init_channel.xml"/>
+ <xi:include href="xml/ags_inline_player.xml"/>
+ <xi:include href="xml/ags_input.xml"/>
+ <xi:include href="xml/ags_ipatch.xml"/>
+ <xi:include href="xml/ags_ipatch_sf2_reader.xml"/>
+ <xi:include href="xml/ags_iterator_thread.xml"/>
+ <xi:include href="xml/ags_ladspa_browser.xml"/>
+ <xi:include href="xml/ags_ladspa_browser_callbacks.xml"/>
+ <xi:include href="xml/ags_ladspa_manager.xml"/>
+ <xi:include href="xml/ags_led.xml"/>
+ <xi:include href="xml/ags_libao.xml"/>
+ <xi:include href="xml/ags_line.xml"/>
+ <xi:include href="xml/ags_line_callbacks.xml"/>
+ <xi:include href="xml/ags_line_editor.xml"/>
+ <xi:include href="xml/ags_line_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_line_member.xml"/>
+ <xi:include href="xml/ags_line_member_callbacks.xml"/>
+ <xi:include href="xml/ags_line_member_editor.xml"/>
+ <xi:include href="xml/ags_line_member_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_link_channel.xml"/>
+ <xi:include href="xml/ags_link_collection_editor.xml"/>
+ <xi:include href="xml/ags_link_collection_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_link_editor.xml"/>
+ <xi:include href="xml/ags_link_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_list.xml"/>
+ <xi:include href="xml/ags_listing_editor.xml"/>
+ <xi:include href="xml/ags_listing_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_log.xml"/>
+ <xi:include href="xml/ags_loop_channel.xml"/>
+ <xi:include href="xml/ags_loop_channel_run.xml"/>
+ <xi:include href="xml/ags_machine.xml"/>
+ <xi:include href="xml/ags_machine_callbacks.xml"/>
+ <xi:include href="xml/ags_machine_editor.xml"/>
+ <xi:include href="xml/ags_machine_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_machine_radio_button.xml"/>
+ <xi:include href="xml/ags_machine_selection.xml"/>
+ <xi:include href="xml/ags_machine_selector.xml"/>
+ <xi:include href="xml/ags_machine_selector_callbacks.xml"/>
+ <xi:include href="xml/ags_main_loop.xml"/>
+ <xi:include href="xml/ags_marshal.xml"/>
+ <xi:include href="xml/ags_matrix.xml"/>
+ <xi:include href="xml/ags_matrix_callbacks.xml"/>
+ <xi:include href="xml/ags_menu.xml"/>
+ <xi:include href="xml/ags_menu_bar.xml"/>
+ <xi:include href="xml/ags_menu_bar_callbacks.xml"/>
+ <xi:include href="xml/ags_menu_item.xml"/>
+ <xi:include href="xml/ags_meter.xml"/>
+ <xi:include href="xml/ags_meter_callbacks.xml"/>
+ <xi:include href="xml/ags_mixer.xml"/>
+ <xi:include href="xml/ags_mixer_callbacks.xml"/>
+ <xi:include href="xml/ags_mixer_input_line.xml"/>
+ <xi:include href="xml/ags_mixer_input_pad.xml"/>
+ <xi:include href="xml/ags_mutable.xml"/>
+ <xi:include href="xml/ags_mute_audio.xml"/>
+ <xi:include href="xml/ags_mute_audio_signal.xml"/>
+ <xi:include href="xml/ags_mute_channel.xml"/>
+ <xi:include href="xml/ags_mute_channel_run.xml"/>
+ <xi:include href="xml/ags_mute_recycling.xml"/>
+ <xi:include href="xml/ags_navigation.xml"/>
+ <xi:include href="xml/ags_navigation_callbacks.xml"/>
+ <xi:include href="xml/ags_notation.xml"/>
+ <xi:include href="xml/ags_note.xml"/>
+ <xi:include href="xml/ags_note_edit.xml"/>
+ <xi:include href="xml/ags_note_edit_callbacks.xml"/>
+ <xi:include href="xml/ags_notebook.xml"/>
+ <xi:include href="xml/ags_notebook_callbacks.xml"/>
+ <xi:include href="xml/ags_open_file.xml"/>
+ <xi:include href="xml/ags_open_single_file.xml"/>
+ <xi:include href="xml/ags_option_menu.xml"/>
+ <xi:include href="xml/ags_oscillator.xml"/>
+ <xi:include href="xml/ags_oscillator_callbacks.xml"/>
+ <xi:include href="xml/ags_output.xml"/>
+ <xi:include href="xml/ags_packable.xml"/>
+ <xi:include href="xml/ags_pad.xml"/>
+ <xi:include href="xml/ags_pad_callbacks.xml"/>
+ <xi:include href="xml/ags_pad_editor.xml"/>
+ <xi:include href="xml/ags_pad_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_panel.xml"/>
+ <xi:include href="xml/ags_panel_callbacks.xml"/>
+ <xi:include href="xml/ags_panel_input_line.xml"/>
+ <xi:include href="xml/ags_panel_input_pad.xml"/>
+ <xi:include href="xml/ags_parameter.xml"/>
+ <xi:include href="xml/ags_pattern.xml"/>
+ <xi:include href="xml/ags_peak_channel.xml"/>
+ <xi:include href="xml/ags_peak_channel_run.xml"/>
+ <xi:include href="xml/ags_performance_preferences.xml"/>
+ <xi:include href="xml/ags_persistable.xml"/>
+ <xi:include href="xml/ags_play_audio.xml"/>
+ <xi:include href="xml/ags_play_audio_file.xml"/>
+ <xi:include href="xml/ags_play_audio_signal.xml"/>
+ <xi:include href="xml/ags_play_channel.xml"/>
+ <xi:include href="xml/ags_play_channel_run.xml"/>
+ <xi:include href="xml/ags_play_channel_run_master.xml"/>
+ <xi:include href="xml/ags_play_notation_audio.xml"/>
+ <xi:include href="xml/ags_play_notation_audio_run.xml"/>
+ <xi:include href="xml/ags_play_note.xml"/>
+ <xi:include href="xml/ags_play_pattern.xml"/>
+ <xi:include href="xml/ags_play_recycling.xml"/>
+ <xi:include href="xml/ags_playable.xml"/>
+ <xi:include href="xml/ags_plugin.xml"/>
+ <xi:include href="xml/ags_plugin_factory.xml"/>
+ <xi:include href="xml/ags_plugin_preferences.xml"/>
+ <xi:include href="xml/ags_plugin_stock.xml"/>
+ <xi:include href="xml/ags_port.xml"/>
+ <xi:include href="xml/ags_portable_thread.xml"/>
+ <xi:include href="xml/ags_portlet.xml"/>
+ <xi:include href="xml/ags_preferences.xml"/>
+ <xi:include href="xml/ags_preferences_callbacks.xml"/>
+ <xi:include href="xml/ags_property_collection_editor.xml"/>
+ <xi:include href="xml/ags_property_collection_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_property_editor.xml"/>
+ <xi:include href="xml/ags_property_editor_callbacks.xml"/>
+ <xi:include href="xml/ags_property_listing_editor.xml"/>
+ <xi:include href="xml/ags_recall.xml"/>
+ <xi:include href="xml/ags_recall_audio.xml"/>
+ <xi:include href="xml/ags_recall_audio_run.xml"/>
+ <xi:include href="xml/ags_recall_audio_signal.xml"/>
+ <xi:include href="xml/ags_recall_channel.xml"/>
+ <xi:include href="xml/ags_recall_channel_run.xml"/>
+ <xi:include href="xml/ags_recall_channel_run_dummy.xml"/>
+ <xi:include href="xml/ags_recall_container.xml"/>
+ <xi:include href="xml/ags_recall_dependency.xml"/>
+ <xi:include href="xml/ags_recall_factory.xml"/>
+ <xi:include href="xml/ags_recall_id.xml"/>
+ <xi:include href="xml/ags_recall_ladspa.xml"/>
+ <xi:include href="xml/ags_recall_ladspa_run.xml"/>
+ <xi:include href="xml/ags_recall_recycling.xml"/>
+ <xi:include href="xml/ags_recall_recycling_dummy.xml"/>
+ <xi:include href="xml/ags_record_thread.xml"/>
+ <xi:include href="xml/ags_recycling.xml"/>
+ <xi:include href="xml/ags_recycling_container.xml"/>
+ <xi:include href="xml/ags_recycling_thread.xml"/>
+ <xi:include href="xml/ags_recycling_thread_callbacks.xml"/>
+ <xi:include href="xml/ags_registry.xml"/>
+ <xi:include href="xml/ags_remote_task.xml"/>
+ <xi:include href="xml/ags_remove_audio.xml"/>
+ <xi:include href="xml/ags_remove_audio_signal.xml"/>
+ <xi:include href="xml/ags_remove_note.xml"/>
+ <xi:include href="xml/ags_remove_point_from_selection.xml"/>
+ <xi:include href="xml/ags_remove_recall.xml"/>
+ <xi:include href="xml/ags_remove_region_from_selection.xml"/>
+ <xi:include href="xml/ags_resize_editor.xml"/>
+ <xi:include href="xml/ags_returnable_thread.xml"/>
+ <xi:include href="xml/ags_ruler.xml"/>
+ <xi:include href="xml/ags_ruler_callbacks.xml"/>
+ <xi:include href="xml/ags_runnable.xml"/>
+ <xi:include href="xml/ags_save_file.xml"/>
+ <xi:include href="xml/ags_scroll_on_play.xml"/>
+ <xi:include href="xml/ags_seekable.xml"/>
+ <xi:include href="xml/ags_segment.xml"/>
+ <xi:include href="xml/ags_server.xml"/>
+ <xi:include href="xml/ags_server_preferences.xml"/>
+ <xi:include href="xml/ags_set_audio_channels.xml"/>
+ <xi:include href="xml/ags_set_buffer_size.xml"/>
+ <xi:include href="xml/ags_set_devout_play_flags.xml"/>
+ <xi:include href="xml/ags_set_muted.xml"/>
+ <xi:include href="xml/ags_set_output_device.xml"/>
+ <xi:include href="xml/ags_set_samplerate.xml"/>
+ <xi:include href="xml/ags_sf2_chooser.xml"/>
+ <xi:include href="xml/ags_sf2_chooser_callbacks.xml"/>
+ <xi:include href="xml/ags_single_thread.xml"/>
+ <xi:include href="xml/ags_sndfile.xml"/>
+ <xi:include href="xml/ags_soundcard.xml"/>
+ <xi:include href="xml/ags_stackable.xml"/>
+ <xi:include href="xml/ags_start_devout.xml"/>
+ <xi:include href="xml/ags_stream.xml"/>
+ <xi:include href="xml/ags_stream_audio_signal.xml"/>
+ <xi:include href="xml/ags_stream_channel.xml"/>
+ <xi:include href="xml/ags_stream_channel_run.xml"/>
+ <xi:include href="xml/ags_stream_recycling.xml"/>
+ <xi:include href="xml/ags_synth.xml"/>
+ <xi:include href="xml/ags_synth_callbacks.xml"/>
+ <xi:include href="xml/ags_synth_input_line.xml"/>
+ <xi:include href="xml/ags_synth_input_pad.xml"/>
+ <xi:include href="xml/ags_synths.xml"/>
+ <xi:include href="xml/ags_table.xml"/>
+ <xi:include href="xml/ags_tactable.xml"/>
+ <xi:include href="xml/ags_task.xml"/>
+ <xi:include href="xml/ags_task_thread.xml"/>
+ <xi:include href="xml/ags_thread-kthreads.xml"/>
+ <xi:include href="xml/ags_thread-posix.xml"/>
+ <xi:include href="xml/ags_thread_pool.xml"/>
+ <xi:include href="xml/ags_timebar.xml"/>
+ <xi:include href="xml/ags_timestamp.xml"/>
+ <xi:include href="xml/ags_timestamp_factory.xml"/>
+ <xi:include href="xml/ags_timestamp_thread.xml"/>
+ <xi:include href="xml/ags_toggle_led.xml"/>
+ <xi:include href="xml/ags_toggle_pattern_bit.xml"/>
+ <xi:include href="xml/ags_toolbar.xml"/>
+ <xi:include href="xml/ags_toolbar_callbacks.xml"/>
+ <xi:include href="xml/ags_toolbar_mode_stock.xml"/>
+ <xi:include href="xml/ags_tree_iterator.xml"/>
+ <xi:include href="xml/ags_unref_audio_signal.xml"/>
+ <xi:include href="xml/ags_vindicator.xml"/>
+ <xi:include href="xml/ags_volume_audio_signal.xml"/>
+ <xi:include href="xml/ags_volume_channel.xml"/>
+ <xi:include href="xml/ags_volume_channel_run.xml"/>
+ <xi:include href="xml/ags_volume_recycling.xml"/>
+ <xi:include href="xml/ags_waveform.xml"/>
+ <xi:include href="xml/ags_window.xml"/>
+ <xi:include href="xml/ags_window_callbacks.xml"/>
+ <xi:include href="xml/jmath.xml"/>
+ <xi:include href="xml/main.xml"/>
diff --git a/doc/reference/ags/xml/ags-doc.top b/doc/reference/ags/xml/ags-doc.top
new file mode 100644
index 0000000..e69de29
diff --git a/doc/reference/ags/xml/ags_add_audio.xml b/doc/reference/ags/xml/ags_add_audio.xml
new file mode 100644
index 0000000..efa2d8d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_add_audio.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAddAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAddAudio.top_of_page">AgsAddAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAddAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAddAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAddAudio">AgsAddAudio</link>;
+struct <link linkend="AgsAddAudioClass">AgsAddAudioClass</link>;
+<link linkend="AgsAddAudio"><returnvalue>AgsAddAudio</returnvalue></link> * <link linkend="ags-add-audio-new">ags_add_audio_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAddAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAddAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAddAudio" role="struct">
+<title>struct AgsAddAudio</title>
+<indexterm zone="AgsAddAudio"><primary>AgsAddAudio</primary></indexterm>
+<programlisting>struct AgsAddAudio {
+ AgsTask task;
+
+ AgsDevout *devout;
+ AgsAudio *audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAddAudioClass" role="struct">
+<title>struct AgsAddAudioClass</title>
+<indexterm zone="AgsAddAudioClass"><primary>AgsAddAudioClass</primary></indexterm>
+<programlisting>struct AgsAddAudioClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-add-audio-new" role="function">
+<title>ags_add_audio_new ()</title>
+<indexterm zone="ags-add-audio-new"><primary>ags_add_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsAddAudio"><returnvalue>AgsAddAudio</returnvalue></link> * ags_add_audio_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_add_audio_signal.xml b/doc/reference/ags/xml/ags_add_audio_signal.xml
new file mode 100644
index 0000000..3c42c5c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_add_audio_signal.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAddAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAddAudioSignal.top_of_page">AgsAddAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAddAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAddAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAddAudioSignal">AgsAddAudioSignal</link>;
+struct <link linkend="AgsAddAudioSignalClass">AgsAddAudioSignalClass</link>;
+<link linkend="AgsAddAudioSignal"><returnvalue>AgsAddAudioSignal</returnvalue></link> * <link linkend="ags-add-audio-signal-new">ags_add_audio_signal_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_signal_flags</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAddAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAddAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAddAudioSignal" role="struct">
+<title>struct AgsAddAudioSignal</title>
+<indexterm zone="AgsAddAudioSignal"><primary>AgsAddAudioSignal</primary></indexterm>
+<programlisting>struct AgsAddAudioSignal {
+ AgsTask task;
+
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ AgsDevout *devout;
+ AgsRecallID *recall_id;
+ guint audio_signal_flags;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAddAudioSignalClass" role="struct">
+<title>struct AgsAddAudioSignalClass</title>
+<indexterm zone="AgsAddAudioSignalClass"><primary>AgsAddAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsAddAudioSignalClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-add-audio-signal-new" role="function">
+<title>ags_add_audio_signal_new ()</title>
+<indexterm zone="ags-add-audio-signal-new"><primary>ags_add_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsAddAudioSignal"><returnvalue>AgsAddAudioSignal</returnvalue></link> * ags_add_audio_signal_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_signal_flags</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_add_line_member.xml b/doc/reference/ags/xml/ags_add_line_member.xml
new file mode 100644
index 0000000..7ad636a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_add_line_member.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAddLineMember">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAddLineMember.top_of_page">AgsAddLineMember</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAddLineMember</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAddLineMember.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAddLineMember">AgsAddLineMember</link>;
+struct <link linkend="AgsAddLineMemberClass">AgsAddLineMemberClass</link>;
+<link linkend="AgsAddLineMember"><returnvalue>AgsAddLineMember</returnvalue></link> * <link linkend="ags-add-line-member-new">ags_add_line_member_new</link> (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAddLineMember.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAddLineMember.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAddLineMember" role="struct">
+<title>struct AgsAddLineMember</title>
+<indexterm zone="AgsAddLineMember"><primary>AgsAddLineMember</primary></indexterm>
+<programlisting>struct AgsAddLineMember {
+ AgsTask task;
+
+ AgsLine *line;
+ AgsLineMember *line_member;
+
+ guint x;
+ guint y;
+ guint width;
+ guint height;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAddLineMemberClass" role="struct">
+<title>struct AgsAddLineMemberClass</title>
+<indexterm zone="AgsAddLineMemberClass"><primary>AgsAddLineMemberClass</primary></indexterm>
+<programlisting>struct AgsAddLineMemberClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-add-line-member-new" role="function">
+<title>ags_add_line_member_new ()</title>
+<indexterm zone="ags-add-line-member-new"><primary>ags_add_line_member_new</primary></indexterm>
+<programlisting><link linkend="AgsAddLineMember"><returnvalue>AgsAddLineMember</returnvalue></link> * ags_add_line_member_new (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_add_note.xml b/doc/reference/ags/xml/ags_add_note.xml
new file mode 100644
index 0000000..39616d2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_add_note.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAddNote">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAddNote.top_of_page">AgsAddNote</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAddNote</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAddNote.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAddNote">AgsAddNote</link>;
+struct <link linkend="AgsAddNoteClass">AgsAddNoteClass</link>;
+<link linkend="AgsAddNote"><returnvalue>AgsAddNote</returnvalue></link> * <link linkend="ags-add-note-new">ags_add_note_new</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAddNote.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAddNote.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAddNote" role="struct">
+<title>struct AgsAddNote</title>
+<indexterm zone="AgsAddNote"><primary>AgsAddNote</primary></indexterm>
+<programlisting>struct AgsAddNote {
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ AgsNote *note;
+ gboolean use_selection_list;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAddNoteClass" role="struct">
+<title>struct AgsAddNoteClass</title>
+<indexterm zone="AgsAddNoteClass"><primary>AgsAddNoteClass</primary></indexterm>
+<programlisting>struct AgsAddNoteClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-add-note-new" role="function">
+<title>ags_add_note_new ()</title>
+<indexterm zone="ags-add-note-new"><primary>ags_add_note_new</primary></indexterm>
+<programlisting><link linkend="AgsAddNote"><returnvalue>AgsAddNote</returnvalue></link> * ags_add_note_new (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_add_point_to_selection.xml b/doc/reference/ags/xml/ags_add_point_to_selection.xml
new file mode 100644
index 0000000..7aa24da
--- /dev/null
+++ b/doc/reference/ags/xml/ags_add_point_to_selection.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAddPointToSelection">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAddPointToSelection.top_of_page">AgsAddPointToSelection</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAddPointToSelection</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAddPointToSelection.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAddPointToSelection">AgsAddPointToSelection</link>;
+struct <link linkend="AgsAddPointToSelectionClass">AgsAddPointToSelectionClass</link>;
+<link linkend="AgsAddPointToSelection"><returnvalue>AgsAddPointToSelection</returnvalue></link> * <link linkend="ags-add-point-to-selection-new">ags_add_point_to_selection_new</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAddPointToSelection.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAddPointToSelection.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAddPointToSelection" role="struct">
+<title>struct AgsAddPointToSelection</title>
+<indexterm zone="AgsAddPointToSelection"><primary>AgsAddPointToSelection</primary></indexterm>
+<programlisting>struct AgsAddPointToSelection {
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+
+ gboolean replace_current_selection;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAddPointToSelectionClass" role="struct">
+<title>struct AgsAddPointToSelectionClass</title>
+<indexterm zone="AgsAddPointToSelectionClass"><primary>AgsAddPointToSelectionClass</primary></indexterm>
+<programlisting>struct AgsAddPointToSelectionClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-add-point-to-selection-new" role="function">
+<title>ags_add_point_to_selection_new ()</title>
+<indexterm zone="ags-add-point-to-selection-new"><primary>ags_add_point_to_selection_new</primary></indexterm>
+<programlisting><link linkend="AgsAddPointToSelection"><returnvalue>AgsAddPointToSelection</returnvalue></link> * ags_add_point_to_selection_new (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_add_recall.xml b/doc/reference/ags/xml/ags_add_recall.xml
new file mode 100644
index 0000000..ba44a8c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_add_recall.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAddRecall">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAddRecall.top_of_page">AgsAddRecall</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAddRecall</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAddRecall.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAddRecall">AgsAddRecall</link>;
+struct <link linkend="AgsAddRecallClass">AgsAddRecallClass</link>;
+<link linkend="AgsAddRecall"><returnvalue>AgsAddRecall</returnvalue></link> * <link linkend="ags-add-recall-new">ags_add_recall_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *context</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_play</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAddRecall.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAddRecall.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAddRecall" role="struct">
+<title>struct AgsAddRecall</title>
+<indexterm zone="AgsAddRecall"><primary>AgsAddRecall</primary></indexterm>
+<programlisting>struct AgsAddRecall {
+ AgsTask task;
+
+ GObject *context;
+
+ AgsRecall *recall;
+ gboolean is_play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAddRecallClass" role="struct">
+<title>struct AgsAddRecallClass</title>
+<indexterm zone="AgsAddRecallClass"><primary>AgsAddRecallClass</primary></indexterm>
+<programlisting>struct AgsAddRecallClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-add-recall-new" role="function">
+<title>ags_add_recall_new ()</title>
+<indexterm zone="ags-add-recall-new"><primary>ags_add_recall_new</primary></indexterm>
+<programlisting><link linkend="AgsAddRecall"><returnvalue>AgsAddRecall</returnvalue></link> * ags_add_recall_new (<parameter><link linkend="GObject"><type>GObject</type></link> *context</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_add_region_to_selection.xml b/doc/reference/ags/xml/ags_add_region_to_selection.xml
new file mode 100644
index 0000000..06afb42
--- /dev/null
+++ b/doc/reference/ags/xml/ags_add_region_to_selection.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAddRegionToSelection">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAddRegionToSelection.top_of_page">AgsAddRegionToSelection</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAddRegionToSelection</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAddRegionToSelection.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAddRegionToSelection">AgsAddRegionToSelection</link>;
+struct <link linkend="AgsAddRegionToSelectionClass">AgsAddRegionToSelectionClass</link>;
+<link linkend="AgsAddRegionToSelection"><returnvalue>AgsAddRegionToSelection</returnvalue></link> * <link linkend="ags-add-region-to-selection-new">ags_add_region_to_selection_new</link>
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAddRegionToSelection.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAddRegionToSelection.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAddRegionToSelection" role="struct">
+<title>struct AgsAddRegionToSelection</title>
+<indexterm zone="AgsAddRegionToSelection"><primary>AgsAddRegionToSelection</primary></indexterm>
+<programlisting>struct AgsAddRegionToSelection {
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x0;
+ guint y0;
+ guint x1;
+ guint y1;
+
+ gboolean replace_current_selection;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAddRegionToSelectionClass" role="struct">
+<title>struct AgsAddRegionToSelectionClass</title>
+<indexterm zone="AgsAddRegionToSelectionClass"><primary>AgsAddRegionToSelectionClass</primary></indexterm>
+<programlisting>struct AgsAddRegionToSelectionClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-add-region-to-selection-new" role="function">
+<title>ags_add_region_to_selection_new ()</title>
+<indexterm zone="ags-add-region-to-selection-new"><primary>ags_add_region_to_selection_new</primary></indexterm>
+<programlisting><link linkend="AgsAddRegionToSelection"><returnvalue>AgsAddRegionToSelection</returnvalue></link> * ags_add_region_to_selection_new
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_amplifier.xml b/doc/reference/ags/xml/ags_amplifier.xml
new file mode 100644
index 0000000..5a98e16
--- /dev/null
+++ b/doc/reference/ags/xml/ags_amplifier.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-amplifier">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-amplifier.top_of_page">ags_amplifier</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_amplifier</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-amplifier.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-amplifier">ags_amplifier</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-amplifier.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-amplifier.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-amplifier" role="function">
+<title>ags_amplifier ()</title>
+<indexterm zone="ags-amplifier"><primary>ags_amplifier</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_amplifier (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_append_audio.xml b/doc/reference/ags/xml/ags_append_audio.xml
new file mode 100644
index 0000000..a5fe551
--- /dev/null
+++ b/doc/reference/ags/xml/ags_append_audio.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAppendAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAppendAudio.top_of_page">AgsAppendAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAppendAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAppendAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAppendAudio">AgsAppendAudio</link>;
+struct <link linkend="AgsAppendAudioClass">AgsAppendAudioClass</link>;
+<link linkend="AgsAppendAudio"><returnvalue>AgsAppendAudio</returnvalue></link> * <link linkend="ags-append-audio-new">ags_append_audio_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAppendAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAppendAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAppendAudio" role="struct">
+<title>struct AgsAppendAudio</title>
+<indexterm zone="AgsAppendAudio"><primary>AgsAppendAudio</primary></indexterm>
+<programlisting>struct AgsAppendAudio {
+ AgsTask task;
+
+ GObject *audio_loop;
+ GObject *audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAppendAudioClass" role="struct">
+<title>struct AgsAppendAudioClass</title>
+<indexterm zone="AgsAppendAudioClass"><primary>AgsAppendAudioClass</primary></indexterm>
+<programlisting>struct AgsAppendAudioClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-append-audio-new" role="function">
+<title>ags_append_audio_new ()</title>
+<indexterm zone="ags-append-audio-new"><primary>ags_append_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsAppendAudio"><returnvalue>AgsAppendAudio</returnvalue></link> * ags_append_audio_new (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_append_audio_threaded.xml b/doc/reference/ags/xml/ags_append_audio_threaded.xml
new file mode 100644
index 0000000..bd0c889
--- /dev/null
+++ b/doc/reference/ags/xml/ags_append_audio_threaded.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAppendAudioThreaded">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAppendAudioThreaded.top_of_page">AgsAppendAudioThreaded</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAppendAudioThreaded</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAppendAudioThreaded.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAppendAudioThreaded">AgsAppendAudioThreaded</link>;
+struct <link linkend="AgsAppendAudioThreadedClass">AgsAppendAudioThreadedClass</link>;
+<link linkend="AgsAppendAudioThreaded"><returnvalue>AgsAppendAudioThreaded</returnvalue></link> * <link linkend="ags-append-audio-threaded-new">ags_append_audio_threaded_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAppendAudioThreaded.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAppendAudioThreaded.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAppendAudioThreaded" role="struct">
+<title>struct AgsAppendAudioThreaded</title>
+<indexterm zone="AgsAppendAudioThreaded"><primary>AgsAppendAudioThreaded</primary></indexterm>
+<programlisting>struct AgsAppendAudioThreaded {
+ AgsTask task;
+
+ GObject *audio_loop;
+ AgsDevoutPlay *devout_play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAppendAudioThreadedClass" role="struct">
+<title>struct AgsAppendAudioThreadedClass</title>
+<indexterm zone="AgsAppendAudioThreadedClass"><primary>AgsAppendAudioThreadedClass</primary></indexterm>
+<programlisting>struct AgsAppendAudioThreadedClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-append-audio-threaded-new" role="function">
+<title>ags_append_audio_threaded_new ()</title>
+<indexterm zone="ags-append-audio-threaded-new"><primary>ags_append_audio_threaded_new</primary></indexterm>
+<programlisting><link linkend="AgsAppendAudioThreaded"><returnvalue>AgsAppendAudioThreaded</returnvalue></link> * ags_append_audio_threaded_new (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_append_channel.xml b/doc/reference/ags/xml/ags_append_channel.xml
new file mode 100644
index 0000000..41bb0ce
--- /dev/null
+++ b/doc/reference/ags/xml/ags_append_channel.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAppendChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAppendChannel.top_of_page">AgsAppendChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAppendChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAppendChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAppendChannel">AgsAppendChannel</link>;
+struct <link linkend="AgsAppendChannelClass">AgsAppendChannelClass</link>;
+<link linkend="AgsAppendChannel"><returnvalue>AgsAppendChannel</returnvalue></link> * <link linkend="ags-append-channel-new">ags_append_channel_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAppendChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAppendChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAppendChannel" role="struct">
+<title>struct AgsAppendChannel</title>
+<indexterm zone="AgsAppendChannel"><primary>AgsAppendChannel</primary></indexterm>
+<programlisting>struct AgsAppendChannel {
+ AgsTask task;
+
+ GObject *audio_loop;
+ GObject *channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAppendChannelClass" role="struct">
+<title>struct AgsAppendChannelClass</title>
+<indexterm zone="AgsAppendChannelClass"><primary>AgsAppendChannelClass</primary></indexterm>
+<programlisting>struct AgsAppendChannelClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-append-channel-new" role="function">
+<title>ags_append_channel_new ()</title>
+<indexterm zone="ags-append-channel-new"><primary>ags_append_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsAppendChannel"><returnvalue>AgsAppendChannel</returnvalue></link> * ags_append_channel_new (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_append_recall.xml b/doc/reference/ags/xml/ags_append_recall.xml
new file mode 100644
index 0000000..29cc08b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_append_recall.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAppendRecall">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAppendRecall.top_of_page">AgsAppendRecall</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAppendRecall</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAppendRecall.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAppendRecall">AgsAppendRecall</link>;
+struct <link linkend="AgsAppendRecallClass">AgsAppendRecallClass</link>;
+<link linkend="AgsAppendRecall"><returnvalue>AgsAppendRecall</returnvalue></link> * <link linkend="ags-append-recall-new">ags_append_recall_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *devout_play</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAppendRecall.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAppendRecall.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAppendRecall" role="struct">
+<title>struct AgsAppendRecall</title>
+<indexterm zone="AgsAppendRecall"><primary>AgsAppendRecall</primary></indexterm>
+<programlisting>struct AgsAppendRecall {
+ AgsTask task;
+
+ GObject *audio_loop;
+ AgsDevoutPlay *devout_play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAppendRecallClass" role="struct">
+<title>struct AgsAppendRecallClass</title>
+<indexterm zone="AgsAppendRecallClass"><primary>AgsAppendRecallClass</primary></indexterm>
+<programlisting>struct AgsAppendRecallClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-append-recall-new" role="function">
+<title>ags_append_recall_new ()</title>
+<indexterm zone="ags-append-recall-new"><primary>ags_append_recall_new</primary></indexterm>
+<programlisting><link linkend="AgsAppendRecall"><returnvalue>AgsAppendRecall</returnvalue></link> * ags_append_recall_new (<parameter><link linkend="GObject"><type>GObject</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *devout_play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_applicable.xml b/doc/reference/ags/xml/ags_applicable.xml
new file mode 100644
index 0000000..0abc108
--- /dev/null
+++ b/doc/reference/ags/xml/ags_applicable.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsApplicable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsApplicable.top_of_page">AgsApplicable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsApplicable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsApplicable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsApplicable">AgsApplicable</link>;
+struct <link linkend="AgsApplicableInterface">AgsApplicableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-applicable-apply">ags_applicable_apply</link> (<parameter><link linkend="AgsApplicable"><type>AgsApplicable</type></link> *applicable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-applicable-reset">ags_applicable_reset</link> (<parameter><link linkend="AgsApplicable"><type>AgsApplicable</type></link> *applicable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-applicable-set-update">ags_applicable_set_update</link> (<parameter><link linkend="AgsApplicable"><type>AgsApplicable</type></link> *applicable</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> update</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsApplicable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsApplicable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsApplicable" role="typedef">
+<title>AgsApplicable</title>
+<indexterm zone="AgsApplicable"><primary>AgsApplicable</primary></indexterm>
+<programlisting>typedef void AgsApplicable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsApplicableInterface" role="struct">
+<title>struct AgsApplicableInterface</title>
+<indexterm zone="AgsApplicableInterface"><primary>AgsApplicableInterface</primary></indexterm>
+<programlisting>struct AgsApplicableInterface {
+ GTypeInterface interface;
+
+ void (*set_update)(AgsApplicable *applicable, gboolean update);
+ void (*apply)(AgsApplicable *applicable);
+ void (*reset)(AgsApplicable *applicable);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-applicable-apply" role="function">
+<title>ags_applicable_apply ()</title>
+<indexterm zone="ags-applicable-apply"><primary>ags_applicable_apply</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_applicable_apply (<parameter><link linkend="AgsApplicable"><type>AgsApplicable</type></link> *applicable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-applicable-reset" role="function">
+<title>ags_applicable_reset ()</title>
+<indexterm zone="ags-applicable-reset"><primary>ags_applicable_reset</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_applicable_reset (<parameter><link linkend="AgsApplicable"><type>AgsApplicable</type></link> *applicable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-applicable-set-update" role="function">
+<title>ags_applicable_set_update ()</title>
+<indexterm zone="ags-applicable-set-update"><primary>ags_applicable_set_update</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_applicable_set_update (<parameter><link linkend="AgsApplicable"><type>AgsApplicable</type></link> *applicable</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> update</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_apply_bpm.xml b/doc/reference/ags/xml/ags_apply_bpm.xml
new file mode 100644
index 0000000..c7e6401
--- /dev/null
+++ b/doc/reference/ags/xml/ags_apply_bpm.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsApplyBpm">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsApplyBpm.top_of_page">AgsApplyBpm</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsApplyBpm</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsApplyBpm.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsApplyBpm">AgsApplyBpm</link>;
+struct <link linkend="AgsApplyBpmClass">AgsApplyBpmClass</link>;
+<link linkend="AgsApplyBpm"><returnvalue>AgsApplyBpm</returnvalue></link> * <link linkend="ags-apply-bpm-new">ags_apply_bpm_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> bpm</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsApplyBpm.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsApplyBpm.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsApplyBpm" role="struct">
+<title>struct AgsApplyBpm</title>
+<indexterm zone="AgsApplyBpm"><primary>AgsApplyBpm</primary></indexterm>
+<programlisting>struct AgsApplyBpm {
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble bpm;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsApplyBpmClass" role="struct">
+<title>struct AgsApplyBpmClass</title>
+<indexterm zone="AgsApplyBpmClass"><primary>AgsApplyBpmClass</primary></indexterm>
+<programlisting>struct AgsApplyBpmClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-apply-bpm-new" role="function">
+<title>ags_apply_bpm_new ()</title>
+<indexterm zone="ags-apply-bpm-new"><primary>ags_apply_bpm_new</primary></indexterm>
+<programlisting><link linkend="AgsApplyBpm"><returnvalue>AgsApplyBpm</returnvalue></link> * ags_apply_bpm_new (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> bpm</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_apply_sequencer_length.xml b/doc/reference/ags/xml/ags_apply_sequencer_length.xml
new file mode 100644
index 0000000..3860061
--- /dev/null
+++ b/doc/reference/ags/xml/ags_apply_sequencer_length.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsApplySequencerLength">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsApplySequencerLength.top_of_page">AgsApplySequencerLength</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsApplySequencerLength</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsApplySequencerLength.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsApplySequencerLength">AgsApplySequencerLength</link>;
+struct <link linkend="AgsApplySequencerLengthClass">AgsApplySequencerLengthClass</link>;
+<link linkend="AgsApplySequencerLength"><returnvalue>AgsApplySequencerLength</returnvalue></link> * <link linkend="ags-apply-sequencer-length-new">ags_apply_sequencer_length_new</link>
+ (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> length</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsApplySequencerLength.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsApplySequencerLength.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsApplySequencerLength" role="struct">
+<title>struct AgsApplySequencerLength</title>
+<indexterm zone="AgsApplySequencerLength"><primary>AgsApplySequencerLength</primary></indexterm>
+<programlisting>struct AgsApplySequencerLength {
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble length;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsApplySequencerLengthClass" role="struct">
+<title>struct AgsApplySequencerLengthClass</title>
+<indexterm zone="AgsApplySequencerLengthClass"><primary>AgsApplySequencerLengthClass</primary></indexterm>
+<programlisting>struct AgsApplySequencerLengthClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-apply-sequencer-length-new" role="function">
+<title>ags_apply_sequencer_length_new ()</title>
+<indexterm zone="ags-apply-sequencer-length-new"><primary>ags_apply_sequencer_length_new</primary></indexterm>
+<programlisting><link linkend="AgsApplySequencerLength"><returnvalue>AgsApplySequencerLength</returnvalue></link> * ags_apply_sequencer_length_new
+ (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_apply_synth.xml b/doc/reference/ags/xml/ags_apply_synth.xml
new file mode 100644
index 0000000..6d2a647
--- /dev/null
+++ b/doc/reference/ags/xml/ags_apply_synth.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsApplySynth">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsApplySynth.top_of_page">AgsApplySynth</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsApplySynth</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsApplySynth.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsApplySynth">AgsApplySynth</link>;
+struct <link linkend="AgsApplySynthClass">AgsApplySynthClass</link>;
+enum <link linkend="AgsApplySynthWave">AgsApplySynthWave</link>;
+<link linkend="AgsApplySynth"><returnvalue>AgsApplySynth</returnvalue></link> * <link linkend="ags-apply-synth-new">ags_apply_synth_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> count</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> wave</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frame_count</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frequency</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> volume</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> loop_start</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> loop_end</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsApplySynth.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsApplySynth.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsApplySynth" role="struct">
+<title>struct AgsApplySynth</title>
+<indexterm zone="AgsApplySynth"><primary>AgsApplySynth</primary></indexterm>
+<programlisting>struct AgsApplySynth {
+ AgsTask task;
+
+ AgsChannel *start_channel;
+ guint count;
+
+ guint wave;
+
+ guint attack;
+ guint frame_count;
+ guint frequency;
+ guint phase;
+ guint start;
+
+ gdouble volume;
+
+ guint loop_start;
+ guint loop_end;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsApplySynthClass" role="struct">
+<title>struct AgsApplySynthClass</title>
+<indexterm zone="AgsApplySynthClass"><primary>AgsApplySynthClass</primary></indexterm>
+<programlisting>struct AgsApplySynthClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsApplySynthWave" role="enum">
+<title>enum AgsApplySynthWave</title>
+<indexterm zone="AgsApplySynthWave"><primary>AgsApplySynthWave</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_APPLY_SYNTH_INVALID,
+ AGS_APPLY_SYNTH_SIN,
+ AGS_APPLY_SYNTH_SAW,
+ AGS_APPLY_SYNTH_SQUARE,
+ AGS_APPLY_SYNTH_TRIANGLE,
+} AgsApplySynthWave;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-apply-synth-new" role="function">
+<title>ags_apply_synth_new ()</title>
+<indexterm zone="ags-apply-synth-new"><primary>ags_apply_synth_new</primary></indexterm>
+<programlisting><link linkend="AgsApplySynth"><returnvalue>AgsApplySynth</returnvalue></link> * ags_apply_synth_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> count</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> wave</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frame_count</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frequency</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> volume</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> loop_start</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> loop_end</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_apply_tact.xml b/doc/reference/ags/xml/ags_apply_tact.xml
new file mode 100644
index 0000000..158fdb8
--- /dev/null
+++ b/doc/reference/ags/xml/ags_apply_tact.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsApplyTact">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsApplyTact.top_of_page">AgsApplyTact</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsApplyTact</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsApplyTact.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsApplyTact">AgsApplyTact</link>;
+struct <link linkend="AgsApplyTactClass">AgsApplyTactClass</link>;
+<link linkend="AgsApplyTact"><returnvalue>AgsApplyTact</returnvalue></link> * <link linkend="ags-apply-tact-new">ags_apply_tact_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsApplyTact.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsApplyTact.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsApplyTact" role="struct">
+<title>struct AgsApplyTact</title>
+<indexterm zone="AgsApplyTact"><primary>AgsApplyTact</primary></indexterm>
+<programlisting>struct AgsApplyTact {
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble tact;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsApplyTactClass" role="struct">
+<title>struct AgsApplyTactClass</title>
+<indexterm zone="AgsApplyTactClass"><primary>AgsApplyTactClass</primary></indexterm>
+<programlisting>struct AgsApplyTactClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-apply-tact-new" role="function">
+<title>ags_apply_tact_new ()</title>
+<indexterm zone="ags-apply-tact-new"><primary>ags_apply_tact_new</primary></indexterm>
+<programlisting><link linkend="AgsApplyTact"><returnvalue>AgsApplyTact</returnvalue></link> * ags_apply_tact_new (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_apply_wavetable.xml b/doc/reference/ags/xml/ags_apply_wavetable.xml
new file mode 100644
index 0000000..d7b6cd3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_apply_wavetable.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsApplyWavetable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsApplyWavetable.top_of_page">AgsApplyWavetable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsApplyWavetable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsApplyWavetable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsApplyWavetable">AgsApplyWavetable</link>;
+struct <link linkend="AgsApplyWavetableClass">AgsApplyWavetableClass</link>;
+<link linkend="AgsApplyWavetable"><returnvalue>AgsApplyWavetable</returnvalue></link> * <link linkend="ags-apply-wavetable-new">ags_apply_wavetable_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsApplyWavetable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsApplyWavetable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsApplyWavetable" role="struct">
+<title>struct AgsApplyWavetable</title>
+<indexterm zone="AgsApplyWavetable"><primary>AgsApplyWavetable</primary></indexterm>
+<programlisting>struct AgsApplyWavetable {
+ AgsTask task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsApplyWavetableClass" role="struct">
+<title>struct AgsApplyWavetableClass</title>
+<indexterm zone="AgsApplyWavetableClass"><primary>AgsApplyWavetableClass</primary></indexterm>
+<programlisting>struct AgsApplyWavetableClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-apply-wavetable-new" role="function">
+<title>ags_apply_wavetable_new ()</title>
+<indexterm zone="ags-apply-wavetable-new"><primary>ags_apply_wavetable_new</primary></indexterm>
+<programlisting><link linkend="AgsApplyWavetable"><returnvalue>AgsApplyWavetable</returnvalue></link> * ags_apply_wavetable_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_async_queue.xml b/doc/reference/ags/xml/ags_async_queue.xml
new file mode 100644
index 0000000..740177b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_async_queue.xml
@@ -0,0 +1,251 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAsyncQueue">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAsyncQueue.top_of_page">AgsAsyncQueue</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAsyncQueue</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAsyncQueue.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-ASYNC-QUEUE-CLOCK-ID:CAPS">AGS_ASYNC_QUEUE_CLOCK_ID</link>
+#define <link linkend="AGS-ASYNC-QUEUE-DEFAULT-SYSTEM-JIFFIE:CAPS">AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE</link>
+#define <link linkend="AGS-ASYNC-QUEUE-SIGNAL-HIGH:CAPS">AGS_ASYNC_QUEUE_SIGNAL_HIGH</link>
+#define <link linkend="AGS-ASYNC-QUEUE-SIGNAL-LOW:CAPS">AGS_ASYNC_QUEUE_SIGNAL_LOW</link>
+struct <link linkend="AgsAsyncQueue">AgsAsyncQueue</link>;
+struct <link linkend="AgsAsyncQueueClass">AgsAsyncQueueClass</link>;
+enum <link linkend="AgsAsyncQueueFlags">AgsAsyncQueueFlags</link>;
+struct <link linkend="AgsContext">AgsContext</link>;
+struct <link linkend="AgsTimer">AgsTimer</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-async-queue-add">ags_async_queue_add</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);
+<link linkend="AgsContext"><returnvalue>AgsContext</returnvalue></link> * <link linkend="ags-async-queue-find-context">ags_async_queue_find_context</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-async-queue-idle">ags_async_queue_idle</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-async-queue-initerrupt">ags_async_queue_initerrupt</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);
+<link linkend="AgsAsyncQueue"><returnvalue>AgsAsyncQueue</returnvalue></link> * <link linkend="ags-async-queue-new">ags_async_queue_new</link> ();
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-async-queue-next-interval">ags_async_queue_next_interval</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-async-queue-pop-context">ags_async_queue_pop_context</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsContext"><type>AgsContext</type></link> *context</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-async-queue-push-context">ags_async_queue_push_context</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsContext"><type>AgsContext</type></link> *context</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-async-queue-remove">ags_async_queue_remove</link> (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> * <link linkend="ags-async-queue-worker">ags_async_queue_worker</link> (<parameter><link linkend="void"><type>void</type></link> *ptr</parameter>);
+<link linkend="AgsContext"><returnvalue>AgsContext</returnvalue></link> * <link linkend="ags-context-alloc">ags_context_alloc</link> (<parameter><link linkend="GQueue"><type>GQueue</type></link> *stack</parameter>,
+ <parameter><link linkend="GHashTable"><type>GHashTable</type></link> *timer</parameter>);
+<link linkend="AgsTimer"><returnvalue>AgsTimer</returnvalue></link> * <link linkend="ags-timer-alloc">ags_timer_alloc</link> (<parameter><link linkend="time-t"><type>time_t</type></link> tv_sec</parameter>,
+ <parameter>long <link linkend="tv-nsec"><type>tv_nsec</type></link> Param2</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAsyncQueue.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAsyncQueue.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-ASYNC-QUEUE-CLOCK-ID:CAPS" role="macro">
+<title>AGS_ASYNC_QUEUE_CLOCK_ID</title>
+<indexterm zone="AGS-ASYNC-QUEUE-CLOCK-ID:CAPS"><primary>AGS_ASYNC_QUEUE_CLOCK_ID</primary></indexterm>
+<programlisting>#define AGS_ASYNC_QUEUE_CLOCK_ID CLOCK_REALTIME
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-ASYNC-QUEUE-DEFAULT-SYSTEM-JIFFIE:CAPS" role="macro">
+<title>AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE</title>
+<indexterm zone="AGS-ASYNC-QUEUE-DEFAULT-SYSTEM-JIFFIE:CAPS"><primary>AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE (250)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-ASYNC-QUEUE-SIGNAL-HIGH:CAPS" role="macro">
+<title>AGS_ASYNC_QUEUE_SIGNAL_HIGH</title>
+<indexterm zone="AGS-ASYNC-QUEUE-SIGNAL-HIGH:CAPS"><primary>AGS_ASYNC_QUEUE_SIGNAL_HIGH</primary></indexterm>
+<programlisting>#define AGS_ASYNC_QUEUE_SIGNAL_HIGH SIGRTMAX
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-ASYNC-QUEUE-SIGNAL-LOW:CAPS" role="macro">
+<title>AGS_ASYNC_QUEUE_SIGNAL_LOW</title>
+<indexterm zone="AGS-ASYNC-QUEUE-SIGNAL-LOW:CAPS"><primary>AGS_ASYNC_QUEUE_SIGNAL_LOW</primary></indexterm>
+<programlisting>#define AGS_ASYNC_QUEUE_SIGNAL_LOW SIGRTMIN
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAsyncQueue" role="struct">
+<title>struct AgsAsyncQueue</title>
+<indexterm zone="AgsAsyncQueue"><primary>AgsAsyncQueue</primary></indexterm>
+<programlisting>struct AgsAsyncQueue {
+ GObject object;
+
+ guint flags;
+
+ guint output_sum;
+ guint systemrate;
+ guint interval;
+
+ timer_t timerid;
+
+ GQueue *stack;
+ GHashTable *timer;
+
+ union{
+ // atomic_t monitor;
+ pthread_mutex_t mutex;
+ }lock;
+
+ GList *context;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAsyncQueueClass" role="struct">
+<title>struct AgsAsyncQueueClass</title>
+<indexterm zone="AgsAsyncQueueClass"><primary>AgsAsyncQueueClass</primary></indexterm>
+<programlisting>struct AgsAsyncQueueClass {
+ GObjectClass object;
+
+ void (*interrupt)(AgsAsyncQueue *async_queue);
+
+ void (*push_context)(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+ void (*pop_context)(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAsyncQueueFlags" role="enum">
+<title>enum AgsAsyncQueueFlags</title>
+<indexterm zone="AgsAsyncQueueFlags"><primary>AgsAsyncQueueFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_ASYNC_QUEUE_LINUX_THREADS = 1,
+ AGS_ASYNC_QUEUE_POSIX_THREADS = 1 << 1,
+ AGS_ASYNC_QUEUE_WORKER_RUNNING = 1 << 2,
+ AGS_ASYNC_QUEUE_INTERRUPT_OWN = 1 << 2,
+ AGS_ASYNC_QUEUE_INTERRUPT_OTHER = 1 << 3,
+ AGS_ASYNC_QUEUE_STOP_BIT_0 = 1 << 4,
+ AGS_ASYNC_QUEUE_STOP_BIT_1 = 1 << 5,
+} AgsAsyncQueueFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsContext" role="struct">
+<title>struct AgsContext</title>
+<indexterm zone="AgsContext"><primary>AgsContext</primary></indexterm>
+<programlisting>struct AgsContext {
+ GQueue *stack;
+ GHashTable *timer;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimer" role="struct">
+<title>struct AgsTimer</title>
+<indexterm zone="AgsTimer"><primary>AgsTimer</primary></indexterm>
+<programlisting>struct AgsTimer {
+ struct timespec run_delay;
+
+ //NOTE: not supported for now
+ gboolean record_history;
+ gpointer history;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-add" role="function">
+<title>ags_async_queue_add ()</title>
+<indexterm zone="ags-async-queue-add"><primary>ags_async_queue_add</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_async_queue_add (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-find-context" role="function">
+<title>ags_async_queue_find_context ()</title>
+<indexterm zone="ags-async-queue-find-context"><primary>ags_async_queue_find_context</primary></indexterm>
+<programlisting><link linkend="AgsContext"><returnvalue>AgsContext</returnvalue></link> * ags_async_queue_find_context (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-idle" role="function">
+<title>ags_async_queue_idle ()</title>
+<indexterm zone="ags-async-queue-idle"><primary>ags_async_queue_idle</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_async_queue_idle (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-initerrupt" role="function">
+<title>ags_async_queue_initerrupt ()</title>
+<indexterm zone="ags-async-queue-initerrupt"><primary>ags_async_queue_initerrupt</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_async_queue_initerrupt (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-new" role="function">
+<title>ags_async_queue_new ()</title>
+<indexterm zone="ags-async-queue-new"><primary>ags_async_queue_new</primary></indexterm>
+<programlisting><link linkend="AgsAsyncQueue"><returnvalue>AgsAsyncQueue</returnvalue></link> * ags_async_queue_new ();</programlisting>
+</refsect2>
+<refsect2 id="ags-async-queue-next-interval" role="function">
+<title>ags_async_queue_next_interval ()</title>
+<indexterm zone="ags-async-queue-next-interval"><primary>ags_async_queue_next_interval</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_async_queue_next_interval (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-pop-context" role="function">
+<title>ags_async_queue_pop_context ()</title>
+<indexterm zone="ags-async-queue-pop-context"><primary>ags_async_queue_pop_context</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_async_queue_pop_context (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsContext"><type>AgsContext</type></link> *context</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-push-context" role="function">
+<title>ags_async_queue_push_context ()</title>
+<indexterm zone="ags-async-queue-push-context"><primary>ags_async_queue_push_context</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_async_queue_push_context (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsContext"><type>AgsContext</type></link> *context</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-remove" role="function">
+<title>ags_async_queue_remove ()</title>
+<indexterm zone="ags-async-queue-remove"><primary>ags_async_queue_remove</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_async_queue_remove (<parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>,
+ <parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-async-queue-worker" role="function">
+<title>ags_async_queue_worker ()</title>
+<indexterm zone="ags-async-queue-worker"><primary>ags_async_queue_worker</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> * ags_async_queue_worker (<parameter><link linkend="void"><type>void</type></link> *ptr</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-context-alloc" role="function">
+<title>ags_context_alloc ()</title>
+<indexterm zone="ags-context-alloc"><primary>ags_context_alloc</primary></indexterm>
+<programlisting><link linkend="AgsContext"><returnvalue>AgsContext</returnvalue></link> * ags_context_alloc (<parameter><link linkend="GQueue"><type>GQueue</type></link> *stack</parameter>,
+ <parameter><link linkend="GHashTable"><type>GHashTable</type></link> *timer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-timer-alloc" role="function">
+<title>ags_timer_alloc ()</title>
+<indexterm zone="ags-timer-alloc"><primary>ags_timer_alloc</primary></indexterm>
+<programlisting><link linkend="AgsTimer"><returnvalue>AgsTimer</returnvalue></link> * ags_timer_alloc (<parameter><link linkend="time-t"><type>time_t</type></link> tv_sec</parameter>,
+ <parameter>long <link linkend="tv-nsec"><type>tv_nsec</type></link> Param2</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio.xml b/doc/reference/ags/xml/ags_audio.xml
new file mode 100644
index 0000000..1bf5d43
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio.xml
@@ -0,0 +1,382 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAudio.top_of_page">AgsAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAudio">AgsAudio</link>;
+struct <link linkend="AgsAudioClass">AgsAudioClass</link>;
+enum <link linkend="AgsAudioFlags">AgsAudioFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-add-recall">ags_audio_add_recall</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-add-recall-container">ags_audio_add_recall_container</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_container</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-add-recall-id">ags_audio_add_recall_id</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-cancel">ags_audio_cancel</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-done">ags_audio_done</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-duplicate-recall">ags_audio_duplicate_recall</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-init-recall">ags_audio_init_recall</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * <link linkend="ags-audio-init-run">ags_audio_init_run</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-audio-is-playing">ags_audio_is_playing</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);
+<link linkend="AgsAudio"><returnvalue>AgsAudio</returnvalue></link> * <link linkend="ags-audio-new">ags_audio_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-open-files">ags_audio_open_files</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GSList"><type>GSList</type></link> *filenames</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> overwrite_channels</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create_channels</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-play">ags_audio_play</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-recall-change-state">ags_audio_recall_change_state</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> enable</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-audio-recursive-play-init">ags_audio_recursive_play_init</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-remove-recall">ags_audio_remove_recall</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-remove-recall-container">ags_audio_remove_recall_container</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_container</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-remove-recall-id">ags_audio_remove_recall_id</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-resolve-recall">ags_audio_resolve_recall</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-set-audio-channels">ags_audio_set_audio_channels</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-set-devout">ags_audio_set_devout</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-set-flags">ags_audio_set_flags</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-set-pads">ags_audio_set_pads</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-set-sequence-length">ags_audio_set_sequence_length</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> sequence_length</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-tact">ags_audio_tact</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-unset-flags">ags_audio_unset_flags</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAudio" role="struct">
+<title>struct AgsAudio</title>
+<indexterm zone="AgsAudio"><primary>AgsAudio</primary></indexterm>
+<programlisting>struct AgsAudio {
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+ guint level;
+
+ guint sequence_length;
+ guint audio_channels;
+ guint frequence;
+
+ guint output_pads;
+ guint output_lines;
+
+ guint input_pads;
+ guint input_lines;
+
+ AgsChannel *output;
+ AgsChannel *input;
+
+ gpointer devout_play_domain;
+
+ GList *notation;
+
+ GList *recall_id;
+
+ GList *container;
+
+ GList *recall;
+ GList *play;
+
+ GList *recall_remove; //TODO:JK: verify deprecation
+ GList *play_remove; //TODO:JK: verify deprecation
+
+ GtkWidget *machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioClass" role="struct">
+<title>struct AgsAudioClass</title>
+<indexterm zone="AgsAudioClass"><primary>AgsAudioClass</primary></indexterm>
+<programlisting>struct AgsAudioClass {
+ GObjectClass object;
+
+ void (*set_audio_channels)(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old);
+ void (*set_pads)(AgsAudio *audio,
+ GType type,
+ guint pads, guint pads_old);
+
+ AgsRecallID* (*init_run)(AgsAudio *audio);
+ void (*tact)(AgsAudio *audio, AgsRecallID *recall_id);
+ void (*done)(AgsAudio *audio, AgsRecallID *recall_id);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioFlags" role="enum">
+<title>enum AgsAudioFlags</title>
+<indexterm zone="AgsAudioFlags"><primary>AgsAudioFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_AUDIO_OUTPUT_HAS_RECYCLING = 1,
+ AGS_AUDIO_INPUT_HAS_RECYCLING = 1 << 1,
+ AGS_AUDIO_INPUT_TAKES_FILE = 1 << 2,
+ AGS_AUDIO_HAS_NOTATION = 1 << 3,
+ AGS_AUDIO_SYNC = 1 << 4, // can be combined with below
+ AGS_AUDIO_ASYNC = 1 << 5,
+ AGS_AUDIO_RUNNING = 1 << 6,
+ AGS_AUDIO_PLAYING = 1 << 7,
+ AGS_AUDIO_NOTATION_DEFAULT = 1 << 8,
+} AgsAudioFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-add-recall" role="function">
+<title>ags_audio_add_recall ()</title>
+<indexterm zone="ags-audio-add-recall"><primary>ags_audio_add_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_add_recall (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);</programlisting>
+<para>
+Adds a recall.
+</para></refsect2>
+<refsect2 id="ags-audio-add-recall-container" role="function">
+<title>ags_audio_add_recall_container ()</title>
+<indexterm zone="ags-audio-add-recall-container"><primary>ags_audio_add_recall_container</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_add_recall_container (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_container</parameter>);</programlisting>
+<para>
+Adds a recall container.
+</para></refsect2>
+<refsect2 id="ags-audio-add-recall-id" role="function">
+<title>ags_audio_add_recall_id ()</title>
+<indexterm zone="ags-audio-add-recall-id"><primary>ags_audio_add_recall_id</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_add_recall_id (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Adds a recall id.
+</para></refsect2>
+<refsect2 id="ags-audio-cancel" role="function">
+<title>ags_audio_cancel ()</title>
+<indexterm zone="ags-audio-cancel"><primary>ags_audio_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_cancel (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Cancel processing audio data.
+</para></refsect2>
+<refsect2 id="ags-audio-done" role="function">
+<title>ags_audio_done ()</title>
+<indexterm zone="ags-audio-done"><primary>ags_audio_done</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_done (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-duplicate-recall" role="function">
+<title>ags_audio_duplicate_recall ()</title>
+<indexterm zone="ags-audio-duplicate-recall"><primary>ags_audio_duplicate_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_duplicate_recall (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Duplicate all <link linkend="AgsRecall"><type>AgsRecall</type></link> templates of this <link linkend="AgsAudio"><type>AgsAudio</type></link>.
+</para></refsect2>
+<refsect2 id="ags-audio-init-recall" role="function">
+<title>ags_audio_init_recall ()</title>
+<indexterm zone="ags-audio-init-recall"><primary>ags_audio_init_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_init_recall (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Initializes the recalls of <parameter>audio</parameter>
+</para></refsect2>
+<refsect2 id="ags-audio-init-run" role="function">
+<title>ags_audio_init_run ()</title>
+<indexterm zone="ags-audio-init-run"><primary>ags_audio_init_run</primary></indexterm>
+<programlisting><link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * ags_audio_init_run (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);</programlisting>
+<para>
+Is emitted as playing audio is done.
+</para></refsect2>
+<refsect2 id="ags-audio-is-playing" role="function">
+<title>ags_audio_is_playing ()</title>
+<indexterm zone="ags-audio-is-playing"><primary>ags_audio_is_playing</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_audio_is_playing (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);</programlisting>
+<para>
+Determine if <link linkend="AgsAudio"><type>AgsAudio</type></link> is playing.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>TRUE if it's playing otherwise FALSE</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-new" role="function">
+<title>ags_audio_new ()</title>
+<indexterm zone="ags-audio-new"><primary>ags_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsAudio"><returnvalue>AgsAudio</returnvalue></link> * ags_audio_new ();</programlisting>
+<para>
+Creates a <link linkend="AgsAudio"><type>AgsAudio</type></link>, with defaults of <parameter>devout</parameter>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsAudio"><type>AgsAudio</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-open-files" role="function">
+<title>ags_audio_open_files ()</title>
+<indexterm zone="ags-audio-open-files"><primary>ags_audio_open_files</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_open_files (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GSList"><type>GSList</type></link> *filenames</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> overwrite_channels</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create_channels</parameter>);</programlisting>
+<para>
+Open some files.
+</para></refsect2>
+<refsect2 id="ags-audio-play" role="function">
+<title>ags_audio_play ()</title>
+<indexterm zone="ags-audio-play"><primary>ags_audio_play</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_play (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+Performs on single play call of appropriate stage.
+</para></refsect2>
+<refsect2 id="ags-audio-recall-change-state" role="function">
+<title>ags_audio_recall_change_state ()</title>
+<indexterm zone="ags-audio-recall-change-state"><primary>ags_audio_recall_change_state</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_recall_change_state (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> enable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-recursive-play-init" role="function">
+<title>ags_audio_recursive_play_init ()</title>
+<indexterm zone="ags-audio-recursive-play-init"><primary>ags_audio_recursive_play_init</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_audio_recursive_play_init (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);</programlisting>
+<para>
+Initializes <link linkend="AgsAudio"><type>AgsAudio</type></link> in order to do playback, sequencer or notation.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a list containing all <link linkend="AgsRecallID"><type>AgsRecallID</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-remove-recall" role="function">
+<title>ags_audio_remove_recall ()</title>
+<indexterm zone="ags-audio-remove-recall"><primary>ags_audio_remove_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_remove_recall (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);</programlisting>
+<para>
+Removes a recall.
+</para></refsect2>
+<refsect2 id="ags-audio-remove-recall-container" role="function">
+<title>ags_audio_remove_recall_container ()</title>
+<indexterm zone="ags-audio-remove-recall-container"><primary>ags_audio_remove_recall_container</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_remove_recall_container (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_container</parameter>);</programlisting>
+<para>
+Removes a recall container.
+</para></refsect2>
+<refsect2 id="ags-audio-remove-recall-id" role="function">
+<title>ags_audio_remove_recall_id ()</title>
+<indexterm zone="ags-audio-remove-recall-id"><primary>ags_audio_remove_recall_id</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_remove_recall_id (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Removes a recall id.
+</para></refsect2>
+<refsect2 id="ags-audio-resolve-recall" role="function">
+<title>ags_audio_resolve_recall ()</title>
+<indexterm zone="ags-audio-resolve-recall"><primary>ags_audio_resolve_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_resolve_recall (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Performs resolving of recalls.
+</para></refsect2>
+<refsect2 id="ags-audio-set-audio-channels" role="function">
+<title>ags_audio_set_audio_channels ()</title>
+<indexterm zone="ags-audio-set-audio-channels"><primary>ags_audio_set_audio_channels</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_set_audio_channels (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);</programlisting>
+<para>
+Resize audio channels AgsInput will be allocated first.
+</para></refsect2>
+<refsect2 id="ags-audio-set-devout" role="function">
+<title>ags_audio_set_devout ()</title>
+<indexterm zone="ags-audio-set-devout"><primary>ags_audio_set_devout</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_set_devout (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+Sets a devout object on audio.
+</para></refsect2>
+<refsect2 id="ags-audio-set-flags" role="function">
+<title>ags_audio_set_flags ()</title>
+<indexterm zone="ags-audio-set-flags"><primary>ags_audio_set_flags</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_set_flags (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);</programlisting>
+<para>
+Disable a feature of AgsAudio.
+</para></refsect2>
+<refsect2 id="ags-audio-set-pads" role="function">
+<title>ags_audio_set_pads ()</title>
+<indexterm zone="ags-audio-set-pads"><primary>ags_audio_set_pads</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_set_pads (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>);</programlisting>
+<para>
+Sets pad count for the apropriate <parameter>type</parameter>
+</para></refsect2>
+<refsect2 id="ags-audio-set-sequence-length" role="function">
+<title>ags_audio_set_sequence_length ()</title>
+<indexterm zone="ags-audio-set-sequence-length"><primary>ags_audio_set_sequence_length</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_set_sequence_length (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> sequence_length</parameter>);</programlisting>
+<para>
+Sets sequence length.
+</para></refsect2>
+<refsect2 id="ags-audio-tact" role="function">
+<title>ags_audio_tact ()</title>
+<indexterm zone="ags-audio-tact"><primary>ags_audio_tact</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_tact (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-unset-flags" role="function">
+<title>ags_audio_unset_flags ()</title>
+<indexterm zone="ags-audio-unset-flags"><primary>ags_audio_unset_flags</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_unset_flags (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio_file.xml b/doc/reference/ags/xml/ags_audio_file.xml
new file mode 100644
index 0000000..d823d14
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio_file.xml
@@ -0,0 +1,152 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAudioFile">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAudioFile.top_of_page">AgsAudioFile</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAudioFile</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAudioFile.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAudioFile">AgsAudioFile</link>;
+struct <link linkend="AgsAudioFileClass">AgsAudioFileClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-file-close">ags_audio_file_close</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-file-flush">ags_audio_file_flush</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);
+<link linkend="AgsAudioFile"><returnvalue>AgsAudioFile</returnvalue></link> * <link linkend="ags-audio-file-new">ags_audio_file_new</link> (<parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-audio-file-open">ags_audio_file_open</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-audio-file-open-from-data">ags_audio_file_open_from_data</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-file-read-audio-signal">ags_audio_file_read_audio_signal</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-audio-file-rw-open">ags_audio_file_rw_open</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-file-seek">ags_audio_file_seek</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frames</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> whence</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-file-write">ags_audio_file_write</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAudioFile.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAudioFile.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAudioFile" role="struct">
+<title>struct AgsAudioFile</title>
+<indexterm zone="AgsAudioFile"><primary>AgsAudioFile</primary></indexterm>
+<programlisting>struct AgsAudioFile {
+ GObject object;
+
+ AgsDevout *devout;
+
+ gchar *name;
+ guint samplerate;
+ guint frames;
+ guint channels;
+ guint format;
+
+ guint start_channel;
+ guint audio_channels;
+
+ GList *audio_signal;
+
+ GObject *file;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioFileClass" role="struct">
+<title>struct AgsAudioFileClass</title>
+<indexterm zone="AgsAudioFileClass"><primary>AgsAudioFileClass</primary></indexterm>
+<programlisting>struct AgsAudioFileClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-close" role="function">
+<title>ags_audio_file_close ()</title>
+<indexterm zone="ags-audio-file-close"><primary>ags_audio_file_close</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_file_close (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-flush" role="function">
+<title>ags_audio_file_flush ()</title>
+<indexterm zone="ags-audio-file-flush"><primary>ags_audio_file_flush</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_file_flush (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-new" role="function">
+<title>ags_audio_file_new ()</title>
+<indexterm zone="ags-audio-file-new"><primary>ags_audio_file_new</primary></indexterm>
+<programlisting><link linkend="AgsAudioFile"><returnvalue>AgsAudioFile</returnvalue></link> * ags_audio_file_new (<parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-open" role="function">
+<title>ags_audio_file_open ()</title>
+<indexterm zone="ags-audio-file-open"><primary>ags_audio_file_open</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_audio_file_open (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-open-from-data" role="function">
+<title>ags_audio_file_open_from_data ()</title>
+<indexterm zone="ags-audio-file-open-from-data"><primary>ags_audio_file_open_from_data</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_audio_file_open_from_data (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-read-audio-signal" role="function">
+<title>ags_audio_file_read_audio_signal ()</title>
+<indexterm zone="ags-audio-file-read-audio-signal"><primary>ags_audio_file_read_audio_signal</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_file_read_audio_signal (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-rw-open" role="function">
+<title>ags_audio_file_rw_open ()</title>
+<indexterm zone="ags-audio-file-rw-open"><primary>ags_audio_file_rw_open</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_audio_file_rw_open (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-seek" role="function">
+<title>ags_audio_file_seek ()</title>
+<indexterm zone="ags-audio-file-seek"><primary>ags_audio_file_seek</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_file_seek (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frames</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> whence</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-write" role="function">
+<title>ags_audio_file_write ()</title>
+<indexterm zone="ags-audio-file-write"><primary>ags_audio_file_write</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_file_write (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio_file_xml.xml b/doc/reference/ags/xml/ags_audio_file_xml.xml
new file mode 100644
index 0000000..c17fb09
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio_file_xml.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAudioFileXml">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAudioFileXml.top_of_page">AgsAudioFileXml</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAudioFileXml</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAudioFileXml.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAudioFileXml">AgsAudioFileXml</link>;
+struct <link linkend="AgsAudioFileXmlClass">AgsAudioFileXmlClass</link>;
+<link linkend="AgsAudioFileXml"><returnvalue>AgsAudioFileXml</returnvalue></link> * <link linkend="ags-audio-file-xml-new">ags_audio_file_xml_new</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAudioFileXml.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAudioFileXml.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAudioFileXml" role="struct">
+<title>struct AgsAudioFileXml</title>
+<indexterm zone="AgsAudioFileXml"><primary>AgsAudioFileXml</primary></indexterm>
+<programlisting>struct AgsAudioFileXml {
+ GObject object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioFileXmlClass" role="struct">
+<title>struct AgsAudioFileXmlClass</title>
+<indexterm zone="AgsAudioFileXmlClass"><primary>AgsAudioFileXmlClass</primary></indexterm>
+<programlisting>struct AgsAudioFileXmlClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-file-xml-new" role="function">
+<title>ags_audio_file_xml_new ()</title>
+<indexterm zone="ags-audio-file-xml-new"><primary>ags_audio_file_xml_new</primary></indexterm>
+<programlisting><link linkend="AgsAudioFileXml"><returnvalue>AgsAudioFileXml</returnvalue></link> * ags_audio_file_xml_new (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio_loop.xml b/doc/reference/ags/xml/ags_audio_loop.xml
new file mode 100644
index 0000000..c273813
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio_loop.xml
@@ -0,0 +1,182 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAudioLoop">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAudioLoop.top_of_page">AgsAudioLoop</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAudioLoop</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAudioLoop.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-AUDIO-LOOP-DEFAULT-JIFFIE:CAPS">AGS_AUDIO_LOOP_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsAudioLoop">AgsAudioLoop</link>;
+struct <link linkend="AgsAudioLoopClass">AgsAudioLoopClass</link>;
+enum <link linkend="AgsAudioLoopFlags">AgsAudioLoopFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-loop-add-audio">ags_audio_loop_add_audio</link> (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-loop-add-channel">ags_audio_loop_add_channel</link> (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-loop-add-recall">ags_audio_loop_add_recall</link> (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>);
+<link linkend="AgsAudioLoop"><returnvalue>AgsAudioLoop</returnvalue></link> * <link linkend="ags-audio-loop-new">ags_audio_loop_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-loop-remove-audio">ags_audio_loop_remove_audio</link> (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-loop-remove-channel">ags_audio_loop_remove_channel</link> (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-loop-remove-recall">ags_audio_loop_remove_recall</link> (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAudioLoop.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAudioLoop.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-AUDIO-LOOP-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_AUDIO_LOOP_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-AUDIO-LOOP-DEFAULT-JIFFIE:CAPS"><primary>AGS_AUDIO_LOOP_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_AUDIO_LOOP_DEFAULT_JIFFIE (48.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioLoop" role="struct">
+<title>struct AgsAudioLoop</title>
+<indexterm zone="AgsAudioLoop"><primary>AgsAudioLoop</primary></indexterm>
+<programlisting>struct AgsAudioLoop {
+ AgsThread thread;
+
+ guint flags;
+
+ volatile guint tic;
+ volatile guint last_sync;
+
+ GCond cond;
+ GMutex mutex;
+
+ gdouble frequency;
+
+ GObject *ags_main;
+
+ AgsAsyncQueue *async_queue;
+
+ AgsThread *task_thread;
+ AgsThread *gui_thread;
+ AgsThread *devout_thread;
+ AgsThread *export_thread;
+
+ pthread_mutex_t recall_mutex;
+
+ guint play_recall_ref;
+ GList *play_recall; // play AgsRecall
+
+ guint play_channel_ref;
+ GList *play_channel; // play AgsChannel
+
+ guint play_audio_ref;
+ GList *play_audio; // play AgsAudio
+
+ guint play_notation_ref;
+ GList *play_notation;
+
+ GList *tree_sanity;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioLoopClass" role="struct">
+<title>struct AgsAudioLoopClass</title>
+<indexterm zone="AgsAudioLoopClass"><primary>AgsAudioLoopClass</primary></indexterm>
+<programlisting>struct AgsAudioLoopClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioLoopFlags" role="enum">
+<title>enum AgsAudioLoopFlags</title>
+<indexterm zone="AgsAudioLoopFlags"><primary>AgsAudioLoopFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_AUDIO_LOOP_PLAY_RECALL = 1,
+ AGS_AUDIO_LOOP_PLAYING_RECALL = 1 << 1,
+ AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING = 1 << 2,
+ AGS_AUDIO_LOOP_PLAY_CHANNEL = 1 << 3,
+ AGS_AUDIO_LOOP_PLAYING_CHANNEL = 1 << 4,
+ AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING = 1 << 5,
+ AGS_AUDIO_LOOP_PLAY_AUDIO = 1 << 6,
+ AGS_AUDIO_LOOP_PLAYING_AUDIO = 1 << 7,
+ AGS_AUDIO_LOOP_PLAY_NOTATION = 1 << 8,
+ AGS_AUDIO_LOOP_PLAYING_NOTATION = 1 << 9,
+ AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING = 1 << 10,
+} AgsAudioLoopFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-loop-add-audio" role="function">
+<title>ags_audio_loop_add_audio ()</title>
+<indexterm zone="ags-audio-loop-add-audio"><primary>ags_audio_loop_add_audio</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_loop_add_audio (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-loop-add-channel" role="function">
+<title>ags_audio_loop_add_channel ()</title>
+<indexterm zone="ags-audio-loop-add-channel"><primary>ags_audio_loop_add_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_loop_add_channel (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-loop-add-recall" role="function">
+<title>ags_audio_loop_add_recall ()</title>
+<indexterm zone="ags-audio-loop-add-recall"><primary>ags_audio_loop_add_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_loop_add_recall (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-loop-new" role="function">
+<title>ags_audio_loop_new ()</title>
+<indexterm zone="ags-audio-loop-new"><primary>ags_audio_loop_new</primary></indexterm>
+<programlisting><link linkend="AgsAudioLoop"><returnvalue>AgsAudioLoop</returnvalue></link> * ags_audio_loop_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-loop-remove-audio" role="function">
+<title>ags_audio_loop_remove_audio ()</title>
+<indexterm zone="ags-audio-loop-remove-audio"><primary>ags_audio_loop_remove_audio</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_loop_remove_audio (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-loop-remove-channel" role="function">
+<title>ags_audio_loop_remove_channel ()</title>
+<indexterm zone="ags-audio-loop-remove-channel"><primary>ags_audio_loop_remove_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_loop_remove_channel (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-loop-remove-recall" role="function">
+<title>ags_audio_loop_remove_recall ()</title>
+<indexterm zone="ags-audio-loop-remove-recall"><primary>ags_audio_loop_remove_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_loop_remove_recall (<parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio_preferences.xml b/doc/reference/ags/xml/ags_audio_preferences.xml
new file mode 100644
index 0000000..a9cf374
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio_preferences.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAudioPreferences">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAudioPreferences.top_of_page">AgsAudioPreferences</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAudioPreferences</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAudioPreferences.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAudioPreferences">AgsAudioPreferences</link>;
+struct <link linkend="AgsAudioPreferencesClass">AgsAudioPreferencesClass</link>;
+<link linkend="AgsAudioPreferences"><returnvalue>AgsAudioPreferences</returnvalue></link> * <link linkend="ags-audio-preferences-new">ags_audio_preferences_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAudioPreferences.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAudioPreferences.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAudioPreferences" role="struct">
+<title>struct AgsAudioPreferences</title>
+<indexterm zone="AgsAudioPreferences"><primary>AgsAudioPreferences</primary></indexterm>
+<programlisting>struct AgsAudioPreferences {
+ GtkVBox vbox;
+
+ GtkComboBox *card;
+ GtkSpinButton *audio_channels;
+ GtkSpinButton *samplerate;
+ GtkSpinButton *buffer_size;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioPreferencesClass" role="struct">
+<title>struct AgsAudioPreferencesClass</title>
+<indexterm zone="AgsAudioPreferencesClass"><primary>AgsAudioPreferencesClass</primary></indexterm>
+<programlisting>struct AgsAudioPreferencesClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-preferences-new" role="function">
+<title>ags_audio_preferences_new ()</title>
+<indexterm zone="ags-audio-preferences-new"><primary>ags_audio_preferences_new</primary></indexterm>
+<programlisting><link linkend="AgsAudioPreferences"><returnvalue>AgsAudioPreferences</returnvalue></link> * ags_audio_preferences_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio_preferences_callbacks.xml b/doc/reference/ags/xml/ags_audio_preferences_callbacks.xml
new file mode 100644
index 0000000..1e4e656
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio_preferences_callbacks.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-audio-preferences-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-audio-preferences-callbacks.top_of_page">ags_audio_preferences_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_audio_preferences_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-audio-preferences-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-preferences-audio-channels-changed">ags_audio_preferences_audio_channels_changed</link>
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-preferences-buffer-size-changed">ags_audio_preferences_buffer_size_changed</link>
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-preferences-card-changed-callback">ags_audio_preferences_card_changed_callback</link>
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-preferences-samplerate-changed">ags_audio_preferences_samplerate_changed</link>
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-audio-preferences-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-audio-preferences-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-audio-preferences-audio-channels-changed" role="function">
+<title>ags_audio_preferences_audio_channels_changed ()</title>
+<indexterm zone="ags-audio-preferences-audio-channels-changed"><primary>ags_audio_preferences_audio_channels_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_preferences_audio_channels_changed
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-preferences-buffer-size-changed" role="function">
+<title>ags_audio_preferences_buffer_size_changed ()</title>
+<indexterm zone="ags-audio-preferences-buffer-size-changed"><primary>ags_audio_preferences_buffer_size_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_preferences_buffer_size_changed
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-preferences-card-changed-callback" role="function">
+<title>ags_audio_preferences_card_changed_callback ()</title>
+<indexterm zone="ags-audio-preferences-card-changed-callback"><primary>ags_audio_preferences_card_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_preferences_card_changed_callback
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-preferences-samplerate-changed" role="function">
+<title>ags_audio_preferences_samplerate_changed ()</title>
+<indexterm zone="ags-audio-preferences-samplerate-changed"><primary>ags_audio_preferences_samplerate_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_preferences_samplerate_changed
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsAudioPreferences"><type>AgsAudioPreferences</type></link> *audio_preferences</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio_set_recycling.xml b/doc/reference/ags/xml/ags_audio_set_recycling.xml
new file mode 100644
index 0000000..c637e34
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio_set_recycling.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAudioSetRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAudioSetRecycling.top_of_page">AgsAudioSetRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAudioSetRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAudioSetRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsAudioSetRecycling">AgsAudioSetRecycling</link>;
+struct <link linkend="AgsAudioSetRecyclingClass">AgsAudioSetRecyclingClass</link>;
+<link linkend="AgsAudioSetRecycling"><returnvalue>AgsAudioSetRecycling</returnvalue></link> * <link linkend="ags-audio-set-recycling-new">ags_audio_set_recycling_new</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *parameter</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAudioSetRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAudioSetRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAudioSetRecycling" role="struct">
+<title>struct AgsAudioSetRecycling</title>
+<indexterm zone="AgsAudioSetRecycling"><primary>AgsAudioSetRecycling</primary></indexterm>
+<programlisting>struct AgsAudioSetRecycling {
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ GParameter *parameter;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioSetRecyclingClass" role="struct">
+<title>struct AgsAudioSetRecyclingClass</title>
+<indexterm zone="AgsAudioSetRecyclingClass"><primary>AgsAudioSetRecyclingClass</primary></indexterm>
+<programlisting>struct AgsAudioSetRecyclingClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-set-recycling-new" role="function">
+<title>ags_audio_set_recycling_new ()</title>
+<indexterm zone="ags-audio-set-recycling-new"><primary>ags_audio_set_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsAudioSetRecycling"><returnvalue>AgsAudioSetRecycling</returnvalue></link> * ags_audio_set_recycling_new (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *parameter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_audio_signal.xml b/doc/reference/ags/xml/ags_audio_signal.xml
new file mode 100644
index 0000000..ea0d44c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_audio_signal.xml
@@ -0,0 +1,331 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAudioSignal.top_of_page">AgsAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis> <link linkend="AgsAttack">AgsAttack</link>;
+enum <link linkend="AgsAttackFlags">AgsAttackFlags</link>;
+struct <link linkend="AgsAudioSignal">AgsAudioSignal</link>;
+struct <link linkend="AgsAudioSignalClass">AgsAudioSignalClass</link>;
+enum <link linkend="AgsAudioSignalFlags">AgsAudioSignalFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-add-stream">ags_audio_signal_add_stream</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-copy-buffer-to-buffer">ags_audio_signal_copy_buffer_to_buffer</link>
+ (<parameter>signed <link linkend="short"><type>short</type></link> *destination</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dchannels</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *source</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> schannels</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-copy-buffer-to-double-buffer">ags_audio_signal_copy_buffer_to_double_buffer</link>
+ (<parameter><link linkend="double"><type>double</type></link> *destination</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dchannels</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *source</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> schannels</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-copy-double-buffer-to-buffer">ags_audio_signal_copy_double_buffer_to_buffer</link>
+ (<parameter>signed <link linkend="short"><type>short</type></link> *destination</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dchannels</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> *source</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> schannels</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-duplicate-stream">ags_audio_signal_duplicate_stream</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *template</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-audio-signal-get-by-recall-id">ags_audio_signal_get_by_recall_id</link> (<parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-audio-signal-get-length-till-current">ags_audio_signal_get_length_till_current</link>
+ (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-audio-signal-get-stream-current">ags_audio_signal_get_stream_current</link> (<parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);
+<link linkend="AgsAudioSignal"><returnvalue>AgsAudioSignal</returnvalue></link> * <link linkend="ags-audio-signal-get-template">ags_audio_signal_get_template</link> (<parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-morph-samplerate">ags_audio_signal_morph_samplerate</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> samplerate</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> k_morph</parameter>);
+<link linkend="AgsAudioSignal"><returnvalue>AgsAudioSignal</returnvalue></link> * <link linkend="ags-audio-signal-new">ags_audio_signal_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);
+<link linkend="AgsAudioSignal"><returnvalue>AgsAudioSignal</returnvalue></link> * <link linkend="ags-audio-signal-new-with-length">ags_audio_signal_new_with_length</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-realloc-buffer-size">ags_audio_signal_realloc_buffer_size</link>
+ (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-scale">ags_audio_signal_scale</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *template</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-stream-resize">ags_audio_signal_stream_resize</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-stream-safe-resize">ags_audio_signal_stream_safe_resize</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-audio-signal-tile">ags_audio_signal_tile</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *template</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+signed <link linkend="short"><returnvalue>short</returnvalue></link> * <link linkend="ags-stream-alloc">ags_stream_alloc</link> (<parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsAttack" role="struct">
+<title>AgsAttack</title>
+<indexterm zone="AgsAttack"><primary>AgsAttack</primary></indexterm>
+<programlisting>typedef struct _AgsAttack AgsAttack;</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAttackFlags" role="enum">
+<title>enum AgsAttackFlags</title>
+<indexterm zone="AgsAttackFlags"><primary>AgsAttackFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_ATTACK_INITIAL_RUN = 1,
+ AGS_ATTACK_SWAP = 1 << 1,
+} AgsAttackFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioSignal" role="struct">
+<title>struct AgsAudioSignal</title>
+<indexterm zone="AgsAudioSignal"><primary>AgsAudioSignal</primary></indexterm>
+<programlisting>struct AgsAudioSignal {
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+
+ GObject *recycling;
+ GObject *recall_id; // AGS_TYPE_RECALL_ID to identify the AgsAudioSignal
+
+ guint samplerate;
+ guint buffer_size;
+ guint resolution;
+
+ guint length;
+ guint last_frame; // the last frame at stream_end
+ guint loop_start;
+ guint loop_end;
+
+ guint delay;
+ guint attack;
+
+ guint lock_attack;
+
+ GList *stream_beginning;
+ GList *stream_current;
+ GList *stream_end;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioSignalClass" role="struct">
+<title>struct AgsAudioSignalClass</title>
+<indexterm zone="AgsAudioSignalClass"><primary>AgsAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsAudioSignalClass {
+ GObjectClass object;
+
+ void (*realloc_buffer_size)(AgsAudioSignal *audio_signal, guint buffer_size);
+ void (*morph_samplerate)(AgsAudioSignal *audio_signal, guint samplerate, double k_morph);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAudioSignalFlags" role="enum">
+<title>enum AgsAudioSignalFlags</title>
+<indexterm zone="AgsAudioSignalFlags"><primary>AgsAudioSignalFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_AUDIO_SIGNAL_TEMPLATE = 1,
+ AGS_AUDIO_SIGNAL_PLAY_DONE = 1 << 1,
+ AGS_AUDIO_SIGNAL_STANDALONE = 1 << 2,
+} AgsAudioSignalFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-signal-add-stream" role="function">
+<title>ags_audio_signal_add_stream ()</title>
+<indexterm zone="ags-audio-signal-add-stream"><primary>ags_audio_signal_add_stream</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_add_stream (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+Adds a buffer at the end of the stream.
+</para></refsect2>
+<refsect2 id="ags-audio-signal-copy-buffer-to-buffer" role="function">
+<title>ags_audio_signal_copy_buffer_to_buffer ()</title>
+<indexterm zone="ags-audio-signal-copy-buffer-to-buffer"><primary>ags_audio_signal_copy_buffer_to_buffer</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_copy_buffer_to_buffer
+ (<parameter>signed <link linkend="short"><type>short</type></link> *destination</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dchannels</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *source</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> schannels</parameter>);</programlisting>
+<para>
+Copy a buffer to an other buffer.
+</para></refsect2>
+<refsect2 id="ags-audio-signal-copy-buffer-to-double-buffer" role="function">
+<title>ags_audio_signal_copy_buffer_to_double_buffer ()</title>
+<indexterm zone="ags-audio-signal-copy-buffer-to-double-buffer"><primary>ags_audio_signal_copy_buffer_to_double_buffer</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_copy_buffer_to_double_buffer
+ (<parameter><link linkend="double"><type>double</type></link> *destination</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dchannels</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *source</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> schannels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-signal-copy-double-buffer-to-buffer" role="function">
+<title>ags_audio_signal_copy_double_buffer_to_buffer ()</title>
+<indexterm zone="ags-audio-signal-copy-double-buffer-to-buffer"><primary>ags_audio_signal_copy_double_buffer_to_buffer</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_copy_double_buffer_to_buffer
+ (<parameter>signed <link linkend="short"><type>short</type></link> *destination</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dchannels</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> *source</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> schannels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-signal-duplicate-stream" role="function">
+<title>ags_audio_signal_duplicate_stream ()</title>
+<indexterm zone="ags-audio-signal-duplicate-stream"><primary>ags_audio_signal_duplicate_stream</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_duplicate_stream (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *template</parameter>);</programlisting>
+<para>
+Copy stream of one audio signal to another
+</para></refsect2>
+<refsect2 id="ags-audio-signal-get-by-recall-id" role="function">
+<title>ags_audio_signal_get_by_recall_id ()</title>
+<indexterm zone="ags-audio-signal-get-by-recall-id"><primary>ags_audio_signal_get_by_recall_id</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_audio_signal_get_by_recall_id (<parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Retrieve next audio signal refering to <parameter>recall_id</parameter>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>matching <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-signal-get-length-till-current" role="function">
+<title>ags_audio_signal_get_length_till_current ()</title>
+<indexterm zone="ags-audio-signal-get-length-till-current"><primary>ags_audio_signal_get_length_till_current</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_audio_signal_get_length_till_current
+ (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+Counts the buffers from stream_beginning upto stream_current.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the counted length.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-signal-get-stream-current" role="function">
+<title>ags_audio_signal_get_stream_current ()</title>
+<indexterm zone="ags-audio-signal-get-stream-current"><primary>ags_audio_signal_get_stream_current</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_audio_signal_get_stream_current (<parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Retrieve next current stream of <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> list.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>next <link linkend="GList"><type>GList</type></link> matching <link linkend="AgsRecallID"><type>AgsRecallID</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-signal-get-template" role="function">
+<title>ags_audio_signal_get_template ()</title>
+<indexterm zone="ags-audio-signal-get-template"><primary>ags_audio_signal_get_template</primary></indexterm>
+<programlisting><link linkend="AgsAudioSignal"><returnvalue>AgsAudioSignal</returnvalue></link> * ags_audio_signal_get_template (<parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+Retrieve the template audio signal.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the template <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-signal-morph-samplerate" role="function">
+<title>ags_audio_signal_morph_samplerate ()</title>
+<indexterm zone="ags-audio-signal-morph-samplerate"><primary>ags_audio_signal_morph_samplerate</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_morph_samplerate (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> samplerate</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> k_morph</parameter>);</programlisting>
+<para>
+Scale audio signal data.
+</para></refsect2>
+<refsect2 id="ags-audio-signal-new" role="function">
+<title>ags_audio_signal_new ()</title>
+<indexterm zone="ags-audio-signal-new"><primary>ags_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsAudioSignal"><returnvalue>AgsAudioSignal</returnvalue></link> * ags_audio_signal_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link>, with defaults of <parameter>devout</parameter>, linking <parameter>recycling</parameter> tree
+and refering to <parameter>recall_id</parameter>.
+The audio data is tiled to <parameter>length</parameter> frame count.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-audio-signal-new-with-length" role="function">
+<title>ags_audio_signal_new_with_length ()</title>
+<indexterm zone="ags-audio-signal-new-with-length"><primary>ags_audio_signal_new_with_length</primary></indexterm>
+<programlisting><link linkend="AgsAudioSignal"><returnvalue>AgsAudioSignal</returnvalue></link> * ags_audio_signal_new_with_length (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-signal-realloc-buffer-size" role="function">
+<title>ags_audio_signal_realloc_buffer_size ()</title>
+<indexterm zone="ags-audio-signal-realloc-buffer-size"><primary>ags_audio_signal_realloc_buffer_size</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_realloc_buffer_size
+ (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+Realloc the stream to the new buffer size.
+</para></refsect2>
+<refsect2 id="ags-audio-signal-scale" role="function">
+<title>ags_audio_signal_scale ()</title>
+<indexterm zone="ags-audio-signal-scale"><primary>ags_audio_signal_scale</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_scale (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *template</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-audio-signal-stream-resize" role="function">
+<title>ags_audio_signal_stream_resize ()</title>
+<indexterm zone="ags-audio-signal-stream-resize"><primary>ags_audio_signal_stream_resize</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_stream_resize (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+Resizes an <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link>'s stream but be carefull with shrinking.
+This function may crash the application.
+</para></refsect2>
+<refsect2 id="ags-audio-signal-stream-safe-resize" role="function">
+<title>ags_audio_signal_stream_safe_resize ()</title>
+<indexterm zone="ags-audio-signal-stream-safe-resize"><primary>ags_audio_signal_stream_safe_resize</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_stream_safe_resize (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+Resizes an <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link>'s stream but doesn't shrink more than the
+current stream position.
+</para></refsect2>
+<refsect2 id="ags-audio-signal-tile" role="function">
+<title>ags_audio_signal_tile ()</title>
+<indexterm zone="ags-audio-signal-tile"><primary>ags_audio_signal_tile</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_audio_signal_tile (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *template</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stream-alloc" role="function">
+<title>ags_stream_alloc ()</title>
+<indexterm zone="ags-stream-alloc"><primary>ags_stream_alloc</primary></indexterm>
+<programlisting>signed <link linkend="short"><returnvalue>short</returnvalue></link> * ags_stream_alloc (<parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+Allocs an audio buffer.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the audio data array</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_autosave_thread.xml b/doc/reference/ags/xml/ags_autosave_thread.xml
new file mode 100644
index 0000000..35edf33
--- /dev/null
+++ b/doc/reference/ags/xml/ags_autosave_thread.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsAutosaveThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsAutosaveThread.top_of_page">AgsAutosaveThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsAutosaveThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsAutosaveThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-AUTOSAVE-THREAD-DEFAULT-FILENAME:CAPS">AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME</link>
+#define <link linkend="AGS-AUTOSAVE-THREAD-DEFAULT-JIFFIE:CAPS">AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsAutosaveThread">AgsAutosaveThread</link>;
+struct <link linkend="AgsAutosaveThreadClass">AgsAutosaveThreadClass</link>;
+<link linkend="AgsAutosaveThread"><returnvalue>AgsAutosaveThread</returnvalue></link> * <link linkend="ags-autosave-thread-new">ags_autosave_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsAutosaveThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsAutosaveThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-AUTOSAVE-THREAD-DEFAULT-FILENAME:CAPS" role="macro">
+<title>AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME</title>
+<indexterm zone="AGS-AUTOSAVE-THREAD-DEFAULT-FILENAME:CAPS"><primary>AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME</primary></indexterm>
+<programlisting>#define AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME "ags-autosaved.xml\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-AUTOSAVE-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-AUTOSAVE-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE (0.2)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAutosaveThread" role="struct">
+<title>struct AgsAutosaveThread</title>
+<indexterm zone="AgsAutosaveThread"><primary>AgsAutosaveThread</primary></indexterm>
+<programlisting>struct AgsAutosaveThread {
+ AgsThread thread;
+
+
+ volatile guint tic;
+ volatile guint last_sync;
+
+ AgsMain *ags_main;
+
+ guint delay;
+ guint counter;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAutosaveThreadClass" role="struct">
+<title>struct AgsAutosaveThreadClass</title>
+<indexterm zone="AgsAutosaveThreadClass"><primary>AgsAutosaveThreadClass</primary></indexterm>
+<programlisting>struct AgsAutosaveThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-autosave-thread-new" role="function">
+<title>ags_autosave_thread_new ()</title>
+<indexterm zone="ags-autosave-thread-new"><primary>ags_autosave_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsAutosaveThread"><returnvalue>AgsAutosaveThread</returnvalue></link> * ags_autosave_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_buffer_audio_signal.xml b/doc/reference/ags/xml/ags_buffer_audio_signal.xml
new file mode 100644
index 0000000..605b822
--- /dev/null
+++ b/doc/reference/ags/xml/ags_buffer_audio_signal.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsBufferAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsBufferAudioSignal.top_of_page">AgsBufferAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsBufferAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsBufferAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsBufferAudioSignal">AgsBufferAudioSignal</link>;
+struct <link linkend="AgsBufferAudioSignalClass">AgsBufferAudioSignalClass</link>;
+<link linkend="AgsBufferAudioSignal"><returnvalue>AgsBufferAudioSignal</returnvalue></link> * <link linkend="ags-buffer-audio-signal-new">ags_buffer_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsBufferAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsBufferAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsBufferAudioSignal" role="struct">
+<title>struct AgsBufferAudioSignal</title>
+<indexterm zone="AgsBufferAudioSignal"><primary>AgsBufferAudioSignal</primary></indexterm>
+<programlisting>struct AgsBufferAudioSignal {
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsBufferAudioSignalClass" role="struct">
+<title>struct AgsBufferAudioSignalClass</title>
+<indexterm zone="AgsBufferAudioSignalClass"><primary>AgsBufferAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsBufferAudioSignalClass {
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-buffer-audio-signal-new" role="function">
+<title>ags_buffer_audio_signal_new ()</title>
+<indexterm zone="ags-buffer-audio-signal-new"><primary>ags_buffer_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsBufferAudioSignal"><returnvalue>AgsBufferAudioSignal</returnvalue></link> * ags_buffer_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_buffer_channel.xml b/doc/reference/ags/xml/ags_buffer_channel.xml
new file mode 100644
index 0000000..e20eddc
--- /dev/null
+++ b/doc/reference/ags/xml/ags_buffer_channel.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsBufferChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsBufferChannel.top_of_page">AgsBufferChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsBufferChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsBufferChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsBufferChannel">AgsBufferChannel</link>;
+struct <link linkend="AgsBufferChannelClass">AgsBufferChannelClass</link>;
+<link linkend="AgsBufferChannel"><returnvalue>AgsBufferChannel</returnvalue></link> * <link linkend="ags-buffer-channel-new">ags_buffer_channel_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsBufferChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsBufferChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsBufferChannel" role="struct">
+<title>struct AgsBufferChannel</title>
+<indexterm zone="AgsBufferChannel"><primary>AgsBufferChannel</primary></indexterm>
+<programlisting>struct AgsBufferChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsBufferChannelClass" role="struct">
+<title>struct AgsBufferChannelClass</title>
+<indexterm zone="AgsBufferChannelClass"><primary>AgsBufferChannelClass</primary></indexterm>
+<programlisting>struct AgsBufferChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-buffer-channel-new" role="function">
+<title>ags_buffer_channel_new ()</title>
+<indexterm zone="ags-buffer-channel-new"><primary>ags_buffer_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsBufferChannel"><returnvalue>AgsBufferChannel</returnvalue></link> * ags_buffer_channel_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_buffer_channel_run.xml b/doc/reference/ags/xml/ags_buffer_channel_run.xml
new file mode 100644
index 0000000..4261b72
--- /dev/null
+++ b/doc/reference/ags/xml/ags_buffer_channel_run.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsBufferChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsBufferChannelRun.top_of_page">AgsBufferChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsBufferChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsBufferChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsBufferChannelRun">AgsBufferChannelRun</link>;
+struct <link linkend="AgsBufferChannelRunClass">AgsBufferChannelRunClass</link>;
+<link linkend="AgsBufferChannelRun"><returnvalue>AgsBufferChannelRun</returnvalue></link> * <link linkend="ags-buffer-channel-run-new">ags_buffer_channel_run_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsBufferChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsBufferChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsBufferChannelRun" role="struct">
+<title>struct AgsBufferChannelRun</title>
+<indexterm zone="AgsBufferChannelRun"><primary>AgsBufferChannelRun</primary></indexterm>
+<programlisting>struct AgsBufferChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsBufferChannelRunClass" role="struct">
+<title>struct AgsBufferChannelRunClass</title>
+<indexterm zone="AgsBufferChannelRunClass"><primary>AgsBufferChannelRunClass</primary></indexterm>
+<programlisting>struct AgsBufferChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-buffer-channel-run-new" role="function">
+<title>ags_buffer_channel_run_new ()</title>
+<indexterm zone="ags-buffer-channel-run-new"><primary>ags_buffer_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsBufferChannelRun"><returnvalue>AgsBufferChannelRun</returnvalue></link> * ags_buffer_channel_run_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_buffer_recycling.xml b/doc/reference/ags/xml/ags_buffer_recycling.xml
new file mode 100644
index 0000000..47ecb21
--- /dev/null
+++ b/doc/reference/ags/xml/ags_buffer_recycling.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsBufferRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsBufferRecycling.top_of_page">AgsBufferRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsBufferRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsBufferRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsBufferRecycling">AgsBufferRecycling</link>;
+struct <link linkend="AgsBufferRecyclingClass">AgsBufferRecyclingClass</link>;
+<link linkend="AgsBufferRecycling"><returnvalue>AgsBufferRecycling</returnvalue></link> * <link linkend="ags-buffer-recycling-new">ags_buffer_recycling_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsBufferRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsBufferRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsBufferRecycling" role="struct">
+<title>struct AgsBufferRecycling</title>
+<indexterm zone="AgsBufferRecycling"><primary>AgsBufferRecycling</primary></indexterm>
+<programlisting>struct AgsBufferRecycling {
+ AgsRecallRecycling recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsBufferRecyclingClass" role="struct">
+<title>struct AgsBufferRecyclingClass</title>
+<indexterm zone="AgsBufferRecyclingClass"><primary>AgsBufferRecyclingClass</primary></indexterm>
+<programlisting>struct AgsBufferRecyclingClass {
+ AgsRecallRecyclingClass recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-buffer-recycling-new" role="function">
+<title>ags_buffer_recycling_new ()</title>
+<indexterm zone="ags-buffer-recycling-new"><primary>ags_buffer_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsBufferRecycling"><returnvalue>AgsBufferRecycling</returnvalue></link> * ags_buffer_recycling_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_cancel_audio.xml b/doc/reference/ags/xml/ags_cancel_audio.xml
new file mode 100644
index 0000000..081ea71
--- /dev/null
+++ b/doc/reference/ags/xml/ags_cancel_audio.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCancelAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCancelAudio.top_of_page">AgsCancelAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCancelAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCancelAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCancelAudio">AgsCancelAudio</link>;
+struct <link linkend="AgsCancelAudioClass">AgsCancelAudioClass</link>;
+<link linkend="AgsCancelAudio"><returnvalue>AgsCancelAudio</returnvalue></link> * <link linkend="ags-cancel-audio-new">ags_cancel_audio_new</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCancelAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCancelAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCancelAudio" role="struct">
+<title>struct AgsCancelAudio</title>
+<indexterm zone="AgsCancelAudio"><primary>AgsCancelAudio</primary></indexterm>
+<programlisting>struct AgsCancelAudio {
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCancelAudioClass" role="struct">
+<title>struct AgsCancelAudioClass</title>
+<indexterm zone="AgsCancelAudioClass"><primary>AgsCancelAudioClass</primary></indexterm>
+<programlisting>struct AgsCancelAudioClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-cancel-audio-new" role="function">
+<title>ags_cancel_audio_new ()</title>
+<indexterm zone="ags-cancel-audio-new"><primary>ags_cancel_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsCancelAudio"><returnvalue>AgsCancelAudio</returnvalue></link> * ags_cancel_audio_new (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_cancel_channel.xml b/doc/reference/ags/xml/ags_cancel_channel.xml
new file mode 100644
index 0000000..90c48a4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_cancel_channel.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCancelChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCancelChannel.top_of_page">AgsCancelChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCancelChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCancelChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCancelChannel">AgsCancelChannel</link>;
+struct <link linkend="AgsCancelChannelClass">AgsCancelChannelClass</link>;
+<link linkend="AgsCancelChannel"><returnvalue>AgsCancelChannel</returnvalue></link> * <link linkend="ags-cancel-channel-new">ags_cancel_channel_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCancelChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCancelChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCancelChannel" role="struct">
+<title>struct AgsCancelChannel</title>
+<indexterm zone="AgsCancelChannel"><primary>AgsCancelChannel</primary></indexterm>
+<programlisting>struct AgsCancelChannel {
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+
+ AgsDevoutPlay *play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCancelChannelClass" role="struct">
+<title>struct AgsCancelChannelClass</title>
+<indexterm zone="AgsCancelChannelClass"><primary>AgsCancelChannelClass</primary></indexterm>
+<programlisting>struct AgsCancelChannelClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-cancel-channel-new" role="function">
+<title>ags_cancel_channel_new ()</title>
+<indexterm zone="ags-cancel-channel-new"><primary>ags_cancel_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsCancelChannel"><returnvalue>AgsCancelChannel</returnvalue></link> * ags_cancel_channel_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_cancel_recall.xml b/doc/reference/ags/xml/ags_cancel_recall.xml
new file mode 100644
index 0000000..daacaea
--- /dev/null
+++ b/doc/reference/ags/xml/ags_cancel_recall.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCancelRecall">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCancelRecall.top_of_page">AgsCancelRecall</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCancelRecall</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCancelRecall.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCancelRecall">AgsCancelRecall</link>;
+struct <link linkend="AgsCancelRecallClass">AgsCancelRecallClass</link>;
+<link linkend="AgsCancelRecall"><returnvalue>AgsCancelRecall</returnvalue></link> * <link linkend="ags-cancel-recall-new">ags_cancel_recall_new</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCancelRecall.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCancelRecall.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCancelRecall" role="struct">
+<title>struct AgsCancelRecall</title>
+<indexterm zone="AgsCancelRecall"><primary>AgsCancelRecall</primary></indexterm>
+<programlisting>struct AgsCancelRecall {
+ AgsTask task;
+
+ AgsRecall *recall;
+
+ AgsDevoutPlay *play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCancelRecallClass" role="struct">
+<title>struct AgsCancelRecallClass</title>
+<indexterm zone="AgsCancelRecallClass"><primary>AgsCancelRecallClass</primary></indexterm>
+<programlisting>struct AgsCancelRecallClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-cancel-recall-new" role="function">
+<title>ags_cancel_recall_new ()</title>
+<indexterm zone="ags-cancel-recall-new"><primary>ags_cancel_recall_new</primary></indexterm>
+<programlisting><link linkend="AgsCancelRecall"><returnvalue>AgsCancelRecall</returnvalue></link> * ags_cancel_recall_new (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_cartesian.xml b/doc/reference/ags/xml/ags_cartesian.xml
new file mode 100644
index 0000000..329222b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_cartesian.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCartesian">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCartesian.top_of_page">AgsCartesian</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCartesian</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCartesian.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCartesian">AgsCartesian</link>;
+struct <link linkend="AgsCartesianClass">AgsCartesianClass</link>;
+<link linkend="AgsCartesian"><returnvalue>AgsCartesian</returnvalue></link> * <link linkend="ags-cartesian-new">ags_cartesian_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCartesian.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCartesian.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCartesian" role="struct">
+<title>struct AgsCartesian</title>
+<indexterm zone="AgsCartesian"><primary>AgsCartesian</primary></indexterm>
+<programlisting>struct AgsCartesian {
+ GtkWidget widget;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCartesianClass" role="struct">
+<title>struct AgsCartesianClass</title>
+<indexterm zone="AgsCartesianClass"><primary>AgsCartesianClass</primary></indexterm>
+<programlisting>struct AgsCartesianClass {
+ GtkWidgetClass widget;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-cartesian-new" role="function">
+<title>ags_cartesian_new ()</title>
+<indexterm zone="ags-cartesian-new"><primary>ags_cartesian_new</primary></indexterm>
+<programlisting><link linkend="AgsCartesian"><returnvalue>AgsCartesian</returnvalue></link> * ags_cartesian_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_change_indicator.xml b/doc/reference/ags/xml/ags_change_indicator.xml
new file mode 100644
index 0000000..eb514ba
--- /dev/null
+++ b/doc/reference/ags/xml/ags_change_indicator.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsChangeIndicator">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsChangeIndicator.top_of_page">AgsChangeIndicator</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsChangeIndicator</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsChangeIndicator.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsChangeIndicator">AgsChangeIndicator</link>;
+struct <link linkend="AgsChangeIndicatorClass">AgsChangeIndicatorClass</link>;
+<link linkend="AgsChangeIndicator"><returnvalue>AgsChangeIndicator</returnvalue></link> * <link linkend="ags-change-indicator-new">ags_change_indicator_new</link> (<parameter><link linkend="AgsIndicator"><type>AgsIndicator</type></link> *indicator</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> value</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsChangeIndicator.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsChangeIndicator.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsChangeIndicator" role="struct">
+<title>struct AgsChangeIndicator</title>
+<indexterm zone="AgsChangeIndicator"><primary>AgsChangeIndicator</primary></indexterm>
+<programlisting>struct AgsChangeIndicator {
+ AgsTask task;
+
+ AgsIndicator *indicator;
+ gdouble value;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChangeIndicatorClass" role="struct">
+<title>struct AgsChangeIndicatorClass</title>
+<indexterm zone="AgsChangeIndicatorClass"><primary>AgsChangeIndicatorClass</primary></indexterm>
+<programlisting>struct AgsChangeIndicatorClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-change-indicator-new" role="function">
+<title>ags_change_indicator_new ()</title>
+<indexterm zone="ags-change-indicator-new"><primary>ags_change_indicator_new</primary></indexterm>
+<programlisting><link linkend="AgsChangeIndicator"><returnvalue>AgsChangeIndicator</returnvalue></link> * ags_change_indicator_new (<parameter><link linkend="AgsIndicator"><type>AgsIndicator</type></link> *indicator</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> value</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_change_tact.xml b/doc/reference/ags/xml/ags_change_tact.xml
new file mode 100644
index 0000000..bca1b76
--- /dev/null
+++ b/doc/reference/ags/xml/ags_change_tact.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsChangeTact">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsChangeTact.top_of_page">AgsChangeTact</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsChangeTact</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsChangeTact.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsChangeTact">AgsChangeTact</link>;
+struct <link linkend="AgsChangeTactClass">AgsChangeTactClass</link>;
+<link linkend="AgsChangeTact"><returnvalue>AgsChangeTact</returnvalue></link> * <link linkend="ags-change-tact-new">ags_change_tact_new</link> (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsChangeTact.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsChangeTact.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsChangeTact" role="struct">
+<title>struct AgsChangeTact</title>
+<indexterm zone="AgsChangeTact"><primary>AgsChangeTact</primary></indexterm>
+<programlisting>struct AgsChangeTact {
+ AgsTask task;
+
+ AgsNavigation *navigation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChangeTactClass" role="struct">
+<title>struct AgsChangeTactClass</title>
+<indexterm zone="AgsChangeTactClass"><primary>AgsChangeTactClass</primary></indexterm>
+<programlisting>struct AgsChangeTactClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-change-tact-new" role="function">
+<title>ags_change_tact_new ()</title>
+<indexterm zone="ags-change-tact-new"><primary>ags_change_tact_new</primary></indexterm>
+<programlisting><link linkend="AgsChangeTact"><returnvalue>AgsChangeTact</returnvalue></link> * ags_change_tact_new (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_channel.xml b/doc/reference/ags/xml/ags_channel.xml
new file mode 100644
index 0000000..b1dc656
--- /dev/null
+++ b/doc/reference/ags/xml/ags_channel.xml
@@ -0,0 +1,559 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsChannel.top_of_page">AgsChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-CHANNEL-ERROR:CAPS">AGS_CHANNEL_ERROR</link>
+struct <link linkend="AgsChannel">AgsChannel</link>;
+struct <link linkend="AgsChannelClass">AgsChannelClass</link>;
+enum <link linkend="AgsChannelError">AgsChannelError</link>;
+enum <link linkend="AgsChannelFlags">AgsChannelFlags</link>;
+enum <link linkend="AgsChannelRecallIDMode">AgsChannelRecallIDMode</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-add-recall">ags_channel_add_recall</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-add-recall-container">ags_channel_add_recall_container</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_container</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-add-recall-id">ags_channel_add_recall_id</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-cancel">ags_channel_cancel</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-done">ags_channel_done</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-duplicate-recall">ags_channel_duplicate_recall</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> <link linkend="ags-channel-error-quark">ags_channel_error_quark</link> ();
+<link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * <link linkend="ags-channel-find-recall">ags_channel_find_recall</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *effect</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *name</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-first">ags_channel_first</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-first-with-recycling">ags_channel_first_with_recycling</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-init-recall">ags_channel_init_recall</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-last">ags_channel_last</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-last-with-recycling">ags_channel_last_with_recycling</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-new">ags_channel_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-nth">ags_channel_nth</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-pad-first">ags_channel_pad_first</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-pad-last">ags_channel_pad_last</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-pad-nth">ags_channel_pad_nth</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-play">ags_channel_play</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-recall-id-set">ags_channel_recall_id_set</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *output</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> ommit_own_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> mode</parameter>,
+ <parameter>...</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-recursive-play">ags_channel_recursive_play</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+<link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * <link linkend="ags-channel-recursive-play-init">ags_channel_recursive_play_init</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> arrange_recall_id</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> duplicate_templates</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> resolve_dependencies</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-recursive-play-threaded">ags_channel_recursive_play_threaded</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-recursive-reset-recall-ids">ags_channel_recursive_reset_recall_ids</link>
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *link</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *old_channel_link</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *old_link_link</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-recycling-changed">ags_channel_recycling_changed</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_start_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_end_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_start_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_end_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_start_changed_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_end_changed_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_start_changed_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_end_changed_region</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-remove-recall">ags_channel_remove_recall</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-remove-recall-id">ags_channel_remove_recall_id</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-resolve-recall">ags_channel_resolve_recall</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-safe-resize-audio-signal">ags_channel_safe_resize_audio_signal</link>
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> size</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-set-devout">ags_channel_set_devout</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-set-link">ags_channel_set_link</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *link</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-set-recycling">ags_channel_set_recycling</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *last_recycling</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> update</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> destroy_old</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-tillrecycling-cancel">ags_channel_tillrecycling_cancel</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-CHANNEL-ERROR:CAPS" role="macro">
+<title>AGS_CHANNEL_ERROR</title>
+<indexterm zone="AGS-CHANNEL-ERROR:CAPS"><primary>AGS_CHANNEL_ERROR</primary></indexterm>
+<programlisting>#define AGS_CHANNEL_ERROR (ags_channel_error_quark())
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChannel" role="struct">
+<title>struct AgsChannel</title>
+<indexterm zone="AgsChannel"><primary>AgsChannel</primary></indexterm>
+<programlisting>struct AgsChannel {
+ GObject object;
+
+ guint flags;
+
+ GObject *audio;
+ GObject *devout;
+
+ AgsChannel *prev;
+ AgsChannel *prev_pad;
+ AgsChannel *next;
+ AgsChannel *next_pad;
+
+ guint pad;
+ guint audio_channel;
+ guint line;
+
+ char *note;
+
+ gpointer devout_play;
+
+ // GObject *recycling_container; // contains child recycling
+ GList *recall_id; // there may be several recall's running
+ GList *container;
+
+ GList *recall;
+ GList *play;
+
+ AgsChannel *link;
+ AgsRecycling *first_recycling;
+ AgsRecycling *last_recycling;
+ GObject *recycling_thread;
+
+ GList *pattern;
+ AgsNotation *notation;
+
+ GtkWidget *line_widget;
+ gpointer file_data;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChannelClass" role="struct">
+<title>struct AgsChannelClass</title>
+<indexterm zone="AgsChannelClass"><primary>AgsChannelClass</primary></indexterm>
+<programlisting>struct AgsChannelClass {
+ GObjectClass object;
+
+ void (*recycling_changed)(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region);
+
+ void (*done)(AgsChannel *channel,
+ AgsRecallID *recall_id);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChannelError" role="enum">
+<title>enum AgsChannelError</title>
+<indexterm zone="AgsChannelError"><primary>AgsChannelError</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_CHANNEL_ERROR_LOOP_IN_LINK,
+} AgsChannelError;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChannelFlags" role="enum">
+<title>enum AgsChannelFlags</title>
+<indexterm zone="AgsChannelFlags"><primary>AgsChannelFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_CHANNEL_RUNNING = 1,
+} AgsChannelFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChannelRecallIDMode" role="enum">
+<title>enum AgsChannelRecallIDMode</title>
+<indexterm zone="AgsChannelRecallIDMode"><primary>AgsChannelRecallIDMode</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_CHANNEL_RECALL_ID_RUN_STAGE,
+ AGS_CHANNEL_RECALL_ID_CANCEL,
+} AgsChannelRecallIDMode;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-add-recall" role="function">
+<title>ags_channel_add_recall ()</title>
+<indexterm zone="ags-channel-add-recall"><primary>ags_channel_add_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_add_recall (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);</programlisting>
+<para>
+Adds a recall.
+</para></refsect2>
+<refsect2 id="ags-channel-add-recall-container" role="function">
+<title>ags_channel_add_recall_container ()</title>
+<indexterm zone="ags-channel-add-recall-container"><primary>ags_channel_add_recall_container</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_add_recall_container (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall_container</parameter>);</programlisting>
+<para>
+Adds a recall container.
+</para></refsect2>
+<refsect2 id="ags-channel-add-recall-id" role="function">
+<title>ags_channel_add_recall_id ()</title>
+<indexterm zone="ags-channel-add-recall-id"><primary>ags_channel_add_recall_id</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_add_recall_id (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Adds a recall id.
+</para></refsect2>
+<refsect2 id="ags-channel-cancel" role="function">
+<title>ags_channel_cancel ()</title>
+<indexterm zone="ags-channel-cancel"><primary>ags_channel_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_cancel (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Calls for every matching <parameter>recall_id</parameter> <link linkend="ags-recall-cancel"><function>ags_recall_cancel()</function></link>
+</para></refsect2>
+<refsect2 id="ags-channel-done" role="function">
+<title>ags_channel_done ()</title>
+<indexterm zone="ags-channel-done"><primary>ags_channel_done</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_done (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-duplicate-recall" role="function">
+<title>ags_channel_duplicate_recall ()</title>
+<indexterm zone="ags-channel-duplicate-recall"><primary>ags_channel_duplicate_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_duplicate_recall (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Duplicate <link linkend="AgsRecall"><type>AgsRecall</type></link> templates for use with <link linkend="ags-channel-recursive-play"><function>ags_channel_recursive_play()</function></link>,
+but <link linkend="ags-channel-recursive-play-init"><function>ags_channel_recursive_play_init()</function></link> may call this function for you.
+</para></refsect2>
+<refsect2 id="ags-channel-error-quark" role="function">
+<title>ags_channel_error_quark ()</title>
+<indexterm zone="ags-channel-error-quark"><primary>ags_channel_error_quark</primary></indexterm>
+<programlisting><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> ags_channel_error_quark ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-find-recall" role="function">
+<title>ags_channel_find_recall ()</title>
+<indexterm zone="ags-channel-find-recall"><primary>ags_channel_find_recall</primary></indexterm>
+<programlisting><link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * ags_channel_find_recall (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *effect</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *name</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-first" role="function">
+<title>ags_channel_first ()</title>
+<indexterm zone="ags-channel-first"><primary>ags_channel_first</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_first (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+Iterates until the first <link linkend="AgsChannel"><type>AgsChannel</type></link> was found.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the first <link linkend="AgsChannel"><type>AgsChannel</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-first-with-recycling" role="function">
+<title>ags_channel_first_with_recycling ()</title>
+<indexterm zone="ags-channel-first-with-recycling"><primary>ags_channel_first_with_recycling</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_first_with_recycling (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+Iterates over pads forwards as long as there is no <link linkend="AgsRecycling"><type>AgsRecycling</type></link> on the <link linkend="AgsChannel"><type>AgsChannel</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the first channel with an <link linkend="AgsRecycling"><type>AgsRecycling</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-init-recall" role="function">
+<title>ags_channel_init_recall ()</title>
+<indexterm zone="ags-channel-init-recall"><primary>ags_channel_init_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_init_recall (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Prepare <link linkend="AgsRecall"><type>AgsRecall</type></link> objects to become runnning, <link linkend="ags-channel-recursive-play-init"><function>ags_channel_recursive_play_init()</function></link>
+may call this function for you.
+</para></refsect2>
+<refsect2 id="ags-channel-last" role="function">
+<title>ags_channel_last ()</title>
+<indexterm zone="ags-channel-last"><primary>ags_channel_last</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_last (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+Iterates until the last <link linkend="AgsChannel"><type>AgsChannel</type></link> was found.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the last <link linkend="AgsChannel"><type>AgsChannel</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-last-with-recycling" role="function">
+<title>ags_channel_last_with_recycling ()</title>
+<indexterm zone="ags-channel-last-with-recycling"><primary>ags_channel_last_with_recycling</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_last_with_recycling (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+Iterates over pads backwards as long as there is no <link linkend="AgsRecycling"><type>AgsRecycling</type></link> on the <link linkend="AgsChannel"><type>AgsChannel</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the last channel with an <link linkend="AgsChannel"><type>AgsChannel</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-new" role="function">
+<title>ags_channel_new ()</title>
+<indexterm zone="ags-channel-new"><primary>ags_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_new (<parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsChannel"><type>AgsChannel</type></link>, linking tree to <parameter>audio</parameter>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsChannel"><type>AgsChannel</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-nth" role="function">
+<title>ags_channel_nth ()</title>
+<indexterm zone="ags-channel-nth"><primary>ags_channel_nth</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_nth (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth</parameter>);</programlisting>
+<para>
+Iterates <parameter>nth</parameter> times forward.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the nth <link linkend="AgsChannel"><type>AgsChannel</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-pad-first" role="function">
+<title>ags_channel_pad_first ()</title>
+<indexterm zone="ags-channel-pad-first"><primary>ags_channel_pad_first</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_pad_first (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+Iterates until the first pad has been reached.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the first <link linkend="AgsChannel"><type>AgsChannel</type></link> with the same audio_channel as <parameter>channel</parameter></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-pad-last" role="function">
+<title>ags_channel_pad_last ()</title>
+<indexterm zone="ags-channel-pad-last"><primary>ags_channel_pad_last</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_pad_last (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+Iterates until the last pad has been reached.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the last <link linkend="AgsChannel"><type>AgsChannel</type></link> with the same audio_channel as <parameter>channel</parameter></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-pad-nth" role="function">
+<title>ags_channel_pad_nth ()</title>
+<indexterm zone="ags-channel-pad-nth"><primary>ags_channel_pad_nth</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_pad_nth (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth</parameter>);</programlisting>
+<para>
+Iterates nth times.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the nth pad</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-play" role="function">
+<title>ags_channel_play ()</title>
+<indexterm zone="ags-channel-play"><primary>ags_channel_play</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_play (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+Play one single run of <parameter>stage</parameter> step.
+</para></refsect2>
+<refsect2 id="ags-channel-recall-id-set" role="function">
+<title>ags_channel_recall_id_set ()</title>
+<indexterm zone="ags-channel-recall-id-set"><primary>ags_channel_recall_id_set</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_recall_id_set (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *output</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> ommit_own_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> mode</parameter>,
+ <parameter>...</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-recursive-play" role="function">
+<title>ags_channel_recursive_play ()</title>
+<indexterm zone="ags-channel-recursive-play"><primary>ags_channel_recursive_play</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_recursive_play (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+Call recursively <link linkend="ags-channel-play"><function>ags_channel_play()</function></link> and <link linkend="ags-audio-play"><function>ags_audio_play()</function></link>
+</para></refsect2>
+<refsect2 id="ags-channel-recursive-play-init" role="function">
+<title>ags_channel_recursive_play_init ()</title>
+<indexterm zone="ags-channel-recursive-play-init"><primary>ags_channel_recursive_play_init</primary></indexterm>
+<programlisting><link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * ags_channel_recursive_play_init (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> arrange_recall_id</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> duplicate_templates</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> resolve_dependencies</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Make the tree ready for a new <link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link>.
+</para></refsect2>
+<refsect2 id="ags-channel-recursive-play-threaded" role="function">
+<title>ags_channel_recursive_play_threaded ()</title>
+<indexterm zone="ags-channel-recursive-play-threaded"><primary>ags_channel_recursive_play_threaded</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_recursive_play_threaded (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+Super-threaded version of play one single run of <parameter>stage</parameter> step.
+</para></refsect2>
+<refsect2 id="ags-channel-recursive-reset-recall-ids" role="function">
+<title>ags_channel_recursive_reset_recall_ids ()</title>
+<indexterm zone="ags-channel-recursive-reset-recall-ids"><primary>ags_channel_recursive_reset_recall_ids</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_recursive_reset_recall_ids
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *link</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *old_channel_link</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *old_link_link</parameter>);</programlisting>
+<para>
+Called by <link linkend="ags-channel-set-link"><function>ags_channel_set_link()</function></link> to handle running <link linkend="AgsAudio"><type>AgsAudio</type></link> objects correctly.
+This function destroys <link linkend="AgsRecall"><type>AgsRecall</type></link> objects which were uneeded because they became
+invalid due to unlinking. By the way it destroys the uneeded <link linkend="AgsRecallID"><type>AgsRecallID</type></link> objects, too.
+Additionally it creates <link linkend="AgsRecall"><type>AgsRecall</type></link> and <link linkend="AgsRecallID"><type>AgsRecallID</type></link> objects to prepare becoming a
+running object (<link linkend="AgsAudio"><type>AgsAudio</type></link> or <link linkend="AgsChannel"><type>AgsChannel</type></link>).
+By the clean up the invalid <link linkend="AgsRecall"><type>AgsRecall</type></link> objects will be removed.
+Once the clean up has done <link linkend="ags-channel-recursive-play-init"><function>ags_channel_recursive_play_init()</function></link> will be called for every
+playing instance that was found.
+</para></refsect2>
+<refsect2 id="ags-channel-recycling-changed" role="function">
+<title>ags_channel_recycling_changed ()</title>
+<indexterm zone="ags-channel-recycling-changed"><primary>ags_channel_recycling_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_recycling_changed (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_start_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_end_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_start_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_end_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_start_changed_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_end_changed_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_start_changed_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_end_changed_region</parameter>);</programlisting>
+<para>
+Modify recycling.
+</para><variablelist role="params">
+<varlistentry><term><parameter>old_start_region</parameter> :</term>
+<listitem><simpara>first recycling</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>old_end_region</parameter> :</term>
+<listitem><simpara>last recycling</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>new_start_region</parameter> :</term>
+<listitem><simpara>new first recycling</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>new_end_region</parameter> :</term>
+<listitem><simpara>new last recycling</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>old_start_changed_region</parameter> :</term>
+<listitem><simpara>modified link recycling start</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>old_end_changed_region</parameter> :</term>
+<listitem><simpara>modified link recyclig end</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>new_start_changed_region</parameter> :</term>
+<listitem><simpara>replacing link recycling start</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>new_end_changed_region</parameter> :</term>
+<listitem><simpara>replacing link recycling end</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-channel-remove-recall" role="function">
+<title>ags_channel_remove_recall ()</title>
+<indexterm zone="ags-channel-remove-recall"><primary>ags_channel_remove_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_remove_recall (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play</parameter>);</programlisting>
+<para>
+Removes a recall.
+</para></refsect2>
+<refsect2 id="ags-channel-remove-recall-id" role="function">
+<title>ags_channel_remove_recall_id ()</title>
+<indexterm zone="ags-channel-remove-recall-id"><primary>ags_channel_remove_recall_id</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_remove_recall_id (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Removes a recall id.
+</para></refsect2>
+<refsect2 id="ags-channel-resolve-recall" role="function">
+<title>ags_channel_resolve_recall ()</title>
+<indexterm zone="ags-channel-resolve-recall"><primary>ags_channel_resolve_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_resolve_recall (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Resolve step of initialization.
+</para></refsect2>
+<refsect2 id="ags-channel-safe-resize-audio-signal" role="function">
+<title>ags_channel_safe_resize_audio_signal ()</title>
+<indexterm zone="ags-channel-safe-resize-audio-signal"><primary>ags_channel_safe_resize_audio_signal</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_safe_resize_audio_signal
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> size</parameter>);</programlisting>
+<para>
+Resize audio data.
+</para></refsect2>
+<refsect2 id="ags-channel-set-devout" role="function">
+<title>ags_channel_set_devout ()</title>
+<indexterm zone="ags-channel-set-devout"><primary>ags_channel_set_devout</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_set_devout (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+Sets devout.
+</para></refsect2>
+<refsect2 id="ags-channel-set-link" role="function">
+<title>ags_channel_set_link ()</title>
+<indexterm zone="ags-channel-set-link"><primary>ags_channel_set_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_set_link (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *link</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+Change the linking of <link linkend="AgsChannel"><type>AgsChannel</type></link> objects.
+</para></refsect2>
+<refsect2 id="ags-channel-set-recycling" role="function">
+<title>ags_channel_set_recycling ()</title>
+<indexterm zone="ags-channel-set-recycling"><primary>ags_channel_set_recycling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_set_recycling (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *last_recycling</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> update</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> destroy_old</parameter>);</programlisting>
+<para>
+Called by <link linkend="ags-channel-set-link"><function>ags_channel_set_link()</function></link> to handle outdated <link linkend="AgsRecycling"><type>AgsRecycling</type></link> references.
+</para></refsect2>
+<refsect2 id="ags-channel-tillrecycling-cancel" role="function">
+<title>ags_channel_tillrecycling_cancel ()</title>
+<indexterm zone="ags-channel-tillrecycling-cancel"><primary>ags_channel_tillrecycling_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_tillrecycling_cancel (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Traverses the tree down and up and calls <link linkend="ags-channel-cancel"><function>ags_channel_cancel()</function></link> for corresponding
+<parameter>recall_id</parameter>.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_channel_iter.xml b/doc/reference/ags/xml/ags_channel_iter.xml
new file mode 100644
index 0000000..9671d4e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_channel_iter.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-channel-iter">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-channel-iter.top_of_page">ags_channel_iter</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_channel_iter</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-channel-iter.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsChannelIter">AgsChannelIter</link>;
+enum <link linkend="AgsChannelIterFlags">AgsChannelIterFlags</link>;
+<link linkend="AgsChannelIter"><returnvalue>AgsChannelIter</returnvalue></link> * <link linkend="ags-channel-iter-alloc">ags_channel_iter_alloc</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *start</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-channel-iter-free">ags_channel_iter_free</link> (<parameter><link linkend="AgsChannelIter"><type>AgsChannelIter</type></link> *iter</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-iter-next">ags_channel_iter_next</link> (<parameter><link linkend="AgsChannelIter"><type>AgsChannelIter</type></link> *iter</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> mode</parameter>);
+<link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * <link linkend="ags-channel-iter-prev">ags_channel_iter_prev</link> (<parameter><link linkend="AgsChannelIter"><type>AgsChannelIter</type></link> *iter</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> mode</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-channel-iter.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-channel-iter.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsChannelIter" role="struct">
+<title>struct AgsChannelIter</title>
+<indexterm zone="AgsChannelIter"><primary>AgsChannelIter</primary></indexterm>
+<programlisting>struct AgsChannelIter {
+ AgsChannel *current_start;
+
+ AgsChannelIter *parent;
+ GList *children;
+ AgsChannelIter *current_iter;
+
+ AgsChannel *current;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChannelIterFlags" role="enum">
+<title>enum AgsChannelIterFlags</title>
+<indexterm zone="AgsChannelIterFlags"><primary>AgsChannelIterFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_CHANNEL_ITER_LEVEL_STRICT,
+ AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_LEAFES,
+ AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_ROOT,
+ AGS_CHANNEL_ITER_DIRECTION_LEAFES_TO_ROOT,
+ AGS_CHANNEL_ITER_DIRECTION_ROOT_TO_LEAFES,
+} AgsChannelIterFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-iter-alloc" role="function">
+<title>ags_channel_iter_alloc ()</title>
+<indexterm zone="ags-channel-iter-alloc"><primary>ags_channel_iter_alloc</primary></indexterm>
+<programlisting><link linkend="AgsChannelIter"><returnvalue>AgsChannelIter</returnvalue></link> * ags_channel_iter_alloc (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *start</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-iter-free" role="function">
+<title>ags_channel_iter_free ()</title>
+<indexterm zone="ags-channel-iter-free"><primary>ags_channel_iter_free</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_channel_iter_free (<parameter><link linkend="AgsChannelIter"><type>AgsChannelIter</type></link> *iter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-iter-next" role="function">
+<title>ags_channel_iter_next ()</title>
+<indexterm zone="ags-channel-iter-next"><primary>ags_channel_iter_next</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_iter_next (<parameter><link linkend="AgsChannelIter"><type>AgsChannelIter</type></link> *iter</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> mode</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-iter-prev" role="function">
+<title>ags_channel_iter_prev ()</title>
+<indexterm zone="ags-channel-iter-prev"><primary>ags_channel_iter_prev</primary></indexterm>
+<programlisting><link linkend="AgsChannel"><returnvalue>AgsChannel</returnvalue></link> * ags_channel_iter_prev (<parameter><link linkend="AgsChannelIter"><type>AgsChannelIter</type></link> *iter</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> mode</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_channel_set_recycling.xml b/doc/reference/ags/xml/ags_channel_set_recycling.xml
new file mode 100644
index 0000000..2a6d226
--- /dev/null
+++ b/doc/reference/ags/xml/ags_channel_set_recycling.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsChannelSetRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsChannelSetRecycling.top_of_page">AgsChannelSetRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsChannelSetRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsChannelSetRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsChannelSetRecycling">AgsChannelSetRecycling</link>;
+struct <link linkend="AgsChannelSetRecyclingClass">AgsChannelSetRecyclingClass</link>;
+<link linkend="AgsChannelSetRecycling"><returnvalue>AgsChannelSetRecycling</returnvalue></link> * <link linkend="ags-channel-set-recycling-new">ags_channel_set_recycling_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *last_recycling</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsChannelSetRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsChannelSetRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsChannelSetRecycling" role="struct">
+<title>struct AgsChannelSetRecycling</title>
+<indexterm zone="AgsChannelSetRecycling"><primary>AgsChannelSetRecycling</primary></indexterm>
+<programlisting>struct AgsChannelSetRecycling {
+ AgsTask task;
+
+ AgsChannel *channel;
+
+ AgsRecycling *first_recycling;
+ AgsRecycling *last_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsChannelSetRecyclingClass" role="struct">
+<title>struct AgsChannelSetRecyclingClass</title>
+<indexterm zone="AgsChannelSetRecyclingClass"><primary>AgsChannelSetRecyclingClass</primary></indexterm>
+<programlisting>struct AgsChannelSetRecyclingClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-channel-set-recycling-new" role="function">
+<title>ags_channel_set_recycling_new ()</title>
+<indexterm zone="ags-channel-set-recycling-new"><primary>ags_channel_set_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsChannelSetRecycling"><returnvalue>AgsChannelSetRecycling</returnvalue></link> * ags_channel_set_recycling_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *last_recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_clone_channel.xml b/doc/reference/ags/xml/ags_clone_channel.xml
new file mode 100644
index 0000000..bfe11b9
--- /dev/null
+++ b/doc/reference/ags/xml/ags_clone_channel.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCloneChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCloneChannel.top_of_page">AgsCloneChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCloneChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCloneChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCloneChannel">AgsCloneChannel</link>;
+struct <link linkend="AgsCloneChannelClass">AgsCloneChannelClass</link>;
+<link linkend="AgsCloneChannel"><returnvalue>AgsCloneChannel</returnvalue></link> * <link linkend="ags-clone-channel-new">ags_clone_channel_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCloneChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCloneChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCloneChannel" role="struct">
+<title>struct AgsCloneChannel</title>
+<indexterm zone="AgsCloneChannel"><primary>AgsCloneChannel</primary></indexterm>
+<programlisting>struct AgsCloneChannel {
+ AgsRecallChannel recall_channel;
+
+ guint audio_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCloneChannelClass" role="struct">
+<title>struct AgsCloneChannelClass</title>
+<indexterm zone="AgsCloneChannelClass"><primary>AgsCloneChannelClass</primary></indexterm>
+<programlisting>struct AgsCloneChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-clone-channel-new" role="function">
+<title>ags_clone_channel_new ()</title>
+<indexterm zone="ags-clone-channel-new"><primary>ags_clone_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsCloneChannel"><returnvalue>AgsCloneChannel</returnvalue></link> * ags_clone_channel_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_clone_channel_run.xml b/doc/reference/ags/xml/ags_clone_channel_run.xml
new file mode 100644
index 0000000..f34297f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_clone_channel_run.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCloneChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCloneChannelRun.top_of_page">AgsCloneChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCloneChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCloneChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCloneChannelRun">AgsCloneChannelRun</link>;
+struct <link linkend="AgsCloneChannelRunClass">AgsCloneChannelRunClass</link>;
+<link linkend="AgsCloneChannelRun"><returnvalue>AgsCloneChannelRun</returnvalue></link> * <link linkend="ags-clone-channel-run-new">ags_clone_channel_run_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCloneChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCloneChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCloneChannelRun" role="struct">
+<title>struct AgsCloneChannelRun</title>
+<indexterm zone="AgsCloneChannelRun"><primary>AgsCloneChannelRun</primary></indexterm>
+<programlisting>struct AgsCloneChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCloneChannelRunClass" role="struct">
+<title>struct AgsCloneChannelRunClass</title>
+<indexterm zone="AgsCloneChannelRunClass"><primary>AgsCloneChannelRunClass</primary></indexterm>
+<programlisting>struct AgsCloneChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-clone-channel-run-new" role="function">
+<title>ags_clone_channel_run_new ()</title>
+<indexterm zone="ags-clone-channel-run-new"><primary>ags_clone_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsCloneChannelRun"><returnvalue>AgsCloneChannelRun</returnvalue></link> * ags_clone_channel_run_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_combo_box_text.xml b/doc/reference/ags/xml/ags_combo_box_text.xml
new file mode 100644
index 0000000..0e9edbf
--- /dev/null
+++ b/doc/reference/ags/xml/ags_combo_box_text.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-combo-box-text">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-combo-box-text.top_of_page">ags_combo_box_text</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_combo_box_text</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-combo-box-text.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-combo-box-text-remove-all">ags_combo_box_text_remove_all</link> (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo_box</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-combo-box-text.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-combo-box-text.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-combo-box-text-remove-all" role="function">
+<title>ags_combo_box_text_remove_all ()</title>
+<indexterm zone="ags-combo-box-text-remove-all"><primary>ags_combo_box_text_remove_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_combo_box_text_remove_all (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo_box</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_config.xml b/doc/reference/ags/xml/ags_config.xml
new file mode 100644
index 0000000..0ffc8d7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_config.xml
@@ -0,0 +1,147 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsConfig">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsConfig.top_of_page">AgsConfig</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsConfig</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsConfig.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-CONFIG-DEFAULT-BUILD-ID:CAPS">AGS_CONFIG_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-CONFIG-DEFAULT-VERSION:CAPS">AGS_CONFIG_DEFAULT_VERSION</link>
+#define <link linkend="AGS-CONFIG-DEVOUT:CAPS">AGS_CONFIG_DEVOUT</link>
+#define <link linkend="AGS-CONFIG-THREAD:CAPS">AGS_CONFIG_THREAD</link>
+struct <link linkend="AgsConfig">AgsConfig</link>;
+struct <link linkend="AgsConfigClass">AgsConfigClass</link>;
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-config-get">ags_config_get</link> (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *group</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *key</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-config-load-defaults">ags_config_load_defaults</link> (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-config-load-from-file">ags_config_load_from_file</link> (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);
+<link linkend="AgsConfig"><returnvalue>AgsConfig</returnvalue></link> * <link linkend="ags-config-new">ags_config_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-config-save">ags_config_save</link> (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-config-set">ags_config_set</link> (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *group</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *key</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *value</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsConfig.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsConfig.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-CONFIG-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_CONFIG_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-CONFIG-DEFAULT-BUILD-ID:CAPS"><primary>AGS_CONFIG_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_CONFIG_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-CONFIG-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_CONFIG_DEFAULT_VERSION</title>
+<indexterm zone="AGS-CONFIG-DEFAULT-VERSION:CAPS"><primary>AGS_CONFIG_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_CONFIG_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-CONFIG-DEVOUT:CAPS" role="macro">
+<title>AGS_CONFIG_DEVOUT</title>
+<indexterm zone="AGS-CONFIG-DEVOUT:CAPS"><primary>AGS_CONFIG_DEVOUT</primary></indexterm>
+<programlisting>#define AGS_CONFIG_DEVOUT "device\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-CONFIG-THREAD:CAPS" role="macro">
+<title>AGS_CONFIG_THREAD</title>
+<indexterm zone="AGS-CONFIG-THREAD:CAPS"><primary>AGS_CONFIG_THREAD</primary></indexterm>
+<programlisting>#define AGS_CONFIG_THREAD "thread\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsConfig" role="struct">
+<title>struct AgsConfig</title>
+<indexterm zone="AgsConfig"><primary>AgsConfig</primary></indexterm>
+<programlisting>struct AgsConfig {
+ GObject object;
+
+ guint version;
+ gchar *build_id;
+
+ GKeyFile *key_file;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsConfigClass" role="struct">
+<title>struct AgsConfigClass</title>
+<indexterm zone="AgsConfigClass"><primary>AgsConfigClass</primary></indexterm>
+<programlisting>struct AgsConfigClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-config-get" role="function">
+<title>ags_config_get ()</title>
+<indexterm zone="ags-config-get"><primary>ags_config_get</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_config_get (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *group</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *key</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-config-load-defaults" role="function">
+<title>ags_config_load_defaults ()</title>
+<indexterm zone="ags-config-load-defaults"><primary>ags_config_load_defaults</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_config_load_defaults (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-config-load-from-file" role="function">
+<title>ags_config_load_from_file ()</title>
+<indexterm zone="ags-config-load-from-file"><primary>ags_config_load_from_file</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_config_load_from_file (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-config-new" role="function">
+<title>ags_config_new ()</title>
+<indexterm zone="ags-config-new"><primary>ags_config_new</primary></indexterm>
+<programlisting><link linkend="AgsConfig"><returnvalue>AgsConfig</returnvalue></link> * ags_config_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-config-save" role="function">
+<title>ags_config_save ()</title>
+<indexterm zone="ags-config-save"><primary>ags_config_save</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_config_save (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-config-set" role="function">
+<title>ags_config_set ()</title>
+<indexterm zone="ags-config-set"><primary>ags_config_set</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_config_set (<parameter><link linkend="AgsConfig"><type>AgsConfig</type></link> *config</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *group</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *key</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *value</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_container.xml b/doc/reference/ags/xml/ags_container.xml
new file mode 100644
index 0000000..c7b16b1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_container.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-container">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-container.top_of_page">ags_container</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_container</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-container.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-container-add-all">ags_container_add_all</link> (<parameter><link linkend="GtkContainer"><type>GtkContainer</type></link> *container</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-container.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-container.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-container-add-all" role="function">
+<title>ags_container_add_all ()</title>
+<indexterm zone="ags-container-add-all"><primary>ags_container_add_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_container_add_all (<parameter><link linkend="GtkContainer"><type>GtkContainer</type></link> *container</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_audio_signal.xml b/doc/reference/ags/xml/ags_copy_audio_signal.xml
new file mode 100644
index 0000000..96d9b82
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_audio_signal.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyAudioSignal.top_of_page">AgsCopyAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyAudioSignal">AgsCopyAudioSignal</link>;
+struct <link linkend="AgsCopyAudioSignalClass">AgsCopyAudioSignalClass</link>;
+<link linkend="AgsCopyAudioSignal"><returnvalue>AgsCopyAudioSignal</returnvalue></link> * <link linkend="ags-copy-audio-signal-new">ags_copy_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAttack"><type>AgsAttack</type></link> *attack</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyAudioSignal" role="struct">
+<title>struct AgsCopyAudioSignal</title>
+<indexterm zone="AgsCopyAudioSignal"><primary>AgsCopyAudioSignal</primary></indexterm>
+<programlisting>struct AgsCopyAudioSignal {
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyAudioSignalClass" role="struct">
+<title>struct AgsCopyAudioSignalClass</title>
+<indexterm zone="AgsCopyAudioSignalClass"><primary>AgsCopyAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsCopyAudioSignalClass {
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-audio-signal-new" role="function">
+<title>ags_copy_audio_signal_new ()</title>
+<indexterm zone="ags-copy-audio-signal-new"><primary>ags_copy_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyAudioSignal"><returnvalue>AgsCopyAudioSignal</returnvalue></link> * ags_copy_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAttack"><type>AgsAttack</type></link> *attack</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_channel.xml b/doc/reference/ags/xml/ags_copy_channel.xml
new file mode 100644
index 0000000..1aa820c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_channel.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyChannel.top_of_page">AgsCopyChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyChannel">AgsCopyChannel</link>;
+struct <link linkend="AgsCopyChannelClass">AgsCopyChannelClass</link>;
+<link linkend="AgsCopyChannel"><returnvalue>AgsCopyChannel</returnvalue></link> * <link linkend="ags-copy-channel-new">ags_copy_channel_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyChannel" role="struct">
+<title>struct AgsCopyChannel</title>
+<indexterm zone="AgsCopyChannel"><primary>AgsCopyChannel</primary></indexterm>
+<programlisting>struct AgsCopyChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyChannelClass" role="struct">
+<title>struct AgsCopyChannelClass</title>
+<indexterm zone="AgsCopyChannelClass"><primary>AgsCopyChannelClass</primary></indexterm>
+<programlisting>struct AgsCopyChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-channel-new" role="function">
+<title>ags_copy_channel_new ()</title>
+<indexterm zone="ags-copy-channel-new"><primary>ags_copy_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyChannel"><returnvalue>AgsCopyChannel</returnvalue></link> * ags_copy_channel_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_channel_run.xml b/doc/reference/ags/xml/ags_copy_channel_run.xml
new file mode 100644
index 0000000..f27b2d7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_channel_run.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyChannelRun.top_of_page">AgsCopyChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyChannelRun">AgsCopyChannelRun</link>;
+struct <link linkend="AgsCopyChannelRunClass">AgsCopyChannelRunClass</link>;
+enum <link linkend="AgsCopyChannelRunFlags">AgsCopyChannelRunFlags</link>;
+<link linkend="AgsCopyChannelRun"><returnvalue>AgsCopyChannelRun</returnvalue></link> * <link linkend="ags-copy-channel-run-new">ags_copy_channel_run_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyChannelRun" role="struct">
+<title>struct AgsCopyChannelRun</title>
+<indexterm zone="AgsCopyChannelRun"><primary>AgsCopyChannelRun</primary></indexterm>
+<programlisting>struct AgsCopyChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyChannelRunClass" role="struct">
+<title>struct AgsCopyChannelRunClass</title>
+<indexterm zone="AgsCopyChannelRunClass"><primary>AgsCopyChannelRunClass</primary></indexterm>
+<programlisting>struct AgsCopyChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyChannelRunFlags" role="enum">
+<title>enum AgsCopyChannelRunFlags</title>
+<indexterm zone="AgsCopyChannelRunFlags"><primary>AgsCopyChannelRunFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_COPY_CHANNEL_RUN_EXACT_LENGTH = 1,
+ AGS_COPY_CHANNEL_RUN_OMIT_FURTHER_ATTACK = 1 << 1,
+} AgsCopyChannelRunFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-channel-run-new" role="function">
+<title>ags_copy_channel_run_new ()</title>
+<indexterm zone="ags-copy-channel-run-new"><primary>ags_copy_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyChannelRun"><returnvalue>AgsCopyChannelRun</returnvalue></link> * ags_copy_channel_run_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_notation_audio.xml b/doc/reference/ags/xml/ags_copy_notation_audio.xml
new file mode 100644
index 0000000..a3d1658
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_notation_audio.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyNotationAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyNotationAudio.top_of_page">AgsCopyNotationAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyNotationAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyNotationAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyNotationAudio">AgsCopyNotationAudio</link>;
+struct <link linkend="AgsCopyNotationAudioClass">AgsCopyNotationAudioClass</link>;
+enum <link linkend="AgsCopyNotationAudioFlags">AgsCopyNotationAudioFlags</link>;
+<link linkend="AgsCopyNotationAudio"><returnvalue>AgsCopyNotationAudio</returnvalue></link> * <link linkend="ags-copy-notation-audio-new">ags_copy_notation_audio_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyNotationAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyNotationAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyNotationAudio" role="struct">
+<title>struct AgsCopyNotationAudio</title>
+<indexterm zone="AgsCopyNotationAudio"><primary>AgsCopyNotationAudio</primary></indexterm>
+<programlisting>struct AgsCopyNotationAudio {
+ AgsRecallAudio recall_audio;
+
+ guint flags;
+
+ AgsDevout *devout;
+
+ AgsNotation *notation;
+ guint audio_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyNotationAudioClass" role="struct">
+<title>struct AgsCopyNotationAudioClass</title>
+<indexterm zone="AgsCopyNotationAudioClass"><primary>AgsCopyNotationAudioClass</primary></indexterm>
+<programlisting>struct AgsCopyNotationAudioClass {
+ AgsRecallAudioClass recall_audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyNotationAudioFlags" role="enum">
+<title>enum AgsCopyNotationAudioFlags</title>
+<indexterm zone="AgsCopyNotationAudioFlags"><primary>AgsCopyNotationAudioFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_COPY_NOTATION_AUDIO_FIT_AUDIO_SIGNAL = 1,
+} AgsCopyNotationAudioFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-notation-audio-new" role="function">
+<title>ags_copy_notation_audio_new ()</title>
+<indexterm zone="ags-copy-notation-audio-new"><primary>ags_copy_notation_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyNotationAudio"><returnvalue>AgsCopyNotationAudio</returnvalue></link> * ags_copy_notation_audio_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_notation_audio_run.xml b/doc/reference/ags/xml/ags_copy_notation_audio_run.xml
new file mode 100644
index 0000000..c0cd00f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_notation_audio_run.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyNotationAudioRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyNotationAudioRun.top_of_page">AgsCopyNotationAudioRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyNotationAudioRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyNotationAudioRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyNotationAudioRun">AgsCopyNotationAudioRun</link>;
+struct <link linkend="AgsCopyNotationAudioRunClass">AgsCopyNotationAudioRunClass</link>;
+<link linkend="AgsCopyNotationAudioRun"><returnvalue>AgsCopyNotationAudioRun</returnvalue></link> * <link linkend="ags-copy-notation-audio-run-new">ags_copy_notation_audio_run_new</link>
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyNotationAudioRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyNotationAudioRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyNotationAudioRun" role="struct">
+<title>struct AgsCopyNotationAudioRun</title>
+<indexterm zone="AgsCopyNotationAudioRun"><primary>AgsCopyNotationAudioRun</primary></indexterm>
+<programlisting>struct AgsCopyNotationAudioRun {
+ AgsRecallAudioRun recall_audio_run;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ gulong tic_alloc_input_handler;
+
+ GList *current_note;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyNotationAudioRunClass" role="struct">
+<title>struct AgsCopyNotationAudioRunClass</title>
+<indexterm zone="AgsCopyNotationAudioRunClass"><primary>AgsCopyNotationAudioRunClass</primary></indexterm>
+<programlisting>struct AgsCopyNotationAudioRunClass {
+ AgsRecallAudioRunClass recall_audio_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-notation-audio-run-new" role="function">
+<title>ags_copy_notation_audio_run_new ()</title>
+<indexterm zone="ags-copy-notation-audio-run-new"><primary>ags_copy_notation_audio_run_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyNotationAudioRun"><returnvalue>AgsCopyNotationAudioRun</returnvalue></link> * ags_copy_notation_audio_run_new
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_pattern_audio.xml b/doc/reference/ags/xml/ags_copy_pattern_audio.xml
new file mode 100644
index 0000000..b04c500
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_pattern_audio.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyPatternAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyPatternAudio.top_of_page">AgsCopyPatternAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyPatternAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyPatternAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyPatternAudio">AgsCopyPatternAudio</link>;
+struct <link linkend="AgsCopyPatternAudioClass">AgsCopyPatternAudioClass</link>;
+<link linkend="AgsCopyPatternAudio"><returnvalue>AgsCopyPatternAudio</returnvalue></link> * <link linkend="ags-copy-pattern-audio-new">ags_copy_pattern_audio_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyPatternAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyPatternAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyPatternAudio" role="struct">
+<title>struct AgsCopyPatternAudio</title>
+<indexterm zone="AgsCopyPatternAudio"><primary>AgsCopyPatternAudio</primary></indexterm>
+<programlisting>struct AgsCopyPatternAudio {
+ AgsRecallAudio recall_audio;
+
+ AgsPort *bank_index_0;
+ AgsPort *bank_index_1;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyPatternAudioClass" role="struct">
+<title>struct AgsCopyPatternAudioClass</title>
+<indexterm zone="AgsCopyPatternAudioClass"><primary>AgsCopyPatternAudioClass</primary></indexterm>
+<programlisting>struct AgsCopyPatternAudioClass {
+ AgsRecallAudioClass recall_audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-pattern-audio-new" role="function">
+<title>ags_copy_pattern_audio_new ()</title>
+<indexterm zone="ags-copy-pattern-audio-new"><primary>ags_copy_pattern_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyPatternAudio"><returnvalue>AgsCopyPatternAudio</returnvalue></link> * ags_copy_pattern_audio_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_pattern_audio_run.xml b/doc/reference/ags/xml/ags_copy_pattern_audio_run.xml
new file mode 100644
index 0000000..e52c6b0
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_pattern_audio_run.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyPatternAudioRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyPatternAudioRun.top_of_page">AgsCopyPatternAudioRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyPatternAudioRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyPatternAudioRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyPatternAudioRun">AgsCopyPatternAudioRun</link>;
+struct <link linkend="AgsCopyPatternAudioRunClass">AgsCopyPatternAudioRunClass</link>;
+<link linkend="AgsCopyPatternAudioRun"><returnvalue>AgsCopyPatternAudioRun</returnvalue></link> * <link linkend="ags-copy-pattern-audio-run-new">ags_copy_pattern_audio_run_new</link> (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyPatternAudioRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyPatternAudioRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyPatternAudioRun" role="struct">
+<title>struct AgsCopyPatternAudioRun</title>
+<indexterm zone="AgsCopyPatternAudioRun"><primary>AgsCopyPatternAudioRun</primary></indexterm>
+<programlisting>struct AgsCopyPatternAudioRun {
+ AgsRecallAudioRun recall_audio_run;
+
+ guint hide_ref;
+ guint hide_ref_counter;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyPatternAudioRunClass" role="struct">
+<title>struct AgsCopyPatternAudioRunClass</title>
+<indexterm zone="AgsCopyPatternAudioRunClass"><primary>AgsCopyPatternAudioRunClass</primary></indexterm>
+<programlisting>struct AgsCopyPatternAudioRunClass {
+ AgsRecallAudioRunClass recall_audio_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-pattern-audio-run-new" role="function">
+<title>ags_copy_pattern_audio_run_new ()</title>
+<indexterm zone="ags-copy-pattern-audio-run-new"><primary>ags_copy_pattern_audio_run_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyPatternAudioRun"><returnvalue>AgsCopyPatternAudioRun</returnvalue></link> * ags_copy_pattern_audio_run_new (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_pattern_channel.xml b/doc/reference/ags/xml/ags_copy_pattern_channel.xml
new file mode 100644
index 0000000..db0647b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_pattern_channel.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyPatternChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyPatternChannel.top_of_page">AgsCopyPatternChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyPatternChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyPatternChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyPatternChannel">AgsCopyPatternChannel</link>;
+struct <link linkend="AgsCopyPatternChannelClass">AgsCopyPatternChannelClass</link>;
+<link linkend="AgsCopyPatternChannel"><returnvalue>AgsCopyPatternChannel</returnvalue></link> * <link linkend="ags-copy-pattern-channel-new">ags_copy_pattern_channel_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> *pattern</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-copy-pattern-channel-template-find-source-and-destination">ags_copy_pattern_channel_template_find_source_and_destination</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyPatternChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyPatternChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyPatternChannel" role="struct">
+<title>struct AgsCopyPatternChannel</title>
+<indexterm zone="AgsCopyPatternChannel"><primary>AgsCopyPatternChannel</primary></indexterm>
+<programlisting>struct AgsCopyPatternChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsPort *pattern;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyPatternChannelClass" role="struct">
+<title>struct AgsCopyPatternChannelClass</title>
+<indexterm zone="AgsCopyPatternChannelClass"><primary>AgsCopyPatternChannelClass</primary></indexterm>
+<programlisting>struct AgsCopyPatternChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-pattern-channel-new" role="function">
+<title>ags_copy_pattern_channel_new ()</title>
+<indexterm zone="ags-copy-pattern-channel-new"><primary>ags_copy_pattern_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyPatternChannel"><returnvalue>AgsCopyPatternChannel</returnvalue></link> * ags_copy_pattern_channel_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> *pattern</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-pattern-channel-template-find-source-and-destination" role="function">
+<title>ags_copy_pattern_channel_template_find_source_and_destination ()</title>
+<indexterm zone="ags-copy-pattern-channel-template-find-source-and-destination"><primary>ags_copy_pattern_channel_template_find_source_and_destination</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_copy_pattern_channel_template_find_source_and_destination
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_pattern_channel_run.xml b/doc/reference/ags/xml/ags_copy_pattern_channel_run.xml
new file mode 100644
index 0000000..a36e940
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_pattern_channel_run.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyPatternChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyPatternChannelRun.top_of_page">AgsCopyPatternChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyPatternChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyPatternChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyPatternChannelRun">AgsCopyPatternChannelRun</link>;
+struct <link linkend="AgsCopyPatternChannelRunClass">AgsCopyPatternChannelRunClass</link>;
+<link linkend="AgsCopyPatternChannelRun"><returnvalue>AgsCopyPatternChannelRun</returnvalue></link> * <link linkend="ags-copy-pattern-channel-run-new">ags_copy_pattern_channel_run_new</link>
+ ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyPatternChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyPatternChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyPatternChannelRun" role="struct">
+<title>struct AgsCopyPatternChannelRun</title>
+<indexterm zone="AgsCopyPatternChannelRun"><primary>AgsCopyPatternChannelRun</primary></indexterm>
+<programlisting>struct AgsCopyPatternChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+
+ gulong sequencer_alloc_handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyPatternChannelRunClass" role="struct">
+<title>struct AgsCopyPatternChannelRunClass</title>
+<indexterm zone="AgsCopyPatternChannelRunClass"><primary>AgsCopyPatternChannelRunClass</primary></indexterm>
+<programlisting>struct AgsCopyPatternChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-pattern-channel-run-new" role="function">
+<title>ags_copy_pattern_channel_run_new ()</title>
+<indexterm zone="ags-copy-pattern-channel-run-new"><primary>ags_copy_pattern_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyPatternChannelRun"><returnvalue>AgsCopyPatternChannelRun</returnvalue></link> * ags_copy_pattern_channel_run_new
+ ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_copy_recycling.xml b/doc/reference/ags/xml/ags_copy_recycling.xml
new file mode 100644
index 0000000..fff1fcb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_copy_recycling.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCopyRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCopyRecycling.top_of_page">AgsCopyRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCopyRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCopyRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCopyRecycling">AgsCopyRecycling</link>;
+struct <link linkend="AgsCopyRecyclingClass">AgsCopyRecyclingClass</link>;
+<link linkend="AgsCopyRecycling"><returnvalue>AgsCopyRecycling</returnvalue></link> * <link linkend="ags-copy-recycling-new">ags_copy_recycling_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCopyRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCopyRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCopyRecycling" role="struct">
+<title>struct AgsCopyRecycling</title>
+<indexterm zone="AgsCopyRecycling"><primary>AgsCopyRecycling</primary></indexterm>
+<programlisting>struct AgsCopyRecycling {
+ AgsRecallRecycling recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCopyRecyclingClass" role="struct">
+<title>struct AgsCopyRecyclingClass</title>
+<indexterm zone="AgsCopyRecyclingClass"><primary>AgsCopyRecyclingClass</primary></indexterm>
+<programlisting>struct AgsCopyRecyclingClass {
+ AgsRecallRecyclingClass recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-copy-recycling-new" role="function">
+<title>ags_copy_recycling_new ()</title>
+<indexterm zone="ags-copy-recycling-new"><primary>ags_copy_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsCopyRecycling"><returnvalue>AgsCopyRecycling</returnvalue></link> * ags_copy_recycling_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_count_beats_audio.xml b/doc/reference/ags/xml/ags_count_beats_audio.xml
new file mode 100644
index 0000000..92f7dc1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_count_beats_audio.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCountBeatsAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCountBeatsAudio.top_of_page">AgsCountBeatsAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCountBeatsAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCountBeatsAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCountBeatsAudio">AgsCountBeatsAudio</link>;
+struct <link linkend="AgsCountBeatsAudioClass">AgsCountBeatsAudioClass</link>;
+<link linkend="AgsCountBeatsAudio"><returnvalue>AgsCountBeatsAudio</returnvalue></link> * <link linkend="ags-count-beats-audio-new">ags_count_beats_audio_new</link> (<parameter><link linkend="gboolean"><type>gboolean</type></link> loop</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCountBeatsAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCountBeatsAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCountBeatsAudio" role="struct">
+<title>struct AgsCountBeatsAudio</title>
+<indexterm zone="AgsCountBeatsAudio"><primary>AgsCountBeatsAudio</primary></indexterm>
+<programlisting>struct AgsCountBeatsAudio {
+ AgsRecallAudio recall_audio;
+
+ AgsPort *loop;
+
+ AgsPort *notation_loop_start;
+ AgsPort *notation_loop_end;
+ AgsPort *sequencer_loop_start;
+ AgsPort *sequencer_loop_end;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCountBeatsAudioClass" role="struct">
+<title>struct AgsCountBeatsAudioClass</title>
+<indexterm zone="AgsCountBeatsAudioClass"><primary>AgsCountBeatsAudioClass</primary></indexterm>
+<programlisting>struct AgsCountBeatsAudioClass {
+ AgsRecallAudioClass recall_audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-new" role="function">
+<title>ags_count_beats_audio_new ()</title>
+<indexterm zone="ags-count-beats-audio-new"><primary>ags_count_beats_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsCountBeatsAudio"><returnvalue>AgsCountBeatsAudio</returnvalue></link> * ags_count_beats_audio_new (<parameter><link linkend="gboolean"><type>gboolean</type></link> loop</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_count_beats_audio_run.xml b/doc/reference/ags/xml/ags_count_beats_audio_run.xml
new file mode 100644
index 0000000..79fc9a8
--- /dev/null
+++ b/doc/reference/ags/xml/ags_count_beats_audio_run.xml
@@ -0,0 +1,162 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCountBeatsAudioRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCountBeatsAudioRun.top_of_page">AgsCountBeatsAudioRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCountBeatsAudioRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCountBeatsAudioRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link>;
+struct <link linkend="AgsCountBeatsAudioRunClass">AgsCountBeatsAudioRunClass</link>;
+<link linkend="AgsCountBeatsAudioRun"><returnvalue>AgsCountBeatsAudioRun</returnvalue></link> * <link linkend="ags-count-beats-audio-run-new">ags_count_beats_audio_run_new</link> (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-count-beats-audio-run-notation-loop">ags_count_beats_audio_run_notation_loop</link>
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-count-beats-audio-run-notation-start">ags_count_beats_audio_run_notation_start</link>
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-count-beats-audio-run-notation-stop">ags_count_beats_audio_run_notation_stop</link>
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-count-beats-audio-run-sequencer-loop">ags_count_beats_audio_run_sequencer_loop</link>
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-count-beats-audio-run-sequencer-start">ags_count_beats_audio_run_sequencer_start</link>
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-count-beats-audio-run-sequencer-stop">ags_count_beats_audio_run_sequencer_stop</link>
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCountBeatsAudioRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCountBeatsAudioRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCountBeatsAudioRun" role="struct">
+<title>struct AgsCountBeatsAudioRun</title>
+<indexterm zone="AgsCountBeatsAudioRun"><primary>AgsCountBeatsAudioRun</primary></indexterm>
+<programlisting>struct AgsCountBeatsAudioRun {
+ AgsRecallAudioRun recall_audio_run;
+
+ gboolean first_run;
+
+ guint notation_counter;
+ guint sequencer_counter;
+
+ guint recall_ref;
+
+ guint hide_ref;
+ guint notation_hide_ref_counter;
+ guint sequencer_hide_ref_counter;
+
+ gulong sequencer_alloc_output_handler;
+ gulong sequencer_count_handler;
+
+ gulong notation_alloc_output_handler;
+ gulong notation_count_handler;
+
+ AgsDelayAudioRun *delay_audio_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCountBeatsAudioRunClass" role="struct">
+<title>struct AgsCountBeatsAudioRunClass</title>
+<indexterm zone="AgsCountBeatsAudioRunClass"><primary>AgsCountBeatsAudioRunClass</primary></indexterm>
+<programlisting>struct AgsCountBeatsAudioRunClass {
+ AgsRecallAudioRunClass recall_audio_run;
+
+ void (*notation_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*notation_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*notation_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+
+ void (*sequencer_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*sequencer_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*sequencer_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-run-new" role="function">
+<title>ags_count_beats_audio_run_new ()</title>
+<indexterm zone="ags-count-beats-audio-run-new"><primary>ags_count_beats_audio_run_new</primary></indexterm>
+<programlisting><link linkend="AgsCountBeatsAudioRun"><returnvalue>AgsCountBeatsAudioRun</returnvalue></link> * ags_count_beats_audio_run_new (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-run-notation-loop" role="function">
+<title>ags_count_beats_audio_run_notation_loop ()</title>
+<indexterm zone="ags-count-beats-audio-run-notation-loop"><primary>ags_count_beats_audio_run_notation_loop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_count_beats_audio_run_notation_loop
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-run-notation-start" role="function">
+<title>ags_count_beats_audio_run_notation_start ()</title>
+<indexterm zone="ags-count-beats-audio-run-notation-start"><primary>ags_count_beats_audio_run_notation_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_count_beats_audio_run_notation_start
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-run-notation-stop" role="function">
+<title>ags_count_beats_audio_run_notation_stop ()</title>
+<indexterm zone="ags-count-beats-audio-run-notation-stop"><primary>ags_count_beats_audio_run_notation_stop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_count_beats_audio_run_notation_stop
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-run-sequencer-loop" role="function">
+<title>ags_count_beats_audio_run_sequencer_loop ()</title>
+<indexterm zone="ags-count-beats-audio-run-sequencer-loop"><primary>ags_count_beats_audio_run_sequencer_loop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_count_beats_audio_run_sequencer_loop
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-run-sequencer-start" role="function">
+<title>ags_count_beats_audio_run_sequencer_start ()</title>
+<indexterm zone="ags-count-beats-audio-run-sequencer-start"><primary>ags_count_beats_audio_run_sequencer_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_count_beats_audio_run_sequencer_start
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-count-beats-audio-run-sequencer-stop" role="function">
+<title>ags_count_beats_audio_run_sequencer_stop ()</title>
+<indexterm zone="ags-count-beats-audio-run-sequencer-stop"><primary>ags_count_beats_audio_run_sequencer_stop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_count_beats_audio_run_sequencer_stop
+ (<parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_countable.xml b/doc/reference/ags/xml/ags_countable.xml
new file mode 100644
index 0000000..dfa4452
--- /dev/null
+++ b/doc/reference/ags/xml/ags_countable.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsCountable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsCountable.top_of_page">AgsCountable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsCountable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsCountable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsCountable">AgsCountable</link>;
+struct <link linkend="AgsCountableInterface">AgsCountableInterface</link>;
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-countable-get-notation-counter">ags_countable_get_notation_counter</link> (<parameter><link linkend="AgsCountable"><type>AgsCountable</type></link> *countable</parameter>);
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-countable-get-sequencer-counter">ags_countable_get_sequencer_counter</link> (<parameter><link linkend="AgsCountable"><type>AgsCountable</type></link> *countable</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsCountable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsCountable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsCountable" role="typedef">
+<title>AgsCountable</title>
+<indexterm zone="AgsCountable"><primary>AgsCountable</primary></indexterm>
+<programlisting>typedef void AgsCountable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsCountableInterface" role="struct">
+<title>struct AgsCountableInterface</title>
+<indexterm zone="AgsCountableInterface"><primary>AgsCountableInterface</primary></indexterm>
+<programlisting>struct AgsCountableInterface {
+ GTypeInterface interface;
+
+ guint (*get_notation_counter)(AgsCountable *countable);
+ guint (*get_sequencer_counter)(AgsCountable *countable);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-countable-get-notation-counter" role="function">
+<title>ags_countable_get_notation_counter ()</title>
+<indexterm zone="ags-countable-get-notation-counter"><primary>ags_countable_get_notation_counter</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_countable_get_notation_counter (<parameter><link linkend="AgsCountable"><type>AgsCountable</type></link> *countable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-countable-get-sequencer-counter" role="function">
+<title>ags_countable_get_sequencer_counter ()</title>
+<indexterm zone="ags-countable-get-sequencer-counter"><primary>ags_countable_get_sequencer_counter</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_countable_get_sequencer_counter (<parameter><link linkend="AgsCountable"><type>AgsCountable</type></link> *countable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_delay_audio.xml b/doc/reference/ags/xml/ags_delay_audio.xml
new file mode 100644
index 0000000..cbe002b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_delay_audio.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDelayAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDelayAudio.top_of_page">AgsDelayAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDelayAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDelayAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsDelayAudio">AgsDelayAudio</link>;
+struct <link linkend="AgsDelayAudioClass">AgsDelayAudioClass</link>;
+<link linkend="AgsDelayAudio"><returnvalue>AgsDelayAudio</returnvalue></link> * <link linkend="ags-delay-audio-new">ags_delay_audio_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-notation-duration-changed">ags_delay_audio_notation_duration_changed</link>
+ (<parameter><link linkend="AgsDelayAudio"><type>AgsDelayAudio</type></link> *delay_audio</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-sequencer-duration-changed">ags_delay_audio_sequencer_duration_changed</link>
+ (<parameter><link linkend="AgsDelayAudio"><type>AgsDelayAudio</type></link> *delay_audio</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDelayAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDelayAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDelayAudio" role="struct">
+<title>struct AgsDelayAudio</title>
+<indexterm zone="AgsDelayAudio"><primary>AgsDelayAudio</primary></indexterm>
+<programlisting>struct AgsDelayAudio {
+ AgsRecallAudio recall_audio;
+
+ AgsPort *bpm;
+ AgsPort *tact;
+
+ AgsPort *notation_delay;
+ AgsPort *sequencer_delay;
+
+ AgsPort *sequencer_duration;
+ AgsPort *notation_duration;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDelayAudioClass" role="struct">
+<title>struct AgsDelayAudioClass</title>
+<indexterm zone="AgsDelayAudioClass"><primary>AgsDelayAudioClass</primary></indexterm>
+<programlisting>struct AgsDelayAudioClass {
+ AgsRecallAudioClass recall_audio;
+
+ void (*notation_duration_changed)(AgsDelayAudio *delay_audio);
+ void (*sequencer_duration_changed)(AgsDelayAudio *delay_audio);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-new" role="function">
+<title>ags_delay_audio_new ()</title>
+<indexterm zone="ags-delay-audio-new"><primary>ags_delay_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsDelayAudio"><returnvalue>AgsDelayAudio</returnvalue></link> * ags_delay_audio_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-notation-duration-changed" role="function">
+<title>ags_delay_audio_notation_duration_changed ()</title>
+<indexterm zone="ags-delay-audio-notation-duration-changed"><primary>ags_delay_audio_notation_duration_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_notation_duration_changed
+ (<parameter><link linkend="AgsDelayAudio"><type>AgsDelayAudio</type></link> *delay_audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-sequencer-duration-changed" role="function">
+<title>ags_delay_audio_sequencer_duration_changed ()</title>
+<indexterm zone="ags-delay-audio-sequencer-duration-changed"><primary>ags_delay_audio_sequencer_duration_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_sequencer_duration_changed
+ (<parameter><link linkend="AgsDelayAudio"><type>AgsDelayAudio</type></link> *delay_audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_delay_audio_run.xml b/doc/reference/ags/xml/ags_delay_audio_run.xml
new file mode 100644
index 0000000..273c883
--- /dev/null
+++ b/doc/reference/ags/xml/ags_delay_audio_run.xml
@@ -0,0 +1,171 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDelayAudioRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDelayAudioRun.top_of_page">AgsDelayAudioRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDelayAudioRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDelayAudioRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsDelayAudioRun">AgsDelayAudioRun</link>;
+struct <link linkend="AgsDelayAudioRunClass">AgsDelayAudioRunClass</link>;
+<link linkend="AgsDelayAudioRun"><returnvalue>AgsDelayAudioRun</returnvalue></link> * <link linkend="ags-delay-audio-run-new">ags_delay_audio_run_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-run-notation-alloc-input">ags_delay_audio_run_notation_alloc_input</link>
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-run-notation-alloc-output">ags_delay_audio_run_notation_alloc_output</link>
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-run-notation-count">ags_delay_audio_run_notation_count</link> (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-run-sequencer-alloc-input">ags_delay_audio_run_sequencer_alloc_input</link>
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-run-sequencer-alloc-output">ags_delay_audio_run_sequencer_alloc_output</link>
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-delay-audio-run-sequencer-count">ags_delay_audio_run_sequencer_count</link> (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDelayAudioRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDelayAudioRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDelayAudioRun" role="struct">
+<title>struct AgsDelayAudioRun</title>
+<indexterm zone="AgsDelayAudioRun"><primary>AgsDelayAudioRun</primary></indexterm>
+<programlisting>struct AgsDelayAudioRun {
+ AgsRecallAudioRun recall_audio_run;
+
+ guint dependency_ref;
+
+ guint hide_ref;
+ guint hide_ref_counter;
+
+ guint notation_counter;
+ guint sequencer_counter;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDelayAudioRunClass" role="struct">
+<title>struct AgsDelayAudioRunClass</title>
+<indexterm zone="AgsDelayAudioRunClass"><primary>AgsDelayAudioRunClass</primary></indexterm>
+<programlisting>struct AgsDelayAudioRunClass {
+ AgsRecallAudioRunClass recall_audio_run;
+
+ void (*notation_alloc_output)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*notation_alloc_input)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*notation_count)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+
+ void (*sequencer_alloc_output)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*sequencer_alloc_input)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+ void (*sequencer_count)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ guint delay, guint attack);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-run-new" role="function">
+<title>ags_delay_audio_run_new ()</title>
+<indexterm zone="ags-delay-audio-run-new"><primary>ags_delay_audio_run_new</primary></indexterm>
+<programlisting><link linkend="AgsDelayAudioRun"><returnvalue>AgsDelayAudioRun</returnvalue></link> * ags_delay_audio_run_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-run-notation-alloc-input" role="function">
+<title>ags_delay_audio_run_notation_alloc_input ()</title>
+<indexterm zone="ags-delay-audio-run-notation-alloc-input"><primary>ags_delay_audio_run_notation_alloc_input</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_run_notation_alloc_input
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-run-notation-alloc-output" role="function">
+<title>ags_delay_audio_run_notation_alloc_output ()</title>
+<indexterm zone="ags-delay-audio-run-notation-alloc-output"><primary>ags_delay_audio_run_notation_alloc_output</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_run_notation_alloc_output
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-run-notation-count" role="function">
+<title>ags_delay_audio_run_notation_count ()</title>
+<indexterm zone="ags-delay-audio-run-notation-count"><primary>ags_delay_audio_run_notation_count</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_run_notation_count (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-run-sequencer-alloc-input" role="function">
+<title>ags_delay_audio_run_sequencer_alloc_input ()</title>
+<indexterm zone="ags-delay-audio-run-sequencer-alloc-input"><primary>ags_delay_audio_run_sequencer_alloc_input</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_run_sequencer_alloc_input
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-run-sequencer-alloc-output" role="function">
+<title>ags_delay_audio_run_sequencer_alloc_output ()</title>
+<indexterm zone="ags-delay-audio-run-sequencer-alloc-output"><primary>ags_delay_audio_run_sequencer_alloc_output</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_run_sequencer_alloc_output
+ (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-delay-audio-run-sequencer-count" role="function">
+<title>ags_delay_audio_run_sequencer_count ()</title>
+<indexterm zone="ags-delay-audio-run-sequencer-count"><primary>ags_delay_audio_run_sequencer_count</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_delay_audio_run_sequencer_count (<parameter><link linkend="AgsDelayAudioRun"><type>AgsDelayAudioRun</type></link> *delay_audio_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_devout.xml b/doc/reference/ags/xml/ags_devout.xml
new file mode 100644
index 0000000..7d9b409
--- /dev/null
+++ b/doc/reference/ags/xml/ags_devout.xml
@@ -0,0 +1,465 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDevout">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDevout.top_of_page">AgsDevout</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDevout</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDevout.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-DEVOUT-DEFAULT-BPM:CAPS">AGS_DEVOUT_DEFAULT_BPM</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-BUFFER-SIZE:CAPS">AGS_DEVOUT_DEFAULT_BUFFER_SIZE</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-DELAY:CAPS">AGS_DEVOUT_DEFAULT_DELAY</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-FORMAT:CAPS">AGS_DEVOUT_DEFAULT_FORMAT</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-JIFFIE:CAPS">AGS_DEVOUT_DEFAULT_JIFFIE</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-SAMPLERATE:CAPS">AGS_DEVOUT_DEFAULT_SAMPLERATE</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-SCALE:CAPS">AGS_DEVOUT_DEFAULT_SCALE</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-TACT:CAPS">AGS_DEVOUT_DEFAULT_TACT</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-TACTRATE:CAPS">AGS_DEVOUT_DEFAULT_TACTRATE</link>
+#define <link linkend="AGS-DEVOUT-DEFAULT-TACT-JIFFIE:CAPS">AGS_DEVOUT_DEFAULT_TACT_JIFFIE</link>
+#define <link linkend="AGS-DEVOUT-ERROR:CAPS">AGS_DEVOUT_ERROR</link>
+#define <link linkend="AGS-DEVOUT-PLAY:CAPS">AGS_DEVOUT_PLAY</link> (ptr)
+#define <link linkend="AGS-DEVOUT-PLAY-DOMAIN:CAPS">AGS_DEVOUT_PLAY_DOMAIN</link> (ptr)
+struct <link linkend="AgsDevout">AgsDevout</link>;
+struct <link linkend="AgsDevoutClass">AgsDevoutClass</link>;
+enum <link linkend="AgsDevoutError">AgsDevoutError</link>;
+enum <link linkend="AgsDevoutFlags">AgsDevoutFlags</link>;
+struct <link linkend="AgsDevoutPlay">AgsDevoutPlay</link>;
+struct <link linkend="AgsDevoutPlayDomain">AgsDevoutPlayDomain</link>;
+enum <link linkend="AgsDevoutPlayFlags">AgsDevoutPlayFlags</link>;
+enum <link linkend="AgsDevoutResolutionMode">AgsDevoutResolutionMode</link>;
+<link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> <link linkend="ags-devout-error-quark">ags_devout_error_quark</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-devout-list-cards">ags_devout_list_cards</link> (<parameter><link linkend="GList"><type>GList</type></link> **card_id</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_name</parameter>);
+<link linkend="AgsDevout"><returnvalue>AgsDevout</returnvalue></link> * <link linkend="ags-devout-new">ags_devout_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-devout-note-offset-changed">ags_devout_note_offset_changed</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> note_offset</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-devout-pcm-info">ags_devout_pcm_info</link> (<parameter><link linkend="char"><type>char</type></link> *card_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_max</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="AgsDevoutPlay"><returnvalue>AgsDevoutPlay</returnvalue></link> * <link linkend="ags-devout-play-alloc">ags_devout_play_alloc</link> ();
+<link linkend="AgsDevoutPlayDomain"><returnvalue>AgsDevoutPlayDomain</returnvalue></link> * <link linkend="ags-devout-play-domain-alloc">ags_devout_play_domain_alloc</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-devout-play-domain-free">ags_devout_play_domain_free</link> (<parameter><link linkend="AgsDevoutPlayDomain"><type>AgsDevoutPlayDomain</type></link> *devout_play_domain</parameter>);
+<link linkend="AgsDevoutPlay"><returnvalue>AgsDevoutPlay</returnvalue></link> * <link linkend="ags-devout-play-find-source">ags_devout_play_find_source</link> (<parameter><link linkend="GList"><type>GList</type></link> *devout_play</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *source</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-devout-play-free">ags_devout_play_free</link> (<parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *devout_play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-devout-tic">ags_devout_tic</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDevout.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDevout.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-DEVOUT-DEFAULT-BPM:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_BPM</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-BPM:CAPS"><primary>AGS_DEVOUT_DEFAULT_BPM</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_BPM (120.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-BUFFER-SIZE:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_BUFFER_SIZE</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-BUFFER-SIZE:CAPS"><primary>AGS_DEVOUT_DEFAULT_BUFFER_SIZE</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_BUFFER_SIZE (944)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-DELAY:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_DELAY</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-DELAY:CAPS"><primary>AGS_DEVOUT_DEFAULT_DELAY</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_DELAY (AGS_DEVOUT_DEFAULT_JIFFIE * (60.0 / AGS_DEVOUT_DEFAULT_BPM))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-FORMAT:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_FORMAT</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-FORMAT:CAPS"><primary>AGS_DEVOUT_DEFAULT_FORMAT</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_FORMAT (16)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-JIFFIE:CAPS"><primary>AGS_DEVOUT_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_JIFFIE ((double) AGS_DEVOUT_DEFAULT_SAMPLERATE / (double) AGS_DEVOUT_DEFAULT_BUFFER_SIZE)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-SAMPLERATE:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_SAMPLERATE</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-SAMPLERATE:CAPS"><primary>AGS_DEVOUT_DEFAULT_SAMPLERATE</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_SAMPLERATE (44100.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-SCALE:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_SCALE</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-SCALE:CAPS"><primary>AGS_DEVOUT_DEFAULT_SCALE</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_SCALE (1.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-TACT:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_TACT</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-TACT:CAPS"><primary>AGS_DEVOUT_DEFAULT_TACT</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_TACT (1.0 / 1.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-TACTRATE:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_TACTRATE</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-TACTRATE:CAPS"><primary>AGS_DEVOUT_DEFAULT_TACTRATE</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_TACTRATE (1.0 / AGS_DEVOUT_DEFAULT_TACT_JIFFIE)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-DEFAULT-TACT-JIFFIE:CAPS" role="macro">
+<title>AGS_DEVOUT_DEFAULT_TACT_JIFFIE</title>
+<indexterm zone="AGS-DEVOUT-DEFAULT-TACT-JIFFIE:CAPS"><primary>AGS_DEVOUT_DEFAULT_TACT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_DEFAULT_TACT_JIFFIE (60.0 / AGS_DEVOUT_DEFAULT_BPM * AGS_DEVOUT_DEFAULT_TACT)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-ERROR:CAPS" role="macro">
+<title>AGS_DEVOUT_ERROR</title>
+<indexterm zone="AGS-DEVOUT-ERROR:CAPS"><primary>AGS_DEVOUT_ERROR</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_ERROR (ags_devout_error_quark())
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-PLAY:CAPS" role="macro">
+<title>AGS_DEVOUT_PLAY()</title>
+<indexterm zone="AGS-DEVOUT-PLAY:CAPS"><primary>AGS_DEVOUT_PLAY</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_PLAY(ptr) ((AgsDevoutPlay *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-DEVOUT-PLAY-DOMAIN:CAPS" role="macro">
+<title>AGS_DEVOUT_PLAY_DOMAIN()</title>
+<indexterm zone="AGS-DEVOUT-PLAY-DOMAIN:CAPS"><primary>AGS_DEVOUT_PLAY_DOMAIN</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_PLAY_DOMAIN(ptr) ((AgsDevoutPlayDomain *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevout" role="struct">
+<title>struct AgsDevout</title>
+<indexterm zone="AgsDevout"><primary>AgsDevout</primary></indexterm>
+<programlisting>struct AgsDevout {
+ GObject object;
+
+ guint flags;
+
+ guint dsp_channels;
+ guint pcm_channels;
+ guint bits;
+ guint buffer_size;
+ guint frequency; // sample_rate
+
+ signed short** buffer;
+
+ double bpm; // beats per minute
+
+ gdouble *delay; // count of tics within buffer size
+ guint *attack; // where currently tic resides in the stream's offset, measured in 1/64 of bpm
+
+ gdouble delay_counter; // next time attack changeing when delay_counter == delay
+ guint tic_counter;
+
+ union{
+ struct _AgsAO{
+ ao_device *device;
+ ao_sample_format *format;
+ int driver_ao;
+ }ao;
+ struct _AgsOss{
+ int device_fd;
+ char *device;
+ }oss;
+ struct _AgsAlsa{
+ char *device;
+ int rc;
+ snd_pcm_t *handle;
+ snd_async_handler_t *ahandler;
+ snd_pcm_hw_params_t *params;
+ }alsa;
+ }out;
+
+ GObject *ags_main;
+
+ GList *audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevoutClass" role="struct">
+<title>struct AgsDevoutClass</title>
+<indexterm zone="AgsDevoutClass"><primary>AgsDevoutClass</primary></indexterm>
+<programlisting>struct AgsDevoutClass {
+ GObjectClass object;
+
+ void (*play_init)(AgsDevout *devout,
+ GError **error);
+ void (*play)(AgsDevout *devout,
+ GError **error);
+ void (*stop)(AgsDevout *devout);
+
+ void (*tic)(AgsDevout *devout);
+
+ void (*note_offset_changed)(AgsDevout *devout, guint note_offset);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevoutError" role="enum">
+<title>enum AgsDevoutError</title>
+<indexterm zone="AgsDevoutError"><primary>AgsDevoutError</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DEVOUT_ERROR_LOCKED_SOUNDCARD,
+} AgsDevoutError;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevoutFlags" role="enum">
+<title>enum AgsDevoutFlags</title>
+<indexterm zone="AgsDevoutFlags"><primary>AgsDevoutFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DEVOUT_BUFFER0 = 1,
+ AGS_DEVOUT_BUFFER1 = 1 << 1,
+ AGS_DEVOUT_BUFFER2 = 1 << 2,
+ AGS_DEVOUT_BUFFER3 = 1 << 3,
+
+ AGS_DEVOUT_ATTACK_FIRST = 1 << 4,
+
+ AGS_DEVOUT_PLAY = 1 << 5,
+
+ AGS_DEVOUT_LIBAO = 1 << 6,
+ AGS_DEVOUT_OSS = 1 << 7,
+ AGS_DEVOUT_ALSA = 1 << 8,
+
+ AGS_DEVOUT_SHUTDOWN = 1 << 9,
+ AGS_DEVOUT_START_PLAY = 1 << 10,
+
+ AGS_DEVOUT_NONBLOCKING = 1 << 11,
+
+ AGS_DEVOUT_TIMING_SET_0 = 1 << 12,
+ AGS_DEVOUT_TIMING_SET_1 = 1 << 13,
+} AgsDevoutFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevoutPlay" role="struct">
+<title>struct AgsDevoutPlay</title>
+<indexterm zone="AgsDevoutPlay"><primary>AgsDevoutPlay</primary></indexterm>
+<programlisting>struct AgsDevoutPlay {
+ guint flags;
+
+ AgsIteratorThread **iterator_thread;
+
+ GObject *source;
+ guint audio_channel;
+
+ AgsRecallID **recall_id;
+};
+</programlisting>
+<para>
+A <link linkend="AgsDevoutPlay-struct"><type>AgsDevoutPlay</type></link> represents the play/recall in <link linkend="AgsChannel"><type>AgsChannel</type></link> or <link linkend="AgsRecall"><type>AgsRecall</type></link>
+scope to do output to device.
+</para><variablelist role="struct">
+<varlistentry><term><link linkend="guint"><type>guint</type></link> <structfield id="AgsDevoutPlay.flags">flags</structfield>;</term>
+<listitem><simpara>the internal state</simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="AgsIteratorThread"><type>AgsIteratorThread</type></link> **<structfield id="AgsDevoutPlay.iterator-thread">iterator_thread</structfield>;</term>
+<listitem><simpara>Super-threaded related <link linkend="AgsThread"><type>AgsThread</type></link>. Index 0 playback, 1 sequencer and 2 notation.</simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="GObject"><type>GObject</type></link> *<structfield id="AgsDevoutPlay.source">source</structfield>;</term>
+<listitem><simpara>either <link linkend="AgsChannel"><type>AgsChannel</type></link> or <link linkend="AgsRecall"><type>AgsRecall</type></link></simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="guint"><type>guint</type></link> <structfield id="AgsDevoutPlay.audio-channel">audio_channel</structfield>;</term>
+<listitem><simpara>destination audio channel</simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="AgsRecallID"><type>AgsRecallID</type></link> **<structfield id="AgsDevoutPlay.recall-id">recall_id</structfield>;</term>
+<listitem><simpara>array pointing to appropriate <link linkend="AgsRecallID"><type>AgsRecallID</type></link>. Index 0 playback, 1 sequencer and 2 notation.</simpara></listitem>
+</varlistentry>
+</variablelist></refsect2>
+<refsect2 id="AgsDevoutPlayDomain" role="struct">
+<title>struct AgsDevoutPlayDomain</title>
+<indexterm zone="AgsDevoutPlayDomain"><primary>AgsDevoutPlayDomain</primary></indexterm>
+<programlisting>struct AgsDevoutPlayDomain {
+ GObject *domain;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+
+ GList *devout_play;
+};
+</programlisting>
+<para>
+A <link linkend="AgsDevoutPlayDomain-struct"><type>AgsDevoutPlayDomain</type></link> represents the entire possible play/recall
+context.
+</para><variablelist role="struct">
+<varlistentry><term><link linkend="GObject"><type>GObject</type></link> *<structfield id="AgsDevoutPlayDomain.domain">domain</structfield>;</term>
+<listitem><simpara>the source</simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="gboolean"><type>gboolean</type></link> <structfield id="AgsDevoutPlayDomain.playback">playback</structfield>;</term>
+<listitem><simpara>if <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> playback is on</simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="gboolean"><type>gboolean</type></link> <structfield id="AgsDevoutPlayDomain.sequencer">sequencer</structfield>;</term>
+<listitem><simpara>if <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> sequencer is on</simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="gboolean"><type>gboolean</type></link> <structfield id="AgsDevoutPlayDomain.notation">notation</structfield>;</term>
+<listitem><simpara>if <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> notation is on</simpara></listitem>
+</varlistentry>
+<varlistentry><term><link linkend="GList"><type>GList</type></link> *<structfield id="AgsDevoutPlayDomain.devout-play">devout_play</structfield>;</term>
+<listitem><simpara>a <link linkend="GList"><type>GList</type></link> of <link linkend="AgsDevoutPlay-struct"><type>AgsDevoutPlay</type></link></simpara></listitem>
+</varlistentry>
+</variablelist></refsect2>
+<refsect2 id="AgsDevoutPlayFlags" role="enum">
+<title>enum AgsDevoutPlayFlags</title>
+<indexterm zone="AgsDevoutPlayFlags"><primary>AgsDevoutPlayFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DEVOUT_PLAY_DONE = 1,
+ AGS_DEVOUT_PLAY_REMOVE = 1 << 1,
+ AGS_DEVOUT_PLAY_CHANNEL = 1 << 2,
+ AGS_DEVOUT_PLAY_PAD = 1 << 3,
+ AGS_DEVOUT_PLAY_AUDIO = 1 << 4,
+ AGS_DEVOUT_PLAY_PLAYBACK = 1 << 5,
+ AGS_DEVOUT_PLAY_SEQUENCER = 1 << 6,
+ AGS_DEVOUT_PLAY_NOTATION = 1 << 7,
+ AGS_DEVOUT_PLAY_SUPER_THREADED = 1 << 8,
+} AgsDevoutPlayFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevoutResolutionMode" role="enum">
+<title>enum AgsDevoutResolutionMode</title>
+<indexterm zone="AgsDevoutResolutionMode"><primary>AgsDevoutResolutionMode</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DEVOUT_RESOLUTION_8_BIT = 8,
+ AGS_DEVOUT_RESOLUTION_16_BIT = 16,
+ AGS_DEVOUT_RESOLUTION_24_BIT = 24,
+ AGS_DEVOUT_RESOLUTION_32_BIT = 32,
+ AGS_DEVOUT_RESOLUTION_64_BIT = 64,
+} AgsDevoutResolutionMode;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-devout-error-quark" role="function">
+<title>ags_devout_error_quark ()</title>
+<indexterm zone="ags-devout-error-quark"><primary>ags_devout_error_quark</primary></indexterm>
+<programlisting><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> ags_devout_error_quark ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-devout-list-cards" role="function">
+<title>ags_devout_list_cards ()</title>
+<indexterm zone="ags-devout-list-cards"><primary>ags_devout_list_cards</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_devout_list_cards (<parameter><link linkend="GList"><type>GList</type></link> **card_id</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_name</parameter>);</programlisting>
+<para>
+List available soundcards.
+</para></refsect2>
+<refsect2 id="ags-devout-new" role="function">
+<title>ags_devout_new ()</title>
+<indexterm zone="ags-devout-new"><primary>ags_devout_new</primary></indexterm>
+<programlisting><link linkend="AgsDevout"><returnvalue>AgsDevout</returnvalue></link> * ags_devout_new (<parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);</programlisting>
+<para>
+Creates an <link linkend="AgsDevout"><type>AgsDevout</type></link>, refering to <parameter>ags_main</parameter>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsDevout"><type>AgsDevout</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-devout-note-offset-changed" role="function">
+<title>ags_devout_note_offset_changed ()</title>
+<indexterm zone="ags-devout-note-offset-changed"><primary>ags_devout_note_offset_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_devout_note_offset_changed (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> note_offset</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-devout-pcm-info" role="function">
+<title>ags_devout_pcm_info ()</title>
+<indexterm zone="ags-devout-pcm-info"><primary>ags_devout_pcm_info</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_devout_pcm_info (<parameter><link linkend="char"><type>char</type></link> *card_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_max</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+List available soundcards.
+</para></refsect2>
+<refsect2 id="ags-devout-play-alloc" role="function">
+<title>ags_devout_play_alloc ()</title>
+<indexterm zone="ags-devout-play-alloc"><primary>ags_devout_play_alloc</primary></indexterm>
+<programlisting><link linkend="AgsDevoutPlay"><returnvalue>AgsDevoutPlay</returnvalue></link> * ags_devout_play_alloc ();</programlisting>
+<para>
+Allocs an <link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the devout play</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-devout-play-domain-alloc" role="function">
+<title>ags_devout_play_domain_alloc ()</title>
+<indexterm zone="ags-devout-play-domain-alloc"><primary>ags_devout_play_domain_alloc</primary></indexterm>
+<programlisting><link linkend="AgsDevoutPlayDomain"><returnvalue>AgsDevoutPlayDomain</returnvalue></link> * ags_devout_play_domain_alloc ();</programlisting>
+<para>
+Allocs an <link linkend="AgsDevoutPlayDomain"><type>AgsDevoutPlayDomain</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the devout play domain</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-devout-play-domain-free" role="function">
+<title>ags_devout_play_domain_free ()</title>
+<indexterm zone="ags-devout-play-domain-free"><primary>ags_devout_play_domain_free</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_devout_play_domain_free (<parameter><link linkend="AgsDevoutPlayDomain"><type>AgsDevoutPlayDomain</type></link> *devout_play_domain</parameter>);</programlisting>
+<para>
+Frees an <link linkend="AgsDevoutPlayDomain"><type>AgsDevoutPlayDomain</type></link>.
+</para></refsect2>
+<refsect2 id="ags-devout-play-find-source" role="function">
+<title>ags_devout_play_find_source ()</title>
+<indexterm zone="ags-devout-play-find-source"><primary>ags_devout_play_find_source</primary></indexterm>
+<programlisting><link linkend="AgsDevoutPlay"><returnvalue>AgsDevoutPlay</returnvalue></link> * ags_devout_play_find_source (<parameter><link linkend="GList"><type>GList</type></link> *devout_play</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *source</parameter>);</programlisting>
+<para>
+Find source
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the matching devout play</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-devout-play-free" role="function">
+<title>ags_devout_play_free ()</title>
+<indexterm zone="ags-devout-play-free"><primary>ags_devout_play_free</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_devout_play_free (<parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *devout_play</parameter>);</programlisting>
+<para>
+Frees an <link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link>.
+</para></refsect2>
+<refsect2 id="ags-devout-tic" role="function">
+<title>ags_devout_tic ()</title>
+<indexterm zone="ags-devout-tic"><primary>ags_devout_tic</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_devout_tic (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+The tic of devout.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_devout_thread.xml b/doc/reference/ags/xml/ags_devout_thread.xml
new file mode 100644
index 0000000..158abe4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_devout_thread.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDevoutThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDevoutThread.top_of_page">AgsDevoutThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDevoutThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDevoutThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-DEVOUT-THREAD-DEFAULT-JIFFIE:CAPS">AGS_DEVOUT_THREAD_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsDevoutThread">AgsDevoutThread</link>;
+struct <link linkend="AgsDevoutThreadClass">AgsDevoutThreadClass</link>;
+<link linkend="AgsDevoutThread"><returnvalue>AgsDevoutThread</returnvalue></link> * <link linkend="ags-devout-thread-new">ags_devout_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDevoutThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDevoutThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-DEVOUT-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_DEVOUT_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-DEVOUT-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_DEVOUT_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_DEVOUT_THREAD_DEFAULT_JIFFIE (48.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevoutThread" role="struct">
+<title>struct AgsDevoutThread</title>
+<indexterm zone="AgsDevoutThread"><primary>AgsDevoutThread</primary></indexterm>
+<programlisting>struct AgsDevoutThread {
+ AgsThread thread;
+
+ time_t time_val;
+
+ AgsThread *timestamp_thread;
+
+ GError *error;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDevoutThreadClass" role="struct">
+<title>struct AgsDevoutThreadClass</title>
+<indexterm zone="AgsDevoutThreadClass"><primary>AgsDevoutThreadClass</primary></indexterm>
+<programlisting>struct AgsDevoutThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-devout-thread-new" role="function">
+<title>ags_devout_thread_new ()</title>
+<indexterm zone="ags-devout-thread-new"><primary>ags_devout_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsDevoutThread"><returnvalue>AgsDevoutThread</returnvalue></link> * ags_devout_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_dial.xml b/doc/reference/ags/xml/ags_dial.xml
new file mode 100644
index 0000000..66f3303
--- /dev/null
+++ b/doc/reference/ags/xml/ags_dial.xml
@@ -0,0 +1,111 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDial">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDial.top_of_page">AgsDial</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDial</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDial.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-DIAL-DEFAULT-PRECISION:CAPS">AGS_DIAL_DEFAULT_PRECISION</link>
+struct <link linkend="AgsDial">AgsDial</link>;
+struct <link linkend="AgsDialClass">AgsDialClass</link>;
+enum <link linkend="AgsDialFlags">AgsDialFlags</link>;
+<link linkend="AgsDial"><returnvalue>AgsDial</returnvalue></link> * <link linkend="ags-dial-new">ags_dial_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDial.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDial.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-DIAL-DEFAULT-PRECISION:CAPS" role="macro">
+<title>AGS_DIAL_DEFAULT_PRECISION</title>
+<indexterm zone="AGS-DIAL-DEFAULT-PRECISION:CAPS"><primary>AGS_DIAL_DEFAULT_PRECISION</primary></indexterm>
+<programlisting>#define AGS_DIAL_DEFAULT_PRECISION (8.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDial" role="struct">
+<title>struct AgsDial</title>
+<indexterm zone="AgsDial"><primary>AgsDial</primary></indexterm>
+<programlisting>struct AgsDial {
+ GtkWidget widget;
+
+ guint flags;
+
+ guint radius;
+ guint outline_strength;
+ guint scale_precision;
+
+ guint font_size;
+ gint button_width;
+ gint button_height;
+ gint margin_left;
+ gint margin_right;
+
+ gdouble tolerance;
+ gdouble negated_tolerance;
+
+ gint sleep_interval;
+
+ GtkAdjustment *adjustment;
+
+ gdouble gravity_x;
+ gdouble gravity_y;
+ gdouble current_x;
+ gdouble current_y;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDialClass" role="struct">
+<title>struct AgsDialClass</title>
+<indexterm zone="AgsDialClass"><primary>AgsDialClass</primary></indexterm>
+<programlisting>struct AgsDialClass {
+ GtkWidgetClass widget;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDialFlags" role="enum">
+<title>enum AgsDialFlags</title>
+<indexterm zone="AgsDialFlags"><primary>AgsDialFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DIAL_WITH_BUTTONS = 1,
+ AGS_DIAL_MOUSE_BUTTON_PRESSED = 1 << 1,
+ AGS_DIAL_BUTTON_DOWN_PRESSED = 1 << 2,
+ AGS_DIAL_BUTTON_UP_PRESSED = 1 << 3,
+ AGS_DIAL_MOTION_CAPTURING_INIT = 1 << 4,
+ AGS_DIAL_MOTION_CAPTURING = 1 << 5,
+ AGS_DIAL_IDLE = 1 << 6,
+} AgsDialFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-dial-new" role="function">
+<title>ags_dial_new ()</title>
+<indexterm zone="ags-dial-new"><primary>ags_dial_new</primary></indexterm>
+<programlisting><link linkend="AgsDial"><returnvalue>AgsDial</returnvalue></link> * ags_dial_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_display_tact.xml b/doc/reference/ags/xml/ags_display_tact.xml
new file mode 100644
index 0000000..789dd6f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_display_tact.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDisplayTact">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDisplayTact.top_of_page">AgsDisplayTact</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDisplayTact</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDisplayTact.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsDisplayTact">AgsDisplayTact</link>;
+struct <link linkend="AgsDisplayTactClass">AgsDisplayTactClass</link>;
+<link linkend="AgsDisplayTact"><returnvalue>AgsDisplayTact</returnvalue></link> * <link linkend="ags-display-tact-new">ags_display_tact_new</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *navigation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDisplayTact.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDisplayTact.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDisplayTact" role="struct">
+<title>struct AgsDisplayTact</title>
+<indexterm zone="AgsDisplayTact"><primary>AgsDisplayTact</primary></indexterm>
+<programlisting>struct AgsDisplayTact {
+ AgsTask task;
+
+ GtkWidget *navigation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDisplayTactClass" role="struct">
+<title>struct AgsDisplayTactClass</title>
+<indexterm zone="AgsDisplayTactClass"><primary>AgsDisplayTactClass</primary></indexterm>
+<programlisting>struct AgsDisplayTactClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-display-tact-new" role="function">
+<title>ags_display_tact_new ()</title>
+<indexterm zone="ags-display-tact-new"><primary>ags_display_tact_new</primary></indexterm>
+<programlisting><link linkend="AgsDisplayTact"><returnvalue>AgsDisplayTact</returnvalue></link> * ags_display_tact_new (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum.xml b/doc/reference/ags/xml/ags_drum.xml
new file mode 100644
index 0000000..d90bf22
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum.xml
@@ -0,0 +1,122 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDrum">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDrum.top_of_page">AgsDrum</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDrum</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDrum.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-DRUM-PATTERN-CONTROLS:CAPS">AGS_DRUM_PATTERN_CONTROLS</link>
+struct <link linkend="AgsDrum">AgsDrum</link>;
+struct <link linkend="AgsDrumClass">AgsDrumClass</link>;
+enum <link linkend="AgsDrumFlags">AgsDrumFlags</link>;
+<link linkend="AgsDrum"><returnvalue>AgsDrum</returnvalue></link> * <link linkend="ags-drum-new">ags_drum_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-set-pattern">ags_drum_set_pattern</link> (<parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDrum.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDrum.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-DRUM-PATTERN-CONTROLS:CAPS" role="macro">
+<title>AGS_DRUM_PATTERN_CONTROLS</title>
+<indexterm zone="AGS-DRUM-PATTERN-CONTROLS:CAPS"><primary>AGS_DRUM_PATTERN_CONTROLS</primary></indexterm>
+<programlisting>#define AGS_DRUM_PATTERN_CONTROLS (16)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrum" role="struct">
+<title>struct AgsDrum</title>
+<indexterm zone="AgsDrum"><primary>AgsDrum</primary></indexterm>
+<programlisting>struct AgsDrum {
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+
+ GtkCheckButton *loop_button;
+ GtkSpinButton *length_spin;
+
+ GtkToggleButton *run;
+
+ GtkVBox *vbox;
+
+ GtkHBox *input_pad;
+ GtkVBox *output_pad;
+
+ GtkToggleButton *selected_edit_button;
+
+ AgsDrumInputPad *selected_pad;
+ AgsLine *selected_line;
+
+ GtkToggleButton *index0[4];
+ GtkToggleButton *selected0;
+
+ GtkToggleButton *index1[12];
+ GtkToggleButton *selected1;
+
+ guint active_led;
+ GtkHBox *led;
+ GtkHBox *pattern;
+
+ GtkVBox *offset;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumClass" role="struct">
+<title>struct AgsDrumClass</title>
+<indexterm zone="AgsDrumClass"><primary>AgsDrumClass</primary></indexterm>
+<programlisting>struct AgsDrumClass {
+ AgsMachineClass machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumFlags" role="enum">
+<title>enum AgsDrumFlags</title>
+<indexterm zone="AgsDrumFlags"><primary>AgsDrumFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DRUM_BLOCK_PATTERN = 1,
+} AgsDrumFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-new" role="function">
+<title>ags_drum_new ()</title>
+<indexterm zone="ags-drum-new"><primary>ags_drum_new</primary></indexterm>
+<programlisting><link linkend="AgsDrum"><returnvalue>AgsDrum</returnvalue></link> * ags_drum_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-set-pattern" role="function">
+<title>ags_drum_set_pattern ()</title>
+<indexterm zone="ags-drum-set-pattern"><primary>ags_drum_set_pattern</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_set_pattern (<parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_callbacks.xml b/doc/reference/ags/xml/ags_drum_callbacks.xml
new file mode 100644
index 0000000..1974a13
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_callbacks.xml
@@ -0,0 +1,132 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-drum-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-drum-callbacks.top_of_page">ags_drum_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_drum_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-drum-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-done-callback">ags_drum_done_callback</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-index0-callback">ags_drum_index0_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-index1-callback">ags_drum_index1_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-length-spin-callback">ags_drum_length_spin_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-loop-button-callback">ags_drum_loop_button_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-offset-callback">ags_drum_offset_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-open-callback">ags_drum_open_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-pad-callback">ags_drum_pad_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-parent-set-callback">ags_drum_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-tact-callback">ags_drum_tact_callback</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-drum-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-drum-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-drum-done-callback" role="function">
+<title>ags_drum_done_callback ()</title>
+<indexterm zone="ags-drum-done-callback"><primary>ags_drum_done_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_done_callback (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-index0-callback" role="function">
+<title>ags_drum_index0_callback ()</title>
+<indexterm zone="ags-drum-index0-callback"><primary>ags_drum_index0_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_index0_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-index1-callback" role="function">
+<title>ags_drum_index1_callback ()</title>
+<indexterm zone="ags-drum-index1-callback"><primary>ags_drum_index1_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_index1_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-length-spin-callback" role="function">
+<title>ags_drum_length_spin_callback ()</title>
+<indexterm zone="ags-drum-length-spin-callback"><primary>ags_drum_length_spin_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_length_spin_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-loop-button-callback" role="function">
+<title>ags_drum_loop_button_callback ()</title>
+<indexterm zone="ags-drum-loop-button-callback"><primary>ags_drum_loop_button_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_loop_button_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-offset-callback" role="function">
+<title>ags_drum_offset_callback ()</title>
+<indexterm zone="ags-drum-offset-callback"><primary>ags_drum_offset_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_offset_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-open-callback" role="function">
+<title>ags_drum_open_callback ()</title>
+<indexterm zone="ags-drum-open-callback"><primary>ags_drum_open_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_open_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-pad-callback" role="function">
+<title>ags_drum_pad_callback ()</title>
+<indexterm zone="ags-drum-pad-callback"><primary>ags_drum_pad_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_pad_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-parent-set-callback" role="function">
+<title>ags_drum_parent_set_callback ()</title>
+<indexterm zone="ags-drum-parent-set-callback"><primary>ags_drum_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-tact-callback" role="function">
+<title>ags_drum_tact_callback ()</title>
+<indexterm zone="ags-drum-tact-callback"><primary>ags_drum_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_tact_callback (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrum"><type>AgsDrum</type></link> *drum</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_input_line.xml b/doc/reference/ags/xml/ags_drum_input_line.xml
new file mode 100644
index 0000000..fb820d9
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_input_line.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDrumInputLine">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDrumInputLine.top_of_page">AgsDrumInputLine</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDrumInputLine</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDrumInputLine.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsDrumInputLine">AgsDrumInputLine</link>;
+struct <link linkend="AgsDrumInputLineClass">AgsDrumInputLineClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-input-line-map-recall">ags_drum_input_line_map_recall</link> (<parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> output_pad_start</parameter>);
+<link linkend="AgsDrumInputLine"><returnvalue>AgsDrumInputLine</returnvalue></link> * <link linkend="ags-drum-input-line-new">ags_drum_input_line_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDrumInputLine.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDrumInputLine.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDrumInputLine" role="struct">
+<title>struct AgsDrumInputLine</title>
+<indexterm zone="AgsDrumInputLine"><primary>AgsDrumInputLine</primary></indexterm>
+<programlisting>struct AgsDrumInputLine {
+ AgsLine line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumInputLineClass" role="struct">
+<title>struct AgsDrumInputLineClass</title>
+<indexterm zone="AgsDrumInputLineClass"><primary>AgsDrumInputLineClass</primary></indexterm>
+<programlisting>struct AgsDrumInputLineClass {
+ AgsLineClass line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-input-line-map-recall" role="function">
+<title>ags_drum_input_line_map_recall ()</title>
+<indexterm zone="ags-drum-input-line-map-recall"><primary>ags_drum_input_line_map_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_input_line_map_recall (<parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> output_pad_start</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-input-line-new" role="function">
+<title>ags_drum_input_line_new ()</title>
+<indexterm zone="ags-drum-input-line-new"><primary>ags_drum_input_line_new</primary></indexterm>
+<programlisting><link linkend="AgsDrumInputLine"><returnvalue>AgsDrumInputLine</returnvalue></link> * ags_drum_input_line_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_input_line_callbacks.xml b/doc/reference/ags/xml/ags_drum_input_line_callbacks.xml
new file mode 100644
index 0000000..4bbc7c2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_input_line_callbacks.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-drum-input-line-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-drum-input-line-callbacks.top_of_page">ags_drum_input_line_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_drum_input_line_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-drum-input-line-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-input-line-audio-set-pads-callback">ags_drum_input_line_audio_set_pads_callback</link>
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads_old</parameter>,
+ <parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-input-line-channel-done-callback">ags_drum_input_line_channel_done_callback</link>
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-input-line-parent-set-callback">ags_drum_input_line_parent_set_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-drum-input-line-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-drum-input-line-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-drum-input-line-audio-set-pads-callback" role="function">
+<title>ags_drum_input_line_audio_set_pads_callback ()</title>
+<indexterm zone="ags-drum-input-line-audio-set-pads-callback"><primary>ags_drum_input_line_audio_set_pads_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_input_line_audio_set_pads_callback
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads_old</parameter>,
+ <parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-input-line-channel-done-callback" role="function">
+<title>ags_drum_input_line_channel_done_callback ()</title>
+<indexterm zone="ags-drum-input-line-channel-done-callback"><primary>ags_drum_input_line_channel_done_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_input_line_channel_done_callback
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-input-line-parent-set-callback" role="function">
+<title>ags_drum_input_line_parent_set_callback ()</title>
+<indexterm zone="ags-drum-input-line-parent-set-callback"><primary>ags_drum_input_line_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_input_line_parent_set_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsDrumInputLine"><type>AgsDrumInputLine</type></link> *drum_input_line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_input_pad.xml b/doc/reference/ags/xml/ags_drum_input_pad.xml
new file mode 100644
index 0000000..cb7346e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_input_pad.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDrumInputPad">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDrumInputPad.top_of_page">AgsDrumInputPad</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDrumInputPad</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDrumInputPad.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsDrumInputPad">AgsDrumInputPad</link>;
+struct <link linkend="AgsDrumInputPadClass">AgsDrumInputPadClass</link>;
+enum <link linkend="AgsDrumInputPadFlags">AgsDrumInputPadFlags</link>;
+<link linkend="AgsDrumInputPad"><returnvalue>AgsDrumInputPad</returnvalue></link> * <link linkend="ags-drum-input-pad-new">ags_drum_input_pad_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDrumInputPad.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDrumInputPad.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDrumInputPad" role="struct">
+<title>struct AgsDrumInputPad</title>
+<indexterm zone="AgsDrumInputPad"><primary>AgsDrumInputPad</primary></indexterm>
+<programlisting>struct AgsDrumInputPad {
+ AgsPad pad;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+ GtkToggleButton *play;
+ GtkToggleButton *edit;
+
+ GList *pad_open_recalls;
+ guint pad_open_play_ref;
+
+ GtkFileChooserDialog *file_chooser;
+
+ guint pad_play_ref;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumInputPadClass" role="struct">
+<title>struct AgsDrumInputPadClass</title>
+<indexterm zone="AgsDrumInputPadClass"><primary>AgsDrumInputPadClass</primary></indexterm>
+<programlisting>struct AgsDrumInputPadClass {
+ AgsPadClass pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumInputPadFlags" role="enum">
+<title>enum AgsDrumInputPadFlags</title>
+<indexterm zone="AgsDrumInputPadFlags"><primary>AgsDrumInputPadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE = 1,
+} AgsDrumInputPadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-input-pad-new" role="function">
+<title>ags_drum_input_pad_new ()</title>
+<indexterm zone="ags-drum-input-pad-new"><primary>ags_drum_input_pad_new</primary></indexterm>
+<programlisting><link linkend="AgsDrumInputPad"><returnvalue>AgsDrumInputPad</returnvalue></link> * ags_drum_input_pad_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_input_pad_callbacks.xml b/doc/reference/ags/xml/ags_drum_input_pad_callbacks.xml
new file mode 100644
index 0000000..0e0f948
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_input_pad_callbacks.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-drum-input-pad-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-drum-input-pad-callbacks.top_of_page">ags_drum_input_pad_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_drum_input_pad_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-drum-input-pad-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-input-pad-edit-callback">ags_drum_input_pad_edit_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrumInputPad"><type>AgsDrumInputPad</type></link> *drum_input_pad</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-input-pad-open-callback">ags_drum_input_pad_open_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsDrumInputPad"><type>AgsDrumInputPad</type></link> *drum_input_pad</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-input-pad-play-callback">ags_drum_input_pad_play_callback</link> (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *button</parameter>,
+ <parameter><link linkend="AgsDrumInputPad"><type>AgsDrumInputPad</type></link> *drum_input_pad</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-drum-input-pad-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-drum-input-pad-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-drum-input-pad-edit-callback" role="function">
+<title>ags_drum_input_pad_edit_callback ()</title>
+<indexterm zone="ags-drum-input-pad-edit-callback"><primary>ags_drum_input_pad_edit_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_input_pad_edit_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsDrumInputPad"><type>AgsDrumInputPad</type></link> *drum_input_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-input-pad-open-callback" role="function">
+<title>ags_drum_input_pad_open_callback ()</title>
+<indexterm zone="ags-drum-input-pad-open-callback"><primary>ags_drum_input_pad_open_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_input_pad_open_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsDrumInputPad"><type>AgsDrumInputPad</type></link> *drum_input_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-input-pad-play-callback" role="function">
+<title>ags_drum_input_pad_play_callback ()</title>
+<indexterm zone="ags-drum-input-pad-play-callback"><primary>ags_drum_input_pad_play_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_input_pad_play_callback (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *button</parameter>,
+ <parameter><link linkend="AgsDrumInputPad"><type>AgsDrumInputPad</type></link> *drum_input_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_output_line.xml b/doc/reference/ags/xml/ags_drum_output_line.xml
new file mode 100644
index 0000000..ce294e8
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_output_line.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDrumOutputLine">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDrumOutputLine.top_of_page">AgsDrumOutputLine</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDrumOutputLine</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDrumOutputLine.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsDrumOutputLine">AgsDrumOutputLine</link>;
+struct <link linkend="AgsDrumOutputLineClass">AgsDrumOutputLineClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-output-line-add-default-recall">ags_drum_output_line_add_default_recall</link>
+ (<parameter><link linkend="AgsDrumOutputLine"><type>AgsDrumOutputLine</type></link> *drum_output_line</parameter>);
+<link linkend="AgsDrumOutputLine"><returnvalue>AgsDrumOutputLine</returnvalue></link> * <link linkend="ags-drum-output-line-new">ags_drum_output_line_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDrumOutputLine.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDrumOutputLine.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDrumOutputLine" role="struct">
+<title>struct AgsDrumOutputLine</title>
+<indexterm zone="AgsDrumOutputLine"><primary>AgsDrumOutputLine</primary></indexterm>
+<programlisting>struct AgsDrumOutputLine {
+ AgsLine line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumOutputLineClass" role="struct">
+<title>struct AgsDrumOutputLineClass</title>
+<indexterm zone="AgsDrumOutputLineClass"><primary>AgsDrumOutputLineClass</primary></indexterm>
+<programlisting>struct AgsDrumOutputLineClass {
+ AgsLineClass line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-output-line-add-default-recall" role="function">
+<title>ags_drum_output_line_add_default_recall ()</title>
+<indexterm zone="ags-drum-output-line-add-default-recall"><primary>ags_drum_output_line_add_default_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_output_line_add_default_recall
+ (<parameter><link linkend="AgsDrumOutputLine"><type>AgsDrumOutputLine</type></link> *drum_output_line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-output-line-new" role="function">
+<title>ags_drum_output_line_new ()</title>
+<indexterm zone="ags-drum-output-line-new"><primary>ags_drum_output_line_new</primary></indexterm>
+<programlisting><link linkend="AgsDrumOutputLine"><returnvalue>AgsDrumOutputLine</returnvalue></link> * ags_drum_output_line_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_output_line_callbacks.xml b/doc/reference/ags/xml/ags_drum_output_line_callbacks.xml
new file mode 100644
index 0000000..809865a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_output_line_callbacks.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-drum-output-line-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-drum-output-line-callbacks.top_of_page">ags_drum_output_line_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_drum_output_line_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-drum-output-line-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-drum-output-line-parent-set-callback">ags_drum_output_line_parent_set_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-drum-output-line-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-drum-output-line-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-drum-output-line-parent-set-callback" role="function">
+<title>ags_drum_output_line_parent_set_callback ()</title>
+<indexterm zone="ags-drum-output-line-parent-set-callback"><primary>ags_drum_output_line_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_drum_output_line_parent_set_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_output_pad.xml b/doc/reference/ags/xml/ags_drum_output_pad.xml
new file mode 100644
index 0000000..5f0d7b3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_output_pad.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDrumOutputPad">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDrumOutputPad.top_of_page">AgsDrumOutputPad</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDrumOutputPad</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDrumOutputPad.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsDrumOutputPad">AgsDrumOutputPad</link>;
+struct <link linkend="AgsDrumOutputPadClass">AgsDrumOutputPadClass</link>;
+enum <link linkend="AgsDrumOutputPadFlags">AgsDrumOutputPadFlags</link>;
+<link linkend="AgsDrumOutputPad"><returnvalue>AgsDrumOutputPad</returnvalue></link> * <link linkend="ags-drum-output-pad-new">ags_drum_output_pad_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDrumOutputPad.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDrumOutputPad.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDrumOutputPad" role="struct">
+<title>struct AgsDrumOutputPad</title>
+<indexterm zone="AgsDrumOutputPad"><primary>AgsDrumOutputPad</primary></indexterm>
+<programlisting>struct AgsDrumOutputPad {
+ AgsPad pad;
+
+ guint flags;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumOutputPadClass" role="struct">
+<title>struct AgsDrumOutputPadClass</title>
+<indexterm zone="AgsDrumOutputPadClass"><primary>AgsDrumOutputPadClass</primary></indexterm>
+<programlisting>struct AgsDrumOutputPadClass {
+ AgsPadClass pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDrumOutputPadFlags" role="enum">
+<title>enum AgsDrumOutputPadFlags</title>
+<indexterm zone="AgsDrumOutputPadFlags"><primary>AgsDrumOutputPadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_DRUM_OUTPUT_PAD_PLAY_DONE = 1,
+} AgsDrumOutputPadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-output-pad-new" role="function">
+<title>ags_drum_output_pad_new ()</title>
+<indexterm zone="ags-drum-output-pad-new"><primary>ags_drum_output_pad_new</primary></indexterm>
+<programlisting><link linkend="AgsDrumOutputPad"><returnvalue>AgsDrumOutputPad</returnvalue></link> * ags_drum_output_pad_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_drum_output_pad_callbacks.xml b/doc/reference/ags/xml/ags_drum_output_pad_callbacks.xml
new file mode 100644
index 0000000..ea6aad5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_drum_output_pad_callbacks.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-drum-output-pad-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-drum-output-pad-callbacks.top_of_page">ags_drum_output_pad_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_drum_output_pad_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-drum-output-pad-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-output-pad-play-cancel">ags_drum_output_pad_play_cancel</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrumOutputPad"><type>AgsDrumOutputPad</type></link> *drum_output_pad</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-drum-output-pad-play-done">ags_drum_output_pad_play_done</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrumOutputPad"><type>AgsDrumOutputPad</type></link> *drum_output_pad</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-drum-output-pad-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-drum-output-pad-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-drum-output-pad-play-cancel" role="function">
+<title>ags_drum_output_pad_play_cancel ()</title>
+<indexterm zone="ags-drum-output-pad-play-cancel"><primary>ags_drum_output_pad_play_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_output_pad_play_cancel (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrumOutputPad"><type>AgsDrumOutputPad</type></link> *drum_output_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-drum-output-pad-play-done" role="function">
+<title>ags_drum_output_pad_play_done ()</title>
+<indexterm zone="ags-drum-output-pad-play-done"><primary>ags_drum_output_pad_play_done</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_drum_output_pad_play_done (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsDrumOutputPad"><type>AgsDrumOutputPad</type></link> *drum_output_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_dynamic_connectable.xml b/doc/reference/ags/xml/ags_dynamic_connectable.xml
new file mode 100644
index 0000000..95f6c8d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_dynamic_connectable.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsDynamicConnectable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsDynamicConnectable.top_of_page">AgsDynamicConnectable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsDynamicConnectable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsDynamicConnectable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsDynamicConnectable">AgsDynamicConnectable</link>;
+struct <link linkend="AgsDynamicConnectableInterface">AgsDynamicConnectableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-dynamic-connectable-connect">ags_dynamic_connectable_connect</link> (<parameter><link linkend="AgsDynamicConnectable"><type>AgsDynamicConnectable</type></link> *connectable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-dynamic-connectable-disconnect">ags_dynamic_connectable_disconnect</link> (<parameter><link linkend="AgsDynamicConnectable"><type>AgsDynamicConnectable</type></link> *connectable</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsDynamicConnectable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsDynamicConnectable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsDynamicConnectable" role="typedef">
+<title>AgsDynamicConnectable</title>
+<indexterm zone="AgsDynamicConnectable"><primary>AgsDynamicConnectable</primary></indexterm>
+<programlisting>typedef void AgsDynamicConnectable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsDynamicConnectableInterface" role="struct">
+<title>struct AgsDynamicConnectableInterface</title>
+<indexterm zone="AgsDynamicConnectableInterface"><primary>AgsDynamicConnectableInterface</primary></indexterm>
+<programlisting>struct AgsDynamicConnectableInterface {
+ GTypeInterface interface;
+
+ void (*connect_dynamic)(AgsDynamicConnectable *connectable);
+ void (*disconnect_dynamic)(AgsDynamicConnectable *connectable);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-dynamic-connectable-connect" role="function">
+<title>ags_dynamic_connectable_connect ()</title>
+<indexterm zone="ags-dynamic-connectable-connect"><primary>ags_dynamic_connectable_connect</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_dynamic_connectable_connect (<parameter><link linkend="AgsDynamicConnectable"><type>AgsDynamicConnectable</type></link> *connectable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-dynamic-connectable-disconnect" role="function">
+<title>ags_dynamic_connectable_disconnect ()</title>
+<indexterm zone="ags-dynamic-connectable-disconnect"><primary>ags_dynamic_connectable_disconnect</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_dynamic_connectable_disconnect (<parameter><link linkend="AgsDynamicConnectable"><type>AgsDynamicConnectable</type></link> *connectable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_echo.xml b/doc/reference/ags/xml/ags_echo.xml
new file mode 100644
index 0000000..b0cd598
--- /dev/null
+++ b/doc/reference/ags/xml/ags_echo.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-echo">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-echo.top_of_page">ags_echo</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_echo</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-echo.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-echo">ags_echo</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-echo.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-echo.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-echo" role="function">
+<title>ags_echo ()</title>
+<indexterm zone="ags-echo"><primary>ags_echo</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_echo (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_editor.xml b/doc/reference/ags/xml/ags_editor.xml
new file mode 100644
index 0000000..2ce122e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_editor.xml
@@ -0,0 +1,119 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsEditor.top_of_page">AgsEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-EDITOR-DEFAULT:CAPS">AGS_EDITOR_DEFAULT</link>
+#define <link linkend="AGS-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_EDITOR_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-EDITOR-DEFAULT-VERSION:CAPS">AGS_EDITOR_DEFAULT_VERSION</link>
+struct <link linkend="AgsEditor">AgsEditor</link>;
+struct <link linkend="AgsEditorClass">AgsEditorClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-editor-machine-changed">ags_editor_machine_changed</link> (<parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="AgsEditor"><returnvalue>AgsEditor</returnvalue></link> * <link linkend="ags-editor-new">ags_editor_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-EDITOR-DEFAULT:CAPS" role="macro">
+<title>AGS_EDITOR_DEFAULT</title>
+<indexterm zone="AGS-EDITOR-DEFAULT:CAPS"><primary>AGS_EDITOR_DEFAULT</primary></indexterm>
+<programlisting>#define AGS_EDITOR_DEFAULT "default\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-EDITOR-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_EDITOR_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-EDITOR-DEFAULT-BUILD-ID:CAPS"><primary>AGS_EDITOR_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-EDITOR-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_EDITOR_DEFAULT_VERSION</title>
+<indexterm zone="AGS-EDITOR-DEFAULT-VERSION:CAPS"><primary>AGS_EDITOR_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsEditor" role="struct">
+<title>struct AgsEditor</title>
+<indexterm zone="AgsEditor"><primary>AgsEditor</primary></indexterm>
+<programlisting>struct AgsEditor {
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsDevout *devout;
+
+ AgsMachineSelector *machine_selector;
+ AgsMachine *selected_machine;
+ gulong set_audio_channels_handler;
+ gulong set_pads_handler;
+
+ AgsToolbar *toolbar;
+
+ AgsNotebook *notebook;
+
+ AgsMeter *meter;
+ AgsNoteEdit *note_edit;
+
+ guint tact_counter;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsEditorClass" role="struct">
+<title>struct AgsEditorClass</title>
+<indexterm zone="AgsEditorClass"><primary>AgsEditorClass</primary></indexterm>
+<programlisting>struct AgsEditorClass {
+ GtkVBoxClass vbox;
+
+ void (*machine_changed)(AgsEditor *editor, AgsMachine *machine);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-editor-machine-changed" role="function">
+<title>ags_editor_machine_changed ()</title>
+<indexterm zone="ags-editor-machine-changed"><primary>ags_editor_machine_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_editor_machine_changed (<parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-editor-new" role="function">
+<title>ags_editor_new ()</title>
+<indexterm zone="ags-editor-new"><primary>ags_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsEditor"><returnvalue>AgsEditor</returnvalue></link> * ags_editor_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_editor_callbacks.xml b/doc/reference/ags/xml/ags_editor_callbacks.xml
new file mode 100644
index 0000000..75a2fb1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_editor_callbacks.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-editor-callbacks.top_of_page">ags_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-editor-change-position-callback">ags_editor_change_position_callback</link> (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-editor-machine-changed-callback">ags_editor_machine_changed_callback</link> (<parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-editor-parent-set-callback">ags_editor_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-editor-set-audio-channels-callback">ags_editor_set_audio_channels_callback</link>
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels_old</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-editor-set-pads-callback">ags_editor_set_pads_callback</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> channel_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads_old</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-editor-change-position-callback" role="function">
+<title>ags_editor_change_position_callback ()</title>
+<indexterm zone="ags-editor-change-position-callback"><primary>ags_editor_change_position_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_editor_change_position_callback (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-editor-machine-changed-callback" role="function">
+<title>ags_editor_machine_changed_callback ()</title>
+<indexterm zone="ags-editor-machine-changed-callback"><primary>ags_editor_machine_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_editor_machine_changed_callback (<parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-editor-parent-set-callback" role="function">
+<title>ags_editor_parent_set_callback ()</title>
+<indexterm zone="ags-editor-parent-set-callback"><primary>ags_editor_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_editor_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-editor-set-audio-channels-callback" role="function">
+<title>ags_editor_set_audio_channels_callback ()</title>
+<indexterm zone="ags-editor-set-audio-channels-callback"><primary>ags_editor_set_audio_channels_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_editor_set_audio_channels_callback
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels_old</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-editor-set-pads-callback" role="function">
+<title>ags_editor_set_pads_callback ()</title>
+<indexterm zone="ags-editor-set-pads-callback"><primary>ags_editor_set_pads_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_editor_set_pads_callback (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> channel_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads_old</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_effect.xml b/doc/reference/ags/xml/ags_effect.xml
new file mode 100644
index 0000000..b92f9e0
--- /dev/null
+++ b/doc/reference/ags/xml/ags_effect.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsEffect">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsEffect.top_of_page">AgsEffect</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsEffect</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsEffect.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsEffect">AgsEffect</link>;
+struct <link linkend="AgsEffectInterface">AgsEffectInterface</link>;
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsEffect.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsEffect.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsEffect" role="typedef">
+<title>AgsEffect</title>
+<indexterm zone="AgsEffect"><primary>AgsEffect</primary></indexterm>
+<programlisting>typedef void AgsEffect;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsEffectInterface" role="struct">
+<title>struct AgsEffectInterface</title>
+<indexterm zone="AgsEffectInterface"><primary>AgsEffectInterface</primary></indexterm>
+<programlisting>struct AgsEffectInterface {
+ GTypeInterface interface;
+};
+</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_expander.xml b/doc/reference/ags/xml/ags_expander.xml
new file mode 100644
index 0000000..a98caa5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_expander.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsExpander">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsExpander.top_of_page">AgsExpander</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsExpander</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsExpander.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-EXPANDER-CHILD:CAPS">AGS_EXPANDER_CHILD</link> (ptr)
+struct <link linkend="AgsExpander">AgsExpander</link>;
+struct <link linkend="AgsExpanderChild">AgsExpanderChild</link>;
+struct <link linkend="AgsExpanderClass">AgsExpanderClass</link>;
+enum <link linkend="AgsExpanderFlags">AgsExpanderFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-expander-add">ags_expander_add</link> (<parameter><link linkend="AgsExpander"><type>AgsExpander</type></link> *expander</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);
+<link linkend="AgsExpanderChild"><returnvalue>AgsExpanderChild</returnvalue></link> * <link linkend="ags-expander-child-alloc">ags_expander_child_alloc</link> (<parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);
+<link linkend="AgsExpanderChild"><returnvalue>AgsExpanderChild</returnvalue></link> * <link linkend="ags-expander-child-find">ags_expander_child_find</link> (<parameter><link linkend="AgsExpander"><type>AgsExpander</type></link> *expander</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);
+<link linkend="AgsExpander"><returnvalue>AgsExpander</returnvalue></link> * <link linkend="ags-expander-new">ags_expander_new</link> (<parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-expander-remove">ags_expander_remove</link> (<parameter><link linkend="AgsExpander"><type>AgsExpander</type></link> *expander</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsExpander.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsExpander.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-EXPANDER-CHILD:CAPS" role="macro">
+<title>AGS_EXPANDER_CHILD()</title>
+<indexterm zone="AGS-EXPANDER-CHILD:CAPS"><primary>AGS_EXPANDER_CHILD</primary></indexterm>
+<programlisting>#define AGS_EXPANDER_CHILD(ptr) ((AgsExpanderChild *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpander" role="struct">
+<title>struct AgsExpander</title>
+<indexterm zone="AgsExpander"><primary>AgsExpander</primary></indexterm>
+<programlisting>struct AgsExpander {
+ GtkExpander expander;
+
+ guint flags;
+
+ GtkTable *table;
+
+ GList *children;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpanderChild" role="struct">
+<title>struct AgsExpanderChild</title>
+<indexterm zone="AgsExpanderChild"><primary>AgsExpanderChild</primary></indexterm>
+<programlisting>struct AgsExpanderChild {
+ GtkWidget *child;
+
+ guint x;
+ guint y;
+
+ guint width;
+ guint height;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpanderClass" role="struct">
+<title>struct AgsExpanderClass</title>
+<indexterm zone="AgsExpanderClass"><primary>AgsExpanderClass</primary></indexterm>
+<programlisting>struct AgsExpanderClass {
+ GtkExpanderClass expander;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpanderFlags" role="enum">
+<title>enum AgsExpanderFlags</title>
+<indexterm zone="AgsExpanderFlags"><primary>AgsExpanderFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_EXPANDER_DRAW_BORDER = 1,
+} AgsExpanderFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-add" role="function">
+<title>ags_expander_add ()</title>
+<indexterm zone="ags-expander-add"><primary>ags_expander_add</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_expander_add (<parameter><link linkend="AgsExpander"><type>AgsExpander</type></link> *expander</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-child-alloc" role="function">
+<title>ags_expander_child_alloc ()</title>
+<indexterm zone="ags-expander-child-alloc"><primary>ags_expander_child_alloc</primary></indexterm>
+<programlisting><link linkend="AgsExpanderChild"><returnvalue>AgsExpanderChild</returnvalue></link> * ags_expander_child_alloc (<parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-child-find" role="function">
+<title>ags_expander_child_find ()</title>
+<indexterm zone="ags-expander-child-find"><primary>ags_expander_child_find</primary></indexterm>
+<programlisting><link linkend="AgsExpanderChild"><returnvalue>AgsExpanderChild</returnvalue></link> * ags_expander_child_find (<parameter><link linkend="AgsExpander"><type>AgsExpander</type></link> *expander</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-new" role="function">
+<title>ags_expander_new ()</title>
+<indexterm zone="ags-expander-new"><primary>ags_expander_new</primary></indexterm>
+<programlisting><link linkend="AgsExpander"><returnvalue>AgsExpander</returnvalue></link> * ags_expander_new (<parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-remove" role="function">
+<title>ags_expander_remove ()</title>
+<indexterm zone="ags-expander-remove"><primary>ags_expander_remove</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_expander_remove (<parameter><link linkend="AgsExpander"><type>AgsExpander</type></link> *expander</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_expander_set.xml b/doc/reference/ags/xml/ags_expander_set.xml
new file mode 100644
index 0000000..d8b7c7a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_expander_set.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsExpanderSet">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsExpanderSet.top_of_page">AgsExpanderSet</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsExpanderSet</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsExpanderSet.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-EXPANDER-SET-CHILD:CAPS">AGS_EXPANDER_SET_CHILD</link> (ptr)
+struct <link linkend="AgsExpanderSet">AgsExpanderSet</link>;
+struct <link linkend="AgsExpanderSetChild">AgsExpanderSetChild</link>;
+struct <link linkend="AgsExpanderSetClass">AgsExpanderSetClass</link>;
+enum <link linkend="AgsExpanderSetFlags">AgsExpanderSetFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-expander-set-add">ags_expander_set_add</link> (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);
+<link linkend="AgsExpanderSetChild"><returnvalue>AgsExpanderSetChild</returnvalue></link> * <link linkend="ags-expander-set-child-alloc">ags_expander_set_child_alloc</link> (<parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);
+<link linkend="AgsExpanderSetChild"><returnvalue>AgsExpanderSetChild</returnvalue></link> * <link linkend="ags-expander-set-child-find">ags_expander_set_child_find</link> (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);
+<link linkend="AgsExpanderSet"><returnvalue>AgsExpanderSet</returnvalue></link> * <link linkend="ags-expander-set-new">ags_expander_set_new</link> (<parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-expander-set-remove">ags_expander_set_remove</link> (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-expander-set-set-flags">ags_expander_set_set_flags</link> (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsExpanderSet.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsExpanderSet.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-EXPANDER-SET-CHILD:CAPS" role="macro">
+<title>AGS_EXPANDER_SET_CHILD()</title>
+<indexterm zone="AGS-EXPANDER-SET-CHILD:CAPS"><primary>AGS_EXPANDER_SET_CHILD</primary></indexterm>
+<programlisting>#define AGS_EXPANDER_SET_CHILD(ptr) ((AgsExpanderSetChild *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpanderSet" role="struct">
+<title>struct AgsExpanderSet</title>
+<indexterm zone="AgsExpanderSet"><primary>AgsExpanderSet</primary></indexterm>
+<programlisting>struct AgsExpanderSet {
+ GtkTable table;
+
+ guint flags;
+
+ GList *ghost;
+ GList *location;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpanderSetChild" role="struct">
+<title>struct AgsExpanderSetChild</title>
+<indexterm zone="AgsExpanderSetChild"><primary>AgsExpanderSetChild</primary></indexterm>
+<programlisting>struct AgsExpanderSetChild {
+ GtkWidget *child;
+
+ guint x;
+ guint y;
+
+ guint width;
+ guint height;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpanderSetClass" role="struct">
+<title>struct AgsExpanderSetClass</title>
+<indexterm zone="AgsExpanderSetClass"><primary>AgsExpanderSetClass</primary></indexterm>
+<programlisting>struct AgsExpanderSetClass {
+ GtkTableClass table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExpanderSetFlags" role="enum">
+<title>enum AgsExpanderSetFlags</title>
+<indexterm zone="AgsExpanderSetFlags"><primary>AgsExpanderSetFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_EXPANDER_SET_DRAW_GHOST = 1,
+ AGS_EXPANDER_SET_DRAW_LEFT_ENDING = 1 << 1,
+ AGS_EXPANDER_SET_DRAW_RIGHT_ENDING = 1 << 2,
+ AGS_EXPANDER_SET_DRAW_LEFT_CONNECTOR = 1 << 3,
+ AGS_EXPANDER_SET_DRAW_RIGHT_CONNECTOR = 1 << 4,
+} AgsExpanderSetFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-set-add" role="function">
+<title>ags_expander_set_add ()</title>
+<indexterm zone="ags-expander-set-add"><primary>ags_expander_set_add</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_expander_set_add (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-set-child-alloc" role="function">
+<title>ags_expander_set_child_alloc ()</title>
+<indexterm zone="ags-expander-set-child-alloc"><primary>ags_expander_set_child_alloc</primary></indexterm>
+<programlisting><link linkend="AgsExpanderSetChild"><returnvalue>AgsExpanderSetChild</returnvalue></link> * ags_expander_set_child_alloc (<parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-set-child-find" role="function">
+<title>ags_expander_set_child_find ()</title>
+<indexterm zone="ags-expander-set-child-find"><primary>ags_expander_set_child_find</primary></indexterm>
+<programlisting><link linkend="AgsExpanderSetChild"><returnvalue>AgsExpanderSetChild</returnvalue></link> * ags_expander_set_child_find (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-set-new" role="function">
+<title>ags_expander_set_new ()</title>
+<indexterm zone="ags-expander-set-new"><primary>ags_expander_set_new</primary></indexterm>
+<programlisting><link linkend="AgsExpanderSet"><returnvalue>AgsExpanderSet</returnvalue></link> * ags_expander_set_new (<parameter><link linkend="guint"><type>guint</type></link> width</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-set-remove" role="function">
+<title>ags_expander_set_remove ()</title>
+<indexterm zone="ags-expander-set-remove"><primary>ags_expander_set_remove</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_expander_set_remove (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-expander-set-set-flags" role="function">
+<title>ags_expander_set_set_flags ()</title>
+<indexterm zone="ags-expander-set-set-flags"><primary>ags_expander_set_set_flags</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_expander_set_set_flags (<parameter><link linkend="AgsExpanderSet"><type>AgsExpanderSet</type></link> *expander_set</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_export_output.xml b/doc/reference/ags/xml/ags_export_output.xml
new file mode 100644
index 0000000..ee93bcc
--- /dev/null
+++ b/doc/reference/ags/xml/ags_export_output.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsExportOutput">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsExportOutput.top_of_page">AgsExportOutput</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsExportOutput</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsExportOutput.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsExportOutput">AgsExportOutput</link>;
+struct <link linkend="AgsExportOutputClass">AgsExportOutputClass</link>;
+<link linkend="AgsExportOutput"><returnvalue>AgsExportOutput</returnvalue></link> * <link linkend="ags-export-output-new">ags_export_output_new</link> (<parameter><link linkend="AgsExportThread"><type>AgsExportThread</type></link> *export_thread</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> live_performance</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsExportOutput.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsExportOutput.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsExportOutput" role="struct">
+<title>struct AgsExportOutput</title>
+<indexterm zone="AgsExportOutput"><primary>AgsExportOutput</primary></indexterm>
+<programlisting>struct AgsExportOutput {
+ AgsTask task;
+
+ AgsExportThread *export_thread;
+ AgsDevout *devout;
+ gchar *filename;
+ guint tic;
+ gboolean live_performance;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExportOutputClass" role="struct">
+<title>struct AgsExportOutputClass</title>
+<indexterm zone="AgsExportOutputClass"><primary>AgsExportOutputClass</primary></indexterm>
+<programlisting>struct AgsExportOutputClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-export-output-new" role="function">
+<title>ags_export_output_new ()</title>
+<indexterm zone="ags-export-output-new"><primary>ags_export_output_new</primary></indexterm>
+<programlisting><link linkend="AgsExportOutput"><returnvalue>AgsExportOutput</returnvalue></link> * ags_export_output_new (<parameter><link linkend="AgsExportThread"><type>AgsExportThread</type></link> *export_thread</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> live_performance</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_export_thread.xml b/doc/reference/ags/xml/ags_export_thread.xml
new file mode 100644
index 0000000..54cffab
--- /dev/null
+++ b/doc/reference/ags/xml/ags_export_thread.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsExportThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsExportThread.top_of_page">AgsExportThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsExportThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsExportThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-EXPORT-THREAD-BUFFER-TIME:CAPS">AGS_EXPORT_THREAD_BUFFER_TIME</link>
+#define <link linkend="AGS-EXPORT-THREAD-DEFAULT-JIFFIE:CAPS">AGS_EXPORT_THREAD_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsExportThread">AgsExportThread</link>;
+struct <link linkend="AgsExportThreadClass">AgsExportThreadClass</link>;
+<link linkend="AgsExportThread"><returnvalue>AgsExportThread</returnvalue></link> * <link linkend="ags-export-thread-new">ags_export_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsExportThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsExportThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-EXPORT-THREAD-BUFFER-TIME:CAPS" role="macro">
+<title>AGS_EXPORT_THREAD_BUFFER_TIME</title>
+<indexterm zone="AGS-EXPORT-THREAD-BUFFER-TIME:CAPS"><primary>AGS_EXPORT_THREAD_BUFFER_TIME</primary></indexterm>
+<programlisting>#define AGS_EXPORT_THREAD_BUFFER_TIME (1.0 / (AGS_DEVOUT_DEFAULT_FORMAT / 8))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-EXPORT-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_EXPORT_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-EXPORT-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_EXPORT_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_EXPORT_THREAD_DEFAULT_JIFFIE (48.0) // same as devout thread
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExportThread" role="struct">
+<title>struct AgsExportThread</title>
+<indexterm zone="AgsExportThread"><primary>AgsExportThread</primary></indexterm>
+<programlisting>struct AgsExportThread {
+ AgsThread thread;
+
+ guint flags;
+
+ guint tic;
+ guint counter;
+
+ AgsAudioFile *audio_file;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExportThreadClass" role="struct">
+<title>struct AgsExportThreadClass</title>
+<indexterm zone="AgsExportThreadClass"><primary>AgsExportThreadClass</primary></indexterm>
+<programlisting>struct AgsExportThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-export-thread-new" role="function">
+<title>ags_export_thread_new ()</title>
+<indexterm zone="ags-export-thread-new"><primary>ags_export_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsExportThread"><returnvalue>AgsExportThread</returnvalue></link> * ags_export_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_export_window.xml b/doc/reference/ags/xml/ags_export_window.xml
new file mode 100644
index 0000000..ac8f080
--- /dev/null
+++ b/doc/reference/ags/xml/ags_export_window.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsExportWindow">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsExportWindow.top_of_page">AgsExportWindow</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsExportWindow</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsExportWindow.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsExportWindow">AgsExportWindow</link>;
+struct <link linkend="AgsExportWindowClass">AgsExportWindowClass</link>;
+enum <link linkend="AgsExportWindowFlags">AgsExportWindowFlags</link>;
+<link linkend="AgsExportWindow"><returnvalue>AgsExportWindow</returnvalue></link> * <link linkend="ags-export-window-new">ags_export_window_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsExportWindow.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsExportWindow.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsExportWindow" role="struct">
+<title>struct AgsExportWindow</title>
+<indexterm zone="AgsExportWindow"><primary>AgsExportWindow</primary></indexterm>
+<programlisting>struct AgsExportWindow {
+ GtkWindow window;
+
+ guint flags;
+
+ GObject *ags_main;
+ AgsDevout *devout;
+
+ GtkCheckButton *live_export;
+
+ GtkEntry *filename;
+ GtkFileChooserButton *file_chooser_button;
+
+ GtkComboBoxText *mode;
+ GtkSpinButton *tact;
+ GtkLabel *duration;
+ GtkComboBoxText *output_format;
+
+ GtkToggleButton *export;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExportWindowClass" role="struct">
+<title>struct AgsExportWindowClass</title>
+<indexterm zone="AgsExportWindowClass"><primary>AgsExportWindowClass</primary></indexterm>
+<programlisting>struct AgsExportWindowClass {
+ GtkWindowClass window;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsExportWindowFlags" role="enum">
+<title>enum AgsExportWindowFlags</title>
+<indexterm zone="AgsExportWindowFlags"><primary>AgsExportWindowFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_EXPORT_WINDOW_LIVE_EXPORT = 1,
+} AgsExportWindowFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-export-window-new" role="function">
+<title>ags_export_window_new ()</title>
+<indexterm zone="ags-export-window-new"><primary>ags_export_window_new</primary></indexterm>
+<programlisting><link linkend="AgsExportWindow"><returnvalue>AgsExportWindow</returnvalue></link> * ags_export_window_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_export_window_callbacks.xml b/doc/reference/ags/xml/ags_export_window_callbacks.xml
new file mode 100644
index 0000000..806031b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_export_window_callbacks.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-export-window-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-export-window-callbacks.top_of_page">ags_export_window_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_export_window_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-export-window-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-export-window-export-callback">ags_export_window_export_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsExportWindow"><type>AgsExportWindow</type></link> *export_window</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-export-window-file-chooser-button-callback">ags_export_window_file_chooser_button_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *file_chooser_button</parameter>,
+ <parameter><link linkend="AgsExportWindow"><type>AgsExportWindow</type></link> *export_window</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-export-window-tact-callback">ags_export_window_tact_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsExportWindow"><type>AgsExportWindow</type></link> *export_window</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-export-window-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-export-window-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-export-window-export-callback" role="function">
+<title>ags_export_window_export_callback ()</title>
+<indexterm zone="ags-export-window-export-callback"><primary>ags_export_window_export_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_export_window_export_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsExportWindow"><type>AgsExportWindow</type></link> *export_window</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-export-window-file-chooser-button-callback" role="function">
+<title>ags_export_window_file_chooser_button_callback ()</title>
+<indexterm zone="ags-export-window-file-chooser-button-callback"><primary>ags_export_window_file_chooser_button_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_export_window_file_chooser_button_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *file_chooser_button</parameter>,
+ <parameter><link linkend="AgsExportWindow"><type>AgsExportWindow</type></link> *export_window</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-export-window-tact-callback" role="function">
+<title>ags_export_window_tact_callback ()</title>
+<indexterm zone="ags-export-window-tact-callback"><primary>ags_export_window_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_export_window_tact_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsExportWindow"><type>AgsExportWindow</type></link> *export_window</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ffplayer.xml b/doc/reference/ags/xml/ags_ffplayer.xml
new file mode 100644
index 0000000..65052e2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ffplayer.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFFPlayer">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFFPlayer.top_of_page">AgsFFPlayer</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFFPlayer</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFFPlayer.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFFPlayer">AgsFFPlayer</link>;
+struct <link linkend="AgsFFPlayerClass">AgsFFPlayerClass</link>;
+<link linkend="AgsFFPlayer"><returnvalue>AgsFFPlayer</returnvalue></link> * <link linkend="ags-ffplayer-new">ags_ffplayer_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ffplayer-paint">ags_ffplayer_paint</link> (<parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFFPlayer.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFFPlayer.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFFPlayer" role="struct">
+<title>struct AgsFFPlayer</title>
+<indexterm zone="AgsFFPlayer"><primary>AgsFFPlayer</primary></indexterm>
+<programlisting>struct AgsFFPlayer {
+ AgsMachine machine;
+
+ guint mapped_output_pad;
+ guint mapped_input_pad;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+
+ guint control_width;
+ guint control_height;
+
+ GtkDrawingArea *drawing_area;
+ GtkAdjustment *hadjustment;
+
+ AgsIpatch *ipatch;
+ GtkComboBoxText *preset;
+ GtkComboBoxText *instrument;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFFPlayerClass" role="struct">
+<title>struct AgsFFPlayerClass</title>
+<indexterm zone="AgsFFPlayerClass"><primary>AgsFFPlayerClass</primary></indexterm>
+<programlisting>struct AgsFFPlayerClass {
+ AgsMachineClass machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-new" role="function">
+<title>ags_ffplayer_new ()</title>
+<indexterm zone="ags-ffplayer-new"><primary>ags_ffplayer_new</primary></indexterm>
+<programlisting><link linkend="AgsFFPlayer"><returnvalue>AgsFFPlayer</returnvalue></link> * ags_ffplayer_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-paint" role="function">
+<title>ags_ffplayer_paint ()</title>
+<indexterm zone="ags-ffplayer-paint"><primary>ags_ffplayer_paint</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ffplayer_paint (<parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ffplayer_callbacks.xml b/doc/reference/ags/xml/ags_ffplayer_callbacks.xml
new file mode 100644
index 0000000..2bea2eb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ffplayer_callbacks.xml
@@ -0,0 +1,139 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-ffplayer-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-ffplayer-callbacks.top_of_page">ags_ffplayer_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_ffplayer_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-ffplayer-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-ffplayer-drawing-area-button-press-callback">ags_ffplayer_drawing_area_button_press_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-ffplayer-drawing-area-configure-callback">ags_ffplayer_drawing_area_configure_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-ffplayer-drawing-area-expose-callback">ags_ffplayer_drawing_area_expose_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ffplayer-hscrollbar-value-changed">ags_ffplayer_hscrollbar_value_changed</link>
+ (<parameter><link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> *adjustment</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayers</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ffplayer-instrument-changed-callback">ags_ffplayer_instrument_changed_callback</link>
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *instrument</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ffplayer-open-clicked-callback">ags_ffplayer_open_clicked_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ffplayer-open-dialog-response-callback">ags_ffplayer_open_dialog_response_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ffplayer-parent-set-callback">ags_ffplayer_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ffplayer-preset-changed-callback">ags_ffplayer_preset_changed_callback</link>
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *preset</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-ffplayer-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-ffplayer-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-ffplayer-drawing-area-button-press-callback" role="function">
+<title>ags_ffplayer_drawing_area_button_press_callback ()</title>
+<indexterm zone="ags-ffplayer-drawing-area-button-press-callback"><primary>ags_ffplayer_drawing_area_button_press_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_ffplayer_drawing_area_button_press_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-drawing-area-configure-callback" role="function">
+<title>ags_ffplayer_drawing_area_configure_callback ()</title>
+<indexterm zone="ags-ffplayer-drawing-area-configure-callback"><primary>ags_ffplayer_drawing_area_configure_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_ffplayer_drawing_area_configure_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-drawing-area-expose-callback" role="function">
+<title>ags_ffplayer_drawing_area_expose_callback ()</title>
+<indexterm zone="ags-ffplayer-drawing-area-expose-callback"><primary>ags_ffplayer_drawing_area_expose_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_ffplayer_drawing_area_expose_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-hscrollbar-value-changed" role="function">
+<title>ags_ffplayer_hscrollbar_value_changed ()</title>
+<indexterm zone="ags-ffplayer-hscrollbar-value-changed"><primary>ags_ffplayer_hscrollbar_value_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ffplayer_hscrollbar_value_changed
+ (<parameter><link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> *adjustment</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayers</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-instrument-changed-callback" role="function">
+<title>ags_ffplayer_instrument_changed_callback ()</title>
+<indexterm zone="ags-ffplayer-instrument-changed-callback"><primary>ags_ffplayer_instrument_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ffplayer_instrument_changed_callback
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *instrument</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-open-clicked-callback" role="function">
+<title>ags_ffplayer_open_clicked_callback ()</title>
+<indexterm zone="ags-ffplayer-open-clicked-callback"><primary>ags_ffplayer_open_clicked_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ffplayer_open_clicked_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-open-dialog-response-callback" role="function">
+<title>ags_ffplayer_open_dialog_response_callback ()</title>
+<indexterm zone="ags-ffplayer-open-dialog-response-callback"><primary>ags_ffplayer_open_dialog_response_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ffplayer_open_dialog_response_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-parent-set-callback" role="function">
+<title>ags_ffplayer_parent_set_callback ()</title>
+<indexterm zone="ags-ffplayer-parent-set-callback"><primary>ags_ffplayer_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ffplayer_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ffplayer-preset-changed-callback" role="function">
+<title>ags_ffplayer_preset_changed_callback ()</title>
+<indexterm zone="ags-ffplayer-preset-changed-callback"><primary>ags_ffplayer_preset_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ffplayer_preset_changed_callback
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *preset</parameter>,
+ <parameter><link linkend="AgsFFPlayer"><type>AgsFFPlayer</type></link> *ffplayer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file.xml b/doc/reference/ags/xml/ags_file.xml
new file mode 100644
index 0000000..8ac85fc
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file.xml
@@ -0,0 +1,304 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFile">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFile.top_of_page">AgsFile</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFile</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFile.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-FILE-CHECKSUM-LENGTH:CAPS">AGS_FILE_CHECKSUM_LENGTH</link>
+#define <link linkend="AGS-FILE-DEFAULT-AUDIO-ENCODING:CAPS">AGS_FILE_DEFAULT_AUDIO_ENCODING</link>
+#define <link linkend="AGS-FILE-DEFAULT-AUDIO-FORMAT:CAPS">AGS_FILE_DEFAULT_AUDIO_FORMAT</link>
+#define <link linkend="AGS-FILE-DEFAULT-DTD:CAPS">AGS_FILE_DEFAULT_DTD</link>
+#define <link linkend="AGS-FILE-DEFAULT-ENCODING:CAPS">AGS_FILE_DEFAULT_ENCODING</link>
+struct <link linkend="AgsFile">AgsFile</link>;
+struct <link linkend="AgsFileClass">AgsFileClass</link>;
+enum <link linkend="AgsFileFlags">AgsFileFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-add-id-ref">ags_file_add_id_ref</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *id_ref</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-add-launch">ags_file_add_launch</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *file_launch</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-add-lookup">ags_file_add_lookup</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *file_lookup</parameter>);
+<link linkend="GObject"><returnvalue>GObject</returnvalue></link> * <link linkend="ags-file-find-id-ref-by-node">ags_file_find_id_ref_by_node</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>);
+<link linkend="GObject"><returnvalue>GObject</returnvalue></link> * <link linkend="ags-file-find-id-ref-by-reference">ags_file_find_id_ref_by_reference</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> ref</parameter>);
+<link linkend="GObject"><returnvalue>GObject</returnvalue></link> * <link linkend="ags-file-find-id-ref-by-xpath">ags_file_find_id_ref_by_xpath</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *xpath</parameter>);
+<link linkend="AgsFile"><returnvalue>AgsFile</returnvalue></link> * <link linkend="ags-file-new">ags_file_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read">ags_file_read</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-main">ags_file_read_main</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> **main</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-resolve">ags_file_read_resolve</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-server">ags_file_read_server</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> **server</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-start">ags_file_read_start</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-file-str2md5">ags_file_str2md5</link> (<parameter><link linkend="gchar"><type>gchar</type></link> *content</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> strlen</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-write">ags_file_write</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-write-concurrent">ags_file_write_concurrent</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-write-main">ags_file_write_main</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *main</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-write-resolve">ags_file_write_resolve</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-write-server">ags_file_write_server</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *server</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFile.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFile.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-FILE-CHECKSUM-LENGTH:CAPS" role="macro">
+<title>AGS_FILE_CHECKSUM_LENGTH</title>
+<indexterm zone="AGS-FILE-CHECKSUM-LENGTH:CAPS"><primary>AGS_FILE_CHECKSUM_LENGTH</primary></indexterm>
+<programlisting>#define AGS_FILE_CHECKSUM_LENGTH (g_checksum_type_get_length(G_CHECKSUM_MD5))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DEFAULT-AUDIO-ENCODING:CAPS" role="macro">
+<title>AGS_FILE_DEFAULT_AUDIO_ENCODING</title>
+<indexterm zone="AGS-FILE-DEFAULT-AUDIO-ENCODING:CAPS"><primary>AGS_FILE_DEFAULT_AUDIO_ENCODING</primary></indexterm>
+<programlisting>#define AGS_FILE_DEFAULT_AUDIO_ENCODING "base64\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DEFAULT-AUDIO-FORMAT:CAPS" role="macro">
+<title>AGS_FILE_DEFAULT_AUDIO_FORMAT</title>
+<indexterm zone="AGS-FILE-DEFAULT-AUDIO-FORMAT:CAPS"><primary>AGS_FILE_DEFAULT_AUDIO_FORMAT</primary></indexterm>
+<programlisting>#define AGS_FILE_DEFAULT_AUDIO_FORMAT "raw\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DEFAULT-DTD:CAPS" role="macro">
+<title>AGS_FILE_DEFAULT_DTD</title>
+<indexterm zone="AGS-FILE-DEFAULT-DTD:CAPS"><primary>AGS_FILE_DEFAULT_DTD</primary></indexterm>
+<programlisting>#define AGS_FILE_DEFAULT_DTD "ags_file.dtd\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DEFAULT-ENCODING:CAPS" role="macro">
+<title>AGS_FILE_DEFAULT_ENCODING</title>
+<indexterm zone="AGS-FILE-DEFAULT-ENCODING:CAPS"><primary>AGS_FILE_DEFAULT_ENCODING</primary></indexterm>
+<programlisting>#define AGS_FILE_DEFAULT_ENCODING "UTF-8\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFile" role="struct">
+<title>struct AgsFile</title>
+<indexterm zone="AgsFile"><primary>AgsFile</primary></indexterm>
+<programlisting>struct AgsFile {
+ GObject object;
+
+ guint flags;
+
+ gchar *filename;
+ gchar *encoding;
+ gchar *dtd;
+
+ gchar *audio_format;
+ gchar *audio_encoding;
+
+ xmlDoc *doc;
+
+ GList *id_refs;
+ GList *lookup;
+ GList *launch;
+
+ GObject *ags_main;
+
+ GObject *clipboard;
+ GList *property;
+ GList *script;
+ GObject *cluster;
+ GObject *client;
+ GObject *server;
+
+ GObject *history;
+
+ GList *embedded_audio;
+ GList *file_link;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileClass" role="struct">
+<title>struct AgsFileClass</title>
+<indexterm zone="AgsFileClass"><primary>AgsFileClass</primary></indexterm>
+<programlisting>struct AgsFileClass {
+ GObjectClass object;
+
+ void (*write)(AgsFile *file);
+ void (*write_concurrent)(AgsFile *file);
+ void (*write_resolve)(AgsFile *file);
+
+ void (*read)(AgsFile *file);
+ void (*read_resolve)(AgsFile *file);
+ void (*read_start)(AgsFile *file);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileFlags" role="enum">
+<title>enum AgsFileFlags</title>
+<indexterm zone="AgsFileFlags"><primary>AgsFileFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_FILE_READ = 1,
+ AGS_FILE_READ_AUDIO_SIGNAL = 1 << 1,
+ AGS_FILE_READ_EMBEDDED_AUDIO = 1 << 2,
+ AGS_FILE_WRITE = 1 << 3,
+ AGS_FILE_WRITE_AUDIO_SIGNAL = 1 << 4,
+ AGS_FILE_WRITE_EMBEDDED_AUDIO = 1 << 5,
+} AgsFileFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-add-id-ref" role="function">
+<title>ags_file_add_id_ref ()</title>
+<indexterm zone="ags-file-add-id-ref"><primary>ags_file_add_id_ref</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_add_id_ref (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *id_ref</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-add-launch" role="function">
+<title>ags_file_add_launch ()</title>
+<indexterm zone="ags-file-add-launch"><primary>ags_file_add_launch</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_add_launch (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *file_launch</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-add-lookup" role="function">
+<title>ags_file_add_lookup ()</title>
+<indexterm zone="ags-file-add-lookup"><primary>ags_file_add_lookup</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_add_lookup (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *file_lookup</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-find-id-ref-by-node" role="function">
+<title>ags_file_find_id_ref_by_node ()</title>
+<indexterm zone="ags-file-find-id-ref-by-node"><primary>ags_file_find_id_ref_by_node</primary></indexterm>
+<programlisting><link linkend="GObject"><returnvalue>GObject</returnvalue></link> * ags_file_find_id_ref_by_node (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-find-id-ref-by-reference" role="function">
+<title>ags_file_find_id_ref_by_reference ()</title>
+<indexterm zone="ags-file-find-id-ref-by-reference"><primary>ags_file_find_id_ref_by_reference</primary></indexterm>
+<programlisting><link linkend="GObject"><returnvalue>GObject</returnvalue></link> * ags_file_find_id_ref_by_reference (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> ref</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-find-id-ref-by-xpath" role="function">
+<title>ags_file_find_id_ref_by_xpath ()</title>
+<indexterm zone="ags-file-find-id-ref-by-xpath"><primary>ags_file_find_id_ref_by_xpath</primary></indexterm>
+<programlisting><link linkend="GObject"><returnvalue>GObject</returnvalue></link> * ags_file_find_id_ref_by_xpath (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *xpath</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-new" role="function">
+<title>ags_file_new ()</title>
+<indexterm zone="ags-file-new"><primary>ags_file_new</primary></indexterm>
+<programlisting><link linkend="AgsFile"><returnvalue>AgsFile</returnvalue></link> * ags_file_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read" role="function">
+<title>ags_file_read ()</title>
+<indexterm zone="ags-file-read"><primary>ags_file_read</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-main" role="function">
+<title>ags_file_read_main ()</title>
+<indexterm zone="ags-file-read-main"><primary>ags_file_read_main</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_main (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> **main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-resolve" role="function">
+<title>ags_file_read_resolve ()</title>
+<indexterm zone="ags-file-read-resolve"><primary>ags_file_read_resolve</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_resolve (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-server" role="function">
+<title>ags_file_read_server ()</title>
+<indexterm zone="ags-file-read-server"><primary>ags_file_read_server</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_server (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> **server</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-start" role="function">
+<title>ags_file_read_start ()</title>
+<indexterm zone="ags-file-read-start"><primary>ags_file_read_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_start (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-str2md5" role="function">
+<title>ags_file_str2md5 ()</title>
+<indexterm zone="ags-file-str2md5"><primary>ags_file_str2md5</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_file_str2md5 (<parameter><link linkend="gchar"><type>gchar</type></link> *content</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> strlen</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write" role="function">
+<title>ags_file_write ()</title>
+<indexterm zone="ags-file-write"><primary>ags_file_write</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_write (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-concurrent" role="function">
+<title>ags_file_write_concurrent ()</title>
+<indexterm zone="ags-file-write-concurrent"><primary>ags_file_write_concurrent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_write_concurrent (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-main" role="function">
+<title>ags_file_write_main ()</title>
+<indexterm zone="ags-file-write-main"><primary>ags_file_write_main</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_write_main (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-resolve" role="function">
+<title>ags_file_write_resolve ()</title>
+<indexterm zone="ags-file-write-resolve"><primary>ags_file_write_resolve</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_write_resolve (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-server" role="function">
+<title>ags_file_write_server ()</title>
+<indexterm zone="ags-file-write-server"><primary>ags_file_write_server</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_write_server (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *server</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_gui.xml b/doc/reference/ags/xml/ags_file_gui.xml
new file mode 100644
index 0000000..d658eeb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_gui.xml
@@ -0,0 +1,744 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-file-gui">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-file-gui.top_of_page">ags_file_gui</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_file_gui</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-file-gui.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-dialog">ags_file_read_dialog</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> **dialog</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-dialog-list">ags_file_read_dialog_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **dialog</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-editor">ags_file_read_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> **editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-line">ags_file_read_line</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> **line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-line-editor">ags_file_read_line_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> **line_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-line-list">ags_file_read_line_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-line-member">ags_file_read_line_member</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> **line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-line-member-editor">ags_file_read_line_member_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> **line_member_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-line-member-list">ags_file_read_line_member_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-link-collection-editor">ags_file_read_link_collection_editor</link>
+ (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> **link_collection_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-link-editor">ags_file_read_link_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> **link_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-machine">ags_file_read_machine</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> **machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-machine-counter">ags_file_read_machine_counter</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachineCounter"><type>AgsMachineCounter</type></link> **machine_counter</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-machine-counter-list">ags_file_read_machine_counter_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **machine_counter</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-machine-editor">ags_file_read_machine_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> **machine_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-machine-editor-list">ags_file_read_machine_editor_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **machine_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-machine-list">ags_file_read_machine_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-machine-selector">ags_file_read_machine_selector</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> **machine_selector</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-menu-bar">ags_file_read_menu_bar</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> **menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-mixer-input-pad">ags_file_read_mixer_input_pad</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_input_pad</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-mixer-output-pad">ags_file_read_mixer_output_pad</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_output_pad</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-navigation">ags_file_read_navigation</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> **navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-notebook">ags_file_read_notebook</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> **notebook</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-notebook-tab">ags_file_read_notebook_tab</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNotebookTab"><type>AgsNotebookTab</type></link> **notebook_tab</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-notebook-tab-list">ags_file_read_notebook_tab_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **notebook_tab_list</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-pad">ags_file_read_pad</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> **pad</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-pad-editor">ags_file_read_pad_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> **pad_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-pad-list">ags_file_read_pad_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **pad</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-resize-editor">ags_file_read_resize_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsResizeEditor"><type>AgsResizeEditor</type></link> **resize_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-toolbar">ags_file_read_toolbar</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> **toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-widget">ags_file_read_widget</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-window">ags_file_read_window</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> **window</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-dialog">ags_file_write_dialog</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-dialog-list">ags_file_write_dialog_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *dialog</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-editor">ags_file_write_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-line">ags_file_write_line</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-line-editor">ags_file_write_line_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-line-list">ags_file_write_line_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *line</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-line-member">ags_file_write_line_member</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-line-member-editor">ags_file_write_line_member_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-line-member-list">ags_file_write_line_member_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *line_member</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-link-collection-editor">ags_file_write_link_collection_editor</link>
+ (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-link-editor">ags_file_write_link_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-machine">ags_file_write_machine</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-machine-counter">ags_file_write_machine_counter</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachineCounter"><type>AgsMachineCounter</type></link> *machine_counter</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-machine-counter-list">ags_file_write_machine_counter_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *machine_counter</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-machine-editor">ags_file_write_machine_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-machine-editor-list">ags_file_write_machine_editor_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *machine_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-machine-list">ags_file_write_machine_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *machine</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-machine-selector">ags_file_write_machine_selector</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-menu-bar">ags_file_write_menu_bar</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-mixer-input-pad">ags_file_write_mixer_input_pad</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_input_pad</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-mixer-output-pad">ags_file_write_mixer_output_pad</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_output_pad</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-navigation">ags_file_write_navigation</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-notebook">ags_file_write_notebook</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-notebook-tab">ags_file_write_notebook_tab</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNotebookTab"><type>AgsNotebookTab</type></link> *notebook_tab</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-notebook-tab-list">ags_file_write_notebook_tab_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *notebook_tab_list</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-pad">ags_file_write_pad</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-pad-editor">ags_file_write_pad_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-pad-list">ags_file_write_pad_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *pad</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-resize-editor">ags_file_write_resize_editor</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsResizeEditor"><type>AgsResizeEditor</type></link> *resize_editor</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-toolbar">ags_file_write_toolbar</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-widget">ags_file_write_widget</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-window">ags_file_write_window</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-file-gui.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-file-gui.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-file-read-dialog" role="function">
+<title>ags_file_read_dialog ()</title>
+<indexterm zone="ags-file-read-dialog"><primary>ags_file_read_dialog</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_dialog (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> **dialog</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-dialog-list" role="function">
+<title>ags_file_read_dialog_list ()</title>
+<indexterm zone="ags-file-read-dialog-list"><primary>ags_file_read_dialog_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_dialog_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **dialog</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-editor" role="function">
+<title>ags_file_read_editor ()</title>
+<indexterm zone="ags-file-read-editor"><primary>ags_file_read_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> **editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-line" role="function">
+<title>ags_file_read_line ()</title>
+<indexterm zone="ags-file-read-line"><primary>ags_file_read_line</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_line (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> **line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-line-editor" role="function">
+<title>ags_file_read_line_editor ()</title>
+<indexterm zone="ags-file-read-line-editor"><primary>ags_file_read_line_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_line_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> **line_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-line-list" role="function">
+<title>ags_file_read_line_list ()</title>
+<indexterm zone="ags-file-read-line-list"><primary>ags_file_read_line_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_line_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-line-member" role="function">
+<title>ags_file_read_line_member ()</title>
+<indexterm zone="ags-file-read-line-member"><primary>ags_file_read_line_member</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_line_member (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> **line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-line-member-editor" role="function">
+<title>ags_file_read_line_member_editor ()</title>
+<indexterm zone="ags-file-read-line-member-editor"><primary>ags_file_read_line_member_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_line_member_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> **line_member_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-line-member-list" role="function">
+<title>ags_file_read_line_member_list ()</title>
+<indexterm zone="ags-file-read-line-member-list"><primary>ags_file_read_line_member_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_line_member_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-link-collection-editor" role="function">
+<title>ags_file_read_link_collection_editor ()</title>
+<indexterm zone="ags-file-read-link-collection-editor"><primary>ags_file_read_link_collection_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_link_collection_editor
+ (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> **link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-link-editor" role="function">
+<title>ags_file_read_link_editor ()</title>
+<indexterm zone="ags-file-read-link-editor"><primary>ags_file_read_link_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_link_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> **link_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-machine" role="function">
+<title>ags_file_read_machine ()</title>
+<indexterm zone="ags-file-read-machine"><primary>ags_file_read_machine</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_machine (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> **machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-machine-counter" role="function">
+<title>ags_file_read_machine_counter ()</title>
+<indexterm zone="ags-file-read-machine-counter"><primary>ags_file_read_machine_counter</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_machine_counter (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachineCounter"><type>AgsMachineCounter</type></link> **machine_counter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-machine-counter-list" role="function">
+<title>ags_file_read_machine_counter_list ()</title>
+<indexterm zone="ags-file-read-machine-counter-list"><primary>ags_file_read_machine_counter_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_machine_counter_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **machine_counter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-machine-editor" role="function">
+<title>ags_file_read_machine_editor ()</title>
+<indexterm zone="ags-file-read-machine-editor"><primary>ags_file_read_machine_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_machine_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> **machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-machine-editor-list" role="function">
+<title>ags_file_read_machine_editor_list ()</title>
+<indexterm zone="ags-file-read-machine-editor-list"><primary>ags_file_read_machine_editor_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_machine_editor_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-machine-list" role="function">
+<title>ags_file_read_machine_list ()</title>
+<indexterm zone="ags-file-read-machine-list"><primary>ags_file_read_machine_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_machine_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-machine-selector" role="function">
+<title>ags_file_read_machine_selector ()</title>
+<indexterm zone="ags-file-read-machine-selector"><primary>ags_file_read_machine_selector</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_machine_selector (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> **machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-menu-bar" role="function">
+<title>ags_file_read_menu_bar ()</title>
+<indexterm zone="ags-file-read-menu-bar"><primary>ags_file_read_menu_bar</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_menu_bar (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> **menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-mixer-input-pad" role="function">
+<title>ags_file_read_mixer_input_pad ()</title>
+<indexterm zone="ags-file-read-mixer-input-pad"><primary>ags_file_read_mixer_input_pad</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_mixer_input_pad (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_input_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-mixer-output-pad" role="function">
+<title>ags_file_read_mixer_output_pad ()</title>
+<indexterm zone="ags-file-read-mixer-output-pad"><primary>ags_file_read_mixer_output_pad</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_mixer_output_pad (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_output_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-navigation" role="function">
+<title>ags_file_read_navigation ()</title>
+<indexterm zone="ags-file-read-navigation"><primary>ags_file_read_navigation</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_navigation (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> **navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-notebook" role="function">
+<title>ags_file_read_notebook ()</title>
+<indexterm zone="ags-file-read-notebook"><primary>ags_file_read_notebook</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_notebook (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> **notebook</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-notebook-tab" role="function">
+<title>ags_file_read_notebook_tab ()</title>
+<indexterm zone="ags-file-read-notebook-tab"><primary>ags_file_read_notebook_tab</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_notebook_tab (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNotebookTab"><type>AgsNotebookTab</type></link> **notebook_tab</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-notebook-tab-list" role="function">
+<title>ags_file_read_notebook_tab_list ()</title>
+<indexterm zone="ags-file-read-notebook-tab-list"><primary>ags_file_read_notebook_tab_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_notebook_tab_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **notebook_tab_list</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-pad" role="function">
+<title>ags_file_read_pad ()</title>
+<indexterm zone="ags-file-read-pad"><primary>ags_file_read_pad</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_pad (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> **pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-pad-editor" role="function">
+<title>ags_file_read_pad_editor ()</title>
+<indexterm zone="ags-file-read-pad-editor"><primary>ags_file_read_pad_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_pad_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> **pad_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-pad-list" role="function">
+<title>ags_file_read_pad_list ()</title>
+<indexterm zone="ags-file-read-pad-list"><primary>ags_file_read_pad_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_pad_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-resize-editor" role="function">
+<title>ags_file_read_resize_editor ()</title>
+<indexterm zone="ags-file-read-resize-editor"><primary>ags_file_read_resize_editor</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_resize_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsResizeEditor"><type>AgsResizeEditor</type></link> **resize_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-toolbar" role="function">
+<title>ags_file_read_toolbar ()</title>
+<indexterm zone="ags-file-read-toolbar"><primary>ags_file_read_toolbar</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_toolbar (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> **toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-widget" role="function">
+<title>ags_file_read_widget ()</title>
+<indexterm zone="ags-file-read-widget"><primary>ags_file_read_widget</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_widget (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-window" role="function">
+<title>ags_file_read_window ()</title>
+<indexterm zone="ags-file-read-window"><primary>ags_file_read_window</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_window (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> **window</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-dialog" role="function">
+<title>ags_file_write_dialog ()</title>
+<indexterm zone="ags-file-write-dialog"><primary>ags_file_write_dialog</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_dialog (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-dialog-list" role="function">
+<title>ags_file_write_dialog_list ()</title>
+<indexterm zone="ags-file-write-dialog-list"><primary>ags_file_write_dialog_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_dialog_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *dialog</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-editor" role="function">
+<title>ags_file_write_editor ()</title>
+<indexterm zone="ags-file-write-editor"><primary>ags_file_write_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-line" role="function">
+<title>ags_file_write_line ()</title>
+<indexterm zone="ags-file-write-line"><primary>ags_file_write_line</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_line (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-line-editor" role="function">
+<title>ags_file_write_line_editor ()</title>
+<indexterm zone="ags-file-write-line-editor"><primary>ags_file_write_line_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_line_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-line-list" role="function">
+<title>ags_file_write_line_list ()</title>
+<indexterm zone="ags-file-write-line-list"><primary>ags_file_write_line_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_line_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-line-member" role="function">
+<title>ags_file_write_line_member ()</title>
+<indexterm zone="ags-file-write-line-member"><primary>ags_file_write_line_member</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_line_member (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-line-member-editor" role="function">
+<title>ags_file_write_line_member_editor ()</title>
+<indexterm zone="ags-file-write-line-member-editor"><primary>ags_file_write_line_member_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_line_member_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-line-member-list" role="function">
+<title>ags_file_write_line_member_list ()</title>
+<indexterm zone="ags-file-write-line-member-list"><primary>ags_file_write_line_member_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_line_member_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-link-collection-editor" role="function">
+<title>ags_file_write_link_collection_editor ()</title>
+<indexterm zone="ags-file-write-link-collection-editor"><primary>ags_file_write_link_collection_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_link_collection_editor
+ (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-link-editor" role="function">
+<title>ags_file_write_link_editor ()</title>
+<indexterm zone="ags-file-write-link-editor"><primary>ags_file_write_link_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_link_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-machine" role="function">
+<title>ags_file_write_machine ()</title>
+<indexterm zone="ags-file-write-machine"><primary>ags_file_write_machine</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_machine (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-machine-counter" role="function">
+<title>ags_file_write_machine_counter ()</title>
+<indexterm zone="ags-file-write-machine-counter"><primary>ags_file_write_machine_counter</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_machine_counter (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachineCounter"><type>AgsMachineCounter</type></link> *machine_counter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-machine-counter-list" role="function">
+<title>ags_file_write_machine_counter_list ()</title>
+<indexterm zone="ags-file-write-machine-counter-list"><primary>ags_file_write_machine_counter_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_machine_counter_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *machine_counter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-machine-editor" role="function">
+<title>ags_file_write_machine_editor ()</title>
+<indexterm zone="ags-file-write-machine-editor"><primary>ags_file_write_machine_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_machine_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-machine-editor-list" role="function">
+<title>ags_file_write_machine_editor_list ()</title>
+<indexterm zone="ags-file-write-machine-editor-list"><primary>ags_file_write_machine_editor_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_machine_editor_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-machine-list" role="function">
+<title>ags_file_write_machine_list ()</title>
+<indexterm zone="ags-file-write-machine-list"><primary>ags_file_write_machine_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_machine_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-machine-selector" role="function">
+<title>ags_file_write_machine_selector ()</title>
+<indexterm zone="ags-file-write-machine-selector"><primary>ags_file_write_machine_selector</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_machine_selector (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-menu-bar" role="function">
+<title>ags_file_write_menu_bar ()</title>
+<indexterm zone="ags-file-write-menu-bar"><primary>ags_file_write_menu_bar</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_menu_bar (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-mixer-input-pad" role="function">
+<title>ags_file_write_mixer_input_pad ()</title>
+<indexterm zone="ags-file-write-mixer-input-pad"><primary>ags_file_write_mixer_input_pad</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_mixer_input_pad (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_input_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-mixer-output-pad" role="function">
+<title>ags_file_write_mixer_output_pad ()</title>
+<indexterm zone="ags-file-write-mixer-output-pad"><primary>ags_file_write_mixer_output_pad</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_mixer_output_pad (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *mixer_output_pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-navigation" role="function">
+<title>ags_file_write_navigation ()</title>
+<indexterm zone="ags-file-write-navigation"><primary>ags_file_write_navigation</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_navigation (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-notebook" role="function">
+<title>ags_file_write_notebook ()</title>
+<indexterm zone="ags-file-write-notebook"><primary>ags_file_write_notebook</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_notebook (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-notebook-tab" role="function">
+<title>ags_file_write_notebook_tab ()</title>
+<indexterm zone="ags-file-write-notebook-tab"><primary>ags_file_write_notebook_tab</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_notebook_tab (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNotebookTab"><type>AgsNotebookTab</type></link> *notebook_tab</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-notebook-tab-list" role="function">
+<title>ags_file_write_notebook_tab_list ()</title>
+<indexterm zone="ags-file-write-notebook-tab-list"><primary>ags_file_write_notebook_tab_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_notebook_tab_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *notebook_tab_list</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-pad" role="function">
+<title>ags_file_write_pad ()</title>
+<indexterm zone="ags-file-write-pad"><primary>ags_file_write_pad</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_pad (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-pad-editor" role="function">
+<title>ags_file_write_pad_editor ()</title>
+<indexterm zone="ags-file-write-pad-editor"><primary>ags_file_write_pad_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_pad_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-pad-list" role="function">
+<title>ags_file_write_pad_list ()</title>
+<indexterm zone="ags-file-write-pad-list"><primary>ags_file_write_pad_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_pad_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-resize-editor" role="function">
+<title>ags_file_write_resize_editor ()</title>
+<indexterm zone="ags-file-write-resize-editor"><primary>ags_file_write_resize_editor</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_resize_editor (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsResizeEditor"><type>AgsResizeEditor</type></link> *resize_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-toolbar" role="function">
+<title>ags_file_write_toolbar ()</title>
+<indexterm zone="ags-file-write-toolbar"><primary>ags_file_write_toolbar</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_toolbar (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-widget" role="function">
+<title>ags_file_write_widget ()</title>
+<indexterm zone="ags-file-write-widget"><primary>ags_file_write_widget</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_widget (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-window" role="function">
+<title>ags_file_write_window ()</title>
+<indexterm zone="ags-file-write-window"><primary>ags_file_write_window</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_window (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_id_ref.xml b/doc/reference/ags/xml/ags_file_id_ref.xml
new file mode 100644
index 0000000..045ee97
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_id_ref.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileIdRef">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileIdRef.top_of_page">AgsFileIdRef</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileIdRef</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileIdRef.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-FILE-ID-REF-RESOLVE-DATA:CAPS">AGS_FILE_ID_REF_RESOLVE_DATA</link>
+#define <link linkend="AGS-FILE-ID-REF-SERIALIZE-DATA:CAPS">AGS_FILE_ID_REF_SERIALIZE_DATA</link>
+#define <link linkend="AGS-FILE-RESOLVE:CAPS">AGS_FILE_RESOLVE</link> (f)
+struct <link linkend="AgsFileIdRef">AgsFileIdRef</link>;
+struct <link linkend="AgsFileIdRefClass">AgsFileIdRefClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> (<link linkend="AgsFileResolve">*AgsFileResolve</link>) (<parameter><type>void</type></parameter>);
+<link linkend="AgsFileIdRef"><returnvalue>AgsFileIdRef</returnvalue></link> * <link linkend="ags-file-id-ref-new">ags_file_id_ref_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-id-ref-resolved">ags_file_id_ref_resolved</link> (<parameter><link linkend="AgsFileIdRef"><type>AgsFileIdRef</type></link> *file_id_ref</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileIdRef.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileIdRef.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-FILE-ID-REF-RESOLVE-DATA:CAPS" role="macro">
+<title>AGS_FILE_ID_REF_RESOLVE_DATA</title>
+<indexterm zone="AGS-FILE-ID-REF-RESOLVE-DATA:CAPS"><primary>AGS_FILE_ID_REF_RESOLVE_DATA</primary></indexterm>
+<programlisting>#define AGS_FILE_ID_REF_RESOLVE_DATA "ags-file-id-ref-resolve-data\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-ID-REF-SERIALIZE-DATA:CAPS" role="macro">
+<title>AGS_FILE_ID_REF_SERIALIZE_DATA</title>
+<indexterm zone="AGS-FILE-ID-REF-SERIALIZE-DATA:CAPS"><primary>AGS_FILE_ID_REF_SERIALIZE_DATA</primary></indexterm>
+<programlisting>#define AGS_FILE_ID_REF_SERIALIZE_DATA "ags-file-id-ref-serizalize-data\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-RESOLVE:CAPS" role="macro">
+<title>AGS_FILE_RESOLVE()</title>
+<indexterm zone="AGS-FILE-RESOLVE:CAPS"><primary>AGS_FILE_RESOLVE</primary></indexterm>
+<programlisting>#define AGS_FILE_RESOLVE(f) ((AgsFileResolve)(f))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileIdRef" role="struct">
+<title>struct AgsFileIdRef</title>
+<indexterm zone="AgsFileIdRef"><primary>AgsFileIdRef</primary></indexterm>
+<programlisting>struct AgsFileIdRef {
+ GObject object;
+
+ GObject *main;
+ GObject *file;
+
+ xmlNode *node;
+ gchar *xpath;
+ gpointer ref;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileIdRefClass" role="struct">
+<title>struct AgsFileIdRefClass</title>
+<indexterm zone="AgsFileIdRefClass"><primary>AgsFileIdRefClass</primary></indexterm>
+<programlisting>struct AgsFileIdRefClass {
+ GObjectClass object;
+
+ void (*resolved)(AgsFileIdRef *file_id_ref);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileResolve" role="function">
+<title>AgsFileResolve ()</title>
+<indexterm zone="AgsFileResolve"><primary>AgsFileResolve</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> (*AgsFileResolve) (<parameter><type>void</type></parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-id-ref-new" role="function">
+<title>ags_file_id_ref_new ()</title>
+<indexterm zone="ags-file-id-ref-new"><primary>ags_file_id_ref_new</primary></indexterm>
+<programlisting><link linkend="AgsFileIdRef"><returnvalue>AgsFileIdRef</returnvalue></link> * ags_file_id_ref_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-id-ref-resolved" role="function">
+<title>ags_file_id_ref_resolved ()</title>
+<indexterm zone="ags-file-id-ref-resolved"><primary>ags_file_id_ref_resolved</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_id_ref_resolved (<parameter><link linkend="AgsFileIdRef"><type>AgsFileIdRef</type></link> *file_id_ref</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_launch.xml b/doc/reference/ags/xml/ags_file_launch.xml
new file mode 100644
index 0000000..58a2457
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_launch.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileLaunch">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileLaunch.top_of_page">AgsFileLaunch</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileLaunch</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileLaunch.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFileLaunch">AgsFileLaunch</link>;
+struct <link linkend="AgsFileLaunchClass">AgsFileLaunchClass</link>;
+<link linkend="AgsFileLaunch"><returnvalue>AgsFileLaunch</returnvalue></link> * <link linkend="ags-file-launch-new">ags_file_launch_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-launch-start">ags_file_launch_start</link> (<parameter><link linkend="AgsFileLaunch"><type>AgsFileLaunch</type></link> *file_launch</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileLaunch.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileLaunch.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFileLaunch" role="struct">
+<title>struct AgsFileLaunch</title>
+<indexterm zone="AgsFileLaunch"><primary>AgsFileLaunch</primary></indexterm>
+<programlisting>struct AgsFileLaunch {
+ GObject object;
+
+ xmlNode *node;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileLaunchClass" role="struct">
+<title>struct AgsFileLaunchClass</title>
+<indexterm zone="AgsFileLaunchClass"><primary>AgsFileLaunchClass</primary></indexterm>
+<programlisting>struct AgsFileLaunchClass {
+ GObjectClass object;
+
+ void (*start)(AgsFileLaunch *file_launch);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-launch-new" role="function">
+<title>ags_file_launch_new ()</title>
+<indexterm zone="ags-file-launch-new"><primary>ags_file_launch_new</primary></indexterm>
+<programlisting><link linkend="AgsFileLaunch"><returnvalue>AgsFileLaunch</returnvalue></link> * ags_file_launch_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-launch-start" role="function">
+<title>ags_file_launch_start ()</title>
+<indexterm zone="ags-file-launch-start"><primary>ags_file_launch_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_launch_start (<parameter><link linkend="AgsFileLaunch"><type>AgsFileLaunch</type></link> *file_launch</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_link.xml b/doc/reference/ags/xml/ags_file_link.xml
new file mode 100644
index 0000000..8b082af
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_link.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileLink">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileLink.top_of_page">AgsFileLink</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileLink</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileLink.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFileLink">AgsFileLink</link>;
+struct <link linkend="AgsFileLinkClass">AgsFileLinkClass</link>;
+<link linkend="AgsFileLink"><returnvalue>AgsFileLink</returnvalue></link> * <link linkend="ags-file-link-new">ags_file_link_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileLink.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileLink.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFileLink" role="struct">
+<title>struct AgsFileLink</title>
+<indexterm zone="AgsFileLink"><primary>AgsFileLink</primary></indexterm>
+<programlisting>struct AgsFileLink {
+ GObject object;
+
+ gchar *filename;
+ gchar *data;
+ AgsTimestamp *timestamp;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileLinkClass" role="struct">
+<title>struct AgsFileLinkClass</title>
+<indexterm zone="AgsFileLinkClass"><primary>AgsFileLinkClass</primary></indexterm>
+<programlisting>struct AgsFileLinkClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-link-new" role="function">
+<title>ags_file_link_new ()</title>
+<indexterm zone="ags-file-link-new"><primary>ags_file_link_new</primary></indexterm>
+<programlisting><link linkend="AgsFileLink"><returnvalue>AgsFileLink</returnvalue></link> * ags_file_link_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_lookup.xml b/doc/reference/ags/xml/ags_file_lookup.xml
new file mode 100644
index 0000000..517cdc2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_lookup.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileLookup">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileLookup.top_of_page">AgsFileLookup</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileLookup</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileLookup.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFileLookup">AgsFileLookup</link>;
+struct <link linkend="AgsFileLookupClass">AgsFileLookupClass</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-file-lookup-find-by-node">ags_file_lookup_find_by_node</link> (<parameter><link linkend="GList"><type>GList</type></link> *file_lookup</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>);
+<link linkend="AgsFileLookup"><returnvalue>AgsFileLookup</returnvalue></link> * <link linkend="ags-file-lookup-new">ags_file_lookup_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-lookup-resolve">ags_file_lookup_resolve</link> (<parameter><link linkend="AgsFileLookup"><type>AgsFileLookup</type></link> *lookup</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileLookup.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileLookup.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFileLookup" role="struct">
+<title>struct AgsFileLookup</title>
+<indexterm zone="AgsFileLookup"><primary>AgsFileLookup</primary></indexterm>
+<programlisting>struct AgsFileLookup {
+ GObject object;
+
+ AgsFile *file;
+
+ xmlNode *node;
+ gpointer ref;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileLookupClass" role="struct">
+<title>struct AgsFileLookupClass</title>
+<indexterm zone="AgsFileLookupClass"><primary>AgsFileLookupClass</primary></indexterm>
+<programlisting>struct AgsFileLookupClass {
+ GObjectClass object;
+
+ void (*resolve)(AgsFileLookup *lookup);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-lookup-find-by-node" role="function">
+<title>ags_file_lookup_find_by_node ()</title>
+<indexterm zone="ags-file-lookup-find-by-node"><primary>ags_file_lookup_find_by_node</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_file_lookup_find_by_node (<parameter><link linkend="GList"><type>GList</type></link> *file_lookup</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-lookup-new" role="function">
+<title>ags_file_lookup_new ()</title>
+<indexterm zone="ags-file-lookup-new"><primary>ags_file_lookup_new</primary></indexterm>
+<programlisting><link linkend="AgsFileLookup"><returnvalue>AgsFileLookup</returnvalue></link> * ags_file_lookup_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-lookup-resolve" role="function">
+<title>ags_file_lookup_resolve ()</title>
+<indexterm zone="ags-file-lookup-resolve"><primary>ags_file_lookup_resolve</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_lookup_resolve (<parameter><link linkend="AgsFileLookup"><type>AgsFileLookup</type></link> *lookup</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_read.xml b/doc/reference/ags/xml/ags_file_read.xml
new file mode 100644
index 0000000..5b09495
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_read.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileRead">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileRead.top_of_page">AgsFileRead</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileRead</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileRead.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFileRead">AgsFileRead</link>;
+struct <link linkend="AgsFileReadClass">AgsFileReadClass</link>;
+<link linkend="AgsFileRead"><returnvalue>AgsFileRead</returnvalue></link> * <link linkend="ags-file-read-new">ags_file_read_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileRead.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileRead.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFileRead" role="struct">
+<title>struct AgsFileRead</title>
+<indexterm zone="AgsFileRead"><primary>AgsFileRead</primary></indexterm>
+<programlisting>struct AgsFileRead {
+ GObject object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileReadClass" role="struct">
+<title>struct AgsFileReadClass</title>
+<indexterm zone="AgsFileReadClass"><primary>AgsFileReadClass</primary></indexterm>
+<programlisting>struct AgsFileReadClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-new" role="function">
+<title>ags_file_read_new ()</title>
+<indexterm zone="ags-file-read-new"><primary>ags_file_read_new</primary></indexterm>
+<programlisting><link linkend="AgsFileRead"><returnvalue>AgsFileRead</returnvalue></link> * ags_file_read_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_selection.xml b/doc/reference/ags/xml/ags_file_selection.xml
new file mode 100644
index 0000000..5f3f18a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_selection.xml
@@ -0,0 +1,166 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileSelection">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileSelection.top_of_page">AgsFileSelection</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileSelection</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileSelection.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-FILE-SELECTION-ENTRY:CAPS">AGS_FILE_SELECTION_ENTRY</link> (strct)
+struct <link linkend="AgsFileSelection">AgsFileSelection</link>;
+struct <link linkend="AgsFileSelectionClass">AgsFileSelectionClass</link>;
+struct <link linkend="AgsFileSelectionEntry">AgsFileSelectionEntry</link>;
+enum <link linkend="AgsFileSelectionFlags">AgsFileSelectionFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-selection-add-entry">ags_file_selection_add_entry</link> (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-selection-completed">ags_file_selection_completed</link> (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-file-selection-contains-file">ags_file_selection_contains_file</link> (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);
+<link linkend="AgsFileSelectionEntry"><returnvalue>AgsFileSelectionEntry</returnvalue></link> * <link linkend="ags-file-selection-entry-alloc">ags_file_selection_entry_alloc</link> ();
+<link linkend="AgsFileSelection"><returnvalue>AgsFileSelection</returnvalue></link> * <link linkend="ags-file-selection-new">ags_file_selection_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-selection-remove-entry">ags_file_selection_remove_entry</link> (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-selection-set-entry">ags_file_selection_set_entry</link> (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *entry</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileSelection.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileSelection.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-FILE-SELECTION-ENTRY:CAPS" role="macro">
+<title>AGS_FILE_SELECTION_ENTRY()</title>
+<indexterm zone="AGS-FILE-SELECTION-ENTRY:CAPS"><primary>AGS_FILE_SELECTION_ENTRY</primary></indexterm>
+<programlisting>#define AGS_FILE_SELECTION_ENTRY(strct) ((AgsFileSelectionEntry *) (strct))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileSelection" role="struct">
+<title>struct AgsFileSelection</title>
+<indexterm zone="AgsFileSelection"><primary>AgsFileSelection</primary></indexterm>
+<programlisting>struct AgsFileSelection {
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *directory;
+
+ guint entry_count;
+ GList *entry;
+
+ GtkLabel *chosed;
+ GtkLabel *selected;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileSelectionClass" role="struct">
+<title>struct AgsFileSelectionClass</title>
+<indexterm zone="AgsFileSelectionClass"><primary>AgsFileSelectionClass</primary></indexterm>
+<programlisting>struct AgsFileSelectionClass {
+ GtkVBoxClass vbox;
+
+ void (*add_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
+ void (*remove_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
+
+ void (*completed)(AgsFileSelection *file_selection);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileSelectionEntry" role="struct">
+<title>struct AgsFileSelectionEntry</title>
+<indexterm zone="AgsFileSelectionEntry"><primary>AgsFileSelectionEntry</primary></indexterm>
+<programlisting>struct AgsFileSelectionEntry {
+ GtkTable *table;
+
+ GtkWidget *entry;
+
+ gboolean chosed;
+ gchar *filename;
+
+ GtkSpinButton *nth_sample;
+ GtkSpinButton *nth_channel;
+ GtkSpinButton *count;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileSelectionFlags" role="enum">
+<title>enum AgsFileSelectionFlags</title>
+<indexterm zone="AgsFileSelectionFlags"><primary>AgsFileSelectionFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_FILE_SELECTION_COMPLETED = 1,
+} AgsFileSelectionFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-selection-add-entry" role="function">
+<title>ags_file_selection_add_entry ()</title>
+<indexterm zone="ags-file-selection-add-entry"><primary>ags_file_selection_add_entry</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_selection_add_entry (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-selection-completed" role="function">
+<title>ags_file_selection_completed ()</title>
+<indexterm zone="ags-file-selection-completed"><primary>ags_file_selection_completed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_selection_completed (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-selection-contains-file" role="function">
+<title>ags_file_selection_contains_file ()</title>
+<indexterm zone="ags-file-selection-contains-file"><primary>ags_file_selection_contains_file</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_file_selection_contains_file (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-selection-entry-alloc" role="function">
+<title>ags_file_selection_entry_alloc ()</title>
+<indexterm zone="ags-file-selection-entry-alloc"><primary>ags_file_selection_entry_alloc</primary></indexterm>
+<programlisting><link linkend="AgsFileSelectionEntry"><returnvalue>AgsFileSelectionEntry</returnvalue></link> * ags_file_selection_entry_alloc ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-selection-new" role="function">
+<title>ags_file_selection_new ()</title>
+<indexterm zone="ags-file-selection-new"><primary>ags_file_selection_new</primary></indexterm>
+<programlisting><link linkend="AgsFileSelection"><returnvalue>AgsFileSelection</returnvalue></link> * ags_file_selection_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-selection-remove-entry" role="function">
+<title>ags_file_selection_remove_entry ()</title>
+<indexterm zone="ags-file-selection-remove-entry"><primary>ags_file_selection_remove_entry</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_selection_remove_entry (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-selection-set-entry" role="function">
+<title>ags_file_selection_set_entry ()</title>
+<indexterm zone="ags-file-selection-set-entry"><primary>ags_file_selection_set_entry</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_selection_set_entry (<parameter><link linkend="AgsFileSelection"><type>AgsFileSelection</type></link> *file_selection</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *entry</parameter>);</programlisting>
+<para>
+Add new entries to the <link linkend="AgsFileSelection"><type>AgsFileSelection</type></link>.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_selection_callbacks.xml b/doc/reference/ags/xml/ags_file_selection_callbacks.xml
new file mode 100644
index 0000000..3bd5a09
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_selection_callbacks.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-file-selection-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-file-selection-callbacks.top_of_page">ags_file_selection_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_file_selection_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-file-selection-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-selection-remove-callback">ags_file_selection_remove_callback</link> (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="GtkTable"><type>GtkTable</type></link> *hbox</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-file-selection-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-file-selection-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-file-selection-remove-callback" role="function">
+<title>ags_file_selection_remove_callback ()</title>
+<indexterm zone="ags-file-selection-remove-callback"><primary>ags_file_selection_remove_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_selection_remove_callback (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="GtkTable"><type>GtkTable</type></link> *hbox</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_sound.xml b/doc/reference/ags/xml/ags_file_sound.xml
new file mode 100644
index 0000000..062270b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_sound.xml
@@ -0,0 +1,968 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-file-sound">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-file-sound.top_of_page">ags_file_sound</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_file_sound</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-file-sound.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-audio">ags_file_read_audio</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> **audio</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-audio-list">ags_file_read_audio_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **audio</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-audio-signal">ags_file_read_audio_signal</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> **audio_signal</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-audio-signal-list">ags_file_read_audio_signal_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **audio_signal</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-channel">ags_file_read_channel</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> **channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-channel-list">ags_file_read_channel_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-devout">ags_file_read_devout</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> **devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-devout-list">ags_file_read_devout_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-devout-play">ags_file_read_devout_play</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> **play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-devout-play-list">ags_file_read_devout_play_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-file-link">ags_file_read_file_link</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> **file_link</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-input">ags_file_read_input</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *input</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-notation">ags_file_read_notation</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> **notation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-notation-list">ags_file_read_notation_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **notation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-note">ags_file_read_note</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> **note</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-note-list">ags_file_read_note_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **note</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-output">ags_file_read_output</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *output</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-pattern">ags_file_read_pattern</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> **pattern</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-pattern-data">ags_file_read_pattern_data</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-pattern-data-list">ags_file_read_pattern_data_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-pattern-list">ags_file_read_pattern_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **pattern</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-port">ags_file_read_port</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> **port</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-port-list">ags_file_read_port_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **port</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall">ags_file_read_recall</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> **recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-audio">ags_file_read_recall_audio</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-audio-run">ags_file_read_recall_audio_run</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-audio-signal">ags_file_read_recall_audio_signal</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-channel">ags_file_read_recall_channel</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-channel-run">ags_file_read_recall_channel_run</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-container">ags_file_read_recall_container</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> **recall_container</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-container-list">ags_file_read_recall_container_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **recall_container</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-list">ags_file_read_recall_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recall-recycling">ags_file_read_recall_recycling</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recycling">ags_file_read_recycling</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> **recycling</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-recycling-list">ags_file_read_recycling_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **recycling</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-stream">ags_file_read_stream</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *index</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-stream-list">ags_file_read_stream_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-task">ags_file_read_task</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsTask"><type>AgsTask</type></link> **task</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-task-list">ags_file_read_task_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **task</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-timestamp">ags_file_read_timestamp</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsTimestamp"><type>AgsTimestamp</type></link> **timestamp</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-timestamp-list">ags_file_read_timestamp_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **timestamp</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-audio">ags_file_write_audio</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-audio-list">ags_file_write_audio_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *audio</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-audio-signal">ags_file_write_audio_signal</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-audio-signal-list">ags_file_write_audio_signal_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-channel">ags_file_write_channel</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-channel-list">ags_file_write_channel_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *channel</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-devout">ags_file_write_devout</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-devout-list">ags_file_write_devout_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *devout</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-devout-play">ags_file_write_devout_play</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-devout-play-list">ags_file_write_devout_play_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *play</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-file-link">ags_file_write_file_link</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> *file_link</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-input">ags_file_write_input</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *input</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-notation">ags_file_write_notation</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-notation-list">ags_file_write_notation_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *notation</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-note">ags_file_write_note</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-note-list">ags_file_write_note_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *note</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-output">ags_file_write_output</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *output</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-pattern">ags_file_write_pattern</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-pattern-data">ags_file_write_pattern_data</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-pattern-data-list">ags_file_write_pattern_data_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-pattern-list">ags_file_write_pattern_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *pattern</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-port">ags_file_write_port</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-port-list">ags_file_write_port_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *port</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall">ags_file_write_recall</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-audio">ags_file_write_recall_audio</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-audio-run">ags_file_write_recall_audio_run</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-audio-signal">ags_file_write_recall_audio_signal</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-channel">ags_file_write_recall_channel</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-channel-run">ags_file_write_recall_channel_run</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-container">ags_file_write_recall_container</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *recall_container</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-container-list">ags_file_write_recall_container_list</link>
+ (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *recall_container</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-list">ags_file_write_recall_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recall-recycling">ags_file_write_recall_recycling</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recycling">ags_file_write_recycling</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-recycling-list">ags_file_write_recycling_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *recycling</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-stream">ags_file_write_stream</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-stream-list">ags_file_write_stream_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-task">ags_file_write_task</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-task-list">ags_file_write_task_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *task</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-timestamp">ags_file_write_timestamp</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsTimestamp"><type>AgsTimestamp</type></link> *timestamp</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-timestamp-list">ags_file_write_timestamp_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *timestamp</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-file-sound.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-file-sound.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-file-read-audio" role="function">
+<title>ags_file_read_audio ()</title>
+<indexterm zone="ags-file-read-audio"><primary>ags_file_read_audio</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_audio (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> **audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-audio-list" role="function">
+<title>ags_file_read_audio_list ()</title>
+<indexterm zone="ags-file-read-audio-list"><primary>ags_file_read_audio_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_audio_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-audio-signal" role="function">
+<title>ags_file_read_audio_signal ()</title>
+<indexterm zone="ags-file-read-audio-signal"><primary>ags_file_read_audio_signal</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_audio_signal (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> **audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-audio-signal-list" role="function">
+<title>ags_file_read_audio_signal_list ()</title>
+<indexterm zone="ags-file-read-audio-signal-list"><primary>ags_file_read_audio_signal_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_audio_signal_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-channel" role="function">
+<title>ags_file_read_channel ()</title>
+<indexterm zone="ags-file-read-channel"><primary>ags_file_read_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_channel (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> **channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-channel-list" role="function">
+<title>ags_file_read_channel_list ()</title>
+<indexterm zone="ags-file-read-channel-list"><primary>ags_file_read_channel_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_channel_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-devout" role="function">
+<title>ags_file_read_devout ()</title>
+<indexterm zone="ags-file-read-devout"><primary>ags_file_read_devout</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_devout (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> **devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-devout-list" role="function">
+<title>ags_file_read_devout_list ()</title>
+<indexterm zone="ags-file-read-devout-list"><primary>ags_file_read_devout_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_devout_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-devout-play" role="function">
+<title>ags_file_read_devout_play ()</title>
+<indexterm zone="ags-file-read-devout-play"><primary>ags_file_read_devout_play</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_devout_play (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> **play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-devout-play-list" role="function">
+<title>ags_file_read_devout_play_list ()</title>
+<indexterm zone="ags-file-read-devout-play-list"><primary>ags_file_read_devout_play_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_devout_play_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-file-link" role="function">
+<title>ags_file_read_file_link ()</title>
+<indexterm zone="ags-file-read-file-link"><primary>ags_file_read_file_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_file_link (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> **file_link</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-input" role="function">
+<title>ags_file_read_input ()</title>
+<indexterm zone="ags-file-read-input"><primary>ags_file_read_input</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_input (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *input</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-notation" role="function">
+<title>ags_file_read_notation ()</title>
+<indexterm zone="ags-file-read-notation"><primary>ags_file_read_notation</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_notation (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> **notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-notation-list" role="function">
+<title>ags_file_read_notation_list ()</title>
+<indexterm zone="ags-file-read-notation-list"><primary>ags_file_read_notation_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_notation_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-note" role="function">
+<title>ags_file_read_note ()</title>
+<indexterm zone="ags-file-read-note"><primary>ags_file_read_note</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_note (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> **note</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-note-list" role="function">
+<title>ags_file_read_note_list ()</title>
+<indexterm zone="ags-file-read-note-list"><primary>ags_file_read_note_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_note_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **note</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-output" role="function">
+<title>ags_file_read_output ()</title>
+<indexterm zone="ags-file-read-output"><primary>ags_file_read_output</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_output (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *output</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-pattern" role="function">
+<title>ags_file_read_pattern ()</title>
+<indexterm zone="ags-file-read-pattern"><primary>ags_file_read_pattern</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_pattern (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> **pattern</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-pattern-data" role="function">
+<title>ags_file_read_pattern_data ()</title>
+<indexterm zone="ags-file-read-pattern-data"><primary>ags_file_read_pattern_data</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_pattern_data (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-pattern-data-list" role="function">
+<title>ags_file_read_pattern_data_list ()</title>
+<indexterm zone="ags-file-read-pattern-data-list"><primary>ags_file_read_pattern_data_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_pattern_data_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-pattern-list" role="function">
+<title>ags_file_read_pattern_list ()</title>
+<indexterm zone="ags-file-read-pattern-list"><primary>ags_file_read_pattern_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_pattern_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **pattern</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-port" role="function">
+<title>ags_file_read_port ()</title>
+<indexterm zone="ags-file-read-port"><primary>ags_file_read_port</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_port (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> **port</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-port-list" role="function">
+<title>ags_file_read_port_list ()</title>
+<indexterm zone="ags-file-read-port-list"><primary>ags_file_read_port_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_port_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **port</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall" role="function">
+<title>ags_file_read_recall ()</title>
+<indexterm zone="ags-file-read-recall"><primary>ags_file_read_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> **recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-audio" role="function">
+<title>ags_file_read_recall_audio ()</title>
+<indexterm zone="ags-file-read-recall-audio"><primary>ags_file_read_recall_audio</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_audio (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-audio-run" role="function">
+<title>ags_file_read_recall_audio_run ()</title>
+<indexterm zone="ags-file-read-recall-audio-run"><primary>ags_file_read_recall_audio_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_audio_run (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-audio-signal" role="function">
+<title>ags_file_read_recall_audio_signal ()</title>
+<indexterm zone="ags-file-read-recall-audio-signal"><primary>ags_file_read_recall_audio_signal</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_audio_signal (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-channel" role="function">
+<title>ags_file_read_recall_channel ()</title>
+<indexterm zone="ags-file-read-recall-channel"><primary>ags_file_read_recall_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_channel (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-channel-run" role="function">
+<title>ags_file_read_recall_channel_run ()</title>
+<indexterm zone="ags-file-read-recall-channel-run"><primary>ags_file_read_recall_channel_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_channel_run (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-container" role="function">
+<title>ags_file_read_recall_container ()</title>
+<indexterm zone="ags-file-read-recall-container"><primary>ags_file_read_recall_container</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_container (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> **recall_container</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-container-list" role="function">
+<title>ags_file_read_recall_container_list ()</title>
+<indexterm zone="ags-file-read-recall-container-list"><primary>ags_file_read_recall_container_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_container_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **recall_container</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-list" role="function">
+<title>ags_file_read_recall_list ()</title>
+<indexterm zone="ags-file-read-recall-list"><primary>ags_file_read_recall_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recall-recycling" role="function">
+<title>ags_file_read_recall_recycling ()</title>
+<indexterm zone="ags-file-read-recall-recycling"><primary>ags_file_read_recall_recycling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recall_recycling (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recycling" role="function">
+<title>ags_file_read_recycling ()</title>
+<indexterm zone="ags-file-read-recycling"><primary>ags_file_read_recycling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recycling (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> **recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-recycling-list" role="function">
+<title>ags_file_read_recycling_list ()</title>
+<indexterm zone="ags-file-read-recycling-list"><primary>ags_file_read_recycling_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_recycling_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-stream" role="function">
+<title>ags_file_read_stream ()</title>
+<indexterm zone="ags-file-read-stream"><primary>ags_file_read_stream</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_stream (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *index</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-stream-list" role="function">
+<title>ags_file_read_stream_list ()</title>
+<indexterm zone="ags-file-read-stream-list"><primary>ags_file_read_stream_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_stream_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-task" role="function">
+<title>ags_file_read_task ()</title>
+<indexterm zone="ags-file-read-task"><primary>ags_file_read_task</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_task (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsTask"><type>AgsTask</type></link> **task</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-task-list" role="function">
+<title>ags_file_read_task_list ()</title>
+<indexterm zone="ags-file-read-task-list"><primary>ags_file_read_task_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_task_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **task</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-timestamp" role="function">
+<title>ags_file_read_timestamp ()</title>
+<indexterm zone="ags-file-read-timestamp"><primary>ags_file_read_timestamp</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_timestamp (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsTimestamp"><type>AgsTimestamp</type></link> **timestamp</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-timestamp-list" role="function">
+<title>ags_file_read_timestamp_list ()</title>
+<indexterm zone="ags-file-read-timestamp-list"><primary>ags_file_read_timestamp_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_timestamp_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **timestamp</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-audio" role="function">
+<title>ags_file_write_audio ()</title>
+<indexterm zone="ags-file-write-audio"><primary>ags_file_write_audio</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_audio (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-audio-list" role="function">
+<title>ags_file_write_audio_list ()</title>
+<indexterm zone="ags-file-write-audio-list"><primary>ags_file_write_audio_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_audio_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-audio-signal" role="function">
+<title>ags_file_write_audio_signal ()</title>
+<indexterm zone="ags-file-write-audio-signal"><primary>ags_file_write_audio_signal</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_audio_signal (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-audio-signal-list" role="function">
+<title>ags_file_write_audio_signal_list ()</title>
+<indexterm zone="ags-file-write-audio-signal-list"><primary>ags_file_write_audio_signal_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_audio_signal_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-channel" role="function">
+<title>ags_file_write_channel ()</title>
+<indexterm zone="ags-file-write-channel"><primary>ags_file_write_channel</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_channel (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-channel-list" role="function">
+<title>ags_file_write_channel_list ()</title>
+<indexterm zone="ags-file-write-channel-list"><primary>ags_file_write_channel_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_channel_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-devout" role="function">
+<title>ags_file_write_devout ()</title>
+<indexterm zone="ags-file-write-devout"><primary>ags_file_write_devout</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_devout (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-devout-list" role="function">
+<title>ags_file_write_devout_list ()</title>
+<indexterm zone="ags-file-write-devout-list"><primary>ags_file_write_devout_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_devout_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-devout-play" role="function">
+<title>ags_file_write_devout_play ()</title>
+<indexterm zone="ags-file-write-devout-play"><primary>ags_file_write_devout_play</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_devout_play (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-devout-play-list" role="function">
+<title>ags_file_write_devout_play_list ()</title>
+<indexterm zone="ags-file-write-devout-play-list"><primary>ags_file_write_devout_play_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_devout_play_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-file-link" role="function">
+<title>ags_file_write_file_link ()</title>
+<indexterm zone="ags-file-write-file-link"><primary>ags_file_write_file_link</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_file_link (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> *file_link</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-input" role="function">
+<title>ags_file_write_input ()</title>
+<indexterm zone="ags-file-write-input"><primary>ags_file_write_input</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_input (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *input</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-notation" role="function">
+<title>ags_file_write_notation ()</title>
+<indexterm zone="ags-file-write-notation"><primary>ags_file_write_notation</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_notation (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-notation-list" role="function">
+<title>ags_file_write_notation_list ()</title>
+<indexterm zone="ags-file-write-notation-list"><primary>ags_file_write_notation_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_notation_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-note" role="function">
+<title>ags_file_write_note ()</title>
+<indexterm zone="ags-file-write-note"><primary>ags_file_write_note</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_note (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-note-list" role="function">
+<title>ags_file_write_note_list ()</title>
+<indexterm zone="ags-file-write-note-list"><primary>ags_file_write_note_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_note_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *note</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-output" role="function">
+<title>ags_file_write_output ()</title>
+<indexterm zone="ags-file-write-output"><primary>ags_file_write_output</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_output (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *output</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-pattern" role="function">
+<title>ags_file_write_pattern ()</title>
+<indexterm zone="ags-file-write-pattern"><primary>ags_file_write_pattern</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_pattern (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-pattern-data" role="function">
+<title>ags_file_write_pattern_data ()</title>
+<indexterm zone="ags-file-write-pattern-data"><primary>ags_file_write_pattern_data</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_pattern_data (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-pattern-data-list" role="function">
+<title>ags_file_write_pattern_data_list ()</title>
+<indexterm zone="ags-file-write-pattern-data-list"><primary>ags_file_write_pattern_data_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_pattern_data_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-pattern-list" role="function">
+<title>ags_file_write_pattern_list ()</title>
+<indexterm zone="ags-file-write-pattern-list"><primary>ags_file_write_pattern_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_pattern_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *pattern</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-port" role="function">
+<title>ags_file_write_port ()</title>
+<indexterm zone="ags-file-write-port"><primary>ags_file_write_port</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_port (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-port-list" role="function">
+<title>ags_file_write_port_list ()</title>
+<indexterm zone="ags-file-write-port-list"><primary>ags_file_write_port_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_port_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *port</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall" role="function">
+<title>ags_file_write_recall ()</title>
+<indexterm zone="ags-file-write-recall"><primary>ags_file_write_recall</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-audio" role="function">
+<title>ags_file_write_recall_audio ()</title>
+<indexterm zone="ags-file-write-recall-audio"><primary>ags_file_write_recall_audio</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_audio (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-audio-run" role="function">
+<title>ags_file_write_recall_audio_run ()</title>
+<indexterm zone="ags-file-write-recall-audio-run"><primary>ags_file_write_recall_audio_run</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_audio_run (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-audio-signal" role="function">
+<title>ags_file_write_recall_audio_signal ()</title>
+<indexterm zone="ags-file-write-recall-audio-signal"><primary>ags_file_write_recall_audio_signal</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_audio_signal (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-channel" role="function">
+<title>ags_file_write_recall_channel ()</title>
+<indexterm zone="ags-file-write-recall-channel"><primary>ags_file_write_recall_channel</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_channel (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-channel-run" role="function">
+<title>ags_file_write_recall_channel_run ()</title>
+<indexterm zone="ags-file-write-recall-channel-run"><primary>ags_file_write_recall_channel_run</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_channel_run (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-container" role="function">
+<title>ags_file_write_recall_container ()</title>
+<indexterm zone="ags-file-write-recall-container"><primary>ags_file_write_recall_container</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_container (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *recall_container</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-container-list" role="function">
+<title>ags_file_write_recall_container_list ()</title>
+<indexterm zone="ags-file-write-recall-container-list"><primary>ags_file_write_recall_container_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_container_list
+ (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *recall_container</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-list" role="function">
+<title>ags_file_write_recall_list ()</title>
+<indexterm zone="ags-file-write-recall-list"><primary>ags_file_write_recall_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recall-recycling" role="function">
+<title>ags_file_write_recall_recycling ()</title>
+<indexterm zone="ags-file-write-recall-recycling"><primary>ags_file_write_recall_recycling</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recall_recycling (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recycling" role="function">
+<title>ags_file_write_recycling ()</title>
+<indexterm zone="ags-file-write-recycling"><primary>ags_file_write_recycling</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recycling (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-recycling-list" role="function">
+<title>ags_file_write_recycling_list ()</title>
+<indexterm zone="ags-file-write-recycling-list"><primary>ags_file_write_recycling_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_recycling_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-stream" role="function">
+<title>ags_file_write_stream ()</title>
+<indexterm zone="ags-file-write-stream"><primary>ags_file_write_stream</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_stream (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-stream-list" role="function">
+<title>ags_file_write_stream_list ()</title>
+<indexterm zone="ags-file-write-stream-list"><primary>ags_file_write_stream_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_stream_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *stream</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-task" role="function">
+<title>ags_file_write_task ()</title>
+<indexterm zone="ags-file-write-task"><primary>ags_file_write_task</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_task (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-task-list" role="function">
+<title>ags_file_write_task_list ()</title>
+<indexterm zone="ags-file-write-task-list"><primary>ags_file_write_task_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_task_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *task</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-timestamp" role="function">
+<title>ags_file_write_timestamp ()</title>
+<indexterm zone="ags-file-write-timestamp"><primary>ags_file_write_timestamp</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_timestamp (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsTimestamp"><type>AgsTimestamp</type></link> *timestamp</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-timestamp-list" role="function">
+<title>ags_file_write_timestamp_list ()</title>
+<indexterm zone="ags-file-write-timestamp-list"><primary>ags_file_write_timestamp_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_timestamp_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *timestamp</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_stock.xml b/doc/reference/ags/xml/ags_file_stock.xml
new file mode 100644
index 0000000..15c3de3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_stock.xml
@@ -0,0 +1,356 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-file-stock">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-file-stock.top_of_page">ags_file_stock</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_file_stock</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-file-stock.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-CLIPBOARD-DEFAULT-VERSION:CAPS">AGS_CLIPBOARD_DEFAULT_VERSION</link>
+#define <link linkend="AGS-FILE-BOOLEAN-POINTER-PROP:CAPS">AGS_FILE_BOOLEAN_POINTER_PROP</link>
+#define <link linkend="AGS-FILE-BOOLEAN-PROP:CAPS">AGS_FILE_BOOLEAN_PROP</link>
+#define <link linkend="AGS-FILE-BUILD-ID-PROP:CAPS">AGS_FILE_BUILD_ID_PROP</link>
+#define <link linkend="AGS-FILE-CHAR-POINTER-PROP:CAPS">AGS_FILE_CHAR_POINTER_PROP</link>
+#define <link linkend="AGS-FILE-CHAR-PROP:CAPS">AGS_FILE_CHAR_PROP</link>
+#define <link linkend="AGS-FILE-DEFAULT-VERSION:CAPS">AGS_FILE_DEFAULT_VERSION</link>
+#define <link linkend="AGS-FILE-DOUBLE-POINTER-PROP:CAPS">AGS_FILE_DOUBLE_POINTER_PROP</link>
+#define <link linkend="AGS-FILE-DOUBLE-PROP:CAPS">AGS_FILE_DOUBLE_PROP</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_BUTTON</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-CARTESIAN:CAPS">AGS_FILE_DYNAMIC_WIDGET_CARTESIAN</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-CHECK-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-DIAL:CAPS">AGS_FILE_DYNAMIC_WIDGET_DIAL</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-HINDICATOR:CAPS">AGS_FILE_DYNAMIC_WIDGET_HINDICATOR</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-HSCALE:CAPS">AGS_FILE_DYNAMIC_WIDGET_HSCALE</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-LABEL:CAPS">AGS_FILE_DYNAMIC_WIDGET_LABEL</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-LED:CAPS">AGS_FILE_DYNAMIC_WIDGET_LED</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-SPIN-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-TOGGLE-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-VINDICATOR:CAPS">AGS_FILE_DYNAMIC_WIDGET_VINDICATOR</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-VSCALE:CAPS">AGS_FILE_DYNAMIC_WIDGET_VSCALE</link>
+#define <link linkend="AGS-FILE-DYNAMIC-WIDGET-WAVEFORM:CAPS">AGS_FILE_DYNAMIC_WIDGET_WAVEFORM</link>
+#define <link linkend="AGS-FILE-EFFECTS-DEFAULT-VERSION:CAPS">AGS_FILE_EFFECTS_DEFAULT_VERSION</link>
+#define <link linkend="AGS-FILE-FALSE:CAPS">AGS_FILE_FALSE</link>
+#define <link linkend="AGS-FILE-FLAGS-PROP:CAPS">AGS_FILE_FLAGS_PROP</link>
+#define <link linkend="AGS-FILE-FLOAT-POINTER-PROP:CAPS">AGS_FILE_FLOAT_POINTER_PROP</link>
+#define <link linkend="AGS-FILE-FLOAT-PROP:CAPS">AGS_FILE_FLOAT_PROP</link>
+#define <link linkend="AGS-FILE-ID-PROP:CAPS">AGS_FILE_ID_PROP</link>
+#define <link linkend="AGS-FILE-INT64-POINTER-PROP:CAPS">AGS_FILE_INT64_POINTER_PROP</link>
+#define <link linkend="AGS-FILE-INT64-PROP:CAPS">AGS_FILE_INT64_PROP</link>
+#define <link linkend="AGS-FILE-NAME-PROP:CAPS">AGS_FILE_NAME_PROP</link>
+#define <link linkend="AGS-FILE-OBJECT-PROP:CAPS">AGS_FILE_OBJECT_PROP</link>
+#define <link linkend="AGS-FILE-POINTER-PROP:CAPS">AGS_FILE_POINTER_PROP</link>
+#define <link linkend="AGS-FILE-SCOPE-PROP:CAPS">AGS_FILE_SCOPE_PROP</link>
+#define <link linkend="AGS-FILE-TRUE:CAPS">AGS_FILE_TRUE</link>
+#define <link linkend="AGS-FILE-TYPE-PROP:CAPS">AGS_FILE_TYPE_PROP</link>
+#define <link linkend="AGS-FILE-UINT64-POINTER-PROP:CAPS">AGS_FILE_UINT64_POINTER_PROP</link>
+#define <link linkend="AGS-FILE-UINT64-PROP:CAPS">AGS_FILE_UINT64_PROP</link>
+#define <link linkend="AGS-FILE-VERSION-PROP:CAPS">AGS_FILE_VERSION_PROP</link>
+#define <link linkend="AGS-FILE-XPATH-PROP:CAPS">AGS_FILE_XPATH_PROP</link>
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-file-stock.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-file-stock.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-CLIPBOARD-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_CLIPBOARD_DEFAULT_VERSION</title>
+<indexterm zone="AGS-CLIPBOARD-DEFAULT-VERSION:CAPS"><primary>AGS_CLIPBOARD_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_CLIPBOARD_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-BOOLEAN-POINTER-PROP:CAPS" role="macro">
+<title>AGS_FILE_BOOLEAN_POINTER_PROP</title>
+<indexterm zone="AGS-FILE-BOOLEAN-POINTER-PROP:CAPS"><primary>AGS_FILE_BOOLEAN_POINTER_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_BOOLEAN_POINTER_PROP "gboolean-pointer\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-BOOLEAN-PROP:CAPS" role="macro">
+<title>AGS_FILE_BOOLEAN_PROP</title>
+<indexterm zone="AGS-FILE-BOOLEAN-PROP:CAPS"><primary>AGS_FILE_BOOLEAN_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_BOOLEAN_PROP "gboolean\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-BUILD-ID-PROP:CAPS" role="macro">
+<title>AGS_FILE_BUILD_ID_PROP</title>
+<indexterm zone="AGS-FILE-BUILD-ID-PROP:CAPS"><primary>AGS_FILE_BUILD_ID_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_BUILD_ID_PROP "build-id\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-CHAR-POINTER-PROP:CAPS" role="macro">
+<title>AGS_FILE_CHAR_POINTER_PROP</title>
+<indexterm zone="AGS-FILE-CHAR-POINTER-PROP:CAPS"><primary>AGS_FILE_CHAR_POINTER_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_CHAR_POINTER_PROP "gchar-pointer\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-CHAR-PROP:CAPS" role="macro">
+<title>AGS_FILE_CHAR_PROP</title>
+<indexterm zone="AGS-FILE-CHAR-PROP:CAPS"><primary>AGS_FILE_CHAR_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_CHAR_PROP "gchar\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_FILE_DEFAULT_VERSION</title>
+<indexterm zone="AGS-FILE-DEFAULT-VERSION:CAPS"><primary>AGS_FILE_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_FILE_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DOUBLE-POINTER-PROP:CAPS" role="macro">
+<title>AGS_FILE_DOUBLE_POINTER_PROP</title>
+<indexterm zone="AGS-FILE-DOUBLE-POINTER-PROP:CAPS"><primary>AGS_FILE_DOUBLE_POINTER_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_DOUBLE_POINTER_PROP "gdouble-pointer\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DOUBLE-PROP:CAPS" role="macro">
+<title>AGS_FILE_DOUBLE_PROP</title>
+<indexterm zone="AGS-FILE-DOUBLE-PROP:CAPS"><primary>AGS_FILE_DOUBLE_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_DOUBLE_PROP "gdouble\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-BUTTON:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_BUTTON</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-BUTTON:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_BUTTON</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_BUTTON (g_type_name(GtkTypeButton))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-CARTESIAN:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_CARTESIAN</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-CARTESIAN:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_CARTESIAN</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_CARTESIAN (g_type_name(GtkTypeCartesian))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-CHECK-BUTTON:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-CHECK-BUTTON:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON (g_type_name(GtkTypeCheckButton))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-DIAL:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_DIAL</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-DIAL:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_DIAL</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_DIAL (g_type_name(AgsTypeDial))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-HINDICATOR:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_HINDICATOR</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-HINDICATOR:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_HINDICATOR</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_HINDICATOR (g_type_name(AgsTypeHIndicator))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-HSCALE:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_HSCALE</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-HSCALE:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_HSCALE</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_HSCALE (g_type_name(GtkTypeHScale))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-LABEL:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_LABEL</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-LABEL:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_LABEL</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_LABEL (g_type_name(GtkTypeLabel))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-LED:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_LED</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-LED:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_LED</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_LED (g_type_name(AgsTypeLed))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-SPIN-BUTTON:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-SPIN-BUTTON:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON (g_type_name(GtkTypeSpinButton))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-TOGGLE-BUTTON:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-TOGGLE-BUTTON:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON (g_type_name(GtkTypeToggleButton))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-VINDICATOR:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_VINDICATOR</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-VINDICATOR:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_VINDICATOR</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_VINDICATOR (g_type_name(AgsTypeVIndicator))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-VSCALE:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_VSCALE</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-VSCALE:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_VSCALE</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_VSCALE (g_type_name(GtkTypeVScale))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-DYNAMIC-WIDGET-WAVEFORM:CAPS" role="macro">
+<title>AGS_FILE_DYNAMIC_WIDGET_WAVEFORM</title>
+<indexterm zone="AGS-FILE-DYNAMIC-WIDGET-WAVEFORM:CAPS"><primary>AGS_FILE_DYNAMIC_WIDGET_WAVEFORM</primary></indexterm>
+<programlisting>#define AGS_FILE_DYNAMIC_WIDGET_WAVEFORM (g_type_name(AgsTypeWaveform))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-EFFECTS-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_FILE_EFFECTS_DEFAULT_VERSION</title>
+<indexterm zone="AGS-FILE-EFFECTS-DEFAULT-VERSION:CAPS"><primary>AGS_FILE_EFFECTS_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_FILE_EFFECTS_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-FALSE:CAPS" role="macro">
+<title>AGS_FILE_FALSE</title>
+<indexterm zone="AGS-FILE-FALSE:CAPS"><primary>AGS_FILE_FALSE</primary></indexterm>
+<programlisting>#define AGS_FILE_FALSE "FALSE\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-FLAGS-PROP:CAPS" role="macro">
+<title>AGS_FILE_FLAGS_PROP</title>
+<indexterm zone="AGS-FILE-FLAGS-PROP:CAPS"><primary>AGS_FILE_FLAGS_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_FLAGS_PROP "flags\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-FLOAT-POINTER-PROP:CAPS" role="macro">
+<title>AGS_FILE_FLOAT_POINTER_PROP</title>
+<indexterm zone="AGS-FILE-FLOAT-POINTER-PROP:CAPS"><primary>AGS_FILE_FLOAT_POINTER_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_FLOAT_POINTER_PROP "gfloat-pointer\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-FLOAT-PROP:CAPS" role="macro">
+<title>AGS_FILE_FLOAT_PROP</title>
+<indexterm zone="AGS-FILE-FLOAT-PROP:CAPS"><primary>AGS_FILE_FLOAT_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_FLOAT_PROP "gfloat\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-ID-PROP:CAPS" role="macro">
+<title>AGS_FILE_ID_PROP</title>
+<indexterm zone="AGS-FILE-ID-PROP:CAPS"><primary>AGS_FILE_ID_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_ID_PROP "id\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-INT64-POINTER-PROP:CAPS" role="macro">
+<title>AGS_FILE_INT64_POINTER_PROP</title>
+<indexterm zone="AGS-FILE-INT64-POINTER-PROP:CAPS"><primary>AGS_FILE_INT64_POINTER_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_INT64_POINTER_PROP "gint64-pointer\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-INT64-PROP:CAPS" role="macro">
+<title>AGS_FILE_INT64_PROP</title>
+<indexterm zone="AGS-FILE-INT64-PROP:CAPS"><primary>AGS_FILE_INT64_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_INT64_PROP "gint64\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-NAME-PROP:CAPS" role="macro">
+<title>AGS_FILE_NAME_PROP</title>
+<indexterm zone="AGS-FILE-NAME-PROP:CAPS"><primary>AGS_FILE_NAME_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_NAME_PROP "name\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-OBJECT-PROP:CAPS" role="macro">
+<title>AGS_FILE_OBJECT_PROP</title>
+<indexterm zone="AGS-FILE-OBJECT-PROP:CAPS"><primary>AGS_FILE_OBJECT_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_OBJECT_PROP "GObject\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-POINTER-PROP:CAPS" role="macro">
+<title>AGS_FILE_POINTER_PROP</title>
+<indexterm zone="AGS-FILE-POINTER-PROP:CAPS"><primary>AGS_FILE_POINTER_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_POINTER_PROP "gpointer\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-SCOPE-PROP:CAPS" role="macro">
+<title>AGS_FILE_SCOPE_PROP</title>
+<indexterm zone="AGS-FILE-SCOPE-PROP:CAPS"><primary>AGS_FILE_SCOPE_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_SCOPE_PROP "scope\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-TRUE:CAPS" role="macro">
+<title>AGS_FILE_TRUE</title>
+<indexterm zone="AGS-FILE-TRUE:CAPS"><primary>AGS_FILE_TRUE</primary></indexterm>
+<programlisting>#define AGS_FILE_TRUE "TRUE\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-TYPE-PROP:CAPS" role="macro">
+<title>AGS_FILE_TYPE_PROP</title>
+<indexterm zone="AGS-FILE-TYPE-PROP:CAPS"><primary>AGS_FILE_TYPE_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_TYPE_PROP "type\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-UINT64-POINTER-PROP:CAPS" role="macro">
+<title>AGS_FILE_UINT64_POINTER_PROP</title>
+<indexterm zone="AGS-FILE-UINT64-POINTER-PROP:CAPS"><primary>AGS_FILE_UINT64_POINTER_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_UINT64_POINTER_PROP "guint64-pointer\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-UINT64-PROP:CAPS" role="macro">
+<title>AGS_FILE_UINT64_PROP</title>
+<indexterm zone="AGS-FILE-UINT64-PROP:CAPS"><primary>AGS_FILE_UINT64_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_UINT64_PROP "guint64\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-VERSION-PROP:CAPS" role="macro">
+<title>AGS_FILE_VERSION_PROP</title>
+<indexterm zone="AGS-FILE-VERSION-PROP:CAPS"><primary>AGS_FILE_VERSION_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_VERSION_PROP "version\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-FILE-XPATH-PROP:CAPS" role="macro">
+<title>AGS_FILE_XPATH_PROP</title>
+<indexterm zone="AGS-FILE-XPATH-PROP:CAPS"><primary>AGS_FILE_XPATH_PROP</primary></indexterm>
+<programlisting>#define AGS_FILE_XPATH_PROP "xpath\0"
+</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_thread.xml b/doc/reference/ags/xml/ags_file_thread.xml
new file mode 100644
index 0000000..81dfa6c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_thread.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-file-thread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-file-thread.top_of_page">ags_file_thread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_file_thread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-file-thread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-audio-loop">ags_file_read_audio_loop</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-thread">ags_file_read_thread</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> **thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-thread-list">ags_file_read_thread_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-thread-pool">ags_file_read_thread_pool</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> **thread_pool</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-audio-loop">ags_file_write_audio_loop</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-thread">ags_file_write_thread</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-thread-list">ags_file_write_thread_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *thread</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-thread-pool">ags_file_write_thread_pool</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> *thread_pool</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-file-thread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-file-thread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-file-read-audio-loop" role="function">
+<title>ags_file_read_audio_loop ()</title>
+<indexterm zone="ags-file-read-audio-loop"><primary>ags_file_read_audio_loop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_audio_loop (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-thread" role="function">
+<title>ags_file_read_thread ()</title>
+<indexterm zone="ags-file-read-thread"><primary>ags_file_read_thread</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_thread (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> **thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-thread-list" role="function">
+<title>ags_file_read_thread_list ()</title>
+<indexterm zone="ags-file-read-thread-list"><primary>ags_file_read_thread_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_thread_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-thread-pool" role="function">
+<title>ags_file_read_thread_pool ()</title>
+<indexterm zone="ags-file-read-thread-pool"><primary>ags_file_read_thread_pool</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_thread_pool (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> **thread_pool</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-audio-loop" role="function">
+<title>ags_file_write_audio_loop ()</title>
+<indexterm zone="ags-file-write-audio-loop"><primary>ags_file_write_audio_loop</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_audio_loop (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsAudioLoop"><type>AgsAudioLoop</type></link> *audio_loop</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-thread" role="function">
+<title>ags_file_write_thread ()</title>
+<indexterm zone="ags-file-write-thread"><primary>ags_file_write_thread</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_thread (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-thread-list" role="function">
+<title>ags_file_write_thread_list ()</title>
+<indexterm zone="ags-file-write-thread-list"><primary>ags_file_write_thread_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_thread_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-thread-pool" role="function">
+<title>ags_file_write_thread_pool ()</title>
+<indexterm zone="ags-file-write-thread-pool"><primary>ags_file_write_thread_pool</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_thread_pool (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> *thread_pool</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_util.xml b/doc/reference/ags/xml/ags_file_util.xml
new file mode 100644
index 0000000..7056901
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_util.xml
@@ -0,0 +1,262 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-file-util">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-file-util.top_of_page">ags_file_util</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_file_util</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-file-util.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-embedded-audio">ags_file_read_embedded_audio</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **embedded_audio</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-embedded-audio-list">ags_file_read_embedded_audio_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **embedded_audio</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-file-link">ags_file_read_file_link</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> **file_link</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-file-link-list">ags_file_read_file_link_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **file_link</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-util-read-dependency">ags_file_util_read_dependency</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **id</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **name</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> **xpath</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-util-read-history">ags_file_util_read_history</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsHistory"><type>AgsHistory</type></link> **history</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-util-read-object">ags_file_util_read_object</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> **gobject</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-util-read-parameter">ags_file_util_read_parameter</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **id</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> **parameter</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> *n_params</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> ***xpath</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-util-read-value">ags_file_util_read_value</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **id</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> **xpath</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-util-write-dependency">ags_file_util_write_dependency</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> *xpath</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-util-write-history">ags_file_util_write_history</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsHistory"><type>AgsHistory</type></link> *history</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-util-write-object">ags_file_util_write_object</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-util-write-parameter">ags_file_util_write_parameter</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *parameter</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> n_params</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-util-write-value">ags_file_util_write_value</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> pointer_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> arr_length</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-embedded-audio">ags_file_write_embedded_audio</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *embedded_audio</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-embedded-audio-list">ags_file_write_embedded_audio_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *embedded_audio</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-file-link">ags_file_write_file_link</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> *file_link</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-file-link-list">ags_file_write_file_link_list</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *file_link</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-file-util.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-file-util.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-file-read-embedded-audio" role="function">
+<title>ags_file_read_embedded_audio ()</title>
+<indexterm zone="ags-file-read-embedded-audio"><primary>ags_file_read_embedded_audio</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_embedded_audio (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **embedded_audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-embedded-audio-list" role="function">
+<title>ags_file_read_embedded_audio_list ()</title>
+<indexterm zone="ags-file-read-embedded-audio-list"><primary>ags_file_read_embedded_audio_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_embedded_audio_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **embedded_audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-file-link" role="function">
+<title>ags_file_read_file_link ()</title>
+<indexterm zone="ags-file-read-file-link"><primary>ags_file_read_file_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_file_link (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> **file_link</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-file-link-list" role="function">
+<title>ags_file_read_file_link_list ()</title>
+<indexterm zone="ags-file-read-file-link-list"><primary>ags_file_read_file_link_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_file_link_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **file_link</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-read-dependency" role="function">
+<title>ags_file_util_read_dependency ()</title>
+<indexterm zone="ags-file-util-read-dependency"><primary>ags_file_util_read_dependency</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_util_read_dependency (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **id</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **name</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> **xpath</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-read-history" role="function">
+<title>ags_file_util_read_history ()</title>
+<indexterm zone="ags-file-util-read-history"><primary>ags_file_util_read_history</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_util_read_history (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsHistory"><type>AgsHistory</type></link> **history</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-read-object" role="function">
+<title>ags_file_util_read_object ()</title>
+<indexterm zone="ags-file-util-read-object"><primary>ags_file_util_read_object</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_util_read_object (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> **gobject</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-read-parameter" role="function">
+<title>ags_file_util_read_parameter ()</title>
+<indexterm zone="ags-file-util-read-parameter"><primary>ags_file_util_read_parameter</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_util_read_parameter (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **id</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> **parameter</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> *n_params</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> ***xpath</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-read-value" role="function">
+<title>ags_file_util_read_value ()</title>
+<indexterm zone="ags-file-util-read-value"><primary>ags_file_util_read_value</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_util_read_value (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **id</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> **xpath</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-write-dependency" role="function">
+<title>ags_file_util_write_dependency ()</title>
+<indexterm zone="ags-file-util-write-dependency"><primary>ags_file_util_write_dependency</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_util_write_dependency (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>,
+ <parameter><link linkend="xmlChar"><type>xmlChar</type></link> *xpath</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-write-history" role="function">
+<title>ags_file_util_write_history ()</title>
+<indexterm zone="ags-file-util-write-history"><primary>ags_file_util_write_history</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_util_write_history (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsHistory"><type>AgsHistory</type></link> *history</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-write-object" role="function">
+<title>ags_file_util_write_object ()</title>
+<indexterm zone="ags-file-util-write-object"><primary>ags_file_util_write_object</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_util_write_object (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-write-parameter" role="function">
+<title>ags_file_util_write_parameter ()</title>
+<indexterm zone="ags-file-util-write-parameter"><primary>ags_file_util_write_parameter</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_util_write_parameter (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *parameter</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> n_params</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-util-write-value" role="function">
+<title>ags_file_util_write_value ()</title>
+<indexterm zone="ags-file-util-write-value"><primary>ags_file_util_write_value</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_util_write_value (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> pointer_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> arr_length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-embedded-audio" role="function">
+<title>ags_file_write_embedded_audio ()</title>
+<indexterm zone="ags-file-write-embedded-audio"><primary>ags_file_write_embedded_audio</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_embedded_audio (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *embedded_audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-embedded-audio-list" role="function">
+<title>ags_file_write_embedded_audio_list ()</title>
+<indexterm zone="ags-file-write-embedded-audio-list"><primary>ags_file_write_embedded_audio_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_embedded_audio_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *embedded_audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-file-link" role="function">
+<title>ags_file_write_file_link ()</title>
+<indexterm zone="ags-file-write-file-link"><primary>ags_file_write_file_link</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_file_link (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsFileLink"><type>AgsFileLink</type></link> *file_link</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-file-link-list" role="function">
+<title>ags_file_write_file_link_list ()</title>
+<indexterm zone="ags-file-write-file-link-list"><primary>ags_file_write_file_link_list</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_file_link_list (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *file_link</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_value_factory.xml b/doc/reference/ags/xml/ags_file_value_factory.xml
new file mode 100644
index 0000000..3f530a9
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_value_factory.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileValueFactory">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileValueFactory.top_of_page">AgsFileValueFactory</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileValueFactory</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileValueFactory.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFileValueFactory">AgsFileValueFactory</link>;
+struct <link linkend="AgsFileValueFactoryClass">AgsFileValueFactoryClass</link>;
+<link linkend="AgsFileValueFactory"><returnvalue>AgsFileValueFactory</returnvalue></link> * <link linkend="ags-file-value-factory-new">ags_file_value_factory_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileValueFactory.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileValueFactory.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFileValueFactory" role="struct">
+<title>struct AgsFileValueFactory</title>
+<indexterm zone="AgsFileValueFactory"><primary>AgsFileValueFactory</primary></indexterm>
+<programlisting>struct AgsFileValueFactory {
+ GObject object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileValueFactoryClass" role="struct">
+<title>struct AgsFileValueFactoryClass</title>
+<indexterm zone="AgsFileValueFactoryClass"><primary>AgsFileValueFactoryClass</primary></indexterm>
+<programlisting>struct AgsFileValueFactoryClass {
+ GObject object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-value-factory-new" role="function">
+<title>ags_file_value_factory_new ()</title>
+<indexterm zone="ags-file-value-factory-new"><primary>ags_file_value_factory_new</primary></indexterm>
+<programlisting><link linkend="AgsFileValueFactory"><returnvalue>AgsFileValueFactory</returnvalue></link> * ags_file_value_factory_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_file_write.xml b/doc/reference/ags/xml/ags_file_write.xml
new file mode 100644
index 0000000..cb07634
--- /dev/null
+++ b/doc/reference/ags/xml/ags_file_write.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFileWrite">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFileWrite.top_of_page">AgsFileWrite</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFileWrite</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFileWrite.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFileWrite">AgsFileWrite</link>;
+struct <link linkend="AgsFileWriteClass">AgsFileWriteClass</link>;
+<link linkend="AgsFileWrite"><returnvalue>AgsFileWrite</returnvalue></link> * <link linkend="ags-file-write-new">ags_file_write_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFileWrite.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFileWrite.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFileWrite" role="struct">
+<title>struct AgsFileWrite</title>
+<indexterm zone="AgsFileWrite"><primary>AgsFileWrite</primary></indexterm>
+<programlisting>struct AgsFileWrite {
+ GObject object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFileWriteClass" role="struct">
+<title>struct AgsFileWriteClass</title>
+<indexterm zone="AgsFileWriteClass"><primary>AgsFileWriteClass</primary></indexterm>
+<programlisting>struct AgsFileWriteClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-new" role="function">
+<title>ags_file_write_new ()</title>
+<indexterm zone="ags-file-write-new"><primary>ags_file_write_new</primary></indexterm>
+<programlisting><link linkend="AgsFileWrite"><returnvalue>AgsFileWrite</returnvalue></link> * ags_file_write_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_free_selection.xml b/doc/reference/ags/xml/ags_free_selection.xml
new file mode 100644
index 0000000..f5634e1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_free_selection.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsFreeSelection">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsFreeSelection.top_of_page">AgsFreeSelection</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsFreeSelection</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsFreeSelection.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsFreeSelection">AgsFreeSelection</link>;
+struct <link linkend="AgsFreeSelectionClass">AgsFreeSelectionClass</link>;
+<link linkend="AgsFreeSelection"><returnvalue>AgsFreeSelection</returnvalue></link> * <link linkend="ags-free-selection-new">ags_free_selection_new</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsFreeSelection.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsFreeSelection.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsFreeSelection" role="struct">
+<title>struct AgsFreeSelection</title>
+<indexterm zone="AgsFreeSelection"><primary>AgsFreeSelection</primary></indexterm>
+<programlisting>struct AgsFreeSelection {
+ AgsTask task;
+
+ AgsNotation *notation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsFreeSelectionClass" role="struct">
+<title>struct AgsFreeSelectionClass</title>
+<indexterm zone="AgsFreeSelectionClass"><primary>AgsFreeSelectionClass</primary></indexterm>
+<programlisting>struct AgsFreeSelectionClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-free-selection-new" role="function">
+<title>ags_free_selection_new ()</title>
+<indexterm zone="ags-free-selection-new"><primary>ags_free_selection_new</primary></indexterm>
+<programlisting><link linkend="AgsFreeSelection"><returnvalue>AgsFreeSelection</returnvalue></link> * ags_free_selection_new (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_garbage_collector.xml b/doc/reference/ags/xml/ags_garbage_collector.xml
new file mode 100644
index 0000000..4f47cd6
--- /dev/null
+++ b/doc/reference/ags/xml/ags_garbage_collector.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsGarbageCollector">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsGarbageCollector.top_of_page">AgsGarbageCollector</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsGarbageCollector</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsGarbageCollector.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsGarbageCollector">AgsGarbageCollector</link>;
+struct <link linkend="AgsGarbageCollectorClass">AgsGarbageCollectorClass</link>;
+enum <link linkend="AgsGarbageCollectorFlags">AgsGarbageCollectorFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-garbage-collector-add">ags_garbage_collector_add</link> (<parameter><link linkend="AgsGarbageCollector"><type>AgsGarbageCollector</type></link> *garbage_collector</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="AgsGarbageCollector"><returnvalue>AgsGarbageCollector</returnvalue></link> * <link linkend="ags-garbage-collector-new">ags_garbage_collector_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-garbage-collector-remove">ags_garbage_collector_remove</link> (<parameter><link linkend="AgsGarbageCollector"><type>AgsGarbageCollector</type></link> *garbage_collector</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-garbage-collector-run">ags_garbage_collector_run</link> (<parameter><link linkend="AgsGarbageCollector"><type>AgsGarbageCollector</type></link> *garbage_collector</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsGarbageCollector.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsGarbageCollector.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsGarbageCollector" role="struct">
+<title>struct AgsGarbageCollector</title>
+<indexterm zone="AgsGarbageCollector"><primary>AgsGarbageCollector</primary></indexterm>
+<programlisting>struct AgsGarbageCollector {
+ GObject object;
+
+ guint32 flags;
+
+ GObject *devout;
+
+ GList *list; // data of type AgsRecycling
+ GList *stopped;
+ GList *start;
+ GList *end;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsGarbageCollectorClass" role="struct">
+<title>struct AgsGarbageCollectorClass</title>
+<indexterm zone="AgsGarbageCollectorClass"><primary>AgsGarbageCollectorClass</primary></indexterm>
+<programlisting>struct AgsGarbageCollectorClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsGarbageCollectorFlags" role="enum">
+<title>enum AgsGarbageCollectorFlags</title>
+<indexterm zone="AgsGarbageCollectorFlags"><primary>AgsGarbageCollectorFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_GARBAGE_COLLECTOR_RUN = 1, // cancel flag of ags_garbage_collector run
+ AGS_GARBAGE_COLLECTOR_CANCEL_RUN = 1 << 1, // used by ags_garbage_collector_remove to remove the current (stopped) AgsRecycling while ags_garbage_collector_run is running
+} AgsGarbageCollectorFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-garbage-collector-add" role="function">
+<title>ags_garbage_collector_add ()</title>
+<indexterm zone="ags-garbage-collector-add"><primary>ags_garbage_collector_add</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_garbage_collector_add (<parameter><link linkend="AgsGarbageCollector"><type>AgsGarbageCollector</type></link> *garbage_collector</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-garbage-collector-new" role="function">
+<title>ags_garbage_collector_new ()</title>
+<indexterm zone="ags-garbage-collector-new"><primary>ags_garbage_collector_new</primary></indexterm>
+<programlisting><link linkend="AgsGarbageCollector"><returnvalue>AgsGarbageCollector</returnvalue></link> * ags_garbage_collector_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-garbage-collector-remove" role="function">
+<title>ags_garbage_collector_remove ()</title>
+<indexterm zone="ags-garbage-collector-remove"><primary>ags_garbage_collector_remove</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_garbage_collector_remove (<parameter><link linkend="AgsGarbageCollector"><type>AgsGarbageCollector</type></link> *garbage_collector</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-garbage-collector-run" role="function">
+<title>ags_garbage_collector_run ()</title>
+<indexterm zone="ags-garbage-collector-run"><primary>ags_garbage_collector_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_garbage_collector_run (<parameter><link linkend="AgsGarbageCollector"><type>AgsGarbageCollector</type></link> *garbage_collector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_generic_preferences.xml b/doc/reference/ags/xml/ags_generic_preferences.xml
new file mode 100644
index 0000000..3c214fb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_generic_preferences.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsGenericPreferences">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsGenericPreferences.top_of_page">AgsGenericPreferences</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsGenericPreferences</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsGenericPreferences.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsGenericPreferences">AgsGenericPreferences</link>;
+struct <link linkend="AgsGenericPreferencesClass">AgsGenericPreferencesClass</link>;
+<link linkend="AgsGenericPreferences"><returnvalue>AgsGenericPreferences</returnvalue></link> * <link linkend="ags-generic-preferences-new">ags_generic_preferences_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsGenericPreferences.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsGenericPreferences.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsGenericPreferences" role="struct">
+<title>struct AgsGenericPreferences</title>
+<indexterm zone="AgsGenericPreferences"><primary>AgsGenericPreferences</primary></indexterm>
+<programlisting>struct AgsGenericPreferences {
+ GtkVBox vbox;
+
+ GtkComboBox *audio_output_module;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsGenericPreferencesClass" role="struct">
+<title>struct AgsGenericPreferencesClass</title>
+<indexterm zone="AgsGenericPreferencesClass"><primary>AgsGenericPreferencesClass</primary></indexterm>
+<programlisting>struct AgsGenericPreferencesClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-generic-preferences-new" role="function">
+<title>ags_generic_preferences_new ()</title>
+<indexterm zone="ags-generic-preferences-new"><primary>ags_generic_preferences_new</primary></indexterm>
+<programlisting><link linkend="AgsGenericPreferences"><returnvalue>AgsGenericPreferences</returnvalue></link> * ags_generic_preferences_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_gui_task_thread.xml b/doc/reference/ags/xml/ags_gui_task_thread.xml
new file mode 100644
index 0000000..c11b75c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_gui_task_thread.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsGuiTaskThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsGuiTaskThread.top_of_page">AgsGuiTaskThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsGuiTaskThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsGuiTaskThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsGuiTaskThread">AgsGuiTaskThread</link>;
+struct <link linkend="AgsGuiTaskThreadClass">AgsGuiTaskThreadClass</link>;
+<link linkend="AgsGuiTaskThread"><returnvalue>AgsGuiTaskThread</returnvalue></link> * <link linkend="ags-gui-task-thread-new">ags_gui_task_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsGuiTaskThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsGuiTaskThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsGuiTaskThread" role="struct">
+<title>struct AgsGuiTaskThread</title>
+<indexterm zone="AgsGuiTaskThread"><primary>AgsGuiTaskThread</primary></indexterm>
+<programlisting>struct AgsGuiTaskThread {
+ AgsTaskThread task_thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsGuiTaskThreadClass" role="struct">
+<title>struct AgsGuiTaskThreadClass</title>
+<indexterm zone="AgsGuiTaskThreadClass"><primary>AgsGuiTaskThreadClass</primary></indexterm>
+<programlisting>struct AgsGuiTaskThreadClass {
+ AgsTaskThreadClass task_thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-gui-task-thread-new" role="function">
+<title>ags_gui_task_thread_new ()</title>
+<indexterm zone="ags-gui-task-thread-new"><primary>ags_gui_task_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsGuiTaskThread"><returnvalue>AgsGuiTaskThread</returnvalue></link> * ags_gui_task_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_gui_thread.xml b/doc/reference/ags/xml/ags_gui_thread.xml
new file mode 100644
index 0000000..9986f10
--- /dev/null
+++ b/doc/reference/ags/xml/ags_gui_thread.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsGuiThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsGuiThread.top_of_page">AgsGuiThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsGuiThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsGuiThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-GUI-THREAD-DEFAULT-JIFFIE:CAPS">AGS_GUI_THREAD_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsGuiThread">AgsGuiThread</link>;
+struct <link linkend="AgsGuiThreadClass">AgsGuiThreadClass</link>;
+<link linkend="AgsGuiThread"><returnvalue>AgsGuiThread</returnvalue></link> * <link linkend="ags-gui-thread-new">ags_gui_thread_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsGuiThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsGuiThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-GUI-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_GUI_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-GUI-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_GUI_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_GUI_THREAD_DEFAULT_JIFFIE (250)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsGuiThread" role="struct">
+<title>struct AgsGuiThread</title>
+<indexterm zone="AgsGuiThread"><primary>AgsGuiThread</primary></indexterm>
+<programlisting>struct AgsGuiThread {
+ AgsThread thread;
+
+ GMutex mutex;
+ GCond cond;
+
+ AgsThread *gui_task_thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsGuiThreadClass" role="struct">
+<title>struct AgsGuiThreadClass</title>
+<indexterm zone="AgsGuiThreadClass"><primary>AgsGuiThreadClass</primary></indexterm>
+<programlisting>struct AgsGuiThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-gui-thread-new" role="function">
+<title>ags_gui_thread_new ()</title>
+<indexterm zone="ags-gui-thread-new"><primary>ags_gui_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsGuiThread"><returnvalue>AgsGuiThread</returnvalue></link> * ags_gui_thread_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_hindicator.xml b/doc/reference/ags/xml/ags_hindicator.xml
new file mode 100644
index 0000000..2a8878c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_hindicator.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsHIndicator">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsHIndicator.top_of_page">AgsHIndicator</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsHIndicator</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsHIndicator.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsHIndicator">AgsHIndicator</link>;
+struct <link linkend="AgsHIndicatorClass">AgsHIndicatorClass</link>;
+<link linkend="AgsHIndicator"><returnvalue>AgsHIndicator</returnvalue></link> * <link linkend="ags-hindicator-new">ags_hindicator_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsHIndicator.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsHIndicator.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsHIndicator" role="struct">
+<title>struct AgsHIndicator</title>
+<indexterm zone="AgsHIndicator"><primary>AgsHIndicator</primary></indexterm>
+<programlisting>struct AgsHIndicator {
+ AgsIndicator indicator;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsHIndicatorClass" role="struct">
+<title>struct AgsHIndicatorClass</title>
+<indexterm zone="AgsHIndicatorClass"><primary>AgsHIndicatorClass</primary></indexterm>
+<programlisting>struct AgsHIndicatorClass {
+ GtkWidgetClass indicator;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-hindicator-new" role="function">
+<title>ags_hindicator_new ()</title>
+<indexterm zone="ags-hindicator-new"><primary>ags_hindicator_new</primary></indexterm>
+<programlisting><link linkend="AgsHIndicator"><returnvalue>AgsHIndicator</returnvalue></link> * ags_hindicator_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_history.xml b/doc/reference/ags/xml/ags_history.xml
new file mode 100644
index 0000000..05a0690
--- /dev/null
+++ b/doc/reference/ags/xml/ags_history.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsHistory">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsHistory.top_of_page">AgsHistory</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsHistory</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsHistory.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsHistory">AgsHistory</link>;
+ <link linkend="AgsHistoryAppend">AgsHistoryAppend</link>;
+struct <link linkend="AgsHistoryClass">AgsHistoryClass</link>;
+<link linkend="AgsHistory"><returnvalue>AgsHistory</returnvalue></link> * <link linkend="ags-history-new">ags_history_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsHistory.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsHistory.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsHistory" role="struct">
+<title>struct AgsHistory</title>
+<indexterm zone="AgsHistory"><primary>AgsHistory</primary></indexterm>
+<programlisting>struct AgsHistory {
+ GObject gobject;
+
+ GList *task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsHistoryAppend" role="struct">
+<title>AgsHistoryAppend</title>
+<indexterm zone="AgsHistoryAppend"><primary>AgsHistoryAppend</primary></indexterm>
+<programlisting>typedef struct _AgsHistoryAppend AgsHistoryAppend;</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsHistoryClass" role="struct">
+<title>struct AgsHistoryClass</title>
+<indexterm zone="AgsHistoryClass"><primary>AgsHistoryClass</primary></indexterm>
+<programlisting>struct AgsHistoryClass {
+ GObjectClass gobject;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-history-new" role="function">
+<title>ags_history_new ()</title>
+<indexterm zone="ags-history-new"><primary>ags_history_new</primary></indexterm>
+<programlisting><link linkend="AgsHistory"><returnvalue>AgsHistory</returnvalue></link> * ags_history_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_htimebar.xml b/doc/reference/ags/xml/ags_htimebar.xml
new file mode 100644
index 0000000..04ed82a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_htimebar.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsHTimebar">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsHTimebar.top_of_page">AgsHTimebar</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsHTimebar</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsHTimebar.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsHTimebar">AgsHTimebar</link>;
+struct <link linkend="AgsHTimebarClass">AgsHTimebarClass</link>;
+<link linkend="AgsHTimebar"><returnvalue>AgsHTimebar</returnvalue></link> * <link linkend="ags-htimebar-new">ags_htimebar_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsHTimebar.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsHTimebar.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsHTimebar" role="struct">
+<title>struct AgsHTimebar</title>
+<indexterm zone="AgsHTimebar"><primary>AgsHTimebar</primary></indexterm>
+<programlisting>struct AgsHTimebar {
+ AgsTimebar range;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsHTimebarClass" role="struct">
+<title>struct AgsHTimebarClass</title>
+<indexterm zone="AgsHTimebarClass"><primary>AgsHTimebarClass</primary></indexterm>
+<programlisting>struct AgsHTimebarClass {
+ AgsTimebarClass timebar;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-htimebar-new" role="function">
+<title>ags_htimebar_new ()</title>
+<indexterm zone="ags-htimebar-new"><primary>ags_htimebar_new</primary></indexterm>
+<programlisting><link linkend="AgsHTimebar"><returnvalue>AgsHTimebar</returnvalue></link> * ags_htimebar_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_id_generator.xml b/doc/reference/ags/xml/ags_id_generator.xml
new file mode 100644
index 0000000..9059b3d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_id_generator.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-id-generator">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-id-generator.top_of_page">ags_id_generator</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_id_generator</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-id-generator.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-id-generator-create-uuid">ags_id_generator_create_uuid</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-id-generator.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-id-generator.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-id-generator-create-uuid" role="function">
+<title>ags_id_generator_create_uuid ()</title>
+<indexterm zone="ags-id-generator-create-uuid"><primary>ags_id_generator_create_uuid</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_id_generator_create_uuid ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_indicator.xml b/doc/reference/ags/xml/ags_indicator.xml
new file mode 100644
index 0000000..526c11a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_indicator.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsIndicator">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsIndicator.top_of_page">AgsIndicator</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsIndicator</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsIndicator.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsIndicator">AgsIndicator</link>;
+struct <link linkend="AgsIndicatorClass">AgsIndicatorClass</link>;
+<link linkend="AgsIndicator"><returnvalue>AgsIndicator</returnvalue></link> * <link linkend="ags-indicator-new">ags_indicator_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsIndicator.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsIndicator.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsIndicator" role="struct">
+<title>struct AgsIndicator</title>
+<indexterm zone="AgsIndicator"><primary>AgsIndicator</primary></indexterm>
+<programlisting>struct AgsIndicator {
+ GtkWidget widget;
+
+ GtkAdjustment *adjustment;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsIndicatorClass" role="struct">
+<title>struct AgsIndicatorClass</title>
+<indexterm zone="AgsIndicatorClass"><primary>AgsIndicatorClass</primary></indexterm>
+<programlisting>struct AgsIndicatorClass {
+ GtkWidgetClass widget;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-indicator-new" role="function">
+<title>ags_indicator_new ()</title>
+<indexterm zone="ags-indicator-new"><primary>ags_indicator_new</primary></indexterm>
+<programlisting><link linkend="AgsIndicator"><returnvalue>AgsIndicator</returnvalue></link> * ags_indicator_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_init_audio.xml b/doc/reference/ags/xml/ags_init_audio.xml
new file mode 100644
index 0000000..a970e30
--- /dev/null
+++ b/doc/reference/ags/xml/ags_init_audio.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsInitAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsInitAudio.top_of_page">AgsInitAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsInitAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsInitAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsInitAudio">AgsInitAudio</link>;
+struct <link linkend="AgsInitAudioClass">AgsInitAudioClass</link>;
+<link linkend="AgsInitAudio"><returnvalue>AgsInitAudio</returnvalue></link> * <link linkend="ags-init-audio-new">ags_init_audio_new</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsInitAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsInitAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsInitAudio" role="struct">
+<title>struct AgsInitAudio</title>
+<indexterm zone="AgsInitAudio"><primary>AgsInitAudio</primary></indexterm>
+<programlisting>struct AgsInitAudio {
+ AgsTask task;
+
+ AgsAudio *audio;
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsInitAudioClass" role="struct">
+<title>struct AgsInitAudioClass</title>
+<indexterm zone="AgsInitAudioClass"><primary>AgsInitAudioClass</primary></indexterm>
+<programlisting>struct AgsInitAudioClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-init-audio-new" role="function">
+<title>ags_init_audio_new ()</title>
+<indexterm zone="ags-init-audio-new"><primary>ags_init_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsInitAudio"><returnvalue>AgsInitAudio</returnvalue></link> * ags_init_audio_new (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_init_channel.xml b/doc/reference/ags/xml/ags_init_channel.xml
new file mode 100644
index 0000000..7b5a487
--- /dev/null
+++ b/doc/reference/ags/xml/ags_init_channel.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsInitChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsInitChannel.top_of_page">AgsInitChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsInitChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsInitChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsInitChannel">AgsInitChannel</link>;
+struct <link linkend="AgsInitChannelClass">AgsInitChannelClass</link>;
+<link linkend="AgsInitChannel"><returnvalue>AgsInitChannel</returnvalue></link> * <link linkend="ags-init-channel-new">ags_init_channel_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play_pad</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsInitChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsInitChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsInitChannel" role="struct">
+<title>struct AgsInitChannel</title>
+<indexterm zone="AgsInitChannel"><primary>AgsInitChannel</primary></indexterm>
+<programlisting>struct AgsInitChannel {
+ AgsTask task;
+
+ AgsChannel *channel;
+ gboolean play_pad;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsInitChannelClass" role="struct">
+<title>struct AgsInitChannelClass</title>
+<indexterm zone="AgsInitChannelClass"><primary>AgsInitChannelClass</primary></indexterm>
+<programlisting>struct AgsInitChannelClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-init-channel-new" role="function">
+<title>ags_init_channel_new ()</title>
+<indexterm zone="ags-init-channel-new"><primary>ags_init_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsInitChannel"><returnvalue>AgsInitChannel</returnvalue></link> * ags_init_channel_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> play_pad</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> playback</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> sequencer</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_inline_player.xml b/doc/reference/ags/xml/ags_inline_player.xml
new file mode 100644
index 0000000..c723b47
--- /dev/null
+++ b/doc/reference/ags/xml/ags_inline_player.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsInlinePlayer">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsInlinePlayer.top_of_page">AgsInlinePlayer</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsInlinePlayer</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsInlinePlayer.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsInlinePlayer">AgsInlinePlayer</link>;
+struct <link linkend="AgsInlinePlayerClass">AgsInlinePlayerClass</link>;
+<link linkend="AgsInlinePlayer"><returnvalue>AgsInlinePlayer</returnvalue></link> * <link linkend="ags-inline-player-new">ags_inline_player_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsInlinePlayer.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsInlinePlayer.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsInlinePlayer" role="struct">
+<title>struct AgsInlinePlayer</title>
+<indexterm zone="AgsInlinePlayer"><primary>AgsInlinePlayer</primary></indexterm>
+<programlisting>struct AgsInlinePlayer {
+ GtkHBox vbox;
+
+ AgsPlayable *playable;
+
+ GtkToggleButton *play;
+ GtkHScale *position;
+ GtkVolumeButton *volume;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsInlinePlayerClass" role="struct">
+<title>struct AgsInlinePlayerClass</title>
+<indexterm zone="AgsInlinePlayerClass"><primary>AgsInlinePlayerClass</primary></indexterm>
+<programlisting>struct AgsInlinePlayerClass {
+ GtkHBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-inline-player-new" role="function">
+<title>ags_inline_player_new ()</title>
+<indexterm zone="ags-inline-player-new"><primary>ags_inline_player_new</primary></indexterm>
+<programlisting><link linkend="AgsInlinePlayer"><returnvalue>AgsInlinePlayer</returnvalue></link> * ags_inline_player_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_input.xml b/doc/reference/ags/xml/ags_input.xml
new file mode 100644
index 0000000..97f04fd
--- /dev/null
+++ b/doc/reference/ags/xml/ags_input.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsInput">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsInput.top_of_page">AgsInput</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsInput</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsInput.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsInput">AgsInput</link>;
+struct <link linkend="AgsInputClass">AgsInputClass</link>;
+<link linkend="AgsInput"><returnvalue>AgsInput</returnvalue></link> * <link linkend="ags-input-new">ags_input_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsInput.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsInput.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsInput" role="struct">
+<title>struct AgsInput</title>
+<indexterm zone="AgsInput"><primary>AgsInput</primary></indexterm>
+<programlisting>struct AgsInput {
+ AgsChannel channel;
+
+ GObject *file_link;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsInputClass" role="struct">
+<title>struct AgsInputClass</title>
+<indexterm zone="AgsInputClass"><primary>AgsInputClass</primary></indexterm>
+<programlisting>struct AgsInputClass {
+ AgsChannelClass channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-input-new" role="function">
+<title>ags_input_new ()</title>
+<indexterm zone="ags-input-new"><primary>ags_input_new</primary></indexterm>
+<programlisting><link linkend="AgsInput"><returnvalue>AgsInput</returnvalue></link> * ags_input_new (<parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsInput"><type>AgsInput</type></link>, linking tree to <parameter>audio</parameter>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsInput"><type>AgsInput</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ipatch.xml b/doc/reference/ags/xml/ags_ipatch.xml
new file mode 100644
index 0000000..303defc
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ipatch.xml
@@ -0,0 +1,119 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsIpatch">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsIpatch.top_of_page">AgsIpatch</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsIpatch</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsIpatch.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-IPATCH-DEFAULT-CHANNELS:CAPS">AGS_IPATCH_DEFAULT_CHANNELS</link>
+#define <link linkend="AGS-IPATCH-READ:CAPS">AGS_IPATCH_READ</link>
+#define <link linkend="AGS-IPATCH-WRITE:CAPS">AGS_IPATCH_WRITE</link>
+struct <link linkend="AgsIpatch">AgsIpatch</link>;
+struct <link linkend="AgsIpatchClass">AgsIpatchClass</link>;
+enum <link linkend="AgsIpatchFlags">AgsIpatchFlags</link>;
+<link linkend="AgsIpatch"><returnvalue>AgsIpatch</returnvalue></link> * <link linkend="ags-ipatch-new">ags_ipatch_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsIpatch.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsIpatch.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-IPATCH-DEFAULT-CHANNELS:CAPS" role="macro">
+<title>AGS_IPATCH_DEFAULT_CHANNELS</title>
+<indexterm zone="AGS-IPATCH-DEFAULT-CHANNELS:CAPS"><primary>AGS_IPATCH_DEFAULT_CHANNELS</primary></indexterm>
+<programlisting>#define AGS_IPATCH_DEFAULT_CHANNELS 2
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-IPATCH-READ:CAPS" role="macro">
+<title>AGS_IPATCH_READ</title>
+<indexterm zone="AGS-IPATCH-READ:CAPS"><primary>AGS_IPATCH_READ</primary></indexterm>
+<programlisting>#define AGS_IPATCH_READ "r"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-IPATCH-WRITE:CAPS" role="macro">
+<title>AGS_IPATCH_WRITE</title>
+<indexterm zone="AGS-IPATCH-WRITE:CAPS"><primary>AGS_IPATCH_WRITE</primary></indexterm>
+<programlisting>#define AGS_IPATCH_WRITE "w"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsIpatch" role="struct">
+<title>struct AgsIpatch</title>
+<indexterm zone="AgsIpatch"><primary>AgsIpatch</primary></indexterm>
+<programlisting>struct AgsIpatch {
+ GObject object;
+
+ guint flags;
+
+ AgsDevout *devout;
+ GList *audio_signal;
+
+ IpatchFile *file;
+ char *filename;
+ char *mode;
+
+ IpatchFileHandle *handle;
+ GError *error;
+
+ IpatchBase *base;
+ GObject *reader;
+
+ IpatchList *samples;
+ GList *iter;
+
+ guint nth_level;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsIpatchClass" role="struct">
+<title>struct AgsIpatchClass</title>
+<indexterm zone="AgsIpatchClass"><primary>AgsIpatchClass</primary></indexterm>
+<programlisting>struct AgsIpatchClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsIpatchFlags" role="enum">
+<title>enum AgsIpatchFlags</title>
+<indexterm zone="AgsIpatchFlags"><primary>AgsIpatchFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_IPATCH_DLS2 = 1,
+ AGS_IPATCH_SF2 = 1 << 1,
+ AGS_IPATCH_GIG = 1 << 2,
+} AgsIpatchFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ipatch-new" role="function">
+<title>ags_ipatch_new ()</title>
+<indexterm zone="ags-ipatch-new"><primary>ags_ipatch_new</primary></indexterm>
+<programlisting><link linkend="AgsIpatch"><returnvalue>AgsIpatch</returnvalue></link> * ags_ipatch_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ipatch_sf2_reader.xml b/doc/reference/ags/xml/ags_ipatch_sf2_reader.xml
new file mode 100644
index 0000000..f246111
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ipatch_sf2_reader.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsIpatchSF2Reader">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsIpatchSF2Reader.top_of_page">AgsIpatchSF2Reader</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsIpatchSF2Reader</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsIpatchSF2Reader.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsIpatchSF2Reader">AgsIpatchSF2Reader</link>;
+struct <link linkend="AgsIpatchSF2ReaderClass">AgsIpatchSF2ReaderClass</link>;
+enum <link linkend="AgsSF2Levels">AgsSF2Levels</link>;
+<link linkend="AgsIpatchSF2Reader"><returnvalue>AgsIpatchSF2Reader</returnvalue></link> * <link linkend="ags-ipatch-sf2-reader-new">ags_ipatch_sf2_reader_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsIpatchSF2Reader.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsIpatchSF2Reader.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsIpatchSF2Reader" role="struct">
+<title>struct AgsIpatchSF2Reader</title>
+<indexterm zone="AgsIpatchSF2Reader"><primary>AgsIpatchSF2Reader</primary></indexterm>
+<programlisting>struct AgsIpatchSF2Reader {
+ GObject object;
+
+ AgsIpatch *ipatch;
+
+ gchar **selected;
+
+ IpatchSF2Reader *reader;
+
+ IpatchSF2 *sf2;
+
+ int bank;
+ int program;
+
+ IpatchContainer *preset;
+ IpatchContainer *instrument;
+ IpatchContainer *sample;
+
+ int count;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsIpatchSF2ReaderClass" role="struct">
+<title>struct AgsIpatchSF2ReaderClass</title>
+<indexterm zone="AgsIpatchSF2ReaderClass"><primary>AgsIpatchSF2ReaderClass</primary></indexterm>
+<programlisting>struct AgsIpatchSF2ReaderClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSF2Levels" role="enum">
+<title>enum AgsSF2Levels</title>
+<indexterm zone="AgsSF2Levels"><primary>AgsSF2Levels</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_SF2_FILENAME = 0,
+ AGS_SF2_PHDR = 1,
+ AGS_SF2_IHDR = 2,
+ AGS_SF2_SHDR = 3,
+} AgsSF2Levels;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ipatch-sf2-reader-new" role="function">
+<title>ags_ipatch_sf2_reader_new ()</title>
+<indexterm zone="ags-ipatch-sf2-reader-new"><primary>ags_ipatch_sf2_reader_new</primary></indexterm>
+<programlisting><link linkend="AgsIpatchSF2Reader"><returnvalue>AgsIpatchSF2Reader</returnvalue></link> * ags_ipatch_sf2_reader_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_iterator_thread.xml b/doc/reference/ags/xml/ags_iterator_thread.xml
new file mode 100644
index 0000000..6473650
--- /dev/null
+++ b/doc/reference/ags/xml/ags_iterator_thread.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsIteratorThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsIteratorThread.top_of_page">AgsIteratorThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsIteratorThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsIteratorThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsIteratorThread">AgsIteratorThread</link>;
+struct <link linkend="AgsIteratorThreadClass">AgsIteratorThreadClass</link>;
+enum <link linkend="AgsIteratorThreadFlags">AgsIteratorThreadFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-iterator-thread-children-ready">ags_iterator_thread_children_ready</link> (<parameter><link linkend="AgsIteratorThread"><type>AgsIteratorThread</type></link> *iterator_thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *current</parameter>);
+<link linkend="AgsIteratorThread"><returnvalue>AgsIteratorThread</returnvalue></link> * <link linkend="ags-iterator-thread-new">ags_iterator_thread_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsIteratorThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsIteratorThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsIteratorThread" role="struct">
+<title>struct AgsIteratorThread</title>
+<indexterm zone="AgsIteratorThread"><primary>AgsIteratorThread</primary></indexterm>
+<programlisting>struct AgsIteratorThread {
+ AgsThread thread;
+
+ guint flags;
+
+ pthread_mutex_t tic_mutex;
+ pthread_cond_t tic_cond;
+
+ AgsThread *recycling_thread;
+
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+ gint stage;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsIteratorThreadClass" role="struct">
+<title>struct AgsIteratorThreadClass</title>
+<indexterm zone="AgsIteratorThreadClass"><primary>AgsIteratorThreadClass</primary></indexterm>
+<programlisting>struct AgsIteratorThreadClass {
+ AgsThreadClass thread;
+
+ void (*children_ready)(AgsIteratorThread *iterator_thread,
+ AgsThread *current);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsIteratorThreadFlags" role="enum">
+<title>enum AgsIteratorThreadFlags</title>
+<indexterm zone="AgsIteratorThreadFlags"><primary>AgsIteratorThreadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_ITERATOR_THREAD_DONE = 1,
+ AGS_ITERATOR_THREAD_WAIT = 1 << 1,
+} AgsIteratorThreadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-iterator-thread-children-ready" role="function">
+<title>ags_iterator_thread_children_ready ()</title>
+<indexterm zone="ags-iterator-thread-children-ready"><primary>ags_iterator_thread_children_ready</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_iterator_thread_children_ready (<parameter><link linkend="AgsIteratorThread"><type>AgsIteratorThread</type></link> *iterator_thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *current</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-iterator-thread-new" role="function">
+<title>ags_iterator_thread_new ()</title>
+<indexterm zone="ags-iterator-thread-new"><primary>ags_iterator_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsIteratorThread"><returnvalue>AgsIteratorThread</returnvalue></link> * ags_iterator_thread_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ladspa_browser.xml b/doc/reference/ags/xml/ags_ladspa_browser.xml
new file mode 100644
index 0000000..359a88e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ladspa_browser.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLadspaBrowser">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLadspaBrowser.top_of_page">AgsLadspaBrowser</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLadspaBrowser</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLadspaBrowser.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLadspaBrowser">AgsLadspaBrowser</link>;
+struct <link linkend="AgsLadspaBrowserClass">AgsLadspaBrowserClass</link>;
+<link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> * <link linkend="ags-ladspa-browser-combo-box-controls-new">ags_ladspa_browser_combo_box_controls_new</link>
+ ();
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-ladspa-browser-get-plugin-effect">ags_ladspa_browser_get_plugin_effect</link>
+ (<parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-ladspa-browser-get-plugin-filename">ags_ladspa_browser_get_plugin_filename</link>
+ (<parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);
+<link linkend="AgsLadspaBrowser"><returnvalue>AgsLadspaBrowser</returnvalue></link> * <link linkend="ags-ladspa-browser-new">ags_ladspa_browser_new</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *parent</parameter>);
+<link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> * <link linkend="ags-ladspa-browser-preview-new">ags_ladspa_browser_preview_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLadspaBrowser.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLadspaBrowser.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLadspaBrowser" role="struct">
+<title>struct AgsLadspaBrowser</title>
+<indexterm zone="AgsLadspaBrowser"><primary>AgsLadspaBrowser</primary></indexterm>
+<programlisting>struct AgsLadspaBrowser {
+ GtkDialog dialog;
+
+ GtkWidget *parent;
+
+ gchar *path;
+
+ GtkHBox *plugin;
+ GtkVBox *description;
+
+ GtkWidget *preview;
+
+ GtkButton *apply;
+ GtkButton *ok;
+ GtkButton *cancel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLadspaBrowserClass" role="struct">
+<title>struct AgsLadspaBrowserClass</title>
+<indexterm zone="AgsLadspaBrowserClass"><primary>AgsLadspaBrowserClass</primary></indexterm>
+<programlisting>struct AgsLadspaBrowserClass {
+ GtkDialogClass dialog;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-combo-box-controls-new" role="function">
+<title>ags_ladspa_browser_combo_box_controls_new ()</title>
+<indexterm zone="ags-ladspa-browser-combo-box-controls-new"><primary>ags_ladspa_browser_combo_box_controls_new</primary></indexterm>
+<programlisting><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> * ags_ladspa_browser_combo_box_controls_new
+ ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-get-plugin-effect" role="function">
+<title>ags_ladspa_browser_get_plugin_effect ()</title>
+<indexterm zone="ags-ladspa-browser-get-plugin-effect"><primary>ags_ladspa_browser_get_plugin_effect</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_ladspa_browser_get_plugin_effect
+ (<parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-get-plugin-filename" role="function">
+<title>ags_ladspa_browser_get_plugin_filename ()</title>
+<indexterm zone="ags-ladspa-browser-get-plugin-filename"><primary>ags_ladspa_browser_get_plugin_filename</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_ladspa_browser_get_plugin_filename
+ (<parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-new" role="function">
+<title>ags_ladspa_browser_new ()</title>
+<indexterm zone="ags-ladspa-browser-new"><primary>ags_ladspa_browser_new</primary></indexterm>
+<programlisting><link linkend="AgsLadspaBrowser"><returnvalue>AgsLadspaBrowser</returnvalue></link> * ags_ladspa_browser_new (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *parent</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-preview-new" role="function">
+<title>ags_ladspa_browser_preview_new ()</title>
+<indexterm zone="ags-ladspa-browser-preview-new"><primary>ags_ladspa_browser_preview_new</primary></indexterm>
+<programlisting><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> * ags_ladspa_browser_preview_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ladspa_browser_callbacks.xml b/doc/reference/ags/xml/ags_ladspa_browser_callbacks.xml
new file mode 100644
index 0000000..ff4a1c3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ladspa_browser_callbacks.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-ladspa-browser-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-ladspa-browser-callbacks.top_of_page">ags_ladspa_browser_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_ladspa_browser_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-ladspa-browser-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-ladspa-browser-cancel-callback">ags_ladspa_browser_cancel_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-ladspa-browser-ok-callback">ags_ladspa_browser_ok_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ladspa-browser-plugin-effect-callback">ags_ladspa_browser_plugin_effect_callback</link>
+ (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ladspa-browser-plugin-filename-callback">ags_ladspa_browser_plugin_filename_callback</link>
+ (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ladspa-browser-preview-close-callback">ags_ladspa_browser_preview_close_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *preview</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-ladspa-browser-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-ladspa-browser-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-ladspa-browser-cancel-callback" role="function">
+<title>ags_ladspa_browser_cancel_callback ()</title>
+<indexterm zone="ags-ladspa-browser-cancel-callback"><primary>ags_ladspa_browser_cancel_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_ladspa_browser_cancel_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-ok-callback" role="function">
+<title>ags_ladspa_browser_ok_callback ()</title>
+<indexterm zone="ags-ladspa-browser-ok-callback"><primary>ags_ladspa_browser_ok_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_ladspa_browser_ok_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-plugin-effect-callback" role="function">
+<title>ags_ladspa_browser_plugin_effect_callback ()</title>
+<indexterm zone="ags-ladspa-browser-plugin-effect-callback"><primary>ags_ladspa_browser_plugin_effect_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ladspa_browser_plugin_effect_callback
+ (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-plugin-filename-callback" role="function">
+<title>ags_ladspa_browser_plugin_filename_callback ()</title>
+<indexterm zone="ags-ladspa-browser-plugin-filename-callback"><primary>ags_ladspa_browser_plugin_filename_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ladspa_browser_plugin_filename_callback
+ (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-browser-preview-close-callback" role="function">
+<title>ags_ladspa_browser_preview_close_callback ()</title>
+<indexterm zone="ags-ladspa-browser-preview-close-callback"><primary>ags_ladspa_browser_preview_close_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ladspa_browser_preview_close_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *preview</parameter>,
+ <parameter><link linkend="AgsLadspaBrowser"><type>AgsLadspaBrowser</type></link> *ladspa_browser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ladspa_manager.xml b/doc/reference/ags/xml/ags_ladspa_manager.xml
new file mode 100644
index 0000000..d5bb9e2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ladspa_manager.xml
@@ -0,0 +1,149 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLadspaManager">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLadspaManager.top_of_page">AgsLadspaManager</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLadspaManager</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLadspaManager.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-LADSPA-PLUGIN:CAPS">AGS_LADSPA_PLUGIN</link> (ptr)
+struct <link linkend="AgsLadspaManager">AgsLadspaManager</link>;
+struct <link linkend="AgsLadspaManagerClass">AgsLadspaManagerClass</link>;
+struct <link linkend="AgsLadspaPlugin">AgsLadspaPlugin</link>;
+enum <link linkend="AgsLadspaPluginFlags">AgsLadspaPluginFlags</link>;
+<link linkend="AgsLadspaPlugin"><returnvalue>AgsLadspaPlugin</returnvalue></link> * <link linkend="ags-ladspa-manager-find-ladspa-plugin">ags_ladspa_manager_find_ladspa_plugin</link>
+ (<parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> ** <link linkend="ags-ladspa-manager-get-filenames">ags_ladspa_manager_get_filenames</link> ();
+<link linkend="AgsLadspaManager"><returnvalue>AgsLadspaManager</returnvalue></link> * <link linkend="ags-ladspa-manager-get-instance">ags_ladspa_manager_get_instance</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ladspa-manager-load-default-directory">ags_ladspa_manager_load_default_directory</link>
+ ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ladspa-manager-load-file">ags_ladspa_manager_load_file</link> (<parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);
+<link linkend="AgsLadspaManager"><returnvalue>AgsLadspaManager</returnvalue></link> * <link linkend="ags-ladspa-manager-new">ags_ladspa_manager_new</link> ();
+<link linkend="AgsLadspaPlugin"><returnvalue>AgsLadspaPlugin</returnvalue></link> * <link linkend="ags-ladspa-plugin-alloc">ags_ladspa_plugin_alloc</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-ladspa-plugin-free">ags_ladspa_plugin_free</link> (<parameter><link linkend="AgsLadspaPlugin"><type>AgsLadspaPlugin</type></link> *ladspa_plugin</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLadspaManager.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLadspaManager.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-LADSPA-PLUGIN:CAPS" role="macro">
+<title>AGS_LADSPA_PLUGIN()</title>
+<indexterm zone="AGS-LADSPA-PLUGIN:CAPS"><primary>AGS_LADSPA_PLUGIN</primary></indexterm>
+<programlisting>#define AGS_LADSPA_PLUGIN(ptr) ((AgsLadspaPlugin *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLadspaManager" role="struct">
+<title>struct AgsLadspaManager</title>
+<indexterm zone="AgsLadspaManager"><primary>AgsLadspaManager</primary></indexterm>
+<programlisting>struct AgsLadspaManager {
+ GObject object;
+
+ GList *ladspa_plugin;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLadspaManagerClass" role="struct">
+<title>struct AgsLadspaManagerClass</title>
+<indexterm zone="AgsLadspaManagerClass"><primary>AgsLadspaManagerClass</primary></indexterm>
+<programlisting>struct AgsLadspaManagerClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLadspaPlugin" role="struct">
+<title>struct AgsLadspaPlugin</title>
+<indexterm zone="AgsLadspaPlugin"><primary>AgsLadspaPlugin</primary></indexterm>
+<programlisting>struct AgsLadspaPlugin {
+ guint flags;
+
+ gchar *filename;
+ void *plugin_so;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLadspaPluginFlags" role="enum">
+<title>enum AgsLadspaPluginFlags</title>
+<indexterm zone="AgsLadspaPluginFlags"><primary>AgsLadspaPluginFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LADSPA_PLUGIN_IS_LOADED = 1,
+} AgsLadspaPluginFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-manager-find-ladspa-plugin" role="function">
+<title>ags_ladspa_manager_find_ladspa_plugin ()</title>
+<indexterm zone="ags-ladspa-manager-find-ladspa-plugin"><primary>ags_ladspa_manager_find_ladspa_plugin</primary></indexterm>
+<programlisting><link linkend="AgsLadspaPlugin"><returnvalue>AgsLadspaPlugin</returnvalue></link> * ags_ladspa_manager_find_ladspa_plugin
+ (<parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-manager-get-filenames" role="function">
+<title>ags_ladspa_manager_get_filenames ()</title>
+<indexterm zone="ags-ladspa-manager-get-filenames"><primary>ags_ladspa_manager_get_filenames</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> ** ags_ladspa_manager_get_filenames ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-manager-get-instance" role="function">
+<title>ags_ladspa_manager_get_instance ()</title>
+<indexterm zone="ags-ladspa-manager-get-instance"><primary>ags_ladspa_manager_get_instance</primary></indexterm>
+<programlisting><link linkend="AgsLadspaManager"><returnvalue>AgsLadspaManager</returnvalue></link> * ags_ladspa_manager_get_instance ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-manager-load-default-directory" role="function">
+<title>ags_ladspa_manager_load_default_directory ()</title>
+<indexterm zone="ags-ladspa-manager-load-default-directory"><primary>ags_ladspa_manager_load_default_directory</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ladspa_manager_load_default_directory
+ ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-manager-load-file" role="function">
+<title>ags_ladspa_manager_load_file ()</title>
+<indexterm zone="ags-ladspa-manager-load-file"><primary>ags_ladspa_manager_load_file</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ladspa_manager_load_file (<parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-manager-new" role="function">
+<title>ags_ladspa_manager_new ()</title>
+<indexterm zone="ags-ladspa-manager-new"><primary>ags_ladspa_manager_new</primary></indexterm>
+<programlisting><link linkend="AgsLadspaManager"><returnvalue>AgsLadspaManager</returnvalue></link> * ags_ladspa_manager_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-plugin-alloc" role="function">
+<title>ags_ladspa_plugin_alloc ()</title>
+<indexterm zone="ags-ladspa-plugin-alloc"><primary>ags_ladspa_plugin_alloc</primary></indexterm>
+<programlisting><link linkend="AgsLadspaPlugin"><returnvalue>AgsLadspaPlugin</returnvalue></link> * ags_ladspa_plugin_alloc ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-plugin-free" role="function">
+<title>ags_ladspa_plugin_free ()</title>
+<indexterm zone="ags-ladspa-plugin-free"><primary>ags_ladspa_plugin_free</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_ladspa_plugin_free (<parameter><link linkend="AgsLadspaPlugin"><type>AgsLadspaPlugin</type></link> *ladspa_plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_led.xml b/doc/reference/ags/xml/ags_led.xml
new file mode 100644
index 0000000..73a2938
--- /dev/null
+++ b/doc/reference/ags/xml/ags_led.xml
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLed">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLed.top_of_page">AgsLed</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLed</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLed.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLed">AgsLed</link>;
+struct <link linkend="AgsLedClass">AgsLedClass</link>;
+enum <link linkend="AgsLedFlags">AgsLedFlags</link>;
+<link linkend="AgsLed"><returnvalue>AgsLed</returnvalue></link> * <link linkend="ags-led-new">ags_led_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-led-set-active">ags_led_set_active</link> (<parameter><link linkend="AgsLed"><type>AgsLed</type></link> *led</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-led-unset-active">ags_led_unset_active</link> (<parameter><link linkend="AgsLed"><type>AgsLed</type></link> *led</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLed.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLed.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLed" role="struct">
+<title>struct AgsLed</title>
+<indexterm zone="AgsLed"><primary>AgsLed</primary></indexterm>
+<programlisting>struct AgsLed {
+ GtkBin bin;
+
+ guint flags;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLedClass" role="struct">
+<title>struct AgsLedClass</title>
+<indexterm zone="AgsLedClass"><primary>AgsLedClass</primary></indexterm>
+<programlisting>struct AgsLedClass {
+ GtkBinClass bin;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLedFlags" role="enum">
+<title>enum AgsLedFlags</title>
+<indexterm zone="AgsLedFlags"><primary>AgsLedFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LED_ACTIVE = 1,
+} AgsLedFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-led-new" role="function">
+<title>ags_led_new ()</title>
+<indexterm zone="ags-led-new"><primary>ags_led_new</primary></indexterm>
+<programlisting><link linkend="AgsLed"><returnvalue>AgsLed</returnvalue></link> * ags_led_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-led-set-active" role="function">
+<title>ags_led_set_active ()</title>
+<indexterm zone="ags-led-set-active"><primary>ags_led_set_active</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_led_set_active (<parameter><link linkend="AgsLed"><type>AgsLed</type></link> *led</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-led-unset-active" role="function">
+<title>ags_led_unset_active ()</title>
+<indexterm zone="ags-led-unset-active"><primary>ags_led_unset_active</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_led_unset_active (<parameter><link linkend="AgsLed"><type>AgsLed</type></link> *led</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_libao.xml b/doc/reference/ags/xml/ags_libao.xml
new file mode 100644
index 0000000..be6df8d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_libao.xml
@@ -0,0 +1,387 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLibao">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLibao.top_of_page">AgsLibao</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLibao</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLibao.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-LIBAO-DEFAULT-BPM:CAPS">AGS_LIBAO_DEFAULT_BPM</link>
+#define <link linkend="AGS-LIBAO-DEFAULT-BUFFER-SIZE:CAPS">AGS_LIBAO_DEFAULT_BUFFER_SIZE</link>
+#define <link linkend="AGS-LIBAO-DEFAULT-DELAY:CAPS">AGS_LIBAO_DEFAULT_DELAY</link>
+#define <link linkend="AGS-LIBAO-DEFAULT-JIFFIE:CAPS">AGS_LIBAO_DEFAULT_JIFFIE</link>
+#define <link linkend="AGS-LIBAO-DEFAULT-SAMPLERATE:CAPS">AGS_LIBAO_DEFAULT_SAMPLERATE</link>
+#define <link linkend="AGS-LIBAO-DEFAULT-TACT:CAPS">AGS_LIBAO_DEFAULT_TACT</link>
+#define <link linkend="AGS-LIBAO-DEFAULT-TACTRATE:CAPS">AGS_LIBAO_DEFAULT_TACTRATE</link>
+#define <link linkend="AGS-LIBAO-DEFAULT-TACT-JIFFIE:CAPS">AGS_LIBAO_DEFAULT_TACT_JIFFIE</link>
+#define <link linkend="AGS-LIBAO-ERROR:CAPS">AGS_LIBAO_ERROR</link>
+#define <link linkend="AGS-LIBAO-PLAY:CAPS">AGS_LIBAO_PLAY</link> (ptr)
+#define <link linkend="AGS-LIBAO-PLAY-DOMAIN:CAPS">AGS_LIBAO_PLAY_DOMAIN</link> (ptr)
+struct <link linkend="AgsLibao">AgsLibao</link>;
+struct <link linkend="AgsLibaoClass">AgsLibaoClass</link>;
+enum <link linkend="AgsLibaoError">AgsLibaoError</link>;
+enum <link linkend="AgsLibaoFlags">AgsLibaoFlags</link>;
+struct <link linkend="AgsLibaoPlay">AgsLibaoPlay</link>;
+struct <link linkend="AgsLibaoPlayDomain">AgsLibaoPlayDomain</link>;
+enum <link linkend="AgsLibaoPlayFlags">AgsLibaoPlayFlags</link>;
+enum <link linkend="AgsLibaoResolutionMode">AgsLibaoResolutionMode</link>;
+<link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> <link linkend="ags-libao-error-quark">ags_libao_error_quark</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-libao-list-cards">ags_libao_list_cards</link> (<parameter><link linkend="GList"><type>GList</type></link> **card_id</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_name</parameter>);
+<link linkend="AgsLibao"><returnvalue>AgsLibao</returnvalue></link> * <link linkend="ags-libao-new">ags_libao_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-libao-note-offset-changed">ags_libao_note_offset_changed</link> (<parameter><link linkend="AgsLibao"><type>AgsLibao</type></link> *libao</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> note_offset</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-libao-pcm-info">ags_libao_pcm_info</link> (<parameter><link linkend="char"><type>char</type></link> *card_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_max</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="AgsLibaoPlay"><returnvalue>AgsLibaoPlay</returnvalue></link> * <link linkend="ags-libao-play-alloc">ags_libao_play_alloc</link> ();
+<link linkend="AgsLibaoPlayDomain"><returnvalue>AgsLibaoPlayDomain</returnvalue></link> * <link linkend="ags-libao-play-domain-alloc">ags_libao_play_domain_alloc</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-libao-play-domain-free">ags_libao_play_domain_free</link> (<parameter><link linkend="AgsLibaoPlayDomain"><type>AgsLibaoPlayDomain</type></link> *libao_play_domain</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-libao-play-free">ags_libao_play_free</link> (<parameter><link linkend="AgsLibaoPlay"><type>AgsLibaoPlay</type></link> *libao_play</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-libao-tic">ags_libao_tic</link> (<parameter><link linkend="AgsLibao"><type>AgsLibao</type></link> *libao</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLibao.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLibao.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-LIBAO-DEFAULT-BPM:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_BPM</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-BPM:CAPS"><primary>AGS_LIBAO_DEFAULT_BPM</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_BPM (120.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-DEFAULT-BUFFER-SIZE:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_BUFFER_SIZE</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-BUFFER-SIZE:CAPS"><primary>AGS_LIBAO_DEFAULT_BUFFER_SIZE</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_BUFFER_SIZE (940)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-DEFAULT-DELAY:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_DELAY</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-DELAY:CAPS"><primary>AGS_LIBAO_DEFAULT_DELAY</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_DELAY (AGS_LIBAO_DEFAULT_JIFFIE / AGS_LIBAO_DEFAULT_TACTRATE)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-JIFFIE:CAPS"><primary>AGS_LIBAO_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_JIFFIE ((double) AGS_LIBAO_DEFAULT_SAMPLERATE / (double) AGS_LIBAO_DEFAULT_BUFFER_SIZE)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-DEFAULT-SAMPLERATE:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_SAMPLERATE</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-SAMPLERATE:CAPS"><primary>AGS_LIBAO_DEFAULT_SAMPLERATE</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_SAMPLERATE (44100.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-DEFAULT-TACT:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_TACT</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-TACT:CAPS"><primary>AGS_LIBAO_DEFAULT_TACT</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_TACT (1.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-DEFAULT-TACTRATE:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_TACTRATE</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-TACTRATE:CAPS"><primary>AGS_LIBAO_DEFAULT_TACTRATE</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_TACTRATE (1.0 / AGS_LIBAO_DEFAULT_TACT_JIFFIE)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-DEFAULT-TACT-JIFFIE:CAPS" role="macro">
+<title>AGS_LIBAO_DEFAULT_TACT_JIFFIE</title>
+<indexterm zone="AGS-LIBAO-DEFAULT-TACT-JIFFIE:CAPS"><primary>AGS_LIBAO_DEFAULT_TACT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_LIBAO_DEFAULT_TACT_JIFFIE (60.0 / AGS_LIBAO_DEFAULT_BPM * AGS_LIBAO_DEFAULT_TACT)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-ERROR:CAPS" role="macro">
+<title>AGS_LIBAO_ERROR</title>
+<indexterm zone="AGS-LIBAO-ERROR:CAPS"><primary>AGS_LIBAO_ERROR</primary></indexterm>
+<programlisting>#define AGS_LIBAO_ERROR (ags_libao_error_quark())
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-PLAY:CAPS" role="macro">
+<title>AGS_LIBAO_PLAY()</title>
+<indexterm zone="AGS-LIBAO-PLAY:CAPS"><primary>AGS_LIBAO_PLAY</primary></indexterm>
+<programlisting>#define AGS_LIBAO_PLAY(ptr) ((AgsLibaoPlay *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LIBAO-PLAY-DOMAIN:CAPS" role="macro">
+<title>AGS_LIBAO_PLAY_DOMAIN()</title>
+<indexterm zone="AGS-LIBAO-PLAY-DOMAIN:CAPS"><primary>AGS_LIBAO_PLAY_DOMAIN</primary></indexterm>
+<programlisting>#define AGS_LIBAO_PLAY_DOMAIN(ptr) ((AgsLibaoPlayDomain *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibao" role="struct">
+<title>struct AgsLibao</title>
+<indexterm zone="AgsLibao"><primary>AgsLibao</primary></indexterm>
+<programlisting>struct AgsLibao {
+ GObject object;
+
+ guint flags;
+
+ guint dsp_channels;
+ guint pcm_channels;
+ guint bits;
+ guint buffer_size;
+ guint frequency; // sample_rate
+
+ signed short** buffer;
+
+ double bpm; // beats per minute
+
+ gdouble *delay; // count of tics within buffer size
+ guint *attack; // where currently tic resides in the stream's offset, measured in 1/64 of bpm
+
+ gdouble delay_counter; // next time attack changeing when delay_counter == delay
+ guint tic_counter;
+
+ union{
+ struct _AgsAO{
+ ao_device *device;
+ ao_sample_format *format;
+ int driver_ao;
+ }ao;
+ struct _AgsOss{
+ int device_fd;
+ char *device;
+ }oss;
+ struct _AgsAlsa{
+ char *device;
+ int rc;
+ snd_pcm_t *handle;
+ snd_async_handler_t *ahandler;
+ snd_pcm_hw_params_t *params;
+ }alsa;
+ }out;
+
+ GObject *ags_main;
+
+ GList *audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibaoClass" role="struct">
+<title>struct AgsLibaoClass</title>
+<indexterm zone="AgsLibaoClass"><primary>AgsLibaoClass</primary></indexterm>
+<programlisting>struct AgsLibaoClass {
+ GObjectClass object;
+
+ void (*play_init)(AgsLibao *libao,
+ GError **error);
+ void (*play)(AgsLibao *libao,
+ GError **error);
+ void (*stop)(AgsLibao *libao);
+
+ void (*tic)(AgsLibao *libao);
+
+ void (*note_offset_changed)(AgsLibao *libao, guint note_offset);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibaoError" role="enum">
+<title>enum AgsLibaoError</title>
+<indexterm zone="AgsLibaoError"><primary>AgsLibaoError</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LIBAO_ERROR_LOCKED_SOUNDCARD,
+} AgsLibaoError;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibaoFlags" role="enum">
+<title>enum AgsLibaoFlags</title>
+<indexterm zone="AgsLibaoFlags"><primary>AgsLibaoFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LIBAO_BUFFER0 = 1,
+ AGS_LIBAO_BUFFER1 = 1 << 1,
+ AGS_LIBAO_BUFFER2 = 1 << 2,
+ AGS_LIBAO_BUFFER3 = 1 << 3,
+
+ AGS_LIBAO_ATTACK_FIRST = 1 << 4,
+
+ AGS_LIBAO_PLAY = 1 << 5,
+
+ AGS_LIBAO_LIBAO = 1 << 6,
+ AGS_LIBAO_OSS = 1 << 7,
+ AGS_LIBAO_ALSA = 1 << 8,
+
+ AGS_LIBAO_SHUTDOWN = 1 << 9,
+ AGS_LIBAO_START_PLAY = 1 << 10,
+
+ AGS_LIBAO_NONBLOCKING = 1 << 11,
+
+ AGS_LIBAO_TIMING_SET_0 = 1 << 12,
+ AGS_LIBAO_TIMING_SET_1 = 1 << 13,
+} AgsLibaoFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibaoPlay" role="struct">
+<title>struct AgsLibaoPlay</title>
+<indexterm zone="AgsLibaoPlay"><primary>AgsLibaoPlay</primary></indexterm>
+<programlisting>struct AgsLibaoPlay {
+ guint flags;
+
+ AgsIteratorThread **iterator_thread;
+
+ GObject *source;
+ guint audio_channel;
+
+ AgsRecallID *recall_id[3];
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibaoPlayDomain" role="struct">
+<title>struct AgsLibaoPlayDomain</title>
+<indexterm zone="AgsLibaoPlayDomain"><primary>AgsLibaoPlayDomain</primary></indexterm>
+<programlisting>struct AgsLibaoPlayDomain {
+ GObject *domain;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+
+ GList *libao_play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibaoPlayFlags" role="enum">
+<title>enum AgsLibaoPlayFlags</title>
+<indexterm zone="AgsLibaoPlayFlags"><primary>AgsLibaoPlayFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LIBAO_PLAY_DONE = 1,
+ AGS_LIBAO_PLAY_REMOVE = 1 << 1,
+ AGS_LIBAO_PLAY_CHANNEL = 1 << 2,
+ AGS_LIBAO_PLAY_PAD = 1 << 3,
+ AGS_LIBAO_PLAY_AUDIO = 1 << 4,
+ AGS_LIBAO_PLAY_PLAYBACK = 1 << 5,
+ AGS_LIBAO_PLAY_SEQUENCER = 1 << 6,
+ AGS_LIBAO_PLAY_NOTATION = 1 << 7,
+ AGS_LIBAO_PLAY_SUPER_THREADED = 1 << 8,
+} AgsLibaoPlayFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLibaoResolutionMode" role="enum">
+<title>enum AgsLibaoResolutionMode</title>
+<indexterm zone="AgsLibaoResolutionMode"><primary>AgsLibaoResolutionMode</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LIBAO_RESOLUTION_8_BIT = 8,
+ AGS_LIBAO_RESOLUTION_16_BIT = 16,
+ AGS_LIBAO_RESOLUTION_24_BIT = 24,
+ AGS_LIBAO_RESOLUTION_32_BIT = 32,
+ AGS_LIBAO_RESOLUTION_64_BIT = 64,
+} AgsLibaoResolutionMode;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-error-quark" role="function">
+<title>ags_libao_error_quark ()</title>
+<indexterm zone="ags-libao-error-quark"><primary>ags_libao_error_quark</primary></indexterm>
+<programlisting><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> ags_libao_error_quark ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-list-cards" role="function">
+<title>ags_libao_list_cards ()</title>
+<indexterm zone="ags-libao-list-cards"><primary>ags_libao_list_cards</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_libao_list_cards (<parameter><link linkend="GList"><type>GList</type></link> **card_id</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_name</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-new" role="function">
+<title>ags_libao_new ()</title>
+<indexterm zone="ags-libao-new"><primary>ags_libao_new</primary></indexterm>
+<programlisting><link linkend="AgsLibao"><returnvalue>AgsLibao</returnvalue></link> * ags_libao_new (<parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-note-offset-changed" role="function">
+<title>ags_libao_note_offset_changed ()</title>
+<indexterm zone="ags-libao-note-offset-changed"><primary>ags_libao_note_offset_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_libao_note_offset_changed (<parameter><link linkend="AgsLibao"><type>AgsLibao</type></link> *libao</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> note_offset</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-pcm-info" role="function">
+<title>ags_libao_pcm_info ()</title>
+<indexterm zone="ags-libao-pcm-info"><primary>ags_libao_pcm_info</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_libao_pcm_info (<parameter><link linkend="char"><type>char</type></link> *card_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_max</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-play-alloc" role="function">
+<title>ags_libao_play_alloc ()</title>
+<indexterm zone="ags-libao-play-alloc"><primary>ags_libao_play_alloc</primary></indexterm>
+<programlisting><link linkend="AgsLibaoPlay"><returnvalue>AgsLibaoPlay</returnvalue></link> * ags_libao_play_alloc ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-play-domain-alloc" role="function">
+<title>ags_libao_play_domain_alloc ()</title>
+<indexterm zone="ags-libao-play-domain-alloc"><primary>ags_libao_play_domain_alloc</primary></indexterm>
+<programlisting><link linkend="AgsLibaoPlayDomain"><returnvalue>AgsLibaoPlayDomain</returnvalue></link> * ags_libao_play_domain_alloc ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-play-domain-free" role="function">
+<title>ags_libao_play_domain_free ()</title>
+<indexterm zone="ags-libao-play-domain-free"><primary>ags_libao_play_domain_free</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_libao_play_domain_free (<parameter><link linkend="AgsLibaoPlayDomain"><type>AgsLibaoPlayDomain</type></link> *libao_play_domain</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-play-free" role="function">
+<title>ags_libao_play_free ()</title>
+<indexterm zone="ags-libao-play-free"><primary>ags_libao_play_free</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_libao_play_free (<parameter><link linkend="AgsLibaoPlay"><type>AgsLibaoPlay</type></link> *libao_play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-libao-tic" role="function">
+<title>ags_libao_tic ()</title>
+<indexterm zone="ags-libao-tic"><primary>ags_libao_tic</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_libao_tic (<parameter><link linkend="AgsLibao"><type>AgsLibao</type></link> *libao</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line.xml b/doc/reference/ags/xml/ags_line.xml
new file mode 100644
index 0000000..f5a7401
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line.xml
@@ -0,0 +1,144 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLine">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLine.top_of_page">AgsLine</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLine</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLine.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-LINE-DEFAULT-BUILD-ID:CAPS">AGS_LINE_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-LINE-DEFAULT-VERSION:CAPS">AGS_LINE_DEFAULT_VERSION</link>
+struct <link linkend="AgsLine">AgsLine</link>;
+struct <link linkend="AgsLineClass">AgsLineClass</link>;
+enum <link linkend="AgsLineFlags">AgsLineFlags</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-line-find-next-grouped">ags_line_find_next_grouped</link> (<parameter><link linkend="GList"><type>GList</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-find-port">ags_line_find_port</link> (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-group-changed">ags_line_group_changed</link> (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="AgsLine"><returnvalue>AgsLine</returnvalue></link> * <link linkend="ags-line-new">ags_line_new</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *pad</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-set-channel">ags_line_set_channel</link> (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLine.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLine.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-LINE-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_LINE_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-LINE-DEFAULT-BUILD-ID:CAPS"><primary>AGS_LINE_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_LINE_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LINE-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_LINE_DEFAULT_VERSION</title>
+<indexterm zone="AGS-LINE-DEFAULT-VERSION:CAPS"><primary>AGS_LINE_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_LINE_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLine" role="struct">
+<title>struct AgsLine</title>
+<indexterm zone="AgsLine"><primary>AgsLine</primary></indexterm>
+<programlisting>struct AgsLine {
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *name;
+
+ AgsChannel *channel;
+
+ GtkWidget *pad;
+
+ GtkLabel *label;
+ GtkToggleButton *group;
+
+ AgsExpander *expander;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLineClass" role="struct">
+<title>struct AgsLineClass</title>
+<indexterm zone="AgsLineClass"><primary>AgsLineClass</primary></indexterm>
+<programlisting>struct AgsLineClass {
+ GtkVBoxClass vbox;
+
+ void (*set_channel)(AgsLine *line, AgsChannel *channel);
+
+ void (*group_changed)(AgsLine *line);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLineFlags" role="enum">
+<title>enum AgsLineFlags</title>
+<indexterm zone="AgsLineFlags"><primary>AgsLineFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LINE_CONNECTED = 1,
+ AGS_LINE_GROUPED = 1 << 1,
+ AGS_LINE_MAPPED_RECALL = 1 << 2,
+ AGS_LINE_PREMAPPED_RECALL = 1 << 3,
+} AgsLineFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-find-next-grouped" role="function">
+<title>ags_line_find_next_grouped ()</title>
+<indexterm zone="ags-line-find-next-grouped"><primary>ags_line_find_next_grouped</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_line_find_next_grouped (<parameter><link linkend="GList"><type>GList</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-find-port" role="function">
+<title>ags_line_find_port ()</title>
+<indexterm zone="ags-line-find-port"><primary>ags_line_find_port</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_find_port (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-group-changed" role="function">
+<title>ags_line_group_changed ()</title>
+<indexterm zone="ags-line-group-changed"><primary>ags_line_group_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_group_changed (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-new" role="function">
+<title>ags_line_new ()</title>
+<indexterm zone="ags-line-new"><primary>ags_line_new</primary></indexterm>
+<programlisting><link linkend="AgsLine"><returnvalue>AgsLine</returnvalue></link> * ags_line_new (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *pad</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-set-channel" role="function">
+<title>ags_line_set_channel ()</title>
+<indexterm zone="ags-line-set-channel"><primary>ags_line_set_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_set_channel (<parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line_callbacks.xml b/doc/reference/ags/xml/ags_line_callbacks.xml
new file mode 100644
index 0000000..8cddfee
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line_callbacks.xml
@@ -0,0 +1,155 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-line-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-line-callbacks.top_of_page">ags_line_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_line_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-line-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-channel-done-callback">ags_line_channel_done_callback</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-copy-pattern-cancel">ags_line_copy_pattern_cancel</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-copy-pattern-done">ags_line_copy_pattern_done</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-line-group-clicked-callback">ags_line_group_clicked_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-line-parent-set-callback">ags_line_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-peak-run-post-callback">ags_line_peak_run_post_callback</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *peak_channel</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-play-channel-run-cancel">ags_line_play_channel_run_cancel</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-play-volume-cancel">ags_line_play_volume_cancel</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-play-volume-done">ags_line_play_volume_done</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-recall-volume-cancel">ags_line_recall_volume_cancel</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-recall-volume-done">ags_line_recall_volume_done</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-remove-recall-callback">ags_line_remove_recall_callback</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-volume-callback">ags_line_volume_callback</link> (<parameter><link linkend="GtkRange"><type>GtkRange</type></link> *range</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-line-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-line-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-line-channel-done-callback" role="function">
+<title>ags_line_channel_done_callback ()</title>
+<indexterm zone="ags-line-channel-done-callback"><primary>ags_line_channel_done_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_channel_done_callback (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-copy-pattern-cancel" role="function">
+<title>ags_line_copy_pattern_cancel ()</title>
+<indexterm zone="ags-line-copy-pattern-cancel"><primary>ags_line_copy_pattern_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_copy_pattern_cancel (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-copy-pattern-done" role="function">
+<title>ags_line_copy_pattern_done ()</title>
+<indexterm zone="ags-line-copy-pattern-done"><primary>ags_line_copy_pattern_done</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_copy_pattern_done (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-group-clicked-callback" role="function">
+<title>ags_line_group_clicked_callback ()</title>
+<indexterm zone="ags-line-group-clicked-callback"><primary>ags_line_group_clicked_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_line_group_clicked_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-parent-set-callback" role="function">
+<title>ags_line_parent_set_callback ()</title>
+<indexterm zone="ags-line-parent-set-callback"><primary>ags_line_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_line_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-peak-run-post-callback" role="function">
+<title>ags_line_peak_run_post_callback ()</title>
+<indexterm zone="ags-line-peak-run-post-callback"><primary>ags_line_peak_run_post_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_peak_run_post_callback (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *peak_channel</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-play-channel-run-cancel" role="function">
+<title>ags_line_play_channel_run_cancel ()</title>
+<indexterm zone="ags-line-play-channel-run-cancel"><primary>ags_line_play_channel_run_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_play_channel_run_cancel (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-play-volume-cancel" role="function">
+<title>ags_line_play_volume_cancel ()</title>
+<indexterm zone="ags-line-play-volume-cancel"><primary>ags_line_play_volume_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_play_volume_cancel (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-play-volume-done" role="function">
+<title>ags_line_play_volume_done ()</title>
+<indexterm zone="ags-line-play-volume-done"><primary>ags_line_play_volume_done</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_play_volume_done (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-recall-volume-cancel" role="function">
+<title>ags_line_recall_volume_cancel ()</title>
+<indexterm zone="ags-line-recall-volume-cancel"><primary>ags_line_recall_volume_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_recall_volume_cancel (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-recall-volume-done" role="function">
+<title>ags_line_recall_volume_done ()</title>
+<indexterm zone="ags-line-recall-volume-done"><primary>ags_line_recall_volume_done</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_recall_volume_done (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-remove-recall-callback" role="function">
+<title>ags_line_remove_recall_callback ()</title>
+<indexterm zone="ags-line-remove-recall-callback"><primary>ags_line_remove_recall_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_remove_recall_callback (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-volume-callback" role="function">
+<title>ags_line_volume_callback ()</title>
+<indexterm zone="ags-line-volume-callback"><primary>ags_line_volume_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_volume_callback (<parameter><link linkend="GtkRange"><type>GtkRange</type></link> *range</parameter>,
+ <parameter><link linkend="AgsLine"><type>AgsLine</type></link> *line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line_editor.xml b/doc/reference/ags/xml/ags_line_editor.xml
new file mode 100644
index 0000000..2902ace
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line_editor.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLineEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLineEditor.top_of_page">AgsLineEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLineEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLineEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-LINE-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_LINE_EDITOR_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-LINE-EDITOR-DEFAULT-VERSION:CAPS">AGS_LINE_EDITOR_DEFAULT_VERSION</link>
+struct <link linkend="AgsLineEditor">AgsLineEditor</link>;
+struct <link linkend="AgsLineEditorClass">AgsLineEditorClass</link>;
+<link linkend="AgsLineEditor"><returnvalue>AgsLineEditor</returnvalue></link> * <link linkend="ags-line-editor-new">ags_line_editor_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-editor-set-channel">ags_line_editor_set_channel</link> (<parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLineEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLineEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-LINE-EDITOR-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_LINE_EDITOR_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-LINE-EDITOR-DEFAULT-BUILD-ID:CAPS"><primary>AGS_LINE_EDITOR_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_LINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-LINE-EDITOR-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_LINE_EDITOR_DEFAULT_VERSION</title>
+<indexterm zone="AGS-LINE-EDITOR-DEFAULT-VERSION:CAPS"><primary>AGS_LINE_EDITOR_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_LINE_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLineEditor" role="struct">
+<title>struct AgsLineEditor</title>
+<indexterm zone="AgsLineEditor"><primary>AgsLineEditor</primary></indexterm>
+<programlisting>struct AgsLineEditor {
+ GtkVBox vbox;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ AgsLinkEditor *link_editor;
+ AgsLineMemberEditor *member_editor;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLineEditorClass" role="struct">
+<title>struct AgsLineEditorClass</title>
+<indexterm zone="AgsLineEditorClass"><primary>AgsLineEditorClass</primary></indexterm>
+<programlisting>struct AgsLineEditorClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-editor-new" role="function">
+<title>ags_line_editor_new ()</title>
+<indexterm zone="ags-line-editor-new"><primary>ags_line_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsLineEditor"><returnvalue>AgsLineEditor</returnvalue></link> * ags_line_editor_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-editor-set-channel" role="function">
+<title>ags_line_editor_set_channel ()</title>
+<indexterm zone="ags-line-editor-set-channel"><primary>ags_line_editor_set_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_editor_set_channel (<parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line_editor_callbacks.xml b/doc/reference/ags/xml/ags_line_editor_callbacks.xml
new file mode 100644
index 0000000..a4bb4ea
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line_editor_callbacks.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-line-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-line-editor-callbacks.top_of_page">ags_line_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_line_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-line-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-line-editor-destroy-callback">ags_line_editor_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-line-editor-parent-set-callback">ags_line_editor_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-line-editor-show-callback">ags_line_editor_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-line-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-line-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-line-editor-destroy-callback" role="function">
+<title>ags_line_editor_destroy_callback ()</title>
+<indexterm zone="ags-line-editor-destroy-callback"><primary>ags_line_editor_destroy_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_line_editor_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-editor-parent-set-callback" role="function">
+<title>ags_line_editor_parent_set_callback ()</title>
+<indexterm zone="ags-line-editor-parent-set-callback"><primary>ags_line_editor_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_line_editor_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-editor-show-callback" role="function">
+<title>ags_line_editor_show_callback ()</title>
+<indexterm zone="ags-line-editor-show-callback"><primary>ags_line_editor_show_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_line_editor_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLineEditor"><type>AgsLineEditor</type></link> *line_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line_member.xml b/doc/reference/ags/xml/ags_line_member.xml
new file mode 100644
index 0000000..87cddd0
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line_member.xml
@@ -0,0 +1,135 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLineMember">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLineMember.top_of_page">AgsLineMember</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLineMember</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLineMember.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLineMember">AgsLineMember</link>;
+struct <link linkend="AgsLineMemberClass">AgsLineMemberClass</link>;
+enum <link linkend="AgsLineMemberFlags">AgsLineMemberFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-change-port">ags_line_member_change_port</link> (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> port_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-find-port">ags_line_member_find_port</link> (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> * <link linkend="ags-line-member-get-widget">ags_line_member_get_widget</link> (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="AgsLineMember"><returnvalue>AgsLineMember</returnvalue></link> * <link linkend="ags-line-member-new">ags_line_member_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-set-label">ags_line_member_set_label</link> (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *label</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLineMember.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLineMember.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLineMember" role="struct">
+<title>struct AgsLineMember</title>
+<indexterm zone="AgsLineMember"><primary>AgsLineMember</primary></indexterm>
+<programlisting>struct AgsLineMember {
+ GtkFrame frame;
+
+ guint flags;
+
+ GType widget_type;
+ gchar *widget_label;
+
+ gchar *plugin_name;
+ gchar *specifier;
+
+ gchar *control_port;
+
+ AgsPort *port;
+ gpointer port_data;
+ gboolean active;
+
+ AgsPort *recall_port;
+ gpointer recall_port_data;
+ gboolean recall_active;
+
+ GType task_type;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLineMemberClass" role="struct">
+<title>struct AgsLineMemberClass</title>
+<indexterm zone="AgsLineMemberClass"><primary>AgsLineMemberClass</primary></indexterm>
+<programlisting>struct AgsLineMemberClass {
+ GtkFrameClass frame;
+
+ void (*change_port)(AgsLineMember *line_member,
+ gpointer port_data);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLineMemberFlags" role="enum">
+<title>enum AgsLineMemberFlags</title>
+<indexterm zone="AgsLineMemberFlags"><primary>AgsLineMemberFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LINE_MEMBER_DEFAULT_TEMPLATE = 1,
+ AGS_LINE_MEMBER_RESET_BY_ATOMIC = 1 << 1,
+ AGS_LINE_MEMBER_RESET_BY_TASK = 1 << 2,
+ AGS_LINE_MEMBER_APPLY_RECALL = 1 << 3,
+ AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE = 1 << 4,
+ AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE = 1 << 5,
+ AGS_LINE_MEMBER_CALLBACK_READ_BLOCK = 1 << 6,
+ AGS_LINE_MEMBER_CALLBACK_WRITE_BLOCK = 1 << 7,
+} AgsLineMemberFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-change-port" role="function">
+<title>ags_line_member_change_port ()</title>
+<indexterm zone="ags-line-member-change-port"><primary>ags_line_member_change_port</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_change_port (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> port_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-find-port" role="function">
+<title>ags_line_member_find_port ()</title>
+<indexterm zone="ags-line-member-find-port"><primary>ags_line_member_find_port</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_find_port (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-get-widget" role="function">
+<title>ags_line_member_get_widget ()</title>
+<indexterm zone="ags-line-member-get-widget"><primary>ags_line_member_get_widget</primary></indexterm>
+<programlisting><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> * ags_line_member_get_widget (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-new" role="function">
+<title>ags_line_member_new ()</title>
+<indexterm zone="ags-line-member-new"><primary>ags_line_member_new</primary></indexterm>
+<programlisting><link linkend="AgsLineMember"><returnvalue>AgsLineMember</returnvalue></link> * ags_line_member_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-set-label" role="function">
+<title>ags_line_member_set_label ()</title>
+<indexterm zone="ags-line-member-set-label"><primary>ags_line_member_set_label</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_set_label (<parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *label</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line_member_callbacks.xml b/doc/reference/ags/xml/ags_line_member_callbacks.xml
new file mode 100644
index 0000000..2f2db22
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line_member_callbacks.xml
@@ -0,0 +1,137 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-line-member-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-line-member-callbacks.top_of_page">ags_line_member_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_line_member_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-line-member-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-button-clicked-callback">ags_line_member_button_clicked_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-check-button-clicked-callback">ags_line_member_check_button_clicked_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *check_button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-dial-changed-callback">ags_line_member_dial_changed_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *dial</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-hscale-changed-callback">ags_line_member_hscale_changed_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *hscale</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-line-member-parent-set-callback">ags_line_member_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-port-safe-write-callback">ags_line_member_port_safe_write_callback</link>
+ (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-spin-button-changed-callback">ags_line_member_spin_button_changed_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-toggle-button-clicked-callback">ags_line_member_toggle_button_clicked_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-vscale-changed-callback">ags_line_member_vscale_changed_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *vscale</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-line-member-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-line-member-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-line-member-button-clicked-callback" role="function">
+<title>ags_line_member_button_clicked_callback ()</title>
+<indexterm zone="ags-line-member-button-clicked-callback"><primary>ags_line_member_button_clicked_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_button_clicked_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-check-button-clicked-callback" role="function">
+<title>ags_line_member_check_button_clicked_callback ()</title>
+<indexterm zone="ags-line-member-check-button-clicked-callback"><primary>ags_line_member_check_button_clicked_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_check_button_clicked_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *check_button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-dial-changed-callback" role="function">
+<title>ags_line_member_dial_changed_callback ()</title>
+<indexterm zone="ags-line-member-dial-changed-callback"><primary>ags_line_member_dial_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_dial_changed_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *dial</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-hscale-changed-callback" role="function">
+<title>ags_line_member_hscale_changed_callback ()</title>
+<indexterm zone="ags-line-member-hscale-changed-callback"><primary>ags_line_member_hscale_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_hscale_changed_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *hscale</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-parent-set-callback" role="function">
+<title>ags_line_member_parent_set_callback ()</title>
+<indexterm zone="ags-line-member-parent-set-callback"><primary>ags_line_member_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_line_member_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-port-safe-write-callback" role="function">
+<title>ags_line_member_port_safe_write_callback ()</title>
+<indexterm zone="ags-line-member-port-safe-write-callback"><primary>ags_line_member_port_safe_write_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_port_safe_write_callback
+ (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-spin-button-changed-callback" role="function">
+<title>ags_line_member_spin_button_changed_callback ()</title>
+<indexterm zone="ags-line-member-spin-button-changed-callback"><primary>ags_line_member_spin_button_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_spin_button_changed_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-toggle-button-clicked-callback" role="function">
+<title>ags_line_member_toggle_button_clicked_callback ()</title>
+<indexterm zone="ags-line-member-toggle-button-clicked-callback"><primary>ags_line_member_toggle_button_clicked_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_toggle_button_clicked_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-vscale-changed-callback" role="function">
+<title>ags_line_member_vscale_changed_callback ()</title>
+<indexterm zone="ags-line-member-vscale-changed-callback"><primary>ags_line_member_vscale_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_vscale_changed_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *vscale</parameter>,
+ <parameter><link linkend="AgsLineMember"><type>AgsLineMember</type></link> *line_member</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line_member_editor.xml b/doc/reference/ags/xml/ags_line_member_editor.xml
new file mode 100644
index 0000000..607a70f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line_member_editor.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLineMemberEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLineMemberEditor.top_of_page">AgsLineMemberEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLineMemberEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLineMemberEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLineMemberEditor">AgsLineMemberEditor</link>;
+struct <link linkend="AgsLineMemberEditorClass">AgsLineMemberEditorClass</link>;
+<link linkend="AgsLineMemberEditor"><returnvalue>AgsLineMemberEditor</returnvalue></link> * <link linkend="ags-line-member-editor-new">ags_line_member_editor_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLineMemberEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLineMemberEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLineMemberEditor" role="struct">
+<title>struct AgsLineMemberEditor</title>
+<indexterm zone="AgsLineMemberEditor"><primary>AgsLineMemberEditor</primary></indexterm>
+<programlisting>struct AgsLineMemberEditor {
+ GtkVBox vbox;
+
+ GtkVBox *line_member;
+
+ GtkButton *add;
+ GtkMenu *popup;
+
+ GtkButton *remove;
+
+ AgsLadspaBrowser *ladspa_browser;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLineMemberEditorClass" role="struct">
+<title>struct AgsLineMemberEditorClass</title>
+<indexterm zone="AgsLineMemberEditorClass"><primary>AgsLineMemberEditorClass</primary></indexterm>
+<programlisting>struct AgsLineMemberEditorClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-editor-new" role="function">
+<title>ags_line_member_editor_new ()</title>
+<indexterm zone="ags-line-member-editor-new"><primary>ags_line_member_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsLineMemberEditor"><returnvalue>AgsLineMemberEditor</returnvalue></link> * ags_line_member_editor_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_line_member_editor_callbacks.xml b/doc/reference/ags/xml/ags_line_member_editor_callbacks.xml
new file mode 100644
index 0000000..dbf42fc
--- /dev/null
+++ b/doc/reference/ags/xml/ags_line_member_editor_callbacks.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-line-member-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-line-member-editor-callbacks.top_of_page">ags_line_member_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_line_member_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-line-member-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-editor-add-callback">ags_line_member_editor_add_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-editor-ladspa-browser-response-callback">ags_line_member_editor_ladspa_browser_response_callback</link>
+ (<parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-line-member-editor-remove-callback">ags_line_member_editor_remove_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-line-member-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-line-member-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-line-member-editor-add-callback" role="function">
+<title>ags_line_member_editor_add_callback ()</title>
+<indexterm zone="ags-line-member-editor-add-callback"><primary>ags_line_member_editor_add_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_editor_add_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-editor-ladspa-browser-response-callback" role="function">
+<title>ags_line_member_editor_ladspa_browser_response_callback ()</title>
+<indexterm zone="ags-line-member-editor-ladspa-browser-response-callback"><primary>ags_line_member_editor_ladspa_browser_response_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_editor_ladspa_browser_response_callback
+ (<parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-line-member-editor-remove-callback" role="function">
+<title>ags_line_member_editor_remove_callback ()</title>
+<indexterm zone="ags-line-member-editor-remove-callback"><primary>ags_line_member_editor_remove_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_line_member_editor_remove_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsLineMemberEditor"><type>AgsLineMemberEditor</type></link> *line_member_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_link_channel.xml b/doc/reference/ags/xml/ags_link_channel.xml
new file mode 100644
index 0000000..69c7d59
--- /dev/null
+++ b/doc/reference/ags/xml/ags_link_channel.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLinkChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLinkChannel.top_of_page">AgsLinkChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLinkChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLinkChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLinkChannel">AgsLinkChannel</link>;
+struct <link linkend="AgsLinkChannelClass">AgsLinkChannelClass</link>;
+<link linkend="AgsLinkChannel"><returnvalue>AgsLinkChannel</returnvalue></link> * <link linkend="ags-link-channel-new">ags_link_channel_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *link</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLinkChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLinkChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLinkChannel" role="struct">
+<title>struct AgsLinkChannel</title>
+<indexterm zone="AgsLinkChannel"><primary>AgsLinkChannel</primary></indexterm>
+<programlisting>struct AgsLinkChannel {
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsChannel *link;
+
+ GError *error;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLinkChannelClass" role="struct">
+<title>struct AgsLinkChannelClass</title>
+<indexterm zone="AgsLinkChannelClass"><primary>AgsLinkChannelClass</primary></indexterm>
+<programlisting>struct AgsLinkChannelClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-channel-new" role="function">
+<title>ags_link_channel_new ()</title>
+<indexterm zone="ags-link-channel-new"><primary>ags_link_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsLinkChannel"><returnvalue>AgsLinkChannel</returnvalue></link> * ags_link_channel_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *link</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_link_collection_editor.xml b/doc/reference/ags/xml/ags_link_collection_editor.xml
new file mode 100644
index 0000000..a7c3b97
--- /dev/null
+++ b/doc/reference/ags/xml/ags_link_collection_editor.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLinkCollectionEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLinkCollectionEditor.top_of_page">AgsLinkCollectionEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLinkCollectionEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLinkCollectionEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLinkCollectionEditor">AgsLinkCollectionEditor</link>;
+struct <link linkend="AgsLinkCollectionEditorClass">AgsLinkCollectionEditorClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-collection-editor-check-count">ags_link_collection_editor_check_count</link>
+ (<parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-collection-editor-check-first-line">ags_link_collection_editor_check_first_line</link>
+ (<parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-collection-editor-check-first-link">ags_link_collection_editor_check_first_link</link>
+ (<parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="AgsLinkCollectionEditor"><returnvalue>AgsLinkCollectionEditor</returnvalue></link> * <link linkend="ags-link-collection-editor-new">ags_link_collection_editor_new</link>
+ ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLinkCollectionEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLinkCollectionEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLinkCollectionEditor" role="struct">
+<title>struct AgsLinkCollectionEditor</title>
+<indexterm zone="AgsLinkCollectionEditor"><primary>AgsLinkCollectionEditor</primary></indexterm>
+<programlisting>struct AgsLinkCollectionEditor {
+ GtkTable table;
+
+ GType channel_type;
+
+ GtkComboBox *link;
+ GtkSpinButton *first_line;
+ GtkSpinButton *first_link;
+ GtkSpinButton *count;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLinkCollectionEditorClass" role="struct">
+<title>struct AgsLinkCollectionEditorClass</title>
+<indexterm zone="AgsLinkCollectionEditorClass"><primary>AgsLinkCollectionEditorClass</primary></indexterm>
+<programlisting>struct AgsLinkCollectionEditorClass {
+ GtkTableClass table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-check-count" role="function">
+<title>ags_link_collection_editor_check_count ()</title>
+<indexterm zone="ags-link-collection-editor-check-count"><primary>ags_link_collection_editor_check_count</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_collection_editor_check_count
+ (<parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-check-first-line" role="function">
+<title>ags_link_collection_editor_check_first_line ()</title>
+<indexterm zone="ags-link-collection-editor-check-first-line"><primary>ags_link_collection_editor_check_first_line</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_collection_editor_check_first_line
+ (<parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-check-first-link" role="function">
+<title>ags_link_collection_editor_check_first_link ()</title>
+<indexterm zone="ags-link-collection-editor-check-first-link"><primary>ags_link_collection_editor_check_first_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_collection_editor_check_first_link
+ (<parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-new" role="function">
+<title>ags_link_collection_editor_new ()</title>
+<indexterm zone="ags-link-collection-editor-new"><primary>ags_link_collection_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsLinkCollectionEditor"><returnvalue>AgsLinkCollectionEditor</returnvalue></link> * ags_link_collection_editor_new
+ ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_link_collection_editor_callbacks.xml b/doc/reference/ags/xml/ags_link_collection_editor_callbacks.xml
new file mode 100644
index 0000000..08b3fa3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_link_collection_editor_callbacks.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-link-collection-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-link-collection-editor-callbacks.top_of_page">ags_link_collection_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_link_collection_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-link-collection-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-collection-editor-count-callback">ags_link_collection_editor_count_callback</link>
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-collection-editor-first-line-callback">ags_link_collection_editor_first_line_callback</link>
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-collection-editor-first-link-callback">ags_link_collection_editor_first_link_callback</link>
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-collection-editor-link-callback">ags_link_collection_editor_link_callback</link>
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-link-collection-editor-parent-set-callback">ags_link_collection_editor_parent_set_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-link-collection-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-link-collection-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-link-collection-editor-count-callback" role="function">
+<title>ags_link_collection_editor_count_callback ()</title>
+<indexterm zone="ags-link-collection-editor-count-callback"><primary>ags_link_collection_editor_count_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_collection_editor_count_callback
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-first-line-callback" role="function">
+<title>ags_link_collection_editor_first_line_callback ()</title>
+<indexterm zone="ags-link-collection-editor-first-line-callback"><primary>ags_link_collection_editor_first_line_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_collection_editor_first_line_callback
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-first-link-callback" role="function">
+<title>ags_link_collection_editor_first_link_callback ()</title>
+<indexterm zone="ags-link-collection-editor-first-link-callback"><primary>ags_link_collection_editor_first_link_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_collection_editor_first_link_callback
+ (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-link-callback" role="function">
+<title>ags_link_collection_editor_link_callback ()</title>
+<indexterm zone="ags-link-collection-editor-link-callback"><primary>ags_link_collection_editor_link_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_collection_editor_link_callback
+ (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-collection-editor-parent-set-callback" role="function">
+<title>ags_link_collection_editor_parent_set_callback ()</title>
+<indexterm zone="ags-link-collection-editor-parent-set-callback"><primary>ags_link_collection_editor_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_link_collection_editor_parent_set_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLinkCollectionEditor"><type>AgsLinkCollectionEditor</type></link> *link_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_link_editor.xml b/doc/reference/ags/xml/ags_link_editor.xml
new file mode 100644
index 0000000..3febee8
--- /dev/null
+++ b/doc/reference/ags/xml/ags_link_editor.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLinkEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLinkEditor.top_of_page">AgsLinkEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLinkEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLinkEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLinkEditor">AgsLinkEditor</link>;
+struct <link linkend="AgsLinkEditorClass">AgsLinkEditorClass</link>;
+enum <link linkend="AgsLinkEditorFlags">AgsLinkEditorFlags</link>;
+<link linkend="AgsLinkEditor"><returnvalue>AgsLinkEditor</returnvalue></link> * <link linkend="ags-link-editor-new">ags_link_editor_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLinkEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLinkEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLinkEditor" role="struct">
+<title>struct AgsLinkEditor</title>
+<indexterm zone="AgsLinkEditor"><primary>AgsLinkEditor</primary></indexterm>
+<programlisting>struct AgsLinkEditor {
+ GtkHBox hbox;
+
+ guint flags;
+
+ GtkComboBox *combo;
+ GtkSpinButton *spin_button;
+
+ AgsAudioFile *audio_file;
+
+ GtkFileChooserDialog *file_chooser;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLinkEditorClass" role="struct">
+<title>struct AgsLinkEditorClass</title>
+<indexterm zone="AgsLinkEditorClass"><primary>AgsLinkEditorClass</primary></indexterm>
+<programlisting>struct AgsLinkEditorClass {
+ GtkHBoxClass hbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLinkEditorFlags" role="enum">
+<title>enum AgsLinkEditorFlags</title>
+<indexterm zone="AgsLinkEditorFlags"><primary>AgsLinkEditorFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LINK_EDITOR_FILE_CHOOSER_PLAY_DONE = 1,
+} AgsLinkEditorFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-editor-new" role="function">
+<title>ags_link_editor_new ()</title>
+<indexterm zone="ags-link-editor-new"><primary>ags_link_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsLinkEditor"><returnvalue>AgsLinkEditor</returnvalue></link> * ags_link_editor_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_link_editor_callbacks.xml b/doc/reference/ags/xml/ags_link_editor_callbacks.xml
new file mode 100644
index 0000000..852b07c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_link_editor_callbacks.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-link-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-link-editor-callbacks.top_of_page">ags_link_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_link_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-link-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-link-editor-combo-callback">ags_link_editor_combo_callback</link> (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-link-editor-destroy-callback">ags_link_editor_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-link-editor-parent-set-callback">ags_link_editor_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-link-editor-show-callback">ags_link_editor_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-link-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-link-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-link-editor-combo-callback" role="function">
+<title>ags_link_editor_combo_callback ()</title>
+<indexterm zone="ags-link-editor-combo-callback"><primary>ags_link_editor_combo_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_link_editor_combo_callback (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-editor-destroy-callback" role="function">
+<title>ags_link_editor_destroy_callback ()</title>
+<indexterm zone="ags-link-editor-destroy-callback"><primary>ags_link_editor_destroy_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_link_editor_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-editor-parent-set-callback" role="function">
+<title>ags_link_editor_parent_set_callback ()</title>
+<indexterm zone="ags-link-editor-parent-set-callback"><primary>ags_link_editor_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_link_editor_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-link-editor-show-callback" role="function">
+<title>ags_link_editor_show_callback ()</title>
+<indexterm zone="ags-link-editor-show-callback"><primary>ags_link_editor_show_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_link_editor_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsLinkEditor"><type>AgsLinkEditor</type></link> *link_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_list.xml b/doc/reference/ags/xml/ags_list.xml
new file mode 100644
index 0000000..9967ea2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_list.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-list">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-list.top_of_page">ags_list</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_list</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-list.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-list-duplicate-list">ags_list_duplicate_list</link> (<parameter><link linkend="gpointer"><type>gpointer</type></link> entry</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> target</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-list-free-and-free-link">ags_list_free_and_free_link</link> (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-list-free-and-unref-link">ags_list_free_and_unref_link</link> (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-list.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-list.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-list-duplicate-list" role="function">
+<title>ags_list_duplicate_list ()</title>
+<indexterm zone="ags-list-duplicate-list"><primary>ags_list_duplicate_list</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_list_duplicate_list (<parameter><link linkend="gpointer"><type>gpointer</type></link> entry</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> target</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-list-free-and-free-link" role="function">
+<title>ags_list_free_and_free_link ()</title>
+<indexterm zone="ags-list-free-and-free-link"><primary>ags_list_free_and_free_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_list_free_and_free_link (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-list-free-and-unref-link" role="function">
+<title>ags_list_free_and_unref_link ()</title>
+<indexterm zone="ags-list-free-and-unref-link"><primary>ags_list_free_and_unref_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_list_free_and_unref_link (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_listing_editor.xml b/doc/reference/ags/xml/ags_listing_editor.xml
new file mode 100644
index 0000000..6e750a4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_listing_editor.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsListingEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsListingEditor.top_of_page">AgsListingEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsListingEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsListingEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsListingEditor">AgsListingEditor</link>;
+struct <link linkend="AgsListingEditorClass">AgsListingEditorClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-listing-editor-add-children">ags_listing_editor_add_children</link> (<parameter><link linkend="AgsListingEditor"><type>AgsListingEditor</type></link> *listing_editor</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth_channel</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> connect</parameter>);
+<link linkend="AgsListingEditor"><returnvalue>AgsListingEditor</returnvalue></link> * <link linkend="ags-listing-editor-new">ags_listing_editor_new</link> (<parameter><link linkend="GType"><type>GType</type></link> channel_type</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsListingEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsListingEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsListingEditor" role="struct">
+<title>struct AgsListingEditor</title>
+<indexterm zone="AgsListingEditor"><primary>AgsListingEditor</primary></indexterm>
+<programlisting>struct AgsListingEditor {
+ AgsPropertyListingEditor property_listing_editor;
+
+ GType channel_type;
+
+ GtkVBox *child;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsListingEditorClass" role="struct">
+<title>struct AgsListingEditorClass</title>
+<indexterm zone="AgsListingEditorClass"><primary>AgsListingEditorClass</primary></indexterm>
+<programlisting>struct AgsListingEditorClass {
+ AgsPropertyListingEditorClass property_listing_editor;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-listing-editor-add-children" role="function">
+<title>ags_listing_editor_add_children ()</title>
+<indexterm zone="ags-listing-editor-add-children"><primary>ags_listing_editor_add_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_listing_editor_add_children (<parameter><link linkend="AgsListingEditor"><type>AgsListingEditor</type></link> *listing_editor</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth_channel</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> connect</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-listing-editor-new" role="function">
+<title>ags_listing_editor_new ()</title>
+<indexterm zone="ags-listing-editor-new"><primary>ags_listing_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsListingEditor"><returnvalue>AgsListingEditor</returnvalue></link> * ags_listing_editor_new (<parameter><link linkend="GType"><type>GType</type></link> channel_type</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_listing_editor_callbacks.xml b/doc/reference/ags/xml/ags_listing_editor_callbacks.xml
new file mode 100644
index 0000000..650b456
--- /dev/null
+++ b/doc/reference/ags/xml/ags_listing_editor_callbacks.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-listing-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-listing-editor-callbacks.top_of_page">ags_listing_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_listing_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-listing-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-listing-editor-parent-set-callback">ags_listing_editor_parent_set_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsListingEditor"><type>AgsListingEditor</type></link> *listing_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-listing-editor-set-pads-callback">ags_listing_editor_set_pads_callback</link>
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> channel_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads_old</parameter>,
+ <parameter><link linkend="AgsListingEditor"><type>AgsListingEditor</type></link> *listing_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-listing-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-listing-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-listing-editor-parent-set-callback" role="function">
+<title>ags_listing_editor_parent_set_callback ()</title>
+<indexterm zone="ags-listing-editor-parent-set-callback"><primary>ags_listing_editor_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_listing_editor_parent_set_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsListingEditor"><type>AgsListingEditor</type></link> *listing_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-listing-editor-set-pads-callback" role="function">
+<title>ags_listing_editor_set_pads_callback ()</title>
+<indexterm zone="ags-listing-editor-set-pads-callback"><primary>ags_listing_editor_set_pads_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_listing_editor_set_pads_callback
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> channel_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> pads_old</parameter>,
+ <parameter><link linkend="AgsListingEditor"><type>AgsListingEditor</type></link> *listing_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_log.xml b/doc/reference/ags/xml/ags_log.xml
new file mode 100644
index 0000000..bd52bbe
--- /dev/null
+++ b/doc/reference/ags/xml/ags_log.xml
@@ -0,0 +1,199 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLog">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLog.top_of_page">AgsLog</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLog</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLog.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLog">AgsLog</link>;
+struct <link linkend="AgsLogClass">AgsLogClass</link>;
+enum <link linkend="AgsLogFlags">AgsLogFlags</link>;
+struct <link linkend="AgsLogFormatedMessage">AgsLogFormatedMessage</link>;
+struct <link linkend="AgsLogMessage">AgsLogMessage</link>;
+#define <link linkend="ags-default-log">ags_default_log</link>
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-log-debug">ags_log_debug</link> (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *format</parameter>,
+ <parameter>...</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-log-message">ags_log_message</link> (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *format</parameter>,
+ <parameter>...</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-log-start-queue">ags_log_start_queue</link> (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-log-stop-queue">ags_log_stop_queue</link> (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLog.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLog.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLog" role="struct">
+<title>struct AgsLog</title>
+<indexterm zone="AgsLog"><primary>AgsLog</primary></indexterm>
+<programlisting>struct AgsLog {
+ GObject object;
+
+ guint flags;
+
+ FILE *file;
+ pthread_mutex_t start_mutex;
+ pthread_cond_t start_wait_cond;
+
+ struct timespec *log_interval;
+ struct timespec *free_float;
+ pthread_t timer_thread;
+ pthread_attr_t timer_thread_attr;
+ pthread_mutex_t timer_mutex;
+ pthread_mutexattr_t timer_mutex_attr;
+ gboolean timer_started;
+ gboolean timer_active;
+ gboolean timer_awaken;
+ pthread_cond_t timer_wait_cond;
+
+ pthread_t broker_thread;
+ pthread_attr_t broker_thread_attr;
+ pthread_mutex_t broker_mutex;
+ pthread_mutexattr_t broker_mutex_attr;
+ gboolean broker_started;
+ gboolean broker_active;
+ gboolean broker_awaken;
+ gboolean signaled_timer;
+ gboolean signaled_log;
+ gboolean signaled_queue;
+ gboolean signaled_output;
+ pthread_cond_t broker_wait_cond;
+
+ GList *output_formated_message;
+ pthread_t output_thread;
+ pthread_attr_t output_thread_attr;
+ pthread_mutex_t output_mutex;
+ pthread_mutexattr_t output_mutex_attr;
+ gboolean output_started;
+ gboolean output_active;
+ gboolean output_awaken;
+ pthread_cond_t output_wait_cond;
+
+ GList *queue_formated_message;
+ GList *queue_message;
+ pthread_t queue_thread;
+ pthread_attr_t queue_thread_attr;
+ pthread_mutex_t queue_mutex;
+ pthread_mutexattr_t queue_mutex_attr;
+ gboolean queue_started;
+ gboolean queue_active;
+ gboolean queue_awaken;
+ pthread_cond_t queue_wait_cond;
+
+ GList *log;
+ guint active_logs;
+ guint suspended_logs;
+ pthread_cond_t log_wait_cond;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLogClass" role="struct">
+<title>struct AgsLogClass</title>
+<indexterm zone="AgsLogClass"><primary>AgsLogClass</primary></indexterm>
+<programlisting>struct AgsLogClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLogFlags" role="enum">
+<title>enum AgsLogFlags</title>
+<indexterm zone="AgsLogFlags"><primary>AgsLogFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_LOG_STARTING = 1,
+ AGS_LOG_RUNNING = 1 << 1,
+ AGS_LOG_TIMER_SLEEP = 1 << 2,
+ AGS_LOG_OUTPUT_SUSPEND = 1 << 3,
+ AGS_LOG_OUTPUT_WAITS_FOR_QUEUE = 1 << 4,
+ AGS_LOG_QUEUE_SUSPEND = 1 << 5,
+ AGS_LOG_SUSPEND = 1 << 6,
+ AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT = 1 << 7,
+ AGS_LOG_OMMIT_DEBUG = 1 << 8,
+} AgsLogFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLogFormatedMessage" role="struct">
+<title>struct AgsLogFormatedMessage</title>
+<indexterm zone="AgsLogFormatedMessage"><primary>AgsLogFormatedMessage</primary></indexterm>
+<programlisting>struct AgsLogFormatedMessage {
+ int length;
+ char *message;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLogMessage" role="struct">
+<title>struct AgsLogMessage</title>
+<indexterm zone="AgsLogMessage"><primary>AgsLogMessage</primary></indexterm>
+<programlisting>struct AgsLogMessage {
+ gboolean debug;
+
+ struct timespec *time;
+ char *format;
+ va_list args;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-default-log" role="macro">
+<title>ags_default_log</title>
+<indexterm zone="ags-default-log"><primary>ags_default_log</primary></indexterm>
+<programlisting>#define ags_default_log ags_default_log
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-log-debug" role="function">
+<title>ags_log_debug ()</title>
+<indexterm zone="ags-log-debug"><primary>ags_log_debug</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_log_debug (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *format</parameter>,
+ <parameter>...</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-log-message" role="function">
+<title>ags_log_message ()</title>
+<indexterm zone="ags-log-message"><primary>ags_log_message</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_log_message (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *format</parameter>,
+ <parameter>...</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-log-start-queue" role="function">
+<title>ags_log_start_queue ()</title>
+<indexterm zone="ags-log-start-queue"><primary>ags_log_start_queue</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_log_start_queue (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-log-stop-queue" role="function">
+<title>ags_log_stop_queue ()</title>
+<indexterm zone="ags-log-stop-queue"><primary>ags_log_stop_queue</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_log_stop_queue (<parameter><link linkend="AgsLog"><type>AgsLog</type></link> *log</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_loop_channel.xml b/doc/reference/ags/xml/ags_loop_channel.xml
new file mode 100644
index 0000000..5a403c2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_loop_channel.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLoopChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLoopChannel.top_of_page">AgsLoopChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLoopChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLoopChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLoopChannel">AgsLoopChannel</link>;
+struct <link linkend="AgsLoopChannelClass">AgsLoopChannelClass</link>;
+<link linkend="AgsLoopChannel"><returnvalue>AgsLoopChannel</returnvalue></link> * <link linkend="ags-loop-channel-new">ags_loop_channel_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLoopChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLoopChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLoopChannel" role="struct">
+<title>struct AgsLoopChannel</title>
+<indexterm zone="AgsLoopChannel"><primary>AgsLoopChannel</primary></indexterm>
+<programlisting>struct AgsLoopChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsDelayAudio *delay_audio;
+ gulong sequencer_duration_changed_handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLoopChannelClass" role="struct">
+<title>struct AgsLoopChannelClass</title>
+<indexterm zone="AgsLoopChannelClass"><primary>AgsLoopChannelClass</primary></indexterm>
+<programlisting>struct AgsLoopChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-loop-channel-new" role="function">
+<title>ags_loop_channel_new ()</title>
+<indexterm zone="ags-loop-channel-new"><primary>ags_loop_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsLoopChannel"><returnvalue>AgsLoopChannel</returnvalue></link> * ags_loop_channel_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_loop_channel_run.xml b/doc/reference/ags/xml/ags_loop_channel_run.xml
new file mode 100644
index 0000000..e2dda71
--- /dev/null
+++ b/doc/reference/ags/xml/ags_loop_channel_run.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsLoopChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsLoopChannelRun.top_of_page">AgsLoopChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsLoopChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsLoopChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLoopChannelRun">AgsLoopChannelRun</link>;
+struct <link linkend="AgsLoopChannelRunClass">AgsLoopChannelRunClass</link>;
+<link linkend="AgsLoopChannelRun"><returnvalue>AgsLoopChannelRun</returnvalue></link> * <link linkend="ags-loop-channel-run-new">ags_loop_channel_run_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_template</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsLoopChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsLoopChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLoopChannelRun" role="struct">
+<title>struct AgsLoopChannelRun</title>
+<indexterm zone="AgsLoopChannelRun"><primary>AgsLoopChannelRun</primary></indexterm>
+<programlisting>struct AgsLoopChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ gulong start_handler;
+ gulong loop_handler;
+ gulong stop_handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsLoopChannelRunClass" role="struct">
+<title>struct AgsLoopChannelRunClass</title>
+<indexterm zone="AgsLoopChannelRunClass"><primary>AgsLoopChannelRunClass</primary></indexterm>
+<programlisting>struct AgsLoopChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-loop-channel-run-new" role="function">
+<title>ags_loop_channel_run_new ()</title>
+<indexterm zone="ags-loop-channel-run-new"><primary>ags_loop_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsLoopChannelRun"><returnvalue>AgsLoopChannelRun</returnvalue></link> * ags_loop_channel_run_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsCountBeatsAudioRun"><type>AgsCountBeatsAudioRun</type></link> *count_beats_audio_run</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_template</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine.xml b/doc/reference/ags/xml/ags_machine.xml
new file mode 100644
index 0000000..a90cfa7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine.xml
@@ -0,0 +1,200 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMachine">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMachine.top_of_page">AgsMachine</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMachine</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMachine.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-MACHINE-DEFAULT-BUILD-ID:CAPS">AGS_MACHINE_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-MACHINE-DEFAULT-VERSION:CAPS">AGS_MACHINE_DEFAULT_VERSION</link>
+struct <link linkend="AgsMachine">AgsMachine</link>;
+struct <link linkend="AgsMachineClass">AgsMachineClass</link>;
+enum <link linkend="AgsMachineFileInputFlags">AgsMachineFileInputFlags</link>;
+enum <link linkend="AgsMachineFlags">AgsMachineFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-add-default-recalls">ags_machine_add_default_recalls</link> (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="GtkFileChooserDialog"><returnvalue>GtkFileChooserDialog</returnvalue></link> * <link linkend="ags-machine-file-chooser-dialog-new">ags_machine_file_chooser_dialog_new</link>
+ (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="AgsMachine"><returnvalue>AgsMachine</returnvalue></link> * <link linkend="ags-machine-find-by-name">ags_machine_find_by_name</link> (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *name</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-find-port">ags_machine_find_port</link> (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="GtkListStore"><returnvalue>GtkListStore</returnvalue></link> * <link linkend="ags-machine-get-possible-links">ags_machine_get_possible_links</link> (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="AgsMachine"><returnvalue>AgsMachine</returnvalue></link> * <link linkend="ags-machine-new">ags_machine_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-open-files">ags_machine_open_files</link> (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="GSList"><type>GSList</type></link> *filenames</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> overwrite_channels</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create_channels</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-set-run">ags_machine_set_run</link> (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> run</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMachine.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMachine.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-MACHINE-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_MACHINE_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-MACHINE-DEFAULT-BUILD-ID:CAPS"><primary>AGS_MACHINE_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_MACHINE_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-MACHINE-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_MACHINE_DEFAULT_VERSION</title>
+<indexterm zone="AGS-MACHINE-DEFAULT-VERSION:CAPS"><primary>AGS_MACHINE_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_MACHINE_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachine" role="struct">
+<title>struct AgsMachine</title>
+<indexterm zone="AgsMachine"><primary>AgsMachine</primary></indexterm>
+<programlisting>struct AgsMachine {
+ GtkHandleBox handle_box;
+
+ GObject *ags_main;
+
+ char *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ guint flags;
+ guint file_input_flags;
+
+ AgsAudio *audio;
+
+ GtkToggleButton *play;
+
+ GType output_pad_type;
+ GType output_line_type;
+ GtkContainer *output;
+
+ GType input_pad_type;
+ GType input_line_type;
+ GtkContainer *input;
+
+ GList *port;
+
+ GtkMenu *popup;
+ GtkDialog *properties;
+ GtkDialog *rename;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineClass" role="struct">
+<title>struct AgsMachineClass</title>
+<indexterm zone="AgsMachineClass"><primary>AgsMachineClass</primary></indexterm>
+<programlisting>struct AgsMachineClass {
+ GtkHandleBoxClass handle_box;
+
+ void (*add_default_recalls)(AgsMachine *machine);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineFileInputFlags" role="enum">
+<title>enum AgsMachineFileInputFlags</title>
+<indexterm zone="AgsMachineFileInputFlags"><primary>AgsMachineFileInputFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_MACHINE_ACCEPT_WAV = 1,
+ AGS_MACHINE_ACCEPT_OGG = 1 << 1,
+ AGS_MACHINE_ACCEPT_SOUNDFONT2 = 1 << 2,
+} AgsMachineFileInputFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineFlags" role="enum">
+<title>enum AgsMachineFlags</title>
+<indexterm zone="AgsMachineFlags"><primary>AgsMachineFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_MACHINE_SOLO = 1,
+ AGS_MACHINE_IS_EFFECT = 1 << 1,
+ AGS_MACHINE_IS_SEQUENCER = 1 << 2,
+ AGS_MACHINE_IS_SYNTHESIZER = 1 << 3,
+ AGS_MACHINE_TAKES_FILE_INPUT = 1 << 4,
+ AGS_MACHINE_MAPPED_RECALL = 1 << 5,
+ AGS_MACHINE_PREMAPPED_RECALL = 1 << 6,
+ AGS_MACHINE_BLOCK_PLAY = 1 << 7,
+ AGS_MACHINE_BLOCK_STOP = 1 << 8,
+} AgsMachineFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-add-default-recalls" role="function">
+<title>ags_machine_add_default_recalls ()</title>
+<indexterm zone="ags-machine-add-default-recalls"><primary>ags_machine_add_default_recalls</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_add_default_recalls (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-file-chooser-dialog-new" role="function">
+<title>ags_machine_file_chooser_dialog_new ()</title>
+<indexterm zone="ags-machine-file-chooser-dialog-new"><primary>ags_machine_file_chooser_dialog_new</primary></indexterm>
+<programlisting><link linkend="GtkFileChooserDialog"><returnvalue>GtkFileChooserDialog</returnvalue></link> * ags_machine_file_chooser_dialog_new
+ (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-find-by-name" role="function">
+<title>ags_machine_find_by_name ()</title>
+<indexterm zone="ags-machine-find-by-name"><primary>ags_machine_find_by_name</primary></indexterm>
+<programlisting><link linkend="AgsMachine"><returnvalue>AgsMachine</returnvalue></link> * ags_machine_find_by_name (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *name</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-find-port" role="function">
+<title>ags_machine_find_port ()</title>
+<indexterm zone="ags-machine-find-port"><primary>ags_machine_find_port</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_find_port (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-get-possible-links" role="function">
+<title>ags_machine_get_possible_links ()</title>
+<indexterm zone="ags-machine-get-possible-links"><primary>ags_machine_get_possible_links</primary></indexterm>
+<programlisting><link linkend="GtkListStore"><returnvalue>GtkListStore</returnvalue></link> * ags_machine_get_possible_links (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-new" role="function">
+<title>ags_machine_new ()</title>
+<indexterm zone="ags-machine-new"><primary>ags_machine_new</primary></indexterm>
+<programlisting><link linkend="AgsMachine"><returnvalue>AgsMachine</returnvalue></link> * ags_machine_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-open-files" role="function">
+<title>ags_machine_open_files ()</title>
+<indexterm zone="ags-machine-open-files"><primary>ags_machine_open_files</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_open_files (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="GSList"><type>GSList</type></link> *filenames</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> overwrite_channels</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create_channels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-set-run" role="function">
+<title>ags_machine_set_run ()</title>
+<indexterm zone="ags-machine-set-run"><primary>ags_machine_set_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_set_run (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine_callbacks.xml b/doc/reference/ags/xml/ags_machine_callbacks.xml
new file mode 100644
index 0000000..7b8e8fa
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine_callbacks.xml
@@ -0,0 +1,197 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-machine-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-machine-callbacks.top_of_page">ags_machine_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_machine_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-machine-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-button-press-callback">ags_machine_button_press_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *handle_box</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-destroy-callback">ags_machine_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-done-callback">ags_machine_done_callback</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-open-response-callback">ags_machine_open_response_callback</link> (<parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-parent-set-callback">ags_machine_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-play-callback">ags_machine_play_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-popup-destroy-activate-callback">ags_machine_popup_destroy_activate_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-popup-hide-activate-callback">ags_machine_popup_hide_activate_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-popup-move-down-activate-callback">ags_machine_popup_move_down_activate_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-popup-move-up-activate-callback">ags_machine_popup_move_up_activate_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-popup-properties-activate-callback">ags_machine_popup_properties_activate_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-popup-rename-activate-callback">ags_machine_popup_rename_activate_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-popup-show-activate-callback">ags_machine_popup_show_activate_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-start-failure-callback">ags_machine_start_failure_callback</link> (<parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> *error</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-tact-callback">ags_machine_tact_callback</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-machine-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-machine-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-machine-button-press-callback" role="function">
+<title>ags_machine_button_press_callback ()</title>
+<indexterm zone="ags-machine-button-press-callback"><primary>ags_machine_button_press_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_button_press_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *handle_box</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-destroy-callback" role="function">
+<title>ags_machine_destroy_callback ()</title>
+<indexterm zone="ags-machine-destroy-callback"><primary>ags_machine_destroy_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-done-callback" role="function">
+<title>ags_machine_done_callback ()</title>
+<indexterm zone="ags-machine-done-callback"><primary>ags_machine_done_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_done_callback (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-open-response-callback" role="function">
+<title>ags_machine_open_response_callback ()</title>
+<indexterm zone="ags-machine-open-response-callback"><primary>ags_machine_open_response_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_open_response_callback (<parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-parent-set-callback" role="function">
+<title>ags_machine_parent_set_callback ()</title>
+<indexterm zone="ags-machine-parent-set-callback"><primary>ags_machine_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-play-callback" role="function">
+<title>ags_machine_play_callback ()</title>
+<indexterm zone="ags-machine-play-callback"><primary>ags_machine_play_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_play_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-popup-destroy-activate-callback" role="function">
+<title>ags_machine_popup_destroy_activate_callback ()</title>
+<indexterm zone="ags-machine-popup-destroy-activate-callback"><primary>ags_machine_popup_destroy_activate_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_popup_destroy_activate_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-popup-hide-activate-callback" role="function">
+<title>ags_machine_popup_hide_activate_callback ()</title>
+<indexterm zone="ags-machine-popup-hide-activate-callback"><primary>ags_machine_popup_hide_activate_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_popup_hide_activate_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-popup-move-down-activate-callback" role="function">
+<title>ags_machine_popup_move_down_activate_callback ()</title>
+<indexterm zone="ags-machine-popup-move-down-activate-callback"><primary>ags_machine_popup_move_down_activate_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_popup_move_down_activate_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-popup-move-up-activate-callback" role="function">
+<title>ags_machine_popup_move_up_activate_callback ()</title>
+<indexterm zone="ags-machine-popup-move-up-activate-callback"><primary>ags_machine_popup_move_up_activate_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_popup_move_up_activate_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-popup-properties-activate-callback" role="function">
+<title>ags_machine_popup_properties_activate_callback ()</title>
+<indexterm zone="ags-machine-popup-properties-activate-callback"><primary>ags_machine_popup_properties_activate_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_popup_properties_activate_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-popup-rename-activate-callback" role="function">
+<title>ags_machine_popup_rename_activate_callback ()</title>
+<indexterm zone="ags-machine-popup-rename-activate-callback"><primary>ags_machine_popup_rename_activate_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_popup_rename_activate_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-popup-show-activate-callback" role="function">
+<title>ags_machine_popup_show_activate_callback ()</title>
+<indexterm zone="ags-machine-popup-show-activate-callback"><primary>ags_machine_popup_show_activate_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_popup_show_activate_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-start-failure-callback" role="function">
+<title>ags_machine_start_failure_callback ()</title>
+<indexterm zone="ags-machine-start-failure-callback"><primary>ags_machine_start_failure_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_start_failure_callback (<parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> *error</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-tact-callback" role="function">
+<title>ags_machine_tact_callback ()</title>
+<indexterm zone="ags-machine-tact-callback"><primary>ags_machine_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_tact_callback (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine_editor.xml b/doc/reference/ags/xml/ags_machine_editor.xml
new file mode 100644
index 0000000..9fe3665
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine_editor.xml
@@ -0,0 +1,166 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMachineEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMachineEditor.top_of_page">AgsMachineEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMachineEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMachineEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-MACHINE-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-MACHINE-EDITOR-DEFAULT-VERSION:CAPS">AGS_MACHINE_EDITOR_DEFAULT_VERSION</link>
+struct <link linkend="AgsMachineEditor">AgsMachineEditor</link>;
+struct <link linkend="AgsMachineEditorClass">AgsMachineEditorClass</link>;
+enum <link linkend="AgsMachineEditorFlags">AgsMachineEditorFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-editor-add-children">ags_machine_editor_add_children</link> (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-editor-add-input">ags_machine_editor_add_input</link> (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-editor-add-output">ags_machine_editor_add_output</link> (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="AgsMachineEditor"><returnvalue>AgsMachineEditor</returnvalue></link> * <link linkend="ags-machine-editor-new">ags_machine_editor_new</link> (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-editor-remove-input">ags_machine_editor_remove_input</link> (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-editor-remove-output">ags_machine_editor_remove_output</link> (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-editor-set-machine">ags_machine_editor_set_machine</link> (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMachineEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMachineEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-MACHINE-EDITOR-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-MACHINE-EDITOR-DEFAULT-BUILD-ID:CAPS"><primary>AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-MACHINE-EDITOR-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_MACHINE_EDITOR_DEFAULT_VERSION</title>
+<indexterm zone="AGS-MACHINE-EDITOR-DEFAULT-VERSION:CAPS"><primary>AGS_MACHINE_EDITOR_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_MACHINE_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineEditor" role="struct">
+<title>struct AgsMachineEditor</title>
+<indexterm zone="AgsMachineEditor"><primary>AgsMachineEditor</primary></indexterm>
+<programlisting>struct AgsMachineEditor {
+ GtkDialog dialog;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsMachine *machine;
+
+ GtkNotebook *notebook;
+
+ GtkScrolledWindow *output_scrolled_window;
+ AgsListingEditor *output_editor;
+
+ GtkScrolledWindow *input_scrolled_window;
+ AgsListingEditor *input_editor;
+
+ GtkScrolledWindow *output_link_editor_scrolled_window;
+ AgsPropertyCollectionEditor *output_link_editor;
+
+ GtkScrolledWindow *input_link_editor_scrolled_window;
+ AgsPropertyCollectionEditor *input_link_editor;
+
+ GtkScrolledWindow *resize_editor_scrolled_window;
+ AgsResizeEditor *resize_editor;
+
+ GtkButton *add;
+ GtkButton *remove;
+ GtkButton *apply;
+ GtkButton *ok;
+ GtkButton *cancel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineEditorClass" role="struct">
+<title>struct AgsMachineEditorClass</title>
+<indexterm zone="AgsMachineEditorClass"><primary>AgsMachineEditorClass</primary></indexterm>
+<programlisting>struct AgsMachineEditorClass {
+ GtkDialogClass dialog;
+
+ void (*set_machine)(AgsMachineEditor *machine_editor,
+ AgsMachine *machine);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineEditorFlags" role="enum">
+<title>enum AgsMachineEditorFlags</title>
+<indexterm zone="AgsMachineEditorFlags"><primary>AgsMachineEditorFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_MACHINE_EDITOR_CLOSING = 1,
+} AgsMachineEditorFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-add-children" role="function">
+<title>ags_machine_editor_add_children ()</title>
+<indexterm zone="ags-machine-editor-add-children"><primary>ags_machine_editor_add_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_editor_add_children (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-add-input" role="function">
+<title>ags_machine_editor_add_input ()</title>
+<indexterm zone="ags-machine-editor-add-input"><primary>ags_machine_editor_add_input</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_editor_add_input (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-add-output" role="function">
+<title>ags_machine_editor_add_output ()</title>
+<indexterm zone="ags-machine-editor-add-output"><primary>ags_machine_editor_add_output</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_editor_add_output (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-new" role="function">
+<title>ags_machine_editor_new ()</title>
+<indexterm zone="ags-machine-editor-new"><primary>ags_machine_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsMachineEditor"><returnvalue>AgsMachineEditor</returnvalue></link> * ags_machine_editor_new (<parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-remove-input" role="function">
+<title>ags_machine_editor_remove_input ()</title>
+<indexterm zone="ags-machine-editor-remove-input"><primary>ags_machine_editor_remove_input</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_editor_remove_input (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-remove-output" role="function">
+<title>ags_machine_editor_remove_output ()</title>
+<indexterm zone="ags-machine-editor-remove-output"><primary>ags_machine_editor_remove_output</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_editor_remove_output (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-set-machine" role="function">
+<title>ags_machine_editor_set_machine ()</title>
+<indexterm zone="ags-machine-editor-set-machine"><primary>ags_machine_editor_set_machine</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_editor_set_machine (<parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine_editor_callbacks.xml b/doc/reference/ags/xml/ags_machine_editor_callbacks.xml
new file mode 100644
index 0000000..870f213
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine_editor_callbacks.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-machine-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-machine-editor-callbacks.top_of_page">ags_machine_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_machine_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-machine-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-add-callback">ags_machine_editor_add_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-apply-callback">ags_machine_editor_apply_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-back-callback">ags_machine_editor_back_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-cancel-callback">ags_machine_editor_cancel_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-destroy-callback">ags_machine_editor_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-ok-callback">ags_machine_editor_ok_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-parent-set-callback">ags_machine_editor_parent_set_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-remove-callback">ags_machine_editor_remove_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-show-callback">ags_machine_editor_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-machine-editor-switch-page-callback">ags_machine_editor_switch_page_callback</link>
+ (<parameter><link linkend="GtkNotebook"><type>GtkNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GtkNotebookPage"><type>GtkNotebookPage</type></link> *page</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> page_num</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-machine-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-machine-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-machine-editor-add-callback" role="function">
+<title>ags_machine_editor_add_callback ()</title>
+<indexterm zone="ags-machine-editor-add-callback"><primary>ags_machine_editor_add_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_add_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-apply-callback" role="function">
+<title>ags_machine_editor_apply_callback ()</title>
+<indexterm zone="ags-machine-editor-apply-callback"><primary>ags_machine_editor_apply_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_apply_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-back-callback" role="function">
+<title>ags_machine_editor_back_callback ()</title>
+<indexterm zone="ags-machine-editor-back-callback"><primary>ags_machine_editor_back_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_back_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-cancel-callback" role="function">
+<title>ags_machine_editor_cancel_callback ()</title>
+<indexterm zone="ags-machine-editor-cancel-callback"><primary>ags_machine_editor_cancel_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_cancel_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-destroy-callback" role="function">
+<title>ags_machine_editor_destroy_callback ()</title>
+<indexterm zone="ags-machine-editor-destroy-callback"><primary>ags_machine_editor_destroy_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-ok-callback" role="function">
+<title>ags_machine_editor_ok_callback ()</title>
+<indexterm zone="ags-machine-editor-ok-callback"><primary>ags_machine_editor_ok_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_ok_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-parent-set-callback" role="function">
+<title>ags_machine_editor_parent_set_callback ()</title>
+<indexterm zone="ags-machine-editor-parent-set-callback"><primary>ags_machine_editor_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_parent_set_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-remove-callback" role="function">
+<title>ags_machine_editor_remove_callback ()</title>
+<indexterm zone="ags-machine-editor-remove-callback"><primary>ags_machine_editor_remove_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_remove_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-show-callback" role="function">
+<title>ags_machine_editor_show_callback ()</title>
+<indexterm zone="ags-machine-editor-show-callback"><primary>ags_machine_editor_show_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-editor-switch-page-callback" role="function">
+<title>ags_machine_editor_switch_page_callback ()</title>
+<indexterm zone="ags-machine-editor-switch-page-callback"><primary>ags_machine_editor_switch_page_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_machine_editor_switch_page_callback
+ (<parameter><link linkend="GtkNotebook"><type>GtkNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GtkNotebookPage"><type>GtkNotebookPage</type></link> *page</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> page_num</parameter>,
+ <parameter><link linkend="AgsMachineEditor"><type>AgsMachineEditor</type></link> *machine_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine_radio_button.xml b/doc/reference/ags/xml/ags_machine_radio_button.xml
new file mode 100644
index 0000000..d4bb4ea
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine_radio_button.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMachineRadioButton">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMachineRadioButton.top_of_page">AgsMachineRadioButton</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMachineRadioButton</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMachineRadioButton.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMachineRadioButton">AgsMachineRadioButton</link>;
+struct <link linkend="AgsMachineRadioButtonClass">AgsMachineRadioButtonClass</link>;
+<link linkend="AgsMachineRadioButton"><returnvalue>AgsMachineRadioButton</returnvalue></link> * <link linkend="ags-machine-radio-button-new">ags_machine_radio_button_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMachineRadioButton.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMachineRadioButton.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMachineRadioButton" role="struct">
+<title>struct AgsMachineRadioButton</title>
+<indexterm zone="AgsMachineRadioButton"><primary>AgsMachineRadioButton</primary></indexterm>
+<programlisting>struct AgsMachineRadioButton {
+ GtkRadioButton radio_button;
+
+ AgsMachine *machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineRadioButtonClass" role="struct">
+<title>struct AgsMachineRadioButtonClass</title>
+<indexterm zone="AgsMachineRadioButtonClass"><primary>AgsMachineRadioButtonClass</primary></indexterm>
+<programlisting>struct AgsMachineRadioButtonClass {
+ GtkRadioButtonClass radio_button;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-radio-button-new" role="function">
+<title>ags_machine_radio_button_new ()</title>
+<indexterm zone="ags-machine-radio-button-new"><primary>ags_machine_radio_button_new</primary></indexterm>
+<programlisting><link linkend="AgsMachineRadioButton"><returnvalue>AgsMachineRadioButton</returnvalue></link> * ags_machine_radio_button_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine_selection.xml b/doc/reference/ags/xml/ags_machine_selection.xml
new file mode 100644
index 0000000..75adaca
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine_selection.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMachineSelection">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMachineSelection.top_of_page">AgsMachineSelection</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMachineSelection</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMachineSelection.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMachineSelection">AgsMachineSelection</link>;
+struct <link linkend="AgsMachineSelectionClass">AgsMachineSelectionClass</link>;
+<link linkend="AgsMachineSelection"><returnvalue>AgsMachineSelection</returnvalue></link> * <link linkend="ags-machine-selection-new">ags_machine_selection_new</link> (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>);
+<link linkend="AgsMachine"><returnvalue>AgsMachine</returnvalue></link> * <link linkend="ags-machine-selection-run">ags_machine_selection_run</link> (<parameter><link linkend="AgsMachineSelection"><type>AgsMachineSelection</type></link> *machine_selection</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMachineSelection.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMachineSelection.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMachineSelection" role="struct">
+<title>struct AgsMachineSelection</title>
+<indexterm zone="AgsMachineSelection"><primary>AgsMachineSelection</primary></indexterm>
+<programlisting>struct AgsMachineSelection {
+ GtkDialog dialog;
+
+ AgsWindow *window;
+ GList *machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineSelectionClass" role="struct">
+<title>struct AgsMachineSelectionClass</title>
+<indexterm zone="AgsMachineSelectionClass"><primary>AgsMachineSelectionClass</primary></indexterm>
+<programlisting>struct AgsMachineSelectionClass {
+ GtkDialogClass dialog;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selection-new" role="function">
+<title>ags_machine_selection_new ()</title>
+<indexterm zone="ags-machine-selection-new"><primary>ags_machine_selection_new</primary></indexterm>
+<programlisting><link linkend="AgsMachineSelection"><returnvalue>AgsMachineSelection</returnvalue></link> * ags_machine_selection_new (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selection-run" role="function">
+<title>ags_machine_selection_run ()</title>
+<indexterm zone="ags-machine-selection-run"><primary>ags_machine_selection_run</primary></indexterm>
+<programlisting><link linkend="AgsMachine"><returnvalue>AgsMachine</returnvalue></link> * ags_machine_selection_run (<parameter><link linkend="AgsMachineSelection"><type>AgsMachineSelection</type></link> *machine_selection</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine_selector.xml b/doc/reference/ags/xml/ags_machine_selector.xml
new file mode 100644
index 0000000..7b8c993
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine_selector.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMachineSelector">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMachineSelector.top_of_page">AgsMachineSelector</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMachineSelector</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMachineSelector.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMachineSelector">AgsMachineSelector</link>;
+struct <link linkend="AgsMachineSelectorClass">AgsMachineSelectorClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-selector-changed">ags_machine_selector_changed</link> (<parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);
+<link linkend="AgsMachineSelector"><returnvalue>AgsMachineSelector</returnvalue></link> * <link linkend="ags-machine-selector-new">ags_machine_selector_new</link> ();
+<link linkend="GtkMenu"><returnvalue>GtkMenu</returnvalue></link> * <link linkend="ags-machine-selector-popup-new">ags_machine_selector_popup_new</link> (<parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMachineSelector.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMachineSelector.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMachineSelector" role="struct">
+<title>struct AgsMachineSelector</title>
+<indexterm zone="AgsMachineSelector"><primary>AgsMachineSelector</primary></indexterm>
+<programlisting>struct AgsMachineSelector {
+ GtkVBox vbox;
+
+ GtkMenu *popup;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineSelectorClass" role="struct">
+<title>struct AgsMachineSelectorClass</title>
+<indexterm zone="AgsMachineSelectorClass"><primary>AgsMachineSelectorClass</primary></indexterm>
+<programlisting>struct AgsMachineSelectorClass {
+ GtkVBoxClass vbox;
+
+ void (*changed)(AgsMachineSelector *machine_selector, AgsMachine *machine);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-changed" role="function">
+<title>ags_machine_selector_changed ()</title>
+<indexterm zone="ags-machine-selector-changed"><primary>ags_machine_selector_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_selector_changed (<parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-new" role="function">
+<title>ags_machine_selector_new ()</title>
+<indexterm zone="ags-machine-selector-new"><primary>ags_machine_selector_new</primary></indexterm>
+<programlisting><link linkend="AgsMachineSelector"><returnvalue>AgsMachineSelector</returnvalue></link> * ags_machine_selector_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-popup-new" role="function">
+<title>ags_machine_selector_popup_new ()</title>
+<indexterm zone="ags-machine-selector-popup-new"><primary>ags_machine_selector_popup_new</primary></indexterm>
+<programlisting><link linkend="GtkMenu"><returnvalue>GtkMenu</returnvalue></link> * ags_machine_selector_popup_new (<parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_machine_selector_callbacks.xml b/doc/reference/ags/xml/ags_machine_selector_callbacks.xml
new file mode 100644
index 0000000..7367677
--- /dev/null
+++ b/doc/reference/ags/xml/ags_machine_selector_callbacks.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-machine-selector-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-machine-selector-callbacks.top_of_page">ags_machine_selector_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_machine_selector_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-machine-selector-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-selector-popup-add-index-callback">ags_machine_selector_popup_add_index_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-selector-popup-add-tab-callback">ags_machine_selector_popup_add_tab_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-selector-popup-link-index-callback">ags_machine_selector_popup_link_index_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-selector-popup-remove-index-callback">ags_machine_selector_popup_remove_index_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-selector-popup-remove-tab-callback">ags_machine_selector_popup_remove_tab_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-machine-selector-radio-changed">ags_machine_selector_radio_changed</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *radio_button</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-machine-selector-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-machine-selector-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-machine-selector-popup-add-index-callback" role="function">
+<title>ags_machine_selector_popup_add_index_callback ()</title>
+<indexterm zone="ags-machine-selector-popup-add-index-callback"><primary>ags_machine_selector_popup_add_index_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_selector_popup_add_index_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-popup-add-tab-callback" role="function">
+<title>ags_machine_selector_popup_add_tab_callback ()</title>
+<indexterm zone="ags-machine-selector-popup-add-tab-callback"><primary>ags_machine_selector_popup_add_tab_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_selector_popup_add_tab_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-popup-link-index-callback" role="function">
+<title>ags_machine_selector_popup_link_index_callback ()</title>
+<indexterm zone="ags-machine-selector-popup-link-index-callback"><primary>ags_machine_selector_popup_link_index_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_selector_popup_link_index_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-popup-remove-index-callback" role="function">
+<title>ags_machine_selector_popup_remove_index_callback ()</title>
+<indexterm zone="ags-machine-selector-popup-remove-index-callback"><primary>ags_machine_selector_popup_remove_index_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_selector_popup_remove_index_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-popup-remove-tab-callback" role="function">
+<title>ags_machine_selector_popup_remove_tab_callback ()</title>
+<indexterm zone="ags-machine-selector-popup-remove-tab-callback"><primary>ags_machine_selector_popup_remove_tab_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_selector_popup_remove_tab_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-selector-radio-changed" role="function">
+<title>ags_machine_selector_radio_changed ()</title>
+<indexterm zone="ags-machine-selector-radio-changed"><primary>ags_machine_selector_radio_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_machine_selector_radio_changed (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *radio_button</parameter>,
+ <parameter><link linkend="AgsMachineSelector"><type>AgsMachineSelector</type></link> *machine_selector</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_main_loop.xml b/doc/reference/ags/xml/ags_main_loop.xml
new file mode 100644
index 0000000..c71e93e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_main_loop.xml
@@ -0,0 +1,111 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMainLoop">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMainLoop.top_of_page">AgsMainLoop</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMainLoop</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMainLoop.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsMainLoop">AgsMainLoop</link>;
+struct <link linkend="AgsMainLoopInterface">AgsMainLoopInterface</link>;
+<link linkend="AgsAsyncQueue"><returnvalue>AgsAsyncQueue</returnvalue></link> * <link linkend="ags-main-loop-get-async-queue">ags_main_loop_get_async_queue</link> (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>);
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-main-loop-get-last-sync">ags_main_loop_get_last_sync</link> (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>);
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-main-loop-get-tic">ags_main_loop_get_tic</link> (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-loop-set-async-queue">ags_main_loop_set_async_queue</link> (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>,
+ <parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-loop-set-last-sync">ags_main_loop_set_last_sync</link> (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> last_sync</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-loop-set-tic">ags_main_loop_set_tic</link> (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMainLoop.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMainLoop.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMainLoop" role="typedef">
+<title>AgsMainLoop</title>
+<indexterm zone="AgsMainLoop"><primary>AgsMainLoop</primary></indexterm>
+<programlisting>typedef void AgsMainLoop;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMainLoopInterface" role="struct">
+<title>struct AgsMainLoopInterface</title>
+<indexterm zone="AgsMainLoopInterface"><primary>AgsMainLoopInterface</primary></indexterm>
+<programlisting>struct AgsMainLoopInterface {
+ GTypeInterface interface;
+
+ void (*set_async_queue)(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue);
+ AgsAsyncQueue* (*get_async_queue)(AgsMainLoop *main_loop);
+
+ void (*set_tic)(AgsMainLoop *main_loop, guint tic);
+ guint (*get_tic)(AgsMainLoop *main_loop);
+
+ void (*set_last_sync)(AgsMainLoop *main_loop, guint last_sync);
+ guint (*get_last_sync)(AgsMainLoop *main_loop);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-loop-get-async-queue" role="function">
+<title>ags_main_loop_get_async_queue ()</title>
+<indexterm zone="ags-main-loop-get-async-queue"><primary>ags_main_loop_get_async_queue</primary></indexterm>
+<programlisting><link linkend="AgsAsyncQueue"><returnvalue>AgsAsyncQueue</returnvalue></link> * ags_main_loop_get_async_queue (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-loop-get-last-sync" role="function">
+<title>ags_main_loop_get_last_sync ()</title>
+<indexterm zone="ags-main-loop-get-last-sync"><primary>ags_main_loop_get_last_sync</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_main_loop_get_last_sync (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-loop-get-tic" role="function">
+<title>ags_main_loop_get_tic ()</title>
+<indexterm zone="ags-main-loop-get-tic"><primary>ags_main_loop_get_tic</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_main_loop_get_tic (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-loop-set-async-queue" role="function">
+<title>ags_main_loop_set_async_queue ()</title>
+<indexterm zone="ags-main-loop-set-async-queue"><primary>ags_main_loop_set_async_queue</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_loop_set_async_queue (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>,
+ <parameter><link linkend="AgsAsyncQueue"><type>AgsAsyncQueue</type></link> *async_queue</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-loop-set-last-sync" role="function">
+<title>ags_main_loop_set_last_sync ()</title>
+<indexterm zone="ags-main-loop-set-last-sync"><primary>ags_main_loop_set_last_sync</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_loop_set_last_sync (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> last_sync</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-loop-set-tic" role="function">
+<title>ags_main_loop_set_tic ()</title>
+<indexterm zone="ags-main-loop-set-tic"><primary>ags_main_loop_set_tic</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_loop_set_tic (<parameter><link linkend="AgsMainLoop"><type>AgsMainLoop</type></link> *main_loop</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_marshal.xml b/doc/reference/ags/xml/ags_marshal.xml
new file mode 100644
index 0000000..64fdbe5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_marshal.xml
@@ -0,0 +1,414 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-marshal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-marshal.top_of_page">ags_marshal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_marshal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-marshal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-BOOLEAN--OBJECT-OBJECT">g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-OBJECT--OBJECT-OBJECT">g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-OBJECT--OBJECT-POINTER-POINTER">g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-OBJECT--STRING-STRING-STRING">g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-OBJECT--VOID">g_cclosure_user_marshal_OBJECT__VOID</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-STRING--ULONG-STRING-STRING-STRING-STRING-UINT-POINTER">g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-ULONG--VOID">g_cclosure_user_marshal_ULONG__VOID</link> (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--DOUBLE-DOUBLE">g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT">g_cclosure_user_marshal_VOID__OBJECT_OBJECT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-INT-BOOLEAN">g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT">g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-UINT-INT-BOOLEAN">g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--OBJECT-UINT">g_cclosure_user_marshal_VOID__OBJECT_UINT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--STRING-POINTER">g_cclosure_user_marshal_VOID__STRING_POINTER</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--UINT-DOUBLE">g_cclosure_user_marshal_VOID__UINT_DOUBLE</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--UINT-INT">g_cclosure_user_marshal_VOID__UINT_INT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--UINT-UINT">g_cclosure_user_marshal_VOID__UINT_UINT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--UINT-UINT-UINT">g_cclosure_user_marshal_VOID__UINT_UINT_UINT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--ULONG-UINT">g_cclosure_user_marshal_VOID__ULONG_UINT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="g-cclosure-user-marshal-VOID--ULONG-UINT-UINT">g_cclosure_user_marshal_VOID__ULONG_UINT_UINT</link>
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-marshal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-marshal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="g-cclosure-user-marshal-BOOLEAN--OBJECT-OBJECT" role="function">
+<title>g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT ()</title>
+<indexterm zone="g-cclosure-user-marshal-BOOLEAN--OBJECT-OBJECT"><primary>g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-OBJECT--OBJECT-OBJECT" role="function">
+<title>g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT ()</title>
+<indexterm zone="g-cclosure-user-marshal-OBJECT--OBJECT-OBJECT"><primary>g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-OBJECT--OBJECT-POINTER-POINTER" role="function">
+<title>g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER ()</title>
+<indexterm zone="g-cclosure-user-marshal-OBJECT--OBJECT-POINTER-POINTER"><primary>g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-OBJECT--STRING-STRING-STRING" role="function">
+<title>g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING ()</title>
+<indexterm zone="g-cclosure-user-marshal-OBJECT--STRING-STRING-STRING"><primary>g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-OBJECT--VOID" role="function">
+<title>g_cclosure_user_marshal_OBJECT__VOID ()</title>
+<indexterm zone="g-cclosure-user-marshal-OBJECT--VOID"><primary>g_cclosure_user_marshal_OBJECT__VOID</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_OBJECT__VOID
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-STRING--ULONG-STRING-STRING-STRING-STRING-UINT-POINTER" role="function">
+<title>g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER ()</title>
+<indexterm zone="g-cclosure-user-marshal-STRING--ULONG-STRING-STRING-STRING-STRING-UINT-POINTER"><primary>g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-ULONG--VOID" role="function">
+<title>g_cclosure_user_marshal_ULONG__VOID ()</title>
+<indexterm zone="g-cclosure-user-marshal-ULONG--VOID"><primary>g_cclosure_user_marshal_ULONG__VOID</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_ULONG__VOID (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--DOUBLE-DOUBLE" role="function">
+<title>g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--DOUBLE-DOUBLE"><primary>g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--OBJECT-OBJECT" role="function">
+<title>g_cclosure_user_marshal_VOID__OBJECT_OBJECT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--OBJECT-OBJECT"><primary>g_cclosure_user_marshal_VOID__OBJECT_OBJECT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__OBJECT_OBJECT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-INT-BOOLEAN" role="function">
+<title>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-INT-BOOLEAN"><primary>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT" role="function">
+<title>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT"><primary>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-UINT-INT-BOOLEAN" role="function">
+<title>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-UINT-INT-BOOLEAN"><primary>g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--OBJECT-UINT" role="function">
+<title>g_cclosure_user_marshal_VOID__OBJECT_UINT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--OBJECT-UINT"><primary>g_cclosure_user_marshal_VOID__OBJECT_UINT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__OBJECT_UINT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--STRING-POINTER" role="function">
+<title>g_cclosure_user_marshal_VOID__STRING_POINTER ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--STRING-POINTER"><primary>g_cclosure_user_marshal_VOID__STRING_POINTER</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__STRING_POINTER
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--UINT-DOUBLE" role="function">
+<title>g_cclosure_user_marshal_VOID__UINT_DOUBLE ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--UINT-DOUBLE"><primary>g_cclosure_user_marshal_VOID__UINT_DOUBLE</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__UINT_DOUBLE
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--UINT-INT" role="function">
+<title>g_cclosure_user_marshal_VOID__UINT_INT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--UINT-INT"><primary>g_cclosure_user_marshal_VOID__UINT_INT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__UINT_INT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--UINT-UINT" role="function">
+<title>g_cclosure_user_marshal_VOID__UINT_UINT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--UINT-UINT"><primary>g_cclosure_user_marshal_VOID__UINT_UINT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__UINT_UINT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--UINT-UINT-UINT" role="function">
+<title>g_cclosure_user_marshal_VOID__UINT_UINT_UINT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--UINT-UINT-UINT"><primary>g_cclosure_user_marshal_VOID__UINT_UINT_UINT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__UINT_UINT_UINT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--ULONG-UINT" role="function">
+<title>g_cclosure_user_marshal_VOID__ULONG_UINT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--ULONG-UINT"><primary>g_cclosure_user_marshal_VOID__ULONG_UINT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__ULONG_UINT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="g-cclosure-user-marshal-VOID--ULONG-UINT-UINT" role="function">
+<title>g_cclosure_user_marshal_VOID__ULONG_UINT_UINT ()</title>
+<indexterm zone="g-cclosure-user-marshal-VOID--ULONG-UINT-UINT"><primary>g_cclosure_user_marshal_VOID__ULONG_UINT_UINT</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> g_cclosure_user_marshal_VOID__ULONG_UINT_UINT
+ (<parameter><link linkend="GClosure"><type>GClosure</type></link> *closure</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *return_value</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> n_param_values</parameter>,
+ <parameter>const <link linkend="GValue"><type>GValue</type></link> *param_values</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> invocation_hint</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> marshal_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_matrix.xml b/doc/reference/ags/xml/ags_matrix.xml
new file mode 100644
index 0000000..fe47e44
--- /dev/null
+++ b/doc/reference/ags/xml/ags_matrix.xml
@@ -0,0 +1,185 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMatrix">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMatrix.top_of_page">AgsMatrix</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMatrix</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMatrix.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-MATRIX-CELL-HEIGHT:CAPS">AGS_MATRIX_CELL_HEIGHT</link>
+#define <link linkend="AGS-MATRIX-CELL-WIDTH:CAPS">AGS_MATRIX_CELL_WIDTH</link>
+#define <link linkend="AGS-MATRIX-OCTAVE:CAPS">AGS_MATRIX_OCTAVE</link>
+#define <link linkend="AGS-MATRIX-PATTERN-CONTROLS:CAPS">AGS_MATRIX_PATTERN_CONTROLS</link>
+struct <link linkend="AgsMatrix">AgsMatrix</link>;
+struct <link linkend="AgsMatrixClass">AgsMatrixClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-draw-gutter">ags_matrix_draw_gutter</link> (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-draw-matrix">ags_matrix_draw_matrix</link> (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-highlight-gutter-point">ags_matrix_highlight_gutter_point</link> (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-input-map-recall">ags_matrix_input_map_recall</link> (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> input_pad_start</parameter>);
+<link linkend="AgsMatrix"><returnvalue>AgsMatrix</returnvalue></link> * <link linkend="ags-matrix-new">ags_matrix_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-output-map-recall">ags_matrix_output_map_recall</link> (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> output_pad_start</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-redraw-gutter-point">ags_matrix_redraw_gutter_point</link> (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-unpaint-gutter-point">ags_matrix_unpaint_gutter_point</link> (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMatrix.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMatrix.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-MATRIX-CELL-HEIGHT:CAPS" role="macro">
+<title>AGS_MATRIX_CELL_HEIGHT</title>
+<indexterm zone="AGS-MATRIX-CELL-HEIGHT:CAPS"><primary>AGS_MATRIX_CELL_HEIGHT</primary></indexterm>
+<programlisting>#define AGS_MATRIX_CELL_HEIGHT 10
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-MATRIX-CELL-WIDTH:CAPS" role="macro">
+<title>AGS_MATRIX_CELL_WIDTH</title>
+<indexterm zone="AGS-MATRIX-CELL-WIDTH:CAPS"><primary>AGS_MATRIX_CELL_WIDTH</primary></indexterm>
+<programlisting>#define AGS_MATRIX_CELL_WIDTH 12
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-MATRIX-OCTAVE:CAPS" role="macro">
+<title>AGS_MATRIX_OCTAVE</title>
+<indexterm zone="AGS-MATRIX-OCTAVE:CAPS"><primary>AGS_MATRIX_OCTAVE</primary></indexterm>
+<programlisting>#define AGS_MATRIX_OCTAVE 10
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-MATRIX-PATTERN-CONTROLS:CAPS" role="macro">
+<title>AGS_MATRIX_PATTERN_CONTROLS</title>
+<indexterm zone="AGS-MATRIX-PATTERN-CONTROLS:CAPS"><primary>AGS_MATRIX_PATTERN_CONTROLS</primary></indexterm>
+<programlisting>#define AGS_MATRIX_PATTERN_CONTROLS (16)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMatrix" role="struct">
+<title>struct AgsMatrix</title>
+<indexterm zone="AgsMatrix"><primary>AgsMatrix</primary></indexterm>
+<programlisting>struct AgsMatrix {
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ guint mapped_output_pad;
+ guint mapped_input_pad;
+
+ GtkTable *table;
+
+ GtkToggleButton *run;
+ GtkToggleButton *selected;
+ GtkToggleButton *index[9];
+
+ GtkDrawingArea *drawing_area;
+ guint active_led;
+ GtkHBox *led;
+
+ GtkAdjustment *adjustment;
+
+ GtkSpinButton *length_spin;
+ GtkCheckButton *loop_button;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMatrixClass" role="struct">
+<title>struct AgsMatrixClass</title>
+<indexterm zone="AgsMatrixClass"><primary>AgsMatrixClass</primary></indexterm>
+<programlisting>struct AgsMatrixClass {
+ AgsMachineClass machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-draw-gutter" role="function">
+<title>ags_matrix_draw_gutter ()</title>
+<indexterm zone="ags-matrix-draw-gutter"><primary>ags_matrix_draw_gutter</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_draw_gutter (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-draw-matrix" role="function">
+<title>ags_matrix_draw_matrix ()</title>
+<indexterm zone="ags-matrix-draw-matrix"><primary>ags_matrix_draw_matrix</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_draw_matrix (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-highlight-gutter-point" role="function">
+<title>ags_matrix_highlight_gutter_point ()</title>
+<indexterm zone="ags-matrix-highlight-gutter-point"><primary>ags_matrix_highlight_gutter_point</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_highlight_gutter_point (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-input-map-recall" role="function">
+<title>ags_matrix_input_map_recall ()</title>
+<indexterm zone="ags-matrix-input-map-recall"><primary>ags_matrix_input_map_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_input_map_recall (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> input_pad_start</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-new" role="function">
+<title>ags_matrix_new ()</title>
+<indexterm zone="ags-matrix-new"><primary>ags_matrix_new</primary></indexterm>
+<programlisting><link linkend="AgsMatrix"><returnvalue>AgsMatrix</returnvalue></link> * ags_matrix_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-output-map-recall" role="function">
+<title>ags_matrix_output_map_recall ()</title>
+<indexterm zone="ags-matrix-output-map-recall"><primary>ags_matrix_output_map_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_output_map_recall (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> output_pad_start</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-redraw-gutter-point" role="function">
+<title>ags_matrix_redraw_gutter_point ()</title>
+<indexterm zone="ags-matrix-redraw-gutter-point"><primary>ags_matrix_redraw_gutter_point</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_redraw_gutter_point (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-unpaint-gutter-point" role="function">
+<title>ags_matrix_unpaint_gutter_point ()</title>
+<indexterm zone="ags-matrix-unpaint-gutter-point"><primary>ags_matrix_unpaint_gutter_point</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_unpaint_gutter_point (<parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_matrix_callbacks.xml b/doc/reference/ags/xml/ags_matrix_callbacks.xml
new file mode 100644
index 0000000..64d7630
--- /dev/null
+++ b/doc/reference/ags/xml/ags_matrix_callbacks.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-matrix-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-matrix-callbacks.top_of_page">ags_matrix_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_matrix_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-matrix-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-adjustment-value-changed-callback">ags_matrix_adjustment_value_changed_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-bpm-callback">ags_matrix_bpm_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-done-callback">ags_matrix_done_callback</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-matrix-drawing-area-button-press-callback">ags_matrix_drawing_area_button_press_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-matrix-drawing-area-expose-callback">ags_matrix_drawing_area_expose_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-index-callback">ags_matrix_index_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-length-spin-callback">ags_matrix_length_spin_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-loop-button-callback">ags_matrix_loop_button_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-parent-set-callback">ags_matrix_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-matrix-tact-callback">ags_matrix_tact_callback</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-matrix-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-matrix-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-matrix-adjustment-value-changed-callback" role="function">
+<title>ags_matrix_adjustment_value_changed_callback ()</title>
+<indexterm zone="ags-matrix-adjustment-value-changed-callback"><primary>ags_matrix_adjustment_value_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_adjustment_value_changed_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-bpm-callback" role="function">
+<title>ags_matrix_bpm_callback ()</title>
+<indexterm zone="ags-matrix-bpm-callback"><primary>ags_matrix_bpm_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_bpm_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-done-callback" role="function">
+<title>ags_matrix_done_callback ()</title>
+<indexterm zone="ags-matrix-done-callback"><primary>ags_matrix_done_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_done_callback (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-drawing-area-button-press-callback" role="function">
+<title>ags_matrix_drawing_area_button_press_callback ()</title>
+<indexterm zone="ags-matrix-drawing-area-button-press-callback"><primary>ags_matrix_drawing_area_button_press_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_matrix_drawing_area_button_press_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-drawing-area-expose-callback" role="function">
+<title>ags_matrix_drawing_area_expose_callback ()</title>
+<indexterm zone="ags-matrix-drawing-area-expose-callback"><primary>ags_matrix_drawing_area_expose_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_matrix_drawing_area_expose_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-index-callback" role="function">
+<title>ags_matrix_index_callback ()</title>
+<indexterm zone="ags-matrix-index-callback"><primary>ags_matrix_index_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_index_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-length-spin-callback" role="function">
+<title>ags_matrix_length_spin_callback ()</title>
+<indexterm zone="ags-matrix-length-spin-callback"><primary>ags_matrix_length_spin_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_length_spin_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-loop-button-callback" role="function">
+<title>ags_matrix_loop_button_callback ()</title>
+<indexterm zone="ags-matrix-loop-button-callback"><primary>ags_matrix_loop_button_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_loop_button_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *button</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-parent-set-callback" role="function">
+<title>ags_matrix_parent_set_callback ()</title>
+<indexterm zone="ags-matrix-parent-set-callback"><primary>ags_matrix_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-matrix-tact-callback" role="function">
+<title>ags_matrix_tact_callback ()</title>
+<indexterm zone="ags-matrix-tact-callback"><primary>ags_matrix_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_matrix_tact_callback (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="AgsMatrix"><type>AgsMatrix</type></link> *matrix</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_menu.xml b/doc/reference/ags/xml/ags_menu.xml
new file mode 100644
index 0000000..174dc78
--- /dev/null
+++ b/doc/reference/ags/xml/ags_menu.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMenu">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMenu.top_of_page">AgsMenu</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMenu</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMenu.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMenu">AgsMenu</link>;
+struct <link linkend="AgsMenuClass">AgsMenuClass</link>;
+<link linkend="AgsMenu"><returnvalue>AgsMenu</returnvalue></link> * <link linkend="ags-menu-new">ags_menu_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMenu.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMenu.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMenu" role="struct">
+<title>struct AgsMenu</title>
+<indexterm zone="AgsMenu"><primary>AgsMenu</primary></indexterm>
+<programlisting>struct AgsMenu {
+ GtkWindow window;
+
+ AgsTable *table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMenuClass" role="struct">
+<title>struct AgsMenuClass</title>
+<indexterm zone="AgsMenuClass"><primary>AgsMenuClass</primary></indexterm>
+<programlisting>struct AgsMenuClass {
+ GtkWindowClass window;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-new" role="function">
+<title>ags_menu_new ()</title>
+<indexterm zone="ags-menu-new"><primary>ags_menu_new</primary></indexterm>
+<programlisting><link linkend="AgsMenu"><returnvalue>AgsMenu</returnvalue></link> * ags_menu_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_menu_bar.xml b/doc/reference/ags/xml/ags_menu_bar.xml
new file mode 100644
index 0000000..bee884a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_menu_bar.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMenuBar">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMenuBar.top_of_page">AgsMenuBar</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMenuBar</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMenuBar.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMenuBar">AgsMenuBar</link>;
+struct <link linkend="AgsMenuBarClass">AgsMenuBarClass</link>;
+<link linkend="AgsMenuBar"><returnvalue>AgsMenuBar</returnvalue></link> * <link linkend="ags-menu-bar-new">ags_menu_bar_new</link> ();
+<link linkend="GtkComboBox"><returnvalue>GtkComboBox</returnvalue></link> * <link linkend="ags-tact-combo-box-new">ags_tact_combo_box_new</link> ();
+<link linkend="GtkMenu"><returnvalue>GtkMenu</returnvalue></link> * <link linkend="ags-tact-menu-new">ags_tact_menu_new</link> ();
+<link linkend="GtkComboBox"><returnvalue>GtkComboBox</returnvalue></link> * <link linkend="ags-zoom-combo-box-new">ags_zoom_combo_box_new</link> ();
+<link linkend="GtkMenu"><returnvalue>GtkMenu</returnvalue></link> * <link linkend="ags-zoom-menu-new">ags_zoom_menu_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMenuBar.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMenuBar.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMenuBar" role="struct">
+<title>struct AgsMenuBar</title>
+<indexterm zone="AgsMenuBar"><primary>AgsMenuBar</primary></indexterm>
+<programlisting>struct AgsMenuBar {
+ GtkMenuBar menu_bar;
+
+ GtkMenu *file;
+ GtkMenu *edit;
+ GtkMenu *add;
+ GtkMenu *help;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMenuBarClass" role="struct">
+<title>struct AgsMenuBarClass</title>
+<indexterm zone="AgsMenuBarClass"><primary>AgsMenuBarClass</primary></indexterm>
+<programlisting>struct AgsMenuBarClass {
+ GtkMenuBarClass menu_bar;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-new" role="function">
+<title>ags_menu_bar_new ()</title>
+<indexterm zone="ags-menu-bar-new"><primary>ags_menu_bar_new</primary></indexterm>
+<programlisting><link linkend="AgsMenuBar"><returnvalue>AgsMenuBar</returnvalue></link> * ags_menu_bar_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tact-combo-box-new" role="function">
+<title>ags_tact_combo_box_new ()</title>
+<indexterm zone="ags-tact-combo-box-new"><primary>ags_tact_combo_box_new</primary></indexterm>
+<programlisting><link linkend="GtkComboBox"><returnvalue>GtkComboBox</returnvalue></link> * ags_tact_combo_box_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tact-menu-new" role="function">
+<title>ags_tact_menu_new ()</title>
+<indexterm zone="ags-tact-menu-new"><primary>ags_tact_menu_new</primary></indexterm>
+<programlisting><link linkend="GtkMenu"><returnvalue>GtkMenu</returnvalue></link> * ags_tact_menu_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-zoom-combo-box-new" role="function">
+<title>ags_zoom_combo_box_new ()</title>
+<indexterm zone="ags-zoom-combo-box-new"><primary>ags_zoom_combo_box_new</primary></indexterm>
+<programlisting><link linkend="GtkComboBox"><returnvalue>GtkComboBox</returnvalue></link> * ags_zoom_combo_box_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-zoom-menu-new" role="function">
+<title>ags_zoom_menu_new ()</title>
+<indexterm zone="ags-zoom-menu-new"><primary>ags_zoom_menu_new</primary></indexterm>
+<programlisting><link linkend="GtkMenu"><returnvalue>GtkMenu</returnvalue></link> * ags_zoom_menu_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_menu_bar_callbacks.xml b/doc/reference/ags/xml/ags_menu_bar_callbacks.xml
new file mode 100644
index 0000000..971b01d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_menu_bar_callbacks.xml
@@ -0,0 +1,189 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-menu-bar-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-menu-bar-callbacks.top_of_page">ags_menu_bar_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_menu_bar_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-menu-bar-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-about-callback">ags_menu_bar_about_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-add-callback">ags_menu_bar_add_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-add-drum-callback">ags_menu_bar_add_drum_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-add-ffplayer-callback">ags_menu_bar_add_ffplayer_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-add-matrix-callback">ags_menu_bar_add_matrix_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-add-mixer-callback">ags_menu_bar_add_mixer_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-add-panel-callback">ags_menu_bar_add_panel_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-add-synth-callback">ags_menu_bar_add_synth_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-menu-bar-destroy-callback">ags_menu_bar_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-export-callback">ags_menu_bar_export_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-open-callback">ags_menu_bar_open_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-preferences-callback">ags_menu_bar_preferences_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-quit-callback">ags_menu_bar_quit_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-remove-callback">ags_menu_bar_remove_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-save-as-callback">ags_menu_bar_save_as_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-save-callback">ags_menu_bar_save_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-menu-bar-show-callback">ags_menu_bar_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-menu-bar-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-menu-bar-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-menu-bar-about-callback" role="function">
+<title>ags_menu_bar_about_callback ()</title>
+<indexterm zone="ags-menu-bar-about-callback"><primary>ags_menu_bar_about_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_about_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-add-callback" role="function">
+<title>ags_menu_bar_add_callback ()</title>
+<indexterm zone="ags-menu-bar-add-callback"><primary>ags_menu_bar_add_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_add_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-add-drum-callback" role="function">
+<title>ags_menu_bar_add_drum_callback ()</title>
+<indexterm zone="ags-menu-bar-add-drum-callback"><primary>ags_menu_bar_add_drum_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_add_drum_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-add-ffplayer-callback" role="function">
+<title>ags_menu_bar_add_ffplayer_callback ()</title>
+<indexterm zone="ags-menu-bar-add-ffplayer-callback"><primary>ags_menu_bar_add_ffplayer_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_add_ffplayer_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-add-matrix-callback" role="function">
+<title>ags_menu_bar_add_matrix_callback ()</title>
+<indexterm zone="ags-menu-bar-add-matrix-callback"><primary>ags_menu_bar_add_matrix_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_add_matrix_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-add-mixer-callback" role="function">
+<title>ags_menu_bar_add_mixer_callback ()</title>
+<indexterm zone="ags-menu-bar-add-mixer-callback"><primary>ags_menu_bar_add_mixer_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_add_mixer_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-add-panel-callback" role="function">
+<title>ags_menu_bar_add_panel_callback ()</title>
+<indexterm zone="ags-menu-bar-add-panel-callback"><primary>ags_menu_bar_add_panel_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_add_panel_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-add-synth-callback" role="function">
+<title>ags_menu_bar_add_synth_callback ()</title>
+<indexterm zone="ags-menu-bar-add-synth-callback"><primary>ags_menu_bar_add_synth_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_add_synth_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-destroy-callback" role="function">
+<title>ags_menu_bar_destroy_callback ()</title>
+<indexterm zone="ags-menu-bar-destroy-callback"><primary>ags_menu_bar_destroy_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_menu_bar_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-export-callback" role="function">
+<title>ags_menu_bar_export_callback ()</title>
+<indexterm zone="ags-menu-bar-export-callback"><primary>ags_menu_bar_export_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_export_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-open-callback" role="function">
+<title>ags_menu_bar_open_callback ()</title>
+<indexterm zone="ags-menu-bar-open-callback"><primary>ags_menu_bar_open_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_open_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-preferences-callback" role="function">
+<title>ags_menu_bar_preferences_callback ()</title>
+<indexterm zone="ags-menu-bar-preferences-callback"><primary>ags_menu_bar_preferences_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_preferences_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-quit-callback" role="function">
+<title>ags_menu_bar_quit_callback ()</title>
+<indexterm zone="ags-menu-bar-quit-callback"><primary>ags_menu_bar_quit_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_quit_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-remove-callback" role="function">
+<title>ags_menu_bar_remove_callback ()</title>
+<indexterm zone="ags-menu-bar-remove-callback"><primary>ags_menu_bar_remove_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_remove_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-save-as-callback" role="function">
+<title>ags_menu_bar_save_as_callback ()</title>
+<indexterm zone="ags-menu-bar-save-as-callback"><primary>ags_menu_bar_save_as_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_save_as_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-save-callback" role="function">
+<title>ags_menu_bar_save_callback ()</title>
+<indexterm zone="ags-menu-bar-save-callback"><primary>ags_menu_bar_save_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_save_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *menu_item</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-bar-show-callback" role="function">
+<title>ags_menu_bar_show_callback ()</title>
+<indexterm zone="ags-menu-bar-show-callback"><primary>ags_menu_bar_show_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_menu_bar_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMenuBar"><type>AgsMenuBar</type></link> *menu_bar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_menu_item.xml b/doc/reference/ags/xml/ags_menu_item.xml
new file mode 100644
index 0000000..2c1e874
--- /dev/null
+++ b/doc/reference/ags/xml/ags_menu_item.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMenuItem">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMenuItem.top_of_page">AgsMenuItem</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMenuItem</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMenuItem.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMenuItem">AgsMenuItem</link>;
+struct <link linkend="AgsMenuItemClass">AgsMenuItemClass</link>;
+<link linkend="AgsMenuItem"><returnvalue>AgsMenuItem</returnvalue></link> * <link linkend="ags-menu-item-new">ags_menu_item_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMenuItem.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMenuItem.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMenuItem" role="struct">
+<title>struct AgsMenuItem</title>
+<indexterm zone="AgsMenuItem"><primary>AgsMenuItem</primary></indexterm>
+<programlisting>struct AgsMenuItem {
+ AgsTable table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMenuItemClass" role="struct">
+<title>struct AgsMenuItemClass</title>
+<indexterm zone="AgsMenuItemClass"><primary>AgsMenuItemClass</primary></indexterm>
+<programlisting>struct AgsMenuItemClass {
+ AgsTableClass table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-menu-item-new" role="function">
+<title>ags_menu_item_new ()</title>
+<indexterm zone="ags-menu-item-new"><primary>ags_menu_item_new</primary></indexterm>
+<programlisting><link linkend="AgsMenuItem"><returnvalue>AgsMenuItem</returnvalue></link> * ags_menu_item_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_meter.xml b/doc/reference/ags/xml/ags_meter.xml
new file mode 100644
index 0000000..7c28e42
--- /dev/null
+++ b/doc/reference/ags/xml/ags_meter.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMeter">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMeter.top_of_page">AgsMeter</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMeter</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMeter.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMeter">AgsMeter</link>;
+struct <link linkend="AgsMeterClass">AgsMeterClass</link>;
+<link linkend="AgsMeter"><returnvalue>AgsMeter</returnvalue></link> * <link linkend="ags-meter-new">ags_meter_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-meter-paint">ags_meter_paint</link> (<parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);
+<link linkend="char"><returnvalue>char</returnvalue></link> * <link linkend="ags-meter-sound-string">ags_meter_sound_string</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMeter.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMeter.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMeter" role="struct">
+<title>struct AgsMeter</title>
+<indexterm zone="AgsMeter"><primary>AgsMeter</primary></indexterm>
+<programlisting>struct AgsMeter {
+ GtkDrawingArea drawing_area;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMeterClass" role="struct">
+<title>struct AgsMeterClass</title>
+<indexterm zone="AgsMeterClass"><primary>AgsMeterClass</primary></indexterm>
+<programlisting>struct AgsMeterClass {
+ GtkDrawingAreaClass drawing_area;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-meter-new" role="function">
+<title>ags_meter_new ()</title>
+<indexterm zone="ags-meter-new"><primary>ags_meter_new</primary></indexterm>
+<programlisting><link linkend="AgsMeter"><returnvalue>AgsMeter</returnvalue></link> * ags_meter_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-meter-paint" role="function">
+<title>ags_meter_paint ()</title>
+<indexterm zone="ags-meter-paint"><primary>ags_meter_paint</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_meter_paint (<parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-meter-sound-string" role="function">
+<title>ags_meter_sound_string ()</title>
+<indexterm zone="ags-meter-sound-string"><primary>ags_meter_sound_string</primary></indexterm>
+<programlisting><link linkend="char"><returnvalue>char</returnvalue></link> * ags_meter_sound_string ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_meter_callbacks.xml b/doc/reference/ags/xml/ags_meter_callbacks.xml
new file mode 100644
index 0000000..d8aed21
--- /dev/null
+++ b/doc/reference/ags/xml/ags_meter_callbacks.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-meter-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-meter-callbacks.top_of_page">ags_meter_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_meter_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-meter-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-meter-configure-event">ags_meter_configure_event</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-meter-destroy-callback">ags_meter_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-meter-expose-event">ags_meter_expose_event</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-meter-show-callback">ags_meter_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-meter-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-meter-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-meter-configure-event" role="function">
+<title>ags_meter_configure_event ()</title>
+<indexterm zone="ags-meter-configure-event"><primary>ags_meter_configure_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_meter_configure_event (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-meter-destroy-callback" role="function">
+<title>ags_meter_destroy_callback ()</title>
+<indexterm zone="ags-meter-destroy-callback"><primary>ags_meter_destroy_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_meter_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-meter-expose-event" role="function">
+<title>ags_meter_expose_event ()</title>
+<indexterm zone="ags-meter-expose-event"><primary>ags_meter_expose_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_meter_expose_event (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-meter-show-callback" role="function">
+<title>ags_meter_show_callback ()</title>
+<indexterm zone="ags-meter-show-callback"><primary>ags_meter_show_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_meter_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsMeter"><type>AgsMeter</type></link> *meter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mixer.xml b/doc/reference/ags/xml/ags_mixer.xml
new file mode 100644
index 0000000..abc20ab
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mixer.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMixer">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMixer.top_of_page">AgsMixer</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMixer</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMixer.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMixer">AgsMixer</link>;
+struct <link linkend="AgsMixerClass">AgsMixerClass</link>;
+<link linkend="AgsMixer"><returnvalue>AgsMixer</returnvalue></link> * <link linkend="ags-mixer-new">ags_mixer_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMixer.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMixer.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMixer" role="struct">
+<title>struct AgsMixer</title>
+<indexterm zone="AgsMixer"><primary>AgsMixer</primary></indexterm>
+<programlisting>struct AgsMixer {
+ AgsMachine machine;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkHBox *input_pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMixerClass" role="struct">
+<title>struct AgsMixerClass</title>
+<indexterm zone="AgsMixerClass"><primary>AgsMixerClass</primary></indexterm>
+<programlisting>struct AgsMixerClass {
+ AgsMachineClass machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mixer-new" role="function">
+<title>ags_mixer_new ()</title>
+<indexterm zone="ags-mixer-new"><primary>ags_mixer_new</primary></indexterm>
+<programlisting><link linkend="AgsMixer"><returnvalue>AgsMixer</returnvalue></link> * ags_mixer_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mixer_callbacks.xml b/doc/reference/ags/xml/ags_mixer_callbacks.xml
new file mode 100644
index 0000000..8506420
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mixer_callbacks.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-mixer-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-mixer-callbacks.top_of_page">ags_mixer_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_mixer_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-mixer-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-mixer-parent-set-callback">ags_mixer_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMixer"><type>AgsMixer</type></link> *mixer</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-mixer-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-mixer-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-mixer-parent-set-callback" role="function">
+<title>ags_mixer_parent_set_callback ()</title>
+<indexterm zone="ags-mixer-parent-set-callback"><primary>ags_mixer_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_mixer_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsMixer"><type>AgsMixer</type></link> *mixer</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mixer_input_line.xml b/doc/reference/ags/xml/ags_mixer_input_line.xml
new file mode 100644
index 0000000..18e0dc5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mixer_input_line.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMixerInputLine">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMixerInputLine.top_of_page">AgsMixerInputLine</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMixerInputLine</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMixerInputLine.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMixerInputLine">AgsMixerInputLine</link>;
+struct <link linkend="AgsMixerInputLineClass">AgsMixerInputLineClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-mixer-input-line-map-recall">ags_mixer_input_line_map_recall</link> (<parameter><link linkend="AgsMixerInputLine"><type>AgsMixerInputLine</type></link> *mixer_input_line</parameter>);
+<link linkend="AgsMixerInputLine"><returnvalue>AgsMixerInputLine</returnvalue></link> * <link linkend="ags-mixer-input-line-new">ags_mixer_input_line_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMixerInputLine.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMixerInputLine.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMixerInputLine" role="struct">
+<title>struct AgsMixerInputLine</title>
+<indexterm zone="AgsMixerInputLine"><primary>AgsMixerInputLine</primary></indexterm>
+<programlisting>struct AgsMixerInputLine {
+ AgsLine line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMixerInputLineClass" role="struct">
+<title>struct AgsMixerInputLineClass</title>
+<indexterm zone="AgsMixerInputLineClass"><primary>AgsMixerInputLineClass</primary></indexterm>
+<programlisting>struct AgsMixerInputLineClass {
+ AgsLineClass line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mixer-input-line-map-recall" role="function">
+<title>ags_mixer_input_line_map_recall ()</title>
+<indexterm zone="ags-mixer-input-line-map-recall"><primary>ags_mixer_input_line_map_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_mixer_input_line_map_recall (<parameter><link linkend="AgsMixerInputLine"><type>AgsMixerInputLine</type></link> *mixer_input_line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mixer-input-line-new" role="function">
+<title>ags_mixer_input_line_new ()</title>
+<indexterm zone="ags-mixer-input-line-new"><primary>ags_mixer_input_line_new</primary></indexterm>
+<programlisting><link linkend="AgsMixerInputLine"><returnvalue>AgsMixerInputLine</returnvalue></link> * ags_mixer_input_line_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mixer_input_pad.xml b/doc/reference/ags/xml/ags_mixer_input_pad.xml
new file mode 100644
index 0000000..963aa12
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mixer_input_pad.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMixerInputPad">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMixerInputPad.top_of_page">AgsMixerInputPad</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMixerInputPad</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMixerInputPad.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMixerInputPad">AgsMixerInputPad</link>;
+struct <link linkend="AgsMixerInputPadClass">AgsMixerInputPadClass</link>;
+<link linkend="AgsMixerInputPad"><returnvalue>AgsMixerInputPad</returnvalue></link> * <link linkend="ags-mixer-input-pad-new">ags_mixer_input_pad_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMixerInputPad.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMixerInputPad.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMixerInputPad" role="struct">
+<title>struct AgsMixerInputPad</title>
+<indexterm zone="AgsMixerInputPad"><primary>AgsMixerInputPad</primary></indexterm>
+<programlisting>struct AgsMixerInputPad {
+ AgsPad pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMixerInputPadClass" role="struct">
+<title>struct AgsMixerInputPadClass</title>
+<indexterm zone="AgsMixerInputPadClass"><primary>AgsMixerInputPadClass</primary></indexterm>
+<programlisting>struct AgsMixerInputPadClass {
+ AgsPadClass pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mixer-input-pad-new" role="function">
+<title>ags_mixer_input_pad_new ()</title>
+<indexterm zone="ags-mixer-input-pad-new"><primary>ags_mixer_input_pad_new</primary></indexterm>
+<programlisting><link linkend="AgsMixerInputPad"><returnvalue>AgsMixerInputPad</returnvalue></link> * ags_mixer_input_pad_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mutable.xml b/doc/reference/ags/xml/ags_mutable.xml
new file mode 100644
index 0000000..5911d76
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mutable.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMutable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMutable.top_of_page">AgsMutable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMutable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMutable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsMutable">AgsMutable</link>;
+struct <link linkend="AgsMutableInterface">AgsMutableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-mutable-set-muted">ags_mutable_set_muted</link> (<parameter><link linkend="AgsMutable"><type>AgsMutable</type></link> *mutable</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> muted</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMutable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMutable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMutable" role="typedef">
+<title>AgsMutable</title>
+<indexterm zone="AgsMutable"><primary>AgsMutable</primary></indexterm>
+<programlisting>typedef void AgsMutable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMutableInterface" role="struct">
+<title>struct AgsMutableInterface</title>
+<indexterm zone="AgsMutableInterface"><primary>AgsMutableInterface</primary></indexterm>
+<programlisting>struct AgsMutableInterface {
+ GTypeInterface interface;
+
+ void (*set_muted)(AgsMutable *mutable, gboolean muted);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mutable-set-muted" role="function">
+<title>ags_mutable_set_muted ()</title>
+<indexterm zone="ags-mutable-set-muted"><primary>ags_mutable_set_muted</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_mutable_set_muted (<parameter><link linkend="AgsMutable"><type>AgsMutable</type></link> *mutable</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> muted</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mute_audio.xml b/doc/reference/ags/xml/ags_mute_audio.xml
new file mode 100644
index 0000000..7ba1344
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mute_audio.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMuteAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMuteAudio.top_of_page">AgsMuteAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMuteAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMuteAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMuteAudio">AgsMuteAudio</link>;
+struct <link linkend="AgsMuteAudioClass">AgsMuteAudioClass</link>;
+<link linkend="AgsMuteAudio"><returnvalue>AgsMuteAudio</returnvalue></link> * <link linkend="ags-mute-audio-new">ags_mute_audio_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMuteAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMuteAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMuteAudio" role="struct">
+<title>struct AgsMuteAudio</title>
+<indexterm zone="AgsMuteAudio"><primary>AgsMuteAudio</primary></indexterm>
+<programlisting>struct AgsMuteAudio {
+ AgsRecallAudio recall_audio;
+
+ AgsPort *muted;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMuteAudioClass" role="struct">
+<title>struct AgsMuteAudioClass</title>
+<indexterm zone="AgsMuteAudioClass"><primary>AgsMuteAudioClass</primary></indexterm>
+<programlisting>struct AgsMuteAudioClass {
+ AgsRecallAudioClass recall_audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mute-audio-new" role="function">
+<title>ags_mute_audio_new ()</title>
+<indexterm zone="ags-mute-audio-new"><primary>ags_mute_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsMuteAudio"><returnvalue>AgsMuteAudio</returnvalue></link> * ags_mute_audio_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mute_audio_signal.xml b/doc/reference/ags/xml/ags_mute_audio_signal.xml
new file mode 100644
index 0000000..8e22143
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mute_audio_signal.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMuteAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMuteAudioSignal.top_of_page">AgsMuteAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMuteAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMuteAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMuteAudioSignal">AgsMuteAudioSignal</link>;
+struct <link linkend="AgsMuteAudioSignalClass">AgsMuteAudioSignalClass</link>;
+<link linkend="AgsMuteAudioSignal"><returnvalue>AgsMuteAudioSignal</returnvalue></link> * <link linkend="ags-mute-audio-signal-new">ags_mute_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMuteAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMuteAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMuteAudioSignal" role="struct">
+<title>struct AgsMuteAudioSignal</title>
+<indexterm zone="AgsMuteAudioSignal"><primary>AgsMuteAudioSignal</primary></indexterm>
+<programlisting>struct AgsMuteAudioSignal {
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMuteAudioSignalClass" role="struct">
+<title>struct AgsMuteAudioSignalClass</title>
+<indexterm zone="AgsMuteAudioSignalClass"><primary>AgsMuteAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsMuteAudioSignalClass {
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mute-audio-signal-new" role="function">
+<title>ags_mute_audio_signal_new ()</title>
+<indexterm zone="ags-mute-audio-signal-new"><primary>ags_mute_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsMuteAudioSignal"><returnvalue>AgsMuteAudioSignal</returnvalue></link> * ags_mute_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mute_channel.xml b/doc/reference/ags/xml/ags_mute_channel.xml
new file mode 100644
index 0000000..caadc81
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mute_channel.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMuteChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMuteChannel.top_of_page">AgsMuteChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMuteChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMuteChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMuteChannel">AgsMuteChannel</link>;
+struct <link linkend="AgsMuteChannelClass">AgsMuteChannelClass</link>;
+<link linkend="AgsMuteChannel"><returnvalue>AgsMuteChannel</returnvalue></link> * <link linkend="ags-mute-channel-new">ags_mute_channel_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMuteChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMuteChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMuteChannel" role="struct">
+<title>struct AgsMuteChannel</title>
+<indexterm zone="AgsMuteChannel"><primary>AgsMuteChannel</primary></indexterm>
+<programlisting>struct AgsMuteChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMuteChannelClass" role="struct">
+<title>struct AgsMuteChannelClass</title>
+<indexterm zone="AgsMuteChannelClass"><primary>AgsMuteChannelClass</primary></indexterm>
+<programlisting>struct AgsMuteChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mute-channel-new" role="function">
+<title>ags_mute_channel_new ()</title>
+<indexterm zone="ags-mute-channel-new"><primary>ags_mute_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsMuteChannel"><returnvalue>AgsMuteChannel</returnvalue></link> * ags_mute_channel_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mute_channel_run.xml b/doc/reference/ags/xml/ags_mute_channel_run.xml
new file mode 100644
index 0000000..7791020
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mute_channel_run.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMuteChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMuteChannelRun.top_of_page">AgsMuteChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMuteChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMuteChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMuteChannelRun">AgsMuteChannelRun</link>;
+struct <link linkend="AgsMuteChannelRunClass">AgsMuteChannelRunClass</link>;
+<link linkend="AgsMuteChannelRun"><returnvalue>AgsMuteChannelRun</returnvalue></link> * <link linkend="ags-mute-channel-run-new">ags_mute_channel_run_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMuteChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMuteChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMuteChannelRun" role="struct">
+<title>struct AgsMuteChannelRun</title>
+<indexterm zone="AgsMuteChannelRun"><primary>AgsMuteChannelRun</primary></indexterm>
+<programlisting>struct AgsMuteChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMuteChannelRunClass" role="struct">
+<title>struct AgsMuteChannelRunClass</title>
+<indexterm zone="AgsMuteChannelRunClass"><primary>AgsMuteChannelRunClass</primary></indexterm>
+<programlisting>struct AgsMuteChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mute-channel-run-new" role="function">
+<title>ags_mute_channel_run_new ()</title>
+<indexterm zone="ags-mute-channel-run-new"><primary>ags_mute_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsMuteChannelRun"><returnvalue>AgsMuteChannelRun</returnvalue></link> * ags_mute_channel_run_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_mute_recycling.xml b/doc/reference/ags/xml/ags_mute_recycling.xml
new file mode 100644
index 0000000..decf991
--- /dev/null
+++ b/doc/reference/ags/xml/ags_mute_recycling.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMuteRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMuteRecycling.top_of_page">AgsMuteRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMuteRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMuteRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsMuteRecycling">AgsMuteRecycling</link>;
+struct <link linkend="AgsMuteRecyclingClass">AgsMuteRecyclingClass</link>;
+<link linkend="AgsMuteRecycling"><returnvalue>AgsMuteRecycling</returnvalue></link> * <link linkend="ags-mute-recycling-new">ags_mute_recycling_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *source</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMuteRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMuteRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsMuteRecycling" role="struct">
+<title>struct AgsMuteRecycling</title>
+<indexterm zone="AgsMuteRecycling"><primary>AgsMuteRecycling</primary></indexterm>
+<programlisting>struct AgsMuteRecycling {
+ AgsRecallRecycling recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMuteRecyclingClass" role="struct">
+<title>struct AgsMuteRecyclingClass</title>
+<indexterm zone="AgsMuteRecyclingClass"><primary>AgsMuteRecyclingClass</primary></indexterm>
+<programlisting>struct AgsMuteRecyclingClass {
+ AgsRecallRecyclingClass recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-mute-recycling-new" role="function">
+<title>ags_mute_recycling_new ()</title>
+<indexterm zone="ags-mute-recycling-new"><primary>ags_mute_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsMuteRecycling"><returnvalue>AgsMuteRecycling</returnvalue></link> * ags_mute_recycling_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *source</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_navigation.xml b/doc/reference/ags/xml/ags_navigation.xml
new file mode 100644
index 0000000..64c3055
--- /dev/null
+++ b/doc/reference/ags/xml/ags_navigation.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsNavigation">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsNavigation.top_of_page">AgsNavigation</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsNavigation</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsNavigation.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-NAVIGATION-DEFAULT-TACT-STEP:CAPS">AGS_NAVIGATION_DEFAULT_TACT_STEP</link>
+#define <link linkend="AGS-NAVIGATION-REWIND-STEPS:CAPS">AGS_NAVIGATION_REWIND_STEPS</link>
+#define <link linkend="AGS-NAVIGATION-SEEK-STEPS:CAPS">AGS_NAVIGATION_SEEK_STEPS</link>
+struct <link linkend="AgsNavigation">AgsNavigation</link>;
+struct <link linkend="AgsNavigationClass">AgsNavigationClass</link>;
+enum <link linkend="AgsNavigationFlags">AgsNavigationFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-change-position">ags_navigation_change_position</link> (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);
+<link linkend="AgsNavigation"><returnvalue>AgsNavigation</returnvalue></link> * <link linkend="ags-navigation-new">ags_navigation_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-set-seeking-sensitive">ags_navigation_set_seeking_sensitive</link>
+ (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> enabled</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-navigation-tact-to-time-string">ags_navigation_tact_to_time_string</link> (<parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-update-time-string">ags_navigation_update_time_string</link> (<parameter><link linkend="double"><type>double</type></link> tact</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *time_string</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsNavigation.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsNavigation.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-NAVIGATION-DEFAULT-TACT-STEP:CAPS" role="macro">
+<title>AGS_NAVIGATION_DEFAULT_TACT_STEP</title>
+<indexterm zone="AGS-NAVIGATION-DEFAULT-TACT-STEP:CAPS"><primary>AGS_NAVIGATION_DEFAULT_TACT_STEP</primary></indexterm>
+<programlisting>#define AGS_NAVIGATION_DEFAULT_TACT_STEP (1.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NAVIGATION-REWIND-STEPS:CAPS" role="macro">
+<title>AGS_NAVIGATION_REWIND_STEPS</title>
+<indexterm zone="AGS-NAVIGATION-REWIND-STEPS:CAPS"><primary>AGS_NAVIGATION_REWIND_STEPS</primary></indexterm>
+<programlisting>#define AGS_NAVIGATION_REWIND_STEPS (4.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NAVIGATION-SEEK-STEPS:CAPS" role="macro">
+<title>AGS_NAVIGATION_SEEK_STEPS</title>
+<indexterm zone="AGS-NAVIGATION-SEEK-STEPS:CAPS"><primary>AGS_NAVIGATION_SEEK_STEPS</primary></indexterm>
+<programlisting>#define AGS_NAVIGATION_SEEK_STEPS (1.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNavigation" role="struct">
+<title>struct AgsNavigation</title>
+<indexterm zone="AgsNavigation"><primary>AgsNavigation</primary></indexterm>
+<programlisting>struct AgsNavigation {
+ GtkVBox vbox;
+
+ guint flags;
+
+ AgsDevout *devout;
+
+ GtkToggleButton *expander;
+
+ GtkSpinButton *bpm;
+ gdouble current_bpm;
+
+ GtkToggleButton *rewind;
+ GtkButton *previous;
+ GtkToggleButton *play;
+ GtkButton *stop;
+ GtkButton *next;
+ GtkToggleButton *forward;
+
+ GtkCheckButton *loop;
+
+ GtkLabel *position_time;
+ GtkSpinButton *position_tact;
+
+ GtkLabel *duration_time;
+ GtkSpinButton *duration_tact;
+
+ GtkSpinButton *loop_left_tact;
+ GtkSpinButton *loop_right_tact;
+
+ GtkCheckButton *scroll;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNavigationClass" role="struct">
+<title>struct AgsNavigationClass</title>
+<indexterm zone="AgsNavigationClass"><primary>AgsNavigationClass</primary></indexterm>
+<programlisting>struct AgsNavigationClass {
+ GtkVBoxClass vbox;
+
+ void (*change_position)(AgsNavigation *navigation,
+ gdouble tact);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNavigationFlags" role="enum">
+<title>enum AgsNavigationFlags</title>
+<indexterm zone="AgsNavigationFlags"><primary>AgsNavigationFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_NAVIGATION_BLOCK_TACT = 1,
+} AgsNavigationFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-change-position" role="function">
+<title>ags_navigation_change_position ()</title>
+<indexterm zone="ags-navigation-change-position"><primary>ags_navigation_change_position</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_change_position (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-new" role="function">
+<title>ags_navigation_new ()</title>
+<indexterm zone="ags-navigation-new"><primary>ags_navigation_new</primary></indexterm>
+<programlisting><link linkend="AgsNavigation"><returnvalue>AgsNavigation</returnvalue></link> * ags_navigation_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-set-seeking-sensitive" role="function">
+<title>ags_navigation_set_seeking_sensitive ()</title>
+<indexterm zone="ags-navigation-set-seeking-sensitive"><primary>ags_navigation_set_seeking_sensitive</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_set_seeking_sensitive
+ (<parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> enabled</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-tact-to-time-string" role="function">
+<title>ags_navigation_tact_to_time_string ()</title>
+<indexterm zone="ags-navigation-tact-to-time-string"><primary>ags_navigation_tact_to_time_string</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_navigation_tact_to_time_string (<parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-update-time-string" role="function">
+<title>ags_navigation_update_time_string ()</title>
+<indexterm zone="ags-navigation-update-time-string"><primary>ags_navigation_update_time_string</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_update_time_string (<parameter><link linkend="double"><type>double</type></link> tact</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *time_string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_navigation_callbacks.xml b/doc/reference/ags/xml/ags_navigation_callbacks.xml
new file mode 100644
index 0000000..391d62f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_navigation_callbacks.xml
@@ -0,0 +1,208 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-navigation-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-navigation-callbacks.top_of_page">ags_navigation_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_navigation_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-navigation-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-bpm-callback">ags_navigation_bpm_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-navigation-destroy-callback">ags_navigation_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-duration-tact-callback">ags_navigation_duration_tact_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-expander-callback">ags_navigation_expander_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-forward-callback">ags_navigation_forward_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-loop-callback">ags_navigation_loop_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-loop-left-tact-callback">ags_navigation_loop_left_tact_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-loop-right-tact-callback">ags_navigation_loop_right_tact_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-next-callback">ags_navigation_next_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-parent-set-callback">ags_navigation_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-play-callback">ags_navigation_play_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-position-tact-callback">ags_navigation_position_tact_callback</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-prev-callback">ags_navigation_prev_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-raster-callback">ags_navigation_raster_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-rewind-callback">ags_navigation_rewind_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-show-callback">ags_navigation_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-stop-callback">ags_navigation_stop_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-navigation-tic-callback">ags_navigation_tic_callback</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-navigation-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-navigation-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-navigation-bpm-callback" role="function">
+<title>ags_navigation_bpm_callback ()</title>
+<indexterm zone="ags-navigation-bpm-callback"><primary>ags_navigation_bpm_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_bpm_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-destroy-callback" role="function">
+<title>ags_navigation_destroy_callback ()</title>
+<indexterm zone="ags-navigation-destroy-callback"><primary>ags_navigation_destroy_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_navigation_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-duration-tact-callback" role="function">
+<title>ags_navigation_duration_tact_callback ()</title>
+<indexterm zone="ags-navigation-duration-tact-callback"><primary>ags_navigation_duration_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_duration_tact_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-expander-callback" role="function">
+<title>ags_navigation_expander_callback ()</title>
+<indexterm zone="ags-navigation-expander-callback"><primary>ags_navigation_expander_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_expander_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-forward-callback" role="function">
+<title>ags_navigation_forward_callback ()</title>
+<indexterm zone="ags-navigation-forward-callback"><primary>ags_navigation_forward_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_forward_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-loop-callback" role="function">
+<title>ags_navigation_loop_callback ()</title>
+<indexterm zone="ags-navigation-loop-callback"><primary>ags_navigation_loop_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_loop_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-loop-left-tact-callback" role="function">
+<title>ags_navigation_loop_left_tact_callback ()</title>
+<indexterm zone="ags-navigation-loop-left-tact-callback"><primary>ags_navigation_loop_left_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_loop_left_tact_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-loop-right-tact-callback" role="function">
+<title>ags_navigation_loop_right_tact_callback ()</title>
+<indexterm zone="ags-navigation-loop-right-tact-callback"><primary>ags_navigation_loop_right_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_loop_right_tact_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-next-callback" role="function">
+<title>ags_navigation_next_callback ()</title>
+<indexterm zone="ags-navigation-next-callback"><primary>ags_navigation_next_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_next_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-parent-set-callback" role="function">
+<title>ags_navigation_parent_set_callback ()</title>
+<indexterm zone="ags-navigation-parent-set-callback"><primary>ags_navigation_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-play-callback" role="function">
+<title>ags_navigation_play_callback ()</title>
+<indexterm zone="ags-navigation-play-callback"><primary>ags_navigation_play_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_play_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-position-tact-callback" role="function">
+<title>ags_navigation_position_tact_callback ()</title>
+<indexterm zone="ags-navigation-position-tact-callback"><primary>ags_navigation_position_tact_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_position_tact_callback
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-prev-callback" role="function">
+<title>ags_navigation_prev_callback ()</title>
+<indexterm zone="ags-navigation-prev-callback"><primary>ags_navigation_prev_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_prev_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-raster-callback" role="function">
+<title>ags_navigation_raster_callback ()</title>
+<indexterm zone="ags-navigation-raster-callback"><primary>ags_navigation_raster_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_raster_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-rewind-callback" role="function">
+<title>ags_navigation_rewind_callback ()</title>
+<indexterm zone="ags-navigation-rewind-callback"><primary>ags_navigation_rewind_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_rewind_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-show-callback" role="function">
+<title>ags_navigation_show_callback ()</title>
+<indexterm zone="ags-navigation-show-callback"><primary>ags_navigation_show_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-stop-callback" role="function">
+<title>ags_navigation_stop_callback ()</title>
+<indexterm zone="ags-navigation-stop-callback"><primary>ags_navigation_stop_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_stop_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-navigation-tic-callback" role="function">
+<title>ags_navigation_tic_callback ()</title>
+<indexterm zone="ags-navigation-tic-callback"><primary>ags_navigation_tic_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_navigation_tic_callback (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsNavigation"><type>AgsNavigation</type></link> *navigation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_notation.xml b/doc/reference/ags/xml/ags_notation.xml
new file mode 100644
index 0000000..40d2335
--- /dev/null
+++ b/doc/reference/ags/xml/ags_notation.xml
@@ -0,0 +1,379 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsNotation">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsNotation.top_of_page">AgsNotation</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsNotation</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsNotation.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-NOTATION-DEFAULT-BPM:CAPS">AGS_NOTATION_DEFAULT_BPM</link>
+#define <link linkend="AGS-NOTATION-DEFAULT-DURATION:CAPS">AGS_NOTATION_DEFAULT_DURATION</link>
+#define <link linkend="AGS-NOTATION-DEFAULT-JIFFIE:CAPS">AGS_NOTATION_DEFAULT_JIFFIE</link>
+#define <link linkend="AGS-NOTATION-DEFAULT-LENGTH:CAPS">AGS_NOTATION_DEFAULT_LENGTH</link>
+#define <link linkend="AGS-NOTATION-MAXIMUM-NOTE-LENGTH:CAPS">AGS_NOTATION_MAXIMUM_NOTE_LENGTH</link>
+#define <link linkend="AGS-NOTATION-MINIMUM-NOTE-LENGTH:CAPS">AGS_NOTATION_MINIMUM_NOTE_LENGTH</link>
+#define <link linkend="AGS-NOTATION-TICS-PER-BEAT:CAPS">AGS_NOTATION_TICS_PER_BEAT</link>
+struct <link linkend="AgsNotation">AgsNotation</link>;
+struct <link linkend="AgsNotationClass">AgsNotationClass</link>;
+enum <link linkend="AgsNotationFlags">AgsNotationFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notation-add-note">ags_notation_add_note</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notation-add-point-to-selection">ags_notation_add_point_to_selection</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notation-add-region-to-selection">ags_notation_add_region_to_selection</link>
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);
+<link linkend="xmlNodePtr"><returnvalue>xmlNodePtr</returnvalue></link> <link linkend="ags-notation-copy-selection">ags_notation_copy_selection</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);
+<link linkend="xmlNodePtr"><returnvalue>xmlNodePtr</returnvalue></link> <link linkend="ags-notation-cut-selection">ags_notation_cut_selection</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-notation-find-near-timestamp">ags_notation_find_near_timestamp</link> (<parameter><link linkend="GList"><type>GList</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *timestamp</parameter>);
+<link linkend="AgsNote"><returnvalue>AgsNote</returnvalue></link> * <link linkend="ags-notation-find-point">ags_notation_find_point</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-notation-find-region">ags_notation_find_region</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notation-free-selection">ags_notation_free_selection</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-notation-get-current">ags_notation_get_current</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-notation-get-selection">ags_notation_get_selection</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notation-insert-from-clipboard">ags_notation_insert_from_clipboard</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> content</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> reset_x_offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x_offset</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> reset_y_offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y_offset</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-notation-is-note-selected">ags_notation_is_note_selected</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>);
+<link linkend="AgsNotation"><returnvalue>AgsNotation</returnvalue></link> * <link linkend="ags-notation-new">ags_notation_new</link> (<parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-notation-remove-note-at-position">ags_notation_remove_note_at_position</link>
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notation-remove-point-from-selection">ags_notation_remove_point_from_selection</link>
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notation-remove-region-from-selection">ags_notation_remove_region_from_selection</link>
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsNotation.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsNotation.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-NOTATION-DEFAULT-BPM:CAPS" role="macro">
+<title>AGS_NOTATION_DEFAULT_BPM</title>
+<indexterm zone="AGS-NOTATION-DEFAULT-BPM:CAPS"><primary>AGS_NOTATION_DEFAULT_BPM</primary></indexterm>
+<programlisting>#define AGS_NOTATION_DEFAULT_BPM (120.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NOTATION-DEFAULT-DURATION:CAPS" role="macro">
+<title>AGS_NOTATION_DEFAULT_DURATION</title>
+<indexterm zone="AGS-NOTATION-DEFAULT-DURATION:CAPS"><primary>AGS_NOTATION_DEFAULT_DURATION</primary></indexterm>
+<programlisting>#define AGS_NOTATION_DEFAULT_DURATION (AGS_NOTATION_DEFAULT_LENGTH * AGS_NOTATION_DEFAULT_JIFFIE * AGS_MICROSECONDS_PER_SECOND)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NOTATION-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_NOTATION_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-NOTATION-DEFAULT-JIFFIE:CAPS"><primary>AGS_NOTATION_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_NOTATION_DEFAULT_JIFFIE (60.0 / AGS_NOTATION_DEFAULT_BPM / AGS_NOTATION_TICS_PER_BEAT)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NOTATION-DEFAULT-LENGTH:CAPS" role="macro">
+<title>AGS_NOTATION_DEFAULT_LENGTH</title>
+<indexterm zone="AGS-NOTATION-DEFAULT-LENGTH:CAPS"><primary>AGS_NOTATION_DEFAULT_LENGTH</primary></indexterm>
+<programlisting>#define AGS_NOTATION_DEFAULT_LENGTH (65535.0 / AGS_NOTATION_TICS_PER_BEAT - AGS_NOTATION_MAXIMUM_NOTE_LENGTH)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NOTATION-MAXIMUM-NOTE-LENGTH:CAPS" role="macro">
+<title>AGS_NOTATION_MAXIMUM_NOTE_LENGTH</title>
+<indexterm zone="AGS-NOTATION-MAXIMUM-NOTE-LENGTH:CAPS"><primary>AGS_NOTATION_MAXIMUM_NOTE_LENGTH</primary></indexterm>
+<programlisting>#define AGS_NOTATION_MAXIMUM_NOTE_LENGTH (16.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NOTATION-MINIMUM-NOTE-LENGTH:CAPS" role="macro">
+<title>AGS_NOTATION_MINIMUM_NOTE_LENGTH</title>
+<indexterm zone="AGS-NOTATION-MINIMUM-NOTE-LENGTH:CAPS"><primary>AGS_NOTATION_MINIMUM_NOTE_LENGTH</primary></indexterm>
+<programlisting>#define AGS_NOTATION_MINIMUM_NOTE_LENGTH (1.0 / 16.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-NOTATION-TICS-PER-BEAT:CAPS" role="macro">
+<title>AGS_NOTATION_TICS_PER_BEAT</title>
+<indexterm zone="AGS-NOTATION-TICS-PER-BEAT:CAPS"><primary>AGS_NOTATION_TICS_PER_BEAT</primary></indexterm>
+<programlisting>#define AGS_NOTATION_TICS_PER_BEAT (4.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNotation" role="struct">
+<title>struct AgsNotation</title>
+<indexterm zone="AgsNotation"><primary>AgsNotation</primary></indexterm>
+<programlisting>struct AgsNotation {
+ GObject object;
+
+ guint flags;
+
+ GObject *timestamp;
+
+ guint audio_channel;
+ GObject *audio;
+
+ gchar *key;
+ gdouble base_frequency;
+
+ gdouble tact;
+ gdouble bpm;
+
+ gdouble maximum_note_length;
+
+ GList *notes;
+
+ gdouble start_loop;
+ gdouble end_loop;
+ gdouble offset;
+
+ GList *selection;
+
+ GObject *port;
+
+ GList *current_notes;
+ GList *next_notes;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNotationClass" role="struct">
+<title>struct AgsNotationClass</title>
+<indexterm zone="AgsNotationClass"><primary>AgsNotationClass</primary></indexterm>
+<programlisting>struct AgsNotationClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNotationFlags" role="enum">
+<title>enum AgsNotationFlags</title>
+<indexterm zone="AgsNotationFlags"><primary>AgsNotationFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_NOTATION_STICKY = 1,
+ AGS_NOTATION_INDICATED_LENGTH = 1 << 1,
+} AgsNotationFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notation-add-note" role="function">
+<title>ags_notation_add_note ()</title>
+<indexterm zone="ags-notation-add-note"><primary>ags_notation_add_note</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notation_add_note (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);</programlisting>
+<para>
+Adds a note to notation.
+</para></refsect2>
+<refsect2 id="ags-notation-add-point-to-selection" role="function">
+<title>ags_notation_add_point_to_selection ()</title>
+<indexterm zone="ags-notation-add-point-to-selection"><primary>ags_notation_add_point_to_selection</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notation_add_point_to_selection (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);</programlisting>
+<para>
+Select notes at position.
+</para></refsect2>
+<refsect2 id="ags-notation-add-region-to-selection" role="function">
+<title>ags_notation_add_region_to_selection ()</title>
+<indexterm zone="ags-notation-add-region-to-selection"><primary>ags_notation_add_region_to_selection</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notation_add_region_to_selection
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> replace_current_selection</parameter>);</programlisting>
+<para>
+Select notes within region.
+</para></refsect2>
+<refsect2 id="ags-notation-copy-selection" role="function">
+<title>ags_notation_copy_selection ()</title>
+<indexterm zone="ags-notation-copy-selection"><primary>ags_notation_copy_selection</primary></indexterm>
+<programlisting><link linkend="xmlNodePtr"><returnvalue>xmlNodePtr</returnvalue></link> ags_notation_copy_selection (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);</programlisting>
+<para>
+Copy selection to clipboard.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the selection as XML.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-cut-selection" role="function">
+<title>ags_notation_cut_selection ()</title>
+<indexterm zone="ags-notation-cut-selection"><primary>ags_notation_cut_selection</primary></indexterm>
+<programlisting><link linkend="xmlNodePtr"><returnvalue>xmlNodePtr</returnvalue></link> ags_notation_cut_selection (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);</programlisting>
+<para>
+Cut selection to clipboard.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the selection as XML.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-find-near-timestamp" role="function">
+<title>ags_notation_find_near_timestamp ()</title>
+<indexterm zone="ags-notation-find-near-timestamp"><primary>ags_notation_find_near_timestamp</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_notation_find_near_timestamp (<parameter><link linkend="GList"><type>GList</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *timestamp</parameter>);</programlisting>
+<para>
+Retrieve appropriate notation for timestamp.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Next match.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-find-point" role="function">
+<title>ags_notation_find_point ()</title>
+<indexterm zone="ags-notation-find-point"><primary>ags_notation_find_point</primary></indexterm>
+<programlisting><link linkend="AgsNote"><returnvalue>AgsNote</returnvalue></link> * ags_notation_find_point (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);</programlisting>
+<para>
+Find note by offset and tone.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the matching note.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-find-region" role="function">
+<title>ags_notation_find_region ()</title>
+<indexterm zone="ags-notation-find-region"><primary>ags_notation_find_region</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_notation_find_region (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> use_selection_list</parameter>);</programlisting>
+<para>
+Find notes by offset and tone region.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the matching notes as <link linkend="GList"><type>GList</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-free-selection" role="function">
+<title>ags_notation_free_selection ()</title>
+<indexterm zone="ags-notation-free-selection"><primary>ags_notation_free_selection</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notation_free_selection (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);</programlisting>
+<para>
+Clear selection.
+</para></refsect2>
+<refsect2 id="ags-notation-get-current" role="function">
+<title>ags_notation_get_current ()</title>
+<indexterm zone="ags-notation-get-current"><primary>ags_notation_get_current</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_notation_get_current (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notation-get-selection" role="function">
+<title>ags_notation_get_selection ()</title>
+<indexterm zone="ags-notation-get-selection"><primary>ags_notation_get_selection</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_notation_get_selection (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>);</programlisting>
+<para>
+Retrieve selection.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the selection.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-insert-from-clipboard" role="function">
+<title>ags_notation_insert_from_clipboard ()</title>
+<indexterm zone="ags-notation-insert-from-clipboard"><primary>ags_notation_insert_from_clipboard</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notation_insert_from_clipboard (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> content</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> reset_x_offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x_offset</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> reset_y_offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y_offset</parameter>);</programlisting>
+<para>
+Paste previously copied notes.
+</para></refsect2>
+<refsect2 id="ags-notation-is-note-selected" role="function">
+<title>ags_notation_is_note_selected ()</title>
+<indexterm zone="ags-notation-is-note-selected"><primary>ags_notation_is_note_selected</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_notation_is_note_selected (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>);</programlisting>
+<para>
+Check selection for note.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if selected</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-new" role="function">
+<title>ags_notation_new ()</title>
+<indexterm zone="ags-notation-new"><primary>ags_notation_new</primary></indexterm>
+<programlisting><link linkend="AgsNotation"><returnvalue>AgsNotation</returnvalue></link> * ags_notation_new (<parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsNotation"><type>AgsNotation</type></link>, assigned to <parameter>audio_channel</parameter>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsNotation"><type>AgsNotation</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-remove-note-at-position" role="function">
+<title>ags_notation_remove_note_at_position ()</title>
+<indexterm zone="ags-notation-remove-note-at-position"><primary>ags_notation_remove_note_at_position</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_notation_remove_note_at_position
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);</programlisting>
+<para>
+Removes one <link linkend="AgsNote"><type>AgsNote</type></link> of notation.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if successfully removed note.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-notation-remove-point-from-selection" role="function">
+<title>ags_notation_remove_point_from_selection ()</title>
+<indexterm zone="ags-notation-remove-point-from-selection"><primary>ags_notation_remove_point_from_selection</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notation_remove_point_from_selection
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notation-remove-region-from-selection" role="function">
+<title>ags_notation_remove_region_from_selection ()</title>
+<indexterm zone="ags-notation-remove-region-from-selection"><primary>ags_notation_remove_region_from_selection</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notation_remove_region_from_selection
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>);</programlisting>
+<para>
+Remove notes within region of selection.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_note.xml b/doc/reference/ags/xml/ags_note.xml
new file mode 100644
index 0000000..0132f3d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_note.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsNote">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsNote.top_of_page">AgsNote</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsNote</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsNote.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsNote">AgsNote</link>;
+struct <link linkend="AgsNoteClass">AgsNoteClass</link>;
+enum <link linkend="AgsNoteFlags">AgsNoteFlags</link>;
+<link linkend="AgsNote"><returnvalue>AgsNote</returnvalue></link> * <link linkend="ags-note-duplicate">ags_note_duplicate</link> (<parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>);
+<link linkend="AgsNote"><returnvalue>AgsNote</returnvalue></link> * <link linkend="ags-note-new">ags_note_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsNote.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsNote.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsNote" role="struct">
+<title>struct AgsNote</title>
+<indexterm zone="AgsNote"><primary>AgsNote</primary></indexterm>
+<programlisting>struct AgsNote {
+ GObject object;
+
+ guint flags;
+
+ // gui format, convert easy to visualization
+ guint x[2];
+ guint y;
+
+ gchar *name;
+ gdouble frequency;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNoteClass" role="struct">
+<title>struct AgsNoteClass</title>
+<indexterm zone="AgsNoteClass"><primary>AgsNoteClass</primary></indexterm>
+<programlisting>struct AgsNoteClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNoteFlags" role="enum">
+<title>enum AgsNoteFlags</title>
+<indexterm zone="AgsNoteFlags"><primary>AgsNoteFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_NOTE_GUI = 1,
+ AGS_NOTE_RUNTIME = 1 << 1,
+ AGS_NOTE_HUMAN_READABLE = 1 << 2,
+ AGS_NOTE_DEFAULT_LENGTH = 1 << 3,
+ AGS_NOTE_IS_SELECTED = 1 << 4,
+} AgsNoteFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-duplicate" role="function">
+<title>ags_note_duplicate ()</title>
+<indexterm zone="ags-note-duplicate"><primary>ags_note_duplicate</primary></indexterm>
+<programlisting><link linkend="AgsNote"><returnvalue>AgsNote</returnvalue></link> * ags_note_duplicate (<parameter><link linkend="AgsNote"><type>AgsNote</type></link> *note</parameter>);</programlisting>
+<para>
+Duplicate a note.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the duplicated <link linkend="AgsNote"><type>AgsNote</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-note-new" role="function">
+<title>ags_note_new ()</title>
+<indexterm zone="ags-note-new"><primary>ags_note_new</primary></indexterm>
+<programlisting><link linkend="AgsNote"><returnvalue>AgsNote</returnvalue></link> * ags_note_new ();</programlisting>
+<para>
+Creates an <link linkend="AgsNote"><type>AgsNote</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsNote"><type>AgsNote</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_note_edit.xml b/doc/reference/ags/xml/ags_note_edit.xml
new file mode 100644
index 0000000..338d56c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_note_edit.xml
@@ -0,0 +1,227 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsNoteEdit">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsNoteEdit.top_of_page">AgsNoteEdit</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsNoteEdit</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsNoteEdit.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-NOTE-EDIT-MAX-CONTROLS:CAPS">AGS_NOTE_EDIT_MAX_CONTROLS</link>
+struct <link linkend="AgsNoteEdit">AgsNoteEdit</link>;
+struct <link linkend="AgsNoteEditClass">AgsNoteEditClass</link>;
+enum <link linkend="AgsNoteEditFlags">AgsNoteEditFlags</link>;
+enum <link linkend="AgsNoteEditResetFlags">AgsNoteEditResetFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-draw-notation">ags_note_edit_draw_notation</link> (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-draw-position">ags_note_edit_draw_position</link> (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-draw-scroll">ags_note_edit_draw_scroll</link> (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> position</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-draw-segment">ags_note_edit_draw_segment</link> (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>);
+<link linkend="AgsNoteEdit"><returnvalue>AgsNoteEdit</returnvalue></link> * <link linkend="ags-note-edit-new">ags_note_edit_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-reset-horizontally">ags_note_edit_reset_horizontally</link> (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-reset-vertically">ags_note_edit_reset_vertically</link> (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-set-map-height">ags_note_edit_set_map_height</link> (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> map_height</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsNoteEdit.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsNoteEdit.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-NOTE-EDIT-MAX-CONTROLS:CAPS" role="macro">
+<title>AGS_NOTE_EDIT_MAX_CONTROLS</title>
+<indexterm zone="AGS-NOTE-EDIT-MAX-CONTROLS:CAPS"><primary>AGS_NOTE_EDIT_MAX_CONTROLS</primary></indexterm>
+<programlisting>#define AGS_NOTE_EDIT_MAX_CONTROLS 1200
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNoteEdit" role="struct">
+<title>struct AgsNoteEdit</title>
+<indexterm zone="AgsNoteEdit"><primary>AgsNoteEdit</primary></indexterm>
+<programlisting>struct AgsNoteEdit {
+ GtkTable table;
+
+ guint flags;
+
+ GtkDrawingArea *drawing_area;
+
+ struct _AgsNoteEditControl{ // values retrieved by mouse pressed and released callback
+ AgsNote *note;
+
+ guint x0_offset;
+ guint y0_offset;
+ guint x0;
+ guint y0;
+
+ guint x1_offset;
+ guint y1_offset;
+ guint x1;
+ guint y1;
+ }control;
+
+ guint width;
+ guint height;
+ guint map_width;
+ guint map_height;
+
+ guint control_height;
+ guint control_margin_y;
+
+ guint control_width;
+
+ guint y0;
+ guint y1;
+
+ guint nth_y;
+ guint stop_y;
+
+ struct _AgsNoteEditControlCurrent{ // values for drawing refering to current tic and zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ }control_current;
+
+ struct _AgsNoteEditControlUnit{ // values for drawing refering to smallest tic and current zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ guint stop_x;
+ }control_unit;
+
+ guint selected_x;
+ guint selected_y;
+
+ GtkVScrollbar *vscrollbar;
+ GtkHScrollbar *hscrollbar;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNoteEditClass" role="struct">
+<title>struct AgsNoteEditClass</title>
+<indexterm zone="AgsNoteEditClass"><primary>AgsNoteEditClass</primary></indexterm>
+<programlisting>struct AgsNoteEditClass {
+ GtkTableClass table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNoteEditFlags" role="enum">
+<title>enum AgsNoteEditFlags</title>
+<indexterm zone="AgsNoteEditFlags"><primary>AgsNoteEditFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_NOTE_EDIT_RESETING_VERTICALLY = 1,
+ AGS_NOTE_EDIT_RESETING_HORIZONTALLY = 1 << 1,
+ AGS_NOTE_EDIT_POSITION_CURSOR = 1 << 2,
+ AGS_NOTE_EDIT_ADDING_NOTE = 1 << 3,
+ AGS_NOTE_EDIT_DELETING_NOTE = 1 << 4,
+ AGS_NOTE_EDIT_SELECTING_NOTES = 1 << 5,
+} AgsNoteEditFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNoteEditResetFlags" role="enum">
+<title>enum AgsNoteEditResetFlags</title>
+<indexterm zone="AgsNoteEditResetFlags"><primary>AgsNoteEditResetFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_NOTE_EDIT_RESET_VSCROLLBAR = 1,
+ AGS_NOTE_EDIT_RESET_HSCROLLBAR = 1 << 1,
+ AGS_NOTE_EDIT_RESET_WIDTH = 1 << 2,
+ AGS_NOTE_EDIT_RESET_HEIGHT = 1 << 3, // reserved
+} AgsNoteEditResetFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-draw-notation" role="function">
+<title>ags_note_edit_draw_notation ()</title>
+<indexterm zone="ags-note-edit-draw-notation"><primary>ags_note_edit_draw_notation</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_draw_notation (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-draw-position" role="function">
+<title>ags_note_edit_draw_position ()</title>
+<indexterm zone="ags-note-edit-draw-position"><primary>ags_note_edit_draw_position</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_draw_position (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-draw-scroll" role="function">
+<title>ags_note_edit_draw_scroll ()</title>
+<indexterm zone="ags-note-edit-draw-scroll"><primary>ags_note_edit_draw_scroll</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_draw_scroll (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> position</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-draw-segment" role="function">
+<title>ags_note_edit_draw_segment ()</title>
+<indexterm zone="ags-note-edit-draw-segment"><primary>ags_note_edit_draw_segment</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_draw_segment (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="cairo-t"><type>cairo_t</type></link> *cr</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-new" role="function">
+<title>ags_note_edit_new ()</title>
+<indexterm zone="ags-note-edit-new"><primary>ags_note_edit_new</primary></indexterm>
+<programlisting><link linkend="AgsNoteEdit"><returnvalue>AgsNoteEdit</returnvalue></link> * ags_note_edit_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-reset-horizontally" role="function">
+<title>ags_note_edit_reset_horizontally ()</title>
+<indexterm zone="ags-note-edit-reset-horizontally"><primary>ags_note_edit_reset_horizontally</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_reset_horizontally (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-reset-vertically" role="function">
+<title>ags_note_edit_reset_vertically ()</title>
+<indexterm zone="ags-note-edit-reset-vertically"><primary>ags_note_edit_reset_vertically</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_reset_vertically (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-set-map-height" role="function">
+<title>ags_note_edit_set_map_height ()</title>
+<indexterm zone="ags-note-edit-set-map-height"><primary>ags_note_edit_set_map_height</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_set_map_height (<parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> map_height</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_note_edit_callbacks.xml b/doc/reference/ags/xml/ags_note_edit_callbacks.xml
new file mode 100644
index 0000000..b7b47c5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_note_edit_callbacks.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-note-edit-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-note-edit-callbacks.top_of_page">ags_note_edit_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_note_edit_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-note-edit-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-note-edit-drawing-area-button-press-event">ags_note_edit_drawing_area_button_press_event</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-note-edit-drawing-area-button-release-event">ags_note_edit_drawing_area_button_release_event</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-note-edit-drawing-area-configure-event">ags_note_edit_drawing_area_configure_event</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-note-edit-drawing-area-expose-event">ags_note_edit_drawing_area_expose_event</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-note-edit-drawing-area-motion-notify-event">ags_note_edit_drawing_area_motion_notify_event</link>
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventMotion"><type>GdkEventMotion</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-hscrollbar-value-changed">ags_note_edit_hscrollbar_value_changed</link>
+ (<parameter><link linkend="GtkRange"><type>GtkRange</type></link> *range</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-note-edit-vscrollbar-value-changed">ags_note_edit_vscrollbar_value_changed</link>
+ (<parameter><link linkend="GtkRange"><type>GtkRange</type></link> *range</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-note-edit-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-note-edit-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-note-edit-drawing-area-button-press-event" role="function">
+<title>ags_note_edit_drawing_area_button_press_event ()</title>
+<indexterm zone="ags-note-edit-drawing-area-button-press-event"><primary>ags_note_edit_drawing_area_button_press_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_note_edit_drawing_area_button_press_event
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-drawing-area-button-release-event" role="function">
+<title>ags_note_edit_drawing_area_button_release_event ()</title>
+<indexterm zone="ags-note-edit-drawing-area-button-release-event"><primary>ags_note_edit_drawing_area_button_release_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_note_edit_drawing_area_button_release_event
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventButton"><type>GdkEventButton</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-drawing-area-configure-event" role="function">
+<title>ags_note_edit_drawing_area_configure_event ()</title>
+<indexterm zone="ags-note-edit-drawing-area-configure-event"><primary>ags_note_edit_drawing_area_configure_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_note_edit_drawing_area_configure_event
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-drawing-area-expose-event" role="function">
+<title>ags_note_edit_drawing_area_expose_event ()</title>
+<indexterm zone="ags-note-edit-drawing-area-expose-event"><primary>ags_note_edit_drawing_area_expose_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_note_edit_drawing_area_expose_event
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-drawing-area-motion-notify-event" role="function">
+<title>ags_note_edit_drawing_area_motion_notify_event ()</title>
+<indexterm zone="ags-note-edit-drawing-area-motion-notify-event"><primary>ags_note_edit_drawing_area_motion_notify_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_note_edit_drawing_area_motion_notify_event
+ (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventMotion"><type>GdkEventMotion</type></link> *event</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-hscrollbar-value-changed" role="function">
+<title>ags_note_edit_hscrollbar_value_changed ()</title>
+<indexterm zone="ags-note-edit-hscrollbar-value-changed"><primary>ags_note_edit_hscrollbar_value_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_hscrollbar_value_changed
+ (<parameter><link linkend="GtkRange"><type>GtkRange</type></link> *range</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-note-edit-vscrollbar-value-changed" role="function">
+<title>ags_note_edit_vscrollbar_value_changed ()</title>
+<indexterm zone="ags-note-edit-vscrollbar-value-changed"><primary>ags_note_edit_vscrollbar_value_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_note_edit_vscrollbar_value_changed
+ (<parameter><link linkend="GtkRange"><type>GtkRange</type></link> *range</parameter>,
+ <parameter><link linkend="AgsNoteEdit"><type>AgsNoteEdit</type></link> *note_edit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_notebook.xml b/doc/reference/ags/xml/ags_notebook.xml
new file mode 100644
index 0000000..93c9bee
--- /dev/null
+++ b/doc/reference/ags/xml/ags_notebook.xml
@@ -0,0 +1,164 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsNotebook">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsNotebook.top_of_page">AgsNotebook</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsNotebook</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsNotebook.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-NOTEBOOK-TAB:CAPS">AGS_NOTEBOOK_TAB</link> (x)
+struct <link linkend="AgsNotebook">AgsNotebook</link>;
+struct <link linkend="AgsNotebookClass">AgsNotebookClass</link>;
+struct <link linkend="AgsNotebookTab">AgsNotebookTab</link>;
+enum <link linkend="AgsNotebookTabFlags">AgsNotebookTabFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notebook-add-child">ags_notebook_add_child</link> (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);
+<link linkend="gint"><returnvalue>gint</returnvalue></link> <link linkend="ags-notebook-add-tab">ags_notebook_add_tab</link> (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notebook-insert-tab">ags_notebook_insert_tab</link> (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);
+<link linkend="AgsNotebook"><returnvalue>AgsNotebook</returnvalue></link> * <link linkend="ags-notebook-new">ags_notebook_new</link> ();
+<link linkend="gint"><returnvalue>gint</returnvalue></link> <link linkend="ags-notebook-next-active-tab">ags_notebook_next_active_tab</link> (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notebook-remove-child">ags_notebook_remove_child</link> (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notebook-remove-tab">ags_notebook_remove_tab</link> (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> nth</parameter>);
+<link linkend="gint"><returnvalue>gint</returnvalue></link> <link linkend="ags-notebook-tab-index">ags_notebook_tab_index</link> (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *notation</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsNotebook.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsNotebook.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-NOTEBOOK-TAB:CAPS" role="macro">
+<title>AGS_NOTEBOOK_TAB()</title>
+<indexterm zone="AGS-NOTEBOOK-TAB:CAPS"><primary>AGS_NOTEBOOK_TAB</primary></indexterm>
+<programlisting>#define AGS_NOTEBOOK_TAB(x) ((AgsNotebookTab *)(x))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNotebook" role="struct">
+<title>struct AgsNotebook</title>
+<indexterm zone="AgsNotebook"><primary>AgsNotebook</primary></indexterm>
+<programlisting>struct AgsNotebook {
+ GtkVBox vbox;
+
+ guint flags;
+
+ GtkHBox *hbox;
+
+ GList *tabs;
+ GtkWidget *child;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNotebookClass" role="struct">
+<title>struct AgsNotebookClass</title>
+<indexterm zone="AgsNotebookClass"><primary>AgsNotebookClass</primary></indexterm>
+<programlisting>struct AgsNotebookClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNotebookTab" role="struct">
+<title>struct AgsNotebookTab</title>
+<indexterm zone="AgsNotebookTab"><primary>AgsNotebookTab</primary></indexterm>
+<programlisting>struct AgsNotebookTab {
+ guint flags;
+
+ GtkToggleButton *toggle;
+ GObject *notation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsNotebookTabFlags" role="enum">
+<title>enum AgsNotebookTabFlags</title>
+<indexterm zone="AgsNotebookTabFlags"><primary>AgsNotebookTabFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_NOTEBOOK_TAB_VISIBLE = 1,
+ AGS_NOTEBOOK_TAB_MODE_NORMAL = 1 << 1,
+ AGS_NOTEBOOK_TAB_MODE_OVERLAY = 1 << 2,
+} AgsNotebookTabFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-add-child" role="function">
+<title>ags_notebook_add_child ()</title>
+<indexterm zone="ags-notebook-add-child"><primary>ags_notebook_add_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notebook_add_child (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-add-tab" role="function">
+<title>ags_notebook_add_tab ()</title>
+<indexterm zone="ags-notebook-add-tab"><primary>ags_notebook_add_tab</primary></indexterm>
+<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link> ags_notebook_add_tab (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-insert-tab" role="function">
+<title>ags_notebook_insert_tab ()</title>
+<indexterm zone="ags-notebook-insert-tab"><primary>ags_notebook_insert_tab</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notebook_insert_tab (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-new" role="function">
+<title>ags_notebook_new ()</title>
+<indexterm zone="ags-notebook-new"><primary>ags_notebook_new</primary></indexterm>
+<programlisting><link linkend="AgsNotebook"><returnvalue>AgsNotebook</returnvalue></link> * ags_notebook_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-next-active-tab" role="function">
+<title>ags_notebook_next_active_tab ()</title>
+<indexterm zone="ags-notebook-next-active-tab"><primary>ags_notebook_next_active_tab</primary></indexterm>
+<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link> ags_notebook_next_active_tab (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-remove-child" role="function">
+<title>ags_notebook_remove_child ()</title>
+<indexterm zone="ags-notebook-remove-child"><primary>ags_notebook_remove_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notebook_remove_child (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-remove-tab" role="function">
+<title>ags_notebook_remove_tab ()</title>
+<indexterm zone="ags-notebook-remove-tab"><primary>ags_notebook_remove_tab</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notebook_remove_tab (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> nth</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-notebook-tab-index" role="function">
+<title>ags_notebook_tab_index ()</title>
+<indexterm zone="ags-notebook-tab-index"><primary>ags_notebook_tab_index</primary></indexterm>
+<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link> ags_notebook_tab_index (<parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *notation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_notebook_callbacks.xml b/doc/reference/ags/xml/ags_notebook_callbacks.xml
new file mode 100644
index 0000000..546ef01
--- /dev/null
+++ b/doc/reference/ags/xml/ags_notebook_callbacks.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-notebook-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-notebook-callbacks.top_of_page">ags_notebook_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_notebook_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-notebook-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-notebook-machine-changed-callback">ags_notebook_machine_changed_callback</link>
+ (<parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-notebook-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-notebook-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-notebook-machine-changed-callback" role="function">
+<title>ags_notebook_machine_changed_callback ()</title>
+<indexterm zone="ags-notebook-machine-changed-callback"><primary>ags_notebook_machine_changed_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_notebook_machine_changed_callback
+ (<parameter><link linkend="AgsEditor"><type>AgsEditor</type></link> *editor</parameter>,
+ <parameter><link linkend="AgsMachine"><type>AgsMachine</type></link> *machine</parameter>,
+ <parameter><link linkend="AgsNotebook"><type>AgsNotebook</type></link> *notebook</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_open_file.xml b/doc/reference/ags/xml/ags_open_file.xml
new file mode 100644
index 0000000..d12b616
--- /dev/null
+++ b/doc/reference/ags/xml/ags_open_file.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsOpenFile">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsOpenFile.top_of_page">AgsOpenFile</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsOpenFile</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsOpenFile.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsOpenFile">AgsOpenFile</link>;
+struct <link linkend="AgsOpenFileClass">AgsOpenFileClass</link>;
+<link linkend="AgsOpenFile"><returnvalue>AgsOpenFile</returnvalue></link> * <link linkend="ags-open-file-new">ags_open_file_new</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GSList"><type>GSList</type></link> *filenames</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> overwrite_channels</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create_channels</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsOpenFile.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsOpenFile.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsOpenFile" role="struct">
+<title>struct AgsOpenFile</title>
+<indexterm zone="AgsOpenFile"><primary>AgsOpenFile</primary></indexterm>
+<programlisting>struct AgsOpenFile {
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ GSList *filenames;
+
+ gboolean overwrite_channels;
+ gboolean create_channels;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsOpenFileClass" role="struct">
+<title>struct AgsOpenFileClass</title>
+<indexterm zone="AgsOpenFileClass"><primary>AgsOpenFileClass</primary></indexterm>
+<programlisting>struct AgsOpenFileClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-open-file-new" role="function">
+<title>ags_open_file_new ()</title>
+<indexterm zone="ags-open-file-new"><primary>ags_open_file_new</primary></indexterm>
+<programlisting><link linkend="AgsOpenFile"><returnvalue>AgsOpenFile</returnvalue></link> * ags_open_file_new (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="GSList"><type>GSList</type></link> *filenames</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> overwrite_channels</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create_channels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_open_single_file.xml b/doc/reference/ags/xml/ags_open_single_file.xml
new file mode 100644
index 0000000..cc275ba
--- /dev/null
+++ b/doc/reference/ags/xml/ags_open_single_file.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsOpenSingleFile">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsOpenSingleFile.top_of_page">AgsOpenSingleFile</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsOpenSingleFile</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsOpenSingleFile.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsOpenSingleFile">AgsOpenSingleFile</link>;
+struct <link linkend="AgsOpenSingleFileClass">AgsOpenSingleFileClass</link>;
+<link linkend="AgsOpenSingleFile"><returnvalue>AgsOpenSingleFile</returnvalue></link> * <link linkend="ags-open-single-file-new">ags_open_single_file_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsOpenSingleFile.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsOpenSingleFile.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsOpenSingleFile" role="struct">
+<title>struct AgsOpenSingleFile</title>
+<indexterm zone="AgsOpenSingleFile"><primary>AgsOpenSingleFile</primary></indexterm>
+<programlisting>struct AgsOpenSingleFile {
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsDevout *devout;
+
+ gchar *filename;
+ guint start_channel;
+ guint audio_channels;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsOpenSingleFileClass" role="struct">
+<title>struct AgsOpenSingleFileClass</title>
+<indexterm zone="AgsOpenSingleFileClass"><primary>AgsOpenSingleFileClass</primary></indexterm>
+<programlisting>struct AgsOpenSingleFileClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-open-single-file-new" role="function">
+<title>ags_open_single_file_new ()</title>
+<indexterm zone="ags-open-single-file-new"><primary>ags_open_single_file_new</primary></indexterm>
+<programlisting><link linkend="AgsOpenSingleFile"><returnvalue>AgsOpenSingleFile</returnvalue></link> * ags_open_single_file_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_option_menu.xml b/doc/reference/ags/xml/ags_option_menu.xml
new file mode 100644
index 0000000..86efc06
--- /dev/null
+++ b/doc/reference/ags/xml/ags_option_menu.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsOptionMenu">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsOptionMenu.top_of_page">AgsOptionMenu</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsOptionMenu</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsOptionMenu.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsOptionMenu">AgsOptionMenu</link>;
+struct <link linkend="AgsOptionMenuClass">AgsOptionMenuClass</link>;
+<link linkend="AgsOptionMenu"><returnvalue>AgsOptionMenu</returnvalue></link> * <link linkend="ags-option-menu-new">ags_option_menu_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsOptionMenu.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsOptionMenu.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsOptionMenu" role="struct">
+<title>struct AgsOptionMenu</title>
+<indexterm zone="AgsOptionMenu"><primary>AgsOptionMenu</primary></indexterm>
+<programlisting>struct AgsOptionMenu {
+ GtkHBox hbox;
+
+ GtkWidget *button;
+ AgsTable *table;
+
+ GtkWidget *menu;
+ GList *active_item;
+ GtkWidget *focus;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsOptionMenuClass" role="struct">
+<title>struct AgsOptionMenuClass</title>
+<indexterm zone="AgsOptionMenuClass"><primary>AgsOptionMenuClass</primary></indexterm>
+<programlisting>struct AgsOptionMenuClass {
+ GtkHBoxClass hbox;
+
+ void (*changed)(AgsOptionMenu *option_menu);
+ void (*focus_changed)(AgsOptionMenu *option_menu);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-option-menu-new" role="function">
+<title>ags_option_menu_new ()</title>
+<indexterm zone="ags-option-menu-new"><primary>ags_option_menu_new</primary></indexterm>
+<programlisting><link linkend="AgsOptionMenu"><returnvalue>AgsOptionMenu</returnvalue></link> * ags_option_menu_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_oscillator.xml b/doc/reference/ags/xml/ags_oscillator.xml
new file mode 100644
index 0000000..6da3812
--- /dev/null
+++ b/doc/reference/ags/xml/ags_oscillator.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsOscillator">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsOscillator.top_of_page">AgsOscillator</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsOscillator</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsOscillator.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsOscillator">AgsOscillator</link>;
+struct <link linkend="AgsOscillatorClass">AgsOscillatorClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-file-read-oscillator">ags_file_read_oscillator</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> **oscillator</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-file-write-oscillator">ags_file_write_oscillator</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);
+<link linkend="AgsOscillator"><returnvalue>AgsOscillator</returnvalue></link> * <link linkend="ags-oscillator-new">ags_oscillator_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsOscillator.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsOscillator.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsOscillator" role="struct">
+<title>struct AgsOscillator</title>
+<indexterm zone="AgsOscillator"><primary>AgsOscillator</primary></indexterm>
+<programlisting>struct AgsOscillator {
+ GtkFrame frame;
+
+ GtkComboBox *wave;
+ gulong wave_handler;
+
+ GtkSpinButton *attack;
+ gulong attack_handler;
+
+ GtkSpinButton *frame_count;
+ gulong frame_count_handler;
+
+ GtkSpinButton *frequency;
+ gulong frequency_handler;
+
+ GtkSpinButton *phase;
+ gulong phase_handler;
+
+ GtkSpinButton *volume;
+ gulong volume_handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsOscillatorClass" role="struct">
+<title>struct AgsOscillatorClass</title>
+<indexterm zone="AgsOscillatorClass"><primary>AgsOscillatorClass</primary></indexterm>
+<programlisting>struct AgsOscillatorClass {
+ GtkFrameClass frame;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-read-oscillator" role="function">
+<title>ags_file_read_oscillator ()</title>
+<indexterm zone="ags-file-read-oscillator"><primary>ags_file_read_oscillator</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_file_read_oscillator (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> **oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-file-write-oscillator" role="function">
+<title>ags_file_write_oscillator ()</title>
+<indexterm zone="ags-file-write-oscillator"><primary>ags_file_write_oscillator</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_file_write_oscillator (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-oscillator-new" role="function">
+<title>ags_oscillator_new ()</title>
+<indexterm zone="ags-oscillator-new"><primary>ags_oscillator_new</primary></indexterm>
+<programlisting><link linkend="AgsOscillator"><returnvalue>AgsOscillator</returnvalue></link> * ags_oscillator_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_oscillator_callbacks.xml b/doc/reference/ags/xml/ags_oscillator_callbacks.xml
new file mode 100644
index 0000000..1b7ccc2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_oscillator_callbacks.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-oscillator-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-oscillator-callbacks.top_of_page">ags_oscillator_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_oscillator_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-oscillator-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-oscillator-attack-callback">ags_oscillator_attack_callback</link> (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-oscillator-frame-count-callback">ags_oscillator_frame_count_callback</link> (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-oscillator-frequency-callback">ags_oscillator_frequency_callback</link> (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-oscillator-phase-callback">ags_oscillator_phase_callback</link> (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-oscillator-volume-callback">ags_oscillator_volume_callback</link> (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-oscillator-wave-callback">ags_oscillator_wave_callback</link> (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-oscillator-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-oscillator-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-oscillator-attack-callback" role="function">
+<title>ags_oscillator_attack_callback ()</title>
+<indexterm zone="ags-oscillator-attack-callback"><primary>ags_oscillator_attack_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_oscillator_attack_callback (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-oscillator-frame-count-callback" role="function">
+<title>ags_oscillator_frame_count_callback ()</title>
+<indexterm zone="ags-oscillator-frame-count-callback"><primary>ags_oscillator_frame_count_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_oscillator_frame_count_callback (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-oscillator-frequency-callback" role="function">
+<title>ags_oscillator_frequency_callback ()</title>
+<indexterm zone="ags-oscillator-frequency-callback"><primary>ags_oscillator_frequency_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_oscillator_frequency_callback (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-oscillator-phase-callback" role="function">
+<title>ags_oscillator_phase_callback ()</title>
+<indexterm zone="ags-oscillator-phase-callback"><primary>ags_oscillator_phase_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_oscillator_phase_callback (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-oscillator-volume-callback" role="function">
+<title>ags_oscillator_volume_callback ()</title>
+<indexterm zone="ags-oscillator-volume-callback"><primary>ags_oscillator_volume_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_oscillator_volume_callback (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-oscillator-wave-callback" role="function">
+<title>ags_oscillator_wave_callback ()</title>
+<indexterm zone="ags-oscillator-wave-callback"><primary>ags_oscillator_wave_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_oscillator_wave_callback (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo</parameter>,
+ <parameter><link linkend="AgsOscillator"><type>AgsOscillator</type></link> *oscillator</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_output.xml b/doc/reference/ags/xml/ags_output.xml
new file mode 100644
index 0000000..6e17a0e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_output.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsOutput">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsOutput.top_of_page">AgsOutput</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsOutput</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsOutput.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsOutput">AgsOutput</link>;
+struct <link linkend="AgsOutputClass">AgsOutputClass</link>;
+<link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * <link linkend="ags-output-find-first-input-recycling">ags_output_find_first_input_recycling</link>
+ (<parameter><link linkend="AgsOutput"><type>AgsOutput</type></link> *output</parameter>);
+<link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * <link linkend="ags-output-find-last-input-recycling">ags_output_find_last_input_recycling</link>
+ (<parameter><link linkend="AgsOutput"><type>AgsOutput</type></link> *output</parameter>);
+<link linkend="AgsOutput"><returnvalue>AgsOutput</returnvalue></link> * <link linkend="ags-output-new">ags_output_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsOutput.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsOutput.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsOutput" role="struct">
+<title>struct AgsOutput</title>
+<indexterm zone="AgsOutput"><primary>AgsOutput</primary></indexterm>
+<programlisting>struct AgsOutput {
+ AgsChannel channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsOutputClass" role="struct">
+<title>struct AgsOutputClass</title>
+<indexterm zone="AgsOutputClass"><primary>AgsOutputClass</primary></indexterm>
+<programlisting>struct AgsOutputClass {
+ AgsChannelClass channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-output-find-first-input-recycling" role="function">
+<title>ags_output_find_first_input_recycling ()</title>
+<indexterm zone="ags-output-find-first-input-recycling"><primary>ags_output_find_first_input_recycling</primary></indexterm>
+<programlisting><link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * ags_output_find_first_input_recycling
+ (<parameter><link linkend="AgsOutput"><type>AgsOutput</type></link> *output</parameter>);</programlisting>
+<para>
+Retrieve first input recycling.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the first <link linkend="AgsRecycling"><type>AgsRecycling</type></link> of <link linkend="AgsAudio"><type>AgsAudio</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-output-find-last-input-recycling" role="function">
+<title>ags_output_find_last_input_recycling ()</title>
+<indexterm zone="ags-output-find-last-input-recycling"><primary>ags_output_find_last_input_recycling</primary></indexterm>
+<programlisting><link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * ags_output_find_last_input_recycling
+ (<parameter><link linkend="AgsOutput"><type>AgsOutput</type></link> *output</parameter>);</programlisting>
+<para>
+Retrieve last input recycling.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the last <link linkend="AgsRecycling"><type>AgsRecycling</type></link> of <link linkend="AgsAudio"><type>AgsAudio</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-output-new" role="function">
+<title>ags_output_new ()</title>
+<indexterm zone="ags-output-new"><primary>ags_output_new</primary></indexterm>
+<programlisting><link linkend="AgsOutput"><returnvalue>AgsOutput</returnvalue></link> * ags_output_new (<parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>);</programlisting>
+<para>
+Creates an <link linkend="AgsOutput"><type>AgsOutput</type></link>, linking tree to <parameter>audio</parameter>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsOutput"><type>AgsOutput</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_packable.xml b/doc/reference/ags/xml/ags_packable.xml
new file mode 100644
index 0000000..2211bc6
--- /dev/null
+++ b/doc/reference/ags/xml/ags_packable.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPackable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPackable.top_of_page">AgsPackable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPackable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPackable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsPackable">AgsPackable</link>;
+struct <link linkend="AgsPackableInterface">AgsPackableInterface</link>;
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-packable-pack">ags_packable_pack</link> (<parameter><link linkend="AgsPackable"><type>AgsPackable</type></link> *packable</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *container</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-packable-unpack">ags_packable_unpack</link> (<parameter><link linkend="AgsPackable"><type>AgsPackable</type></link> *packable</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPackable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPackable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPackable" role="typedef">
+<title>AgsPackable</title>
+<indexterm zone="AgsPackable"><primary>AgsPackable</primary></indexterm>
+<programlisting>typedef void AgsPackable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPackableInterface" role="struct">
+<title>struct AgsPackableInterface</title>
+<indexterm zone="AgsPackableInterface"><primary>AgsPackableInterface</primary></indexterm>
+<programlisting>struct AgsPackableInterface {
+ GTypeInterface interface;
+
+ gboolean (*pack)(AgsPackable *packable, GObject *container);
+ gboolean (*unpack)(AgsPackable *packable);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-packable-pack" role="function">
+<title>ags_packable_pack ()</title>
+<indexterm zone="ags-packable-pack"><primary>ags_packable_pack</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_packable_pack (<parameter><link linkend="AgsPackable"><type>AgsPackable</type></link> *packable</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *container</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-packable-unpack" role="function">
+<title>ags_packable_unpack ()</title>
+<indexterm zone="ags-packable-unpack"><primary>ags_packable_unpack</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_packable_unpack (<parameter><link linkend="AgsPackable"><type>AgsPackable</type></link> *packable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_pad.xml b/doc/reference/ags/xml/ags_pad.xml
new file mode 100644
index 0000000..71ab7b4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_pad.xml
@@ -0,0 +1,144 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPad">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPad.top_of_page">AgsPad</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPad</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPad.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-PAD-DEFAULT-BUILD-ID:CAPS">AGS_PAD_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-PAD-DEFAULT-VERSION:CAPS">AGS_PAD_DEFAULT_VERSION</link>
+struct <link linkend="AgsPad">AgsPad</link>;
+struct <link linkend="AgsPadClass">AgsPadClass</link>;
+enum <link linkend="AgsPadFlags">AgsPadFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-pad-find-port">ags_pad_find_port</link> (<parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="AgsPad"><returnvalue>AgsPad</returnvalue></link> * <link linkend="ags-pad-new">ags_pad_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-pad-resize-lines">ags_pad_resize_lines</link> (<parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> line_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels_old</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-pad-set-channel">ags_pad_set_channel</link> (<parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPad.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPad.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-PAD-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_PAD_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-PAD-DEFAULT-BUILD-ID:CAPS"><primary>AGS_PAD_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_PAD_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-PAD-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_PAD_DEFAULT_VERSION</title>
+<indexterm zone="AGS-PAD-DEFAULT-VERSION:CAPS"><primary>AGS_PAD_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_PAD_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPad" role="struct">
+<title>struct AgsPad</title>
+<indexterm zone="AgsPad"><primary>AgsPad</primary></indexterm>
+<programlisting>struct AgsPad {
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ guint cols;
+ AgsExpanderSet *expander_set;
+
+ GtkToggleButton *group;
+ GtkToggleButton *mute;
+ GtkToggleButton *solo;
+
+ GtkToggleButton *play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPadClass" role="struct">
+<title>struct AgsPadClass</title>
+<indexterm zone="AgsPadClass"><primary>AgsPadClass</primary></indexterm>
+<programlisting>struct AgsPadClass {
+ GtkVBoxClass vbox;
+
+ void (*set_channel)(AgsPad *pad, AgsChannel *channel);
+
+ void (*resize_lines)(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPadFlags" role="enum">
+<title>enum AgsPadFlags</title>
+<indexterm zone="AgsPadFlags"><primary>AgsPadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PAD_CONNECTED = 1,
+ AGS_PAD_SHOW_GROUPING = 1 << 1,
+ AGS_PAD_GROUP_ALL = 1 << 2,
+ AGS_PAD_GROUP_LINE = 1 << 3,
+} AgsPadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-find-port" role="function">
+<title>ags_pad_find_port ()</title>
+<indexterm zone="ags-pad-find-port"><primary>ags_pad_find_port</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_pad_find_port (<parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-new" role="function">
+<title>ags_pad_new ()</title>
+<indexterm zone="ags-pad-new"><primary>ags_pad_new</primary></indexterm>
+<programlisting><link linkend="AgsPad"><returnvalue>AgsPad</returnvalue></link> * ags_pad_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-resize-lines" role="function">
+<title>ags_pad_resize_lines ()</title>
+<indexterm zone="ags-pad-resize-lines"><primary>ags_pad_resize_lines</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_pad_resize_lines (<parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> line_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels_old</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-set-channel" role="function">
+<title>ags_pad_set_channel ()</title>
+<indexterm zone="ags-pad-set-channel"><primary>ags_pad_set_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_pad_set_channel (<parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_pad_callbacks.xml b/doc/reference/ags/xml/ags_pad_callbacks.xml
new file mode 100644
index 0000000..c638d26
--- /dev/null
+++ b/doc/reference/ags/xml/ags_pad_callbacks.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-pad-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-pad-callbacks.top_of_page">ags_pad_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_pad_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-pad-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-destroy-callback">ags_pad_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-group-clicked-callback">ags_pad_group_clicked_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-mute-clicked-callback">ags_pad_mute_clicked_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-option-changed-callback">ags_pad_option_changed_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-parent-set-callback">ags_pad_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-show-callback">ags_pad_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-solo-clicked-callback">ags_pad_solo_clicked_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-pad-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-pad-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-pad-destroy-callback" role="function">
+<title>ags_pad_destroy_callback ()</title>
+<indexterm zone="ags-pad-destroy-callback"><primary>ags_pad_destroy_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-group-clicked-callback" role="function">
+<title>ags_pad_group_clicked_callback ()</title>
+<indexterm zone="ags-pad-group-clicked-callback"><primary>ags_pad_group_clicked_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_group_clicked_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-mute-clicked-callback" role="function">
+<title>ags_pad_mute_clicked_callback ()</title>
+<indexterm zone="ags-pad-mute-clicked-callback"><primary>ags_pad_mute_clicked_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_mute_clicked_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-option-changed-callback" role="function">
+<title>ags_pad_option_changed_callback ()</title>
+<indexterm zone="ags-pad-option-changed-callback"><primary>ags_pad_option_changed_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_option_changed_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-parent-set-callback" role="function">
+<title>ags_pad_parent_set_callback ()</title>
+<indexterm zone="ags-pad-parent-set-callback"><primary>ags_pad_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-show-callback" role="function">
+<title>ags_pad_show_callback ()</title>
+<indexterm zone="ags-pad-show-callback"><primary>ags_pad_show_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-solo-clicked-callback" role="function">
+<title>ags_pad_solo_clicked_callback ()</title>
+<indexterm zone="ags-pad-solo-clicked-callback"><primary>ags_pad_solo_clicked_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_solo_clicked_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPad"><type>AgsPad</type></link> *pad</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_pad_editor.xml b/doc/reference/ags/xml/ags_pad_editor.xml
new file mode 100644
index 0000000..4dacd69
--- /dev/null
+++ b/doc/reference/ags/xml/ags_pad_editor.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPadEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPadEditor.top_of_page">AgsPadEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPadEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPadEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-PAD-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_PAD_EDITOR_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-PAD-EDITOR-DEFAULT-VERSION:CAPS">AGS_PAD_EDITOR_DEFAULT_VERSION</link>
+struct <link linkend="AgsPadEditor">AgsPadEditor</link>;
+struct <link linkend="AgsPadEditorClass">AgsPadEditorClass</link>;
+<link linkend="AgsPadEditor"><returnvalue>AgsPadEditor</returnvalue></link> * <link linkend="ags-pad-editor-new">ags_pad_editor_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-pad-editor-set-channel">ags_pad_editor_set_channel</link> (<parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPadEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPadEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-PAD-EDITOR-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_PAD_EDITOR_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-PAD-EDITOR-DEFAULT-BUILD-ID:CAPS"><primary>AGS_PAD_EDITOR_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_PAD_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-PAD-EDITOR-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_PAD_EDITOR_DEFAULT_VERSION</title>
+<indexterm zone="AGS-PAD-EDITOR-DEFAULT-VERSION:CAPS"><primary>AGS_PAD_EDITOR_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_PAD_EDITOR_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPadEditor" role="struct">
+<title>struct AgsPadEditor</title>
+<indexterm zone="AgsPadEditor"><primary>AgsPadEditor</primary></indexterm>
+<programlisting>struct AgsPadEditor {
+ GtkVBox vbox;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *pad;
+
+ GtkExpander *line_editor_expander;
+ GtkVBox *line_editor;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPadEditorClass" role="struct">
+<title>struct AgsPadEditorClass</title>
+<indexterm zone="AgsPadEditorClass"><primary>AgsPadEditorClass</primary></indexterm>
+<programlisting>struct AgsPadEditorClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-editor-new" role="function">
+<title>ags_pad_editor_new ()</title>
+<indexterm zone="ags-pad-editor-new"><primary>ags_pad_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsPadEditor"><returnvalue>AgsPadEditor</returnvalue></link> * ags_pad_editor_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-editor-set-channel" role="function">
+<title>ags_pad_editor_set_channel ()</title>
+<indexterm zone="ags-pad-editor-set-channel"><primary>ags_pad_editor_set_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_pad_editor_set_channel (<parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_pad_editor_callbacks.xml b/doc/reference/ags/xml/ags_pad_editor_callbacks.xml
new file mode 100644
index 0000000..0be2328
--- /dev/null
+++ b/doc/reference/ags/xml/ags_pad_editor_callbacks.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-pad-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-pad-editor-callbacks.top_of_page">ags_pad_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_pad_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-pad-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-editor-destroy-callback">ags_pad_editor_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-editor-parent-set-callback">ags_pad_editor_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-pad-editor-set-audio-channels-callback">ags_pad_editor_set_audio_channels_callback</link>
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels_old</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="ags-pad-editor-show-callback">ags_pad_editor_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-pad-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-pad-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-pad-editor-destroy-callback" role="function">
+<title>ags_pad_editor_destroy_callback ()</title>
+<indexterm zone="ags-pad-editor-destroy-callback"><primary>ags_pad_editor_destroy_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_editor_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-editor-parent-set-callback" role="function">
+<title>ags_pad_editor_parent_set_callback ()</title>
+<indexterm zone="ags-pad-editor-parent-set-callback"><primary>ags_pad_editor_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_editor_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-editor-set-audio-channels-callback" role="function">
+<title>ags_pad_editor_set_audio_channels_callback ()</title>
+<indexterm zone="ags-pad-editor-set-audio-channels-callback"><primary>ags_pad_editor_set_audio_channels_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_pad_editor_set_audio_channels_callback
+ (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels_old</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pad-editor-show-callback" role="function">
+<title>ags_pad_editor_show_callback ()</title>
+<indexterm zone="ags-pad-editor-show-callback"><primary>ags_pad_editor_show_callback</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> ags_pad_editor_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsPadEditor"><type>AgsPadEditor</type></link> *pad_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_panel.xml b/doc/reference/ags/xml/ags_panel.xml
new file mode 100644
index 0000000..0aeeec4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_panel.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPanel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPanel.top_of_page">AgsPanel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPanel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPanel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPanel">AgsPanel</link>;
+struct <link linkend="AgsPanelClass">AgsPanelClass</link>;
+<link linkend="AgsPanel"><returnvalue>AgsPanel</returnvalue></link> * <link linkend="ags-panel-new">ags_panel_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPanel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPanel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPanel" role="struct">
+<title>struct AgsPanel</title>
+<indexterm zone="AgsPanel"><primary>AgsPanel</primary></indexterm>
+<programlisting>struct AgsPanel {
+ AgsMachine machine;
+
+ GtkVBox *vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPanelClass" role="struct">
+<title>struct AgsPanelClass</title>
+<indexterm zone="AgsPanelClass"><primary>AgsPanelClass</primary></indexterm>
+<programlisting>struct AgsPanelClass {
+ AgsMachineClass machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-panel-new" role="function">
+<title>ags_panel_new ()</title>
+<indexterm zone="ags-panel-new"><primary>ags_panel_new</primary></indexterm>
+<programlisting><link linkend="AgsPanel"><returnvalue>AgsPanel</returnvalue></link> * ags_panel_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_panel_callbacks.xml b/doc/reference/ags/xml/ags_panel_callbacks.xml
new file mode 100644
index 0000000..9d5fce4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_panel_callbacks.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-panel-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-panel-callbacks.top_of_page">ags_panel_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_panel_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-panel-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-panel-parent-set-callback">ags_panel_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsPanel"><type>AgsPanel</type></link> *panel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-panel-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-panel-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-panel-parent-set-callback" role="function">
+<title>ags_panel_parent_set_callback ()</title>
+<indexterm zone="ags-panel-parent-set-callback"><primary>ags_panel_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_panel_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsPanel"><type>AgsPanel</type></link> *panel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_panel_input_line.xml b/doc/reference/ags/xml/ags_panel_input_line.xml
new file mode 100644
index 0000000..1de5427
--- /dev/null
+++ b/doc/reference/ags/xml/ags_panel_input_line.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPanelInputLine">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPanelInputLine.top_of_page">AgsPanelInputLine</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPanelInputLine</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPanelInputLine.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPanelInputLine">AgsPanelInputLine</link>;
+struct <link linkend="AgsPanelInputLineClass">AgsPanelInputLineClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-panel-input-line-map-recall">ags_panel_input_line_map_recall</link> (<parameter><link linkend="AgsPanelInputLine"><type>AgsPanelInputLine</type></link> *panel_input_line</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> output_pad_start</parameter>);
+<link linkend="AgsPanelInputLine"><returnvalue>AgsPanelInputLine</returnvalue></link> * <link linkend="ags-panel-input-line-new">ags_panel_input_line_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPanelInputLine.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPanelInputLine.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPanelInputLine" role="struct">
+<title>struct AgsPanelInputLine</title>
+<indexterm zone="AgsPanelInputLine"><primary>AgsPanelInputLine</primary></indexterm>
+<programlisting>struct AgsPanelInputLine {
+ AgsLine line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPanelInputLineClass" role="struct">
+<title>struct AgsPanelInputLineClass</title>
+<indexterm zone="AgsPanelInputLineClass"><primary>AgsPanelInputLineClass</primary></indexterm>
+<programlisting>struct AgsPanelInputLineClass {
+ AgsLineClass line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-panel-input-line-map-recall" role="function">
+<title>ags_panel_input_line_map_recall ()</title>
+<indexterm zone="ags-panel-input-line-map-recall"><primary>ags_panel_input_line_map_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_panel_input_line_map_recall (<parameter><link linkend="AgsPanelInputLine"><type>AgsPanelInputLine</type></link> *panel_input_line</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> output_pad_start</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-panel-input-line-new" role="function">
+<title>ags_panel_input_line_new ()</title>
+<indexterm zone="ags-panel-input-line-new"><primary>ags_panel_input_line_new</primary></indexterm>
+<programlisting><link linkend="AgsPanelInputLine"><returnvalue>AgsPanelInputLine</returnvalue></link> * ags_panel_input_line_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_panel_input_pad.xml b/doc/reference/ags/xml/ags_panel_input_pad.xml
new file mode 100644
index 0000000..3326512
--- /dev/null
+++ b/doc/reference/ags/xml/ags_panel_input_pad.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPanelInputPad">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPanelInputPad.top_of_page">AgsPanelInputPad</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPanelInputPad</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPanelInputPad.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPanelInputPad">AgsPanelInputPad</link>;
+struct <link linkend="AgsPanelInputPadClass">AgsPanelInputPadClass</link>;
+<link linkend="AgsPanelInputPad"><returnvalue>AgsPanelInputPad</returnvalue></link> * <link linkend="ags-panel-input-pad-new">ags_panel_input_pad_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPanelInputPad.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPanelInputPad.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPanelInputPad" role="struct">
+<title>struct AgsPanelInputPad</title>
+<indexterm zone="AgsPanelInputPad"><primary>AgsPanelInputPad</primary></indexterm>
+<programlisting>struct AgsPanelInputPad {
+ AgsPad pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPanelInputPadClass" role="struct">
+<title>struct AgsPanelInputPadClass</title>
+<indexterm zone="AgsPanelInputPadClass"><primary>AgsPanelInputPadClass</primary></indexterm>
+<programlisting>struct AgsPanelInputPadClass {
+ AgsPadClass pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-panel-input-pad-new" role="function">
+<title>ags_panel_input_pad_new ()</title>
+<indexterm zone="ags-panel-input-pad-new"><primary>ags_panel_input_pad_new</primary></indexterm>
+<programlisting><link linkend="AgsPanelInputPad"><returnvalue>AgsPanelInputPad</returnvalue></link> * ags_panel_input_pad_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_parameter.xml b/doc/reference/ags/xml/ags_parameter.xml
new file mode 100644
index 0000000..d6c15c3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_parameter.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-parameter">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-parameter.top_of_page">ags_parameter</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_parameter</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-parameter.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="GParameter"><returnvalue>GParameter</returnvalue></link> * <link linkend="ags-parameter-grow">ags_parameter_grow</link> (<parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *params</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *n_params</parameter>,
+ <parameter>...</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-parameter.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-parameter.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-parameter-grow" role="function">
+<title>ags_parameter_grow ()</title>
+<indexterm zone="ags-parameter-grow"><primary>ags_parameter_grow</primary></indexterm>
+<programlisting><link linkend="GParameter"><returnvalue>GParameter</returnvalue></link> * ags_parameter_grow (<parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *params</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *n_params</parameter>,
+ <parameter>...</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_pattern.xml b/doc/reference/ags/xml/ags_pattern.xml
new file mode 100644
index 0000000..9cea945
--- /dev/null
+++ b/doc/reference/ags/xml/ags_pattern.xml
@@ -0,0 +1,130 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPattern">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPattern.top_of_page">AgsPattern</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPattern</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPattern.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPattern">AgsPattern</link>;
+struct <link linkend="AgsPatternClass">AgsPatternClass</link>;
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-pattern-get-bit">ags_pattern_get_bit</link> (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> bit</parameter>);
+<link linkend="AgsPattern"><returnvalue>AgsPattern</returnvalue></link> * <link linkend="ags-pattern-get-by-timestamp">ags_pattern_get_by_timestamp</link> (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *timestamp</parameter>);
+<link linkend="AgsPattern"><returnvalue>AgsPattern</returnvalue></link> * <link linkend="ags-pattern-new">ags_pattern_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-pattern-set-dim">ags_pattern_set_dim</link> (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dim0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dim1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> lenght</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-pattern-toggle-bit">ags_pattern_toggle_bit</link> (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> bit</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPattern.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPattern.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPattern" role="struct">
+<title>struct AgsPattern</title>
+<indexterm zone="AgsPattern"><primary>AgsPattern</primary></indexterm>
+<programlisting>struct AgsPattern {
+ GObject object;
+
+ GObject *timestamp;
+
+ guint dim[3];
+ guint ***pattern;
+
+ GObject *port;
+
+ guint i;
+ guint j;
+ guint bit;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPatternClass" role="struct">
+<title>struct AgsPatternClass</title>
+<indexterm zone="AgsPatternClass"><primary>AgsPatternClass</primary></indexterm>
+<programlisting>struct AgsPatternClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pattern-get-bit" role="function">
+<title>ags_pattern_get_bit ()</title>
+<indexterm zone="ags-pattern-get-bit"><primary>ags_pattern_get_bit</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_pattern_get_bit (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> bit</parameter>);</programlisting>
+<para>
+Check for tic to be played.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if tone is enabled.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-pattern-get-by-timestamp" role="function">
+<title>ags_pattern_get_by_timestamp ()</title>
+<indexterm zone="ags-pattern-get-by-timestamp"><primary>ags_pattern_get_by_timestamp</primary></indexterm>
+<programlisting><link linkend="AgsPattern"><returnvalue>AgsPattern</returnvalue></link> * ags_pattern_get_by_timestamp (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *timestamp</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-pattern-new" role="function">
+<title>ags_pattern_new ()</title>
+<indexterm zone="ags-pattern-new"><primary>ags_pattern_new</primary></indexterm>
+<programlisting><link linkend="AgsPattern"><returnvalue>AgsPattern</returnvalue></link> * ags_pattern_new ();</programlisting>
+<para>
+Creates an <link linkend="AgsPattern"><type>AgsPattern</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsPattern"><type>AgsPattern</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-pattern-set-dim" role="function">
+<title>ags_pattern_set_dim ()</title>
+<indexterm zone="ags-pattern-set-dim"><primary>ags_pattern_set_dim</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_pattern_set_dim (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dim0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dim1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> lenght</parameter>);</programlisting>
+<para>
+Reallocates the pattern's dimensions.
+</para></refsect2>
+<refsect2 id="ags-pattern-toggle-bit" role="function">
+<title>ags_pattern_toggle_bit ()</title>
+<indexterm zone="ags-pattern-toggle-bit"><primary>ags_pattern_toggle_bit</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_pattern_toggle_bit (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> bit</parameter>);</programlisting>
+<para>
+Toggle tone.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_peak_channel.xml b/doc/reference/ags/xml/ags_peak_channel.xml
new file mode 100644
index 0000000..0995c01
--- /dev/null
+++ b/doc/reference/ags/xml/ags_peak_channel.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPeakChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPeakChannel.top_of_page">AgsPeakChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPeakChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPeakChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPeakChannel">AgsPeakChannel</link>;
+struct <link linkend="AgsPeakChannelClass">AgsPeakChannelClass</link>;
+<link linkend="AgsPeakChannel"><returnvalue>AgsPeakChannel</returnvalue></link> * <link linkend="ags-peak-channel-new">ags_peak_channel_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-peak-channel-retrieve-peak">ags_peak_channel_retrieve_peak</link> (<parameter><link linkend="AgsPeakChannel"><type>AgsPeakChannel</type></link> *peak_channel</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_play</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPeakChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPeakChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPeakChannel" role="struct">
+<title>struct AgsPeakChannel</title>
+<indexterm zone="AgsPeakChannel"><primary>AgsPeakChannel</primary></indexterm>
+<programlisting>struct AgsPeakChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsPort *peak;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPeakChannelClass" role="struct">
+<title>struct AgsPeakChannelClass</title>
+<indexterm zone="AgsPeakChannelClass"><primary>AgsPeakChannelClass</primary></indexterm>
+<programlisting>struct AgsPeakChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-peak-channel-new" role="function">
+<title>ags_peak_channel_new ()</title>
+<indexterm zone="ags-peak-channel-new"><primary>ags_peak_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsPeakChannel"><returnvalue>AgsPeakChannel</returnvalue></link> * ags_peak_channel_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-peak-channel-retrieve-peak" role="function">
+<title>ags_peak_channel_retrieve_peak ()</title>
+<indexterm zone="ags-peak-channel-retrieve-peak"><primary>ags_peak_channel_retrieve_peak</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_peak_channel_retrieve_peak (<parameter><link linkend="AgsPeakChannel"><type>AgsPeakChannel</type></link> *peak_channel</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_peak_channel_run.xml b/doc/reference/ags/xml/ags_peak_channel_run.xml
new file mode 100644
index 0000000..cbf105a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_peak_channel_run.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPeakChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPeakChannelRun.top_of_page">AgsPeakChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPeakChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPeakChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPeakChannelRun">AgsPeakChannelRun</link>;
+struct <link linkend="AgsPeakChannelRunClass">AgsPeakChannelRunClass</link>;
+<link linkend="AgsPeakChannelRun"><returnvalue>AgsPeakChannelRun</returnvalue></link> * <link linkend="ags-peak-channel-run-new">ags_peak_channel_run_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPeakChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPeakChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPeakChannelRun" role="struct">
+<title>struct AgsPeakChannelRun</title>
+<indexterm zone="AgsPeakChannelRun"><primary>AgsPeakChannelRun</primary></indexterm>
+<programlisting>struct AgsPeakChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPeakChannelRunClass" role="struct">
+<title>struct AgsPeakChannelRunClass</title>
+<indexterm zone="AgsPeakChannelRunClass"><primary>AgsPeakChannelRunClass</primary></indexterm>
+<programlisting>struct AgsPeakChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-peak-channel-run-new" role="function">
+<title>ags_peak_channel_run_new ()</title>
+<indexterm zone="ags-peak-channel-run-new"><primary>ags_peak_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsPeakChannelRun"><returnvalue>AgsPeakChannelRun</returnvalue></link> * ags_peak_channel_run_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_performance_preferences.xml b/doc/reference/ags/xml/ags_performance_preferences.xml
new file mode 100644
index 0000000..7bdefd7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_performance_preferences.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPerformancePreferences">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPerformancePreferences.top_of_page">AgsPerformancePreferences</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPerformancePreferences</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPerformancePreferences.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPerformancePreferences">AgsPerformancePreferences</link>;
+struct <link linkend="AgsPerformancePreferencesClass">AgsPerformancePreferencesClass</link>;
+<link linkend="AgsPerformancePreferences"><returnvalue>AgsPerformancePreferences</returnvalue></link> * <link linkend="ags-performance-preferences-new">ags_performance_preferences_new</link>
+ ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPerformancePreferences.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPerformancePreferences.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPerformancePreferences" role="struct">
+<title>struct AgsPerformancePreferences</title>
+<indexterm zone="AgsPerformancePreferences"><primary>AgsPerformancePreferences</primary></indexterm>
+<programlisting>struct AgsPerformancePreferences {
+ GtkVBox vbox;
+
+ GtkCheckButton *super_threaded;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPerformancePreferencesClass" role="struct">
+<title>struct AgsPerformancePreferencesClass</title>
+<indexterm zone="AgsPerformancePreferencesClass"><primary>AgsPerformancePreferencesClass</primary></indexterm>
+<programlisting>struct AgsPerformancePreferencesClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-performance-preferences-new" role="function">
+<title>ags_performance_preferences_new ()</title>
+<indexterm zone="ags-performance-preferences-new"><primary>ags_performance_preferences_new</primary></indexterm>
+<programlisting><link linkend="AgsPerformancePreferences"><returnvalue>AgsPerformancePreferences</returnvalue></link> * ags_performance_preferences_new
+ ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_persistable.xml b/doc/reference/ags/xml/ags_persistable.xml
new file mode 100644
index 0000000..7d13ba6
--- /dev/null
+++ b/doc/reference/ags/xml/ags_persistable.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPersistable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPersistable.top_of_page">AgsPersistable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPersistable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPersistable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsPersistable">AgsPersistable</link>;
+struct <link linkend="AgsPersistableInterface">AgsPersistableInterface</link>;
+<link linkend="AgsPersistable"><returnvalue>AgsPersistable</returnvalue></link> * <link linkend="ags-persistable-read">ags_persistable_read</link> (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> node</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-persistable-read-link">ags_persistable_read_link</link> (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> node</parameter>);
+<link linkend="xmlNodePtr"><returnvalue>xmlNodePtr</returnvalue></link> <link linkend="ags-persistable-write">ags_persistable_write</link> (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-persistable-write-link">ags_persistable_write_link</link> (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> node</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPersistable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPersistable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPersistable" role="typedef">
+<title>AgsPersistable</title>
+<indexterm zone="AgsPersistable"><primary>AgsPersistable</primary></indexterm>
+<programlisting>typedef void AgsPersistable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPersistableInterface" role="struct">
+<title>struct AgsPersistableInterface</title>
+<indexterm zone="AgsPersistableInterface"><primary>AgsPersistableInterface</primary></indexterm>
+<programlisting>struct AgsPersistableInterface {
+ GTypeInterface interface;
+
+ AgsPersistable* (*read)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+ void (*read_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+
+ xmlNodePtr (*write)(AgsPersistable *persistable, xmlDocPtr doc);
+ void (*write_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-persistable-read" role="function">
+<title>ags_persistable_read ()</title>
+<indexterm zone="ags-persistable-read"><primary>ags_persistable_read</primary></indexterm>
+<programlisting><link linkend="AgsPersistable"><returnvalue>AgsPersistable</returnvalue></link> * ags_persistable_read (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> node</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-persistable-read-link" role="function">
+<title>ags_persistable_read_link ()</title>
+<indexterm zone="ags-persistable-read-link"><primary>ags_persistable_read_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_persistable_read_link (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> node</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-persistable-write" role="function">
+<title>ags_persistable_write ()</title>
+<indexterm zone="ags-persistable-write"><primary>ags_persistable_write</primary></indexterm>
+<programlisting><link linkend="xmlNodePtr"><returnvalue>xmlNodePtr</returnvalue></link> ags_persistable_write (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-persistable-write-link" role="function">
+<title>ags_persistable_write_link ()</title>
+<indexterm zone="ags-persistable-write-link"><primary>ags_persistable_write_link</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_persistable_write_link (<parameter><link linkend="AgsPersistable"><type>AgsPersistable</type></link> *persistable</parameter>,
+ <parameter><link linkend="xmlDocPtr"><type>xmlDocPtr</type></link> doc</parameter>,
+ <parameter><link linkend="xmlNodePtr"><type>xmlNodePtr</type></link> node</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_audio.xml b/doc/reference/ags/xml/ags_play_audio.xml
new file mode 100644
index 0000000..d5bc9e1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_audio.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayAudio.top_of_page">AgsPlayAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayAudio">AgsPlayAudio</link>;
+struct <link linkend="AgsPlayAudioClass">AgsPlayAudioClass</link>;
+<link linkend="AgsPlayAudio"><returnvalue>AgsPlayAudio</returnvalue></link> * <link linkend="ags-play-audio-new">ags_play_audio_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayAudio" role="struct">
+<title>struct AgsPlayAudio</title>
+<indexterm zone="AgsPlayAudio"><primary>AgsPlayAudio</primary></indexterm>
+<programlisting>struct AgsPlayAudio {
+ AgsRecallAudio recall_audio;
+
+ AgsPort *muted;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayAudioClass" role="struct">
+<title>struct AgsPlayAudioClass</title>
+<indexterm zone="AgsPlayAudioClass"><primary>AgsPlayAudioClass</primary></indexterm>
+<programlisting>struct AgsPlayAudioClass {
+ AgsRecallAudioClass recall_audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-audio-new" role="function">
+<title>ags_play_audio_new ()</title>
+<indexterm zone="ags-play-audio-new"><primary>ags_play_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayAudio"><returnvalue>AgsPlayAudio</returnvalue></link> * ags_play_audio_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_audio_file.xml b/doc/reference/ags/xml/ags_play_audio_file.xml
new file mode 100644
index 0000000..cda2215
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_audio_file.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayAudioFile">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayAudioFile.top_of_page">AgsPlayAudioFile</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayAudioFile</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayAudioFile.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayAudioFile">AgsPlayAudioFile</link>;
+struct <link linkend="AgsPlayAudioFileClass">AgsPlayAudioFileClass</link>;
+<link linkend="AgsPlayAudioFile"><returnvalue>AgsPlayAudioFile</returnvalue></link> * <link linkend="ags-play-audio-file-new">ags_play_audio_file_new</link> (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayAudioFile.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayAudioFile.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayAudioFile" role="struct">
+<title>struct AgsPlayAudioFile</title>
+<indexterm zone="AgsPlayAudioFile"><primary>AgsPlayAudioFile</primary></indexterm>
+<programlisting>struct AgsPlayAudioFile {
+ AgsRecall recall;
+
+ AgsAudioFile *audio_file;
+ guint current_frame;
+
+ AgsDevout *devout;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayAudioFileClass" role="struct">
+<title>struct AgsPlayAudioFileClass</title>
+<indexterm zone="AgsPlayAudioFileClass"><primary>AgsPlayAudioFileClass</primary></indexterm>
+<programlisting>struct AgsPlayAudioFileClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-audio-file-new" role="function">
+<title>ags_play_audio_file_new ()</title>
+<indexterm zone="ags-play-audio-file-new"><primary>ags_play_audio_file_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayAudioFile"><returnvalue>AgsPlayAudioFile</returnvalue></link> * ags_play_audio_file_new (<parameter><link linkend="AgsAudioFile"><type>AgsAudioFile</type></link> *audio_file</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_audio_signal.xml b/doc/reference/ags/xml/ags_play_audio_signal.xml
new file mode 100644
index 0000000..23dbbb7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_audio_signal.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayAudioSignal.top_of_page">AgsPlayAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayAudioSignal">AgsPlayAudioSignal</link>;
+struct <link linkend="AgsPlayAudioSignalClass">AgsPlayAudioSignalClass</link>;
+<link linkend="AgsPlayAudioSignal"><returnvalue>AgsPlayAudioSignal</returnvalue></link> * <link linkend="ags-play-audio-signal-new">ags_play_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayAudioSignal" role="struct">
+<title>struct AgsPlayAudioSignal</title>
+<indexterm zone="AgsPlayAudioSignal"><primary>AgsPlayAudioSignal</primary></indexterm>
+<programlisting>struct AgsPlayAudioSignal {
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayAudioSignalClass" role="struct">
+<title>struct AgsPlayAudioSignalClass</title>
+<indexterm zone="AgsPlayAudioSignalClass"><primary>AgsPlayAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsPlayAudioSignalClass {
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-audio-signal-new" role="function">
+<title>ags_play_audio_signal_new ()</title>
+<indexterm zone="ags-play-audio-signal-new"><primary>ags_play_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayAudioSignal"><returnvalue>AgsPlayAudioSignal</returnvalue></link> * ags_play_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_channel.xml b/doc/reference/ags/xml/ags_play_channel.xml
new file mode 100644
index 0000000..23fc3bf
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_channel.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayChannel.top_of_page">AgsPlayChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayChannel">AgsPlayChannel</link>;
+struct <link linkend="AgsPlayChannelClass">AgsPlayChannelClass</link>;
+<link linkend="AgsPlayChannel"><returnvalue>AgsPlayChannel</returnvalue></link> * <link linkend="ags-play-channel-new">ags_play_channel_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayChannel" role="struct">
+<title>struct AgsPlayChannel</title>
+<indexterm zone="AgsPlayChannel"><primary>AgsPlayChannel</primary></indexterm>
+<programlisting>struct AgsPlayChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsPort *audio_channel;
+
+ AgsPort *muted;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayChannelClass" role="struct">
+<title>struct AgsPlayChannelClass</title>
+<indexterm zone="AgsPlayChannelClass"><primary>AgsPlayChannelClass</primary></indexterm>
+<programlisting>struct AgsPlayChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-channel-new" role="function">
+<title>ags_play_channel_new ()</title>
+<indexterm zone="ags-play-channel-new"><primary>ags_play_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayChannel"><returnvalue>AgsPlayChannel</returnvalue></link> * ags_play_channel_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_channel_run.xml b/doc/reference/ags/xml/ags_play_channel_run.xml
new file mode 100644
index 0000000..4a8e46f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_channel_run.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayChannelRun.top_of_page">AgsPlayChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayChannelRun">AgsPlayChannelRun</link>;
+struct <link linkend="AgsPlayChannelRunClass">AgsPlayChannelRunClass</link>;
+enum <link linkend="AgsPlayChannelRunFlags">AgsPlayChannelRunFlags</link>;
+<link linkend="AgsPlayChannelRun"><returnvalue>AgsPlayChannelRun</returnvalue></link> * <link linkend="ags-play-channel-run-new">ags_play_channel_run_new</link> (<parameter><link linkend="AgsStreamChannelRun"><type>AgsStreamChannelRun</type></link> *stream_channel_run</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayChannelRun" role="struct">
+<title>struct AgsPlayChannelRun</title>
+<indexterm zone="AgsPlayChannelRun"><primary>AgsPlayChannelRun</primary></indexterm>
+<programlisting>struct AgsPlayChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+
+ AgsStreamChannelRun *stream_channel_run;
+ gulong done_handler;
+
+ gulong source_recycling_changed_handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayChannelRunClass" role="struct">
+<title>struct AgsPlayChannelRunClass</title>
+<indexterm zone="AgsPlayChannelRunClass"><primary>AgsPlayChannelRunClass</primary></indexterm>
+<programlisting>struct AgsPlayChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayChannelRunFlags" role="enum">
+<title>enum AgsPlayChannelRunFlags</title>
+<indexterm zone="AgsPlayChannelRunFlags"><primary>AgsPlayChannelRunFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PLAY_CHANNEL_RUN_TERMINATING = 1,
+ AGS_PLAY_CHANNEL_RUN_INITIAL_RUN = 1 << 1,
+} AgsPlayChannelRunFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-channel-run-new" role="function">
+<title>ags_play_channel_run_new ()</title>
+<indexterm zone="ags-play-channel-run-new"><primary>ags_play_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayChannelRun"><returnvalue>AgsPlayChannelRun</returnvalue></link> * ags_play_channel_run_new (<parameter><link linkend="AgsStreamChannelRun"><type>AgsStreamChannelRun</type></link> *stream_channel_run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_channel_run_master.xml b/doc/reference/ags/xml/ags_play_channel_run_master.xml
new file mode 100644
index 0000000..3d03cbb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_channel_run_master.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayChannelRunMaster">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayChannelRunMaster.top_of_page">AgsPlayChannelRunMaster</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayChannelRunMaster</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayChannelRunMaster.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-PLAY-CHANNEL-RUN-MASTER-STREAMER:CAPS">AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER</link>(strct)
+struct <link linkend="AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link>;
+struct <link linkend="AgsPlayChannelRunMasterClass">AgsPlayChannelRunMasterClass</link>;
+enum <link linkend="AgsPlayChannelRunMasterFlags">AgsPlayChannelRunMasterFlags</link>;
+struct <link linkend="AgsPlayChannelRunMasterStreamer">AgsPlayChannelRunMasterStreamer</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-play-channel-run-master-find-streamer">ags_play_channel_run_master_find_streamer</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="AgsStreamChannelRun"><type>AgsStreamChannelRun</type></link> *stream_channel_run</parameter>);
+<link linkend="AgsPlayChannelRunMaster"><returnvalue>AgsPlayChannelRunMaster</returnvalue></link> * <link linkend="ags-play-channel-run-master-new">ags_play_channel_run_master_new</link>
+ ();
+<link linkend="AgsPlayChannelRunMasterStreamer"><returnvalue>AgsPlayChannelRunMasterStreamer</returnvalue></link> * <link linkend="ags-play-channel-run-master-streamer-alloc">ags_play_channel_run_master_streamer_alloc</link>
+ (<parameter><link linkend="AgsPlayChannelRunMaster"><type>AgsPlayChannelRunMaster</type></link> *play_channel_run_master</parameter>,
+ <parameter><link linkend="AgsStreamChannelRun"><type>AgsStreamChannelRun</type></link> *stream_channel_run</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayChannelRunMaster.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayChannelRunMaster.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-PLAY-CHANNEL-RUN-MASTER-STREAMER:CAPS" role="macro">
+<title>AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER()</title>
+<indexterm zone="AGS-PLAY-CHANNEL-RUN-MASTER-STREAMER:CAPS"><primary>AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER</primary></indexterm>
+<programlisting>#define AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER(strct) ((AgsPlayChannelRunMasterStreamer *)(strct))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayChannelRunMaster" role="struct">
+<title>struct AgsPlayChannelRunMaster</title>
+<indexterm zone="AgsPlayChannelRunMaster"><primary>AgsPlayChannelRunMaster</primary></indexterm>
+<programlisting>struct AgsPlayChannelRunMaster {
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+
+ GList *streamer;
+
+ gulong source_recycling_changed_handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayChannelRunMasterClass" role="struct">
+<title>struct AgsPlayChannelRunMasterClass</title>
+<indexterm zone="AgsPlayChannelRunMasterClass"><primary>AgsPlayChannelRunMasterClass</primary></indexterm>
+<programlisting>struct AgsPlayChannelRunMasterClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayChannelRunMasterFlags" role="enum">
+<title>enum AgsPlayChannelRunMasterFlags</title>
+<indexterm zone="AgsPlayChannelRunMasterFlags"><primary>AgsPlayChannelRunMasterFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PLAY_CHANNEL_RUN_MASTER_TERMINATING = 1,
+} AgsPlayChannelRunMasterFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayChannelRunMasterStreamer" role="struct">
+<title>struct AgsPlayChannelRunMasterStreamer</title>
+<indexterm zone="AgsPlayChannelRunMasterStreamer"><primary>AgsPlayChannelRunMasterStreamer</primary></indexterm>
+<programlisting>struct AgsPlayChannelRunMasterStreamer {
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ AgsStreamChannelRun *stream_channel_run;
+ gulong done_handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-channel-run-master-find-streamer" role="function">
+<title>ags_play_channel_run_master_find_streamer ()</title>
+<indexterm zone="ags-play-channel-run-master-find-streamer"><primary>ags_play_channel_run_master_find_streamer</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_play_channel_run_master_find_streamer
+ (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="AgsStreamChannelRun"><type>AgsStreamChannelRun</type></link> *stream_channel_run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-channel-run-master-new" role="function">
+<title>ags_play_channel_run_master_new ()</title>
+<indexterm zone="ags-play-channel-run-master-new"><primary>ags_play_channel_run_master_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayChannelRunMaster"><returnvalue>AgsPlayChannelRunMaster</returnvalue></link> * ags_play_channel_run_master_new
+ ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-channel-run-master-streamer-alloc" role="function">
+<title>ags_play_channel_run_master_streamer_alloc ()</title>
+<indexterm zone="ags-play-channel-run-master-streamer-alloc"><primary>ags_play_channel_run_master_streamer_alloc</primary></indexterm>
+<programlisting><link linkend="AgsPlayChannelRunMasterStreamer"><returnvalue>AgsPlayChannelRunMasterStreamer</returnvalue></link> * ags_play_channel_run_master_streamer_alloc
+ (<parameter><link linkend="AgsPlayChannelRunMaster"><type>AgsPlayChannelRunMaster</type></link> *play_channel_run_master</parameter>,
+ <parameter><link linkend="AgsStreamChannelRun"><type>AgsStreamChannelRun</type></link> *stream_channel_run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_notation_audio.xml b/doc/reference/ags/xml/ags_play_notation_audio.xml
new file mode 100644
index 0000000..0c323c4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_notation_audio.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayNotationAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayNotationAudio.top_of_page">AgsPlayNotationAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayNotationAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayNotationAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayNotationAudio">AgsPlayNotationAudio</link>;
+struct <link linkend="AgsPlayNotationAudioClass">AgsPlayNotationAudioClass</link>;
+<link linkend="AgsPlayNotationAudio"><returnvalue>AgsPlayNotationAudio</returnvalue></link> * <link linkend="ags-play-notation-audio-new">ags_play_notation_audio_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayNotationAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayNotationAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayNotationAudio" role="struct">
+<title>struct AgsPlayNotationAudio</title>
+<indexterm zone="AgsPlayNotationAudio"><primary>AgsPlayNotationAudio</primary></indexterm>
+<programlisting>struct AgsPlayNotationAudio {
+ AgsRecallAudio recall_audio;
+
+ AgsPort *notation;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayNotationAudioClass" role="struct">
+<title>struct AgsPlayNotationAudioClass</title>
+<indexterm zone="AgsPlayNotationAudioClass"><primary>AgsPlayNotationAudioClass</primary></indexterm>
+<programlisting>struct AgsPlayNotationAudioClass {
+ AgsRecallAudioClass recall_audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-notation-audio-new" role="function">
+<title>ags_play_notation_audio_new ()</title>
+<indexterm zone="ags-play-notation-audio-new"><primary>ags_play_notation_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayNotationAudio"><returnvalue>AgsPlayNotationAudio</returnvalue></link> * ags_play_notation_audio_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_notation_audio_run.xml b/doc/reference/ags/xml/ags_play_notation_audio_run.xml
new file mode 100644
index 0000000..4cd046c
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_notation_audio_run.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayNotationAudioRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayNotationAudioRun.top_of_page">AgsPlayNotationAudioRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayNotationAudioRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayNotationAudioRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayNotationAudioRun">AgsPlayNotationAudioRun</link>;
+struct <link linkend="AgsPlayNotationAudioRunClass">AgsPlayNotationAudioRunClass</link>;
+enum <link linkend="AgsPlayNotationAudioRunFlags">AgsPlayNotationAudioRunFlags</link>;
+<link linkend="AgsPlayNotationAudioRun"><returnvalue>AgsPlayNotationAudioRun</returnvalue></link> * <link linkend="ags-play-notation-audio-run-new">ags_play_notation_audio_run_new</link>
+ ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayNotationAudioRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayNotationAudioRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayNotationAudioRun" role="struct">
+<title>struct AgsPlayNotationAudioRun</title>
+<indexterm zone="AgsPlayNotationAudioRun"><primary>AgsPlayNotationAudioRun</primary></indexterm>
+<programlisting>struct AgsPlayNotationAudioRun {
+ AgsRecallAudioRun recall;
+
+ guint flags;
+
+ AgsDelayAudioRun *delay_audio_run;
+ gulong notation_alloc_input_handler;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayNotationAudioRunClass" role="struct">
+<title>struct AgsPlayNotationAudioRunClass</title>
+<indexterm zone="AgsPlayNotationAudioRunClass"><primary>AgsPlayNotationAudioRunClass</primary></indexterm>
+<programlisting>struct AgsPlayNotationAudioRunClass {
+ AgsRecallAudioRunClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayNotationAudioRunFlags" role="enum">
+<title>enum AgsPlayNotationAudioRunFlags</title>
+<indexterm zone="AgsPlayNotationAudioRunFlags"><primary>AgsPlayNotationAudioRunFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PLAY_NOTATION_AUDIO_RUN_DEFAULT = 1,
+} AgsPlayNotationAudioRunFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-notation-audio-run-new" role="function">
+<title>ags_play_notation_audio_run_new ()</title>
+<indexterm zone="ags-play-notation-audio-run-new"><primary>ags_play_notation_audio_run_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayNotationAudioRun"><returnvalue>AgsPlayNotationAudioRun</returnvalue></link> * ags_play_notation_audio_run_new
+ ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_note.xml b/doc/reference/ags/xml/ags_play_note.xml
new file mode 100644
index 0000000..8b19574
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_note.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayNote">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayNote.top_of_page">AgsPlayNote</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayNote</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayNote.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayNote">AgsPlayNote</link>;
+struct <link linkend="AgsPlayNoteClass">AgsPlayNoteClass</link>;
+<link linkend="AgsPlayNote"><returnvalue>AgsPlayNote</returnvalue></link> * <link linkend="ags-play-note-new">ags_play_note_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayNote.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayNote.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayNote" role="struct">
+<title>struct AgsPlayNote</title>
+<indexterm zone="AgsPlayNote"><primary>AgsPlayNote</primary></indexterm>
+<programlisting>struct AgsPlayNote {
+ AgsRecall recall;
+
+ AgsDevout *devout;
+
+ AgsChannel *channel;
+ AgsNote *note;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayNoteClass" role="struct">
+<title>struct AgsPlayNoteClass</title>
+<indexterm zone="AgsPlayNoteClass"><primary>AgsPlayNoteClass</primary></indexterm>
+<programlisting>struct AgsPlayNoteClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-note-new" role="function">
+<title>ags_play_note_new ()</title>
+<indexterm zone="ags-play-note-new"><primary>ags_play_note_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayNote"><returnvalue>AgsPlayNote</returnvalue></link> * ags_play_note_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_pattern.xml b/doc/reference/ags/xml/ags_play_pattern.xml
new file mode 100644
index 0000000..c0629cf
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_pattern.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayPattern">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayPattern.top_of_page">AgsPlayPattern</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayPattern</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayPattern.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayPattern">AgsPlayPattern</link>;
+struct <link linkend="AgsPlayPatternClass">AgsPlayPatternClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-play-pattern-connect">ags_play_pattern_connect</link> (<parameter><link linkend="AgsPlayPattern"><type>AgsPlayPattern</type></link> *play_pattern</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayPattern.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayPattern.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayPattern" role="struct">
+<title>struct AgsPlayPattern</title>
+<indexterm zone="AgsPlayPattern"><primary>AgsPlayPattern</primary></indexterm>
+<programlisting>struct AgsPlayPattern {
+ AgsRecall recall;
+
+ // AgsDelay *delay;
+
+ AgsChannel *channel;
+ AgsPattern *pattern;
+
+ guint i;
+ guint j;
+ guint bit;
+ guint length;
+
+ gboolean loop;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayPatternClass" role="struct">
+<title>struct AgsPlayPatternClass</title>
+<indexterm zone="AgsPlayPatternClass"><primary>AgsPlayPatternClass</primary></indexterm>
+<programlisting>struct AgsPlayPatternClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-pattern-connect" role="function">
+<title>ags_play_pattern_connect ()</title>
+<indexterm zone="ags-play-pattern-connect"><primary>ags_play_pattern_connect</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_play_pattern_connect (<parameter><link linkend="AgsPlayPattern"><type>AgsPlayPattern</type></link> *play_pattern</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_play_recycling.xml b/doc/reference/ags/xml/ags_play_recycling.xml
new file mode 100644
index 0000000..1f964f3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_play_recycling.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayRecycling.top_of_page">AgsPlayRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPlayRecycling">AgsPlayRecycling</link>;
+struct <link linkend="AgsPlayRecyclingClass">AgsPlayRecyclingClass</link>;
+<link linkend="AgsPlayRecycling"><returnvalue>AgsPlayRecycling</returnvalue></link> * <link linkend="ags-play-recycling-new">ags_play_recycling_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlayRecycling" role="struct">
+<title>struct AgsPlayRecycling</title>
+<indexterm zone="AgsPlayRecycling"><primary>AgsPlayRecycling</primary></indexterm>
+<programlisting>struct AgsPlayRecycling {
+ AgsRecallRecycling recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayRecyclingClass" role="struct">
+<title>struct AgsPlayRecyclingClass</title>
+<indexterm zone="AgsPlayRecyclingClass"><primary>AgsPlayRecyclingClass</primary></indexterm>
+<programlisting>struct AgsPlayRecyclingClass {
+ AgsRecallRecyclingClass recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-play-recycling-new" role="function">
+<title>ags_play_recycling_new ()</title>
+<indexterm zone="ags-play-recycling-new"><primary>ags_play_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsPlayRecycling"><returnvalue>AgsPlayRecycling</returnvalue></link> * ags_play_recycling_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_playable.xml b/doc/reference/ags/xml/ags_playable.xml
new file mode 100644
index 0000000..e3fa194
--- /dev/null
+++ b/doc/reference/ags/xml/ags_playable.xml
@@ -0,0 +1,295 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlayable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlayable.top_of_page">AgsPlayable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlayable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlayable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-PLAYABLE-ERROR:CAPS">AGS_PLAYABLE_ERROR</link>
+typedef <link linkend="AgsPlayable">AgsPlayable</link>;
+enum <link linkend="AgsPlayableError">AgsPlayableError</link>;
+struct <link linkend="AgsPlayableInterface">AgsPlayableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-close">ags_playable_close</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> <link linkend="ags-playable-error-quark">ags_playable_error_quark</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-flush">ags_playable_flush</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-info">ags_playable_info</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *frames</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *loop_start</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *loop_end</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-playable-iter-next">ags_playable_iter_next</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-iter-start">ags_playable_iter_start</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-playable-level-count">ags_playable_level_count</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-level-select">ags_playable_level_select</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth_level</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *sublevel_name</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-level-up">ags_playable_level_up</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> levels</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-playable-nth-level">ags_playable_nth_level</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-playable-open">ags_playable_open</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>);
+signed <link linkend="short"><returnvalue>short</returnvalue></link> * <link linkend="ags-playable-read">ags_playable_read</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> channel</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-playable-read-audio-signal">ags_playable_read_audio_signal</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> channels</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-playable-rw-open">ags_playable_rw_open</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> samplerate</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frames</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> format</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-seek">ags_playable_seek</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frames</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> whence</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-playable-selected-level">ags_playable_selected_level</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> ** <link linkend="ags-playable-sublevel-names">ags_playable_sublevel_names</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-playable-write">ags_playable_write</link> (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_length</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlayable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlayable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-PLAYABLE-ERROR:CAPS" role="macro">
+<title>AGS_PLAYABLE_ERROR</title>
+<indexterm zone="AGS-PLAYABLE-ERROR:CAPS"><primary>AGS_PLAYABLE_ERROR</primary></indexterm>
+<programlisting>#define AGS_PLAYABLE_ERROR (ags_playable_error_quark())
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayable" role="typedef">
+<title>AgsPlayable</title>
+<indexterm zone="AgsPlayable"><primary>AgsPlayable</primary></indexterm>
+<programlisting>typedef void AgsPlayable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayableError" role="enum">
+<title>enum AgsPlayableError</title>
+<indexterm zone="AgsPlayableError"><primary>AgsPlayableError</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PLAYABLE_ERROR_NO_SUCH_LEVEL,
+ AGS_PLAYABLE_ERROR_NO_SAMPLE,
+} AgsPlayableError;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPlayableInterface" role="struct">
+<title>struct AgsPlayableInterface</title>
+<indexterm zone="AgsPlayableInterface"><primary>AgsPlayableInterface</primary></indexterm>
+<programlisting>struct AgsPlayableInterface {
+ GTypeInterface interface;
+
+ gboolean (*open)(AgsPlayable *playable, gchar *name);
+ gboolean (*rw_open)(AgsPlayable *playable, gchar *name,
+ gboolean create,
+ guint samplerate, guint channels,
+ guint frames,
+ guint format);
+
+ /* these functions are especially for soundfonts */
+ guint (*level_count)(AgsPlayable *playable);
+ guint (*nth_level)(AgsPlayable *playable);
+ gchar* (*selected_level)(AgsPlayable *playable);
+
+ gchar** (*sublevel_names)(AgsPlayable *playable);
+ void (*level_select)(AgsPlayable *playable,
+ guint nth_level, gchar *sublevel_name,
+ GError **error);
+ void (*level_up)(AgsPlayable *playable,
+ guint levels,
+ GError **error);
+
+ void (*iter_start)(AgsPlayable *playable);
+ gboolean (*iter_next)(AgsPlayable *playable);
+
+ /* read sample data */
+ void (*info)(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error);
+ signed short* (*read)(AgsPlayable *playable,
+ guint channel,
+ GError **error);
+
+ /* write sample data */
+ void (*write)(AgsPlayable *playable,
+ signed short *buffer, guint buffer_length);
+ void (*flush)(AgsPlayable *playable);
+
+ /* position */
+ void (*seek)(AgsPlayable *playable,
+ guint frames, gint whence);
+
+ /* close */
+ void (*close)(AgsPlayable *playable);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-close" role="function">
+<title>ags_playable_close ()</title>
+<indexterm zone="ags-playable-close"><primary>ags_playable_close</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_close (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-error-quark" role="function">
+<title>ags_playable_error_quark ()</title>
+<indexterm zone="ags-playable-error-quark"><primary>ags_playable_error_quark</primary></indexterm>
+<programlisting><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> ags_playable_error_quark ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-flush" role="function">
+<title>ags_playable_flush ()</title>
+<indexterm zone="ags-playable-flush"><primary>ags_playable_flush</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_flush (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-info" role="function">
+<title>ags_playable_info ()</title>
+<indexterm zone="ags-playable-info"><primary>ags_playable_info</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_info (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *frames</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *loop_start</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *loop_end</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-iter-next" role="function">
+<title>ags_playable_iter_next ()</title>
+<indexterm zone="ags-playable-iter-next"><primary>ags_playable_iter_next</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_playable_iter_next (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-iter-start" role="function">
+<title>ags_playable_iter_start ()</title>
+<indexterm zone="ags-playable-iter-start"><primary>ags_playable_iter_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_iter_start (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-level-count" role="function">
+<title>ags_playable_level_count ()</title>
+<indexterm zone="ags-playable-level-count"><primary>ags_playable_level_count</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_playable_level_count (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-level-select" role="function">
+<title>ags_playable_level_select ()</title>
+<indexterm zone="ags-playable-level-select"><primary>ags_playable_level_select</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_level_select (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> nth_level</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *sublevel_name</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-level-up" role="function">
+<title>ags_playable_level_up ()</title>
+<indexterm zone="ags-playable-level-up"><primary>ags_playable_level_up</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_level_up (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> levels</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-nth-level" role="function">
+<title>ags_playable_nth_level ()</title>
+<indexterm zone="ags-playable-nth-level"><primary>ags_playable_nth_level</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_playable_nth_level (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-open" role="function">
+<title>ags_playable_open ()</title>
+<indexterm zone="ags-playable-open"><primary>ags_playable_open</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_playable_open (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-read" role="function">
+<title>ags_playable_read ()</title>
+<indexterm zone="ags-playable-read"><primary>ags_playable_read</primary></indexterm>
+<programlisting>signed <link linkend="short"><returnvalue>short</returnvalue></link> * ags_playable_read (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> channel</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-read-audio-signal" role="function">
+<title>ags_playable_read_audio_signal ()</title>
+<indexterm zone="ags-playable-read-audio-signal"><primary>ags_playable_read_audio_signal</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_playable_read_audio_signal (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> channels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-rw-open" role="function">
+<title>ags_playable_rw_open ()</title>
+<indexterm zone="ags-playable-rw-open"><primary>ags_playable_rw_open</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_playable_rw_open (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> create</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> samplerate</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> channels</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frames</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> format</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-seek" role="function">
+<title>ags_playable_seek ()</title>
+<indexterm zone="ags-playable-seek"><primary>ags_playable_seek</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_seek (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frames</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> whence</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-selected-level" role="function">
+<title>ags_playable_selected_level ()</title>
+<indexterm zone="ags-playable-selected-level"><primary>ags_playable_selected_level</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_playable_selected_level (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-sublevel-names" role="function">
+<title>ags_playable_sublevel_names ()</title>
+<indexterm zone="ags-playable-sublevel-names"><primary>ags_playable_sublevel_names</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> ** ags_playable_sublevel_names (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-playable-write" role="function">
+<title>ags_playable_write ()</title>
+<indexterm zone="ags-playable-write"><primary>ags_playable_write</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_playable_write (<parameter><link linkend="AgsPlayable"><type>AgsPlayable</type></link> *playable</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_length</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_plugin.xml b/doc/reference/ags/xml/ags_plugin.xml
new file mode 100644
index 0000000..55cbfbb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_plugin.xml
@@ -0,0 +1,178 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPlugin">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPlugin.top_of_page">AgsPlugin</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPlugin</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPlugin.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsPlugin">AgsPlugin</link>;
+struct <link linkend="AgsPluginInterface">AgsPluginInterface</link>;
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-plugin-get-build-id">ags_plugin_get_build_id</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-plugin-get-name">ags_plugin_get_name</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-plugin-get-ports">ags_plugin_get_ports</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-plugin-get-version">ags_plugin_get_version</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);
+<link linkend="gchar"><returnvalue>gchar</returnvalue></link> * <link linkend="ags-plugin-get-xml-type">ags_plugin_get_xml_type</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-read">ags_plugin_read</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-set-build-id">ags_plugin_set_build_id</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-set-name">ags_plugin_set_name</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-set-ports">ags_plugin_set_ports</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *ports</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-set-version">ags_plugin_set_version</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-set-xml-type">ags_plugin_set_xml_type</link> (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *xml_type</parameter>);
+<link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * <link linkend="ags-plugin-write">ags_plugin_write</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPlugin.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPlugin.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPlugin" role="typedef">
+<title>AgsPlugin</title>
+<indexterm zone="AgsPlugin"><primary>AgsPlugin</primary></indexterm>
+<programlisting>typedef void AgsPlugin;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPluginInterface" role="struct">
+<title>struct AgsPluginInterface</title>
+<indexterm zone="AgsPluginInterface"><primary>AgsPluginInterface</primary></indexterm>
+<programlisting>struct AgsPluginInterface {
+ GTypeInterface interface;
+
+ gchar* (*get_name)(AgsPlugin *plugin);
+ void (*set_name)(AgsPlugin *plugin, gchar *name);
+
+ gchar* (*get_version)(AgsPlugin *plugin);
+ void (*set_version)(AgsPlugin *plugin, gchar *version);
+
+ gchar* (*get_build_id)(AgsPlugin *plugin);
+ void (*set_build_id)(AgsPlugin *plugin, gchar *build_id);
+
+ gchar* (*get_xml_type)(AgsPlugin *plugin);
+ void (*set_xml_type)(AgsPlugin *plugin, gchar *xml_type);
+
+ GList* (*get_ports)(AgsPlugin *plugin);
+ void (*set_ports)(AgsPlugin *plugin, GList *ports);
+
+ void (*read)(AgsFile *file,
+ xmlNode *node,
+ AgsPlugin *plugin);
+ xmlNode* (*write)(AgsFile *file,
+ xmlNode *parent,
+ AgsPlugin *plugin);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-get-build-id" role="function">
+<title>ags_plugin_get_build_id ()</title>
+<indexterm zone="ags-plugin-get-build-id"><primary>ags_plugin_get_build_id</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_plugin_get_build_id (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-get-name" role="function">
+<title>ags_plugin_get_name ()</title>
+<indexterm zone="ags-plugin-get-name"><primary>ags_plugin_get_name</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_plugin_get_name (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-get-ports" role="function">
+<title>ags_plugin_get_ports ()</title>
+<indexterm zone="ags-plugin-get-ports"><primary>ags_plugin_get_ports</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_plugin_get_ports (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-get-version" role="function">
+<title>ags_plugin_get_version ()</title>
+<indexterm zone="ags-plugin-get-version"><primary>ags_plugin_get_version</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_plugin_get_version (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-get-xml-type" role="function">
+<title>ags_plugin_get_xml_type ()</title>
+<indexterm zone="ags-plugin-get-xml-type"><primary>ags_plugin_get_xml_type</primary></indexterm>
+<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> * ags_plugin_get_xml_type (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-read" role="function">
+<title>ags_plugin_read ()</title>
+<indexterm zone="ags-plugin-read"><primary>ags_plugin_read</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_read (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *node</parameter>,
+ <parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-set-build-id" role="function">
+<title>ags_plugin_set_build_id ()</title>
+<indexterm zone="ags-plugin-set-build-id"><primary>ags_plugin_set_build_id</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_set_build_id (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-set-name" role="function">
+<title>ags_plugin_set_name ()</title>
+<indexterm zone="ags-plugin-set-name"><primary>ags_plugin_set_name</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_set_name (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *name</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-set-ports" role="function">
+<title>ags_plugin_set_ports ()</title>
+<indexterm zone="ags-plugin-set-ports"><primary>ags_plugin_set_ports</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_set_ports (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *ports</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-set-version" role="function">
+<title>ags_plugin_set_version ()</title>
+<indexterm zone="ags-plugin-set-version"><primary>ags_plugin_set_version</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_set_version (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-set-xml-type" role="function">
+<title>ags_plugin_set_xml_type ()</title>
+<indexterm zone="ags-plugin-set-xml-type"><primary>ags_plugin_set_xml_type</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_set_xml_type (<parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *xml_type</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-write" role="function">
+<title>ags_plugin_write ()</title>
+<indexterm zone="ags-plugin-write"><primary>ags_plugin_write</primary></indexterm>
+<programlisting><link linkend="xmlNode"><returnvalue>xmlNode</returnvalue></link> * ags_plugin_write (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>,
+ <parameter><link linkend="xmlNode"><type>xmlNode</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsPlugin"><type>AgsPlugin</type></link> *plugin</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_plugin_factory.xml b/doc/reference/ags/xml/ags_plugin_factory.xml
new file mode 100644
index 0000000..f398e37
--- /dev/null
+++ b/doc/reference/ags/xml/ags_plugin_factory.xml
@@ -0,0 +1,160 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPluginFactory">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPluginFactory.top_of_page">AgsPluginFactory</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPluginFactory</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPluginFactory.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPluginFactory">AgsPluginFactory</link>;
+struct <link linkend="AgsPluginFactoryClass">AgsPluginFactoryClass</link>;
+struct <link linkend="AgsPluginMetadata">AgsPluginMetadata</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-factory-add">ags_plugin_factory_add</link> (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> plugin_type</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *xml_type</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *control</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> control_count</parameter>);
+<link linkend="AgsPlugin"><returnvalue>AgsPlugin</returnvalue></link> * <link linkend="ags-plugin-factory-create">ags_plugin_factory_create</link> (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>);
+<link linkend="AgsPluginFactory"><returnvalue>AgsPluginFactory</returnvalue></link> * <link linkend="ags-plugin-factory-get-instance">ags_plugin_factory_get_instance</link> ();
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-plugin-factory-list-by-name">ags_plugin_factory_list_by_name</link> (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>);
+<link linkend="AgsPluginFactory"><returnvalue>AgsPluginFactory</returnvalue></link> * <link linkend="ags-plugin-factory-new">ags_plugin_factory_new</link> ();
+<link linkend="AgsPluginFactory"><returnvalue>AgsPluginFactory</returnvalue></link> * <link linkend="ags-plugin-factory-new-from-file">ags_plugin_factory_new_from_file</link> (<parameter><link linkend="gchar"><type>gchar</type></link> *path</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-plugin-factory-read-file">ags_plugin_factory_read_file</link> (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *path</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPluginFactory.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPluginFactory.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPluginFactory" role="struct">
+<title>struct AgsPluginFactory</title>
+<indexterm zone="AgsPluginFactory"><primary>AgsPluginFactory</primary></indexterm>
+<programlisting>struct AgsPluginFactory {
+ GObject object;
+
+ GList *plugin;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPluginFactoryClass" role="struct">
+<title>struct AgsPluginFactoryClass</title>
+<indexterm zone="AgsPluginFactoryClass"><primary>AgsPluginFactoryClass</primary></indexterm>
+<programlisting>struct AgsPluginFactoryClass {
+ GObjectClass object;
+
+ void (*add)(AgsPluginFactory *plugin_factory,
+ GType plugin_type,
+ gchar *plugin_name,
+ gchar *version, gchar *build_id,
+ gchar *xml_type,
+ GParameter *control, guint control_count);
+
+ AgsPlugin* (*create)(AgsPluginFactory *plugin_factory,
+ gchar *xml_type);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPluginMetadata" role="struct">
+<title>struct AgsPluginMetadata</title>
+<indexterm zone="AgsPluginMetadata"><primary>AgsPluginMetadata</primary></indexterm>
+<programlisting>struct AgsPluginMetadata {
+ GType plugin_type;
+ gchar *plugin_name;
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *xml_type;
+
+ GParameter *control;
+ guint control_count;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-factory-add" role="function">
+<title>ags_plugin_factory_add ()</title>
+<indexterm zone="ags-plugin-factory-add"><primary>ags_plugin_factory_add</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_factory_add (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> plugin_type</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *xml_type</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *control</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> control_count</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-factory-create" role="function">
+<title>ags_plugin_factory_create ()</title>
+<indexterm zone="ags-plugin-factory-create"><primary>ags_plugin_factory_create</primary></indexterm>
+<programlisting><link linkend="AgsPlugin"><returnvalue>AgsPlugin</returnvalue></link> * ags_plugin_factory_create (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-factory-get-instance" role="function">
+<title>ags_plugin_factory_get_instance ()</title>
+<indexterm zone="ags-plugin-factory-get-instance"><primary>ags_plugin_factory_get_instance</primary></indexterm>
+<programlisting><link linkend="AgsPluginFactory"><returnvalue>AgsPluginFactory</returnvalue></link> * ags_plugin_factory_get_instance ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-factory-list-by-name" role="function">
+<title>ags_plugin_factory_list_by_name ()</title>
+<indexterm zone="ags-plugin-factory-list-by-name"><primary>ags_plugin_factory_list_by_name</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_plugin_factory_list_by_name (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-factory-new" role="function">
+<title>ags_plugin_factory_new ()</title>
+<indexterm zone="ags-plugin-factory-new"><primary>ags_plugin_factory_new</primary></indexterm>
+<programlisting><link linkend="AgsPluginFactory"><returnvalue>AgsPluginFactory</returnvalue></link> * ags_plugin_factory_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-factory-new-from-file" role="function">
+<title>ags_plugin_factory_new_from_file ()</title>
+<indexterm zone="ags-plugin-factory-new-from-file"><primary>ags_plugin_factory_new_from_file</primary></indexterm>
+<programlisting><link linkend="AgsPluginFactory"><returnvalue>AgsPluginFactory</returnvalue></link> * ags_plugin_factory_new_from_file (<parameter><link linkend="gchar"><type>gchar</type></link> *path</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-factory-read-file" role="function">
+<title>ags_plugin_factory_read_file ()</title>
+<indexterm zone="ags-plugin-factory-read-file"><primary>ags_plugin_factory_read_file</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_plugin_factory_read_file (<parameter><link linkend="AgsPluginFactory"><type>AgsPluginFactory</type></link> *plugin_factory</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *path</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_plugin_preferences.xml b/doc/reference/ags/xml/ags_plugin_preferences.xml
new file mode 100644
index 0000000..01c9cf0
--- /dev/null
+++ b/doc/reference/ags/xml/ags_plugin_preferences.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPluginPreferences">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPluginPreferences.top_of_page">AgsPluginPreferences</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPluginPreferences</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPluginPreferences.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsLadspaPluginPreferences">AgsLadspaPluginPreferences</link>;
+struct <link linkend="AgsPluginPreferences">AgsPluginPreferences</link>;
+struct <link linkend="AgsPluginPreferencesClass">AgsPluginPreferencesClass</link>;
+<link linkend="AgsLadspaPluginPreferences"><returnvalue>AgsLadspaPluginPreferences</returnvalue></link> * <link linkend="ags-ladspa-plugin-preferences-alloc">ags_ladspa_plugin_preferences_alloc</link>
+ ();
+<link linkend="AgsPluginPreferences"><returnvalue>AgsPluginPreferences</returnvalue></link> * <link linkend="ags-plugin-preferences-new">ags_plugin_preferences_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPluginPreferences.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPluginPreferences.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsLadspaPluginPreferences" role="struct">
+<title>struct AgsLadspaPluginPreferences</title>
+<indexterm zone="AgsLadspaPluginPreferences"><primary>AgsLadspaPluginPreferences</primary></indexterm>
+<programlisting>struct AgsLadspaPluginPreferences {
+ GtkEntry *ladspa_path;
+ GtkCellView *plugin_file;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPluginPreferences" role="struct">
+<title>struct AgsPluginPreferences</title>
+<indexterm zone="AgsPluginPreferences"><primary>AgsPluginPreferences</primary></indexterm>
+<programlisting>struct AgsPluginPreferences {
+ GtkVBox vbox;
+
+ AgsLadspaPluginPreferences *ladspa_plugin_preferencens;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPluginPreferencesClass" role="struct">
+<title>struct AgsPluginPreferencesClass</title>
+<indexterm zone="AgsPluginPreferencesClass"><primary>AgsPluginPreferencesClass</primary></indexterm>
+<programlisting>struct AgsPluginPreferencesClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ladspa-plugin-preferences-alloc" role="function">
+<title>ags_ladspa_plugin_preferences_alloc ()</title>
+<indexterm zone="ags-ladspa-plugin-preferences-alloc"><primary>ags_ladspa_plugin_preferences_alloc</primary></indexterm>
+<programlisting><link linkend="AgsLadspaPluginPreferences"><returnvalue>AgsLadspaPluginPreferences</returnvalue></link> * ags_ladspa_plugin_preferences_alloc
+ ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-plugin-preferences-new" role="function">
+<title>ags_plugin_preferences_new ()</title>
+<indexterm zone="ags-plugin-preferences-new"><primary>ags_plugin_preferences_new</primary></indexterm>
+<programlisting><link linkend="AgsPluginPreferences"><returnvalue>AgsPluginPreferences</returnvalue></link> * ags_plugin_preferences_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_plugin_stock.xml b/doc/reference/ags/xml/ags_plugin_stock.xml
new file mode 100644
index 0000000..a9c3a22
--- /dev/null
+++ b/doc/reference/ags/xml/ags_plugin_stock.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-plugin-stock">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-plugin-stock.top_of_page">ags_plugin_stock</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_plugin_stock</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-plugin-stock.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-PLUGIN-NAME-VOLUME:CAPS">AGS_PLUGIN_NAME_VOLUME</link>
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-plugin-stock.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-plugin-stock.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-PLUGIN-NAME-VOLUME:CAPS" role="macro">
+<title>AGS_PLUGIN_NAME_VOLUME</title>
+<indexterm zone="AGS-PLUGIN-NAME-VOLUME:CAPS"><primary>AGS_PLUGIN_NAME_VOLUME</primary></indexterm>
+<programlisting>#define AGS_PLUGIN_NAME_VOLUME "ags-volume\0"
+</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_port.xml b/doc/reference/ags/xml/ags_port.xml
new file mode 100644
index 0000000..8a4c526
--- /dev/null
+++ b/doc/reference/ags/xml/ags_port.xml
@@ -0,0 +1,155 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPort">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPort.top_of_page">AgsPort</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPort</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPort.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPort">AgsPort</link>;
+struct <link linkend="AgsPortClass">AgsPortClass</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-port-find-specifier">ags_port_find_specifier</link> (<parameter><link linkend="GList"><type>GList</type></link> *port</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *specifier</parameter>);
+<link linkend="AgsPort"><returnvalue>AgsPort</returnvalue></link> * <link linkend="ags-port-new">ags_port_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-port-safe-get-property">ags_port_safe_get_property</link> (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-port-safe-read">ags_port_safe_read</link> (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-port-safe-set-property">ags_port_safe_set_property</link> (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-port-safe-write">ags_port_safe_write</link> (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPort.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPort.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPort" role="struct">
+<title>struct AgsPort</title>
+<indexterm zone="AgsPort"><primary>AgsPort</primary></indexterm>
+<programlisting>struct AgsPort {
+ GObject object;
+
+ gchar *plugin_name;
+ gchar *specifier;
+
+ gchar *control_port;
+
+ gboolean port_value_is_pointer;
+ GType port_value_type;
+
+ guint port_value_size;
+ guint port_value_length;
+
+ pthread_mutex_t mutex;
+
+ union _AgsPortValue{
+ gboolean ags_port_boolean;
+ gint ags_port_int;
+ guint ags_port_uint;
+ gfloat ags_port_float;
+ gdouble ags_port_double;
+ gboolean *ags_port_boolean_ptr;
+ gint *ags_port_int_ptr;
+ guint *ags_port_uint_ptr;
+ gfloat *ags_port_float_ptr;
+ gdouble *ags_port_double_ptr;
+ gpointer ags_port_pointer;
+ GObject *ags_port_object;
+ }port_value;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPortClass" role="struct">
+<title>struct AgsPortClass</title>
+<indexterm zone="AgsPortClass"><primary>AgsPortClass</primary></indexterm>
+<programlisting>struct AgsPortClass {
+ GObjectClass object;
+
+ void (*safe_read)(AgsPort *port, GValue *value);
+ void (*safe_write)(AgsPort *port, GValue *value);
+
+ void (*safe_get_property)(AgsPort *port, gchar *property_name, GValue *value);
+ void (*safe_set_property)(AgsPort *port, gchar *property_name, GValue *value);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-port-find-specifier" role="function">
+<title>ags_port_find_specifier ()</title>
+<indexterm zone="ags-port-find-specifier"><primary>ags_port_find_specifier</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_port_find_specifier (<parameter><link linkend="GList"><type>GList</type></link> *port</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *specifier</parameter>);</programlisting>
+<para>
+Retrieve port by specifier.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Next match.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-port-new" role="function">
+<title>ags_port_new ()</title>
+<indexterm zone="ags-port-new"><primary>ags_port_new</primary></indexterm>
+<programlisting><link linkend="AgsPort"><returnvalue>AgsPort</returnvalue></link> * ags_port_new ();</programlisting>
+<para>
+Creates an <link linkend="AgsPort"><type>AgsPort</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsPort"><type>AgsPort</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-port-safe-get-property" role="function">
+<title>ags_port_safe_get_property ()</title>
+<indexterm zone="ags-port-safe-get-property"><primary>ags_port_safe_get_property</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_port_safe_get_property (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);</programlisting>
+<para>
+Perform safe get property.
+</para></refsect2>
+<refsect2 id="ags-port-safe-read" role="function">
+<title>ags_port_safe_read ()</title>
+<indexterm zone="ags-port-safe-read"><primary>ags_port_safe_read</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_port_safe_read (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);</programlisting>
+<para>
+Perform safe write.
+</para></refsect2>
+<refsect2 id="ags-port-safe-set-property" role="function">
+<title>ags_port_safe_set_property ()</title>
+<indexterm zone="ags-port-safe-set-property"><primary>ags_port_safe_set_property</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_port_safe_set_property (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);</programlisting>
+<para>
+Perform safe set property.
+</para></refsect2>
+<refsect2 id="ags-port-safe-write" role="function">
+<title>ags_port_safe_write ()</title>
+<indexterm zone="ags-port-safe-write"><primary>ags_port_safe_write</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_port_safe_write (<parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_portable_thread.xml b/doc/reference/ags/xml/ags_portable_thread.xml
new file mode 100644
index 0000000..bbd8ffb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_portable_thread.xml
@@ -0,0 +1,459 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPortableThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPortableThread.top_of_page">AgsPortableThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPortableThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPortableThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPortableThread">AgsPortableThread</link>;
+struct <link linkend="AgsPortableThreadClass">AgsPortableThreadClass</link>;
+enum <link linkend="AgsPortableThreadFlags">AgsPortableThreadFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-add-child">ags_portable_thread_add_child</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *child</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-children-is-locked">ags_portable_thread_children_is_locked</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * <link linkend="ags-portable-thread-first">ags_portable_thread_first</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * <link linkend="ags-portable-thread-get-toplevel">ags_portable_thread_get_toplevel</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-is-current-ready">ags_portable_thread_is_current_ready</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *current</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-is-current-synced">ags_portable_thread_is_current_synced</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *current</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-is-tree-ready">ags_portable_thread_is_tree_ready</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-is-tree-synced">ags_portable_thread_is_tree_synced</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * <link linkend="ags-portable-thread-last">ags_portable_thread_last</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-lock">ags_portable_thread_lock</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-lock-all">ags_portable_thread_lock_all</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-lock-children">ags_portable_thread_lock_children</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-lock-parent">ags_portable_thread_lock_parent</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-lock-sibling">ags_portable_thread_lock_sibling</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-main-loop-unlock-children">ags_portable_thread_main_loop_unlock_children</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * <link linkend="ags-portable-thread-new">ags_portable_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *data</parameter>);
+<link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * <link linkend="ags-portable-thread-next-children-locked">ags_portable_thread_next_children_locked</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * <link linkend="ags-portable-thread-next-parent-locked">ags_portable_thread_next_parent_locked</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);
+<link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * <link linkend="ags-portable-thread-next-sibling-locked">ags_portable_thread_next_sibling_locked</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-parental-is-locked">ags_portable_thread_parental_is_locked</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-remove-child">ags_portable_thread_remove_child</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-run">ags_portable_thread_run</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-sibling-is-locked">ags_portable_thread_sibling_is_locked</link>
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-signal-children">ags_portable_thread_signal_children</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-signal-parent">ags_portable_thread_signal_parent</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-signal-sibling">ags_portable_thread_signal_sibling</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-start">ags_portable_thread_start</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-stop">ags_portable_thread_stop</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-timelock">ags_portable_thread_timelock</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-portable-thread-trylock">ags_portable_thread_trylock</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-unlock">ags_portable_thread_unlock</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-unlock-all">ags_portable_thread_unlock_all</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-unlock-children">ags_portable_thread_unlock_children</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-unlock-parent">ags_portable_thread_unlock_parent</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-unlock-sibling">ags_portable_thread_unlock_sibling</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-wait-children">ags_portable_thread_wait_children</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-wait-parent">ags_portable_thread_wait_parent</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portable-thread-wait-sibling">ags_portable_thread_wait_sibling</link> (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPortableThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPortableThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPortableThread" role="struct">
+<title>struct AgsPortableThread</title>
+<indexterm zone="AgsPortableThread"><primary>AgsPortableThread</primary></indexterm>
+<programlisting>struct AgsPortableThread {
+ GObject object;
+
+ volatile guint flags;
+
+ pth_t thread;
+ pth_attr_t thread_attr;
+
+ pth_mutex_t mutex;
+ pth_cond_t cond;
+
+ pth_mutex_t start_mutex;
+ pth_cond_t start_cond;
+
+ pth_barrier_t barrier[2];
+ gboolean first_barrier;
+ int wait_count[2];
+
+ pth_t timelock_thread;
+ pth_mutex_t timelock_mutex;
+ pth_cond_t timelock_cond;
+
+ long timelock;
+
+ GObject *devout;
+ AgsPortableThread *parent;
+
+ AgsPortableThread *next;
+ AgsPortableThread *prev;
+
+ AgsPortableThread *children;
+
+ GObject *data;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPortableThreadClass" role="struct">
+<title>struct AgsPortableThreadClass</title>
+<indexterm zone="AgsPortableThreadClass"><primary>AgsPortableThreadClass</primary></indexterm>
+<programlisting>struct AgsPortableThreadClass {
+ GObjectClass object;
+
+ void (*start)(AgsPortableThread *thread);
+ void (*run)(AgsPortableThread *thread);
+ void (*timelock)(AgsPortableThread *thread);
+ void (*stop)(AgsPortableThread *thread);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPortableThreadFlags" role="enum">
+<title>enum AgsPortableThreadFlags</title>
+<indexterm zone="AgsPortableThreadFlags"><primary>AgsPortableThreadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PORTABLE_THREAD_RUNNING = 1,
+ AGS_PORTABLE_THREAD_IDLE = 1 << 1,
+ AGS_PORTABLE_THREAD_LOCKED = 1 << 2,
+ AGS_PORTABLE_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_PORTABLE_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_PORTABLE_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_PORTABLE_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_PORTABLE_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_PORTABLE_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_PORTABLE_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_PORTABLE_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_PORTABLE_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_PORTABLE_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_PORTABLE_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_PORTABLE_THREAD_WAIT_0 = 1 << 16,
+ AGS_PORTABLE_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_PORTABLE_THREAD_WAIT_1 = 1 << 18,
+ AGS_PORTABLE_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_PORTABLE_THREAD_WAIT_2 = 1 << 20,
+ AGS_PORTABLE_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_PORTABLE_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_PORTABLE_THREAD_TIMELOCK_RESUME = 1 << 23,
+} AgsPortableThreadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-add-child" role="function">
+<title>ags_portable_thread_add_child ()</title>
+<indexterm zone="ags-portable-thread-add-child"><primary>ags_portable_thread_add_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_add_child (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-children-is-locked" role="function">
+<title>ags_portable_thread_children_is_locked ()</title>
+<indexterm zone="ags-portable-thread-children-is-locked"><primary>ags_portable_thread_children_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_children_is_locked
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-first" role="function">
+<title>ags_portable_thread_first ()</title>
+<indexterm zone="ags-portable-thread-first"><primary>ags_portable_thread_first</primary></indexterm>
+<programlisting><link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * ags_portable_thread_first (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve first sibling.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-get-toplevel" role="function">
+<title>ags_portable_thread_get_toplevel ()</title>
+<indexterm zone="ags-portable-thread-get-toplevel"><primary>ags_portable_thread_get_toplevel</primary></indexterm>
+<programlisting><link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * ags_portable_thread_get_toplevel (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve toplevel thread.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-is-current-ready" role="function">
+<title>ags_portable_thread_is_current_ready ()</title>
+<indexterm zone="ags-portable-thread-is-current-ready"><primary>ags_portable_thread_is_current_ready</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_is_current_ready
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *current</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-is-current-synced" role="function">
+<title>ags_portable_thread_is_current_synced ()</title>
+<indexterm zone="ags-portable-thread-is-current-synced"><primary>ags_portable_thread_is_current_synced</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_is_current_synced
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *current</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-is-tree-ready" role="function">
+<title>ags_portable_thread_is_tree_ready ()</title>
+<indexterm zone="ags-portable-thread-is-tree-ready"><primary>ags_portable_thread_is_tree_ready</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_is_tree_ready (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-is-tree-synced" role="function">
+<title>ags_portable_thread_is_tree_synced ()</title>
+<indexterm zone="ags-portable-thread-is-tree-synced"><primary>ags_portable_thread_is_tree_synced</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_is_tree_synced (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-last" role="function">
+<title>ags_portable_thread_last ()</title>
+<indexterm zone="ags-portable-thread-last"><primary>ags_portable_thread_last</primary></indexterm>
+<programlisting><link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * ags_portable_thread_last (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve last sibling.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-lock" role="function">
+<title>ags_portable_thread_lock ()</title>
+<indexterm zone="ags-portable-thread-lock"><primary>ags_portable_thread_lock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_lock (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Locks the threads own mutex and sets the appropriate flag.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-lock-all" role="function">
+<title>ags_portable_thread_lock_all ()</title>
+<indexterm zone="ags-portable-thread-lock-all"><primary>ags_portable_thread_lock_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_lock_all (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-lock-children" role="function">
+<title>ags_portable_thread_lock_children ()</title>
+<indexterm zone="ags-portable-thread-lock-children"><primary>ags_portable_thread_lock_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_lock_children (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Lock child tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-lock-parent" role="function">
+<title>ags_portable_thread_lock_parent ()</title>
+<indexterm zone="ags-portable-thread-lock-parent"><primary>ags_portable_thread_lock_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_lock_parent (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Lock parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-lock-sibling" role="function">
+<title>ags_portable_thread_lock_sibling ()</title>
+<indexterm zone="ags-portable-thread-lock-sibling"><primary>ags_portable_thread_lock_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_lock_sibling (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Lock sibling tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-main-loop-unlock-children" role="function">
+<title>ags_portable_thread_main_loop_unlock_children ()</title>
+<indexterm zone="ags-portable-thread-main-loop-unlock-children"><primary>ags_portable_thread_main_loop_unlock_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_main_loop_unlock_children
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-new" role="function">
+<title>ags_portable_thread_new ()</title>
+<indexterm zone="ags-portable-thread-new"><primary>ags_portable_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * ags_portable_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *data</parameter>);</programlisting>
+<para>
+Create a new <link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> you may provide an <link linkend="GObject"><type>GObject</type></link> as <parameter>data</parameter>
+to your thread routine.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-next-children-locked" role="function">
+<title>ags_portable_thread_next_children_locked ()</title>
+<indexterm zone="ags-portable-thread-next-children-locked"><primary>ags_portable_thread_next_children_locked</primary></indexterm>
+<programlisting><link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * ags_portable_thread_next_children_locked
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve next locked thread following <parameter>thread</parameter>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-next-parent-locked" role="function">
+<title>ags_portable_thread_next_parent_locked ()</title>
+<indexterm zone="ags-portable-thread-next-parent-locked"><primary>ags_portable_thread_next_parent_locked</primary></indexterm>
+<programlisting><link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * ags_portable_thread_next_parent_locked
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Retrieve next locked thread above <parameter>thread</parameter>.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-next-sibling-locked" role="function">
+<title>ags_portable_thread_next_sibling_locked ()</title>
+<indexterm zone="ags-portable-thread-next-sibling-locked"><primary>ags_portable_thread_next_sibling_locked</primary></indexterm>
+<programlisting><link linkend="AgsPortableThread"><returnvalue>AgsPortableThread</returnvalue></link> * ags_portable_thread_next_sibling_locked
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve next locked thread neighbooring <parameter>thread</parameter>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-parental-is-locked" role="function">
+<title>ags_portable_thread_parental_is_locked ()</title>
+<indexterm zone="ags-portable-thread-parental-is-locked"><primary>ags_portable_thread_parental_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_parental_is_locked
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Check the AGS_PORTABLE_THREAD_LOCKED flag in parental levels.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-remove-child" role="function">
+<title>ags_portable_thread_remove_child ()</title>
+<indexterm zone="ags-portable-thread-remove-child"><primary>ags_portable_thread_remove_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_remove_child (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-run" role="function">
+<title>ags_portable_thread_run ()</title>
+<indexterm zone="ags-portable-thread-run"><primary>ags_portable_thread_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_run (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Only for internal use of ags_portable_thread_loop but you may want to set the your very own
+class function namely your thread's routine.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-sibling-is-locked" role="function">
+<title>ags_portable_thread_sibling_is_locked ()</title>
+<indexterm zone="ags-portable-thread-sibling-is-locked"><primary>ags_portable_thread_sibling_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_sibling_is_locked
+ (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Check the AGS_PORTABLE_THREAD_LOCKED flag within sibling.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-signal-children" role="function">
+<title>ags_portable_thread_signal_children ()</title>
+<indexterm zone="ags-portable-thread-signal-children"><primary>ags_portable_thread_signal_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_signal_children (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree in lower levels.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-signal-parent" role="function">
+<title>ags_portable_thread_signal_parent ()</title>
+<indexterm zone="ags-portable-thread-signal-parent"><primary>ags_portable_thread_signal_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_signal_parent (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree in higher levels.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-signal-sibling" role="function">
+<title>ags_portable_thread_signal_sibling ()</title>
+<indexterm zone="ags-portable-thread-signal-sibling"><primary>ags_portable_thread_signal_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_signal_sibling (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree on same level.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-start" role="function">
+<title>ags_portable_thread_start ()</title>
+<indexterm zone="ags-portable-thread-start"><primary>ags_portable_thread_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_start (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Start the thread.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-stop" role="function">
+<title>ags_portable_thread_stop ()</title>
+<indexterm zone="ags-portable-thread-stop"><primary>ags_portable_thread_stop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_stop (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Stop the threads loop by unsetting AGS_PORTABLE_THREAD_RUNNING flag.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-timelock" role="function">
+<title>ags_portable_thread_timelock ()</title>
+<indexterm zone="ags-portable-thread-timelock"><primary>ags_portable_thread_timelock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_timelock (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-trylock" role="function">
+<title>ags_portable_thread_trylock ()</title>
+<indexterm zone="ags-portable-thread-trylock"><primary>ags_portable_thread_trylock</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_portable_thread_trylock (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-unlock" role="function">
+<title>ags_portable_thread_unlock ()</title>
+<indexterm zone="ags-portable-thread-unlock"><primary>ags_portable_thread_unlock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_unlock (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlocks the threads own mutex and unsets the appropriate flag.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-unlock-all" role="function">
+<title>ags_portable_thread_unlock_all ()</title>
+<indexterm zone="ags-portable-thread-unlock-all"><primary>ags_portable_thread_unlock_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_unlock_all (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portable-thread-unlock-children" role="function">
+<title>ags_portable_thread_unlock_children ()</title>
+<indexterm zone="ags-portable-thread-unlock-children"><primary>ags_portable_thread_unlock_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_unlock_children (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlock child tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-unlock-parent" role="function">
+<title>ags_portable_thread_unlock_parent ()</title>
+<indexterm zone="ags-portable-thread-unlock-parent"><primary>ags_portable_thread_unlock_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_unlock_parent (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Unlock parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-unlock-sibling" role="function">
+<title>ags_portable_thread_unlock_sibling ()</title>
+<indexterm zone="ags-portable-thread-unlock-sibling"><primary>ags_portable_thread_unlock_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_unlock_sibling (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlock sibling tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-wait-children" role="function">
+<title>ags_portable_thread_wait_children ()</title>
+<indexterm zone="ags-portable-thread-wait-children"><primary>ags_portable_thread_wait_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_wait_children (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Wait on child tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-wait-parent" role="function">
+<title>ags_portable_thread_wait_parent ()</title>
+<indexterm zone="ags-portable-thread-wait-parent"><primary>ags_portable_thread_wait_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_wait_parent (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Wait on parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-portable-thread-wait-sibling" role="function">
+<title>ags_portable_thread_wait_sibling ()</title>
+<indexterm zone="ags-portable-thread-wait-sibling"><primary>ags_portable_thread_wait_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portable_thread_wait_sibling (<parameter><link linkend="AgsPortableThread"><type>AgsPortableThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Wait on sibling tree structure.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_portlet.xml b/doc/reference/ags/xml/ags_portlet.xml
new file mode 100644
index 0000000..0ccc87b
--- /dev/null
+++ b/doc/reference/ags/xml/ags_portlet.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPortlet">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPortlet.top_of_page">AgsPortlet</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPortlet</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPortlet.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsPortlet">AgsPortlet</link>;
+struct <link linkend="AgsPortletInterface">AgsPortletInterface</link>;
+<link linkend="AgsPort"><returnvalue>AgsPort</returnvalue></link> * <link linkend="ags-portlet-get-port">ags_portlet_get_port</link> (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-portlet-list-safe-properties">ags_portlet_list_safe_properties</link> (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portlet-safe-get-property">ags_portlet_safe_get_property</link> (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portlet-safe-set-property">ags_portlet_safe_set_property</link> (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-portlet-set-port">ags_portlet_set_port</link> (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPortlet.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPortlet.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPortlet" role="typedef">
+<title>AgsPortlet</title>
+<indexterm zone="AgsPortlet"><primary>AgsPortlet</primary></indexterm>
+<programlisting>typedef void AgsPortlet;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPortletInterface" role="struct">
+<title>struct AgsPortletInterface</title>
+<indexterm zone="AgsPortletInterface"><primary>AgsPortletInterface</primary></indexterm>
+<programlisting>struct AgsPortletInterface {
+ GTypeInterface interface;
+
+ AgsPort* (*get_port)(AgsPortlet *portlet);
+ void (*set_port)(AgsPortlet *portlet, AgsPort *port);
+
+ GList* (*list_safe_properties)(AgsPortlet *portlet);
+
+ void (*safe_get_property)(AgsPortlet *portlet, gchar *property_name, GValue *value);
+ void (*safe_set_property)(AgsPortlet *portlet, gchar *property_name, GValue *value);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portlet-get-port" role="function">
+<title>ags_portlet_get_port ()</title>
+<indexterm zone="ags-portlet-get-port"><primary>ags_portlet_get_port</primary></indexterm>
+<programlisting><link linkend="AgsPort"><returnvalue>AgsPort</returnvalue></link> * ags_portlet_get_port (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portlet-list-safe-properties" role="function">
+<title>ags_portlet_list_safe_properties ()</title>
+<indexterm zone="ags-portlet-list-safe-properties"><primary>ags_portlet_list_safe_properties</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_portlet_list_safe_properties (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portlet-safe-get-property" role="function">
+<title>ags_portlet_safe_get_property ()</title>
+<indexterm zone="ags-portlet-safe-get-property"><primary>ags_portlet_safe_get_property</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portlet_safe_get_property (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portlet-safe-set-property" role="function">
+<title>ags_portlet_safe_set_property ()</title>
+<indexterm zone="ags-portlet-safe-set-property"><primary>ags_portlet_safe_set_property</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portlet_safe_set_property (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *property_name</parameter>,
+ <parameter><link linkend="GValue"><type>GValue</type></link> *value</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-portlet-set-port" role="function">
+<title>ags_portlet_set_port ()</title>
+<indexterm zone="ags-portlet-set-port"><primary>ags_portlet_set_port</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_portlet_set_port (<parameter><link linkend="AgsPortlet"><type>AgsPortlet</type></link> *portlet</parameter>,
+ <parameter><link linkend="AgsPort"><type>AgsPort</type></link> *port</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_preferences.xml b/doc/reference/ags/xml/ags_preferences.xml
new file mode 100644
index 0000000..2a144fa
--- /dev/null
+++ b/doc/reference/ags/xml/ags_preferences.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPreferences">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPreferences.top_of_page">AgsPreferences</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPreferences</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPreferences.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPreferences">AgsPreferences</link>;
+struct <link linkend="AgsPreferencesClass">AgsPreferencesClass</link>;
+enum <link linkend="AgsPreferencesFlags">AgsPreferencesFlags</link>;
+<link linkend="AgsPreferences"><returnvalue>AgsPreferences</returnvalue></link> * <link linkend="ags-preferences-new">ags_preferences_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPreferences.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPreferences.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPreferences" role="struct">
+<title>struct AgsPreferences</title>
+<indexterm zone="AgsPreferences"><primary>AgsPreferences</primary></indexterm>
+<programlisting>struct AgsPreferences {
+ GtkDialog dialog;
+
+ guint flags;
+
+ GtkWindow *window;
+
+ AgsAudioPreferences *audio_preferences;
+ AgsPerformancePreferences *performance_preferences;
+ AgsServerPreferences *server_preferences;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPreferencesClass" role="struct">
+<title>struct AgsPreferencesClass</title>
+<indexterm zone="AgsPreferencesClass"><primary>AgsPreferencesClass</primary></indexterm>
+<programlisting>struct AgsPreferencesClass {
+ GtkDialogClass dialog;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPreferencesFlags" role="enum">
+<title>enum AgsPreferencesFlags</title>
+<indexterm zone="AgsPreferencesFlags"><primary>AgsPreferencesFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PREFERENCES_SHUTDOWN = 1,
+} AgsPreferencesFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-preferences-new" role="function">
+<title>ags_preferences_new ()</title>
+<indexterm zone="ags-preferences-new"><primary>ags_preferences_new</primary></indexterm>
+<programlisting><link linkend="AgsPreferences"><returnvalue>AgsPreferences</returnvalue></link> * ags_preferences_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_preferences_callbacks.xml b/doc/reference/ags/xml/ags_preferences_callbacks.xml
new file mode 100644
index 0000000..0ba1ee1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_preferences_callbacks.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-preferences-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-preferences-callbacks.top_of_page">ags_preferences_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_preferences_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-preferences-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-preferences-response-callback">ags_preferences_response_callback</link> (<parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response_id</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-preferences-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-preferences-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-preferences-response-callback" role="function">
+<title>ags_preferences_response_callback ()</title>
+<indexterm zone="ags-preferences-response-callback"><primary>ags_preferences_response_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_preferences_response_callback (<parameter><link linkend="GtkDialog"><type>GtkDialog</type></link> *dialog</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> response_id</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_property_collection_editor.xml b/doc/reference/ags/xml/ags_property_collection_editor.xml
new file mode 100644
index 0000000..d02dc13
--- /dev/null
+++ b/doc/reference/ags/xml/ags_property_collection_editor.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPropertyCollectionEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPropertyCollectionEditor.top_of_page">AgsPropertyCollectionEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPropertyCollectionEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPropertyCollectionEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPropertyCollectionEditor">AgsPropertyCollectionEditor</link>;
+struct <link linkend="AgsPropertyCollectionEditorClass">AgsPropertyCollectionEditorClass</link>;
+<link linkend="AgsPropertyCollectionEditor"><returnvalue>AgsPropertyCollectionEditor</returnvalue></link> * <link linkend="ags-property-collection-editor-new">ags_property_collection_editor_new</link>
+ (<parameter><link linkend="GType"><type>GType</type></link> child_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> child_parameter_count</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *child_parameter</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPropertyCollectionEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPropertyCollectionEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPropertyCollectionEditor" role="struct">
+<title>struct AgsPropertyCollectionEditor</title>
+<indexterm zone="AgsPropertyCollectionEditor"><primary>AgsPropertyCollectionEditor</primary></indexterm>
+<programlisting>struct AgsPropertyCollectionEditor {
+ AgsPropertyEditor property_editor;
+
+ GType child_type;
+ guint child_parameter_count;
+ GParameter *child_parameter;
+
+ GtkVBox *child;
+
+ GtkButton *add_collection;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPropertyCollectionEditorClass" role="struct">
+<title>struct AgsPropertyCollectionEditorClass</title>
+<indexterm zone="AgsPropertyCollectionEditorClass"><primary>AgsPropertyCollectionEditorClass</primary></indexterm>
+<programlisting>struct AgsPropertyCollectionEditorClass {
+ AgsPropertyEditorClass property_editor;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-property-collection-editor-new" role="function">
+<title>ags_property_collection_editor_new ()</title>
+<indexterm zone="ags-property-collection-editor-new"><primary>ags_property_collection_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsPropertyCollectionEditor"><returnvalue>AgsPropertyCollectionEditor</returnvalue></link> * ags_property_collection_editor_new
+ (<parameter><link linkend="GType"><type>GType</type></link> child_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> child_parameter_count</parameter>,
+ <parameter><link linkend="GParameter"><type>GParameter</type></link> *child_parameter</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_property_collection_editor_callbacks.xml b/doc/reference/ags/xml/ags_property_collection_editor_callbacks.xml
new file mode 100644
index 0000000..8db6528
--- /dev/null
+++ b/doc/reference/ags/xml/ags_property_collection_editor_callbacks.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-property-collection-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-property-collection-editor-callbacks.top_of_page">ags_property_collection_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_property_collection_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-property-collection-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-property-collection-editor-add-collection-callback">ags_property_collection_editor_add_collection_callback</link>
+ (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="AgsPropertyCollectionEditor"><type>AgsPropertyCollectionEditor</type></link> *property_collection_editor</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-property-collection-editor-remove-collection-callback">ags_property_collection_editor_remove_collection_callback</link>
+ (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="GtkTable"><type>GtkTable</type></link> *table</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-property-collection-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-property-collection-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-property-collection-editor-add-collection-callback" role="function">
+<title>ags_property_collection_editor_add_collection_callback ()</title>
+<indexterm zone="ags-property-collection-editor-add-collection-callback"><primary>ags_property_collection_editor_add_collection_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_property_collection_editor_add_collection_callback
+ (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="AgsPropertyCollectionEditor"><type>AgsPropertyCollectionEditor</type></link> *property_collection_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-property-collection-editor-remove-collection-callback" role="function">
+<title>ags_property_collection_editor_remove_collection_callback ()</title>
+<indexterm zone="ags-property-collection-editor-remove-collection-callback"><primary>ags_property_collection_editor_remove_collection_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_property_collection_editor_remove_collection_callback
+ (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="GtkTable"><type>GtkTable</type></link> *table</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_property_editor.xml b/doc/reference/ags/xml/ags_property_editor.xml
new file mode 100644
index 0000000..ad5a607
--- /dev/null
+++ b/doc/reference/ags/xml/ags_property_editor.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPropertyEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPropertyEditor.top_of_page">AgsPropertyEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPropertyEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPropertyEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPropertyEditor">AgsPropertyEditor</link>;
+struct <link linkend="AgsPropertyEditorClass">AgsPropertyEditorClass</link>;
+enum <link linkend="AgsPropertyEditorFlags">AgsPropertyEditorFlags</link>;
+<link linkend="AgsPropertyEditor"><returnvalue>AgsPropertyEditor</returnvalue></link> * <link linkend="ags-property-editor-new">ags_property_editor_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPropertyEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPropertyEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPropertyEditor" role="struct">
+<title>struct AgsPropertyEditor</title>
+<indexterm zone="AgsPropertyEditor"><primary>AgsPropertyEditor</primary></indexterm>
+<programlisting>struct AgsPropertyEditor {
+ GtkVBox vbox;
+
+ guint flags;
+
+ GtkCheckButton *enabled;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPropertyEditorClass" role="struct">
+<title>struct AgsPropertyEditorClass</title>
+<indexterm zone="AgsPropertyEditorClass"><primary>AgsPropertyEditorClass</primary></indexterm>
+<programlisting>struct AgsPropertyEditorClass {
+ GtkVBoxClass vbox;
+
+ void (*apply)(AgsPropertyEditor *property_editor);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPropertyEditorFlags" role="enum">
+<title>enum AgsPropertyEditorFlags</title>
+<indexterm zone="AgsPropertyEditorFlags"><primary>AgsPropertyEditorFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_PROPERTY_EDITOR_ENABLED = 1,
+} AgsPropertyEditorFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-property-editor-new" role="function">
+<title>ags_property_editor_new ()</title>
+<indexterm zone="ags-property-editor-new"><primary>ags_property_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsPropertyEditor"><returnvalue>AgsPropertyEditor</returnvalue></link> * ags_property_editor_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_property_editor_callbacks.xml b/doc/reference/ags/xml/ags_property_editor_callbacks.xml
new file mode 100644
index 0000000..ad77aba
--- /dev/null
+++ b/doc/reference/ags/xml/ags_property_editor_callbacks.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-property-editor-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-property-editor-callbacks.top_of_page">ags_property_editor_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_property_editor_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-property-editor-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-property-editor-enable-callback">ags_property_editor_enable_callback</link> (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle</parameter>,
+ <parameter><link linkend="AgsPropertyEditor"><type>AgsPropertyEditor</type></link> *property_editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-property-editor-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-property-editor-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-property-editor-enable-callback" role="function">
+<title>ags_property_editor_enable_callback ()</title>
+<indexterm zone="ags-property-editor-enable-callback"><primary>ags_property_editor_enable_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_property_editor_enable_callback (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle</parameter>,
+ <parameter><link linkend="AgsPropertyEditor"><type>AgsPropertyEditor</type></link> *property_editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_property_listing_editor.xml b/doc/reference/ags/xml/ags_property_listing_editor.xml
new file mode 100644
index 0000000..fbe2d19
--- /dev/null
+++ b/doc/reference/ags/xml/ags_property_listing_editor.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsPropertyListingEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsPropertyListingEditor.top_of_page">AgsPropertyListingEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsPropertyListingEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsPropertyListingEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsPropertyListingEditor">AgsPropertyListingEditor</link>;
+struct <link linkend="AgsPropertyListingEditorClass">AgsPropertyListingEditorClass</link>;
+<link linkend="AgsPropertyListingEditor"><returnvalue>AgsPropertyListingEditor</returnvalue></link> * <link linkend="ags-property-listing-editor-new">ags_property_listing_editor_new</link>
+ ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsPropertyListingEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsPropertyListingEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsPropertyListingEditor" role="struct">
+<title>struct AgsPropertyListingEditor</title>
+<indexterm zone="AgsPropertyListingEditor"><primary>AgsPropertyListingEditor</primary></indexterm>
+<programlisting>struct AgsPropertyListingEditor {
+ AgsPropertyEditor property_editor;
+
+ GtkVBox *child;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsPropertyListingEditorClass" role="struct">
+<title>struct AgsPropertyListingEditorClass</title>
+<indexterm zone="AgsPropertyListingEditorClass"><primary>AgsPropertyListingEditorClass</primary></indexterm>
+<programlisting>struct AgsPropertyListingEditorClass {
+ AgsPropertyEditorClass property_editor;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-property-listing-editor-new" role="function">
+<title>ags_property_listing_editor_new ()</title>
+<indexterm zone="ags-property-listing-editor-new"><primary>ags_property_listing_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsPropertyListingEditor"><returnvalue>AgsPropertyListingEditor</returnvalue></link> * ags_property_listing_editor_new
+ ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall.xml b/doc/reference/ags/xml/ags_recall.xml
new file mode 100644
index 0000000..c223e75
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall.xml
@@ -0,0 +1,557 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecall">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecall.top_of_page">AgsRecall</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecall</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecall.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-RECALL-DEFAULT-BUILD-ID:CAPS">AGS_RECALL_DEFAULT_BUILD_ID</link>
+#define <link linkend="AGS-RECALL-DEFAULT-VERSION:CAPS">AGS_RECALL_DEFAULT_VERSION</link>
+#define <link linkend="AGS-RECALL-HANDLER:CAPS">AGS_RECALL_HANDLER</link> (handler)
+struct <link linkend="AgsRecall">AgsRecall</link>;
+struct <link linkend="AgsRecallClass">AgsRecallClass</link>;
+enum <link linkend="AgsRecallFlags">AgsRecallFlags</link>;
+struct <link linkend="AgsRecallHandler">AgsRecallHandler</link>;
+enum <link linkend="AgsRecallNotifyDependencyMode">AgsRecallNotifyDependencyMode</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-add-child">ags_recall_add_child</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-add-dependency">ags_recall_add_dependency</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallDependency"><type>AgsRecallDependency</type></link> *dependency</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-add-handler">ags_recall_add_handler</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallHandler"><type>AgsRecallHandler</type></link> *recall_handler</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-cancel">ags_recall_cancel</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-child-added">ags_recall_child_added</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-done">ags_recall_done</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * <link linkend="ags-recall-duplicate">ags_recall_duplicate</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-find-by-effect">ags_recall_find_by_effect</link> (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *effect</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-find-provider">ags_recall_find_provider</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-find-provider-with-recycling-container">ags_recall_find_provider_with_recycling_container</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-find-recycling-container">ags_recall_find_recycling_container</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-find-template">ags_recall_find_template</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-find-type">ags_recall_find_type</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-find-type-with-recycling-container">ags_recall_find_type_with_recycling_container</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-get-children">ags_recall_get_children</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-get-dependencies">ags_recall_get_dependencies</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="AgsRecallHandler"><returnvalue>AgsRecallHandler</returnvalue></link> * <link linkend="ags-recall-handler-alloc">ags_recall_handler_alloc</link> (<parameter>const <link linkend="gchar"><type>gchar</type></link> *signal_name</parameter>,
+ <parameter><link linkend="GCallback"><type>GCallback</type></link> callback</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *data</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-recall-is-done">ags_recall_is_done</link> (<parameter><link linkend="GList"><type>GList</type></link> *recalls</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);
+<link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * <link linkend="ags-recall-new">ags_recall_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-notify-dependency">ags_recall_notify_dependency</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dependency</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> count</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-remove">ags_recall_remove</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-remove-child">ags_recall_remove_child</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-remove-dependency">ags_recall_remove_dependency</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *template</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-remove-handler">ags_recall_remove_handler</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallHandler"><type>AgsRecallHandler</type></link> *recall_handler</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-resolve-dependencies">ags_recall_resolve_dependencies</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *reall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-run-init">ags_recall_run_init</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> stage</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-run-init-inter">ags_recall_run_init_inter</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-run-init-post">ags_recall_run_init_post</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-run-init-pre">ags_recall_run_init_pre</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-run-inter">ags_recall_run_inter</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-run-post">ags_recall_run_post</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-run-pre">ags_recall_run_pre</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-set-devout-recursive">ags_recall_set_devout_recursive</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-set-effect">ags_recall_set_effect</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *effect</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-set-flags">ags_recall_set_flags</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-set-recall-id">ags_recall_set_recall_id</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-stop-persistent">ags_recall_stop_persistent</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-template-find-provider">ags_recall_template_find_provider</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-template-find-type">ags_recall_template_find_type</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecall.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecall.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-RECALL-DEFAULT-BUILD-ID:CAPS" role="macro">
+<title>AGS_RECALL_DEFAULT_BUILD_ID</title>
+<indexterm zone="AGS-RECALL-DEFAULT-BUILD-ID:CAPS"><primary>AGS_RECALL_DEFAULT_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_RECALL_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-RECALL-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_RECALL_DEFAULT_VERSION</title>
+<indexterm zone="AGS-RECALL-DEFAULT-VERSION:CAPS"><primary>AGS_RECALL_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_RECALL_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-RECALL-HANDLER:CAPS" role="macro">
+<title>AGS_RECALL_HANDLER()</title>
+<indexterm zone="AGS-RECALL-HANDLER:CAPS"><primary>AGS_RECALL_HANDLER</primary></indexterm>
+<programlisting>#define AGS_RECALL_HANDLER(handler) ((AgsRecallHandler *)(handler))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecall" role="struct">
+<title>struct AgsRecall</title>
+<indexterm zone="AgsRecall"><primary>AgsRecall</primary></indexterm>
+<programlisting>struct AgsRecall {
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+ GObject *container; // see AgsRecallContainer
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *effect;
+ gchar *name;
+
+ gchar *xml_type;
+
+ GList *dependencies;
+
+ AgsRecallID *recall_id;
+
+ AgsRecall *parent;
+ GList *children;
+
+ GType child_type;
+ GParameter *child_parameters;
+ guint n_params;
+
+ GList *port;
+
+ GList *handlers;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallClass" role="struct">
+<title>struct AgsRecallClass</title>
+<indexterm zone="AgsRecallClass"><primary>AgsRecallClass</primary></indexterm>
+<programlisting>struct AgsRecallClass {
+ GObjectClass object;
+
+ void (*resolve_dependencies)(AgsRecall *recall);
+
+ void (*run_init_pre)(AgsRecall *recall);
+ void (*run_init_inter)(AgsRecall *recall);
+ void (*run_init_post)(AgsRecall *recall);
+
+ void (*run_pre)(AgsRecall *recall);
+ void (*run_inter)(AgsRecall *recall);
+ void (*run_post)(AgsRecall *recall);
+
+ void (*stop_persistent)(AgsRecall *recall);
+ void (*done)(AgsRecall *recall);
+
+ void (*cancel)(AgsRecall *recall);
+ void (*remove)(AgsRecall *recall);
+
+ AgsRecall* (*duplicate)(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *params); // if a sequencer is linked with a sequencer the AgsRecall's with the flag AGS_RECALL_SOURCE must be duplicated
+
+ void (*notify_dependency)(AgsRecall *recall, guint dependency, gboolean increase);
+
+ void (*child_added)(AgsRecall *recall, AgsRecall *child);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallFlags" role="enum">
+<title>enum AgsRecallFlags</title>
+<indexterm zone="AgsRecallFlags"><primary>AgsRecallFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_CONNECTED = 1,
+ AGS_RECALL_RUN_INITIALIZED = 1 << 1, //TODO:JK: rename to AGS_RECALL_RUN_CONNECTED
+ AGS_RECALL_TEMPLATE = 1 << 2,
+ AGS_RECALL_PLAYBACK = 1 << 3,
+ AGS_RECALL_SEQUENCER = 1 << 4,
+ AGS_RECALL_NOTATION = 1 << 5,
+ AGS_RECALL_DEFAULT_TEMPLATE = 1 << 6,
+ //TODO:JK: remove because it's useless
+ // AGS_RECALL_IS_REAL = 1 << 7,
+ AGS_RECALL_INPUT_ORIENTATED = 1 << 8,
+ AGS_RECALL_OUTPUT_ORIENTATED = 1 << 9,
+ AGS_RECALL_PERSISTENT = 1 << 10,
+ AGS_RECALL_INITIAL_RUN = 1 << 11,
+ AGS_RECALL_TERMINATING = 1 << 12,
+ AGS_RECALL_DONE = 1 << 13,
+ AGS_RECALL_REMOVE = 1 << 14,
+ AGS_RECALL_HIDE = 1 << 15,
+ AGS_RECALL_PROPAGATE_DONE = 1 << 16, // see ags_recall_real_remove
+ AGS_RECALL_PERSISTENT_PLAYBACK = 1 << 17,
+ AGS_RECALL_PERSISTENT_SEQUENCER = 1 << 18,
+ AGS_RECALL_PERSISTENT_NOTATION = 1 << 19,
+ AGS_RECALL_SKIP_DEPENDENCIES = 1 << 20,
+} AgsRecallFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallHandler" role="struct">
+<title>struct AgsRecallHandler</title>
+<indexterm zone="AgsRecallHandler"><primary>AgsRecallHandler</primary></indexterm>
+<programlisting>struct AgsRecallHandler {
+ const gchar *signal_name;
+ GCallback callback;
+ GObject *data;
+ gulong handler;
+};
+</programlisting>
+<para>
+A <link linkend="AgsRecallHandler-struct"><type>AgsRecallHandler</type></link> acts as a callback definition
+</para></refsect2>
+<refsect2 id="AgsRecallNotifyDependencyMode" role="enum">
+<title>enum AgsRecallNotifyDependencyMode</title>
+<indexterm zone="AgsRecallNotifyDependencyMode"><primary>AgsRecallNotifyDependencyMode</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_NOTIFY_RUN,
+ AGS_RECALL_NOTIFY_AUDIO,
+ AGS_RECALL_NOTIFY_AUDIO_RUN,
+ AGS_RECALL_NOTIFY_CHANNEL,
+ AGS_RECALL_NOTIFY_CHANNEL_RUN,
+ AGS_RECALL_NOTIFY_RECALL,
+} AgsRecallNotifyDependencyMode;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-add-child" role="function">
+<title>ags_recall_add_child ()</title>
+<indexterm zone="ags-recall-add-child"><primary>ags_recall_add_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_add_child (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *child</parameter>);</programlisting>
+<para>
+An <link linkend="AgsRecall"><type>AgsRecall</type></link> may have children.
+</para></refsect2>
+<refsect2 id="ags-recall-add-dependency" role="function">
+<title>ags_recall_add_dependency ()</title>
+<indexterm zone="ags-recall-add-dependency"><primary>ags_recall_add_dependency</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_add_dependency (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallDependency"><type>AgsRecallDependency</type></link> *dependency</parameter>);</programlisting>
+<para>
+Associate a new dependency for this recall.
+</para></refsect2>
+<refsect2 id="ags-recall-add-handler" role="function">
+<title>ags_recall_add_handler ()</title>
+<indexterm zone="ags-recall-add-handler"><primary>ags_recall_add_handler</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_add_handler (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallHandler"><type>AgsRecallHandler</type></link> *recall_handler</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-cancel" role="function">
+<title>ags_recall_cancel ()</title>
+<indexterm zone="ags-recall-cancel"><primary>ags_recall_cancel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_cancel (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+The <link linkend="AgsRecall"><type>AgsRecall</type></link> doesn't want to run anymore, it aborts further execution.
+</para></refsect2>
+<refsect2 id="ags-recall-child-added" role="function">
+<title>ags_recall_child_added ()</title>
+<indexterm zone="ags-recall-child-added"><primary>ags_recall_child_added</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_child_added (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-done" role="function">
+<title>ags_recall_done ()</title>
+<indexterm zone="ags-recall-done"><primary>ags_recall_done</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_done (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+The <link linkend="AgsRecall"><type>AgsRecall</type></link> doesn't want to run anymore, it has been done its
+work.
+</para></refsect2>
+<refsect2 id="ags-recall-duplicate" role="function">
+<title>ags_recall_duplicate ()</title>
+<indexterm zone="ags-recall-duplicate"><primary>ags_recall_duplicate</primary></indexterm>
+<programlisting><link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * ags_recall_duplicate (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Should duplicate an <link linkend="AgsRecall"><type>AgsRecall</type></link>, so it can pass the runs. Mainly used for
+creating duplicates from templates, see <link linkend="AGS-RECALL-TEMPLATE:CAPS"><type>AGS_RECALL_TEMPLATE</type></link>.
+</para></refsect2>
+<refsect2 id="ags-recall-find-by-effect" role="function">
+<title>ags_recall_find_by_effect ()</title>
+<indexterm zone="ags-recall-find-by-effect"><primary>ags_recall_find_by_effect</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_find_by_effect (<parameter><link linkend="GList"><type>GList</type></link> *list</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *effect</parameter>);</programlisting>
+<para>
+Finds next matching effect name. Intended to be used as
+iteration function.
+</para></refsect2>
+<refsect2 id="ags-recall-find-provider" role="function">
+<title>ags_recall_find_provider ()</title>
+<indexterm zone="ags-recall-find-provider"><primary>ags_recall_find_provider</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_find_provider (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-find-provider-with-recycling-container" role="function">
+<title>ags_recall_find_provider_with_recycling_container ()</title>
+<indexterm zone="ags-recall-find-provider-with-recycling-container"><primary>ags_recall_find_provider_with_recycling_container</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_find_provider_with_recycling_container
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-find-recycling-container" role="function">
+<title>ags_recall_find_recycling_container ()</title>
+<indexterm zone="ags-recall-find-recycling-container"><primary>ags_recall_find_recycling_container</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_find_recycling_container (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);</programlisting>
+<para>
+Finds next matching recall which has <parameter>recycling_container</parameter>, see <link linkend="AgsRecallId"><type>AgsRecallId</type></link> for further
+details about <link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link>. Intended to be used as iteration function.
+</para></refsect2>
+<refsect2 id="ags-recall-find-template" role="function">
+<title>ags_recall_find_template ()</title>
+<indexterm zone="ags-recall-find-template"><primary>ags_recall_find_template</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_find_template (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>);</programlisting>
+<para>
+Finds next template, see <link linkend="AGS-RECALL-TEMPLATE:CAPS"><type>AGS_RECALL_TEMPLATE</type></link> flag. Intended to be used as
+iteration function.
+</para></refsect2>
+<refsect2 id="ags-recall-find-type" role="function">
+<title>ags_recall_find_type ()</title>
+<indexterm zone="ags-recall-find-type"><primary>ags_recall_find_type</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_find_type (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>);</programlisting>
+<para>
+Like <link linkend="ags-recall-find-provider"><function>ags_recall_find_provider()</function></link> but given additionally <parameter>recycling_container</parameter> as search parameter.
+</para></refsect2>
+<refsect2 id="ags-recall-find-type-with-recycling-container" role="function">
+<title>ags_recall_find_type_with_recycling_container ()</title>
+<indexterm zone="ags-recall-find-type-with-recycling-container"><primary>ags_recall_find_type_with_recycling_container</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_find_type_with_recycling_container
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);</programlisting>
+<para>
+Finds next matching recall for type which has <parameter>recycling_container</parameter>, see <link linkend="AgsRecallId"><type>AgsRecallId</type></link> for further
+details about <link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link>. Intended to be used as iteration function.
+</para></refsect2>
+<refsect2 id="ags-recall-get-children" role="function">
+<title>ags_recall_get_children ()</title>
+<indexterm zone="ags-recall-get-children"><primary>ags_recall_get_children</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_get_children (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+</refsect2>
+<refsect2 id="ags-recall-get-dependencies" role="function">
+<title>ags_recall_get_dependencies ()</title>
+<indexterm zone="ags-recall-get-dependencies"><primary>ags_recall_get_dependencies</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_get_dependencies (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+</refsect2>
+<refsect2 id="ags-recall-handler-alloc" role="function">
+<title>ags_recall_handler_alloc ()</title>
+<indexterm zone="ags-recall-handler-alloc"><primary>ags_recall_handler_alloc</primary></indexterm>
+<programlisting><link linkend="AgsRecallHandler"><returnvalue>AgsRecallHandler</returnvalue></link> * ags_recall_handler_alloc (<parameter>const <link linkend="gchar"><type>gchar</type></link> *signal_name</parameter>,
+ <parameter><link linkend="GCallback"><type>GCallback</type></link> callback</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-is-done" role="function">
+<title>ags_recall_is_done ()</title>
+<indexterm zone="ags-recall-is-done"><primary>ags_recall_is_done</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_recall_is_done (<parameter><link linkend="GList"><type>GList</type></link> *recalls</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *recycling_container</parameter>);</programlisting>
+<para>
+Check if recall is over.
+</para></refsect2>
+<refsect2 id="ags-recall-new" role="function">
+<title>ags_recall_new ()</title>
+<indexterm zone="ags-recall-new"><primary>ags_recall_new</primary></indexterm>
+<programlisting><link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * ags_recall_new ();</programlisting>
+<para>
+Creates an <link linkend="AgsRecall"><type>AgsRecall</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecall"><type>AgsRecall</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-notify-dependency" role="function">
+<title>ags_recall_notify_dependency ()</title>
+<indexterm zone="ags-recall-notify-dependency"><primary>ags_recall_notify_dependency</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_notify_dependency (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> dependency</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> count</parameter>);</programlisting>
+<para>
+Notifies a recall that an other depends on it.
+</para></refsect2>
+<refsect2 id="ags-recall-remove" role="function">
+<title>ags_recall_remove ()</title>
+<indexterm zone="ags-recall-remove"><primary>ags_recall_remove</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_remove (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+The <link linkend="AgsRecall"><type>AgsRecall</type></link> will be removed immediately.
+</para></refsect2>
+<refsect2 id="ags-recall-remove-child" role="function">
+<title>ags_recall_remove_child ()</title>
+<indexterm zone="ags-recall-remove-child"><primary>ags_recall_remove_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_remove_child (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *child</parameter>);</programlisting>
+<para>
+An <link linkend="AgsRecall"><type>AgsRecall</type></link> may have children.
+</para></refsect2>
+<refsect2 id="ags-recall-remove-dependency" role="function">
+<title>ags_recall_remove_dependency ()</title>
+<indexterm zone="ags-recall-remove-dependency"><primary>ags_recall_remove_dependency</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_remove_dependency (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *template</parameter>);</programlisting>
+<para>
+Remove a prior associated dependency.
+</para></refsect2>
+<refsect2 id="ags-recall-remove-handler" role="function">
+<title>ags_recall_remove_handler ()</title>
+<indexterm zone="ags-recall-remove-handler"><primary>ags_recall_remove_handler</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_remove_handler (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallHandler"><type>AgsRecallHandler</type></link> *recall_handler</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-resolve-dependencies" role="function">
+<title>ags_recall_resolve_dependencies ()</title>
+<indexterm zone="ags-recall-resolve-dependencies"><primary>ags_recall_resolve_dependencies</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_resolve_dependencies (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *reall</parameter>);</programlisting>
+<para>
+A signal indicating that the inheriting object should resolve
+it's dependencies.
+</para></refsect2>
+<refsect2 id="ags-recall-run-init" role="function">
+<title>ags_recall_run_init ()</title>
+<indexterm zone="ags-recall-run-init"><primary>ags_recall_run_init</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_run_init (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> stage</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-run-init-inter" role="function">
+<title>ags_recall_run_init_inter ()</title>
+<indexterm zone="ags-recall-run-init-inter"><primary>ags_recall_run_init_inter</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_run_init_inter (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+This is the inter stage within a run.
+</para></refsect2>
+<refsect2 id="ags-recall-run-init-post" role="function">
+<title>ags_recall_run_init_post ()</title>
+<indexterm zone="ags-recall-run-init-post"><primary>ags_recall_run_init_post</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_run_init_post (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+This is the post stage within a run.
+</para></refsect2>
+<refsect2 id="ags-recall-run-init-pre" role="function">
+<title>ags_recall_run_init_pre ()</title>
+<indexterm zone="ags-recall-run-init-pre"><primary>ags_recall_run_init_pre</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_run_init_pre (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+This is the pre stage within a run.
+</para></refsect2>
+<refsect2 id="ags-recall-run-inter" role="function">
+<title>ags_recall_run_inter ()</title>
+<indexterm zone="ags-recall-run-inter"><primary>ags_recall_run_inter</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_run_inter (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-run-post" role="function">
+<title>ags_recall_run_post ()</title>
+<indexterm zone="ags-recall-run-post"><primary>ags_recall_run_post</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_run_post (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-run-pre" role="function">
+<title>ags_recall_run_pre ()</title>
+<indexterm zone="ags-recall-run-pre"><primary>ags_recall_run_pre</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_run_pre (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-set-devout-recursive" role="function">
+<title>ags_recall_set_devout_recursive ()</title>
+<indexterm zone="ags-recall-set-devout-recursive"><primary>ags_recall_set_devout_recursive</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_set_devout_recursive (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-set-effect" role="function">
+<title>ags_recall_set_effect ()</title>
+<indexterm zone="ags-recall-set-effect"><primary>ags_recall_set_effect</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_set_effect (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *effect</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-set-flags" role="function">
+<title>ags_recall_set_flags ()</title>
+<indexterm zone="ags-recall-set-flags"><primary>ags_recall_set_flags</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_set_flags (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> flags</parameter>);</programlisting>
+<para>
+Set flags recursivly.
+</para></refsect2>
+<refsect2 id="ags-recall-set-recall-id" role="function">
+<title>ags_recall_set_recall_id ()</title>
+<indexterm zone="ags-recall-set-recall-id"><primary>ags_recall_set_recall_id</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_set_recall_id (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Sets the recall id recursively.
+</para></refsect2>
+<refsect2 id="ags-recall-stop-persistent" role="function">
+<title>ags_recall_stop_persistent ()</title>
+<indexterm zone="ags-recall-stop-persistent"><primary>ags_recall_stop_persistent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_stop_persistent (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>);</programlisting>
+<para>
+Unsets the <link linkend="AGS-RECALL-PERSISTENT:CAPS"><literal>AGS_RECALL_PERSISTENT</literal></link> flag set and invokes <link linkend="ags-recall-done"><function>ags_recall_done()</function></link>.
+</para></refsect2>
+<refsect2 id="ags-recall-template-find-provider" role="function">
+<title>ags_recall_template_find_provider ()</title>
+<indexterm zone="ags-recall-template-find-provider"><primary>ags_recall_template_find_provider</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_template_find_provider (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-template-find-type" role="function">
+<title>ags_recall_template_find_type ()</title>
+<indexterm zone="ags-recall-template-find-type"><primary>ags_recall_template_find_type</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_template_find_type (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_audio.xml b/doc/reference/ags/xml/ags_recall_audio.xml
new file mode 100644
index 0000000..298e438
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_audio.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallAudio.top_of_page">AgsRecallAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallAudio">AgsRecallAudio</link>;
+struct <link linkend="AgsRecallAudioClass">AgsRecallAudioClass</link>;
+<link linkend="AgsRecallAudio"><returnvalue>AgsRecallAudio</returnvalue></link> * <link linkend="ags-recall-audio-new">ags_recall_audio_new</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallAudio" role="struct">
+<title>struct AgsRecallAudio</title>
+<indexterm zone="AgsRecallAudio"><primary>AgsRecallAudio</primary></indexterm>
+<programlisting>struct AgsRecallAudio {
+ AgsRecall recall;
+
+ AgsAudio *audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallAudioClass" role="struct">
+<title>struct AgsRecallAudioClass</title>
+<indexterm zone="AgsRecallAudioClass"><primary>AgsRecallAudioClass</primary></indexterm>
+<programlisting>struct AgsRecallAudioClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-audio-new" role="function">
+<title>ags_recall_audio_new ()</title>
+<indexterm zone="ags-recall-audio-new"><primary>ags_recall_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallAudio"><returnvalue>AgsRecallAudio</returnvalue></link> * ags_recall_audio_new (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);</programlisting>
+<para>
+Creates an <link linkend="AgsRecallAudio"><type>AgsRecallAudio</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallAudio"><type>AgsRecallAudio</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_audio_run.xml b/doc/reference/ags/xml/ags_recall_audio_run.xml
new file mode 100644
index 0000000..75c98a0
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_audio_run.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallAudioRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallAudioRun.top_of_page">AgsRecallAudioRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallAudioRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallAudioRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallAudioRun">AgsRecallAudioRun</link>;
+struct <link linkend="AgsRecallAudioRunClass">AgsRecallAudioRunClass</link>;
+<link linkend="AgsRecallAudioRun"><returnvalue>AgsRecallAudioRun</returnvalue></link> * <link linkend="ags-recall-audio-run-new">ags_recall_audio_run_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallAudioRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallAudioRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallAudioRun" role="struct">
+<title>struct AgsRecallAudioRun</title>
+<indexterm zone="AgsRecallAudioRun"><primary>AgsRecallAudioRun</primary></indexterm>
+<programlisting>struct AgsRecallAudioRun {
+ AgsRecall recall;
+
+ AgsRecallAudio *recall_audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallAudioRunClass" role="struct">
+<title>struct AgsRecallAudioRunClass</title>
+<indexterm zone="AgsRecallAudioRunClass"><primary>AgsRecallAudioRunClass</primary></indexterm>
+<programlisting>struct AgsRecallAudioRunClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-audio-run-new" role="function">
+<title>ags_recall_audio_run_new ()</title>
+<indexterm zone="ags-recall-audio-run-new"><primary>ags_recall_audio_run_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallAudioRun"><returnvalue>AgsRecallAudioRun</returnvalue></link> * ags_recall_audio_run_new ();</programlisting>
+<para>
+Creates an <link linkend="AgsRecallAudioRun"><type>AgsRecallAudioRun</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallAudioRun"><type>AgsRecallAudioRun</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_audio_signal.xml b/doc/reference/ags/xml/ags_recall_audio_signal.xml
new file mode 100644
index 0000000..67f108f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_audio_signal.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallAudioSignal.top_of_page">AgsRecallAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallAudioSignal">AgsRecallAudioSignal</link>;
+struct <link linkend="AgsRecallAudioSignalClass">AgsRecallAudioSignalClass</link>;
+enum <link linkend="AgsRecallAudioSignalFlags">AgsRecallAudioSignalFlags</link>;
+<link linkend="AgsRecallAudioSignal"><returnvalue>AgsRecallAudioSignal</returnvalue></link> * <link linkend="ags-recall-audio-signal-new">ags_recall_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallAudioSignal" role="struct">
+<title>struct AgsRecallAudioSignal</title>
+<indexterm zone="AgsRecallAudioSignal"><primary>AgsRecallAudioSignal</primary></indexterm>
+<programlisting>struct AgsRecallAudioSignal {
+ AgsRecall recall;
+
+ guint flags;
+
+ guint audio_channel;
+
+ AgsAudioSignal *destination;
+
+ AgsAudioSignal *source;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallAudioSignalClass" role="struct">
+<title>struct AgsRecallAudioSignalClass</title>
+<indexterm zone="AgsRecallAudioSignalClass"><primary>AgsRecallAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsRecallAudioSignalClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallAudioSignalFlags" role="enum">
+<title>enum AgsRecallAudioSignalFlags</title>
+<indexterm zone="AgsRecallAudioSignalFlags"><primary>AgsRecallAudioSignalFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_AUDIO_SIGNAL_INITIAL_RUN = 1,
+} AgsRecallAudioSignalFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-audio-signal-new" role="function">
+<title>ags_recall_audio_signal_new ()</title>
+<indexterm zone="ags-recall-audio-signal-new"><primary>ags_recall_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallAudioSignal"><returnvalue>AgsRecallAudioSignal</returnvalue></link> * ags_recall_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *destination</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *source</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+Creates an <link linkend="AgsRecallAudioSignal"><type>AgsRecallAudioSignal</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallAudioSignal"><type>AgsRecallAudioSignal</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_channel.xml b/doc/reference/ags/xml/ags_recall_channel.xml
new file mode 100644
index 0000000..21595d1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_channel.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallChannel.top_of_page">AgsRecallChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallChannel">AgsRecallChannel</link>;
+struct <link linkend="AgsRecallChannelClass">AgsRecallChannelClass</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-channel-find-channel">ags_recall_channel_find_channel</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall_channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+<link linkend="AgsRecallChannel"><returnvalue>AgsRecallChannel</returnvalue></link> * <link linkend="ags-recall-channel-new">ags_recall_channel_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallChannel" role="struct">
+<title>struct AgsRecallChannel</title>
+<indexterm zone="AgsRecallChannel"><primary>AgsRecallChannel</primary></indexterm>
+<programlisting>struct AgsRecallChannel {
+ AgsRecall recall;
+
+ AgsChannel *destination;
+ AgsChannel *source;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallChannelClass" role="struct">
+<title>struct AgsRecallChannelClass</title>
+<indexterm zone="AgsRecallChannelClass"><primary>AgsRecallChannelClass</primary></indexterm>
+<programlisting>struct AgsRecallChannelClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-channel-find-channel" role="function">
+<title>ags_recall_channel_find_channel ()</title>
+<indexterm zone="ags-recall-channel-find-channel"><primary>ags_recall_channel_find_channel</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_channel_find_channel (<parameter><link linkend="GList"><type>GList</type></link> *recall_channel</parameter>,
+ <parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+Retrieve next recall assigned to channel.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Next match.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-channel-new" role="function">
+<title>ags_recall_channel_new ()</title>
+<indexterm zone="ags-recall-channel-new"><primary>ags_recall_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallChannel"><returnvalue>AgsRecallChannel</returnvalue></link> * ags_recall_channel_new ();</programlisting>
+<para>
+Creates an <link linkend="AgsRecallChannel"><type>AgsRecallChannel</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallChannel"><type>AgsRecallChannel</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_channel_run.xml b/doc/reference/ags/xml/ags_recall_channel_run.xml
new file mode 100644
index 0000000..0f2d764
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_channel_run.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallChannelRun.top_of_page">AgsRecallChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallChannelRun">AgsRecallChannelRun</link>;
+struct <link linkend="AgsRecallChannelRunClass">AgsRecallChannelRunClass</link>;
+<link linkend="guint"><returnvalue>guint</returnvalue></link> <link linkend="ags-recall-channel-run-get-run-order">ags_recall_channel_run_get_run_order</link>
+ (<parameter><link linkend="AgsRecallChannelRun"><type>AgsRecallChannelRun</type></link> *recall_channel_run</parameter>);
+<link linkend="AgsRecallChannelRun"><returnvalue>AgsRecallChannelRun</returnvalue></link> * <link linkend="ags-recall-channel-run-new">ags_recall_channel_run_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-channel-run-run-order-changed">ags_recall_channel_run_run_order_changed</link>
+ (<parameter><link linkend="AgsRecallChannelRun"><type>AgsRecallChannelRun</type></link> *recall_channel_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallChannelRun" role="struct">
+<title>struct AgsRecallChannelRun</title>
+<indexterm zone="AgsRecallChannelRun"><primary>AgsRecallChannelRun</primary></indexterm>
+<programlisting>struct AgsRecallChannelRun {
+ AgsRecall recall;
+
+ guint audio_channel;
+
+ AgsRecallChannel *recall_channel;
+ AgsRecallAudioRun *recall_audio_run;
+
+ AgsChannel *destination;
+ gulong destination_recycling_changed_handler;
+ gulong changed_output_handler;
+
+ AgsChannel *source;
+ gulong source_recycling_changed_handler;
+
+ guint run_order;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallChannelRunClass" role="struct">
+<title>struct AgsRecallChannelRunClass</title>
+<indexterm zone="AgsRecallChannelRunClass"><primary>AgsRecallChannelRunClass</primary></indexterm>
+<programlisting>struct AgsRecallChannelRunClass {
+ AgsRecallClass recall;
+
+ void (*run_order_changed)(AgsRecallChannelRun *recall_channel_run, guint nth_run);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-channel-run-get-run-order" role="function">
+<title>ags_recall_channel_run_get_run_order ()</title>
+<indexterm zone="ags-recall-channel-run-get-run-order"><primary>ags_recall_channel_run_get_run_order</primary></indexterm>
+<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link> ags_recall_channel_run_get_run_order
+ (<parameter><link linkend="AgsRecallChannelRun"><type>AgsRecallChannelRun</type></link> *recall_channel_run</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-channel-run-new" role="function">
+<title>ags_recall_channel_run_new ()</title>
+<indexterm zone="ags-recall-channel-run-new"><primary>ags_recall_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallChannelRun"><returnvalue>AgsRecallChannelRun</returnvalue></link> * ags_recall_channel_run_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-channel-run-run-order-changed" role="function">
+<title>ags_recall_channel_run_run_order_changed ()</title>
+<indexterm zone="ags-recall-channel-run-run-order-changed"><primary>ags_recall_channel_run_run_order_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_channel_run_run_order_changed
+ (<parameter><link linkend="AgsRecallChannelRun"><type>AgsRecallChannelRun</type></link> *recall_channel_run</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> run_order</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_channel_run_dummy.xml b/doc/reference/ags/xml/ags_recall_channel_run_dummy.xml
new file mode 100644
index 0000000..93e2aa2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_channel_run_dummy.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallChannelRunDummy">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallChannelRunDummy.top_of_page">AgsRecallChannelRunDummy</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallChannelRunDummy</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallChannelRunDummy.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallChannelRunDummy">AgsRecallChannelRunDummy</link>;
+struct <link linkend="AgsRecallChannelRunDummyClass">AgsRecallChannelRunDummyClass</link>;
+<link linkend="AgsRecallChannelRunDummy"><returnvalue>AgsRecallChannelRunDummy</returnvalue></link> * <link linkend="ags-recall-channel-run-dummy-new">ags_recall_channel_run_dummy_new</link>
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> child_type</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> recycling_dummy_child_type</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallChannelRunDummy.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallChannelRunDummy.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallChannelRunDummy" role="struct">
+<title>struct AgsRecallChannelRunDummy</title>
+<indexterm zone="AgsRecallChannelRunDummy"><primary>AgsRecallChannelRunDummy</primary></indexterm>
+<programlisting>struct AgsRecallChannelRunDummy {
+ AgsRecallChannelRun recall_channel_run;
+
+ GType recycling_dummy_child_type;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallChannelRunDummyClass" role="struct">
+<title>struct AgsRecallChannelRunDummyClass</title>
+<indexterm zone="AgsRecallChannelRunDummyClass"><primary>AgsRecallChannelRunDummyClass</primary></indexterm>
+<programlisting>struct AgsRecallChannelRunDummyClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-channel-run-dummy-new" role="function">
+<title>ags_recall_channel_run_dummy_new ()</title>
+<indexterm zone="ags-recall-channel-run-dummy-new"><primary>ags_recall_channel_run_dummy_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallChannelRunDummy"><returnvalue>AgsRecallChannelRunDummy</returnvalue></link> * ags_recall_channel_run_dummy_new
+ (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> child_type</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> recycling_dummy_child_type</parameter>);</programlisting>
+<para>
+Creates an <link linkend="AgsRecallChannelRunDummy"><type>AgsRecallChannelRunDummy</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallChannelRunDummy"><type>AgsRecallChannelRunDummy</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_container.xml b/doc/reference/ags/xml/ags_recall_container.xml
new file mode 100644
index 0000000..99736b2
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_container.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallContainer">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallContainer.top_of_page">AgsRecallContainer</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallContainer</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallContainer.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallContainer">AgsRecallContainer</link>;
+struct <link linkend="AgsRecallContainerClass">AgsRecallContainerClass</link>;
+enum <link linkend="AgsRecallContainerFindFlags">AgsRecallContainerFindFlags</link>;
+enum <link linkend="AgsRecallContainerFlags">AgsRecallContainerFlags</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-container-find">ags_recall_container_find</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall_container</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> find_flags</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * <link linkend="ags-recall-container-get-recall-audio">ags_recall_container_get_recall_audio</link>
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-container-get-recall-audio-run">ags_recall_container_get_recall_audio_run</link>
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-container-get-recall-channel">ags_recall_container_get_recall_channel</link>
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-container-get-recall-channel-run">ags_recall_container_get_recall_channel_run</link>
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);
+<link linkend="AgsRecallContainer"><returnvalue>AgsRecallContainer</returnvalue></link> * <link linkend="ags-recall-container-new">ags_recall_container_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallContainer.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallContainer.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallContainer" role="struct">
+<title>struct AgsRecallContainer</title>
+<indexterm zone="AgsRecallContainer"><primary>AgsRecallContainer</primary></indexterm>
+<programlisting>struct AgsRecallContainer {
+ GObject object;
+
+ guint flags;
+
+ GType recall_audio_type;
+ AgsRecall *recall_audio;
+
+ GType recall_audio_run_type;
+ GList *recall_audio_run;
+
+ GType recall_channel_type;
+ GList *recall_channel;
+
+ GType recall_channel_run_type;
+ GList *recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallContainerClass" role="struct">
+<title>struct AgsRecallContainerClass</title>
+<indexterm zone="AgsRecallContainerClass"><primary>AgsRecallContainerClass</primary></indexterm>
+<programlisting>struct AgsRecallContainerClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallContainerFindFlags" role="enum">
+<title>enum AgsRecallContainerFindFlags</title>
+<indexterm zone="AgsRecallContainerFindFlags"><primary>AgsRecallContainerFindFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_CONTAINER_FIND_TYPE,
+ AGS_RECALL_CONTAINER_FIND_TEMPLATE,
+ AGS_RECALL_CONTAINER_FIND_RECALL_ID,
+} AgsRecallContainerFindFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallContainerFlags" role="enum">
+<title>enum AgsRecallContainerFlags</title>
+<indexterm zone="AgsRecallContainerFlags"><primary>AgsRecallContainerFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_CONTAINER_PLAY = 1,
+} AgsRecallContainerFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-container-find" role="function">
+<title>ags_recall_container_find ()</title>
+<indexterm zone="ags-recall-container-find"><primary>ags_recall_container_find</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_container_find (<parameter><link linkend="GList"><type>GList</type></link> *recall_container</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> find_flags</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Finds <link linkend="AgsRecall"><type>AgsRecall</type></link> for appropriate search criteria.
+</para></refsect2>
+<refsect2 id="ags-recall-container-get-recall-audio" role="function">
+<title>ags_recall_container_get_recall_audio ()</title>
+<indexterm zone="ags-recall-container-get-recall-audio"><primary>ags_recall_container_get_recall_audio</primary></indexterm>
+<programlisting><link linkend="AgsRecall"><returnvalue>AgsRecall</returnvalue></link> * ags_recall_container_get_recall_audio
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);</programlisting>
+<para>
+Retrieve recall audio of container.
+</para></refsect2>
+<refsect2 id="ags-recall-container-get-recall-audio-run" role="function">
+<title>ags_recall_container_get_recall_audio_run ()</title>
+<indexterm zone="ags-recall-container-get-recall-audio-run"><primary>ags_recall_container_get_recall_audio_run</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_container_get_recall_audio_run
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);</programlisting>
+<para>
+Retrieve recall audio run of container.
+</para></refsect2>
+<refsect2 id="ags-recall-container-get-recall-channel" role="function">
+<title>ags_recall_container_get_recall_channel ()</title>
+<indexterm zone="ags-recall-container-get-recall-channel"><primary>ags_recall_container_get_recall_channel</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_container_get_recall_channel
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);</programlisting>
+<para>
+Retrieve the recall channel of container.
+</para></refsect2>
+<refsect2 id="ags-recall-container-get-recall-channel-run" role="function">
+<title>ags_recall_container_get_recall_channel_run ()</title>
+<indexterm zone="ags-recall-container-get-recall-channel-run"><primary>ags_recall_container_get_recall_channel_run</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_container_get_recall_channel_run
+ (<parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *container</parameter>);</programlisting>
+<para>
+Retrieve the recall channel run of container.
+</para></refsect2>
+<refsect2 id="ags-recall-container-new" role="function">
+<title>ags_recall_container_new ()</title>
+<indexterm zone="ags-recall-container-new"><primary>ags_recall_container_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallContainer"><returnvalue>AgsRecallContainer</returnvalue></link> * ags_recall_container_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_dependency.xml b/doc/reference/ags/xml/ags_recall_dependency.xml
new file mode 100644
index 0000000..06e631e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_dependency.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallDependency">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallDependency.top_of_page">AgsRecallDependency</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallDependency</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallDependency.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallDependency">AgsRecallDependency</link>;
+struct <link linkend="AgsRecallDependencyClass">AgsRecallDependencyClass</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-dependency-find-dependency">ags_recall_dependency_find_dependency</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_dependencies</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *dependency</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-dependency-find-dependency-by-provider">ags_recall_dependency_find_dependency_by_provider</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_dependencies</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>);
+<link linkend="AgsRecallDependency"><returnvalue>AgsRecallDependency</returnvalue></link> * <link linkend="ags-recall-dependency-new">ags_recall_dependency_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *dependency</parameter>);
+<link linkend="GObject"><returnvalue>GObject</returnvalue></link> * <link linkend="ags-recall-dependency-resolve">ags_recall_dependency_resolve</link> (<parameter><link linkend="AgsRecallDependency"><type>AgsRecallDependency</type></link> *recall_dependency</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallDependency.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallDependency.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallDependency" role="struct">
+<title>struct AgsRecallDependency</title>
+<indexterm zone="AgsRecallDependency"><primary>AgsRecallDependency</primary></indexterm>
+<programlisting>struct AgsRecallDependency {
+ GObject object;
+
+ GObject *dependency;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallDependencyClass" role="struct">
+<title>struct AgsRecallDependencyClass</title>
+<indexterm zone="AgsRecallDependencyClass"><primary>AgsRecallDependencyClass</primary></indexterm>
+<programlisting>struct AgsRecallDependencyClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-dependency-find-dependency" role="function">
+<title>ags_recall_dependency_find_dependency ()</title>
+<indexterm zone="ags-recall-dependency-find-dependency"><primary>ags_recall_dependency_find_dependency</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_dependency_find_dependency
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_dependencies</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *dependency</parameter>);</programlisting>
+<para>
+Retrieve dependency.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Next match.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-dependency-find-dependency-by-provider" role="function">
+<title>ags_recall_dependency_find_dependency_by_provider ()</title>
+<indexterm zone="ags-recall-dependency-find-dependency-by-provider"><primary>ags_recall_dependency_find_dependency_by_provider</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_dependency_find_dependency_by_provider
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_dependencies</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *provider</parameter>);</programlisting>
+<para>
+Retrieve dependency by provider.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Next match.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-dependency-new" role="function">
+<title>ags_recall_dependency_new ()</title>
+<indexterm zone="ags-recall-dependency-new"><primary>ags_recall_dependency_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallDependency"><returnvalue>AgsRecallDependency</returnvalue></link> * ags_recall_dependency_new (<parameter><link linkend="GObject"><type>GObject</type></link> *dependency</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsRecallDependency"><type>AgsRecallDependency</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallDependency"><type>AgsRecallDependency</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-dependency-resolve" role="function">
+<title>ags_recall_dependency_resolve ()</title>
+<indexterm zone="ags-recall-dependency-resolve"><primary>ags_recall_dependency_resolve</primary></indexterm>
+<programlisting><link linkend="GObject"><returnvalue>GObject</returnvalue></link> * ags_recall_dependency_resolve (<parameter><link linkend="AgsRecallDependency"><type>AgsRecallDependency</type></link> *recall_dependency</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Resolve dependency.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the <link linkend="AgsRecall"><type>AgsRecall</type></link> dependency.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_factory.xml b/doc/reference/ags/xml/ags_recall_factory.xml
new file mode 100644
index 0000000..6100ee1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_factory.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallFactory">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallFactory.top_of_page">AgsRecallFactory</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallFactory</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallFactory.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallFactory">AgsRecallFactory</link>;
+struct <link linkend="AgsRecallFactoryClass">AgsRecallFactoryClass</link>;
+enum <link linkend="AgsRecallFactoryCreateFlags">AgsRecallFactoryCreateFlags</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-factory-create">ags_recall_factory_create</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *play_container</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *recall_container</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_audio_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> stop_audio_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_pad</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> stop_pad</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> create_flags</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> recall_flags</parameter>);
+<link linkend="AgsRecallFactory"><returnvalue>AgsRecallFactory</returnvalue></link> * <link linkend="ags-recall-factory-get-instance">ags_recall_factory_get_instance</link> ();
+<link linkend="AgsRecallFactory"><returnvalue>AgsRecallFactory</returnvalue></link> * <link linkend="ags-recall-factory-new">ags_recall_factory_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-factory-remove">ags_recall_factory_remove</link> (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *recall_container</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallFactory.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallFactory.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallFactory" role="struct">
+<title>struct AgsRecallFactory</title>
+<indexterm zone="AgsRecallFactory"><primary>AgsRecallFactory</primary></indexterm>
+<programlisting>struct AgsRecallFactory {
+ GObject object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallFactoryClass" role="struct">
+<title>struct AgsRecallFactoryClass</title>
+<indexterm zone="AgsRecallFactoryClass"><primary>AgsRecallFactoryClass</primary></indexterm>
+<programlisting>struct AgsRecallFactoryClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallFactoryCreateFlags" role="enum">
+<title>enum AgsRecallFactoryCreateFlags</title>
+<indexterm zone="AgsRecallFactoryCreateFlags"><primary>AgsRecallFactoryCreateFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_FACTORY_OUTPUT = 1,
+ AGS_RECALL_FACTORY_INPUT = 1 << 1,
+ AGS_RECALL_FACTORY_REMAP = 1 << 2,
+ AGS_RECALL_FACTORY_ADD = 1 << 3,
+ AGS_RECALL_FACTORY_PLAY = 1 << 4,
+ AGS_RECALL_FACTORY_RECALL = 1 << 5,
+} AgsRecallFactoryCreateFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-factory-create" role="function">
+<title>ags_recall_factory_create ()</title>
+<indexterm zone="ags-recall-factory-create"><primary>ags_recall_factory_create</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_factory_create (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *play_container</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *recall_container</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *plugin_name</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_audio_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> stop_audio_channel</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> start_pad</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> stop_pad</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> create_flags</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> recall_flags</parameter>);</programlisting>
+<para>
+Instantiate <link linkend="AgsRecall"><type>AgsRecall</type></link> by this factory.
+</para></refsect2>
+<refsect2 id="ags-recall-factory-get-instance" role="function">
+<title>ags_recall_factory_get_instance ()</title>
+<indexterm zone="ags-recall-factory-get-instance"><primary>ags_recall_factory_get_instance</primary></indexterm>
+<programlisting><link linkend="AgsRecallFactory"><returnvalue>AgsRecallFactory</returnvalue></link> * ags_recall_factory_get_instance ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-factory-new" role="function">
+<title>ags_recall_factory_new ()</title>
+<indexterm zone="ags-recall-factory-new"><primary>ags_recall_factory_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallFactory"><returnvalue>AgsRecallFactory</returnvalue></link> * ags_recall_factory_new ();</programlisting>
+<para>
+Creates a <link linkend="AgsRecallFactory"><type>AgsRecallFactory</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallFactory"><type>AgsRecallFactory</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-factory-remove" role="function">
+<title>ags_recall_factory_remove ()</title>
+<indexterm zone="ags-recall-factory-remove"><primary>ags_recall_factory_remove</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_factory_remove (<parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallContainer"><type>AgsRecallContainer</type></link> *recall_container</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_id.xml b/doc/reference/ags/xml/ags_recall_id.xml
new file mode 100644
index 0000000..7adb01a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_id.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallID">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallID.top_of_page">AgsRecallID</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallID</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallID.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallID">AgsRecallID</link>;
+struct <link linkend="AgsRecallIDClass">AgsRecallIDClass</link>;
+enum <link linkend="AgsRecallIDFlags">AgsRecallIDFlags</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-id-add">ags_recall_id_add</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall_id_list</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);
+<link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * <link linkend="ags-recall-id-find-parent-recycling-container">ags_recall_id_find_parent_recycling_container</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_id_list</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *parent_recycling_container</parameter>);
+<link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * <link linkend="ags-recall-id-find-recycling-container">ags_recall_id_find_recycling_container</link>
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_id_list</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-recall-id-get-run-stage">ags_recall_id_get_run_stage</link> (<parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+<link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * <link linkend="ags-recall-id-new">ags_recall_id_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-id-set-run-stage">ags_recall_id_set_run_stage</link> (<parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-id-unset-run-stage">ags_recall_id_unset_run_stage</link> (<parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallID.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallID.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallID" role="struct">
+<title>struct AgsRecallID</title>
+<indexterm zone="AgsRecallID"><primary>AgsRecallID</primary></indexterm>
+<programlisting>struct AgsRecallID {
+ GObject object;
+
+ guint flags;
+
+ GObject *recycling;
+ AgsRecyclingContainer *recycling_container;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallIDClass" role="struct">
+<title>struct AgsRecallIDClass</title>
+<indexterm zone="AgsRecallIDClass"><primary>AgsRecallIDClass</primary></indexterm>
+<programlisting>struct AgsRecallIDClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallIDFlags" role="enum">
+<title>enum AgsRecallIDFlags</title>
+<indexterm zone="AgsRecallIDFlags"><primary>AgsRecallIDFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_ID_PLAYBACK = 1,
+ AGS_RECALL_ID_SEQUENCER = 1 << 1,
+ AGS_RECALL_ID_NOTATION = 1 << 2,
+ AGS_RECALL_ID_DUPLICATE = 1 << 3,
+ AGS_RECALL_ID_RESOLVE = 1 << 4,
+ AGS_RECALL_ID_INIT_PRE = 1 << 5,
+ AGS_RECALL_ID_INIT_INTER = 1 << 6,
+ AGS_RECALL_ID_INIT_POST = 1 << 7,
+ AGS_RECALL_ID_PRE = 1 << 8,
+ AGS_RECALL_ID_INTER = 1 << 9,
+ AGS_RECALL_ID_POST = 1 << 10,
+ AGS_RECALL_ID_CANCEL = 1 << 11,
+} AgsRecallIDFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-id-add" role="function">
+<title>ags_recall_id_add ()</title>
+<indexterm zone="ags-recall-id-add"><primary>ags_recall_id_add</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_id_add (<parameter><link linkend="GList"><type>GList</type></link> *recall_id_list</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>);</programlisting>
+<para>
+Adds an <link linkend="AgsRecallID"><type>AgsRecallID</type></link> with given properties to the passed <link linkend="GList"><type>GList</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the newly allocated <link linkend="GList"><type>GList</type></link> which is the new start of the <link linkend="GList"><type>GList</type></link>, too.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-id-find-parent-recycling-container" role="function">
+<title>ags_recall_id_find_parent_recycling_container ()</title>
+<indexterm zone="ags-recall-id-find-parent-recycling-container"><primary>ags_recall_id_find_parent_recycling_container</primary></indexterm>
+<programlisting><link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * ags_recall_id_find_parent_recycling_container
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_id_list</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *parent_recycling_container</parameter>);</programlisting>
+<para>
+Retrieve recall id by recycling container.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Matching recall id.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-id-find-recycling-container" role="function">
+<title>ags_recall_id_find_recycling_container ()</title>
+<indexterm zone="ags-recall-id-find-recycling-container"><primary>ags_recall_id_find_recycling_container</primary></indexterm>
+<programlisting><link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * ags_recall_id_find_recycling_container
+ (<parameter><link linkend="GList"><type>GList</type></link> *recall_id_list</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>);</programlisting>
+<para>
+Retrieve recall id by recycling container.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Matching recall id.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-id-get-run-stage" role="function">
+<title>ags_recall_id_get_run_stage ()</title>
+<indexterm zone="ags-recall-id-get-run-stage"><primary>ags_recall_id_get_run_stage</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_recall_id_get_run_stage (<parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+Check if a run stage already has been passed for current run. This
+function is intended to handle AGS_AUDIO_ASYNC correctly.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the stage isn't run yet otherwise <link linkend="FALSE:CAPS"><literal>FALSE</literal></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-id-new" role="function">
+<title>ags_recall_id_new ()</title>
+<indexterm zone="ags-recall-id-new"><primary>ags_recall_id_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallID"><returnvalue>AgsRecallID</returnvalue></link> * ags_recall_id_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsRecallLadspa"><type>AgsRecallLadspa</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallLadspa"><type>AgsRecallLadspa</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-id-set-run-stage" role="function">
+<title>ags_recall_id_set_run_stage ()</title>
+<indexterm zone="ags-recall-id-set-run-stage"><primary>ags_recall_id_set_run_stage</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_id_set_run_stage (<parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+Marks the run stage to be passed for audio channel.
+</para></refsect2>
+<refsect2 id="ags-recall-id-unset-run-stage" role="function">
+<title>ags_recall_id_unset_run_stage ()</title>
+<indexterm zone="ags-recall-id-unset-run-stage"><primary>ags_recall_id_unset_run_stage</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_id_unset_run_stage (<parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+Unmarks the run stage to be passed for audio channel.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_ladspa.xml b/doc/reference/ags/xml/ags_recall_ladspa.xml
new file mode 100644
index 0000000..609c5c6
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_ladspa.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallLadspa">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallLadspa.top_of_page">AgsRecallLadspa</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallLadspa</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallLadspa.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallLadspa">AgsRecallLadspa</link>;
+struct <link linkend="AgsRecallLadspaClass">AgsRecallLadspaClass</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-ladpsa-find">ags_recall_ladpsa_find</link> (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *effect</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-ladspa-float-to-short">ags_recall_ladspa_float_to_short</link> (<parameter><link linkend="float"><type>float</type></link> *buffer</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *destination</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-ladspa-load-ports">ags_recall_ladspa_load_ports</link> (<parameter><link linkend="AgsRecallLadspa"><type>AgsRecallLadspa</type></link> *recall_ladspa</parameter>);
+<link linkend="AgsRecallLadspa"><returnvalue>AgsRecallLadspa</returnvalue></link> * <link linkend="ags-recall-ladspa-new">ags_recall_ladspa_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *effect</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recall-ladspa-short-to-float">ags_recall_ladspa_short_to_float</link> (<parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="float"><type>float</type></link> *destination</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallLadspa.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallLadspa.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallLadspa" role="struct">
+<title>struct AgsRecallLadspa</title>
+<indexterm zone="AgsRecallLadspa"><primary>AgsRecallLadspa</primary></indexterm>
+<programlisting>struct AgsRecallLadspa {
+ AgsRecallChannel recall_channel;
+
+ gchar *filename;
+ gchar *effect;
+ guint index;
+
+ LADSPA_Descriptor *plugin_descriptor;
+ guint input_port;
+ guint output_port;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallLadspaClass" role="struct">
+<title>struct AgsRecallLadspaClass</title>
+<indexterm zone="AgsRecallLadspaClass"><primary>AgsRecallLadspaClass</primary></indexterm>
+<programlisting>struct AgsRecallLadspaClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-ladpsa-find" role="function">
+<title>ags_recall_ladpsa_find ()</title>
+<indexterm zone="ags-recall-ladpsa-find"><primary>ags_recall_ladpsa_find</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_ladpsa_find (<parameter><link linkend="GList"><type>GList</type></link> *recall</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *effect</parameter>);</programlisting>
+<para>
+Retrieve LADSPA recall.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Next match.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-ladspa-float-to-short" role="function">
+<title>ags_recall_ladspa_float_to_short ()</title>
+<indexterm zone="ags-recall-ladspa-float-to-short"><primary>ags_recall_ladspa_float_to_short</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_ladspa_float_to_short (<parameter><link linkend="float"><type>float</type></link> *buffer</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *destination</parameter>);</programlisting>
+<para>
+Convert data type.
+</para></refsect2>
+<refsect2 id="ags-recall-ladspa-load-ports" role="function">
+<title>ags_recall_ladspa_load_ports ()</title>
+<indexterm zone="ags-recall-ladspa-load-ports"><primary>ags_recall_ladspa_load_ports</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_ladspa_load_ports (<parameter><link linkend="AgsRecallLadspa"><type>AgsRecallLadspa</type></link> *recall_ladspa</parameter>);</programlisting>
+<para>
+Set up LADSPA ports.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a <link linkend="GList"><type>GList</type></link> containing <link linkend="AgsPort"><type>AgsPort</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recall-ladspa-new" role="function">
+<title>ags_recall_ladspa_new ()</title>
+<indexterm zone="ags-recall-ladspa-new"><primary>ags_recall_ladspa_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallLadspa"><returnvalue>AgsRecallLadspa</returnvalue></link> * ags_recall_ladspa_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *source</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *effect</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-ladspa-short-to-float" role="function">
+<title>ags_recall_ladspa_short_to_float ()</title>
+<indexterm zone="ags-recall-ladspa-short-to-float"><primary>ags_recall_ladspa_short_to_float</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recall_ladspa_short_to_float (<parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="float"><type>float</type></link> *destination</parameter>);</programlisting>
+<para>
+Convert data type.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_ladspa_run.xml b/doc/reference/ags/xml/ags_recall_ladspa_run.xml
new file mode 100644
index 0000000..6fc7791
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_ladspa_run.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallLadspaRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallLadspaRun.top_of_page">AgsRecallLadspaRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallLadspaRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallLadspaRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallLadspaRun">AgsRecallLadspaRun</link>;
+struct <link linkend="AgsRecallLadspaRunClass">AgsRecallLadspaRunClass</link>;
+<link linkend="AgsRecallLadspaRun"><returnvalue>AgsRecallLadspaRun</returnvalue></link> * <link linkend="ags-recall-ladspa-run-new">ags_recall_ladspa_run_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallLadspaRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallLadspaRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallLadspaRun" role="struct">
+<title>struct AgsRecallLadspaRun</title>
+<indexterm zone="AgsRecallLadspaRun"><primary>AgsRecallLadspaRun</primary></indexterm>
+<programlisting>struct AgsRecallLadspaRun {
+ AgsRecallAudioSignal recall_audio_signal;
+
+ LADSPA_Data *input;
+ LADSPA_Data *output;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallLadspaRunClass" role="struct">
+<title>struct AgsRecallLadspaRunClass</title>
+<indexterm zone="AgsRecallLadspaRunClass"><primary>AgsRecallLadspaRunClass</primary></indexterm>
+<programlisting>struct AgsRecallLadspaRunClass {
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-ladspa-run-new" role="function">
+<title>ags_recall_ladspa_run_new ()</title>
+<indexterm zone="ags-recall-ladspa-run-new"><primary>ags_recall_ladspa_run_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallLadspaRun"><returnvalue>AgsRecallLadspaRun</returnvalue></link> * ags_recall_ladspa_run_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsRecallLadspaRun"><type>AgsRecallLadspaRun</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallLadspaRun"><type>AgsRecallLadspaRun</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_recycling.xml b/doc/reference/ags/xml/ags_recall_recycling.xml
new file mode 100644
index 0000000..5180b6f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_recycling.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallRecycling.top_of_page">AgsRecallRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallRecycling">AgsRecallRecycling</link>;
+struct <link linkend="AgsRecallRecyclingClass">AgsRecallRecyclingClass</link>;
+enum <link linkend="AgsRecallRecyclingFlags">AgsRecallRecyclingFlags</link>;
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recall-recycling-get-child-source">ags_recall_recycling_get_child_source</link>
+ (<parameter><link linkend="AgsRecallRecycling"><type>AgsRecallRecycling</type></link> *recall_recycling</parameter>);
+<link linkend="AgsRecallRecycling"><returnvalue>AgsRecallRecycling</returnvalue></link> * <link linkend="ags-recall-recycling-new">ags_recall_recycling_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallRecycling" role="struct">
+<title>struct AgsRecallRecycling</title>
+<indexterm zone="AgsRecallRecycling"><primary>AgsRecallRecycling</primary></indexterm>
+<programlisting>struct AgsRecallRecycling {
+ AgsRecall recall;
+
+ guint flags;
+
+ guint audio_channel;
+
+ AgsRecycling *destination;
+ gulong destination_add_audio_signal_handler;
+ gulong destination_remove_audio_signal_handler;
+
+ AgsRecycling *source;
+ gulong source_add_audio_signal_handler;
+ gulong source_remove_audio_signal_handler;
+
+ AgsAudioSignal *child_destination;
+ GList *child_source;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallRecyclingClass" role="struct">
+<title>struct AgsRecallRecyclingClass</title>
+<indexterm zone="AgsRecallRecyclingClass"><primary>AgsRecallRecyclingClass</primary></indexterm>
+<programlisting>struct AgsRecallRecyclingClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallRecyclingFlags" role="enum">
+<title>enum AgsRecallRecyclingFlags</title>
+<indexterm zone="AgsRecallRecyclingFlags"><primary>AgsRecallRecyclingFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECALL_RECYCLING_GARBAGE_COLLECTOR = 1,
+ AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION = 1 << 1,
+ AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE = 1 << 2,
+ AGS_RECALL_RECYCLING_CREATE_DESTINATION_ON_MAP_SOURCE = 1 << 3,
+} AgsRecallRecyclingFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-recycling-get-child-source" role="function">
+<title>ags_recall_recycling_get_child_source ()</title>
+<indexterm zone="ags-recall-recycling-get-child-source"><primary>ags_recall_recycling_get_child_source</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recall_recycling_get_child_source
+ (<parameter><link linkend="AgsRecallRecycling"><type>AgsRecallRecycling</type></link> *recall_recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-recycling-new" role="function">
+<title>ags_recall_recycling_new ()</title>
+<indexterm zone="ags-recall-recycling-new"><primary>ags_recall_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallRecycling"><returnvalue>AgsRecallRecycling</returnvalue></link> * ags_recall_recycling_new ();</programlisting>
+<para>
+Creates a <link linkend="AgsRecallRecycling"><type>AgsRecallRecycling</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallRecycling"><type>AgsRecallRecycling</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recall_recycling_dummy.xml b/doc/reference/ags/xml/ags_recall_recycling_dummy.xml
new file mode 100644
index 0000000..f863ceb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recall_recycling_dummy.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecallRecyclingDummy">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecallRecyclingDummy.top_of_page">AgsRecallRecyclingDummy</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecallRecyclingDummy</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecallRecyclingDummy.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecallRecyclingDummy">AgsRecallRecyclingDummy</link>;
+struct <link linkend="AgsRecallRecyclingDummyClass">AgsRecallRecyclingDummyClass</link>;
+<link linkend="AgsRecallRecyclingDummy"><returnvalue>AgsRecallRecyclingDummy</returnvalue></link> * <link linkend="ags-recall-recycling-dummy-new">ags_recall_recycling_dummy_new</link>
+ (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> child_type</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecallRecyclingDummy.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecallRecyclingDummy.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecallRecyclingDummy" role="struct">
+<title>struct AgsRecallRecyclingDummy</title>
+<indexterm zone="AgsRecallRecyclingDummy"><primary>AgsRecallRecyclingDummy</primary></indexterm>
+<programlisting>struct AgsRecallRecyclingDummy {
+ AgsRecallRecycling recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecallRecyclingDummyClass" role="struct">
+<title>struct AgsRecallRecyclingDummyClass</title>
+<indexterm zone="AgsRecallRecyclingDummyClass"><primary>AgsRecallRecyclingDummyClass</primary></indexterm>
+<programlisting>struct AgsRecallRecyclingDummyClass {
+ AgsRecallRecyclingClass recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recall-recycling-dummy-new" role="function">
+<title>ags_recall_recycling_dummy_new ()</title>
+<indexterm zone="ags-recall-recycling-dummy-new"><primary>ags_recall_recycling_dummy_new</primary></indexterm>
+<programlisting><link linkend="AgsRecallRecyclingDummy"><returnvalue>AgsRecallRecyclingDummy</returnvalue></link> * ags_recall_recycling_dummy_new
+ (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> child_type</parameter>);</programlisting>
+<para>
+Creates an <link linkend="AgsRecallRecyclingDummy"><type>AgsRecallRecyclingDummy</type></link>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecallRecyclingDummy"><type>AgsRecallRecyclingDummy</type></link>.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_record_thread.xml b/doc/reference/ags/xml/ags_record_thread.xml
new file mode 100644
index 0000000..ff09530
--- /dev/null
+++ b/doc/reference/ags/xml/ags_record_thread.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecordThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecordThread.top_of_page">AgsRecordThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecordThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecordThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-RECORD-THREAD-DEFAULT-DELAY:CAPS">AGS_RECORD_THREAD_DEFAULT_DELAY</link>
+struct <link linkend="AgsRecordThread">AgsRecordThread</link>;
+struct <link linkend="AgsRecordThreadClass">AgsRecordThreadClass</link>;
+<link linkend="AgsRecordThread"><returnvalue>AgsRecordThread</returnvalue></link> * <link linkend="ags-record-thread-new">ags_record_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecordThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecordThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-RECORD-THREAD-DEFAULT-DELAY:CAPS" role="macro">
+<title>AGS_RECORD_THREAD_DEFAULT_DELAY</title>
+<indexterm zone="AGS-RECORD-THREAD-DEFAULT-DELAY:CAPS"><primary>AGS_RECORD_THREAD_DEFAULT_DELAY</primary></indexterm>
+<programlisting>#define AGS_RECORD_THREAD_DEFAULT_DELAY (128)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecordThread" role="struct">
+<title>struct AgsRecordThread</title>
+<indexterm zone="AgsRecordThread"><primary>AgsRecordThread</primary></indexterm>
+<programlisting>struct AgsRecordThread {
+ AgsThread thread;
+
+ AgsRegistry *registry;
+
+ guint delay;
+ guint counter;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecordThreadClass" role="struct">
+<title>struct AgsRecordThreadClass</title>
+<indexterm zone="AgsRecordThreadClass"><primary>AgsRecordThreadClass</primary></indexterm>
+<programlisting>struct AgsRecordThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-record-thread-new" role="function">
+<title>ags_record_thread_new ()</title>
+<indexterm zone="ags-record-thread-new"><primary>ags_record_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsRecordThread"><returnvalue>AgsRecordThread</returnvalue></link> * ags_record_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recycling.xml b/doc/reference/ags/xml/ags_recycling.xml
new file mode 100644
index 0000000..6370594
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recycling.xml
@@ -0,0 +1,204 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecycling.top_of_page">AgsRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecycling">AgsRecycling</link>;
+struct <link linkend="AgsRecyclingClass">AgsRecyclingClass</link>;
+enum <link linkend="AgsRecyclingFlags">AgsRecyclingFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-add-audio-signal">ags_recycling_add_audio_signal</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-create-audio-signal-with-defaults">ags_recycling_create_audio_signal_with_defaults</link>
+ (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-create-audio-signal-with-frame-count">ags_recycling_create_audio_signal_with_frame_count</link>
+ (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frame_count</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);
+<link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * <link linkend="ags-recycling-find-next-channel">ags_recycling_find_next_channel</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *start_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *end_region</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *prev_channel</parameter>);
+<link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * <link linkend="ags-recycling-new">ags_recycling_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+<link linkend="gint"><returnvalue>gint</returnvalue></link> <link linkend="ags-recycling-position">ags_recycling_position</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *start_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *end_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-remove-audio-signal">ags_recycling_remove_audio_signal</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-set-devout">ags_recycling_set_devout</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecycling" role="struct">
+<title>struct AgsRecycling</title>
+<indexterm zone="AgsRecycling"><primary>AgsRecycling</primary></indexterm>
+<programlisting>struct AgsRecycling {
+ GObject object;
+
+ guint flags;
+
+ GObject *channel;
+ GObject *devout;
+
+ AgsRecycling *parent;
+
+ AgsRecycling *next;
+ AgsRecycling *prev;
+
+ GList *audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecyclingClass" role="struct">
+<title>struct AgsRecyclingClass</title>
+<indexterm zone="AgsRecyclingClass"><primary>AgsRecyclingClass</primary></indexterm>
+<programlisting>struct AgsRecyclingClass {
+ GObjectClass object;
+
+ void (*add_audio_signal)(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+ void (*remove_audio_signal)(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecyclingFlags" role="enum">
+<title>enum AgsRecyclingFlags</title>
+<indexterm zone="AgsRecyclingFlags"><primary>AgsRecyclingFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECYCLING_MUTED = 1,
+} AgsRecyclingFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-add-audio-signal" role="function">
+<title>ags_recycling_add_audio_signal ()</title>
+<indexterm zone="ags-recycling-add-audio-signal"><primary>ags_recycling_add_audio_signal</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_add_audio_signal (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+Add <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> to recycling.
+</para><variablelist role="params">
+<varlistentry><term><parameter>recycling</parameter> :</term>
+<listitem><simpara>an <link linkend="AgsRecycling"><type>AgsRecycling</type></link></simpara></listitem></varlistentry>
+<varlistentry><term><parameter>audio_signal</parameter> :</term>
+<listitem><simpara>the <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> to add</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-create-audio-signal-with-defaults" role="function">
+<title>ags_recycling_create_audio_signal_with_defaults ()</title>
+<indexterm zone="ags-recycling-create-audio-signal-with-defaults"><primary>ags_recycling_create_audio_signal_with_defaults</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_create_audio_signal_with_defaults
+ (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+Create audio signal with defaults.
+</para></refsect2>
+<refsect2 id="ags-recycling-create-audio-signal-with-frame-count" role="function">
+<title>ags_recycling_create_audio_signal_with_frame_count ()</title>
+<indexterm zone="ags-recycling-create-audio-signal-with-frame-count"><primary>ags_recycling_create_audio_signal_with_frame_count</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_create_audio_signal_with_frame_count
+ (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> frame_count</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> delay</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> attack</parameter>);</programlisting>
+<para>
+Create audio signal with frame count.
+</para></refsect2>
+<refsect2 id="ags-recycling-find-next-channel" role="function">
+<title>ags_recycling_find_next_channel ()</title>
+<indexterm zone="ags-recycling-find-next-channel"><primary>ags_recycling_find_next_channel</primary></indexterm>
+<programlisting><link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * ags_recycling_find_next_channel (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *start_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *end_region</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *prev_channel</parameter>);</programlisting>
+<para>
+Retrieve next recycling with different channel.
+</para><variablelist role="params">
+<varlistentry><term><parameter>start_region</parameter> :</term>
+<listitem><simpara>boundary start</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>end_region</parameter> :</term>
+<listitem><simpara>boundary end</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>prev_channel</parameter> :</term>
+<listitem><simpara>previous channel</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>Matching recycling.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-new" role="function">
+<title>ags_recycling_new ()</title>
+<indexterm zone="ags-recycling-new"><primary>ags_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsRecycling"><returnvalue>AgsRecycling</returnvalue></link> * ags_recycling_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsRecycling"><type>AgsRecycling</type></link>, with defaults of <parameter>devout</parameter>.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecycling"><type>AgsRecycling</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-position" role="function">
+<title>ags_recycling_position ()</title>
+<indexterm zone="ags-recycling-position"><primary>ags_recycling_position</primary></indexterm>
+<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link> ags_recycling_position (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *start_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *end_region</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+Retrieve position of recycling.
+</para><variablelist role="params">
+<varlistentry><term><parameter>end_region</parameter> :</term>
+<listitem><simpara>boundary end</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>recycling</parameter> :</term>
+<listitem><simpara>matching recycling</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>position within boundary.</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-remove-audio-signal" role="function">
+<title>ags_recycling_remove_audio_signal ()</title>
+<indexterm zone="ags-recycling-remove-audio-signal"><primary>ags_recycling_remove_audio_signal</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_remove_audio_signal (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+Remove <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> of recycling.
+</para><variablelist role="params">
+<varlistentry><term><parameter>recycling</parameter> :</term>
+<listitem><simpara>an <link linkend="AgsRecycling"><type>AgsRecycling</type></link></simpara></listitem></varlistentry>
+<varlistentry><term><parameter>audio_signal</parameter> :</term>
+<listitem><simpara>the <link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> to remove</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-set-devout" role="function">
+<title>ags_recycling_set_devout ()</title>
+<indexterm zone="ags-recycling-set-devout"><primary>ags_recycling_set_devout</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_set_devout (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recycling_container.xml b/doc/reference/ags/xml/ags_recycling_container.xml
new file mode 100644
index 0000000..5f6e743
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recycling_container.xml
@@ -0,0 +1,217 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecyclingContainer">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecyclingContainer.top_of_page">AgsRecyclingContainer</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecyclingContainer</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecyclingContainer.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRecyclingContainer">AgsRecyclingContainer</link>;
+struct <link linkend="AgsRecyclingContainerClass">AgsRecyclingContainerClass</link>;
+<link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * <link linkend="ags-recycling-container-add">ags_recycling_container_add</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-container-add-child">ags_recycling_container_add_child</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *child</parameter>);
+<link linkend="gint"><returnvalue>gint</returnvalue></link> <link linkend="ags-recycling-container-find">ags_recycling_container_find</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="gint"><returnvalue>gint</returnvalue></link> <link linkend="ags-recycling-container-find-child">ags_recycling_container_find_child</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="gint"><returnvalue>gint</returnvalue></link> <link linkend="ags-recycling-container-find-parent">ags_recycling_container_find_parent</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="GList"><returnvalue>GList</returnvalue></link> * <link linkend="ags-recycling-container-get-child-recall-id">ags_recycling_container_get_child_recall_id</link>
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>);
+<link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * <link linkend="ags-recycling-container-get-toplevel">ags_recycling_container_get_toplevel</link>
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>);
+<link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * <link linkend="ags-recycling-container-insert">ags_recycling_container_insert</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);
+<link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * <link linkend="ags-recycling-container-new">ags_recycling_container_new</link> (<parameter><link linkend="gint"><type>gint</type></link> length</parameter>);
+<link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * <link linkend="ags-recycling-container-remove">ags_recycling_container_remove</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-container-remove-child">ags_recycling_container_remove_child</link>
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-container-replace">ags_recycling_container_replace</link> (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-container-reset-recycling">ags_recycling_container_reset_recycling</link>
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_last_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_last_recycling</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecyclingContainer.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecyclingContainer.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRecyclingContainer" role="struct">
+<title>struct AgsRecyclingContainer</title>
+<indexterm zone="AgsRecyclingContainer"><primary>AgsRecyclingContainer</primary></indexterm>
+<programlisting>struct AgsRecyclingContainer {
+ GObject object;
+
+ GObject *recall_id;
+
+ AgsRecycling **recycling;
+ guint64 length;
+
+ AgsRecyclingContainer *parent;
+ GList *children;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecyclingContainerClass" role="struct">
+<title>struct AgsRecyclingContainerClass</title>
+<indexterm zone="AgsRecyclingContainerClass"><primary>AgsRecyclingContainerClass</primary></indexterm>
+<programlisting>struct AgsRecyclingContainerClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-container-add" role="function">
+<title>ags_recycling_container_add ()</title>
+<indexterm zone="ags-recycling-container-add"><primary>ags_recycling_container_add</primary></indexterm>
+<programlisting><link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * ags_recycling_container_add (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+Removes a recycling to a container.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the new recycling container</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-container-add-child" role="function">
+<title>ags_recycling_container_add_child ()</title>
+<indexterm zone="ags-recycling-container-add-child"><primary>ags_recycling_container_add_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_container_add_child (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *child</parameter>);</programlisting>
+<para>
+Adds a recycling container as child.
+</para></refsect2>
+<refsect2 id="ags-recycling-container-find" role="function">
+<title>ags_recycling_container_find ()</title>
+<indexterm zone="ags-recycling-container-find"><primary>ags_recycling_container_find</primary></indexterm>
+<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link> ags_recycling_container_find (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+Find position of recycling within array.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>recycling array index</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-container-find-child" role="function">
+<title>ags_recycling_container_find_child ()</title>
+<indexterm zone="ags-recycling-container-find-child"><primary>ags_recycling_container_find_child</primary></indexterm>
+<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link> ags_recycling_container_find_child (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+Find position of recycling within arrays.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>recycling array index</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-container-find-parent" role="function">
+<title>ags_recycling_container_find_parent ()</title>
+<indexterm zone="ags-recycling-container-find-parent"><primary>ags_recycling_container_find_parent</primary></indexterm>
+<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link> ags_recycling_container_find_parent (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+Find position of recycling within array.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>recycling array index</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-container-get-child-recall-id" role="function">
+<title>ags_recycling_container_get_child_recall_id ()</title>
+<indexterm zone="ags-recycling-container-get-child-recall-id"><primary>ags_recycling_container_get_child_recall_id</primary></indexterm>
+<programlisting><link linkend="GList"><returnvalue>GList</returnvalue></link> * ags_recycling_container_get_child_recall_id
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>);</programlisting>
+<para>
+Retrieve all child recall ids.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the <link linkend="AgsRecallID"><type>AgsRecallID</type></link> as <link linkend="GList"><type>GList</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-container-get-toplevel" role="function">
+<title>ags_recycling_container_get_toplevel ()</title>
+<indexterm zone="ags-recycling-container-get-toplevel"><primary>ags_recycling_container_get_toplevel</primary></indexterm>
+<programlisting><link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * ags_recycling_container_get_toplevel
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>);</programlisting>
+<para>
+Iterates the tree up to highest level.
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>the topmost recycling container</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-container-insert" role="function">
+<title>ags_recycling_container_insert ()</title>
+<indexterm zone="ags-recycling-container-insert"><primary>ags_recycling_container_insert</primary></indexterm>
+<programlisting><link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * ags_recycling_container_insert (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-container-new" role="function">
+<title>ags_recycling_container_new ()</title>
+<indexterm zone="ags-recycling-container-new"><primary>ags_recycling_container_new</primary></indexterm>
+<programlisting><link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * ags_recycling_container_new (<parameter><link linkend="gint"><type>gint</type></link> length</parameter>);</programlisting>
+<para>
+Creates a <link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link>, boundaries are specified by <parameter>length</parameter>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2 id="ags-recycling-container-remove" role="function">
+<title>ags_recycling_container_remove ()</title>
+<indexterm zone="ags-recycling-container-remove"><primary>ags_recycling_container_remove</primary></indexterm>
+<programlisting><link linkend="AgsRecyclingContainer"><returnvalue>AgsRecyclingContainer</returnvalue></link> * ags_recycling_container_remove (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-container-remove-child" role="function">
+<title>ags_recycling_container_remove_child ()</title>
+<indexterm zone="ags-recycling-container-remove-child"><primary>ags_recycling_container_remove_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_container_remove_child
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *parent</parameter>,
+ <parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *child</parameter>);</programlisting>
+<para>
+Removes a recycling container of its parent.
+</para></refsect2>
+<refsect2 id="ags-recycling-container-replace" role="function">
+<title>ags_recycling_container_replace ()</title>
+<indexterm zone="ags-recycling-container-replace"><primary>ags_recycling_container_replace</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_container_replace (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-container-reset-recycling" role="function">
+<title>ags_recycling_container_reset_recycling ()</title>
+<indexterm zone="ags-recycling-container-reset-recycling"><primary>ags_recycling_container_reset_recycling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_container_reset_recycling
+ (<parameter><link linkend="AgsRecyclingContainer"><type>AgsRecyclingContainer</type></link> *recycling_container</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *old_last_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_first_recycling</parameter>,
+ <parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *new_last_recycling</parameter>);</programlisting>
+<para>
+Modify recycling of container.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recycling_thread.xml b/doc/reference/ags/xml/ags_recycling_thread.xml
new file mode 100644
index 0000000..50f0b79
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recycling_thread.xml
@@ -0,0 +1,128 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRecyclingThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRecyclingThread.top_of_page">AgsRecyclingThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRecyclingThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRecyclingThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-RECYCLING-THREAD-DEFAULT-JIFFIE:CAPS">AGS_RECYCLING_THREAD_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsRecyclingThread">AgsRecyclingThread</link>;
+struct <link linkend="AgsRecyclingThreadClass">AgsRecyclingThreadClass</link>;
+enum <link linkend="AgsRecyclingThreadFlags">AgsRecyclingThreadFlags</link>;
+<link linkend="AgsRecyclingThread"><returnvalue>AgsRecyclingThread</returnvalue></link> * <link linkend="ags-recycling-thread-new">ags_recycling_thread_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-thread-play-audio">ags_recycling_thread_play_audio</link> (<parameter><link linkend="AgsRecyclingThread"><type>AgsRecyclingThread</type></link> *recycling_thread</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *output</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-thread-play-channel">ags_recycling_thread_play_channel</link> (<parameter><link linkend="AgsRecyclingThread"><type>AgsRecyclingThread</type></link> *recycling_thread</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRecyclingThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRecyclingThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-RECYCLING-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_RECYCLING_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-RECYCLING-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_RECYCLING_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_RECYCLING_THREAD_DEFAULT_JIFFIE (100)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecyclingThread" role="struct">
+<title>struct AgsRecyclingThread</title>
+<indexterm zone="AgsRecyclingThread"><primary>AgsRecyclingThread</primary></indexterm>
+<programlisting>struct AgsRecyclingThread {
+ AgsThread thread;
+
+ guint flags;
+
+ AgsThread *iterator_thread;
+
+ pthread_mutex_t iteration_mutex;
+ pthread_cond_t iteration_cond;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecyclingThreadClass" role="struct">
+<title>struct AgsRecyclingThreadClass</title>
+<indexterm zone="AgsRecyclingThreadClass"><primary>AgsRecyclingThreadClass</primary></indexterm>
+<programlisting>struct AgsRecyclingThreadClass {
+ AgsThreadClass thread;
+
+ void (*play_channel)(AgsRecyclingThread *recycling_thread,
+ GObject *channel,
+ AgsRecallID *recall_id,
+ gint stage);
+
+ void (*play_audio)(AgsRecyclingThread *recycling_thread,
+ GObject *output, GObject *audio,
+ AgsRecallID *recall_id,
+ gint stage);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRecyclingThreadFlags" role="enum">
+<title>enum AgsRecyclingThreadFlags</title>
+<indexterm zone="AgsRecyclingThreadFlags"><primary>AgsRecyclingThreadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RECYCLING_THREAD_RUNNING = 1,
+ AGS_RECYCLING_THREAD_WAIT = 1 << 1,
+ AGS_RECYCLING_THREAD_DONE = 1 << 2,
+} AgsRecyclingThreadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-thread-new" role="function">
+<title>ags_recycling_thread_new ()</title>
+<indexterm zone="ags-recycling-thread-new"><primary>ags_recycling_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsRecyclingThread"><returnvalue>AgsRecyclingThread</returnvalue></link> * ags_recycling_thread_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-thread-play-audio" role="function">
+<title>ags_recycling_thread_play_audio ()</title>
+<indexterm zone="ags-recycling-thread-play-audio"><primary>ags_recycling_thread_play_audio</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_thread_play_audio (<parameter><link linkend="AgsRecyclingThread"><type>AgsRecyclingThread</type></link> *recycling_thread</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *output</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *audio</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-recycling-thread-play-channel" role="function">
+<title>ags_recycling_thread_play_channel ()</title>
+<indexterm zone="ags-recycling-thread-play-channel"><primary>ags_recycling_thread_play_channel</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_thread_play_channel (<parameter><link linkend="AgsRecyclingThread"><type>AgsRecyclingThread</type></link> *recycling_thread</parameter>,
+ <parameter><link linkend="GObject"><type>GObject</type></link> *channel</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gint"><type>gint</type></link> stage</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_recycling_thread_callbacks.xml b/doc/reference/ags/xml/ags_recycling_thread_callbacks.xml
new file mode 100644
index 0000000..a13a70d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_recycling_thread_callbacks.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-recycling-thread-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-recycling-thread-callbacks.top_of_page">ags_recycling_thread_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_recycling_thread_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-recycling-thread-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-recycling-thread-iterate-callback">ags_recycling_thread_iterate_callback</link>
+ (<parameter><link linkend="AgsRecyclingThread"><type>AgsRecyclingThread</type></link> *thread</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-recycling-thread-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-recycling-thread-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-recycling-thread-iterate-callback" role="function">
+<title>ags_recycling_thread_iterate_callback ()</title>
+<indexterm zone="ags-recycling-thread-iterate-callback"><primary>ags_recycling_thread_iterate_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_recycling_thread_iterate_callback
+ (<parameter><link linkend="AgsRecyclingThread"><type>AgsRecyclingThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_registry.xml b/doc/reference/ags/xml/ags_registry.xml
new file mode 100644
index 0000000..fa82aec
--- /dev/null
+++ b/doc/reference/ags/xml/ags_registry.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRegistry">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRegistry.top_of_page">AgsRegistry</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRegistry</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRegistry.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-REGISTRY-DEFAULT-ID-LENGTH:CAPS">AGS_REGISTRY_DEFAULT_ID_LENGTH</link>
+struct <link linkend="AgsRegistry">AgsRegistry</link>;
+struct <link linkend="AgsRegistryClass">AgsRegistryClass</link>;
+struct <link linkend="AgsRegistryEntry">AgsRegistryEntry</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-registry-add">ags_registry_add</link> (<parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>,
+ <parameter><link linkend="AgsRegistryEntry"><type>AgsRegistryEntry</type></link> *registry_entry</parameter>);
+<link linkend="AgsRegistryEntry"><returnvalue>AgsRegistryEntry</returnvalue></link> * <link linkend="ags-registry-entry-alloc">ags_registry_entry_alloc</link> (<parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>);
+<link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * <link linkend="ags-registry-entry-bulk">ags_registry_entry_bulk</link> (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);
+<link linkend="AgsRegistryEntry"><returnvalue>AgsRegistryEntry</returnvalue></link> * <link linkend="ags-registry-entry-find">ags_registry_entry_find</link> (<parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>);
+<link linkend="AgsRegistry"><returnvalue>AgsRegistry</returnvalue></link> * <link linkend="ags-registry-new">ags_registry_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRegistry.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRegistry.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-REGISTRY-DEFAULT-ID-LENGTH:CAPS" role="macro">
+<title>AGS_REGISTRY_DEFAULT_ID_LENGTH</title>
+<indexterm zone="AGS-REGISTRY-DEFAULT-ID-LENGTH:CAPS"><primary>AGS_REGISTRY_DEFAULT_ID_LENGTH</primary></indexterm>
+<programlisting>#define AGS_REGISTRY_DEFAULT_ID_LENGTH 16
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRegistry" role="struct">
+<title>struct AgsRegistry</title>
+<indexterm zone="AgsRegistry"><primary>AgsRegistry</primary></indexterm>
+<programlisting>struct AgsRegistry {
+ GObject object;
+
+ guint flags;
+
+ pthread_mutex_t mutex;
+
+ AgsFile *previous;
+ AgsFile *current;
+
+#ifdef AGS_WITH_XMLRPC_C
+ xmlrpc_registry *registry;
+#endif
+
+ GObject *server;
+
+ guint id_length;
+ guint counter;
+
+ GList *entry;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRegistryClass" role="struct">
+<title>struct AgsRegistryClass</title>
+<indexterm zone="AgsRegistryClass"><primary>AgsRegistryClass</primary></indexterm>
+<programlisting>struct AgsRegistryClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRegistryEntry" role="struct">
+<title>struct AgsRegistryEntry</title>
+<indexterm zone="AgsRegistryEntry"><primary>AgsRegistryEntry</primary></indexterm>
+<programlisting>struct AgsRegistryEntry {
+ gchar *id;
+ GValue entry;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-registry-add" role="function">
+<title>ags_registry_add ()</title>
+<indexterm zone="ags-registry-add"><primary>ags_registry_add</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_registry_add (<parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>,
+ <parameter><link linkend="AgsRegistryEntry"><type>AgsRegistryEntry</type></link> *registry_entry</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-registry-entry-alloc" role="function">
+<title>ags_registry_entry_alloc ()</title>
+<indexterm zone="ags-registry-entry-alloc"><primary>ags_registry_entry_alloc</primary></indexterm>
+<programlisting><link linkend="AgsRegistryEntry"><returnvalue>AgsRegistryEntry</returnvalue></link> * ags_registry_entry_alloc (<parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-registry-entry-bulk" role="function">
+<title>ags_registry_entry_bulk ()</title>
+<indexterm zone="ags-registry-entry-bulk"><primary>ags_registry_entry_bulk</primary></indexterm>
+<programlisting><link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * ags_registry_entry_bulk (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-registry-entry-find" role="function">
+<title>ags_registry_entry_find ()</title>
+<indexterm zone="ags-registry-entry-find"><primary>ags_registry_entry_find</primary></indexterm>
+<programlisting><link linkend="AgsRegistryEntry"><returnvalue>AgsRegistryEntry</returnvalue></link> * ags_registry_entry_find (<parameter><link linkend="AgsRegistry"><type>AgsRegistry</type></link> *registry</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-registry-new" role="function">
+<title>ags_registry_new ()</title>
+<indexterm zone="ags-registry-new"><primary>ags_registry_new</primary></indexterm>
+<programlisting><link linkend="AgsRegistry"><returnvalue>AgsRegistry</returnvalue></link> * ags_registry_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_remote_task.xml b/doc/reference/ags/xml/ags_remote_task.xml
new file mode 100644
index 0000000..dea3039
--- /dev/null
+++ b/doc/reference/ags/xml/ags_remote_task.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRemoteTask">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRemoteTask.top_of_page">AgsRemoteTask</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRemoteTask</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRemoteTask.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRemoteTask">AgsRemoteTask</link>;
+struct <link linkend="AgsRemoteTaskClass">AgsRemoteTaskClass</link>;
+<link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * <link linkend="ags-remote-task-launch">ags_remote_task_launch</link> (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);
+<link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * <link linkend="ags-remote-task-launch-timed">ags_remote_task_launch_timed</link> (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);
+<link linkend="AgsRemoteTask"><returnvalue>AgsRemoteTask</returnvalue></link> * <link linkend="ags-remote-task-new">ags_remote_task_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRemoteTask.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRemoteTask.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRemoteTask" role="struct">
+<title>struct AgsRemoteTask</title>
+<indexterm zone="AgsRemoteTask"><primary>AgsRemoteTask</primary></indexterm>
+<programlisting>struct AgsRemoteTask {
+ GObject object;
+
+ GObject *server;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRemoteTaskClass" role="struct">
+<title>struct AgsRemoteTaskClass</title>
+<indexterm zone="AgsRemoteTaskClass"><primary>AgsRemoteTaskClass</primary></indexterm>
+<programlisting>struct AgsRemoteTaskClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remote-task-launch" role="function">
+<title>ags_remote_task_launch ()</title>
+<indexterm zone="ags-remote-task-launch"><primary>ags_remote_task_launch</primary></indexterm>
+<programlisting><link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * ags_remote_task_launch (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remote-task-launch-timed" role="function">
+<title>ags_remote_task_launch_timed ()</title>
+<indexterm zone="ags-remote-task-launch-timed"><primary>ags_remote_task_launch_timed</primary></indexterm>
+<programlisting><link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * ags_remote_task_launch_timed (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remote-task-new" role="function">
+<title>ags_remote_task_new ()</title>
+<indexterm zone="ags-remote-task-new"><primary>ags_remote_task_new</primary></indexterm>
+<programlisting><link linkend="AgsRemoteTask"><returnvalue>AgsRemoteTask</returnvalue></link> * ags_remote_task_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_remove_audio.xml b/doc/reference/ags/xml/ags_remove_audio.xml
new file mode 100644
index 0000000..50c3db7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_remove_audio.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRemoveAudio">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRemoveAudio.top_of_page">AgsRemoveAudio</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRemoveAudio</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRemoveAudio.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRemoveAudio">AgsRemoveAudio</link>;
+struct <link linkend="AgsRemoveAudioClass">AgsRemoveAudioClass</link>;
+<link linkend="AgsRemoveAudio"><returnvalue>AgsRemoveAudio</returnvalue></link> * <link linkend="ags-remove-audio-new">ags_remove_audio_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRemoveAudio.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRemoveAudio.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRemoveAudio" role="struct">
+<title>struct AgsRemoveAudio</title>
+<indexterm zone="AgsRemoveAudio"><primary>AgsRemoveAudio</primary></indexterm>
+<programlisting>struct AgsRemoveAudio {
+ AgsTask task;
+
+ AgsDevout *devout;
+ AgsAudio *audio;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRemoveAudioClass" role="struct">
+<title>struct AgsRemoveAudioClass</title>
+<indexterm zone="AgsRemoveAudioClass"><primary>AgsRemoveAudioClass</primary></indexterm>
+<programlisting>struct AgsRemoveAudioClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remove-audio-new" role="function">
+<title>ags_remove_audio_new ()</title>
+<indexterm zone="ags-remove-audio-new"><primary>ags_remove_audio_new</primary></indexterm>
+<programlisting><link linkend="AgsRemoveAudio"><returnvalue>AgsRemoveAudio</returnvalue></link> * ags_remove_audio_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="AgsAudio"><type>AgsAudio</type></link> *audio</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_remove_audio_signal.xml b/doc/reference/ags/xml/ags_remove_audio_signal.xml
new file mode 100644
index 0000000..91b8ce7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_remove_audio_signal.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRemoveAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRemoveAudioSignal.top_of_page">AgsRemoveAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRemoveAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRemoveAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRemoveAudioSignal">AgsRemoveAudioSignal</link>;
+struct <link linkend="AgsRemoveAudioSignalClass">AgsRemoveAudioSignalClass</link>;
+<link linkend="AgsRemoveAudioSignal"><returnvalue>AgsRemoveAudioSignal</returnvalue></link> * <link linkend="ags-remove-audio-signal-new">ags_remove_audio_signal_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRemoveAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRemoveAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRemoveAudioSignal" role="struct">
+<title>struct AgsRemoveAudioSignal</title>
+<indexterm zone="AgsRemoveAudioSignal"><primary>AgsRemoveAudioSignal</primary></indexterm>
+<programlisting>struct AgsRemoveAudioSignal {
+ AgsTask task;
+
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRemoveAudioSignalClass" role="struct">
+<title>struct AgsRemoveAudioSignalClass</title>
+<indexterm zone="AgsRemoveAudioSignalClass"><primary>AgsRemoveAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsRemoveAudioSignalClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remove-audio-signal-new" role="function">
+<title>ags_remove_audio_signal_new ()</title>
+<indexterm zone="ags-remove-audio-signal-new"><primary>ags_remove_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsRemoveAudioSignal"><returnvalue>AgsRemoveAudioSignal</returnvalue></link> * ags_remove_audio_signal_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>,
+ <parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_remove_note.xml b/doc/reference/ags/xml/ags_remove_note.xml
new file mode 100644
index 0000000..9425adb
--- /dev/null
+++ b/doc/reference/ags/xml/ags_remove_note.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRemoveNote">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRemoveNote.top_of_page">AgsRemoveNote</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRemoveNote</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRemoveNote.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRemoveNote">AgsRemoveNote</link>;
+struct <link linkend="AgsRemoveNoteClass">AgsRemoveNoteClass</link>;
+<link linkend="AgsRemoveNote"><returnvalue>AgsRemoveNote</returnvalue></link> * <link linkend="ags-remove-note-new">ags_remove_note_new</link> (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRemoveNote.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRemoveNote.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRemoveNote" role="struct">
+<title>struct AgsRemoveNote</title>
+<indexterm zone="AgsRemoveNote"><primary>AgsRemoveNote</primary></indexterm>
+<programlisting>struct AgsRemoveNote {
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRemoveNoteClass" role="struct">
+<title>struct AgsRemoveNoteClass</title>
+<indexterm zone="AgsRemoveNoteClass"><primary>AgsRemoveNoteClass</primary></indexterm>
+<programlisting>struct AgsRemoveNoteClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remove-note-new" role="function">
+<title>ags_remove_note_new ()</title>
+<indexterm zone="ags-remove-note-new"><primary>ags_remove_note_new</primary></indexterm>
+<programlisting><link linkend="AgsRemoveNote"><returnvalue>AgsRemoveNote</returnvalue></link> * ags_remove_note_new (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_remove_point_from_selection.xml b/doc/reference/ags/xml/ags_remove_point_from_selection.xml
new file mode 100644
index 0000000..1531634
--- /dev/null
+++ b/doc/reference/ags/xml/ags_remove_point_from_selection.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRemovePointFromSelection">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRemovePointFromSelection.top_of_page">AgsRemovePointFromSelection</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRemovePointFromSelection</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRemovePointFromSelection.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRemovePointFromSelection">AgsRemovePointFromSelection</link>;
+struct <link linkend="AgsRemovePointFromSelectionClass">AgsRemovePointFromSelectionClass</link>;
+<link linkend="AgsRemovePointFromSelection"><returnvalue>AgsRemovePointFromSelection</returnvalue></link> * <link linkend="ags-remove-point-from-selection-new">ags_remove_point_from_selection_new</link>
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRemovePointFromSelection.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRemovePointFromSelection.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRemovePointFromSelection" role="struct">
+<title>struct AgsRemovePointFromSelection</title>
+<indexterm zone="AgsRemovePointFromSelection"><primary>AgsRemovePointFromSelection</primary></indexterm>
+<programlisting>struct AgsRemovePointFromSelection {
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRemovePointFromSelectionClass" role="struct">
+<title>struct AgsRemovePointFromSelectionClass</title>
+<indexterm zone="AgsRemovePointFromSelectionClass"><primary>AgsRemovePointFromSelectionClass</primary></indexterm>
+<programlisting>struct AgsRemovePointFromSelectionClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remove-point-from-selection-new" role="function">
+<title>ags_remove_point_from_selection_new ()</title>
+<indexterm zone="ags-remove-point-from-selection-new"><primary>ags_remove_point_from_selection_new</primary></indexterm>
+<programlisting><link linkend="AgsRemovePointFromSelection"><returnvalue>AgsRemovePointFromSelection</returnvalue></link> * ags_remove_point_from_selection_new
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_remove_recall.xml b/doc/reference/ags/xml/ags_remove_recall.xml
new file mode 100644
index 0000000..231df76
--- /dev/null
+++ b/doc/reference/ags/xml/ags_remove_recall.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRemoveRecall">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRemoveRecall.top_of_page">AgsRemoveRecall</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRemoveRecall</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRemoveRecall.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRemoveRecall">AgsRemoveRecall</link>;
+struct <link linkend="AgsRemoveRecallClass">AgsRemoveRecallClass</link>;
+<link linkend="AgsRemoveRecall"><returnvalue>AgsRemoveRecall</returnvalue></link> * <link linkend="ags-remove-recall-new">ags_remove_recall_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *context</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_play</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRemoveRecall.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRemoveRecall.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRemoveRecall" role="struct">
+<title>struct AgsRemoveRecall</title>
+<indexterm zone="AgsRemoveRecall"><primary>AgsRemoveRecall</primary></indexterm>
+<programlisting>struct AgsRemoveRecall {
+ AgsTask task;
+
+ GObject *context;
+
+ AgsRecall *recall;
+ gboolean is_play;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRemoveRecallClass" role="struct">
+<title>struct AgsRemoveRecallClass</title>
+<indexterm zone="AgsRemoveRecallClass"><primary>AgsRemoveRecallClass</primary></indexterm>
+<programlisting>struct AgsRemoveRecallClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remove-recall-new" role="function">
+<title>ags_remove_recall_new ()</title>
+<indexterm zone="ags-remove-recall-new"><primary>ags_remove_recall_new</primary></indexterm>
+<programlisting><link linkend="AgsRemoveRecall"><returnvalue>AgsRemoveRecall</returnvalue></link> * ags_remove_recall_new (<parameter><link linkend="GObject"><type>GObject</type></link> *context</parameter>,
+ <parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> is_play</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_remove_region_from_selection.xml b/doc/reference/ags/xml/ags_remove_region_from_selection.xml
new file mode 100644
index 0000000..aa63919
--- /dev/null
+++ b/doc/reference/ags/xml/ags_remove_region_from_selection.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRemoveRegionFromSelection">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRemoveRegionFromSelection.top_of_page">AgsRemoveRegionFromSelection</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRemoveRegionFromSelection</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRemoveRegionFromSelection.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRemoveRegionFromSelection">AgsRemoveRegionFromSelection</link>;
+struct <link linkend="AgsRemoveRegionFromSelectionClass">AgsRemoveRegionFromSelectionClass</link>;
+<link linkend="AgsRemoveRegionFromSelection"><returnvalue>AgsRemoveRegionFromSelection</returnvalue></link> * <link linkend="ags-remove-region-from-selection-new">ags_remove_region_from_selection_new</link>
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRemoveRegionFromSelection.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRemoveRegionFromSelection.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRemoveRegionFromSelection" role="struct">
+<title>struct AgsRemoveRegionFromSelection</title>
+<indexterm zone="AgsRemoveRegionFromSelection"><primary>AgsRemoveRegionFromSelection</primary></indexterm>
+<programlisting>struct AgsRemoveRegionFromSelection {
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x0;
+ guint y0;
+ guint x1;
+ guint y1;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRemoveRegionFromSelectionClass" role="struct">
+<title>struct AgsRemoveRegionFromSelectionClass</title>
+<indexterm zone="AgsRemoveRegionFromSelectionClass"><primary>AgsRemoveRegionFromSelectionClass</primary></indexterm>
+<programlisting>struct AgsRemoveRegionFromSelectionClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-remove-region-from-selection-new" role="function">
+<title>ags_remove_region_from_selection_new ()</title>
+<indexterm zone="ags-remove-region-from-selection-new"><primary>ags_remove_region_from_selection_new</primary></indexterm>
+<programlisting><link linkend="AgsRemoveRegionFromSelection"><returnvalue>AgsRemoveRegionFromSelection</returnvalue></link> * ags_remove_region_from_selection_new
+ (<parameter><link linkend="AgsNotation"><type>AgsNotation</type></link> *notation</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y0</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> x1</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> y1</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_resize_editor.xml b/doc/reference/ags/xml/ags_resize_editor.xml
new file mode 100644
index 0000000..b00e861
--- /dev/null
+++ b/doc/reference/ags/xml/ags_resize_editor.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsResizeEditor">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsResizeEditor.top_of_page">AgsResizeEditor</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsResizeEditor</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsResizeEditor.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsResizeEditor">AgsResizeEditor</link>;
+struct <link linkend="AgsResizeEditorClass">AgsResizeEditorClass</link>;
+<link linkend="AgsResizeEditor"><returnvalue>AgsResizeEditor</returnvalue></link> * <link linkend="ags-resize-editor-new">ags_resize_editor_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsResizeEditor.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsResizeEditor.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsResizeEditor" role="struct">
+<title>struct AgsResizeEditor</title>
+<indexterm zone="AgsResizeEditor"><primary>AgsResizeEditor</primary></indexterm>
+<programlisting>struct AgsResizeEditor {
+ AgsPropertyEditor property_editor;
+
+ GtkSpinButton *audio_channels;
+
+ GtkSpinButton *input_pads;
+ GtkSpinButton *output_pads;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsResizeEditorClass" role="struct">
+<title>struct AgsResizeEditorClass</title>
+<indexterm zone="AgsResizeEditorClass"><primary>AgsResizeEditorClass</primary></indexterm>
+<programlisting>struct AgsResizeEditorClass {
+ AgsPropertyEditorClass property_editor;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-resize-editor-new" role="function">
+<title>ags_resize_editor_new ()</title>
+<indexterm zone="ags-resize-editor-new"><primary>ags_resize_editor_new</primary></indexterm>
+<programlisting><link linkend="AgsResizeEditor"><returnvalue>AgsResizeEditor</returnvalue></link> * ags_resize_editor_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_returnable_thread.xml b/doc/reference/ags/xml/ags_returnable_thread.xml
new file mode 100644
index 0000000..7f0a393
--- /dev/null
+++ b/doc/reference/ags/xml/ags_returnable_thread.xml
@@ -0,0 +1,129 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsReturnableThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsReturnableThread.top_of_page">AgsReturnableThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsReturnableThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsReturnableThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-RETURNABLE-THREAD-DEFAULT-JIFFIE:CAPS">AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsReturnableThread">AgsReturnableThread</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> (<link linkend="AgsReturnableThreadCallback">*AgsReturnableThreadCallback</link>) (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+struct <link linkend="AgsReturnableThreadClass">AgsReturnableThreadClass</link>;
+enum <link linkend="AgsReturnableThreadFlags">AgsReturnableThreadFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-returnable-thread-connect-safe-run">ags_returnable_thread_connect_safe_run</link>
+ (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>,
+ <parameter><link linkend="AgsReturnableThreadCallback"><type>AgsReturnableThreadCallback</type></link> callback</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-returnable-thread-disconnect-safe-run">ags_returnable_thread_disconnect_safe_run</link>
+ (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>);
+<link linkend="AgsReturnableThread"><returnvalue>AgsReturnableThread</returnvalue></link> * <link linkend="ags-returnable-thread-new">ags_returnable_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *thread_pool</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-returnable-thread-safe-run">ags_returnable_thread_safe_run</link> (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsReturnableThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsReturnableThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-RETURNABLE-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-RETURNABLE-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE (1000)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsReturnableThread" role="struct">
+<title>struct AgsReturnableThread</title>
+<indexterm zone="AgsReturnableThread"><primary>AgsReturnableThread</primary></indexterm>
+<programlisting>struct AgsReturnableThread {
+ AgsThread thread;
+
+ volatile guint flags;
+
+ GObject *thread_pool;
+
+ pthread_mutex_t reset_mutex;
+ volatile void *safe_data;
+
+ gulong handler;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsReturnableThreadCallback" role="function">
+<title>AgsReturnableThreadCallback ()</title>
+<indexterm zone="AgsReturnableThreadCallback"><primary>AgsReturnableThreadCallback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> (*AgsReturnableThreadCallback) (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsReturnableThreadClass" role="struct">
+<title>struct AgsReturnableThreadClass</title>
+<indexterm zone="AgsReturnableThreadClass"><primary>AgsReturnableThreadClass</primary></indexterm>
+<programlisting>struct AgsReturnableThreadClass {
+ AgsThreadClass thread;
+
+ void (*safe_run)(AgsReturnableThread *returnable_thread);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsReturnableThreadFlags" role="enum">
+<title>enum AgsReturnableThreadFlags</title>
+<indexterm zone="AgsReturnableThreadFlags"><primary>AgsReturnableThreadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_RETURNABLE_THREAD_IN_USE = 1,
+ AGS_RETURNABLE_THREAD_RESET = 1 << 1,
+} AgsReturnableThreadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-returnable-thread-connect-safe-run" role="function">
+<title>ags_returnable_thread_connect_safe_run ()</title>
+<indexterm zone="ags-returnable-thread-connect-safe-run"><primary>ags_returnable_thread_connect_safe_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_returnable_thread_connect_safe_run
+ (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>,
+ <parameter><link linkend="AgsReturnableThreadCallback"><type>AgsReturnableThreadCallback</type></link> callback</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-returnable-thread-disconnect-safe-run" role="function">
+<title>ags_returnable_thread_disconnect_safe_run ()</title>
+<indexterm zone="ags-returnable-thread-disconnect-safe-run"><primary>ags_returnable_thread_disconnect_safe_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_returnable_thread_disconnect_safe_run
+ (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-returnable-thread-new" role="function">
+<title>ags_returnable_thread_new ()</title>
+<indexterm zone="ags-returnable-thread-new"><primary>ags_returnable_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsReturnableThread"><returnvalue>AgsReturnableThread</returnvalue></link> * ags_returnable_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *thread_pool</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-returnable-thread-safe-run" role="function">
+<title>ags_returnable_thread_safe_run ()</title>
+<indexterm zone="ags-returnable-thread-safe-run"><primary>ags_returnable_thread_safe_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_returnable_thread_safe_run (<parameter><link linkend="AgsReturnableThread"><type>AgsReturnableThread</type></link> *returnable_thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ruler.xml b/doc/reference/ags/xml/ags_ruler.xml
new file mode 100644
index 0000000..a8f93a3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ruler.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRuler">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRuler.top_of_page">AgsRuler</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRuler</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRuler.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsRuler">AgsRuler</link>;
+struct <link linkend="AgsRulerClass">AgsRulerClass</link>;
+<link linkend="AgsRuler"><returnvalue>AgsRuler</returnvalue></link> * <link linkend="ags-ruler-new">ags_ruler_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRuler.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRuler.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRuler" role="struct">
+<title>struct AgsRuler</title>
+<indexterm zone="AgsRuler"><primary>AgsRuler</primary></indexterm>
+<programlisting>struct AgsRuler {
+ GtkDrawingArea drawing_area;
+
+ /*
+ PangoLayout *layout;
+
+ char *font_name;
+ PangoFontDescription *font_desc;
+
+ PangoContext *context;
+ */
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRulerClass" role="struct">
+<title>struct AgsRulerClass</title>
+<indexterm zone="AgsRulerClass"><primary>AgsRulerClass</primary></indexterm>
+<programlisting>struct AgsRulerClass {
+ GtkDrawingAreaClass drawing_area;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ruler-new" role="function">
+<title>ags_ruler_new ()</title>
+<indexterm zone="ags-ruler-new"><primary>ags_ruler_new</primary></indexterm>
+<programlisting><link linkend="AgsRuler"><returnvalue>AgsRuler</returnvalue></link> * ags_ruler_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_ruler_callbacks.xml b/doc/reference/ags/xml/ags_ruler_callbacks.xml
new file mode 100644
index 0000000..b83ec20
--- /dev/null
+++ b/doc/reference/ags/xml/ags_ruler_callbacks.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-ruler-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-ruler-callbacks.top_of_page">ags_ruler_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_ruler_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-ruler-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-ruler-configure-event">ags_ruler_configure_event</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsRuler"><type>AgsRuler</type></link> *ruler</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-ruler-expose-event">ags_ruler_expose_event</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsRuler"><type>AgsRuler</type></link> *ruler</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-ruler-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-ruler-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-ruler-configure-event" role="function">
+<title>ags_ruler_configure_event ()</title>
+<indexterm zone="ags-ruler-configure-event"><primary>ags_ruler_configure_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_ruler_configure_event (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventConfigure"><type>GdkEventConfigure</type></link> *event</parameter>,
+ <parameter><link linkend="AgsRuler"><type>AgsRuler</type></link> *ruler</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-ruler-expose-event" role="function">
+<title>ags_ruler_expose_event ()</title>
+<indexterm zone="ags-ruler-expose-event"><primary>ags_ruler_expose_event</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_ruler_expose_event (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GdkEventExpose"><type>GdkEventExpose</type></link> *event</parameter>,
+ <parameter><link linkend="AgsRuler"><type>AgsRuler</type></link> *ruler</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_runnable.xml b/doc/reference/ags/xml/ags_runnable.xml
new file mode 100644
index 0000000..20105a5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_runnable.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsRunnable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsRunnable.top_of_page">AgsRunnable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsRunnable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsRunnable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsRunnable">AgsRunnable</link>;
+struct <link linkend="AgsRunnableInterface">AgsRunnableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-runnable-run">ags_runnable_run</link> (<parameter><link linkend="AgsRunnable"><type>AgsRunnable</type></link> *runnable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-runnable-stop">ags_runnable_stop</link> (<parameter><link linkend="AgsRunnable"><type>AgsRunnable</type></link> *runnable</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsRunnable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsRunnable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsRunnable" role="typedef">
+<title>AgsRunnable</title>
+<indexterm zone="AgsRunnable"><primary>AgsRunnable</primary></indexterm>
+<programlisting>typedef void AgsRunnable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsRunnableInterface" role="struct">
+<title>struct AgsRunnableInterface</title>
+<indexterm zone="AgsRunnableInterface"><primary>AgsRunnableInterface</primary></indexterm>
+<programlisting>struct AgsRunnableInterface {
+ GTypeInterface interface;
+
+ void (*run)(AgsRunnable *runnable);
+ void (*stop)(AgsRunnable *runnable);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-runnable-run" role="function">
+<title>ags_runnable_run ()</title>
+<indexterm zone="ags-runnable-run"><primary>ags_runnable_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_runnable_run (<parameter><link linkend="AgsRunnable"><type>AgsRunnable</type></link> *runnable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-runnable-stop" role="function">
+<title>ags_runnable_stop ()</title>
+<indexterm zone="ags-runnable-stop"><primary>ags_runnable_stop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_runnable_stop (<parameter><link linkend="AgsRunnable"><type>AgsRunnable</type></link> *runnable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_save_file.xml b/doc/reference/ags/xml/ags_save_file.xml
new file mode 100644
index 0000000..6c9b8bf
--- /dev/null
+++ b/doc/reference/ags/xml/ags_save_file.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSaveFile">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSaveFile.top_of_page">AgsSaveFile</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSaveFile</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSaveFile.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSaveFile">AgsSaveFile</link>;
+struct <link linkend="AgsSaveFileClass">AgsSaveFileClass</link>;
+<link linkend="AgsSaveFile"><returnvalue>AgsSaveFile</returnvalue></link> * <link linkend="ags-save-file-new">ags_save_file_new</link> (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSaveFile.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSaveFile.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSaveFile" role="struct">
+<title>struct AgsSaveFile</title>
+<indexterm zone="AgsSaveFile"><primary>AgsSaveFile</primary></indexterm>
+<programlisting>struct AgsSaveFile {
+ AgsTask task;
+
+ AgsFile *file;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSaveFileClass" role="struct">
+<title>struct AgsSaveFileClass</title>
+<indexterm zone="AgsSaveFileClass"><primary>AgsSaveFileClass</primary></indexterm>
+<programlisting>struct AgsSaveFileClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-save-file-new" role="function">
+<title>ags_save_file_new ()</title>
+<indexterm zone="ags-save-file-new"><primary>ags_save_file_new</primary></indexterm>
+<programlisting><link linkend="AgsSaveFile"><returnvalue>AgsSaveFile</returnvalue></link> * ags_save_file_new (<parameter><link linkend="AgsFile"><type>AgsFile</type></link> *file</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_scroll_on_play.xml b/doc/reference/ags/xml/ags_scroll_on_play.xml
new file mode 100644
index 0000000..81efca5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_scroll_on_play.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsScrollOnPlay">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsScrollOnPlay.top_of_page">AgsScrollOnPlay</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsScrollOnPlay</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsScrollOnPlay.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsScrollOnPlay">AgsScrollOnPlay</link>;
+struct <link linkend="AgsScrollOnPlayClass">AgsScrollOnPlayClass</link>;
+<link linkend="AgsScrollOnPlay"><returnvalue>AgsScrollOnPlay</returnvalue></link> * <link linkend="ags-scroll-on-play-new">ags_scroll_on_play_new</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *editor</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsScrollOnPlay.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsScrollOnPlay.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsScrollOnPlay" role="struct">
+<title>struct AgsScrollOnPlay</title>
+<indexterm zone="AgsScrollOnPlay"><primary>AgsScrollOnPlay</primary></indexterm>
+<programlisting>struct AgsScrollOnPlay {
+ AgsTask task;
+
+ GtkWidget *editor;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsScrollOnPlayClass" role="struct">
+<title>struct AgsScrollOnPlayClass</title>
+<indexterm zone="AgsScrollOnPlayClass"><primary>AgsScrollOnPlayClass</primary></indexterm>
+<programlisting>struct AgsScrollOnPlayClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-scroll-on-play-new" role="function">
+<title>ags_scroll_on_play_new ()</title>
+<indexterm zone="ags-scroll-on-play-new"><primary>ags_scroll_on_play_new</primary></indexterm>
+<programlisting><link linkend="AgsScrollOnPlay"><returnvalue>AgsScrollOnPlay</returnvalue></link> * ags_scroll_on_play_new (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *editor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_seekable.xml b/doc/reference/ags/xml/ags_seekable.xml
new file mode 100644
index 0000000..12351fd
--- /dev/null
+++ b/doc/reference/ags/xml/ags_seekable.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSeekable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSeekable.top_of_page">AgsSeekable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSeekable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSeekable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsSeekable">AgsSeekable</link>;
+struct <link linkend="AgsSeekableInterface">AgsSeekableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-seekable-seek">ags_seekable_seek</link> (<parameter><link linkend="AgsSeekable"><type>AgsSeekable</type></link> *seekable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> steps</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> forward</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSeekable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSeekable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSeekable" role="typedef">
+<title>AgsSeekable</title>
+<indexterm zone="AgsSeekable"><primary>AgsSeekable</primary></indexterm>
+<programlisting>typedef void AgsSeekable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSeekableInterface" role="struct">
+<title>struct AgsSeekableInterface</title>
+<indexterm zone="AgsSeekableInterface"><primary>AgsSeekableInterface</primary></indexterm>
+<programlisting>struct AgsSeekableInterface {
+ GTypeInterface interface;
+
+ void (*seek)(AgsSeekable *seekable, guint steps, gboolean forward);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-seekable-seek" role="function">
+<title>ags_seekable_seek ()</title>
+<indexterm zone="ags-seekable-seek"><primary>ags_seekable_seek</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_seekable_seek (<parameter><link linkend="AgsSeekable"><type>AgsSeekable</type></link> *seekable</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> steps</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> forward</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_segment.xml b/doc/reference/ags/xml/ags_segment.xml
new file mode 100644
index 0000000..33362f5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_segment.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSegment">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSegment.top_of_page">AgsSegment</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSegment</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSegment.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>enum <link linkend="AGS-SEGMENT-FLAGS:CAPS">AGS_SEGMENT_FLAGS</link>;
+struct <link linkend="AgsSegment">AgsSegment</link>;
+struct <link linkend="AgsSegmentClass">AgsSegmentClass</link>;
+enum <link linkend="AgsSegmentFields">AgsSegmentFields</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-segment-draw-string">ags_segment_draw_string</link> (<parameter><link linkend="AgsSegment"><type>AgsSegment</type></link> *segment</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **string</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-segment-field-off">ags_segment_field_off</link> (<parameter><link linkend="AgsSegment"><type>AgsSegment</type></link> *segment</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> field</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-segment-field-on">ags_segment_field_on</link> (<parameter><link linkend="AgsSegment"><type>AgsSegment</type></link> *segment</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> field</parameter>);
+<link linkend="AgsSegment"><returnvalue>AgsSegment</returnvalue></link> * <link linkend="ags-segment-new">ags_segment_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSegment.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSegment.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-SEGMENT-FLAGS:CAPS" role="enum">
+<title>enum AGS_SEGMENT_FLAGS</title>
+<indexterm zone="AGS-SEGMENT-FLAGS:CAPS"><primary>AGS_SEGMENT_FLAGS</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_SEGMENT_MONOCHROME = 1,
+ AGS_SEGMENT_COLOR_RED = 1 << 1,
+ AGS_SEGMENT_COLOR_BLUE = 1 << 2,
+ AGS_SGEMENT_COLOR_GREEN = 1 << 3,
+} AGS_SEGMENT_FLAGS;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSegment" role="struct">
+<title>struct AgsSegment</title>
+<indexterm zone="AgsSegment"><primary>AgsSegment</primary></indexterm>
+<programlisting>struct AgsSegment {
+ GtkWidget widget;
+
+ guint flags;
+
+ guint count;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSegmentClass" role="struct">
+<title>struct AgsSegmentClass</title>
+<indexterm zone="AgsSegmentClass"><primary>AgsSegmentClass</primary></indexterm>
+<programlisting>struct AgsSegmentClass {
+ GtkWidgetClass widget;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSegmentFields" role="enum">
+<title>enum AgsSegmentFields</title>
+<indexterm zone="AgsSegmentFields"><primary>AgsSegmentFields</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_SEGMENT_UPPER_LEFT = 1,
+ AGS_SEGMENT_UPPER_RIGHT = 1 << 1,
+ AGS_SEGMENT_LOWER_LEFT = 1 << 2,
+ AGS_SEGMENT_LOWER_RIGHT = 1 << 3,
+ AGS_SEGMENT_LEFT_UPPER_1 = 1 << 4,
+ AGS_SEGMENT_LEFT_UPPER_2 = 1 << 5,
+ AGS_SEGMENT_LEFT_LOWER_1 = 1 << 6,
+ AGS_SEGMENT_LEFT_LOWER_2 = 1 << 7,
+ AGS_SEGMENT_RIGHT_UPPER_1 = 1 << 8,
+ AGS_SEGMENT_RIGHT_UPPER_2 = 1 << 9,
+ AGS_SEGMENT_RIGHT_LOWER_1 = 1 << 10,
+ AGS_SEGMENT_RIGHT_LOWER_2 = 1 << 11,
+ AGS_SEGMENT_DIAGONAL_UPPER_LEFT_1 = 1 << 12,
+ AGS_SEGMENT_DIAGONAL_UPPER_LEFT_2 = 1 << 13,
+ AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_1 = 1 << 14,
+ AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_2 = 1 << 15,
+ AGS_SEGMENT_DIAGONAL_LOWER_LEFT_1 = 1 << 16,
+ AGS_SEGMENT_DIAGONAL_LOWER_LEFT_2 = 1 << 17,
+ AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_1 = 1 << 18,
+ AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_2 = 1 << 19,
+} AgsSegmentFields;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-segment-draw-string" role="function">
+<title>ags_segment_draw_string ()</title>
+<indexterm zone="ags-segment-draw-string"><primary>ags_segment_draw_string</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_segment_draw_string (<parameter><link linkend="AgsSegment"><type>AgsSegment</type></link> *segment</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> **string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-segment-field-off" role="function">
+<title>ags_segment_field_off ()</title>
+<indexterm zone="ags-segment-field-off"><primary>ags_segment_field_off</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_segment_field_off (<parameter><link linkend="AgsSegment"><type>AgsSegment</type></link> *segment</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> field</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-segment-field-on" role="function">
+<title>ags_segment_field_on ()</title>
+<indexterm zone="ags-segment-field-on"><primary>ags_segment_field_on</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_segment_field_on (<parameter><link linkend="AgsSegment"><type>AgsSegment</type></link> *segment</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> field</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-segment-new" role="function">
+<title>ags_segment_new ()</title>
+<indexterm zone="ags-segment-new"><primary>ags_segment_new</primary></indexterm>
+<programlisting><link linkend="AgsSegment"><returnvalue>AgsSegment</returnvalue></link> * ags_segment_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_server.xml b/doc/reference/ags/xml/ags_server.xml
new file mode 100644
index 0000000..98784f3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_server.xml
@@ -0,0 +1,128 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsServer">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsServer.top_of_page">AgsServer</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsServer</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsServer.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsServer">AgsServer</link>;
+struct <link linkend="AgsServerClass">AgsServerClass</link>;
+enum <link linkend="AgsServerFlags">AgsServerFlags</link>;
+<link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * <link linkend="ags-server-create-object">ags_server_create_object</link> (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);
+<link linkend="AgsServer"><returnvalue>AgsServer</returnvalue></link> * <link linkend="ags-server-lookup">ags_server_lookup</link> (<parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);
+<link linkend="AgsServer"><returnvalue>AgsServer</returnvalue></link> * <link linkend="ags-server-new">ags_server_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *main</parameter>);
+<link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * <link linkend="ags-server-object-set-property">ags_server_object_set_property</link> (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-server-start">ags_server_start</link> (<parameter><link linkend="AgsServer"><type>AgsServer</type></link> *server</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsServer.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsServer.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsServer" role="struct">
+<title>struct AgsServer</title>
+<indexterm zone="AgsServer"><primary>AgsServer</primary></indexterm>
+<programlisting>struct AgsServer {
+ GObject object;
+
+ guint flags;
+
+#ifdef AGS_WITH_XMLRPC_C
+ TServer abyss_server;
+ TSocket *socket;
+#endif
+ int socket_fd;
+ struct sockaddr_in address;
+
+ void *server_info;
+
+ GObject *main;
+
+ AgsRegistry *registry;
+ AgsRemoteTask *remote_task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsServerClass" role="struct">
+<title>struct AgsServerClass</title>
+<indexterm zone="AgsServerClass"><primary>AgsServerClass</primary></indexterm>
+<programlisting>struct AgsServerClass {
+ GObjectClass object;
+
+ void (*start)(AgsServer *server);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsServerFlags" role="enum">
+<title>enum AgsServerFlags</title>
+<indexterm zone="AgsServerFlags"><primary>AgsServerFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_SERVER_STARTED = 1,
+ AGS_SERVER_RUNNING = 1 << 1,
+} AgsServerFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-server-create-object" role="function">
+<title>ags_server_create_object ()</title>
+<indexterm zone="ags-server-create-object"><primary>ags_server_create_object</primary></indexterm>
+<programlisting><link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * ags_server_create_object (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-server-lookup" role="function">
+<title>ags_server_lookup ()</title>
+<indexterm zone="ags-server-lookup"><primary>ags_server_lookup</primary></indexterm>
+<programlisting><link linkend="AgsServer"><returnvalue>AgsServer</returnvalue></link> * ags_server_lookup (<parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-server-new" role="function">
+<title>ags_server_new ()</title>
+<indexterm zone="ags-server-new"><primary>ags_server_new</primary></indexterm>
+<programlisting><link linkend="AgsServer"><returnvalue>AgsServer</returnvalue></link> * ags_server_new (<parameter><link linkend="GObject"><type>GObject</type></link> *main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-server-object-set-property" role="function">
+<title>ags_server_object_set_property ()</title>
+<indexterm zone="ags-server-object-set-property"><primary>ags_server_object_set_property</primary></indexterm>
+<programlisting><link linkend="xmlrpc-value"><returnvalue>xmlrpc_value</returnvalue></link> * ags_server_object_set_property (<parameter><link linkend="xmlrpc-env"><type>xmlrpc_env</type></link> *env</parameter>,
+ <parameter><link linkend="xmlrpc-value"><type>xmlrpc_value</type></link> *param_array</parameter>,
+ <parameter><link linkend="void"><type>void</type></link> *server_info</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-server-start" role="function">
+<title>ags_server_start ()</title>
+<indexterm zone="ags-server-start"><primary>ags_server_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_server_start (<parameter><link linkend="AgsServer"><type>AgsServer</type></link> *server</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_server_preferences.xml b/doc/reference/ags/xml/ags_server_preferences.xml
new file mode 100644
index 0000000..511ad13
--- /dev/null
+++ b/doc/reference/ags/xml/ags_server_preferences.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsServerPreferences">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsServerPreferences.top_of_page">AgsServerPreferences</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsServerPreferences</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsServerPreferences.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsServerPreferences">AgsServerPreferences</link>;
+struct <link linkend="AgsServerPreferencesClass">AgsServerPreferencesClass</link>;
+<link linkend="AgsServerPreferences"><returnvalue>AgsServerPreferences</returnvalue></link> * <link linkend="ags-server-preferences-new">ags_server_preferences_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsServerPreferences.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsServerPreferences.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsServerPreferences" role="struct">
+<title>struct AgsServerPreferences</title>
+<indexterm zone="AgsServerPreferences"><primary>AgsServerPreferences</primary></indexterm>
+<programlisting>struct AgsServerPreferences {
+ GtkVBox vbox;
+
+ GtkCheckButton *start;
+
+ GtkEntry *address;
+ GtkEntry *port;
+
+ GtkEntry *username;
+ GtkEntry *password;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsServerPreferencesClass" role="struct">
+<title>struct AgsServerPreferencesClass</title>
+<indexterm zone="AgsServerPreferencesClass"><primary>AgsServerPreferencesClass</primary></indexterm>
+<programlisting>struct AgsServerPreferencesClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-server-preferences-new" role="function">
+<title>ags_server_preferences_new ()</title>
+<indexterm zone="ags-server-preferences-new"><primary>ags_server_preferences_new</primary></indexterm>
+<programlisting><link linkend="AgsServerPreferences"><returnvalue>AgsServerPreferences</returnvalue></link> * ags_server_preferences_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_set_audio_channels.xml b/doc/reference/ags/xml/ags_set_audio_channels.xml
new file mode 100644
index 0000000..a80c840
--- /dev/null
+++ b/doc/reference/ags/xml/ags_set_audio_channels.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSetAudioChannels">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSetAudioChannels.top_of_page">AgsSetAudioChannels</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSetAudioChannels</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSetAudioChannels.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSetAudioChannels">AgsSetAudioChannels</link>;
+struct <link linkend="AgsSetAudioChannelsClass">AgsSetAudioChannelsClass</link>;
+<link linkend="AgsSetAudioChannels"><returnvalue>AgsSetAudioChannels</returnvalue></link> * <link linkend="ags-set-audio-channels-new">ags_set_audio_channels_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSetAudioChannels.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSetAudioChannels.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSetAudioChannels" role="struct">
+<title>struct AgsSetAudioChannels</title>
+<indexterm zone="AgsSetAudioChannels"><primary>AgsSetAudioChannels</primary></indexterm>
+<programlisting>struct AgsSetAudioChannels {
+ AgsTask task;
+
+ AgsDevout *devout;
+ guint audio_channels;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSetAudioChannelsClass" role="struct">
+<title>struct AgsSetAudioChannelsClass</title>
+<indexterm zone="AgsSetAudioChannelsClass"><primary>AgsSetAudioChannelsClass</primary></indexterm>
+<programlisting>struct AgsSetAudioChannelsClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-set-audio-channels-new" role="function">
+<title>ags_set_audio_channels_new ()</title>
+<indexterm zone="ags-set-audio-channels-new"><primary>ags_set_audio_channels_new</primary></indexterm>
+<programlisting><link linkend="AgsSetAudioChannels"><returnvalue>AgsSetAudioChannels</returnvalue></link> * ags_set_audio_channels_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> audio_channels</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_set_buffer_size.xml b/doc/reference/ags/xml/ags_set_buffer_size.xml
new file mode 100644
index 0000000..c3fa9b4
--- /dev/null
+++ b/doc/reference/ags/xml/ags_set_buffer_size.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSetBufferSize">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSetBufferSize.top_of_page">AgsSetBufferSize</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSetBufferSize</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSetBufferSize.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSetBufferSize">AgsSetBufferSize</link>;
+struct <link linkend="AgsSetBufferSizeClass">AgsSetBufferSizeClass</link>;
+<link linkend="AgsSetBufferSize"><returnvalue>AgsSetBufferSize</returnvalue></link> * <link linkend="ags-set-buffer-size-new">ags_set_buffer_size_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSetBufferSize.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSetBufferSize.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSetBufferSize" role="struct">
+<title>struct AgsSetBufferSize</title>
+<indexterm zone="AgsSetBufferSize"><primary>AgsSetBufferSize</primary></indexterm>
+<programlisting>struct AgsSetBufferSize {
+ AgsTask task;
+
+ GObject *gobject;
+ guint buffer_size;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSetBufferSizeClass" role="struct">
+<title>struct AgsSetBufferSizeClass</title>
+<indexterm zone="AgsSetBufferSizeClass"><primary>AgsSetBufferSizeClass</primary></indexterm>
+<programlisting>struct AgsSetBufferSizeClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-set-buffer-size-new" role="function">
+<title>ags_set_buffer_size_new ()</title>
+<indexterm zone="ags-set-buffer-size-new"><primary>ags_set_buffer_size_new</primary></indexterm>
+<programlisting><link linkend="AgsSetBufferSize"><returnvalue>AgsSetBufferSize</returnvalue></link> * ags_set_buffer_size_new (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> buffer_size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_set_devout_play_flags.xml b/doc/reference/ags/xml/ags_set_devout_play_flags.xml
new file mode 100644
index 0000000..8fab5df
--- /dev/null
+++ b/doc/reference/ags/xml/ags_set_devout_play_flags.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSetDevoutPlayFlags">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSetDevoutPlayFlags.top_of_page">AgsSetDevoutPlayFlags</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSetDevoutPlayFlags</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSetDevoutPlayFlags.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSetDevoutPlayFlags">AgsSetDevoutPlayFlags</link>;
+struct <link linkend="AgsSetDevoutPlayFlagsClass">AgsSetDevoutPlayFlagsClass</link>;
+<link linkend="AgsSetDevoutPlayFlags"><returnvalue>AgsSetDevoutPlayFlags</returnvalue></link> * <link linkend="ags-set-devout-play-flags-new">ags_set_devout_play_flags_new</link> (<parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> devout_play_flags</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSetDevoutPlayFlags.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSetDevoutPlayFlags.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSetDevoutPlayFlags" role="struct">
+<title>struct AgsSetDevoutPlayFlags</title>
+<indexterm zone="AgsSetDevoutPlayFlags"><primary>AgsSetDevoutPlayFlags</primary></indexterm>
+<programlisting>struct AgsSetDevoutPlayFlags {
+ AgsTask task;
+
+ AgsDevoutPlay *devout_play;
+ guint devout_play_flags;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSetDevoutPlayFlagsClass" role="struct">
+<title>struct AgsSetDevoutPlayFlagsClass</title>
+<indexterm zone="AgsSetDevoutPlayFlagsClass"><primary>AgsSetDevoutPlayFlagsClass</primary></indexterm>
+<programlisting>struct AgsSetDevoutPlayFlagsClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-set-devout-play-flags-new" role="function">
+<title>ags_set_devout_play_flags_new ()</title>
+<indexterm zone="ags-set-devout-play-flags-new"><primary>ags_set_devout_play_flags_new</primary></indexterm>
+<programlisting><link linkend="AgsSetDevoutPlayFlags"><returnvalue>AgsSetDevoutPlayFlags</returnvalue></link> * ags_set_devout_play_flags_new (<parameter><link linkend="AgsDevoutPlay"><type>AgsDevoutPlay</type></link> *play</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> devout_play_flags</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_set_muted.xml b/doc/reference/ags/xml/ags_set_muted.xml
new file mode 100644
index 0000000..f0e8f40
--- /dev/null
+++ b/doc/reference/ags/xml/ags_set_muted.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSetMuted">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSetMuted.top_of_page">AgsSetMuted</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSetMuted</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSetMuted.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSetMuted">AgsSetMuted</link>;
+struct <link linkend="AgsSetMutedClass">AgsSetMutedClass</link>;
+<link linkend="AgsSetMuted"><returnvalue>AgsSetMuted</returnvalue></link> * <link linkend="ags-set-muted-new">ags_set_muted_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> muted</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSetMuted.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSetMuted.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSetMuted" role="struct">
+<title>struct AgsSetMuted</title>
+<indexterm zone="AgsSetMuted"><primary>AgsSetMuted</primary></indexterm>
+<programlisting>struct AgsSetMuted {
+ AgsTask task;
+
+ GObject *gobject;
+
+ gboolean muted;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSetMutedClass" role="struct">
+<title>struct AgsSetMutedClass</title>
+<indexterm zone="AgsSetMutedClass"><primary>AgsSetMutedClass</primary></indexterm>
+<programlisting>struct AgsSetMutedClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-set-muted-new" role="function">
+<title>ags_set_muted_new ()</title>
+<indexterm zone="ags-set-muted-new"><primary>ags_set_muted_new</primary></indexterm>
+<programlisting><link linkend="AgsSetMuted"><returnvalue>AgsSetMuted</returnvalue></link> * ags_set_muted_new (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> muted</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_set_output_device.xml b/doc/reference/ags/xml/ags_set_output_device.xml
new file mode 100644
index 0000000..eec6e4a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_set_output_device.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSetOutputDevice">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSetOutputDevice.top_of_page">AgsSetOutputDevice</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSetOutputDevice</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSetOutputDevice.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSetOutputDevice">AgsSetOutputDevice</link>;
+struct <link linkend="AgsSetOutputDeviceClass">AgsSetOutputDeviceClass</link>;
+<link linkend="AgsSetOutputDevice"><returnvalue>AgsSetOutputDevice</returnvalue></link> * <link linkend="ags-set-output-device-new">ags_set_output_device_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *card_id</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSetOutputDevice.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSetOutputDevice.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSetOutputDevice" role="struct">
+<title>struct AgsSetOutputDevice</title>
+<indexterm zone="AgsSetOutputDevice"><primary>AgsSetOutputDevice</primary></indexterm>
+<programlisting>struct AgsSetOutputDevice {
+ AgsTask task;
+
+ GObject *devout;
+ char *card_id;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSetOutputDeviceClass" role="struct">
+<title>struct AgsSetOutputDeviceClass</title>
+<indexterm zone="AgsSetOutputDeviceClass"><primary>AgsSetOutputDeviceClass</primary></indexterm>
+<programlisting>struct AgsSetOutputDeviceClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-set-output-device-new" role="function">
+<title>ags_set_output_device_new ()</title>
+<indexterm zone="ags-set-output-device-new"><primary>ags_set_output_device_new</primary></indexterm>
+<programlisting><link linkend="AgsSetOutputDevice"><returnvalue>AgsSetOutputDevice</returnvalue></link> * ags_set_output_device_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *card_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_set_samplerate.xml b/doc/reference/ags/xml/ags_set_samplerate.xml
new file mode 100644
index 0000000..e3df688
--- /dev/null
+++ b/doc/reference/ags/xml/ags_set_samplerate.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSetSamplerate">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSetSamplerate.top_of_page">AgsSetSamplerate</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSetSamplerate</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSetSamplerate.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSetSamplerate">AgsSetSamplerate</link>;
+struct <link linkend="AgsSetSamplerateClass">AgsSetSamplerateClass</link>;
+<link linkend="AgsSetSamplerate"><returnvalue>AgsSetSamplerate</returnvalue></link> * <link linkend="ags-set-samplerate-new">ags_set_samplerate_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> samplerate</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSetSamplerate.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSetSamplerate.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSetSamplerate" role="struct">
+<title>struct AgsSetSamplerate</title>
+<indexterm zone="AgsSetSamplerate"><primary>AgsSetSamplerate</primary></indexterm>
+<programlisting>struct AgsSetSamplerate {
+ AgsTask task;
+
+ GObject *gobject;
+ guint samplerate;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSetSamplerateClass" role="struct">
+<title>struct AgsSetSamplerateClass</title>
+<indexterm zone="AgsSetSamplerateClass"><primary>AgsSetSamplerateClass</primary></indexterm>
+<programlisting>struct AgsSetSamplerateClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-set-samplerate-new" role="function">
+<title>ags_set_samplerate_new ()</title>
+<indexterm zone="ags-set-samplerate-new"><primary>ags_set_samplerate_new</primary></indexterm>
+<programlisting><link linkend="AgsSetSamplerate"><returnvalue>AgsSetSamplerate</returnvalue></link> * ags_set_samplerate_new (<parameter><link linkend="GObject"><type>GObject</type></link> *gobject</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> samplerate</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_sf2_chooser.xml b/doc/reference/ags/xml/ags_sf2_chooser.xml
new file mode 100644
index 0000000..99940aa
--- /dev/null
+++ b/doc/reference/ags/xml/ags_sf2_chooser.xml
@@ -0,0 +1,94 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSF2Chooser">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSF2Chooser.top_of_page">AgsSF2Chooser</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSF2Chooser</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSF2Chooser.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSF2Chooser">AgsSF2Chooser</link>;
+struct <link linkend="AgsSF2ChooserClass">AgsSF2ChooserClass</link>;
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-sf2-chooser-completed">ags_sf2_chooser_completed</link> (<parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);
+<link linkend="AgsSF2Chooser"><returnvalue>AgsSF2Chooser</returnvalue></link> * <link linkend="ags-sf2-chooser-new">ags_sf2_chooser_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-sf2-chooser-open">ags_sf2_chooser_open</link> (<parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-sf2-chooser-remove-all-from-combo">ags_sf2_chooser_remove_all_from_combo</link>
+ (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSF2Chooser.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSF2Chooser.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSF2Chooser" role="struct">
+<title>struct AgsSF2Chooser</title>
+<indexterm zone="AgsSF2Chooser"><primary>AgsSF2Chooser</primary></indexterm>
+<programlisting>struct AgsSF2Chooser {
+ GtkVBox vbox;
+
+ AgsIpatch *ipatch;
+
+ GtkComboBoxText *preset;
+ GtkComboBoxText *instrument;
+ GtkComboBoxText *sample;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSF2ChooserClass" role="struct">
+<title>struct AgsSF2ChooserClass</title>
+<indexterm zone="AgsSF2ChooserClass"><primary>AgsSF2ChooserClass</primary></indexterm>
+<programlisting>struct AgsSF2ChooserClass {
+ GtkVBoxClass vbox;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-sf2-chooser-completed" role="function">
+<title>ags_sf2_chooser_completed ()</title>
+<indexterm zone="ags-sf2-chooser-completed"><primary>ags_sf2_chooser_completed</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_sf2_chooser_completed (<parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-sf2-chooser-new" role="function">
+<title>ags_sf2_chooser_new ()</title>
+<indexterm zone="ags-sf2-chooser-new"><primary>ags_sf2_chooser_new</primary></indexterm>
+<programlisting><link linkend="AgsSF2Chooser"><returnvalue>AgsSF2Chooser</returnvalue></link> * ags_sf2_chooser_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-sf2-chooser-open" role="function">
+<title>ags_sf2_chooser_open ()</title>
+<indexterm zone="ags-sf2-chooser-open"><primary>ags_sf2_chooser_open</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_sf2_chooser_open (<parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *filename</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-sf2-chooser-remove-all-from-combo" role="function">
+<title>ags_sf2_chooser_remove_all_from_combo ()</title>
+<indexterm zone="ags-sf2-chooser-remove-all-from-combo"><primary>ags_sf2_chooser_remove_all_from_combo</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_sf2_chooser_remove_all_from_combo
+ (<parameter><link linkend="GtkComboBoxText"><type>GtkComboBoxText</type></link> *combo</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_sf2_chooser_callbacks.xml b/doc/reference/ags/xml/ags_sf2_chooser_callbacks.xml
new file mode 100644
index 0000000..0064701
--- /dev/null
+++ b/doc/reference/ags/xml/ags_sf2_chooser_callbacks.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-sf2-chooser-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-sf2-chooser-callbacks.top_of_page">ags_sf2_chooser_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_sf2_chooser_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-sf2-chooser-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-sf2-chooser-instrument-changed">ags_sf2_chooser_instrument_changed</link> (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-sf2-chooser-preset-changed">ags_sf2_chooser_preset_changed</link> (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-sf2-chooser-sample-changed">ags_sf2_chooser_sample_changed</link> (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-sf2-chooser-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-sf2-chooser-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-sf2-chooser-instrument-changed" role="function">
+<title>ags_sf2_chooser_instrument_changed ()</title>
+<indexterm zone="ags-sf2-chooser-instrument-changed"><primary>ags_sf2_chooser_instrument_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_sf2_chooser_instrument_changed (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-sf2-chooser-preset-changed" role="function">
+<title>ags_sf2_chooser_preset_changed ()</title>
+<indexterm zone="ags-sf2-chooser-preset-changed"><primary>ags_sf2_chooser_preset_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_sf2_chooser_preset_changed (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-sf2-chooser-sample-changed" role="function">
+<title>ags_sf2_chooser_sample_changed ()</title>
+<indexterm zone="ags-sf2-chooser-sample-changed"><primary>ags_sf2_chooser_sample_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_sf2_chooser_sample_changed (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsSF2Chooser"><type>AgsSF2Chooser</type></link> *sf2_chooser</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_single_thread.xml b/doc/reference/ags/xml/ags_single_thread.xml
new file mode 100644
index 0000000..febaf4f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_single_thread.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSingleThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSingleThread.top_of_page">AgsSingleThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSingleThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSingleThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-SINGLE-THREAD-DEFAULT-GUI-JIFFIE:CAPS">AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE</link>
+struct <link linkend="AgsSingleThread">AgsSingleThread</link>;
+struct <link linkend="AgsSingleThreadClass">AgsSingleThreadClass</link>;
+<link linkend="AgsSingleThread"><returnvalue>AgsSingleThread</returnvalue></link> * <link linkend="ags-single-thread-new">ags_single_thread_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSingleThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSingleThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-SINGLE-THREAD-DEFAULT-GUI-JIFFIE:CAPS" role="macro">
+<title>AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE</title>
+<indexterm zone="AGS-SINGLE-THREAD-DEFAULT-GUI-JIFFIE:CAPS"><primary>AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE (30)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSingleThread" role="struct">
+<title>struct AgsSingleThread</title>
+<indexterm zone="AgsSingleThread"><primary>AgsSingleThread</primary></indexterm>
+<programlisting>struct AgsSingleThread {
+ AgsThread thread;
+
+ AgsAudioLoop *audio_loop;
+ AgsDevoutThread *devout_thread;
+ AgsTaskThread *task_thread;
+ AgsGuiThread *gui_thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSingleThreadClass" role="struct">
+<title>struct AgsSingleThreadClass</title>
+<indexterm zone="AgsSingleThreadClass"><primary>AgsSingleThreadClass</primary></indexterm>
+<programlisting>struct AgsSingleThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-single-thread-new" role="function">
+<title>ags_single_thread_new ()</title>
+<indexterm zone="ags-single-thread-new"><primary>ags_single_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsSingleThread"><returnvalue>AgsSingleThread</returnvalue></link> * ags_single_thread_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_sndfile.xml b/doc/reference/ags/xml/ags_sndfile.xml
new file mode 100644
index 0000000..38dcc65
--- /dev/null
+++ b/doc/reference/ags/xml/ags_sndfile.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSndfile">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSndfile.top_of_page">AgsSndfile</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSndfile</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSndfile.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSndfile">AgsSndfile</link>;
+struct <link linkend="AgsSndfileClass">AgsSndfileClass</link>;
+enum <link linkend="AgsSndfileFlags">AgsSndfileFlags</link>;
+<link linkend="AgsSndfile"><returnvalue>AgsSndfile</returnvalue></link> * <link linkend="ags-sndfile-new">ags_sndfile_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSndfile.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSndfile.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSndfile" role="struct">
+<title>struct AgsSndfile</title>
+<indexterm zone="AgsSndfile"><primary>AgsSndfile</primary></indexterm>
+<programlisting>struct AgsSndfile {
+ GObject object;
+
+ guint flags;
+
+ SF_INFO *info;
+ SNDFILE *file;
+
+ guchar *pointer;
+ guchar *current;
+ gsize length;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSndfileClass" role="struct">
+<title>struct AgsSndfileClass</title>
+<indexterm zone="AgsSndfileClass"><primary>AgsSndfileClass</primary></indexterm>
+<programlisting>struct AgsSndfileClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSndfileFlags" role="enum">
+<title>enum AgsSndfileFlags</title>
+<indexterm zone="AgsSndfileFlags"><primary>AgsSndfileFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_SNDFILE_ITER_START = 1,
+ AGS_SNDFILE_VIRTUAL = 1 << 1,
+} AgsSndfileFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-sndfile-new" role="function">
+<title>ags_sndfile_new ()</title>
+<indexterm zone="ags-sndfile-new"><primary>ags_sndfile_new</primary></indexterm>
+<programlisting><link linkend="AgsSndfile"><returnvalue>AgsSndfile</returnvalue></link> * ags_sndfile_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_soundcard.xml b/doc/reference/ags/xml/ags_soundcard.xml
new file mode 100644
index 0000000..411d0e8
--- /dev/null
+++ b/doc/reference/ags/xml/ags_soundcard.xml
@@ -0,0 +1,122 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSoundcard">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSoundcard.top_of_page">AgsSoundcard</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSoundcard</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSoundcard.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsSoundcard">AgsSoundcard</link>;
+struct <link linkend="AgsSoundcardInterface">AgsSoundcardInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-soundcard-list-cards">ags_soundcard_list_cards</link> (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_id</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_name</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-soundcard-offset-changed">ags_soundcard_offset_changed</link> (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> note_offset</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-soundcard-pcm-info">ags_soundcard_pcm_info</link> (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *card_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_max</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-soundcard-tic">ags_soundcard_tic</link> (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSoundcard.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSoundcard.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSoundcard" role="typedef">
+<title>AgsSoundcard</title>
+<indexterm zone="AgsSoundcard"><primary>AgsSoundcard</primary></indexterm>
+<programlisting>typedef void AgsSoundcard;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSoundcardInterface" role="struct">
+<title>struct AgsSoundcardInterface</title>
+<indexterm zone="AgsSoundcardInterface"><primary>AgsSoundcardInterface</primary></indexterm>
+<programlisting>struct AgsSoundcardInterface {
+ GTypeInterface interface;
+
+ void (*list_cards)(AgsSoundcard *soundcard,
+ GList **card_id, GList **card_name);
+ void (*pcm_info)(AgsSoundcard *soundcard, gchar *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error);
+
+ void (*play_init)(AgsSoundcard *soundcard,
+ GError **error);
+ void (*play)(AgsSoundcard *soundcard,
+ GError **error);
+ void (*stop)(AgsSoundcard *soundcard);
+
+ void (*tic)(AgsSoundcard *soundcard);
+ void (*offset_changed)(AgsSoundcard *soundcard, guint note_offset);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-soundcard-list-cards" role="function">
+<title>ags_soundcard_list_cards ()</title>
+<indexterm zone="ags-soundcard-list-cards"><primary>ags_soundcard_list_cards</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_soundcard_list_cards (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_id</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> **card_name</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-soundcard-offset-changed" role="function">
+<title>ags_soundcard_offset_changed ()</title>
+<indexterm zone="ags-soundcard-offset-changed"><primary>ags_soundcard_offset_changed</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_soundcard_offset_changed (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> note_offset</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-soundcard-pcm-info" role="function">
+<title>ags_soundcard_pcm_info ()</title>
+<indexterm zone="ags-soundcard-pcm-info"><primary>ags_soundcard_pcm_info</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_soundcard_pcm_info (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *card_id</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *channels_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *rate_max</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_min</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> *buffer_size_max</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-soundcard-tic" role="function">
+<title>ags_soundcard_tic ()</title>
+<indexterm zone="ags-soundcard-tic"><primary>ags_soundcard_tic</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_soundcard_tic (<parameter><link linkend="AgsSoundcard"><type>AgsSoundcard</type></link> *soundcard</parameter>);</programlisting>
+<para>
+Callback when counter expires minor note offset.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_stackable.xml b/doc/reference/ags/xml/ags_stackable.xml
new file mode 100644
index 0000000..7971544
--- /dev/null
+++ b/doc/reference/ags/xml/ags_stackable.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsStackable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsStackable.top_of_page">AgsStackable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsStackable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsStackable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsStackable">AgsStackable</link>;
+struct <link linkend="AgsStackableInterface">AgsStackableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-stackable-pop">ags_stackable_pop</link> (<parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-stackable-push">ags_stackable_push</link> (<parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsStackable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsStackable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsStackable" role="typedef">
+<title>AgsStackable</title>
+<indexterm zone="AgsStackable"><primary>AgsStackable</primary></indexterm>
+<programlisting>typedef void AgsStackable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsStackableInterface" role="struct">
+<title>struct AgsStackableInterface</title>
+<indexterm zone="AgsStackableInterface"><primary>AgsStackableInterface</primary></indexterm>
+<programlisting>struct AgsStackableInterface {
+ GTypeInterface interface;
+
+ void (*push)(AgsStackable *stackable);
+ void (*pop)(AgsStackable *stackable);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stackable-pop" role="function">
+<title>ags_stackable_pop ()</title>
+<indexterm zone="ags-stackable-pop"><primary>ags_stackable_pop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_stackable_pop (<parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stackable-push" role="function">
+<title>ags_stackable_push ()</title>
+<indexterm zone="ags-stackable-push"><primary>ags_stackable_push</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_stackable_push (<parameter><link linkend="AgsStackable"><type>AgsStackable</type></link> *stackable</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_start_devout.xml b/doc/reference/ags/xml/ags_start_devout.xml
new file mode 100644
index 0000000..48e10bf
--- /dev/null
+++ b/doc/reference/ags/xml/ags_start_devout.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsStartDevout">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsStartDevout.top_of_page">AgsStartDevout</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsStartDevout</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsStartDevout.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsStartDevout">AgsStartDevout</link>;
+struct <link linkend="AgsStartDevoutClass">AgsStartDevoutClass</link>;
+<link linkend="AgsStartDevout"><returnvalue>AgsStartDevout</returnvalue></link> * <link linkend="ags-start-devout-new">ags_start_devout_new</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsStartDevout.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsStartDevout.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsStartDevout" role="struct">
+<title>struct AgsStartDevout</title>
+<indexterm zone="AgsStartDevout"><primary>AgsStartDevout</primary></indexterm>
+<programlisting>struct AgsStartDevout {
+ AgsTask task;
+
+ AgsDevout *devout;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsStartDevoutClass" role="struct">
+<title>struct AgsStartDevoutClass</title>
+<indexterm zone="AgsStartDevoutClass"><primary>AgsStartDevoutClass</primary></indexterm>
+<programlisting>struct AgsStartDevoutClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-start-devout-new" role="function">
+<title>ags_start_devout_new ()</title>
+<indexterm zone="ags-start-devout-new"><primary>ags_start_devout_new</primary></indexterm>
+<programlisting><link linkend="AgsStartDevout"><returnvalue>AgsStartDevout</returnvalue></link> * ags_start_devout_new (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_stream.xml b/doc/reference/ags/xml/ags_stream.xml
new file mode 100644
index 0000000..f330713
--- /dev/null
+++ b/doc/reference/ags/xml/ags_stream.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsStream">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsStream.top_of_page">AgsStream</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsStream</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsStream.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsStream">AgsStream</link>;
+struct <link linkend="AgsStreamClass">AgsStreamClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-stream">ags_stream</link> (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+<link linkend="AgsStream"><returnvalue>AgsStream</returnvalue></link> * <link linkend="ags-stream-new">ags_stream_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsStream.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsStream.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsStream" role="struct">
+<title>struct AgsStream</title>
+<indexterm zone="AgsStream"><primary>AgsStream</primary></indexterm>
+<programlisting>struct AgsStream {
+ AgsRecall recall;
+
+ AgsAudioSignal *audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsStreamClass" role="struct">
+<title>struct AgsStreamClass</title>
+<indexterm zone="AgsStreamClass"><primary>AgsStreamClass</primary></indexterm>
+<programlisting>struct AgsStreamClass {
+ AgsRecallClass recall;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stream" role="function">
+<title>ags_stream ()</title>
+<indexterm zone="ags-stream"><primary>ags_stream</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_stream (<parameter><link linkend="AgsRecall"><type>AgsRecall</type></link> *recall</parameter>,
+ <parameter><link linkend="AgsRecallID"><type>AgsRecallID</type></link> *recall_id</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stream-new" role="function">
+<title>ags_stream_new ()</title>
+<indexterm zone="ags-stream-new"><primary>ags_stream_new</primary></indexterm>
+<programlisting><link linkend="AgsStream"><returnvalue>AgsStream</returnvalue></link> * ags_stream_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_stream_audio_signal.xml b/doc/reference/ags/xml/ags_stream_audio_signal.xml
new file mode 100644
index 0000000..1790294
--- /dev/null
+++ b/doc/reference/ags/xml/ags_stream_audio_signal.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsStreamAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsStreamAudioSignal.top_of_page">AgsStreamAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsStreamAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsStreamAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsStreamAudioSignal">AgsStreamAudioSignal</link>;
+struct <link linkend="AgsStreamAudioSignalClass">AgsStreamAudioSignalClass</link>;
+<link linkend="AgsStreamAudioSignal"><returnvalue>AgsStreamAudioSignal</returnvalue></link> * <link linkend="ags-stream-audio-signal-new">ags_stream_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsStreamAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsStreamAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsStreamAudioSignal" role="struct">
+<title>struct AgsStreamAudioSignal</title>
+<indexterm zone="AgsStreamAudioSignal"><primary>AgsStreamAudioSignal</primary></indexterm>
+<programlisting>struct AgsStreamAudioSignal {
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsStreamAudioSignalClass" role="struct">
+<title>struct AgsStreamAudioSignalClass</title>
+<indexterm zone="AgsStreamAudioSignalClass"><primary>AgsStreamAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsStreamAudioSignalClass {
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stream-audio-signal-new" role="function">
+<title>ags_stream_audio_signal_new ()</title>
+<indexterm zone="ags-stream-audio-signal-new"><primary>ags_stream_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsStreamAudioSignal"><returnvalue>AgsStreamAudioSignal</returnvalue></link> * ags_stream_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_stream_channel.xml b/doc/reference/ags/xml/ags_stream_channel.xml
new file mode 100644
index 0000000..d154a96
--- /dev/null
+++ b/doc/reference/ags/xml/ags_stream_channel.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsStreamChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsStreamChannel.top_of_page">AgsStreamChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsStreamChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsStreamChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsStreamChannel">AgsStreamChannel</link>;
+struct <link linkend="AgsStreamChannelClass">AgsStreamChannelClass</link>;
+<link linkend="AgsStreamChannel"><returnvalue>AgsStreamChannel</returnvalue></link> * <link linkend="ags-stream-channel-new">ags_stream_channel_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsStreamChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsStreamChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsStreamChannel" role="struct">
+<title>struct AgsStreamChannel</title>
+<indexterm zone="AgsStreamChannel"><primary>AgsStreamChannel</primary></indexterm>
+<programlisting>struct AgsStreamChannel {
+ AgsRecallChannel recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsStreamChannelClass" role="struct">
+<title>struct AgsStreamChannelClass</title>
+<indexterm zone="AgsStreamChannelClass"><primary>AgsStreamChannelClass</primary></indexterm>
+<programlisting>struct AgsStreamChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stream-channel-new" role="function">
+<title>ags_stream_channel_new ()</title>
+<indexterm zone="ags-stream-channel-new"><primary>ags_stream_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsStreamChannel"><returnvalue>AgsStreamChannel</returnvalue></link> * ags_stream_channel_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_stream_channel_run.xml b/doc/reference/ags/xml/ags_stream_channel_run.xml
new file mode 100644
index 0000000..2905918
--- /dev/null
+++ b/doc/reference/ags/xml/ags_stream_channel_run.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsStreamChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsStreamChannelRun.top_of_page">AgsStreamChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsStreamChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsStreamChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsStreamChannelRun">AgsStreamChannelRun</link>;
+struct <link linkend="AgsStreamChannelRunClass">AgsStreamChannelRunClass</link>;
+<link linkend="AgsStreamChannelRun"><returnvalue>AgsStreamChannelRun</returnvalue></link> * <link linkend="ags-stream-channel-run-new">ags_stream_channel_run_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsStreamChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsStreamChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsStreamChannelRun" role="struct">
+<title>struct AgsStreamChannelRun</title>
+<indexterm zone="AgsStreamChannelRun"><primary>AgsStreamChannelRun</primary></indexterm>
+<programlisting>struct AgsStreamChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsStreamChannelRunClass" role="struct">
+<title>struct AgsStreamChannelRunClass</title>
+<indexterm zone="AgsStreamChannelRunClass"><primary>AgsStreamChannelRunClass</primary></indexterm>
+<programlisting>struct AgsStreamChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stream-channel-run-new" role="function">
+<title>ags_stream_channel_run_new ()</title>
+<indexterm zone="ags-stream-channel-run-new"><primary>ags_stream_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsStreamChannelRun"><returnvalue>AgsStreamChannelRun</returnvalue></link> * ags_stream_channel_run_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_stream_recycling.xml b/doc/reference/ags/xml/ags_stream_recycling.xml
new file mode 100644
index 0000000..8100b09
--- /dev/null
+++ b/doc/reference/ags/xml/ags_stream_recycling.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsStreamRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsStreamRecycling.top_of_page">AgsStreamRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsStreamRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsStreamRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsStreamRecycling">AgsStreamRecycling</link>;
+struct <link linkend="AgsStreamRecyclingClass">AgsStreamRecyclingClass</link>;
+<link linkend="AgsStreamRecycling"><returnvalue>AgsStreamRecycling</returnvalue></link> * <link linkend="ags-stream-recycling-new">ags_stream_recycling_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsStreamRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsStreamRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsStreamRecycling" role="struct">
+<title>struct AgsStreamRecycling</title>
+<indexterm zone="AgsStreamRecycling"><primary>AgsStreamRecycling</primary></indexterm>
+<programlisting>struct AgsStreamRecycling {
+ AgsRecallRecycling recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsStreamRecyclingClass" role="struct">
+<title>struct AgsStreamRecyclingClass</title>
+<indexterm zone="AgsStreamRecyclingClass"><primary>AgsStreamRecyclingClass</primary></indexterm>
+<programlisting>struct AgsStreamRecyclingClass {
+ AgsRecallRecyclingClass recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-stream-recycling-new" role="function">
+<title>ags_stream_recycling_new ()</title>
+<indexterm zone="ags-stream-recycling-new"><primary>ags_stream_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsStreamRecycling"><returnvalue>AgsStreamRecycling</returnvalue></link> * ags_stream_recycling_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_synth.xml b/doc/reference/ags/xml/ags_synth.xml
new file mode 100644
index 0000000..ede6a01
--- /dev/null
+++ b/doc/reference/ags/xml/ags_synth.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSynth">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSynth.top_of_page">AgsSynth</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSynth</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSynth.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSynth">AgsSynth</link>;
+struct <link linkend="AgsSynthClass">AgsSynthClass</link>;
+enum <link linkend="AgsSynthFlags">AgsSynthFlags</link>;
+<link linkend="AgsSynth"><returnvalue>AgsSynth</returnvalue></link> * <link linkend="ags-synth-new">ags_synth_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSynth.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSynth.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSynth" role="struct">
+<title>struct AgsSynth</title>
+<indexterm zone="AgsSynth"><primary>AgsSynth</primary></indexterm>
+<programlisting>struct AgsSynth {
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkVBox *input_pad;
+
+ GtkSpinButton *lower; // how many channels until to lowest freq
+ GtkSpinButton *loop_start;
+ GtkSpinButton *loop_end;
+
+ GtkCheckButton *auto_update;
+ GtkButton *update;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSynthClass" role="struct">
+<title>struct AgsSynthClass</title>
+<indexterm zone="AgsSynthClass"><primary>AgsSynthClass</primary></indexterm>
+<programlisting>struct AgsSynthClass {
+ AgsMachineClass machine;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSynthFlags" role="enum">
+<title>enum AgsSynthFlags</title>
+<indexterm zone="AgsSynthFlags"><primary>AgsSynthFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_SYNTH_AUTO_UPDATE = 1,
+} AgsSynthFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-synth-new" role="function">
+<title>ags_synth_new ()</title>
+<indexterm zone="ags-synth-new"><primary>ags_synth_new</primary></indexterm>
+<programlisting><link linkend="AgsSynth"><returnvalue>AgsSynth</returnvalue></link> * ags_synth_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_synth_callbacks.xml b/doc/reference/ags/xml/ags_synth_callbacks.xml
new file mode 100644
index 0000000..c4796d8
--- /dev/null
+++ b/doc/reference/ags/xml/ags_synth_callbacks.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-synth-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-synth-callbacks.top_of_page">ags_synth_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_synth_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-synth-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-auto-update-callback">ags_synth_auto_update_callback</link> (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-lower-callback">ags_synth_lower_callback</link> (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-parent-set-callback">ags_synth_parent_set_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-update-callback">ags_synth_update_callback</link> (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-synth-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-synth-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-synth-auto-update-callback" role="function">
+<title>ags_synth_auto_update_callback ()</title>
+<indexterm zone="ags-synth-auto-update-callback"><primary>ags_synth_auto_update_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_auto_update_callback (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-synth-lower-callback" role="function">
+<title>ags_synth_lower_callback ()</title>
+<indexterm zone="ags-synth-lower-callback"><primary>ags_synth_lower_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_lower_callback (<parameter><link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> *spin_button</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-synth-parent-set-callback" role="function">
+<title>ags_synth_parent_set_callback ()</title>
+<indexterm zone="ags-synth-parent-set-callback"><primary>ags_synth_parent_set_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_parent_set_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="GtkObject"><type>GtkObject</type></link> *old_parent</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-synth-update-callback" role="function">
+<title>ags_synth_update_callback ()</title>
+<indexterm zone="ags-synth-update-callback"><primary>ags_synth_update_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_update_callback (<parameter><link linkend="GtkButton"><type>GtkButton</type></link> *button</parameter>,
+ <parameter><link linkend="AgsSynth"><type>AgsSynth</type></link> *synth</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_synth_input_line.xml b/doc/reference/ags/xml/ags_synth_input_line.xml
new file mode 100644
index 0000000..954a36d
--- /dev/null
+++ b/doc/reference/ags/xml/ags_synth_input_line.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSynthInputLine">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSynthInputLine.top_of_page">AgsSynthInputLine</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSynthInputLine</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSynthInputLine.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSynthInputLine">AgsSynthInputLine</link>;
+struct <link linkend="AgsSynthInputLineClass">AgsSynthInputLineClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-input-line-map-recall">ags_synth_input_line_map_recall</link> (<parameter><link linkend="AgsSynthInputLine"><type>AgsSynthInputLine</type></link> *synth_input_line</parameter>);
+<link linkend="AgsSynthInputLine"><returnvalue>AgsSynthInputLine</returnvalue></link> * <link linkend="ags-synth-input-line-new">ags_synth_input_line_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSynthInputLine.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSynthInputLine.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSynthInputLine" role="struct">
+<title>struct AgsSynthInputLine</title>
+<indexterm zone="AgsSynthInputLine"><primary>AgsSynthInputLine</primary></indexterm>
+<programlisting>struct AgsSynthInputLine {
+ AgsLine line;
+
+ gchar *name;
+ gchar *xml_type;
+
+ AgsOscillator *oscillator;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSynthInputLineClass" role="struct">
+<title>struct AgsSynthInputLineClass</title>
+<indexterm zone="AgsSynthInputLineClass"><primary>AgsSynthInputLineClass</primary></indexterm>
+<programlisting>struct AgsSynthInputLineClass {
+ AgsLineClass line;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-synth-input-line-map-recall" role="function">
+<title>ags_synth_input_line_map_recall ()</title>
+<indexterm zone="ags-synth-input-line-map-recall"><primary>ags_synth_input_line_map_recall</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_input_line_map_recall (<parameter><link linkend="AgsSynthInputLine"><type>AgsSynthInputLine</type></link> *synth_input_line</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-synth-input-line-new" role="function">
+<title>ags_synth_input_line_new ()</title>
+<indexterm zone="ags-synth-input-line-new"><primary>ags_synth_input_line_new</primary></indexterm>
+<programlisting><link linkend="AgsSynthInputLine"><returnvalue>AgsSynthInputLine</returnvalue></link> * ags_synth_input_line_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_synth_input_pad.xml b/doc/reference/ags/xml/ags_synth_input_pad.xml
new file mode 100644
index 0000000..9ae5136
--- /dev/null
+++ b/doc/reference/ags/xml/ags_synth_input_pad.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsSynthInputPad">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsSynthInputPad.top_of_page">AgsSynthInputPad</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsSynthInputPad</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsSynthInputPad.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsSynthInputPad">AgsSynthInputPad</link>;
+struct <link linkend="AgsSynthInputPadClass">AgsSynthInputPadClass</link>;
+<link linkend="AgsSynthInputPad"><returnvalue>AgsSynthInputPad</returnvalue></link> * <link linkend="ags-synth-input-pad-new">ags_synth_input_pad_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsSynthInputPad.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsSynthInputPad.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsSynthInputPad" role="struct">
+<title>struct AgsSynthInputPad</title>
+<indexterm zone="AgsSynthInputPad"><primary>AgsSynthInputPad</primary></indexterm>
+<programlisting>struct AgsSynthInputPad {
+ AgsPad pad;
+
+ gchar *name;
+ gchar *xml_type;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsSynthInputPadClass" role="struct">
+<title>struct AgsSynthInputPadClass</title>
+<indexterm zone="AgsSynthInputPadClass"><primary>AgsSynthInputPadClass</primary></indexterm>
+<programlisting>struct AgsSynthInputPadClass {
+ AgsPadClass pad;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-synth-input-pad-new" role="function">
+<title>ags_synth_input_pad_new ()</title>
+<indexterm zone="ags-synth-input-pad-new"><primary>ags_synth_input_pad_new</primary></indexterm>
+<programlisting><link linkend="AgsSynthInputPad"><returnvalue>AgsSynthInputPad</returnvalue></link> * ags_synth_input_pad_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_synths.xml b/doc/reference/ags/xml/ags_synths.xml
new file mode 100644
index 0000000..5be3d77
--- /dev/null
+++ b/doc/reference/ags/xml/ags_synths.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-synths">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-synths.top_of_page">ags_synths</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_synths</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-synths.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-saw">ags_synth_saw</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-sin">ags_synth_sin</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-square">ags_synth_square</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-synth-triangle">ags_synth_triangle</link> (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-synths.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-synths.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-synth-saw" role="function">
+<title>ags_synth_saw ()</title>
+<indexterm zone="ags-synth-saw"><primary>ags_synth_saw</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_saw (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);</programlisting>
+</refsect2>
+<refsect2 id="ags-synth-sin" role="function">
+<title>ags_synth_sin ()</title>
+<indexterm zone="ags-synth-sin"><primary>ags_synth_sin</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_sin (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);</programlisting>
+</refsect2>
+<refsect2 id="ags-synth-square" role="function">
+<title>ags_synth_square ()</title>
+<indexterm zone="ags-synth-square"><primary>ags_synth_square</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_square (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);</programlisting>
+</refsect2>
+<refsect2 id="ags-synth-triangle" role="function">
+<title>ags_synth_triangle ()</title>
+<indexterm zone="ags-synth-triangle"><primary>ags_synth_triangle</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_synth_triangle (<parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>,
+ <parameter>signed <link linkend="short"><type>short</type></link> *buffer</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> offset</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> freq</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> phase</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> length</parameter>,
+ <parameter><link linkend="double"><type>double</type></link> volume</parameter>);</programlisting>
+</refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_table.xml b/doc/reference/ags/xml/ags_table.xml
new file mode 100644
index 0000000..2492af7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_table.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTable.top_of_page">AgsTable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsTable">AgsTable</link>;
+struct <link linkend="AgsTableClass">AgsTableClass</link>;
+<link linkend="AgsTable"><returnvalue>AgsTable</returnvalue></link> * <link linkend="ags-table-new">ags_table_new</link> (<parameter><link linkend="guint"><type>guint</type></link> row</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> columns</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> homogeneous</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTable" role="struct">
+<title>struct AgsTable</title>
+<indexterm zone="AgsTable"><primary>AgsTable</primary></indexterm>
+<programlisting>struct AgsTable {
+ GtkTable table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTableClass" role="struct">
+<title>struct AgsTableClass</title>
+<indexterm zone="AgsTableClass"><primary>AgsTableClass</primary></indexterm>
+<programlisting>struct AgsTableClass {
+ GtkTableClass table;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-table-new" role="function">
+<title>ags_table_new ()</title>
+<indexterm zone="ags-table-new"><primary>ags_table_new</primary></indexterm>
+<programlisting><link linkend="AgsTable"><returnvalue>AgsTable</returnvalue></link> * ags_table_new (<parameter><link linkend="guint"><type>guint</type></link> row</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> columns</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> homogeneous</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_tactable.xml b/doc/reference/ags/xml/ags_tactable.xml
new file mode 100644
index 0000000..23bc7e5
--- /dev/null
+++ b/doc/reference/ags/xml/ags_tactable.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTactable">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTactable.top_of_page">AgsTactable</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTactable</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTactable.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsTactable">AgsTactable</link>;
+struct <link linkend="AgsTactableInterface">AgsTactableInterface</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tactable-change-bpm">ags_tactable_change_bpm</link> (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> bpm</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tactable-change-notation-duration">ags_tactable_change_notation_duration</link>
+ (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> duration</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tactable-change-sequencer-duration">ags_tactable_change_sequencer_duration</link>
+ (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> duration</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tactable-change-tact">ags_tactable_change_tact</link> (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTactable.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTactable.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTactable" role="typedef">
+<title>AgsTactable</title>
+<indexterm zone="AgsTactable"><primary>AgsTactable</primary></indexterm>
+<programlisting>typedef void AgsTactable;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTactableInterface" role="struct">
+<title>struct AgsTactableInterface</title>
+<indexterm zone="AgsTactableInterface"><primary>AgsTactableInterface</primary></indexterm>
+<programlisting>struct AgsTactableInterface {
+ GTypeInterface interface;
+
+ void (*change_sequencer_duration)(AgsTactable *tactable, gdouble duration);
+ void (*change_notation_duration)(AgsTactable *tactable, gdouble duration);
+ void (*change_tact)(AgsTactable *tactable, gdouble tact);
+ void (*change_bpm)(AgsTactable *tactable, gdouble bpm);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tactable-change-bpm" role="function">
+<title>ags_tactable_change_bpm ()</title>
+<indexterm zone="ags-tactable-change-bpm"><primary>ags_tactable_change_bpm</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tactable_change_bpm (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> bpm</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tactable-change-notation-duration" role="function">
+<title>ags_tactable_change_notation_duration ()</title>
+<indexterm zone="ags-tactable-change-notation-duration"><primary>ags_tactable_change_notation_duration</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tactable_change_notation_duration
+ (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> duration</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tactable-change-sequencer-duration" role="function">
+<title>ags_tactable_change_sequencer_duration ()</title>
+<indexterm zone="ags-tactable-change-sequencer-duration"><primary>ags_tactable_change_sequencer_duration</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tactable_change_sequencer_duration
+ (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> duration</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tactable-change-tact" role="function">
+<title>ags_tactable_change_tact ()</title>
+<indexterm zone="ags-tactable-change-tact"><primary>ags_tactable_change_tact</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tactable_change_tact (<parameter><link linkend="AgsTactable"><type>AgsTactable</type></link> *tactable</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> tact</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_task.xml b/doc/reference/ags/xml/ags_task.xml
new file mode 100644
index 0000000..874cec7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_task.xml
@@ -0,0 +1,106 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTask">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTask.top_of_page">AgsTask</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTask</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTask.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsTask">AgsTask</link>;
+struct <link linkend="AgsTaskClass">AgsTaskClass</link>;
+enum <link linkend="AgsTaskFlags">AgsTaskFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-task-failure">ags_task_failure</link> (<parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> *error</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-task-launch">ags_task_launch</link> (<parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>);
+<link linkend="AgsTask"><returnvalue>AgsTask</returnvalue></link> * <link linkend="ags-task-new">ags_task_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTask.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTask.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTask" role="struct">
+<title>struct AgsTask</title>
+<indexterm zone="AgsTask"><primary>AgsTask</primary></indexterm>
+<programlisting>struct AgsTask {
+ GObject object;
+
+ guint flags;
+
+ char *name;
+
+ guint delay;
+
+ pthread_cond_t wait_sync_task_cond;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTaskClass" role="struct">
+<title>struct AgsTaskClass</title>
+<indexterm zone="AgsTaskClass"><primary>AgsTaskClass</primary></indexterm>
+<programlisting>struct AgsTaskClass {
+ GObjectClass object;
+
+ void (*launch)(AgsTask *task);
+
+ void (*failure)(AgsTask *task, GError *error);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTaskFlags" role="enum">
+<title>enum AgsTaskFlags</title>
+<indexterm zone="AgsTaskFlags"><primary>AgsTaskFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_TASK_LOCKED = 1,
+} AgsTaskFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-task-failure" role="function">
+<title>ags_task_failure ()</title>
+<indexterm zone="ags-task-failure"><primary>ags_task_failure</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_task_failure (<parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>,
+ <parameter><link linkend="GError"><type>GError</type></link> *error</parameter>);</programlisting>
+<para>
+Signals failure of task.
+</para></refsect2>
+<refsect2 id="ags-task-launch" role="function">
+<title>ags_task_launch ()</title>
+<indexterm zone="ags-task-launch"><primary>ags_task_launch</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_task_launch (<parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>);</programlisting>
+<para>
+Intercept task.
+</para></refsect2>
+<refsect2 id="ags-task-new" role="function">
+<title>ags_task_new ()</title>
+<indexterm zone="ags-task-new"><primary>ags_task_new</primary></indexterm>
+<programlisting><link linkend="AgsTask"><returnvalue>AgsTask</returnvalue></link> * ags_task_new ();</programlisting>
+<para>
+Creates a <link linkend="AgsTask"><type>AgsTask</type></link>
+</para><variablelist role="params">
+<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>a new <link linkend="AgsTask"><type>AgsTask</type></link></simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_task_thread.xml b/doc/reference/ags/xml/ags_task_thread.xml
new file mode 100644
index 0000000..6b7c86e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_task_thread.xml
@@ -0,0 +1,119 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTaskThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTaskThread.top_of_page">AgsTaskThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTaskThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTaskThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-TASK-THREAD-DEFAULT-JIFFIE:CAPS">AGS_TASK_THREAD_DEFAULT_JIFFIE</link>
+struct <link linkend="AgsTaskThread">AgsTaskThread</link>;
+struct <link linkend="AgsTaskThreadAppend">AgsTaskThreadAppend</link>;
+struct <link linkend="AgsTaskThreadClass">AgsTaskThreadClass</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-task-thread-append-task">ags_task_thread_append_task</link> (<parameter><link linkend="AgsTaskThread"><type>AgsTaskThread</type></link> *task_thread</parameter>,
+ <parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-task-thread-append-tasks">ags_task_thread_append_tasks</link> (<parameter><link linkend="AgsTaskThread"><type>AgsTaskThread</type></link> *task_thread</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);
+<link linkend="AgsTaskThread"><returnvalue>AgsTaskThread</returnvalue></link> * <link linkend="ags-task-thread-new">ags_task_thread_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTaskThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTaskThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-TASK-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_TASK_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-TASK-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_TASK_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_TASK_THREAD_DEFAULT_JIFFIE (1000)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTaskThread" role="struct">
+<title>struct AgsTaskThread</title>
+<indexterm zone="AgsTaskThread"><primary>AgsTaskThread</primary></indexterm>
+<programlisting>struct AgsTaskThread {
+ AgsThread thread;
+
+ guint flags;
+
+ GMutex mutex;
+ GCond cond;
+
+ pthread_mutex_t read_mutex;
+ pthread_mutex_t launch_mutex;
+
+ volatile guint queued;
+ volatile guint pending;
+
+ volatile GList *exec;
+ volatile GList *queue;
+
+ AgsThreadPool *thread_pool;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTaskThreadAppend" role="struct">
+<title>struct AgsTaskThreadAppend</title>
+<indexterm zone="AgsTaskThreadAppend"><primary>AgsTaskThreadAppend</primary></indexterm>
+<programlisting>struct AgsTaskThreadAppend {
+ volatile AgsTaskThread *task_thread;
+ volatile gpointer data;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTaskThreadClass" role="struct">
+<title>struct AgsTaskThreadClass</title>
+<indexterm zone="AgsTaskThreadClass"><primary>AgsTaskThreadClass</primary></indexterm>
+<programlisting>struct AgsTaskThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-task-thread-append-task" role="function">
+<title>ags_task_thread_append_task ()</title>
+<indexterm zone="ags-task-thread-append-task"><primary>ags_task_thread_append_task</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_task_thread_append_task (<parameter><link linkend="AgsTaskThread"><type>AgsTaskThread</type></link> *task_thread</parameter>,
+ <parameter><link linkend="AgsTask"><type>AgsTask</type></link> *task</parameter>);</programlisting>
+<para>
+Adds the task to <parameter>task_thread</parameter>.
+</para></refsect2>
+<refsect2 id="ags-task-thread-append-tasks" role="function">
+<title>ags_task_thread_append_tasks ()</title>
+<indexterm zone="ags-task-thread-append-tasks"><primary>ags_task_thread_append_tasks</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_task_thread_append_tasks (<parameter><link linkend="AgsTaskThread"><type>AgsTaskThread</type></link> *task_thread</parameter>,
+ <parameter><link linkend="GList"><type>GList</type></link> *list</parameter>);</programlisting>
+<para>
+Concats the list with <parameter>task_thread</parameter>'s internal task list. Don't
+free the list you pass. It will be freed for you.
+</para></refsect2>
+<refsect2 id="ags-task-thread-new" role="function">
+<title>ags_task_thread_new ()</title>
+<indexterm zone="ags-task-thread-new"><primary>ags_task_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsTaskThread"><returnvalue>AgsTaskThread</returnvalue></link> * ags_task_thread_new (<parameter><link linkend="GObject"><type>GObject</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_thread-kthreads.xml b/doc/reference/ags/xml/ags_thread-kthreads.xml
new file mode 100644
index 0000000..78a69de
--- /dev/null
+++ b/doc/reference/ags/xml/ags_thread-kthreads.xml
@@ -0,0 +1,531 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsThread.top_of_page">AgsThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-THREAD-RESUME-SIG:CAPS">AGS_THREAD_RESUME_SIG</link>
+#define <link linkend="AGS-THREAD-STACKSIZE:CAPS">AGS_THREAD_STACKSIZE</link>
+#define <link linkend="AGS-THREAD-SUSPEND-SIG:CAPS">AGS_THREAD_SUSPEND_SIG</link>
+struct <link linkend="AgsThread">AgsThread</link>;
+struct <link linkend="AgsThreadClass">AgsThreadClass</link>;
+enum <link linkend="AgsThreadFlags">AgsThreadFlags</link>;
+#define <link linkend="MSEC-PER-SEC:CAPS">MSEC_PER_SEC</link>
+#define <link linkend="NSEC-PER-SEC:CAPS">NSEC_PER_SEC</link>
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-add-child">ags_thread_add_child</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-children-is-locked">ags_thread_children_is_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-first">ags_thread_first</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-get-toplevel">ags_thread_get_toplevel</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-hangcheck">ags_thread_hangcheck</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-is-current-ready">ags_thread_is_current_ready</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *current</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-is-tree-ready">ags_thread_is_tree_ready</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-last">ags_thread_last</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock">ags_thread_lock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-all">ags_thread_lock_all</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-children">ags_thread_lock_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-parent">ags_thread_lock_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-sibling">ags_thread_lock_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-new">ags_thread_new</link> (<parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-next-children-locked">ags_thread_next_children_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-next-parent-locked">ags_thread_next_parent_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-next-sibling-locked">ags_thread_next_sibling_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-parental-is-locked">ags_thread_parental_is_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-remove-child">ags_thread_remove_child</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-resume">ags_thread_resume</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-run">ags_thread_run</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-set-sync">ags_thread_set_sync</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-set-sync-all">ags_thread_set_sync_all</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-sibling-is-locked">ags_thread_sibling_is_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-signal-children">ags_thread_signal_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-signal-parent">ags_thread_signal_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-signal-sibling">ags_thread_signal_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-start">ags_thread_start</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-stop">ags_thread_stop</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-suspend">ags_thread_suspend</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-timelock">ags_thread_timelock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-trylock">ags_thread_trylock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock">ags_thread_unlock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-all">ags_thread_unlock_all</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-children">ags_thread_unlock_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-parent">ags_thread_unlock_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-sibling">ags_thread_unlock_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-wait-children">ags_thread_wait_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-wait-parent">ags_thread_wait_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-wait-sibling">ags_thread_wait_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-THREAD-RESUME-SIG:CAPS" role="macro">
+<title>AGS_THREAD_RESUME_SIG</title>
+<indexterm zone="AGS-THREAD-RESUME-SIG:CAPS"><primary>AGS_THREAD_RESUME_SIG</primary></indexterm>
+<programlisting>#define AGS_THREAD_RESUME_SIG</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-THREAD-STACKSIZE:CAPS" role="macro">
+<title>AGS_THREAD_STACKSIZE</title>
+<indexterm zone="AGS-THREAD-STACKSIZE:CAPS"><primary>AGS_THREAD_STACKSIZE</primary></indexterm>
+<programlisting>#define AGS_THREAD_STACKSIZE (16384)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-THREAD-SUSPEND-SIG:CAPS" role="macro">
+<title>AGS_THREAD_SUSPEND_SIG</title>
+<indexterm zone="AGS-THREAD-SUSPEND-SIG:CAPS"><primary>AGS_THREAD_SUSPEND_SIG</primary></indexterm>
+<programlisting>#define AGS_THREAD_SUSPEND_SIG</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThread" role="struct">
+<title>struct AgsThread</title>
+<indexterm zone="AgsThread"><primary>AgsThread</primary></indexterm>
+<programlisting>struct AgsThread {
+ GObject object;
+
+ volatile guint flags;
+
+ sigset_t wait_mask;
+
+ pthread_t thread;
+ pthread_attr_t thread_attr;
+
+ gdouble freq;
+
+ pthread_mutex_t mutex;
+ pthread_mutexattr_t mutexattr;
+ pthread_cond_t cond;
+
+ pthread_mutex_t start_mutex;
+ pthread_cond_t start_cond;
+
+ pthread_barrier_t barrier[2];
+ gboolean first_barrier;
+ int wait_count[2];
+
+ pthread_t timelock_thread;
+ pthread_mutex_t timelock_mutex;
+ pthread_cond_t timelock_cond;
+
+ pthread_mutex_t greedy_mutex;
+ pthread_cond_t greedy_cond;
+ pthread_mutex_t greedy_run_mutex;
+ volatile guint locked_greedy;
+
+ struct timespec timelock;
+ GList *greedy_locks;
+
+ pthread_mutex_t suspend_mutex;
+ volatile gboolean critical_region;
+
+ GObject *devout;
+ AgsThread *parent;
+
+ AgsThread *next;
+ AgsThread *prev;
+
+ AgsThread *children;
+
+ gpointer data;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThreadClass" role="struct">
+<title>struct AgsThreadClass</title>
+<indexterm zone="AgsThreadClass"><primary>AgsThreadClass</primary></indexterm>
+<programlisting>struct AgsThreadClass {
+ GObjectClass object;
+
+ void (*start)(AgsThread *thread);
+ void (*run)(AgsThread *thread);
+ void (*suspend)(AgsThread *thread);
+ void (*resume)(AgsThread *thread);
+ void (*timelock)(AgsThread *thread);
+ void (*stop)(AgsThread *thread);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThreadFlags" role="enum">
+<title>enum AgsThreadFlags</title>
+<indexterm zone="AgsThreadFlags"><primary>AgsThreadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_THREAD_RUNNING = 1,
+ AGS_THREAD_IDLE = 1 << 1,
+ AGS_THREAD_LOCKED = 1 << 2,
+ AGS_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_THREAD_WAIT_0 = 1 << 16,
+ AGS_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_THREAD_WAIT_1 = 1 << 18,
+ AGS_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_THREAD_WAIT_2 = 1 << 20,
+ AGS_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_THREAD_TIMELOCK_RESUME = 1 << 23,
+ /*
+ * prefered way would be unlocking greedy_locks
+ * and the suspend to not become greedy
+ * but while pthread_suspend and pthread_resume
+ * are missing you need this as work-around
+ */
+ AGS_THREAD_SKIP_NON_GREEDY = 1 << 24,
+ AGS_THREAD_SKIPPED_BY_TIMELOCK = 1 << 25,
+ AGS_THREAD_LOCK_GREEDY_RUN_MUTEX = 1 << 26,
+ AGS_THREAD_SUSPENDED = 1 << 27,
+ AGS_THREAD_SINGLE_LOOP = 1 << 28,
+ AGS_THREAD_READY = 1 << 29,
+ AGS_THREAD_UNREF_ON_EXIT = 1 << 30,
+} AgsThreadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="MSEC-PER-SEC:CAPS" role="macro">
+<title>MSEC_PER_SEC</title>
+<indexterm zone="MSEC-PER-SEC:CAPS"><primary>MSEC_PER_SEC</primary></indexterm>
+<programlisting>#define MSEC_PER_SEC</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="NSEC-PER-SEC:CAPS" role="macro">
+<title>NSEC_PER_SEC</title>
+<indexterm zone="NSEC-PER-SEC:CAPS"><primary>NSEC_PER_SEC</primary></indexterm>
+<programlisting>#define NSEC_PER_SEC</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-add-child" role="function">
+<title>ags_thread_add_child ()</title>
+<indexterm zone="ags-thread-add-child"><primary>ags_thread_add_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_add_child (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-children-is-locked" role="function">
+<title>ags_thread_children_is_locked ()</title>
+<indexterm zone="ags-thread-children-is-locked"><primary>ags_thread_children_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_children_is_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Check the AGS_THREAD_LOCKED flag within sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-first" role="function">
+<title>ags_thread_first ()</title>
+<indexterm zone="ags-thread-first"><primary>ags_thread_first</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_first (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve first sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-get-toplevel" role="function">
+<title>ags_thread_get_toplevel ()</title>
+<indexterm zone="ags-thread-get-toplevel"><primary>ags_thread_get_toplevel</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_get_toplevel (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve toplevel thread.
+</para></refsect2>
+<refsect2 id="ags-thread-hangcheck" role="function">
+<title>ags_thread_hangcheck ()</title>
+<indexterm zone="ags-thread-hangcheck"><primary>ags_thread_hangcheck</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_hangcheck (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Performs hangcheck of thread.
+</para></refsect2>
+<refsect2 id="ags-thread-is-current-ready" role="function">
+<title>ags_thread_is_current_ready ()</title>
+<indexterm zone="ags-thread-is-current-ready"><primary>ags_thread_is_current_ready</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_is_current_ready (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *current</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-is-tree-ready" role="function">
+<title>ags_thread_is_tree_ready ()</title>
+<indexterm zone="ags-thread-is-tree-ready"><primary>ags_thread_is_tree_ready</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_is_tree_ready (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-last" role="function">
+<title>ags_thread_last ()</title>
+<indexterm zone="ags-thread-last"><primary>ags_thread_last</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_last (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve last sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-lock" role="function">
+<title>ags_thread_lock ()</title>
+<indexterm zone="ags-thread-lock"><primary>ags_thread_lock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Locks the threads own mutex and sets the appropriate flag.
+</para></refsect2>
+<refsect2 id="ags-thread-lock-all" role="function">
+<title>ags_thread_lock_all ()</title>
+<indexterm zone="ags-thread-lock-all"><primary>ags_thread_lock_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_all (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-lock-children" role="function">
+<title>ags_thread_lock_children ()</title>
+<indexterm zone="ags-thread-lock-children"><primary>ags_thread_lock_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Lock child tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-lock-parent" role="function">
+<title>ags_thread_lock_parent ()</title>
+<indexterm zone="ags-thread-lock-parent"><primary>ags_thread_lock_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Lock parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-lock-sibling" role="function">
+<title>ags_thread_lock_sibling ()</title>
+<indexterm zone="ags-thread-lock-sibling"><primary>ags_thread_lock_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Lock sibling tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-new" role="function">
+<title>ags_thread_new ()</title>
+<indexterm zone="ags-thread-new"><primary>ags_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_new (<parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+Create a new <link linkend="AgsThread"><type>AgsThread</type></link> you may provide a <link linkend="gpointer"><type>gpointer</type></link> as <parameter>data</parameter>
+to your thread routine.
+</para></refsect2>
+<refsect2 id="ags-thread-next-children-locked" role="function">
+<title>ags_thread_next_children_locked ()</title>
+<indexterm zone="ags-thread-next-children-locked"><primary>ags_thread_next_children_locked</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_next_children_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve next locked thread following <parameter>thread</parameter>
+</para></refsect2>
+<refsect2 id="ags-thread-next-parent-locked" role="function">
+<title>ags_thread_next_parent_locked ()</title>
+<indexterm zone="ags-thread-next-parent-locked"><primary>ags_thread_next_parent_locked</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_next_parent_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Retrieve next locked thread above <parameter>thread</parameter>.
+</para></refsect2>
+<refsect2 id="ags-thread-next-sibling-locked" role="function">
+<title>ags_thread_next_sibling_locked ()</title>
+<indexterm zone="ags-thread-next-sibling-locked"><primary>ags_thread_next_sibling_locked</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_next_sibling_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve next locked thread neighbooring <parameter>thread</parameter>
+</para></refsect2>
+<refsect2 id="ags-thread-parental-is-locked" role="function">
+<title>ags_thread_parental_is_locked ()</title>
+<indexterm zone="ags-thread-parental-is-locked"><primary>ags_thread_parental_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_parental_is_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Check the AGS_THREAD_LOCKED flag in parental levels.
+</para></refsect2>
+<refsect2 id="ags-thread-remove-child" role="function">
+<title>ags_thread_remove_child ()</title>
+<indexterm zone="ags-thread-remove-child"><primary>ags_thread_remove_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_remove_child (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-resume" role="function">
+<title>ags_thread_resume ()</title>
+<indexterm zone="ags-thread-resume"><primary>ags_thread_resume</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_resume (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-run" role="function">
+<title>ags_thread_run ()</title>
+<indexterm zone="ags-thread-run"><primary>ags_thread_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_run (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Only for internal use of ags_thread_loop but you may want to set the your very own
+class function namely your thread's routine.
+</para></refsect2>
+<refsect2 id="ags-thread-set-sync" role="function">
+<title>ags_thread_set_sync ()</title>
+<indexterm zone="ags-thread-set-sync"><primary>ags_thread_set_sync</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_set_sync (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+Calls <link linkend="ags-thread-set-sync"><function>ags_thread_set_sync()</function></link> on all threads.
+</para></refsect2>
+<refsect2 id="ags-thread-set-sync-all" role="function">
+<title>ags_thread_set_sync_all ()</title>
+<indexterm zone="ags-thread-set-sync-all"><primary>ags_thread_set_sync_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_set_sync_all (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-sibling-is-locked" role="function">
+<title>ags_thread_sibling_is_locked ()</title>
+<indexterm zone="ags-thread-sibling-is-locked"><primary>ags_thread_sibling_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_sibling_is_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Check the AGS_THREAD_LOCKED flag within sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-signal-children" role="function">
+<title>ags_thread_signal_children ()</title>
+<indexterm zone="ags-thread-signal-children"><primary>ags_thread_signal_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_signal_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree in lower levels.
+</para></refsect2>
+<refsect2 id="ags-thread-signal-parent" role="function">
+<title>ags_thread_signal_parent ()</title>
+<indexterm zone="ags-thread-signal-parent"><primary>ags_thread_signal_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_signal_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree in higher levels.
+</para></refsect2>
+<refsect2 id="ags-thread-signal-sibling" role="function">
+<title>ags_thread_signal_sibling ()</title>
+<indexterm zone="ags-thread-signal-sibling"><primary>ags_thread_signal_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_signal_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree on same level.
+</para></refsect2>
+<refsect2 id="ags-thread-start" role="function">
+<title>ags_thread_start ()</title>
+<indexterm zone="ags-thread-start"><primary>ags_thread_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_start (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Start the thread.
+</para></refsect2>
+<refsect2 id="ags-thread-stop" role="function">
+<title>ags_thread_stop ()</title>
+<indexterm zone="ags-thread-stop"><primary>ags_thread_stop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_stop (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Stop the threads loop by unsetting AGS_THREAD_RUNNING flag.
+</para></refsect2>
+<refsect2 id="ags-thread-suspend" role="function">
+<title>ags_thread_suspend ()</title>
+<indexterm zone="ags-thread-suspend"><primary>ags_thread_suspend</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_suspend (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-timelock" role="function">
+<title>ags_thread_timelock ()</title>
+<indexterm zone="ags-thread-timelock"><primary>ags_thread_timelock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_timelock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-trylock" role="function">
+<title>ags_thread_trylock ()</title>
+<indexterm zone="ags-thread-trylock"><primary>ags_thread_trylock</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_trylock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-unlock" role="function">
+<title>ags_thread_unlock ()</title>
+<indexterm zone="ags-thread-unlock"><primary>ags_thread_unlock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlocks the threads own mutex and unsets the appropriate flag.
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-all" role="function">
+<title>ags_thread_unlock_all ()</title>
+<indexterm zone="ags-thread-unlock-all"><primary>ags_thread_unlock_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_all (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-children" role="function">
+<title>ags_thread_unlock_children ()</title>
+<indexterm zone="ags-thread-unlock-children"><primary>ags_thread_unlock_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlock child tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-parent" role="function">
+<title>ags_thread_unlock_parent ()</title>
+<indexterm zone="ags-thread-unlock-parent"><primary>ags_thread_unlock_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Unlock parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-sibling" role="function">
+<title>ags_thread_unlock_sibling ()</title>
+<indexterm zone="ags-thread-unlock-sibling"><primary>ags_thread_unlock_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlock sibling tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-wait-children" role="function">
+<title>ags_thread_wait_children ()</title>
+<indexterm zone="ags-thread-wait-children"><primary>ags_thread_wait_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_wait_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Wait on child tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-wait-parent" role="function">
+<title>ags_thread_wait_parent ()</title>
+<indexterm zone="ags-thread-wait-parent"><primary>ags_thread_wait_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_wait_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Wait on parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-wait-sibling" role="function">
+<title>ags_thread_wait_sibling ()</title>
+<indexterm zone="ags-thread-wait-sibling"><primary>ags_thread_wait_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_wait_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Wait on sibling tree structure.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_thread-posix.xml b/doc/reference/ags/xml/ags_thread-posix.xml
new file mode 100644
index 0000000..f0aca98
--- /dev/null
+++ b/doc/reference/ags/xml/ags_thread-posix.xml
@@ -0,0 +1,584 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsThread.top_of_page">AgsThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-ACCOUNTING-TABLE:CAPS">AGS_ACCOUNTING_TABLE</link> (ptr)
+#define <link linkend="AGS-THREAD-DEFAULT-ATTACK:CAPS">AGS_THREAD_DEFAULT_ATTACK</link>
+#define <link linkend="AGS-THREAD-DEFAULT-JIFFIE:CAPS">AGS_THREAD_DEFAULT_JIFFIE</link>
+#define <link linkend="AGS-THREAD-MAX-PRECISION:CAPS">AGS_THREAD_MAX_PRECISION</link>
+#define <link linkend="AGS-THREAD-RESUME-SIG:CAPS">AGS_THREAD_RESUME_SIG</link>
+#define <link linkend="AGS-THREAD-SUSPEND-SIG:CAPS">AGS_THREAD_SUSPEND_SIG</link>
+struct <link linkend="AgsAccountingTable">AgsAccountingTable</link>;
+struct <link linkend="AgsThread">AgsThread</link>;
+struct <link linkend="AgsThreadClass">AgsThreadClass</link>;
+enum <link linkend="AgsThreadFlags">AgsThreadFlags</link>;
+#define <link linkend="MSEC-PER-SEC:CAPS">MSEC_PER_SEC</link>
+#define <link linkend="NSEC-PER-SEC:CAPS">NSEC_PER_SEC</link>
+<link linkend="AgsAccountingTable"><returnvalue>AgsAccountingTable</returnvalue></link> * <link linkend="ags-accounting-table-alloc">ags_accounting_table_alloc</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-accounting-table-set-sanity">ags_accounting_table_set_sanity</link> (<parameter><link linkend="GList"><type>GList</type></link> *table</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> sanity</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-add-child">ags_thread_add_child</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-children-is-locked">ags_thread_children_is_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-first">ags_thread_first</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-get-toplevel">ags_thread_get_toplevel</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-hangcheck">ags_thread_hangcheck</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-is-current-ready">ags_thread_is_current_ready</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *current</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-is-tree-ready">ags_thread_is_tree_ready</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-last">ags_thread_last</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock">ags_thread_lock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-all">ags_thread_lock_all</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-children">ags_thread_lock_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-parent">ags_thread_lock_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-lock-sibling">ags_thread_lock_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-new">ags_thread_new</link> (<parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-next-children-locked">ags_thread_next_children_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-next-parent-locked">ags_thread_next_parent_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-next-sibling-locked">ags_thread_next_sibling_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-parental-is-locked">ags_thread_parental_is_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-remove-child">ags_thread_remove_child</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-resume">ags_thread_resume</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-run">ags_thread_run</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-set-sync">ags_thread_set_sync</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-set-sync-all">ags_thread_set_sync_all</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-sibling-is-locked">ags_thread_sibling_is_locked</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-signal-children">ags_thread_signal_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-signal-parent">ags_thread_signal_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-signal-sibling">ags_thread_signal_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-start">ags_thread_start</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-stop">ags_thread_stop</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-suspend">ags_thread_suspend</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-timelock">ags_thread_timelock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-thread-trylock">ags_thread_trylock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock">ags_thread_unlock</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-all">ags_thread_unlock_all</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-children">ags_thread_unlock_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-parent">ags_thread_unlock_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-unlock-sibling">ags_thread_unlock_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-wait-children">ags_thread_wait_children</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-wait-parent">ags_thread_wait_parent</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-wait-sibling">ags_thread_wait_sibling</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-ACCOUNTING-TABLE:CAPS" role="macro">
+<title>AGS_ACCOUNTING_TABLE()</title>
+<indexterm zone="AGS-ACCOUNTING-TABLE:CAPS"><primary>AGS_ACCOUNTING_TABLE</primary></indexterm>
+<programlisting>#define AGS_ACCOUNTING_TABLE(ptr) ((AgsAccountingTable *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-THREAD-DEFAULT-ATTACK:CAPS" role="macro">
+<title>AGS_THREAD_DEFAULT_ATTACK</title>
+<indexterm zone="AGS-THREAD-DEFAULT-ATTACK:CAPS"><primary>AGS_THREAD_DEFAULT_ATTACK</primary></indexterm>
+<programlisting>#define AGS_THREAD_DEFAULT_ATTACK (1.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_THREAD_DEFAULT_JIFFIE (250)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-THREAD-MAX-PRECISION:CAPS" role="macro">
+<title>AGS_THREAD_MAX_PRECISION</title>
+<indexterm zone="AGS-THREAD-MAX-PRECISION:CAPS"><primary>AGS_THREAD_MAX_PRECISION</primary></indexterm>
+<programlisting>#define AGS_THREAD_MAX_PRECISION (1000)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-THREAD-RESUME-SIG:CAPS" role="macro">
+<title>AGS_THREAD_RESUME_SIG</title>
+<indexterm zone="AGS-THREAD-RESUME-SIG:CAPS"><primary>AGS_THREAD_RESUME_SIG</primary></indexterm>
+<programlisting>#define AGS_THREAD_RESUME_SIG</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-THREAD-SUSPEND-SIG:CAPS" role="macro">
+<title>AGS_THREAD_SUSPEND_SIG</title>
+<indexterm zone="AGS-THREAD-SUSPEND-SIG:CAPS"><primary>AGS_THREAD_SUSPEND_SIG</primary></indexterm>
+<programlisting>#define AGS_THREAD_SUSPEND_SIG</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsAccountingTable" role="struct">
+<title>struct AgsAccountingTable</title>
+<indexterm zone="AgsAccountingTable"><primary>AgsAccountingTable</primary></indexterm>
+<programlisting>struct AgsAccountingTable {
+ AgsThread *thread;
+ gdouble sanity;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThread" role="struct">
+<title>struct AgsThread</title>
+<indexterm zone="AgsThread"><primary>AgsThread</primary></indexterm>
+<programlisting>struct AgsThread {
+ GObject object;
+
+ volatile guint flags;
+
+ sigset_t wait_mask;
+
+ pthread_t thread;
+ pthread_attr_t thread_attr;
+
+ gdouble freq;
+
+ pthread_mutex_t mutex;
+ pthread_mutexattr_t mutexattr;
+ pthread_cond_t cond;
+
+ pthread_mutex_t start_mutex;
+ pthread_cond_t start_cond;
+
+ pthread_barrier_t barrier[2];
+ gboolean first_barrier;
+ int wait_count[2];
+
+ pthread_t timelock_thread;
+ pthread_mutex_t timelock_mutex;
+ pthread_cond_t timelock_cond;
+
+ pthread_mutex_t greedy_mutex;
+ pthread_cond_t greedy_cond;
+ pthread_mutex_t greedy_run_mutex;
+ volatile guint locked_greedy;
+
+ struct timespec timelock;
+ GList *greedy_locks;
+
+ pthread_mutex_t suspend_mutex;
+ volatile gboolean critical_region;
+
+ GObject *devout;
+ AgsThread *parent;
+
+ AgsThread *next;
+ AgsThread *prev;
+
+ AgsThread *children;
+
+ gpointer data;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThreadClass" role="struct">
+<title>struct AgsThreadClass</title>
+<indexterm zone="AgsThreadClass"><primary>AgsThreadClass</primary></indexterm>
+<programlisting>struct AgsThreadClass {
+ GObjectClass object;
+
+ void (*start)(AgsThread *thread);
+ void (*run)(AgsThread *thread);
+ void (*suspend)(AgsThread *thread);
+ void (*resume)(AgsThread *thread);
+ void (*timelock)(AgsThread *thread);
+ void (*stop)(AgsThread *thread);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThreadFlags" role="enum">
+<title>enum AgsThreadFlags</title>
+<indexterm zone="AgsThreadFlags"><primary>AgsThreadFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_THREAD_RUNNING = 1,
+ AGS_THREAD_IDLE = 1 << 1,
+ AGS_THREAD_LOCKED = 1 << 2,
+ AGS_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_THREAD_WAIT_0 = 1 << 16,
+ AGS_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_THREAD_WAIT_1 = 1 << 18,
+ AGS_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_THREAD_WAIT_2 = 1 << 20,
+ AGS_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_THREAD_TIMELOCK_RESUME = 1 << 23,
+ /*
+ * prefered way would be unlocking greedy_locks
+ * and the suspend to not become greedy
+ * but while pthread_suspend and pthread_resume
+ * are missing you need this as work-around
+ */
+ AGS_THREAD_SKIP_NON_GREEDY = 1 << 24,
+ AGS_THREAD_SKIPPED_BY_TIMELOCK = 1 << 25,
+ AGS_THREAD_LOCK_GREEDY_RUN_MUTEX = 1 << 26,
+ AGS_THREAD_SUSPENDED = 1 << 27,
+ AGS_THREAD_SINGLE_LOOP = 1 << 28,
+ AGS_THREAD_READY = 1 << 29,
+ AGS_THREAD_UNREF_ON_EXIT = 1 << 30,
+} AgsThreadFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="MSEC-PER-SEC:CAPS" role="macro">
+<title>MSEC_PER_SEC</title>
+<indexterm zone="MSEC-PER-SEC:CAPS"><primary>MSEC_PER_SEC</primary></indexterm>
+<programlisting>#define MSEC_PER_SEC</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="NSEC-PER-SEC:CAPS" role="macro">
+<title>NSEC_PER_SEC</title>
+<indexterm zone="NSEC-PER-SEC:CAPS"><primary>NSEC_PER_SEC</primary></indexterm>
+<programlisting>#define NSEC_PER_SEC</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-accounting-table-alloc" role="function">
+<title>ags_accounting_table_alloc ()</title>
+<indexterm zone="ags-accounting-table-alloc"><primary>ags_accounting_table_alloc</primary></indexterm>
+<programlisting><link linkend="AgsAccountingTable"><returnvalue>AgsAccountingTable</returnvalue></link> * ags_accounting_table_alloc (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-accounting-table-set-sanity" role="function">
+<title>ags_accounting_table_set_sanity ()</title>
+<indexterm zone="ags-accounting-table-set-sanity"><primary>ags_accounting_table_set_sanity</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_accounting_table_set_sanity (<parameter><link linkend="GList"><type>GList</type></link> *table</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gdouble"><type>gdouble</type></link> sanity</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-add-child" role="function">
+<title>ags_thread_add_child ()</title>
+<indexterm zone="ags-thread-add-child"><primary>ags_thread_add_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_add_child (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-children-is-locked" role="function">
+<title>ags_thread_children_is_locked ()</title>
+<indexterm zone="ags-thread-children-is-locked"><primary>ags_thread_children_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_children_is_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Check the AGS_THREAD_LOCKED flag within sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-first" role="function">
+<title>ags_thread_first ()</title>
+<indexterm zone="ags-thread-first"><primary>ags_thread_first</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_first (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve first sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-get-toplevel" role="function">
+<title>ags_thread_get_toplevel ()</title>
+<indexterm zone="ags-thread-get-toplevel"><primary>ags_thread_get_toplevel</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_get_toplevel (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve toplevel thread.
+</para></refsect2>
+<refsect2 id="ags-thread-hangcheck" role="function">
+<title>ags_thread_hangcheck ()</title>
+<indexterm zone="ags-thread-hangcheck"><primary>ags_thread_hangcheck</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_hangcheck (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Performs hangcheck of thread.
+</para></refsect2>
+<refsect2 id="ags-thread-is-current-ready" role="function">
+<title>ags_thread_is_current_ready ()</title>
+<indexterm zone="ags-thread-is-current-ready"><primary>ags_thread_is_current_ready</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_is_current_ready (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *current</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-is-tree-ready" role="function">
+<title>ags_thread_is_tree_ready ()</title>
+<indexterm zone="ags-thread-is-tree-ready"><primary>ags_thread_is_tree_ready</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_is_tree_ready (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-last" role="function">
+<title>ags_thread_last ()</title>
+<indexterm zone="ags-thread-last"><primary>ags_thread_last</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_last (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve last sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-lock" role="function">
+<title>ags_thread_lock ()</title>
+<indexterm zone="ags-thread-lock"><primary>ags_thread_lock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Locks the threads own mutex and sets the appropriate flag.
+</para></refsect2>
+<refsect2 id="ags-thread-lock-all" role="function">
+<title>ags_thread_lock_all ()</title>
+<indexterm zone="ags-thread-lock-all"><primary>ags_thread_lock_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_all (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-lock-children" role="function">
+<title>ags_thread_lock_children ()</title>
+<indexterm zone="ags-thread-lock-children"><primary>ags_thread_lock_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Lock child tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-lock-parent" role="function">
+<title>ags_thread_lock_parent ()</title>
+<indexterm zone="ags-thread-lock-parent"><primary>ags_thread_lock_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Lock parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-lock-sibling" role="function">
+<title>ags_thread_lock_sibling ()</title>
+<indexterm zone="ags-thread-lock-sibling"><primary>ags_thread_lock_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_lock_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Lock sibling tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-new" role="function">
+<title>ags_thread_new ()</title>
+<indexterm zone="ags-thread-new"><primary>ags_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_new (<parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+Create a new <link linkend="AgsThread"><type>AgsThread</type></link> you may provide a <link linkend="gpointer"><type>gpointer</type></link> as <parameter>data</parameter>
+to your thread routine.
+</para></refsect2>
+<refsect2 id="ags-thread-next-children-locked" role="function">
+<title>ags_thread_next_children_locked ()</title>
+<indexterm zone="ags-thread-next-children-locked"><primary>ags_thread_next_children_locked</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_next_children_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve next locked thread following <parameter>thread</parameter>
+</para></refsect2>
+<refsect2 id="ags-thread-next-parent-locked" role="function">
+<title>ags_thread_next_parent_locked ()</title>
+<indexterm zone="ags-thread-next-parent-locked"><primary>ags_thread_next_parent_locked</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_next_parent_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Retrieve next locked thread above <parameter>thread</parameter>.
+</para></refsect2>
+<refsect2 id="ags-thread-next-sibling-locked" role="function">
+<title>ags_thread_next_sibling_locked ()</title>
+<indexterm zone="ags-thread-next-sibling-locked"><primary>ags_thread_next_sibling_locked</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_next_sibling_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Retrieve next locked thread neighbooring <parameter>thread</parameter>
+</para></refsect2>
+<refsect2 id="ags-thread-parental-is-locked" role="function">
+<title>ags_thread_parental_is_locked ()</title>
+<indexterm zone="ags-thread-parental-is-locked"><primary>ags_thread_parental_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_parental_is_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Check the AGS_THREAD_LOCKED flag in parental levels.
+</para></refsect2>
+<refsect2 id="ags-thread-remove-child" role="function">
+<title>ags_thread_remove_child ()</title>
+<indexterm zone="ags-thread-remove-child"><primary>ags_thread_remove_child</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_remove_child (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *child</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-resume" role="function">
+<title>ags_thread_resume ()</title>
+<indexterm zone="ags-thread-resume"><primary>ags_thread_resume</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_resume (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-run" role="function">
+<title>ags_thread_run ()</title>
+<indexterm zone="ags-thread-run"><primary>ags_thread_run</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_run (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Only for internal use of ags_thread_loop but you may want to set the your very own
+class function namely your thread's routine.
+</para></refsect2>
+<refsect2 id="ags-thread-set-sync" role="function">
+<title>ags_thread_set_sync ()</title>
+<indexterm zone="ags-thread-set-sync"><primary>ags_thread_set_sync</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_set_sync (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+Calls <link linkend="ags-thread-set-sync"><function>ags_thread_set_sync()</function></link> on all threads.
+</para></refsect2>
+<refsect2 id="ags-thread-set-sync-all" role="function">
+<title>ags_thread_set_sync_all ()</title>
+<indexterm zone="ags-thread-set-sync-all"><primary>ags_thread_set_sync_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_set_sync_all (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> tic</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-sibling-is-locked" role="function">
+<title>ags_thread_sibling_is_locked ()</title>
+<indexterm zone="ags-thread-sibling-is-locked"><primary>ags_thread_sibling_is_locked</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_sibling_is_locked (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Check the AGS_THREAD_LOCKED flag within sibling.
+</para></refsect2>
+<refsect2 id="ags-thread-signal-children" role="function">
+<title>ags_thread_signal_children ()</title>
+<indexterm zone="ags-thread-signal-children"><primary>ags_thread_signal_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_signal_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree in lower levels.
+</para></refsect2>
+<refsect2 id="ags-thread-signal-parent" role="function">
+<title>ags_thread_signal_parent ()</title>
+<indexterm zone="ags-thread-signal-parent"><primary>ags_thread_signal_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_signal_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree in higher levels.
+</para></refsect2>
+<refsect2 id="ags-thread-signal-sibling" role="function">
+<title>ags_thread_signal_sibling ()</title>
+<indexterm zone="ags-thread-signal-sibling"><primary>ags_thread_signal_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_signal_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> broadcast</parameter>);</programlisting>
+<para>
+Signals the tree on same level.
+</para></refsect2>
+<refsect2 id="ags-thread-start" role="function">
+<title>ags_thread_start ()</title>
+<indexterm zone="ags-thread-start"><primary>ags_thread_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_start (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Start the thread.
+</para></refsect2>
+<refsect2 id="ags-thread-stop" role="function">
+<title>ags_thread_stop ()</title>
+<indexterm zone="ags-thread-stop"><primary>ags_thread_stop</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_stop (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Stop the threads loop by unsetting AGS_THREAD_RUNNING flag.
+</para></refsect2>
+<refsect2 id="ags-thread-suspend" role="function">
+<title>ags_thread_suspend ()</title>
+<indexterm zone="ags-thread-suspend"><primary>ags_thread_suspend</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_suspend (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-timelock" role="function">
+<title>ags_thread_timelock ()</title>
+<indexterm zone="ags-thread-timelock"><primary>ags_thread_timelock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_timelock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-trylock" role="function">
+<title>ags_thread_trylock ()</title>
+<indexterm zone="ags-thread-trylock"><primary>ags_thread_trylock</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_thread_trylock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-unlock" role="function">
+<title>ags_thread_unlock ()</title>
+<indexterm zone="ags-thread-unlock"><primary>ags_thread_unlock</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlocks the threads own mutex and unsets the appropriate flag.
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-all" role="function">
+<title>ags_thread_unlock_all ()</title>
+<indexterm zone="ags-thread-unlock-all"><primary>ags_thread_unlock_all</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_all (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-children" role="function">
+<title>ags_thread_unlock_children ()</title>
+<indexterm zone="ags-thread-unlock-children"><primary>ags_thread_unlock_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlock child tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-parent" role="function">
+<title>ags_thread_unlock_parent ()</title>
+<indexterm zone="ags-thread-unlock-parent"><primary>ags_thread_unlock_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Unlock parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-unlock-sibling" role="function">
+<title>ags_thread_unlock_sibling ()</title>
+<indexterm zone="ags-thread-unlock-sibling"><primary>ags_thread_unlock_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_unlock_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Unlock sibling tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-wait-children" role="function">
+<title>ags_thread_wait_children ()</title>
+<indexterm zone="ags-thread-wait-children"><primary>ags_thread_wait_children</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_wait_children (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Wait on child tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-wait-parent" role="function">
+<title>ags_thread_wait_parent ()</title>
+<indexterm zone="ags-thread-wait-parent"><primary>ags_thread_wait_parent</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_wait_parent (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>,
+ <parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+Wait on parent tree structure.
+</para></refsect2>
+<refsect2 id="ags-thread-wait-sibling" role="function">
+<title>ags_thread_wait_sibling ()</title>
+<indexterm zone="ags-thread-wait-sibling"><primary>ags_thread_wait_sibling</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_wait_sibling (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *thread</parameter>);</programlisting>
+<para>
+Wait on sibling tree structure.
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_thread_pool.xml b/doc/reference/ags/xml/ags_thread_pool.xml
new file mode 100644
index 0000000..29d63b3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_thread_pool.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsThreadPool">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsThreadPool.top_of_page">AgsThreadPool</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsThreadPool</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsThreadPool.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsThreadPool">AgsThreadPool</link>;
+struct <link linkend="AgsThreadPoolClass">AgsThreadPoolClass</link>;
+enum <link linkend="AgsThreadPoolFlags">AgsThreadPoolFlags</link>;
+<link linkend="AgsThreadPool"><returnvalue>AgsThreadPool</returnvalue></link> * <link linkend="ags-thread-pool-new">ags_thread_pool_new</link> (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);
+<link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * <link linkend="ags-thread-pool-pull">ags_thread_pool_pull</link> (<parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> *thread_pool</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-thread-pool-start">ags_thread_pool_start</link> (<parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> *thread_pool</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsThreadPool.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsThreadPool.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsThreadPool" role="struct">
+<title>struct AgsThreadPool</title>
+<indexterm zone="AgsThreadPool"><primary>AgsThreadPool</primary></indexterm>
+<programlisting>struct AgsThreadPool {
+ GObject object;
+
+ volatile guint flags;
+
+ volatile guint max_unused_threads;
+ volatile guint max_threads;
+
+ pthread_t thread;
+
+ pthread_mutex_t creation_mutex;
+ pthread_cond_t creation_cond;
+
+ volatile guint n_threads;
+ volatile guint newly_pulled;
+ volatile guint queued;
+
+ AgsThread *parent;
+ volatile GList *returnable_thread;
+ volatile GList *running_thread;
+
+ pthread_mutex_t pull_mutex;
+
+ pthread_mutex_t return_mutex;
+ pthread_cond_t return_cond;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThreadPoolClass" role="struct">
+<title>struct AgsThreadPoolClass</title>
+<indexterm zone="AgsThreadPoolClass"><primary>AgsThreadPoolClass</primary></indexterm>
+<programlisting>struct AgsThreadPoolClass {
+ GObjectClass object;
+
+ void (*start)(AgsThreadPool *thread_pool);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsThreadPoolFlags" role="enum">
+<title>enum AgsThreadPoolFlags</title>
+<indexterm zone="AgsThreadPoolFlags"><primary>AgsThreadPoolFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_THREAD_POOL_RUNNING = 1,
+ AGS_THREAD_POOL_READY = 1 << 1,
+} AgsThreadPoolFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-pool-new" role="function">
+<title>ags_thread_pool_new ()</title>
+<indexterm zone="ags-thread-pool-new"><primary>ags_thread_pool_new</primary></indexterm>
+<programlisting><link linkend="AgsThreadPool"><returnvalue>AgsThreadPool</returnvalue></link> * ags_thread_pool_new (<parameter><link linkend="AgsThread"><type>AgsThread</type></link> *parent</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-pool-pull" role="function">
+<title>ags_thread_pool_pull ()</title>
+<indexterm zone="ags-thread-pool-pull"><primary>ags_thread_pool_pull</primary></indexterm>
+<programlisting><link linkend="AgsThread"><returnvalue>AgsThread</returnvalue></link> * ags_thread_pool_pull (<parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> *thread_pool</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-thread-pool-start" role="function">
+<title>ags_thread_pool_start ()</title>
+<indexterm zone="ags-thread-pool-start"><primary>ags_thread_pool_start</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_thread_pool_start (<parameter><link linkend="AgsThreadPool"><type>AgsThreadPool</type></link> *thread_pool</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_timebar.xml b/doc/reference/ags/xml/ags_timebar.xml
new file mode 100644
index 0000000..2449dba
--- /dev/null
+++ b/doc/reference/ags/xml/ags_timebar.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTimebar">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTimebar.top_of_page">AgsTimebar</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTimebar</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTimebar.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsTimebar">AgsTimebar</link>;
+struct <link linkend="AgsTimebarClass">AgsTimebarClass</link>;
+<link linkend="AgsTimebar"><returnvalue>AgsTimebar</returnvalue></link> * <link linkend="ags-timebar-new">ags_timebar_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTimebar.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTimebar.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTimebar" role="struct">
+<title>struct AgsTimebar</title>
+<indexterm zone="AgsTimebar"><primary>AgsTimebar</primary></indexterm>
+<programlisting>struct AgsTimebar {
+ GtkRange range;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimebarClass" role="struct">
+<title>struct AgsTimebarClass</title>
+<indexterm zone="AgsTimebarClass"><primary>AgsTimebarClass</primary></indexterm>
+<programlisting>struct AgsTimebarClass {
+ GtkRangeClass range;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-timebar-new" role="function">
+<title>ags_timebar_new ()</title>
+<indexterm zone="ags-timebar-new"><primary>ags_timebar_new</primary></indexterm>
+<programlisting><link linkend="AgsTimebar"><returnvalue>AgsTimebar</returnvalue></link> * ags_timebar_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_timestamp.xml b/doc/reference/ags/xml/ags_timestamp.xml
new file mode 100644
index 0000000..2eb509a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_timestamp.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTimestamp">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTimestamp.top_of_page">AgsTimestamp</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTimestamp</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTimestamp.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsTimestamp">AgsTimestamp</link>;
+struct <link linkend="AgsTimestampClass">AgsTimestampClass</link>;
+enum <link linkend="AgsTimestampFlags">AgsTimestampFlags</link>;
+<link linkend="AgsTimestamp"><returnvalue>AgsTimestamp</returnvalue></link> * <link linkend="ags-timestamp-new">ags_timestamp_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTimestamp.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTimestamp.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTimestamp" role="struct">
+<title>struct AgsTimestamp</title>
+<indexterm zone="AgsTimestamp"><primary>AgsTimestamp</primary></indexterm>
+<programlisting>struct AgsTimestamp {
+ GObject object;
+
+ guint flags;
+
+ union{
+ struct _unix{
+ time_t time_val;
+ }unix_time;
+ }timer;
+
+ guint delay;
+ guint attack;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimestampClass" role="struct">
+<title>struct AgsTimestampClass</title>
+<indexterm zone="AgsTimestampClass"><primary>AgsTimestampClass</primary></indexterm>
+<programlisting>struct AgsTimestampClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimestampFlags" role="enum">
+<title>enum AgsTimestampFlags</title>
+<indexterm zone="AgsTimestampFlags"><primary>AgsTimestampFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_TIMESTAMP_UNIX = 1,
+ AGS_TIMESTAMP_OUTDATED = 1 << 1,
+} AgsTimestampFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-timestamp-new" role="function">
+<title>ags_timestamp_new ()</title>
+<indexterm zone="ags-timestamp-new"><primary>ags_timestamp_new</primary></indexterm>
+<programlisting><link linkend="AgsTimestamp"><returnvalue>AgsTimestamp</returnvalue></link> * ags_timestamp_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_timestamp_factory.xml b/doc/reference/ags/xml/ags_timestamp_factory.xml
new file mode 100644
index 0000000..be7e379
--- /dev/null
+++ b/doc/reference/ags/xml/ags_timestamp_factory.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTimestampFactory">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTimestampFactory.top_of_page">AgsTimestampFactory</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTimestampFactory</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTimestampFactory.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsTimestampFactory">AgsTimestampFactory</link>;
+struct <link linkend="AgsTimestampFactoryClass">AgsTimestampFactoryClass</link>;
+enum <link linkend="AgsTimestampFactoryFlags">AgsTimestampFactoryFlags</link>;
+<link linkend="AgsTimestamp"><returnvalue>AgsTimestamp</returnvalue></link> * <link linkend="ags-timestamp-factory-create">ags_timestamp_factory_create</link> (<parameter><link linkend="AgsTimestampFactory"><type>AgsTimestampFactory</type></link> *timestamp_factory</parameter>,
+ <parameter><link linkend="AgsTimestamp"><type>AgsTimestamp</type></link> *predecor</parameter>);
+<link linkend="AgsTimestampFactory"><returnvalue>AgsTimestampFactory</returnvalue></link> * <link linkend="ags-timestamp-factory-get-instance">ags_timestamp_factory_get_instance</link>
+ ();
+<link linkend="AgsTimestampFactory"><returnvalue>AgsTimestampFactory</returnvalue></link> * <link linkend="ags-timestamp-factory-new">ags_timestamp_factory_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTimestampFactory.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTimestampFactory.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTimestampFactory" role="struct">
+<title>struct AgsTimestampFactory</title>
+<indexterm zone="AgsTimestampFactory"><primary>AgsTimestampFactory</primary></indexterm>
+<programlisting>struct AgsTimestampFactory {
+ GObject object;
+
+ guint flags;
+
+ GList *timestamp;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimestampFactoryClass" role="struct">
+<title>struct AgsTimestampFactoryClass</title>
+<indexterm zone="AgsTimestampFactoryClass"><primary>AgsTimestampFactoryClass</primary></indexterm>
+<programlisting>struct AgsTimestampFactoryClass {
+ GObjectClass object;
+
+ AgsTimestamp* (*create)(AgsTimestampFactory *timestamp_factory,
+ AgsTimestamp *predecor);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimestampFactoryFlags" role="enum">
+<title>enum AgsTimestampFactoryFlags</title>
+<indexterm zone="AgsTimestampFactoryFlags"><primary>AgsTimestampFactoryFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_TIMESTAMP_FACTORY_UNIX = 1,
+} AgsTimestampFactoryFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-timestamp-factory-create" role="function">
+<title>ags_timestamp_factory_create ()</title>
+<indexterm zone="ags-timestamp-factory-create"><primary>ags_timestamp_factory_create</primary></indexterm>
+<programlisting><link linkend="AgsTimestamp"><returnvalue>AgsTimestamp</returnvalue></link> * ags_timestamp_factory_create (<parameter><link linkend="AgsTimestampFactory"><type>AgsTimestampFactory</type></link> *timestamp_factory</parameter>,
+ <parameter><link linkend="AgsTimestamp"><type>AgsTimestamp</type></link> *predecor</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-timestamp-factory-get-instance" role="function">
+<title>ags_timestamp_factory_get_instance ()</title>
+<indexterm zone="ags-timestamp-factory-get-instance"><primary>ags_timestamp_factory_get_instance</primary></indexterm>
+<programlisting><link linkend="AgsTimestampFactory"><returnvalue>AgsTimestampFactory</returnvalue></link> * ags_timestamp_factory_get_instance
+ ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-timestamp-factory-new" role="function">
+<title>ags_timestamp_factory_new ()</title>
+<indexterm zone="ags-timestamp-factory-new"><primary>ags_timestamp_factory_new</primary></indexterm>
+<programlisting><link linkend="AgsTimestampFactory"><returnvalue>AgsTimestampFactory</returnvalue></link> * ags_timestamp_factory_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_timestamp_thread.xml b/doc/reference/ags/xml/ags_timestamp_thread.xml
new file mode 100644
index 0000000..ab4dd9f
--- /dev/null
+++ b/doc/reference/ags/xml/ags_timestamp_thread.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTimestampThread">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTimestampThread.top_of_page">AgsTimestampThread</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTimestampThread</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTimestampThread.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-MICROSECONDS-PER-SECOND:CAPS">AGS_MICROSECONDS_PER_SECOND</link>
+#define <link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-BPM:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_BPM</link>
+#define <link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-BUFFER-SIZE:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE</link>
+#define <link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-JIFFIE:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE</link>
+#define <link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-SAMPLERATE:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE</link>
+#define <link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-TIC:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_TIC</link>
+struct <link linkend="AgsTimestampThread">AgsTimestampThread</link>;
+struct <link linkend="AgsTimestampThreadClass">AgsTimestampThreadClass</link>;
+<link linkend="AgsTimestampThread"><returnvalue>AgsTimestampThread</returnvalue></link> * <link linkend="ags-timestamp-thread-new">ags_timestamp_thread_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTimestampThread.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTimestampThread.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-MICROSECONDS-PER-SECOND:CAPS" role="macro">
+<title>AGS_MICROSECONDS_PER_SECOND</title>
+<indexterm zone="AGS-MICROSECONDS-PER-SECOND:CAPS"><primary>AGS_MICROSECONDS_PER_SECOND</primary></indexterm>
+<programlisting>#define AGS_MICROSECONDS_PER_SECOND (1000000.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-TIMESTAMP-THREAD-DEFAULT-BPM:CAPS" role="macro">
+<title>AGS_TIMESTAMP_THREAD_DEFAULT_BPM</title>
+<indexterm zone="AGS-TIMESTAMP-THREAD-DEFAULT-BPM:CAPS"><primary>AGS_TIMESTAMP_THREAD_DEFAULT_BPM</primary></indexterm>
+<programlisting>#define AGS_TIMESTAMP_THREAD_DEFAULT_BPM (120.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-TIMESTAMP-THREAD-DEFAULT-BUFFER-SIZE:CAPS" role="macro">
+<title>AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE</title>
+<indexterm zone="AGS-TIMESTAMP-THREAD-DEFAULT-BUFFER-SIZE:CAPS"><primary>AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE</primary></indexterm>
+<programlisting>#define AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE (256.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-TIMESTAMP-THREAD-DEFAULT-JIFFIE:CAPS" role="macro">
+<title>AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE</title>
+<indexterm zone="AGS-TIMESTAMP-THREAD-DEFAULT-JIFFIE:CAPS"><primary>AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE</primary></indexterm>
+<programlisting>#define AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-TIMESTAMP-THREAD-DEFAULT-SAMPLERATE:CAPS" role="macro">
+<title>AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE</title>
+<indexterm zone="AGS-TIMESTAMP-THREAD-DEFAULT-SAMPLERATE:CAPS"><primary>AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE</primary></indexterm>
+<programlisting>#define AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE (44100.0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-TIMESTAMP-THREAD-DEFAULT-TIC:CAPS" role="macro">
+<title>AGS_TIMESTAMP_THREAD_DEFAULT_TIC</title>
+<indexterm zone="AGS-TIMESTAMP-THREAD-DEFAULT-TIC:CAPS"><primary>AGS_TIMESTAMP_THREAD_DEFAULT_TIC</primary></indexterm>
+<programlisting>#define AGS_TIMESTAMP_THREAD_DEFAULT_TIC</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimestampThread" role="struct">
+<title>struct AgsTimestampThread</title>
+<indexterm zone="AgsTimestampThread"><primary>AgsTimestampThread</primary></indexterm>
+<programlisting>struct AgsTimestampThread {
+ AgsThread thread;
+
+ GObject *current_timestamp;
+ GObject *current_latency;
+
+ GObject *timestamp;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTimestampThreadClass" role="struct">
+<title>struct AgsTimestampThreadClass</title>
+<indexterm zone="AgsTimestampThreadClass"><primary>AgsTimestampThreadClass</primary></indexterm>
+<programlisting>struct AgsTimestampThreadClass {
+ AgsThreadClass thread;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-timestamp-thread-new" role="function">
+<title>ags_timestamp_thread_new ()</title>
+<indexterm zone="ags-timestamp-thread-new"><primary>ags_timestamp_thread_new</primary></indexterm>
+<programlisting><link linkend="AgsTimestampThread"><returnvalue>AgsTimestampThread</returnvalue></link> * ags_timestamp_thread_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_toggle_led.xml b/doc/reference/ags/xml/ags_toggle_led.xml
new file mode 100644
index 0000000..5f991df
--- /dev/null
+++ b/doc/reference/ags/xml/ags_toggle_led.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsToggleLed">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsToggleLed.top_of_page">AgsToggleLed</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsToggleLed</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsToggleLed.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsToggleLed">AgsToggleLed</link>;
+struct <link linkend="AgsToggleLedClass">AgsToggleLedClass</link>;
+<link linkend="AgsToggleLed"><returnvalue>AgsToggleLed</returnvalue></link> * <link linkend="ags-toggle-led-new">ags_toggle_led_new</link> (<parameter><link linkend="GList"><type>GList</type></link> *led</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> set_active</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> unset_active</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsToggleLed.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsToggleLed.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsToggleLed" role="struct">
+<title>struct AgsToggleLed</title>
+<indexterm zone="AgsToggleLed"><primary>AgsToggleLed</primary></indexterm>
+<programlisting>struct AgsToggleLed {
+ AgsTask task;
+
+ GList *led;
+ guint set_active;
+ guint unset_active;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsToggleLedClass" role="struct">
+<title>struct AgsToggleLedClass</title>
+<indexterm zone="AgsToggleLedClass"><primary>AgsToggleLedClass</primary></indexterm>
+<programlisting>struct AgsToggleLedClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toggle-led-new" role="function">
+<title>ags_toggle_led_new ()</title>
+<indexterm zone="ags-toggle-led-new"><primary>ags_toggle_led_new</primary></indexterm>
+<programlisting><link linkend="AgsToggleLed"><returnvalue>AgsToggleLed</returnvalue></link> * ags_toggle_led_new (<parameter><link linkend="GList"><type>GList</type></link> *led</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> set_active</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> unset_active</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_toggle_pattern_bit.xml b/doc/reference/ags/xml/ags_toggle_pattern_bit.xml
new file mode 100644
index 0000000..c086463
--- /dev/null
+++ b/doc/reference/ags/xml/ags_toggle_pattern_bit.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTogglePatternBit">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTogglePatternBit.top_of_page">AgsTogglePatternBit</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTogglePatternBit</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTogglePatternBit.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsTogglePatternBit">AgsTogglePatternBit</link>;
+struct <link linkend="AgsTogglePatternBitClass">AgsTogglePatternBitClass</link>;
+<link linkend="AgsTogglePatternBit"><returnvalue>AgsTogglePatternBit</returnvalue></link> * <link linkend="ags-toggle-pattern-bit-new">ags_toggle_pattern_bit_new</link> (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> line</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index_i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index_j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> bit</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toggle-pattern-bit-refresh-gui">ags_toggle_pattern_bit_refresh_gui</link> (<parameter><link linkend="AgsTogglePatternBit"><type>AgsTogglePatternBit</type></link> *toggle_pattern_bit</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTogglePatternBit.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTogglePatternBit.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTogglePatternBit" role="struct">
+<title>struct AgsTogglePatternBit</title>
+<indexterm zone="AgsTogglePatternBit"><primary>AgsTogglePatternBit</primary></indexterm>
+<programlisting>struct AgsTogglePatternBit {
+ AgsTask task;
+
+ AgsPattern *pattern;
+ guint line;
+
+ guint index_i;
+ guint index_j;
+ guint bit;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTogglePatternBitClass" role="struct">
+<title>struct AgsTogglePatternBitClass</title>
+<indexterm zone="AgsTogglePatternBitClass"><primary>AgsTogglePatternBitClass</primary></indexterm>
+<programlisting>struct AgsTogglePatternBitClass {
+ AgsTaskClass task;
+
+ void (*refresh_gui)(AgsTogglePatternBit *toggle_pattern_bit);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toggle-pattern-bit-new" role="function">
+<title>ags_toggle_pattern_bit_new ()</title>
+<indexterm zone="ags-toggle-pattern-bit-new"><primary>ags_toggle_pattern_bit_new</primary></indexterm>
+<programlisting><link linkend="AgsTogglePatternBit"><returnvalue>AgsTogglePatternBit</returnvalue></link> * ags_toggle_pattern_bit_new (<parameter><link linkend="AgsPattern"><type>AgsPattern</type></link> *pattern</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> line</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index_i</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> index_j</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> bit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toggle-pattern-bit-refresh-gui" role="function">
+<title>ags_toggle_pattern_bit_refresh_gui ()</title>
+<indexterm zone="ags-toggle-pattern-bit-refresh-gui"><primary>ags_toggle_pattern_bit_refresh_gui</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toggle_pattern_bit_refresh_gui (<parameter><link linkend="AgsTogglePatternBit"><type>AgsTogglePatternBit</type></link> *toggle_pattern_bit</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_toolbar.xml b/doc/reference/ags/xml/ags_toolbar.xml
new file mode 100644
index 0000000..21760df
--- /dev/null
+++ b/doc/reference/ags/xml/ags_toolbar.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsToolbar">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsToolbar.top_of_page">AgsToolbar</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsToolbar</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsToolbar.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsToolbar">AgsToolbar</link>;
+struct <link linkend="AgsToolbarClass">AgsToolbarClass</link>;
+<link linkend="AgsToolbar"><returnvalue>AgsToolbar</returnvalue></link> * <link linkend="ags-toolbar-new">ags_toolbar_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsToolbar.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsToolbar.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsToolbar" role="struct">
+<title>struct AgsToolbar</title>
+<indexterm zone="AgsToolbar"><primary>AgsToolbar</primary></indexterm>
+<programlisting>struct AgsToolbar {
+ GtkToolbar toolbar;
+
+ GtkToggleButton *selected_edit_mode;
+ GtkToggleButton *position;
+ GtkToggleButton *edit;
+ GtkToggleButton *clear;
+ GtkToggleButton *select;
+
+ GtkButton *copy;
+ GtkButton *cut;
+ GtkButton *paste;
+
+ guint zoom_history;
+ GtkComboBoxText *zoom;
+
+ GtkComboBoxText *mode;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsToolbarClass" role="struct">
+<title>struct AgsToolbarClass</title>
+<indexterm zone="AgsToolbarClass"><primary>AgsToolbarClass</primary></indexterm>
+<programlisting>struct AgsToolbarClass {
+ GtkToolbarClass toolbar;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-new" role="function">
+<title>ags_toolbar_new ()</title>
+<indexterm zone="ags-toolbar-new"><primary>ags_toolbar_new</primary></indexterm>
+<programlisting><link linkend="AgsToolbar"><returnvalue>AgsToolbar</returnvalue></link> * ags_toolbar_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_toolbar_callbacks.xml b/doc/reference/ags/xml/ags_toolbar_callbacks.xml
new file mode 100644
index 0000000..1ebf514
--- /dev/null
+++ b/doc/reference/ags/xml/ags_toolbar_callbacks.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-toolbar-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-toolbar-callbacks.top_of_page">ags_toolbar_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_toolbar_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-toolbar-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-clear-callback">ags_toolbar_clear_callback</link> (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-copy-or-cut-callback">ags_toolbar_copy_or_cut_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-toolbar-destroy-callback">ags_toolbar_destroy_callback</link> (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-edit-callback">ags_toolbar_edit_callback</link> (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-mode-callback">ags_toolbar_mode_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-paste-callback">ags_toolbar_paste_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-position-callback">ags_toolbar_position_callback</link> (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-select-callback">ags_toolbar_select_callback</link> (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-show-callback">ags_toolbar_show_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-toolbar-zoom-callback">ags_toolbar_zoom_callback</link> (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-toolbar-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-toolbar-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-toolbar-clear-callback" role="function">
+<title>ags_toolbar_clear_callback ()</title>
+<indexterm zone="ags-toolbar-clear-callback"><primary>ags_toolbar_clear_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_clear_callback (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-copy-or-cut-callback" role="function">
+<title>ags_toolbar_copy_or_cut_callback ()</title>
+<indexterm zone="ags-toolbar-copy-or-cut-callback"><primary>ags_toolbar_copy_or_cut_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_copy_or_cut_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-destroy-callback" role="function">
+<title>ags_toolbar_destroy_callback ()</title>
+<indexterm zone="ags-toolbar-destroy-callback"><primary>ags_toolbar_destroy_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_toolbar_destroy_callback (<parameter><link linkend="GtkObject"><type>GtkObject</type></link> *object</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-edit-callback" role="function">
+<title>ags_toolbar_edit_callback ()</title>
+<indexterm zone="ags-toolbar-edit-callback"><primary>ags_toolbar_edit_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_edit_callback (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-mode-callback" role="function">
+<title>ags_toolbar_mode_callback ()</title>
+<indexterm zone="ags-toolbar-mode-callback"><primary>ags_toolbar_mode_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_mode_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-paste-callback" role="function">
+<title>ags_toolbar_paste_callback ()</title>
+<indexterm zone="ags-toolbar-paste-callback"><primary>ags_toolbar_paste_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_paste_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-position-callback" role="function">
+<title>ags_toolbar_position_callback ()</title>
+<indexterm zone="ags-toolbar-position-callback"><primary>ags_toolbar_position_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_position_callback (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-select-callback" role="function">
+<title>ags_toolbar_select_callback ()</title>
+<indexterm zone="ags-toolbar-select-callback"><primary>ags_toolbar_select_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_select_callback (<parameter><link linkend="GtkToggleButton"><type>GtkToggleButton</type></link> *toggle_button</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-show-callback" role="function">
+<title>ags_toolbar_show_callback ()</title>
+<indexterm zone="ags-toolbar-show-callback"><primary>ags_toolbar_show_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_show_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-toolbar-zoom-callback" role="function">
+<title>ags_toolbar_zoom_callback ()</title>
+<indexterm zone="ags-toolbar-zoom-callback"><primary>ags_toolbar_zoom_callback</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_toolbar_zoom_callback (<parameter><link linkend="GtkComboBox"><type>GtkComboBox</type></link> *combo_box</parameter>,
+ <parameter><link linkend="AgsToolbar"><type>AgsToolbar</type></link> *toolbar</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_toolbar_mode_stock.xml b/doc/reference/ags/xml/ags_toolbar_mode_stock.xml
new file mode 100644
index 0000000..e9990fa
--- /dev/null
+++ b/doc/reference/ags/xml/ags_toolbar_mode_stock.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-toolbar-mode-stock">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-toolbar-mode-stock.top_of_page">ags_toolbar_mode_stock</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_toolbar_mode_stock</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-toolbar-mode-stock.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-TOOLBAR-MODE-ALL-CHANNELS:CAPS">AGS_TOOLBAR_MODE_ALL_CHANNELS</link>
+#define <link linkend="AGS-TOOLBAR-MODE-MULTI-CHANNEL:CAPS">AGS_TOOLBAR_MODE_MULTI_CHANNEL</link>
+#define <link linkend="AGS-TOOLBAR-MODE-SINGLE-CHANNEL:CAPS">AGS_TOOLBAR_MODE_SINGLE_CHANNEL</link>
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-toolbar-mode-stock.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-toolbar-mode-stock.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-TOOLBAR-MODE-ALL-CHANNELS:CAPS" role="macro">
+<title>AGS_TOOLBAR_MODE_ALL_CHANNELS</title>
+<indexterm zone="AGS-TOOLBAR-MODE-ALL-CHANNELS:CAPS"><primary>AGS_TOOLBAR_MODE_ALL_CHANNELS</primary></indexterm>
+<programlisting>#define AGS_TOOLBAR_MODE_ALL_CHANNELS "all channels\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-TOOLBAR-MODE-MULTI-CHANNEL:CAPS" role="macro">
+<title>AGS_TOOLBAR_MODE_MULTI_CHANNEL</title>
+<indexterm zone="AGS-TOOLBAR-MODE-MULTI-CHANNEL:CAPS"><primary>AGS_TOOLBAR_MODE_MULTI_CHANNEL</primary></indexterm>
+<programlisting>#define AGS_TOOLBAR_MODE_MULTI_CHANNEL "multi channel\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-TOOLBAR-MODE-SINGLE-CHANNEL:CAPS" role="macro">
+<title>AGS_TOOLBAR_MODE_SINGLE_CHANNEL</title>
+<indexterm zone="AGS-TOOLBAR-MODE-SINGLE-CHANNEL:CAPS"><primary>AGS_TOOLBAR_MODE_SINGLE_CHANNEL</primary></indexterm>
+<programlisting>#define AGS_TOOLBAR_MODE_SINGLE_CHANNEL "single channel\0"
+</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_tree_iterator.xml b/doc/reference/ags/xml/ags_tree_iterator.xml
new file mode 100644
index 0000000..b072a4a
--- /dev/null
+++ b/doc/reference/ags/xml/ags_tree_iterator.xml
@@ -0,0 +1,130 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsTreeIterator">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsTreeIterator.top_of_page">AgsTreeIterator</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsTreeIterator</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsTreeIterator.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>typedef <link linkend="AgsTreeIterator">AgsTreeIterator</link>;
+struct <link linkend="AgsTreeIteratorInterface">AgsTreeIteratorInterface</link>;
+<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-tree-iterator-is-inverse-mode">ags_tree_iterator_is_inverse_mode</link> (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tree-iterator-iterate">ags_tree_iterator_iterate</link> (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tree-iterator-iterate-nested">ags_tree_iterator_iterate_nested</link> (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tree-iterator-safe-iterate">ags_tree_iterator_safe_iterate</link> (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *toplevel</parameter>,
+ <parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *current</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tree-iterator-safe-iterate-nested">ags_tree_iterator_safe_iterate_nested</link>
+ (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *toplevel</parameter>,
+ <parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *current</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-tree-iterator-set-inverse-mode">ags_tree_iterator_set_inverse_mode</link> (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> mode</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsTreeIterator.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsTreeIterator.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsTreeIterator" role="typedef">
+<title>AgsTreeIterator</title>
+<indexterm zone="AgsTreeIterator"><primary>AgsTreeIterator</primary></indexterm>
+<programlisting>typedef void AgsTreeIterator;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsTreeIteratorInterface" role="struct">
+<title>struct AgsTreeIteratorInterface</title>
+<indexterm zone="AgsTreeIteratorInterface"><primary>AgsTreeIteratorInterface</primary></indexterm>
+<programlisting>struct AgsTreeIteratorInterface {
+ GTypeInterface interface;
+
+ void (*set_inverse_mode)(AgsTreeIterator *tree, gboolean mode);
+ gboolean (*is_inverse_mode)(AgsTreeIterator *tree);
+
+ void (*iterate)(AgsTreeIterator *tree,
+ gpointer node_id);
+ void (*iterate_nested)(AgsTreeIterator *tree,
+ gpointer node_id);
+
+ void (*safe_iterate)(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+ void (*safe_iterate_nested)(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+
+ void (*loop_action)(AgsTreeIterator *current,
+ gpointer node_id);
+ void (*nested_loop_action)(AgsTreeIterator *current,
+ gpointer node_id);
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tree-iterator-is-inverse-mode" role="function">
+<title>ags_tree_iterator_is_inverse_mode ()</title>
+<indexterm zone="ags-tree-iterator-is-inverse-mode"><primary>ags_tree_iterator_is_inverse_mode</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_tree_iterator_is_inverse_mode (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tree-iterator-iterate" role="function">
+<title>ags_tree_iterator_iterate ()</title>
+<indexterm zone="ags-tree-iterator-iterate"><primary>ags_tree_iterator_iterate</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tree_iterator_iterate (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tree-iterator-iterate-nested" role="function">
+<title>ags_tree_iterator_iterate_nested ()</title>
+<indexterm zone="ags-tree-iterator-iterate-nested"><primary>ags_tree_iterator_iterate_nested</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tree_iterator_iterate_nested (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tree-iterator-safe-iterate" role="function">
+<title>ags_tree_iterator_safe_iterate ()</title>
+<indexterm zone="ags-tree-iterator-safe-iterate"><primary>ags_tree_iterator_safe_iterate</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tree_iterator_safe_iterate (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *toplevel</parameter>,
+ <parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *current</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tree-iterator-safe-iterate-nested" role="function">
+<title>ags_tree_iterator_safe_iterate_nested ()</title>
+<indexterm zone="ags-tree-iterator-safe-iterate-nested"><primary>ags_tree_iterator_safe_iterate_nested</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tree_iterator_safe_iterate_nested
+ (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *toplevel</parameter>,
+ <parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *current</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> node_id</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-tree-iterator-set-inverse-mode" role="function">
+<title>ags_tree_iterator_set_inverse_mode ()</title>
+<indexterm zone="ags-tree-iterator-set-inverse-mode"><primary>ags_tree_iterator_set_inverse_mode</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_tree_iterator_set_inverse_mode (<parameter><link linkend="AgsTreeIterator"><type>AgsTreeIterator</type></link> *tree</parameter>,
+ <parameter><link linkend="gboolean"><type>gboolean</type></link> mode</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_unref_audio_signal.xml b/doc/reference/ags/xml/ags_unref_audio_signal.xml
new file mode 100644
index 0000000..3ed8f6e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_unref_audio_signal.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsUnrefAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsUnrefAudioSignal.top_of_page">AgsUnrefAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsUnrefAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsUnrefAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsUnrefAudioSignal">AgsUnrefAudioSignal</link>;
+struct <link linkend="AgsUnrefAudioSignalClass">AgsUnrefAudioSignalClass</link>;
+<link linkend="AgsUnrefAudioSignal"><returnvalue>AgsUnrefAudioSignal</returnvalue></link> * <link linkend="ags-unref-audio-signal-new">ags_unref_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsUnrefAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsUnrefAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsUnrefAudioSignal" role="struct">
+<title>struct AgsUnrefAudioSignal</title>
+<indexterm zone="AgsUnrefAudioSignal"><primary>AgsUnrefAudioSignal</primary></indexterm>
+<programlisting>struct AgsUnrefAudioSignal {
+ AgsTask task;
+
+ AgsAudioSignal *audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsUnrefAudioSignalClass" role="struct">
+<title>struct AgsUnrefAudioSignalClass</title>
+<indexterm zone="AgsUnrefAudioSignalClass"><primary>AgsUnrefAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsUnrefAudioSignalClass {
+ AgsTaskClass task;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-unref-audio-signal-new" role="function">
+<title>ags_unref_audio_signal_new ()</title>
+<indexterm zone="ags-unref-audio-signal-new"><primary>ags_unref_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsUnrefAudioSignal"><returnvalue>AgsUnrefAudioSignal</returnvalue></link> * ags_unref_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_vindicator.xml b/doc/reference/ags/xml/ags_vindicator.xml
new file mode 100644
index 0000000..6952ef1
--- /dev/null
+++ b/doc/reference/ags/xml/ags_vindicator.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsVIndicator">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsVIndicator.top_of_page">AgsVIndicator</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsVIndicator</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsVIndicator.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsVIndicator">AgsVIndicator</link>;
+struct <link linkend="AgsVIndicatorClass">AgsVIndicatorClass</link>;
+<link linkend="AgsVIndicator"><returnvalue>AgsVIndicator</returnvalue></link> * <link linkend="ags-vindicator-new">ags_vindicator_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsVIndicator.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsVIndicator.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsVIndicator" role="struct">
+<title>struct AgsVIndicator</title>
+<indexterm zone="AgsVIndicator"><primary>AgsVIndicator</primary></indexterm>
+<programlisting>struct AgsVIndicator {
+ AgsIndicator indicator;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsVIndicatorClass" role="struct">
+<title>struct AgsVIndicatorClass</title>
+<indexterm zone="AgsVIndicatorClass"><primary>AgsVIndicatorClass</primary></indexterm>
+<programlisting>struct AgsVIndicatorClass {
+ GtkWidgetClass indicator;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-vindicator-new" role="function">
+<title>ags_vindicator_new ()</title>
+<indexterm zone="ags-vindicator-new"><primary>ags_vindicator_new</primary></indexterm>
+<programlisting><link linkend="AgsVIndicator"><returnvalue>AgsVIndicator</returnvalue></link> * ags_vindicator_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_volume_audio_signal.xml b/doc/reference/ags/xml/ags_volume_audio_signal.xml
new file mode 100644
index 0000000..262565e
--- /dev/null
+++ b/doc/reference/ags/xml/ags_volume_audio_signal.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsVolumeAudioSignal">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsVolumeAudioSignal.top_of_page">AgsVolumeAudioSignal</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsVolumeAudioSignal</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsVolumeAudioSignal.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsVolumeAudioSignal">AgsVolumeAudioSignal</link>;
+struct <link linkend="AgsVolumeAudioSignalClass">AgsVolumeAudioSignalClass</link>;
+<link linkend="AgsVolumeAudioSignal"><returnvalue>AgsVolumeAudioSignal</returnvalue></link> * <link linkend="ags-volume-audio-signal-new">ags_volume_audio_signal_new</link> (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsVolumeAudioSignal.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsVolumeAudioSignal.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsVolumeAudioSignal" role="struct">
+<title>struct AgsVolumeAudioSignal</title>
+<indexterm zone="AgsVolumeAudioSignal"><primary>AgsVolumeAudioSignal</primary></indexterm>
+<programlisting>struct AgsVolumeAudioSignal {
+ AgsRecallAudioSignal recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsVolumeAudioSignalClass" role="struct">
+<title>struct AgsVolumeAudioSignalClass</title>
+<indexterm zone="AgsVolumeAudioSignalClass"><primary>AgsVolumeAudioSignalClass</primary></indexterm>
+<programlisting>struct AgsVolumeAudioSignalClass {
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-volume-audio-signal-new" role="function">
+<title>ags_volume_audio_signal_new ()</title>
+<indexterm zone="ags-volume-audio-signal-new"><primary>ags_volume_audio_signal_new</primary></indexterm>
+<programlisting><link linkend="AgsVolumeAudioSignal"><returnvalue>AgsVolumeAudioSignal</returnvalue></link> * ags_volume_audio_signal_new (<parameter><link linkend="AgsAudioSignal"><type>AgsAudioSignal</type></link> *audio_signal</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_volume_channel.xml b/doc/reference/ags/xml/ags_volume_channel.xml
new file mode 100644
index 0000000..ce59bf0
--- /dev/null
+++ b/doc/reference/ags/xml/ags_volume_channel.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsVolumeChannel">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsVolumeChannel.top_of_page">AgsVolumeChannel</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsVolumeChannel</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsVolumeChannel.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsVolumeChannel">AgsVolumeChannel</link>;
+struct <link linkend="AgsVolumeChannelClass">AgsVolumeChannelClass</link>;
+<link linkend="AgsVolumeChannel"><returnvalue>AgsVolumeChannel</returnvalue></link> * <link linkend="ags-volume-channel-new">ags_volume_channel_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsVolumeChannel.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsVolumeChannel.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsVolumeChannel" role="struct">
+<title>struct AgsVolumeChannel</title>
+<indexterm zone="AgsVolumeChannel"><primary>AgsVolumeChannel</primary></indexterm>
+<programlisting>struct AgsVolumeChannel {
+ AgsRecallChannel recall_channel;
+
+ AgsPort *volume;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsVolumeChannelClass" role="struct">
+<title>struct AgsVolumeChannelClass</title>
+<indexterm zone="AgsVolumeChannelClass"><primary>AgsVolumeChannelClass</primary></indexterm>
+<programlisting>struct AgsVolumeChannelClass {
+ AgsRecallChannelClass recall_channel;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-volume-channel-new" role="function">
+<title>ags_volume_channel_new ()</title>
+<indexterm zone="ags-volume-channel-new"><primary>ags_volume_channel_new</primary></indexterm>
+<programlisting><link linkend="AgsVolumeChannel"><returnvalue>AgsVolumeChannel</returnvalue></link> * ags_volume_channel_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_volume_channel_run.xml b/doc/reference/ags/xml/ags_volume_channel_run.xml
new file mode 100644
index 0000000..3f64c57
--- /dev/null
+++ b/doc/reference/ags/xml/ags_volume_channel_run.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsVolumeChannelRun">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsVolumeChannelRun.top_of_page">AgsVolumeChannelRun</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsVolumeChannelRun</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsVolumeChannelRun.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsVolumeChannelRun">AgsVolumeChannelRun</link>;
+struct <link linkend="AgsVolumeChannelRunClass">AgsVolumeChannelRunClass</link>;
+<link linkend="AgsVolumeChannelRun"><returnvalue>AgsVolumeChannelRun</returnvalue></link> * <link linkend="ags-volume-channel-run-new">ags_volume_channel_run_new</link> (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsVolumeChannelRun.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsVolumeChannelRun.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsVolumeChannelRun" role="struct">
+<title>struct AgsVolumeChannelRun</title>
+<indexterm zone="AgsVolumeChannelRun"><primary>AgsVolumeChannelRun</primary></indexterm>
+<programlisting>struct AgsVolumeChannelRun {
+ AgsRecallChannelRun recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsVolumeChannelRunClass" role="struct">
+<title>struct AgsVolumeChannelRunClass</title>
+<indexterm zone="AgsVolumeChannelRunClass"><primary>AgsVolumeChannelRunClass</primary></indexterm>
+<programlisting>struct AgsVolumeChannelRunClass {
+ AgsRecallChannelRunClass recall_channel_run;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-volume-channel-run-new" role="function">
+<title>ags_volume_channel_run_new ()</title>
+<indexterm zone="ags-volume-channel-run-new"><primary>ags_volume_channel_run_new</primary></indexterm>
+<programlisting><link linkend="AgsVolumeChannelRun"><returnvalue>AgsVolumeChannelRun</returnvalue></link> * ags_volume_channel_run_new (<parameter><link linkend="AgsChannel"><type>AgsChannel</type></link> *channel</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_volume_recycling.xml b/doc/reference/ags/xml/ags_volume_recycling.xml
new file mode 100644
index 0000000..7d6f707
--- /dev/null
+++ b/doc/reference/ags/xml/ags_volume_recycling.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsVolumeRecycling">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsVolumeRecycling.top_of_page">AgsVolumeRecycling</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsVolumeRecycling</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsVolumeRecycling.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsVolumeRecycling">AgsVolumeRecycling</link>;
+struct <link linkend="AgsVolumeRecyclingClass">AgsVolumeRecyclingClass</link>;
+<link linkend="AgsVolumeRecycling"><returnvalue>AgsVolumeRecycling</returnvalue></link> * <link linkend="ags-volume-recycling-new">ags_volume_recycling_new</link> (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsVolumeRecycling.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsVolumeRecycling.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsVolumeRecycling" role="struct">
+<title>struct AgsVolumeRecycling</title>
+<indexterm zone="AgsVolumeRecycling"><primary>AgsVolumeRecycling</primary></indexterm>
+<programlisting>struct AgsVolumeRecycling {
+ AgsRecallRecycling recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsVolumeRecyclingClass" role="struct">
+<title>struct AgsVolumeRecyclingClass</title>
+<indexterm zone="AgsVolumeRecyclingClass"><primary>AgsVolumeRecyclingClass</primary></indexterm>
+<programlisting>struct AgsVolumeRecyclingClass {
+ AgsRecallRecyclingClass recall_recycling;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-volume-recycling-new" role="function">
+<title>ags_volume_recycling_new ()</title>
+<indexterm zone="ags-volume-recycling-new"><primary>ags_volume_recycling_new</primary></indexterm>
+<programlisting><link linkend="AgsVolumeRecycling"><returnvalue>AgsVolumeRecycling</returnvalue></link> * ags_volume_recycling_new (<parameter><link linkend="AgsRecycling"><type>AgsRecycling</type></link> *recycling</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_waveform.xml b/doc/reference/ags/xml/ags_waveform.xml
new file mode 100644
index 0000000..f1bea15
--- /dev/null
+++ b/doc/reference/ags/xml/ags_waveform.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsWaveform">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsWaveform.top_of_page">AgsWaveform</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsWaveform</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsWaveform.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>struct <link linkend="AgsWaveform">AgsWaveform</link>;
+struct <link linkend="AgsWaveformClass">AgsWaveformClass</link>;
+<link linkend="AgsWaveform"><returnvalue>AgsWaveform</returnvalue></link> * <link linkend="ags-waveform-new">ags_waveform_new</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsWaveform.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsWaveform.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AgsWaveform" role="struct">
+<title>struct AgsWaveform</title>
+<indexterm zone="AgsWaveform"><primary>AgsWaveform</primary></indexterm>
+<programlisting>struct AgsWaveform {
+ GtkWidget widget;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsWaveformClass" role="struct">
+<title>struct AgsWaveformClass</title>
+<indexterm zone="AgsWaveformClass"><primary>AgsWaveformClass</primary></indexterm>
+<programlisting>struct AgsWaveformClass {
+ GtkWidgetClass widget;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-waveform-new" role="function">
+<title>ags_waveform_new ()</title>
+<indexterm zone="ags-waveform-new"><primary>ags_waveform_new</primary></indexterm>
+<programlisting><link linkend="AgsWaveform"><returnvalue>AgsWaveform</returnvalue></link> * ags_waveform_new ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_window.xml b/doc/reference/ags/xml/ags_window.xml
new file mode 100644
index 0000000..cf1e5b3
--- /dev/null
+++ b/doc/reference/ags/xml/ags_window.xml
@@ -0,0 +1,164 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsWindow">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsWindow.top_of_page">AgsWindow</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsWindow</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsWindow.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-MACHINE-COUNTER:CAPS">AGS_MACHINE_COUNTER</link> (ptr)
+struct <link linkend="AgsMachineCounter">AgsMachineCounter</link>;
+struct <link linkend="AgsWindow">AgsWindow</link>;
+struct <link linkend="AgsWindowClass">AgsWindowClass</link>;
+enum <link linkend="AgsWindowFlags">AgsWindowFlags</link>;
+<link linkend="AgsMachineCounter"><returnvalue>AgsMachineCounter</returnvalue></link> * <link linkend="ags-machine-counter-alloc">ags_machine_counter_alloc</link> (<parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> initial_value</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-window-decrement-machine-counter">ags_window_decrement_machine_counter</link>
+ (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>);
+<link linkend="AgsMachineCounter"><returnvalue>AgsMachineCounter</returnvalue></link> * <link linkend="ags-window-find-machine-counter">ags_window_find_machine_counter</link> (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-window-increment-machine-counter">ags_window_increment_machine_counter</link>
+ (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>);
+<link linkend="AgsWindow"><returnvalue>AgsWindow</returnvalue></link> * <link linkend="ags-window-new">ags_window_new</link> (<parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsWindow.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsWindow.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-MACHINE-COUNTER:CAPS" role="macro">
+<title>AGS_MACHINE_COUNTER()</title>
+<indexterm zone="AGS-MACHINE-COUNTER:CAPS"><primary>AGS_MACHINE_COUNTER</primary></indexterm>
+<programlisting>#define AGS_MACHINE_COUNTER(ptr) ((AgsMachineCounter *)(ptr))
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMachineCounter" role="struct">
+<title>struct AgsMachineCounter</title>
+<indexterm zone="AgsMachineCounter"><primary>AgsMachineCounter</primary></indexterm>
+<programlisting>struct AgsMachineCounter {
+ gchar *version;
+ gchar *build_id;
+
+ GType machine_type;
+ guint counter;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsWindow" role="struct">
+<title>struct AgsWindow</title>
+<indexterm zone="AgsWindow"><primary>AgsWindow</primary></indexterm>
+<programlisting>struct AgsWindow {
+ GtkWindow window;
+
+ guint flags;
+
+ GObject *ags_main;
+
+ AgsDevout *devout;
+
+ char *name;
+
+ AgsMenuBar *menu_bar;
+
+ GtkVPaned *paned;
+
+ GtkVBox *machines;
+ GList *machine_counter;
+ AgsMachine *selected;
+
+ AgsEditor *editor;
+ AgsNavigation *navigation;
+
+ AgsExportWindow *export_window;
+ AgsPreferences *preferences;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsWindowClass" role="struct">
+<title>struct AgsWindowClass</title>
+<indexterm zone="AgsWindowClass"><primary>AgsWindowClass</primary></indexterm>
+<programlisting>struct AgsWindowClass {
+ GtkWindowClass window;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsWindowFlags" role="enum">
+<title>enum AgsWindowFlags</title>
+<indexterm zone="AgsWindowFlags"><primary>AgsWindowFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_WINDOW_READY = 1,
+ AGS_WINDOW_LOADING = 1 << 1,
+ AGS_WINDOW_SAVING = 1 << 2,
+ AGS_WINDOW_TERMINATING = 1 << 3,
+} AgsWindowFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-machine-counter-alloc" role="function">
+<title>ags_machine_counter_alloc ()</title>
+<indexterm zone="ags-machine-counter-alloc"><primary>ags_machine_counter_alloc</primary></indexterm>
+<programlisting><link linkend="AgsMachineCounter"><returnvalue>AgsMachineCounter</returnvalue></link> * ags_machine_counter_alloc (<parameter><link linkend="gchar"><type>gchar</type></link> *version</parameter>,
+ <parameter><link linkend="gchar"><type>gchar</type></link> *build_id</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>,
+ <parameter><link linkend="guint"><type>guint</type></link> initial_value</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-window-decrement-machine-counter" role="function">
+<title>ags_window_decrement_machine_counter ()</title>
+<indexterm zone="ags-window-decrement-machine-counter"><primary>ags_window_decrement_machine_counter</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_window_decrement_machine_counter
+ (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-window-find-machine-counter" role="function">
+<title>ags_window_find_machine_counter ()</title>
+<indexterm zone="ags-window-find-machine-counter"><primary>ags_window_find_machine_counter</primary></indexterm>
+<programlisting><link linkend="AgsMachineCounter"><returnvalue>AgsMachineCounter</returnvalue></link> * ags_window_find_machine_counter (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-window-increment-machine-counter" role="function">
+<title>ags_window_increment_machine_counter ()</title>
+<indexterm zone="ags-window-increment-machine-counter"><primary>ags_window_increment_machine_counter</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_window_increment_machine_counter
+ (<parameter><link linkend="AgsWindow"><type>AgsWindow</type></link> *window</parameter>,
+ <parameter><link linkend="GType"><type>GType</type></link> machine_type</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-window-new" role="function">
+<title>ags_window_new ()</title>
+<indexterm zone="ags-window-new"><primary>ags_window_new</primary></indexterm>
+<programlisting><link linkend="AgsWindow"><returnvalue>AgsWindow</returnvalue></link> * ags_window_new (<parameter><link linkend="GObject"><type>GObject</type></link> *ags_main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/ags_window_callbacks.xml b/doc/reference/ags/xml/ags_window_callbacks.xml
new file mode 100644
index 0000000..2eae3e7
--- /dev/null
+++ b/doc/reference/ags/xml/ags_window_callbacks.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-ags-window-callbacks">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-ags-window-callbacks.top_of_page">ags_window_callbacks</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ags_window_callbacks</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-ags-window-callbacks.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> <link linkend="ags-window-delete-event-callback">ags_window_delete_event_callback</link> (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-ags-window-callbacks.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-ags-window-callbacks.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="ags-window-delete-event-callback" role="function">
+<title>ags_window_delete_event_callback ()</title>
+<indexterm zone="ags-window-delete-event-callback"><primary>ags_window_delete_event_callback</primary></indexterm>
+<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> ags_window_delete_event_callback (<parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>,
+ <parameter><link linkend="gpointer"><type>gpointer</type></link> data</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/api-index-0.4.0.xml b/doc/reference/ags/xml/api-index-0.4.0.xml
new file mode 100644
index 0000000..8ec0fe4
--- /dev/null
+++ b/doc/reference/ags/xml/api-index-0.4.0.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE indexdiv PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<indexdiv>
+</indexdiv>
diff --git a/doc/reference/ags/xml/api-index-0.4.2.xml b/doc/reference/ags/xml/api-index-0.4.2.xml
new file mode 100644
index 0000000..8ec0fe4
--- /dev/null
+++ b/doc/reference/ags/xml/api-index-0.4.2.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE indexdiv PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<indexdiv>
+</indexdiv>
diff --git a/doc/reference/ags/xml/api-index-deprecated.xml b/doc/reference/ags/xml/api-index-deprecated.xml
new file mode 100644
index 0000000..8ec0fe4
--- /dev/null
+++ b/doc/reference/ags/xml/api-index-deprecated.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE indexdiv PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<indexdiv>
+</indexdiv>
diff --git a/doc/reference/ags/xml/api-index-full.xml b/doc/reference/ags/xml/api-index-full.xml
new file mode 100644
index 0000000..2d5cf16
--- /dev/null
+++ b/doc/reference/ags/xml/api-index-full.xml
@@ -0,0 +1,2112 @@
+<?xml version="1.0"?>
+<!DOCTYPE indexdiv PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<indexdiv>
+<indexdiv><title>A</title>
+<indexentry><primaryie linkends="AgsAccountingTable"><link linkend="AgsAccountingTable">AgsAccountingTable</link>, struct in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-ACCOUNTING-TABLE:CAPS"><link linkend="AGS-ACCOUNTING-TABLE:CAPS">AGS_ACCOUNTING_TABLE</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-accounting-table-alloc"><link linkend="ags-accounting-table-alloc">ags_accounting_table_alloc</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-accounting-table-set-sanity"><link linkend="ags-accounting-table-set-sanity">ags_accounting_table_set_sanity</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddAudio"><link linkend="AgsAddAudio">AgsAddAudio</link>, struct in <link linkend="ags-AgsAddAudio">AgsAddAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddAudioClass"><link linkend="AgsAddAudioClass">AgsAddAudioClass</link>, struct in <link linkend="ags-AgsAddAudio">AgsAddAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddAudioSignal"><link linkend="AgsAddAudioSignal">AgsAddAudioSignal</link>, struct in <link linkend="ags-AgsAddAudioSignal">AgsAddAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddAudioSignalClass"><link linkend="AgsAddAudioSignalClass">AgsAddAudioSignalClass</link>, struct in <link linkend="ags-AgsAddAudioSignal">AgsAddAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddLineMember"><link linkend="AgsAddLineMember">AgsAddLineMember</link>, struct in <link linkend="ags-AgsAddLineMember">AgsAddLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddLineMemberClass"><link linkend="AgsAddLineMemberClass">AgsAddLineMemberClass</link>, struct in <link linkend="ags-AgsAddLineMember">AgsAddLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddNote"><link linkend="AgsAddNote">AgsAddNote</link>, struct in <link linkend="ags-AgsAddNote">AgsAddNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddNoteClass"><link linkend="AgsAddNoteClass">AgsAddNoteClass</link>, struct in <link linkend="ags-AgsAddNote">AgsAddNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddPointToSelection"><link linkend="AgsAddPointToSelection">AgsAddPointToSelection</link>, struct in <link linkend="ags-AgsAddPointToSelection">AgsAddPointToSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddPointToSelectionClass"><link linkend="AgsAddPointToSelectionClass">AgsAddPointToSelectionClass</link>, struct in <link linkend="ags-AgsAddPointToSelection">AgsAddPointToSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddRecall"><link linkend="AgsAddRecall">AgsAddRecall</link>, struct in <link linkend="ags-AgsAddRecall">AgsAddRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddRecallClass"><link linkend="AgsAddRecallClass">AgsAddRecallClass</link>, struct in <link linkend="ags-AgsAddRecall">AgsAddRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddRegionToSelection"><link linkend="AgsAddRegionToSelection">AgsAddRegionToSelection</link>, struct in <link linkend="ags-AgsAddRegionToSelection">AgsAddRegionToSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAddRegionToSelectionClass"><link linkend="AgsAddRegionToSelectionClass">AgsAddRegionToSelectionClass</link>, struct in <link linkend="ags-AgsAddRegionToSelection">AgsAddRegionToSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-add-audio-new"><link linkend="ags-add-audio-new">ags_add_audio_new</link>, function in <link linkend="ags-AgsAddAudio">AgsAddAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-add-audio-signal-new"><link linkend="ags-add-audio-signal-new">ags_add_audio_signal_new</link>, function in <link linkend="ags-AgsAddAudioSignal">AgsAddAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-add-line-member-new"><link linkend="ags-add-line-member-new">ags_add_line_member_new</link>, function in <link linkend="ags-AgsAddLineMember">AgsAddLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-add-note-new"><link linkend="ags-add-note-new">ags_add_note_new</link>, function in <link linkend="ags-AgsAddNote">AgsAddNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-add-point-to-selection-new"><link linkend="ags-add-point-to-selection-new">ags_add_point_to_selection_new</link>, function in <link linkend="ags-AgsAddPointToSelection">AgsAddPointToSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-add-recall-new"><link linkend="ags-add-recall-new">ags_add_recall_new</link>, function in <link linkend="ags-AgsAddRecall">AgsAddRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-add-region-to-selection-new"><link linkend="ags-add-region-to-selection-new">ags_add_region_to_selection_new</link>, function in <link linkend="ags-AgsAddRegionToSelection">AgsAddRegionToSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ALSA-PCM-NEW-HW-PARAMS-API:CAPS"><link linkend="ALSA-PCM-NEW-HW-PARAMS-API:CAPS">ALSA_PCM_NEW_HW_PARAMS_API</link>, macro in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-amplifier"><link linkend="ags-amplifier">ags_amplifier</link>, function in <link linkend="ags-ags-amplifier">ags_amplifier</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendAudio"><link linkend="AgsAppendAudio">AgsAppendAudio</link>, struct in <link linkend="ags-AgsAppendAudio">AgsAppendAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendAudioClass"><link linkend="AgsAppendAudioClass">AgsAppendAudioClass</link>, struct in <link linkend="ags-AgsAppendAudio">AgsAppendAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendAudioThreaded"><link linkend="AgsAppendAudioThreaded">AgsAppendAudioThreaded</link>, struct in <link linkend="ags-AgsAppendAudioThreaded">AgsAppendAudioThreaded</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendAudioThreadedClass"><link linkend="AgsAppendAudioThreadedClass">AgsAppendAudioThreadedClass</link>, struct in <link linkend="ags-AgsAppendAudioThreaded">AgsAppendAudioThreaded</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendChannel"><link linkend="AgsAppendChannel">AgsAppendChannel</link>, struct in <link linkend="ags-AgsAppendChannel">AgsAppendChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendChannelClass"><link linkend="AgsAppendChannelClass">AgsAppendChannelClass</link>, struct in <link linkend="ags-AgsAppendChannel">AgsAppendChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendRecall"><link linkend="AgsAppendRecall">AgsAppendRecall</link>, struct in <link linkend="ags-AgsAppendRecall">AgsAppendRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAppendRecallClass"><link linkend="AgsAppendRecallClass">AgsAppendRecallClass</link>, struct in <link linkend="ags-AgsAppendRecall">AgsAppendRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-append-audio-new"><link linkend="ags-append-audio-new">ags_append_audio_new</link>, function in <link linkend="ags-AgsAppendAudio">AgsAppendAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-append-audio-threaded-new"><link linkend="ags-append-audio-threaded-new">ags_append_audio_threaded_new</link>, function in <link linkend="ags-AgsAppendAudioThreaded">AgsAppendAudioThreaded</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-append-channel-new"><link linkend="ags-append-channel-new">ags_append_channel_new</link>, function in <link linkend="ags-AgsAppendChannel">AgsAppendChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-append-recall-new"><link linkend="ags-append-recall-new">ags_append_recall_new</link>, function in <link linkend="ags-AgsAppendRecall">AgsAppendRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplicable"><link linkend="AgsApplicable">AgsApplicable</link>, typedef in <link linkend="ags-AgsApplicable">AgsApplicable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplicableInterface"><link linkend="AgsApplicableInterface">AgsApplicableInterface</link>, struct in <link linkend="ags-AgsApplicable">AgsApplicable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-applicable-apply"><link linkend="ags-applicable-apply">ags_applicable_apply</link>, function in <link linkend="ags-AgsApplicable">AgsApplicable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-applicable-reset"><link linkend="ags-applicable-reset">ags_applicable_reset</link>, function in <link linkend="ags-AgsApplicable">AgsApplicable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-applicable-set-update"><link linkend="ags-applicable-set-update">ags_applicable_set_update</link>, function in <link linkend="ags-AgsApplicable">AgsApplicable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplyBpm"><link linkend="AgsApplyBpm">AgsApplyBpm</link>, struct in <link linkend="ags-AgsApplyBpm">AgsApplyBpm</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplyBpmClass"><link linkend="AgsApplyBpmClass">AgsApplyBpmClass</link>, struct in <link linkend="ags-AgsApplyBpm">AgsApplyBpm</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplySequencerLength"><link linkend="AgsApplySequencerLength">AgsApplySequencerLength</link>, struct in <link linkend="ags-AgsApplySequencerLength">AgsApplySequencerLength</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplySequencerLengthClass"><link linkend="AgsApplySequencerLengthClass">AgsApplySequencerLengthClass</link>, struct in <link linkend="ags-AgsApplySequencerLength">AgsApplySequencerLength</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplySynth"><link linkend="AgsApplySynth">AgsApplySynth</link>, struct in <link linkend="ags-AgsApplySynth">AgsApplySynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplySynthClass"><link linkend="AgsApplySynthClass">AgsApplySynthClass</link>, struct in <link linkend="ags-AgsApplySynth">AgsApplySynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplySynthWave"><link linkend="AgsApplySynthWave">AgsApplySynthWave</link>, enum in <link linkend="ags-AgsApplySynth">AgsApplySynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplyTact"><link linkend="AgsApplyTact">AgsApplyTact</link>, struct in <link linkend="ags-AgsApplyTact">AgsApplyTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplyTactClass"><link linkend="AgsApplyTactClass">AgsApplyTactClass</link>, struct in <link linkend="ags-AgsApplyTact">AgsApplyTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplyWavetable"><link linkend="AgsApplyWavetable">AgsApplyWavetable</link>, struct in <link linkend="ags-AgsApplyWavetable">AgsApplyWavetable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsApplyWavetableClass"><link linkend="AgsApplyWavetableClass">AgsApplyWavetableClass</link>, struct in <link linkend="ags-AgsApplyWavetable">AgsApplyWavetable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-apply-bpm-new"><link linkend="ags-apply-bpm-new">ags_apply_bpm_new</link>, function in <link linkend="ags-AgsApplyBpm">AgsApplyBpm</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-apply-sequencer-length-new"><link linkend="ags-apply-sequencer-length-new">ags_apply_sequencer_length_new</link>, function in <link linkend="ags-AgsApplySequencerLength">AgsApplySequencerLength</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-apply-synth-new"><link linkend="ags-apply-synth-new">ags_apply_synth_new</link>, function in <link linkend="ags-AgsApplySynth">AgsApplySynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-apply-tact-new"><link linkend="ags-apply-tact-new">ags_apply_tact_new</link>, function in <link linkend="ags-AgsApplyTact">AgsApplyTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-apply-wavetable-new"><link linkend="ags-apply-wavetable-new">ags_apply_wavetable_new</link>, function in <link linkend="ags-AgsApplyWavetable">AgsApplyWavetable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAsyncQueue"><link linkend="AgsAsyncQueue">AgsAsyncQueue</link>, struct in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAsyncQueueClass"><link linkend="AgsAsyncQueueClass">AgsAsyncQueueClass</link>, struct in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAsyncQueueFlags"><link linkend="AgsAsyncQueueFlags">AgsAsyncQueueFlags</link>, enum in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-add"><link linkend="ags-async-queue-add">ags_async_queue_add</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-ASYNC-QUEUE-CLOCK-ID:CAPS"><link linkend="AGS-ASYNC-QUEUE-CLOCK-ID:CAPS">AGS_ASYNC_QUEUE_CLOCK_ID</link>, macro in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-ASYNC-QUEUE-DEFAULT-SYSTEM-JIFFIE:CAPS"><link linkend="AGS-ASYNC-QUEUE-DEFAULT-SYSTEM-JIFFIE:CAPS">AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE</link>, macro in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-find-context"><link linkend="ags-async-queue-find-context">ags_async_queue_find_context</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-idle"><link linkend="ags-async-queue-idle">ags_async_queue_idle</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-initerrupt"><link linkend="ags-async-queue-initerrupt">ags_async_queue_initerrupt</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-new"><link linkend="ags-async-queue-new">ags_async_queue_new</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-next-interval"><link linkend="ags-async-queue-next-interval">ags_async_queue_next_interval</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-pop-context"><link linkend="ags-async-queue-pop-context">ags_async_queue_pop_context</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-push-context"><link linkend="ags-async-queue-push-context">ags_async_queue_push_context</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-remove"><link linkend="ags-async-queue-remove">ags_async_queue_remove</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-ASYNC-QUEUE-SIGNAL-HIGH:CAPS"><link linkend="AGS-ASYNC-QUEUE-SIGNAL-HIGH:CAPS">AGS_ASYNC_QUEUE_SIGNAL_HIGH</link>, macro in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-ASYNC-QUEUE-SIGNAL-LOW:CAPS"><link linkend="AGS-ASYNC-QUEUE-SIGNAL-LOW:CAPS">AGS_ASYNC_QUEUE_SIGNAL_LOW</link>, macro in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-async-queue-worker"><link linkend="ags-async-queue-worker">ags_async_queue_worker</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAttack"><link linkend="AgsAttack">AgsAttack</link>, struct in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAttackFlags"><link linkend="AgsAttackFlags">AgsAttackFlags</link>, enum in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudio"><link linkend="AgsAudio">AgsAudio</link>, struct in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioClass"><link linkend="AgsAudioClass">AgsAudioClass</link>, struct in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioFile"><link linkend="AgsAudioFile">AgsAudioFile</link>, struct in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioFileClass"><link linkend="AgsAudioFileClass">AgsAudioFileClass</link>, struct in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioFileXml"><link linkend="AgsAudioFileXml">AgsAudioFileXml</link>, struct in <link linkend="ags-AgsAudioFileXml">AgsAudioFileXml</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioFileXmlClass"><link linkend="AgsAudioFileXmlClass">AgsAudioFileXmlClass</link>, struct in <link linkend="ags-AgsAudioFileXml">AgsAudioFileXml</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioFlags"><link linkend="AgsAudioFlags">AgsAudioFlags</link>, enum in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioLoop"><link linkend="AgsAudioLoop">AgsAudioLoop</link>, struct in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioLoopClass"><link linkend="AgsAudioLoopClass">AgsAudioLoopClass</link>, struct in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioLoopFlags"><link linkend="AgsAudioLoopFlags">AgsAudioLoopFlags</link>, enum in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioPreferences"><link linkend="AgsAudioPreferences">AgsAudioPreferences</link>, struct in <link linkend="ags-AgsAudioPreferences">AgsAudioPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioPreferencesClass"><link linkend="AgsAudioPreferencesClass">AgsAudioPreferencesClass</link>, struct in <link linkend="ags-AgsAudioPreferences">AgsAudioPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioSetRecycling"><link linkend="AgsAudioSetRecycling">AgsAudioSetRecycling</link>, struct in <link linkend="ags-AgsAudioSetRecycling">AgsAudioSetRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioSetRecyclingClass"><link linkend="AgsAudioSetRecyclingClass">AgsAudioSetRecyclingClass</link>, struct in <link linkend="ags-AgsAudioSetRecycling">AgsAudioSetRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioSignal"><link linkend="AgsAudioSignal">AgsAudioSignal</link>, struct in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioSignalClass"><link linkend="AgsAudioSignalClass">AgsAudioSignalClass</link>, struct in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAudioSignalFlags"><link linkend="AgsAudioSignalFlags">AgsAudioSignalFlags</link>, enum in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-add-recall"><link linkend="ags-audio-add-recall">ags_audio_add_recall</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-add-recall-container"><link linkend="ags-audio-add-recall-container">ags_audio_add_recall_container</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-add-recall-id"><link linkend="ags-audio-add-recall-id">ags_audio_add_recall_id</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-cancel"><link linkend="ags-audio-cancel">ags_audio_cancel</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-done"><link linkend="ags-audio-done">ags_audio_done</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-duplicate-recall"><link linkend="ags-audio-duplicate-recall">ags_audio_duplicate_recall</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-close"><link linkend="ags-audio-file-close">ags_audio_file_close</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-flush"><link linkend="ags-audio-file-flush">ags_audio_file_flush</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-new"><link linkend="ags-audio-file-new">ags_audio_file_new</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-open"><link linkend="ags-audio-file-open">ags_audio_file_open</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-open-from-data"><link linkend="ags-audio-file-open-from-data">ags_audio_file_open_from_data</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-read-audio-signal"><link linkend="ags-audio-file-read-audio-signal">ags_audio_file_read_audio_signal</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-rw-open"><link linkend="ags-audio-file-rw-open">ags_audio_file_rw_open</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-seek"><link linkend="ags-audio-file-seek">ags_audio_file_seek</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-write"><link linkend="ags-audio-file-write">ags_audio_file_write</link>, function in <link linkend="ags-AgsAudioFile">AgsAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-file-xml-new"><link linkend="ags-audio-file-xml-new">ags_audio_file_xml_new</link>, function in <link linkend="ags-AgsAudioFileXml">AgsAudioFileXml</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-init-recall"><link linkend="ags-audio-init-recall">ags_audio_init_recall</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-init-run"><link linkend="ags-audio-init-run">ags_audio_init_run</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-is-playing"><link linkend="ags-audio-is-playing">ags_audio_is_playing</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-loop-add-audio"><link linkend="ags-audio-loop-add-audio">ags_audio_loop_add_audio</link>, function in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-loop-add-channel"><link linkend="ags-audio-loop-add-channel">ags_audio_loop_add_channel</link>, function in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-loop-add-recall"><link linkend="ags-audio-loop-add-recall">ags_audio_loop_add_recall</link>, function in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-AUDIO-LOOP-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-AUDIO-LOOP-DEFAULT-JIFFIE:CAPS">AGS_AUDIO_LOOP_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-loop-new"><link linkend="ags-audio-loop-new">ags_audio_loop_new</link>, function in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-loop-remove-audio"><link linkend="ags-audio-loop-remove-audio">ags_audio_loop_remove_audio</link>, function in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-loop-remove-channel"><link linkend="ags-audio-loop-remove-channel">ags_audio_loop_remove_channel</link>, function in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-loop-remove-recall"><link linkend="ags-audio-loop-remove-recall">ags_audio_loop_remove_recall</link>, function in <link linkend="ags-AgsAudioLoop">AgsAudioLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-new"><link linkend="ags-audio-new">ags_audio_new</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-open-files"><link linkend="ags-audio-open-files">ags_audio_open_files</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-play"><link linkend="ags-audio-play">ags_audio_play</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-preferences-audio-channels-changed"><link linkend="ags-audio-preferences-audio-channels-changed">ags_audio_preferences_audio_channels_changed</link>, function in <link linkend="ags-ags-audio-preferences-callbacks">ags_audio_preferences_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-preferences-buffer-size-changed"><link linkend="ags-audio-preferences-buffer-size-changed">ags_audio_preferences_buffer_size_changed</link>, function in <link linkend="ags-ags-audio-preferences-callbacks">ags_audio_preferences_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-preferences-card-changed-callback"><link linkend="ags-audio-preferences-card-changed-callback">ags_audio_preferences_card_changed_callback</link>, function in <link linkend="ags-ags-audio-preferences-callbacks">ags_audio_preferences_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-preferences-new"><link linkend="ags-audio-preferences-new">ags_audio_preferences_new</link>, function in <link linkend="ags-AgsAudioPreferences">AgsAudioPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-preferences-samplerate-changed"><link linkend="ags-audio-preferences-samplerate-changed">ags_audio_preferences_samplerate_changed</link>, function in <link linkend="ags-ags-audio-preferences-callbacks">ags_audio_preferences_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-recall-change-state"><link linkend="ags-audio-recall-change-state">ags_audio_recall_change_state</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-recursive-play-init"><link linkend="ags-audio-recursive-play-init">ags_audio_recursive_play_init</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-remove-recall"><link linkend="ags-audio-remove-recall">ags_audio_remove_recall</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-remove-recall-container"><link linkend="ags-audio-remove-recall-container">ags_audio_remove_recall_container</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-remove-recall-id"><link linkend="ags-audio-remove-recall-id">ags_audio_remove_recall_id</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-resolve-recall"><link linkend="ags-audio-resolve-recall">ags_audio_resolve_recall</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-set-audio-channels"><link linkend="ags-audio-set-audio-channels">ags_audio_set_audio_channels</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-set-devout"><link linkend="ags-audio-set-devout">ags_audio_set_devout</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-set-flags"><link linkend="ags-audio-set-flags">ags_audio_set_flags</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-set-pads"><link linkend="ags-audio-set-pads">ags_audio_set_pads</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-set-recycling-new"><link linkend="ags-audio-set-recycling-new">ags_audio_set_recycling_new</link>, function in <link linkend="ags-AgsAudioSetRecycling">AgsAudioSetRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-set-sequence-length"><link linkend="ags-audio-set-sequence-length">ags_audio_set_sequence_length</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-add-stream"><link linkend="ags-audio-signal-add-stream">ags_audio_signal_add_stream</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-copy-buffer-to-buffer"><link linkend="ags-audio-signal-copy-buffer-to-buffer">ags_audio_signal_copy_buffer_to_buffer</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-copy-buffer-to-double-buffer"><link linkend="ags-audio-signal-copy-buffer-to-double-buffer">ags_audio_signal_copy_buffer_to_double_buffer</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-copy-double-buffer-to-buffer"><link linkend="ags-audio-signal-copy-double-buffer-to-buffer">ags_audio_signal_copy_double_buffer_to_buffer</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-duplicate-stream"><link linkend="ags-audio-signal-duplicate-stream">ags_audio_signal_duplicate_stream</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-get-by-recall-id"><link linkend="ags-audio-signal-get-by-recall-id">ags_audio_signal_get_by_recall_id</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-get-length-till-current"><link linkend="ags-audio-signal-get-length-till-current">ags_audio_signal_get_length_till_current</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-get-stream-current"><link linkend="ags-audio-signal-get-stream-current">ags_audio_signal_get_stream_current</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-get-template"><link linkend="ags-audio-signal-get-template">ags_audio_signal_get_template</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-morph-samplerate"><link linkend="ags-audio-signal-morph-samplerate">ags_audio_signal_morph_samplerate</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-new"><link linkend="ags-audio-signal-new">ags_audio_signal_new</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-new-with-length"><link linkend="ags-audio-signal-new-with-length">ags_audio_signal_new_with_length</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-realloc-buffer-size"><link linkend="ags-audio-signal-realloc-buffer-size">ags_audio_signal_realloc_buffer_size</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-scale"><link linkend="ags-audio-signal-scale">ags_audio_signal_scale</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-stream-resize"><link linkend="ags-audio-signal-stream-resize">ags_audio_signal_stream_resize</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-stream-safe-resize"><link linkend="ags-audio-signal-stream-safe-resize">ags_audio_signal_stream_safe_resize</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-signal-tile"><link linkend="ags-audio-signal-tile">ags_audio_signal_tile</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-tact"><link linkend="ags-audio-tact">ags_audio_tact</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-audio-unset-flags"><link linkend="ags-audio-unset-flags">ags_audio_unset_flags</link>, function in <link linkend="ags-AgsAudio">AgsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAutosaveThread"><link linkend="AgsAutosaveThread">AgsAutosaveThread</link>, struct in <link linkend="ags-AgsAutosaveThread">AgsAutosaveThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsAutosaveThreadClass"><link linkend="AgsAutosaveThreadClass">AgsAutosaveThreadClass</link>, struct in <link linkend="ags-AgsAutosaveThread">AgsAutosaveThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-AUTOSAVE-THREAD-DEFAULT-FILENAME:CAPS"><link linkend="AGS-AUTOSAVE-THREAD-DEFAULT-FILENAME:CAPS">AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME</link>, macro in <link linkend="ags-AgsAutosaveThread">AgsAutosaveThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-AUTOSAVE-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-AUTOSAVE-THREAD-DEFAULT-JIFFIE:CAPS">AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsAutosaveThread">AgsAutosaveThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-autosave-thread-new"><link linkend="ags-autosave-thread-new">ags_autosave_thread_new</link>, function in <link linkend="ags-AgsAutosaveThread">AgsAutosaveThread</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>B</title>
+<indexentry><primaryie linkends="AgsBufferAudioSignal"><link linkend="AgsBufferAudioSignal">AgsBufferAudioSignal</link>, struct in <link linkend="ags-AgsBufferAudioSignal">AgsBufferAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsBufferAudioSignalClass"><link linkend="AgsBufferAudioSignalClass">AgsBufferAudioSignalClass</link>, struct in <link linkend="ags-AgsBufferAudioSignal">AgsBufferAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsBufferChannel"><link linkend="AgsBufferChannel">AgsBufferChannel</link>, struct in <link linkend="ags-AgsBufferChannel">AgsBufferChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsBufferChannelClass"><link linkend="AgsBufferChannelClass">AgsBufferChannelClass</link>, struct in <link linkend="ags-AgsBufferChannel">AgsBufferChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsBufferChannelRun"><link linkend="AgsBufferChannelRun">AgsBufferChannelRun</link>, struct in <link linkend="ags-AgsBufferChannelRun">AgsBufferChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsBufferChannelRunClass"><link linkend="AgsBufferChannelRunClass">AgsBufferChannelRunClass</link>, struct in <link linkend="ags-AgsBufferChannelRun">AgsBufferChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsBufferRecycling"><link linkend="AgsBufferRecycling">AgsBufferRecycling</link>, struct in <link linkend="ags-AgsBufferRecycling">AgsBufferRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsBufferRecyclingClass"><link linkend="AgsBufferRecyclingClass">AgsBufferRecyclingClass</link>, struct in <link linkend="ags-AgsBufferRecycling">AgsBufferRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-buffer-audio-signal-new"><link linkend="ags-buffer-audio-signal-new">ags_buffer_audio_signal_new</link>, function in <link linkend="ags-AgsBufferAudioSignal">AgsBufferAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-buffer-channel-new"><link linkend="ags-buffer-channel-new">ags_buffer_channel_new</link>, function in <link linkend="ags-AgsBufferChannel">AgsBufferChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-buffer-channel-run-new"><link linkend="ags-buffer-channel-run-new">ags_buffer_channel_run_new</link>, function in <link linkend="ags-AgsBufferChannelRun">AgsBufferChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-buffer-recycling-new"><link linkend="ags-buffer-recycling-new">ags_buffer_recycling_new</link>, function in <link linkend="ags-AgsBufferRecycling">AgsBufferRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-BUILD-ID:CAPS"><link linkend="AGS-BUILD-ID:CAPS">AGS_BUILD_ID</link>, macro in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>C</title>
+<indexentry><primaryie linkends="AgsCancelAudio"><link linkend="AgsCancelAudio">AgsCancelAudio</link>, struct in <link linkend="ags-AgsCancelAudio">AgsCancelAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCancelAudioClass"><link linkend="AgsCancelAudioClass">AgsCancelAudioClass</link>, struct in <link linkend="ags-AgsCancelAudio">AgsCancelAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCancelChannel"><link linkend="AgsCancelChannel">AgsCancelChannel</link>, struct in <link linkend="ags-AgsCancelChannel">AgsCancelChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCancelChannelClass"><link linkend="AgsCancelChannelClass">AgsCancelChannelClass</link>, struct in <link linkend="ags-AgsCancelChannel">AgsCancelChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCancelRecall"><link linkend="AgsCancelRecall">AgsCancelRecall</link>, struct in <link linkend="ags-AgsCancelRecall">AgsCancelRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCancelRecallClass"><link linkend="AgsCancelRecallClass">AgsCancelRecallClass</link>, struct in <link linkend="ags-AgsCancelRecall">AgsCancelRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-cancel-audio-new"><link linkend="ags-cancel-audio-new">ags_cancel_audio_new</link>, function in <link linkend="ags-AgsCancelAudio">AgsCancelAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-cancel-channel-new"><link linkend="ags-cancel-channel-new">ags_cancel_channel_new</link>, function in <link linkend="ags-AgsCancelChannel">AgsCancelChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-cancel-recall-new"><link linkend="ags-cancel-recall-new">ags_cancel_recall_new</link>, function in <link linkend="ags-AgsCancelRecall">AgsCancelRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCartesian"><link linkend="AgsCartesian">AgsCartesian</link>, struct in <link linkend="ags-AgsCartesian">AgsCartesian</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCartesianClass"><link linkend="AgsCartesianClass">AgsCartesianClass</link>, struct in <link linkend="ags-AgsCartesian">AgsCartesian</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-cartesian-new"><link linkend="ags-cartesian-new">ags_cartesian_new</link>, function in <link linkend="ags-AgsCartesian">AgsCartesian</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChangeIndicator"><link linkend="AgsChangeIndicator">AgsChangeIndicator</link>, struct in <link linkend="ags-AgsChangeIndicator">AgsChangeIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChangeIndicatorClass"><link linkend="AgsChangeIndicatorClass">AgsChangeIndicatorClass</link>, struct in <link linkend="ags-AgsChangeIndicator">AgsChangeIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChangeTact"><link linkend="AgsChangeTact">AgsChangeTact</link>, struct in <link linkend="ags-AgsChangeTact">AgsChangeTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChangeTactClass"><link linkend="AgsChangeTactClass">AgsChangeTactClass</link>, struct in <link linkend="ags-AgsChangeTact">AgsChangeTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-change-indicator-new"><link linkend="ags-change-indicator-new">ags_change_indicator_new</link>, function in <link linkend="ags-AgsChangeIndicator">AgsChangeIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-change-tact-new"><link linkend="ags-change-tact-new">ags_change_tact_new</link>, function in <link linkend="ags-AgsChangeTact">AgsChangeTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannel"><link linkend="AgsChannel">AgsChannel</link>, struct in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelClass"><link linkend="AgsChannelClass">AgsChannelClass</link>, struct in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelError"><link linkend="AgsChannelError">AgsChannelError</link>, enum in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelFlags"><link linkend="AgsChannelFlags">AgsChannelFlags</link>, enum in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelIter"><link linkend="AgsChannelIter">AgsChannelIter</link>, struct in <link linkend="ags-ags-channel-iter">ags_channel_iter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelIterFlags"><link linkend="AgsChannelIterFlags">AgsChannelIterFlags</link>, enum in <link linkend="ags-ags-channel-iter">ags_channel_iter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelRecallIDMode"><link linkend="AgsChannelRecallIDMode">AgsChannelRecallIDMode</link>, enum in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelSetRecycling"><link linkend="AgsChannelSetRecycling">AgsChannelSetRecycling</link>, struct in <link linkend="ags-AgsChannelSetRecycling">AgsChannelSetRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsChannelSetRecyclingClass"><link linkend="AgsChannelSetRecyclingClass">AgsChannelSetRecyclingClass</link>, struct in <link linkend="ags-AgsChannelSetRecycling">AgsChannelSetRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-add-recall"><link linkend="ags-channel-add-recall">ags_channel_add_recall</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-add-recall-container"><link linkend="ags-channel-add-recall-container">ags_channel_add_recall_container</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-add-recall-id"><link linkend="ags-channel-add-recall-id">ags_channel_add_recall_id</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-cancel"><link linkend="ags-channel-cancel">ags_channel_cancel</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-done"><link linkend="ags-channel-done">ags_channel_done</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-duplicate-recall"><link linkend="ags-channel-duplicate-recall">ags_channel_duplicate_recall</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-CHANNEL-ERROR:CAPS"><link linkend="AGS-CHANNEL-ERROR:CAPS">AGS_CHANNEL_ERROR</link>, macro in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-error-quark"><link linkend="ags-channel-error-quark">ags_channel_error_quark</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-find-recall"><link linkend="ags-channel-find-recall">ags_channel_find_recall</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-first"><link linkend="ags-channel-first">ags_channel_first</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-first-with-recycling"><link linkend="ags-channel-first-with-recycling">ags_channel_first_with_recycling</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-init-recall"><link linkend="ags-channel-init-recall">ags_channel_init_recall</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-iter-alloc"><link linkend="ags-channel-iter-alloc">ags_channel_iter_alloc</link>, function in <link linkend="ags-ags-channel-iter">ags_channel_iter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-iter-free"><link linkend="ags-channel-iter-free">ags_channel_iter_free</link>, function in <link linkend="ags-ags-channel-iter">ags_channel_iter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-iter-next"><link linkend="ags-channel-iter-next">ags_channel_iter_next</link>, function in <link linkend="ags-ags-channel-iter">ags_channel_iter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-iter-prev"><link linkend="ags-channel-iter-prev">ags_channel_iter_prev</link>, function in <link linkend="ags-ags-channel-iter">ags_channel_iter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-last"><link linkend="ags-channel-last">ags_channel_last</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-last-with-recycling"><link linkend="ags-channel-last-with-recycling">ags_channel_last_with_recycling</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-new"><link linkend="ags-channel-new">ags_channel_new</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-nth"><link linkend="ags-channel-nth">ags_channel_nth</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-pad-first"><link linkend="ags-channel-pad-first">ags_channel_pad_first</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-pad-last"><link linkend="ags-channel-pad-last">ags_channel_pad_last</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-pad-nth"><link linkend="ags-channel-pad-nth">ags_channel_pad_nth</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-play"><link linkend="ags-channel-play">ags_channel_play</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-recall-id-set"><link linkend="ags-channel-recall-id-set">ags_channel_recall_id_set</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-recursive-play"><link linkend="ags-channel-recursive-play">ags_channel_recursive_play</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-recursive-play-init"><link linkend="ags-channel-recursive-play-init">ags_channel_recursive_play_init</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-recursive-play-threaded"><link linkend="ags-channel-recursive-play-threaded">ags_channel_recursive_play_threaded</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-recursive-reset-recall-ids"><link linkend="ags-channel-recursive-reset-recall-ids">ags_channel_recursive_reset_recall_ids</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-recycling-changed"><link linkend="ags-channel-recycling-changed">ags_channel_recycling_changed</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-remove-recall"><link linkend="ags-channel-remove-recall">ags_channel_remove_recall</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-remove-recall-id"><link linkend="ags-channel-remove-recall-id">ags_channel_remove_recall_id</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-resolve-recall"><link linkend="ags-channel-resolve-recall">ags_channel_resolve_recall</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-safe-resize-audio-signal"><link linkend="ags-channel-safe-resize-audio-signal">ags_channel_safe_resize_audio_signal</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-set-devout"><link linkend="ags-channel-set-devout">ags_channel_set_devout</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-set-link"><link linkend="ags-channel-set-link">ags_channel_set_link</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-set-recycling"><link linkend="ags-channel-set-recycling">ags_channel_set_recycling</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-set-recycling-new"><link linkend="ags-channel-set-recycling-new">ags_channel_set_recycling_new</link>, function in <link linkend="ags-AgsChannelSetRecycling">AgsChannelSetRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-channel-tillrecycling-cancel"><link linkend="ags-channel-tillrecycling-cancel">ags_channel_tillrecycling_cancel</link>, function in <link linkend="ags-AgsChannel">AgsChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-CLIPBOARD-DEFAULT-VERSION:CAPS"><link linkend="AGS-CLIPBOARD-DEFAULT-VERSION:CAPS">AGS_CLIPBOARD_DEFAULT_VERSION</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCloneChannel"><link linkend="AgsCloneChannel">AgsCloneChannel</link>, struct in <link linkend="ags-AgsCloneChannel">AgsCloneChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCloneChannelClass"><link linkend="AgsCloneChannelClass">AgsCloneChannelClass</link>, struct in <link linkend="ags-AgsCloneChannel">AgsCloneChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCloneChannelRun"><link linkend="AgsCloneChannelRun">AgsCloneChannelRun</link>, struct in <link linkend="ags-AgsCloneChannelRun">AgsCloneChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCloneChannelRunClass"><link linkend="AgsCloneChannelRunClass">AgsCloneChannelRunClass</link>, struct in <link linkend="ags-AgsCloneChannelRun">AgsCloneChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-clone-channel-new"><link linkend="ags-clone-channel-new">ags_clone_channel_new</link>, function in <link linkend="ags-AgsCloneChannel">AgsCloneChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-clone-channel-run-new"><link linkend="ags-clone-channel-run-new">ags_clone_channel_run_new</link>, function in <link linkend="ags-AgsCloneChannelRun">AgsCloneChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-combo-box-text-remove-all"><link linkend="ags-combo-box-text-remove-all">ags_combo_box_text_remove_all</link>, function in <link linkend="ags-ags-combo-box-text">ags_combo_box_text</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsConfig"><link linkend="AgsConfig">AgsConfig</link>, struct in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsConfigClass"><link linkend="AgsConfigClass">AgsConfigClass</link>, struct in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-CONFIG-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-CONFIG-DEFAULT-BUILD-ID:CAPS">AGS_CONFIG_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-CONFIG-DEFAULT-VERSION:CAPS"><link linkend="AGS-CONFIG-DEFAULT-VERSION:CAPS">AGS_CONFIG_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-CONFIG-DEVOUT:CAPS"><link linkend="AGS-CONFIG-DEVOUT:CAPS">AGS_CONFIG_DEVOUT</link>, macro in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-config-get"><link linkend="ags-config-get">ags_config_get</link>, function in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-config-load-defaults"><link linkend="ags-config-load-defaults">ags_config_load_defaults</link>, function in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-config-load-from-file"><link linkend="ags-config-load-from-file">ags_config_load_from_file</link>, function in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-config-new"><link linkend="ags-config-new">ags_config_new</link>, function in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-config-save"><link linkend="ags-config-save">ags_config_save</link>, function in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-config-set"><link linkend="ags-config-set">ags_config_set</link>, function in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-CONFIG-THREAD:CAPS"><link linkend="AGS-CONFIG-THREAD:CAPS">AGS_CONFIG_THREAD</link>, macro in <link linkend="ags-AgsConfig">AgsConfig</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-container-add-all"><link linkend="ags-container-add-all">ags_container_add_all</link>, function in <link linkend="ags-ags-container">ags_container</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsContext"><link linkend="AgsContext">AgsContext</link>, struct in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-context-alloc"><link linkend="ags-context-alloc">ags_context_alloc</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyAudioSignal"><link linkend="AgsCopyAudioSignal">AgsCopyAudioSignal</link>, struct in <link linkend="ags-AgsCopyAudioSignal">AgsCopyAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyAudioSignalClass"><link linkend="AgsCopyAudioSignalClass">AgsCopyAudioSignalClass</link>, struct in <link linkend="ags-AgsCopyAudioSignal">AgsCopyAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyChannel"><link linkend="AgsCopyChannel">AgsCopyChannel</link>, struct in <link linkend="ags-AgsCopyChannel">AgsCopyChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyChannelClass"><link linkend="AgsCopyChannelClass">AgsCopyChannelClass</link>, struct in <link linkend="ags-AgsCopyChannel">AgsCopyChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyChannelRun"><link linkend="AgsCopyChannelRun">AgsCopyChannelRun</link>, struct in <link linkend="ags-AgsCopyChannelRun">AgsCopyChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyChannelRunClass"><link linkend="AgsCopyChannelRunClass">AgsCopyChannelRunClass</link>, struct in <link linkend="ags-AgsCopyChannelRun">AgsCopyChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyChannelRunFlags"><link linkend="AgsCopyChannelRunFlags">AgsCopyChannelRunFlags</link>, enum in <link linkend="ags-AgsCopyChannelRun">AgsCopyChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyNotationAudio"><link linkend="AgsCopyNotationAudio">AgsCopyNotationAudio</link>, struct in <link linkend="ags-AgsCopyNotationAudio">AgsCopyNotationAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyNotationAudioClass"><link linkend="AgsCopyNotationAudioClass">AgsCopyNotationAudioClass</link>, struct in <link linkend="ags-AgsCopyNotationAudio">AgsCopyNotationAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyNotationAudioFlags"><link linkend="AgsCopyNotationAudioFlags">AgsCopyNotationAudioFlags</link>, enum in <link linkend="ags-AgsCopyNotationAudio">AgsCopyNotationAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyNotationAudioRun"><link linkend="AgsCopyNotationAudioRun">AgsCopyNotationAudioRun</link>, struct in <link linkend="ags-AgsCopyNotationAudioRun">AgsCopyNotationAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyNotationAudioRunClass"><link linkend="AgsCopyNotationAudioRunClass">AgsCopyNotationAudioRunClass</link>, struct in <link linkend="ags-AgsCopyNotationAudioRun">AgsCopyNotationAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternAudio"><link linkend="AgsCopyPatternAudio">AgsCopyPatternAudio</link>, struct in <link linkend="ags-AgsCopyPatternAudio">AgsCopyPatternAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternAudioClass"><link linkend="AgsCopyPatternAudioClass">AgsCopyPatternAudioClass</link>, struct in <link linkend="ags-AgsCopyPatternAudio">AgsCopyPatternAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternAudioRun"><link linkend="AgsCopyPatternAudioRun">AgsCopyPatternAudioRun</link>, struct in <link linkend="ags-AgsCopyPatternAudioRun">AgsCopyPatternAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternAudioRunClass"><link linkend="AgsCopyPatternAudioRunClass">AgsCopyPatternAudioRunClass</link>, struct in <link linkend="ags-AgsCopyPatternAudioRun">AgsCopyPatternAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternChannel"><link linkend="AgsCopyPatternChannel">AgsCopyPatternChannel</link>, struct in <link linkend="ags-AgsCopyPatternChannel">AgsCopyPatternChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternChannelClass"><link linkend="AgsCopyPatternChannelClass">AgsCopyPatternChannelClass</link>, struct in <link linkend="ags-AgsCopyPatternChannel">AgsCopyPatternChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternChannelRun"><link linkend="AgsCopyPatternChannelRun">AgsCopyPatternChannelRun</link>, struct in <link linkend="ags-AgsCopyPatternChannelRun">AgsCopyPatternChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyPatternChannelRunClass"><link linkend="AgsCopyPatternChannelRunClass">AgsCopyPatternChannelRunClass</link>, struct in <link linkend="ags-AgsCopyPatternChannelRun">AgsCopyPatternChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyRecycling"><link linkend="AgsCopyRecycling">AgsCopyRecycling</link>, struct in <link linkend="ags-AgsCopyRecycling">AgsCopyRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCopyRecyclingClass"><link linkend="AgsCopyRecyclingClass">AgsCopyRecyclingClass</link>, struct in <link linkend="ags-AgsCopyRecycling">AgsCopyRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-audio-signal-new"><link linkend="ags-copy-audio-signal-new">ags_copy_audio_signal_new</link>, function in <link linkend="ags-AgsCopyAudioSignal">AgsCopyAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-channel-new"><link linkend="ags-copy-channel-new">ags_copy_channel_new</link>, function in <link linkend="ags-AgsCopyChannel">AgsCopyChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-channel-run-new"><link linkend="ags-copy-channel-run-new">ags_copy_channel_run_new</link>, function in <link linkend="ags-AgsCopyChannelRun">AgsCopyChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-notation-audio-new"><link linkend="ags-copy-notation-audio-new">ags_copy_notation_audio_new</link>, function in <link linkend="ags-AgsCopyNotationAudio">AgsCopyNotationAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-notation-audio-run-new"><link linkend="ags-copy-notation-audio-run-new">ags_copy_notation_audio_run_new</link>, function in <link linkend="ags-AgsCopyNotationAudioRun">AgsCopyNotationAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-pattern-audio-new"><link linkend="ags-copy-pattern-audio-new">ags_copy_pattern_audio_new</link>, function in <link linkend="ags-AgsCopyPatternAudio">AgsCopyPatternAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-pattern-audio-run-new"><link linkend="ags-copy-pattern-audio-run-new">ags_copy_pattern_audio_run_new</link>, function in <link linkend="ags-AgsCopyPatternAudioRun">AgsCopyPatternAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-pattern-channel-new"><link linkend="ags-copy-pattern-channel-new">ags_copy_pattern_channel_new</link>, function in <link linkend="ags-AgsCopyPatternChannel">AgsCopyPatternChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-pattern-channel-run-new"><link linkend="ags-copy-pattern-channel-run-new">ags_copy_pattern_channel_run_new</link>, function in <link linkend="ags-AgsCopyPatternChannelRun">AgsCopyPatternChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-pattern-channel-template-find-source-and-destination"><link linkend="ags-copy-pattern-channel-template-find-source-and-destination">ags_copy_pattern_channel_template_find_source_and_destination</link>, function in <link linkend="ags-AgsCopyPatternChannel">AgsCopyPatternChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-copy-recycling-new"><link linkend="ags-copy-recycling-new">ags_copy_recycling_new</link>, function in <link linkend="ags-AgsCopyRecycling">AgsCopyRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCountable"><link linkend="AgsCountable">AgsCountable</link>, typedef in <link linkend="ags-AgsCountable">AgsCountable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCountableInterface"><link linkend="AgsCountableInterface">AgsCountableInterface</link>, struct in <link linkend="ags-AgsCountable">AgsCountable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-countable-get-notation-counter"><link linkend="ags-countable-get-notation-counter">ags_countable_get_notation_counter</link>, function in <link linkend="ags-AgsCountable">AgsCountable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-countable-get-sequencer-counter"><link linkend="ags-countable-get-sequencer-counter">ags_countable_get_sequencer_counter</link>, function in <link linkend="ags-AgsCountable">AgsCountable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCountBeatsAudio"><link linkend="AgsCountBeatsAudio">AgsCountBeatsAudio</link>, struct in <link linkend="ags-AgsCountBeatsAudio">AgsCountBeatsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCountBeatsAudioClass"><link linkend="AgsCountBeatsAudioClass">AgsCountBeatsAudioClass</link>, struct in <link linkend="ags-AgsCountBeatsAudio">AgsCountBeatsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCountBeatsAudioRun"><link linkend="AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link>, struct in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsCountBeatsAudioRunClass"><link linkend="AgsCountBeatsAudioRunClass">AgsCountBeatsAudioRunClass</link>, struct in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-new"><link linkend="ags-count-beats-audio-new">ags_count_beats_audio_new</link>, function in <link linkend="ags-AgsCountBeatsAudio">AgsCountBeatsAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-run-new"><link linkend="ags-count-beats-audio-run-new">ags_count_beats_audio_run_new</link>, function in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-run-notation-loop"><link linkend="ags-count-beats-audio-run-notation-loop">ags_count_beats_audio_run_notation_loop</link>, function in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-run-notation-start"><link linkend="ags-count-beats-audio-run-notation-start">ags_count_beats_audio_run_notation_start</link>, function in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-run-notation-stop"><link linkend="ags-count-beats-audio-run-notation-stop">ags_count_beats_audio_run_notation_stop</link>, function in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-run-sequencer-loop"><link linkend="ags-count-beats-audio-run-sequencer-loop">ags_count_beats_audio_run_sequencer_loop</link>, function in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-run-sequencer-start"><link linkend="ags-count-beats-audio-run-sequencer-start">ags_count_beats_audio_run_sequencer_start</link>, function in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-count-beats-audio-run-sequencer-stop"><link linkend="ags-count-beats-audio-run-sequencer-stop">ags_count_beats_audio_run_sequencer_stop</link>, function in <link linkend="ags-AgsCountBeatsAudioRun">AgsCountBeatsAudioRun</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>D</title>
+<indexentry><primaryie linkends="ags-default-log"><link linkend="ags-default-log">ags_default_log</link>, macro in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDelayAudio"><link linkend="AgsDelayAudio">AgsDelayAudio</link>, struct in <link linkend="ags-AgsDelayAudio">AgsDelayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDelayAudioClass"><link linkend="AgsDelayAudioClass">AgsDelayAudioClass</link>, struct in <link linkend="ags-AgsDelayAudio">AgsDelayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDelayAudioRun"><link linkend="AgsDelayAudioRun">AgsDelayAudioRun</link>, struct in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDelayAudioRunClass"><link linkend="AgsDelayAudioRunClass">AgsDelayAudioRunClass</link>, struct in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-new"><link linkend="ags-delay-audio-new">ags_delay_audio_new</link>, function in <link linkend="ags-AgsDelayAudio">AgsDelayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-notation-duration-changed"><link linkend="ags-delay-audio-notation-duration-changed">ags_delay_audio_notation_duration_changed</link>, function in <link linkend="ags-AgsDelayAudio">AgsDelayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-run-new"><link linkend="ags-delay-audio-run-new">ags_delay_audio_run_new</link>, function in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-run-notation-alloc-input"><link linkend="ags-delay-audio-run-notation-alloc-input">ags_delay_audio_run_notation_alloc_input</link>, function in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-run-notation-alloc-output"><link linkend="ags-delay-audio-run-notation-alloc-output">ags_delay_audio_run_notation_alloc_output</link>, function in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-run-notation-count"><link linkend="ags-delay-audio-run-notation-count">ags_delay_audio_run_notation_count</link>, function in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-run-sequencer-alloc-input"><link linkend="ags-delay-audio-run-sequencer-alloc-input">ags_delay_audio_run_sequencer_alloc_input</link>, function in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-run-sequencer-alloc-output"><link linkend="ags-delay-audio-run-sequencer-alloc-output">ags_delay_audio_run_sequencer_alloc_output</link>, function in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-run-sequencer-count"><link linkend="ags-delay-audio-run-sequencer-count">ags_delay_audio_run_sequencer_count</link>, function in <link linkend="ags-AgsDelayAudioRun">AgsDelayAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-delay-audio-sequencer-duration-changed"><link linkend="ags-delay-audio-sequencer-duration-changed">ags_delay_audio_sequencer_duration_changed</link>, function in <link linkend="ags-AgsDelayAudio">AgsDelayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevout"><link linkend="AgsDevout">AgsDevout</link>, struct in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutClass"><link linkend="AgsDevoutClass">AgsDevoutClass</link>, struct in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutError"><link linkend="AgsDevoutError">AgsDevoutError</link>, enum in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutFlags"><link linkend="AgsDevoutFlags">AgsDevoutFlags</link>, enum in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutPlay"><link linkend="AgsDevoutPlay">AgsDevoutPlay</link>, struct in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutPlayDomain"><link linkend="AgsDevoutPlayDomain">AgsDevoutPlayDomain</link>, struct in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutPlayFlags"><link linkend="AgsDevoutPlayFlags">AgsDevoutPlayFlags</link>, enum in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutResolutionMode"><link linkend="AgsDevoutResolutionMode">AgsDevoutResolutionMode</link>, enum in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutThread"><link linkend="AgsDevoutThread">AgsDevoutThread</link>, struct in <link linkend="ags-AgsDevoutThread">AgsDevoutThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDevoutThreadClass"><link linkend="AgsDevoutThreadClass">AgsDevoutThreadClass</link>, struct in <link linkend="ags-AgsDevoutThread">AgsDevoutThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-BPM:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-BPM:CAPS">AGS_DEVOUT_DEFAULT_BPM</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-BUFFER-SIZE:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-BUFFER-SIZE:CAPS">AGS_DEVOUT_DEFAULT_BUFFER_SIZE</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-DELAY:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-DELAY:CAPS">AGS_DEVOUT_DEFAULT_DELAY</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-FORMAT:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-FORMAT:CAPS">AGS_DEVOUT_DEFAULT_FORMAT</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-JIFFIE:CAPS">AGS_DEVOUT_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-SAMPLERATE:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-SAMPLERATE:CAPS">AGS_DEVOUT_DEFAULT_SAMPLERATE</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-SCALE:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-SCALE:CAPS">AGS_DEVOUT_DEFAULT_SCALE</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-TACT:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-TACT:CAPS">AGS_DEVOUT_DEFAULT_TACT</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-TACTRATE:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-TACTRATE:CAPS">AGS_DEVOUT_DEFAULT_TACTRATE</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-DEFAULT-TACT-JIFFIE:CAPS"><link linkend="AGS-DEVOUT-DEFAULT-TACT-JIFFIE:CAPS">AGS_DEVOUT_DEFAULT_TACT_JIFFIE</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-ERROR:CAPS"><link linkend="AGS-DEVOUT-ERROR:CAPS">AGS_DEVOUT_ERROR</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-error-quark"><link linkend="ags-devout-error-quark">ags_devout_error_quark</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-list-cards"><link linkend="ags-devout-list-cards">ags_devout_list_cards</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-new"><link linkend="ags-devout-new">ags_devout_new</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-note-offset-changed"><link linkend="ags-devout-note-offset-changed">ags_devout_note_offset_changed</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-pcm-info"><link linkend="ags-devout-pcm-info">ags_devout_pcm_info</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-PLAY:CAPS"><link linkend="AGS-DEVOUT-PLAY:CAPS">AGS_DEVOUT_PLAY</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-play-alloc"><link linkend="ags-devout-play-alloc">ags_devout_play_alloc</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-PLAY-DOMAIN:CAPS"><link linkend="AGS-DEVOUT-PLAY-DOMAIN:CAPS">AGS_DEVOUT_PLAY_DOMAIN</link>, macro in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-play-domain-alloc"><link linkend="ags-devout-play-domain-alloc">ags_devout_play_domain_alloc</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-play-domain-free"><link linkend="ags-devout-play-domain-free">ags_devout_play_domain_free</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-play-find-source"><link linkend="ags-devout-play-find-source">ags_devout_play_find_source</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-play-free"><link linkend="ags-devout-play-free">ags_devout_play_free</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DEVOUT-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-DEVOUT-THREAD-DEFAULT-JIFFIE:CAPS">AGS_DEVOUT_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsDevoutThread">AgsDevoutThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-thread-new"><link linkend="ags-devout-thread-new">ags_devout_thread_new</link>, function in <link linkend="ags-AgsDevoutThread">AgsDevoutThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-devout-tic"><link linkend="ags-devout-tic">ags_devout_tic</link>, function in <link linkend="ags-AgsDevout">AgsDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDial"><link linkend="AgsDial">AgsDial</link>, struct in <link linkend="ags-AgsDial">AgsDial</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDialClass"><link linkend="AgsDialClass">AgsDialClass</link>, struct in <link linkend="ags-AgsDial">AgsDial</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDialFlags"><link linkend="AgsDialFlags">AgsDialFlags</link>, enum in <link linkend="ags-AgsDial">AgsDial</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DIAL-DEFAULT-PRECISION:CAPS"><link linkend="AGS-DIAL-DEFAULT-PRECISION:CAPS">AGS_DIAL_DEFAULT_PRECISION</link>, macro in <link linkend="ags-AgsDial">AgsDial</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-dial-new"><link linkend="ags-dial-new">ags_dial_new</link>, function in <link linkend="ags-AgsDial">AgsDial</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDisplayTact"><link linkend="AgsDisplayTact">AgsDisplayTact</link>, struct in <link linkend="ags-AgsDisplayTact">AgsDisplayTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDisplayTactClass"><link linkend="AgsDisplayTactClass">AgsDisplayTactClass</link>, struct in <link linkend="ags-AgsDisplayTact">AgsDisplayTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-display-tact-new"><link linkend="ags-display-tact-new">ags_display_tact_new</link>, function in <link linkend="ags-AgsDisplayTact">AgsDisplayTact</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrum"><link linkend="AgsDrum">AgsDrum</link>, struct in <link linkend="ags-AgsDrum">AgsDrum</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumClass"><link linkend="AgsDrumClass">AgsDrumClass</link>, struct in <link linkend="ags-AgsDrum">AgsDrum</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumFlags"><link linkend="AgsDrumFlags">AgsDrumFlags</link>, enum in <link linkend="ags-AgsDrum">AgsDrum</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumInputLine"><link linkend="AgsDrumInputLine">AgsDrumInputLine</link>, struct in <link linkend="ags-AgsDrumInputLine">AgsDrumInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumInputLineClass"><link linkend="AgsDrumInputLineClass">AgsDrumInputLineClass</link>, struct in <link linkend="ags-AgsDrumInputLine">AgsDrumInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumInputPad"><link linkend="AgsDrumInputPad">AgsDrumInputPad</link>, struct in <link linkend="ags-AgsDrumInputPad">AgsDrumInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumInputPadClass"><link linkend="AgsDrumInputPadClass">AgsDrumInputPadClass</link>, struct in <link linkend="ags-AgsDrumInputPad">AgsDrumInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumInputPadFlags"><link linkend="AgsDrumInputPadFlags">AgsDrumInputPadFlags</link>, enum in <link linkend="ags-AgsDrumInputPad">AgsDrumInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumOutputLine"><link linkend="AgsDrumOutputLine">AgsDrumOutputLine</link>, struct in <link linkend="ags-AgsDrumOutputLine">AgsDrumOutputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumOutputLineClass"><link linkend="AgsDrumOutputLineClass">AgsDrumOutputLineClass</link>, struct in <link linkend="ags-AgsDrumOutputLine">AgsDrumOutputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumOutputPad"><link linkend="AgsDrumOutputPad">AgsDrumOutputPad</link>, struct in <link linkend="ags-AgsDrumOutputPad">AgsDrumOutputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumOutputPadClass"><link linkend="AgsDrumOutputPadClass">AgsDrumOutputPadClass</link>, struct in <link linkend="ags-AgsDrumOutputPad">AgsDrumOutputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDrumOutputPadFlags"><link linkend="AgsDrumOutputPadFlags">AgsDrumOutputPadFlags</link>, enum in <link linkend="ags-AgsDrumOutputPad">AgsDrumOutputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-done-callback"><link linkend="ags-drum-done-callback">ags_drum_done_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-index0-callback"><link linkend="ags-drum-index0-callback">ags_drum_index0_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-index1-callback"><link linkend="ags-drum-index1-callback">ags_drum_index1_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-line-audio-set-pads-callback"><link linkend="ags-drum-input-line-audio-set-pads-callback">ags_drum_input_line_audio_set_pads_callback</link>, function in <link linkend="ags-ags-drum-input-line-callbacks">ags_drum_input_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-line-channel-done-callback"><link linkend="ags-drum-input-line-channel-done-callback">ags_drum_input_line_channel_done_callback</link>, function in <link linkend="ags-ags-drum-input-line-callbacks">ags_drum_input_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-line-map-recall"><link linkend="ags-drum-input-line-map-recall">ags_drum_input_line_map_recall</link>, function in <link linkend="ags-AgsDrumInputLine">AgsDrumInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-line-new"><link linkend="ags-drum-input-line-new">ags_drum_input_line_new</link>, function in <link linkend="ags-AgsDrumInputLine">AgsDrumInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-line-parent-set-callback"><link linkend="ags-drum-input-line-parent-set-callback">ags_drum_input_line_parent_set_callback</link>, function in <link linkend="ags-ags-drum-input-line-callbacks">ags_drum_input_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-pad-edit-callback"><link linkend="ags-drum-input-pad-edit-callback">ags_drum_input_pad_edit_callback</link>, function in <link linkend="ags-ags-drum-input-pad-callbacks">ags_drum_input_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-pad-new"><link linkend="ags-drum-input-pad-new">ags_drum_input_pad_new</link>, function in <link linkend="ags-AgsDrumInputPad">AgsDrumInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-pad-open-callback"><link linkend="ags-drum-input-pad-open-callback">ags_drum_input_pad_open_callback</link>, function in <link linkend="ags-ags-drum-input-pad-callbacks">ags_drum_input_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-input-pad-play-callback"><link linkend="ags-drum-input-pad-play-callback">ags_drum_input_pad_play_callback</link>, function in <link linkend="ags-ags-drum-input-pad-callbacks">ags_drum_input_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-length-spin-callback"><link linkend="ags-drum-length-spin-callback">ags_drum_length_spin_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-loop-button-callback"><link linkend="ags-drum-loop-button-callback">ags_drum_loop_button_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-new"><link linkend="ags-drum-new">ags_drum_new</link>, function in <link linkend="ags-AgsDrum">AgsDrum</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-offset-callback"><link linkend="ags-drum-offset-callback">ags_drum_offset_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-open-callback"><link linkend="ags-drum-open-callback">ags_drum_open_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-output-line-add-default-recall"><link linkend="ags-drum-output-line-add-default-recall">ags_drum_output_line_add_default_recall</link>, function in <link linkend="ags-AgsDrumOutputLine">AgsDrumOutputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-output-line-new"><link linkend="ags-drum-output-line-new">ags_drum_output_line_new</link>, function in <link linkend="ags-AgsDrumOutputLine">AgsDrumOutputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-output-line-parent-set-callback"><link linkend="ags-drum-output-line-parent-set-callback">ags_drum_output_line_parent_set_callback</link>, function in <link linkend="ags-ags-drum-output-line-callbacks">ags_drum_output_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-output-pad-new"><link linkend="ags-drum-output-pad-new">ags_drum_output_pad_new</link>, function in <link linkend="ags-AgsDrumOutputPad">AgsDrumOutputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-output-pad-play-cancel"><link linkend="ags-drum-output-pad-play-cancel">ags_drum_output_pad_play_cancel</link>, function in <link linkend="ags-ags-drum-output-pad-callbacks">ags_drum_output_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-output-pad-play-done"><link linkend="ags-drum-output-pad-play-done">ags_drum_output_pad_play_done</link>, function in <link linkend="ags-ags-drum-output-pad-callbacks">ags_drum_output_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-pad-callback"><link linkend="ags-drum-pad-callback">ags_drum_pad_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-parent-set-callback"><link linkend="ags-drum-parent-set-callback">ags_drum_parent_set_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-DRUM-PATTERN-CONTROLS:CAPS"><link linkend="AGS-DRUM-PATTERN-CONTROLS:CAPS">AGS_DRUM_PATTERN_CONTROLS</link>, macro in <link linkend="ags-AgsDrum">AgsDrum</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-set-pattern"><link linkend="ags-drum-set-pattern">ags_drum_set_pattern</link>, function in <link linkend="ags-AgsDrum">AgsDrum</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-drum-tact-callback"><link linkend="ags-drum-tact-callback">ags_drum_tact_callback</link>, function in <link linkend="ags-ags-drum-callbacks">ags_drum_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDynamicConnectable"><link linkend="AgsDynamicConnectable">AgsDynamicConnectable</link>, typedef in <link linkend="ags-AgsDynamicConnectable">AgsDynamicConnectable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsDynamicConnectableInterface"><link linkend="AgsDynamicConnectableInterface">AgsDynamicConnectableInterface</link>, struct in <link linkend="ags-AgsDynamicConnectable">AgsDynamicConnectable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-dynamic-connectable-connect"><link linkend="ags-dynamic-connectable-connect">ags_dynamic_connectable_connect</link>, function in <link linkend="ags-AgsDynamicConnectable">AgsDynamicConnectable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-dynamic-connectable-disconnect"><link linkend="ags-dynamic-connectable-disconnect">ags_dynamic_connectable_disconnect</link>, function in <link linkend="ags-AgsDynamicConnectable">AgsDynamicConnectable</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>E</title>
+<indexentry><primaryie linkends="ags-echo"><link linkend="ags-echo">ags_echo</link>, function in <link linkend="ags-ags-echo">ags_echo</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsEditor"><link linkend="AgsEditor">AgsEditor</link>, struct in <link linkend="ags-AgsEditor">AgsEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsEditorClass"><link linkend="AgsEditorClass">AgsEditorClass</link>, struct in <link linkend="ags-AgsEditor">AgsEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-editor-change-position-callback"><link linkend="ags-editor-change-position-callback">ags_editor_change_position_callback</link>, function in <link linkend="ags-ags-editor-callbacks">ags_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EDITOR-DEFAULT:CAPS"><link linkend="AGS-EDITOR-DEFAULT:CAPS">AGS_EDITOR_DEFAULT</link>, macro in <link linkend="ags-AgsEditor">AgsEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EDITOR-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_EDITOR_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsEditor">AgsEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EDITOR-DEFAULT-VERSION:CAPS"><link linkend="AGS-EDITOR-DEFAULT-VERSION:CAPS">AGS_EDITOR_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsEditor">AgsEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-editor-machine-changed"><link linkend="ags-editor-machine-changed">ags_editor_machine_changed</link>, function in <link linkend="ags-AgsEditor">AgsEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-editor-machine-changed-callback"><link linkend="ags-editor-machine-changed-callback">ags_editor_machine_changed_callback</link>, function in <link linkend="ags-ags-editor-callbacks">ags_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-editor-new"><link linkend="ags-editor-new">ags_editor_new</link>, function in <link linkend="ags-AgsEditor">AgsEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-editor-parent-set-callback"><link linkend="ags-editor-parent-set-callback">ags_editor_parent_set_callback</link>, function in <link linkend="ags-ags-editor-callbacks">ags_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-editor-set-audio-channels-callback"><link linkend="ags-editor-set-audio-channels-callback">ags_editor_set_audio_channels_callback</link>, function in <link linkend="ags-ags-editor-callbacks">ags_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-editor-set-pads-callback"><link linkend="ags-editor-set-pads-callback">ags_editor_set_pads_callback</link>, function in <link linkend="ags-ags-editor-callbacks">ags_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsEffect"><link linkend="AgsEffect">AgsEffect</link>, typedef in <link linkend="ags-AgsEffect">AgsEffect</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsEffectInterface"><link linkend="AgsEffectInterface">AgsEffectInterface</link>, struct in <link linkend="ags-AgsEffect">AgsEffect</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EFFECTS-DEFAULT-VERSION:CAPS"><link linkend="AGS-EFFECTS-DEFAULT-VERSION:CAPS">AGS_EFFECTS_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EFFECT-COPY-BUFFER:CAPS"><link linkend="AGS-EFFECT-COPY-BUFFER:CAPS">AGS_EFFECT_COPY_BUFFER</link>, macro in <link linkend="ags-ags-effect">ags_effect</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EFFECT-COPY-STREAM:CAPS"><link linkend="AGS-EFFECT-COPY-STREAM:CAPS">AGS_EFFECT_COPY_STREAM</link>, macro in <link linkend="ags-ags-effect">ags_effect</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EFFECT-DOWN-MIX:CAPS"><link linkend="AGS-EFFECT-DOWN-MIX:CAPS">AGS_EFFECT_DOWN_MIX</link>, macro in <link linkend="ags-ags-effect">ags_effect</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpander"><link linkend="AgsExpander">AgsExpander</link>, struct in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpanderChild"><link linkend="AgsExpanderChild">AgsExpanderChild</link>, struct in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpanderClass"><link linkend="AgsExpanderClass">AgsExpanderClass</link>, struct in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpanderFlags"><link linkend="AgsExpanderFlags">AgsExpanderFlags</link>, enum in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpanderSet"><link linkend="AgsExpanderSet">AgsExpanderSet</link>, struct in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpanderSetChild"><link linkend="AgsExpanderSetChild">AgsExpanderSetChild</link>, struct in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpanderSetClass"><link linkend="AgsExpanderSetClass">AgsExpanderSetClass</link>, struct in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExpanderSetFlags"><link linkend="AgsExpanderSetFlags">AgsExpanderSetFlags</link>, enum in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-add"><link linkend="ags-expander-add">ags_expander_add</link>, function in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EXPANDER-CHILD:CAPS"><link linkend="AGS-EXPANDER-CHILD:CAPS">AGS_EXPANDER_CHILD</link>, macro in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-child-alloc"><link linkend="ags-expander-child-alloc">ags_expander_child_alloc</link>, function in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-child-find"><link linkend="ags-expander-child-find">ags_expander_child_find</link>, function in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-new"><link linkend="ags-expander-new">ags_expander_new</link>, function in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-remove"><link linkend="ags-expander-remove">ags_expander_remove</link>, function in <link linkend="ags-AgsExpander">AgsExpander</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-set-add"><link linkend="ags-expander-set-add">ags_expander_set_add</link>, function in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EXPANDER-SET-CHILD:CAPS"><link linkend="AGS-EXPANDER-SET-CHILD:CAPS">AGS_EXPANDER_SET_CHILD</link>, macro in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-set-child-alloc"><link linkend="ags-expander-set-child-alloc">ags_expander_set_child_alloc</link>, function in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-set-child-find"><link linkend="ags-expander-set-child-find">ags_expander_set_child_find</link>, function in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-set-new"><link linkend="ags-expander-set-new">ags_expander_set_new</link>, function in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-set-remove"><link linkend="ags-expander-set-remove">ags_expander_set_remove</link>, function in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-expander-set-set-flags"><link linkend="ags-expander-set-set-flags">ags_expander_set_set_flags</link>, function in <link linkend="ags-AgsExpanderSet">AgsExpanderSet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExportOutput"><link linkend="AgsExportOutput">AgsExportOutput</link>, struct in <link linkend="ags-AgsExportOutput">AgsExportOutput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExportOutputClass"><link linkend="AgsExportOutputClass">AgsExportOutputClass</link>, struct in <link linkend="ags-AgsExportOutput">AgsExportOutput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExportThread"><link linkend="AgsExportThread">AgsExportThread</link>, struct in <link linkend="ags-AgsExportThread">AgsExportThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExportThreadClass"><link linkend="AgsExportThreadClass">AgsExportThreadClass</link>, struct in <link linkend="ags-AgsExportThread">AgsExportThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExportWindow"><link linkend="AgsExportWindow">AgsExportWindow</link>, struct in <link linkend="ags-AgsExportWindow">AgsExportWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExportWindowClass"><link linkend="AgsExportWindowClass">AgsExportWindowClass</link>, struct in <link linkend="ags-AgsExportWindow">AgsExportWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsExportWindowFlags"><link linkend="AgsExportWindowFlags">AgsExportWindowFlags</link>, enum in <link linkend="ags-AgsExportWindow">AgsExportWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-export-output-new"><link linkend="ags-export-output-new">ags_export_output_new</link>, function in <link linkend="ags-AgsExportOutput">AgsExportOutput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EXPORT-THREAD-BUFFER-TIME:CAPS"><link linkend="AGS-EXPORT-THREAD-BUFFER-TIME:CAPS">AGS_EXPORT_THREAD_BUFFER_TIME</link>, macro in <link linkend="ags-AgsExportThread">AgsExportThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-EXPORT-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-EXPORT-THREAD-DEFAULT-JIFFIE:CAPS">AGS_EXPORT_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsExportThread">AgsExportThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-export-thread-new"><link linkend="ags-export-thread-new">ags_export_thread_new</link>, function in <link linkend="ags-AgsExportThread">AgsExportThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-export-window-export-callback"><link linkend="ags-export-window-export-callback">ags_export_window_export_callback</link>, function in <link linkend="ags-ags-export-window-callbacks">ags_export_window_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-export-window-file-chooser-button-callback"><link linkend="ags-export-window-file-chooser-button-callback">ags_export_window_file_chooser_button_callback</link>, function in <link linkend="ags-ags-export-window-callbacks">ags_export_window_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-export-window-new"><link linkend="ags-export-window-new">ags_export_window_new</link>, function in <link linkend="ags-AgsExportWindow">AgsExportWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-export-window-tact-callback"><link linkend="ags-export-window-tact-callback">ags_export_window_tact_callback</link>, function in <link linkend="ags-ags-export-window-callbacks">ags_export_window_callbacks</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>F</title>
+<indexentry><primaryie linkends="AgsFFPlayer"><link linkend="AgsFFPlayer">AgsFFPlayer</link>, struct in <link linkend="ags-AgsFFPlayer">AgsFFPlayer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFFPlayerClass"><link linkend="AgsFFPlayerClass">AgsFFPlayerClass</link>, struct in <link linkend="ags-AgsFFPlayer">AgsFFPlayer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-drawing-area-button-press-callback"><link linkend="ags-ffplayer-drawing-area-button-press-callback">ags_ffplayer_drawing_area_button_press_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-drawing-area-configure-callback"><link linkend="ags-ffplayer-drawing-area-configure-callback">ags_ffplayer_drawing_area_configure_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-drawing-area-expose-callback"><link linkend="ags-ffplayer-drawing-area-expose-callback">ags_ffplayer_drawing_area_expose_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-hscrollbar-value-changed"><link linkend="ags-ffplayer-hscrollbar-value-changed">ags_ffplayer_hscrollbar_value_changed</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-instrument-changed-callback"><link linkend="ags-ffplayer-instrument-changed-callback">ags_ffplayer_instrument_changed_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-new"><link linkend="ags-ffplayer-new">ags_ffplayer_new</link>, function in <link linkend="ags-AgsFFPlayer">AgsFFPlayer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-open-clicked-callback"><link linkend="ags-ffplayer-open-clicked-callback">ags_ffplayer_open_clicked_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-open-dialog-response-callback"><link linkend="ags-ffplayer-open-dialog-response-callback">ags_ffplayer_open_dialog_response_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-paint"><link linkend="ags-ffplayer-paint">ags_ffplayer_paint</link>, function in <link linkend="ags-AgsFFPlayer">AgsFFPlayer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-parent-set-callback"><link linkend="ags-ffplayer-parent-set-callback">ags_ffplayer_parent_set_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ffplayer-preset-changed-callback"><link linkend="ags-ffplayer-preset-changed-callback">ags_ffplayer_preset_changed_callback</link>, function in <link linkend="ags-ags-ffplayer-callbacks">ags_ffplayer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFile"><link linkend="AgsFile">AgsFile</link>, struct in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileClass"><link linkend="AgsFileClass">AgsFileClass</link>, struct in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileFlags"><link linkend="AgsFileFlags">AgsFileFlags</link>, enum in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileIdRef"><link linkend="AgsFileIdRef">AgsFileIdRef</link>, struct in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileIdRefClass"><link linkend="AgsFileIdRefClass">AgsFileIdRefClass</link>, struct in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileLaunch"><link linkend="AgsFileLaunch">AgsFileLaunch</link>, struct in <link linkend="ags-AgsFileLaunch">AgsFileLaunch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileLaunchClass"><link linkend="AgsFileLaunchClass">AgsFileLaunchClass</link>, struct in <link linkend="ags-AgsFileLaunch">AgsFileLaunch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileLink"><link linkend="AgsFileLink">AgsFileLink</link>, struct in <link linkend="ags-AgsFileLink">AgsFileLink</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileLinkClass"><link linkend="AgsFileLinkClass">AgsFileLinkClass</link>, struct in <link linkend="ags-AgsFileLink">AgsFileLink</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileLookup"><link linkend="AgsFileLookup">AgsFileLookup</link>, struct in <link linkend="ags-AgsFileLookup">AgsFileLookup</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileLookupClass"><link linkend="AgsFileLookupClass">AgsFileLookupClass</link>, struct in <link linkend="ags-AgsFileLookup">AgsFileLookup</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileRead"><link linkend="AgsFileRead">AgsFileRead</link>, struct in <link linkend="ags-AgsFileRead">AgsFileRead</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileReadClass"><link linkend="AgsFileReadClass">AgsFileReadClass</link>, struct in <link linkend="ags-AgsFileRead">AgsFileRead</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileResolve"><link linkend="AgsFileResolve">AgsFileResolve</link>, user_function in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileSelection"><link linkend="AgsFileSelection">AgsFileSelection</link>, struct in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileSelectionClass"><link linkend="AgsFileSelectionClass">AgsFileSelectionClass</link>, struct in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileSelectionEntry"><link linkend="AgsFileSelectionEntry">AgsFileSelectionEntry</link>, struct in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileSelectionFlags"><link linkend="AgsFileSelectionFlags">AgsFileSelectionFlags</link>, enum in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileValueFactory"><link linkend="AgsFileValueFactory">AgsFileValueFactory</link>, struct in <link linkend="ags-AgsFileValueFactory">AgsFileValueFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileValueFactoryClass"><link linkend="AgsFileValueFactoryClass">AgsFileValueFactoryClass</link>, struct in <link linkend="ags-AgsFileValueFactory">AgsFileValueFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileWrite"><link linkend="AgsFileWrite">AgsFileWrite</link>, struct in <link linkend="ags-AgsFileWrite">AgsFileWrite</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFileWriteClass"><link linkend="AgsFileWriteClass">AgsFileWriteClass</link>, struct in <link linkend="ags-AgsFileWrite">AgsFileWrite</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-add-id-ref"><link linkend="ags-file-add-id-ref">ags_file_add_id_ref</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-add-launch"><link linkend="ags-file-add-launch">ags_file_add_launch</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-add-lookup"><link linkend="ags-file-add-lookup">ags_file_add_lookup</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-BOOLEAN-POINTER-PROP:CAPS"><link linkend="AGS-FILE-BOOLEAN-POINTER-PROP:CAPS">AGS_FILE_BOOLEAN_POINTER_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-BOOLEAN-PROP:CAPS"><link linkend="AGS-FILE-BOOLEAN-PROP:CAPS">AGS_FILE_BOOLEAN_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-BUILD-ID-PROP:CAPS"><link linkend="AGS-FILE-BUILD-ID-PROP:CAPS">AGS_FILE_BUILD_ID_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-CHAR-POINTER-PROP:CAPS"><link linkend="AGS-FILE-CHAR-POINTER-PROP:CAPS">AGS_FILE_CHAR_POINTER_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-CHAR-PROP:CAPS"><link linkend="AGS-FILE-CHAR-PROP:CAPS">AGS_FILE_CHAR_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-CHECKSUM-LENGTH:CAPS"><link linkend="AGS-FILE-CHECKSUM-LENGTH:CAPS">AGS_FILE_CHECKSUM_LENGTH</link>, macro in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DEFAULT-AUDIO-ENCODING:CAPS"><link linkend="AGS-FILE-DEFAULT-AUDIO-ENCODING:CAPS">AGS_FILE_DEFAULT_AUDIO_ENCODING</link>, macro in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DEFAULT-AUDIO-FORMAT:CAPS"><link linkend="AGS-FILE-DEFAULT-AUDIO-FORMAT:CAPS">AGS_FILE_DEFAULT_AUDIO_FORMAT</link>, macro in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DEFAULT-DTD:CAPS"><link linkend="AGS-FILE-DEFAULT-DTD:CAPS">AGS_FILE_DEFAULT_DTD</link>, macro in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DEFAULT-ENCODING:CAPS"><link linkend="AGS-FILE-DEFAULT-ENCODING:CAPS">AGS_FILE_DEFAULT_ENCODING</link>, macro in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DEFAULT-VERSION:CAPS"><link linkend="AGS-FILE-DEFAULT-VERSION:CAPS">AGS_FILE_DEFAULT_VERSION</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DOUBLE-POINTER-PROP:CAPS"><link linkend="AGS-FILE-DOUBLE-POINTER-PROP:CAPS">AGS_FILE_DOUBLE_POINTER_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DOUBLE-PROP:CAPS"><link linkend="AGS-FILE-DOUBLE-PROP:CAPS">AGS_FILE_DOUBLE_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-BUTTON:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_BUTTON</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-CARTESIAN:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-CARTESIAN:CAPS">AGS_FILE_DYNAMIC_WIDGET_CARTESIAN</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-CHECK-BUTTON:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-CHECK-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-DIAL:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-DIAL:CAPS">AGS_FILE_DYNAMIC_WIDGET_DIAL</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-HINDICATOR:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-HINDICATOR:CAPS">AGS_FILE_DYNAMIC_WIDGET_HINDICATOR</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-HSCALE:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-HSCALE:CAPS">AGS_FILE_DYNAMIC_WIDGET_HSCALE</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-LABEL:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-LABEL:CAPS">AGS_FILE_DYNAMIC_WIDGET_LABEL</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-LED:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-LED:CAPS">AGS_FILE_DYNAMIC_WIDGET_LED</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-SPIN-BUTTON:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-SPIN-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-TOGGLE-BUTTON:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-TOGGLE-BUTTON:CAPS">AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-VINDICATOR:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-VINDICATOR:CAPS">AGS_FILE_DYNAMIC_WIDGET_VINDICATOR</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-VSCALE:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-VSCALE:CAPS">AGS_FILE_DYNAMIC_WIDGET_VSCALE</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-DYNAMIC-WIDGET-WAVEFORM:CAPS"><link linkend="AGS-FILE-DYNAMIC-WIDGET-WAVEFORM:CAPS">AGS_FILE_DYNAMIC_WIDGET_WAVEFORM</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-EFFECTS-DEFAULT-VERSION:CAPS"><link linkend="AGS-FILE-EFFECTS-DEFAULT-VERSION:CAPS">AGS_FILE_EFFECTS_DEFAULT_VERSION</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-FALSE:CAPS"><link linkend="AGS-FILE-FALSE:CAPS">AGS_FILE_FALSE</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-find-id-ref-by-node"><link linkend="ags-file-find-id-ref-by-node">ags_file_find_id_ref_by_node</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-find-id-ref-by-reference"><link linkend="ags-file-find-id-ref-by-reference">ags_file_find_id_ref_by_reference</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-find-id-ref-by-xpath"><link linkend="ags-file-find-id-ref-by-xpath">ags_file_find_id_ref_by_xpath</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-FLAGS-PROP:CAPS"><link linkend="AGS-FILE-FLAGS-PROP:CAPS">AGS_FILE_FLAGS_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-FLOAT-POINTER-PROP:CAPS"><link linkend="AGS-FILE-FLOAT-POINTER-PROP:CAPS">AGS_FILE_FLOAT_POINTER_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-FLOAT-PROP:CAPS"><link linkend="AGS-FILE-FLOAT-PROP:CAPS">AGS_FILE_FLOAT_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-ID-PROP:CAPS"><link linkend="AGS-FILE-ID-PROP:CAPS">AGS_FILE_ID_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-id-ref-new"><link linkend="ags-file-id-ref-new">ags_file_id_ref_new</link>, function in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-id-ref-resolved"><link linkend="ags-file-id-ref-resolved">ags_file_id_ref_resolved</link>, function in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-ID-REF-RESOLVE-DATA:CAPS"><link linkend="AGS-FILE-ID-REF-RESOLVE-DATA:CAPS">AGS_FILE_ID_REF_RESOLVE_DATA</link>, macro in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-ID-REF-SERIALIZE-DATA:CAPS"><link linkend="AGS-FILE-ID-REF-SERIALIZE-DATA:CAPS">AGS_FILE_ID_REF_SERIALIZE_DATA</link>, macro in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-INT64-POINTER-PROP:CAPS"><link linkend="AGS-FILE-INT64-POINTER-PROP:CAPS">AGS_FILE_INT64_POINTER_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-INT64-PROP:CAPS"><link linkend="AGS-FILE-INT64-PROP:CAPS">AGS_FILE_INT64_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-launch-new"><link linkend="ags-file-launch-new">ags_file_launch_new</link>, function in <link linkend="ags-AgsFileLaunch">AgsFileLaunch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-launch-start"><link linkend="ags-file-launch-start">ags_file_launch_start</link>, function in <link linkend="ags-AgsFileLaunch">AgsFileLaunch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-link-new"><link linkend="ags-file-link-new">ags_file_link_new</link>, function in <link linkend="ags-AgsFileLink">AgsFileLink</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-lookup-find-by-node"><link linkend="ags-file-lookup-find-by-node">ags_file_lookup_find_by_node</link>, function in <link linkend="ags-AgsFileLookup">AgsFileLookup</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-lookup-new"><link linkend="ags-file-lookup-new">ags_file_lookup_new</link>, function in <link linkend="ags-AgsFileLookup">AgsFileLookup</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-lookup-resolve"><link linkend="ags-file-lookup-resolve">ags_file_lookup_resolve</link>, function in <link linkend="ags-AgsFileLookup">AgsFileLookup</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-NAME-PROP:CAPS"><link linkend="AGS-FILE-NAME-PROP:CAPS">AGS_FILE_NAME_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-new"><link linkend="ags-file-new">ags_file_new</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-OBJECT-PROP:CAPS"><link linkend="AGS-FILE-OBJECT-PROP:CAPS">AGS_FILE_OBJECT_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-POINTER-PROP:CAPS"><link linkend="AGS-FILE-POINTER-PROP:CAPS">AGS_FILE_POINTER_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read"><link linkend="ags-file-read">ags_file_read</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-audio"><link linkend="ags-file-read-audio">ags_file_read_audio</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-audio-list"><link linkend="ags-file-read-audio-list">ags_file_read_audio_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-audio-loop"><link linkend="ags-file-read-audio-loop">ags_file_read_audio_loop</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-audio-signal"><link linkend="ags-file-read-audio-signal">ags_file_read_audio_signal</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-audio-signal-list"><link linkend="ags-file-read-audio-signal-list">ags_file_read_audio_signal_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-channel"><link linkend="ags-file-read-channel">ags_file_read_channel</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-channel-list"><link linkend="ags-file-read-channel-list">ags_file_read_channel_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-devout"><link linkend="ags-file-read-devout">ags_file_read_devout</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-devout-list"><link linkend="ags-file-read-devout-list">ags_file_read_devout_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-devout-play"><link linkend="ags-file-read-devout-play">ags_file_read_devout_play</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-devout-play-list"><link linkend="ags-file-read-devout-play-list">ags_file_read_devout_play_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-dialog"><link linkend="ags-file-read-dialog">ags_file_read_dialog</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-dialog-list"><link linkend="ags-file-read-dialog-list">ags_file_read_dialog_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-editor"><link linkend="ags-file-read-editor">ags_file_read_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-embedded-audio"><link linkend="ags-file-read-embedded-audio">ags_file_read_embedded_audio</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-embedded-audio-list"><link linkend="ags-file-read-embedded-audio-list">ags_file_read_embedded_audio_list</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-file-link"><link linkend="ags-file-read-file-link">ags_file_read_file_link</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-file-link-list"><link linkend="ags-file-read-file-link-list">ags_file_read_file_link_list</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-input"><link linkend="ags-file-read-input">ags_file_read_input</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-line"><link linkend="ags-file-read-line">ags_file_read_line</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-line-editor"><link linkend="ags-file-read-line-editor">ags_file_read_line_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-line-list"><link linkend="ags-file-read-line-list">ags_file_read_line_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-line-member"><link linkend="ags-file-read-line-member">ags_file_read_line_member</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-line-member-editor"><link linkend="ags-file-read-line-member-editor">ags_file_read_line_member_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-line-member-list"><link linkend="ags-file-read-line-member-list">ags_file_read_line_member_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-link-collection-editor"><link linkend="ags-file-read-link-collection-editor">ags_file_read_link_collection_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-link-editor"><link linkend="ags-file-read-link-editor">ags_file_read_link_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-machine"><link linkend="ags-file-read-machine">ags_file_read_machine</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-machine-counter"><link linkend="ags-file-read-machine-counter">ags_file_read_machine_counter</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-machine-counter-list"><link linkend="ags-file-read-machine-counter-list">ags_file_read_machine_counter_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-machine-editor"><link linkend="ags-file-read-machine-editor">ags_file_read_machine_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-machine-editor-list"><link linkend="ags-file-read-machine-editor-list">ags_file_read_machine_editor_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-machine-list"><link linkend="ags-file-read-machine-list">ags_file_read_machine_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-machine-selector"><link linkend="ags-file-read-machine-selector">ags_file_read_machine_selector</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-main"><link linkend="ags-file-read-main">ags_file_read_main</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-menu-bar"><link linkend="ags-file-read-menu-bar">ags_file_read_menu_bar</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-mixer-input-pad"><link linkend="ags-file-read-mixer-input-pad">ags_file_read_mixer_input_pad</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-mixer-output-pad"><link linkend="ags-file-read-mixer-output-pad">ags_file_read_mixer_output_pad</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-navigation"><link linkend="ags-file-read-navigation">ags_file_read_navigation</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-new"><link linkend="ags-file-read-new">ags_file_read_new</link>, function in <link linkend="ags-AgsFileRead">AgsFileRead</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-notation"><link linkend="ags-file-read-notation">ags_file_read_notation</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-notation-list"><link linkend="ags-file-read-notation-list">ags_file_read_notation_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-note"><link linkend="ags-file-read-note">ags_file_read_note</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-notebook"><link linkend="ags-file-read-notebook">ags_file_read_notebook</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-notebook-tab"><link linkend="ags-file-read-notebook-tab">ags_file_read_notebook_tab</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-notebook-tab-list"><link linkend="ags-file-read-notebook-tab-list">ags_file_read_notebook_tab_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-note-list"><link linkend="ags-file-read-note-list">ags_file_read_note_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-oscillator"><link linkend="ags-file-read-oscillator">ags_file_read_oscillator</link>, function in <link linkend="ags-AgsOscillator">AgsOscillator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-output"><link linkend="ags-file-read-output">ags_file_read_output</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-pad"><link linkend="ags-file-read-pad">ags_file_read_pad</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-pad-editor"><link linkend="ags-file-read-pad-editor">ags_file_read_pad_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-pad-list"><link linkend="ags-file-read-pad-list">ags_file_read_pad_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-pattern"><link linkend="ags-file-read-pattern">ags_file_read_pattern</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-pattern-data"><link linkend="ags-file-read-pattern-data">ags_file_read_pattern_data</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-pattern-data-list"><link linkend="ags-file-read-pattern-data-list">ags_file_read_pattern_data_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-pattern-list"><link linkend="ags-file-read-pattern-list">ags_file_read_pattern_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-port"><link linkend="ags-file-read-port">ags_file_read_port</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-port-list"><link linkend="ags-file-read-port-list">ags_file_read_port_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall"><link linkend="ags-file-read-recall">ags_file_read_recall</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-audio"><link linkend="ags-file-read-recall-audio">ags_file_read_recall_audio</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-audio-run"><link linkend="ags-file-read-recall-audio-run">ags_file_read_recall_audio_run</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-audio-signal"><link linkend="ags-file-read-recall-audio-signal">ags_file_read_recall_audio_signal</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-channel"><link linkend="ags-file-read-recall-channel">ags_file_read_recall_channel</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-channel-run"><link linkend="ags-file-read-recall-channel-run">ags_file_read_recall_channel_run</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-container"><link linkend="ags-file-read-recall-container">ags_file_read_recall_container</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-container-list"><link linkend="ags-file-read-recall-container-list">ags_file_read_recall_container_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-list"><link linkend="ags-file-read-recall-list">ags_file_read_recall_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recall-recycling"><link linkend="ags-file-read-recall-recycling">ags_file_read_recall_recycling</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recycling"><link linkend="ags-file-read-recycling">ags_file_read_recycling</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-recycling-list"><link linkend="ags-file-read-recycling-list">ags_file_read_recycling_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-resize-editor"><link linkend="ags-file-read-resize-editor">ags_file_read_resize_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-resolve"><link linkend="ags-file-read-resolve">ags_file_read_resolve</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-server"><link linkend="ags-file-read-server">ags_file_read_server</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-start"><link linkend="ags-file-read-start">ags_file_read_start</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-stream"><link linkend="ags-file-read-stream">ags_file_read_stream</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-stream-list"><link linkend="ags-file-read-stream-list">ags_file_read_stream_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-task"><link linkend="ags-file-read-task">ags_file_read_task</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-task-list"><link linkend="ags-file-read-task-list">ags_file_read_task_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-thread"><link linkend="ags-file-read-thread">ags_file_read_thread</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-thread-list"><link linkend="ags-file-read-thread-list">ags_file_read_thread_list</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-thread-pool"><link linkend="ags-file-read-thread-pool">ags_file_read_thread_pool</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-timestamp"><link linkend="ags-file-read-timestamp">ags_file_read_timestamp</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-timestamp-list"><link linkend="ags-file-read-timestamp-list">ags_file_read_timestamp_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-toolbar"><link linkend="ags-file-read-toolbar">ags_file_read_toolbar</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-widget"><link linkend="ags-file-read-widget">ags_file_read_widget</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-read-window"><link linkend="ags-file-read-window">ags_file_read_window</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-RESOLVE:CAPS"><link linkend="AGS-FILE-RESOLVE:CAPS">AGS_FILE_RESOLVE</link>, macro in <link linkend="ags-AgsFileIdRef">AgsFileIdRef</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-SCOPE-PROP:CAPS"><link linkend="AGS-FILE-SCOPE-PROP:CAPS">AGS_FILE_SCOPE_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-add-entry"><link linkend="ags-file-selection-add-entry">ags_file_selection_add_entry</link>, function in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-completed"><link linkend="ags-file-selection-completed">ags_file_selection_completed</link>, function in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-contains-file"><link linkend="ags-file-selection-contains-file">ags_file_selection_contains_file</link>, function in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-SELECTION-ENTRY:CAPS"><link linkend="AGS-FILE-SELECTION-ENTRY:CAPS">AGS_FILE_SELECTION_ENTRY</link>, macro in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-entry-alloc"><link linkend="ags-file-selection-entry-alloc">ags_file_selection_entry_alloc</link>, function in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-new"><link linkend="ags-file-selection-new">ags_file_selection_new</link>, function in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-remove-callback"><link linkend="ags-file-selection-remove-callback">ags_file_selection_remove_callback</link>, function in <link linkend="ags-ags-file-selection-callbacks">ags_file_selection_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-remove-entry"><link linkend="ags-file-selection-remove-entry">ags_file_selection_remove_entry</link>, function in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-selection-set-entry"><link linkend="ags-file-selection-set-entry">ags_file_selection_set_entry</link>, function in <link linkend="ags-AgsFileSelection">AgsFileSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-str2md5"><link linkend="ags-file-str2md5">ags_file_str2md5</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-TRUE:CAPS"><link linkend="AGS-FILE-TRUE:CAPS">AGS_FILE_TRUE</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-TYPE-PROP:CAPS"><link linkend="AGS-FILE-TYPE-PROP:CAPS">AGS_FILE_TYPE_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-UINT64-POINTER-PROP:CAPS"><link linkend="AGS-FILE-UINT64-POINTER-PROP:CAPS">AGS_FILE_UINT64_POINTER_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-UINT64-PROP:CAPS"><link linkend="AGS-FILE-UINT64-PROP:CAPS">AGS_FILE_UINT64_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-read-dependency"><link linkend="ags-file-util-read-dependency">ags_file_util_read_dependency</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-read-history"><link linkend="ags-file-util-read-history">ags_file_util_read_history</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-read-object"><link linkend="ags-file-util-read-object">ags_file_util_read_object</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-read-parameter"><link linkend="ags-file-util-read-parameter">ags_file_util_read_parameter</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-read-value"><link linkend="ags-file-util-read-value">ags_file_util_read_value</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-write-dependency"><link linkend="ags-file-util-write-dependency">ags_file_util_write_dependency</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-write-history"><link linkend="ags-file-util-write-history">ags_file_util_write_history</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-write-object"><link linkend="ags-file-util-write-object">ags_file_util_write_object</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-write-parameter"><link linkend="ags-file-util-write-parameter">ags_file_util_write_parameter</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-util-write-value"><link linkend="ags-file-util-write-value">ags_file_util_write_value</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-value-factory-new"><link linkend="ags-file-value-factory-new">ags_file_value_factory_new</link>, function in <link linkend="ags-AgsFileValueFactory">AgsFileValueFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-VERSION-PROP:CAPS"><link linkend="AGS-FILE-VERSION-PROP:CAPS">AGS_FILE_VERSION_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write"><link linkend="ags-file-write">ags_file_write</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-audio"><link linkend="ags-file-write-audio">ags_file_write_audio</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-audio-list"><link linkend="ags-file-write-audio-list">ags_file_write_audio_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-audio-loop"><link linkend="ags-file-write-audio-loop">ags_file_write_audio_loop</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-audio-signal"><link linkend="ags-file-write-audio-signal">ags_file_write_audio_signal</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-audio-signal-list"><link linkend="ags-file-write-audio-signal-list">ags_file_write_audio_signal_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-channel"><link linkend="ags-file-write-channel">ags_file_write_channel</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-channel-list"><link linkend="ags-file-write-channel-list">ags_file_write_channel_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-concurrent"><link linkend="ags-file-write-concurrent">ags_file_write_concurrent</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-devout"><link linkend="ags-file-write-devout">ags_file_write_devout</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-devout-list"><link linkend="ags-file-write-devout-list">ags_file_write_devout_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-devout-play"><link linkend="ags-file-write-devout-play">ags_file_write_devout_play</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-devout-play-list"><link linkend="ags-file-write-devout-play-list">ags_file_write_devout_play_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-dialog"><link linkend="ags-file-write-dialog">ags_file_write_dialog</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-dialog-list"><link linkend="ags-file-write-dialog-list">ags_file_write_dialog_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-editor"><link linkend="ags-file-write-editor">ags_file_write_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-embedded-audio"><link linkend="ags-file-write-embedded-audio">ags_file_write_embedded_audio</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-embedded-audio-list"><link linkend="ags-file-write-embedded-audio-list">ags_file_write_embedded_audio_list</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-file-link"><link linkend="ags-file-write-file-link">ags_file_write_file_link</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-file-link-list"><link linkend="ags-file-write-file-link-list">ags_file_write_file_link_list</link>, function in <link linkend="ags-ags-file-util">ags_file_util</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-input"><link linkend="ags-file-write-input">ags_file_write_input</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-line"><link linkend="ags-file-write-line">ags_file_write_line</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-line-editor"><link linkend="ags-file-write-line-editor">ags_file_write_line_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-line-list"><link linkend="ags-file-write-line-list">ags_file_write_line_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-line-member"><link linkend="ags-file-write-line-member">ags_file_write_line_member</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-line-member-editor"><link linkend="ags-file-write-line-member-editor">ags_file_write_line_member_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-line-member-list"><link linkend="ags-file-write-line-member-list">ags_file_write_line_member_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-link-collection-editor"><link linkend="ags-file-write-link-collection-editor">ags_file_write_link_collection_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-link-editor"><link linkend="ags-file-write-link-editor">ags_file_write_link_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-machine"><link linkend="ags-file-write-machine">ags_file_write_machine</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-machine-counter"><link linkend="ags-file-write-machine-counter">ags_file_write_machine_counter</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-machine-counter-list"><link linkend="ags-file-write-machine-counter-list">ags_file_write_machine_counter_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-machine-editor"><link linkend="ags-file-write-machine-editor">ags_file_write_machine_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-machine-editor-list"><link linkend="ags-file-write-machine-editor-list">ags_file_write_machine_editor_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-machine-list"><link linkend="ags-file-write-machine-list">ags_file_write_machine_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-machine-selector"><link linkend="ags-file-write-machine-selector">ags_file_write_machine_selector</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-main"><link linkend="ags-file-write-main">ags_file_write_main</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-menu-bar"><link linkend="ags-file-write-menu-bar">ags_file_write_menu_bar</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-mixer-input-pad"><link linkend="ags-file-write-mixer-input-pad">ags_file_write_mixer_input_pad</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-mixer-output-pad"><link linkend="ags-file-write-mixer-output-pad">ags_file_write_mixer_output_pad</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-navigation"><link linkend="ags-file-write-navigation">ags_file_write_navigation</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-new"><link linkend="ags-file-write-new">ags_file_write_new</link>, function in <link linkend="ags-AgsFileWrite">AgsFileWrite</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-notation"><link linkend="ags-file-write-notation">ags_file_write_notation</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-notation-list"><link linkend="ags-file-write-notation-list">ags_file_write_notation_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-note"><link linkend="ags-file-write-note">ags_file_write_note</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-notebook"><link linkend="ags-file-write-notebook">ags_file_write_notebook</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-notebook-tab"><link linkend="ags-file-write-notebook-tab">ags_file_write_notebook_tab</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-notebook-tab-list"><link linkend="ags-file-write-notebook-tab-list">ags_file_write_notebook_tab_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-note-list"><link linkend="ags-file-write-note-list">ags_file_write_note_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-oscillator"><link linkend="ags-file-write-oscillator">ags_file_write_oscillator</link>, function in <link linkend="ags-AgsOscillator">AgsOscillator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-output"><link linkend="ags-file-write-output">ags_file_write_output</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-pad"><link linkend="ags-file-write-pad">ags_file_write_pad</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-pad-editor"><link linkend="ags-file-write-pad-editor">ags_file_write_pad_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-pad-list"><link linkend="ags-file-write-pad-list">ags_file_write_pad_list</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-pattern"><link linkend="ags-file-write-pattern">ags_file_write_pattern</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-pattern-data"><link linkend="ags-file-write-pattern-data">ags_file_write_pattern_data</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-pattern-data-list"><link linkend="ags-file-write-pattern-data-list">ags_file_write_pattern_data_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-pattern-list"><link linkend="ags-file-write-pattern-list">ags_file_write_pattern_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-port"><link linkend="ags-file-write-port">ags_file_write_port</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-port-list"><link linkend="ags-file-write-port-list">ags_file_write_port_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall"><link linkend="ags-file-write-recall">ags_file_write_recall</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-audio"><link linkend="ags-file-write-recall-audio">ags_file_write_recall_audio</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-audio-run"><link linkend="ags-file-write-recall-audio-run">ags_file_write_recall_audio_run</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-audio-signal"><link linkend="ags-file-write-recall-audio-signal">ags_file_write_recall_audio_signal</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-channel"><link linkend="ags-file-write-recall-channel">ags_file_write_recall_channel</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-channel-run"><link linkend="ags-file-write-recall-channel-run">ags_file_write_recall_channel_run</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-container"><link linkend="ags-file-write-recall-container">ags_file_write_recall_container</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-container-list"><link linkend="ags-file-write-recall-container-list">ags_file_write_recall_container_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-list"><link linkend="ags-file-write-recall-list">ags_file_write_recall_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recall-recycling"><link linkend="ags-file-write-recall-recycling">ags_file_write_recall_recycling</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recycling"><link linkend="ags-file-write-recycling">ags_file_write_recycling</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-recycling-list"><link linkend="ags-file-write-recycling-list">ags_file_write_recycling_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-resize-editor"><link linkend="ags-file-write-resize-editor">ags_file_write_resize_editor</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-resolve"><link linkend="ags-file-write-resolve">ags_file_write_resolve</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-server"><link linkend="ags-file-write-server">ags_file_write_server</link>, function in <link linkend="ags-AgsFile">AgsFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-stream"><link linkend="ags-file-write-stream">ags_file_write_stream</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-stream-list"><link linkend="ags-file-write-stream-list">ags_file_write_stream_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-task"><link linkend="ags-file-write-task">ags_file_write_task</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-task-list"><link linkend="ags-file-write-task-list">ags_file_write_task_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-thread"><link linkend="ags-file-write-thread">ags_file_write_thread</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-thread-list"><link linkend="ags-file-write-thread-list">ags_file_write_thread_list</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-thread-pool"><link linkend="ags-file-write-thread-pool">ags_file_write_thread_pool</link>, function in <link linkend="ags-ags-file-thread">ags_file_thread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-timestamp"><link linkend="ags-file-write-timestamp">ags_file_write_timestamp</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-timestamp-list"><link linkend="ags-file-write-timestamp-list">ags_file_write_timestamp_list</link>, function in <link linkend="ags-ags-file-sound">ags_file_sound</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-toolbar"><link linkend="ags-file-write-toolbar">ags_file_write_toolbar</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-widget"><link linkend="ags-file-write-widget">ags_file_write_widget</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-file-write-window"><link linkend="ags-file-write-window">ags_file_write_window</link>, function in <link linkend="ags-ags-file-gui">ags_file_gui</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-FILE-XPATH-PROP:CAPS"><link linkend="AGS-FILE-XPATH-PROP:CAPS">AGS_FILE_XPATH_PROP</link>, macro in <link linkend="ags-ags-file-stock">ags_file_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFreeSelection"><link linkend="AgsFreeSelection">AgsFreeSelection</link>, struct in <link linkend="ags-AgsFreeSelection">AgsFreeSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsFreeSelectionClass"><link linkend="AgsFreeSelectionClass">AgsFreeSelectionClass</link>, struct in <link linkend="ags-AgsFreeSelection">AgsFreeSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-free-selection-new"><link linkend="ags-free-selection-new">ags_free_selection_new</link>, function in <link linkend="ags-AgsFreeSelection">AgsFreeSelection</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>G</title>
+<indexentry><primaryie linkends="AgsGarbageCollector"><link linkend="AgsGarbageCollector">AgsGarbageCollector</link>, struct in <link linkend="ags-AgsGarbageCollector">AgsGarbageCollector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGarbageCollectorClass"><link linkend="AgsGarbageCollectorClass">AgsGarbageCollectorClass</link>, struct in <link linkend="ags-AgsGarbageCollector">AgsGarbageCollector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGarbageCollectorFlags"><link linkend="AgsGarbageCollectorFlags">AgsGarbageCollectorFlags</link>, enum in <link linkend="ags-AgsGarbageCollector">AgsGarbageCollector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-garbage-collector-add"><link linkend="ags-garbage-collector-add">ags_garbage_collector_add</link>, function in <link linkend="ags-AgsGarbageCollector">AgsGarbageCollector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-garbage-collector-new"><link linkend="ags-garbage-collector-new">ags_garbage_collector_new</link>, function in <link linkend="ags-AgsGarbageCollector">AgsGarbageCollector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-garbage-collector-remove"><link linkend="ags-garbage-collector-remove">ags_garbage_collector_remove</link>, function in <link linkend="ags-AgsGarbageCollector">AgsGarbageCollector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-garbage-collector-run"><link linkend="ags-garbage-collector-run">ags_garbage_collector_run</link>, function in <link linkend="ags-AgsGarbageCollector">AgsGarbageCollector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGenericPreferences"><link linkend="AgsGenericPreferences">AgsGenericPreferences</link>, struct in <link linkend="ags-AgsGenericPreferences">AgsGenericPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGenericPreferencesClass"><link linkend="AgsGenericPreferencesClass">AgsGenericPreferencesClass</link>, struct in <link linkend="ags-AgsGenericPreferences">AgsGenericPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-generic-preferences-new"><link linkend="ags-generic-preferences-new">ags_generic_preferences_new</link>, function in <link linkend="ags-AgsGenericPreferences">AgsGenericPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGuiTaskThread"><link linkend="AgsGuiTaskThread">AgsGuiTaskThread</link>, struct in <link linkend="ags-AgsGuiTaskThread">AgsGuiTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGuiTaskThreadClass"><link linkend="AgsGuiTaskThreadClass">AgsGuiTaskThreadClass</link>, struct in <link linkend="ags-AgsGuiTaskThread">AgsGuiTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGuiThread"><link linkend="AgsGuiThread">AgsGuiThread</link>, struct in <link linkend="ags-AgsGuiThread">AgsGuiThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsGuiThreadClass"><link linkend="AgsGuiThreadClass">AgsGuiThreadClass</link>, struct in <link linkend="ags-AgsGuiThread">AgsGuiThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-gui-task-thread-new"><link linkend="ags-gui-task-thread-new">ags_gui_task_thread_new</link>, function in <link linkend="ags-AgsGuiTaskThread">AgsGuiTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-GUI-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-GUI-THREAD-DEFAULT-JIFFIE:CAPS">AGS_GUI_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsGuiThread">AgsGuiThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-gui-thread-new"><link linkend="ags-gui-thread-new">ags_gui_thread_new</link>, function in <link linkend="ags-AgsGuiThread">AgsGuiThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-BOOLEAN--OBJECT-OBJECT"><link linkend="g-cclosure-user-marshal-BOOLEAN--OBJECT-OBJECT">g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-OBJECT--OBJECT-OBJECT"><link linkend="g-cclosure-user-marshal-OBJECT--OBJECT-OBJECT">g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-OBJECT--OBJECT-POINTER-POINTER"><link linkend="g-cclosure-user-marshal-OBJECT--OBJECT-POINTER-POINTER">g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-OBJECT--STRING-STRING-STRING"><link linkend="g-cclosure-user-marshal-OBJECT--STRING-STRING-STRING">g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-OBJECT--VOID"><link linkend="g-cclosure-user-marshal-OBJECT--VOID">g_cclosure_user_marshal_OBJECT__VOID</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-STRING--ULONG-STRING-STRING-STRING-STRING-UINT-POINTER"><link linkend="g-cclosure-user-marshal-STRING--ULONG-STRING-STRING-STRING-STRING-UINT-POINTER">g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-ULONG--VOID"><link linkend="g-cclosure-user-marshal-ULONG--VOID">g_cclosure_user_marshal_ULONG__VOID</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--DOUBLE-DOUBLE"><link linkend="g-cclosure-user-marshal-VOID--DOUBLE-DOUBLE">g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--OBJECT-OBJECT"><link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT">g_cclosure_user_marshal_VOID__OBJECT_OBJECT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-INT-BOOLEAN"><link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-INT-BOOLEAN">g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT"><link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT">g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-UINT-INT-BOOLEAN"><link linkend="g-cclosure-user-marshal-VOID--OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-OBJECT-UINT-INT-BOOLEAN">g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--OBJECT-UINT"><link linkend="g-cclosure-user-marshal-VOID--OBJECT-UINT">g_cclosure_user_marshal_VOID__OBJECT_UINT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--STRING-POINTER"><link linkend="g-cclosure-user-marshal-VOID--STRING-POINTER">g_cclosure_user_marshal_VOID__STRING_POINTER</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--UINT-DOUBLE"><link linkend="g-cclosure-user-marshal-VOID--UINT-DOUBLE">g_cclosure_user_marshal_VOID__UINT_DOUBLE</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--UINT-INT"><link linkend="g-cclosure-user-marshal-VOID--UINT-INT">g_cclosure_user_marshal_VOID__UINT_INT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--UINT-UINT"><link linkend="g-cclosure-user-marshal-VOID--UINT-UINT">g_cclosure_user_marshal_VOID__UINT_UINT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--UINT-UINT-UINT"><link linkend="g-cclosure-user-marshal-VOID--UINT-UINT-UINT">g_cclosure_user_marshal_VOID__UINT_UINT_UINT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--ULONG-UINT"><link linkend="g-cclosure-user-marshal-VOID--ULONG-UINT">g_cclosure_user_marshal_VOID__ULONG_UINT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="g-cclosure-user-marshal-VOID--ULONG-UINT-UINT"><link linkend="g-cclosure-user-marshal-VOID--ULONG-UINT-UINT">g_cclosure_user_marshal_VOID__ULONG_UINT_UINT</link>, function in <link linkend="ags-ags-marshal">ags_marshal</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>H</title>
+<indexentry><primaryie linkends="AgsHIndicator"><link linkend="AgsHIndicator">AgsHIndicator</link>, struct in <link linkend="ags-AgsHIndicator">AgsHIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsHIndicatorClass"><link linkend="AgsHIndicatorClass">AgsHIndicatorClass</link>, struct in <link linkend="ags-AgsHIndicator">AgsHIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-hindicator-new"><link linkend="ags-hindicator-new">ags_hindicator_new</link>, function in <link linkend="ags-AgsHIndicator">AgsHIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsHistory"><link linkend="AgsHistory">AgsHistory</link>, struct in <link linkend="ags-AgsHistory">AgsHistory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsHistoryAppend"><link linkend="AgsHistoryAppend">AgsHistoryAppend</link>, struct in <link linkend="ags-AgsHistory">AgsHistory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsHistoryClass"><link linkend="AgsHistoryClass">AgsHistoryClass</link>, struct in <link linkend="ags-AgsHistory">AgsHistory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-history-new"><link linkend="ags-history-new">ags_history_new</link>, function in <link linkend="ags-AgsHistory">AgsHistory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsHTimebar"><link linkend="AgsHTimebar">AgsHTimebar</link>, struct in <link linkend="ags-AgsHTimebar">AgsHTimebar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsHTimebarClass"><link linkend="AgsHTimebarClass">AgsHTimebarClass</link>, struct in <link linkend="ags-AgsHTimebar">AgsHTimebar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-htimebar-new"><link linkend="ags-htimebar-new">ags_htimebar_new</link>, function in <link linkend="ags-AgsHTimebar">AgsHTimebar</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>I</title>
+<indexentry><primaryie linkends="ags-id-generator-create-uuid"><link linkend="ags-id-generator-create-uuid">ags_id_generator_create_uuid</link>, function in <link linkend="ags-ags-id-generator">ags_id_generator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIndicator"><link linkend="AgsIndicator">AgsIndicator</link>, struct in <link linkend="ags-AgsIndicator">AgsIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIndicatorClass"><link linkend="AgsIndicatorClass">AgsIndicatorClass</link>, struct in <link linkend="ags-AgsIndicator">AgsIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-indicator-new"><link linkend="ags-indicator-new">ags_indicator_new</link>, function in <link linkend="ags-AgsIndicator">AgsIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInitAudio"><link linkend="AgsInitAudio">AgsInitAudio</link>, struct in <link linkend="ags-AgsInitAudio">AgsInitAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInitAudioClass"><link linkend="AgsInitAudioClass">AgsInitAudioClass</link>, struct in <link linkend="ags-AgsInitAudio">AgsInitAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInitChannel"><link linkend="AgsInitChannel">AgsInitChannel</link>, struct in <link linkend="ags-AgsInitChannel">AgsInitChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInitChannelClass"><link linkend="AgsInitChannelClass">AgsInitChannelClass</link>, struct in <link linkend="ags-AgsInitChannel">AgsInitChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-init-audio-new"><link linkend="ags-init-audio-new">ags_init_audio_new</link>, function in <link linkend="ags-AgsInitAudio">AgsInitAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-init-channel-new"><link linkend="ags-init-channel-new">ags_init_channel_new</link>, function in <link linkend="ags-AgsInitChannel">AgsInitChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInlinePlayer"><link linkend="AgsInlinePlayer">AgsInlinePlayer</link>, struct in <link linkend="ags-AgsInlinePlayer">AgsInlinePlayer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInlinePlayerClass"><link linkend="AgsInlinePlayerClass">AgsInlinePlayerClass</link>, struct in <link linkend="ags-AgsInlinePlayer">AgsInlinePlayer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-inline-player-new"><link linkend="ags-inline-player-new">ags_inline_player_new</link>, function in <link linkend="ags-AgsInlinePlayer">AgsInlinePlayer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInput"><link linkend="AgsInput">AgsInput</link>, struct in <link linkend="ags-AgsInput">AgsInput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsInputClass"><link linkend="AgsInputClass">AgsInputClass</link>, struct in <link linkend="ags-AgsInput">AgsInput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-input-new"><link linkend="ags-input-new">ags_input_new</link>, function in <link linkend="ags-AgsInput">AgsInput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIpatch"><link linkend="AgsIpatch">AgsIpatch</link>, struct in <link linkend="ags-AgsIpatch">AgsIpatch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIpatchClass"><link linkend="AgsIpatchClass">AgsIpatchClass</link>, struct in <link linkend="ags-AgsIpatch">AgsIpatch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIpatchFlags"><link linkend="AgsIpatchFlags">AgsIpatchFlags</link>, enum in <link linkend="ags-AgsIpatch">AgsIpatch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIpatchSF2Reader"><link linkend="AgsIpatchSF2Reader">AgsIpatchSF2Reader</link>, struct in <link linkend="ags-AgsIpatchSF2Reader">AgsIpatchSF2Reader</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIpatchSF2ReaderClass"><link linkend="AgsIpatchSF2ReaderClass">AgsIpatchSF2ReaderClass</link>, struct in <link linkend="ags-AgsIpatchSF2Reader">AgsIpatchSF2Reader</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-IPATCH-DEFAULT-CHANNELS:CAPS"><link linkend="AGS-IPATCH-DEFAULT-CHANNELS:CAPS">AGS_IPATCH_DEFAULT_CHANNELS</link>, macro in <link linkend="ags-AgsIpatch">AgsIpatch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ipatch-new"><link linkend="ags-ipatch-new">ags_ipatch_new</link>, function in <link linkend="ags-AgsIpatch">AgsIpatch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-IPATCH-READ:CAPS"><link linkend="AGS-IPATCH-READ:CAPS">AGS_IPATCH_READ</link>, macro in <link linkend="ags-AgsIpatch">AgsIpatch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ipatch-sf2-reader-new"><link linkend="ags-ipatch-sf2-reader-new">ags_ipatch_sf2_reader_new</link>, function in <link linkend="ags-AgsIpatchSF2Reader">AgsIpatchSF2Reader</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-IPATCH-WRITE:CAPS"><link linkend="AGS-IPATCH-WRITE:CAPS">AGS_IPATCH_WRITE</link>, macro in <link linkend="ags-AgsIpatch">AgsIpatch</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIteratorThread"><link linkend="AgsIteratorThread">AgsIteratorThread</link>, struct in <link linkend="ags-AgsIteratorThread">AgsIteratorThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIteratorThreadClass"><link linkend="AgsIteratorThreadClass">AgsIteratorThreadClass</link>, struct in <link linkend="ags-AgsIteratorThread">AgsIteratorThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsIteratorThreadFlags"><link linkend="AgsIteratorThreadFlags">AgsIteratorThreadFlags</link>, enum in <link linkend="ags-AgsIteratorThread">AgsIteratorThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-iterator-thread-children-ready"><link linkend="ags-iterator-thread-children-ready">ags_iterator_thread_children_ready</link>, function in <link linkend="ags-AgsIteratorThread">AgsIteratorThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-iterator-thread-new"><link linkend="ags-iterator-thread-new">ags_iterator_thread_new</link>, function in <link linkend="ags-AgsIteratorThread">AgsIteratorThread</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>J</title>
+<indexentry><primaryie linkends="j-math-algebra-brackeds-out"><link linkend="j-math-algebra-brackeds-out">j_math_algebra_brackeds_out</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-algebra-functions-out"><link linkend="j-math-algebra-functions-out">j_math_algebra_functions_out</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-algebra-operations-out"><link linkend="j-math-algebra-operations-out">j_math_algebra_operations_out</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-algebra-solve"><link linkend="j-math-algebra-solve">j_math_algebra_solve</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-and"><link linkend="j-math-and">j_math_and</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-cut-leading-zeros"><link linkend="j-math-cut-leading-zeros">j_math_cut_leading_zeros</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-exclusive-or"><link linkend="j-math-exclusive-or">j_math_exclusive_or</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-exp"><link linkend="j-math-exp">j_math_exp</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-exp2"><link linkend="j-math-exp2">j_math_exp2</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-gauss"><link linkend="j-math-gauss">j_math_gauss</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-get-first-level-operator"><link linkend="j-math-get-first-level-operator">j_math_get_first_level_operator</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-get-second-level-operator"><link linkend="j-math-get-second-level-operator">j_math_get_second_level_operator</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-is-function"><link linkend="j-math-is-function">j_math_is_function</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-is-function-backward"><link linkend="j-math-is-function-backward">j_math_is_function_backward</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-is-operator"><link linkend="j-math-is-operator">j_math_is_operator</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-less"><link linkend="j-math-less">j_math_less</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-make-valid"><link linkend="j-math-make-valid">j_math_make_valid</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-more"><link linkend="j-math-more">j_math_more</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-or"><link linkend="j-math-or">j_math_or</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-put-null-at-beginning"><link linkend="j-math-put-null-at-beginning">j_math_put_null_at_beginning</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-put-null-at-end"><link linkend="j-math-put-null-at-end">j_math_put_null_at_end</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-root"><link linkend="j-math-root">j_math_root</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-root2"><link linkend="j-math-root2">j_math_root2</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-solve-arithmetic"><link linkend="j-math-solve-arithmetic">j_math_solve_arithmetic</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-sort-array"><link linkend="j-math-sort-array">j_math_sort_array</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-width"><link linkend="j-math-width">j_math_width</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+<indexentry><primaryie linkends="j-math-width-list"><link linkend="j-math-width-list">j_math_width_list</link>, function in <link linkend="ags-jmath">jmath</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>L</title>
+<indexentry><primaryie linkends="AgsLadspaBrowser"><link linkend="AgsLadspaBrowser">AgsLadspaBrowser</link>, struct in <link linkend="ags-AgsLadspaBrowser">AgsLadspaBrowser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLadspaBrowserClass"><link linkend="AgsLadspaBrowserClass">AgsLadspaBrowserClass</link>, struct in <link linkend="ags-AgsLadspaBrowser">AgsLadspaBrowser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLadspaManager"><link linkend="AgsLadspaManager">AgsLadspaManager</link>, struct in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLadspaManagerClass"><link linkend="AgsLadspaManagerClass">AgsLadspaManagerClass</link>, struct in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLadspaPlugin"><link linkend="AgsLadspaPlugin">AgsLadspaPlugin</link>, struct in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLadspaPluginFlags"><link linkend="AgsLadspaPluginFlags">AgsLadspaPluginFlags</link>, enum in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLadspaPluginPreferences"><link linkend="AgsLadspaPluginPreferences">AgsLadspaPluginPreferences</link>, struct in <link linkend="ags-AgsPluginPreferences">AgsPluginPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-cancel-callback"><link linkend="ags-ladspa-browser-cancel-callback">ags_ladspa_browser_cancel_callback</link>, function in <link linkend="ags-ags-ladspa-browser-callbacks">ags_ladspa_browser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-combo-box-controls-new"><link linkend="ags-ladspa-browser-combo-box-controls-new">ags_ladspa_browser_combo_box_controls_new</link>, function in <link linkend="ags-AgsLadspaBrowser">AgsLadspaBrowser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-get-plugin-effect"><link linkend="ags-ladspa-browser-get-plugin-effect">ags_ladspa_browser_get_plugin_effect</link>, function in <link linkend="ags-AgsLadspaBrowser">AgsLadspaBrowser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-get-plugin-filename"><link linkend="ags-ladspa-browser-get-plugin-filename">ags_ladspa_browser_get_plugin_filename</link>, function in <link linkend="ags-AgsLadspaBrowser">AgsLadspaBrowser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-new"><link linkend="ags-ladspa-browser-new">ags_ladspa_browser_new</link>, function in <link linkend="ags-AgsLadspaBrowser">AgsLadspaBrowser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-ok-callback"><link linkend="ags-ladspa-browser-ok-callback">ags_ladspa_browser_ok_callback</link>, function in <link linkend="ags-ags-ladspa-browser-callbacks">ags_ladspa_browser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-plugin-effect-callback"><link linkend="ags-ladspa-browser-plugin-effect-callback">ags_ladspa_browser_plugin_effect_callback</link>, function in <link linkend="ags-ags-ladspa-browser-callbacks">ags_ladspa_browser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-plugin-filename-callback"><link linkend="ags-ladspa-browser-plugin-filename-callback">ags_ladspa_browser_plugin_filename_callback</link>, function in <link linkend="ags-ags-ladspa-browser-callbacks">ags_ladspa_browser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-preview-close-callback"><link linkend="ags-ladspa-browser-preview-close-callback">ags_ladspa_browser_preview_close_callback</link>, function in <link linkend="ags-ags-ladspa-browser-callbacks">ags_ladspa_browser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-browser-preview-new"><link linkend="ags-ladspa-browser-preview-new">ags_ladspa_browser_preview_new</link>, function in <link linkend="ags-AgsLadspaBrowser">AgsLadspaBrowser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-manager-find-ladspa-plugin"><link linkend="ags-ladspa-manager-find-ladspa-plugin">ags_ladspa_manager_find_ladspa_plugin</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-manager-get-filenames"><link linkend="ags-ladspa-manager-get-filenames">ags_ladspa_manager_get_filenames</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-manager-get-instance"><link linkend="ags-ladspa-manager-get-instance">ags_ladspa_manager_get_instance</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-manager-load-default-directory"><link linkend="ags-ladspa-manager-load-default-directory">ags_ladspa_manager_load_default_directory</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-manager-load-file"><link linkend="ags-ladspa-manager-load-file">ags_ladspa_manager_load_file</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-manager-new"><link linkend="ags-ladspa-manager-new">ags_ladspa_manager_new</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LADSPA-PLUGIN:CAPS"><link linkend="AGS-LADSPA-PLUGIN:CAPS">AGS_LADSPA_PLUGIN</link>, macro in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-plugin-alloc"><link linkend="ags-ladspa-plugin-alloc">ags_ladspa_plugin_alloc</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-plugin-free"><link linkend="ags-ladspa-plugin-free">ags_ladspa_plugin_free</link>, function in <link linkend="ags-AgsLadspaManager">AgsLadspaManager</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ladspa-plugin-preferences-alloc"><link linkend="ags-ladspa-plugin-preferences-alloc">ags_ladspa_plugin_preferences_alloc</link>, function in <link linkend="ags-AgsPluginPreferences">AgsPluginPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLed"><link linkend="AgsLed">AgsLed</link>, struct in <link linkend="ags-AgsLed">AgsLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLedClass"><link linkend="AgsLedClass">AgsLedClass</link>, struct in <link linkend="ags-AgsLed">AgsLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLedFlags"><link linkend="AgsLedFlags">AgsLedFlags</link>, enum in <link linkend="ags-AgsLed">AgsLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-led-new"><link linkend="ags-led-new">ags_led_new</link>, function in <link linkend="ags-AgsLed">AgsLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-led-set-active"><link linkend="ags-led-set-active">ags_led_set_active</link>, function in <link linkend="ags-AgsLed">AgsLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-led-unset-active"><link linkend="ags-led-unset-active">ags_led_unset_active</link>, function in <link linkend="ags-AgsLed">AgsLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibao"><link linkend="AgsLibao">AgsLibao</link>, struct in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibaoClass"><link linkend="AgsLibaoClass">AgsLibaoClass</link>, struct in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibaoError"><link linkend="AgsLibaoError">AgsLibaoError</link>, enum in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibaoFlags"><link linkend="AgsLibaoFlags">AgsLibaoFlags</link>, enum in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibaoPlay"><link linkend="AgsLibaoPlay">AgsLibaoPlay</link>, struct in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibaoPlayDomain"><link linkend="AgsLibaoPlayDomain">AgsLibaoPlayDomain</link>, struct in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibaoPlayFlags"><link linkend="AgsLibaoPlayFlags">AgsLibaoPlayFlags</link>, enum in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLibaoResolutionMode"><link linkend="AgsLibaoResolutionMode">AgsLibaoResolutionMode</link>, enum in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-BPM:CAPS"><link linkend="AGS-LIBAO-DEFAULT-BPM:CAPS">AGS_LIBAO_DEFAULT_BPM</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-BUFFER-SIZE:CAPS"><link linkend="AGS-LIBAO-DEFAULT-BUFFER-SIZE:CAPS">AGS_LIBAO_DEFAULT_BUFFER_SIZE</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-DELAY:CAPS"><link linkend="AGS-LIBAO-DEFAULT-DELAY:CAPS">AGS_LIBAO_DEFAULT_DELAY</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-LIBAO-DEFAULT-JIFFIE:CAPS">AGS_LIBAO_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-SAMPLERATE:CAPS"><link linkend="AGS-LIBAO-DEFAULT-SAMPLERATE:CAPS">AGS_LIBAO_DEFAULT_SAMPLERATE</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-TACT:CAPS"><link linkend="AGS-LIBAO-DEFAULT-TACT:CAPS">AGS_LIBAO_DEFAULT_TACT</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-TACTRATE:CAPS"><link linkend="AGS-LIBAO-DEFAULT-TACTRATE:CAPS">AGS_LIBAO_DEFAULT_TACTRATE</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-DEFAULT-TACT-JIFFIE:CAPS"><link linkend="AGS-LIBAO-DEFAULT-TACT-JIFFIE:CAPS">AGS_LIBAO_DEFAULT_TACT_JIFFIE</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-ERROR:CAPS"><link linkend="AGS-LIBAO-ERROR:CAPS">AGS_LIBAO_ERROR</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-error-quark"><link linkend="ags-libao-error-quark">ags_libao_error_quark</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-list-cards"><link linkend="ags-libao-list-cards">ags_libao_list_cards</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-new"><link linkend="ags-libao-new">ags_libao_new</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-note-offset-changed"><link linkend="ags-libao-note-offset-changed">ags_libao_note_offset_changed</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-pcm-info"><link linkend="ags-libao-pcm-info">ags_libao_pcm_info</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-PLAY:CAPS"><link linkend="AGS-LIBAO-PLAY:CAPS">AGS_LIBAO_PLAY</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-play-alloc"><link linkend="ags-libao-play-alloc">ags_libao_play_alloc</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LIBAO-PLAY-DOMAIN:CAPS"><link linkend="AGS-LIBAO-PLAY-DOMAIN:CAPS">AGS_LIBAO_PLAY_DOMAIN</link>, macro in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-play-domain-alloc"><link linkend="ags-libao-play-domain-alloc">ags_libao_play_domain_alloc</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-play-domain-free"><link linkend="ags-libao-play-domain-free">ags_libao_play_domain_free</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-play-free"><link linkend="ags-libao-play-free">ags_libao_play_free</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-libao-tic"><link linkend="ags-libao-tic">ags_libao_tic</link>, function in <link linkend="ags-AgsLibao">AgsLibao</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLine"><link linkend="AgsLine">AgsLine</link>, struct in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineClass"><link linkend="AgsLineClass">AgsLineClass</link>, struct in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineEditor"><link linkend="AgsLineEditor">AgsLineEditor</link>, struct in <link linkend="ags-AgsLineEditor">AgsLineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineEditorClass"><link linkend="AgsLineEditorClass">AgsLineEditorClass</link>, struct in <link linkend="ags-AgsLineEditor">AgsLineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineFlags"><link linkend="AgsLineFlags">AgsLineFlags</link>, enum in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineMember"><link linkend="AgsLineMember">AgsLineMember</link>, struct in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineMemberClass"><link linkend="AgsLineMemberClass">AgsLineMemberClass</link>, struct in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineMemberEditor"><link linkend="AgsLineMemberEditor">AgsLineMemberEditor</link>, struct in <link linkend="ags-AgsLineMemberEditor">AgsLineMemberEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineMemberEditorClass"><link linkend="AgsLineMemberEditorClass">AgsLineMemberEditorClass</link>, struct in <link linkend="ags-AgsLineMemberEditor">AgsLineMemberEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLineMemberFlags"><link linkend="AgsLineMemberFlags">AgsLineMemberFlags</link>, enum in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-channel-done-callback"><link linkend="ags-line-channel-done-callback">ags_line_channel_done_callback</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-copy-pattern-cancel"><link linkend="ags-line-copy-pattern-cancel">ags_line_copy_pattern_cancel</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-copy-pattern-done"><link linkend="ags-line-copy-pattern-done">ags_line_copy_pattern_done</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LINE-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-LINE-DEFAULT-BUILD-ID:CAPS">AGS_LINE_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LINE-DEFAULT-VERSION:CAPS"><link linkend="AGS-LINE-DEFAULT-VERSION:CAPS">AGS_LINE_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LINE-EDITOR-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-LINE-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_LINE_EDITOR_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsLineEditor">AgsLineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-LINE-EDITOR-DEFAULT-VERSION:CAPS"><link linkend="AGS-LINE-EDITOR-DEFAULT-VERSION:CAPS">AGS_LINE_EDITOR_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsLineEditor">AgsLineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-editor-destroy-callback"><link linkend="ags-line-editor-destroy-callback">ags_line_editor_destroy_callback</link>, function in <link linkend="ags-ags-line-editor-callbacks">ags_line_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-editor-new"><link linkend="ags-line-editor-new">ags_line_editor_new</link>, function in <link linkend="ags-AgsLineEditor">AgsLineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-editor-parent-set-callback"><link linkend="ags-line-editor-parent-set-callback">ags_line_editor_parent_set_callback</link>, function in <link linkend="ags-ags-line-editor-callbacks">ags_line_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-editor-set-channel"><link linkend="ags-line-editor-set-channel">ags_line_editor_set_channel</link>, function in <link linkend="ags-AgsLineEditor">AgsLineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-editor-show-callback"><link linkend="ags-line-editor-show-callback">ags_line_editor_show_callback</link>, function in <link linkend="ags-ags-line-editor-callbacks">ags_line_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-find-next-grouped"><link linkend="ags-line-find-next-grouped">ags_line_find_next_grouped</link>, function in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-find-port"><link linkend="ags-line-find-port">ags_line_find_port</link>, function in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-group-changed"><link linkend="ags-line-group-changed">ags_line_group_changed</link>, function in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-group-clicked-callback"><link linkend="ags-line-group-clicked-callback">ags_line_group_clicked_callback</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-button-clicked-callback"><link linkend="ags-line-member-button-clicked-callback">ags_line_member_button_clicked_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-change-port"><link linkend="ags-line-member-change-port">ags_line_member_change_port</link>, function in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-check-button-clicked-callback"><link linkend="ags-line-member-check-button-clicked-callback">ags_line_member_check_button_clicked_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-dial-changed-callback"><link linkend="ags-line-member-dial-changed-callback">ags_line_member_dial_changed_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-editor-add-callback"><link linkend="ags-line-member-editor-add-callback">ags_line_member_editor_add_callback</link>, function in <link linkend="ags-ags-line-member-editor-callbacks">ags_line_member_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-editor-ladspa-browser-response-callback"><link linkend="ags-line-member-editor-ladspa-browser-response-callback">ags_line_member_editor_ladspa_browser_response_callback</link>, function in <link linkend="ags-ags-line-member-editor-callbacks">ags_line_member_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-editor-new"><link linkend="ags-line-member-editor-new">ags_line_member_editor_new</link>, function in <link linkend="ags-AgsLineMemberEditor">AgsLineMemberEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-editor-remove-callback"><link linkend="ags-line-member-editor-remove-callback">ags_line_member_editor_remove_callback</link>, function in <link linkend="ags-ags-line-member-editor-callbacks">ags_line_member_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-find-port"><link linkend="ags-line-member-find-port">ags_line_member_find_port</link>, function in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-get-widget"><link linkend="ags-line-member-get-widget">ags_line_member_get_widget</link>, function in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-hscale-changed-callback"><link linkend="ags-line-member-hscale-changed-callback">ags_line_member_hscale_changed_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-new"><link linkend="ags-line-member-new">ags_line_member_new</link>, function in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-parent-set-callback"><link linkend="ags-line-member-parent-set-callback">ags_line_member_parent_set_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-port-safe-write-callback"><link linkend="ags-line-member-port-safe-write-callback">ags_line_member_port_safe_write_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-set-label"><link linkend="ags-line-member-set-label">ags_line_member_set_label</link>, function in <link linkend="ags-AgsLineMember">AgsLineMember</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-spin-button-changed-callback"><link linkend="ags-line-member-spin-button-changed-callback">ags_line_member_spin_button_changed_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-toggle-button-clicked-callback"><link linkend="ags-line-member-toggle-button-clicked-callback">ags_line_member_toggle_button_clicked_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-member-vscale-changed-callback"><link linkend="ags-line-member-vscale-changed-callback">ags_line_member_vscale_changed_callback</link>, function in <link linkend="ags-ags-line-member-callbacks">ags_line_member_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-new"><link linkend="ags-line-new">ags_line_new</link>, function in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-parent-set-callback"><link linkend="ags-line-parent-set-callback">ags_line_parent_set_callback</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-peak-run-post-callback"><link linkend="ags-line-peak-run-post-callback">ags_line_peak_run_post_callback</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-play-channel-run-cancel"><link linkend="ags-line-play-channel-run-cancel">ags_line_play_channel_run_cancel</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-play-volume-cancel"><link linkend="ags-line-play-volume-cancel">ags_line_play_volume_cancel</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-play-volume-done"><link linkend="ags-line-play-volume-done">ags_line_play_volume_done</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-recall-volume-cancel"><link linkend="ags-line-recall-volume-cancel">ags_line_recall_volume_cancel</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-recall-volume-done"><link linkend="ags-line-recall-volume-done">ags_line_recall_volume_done</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-remove-recall-callback"><link linkend="ags-line-remove-recall-callback">ags_line_remove_recall_callback</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-set-channel"><link linkend="ags-line-set-channel">ags_line_set_channel</link>, function in <link linkend="ags-AgsLine">AgsLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-line-volume-callback"><link linkend="ags-line-volume-callback">ags_line_volume_callback</link>, function in <link linkend="ags-ags-line-callbacks">ags_line_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLinkChannel"><link linkend="AgsLinkChannel">AgsLinkChannel</link>, struct in <link linkend="ags-AgsLinkChannel">AgsLinkChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLinkChannelClass"><link linkend="AgsLinkChannelClass">AgsLinkChannelClass</link>, struct in <link linkend="ags-AgsLinkChannel">AgsLinkChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLinkCollectionEditor"><link linkend="AgsLinkCollectionEditor">AgsLinkCollectionEditor</link>, struct in <link linkend="ags-AgsLinkCollectionEditor">AgsLinkCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLinkCollectionEditorClass"><link linkend="AgsLinkCollectionEditorClass">AgsLinkCollectionEditorClass</link>, struct in <link linkend="ags-AgsLinkCollectionEditor">AgsLinkCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLinkEditor"><link linkend="AgsLinkEditor">AgsLinkEditor</link>, struct in <link linkend="ags-AgsLinkEditor">AgsLinkEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLinkEditorClass"><link linkend="AgsLinkEditorClass">AgsLinkEditorClass</link>, struct in <link linkend="ags-AgsLinkEditor">AgsLinkEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLinkEditorFlags"><link linkend="AgsLinkEditorFlags">AgsLinkEditorFlags</link>, enum in <link linkend="ags-AgsLinkEditor">AgsLinkEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-channel-new"><link linkend="ags-link-channel-new">ags_link_channel_new</link>, function in <link linkend="ags-AgsLinkChannel">AgsLinkChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-check-count"><link linkend="ags-link-collection-editor-check-count">ags_link_collection_editor_check_count</link>, function in <link linkend="ags-AgsLinkCollectionEditor">AgsLinkCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-check-first-line"><link linkend="ags-link-collection-editor-check-first-line">ags_link_collection_editor_check_first_line</link>, function in <link linkend="ags-AgsLinkCollectionEditor">AgsLinkCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-check-first-link"><link linkend="ags-link-collection-editor-check-first-link">ags_link_collection_editor_check_first_link</link>, function in <link linkend="ags-AgsLinkCollectionEditor">AgsLinkCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-count-callback"><link linkend="ags-link-collection-editor-count-callback">ags_link_collection_editor_count_callback</link>, function in <link linkend="ags-ags-link-collection-editor-callbacks">ags_link_collection_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-first-line-callback"><link linkend="ags-link-collection-editor-first-line-callback">ags_link_collection_editor_first_line_callback</link>, function in <link linkend="ags-ags-link-collection-editor-callbacks">ags_link_collection_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-first-link-callback"><link linkend="ags-link-collection-editor-first-link-callback">ags_link_collection_editor_first_link_callback</link>, function in <link linkend="ags-ags-link-collection-editor-callbacks">ags_link_collection_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-link-callback"><link linkend="ags-link-collection-editor-link-callback">ags_link_collection_editor_link_callback</link>, function in <link linkend="ags-ags-link-collection-editor-callbacks">ags_link_collection_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-new"><link linkend="ags-link-collection-editor-new">ags_link_collection_editor_new</link>, function in <link linkend="ags-AgsLinkCollectionEditor">AgsLinkCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-collection-editor-parent-set-callback"><link linkend="ags-link-collection-editor-parent-set-callback">ags_link_collection_editor_parent_set_callback</link>, function in <link linkend="ags-ags-link-collection-editor-callbacks">ags_link_collection_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-editor-combo-callback"><link linkend="ags-link-editor-combo-callback">ags_link_editor_combo_callback</link>, function in <link linkend="ags-ags-link-editor-callbacks">ags_link_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-editor-destroy-callback"><link linkend="ags-link-editor-destroy-callback">ags_link_editor_destroy_callback</link>, function in <link linkend="ags-ags-link-editor-callbacks">ags_link_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-editor-new"><link linkend="ags-link-editor-new">ags_link_editor_new</link>, function in <link linkend="ags-AgsLinkEditor">AgsLinkEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-editor-parent-set-callback"><link linkend="ags-link-editor-parent-set-callback">ags_link_editor_parent_set_callback</link>, function in <link linkend="ags-ags-link-editor-callbacks">ags_link_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-link-editor-show-callback"><link linkend="ags-link-editor-show-callback">ags_link_editor_show_callback</link>, function in <link linkend="ags-ags-link-editor-callbacks">ags_link_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsListingEditor"><link linkend="AgsListingEditor">AgsListingEditor</link>, struct in <link linkend="ags-AgsListingEditor">AgsListingEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsListingEditorClass"><link linkend="AgsListingEditorClass">AgsListingEditorClass</link>, struct in <link linkend="ags-AgsListingEditor">AgsListingEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-listing-editor-add-children"><link linkend="ags-listing-editor-add-children">ags_listing_editor_add_children</link>, function in <link linkend="ags-AgsListingEditor">AgsListingEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-listing-editor-new"><link linkend="ags-listing-editor-new">ags_listing_editor_new</link>, function in <link linkend="ags-AgsListingEditor">AgsListingEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-listing-editor-parent-set-callback"><link linkend="ags-listing-editor-parent-set-callback">ags_listing_editor_parent_set_callback</link>, function in <link linkend="ags-ags-listing-editor-callbacks">ags_listing_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-listing-editor-set-pads-callback"><link linkend="ags-listing-editor-set-pads-callback">ags_listing_editor_set_pads_callback</link>, function in <link linkend="ags-ags-listing-editor-callbacks">ags_listing_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-list-duplicate-list"><link linkend="ags-list-duplicate-list">ags_list_duplicate_list</link>, function in <link linkend="ags-ags-list">ags_list</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-list-free-and-free-link"><link linkend="ags-list-free-and-free-link">ags_list_free_and_free_link</link>, function in <link linkend="ags-ags-list">ags_list</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-list-free-and-unref-link"><link linkend="ags-list-free-and-unref-link">ags_list_free_and_unref_link</link>, function in <link linkend="ags-ags-list">ags_list</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLog"><link linkend="AgsLog">AgsLog</link>, struct in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLogClass"><link linkend="AgsLogClass">AgsLogClass</link>, struct in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLogFlags"><link linkend="AgsLogFlags">AgsLogFlags</link>, enum in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLogFormatedMessage"><link linkend="AgsLogFormatedMessage">AgsLogFormatedMessage</link>, struct in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLogMessage"><link linkend="AgsLogMessage">AgsLogMessage</link>, struct in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-log-debug"><link linkend="ags-log-debug">ags_log_debug</link>, function in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-log-message"><link linkend="ags-log-message">ags_log_message</link>, function in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-log-start-queue"><link linkend="ags-log-start-queue">ags_log_start_queue</link>, function in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-log-stop-queue"><link linkend="ags-log-stop-queue">ags_log_stop_queue</link>, function in <link linkend="ags-AgsLog">AgsLog</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLoopChannel"><link linkend="AgsLoopChannel">AgsLoopChannel</link>, struct in <link linkend="ags-AgsLoopChannel">AgsLoopChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLoopChannelClass"><link linkend="AgsLoopChannelClass">AgsLoopChannelClass</link>, struct in <link linkend="ags-AgsLoopChannel">AgsLoopChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLoopChannelRun"><link linkend="AgsLoopChannelRun">AgsLoopChannelRun</link>, struct in <link linkend="ags-AgsLoopChannelRun">AgsLoopChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsLoopChannelRunClass"><link linkend="AgsLoopChannelRunClass">AgsLoopChannelRunClass</link>, struct in <link linkend="ags-AgsLoopChannelRun">AgsLoopChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-loop-channel-new"><link linkend="ags-loop-channel-new">ags_loop_channel_new</link>, function in <link linkend="ags-AgsLoopChannel">AgsLoopChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-loop-channel-run-new"><link linkend="ags-loop-channel-run-new">ags_loop_channel_run_new</link>, function in <link linkend="ags-AgsLoopChannelRun">AgsLoopChannelRun</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>M</title>
+<indexentry><primaryie linkends="AgsMachine"><link linkend="AgsMachine">AgsMachine</link>, struct in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineClass"><link linkend="AgsMachineClass">AgsMachineClass</link>, struct in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineCounter"><link linkend="AgsMachineCounter">AgsMachineCounter</link>, struct in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineEditor"><link linkend="AgsMachineEditor">AgsMachineEditor</link>, struct in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineEditorClass"><link linkend="AgsMachineEditorClass">AgsMachineEditorClass</link>, struct in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineEditorFlags"><link linkend="AgsMachineEditorFlags">AgsMachineEditorFlags</link>, enum in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineFileInputFlags"><link linkend="AgsMachineFileInputFlags">AgsMachineFileInputFlags</link>, enum in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineFlags"><link linkend="AgsMachineFlags">AgsMachineFlags</link>, enum in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineRadioButton"><link linkend="AgsMachineRadioButton">AgsMachineRadioButton</link>, struct in <link linkend="ags-AgsMachineRadioButton">AgsMachineRadioButton</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineRadioButtonClass"><link linkend="AgsMachineRadioButtonClass">AgsMachineRadioButtonClass</link>, struct in <link linkend="ags-AgsMachineRadioButton">AgsMachineRadioButton</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineSelection"><link linkend="AgsMachineSelection">AgsMachineSelection</link>, struct in <link linkend="ags-AgsMachineSelection">AgsMachineSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineSelectionClass"><link linkend="AgsMachineSelectionClass">AgsMachineSelectionClass</link>, struct in <link linkend="ags-AgsMachineSelection">AgsMachineSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineSelector"><link linkend="AgsMachineSelector">AgsMachineSelector</link>, struct in <link linkend="ags-AgsMachineSelector">AgsMachineSelector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMachineSelectorClass"><link linkend="AgsMachineSelectorClass">AgsMachineSelectorClass</link>, struct in <link linkend="ags-AgsMachineSelector">AgsMachineSelector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-add-default-recalls"><link linkend="ags-machine-add-default-recalls">ags_machine_add_default_recalls</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-button-press-callback"><link linkend="ags-machine-button-press-callback">ags_machine_button_press_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MACHINE-COUNTER:CAPS"><link linkend="AGS-MACHINE-COUNTER:CAPS">AGS_MACHINE_COUNTER</link>, macro in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-counter-alloc"><link linkend="ags-machine-counter-alloc">ags_machine_counter_alloc</link>, function in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MACHINE-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-MACHINE-DEFAULT-BUILD-ID:CAPS">AGS_MACHINE_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MACHINE-DEFAULT-VERSION:CAPS"><link linkend="AGS-MACHINE-DEFAULT-VERSION:CAPS">AGS_MACHINE_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-destroy-callback"><link linkend="ags-machine-destroy-callback">ags_machine_destroy_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-done-callback"><link linkend="ags-machine-done-callback">ags_machine_done_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-add-callback"><link linkend="ags-machine-editor-add-callback">ags_machine_editor_add_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-add-children"><link linkend="ags-machine-editor-add-children">ags_machine_editor_add_children</link>, function in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-add-input"><link linkend="ags-machine-editor-add-input">ags_machine_editor_add_input</link>, function in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-add-output"><link linkend="ags-machine-editor-add-output">ags_machine_editor_add_output</link>, function in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-apply-callback"><link linkend="ags-machine-editor-apply-callback">ags_machine_editor_apply_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-back-callback"><link linkend="ags-machine-editor-back-callback">ags_machine_editor_back_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-cancel-callback"><link linkend="ags-machine-editor-cancel-callback">ags_machine_editor_cancel_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MACHINE-EDITOR-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-MACHINE-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MACHINE-EDITOR-DEFAULT-VERSION:CAPS"><link linkend="AGS-MACHINE-EDITOR-DEFAULT-VERSION:CAPS">AGS_MACHINE_EDITOR_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-destroy-callback"><link linkend="ags-machine-editor-destroy-callback">ags_machine_editor_destroy_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-new"><link linkend="ags-machine-editor-new">ags_machine_editor_new</link>, function in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-ok-callback"><link linkend="ags-machine-editor-ok-callback">ags_machine_editor_ok_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-parent-set-callback"><link linkend="ags-machine-editor-parent-set-callback">ags_machine_editor_parent_set_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-remove-callback"><link linkend="ags-machine-editor-remove-callback">ags_machine_editor_remove_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-remove-input"><link linkend="ags-machine-editor-remove-input">ags_machine_editor_remove_input</link>, function in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-remove-output"><link linkend="ags-machine-editor-remove-output">ags_machine_editor_remove_output</link>, function in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-set-machine"><link linkend="ags-machine-editor-set-machine">ags_machine_editor_set_machine</link>, function in <link linkend="ags-AgsMachineEditor">AgsMachineEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-show-callback"><link linkend="ags-machine-editor-show-callback">ags_machine_editor_show_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-editor-switch-page-callback"><link linkend="ags-machine-editor-switch-page-callback">ags_machine_editor_switch_page_callback</link>, function in <link linkend="ags-ags-machine-editor-callbacks">ags_machine_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-file-chooser-dialog-new"><link linkend="ags-machine-file-chooser-dialog-new">ags_machine_file_chooser_dialog_new</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-find-by-name"><link linkend="ags-machine-find-by-name">ags_machine_find_by_name</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-find-port"><link linkend="ags-machine-find-port">ags_machine_find_port</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-get-possible-links"><link linkend="ags-machine-get-possible-links">ags_machine_get_possible_links</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-new"><link linkend="ags-machine-new">ags_machine_new</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-open-files"><link linkend="ags-machine-open-files">ags_machine_open_files</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-open-response-callback"><link linkend="ags-machine-open-response-callback">ags_machine_open_response_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-parent-set-callback"><link linkend="ags-machine-parent-set-callback">ags_machine_parent_set_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-play-callback"><link linkend="ags-machine-play-callback">ags_machine_play_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-popup-destroy-activate-callback"><link linkend="ags-machine-popup-destroy-activate-callback">ags_machine_popup_destroy_activate_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-popup-hide-activate-callback"><link linkend="ags-machine-popup-hide-activate-callback">ags_machine_popup_hide_activate_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-popup-move-down-activate-callback"><link linkend="ags-machine-popup-move-down-activate-callback">ags_machine_popup_move_down_activate_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-popup-move-up-activate-callback"><link linkend="ags-machine-popup-move-up-activate-callback">ags_machine_popup_move_up_activate_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-popup-properties-activate-callback"><link linkend="ags-machine-popup-properties-activate-callback">ags_machine_popup_properties_activate_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-popup-rename-activate-callback"><link linkend="ags-machine-popup-rename-activate-callback">ags_machine_popup_rename_activate_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-popup-show-activate-callback"><link linkend="ags-machine-popup-show-activate-callback">ags_machine_popup_show_activate_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-radio-button-new"><link linkend="ags-machine-radio-button-new">ags_machine_radio_button_new</link>, function in <link linkend="ags-AgsMachineRadioButton">AgsMachineRadioButton</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selection-new"><link linkend="ags-machine-selection-new">ags_machine_selection_new</link>, function in <link linkend="ags-AgsMachineSelection">AgsMachineSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selection-run"><link linkend="ags-machine-selection-run">ags_machine_selection_run</link>, function in <link linkend="ags-AgsMachineSelection">AgsMachineSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-changed"><link linkend="ags-machine-selector-changed">ags_machine_selector_changed</link>, function in <link linkend="ags-AgsMachineSelector">AgsMachineSelector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-new"><link linkend="ags-machine-selector-new">ags_machine_selector_new</link>, function in <link linkend="ags-AgsMachineSelector">AgsMachineSelector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-popup-add-index-callback"><link linkend="ags-machine-selector-popup-add-index-callback">ags_machine_selector_popup_add_index_callback</link>, function in <link linkend="ags-ags-machine-selector-callbacks">ags_machine_selector_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-popup-add-tab-callback"><link linkend="ags-machine-selector-popup-add-tab-callback">ags_machine_selector_popup_add_tab_callback</link>, function in <link linkend="ags-ags-machine-selector-callbacks">ags_machine_selector_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-popup-link-index-callback"><link linkend="ags-machine-selector-popup-link-index-callback">ags_machine_selector_popup_link_index_callback</link>, function in <link linkend="ags-ags-machine-selector-callbacks">ags_machine_selector_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-popup-new"><link linkend="ags-machine-selector-popup-new">ags_machine_selector_popup_new</link>, function in <link linkend="ags-AgsMachineSelector">AgsMachineSelector</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-popup-remove-index-callback"><link linkend="ags-machine-selector-popup-remove-index-callback">ags_machine_selector_popup_remove_index_callback</link>, function in <link linkend="ags-ags-machine-selector-callbacks">ags_machine_selector_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-popup-remove-tab-callback"><link linkend="ags-machine-selector-popup-remove-tab-callback">ags_machine_selector_popup_remove_tab_callback</link>, function in <link linkend="ags-ags-machine-selector-callbacks">ags_machine_selector_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-selector-radio-changed"><link linkend="ags-machine-selector-radio-changed">ags_machine_selector_radio_changed</link>, function in <link linkend="ags-ags-machine-selector-callbacks">ags_machine_selector_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-set-run"><link linkend="ags-machine-set-run">ags_machine_set_run</link>, function in <link linkend="ags-AgsMachine">AgsMachine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-start-failure-callback"><link linkend="ags-machine-start-failure-callback">ags_machine_start_failure_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-machine-tact-callback"><link linkend="ags-machine-tact-callback">ags_machine_tact_callback</link>, function in <link linkend="ags-ags-machine-callbacks">ags_machine_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMain"><link linkend="AgsMain">AgsMain</link>, struct in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMainClass"><link linkend="AgsMainClass">AgsMainClass</link>, struct in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMainFlags"><link linkend="AgsMainFlags">AgsMainFlags</link>, enum in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMainLoop"><link linkend="AgsMainLoop">AgsMainLoop</link>, typedef in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMainLoopInterface"><link linkend="AgsMainLoopInterface">AgsMainLoopInterface</link>, struct in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-add-devout"><link linkend="ags-main-add-devout">ags_main_add_devout</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-load-config"><link linkend="ags-main-load-config">ags_main_load_config</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-loop-get-async-queue"><link linkend="ags-main-loop-get-async-queue">ags_main_loop_get_async_queue</link>, function in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-loop-get-last-sync"><link linkend="ags-main-loop-get-last-sync">ags_main_loop_get_last_sync</link>, function in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-loop-get-tic"><link linkend="ags-main-loop-get-tic">ags_main_loop_get_tic</link>, function in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-loop-set-async-queue"><link linkend="ags-main-loop-set-async-queue">ags_main_loop_set_async_queue</link>, function in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-loop-set-last-sync"><link linkend="ags-main-loop-set-last-sync">ags_main_loop_set_last_sync</link>, function in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-loop-set-tic"><link linkend="ags-main-loop-set-tic">ags_main_loop_set_tic</link>, function in <link linkend="ags-AgsMainLoop">AgsMainLoop</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-new"><link linkend="ags-main-new">ags_main_new</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-quit"><link linkend="ags-main-quit">ags_main_quit</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-register-machine-type"><link linkend="ags-main-register-machine-type">ags_main_register_machine_type</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-register-recall-type"><link linkend="ags-main-register-recall-type">ags_main_register_recall_type</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-register-task-type"><link linkend="ags-main-register-task-type">ags_main_register_task_type</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-register-thread-type"><link linkend="ags-main-register-thread-type">ags_main_register_thread_type</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-main-register-widget-type"><link linkend="ags-main-register-widget-type">ags_main_register_widget_type</link>, function in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMatrix"><link linkend="AgsMatrix">AgsMatrix</link>, struct in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMatrixClass"><link linkend="AgsMatrixClass">AgsMatrixClass</link>, struct in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-adjustment-value-changed-callback"><link linkend="ags-matrix-adjustment-value-changed-callback">ags_matrix_adjustment_value_changed_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-bpm-callback"><link linkend="ags-matrix-bpm-callback">ags_matrix_bpm_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MATRIX-CELL-HEIGHT:CAPS"><link linkend="AGS-MATRIX-CELL-HEIGHT:CAPS">AGS_MATRIX_CELL_HEIGHT</link>, macro in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MATRIX-CELL-WIDTH:CAPS"><link linkend="AGS-MATRIX-CELL-WIDTH:CAPS">AGS_MATRIX_CELL_WIDTH</link>, macro in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-done-callback"><link linkend="ags-matrix-done-callback">ags_matrix_done_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-drawing-area-button-press-callback"><link linkend="ags-matrix-drawing-area-button-press-callback">ags_matrix_drawing_area_button_press_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-drawing-area-expose-callback"><link linkend="ags-matrix-drawing-area-expose-callback">ags_matrix_drawing_area_expose_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-draw-gutter"><link linkend="ags-matrix-draw-gutter">ags_matrix_draw_gutter</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-draw-matrix"><link linkend="ags-matrix-draw-matrix">ags_matrix_draw_matrix</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-highlight-gutter-point"><link linkend="ags-matrix-highlight-gutter-point">ags_matrix_highlight_gutter_point</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-index-callback"><link linkend="ags-matrix-index-callback">ags_matrix_index_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-input-map-recall"><link linkend="ags-matrix-input-map-recall">ags_matrix_input_map_recall</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-length-spin-callback"><link linkend="ags-matrix-length-spin-callback">ags_matrix_length_spin_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-loop-button-callback"><link linkend="ags-matrix-loop-button-callback">ags_matrix_loop_button_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-new"><link linkend="ags-matrix-new">ags_matrix_new</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MATRIX-OCTAVE:CAPS"><link linkend="AGS-MATRIX-OCTAVE:CAPS">AGS_MATRIX_OCTAVE</link>, macro in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-output-map-recall"><link linkend="ags-matrix-output-map-recall">ags_matrix_output_map_recall</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-parent-set-callback"><link linkend="ags-matrix-parent-set-callback">ags_matrix_parent_set_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MATRIX-PATTERN-CONTROLS:CAPS"><link linkend="AGS-MATRIX-PATTERN-CONTROLS:CAPS">AGS_MATRIX_PATTERN_CONTROLS</link>, macro in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-redraw-gutter-point"><link linkend="ags-matrix-redraw-gutter-point">ags_matrix_redraw_gutter_point</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-tact-callback"><link linkend="ags-matrix-tact-callback">ags_matrix_tact_callback</link>, function in <link linkend="ags-ags-matrix-callbacks">ags_matrix_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-matrix-unpaint-gutter-point"><link linkend="ags-matrix-unpaint-gutter-point">ags_matrix_unpaint_gutter_point</link>, function in <link linkend="ags-AgsMatrix">AgsMatrix</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMenu"><link linkend="AgsMenu">AgsMenu</link>, struct in <link linkend="ags-AgsMenu">AgsMenu</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMenuBar"><link linkend="AgsMenuBar">AgsMenuBar</link>, struct in <link linkend="ags-AgsMenuBar">AgsMenuBar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMenuBarClass"><link linkend="AgsMenuBarClass">AgsMenuBarClass</link>, struct in <link linkend="ags-AgsMenuBar">AgsMenuBar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMenuClass"><link linkend="AgsMenuClass">AgsMenuClass</link>, struct in <link linkend="ags-AgsMenu">AgsMenu</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMenuItem"><link linkend="AgsMenuItem">AgsMenuItem</link>, struct in <link linkend="ags-AgsMenuItem">AgsMenuItem</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMenuItemClass"><link linkend="AgsMenuItemClass">AgsMenuItemClass</link>, struct in <link linkend="ags-AgsMenuItem">AgsMenuItem</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-about-callback"><link linkend="ags-menu-bar-about-callback">ags_menu_bar_about_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-add-callback"><link linkend="ags-menu-bar-add-callback">ags_menu_bar_add_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-add-drum-callback"><link linkend="ags-menu-bar-add-drum-callback">ags_menu_bar_add_drum_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-add-ffplayer-callback"><link linkend="ags-menu-bar-add-ffplayer-callback">ags_menu_bar_add_ffplayer_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-add-matrix-callback"><link linkend="ags-menu-bar-add-matrix-callback">ags_menu_bar_add_matrix_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-add-mixer-callback"><link linkend="ags-menu-bar-add-mixer-callback">ags_menu_bar_add_mixer_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-add-panel-callback"><link linkend="ags-menu-bar-add-panel-callback">ags_menu_bar_add_panel_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-add-synth-callback"><link linkend="ags-menu-bar-add-synth-callback">ags_menu_bar_add_synth_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-destroy-callback"><link linkend="ags-menu-bar-destroy-callback">ags_menu_bar_destroy_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-export-callback"><link linkend="ags-menu-bar-export-callback">ags_menu_bar_export_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-new"><link linkend="ags-menu-bar-new">ags_menu_bar_new</link>, function in <link linkend="ags-AgsMenuBar">AgsMenuBar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-open-callback"><link linkend="ags-menu-bar-open-callback">ags_menu_bar_open_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-preferences-callback"><link linkend="ags-menu-bar-preferences-callback">ags_menu_bar_preferences_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-quit-callback"><link linkend="ags-menu-bar-quit-callback">ags_menu_bar_quit_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-remove-callback"><link linkend="ags-menu-bar-remove-callback">ags_menu_bar_remove_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-save-as-callback"><link linkend="ags-menu-bar-save-as-callback">ags_menu_bar_save_as_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-save-callback"><link linkend="ags-menu-bar-save-callback">ags_menu_bar_save_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-bar-show-callback"><link linkend="ags-menu-bar-show-callback">ags_menu_bar_show_callback</link>, function in <link linkend="ags-ags-menu-bar-callbacks">ags_menu_bar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-item-new"><link linkend="ags-menu-item-new">ags_menu_item_new</link>, function in <link linkend="ags-AgsMenuItem">AgsMenuItem</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-menu-new"><link linkend="ags-menu-new">ags_menu_new</link>, function in <link linkend="ags-AgsMenu">AgsMenu</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMeter"><link linkend="AgsMeter">AgsMeter</link>, struct in <link linkend="ags-AgsMeter">AgsMeter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMeterClass"><link linkend="AgsMeterClass">AgsMeterClass</link>, struct in <link linkend="ags-AgsMeter">AgsMeter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-meter-configure-event"><link linkend="ags-meter-configure-event">ags_meter_configure_event</link>, function in <link linkend="ags-ags-meter-callbacks">ags_meter_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-meter-destroy-callback"><link linkend="ags-meter-destroy-callback">ags_meter_destroy_callback</link>, function in <link linkend="ags-ags-meter-callbacks">ags_meter_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-meter-expose-event"><link linkend="ags-meter-expose-event">ags_meter_expose_event</link>, function in <link linkend="ags-ags-meter-callbacks">ags_meter_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-meter-new"><link linkend="ags-meter-new">ags_meter_new</link>, function in <link linkend="ags-AgsMeter">AgsMeter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-meter-paint"><link linkend="ags-meter-paint">ags_meter_paint</link>, function in <link linkend="ags-AgsMeter">AgsMeter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-meter-show-callback"><link linkend="ags-meter-show-callback">ags_meter_show_callback</link>, function in <link linkend="ags-ags-meter-callbacks">ags_meter_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-meter-sound-string"><link linkend="ags-meter-sound-string">ags_meter_sound_string</link>, function in <link linkend="ags-AgsMeter">AgsMeter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-MICROSECONDS-PER-SECOND:CAPS"><link linkend="AGS-MICROSECONDS-PER-SECOND:CAPS">AGS_MICROSECONDS_PER_SECOND</link>, macro in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMixer"><link linkend="AgsMixer">AgsMixer</link>, struct in <link linkend="ags-AgsMixer">AgsMixer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMixerClass"><link linkend="AgsMixerClass">AgsMixerClass</link>, struct in <link linkend="ags-AgsMixer">AgsMixer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMixerInputLine"><link linkend="AgsMixerInputLine">AgsMixerInputLine</link>, struct in <link linkend="ags-AgsMixerInputLine">AgsMixerInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMixerInputLineClass"><link linkend="AgsMixerInputLineClass">AgsMixerInputLineClass</link>, struct in <link linkend="ags-AgsMixerInputLine">AgsMixerInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMixerInputPad"><link linkend="AgsMixerInputPad">AgsMixerInputPad</link>, struct in <link linkend="ags-AgsMixerInputPad">AgsMixerInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMixerInputPadClass"><link linkend="AgsMixerInputPadClass">AgsMixerInputPadClass</link>, struct in <link linkend="ags-AgsMixerInputPad">AgsMixerInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mixer-input-line-map-recall"><link linkend="ags-mixer-input-line-map-recall">ags_mixer_input_line_map_recall</link>, function in <link linkend="ags-AgsMixerInputLine">AgsMixerInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mixer-input-line-new"><link linkend="ags-mixer-input-line-new">ags_mixer_input_line_new</link>, function in <link linkend="ags-AgsMixerInputLine">AgsMixerInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mixer-input-pad-new"><link linkend="ags-mixer-input-pad-new">ags_mixer_input_pad_new</link>, function in <link linkend="ags-AgsMixerInputPad">AgsMixerInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mixer-new"><link linkend="ags-mixer-new">ags_mixer_new</link>, function in <link linkend="ags-AgsMixer">AgsMixer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mixer-parent-set-callback"><link linkend="ags-mixer-parent-set-callback">ags_mixer_parent_set_callback</link>, function in <link linkend="ags-ags-mixer-callbacks">ags_mixer_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="MSEC-PER-SEC:CAPS"><link linkend="MSEC-PER-SEC:CAPS">MSEC_PER_SEC</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMutable"><link linkend="AgsMutable">AgsMutable</link>, typedef in <link linkend="ags-AgsMutable">AgsMutable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMutableInterface"><link linkend="AgsMutableInterface">AgsMutableInterface</link>, struct in <link linkend="ags-AgsMutable">AgsMutable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mutable-set-muted"><link linkend="ags-mutable-set-muted">ags_mutable_set_muted</link>, function in <link linkend="ags-AgsMutable">AgsMutable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteAudio"><link linkend="AgsMuteAudio">AgsMuteAudio</link>, struct in <link linkend="ags-AgsMuteAudio">AgsMuteAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteAudioClass"><link linkend="AgsMuteAudioClass">AgsMuteAudioClass</link>, struct in <link linkend="ags-AgsMuteAudio">AgsMuteAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteAudioSignal"><link linkend="AgsMuteAudioSignal">AgsMuteAudioSignal</link>, struct in <link linkend="ags-AgsMuteAudioSignal">AgsMuteAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteAudioSignalClass"><link linkend="AgsMuteAudioSignalClass">AgsMuteAudioSignalClass</link>, struct in <link linkend="ags-AgsMuteAudioSignal">AgsMuteAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteChannel"><link linkend="AgsMuteChannel">AgsMuteChannel</link>, struct in <link linkend="ags-AgsMuteChannel">AgsMuteChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteChannelClass"><link linkend="AgsMuteChannelClass">AgsMuteChannelClass</link>, struct in <link linkend="ags-AgsMuteChannel">AgsMuteChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteChannelRun"><link linkend="AgsMuteChannelRun">AgsMuteChannelRun</link>, struct in <link linkend="ags-AgsMuteChannelRun">AgsMuteChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteChannelRunClass"><link linkend="AgsMuteChannelRunClass">AgsMuteChannelRunClass</link>, struct in <link linkend="ags-AgsMuteChannelRun">AgsMuteChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteRecycling"><link linkend="AgsMuteRecycling">AgsMuteRecycling</link>, struct in <link linkend="ags-AgsMuteRecycling">AgsMuteRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsMuteRecyclingClass"><link linkend="AgsMuteRecyclingClass">AgsMuteRecyclingClass</link>, struct in <link linkend="ags-AgsMuteRecycling">AgsMuteRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mute-audio-new"><link linkend="ags-mute-audio-new">ags_mute_audio_new</link>, function in <link linkend="ags-AgsMuteAudio">AgsMuteAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mute-audio-signal-new"><link linkend="ags-mute-audio-signal-new">ags_mute_audio_signal_new</link>, function in <link linkend="ags-AgsMuteAudioSignal">AgsMuteAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mute-channel-new"><link linkend="ags-mute-channel-new">ags_mute_channel_new</link>, function in <link linkend="ags-AgsMuteChannel">AgsMuteChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mute-channel-run-new"><link linkend="ags-mute-channel-run-new">ags_mute_channel_run_new</link>, function in <link linkend="ags-AgsMuteChannelRun">AgsMuteChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-mute-recycling-new"><link linkend="ags-mute-recycling-new">ags_mute_recycling_new</link>, function in <link linkend="ags-AgsMuteRecycling">AgsMuteRecycling</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>N</title>
+<indexentry><primaryie linkends="AgsNavigation"><link linkend="AgsNavigation">AgsNavigation</link>, struct in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNavigationClass"><link linkend="AgsNavigationClass">AgsNavigationClass</link>, struct in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNavigationFlags"><link linkend="AgsNavigationFlags">AgsNavigationFlags</link>, enum in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-bpm-callback"><link linkend="ags-navigation-bpm-callback">ags_navigation_bpm_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-change-position"><link linkend="ags-navigation-change-position">ags_navigation_change_position</link>, function in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NAVIGATION-DEFAULT-TACT-STEP:CAPS"><link linkend="AGS-NAVIGATION-DEFAULT-TACT-STEP:CAPS">AGS_NAVIGATION_DEFAULT_TACT_STEP</link>, macro in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-destroy-callback"><link linkend="ags-navigation-destroy-callback">ags_navigation_destroy_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-duration-tact-callback"><link linkend="ags-navigation-duration-tact-callback">ags_navigation_duration_tact_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-expander-callback"><link linkend="ags-navigation-expander-callback">ags_navigation_expander_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-forward-callback"><link linkend="ags-navigation-forward-callback">ags_navigation_forward_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-loop-callback"><link linkend="ags-navigation-loop-callback">ags_navigation_loop_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-loop-left-tact-callback"><link linkend="ags-navigation-loop-left-tact-callback">ags_navigation_loop_left_tact_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-loop-right-tact-callback"><link linkend="ags-navigation-loop-right-tact-callback">ags_navigation_loop_right_tact_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-new"><link linkend="ags-navigation-new">ags_navigation_new</link>, function in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-next-callback"><link linkend="ags-navigation-next-callback">ags_navigation_next_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-parent-set-callback"><link linkend="ags-navigation-parent-set-callback">ags_navigation_parent_set_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-play-callback"><link linkend="ags-navigation-play-callback">ags_navigation_play_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-position-tact-callback"><link linkend="ags-navigation-position-tact-callback">ags_navigation_position_tact_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-prev-callback"><link linkend="ags-navigation-prev-callback">ags_navigation_prev_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-raster-callback"><link linkend="ags-navigation-raster-callback">ags_navigation_raster_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-rewind-callback"><link linkend="ags-navigation-rewind-callback">ags_navigation_rewind_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NAVIGATION-REWIND-STEPS:CAPS"><link linkend="AGS-NAVIGATION-REWIND-STEPS:CAPS">AGS_NAVIGATION_REWIND_STEPS</link>, macro in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NAVIGATION-SEEK-STEPS:CAPS"><link linkend="AGS-NAVIGATION-SEEK-STEPS:CAPS">AGS_NAVIGATION_SEEK_STEPS</link>, macro in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-set-seeking-sensitive"><link linkend="ags-navigation-set-seeking-sensitive">ags_navigation_set_seeking_sensitive</link>, function in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-show-callback"><link linkend="ags-navigation-show-callback">ags_navigation_show_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-stop-callback"><link linkend="ags-navigation-stop-callback">ags_navigation_stop_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-tact-to-time-string"><link linkend="ags-navigation-tact-to-time-string">ags_navigation_tact_to_time_string</link>, function in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-tic-callback"><link linkend="ags-navigation-tic-callback">ags_navigation_tic_callback</link>, function in <link linkend="ags-ags-navigation-callbacks">ags_navigation_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-navigation-update-time-string"><link linkend="ags-navigation-update-time-string">ags_navigation_update_time_string</link>, function in <link linkend="ags-AgsNavigation">AgsNavigation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNotation"><link linkend="AgsNotation">AgsNotation</link>, struct in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNotationClass"><link linkend="AgsNotationClass">AgsNotationClass</link>, struct in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNotationFlags"><link linkend="AgsNotationFlags">AgsNotationFlags</link>, enum in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-add-note"><link linkend="ags-notation-add-note">ags_notation_add_note</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-add-point-to-selection"><link linkend="ags-notation-add-point-to-selection">ags_notation_add_point_to_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-add-region-to-selection"><link linkend="ags-notation-add-region-to-selection">ags_notation_add_region_to_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-copy-selection"><link linkend="ags-notation-copy-selection">ags_notation_copy_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-cut-selection"><link linkend="ags-notation-cut-selection">ags_notation_cut_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTATION-DEFAULT-BPM:CAPS"><link linkend="AGS-NOTATION-DEFAULT-BPM:CAPS">AGS_NOTATION_DEFAULT_BPM</link>, macro in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTATION-DEFAULT-DURATION:CAPS"><link linkend="AGS-NOTATION-DEFAULT-DURATION:CAPS">AGS_NOTATION_DEFAULT_DURATION</link>, macro in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTATION-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-NOTATION-DEFAULT-JIFFIE:CAPS">AGS_NOTATION_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTATION-DEFAULT-LENGTH:CAPS"><link linkend="AGS-NOTATION-DEFAULT-LENGTH:CAPS">AGS_NOTATION_DEFAULT_LENGTH</link>, macro in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-find-near-timestamp"><link linkend="ags-notation-find-near-timestamp">ags_notation_find_near_timestamp</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-find-point"><link linkend="ags-notation-find-point">ags_notation_find_point</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-find-region"><link linkend="ags-notation-find-region">ags_notation_find_region</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-free-selection"><link linkend="ags-notation-free-selection">ags_notation_free_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-get-current"><link linkend="ags-notation-get-current">ags_notation_get_current</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-get-selection"><link linkend="ags-notation-get-selection">ags_notation_get_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-insert-from-clipboard"><link linkend="ags-notation-insert-from-clipboard">ags_notation_insert_from_clipboard</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-is-note-selected"><link linkend="ags-notation-is-note-selected">ags_notation_is_note_selected</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTATION-MAXIMUM-NOTE-LENGTH:CAPS"><link linkend="AGS-NOTATION-MAXIMUM-NOTE-LENGTH:CAPS">AGS_NOTATION_MAXIMUM_NOTE_LENGTH</link>, macro in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTATION-MINIMUM-NOTE-LENGTH:CAPS"><link linkend="AGS-NOTATION-MINIMUM-NOTE-LENGTH:CAPS">AGS_NOTATION_MINIMUM_NOTE_LENGTH</link>, macro in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-new"><link linkend="ags-notation-new">ags_notation_new</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-remove-note-at-position"><link linkend="ags-notation-remove-note-at-position">ags_notation_remove_note_at_position</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-remove-point-from-selection"><link linkend="ags-notation-remove-point-from-selection">ags_notation_remove_point_from_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notation-remove-region-from-selection"><link linkend="ags-notation-remove-region-from-selection">ags_notation_remove_region_from_selection</link>, function in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTATION-TICS-PER-BEAT:CAPS"><link linkend="AGS-NOTATION-TICS-PER-BEAT:CAPS">AGS_NOTATION_TICS_PER_BEAT</link>, macro in <link linkend="ags-AgsNotation">AgsNotation</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNote"><link linkend="AgsNote">AgsNote</link>, struct in <link linkend="ags-AgsNote">AgsNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNotebook"><link linkend="AgsNotebook">AgsNotebook</link>, struct in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNotebookClass"><link linkend="AgsNotebookClass">AgsNotebookClass</link>, struct in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNotebookTab"><link linkend="AgsNotebookTab">AgsNotebookTab</link>, struct in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNotebookTabFlags"><link linkend="AgsNotebookTabFlags">AgsNotebookTabFlags</link>, enum in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-add-child"><link linkend="ags-notebook-add-child">ags_notebook_add_child</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-add-tab"><link linkend="ags-notebook-add-tab">ags_notebook_add_tab</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-insert-tab"><link linkend="ags-notebook-insert-tab">ags_notebook_insert_tab</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-machine-changed-callback"><link linkend="ags-notebook-machine-changed-callback">ags_notebook_machine_changed_callback</link>, function in <link linkend="ags-ags-notebook-callbacks">ags_notebook_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-new"><link linkend="ags-notebook-new">ags_notebook_new</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-next-active-tab"><link linkend="ags-notebook-next-active-tab">ags_notebook_next_active_tab</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-remove-child"><link linkend="ags-notebook-remove-child">ags_notebook_remove_child</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-remove-tab"><link linkend="ags-notebook-remove-tab">ags_notebook_remove_tab</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTEBOOK-TAB:CAPS"><link linkend="AGS-NOTEBOOK-TAB:CAPS">AGS_NOTEBOOK_TAB</link>, macro in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-notebook-tab-index"><link linkend="ags-notebook-tab-index">ags_notebook_tab_index</link>, function in <link linkend="ags-AgsNotebook">AgsNotebook</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNoteClass"><link linkend="AgsNoteClass">AgsNoteClass</link>, struct in <link linkend="ags-AgsNote">AgsNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNoteEdit"><link linkend="AgsNoteEdit">AgsNoteEdit</link>, struct in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNoteEditClass"><link linkend="AgsNoteEditClass">AgsNoteEditClass</link>, struct in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNoteEditFlags"><link linkend="AgsNoteEditFlags">AgsNoteEditFlags</link>, enum in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNoteEditResetFlags"><link linkend="AgsNoteEditResetFlags">AgsNoteEditResetFlags</link>, enum in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsNoteFlags"><link linkend="AgsNoteFlags">AgsNoteFlags</link>, enum in <link linkend="ags-AgsNote">AgsNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-duplicate"><link linkend="ags-note-duplicate">ags_note_duplicate</link>, function in <link linkend="ags-AgsNote">AgsNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-drawing-area-button-press-event"><link linkend="ags-note-edit-drawing-area-button-press-event">ags_note_edit_drawing_area_button_press_event</link>, function in <link linkend="ags-ags-note-edit-callbacks">ags_note_edit_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-drawing-area-button-release-event"><link linkend="ags-note-edit-drawing-area-button-release-event">ags_note_edit_drawing_area_button_release_event</link>, function in <link linkend="ags-ags-note-edit-callbacks">ags_note_edit_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-drawing-area-configure-event"><link linkend="ags-note-edit-drawing-area-configure-event">ags_note_edit_drawing_area_configure_event</link>, function in <link linkend="ags-ags-note-edit-callbacks">ags_note_edit_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-drawing-area-expose-event"><link linkend="ags-note-edit-drawing-area-expose-event">ags_note_edit_drawing_area_expose_event</link>, function in <link linkend="ags-ags-note-edit-callbacks">ags_note_edit_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-drawing-area-motion-notify-event"><link linkend="ags-note-edit-drawing-area-motion-notify-event">ags_note_edit_drawing_area_motion_notify_event</link>, function in <link linkend="ags-ags-note-edit-callbacks">ags_note_edit_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-draw-notation"><link linkend="ags-note-edit-draw-notation">ags_note_edit_draw_notation</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-draw-position"><link linkend="ags-note-edit-draw-position">ags_note_edit_draw_position</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-draw-scroll"><link linkend="ags-note-edit-draw-scroll">ags_note_edit_draw_scroll</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-draw-segment"><link linkend="ags-note-edit-draw-segment">ags_note_edit_draw_segment</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-hscrollbar-value-changed"><link linkend="ags-note-edit-hscrollbar-value-changed">ags_note_edit_hscrollbar_value_changed</link>, function in <link linkend="ags-ags-note-edit-callbacks">ags_note_edit_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-NOTE-EDIT-MAX-CONTROLS:CAPS"><link linkend="AGS-NOTE-EDIT-MAX-CONTROLS:CAPS">AGS_NOTE_EDIT_MAX_CONTROLS</link>, macro in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-new"><link linkend="ags-note-edit-new">ags_note_edit_new</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-reset-horizontally"><link linkend="ags-note-edit-reset-horizontally">ags_note_edit_reset_horizontally</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-reset-vertically"><link linkend="ags-note-edit-reset-vertically">ags_note_edit_reset_vertically</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-set-map-height"><link linkend="ags-note-edit-set-map-height">ags_note_edit_set_map_height</link>, function in <link linkend="ags-AgsNoteEdit">AgsNoteEdit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-edit-vscrollbar-value-changed"><link linkend="ags-note-edit-vscrollbar-value-changed">ags_note_edit_vscrollbar_value_changed</link>, function in <link linkend="ags-ags-note-edit-callbacks">ags_note_edit_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-note-new"><link linkend="ags-note-new">ags_note_new</link>, function in <link linkend="ags-AgsNote">AgsNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="NSEC-PER-SEC:CAPS"><link linkend="NSEC-PER-SEC:CAPS">NSEC_PER_SEC</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>O</title>
+<indexentry><primaryie linkends="AgsOpenFile"><link linkend="AgsOpenFile">AgsOpenFile</link>, struct in <link linkend="ags-AgsOpenFile">AgsOpenFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOpenFileClass"><link linkend="AgsOpenFileClass">AgsOpenFileClass</link>, struct in <link linkend="ags-AgsOpenFile">AgsOpenFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOpenSingleFile"><link linkend="AgsOpenSingleFile">AgsOpenSingleFile</link>, struct in <link linkend="ags-AgsOpenSingleFile">AgsOpenSingleFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOpenSingleFileClass"><link linkend="AgsOpenSingleFileClass">AgsOpenSingleFileClass</link>, struct in <link linkend="ags-AgsOpenSingleFile">AgsOpenSingleFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-open-file-new"><link linkend="ags-open-file-new">ags_open_file_new</link>, function in <link linkend="ags-AgsOpenFile">AgsOpenFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-open-single-file-new"><link linkend="ags-open-single-file-new">ags_open_single_file_new</link>, function in <link linkend="ags-AgsOpenSingleFile">AgsOpenSingleFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOptionMenu"><link linkend="AgsOptionMenu">AgsOptionMenu</link>, struct in <link linkend="ags-AgsOptionMenu">AgsOptionMenu</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOptionMenuClass"><link linkend="AgsOptionMenuClass">AgsOptionMenuClass</link>, struct in <link linkend="ags-AgsOptionMenu">AgsOptionMenu</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-option-menu-new"><link linkend="ags-option-menu-new">ags_option_menu_new</link>, function in <link linkend="ags-AgsOptionMenu">AgsOptionMenu</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOscillator"><link linkend="AgsOscillator">AgsOscillator</link>, struct in <link linkend="ags-AgsOscillator">AgsOscillator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOscillatorClass"><link linkend="AgsOscillatorClass">AgsOscillatorClass</link>, struct in <link linkend="ags-AgsOscillator">AgsOscillator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-oscillator-attack-callback"><link linkend="ags-oscillator-attack-callback">ags_oscillator_attack_callback</link>, function in <link linkend="ags-ags-oscillator-callbacks">ags_oscillator_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-oscillator-frame-count-callback"><link linkend="ags-oscillator-frame-count-callback">ags_oscillator_frame_count_callback</link>, function in <link linkend="ags-ags-oscillator-callbacks">ags_oscillator_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-oscillator-frequency-callback"><link linkend="ags-oscillator-frequency-callback">ags_oscillator_frequency_callback</link>, function in <link linkend="ags-ags-oscillator-callbacks">ags_oscillator_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-oscillator-new"><link linkend="ags-oscillator-new">ags_oscillator_new</link>, function in <link linkend="ags-AgsOscillator">AgsOscillator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-oscillator-phase-callback"><link linkend="ags-oscillator-phase-callback">ags_oscillator_phase_callback</link>, function in <link linkend="ags-ags-oscillator-callbacks">ags_oscillator_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-oscillator-volume-callback"><link linkend="ags-oscillator-volume-callback">ags_oscillator_volume_callback</link>, function in <link linkend="ags-ags-oscillator-callbacks">ags_oscillator_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-oscillator-wave-callback"><link linkend="ags-oscillator-wave-callback">ags_oscillator_wave_callback</link>, function in <link linkend="ags-ags-oscillator-callbacks">ags_oscillator_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOutput"><link linkend="AgsOutput">AgsOutput</link>, struct in <link linkend="ags-AgsOutput">AgsOutput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsOutputClass"><link linkend="AgsOutputClass">AgsOutputClass</link>, struct in <link linkend="ags-AgsOutput">AgsOutput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-output-find-first-input-recycling"><link linkend="ags-output-find-first-input-recycling">ags_output_find_first_input_recycling</link>, function in <link linkend="ags-AgsOutput">AgsOutput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-output-find-last-input-recycling"><link linkend="ags-output-find-last-input-recycling">ags_output_find_last_input_recycling</link>, function in <link linkend="ags-AgsOutput">AgsOutput</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-output-new"><link linkend="ags-output-new">ags_output_new</link>, function in <link linkend="ags-AgsOutput">AgsOutput</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>P</title>
+<indexentry><primaryie linkends="AgsPackable"><link linkend="AgsPackable">AgsPackable</link>, typedef in <link linkend="ags-AgsPackable">AgsPackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPackableInterface"><link linkend="AgsPackableInterface">AgsPackableInterface</link>, struct in <link linkend="ags-AgsPackable">AgsPackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-packable-pack"><link linkend="ags-packable-pack">ags_packable_pack</link>, function in <link linkend="ags-AgsPackable">AgsPackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-packable-unpack"><link linkend="ags-packable-unpack">ags_packable_unpack</link>, function in <link linkend="ags-AgsPackable">AgsPackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPad"><link linkend="AgsPad">AgsPad</link>, struct in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPadClass"><link linkend="AgsPadClass">AgsPadClass</link>, struct in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPadEditor"><link linkend="AgsPadEditor">AgsPadEditor</link>, struct in <link linkend="ags-AgsPadEditor">AgsPadEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPadEditorClass"><link linkend="AgsPadEditorClass">AgsPadEditorClass</link>, struct in <link linkend="ags-AgsPadEditor">AgsPadEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPadFlags"><link linkend="AgsPadFlags">AgsPadFlags</link>, enum in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PAD-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-PAD-DEFAULT-BUILD-ID:CAPS">AGS_PAD_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PAD-DEFAULT-VERSION:CAPS"><link linkend="AGS-PAD-DEFAULT-VERSION:CAPS">AGS_PAD_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-destroy-callback"><link linkend="ags-pad-destroy-callback">ags_pad_destroy_callback</link>, function in <link linkend="ags-ags-pad-callbacks">ags_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PAD-EDITOR-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-PAD-EDITOR-DEFAULT-BUILD-ID:CAPS">AGS_PAD_EDITOR_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsPadEditor">AgsPadEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PAD-EDITOR-DEFAULT-VERSION:CAPS"><link linkend="AGS-PAD-EDITOR-DEFAULT-VERSION:CAPS">AGS_PAD_EDITOR_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsPadEditor">AgsPadEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-editor-destroy-callback"><link linkend="ags-pad-editor-destroy-callback">ags_pad_editor_destroy_callback</link>, function in <link linkend="ags-ags-pad-editor-callbacks">ags_pad_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-editor-new"><link linkend="ags-pad-editor-new">ags_pad_editor_new</link>, function in <link linkend="ags-AgsPadEditor">AgsPadEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-editor-parent-set-callback"><link linkend="ags-pad-editor-parent-set-callback">ags_pad_editor_parent_set_callback</link>, function in <link linkend="ags-ags-pad-editor-callbacks">ags_pad_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-editor-set-audio-channels-callback"><link linkend="ags-pad-editor-set-audio-channels-callback">ags_pad_editor_set_audio_channels_callback</link>, function in <link linkend="ags-ags-pad-editor-callbacks">ags_pad_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-editor-set-channel"><link linkend="ags-pad-editor-set-channel">ags_pad_editor_set_channel</link>, function in <link linkend="ags-AgsPadEditor">AgsPadEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-editor-show-callback"><link linkend="ags-pad-editor-show-callback">ags_pad_editor_show_callback</link>, function in <link linkend="ags-ags-pad-editor-callbacks">ags_pad_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-find-port"><link linkend="ags-pad-find-port">ags_pad_find_port</link>, function in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-group-clicked-callback"><link linkend="ags-pad-group-clicked-callback">ags_pad_group_clicked_callback</link>, function in <link linkend="ags-ags-pad-callbacks">ags_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-mute-clicked-callback"><link linkend="ags-pad-mute-clicked-callback">ags_pad_mute_clicked_callback</link>, function in <link linkend="ags-ags-pad-callbacks">ags_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-new"><link linkend="ags-pad-new">ags_pad_new</link>, function in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-option-changed-callback"><link linkend="ags-pad-option-changed-callback">ags_pad_option_changed_callback</link>, function in <link linkend="ags-ags-pad-callbacks">ags_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-parent-set-callback"><link linkend="ags-pad-parent-set-callback">ags_pad_parent_set_callback</link>, function in <link linkend="ags-ags-pad-callbacks">ags_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-resize-lines"><link linkend="ags-pad-resize-lines">ags_pad_resize_lines</link>, function in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-set-channel"><link linkend="ags-pad-set-channel">ags_pad_set_channel</link>, function in <link linkend="ags-AgsPad">AgsPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-show-callback"><link linkend="ags-pad-show-callback">ags_pad_show_callback</link>, function in <link linkend="ags-ags-pad-callbacks">ags_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pad-solo-clicked-callback"><link linkend="ags-pad-solo-clicked-callback">ags_pad_solo_clicked_callback</link>, function in <link linkend="ags-ags-pad-callbacks">ags_pad_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPanel"><link linkend="AgsPanel">AgsPanel</link>, struct in <link linkend="ags-AgsPanel">AgsPanel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPanelClass"><link linkend="AgsPanelClass">AgsPanelClass</link>, struct in <link linkend="ags-AgsPanel">AgsPanel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPanelInputLine"><link linkend="AgsPanelInputLine">AgsPanelInputLine</link>, struct in <link linkend="ags-AgsPanelInputLine">AgsPanelInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPanelInputLineClass"><link linkend="AgsPanelInputLineClass">AgsPanelInputLineClass</link>, struct in <link linkend="ags-AgsPanelInputLine">AgsPanelInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPanelInputPad"><link linkend="AgsPanelInputPad">AgsPanelInputPad</link>, struct in <link linkend="ags-AgsPanelInputPad">AgsPanelInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPanelInputPadClass"><link linkend="AgsPanelInputPadClass">AgsPanelInputPadClass</link>, struct in <link linkend="ags-AgsPanelInputPad">AgsPanelInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-panel-input-line-map-recall"><link linkend="ags-panel-input-line-map-recall">ags_panel_input_line_map_recall</link>, function in <link linkend="ags-AgsPanelInputLine">AgsPanelInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-panel-input-line-new"><link linkend="ags-panel-input-line-new">ags_panel_input_line_new</link>, function in <link linkend="ags-AgsPanelInputLine">AgsPanelInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-panel-input-pad-new"><link linkend="ags-panel-input-pad-new">ags_panel_input_pad_new</link>, function in <link linkend="ags-AgsPanelInputPad">AgsPanelInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-panel-new"><link linkend="ags-panel-new">ags_panel_new</link>, function in <link linkend="ags-AgsPanel">AgsPanel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-panel-parent-set-callback"><link linkend="ags-panel-parent-set-callback">ags_panel_parent_set_callback</link>, function in <link linkend="ags-ags-panel-callbacks">ags_panel_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-parameter-grow"><link linkend="ags-parameter-grow">ags_parameter_grow</link>, function in <link linkend="ags-ags-parameter">ags_parameter</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPattern"><link linkend="AgsPattern">AgsPattern</link>, struct in <link linkend="ags-AgsPattern">AgsPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPatternClass"><link linkend="AgsPatternClass">AgsPatternClass</link>, struct in <link linkend="ags-AgsPattern">AgsPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pattern-get-bit"><link linkend="ags-pattern-get-bit">ags_pattern_get_bit</link>, function in <link linkend="ags-AgsPattern">AgsPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pattern-get-by-timestamp"><link linkend="ags-pattern-get-by-timestamp">ags_pattern_get_by_timestamp</link>, function in <link linkend="ags-AgsPattern">AgsPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pattern-new"><link linkend="ags-pattern-new">ags_pattern_new</link>, function in <link linkend="ags-AgsPattern">AgsPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pattern-set-dim"><link linkend="ags-pattern-set-dim">ags_pattern_set_dim</link>, function in <link linkend="ags-AgsPattern">AgsPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-pattern-toggle-bit"><link linkend="ags-pattern-toggle-bit">ags_pattern_toggle_bit</link>, function in <link linkend="ags-AgsPattern">AgsPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPeakChannel"><link linkend="AgsPeakChannel">AgsPeakChannel</link>, struct in <link linkend="ags-AgsPeakChannel">AgsPeakChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPeakChannelClass"><link linkend="AgsPeakChannelClass">AgsPeakChannelClass</link>, struct in <link linkend="ags-AgsPeakChannel">AgsPeakChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPeakChannelRun"><link linkend="AgsPeakChannelRun">AgsPeakChannelRun</link>, struct in <link linkend="ags-AgsPeakChannelRun">AgsPeakChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPeakChannelRunClass"><link linkend="AgsPeakChannelRunClass">AgsPeakChannelRunClass</link>, struct in <link linkend="ags-AgsPeakChannelRun">AgsPeakChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-peak-channel-new"><link linkend="ags-peak-channel-new">ags_peak_channel_new</link>, function in <link linkend="ags-AgsPeakChannel">AgsPeakChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-peak-channel-retrieve-peak"><link linkend="ags-peak-channel-retrieve-peak">ags_peak_channel_retrieve_peak</link>, function in <link linkend="ags-AgsPeakChannel">AgsPeakChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-peak-channel-run-new"><link linkend="ags-peak-channel-run-new">ags_peak_channel_run_new</link>, function in <link linkend="ags-AgsPeakChannelRun">AgsPeakChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPerformancePreferences"><link linkend="AgsPerformancePreferences">AgsPerformancePreferences</link>, struct in <link linkend="ags-AgsPerformancePreferences">AgsPerformancePreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPerformancePreferencesClass"><link linkend="AgsPerformancePreferencesClass">AgsPerformancePreferencesClass</link>, struct in <link linkend="ags-AgsPerformancePreferences">AgsPerformancePreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-performance-preferences-new"><link linkend="ags-performance-preferences-new">ags_performance_preferences_new</link>, function in <link linkend="ags-AgsPerformancePreferences">AgsPerformancePreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPersistable"><link linkend="AgsPersistable">AgsPersistable</link>, typedef in <link linkend="ags-AgsPersistable">AgsPersistable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPersistableInterface"><link linkend="AgsPersistableInterface">AgsPersistableInterface</link>, struct in <link linkend="ags-AgsPersistable">AgsPersistable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-persistable-read"><link linkend="ags-persistable-read">ags_persistable_read</link>, function in <link linkend="ags-AgsPersistable">AgsPersistable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-persistable-read-link"><link linkend="ags-persistable-read-link">ags_persistable_read_link</link>, function in <link linkend="ags-AgsPersistable">AgsPersistable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-persistable-write"><link linkend="ags-persistable-write">ags_persistable_write</link>, function in <link linkend="ags-AgsPersistable">AgsPersistable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-persistable-write-link"><link linkend="ags-persistable-write-link">ags_persistable_write_link</link>, function in <link linkend="ags-AgsPersistable">AgsPersistable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayable"><link linkend="AgsPlayable">AgsPlayable</link>, typedef in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayableError"><link linkend="AgsPlayableError">AgsPlayableError</link>, enum in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayableInterface"><link linkend="AgsPlayableInterface">AgsPlayableInterface</link>, struct in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-close"><link linkend="ags-playable-close">ags_playable_close</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PLAYABLE-ERROR:CAPS"><link linkend="AGS-PLAYABLE-ERROR:CAPS">AGS_PLAYABLE_ERROR</link>, macro in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-error-quark"><link linkend="ags-playable-error-quark">ags_playable_error_quark</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-flush"><link linkend="ags-playable-flush">ags_playable_flush</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-info"><link linkend="ags-playable-info">ags_playable_info</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-iter-next"><link linkend="ags-playable-iter-next">ags_playable_iter_next</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-iter-start"><link linkend="ags-playable-iter-start">ags_playable_iter_start</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-level-count"><link linkend="ags-playable-level-count">ags_playable_level_count</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-level-select"><link linkend="ags-playable-level-select">ags_playable_level_select</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-level-up"><link linkend="ags-playable-level-up">ags_playable_level_up</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-nth-level"><link linkend="ags-playable-nth-level">ags_playable_nth_level</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-open"><link linkend="ags-playable-open">ags_playable_open</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-read"><link linkend="ags-playable-read">ags_playable_read</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-read-audio-signal"><link linkend="ags-playable-read-audio-signal">ags_playable_read_audio_signal</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-rw-open"><link linkend="ags-playable-rw-open">ags_playable_rw_open</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-seek"><link linkend="ags-playable-seek">ags_playable_seek</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-selected-level"><link linkend="ags-playable-selected-level">ags_playable_selected_level</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-sublevel-names"><link linkend="ags-playable-sublevel-names">ags_playable_sublevel_names</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-playable-write"><link linkend="ags-playable-write">ags_playable_write</link>, function in <link linkend="ags-AgsPlayable">AgsPlayable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayAudio"><link linkend="AgsPlayAudio">AgsPlayAudio</link>, struct in <link linkend="ags-AgsPlayAudio">AgsPlayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayAudioClass"><link linkend="AgsPlayAudioClass">AgsPlayAudioClass</link>, struct in <link linkend="ags-AgsPlayAudio">AgsPlayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayAudioFile"><link linkend="AgsPlayAudioFile">AgsPlayAudioFile</link>, struct in <link linkend="ags-AgsPlayAudioFile">AgsPlayAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayAudioFileClass"><link linkend="AgsPlayAudioFileClass">AgsPlayAudioFileClass</link>, struct in <link linkend="ags-AgsPlayAudioFile">AgsPlayAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayAudioSignal"><link linkend="AgsPlayAudioSignal">AgsPlayAudioSignal</link>, struct in <link linkend="ags-AgsPlayAudioSignal">AgsPlayAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayAudioSignalClass"><link linkend="AgsPlayAudioSignalClass">AgsPlayAudioSignalClass</link>, struct in <link linkend="ags-AgsPlayAudioSignal">AgsPlayAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannel"><link linkend="AgsPlayChannel">AgsPlayChannel</link>, struct in <link linkend="ags-AgsPlayChannel">AgsPlayChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelClass"><link linkend="AgsPlayChannelClass">AgsPlayChannelClass</link>, struct in <link linkend="ags-AgsPlayChannel">AgsPlayChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelRun"><link linkend="AgsPlayChannelRun">AgsPlayChannelRun</link>, struct in <link linkend="ags-AgsPlayChannelRun">AgsPlayChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelRunClass"><link linkend="AgsPlayChannelRunClass">AgsPlayChannelRunClass</link>, struct in <link linkend="ags-AgsPlayChannelRun">AgsPlayChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelRunFlags"><link linkend="AgsPlayChannelRunFlags">AgsPlayChannelRunFlags</link>, enum in <link linkend="ags-AgsPlayChannelRun">AgsPlayChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelRunMaster"><link linkend="AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link>, struct in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelRunMasterClass"><link linkend="AgsPlayChannelRunMasterClass">AgsPlayChannelRunMasterClass</link>, struct in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelRunMasterFlags"><link linkend="AgsPlayChannelRunMasterFlags">AgsPlayChannelRunMasterFlags</link>, enum in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayChannelRunMasterStreamer"><link linkend="AgsPlayChannelRunMasterStreamer">AgsPlayChannelRunMasterStreamer</link>, struct in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayNotationAudio"><link linkend="AgsPlayNotationAudio">AgsPlayNotationAudio</link>, struct in <link linkend="ags-AgsPlayNotationAudio">AgsPlayNotationAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayNotationAudioClass"><link linkend="AgsPlayNotationAudioClass">AgsPlayNotationAudioClass</link>, struct in <link linkend="ags-AgsPlayNotationAudio">AgsPlayNotationAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayNotationAudioRun"><link linkend="AgsPlayNotationAudioRun">AgsPlayNotationAudioRun</link>, struct in <link linkend="ags-AgsPlayNotationAudioRun">AgsPlayNotationAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayNotationAudioRunClass"><link linkend="AgsPlayNotationAudioRunClass">AgsPlayNotationAudioRunClass</link>, struct in <link linkend="ags-AgsPlayNotationAudioRun">AgsPlayNotationAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayNotationAudioRunFlags"><link linkend="AgsPlayNotationAudioRunFlags">AgsPlayNotationAudioRunFlags</link>, enum in <link linkend="ags-AgsPlayNotationAudioRun">AgsPlayNotationAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayNote"><link linkend="AgsPlayNote">AgsPlayNote</link>, struct in <link linkend="ags-AgsPlayNote">AgsPlayNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayNoteClass"><link linkend="AgsPlayNoteClass">AgsPlayNoteClass</link>, struct in <link linkend="ags-AgsPlayNote">AgsPlayNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayPattern"><link linkend="AgsPlayPattern">AgsPlayPattern</link>, struct in <link linkend="ags-AgsPlayPattern">AgsPlayPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayPatternClass"><link linkend="AgsPlayPatternClass">AgsPlayPatternClass</link>, struct in <link linkend="ags-AgsPlayPattern">AgsPlayPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayRecycling"><link linkend="AgsPlayRecycling">AgsPlayRecycling</link>, struct in <link linkend="ags-AgsPlayRecycling">AgsPlayRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlayRecyclingClass"><link linkend="AgsPlayRecyclingClass">AgsPlayRecyclingClass</link>, struct in <link linkend="ags-AgsPlayRecycling">AgsPlayRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-audio-file-new"><link linkend="ags-play-audio-file-new">ags_play_audio_file_new</link>, function in <link linkend="ags-AgsPlayAudioFile">AgsPlayAudioFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-audio-new"><link linkend="ags-play-audio-new">ags_play_audio_new</link>, function in <link linkend="ags-AgsPlayAudio">AgsPlayAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-audio-signal-new"><link linkend="ags-play-audio-signal-new">ags_play_audio_signal_new</link>, function in <link linkend="ags-AgsPlayAudioSignal">AgsPlayAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-channel-new"><link linkend="ags-play-channel-new">ags_play_channel_new</link>, function in <link linkend="ags-AgsPlayChannel">AgsPlayChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-channel-run-master-find-streamer"><link linkend="ags-play-channel-run-master-find-streamer">ags_play_channel_run_master_find_streamer</link>, function in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-channel-run-master-new"><link linkend="ags-play-channel-run-master-new">ags_play_channel_run_master_new</link>, function in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PLAY-CHANNEL-RUN-MASTER-STREAMER:CAPS"><link linkend="AGS-PLAY-CHANNEL-RUN-MASTER-STREAMER:CAPS">AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER</link>, macro in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-channel-run-master-streamer-alloc"><link linkend="ags-play-channel-run-master-streamer-alloc">ags_play_channel_run_master_streamer_alloc</link>, function in <link linkend="ags-AgsPlayChannelRunMaster">AgsPlayChannelRunMaster</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-channel-run-new"><link linkend="ags-play-channel-run-new">ags_play_channel_run_new</link>, function in <link linkend="ags-AgsPlayChannelRun">AgsPlayChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-notation-audio-new"><link linkend="ags-play-notation-audio-new">ags_play_notation_audio_new</link>, function in <link linkend="ags-AgsPlayNotationAudio">AgsPlayNotationAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-notation-audio-run-new"><link linkend="ags-play-notation-audio-run-new">ags_play_notation_audio_run_new</link>, function in <link linkend="ags-AgsPlayNotationAudioRun">AgsPlayNotationAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-note-new"><link linkend="ags-play-note-new">ags_play_note_new</link>, function in <link linkend="ags-AgsPlayNote">AgsPlayNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-pattern-connect"><link linkend="ags-play-pattern-connect">ags_play_pattern_connect</link>, function in <link linkend="ags-AgsPlayPattern">AgsPlayPattern</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-play-recycling-new"><link linkend="ags-play-recycling-new">ags_play_recycling_new</link>, function in <link linkend="ags-AgsPlayRecycling">AgsPlayRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPlugin"><link linkend="AgsPlugin">AgsPlugin</link>, typedef in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPluginFactory"><link linkend="AgsPluginFactory">AgsPluginFactory</link>, struct in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPluginFactoryClass"><link linkend="AgsPluginFactoryClass">AgsPluginFactoryClass</link>, struct in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPluginInterface"><link linkend="AgsPluginInterface">AgsPluginInterface</link>, struct in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPluginMetadata"><link linkend="AgsPluginMetadata">AgsPluginMetadata</link>, struct in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPluginPreferences"><link linkend="AgsPluginPreferences">AgsPluginPreferences</link>, struct in <link linkend="ags-AgsPluginPreferences">AgsPluginPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPluginPreferencesClass"><link linkend="AgsPluginPreferencesClass">AgsPluginPreferencesClass</link>, struct in <link linkend="ags-AgsPluginPreferences">AgsPluginPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-factory-add"><link linkend="ags-plugin-factory-add">ags_plugin_factory_add</link>, function in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-factory-create"><link linkend="ags-plugin-factory-create">ags_plugin_factory_create</link>, function in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-factory-get-instance"><link linkend="ags-plugin-factory-get-instance">ags_plugin_factory_get_instance</link>, function in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-factory-list-by-name"><link linkend="ags-plugin-factory-list-by-name">ags_plugin_factory_list_by_name</link>, function in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-factory-new"><link linkend="ags-plugin-factory-new">ags_plugin_factory_new</link>, function in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-factory-new-from-file"><link linkend="ags-plugin-factory-new-from-file">ags_plugin_factory_new_from_file</link>, function in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-factory-read-file"><link linkend="ags-plugin-factory-read-file">ags_plugin_factory_read_file</link>, function in <link linkend="ags-AgsPluginFactory">AgsPluginFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-get-build-id"><link linkend="ags-plugin-get-build-id">ags_plugin_get_build_id</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-get-name"><link linkend="ags-plugin-get-name">ags_plugin_get_name</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-get-ports"><link linkend="ags-plugin-get-ports">ags_plugin_get_ports</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-get-version"><link linkend="ags-plugin-get-version">ags_plugin_get_version</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-get-xml-type"><link linkend="ags-plugin-get-xml-type">ags_plugin_get_xml_type</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PLUGIN-NAME-VOLUME:CAPS"><link linkend="AGS-PLUGIN-NAME-VOLUME:CAPS">AGS_PLUGIN_NAME_VOLUME</link>, macro in <link linkend="ags-ags-plugin-stock">ags_plugin_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-preferences-new"><link linkend="ags-plugin-preferences-new">ags_plugin_preferences_new</link>, function in <link linkend="ags-AgsPluginPreferences">AgsPluginPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-read"><link linkend="ags-plugin-read">ags_plugin_read</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-set-build-id"><link linkend="ags-plugin-set-build-id">ags_plugin_set_build_id</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-set-name"><link linkend="ags-plugin-set-name">ags_plugin_set_name</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-set-ports"><link linkend="ags-plugin-set-ports">ags_plugin_set_ports</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-set-version"><link linkend="ags-plugin-set-version">ags_plugin_set_version</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-set-xml-type"><link linkend="ags-plugin-set-xml-type">ags_plugin_set_xml_type</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-plugin-write"><link linkend="ags-plugin-write">ags_plugin_write</link>, function in <link linkend="ags-AgsPlugin">AgsPlugin</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPort"><link linkend="AgsPort">AgsPort</link>, struct in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPortableThread"><link linkend="AgsPortableThread">AgsPortableThread</link>, struct in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPortableThreadClass"><link linkend="AgsPortableThreadClass">AgsPortableThreadClass</link>, struct in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPortableThreadFlags"><link linkend="AgsPortableThreadFlags">AgsPortableThreadFlags</link>, enum in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-add-child"><link linkend="ags-portable-thread-add-child">ags_portable_thread_add_child</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-children-is-locked"><link linkend="ags-portable-thread-children-is-locked">ags_portable_thread_children_is_locked</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-first"><link linkend="ags-portable-thread-first">ags_portable_thread_first</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-get-toplevel"><link linkend="ags-portable-thread-get-toplevel">ags_portable_thread_get_toplevel</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-is-current-ready"><link linkend="ags-portable-thread-is-current-ready">ags_portable_thread_is_current_ready</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-is-current-synced"><link linkend="ags-portable-thread-is-current-synced">ags_portable_thread_is_current_synced</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-is-tree-ready"><link linkend="ags-portable-thread-is-tree-ready">ags_portable_thread_is_tree_ready</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-is-tree-synced"><link linkend="ags-portable-thread-is-tree-synced">ags_portable_thread_is_tree_synced</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-last"><link linkend="ags-portable-thread-last">ags_portable_thread_last</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-lock"><link linkend="ags-portable-thread-lock">ags_portable_thread_lock</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-lock-all"><link linkend="ags-portable-thread-lock-all">ags_portable_thread_lock_all</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-lock-children"><link linkend="ags-portable-thread-lock-children">ags_portable_thread_lock_children</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-lock-parent"><link linkend="ags-portable-thread-lock-parent">ags_portable_thread_lock_parent</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-lock-sibling"><link linkend="ags-portable-thread-lock-sibling">ags_portable_thread_lock_sibling</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-main-loop-unlock-children"><link linkend="ags-portable-thread-main-loop-unlock-children">ags_portable_thread_main_loop_unlock_children</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-new"><link linkend="ags-portable-thread-new">ags_portable_thread_new</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-next-children-locked"><link linkend="ags-portable-thread-next-children-locked">ags_portable_thread_next_children_locked</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-next-parent-locked"><link linkend="ags-portable-thread-next-parent-locked">ags_portable_thread_next_parent_locked</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-next-sibling-locked"><link linkend="ags-portable-thread-next-sibling-locked">ags_portable_thread_next_sibling_locked</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-parental-is-locked"><link linkend="ags-portable-thread-parental-is-locked">ags_portable_thread_parental_is_locked</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-remove-child"><link linkend="ags-portable-thread-remove-child">ags_portable_thread_remove_child</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-run"><link linkend="ags-portable-thread-run">ags_portable_thread_run</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-sibling-is-locked"><link linkend="ags-portable-thread-sibling-is-locked">ags_portable_thread_sibling_is_locked</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-signal-children"><link linkend="ags-portable-thread-signal-children">ags_portable_thread_signal_children</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-signal-parent"><link linkend="ags-portable-thread-signal-parent">ags_portable_thread_signal_parent</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-signal-sibling"><link linkend="ags-portable-thread-signal-sibling">ags_portable_thread_signal_sibling</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-start"><link linkend="ags-portable-thread-start">ags_portable_thread_start</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-stop"><link linkend="ags-portable-thread-stop">ags_portable_thread_stop</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-timelock"><link linkend="ags-portable-thread-timelock">ags_portable_thread_timelock</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-trylock"><link linkend="ags-portable-thread-trylock">ags_portable_thread_trylock</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-unlock"><link linkend="ags-portable-thread-unlock">ags_portable_thread_unlock</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-unlock-all"><link linkend="ags-portable-thread-unlock-all">ags_portable_thread_unlock_all</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-unlock-children"><link linkend="ags-portable-thread-unlock-children">ags_portable_thread_unlock_children</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-unlock-parent"><link linkend="ags-portable-thread-unlock-parent">ags_portable_thread_unlock_parent</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-unlock-sibling"><link linkend="ags-portable-thread-unlock-sibling">ags_portable_thread_unlock_sibling</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-wait-children"><link linkend="ags-portable-thread-wait-children">ags_portable_thread_wait_children</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-wait-parent"><link linkend="ags-portable-thread-wait-parent">ags_portable_thread_wait_parent</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portable-thread-wait-sibling"><link linkend="ags-portable-thread-wait-sibling">ags_portable_thread_wait_sibling</link>, function in <link linkend="ags-AgsPortableThread">AgsPortableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPortClass"><link linkend="AgsPortClass">AgsPortClass</link>, struct in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPortlet"><link linkend="AgsPortlet">AgsPortlet</link>, typedef in <link linkend="ags-AgsPortlet">AgsPortlet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPortletInterface"><link linkend="AgsPortletInterface">AgsPortletInterface</link>, struct in <link linkend="ags-AgsPortlet">AgsPortlet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portlet-get-port"><link linkend="ags-portlet-get-port">ags_portlet_get_port</link>, function in <link linkend="ags-AgsPortlet">AgsPortlet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portlet-list-safe-properties"><link linkend="ags-portlet-list-safe-properties">ags_portlet_list_safe_properties</link>, function in <link linkend="ags-AgsPortlet">AgsPortlet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portlet-safe-get-property"><link linkend="ags-portlet-safe-get-property">ags_portlet_safe_get_property</link>, function in <link linkend="ags-AgsPortlet">AgsPortlet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portlet-safe-set-property"><link linkend="ags-portlet-safe-set-property">ags_portlet_safe_set_property</link>, function in <link linkend="ags-AgsPortlet">AgsPortlet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-portlet-set-port"><link linkend="ags-portlet-set-port">ags_portlet_set_port</link>, function in <link linkend="ags-AgsPortlet">AgsPortlet</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-port-find-specifier"><link linkend="ags-port-find-specifier">ags_port_find_specifier</link>, function in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-port-new"><link linkend="ags-port-new">ags_port_new</link>, function in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-port-safe-get-property"><link linkend="ags-port-safe-get-property">ags_port_safe_get_property</link>, function in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-port-safe-read"><link linkend="ags-port-safe-read">ags_port_safe_read</link>, function in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-port-safe-set-property"><link linkend="ags-port-safe-set-property">ags_port_safe_set_property</link>, function in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-port-safe-write"><link linkend="ags-port-safe-write">ags_port_safe_write</link>, function in <link linkend="ags-AgsPort">AgsPort</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPreferences"><link linkend="AgsPreferences">AgsPreferences</link>, struct in <link linkend="ags-AgsPreferences">AgsPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPreferencesClass"><link linkend="AgsPreferencesClass">AgsPreferencesClass</link>, struct in <link linkend="ags-AgsPreferences">AgsPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPreferencesFlags"><link linkend="AgsPreferencesFlags">AgsPreferencesFlags</link>, enum in <link linkend="ags-AgsPreferences">AgsPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-preferences-new"><link linkend="ags-preferences-new">ags_preferences_new</link>, function in <link linkend="ags-AgsPreferences">AgsPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-preferences-response-callback"><link linkend="ags-preferences-response-callback">ags_preferences_response_callback</link>, function in <link linkend="ags-ags-preferences-callbacks">ags_preferences_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-PRIORITY:CAPS"><link linkend="AGS-PRIORITY:CAPS">AGS_PRIORITY</link>, macro in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPropertyCollectionEditor"><link linkend="AgsPropertyCollectionEditor">AgsPropertyCollectionEditor</link>, struct in <link linkend="ags-AgsPropertyCollectionEditor">AgsPropertyCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPropertyCollectionEditorClass"><link linkend="AgsPropertyCollectionEditorClass">AgsPropertyCollectionEditorClass</link>, struct in <link linkend="ags-AgsPropertyCollectionEditor">AgsPropertyCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPropertyEditor"><link linkend="AgsPropertyEditor">AgsPropertyEditor</link>, struct in <link linkend="ags-AgsPropertyEditor">AgsPropertyEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPropertyEditorClass"><link linkend="AgsPropertyEditorClass">AgsPropertyEditorClass</link>, struct in <link linkend="ags-AgsPropertyEditor">AgsPropertyEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPropertyEditorFlags"><link linkend="AgsPropertyEditorFlags">AgsPropertyEditorFlags</link>, enum in <link linkend="ags-AgsPropertyEditor">AgsPropertyEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPropertyListingEditor"><link linkend="AgsPropertyListingEditor">AgsPropertyListingEditor</link>, struct in <link linkend="ags-AgsPropertyListingEditor">AgsPropertyListingEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsPropertyListingEditorClass"><link linkend="AgsPropertyListingEditorClass">AgsPropertyListingEditorClass</link>, struct in <link linkend="ags-AgsPropertyListingEditor">AgsPropertyListingEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-property-collection-editor-add-collection-callback"><link linkend="ags-property-collection-editor-add-collection-callback">ags_property_collection_editor_add_collection_callback</link>, function in <link linkend="ags-ags-property-collection-editor-callbacks">ags_property_collection_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-property-collection-editor-new"><link linkend="ags-property-collection-editor-new">ags_property_collection_editor_new</link>, function in <link linkend="ags-AgsPropertyCollectionEditor">AgsPropertyCollectionEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-property-collection-editor-remove-collection-callback"><link linkend="ags-property-collection-editor-remove-collection-callback">ags_property_collection_editor_remove_collection_callback</link>, function in <link linkend="ags-ags-property-collection-editor-callbacks">ags_property_collection_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-property-editor-enable-callback"><link linkend="ags-property-editor-enable-callback">ags_property_editor_enable_callback</link>, function in <link linkend="ags-ags-property-editor-callbacks">ags_property_editor_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-property-editor-new"><link linkend="ags-property-editor-new">ags_property_editor_new</link>, function in <link linkend="ags-AgsPropertyEditor">AgsPropertyEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-property-listing-editor-new"><link linkend="ags-property-listing-editor-new">ags_property_listing_editor_new</link>, function in <link linkend="ags-AgsPropertyListingEditor">AgsPropertyListingEditor</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>R</title>
+<indexentry><primaryie linkends="AgsRecall"><link linkend="AgsRecall">AgsRecall</link>, struct in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallAudio"><link linkend="AgsRecallAudio">AgsRecallAudio</link>, struct in <link linkend="ags-AgsRecallAudio">AgsRecallAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallAudioClass"><link linkend="AgsRecallAudioClass">AgsRecallAudioClass</link>, struct in <link linkend="ags-AgsRecallAudio">AgsRecallAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallAudioRun"><link linkend="AgsRecallAudioRun">AgsRecallAudioRun</link>, struct in <link linkend="ags-AgsRecallAudioRun">AgsRecallAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallAudioRunClass"><link linkend="AgsRecallAudioRunClass">AgsRecallAudioRunClass</link>, struct in <link linkend="ags-AgsRecallAudioRun">AgsRecallAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallAudioSignal"><link linkend="AgsRecallAudioSignal">AgsRecallAudioSignal</link>, struct in <link linkend="ags-AgsRecallAudioSignal">AgsRecallAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallAudioSignalClass"><link linkend="AgsRecallAudioSignalClass">AgsRecallAudioSignalClass</link>, struct in <link linkend="ags-AgsRecallAudioSignal">AgsRecallAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallAudioSignalFlags"><link linkend="AgsRecallAudioSignalFlags">AgsRecallAudioSignalFlags</link>, enum in <link linkend="ags-AgsRecallAudioSignal">AgsRecallAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallChannel"><link linkend="AgsRecallChannel">AgsRecallChannel</link>, struct in <link linkend="ags-AgsRecallChannel">AgsRecallChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallChannelClass"><link linkend="AgsRecallChannelClass">AgsRecallChannelClass</link>, struct in <link linkend="ags-AgsRecallChannel">AgsRecallChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallChannelRun"><link linkend="AgsRecallChannelRun">AgsRecallChannelRun</link>, struct in <link linkend="ags-AgsRecallChannelRun">AgsRecallChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallChannelRunClass"><link linkend="AgsRecallChannelRunClass">AgsRecallChannelRunClass</link>, struct in <link linkend="ags-AgsRecallChannelRun">AgsRecallChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallChannelRunDummy"><link linkend="AgsRecallChannelRunDummy">AgsRecallChannelRunDummy</link>, struct in <link linkend="ags-AgsRecallChannelRunDummy">AgsRecallChannelRunDummy</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallChannelRunDummyClass"><link linkend="AgsRecallChannelRunDummyClass">AgsRecallChannelRunDummyClass</link>, struct in <link linkend="ags-AgsRecallChannelRunDummy">AgsRecallChannelRunDummy</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallClass"><link linkend="AgsRecallClass">AgsRecallClass</link>, struct in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallContainer"><link linkend="AgsRecallContainer">AgsRecallContainer</link>, struct in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallContainerClass"><link linkend="AgsRecallContainerClass">AgsRecallContainerClass</link>, struct in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallContainerFindFlags"><link linkend="AgsRecallContainerFindFlags">AgsRecallContainerFindFlags</link>, enum in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallContainerFlags"><link linkend="AgsRecallContainerFlags">AgsRecallContainerFlags</link>, enum in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallDependency"><link linkend="AgsRecallDependency">AgsRecallDependency</link>, struct in <link linkend="ags-AgsRecallDependency">AgsRecallDependency</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallDependencyClass"><link linkend="AgsRecallDependencyClass">AgsRecallDependencyClass</link>, struct in <link linkend="ags-AgsRecallDependency">AgsRecallDependency</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallFactory"><link linkend="AgsRecallFactory">AgsRecallFactory</link>, struct in <link linkend="ags-AgsRecallFactory">AgsRecallFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallFactoryClass"><link linkend="AgsRecallFactoryClass">AgsRecallFactoryClass</link>, struct in <link linkend="ags-AgsRecallFactory">AgsRecallFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallFactoryCreateFlags"><link linkend="AgsRecallFactoryCreateFlags">AgsRecallFactoryCreateFlags</link>, enum in <link linkend="ags-AgsRecallFactory">AgsRecallFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallFlags"><link linkend="AgsRecallFlags">AgsRecallFlags</link>, enum in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallHandler"><link linkend="AgsRecallHandler">AgsRecallHandler</link>, struct in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallID"><link linkend="AgsRecallID">AgsRecallID</link>, struct in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallIDClass"><link linkend="AgsRecallIDClass">AgsRecallIDClass</link>, struct in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallIDFlags"><link linkend="AgsRecallIDFlags">AgsRecallIDFlags</link>, enum in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallLadspa"><link linkend="AgsRecallLadspa">AgsRecallLadspa</link>, struct in <link linkend="ags-AgsRecallLadspa">AgsRecallLadspa</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallLadspaClass"><link linkend="AgsRecallLadspaClass">AgsRecallLadspaClass</link>, struct in <link linkend="ags-AgsRecallLadspa">AgsRecallLadspa</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallLadspaRun"><link linkend="AgsRecallLadspaRun">AgsRecallLadspaRun</link>, struct in <link linkend="ags-AgsRecallLadspaRun">AgsRecallLadspaRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallLadspaRunClass"><link linkend="AgsRecallLadspaRunClass">AgsRecallLadspaRunClass</link>, struct in <link linkend="ags-AgsRecallLadspaRun">AgsRecallLadspaRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallNotifyDependencyMode"><link linkend="AgsRecallNotifyDependencyMode">AgsRecallNotifyDependencyMode</link>, enum in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallRecycling"><link linkend="AgsRecallRecycling">AgsRecallRecycling</link>, struct in <link linkend="ags-AgsRecallRecycling">AgsRecallRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallRecyclingClass"><link linkend="AgsRecallRecyclingClass">AgsRecallRecyclingClass</link>, struct in <link linkend="ags-AgsRecallRecycling">AgsRecallRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallRecyclingDummy"><link linkend="AgsRecallRecyclingDummy">AgsRecallRecyclingDummy</link>, struct in <link linkend="ags-AgsRecallRecyclingDummy">AgsRecallRecyclingDummy</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallRecyclingDummyClass"><link linkend="AgsRecallRecyclingDummyClass">AgsRecallRecyclingDummyClass</link>, struct in <link linkend="ags-AgsRecallRecyclingDummy">AgsRecallRecyclingDummy</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecallRecyclingFlags"><link linkend="AgsRecallRecyclingFlags">AgsRecallRecyclingFlags</link>, enum in <link linkend="ags-AgsRecallRecycling">AgsRecallRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-add-child"><link linkend="ags-recall-add-child">ags_recall_add_child</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-add-dependency"><link linkend="ags-recall-add-dependency">ags_recall_add_dependency</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-add-handler"><link linkend="ags-recall-add-handler">ags_recall_add_handler</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-audio-new"><link linkend="ags-recall-audio-new">ags_recall_audio_new</link>, function in <link linkend="ags-AgsRecallAudio">AgsRecallAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-audio-run-new"><link linkend="ags-recall-audio-run-new">ags_recall_audio_run_new</link>, function in <link linkend="ags-AgsRecallAudioRun">AgsRecallAudioRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-audio-signal-new"><link linkend="ags-recall-audio-signal-new">ags_recall_audio_signal_new</link>, function in <link linkend="ags-AgsRecallAudioSignal">AgsRecallAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-cancel"><link linkend="ags-recall-cancel">ags_recall_cancel</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-channel-find-channel"><link linkend="ags-recall-channel-find-channel">ags_recall_channel_find_channel</link>, function in <link linkend="ags-AgsRecallChannel">AgsRecallChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-channel-new"><link linkend="ags-recall-channel-new">ags_recall_channel_new</link>, function in <link linkend="ags-AgsRecallChannel">AgsRecallChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-channel-run-dummy-new"><link linkend="ags-recall-channel-run-dummy-new">ags_recall_channel_run_dummy_new</link>, function in <link linkend="ags-AgsRecallChannelRunDummy">AgsRecallChannelRunDummy</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-channel-run-get-run-order"><link linkend="ags-recall-channel-run-get-run-order">ags_recall_channel_run_get_run_order</link>, function in <link linkend="ags-AgsRecallChannelRun">AgsRecallChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-channel-run-new"><link linkend="ags-recall-channel-run-new">ags_recall_channel_run_new</link>, function in <link linkend="ags-AgsRecallChannelRun">AgsRecallChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-channel-run-run-order-changed"><link linkend="ags-recall-channel-run-run-order-changed">ags_recall_channel_run_run_order_changed</link>, function in <link linkend="ags-AgsRecallChannelRun">AgsRecallChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-child-added"><link linkend="ags-recall-child-added">ags_recall_child_added</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-container-find"><link linkend="ags-recall-container-find">ags_recall_container_find</link>, function in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-container-get-recall-audio"><link linkend="ags-recall-container-get-recall-audio">ags_recall_container_get_recall_audio</link>, function in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-container-get-recall-audio-run"><link linkend="ags-recall-container-get-recall-audio-run">ags_recall_container_get_recall_audio_run</link>, function in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-container-get-recall-channel"><link linkend="ags-recall-container-get-recall-channel">ags_recall_container_get_recall_channel</link>, function in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-container-get-recall-channel-run"><link linkend="ags-recall-container-get-recall-channel-run">ags_recall_container_get_recall_channel_run</link>, function in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-container-new"><link linkend="ags-recall-container-new">ags_recall_container_new</link>, function in <link linkend="ags-AgsRecallContainer">AgsRecallContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-RECALL-DEFAULT-BUILD-ID:CAPS"><link linkend="AGS-RECALL-DEFAULT-BUILD-ID:CAPS">AGS_RECALL_DEFAULT_BUILD_ID</link>, macro in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-RECALL-DEFAULT-VERSION:CAPS"><link linkend="AGS-RECALL-DEFAULT-VERSION:CAPS">AGS_RECALL_DEFAULT_VERSION</link>, macro in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-dependency-find-dependency"><link linkend="ags-recall-dependency-find-dependency">ags_recall_dependency_find_dependency</link>, function in <link linkend="ags-AgsRecallDependency">AgsRecallDependency</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-dependency-find-dependency-by-provider"><link linkend="ags-recall-dependency-find-dependency-by-provider">ags_recall_dependency_find_dependency_by_provider</link>, function in <link linkend="ags-AgsRecallDependency">AgsRecallDependency</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-dependency-new"><link linkend="ags-recall-dependency-new">ags_recall_dependency_new</link>, function in <link linkend="ags-AgsRecallDependency">AgsRecallDependency</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-dependency-resolve"><link linkend="ags-recall-dependency-resolve">ags_recall_dependency_resolve</link>, function in <link linkend="ags-AgsRecallDependency">AgsRecallDependency</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-done"><link linkend="ags-recall-done">ags_recall_done</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-duplicate"><link linkend="ags-recall-duplicate">ags_recall_duplicate</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-factory-create"><link linkend="ags-recall-factory-create">ags_recall_factory_create</link>, function in <link linkend="ags-AgsRecallFactory">AgsRecallFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-factory-get-instance"><link linkend="ags-recall-factory-get-instance">ags_recall_factory_get_instance</link>, function in <link linkend="ags-AgsRecallFactory">AgsRecallFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-factory-new"><link linkend="ags-recall-factory-new">ags_recall_factory_new</link>, function in <link linkend="ags-AgsRecallFactory">AgsRecallFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-factory-remove"><link linkend="ags-recall-factory-remove">ags_recall_factory_remove</link>, function in <link linkend="ags-AgsRecallFactory">AgsRecallFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-find-by-effect"><link linkend="ags-recall-find-by-effect">ags_recall_find_by_effect</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-find-provider"><link linkend="ags-recall-find-provider">ags_recall_find_provider</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-find-provider-with-recycling-container"><link linkend="ags-recall-find-provider-with-recycling-container">ags_recall_find_provider_with_recycling_container</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-find-recycling-container"><link linkend="ags-recall-find-recycling-container">ags_recall_find_recycling_container</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-find-template"><link linkend="ags-recall-find-template">ags_recall_find_template</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-find-type"><link linkend="ags-recall-find-type">ags_recall_find_type</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-find-type-with-recycling-container"><link linkend="ags-recall-find-type-with-recycling-container">ags_recall_find_type_with_recycling_container</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-get-children"><link linkend="ags-recall-get-children">ags_recall_get_children</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-get-dependencies"><link linkend="ags-recall-get-dependencies">ags_recall_get_dependencies</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-RECALL-HANDLER:CAPS"><link linkend="AGS-RECALL-HANDLER:CAPS">AGS_RECALL_HANDLER</link>, macro in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-handler-alloc"><link linkend="ags-recall-handler-alloc">ags_recall_handler_alloc</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-id-add"><link linkend="ags-recall-id-add">ags_recall_id_add</link>, function in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-id-find-parent-recycling-container"><link linkend="ags-recall-id-find-parent-recycling-container">ags_recall_id_find_parent_recycling_container</link>, function in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-id-find-recycling-container"><link linkend="ags-recall-id-find-recycling-container">ags_recall_id_find_recycling_container</link>, function in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-id-get-run-stage"><link linkend="ags-recall-id-get-run-stage">ags_recall_id_get_run_stage</link>, function in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-id-new"><link linkend="ags-recall-id-new">ags_recall_id_new</link>, function in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-id-set-run-stage"><link linkend="ags-recall-id-set-run-stage">ags_recall_id_set_run_stage</link>, function in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-id-unset-run-stage"><link linkend="ags-recall-id-unset-run-stage">ags_recall_id_unset_run_stage</link>, function in <link linkend="ags-AgsRecallID">AgsRecallID</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-is-done"><link linkend="ags-recall-is-done">ags_recall_is_done</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-ladpsa-find"><link linkend="ags-recall-ladpsa-find">ags_recall_ladpsa_find</link>, function in <link linkend="ags-AgsRecallLadspa">AgsRecallLadspa</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-ladspa-float-to-short"><link linkend="ags-recall-ladspa-float-to-short">ags_recall_ladspa_float_to_short</link>, function in <link linkend="ags-AgsRecallLadspa">AgsRecallLadspa</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-ladspa-load-ports"><link linkend="ags-recall-ladspa-load-ports">ags_recall_ladspa_load_ports</link>, function in <link linkend="ags-AgsRecallLadspa">AgsRecallLadspa</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-ladspa-new"><link linkend="ags-recall-ladspa-new">ags_recall_ladspa_new</link>, function in <link linkend="ags-AgsRecallLadspa">AgsRecallLadspa</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-ladspa-run-new"><link linkend="ags-recall-ladspa-run-new">ags_recall_ladspa_run_new</link>, function in <link linkend="ags-AgsRecallLadspaRun">AgsRecallLadspaRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-ladspa-short-to-float"><link linkend="ags-recall-ladspa-short-to-float">ags_recall_ladspa_short_to_float</link>, function in <link linkend="ags-AgsRecallLadspa">AgsRecallLadspa</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-new"><link linkend="ags-recall-new">ags_recall_new</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-notify-dependency"><link linkend="ags-recall-notify-dependency">ags_recall_notify_dependency</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-recycling-dummy-new"><link linkend="ags-recall-recycling-dummy-new">ags_recall_recycling_dummy_new</link>, function in <link linkend="ags-AgsRecallRecyclingDummy">AgsRecallRecyclingDummy</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-recycling-get-child-source"><link linkend="ags-recall-recycling-get-child-source">ags_recall_recycling_get_child_source</link>, function in <link linkend="ags-AgsRecallRecycling">AgsRecallRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-recycling-new"><link linkend="ags-recall-recycling-new">ags_recall_recycling_new</link>, function in <link linkend="ags-AgsRecallRecycling">AgsRecallRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-remove"><link linkend="ags-recall-remove">ags_recall_remove</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-remove-child"><link linkend="ags-recall-remove-child">ags_recall_remove_child</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-remove-dependency"><link linkend="ags-recall-remove-dependency">ags_recall_remove_dependency</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-remove-handler"><link linkend="ags-recall-remove-handler">ags_recall_remove_handler</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-resolve-dependencies"><link linkend="ags-recall-resolve-dependencies">ags_recall_resolve_dependencies</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-run-init"><link linkend="ags-recall-run-init">ags_recall_run_init</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-run-init-inter"><link linkend="ags-recall-run-init-inter">ags_recall_run_init_inter</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-run-init-post"><link linkend="ags-recall-run-init-post">ags_recall_run_init_post</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-run-init-pre"><link linkend="ags-recall-run-init-pre">ags_recall_run_init_pre</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-run-inter"><link linkend="ags-recall-run-inter">ags_recall_run_inter</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-run-post"><link linkend="ags-recall-run-post">ags_recall_run_post</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-run-pre"><link linkend="ags-recall-run-pre">ags_recall_run_pre</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-set-devout-recursive"><link linkend="ags-recall-set-devout-recursive">ags_recall_set_devout_recursive</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-set-effect"><link linkend="ags-recall-set-effect">ags_recall_set_effect</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-set-flags"><link linkend="ags-recall-set-flags">ags_recall_set_flags</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-set-recall-id"><link linkend="ags-recall-set-recall-id">ags_recall_set_recall_id</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-stop-persistent"><link linkend="ags-recall-stop-persistent">ags_recall_stop_persistent</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-template-find-provider"><link linkend="ags-recall-template-find-provider">ags_recall_template_find_provider</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recall-template-find-type"><link linkend="ags-recall-template-find-type">ags_recall_template_find_type</link>, function in <link linkend="ags-AgsRecall">AgsRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecordThread"><link linkend="AgsRecordThread">AgsRecordThread</link>, struct in <link linkend="ags-AgsRecordThread">AgsRecordThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecordThreadClass"><link linkend="AgsRecordThreadClass">AgsRecordThreadClass</link>, struct in <link linkend="ags-AgsRecordThread">AgsRecordThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-RECORD-THREAD-DEFAULT-DELAY:CAPS"><link linkend="AGS-RECORD-THREAD-DEFAULT-DELAY:CAPS">AGS_RECORD_THREAD_DEFAULT_DELAY</link>, macro in <link linkend="ags-AgsRecordThread">AgsRecordThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-record-thread-new"><link linkend="ags-record-thread-new">ags_record_thread_new</link>, function in <link linkend="ags-AgsRecordThread">AgsRecordThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecycling"><link linkend="AgsRecycling">AgsRecycling</link>, struct in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecyclingClass"><link linkend="AgsRecyclingClass">AgsRecyclingClass</link>, struct in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecyclingContainer"><link linkend="AgsRecyclingContainer">AgsRecyclingContainer</link>, struct in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecyclingContainerClass"><link linkend="AgsRecyclingContainerClass">AgsRecyclingContainerClass</link>, struct in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecyclingFlags"><link linkend="AgsRecyclingFlags">AgsRecyclingFlags</link>, enum in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecyclingThread"><link linkend="AgsRecyclingThread">AgsRecyclingThread</link>, struct in <link linkend="ags-AgsRecyclingThread">AgsRecyclingThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecyclingThreadClass"><link linkend="AgsRecyclingThreadClass">AgsRecyclingThreadClass</link>, struct in <link linkend="ags-AgsRecyclingThread">AgsRecyclingThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRecyclingThreadFlags"><link linkend="AgsRecyclingThreadFlags">AgsRecyclingThreadFlags</link>, enum in <link linkend="ags-AgsRecyclingThread">AgsRecyclingThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-add-audio-signal"><link linkend="ags-recycling-add-audio-signal">ags_recycling_add_audio_signal</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-add"><link linkend="ags-recycling-container-add">ags_recycling_container_add</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-add-child"><link linkend="ags-recycling-container-add-child">ags_recycling_container_add_child</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-find"><link linkend="ags-recycling-container-find">ags_recycling_container_find</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-find-child"><link linkend="ags-recycling-container-find-child">ags_recycling_container_find_child</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-find-parent"><link linkend="ags-recycling-container-find-parent">ags_recycling_container_find_parent</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-get-child-recall-id"><link linkend="ags-recycling-container-get-child-recall-id">ags_recycling_container_get_child_recall_id</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-get-toplevel"><link linkend="ags-recycling-container-get-toplevel">ags_recycling_container_get_toplevel</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-insert"><link linkend="ags-recycling-container-insert">ags_recycling_container_insert</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-new"><link linkend="ags-recycling-container-new">ags_recycling_container_new</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-remove"><link linkend="ags-recycling-container-remove">ags_recycling_container_remove</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-remove-child"><link linkend="ags-recycling-container-remove-child">ags_recycling_container_remove_child</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-replace"><link linkend="ags-recycling-container-replace">ags_recycling_container_replace</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-container-reset-recycling"><link linkend="ags-recycling-container-reset-recycling">ags_recycling_container_reset_recycling</link>, function in <link linkend="ags-AgsRecyclingContainer">AgsRecyclingContainer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-create-audio-signal-with-defaults"><link linkend="ags-recycling-create-audio-signal-with-defaults">ags_recycling_create_audio_signal_with_defaults</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-create-audio-signal-with-frame-count"><link linkend="ags-recycling-create-audio-signal-with-frame-count">ags_recycling_create_audio_signal_with_frame_count</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-find-next-channel"><link linkend="ags-recycling-find-next-channel">ags_recycling_find_next_channel</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-new"><link linkend="ags-recycling-new">ags_recycling_new</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-position"><link linkend="ags-recycling-position">ags_recycling_position</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-remove-audio-signal"><link linkend="ags-recycling-remove-audio-signal">ags_recycling_remove_audio_signal</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-set-devout"><link linkend="ags-recycling-set-devout">ags_recycling_set_devout</link>, function in <link linkend="ags-AgsRecycling">AgsRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-RECYCLING-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-RECYCLING-THREAD-DEFAULT-JIFFIE:CAPS">AGS_RECYCLING_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsRecyclingThread">AgsRecyclingThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-thread-iterate-callback"><link linkend="ags-recycling-thread-iterate-callback">ags_recycling_thread_iterate_callback</link>, function in <link linkend="ags-ags-recycling-thread-callbacks">ags_recycling_thread_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-thread-new"><link linkend="ags-recycling-thread-new">ags_recycling_thread_new</link>, function in <link linkend="ags-AgsRecyclingThread">AgsRecyclingThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-thread-play-audio"><link linkend="ags-recycling-thread-play-audio">ags_recycling_thread_play_audio</link>, function in <link linkend="ags-AgsRecyclingThread">AgsRecyclingThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-recycling-thread-play-channel"><link linkend="ags-recycling-thread-play-channel">ags_recycling_thread_play_channel</link>, function in <link linkend="ags-AgsRecyclingThread">AgsRecyclingThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRegistry"><link linkend="AgsRegistry">AgsRegistry</link>, struct in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRegistryClass"><link linkend="AgsRegistryClass">AgsRegistryClass</link>, struct in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRegistryEntry"><link linkend="AgsRegistryEntry">AgsRegistryEntry</link>, struct in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-registry-add"><link linkend="ags-registry-add">ags_registry_add</link>, function in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-REGISTRY-DEFAULT-ID-LENGTH:CAPS"><link linkend="AGS-REGISTRY-DEFAULT-ID-LENGTH:CAPS">AGS_REGISTRY_DEFAULT_ID_LENGTH</link>, macro in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-registry-entry-alloc"><link linkend="ags-registry-entry-alloc">ags_registry_entry_alloc</link>, function in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-registry-entry-bulk"><link linkend="ags-registry-entry-bulk">ags_registry_entry_bulk</link>, function in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-registry-entry-find"><link linkend="ags-registry-entry-find">ags_registry_entry_find</link>, function in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-registry-new"><link linkend="ags-registry-new">ags_registry_new</link>, function in <link linkend="ags-AgsRegistry">AgsRegistry</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoteTask"><link linkend="AgsRemoteTask">AgsRemoteTask</link>, struct in <link linkend="ags-AgsRemoteTask">AgsRemoteTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoteTaskClass"><link linkend="AgsRemoteTaskClass">AgsRemoteTaskClass</link>, struct in <link linkend="ags-AgsRemoteTask">AgsRemoteTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remote-task-launch"><link linkend="ags-remote-task-launch">ags_remote_task_launch</link>, function in <link linkend="ags-AgsRemoteTask">AgsRemoteTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remote-task-launch-timed"><link linkend="ags-remote-task-launch-timed">ags_remote_task_launch_timed</link>, function in <link linkend="ags-AgsRemoteTask">AgsRemoteTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remote-task-new"><link linkend="ags-remote-task-new">ags_remote_task_new</link>, function in <link linkend="ags-AgsRemoteTask">AgsRemoteTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveAudio"><link linkend="AgsRemoveAudio">AgsRemoveAudio</link>, struct in <link linkend="ags-AgsRemoveAudio">AgsRemoveAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveAudioClass"><link linkend="AgsRemoveAudioClass">AgsRemoveAudioClass</link>, struct in <link linkend="ags-AgsRemoveAudio">AgsRemoveAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveAudioSignal"><link linkend="AgsRemoveAudioSignal">AgsRemoveAudioSignal</link>, struct in <link linkend="ags-AgsRemoveAudioSignal">AgsRemoveAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveAudioSignalClass"><link linkend="AgsRemoveAudioSignalClass">AgsRemoveAudioSignalClass</link>, struct in <link linkend="ags-AgsRemoveAudioSignal">AgsRemoveAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveNote"><link linkend="AgsRemoveNote">AgsRemoveNote</link>, struct in <link linkend="ags-AgsRemoveNote">AgsRemoveNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveNoteClass"><link linkend="AgsRemoveNoteClass">AgsRemoveNoteClass</link>, struct in <link linkend="ags-AgsRemoveNote">AgsRemoveNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemovePointFromSelection"><link linkend="AgsRemovePointFromSelection">AgsRemovePointFromSelection</link>, struct in <link linkend="ags-AgsRemovePointFromSelection">AgsRemovePointFromSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemovePointFromSelectionClass"><link linkend="AgsRemovePointFromSelectionClass">AgsRemovePointFromSelectionClass</link>, struct in <link linkend="ags-AgsRemovePointFromSelection">AgsRemovePointFromSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveRecall"><link linkend="AgsRemoveRecall">AgsRemoveRecall</link>, struct in <link linkend="ags-AgsRemoveRecall">AgsRemoveRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveRecallClass"><link linkend="AgsRemoveRecallClass">AgsRemoveRecallClass</link>, struct in <link linkend="ags-AgsRemoveRecall">AgsRemoveRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveRegionFromSelection"><link linkend="AgsRemoveRegionFromSelection">AgsRemoveRegionFromSelection</link>, struct in <link linkend="ags-AgsRemoveRegionFromSelection">AgsRemoveRegionFromSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRemoveRegionFromSelectionClass"><link linkend="AgsRemoveRegionFromSelectionClass">AgsRemoveRegionFromSelectionClass</link>, struct in <link linkend="ags-AgsRemoveRegionFromSelection">AgsRemoveRegionFromSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remove-audio-new"><link linkend="ags-remove-audio-new">ags_remove_audio_new</link>, function in <link linkend="ags-AgsRemoveAudio">AgsRemoveAudio</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remove-audio-signal-new"><link linkend="ags-remove-audio-signal-new">ags_remove_audio_signal_new</link>, function in <link linkend="ags-AgsRemoveAudioSignal">AgsRemoveAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remove-note-new"><link linkend="ags-remove-note-new">ags_remove_note_new</link>, function in <link linkend="ags-AgsRemoveNote">AgsRemoveNote</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remove-point-from-selection-new"><link linkend="ags-remove-point-from-selection-new">ags_remove_point_from_selection_new</link>, function in <link linkend="ags-AgsRemovePointFromSelection">AgsRemovePointFromSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remove-recall-new"><link linkend="ags-remove-recall-new">ags_remove_recall_new</link>, function in <link linkend="ags-AgsRemoveRecall">AgsRemoveRecall</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-remove-region-from-selection-new"><link linkend="ags-remove-region-from-selection-new">ags_remove_region_from_selection_new</link>, function in <link linkend="ags-AgsRemoveRegionFromSelection">AgsRemoveRegionFromSelection</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsResizeEditor"><link linkend="AgsResizeEditor">AgsResizeEditor</link>, struct in <link linkend="ags-AgsResizeEditor">AgsResizeEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsResizeEditorClass"><link linkend="AgsResizeEditorClass">AgsResizeEditorClass</link>, struct in <link linkend="ags-AgsResizeEditor">AgsResizeEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-resize-editor-new"><link linkend="ags-resize-editor-new">ags_resize_editor_new</link>, function in <link linkend="ags-AgsResizeEditor">AgsResizeEditor</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsReturnableThread"><link linkend="AgsReturnableThread">AgsReturnableThread</link>, struct in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsReturnableThreadCallback"><link linkend="AgsReturnableThreadCallback">AgsReturnableThreadCallback</link>, user_function in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsReturnableThreadClass"><link linkend="AgsReturnableThreadClass">AgsReturnableThreadClass</link>, struct in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsReturnableThreadFlags"><link linkend="AgsReturnableThreadFlags">AgsReturnableThreadFlags</link>, enum in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-returnable-thread-connect-safe-run"><link linkend="ags-returnable-thread-connect-safe-run">ags_returnable_thread_connect_safe_run</link>, function in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-RETURNABLE-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-RETURNABLE-THREAD-DEFAULT-JIFFIE:CAPS">AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-returnable-thread-disconnect-safe-run"><link linkend="ags-returnable-thread-disconnect-safe-run">ags_returnable_thread_disconnect_safe_run</link>, function in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-returnable-thread-new"><link linkend="ags-returnable-thread-new">ags_returnable_thread_new</link>, function in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-returnable-thread-safe-run"><link linkend="ags-returnable-thread-safe-run">ags_returnable_thread_safe_run</link>, function in <link linkend="ags-AgsReturnableThread">AgsReturnableThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRuler"><link linkend="AgsRuler">AgsRuler</link>, struct in <link linkend="ags-AgsRuler">AgsRuler</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRulerClass"><link linkend="AgsRulerClass">AgsRulerClass</link>, struct in <link linkend="ags-AgsRuler">AgsRuler</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ruler-configure-event"><link linkend="ags-ruler-configure-event">ags_ruler_configure_event</link>, function in <link linkend="ags-ags-ruler-callbacks">ags_ruler_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ruler-expose-event"><link linkend="ags-ruler-expose-event">ags_ruler_expose_event</link>, function in <link linkend="ags-ags-ruler-callbacks">ags_ruler_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-ruler-new"><link linkend="ags-ruler-new">ags_ruler_new</link>, function in <link linkend="ags-AgsRuler">AgsRuler</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRunnable"><link linkend="AgsRunnable">AgsRunnable</link>, typedef in <link linkend="ags-AgsRunnable">AgsRunnable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsRunnableInterface"><link linkend="AgsRunnableInterface">AgsRunnableInterface</link>, struct in <link linkend="ags-AgsRunnable">AgsRunnable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-runnable-run"><link linkend="ags-runnable-run">ags_runnable_run</link>, function in <link linkend="ags-AgsRunnable">AgsRunnable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-runnable-stop"><link linkend="ags-runnable-stop">ags_runnable_stop</link>, function in <link linkend="ags-AgsRunnable">AgsRunnable</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>S</title>
+<indexentry><primaryie linkends="AgsSaveFile"><link linkend="AgsSaveFile">AgsSaveFile</link>, struct in <link linkend="ags-AgsSaveFile">AgsSaveFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSaveFileClass"><link linkend="AgsSaveFileClass">AgsSaveFileClass</link>, struct in <link linkend="ags-AgsSaveFile">AgsSaveFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-save-file-new"><link linkend="ags-save-file-new">ags_save_file_new</link>, function in <link linkend="ags-AgsSaveFile">AgsSaveFile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsScrollOnPlay"><link linkend="AgsScrollOnPlay">AgsScrollOnPlay</link>, struct in <link linkend="ags-AgsScrollOnPlay">AgsScrollOnPlay</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsScrollOnPlayClass"><link linkend="AgsScrollOnPlayClass">AgsScrollOnPlayClass</link>, struct in <link linkend="ags-AgsScrollOnPlay">AgsScrollOnPlay</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-scroll-on-play-new"><link linkend="ags-scroll-on-play-new">ags_scroll_on_play_new</link>, function in <link linkend="ags-AgsScrollOnPlay">AgsScrollOnPlay</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSeekable"><link linkend="AgsSeekable">AgsSeekable</link>, typedef in <link linkend="ags-AgsSeekable">AgsSeekable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSeekableInterface"><link linkend="AgsSeekableInterface">AgsSeekableInterface</link>, struct in <link linkend="ags-AgsSeekable">AgsSeekable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-seekable-seek"><link linkend="ags-seekable-seek">ags_seekable_seek</link>, function in <link linkend="ags-AgsSeekable">AgsSeekable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSegment"><link linkend="AgsSegment">AgsSegment</link>, struct in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSegmentClass"><link linkend="AgsSegmentClass">AgsSegmentClass</link>, struct in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSegmentFields"><link linkend="AgsSegmentFields">AgsSegmentFields</link>, enum in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-segment-draw-string"><link linkend="ags-segment-draw-string">ags_segment_draw_string</link>, function in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-segment-field-off"><link linkend="ags-segment-field-off">ags_segment_field_off</link>, function in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-segment-field-on"><link linkend="ags-segment-field-on">ags_segment_field_on</link>, function in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-SEGMENT-FLAGS:CAPS"><link linkend="AGS-SEGMENT-FLAGS:CAPS">AGS_SEGMENT_FLAGS</link>, enum in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-segment-new"><link linkend="ags-segment-new">ags_segment_new</link>, function in <link linkend="ags-AgsSegment">AgsSegment</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsServer"><link linkend="AgsServer">AgsServer</link>, struct in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsServerClass"><link linkend="AgsServerClass">AgsServerClass</link>, struct in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsServerFlags"><link linkend="AgsServerFlags">AgsServerFlags</link>, enum in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsServerPreferences"><link linkend="AgsServerPreferences">AgsServerPreferences</link>, struct in <link linkend="ags-AgsServerPreferences">AgsServerPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsServerPreferencesClass"><link linkend="AgsServerPreferencesClass">AgsServerPreferencesClass</link>, struct in <link linkend="ags-AgsServerPreferences">AgsServerPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-server-create-object"><link linkend="ags-server-create-object">ags_server_create_object</link>, function in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-server-lookup"><link linkend="ags-server-lookup">ags_server_lookup</link>, function in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-server-new"><link linkend="ags-server-new">ags_server_new</link>, function in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-server-object-set-property"><link linkend="ags-server-object-set-property">ags_server_object_set_property</link>, function in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-server-preferences-new"><link linkend="ags-server-preferences-new">ags_server_preferences_new</link>, function in <link linkend="ags-AgsServerPreferences">AgsServerPreferences</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-server-start"><link linkend="ags-server-start">ags_server_start</link>, function in <link linkend="ags-AgsServer">AgsServer</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetAudioChannels"><link linkend="AgsSetAudioChannels">AgsSetAudioChannels</link>, struct in <link linkend="ags-AgsSetAudioChannels">AgsSetAudioChannels</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetAudioChannelsClass"><link linkend="AgsSetAudioChannelsClass">AgsSetAudioChannelsClass</link>, struct in <link linkend="ags-AgsSetAudioChannels">AgsSetAudioChannels</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetBufferSize"><link linkend="AgsSetBufferSize">AgsSetBufferSize</link>, struct in <link linkend="ags-AgsSetBufferSize">AgsSetBufferSize</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetBufferSizeClass"><link linkend="AgsSetBufferSizeClass">AgsSetBufferSizeClass</link>, struct in <link linkend="ags-AgsSetBufferSize">AgsSetBufferSize</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetDevoutPlayFlags"><link linkend="AgsSetDevoutPlayFlags">AgsSetDevoutPlayFlags</link>, struct in <link linkend="ags-AgsSetDevoutPlayFlags">AgsSetDevoutPlayFlags</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetDevoutPlayFlagsClass"><link linkend="AgsSetDevoutPlayFlagsClass">AgsSetDevoutPlayFlagsClass</link>, struct in <link linkend="ags-AgsSetDevoutPlayFlags">AgsSetDevoutPlayFlags</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetMuted"><link linkend="AgsSetMuted">AgsSetMuted</link>, struct in <link linkend="ags-AgsSetMuted">AgsSetMuted</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetMutedClass"><link linkend="AgsSetMutedClass">AgsSetMutedClass</link>, struct in <link linkend="ags-AgsSetMuted">AgsSetMuted</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetOutputDevice"><link linkend="AgsSetOutputDevice">AgsSetOutputDevice</link>, struct in <link linkend="ags-AgsSetOutputDevice">AgsSetOutputDevice</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetOutputDeviceClass"><link linkend="AgsSetOutputDeviceClass">AgsSetOutputDeviceClass</link>, struct in <link linkend="ags-AgsSetOutputDevice">AgsSetOutputDevice</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetSamplerate"><link linkend="AgsSetSamplerate">AgsSetSamplerate</link>, struct in <link linkend="ags-AgsSetSamplerate">AgsSetSamplerate</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSetSamplerateClass"><link linkend="AgsSetSamplerateClass">AgsSetSamplerateClass</link>, struct in <link linkend="ags-AgsSetSamplerate">AgsSetSamplerate</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-set-audio-channels-new"><link linkend="ags-set-audio-channels-new">ags_set_audio_channels_new</link>, function in <link linkend="ags-AgsSetAudioChannels">AgsSetAudioChannels</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-set-buffer-size-new"><link linkend="ags-set-buffer-size-new">ags_set_buffer_size_new</link>, function in <link linkend="ags-AgsSetBufferSize">AgsSetBufferSize</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-set-devout-play-flags-new"><link linkend="ags-set-devout-play-flags-new">ags_set_devout_play_flags_new</link>, function in <link linkend="ags-AgsSetDevoutPlayFlags">AgsSetDevoutPlayFlags</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-set-muted-new"><link linkend="ags-set-muted-new">ags_set_muted_new</link>, function in <link linkend="ags-AgsSetMuted">AgsSetMuted</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-set-output-device-new"><link linkend="ags-set-output-device-new">ags_set_output_device_new</link>, function in <link linkend="ags-AgsSetOutputDevice">AgsSetOutputDevice</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-set-samplerate-new"><link linkend="ags-set-samplerate-new">ags_set_samplerate_new</link>, function in <link linkend="ags-AgsSetSamplerate">AgsSetSamplerate</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSF2Chooser"><link linkend="AgsSF2Chooser">AgsSF2Chooser</link>, struct in <link linkend="ags-AgsSF2Chooser">AgsSF2Chooser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSF2ChooserClass"><link linkend="AgsSF2ChooserClass">AgsSF2ChooserClass</link>, struct in <link linkend="ags-AgsSF2Chooser">AgsSF2Chooser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSF2Levels"><link linkend="AgsSF2Levels">AgsSF2Levels</link>, enum in <link linkend="ags-AgsIpatchSF2Reader">AgsIpatchSF2Reader</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sf2-chooser-completed"><link linkend="ags-sf2-chooser-completed">ags_sf2_chooser_completed</link>, function in <link linkend="ags-AgsSF2Chooser">AgsSF2Chooser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sf2-chooser-instrument-changed"><link linkend="ags-sf2-chooser-instrument-changed">ags_sf2_chooser_instrument_changed</link>, function in <link linkend="ags-ags-sf2-chooser-callbacks">ags_sf2_chooser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sf2-chooser-new"><link linkend="ags-sf2-chooser-new">ags_sf2_chooser_new</link>, function in <link linkend="ags-AgsSF2Chooser">AgsSF2Chooser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sf2-chooser-open"><link linkend="ags-sf2-chooser-open">ags_sf2_chooser_open</link>, function in <link linkend="ags-AgsSF2Chooser">AgsSF2Chooser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sf2-chooser-preset-changed"><link linkend="ags-sf2-chooser-preset-changed">ags_sf2_chooser_preset_changed</link>, function in <link linkend="ags-ags-sf2-chooser-callbacks">ags_sf2_chooser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sf2-chooser-remove-all-from-combo"><link linkend="ags-sf2-chooser-remove-all-from-combo">ags_sf2_chooser_remove_all_from_combo</link>, function in <link linkend="ags-AgsSF2Chooser">AgsSF2Chooser</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sf2-chooser-sample-changed"><link linkend="ags-sf2-chooser-sample-changed">ags_sf2_chooser_sample_changed</link>, function in <link linkend="ags-ags-sf2-chooser-callbacks">ags_sf2_chooser_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSingleThread"><link linkend="AgsSingleThread">AgsSingleThread</link>, struct in <link linkend="ags-AgsSingleThread">AgsSingleThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSingleThreadClass"><link linkend="AgsSingleThreadClass">AgsSingleThreadClass</link>, struct in <link linkend="ags-AgsSingleThread">AgsSingleThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-SINGLE-THREAD-DEFAULT-GUI-JIFFIE:CAPS"><link linkend="AGS-SINGLE-THREAD-DEFAULT-GUI-JIFFIE:CAPS">AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE</link>, macro in <link linkend="ags-AgsSingleThread">AgsSingleThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-single-thread-new"><link linkend="ags-single-thread-new">ags_single_thread_new</link>, function in <link linkend="ags-AgsSingleThread">AgsSingleThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSndfile"><link linkend="AgsSndfile">AgsSndfile</link>, struct in <link linkend="ags-AgsSndfile">AgsSndfile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSndfileClass"><link linkend="AgsSndfileClass">AgsSndfileClass</link>, struct in <link linkend="ags-AgsSndfile">AgsSndfile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSndfileFlags"><link linkend="AgsSndfileFlags">AgsSndfileFlags</link>, enum in <link linkend="ags-AgsSndfile">AgsSndfile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-sndfile-new"><link linkend="ags-sndfile-new">ags_sndfile_new</link>, function in <link linkend="ags-AgsSndfile">AgsSndfile</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSoundcard"><link linkend="AgsSoundcard">AgsSoundcard</link>, typedef in <link linkend="ags-AgsSoundcard">AgsSoundcard</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSoundcardInterface"><link linkend="AgsSoundcardInterface">AgsSoundcardInterface</link>, struct in <link linkend="ags-AgsSoundcard">AgsSoundcard</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-soundcard-list-cards"><link linkend="ags-soundcard-list-cards">ags_soundcard_list_cards</link>, function in <link linkend="ags-AgsSoundcard">AgsSoundcard</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-soundcard-offset-changed"><link linkend="ags-soundcard-offset-changed">ags_soundcard_offset_changed</link>, function in <link linkend="ags-AgsSoundcard">AgsSoundcard</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-soundcard-pcm-info"><link linkend="ags-soundcard-pcm-info">ags_soundcard_pcm_info</link>, function in <link linkend="ags-AgsSoundcard">AgsSoundcard</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-soundcard-tic"><link linkend="ags-soundcard-tic">ags_soundcard_tic</link>, function in <link linkend="ags-AgsSoundcard">AgsSoundcard</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStackable"><link linkend="AgsStackable">AgsStackable</link>, typedef in <link linkend="ags-AgsStackable">AgsStackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStackableInterface"><link linkend="AgsStackableInterface">AgsStackableInterface</link>, struct in <link linkend="ags-AgsStackable">AgsStackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stackable-pop"><link linkend="ags-stackable-pop">ags_stackable_pop</link>, function in <link linkend="ags-AgsStackable">AgsStackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stackable-push"><link linkend="ags-stackable-push">ags_stackable_push</link>, function in <link linkend="ags-AgsStackable">AgsStackable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStartDevout"><link linkend="AgsStartDevout">AgsStartDevout</link>, struct in <link linkend="ags-AgsStartDevout">AgsStartDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStartDevoutClass"><link linkend="AgsStartDevoutClass">AgsStartDevoutClass</link>, struct in <link linkend="ags-AgsStartDevout">AgsStartDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-start-devout-new"><link linkend="ags-start-devout-new">ags_start_devout_new</link>, function in <link linkend="ags-AgsStartDevout">AgsStartDevout</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stream"><link linkend="ags-stream">ags_stream</link>, function in <link linkend="ags-AgsStream">AgsStream</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStream"><link linkend="AgsStream">AgsStream</link>, struct in <link linkend="ags-AgsStream">AgsStream</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamAudioSignal"><link linkend="AgsStreamAudioSignal">AgsStreamAudioSignal</link>, struct in <link linkend="ags-AgsStreamAudioSignal">AgsStreamAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamAudioSignalClass"><link linkend="AgsStreamAudioSignalClass">AgsStreamAudioSignalClass</link>, struct in <link linkend="ags-AgsStreamAudioSignal">AgsStreamAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamChannel"><link linkend="AgsStreamChannel">AgsStreamChannel</link>, struct in <link linkend="ags-AgsStreamChannel">AgsStreamChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamChannelClass"><link linkend="AgsStreamChannelClass">AgsStreamChannelClass</link>, struct in <link linkend="ags-AgsStreamChannel">AgsStreamChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamChannelRun"><link linkend="AgsStreamChannelRun">AgsStreamChannelRun</link>, struct in <link linkend="ags-AgsStreamChannelRun">AgsStreamChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamChannelRunClass"><link linkend="AgsStreamChannelRunClass">AgsStreamChannelRunClass</link>, struct in <link linkend="ags-AgsStreamChannelRun">AgsStreamChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamClass"><link linkend="AgsStreamClass">AgsStreamClass</link>, struct in <link linkend="ags-AgsStream">AgsStream</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamRecycling"><link linkend="AgsStreamRecycling">AgsStreamRecycling</link>, struct in <link linkend="ags-AgsStreamRecycling">AgsStreamRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsStreamRecyclingClass"><link linkend="AgsStreamRecyclingClass">AgsStreamRecyclingClass</link>, struct in <link linkend="ags-AgsStreamRecycling">AgsStreamRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stream-alloc"><link linkend="ags-stream-alloc">ags_stream_alloc</link>, function in <link linkend="ags-AgsAudioSignal">AgsAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stream-audio-signal-new"><link linkend="ags-stream-audio-signal-new">ags_stream_audio_signal_new</link>, function in <link linkend="ags-AgsStreamAudioSignal">AgsStreamAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stream-channel-new"><link linkend="ags-stream-channel-new">ags_stream_channel_new</link>, function in <link linkend="ags-AgsStreamChannel">AgsStreamChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stream-channel-run-new"><link linkend="ags-stream-channel-run-new">ags_stream_channel_run_new</link>, function in <link linkend="ags-AgsStreamChannelRun">AgsStreamChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stream-new"><link linkend="ags-stream-new">ags_stream_new</link>, function in <link linkend="ags-AgsStream">AgsStream</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-stream-recycling-new"><link linkend="ags-stream-recycling-new">ags_stream_recycling_new</link>, function in <link linkend="ags-AgsStreamRecycling">AgsStreamRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSynth"><link linkend="AgsSynth">AgsSynth</link>, struct in <link linkend="ags-AgsSynth">AgsSynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSynthClass"><link linkend="AgsSynthClass">AgsSynthClass</link>, struct in <link linkend="ags-AgsSynth">AgsSynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSynthFlags"><link linkend="AgsSynthFlags">AgsSynthFlags</link>, enum in <link linkend="ags-AgsSynth">AgsSynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSynthInputLine"><link linkend="AgsSynthInputLine">AgsSynthInputLine</link>, struct in <link linkend="ags-AgsSynthInputLine">AgsSynthInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSynthInputLineClass"><link linkend="AgsSynthInputLineClass">AgsSynthInputLineClass</link>, struct in <link linkend="ags-AgsSynthInputLine">AgsSynthInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSynthInputPad"><link linkend="AgsSynthInputPad">AgsSynthInputPad</link>, struct in <link linkend="ags-AgsSynthInputPad">AgsSynthInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsSynthInputPadClass"><link linkend="AgsSynthInputPadClass">AgsSynthInputPadClass</link>, struct in <link linkend="ags-AgsSynthInputPad">AgsSynthInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-auto-update-callback"><link linkend="ags-synth-auto-update-callback">ags_synth_auto_update_callback</link>, function in <link linkend="ags-ags-synth-callbacks">ags_synth_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-input-line-map-recall"><link linkend="ags-synth-input-line-map-recall">ags_synth_input_line_map_recall</link>, function in <link linkend="ags-AgsSynthInputLine">AgsSynthInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-input-line-new"><link linkend="ags-synth-input-line-new">ags_synth_input_line_new</link>, function in <link linkend="ags-AgsSynthInputLine">AgsSynthInputLine</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-input-pad-new"><link linkend="ags-synth-input-pad-new">ags_synth_input_pad_new</link>, function in <link linkend="ags-AgsSynthInputPad">AgsSynthInputPad</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-lower-callback"><link linkend="ags-synth-lower-callback">ags_synth_lower_callback</link>, function in <link linkend="ags-ags-synth-callbacks">ags_synth_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-new"><link linkend="ags-synth-new">ags_synth_new</link>, function in <link linkend="ags-AgsSynth">AgsSynth</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-parent-set-callback"><link linkend="ags-synth-parent-set-callback">ags_synth_parent_set_callback</link>, function in <link linkend="ags-ags-synth-callbacks">ags_synth_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-saw"><link linkend="ags-synth-saw">ags_synth_saw</link>, function in <link linkend="ags-ags-synths">ags_synths</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-sin"><link linkend="ags-synth-sin">ags_synth_sin</link>, function in <link linkend="ags-ags-synths">ags_synths</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-square"><link linkend="ags-synth-square">ags_synth_square</link>, function in <link linkend="ags-ags-synths">ags_synths</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-triangle"><link linkend="ags-synth-triangle">ags_synth_triangle</link>, function in <link linkend="ags-ags-synths">ags_synths</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-synth-update-callback"><link linkend="ags-synth-update-callback">ags_synth_update_callback</link>, function in <link linkend="ags-ags-synth-callbacks">ags_synth_callbacks</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>T</title>
+<indexentry><primaryie linkends="AgsTable"><link linkend="AgsTable">AgsTable</link>, struct in <link linkend="ags-AgsTable">AgsTable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTableClass"><link linkend="AgsTableClass">AgsTableClass</link>, struct in <link linkend="ags-AgsTable">AgsTable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-table-new"><link linkend="ags-table-new">ags_table_new</link>, function in <link linkend="ags-AgsTable">AgsTable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTactable"><link linkend="AgsTactable">AgsTactable</link>, typedef in <link linkend="ags-AgsTactable">AgsTactable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTactableInterface"><link linkend="AgsTactableInterface">AgsTactableInterface</link>, struct in <link linkend="ags-AgsTactable">AgsTactable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tactable-change-bpm"><link linkend="ags-tactable-change-bpm">ags_tactable_change_bpm</link>, function in <link linkend="ags-AgsTactable">AgsTactable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tactable-change-notation-duration"><link linkend="ags-tactable-change-notation-duration">ags_tactable_change_notation_duration</link>, function in <link linkend="ags-AgsTactable">AgsTactable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tactable-change-sequencer-duration"><link linkend="ags-tactable-change-sequencer-duration">ags_tactable_change_sequencer_duration</link>, function in <link linkend="ags-AgsTactable">AgsTactable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tactable-change-tact"><link linkend="ags-tactable-change-tact">ags_tactable_change_tact</link>, function in <link linkend="ags-AgsTactable">AgsTactable</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tact-combo-box-new"><link linkend="ags-tact-combo-box-new">ags_tact_combo_box_new</link>, function in <link linkend="ags-AgsMenuBar">AgsMenuBar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tact-menu-new"><link linkend="ags-tact-menu-new">ags_tact_menu_new</link>, function in <link linkend="ags-AgsMenuBar">AgsMenuBar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTask"><link linkend="AgsTask">AgsTask</link>, struct in <link linkend="ags-AgsTask">AgsTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTaskClass"><link linkend="AgsTaskClass">AgsTaskClass</link>, struct in <link linkend="ags-AgsTask">AgsTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTaskFlags"><link linkend="AgsTaskFlags">AgsTaskFlags</link>, enum in <link linkend="ags-AgsTask">AgsTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTaskThread"><link linkend="AgsTaskThread">AgsTaskThread</link>, struct in <link linkend="ags-AgsTaskThread">AgsTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTaskThreadAppend"><link linkend="AgsTaskThreadAppend">AgsTaskThreadAppend</link>, struct in <link linkend="ags-AgsTaskThread">AgsTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTaskThreadClass"><link linkend="AgsTaskThreadClass">AgsTaskThreadClass</link>, struct in <link linkend="ags-AgsTaskThread">AgsTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-task-failure"><link linkend="ags-task-failure">ags_task_failure</link>, function in <link linkend="ags-AgsTask">AgsTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-task-launch"><link linkend="ags-task-launch">ags_task_launch</link>, function in <link linkend="ags-AgsTask">AgsTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-task-new"><link linkend="ags-task-new">ags_task_new</link>, function in <link linkend="ags-AgsTask">AgsTask</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-task-thread-append-task"><link linkend="ags-task-thread-append-task">ags_task_thread_append_task</link>, function in <link linkend="ags-AgsTaskThread">AgsTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-task-thread-append-tasks"><link linkend="ags-task-thread-append-tasks">ags_task_thread_append_tasks</link>, function in <link linkend="ags-AgsTaskThread">AgsTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TASK-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-TASK-THREAD-DEFAULT-JIFFIE:CAPS">AGS_TASK_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsTaskThread">AgsTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-task-thread-new"><link linkend="ags-task-thread-new">ags_task_thread_new</link>, function in <link linkend="ags-AgsTaskThread">AgsTaskThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsThread"><link linkend="AgsThread">AgsThread</link>, struct in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsThreadClass"><link linkend="AgsThreadClass">AgsThreadClass</link>, struct in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsThreadFlags"><link linkend="AgsThreadFlags">AgsThreadFlags</link>, enum in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsThreadPool"><link linkend="AgsThreadPool">AgsThreadPool</link>, struct in <link linkend="ags-AgsThreadPool">AgsThreadPool</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsThreadPoolClass"><link linkend="AgsThreadPoolClass">AgsThreadPoolClass</link>, struct in <link linkend="ags-AgsThreadPool">AgsThreadPool</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsThreadPoolFlags"><link linkend="AgsThreadPoolFlags">AgsThreadPoolFlags</link>, enum in <link linkend="ags-AgsThreadPool">AgsThreadPool</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-add-child"><link linkend="ags-thread-add-child">ags_thread_add_child</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-children-is-locked"><link linkend="ags-thread-children-is-locked">ags_thread_children_is_locked</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-THREAD-DEFAULT-ATTACK:CAPS"><link linkend="AGS-THREAD-DEFAULT-ATTACK:CAPS">AGS_THREAD_DEFAULT_ATTACK</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-THREAD-DEFAULT-JIFFIE:CAPS">AGS_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-first"><link linkend="ags-thread-first">ags_thread_first</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-get-toplevel"><link linkend="ags-thread-get-toplevel">ags_thread_get_toplevel</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-hangcheck"><link linkend="ags-thread-hangcheck">ags_thread_hangcheck</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-is-current-ready"><link linkend="ags-thread-is-current-ready">ags_thread_is_current_ready</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-is-tree-ready"><link linkend="ags-thread-is-tree-ready">ags_thread_is_tree_ready</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-last"><link linkend="ags-thread-last">ags_thread_last</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-lock"><link linkend="ags-thread-lock">ags_thread_lock</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-lock-all"><link linkend="ags-thread-lock-all">ags_thread_lock_all</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-lock-children"><link linkend="ags-thread-lock-children">ags_thread_lock_children</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-lock-parent"><link linkend="ags-thread-lock-parent">ags_thread_lock_parent</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-lock-sibling"><link linkend="ags-thread-lock-sibling">ags_thread_lock_sibling</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-THREAD-MAX-PRECISION:CAPS"><link linkend="AGS-THREAD-MAX-PRECISION:CAPS">AGS_THREAD_MAX_PRECISION</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-new"><link linkend="ags-thread-new">ags_thread_new</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-next-children-locked"><link linkend="ags-thread-next-children-locked">ags_thread_next_children_locked</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-next-parent-locked"><link linkend="ags-thread-next-parent-locked">ags_thread_next_parent_locked</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-next-sibling-locked"><link linkend="ags-thread-next-sibling-locked">ags_thread_next_sibling_locked</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-parental-is-locked"><link linkend="ags-thread-parental-is-locked">ags_thread_parental_is_locked</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-pool-new"><link linkend="ags-thread-pool-new">ags_thread_pool_new</link>, function in <link linkend="ags-AgsThreadPool">AgsThreadPool</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-pool-pull"><link linkend="ags-thread-pool-pull">ags_thread_pool_pull</link>, function in <link linkend="ags-AgsThreadPool">AgsThreadPool</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-pool-start"><link linkend="ags-thread-pool-start">ags_thread_pool_start</link>, function in <link linkend="ags-AgsThreadPool">AgsThreadPool</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-remove-child"><link linkend="ags-thread-remove-child">ags_thread_remove_child</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-resume"><link linkend="ags-thread-resume">ags_thread_resume</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-THREAD-RESUME-SIG:CAPS"><link linkend="AGS-THREAD-RESUME-SIG:CAPS">AGS_THREAD_RESUME_SIG</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-run"><link linkend="ags-thread-run">ags_thread_run</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-set-sync"><link linkend="ags-thread-set-sync">ags_thread_set_sync</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-set-sync-all"><link linkend="ags-thread-set-sync-all">ags_thread_set_sync_all</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-sibling-is-locked"><link linkend="ags-thread-sibling-is-locked">ags_thread_sibling_is_locked</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-signal-children"><link linkend="ags-thread-signal-children">ags_thread_signal_children</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-signal-parent"><link linkend="ags-thread-signal-parent">ags_thread_signal_parent</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-signal-sibling"><link linkend="ags-thread-signal-sibling">ags_thread_signal_sibling</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-THREAD-STACKSIZE:CAPS"><link linkend="AGS-THREAD-STACKSIZE:CAPS">AGS_THREAD_STACKSIZE</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-start"><link linkend="ags-thread-start">ags_thread_start</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-stop"><link linkend="ags-thread-stop">ags_thread_stop</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-suspend"><link linkend="ags-thread-suspend">ags_thread_suspend</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-THREAD-SUSPEND-SIG:CAPS"><link linkend="AGS-THREAD-SUSPEND-SIG:CAPS">AGS_THREAD_SUSPEND_SIG</link>, macro in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-timelock"><link linkend="ags-thread-timelock">ags_thread_timelock</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-trylock"><link linkend="ags-thread-trylock">ags_thread_trylock</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-unlock"><link linkend="ags-thread-unlock">ags_thread_unlock</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-unlock-all"><link linkend="ags-thread-unlock-all">ags_thread_unlock_all</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-unlock-children"><link linkend="ags-thread-unlock-children">ags_thread_unlock_children</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-unlock-parent"><link linkend="ags-thread-unlock-parent">ags_thread_unlock_parent</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-unlock-sibling"><link linkend="ags-thread-unlock-sibling">ags_thread_unlock_sibling</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-wait-children"><link linkend="ags-thread-wait-children">ags_thread_wait_children</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-wait-parent"><link linkend="ags-thread-wait-parent">ags_thread_wait_parent</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-thread-wait-sibling"><link linkend="ags-thread-wait-sibling">ags_thread_wait_sibling</link>, function in <link linkend="ags-AgsThread">AgsThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimebar"><link linkend="AgsTimebar">AgsTimebar</link>, struct in <link linkend="ags-AgsTimebar">AgsTimebar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimebarClass"><link linkend="AgsTimebarClass">AgsTimebarClass</link>, struct in <link linkend="ags-AgsTimebar">AgsTimebar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-timebar-new"><link linkend="ags-timebar-new">ags_timebar_new</link>, function in <link linkend="ags-AgsTimebar">AgsTimebar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimer"><link linkend="AgsTimer">AgsTimer</link>, struct in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-timer-alloc"><link linkend="ags-timer-alloc">ags_timer_alloc</link>, function in <link linkend="ags-AgsAsyncQueue">AgsAsyncQueue</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestamp"><link linkend="AgsTimestamp">AgsTimestamp</link>, struct in <link linkend="ags-AgsTimestamp">AgsTimestamp</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestampClass"><link linkend="AgsTimestampClass">AgsTimestampClass</link>, struct in <link linkend="ags-AgsTimestamp">AgsTimestamp</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestampFactory"><link linkend="AgsTimestampFactory">AgsTimestampFactory</link>, struct in <link linkend="ags-AgsTimestampFactory">AgsTimestampFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestampFactoryClass"><link linkend="AgsTimestampFactoryClass">AgsTimestampFactoryClass</link>, struct in <link linkend="ags-AgsTimestampFactory">AgsTimestampFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestampFactoryFlags"><link linkend="AgsTimestampFactoryFlags">AgsTimestampFactoryFlags</link>, enum in <link linkend="ags-AgsTimestampFactory">AgsTimestampFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestampFlags"><link linkend="AgsTimestampFlags">AgsTimestampFlags</link>, enum in <link linkend="ags-AgsTimestamp">AgsTimestamp</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestampThread"><link linkend="AgsTimestampThread">AgsTimestampThread</link>, struct in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTimestampThreadClass"><link linkend="AgsTimestampThreadClass">AgsTimestampThreadClass</link>, struct in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-timestamp-factory-create"><link linkend="ags-timestamp-factory-create">ags_timestamp_factory_create</link>, function in <link linkend="ags-AgsTimestampFactory">AgsTimestampFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-timestamp-factory-get-instance"><link linkend="ags-timestamp-factory-get-instance">ags_timestamp_factory_get_instance</link>, function in <link linkend="ags-AgsTimestampFactory">AgsTimestampFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-timestamp-factory-new"><link linkend="ags-timestamp-factory-new">ags_timestamp_factory_new</link>, function in <link linkend="ags-AgsTimestampFactory">AgsTimestampFactory</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-timestamp-new"><link linkend="ags-timestamp-new">ags_timestamp_new</link>, function in <link linkend="ags-AgsTimestamp">AgsTimestamp</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TIMESTAMP-THREAD-DEFAULT-BPM:CAPS"><link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-BPM:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_BPM</link>, macro in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TIMESTAMP-THREAD-DEFAULT-BUFFER-SIZE:CAPS"><link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-BUFFER-SIZE:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE</link>, macro in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TIMESTAMP-THREAD-DEFAULT-JIFFIE:CAPS"><link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-JIFFIE:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE</link>, macro in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TIMESTAMP-THREAD-DEFAULT-SAMPLERATE:CAPS"><link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-SAMPLERATE:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE</link>, macro in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TIMESTAMP-THREAD-DEFAULT-TIC:CAPS"><link linkend="AGS-TIMESTAMP-THREAD-DEFAULT-TIC:CAPS">AGS_TIMESTAMP_THREAD_DEFAULT_TIC</link>, macro in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-timestamp-thread-new"><link linkend="ags-timestamp-thread-new">ags_timestamp_thread_new</link>, function in <link linkend="ags-AgsTimestampThread">AgsTimestampThread</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsToggleLed"><link linkend="AgsToggleLed">AgsToggleLed</link>, struct in <link linkend="ags-AgsToggleLed">AgsToggleLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsToggleLedClass"><link linkend="AgsToggleLedClass">AgsToggleLedClass</link>, struct in <link linkend="ags-AgsToggleLed">AgsToggleLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTogglePatternBit"><link linkend="AgsTogglePatternBit">AgsTogglePatternBit</link>, struct in <link linkend="ags-AgsTogglePatternBit">AgsTogglePatternBit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTogglePatternBitClass"><link linkend="AgsTogglePatternBitClass">AgsTogglePatternBitClass</link>, struct in <link linkend="ags-AgsTogglePatternBit">AgsTogglePatternBit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toggle-led-new"><link linkend="ags-toggle-led-new">ags_toggle_led_new</link>, function in <link linkend="ags-AgsToggleLed">AgsToggleLed</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toggle-pattern-bit-new"><link linkend="ags-toggle-pattern-bit-new">ags_toggle_pattern_bit_new</link>, function in <link linkend="ags-AgsTogglePatternBit">AgsTogglePatternBit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toggle-pattern-bit-refresh-gui"><link linkend="ags-toggle-pattern-bit-refresh-gui">ags_toggle_pattern_bit_refresh_gui</link>, function in <link linkend="ags-AgsTogglePatternBit">AgsTogglePatternBit</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsToolbar"><link linkend="AgsToolbar">AgsToolbar</link>, struct in <link linkend="ags-AgsToolbar">AgsToolbar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsToolbarClass"><link linkend="AgsToolbarClass">AgsToolbarClass</link>, struct in <link linkend="ags-AgsToolbar">AgsToolbar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-clear-callback"><link linkend="ags-toolbar-clear-callback">ags_toolbar_clear_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-copy-or-cut-callback"><link linkend="ags-toolbar-copy-or-cut-callback">ags_toolbar_copy_or_cut_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-destroy-callback"><link linkend="ags-toolbar-destroy-callback">ags_toolbar_destroy_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-edit-callback"><link linkend="ags-toolbar-edit-callback">ags_toolbar_edit_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TOOLBAR-MODE-ALL-CHANNELS:CAPS"><link linkend="AGS-TOOLBAR-MODE-ALL-CHANNELS:CAPS">AGS_TOOLBAR_MODE_ALL_CHANNELS</link>, macro in <link linkend="ags-ags-toolbar-mode-stock">ags_toolbar_mode_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-mode-callback"><link linkend="ags-toolbar-mode-callback">ags_toolbar_mode_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TOOLBAR-MODE-MULTI-CHANNEL:CAPS"><link linkend="AGS-TOOLBAR-MODE-MULTI-CHANNEL:CAPS">AGS_TOOLBAR_MODE_MULTI_CHANNEL</link>, macro in <link linkend="ags-ags-toolbar-mode-stock">ags_toolbar_mode_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AGS-TOOLBAR-MODE-SINGLE-CHANNEL:CAPS"><link linkend="AGS-TOOLBAR-MODE-SINGLE-CHANNEL:CAPS">AGS_TOOLBAR_MODE_SINGLE_CHANNEL</link>, macro in <link linkend="ags-ags-toolbar-mode-stock">ags_toolbar_mode_stock</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-new"><link linkend="ags-toolbar-new">ags_toolbar_new</link>, function in <link linkend="ags-AgsToolbar">AgsToolbar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-paste-callback"><link linkend="ags-toolbar-paste-callback">ags_toolbar_paste_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-position-callback"><link linkend="ags-toolbar-position-callback">ags_toolbar_position_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-select-callback"><link linkend="ags-toolbar-select-callback">ags_toolbar_select_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-show-callback"><link linkend="ags-toolbar-show-callback">ags_toolbar_show_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-toolbar-zoom-callback"><link linkend="ags-toolbar-zoom-callback">ags_toolbar_zoom_callback</link>, function in <link linkend="ags-ags-toolbar-callbacks">ags_toolbar_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTreeIterator"><link linkend="AgsTreeIterator">AgsTreeIterator</link>, typedef in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsTreeIteratorInterface"><link linkend="AgsTreeIteratorInterface">AgsTreeIteratorInterface</link>, struct in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tree-iterator-is-inverse-mode"><link linkend="ags-tree-iterator-is-inverse-mode">ags_tree_iterator_is_inverse_mode</link>, function in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tree-iterator-iterate"><link linkend="ags-tree-iterator-iterate">ags_tree_iterator_iterate</link>, function in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tree-iterator-iterate-nested"><link linkend="ags-tree-iterator-iterate-nested">ags_tree_iterator_iterate_nested</link>, function in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tree-iterator-safe-iterate"><link linkend="ags-tree-iterator-safe-iterate">ags_tree_iterator_safe_iterate</link>, function in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tree-iterator-safe-iterate-nested"><link linkend="ags-tree-iterator-safe-iterate-nested">ags_tree_iterator_safe_iterate_nested</link>, function in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-tree-iterator-set-inverse-mode"><link linkend="ags-tree-iterator-set-inverse-mode">ags_tree_iterator_set_inverse_mode</link>, function in <link linkend="ags-AgsTreeIterator">AgsTreeIterator</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>U</title>
+<indexentry><primaryie linkends="AgsUnrefAudioSignal"><link linkend="AgsUnrefAudioSignal">AgsUnrefAudioSignal</link>, struct in <link linkend="ags-AgsUnrefAudioSignal">AgsUnrefAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsUnrefAudioSignalClass"><link linkend="AgsUnrefAudioSignalClass">AgsUnrefAudioSignalClass</link>, struct in <link linkend="ags-AgsUnrefAudioSignal">AgsUnrefAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-unref-audio-signal-new"><link linkend="ags-unref-audio-signal-new">ags_unref_audio_signal_new</link>, function in <link linkend="ags-AgsUnrefAudioSignal">AgsUnrefAudioSignal</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>V</title>
+<indexentry><primaryie linkends="AGS-VERSION:CAPS"><link linkend="AGS-VERSION:CAPS">AGS_VERSION</link>, macro in <link linkend="ags-AgsMain">AgsMain</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVIndicator"><link linkend="AgsVIndicator">AgsVIndicator</link>, struct in <link linkend="ags-AgsVIndicator">AgsVIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVIndicatorClass"><link linkend="AgsVIndicatorClass">AgsVIndicatorClass</link>, struct in <link linkend="ags-AgsVIndicator">AgsVIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-vindicator-new"><link linkend="ags-vindicator-new">ags_vindicator_new</link>, function in <link linkend="ags-AgsVIndicator">AgsVIndicator</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeAudioSignal"><link linkend="AgsVolumeAudioSignal">AgsVolumeAudioSignal</link>, struct in <link linkend="ags-AgsVolumeAudioSignal">AgsVolumeAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeAudioSignalClass"><link linkend="AgsVolumeAudioSignalClass">AgsVolumeAudioSignalClass</link>, struct in <link linkend="ags-AgsVolumeAudioSignal">AgsVolumeAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeChannel"><link linkend="AgsVolumeChannel">AgsVolumeChannel</link>, struct in <link linkend="ags-AgsVolumeChannel">AgsVolumeChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeChannelClass"><link linkend="AgsVolumeChannelClass">AgsVolumeChannelClass</link>, struct in <link linkend="ags-AgsVolumeChannel">AgsVolumeChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeChannelRun"><link linkend="AgsVolumeChannelRun">AgsVolumeChannelRun</link>, struct in <link linkend="ags-AgsVolumeChannelRun">AgsVolumeChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeChannelRunClass"><link linkend="AgsVolumeChannelRunClass">AgsVolumeChannelRunClass</link>, struct in <link linkend="ags-AgsVolumeChannelRun">AgsVolumeChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeRecycling"><link linkend="AgsVolumeRecycling">AgsVolumeRecycling</link>, struct in <link linkend="ags-AgsVolumeRecycling">AgsVolumeRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsVolumeRecyclingClass"><link linkend="AgsVolumeRecyclingClass">AgsVolumeRecyclingClass</link>, struct in <link linkend="ags-AgsVolumeRecycling">AgsVolumeRecycling</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-volume-audio-signal-new"><link linkend="ags-volume-audio-signal-new">ags_volume_audio_signal_new</link>, function in <link linkend="ags-AgsVolumeAudioSignal">AgsVolumeAudioSignal</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-volume-channel-new"><link linkend="ags-volume-channel-new">ags_volume_channel_new</link>, function in <link linkend="ags-AgsVolumeChannel">AgsVolumeChannel</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-volume-channel-run-new"><link linkend="ags-volume-channel-run-new">ags_volume_channel_run_new</link>, function in <link linkend="ags-AgsVolumeChannelRun">AgsVolumeChannelRun</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-volume-recycling-new"><link linkend="ags-volume-recycling-new">ags_volume_recycling_new</link>, function in <link linkend="ags-AgsVolumeRecycling">AgsVolumeRecycling</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>W</title>
+<indexentry><primaryie linkends="AgsWaveform"><link linkend="AgsWaveform">AgsWaveform</link>, struct in <link linkend="ags-AgsWaveform">AgsWaveform</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsWaveformClass"><link linkend="AgsWaveformClass">AgsWaveformClass</link>, struct in <link linkend="ags-AgsWaveform">AgsWaveform</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-waveform-new"><link linkend="ags-waveform-new">ags_waveform_new</link>, function in <link linkend="ags-AgsWaveform">AgsWaveform</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsWindow"><link linkend="AgsWindow">AgsWindow</link>, struct in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsWindowClass"><link linkend="AgsWindowClass">AgsWindowClass</link>, struct in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="AgsWindowFlags"><link linkend="AgsWindowFlags">AgsWindowFlags</link>, enum in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-window-decrement-machine-counter"><link linkend="ags-window-decrement-machine-counter">ags_window_decrement_machine_counter</link>, function in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-window-delete-event-callback"><link linkend="ags-window-delete-event-callback">ags_window_delete_event_callback</link>, function in <link linkend="ags-ags-window-callbacks">ags_window_callbacks</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-window-find-machine-counter"><link linkend="ags-window-find-machine-counter">ags_window_find_machine_counter</link>, function in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-window-increment-machine-counter"><link linkend="ags-window-increment-machine-counter">ags_window_increment_machine_counter</link>, function in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-window-new"><link linkend="ags-window-new">ags_window_new</link>, function in <link linkend="ags-AgsWindow">AgsWindow</link></primaryie></indexentry>
+</indexdiv>
+<indexdiv><title>Z</title>
+<indexentry><primaryie linkends="ags-zoom-combo-box-new"><link linkend="ags-zoom-combo-box-new">ags_zoom_combo_box_new</link>, function in <link linkend="ags-AgsMenuBar">AgsMenuBar</link></primaryie></indexentry>
+<indexentry><primaryie linkends="ags-zoom-menu-new"><link linkend="ags-zoom-menu-new">ags_zoom_menu_new</link>, function in <link linkend="ags-AgsMenuBar">AgsMenuBar</link></primaryie></indexentry>
+</indexdiv>
+</indexdiv>
diff --git a/doc/reference/ags/xml/jmath.xml b/doc/reference/ags/xml/jmath.xml
new file mode 100644
index 0000000..f2ff621
--- /dev/null
+++ b/doc/reference/ags/xml/jmath.xml
@@ -0,0 +1,251 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-jmath">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-jmath.top_of_page">jmath</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>jmath</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-jmath.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis><link linkend="char"><returnvalue>char</returnvalue></link> * <link linkend="j-math-algebra-brackeds-out">j_math_algebra_brackeds_out</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="char"><returnvalue>char</returnvalue></link> * <link linkend="j-math-algebra-functions-out">j_math_algebra_functions_out</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="char"><returnvalue>char</returnvalue></link> * <link linkend="j-math-algebra-operations-out">j_math_algebra_operations_out</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> * <link linkend="j-math-algebra-solve">j_math_algebra_solve</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *operation</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-and">j_math_and</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);
+<link linkend="JList"><returnvalue>JList</returnvalue></link> * <link linkend="j-math-cut-leading-zeros">j_math_cut_leading_zeros</link> (<parameter><link linkend="JList"><type>JList</type></link> *value</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-exclusive-or">j_math_exclusive_or</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-exp">j_math_exp</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-exp2">j_math_exp2</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> * <link linkend="j-math-gauss">j_math_gauss</link> (<parameter><link linkend="char"><type>char</type></link> **string</parameter>,
+ <parameter><link linkend="uint"><type>uint</type></link> count</parameter>);
+<link linkend="char"><returnvalue>char</returnvalue></link> * <link linkend="j-math-get-first-level-operator">j_math_get_first_level_operator</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="char"><returnvalue>char</returnvalue></link> * <link linkend="j-math-get-second-level-operator">j_math_get_second_level_operator</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> <link linkend="j-math-is-function">j_math_is_function</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> <link linkend="j-math-is-function-backward">j_math_is_function_backward</link> (<parameter><link linkend="char"><type>char</type></link> *start</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> <link linkend="j-math-is-operator">j_math_is_operator</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> <link linkend="j-math-less">j_math_less</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="j-math-make-valid">j_math_make_valid</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> <link linkend="j-math-more">j_math_more</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-or">j_math_or</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="j-math-put-null-at-beginning">j_math_put_null_at_beginning</link> (<parameter><link linkend="int"><type>int</type></link> *array</parameter>,
+ <parameter><link linkend="uint"><type>uint</type></link> size</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="j-math-put-null-at-end">j_math_put_null_at_end</link> (<parameter><link linkend="int"><type>int</type></link> *array</parameter>,
+ <parameter><link linkend="uint"><type>uint</type></link> size</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-root">j_math_root</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-root2">j_math_root2</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> <link linkend="j-math-solve-arithmetic">j_math_solve_arithmetic</link> (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);
+<link linkend="int"><returnvalue>int</returnvalue></link> * <link linkend="j-math-sort-array">j_math_sort_array</link> (<parameter><link linkend="int"><type>int</type></link> *array</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> size</parameter>);
+<link linkend="uint"><returnvalue>uint</returnvalue></link> <link linkend="j-math-width">j_math_width</link> (<parameter><link linkend="int"><type>int</type></link> a</parameter>);
+<link linkend="JList"><returnvalue>JList</returnvalue></link> * <link linkend="j-math-width-list">j_math_width_list</link> (<parameter><link linkend="JList"><type>JList</type></link> *list</parameter>);
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-jmath.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-jmath.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="j-math-algebra-brackeds-out" role="function">
+<title>j_math_algebra_brackeds_out ()</title>
+<indexterm zone="j-math-algebra-brackeds-out"><primary>j_math_algebra_brackeds_out</primary></indexterm>
+<programlisting><link linkend="char"><returnvalue>char</returnvalue></link> * j_math_algebra_brackeds_out (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-algebra-functions-out" role="function">
+<title>j_math_algebra_functions_out ()</title>
+<indexterm zone="j-math-algebra-functions-out"><primary>j_math_algebra_functions_out</primary></indexterm>
+<programlisting><link linkend="char"><returnvalue>char</returnvalue></link> * j_math_algebra_functions_out (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-algebra-operations-out" role="function">
+<title>j_math_algebra_operations_out ()</title>
+<indexterm zone="j-math-algebra-operations-out"><primary>j_math_algebra_operations_out</primary></indexterm>
+<programlisting><link linkend="char"><returnvalue>char</returnvalue></link> * j_math_algebra_operations_out (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-algebra-solve" role="function">
+<title>j_math_algebra_solve ()</title>
+<indexterm zone="j-math-algebra-solve"><primary>j_math_algebra_solve</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> * j_math_algebra_solve (<parameter><link linkend="char"><type>char</type></link> *string</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *operation</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-and" role="function">
+<title>j_math_and ()</title>
+<indexterm zone="j-math-and"><primary>j_math_and</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_and (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-cut-leading-zeros" role="function">
+<title>j_math_cut_leading_zeros ()</title>
+<indexterm zone="j-math-cut-leading-zeros"><primary>j_math_cut_leading_zeros</primary></indexterm>
+<programlisting><link linkend="JList"><returnvalue>JList</returnvalue></link> * j_math_cut_leading_zeros (<parameter><link linkend="JList"><type>JList</type></link> *value</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-exclusive-or" role="function">
+<title>j_math_exclusive_or ()</title>
+<indexterm zone="j-math-exclusive-or"><primary>j_math_exclusive_or</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_exclusive_or (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-exp" role="function">
+<title>j_math_exp ()</title>
+<indexterm zone="j-math-exp"><primary>j_math_exp</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_exp (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-exp2" role="function">
+<title>j_math_exp2 ()</title>
+<indexterm zone="j-math-exp2"><primary>j_math_exp2</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_exp2 (<parameter><link linkend="int"><type>int</type></link> a</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-gauss" role="function">
+<title>j_math_gauss ()</title>
+<indexterm zone="j-math-gauss"><primary>j_math_gauss</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> * j_math_gauss (<parameter><link linkend="char"><type>char</type></link> **string</parameter>,
+ <parameter><link linkend="uint"><type>uint</type></link> count</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-get-first-level-operator" role="function">
+<title>j_math_get_first_level_operator ()</title>
+<indexterm zone="j-math-get-first-level-operator"><primary>j_math_get_first_level_operator</primary></indexterm>
+<programlisting><link linkend="char"><returnvalue>char</returnvalue></link> * j_math_get_first_level_operator (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-get-second-level-operator" role="function">
+<title>j_math_get_second_level_operator ()</title>
+<indexterm zone="j-math-get-second-level-operator"><primary>j_math_get_second_level_operator</primary></indexterm>
+<programlisting><link linkend="char"><returnvalue>char</returnvalue></link> * j_math_get_second_level_operator (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-is-function" role="function">
+<title>j_math_is_function ()</title>
+<indexterm zone="j-math-is-function"><primary>j_math_is_function</primary></indexterm>
+<programlisting><link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> j_math_is_function (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-is-function-backward" role="function">
+<title>j_math_is_function_backward ()</title>
+<indexterm zone="j-math-is-function-backward"><primary>j_math_is_function_backward</primary></indexterm>
+<programlisting><link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> j_math_is_function_backward (<parameter><link linkend="char"><type>char</type></link> *start</parameter>,
+ <parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-is-operator" role="function">
+<title>j_math_is_operator ()</title>
+<indexterm zone="j-math-is-operator"><primary>j_math_is_operator</primary></indexterm>
+<programlisting><link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> j_math_is_operator (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-less" role="function">
+<title>j_math_less ()</title>
+<indexterm zone="j-math-less"><primary>j_math_less</primary></indexterm>
+<programlisting><link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> j_math_less (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-make-valid" role="function">
+<title>j_math_make_valid ()</title>
+<indexterm zone="j-math-make-valid"><primary>j_math_make_valid</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> j_math_make_valid (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-more" role="function">
+<title>j_math_more ()</title>
+<indexterm zone="j-math-more"><primary>j_math_more</primary></indexterm>
+<programlisting><link linkend="jboolean"><returnvalue>jboolean</returnvalue></link> j_math_more (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-or" role="function">
+<title>j_math_or ()</title>
+<indexterm zone="j-math-or"><primary>j_math_or</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_or (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-put-null-at-beginning" role="function">
+<title>j_math_put_null_at_beginning ()</title>
+<indexterm zone="j-math-put-null-at-beginning"><primary>j_math_put_null_at_beginning</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> j_math_put_null_at_beginning (<parameter><link linkend="int"><type>int</type></link> *array</parameter>,
+ <parameter><link linkend="uint"><type>uint</type></link> size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-put-null-at-end" role="function">
+<title>j_math_put_null_at_end ()</title>
+<indexterm zone="j-math-put-null-at-end"><primary>j_math_put_null_at_end</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> j_math_put_null_at_end (<parameter><link linkend="int"><type>int</type></link> *array</parameter>,
+ <parameter><link linkend="uint"><type>uint</type></link> size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-root" role="function">
+<title>j_math_root ()</title>
+<indexterm zone="j-math-root"><primary>j_math_root</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_root (<parameter><link linkend="int"><type>int</type></link> a</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> b</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-root2" role="function">
+<title>j_math_root2 ()</title>
+<indexterm zone="j-math-root2"><primary>j_math_root2</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_root2 (<parameter><link linkend="int"><type>int</type></link> a</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-solve-arithmetic" role="function">
+<title>j_math_solve_arithmetic ()</title>
+<indexterm zone="j-math-solve-arithmetic"><primary>j_math_solve_arithmetic</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> j_math_solve_arithmetic (<parameter><link linkend="char"><type>char</type></link> *string</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-sort-array" role="function">
+<title>j_math_sort_array ()</title>
+<indexterm zone="j-math-sort-array"><primary>j_math_sort_array</primary></indexterm>
+<programlisting><link linkend="int"><returnvalue>int</returnvalue></link> * j_math_sort_array (<parameter><link linkend="int"><type>int</type></link> *array</parameter>,
+ <parameter><link linkend="int"><type>int</type></link> size</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-width" role="function">
+<title>j_math_width ()</title>
+<indexterm zone="j-math-width"><primary>j_math_width</primary></indexterm>
+<programlisting><link linkend="uint"><returnvalue>uint</returnvalue></link> j_math_width (<parameter><link linkend="int"><type>int</type></link> a</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="j-math-width-list" role="function">
+<title>j_math_width_list ()</title>
+<indexterm zone="j-math-width-list"><primary>j_math_width_list</primary></indexterm>
+<programlisting><link linkend="JList"><returnvalue>JList</returnvalue></link> * j_math_width_list (<parameter><link linkend="JList"><type>JList</type></link> *list</parameter>);</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/reference/ags/xml/main.xml b/doc/reference/ags/xml/main.xml
new file mode 100644
index 0000000..0c07ccf
--- /dev/null
+++ b/doc/reference/ags/xml/main.xml
@@ -0,0 +1,194 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="ags-AgsMain">
+<refmeta>
+<refentrytitle role="top_of_page" id="ags-AgsMain.top_of_page">AgsMain</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>
+ AGS Library
+</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>AgsMain</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv id="ags-AgsMain.synopsis" role="synopsis">
+<title role="synopsis.title">Synopsis</title>
+
+<synopsis>#define <link linkend="AGS-BUILD-ID:CAPS">AGS_BUILD_ID</link>
+#define <link linkend="AGS-EFFECTS-DEFAULT-VERSION:CAPS">AGS_EFFECTS_DEFAULT_VERSION</link>
+#define <link linkend="AGS-PRIORITY:CAPS">AGS_PRIORITY</link>
+#define <link linkend="AGS-VERSION:CAPS">AGS_VERSION</link>
+#define <link linkend="ALSA-PCM-NEW-HW-PARAMS-API:CAPS">ALSA_PCM_NEW_HW_PARAMS_API</link>
+struct <link linkend="AgsMain">AgsMain</link>;
+struct <link linkend="AgsMainClass">AgsMainClass</link>;
+enum <link linkend="AgsMainFlags">AgsMainFlags</link>;
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-add-devout">ags_main_add_devout</link> (<parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-load-config">ags_main_load_config</link> (<parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>);
+<link linkend="AgsMain"><returnvalue>AgsMain</returnvalue></link> * <link linkend="ags-main-new">ags_main_new</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-quit">ags_main_quit</link> (<parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>);
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-register-machine-type">ags_main_register_machine_type</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-register-recall-type">ags_main_register_recall_type</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-register-task-type">ags_main_register_task_type</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-register-thread-type">ags_main_register_thread_type</link> ();
+<link linkend="void"><returnvalue>void</returnvalue></link> <link linkend="ags-main-register-widget-type">ags_main_register_widget_type</link> ();
+</synopsis>
+</refsynopsisdiv>
+
+<refsect1 id="ags-AgsMain.description" role="desc">
+<title role="desc.title">Description</title>
+<para>
+</para>
+</refsect1>
+<refsect1 id="ags-AgsMain.details" role="details">
+<title role="details.title">Details</title>
+<refsect2 id="AGS-BUILD-ID:CAPS" role="macro">
+<title>AGS_BUILD_ID</title>
+<indexterm zone="AGS-BUILD-ID:CAPS"><primary>AGS_BUILD_ID</primary></indexterm>
+<programlisting>#define AGS_BUILD_ID "CEST 02-10-2014 19:36\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-EFFECTS-DEFAULT-VERSION:CAPS" role="macro">
+<title>AGS_EFFECTS_DEFAULT_VERSION</title>
+<indexterm zone="AGS-EFFECTS-DEFAULT-VERSION:CAPS"><primary>AGS_EFFECTS_DEFAULT_VERSION</primary></indexterm>
+<programlisting>#define AGS_EFFECTS_DEFAULT_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-PRIORITY:CAPS" role="macro">
+<title>AGS_PRIORITY</title>
+<indexterm zone="AGS-PRIORITY:CAPS"><primary>AGS_PRIORITY</primary></indexterm>
+<programlisting>#define AGS_PRIORITY (0)
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AGS-VERSION:CAPS" role="macro">
+<title>AGS_VERSION</title>
+<indexterm zone="AGS-VERSION:CAPS"><primary>AGS_VERSION</primary></indexterm>
+<programlisting>#define AGS_VERSION "0.4.2\0"
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ALSA-PCM-NEW-HW-PARAMS-API:CAPS" role="macro">
+<title>ALSA_PCM_NEW_HW_PARAMS_API</title>
+<indexterm zone="ALSA-PCM-NEW-HW-PARAMS-API:CAPS"><primary>ALSA_PCM_NEW_HW_PARAMS_API</primary></indexterm>
+<programlisting>#define ALSA_PCM_NEW_HW_PARAMS_API
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMain" role="struct">
+<title>struct AgsMain</title>
+<indexterm zone="AgsMain"><primary>AgsMain</primary></indexterm>
+<programlisting>struct AgsMain {
+ GObject object;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+#ifdef AGS_WITH_XMLRPC_C
+ xmlrpc_env env;
+#endif
+
+ AgsThread *main_loop;
+ AgsThread *autosave_thread;
+ AgsThreadPool *thread_pool;
+
+ AgsServer *server;
+
+ GList *devout;
+
+ AgsWindow *window;
+
+ AgsConfig *config;
+ AgsLog *log;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMainClass" role="struct">
+<title>struct AgsMainClass</title>
+<indexterm zone="AgsMainClass"><primary>AgsMainClass</primary></indexterm>
+<programlisting>struct AgsMainClass {
+ GObjectClass object;
+};
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="AgsMainFlags" role="enum">
+<title>enum AgsMainFlags</title>
+<indexterm zone="AgsMainFlags"><primary>AgsMainFlags</primary></indexterm>
+<programlisting>typedef enum {
+ AGS_MAIN_SINGLE_THREAD = 1,
+ AGS_MAIN_CONNECTED = 1 << 1,
+} AgsMainFlags;
+</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-add-devout" role="function">
+<title>ags_main_add_devout ()</title>
+<indexterm zone="ags-main-add-devout"><primary>ags_main_add_devout</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_add_devout (<parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>,
+ <parameter><link linkend="AgsDevout"><type>AgsDevout</type></link> *devout</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-load-config" role="function">
+<title>ags_main_load_config ()</title>
+<indexterm zone="ags-main-load-config"><primary>ags_main_load_config</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_load_config (<parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-new" role="function">
+<title>ags_main_new ()</title>
+<indexterm zone="ags-main-new"><primary>ags_main_new</primary></indexterm>
+<programlisting><link linkend="AgsMain"><returnvalue>AgsMain</returnvalue></link> * ags_main_new ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-quit" role="function">
+<title>ags_main_quit ()</title>
+<indexterm zone="ags-main-quit"><primary>ags_main_quit</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_quit (<parameter><link linkend="AgsMain"><type>AgsMain</type></link> *ags_main</parameter>);</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-register-machine-type" role="function">
+<title>ags_main_register_machine_type ()</title>
+<indexterm zone="ags-main-register-machine-type"><primary>ags_main_register_machine_type</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_register_machine_type ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-register-recall-type" role="function">
+<title>ags_main_register_recall_type ()</title>
+<indexterm zone="ags-main-register-recall-type"><primary>ags_main_register_recall_type</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_register_recall_type ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-register-task-type" role="function">
+<title>ags_main_register_task_type ()</title>
+<indexterm zone="ags-main-register-task-type"><primary>ags_main_register_task_type</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_register_task_type ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-register-thread-type" role="function">
+<title>ags_main_register_thread_type ()</title>
+<indexterm zone="ags-main-register-thread-type"><primary>ags_main_register_thread_type</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_register_thread_type ();</programlisting>
+<para>
+</para></refsect2>
+<refsect2 id="ags-main-register-widget-type" role="function">
+<title>ags_main_register_widget_type ()</title>
+<indexterm zone="ags-main-register-widget-type"><primary>ags_main_register_widget_type</primary></indexterm>
+<programlisting><link linkend="void"><returnvalue>void</returnvalue></link> ags_main_register_widget_type ();</programlisting>
+<para>
+</para></refsect2>
+
+</refsect1>
+
+</refentry>
diff --git a/doc/usersBook.xml b/doc/usersBook.xml
new file mode 100644
index 0000000..a2712cb
--- /dev/null
+++ b/doc/usersBook.xml
@@ -0,0 +1,42 @@
+<?xml version='1.0' encoding="utf-8"?>
+<!DOCTYPE book [
+<!ENTITY jkraehemann "Joël Krähemann">
+]>
+<book xmlns="http://docbook.org/ns/docbook"
+ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
+ <title>Advanced Gtk+ Sequencer</title>
+ <subtitle>User's Handbook</subtitle>
+
+ <info>
+ <legalnotice>
+ <para>
+ Copyright (C) &jkraehemann;.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ A copy of the license is included in the section entitled "GNU
+ Free Documentation License".
+ </para>
+ </legalnotice>
+ <author>
+ <personname>
+ <firstname>Joël</firstname>
+ <surname>Krähemann</surname>
+ </personname>
+ </author>
+ </info>
+
+ <dedication>
+ <para>This book is dedicated to my father †Hans-Jörg Krähemann.</para>
+ </dedication>
+
+ <xi:include href="usersBook/preface.xml"/>
+ <xi:include href="usersBook/chap1.xml"/>
+ <xi:include href="usersBook/chap2.xml"/>
+ <xi:include href="usersBook/chap3.xml"/>
+ <xi:include href="usersBook/chap4.xml"/>
+ <xi:include href="appa.xml"/>
+ <xi:include href="usersBook/appb.xml"/>
+
+</book>
diff --git a/doc/usersBook/appb.xml b/doc/usersBook/appb.xml
new file mode 100644
index 0000000..d6bdac7
--- /dev/null
+++ b/doc/usersBook/appb.xml
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding="utf-8"?>
+<appendix>
+ <title>Resources</title>
+ <para>
+ <!-- TODO:JK: write some content -->
+ </para>
+</appendix>
diff --git a/doc/usersBook/chap1.xml b/doc/usersBook/chap1.xml
new file mode 100644
index 0000000..5b4103b
--- /dev/null
+++ b/doc/usersBook/chap1.xml
@@ -0,0 +1,120 @@
+<?xml version='1.0' encoding="utf-8"?>
+<!DOCTYPE book [
+<!ENTITY backwardIcon "/usr/share/icons/gnome/scalable/actions/media-skip-backward-symbolic.svg">
+<!ENTITY previousIcon "/usr/share/icons/gnome/scalable/actions/media-seek-backward-symbolic.svg">
+<!ENTITY playIcon "/usr/share/icons/gnome/scalable/actions/media-playback-start-symbolic.svg">
+<!ENTITY stopIcon "/usr/share/icons/gnome/scalable/actions/media-playback-stop-symbolic.svg">
+<!ENTITY nextIcon "/usr/share/icons/gnome/scalable/actions/media-seek-forward-symbolic.svg">
+<!ENTITY forwardIcon "/usr/share/icons/gnome/scalable/actions/media-skip-forward-symbolic.svg">
+]>
+<chapter xmlns="http://docbook.org/ns/docbook" version="5.0">
+ <title>The navigation</title>
+ <imagedata fileref="../images/ags_navigation.png" />
+ <para>
+ With the navigation you have overall control of your song. Settings you perform
+ here may influence the behaviour of AGS.
+ </para>
+
+ <sect1>
+ <title>BPM</title>
+ <para>
+ The beats per minute (BPM for short) indicates the velocity of a song being
+ played. To adjust the BPM of the project in-/decrement the spinner labeled
+ with bpm. To edit patterns or notes at a more granular rate select the wished
+ tact within the appropriate engine or editor.
+ </para>
+ <para>
+ To calculate timings you divide 1 minute with the entered BPM and divide it
+ with basic. For example you have a BPM rate of 120:
+ </para>
+ <equation>
+ <mathphrase>t = 1 / 120</mathphrase>
+ </equation>
+ </sect1>
+
+ <sect1>
+ <title>Playback controls</title>
+ <para>
+ With these controls you can play/stop a song or seek to the wished position.
+ </para>
+ <table>
+ <title>AGS playback controls table</title>
+ <tgroup cols="3" align="left" colsep='1' rowsep='1'>
+ <thead>
+ <row>
+ <entry>icon</entry>
+ <entry>action</entry>
+ <entry>description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><imagedata fileref="&backwardIcon;" /></entry>
+ <entry>backward</entry>
+ <entry>Seeking back until it's pressed again.</entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&previousIcon;" /></entry>
+ <entry>previous</entry>
+ <entry>Seeking back until it's not pressed anymore.</entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&playIcon;" /></entry>
+ <entry>play</entry>
+ <entry>Starts the engines and the piano roll.</entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&stopIcon;" /></entry>
+ <entry>stop</entry>
+ <entry>Stops the engines and the piano roll.</entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&nextIcon;" /></entry>
+ <entry>next</entry>
+ <entry>Seeking forward until it's not pressed anymore.</entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&forwardIcon;" /></entry>
+ <entry>forward</entry>
+ <entry>Seeking forward until it's pressed again.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </sect1>
+
+ <sect1>
+ <title>Loop</title>
+ <para>
+ By enabling control notation loops. More loop related control see <see>Auto-Scroll</see>.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Position</title>
+ <para>
+ Display or change position of playback, consider <see>Loop</see> control.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Duration</title>
+ <para>
+ Display or change duration of playback.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Loop offset</title>
+ <para>
+ Set offset of loop, enable/disable by <see>Loop</see>.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Auto-Scroll</title>
+ <para>
+ Scroll during playback, influenced by <see>Position</see>.
+ </para>
+ </sect1>
+</chapter>
diff --git a/doc/usersBook/chap2.xml b/doc/usersBook/chap2.xml
new file mode 100644
index 0000000..cff7fdc
--- /dev/null
+++ b/doc/usersBook/chap2.xml
@@ -0,0 +1,95 @@
+<?xml version='1.0' encoding="utf-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook" version="5.0">
+ <title>Engines</title>
+ <imagedata fileref="../images/ags_menu.png" />
+
+ <para>
+ You can add engines by activating the appropriate menu item within
+ the "add" submenu of the "edit" menu item. You may change the properties
+ of an engine by opening the properties dialog from the context menu.
+ From the context menu you may perform some other tasks, too.
+ </para>
+ <itemizedlist mark="bullet">
+ <listitem>
+ <para>
+ To move up or down an engine open context menu and activate "up"
+ respectively "down" entry.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ To show or hide an engine open context menu and activate "show"
+ respectively "hide" entry. Note the engines won't be hidden entirely
+ they are just collapsed.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ To rename an engine open context menu and activate "rename" entry.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ To remove an engine open context menu and activate "destroy" entry.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ To open properties dialog open context menu and activate "properties"
+ entry.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <sect1>
+ <title>Panel</title>
+ <imagedata fileref="../images/ags_panel.png" />
+ <para>
+ The panel is used to output to your soundcard.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Mixer</title>
+ <imagedata fileref="../images/ags_mixer.png" />
+ <para>
+ Bundle audio lines with the mixer and perform toplevel stream manipulation.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Drum</title>
+ <imagedata fileref="../images/ags_drum.png" />
+ <para>
+ Produce an audio stream by defining a pattern. The drum supports opening
+ audio files and associate to its input.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Matrix</title>
+ <imagedata fileref="../images/ags_matrix.png" />
+ <para>
+ Produce an audio stream by defining a pattern. The matrix itselves doesn't
+ have any audio signals on its own input you may rather link it to a synth
+ engine.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Synth</title>
+ <imagedata fileref="../images/ags_synth.png" />
+ <para>
+ Produce audio data using its oscillators.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>FFPlayer</title>
+ <imagedata fileref="../images/ags_ffplayer.png" />
+ <para>
+ Produce audio data by opening audio containers like Soundfont2 files.
+ </para>
+ </sect1>
+
+</chapter>
diff --git a/doc/usersBook/chap3.xml b/doc/usersBook/chap3.xml
new file mode 100644
index 0000000..b688fa5
--- /dev/null
+++ b/doc/usersBook/chap3.xml
@@ -0,0 +1,105 @@
+<?xml version='1.0' encoding="utf-8"?>
+<!DOCTYPE book [
+<!ENTITY indexMenuIcon "/usr/share/icons/gnome/scalable/actions/system-run-symbolic.svg">
+<!ENTITY cursorIcon "/usr/share/icons/gnome/scalable/actions/go-jump-symbolic.svg">
+<!ENTITY notesIcon "/usr/share/icons/gnome/scalable/mimetypes/audio-x-generic-symbolic.svg">
+<!ENTITY deleteIcon "/usr/share/icons/gnome/scalable/actions/edit-delete-symbolic.svg">
+<!ENTITY selectIcon "/usr/share/icons/gnome/scalable/actions/edit-select-symbolic.svg">
+<!ENTITY copyIcon "/usr/share/icons/gnome/scalable/actions/edit-copy-symbolic.svg">
+<!ENTITY cutIcon "/usr/share/icons/gnome/scalable/actions/edit-cut-symbolic.svg">
+<!ENTITY pasteIcon "/usr/share/icons/gnome/scalable/actions/edit-paste-symbolic.svg">
+]>
+<chapter xmlns="http://docbook.org/ns/docbook" version="5.0">
+ <title>Editor</title>
+ <imagedata fileref="../images/ags_editor.png" />
+ <para>
+ The editor features a piano roll. After linking an editor index with an enginge
+ You may perform tasks like adding notes or copy, cut and paste them. You may
+ change view segmentation, too.
+ </para>
+
+ <sect1>
+ <title>Linking</title>
+ <para>
+ Before you might perform any task with the editor you have to link engines
+ by adding an index. Then you should link it with an engine. That can all be
+ done by using the menu button <imagedata fileref="&indexMenuIcon;" /> of the
+ index list.
+ </para>
+ </sect1>
+
+ <sect1>
+ <title>Toolbar</title>
+ <imagedata fileref="../images/ags-toolbar.png" />
+ <para>
+ In the table below are the various buttons explained you may use for editing.
+ </para>
+ <table>
+ <title>AGS editor toolbar controls table.</title>
+ <tgroup cols="3" align="left" colsep='1' rowsep='1'>
+ <thead>
+ <row>
+ <entry>icon</entry>
+ <entry>action</entry>
+ <entry>description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><imagedata fileref="&cursorIcon;" /></entry>
+ <entry>cursor</entry>
+ <entry>
+ You may want to set the cursor to paste notes at the position where it
+ is located.
+ </entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="¬esIcon;" /></entry>
+ <entry>notes</entry>
+ <entry>
+ Add notes by clicking within the piano roll and move to till them having
+ the wished duration.
+ </entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&deleteIcon;" /></entry>
+ <entry>delete</entry>
+ <entry>
+ Delete notes by clicking on the note you don't want anymore.
+ </entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&selectIcon;" /></entry>
+ <entry>select</entry>
+ <entry>
+ Select notes to copy or cut them.
+ </entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="©Icon;" /></entry>
+ <entry>copy</entry>
+ <entry>
+ Copy notes to the clipboard.
+ </entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&cutIcon;" /></entry>
+ <entry>cut</entry>
+ <entry>
+ Cut notes to the clipboard.
+ </entry>
+ </row>
+ <row>
+ <entry><imagedata fileref="&pasteIcon;" /></entry>
+ <entry>paste</entry>
+ <entry>
+ Paste the previously copied or cutted notes at the cursor position or
+ just insert them where they are/were located.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </sect1>
+
+</chapter>
diff --git a/doc/usersBook/preface.xml b/doc/usersBook/preface.xml
new file mode 100644
index 0000000..1fa6716
--- /dev/null
+++ b/doc/usersBook/preface.xml
@@ -0,0 +1,34 @@
+<?xml version='1.0' encoding="utf-8"?>
+<!DOCTYPE book [
+<!ENTITY win98 "Microsoft Windows 98">
+<!ENTITY java2 "Sun Microsystem's Java 1.2">
+<!ENTITY n160 "Compaq Evo n160">
+<!ENTITY stallman "Richard Stallman">
+<!ENTITY ags "Advanced Gtk+ Sequencer">
+]>
+<preface>
+ <title>Foreword</title>
+ <para>
+ When I started to use GNU/Linux in 2001 I missed only one thing. A sequencer with a
+ nice GUI. There was already rosegarden available. But who didn't get stuck of midi
+ setup, yet? The time before I was using free software and became an affiliate to its
+ community I was using &win98; on my father's desktop computer and did my first steps
+ in &java2;.
+ </para>
+ <para>
+ My very first own Notebook was a &n160; and it's preinstalled &win98; had to vanish
+ because I became a fellow of &stallman;. Soon, I begun to code and older I became my
+ demands to ags increased. I developed the concept of the underlying audio library
+ myself as not graduated college student.
+ </para>
+ <para>
+ October 2005, I decided to reimplement &ags; from scratch in order to get rid of
+ inherited burden. And it was one big development process until I was almost satisfied
+ with it's design. There was a time in 2007 where I even wanted to replace GObject and
+ Gtk+ dependencies with my own libraries I begun to develop. I'm glad of didn't doing
+ so.
+ </para>
+ <para>
+ Thank you!
+ </para>
+</preface>
diff --git a/init.dia b/init.dia
new file mode 100644
index 0000000..e69de29
diff --git a/install-sh b/install-sh
new file mode 100755
index 0000000..377bb86
--- /dev/null
+++ b/install-sh
@@ -0,0 +1,527 @@
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2011-11-20.07; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# 'make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+
+nl='
+'
+IFS=" "" $nl"
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit=${DOITPROG-}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
+rmcmd="$rmprog -f"
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+no_target_directory=
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t) dst_arg=$2
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) no_target_directory=true;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call 'install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for 'test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
+ esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ eval "$initialize_posix_glob"
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob set -f
+ set fnord $dstdir
+ shift
+ $posix_glob set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ $posix_glob set +f &&
+
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/libtool b/libtool
new file mode 100755
index 0000000..f655986
--- /dev/null
+++ b/libtool
@@ -0,0 +1,11690 @@
+#! /bin/sh
+# Generated automatically by config.status (gsequencer) 0.4.3
+# Libtool was configured on host Device-03036C:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+# The names of the tagged configurations supported by this script.
+available_tags='CXX '
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Assembler program.
+AS="as"
+
+# DLL creation program.
+DLLTOOL="dlltool"
+
+# Object dumper program.
+OBJDUMP="objdump"
+
+# Which release of libtool.m4 was used?
+macro_version=2.4.4
+macro_revision=2.4.4
+
+# Whether or not to build shared libraries.
+build_libtool_libs=yes
+
+# Whether or not to build static libraries.
+build_old_libs=yes
+
+# What type of objects to build.
+pic_mode=default
+
+# Whether or not to optimize for fast installation.
+fast_install=yes
+
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=
+
+# Shell to use when invoking shell scripts.
+SHELL="/bin/sh"
+
+# An echo program that protects backslashes.
+ECHO="printf %s\\n"
+
+# The PATH separator for the build system.
+PATH_SEPARATOR=":"
+
+# The host system.
+host_alias=
+host=x86_64-unknown-linux-gnu
+host_os=linux-gnu
+
+# The build system.
+build_alias=
+build=x86_64-unknown-linux-gnu
+build_os=linux-gnu
+
+# A sed program that does not truncate output.
+SED="/bin/sed"
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="$SED -e 1s/^X//"
+
+# A grep program that handles long lines.
+GREP="/bin/grep"
+
+# An ERE matcher.
+EGREP="/bin/grep -E"
+
+# A literal string matcher.
+FGREP="/bin/grep -F"
+
+# A BSD- or MS-compatible name lister.
+NM="/usr/bin/nm -B"
+
+# Whether we need soft or hard links.
+LN_S="ln -s"
+
+# What is the maximum length of a command?
+max_cmd_len=1572864
+
+# Object file suffix (normally "o").
+objext=o
+
+# Executable file suffix (normally "").
+exeext=
+
+# whether the shell understands "unset".
+lt_unset=unset
+
+# turn spaces into newlines.
+SP2NL="tr \\040 \\012"
+
+# turn newlines into spaces.
+NL2SP="tr \\015\\012 \\040\\040"
+
+# convert $build file names to $host format.
+to_host_file_cmd=func_convert_file_noop
+
+# convert $build files to toolchain format.
+to_tool_file_cmd=func_convert_file_noop
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method="pass_all"
+
+# Command to use when deplibs_check_method = "file_magic".
+file_magic_cmd="\$MAGIC_CMD"
+
+# How to find potential files when deplibs_check_method = "file_magic".
+file_magic_glob=""
+
+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
+want_nocaseglob="no"
+
+# Command to associate shared and link libraries.
+sharedlib_from_linklib_cmd="printf %s\\n"
+
+# The archiver.
+AR="ar"
+
+# Flags to create an archive.
+AR_FLAGS="cru"
+
+# How to feed a file listing to the archiver.
+archiver_list_spec="@"
+
+# A symbol stripping program.
+STRIP="strip"
+
+# Commands used to install an old-style archive.
+RANLIB="ranlib"
+old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$tool_oldlib"
+old_postuninstall_cmds=""
+
+# Whether to use a lock for old archive extraction.
+lock_old_archive_extraction=no
+
+# A C compiler.
+LTCC="gcc"
+
+# LTCC compiler flags.
+LTCFLAGS="-g -O2"
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
+
+# Transform the output of nm in a proper C declaration.
+global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"
+
+# Transform the output of nm into a list of symbols to manually relocate.
+global_symbol_to_import=""
+
+# Transform the output of nm in a C name address pair.
+global_symbol_to_c_name_address="sed -n -e 's/^: \\(.*\\) .*\$/ {\"\\1\", (void *) 0},/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \\(.*\\)\$/ {\"\\1\", (void *) \\&\\1},/p'"
+
+# Transform the output of nm in a C name address pair when lib prefix is needed.
+global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\(.*\\) .*\$/ {\"\\1\", (void *) 0},/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \\(lib.*\\)\$/ {\"\\1\", (void *) \\&\\1},/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \\(.*\\)\$/ {\"lib\\1\", (void *) \\&\\1},/p'"
+
+# The name lister interface.
+nm_interface="BSD nm"
+
+# Specify filename containing input files for $NM.
+nm_file_list_spec="@"
+
+# The root where to search for dependent libraries,and where our libraries should be installed.
+lt_sysroot=
+
+# Command to truncate a binary pipe.
+lt_truncate_bin="/bin/dd bs=4096 count=1"
+
+# The name of the directory that contains temporary libtool files.
+objdir=.libs
+
+# Used to examine libraries when file_magic_cmd begins with "file".
+MAGIC_CMD=file
+
+# Must we lock files when doing compilation?
+need_locks="no"
+
+# Manifest tool.
+MANIFEST_TOOL=":"
+
+# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+DSYMUTIL=""
+
+# Tool to change global to local symbols on Mac OS X.
+NMEDIT=""
+
+# Tool to manipulate fat objects and archives on Mac OS X.
+LIPO=""
+
+# ldd/readelf like tool for Mach-O binaries on Mac OS X.
+OTOOL=""
+
+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
+OTOOL64=""
+
+# Old archive suffix (normally "a").
+libext=a
+
+# Shared library suffix (normally ".so").
+shrext_cmds=".so"
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=""
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at link time.
+variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+
+# Do we need the "lib" prefix for modules?
+need_lib_prefix=no
+
+# Do we need a version for libraries?
+need_version=no
+
+# Library versioning type.
+version_type=linux
+
+# Shared library runtime path variable.
+runpath_var=LD_RUN_PATH
+
+# Shared library path variable.
+shlibpath_var=LD_LIBRARY_PATH
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=no
+
+# Format of library name prefix.
+libname_spec="lib\$name"
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME
+library_names_spec="\$libname\$release\$shared_ext\$versuffix \$libname\$release\$shared_ext\$major \$libname\$shared_ext"
+
+# The coded name of the library, if different from the real name.
+soname_spec="\$libname\$release\$shared_ext\$major"
+
+# Permission mode override for installation of shared libraries.
+install_override_mode=""
+
+# Command to use after installation of a shared archive.
+postinstall_cmds=""
+
+# Command to use after uninstallation of a shared archive.
+postuninstall_cmds=""
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
+
+# As "finish_cmds", except a single script fragment to be evaled but
+# not shown.
+finish_eval=""
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=yes
+
+# Compile-time system search path for libraries.
+sys_lib_search_path_spec="/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 /usr/lib64 /lib64 /usr/lib /lib "
+
+# Run-time system search path for libraries.
+sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/local/lib /opt/lib /usr/X11/lib "
+
+# Whether dlopen is supported.
+dlopen_support=unknown
+
+# Whether dlopen of programs is supported.
+dlopen_self=unknown
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=unknown
+
+# Commands to strip libraries.
+old_striplib="strip --strip-debug"
+striplib="strip --strip-unneeded"
+
+
+# The linker used to build libraries.
+LD="/usr/bin/ld -m elf_x86_64"
+
+# How to create reloadable object files.
+reload_flag=" -r"
+reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
+
+# Commands used to build an old-style archive.
+old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
+
+# A language specific compiler.
+CC="gcc"
+
+# Is the compiler the GNU compiler?
+with_gcc=yes
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=" -fno-builtin"
+
+# Additional compiler flags for building library objects.
+pic_flag=" -fPIC -DPIC"
+
+# How to pass a linker flag through the compiler.
+wl="-Wl,"
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag="-static"
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o="yes"
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=no
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=no
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec="\$wl--export-dynamic"
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec="\$wl--whole-archive\$convenience \$wl--no-whole-archive"
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object="no"
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=""
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=""
+
+# Commands used to build a shared archive.
+archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname -o \$lib"
+archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
+ cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
+ echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
+ \$CC -shared \$pic_flag \$libobjs \$deplibs \$compiler_flags \$wl-soname \$wl\$soname \$wl-version-script \$wl\$output_objdir/\$libname.ver -o \$lib"
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=""
+module_expsym_cmds=""
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld="yes"
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=""
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=""
+
+# Flag to hardcode $libdir into a binary during linking.
+# This must work even if $libdir does not exist
+hardcode_libdir_flag_spec="\$wl-rpath \$wl\$libdir"
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=""
+
+# Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=no
+
+# Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting $shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=no
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=no
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=unsupported
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=no
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=no
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=unknown
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=no
+
+# The commands to list exported symbols.
+export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
+
+# Symbols that must always be exported.
+include_expsyms=""
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=""
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=""
+
+# Specify filename containing input files.
+file_list_spec=""
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=immediate
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs=""
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects=""
+postdep_objects=""
+predeps=""
+postdeps=""
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=""
+
+# ### END LIBTOOL CONFIG
+
+#! /bin/sh
+## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
+## by inline-source v2014-01-03.01
+
+# libtool (GNU libtool) 2.4.4
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996
+
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+PROGRAM=libtool
+PACKAGE=libtool
+VERSION=2.4.4
+package_revision=2.4.4
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# Run './libtool --help' for help with using this script from the
+# command line.
+
+
+## ------------------------------- ##
+## User overridable command paths. ##
+## ------------------------------- ##
+
+# After configure completes, it has a better idea of some of the
+# shell tools we need than the defaults used by the functions shared
+# with bootstrap, so set those here where they can still be over-
+# ridden by the user, but otherwise take precedence.
+
+: ${AUTOCONF="autoconf"}
+: ${AUTOMAKE="automake"}
+
+
+## -------------------------- ##
+## Source external libraries. ##
+## -------------------------- ##
+
+# Much of our low-level functionality needs to be sourced from external
+# libraries, which are installed to $pkgauxdir.
+
+# Set a version string for this script.
+scriptversion=2014-01-03.01; # UTC
+
+# General shell script boiler plate, and helper functions.
+# Written by Gary V. Vaughan, 2004
+
+# Copyright (C) 2004-2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# As a special exception to the GNU General Public License, if you distribute
+# this file as part of a program or library that is built using GNU Libtool,
+# you may include this file under the same distribution terms that you use
+# for the rest of that program.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Please report bugs or propose patches to gary at gnu.org.
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# Evaluate this file near the top of your script to gain access to
+# the functions and variables defined here:
+#
+# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
+#
+# If you need to override any of the default environment variable
+# settings, do that before evaluating this file.
+
+
+## -------------------- ##
+## Shell normalisation. ##
+## -------------------- ##
+
+# Some shells need a little help to be as Bourne compatible as possible.
+# Before doing anything else, make sure all that help has been provided!
+
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
+fi
+
+# NLS nuisances: We save the old values in case they are required later.
+_G_user_locale=
+_G_safe_locale=
+for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+do
+ eval "if test set = \"\${$_G_var+set}\"; then
+ save_$_G_var=\$$_G_var
+ $_G_var=C
+ export $_G_var
+ _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
+ _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
+ fi"
+done
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Make sure IFS has a sensible default
+sp=' '
+nl='
+'
+IFS="$sp $nl"
+
+# There are apparently some retarded systems that use ';' as a PATH separator!
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+
+## ------------------------- ##
+## Locate command utilities. ##
+## ------------------------- ##
+
+
+# func_executable_p FILE
+# ----------------------
+# Check that FILE is an executable regular file.
+func_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+}
+
+
+# func_path_progs PROGS_LIST CHECK_FUNC [PATH]
+# --------------------------------------------
+# Search for either a program that responds to --version with output
+# containing "GNU", or else returned by CHECK_FUNC otherwise, by
+# trying all the directories in PATH with each of the elements of
+# PROGS_LIST.
+#
+# CHECK_FUNC should accept the path to a candidate program, and
+# set $func_check_prog_result if it truncates its output less than
+# $_G_path_prog_max characters.
+func_path_progs ()
+{
+ _G_progs_list=$1
+ _G_check_func=$2
+ _G_PATH=${3-"$PATH"}
+
+ _G_path_prog_max=0
+ _G_path_prog_found=false
+ _G_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for _G_dir in $_G_PATH; do
+ IFS=$_G_save_IFS
+ test -z "$_G_dir" && _G_dir=.
+ for _G_prog_name in $_G_progs_list; do
+ for _exeext in '' .EXE; do
+ _G_path_prog=$_G_dir/$_G_prog_name$_exeext
+ func_executable_p "$_G_path_prog" || continue
+ case `"$_G_path_prog" --version 2>&1` in
+ *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
+ *) $_G_check_func $_G_path_prog
+ func_path_progs_result=$func_check_prog_result
+ ;;
+ esac
+ $_G_path_prog_found && break 3
+ done
+ done
+ done
+ IFS=$_G_save_IFS
+ test -z "$func_path_progs_result" && {
+ echo "no acceptable sed could be found in \$PATH" >&2
+ exit 1
+ }
+}
+
+
+# We want to be able to use the functions in this file before configure
+# has figured out where the best binaries are kept, which means we have
+# to search for them ourselves - except when the results are already set
+# where we skip the searches.
+
+# Unless the user overrides by setting SED, search the path for either GNU
+# sed, or the sed that truncates its output the least.
+test -z "$SED" && {
+ _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for _G_i in 1 2 3 4 5 6 7; do
+ _G_sed_script=$_G_sed_script$nl$_G_sed_script
+ done
+ echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
+ _G_sed_script=
+
+ func_check_prog_sed ()
+ {
+ _G_path_prog=$1
+
+ _G_count=0
+ printf 0123456789 >conftest.in
+ while :
+ do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo '' >> conftest.nl
+ "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
+ diff conftest.out conftest.nl >/dev/null 2>&1 || break
+ _G_count=`expr $_G_count + 1`
+ if test "$_G_count" -gt "$_G_path_prog_max"; then
+ # Best one so far, save it but keep looking for a better one
+ func_check_prog_result=$_G_path_prog
+ _G_path_prog_max=$_G_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test 10 -lt "$_G_count" && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out
+ }
+
+ func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
+ rm -f conftest.sed
+ SED=$func_path_progs_result
+}
+
+
+# Unless the user overrides by setting GREP, search the path for either GNU
+# grep, or the grep that truncates its output the least.
+test -z "$GREP" && {
+ func_check_prog_grep ()
+ {
+ _G_path_prog=$1
+
+ _G_count=0
+ _G_path_prog_max=0
+ printf 0123456789 >conftest.in
+ while :
+ do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo 'GREP' >> conftest.nl
+ "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
+ diff conftest.out conftest.nl >/dev/null 2>&1 || break
+ _G_count=`expr $_G_count + 1`
+ if test "$_G_count" -gt "$_G_path_prog_max"; then
+ # Best one so far, save it but keep looking for a better one
+ func_check_prog_result=$_G_path_prog
+ _G_path_prog_max=$_G_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test 10 -lt "$_G_count" && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out
+ }
+
+ func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
+ GREP=$func_path_progs_result
+}
+
+
+## ------------------------------- ##
+## User overridable command paths. ##
+## ------------------------------- ##
+
+# All uppercase variable names are used for environment variables. These
+# variables can be overridden by the user before calling a script that
+# uses them if a suitable command of that name is not already available
+# in the command search PATH.
+
+: ${CP="cp -f"}
+: ${ECHO="printf %s\n"}
+: ${EGREP="$GREP -E"}
+: ${FGREP="$GREP -F"}
+: ${LN_S="ln -s"}
+: ${MAKE="make"}
+: ${MKDIR="mkdir"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
+
+
+## -------------------- ##
+## Useful sed snippets. ##
+## -------------------- ##
+
+sed_dirname='s|/[^/]*$||'
+sed_basename='s|^.*/||'
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
+
+# Same as above, but do not quote variable references.
+sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
+
+# Sed substitution that converts a w32 file name or path
+# that contains forward slashes, into one that contains
+# (escaped) backslashes. A very naive implementation.
+sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
+# Re-'\' parameter expansions in output of sed_double_quote_subst that
+# were '\'-ed in input to the same. If an odd number of '\' preceded a
+# '$' in input to sed_double_quote_subst, that '$' was protected from
+# expansion. Since each input '\' is now two '\'s, look for any number
+# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
+_G_bs='\\'
+_G_bs2='\\\\'
+_G_bs4='\\\\\\\\'
+_G_dollar='\$'
+sed_double_backslash="\
+ s/$_G_bs4/&\\
+/g
+ s/^$_G_bs2$_G_dollar/$_G_bs&/
+ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
+ s/\n//g"
+
+
+## ----------------- ##
+## Global variables. ##
+## ----------------- ##
+
+# Except for the global variables explicitly listed below, the following
+# functions in the '^func_' namespace, and the '^require_' namespace
+# variables initialised in the 'Resource management' section, sourcing
+# this file will not pollute your global namespace with anything
+# else. There's no portable way to scope variables in Bourne shell
+# though, so actually running these functions will sometimes place
+# results into a variable named after the function, and often use
+# temporary variables in the '^_G_' namespace. If you are careful to
+# avoid using those namespaces casually in your sourcing script, things
+# should continue to work as you expect. And, of course, you can freely
+# overwrite any of the functions or variables defined here before
+# calling anything to customize them.
+
+EXIT_SUCCESS=0
+EXIT_FAILURE=1
+EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
+EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
+
+# Allow overriding, eg assuming that you follow the convention of
+# putting '$debug_cmd' at the start of all your functions, you can get
+# bash to show function call trace with:
+#
+# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
+debug_cmd=${debug_cmd-":"}
+exit_cmd=:
+
+# By convention, finish your script with:
+#
+# exit $exit_status
+#
+# so that you can set exit_status to non-zero if you want to indicate
+# something went wrong during execution without actually bailing out at
+# the point of failure.
+exit_status=$EXIT_SUCCESS
+
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath=$0
+
+# The name of this program.
+progname=`$ECHO "$progpath" |$SED "$sed_basename"`
+
+# Make sure we have an absolute progpath for reexecution:
+case $progpath in
+ [\\/]*|[A-Za-z]:\\*) ;;
+ *[\\/]*)
+ progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
+ progdir=`cd "$progdir" && pwd`
+ progpath=$progdir/$progname
+ ;;
+ *)
+ _G_IFS=$IFS
+ IFS=${PATH_SEPARATOR-:}
+ for progdir in $PATH; do
+ IFS=$_G_IFS
+ test -x "$progdir/$progname" && break
+ done
+ IFS=$_G_IFS
+ test -n "$progdir" || progdir=`pwd`
+ progpath=$progdir/$progname
+ ;;
+esac
+
+
+## ----------------- ##
+## Standard options. ##
+## ----------------- ##
+
+# The following options affect the operation of the functions defined
+# below, and should be set appropriately depending on run-time para-
+# meters passed on the command line.
+
+opt_dry_run=false
+opt_quiet=false
+opt_verbose=false
+
+# Categories 'all' and 'none' are always available. Append any others
+# you will pass as the first argument to func_warning from your own
+# code.
+warning_categories=
+
+# By default, display warnings according to 'opt_warning_types'. Set
+# 'warning_func' to ':' to elide all warnings, or func_fatal_error to
+# treat the next displayed warning as a fatal error.
+warning_func=func_warn_and_continue
+
+# Set to 'all' to display all warnings, 'none' to suppress all
+# warnings, or a space delimited list of some subset of
+# 'warning_categories' to display only the listed warnings.
+opt_warning_types=all
+
+
+## -------------------- ##
+## Resource management. ##
+## -------------------- ##
+
+# This section contains definitions for functions that each ensure a
+# particular resource (a file, or a non-empty configuration variable for
+# example) is available, and if appropriate to extract default values
+# from pertinent package files. Call them using their associated
+# 'require_*' variable to ensure that they are executed, at most, once.
+#
+# It's entirely deliberate that calling these functions can set
+# variables that don't obey the namespace limitations obeyed by the rest
+# of this file, in order that that they be as useful as possible to
+# callers.
+
+
+# require_term_colors
+# -------------------
+# Allow display of bold text on terminals that support it.
+require_term_colors=func_require_term_colors
+func_require_term_colors ()
+{
+ $debug_cmd
+
+ test -t 1 && {
+ # COLORTERM and USE_ANSI_COLORS environment variables take
+ # precedence, because most terminfo databases neglect to describe
+ # whether color sequences are supported.
+ test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
+
+ if test 1 = "$USE_ANSI_COLORS"; then
+ # Standard ANSI escape sequences
+ tc_reset='[0m'
+ tc_bold='[1m'; tc_standout='[7m'
+ tc_red='[31m'; tc_green='[32m'
+ tc_blue='[34m'; tc_cyan='[36m'
+ else
+ # Otherwise trust the terminfo database after all.
+ test -n "`tput sgr0 2>/dev/null`" && {
+ tc_reset=`tput sgr0`
+ test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
+ tc_standout=$tc_bold
+ test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
+ test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
+ test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
+ test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
+ test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
+ }
+ fi
+ }
+
+ require_term_colors=:
+}
+
+
+## ----------------- ##
+## Function library. ##
+## ----------------- ##
+
+# This section contains a variety of useful functions to call in your
+# scripts. Take note of the portable wrappers for features provided by
+# some modern shells, which will fall back to slower equivalents on
+# less featureful shells.
+
+
+# func_append VAR VALUE
+# ---------------------
+# Append VALUE onto the existing contents of VAR.
+
+ # We should try to minimise forks, especially on Windows where they are
+ # unreasonably slow, so skip the feature probes when bash or zsh are
+ # being used:
+ if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
+ : ${_G_HAVE_ARITH_OP="yes"}
+ : ${_G_HAVE_XSI_OPS="yes"}
+ # The += operator was introduced in bash 3.1
+ case $BASH_VERSION in
+ [12].* | 3.0 | 3.0*) ;;
+ *)
+ : ${_G_HAVE_PLUSEQ_OP="yes"}
+ ;;
+ esac
+ fi
+
+ # _G_HAVE_PLUSEQ_OP
+ # Can be empty, in which case the shell is probed, "yes" if += is
+ # useable or anything else if it does not work.
+ test -z "$_G_HAVE_PLUSEQ_OP" \
+ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
+ && _G_HAVE_PLUSEQ_OP=yes
+
+if test yes = "$_G_HAVE_PLUSEQ_OP"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_append ()
+ {
+ $debug_cmd
+
+ eval "$1+=\$2"
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_append ()
+ {
+ $debug_cmd
+
+ eval "$1=\$$1\$2"
+ }
+fi
+
+
+# func_append_quoted VAR VALUE
+# ----------------------------
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
+if test yes = "$_G_HAVE_PLUSEQ_OP"; then
+ eval 'func_append_quoted ()
+ {
+ $debug_cmd
+
+ func_quote_for_eval "$2"
+ eval "$1+=\\ \$func_quote_for_eval_result"
+ }'
+else
+ func_append_quoted ()
+ {
+ $debug_cmd
+
+ func_quote_for_eval "$2"
+ eval "$1=\$$1\\ \$func_quote_for_eval_result"
+ }
+fi
+
+
+# func_append_uniq VAR VALUE
+# --------------------------
+# Append unique VALUE onto the existing contents of VAR, assuming
+# entries are delimited by the first character of VALUE. For example:
+#
+# func_append_uniq options " --another-option option-argument"
+#
+# will only append to $options if " --another-option option-argument "
+# is not already present somewhere in $options already (note spaces at
+# each end implied by leading space in second argument).
+func_append_uniq ()
+{
+ $debug_cmd
+
+ eval _G_current_value='`$ECHO $'$1'`'
+ _G_delim=`expr "$2" : '\(.\)'`
+
+ case $_G_delim$_G_current_value$_G_delim in
+ *"$2$_G_delim"*) ;;
+ *) func_append "$@" ;;
+ esac
+}
+
+
+# func_arith TERM...
+# ------------------
+# Set func_arith_result to the result of evaluating TERMs.
+ test -z "$_G_HAVE_ARITH_OP" \
+ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
+ && _G_HAVE_ARITH_OP=yes
+
+if test yes = "$_G_HAVE_ARITH_OP"; then
+ eval 'func_arith ()
+ {
+ $debug_cmd
+
+ func_arith_result=$(( $* ))
+ }'
+else
+ func_arith ()
+ {
+ $debug_cmd
+
+ func_arith_result=`expr "$@"`
+ }
+fi
+
+
+# func_basename FILE
+# ------------------
+# Set func_basename_result to FILE with everything up to and including
+# the last / stripped.
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ # If this shell supports suffix pattern removal, then use it to avoid
+ # forking. Hide the definitions single quotes in case the shell chokes
+ # on unsupported syntax...
+ _b='func_basename_result=${1##*/}'
+ _d='case $1 in
+ */*) func_dirname_result=${1%/*}$2 ;;
+ * ) func_dirname_result=$3 ;;
+ esac'
+
+else
+ # ...otherwise fall back to using sed.
+ _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
+ _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
+ if test "X$func_dirname_result" = "X$1"; then
+ func_dirname_result=$3
+ else
+ func_append func_dirname_result "$2"
+ fi'
+fi
+
+eval 'func_basename ()
+{
+ $debug_cmd
+
+ '"$_b"'
+}'
+
+
+# func_dirname FILE APPEND NONDIR_REPLACEMENT
+# -------------------------------------------
+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+# otherwise set result to NONDIR_REPLACEMENT.
+eval 'func_dirname ()
+{
+ $debug_cmd
+
+ '"$_d"'
+}'
+
+
+# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
+# --------------------------------------------------------
+# Perform func_basename and func_dirname in a single function
+# call:
+# dirname: Compute the dirname of FILE. If nonempty,
+# add APPEND to the result, otherwise set result
+# to NONDIR_REPLACEMENT.
+# value returned in "$func_dirname_result"
+# basename: Compute filename of FILE.
+# value retuned in "$func_basename_result"
+# For efficiency, we do not delegate to the functions above but instead
+# duplicate the functionality here.
+eval 'func_dirname_and_basename ()
+{
+ $debug_cmd
+
+ '"$_b"'
+ '"$_d"'
+}'
+
+
+# func_echo ARG...
+# ----------------
+# Echo program name prefixed message.
+func_echo ()
+{
+ $debug_cmd
+
+ _G_message=$*
+
+ func_echo_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_IFS
+ $ECHO "$progname: $_G_line"
+ done
+ IFS=$func_echo_IFS
+}
+
+
+# func_echo_all ARG...
+# --------------------
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+
+# func_echo_infix_1 INFIX ARG...
+# ------------------------------
+# Echo program name, followed by INFIX on the first line, with any
+# additional lines not showing INFIX.
+func_echo_infix_1 ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ _G_infix=$1; shift
+ _G_indent=$_G_infix
+ _G_prefix="$progname: $_G_infix: "
+ _G_message=$*
+
+ # Strip color escape sequences before counting printable length
+ for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
+ do
+ test -n "$_G_tc" && {
+ _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
+ _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
+ }
+ done
+ _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
+
+ func_echo_infix_1_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_infix_1_IFS
+ $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
+ _G_prefix=$_G_indent
+ done
+ IFS=$func_echo_infix_1_IFS
+}
+
+
+# func_error ARG...
+# -----------------
+# Echo program name prefixed message to standard error.
+func_error ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
+}
+
+
+# func_fatal_error ARG...
+# -----------------------
+# Echo program name prefixed message to standard error, and exit.
+func_fatal_error ()
+{
+ $debug_cmd
+
+ func_error "$*"
+ exit $EXIT_FAILURE
+}
+
+
+# func_grep EXPRESSION FILENAME
+# -----------------------------
+# Check whether EXPRESSION matches any line of FILENAME, without output.
+func_grep ()
+{
+ $debug_cmd
+
+ $GREP "$1" "$2" >/dev/null 2>&1
+}
+
+
+# func_len STRING
+# ---------------
+# Set func_len_result to the length of STRING. STRING may not
+# start with a hyphen.
+ test -z "$_G_HAVE_XSI_OPS" \
+ && (eval 'x=a/b/c;
+ test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
+ && _G_HAVE_XSI_OPS=yes
+
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_len ()
+ {
+ $debug_cmd
+
+ func_len_result=${#1}
+ }'
+else
+ func_len ()
+ {
+ $debug_cmd
+
+ func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+ }
+fi
+
+
+# func_mkdir_p DIRECTORY-PATH
+# ---------------------------
+# Make sure the entire path to DIRECTORY-PATH is available.
+func_mkdir_p ()
+{
+ $debug_cmd
+
+ _G_directory_path=$1
+ _G_dir_list=
+
+ if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
+
+ # Protect directory names starting with '-'
+ case $_G_directory_path in
+ -*) _G_directory_path=./$_G_directory_path ;;
+ esac
+
+ # While some portion of DIR does not yet exist...
+ while test ! -d "$_G_directory_path"; do
+ # ...make a list in topmost first order. Use a colon delimited
+ # list incase some portion of path contains whitespace.
+ _G_dir_list=$_G_directory_path:$_G_dir_list
+
+ # If the last portion added has no slash in it, the list is done
+ case $_G_directory_path in */*) ;; *) break ;; esac
+
+ # ...otherwise throw away the child directory and loop
+ _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
+ done
+ _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
+
+ func_mkdir_p_IFS=$IFS; IFS=:
+ for _G_dir in $_G_dir_list; do
+ IFS=$func_mkdir_p_IFS
+ # mkdir can fail with a 'File exist' error if two processes
+ # try to create one of the directories concurrently. Don't
+ # stop in that case!
+ $MKDIR "$_G_dir" 2>/dev/null || :
+ done
+ IFS=$func_mkdir_p_IFS
+
+ # Bail out if we (or some other process) failed to create a directory.
+ test -d "$_G_directory_path" || \
+ func_fatal_error "Failed to create '$1'"
+ fi
+}
+
+
+# func_mktempdir [BASENAME]
+# -------------------------
+# Make a temporary directory that won't clash with other running
+# libtool processes, and avoids race conditions if possible. If
+# given, BASENAME is the basename for that directory.
+func_mktempdir ()
+{
+ $debug_cmd
+
+ _G_template=${TMPDIR-/tmp}/${1-$progname}
+
+ if test : = "$opt_dry_run"; then
+ # Return a directory name, but don't create it in dry-run mode
+ _G_tmpdir=$_G_template-$$
+ else
+
+ # If mktemp works, use that first and foremost
+ _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
+
+ if test ! -d "$_G_tmpdir"; then
+ # Failing that, at least try and use $RANDOM to avoid a race
+ _G_tmpdir=$_G_template-${RANDOM-0}$$
+
+ func_mktempdir_umask=`umask`
+ umask 0077
+ $MKDIR "$_G_tmpdir"
+ umask $func_mktempdir_umask
+ fi
+
+ # If we're not in dry-run mode, bomb out on failure
+ test -d "$_G_tmpdir" || \
+ func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
+ fi
+
+ $ECHO "$_G_tmpdir"
+}
+
+
+# func_normal_abspath PATH
+# ------------------------
+# Remove doubled-up and trailing slashes, "." path components,
+# and cancel out any ".." path components in PATH after making
+# it an absolute path.
+func_normal_abspath ()
+{
+ $debug_cmd
+
+ # These SED scripts presuppose an absolute path with a trailing slash.
+ _G_pathcar='s|^/\([^/]*\).*$|\1|'
+ _G_pathcdr='s|^/[^/]*||'
+ _G_removedotparts=':dotsl
+ s|/\./|/|g
+ t dotsl
+ s|/\.$|/|'
+ _G_collapseslashes='s|/\{1,\}|/|g'
+ _G_finalslash='s|/*$|/|'
+
+ # Start from root dir and reassemble the path.
+ func_normal_abspath_result=
+ func_normal_abspath_tpath=$1
+ func_normal_abspath_altnamespace=
+ case $func_normal_abspath_tpath in
+ "")
+ # Empty path, that just means $cwd.
+ func_stripname '' '/' "`pwd`"
+ func_normal_abspath_result=$func_stripname_result
+ return
+ ;;
+ # The next three entries are used to spot a run of precisely
+ # two leading slashes without using negated character classes;
+ # we take advantage of case's first-match behaviour.
+ ///*)
+ # Unusual form of absolute path, do nothing.
+ ;;
+ //*)
+ # Not necessarily an ordinary path; POSIX reserves leading '//'
+ # and for example Cygwin uses it to access remote file shares
+ # over CIFS/SMB, so we conserve a leading double slash if found.
+ func_normal_abspath_altnamespace=/
+ ;;
+ /*)
+ # Absolute path, do nothing.
+ ;;
+ *)
+ # Relative path, prepend $cwd.
+ func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
+ ;;
+ esac
+
+ # Cancel out all the simple stuff to save iterations. We also want
+ # the path to end with a slash for ease of parsing, so make sure
+ # there is one (and only one) here.
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
+ while :; do
+ # Processed it all yet?
+ if test / = "$func_normal_abspath_tpath"; then
+ # If we ascended to the root using ".." the result may be empty now.
+ if test -z "$func_normal_abspath_result"; then
+ func_normal_abspath_result=/
+ fi
+ break
+ fi
+ func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_pathcar"`
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_pathcdr"`
+ # Figure out what to do with it
+ case $func_normal_abspath_tcomponent in
+ "")
+ # Trailing empty path component, ignore it.
+ ;;
+ ..)
+ # Parent dir; strip last assembled component from result.
+ func_dirname "$func_normal_abspath_result"
+ func_normal_abspath_result=$func_dirname_result
+ ;;
+ *)
+ # Actual path component, append it.
+ func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
+ ;;
+ esac
+ done
+ # Restore leading double-slash if one was found on entry.
+ func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
+}
+
+
+# func_notquiet ARG...
+# --------------------
+# Echo program name prefixed message only when not in quiet mode.
+func_notquiet ()
+{
+ $debug_cmd
+
+ $opt_quiet || func_echo ${1+"$@"}
+
+ # A bug in bash halts the script if the last line of a function
+ # fails when set -e is in force, so we need another command to
+ # work around that:
+ :
+}
+
+
+# func_relative_path SRCDIR DSTDIR
+# --------------------------------
+# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
+func_relative_path ()
+{
+ $debug_cmd
+
+ func_relative_path_result=
+ func_normal_abspath "$1"
+ func_relative_path_tlibdir=$func_normal_abspath_result
+ func_normal_abspath "$2"
+ func_relative_path_tbindir=$func_normal_abspath_result
+
+ # Ascend the tree starting from libdir
+ while :; do
+ # check if we have found a prefix of bindir
+ case $func_relative_path_tbindir in
+ $func_relative_path_tlibdir)
+ # found an exact match
+ func_relative_path_tcancelled=
+ break
+ ;;
+ $func_relative_path_tlibdir*)
+ # found a matching prefix
+ func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
+ func_relative_path_tcancelled=$func_stripname_result
+ if test -z "$func_relative_path_result"; then
+ func_relative_path_result=.
+ fi
+ break
+ ;;
+ *)
+ func_dirname $func_relative_path_tlibdir
+ func_relative_path_tlibdir=$func_dirname_result
+ if test -z "$func_relative_path_tlibdir"; then
+ # Have to descend all the way to the root!
+ func_relative_path_result=../$func_relative_path_result
+ func_relative_path_tcancelled=$func_relative_path_tbindir
+ break
+ fi
+ func_relative_path_result=../$func_relative_path_result
+ ;;
+ esac
+ done
+
+ # Now calculate path; take care to avoid doubling-up slashes.
+ func_stripname '' '/' "$func_relative_path_result"
+ func_relative_path_result=$func_stripname_result
+ func_stripname '/' '/' "$func_relative_path_tcancelled"
+ if test -n "$func_stripname_result"; then
+ func_append func_relative_path_result "/$func_stripname_result"
+ fi
+
+ # Normalisation. If bindir is libdir, return '.' else relative path.
+ if test -n "$func_relative_path_result"; then
+ func_stripname './' '' "$func_relative_path_result"
+ func_relative_path_result=$func_stripname_result
+ fi
+
+ test -n "$func_relative_path_result" || func_relative_path_result=.
+
+ :
+}
+
+
+# func_quote_for_eval ARG...
+# --------------------------
+# Aesthetically quote ARGs to be evaled later.
+# This function returns two values:
+# i) func_quote_for_eval_result
+# double-quoted, suitable for a subsequent eval
+# ii) func_quote_for_eval_unquoted_result
+# has all characters that are still active within double
+# quotes backslashified.
+func_quote_for_eval ()
+{
+ $debug_cmd
+
+ func_quote_for_eval_unquoted_result=
+ func_quote_for_eval_result=
+ while test 0 -lt $#; do
+ case $1 in
+ *[\\\`\"\$]*)
+ _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
+ *)
+ _G_unquoted_arg=$1 ;;
+ esac
+ if test -n "$func_quote_for_eval_unquoted_result"; then
+ func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
+ else
+ func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
+ fi
+
+ case $_G_unquoted_arg in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting, command substitution and variable expansion
+ # for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ _G_quoted_arg=\"$_G_unquoted_arg\"
+ ;;
+ *)
+ _G_quoted_arg=$_G_unquoted_arg
+ ;;
+ esac
+
+ if test -n "$func_quote_for_eval_result"; then
+ func_append func_quote_for_eval_result " $_G_quoted_arg"
+ else
+ func_append func_quote_for_eval_result "$_G_quoted_arg"
+ fi
+ shift
+ done
+}
+
+
+# func_quote_for_expand ARG
+# -------------------------
+# Aesthetically quote ARG to be evaled later; same as above,
+# but do not quote variable references.
+func_quote_for_expand ()
+{
+ $debug_cmd
+
+ case $1 in
+ *[\\\`\"]*)
+ _G_arg=`$ECHO "$1" | $SED \
+ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
+ *)
+ _G_arg=$1 ;;
+ esac
+
+ case $_G_arg in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting and command substitution for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ _G_arg=\"$_G_arg\"
+ ;;
+ esac
+
+ func_quote_for_expand_result=$_G_arg
+}
+
+
+# func_stripname PREFIX SUFFIX NAME
+# ---------------------------------
+# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_stripname ()
+ {
+ $debug_cmd
+
+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+ # positional parameters, so assign one to ordinary variable first.
+ func_stripname_result=$3
+ func_stripname_result=${func_stripname_result#"$1"}
+ func_stripname_result=${func_stripname_result%"$2"}
+ }'
+else
+ func_stripname ()
+ {
+ $debug_cmd
+
+ case $2 in
+ .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
+ *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
+ esac
+ }
+fi
+
+
+# func_show_eval CMD [FAIL_EXP]
+# -----------------------------
+# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it.
+func_show_eval ()
+{
+ $debug_cmd
+
+ _G_cmd=$1
+ _G_fail_exp=${2-':'}
+
+ func_quote_for_expand "$_G_cmd"
+ eval "func_notquiet $func_quote_for_expand_result"
+
+ $opt_dry_run || {
+ eval "$_G_cmd"
+ _G_status=$?
+ if test 0 -ne "$_G_status"; then
+ eval "(exit $_G_status); $_G_fail_exp"
+ fi
+ }
+}
+
+
+# func_show_eval_locale CMD [FAIL_EXP]
+# ------------------------------------
+# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it. Use the saved locale for evaluation.
+func_show_eval_locale ()
+{
+ $debug_cmd
+
+ _G_cmd=$1
+ _G_fail_exp=${2-':'}
+
+ $opt_quiet || {
+ func_quote_for_expand "$_G_cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+
+ $opt_dry_run || {
+ eval "$_G_user_locale
+ $_G_cmd"
+ _G_status=$?
+ eval "$_G_safe_locale"
+ if test 0 -ne "$_G_status"; then
+ eval "(exit $_G_status); $_G_fail_exp"
+ fi
+ }
+}
+
+
+# func_tr_sh
+# ----------
+# Turn $1 into a string suitable for a shell variable name.
+# Result is stored in $func_tr_sh_result. All characters
+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
+# if $1 begins with a digit, a '_' is prepended as well.
+func_tr_sh ()
+{
+ $debug_cmd
+
+ case $1 in
+ [0-9]* | *[!a-zA-Z0-9_]*)
+ func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
+ ;;
+ * )
+ func_tr_sh_result=$1
+ ;;
+ esac
+}
+
+
+# func_verbose ARG...
+# -------------------
+# Echo program name prefixed message in verbose mode only.
+func_verbose ()
+{
+ $debug_cmd
+
+ $opt_verbose && func_echo "$*"
+
+ :
+}
+
+
+# func_warn_and_continue ARG...
+# -----------------------------
+# Echo program name prefixed warning message to standard error.
+func_warn_and_continue ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
+}
+
+
+# func_warning CATEGORY ARG...
+# ----------------------------
+# Echo program name prefixed warning message to standard error. Warning
+# messages can be filtered according to CATEGORY, where this function
+# elides messages where CATEGORY is not listed in the global variable
+# 'opt_warning_types'.
+func_warning ()
+{
+ $debug_cmd
+
+ # CATEGORY must be in the warning_categories list!
+ case " $warning_categories " in
+ *" $1 "*) ;;
+ *) func_internal_error "invalid warning category '$1'" ;;
+ esac
+
+ _G_category=$1
+ shift
+
+ case " $opt_warning_types " in
+ *" $_G_category "*) $warning_func ${1+"$@"} ;;
+ esac
+}
+
+
+# func_sort_ver VER1 VER2
+# -----------------------
+# 'sort -V' is not generally available.
+# Note this deviates from the version comparison in automake
+# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
+# but this should suffice as we won't be specifying old
+# version formats or redundant trailing .0 in bootstrap.conf.
+# If we did want full compatibility then we should probably
+# use m4_version_compare from autoconf.
+func_sort_ver ()
+{
+ $debug_cmd
+
+ printf '%s\n%s\n' "$1" "$2" \
+ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
+}
+
+# func_lt_ver PREV CURR
+# ---------------------
+# Return true if PREV and CURR are in the correct order according to
+# func_sort_ver, otherwise false. Use it like this:
+#
+# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
+func_lt_ver ()
+{
+ $debug_cmd
+
+ test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
+}
+
+
+# Local variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
+# time-stamp-time-zone: "UTC"
+# End:
+#! /bin/sh
+
+# Set a version string for this script.
+scriptversion=2014-01-07.03; # UTC
+
+# A portable, pluggable option parser for Bourne shell.
+# Written by Gary V. Vaughan, 2010
+
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Please report bugs or propose patches to gary at gnu.org.
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# This file is a library for parsing options in your shell scripts along
+# with assorted other useful supporting features that you can make use
+# of too.
+#
+# For the simplest scripts you might need only:
+#
+# #!/bin/sh
+# . relative/path/to/funclib.sh
+# . relative/path/to/options-parser
+# scriptversion=1.0
+# func_options ${1+"$@"}
+# eval set dummy "$func_options_result"; shift
+# ...rest of your script...
+#
+# In order for the '--version' option to work, you will need to have a
+# suitably formatted comment like the one at the top of this file
+# starting with '# Written by ' and ending with '# warranty; '.
+#
+# For '-h' and '--help' to work, you will also need a one line
+# description of your script's purpose in a comment directly above the
+# '# Written by ' line, like the one at the top of this file.
+#
+# The default options also support '--debug', which will turn on shell
+# execution tracing (see the comment above debug_cmd below for another
+# use), and '--verbose' and the func_verbose function to allow your script
+# to display verbose messages only when your user has specified
+# '--verbose'.
+#
+# After sourcing this file, you can plug processing for additional
+# options by amending the variables from the 'Configuration' section
+# below, and following the instructions in the 'Option parsing'
+# section further down.
+
+## -------------- ##
+## Configuration. ##
+## -------------- ##
+
+# You should override these variables in your script after sourcing this
+# file so that they reflect the customisations you have added to the
+# option parser.
+
+# The usage line for option parsing errors and the start of '-h' and
+# '--help' output messages. You can embed shell variables for delayed
+# expansion at the time the message is displayed, but you will need to
+# quote other shell meta-characters carefully to prevent them being
+# expanded when the contents are evaled.
+usage='$progpath [OPTION]...'
+
+# Short help message in response to '-h' and '--help'. Add to this or
+# override it after sourcing this library to reflect the full set of
+# options your script accepts.
+usage_message="\
+ --debug enable verbose shell tracing
+ -W, --warnings=CATEGORY
+ report the warnings falling in CATEGORY [all]
+ -v, --verbose verbosely report processing
+ --version print version information and exit
+ -h, --help print short or long help message and exit
+"
+
+# Additional text appended to 'usage_message' in response to '--help'.
+long_help_message="
+Warning categories include:
+ 'all' show all warnings
+ 'none' turn off all the warnings
+ 'error' warnings are treated as fatal errors"
+
+# Help message printed before fatal option parsing errors.
+fatal_help="Try '\$progname --help' for more information."
+
+
+
+## ------------------------- ##
+## Hook function management. ##
+## ------------------------- ##
+
+# This section contains functions for adding, removing, and running hooks
+# to the main code. A hook is just a named list of of function, that can
+# be run in order later on.
+
+# func_hookable FUNC_NAME
+# -----------------------
+# Declare that FUNC_NAME will run hooks added with
+# 'func_add_hook FUNC_NAME ...'.
+func_hookable ()
+{
+ $debug_cmd
+
+ func_append hookable_fns " $1"
+}
+
+
+# func_add_hook FUNC_NAME HOOK_FUNC
+# ---------------------------------
+# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
+# first have been declared "hookable" by a call to 'func_hookable'.
+func_add_hook ()
+{
+ $debug_cmd
+
+ case " $hookable_fns " in
+ *" $1 "*) ;;
+ *) func_fatal_error "'$1' does not accept hook functions." ;;
+ esac
+
+ eval func_append ${1}_hooks '" $2"'
+}
+
+
+# func_remove_hook FUNC_NAME HOOK_FUNC
+# ------------------------------------
+# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
+func_remove_hook ()
+{
+ $debug_cmd
+
+ eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
+}
+
+
+# func_run_hooks FUNC_NAME [ARG]...
+# ---------------------------------
+# Run all hook functions registered to FUNC_NAME.
+# It is assumed that the list of hook functions contains nothing more
+# than a whitespace-delimited list of legal shell function names, and
+# no effort is wasted trying to catch shell meta-characters or preserve
+# whitespace.
+func_run_hooks ()
+{
+ $debug_cmd
+
+ case " $hookable_fns " in
+ *" $1 "*) ;;
+ *) func_fatal_error "'$1' does not support hook funcions.n" ;;
+ esac
+
+ eval _G_hook_fns=\$$1_hooks; shift
+
+ for _G_hook in $_G_hook_fns; do
+ eval $_G_hook '"$@"'
+
+ # store returned options list back into positional
+ # parameters for next 'cmd' execution.
+ eval _G_hook_result=\$${_G_hook}_result
+ eval set dummy "$_G_hook_result"; shift
+ done
+
+ func_quote_for_eval ${1+"$@"}
+ func_run_hooks_result=$func_quote_for_eval_result
+}
+
+
+
+## --------------- ##
+## Option parsing. ##
+## --------------- ##
+
+# In order to add your own option parsing hooks, you must accept the
+# full positional parameter list in your hook function, remove any
+# options that you action, and then pass back the remaining unprocessed
+# options in '<hooked_function_name>_result', escaped suitably for
+# 'eval'. Like this:
+#
+# my_options_prep ()
+# {
+# $debug_cmd
+#
+# # Extend the existing usage message.
+# usage_message=$usage_message'
+# -s, --silent don'\''t print informational messages
+# '
+#
+# func_quote_for_eval ${1+"$@"}
+# my_options_prep_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_options_prep my_options_prep
+#
+#
+# my_silent_option ()
+# {
+# $debug_cmd
+#
+# # Note that for efficiency, we parse as many options as we can
+# # recognise in a loop before passing the remainder back to the
+# # caller on the first unrecognised argument we encounter.
+# while test $# -gt 0; do
+# opt=$1; shift
+# case $opt in
+# --silent|-s) opt_silent=: ;;
+# # Separate non-argument short options:
+# -s*) func_split_short_opt "$_G_opt"
+# set dummy "$func_split_short_opt_name" \
+# "-$func_split_short_opt_arg" ${1+"$@"}
+# shift
+# ;;
+# *) set dummy "$_G_opt" "$*"; shift; break ;;
+# esac
+# done
+#
+# func_quote_for_eval ${1+"$@"}
+# my_silent_option_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_parse_options my_silent_option
+#
+#
+# my_option_validation ()
+# {
+# $debug_cmd
+#
+# $opt_silent && $opt_verbose && func_fatal_help "\
+# '--silent' and '--verbose' options are mutually exclusive."
+#
+# func_quote_for_eval ${1+"$@"}
+# my_option_validation_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_validate_options my_option_validation
+#
+# You'll alse need to manually amend $usage_message to reflect the extra
+# options you parse. It's preferable to append if you can, so that
+# multiple option parsing hooks can be added safely.
+
+
+# func_options [ARG]...
+# ---------------------
+# All the functions called inside func_options are hookable. See the
+# individual implementations for details.
+func_hookable func_options
+func_options ()
+{
+ $debug_cmd
+
+ func_options_prep ${1+"$@"}
+ eval func_parse_options \
+ ${func_options_prep_result+"$func_options_prep_result"}
+ eval func_validate_options \
+ ${func_parse_options_result+"$func_parse_options_result"}
+
+ eval func_run_hooks func_options \
+ ${func_validate_options_result+"$func_validate_options_result"}
+
+ # save modified positional parameters for caller
+ func_options_result=$func_run_hooks_result
+}
+
+
+# func_options_prep [ARG]...
+# --------------------------
+# All initialisations required before starting the option parse loop.
+# Note that when calling hook functions, we pass through the list of
+# positional parameters. If a hook function modifies that list, and
+# needs to propogate that back to rest of this script, then the complete
+# modified list must be put in 'func_run_hooks_result' before
+# returning.
+func_hookable func_options_prep
+func_options_prep ()
+{
+ $debug_cmd
+
+ # Option defaults:
+ opt_verbose=false
+ opt_warning_types=
+
+ func_run_hooks func_options_prep ${1+"$@"}
+
+ # save modified positional parameters for caller
+ func_options_prep_result=$func_run_hooks_result
+}
+
+
+# func_parse_options [ARG]...
+# ---------------------------
+# The main option parsing loop.
+func_hookable func_parse_options
+func_parse_options ()
+{
+ $debug_cmd
+
+ func_parse_options_result=
+
+ # this just eases exit handling
+ while test $# -gt 0; do
+ # Defer to hook functions for initial option parsing, so they
+ # get priority in the event of reusing an option name.
+ func_run_hooks func_parse_options ${1+"$@"}
+
+ # Adjust func_parse_options positional parameters to match
+ eval set dummy "$func_run_hooks_result"; shift
+
+ # Break out of the loop if we already parsed every option.
+ test $# -gt 0 || break
+
+ _G_opt=$1
+ shift
+ case $_G_opt in
+ --debug|-x) debug_cmd='set -x'
+ func_echo "enabling shell trace mode"
+ $debug_cmd
+ ;;
+
+ --no-warnings|--no-warning|--no-warn)
+ set dummy --warnings none ${1+"$@"}
+ shift
+ ;;
+
+ --warnings|--warning|-W)
+ test $# = 0 && func_missing_arg $_G_opt && break
+ case " $warning_categories $1" in
+ *" $1 "*)
+ # trailing space prevents matching last $1 above
+ func_append_uniq opt_warning_types " $1"
+ ;;
+ *all)
+ opt_warning_types=$warning_categories
+ ;;
+ *none)
+ opt_warning_types=none
+ warning_func=:
+ ;;
+ *error)
+ opt_warning_types=$warning_categories
+ warning_func=func_fatal_error
+ ;;
+ *)
+ func_fatal_error \
+ "unsupported warning category: '$1'"
+ ;;
+ esac
+ shift
+ ;;
+
+ --verbose|-v) opt_verbose=: ;;
+ --version) func_version ;;
+ -\?|-h) func_usage ;;
+ --help) func_help ;;
+
+ # Separate optargs to long options (plugins may need this):
+ --*=*) func_split_equals "$_G_opt"
+ set dummy "$func_split_equals_lhs" \
+ "$func_split_equals_rhs" ${1+"$@"}
+ shift
+ ;;
+
+ # Separate optargs to short options:
+ -W*)
+ func_split_short_opt "$_G_opt"
+ set dummy "$func_split_short_opt_name" \
+ "$func_split_short_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ # Separate non-argument short options:
+ -\?*|-h*|-v*|-x*)
+ func_split_short_opt "$_G_opt"
+ set dummy "$func_split_short_opt_name" \
+ "-$func_split_short_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ --) break ;;
+ -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
+ esac
+ done
+
+ # save modified positional parameters for caller
+ func_quote_for_eval ${1+"$@"}
+ func_parse_options_result=$func_quote_for_eval_result
+}
+
+
+# func_validate_options [ARG]...
+# ------------------------------
+# Perform any sanity checks on option settings and/or unconsumed
+# arguments.
+func_hookable func_validate_options
+func_validate_options ()
+{
+ $debug_cmd
+
+ # Display all warnings if -W was not given.
+ test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
+
+ func_run_hooks func_validate_options ${1+"$@"}
+
+ # Bail if the options were screwed!
+ $exit_cmd $EXIT_FAILURE
+
+ # save modified positional parameters for caller
+ func_validate_options_result=$func_run_hooks_result
+}
+
+
+
+## ----------------- ##
+## Helper functions. ##
+## ----------------- ##
+
+# This section contains the helper functions used by the rest of the
+# hookable option parser framework in ascii-betical order.
+
+
+# func_fatal_help ARG...
+# ----------------------
+# Echo program name prefixed message to standard error, followed by
+# a help hint, and exit.
+func_fatal_help ()
+{
+ $debug_cmd
+
+ eval \$ECHO \""Usage: $usage"\"
+ eval \$ECHO \""$fatal_help"\"
+ func_error ${1+"$@"}
+ exit $EXIT_FAILURE
+}
+
+
+# func_help
+# ---------
+# Echo long help message to standard output and exit.
+func_help ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "$long_help_message"
+ exit 0
+}
+
+
+# func_missing_arg ARGNAME
+# ------------------------
+# Echo program name prefixed message to standard error and set global
+# exit_cmd.
+func_missing_arg ()
+{
+ $debug_cmd
+
+ func_error "Missing argument for '$1'."
+ exit_cmd=exit
+}
+
+
+# func_split_equals STRING
+# ------------------------
+# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
+# splitting STRING at the '=' sign.
+test -z "$_G_HAVE_XSI_OPS" \
+ && (eval 'x=a/b/c;
+ test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
+ && _G_HAVE_XSI_OPS=yes
+
+if test yes = "$_G_HAVE_XSI_OPS"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_split_equals ()
+ {
+ $debug_cmd
+
+ func_split_equals_lhs=${1%%=*}
+ func_split_equals_rhs=${1#*=}
+ test "x$func_split_equals_lhs" = "x$1" \
+ && func_split_equals_rhs=
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_split_equals ()
+ {
+ $debug_cmd
+
+ func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
+ func_split_equals_rhs=
+ test "x$func_split_equals_lhs" = "x$1" \
+ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
+ }
+fi #func_split_equals
+
+
+# func_split_short_opt SHORTOPT
+# -----------------------------
+# Set func_split_short_opt_name and func_split_short_opt_arg shell
+# variables after splitting SHORTOPT after the 2nd character.
+if test yes = "$_G_HAVE_XSI_OPS"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_split_short_opt ()
+ {
+ $debug_cmd
+
+ func_split_short_opt_arg=${1#??}
+ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_split_short_opt ()
+ {
+ $debug_cmd
+
+ func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
+ func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
+ }
+fi #func_split_short_opt
+
+
+# func_usage
+# ----------
+# Echo short help message to standard output and exit.
+func_usage ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
+ exit 0
+}
+
+
+# func_usage_message
+# ------------------
+# Echo short help message to standard output.
+func_usage_message ()
+{
+ $debug_cmd
+
+ eval \$ECHO \""Usage: $usage"\"
+ echo
+ $SED -n 's|^# ||
+ /^Written by/{
+ x;p;x
+ }
+ h
+ /^Written by/q' < "$progpath"
+ echo
+ eval \$ECHO \""$usage_message"\"
+}
+
+
+# func_version
+# ------------
+# Echo version message to standard output and exit.
+func_version ()
+{
+ $debug_cmd
+
+ printf '%s\n' "$progname $scriptversion"
+ $SED -n '
+ /(C)/!b go
+ :more
+ /\./!{
+ N
+ s|\n# | |
+ b more
+ }
+ :go
+ /^# Written by /,/# warranty; / {
+ s|^# ||
+ s|^# *$||
+ s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
+ p
+ }
+ /^# Written by / {
+ s|^# ||
+ p
+ }
+ /^warranty; /q' < "$progpath"
+
+ exit $?
+}
+
+
+# Local variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
+# time-stamp-time-zone: "UTC"
+# End:
+
+# Set a version string.
+scriptversion='(GNU libtool) 2.4.4'
+
+
+# func_echo ARG...
+# ----------------
+# Libtool also displays the current mode in messages, so override
+# funclib.sh func_echo with this custom definition.
+func_echo ()
+{
+ $debug_cmd
+
+ _G_message=$*
+
+ func_echo_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_IFS
+ $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
+ done
+ IFS=$func_echo_IFS
+}
+
+
+# func_warning ARG...
+# -------------------
+# Libtool warnings are not categorized, so override funclib.sh
+# func_warning with this simpler definition.
+func_warning ()
+{
+ $debug_cmd
+
+ $warning_func ${1+"$@"}
+}
+
+
+## ---------------- ##
+## Options parsing. ##
+## ---------------- ##
+
+# Hook in the functions to make sure our own options are parsed during
+# the option parsing loop.
+
+usage='$progpath [OPTION]... [MODE-ARG]...'
+
+# Short help message in response to '-h'.
+usage_message="Options:
+ --config show all configuration variables
+ --debug enable verbose shell tracing
+ -n, --dry-run display commands without modifying any files
+ --features display basic configuration information and exit
+ --mode=MODE use operation mode MODE
+ --no-warnings equivalent to '-Wnone'
+ --preserve-dup-deps don't remove duplicate dependency libraries
+ --quiet, --silent don't print informational messages
+ --tag=TAG use configuration variables from tag TAG
+ -v, --verbose print more informational messages than default
+ --version print version information
+ -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
+ -h, --help, --help-all print short, long, or detailed help message
+"
+
+# Additional text appended to 'usage_message' in response to '--help'.
+long_help_message=$long_help_message"
+
+MODE must be one of the following:
+
+ clean remove files from the build directory
+ compile compile a source file into a libtool object
+ execute automatically set library path, then run a program
+ finish complete the installation of libtool libraries
+ install install libraries or executables
+ link create a library or an executable
+ uninstall remove libraries from an installed directory
+
+MODE-ARGS vary depending on the MODE. When passed as first option,
+'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
+Try '$progname --help --mode=MODE' for a more detailed description of MODE.
+
+When reporting a bug, please describe a test case to reproduce it and
+include the following information:
+
+ host-triplet: $host
+ shell: $SHELL
+ compiler: $LTCC
+ compiler flags: $LTCFLAGS
+ linker: $LD (gnu? $with_gnu_ld)
+ version: $progname (GNU libtool) 2.4.4
+ automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
+ autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
+
+Report bugs to <bug-libtool at gnu.org>.
+GNU libtool home page: <http://www.gnu.org/software/libtool/>.
+General help using GNU software: <http://www.gnu.org/gethelp/>."
+
+
+# func_lo2o OBJECT-NAME
+# ---------------------
+# Transform OBJECT-NAME from a '.lo' suffix to the platform specific
+# object suffix.
+
+lo2o=s/\\.lo\$/.$objext/
+o2lo=s/\\.$objext\$/.lo/
+
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_lo2o ()
+ {
+ case $1 in
+ *.lo) func_lo2o_result=${1%.lo}.$objext ;;
+ * ) func_lo2o_result=$1 ;;
+ esac
+ }'
+
+ # func_xform LIBOBJ-OR-SOURCE
+ # ---------------------------
+ # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
+ # suffix to a '.lo' libtool-object suffix.
+ eval 'func_xform ()
+ {
+ func_xform_result=${1%.*}.lo
+ }'
+else
+ # ...otherwise fall back to using sed.
+ func_lo2o ()
+ {
+ func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
+ }
+
+ func_xform ()
+ {
+ func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
+ }
+fi
+
+
+# func_fatal_configuration ARG...
+# -------------------------------
+# Echo program name prefixed message to standard error, followed by
+# a configuration failure hint, and exit.
+func_fatal_configuration ()
+{
+ func__fatal_error ${1+"$@"} \
+ "See the $PACKAGE documentation for more information." \
+ "Fatal configuration error."
+}
+
+
+# func_config
+# -----------
+# Display the configuration for all the tags in this script.
+func_config ()
+{
+ re_begincf='^# ### BEGIN LIBTOOL'
+ re_endcf='^# ### END LIBTOOL'
+
+ # Default configuration.
+ $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
+
+ # Now print the configurations for the tags.
+ for tagname in $taglist; do
+ $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
+ done
+
+ exit $?
+}
+
+
+# func_features
+# -------------
+# Display the features supported by this script.
+func_features ()
+{
+ echo "host: $host"
+ if test yes = "$build_libtool_libs"; then
+ echo "enable shared libraries"
+ else
+ echo "disable shared libraries"
+ fi
+ if test yes = "$build_old_libs"; then
+ echo "enable static libraries"
+ else
+ echo "disable static libraries"
+ fi
+
+ exit $?
+}
+
+
+# func_enable_tag TAGNAME
+# -----------------------
+# Verify that TAGNAME is valid, and either flag an error and exit, or
+# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
+# variable here.
+func_enable_tag ()
+{
+ # Global variable:
+ tagname=$1
+
+ re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
+ re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
+ sed_extractcf=/$re_begincf/,/$re_endcf/p
+
+ # Validate tagname.
+ case $tagname in
+ *[!-_A-Za-z0-9,/]*)
+ func_fatal_error "invalid tag name: $tagname"
+ ;;
+ esac
+
+ # Don't test for the "default" C tag, as we know it's
+ # there but not specially marked.
+ case $tagname in
+ CC) ;;
+ *)
+ if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
+ taglist="$taglist $tagname"
+
+ # Evaluate the configuration. Be careful to quote the path
+ # and the sed script, to avoid splitting on whitespace, but
+ # also don't use non-portable quotes within backquotes within
+ # quotes we have to do it in 2 steps:
+ extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
+ eval "$extractedcf"
+ else
+ func_error "ignoring unknown tag $tagname"
+ fi
+ ;;
+ esac
+}
+
+
+# func_check_version_match
+# ------------------------
+# Ensure that we are using m4 macros, and libtool script from the same
+# release of libtool.
+func_check_version_match ()
+{
+ if test "$package_revision" != "$macro_revision"; then
+ if test "$VERSION" != "$macro_version"; then
+ if test -z "$macro_version"; then
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from an older release.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ fi
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
+$progname: of $PACKAGE $VERSION and run autoconf again.
+_LT_EOF
+ fi
+
+ exit $EXIT_MISMATCH
+ fi
+}
+
+
+# libtool_options_prep [ARG]...
+# -----------------------------
+# Preparation for options parsed by libtool.
+libtool_options_prep ()
+{
+ $debug_mode
+
+ # Option defaults:
+ opt_config=false
+ opt_dlopen=
+ opt_dry_run=false
+ opt_help=false
+ opt_mode=
+ opt_preserve_dup_deps=false
+ opt_quiet=false
+
+ nonopt=
+ preserve_args=
+
+ # Shorthand for --mode=foo, only valid as the first argument
+ case $1 in
+ clean|clea|cle|cl)
+ shift; set dummy --mode clean ${1+"$@"}; shift
+ ;;
+ compile|compil|compi|comp|com|co|c)
+ shift; set dummy --mode compile ${1+"$@"}; shift
+ ;;
+ execute|execut|execu|exec|exe|ex|e)
+ shift; set dummy --mode execute ${1+"$@"}; shift
+ ;;
+ finish|finis|fini|fin|fi|f)
+ shift; set dummy --mode finish ${1+"$@"}; shift
+ ;;
+ install|instal|insta|inst|ins|in|i)
+ shift; set dummy --mode install ${1+"$@"}; shift
+ ;;
+ link|lin|li|l)
+ shift; set dummy --mode link ${1+"$@"}; shift
+ ;;
+ uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+ shift; set dummy --mode uninstall ${1+"$@"}; shift
+ ;;
+ esac
+
+ # Pass back the list of options.
+ func_quote_for_eval ${1+"$@"}
+ libtool_options_prep_result=$func_quote_for_eval_result
+}
+func_add_hook func_options_prep libtool_options_prep
+
+
+# libtool_parse_options [ARG]...
+# ---------------------------------
+# Provide handling for libtool specific options.
+libtool_parse_options ()
+{
+ $debug_cmd
+
+ # Perform our own loop to consume as many options as possible in
+ # each iteration.
+ while test $# -gt 0; do
+ _G_opt=$1
+ shift
+ case $_G_opt in
+ --dry-run|--dryrun|-n)
+ opt_dry_run=:
+ ;;
+
+ --config) func_config ;;
+
+ --dlopen|-dlopen)
+ opt_dlopen="${opt_dlopen+$opt_dlopen
+}$1"
+ shift
+ ;;
+
+ --preserve-dup-deps)
+ opt_preserve_dup_deps=: ;;
+
+ --features) func_features ;;
+
+ --finish) set dummy --mode finish ${1+"$@"}; shift ;;
+
+ --help) opt_help=: ;;
+
+ --help-all) opt_help=': help-all' ;;
+
+ --mode) test $# = 0 && func_missing_arg $_G_opt && break
+ opt_mode=$1
+ case $1 in
+ # Valid mode arguments:
+ clean|compile|execute|finish|install|link|relink|uninstall) ;;
+
+ # Catch anything else as an error
+ *) func_error "invalid argument for $_G_opt"
+ exit_cmd=exit
+ break
+ ;;
+ esac
+ shift
+ ;;
+
+ --no-silent|--no-quiet)
+ opt_quiet=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --no-warnings|--no-warning|--no-warn)
+ opt_warning=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --no-verbose)
+ opt_verbose=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --silent|--quiet)
+ opt_quiet=:
+ opt_verbose=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --tag) test $# = 0 && func_missing_arg $_G_opt && break
+ opt_tag=$1
+ func_append preserve_args " $_G_opt $1"
+ func_enable_tag "$1"
+ shift
+ ;;
+
+ --verbose|-v) opt_quiet=false
+ opt_verbose=:
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ # An option not handled by this hook function:
+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
+ esac
+ done
+
+
+ # save modified positional parameters for caller
+ func_quote_for_eval ${1+"$@"}
+ libtool_parse_options_result=$func_quote_for_eval_result
+}
+func_add_hook func_parse_options libtool_parse_options
+
+
+
+# libtool_validate_options [ARG]...
+# ---------------------------------
+# Perform any sanity checks on option settings and/or unconsumed
+# arguments.
+libtool_validate_options ()
+{
+ # save first non-option argument
+ if test 0 -lt $#; then
+ nonopt=$1
+ shift
+ fi
+
+ # preserve --debug
+ test : = "$debug_cmd" || func_append preserve_args " --debug"
+
+ case $host in
+ # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
+ # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
+ *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
+ # don't eliminate duplications in $postdeps and $predeps
+ opt_duplicate_compiler_generated_deps=:
+ ;;
+ *)
+ opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
+ ;;
+ esac
+
+ $opt_help || {
+ # Sanity checks first:
+ func_check_version_match
+
+ test yes != "$build_libtool_libs" \
+ && test yes != "$build_old_libs" \
+ && func_fatal_configuration "not configured to build any kind of library"
+
+ # Darwin sucks
+ eval std_shrext=\"$shrext_cmds\"
+
+ # Only execute mode is allowed to have -dlopen flags.
+ if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
+ func_error "unrecognized option '-dlopen'"
+ $ECHO "$help" 1>&2
+ exit $EXIT_FAILURE
+ fi
+
+ # Change the help message to a mode-specific one.
+ generic_help=$help
+ help="Try '$progname --help --mode=$opt_mode' for more information."
+ }
+
+ # Pass back the unparsed argument list
+ func_quote_for_eval ${1+"$@"}
+ libtool_validate_options_result=$func_quote_for_eval_result
+}
+func_add_hook func_validate_options libtool_validate_options
+
+
+# Process options as early as possible so that --help and --version
+# can return quickly.
+func_options ${1+"$@"}
+eval set dummy "$func_options_result"; shift
+
+
+
+## ----------- ##
+## Main. ##
+## ----------- ##
+
+magic='%%%MAGIC variable%%%'
+magic_exe='%%%MAGIC EXE variable%%%'
+
+# Global variables.
+extracted_archives=
+extracted_serial=0
+
+# If this variable is set in any of the actions, the command in it
+# will be execed at the end. This prevents here-documents from being
+# left over by shells.
+exec_cmd=
+
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
+# func_generated_by_libtool
+# True iff stdin has been generated by Libtool. This function is only
+# a basic sanity check; it will hardly flush out determined imposters.
+func_generated_by_libtool_p ()
+{
+ $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
+}
+
+# func_lalib_p file
+# True iff FILE is a libtool '.la' library or '.lo' object file.
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_lalib_p ()
+{
+ test -f "$1" &&
+ $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
+}
+
+# func_lalib_unsafe_p file
+# True iff FILE is a libtool '.la' library or '.lo' object file.
+# This function implements the same check as func_lalib_p without
+# resorting to external programs. To this end, it redirects stdin and
+# closes it afterwards, without saving the original file descriptor.
+# As a safety measure, use it only where a negative result would be
+# fatal anyway. Works if 'file' does not exist.
+func_lalib_unsafe_p ()
+{
+ lalib_p=no
+ if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
+ for lalib_p_l in 1 2 3 4
+ do
+ read lalib_p_line
+ case $lalib_p_line in
+ \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
+ esac
+ done
+ exec 0<&5 5<&-
+ fi
+ test yes = "$lalib_p"
+}
+
+# func_ltwrapper_script_p file
+# True iff FILE is a libtool wrapper script
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_script_p ()
+{
+ test -f "$1" &&
+ $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
+}
+
+# func_ltwrapper_executable_p file
+# True iff FILE is a libtool wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_executable_p ()
+{
+ func_ltwrapper_exec_suffix=
+ case $1 in
+ *.exe) ;;
+ *) func_ltwrapper_exec_suffix=.exe ;;
+ esac
+ $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
+}
+
+# func_ltwrapper_scriptname file
+# Assumes file is an ltwrapper_executable
+# uses $file to determine the appropriate filename for a
+# temporary ltwrapper_script.
+func_ltwrapper_scriptname ()
+{
+ func_dirname_and_basename "$1" "" "."
+ func_stripname '' '.exe' "$func_basename_result"
+ func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
+}
+
+# func_ltwrapper_p file
+# True iff FILE is a libtool wrapper script or wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_p ()
+{
+ func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
+}
+
+
+# func_execute_cmds commands fail_cmd
+# Execute tilde-delimited COMMANDS.
+# If FAIL_CMD is given, eval that upon failure.
+# FAIL_CMD may read-access the current command in variable CMD!
+func_execute_cmds ()
+{
+ $debug_cmd
+
+ save_ifs=$IFS; IFS='~'
+ for cmd in $1; do
+ IFS=$sp$nl
+ eval cmd=\"$cmd\"
+ IFS=$save_ifs
+ func_show_eval "$cmd" "${2-:}"
+ done
+ IFS=$save_ifs
+}
+
+
+# func_source file
+# Source FILE, adding directory component if necessary.
+# Note that it is not necessary on cygwin/mingw to append a dot to
+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
+# behavior happens only for exec(3), not for open(2)! Also, sourcing
+# 'FILE.' does not work on cygwin managed mounts.
+func_source ()
+{
+ $debug_cmd
+
+ case $1 in
+ */* | *\\*) . "$1" ;;
+ *) . "./$1" ;;
+ esac
+}
+
+
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot. Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+ func_resolve_sysroot_result=$1
+ case $func_resolve_sysroot_result in
+ =*)
+ func_stripname '=' '' "$func_resolve_sysroot_result"
+ func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+ ;;
+ esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+ case $lt_sysroot:$1 in
+ ?*:"$lt_sysroot"*)
+ func_stripname "$lt_sysroot" '' "$1"
+ func_replace_sysroot_result='='$func_stripname_result
+ ;;
+ *)
+ # Including no sysroot.
+ func_replace_sysroot_result=$1
+ ;;
+ esac
+}
+
+# func_infer_tag arg
+# Infer tagged configuration to use if any are available and
+# if one wasn't chosen via the "--tag" command line option.
+# Only attempt this if the compiler in the base compile
+# command doesn't match the default compiler.
+# arg is usually of the form 'gcc ...'
+func_infer_tag ()
+{
+ $debug_cmd
+
+ if test -n "$available_tags" && test -z "$tagname"; then
+ CC_quoted=
+ for arg in $CC; do
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case $@ in
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when configure was run.
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
+ # Blanks at the start of $base_compile will cause this to fail
+ # if we don't check for them as well.
+ *)
+ for z in $available_tags; do
+ if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
+ CC_quoted=
+ for arg in $CC; do
+ # Double-quote args containing other shell metacharacters.
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case "$@ " in
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
+ # The compiler in the base compile command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ func_echo "unable to infer tagged configuration"
+ func_fatal_error "specify a tag with '--tag'"
+# else
+# func_verbose "using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+}
+
+
+
+# func_write_libtool_object output_name pic_name nonpic_name
+# Create a libtool object file (analogous to a ".la" file),
+# but don't create it if we're doing a dry run.
+func_write_libtool_object ()
+{
+ write_libobj=$1
+ if test yes = "$build_libtool_libs"; then
+ write_lobj=\'$2\'
+ else
+ write_lobj=none
+ fi
+
+ if test yes = "$build_old_libs"; then
+ write_oldobj=\'$3\'
+ else
+ write_oldobj=none
+ fi
+
+ $opt_dry_run || {
+ cat >${write_libobj}T <<EOF
+# $write_libobj - a libtool object file
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object=$write_lobj
+
+# Name of the non-PIC object
+non_pic_object=$write_oldobj
+
+EOF
+ $MV "${write_libobj}T" "$write_libobj"
+ }
+}
+
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+ $debug_cmd
+
+ func_convert_core_file_wine_to_w32_result=$1
+ if test -n "$1"; then
+ # Unfortunately, winepath does not exit with a non-zero error code, so we
+ # are forced to check the contents of stdout. On the other hand, if the
+ # command is not found, the shell will set an exit code of 127 and print
+ # *an error message* to stdout. So we must check for both error code of
+ # zero AND non-empty stdout, which explains the odd construction:
+ func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+ if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
+ func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+ $SED -e "$sed_naive_backslashify"`
+ else
+ func_convert_core_file_wine_to_w32_result=
+ fi
+ fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+ $debug_cmd
+
+ # unfortunately, winepath doesn't convert paths, only file names
+ func_convert_core_path_wine_to_w32_result=
+ if test -n "$1"; then
+ oldIFS=$IFS
+ IFS=:
+ for func_convert_core_path_wine_to_w32_f in $1; do
+ IFS=$oldIFS
+ func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+ if test -n "$func_convert_core_file_wine_to_w32_result"; then
+ if test -z "$func_convert_core_path_wine_to_w32_result"; then
+ func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
+ else
+ func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+ fi
+ fi
+ done
+ IFS=$oldIFS
+ fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+ $debug_cmd
+
+ if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+ func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+ if test "$?" -ne 0; then
+ # on failure, ensure result is empty
+ func_cygpath_result=
+ fi
+ else
+ func_cygpath_result=
+ func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
+ fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format. Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+ $debug_cmd
+
+ # awkward: cmd appends spaces to result
+ func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+ $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+ $debug_cmd
+
+ if test -z "$2" && test -n "$1"; then
+ func_error "Could not determine host file name corresponding to"
+ func_error " '$1'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback:
+ func_to_host_file_result=$1
+ fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+ $debug_cmd
+
+ if test -z "$4" && test -n "$3"; then
+ func_error "Could not determine the host path corresponding to"
+ func_error " '$3'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback. This is a deliberately simplistic "conversion" and
+ # should not be "improved". See libtool.info.
+ if test "x$1" != "x$2"; then
+ lt_replace_pathsep_chars="s|$1|$2|g"
+ func_to_host_path_result=`echo "$3" |
+ $SED -e "$lt_replace_pathsep_chars"`
+ else
+ func_to_host_path_result=$3
+ fi
+ fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+ $debug_cmd
+
+ case $4 in
+ $1 ) func_to_host_path_result=$3$func_to_host_path_result
+ ;;
+ esac
+ case $4 in
+ $2 ) func_append func_to_host_path_result "$3"
+ ;;
+ esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via '$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+ $debug_cmd
+
+ $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_to_tool_file ARG LAZY
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result. If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
+func_to_tool_file ()
+{
+ $debug_cmd
+
+ case ,$2, in
+ *,"$to_tool_file_cmd",*)
+ func_to_tool_file_result=$1
+ ;;
+ *)
+ $to_tool_file_cmd "$1"
+ func_to_tool_file_result=$func_to_host_file_result
+ ;;
+ esac
+}
+# end func_to_tool_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+ func_to_host_file_result=$1
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_to_host_file_result=$func_convert_core_msys_to_w32_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+ # LT_CYGPATH in this case.
+ func_to_host_file_result=`cygpath -m "$1"`
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format. Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_file_wine_to_w32 "$1"
+ func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_msys_to_w32_result"
+ func_to_host_file_result=$func_cygpath_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set. Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+ func_convert_core_file_wine_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+ func_to_host_file_result=$func_cygpath_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via '$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format. If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+# file name conversion function : func_convert_file_X_to_Y ()
+# path conversion function : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same. If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+ $debug_cmd
+
+ if test -z "$to_host_path_cmd"; then
+ func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+ to_host_path_cmd=func_convert_path_$func_stripname_result
+ fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+ $debug_cmd
+
+ func_init_to_host_path_cmd
+ $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+ func_to_host_path_result=$1
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from ARG. MSYS
+ # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+ # and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result=$func_convert_core_msys_to_w32_result
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format. Requires a wine environment and
+# a working winepath. Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+ func_to_host_path_result=$func_cygpath_result
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set. Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from
+ # ARG. msys behavior is inconsistent here, cygpath turns them
+ # into '.;' and ';.', and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+ func_to_host_path_result=$func_cygpath_result
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
+# func_dll_def_p FILE
+# True iff FILE is a Windows DLL '.def' file.
+# Keep in sync with _LT_DLL_DEF_P in libtool.m4
+func_dll_def_p ()
+{
+ $debug_cmd
+
+ func_dll_def_p_tmp=`$SED -n \
+ -e 's/^[ ]*//' \
+ -e '/^\(;.*\)*$/d' \
+ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
+ -e q \
+ "$1"`
+ test DEF = "$func_dll_def_p_tmp"
+}
+
+
+# func_mode_compile arg...
+func_mode_compile ()
+{
+ $debug_cmd
+
+ # Get the compilation command and the source file.
+ base_compile=
+ srcfile=$nonopt # always keep a non-empty value in "srcfile"
+ suppress_opt=yes
+ suppress_output=
+ arg_mode=normal
+ libobj=
+ later=
+ pie_flag=
+
+ for arg
+ do
+ case $arg_mode in
+ arg )
+ # do not "continue". Instead, add this to base_compile
+ lastarg=$arg
+ arg_mode=normal
+ ;;
+
+ target )
+ libobj=$arg
+ arg_mode=normal
+ continue
+ ;;
+
+ normal )
+ # Accept any command-line options.
+ case $arg in
+ -o)
+ test -n "$libobj" && \
+ func_fatal_error "you cannot specify '-o' more than once"
+ arg_mode=target
+ continue
+ ;;
+
+ -pie | -fpie | -fPIE)
+ func_append pie_flag " $arg"
+ continue
+ ;;
+
+ -shared | -static | -prefer-pic | -prefer-non-pic)
+ func_append later " $arg"
+ continue
+ ;;
+
+ -no-suppress)
+ suppress_opt=no
+ continue
+ ;;
+
+ -Xcompiler)
+ arg_mode=arg # the next one goes into the "base_compile" arg list
+ continue # The current "srcfile" will either be retained or
+ ;; # replaced later. I would guess that would be a bug.
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ lastarg=
+ save_ifs=$IFS; IFS=,
+ for arg in $args; do
+ IFS=$save_ifs
+ func_append_quoted lastarg "$arg"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$lastarg"
+ lastarg=$func_stripname_result
+
+ # Add the arguments to base_compile.
+ func_append base_compile " $lastarg"
+ continue
+ ;;
+
+ *)
+ # Accept the current argument as the source file.
+ # The previous "srcfile" becomes the current argument.
+ #
+ lastarg=$srcfile
+ srcfile=$arg
+ ;;
+ esac # case $arg
+ ;;
+ esac # case $arg_mode
+
+ # Aesthetically quote the previous argument.
+ func_append_quoted base_compile "$lastarg"
+ done # for arg
+
+ case $arg_mode in
+ arg)
+ func_fatal_error "you must specify an argument for -Xcompile"
+ ;;
+ target)
+ func_fatal_error "you must specify a target with '-o'"
+ ;;
+ *)
+ # Get the name of the library object.
+ test -z "$libobj" && {
+ func_basename "$srcfile"
+ libobj=$func_basename_result
+ }
+ ;;
+ esac
+
+ # Recognize several different file suffixes.
+ # If the user specifies -o file.o, it is replaced with file.lo
+ case $libobj in
+ *.[cCFSifmso] | \
+ *.ada | *.adb | *.ads | *.asm | \
+ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
+ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
+ func_xform "$libobj"
+ libobj=$func_xform_result
+ ;;
+ esac
+
+ case $libobj in
+ *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
+ *)
+ func_fatal_error "cannot determine name of library object from '$libobj'"
+ ;;
+ esac
+
+ func_infer_tag $base_compile
+
+ for arg in $later; do
+ case $arg in
+ -shared)
+ test yes = "$build_libtool_libs" \
+ || func_fatal_configuration "cannot build a shared library"
+ build_old_libs=no
+ continue
+ ;;
+
+ -static)
+ build_libtool_libs=no
+ build_old_libs=yes
+ continue
+ ;;
+
+ -prefer-pic)
+ pic_mode=yes
+ continue
+ ;;
+
+ -prefer-non-pic)
+ pic_mode=no
+ continue
+ ;;
+ esac
+ done
+
+ func_quote_for_eval "$libobj"
+ test "X$libobj" != "X$func_quote_for_eval_result" \
+ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
+ && func_warning "libobj name '$libobj' may not contain shell special characters."
+ func_dirname_and_basename "$obj" "/" ""
+ objname=$func_basename_result
+ xdir=$func_dirname_result
+ lobj=$xdir$objdir/$objname
+
+ test -z "$base_compile" && \
+ func_fatal_help "you must specify a compilation command"
+
+ # Delete any leftover library objects.
+ if test yes = "$build_old_libs"; then
+ removelist="$obj $lobj $libobj ${libobj}T"
+ else
+ removelist="$lobj $libobj ${libobj}T"
+ fi
+
+ # On Cygwin there's no "real" PIC flag so we must build both object types
+ case $host_os in
+ cygwin* | mingw* | pw32* | os2* | cegcc*)
+ pic_mode=default
+ ;;
+ esac
+ if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
+ # non-PIC code in shared libraries is not supported
+ pic_mode=default
+ fi
+
+ # Calculate the filename of the output object if compiler does
+ # not support -o with -c
+ if test no = "$compiler_c_o"; then
+ output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
+ lockfile=$output_obj.lock
+ else
+ output_obj=
+ need_locks=no
+ lockfile=
+ fi
+
+ # Lock this critical section if it is needed
+ # We use this script file to make the link, it avoids creating a new file
+ if test yes = "$need_locks"; then
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ elif test warn = "$need_locks"; then
+ if test -f "$lockfile"; then
+ $ECHO "\
+*** ERROR, $lockfile exists and contains:
+`cat $lockfile 2>/dev/null`
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+ func_append removelist " $output_obj"
+ $ECHO "$srcfile" > "$lockfile"
+ fi
+
+ $opt_dry_run || $RM $removelist
+ func_append removelist " $lockfile"
+ trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
+
+ func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
+ srcfile=$func_to_tool_file_result
+ func_quote_for_eval "$srcfile"
+ qsrcfile=$func_quote_for_eval_result
+
+ # Only build a PIC object if we are building libtool libraries.
+ if test yes = "$build_libtool_libs"; then
+ # Without this assignment, base_compile gets emptied.
+ fbsd_hideous_sh_bug=$base_compile
+
+ if test no != "$pic_mode"; then
+ command="$base_compile $qsrcfile $pic_flag"
+ else
+ # Don't build PIC code
+ command="$base_compile $qsrcfile"
+ fi
+
+ func_mkdir_p "$xdir$objdir"
+
+ if test -z "$output_obj"; then
+ # Place PIC objects in $objdir
+ func_append command " -o $lobj"
+ fi
+
+ func_show_eval_locale "$command" \
+ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
+
+ if test warn = "$need_locks" &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed, then go on to compile the next one
+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
+ func_show_eval '$MV "$output_obj" "$lobj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+
+ # Allow error messages only from the first compilation.
+ if test yes = "$suppress_opt"; then
+ suppress_output=' >/dev/null 2>&1'
+ fi
+ fi
+
+ # Only build a position-dependent object if we build old libraries.
+ if test yes = "$build_old_libs"; then
+ if test yes != "$pic_mode"; then
+ # Don't build PIC code
+ command="$base_compile $qsrcfile$pie_flag"
+ else
+ command="$base_compile $qsrcfile $pic_flag"
+ fi
+ if test yes = "$compiler_c_o"; then
+ func_append command " -o $obj"
+ fi
+
+ # Suppress compiler output if we already did a PIC compilation.
+ func_append command "$suppress_output"
+ func_show_eval_locale "$command" \
+ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
+
+ if test warn = "$need_locks" &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed
+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
+ func_show_eval '$MV "$output_obj" "$obj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+ fi
+
+ $opt_dry_run || {
+ func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
+
+ # Unlock the critical section if it was locked
+ if test no != "$need_locks"; then
+ removelist=$lockfile
+ $RM "$lockfile"
+ fi
+ }
+
+ exit $EXIT_SUCCESS
+}
+
+$opt_help || {
+ test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
+}
+
+func_mode_help ()
+{
+ # We need to display help for each of the modes.
+ case $opt_mode in
+ "")
+ # Generic help is extracted from the usage comments
+ # at the start of this file.
+ func_help
+ ;;
+
+ clean)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
+
+Remove files from the build directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
+to RM.
+
+If FILE is a libtool library, object or program, all the files associated
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ compile)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
+
+Compile a source file into a libtool library object.
+
+This mode accepts the following additional options:
+
+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE
+ -no-suppress do not suppress compiler output for multiple passes
+ -prefer-pic try to build PIC objects only
+ -prefer-non-pic try to build non-PIC objects only
+ -shared do not build a '.o' file suitable for static linking
+ -static only build a '.o' file suitable for static linking
+ -Wc,FLAG pass FLAG directly to the compiler
+
+COMPILE-COMMAND is a command to be used in creating a 'standard' object file
+from the given SOURCEFILE.
+
+The output file name is determined by removing the directory component from
+SOURCEFILE, then substituting the C source code suffix '.c' with the
+library object suffix, '.lo'."
+ ;;
+
+ execute)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
+
+Automatically set library path, then run a program.
+
+This mode accepts the following additional options:
+
+ -dlopen FILE add the directory containing FILE to the library path
+
+This mode sets the library path environment variable according to '-dlopen'
+flags.
+
+If any of the ARGS are libtool executable wrappers, then they are translated
+into their corresponding uninstalled binary, and any of their required library
+directories are added to the library path.
+
+Then, COMMAND is executed, with ARGS as arguments."
+ ;;
+
+ finish)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
+
+Complete the installation of libtool libraries.
+
+Each LIBDIR is a directory that contains libtool libraries.
+
+The commands that this mode executes may require superuser privileges. Use
+the '--dry-run' option if you just want to see what would be executed."
+ ;;
+
+ install)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
+
+Install executables or libraries.
+
+INSTALL-COMMAND is the installation command. The first component should be
+either the 'install' or 'cp' program.
+
+The following components of INSTALL-COMMAND are treated specially:
+
+ -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
+
+The rest of the components are interpreted as arguments to that command (only
+BSD-compatible install options are recognized)."
+ ;;
+
+ link)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
+
+Link object files or libraries together to form another library, or to
+create an executable program.
+
+LINK-COMMAND is a command using the C compiler that you would use to create
+a program from several object files.
+
+The following components of LINK-COMMAND are treated specially:
+
+ -all-static do not do any dynamic linking at all
+ -avoid-version do not add a version suffix if possible
+ -bindir BINDIR specify path to binaries directory (for systems where
+ libraries must be found in the PATH setting at runtime)
+ -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
+ -export-symbols SYMFILE
+ try to export only the symbols listed in SYMFILE
+ -export-symbols-regex REGEX
+ try to export only the symbols matching REGEX
+ -LLIBDIR search LIBDIR for required installed libraries
+ -lNAME OUTPUT-FILE requires the installed library libNAME
+ -module build a library that can dlopened
+ -no-fast-install disable the fast-install mode
+ -no-install link a not-installable executable
+ -no-undefined declare that a library does not refer to external symbols
+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
+ -objectlist FILE use a list of object files found in FILE to specify objects
+ -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
+ -precious-files-regex REGEX
+ don't remove output files matching REGEX
+ -release RELEASE specify package release information
+ -rpath LIBDIR the created library will eventually be installed in LIBDIR
+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
+ -shared only do dynamic linking of libtool libraries
+ -shrext SUFFIX override the standard shared library file extension
+ -static do not do any dynamic linking of uninstalled libtool libraries
+ -static-libtool-libs
+ do not do any dynamic linking of libtool libraries
+ -version-info CURRENT[:REVISION[:AGE]]
+ specify library version info [each variable defaults to 0]
+ -weak LIBNAME declare that the target provides the LIBNAME interface
+ -Wc,FLAG
+ -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
+ -Wl,FLAG
+ -Xlinker FLAG pass linker-specific FLAG directly to the linker
+ -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
+
+All other options (arguments beginning with '-') are ignored.
+
+Every other argument is treated as a filename. Files ending in '.la' are
+treated as uninstalled libtool libraries, other files are standard or library
+object files.
+
+If the OUTPUT-FILE ends in '.la', then a libtool library is created,
+only library objects ('.lo' files) may be specified, and '-rpath' is
+required, except when creating a convenience library.
+
+If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
+using 'ar' and 'ranlib', or on Windows using 'lib'.
+
+If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
+is created, otherwise an executable program is created."
+ ;;
+
+ uninstall)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
+
+Remove libraries from an installation directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
+to RM.
+
+If FILE is a libtool library, all the files associated with it are deleted.
+Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ *)
+ func_fatal_help "invalid operation mode '$opt_mode'"
+ ;;
+ esac
+
+ echo
+ $ECHO "Try '$progname --help' for more information about other modes."
+}
+
+# Now that we've collected a possible --mode arg, show help if necessary
+if $opt_help; then
+ if test : = "$opt_help"; then
+ func_mode_help
+ else
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ func_mode_help
+ done
+ } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ echo
+ func_mode_help
+ done
+ } |
+ $SED '1d
+ /^When reporting/,/^Report/{
+ H
+ d
+ }
+ $x
+ /information about other modes/d
+ /more detailed .*MODE/d
+ s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
+ fi
+ exit $?
+fi
+
+
+# func_mode_execute arg...
+func_mode_execute ()
+{
+ $debug_cmd
+
+ # The first argument is the command name.
+ cmd=$nonopt
+ test -z "$cmd" && \
+ func_fatal_help "you must specify a COMMAND"
+
+ # Handle -dlopen flags immediately.
+ for file in $opt_dlopen; do
+ test -f "$file" \
+ || func_fatal_help "'$file' is not a file"
+
+ dir=
+ case $file in
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "'$lib' is not a valid libtool archive"
+
+ # Read the libtool library.
+ dlname=
+ library_names=
+ func_source "$file"
+
+ # Skip this library if it cannot be dlopened.
+ if test -z "$dlname"; then
+ # Warn if it was a shared library.
+ test -n "$library_names" && \
+ func_warning "'$file' was not linked with '-export-dynamic'"
+ continue
+ fi
+
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+
+ if test -f "$dir/$objdir/$dlname"; then
+ func_append dir "/$objdir"
+ else
+ if test ! -f "$dir/$dlname"; then
+ func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
+ fi
+ fi
+ ;;
+
+ *.lo)
+ # Just add the directory containing the .lo file.
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+ ;;
+
+ *)
+ func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
+ continue
+ ;;
+ esac
+
+ # Get the absolute pathname.
+ absdir=`cd "$dir" && pwd`
+ test -n "$absdir" && dir=$absdir
+
+ # Now add the directory to shlibpath_var.
+ if eval "test -z \"\$$shlibpath_var\""; then
+ eval "$shlibpath_var=\"\$dir\""
+ else
+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
+ fi
+ done
+
+ # This variable tells wrapper scripts just to set shlibpath_var
+ # rather than running their programs.
+ libtool_execute_magic=$magic
+
+ # Check if any of the arguments is a wrapper script.
+ args=
+ for file
+ do
+ case $file in
+ -* | *.la | *.lo ) ;;
+ *)
+ # Do a test to see if this is really a libtool program.
+ if func_ltwrapper_script_p "$file"; then
+ func_source "$file"
+ # Transform arg to wrapped name.
+ file=$progdir/$program
+ elif func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ func_source "$func_ltwrapper_scriptname_result"
+ # Transform arg to wrapped name.
+ file=$progdir/$program
+ fi
+ ;;
+ esac
+ # Quote arguments (to preserve shell metacharacters).
+ func_append_quoted args "$file"
+ done
+
+ if $opt_dry_run; then
+ # Display what would be done.
+ if test -n "$shlibpath_var"; then
+ eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
+ echo "export $shlibpath_var"
+ fi
+ $ECHO "$cmd$args"
+ exit $EXIT_SUCCESS
+ else
+ if test -n "$shlibpath_var"; then
+ # Export the shlibpath_var.
+ eval "export $shlibpath_var"
+ fi
+
+ # Restore saved environment variables
+ for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+ do
+ eval "if test \"\${save_$lt_var+set}\" = set; then
+ $lt_var=\$save_$lt_var; export $lt_var
+ else
+ $lt_unset $lt_var
+ fi"
+ done
+
+ # Now prepare to actually exec the command.
+ exec_cmd=\$cmd$args
+ fi
+}
+
+test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
+
+
+# func_mode_finish arg...
+func_mode_finish ()
+{
+ $debug_cmd
+
+ libs=
+ libdirs=
+ admincmds=
+
+ for opt in "$nonopt" ${1+"$@"}
+ do
+ if test -d "$opt"; then
+ func_append libdirs " $opt"
+
+ elif test -f "$opt"; then
+ if func_lalib_unsafe_p "$opt"; then
+ func_append libs " $opt"
+ else
+ func_warning "'$opt' is not a valid libtool archive"
+ fi
+
+ else
+ func_fatal_error "invalid argument '$opt'"
+ fi
+ done
+
+ if test -n "$libs"; then
+ if test -n "$lt_sysroot"; then
+ sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+ sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+ else
+ sysroot_cmd=
+ fi
+
+ # Remove sysroot references
+ if $opt_dry_run; then
+ for lib in $libs; do
+ echo "removing references to $lt_sysroot and '=' prefixes from $lib"
+ done
+ else
+ tmpdir=`func_mktempdir`
+ for lib in $libs; do
+ $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+ > $tmpdir/tmp-la
+ mv -f $tmpdir/tmp-la $lib
+ done
+ ${RM}r "$tmpdir"
+ fi
+ fi
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ for libdir in $libdirs; do
+ if test -n "$finish_cmds"; then
+ # Do each command in the finish commands.
+ func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
+'"$cmd"'"'
+ fi
+ if test -n "$finish_eval"; then
+ # Do the single finish_eval.
+ eval cmds=\"$finish_eval\"
+ $opt_dry_run || eval "$cmds" || func_append admincmds "
+ $cmds"
+ fi
+ done
+ fi
+
+ # Exit here if they wanted silent mode.
+ $opt_quiet && exit $EXIT_SUCCESS
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ echo "----------------------------------------------------------------------"
+ echo "Libraries have been installed in:"
+ for libdir in $libdirs; do
+ $ECHO " $libdir"
+ done
+ echo
+ echo "If you ever happen to want to link against installed libraries"
+ echo "in a given directory, LIBDIR, you must either use libtool, and"
+ echo "specify the full pathname of the library, or use the '-LLIBDIR'"
+ echo "flag during linking and do at least one of the following:"
+ if test -n "$shlibpath_var"; then
+ echo " - add LIBDIR to the '$shlibpath_var' environment variable"
+ echo " during execution"
+ fi
+ if test -n "$runpath_var"; then
+ echo " - add LIBDIR to the '$runpath_var' environment variable"
+ echo " during linking"
+ fi
+ if test -n "$hardcode_libdir_flag_spec"; then
+ libdir=LIBDIR
+ eval flag=\"$hardcode_libdir_flag_spec\"
+
+ $ECHO " - use the '$flag' linker flag"
+ fi
+ if test -n "$admincmds"; then
+ $ECHO " - have your system administrator run these commands:$admincmds"
+ fi
+ if test -f /etc/ld.so.conf; then
+ echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
+ fi
+ echo
+
+ echo "See any operating system documentation about shared libraries for"
+ case $host in
+ solaris2.[6789]|solaris2.1[0-9])
+ echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+ echo "pages."
+ ;;
+ *)
+ echo "more information, such as the ld(1) and ld.so(8) manual pages."
+ ;;
+ esac
+ echo "----------------------------------------------------------------------"
+ fi
+ exit $EXIT_SUCCESS
+}
+
+test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
+
+
+# func_mode_install arg...
+func_mode_install ()
+{
+ $debug_cmd
+
+ # There may be an optional sh(1) argument at the beginning of
+ # install_prog (especially on Windows NT).
+ if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
+ # Allow the use of GNU shtool's install command.
+ case $nonopt in *shtool*) :;; *) false;; esac
+ then
+ # Aesthetically quote it.
+ func_quote_for_eval "$nonopt"
+ install_prog="$func_quote_for_eval_result "
+ arg=$1
+ shift
+ else
+ install_prog=
+ arg=$nonopt
+ fi
+
+ # The real first argument should be the name of the installation program.
+ # Aesthetically quote it.
+ func_quote_for_eval "$arg"
+ func_append install_prog "$func_quote_for_eval_result"
+ install_shared_prog=$install_prog
+ case " $install_prog " in
+ *[\\\ /]cp\ *) install_cp=: ;;
+ *) install_cp=false ;;
+ esac
+
+ # We need to accept at least all the BSD install flags.
+ dest=
+ files=
+ opts=
+ prev=
+ install_type=
+ isdir=false
+ stripme=
+ no_mode=:
+ for arg
+ do
+ arg2=
+ if test -n "$dest"; then
+ func_append files " $dest"
+ dest=$arg
+ continue
+ fi
+
+ case $arg in
+ -d) isdir=: ;;
+ -f)
+ if $install_cp; then :; else
+ prev=$arg
+ fi
+ ;;
+ -g | -m | -o)
+ prev=$arg
+ ;;
+ -s)
+ stripme=" -s"
+ continue
+ ;;
+ -*)
+ ;;
+ *)
+ # If the previous option needed an argument, then skip it.
+ if test -n "$prev"; then
+ if test X-m = "X$prev" && test -n "$install_override_mode"; then
+ arg2=$install_override_mode
+ no_mode=false
+ fi
+ prev=
+ else
+ dest=$arg
+ continue
+ fi
+ ;;
+ esac
+
+ # Aesthetically quote the argument.
+ func_quote_for_eval "$arg"
+ func_append install_prog " $func_quote_for_eval_result"
+ if test -n "$arg2"; then
+ func_quote_for_eval "$arg2"
+ fi
+ func_append install_shared_prog " $func_quote_for_eval_result"
+ done
+
+ test -z "$install_prog" && \
+ func_fatal_help "you must specify an install program"
+
+ test -n "$prev" && \
+ func_fatal_help "the '$prev' option requires an argument"
+
+ if test -n "$install_override_mode" && $no_mode; then
+ if $install_cp; then :; else
+ func_quote_for_eval "$install_override_mode"
+ func_append install_shared_prog " -m $func_quote_for_eval_result"
+ fi
+ fi
+
+ if test -z "$files"; then
+ if test -z "$dest"; then
+ func_fatal_help "no file or destination specified"
+ else
+ func_fatal_help "you must specify a destination"
+ fi
+ fi
+
+ # Strip any trailing slash from the destination.
+ func_stripname '' '/' "$dest"
+ dest=$func_stripname_result
+
+ # Check to see that the destination is a directory.
+ test -d "$dest" && isdir=:
+ if $isdir; then
+ destdir=$dest
+ destname=
+ else
+ func_dirname_and_basename "$dest" "" "."
+ destdir=$func_dirname_result
+ destname=$func_basename_result
+
+ # Not a directory, so check to see that there is only one file specified.
+ set dummy $files; shift
+ test "$#" -gt 1 && \
+ func_fatal_help "'$dest' is not a directory"
+ fi
+ case $destdir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ for file in $files; do
+ case $file in
+ *.lo) ;;
+ *)
+ func_fatal_help "'$destdir' must be an absolute directory name"
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic=$magic
+
+ staticlibs=
+ future_libdirs=
+ current_libdirs=
+ for file in $files; do
+
+ # Do each installation.
+ case $file in
+ *.$libext)
+ # Do the static libraries later.
+ func_append staticlibs " $file"
+ ;;
+
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "'$file' is not a valid libtool archive"
+
+ library_names=
+ old_library=
+ relink_command=
+ func_source "$file"
+
+ # Add the libdir to current_libdirs if it is the destination.
+ if test "X$destdir" = "X$libdir"; then
+ case "$current_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append current_libdirs " $libdir" ;;
+ esac
+ else
+ # Note the libdir as a future libdir.
+ case "$future_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append future_libdirs " $libdir" ;;
+ esac
+ fi
+
+ func_dirname "$file" "/" ""
+ dir=$func_dirname_result
+ func_append dir "$objdir"
+
+ if test -n "$relink_command"; then
+ # Determine the prefix the user has applied to our future dir.
+ inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
+
+ # Don't allow the user to place us outside of our expected
+ # location b/c this prevents finding dependent libraries that
+ # are installed to the same prefix.
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+ test "$inst_prefix_dir" = "$destdir" && \
+ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+ else
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
+ fi
+
+ func_warning "relinking '$file'"
+ func_show_eval "$relink_command" \
+ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
+ fi
+
+ # See the names of the shared library.
+ set dummy $library_names; shift
+ if test -n "$1"; then
+ realname=$1
+ shift
+
+ srcname=$realname
+ test -n "$relink_command" && srcname=${realname}T
+
+ # Install the shared library and build the symlinks.
+ func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
+ 'exit $?'
+ tstripme=$stripme
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $realname in
+ *.dll.a)
+ tstripme=
+ ;;
+ esac
+ ;;
+ os2*)
+ case $realname in
+ *_dll.a)
+ tstripme=
+ ;;
+ esac
+ ;;
+ esac
+ if test -n "$tstripme" && test -n "$striplib"; then
+ func_show_eval "$striplib $destdir/$realname" 'exit $?'
+ fi
+
+ if test "$#" -gt 0; then
+ # Delete the old symlinks, and create new ones.
+ # Try 'ln -sf' first, because the 'ln' binary might depend on
+ # the symlink we replace! Solaris /bin/ln does not understand -f,
+ # so we also need to try rm && ln -s.
+ for linkname
+ do
+ test "$linkname" != "$realname" \
+ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
+ done
+ fi
+
+ # Do each command in the postinstall commands.
+ lib=$destdir/$realname
+ func_execute_cmds "$postinstall_cmds" 'exit $?'
+ fi
+
+ # Install the pseudo-library for information purposes.
+ func_basename "$file"
+ name=$func_basename_result
+ instname=$dir/${name}i
+ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && func_append staticlibs " $dir/$old_library"
+ ;;
+
+ *.lo)
+ # Install (i.e. copy) a libtool object.
+
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile=$destdir/$destname
+ else
+ func_basename "$file"
+ destfile=$func_basename_result
+ destfile=$destdir/$destfile
+ fi
+
+ # Deduce the name of the destination old-style object file.
+ case $destfile in
+ *.lo)
+ func_lo2o "$destfile"
+ staticdest=$func_lo2o_result
+ ;;
+ *.$objext)
+ staticdest=$destfile
+ destfile=
+ ;;
+ *)
+ func_fatal_help "cannot copy a libtool object to '$destfile'"
+ ;;
+ esac
+
+ # Install the libtool object if requested.
+ test -n "$destfile" && \
+ func_show_eval "$install_prog $file $destfile" 'exit $?'
+
+ # Install the old object if enabled.
+ if test yes = "$build_old_libs"; then
+ # Deduce the name of the old-style object file.
+ func_lo2o "$file"
+ staticobj=$func_lo2o_result
+ func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
+ fi
+ exit $EXIT_SUCCESS
+ ;;
+
+ *)
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile=$destdir/$destname
+ else
+ func_basename "$file"
+ destfile=$func_basename_result
+ destfile=$destdir/$destfile
+ fi
+
+ # If the file is missing, and there is a .exe on the end, strip it
+ # because it is most likely a libtool script we actually want to
+ # install
+ stripped_ext=
+ case $file in
+ *.exe)
+ if test ! -f "$file"; then
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ stripped_ext=.exe
+ fi
+ ;;
+ esac
+
+ # Do a test to see if this is really a libtool program.
+ case $host in
+ *cygwin* | *mingw*)
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ wrapper=$func_ltwrapper_scriptname_result
+ else
+ func_stripname '' '.exe' "$file"
+ wrapper=$func_stripname_result
+ fi
+ ;;
+ *)
+ wrapper=$file
+ ;;
+ esac
+ if func_ltwrapper_script_p "$wrapper"; then
+ notinst_deplibs=
+ relink_command=
+
+ func_source "$wrapper"
+
+ # Check the variables that should have been set.
+ test -z "$generated_by_libtool_version" && \
+ func_fatal_error "invalid libtool wrapper script '$wrapper'"
+
+ finalize=:
+ for lib in $notinst_deplibs; do
+ # Check to see that each library is installed.
+ libdir=
+ if test -f "$lib"; then
+ func_source "$lib"
+ fi
+ libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
+ if test -n "$libdir" && test ! -f "$libfile"; then
+ func_warning "'$lib' has not been installed in '$libdir'"
+ finalize=false
+ fi
+ done
+
+ relink_command=
+ func_source "$wrapper"
+
+ outputname=
+ if test no = "$fast_install" && test -n "$relink_command"; then
+ $opt_dry_run || {
+ if $finalize; then
+ tmpdir=`func_mktempdir`
+ func_basename "$file$stripped_ext"
+ file=$func_basename_result
+ outputname=$tmpdir/$file
+ # Replace the output file specification.
+ relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
+
+ $opt_quiet || {
+ func_quote_for_expand "$relink_command"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ if eval "$relink_command"; then :
+ else
+ func_error "error: relink '$file' with the above command before installing it"
+ $opt_dry_run || ${RM}r "$tmpdir"
+ continue
+ fi
+ file=$outputname
+ else
+ func_warning "cannot relink '$file'"
+ fi
+ }
+ else
+ # Install the binary that we compiled earlier.
+ file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
+ fi
+ fi
+
+ # remove .exe since cygwin /usr/bin/install will append another
+ # one anyway
+ case $install_prog,$host in
+ */usr/bin/install*,*cygwin*)
+ case $file:$destfile in
+ *.exe:*.exe)
+ # this is ok
+ ;;
+ *.exe:*)
+ destfile=$destfile.exe
+ ;;
+ *:*.exe)
+ func_stripname '' '.exe' "$destfile"
+ destfile=$func_stripname_result
+ ;;
+ esac
+ ;;
+ esac
+ func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
+ $opt_dry_run || if test -n "$outputname"; then
+ ${RM}r "$tmpdir"
+ fi
+ ;;
+ esac
+ done
+
+ for file in $staticlibs; do
+ func_basename "$file"
+ name=$func_basename_result
+
+ # Set up the ranlib parameters.
+ oldlib=$destdir/$name
+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+ tool_oldlib=$func_to_tool_file_result
+
+ func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
+
+ if test -n "$stripme" && test -n "$old_striplib"; then
+ func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
+ fi
+
+ # Do each command in the postinstall commands.
+ func_execute_cmds "$old_postinstall_cmds" 'exit $?'
+ done
+
+ test -n "$future_libdirs" && \
+ func_warning "remember to run '$progname --finish$future_libdirs'"
+
+ if test -n "$current_libdirs"; then
+ # Maybe just do a dry run.
+ $opt_dry_run && current_libdirs=" -n$current_libdirs"
+ exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
+ else
+ exit $EXIT_SUCCESS
+ fi
+}
+
+test install = "$opt_mode" && func_mode_install ${1+"$@"}
+
+
+# func_generate_dlsyms outputname originator pic_p
+# Extract symbols from dlprefiles and create ${outputname}S.o with
+# a dlpreopen symbol table.
+func_generate_dlsyms ()
+{
+ $debug_cmd
+
+ my_outputname=$1
+ my_originator=$2
+ my_pic_p=${3-false}
+ my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
+ my_dlsyms=
+
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ if test -n "$NM" && test -n "$global_symbol_pipe"; then
+ my_dlsyms=${my_outputname}S.c
+ else
+ func_error "not configured to extract global symbols from dlpreopened files"
+ fi
+ fi
+
+ if test -n "$my_dlsyms"; then
+ case $my_dlsyms in
+ "") ;;
+ *.c)
+ # Discover the nlist of each of the dlfiles.
+ nlist=$output_objdir/$my_outputname.nm
+
+ func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
+
+ # Parse the name list into a source file.
+ func_verbose "creating $output_objdir/$my_dlsyms"
+
+ $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
+/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
+/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
+
+#ifdef __cplusplus
+extern \"C\" {
+#endif
+
+#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT_DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
+#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
+
+/* External symbol declarations for the compiler. */\
+"
+
+ if test yes = "$dlself"; then
+ func_verbose "generating symbol list for '$output'"
+
+ $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
+
+ # Add our own program objects to the symbol list.
+ progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ for progfile in $progfiles; do
+ func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+ func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
+ $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -n "$exclude_expsyms"; then
+ $opt_dry_run || {
+ eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ if test -n "$export_symbols_regex"; then
+ $opt_dry_run || {
+ eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ export_symbols=$output_objdir/$outputname.exp
+ $opt_dry_run || {
+ $RM $export_symbols
+ eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ else
+ $opt_dry_run || {
+ eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
+ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ fi
+ fi
+
+ for dlprefile in $dlprefiles; do
+ func_verbose "extracting global C symbols from '$dlprefile'"
+ func_basename "$dlprefile"
+ name=$func_basename_result
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ # if an import library, we need to obtain dlname
+ if func_win32_import_lib_p "$dlprefile"; then
+ func_tr_sh "$dlprefile"
+ eval "curr_lafile=\$libfile_$func_tr_sh_result"
+ dlprefile_dlbasename=
+ if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
+ # Use subshell, to avoid clobbering current variable values
+ dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
+ if test -n "$dlprefile_dlname"; then
+ func_basename "$dlprefile_dlname"
+ dlprefile_dlbasename=$func_basename_result
+ else
+ # no lafile. user explicitly requested -dlpreopen <import library>.
+ $sharedlib_from_linklib_cmd "$dlprefile"
+ dlprefile_dlbasename=$sharedlib_from_linklib_result
+ fi
+ fi
+ $opt_dry_run || {
+ if test -n "$dlprefile_dlbasename"; then
+ eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
+ else
+ func_warning "Could not compute DLL name from $name"
+ eval '$ECHO ": $name " >> "$nlist"'
+ fi
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
+ $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
+ }
+ else # not an import lib
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ fi
+ ;;
+ *)
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ ;;
+ esac
+ done
+
+ $opt_dry_run || {
+ # Make sure we have at least an empty file.
+ test -f "$nlist" || : > "$nlist"
+
+ if test -n "$exclude_expsyms"; then
+ $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
+ $MV "$nlist"T "$nlist"
+ fi
+
+ # Try sorting and uniquifying the output.
+ if $GREP -v "^: " < "$nlist" |
+ if sort -k 3 </dev/null >/dev/null 2>&1; then
+ sort -k 3
+ else
+ sort +2
+ fi |
+ uniq > "$nlist"S; then
+ :
+ else
+ $GREP -v "^: " < "$nlist" > "$nlist"S
+ fi
+
+ if test -f "$nlist"S; then
+ eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
+ else
+ echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
+ fi
+
+ func_show_eval '$RM "${nlist}I"'
+ if test -n "$global_symbol_to_import"; then
+ eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
+ fi
+
+ echo >> "$output_objdir/$my_dlsyms" "\
+
+/* The mapping between symbol names and symbols. */
+typedef struct {
+ const char *name;
+ void *address;
+} lt_dlsymlist;
+extern LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[];\
+"
+
+ if test -s "$nlist"I; then
+ echo >> "$output_objdir/$my_dlsyms" "\
+static void lt_syminit(void)
+{
+ LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
+ for (; symbol->name; ++symbol)
+ {"
+ $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
+ echo >> "$output_objdir/$my_dlsyms" "\
+ }
+}"
+ fi
+ echo >> "$output_objdir/$my_dlsyms" "\
+LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[] =
+{ {\"$my_originator\", (void *) 0},"
+
+ if test -s "$nlist"I; then
+ echo >> "$output_objdir/$my_dlsyms" "\
+ {\"@INIT@\", (void *) <_syminit},"
+ fi
+
+ case $need_lib_prefix in
+ no)
+ eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ *)
+ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ esac
+ echo >> "$output_objdir/$my_dlsyms" "\
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt_${my_prefix}_LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif\
+"
+ } # !$opt_dry_run
+
+ pic_flag_for_symtable=
+ case "$compile_command " in
+ *" -static "*) ;;
+ *)
+ case $host in
+ # compiling the symbol table file with pic_flag works around
+ # a FreeBSD bug that causes programs to crash when -lm is
+ # linked before any other PIC object. But we must not use
+ # pic_flag when linking with -static. The problem exists in
+ # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
+ *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
+ *-*-hpux*)
+ pic_flag_for_symtable=" $pic_flag" ;;
+ *)
+ $my_pic_p && pic_flag_for_symtable=" $pic_flag"
+ ;;
+ esac
+ ;;
+ esac
+ symtab_cflags=
+ for arg in $LTCFLAGS; do
+ case $arg in
+ -pie | -fpie | -fPIE) ;;
+ *) func_append symtab_cflags " $arg" ;;
+ esac
+ done
+
+ # Now compile the dynamic symbol file.
+ func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
+
+ # Clean up the generated files.
+ func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
+
+ # Transform the symbol file into the correct name.
+ symfileobj=$output_objdir/${my_outputname}S.$objext
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ if test -f "$output_objdir/$my_outputname.def"; then
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ else
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ fi
+ ;;
+ *)
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ ;;
+ esac
+ ;;
+ *)
+ func_fatal_error "unknown suffix for '$my_dlsyms'"
+ ;;
+ esac
+ else
+ # We keep going just in case the user didn't refer to
+ # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
+ # really was required.
+
+ # Nullify the symbol file.
+ compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
+ fi
+}
+
+# func_cygming_gnu_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is a GNU/binutils-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_gnu_implib_p ()
+{
+ $debug_cmd
+
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+ test -n "$func_cygming_gnu_implib_tmp"
+}
+
+# func_cygming_ms_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is an MS-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_ms_implib_p ()
+{
+ $debug_cmd
+
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+ test -n "$func_cygming_ms_implib_tmp"
+}
+
+# func_win32_libid arg
+# return the library type of file 'arg'
+#
+# Need a lot of goo to handle *both* DLLs and import libs
+# Has to be a shell function in order to 'eat' the argument
+# that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
+func_win32_libid ()
+{
+ $debug_cmd
+
+ win32_libid_type=unknown
+ win32_fileres=`file -L $1 2>/dev/null`
+ case $win32_fileres in
+ *ar\ archive\ import\ library*) # definitely import
+ win32_libid_type="x86 archive import"
+ ;;
+ *ar\ archive*) # could be an import, or static
+ # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
+ $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+ case $nm_interface in
+ "MS dumpbin")
+ if func_cygming_ms_implib_p "$1" ||
+ func_cygming_gnu_implib_p "$1"
+ then
+ win32_nmres=import
+ else
+ win32_nmres=
+ fi
+ ;;
+ *)
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
+ $SED -n -e '
+ 1,100{
+ / I /{
+ s|.*|import|
+ p
+ q
+ }
+ }'`
+ ;;
+ esac
+ case $win32_nmres in
+ import*) win32_libid_type="x86 archive import";;
+ *) win32_libid_type="x86 archive static";;
+ esac
+ fi
+ ;;
+ *DLL*)
+ win32_libid_type="x86 DLL"
+ ;;
+ *executable*) # but shell scripts are "executable" too...
+ case $win32_fileres in
+ *MS\ Windows\ PE\ Intel*)
+ win32_libid_type="x86 DLL"
+ ;;
+ esac
+ ;;
+ esac
+ $ECHO "$win32_libid_type"
+}
+
+# func_cygming_dll_for_implib ARG
+#
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib ()
+{
+ $debug_cmd
+
+ sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
+}
+
+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
+#
+# The is the core of a fallback implementation of a
+# platform-specific function to extract the name of the
+# DLL associated with the specified import library LIBNAME.
+#
+# SECTION_NAME is either .idata$6 or .idata$7, depending
+# on the platform and compiler that created the implib.
+#
+# Echos the name of the DLL associated with the
+# specified import library.
+func_cygming_dll_for_implib_fallback_core ()
+{
+ $debug_cmd
+
+ match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
+ $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
+ $SED '/^Contents of section '"$match_literal"':/{
+ # Place marker at beginning of archive member dllname section
+ s/.*/====MARK====/
+ p
+ d
+ }
+ # These lines can sometimes be longer than 43 characters, but
+ # are always uninteresting
+ /:[ ]*file format pe[i]\{,1\}-/d
+ /^In archive [^:]*:/d
+ # Ensure marker is printed
+ /^====MARK====/p
+ # Remove all lines with less than 43 characters
+ /^.\{43\}/!d
+ # From remaining lines, remove first 43 characters
+ s/^.\{43\}//' |
+ $SED -n '
+ # Join marker and all lines until next marker into a single line
+ /^====MARK====/ b para
+ H
+ $ b para
+ b
+ :para
+ x
+ s/\n//g
+ # Remove the marker
+ s/^====MARK====//
+ # Remove trailing dots and whitespace
+ s/[\. \t]*$//
+ # Print
+ /./p' |
+ # we now have a list, one entry per line, of the stringified
+ # contents of the appropriate section of all members of the
+ # archive that possess that section. Heuristic: eliminate
+ # all those that have a first or second character that is
+ # a '.' (that is, objdump's representation of an unprintable
+ # character.) This should work for all archives with less than
+ # 0x302f exports -- but will fail for DLLs whose name actually
+ # begins with a literal '.' or a single character followed by
+ # a '.'.
+ #
+ # Of those that remain, print the first one.
+ $SED -e '/^\./d;/^.\./d;q'
+}
+
+# func_cygming_dll_for_implib_fallback ARG
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+#
+# This fallback implementation is for use when $DLLTOOL
+# does not support the --identify-strict option.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib_fallback ()
+{
+ $debug_cmd
+
+ if func_cygming_gnu_implib_p "$1"; then
+ # binutils import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
+ elif func_cygming_ms_implib_p "$1"; then
+ # ms-generated import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
+ else
+ # unknown
+ sharedlib_from_linklib_result=
+ fi
+}
+
+
+# func_extract_an_archive dir oldlib
+func_extract_an_archive ()
+{
+ $debug_cmd
+
+ f_ex_an_ar_dir=$1; shift
+ f_ex_an_ar_oldlib=$1
+ if test yes = "$lock_old_archive_extraction"; then
+ lockfile=$f_ex_an_ar_oldlib.lock
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ fi
+ func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+ 'stat=$?; rm -f "$lockfile"; exit $stat'
+ if test yes = "$lock_old_archive_extraction"; then
+ $opt_dry_run || rm -f "$lockfile"
+ fi
+ if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
+ fi
+}
+
+
+# func_extract_archives gentop oldlib ...
+func_extract_archives ()
+{
+ $debug_cmd
+
+ my_gentop=$1; shift
+ my_oldlibs=${1+"$@"}
+ my_oldobjs=
+ my_xlib=
+ my_xabs=
+ my_xdir=
+
+ for my_xlib in $my_oldlibs; do
+ # Extract the objects.
+ case $my_xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
+ *) my_xabs=`pwd`"/$my_xlib" ;;
+ esac
+ func_basename "$my_xlib"
+ my_xlib=$func_basename_result
+ my_xlib_u=$my_xlib
+ while :; do
+ case " $extracted_archives " in
+ *" $my_xlib_u "*)
+ func_arith $extracted_serial + 1
+ extracted_serial=$func_arith_result
+ my_xlib_u=lt$extracted_serial-$my_xlib ;;
+ *) break ;;
+ esac
+ done
+ extracted_archives="$extracted_archives $my_xlib_u"
+ my_xdir=$my_gentop/$my_xlib_u
+
+ func_mkdir_p "$my_xdir"
+
+ case $host in
+ *-darwin*)
+ func_verbose "Extracting $my_xabs"
+ # Do not bother doing anything if just a dry run
+ $opt_dry_run || {
+ darwin_orig_dir=`pwd`
+ cd $my_xdir || exit $?
+ darwin_archive=$my_xabs
+ darwin_curdir=`pwd`
+ func_basename "$darwin_archive"
+ darwin_base_archive=$func_basename_result
+ darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
+ if test -n "$darwin_arches"; then
+ darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
+ darwin_arch=
+ func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
+ for darwin_arch in $darwin_arches; do
+ func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
+ $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
+ cd "unfat-$$/$darwin_base_archive-$darwin_arch"
+ func_extract_an_archive "`pwd`" "$darwin_base_archive"
+ cd "$darwin_curdir"
+ $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
+ done # $darwin_arches
+ ## Okay now we've a bunch of thin objects, gotta fatten them up :)
+ darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
+ darwin_file=
+ darwin_files=
+ for darwin_file in $darwin_filelist; do
+ darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
+ $LIPO -create -output "$darwin_file" $darwin_files
+ done # $darwin_filelist
+ $RM -rf unfat-$$
+ cd "$darwin_orig_dir"
+ else
+ cd $darwin_orig_dir
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ fi # $darwin_arches
+ } # !$opt_dry_run
+ ;;
+ *)
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ ;;
+ esac
+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
+ done
+
+ func_extract_archives_result=$my_oldobjs
+}
+
+
+# func_emit_wrapper [arg=no]
+#
+# Emit a libtool wrapper script on stdout.
+# Don't directly open a file because we may want to
+# incorporate the script contents within a cygwin/mingw
+# wrapper executable. Must ONLY be called from within
+# func_mode_link because it depends on a number of variables
+# set therein.
+#
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
+# variable will take. If 'yes', then the emitted script
+# will assume that the directory where it is stored is
+# the $objdir directory. This is a cygwin/mingw-specific
+# behavior.
+func_emit_wrapper ()
+{
+ func_emit_wrapper_arg1=${1-no}
+
+ $ECHO "\
+#! $SHELL
+
+# $output - temporary wrapper script for $objdir/$outputname
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# The $output program cannot be directly executed until all the libtool
+# libraries that it depends on are installed.
+#
+# This wrapper script should never be moved out of the build directory.
+# If it is, it will not operate correctly.
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+sed_quote_subst='$sed_quote_subst'
+
+# Be Bourne compatible
+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
+fi
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+relink_command=\"$relink_command\"
+
+# This environment variable determines our operation mode.
+if test \"\$libtool_install_magic\" = \"$magic\"; then
+ # install mode needs the following variables:
+ generated_by_libtool_version='$macro_version'
+ notinst_deplibs='$notinst_deplibs'
+else
+ # When we are sourced in execute mode, \$file and \$ECHO are already set.
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ file=\"\$0\""
+
+ qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
+ $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+ ECHO=\"$qECHO\"
+ fi
+
+# Very basic option parsing. These options are (a) specific to
+# the libtool wrapper, (b) are identical between the wrapper
+# /script/ and the wrapper /executable/ that is used only on
+# windows platforms, and (c) all begin with the string "--lt-"
+# (application programs are unlikely to have options that match
+# this pattern).
+#
+# There are only two supported options: --lt-debug and
+# --lt-dump-script. There is, deliberately, no --lt-help.
+#
+# The first argument to this parsing function should be the
+# script's $0 value, followed by "$@".
+lt_option_debug=
+func_parse_lt_options ()
+{
+ lt_script_arg0=\$0
+ shift
+ for lt_opt
+ do
+ case \"\$lt_opt\" in
+ --lt-debug) lt_option_debug=1 ;;
+ --lt-dump-script)
+ lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
+ test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
+ lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
+ cat \"\$lt_dump_D/\$lt_dump_F\"
+ exit 0
+ ;;
+ --lt-*)
+ \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+
+ # Print the debug banner immediately:
+ if test -n \"\$lt_option_debug\"; then
+ echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
+ fi
+}
+
+# Used when --lt-debug. Prints its arguments to stdout
+# (redirection is the responsibility of the caller)
+func_lt_dump_args ()
+{
+ lt_dump_args_N=1;
+ for lt_arg
+ do
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
+ lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
+ done
+}
+
+# Core function for launching the target application
+func_exec_program_core ()
+{
+"
+ case $host in
+ # Backslashes separate directories on plain windows
+ *-*-mingw | *-*-os2* | *-cegcc*)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
+"
+ ;;
+
+ *)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir/\$program\" \${1+\"\$@\"}
+"
+ ;;
+ esac
+ $ECHO "\
+ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
+ exit 1
+}
+
+# A function to encapsulate launching the target application
+# Strips options in the --lt-* namespace from \$@ and
+# launches target application with the remaining arguments.
+func_exec_program ()
+{
+ case \" \$* \" in
+ *\\ --lt-*)
+ for lt_wr_arg
+ do
+ case \$lt_wr_arg in
+ --lt-*) ;;
+ *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+ esac
+ shift
+ done ;;
+ esac
+ func_exec_program_core \${1+\"\$@\"}
+}
+
+ # Parse options
+ func_parse_lt_options \"\$0\" \${1+\"\$@\"}
+
+ # Find the directory that this script lives in.
+ thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
+ test \"x\$thisdir\" = \"x\$file\" && thisdir=.
+
+ # Follow symbolic links until we get to the real thisdir.
+ file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
+ while test -n \"\$file\"; do
+ destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
+
+ # If there was a directory component, then change thisdir.
+ if test \"x\$destdir\" != \"x\$file\"; then
+ case \"\$destdir\" in
+ [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
+ *) thisdir=\"\$thisdir/\$destdir\" ;;
+ esac
+ fi
+
+ file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+ file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
+ done
+
+ # Usually 'no', except on cygwin/mingw when embedded into
+ # the cwrapper.
+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
+ if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
+ # special case for '.'
+ if test \"\$thisdir\" = \".\"; then
+ thisdir=\`pwd\`
+ fi
+ # remove .libs from thisdir
+ case \"\$thisdir\" in
+ *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
+ $objdir ) thisdir=. ;;
+ esac
+ fi
+
+ # Try to get the absolute directory name.
+ absdir=\`cd \"\$thisdir\" && pwd\`
+ test -n \"\$absdir\" && thisdir=\"\$absdir\"
+"
+
+ if test yes = "$fast_install"; then
+ $ECHO "\
+ program=lt-'$outputname'$exeext
+ progdir=\"\$thisdir/$objdir\"
+
+ if test ! -f \"\$progdir/\$program\" ||
+ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
+ test \"X\$file\" != \"X\$progdir/\$program\"; }; then
+
+ file=\"\$\$-\$program\"
+
+ if test ! -d \"\$progdir\"; then
+ $MKDIR \"\$progdir\"
+ else
+ $RM \"\$progdir/\$file\"
+ fi"
+
+ $ECHO "\
+
+ # relink executable if necessary
+ if test -n \"\$relink_command\"; then
+ if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+ else
+ \$ECHO \"\$relink_command_output\" >&2
+ $RM \"\$progdir/\$file\"
+ exit 1
+ fi
+ fi
+
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
+ { $RM \"\$progdir/\$program\";
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
+ $RM \"\$progdir/\$file\"
+ fi"
+ else
+ $ECHO "\
+ program='$outputname'
+ progdir=\"\$thisdir/$objdir\"
+"
+ fi
+
+ $ECHO "\
+
+ if test -f \"\$progdir/\$program\"; then"
+
+ # fixup the dll searchpath if we need to.
+ #
+ # Fix the DLL searchpath if we need to. Do this before prepending
+ # to shlibpath, because on Windows, both are PATH and uninstalled
+ # libraries must come first.
+ if test -n "$dllsearchpath"; then
+ $ECHO "\
+ # Add the dll search path components to the executable PATH
+ PATH=$dllsearchpath:\$PATH
+"
+ fi
+
+ # Export our shlibpath_var if we have one.
+ if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ $ECHO "\
+ # Add our own library path to $shlibpath_var
+ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
+
+ # Some systems cannot cope with colon-terminated $shlibpath_var
+ # The second colon is a workaround for a bug in BeOS R4 sed
+ $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
+
+ export $shlibpath_var
+"
+ fi
+
+ $ECHO "\
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ # Run the actual program with our arguments.
+ func_exec_program \${1+\"\$@\"}
+ fi
+ else
+ # The program doesn't exist.
+ \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
+ \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
+ \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+ exit 1
+ fi
+fi\
+"
+}
+
+
+# func_emit_cwrapperexe_src
+# emit the source code for a wrapper executable on stdout
+# Must ONLY be called from within func_mode_link because
+# it depends on a number of variable set therein.
+func_emit_cwrapperexe_src ()
+{
+ cat <<EOF
+
+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
+ Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+
+ The $output program cannot be directly executed until all the libtool
+ libraries that it depends on are installed.
+
+ This wrapper executable should never be moved out of the build directory.
+ If it is, it will not operate correctly.
+*/
+EOF
+ cat <<"EOF"
+#ifdef _MSC_VER
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
+#include <stdio.h>
+#include <stdlib.h>
+#ifdef _MSC_VER
+# include <direct.h>
+# include <process.h>
+# include <io.h>
+#else
+# include <unistd.h>
+# include <stdint.h>
+# ifdef __CYGWIN__
+# include <io.h>
+# endif
+#endif
+#include <malloc.h>
+#include <stdarg.h>
+#include <assert.h>
+#include <string.h>
+#include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <sys/stat.h>
+
+#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
+
+/* declarations of non-ANSI functions */
+#if defined __MINGW32__
+# ifdef __STRICT_ANSI__
+int _putenv (const char *);
+# endif
+#elif defined __CYGWIN__
+# ifdef __STRICT_ANSI__
+char *realpath (const char *, char *);
+int putenv (char *);
+int setenv (const char *, const char *, int);
+# endif
+/* #elif defined other_platform || defined ... */
+#endif
+
+/* portability defines, excluding path handling macros */
+#if defined _MSC_VER
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+# define S_IXUSR _S_IEXEC
+#elif defined __MINGW32__
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+#elif defined __CYGWIN__
+# define HAVE_SETENV
+# define FOPEN_WB "wb"
+/* #elif defined other platforms ... */
+#endif
+
+#if defined PATH_MAX
+# define LT_PATHMAX PATH_MAX
+#elif defined MAXPATHLEN
+# define LT_PATHMAX MAXPATHLEN
+#else
+# define LT_PATHMAX 1024
+#endif
+
+#ifndef S_IXOTH
+# define S_IXOTH 0
+#endif
+#ifndef S_IXGRP
+# define S_IXGRP 0
+#endif
+
+/* path handling portability macros */
+#ifndef DIR_SEPARATOR
+# define DIR_SEPARATOR '/'
+# define PATH_SEPARATOR ':'
+#endif
+
+#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
+ defined __OS2__
+# define HAVE_DOS_BASED_FILE_SYSTEM
+# define FOPEN_WB "wb"
+# ifndef DIR_SEPARATOR_2
+# define DIR_SEPARATOR_2 '\\'
+# endif
+# ifndef PATH_SEPARATOR_2
+# define PATH_SEPARATOR_2 ';'
+# endif
+#endif
+
+#ifndef DIR_SEPARATOR_2
+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
+#else /* DIR_SEPARATOR_2 */
+# define IS_DIR_SEPARATOR(ch) \
+ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
+#endif /* DIR_SEPARATOR_2 */
+
+#ifndef PATH_SEPARATOR_2
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
+#else /* PATH_SEPARATOR_2 */
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
+#endif /* PATH_SEPARATOR_2 */
+
+#ifndef FOPEN_WB
+# define FOPEN_WB "w"
+#endif
+#ifndef _O_BINARY
+# define _O_BINARY 0
+#endif
+
+#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
+#define XFREE(stale) do { \
+ if (stale) { free (stale); stale = 0; } \
+} while (0)
+
+#if defined LT_DEBUGWRAPPER
+static int lt_debug = 1;
+#else
+static int lt_debug = 0;
+#endif
+
+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
+
+void *xmalloc (size_t num);
+char *xstrdup (const char *string);
+const char *base_name (const char *name);
+char *find_executable (const char *wrapper);
+char *chase_symlinks (const char *pathspec);
+int make_executable (const char *path);
+int check_executable (const char *path);
+char *strendzap (char *str, const char *pat);
+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
+void lt_fatal (const char *file, int line, const char *message, ...);
+static const char *nonnull (const char *s);
+static const char *nonempty (const char *s);
+void lt_setenv (const char *name, const char *value);
+char *lt_extend_str (const char *orig_value, const char *add, int to_end);
+void lt_update_exe_path (const char *name, const char *value);
+void lt_update_lib_path (const char *name, const char *value);
+char **prepare_spawn (char **argv);
+void lt_dump_script (FILE *f);
+EOF
+
+ cat <<EOF
+#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
+# define externally_visible volatile
+#else
+# define externally_visible __attribute__((externally_visible)) volatile
+#endif
+externally_visible const char * MAGIC_EXE = "$magic_exe";
+const char * LIB_PATH_VARNAME = "$shlibpath_var";
+EOF
+
+ if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ func_to_host_path "$temp_rpath"
+ cat <<EOF
+const char * LIB_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * LIB_PATH_VALUE = "";
+EOF
+ fi
+
+ if test -n "$dllsearchpath"; then
+ func_to_host_path "$dllsearchpath:"
+ cat <<EOF
+const char * EXE_PATH_VARNAME = "PATH";
+const char * EXE_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * EXE_PATH_VARNAME = "";
+const char * EXE_PATH_VALUE = "";
+EOF
+ fi
+
+ if test yes = "$fast_install"; then
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
+EOF
+ else
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
+EOF
+ fi
+
+
+ cat <<"EOF"
+
+#define LTWRAPPER_OPTION_PREFIX "--lt-"
+
+static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
+static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
+static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
+
+int
+main (int argc, char *argv[])
+{
+ char **newargz;
+ int newargc;
+ char *tmp_pathspec;
+ char *actual_cwrapper_path;
+ char *actual_cwrapper_name;
+ char *target_name;
+ char *lt_argv_zero;
+ int rval = 127;
+
+ int i;
+
+ program_name = (char *) xstrdup (base_name (argv[0]));
+ newargz = XMALLOC (char *, (size_t) argc + 1);
+
+ /* very simple arg parsing; don't want to rely on getopt
+ * also, copy all non cwrapper options to newargz, except
+ * argz[0], which is handled differently
+ */
+ newargc=0;
+ for (i = 1; i < argc; i++)
+ {
+ if (STREQ (argv[i], dumpscript_opt))
+ {
+EOF
+ case $host in
+ *mingw* | *cygwin* )
+ # make stdout use "unix" line endings
+ echo " setmode(1,_O_BINARY);"
+ ;;
+ esac
+
+ cat <<"EOF"
+ lt_dump_script (stdout);
+ return 0;
+ }
+ if (STREQ (argv[i], debug_opt))
+ {
+ lt_debug = 1;
+ continue;
+ }
+ if (STREQ (argv[i], ltwrapper_option_prefix))
+ {
+ /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
+ namespace, but it is not one of the ones we know about and
+ have already dealt with, above (inluding dump-script), then
+ report an error. Otherwise, targets might begin to believe
+ they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
+ namespace. The first time any user complains about this, we'll
+ need to make LTWRAPPER_OPTION_PREFIX a configure-time option
+ or a configure.ac-settable value.
+ */
+ lt_fatal (__FILE__, __LINE__,
+ "unrecognized %s option: '%s'",
+ ltwrapper_option_prefix, argv[i]);
+ }
+ /* otherwise ... */
+ newargz[++newargc] = xstrdup (argv[i]);
+ }
+ newargz[++newargc] = NULL;
+
+EOF
+ cat <<EOF
+ /* The GNU banner must be the first non-error debug message */
+ lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
+EOF
+ cat <<"EOF"
+ lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
+
+ tmp_pathspec = find_executable (argv[0]);
+ if (tmp_pathspec == NULL)
+ lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (before symlink chase) at: %s\n",
+ tmp_pathspec);
+
+ actual_cwrapper_path = chase_symlinks (tmp_pathspec);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (after symlink chase) at: %s\n",
+ actual_cwrapper_path);
+ XFREE (tmp_pathspec);
+
+ actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
+ strendzap (actual_cwrapper_path, actual_cwrapper_name);
+
+ /* wrapper name transforms */
+ strendzap (actual_cwrapper_name, ".exe");
+ tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
+ XFREE (actual_cwrapper_name);
+ actual_cwrapper_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ /* target_name transforms -- use actual target program name; might have lt- prefix */
+ target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
+ strendzap (target_name, ".exe");
+ tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
+ XFREE (target_name);
+ target_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) libtool target name: %s\n",
+ target_name);
+EOF
+
+ cat <<EOF
+ newargz[0] =
+ XMALLOC (char, (strlen (actual_cwrapper_path) +
+ strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
+ strcpy (newargz[0], actual_cwrapper_path);
+ strcat (newargz[0], "$objdir");
+ strcat (newargz[0], "/");
+EOF
+
+ cat <<"EOF"
+ /* stop here, and copy so we don't have to do this twice */
+ tmp_pathspec = xstrdup (newargz[0]);
+
+ /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
+ strcat (newargz[0], actual_cwrapper_name);
+
+ /* DO want the lt- prefix here if it exists, so use target_name */
+ lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
+ XFREE (tmp_pathspec);
+ tmp_pathspec = NULL;
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ {
+ char* p;
+ while ((p = strchr (newargz[0], '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ while ((p = strchr (lt_argv_zero, '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ }
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+ XFREE (target_name);
+ XFREE (actual_cwrapper_path);
+ XFREE (actual_cwrapper_name);
+
+ lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
+ lt_setenv ("DUALCASE", "1"); /* for MSK sh */
+ /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
+ be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+ because on Windows, both *_VARNAMEs are PATH but uninstalled
+ libraries must come first. */
+ lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+ lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+
+ lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
+ nonnull (lt_argv_zero));
+ for (i = 0; i < newargc; i++)
+ {
+ lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
+ i, nonnull (newargz[i]));
+ }
+
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ /* execv doesn't actually work on mingw as expected on unix */
+ newargz = prepare_spawn (newargz);
+ rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
+ if (rval == -1)
+ {
+ /* failed to start process */
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) failed to launch target \"%s\": %s\n",
+ lt_argv_zero, nonnull (strerror (errno)));
+ return 127;
+ }
+ return rval;
+EOF
+ ;;
+ *)
+ cat <<"EOF"
+ execv (lt_argv_zero, newargz);
+ return rval; /* =127, but avoids unused variable warning */
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+}
+
+void *
+xmalloc (size_t num)
+{
+ void *p = (void *) malloc (num);
+ if (!p)
+ lt_fatal (__FILE__, __LINE__, "memory exhausted");
+
+ return p;
+}
+
+char *
+xstrdup (const char *string)
+{
+ return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
+ string) : NULL;
+}
+
+const char *
+base_name (const char *name)
+{
+ const char *base;
+
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ /* Skip over the disk name in MSDOS pathnames. */
+ if (isalpha ((unsigned char) name[0]) && name[1] == ':')
+ name += 2;
+#endif
+
+ for (base = name; *name; name++)
+ if (IS_DIR_SEPARATOR (*name))
+ base = name + 1;
+ return base;
+}
+
+int
+check_executable (const char *path)
+{
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if ((stat (path, &st) >= 0)
+ && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
+ return 1;
+ else
+ return 0;
+}
+
+int
+make_executable (const char *path)
+{
+ int rval = 0;
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if (stat (path, &st) >= 0)
+ {
+ rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
+ }
+ return rval;
+}
+
+/* Searches for the full path of the wrapper. Returns
+ newly allocated full path name if found, NULL otherwise
+ Does not chase symlinks, even on platforms that support them.
+*/
+char *
+find_executable (const char *wrapper)
+{
+ int has_slash = 0;
+ const char *p;
+ const char *p_next;
+ /* static buffer for getcwd */
+ char tmp[LT_PATHMAX + 1];
+ size_t tmp_len;
+ char *concat_name;
+
+ lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
+ nonempty (wrapper));
+
+ if ((wrapper == NULL) || (*wrapper == '\0'))
+ return NULL;
+
+ /* Absolute path? */
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ else
+ {
+#endif
+ if (IS_DIR_SEPARATOR (wrapper[0]))
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ }
+#endif
+
+ for (p = wrapper; *p; p++)
+ if (*p == '/')
+ {
+ has_slash = 1;
+ break;
+ }
+ if (!has_slash)
+ {
+ /* no slashes; search PATH */
+ const char *path = getenv ("PATH");
+ if (path != NULL)
+ {
+ for (p = path; *p; p = p_next)
+ {
+ const char *q;
+ size_t p_len;
+ for (q = p; *q; q++)
+ if (IS_PATH_SEPARATOR (*q))
+ break;
+ p_len = (size_t) (q - p);
+ p_next = (*q == '\0' ? q : q + 1);
+ if (p_len == 0)
+ {
+ /* empty path: current directory */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name =
+ XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+ }
+ else
+ {
+ concat_name =
+ XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, p, p_len);
+ concat_name[p_len] = '/';
+ strcpy (concat_name + p_len + 1, wrapper);
+ }
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ }
+ /* not found in PATH; assume curdir */
+ }
+ /* Relative path | not found in path: prepend cwd */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ return NULL;
+}
+
+char *
+chase_symlinks (const char *pathspec)
+{
+#ifndef S_ISLNK
+ return xstrdup (pathspec);
+#else
+ char buf[LT_PATHMAX];
+ struct stat s;
+ char *tmp_pathspec = xstrdup (pathspec);
+ char *p;
+ int has_symlinks = 0;
+ while (strlen (tmp_pathspec) && !has_symlinks)
+ {
+ lt_debugprintf (__FILE__, __LINE__,
+ "checking path component for symlinks: %s\n",
+ tmp_pathspec);
+ if (lstat (tmp_pathspec, &s) == 0)
+ {
+ if (S_ISLNK (s.st_mode) != 0)
+ {
+ has_symlinks = 1;
+ break;
+ }
+
+ /* search backwards for last DIR_SEPARATOR */
+ p = tmp_pathspec + strlen (tmp_pathspec) - 1;
+ while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ p--;
+ if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ {
+ /* no more DIR_SEPARATORS left */
+ break;
+ }
+ *p = '\0';
+ }
+ else
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "error accessing file \"%s\": %s",
+ tmp_pathspec, nonnull (strerror (errno)));
+ }
+ }
+ XFREE (tmp_pathspec);
+
+ if (!has_symlinks)
+ {
+ return xstrdup (pathspec);
+ }
+
+ tmp_pathspec = realpath (pathspec, buf);
+ if (tmp_pathspec == 0)
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "could not follow symlinks for %s", pathspec);
+ }
+ return xstrdup (tmp_pathspec);
+#endif
+}
+
+char *
+strendzap (char *str, const char *pat)
+{
+ size_t len, patlen;
+
+ assert (str != NULL);
+ assert (pat != NULL);
+
+ len = strlen (str);
+ patlen = strlen (pat);
+
+ if (patlen <= len)
+ {
+ str += len - patlen;
+ if (STREQ (str, pat))
+ *str = '\0';
+ }
+ return str;
+}
+
+void
+lt_debugprintf (const char *file, int line, const char *fmt, ...)
+{
+ va_list args;
+ if (lt_debug)
+ {
+ (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
+ va_start (args, fmt);
+ (void) vfprintf (stderr, fmt, args);
+ va_end (args);
+ }
+}
+
+static void
+lt_error_core (int exit_status, const char *file,
+ int line, const char *mode,
+ const char *message, va_list ap)
+{
+ fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
+ vfprintf (stderr, message, ap);
+ fprintf (stderr, ".\n");
+
+ if (exit_status >= 0)
+ exit (exit_status);
+}
+
+void
+lt_fatal (const char *file, int line, const char *message, ...)
+{
+ va_list ap;
+ va_start (ap, message);
+ lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
+ va_end (ap);
+}
+
+static const char *
+nonnull (const char *s)
+{
+ return s ? s : "(null)";
+}
+
+static const char *
+nonempty (const char *s)
+{
+ return (s && !*s) ? "(empty)" : nonnull (s);
+}
+
+void
+lt_setenv (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_setenv) setting '%s' to '%s'\n",
+ nonnull (name), nonnull (value));
+ {
+#ifdef HAVE_SETENV
+ /* always make a copy, for consistency with !HAVE_SETENV */
+ char *str = xstrdup (value);
+ setenv (name, str, 1);
+#else
+ size_t len = strlen (name) + 1 + strlen (value) + 1;
+ char *str = XMALLOC (char, len);
+ sprintf (str, "%s=%s", name, value);
+ if (putenv (str) != EXIT_SUCCESS)
+ {
+ XFREE (str);
+ }
+#endif
+ }
+}
+
+char *
+lt_extend_str (const char *orig_value, const char *add, int to_end)
+{
+ char *new_value;
+ if (orig_value && *orig_value)
+ {
+ size_t orig_value_len = strlen (orig_value);
+ size_t add_len = strlen (add);
+ new_value = XMALLOC (char, add_len + orig_value_len + 1);
+ if (to_end)
+ {
+ strcpy (new_value, orig_value);
+ strcpy (new_value + orig_value_len, add);
+ }
+ else
+ {
+ strcpy (new_value, add);
+ strcpy (new_value + add_len, orig_value);
+ }
+ }
+ else
+ {
+ new_value = xstrdup (add);
+ }
+ return new_value;
+}
+
+void
+lt_update_exe_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ /* some systems can't cope with a ':'-terminated path #' */
+ size_t len = strlen (new_value);
+ while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
+ {
+ new_value[--len] = '\0';
+ }
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+void
+lt_update_lib_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+EOF
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+ Note that spawn() does not by itself call the command interpreter
+ (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+ ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+ GetVersionEx(&v);
+ v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+ }) ? "cmd.exe" : "command.com").
+ Instead it simply concatenates the arguments, separated by ' ', and calls
+ CreateProcess(). We must quote the arguments since Win32 CreateProcess()
+ interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+ special way:
+ - Space and tab are interpreted as delimiters. They are not treated as
+ delimiters if they are surrounded by double quotes: "...".
+ - Unescaped double quotes are removed from the input. Their only effect is
+ that within double quotes, space and tab are treated like normal
+ characters.
+ - Backslashes not followed by double quotes are not special.
+ - But 2*n+1 backslashes followed by a double quote become
+ n backslashes followed by a double quote (n >= 0):
+ \" -> "
+ \\\" -> \"
+ \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+ size_t argc;
+ char **new_argv;
+ size_t i;
+
+ /* Count number of arguments. */
+ for (argc = 0; argv[argc] != NULL; argc++)
+ ;
+
+ /* Allocate new argument vector. */
+ new_argv = XMALLOC (char *, argc + 1);
+
+ /* Put quoted arguments into the new argument vector. */
+ for (i = 0; i < argc; i++)
+ {
+ const char *string = argv[i];
+
+ if (string[0] == '\0')
+ new_argv[i] = xstrdup ("\"\"");
+ else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+ {
+ int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+ size_t length;
+ unsigned int backslashes;
+ const char *s;
+ char *quoted_string;
+ char *p;
+
+ length = 0;
+ backslashes = 0;
+ if (quote_around)
+ length++;
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ length += backslashes + 1;
+ length++;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ length += backslashes + 1;
+
+ quoted_string = XMALLOC (char, length + 1);
+
+ p = quoted_string;
+ backslashes = 0;
+ if (quote_around)
+ *p++ = '"';
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ {
+ unsigned int j;
+ for (j = backslashes + 1; j > 0; j--)
+ *p++ = '\\';
+ }
+ *p++ = c;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ {
+ unsigned int j;
+ for (j = backslashes; j > 0; j--)
+ *p++ = '\\';
+ *p++ = '"';
+ }
+ *p = '\0';
+
+ new_argv[i] = quoted_string;
+ }
+ else
+ new_argv[i] = (char *) string;
+ }
+ new_argv[argc] = NULL;
+
+ return new_argv;
+}
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+void lt_dump_script (FILE* f)
+{
+EOF
+ func_emit_wrapper yes |
+ $SED -n -e '
+s/^\(.\{79\}\)\(..*\)/\1\
+\2/
+h
+s/\([\\"]\)/\\\1/g
+s/$/\\n/
+s/\([^\n]*\).*/ fputs ("\1", f);/p
+g
+D'
+ cat <<"EOF"
+}
+EOF
+}
+# end: func_emit_cwrapperexe_src
+
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+ $debug_cmd
+
+ case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+ *import*) : ;;
+ *) false ;;
+ esac
+}
+
+# func_mode_link arg...
+func_mode_link ()
+{
+ $debug_cmd
+
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ # It is impossible to link a dll without this setting, and
+ # we shouldn't force the makefile maintainer to figure out
+ # what system we are compiling for in order to pass an extra
+ # flag for every libtool invocation.
+ # allow_undefined=no
+
+ # FIXME: Unfortunately, there are problems with the above when trying
+ # to make a dll that has undefined symbols, in which case not
+ # even a static library is built. For now, we need to specify
+ # -no-undefined on the libtool link line when we can be certain
+ # that all symbols are satisfied, otherwise we get a static library.
+ allow_undefined=yes
+ ;;
+ *)
+ allow_undefined=yes
+ ;;
+ esac
+ libtool_args=$nonopt
+ base_compile="$nonopt $@"
+ compile_command=$nonopt
+ finalize_command=$nonopt
+
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
+ lib_search_path=`pwd`
+ inst_prefix_dir=
+ new_inherited_linker_flags=
+
+ avoid_version=no
+ bindir=
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ os2dllname=
+ non_pic_objects=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=false
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ weak_libs=
+ single_module=$wl-single_module
+ func_infer_tag $base_compile
+
+ # We need to know -static, to get the right output filenames.
+ for arg
+ do
+ case $arg in
+ -shared)
+ test yes != "$build_libtool_libs" \
+ && func_fatal_configuration "cannot build a shared library"
+ build_old_libs=no
+ break
+ ;;
+ -all-static | -static | -static-libtool-libs)
+ case $arg in
+ -all-static)
+ if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
+ func_warning "complete static linking is impossible in this configuration"
+ fi
+ if test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ -static)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=built
+ ;;
+ -static-libtool-libs)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ esac
+ build_libtool_libs=no
+ build_old_libs=yes
+ break
+ ;;
+ esac
+ done
+
+ # See if our shared archives depend on static archives.
+ test -n "$old_archive_from_new_cmds" && build_old_libs=yes
+
+ # Go through the arguments, transforming them on the way.
+ while test "$#" -gt 0; do
+ arg=$1
+ shift
+ func_quote_for_eval "$arg"
+ qarg=$func_quote_for_eval_unquoted_result
+ func_append libtool_args " $func_quote_for_eval_result"
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ output)
+ func_append compile_command " @OUTPUT@"
+ func_append finalize_command " @OUTPUT@"
+ ;;
+ esac
+
+ case $prev in
+ bindir)
+ bindir=$arg
+ prev=
+ continue
+ ;;
+ dlfiles|dlprefiles)
+ $preload || {
+ # Add the symbol object into the linking commands.
+ func_append compile_command " @SYMFILE@"
+ func_append finalize_command " @SYMFILE@"
+ preload=:
+ }
+ case $arg in
+ *.la | *.lo) ;; # We handle these cases below.
+ force)
+ if test no = "$dlself"; then
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ self)
+ if test dlprefiles = "$prev"; then
+ dlself=yes
+ elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
+ dlself=yes
+ else
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ *)
+ if test dlfiles = "$prev"; then
+ func_append dlfiles " $arg"
+ else
+ func_append dlprefiles " $arg"
+ fi
+ prev=
+ continue
+ ;;
+ esac
+ ;;
+ expsyms)
+ export_symbols=$arg
+ test -f "$arg" \
+ || func_fatal_error "symbol file '$arg' does not exist"
+ prev=
+ continue
+ ;;
+ expsyms_regex)
+ export_symbols_regex=$arg
+ prev=
+ continue
+ ;;
+ framework)
+ case $host in
+ *-*-darwin*)
+ case "$deplibs " in
+ *" $qarg.ltframework "*) ;;
+ *) func_append deplibs " $qarg.ltframework" # this is fixed later
+ ;;
+ esac
+ ;;
+ esac
+ prev=
+ continue
+ ;;
+ inst_prefix)
+ inst_prefix_dir=$arg
+ prev=
+ continue
+ ;;
+ mllvm)
+ # Clang does not use LLVM to link, so we can simply discard any
+ # '-mllvm $arg' options when doing the link step.
+ prev=
+ continue
+ ;;
+ objectlist)
+ if test -f "$arg"; then
+ save_arg=$arg
+ moreargs=
+ for fil in `cat "$save_arg"`
+ do
+# func_append moreargs " $fil"
+ arg=$fil
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test none = "$pic_object" &&
+ test none = "$non_pic_object"; then
+ func_fatal_error "cannot find name of object for '$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ if test none != "$pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ pic_object=$xdir$pic_object
+
+ if test dlfiles = "$prev"; then
+ if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test dlprefiles = "$prev"; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg=$pic_object
+ fi
+
+ # Non-PIC object.
+ if test none != "$non_pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object=$xdir$non_pic_object
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test none = "$pic_object"; then
+ arg=$non_pic_object
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object=$pic_object
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "'$arg' is not a valid libtool object"
+ fi
+ fi
+ done
+ else
+ func_fatal_error "link input file '$arg' does not exist"
+ fi
+ arg=$save_arg
+ prev=
+ continue
+ ;;
+ os2dllname)
+ os2dllname=$arg
+ prev=
+ continue
+ ;;
+ precious_regex)
+ precious_files_regex=$arg
+ prev=
+ continue
+ ;;
+ release)
+ release=-$arg
+ prev=
+ continue
+ ;;
+ rpath | xrpath)
+ # We need an absolute path.
+ case $arg in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ if test rpath = "$prev"; then
+ case "$rpath " in
+ *" $arg "*) ;;
+ *) func_append rpath " $arg" ;;
+ esac
+ else
+ case "$xrpath " in
+ *" $arg "*) ;;
+ *) func_append xrpath " $arg" ;;
+ esac
+ fi
+ prev=
+ continue
+ ;;
+ shrext)
+ shrext_cmds=$arg
+ prev=
+ continue
+ ;;
+ weak)
+ func_append weak_libs " $arg"
+ prev=
+ continue
+ ;;
+ xcclinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xcompiler)
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xlinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $wl$qarg"
+ prev=
+ func_append compile_command " $wl$qarg"
+ func_append finalize_command " $wl$qarg"
+ continue
+ ;;
+ *)
+ eval "$prev=\"\$arg\""
+ prev=
+ continue
+ ;;
+ esac
+ fi # test -n "$prev"
+
+ prevarg=$arg
+
+ case $arg in
+ -all-static)
+ if test -n "$link_static_flag"; then
+ # See comment for -static flag below, for more details.
+ func_append compile_command " $link_static_flag"
+ func_append finalize_command " $link_static_flag"
+ fi
+ continue
+ ;;
+
+ -allow-undefined)
+ # FIXME: remove this flag sometime in the future.
+ func_fatal_error "'-allow-undefined' must not be used because it is the default"
+ ;;
+
+ -avoid-version)
+ avoid_version=yes
+ continue
+ ;;
+
+ -bindir)
+ prev=bindir
+ continue
+ ;;
+
+ -dlopen)
+ prev=dlfiles
+ continue
+ ;;
+
+ -dlpreopen)
+ prev=dlprefiles
+ continue
+ ;;
+
+ -export-dynamic)
+ export_dynamic=yes
+ continue
+ ;;
+
+ -export-symbols | -export-symbols-regex)
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ func_fatal_error "more than one -exported-symbols argument is not allowed"
+ fi
+ if test X-export-symbols = "X$arg"; then
+ prev=expsyms
+ else
+ prev=expsyms_regex
+ fi
+ continue
+ ;;
+
+ -framework)
+ prev=framework
+ continue
+ ;;
+
+ -inst-prefix-dir)
+ prev=inst_prefix
+ continue
+ ;;
+
+ # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
+ # so, if we see these flags be careful not to treat them like -L
+ -L[A-Z][A-Z]*:*)
+ case $with_gcc/$host in
+ no/*-*-irix* | /*-*-irix*)
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ ;;
+ esac
+ continue
+ ;;
+
+ -L*)
+ func_stripname "-L" '' "$arg"
+ if test -z "$func_stripname_result"; then
+ if test "$#" -gt 0; then
+ func_fatal_error "require no space between '-L' and '$1'"
+ else
+ func_fatal_error "need path for '-L' option"
+ fi
+ fi
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ test -z "$absdir" && \
+ func_fatal_error "cannot determine absolute directory name of '$dir'"
+ dir=$absdir
+ ;;
+ esac
+ case "$deplibs " in
+ *" -L$dir "* | *" $arg "*)
+ # Will only happen for absolute or sysroot arguments
+ ;;
+ *)
+ # Preserve sysroot, but never include relative directories
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
+ *) func_append deplibs " -L$dir" ;;
+ esac
+ func_append lib_search_path " $dir"
+ ;;
+ esac
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$dir:"*) ;;
+ ::) dllsearchpath=$dir;;
+ *) func_append dllsearchpath ":$dir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ continue
+ ;;
+
+ -l*)
+ if test X-lc = "X$arg" || test X-lm = "X$arg"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # These systems don't actually have a C or math library (as such)
+ continue
+ ;;
+ *-*-os2*)
+ # These systems don't actually have a C library (as such)
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
+ # Do not include libc due to us having libc/libc_r.
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C and math libraries are in the System framework
+ func_append deplibs " System.ltframework"
+ continue
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ test X-lc = "X$arg" && continue
+ ;;
+ esac
+ elif test X-lc_r = "X$arg"; then
+ case $host in
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
+ fi
+ func_append deplibs " $arg"
+ continue
+ ;;
+
+ -mllvm)
+ prev=mllvm
+ continue
+ ;;
+
+ -module)
+ module=yes
+ continue
+ ;;
+
+ # Tru64 UNIX uses -model [arg] to determine the layout of C++
+ # classes, name mangling, and exception handling.
+ # Darwin uses the -arch flag to determine output architecture.
+ -model|-arch|-isysroot|--sysroot)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ prev=xcompiler
+ continue
+ ;;
+
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case "$new_inherited_linker_flags " in
+ *" $arg "*) ;;
+ * ) func_append new_inherited_linker_flags " $arg" ;;
+ esac
+ continue
+ ;;
+
+ -multi_module)
+ single_module=$wl-multi_module
+ continue
+ ;;
+
+ -no-fast-install)
+ fast_install=no
+ continue
+ ;;
+
+ -no-install)
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
+ # The PATH hackery in wrapper scripts is required on Windows
+ # and Darwin in order for the loader to find any dlls it needs.
+ func_warning "'-no-install' is ignored for $host"
+ func_warning "assuming '-no-fast-install' instead"
+ fast_install=no
+ ;;
+ *) no_install=yes ;;
+ esac
+ continue
+ ;;
+
+ -no-undefined)
+ allow_undefined=no
+ continue
+ ;;
+
+ -objectlist)
+ prev=objectlist
+ continue
+ ;;
+
+ -os2dllname)
+ prev=os2dllname
+ continue
+ ;;
+
+ -o) prev=output ;;
+
+ -precious-files-regex)
+ prev=precious_regex
+ continue
+ ;;
+
+ -release)
+ prev=release
+ continue
+ ;;
+
+ -rpath)
+ prev=rpath
+ continue
+ ;;
+
+ -R)
+ prev=xrpath
+ continue
+ ;;
+
+ -R*)
+ func_stripname '-R' '' "$arg"
+ dir=$func_stripname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ =*)
+ func_stripname '=' '' "$dir"
+ dir=$lt_sysroot$func_stripname_result
+ ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ continue
+ ;;
+
+ -shared)
+ # The effects of -shared are defined in a previous loop.
+ continue
+ ;;
+
+ -shrext)
+ prev=shrext
+ continue
+ ;;
+
+ -static | -static-libtool-libs)
+ # The effects of -static are defined in a previous loop.
+ # We used to do the same as -all-static on platforms that
+ # didn't have a PIC flag, but the assumption that the effects
+ # would be equivalent was wrong. It would break on at least
+ # Digital Unix and AIX.
+ continue
+ ;;
+
+ -thread-safe)
+ thread_safe=yes
+ continue
+ ;;
+
+ -version-info)
+ prev=vinfo
+ continue
+ ;;
+
+ -version-number)
+ prev=vinfo
+ vinfo_number=yes
+ continue
+ ;;
+
+ -weak)
+ prev=weak
+ continue
+ ;;
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs=$IFS; IFS=,
+ for flag in $args; do
+ IFS=$save_ifs
+ func_quote_for_eval "$flag"
+ func_append arg " $func_quote_for_eval_result"
+ func_append compiler_flags " $func_quote_for_eval_result"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Wl,*)
+ func_stripname '-Wl,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs=$IFS; IFS=,
+ for flag in $args; do
+ IFS=$save_ifs
+ func_quote_for_eval "$flag"
+ func_append arg " $wl$func_quote_for_eval_result"
+ func_append compiler_flags " $wl$func_quote_for_eval_result"
+ func_append linker_flags " $func_quote_for_eval_result"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Xcompiler)
+ prev=xcompiler
+ continue
+ ;;
+
+ -Xlinker)
+ prev=xlinker
+ continue
+ ;;
+
+ -XCClinker)
+ prev=xcclinker
+ continue
+ ;;
+
+ # -msg_* for osf cc
+ -msg_*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+
+ # Flags to be passed through unchanged, with rationale:
+ # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
+ # -r[0-9][0-9]* specify processor for the SGI compiler
+ # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
+ # +DA*, +DD* enable 64-bit mode for the HP compiler
+ # -q* compiler args for the IBM compiler
+ # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
+ # -F/path path to uninstalled frameworks, gcc on darwin
+ # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
+ # -fstack-protector* stack protector flags for GCC
+ # @file GCC response files
+ # -tp=* Portland pgcc target processor selection
+ # --sysroot=* for sysroot support
+ # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ # -stdlib=* select c++ std lib with clang
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ func_append compiler_flags " $arg"
+ continue
+ ;;
+
+ -Z*)
+ if test os2 = "`expr $host : '.*\(os2\)'`"; then
+ # OS/2 uses -Zxxx to specify OS/2-specific options
+ compiler_flags="$compiler_flags $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case $arg in
+ -Zlinker | -Zstack)
+ prev=xcompiler
+ ;;
+ esac
+ continue
+ else
+ # Otherwise treat like 'Some other compiler flag' below
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ fi
+ ;;
+
+ # Some other compiler flag.
+ -* | +*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+
+ *.$objext)
+ # A standard object.
+ func_append objs " $arg"
+ ;;
+
+ *.lo)
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test none = "$pic_object" &&
+ test none = "$non_pic_object"; then
+ func_fatal_error "cannot find name of object for '$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ test none = "$pic_object" || {
+ # Prepend the subdirectory the object is found in.
+ pic_object=$xdir$pic_object
+
+ if test dlfiles = "$prev"; then
+ if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test dlprefiles = "$prev"; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg=$pic_object
+ }
+
+ # Non-PIC object.
+ if test none != "$non_pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object=$xdir$non_pic_object
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test none = "$pic_object"; then
+ arg=$non_pic_object
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object=$pic_object
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "'$arg' is not a valid libtool object"
+ fi
+ fi
+ ;;
+
+ *.$libext)
+ # An archive.
+ func_append deplibs " $arg"
+ func_append old_deplibs " $arg"
+ continue
+ ;;
+
+ *.la)
+ # A libtool-controlled library.
+
+ func_resolve_sysroot "$arg"
+ if test dlfiles = "$prev"; then
+ # This library was specified with -dlopen.
+ func_append dlfiles " $func_resolve_sysroot_result"
+ prev=
+ elif test dlprefiles = "$prev"; then
+ # The library was specified with -dlpreopen.
+ func_append dlprefiles " $func_resolve_sysroot_result"
+ prev=
+ else
+ func_append deplibs " $func_resolve_sysroot_result"
+ fi
+ continue
+ ;;
+
+ # Some other compiler argument.
+ *)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+ esac # arg
+
+ # Now actually substitute the argument into the commands.
+ if test -n "$arg"; then
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+ done # argument parsing loop
+
+ test -n "$prev" && \
+ func_fatal_help "the '$prevarg' option requires an argument"
+
+ if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
+ eval arg=\"$export_dynamic_flag_spec\"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+
+ oldlibs=
+ # calculate the name of the file, without its directory
+ func_basename "$output"
+ outputname=$func_basename_result
+ libobjs_save=$libobjs
+
+ if test -n "$shlibpath_var"; then
+ # get the directories listed in $shlibpath_var
+ eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
+ else
+ shlib_search_path=
+ fi
+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
+
+ func_dirname "$output" "/" ""
+ output_objdir=$func_dirname_result$objdir
+ func_to_tool_file "$output_objdir/"
+ tool_output_objdir=$func_to_tool_file_result
+ # Create the object directory.
+ func_mkdir_p "$output_objdir"
+
+ # Determine the type of output
+ case $output in
+ "")
+ func_fatal_help "you must specify an output file"
+ ;;
+ *.$libext) linkmode=oldlib ;;
+ *.lo | *.$objext) linkmode=obj ;;
+ *.la) linkmode=lib ;;
+ *) linkmode=prog ;; # Anything else should be a program.
+ esac
+
+ specialdeplibs=
+
+ libs=
+ # Find all interdependent deplibs by searching for libraries
+ # that are linked more than once (e.g. -la -lb -la)
+ for deplib in $deplibs; do
+ if $opt_preserve_dup_deps; then
+ case "$libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append libs " $deplib"
+ done
+
+ if test lib = "$linkmode"; then
+ libs="$predeps $libs $compiler_lib_search_path $postdeps"
+
+ # Compute libraries that are listed more than once in $predeps
+ # $postdeps and mark them as special (i.e., whose duplicates are
+ # not to be eliminated).
+ pre_post_deps=
+ if $opt_duplicate_compiler_generated_deps; then
+ for pre_post_dep in $predeps $postdeps; do
+ case "$pre_post_deps " in
+ *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
+ esac
+ func_append pre_post_deps " $pre_post_dep"
+ done
+ fi
+ pre_post_deps=
+ fi
+
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no # whether we're linking any uninstalled libtool libraries
+ notinst_deplibs= # not-installed libtool libraries
+ notinst_path= # paths that contain not-installed libtool libraries
+
+ case $linkmode in
+ lib)
+ passes="conv dlpreopen link"
+ for file in $dlfiles $dlprefiles; do
+ case $file in
+ *.la) ;;
+ *)
+ func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
+ ;;
+ esac
+ done
+ ;;
+ prog)
+ compile_deplibs=
+ finalize_deplibs=
+ alldeplibs=false
+ newdlfiles=
+ newdlprefiles=
+ passes="conv scan dlopen dlpreopen link"
+ ;;
+ *) passes="conv"
+ ;;
+ esac
+
+ for pass in $passes; do
+ # The preopen pass in lib mode reverses $deplibs; put it back here
+ # so that -L comes before libs that need it for instance...
+ if test lib,link = "$linkmode,$pass"; then
+ ## FIXME: Find the place where the list is rebuilt in the wrong
+ ## order, and fix it there properly
+ tmp_deplibs=
+ for deplib in $deplibs; do
+ tmp_deplibs="$deplib $tmp_deplibs"
+ done
+ deplibs=$tmp_deplibs
+ fi
+
+ if test lib,link = "$linkmode,$pass" ||
+ test prog,scan = "$linkmode,$pass"; then
+ libs=$deplibs
+ deplibs=
+ fi
+ if test prog = "$linkmode"; then
+ case $pass in
+ dlopen) libs=$dlfiles ;;
+ dlpreopen) libs=$dlprefiles ;;
+ link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ esac
+ fi
+ if test lib,dlpreopen = "$linkmode,$pass"; then
+ # Collect and forward deplibs of preopened libtool libs
+ for lib in $dlprefiles; do
+ # Ignore non-libtool-libs
+ dependency_libs=
+ func_resolve_sysroot "$lib"
+ case $lib in
+ *.la) func_source "$func_resolve_sysroot_result" ;;
+ esac
+
+ # Collect preopened libtool deplibs, except any this library
+ # has declared as weak libs
+ for deplib in $dependency_libs; do
+ func_basename "$deplib"
+ deplib_base=$func_basename_result
+ case " $weak_libs " in
+ *" $deplib_base "*) ;;
+ *) func_append deplibs " $deplib" ;;
+ esac
+ done
+ done
+ libs=$dlprefiles
+ fi
+ if test dlopen = "$pass"; then
+ # Collect dlpreopened libraries
+ save_deplibs=$deplibs
+ deplibs=
+ fi
+
+ for deplib in $libs; do
+ lib=
+ found=false
+ case $deplib in
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append compiler_flags " $deplib"
+ if test lib = "$linkmode"; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -l*)
+ if test lib != "$linkmode" && test prog != "$linkmode"; then
+ func_warning "'-l' is ignored for archives/objects"
+ continue
+ fi
+ func_stripname '-l' '' "$deplib"
+ name=$func_stripname_result
+ if test lib = "$linkmode"; then
+ searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
+ else
+ searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
+ fi
+ for searchdir in $searchdirs; do
+ for search_ext in .la $std_shrext .so .a; do
+ # Search the libtool library
+ lib=$searchdir/lib$name$search_ext
+ if test -f "$lib"; then
+ if test .la = "$search_ext"; then
+ found=:
+ else
+ found=false
+ fi
+ break 2
+ fi
+ done
+ done
+ if $found; then
+ # deplib is a libtool library
+ # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
+ # We need to do some special things here, and not later.
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $deplib "*)
+ if func_lalib_p "$lib"; then
+ library_names=
+ old_library=
+ func_source "$lib"
+ for l in $old_library $library_names; do
+ ll=$l
+ done
+ if test "X$ll" = "X$old_library"; then # only static version available
+ found=false
+ func_dirname "$lib" "" "."
+ ladir=$func_dirname_result
+ lib=$ladir/$old_library
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ fi
+ ;;
+ *) ;;
+ esac
+ fi
+ else
+ # deplib doesn't seem to be a libtool library
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ ;; # -l
+ *.ltframework)
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ if test lib = "$linkmode"; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -L*)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ test conv = "$pass" && continue
+ newdependency_libs="$deplib $newdependency_libs"
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ prog)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ if test scan = "$pass"; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ *)
+ func_warning "'-L' is ignored for archives/objects"
+ ;;
+ esac # linkmode
+ continue
+ ;; # -L
+ -R*)
+ if test link = "$pass"; then
+ func_stripname '-R' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # Make sure the xrpath contains only unique directories.
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ fi
+ deplibs="$deplib $deplibs"
+ continue
+ ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ lib=$func_resolve_sysroot_result
+ ;;
+ *.$libext)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ case $linkmode in
+ lib)
+ # Linking convenience modules into shared libraries is allowed,
+ # but linking other static libraries is non-portable.
+ case " $dlpreconveniencelibs " in
+ *" $deplib "*) ;;
+ *)
+ valid_a_lib=false
+ case $deplibs_check_method in
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
+ | $EGREP "$match_pattern_regex" > /dev/null; then
+ valid_a_lib=:
+ fi
+ ;;
+ pass_all)
+ valid_a_lib=:
+ ;;
+ esac
+ if $valid_a_lib; then
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the"
+ $ECHO "*** static library $deplib is not portable!"
+ deplibs="$deplib $deplibs"
+ else
+ echo
+ $ECHO "*** Warning: Trying to link with static lib archive $deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because the file extensions .$libext of this argument makes me believe"
+ echo "*** that it is just a static archive that I should not use here."
+ fi
+ ;;
+ esac
+ continue
+ ;;
+ prog)
+ if test link != "$pass"; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ continue
+ ;;
+ esac # linkmode
+ ;; # *.$libext
+ *.lo | *.$objext)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ elif test prog = "$linkmode"; then
+ if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
+ # If there is no dlopen support or we're linking statically,
+ # we need to preload.
+ func_append newdlprefiles " $deplib"
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append newdlfiles " $deplib"
+ fi
+ fi
+ continue
+ ;;
+ %DEPLIBS%)
+ alldeplibs=:
+ continue
+ ;;
+ esac # case $deplib
+
+ $found || test -f "$lib" \
+ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$lib" \
+ || func_fatal_error "'$lib' is not a valid libtool archive"
+
+ func_dirname "$lib" "" "."
+ ladir=$func_dirname_result
+
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ inherited_linker_flags=
+ # If the library was installed with an old release of libtool,
+ # it will not redefine variables installed, or shouldnotlink
+ installed=yes
+ shouldnotlink=no
+ avoidtemprpath=
+
+
+ # Read the .la file
+ func_source "$lib"
+
+ # Convert "-framework foo" to "foo.ltframework"
+ if test -n "$inherited_linker_flags"; then
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
+ for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
+ case " $new_inherited_linker_flags " in
+ *" $tmp_inherited_linker_flag "*) ;;
+ *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
+ esac
+ done
+ fi
+ dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ if test lib,link = "$linkmode,$pass" ||
+ test prog,scan = "$linkmode,$pass" ||
+ { test prog != "$linkmode" && test lib != "$linkmode"; }; then
+ test -n "$dlopen" && func_append dlfiles " $dlopen"
+ test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
+ fi
+
+ if test conv = "$pass"; then
+ # Only check for convenience libraries
+ deplibs="$lib $deplibs"
+ if test -z "$libdir"; then
+ if test -z "$old_library"; then
+ func_fatal_error "cannot find name of link library for '$lib'"
+ fi
+ # It is a libtool convenience library, so add in its objects.
+ func_append convenience " $ladir/$objdir/$old_library"
+ func_append old_convenience " $ladir/$objdir/$old_library"
+ elif test prog != "$linkmode" && test lib != "$linkmode"; then
+ func_fatal_error "'$lib' is not a convenience library"
+ fi
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ deplibs="$deplib $deplibs"
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done
+ continue
+ fi # $pass = conv
+
+
+ # Get the name of the library we link against.
+ linklib=
+ if test -n "$old_library" &&
+ { test yes = "$prefer_static_libs" ||
+ test built,no = "$prefer_static_libs,$installed"; }; then
+ linklib=$old_library
+ else
+ for l in $old_library $library_names; do
+ linklib=$l
+ done
+ fi
+ if test -z "$linklib"; then
+ func_fatal_error "cannot find name of link library for '$lib'"
+ fi
+
+ # This library was specified with -dlopen.
+ if test dlopen = "$pass"; then
+ test -z "$libdir" \
+ && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
+ if test -z "$dlname" ||
+ test yes != "$dlopen_support" ||
+ test no = "$build_libtool_libs"
+ then
+ # If there is no dlname, no dlopen support or we're linking
+ # statically, we need to preload. We also need to preload any
+ # dependent libraries so libltdl's deplib preloader doesn't
+ # bomb out in the load deplibs phase.
+ func_append dlprefiles " $lib $dependency_libs"
+ else
+ func_append newdlfiles " $lib"
+ fi
+ continue
+ fi # $pass = dlopen
+
+ # We need an absolute path.
+ case $ladir in
+ [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
+ *)
+ abs_ladir=`cd "$ladir" && pwd`
+ if test -z "$abs_ladir"; then
+ func_warning "cannot determine absolute directory name of '$ladir'"
+ func_warning "passing it literally to the linker, although it might fail"
+ abs_ladir=$ladir
+ fi
+ ;;
+ esac
+ func_basename "$lib"
+ laname=$func_basename_result
+
+ # Find the relevant object directory and library name.
+ if test yes = "$installed"; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ func_warning "library '$lib' was moved."
+ dir=$ladir
+ absdir=$abs_ladir
+ libdir=$abs_ladir
+ else
+ dir=$lt_sysroot$libdir
+ absdir=$lt_sysroot$libdir
+ fi
+ test yes = "$hardcode_automatic" && avoidtemprpath=yes
+ else
+ if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ dir=$ladir
+ absdir=$abs_ladir
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ else
+ dir=$ladir/$objdir
+ absdir=$abs_ladir/$objdir
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ fi
+ fi # $installed = yes
+ func_stripname 'lib' '.la' "$laname"
+ name=$func_stripname_result
+
+ # This library was specified with -dlpreopen.
+ if test dlpreopen = "$pass"; then
+ if test -z "$libdir" && test prog = "$linkmode"; then
+ func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
+ fi
+ case $host in
+ # special handling for platforms with PE-DLLs.
+ *cygwin* | *mingw* | *cegcc* )
+ # Linker will automatically link against shared library if both
+ # static and shared are present. Therefore, ensure we extract
+ # symbols from the import library if a shared library is present
+ # (otherwise, the dlopen module name will be incorrect). We do
+ # this by putting the import library name into $newdlprefiles.
+ # We recover the dlopen module name by 'saving' the la file
+ # name in a special purpose variable, and (later) extracting the
+ # dlname from the la file.
+ if test -n "$dlname"; then
+ func_tr_sh "$dir/$linklib"
+ eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
+ func_append newdlprefiles " $dir/$linklib"
+ else
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ fi
+ ;;
+ * )
+ # Prefer using a static library (so that no silly _DYNAMIC symbols
+ # are required to link).
+ if test -n "$old_library"; then
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ # Otherwise, use the dlname, so that lt_dlopen finds it.
+ elif test -n "$dlname"; then
+ func_append newdlprefiles " $dir/$dlname"
+ else
+ func_append newdlprefiles " $dir/$linklib"
+ fi
+ ;;
+ esac
+ fi # $pass = dlpreopen
+
+ if test -z "$libdir"; then
+ # Link the convenience library
+ if test lib = "$linkmode"; then
+ deplibs="$dir/$old_library $deplibs"
+ elif test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$dir/$old_library $compile_deplibs"
+ finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ else
+ deplibs="$lib $deplibs" # used for prog,scan pass
+ fi
+ continue
+ fi
+
+
+ if test prog = "$linkmode" && test link != "$pass"; then
+ func_append newlib_search_path " $ladir"
+ deplibs="$lib $deplibs"
+
+ linkalldeplibs=false
+ if test no != "$link_all_deplibs" || test -z "$library_names" ||
+ test no = "$build_libtool_libs"; then
+ linkalldeplibs=:
+ fi
+
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ esac
+ # Need to link against all dependency_libs?
+ if $linkalldeplibs; then
+ deplibs="$deplib $deplibs"
+ else
+ # Need to hardcode shared library paths
+ # or/and link against static libraries
+ newdependency_libs="$deplib $newdependency_libs"
+ fi
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done # for deplib
+ continue
+ fi # $linkmode = prog...
+
+ if test prog,link = "$linkmode,$pass"; then
+ if test -n "$library_names" &&
+ { { test no = "$prefer_static_libs" ||
+ test built,yes = "$prefer_static_libs,$installed"; } ||
+ test -z "$old_library"; }; then
+ # We need to hardcode the library path
+ if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
+ # Make sure the rpath contains only unique directories.
+ case $temp_rpath: in
+ *"$absdir:"*) ;;
+ *) func_append temp_rpath "$absdir:" ;;
+ esac
+ fi
+
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi # $linkmode,$pass = prog,link...
+
+ if $alldeplibs &&
+ { test pass_all = "$deplibs_check_method" ||
+ { test yes = "$build_libtool_libs" &&
+ test -n "$library_names"; }; }; then
+ # We only need to search for static libraries
+ continue
+ fi
+ fi
+
+ link_static=no # Whether the deplib will be linked statically
+ use_static_libs=$prefer_static_libs
+ if test built = "$use_static_libs" && test yes = "$installed"; then
+ use_static_libs=no
+ fi
+ if test -n "$library_names" &&
+ { test no = "$use_static_libs" || test -z "$old_library"; }; then
+ case $host in
+ *cygwin* | *mingw* | *cegcc* | *os2*)
+ # No point in relinking DLLs because paths are not encoded
+ func_append notinst_deplibs " $lib"
+ need_relink=no
+ ;;
+ *)
+ if test no = "$installed"; then
+ func_append notinst_deplibs " $lib"
+ need_relink=yes
+ fi
+ ;;
+ esac
+ # This is a shared library
+
+ # Warn about portability, can't link against -module's on some
+ # systems (darwin). Don't bleat about dlopened modules though!
+ dlopenmodule=
+ for dlpremoduletest in $dlprefiles; do
+ if test "X$dlpremoduletest" = "X$lib"; then
+ dlopenmodule=$dlpremoduletest
+ break
+ fi
+ done
+ if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
+ echo
+ if test prog = "$linkmode"; then
+ $ECHO "*** Warning: Linking the executable $output against the loadable module"
+ else
+ $ECHO "*** Warning: Linking the shared library $output against the loadable module"
+ fi
+ $ECHO "*** $linklib is not portable!"
+ fi
+ if test lib = "$linkmode" &&
+ test yes = "$hardcode_into_libs"; then
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi
+
+ if test -n "$old_archive_from_expsyms_cmds"; then
+ # figure out the soname
+ set dummy $library_names
+ shift
+ realname=$1
+ shift
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ # use dlname if we got it. it's perfectly good, no?
+ if test -n "$dlname"; then
+ soname=$dlname
+ elif test -n "$soname_spec"; then
+ # bleh windows
+ case $host in
+ *cygwin* | mingw* | *cegcc* | *os2*)
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix=-$major
+ ;;
+ esac
+ eval soname=\"$soname_spec\"
+ else
+ soname=$realname
+ fi
+
+ # Make a new name for the extract_expsyms_cmds to use
+ soroot=$soname
+ func_basename "$soroot"
+ soname=$func_basename_result
+ func_stripname 'lib' '.dll' "$soname"
+ newlib=libimp-$func_stripname_result.a
+
+ # If the library has no export list, then create one now
+ if test -f "$output_objdir/$soname-def"; then :
+ else
+ func_verbose "extracting exported symbol list from '$soname'"
+ func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
+ fi
+
+ # Create $newlib
+ if test -f "$output_objdir/$newlib"; then :; else
+ func_verbose "generating import library for '$soname'"
+ func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
+ fi
+ # make sure the library variables are pointing to the new library
+ dir=$output_objdir
+ linklib=$newlib
+ fi # test -n "$old_archive_from_expsyms_cmds"
+
+ if test prog = "$linkmode" || test relink != "$opt_mode"; then
+ add_shlibpath=
+ add_dir=
+ add=
+ lib_linked=yes
+ case $hardcode_action in
+ immediate | unsupported)
+ if test no = "$hardcode_direct"; then
+ add=$dir/$linklib
+ case $host in
+ *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
+ *-*-sysv4*uw2*) add_dir=-L$dir ;;
+ *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
+ *-*-unixware7*) add_dir=-L$dir ;;
+ *-*-darwin* )
+ # if the lib is a (non-dlopened) module then we cannot
+ # link against it, someone is ignoring the earlier warnings
+ if /usr/bin/file -L $add 2> /dev/null |
+ $GREP ": [^:]* bundle" >/dev/null; then
+ if test "X$dlopenmodule" != "X$lib"; then
+ $ECHO "*** Warning: lib $linklib is a module, not a shared library"
+ if test -z "$old_library"; then
+ echo
+ echo "*** And there doesn't seem to be a static archive available"
+ echo "*** The link will probably fail, sorry"
+ else
+ add=$dir/$old_library
+ fi
+ elif test -n "$old_library"; then
+ add=$dir/$old_library
+ fi
+ fi
+ esac
+ elif test no = "$hardcode_minus_L"; then
+ case $host in
+ *-*-sunos*) add_shlibpath=$dir ;;
+ esac
+ add_dir=-L$dir
+ add=-l$name
+ elif test no = "$hardcode_shlibpath_var"; then
+ add_shlibpath=$dir
+ add=-l$name
+ else
+ lib_linked=no
+ fi
+ ;;
+ relink)
+ if test yes = "$hardcode_direct" &&
+ test no = "$hardcode_direct_absolute"; then
+ add=$dir/$linklib
+ elif test yes = "$hardcode_minus_L"; then
+ add_dir=-L$absdir
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add=-l$name
+ elif test yes = "$hardcode_shlibpath_var"; then
+ add_shlibpath=$dir
+ add=-l$name
+ else
+ lib_linked=no
+ fi
+ ;;
+ *) lib_linked=no ;;
+ esac
+
+ if test yes != "$lib_linked"; then
+ func_fatal_configuration "unsupported hardcode properties"
+ fi
+
+ if test -n "$add_shlibpath"; then
+ case :$compile_shlibpath: in
+ *":$add_shlibpath:"*) ;;
+ *) func_append compile_shlibpath "$add_shlibpath:" ;;
+ esac
+ fi
+ if test prog = "$linkmode"; then
+ test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
+ test -n "$add" && compile_deplibs="$add $compile_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ if test yes != "$hardcode_direct" &&
+ test yes != "$hardcode_minus_L" &&
+ test yes = "$hardcode_shlibpath_var"; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ fi
+ fi
+ fi
+
+ if test prog = "$linkmode" || test relink = "$opt_mode"; then
+ add_shlibpath=
+ add_dir=
+ add=
+ # Finalize command for both is simple: just hardcode it.
+ if test yes = "$hardcode_direct" &&
+ test no = "$hardcode_direct_absolute"; then
+ add=$libdir/$linklib
+ elif test yes = "$hardcode_minus_L"; then
+ add_dir=-L$libdir
+ add=-l$name
+ elif test yes = "$hardcode_shlibpath_var"; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ add=-l$name
+ elif test yes = "$hardcode_automatic"; then
+ if test -n "$inst_prefix_dir" &&
+ test -f "$inst_prefix_dir$libdir/$linklib"; then
+ add=$inst_prefix_dir$libdir/$linklib
+ else
+ add=$libdir/$linklib
+ fi
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+ add_dir=-L$libdir
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add=-l$name
+ fi
+
+ if test prog = "$linkmode"; then
+ test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
+ test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ fi
+ fi
+ elif test prog = "$linkmode"; then
+ # Here we assume that one of hardcode_direct or hardcode_minus_L
+ # is not unsupported. This is valid on all known static and
+ # shared platforms.
+ if test unsupported != "$hardcode_direct"; then
+ test -n "$old_library" && linklib=$old_library
+ compile_deplibs="$dir/$linklib $compile_deplibs"
+ finalize_deplibs="$dir/$linklib $finalize_deplibs"
+ else
+ compile_deplibs="-l$name -L$dir $compile_deplibs"
+ finalize_deplibs="-l$name -L$dir $finalize_deplibs"
+ fi
+ elif test yes = "$build_libtool_libs"; then
+ # Not a shared library
+ if test pass_all != "$deplibs_check_method"; then
+ # We're trying link a shared library against a static one
+ # but the system doesn't support it.
+
+ # Just print a warning and add the library to dependency_libs so
+ # that the program can be linked against the static library.
+ echo
+ $ECHO "*** Warning: This system cannot link to static lib archive $lib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have."
+ if test yes = "$module"; then
+ echo "*** But as you try to build a module library, libtool will still create "
+ echo "*** a static module, that should work as long as the dlopening application"
+ echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** 'nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test no = "$build_old_libs"; then
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ else
+ deplibs="$dir/$old_library $deplibs"
+ link_static=yes
+ fi
+ fi # link shared/static library?
+
+ if test lib = "$linkmode"; then
+ if test -n "$dependency_libs" &&
+ { test yes != "$hardcode_into_libs" ||
+ test yes = "$build_old_libs" ||
+ test yes = "$link_static"; }; then
+ # Extract -R from dependency_libs
+ temp_deplibs=
+ for libdir in $dependency_libs; do
+ case $libdir in
+ -R*) func_stripname '-R' '' "$libdir"
+ temp_xrpath=$func_stripname_result
+ case " $xrpath " in
+ *" $temp_xrpath "*) ;;
+ *) func_append xrpath " $temp_xrpath";;
+ esac;;
+ *) func_append temp_deplibs " $libdir";;
+ esac
+ done
+ dependency_libs=$temp_deplibs
+ fi
+
+ func_append newlib_search_path " $absdir"
+ # Link against this library
+ test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
+ # ... and its dependency_libs
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ newdependency_libs="$deplib $newdependency_libs"
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result";;
+ *) func_resolve_sysroot "$deplib" ;;
+ esac
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $func_resolve_sysroot_result "*)
+ func_append specialdeplibs " $func_resolve_sysroot_result" ;;
+ esac
+ fi
+ func_append tmp_libs " $func_resolve_sysroot_result"
+ done
+
+ if test no != "$link_all_deplibs"; then
+ # Add the search paths of all dependency libraries
+ for deplib in $dependency_libs; do
+ path=
+ case $deplib in
+ -L*) path=$deplib ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ deplib=$func_resolve_sysroot_result
+ func_dirname "$deplib" "" "."
+ dir=$func_dirname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ func_warning "cannot determine absolute directory name of '$dir'"
+ absdir=$dir
+ fi
+ ;;
+ esac
+ if $GREP "^installed=no" $deplib > /dev/null; then
+ case $host in
+ *-*-darwin*)
+ depdepl=
+ eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
+ if test -n "$deplibrary_names"; then
+ for tmp in $deplibrary_names; do
+ depdepl=$tmp
+ done
+ if test -f "$absdir/$objdir/$depdepl"; then
+ depdepl=$absdir/$objdir/$depdepl
+ darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ if test -z "$darwin_install_name"; then
+ darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ fi
+ func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
+ func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
+ path=
+ fi
+ fi
+ ;;
+ *)
+ path=-L$absdir/$objdir
+ ;;
+ esac
+ else
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ test -z "$libdir" && \
+ func_fatal_error "'$deplib' is not a valid libtool archive"
+ test "$absdir" != "$libdir" && \
+ func_warning "'$deplib' seems to be moved"
+
+ path=-L$absdir
+ fi
+ ;;
+ esac
+ case " $deplibs " in
+ *" $path "*) ;;
+ *) deplibs="$path $deplibs" ;;
+ esac
+ done
+ fi # link_all_deplibs != no
+ fi # linkmode = lib
+ done # for deplib in $libs
+ if test link = "$pass"; then
+ if test prog = "$linkmode"; then
+ compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
+ finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
+ else
+ compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ fi
+ fi
+ dependency_libs=$newdependency_libs
+ if test dlpreopen = "$pass"; then
+ # Link the dlpreopened libraries before other libraries
+ for deplib in $save_deplibs; do
+ deplibs="$deplib $deplibs"
+ done
+ fi
+ if test dlopen != "$pass"; then
+ test conv = "$pass" || {
+ # Make sure lib_search_path contains only unique directories.
+ lib_search_path=
+ for dir in $newlib_search_path; do
+ case "$lib_search_path " in
+ *" $dir "*) ;;
+ *) func_append lib_search_path " $dir" ;;
+ esac
+ done
+ newlib_search_path=
+ }
+
+ if test prog,link = "$linkmode,$pass"; then
+ vars="compile_deplibs finalize_deplibs"
+ else
+ vars=deplibs
+ fi
+ for var in $vars dependency_libs; do
+ # Add libraries to $var in reverse order
+ eval tmp_libs=\"\$$var\"
+ new_libs=
+ for deplib in $tmp_libs; do
+ # FIXME: Pedantically, this is the right thing to do, so
+ # that some nasty dependency loop isn't accidentally
+ # broken:
+ #new_libs="$deplib $new_libs"
+ # Pragmatically, this seems to cause very few problems in
+ # practice:
+ case $deplib in
+ -L*) new_libs="$deplib $new_libs" ;;
+ -R*) ;;
+ *)
+ # And here is the reason: when a library appears more
+ # than once as an explicit dependence of a library, or
+ # is implicitly linked in more than once by the
+ # compiler, it is considered special, and multiple
+ # occurrences thereof are not removed. Compare this
+ # with having the same library being listed as a
+ # dependency of multiple other libraries: in this case,
+ # we know (pedantically, we assume) the library does not
+ # need to be listed more than once, so we keep only the
+ # last copy. This is not always right, but it is rare
+ # enough that we require users that really mean to play
+ # such unportable linking tricks to link the library
+ # using -Wl,-lname, so that libtool does not consider it
+ # for duplicate removal.
+ case " $specialdeplibs " in
+ *" $deplib "*) new_libs="$deplib $new_libs" ;;
+ *)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) new_libs="$deplib $new_libs" ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+ done
+ tmp_libs=
+ for deplib in $new_libs; do
+ case $deplib in
+ -L*)
+ case " $tmp_libs " in
+ *" $deplib "*) ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ done
+ eval $var=\"$tmp_libs\"
+ done # for var
+ fi
+ # Last step: remove runtime libs from dependency_libs
+ # (they stay in deplibs)
+ tmp_libs=
+ for i in $dependency_libs; do
+ case " $predeps $postdeps $compiler_lib_search_path " in
+ *" $i "*)
+ i=
+ ;;
+ esac
+ if test -n "$i"; then
+ func_append tmp_libs " $i"
+ fi
+ done
+ dependency_libs=$tmp_libs
+ done # for pass
+ if test prog = "$linkmode"; then
+ dlfiles=$newdlfiles
+ fi
+ if test prog = "$linkmode" || test lib = "$linkmode"; then
+ dlprefiles=$newdlprefiles
+ fi
+
+ case $linkmode in
+ oldlib)
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ func_warning "'-dlopen' is ignored for archives"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "'-l' and '-L' are ignored for archives" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "'-rpath' is ignored for archives"
+
+ test -n "$xrpath" && \
+ func_warning "'-R' is ignored for archives"
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info/-version-number' is ignored for archives"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for archives"
+
+ test -n "$export_symbols$export_symbols_regex" && \
+ func_warning "'-export-symbols' is ignored for archives"
+
+ # Now set the variables for building old libraries.
+ build_libtool_libs=no
+ oldlibs=$output
+ func_append objs "$old_deplibs"
+ ;;
+
+ lib)
+ # Make sure we only generate libraries of the form 'libNAME.la'.
+ case $outputname in
+ lib*)
+ func_stripname 'lib' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ ;;
+ *)
+ test no = "$module" \
+ && func_fatal_help "libtool library '$output' must begin with 'lib'"
+
+ if test no != "$need_lib_prefix"; then
+ # Add the "lib" prefix for modules if required
+ func_stripname '' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ else
+ func_stripname '' '.la' "$outputname"
+ libname=$func_stripname_result
+ fi
+ ;;
+ esac
+
+ if test -n "$objs"; then
+ if test pass_all != "$deplibs_check_method"; then
+ func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
+ else
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
+ $ECHO "*** objects $objs is not portable!"
+ func_append libobjs " $objs"
+ fi
+ fi
+
+ test no = "$dlself" \
+ || func_warning "'-dlopen self' is ignored for libtool libraries"
+
+ set dummy $rpath
+ shift
+ test 1 -lt "$#" \
+ && func_warning "ignoring multiple '-rpath's for a libtool library"
+
+ install_libdir=$1
+
+ oldlibs=
+ if test -z "$rpath"; then
+ if test yes = "$build_libtool_libs"; then
+ # Building a libtool convenience library.
+ # Some compilers have problems with a '.al' extension so
+ # convenience libraries should have the same extension an
+ # archive normally would.
+ oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ build_libtool_libs=convenience
+ build_old_libs=yes
+ fi
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info/-version-number' is ignored for convenience libraries"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for convenience libraries"
+ else
+
+ # Parse the version information argument.
+ save_ifs=$IFS; IFS=:
+ set dummy $vinfo 0 0 0
+ shift
+ IFS=$save_ifs
+
+ test -n "$7" && \
+ func_fatal_help "too many parameters to '-version-info'"
+
+ # convert absolute version numbers to libtool ages
+ # this retains compatibility with .la files and attempts
+ # to make the code below a bit more comprehensible
+
+ case $vinfo_number in
+ yes)
+ number_major=$1
+ number_minor=$2
+ number_revision=$3
+ #
+ # There are really only two kinds -- those that
+ # use the current revision as the major version
+ # and those that subtract age and use age as
+ # a minor version. But, then there is irix
+ # that has an extra 1 added just for fun
+ #
+ case $version_type in
+ # correct linux to gnu/linux during the next big refactor
+ darwin|freebsd-elf|linux|osf|windows|none)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age=$number_minor
+ revision=$number_revision
+ ;;
+ freebsd-aout|qnx|sunos)
+ current=$number_major
+ revision=$number_minor
+ age=0
+ ;;
+ irix|nonstopux)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age=$number_minor
+ revision=$number_minor
+ lt_irix_increment=no
+ ;;
+ esac
+ ;;
+ no)
+ current=$1
+ revision=$2
+ age=$3
+ ;;
+ esac
+
+ # Check that each of the things are valid numbers.
+ case $current in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "CURRENT '$current' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $revision in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "REVISION '$revision' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $age in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "AGE '$age' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ if test "$age" -gt "$current"; then
+ func_error "AGE '$age' is greater than the current interface number '$current'"
+ func_fatal_error "'$vinfo' is not valid version information"
+ fi
+
+ # Calculate the version variables.
+ major=
+ versuffix=
+ verstring=
+ case $version_type in
+ none) ;;
+
+ darwin)
+ # Like Linux, but with the current version available in
+ # verstring for coding it into the library header
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ # Darwin ld doesn't like 0 for these options...
+ func_arith $current + 1
+ minor_current=$func_arith_result
+ xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ # On Darwin other compilers
+ case $CC in
+ nagfor*)
+ verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
+ ;;
+ *)
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ ;;
+ esac
+ ;;
+
+ freebsd-aout)
+ major=.$current
+ versuffix=.$current.$revision
+ ;;
+
+ freebsd-elf)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ ;;
+
+ irix | nonstopux)
+ if test no = "$lt_irix_increment"; then
+ func_arith $current - $age
+ else
+ func_arith $current - $age + 1
+ fi
+ major=$func_arith_result
+
+ case $version_type in
+ nonstopux) verstring_prefix=nonstopux ;;
+ *) verstring_prefix=sgi ;;
+ esac
+ verstring=$verstring_prefix$major.$revision
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$revision
+ while test 0 -ne "$loop"; do
+ func_arith $revision - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring=$verstring_prefix$major.$iface:$verstring
+ done
+
+ # Before this point, $major must not contain '.'.
+ major=.$major
+ versuffix=$major.$revision
+ ;;
+
+ linux) # correct to gnu/linux during the next big refactor
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ ;;
+
+ osf)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=.$current.$age.$revision
+ verstring=$current.$age.$revision
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$age
+ while test 0 -ne "$loop"; do
+ func_arith $current - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring=$verstring:$iface.0
+ done
+
+ # Make executables depend on our current version.
+ func_append verstring ":$current.0"
+ ;;
+
+ qnx)
+ major=.$current
+ versuffix=.$current
+ ;;
+
+ sco)
+ major=.$current
+ versuffix=.$current
+ ;;
+
+ sunos)
+ major=.$current
+ versuffix=.$current.$revision
+ ;;
+
+ windows)
+ # Use '-' rather than '.', since we only want one
+ # extension on DOS 8.3 file systems.
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix=-$major
+ ;;
+
+ *)
+ func_fatal_configuration "unknown library version type '$version_type'"
+ ;;
+ esac
+
+ # Clear the version info if we defaulted, and they specified a release.
+ if test -z "$vinfo" && test -n "$release"; then
+ major=
+ case $version_type in
+ darwin)
+ # we can't check for "0.0" in archive_cmds due to quoting
+ # problems, so we reset it completely
+ verstring=
+ ;;
+ *)
+ verstring=0.0
+ ;;
+ esac
+ if test no = "$need_version"; then
+ versuffix=
+ else
+ versuffix=.0.0
+ fi
+ fi
+
+ # Remove version info from name if versioning should be avoided
+ if test yes,no = "$avoid_version,$need_version"; then
+ major=
+ versuffix=
+ verstring=
+ fi
+
+ # Check to see if the archive will have undefined symbols.
+ if test yes = "$allow_undefined"; then
+ if test unsupported = "$allow_undefined_flag"; then
+ if test yes = "$build_old_libs"; then
+ func_warning "undefined symbols not allowed in $host shared libraries; building static only"
+ build_libtool_libs=no
+ else
+ func_fatal_error "can't build $host shared library unless -no-undefined is specified"
+ fi
+ fi
+ else
+ # Don't allow undefined symbols.
+ allow_undefined_flag=$no_undefined_flag
+ fi
+
+ fi
+
+ func_generate_dlsyms "$libname" "$libname" :
+ func_append libobjs " $symfileobj"
+ test " " = "$libobjs" && libobjs=
+
+ if test relink != "$opt_mode"; then
+ # Remove our outputs, but don't remove object files since they
+ # may have been created when compiling PIC objects.
+ removelist=
+ tempremovelist=`$ECHO "$output_objdir/*"`
+ for p in $tempremovelist; do
+ case $p in
+ *.$objext | *.gcno)
+ ;;
+ $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
+ if test -n "$precious_files_regex"; then
+ if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
+ then
+ continue
+ fi
+ fi
+ func_append removelist " $p"
+ ;;
+ *) ;;
+ esac
+ done
+ test -n "$removelist" && \
+ func_show_eval "${RM}r \$removelist"
+ fi
+
+ # Now set the variables for building old libraries.
+ if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
+ func_append oldlibs " $output_objdir/$libname.$libext"
+
+ # Transform .lo files to .o files.
+ oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
+ fi
+
+ # Eliminate all temporary directories.
+ #for path in $notinst_path; do
+ # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+ # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+ # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
+ #done
+
+ if test -n "$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ temp_xrpath=
+ for libdir in $xrpath; do
+ func_replace_sysroot "$libdir"
+ func_append temp_xrpath " -R$func_replace_sysroot_result"
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
+ dependency_libs="$temp_xrpath $dependency_libs"
+ fi
+ fi
+
+ # Make sure dlfiles contains only unique files that won't be dlpreopened
+ old_dlfiles=$dlfiles
+ dlfiles=
+ for lib in $old_dlfiles; do
+ case " $dlprefiles $dlfiles " in
+ *" $lib "*) ;;
+ *) func_append dlfiles " $lib" ;;
+ esac
+ done
+
+ # Make sure dlprefiles contains only unique files
+ old_dlprefiles=$dlprefiles
+ dlprefiles=
+ for lib in $old_dlprefiles; do
+ case "$dlprefiles " in
+ *" $lib "*) ;;
+ *) func_append dlprefiles " $lib" ;;
+ esac
+ done
+
+ if test yes = "$build_libtool_libs"; then
+ if test -n "$rpath"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # these systems don't actually have a c library (as such)!
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C library is in the System framework
+ func_append deplibs " System.ltframework"
+ ;;
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test yes = "$build_libtool_need_lc"; then
+ func_append deplibs " -lc"
+ fi
+ ;;
+ esac
+ fi
+
+ # Transform deplibs into only deplibs that can be linked in shared.
+ name_save=$name
+ libname_save=$libname
+ release_save=$release
+ versuffix_save=$versuffix
+ major_save=$major
+ # I'm not sure if I'm treating the release correctly. I think
+ # release should show up in the -l (ie -lgmp5) so we don't want to
+ # add it in twice. Is that correct?
+ release=
+ versuffix=
+ major=
+ newdeplibs=
+ droppeddeps=no
+ case $deplibs_check_method in
+ pass_all)
+ # Don't check for shared/static. Everything works.
+ # This might be a little naive. We might want to check
+ # whether the library exists or not. But this is on
+ # osf3 & osf4 and I'm not really sure... Just
+ # implementing what was already the behavior.
+ newdeplibs=$deplibs
+ ;;
+ test_compile)
+ # This code stresses the "libraries are programs" paradigm to its
+ # limits. Maybe even breaks it. We compile a program, linking it
+ # against the deplibs as a proxy for the library. Then we can check
+ # whether they linked in statically or dynamically with ldd.
+ $opt_dry_run || $RM conftest.c
+ cat > conftest.c <<EOF
+ int main() { return 0; }
+EOF
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
+ ldd_output=`ldd conftest`
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=
+ ;;
+ esac
+ fi
+ if test -n "$i"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which I believe you do not have"
+ echo "*** because a test_compile did reveal that the linker did not use it for"
+ echo "*** its dynamic dependency list that programs get resolved with at runtime."
+ fi
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ else
+ # Error occurred in the first compile. Let's try to salvage
+ # the situation: Compile a separate program for each library.
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
+ ldd_output=`ldd conftest`
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=
+ ;;
+ esac
+ fi
+ if test -n "$i"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because a test_compile did reveal that the linker did not use this one"
+ echo "*** as a dynamic dependency that programs can get resolved with at runtime."
+ fi
+ fi
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
+ echo "*** make it link in! You will probably need to install it or some"
+ echo "*** library that it depends on before this library will be fully"
+ echo "*** functional. Installing it before continuing would be even better."
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ fi
+ ;;
+ file_magic*)
+ set dummy $deplibs_check_method; shift
+ file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ if test -n "$file_magic_glob"; then
+ libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
+ else
+ libnameglob=$libname
+ fi
+ test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ if test yes = "$want_nocaseglob"; then
+ shopt -s nocaseglob
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ $nocaseglob
+ else
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ fi
+ for potent_lib in $potential_libs; do
+ # Follow soft links.
+ if ls -lLd "$potent_lib" 2>/dev/null |
+ $GREP " -> " >/dev/null; then
+ continue
+ fi
+ # The statement above tries to avoid entering an
+ # endless loop below, in case of cyclic links.
+ # We might still enter an endless loop, since a link
+ # loop can be closed while we follow links,
+ # but so what?
+ potlib=$potent_lib
+ while test -h "$potlib" 2>/dev/null; do
+ potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
+ case $potliblink in
+ [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
+ *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
+ esac
+ done
+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
+ $SED -e 10q |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib"; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib"; then
+ $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a file magic. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ potlib=$potent_lib # see symlink-check above in file_magic test
+ if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
+ $EGREP "$match_pattern_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib"; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib"; then
+ $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a regex pattern. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ none | unknown | *)
+ newdeplibs=
+ tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ for i in $predeps $postdeps; do
+ # can't use Xsed below, because $i might contain '/'
+ tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
+ done
+ fi
+ case $tmp_deplibs in
+ *[!\ \ ]*)
+ echo
+ if test none = "$deplibs_check_method"; then
+ echo "*** Warning: inter-library dependencies are not supported in this platform."
+ else
+ echo "*** Warning: inter-library dependencies are not known to be supported."
+ fi
+ echo "*** All declared inter-library dependencies are being dropped."
+ droppeddeps=yes
+ ;;
+ esac
+ ;;
+ esac
+ versuffix=$versuffix_save
+ major=$major_save
+ release=$release_save
+ libname=$libname_save
+ name=$name_save
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library with the System framework
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ if test yes = "$droppeddeps"; then
+ if test yes = "$module"; then
+ echo
+ echo "*** Warning: libtool could not satisfy all declared inter-library"
+ $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
+ echo "*** a static module, that should work as long as the dlopening"
+ echo "*** application is linked with the -dlopen flag."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** 'nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test no = "$build_old_libs"; then
+ oldlibs=$output_objdir/$libname.$libext
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ else
+ echo "*** The inter-library dependencies that have been dropped here will be"
+ echo "*** automatically added whenever a program is linked with this library"
+ echo "*** or is declared to -dlopen it."
+
+ if test no = "$allow_undefined"; then
+ echo
+ echo "*** Since this library must not contain undefined symbols,"
+ echo "*** because either the platform does not support them or"
+ echo "*** it was explicitly requested with -no-undefined,"
+ echo "*** libtool will only create a static version of it."
+ if test no = "$build_old_libs"; then
+ oldlibs=$output_objdir/$libname.$libext
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ fi
+ fi
+ # Done checking deplibs!
+ deplibs=$newdeplibs
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ case $host in
+ *-*-darwin*)
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ deplibs=$new_libs
+
+ # All the library-specific variables (install_libdir is set above).
+ library_names=
+ old_library=
+ dlname=
+
+ # Test again, we may have decided not to build it any more
+ if test yes = "$build_libtool_libs"; then
+ # Remove $wl instances when linking with ld.
+ # FIXME: should test the right _cmds variable.
+ case $archive_cmds in
+ *\$LD\ *) wl= ;;
+ esac
+ if test yes = "$hardcode_into_libs"; then
+ # Hardcode the library paths
+ hardcode_libdirs=
+ dep_rpath=
+ rpath=$finalize_rpath
+ test relink = "$opt_mode" || rpath=$compile_rpath$rpath
+ for libdir in $rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ func_replace_sysroot "$libdir"
+ libdir=$func_replace_sysroot_result
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append dep_rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
+ fi
+ if test -n "$runpath_var" && test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
+ fi
+ test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
+ fi
+
+ shlibpath=$finalize_shlibpath
+ test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
+ if test -n "$shlibpath"; then
+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
+ fi
+
+ # Get the real and link names of the library.
+ eval shared_ext=\"$shrext_cmds\"
+ eval library_names=\"$library_names_spec\"
+ set dummy $library_names
+ shift
+ realname=$1
+ shift
+
+ if test -n "$soname_spec"; then
+ eval soname=\"$soname_spec\"
+ else
+ soname=$realname
+ fi
+ if test -z "$dlname"; then
+ dlname=$soname
+ fi
+
+ lib=$output_objdir/$realname
+ linknames=
+ for link
+ do
+ func_append linknames " $link"
+ done
+
+ # Use standard objects if they are pic
+ test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ test "X$libobjs" = "X " && libobjs=
+
+ delfiles=
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
+ export_symbols=$output_objdir/$libname.uexp
+ func_append delfiles " $export_symbols"
+ fi
+
+ orig_export_symbols=
+ case $host_os in
+ cygwin* | mingw* | cegcc*)
+ if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
+ # exporting using user supplied symfile
+ func_dll_def_p "$export_symbols" || {
+ # and it's NOT already a .def file. Must figure out
+ # which of the given symbols are data symbols and tag
+ # them as such. So, trigger use of export_symbols_cmds.
+ # export_symbols gets reassigned inside the "prepare
+ # the list of exported symbols" if statement, so the
+ # include_expsyms logic still works.
+ orig_export_symbols=$export_symbols
+ export_symbols=
+ always_export_symbols=yes
+ }
+ fi
+ ;;
+ esac
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
+ func_verbose "generating symbol list for '$libname.la'"
+ export_symbols=$output_objdir/$libname.exp
+ $opt_dry_run || $RM $export_symbols
+ cmds=$export_symbols_cmds
+ save_ifs=$IFS; IFS='~'
+ for cmd1 in $cmds; do
+ IFS=$save_ifs
+ # Take the normal branch if the nm_file_list_spec branch
+ # doesn't work or if tool conversion is not needed.
+ case $nm_file_list_spec~$to_tool_file_cmd in
+ *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+ try_normal_branch=yes
+ eval cmd=\"$cmd1\"
+ func_len " $cmd"
+ len=$func_len_result
+ ;;
+ *)
+ try_normal_branch=no
+ ;;
+ esac
+ if test yes = "$try_normal_branch" \
+ && { test "$len" -lt "$max_cmd_len" \
+ || test "$max_cmd_len" -le -1; }
+ then
+ func_show_eval "$cmd" 'exit $?'
+ skipped_export=false
+ elif test -n "$nm_file_list_spec"; then
+ func_basename "$output"
+ output_la=$func_basename_result
+ save_libobjs=$libobjs
+ save_output=$output
+ output=$output_objdir/$output_la.nm
+ func_to_tool_file "$output"
+ libobjs=$nm_file_list_spec$func_to_tool_file_result
+ func_append delfiles " $output"
+ func_verbose "creating $NM input file list: $output"
+ for obj in $save_libobjs; do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > "$output"
+ eval cmd=\"$cmd1\"
+ func_show_eval "$cmd" 'exit $?'
+ output=$save_output
+ libobjs=$save_libobjs
+ skipped_export=false
+ else
+ # The command line is too long to execute in one step.
+ func_verbose "using reloadable object file for export list..."
+ skipped_export=:
+ # Break out early, otherwise skipped_export may be
+ # set to false by a later but shorter cmd.
+ break
+ fi
+ done
+ IFS=$save_ifs
+ if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+ fi
+
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols=$export_symbols
+ test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands, which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+
+ tmp_deplibs=
+ for test_deplib in $deplibs; do
+ case " $convenience " in
+ *" $test_deplib "*) ;;
+ *)
+ func_append tmp_deplibs " $test_deplib"
+ ;;
+ esac
+ done
+ deplibs=$tmp_deplibs
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec" &&
+ test yes = "$compiler_needs_object" &&
+ test -z "$libobjs"; then
+ # extract the archives, so we have objects to list.
+ # TODO: could optimize this to just extract one archive.
+ whole_archive_flag_spec=
+ fi
+ if test -n "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ else
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ fi
+
+ if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
+ eval flag=\"$thread_safe_flag_spec\"
+ func_append linker_flags " $flag"
+ fi
+
+ # Make a backup of the uninstalled library when relinking
+ if test relink = "$opt_mode"; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
+ fi
+
+ # Do each of the archive commands.
+ if test yes = "$module" && test -n "$module_cmds"; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ eval test_cmds=\"$module_expsym_cmds\"
+ cmds=$module_expsym_cmds
+ else
+ eval test_cmds=\"$module_cmds\"
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval test_cmds=\"$archive_expsym_cmds\"
+ cmds=$archive_expsym_cmds
+ else
+ eval test_cmds=\"$archive_cmds\"
+ cmds=$archive_cmds
+ fi
+ fi
+
+ if test : != "$skipped_export" &&
+ func_len " $test_cmds" &&
+ len=$func_len_result &&
+ test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # The command line is too long to link in one step, link piecewise
+ # or, if using GNU ld and skipped_export is not :, use a linker
+ # script.
+
+ # Save the value of $output and $libobjs because we want to
+ # use them later. If we have whole_archive_flag_spec, we
+ # want to use save_libobjs as it was before
+ # whole_archive_flag_spec was expanded, because we can't
+ # assume the linker understands whole_archive_flag_spec.
+ # This may have to be revisited, in case too many
+ # convenience libraries get linked in and end up exceeding
+ # the spec.
+ if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ fi
+ save_output=$output
+ func_basename "$output"
+ output_la=$func_basename_result
+
+ # Clear the reloadable object creation command queue and
+ # initialize k to one.
+ test_cmds=
+ concat_cmds=
+ objlist=
+ last_robj=
+ k=1
+
+ if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
+ output=$output_objdir/$output_la.lnkscript
+ func_verbose "creating GNU ld script: $output"
+ echo 'INPUT (' > $output
+ for obj in $save_libobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ echo ')' >> $output
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$func_to_tool_file_result
+ elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
+ output=$output_objdir/$output_la.lnk
+ func_verbose "creating linker input file list: $output"
+ : > $output
+ set x $save_libobjs
+ shift
+ firstobj=
+ if test yes = "$compiler_needs_object"; then
+ firstobj="$1 "
+ shift
+ fi
+ for obj
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
+ else
+ if test -n "$save_libobjs"; then
+ func_verbose "creating reloadable object files..."
+ output=$output_objdir/$output_la-$k.$objext
+ eval test_cmds=\"$reload_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+
+ # Loop over the list of objects to be linked.
+ for obj in $save_libobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ if test -z "$objlist" ||
+ test "$len" -lt "$max_cmd_len"; then
+ func_append objlist " $obj"
+ else
+ # The command $test_cmds is almost too long, add a
+ # command to the queue.
+ if test 1 -eq "$k"; then
+ # The first file doesn't have a previous command to add.
+ reload_objs=$objlist
+ eval concat_cmds=\"$reload_cmds\"
+ else
+ # All subsequent reloadable object files will link in
+ # the last one created.
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
+ fi
+ last_robj=$output_objdir/$output_la-$k.$objext
+ func_arith $k + 1
+ k=$func_arith_result
+ output=$output_objdir/$output_la-$k.$objext
+ objlist=" $obj"
+ func_len " $last_robj"
+ func_arith $len0 + $func_len_result
+ len=$func_arith_result
+ fi
+ done
+ # Handle the remaining objects by creating one last
+ # reloadable object file. All subsequent reloadable object
+ # files will link in the last one created.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\$concat_cmds$reload_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
+ fi
+ func_append delfiles " $output"
+
+ else
+ output=
+ fi
+
+ ${skipped_export-false} && {
+ func_verbose "generating symbol list for '$libname.la'"
+ export_symbols=$output_objdir/$libname.exp
+ $opt_dry_run || $RM $export_symbols
+ libobjs=$output
+ # Append the command to create the export file.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
+ fi
+ }
+
+ test -n "$save_libobjs" &&
+ func_verbose "creating a temporary reloadable object file: $output"
+
+ # Loop through the commands generated above and execute them.
+ save_ifs=$IFS; IFS='~'
+ for cmd in $concat_cmds; do
+ IFS=$save_ifs
+ $opt_quiet || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS=$save_ifs
+
+ if test -n "$export_symbols_regex" && ${skipped_export-false}; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+
+ ${skipped_export-false} && {
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols=$export_symbols
+ test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands, which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+ }
+
+ libobjs=$output
+ # Restore the value of output.
+ output=$save_output
+
+ if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ # Expand the library linking commands again to reset the
+ # value of $libobjs for piecewise linking.
+
+ # Do each of the archive commands.
+ if test yes = "$module" && test -n "$module_cmds"; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ cmds=$module_expsym_cmds
+ else
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ cmds=$archive_expsym_cmds
+ else
+ cmds=$archive_cmds
+ fi
+ fi
+ fi
+
+ if test -n "$delfiles"; then
+ # Append the command to remove temporary files to $cmds.
+ eval cmds=\"\$cmds~\$RM $delfiles\"
+ fi
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+
+ save_ifs=$IFS; IFS='~'
+ for cmd in $cmds; do
+ IFS=$sp$nl
+ eval cmd=\"$cmd\"
+ IFS=$save_ifs
+ $opt_quiet || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS=$save_ifs
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
+
+ if test -n "$convenience"; then
+ if test -z "$whole_archive_flag_spec"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ # Create links to the real library.
+ for linkname in $linknames; do
+ if test "$realname" != "$linkname"; then
+ func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
+ fi
+ done
+
+ # If -module or -export-dynamic was specified, set the dlname.
+ if test yes = "$module" || test yes = "$export_dynamic"; then
+ # On all known operating systems, these are identical.
+ dlname=$soname
+ fi
+ fi
+ ;;
+
+ obj)
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ func_warning "'-dlopen' is ignored for objects"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "'-l' and '-L' are ignored for objects" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "'-rpath' is ignored for objects"
+
+ test -n "$xrpath" && \
+ func_warning "'-R' is ignored for objects"
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info' is ignored for objects"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for objects"
+
+ case $output in
+ *.lo)
+ test -n "$objs$old_deplibs" && \
+ func_fatal_error "cannot build library object '$output' from non-libtool objects"
+
+ libobj=$output
+ func_lo2o "$libobj"
+ obj=$func_lo2o_result
+ ;;
+ *)
+ libobj=
+ obj=$output
+ ;;
+ esac
+
+ # Delete the old objects.
+ $opt_dry_run || $RM $obj $libobj
+
+ # Objects from convenience libraries. This assumes
+ # single-version convenience libraries. Whenever we create
+ # different ones for PIC/non-PIC, this we'll have to duplicate
+ # the extraction.
+ reload_conv_objs=
+ gentop=
+ # if reload_cmds runs $LD directly, get rid of -Wl from
+ # whole_archive_flag_spec and hope we can get by with turning comma
+ # into space.
+ case $reload_cmds in
+ *\$LD[\ \$]*) wl= ;;
+ esac
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
+ test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
+ reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
+ else
+ gentop=$output_objdir/${obj}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ reload_conv_objs="$reload_objs $func_extract_archives_result"
+ fi
+ fi
+
+ # If we're not building shared, we need to use non_pic_objs
+ test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
+
+ # Create the old-style object.
+ reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
+
+ output=$obj
+ func_execute_cmds "$reload_cmds" 'exit $?'
+
+ # Exit if we aren't doing a library object file.
+ if test -z "$libobj"; then
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ test yes = "$build_libtool_libs" || {
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ # Create an invalid libtool object if no PIC, so that we don't
+ # accidentally link it into a program.
+ # $show "echo timestamp > $libobj"
+ # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
+ exit $EXIT_SUCCESS
+ }
+
+ if test -n "$pic_flag" || test default != "$pic_mode"; then
+ # Only do commands if we really have different PIC objects.
+ reload_objs="$libobjs $reload_conv_objs"
+ output=$libobj
+ func_execute_cmds "$reload_cmds" 'exit $?'
+ fi
+
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ ;;
+
+ prog)
+ case $host in
+ *cygwin*) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result.exe;;
+ esac
+ test -n "$vinfo" && \
+ func_warning "'-version-info' is ignored for programs"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for programs"
+
+ $preload \
+ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
+ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ case $host in
+ *-*-darwin*)
+ # Don't allow lazy linking, it breaks C++ global constructors
+ # But is supposedly fixed on 10.4 or later (yay!).
+ if test CXX = "$tagname"; then
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
+ 10.[0123])
+ func_append compile_command " $wl-bind_at_load"
+ func_append finalize_command " $wl-bind_at_load"
+ ;;
+ esac
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $compile_deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $compile_deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ compile_deplibs=$new_libs
+
+
+ func_append compile_command " $compile_deplibs"
+ func_append finalize_command " $finalize_deplibs"
+
+ if test -n "$rpath$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ for libdir in $rpath $xrpath; do
+ # This is the magic to use -rpath.
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ fi
+
+ # Now hardcode the library paths
+ rpath=
+ hardcode_libdirs=
+ for libdir in $compile_rpath $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append perm_rpath " $libdir" ;;
+ esac
+ fi
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$libdir:"*) ;;
+ ::) dllsearchpath=$libdir;;
+ *) func_append dllsearchpath ":$libdir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ compile_rpath=$rpath
+
+ rpath=
+ hardcode_libdirs=
+ for libdir in $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$finalize_perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ finalize_rpath=$rpath
+
+ if test -n "$libobjs" && test yes = "$build_old_libs"; then
+ # Transform all the library objects into standard objects.
+ compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ fi
+
+ func_generate_dlsyms "$outputname" "@PROGRAM@" false
+
+ # template prelinking step
+ if test -n "$prelink_cmds"; then
+ func_execute_cmds "$prelink_cmds" 'exit $?'
+ fi
+
+ wrappers_required=:
+ case $host in
+ *cegcc* | *mingw32ce*)
+ # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+ wrappers_required=false
+ ;;
+ *cygwin* | *mingw* )
+ test yes = "$build_libtool_libs" || wrappers_required=false
+ ;;
+ *)
+ if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
+ wrappers_required=false
+ fi
+ ;;
+ esac
+ $wrappers_required || {
+ # Replace the output file specification.
+ compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ link_command=$compile_command$compile_rpath
+
+ # We have no uninstalled library dependencies, so finalize right now.
+ exit_status=0
+ func_show_eval "$link_command" 'exit_status=$?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Delete the generated files.
+ if test -f "$output_objdir/${outputname}S.$objext"; then
+ func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
+ fi
+
+ exit $exit_status
+ }
+
+ if test -n "$compile_shlibpath$finalize_shlibpath"; then
+ compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
+ fi
+ if test -n "$finalize_shlibpath"; then
+ finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
+ fi
+
+ compile_var=
+ finalize_var=
+ if test -n "$runpath_var"; then
+ if test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ if test -n "$finalize_perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $finalize_perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ fi
+
+ if test yes = "$no_install"; then
+ # We don't need to create a wrapper script.
+ link_command=$compile_var$compile_command$compile_rpath
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ # Delete the old output file.
+ $opt_dry_run || $RM $output
+ # Link the executable and exit
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ case $hardcode_action,$fast_install in
+ relink,*)
+ # Fast installation is not supported
+ link_command=$compile_var$compile_command$compile_rpath
+ relink_command=$finalize_var$finalize_command$finalize_rpath
+
+ func_warning "this platform does not like uninstalled shared libraries"
+ func_warning "'$output' will be relinked during installation"
+ ;;
+ *,yes)
+ link_command=$finalize_var$compile_command$finalize_rpath
+ relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
+ ;;
+ *,no)
+ link_command=$compile_var$compile_command$compile_rpath
+ relink_command=$finalize_var$finalize_command$finalize_rpath
+ ;;
+ *,needless)
+ link_command=$finalize_var$compile_command$finalize_rpath
+ relink_command=
+ ;;
+ esac
+
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+
+ # Delete the old output files.
+ $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
+
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output_objdir/$outputname"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Now create the wrapper script.
+ func_verbose "creating $output"
+
+ # Quote the relink command for shipping.
+ if test -n "$relink_command"; then
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ relink_command="(cd `pwd`; $relink_command)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ fi
+
+ # Only actually do things if not in dry run mode.
+ $opt_dry_run || {
+ # win32 will think the script is a binary if it has
+ # a .exe suffix, so we strip it off here.
+ case $output in
+ *.exe) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result ;;
+ esac
+ # test for cygwin because mv fails w/o .exe extensions
+ case $host in
+ *cygwin*)
+ exeext=.exe
+ func_stripname '' '.exe' "$outputname"
+ outputname=$func_stripname_result ;;
+ *) exeext= ;;
+ esac
+ case $host in
+ *cygwin* | *mingw* )
+ func_dirname_and_basename "$output" "" "."
+ output_name=$func_basename_result
+ output_path=$func_dirname_result
+ cwrappersource=$output_path/$objdir/lt-$output_name.c
+ cwrapper=$output_path/$output_name.exe
+ $RM $cwrappersource $cwrapper
+ trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_cwrapperexe_src > $cwrappersource
+
+ # The wrapper executable is built using the $host compiler,
+ # because it contains $host paths and files. If cross-
+ # compiling, it, like the target executable, must be
+ # executed on the $host or under an emulation environment.
+ $opt_dry_run || {
+ $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
+ $STRIP $cwrapper
+ }
+
+ # Now, create the wrapper script for func_source use:
+ func_ltwrapper_scriptname $cwrapper
+ $RM $func_ltwrapper_scriptname_result
+ trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
+ $opt_dry_run || {
+ # note: this script will not be executed, so do not chmod.
+ if test "x$build" = "x$host"; then
+ $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
+ else
+ func_emit_wrapper no > $func_ltwrapper_scriptname_result
+ fi
+ }
+ ;;
+ * )
+ $RM $output
+ trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_wrapper no > $output
+ chmod +x $output
+ ;;
+ esac
+ }
+ exit $EXIT_SUCCESS
+ ;;
+ esac
+
+ # See if we need to build an old-fashioned archive.
+ for oldlib in $oldlibs; do
+
+ case $build_libtool_libs in
+ convenience)
+ oldobjs="$libobjs_save $symfileobj"
+ addlibs=$convenience
+ build_libtool_libs=no
+ ;;
+ module)
+ oldobjs=$libobjs_save
+ addlibs=$old_convenience
+ build_libtool_libs=no
+ ;;
+ *)
+ oldobjs="$old_deplibs $non_pic_objects"
+ $preload && test -f "$symfileobj" \
+ && func_append oldobjs " $symfileobj"
+ addlibs=$old_convenience
+ ;;
+ esac
+
+ if test -n "$addlibs"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $addlibs
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # Do each command in the archive commands.
+ if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
+ cmds=$old_archive_from_new_cmds
+ else
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # POSIX demands no paths to be encoded in archives. We have
+ # to avoid creating archives with duplicate basenames if we
+ # might have to extract them afterwards, e.g., when creating a
+ # static archive out of a convenience library, or when linking
+ # the entirety of a libtool archive into another (currently
+ # not supported by libtool).
+ if (for obj in $oldobjs
+ do
+ func_basename "$obj"
+ $ECHO "$func_basename_result"
+ done | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ echo "copying selected object files to avoid basename conflicts..."
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+ func_mkdir_p "$gentop"
+ save_oldobjs=$oldobjs
+ oldobjs=
+ counter=1
+ for obj in $save_oldobjs
+ do
+ func_basename "$obj"
+ objbase=$func_basename_result
+ case " $oldobjs " in
+ " ") oldobjs=$obj ;;
+ *[\ /]"$objbase "*)
+ while :; do
+ # Make sure we don't pick an alternate name that also
+ # overlaps.
+ newobj=lt$counter-$objbase
+ func_arith $counter + 1
+ counter=$func_arith_result
+ case " $oldobjs " in
+ *[\ /]"$newobj "*) ;;
+ *) if test ! -f "$gentop/$newobj"; then break; fi ;;
+ esac
+ done
+ func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
+ func_append oldobjs " $gentop/$newobj"
+ ;;
+ *) func_append oldobjs " $obj" ;;
+ esac
+ done
+ fi
+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+ tool_oldlib=$func_to_tool_file_result
+ eval cmds=\"$old_archive_cmds\"
+
+ func_len " $cmds"
+ len=$func_len_result
+ if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ cmds=$old_archive_cmds
+ elif test -n "$archiver_list_spec"; then
+ func_verbose "using command file archive linking..."
+ for obj in $oldobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > $output_objdir/$libname.libcmd
+ func_to_tool_file "$output_objdir/$libname.libcmd"
+ oldobjs=" $archiver_list_spec$func_to_tool_file_result"
+ cmds=$old_archive_cmds
+ else
+ # the command line is too long to link in one step, link in parts
+ func_verbose "using piecewise archive linking..."
+ save_RANLIB=$RANLIB
+ RANLIB=:
+ objlist=
+ concat_cmds=
+ save_oldobjs=$oldobjs
+ oldobjs=
+ # Is there a better way of finding the last object in the list?
+ for obj in $save_oldobjs
+ do
+ last_oldobj=$obj
+ done
+ eval test_cmds=\"$old_archive_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+ for obj in $save_oldobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ func_append objlist " $obj"
+ if test "$len" -lt "$max_cmd_len"; then
+ :
+ else
+ # the above command should be used before it gets too long
+ oldobjs=$objlist
+ if test "$obj" = "$last_oldobj"; then
+ RANLIB=$save_RANLIB
+ fi
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
+ objlist=
+ len=$len0
+ fi
+ done
+ RANLIB=$save_RANLIB
+ oldobjs=$objlist
+ if test -z "$oldobjs"; then
+ eval cmds=\"\$concat_cmds\"
+ else
+ eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
+ fi
+ fi
+ fi
+ func_execute_cmds "$cmds" 'exit $?'
+ done
+
+ test -n "$generated" && \
+ func_show_eval "${RM}r$generated"
+
+ # Now create the libtool archive.
+ case $output in
+ *.la)
+ old_library=
+ test yes = "$build_old_libs" && old_library=$libname.$libext
+ func_verbose "creating $output"
+
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ # Quote the link command for shipping.
+ relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ if test yes = "$hardcode_automatic"; then
+ relink_command=
+ fi
+
+ # Only create the output if not a dry run.
+ $opt_dry_run || {
+ for installed in no yes; do
+ if test yes = "$installed"; then
+ if test -z "$install_libdir"; then
+ break
+ fi
+ output=$output_objdir/${outputname}i
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ *.la)
+ func_basename "$deplib"
+ name=$func_basename_result
+ func_resolve_sysroot "$deplib"
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
+ test -z "$libdir" && \
+ func_fatal_error "'$deplib' is not a valid libtool archive"
+ func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ -L*)
+ func_stripname -L '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -L$func_replace_sysroot_result"
+ ;;
+ -R*)
+ func_stripname -R '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -R$func_replace_sysroot_result"
+ ;;
+ *) func_append newdependency_libs " $deplib" ;;
+ esac
+ done
+ dependency_libs=$newdependency_libs
+ newdlfiles=
+
+ for lib in $dlfiles; do
+ case $lib in
+ *.la)
+ func_basename "$lib"
+ name=$func_basename_result
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "'$lib' is not a valid libtool archive"
+ func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ *) func_append newdlfiles " $lib" ;;
+ esac
+ done
+ dlfiles=$newdlfiles
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ *.la)
+ # Only pass preopened files to the pseudo-archive (for
+ # eventual linking with the app. that links it) if we
+ # didn't already link the preopened objects directly into
+ # the library:
+ func_basename "$lib"
+ name=$func_basename_result
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "'$lib' is not a valid libtool archive"
+ func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ esac
+ done
+ dlprefiles=$newdlprefiles
+ else
+ newdlfiles=
+ for lib in $dlfiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlfiles " $abs"
+ done
+ dlfiles=$newdlfiles
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlprefiles " $abs"
+ done
+ dlprefiles=$newdlprefiles
+ fi
+ $RM $output
+ # place dlname in correct position for cygwin
+ # In fact, it would be nice if we could use this code for all target
+ # systems that can't hard-code library paths into their executables
+ # and that have no shared library path variable independent of PATH,
+ # but it turns out we can't easily determine that from inspecting
+ # libtool variables, so we have to hard-code the OSs to which it
+ # applies here; at the moment, that means platforms that use the PE
+ # object format with DLL files. See the long comment at the top of
+ # tests/bindir.at for full details.
+ tdlname=$dlname
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
+ # If a -bindir argument was supplied, place the dll there.
+ if test -n "$bindir"; then
+ func_relative_path "$install_libdir" "$bindir"
+ tdlname=$func_relative_path_result/$dlname
+ else
+ # Otherwise fall back on heuristic.
+ tdlname=../bin/$dlname
+ fi
+ ;;
+ esac
+ $ECHO > $output "\
+# $outputname - a libtool library file
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='$tdlname'
+
+# Names of this library.
+library_names='$library_names'
+
+# The name of the static archive.
+old_library='$old_library'
+
+# Linker flags that cannot go in dependency_libs.
+inherited_linker_flags='$new_inherited_linker_flags'
+
+# Libraries that this one depends upon.
+dependency_libs='$dependency_libs'
+
+# Names of additional weak libraries provided by this library
+weak_library_names='$weak_libs'
+
+# Version information for $libname.
+current=$current
+age=$age
+revision=$revision
+
+# Is this an already installed library?
+installed=$installed
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=$module
+
+# Files to dlopen/dlpreopen
+dlopen='$dlfiles'
+dlpreopen='$dlprefiles'
+
+# Directory that this library needs to be installed in:
+libdir='$install_libdir'"
+ if test no,yes = "$installed,$need_relink"; then
+ $ECHO >> $output "\
+relink_command=\"$relink_command\""
+ fi
+ done
+ }
+
+ # Do a symbolic link so that the libtool archive can be found in
+ # LD_LIBRARY_PATH before the program is installed.
+ func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
+ ;;
+ esac
+ exit $EXIT_SUCCESS
+}
+
+if test link = "$opt_mode" || test relink = "$opt_mode"; then
+ func_mode_link ${1+"$@"}
+fi
+
+
+# func_mode_uninstall arg...
+func_mode_uninstall ()
+{
+ $debug_cmd
+
+ RM=$nonopt
+ files=
+ rmforce=false
+ exit_status=0
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic=$magic
+
+ for arg
+ do
+ case $arg in
+ -f) func_append RM " $arg"; rmforce=: ;;
+ -*) func_append RM " $arg" ;;
+ *) func_append files " $arg" ;;
+ esac
+ done
+
+ test -z "$RM" && \
+ func_fatal_help "you must specify an RM program"
+
+ rmdirs=
+
+ for file in $files; do
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+ if test . = "$dir"; then
+ odir=$objdir
+ else
+ odir=$dir/$objdir
+ fi
+ func_basename "$file"
+ name=$func_basename_result
+ test uninstall = "$opt_mode" && odir=$dir
+
+ # Remember odir for removal later, being careful to avoid duplicates
+ if test clean = "$opt_mode"; then
+ case " $rmdirs " in
+ *" $odir "*) ;;
+ *) func_append rmdirs " $odir" ;;
+ esac
+ fi
+
+ # Don't error if the file doesn't exist and rm -f was used.
+ if { test -L "$file"; } >/dev/null 2>&1 ||
+ { test -h "$file"; } >/dev/null 2>&1 ||
+ test -f "$file"; then
+ :
+ elif test -d "$file"; then
+ exit_status=1
+ continue
+ elif $rmforce; then
+ continue
+ fi
+
+ rmfiles=$file
+
+ case $name in
+ *.la)
+ # Possibly a libtool archive, so verify it.
+ if func_lalib_p "$file"; then
+ func_source $dir/$name
+
+ # Delete the libtool libraries and symlinks.
+ for n in $library_names; do
+ func_append rmfiles " $odir/$n"
+ done
+ test -n "$old_library" && func_append rmfiles " $odir/$old_library"
+
+ case $opt_mode in
+ clean)
+ case " $library_names " in
+ *" $dlname "*) ;;
+ *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
+ esac
+ test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
+ ;;
+ uninstall)
+ if test -n "$library_names"; then
+ # Do each command in the postuninstall commands.
+ func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
+ fi
+
+ if test -n "$old_library"; then
+ # Do each command in the old_postuninstall commands.
+ func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
+ fi
+ # FIXME: should reinstall the best remaining shared library.
+ ;;
+ esac
+ fi
+ ;;
+
+ *.lo)
+ # Possibly a libtool object, so verify it.
+ if func_lalib_p "$file"; then
+
+ # Read the .lo file
+ func_source $dir/$name
+
+ # Add PIC object to the list of files to remove.
+ if test -n "$pic_object" && test none != "$pic_object"; then
+ func_append rmfiles " $dir/$pic_object"
+ fi
+
+ # Add non-PIC object to the list of files to remove.
+ if test -n "$non_pic_object" && test none != "$non_pic_object"; then
+ func_append rmfiles " $dir/$non_pic_object"
+ fi
+ fi
+ ;;
+
+ *)
+ if test clean = "$opt_mode"; then
+ noexename=$name
+ case $file in
+ *.exe)
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ func_stripname '' '.exe' "$name"
+ noexename=$func_stripname_result
+ # $file with .exe has already been added to rmfiles,
+ # add $file without .exe
+ func_append rmfiles " $file"
+ ;;
+ esac
+ # Do a test to see if this is a libtool program.
+ if func_ltwrapper_p "$file"; then
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ relink_command=
+ func_source $func_ltwrapper_scriptname_result
+ func_append rmfiles " $func_ltwrapper_scriptname_result"
+ else
+ relink_command=
+ func_source $dir/$noexename
+ fi
+
+ # note $name still contains .exe if it was in $file originally
+ # as does the version of $file that was added into $rmfiles
+ func_append rmfiles " $odir/$name $odir/${name}S.$objext"
+ if test yes = "$fast_install" && test -n "$relink_command"; then
+ func_append rmfiles " $odir/lt-$name"
+ fi
+ if test "X$noexename" != "X$name"; then
+ func_append rmfiles " $odir/lt-$noexename.c"
+ fi
+ fi
+ fi
+ ;;
+ esac
+ func_show_eval "$RM $rmfiles" 'exit_status=1'
+ done
+
+ # Try to remove the $objdir's in the directories where we deleted files
+ for dir in $rmdirs; do
+ if test -d "$dir"; then
+ func_show_eval "rmdir $dir >/dev/null 2>&1"
+ fi
+ done
+
+ exit $exit_status
+}
+
+if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
+ func_mode_uninstall ${1+"$@"}
+fi
+
+test -z "$opt_mode" && {
+ help=$generic_help
+ func_fatal_help "you must specify a MODE"
+}
+
+test -z "$exec_cmd" && \
+ func_fatal_help "invalid operation mode '$opt_mode'"
+
+if test -n "$exec_cmd"; then
+ eval exec "$exec_cmd"
+ exit $EXIT_FAILURE
+fi
+
+exit $exit_status
+
+
+# The TAGs below are defined such that we never get into a situation
+# where we disable both kinds of libraries. Given conflicting
+# choices, we go for a static library, that is the most portable,
+# since we can't tell whether shared libraries were disabled because
+# the user asked for that or because the platform doesn't support
+# them. This is particularly important on AIX, because we don't
+# support having both static and shared libraries enabled at the same
+# time on that platform, so we default to a shared-only configuration.
+# If a disable-shared tag is given, we'll fallback to a static-only
+# configuration. But we'll never go from static-only to shared-only.
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
+build_libtool_libs=no
+build_old_libs=yes
+# ### END LIBTOOL TAG CONFIG: disable-shared
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
+# ### END LIBTOOL TAG CONFIG: disable-static
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation:2
+# End:
+
+# ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+# The linker used to build libraries.
+LD="/usr/bin/ld -m elf_x86_64"
+
+# How to create reloadable object files.
+reload_flag=" -r"
+reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
+
+# Commands used to build an old-style archive.
+old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$tool_oldlib"
+
+# A language specific compiler.
+CC="g++"
+
+# Is the compiler the GNU compiler?
+with_gcc=yes
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=" -fno-builtin"
+
+# Additional compiler flags for building library objects.
+pic_flag=" -fPIC -DPIC"
+
+# How to pass a linker flag through the compiler.
+wl="-Wl,"
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag="-static"
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o="yes"
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=no
+
+# Whether or not to disallow shared libs when runtime libs are static.
+allow_libtool_libs_with_static_runtimes=no
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec="\$wl--export-dynamic"
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec="\$wl--whole-archive\$convenience \$wl--no-whole-archive"
+
+# Whether the compiler copes with passing no objects directly.
+compiler_needs_object="no"
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=""
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=""
+
+# Commands used to build a shared archive.
+archive_cmds="\$CC \$pic_flag -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \$wl-soname \$wl\$soname -o \$lib"
+archive_expsym_cmds="\$CC \$pic_flag -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \$wl-soname \$wl\$soname \$wl-retain-symbols-file \$wl\$export_symbols -o \$lib"
+
+# Commands used to build a loadable module if different from building
+# a shared archive.
+module_cmds=""
+module_expsym_cmds=""
+
+# Whether we are building with GNU ld or not.
+with_gnu_ld="yes"
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=""
+
+# Flag that enforces no undefined symbols.
+no_undefined_flag=""
+
+# Flag to hardcode $libdir into a binary during linking.
+# This must work even if $libdir does not exist
+hardcode_libdir_flag_spec="\$wl-rpath \$wl\$libdir"
+
+# Whether we need a single "-rpath" flag with a separated argument.
+hardcode_libdir_separator=""
+
+# Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+# DIR into the resulting binary.
+hardcode_direct=no
+
+# Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+# DIR into the resulting binary and the resulting library dependency is
+# "absolute",i.e impossible to change by setting $shlibpath_var if the
+# library is relocated.
+hardcode_direct_absolute=no
+
+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+# into the resulting binary.
+hardcode_minus_L=no
+
+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+# into the resulting binary.
+hardcode_shlibpath_var=unsupported
+
+# Set to "yes" if building a shared library automatically hardcodes DIR
+# into the library and all subsequent libraries and executables linked
+# against it.
+hardcode_automatic=no
+
+# Set to yes if linker adds runtime paths of dependent libraries
+# to runtime path list.
+inherit_rpath=no
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=unknown
+
+# Set to "yes" if exported symbols are required.
+always_export_symbols=no
+
+# The commands to list exported symbols.
+export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
+
+# Symbols that must always be exported.
+include_expsyms=""
+
+# Commands necessary for linking programs (against libraries) with templates.
+prelink_cmds=""
+
+# Commands necessary for finishing linking programs.
+postlink_cmds=""
+
+# Specify filename containing input files.
+file_list_spec=""
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=immediate
+
+# The directories searched by this compiler when creating a shared library.
+compiler_lib_search_dirs="/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../.."
+
+# Dependencies to place before and after the objects being linked to
+# create a shared library.
+predep_objects="/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/crtbeginS.o"
+postdep_objects="/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64/crtn.o"
+predeps=""
+postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s"
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path="-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../.."
+
+# ### END LIBTOOL TAG CONFIG: CXX
diff --git a/lifecycle.dia b/lifecycle.dia
new file mode 100644
index 0000000..e69de29
diff --git a/linking.dia b/linking.dia
new file mode 100644
index 0000000..e69de29
diff --git a/ltmain.sh b/ltmain.sh
new file mode 100644
index 0000000..5eca4ae
--- /dev/null
+++ b/ltmain.sh
@@ -0,0 +1,11088 @@
+#! /bin/sh
+## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
+## by inline-source v2014-01-03.01
+
+# libtool (GNU libtool) 2.4.4
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996
+
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License,
+# if you distribute this file as part of a program or library that
+# is built using GNU Libtool, you may include this file under the
+# same distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+PROGRAM=libtool
+PACKAGE=libtool
+VERSION=2.4.4
+package_revision=2.4.4
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# Run './libtool --help' for help with using this script from the
+# command line.
+
+
+## ------------------------------- ##
+## User overridable command paths. ##
+## ------------------------------- ##
+
+# After configure completes, it has a better idea of some of the
+# shell tools we need than the defaults used by the functions shared
+# with bootstrap, so set those here where they can still be over-
+# ridden by the user, but otherwise take precedence.
+
+: ${AUTOCONF="autoconf"}
+: ${AUTOMAKE="automake"}
+
+
+## -------------------------- ##
+## Source external libraries. ##
+## -------------------------- ##
+
+# Much of our low-level functionality needs to be sourced from external
+# libraries, which are installed to $pkgauxdir.
+
+# Set a version string for this script.
+scriptversion=2014-01-03.01; # UTC
+
+# General shell script boiler plate, and helper functions.
+# Written by Gary V. Vaughan, 2004
+
+# Copyright (C) 2004-2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# As a special exception to the GNU General Public License, if you distribute
+# this file as part of a program or library that is built using GNU Libtool,
+# you may include this file under the same distribution terms that you use
+# for the rest of that program.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Please report bugs or propose patches to gary at gnu.org.
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# Evaluate this file near the top of your script to gain access to
+# the functions and variables defined here:
+#
+# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
+#
+# If you need to override any of the default environment variable
+# settings, do that before evaluating this file.
+
+
+## -------------------- ##
+## Shell normalisation. ##
+## -------------------- ##
+
+# Some shells need a little help to be as Bourne compatible as possible.
+# Before doing anything else, make sure all that help has been provided!
+
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
+fi
+
+# NLS nuisances: We save the old values in case they are required later.
+_G_user_locale=
+_G_safe_locale=
+for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+do
+ eval "if test set = \"\${$_G_var+set}\"; then
+ save_$_G_var=\$$_G_var
+ $_G_var=C
+ export $_G_var
+ _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
+ _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
+ fi"
+done
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Make sure IFS has a sensible default
+sp=' '
+nl='
+'
+IFS="$sp $nl"
+
+# There are apparently some retarded systems that use ';' as a PATH separator!
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+
+## ------------------------- ##
+## Locate command utilities. ##
+## ------------------------- ##
+
+
+# func_executable_p FILE
+# ----------------------
+# Check that FILE is an executable regular file.
+func_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+}
+
+
+# func_path_progs PROGS_LIST CHECK_FUNC [PATH]
+# --------------------------------------------
+# Search for either a program that responds to --version with output
+# containing "GNU", or else returned by CHECK_FUNC otherwise, by
+# trying all the directories in PATH with each of the elements of
+# PROGS_LIST.
+#
+# CHECK_FUNC should accept the path to a candidate program, and
+# set $func_check_prog_result if it truncates its output less than
+# $_G_path_prog_max characters.
+func_path_progs ()
+{
+ _G_progs_list=$1
+ _G_check_func=$2
+ _G_PATH=${3-"$PATH"}
+
+ _G_path_prog_max=0
+ _G_path_prog_found=false
+ _G_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for _G_dir in $_G_PATH; do
+ IFS=$_G_save_IFS
+ test -z "$_G_dir" && _G_dir=.
+ for _G_prog_name in $_G_progs_list; do
+ for _exeext in '' .EXE; do
+ _G_path_prog=$_G_dir/$_G_prog_name$_exeext
+ func_executable_p "$_G_path_prog" || continue
+ case `"$_G_path_prog" --version 2>&1` in
+ *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
+ *) $_G_check_func $_G_path_prog
+ func_path_progs_result=$func_check_prog_result
+ ;;
+ esac
+ $_G_path_prog_found && break 3
+ done
+ done
+ done
+ IFS=$_G_save_IFS
+ test -z "$func_path_progs_result" && {
+ echo "no acceptable sed could be found in \$PATH" >&2
+ exit 1
+ }
+}
+
+
+# We want to be able to use the functions in this file before configure
+# has figured out where the best binaries are kept, which means we have
+# to search for them ourselves - except when the results are already set
+# where we skip the searches.
+
+# Unless the user overrides by setting SED, search the path for either GNU
+# sed, or the sed that truncates its output the least.
+test -z "$SED" && {
+ _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for _G_i in 1 2 3 4 5 6 7; do
+ _G_sed_script=$_G_sed_script$nl$_G_sed_script
+ done
+ echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
+ _G_sed_script=
+
+ func_check_prog_sed ()
+ {
+ _G_path_prog=$1
+
+ _G_count=0
+ printf 0123456789 >conftest.in
+ while :
+ do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo '' >> conftest.nl
+ "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
+ diff conftest.out conftest.nl >/dev/null 2>&1 || break
+ _G_count=`expr $_G_count + 1`
+ if test "$_G_count" -gt "$_G_path_prog_max"; then
+ # Best one so far, save it but keep looking for a better one
+ func_check_prog_result=$_G_path_prog
+ _G_path_prog_max=$_G_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test 10 -lt "$_G_count" && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out
+ }
+
+ func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
+ rm -f conftest.sed
+ SED=$func_path_progs_result
+}
+
+
+# Unless the user overrides by setting GREP, search the path for either GNU
+# grep, or the grep that truncates its output the least.
+test -z "$GREP" && {
+ func_check_prog_grep ()
+ {
+ _G_path_prog=$1
+
+ _G_count=0
+ _G_path_prog_max=0
+ printf 0123456789 >conftest.in
+ while :
+ do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo 'GREP' >> conftest.nl
+ "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
+ diff conftest.out conftest.nl >/dev/null 2>&1 || break
+ _G_count=`expr $_G_count + 1`
+ if test "$_G_count" -gt "$_G_path_prog_max"; then
+ # Best one so far, save it but keep looking for a better one
+ func_check_prog_result=$_G_path_prog
+ _G_path_prog_max=$_G_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test 10 -lt "$_G_count" && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out
+ }
+
+ func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
+ GREP=$func_path_progs_result
+}
+
+
+## ------------------------------- ##
+## User overridable command paths. ##
+## ------------------------------- ##
+
+# All uppercase variable names are used for environment variables. These
+# variables can be overridden by the user before calling a script that
+# uses them if a suitable command of that name is not already available
+# in the command search PATH.
+
+: ${CP="cp -f"}
+: ${ECHO="printf %s\n"}
+: ${EGREP="$GREP -E"}
+: ${FGREP="$GREP -F"}
+: ${LN_S="ln -s"}
+: ${MAKE="make"}
+: ${MKDIR="mkdir"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
+
+
+## -------------------- ##
+## Useful sed snippets. ##
+## -------------------- ##
+
+sed_dirname='s|/[^/]*$||'
+sed_basename='s|^.*/||'
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
+
+# Same as above, but do not quote variable references.
+sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
+
+# Sed substitution that turns a string into a regex matching for the
+# string literally.
+sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
+
+# Sed substitution that converts a w32 file name or path
+# that contains forward slashes, into one that contains
+# (escaped) backslashes. A very naive implementation.
+sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
+
+# Re-'\' parameter expansions in output of sed_double_quote_subst that
+# were '\'-ed in input to the same. If an odd number of '\' preceded a
+# '$' in input to sed_double_quote_subst, that '$' was protected from
+# expansion. Since each input '\' is now two '\'s, look for any number
+# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'.
+_G_bs='\\'
+_G_bs2='\\\\'
+_G_bs4='\\\\\\\\'
+_G_dollar='\$'
+sed_double_backslash="\
+ s/$_G_bs4/&\\
+/g
+ s/^$_G_bs2$_G_dollar/$_G_bs&/
+ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
+ s/\n//g"
+
+
+## ----------------- ##
+## Global variables. ##
+## ----------------- ##
+
+# Except for the global variables explicitly listed below, the following
+# functions in the '^func_' namespace, and the '^require_' namespace
+# variables initialised in the 'Resource management' section, sourcing
+# this file will not pollute your global namespace with anything
+# else. There's no portable way to scope variables in Bourne shell
+# though, so actually running these functions will sometimes place
+# results into a variable named after the function, and often use
+# temporary variables in the '^_G_' namespace. If you are careful to
+# avoid using those namespaces casually in your sourcing script, things
+# should continue to work as you expect. And, of course, you can freely
+# overwrite any of the functions or variables defined here before
+# calling anything to customize them.
+
+EXIT_SUCCESS=0
+EXIT_FAILURE=1
+EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
+EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
+
+# Allow overriding, eg assuming that you follow the convention of
+# putting '$debug_cmd' at the start of all your functions, you can get
+# bash to show function call trace with:
+#
+# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
+debug_cmd=${debug_cmd-":"}
+exit_cmd=:
+
+# By convention, finish your script with:
+#
+# exit $exit_status
+#
+# so that you can set exit_status to non-zero if you want to indicate
+# something went wrong during execution without actually bailing out at
+# the point of failure.
+exit_status=$EXIT_SUCCESS
+
+# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
+# is ksh but when the shell is invoked as "sh" and the current value of
+# the _XPG environment variable is not equal to 1 (one), the special
+# positional parameter $0, within a function call, is the name of the
+# function.
+progpath=$0
+
+# The name of this program.
+progname=`$ECHO "$progpath" |$SED "$sed_basename"`
+
+# Make sure we have an absolute progpath for reexecution:
+case $progpath in
+ [\\/]*|[A-Za-z]:\\*) ;;
+ *[\\/]*)
+ progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
+ progdir=`cd "$progdir" && pwd`
+ progpath=$progdir/$progname
+ ;;
+ *)
+ _G_IFS=$IFS
+ IFS=${PATH_SEPARATOR-:}
+ for progdir in $PATH; do
+ IFS=$_G_IFS
+ test -x "$progdir/$progname" && break
+ done
+ IFS=$_G_IFS
+ test -n "$progdir" || progdir=`pwd`
+ progpath=$progdir/$progname
+ ;;
+esac
+
+
+## ----------------- ##
+## Standard options. ##
+## ----------------- ##
+
+# The following options affect the operation of the functions defined
+# below, and should be set appropriately depending on run-time para-
+# meters passed on the command line.
+
+opt_dry_run=false
+opt_quiet=false
+opt_verbose=false
+
+# Categories 'all' and 'none' are always available. Append any others
+# you will pass as the first argument to func_warning from your own
+# code.
+warning_categories=
+
+# By default, display warnings according to 'opt_warning_types'. Set
+# 'warning_func' to ':' to elide all warnings, or func_fatal_error to
+# treat the next displayed warning as a fatal error.
+warning_func=func_warn_and_continue
+
+# Set to 'all' to display all warnings, 'none' to suppress all
+# warnings, or a space delimited list of some subset of
+# 'warning_categories' to display only the listed warnings.
+opt_warning_types=all
+
+
+## -------------------- ##
+## Resource management. ##
+## -------------------- ##
+
+# This section contains definitions for functions that each ensure a
+# particular resource (a file, or a non-empty configuration variable for
+# example) is available, and if appropriate to extract default values
+# from pertinent package files. Call them using their associated
+# 'require_*' variable to ensure that they are executed, at most, once.
+#
+# It's entirely deliberate that calling these functions can set
+# variables that don't obey the namespace limitations obeyed by the rest
+# of this file, in order that that they be as useful as possible to
+# callers.
+
+
+# require_term_colors
+# -------------------
+# Allow display of bold text on terminals that support it.
+require_term_colors=func_require_term_colors
+func_require_term_colors ()
+{
+ $debug_cmd
+
+ test -t 1 && {
+ # COLORTERM and USE_ANSI_COLORS environment variables take
+ # precedence, because most terminfo databases neglect to describe
+ # whether color sequences are supported.
+ test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
+
+ if test 1 = "$USE_ANSI_COLORS"; then
+ # Standard ANSI escape sequences
+ tc_reset='[0m'
+ tc_bold='[1m'; tc_standout='[7m'
+ tc_red='[31m'; tc_green='[32m'
+ tc_blue='[34m'; tc_cyan='[36m'
+ else
+ # Otherwise trust the terminfo database after all.
+ test -n "`tput sgr0 2>/dev/null`" && {
+ tc_reset=`tput sgr0`
+ test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
+ tc_standout=$tc_bold
+ test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
+ test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
+ test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
+ test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
+ test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
+ }
+ fi
+ }
+
+ require_term_colors=:
+}
+
+
+## ----------------- ##
+## Function library. ##
+## ----------------- ##
+
+# This section contains a variety of useful functions to call in your
+# scripts. Take note of the portable wrappers for features provided by
+# some modern shells, which will fall back to slower equivalents on
+# less featureful shells.
+
+
+# func_append VAR VALUE
+# ---------------------
+# Append VALUE onto the existing contents of VAR.
+
+ # We should try to minimise forks, especially on Windows where they are
+ # unreasonably slow, so skip the feature probes when bash or zsh are
+ # being used:
+ if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
+ : ${_G_HAVE_ARITH_OP="yes"}
+ : ${_G_HAVE_XSI_OPS="yes"}
+ # The += operator was introduced in bash 3.1
+ case $BASH_VERSION in
+ [12].* | 3.0 | 3.0*) ;;
+ *)
+ : ${_G_HAVE_PLUSEQ_OP="yes"}
+ ;;
+ esac
+ fi
+
+ # _G_HAVE_PLUSEQ_OP
+ # Can be empty, in which case the shell is probed, "yes" if += is
+ # useable or anything else if it does not work.
+ test -z "$_G_HAVE_PLUSEQ_OP" \
+ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
+ && _G_HAVE_PLUSEQ_OP=yes
+
+if test yes = "$_G_HAVE_PLUSEQ_OP"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_append ()
+ {
+ $debug_cmd
+
+ eval "$1+=\$2"
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_append ()
+ {
+ $debug_cmd
+
+ eval "$1=\$$1\$2"
+ }
+fi
+
+
+# func_append_quoted VAR VALUE
+# ----------------------------
+# Quote VALUE and append to the end of shell variable VAR, separated
+# by a space.
+if test yes = "$_G_HAVE_PLUSEQ_OP"; then
+ eval 'func_append_quoted ()
+ {
+ $debug_cmd
+
+ func_quote_for_eval "$2"
+ eval "$1+=\\ \$func_quote_for_eval_result"
+ }'
+else
+ func_append_quoted ()
+ {
+ $debug_cmd
+
+ func_quote_for_eval "$2"
+ eval "$1=\$$1\\ \$func_quote_for_eval_result"
+ }
+fi
+
+
+# func_append_uniq VAR VALUE
+# --------------------------
+# Append unique VALUE onto the existing contents of VAR, assuming
+# entries are delimited by the first character of VALUE. For example:
+#
+# func_append_uniq options " --another-option option-argument"
+#
+# will only append to $options if " --another-option option-argument "
+# is not already present somewhere in $options already (note spaces at
+# each end implied by leading space in second argument).
+func_append_uniq ()
+{
+ $debug_cmd
+
+ eval _G_current_value='`$ECHO $'$1'`'
+ _G_delim=`expr "$2" : '\(.\)'`
+
+ case $_G_delim$_G_current_value$_G_delim in
+ *"$2$_G_delim"*) ;;
+ *) func_append "$@" ;;
+ esac
+}
+
+
+# func_arith TERM...
+# ------------------
+# Set func_arith_result to the result of evaluating TERMs.
+ test -z "$_G_HAVE_ARITH_OP" \
+ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
+ && _G_HAVE_ARITH_OP=yes
+
+if test yes = "$_G_HAVE_ARITH_OP"; then
+ eval 'func_arith ()
+ {
+ $debug_cmd
+
+ func_arith_result=$(( $* ))
+ }'
+else
+ func_arith ()
+ {
+ $debug_cmd
+
+ func_arith_result=`expr "$@"`
+ }
+fi
+
+
+# func_basename FILE
+# ------------------
+# Set func_basename_result to FILE with everything up to and including
+# the last / stripped.
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ # If this shell supports suffix pattern removal, then use it to avoid
+ # forking. Hide the definitions single quotes in case the shell chokes
+ # on unsupported syntax...
+ _b='func_basename_result=${1##*/}'
+ _d='case $1 in
+ */*) func_dirname_result=${1%/*}$2 ;;
+ * ) func_dirname_result=$3 ;;
+ esac'
+
+else
+ # ...otherwise fall back to using sed.
+ _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
+ _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"`
+ if test "X$func_dirname_result" = "X$1"; then
+ func_dirname_result=$3
+ else
+ func_append func_dirname_result "$2"
+ fi'
+fi
+
+eval 'func_basename ()
+{
+ $debug_cmd
+
+ '"$_b"'
+}'
+
+
+# func_dirname FILE APPEND NONDIR_REPLACEMENT
+# -------------------------------------------
+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+# otherwise set result to NONDIR_REPLACEMENT.
+eval 'func_dirname ()
+{
+ $debug_cmd
+
+ '"$_d"'
+}'
+
+
+# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
+# --------------------------------------------------------
+# Perform func_basename and func_dirname in a single function
+# call:
+# dirname: Compute the dirname of FILE. If nonempty,
+# add APPEND to the result, otherwise set result
+# to NONDIR_REPLACEMENT.
+# value returned in "$func_dirname_result"
+# basename: Compute filename of FILE.
+# value retuned in "$func_basename_result"
+# For efficiency, we do not delegate to the functions above but instead
+# duplicate the functionality here.
+eval 'func_dirname_and_basename ()
+{
+ $debug_cmd
+
+ '"$_b"'
+ '"$_d"'
+}'
+
+
+# func_echo ARG...
+# ----------------
+# Echo program name prefixed message.
+func_echo ()
+{
+ $debug_cmd
+
+ _G_message=$*
+
+ func_echo_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_IFS
+ $ECHO "$progname: $_G_line"
+ done
+ IFS=$func_echo_IFS
+}
+
+
+# func_echo_all ARG...
+# --------------------
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+
+# func_echo_infix_1 INFIX ARG...
+# ------------------------------
+# Echo program name, followed by INFIX on the first line, with any
+# additional lines not showing INFIX.
+func_echo_infix_1 ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ _G_infix=$1; shift
+ _G_indent=$_G_infix
+ _G_prefix="$progname: $_G_infix: "
+ _G_message=$*
+
+ # Strip color escape sequences before counting printable length
+ for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
+ do
+ test -n "$_G_tc" && {
+ _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
+ _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
+ }
+ done
+ _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes
+
+ func_echo_infix_1_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_infix_1_IFS
+ $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
+ _G_prefix=$_G_indent
+ done
+ IFS=$func_echo_infix_1_IFS
+}
+
+
+# func_error ARG...
+# -----------------
+# Echo program name prefixed message to standard error.
+func_error ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
+}
+
+
+# func_fatal_error ARG...
+# -----------------------
+# Echo program name prefixed message to standard error, and exit.
+func_fatal_error ()
+{
+ $debug_cmd
+
+ func_error "$*"
+ exit $EXIT_FAILURE
+}
+
+
+# func_grep EXPRESSION FILENAME
+# -----------------------------
+# Check whether EXPRESSION matches any line of FILENAME, without output.
+func_grep ()
+{
+ $debug_cmd
+
+ $GREP "$1" "$2" >/dev/null 2>&1
+}
+
+
+# func_len STRING
+# ---------------
+# Set func_len_result to the length of STRING. STRING may not
+# start with a hyphen.
+ test -z "$_G_HAVE_XSI_OPS" \
+ && (eval 'x=a/b/c;
+ test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
+ && _G_HAVE_XSI_OPS=yes
+
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_len ()
+ {
+ $debug_cmd
+
+ func_len_result=${#1}
+ }'
+else
+ func_len ()
+ {
+ $debug_cmd
+
+ func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+ }
+fi
+
+
+# func_mkdir_p DIRECTORY-PATH
+# ---------------------------
+# Make sure the entire path to DIRECTORY-PATH is available.
+func_mkdir_p ()
+{
+ $debug_cmd
+
+ _G_directory_path=$1
+ _G_dir_list=
+
+ if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
+
+ # Protect directory names starting with '-'
+ case $_G_directory_path in
+ -*) _G_directory_path=./$_G_directory_path ;;
+ esac
+
+ # While some portion of DIR does not yet exist...
+ while test ! -d "$_G_directory_path"; do
+ # ...make a list in topmost first order. Use a colon delimited
+ # list incase some portion of path contains whitespace.
+ _G_dir_list=$_G_directory_path:$_G_dir_list
+
+ # If the last portion added has no slash in it, the list is done
+ case $_G_directory_path in */*) ;; *) break ;; esac
+
+ # ...otherwise throw away the child directory and loop
+ _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
+ done
+ _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
+
+ func_mkdir_p_IFS=$IFS; IFS=:
+ for _G_dir in $_G_dir_list; do
+ IFS=$func_mkdir_p_IFS
+ # mkdir can fail with a 'File exist' error if two processes
+ # try to create one of the directories concurrently. Don't
+ # stop in that case!
+ $MKDIR "$_G_dir" 2>/dev/null || :
+ done
+ IFS=$func_mkdir_p_IFS
+
+ # Bail out if we (or some other process) failed to create a directory.
+ test -d "$_G_directory_path" || \
+ func_fatal_error "Failed to create '$1'"
+ fi
+}
+
+
+# func_mktempdir [BASENAME]
+# -------------------------
+# Make a temporary directory that won't clash with other running
+# libtool processes, and avoids race conditions if possible. If
+# given, BASENAME is the basename for that directory.
+func_mktempdir ()
+{
+ $debug_cmd
+
+ _G_template=${TMPDIR-/tmp}/${1-$progname}
+
+ if test : = "$opt_dry_run"; then
+ # Return a directory name, but don't create it in dry-run mode
+ _G_tmpdir=$_G_template-$$
+ else
+
+ # If mktemp works, use that first and foremost
+ _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
+
+ if test ! -d "$_G_tmpdir"; then
+ # Failing that, at least try and use $RANDOM to avoid a race
+ _G_tmpdir=$_G_template-${RANDOM-0}$$
+
+ func_mktempdir_umask=`umask`
+ umask 0077
+ $MKDIR "$_G_tmpdir"
+ umask $func_mktempdir_umask
+ fi
+
+ # If we're not in dry-run mode, bomb out on failure
+ test -d "$_G_tmpdir" || \
+ func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
+ fi
+
+ $ECHO "$_G_tmpdir"
+}
+
+
+# func_normal_abspath PATH
+# ------------------------
+# Remove doubled-up and trailing slashes, "." path components,
+# and cancel out any ".." path components in PATH after making
+# it an absolute path.
+func_normal_abspath ()
+{
+ $debug_cmd
+
+ # These SED scripts presuppose an absolute path with a trailing slash.
+ _G_pathcar='s|^/\([^/]*\).*$|\1|'
+ _G_pathcdr='s|^/[^/]*||'
+ _G_removedotparts=':dotsl
+ s|/\./|/|g
+ t dotsl
+ s|/\.$|/|'
+ _G_collapseslashes='s|/\{1,\}|/|g'
+ _G_finalslash='s|/*$|/|'
+
+ # Start from root dir and reassemble the path.
+ func_normal_abspath_result=
+ func_normal_abspath_tpath=$1
+ func_normal_abspath_altnamespace=
+ case $func_normal_abspath_tpath in
+ "")
+ # Empty path, that just means $cwd.
+ func_stripname '' '/' "`pwd`"
+ func_normal_abspath_result=$func_stripname_result
+ return
+ ;;
+ # The next three entries are used to spot a run of precisely
+ # two leading slashes without using negated character classes;
+ # we take advantage of case's first-match behaviour.
+ ///*)
+ # Unusual form of absolute path, do nothing.
+ ;;
+ //*)
+ # Not necessarily an ordinary path; POSIX reserves leading '//'
+ # and for example Cygwin uses it to access remote file shares
+ # over CIFS/SMB, so we conserve a leading double slash if found.
+ func_normal_abspath_altnamespace=/
+ ;;
+ /*)
+ # Absolute path, do nothing.
+ ;;
+ *)
+ # Relative path, prepend $cwd.
+ func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
+ ;;
+ esac
+
+ # Cancel out all the simple stuff to save iterations. We also want
+ # the path to end with a slash for ease of parsing, so make sure
+ # there is one (and only one) here.
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
+ while :; do
+ # Processed it all yet?
+ if test / = "$func_normal_abspath_tpath"; then
+ # If we ascended to the root using ".." the result may be empty now.
+ if test -z "$func_normal_abspath_result"; then
+ func_normal_abspath_result=/
+ fi
+ break
+ fi
+ func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_pathcar"`
+ func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
+ -e "$_G_pathcdr"`
+ # Figure out what to do with it
+ case $func_normal_abspath_tcomponent in
+ "")
+ # Trailing empty path component, ignore it.
+ ;;
+ ..)
+ # Parent dir; strip last assembled component from result.
+ func_dirname "$func_normal_abspath_result"
+ func_normal_abspath_result=$func_dirname_result
+ ;;
+ *)
+ # Actual path component, append it.
+ func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
+ ;;
+ esac
+ done
+ # Restore leading double-slash if one was found on entry.
+ func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
+}
+
+
+# func_notquiet ARG...
+# --------------------
+# Echo program name prefixed message only when not in quiet mode.
+func_notquiet ()
+{
+ $debug_cmd
+
+ $opt_quiet || func_echo ${1+"$@"}
+
+ # A bug in bash halts the script if the last line of a function
+ # fails when set -e is in force, so we need another command to
+ # work around that:
+ :
+}
+
+
+# func_relative_path SRCDIR DSTDIR
+# --------------------------------
+# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
+func_relative_path ()
+{
+ $debug_cmd
+
+ func_relative_path_result=
+ func_normal_abspath "$1"
+ func_relative_path_tlibdir=$func_normal_abspath_result
+ func_normal_abspath "$2"
+ func_relative_path_tbindir=$func_normal_abspath_result
+
+ # Ascend the tree starting from libdir
+ while :; do
+ # check if we have found a prefix of bindir
+ case $func_relative_path_tbindir in
+ $func_relative_path_tlibdir)
+ # found an exact match
+ func_relative_path_tcancelled=
+ break
+ ;;
+ $func_relative_path_tlibdir*)
+ # found a matching prefix
+ func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
+ func_relative_path_tcancelled=$func_stripname_result
+ if test -z "$func_relative_path_result"; then
+ func_relative_path_result=.
+ fi
+ break
+ ;;
+ *)
+ func_dirname $func_relative_path_tlibdir
+ func_relative_path_tlibdir=$func_dirname_result
+ if test -z "$func_relative_path_tlibdir"; then
+ # Have to descend all the way to the root!
+ func_relative_path_result=../$func_relative_path_result
+ func_relative_path_tcancelled=$func_relative_path_tbindir
+ break
+ fi
+ func_relative_path_result=../$func_relative_path_result
+ ;;
+ esac
+ done
+
+ # Now calculate path; take care to avoid doubling-up slashes.
+ func_stripname '' '/' "$func_relative_path_result"
+ func_relative_path_result=$func_stripname_result
+ func_stripname '/' '/' "$func_relative_path_tcancelled"
+ if test -n "$func_stripname_result"; then
+ func_append func_relative_path_result "/$func_stripname_result"
+ fi
+
+ # Normalisation. If bindir is libdir, return '.' else relative path.
+ if test -n "$func_relative_path_result"; then
+ func_stripname './' '' "$func_relative_path_result"
+ func_relative_path_result=$func_stripname_result
+ fi
+
+ test -n "$func_relative_path_result" || func_relative_path_result=.
+
+ :
+}
+
+
+# func_quote_for_eval ARG...
+# --------------------------
+# Aesthetically quote ARGs to be evaled later.
+# This function returns two values:
+# i) func_quote_for_eval_result
+# double-quoted, suitable for a subsequent eval
+# ii) func_quote_for_eval_unquoted_result
+# has all characters that are still active within double
+# quotes backslashified.
+func_quote_for_eval ()
+{
+ $debug_cmd
+
+ func_quote_for_eval_unquoted_result=
+ func_quote_for_eval_result=
+ while test 0 -lt $#; do
+ case $1 in
+ *[\\\`\"\$]*)
+ _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
+ *)
+ _G_unquoted_arg=$1 ;;
+ esac
+ if test -n "$func_quote_for_eval_unquoted_result"; then
+ func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
+ else
+ func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
+ fi
+
+ case $_G_unquoted_arg in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting, command substitution and variable expansion
+ # for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ _G_quoted_arg=\"$_G_unquoted_arg\"
+ ;;
+ *)
+ _G_quoted_arg=$_G_unquoted_arg
+ ;;
+ esac
+
+ if test -n "$func_quote_for_eval_result"; then
+ func_append func_quote_for_eval_result " $_G_quoted_arg"
+ else
+ func_append func_quote_for_eval_result "$_G_quoted_arg"
+ fi
+ shift
+ done
+}
+
+
+# func_quote_for_expand ARG
+# -------------------------
+# Aesthetically quote ARG to be evaled later; same as above,
+# but do not quote variable references.
+func_quote_for_expand ()
+{
+ $debug_cmd
+
+ case $1 in
+ *[\\\`\"]*)
+ _G_arg=`$ECHO "$1" | $SED \
+ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
+ *)
+ _G_arg=$1 ;;
+ esac
+
+ case $_G_arg in
+ # Double-quote args containing shell metacharacters to delay
+ # word splitting and command substitution for a subsequent eval.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ _G_arg=\"$_G_arg\"
+ ;;
+ esac
+
+ func_quote_for_expand_result=$_G_arg
+}
+
+
+# func_stripname PREFIX SUFFIX NAME
+# ---------------------------------
+# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_stripname ()
+ {
+ $debug_cmd
+
+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+ # positional parameters, so assign one to ordinary variable first.
+ func_stripname_result=$3
+ func_stripname_result=${func_stripname_result#"$1"}
+ func_stripname_result=${func_stripname_result%"$2"}
+ }'
+else
+ func_stripname ()
+ {
+ $debug_cmd
+
+ case $2 in
+ .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
+ *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
+ esac
+ }
+fi
+
+
+# func_show_eval CMD [FAIL_EXP]
+# -----------------------------
+# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it.
+func_show_eval ()
+{
+ $debug_cmd
+
+ _G_cmd=$1
+ _G_fail_exp=${2-':'}
+
+ func_quote_for_expand "$_G_cmd"
+ eval "func_notquiet $func_quote_for_expand_result"
+
+ $opt_dry_run || {
+ eval "$_G_cmd"
+ _G_status=$?
+ if test 0 -ne "$_G_status"; then
+ eval "(exit $_G_status); $_G_fail_exp"
+ fi
+ }
+}
+
+
+# func_show_eval_locale CMD [FAIL_EXP]
+# ------------------------------------
+# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is
+# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
+# is given, then evaluate it. Use the saved locale for evaluation.
+func_show_eval_locale ()
+{
+ $debug_cmd
+
+ _G_cmd=$1
+ _G_fail_exp=${2-':'}
+
+ $opt_quiet || {
+ func_quote_for_expand "$_G_cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+
+ $opt_dry_run || {
+ eval "$_G_user_locale
+ $_G_cmd"
+ _G_status=$?
+ eval "$_G_safe_locale"
+ if test 0 -ne "$_G_status"; then
+ eval "(exit $_G_status); $_G_fail_exp"
+ fi
+ }
+}
+
+
+# func_tr_sh
+# ----------
+# Turn $1 into a string suitable for a shell variable name.
+# Result is stored in $func_tr_sh_result. All characters
+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
+# if $1 begins with a digit, a '_' is prepended as well.
+func_tr_sh ()
+{
+ $debug_cmd
+
+ case $1 in
+ [0-9]* | *[!a-zA-Z0-9_]*)
+ func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
+ ;;
+ * )
+ func_tr_sh_result=$1
+ ;;
+ esac
+}
+
+
+# func_verbose ARG...
+# -------------------
+# Echo program name prefixed message in verbose mode only.
+func_verbose ()
+{
+ $debug_cmd
+
+ $opt_verbose && func_echo "$*"
+
+ :
+}
+
+
+# func_warn_and_continue ARG...
+# -----------------------------
+# Echo program name prefixed warning message to standard error.
+func_warn_and_continue ()
+{
+ $debug_cmd
+
+ $require_term_colors
+
+ func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
+}
+
+
+# func_warning CATEGORY ARG...
+# ----------------------------
+# Echo program name prefixed warning message to standard error. Warning
+# messages can be filtered according to CATEGORY, where this function
+# elides messages where CATEGORY is not listed in the global variable
+# 'opt_warning_types'.
+func_warning ()
+{
+ $debug_cmd
+
+ # CATEGORY must be in the warning_categories list!
+ case " $warning_categories " in
+ *" $1 "*) ;;
+ *) func_internal_error "invalid warning category '$1'" ;;
+ esac
+
+ _G_category=$1
+ shift
+
+ case " $opt_warning_types " in
+ *" $_G_category "*) $warning_func ${1+"$@"} ;;
+ esac
+}
+
+
+# func_sort_ver VER1 VER2
+# -----------------------
+# 'sort -V' is not generally available.
+# Note this deviates from the version comparison in automake
+# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
+# but this should suffice as we won't be specifying old
+# version formats or redundant trailing .0 in bootstrap.conf.
+# If we did want full compatibility then we should probably
+# use m4_version_compare from autoconf.
+func_sort_ver ()
+{
+ $debug_cmd
+
+ printf '%s\n%s\n' "$1" "$2" \
+ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
+}
+
+# func_lt_ver PREV CURR
+# ---------------------
+# Return true if PREV and CURR are in the correct order according to
+# func_sort_ver, otherwise false. Use it like this:
+#
+# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
+func_lt_ver ()
+{
+ $debug_cmd
+
+ test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
+}
+
+
+# Local variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
+# time-stamp-time-zone: "UTC"
+# End:
+#! /bin/sh
+
+# Set a version string for this script.
+scriptversion=2014-01-07.03; # UTC
+
+# A portable, pluggable option parser for Bourne shell.
+# Written by Gary V. Vaughan, 2010
+
+# Copyright (C) 2010-2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Please report bugs or propose patches to gary at gnu.org.
+
+
+## ------ ##
+## Usage. ##
+## ------ ##
+
+# This file is a library for parsing options in your shell scripts along
+# with assorted other useful supporting features that you can make use
+# of too.
+#
+# For the simplest scripts you might need only:
+#
+# #!/bin/sh
+# . relative/path/to/funclib.sh
+# . relative/path/to/options-parser
+# scriptversion=1.0
+# func_options ${1+"$@"}
+# eval set dummy "$func_options_result"; shift
+# ...rest of your script...
+#
+# In order for the '--version' option to work, you will need to have a
+# suitably formatted comment like the one at the top of this file
+# starting with '# Written by ' and ending with '# warranty; '.
+#
+# For '-h' and '--help' to work, you will also need a one line
+# description of your script's purpose in a comment directly above the
+# '# Written by ' line, like the one at the top of this file.
+#
+# The default options also support '--debug', which will turn on shell
+# execution tracing (see the comment above debug_cmd below for another
+# use), and '--verbose' and the func_verbose function to allow your script
+# to display verbose messages only when your user has specified
+# '--verbose'.
+#
+# After sourcing this file, you can plug processing for additional
+# options by amending the variables from the 'Configuration' section
+# below, and following the instructions in the 'Option parsing'
+# section further down.
+
+## -------------- ##
+## Configuration. ##
+## -------------- ##
+
+# You should override these variables in your script after sourcing this
+# file so that they reflect the customisations you have added to the
+# option parser.
+
+# The usage line for option parsing errors and the start of '-h' and
+# '--help' output messages. You can embed shell variables for delayed
+# expansion at the time the message is displayed, but you will need to
+# quote other shell meta-characters carefully to prevent them being
+# expanded when the contents are evaled.
+usage='$progpath [OPTION]...'
+
+# Short help message in response to '-h' and '--help'. Add to this or
+# override it after sourcing this library to reflect the full set of
+# options your script accepts.
+usage_message="\
+ --debug enable verbose shell tracing
+ -W, --warnings=CATEGORY
+ report the warnings falling in CATEGORY [all]
+ -v, --verbose verbosely report processing
+ --version print version information and exit
+ -h, --help print short or long help message and exit
+"
+
+# Additional text appended to 'usage_message' in response to '--help'.
+long_help_message="
+Warning categories include:
+ 'all' show all warnings
+ 'none' turn off all the warnings
+ 'error' warnings are treated as fatal errors"
+
+# Help message printed before fatal option parsing errors.
+fatal_help="Try '\$progname --help' for more information."
+
+
+
+## ------------------------- ##
+## Hook function management. ##
+## ------------------------- ##
+
+# This section contains functions for adding, removing, and running hooks
+# to the main code. A hook is just a named list of of function, that can
+# be run in order later on.
+
+# func_hookable FUNC_NAME
+# -----------------------
+# Declare that FUNC_NAME will run hooks added with
+# 'func_add_hook FUNC_NAME ...'.
+func_hookable ()
+{
+ $debug_cmd
+
+ func_append hookable_fns " $1"
+}
+
+
+# func_add_hook FUNC_NAME HOOK_FUNC
+# ---------------------------------
+# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
+# first have been declared "hookable" by a call to 'func_hookable'.
+func_add_hook ()
+{
+ $debug_cmd
+
+ case " $hookable_fns " in
+ *" $1 "*) ;;
+ *) func_fatal_error "'$1' does not accept hook functions." ;;
+ esac
+
+ eval func_append ${1}_hooks '" $2"'
+}
+
+
+# func_remove_hook FUNC_NAME HOOK_FUNC
+# ------------------------------------
+# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
+func_remove_hook ()
+{
+ $debug_cmd
+
+ eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
+}
+
+
+# func_run_hooks FUNC_NAME [ARG]...
+# ---------------------------------
+# Run all hook functions registered to FUNC_NAME.
+# It is assumed that the list of hook functions contains nothing more
+# than a whitespace-delimited list of legal shell function names, and
+# no effort is wasted trying to catch shell meta-characters or preserve
+# whitespace.
+func_run_hooks ()
+{
+ $debug_cmd
+
+ case " $hookable_fns " in
+ *" $1 "*) ;;
+ *) func_fatal_error "'$1' does not support hook funcions.n" ;;
+ esac
+
+ eval _G_hook_fns=\$$1_hooks; shift
+
+ for _G_hook in $_G_hook_fns; do
+ eval $_G_hook '"$@"'
+
+ # store returned options list back into positional
+ # parameters for next 'cmd' execution.
+ eval _G_hook_result=\$${_G_hook}_result
+ eval set dummy "$_G_hook_result"; shift
+ done
+
+ func_quote_for_eval ${1+"$@"}
+ func_run_hooks_result=$func_quote_for_eval_result
+}
+
+
+
+## --------------- ##
+## Option parsing. ##
+## --------------- ##
+
+# In order to add your own option parsing hooks, you must accept the
+# full positional parameter list in your hook function, remove any
+# options that you action, and then pass back the remaining unprocessed
+# options in '<hooked_function_name>_result', escaped suitably for
+# 'eval'. Like this:
+#
+# my_options_prep ()
+# {
+# $debug_cmd
+#
+# # Extend the existing usage message.
+# usage_message=$usage_message'
+# -s, --silent don'\''t print informational messages
+# '
+#
+# func_quote_for_eval ${1+"$@"}
+# my_options_prep_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_options_prep my_options_prep
+#
+#
+# my_silent_option ()
+# {
+# $debug_cmd
+#
+# # Note that for efficiency, we parse as many options as we can
+# # recognise in a loop before passing the remainder back to the
+# # caller on the first unrecognised argument we encounter.
+# while test $# -gt 0; do
+# opt=$1; shift
+# case $opt in
+# --silent|-s) opt_silent=: ;;
+# # Separate non-argument short options:
+# -s*) func_split_short_opt "$_G_opt"
+# set dummy "$func_split_short_opt_name" \
+# "-$func_split_short_opt_arg" ${1+"$@"}
+# shift
+# ;;
+# *) set dummy "$_G_opt" "$*"; shift; break ;;
+# esac
+# done
+#
+# func_quote_for_eval ${1+"$@"}
+# my_silent_option_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_parse_options my_silent_option
+#
+#
+# my_option_validation ()
+# {
+# $debug_cmd
+#
+# $opt_silent && $opt_verbose && func_fatal_help "\
+# '--silent' and '--verbose' options are mutually exclusive."
+#
+# func_quote_for_eval ${1+"$@"}
+# my_option_validation_result=$func_quote_for_eval_result
+# }
+# func_add_hook func_validate_options my_option_validation
+#
+# You'll alse need to manually amend $usage_message to reflect the extra
+# options you parse. It's preferable to append if you can, so that
+# multiple option parsing hooks can be added safely.
+
+
+# func_options [ARG]...
+# ---------------------
+# All the functions called inside func_options are hookable. See the
+# individual implementations for details.
+func_hookable func_options
+func_options ()
+{
+ $debug_cmd
+
+ func_options_prep ${1+"$@"}
+ eval func_parse_options \
+ ${func_options_prep_result+"$func_options_prep_result"}
+ eval func_validate_options \
+ ${func_parse_options_result+"$func_parse_options_result"}
+
+ eval func_run_hooks func_options \
+ ${func_validate_options_result+"$func_validate_options_result"}
+
+ # save modified positional parameters for caller
+ func_options_result=$func_run_hooks_result
+}
+
+
+# func_options_prep [ARG]...
+# --------------------------
+# All initialisations required before starting the option parse loop.
+# Note that when calling hook functions, we pass through the list of
+# positional parameters. If a hook function modifies that list, and
+# needs to propogate that back to rest of this script, then the complete
+# modified list must be put in 'func_run_hooks_result' before
+# returning.
+func_hookable func_options_prep
+func_options_prep ()
+{
+ $debug_cmd
+
+ # Option defaults:
+ opt_verbose=false
+ opt_warning_types=
+
+ func_run_hooks func_options_prep ${1+"$@"}
+
+ # save modified positional parameters for caller
+ func_options_prep_result=$func_run_hooks_result
+}
+
+
+# func_parse_options [ARG]...
+# ---------------------------
+# The main option parsing loop.
+func_hookable func_parse_options
+func_parse_options ()
+{
+ $debug_cmd
+
+ func_parse_options_result=
+
+ # this just eases exit handling
+ while test $# -gt 0; do
+ # Defer to hook functions for initial option parsing, so they
+ # get priority in the event of reusing an option name.
+ func_run_hooks func_parse_options ${1+"$@"}
+
+ # Adjust func_parse_options positional parameters to match
+ eval set dummy "$func_run_hooks_result"; shift
+
+ # Break out of the loop if we already parsed every option.
+ test $# -gt 0 || break
+
+ _G_opt=$1
+ shift
+ case $_G_opt in
+ --debug|-x) debug_cmd='set -x'
+ func_echo "enabling shell trace mode"
+ $debug_cmd
+ ;;
+
+ --no-warnings|--no-warning|--no-warn)
+ set dummy --warnings none ${1+"$@"}
+ shift
+ ;;
+
+ --warnings|--warning|-W)
+ test $# = 0 && func_missing_arg $_G_opt && break
+ case " $warning_categories $1" in
+ *" $1 "*)
+ # trailing space prevents matching last $1 above
+ func_append_uniq opt_warning_types " $1"
+ ;;
+ *all)
+ opt_warning_types=$warning_categories
+ ;;
+ *none)
+ opt_warning_types=none
+ warning_func=:
+ ;;
+ *error)
+ opt_warning_types=$warning_categories
+ warning_func=func_fatal_error
+ ;;
+ *)
+ func_fatal_error \
+ "unsupported warning category: '$1'"
+ ;;
+ esac
+ shift
+ ;;
+
+ --verbose|-v) opt_verbose=: ;;
+ --version) func_version ;;
+ -\?|-h) func_usage ;;
+ --help) func_help ;;
+
+ # Separate optargs to long options (plugins may need this):
+ --*=*) func_split_equals "$_G_opt"
+ set dummy "$func_split_equals_lhs" \
+ "$func_split_equals_rhs" ${1+"$@"}
+ shift
+ ;;
+
+ # Separate optargs to short options:
+ -W*)
+ func_split_short_opt "$_G_opt"
+ set dummy "$func_split_short_opt_name" \
+ "$func_split_short_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ # Separate non-argument short options:
+ -\?*|-h*|-v*|-x*)
+ func_split_short_opt "$_G_opt"
+ set dummy "$func_split_short_opt_name" \
+ "-$func_split_short_opt_arg" ${1+"$@"}
+ shift
+ ;;
+
+ --) break ;;
+ -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
+ esac
+ done
+
+ # save modified positional parameters for caller
+ func_quote_for_eval ${1+"$@"}
+ func_parse_options_result=$func_quote_for_eval_result
+}
+
+
+# func_validate_options [ARG]...
+# ------------------------------
+# Perform any sanity checks on option settings and/or unconsumed
+# arguments.
+func_hookable func_validate_options
+func_validate_options ()
+{
+ $debug_cmd
+
+ # Display all warnings if -W was not given.
+ test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
+
+ func_run_hooks func_validate_options ${1+"$@"}
+
+ # Bail if the options were screwed!
+ $exit_cmd $EXIT_FAILURE
+
+ # save modified positional parameters for caller
+ func_validate_options_result=$func_run_hooks_result
+}
+
+
+
+## ----------------- ##
+## Helper functions. ##
+## ----------------- ##
+
+# This section contains the helper functions used by the rest of the
+# hookable option parser framework in ascii-betical order.
+
+
+# func_fatal_help ARG...
+# ----------------------
+# Echo program name prefixed message to standard error, followed by
+# a help hint, and exit.
+func_fatal_help ()
+{
+ $debug_cmd
+
+ eval \$ECHO \""Usage: $usage"\"
+ eval \$ECHO \""$fatal_help"\"
+ func_error ${1+"$@"}
+ exit $EXIT_FAILURE
+}
+
+
+# func_help
+# ---------
+# Echo long help message to standard output and exit.
+func_help ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "$long_help_message"
+ exit 0
+}
+
+
+# func_missing_arg ARGNAME
+# ------------------------
+# Echo program name prefixed message to standard error and set global
+# exit_cmd.
+func_missing_arg ()
+{
+ $debug_cmd
+
+ func_error "Missing argument for '$1'."
+ exit_cmd=exit
+}
+
+
+# func_split_equals STRING
+# ------------------------
+# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
+# splitting STRING at the '=' sign.
+test -z "$_G_HAVE_XSI_OPS" \
+ && (eval 'x=a/b/c;
+ test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
+ && _G_HAVE_XSI_OPS=yes
+
+if test yes = "$_G_HAVE_XSI_OPS"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_split_equals ()
+ {
+ $debug_cmd
+
+ func_split_equals_lhs=${1%%=*}
+ func_split_equals_rhs=${1#*=}
+ test "x$func_split_equals_lhs" = "x$1" \
+ && func_split_equals_rhs=
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_split_equals ()
+ {
+ $debug_cmd
+
+ func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
+ func_split_equals_rhs=
+ test "x$func_split_equals_lhs" = "x$1" \
+ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
+ }
+fi #func_split_equals
+
+
+# func_split_short_opt SHORTOPT
+# -----------------------------
+# Set func_split_short_opt_name and func_split_short_opt_arg shell
+# variables after splitting SHORTOPT after the 2nd character.
+if test yes = "$_G_HAVE_XSI_OPS"
+then
+ # This is an XSI compatible shell, allowing a faster implementation...
+ eval 'func_split_short_opt ()
+ {
+ $debug_cmd
+
+ func_split_short_opt_arg=${1#??}
+ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
+ }'
+else
+ # ...otherwise fall back to using expr, which is often a shell builtin.
+ func_split_short_opt ()
+ {
+ $debug_cmd
+
+ func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
+ func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
+ }
+fi #func_split_short_opt
+
+
+# func_usage
+# ----------
+# Echo short help message to standard output and exit.
+func_usage ()
+{
+ $debug_cmd
+
+ func_usage_message
+ $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
+ exit 0
+}
+
+
+# func_usage_message
+# ------------------
+# Echo short help message to standard output.
+func_usage_message ()
+{
+ $debug_cmd
+
+ eval \$ECHO \""Usage: $usage"\"
+ echo
+ $SED -n 's|^# ||
+ /^Written by/{
+ x;p;x
+ }
+ h
+ /^Written by/q' < "$progpath"
+ echo
+ eval \$ECHO \""$usage_message"\"
+}
+
+
+# func_version
+# ------------
+# Echo version message to standard output and exit.
+func_version ()
+{
+ $debug_cmd
+
+ printf '%s\n' "$progname $scriptversion"
+ $SED -n '
+ /(C)/!b go
+ :more
+ /\./!{
+ N
+ s|\n# | |
+ b more
+ }
+ :go
+ /^# Written by /,/# warranty; / {
+ s|^# ||
+ s|^# *$||
+ s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
+ p
+ }
+ /^# Written by / {
+ s|^# ||
+ p
+ }
+ /^warranty; /q' < "$progpath"
+
+ exit $?
+}
+
+
+# Local variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
+# time-stamp-time-zone: "UTC"
+# End:
+
+# Set a version string.
+scriptversion='(GNU libtool) 2.4.4'
+
+
+# func_echo ARG...
+# ----------------
+# Libtool also displays the current mode in messages, so override
+# funclib.sh func_echo with this custom definition.
+func_echo ()
+{
+ $debug_cmd
+
+ _G_message=$*
+
+ func_echo_IFS=$IFS
+ IFS=$nl
+ for _G_line in $_G_message; do
+ IFS=$func_echo_IFS
+ $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
+ done
+ IFS=$func_echo_IFS
+}
+
+
+# func_warning ARG...
+# -------------------
+# Libtool warnings are not categorized, so override funclib.sh
+# func_warning with this simpler definition.
+func_warning ()
+{
+ $debug_cmd
+
+ $warning_func ${1+"$@"}
+}
+
+
+## ---------------- ##
+## Options parsing. ##
+## ---------------- ##
+
+# Hook in the functions to make sure our own options are parsed during
+# the option parsing loop.
+
+usage='$progpath [OPTION]... [MODE-ARG]...'
+
+# Short help message in response to '-h'.
+usage_message="Options:
+ --config show all configuration variables
+ --debug enable verbose shell tracing
+ -n, --dry-run display commands without modifying any files
+ --features display basic configuration information and exit
+ --mode=MODE use operation mode MODE
+ --no-warnings equivalent to '-Wnone'
+ --preserve-dup-deps don't remove duplicate dependency libraries
+ --quiet, --silent don't print informational messages
+ --tag=TAG use configuration variables from tag TAG
+ -v, --verbose print more informational messages than default
+ --version print version information
+ -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all]
+ -h, --help, --help-all print short, long, or detailed help message
+"
+
+# Additional text appended to 'usage_message' in response to '--help'.
+long_help_message=$long_help_message"
+
+MODE must be one of the following:
+
+ clean remove files from the build directory
+ compile compile a source file into a libtool object
+ execute automatically set library path, then run a program
+ finish complete the installation of libtool libraries
+ install install libraries or executables
+ link create a library or an executable
+ uninstall remove libraries from an installed directory
+
+MODE-ARGS vary depending on the MODE. When passed as first option,
+'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
+Try '$progname --help --mode=MODE' for a more detailed description of MODE.
+
+When reporting a bug, please describe a test case to reproduce it and
+include the following information:
+
+ host-triplet: $host
+ shell: $SHELL
+ compiler: $LTCC
+ compiler flags: $LTCFLAGS
+ linker: $LD (gnu? $with_gnu_ld)
+ version: $progname (GNU libtool) 2.4.4
+ automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
+ autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
+
+Report bugs to <bug-libtool at gnu.org>.
+GNU libtool home page: <http://www.gnu.org/software/libtool/>.
+General help using GNU software: <http://www.gnu.org/gethelp/>."
+
+
+# func_lo2o OBJECT-NAME
+# ---------------------
+# Transform OBJECT-NAME from a '.lo' suffix to the platform specific
+# object suffix.
+
+lo2o=s/\\.lo\$/.$objext/
+o2lo=s/\\.$objext\$/.lo/
+
+if test yes = "$_G_HAVE_XSI_OPS"; then
+ eval 'func_lo2o ()
+ {
+ case $1 in
+ *.lo) func_lo2o_result=${1%.lo}.$objext ;;
+ * ) func_lo2o_result=$1 ;;
+ esac
+ }'
+
+ # func_xform LIBOBJ-OR-SOURCE
+ # ---------------------------
+ # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
+ # suffix to a '.lo' libtool-object suffix.
+ eval 'func_xform ()
+ {
+ func_xform_result=${1%.*}.lo
+ }'
+else
+ # ...otherwise fall back to using sed.
+ func_lo2o ()
+ {
+ func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
+ }
+
+ func_xform ()
+ {
+ func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
+ }
+fi
+
+
+# func_fatal_configuration ARG...
+# -------------------------------
+# Echo program name prefixed message to standard error, followed by
+# a configuration failure hint, and exit.
+func_fatal_configuration ()
+{
+ func__fatal_error ${1+"$@"} \
+ "See the $PACKAGE documentation for more information." \
+ "Fatal configuration error."
+}
+
+
+# func_config
+# -----------
+# Display the configuration for all the tags in this script.
+func_config ()
+{
+ re_begincf='^# ### BEGIN LIBTOOL'
+ re_endcf='^# ### END LIBTOOL'
+
+ # Default configuration.
+ $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
+
+ # Now print the configurations for the tags.
+ for tagname in $taglist; do
+ $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
+ done
+
+ exit $?
+}
+
+
+# func_features
+# -------------
+# Display the features supported by this script.
+func_features ()
+{
+ echo "host: $host"
+ if test yes = "$build_libtool_libs"; then
+ echo "enable shared libraries"
+ else
+ echo "disable shared libraries"
+ fi
+ if test yes = "$build_old_libs"; then
+ echo "enable static libraries"
+ else
+ echo "disable static libraries"
+ fi
+
+ exit $?
+}
+
+
+# func_enable_tag TAGNAME
+# -----------------------
+# Verify that TAGNAME is valid, and either flag an error and exit, or
+# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
+# variable here.
+func_enable_tag ()
+{
+ # Global variable:
+ tagname=$1
+
+ re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
+ re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
+ sed_extractcf=/$re_begincf/,/$re_endcf/p
+
+ # Validate tagname.
+ case $tagname in
+ *[!-_A-Za-z0-9,/]*)
+ func_fatal_error "invalid tag name: $tagname"
+ ;;
+ esac
+
+ # Don't test for the "default" C tag, as we know it's
+ # there but not specially marked.
+ case $tagname in
+ CC) ;;
+ *)
+ if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
+ taglist="$taglist $tagname"
+
+ # Evaluate the configuration. Be careful to quote the path
+ # and the sed script, to avoid splitting on whitespace, but
+ # also don't use non-portable quotes within backquotes within
+ # quotes we have to do it in 2 steps:
+ extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
+ eval "$extractedcf"
+ else
+ func_error "ignoring unknown tag $tagname"
+ fi
+ ;;
+ esac
+}
+
+
+# func_check_version_match
+# ------------------------
+# Ensure that we are using m4 macros, and libtool script from the same
+# release of libtool.
+func_check_version_match ()
+{
+ if test "$package_revision" != "$macro_revision"; then
+ if test "$VERSION" != "$macro_version"; then
+ if test -z "$macro_version"; then
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from an older release.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
+$progname: and run autoconf again.
+_LT_EOF
+ fi
+ else
+ cat >&2 <<_LT_EOF
+$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
+$progname: of $PACKAGE $VERSION and run autoconf again.
+_LT_EOF
+ fi
+
+ exit $EXIT_MISMATCH
+ fi
+}
+
+
+# libtool_options_prep [ARG]...
+# -----------------------------
+# Preparation for options parsed by libtool.
+libtool_options_prep ()
+{
+ $debug_mode
+
+ # Option defaults:
+ opt_config=false
+ opt_dlopen=
+ opt_dry_run=false
+ opt_help=false
+ opt_mode=
+ opt_preserve_dup_deps=false
+ opt_quiet=false
+
+ nonopt=
+ preserve_args=
+
+ # Shorthand for --mode=foo, only valid as the first argument
+ case $1 in
+ clean|clea|cle|cl)
+ shift; set dummy --mode clean ${1+"$@"}; shift
+ ;;
+ compile|compil|compi|comp|com|co|c)
+ shift; set dummy --mode compile ${1+"$@"}; shift
+ ;;
+ execute|execut|execu|exec|exe|ex|e)
+ shift; set dummy --mode execute ${1+"$@"}; shift
+ ;;
+ finish|finis|fini|fin|fi|f)
+ shift; set dummy --mode finish ${1+"$@"}; shift
+ ;;
+ install|instal|insta|inst|ins|in|i)
+ shift; set dummy --mode install ${1+"$@"}; shift
+ ;;
+ link|lin|li|l)
+ shift; set dummy --mode link ${1+"$@"}; shift
+ ;;
+ uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
+ shift; set dummy --mode uninstall ${1+"$@"}; shift
+ ;;
+ esac
+
+ # Pass back the list of options.
+ func_quote_for_eval ${1+"$@"}
+ libtool_options_prep_result=$func_quote_for_eval_result
+}
+func_add_hook func_options_prep libtool_options_prep
+
+
+# libtool_parse_options [ARG]...
+# ---------------------------------
+# Provide handling for libtool specific options.
+libtool_parse_options ()
+{
+ $debug_cmd
+
+ # Perform our own loop to consume as many options as possible in
+ # each iteration.
+ while test $# -gt 0; do
+ _G_opt=$1
+ shift
+ case $_G_opt in
+ --dry-run|--dryrun|-n)
+ opt_dry_run=:
+ ;;
+
+ --config) func_config ;;
+
+ --dlopen|-dlopen)
+ opt_dlopen="${opt_dlopen+$opt_dlopen
+}$1"
+ shift
+ ;;
+
+ --preserve-dup-deps)
+ opt_preserve_dup_deps=: ;;
+
+ --features) func_features ;;
+
+ --finish) set dummy --mode finish ${1+"$@"}; shift ;;
+
+ --help) opt_help=: ;;
+
+ --help-all) opt_help=': help-all' ;;
+
+ --mode) test $# = 0 && func_missing_arg $_G_opt && break
+ opt_mode=$1
+ case $1 in
+ # Valid mode arguments:
+ clean|compile|execute|finish|install|link|relink|uninstall) ;;
+
+ # Catch anything else as an error
+ *) func_error "invalid argument for $_G_opt"
+ exit_cmd=exit
+ break
+ ;;
+ esac
+ shift
+ ;;
+
+ --no-silent|--no-quiet)
+ opt_quiet=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --no-warnings|--no-warning|--no-warn)
+ opt_warning=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --no-verbose)
+ opt_verbose=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --silent|--quiet)
+ opt_quiet=:
+ opt_verbose=false
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ --tag) test $# = 0 && func_missing_arg $_G_opt && break
+ opt_tag=$1
+ func_append preserve_args " $_G_opt $1"
+ func_enable_tag "$1"
+ shift
+ ;;
+
+ --verbose|-v) opt_quiet=false
+ opt_verbose=:
+ func_append preserve_args " $_G_opt"
+ ;;
+
+ # An option not handled by this hook function:
+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
+ esac
+ done
+
+
+ # save modified positional parameters for caller
+ func_quote_for_eval ${1+"$@"}
+ libtool_parse_options_result=$func_quote_for_eval_result
+}
+func_add_hook func_parse_options libtool_parse_options
+
+
+
+# libtool_validate_options [ARG]...
+# ---------------------------------
+# Perform any sanity checks on option settings and/or unconsumed
+# arguments.
+libtool_validate_options ()
+{
+ # save first non-option argument
+ if test 0 -lt $#; then
+ nonopt=$1
+ shift
+ fi
+
+ # preserve --debug
+ test : = "$debug_cmd" || func_append preserve_args " --debug"
+
+ case $host in
+ # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
+ # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
+ *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
+ # don't eliminate duplications in $postdeps and $predeps
+ opt_duplicate_compiler_generated_deps=:
+ ;;
+ *)
+ opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
+ ;;
+ esac
+
+ $opt_help || {
+ # Sanity checks first:
+ func_check_version_match
+
+ test yes != "$build_libtool_libs" \
+ && test yes != "$build_old_libs" \
+ && func_fatal_configuration "not configured to build any kind of library"
+
+ # Darwin sucks
+ eval std_shrext=\"$shrext_cmds\"
+
+ # Only execute mode is allowed to have -dlopen flags.
+ if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
+ func_error "unrecognized option '-dlopen'"
+ $ECHO "$help" 1>&2
+ exit $EXIT_FAILURE
+ fi
+
+ # Change the help message to a mode-specific one.
+ generic_help=$help
+ help="Try '$progname --help --mode=$opt_mode' for more information."
+ }
+
+ # Pass back the unparsed argument list
+ func_quote_for_eval ${1+"$@"}
+ libtool_validate_options_result=$func_quote_for_eval_result
+}
+func_add_hook func_validate_options libtool_validate_options
+
+
+# Process options as early as possible so that --help and --version
+# can return quickly.
+func_options ${1+"$@"}
+eval set dummy "$func_options_result"; shift
+
+
+
+## ----------- ##
+## Main. ##
+## ----------- ##
+
+magic='%%%MAGIC variable%%%'
+magic_exe='%%%MAGIC EXE variable%%%'
+
+# Global variables.
+extracted_archives=
+extracted_serial=0
+
+# If this variable is set in any of the actions, the command in it
+# will be execed at the end. This prevents here-documents from being
+# left over by shells.
+exec_cmd=
+
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+$1
+_LTECHO_EOF'
+}
+
+# func_generated_by_libtool
+# True iff stdin has been generated by Libtool. This function is only
+# a basic sanity check; it will hardly flush out determined imposters.
+func_generated_by_libtool_p ()
+{
+ $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
+}
+
+# func_lalib_p file
+# True iff FILE is a libtool '.la' library or '.lo' object file.
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_lalib_p ()
+{
+ test -f "$1" &&
+ $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
+}
+
+# func_lalib_unsafe_p file
+# True iff FILE is a libtool '.la' library or '.lo' object file.
+# This function implements the same check as func_lalib_p without
+# resorting to external programs. To this end, it redirects stdin and
+# closes it afterwards, without saving the original file descriptor.
+# As a safety measure, use it only where a negative result would be
+# fatal anyway. Works if 'file' does not exist.
+func_lalib_unsafe_p ()
+{
+ lalib_p=no
+ if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
+ for lalib_p_l in 1 2 3 4
+ do
+ read lalib_p_line
+ case $lalib_p_line in
+ \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
+ esac
+ done
+ exec 0<&5 5<&-
+ fi
+ test yes = "$lalib_p"
+}
+
+# func_ltwrapper_script_p file
+# True iff FILE is a libtool wrapper script
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_script_p ()
+{
+ test -f "$1" &&
+ $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
+}
+
+# func_ltwrapper_executable_p file
+# True iff FILE is a libtool wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_executable_p ()
+{
+ func_ltwrapper_exec_suffix=
+ case $1 in
+ *.exe) ;;
+ *) func_ltwrapper_exec_suffix=.exe ;;
+ esac
+ $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
+}
+
+# func_ltwrapper_scriptname file
+# Assumes file is an ltwrapper_executable
+# uses $file to determine the appropriate filename for a
+# temporary ltwrapper_script.
+func_ltwrapper_scriptname ()
+{
+ func_dirname_and_basename "$1" "" "."
+ func_stripname '' '.exe' "$func_basename_result"
+ func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
+}
+
+# func_ltwrapper_p file
+# True iff FILE is a libtool wrapper script or wrapper executable
+# This function is only a basic sanity check; it will hardly flush out
+# determined imposters.
+func_ltwrapper_p ()
+{
+ func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
+}
+
+
+# func_execute_cmds commands fail_cmd
+# Execute tilde-delimited COMMANDS.
+# If FAIL_CMD is given, eval that upon failure.
+# FAIL_CMD may read-access the current command in variable CMD!
+func_execute_cmds ()
+{
+ $debug_cmd
+
+ save_ifs=$IFS; IFS='~'
+ for cmd in $1; do
+ IFS=$sp$nl
+ eval cmd=\"$cmd\"
+ IFS=$save_ifs
+ func_show_eval "$cmd" "${2-:}"
+ done
+ IFS=$save_ifs
+}
+
+
+# func_source file
+# Source FILE, adding directory component if necessary.
+# Note that it is not necessary on cygwin/mingw to append a dot to
+# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
+# behavior happens only for exec(3), not for open(2)! Also, sourcing
+# 'FILE.' does not work on cygwin managed mounts.
+func_source ()
+{
+ $debug_cmd
+
+ case $1 in
+ */* | *\\*) . "$1" ;;
+ *) . "./$1" ;;
+ esac
+}
+
+
+# func_resolve_sysroot PATH
+# Replace a leading = in PATH with a sysroot. Store the result into
+# func_resolve_sysroot_result
+func_resolve_sysroot ()
+{
+ func_resolve_sysroot_result=$1
+ case $func_resolve_sysroot_result in
+ =*)
+ func_stripname '=' '' "$func_resolve_sysroot_result"
+ func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
+ ;;
+ esac
+}
+
+# func_replace_sysroot PATH
+# If PATH begins with the sysroot, replace it with = and
+# store the result into func_replace_sysroot_result.
+func_replace_sysroot ()
+{
+ case $lt_sysroot:$1 in
+ ?*:"$lt_sysroot"*)
+ func_stripname "$lt_sysroot" '' "$1"
+ func_replace_sysroot_result='='$func_stripname_result
+ ;;
+ *)
+ # Including no sysroot.
+ func_replace_sysroot_result=$1
+ ;;
+ esac
+}
+
+# func_infer_tag arg
+# Infer tagged configuration to use if any are available and
+# if one wasn't chosen via the "--tag" command line option.
+# Only attempt this if the compiler in the base compile
+# command doesn't match the default compiler.
+# arg is usually of the form 'gcc ...'
+func_infer_tag ()
+{
+ $debug_cmd
+
+ if test -n "$available_tags" && test -z "$tagname"; then
+ CC_quoted=
+ for arg in $CC; do
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case $@ in
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when configure was run.
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
+ # Blanks at the start of $base_compile will cause this to fail
+ # if we don't check for them as well.
+ *)
+ for z in $available_tags; do
+ if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
+ CC_quoted=
+ for arg in $CC; do
+ # Double-quote args containing other shell metacharacters.
+ func_append_quoted CC_quoted "$arg"
+ done
+ CC_expanded=`func_echo_all $CC`
+ CC_quoted_expanded=`func_echo_all $CC_quoted`
+ case "$@ " in
+ " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
+ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
+ # The compiler in the base compile command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ func_echo "unable to infer tagged configuration"
+ func_fatal_error "specify a tag with '--tag'"
+# else
+# func_verbose "using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+}
+
+
+
+# func_write_libtool_object output_name pic_name nonpic_name
+# Create a libtool object file (analogous to a ".la" file),
+# but don't create it if we're doing a dry run.
+func_write_libtool_object ()
+{
+ write_libobj=$1
+ if test yes = "$build_libtool_libs"; then
+ write_lobj=\'$2\'
+ else
+ write_lobj=none
+ fi
+
+ if test yes = "$build_old_libs"; then
+ write_oldobj=\'$3\'
+ else
+ write_oldobj=none
+ fi
+
+ $opt_dry_run || {
+ cat >${write_libobj}T <<EOF
+# $write_libobj - a libtool object file
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object=$write_lobj
+
+# Name of the non-PIC object
+non_pic_object=$write_oldobj
+
+EOF
+ $MV "${write_libobj}T" "$write_libobj"
+ }
+}
+
+
+##################################################
+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
+##################################################
+
+# func_convert_core_file_wine_to_w32 ARG
+# Helper function used by file name conversion functions when $build is *nix,
+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
+# correctly configured wine environment available, with the winepath program
+# in $build's $PATH.
+#
+# ARG is the $build file name to be converted to w32 format.
+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
+# be empty on error (or when ARG is empty)
+func_convert_core_file_wine_to_w32 ()
+{
+ $debug_cmd
+
+ func_convert_core_file_wine_to_w32_result=$1
+ if test -n "$1"; then
+ # Unfortunately, winepath does not exit with a non-zero error code, so we
+ # are forced to check the contents of stdout. On the other hand, if the
+ # command is not found, the shell will set an exit code of 127 and print
+ # *an error message* to stdout. So we must check for both error code of
+ # zero AND non-empty stdout, which explains the odd construction:
+ func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
+ if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
+ func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
+ $SED -e "$sed_naive_backslashify"`
+ else
+ func_convert_core_file_wine_to_w32_result=
+ fi
+ fi
+}
+# end: func_convert_core_file_wine_to_w32
+
+
+# func_convert_core_path_wine_to_w32 ARG
+# Helper function used by path conversion functions when $build is *nix, and
+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
+# configured wine environment available, with the winepath program in $build's
+# $PATH. Assumes ARG has no leading or trailing path separator characters.
+#
+# ARG is path to be converted from $build format to win32.
+# Result is available in $func_convert_core_path_wine_to_w32_result.
+# Unconvertible file (directory) names in ARG are skipped; if no directory names
+# are convertible, then the result may be empty.
+func_convert_core_path_wine_to_w32 ()
+{
+ $debug_cmd
+
+ # unfortunately, winepath doesn't convert paths, only file names
+ func_convert_core_path_wine_to_w32_result=
+ if test -n "$1"; then
+ oldIFS=$IFS
+ IFS=:
+ for func_convert_core_path_wine_to_w32_f in $1; do
+ IFS=$oldIFS
+ func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
+ if test -n "$func_convert_core_file_wine_to_w32_result"; then
+ if test -z "$func_convert_core_path_wine_to_w32_result"; then
+ func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
+ else
+ func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
+ fi
+ fi
+ done
+ IFS=$oldIFS
+ fi
+}
+# end: func_convert_core_path_wine_to_w32
+
+
+# func_cygpath ARGS...
+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
+# (2), returns the Cygwin file name or path in func_cygpath_result (input
+# file name or path is assumed to be in w32 format, as previously converted
+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
+# or path in func_cygpath_result (input file name or path is assumed to be in
+# Cygwin format). Returns an empty string on error.
+#
+# ARGS are passed to cygpath, with the last one being the file name or path to
+# be converted.
+#
+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
+# environment variable; do not put it in $PATH.
+func_cygpath ()
+{
+ $debug_cmd
+
+ if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
+ func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
+ if test "$?" -ne 0; then
+ # on failure, ensure result is empty
+ func_cygpath_result=
+ fi
+ else
+ func_cygpath_result=
+ func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
+ fi
+}
+#end: func_cygpath
+
+
+# func_convert_core_msys_to_w32 ARG
+# Convert file name or path ARG from MSYS format to w32 format. Return
+# result in func_convert_core_msys_to_w32_result.
+func_convert_core_msys_to_w32 ()
+{
+ $debug_cmd
+
+ # awkward: cmd appends spaces to result
+ func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
+ $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
+}
+#end: func_convert_core_msys_to_w32
+
+
+# func_convert_file_check ARG1 ARG2
+# Verify that ARG1 (a file name in $build format) was converted to $host
+# format in ARG2. Otherwise, emit an error message, but continue (resetting
+# func_to_host_file_result to ARG1).
+func_convert_file_check ()
+{
+ $debug_cmd
+
+ if test -z "$2" && test -n "$1"; then
+ func_error "Could not determine host file name corresponding to"
+ func_error " '$1'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback:
+ func_to_host_file_result=$1
+ fi
+}
+# end func_convert_file_check
+
+
+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
+# Verify that FROM_PATH (a path in $build format) was converted to $host
+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
+# func_to_host_file_result to a simplistic fallback value (see below).
+func_convert_path_check ()
+{
+ $debug_cmd
+
+ if test -z "$4" && test -n "$3"; then
+ func_error "Could not determine the host path corresponding to"
+ func_error " '$3'"
+ func_error "Continuing, but uninstalled executables may not work."
+ # Fallback. This is a deliberately simplistic "conversion" and
+ # should not be "improved". See libtool.info.
+ if test "x$1" != "x$2"; then
+ lt_replace_pathsep_chars="s|$1|$2|g"
+ func_to_host_path_result=`echo "$3" |
+ $SED -e "$lt_replace_pathsep_chars"`
+ else
+ func_to_host_path_result=$3
+ fi
+ fi
+}
+# end func_convert_path_check
+
+
+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
+# and appending REPL if ORIG matches BACKPAT.
+func_convert_path_front_back_pathsep ()
+{
+ $debug_cmd
+
+ case $4 in
+ $1 ) func_to_host_path_result=$3$func_to_host_path_result
+ ;;
+ esac
+ case $4 in
+ $2 ) func_append func_to_host_path_result "$3"
+ ;;
+ esac
+}
+# end func_convert_path_front_back_pathsep
+
+
+##################################################
+# $build to $host FILE NAME CONVERSION FUNCTIONS #
+##################################################
+# invoked via '$to_host_file_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# Result will be available in $func_to_host_file_result.
+
+
+# func_to_host_file ARG
+# Converts the file name ARG from $build format to $host format. Return result
+# in func_to_host_file_result.
+func_to_host_file ()
+{
+ $debug_cmd
+
+ $to_host_file_cmd "$1"
+}
+# end func_to_host_file
+
+
+# func_to_tool_file ARG LAZY
+# converts the file name ARG from $build format to toolchain format. Return
+# result in func_to_tool_file_result. If the conversion in use is listed
+# in (the comma separated) LAZY, no conversion takes place.
+func_to_tool_file ()
+{
+ $debug_cmd
+
+ case ,$2, in
+ *,"$to_tool_file_cmd",*)
+ func_to_tool_file_result=$1
+ ;;
+ *)
+ $to_tool_file_cmd "$1"
+ func_to_tool_file_result=$func_to_host_file_result
+ ;;
+ esac
+}
+# end func_to_tool_file
+
+
+# func_convert_file_noop ARG
+# Copy ARG to func_to_host_file_result.
+func_convert_file_noop ()
+{
+ func_to_host_file_result=$1
+}
+# end func_convert_file_noop
+
+
+# func_convert_file_msys_to_w32 ARG
+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_file_result.
+func_convert_file_msys_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_to_host_file_result=$func_convert_core_msys_to_w32_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_w32
+
+
+# func_convert_file_cygwin_to_w32 ARG
+# Convert file name ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_file_cygwin_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
+ # LT_CYGPATH in this case.
+ func_to_host_file_result=`cygpath -m "$1"`
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_cygwin_to_w32
+
+
+# func_convert_file_nix_to_w32 ARG
+# Convert file name ARG from *nix to w32 format. Requires a wine environment
+# and a working winepath. Returns result in func_to_host_file_result.
+func_convert_file_nix_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_file_wine_to_w32 "$1"
+ func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_w32
+
+
+# func_convert_file_msys_to_cygwin ARG
+# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_file_msys_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ func_convert_core_msys_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_msys_to_w32_result"
+ func_to_host_file_result=$func_cygpath_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_msys_to_cygwin
+
+
+# func_convert_file_nix_to_cygwin ARG
+# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
+# in a wine environment, working winepath, and LT_CYGPATH set. Returns result
+# in func_to_host_file_result.
+func_convert_file_nix_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_file_result=$1
+ if test -n "$1"; then
+ # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
+ func_convert_core_file_wine_to_w32 "$1"
+ func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
+ func_to_host_file_result=$func_cygpath_result
+ fi
+ func_convert_file_check "$1" "$func_to_host_file_result"
+}
+# end func_convert_file_nix_to_cygwin
+
+
+#############################################
+# $build to $host PATH CONVERSION FUNCTIONS #
+#############################################
+# invoked via '$to_host_path_cmd ARG'
+#
+# In each case, ARG is the path to be converted from $build to $host format.
+# The result will be available in $func_to_host_path_result.
+#
+# Path separators are also converted from $build format to $host format. If
+# ARG begins or ends with a path separator character, it is preserved (but
+# converted to $host format) on output.
+#
+# All path conversion functions are named using the following convention:
+# file name conversion function : func_convert_file_X_to_Y ()
+# path conversion function : func_convert_path_X_to_Y ()
+# where, for any given $build/$host combination the 'X_to_Y' value is the
+# same. If conversion functions are added for new $build/$host combinations,
+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
+# will break.
+
+
+# func_init_to_host_path_cmd
+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
+# appropriate value, based on the value of $to_host_file_cmd.
+to_host_path_cmd=
+func_init_to_host_path_cmd ()
+{
+ $debug_cmd
+
+ if test -z "$to_host_path_cmd"; then
+ func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
+ to_host_path_cmd=func_convert_path_$func_stripname_result
+ fi
+}
+
+
+# func_to_host_path ARG
+# Converts the path ARG from $build format to $host format. Return result
+# in func_to_host_path_result.
+func_to_host_path ()
+{
+ $debug_cmd
+
+ func_init_to_host_path_cmd
+ $to_host_path_cmd "$1"
+}
+# end func_to_host_path
+
+
+# func_convert_path_noop ARG
+# Copy ARG to func_to_host_path_result.
+func_convert_path_noop ()
+{
+ func_to_host_path_result=$1
+}
+# end func_convert_path_noop
+
+
+# func_convert_path_msys_to_w32 ARG
+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
+# conversion to w32 is not available inside the cwrapper. Returns result in
+# func_to_host_path_result.
+func_convert_path_msys_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from ARG. MSYS
+ # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
+ # and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result=$func_convert_core_msys_to_w32_result
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_msys_to_w32
+
+
+# func_convert_path_cygwin_to_w32 ARG
+# Convert path ARG from Cygwin to w32 format. Returns result in
+# func_to_host_file_result.
+func_convert_path_cygwin_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_cygwin_to_w32
+
+
+# func_convert_path_nix_to_w32 ARG
+# Convert path ARG from *nix to w32 format. Requires a wine environment and
+# a working winepath. Returns result in func_to_host_file_result.
+func_convert_path_nix_to_w32 ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
+ func_convert_path_check : ";" \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
+ fi
+}
+# end func_convert_path_nix_to_w32
+
+
+# func_convert_path_msys_to_cygwin ARG
+# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
+# Returns result in func_to_host_file_result.
+func_convert_path_msys_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # See func_convert_path_msys_to_w32:
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
+ func_to_host_path_result=$func_cygpath_result
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_msys_to_cygwin
+
+
+# func_convert_path_nix_to_cygwin ARG
+# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
+# a wine environment, working winepath, and LT_CYGPATH set. Returns result in
+# func_to_host_file_result.
+func_convert_path_nix_to_cygwin ()
+{
+ $debug_cmd
+
+ func_to_host_path_result=$1
+ if test -n "$1"; then
+ # Remove leading and trailing path separator characters from
+ # ARG. msys behavior is inconsistent here, cygpath turns them
+ # into '.;' and ';.', and winepath ignores them completely.
+ func_stripname : : "$1"
+ func_to_host_path_tmp1=$func_stripname_result
+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
+ func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
+ func_to_host_path_result=$func_cygpath_result
+ func_convert_path_check : : \
+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
+ fi
+}
+# end func_convert_path_nix_to_cygwin
+
+
+# func_dll_def_p FILE
+# True iff FILE is a Windows DLL '.def' file.
+# Keep in sync with _LT_DLL_DEF_P in libtool.m4
+func_dll_def_p ()
+{
+ $debug_cmd
+
+ func_dll_def_p_tmp=`$SED -n \
+ -e 's/^[ ]*//' \
+ -e '/^\(;.*\)*$/d' \
+ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \
+ -e q \
+ "$1"`
+ test DEF = "$func_dll_def_p_tmp"
+}
+
+
+# func_mode_compile arg...
+func_mode_compile ()
+{
+ $debug_cmd
+
+ # Get the compilation command and the source file.
+ base_compile=
+ srcfile=$nonopt # always keep a non-empty value in "srcfile"
+ suppress_opt=yes
+ suppress_output=
+ arg_mode=normal
+ libobj=
+ later=
+ pie_flag=
+
+ for arg
+ do
+ case $arg_mode in
+ arg )
+ # do not "continue". Instead, add this to base_compile
+ lastarg=$arg
+ arg_mode=normal
+ ;;
+
+ target )
+ libobj=$arg
+ arg_mode=normal
+ continue
+ ;;
+
+ normal )
+ # Accept any command-line options.
+ case $arg in
+ -o)
+ test -n "$libobj" && \
+ func_fatal_error "you cannot specify '-o' more than once"
+ arg_mode=target
+ continue
+ ;;
+
+ -pie | -fpie | -fPIE)
+ func_append pie_flag " $arg"
+ continue
+ ;;
+
+ -shared | -static | -prefer-pic | -prefer-non-pic)
+ func_append later " $arg"
+ continue
+ ;;
+
+ -no-suppress)
+ suppress_opt=no
+ continue
+ ;;
+
+ -Xcompiler)
+ arg_mode=arg # the next one goes into the "base_compile" arg list
+ continue # The current "srcfile" will either be retained or
+ ;; # replaced later. I would guess that would be a bug.
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ lastarg=
+ save_ifs=$IFS; IFS=,
+ for arg in $args; do
+ IFS=$save_ifs
+ func_append_quoted lastarg "$arg"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$lastarg"
+ lastarg=$func_stripname_result
+
+ # Add the arguments to base_compile.
+ func_append base_compile " $lastarg"
+ continue
+ ;;
+
+ *)
+ # Accept the current argument as the source file.
+ # The previous "srcfile" becomes the current argument.
+ #
+ lastarg=$srcfile
+ srcfile=$arg
+ ;;
+ esac # case $arg
+ ;;
+ esac # case $arg_mode
+
+ # Aesthetically quote the previous argument.
+ func_append_quoted base_compile "$lastarg"
+ done # for arg
+
+ case $arg_mode in
+ arg)
+ func_fatal_error "you must specify an argument for -Xcompile"
+ ;;
+ target)
+ func_fatal_error "you must specify a target with '-o'"
+ ;;
+ *)
+ # Get the name of the library object.
+ test -z "$libobj" && {
+ func_basename "$srcfile"
+ libobj=$func_basename_result
+ }
+ ;;
+ esac
+
+ # Recognize several different file suffixes.
+ # If the user specifies -o file.o, it is replaced with file.lo
+ case $libobj in
+ *.[cCFSifmso] | \
+ *.ada | *.adb | *.ads | *.asm | \
+ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
+ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
+ func_xform "$libobj"
+ libobj=$func_xform_result
+ ;;
+ esac
+
+ case $libobj in
+ *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
+ *)
+ func_fatal_error "cannot determine name of library object from '$libobj'"
+ ;;
+ esac
+
+ func_infer_tag $base_compile
+
+ for arg in $later; do
+ case $arg in
+ -shared)
+ test yes = "$build_libtool_libs" \
+ || func_fatal_configuration "cannot build a shared library"
+ build_old_libs=no
+ continue
+ ;;
+
+ -static)
+ build_libtool_libs=no
+ build_old_libs=yes
+ continue
+ ;;
+
+ -prefer-pic)
+ pic_mode=yes
+ continue
+ ;;
+
+ -prefer-non-pic)
+ pic_mode=no
+ continue
+ ;;
+ esac
+ done
+
+ func_quote_for_eval "$libobj"
+ test "X$libobj" != "X$func_quote_for_eval_result" \
+ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
+ && func_warning "libobj name '$libobj' may not contain shell special characters."
+ func_dirname_and_basename "$obj" "/" ""
+ objname=$func_basename_result
+ xdir=$func_dirname_result
+ lobj=$xdir$objdir/$objname
+
+ test -z "$base_compile" && \
+ func_fatal_help "you must specify a compilation command"
+
+ # Delete any leftover library objects.
+ if test yes = "$build_old_libs"; then
+ removelist="$obj $lobj $libobj ${libobj}T"
+ else
+ removelist="$lobj $libobj ${libobj}T"
+ fi
+
+ # On Cygwin there's no "real" PIC flag so we must build both object types
+ case $host_os in
+ cygwin* | mingw* | pw32* | os2* | cegcc*)
+ pic_mode=default
+ ;;
+ esac
+ if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
+ # non-PIC code in shared libraries is not supported
+ pic_mode=default
+ fi
+
+ # Calculate the filename of the output object if compiler does
+ # not support -o with -c
+ if test no = "$compiler_c_o"; then
+ output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
+ lockfile=$output_obj.lock
+ else
+ output_obj=
+ need_locks=no
+ lockfile=
+ fi
+
+ # Lock this critical section if it is needed
+ # We use this script file to make the link, it avoids creating a new file
+ if test yes = "$need_locks"; then
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ elif test warn = "$need_locks"; then
+ if test -f "$lockfile"; then
+ $ECHO "\
+*** ERROR, $lockfile exists and contains:
+`cat $lockfile 2>/dev/null`
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+ func_append removelist " $output_obj"
+ $ECHO "$srcfile" > "$lockfile"
+ fi
+
+ $opt_dry_run || $RM $removelist
+ func_append removelist " $lockfile"
+ trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
+
+ func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
+ srcfile=$func_to_tool_file_result
+ func_quote_for_eval "$srcfile"
+ qsrcfile=$func_quote_for_eval_result
+
+ # Only build a PIC object if we are building libtool libraries.
+ if test yes = "$build_libtool_libs"; then
+ # Without this assignment, base_compile gets emptied.
+ fbsd_hideous_sh_bug=$base_compile
+
+ if test no != "$pic_mode"; then
+ command="$base_compile $qsrcfile $pic_flag"
+ else
+ # Don't build PIC code
+ command="$base_compile $qsrcfile"
+ fi
+
+ func_mkdir_p "$xdir$objdir"
+
+ if test -z "$output_obj"; then
+ # Place PIC objects in $objdir
+ func_append command " -o $lobj"
+ fi
+
+ func_show_eval_locale "$command" \
+ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
+
+ if test warn = "$need_locks" &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed, then go on to compile the next one
+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
+ func_show_eval '$MV "$output_obj" "$lobj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+
+ # Allow error messages only from the first compilation.
+ if test yes = "$suppress_opt"; then
+ suppress_output=' >/dev/null 2>&1'
+ fi
+ fi
+
+ # Only build a position-dependent object if we build old libraries.
+ if test yes = "$build_old_libs"; then
+ if test yes != "$pic_mode"; then
+ # Don't build PIC code
+ command="$base_compile $qsrcfile$pie_flag"
+ else
+ command="$base_compile $qsrcfile $pic_flag"
+ fi
+ if test yes = "$compiler_c_o"; then
+ func_append command " -o $obj"
+ fi
+
+ # Suppress compiler output if we already did a PIC compilation.
+ func_append command "$suppress_output"
+ func_show_eval_locale "$command" \
+ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
+
+ if test warn = "$need_locks" &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $ECHO "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support '-c' and '-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $opt_dry_run || $RM $removelist
+ exit $EXIT_FAILURE
+ fi
+
+ # Just move the object if needed
+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
+ func_show_eval '$MV "$output_obj" "$obj"' \
+ 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
+ fi
+ fi
+
+ $opt_dry_run || {
+ func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
+
+ # Unlock the critical section if it was locked
+ if test no != "$need_locks"; then
+ removelist=$lockfile
+ $RM "$lockfile"
+ fi
+ }
+
+ exit $EXIT_SUCCESS
+}
+
+$opt_help || {
+ test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
+}
+
+func_mode_help ()
+{
+ # We need to display help for each of the modes.
+ case $opt_mode in
+ "")
+ # Generic help is extracted from the usage comments
+ # at the start of this file.
+ func_help
+ ;;
+
+ clean)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
+
+Remove files from the build directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
+to RM.
+
+If FILE is a libtool library, object or program, all the files associated
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ compile)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
+
+Compile a source file into a libtool library object.
+
+This mode accepts the following additional options:
+
+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE
+ -no-suppress do not suppress compiler output for multiple passes
+ -prefer-pic try to build PIC objects only
+ -prefer-non-pic try to build non-PIC objects only
+ -shared do not build a '.o' file suitable for static linking
+ -static only build a '.o' file suitable for static linking
+ -Wc,FLAG pass FLAG directly to the compiler
+
+COMPILE-COMMAND is a command to be used in creating a 'standard' object file
+from the given SOURCEFILE.
+
+The output file name is determined by removing the directory component from
+SOURCEFILE, then substituting the C source code suffix '.c' with the
+library object suffix, '.lo'."
+ ;;
+
+ execute)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
+
+Automatically set library path, then run a program.
+
+This mode accepts the following additional options:
+
+ -dlopen FILE add the directory containing FILE to the library path
+
+This mode sets the library path environment variable according to '-dlopen'
+flags.
+
+If any of the ARGS are libtool executable wrappers, then they are translated
+into their corresponding uninstalled binary, and any of their required library
+directories are added to the library path.
+
+Then, COMMAND is executed, with ARGS as arguments."
+ ;;
+
+ finish)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
+
+Complete the installation of libtool libraries.
+
+Each LIBDIR is a directory that contains libtool libraries.
+
+The commands that this mode executes may require superuser privileges. Use
+the '--dry-run' option if you just want to see what would be executed."
+ ;;
+
+ install)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
+
+Install executables or libraries.
+
+INSTALL-COMMAND is the installation command. The first component should be
+either the 'install' or 'cp' program.
+
+The following components of INSTALL-COMMAND are treated specially:
+
+ -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
+
+The rest of the components are interpreted as arguments to that command (only
+BSD-compatible install options are recognized)."
+ ;;
+
+ link)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
+
+Link object files or libraries together to form another library, or to
+create an executable program.
+
+LINK-COMMAND is a command using the C compiler that you would use to create
+a program from several object files.
+
+The following components of LINK-COMMAND are treated specially:
+
+ -all-static do not do any dynamic linking at all
+ -avoid-version do not add a version suffix if possible
+ -bindir BINDIR specify path to binaries directory (for systems where
+ libraries must be found in the PATH setting at runtime)
+ -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime
+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
+ -export-symbols SYMFILE
+ try to export only the symbols listed in SYMFILE
+ -export-symbols-regex REGEX
+ try to export only the symbols matching REGEX
+ -LLIBDIR search LIBDIR for required installed libraries
+ -lNAME OUTPUT-FILE requires the installed library libNAME
+ -module build a library that can dlopened
+ -no-fast-install disable the fast-install mode
+ -no-install link a not-installable executable
+ -no-undefined declare that a library does not refer to external symbols
+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
+ -objectlist FILE use a list of object files found in FILE to specify objects
+ -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes)
+ -precious-files-regex REGEX
+ don't remove output files matching REGEX
+ -release RELEASE specify package release information
+ -rpath LIBDIR the created library will eventually be installed in LIBDIR
+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
+ -shared only do dynamic linking of libtool libraries
+ -shrext SUFFIX override the standard shared library file extension
+ -static do not do any dynamic linking of uninstalled libtool libraries
+ -static-libtool-libs
+ do not do any dynamic linking of libtool libraries
+ -version-info CURRENT[:REVISION[:AGE]]
+ specify library version info [each variable defaults to 0]
+ -weak LIBNAME declare that the target provides the LIBNAME interface
+ -Wc,FLAG
+ -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
+ -Wl,FLAG
+ -Xlinker FLAG pass linker-specific FLAG directly to the linker
+ -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
+
+All other options (arguments beginning with '-') are ignored.
+
+Every other argument is treated as a filename. Files ending in '.la' are
+treated as uninstalled libtool libraries, other files are standard or library
+object files.
+
+If the OUTPUT-FILE ends in '.la', then a libtool library is created,
+only library objects ('.lo' files) may be specified, and '-rpath' is
+required, except when creating a convenience library.
+
+If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
+using 'ar' and 'ranlib', or on Windows using 'lib'.
+
+If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
+is created, otherwise an executable program is created."
+ ;;
+
+ uninstall)
+ $ECHO \
+"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
+
+Remove libraries from an installation directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed
+to RM.
+
+If FILE is a libtool library, all the files associated with it are deleted.
+Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+ *)
+ func_fatal_help "invalid operation mode '$opt_mode'"
+ ;;
+ esac
+
+ echo
+ $ECHO "Try '$progname --help' for more information about other modes."
+}
+
+# Now that we've collected a possible --mode arg, show help if necessary
+if $opt_help; then
+ if test : = "$opt_help"; then
+ func_mode_help
+ else
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ func_mode_help
+ done
+ } | $SED -n '1p; 2,$s/^Usage:/ or: /p'
+ {
+ func_help noexit
+ for opt_mode in compile link execute install finish uninstall clean; do
+ echo
+ func_mode_help
+ done
+ } |
+ $SED '1d
+ /^When reporting/,/^Report/{
+ H
+ d
+ }
+ $x
+ /information about other modes/d
+ /more detailed .*MODE/d
+ s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
+ fi
+ exit $?
+fi
+
+
+# func_mode_execute arg...
+func_mode_execute ()
+{
+ $debug_cmd
+
+ # The first argument is the command name.
+ cmd=$nonopt
+ test -z "$cmd" && \
+ func_fatal_help "you must specify a COMMAND"
+
+ # Handle -dlopen flags immediately.
+ for file in $opt_dlopen; do
+ test -f "$file" \
+ || func_fatal_help "'$file' is not a file"
+
+ dir=
+ case $file in
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "'$lib' is not a valid libtool archive"
+
+ # Read the libtool library.
+ dlname=
+ library_names=
+ func_source "$file"
+
+ # Skip this library if it cannot be dlopened.
+ if test -z "$dlname"; then
+ # Warn if it was a shared library.
+ test -n "$library_names" && \
+ func_warning "'$file' was not linked with '-export-dynamic'"
+ continue
+ fi
+
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+
+ if test -f "$dir/$objdir/$dlname"; then
+ func_append dir "/$objdir"
+ else
+ if test ! -f "$dir/$dlname"; then
+ func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
+ fi
+ fi
+ ;;
+
+ *.lo)
+ # Just add the directory containing the .lo file.
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+ ;;
+
+ *)
+ func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
+ continue
+ ;;
+ esac
+
+ # Get the absolute pathname.
+ absdir=`cd "$dir" && pwd`
+ test -n "$absdir" && dir=$absdir
+
+ # Now add the directory to shlibpath_var.
+ if eval "test -z \"\$$shlibpath_var\""; then
+ eval "$shlibpath_var=\"\$dir\""
+ else
+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
+ fi
+ done
+
+ # This variable tells wrapper scripts just to set shlibpath_var
+ # rather than running their programs.
+ libtool_execute_magic=$magic
+
+ # Check if any of the arguments is a wrapper script.
+ args=
+ for file
+ do
+ case $file in
+ -* | *.la | *.lo ) ;;
+ *)
+ # Do a test to see if this is really a libtool program.
+ if func_ltwrapper_script_p "$file"; then
+ func_source "$file"
+ # Transform arg to wrapped name.
+ file=$progdir/$program
+ elif func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ func_source "$func_ltwrapper_scriptname_result"
+ # Transform arg to wrapped name.
+ file=$progdir/$program
+ fi
+ ;;
+ esac
+ # Quote arguments (to preserve shell metacharacters).
+ func_append_quoted args "$file"
+ done
+
+ if $opt_dry_run; then
+ # Display what would be done.
+ if test -n "$shlibpath_var"; then
+ eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
+ echo "export $shlibpath_var"
+ fi
+ $ECHO "$cmd$args"
+ exit $EXIT_SUCCESS
+ else
+ if test -n "$shlibpath_var"; then
+ # Export the shlibpath_var.
+ eval "export $shlibpath_var"
+ fi
+
+ # Restore saved environment variables
+ for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
+ do
+ eval "if test \"\${save_$lt_var+set}\" = set; then
+ $lt_var=\$save_$lt_var; export $lt_var
+ else
+ $lt_unset $lt_var
+ fi"
+ done
+
+ # Now prepare to actually exec the command.
+ exec_cmd=\$cmd$args
+ fi
+}
+
+test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
+
+
+# func_mode_finish arg...
+func_mode_finish ()
+{
+ $debug_cmd
+
+ libs=
+ libdirs=
+ admincmds=
+
+ for opt in "$nonopt" ${1+"$@"}
+ do
+ if test -d "$opt"; then
+ func_append libdirs " $opt"
+
+ elif test -f "$opt"; then
+ if func_lalib_unsafe_p "$opt"; then
+ func_append libs " $opt"
+ else
+ func_warning "'$opt' is not a valid libtool archive"
+ fi
+
+ else
+ func_fatal_error "invalid argument '$opt'"
+ fi
+ done
+
+ if test -n "$libs"; then
+ if test -n "$lt_sysroot"; then
+ sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
+ sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
+ else
+ sysroot_cmd=
+ fi
+
+ # Remove sysroot references
+ if $opt_dry_run; then
+ for lib in $libs; do
+ echo "removing references to $lt_sysroot and '=' prefixes from $lib"
+ done
+ else
+ tmpdir=`func_mktempdir`
+ for lib in $libs; do
+ $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
+ > $tmpdir/tmp-la
+ mv -f $tmpdir/tmp-la $lib
+ done
+ ${RM}r "$tmpdir"
+ fi
+ fi
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ for libdir in $libdirs; do
+ if test -n "$finish_cmds"; then
+ # Do each command in the finish commands.
+ func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
+'"$cmd"'"'
+ fi
+ if test -n "$finish_eval"; then
+ # Do the single finish_eval.
+ eval cmds=\"$finish_eval\"
+ $opt_dry_run || eval "$cmds" || func_append admincmds "
+ $cmds"
+ fi
+ done
+ fi
+
+ # Exit here if they wanted silent mode.
+ $opt_quiet && exit $EXIT_SUCCESS
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ echo "----------------------------------------------------------------------"
+ echo "Libraries have been installed in:"
+ for libdir in $libdirs; do
+ $ECHO " $libdir"
+ done
+ echo
+ echo "If you ever happen to want to link against installed libraries"
+ echo "in a given directory, LIBDIR, you must either use libtool, and"
+ echo "specify the full pathname of the library, or use the '-LLIBDIR'"
+ echo "flag during linking and do at least one of the following:"
+ if test -n "$shlibpath_var"; then
+ echo " - add LIBDIR to the '$shlibpath_var' environment variable"
+ echo " during execution"
+ fi
+ if test -n "$runpath_var"; then
+ echo " - add LIBDIR to the '$runpath_var' environment variable"
+ echo " during linking"
+ fi
+ if test -n "$hardcode_libdir_flag_spec"; then
+ libdir=LIBDIR
+ eval flag=\"$hardcode_libdir_flag_spec\"
+
+ $ECHO " - use the '$flag' linker flag"
+ fi
+ if test -n "$admincmds"; then
+ $ECHO " - have your system administrator run these commands:$admincmds"
+ fi
+ if test -f /etc/ld.so.conf; then
+ echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
+ fi
+ echo
+
+ echo "See any operating system documentation about shared libraries for"
+ case $host in
+ solaris2.[6789]|solaris2.1[0-9])
+ echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
+ echo "pages."
+ ;;
+ *)
+ echo "more information, such as the ld(1) and ld.so(8) manual pages."
+ ;;
+ esac
+ echo "----------------------------------------------------------------------"
+ fi
+ exit $EXIT_SUCCESS
+}
+
+test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
+
+
+# func_mode_install arg...
+func_mode_install ()
+{
+ $debug_cmd
+
+ # There may be an optional sh(1) argument at the beginning of
+ # install_prog (especially on Windows NT).
+ if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
+ # Allow the use of GNU shtool's install command.
+ case $nonopt in *shtool*) :;; *) false;; esac
+ then
+ # Aesthetically quote it.
+ func_quote_for_eval "$nonopt"
+ install_prog="$func_quote_for_eval_result "
+ arg=$1
+ shift
+ else
+ install_prog=
+ arg=$nonopt
+ fi
+
+ # The real first argument should be the name of the installation program.
+ # Aesthetically quote it.
+ func_quote_for_eval "$arg"
+ func_append install_prog "$func_quote_for_eval_result"
+ install_shared_prog=$install_prog
+ case " $install_prog " in
+ *[\\\ /]cp\ *) install_cp=: ;;
+ *) install_cp=false ;;
+ esac
+
+ # We need to accept at least all the BSD install flags.
+ dest=
+ files=
+ opts=
+ prev=
+ install_type=
+ isdir=false
+ stripme=
+ no_mode=:
+ for arg
+ do
+ arg2=
+ if test -n "$dest"; then
+ func_append files " $dest"
+ dest=$arg
+ continue
+ fi
+
+ case $arg in
+ -d) isdir=: ;;
+ -f)
+ if $install_cp; then :; else
+ prev=$arg
+ fi
+ ;;
+ -g | -m | -o)
+ prev=$arg
+ ;;
+ -s)
+ stripme=" -s"
+ continue
+ ;;
+ -*)
+ ;;
+ *)
+ # If the previous option needed an argument, then skip it.
+ if test -n "$prev"; then
+ if test X-m = "X$prev" && test -n "$install_override_mode"; then
+ arg2=$install_override_mode
+ no_mode=false
+ fi
+ prev=
+ else
+ dest=$arg
+ continue
+ fi
+ ;;
+ esac
+
+ # Aesthetically quote the argument.
+ func_quote_for_eval "$arg"
+ func_append install_prog " $func_quote_for_eval_result"
+ if test -n "$arg2"; then
+ func_quote_for_eval "$arg2"
+ fi
+ func_append install_shared_prog " $func_quote_for_eval_result"
+ done
+
+ test -z "$install_prog" && \
+ func_fatal_help "you must specify an install program"
+
+ test -n "$prev" && \
+ func_fatal_help "the '$prev' option requires an argument"
+
+ if test -n "$install_override_mode" && $no_mode; then
+ if $install_cp; then :; else
+ func_quote_for_eval "$install_override_mode"
+ func_append install_shared_prog " -m $func_quote_for_eval_result"
+ fi
+ fi
+
+ if test -z "$files"; then
+ if test -z "$dest"; then
+ func_fatal_help "no file or destination specified"
+ else
+ func_fatal_help "you must specify a destination"
+ fi
+ fi
+
+ # Strip any trailing slash from the destination.
+ func_stripname '' '/' "$dest"
+ dest=$func_stripname_result
+
+ # Check to see that the destination is a directory.
+ test -d "$dest" && isdir=:
+ if $isdir; then
+ destdir=$dest
+ destname=
+ else
+ func_dirname_and_basename "$dest" "" "."
+ destdir=$func_dirname_result
+ destname=$func_basename_result
+
+ # Not a directory, so check to see that there is only one file specified.
+ set dummy $files; shift
+ test "$#" -gt 1 && \
+ func_fatal_help "'$dest' is not a directory"
+ fi
+ case $destdir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ for file in $files; do
+ case $file in
+ *.lo) ;;
+ *)
+ func_fatal_help "'$destdir' must be an absolute directory name"
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic=$magic
+
+ staticlibs=
+ future_libdirs=
+ current_libdirs=
+ for file in $files; do
+
+ # Do each installation.
+ case $file in
+ *.$libext)
+ # Do the static libraries later.
+ func_append staticlibs " $file"
+ ;;
+
+ *.la)
+ func_resolve_sysroot "$file"
+ file=$func_resolve_sysroot_result
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$file" \
+ || func_fatal_help "'$file' is not a valid libtool archive"
+
+ library_names=
+ old_library=
+ relink_command=
+ func_source "$file"
+
+ # Add the libdir to current_libdirs if it is the destination.
+ if test "X$destdir" = "X$libdir"; then
+ case "$current_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append current_libdirs " $libdir" ;;
+ esac
+ else
+ # Note the libdir as a future libdir.
+ case "$future_libdirs " in
+ *" $libdir "*) ;;
+ *) func_append future_libdirs " $libdir" ;;
+ esac
+ fi
+
+ func_dirname "$file" "/" ""
+ dir=$func_dirname_result
+ func_append dir "$objdir"
+
+ if test -n "$relink_command"; then
+ # Determine the prefix the user has applied to our future dir.
+ inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
+
+ # Don't allow the user to place us outside of our expected
+ # location b/c this prevents finding dependent libraries that
+ # are installed to the same prefix.
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+ test "$inst_prefix_dir" = "$destdir" && \
+ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+ else
+ relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
+ fi
+
+ func_warning "relinking '$file'"
+ func_show_eval "$relink_command" \
+ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
+ fi
+
+ # See the names of the shared library.
+ set dummy $library_names; shift
+ if test -n "$1"; then
+ realname=$1
+ shift
+
+ srcname=$realname
+ test -n "$relink_command" && srcname=${realname}T
+
+ # Install the shared library and build the symlinks.
+ func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
+ 'exit $?'
+ tstripme=$stripme
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $realname in
+ *.dll.a)
+ tstripme=
+ ;;
+ esac
+ ;;
+ os2*)
+ case $realname in
+ *_dll.a)
+ tstripme=
+ ;;
+ esac
+ ;;
+ esac
+ if test -n "$tstripme" && test -n "$striplib"; then
+ func_show_eval "$striplib $destdir/$realname" 'exit $?'
+ fi
+
+ if test "$#" -gt 0; then
+ # Delete the old symlinks, and create new ones.
+ # Try 'ln -sf' first, because the 'ln' binary might depend on
+ # the symlink we replace! Solaris /bin/ln does not understand -f,
+ # so we also need to try rm && ln -s.
+ for linkname
+ do
+ test "$linkname" != "$realname" \
+ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
+ done
+ fi
+
+ # Do each command in the postinstall commands.
+ lib=$destdir/$realname
+ func_execute_cmds "$postinstall_cmds" 'exit $?'
+ fi
+
+ # Install the pseudo-library for information purposes.
+ func_basename "$file"
+ name=$func_basename_result
+ instname=$dir/${name}i
+ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && func_append staticlibs " $dir/$old_library"
+ ;;
+
+ *.lo)
+ # Install (i.e. copy) a libtool object.
+
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile=$destdir/$destname
+ else
+ func_basename "$file"
+ destfile=$func_basename_result
+ destfile=$destdir/$destfile
+ fi
+
+ # Deduce the name of the destination old-style object file.
+ case $destfile in
+ *.lo)
+ func_lo2o "$destfile"
+ staticdest=$func_lo2o_result
+ ;;
+ *.$objext)
+ staticdest=$destfile
+ destfile=
+ ;;
+ *)
+ func_fatal_help "cannot copy a libtool object to '$destfile'"
+ ;;
+ esac
+
+ # Install the libtool object if requested.
+ test -n "$destfile" && \
+ func_show_eval "$install_prog $file $destfile" 'exit $?'
+
+ # Install the old object if enabled.
+ if test yes = "$build_old_libs"; then
+ # Deduce the name of the old-style object file.
+ func_lo2o "$file"
+ staticobj=$func_lo2o_result
+ func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
+ fi
+ exit $EXIT_SUCCESS
+ ;;
+
+ *)
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile=$destdir/$destname
+ else
+ func_basename "$file"
+ destfile=$func_basename_result
+ destfile=$destdir/$destfile
+ fi
+
+ # If the file is missing, and there is a .exe on the end, strip it
+ # because it is most likely a libtool script we actually want to
+ # install
+ stripped_ext=
+ case $file in
+ *.exe)
+ if test ! -f "$file"; then
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ stripped_ext=.exe
+ fi
+ ;;
+ esac
+
+ # Do a test to see if this is really a libtool program.
+ case $host in
+ *cygwin* | *mingw*)
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ wrapper=$func_ltwrapper_scriptname_result
+ else
+ func_stripname '' '.exe' "$file"
+ wrapper=$func_stripname_result
+ fi
+ ;;
+ *)
+ wrapper=$file
+ ;;
+ esac
+ if func_ltwrapper_script_p "$wrapper"; then
+ notinst_deplibs=
+ relink_command=
+
+ func_source "$wrapper"
+
+ # Check the variables that should have been set.
+ test -z "$generated_by_libtool_version" && \
+ func_fatal_error "invalid libtool wrapper script '$wrapper'"
+
+ finalize=:
+ for lib in $notinst_deplibs; do
+ # Check to see that each library is installed.
+ libdir=
+ if test -f "$lib"; then
+ func_source "$lib"
+ fi
+ libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
+ if test -n "$libdir" && test ! -f "$libfile"; then
+ func_warning "'$lib' has not been installed in '$libdir'"
+ finalize=false
+ fi
+ done
+
+ relink_command=
+ func_source "$wrapper"
+
+ outputname=
+ if test no = "$fast_install" && test -n "$relink_command"; then
+ $opt_dry_run || {
+ if $finalize; then
+ tmpdir=`func_mktempdir`
+ func_basename "$file$stripped_ext"
+ file=$func_basename_result
+ outputname=$tmpdir/$file
+ # Replace the output file specification.
+ relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
+
+ $opt_quiet || {
+ func_quote_for_expand "$relink_command"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ if eval "$relink_command"; then :
+ else
+ func_error "error: relink '$file' with the above command before installing it"
+ $opt_dry_run || ${RM}r "$tmpdir"
+ continue
+ fi
+ file=$outputname
+ else
+ func_warning "cannot relink '$file'"
+ fi
+ }
+ else
+ # Install the binary that we compiled earlier.
+ file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
+ fi
+ fi
+
+ # remove .exe since cygwin /usr/bin/install will append another
+ # one anyway
+ case $install_prog,$host in
+ */usr/bin/install*,*cygwin*)
+ case $file:$destfile in
+ *.exe:*.exe)
+ # this is ok
+ ;;
+ *.exe:*)
+ destfile=$destfile.exe
+ ;;
+ *:*.exe)
+ func_stripname '' '.exe' "$destfile"
+ destfile=$func_stripname_result
+ ;;
+ esac
+ ;;
+ esac
+ func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
+ $opt_dry_run || if test -n "$outputname"; then
+ ${RM}r "$tmpdir"
+ fi
+ ;;
+ esac
+ done
+
+ for file in $staticlibs; do
+ func_basename "$file"
+ name=$func_basename_result
+
+ # Set up the ranlib parameters.
+ oldlib=$destdir/$name
+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+ tool_oldlib=$func_to_tool_file_result
+
+ func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
+
+ if test -n "$stripme" && test -n "$old_striplib"; then
+ func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
+ fi
+
+ # Do each command in the postinstall commands.
+ func_execute_cmds "$old_postinstall_cmds" 'exit $?'
+ done
+
+ test -n "$future_libdirs" && \
+ func_warning "remember to run '$progname --finish$future_libdirs'"
+
+ if test -n "$current_libdirs"; then
+ # Maybe just do a dry run.
+ $opt_dry_run && current_libdirs=" -n$current_libdirs"
+ exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
+ else
+ exit $EXIT_SUCCESS
+ fi
+}
+
+test install = "$opt_mode" && func_mode_install ${1+"$@"}
+
+
+# func_generate_dlsyms outputname originator pic_p
+# Extract symbols from dlprefiles and create ${outputname}S.o with
+# a dlpreopen symbol table.
+func_generate_dlsyms ()
+{
+ $debug_cmd
+
+ my_outputname=$1
+ my_originator=$2
+ my_pic_p=${3-false}
+ my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
+ my_dlsyms=
+
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ if test -n "$NM" && test -n "$global_symbol_pipe"; then
+ my_dlsyms=${my_outputname}S.c
+ else
+ func_error "not configured to extract global symbols from dlpreopened files"
+ fi
+ fi
+
+ if test -n "$my_dlsyms"; then
+ case $my_dlsyms in
+ "") ;;
+ *.c)
+ # Discover the nlist of each of the dlfiles.
+ nlist=$output_objdir/$my_outputname.nm
+
+ func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
+
+ # Parse the name list into a source file.
+ func_verbose "creating $output_objdir/$my_dlsyms"
+
+ $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
+/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
+/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
+
+#ifdef __cplusplus
+extern \"C\" {
+#endif
+
+#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
+#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
+#endif
+
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT_DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT_DLSYM_CONST
+#else
+# define LT_DLSYM_CONST const
+#endif
+
+#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
+
+/* External symbol declarations for the compiler. */\
+"
+
+ if test yes = "$dlself"; then
+ func_verbose "generating symbol list for '$output'"
+
+ $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
+
+ # Add our own program objects to the symbol list.
+ progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ for progfile in $progfiles; do
+ func_to_tool_file "$progfile" func_convert_file_msys_to_w32
+ func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
+ $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -n "$exclude_expsyms"; then
+ $opt_dry_run || {
+ eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ if test -n "$export_symbols_regex"; then
+ $opt_dry_run || {
+ eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ }
+ fi
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ export_symbols=$output_objdir/$outputname.exp
+ $opt_dry_run || {
+ $RM $export_symbols
+ eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ else
+ $opt_dry_run || {
+ eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
+ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
+ eval '$MV "$nlist"T "$nlist"'
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
+ eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
+ ;;
+ esac
+ }
+ fi
+ fi
+
+ for dlprefile in $dlprefiles; do
+ func_verbose "extracting global C symbols from '$dlprefile'"
+ func_basename "$dlprefile"
+ name=$func_basename_result
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ # if an import library, we need to obtain dlname
+ if func_win32_import_lib_p "$dlprefile"; then
+ func_tr_sh "$dlprefile"
+ eval "curr_lafile=\$libfile_$func_tr_sh_result"
+ dlprefile_dlbasename=
+ if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
+ # Use subshell, to avoid clobbering current variable values
+ dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
+ if test -n "$dlprefile_dlname"; then
+ func_basename "$dlprefile_dlname"
+ dlprefile_dlbasename=$func_basename_result
+ else
+ # no lafile. user explicitly requested -dlpreopen <import library>.
+ $sharedlib_from_linklib_cmd "$dlprefile"
+ dlprefile_dlbasename=$sharedlib_from_linklib_result
+ fi
+ fi
+ $opt_dry_run || {
+ if test -n "$dlprefile_dlbasename"; then
+ eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
+ else
+ func_warning "Could not compute DLL name from $name"
+ eval '$ECHO ": $name " >> "$nlist"'
+ fi
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
+ $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
+ }
+ else # not an import lib
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ fi
+ ;;
+ *)
+ $opt_dry_run || {
+ eval '$ECHO ": $name " >> "$nlist"'
+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
+ }
+ ;;
+ esac
+ done
+
+ $opt_dry_run || {
+ # Make sure we have at least an empty file.
+ test -f "$nlist" || : > "$nlist"
+
+ if test -n "$exclude_expsyms"; then
+ $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
+ $MV "$nlist"T "$nlist"
+ fi
+
+ # Try sorting and uniquifying the output.
+ if $GREP -v "^: " < "$nlist" |
+ if sort -k 3 </dev/null >/dev/null 2>&1; then
+ sort -k 3
+ else
+ sort +2
+ fi |
+ uniq > "$nlist"S; then
+ :
+ else
+ $GREP -v "^: " < "$nlist" > "$nlist"S
+ fi
+
+ if test -f "$nlist"S; then
+ eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
+ else
+ echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
+ fi
+
+ func_show_eval '$RM "${nlist}I"'
+ if test -n "$global_symbol_to_import"; then
+ eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
+ fi
+
+ echo >> "$output_objdir/$my_dlsyms" "\
+
+/* The mapping between symbol names and symbols. */
+typedef struct {
+ const char *name;
+ void *address;
+} lt_dlsymlist;
+extern LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[];\
+"
+
+ if test -s "$nlist"I; then
+ echo >> "$output_objdir/$my_dlsyms" "\
+static void lt_syminit(void)
+{
+ LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
+ for (; symbol->name; ++symbol)
+ {"
+ $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
+ echo >> "$output_objdir/$my_dlsyms" "\
+ }
+}"
+ fi
+ echo >> "$output_objdir/$my_dlsyms" "\
+LT_DLSYM_CONST lt_dlsymlist
+lt_${my_prefix}_LTX_preloaded_symbols[] =
+{ {\"$my_originator\", (void *) 0},"
+
+ if test -s "$nlist"I; then
+ echo >> "$output_objdir/$my_dlsyms" "\
+ {\"@INIT@\", (void *) <_syminit},"
+ fi
+
+ case $need_lib_prefix in
+ no)
+ eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ *)
+ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
+ ;;
+ esac
+ echo >> "$output_objdir/$my_dlsyms" "\
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt_${my_prefix}_LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif\
+"
+ } # !$opt_dry_run
+
+ pic_flag_for_symtable=
+ case "$compile_command " in
+ *" -static "*) ;;
+ *)
+ case $host in
+ # compiling the symbol table file with pic_flag works around
+ # a FreeBSD bug that causes programs to crash when -lm is
+ # linked before any other PIC object. But we must not use
+ # pic_flag when linking with -static. The problem exists in
+ # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
+ *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
+ *-*-hpux*)
+ pic_flag_for_symtable=" $pic_flag" ;;
+ *)
+ $my_pic_p && pic_flag_for_symtable=" $pic_flag"
+ ;;
+ esac
+ ;;
+ esac
+ symtab_cflags=
+ for arg in $LTCFLAGS; do
+ case $arg in
+ -pie | -fpie | -fPIE) ;;
+ *) func_append symtab_cflags " $arg" ;;
+ esac
+ done
+
+ # Now compile the dynamic symbol file.
+ func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
+
+ # Clean up the generated files.
+ func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
+
+ # Transform the symbol file into the correct name.
+ symfileobj=$output_objdir/${my_outputname}S.$objext
+ case $host in
+ *cygwin* | *mingw* | *cegcc* )
+ if test -f "$output_objdir/$my_outputname.def"; then
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
+ else
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ fi
+ ;;
+ *)
+ compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
+ ;;
+ esac
+ ;;
+ *)
+ func_fatal_error "unknown suffix for '$my_dlsyms'"
+ ;;
+ esac
+ else
+ # We keep going just in case the user didn't refer to
+ # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
+ # really was required.
+
+ # Nullify the symbol file.
+ compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
+ finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
+ fi
+}
+
+# func_cygming_gnu_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is a GNU/binutils-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_gnu_implib_p ()
+{
+ $debug_cmd
+
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
+ test -n "$func_cygming_gnu_implib_tmp"
+}
+
+# func_cygming_ms_implib_p ARG
+# This predicate returns with zero status (TRUE) if
+# ARG is an MS-style import library. Returns
+# with nonzero status (FALSE) otherwise.
+func_cygming_ms_implib_p ()
+{
+ $debug_cmd
+
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
+ test -n "$func_cygming_ms_implib_tmp"
+}
+
+# func_win32_libid arg
+# return the library type of file 'arg'
+#
+# Need a lot of goo to handle *both* DLLs and import libs
+# Has to be a shell function in order to 'eat' the argument
+# that is supplied when $file_magic_command is called.
+# Despite the name, also deal with 64 bit binaries.
+func_win32_libid ()
+{
+ $debug_cmd
+
+ win32_libid_type=unknown
+ win32_fileres=`file -L $1 2>/dev/null`
+ case $win32_fileres in
+ *ar\ archive\ import\ library*) # definitely import
+ win32_libid_type="x86 archive import"
+ ;;
+ *ar\ archive*) # could be an import, or static
+ # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
+ $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+ case $nm_interface in
+ "MS dumpbin")
+ if func_cygming_ms_implib_p "$1" ||
+ func_cygming_gnu_implib_p "$1"
+ then
+ win32_nmres=import
+ else
+ win32_nmres=
+ fi
+ ;;
+ *)
+ func_to_tool_file "$1" func_convert_file_msys_to_w32
+ win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
+ $SED -n -e '
+ 1,100{
+ / I /{
+ s|.*|import|
+ p
+ q
+ }
+ }'`
+ ;;
+ esac
+ case $win32_nmres in
+ import*) win32_libid_type="x86 archive import";;
+ *) win32_libid_type="x86 archive static";;
+ esac
+ fi
+ ;;
+ *DLL*)
+ win32_libid_type="x86 DLL"
+ ;;
+ *executable*) # but shell scripts are "executable" too...
+ case $win32_fileres in
+ *MS\ Windows\ PE\ Intel*)
+ win32_libid_type="x86 DLL"
+ ;;
+ esac
+ ;;
+ esac
+ $ECHO "$win32_libid_type"
+}
+
+# func_cygming_dll_for_implib ARG
+#
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib ()
+{
+ $debug_cmd
+
+ sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
+}
+
+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
+#
+# The is the core of a fallback implementation of a
+# platform-specific function to extract the name of the
+# DLL associated with the specified import library LIBNAME.
+#
+# SECTION_NAME is either .idata$6 or .idata$7, depending
+# on the platform and compiler that created the implib.
+#
+# Echos the name of the DLL associated with the
+# specified import library.
+func_cygming_dll_for_implib_fallback_core ()
+{
+ $debug_cmd
+
+ match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
+ $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
+ $SED '/^Contents of section '"$match_literal"':/{
+ # Place marker at beginning of archive member dllname section
+ s/.*/====MARK====/
+ p
+ d
+ }
+ # These lines can sometimes be longer than 43 characters, but
+ # are always uninteresting
+ /:[ ]*file format pe[i]\{,1\}-/d
+ /^In archive [^:]*:/d
+ # Ensure marker is printed
+ /^====MARK====/p
+ # Remove all lines with less than 43 characters
+ /^.\{43\}/!d
+ # From remaining lines, remove first 43 characters
+ s/^.\{43\}//' |
+ $SED -n '
+ # Join marker and all lines until next marker into a single line
+ /^====MARK====/ b para
+ H
+ $ b para
+ b
+ :para
+ x
+ s/\n//g
+ # Remove the marker
+ s/^====MARK====//
+ # Remove trailing dots and whitespace
+ s/[\. \t]*$//
+ # Print
+ /./p' |
+ # we now have a list, one entry per line, of the stringified
+ # contents of the appropriate section of all members of the
+ # archive that possess that section. Heuristic: eliminate
+ # all those that have a first or second character that is
+ # a '.' (that is, objdump's representation of an unprintable
+ # character.) This should work for all archives with less than
+ # 0x302f exports -- but will fail for DLLs whose name actually
+ # begins with a literal '.' or a single character followed by
+ # a '.'.
+ #
+ # Of those that remain, print the first one.
+ $SED -e '/^\./d;/^.\./d;q'
+}
+
+# func_cygming_dll_for_implib_fallback ARG
+# Platform-specific function to extract the
+# name of the DLL associated with the specified
+# import library ARG.
+#
+# This fallback implementation is for use when $DLLTOOL
+# does not support the --identify-strict option.
+# Invoked by eval'ing the libtool variable
+# $sharedlib_from_linklib_cmd
+# Result is available in the variable
+# $sharedlib_from_linklib_result
+func_cygming_dll_for_implib_fallback ()
+{
+ $debug_cmd
+
+ if func_cygming_gnu_implib_p "$1"; then
+ # binutils import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
+ elif func_cygming_ms_implib_p "$1"; then
+ # ms-generated import library
+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
+ else
+ # unknown
+ sharedlib_from_linklib_result=
+ fi
+}
+
+
+# func_extract_an_archive dir oldlib
+func_extract_an_archive ()
+{
+ $debug_cmd
+
+ f_ex_an_ar_dir=$1; shift
+ f_ex_an_ar_oldlib=$1
+ if test yes = "$lock_old_archive_extraction"; then
+ lockfile=$f_ex_an_ar_oldlib.lock
+ until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
+ func_echo "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ fi
+ func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
+ 'stat=$?; rm -f "$lockfile"; exit $stat'
+ if test yes = "$lock_old_archive_extraction"; then
+ $opt_dry_run || rm -f "$lockfile"
+ fi
+ if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
+ fi
+}
+
+
+# func_extract_archives gentop oldlib ...
+func_extract_archives ()
+{
+ $debug_cmd
+
+ my_gentop=$1; shift
+ my_oldlibs=${1+"$@"}
+ my_oldobjs=
+ my_xlib=
+ my_xabs=
+ my_xdir=
+
+ for my_xlib in $my_oldlibs; do
+ # Extract the objects.
+ case $my_xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
+ *) my_xabs=`pwd`"/$my_xlib" ;;
+ esac
+ func_basename "$my_xlib"
+ my_xlib=$func_basename_result
+ my_xlib_u=$my_xlib
+ while :; do
+ case " $extracted_archives " in
+ *" $my_xlib_u "*)
+ func_arith $extracted_serial + 1
+ extracted_serial=$func_arith_result
+ my_xlib_u=lt$extracted_serial-$my_xlib ;;
+ *) break ;;
+ esac
+ done
+ extracted_archives="$extracted_archives $my_xlib_u"
+ my_xdir=$my_gentop/$my_xlib_u
+
+ func_mkdir_p "$my_xdir"
+
+ case $host in
+ *-darwin*)
+ func_verbose "Extracting $my_xabs"
+ # Do not bother doing anything if just a dry run
+ $opt_dry_run || {
+ darwin_orig_dir=`pwd`
+ cd $my_xdir || exit $?
+ darwin_archive=$my_xabs
+ darwin_curdir=`pwd`
+ func_basename "$darwin_archive"
+ darwin_base_archive=$func_basename_result
+ darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
+ if test -n "$darwin_arches"; then
+ darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
+ darwin_arch=
+ func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
+ for darwin_arch in $darwin_arches; do
+ func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
+ $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
+ cd "unfat-$$/$darwin_base_archive-$darwin_arch"
+ func_extract_an_archive "`pwd`" "$darwin_base_archive"
+ cd "$darwin_curdir"
+ $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
+ done # $darwin_arches
+ ## Okay now we've a bunch of thin objects, gotta fatten them up :)
+ darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
+ darwin_file=
+ darwin_files=
+ for darwin_file in $darwin_filelist; do
+ darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
+ $LIPO -create -output "$darwin_file" $darwin_files
+ done # $darwin_filelist
+ $RM -rf unfat-$$
+ cd "$darwin_orig_dir"
+ else
+ cd $darwin_orig_dir
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ fi # $darwin_arches
+ } # !$opt_dry_run
+ ;;
+ *)
+ func_extract_an_archive "$my_xdir" "$my_xabs"
+ ;;
+ esac
+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
+ done
+
+ func_extract_archives_result=$my_oldobjs
+}
+
+
+# func_emit_wrapper [arg=no]
+#
+# Emit a libtool wrapper script on stdout.
+# Don't directly open a file because we may want to
+# incorporate the script contents within a cygwin/mingw
+# wrapper executable. Must ONLY be called from within
+# func_mode_link because it depends on a number of variables
+# set therein.
+#
+# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
+# variable will take. If 'yes', then the emitted script
+# will assume that the directory where it is stored is
+# the $objdir directory. This is a cygwin/mingw-specific
+# behavior.
+func_emit_wrapper ()
+{
+ func_emit_wrapper_arg1=${1-no}
+
+ $ECHO "\
+#! $SHELL
+
+# $output - temporary wrapper script for $objdir/$outputname
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# The $output program cannot be directly executed until all the libtool
+# libraries that it depends on are installed.
+#
+# This wrapper script should never be moved out of the build directory.
+# If it is, it will not operate correctly.
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+sed_quote_subst='$sed_quote_subst'
+
+# Be Bourne compatible
+if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
+fi
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+relink_command=\"$relink_command\"
+
+# This environment variable determines our operation mode.
+if test \"\$libtool_install_magic\" = \"$magic\"; then
+ # install mode needs the following variables:
+ generated_by_libtool_version='$macro_version'
+ notinst_deplibs='$notinst_deplibs'
+else
+ # When we are sourced in execute mode, \$file and \$ECHO are already set.
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ file=\"\$0\""
+
+ qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
+ $ECHO "\
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$1
+_LTECHO_EOF'
+}
+ ECHO=\"$qECHO\"
+ fi
+
+# Very basic option parsing. These options are (a) specific to
+# the libtool wrapper, (b) are identical between the wrapper
+# /script/ and the wrapper /executable/ that is used only on
+# windows platforms, and (c) all begin with the string "--lt-"
+# (application programs are unlikely to have options that match
+# this pattern).
+#
+# There are only two supported options: --lt-debug and
+# --lt-dump-script. There is, deliberately, no --lt-help.
+#
+# The first argument to this parsing function should be the
+# script's $0 value, followed by "$@".
+lt_option_debug=
+func_parse_lt_options ()
+{
+ lt_script_arg0=\$0
+ shift
+ for lt_opt
+ do
+ case \"\$lt_opt\" in
+ --lt-debug) lt_option_debug=1 ;;
+ --lt-dump-script)
+ lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
+ test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
+ lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
+ cat \"\$lt_dump_D/\$lt_dump_F\"
+ exit 0
+ ;;
+ --lt-*)
+ \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+
+ # Print the debug banner immediately:
+ if test -n \"\$lt_option_debug\"; then
+ echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
+ fi
+}
+
+# Used when --lt-debug. Prints its arguments to stdout
+# (redirection is the responsibility of the caller)
+func_lt_dump_args ()
+{
+ lt_dump_args_N=1;
+ for lt_arg
+ do
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
+ lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
+ done
+}
+
+# Core function for launching the target application
+func_exec_program_core ()
+{
+"
+ case $host in
+ # Backslashes separate directories on plain windows
+ *-*-mingw | *-*-os2* | *-cegcc*)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
+"
+ ;;
+
+ *)
+ $ECHO "\
+ if test -n \"\$lt_option_debug\"; then
+ \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
+ func_lt_dump_args \${1+\"\$@\"} 1>&2
+ fi
+ exec \"\$progdir/\$program\" \${1+\"\$@\"}
+"
+ ;;
+ esac
+ $ECHO "\
+ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
+ exit 1
+}
+
+# A function to encapsulate launching the target application
+# Strips options in the --lt-* namespace from \$@ and
+# launches target application with the remaining arguments.
+func_exec_program ()
+{
+ case \" \$* \" in
+ *\\ --lt-*)
+ for lt_wr_arg
+ do
+ case \$lt_wr_arg in
+ --lt-*) ;;
+ *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
+ esac
+ shift
+ done ;;
+ esac
+ func_exec_program_core \${1+\"\$@\"}
+}
+
+ # Parse options
+ func_parse_lt_options \"\$0\" \${1+\"\$@\"}
+
+ # Find the directory that this script lives in.
+ thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
+ test \"x\$thisdir\" = \"x\$file\" && thisdir=.
+
+ # Follow symbolic links until we get to the real thisdir.
+ file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
+ while test -n \"\$file\"; do
+ destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
+
+ # If there was a directory component, then change thisdir.
+ if test \"x\$destdir\" != \"x\$file\"; then
+ case \"\$destdir\" in
+ [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
+ *) thisdir=\"\$thisdir/\$destdir\" ;;
+ esac
+ fi
+
+ file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
+ file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
+ done
+
+ # Usually 'no', except on cygwin/mingw when embedded into
+ # the cwrapper.
+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
+ if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
+ # special case for '.'
+ if test \"\$thisdir\" = \".\"; then
+ thisdir=\`pwd\`
+ fi
+ # remove .libs from thisdir
+ case \"\$thisdir\" in
+ *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
+ $objdir ) thisdir=. ;;
+ esac
+ fi
+
+ # Try to get the absolute directory name.
+ absdir=\`cd \"\$thisdir\" && pwd\`
+ test -n \"\$absdir\" && thisdir=\"\$absdir\"
+"
+
+ if test yes = "$fast_install"; then
+ $ECHO "\
+ program=lt-'$outputname'$exeext
+ progdir=\"\$thisdir/$objdir\"
+
+ if test ! -f \"\$progdir/\$program\" ||
+ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
+ test \"X\$file\" != \"X\$progdir/\$program\"; }; then
+
+ file=\"\$\$-\$program\"
+
+ if test ! -d \"\$progdir\"; then
+ $MKDIR \"\$progdir\"
+ else
+ $RM \"\$progdir/\$file\"
+ fi"
+
+ $ECHO "\
+
+ # relink executable if necessary
+ if test -n \"\$relink_command\"; then
+ if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+ else
+ \$ECHO \"\$relink_command_output\" >&2
+ $RM \"\$progdir/\$file\"
+ exit 1
+ fi
+ fi
+
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
+ { $RM \"\$progdir/\$program\";
+ $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
+ $RM \"\$progdir/\$file\"
+ fi"
+ else
+ $ECHO "\
+ program='$outputname'
+ progdir=\"\$thisdir/$objdir\"
+"
+ fi
+
+ $ECHO "\
+
+ if test -f \"\$progdir/\$program\"; then"
+
+ # fixup the dll searchpath if we need to.
+ #
+ # Fix the DLL searchpath if we need to. Do this before prepending
+ # to shlibpath, because on Windows, both are PATH and uninstalled
+ # libraries must come first.
+ if test -n "$dllsearchpath"; then
+ $ECHO "\
+ # Add the dll search path components to the executable PATH
+ PATH=$dllsearchpath:\$PATH
+"
+ fi
+
+ # Export our shlibpath_var if we have one.
+ if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ $ECHO "\
+ # Add our own library path to $shlibpath_var
+ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
+
+ # Some systems cannot cope with colon-terminated $shlibpath_var
+ # The second colon is a workaround for a bug in BeOS R4 sed
+ $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
+
+ export $shlibpath_var
+"
+ fi
+
+ $ECHO "\
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ # Run the actual program with our arguments.
+ func_exec_program \${1+\"\$@\"}
+ fi
+ else
+ # The program doesn't exist.
+ \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
+ \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
+ \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
+ exit 1
+ fi
+fi\
+"
+}
+
+
+# func_emit_cwrapperexe_src
+# emit the source code for a wrapper executable on stdout
+# Must ONLY be called from within func_mode_link because
+# it depends on a number of variable set therein.
+func_emit_cwrapperexe_src ()
+{
+ cat <<EOF
+
+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
+ Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+
+ The $output program cannot be directly executed until all the libtool
+ libraries that it depends on are installed.
+
+ This wrapper executable should never be moved out of the build directory.
+ If it is, it will not operate correctly.
+*/
+EOF
+ cat <<"EOF"
+#ifdef _MSC_VER
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
+#include <stdio.h>
+#include <stdlib.h>
+#ifdef _MSC_VER
+# include <direct.h>
+# include <process.h>
+# include <io.h>
+#else
+# include <unistd.h>
+# include <stdint.h>
+# ifdef __CYGWIN__
+# include <io.h>
+# endif
+#endif
+#include <malloc.h>
+#include <stdarg.h>
+#include <assert.h>
+#include <string.h>
+#include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <sys/stat.h>
+
+#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
+
+/* declarations of non-ANSI functions */
+#if defined __MINGW32__
+# ifdef __STRICT_ANSI__
+int _putenv (const char *);
+# endif
+#elif defined __CYGWIN__
+# ifdef __STRICT_ANSI__
+char *realpath (const char *, char *);
+int putenv (char *);
+int setenv (const char *, const char *, int);
+# endif
+/* #elif defined other_platform || defined ... */
+#endif
+
+/* portability defines, excluding path handling macros */
+#if defined _MSC_VER
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+# define S_IXUSR _S_IEXEC
+#elif defined __MINGW32__
+# define setmode _setmode
+# define stat _stat
+# define chmod _chmod
+# define getcwd _getcwd
+# define putenv _putenv
+#elif defined __CYGWIN__
+# define HAVE_SETENV
+# define FOPEN_WB "wb"
+/* #elif defined other platforms ... */
+#endif
+
+#if defined PATH_MAX
+# define LT_PATHMAX PATH_MAX
+#elif defined MAXPATHLEN
+# define LT_PATHMAX MAXPATHLEN
+#else
+# define LT_PATHMAX 1024
+#endif
+
+#ifndef S_IXOTH
+# define S_IXOTH 0
+#endif
+#ifndef S_IXGRP
+# define S_IXGRP 0
+#endif
+
+/* path handling portability macros */
+#ifndef DIR_SEPARATOR
+# define DIR_SEPARATOR '/'
+# define PATH_SEPARATOR ':'
+#endif
+
+#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
+ defined __OS2__
+# define HAVE_DOS_BASED_FILE_SYSTEM
+# define FOPEN_WB "wb"
+# ifndef DIR_SEPARATOR_2
+# define DIR_SEPARATOR_2 '\\'
+# endif
+# ifndef PATH_SEPARATOR_2
+# define PATH_SEPARATOR_2 ';'
+# endif
+#endif
+
+#ifndef DIR_SEPARATOR_2
+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
+#else /* DIR_SEPARATOR_2 */
+# define IS_DIR_SEPARATOR(ch) \
+ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
+#endif /* DIR_SEPARATOR_2 */
+
+#ifndef PATH_SEPARATOR_2
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
+#else /* PATH_SEPARATOR_2 */
+# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
+#endif /* PATH_SEPARATOR_2 */
+
+#ifndef FOPEN_WB
+# define FOPEN_WB "w"
+#endif
+#ifndef _O_BINARY
+# define _O_BINARY 0
+#endif
+
+#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
+#define XFREE(stale) do { \
+ if (stale) { free (stale); stale = 0; } \
+} while (0)
+
+#if defined LT_DEBUGWRAPPER
+static int lt_debug = 1;
+#else
+static int lt_debug = 0;
+#endif
+
+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
+
+void *xmalloc (size_t num);
+char *xstrdup (const char *string);
+const char *base_name (const char *name);
+char *find_executable (const char *wrapper);
+char *chase_symlinks (const char *pathspec);
+int make_executable (const char *path);
+int check_executable (const char *path);
+char *strendzap (char *str, const char *pat);
+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
+void lt_fatal (const char *file, int line, const char *message, ...);
+static const char *nonnull (const char *s);
+static const char *nonempty (const char *s);
+void lt_setenv (const char *name, const char *value);
+char *lt_extend_str (const char *orig_value, const char *add, int to_end);
+void lt_update_exe_path (const char *name, const char *value);
+void lt_update_lib_path (const char *name, const char *value);
+char **prepare_spawn (char **argv);
+void lt_dump_script (FILE *f);
+EOF
+
+ cat <<EOF
+#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
+# define externally_visible volatile
+#else
+# define externally_visible __attribute__((externally_visible)) volatile
+#endif
+externally_visible const char * MAGIC_EXE = "$magic_exe";
+const char * LIB_PATH_VARNAME = "$shlibpath_var";
+EOF
+
+ if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ func_to_host_path "$temp_rpath"
+ cat <<EOF
+const char * LIB_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * LIB_PATH_VALUE = "";
+EOF
+ fi
+
+ if test -n "$dllsearchpath"; then
+ func_to_host_path "$dllsearchpath:"
+ cat <<EOF
+const char * EXE_PATH_VARNAME = "PATH";
+const char * EXE_PATH_VALUE = "$func_to_host_path_result";
+EOF
+ else
+ cat <<"EOF"
+const char * EXE_PATH_VARNAME = "";
+const char * EXE_PATH_VALUE = "";
+EOF
+ fi
+
+ if test yes = "$fast_install"; then
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
+EOF
+ else
+ cat <<EOF
+const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
+EOF
+ fi
+
+
+ cat <<"EOF"
+
+#define LTWRAPPER_OPTION_PREFIX "--lt-"
+
+static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
+static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
+static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
+
+int
+main (int argc, char *argv[])
+{
+ char **newargz;
+ int newargc;
+ char *tmp_pathspec;
+ char *actual_cwrapper_path;
+ char *actual_cwrapper_name;
+ char *target_name;
+ char *lt_argv_zero;
+ int rval = 127;
+
+ int i;
+
+ program_name = (char *) xstrdup (base_name (argv[0]));
+ newargz = XMALLOC (char *, (size_t) argc + 1);
+
+ /* very simple arg parsing; don't want to rely on getopt
+ * also, copy all non cwrapper options to newargz, except
+ * argz[0], which is handled differently
+ */
+ newargc=0;
+ for (i = 1; i < argc; i++)
+ {
+ if (STREQ (argv[i], dumpscript_opt))
+ {
+EOF
+ case $host in
+ *mingw* | *cygwin* )
+ # make stdout use "unix" line endings
+ echo " setmode(1,_O_BINARY);"
+ ;;
+ esac
+
+ cat <<"EOF"
+ lt_dump_script (stdout);
+ return 0;
+ }
+ if (STREQ (argv[i], debug_opt))
+ {
+ lt_debug = 1;
+ continue;
+ }
+ if (STREQ (argv[i], ltwrapper_option_prefix))
+ {
+ /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
+ namespace, but it is not one of the ones we know about and
+ have already dealt with, above (inluding dump-script), then
+ report an error. Otherwise, targets might begin to believe
+ they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
+ namespace. The first time any user complains about this, we'll
+ need to make LTWRAPPER_OPTION_PREFIX a configure-time option
+ or a configure.ac-settable value.
+ */
+ lt_fatal (__FILE__, __LINE__,
+ "unrecognized %s option: '%s'",
+ ltwrapper_option_prefix, argv[i]);
+ }
+ /* otherwise ... */
+ newargz[++newargc] = xstrdup (argv[i]);
+ }
+ newargz[++newargc] = NULL;
+
+EOF
+ cat <<EOF
+ /* The GNU banner must be the first non-error debug message */
+ lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
+EOF
+ cat <<"EOF"
+ lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
+
+ tmp_pathspec = find_executable (argv[0]);
+ if (tmp_pathspec == NULL)
+ lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (before symlink chase) at: %s\n",
+ tmp_pathspec);
+
+ actual_cwrapper_path = chase_symlinks (tmp_pathspec);
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) found exe (after symlink chase) at: %s\n",
+ actual_cwrapper_path);
+ XFREE (tmp_pathspec);
+
+ actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
+ strendzap (actual_cwrapper_path, actual_cwrapper_name);
+
+ /* wrapper name transforms */
+ strendzap (actual_cwrapper_name, ".exe");
+ tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
+ XFREE (actual_cwrapper_name);
+ actual_cwrapper_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ /* target_name transforms -- use actual target program name; might have lt- prefix */
+ target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
+ strendzap (target_name, ".exe");
+ tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
+ XFREE (target_name);
+ target_name = tmp_pathspec;
+ tmp_pathspec = 0;
+
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) libtool target name: %s\n",
+ target_name);
+EOF
+
+ cat <<EOF
+ newargz[0] =
+ XMALLOC (char, (strlen (actual_cwrapper_path) +
+ strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
+ strcpy (newargz[0], actual_cwrapper_path);
+ strcat (newargz[0], "$objdir");
+ strcat (newargz[0], "/");
+EOF
+
+ cat <<"EOF"
+ /* stop here, and copy so we don't have to do this twice */
+ tmp_pathspec = xstrdup (newargz[0]);
+
+ /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
+ strcat (newargz[0], actual_cwrapper_name);
+
+ /* DO want the lt- prefix here if it exists, so use target_name */
+ lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
+ XFREE (tmp_pathspec);
+ tmp_pathspec = NULL;
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ {
+ char* p;
+ while ((p = strchr (newargz[0], '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ while ((p = strchr (lt_argv_zero, '\\')) != NULL)
+ {
+ *p = '/';
+ }
+ }
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+ XFREE (target_name);
+ XFREE (actual_cwrapper_path);
+ XFREE (actual_cwrapper_name);
+
+ lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
+ lt_setenv ("DUALCASE", "1"); /* for MSK sh */
+ /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
+ be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
+ because on Windows, both *_VARNAMEs are PATH but uninstalled
+ libraries must come first. */
+ lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
+ lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
+
+ lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
+ nonnull (lt_argv_zero));
+ for (i = 0; i < newargc; i++)
+ {
+ lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
+ i, nonnull (newargz[i]));
+ }
+
+EOF
+
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+ /* execv doesn't actually work on mingw as expected on unix */
+ newargz = prepare_spawn (newargz);
+ rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
+ if (rval == -1)
+ {
+ /* failed to start process */
+ lt_debugprintf (__FILE__, __LINE__,
+ "(main) failed to launch target \"%s\": %s\n",
+ lt_argv_zero, nonnull (strerror (errno)));
+ return 127;
+ }
+ return rval;
+EOF
+ ;;
+ *)
+ cat <<"EOF"
+ execv (lt_argv_zero, newargz);
+ return rval; /* =127, but avoids unused variable warning */
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+}
+
+void *
+xmalloc (size_t num)
+{
+ void *p = (void *) malloc (num);
+ if (!p)
+ lt_fatal (__FILE__, __LINE__, "memory exhausted");
+
+ return p;
+}
+
+char *
+xstrdup (const char *string)
+{
+ return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
+ string) : NULL;
+}
+
+const char *
+base_name (const char *name)
+{
+ const char *base;
+
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ /* Skip over the disk name in MSDOS pathnames. */
+ if (isalpha ((unsigned char) name[0]) && name[1] == ':')
+ name += 2;
+#endif
+
+ for (base = name; *name; name++)
+ if (IS_DIR_SEPARATOR (*name))
+ base = name + 1;
+ return base;
+}
+
+int
+check_executable (const char *path)
+{
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if ((stat (path, &st) >= 0)
+ && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
+ return 1;
+ else
+ return 0;
+}
+
+int
+make_executable (const char *path)
+{
+ int rval = 0;
+ struct stat st;
+
+ lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
+ nonempty (path));
+ if ((!path) || (!*path))
+ return 0;
+
+ if (stat (path, &st) >= 0)
+ {
+ rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
+ }
+ return rval;
+}
+
+/* Searches for the full path of the wrapper. Returns
+ newly allocated full path name if found, NULL otherwise
+ Does not chase symlinks, even on platforms that support them.
+*/
+char *
+find_executable (const char *wrapper)
+{
+ int has_slash = 0;
+ const char *p;
+ const char *p_next;
+ /* static buffer for getcwd */
+ char tmp[LT_PATHMAX + 1];
+ size_t tmp_len;
+ char *concat_name;
+
+ lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
+ nonempty (wrapper));
+
+ if ((wrapper == NULL) || (*wrapper == '\0'))
+ return NULL;
+
+ /* Absolute path? */
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ else
+ {
+#endif
+ if (IS_DIR_SEPARATOR (wrapper[0]))
+ {
+ concat_name = xstrdup (wrapper);
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+#if defined HAVE_DOS_BASED_FILE_SYSTEM
+ }
+#endif
+
+ for (p = wrapper; *p; p++)
+ if (*p == '/')
+ {
+ has_slash = 1;
+ break;
+ }
+ if (!has_slash)
+ {
+ /* no slashes; search PATH */
+ const char *path = getenv ("PATH");
+ if (path != NULL)
+ {
+ for (p = path; *p; p = p_next)
+ {
+ const char *q;
+ size_t p_len;
+ for (q = p; *q; q++)
+ if (IS_PATH_SEPARATOR (*q))
+ break;
+ p_len = (size_t) (q - p);
+ p_next = (*q == '\0' ? q : q + 1);
+ if (p_len == 0)
+ {
+ /* empty path: current directory */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name =
+ XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+ }
+ else
+ {
+ concat_name =
+ XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, p, p_len);
+ concat_name[p_len] = '/';
+ strcpy (concat_name + p_len + 1, wrapper);
+ }
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ }
+ }
+ /* not found in PATH; assume curdir */
+ }
+ /* Relative path | not found in path: prepend cwd */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
+ nonnull (strerror (errno)));
+ tmp_len = strlen (tmp);
+ concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
+ memcpy (concat_name, tmp, tmp_len);
+ concat_name[tmp_len] = '/';
+ strcpy (concat_name + tmp_len + 1, wrapper);
+
+ if (check_executable (concat_name))
+ return concat_name;
+ XFREE (concat_name);
+ return NULL;
+}
+
+char *
+chase_symlinks (const char *pathspec)
+{
+#ifndef S_ISLNK
+ return xstrdup (pathspec);
+#else
+ char buf[LT_PATHMAX];
+ struct stat s;
+ char *tmp_pathspec = xstrdup (pathspec);
+ char *p;
+ int has_symlinks = 0;
+ while (strlen (tmp_pathspec) && !has_symlinks)
+ {
+ lt_debugprintf (__FILE__, __LINE__,
+ "checking path component for symlinks: %s\n",
+ tmp_pathspec);
+ if (lstat (tmp_pathspec, &s) == 0)
+ {
+ if (S_ISLNK (s.st_mode) != 0)
+ {
+ has_symlinks = 1;
+ break;
+ }
+
+ /* search backwards for last DIR_SEPARATOR */
+ p = tmp_pathspec + strlen (tmp_pathspec) - 1;
+ while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ p--;
+ if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
+ {
+ /* no more DIR_SEPARATORS left */
+ break;
+ }
+ *p = '\0';
+ }
+ else
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "error accessing file \"%s\": %s",
+ tmp_pathspec, nonnull (strerror (errno)));
+ }
+ }
+ XFREE (tmp_pathspec);
+
+ if (!has_symlinks)
+ {
+ return xstrdup (pathspec);
+ }
+
+ tmp_pathspec = realpath (pathspec, buf);
+ if (tmp_pathspec == 0)
+ {
+ lt_fatal (__FILE__, __LINE__,
+ "could not follow symlinks for %s", pathspec);
+ }
+ return xstrdup (tmp_pathspec);
+#endif
+}
+
+char *
+strendzap (char *str, const char *pat)
+{
+ size_t len, patlen;
+
+ assert (str != NULL);
+ assert (pat != NULL);
+
+ len = strlen (str);
+ patlen = strlen (pat);
+
+ if (patlen <= len)
+ {
+ str += len - patlen;
+ if (STREQ (str, pat))
+ *str = '\0';
+ }
+ return str;
+}
+
+void
+lt_debugprintf (const char *file, int line, const char *fmt, ...)
+{
+ va_list args;
+ if (lt_debug)
+ {
+ (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
+ va_start (args, fmt);
+ (void) vfprintf (stderr, fmt, args);
+ va_end (args);
+ }
+}
+
+static void
+lt_error_core (int exit_status, const char *file,
+ int line, const char *mode,
+ const char *message, va_list ap)
+{
+ fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
+ vfprintf (stderr, message, ap);
+ fprintf (stderr, ".\n");
+
+ if (exit_status >= 0)
+ exit (exit_status);
+}
+
+void
+lt_fatal (const char *file, int line, const char *message, ...)
+{
+ va_list ap;
+ va_start (ap, message);
+ lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
+ va_end (ap);
+}
+
+static const char *
+nonnull (const char *s)
+{
+ return s ? s : "(null)";
+}
+
+static const char *
+nonempty (const char *s)
+{
+ return (s && !*s) ? "(empty)" : nonnull (s);
+}
+
+void
+lt_setenv (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_setenv) setting '%s' to '%s'\n",
+ nonnull (name), nonnull (value));
+ {
+#ifdef HAVE_SETENV
+ /* always make a copy, for consistency with !HAVE_SETENV */
+ char *str = xstrdup (value);
+ setenv (name, str, 1);
+#else
+ size_t len = strlen (name) + 1 + strlen (value) + 1;
+ char *str = XMALLOC (char, len);
+ sprintf (str, "%s=%s", name, value);
+ if (putenv (str) != EXIT_SUCCESS)
+ {
+ XFREE (str);
+ }
+#endif
+ }
+}
+
+char *
+lt_extend_str (const char *orig_value, const char *add, int to_end)
+{
+ char *new_value;
+ if (orig_value && *orig_value)
+ {
+ size_t orig_value_len = strlen (orig_value);
+ size_t add_len = strlen (add);
+ new_value = XMALLOC (char, add_len + orig_value_len + 1);
+ if (to_end)
+ {
+ strcpy (new_value, orig_value);
+ strcpy (new_value + orig_value_len, add);
+ }
+ else
+ {
+ strcpy (new_value, add);
+ strcpy (new_value + add_len, orig_value);
+ }
+ }
+ else
+ {
+ new_value = xstrdup (add);
+ }
+ return new_value;
+}
+
+void
+lt_update_exe_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ /* some systems can't cope with a ':'-terminated path #' */
+ size_t len = strlen (new_value);
+ while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
+ {
+ new_value[--len] = '\0';
+ }
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+void
+lt_update_lib_path (const char *name, const char *value)
+{
+ lt_debugprintf (__FILE__, __LINE__,
+ "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
+ nonnull (name), nonnull (value));
+
+ if (name && *name && value && *value)
+ {
+ char *new_value = lt_extend_str (getenv (name), value, 0);
+ lt_setenv (name, new_value);
+ XFREE (new_value);
+ }
+}
+
+EOF
+ case $host_os in
+ mingw*)
+ cat <<"EOF"
+
+/* Prepares an argument vector before calling spawn().
+ Note that spawn() does not by itself call the command interpreter
+ (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
+ ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
+ GetVersionEx(&v);
+ v.dwPlatformId == VER_PLATFORM_WIN32_NT;
+ }) ? "cmd.exe" : "command.com").
+ Instead it simply concatenates the arguments, separated by ' ', and calls
+ CreateProcess(). We must quote the arguments since Win32 CreateProcess()
+ interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
+ special way:
+ - Space and tab are interpreted as delimiters. They are not treated as
+ delimiters if they are surrounded by double quotes: "...".
+ - Unescaped double quotes are removed from the input. Their only effect is
+ that within double quotes, space and tab are treated like normal
+ characters.
+ - Backslashes not followed by double quotes are not special.
+ - But 2*n+1 backslashes followed by a double quote become
+ n backslashes followed by a double quote (n >= 0):
+ \" -> "
+ \\\" -> \"
+ \\\\\" -> \\"
+ */
+#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
+char **
+prepare_spawn (char **argv)
+{
+ size_t argc;
+ char **new_argv;
+ size_t i;
+
+ /* Count number of arguments. */
+ for (argc = 0; argv[argc] != NULL; argc++)
+ ;
+
+ /* Allocate new argument vector. */
+ new_argv = XMALLOC (char *, argc + 1);
+
+ /* Put quoted arguments into the new argument vector. */
+ for (i = 0; i < argc; i++)
+ {
+ const char *string = argv[i];
+
+ if (string[0] == '\0')
+ new_argv[i] = xstrdup ("\"\"");
+ else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
+ {
+ int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
+ size_t length;
+ unsigned int backslashes;
+ const char *s;
+ char *quoted_string;
+ char *p;
+
+ length = 0;
+ backslashes = 0;
+ if (quote_around)
+ length++;
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ length += backslashes + 1;
+ length++;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ length += backslashes + 1;
+
+ quoted_string = XMALLOC (char, length + 1);
+
+ p = quoted_string;
+ backslashes = 0;
+ if (quote_around)
+ *p++ = '"';
+ for (s = string; *s != '\0'; s++)
+ {
+ char c = *s;
+ if (c == '"')
+ {
+ unsigned int j;
+ for (j = backslashes + 1; j > 0; j--)
+ *p++ = '\\';
+ }
+ *p++ = c;
+ if (c == '\\')
+ backslashes++;
+ else
+ backslashes = 0;
+ }
+ if (quote_around)
+ {
+ unsigned int j;
+ for (j = backslashes; j > 0; j--)
+ *p++ = '\\';
+ *p++ = '"';
+ }
+ *p = '\0';
+
+ new_argv[i] = quoted_string;
+ }
+ else
+ new_argv[i] = (char *) string;
+ }
+ new_argv[argc] = NULL;
+
+ return new_argv;
+}
+EOF
+ ;;
+ esac
+
+ cat <<"EOF"
+void lt_dump_script (FILE* f)
+{
+EOF
+ func_emit_wrapper yes |
+ $SED -n -e '
+s/^\(.\{79\}\)\(..*\)/\1\
+\2/
+h
+s/\([\\"]\)/\\\1/g
+s/$/\\n/
+s/\([^\n]*\).*/ fputs ("\1", f);/p
+g
+D'
+ cat <<"EOF"
+}
+EOF
+}
+# end: func_emit_cwrapperexe_src
+
+# func_win32_import_lib_p ARG
+# True if ARG is an import lib, as indicated by $file_magic_cmd
+func_win32_import_lib_p ()
+{
+ $debug_cmd
+
+ case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
+ *import*) : ;;
+ *) false ;;
+ esac
+}
+
+# func_mode_link arg...
+func_mode_link ()
+{
+ $debug_cmd
+
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ # It is impossible to link a dll without this setting, and
+ # we shouldn't force the makefile maintainer to figure out
+ # what system we are compiling for in order to pass an extra
+ # flag for every libtool invocation.
+ # allow_undefined=no
+
+ # FIXME: Unfortunately, there are problems with the above when trying
+ # to make a dll that has undefined symbols, in which case not
+ # even a static library is built. For now, we need to specify
+ # -no-undefined on the libtool link line when we can be certain
+ # that all symbols are satisfied, otherwise we get a static library.
+ allow_undefined=yes
+ ;;
+ *)
+ allow_undefined=yes
+ ;;
+ esac
+ libtool_args=$nonopt
+ base_compile="$nonopt $@"
+ compile_command=$nonopt
+ finalize_command=$nonopt
+
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
+ lib_search_path=`pwd`
+ inst_prefix_dir=
+ new_inherited_linker_flags=
+
+ avoid_version=no
+ bindir=
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ os2dllname=
+ non_pic_objects=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=false
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ weak_libs=
+ single_module=$wl-single_module
+ func_infer_tag $base_compile
+
+ # We need to know -static, to get the right output filenames.
+ for arg
+ do
+ case $arg in
+ -shared)
+ test yes != "$build_libtool_libs" \
+ && func_fatal_configuration "cannot build a shared library"
+ build_old_libs=no
+ break
+ ;;
+ -all-static | -static | -static-libtool-libs)
+ case $arg in
+ -all-static)
+ if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
+ func_warning "complete static linking is impossible in this configuration"
+ fi
+ if test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ -static)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=built
+ ;;
+ -static-libtool-libs)
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ prefer_static_libs=yes
+ ;;
+ esac
+ build_libtool_libs=no
+ build_old_libs=yes
+ break
+ ;;
+ esac
+ done
+
+ # See if our shared archives depend on static archives.
+ test -n "$old_archive_from_new_cmds" && build_old_libs=yes
+
+ # Go through the arguments, transforming them on the way.
+ while test "$#" -gt 0; do
+ arg=$1
+ shift
+ func_quote_for_eval "$arg"
+ qarg=$func_quote_for_eval_unquoted_result
+ func_append libtool_args " $func_quote_for_eval_result"
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ output)
+ func_append compile_command " @OUTPUT@"
+ func_append finalize_command " @OUTPUT@"
+ ;;
+ esac
+
+ case $prev in
+ bindir)
+ bindir=$arg
+ prev=
+ continue
+ ;;
+ dlfiles|dlprefiles)
+ $preload || {
+ # Add the symbol object into the linking commands.
+ func_append compile_command " @SYMFILE@"
+ func_append finalize_command " @SYMFILE@"
+ preload=:
+ }
+ case $arg in
+ *.la | *.lo) ;; # We handle these cases below.
+ force)
+ if test no = "$dlself"; then
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ self)
+ if test dlprefiles = "$prev"; then
+ dlself=yes
+ elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
+ dlself=yes
+ else
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ *)
+ if test dlfiles = "$prev"; then
+ func_append dlfiles " $arg"
+ else
+ func_append dlprefiles " $arg"
+ fi
+ prev=
+ continue
+ ;;
+ esac
+ ;;
+ expsyms)
+ export_symbols=$arg
+ test -f "$arg" \
+ || func_fatal_error "symbol file '$arg' does not exist"
+ prev=
+ continue
+ ;;
+ expsyms_regex)
+ export_symbols_regex=$arg
+ prev=
+ continue
+ ;;
+ framework)
+ case $host in
+ *-*-darwin*)
+ case "$deplibs " in
+ *" $qarg.ltframework "*) ;;
+ *) func_append deplibs " $qarg.ltframework" # this is fixed later
+ ;;
+ esac
+ ;;
+ esac
+ prev=
+ continue
+ ;;
+ inst_prefix)
+ inst_prefix_dir=$arg
+ prev=
+ continue
+ ;;
+ mllvm)
+ # Clang does not use LLVM to link, so we can simply discard any
+ # '-mllvm $arg' options when doing the link step.
+ prev=
+ continue
+ ;;
+ objectlist)
+ if test -f "$arg"; then
+ save_arg=$arg
+ moreargs=
+ for fil in `cat "$save_arg"`
+ do
+# func_append moreargs " $fil"
+ arg=$fil
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test none = "$pic_object" &&
+ test none = "$non_pic_object"; then
+ func_fatal_error "cannot find name of object for '$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ if test none != "$pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ pic_object=$xdir$pic_object
+
+ if test dlfiles = "$prev"; then
+ if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test dlprefiles = "$prev"; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg=$pic_object
+ fi
+
+ # Non-PIC object.
+ if test none != "$non_pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object=$xdir$non_pic_object
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test none = "$pic_object"; then
+ arg=$non_pic_object
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object=$pic_object
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "'$arg' is not a valid libtool object"
+ fi
+ fi
+ done
+ else
+ func_fatal_error "link input file '$arg' does not exist"
+ fi
+ arg=$save_arg
+ prev=
+ continue
+ ;;
+ os2dllname)
+ os2dllname=$arg
+ prev=
+ continue
+ ;;
+ precious_regex)
+ precious_files_regex=$arg
+ prev=
+ continue
+ ;;
+ release)
+ release=-$arg
+ prev=
+ continue
+ ;;
+ rpath | xrpath)
+ # We need an absolute path.
+ case $arg in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ if test rpath = "$prev"; then
+ case "$rpath " in
+ *" $arg "*) ;;
+ *) func_append rpath " $arg" ;;
+ esac
+ else
+ case "$xrpath " in
+ *" $arg "*) ;;
+ *) func_append xrpath " $arg" ;;
+ esac
+ fi
+ prev=
+ continue
+ ;;
+ shrext)
+ shrext_cmds=$arg
+ prev=
+ continue
+ ;;
+ weak)
+ func_append weak_libs " $arg"
+ prev=
+ continue
+ ;;
+ xcclinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xcompiler)
+ func_append compiler_flags " $qarg"
+ prev=
+ func_append compile_command " $qarg"
+ func_append finalize_command " $qarg"
+ continue
+ ;;
+ xlinker)
+ func_append linker_flags " $qarg"
+ func_append compiler_flags " $wl$qarg"
+ prev=
+ func_append compile_command " $wl$qarg"
+ func_append finalize_command " $wl$qarg"
+ continue
+ ;;
+ *)
+ eval "$prev=\"\$arg\""
+ prev=
+ continue
+ ;;
+ esac
+ fi # test -n "$prev"
+
+ prevarg=$arg
+
+ case $arg in
+ -all-static)
+ if test -n "$link_static_flag"; then
+ # See comment for -static flag below, for more details.
+ func_append compile_command " $link_static_flag"
+ func_append finalize_command " $link_static_flag"
+ fi
+ continue
+ ;;
+
+ -allow-undefined)
+ # FIXME: remove this flag sometime in the future.
+ func_fatal_error "'-allow-undefined' must not be used because it is the default"
+ ;;
+
+ -avoid-version)
+ avoid_version=yes
+ continue
+ ;;
+
+ -bindir)
+ prev=bindir
+ continue
+ ;;
+
+ -dlopen)
+ prev=dlfiles
+ continue
+ ;;
+
+ -dlpreopen)
+ prev=dlprefiles
+ continue
+ ;;
+
+ -export-dynamic)
+ export_dynamic=yes
+ continue
+ ;;
+
+ -export-symbols | -export-symbols-regex)
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ func_fatal_error "more than one -exported-symbols argument is not allowed"
+ fi
+ if test X-export-symbols = "X$arg"; then
+ prev=expsyms
+ else
+ prev=expsyms_regex
+ fi
+ continue
+ ;;
+
+ -framework)
+ prev=framework
+ continue
+ ;;
+
+ -inst-prefix-dir)
+ prev=inst_prefix
+ continue
+ ;;
+
+ # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
+ # so, if we see these flags be careful not to treat them like -L
+ -L[A-Z][A-Z]*:*)
+ case $with_gcc/$host in
+ no/*-*-irix* | /*-*-irix*)
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ ;;
+ esac
+ continue
+ ;;
+
+ -L*)
+ func_stripname "-L" '' "$arg"
+ if test -z "$func_stripname_result"; then
+ if test "$#" -gt 0; then
+ func_fatal_error "require no space between '-L' and '$1'"
+ else
+ func_fatal_error "need path for '-L' option"
+ fi
+ fi
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ test -z "$absdir" && \
+ func_fatal_error "cannot determine absolute directory name of '$dir'"
+ dir=$absdir
+ ;;
+ esac
+ case "$deplibs " in
+ *" -L$dir "* | *" $arg "*)
+ # Will only happen for absolute or sysroot arguments
+ ;;
+ *)
+ # Preserve sysroot, but never include relative directories
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
+ *) func_append deplibs " -L$dir" ;;
+ esac
+ func_append lib_search_path " $dir"
+ ;;
+ esac
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$dir:"*) ;;
+ ::) dllsearchpath=$dir;;
+ *) func_append dllsearchpath ":$dir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ continue
+ ;;
+
+ -l*)
+ if test X-lc = "X$arg" || test X-lm = "X$arg"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # These systems don't actually have a C or math library (as such)
+ continue
+ ;;
+ *-*-os2*)
+ # These systems don't actually have a C library (as such)
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
+ # Do not include libc due to us having libc/libc_r.
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C and math libraries are in the System framework
+ func_append deplibs " System.ltframework"
+ continue
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ test X-lc = "X$arg" && continue
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ test X-lc = "X$arg" && continue
+ ;;
+ esac
+ elif test X-lc_r = "X$arg"; then
+ case $host in
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
+ fi
+ func_append deplibs " $arg"
+ continue
+ ;;
+
+ -mllvm)
+ prev=mllvm
+ continue
+ ;;
+
+ -module)
+ module=yes
+ continue
+ ;;
+
+ # Tru64 UNIX uses -model [arg] to determine the layout of C++
+ # classes, name mangling, and exception handling.
+ # Darwin uses the -arch flag to determine output architecture.
+ -model|-arch|-isysroot|--sysroot)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ prev=xcompiler
+ continue
+ ;;
+
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+ func_append compiler_flags " $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case "$new_inherited_linker_flags " in
+ *" $arg "*) ;;
+ * ) func_append new_inherited_linker_flags " $arg" ;;
+ esac
+ continue
+ ;;
+
+ -multi_module)
+ single_module=$wl-multi_module
+ continue
+ ;;
+
+ -no-fast-install)
+ fast_install=no
+ continue
+ ;;
+
+ -no-install)
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
+ # The PATH hackery in wrapper scripts is required on Windows
+ # and Darwin in order for the loader to find any dlls it needs.
+ func_warning "'-no-install' is ignored for $host"
+ func_warning "assuming '-no-fast-install' instead"
+ fast_install=no
+ ;;
+ *) no_install=yes ;;
+ esac
+ continue
+ ;;
+
+ -no-undefined)
+ allow_undefined=no
+ continue
+ ;;
+
+ -objectlist)
+ prev=objectlist
+ continue
+ ;;
+
+ -os2dllname)
+ prev=os2dllname
+ continue
+ ;;
+
+ -o) prev=output ;;
+
+ -precious-files-regex)
+ prev=precious_regex
+ continue
+ ;;
+
+ -release)
+ prev=release
+ continue
+ ;;
+
+ -rpath)
+ prev=rpath
+ continue
+ ;;
+
+ -R)
+ prev=xrpath
+ continue
+ ;;
+
+ -R*)
+ func_stripname '-R' '' "$arg"
+ dir=$func_stripname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ =*)
+ func_stripname '=' '' "$dir"
+ dir=$lt_sysroot$func_stripname_result
+ ;;
+ *)
+ func_fatal_error "only absolute run-paths are allowed"
+ ;;
+ esac
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ continue
+ ;;
+
+ -shared)
+ # The effects of -shared are defined in a previous loop.
+ continue
+ ;;
+
+ -shrext)
+ prev=shrext
+ continue
+ ;;
+
+ -static | -static-libtool-libs)
+ # The effects of -static are defined in a previous loop.
+ # We used to do the same as -all-static on platforms that
+ # didn't have a PIC flag, but the assumption that the effects
+ # would be equivalent was wrong. It would break on at least
+ # Digital Unix and AIX.
+ continue
+ ;;
+
+ -thread-safe)
+ thread_safe=yes
+ continue
+ ;;
+
+ -version-info)
+ prev=vinfo
+ continue
+ ;;
+
+ -version-number)
+ prev=vinfo
+ vinfo_number=yes
+ continue
+ ;;
+
+ -weak)
+ prev=weak
+ continue
+ ;;
+
+ -Wc,*)
+ func_stripname '-Wc,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs=$IFS; IFS=,
+ for flag in $args; do
+ IFS=$save_ifs
+ func_quote_for_eval "$flag"
+ func_append arg " $func_quote_for_eval_result"
+ func_append compiler_flags " $func_quote_for_eval_result"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Wl,*)
+ func_stripname '-Wl,' '' "$arg"
+ args=$func_stripname_result
+ arg=
+ save_ifs=$IFS; IFS=,
+ for flag in $args; do
+ IFS=$save_ifs
+ func_quote_for_eval "$flag"
+ func_append arg " $wl$func_quote_for_eval_result"
+ func_append compiler_flags " $wl$func_quote_for_eval_result"
+ func_append linker_flags " $func_quote_for_eval_result"
+ done
+ IFS=$save_ifs
+ func_stripname ' ' '' "$arg"
+ arg=$func_stripname_result
+ ;;
+
+ -Xcompiler)
+ prev=xcompiler
+ continue
+ ;;
+
+ -Xlinker)
+ prev=xlinker
+ continue
+ ;;
+
+ -XCClinker)
+ prev=xcclinker
+ continue
+ ;;
+
+ # -msg_* for osf cc
+ -msg_*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+
+ # Flags to be passed through unchanged, with rationale:
+ # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
+ # -r[0-9][0-9]* specify processor for the SGI compiler
+ # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
+ # +DA*, +DD* enable 64-bit mode for the HP compiler
+ # -q* compiler args for the IBM compiler
+ # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
+ # -F/path path to uninstalled frameworks, gcc on darwin
+ # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
+ # -fstack-protector* stack protector flags for GCC
+ # @file GCC response files
+ # -tp=* Portland pgcc target processor selection
+ # --sysroot=* for sysroot support
+ # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ # -stdlib=* select c++ std lib with clang
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ func_append compiler_flags " $arg"
+ continue
+ ;;
+
+ -Z*)
+ if test os2 = "`expr $host : '.*\(os2\)'`"; then
+ # OS/2 uses -Zxxx to specify OS/2-specific options
+ compiler_flags="$compiler_flags $arg"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ case $arg in
+ -Zlinker | -Zstack)
+ prev=xcompiler
+ ;;
+ esac
+ continue
+ else
+ # Otherwise treat like 'Some other compiler flag' below
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ fi
+ ;;
+
+ # Some other compiler flag.
+ -* | +*)
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+
+ *.$objext)
+ # A standard object.
+ func_append objs " $arg"
+ ;;
+
+ *.lo)
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if func_lalib_unsafe_p "$arg"; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ func_source "$arg"
+
+ if test -z "$pic_object" ||
+ test -z "$non_pic_object" ||
+ test none = "$pic_object" &&
+ test none = "$non_pic_object"; then
+ func_fatal_error "cannot find name of object for '$arg'"
+ fi
+
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ test none = "$pic_object" || {
+ # Prepend the subdirectory the object is found in.
+ pic_object=$xdir$pic_object
+
+ if test dlfiles = "$prev"; then
+ if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
+ func_append dlfiles " $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test dlprefiles = "$prev"; then
+ # Preload the old-style object.
+ func_append dlprefiles " $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ func_append libobjs " $pic_object"
+ arg=$pic_object
+ }
+
+ # Non-PIC object.
+ if test none != "$non_pic_object"; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object=$xdir$non_pic_object
+
+ # A standard non-PIC object
+ func_append non_pic_objects " $non_pic_object"
+ if test -z "$pic_object" || test none = "$pic_object"; then
+ arg=$non_pic_object
+ fi
+ else
+ # If the PIC object exists, use it instead.
+ # $xdir was prepended to $pic_object above.
+ non_pic_object=$pic_object
+ func_append non_pic_objects " $non_pic_object"
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if $opt_dry_run; then
+ # Extract subdirectory from the argument.
+ func_dirname "$arg" "/" ""
+ xdir=$func_dirname_result
+
+ func_lo2o "$arg"
+ pic_object=$xdir$objdir/$func_lo2o_result
+ non_pic_object=$xdir$func_lo2o_result
+ func_append libobjs " $pic_object"
+ func_append non_pic_objects " $non_pic_object"
+ else
+ func_fatal_error "'$arg' is not a valid libtool object"
+ fi
+ fi
+ ;;
+
+ *.$libext)
+ # An archive.
+ func_append deplibs " $arg"
+ func_append old_deplibs " $arg"
+ continue
+ ;;
+
+ *.la)
+ # A libtool-controlled library.
+
+ func_resolve_sysroot "$arg"
+ if test dlfiles = "$prev"; then
+ # This library was specified with -dlopen.
+ func_append dlfiles " $func_resolve_sysroot_result"
+ prev=
+ elif test dlprefiles = "$prev"; then
+ # The library was specified with -dlpreopen.
+ func_append dlprefiles " $func_resolve_sysroot_result"
+ prev=
+ else
+ func_append deplibs " $func_resolve_sysroot_result"
+ fi
+ continue
+ ;;
+
+ # Some other compiler argument.
+ *)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ func_quote_for_eval "$arg"
+ arg=$func_quote_for_eval_result
+ ;;
+ esac # arg
+
+ # Now actually substitute the argument into the commands.
+ if test -n "$arg"; then
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+ done # argument parsing loop
+
+ test -n "$prev" && \
+ func_fatal_help "the '$prevarg' option requires an argument"
+
+ if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
+ eval arg=\"$export_dynamic_flag_spec\"
+ func_append compile_command " $arg"
+ func_append finalize_command " $arg"
+ fi
+
+ oldlibs=
+ # calculate the name of the file, without its directory
+ func_basename "$output"
+ outputname=$func_basename_result
+ libobjs_save=$libobjs
+
+ if test -n "$shlibpath_var"; then
+ # get the directories listed in $shlibpath_var
+ eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
+ else
+ shlib_search_path=
+ fi
+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
+
+ func_dirname "$output" "/" ""
+ output_objdir=$func_dirname_result$objdir
+ func_to_tool_file "$output_objdir/"
+ tool_output_objdir=$func_to_tool_file_result
+ # Create the object directory.
+ func_mkdir_p "$output_objdir"
+
+ # Determine the type of output
+ case $output in
+ "")
+ func_fatal_help "you must specify an output file"
+ ;;
+ *.$libext) linkmode=oldlib ;;
+ *.lo | *.$objext) linkmode=obj ;;
+ *.la) linkmode=lib ;;
+ *) linkmode=prog ;; # Anything else should be a program.
+ esac
+
+ specialdeplibs=
+
+ libs=
+ # Find all interdependent deplibs by searching for libraries
+ # that are linked more than once (e.g. -la -lb -la)
+ for deplib in $deplibs; do
+ if $opt_preserve_dup_deps; then
+ case "$libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append libs " $deplib"
+ done
+
+ if test lib = "$linkmode"; then
+ libs="$predeps $libs $compiler_lib_search_path $postdeps"
+
+ # Compute libraries that are listed more than once in $predeps
+ # $postdeps and mark them as special (i.e., whose duplicates are
+ # not to be eliminated).
+ pre_post_deps=
+ if $opt_duplicate_compiler_generated_deps; then
+ for pre_post_dep in $predeps $postdeps; do
+ case "$pre_post_deps " in
+ *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
+ esac
+ func_append pre_post_deps " $pre_post_dep"
+ done
+ fi
+ pre_post_deps=
+ fi
+
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no # whether we're linking any uninstalled libtool libraries
+ notinst_deplibs= # not-installed libtool libraries
+ notinst_path= # paths that contain not-installed libtool libraries
+
+ case $linkmode in
+ lib)
+ passes="conv dlpreopen link"
+ for file in $dlfiles $dlprefiles; do
+ case $file in
+ *.la) ;;
+ *)
+ func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
+ ;;
+ esac
+ done
+ ;;
+ prog)
+ compile_deplibs=
+ finalize_deplibs=
+ alldeplibs=false
+ newdlfiles=
+ newdlprefiles=
+ passes="conv scan dlopen dlpreopen link"
+ ;;
+ *) passes="conv"
+ ;;
+ esac
+
+ for pass in $passes; do
+ # The preopen pass in lib mode reverses $deplibs; put it back here
+ # so that -L comes before libs that need it for instance...
+ if test lib,link = "$linkmode,$pass"; then
+ ## FIXME: Find the place where the list is rebuilt in the wrong
+ ## order, and fix it there properly
+ tmp_deplibs=
+ for deplib in $deplibs; do
+ tmp_deplibs="$deplib $tmp_deplibs"
+ done
+ deplibs=$tmp_deplibs
+ fi
+
+ if test lib,link = "$linkmode,$pass" ||
+ test prog,scan = "$linkmode,$pass"; then
+ libs=$deplibs
+ deplibs=
+ fi
+ if test prog = "$linkmode"; then
+ case $pass in
+ dlopen) libs=$dlfiles ;;
+ dlpreopen) libs=$dlprefiles ;;
+ link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ esac
+ fi
+ if test lib,dlpreopen = "$linkmode,$pass"; then
+ # Collect and forward deplibs of preopened libtool libs
+ for lib in $dlprefiles; do
+ # Ignore non-libtool-libs
+ dependency_libs=
+ func_resolve_sysroot "$lib"
+ case $lib in
+ *.la) func_source "$func_resolve_sysroot_result" ;;
+ esac
+
+ # Collect preopened libtool deplibs, except any this library
+ # has declared as weak libs
+ for deplib in $dependency_libs; do
+ func_basename "$deplib"
+ deplib_base=$func_basename_result
+ case " $weak_libs " in
+ *" $deplib_base "*) ;;
+ *) func_append deplibs " $deplib" ;;
+ esac
+ done
+ done
+ libs=$dlprefiles
+ fi
+ if test dlopen = "$pass"; then
+ # Collect dlpreopened libraries
+ save_deplibs=$deplibs
+ deplibs=
+ fi
+
+ for deplib in $libs; do
+ lib=
+ found=false
+ case $deplib in
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append compiler_flags " $deplib"
+ if test lib = "$linkmode"; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -l*)
+ if test lib != "$linkmode" && test prog != "$linkmode"; then
+ func_warning "'-l' is ignored for archives/objects"
+ continue
+ fi
+ func_stripname '-l' '' "$deplib"
+ name=$func_stripname_result
+ if test lib = "$linkmode"; then
+ searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
+ else
+ searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
+ fi
+ for searchdir in $searchdirs; do
+ for search_ext in .la $std_shrext .so .a; do
+ # Search the libtool library
+ lib=$searchdir/lib$name$search_ext
+ if test -f "$lib"; then
+ if test .la = "$search_ext"; then
+ found=:
+ else
+ found=false
+ fi
+ break 2
+ fi
+ done
+ done
+ if $found; then
+ # deplib is a libtool library
+ # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
+ # We need to do some special things here, and not later.
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $deplib "*)
+ if func_lalib_p "$lib"; then
+ library_names=
+ old_library=
+ func_source "$lib"
+ for l in $old_library $library_names; do
+ ll=$l
+ done
+ if test "X$ll" = "X$old_library"; then # only static version available
+ found=false
+ func_dirname "$lib" "" "."
+ ladir=$func_dirname_result
+ lib=$ladir/$old_library
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ fi
+ ;;
+ *) ;;
+ esac
+ fi
+ else
+ # deplib doesn't seem to be a libtool library
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ ;; # -l
+ *.ltframework)
+ if test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ if test lib = "$linkmode"; then
+ case "$new_inherited_linker_flags " in
+ *" $deplib "*) ;;
+ * ) func_append new_inherited_linker_flags " $deplib" ;;
+ esac
+ fi
+ fi
+ continue
+ ;;
+ -L*)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ test conv = "$pass" && continue
+ newdependency_libs="$deplib $newdependency_libs"
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ prog)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ if test scan = "$pass"; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ *)
+ func_warning "'-L' is ignored for archives/objects"
+ ;;
+ esac # linkmode
+ continue
+ ;; # -L
+ -R*)
+ if test link = "$pass"; then
+ func_stripname '-R' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ dir=$func_resolve_sysroot_result
+ # Make sure the xrpath contains only unique directories.
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) func_append xrpath " $dir" ;;
+ esac
+ fi
+ deplibs="$deplib $deplibs"
+ continue
+ ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ lib=$func_resolve_sysroot_result
+ ;;
+ *.$libext)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ case $linkmode in
+ lib)
+ # Linking convenience modules into shared libraries is allowed,
+ # but linking other static libraries is non-portable.
+ case " $dlpreconveniencelibs " in
+ *" $deplib "*) ;;
+ *)
+ valid_a_lib=false
+ case $deplibs_check_method in
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
+ | $EGREP "$match_pattern_regex" > /dev/null; then
+ valid_a_lib=:
+ fi
+ ;;
+ pass_all)
+ valid_a_lib=:
+ ;;
+ esac
+ if $valid_a_lib; then
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the"
+ $ECHO "*** static library $deplib is not portable!"
+ deplibs="$deplib $deplibs"
+ else
+ echo
+ $ECHO "*** Warning: Trying to link with static lib archive $deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because the file extensions .$libext of this argument makes me believe"
+ echo "*** that it is just a static archive that I should not use here."
+ fi
+ ;;
+ esac
+ continue
+ ;;
+ prog)
+ if test link != "$pass"; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ continue
+ ;;
+ esac # linkmode
+ ;; # *.$libext
+ *.lo | *.$objext)
+ if test conv = "$pass"; then
+ deplibs="$deplib $deplibs"
+ elif test prog = "$linkmode"; then
+ if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
+ # If there is no dlopen support or we're linking statically,
+ # we need to preload.
+ func_append newdlprefiles " $deplib"
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ func_append newdlfiles " $deplib"
+ fi
+ fi
+ continue
+ ;;
+ %DEPLIBS%)
+ alldeplibs=:
+ continue
+ ;;
+ esac # case $deplib
+
+ $found || test -f "$lib" \
+ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
+
+ # Check to see that this really is a libtool archive.
+ func_lalib_unsafe_p "$lib" \
+ || func_fatal_error "'$lib' is not a valid libtool archive"
+
+ func_dirname "$lib" "" "."
+ ladir=$func_dirname_result
+
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ inherited_linker_flags=
+ # If the library was installed with an old release of libtool,
+ # it will not redefine variables installed, or shouldnotlink
+ installed=yes
+ shouldnotlink=no
+ avoidtemprpath=
+
+
+ # Read the .la file
+ func_source "$lib"
+
+ # Convert "-framework foo" to "foo.ltframework"
+ if test -n "$inherited_linker_flags"; then
+ tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
+ for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
+ case " $new_inherited_linker_flags " in
+ *" $tmp_inherited_linker_flag "*) ;;
+ *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
+ esac
+ done
+ fi
+ dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ if test lib,link = "$linkmode,$pass" ||
+ test prog,scan = "$linkmode,$pass" ||
+ { test prog != "$linkmode" && test lib != "$linkmode"; }; then
+ test -n "$dlopen" && func_append dlfiles " $dlopen"
+ test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
+ fi
+
+ if test conv = "$pass"; then
+ # Only check for convenience libraries
+ deplibs="$lib $deplibs"
+ if test -z "$libdir"; then
+ if test -z "$old_library"; then
+ func_fatal_error "cannot find name of link library for '$lib'"
+ fi
+ # It is a libtool convenience library, so add in its objects.
+ func_append convenience " $ladir/$objdir/$old_library"
+ func_append old_convenience " $ladir/$objdir/$old_library"
+ elif test prog != "$linkmode" && test lib != "$linkmode"; then
+ func_fatal_error "'$lib' is not a convenience library"
+ fi
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ deplibs="$deplib $deplibs"
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done
+ continue
+ fi # $pass = conv
+
+
+ # Get the name of the library we link against.
+ linklib=
+ if test -n "$old_library" &&
+ { test yes = "$prefer_static_libs" ||
+ test built,no = "$prefer_static_libs,$installed"; }; then
+ linklib=$old_library
+ else
+ for l in $old_library $library_names; do
+ linklib=$l
+ done
+ fi
+ if test -z "$linklib"; then
+ func_fatal_error "cannot find name of link library for '$lib'"
+ fi
+
+ # This library was specified with -dlopen.
+ if test dlopen = "$pass"; then
+ test -z "$libdir" \
+ && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
+ if test -z "$dlname" ||
+ test yes != "$dlopen_support" ||
+ test no = "$build_libtool_libs"
+ then
+ # If there is no dlname, no dlopen support or we're linking
+ # statically, we need to preload. We also need to preload any
+ # dependent libraries so libltdl's deplib preloader doesn't
+ # bomb out in the load deplibs phase.
+ func_append dlprefiles " $lib $dependency_libs"
+ else
+ func_append newdlfiles " $lib"
+ fi
+ continue
+ fi # $pass = dlopen
+
+ # We need an absolute path.
+ case $ladir in
+ [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
+ *)
+ abs_ladir=`cd "$ladir" && pwd`
+ if test -z "$abs_ladir"; then
+ func_warning "cannot determine absolute directory name of '$ladir'"
+ func_warning "passing it literally to the linker, although it might fail"
+ abs_ladir=$ladir
+ fi
+ ;;
+ esac
+ func_basename "$lib"
+ laname=$func_basename_result
+
+ # Find the relevant object directory and library name.
+ if test yes = "$installed"; then
+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ func_warning "library '$lib' was moved."
+ dir=$ladir
+ absdir=$abs_ladir
+ libdir=$abs_ladir
+ else
+ dir=$lt_sysroot$libdir
+ absdir=$lt_sysroot$libdir
+ fi
+ test yes = "$hardcode_automatic" && avoidtemprpath=yes
+ else
+ if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ dir=$ladir
+ absdir=$abs_ladir
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ else
+ dir=$ladir/$objdir
+ absdir=$abs_ladir/$objdir
+ # Remove this search path later
+ func_append notinst_path " $abs_ladir"
+ fi
+ fi # $installed = yes
+ func_stripname 'lib' '.la' "$laname"
+ name=$func_stripname_result
+
+ # This library was specified with -dlpreopen.
+ if test dlpreopen = "$pass"; then
+ if test -z "$libdir" && test prog = "$linkmode"; then
+ func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
+ fi
+ case $host in
+ # special handling for platforms with PE-DLLs.
+ *cygwin* | *mingw* | *cegcc* )
+ # Linker will automatically link against shared library if both
+ # static and shared are present. Therefore, ensure we extract
+ # symbols from the import library if a shared library is present
+ # (otherwise, the dlopen module name will be incorrect). We do
+ # this by putting the import library name into $newdlprefiles.
+ # We recover the dlopen module name by 'saving' the la file
+ # name in a special purpose variable, and (later) extracting the
+ # dlname from the la file.
+ if test -n "$dlname"; then
+ func_tr_sh "$dir/$linklib"
+ eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
+ func_append newdlprefiles " $dir/$linklib"
+ else
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ fi
+ ;;
+ * )
+ # Prefer using a static library (so that no silly _DYNAMIC symbols
+ # are required to link).
+ if test -n "$old_library"; then
+ func_append newdlprefiles " $dir/$old_library"
+ # Keep a list of preopened convenience libraries to check
+ # that they are being used correctly in the link pass.
+ test -z "$libdir" && \
+ func_append dlpreconveniencelibs " $dir/$old_library"
+ # Otherwise, use the dlname, so that lt_dlopen finds it.
+ elif test -n "$dlname"; then
+ func_append newdlprefiles " $dir/$dlname"
+ else
+ func_append newdlprefiles " $dir/$linklib"
+ fi
+ ;;
+ esac
+ fi # $pass = dlpreopen
+
+ if test -z "$libdir"; then
+ # Link the convenience library
+ if test lib = "$linkmode"; then
+ deplibs="$dir/$old_library $deplibs"
+ elif test prog,link = "$linkmode,$pass"; then
+ compile_deplibs="$dir/$old_library $compile_deplibs"
+ finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ else
+ deplibs="$lib $deplibs" # used for prog,scan pass
+ fi
+ continue
+ fi
+
+
+ if test prog = "$linkmode" && test link != "$pass"; then
+ func_append newlib_search_path " $ladir"
+ deplibs="$lib $deplibs"
+
+ linkalldeplibs=false
+ if test no != "$link_all_deplibs" || test -z "$library_names" ||
+ test no = "$build_libtool_libs"; then
+ linkalldeplibs=:
+ fi
+
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result"
+ func_append newlib_search_path " $func_resolve_sysroot_result"
+ ;;
+ esac
+ # Need to link against all dependency_libs?
+ if $linkalldeplibs; then
+ deplibs="$deplib $deplibs"
+ else
+ # Need to hardcode shared library paths
+ # or/and link against static libraries
+ newdependency_libs="$deplib $newdependency_libs"
+ fi
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
+ esac
+ fi
+ func_append tmp_libs " $deplib"
+ done # for deplib
+ continue
+ fi # $linkmode = prog...
+
+ if test prog,link = "$linkmode,$pass"; then
+ if test -n "$library_names" &&
+ { { test no = "$prefer_static_libs" ||
+ test built,yes = "$prefer_static_libs,$installed"; } ||
+ test -z "$old_library"; }; then
+ # We need to hardcode the library path
+ if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
+ # Make sure the rpath contains only unique directories.
+ case $temp_rpath: in
+ *"$absdir:"*) ;;
+ *) func_append temp_rpath "$absdir:" ;;
+ esac
+ fi
+
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi # $linkmode,$pass = prog,link...
+
+ if $alldeplibs &&
+ { test pass_all = "$deplibs_check_method" ||
+ { test yes = "$build_libtool_libs" &&
+ test -n "$library_names"; }; }; then
+ # We only need to search for static libraries
+ continue
+ fi
+ fi
+
+ link_static=no # Whether the deplib will be linked statically
+ use_static_libs=$prefer_static_libs
+ if test built = "$use_static_libs" && test yes = "$installed"; then
+ use_static_libs=no
+ fi
+ if test -n "$library_names" &&
+ { test no = "$use_static_libs" || test -z "$old_library"; }; then
+ case $host in
+ *cygwin* | *mingw* | *cegcc* | *os2*)
+ # No point in relinking DLLs because paths are not encoded
+ func_append notinst_deplibs " $lib"
+ need_relink=no
+ ;;
+ *)
+ if test no = "$installed"; then
+ func_append notinst_deplibs " $lib"
+ need_relink=yes
+ fi
+ ;;
+ esac
+ # This is a shared library
+
+ # Warn about portability, can't link against -module's on some
+ # systems (darwin). Don't bleat about dlopened modules though!
+ dlopenmodule=
+ for dlpremoduletest in $dlprefiles; do
+ if test "X$dlpremoduletest" = "X$lib"; then
+ dlopenmodule=$dlpremoduletest
+ break
+ fi
+ done
+ if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
+ echo
+ if test prog = "$linkmode"; then
+ $ECHO "*** Warning: Linking the executable $output against the loadable module"
+ else
+ $ECHO "*** Warning: Linking the shared library $output against the loadable module"
+ fi
+ $ECHO "*** $linklib is not portable!"
+ fi
+ if test lib = "$linkmode" &&
+ test yes = "$hardcode_into_libs"; then
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) func_append compile_rpath " $absdir" ;;
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ ;;
+ esac
+ fi
+
+ if test -n "$old_archive_from_expsyms_cmds"; then
+ # figure out the soname
+ set dummy $library_names
+ shift
+ realname=$1
+ shift
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ # use dlname if we got it. it's perfectly good, no?
+ if test -n "$dlname"; then
+ soname=$dlname
+ elif test -n "$soname_spec"; then
+ # bleh windows
+ case $host in
+ *cygwin* | mingw* | *cegcc* | *os2*)
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix=-$major
+ ;;
+ esac
+ eval soname=\"$soname_spec\"
+ else
+ soname=$realname
+ fi
+
+ # Make a new name for the extract_expsyms_cmds to use
+ soroot=$soname
+ func_basename "$soroot"
+ soname=$func_basename_result
+ func_stripname 'lib' '.dll' "$soname"
+ newlib=libimp-$func_stripname_result.a
+
+ # If the library has no export list, then create one now
+ if test -f "$output_objdir/$soname-def"; then :
+ else
+ func_verbose "extracting exported symbol list from '$soname'"
+ func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
+ fi
+
+ # Create $newlib
+ if test -f "$output_objdir/$newlib"; then :; else
+ func_verbose "generating import library for '$soname'"
+ func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
+ fi
+ # make sure the library variables are pointing to the new library
+ dir=$output_objdir
+ linklib=$newlib
+ fi # test -n "$old_archive_from_expsyms_cmds"
+
+ if test prog = "$linkmode" || test relink != "$opt_mode"; then
+ add_shlibpath=
+ add_dir=
+ add=
+ lib_linked=yes
+ case $hardcode_action in
+ immediate | unsupported)
+ if test no = "$hardcode_direct"; then
+ add=$dir/$linklib
+ case $host in
+ *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
+ *-*-sysv4*uw2*) add_dir=-L$dir ;;
+ *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
+ *-*-unixware7*) add_dir=-L$dir ;;
+ *-*-darwin* )
+ # if the lib is a (non-dlopened) module then we cannot
+ # link against it, someone is ignoring the earlier warnings
+ if /usr/bin/file -L $add 2> /dev/null |
+ $GREP ": [^:]* bundle" >/dev/null; then
+ if test "X$dlopenmodule" != "X$lib"; then
+ $ECHO "*** Warning: lib $linklib is a module, not a shared library"
+ if test -z "$old_library"; then
+ echo
+ echo "*** And there doesn't seem to be a static archive available"
+ echo "*** The link will probably fail, sorry"
+ else
+ add=$dir/$old_library
+ fi
+ elif test -n "$old_library"; then
+ add=$dir/$old_library
+ fi
+ fi
+ esac
+ elif test no = "$hardcode_minus_L"; then
+ case $host in
+ *-*-sunos*) add_shlibpath=$dir ;;
+ esac
+ add_dir=-L$dir
+ add=-l$name
+ elif test no = "$hardcode_shlibpath_var"; then
+ add_shlibpath=$dir
+ add=-l$name
+ else
+ lib_linked=no
+ fi
+ ;;
+ relink)
+ if test yes = "$hardcode_direct" &&
+ test no = "$hardcode_direct_absolute"; then
+ add=$dir/$linklib
+ elif test yes = "$hardcode_minus_L"; then
+ add_dir=-L$absdir
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add=-l$name
+ elif test yes = "$hardcode_shlibpath_var"; then
+ add_shlibpath=$dir
+ add=-l$name
+ else
+ lib_linked=no
+ fi
+ ;;
+ *) lib_linked=no ;;
+ esac
+
+ if test yes != "$lib_linked"; then
+ func_fatal_configuration "unsupported hardcode properties"
+ fi
+
+ if test -n "$add_shlibpath"; then
+ case :$compile_shlibpath: in
+ *":$add_shlibpath:"*) ;;
+ *) func_append compile_shlibpath "$add_shlibpath:" ;;
+ esac
+ fi
+ if test prog = "$linkmode"; then
+ test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
+ test -n "$add" && compile_deplibs="$add $compile_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ if test yes != "$hardcode_direct" &&
+ test yes != "$hardcode_minus_L" &&
+ test yes = "$hardcode_shlibpath_var"; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ fi
+ fi
+ fi
+
+ if test prog = "$linkmode" || test relink = "$opt_mode"; then
+ add_shlibpath=
+ add_dir=
+ add=
+ # Finalize command for both is simple: just hardcode it.
+ if test yes = "$hardcode_direct" &&
+ test no = "$hardcode_direct_absolute"; then
+ add=$libdir/$linklib
+ elif test yes = "$hardcode_minus_L"; then
+ add_dir=-L$libdir
+ add=-l$name
+ elif test yes = "$hardcode_shlibpath_var"; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) func_append finalize_shlibpath "$libdir:" ;;
+ esac
+ add=-l$name
+ elif test yes = "$hardcode_automatic"; then
+ if test -n "$inst_prefix_dir" &&
+ test -f "$inst_prefix_dir$libdir/$linklib"; then
+ add=$inst_prefix_dir$libdir/$linklib
+ else
+ add=$libdir/$linklib
+ fi
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+ add_dir=-L$libdir
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
+ [\\/]*)
+ func_append add_dir " -L$inst_prefix_dir$libdir"
+ ;;
+ esac
+ fi
+ add=-l$name
+ fi
+
+ if test prog = "$linkmode"; then
+ test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
+ test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ fi
+ fi
+ elif test prog = "$linkmode"; then
+ # Here we assume that one of hardcode_direct or hardcode_minus_L
+ # is not unsupported. This is valid on all known static and
+ # shared platforms.
+ if test unsupported != "$hardcode_direct"; then
+ test -n "$old_library" && linklib=$old_library
+ compile_deplibs="$dir/$linklib $compile_deplibs"
+ finalize_deplibs="$dir/$linklib $finalize_deplibs"
+ else
+ compile_deplibs="-l$name -L$dir $compile_deplibs"
+ finalize_deplibs="-l$name -L$dir $finalize_deplibs"
+ fi
+ elif test yes = "$build_libtool_libs"; then
+ # Not a shared library
+ if test pass_all != "$deplibs_check_method"; then
+ # We're trying link a shared library against a static one
+ # but the system doesn't support it.
+
+ # Just print a warning and add the library to dependency_libs so
+ # that the program can be linked against the static library.
+ echo
+ $ECHO "*** Warning: This system cannot link to static lib archive $lib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have."
+ if test yes = "$module"; then
+ echo "*** But as you try to build a module library, libtool will still create "
+ echo "*** a static module, that should work as long as the dlopening application"
+ echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** 'nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test no = "$build_old_libs"; then
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ else
+ deplibs="$dir/$old_library $deplibs"
+ link_static=yes
+ fi
+ fi # link shared/static library?
+
+ if test lib = "$linkmode"; then
+ if test -n "$dependency_libs" &&
+ { test yes != "$hardcode_into_libs" ||
+ test yes = "$build_old_libs" ||
+ test yes = "$link_static"; }; then
+ # Extract -R from dependency_libs
+ temp_deplibs=
+ for libdir in $dependency_libs; do
+ case $libdir in
+ -R*) func_stripname '-R' '' "$libdir"
+ temp_xrpath=$func_stripname_result
+ case " $xrpath " in
+ *" $temp_xrpath "*) ;;
+ *) func_append xrpath " $temp_xrpath";;
+ esac;;
+ *) func_append temp_deplibs " $libdir";;
+ esac
+ done
+ dependency_libs=$temp_deplibs
+ fi
+
+ func_append newlib_search_path " $absdir"
+ # Link against this library
+ test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
+ # ... and its dependency_libs
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ newdependency_libs="$deplib $newdependency_libs"
+ case $deplib in
+ -L*) func_stripname '-L' '' "$deplib"
+ func_resolve_sysroot "$func_stripname_result";;
+ *) func_resolve_sysroot "$deplib" ;;
+ esac
+ if $opt_preserve_dup_deps; then
+ case "$tmp_libs " in
+ *" $func_resolve_sysroot_result "*)
+ func_append specialdeplibs " $func_resolve_sysroot_result" ;;
+ esac
+ fi
+ func_append tmp_libs " $func_resolve_sysroot_result"
+ done
+
+ if test no != "$link_all_deplibs"; then
+ # Add the search paths of all dependency libraries
+ for deplib in $dependency_libs; do
+ path=
+ case $deplib in
+ -L*) path=$deplib ;;
+ *.la)
+ func_resolve_sysroot "$deplib"
+ deplib=$func_resolve_sysroot_result
+ func_dirname "$deplib" "" "."
+ dir=$func_dirname_result
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ func_warning "cannot determine absolute directory name of '$dir'"
+ absdir=$dir
+ fi
+ ;;
+ esac
+ if $GREP "^installed=no" $deplib > /dev/null; then
+ case $host in
+ *-*-darwin*)
+ depdepl=
+ eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
+ if test -n "$deplibrary_names"; then
+ for tmp in $deplibrary_names; do
+ depdepl=$tmp
+ done
+ if test -f "$absdir/$objdir/$depdepl"; then
+ depdepl=$absdir/$objdir/$depdepl
+ darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ if test -z "$darwin_install_name"; then
+ darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
+ fi
+ func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
+ func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
+ path=
+ fi
+ fi
+ ;;
+ *)
+ path=-L$absdir/$objdir
+ ;;
+ esac
+ else
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ test -z "$libdir" && \
+ func_fatal_error "'$deplib' is not a valid libtool archive"
+ test "$absdir" != "$libdir" && \
+ func_warning "'$deplib' seems to be moved"
+
+ path=-L$absdir
+ fi
+ ;;
+ esac
+ case " $deplibs " in
+ *" $path "*) ;;
+ *) deplibs="$path $deplibs" ;;
+ esac
+ done
+ fi # link_all_deplibs != no
+ fi # linkmode = lib
+ done # for deplib in $libs
+ if test link = "$pass"; then
+ if test prog = "$linkmode"; then
+ compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
+ finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
+ else
+ compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ fi
+ fi
+ dependency_libs=$newdependency_libs
+ if test dlpreopen = "$pass"; then
+ # Link the dlpreopened libraries before other libraries
+ for deplib in $save_deplibs; do
+ deplibs="$deplib $deplibs"
+ done
+ fi
+ if test dlopen != "$pass"; then
+ test conv = "$pass" || {
+ # Make sure lib_search_path contains only unique directories.
+ lib_search_path=
+ for dir in $newlib_search_path; do
+ case "$lib_search_path " in
+ *" $dir "*) ;;
+ *) func_append lib_search_path " $dir" ;;
+ esac
+ done
+ newlib_search_path=
+ }
+
+ if test prog,link = "$linkmode,$pass"; then
+ vars="compile_deplibs finalize_deplibs"
+ else
+ vars=deplibs
+ fi
+ for var in $vars dependency_libs; do
+ # Add libraries to $var in reverse order
+ eval tmp_libs=\"\$$var\"
+ new_libs=
+ for deplib in $tmp_libs; do
+ # FIXME: Pedantically, this is the right thing to do, so
+ # that some nasty dependency loop isn't accidentally
+ # broken:
+ #new_libs="$deplib $new_libs"
+ # Pragmatically, this seems to cause very few problems in
+ # practice:
+ case $deplib in
+ -L*) new_libs="$deplib $new_libs" ;;
+ -R*) ;;
+ *)
+ # And here is the reason: when a library appears more
+ # than once as an explicit dependence of a library, or
+ # is implicitly linked in more than once by the
+ # compiler, it is considered special, and multiple
+ # occurrences thereof are not removed. Compare this
+ # with having the same library being listed as a
+ # dependency of multiple other libraries: in this case,
+ # we know (pedantically, we assume) the library does not
+ # need to be listed more than once, so we keep only the
+ # last copy. This is not always right, but it is rare
+ # enough that we require users that really mean to play
+ # such unportable linking tricks to link the library
+ # using -Wl,-lname, so that libtool does not consider it
+ # for duplicate removal.
+ case " $specialdeplibs " in
+ *" $deplib "*) new_libs="$deplib $new_libs" ;;
+ *)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) new_libs="$deplib $new_libs" ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+ done
+ tmp_libs=
+ for deplib in $new_libs; do
+ case $deplib in
+ -L*)
+ case " $tmp_libs " in
+ *" $deplib "*) ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append tmp_libs " $deplib" ;;
+ esac
+ done
+ eval $var=\"$tmp_libs\"
+ done # for var
+ fi
+ # Last step: remove runtime libs from dependency_libs
+ # (they stay in deplibs)
+ tmp_libs=
+ for i in $dependency_libs; do
+ case " $predeps $postdeps $compiler_lib_search_path " in
+ *" $i "*)
+ i=
+ ;;
+ esac
+ if test -n "$i"; then
+ func_append tmp_libs " $i"
+ fi
+ done
+ dependency_libs=$tmp_libs
+ done # for pass
+ if test prog = "$linkmode"; then
+ dlfiles=$newdlfiles
+ fi
+ if test prog = "$linkmode" || test lib = "$linkmode"; then
+ dlprefiles=$newdlprefiles
+ fi
+
+ case $linkmode in
+ oldlib)
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ func_warning "'-dlopen' is ignored for archives"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "'-l' and '-L' are ignored for archives" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "'-rpath' is ignored for archives"
+
+ test -n "$xrpath" && \
+ func_warning "'-R' is ignored for archives"
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info/-version-number' is ignored for archives"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for archives"
+
+ test -n "$export_symbols$export_symbols_regex" && \
+ func_warning "'-export-symbols' is ignored for archives"
+
+ # Now set the variables for building old libraries.
+ build_libtool_libs=no
+ oldlibs=$output
+ func_append objs "$old_deplibs"
+ ;;
+
+ lib)
+ # Make sure we only generate libraries of the form 'libNAME.la'.
+ case $outputname in
+ lib*)
+ func_stripname 'lib' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ ;;
+ *)
+ test no = "$module" \
+ && func_fatal_help "libtool library '$output' must begin with 'lib'"
+
+ if test no != "$need_lib_prefix"; then
+ # Add the "lib" prefix for modules if required
+ func_stripname '' '.la' "$outputname"
+ name=$func_stripname_result
+ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ else
+ func_stripname '' '.la' "$outputname"
+ libname=$func_stripname_result
+ fi
+ ;;
+ esac
+
+ if test -n "$objs"; then
+ if test pass_all != "$deplibs_check_method"; then
+ func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
+ else
+ echo
+ $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
+ $ECHO "*** objects $objs is not portable!"
+ func_append libobjs " $objs"
+ fi
+ fi
+
+ test no = "$dlself" \
+ || func_warning "'-dlopen self' is ignored for libtool libraries"
+
+ set dummy $rpath
+ shift
+ test 1 -lt "$#" \
+ && func_warning "ignoring multiple '-rpath's for a libtool library"
+
+ install_libdir=$1
+
+ oldlibs=
+ if test -z "$rpath"; then
+ if test yes = "$build_libtool_libs"; then
+ # Building a libtool convenience library.
+ # Some compilers have problems with a '.al' extension so
+ # convenience libraries should have the same extension an
+ # archive normally would.
+ oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ build_libtool_libs=convenience
+ build_old_libs=yes
+ fi
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info/-version-number' is ignored for convenience libraries"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for convenience libraries"
+ else
+
+ # Parse the version information argument.
+ save_ifs=$IFS; IFS=:
+ set dummy $vinfo 0 0 0
+ shift
+ IFS=$save_ifs
+
+ test -n "$7" && \
+ func_fatal_help "too many parameters to '-version-info'"
+
+ # convert absolute version numbers to libtool ages
+ # this retains compatibility with .la files and attempts
+ # to make the code below a bit more comprehensible
+
+ case $vinfo_number in
+ yes)
+ number_major=$1
+ number_minor=$2
+ number_revision=$3
+ #
+ # There are really only two kinds -- those that
+ # use the current revision as the major version
+ # and those that subtract age and use age as
+ # a minor version. But, then there is irix
+ # that has an extra 1 added just for fun
+ #
+ case $version_type in
+ # correct linux to gnu/linux during the next big refactor
+ darwin|freebsd-elf|linux|osf|windows|none)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age=$number_minor
+ revision=$number_revision
+ ;;
+ freebsd-aout|qnx|sunos)
+ current=$number_major
+ revision=$number_minor
+ age=0
+ ;;
+ irix|nonstopux)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age=$number_minor
+ revision=$number_minor
+ lt_irix_increment=no
+ ;;
+ esac
+ ;;
+ no)
+ current=$1
+ revision=$2
+ age=$3
+ ;;
+ esac
+
+ # Check that each of the things are valid numbers.
+ case $current in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "CURRENT '$current' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $revision in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "REVISION '$revision' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ case $age in
+ 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
+ *)
+ func_error "AGE '$age' must be a nonnegative integer"
+ func_fatal_error "'$vinfo' is not valid version information"
+ ;;
+ esac
+
+ if test "$age" -gt "$current"; then
+ func_error "AGE '$age' is greater than the current interface number '$current'"
+ func_fatal_error "'$vinfo' is not valid version information"
+ fi
+
+ # Calculate the version variables.
+ major=
+ versuffix=
+ verstring=
+ case $version_type in
+ none) ;;
+
+ darwin)
+ # Like Linux, but with the current version available in
+ # verstring for coding it into the library header
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ # Darwin ld doesn't like 0 for these options...
+ func_arith $current + 1
+ minor_current=$func_arith_result
+ xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ # On Darwin other compilers
+ case $CC in
+ nagfor*)
+ verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
+ ;;
+ *)
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ ;;
+ esac
+ ;;
+
+ freebsd-aout)
+ major=.$current
+ versuffix=.$current.$revision
+ ;;
+
+ freebsd-elf)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ ;;
+
+ irix | nonstopux)
+ if test no = "$lt_irix_increment"; then
+ func_arith $current - $age
+ else
+ func_arith $current - $age + 1
+ fi
+ major=$func_arith_result
+
+ case $version_type in
+ nonstopux) verstring_prefix=nonstopux ;;
+ *) verstring_prefix=sgi ;;
+ esac
+ verstring=$verstring_prefix$major.$revision
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$revision
+ while test 0 -ne "$loop"; do
+ func_arith $revision - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring=$verstring_prefix$major.$iface:$verstring
+ done
+
+ # Before this point, $major must not contain '.'.
+ major=.$major
+ versuffix=$major.$revision
+ ;;
+
+ linux) # correct to gnu/linux during the next big refactor
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=$major.$age.$revision
+ ;;
+
+ osf)
+ func_arith $current - $age
+ major=.$func_arith_result
+ versuffix=.$current.$age.$revision
+ verstring=$current.$age.$revision
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$age
+ while test 0 -ne "$loop"; do
+ func_arith $current - $loop
+ iface=$func_arith_result
+ func_arith $loop - 1
+ loop=$func_arith_result
+ verstring=$verstring:$iface.0
+ done
+
+ # Make executables depend on our current version.
+ func_append verstring ":$current.0"
+ ;;
+
+ qnx)
+ major=.$current
+ versuffix=.$current
+ ;;
+
+ sco)
+ major=.$current
+ versuffix=.$current
+ ;;
+
+ sunos)
+ major=.$current
+ versuffix=.$current.$revision
+ ;;
+
+ windows)
+ # Use '-' rather than '.', since we only want one
+ # extension on DOS 8.3 file systems.
+ func_arith $current - $age
+ major=$func_arith_result
+ versuffix=-$major
+ ;;
+
+ *)
+ func_fatal_configuration "unknown library version type '$version_type'"
+ ;;
+ esac
+
+ # Clear the version info if we defaulted, and they specified a release.
+ if test -z "$vinfo" && test -n "$release"; then
+ major=
+ case $version_type in
+ darwin)
+ # we can't check for "0.0" in archive_cmds due to quoting
+ # problems, so we reset it completely
+ verstring=
+ ;;
+ *)
+ verstring=0.0
+ ;;
+ esac
+ if test no = "$need_version"; then
+ versuffix=
+ else
+ versuffix=.0.0
+ fi
+ fi
+
+ # Remove version info from name if versioning should be avoided
+ if test yes,no = "$avoid_version,$need_version"; then
+ major=
+ versuffix=
+ verstring=
+ fi
+
+ # Check to see if the archive will have undefined symbols.
+ if test yes = "$allow_undefined"; then
+ if test unsupported = "$allow_undefined_flag"; then
+ if test yes = "$build_old_libs"; then
+ func_warning "undefined symbols not allowed in $host shared libraries; building static only"
+ build_libtool_libs=no
+ else
+ func_fatal_error "can't build $host shared library unless -no-undefined is specified"
+ fi
+ fi
+ else
+ # Don't allow undefined symbols.
+ allow_undefined_flag=$no_undefined_flag
+ fi
+
+ fi
+
+ func_generate_dlsyms "$libname" "$libname" :
+ func_append libobjs " $symfileobj"
+ test " " = "$libobjs" && libobjs=
+
+ if test relink != "$opt_mode"; then
+ # Remove our outputs, but don't remove object files since they
+ # may have been created when compiling PIC objects.
+ removelist=
+ tempremovelist=`$ECHO "$output_objdir/*"`
+ for p in $tempremovelist; do
+ case $p in
+ *.$objext | *.gcno)
+ ;;
+ $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
+ if test -n "$precious_files_regex"; then
+ if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
+ then
+ continue
+ fi
+ fi
+ func_append removelist " $p"
+ ;;
+ *) ;;
+ esac
+ done
+ test -n "$removelist" && \
+ func_show_eval "${RM}r \$removelist"
+ fi
+
+ # Now set the variables for building old libraries.
+ if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
+ func_append oldlibs " $output_objdir/$libname.$libext"
+
+ # Transform .lo files to .o files.
+ oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
+ fi
+
+ # Eliminate all temporary directories.
+ #for path in $notinst_path; do
+ # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
+ # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
+ # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
+ #done
+
+ if test -n "$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ temp_xrpath=
+ for libdir in $xrpath; do
+ func_replace_sysroot "$libdir"
+ func_append temp_xrpath " -R$func_replace_sysroot_result"
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
+ dependency_libs="$temp_xrpath $dependency_libs"
+ fi
+ fi
+
+ # Make sure dlfiles contains only unique files that won't be dlpreopened
+ old_dlfiles=$dlfiles
+ dlfiles=
+ for lib in $old_dlfiles; do
+ case " $dlprefiles $dlfiles " in
+ *" $lib "*) ;;
+ *) func_append dlfiles " $lib" ;;
+ esac
+ done
+
+ # Make sure dlprefiles contains only unique files
+ old_dlprefiles=$dlprefiles
+ dlprefiles=
+ for lib in $old_dlprefiles; do
+ case "$dlprefiles " in
+ *" $lib "*) ;;
+ *) func_append dlprefiles " $lib" ;;
+ esac
+ done
+
+ if test yes = "$build_libtool_libs"; then
+ if test -n "$rpath"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
+ # these systems don't actually have a c library (as such)!
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C library is in the System framework
+ func_append deplibs " System.ltframework"
+ ;;
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+ *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *-*-sco3.2v5* | *-*-sco5v6*)
+ # Causes problems with __ctype
+ ;;
+ *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
+ # Compiler inserts libc in the correct place for threads to work
+ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test yes = "$build_libtool_need_lc"; then
+ func_append deplibs " -lc"
+ fi
+ ;;
+ esac
+ fi
+
+ # Transform deplibs into only deplibs that can be linked in shared.
+ name_save=$name
+ libname_save=$libname
+ release_save=$release
+ versuffix_save=$versuffix
+ major_save=$major
+ # I'm not sure if I'm treating the release correctly. I think
+ # release should show up in the -l (ie -lgmp5) so we don't want to
+ # add it in twice. Is that correct?
+ release=
+ versuffix=
+ major=
+ newdeplibs=
+ droppeddeps=no
+ case $deplibs_check_method in
+ pass_all)
+ # Don't check for shared/static. Everything works.
+ # This might be a little naive. We might want to check
+ # whether the library exists or not. But this is on
+ # osf3 & osf4 and I'm not really sure... Just
+ # implementing what was already the behavior.
+ newdeplibs=$deplibs
+ ;;
+ test_compile)
+ # This code stresses the "libraries are programs" paradigm to its
+ # limits. Maybe even breaks it. We compile a program, linking it
+ # against the deplibs as a proxy for the library. Then we can check
+ # whether they linked in statically or dynamically with ldd.
+ $opt_dry_run || $RM conftest.c
+ cat > conftest.c <<EOF
+ int main() { return 0; }
+EOF
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
+ ldd_output=`ldd conftest`
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=
+ ;;
+ esac
+ fi
+ if test -n "$i"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which I believe you do not have"
+ echo "*** because a test_compile did reveal that the linker did not use it for"
+ echo "*** its dynamic dependency list that programs get resolved with at runtime."
+ fi
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ else
+ # Error occurred in the first compile. Let's try to salvage
+ # the situation: Compile a separate program for each library.
+ for i in $deplibs; do
+ case $i in
+ -l*)
+ func_stripname -l '' "$i"
+ name=$func_stripname_result
+ $opt_dry_run || $RM conftest
+ if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
+ ldd_output=`ldd conftest`
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ func_append newdeplibs " $i"
+ i=
+ ;;
+ esac
+ fi
+ if test -n "$i"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
+ set dummy $deplib_matches; shift
+ deplib_match=$1
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
+ func_append newdeplibs " $i"
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because a test_compile did reveal that the linker did not use this one"
+ echo "*** as a dynamic dependency that programs can get resolved with at runtime."
+ fi
+ fi
+ else
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
+ echo "*** make it link in! You will probably need to install it or some"
+ echo "*** library that it depends on before this library will be fully"
+ echo "*** functional. Installing it before continuing would be even better."
+ fi
+ ;;
+ *)
+ func_append newdeplibs " $i"
+ ;;
+ esac
+ done
+ fi
+ ;;
+ file_magic*)
+ set dummy $deplibs_check_method; shift
+ file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ if test -n "$file_magic_glob"; then
+ libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
+ else
+ libnameglob=$libname
+ fi
+ test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ if test yes = "$want_nocaseglob"; then
+ shopt -s nocaseglob
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ $nocaseglob
+ else
+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
+ fi
+ for potent_lib in $potential_libs; do
+ # Follow soft links.
+ if ls -lLd "$potent_lib" 2>/dev/null |
+ $GREP " -> " >/dev/null; then
+ continue
+ fi
+ # The statement above tries to avoid entering an
+ # endless loop below, in case of cyclic links.
+ # We might still enter an endless loop, since a link
+ # loop can be closed while we follow links,
+ # but so what?
+ potlib=$potent_lib
+ while test -h "$potlib" 2>/dev/null; do
+ potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
+ case $potliblink in
+ [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
+ *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
+ esac
+ done
+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
+ $SED -e 10q |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib"; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib"; then
+ $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a file magic. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ match_pattern*)
+ set dummy $deplibs_check_method; shift
+ match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
+ for a_deplib in $deplibs; do
+ case $a_deplib in
+ -l*)
+ func_stripname -l '' "$a_deplib"
+ name=$func_stripname_result
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib"; then
+ libname=`eval "\\$ECHO \"$libname_spec\""`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ potlib=$potent_lib # see symlink-check above in file_magic test
+ if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
+ $EGREP "$match_pattern_regex" > /dev/null; then
+ func_append newdeplibs " $a_deplib"
+ a_deplib=
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib"; then
+ droppeddeps=yes
+ echo
+ $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib"; then
+ $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
+ else
+ $ECHO "*** with $libname and none of the candidates passed a file format test"
+ $ECHO "*** using a regex pattern. Last file checked: $potlib"
+ fi
+ fi
+ ;;
+ *)
+ # Add a -L argument.
+ func_append newdeplibs " $a_deplib"
+ ;;
+ esac
+ done # Gone through all deplibs.
+ ;;
+ none | unknown | *)
+ newdeplibs=
+ tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
+ if test yes = "$allow_libtool_libs_with_static_runtimes"; then
+ for i in $predeps $postdeps; do
+ # can't use Xsed below, because $i might contain '/'
+ tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
+ done
+ fi
+ case $tmp_deplibs in
+ *[!\ \ ]*)
+ echo
+ if test none = "$deplibs_check_method"; then
+ echo "*** Warning: inter-library dependencies are not supported in this platform."
+ else
+ echo "*** Warning: inter-library dependencies are not known to be supported."
+ fi
+ echo "*** All declared inter-library dependencies are being dropped."
+ droppeddeps=yes
+ ;;
+ esac
+ ;;
+ esac
+ versuffix=$versuffix_save
+ major=$major_save
+ release=$release_save
+ libname=$libname_save
+ name=$name_save
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library with the System framework
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ if test yes = "$droppeddeps"; then
+ if test yes = "$module"; then
+ echo
+ echo "*** Warning: libtool could not satisfy all declared inter-library"
+ $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
+ echo "*** a static module, that should work as long as the dlopening"
+ echo "*** application is linked with the -dlopen flag."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** 'nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test no = "$build_old_libs"; then
+ oldlibs=$output_objdir/$libname.$libext
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ else
+ echo "*** The inter-library dependencies that have been dropped here will be"
+ echo "*** automatically added whenever a program is linked with this library"
+ echo "*** or is declared to -dlopen it."
+
+ if test no = "$allow_undefined"; then
+ echo
+ echo "*** Since this library must not contain undefined symbols,"
+ echo "*** because either the platform does not support them or"
+ echo "*** it was explicitly requested with -no-undefined,"
+ echo "*** libtool will only create a static version of it."
+ if test no = "$build_old_libs"; then
+ oldlibs=$output_objdir/$libname.$libext
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ fi
+ fi
+ # Done checking deplibs!
+ deplibs=$newdeplibs
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ case $host in
+ *-*-darwin*)
+ newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ deplibs=$new_libs
+
+ # All the library-specific variables (install_libdir is set above).
+ library_names=
+ old_library=
+ dlname=
+
+ # Test again, we may have decided not to build it any more
+ if test yes = "$build_libtool_libs"; then
+ # Remove $wl instances when linking with ld.
+ # FIXME: should test the right _cmds variable.
+ case $archive_cmds in
+ *\$LD\ *) wl= ;;
+ esac
+ if test yes = "$hardcode_into_libs"; then
+ # Hardcode the library paths
+ hardcode_libdirs=
+ dep_rpath=
+ rpath=$finalize_rpath
+ test relink = "$opt_mode" || rpath=$compile_rpath$rpath
+ for libdir in $rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ func_replace_sysroot "$libdir"
+ libdir=$func_replace_sysroot_result
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append dep_rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
+ fi
+ if test -n "$runpath_var" && test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
+ fi
+ test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
+ fi
+
+ shlibpath=$finalize_shlibpath
+ test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
+ if test -n "$shlibpath"; then
+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
+ fi
+
+ # Get the real and link names of the library.
+ eval shared_ext=\"$shrext_cmds\"
+ eval library_names=\"$library_names_spec\"
+ set dummy $library_names
+ shift
+ realname=$1
+ shift
+
+ if test -n "$soname_spec"; then
+ eval soname=\"$soname_spec\"
+ else
+ soname=$realname
+ fi
+ if test -z "$dlname"; then
+ dlname=$soname
+ fi
+
+ lib=$output_objdir/$realname
+ linknames=
+ for link
+ do
+ func_append linknames " $link"
+ done
+
+ # Use standard objects if they are pic
+ test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ test "X$libobjs" = "X " && libobjs=
+
+ delfiles=
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
+ export_symbols=$output_objdir/$libname.uexp
+ func_append delfiles " $export_symbols"
+ fi
+
+ orig_export_symbols=
+ case $host_os in
+ cygwin* | mingw* | cegcc*)
+ if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
+ # exporting using user supplied symfile
+ func_dll_def_p "$export_symbols" || {
+ # and it's NOT already a .def file. Must figure out
+ # which of the given symbols are data symbols and tag
+ # them as such. So, trigger use of export_symbols_cmds.
+ # export_symbols gets reassigned inside the "prepare
+ # the list of exported symbols" if statement, so the
+ # include_expsyms logic still works.
+ orig_export_symbols=$export_symbols
+ export_symbols=
+ always_export_symbols=yes
+ }
+ fi
+ ;;
+ esac
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
+ func_verbose "generating symbol list for '$libname.la'"
+ export_symbols=$output_objdir/$libname.exp
+ $opt_dry_run || $RM $export_symbols
+ cmds=$export_symbols_cmds
+ save_ifs=$IFS; IFS='~'
+ for cmd1 in $cmds; do
+ IFS=$save_ifs
+ # Take the normal branch if the nm_file_list_spec branch
+ # doesn't work or if tool conversion is not needed.
+ case $nm_file_list_spec~$to_tool_file_cmd in
+ *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
+ try_normal_branch=yes
+ eval cmd=\"$cmd1\"
+ func_len " $cmd"
+ len=$func_len_result
+ ;;
+ *)
+ try_normal_branch=no
+ ;;
+ esac
+ if test yes = "$try_normal_branch" \
+ && { test "$len" -lt "$max_cmd_len" \
+ || test "$max_cmd_len" -le -1; }
+ then
+ func_show_eval "$cmd" 'exit $?'
+ skipped_export=false
+ elif test -n "$nm_file_list_spec"; then
+ func_basename "$output"
+ output_la=$func_basename_result
+ save_libobjs=$libobjs
+ save_output=$output
+ output=$output_objdir/$output_la.nm
+ func_to_tool_file "$output"
+ libobjs=$nm_file_list_spec$func_to_tool_file_result
+ func_append delfiles " $output"
+ func_verbose "creating $NM input file list: $output"
+ for obj in $save_libobjs; do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > "$output"
+ eval cmd=\"$cmd1\"
+ func_show_eval "$cmd" 'exit $?'
+ output=$save_output
+ libobjs=$save_libobjs
+ skipped_export=false
+ else
+ # The command line is too long to execute in one step.
+ func_verbose "using reloadable object file for export list..."
+ skipped_export=:
+ # Break out early, otherwise skipped_export may be
+ # set to false by a later but shorter cmd.
+ break
+ fi
+ done
+ IFS=$save_ifs
+ if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+ fi
+
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols=$export_symbols
+ test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands, which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+
+ tmp_deplibs=
+ for test_deplib in $deplibs; do
+ case " $convenience " in
+ *" $test_deplib "*) ;;
+ *)
+ func_append tmp_deplibs " $test_deplib"
+ ;;
+ esac
+ done
+ deplibs=$tmp_deplibs
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec" &&
+ test yes = "$compiler_needs_object" &&
+ test -z "$libobjs"; then
+ # extract the archives, so we have objects to list.
+ # TODO: could optimize this to just extract one archive.
+ whole_archive_flag_spec=
+ fi
+ if test -n "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ else
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ fi
+
+ if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
+ eval flag=\"$thread_safe_flag_spec\"
+ func_append linker_flags " $flag"
+ fi
+
+ # Make a backup of the uninstalled library when relinking
+ if test relink = "$opt_mode"; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
+ fi
+
+ # Do each of the archive commands.
+ if test yes = "$module" && test -n "$module_cmds"; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ eval test_cmds=\"$module_expsym_cmds\"
+ cmds=$module_expsym_cmds
+ else
+ eval test_cmds=\"$module_cmds\"
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval test_cmds=\"$archive_expsym_cmds\"
+ cmds=$archive_expsym_cmds
+ else
+ eval test_cmds=\"$archive_cmds\"
+ cmds=$archive_cmds
+ fi
+ fi
+
+ if test : != "$skipped_export" &&
+ func_len " $test_cmds" &&
+ len=$func_len_result &&
+ test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # The command line is too long to link in one step, link piecewise
+ # or, if using GNU ld and skipped_export is not :, use a linker
+ # script.
+
+ # Save the value of $output and $libobjs because we want to
+ # use them later. If we have whole_archive_flag_spec, we
+ # want to use save_libobjs as it was before
+ # whole_archive_flag_spec was expanded, because we can't
+ # assume the linker understands whole_archive_flag_spec.
+ # This may have to be revisited, in case too many
+ # convenience libraries get linked in and end up exceeding
+ # the spec.
+ if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ fi
+ save_output=$output
+ func_basename "$output"
+ output_la=$func_basename_result
+
+ # Clear the reloadable object creation command queue and
+ # initialize k to one.
+ test_cmds=
+ concat_cmds=
+ objlist=
+ last_robj=
+ k=1
+
+ if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
+ output=$output_objdir/$output_la.lnkscript
+ func_verbose "creating GNU ld script: $output"
+ echo 'INPUT (' > $output
+ for obj in $save_libobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ echo ')' >> $output
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$func_to_tool_file_result
+ elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
+ output=$output_objdir/$output_la.lnk
+ func_verbose "creating linker input file list: $output"
+ : > $output
+ set x $save_libobjs
+ shift
+ firstobj=
+ if test yes = "$compiler_needs_object"; then
+ firstobj="$1 "
+ shift
+ fi
+ for obj
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result" >> $output
+ done
+ func_append delfiles " $output"
+ func_to_tool_file "$output"
+ output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
+ else
+ if test -n "$save_libobjs"; then
+ func_verbose "creating reloadable object files..."
+ output=$output_objdir/$output_la-$k.$objext
+ eval test_cmds=\"$reload_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+
+ # Loop over the list of objects to be linked.
+ for obj in $save_libobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ if test -z "$objlist" ||
+ test "$len" -lt "$max_cmd_len"; then
+ func_append objlist " $obj"
+ else
+ # The command $test_cmds is almost too long, add a
+ # command to the queue.
+ if test 1 -eq "$k"; then
+ # The first file doesn't have a previous command to add.
+ reload_objs=$objlist
+ eval concat_cmds=\"$reload_cmds\"
+ else
+ # All subsequent reloadable object files will link in
+ # the last one created.
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
+ fi
+ last_robj=$output_objdir/$output_la-$k.$objext
+ func_arith $k + 1
+ k=$func_arith_result
+ output=$output_objdir/$output_la-$k.$objext
+ objlist=" $obj"
+ func_len " $last_robj"
+ func_arith $len0 + $func_len_result
+ len=$func_arith_result
+ fi
+ done
+ # Handle the remaining objects by creating one last
+ # reloadable object file. All subsequent reloadable object
+ # files will link in the last one created.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ reload_objs="$objlist $last_robj"
+ eval concat_cmds=\"\$concat_cmds$reload_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
+ fi
+ func_append delfiles " $output"
+
+ else
+ output=
+ fi
+
+ ${skipped_export-false} && {
+ func_verbose "generating symbol list for '$libname.la'"
+ export_symbols=$output_objdir/$libname.exp
+ $opt_dry_run || $RM $export_symbols
+ libobjs=$output
+ # Append the command to create the export file.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
+ if test -n "$last_robj"; then
+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
+ fi
+ }
+
+ test -n "$save_libobjs" &&
+ func_verbose "creating a temporary reloadable object file: $output"
+
+ # Loop through the commands generated above and execute them.
+ save_ifs=$IFS; IFS='~'
+ for cmd in $concat_cmds; do
+ IFS=$save_ifs
+ $opt_quiet || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS=$save_ifs
+
+ if test -n "$export_symbols_regex" && ${skipped_export-false}; then
+ func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+
+ ${skipped_export-false} && {
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ tmp_export_symbols=$export_symbols
+ test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
+ fi
+
+ if test -n "$orig_export_symbols"; then
+ # The given exports_symbols file has to be filtered, so filter it.
+ func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
+ # FIXME: $output_objdir/$libname.filter potentially contains lots of
+ # 's' commands, which not all seds can handle. GNU sed should be fine
+ # though. Also, the filter scales superlinearly with the number of
+ # global variables. join(1) would be nice here, but unfortunately
+ # isn't a blessed tool.
+ $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
+ export_symbols=$output_objdir/$libname.def
+ $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
+ fi
+ }
+
+ libobjs=$output
+ # Restore the value of output.
+ output=$save_output
+
+ if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+ # Expand the library linking commands again to reset the
+ # value of $libobjs for piecewise linking.
+
+ # Do each of the archive commands.
+ if test yes = "$module" && test -n "$module_cmds"; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ cmds=$module_expsym_cmds
+ else
+ cmds=$module_cmds
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ cmds=$archive_expsym_cmds
+ else
+ cmds=$archive_cmds
+ fi
+ fi
+ fi
+
+ if test -n "$delfiles"; then
+ # Append the command to remove temporary files to $cmds.
+ eval cmds=\"\$cmds~\$RM $delfiles\"
+ fi
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append libobjs " $func_extract_archives_result"
+ test "X$libobjs" = "X " && libobjs=
+ fi
+
+ save_ifs=$IFS; IFS='~'
+ for cmd in $cmds; do
+ IFS=$sp$nl
+ eval cmd=\"$cmd\"
+ IFS=$save_ifs
+ $opt_quiet || {
+ func_quote_for_expand "$cmd"
+ eval "func_echo $func_quote_for_expand_result"
+ }
+ $opt_dry_run || eval "$cmd" || {
+ lt_exit=$?
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ ( cd "$output_objdir" && \
+ $RM "${realname}T" && \
+ $MV "${realname}U" "$realname" )
+ fi
+
+ exit $lt_exit
+ }
+ done
+ IFS=$save_ifs
+
+ # Restore the uninstalled library and exit
+ if test relink = "$opt_mode"; then
+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
+
+ if test -n "$convenience"; then
+ if test -z "$whole_archive_flag_spec"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ # Create links to the real library.
+ for linkname in $linknames; do
+ if test "$realname" != "$linkname"; then
+ func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
+ fi
+ done
+
+ # If -module or -export-dynamic was specified, set the dlname.
+ if test yes = "$module" || test yes = "$export_dynamic"; then
+ # On all known operating systems, these are identical.
+ dlname=$soname
+ fi
+ fi
+ ;;
+
+ obj)
+ if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
+ func_warning "'-dlopen' is ignored for objects"
+ fi
+
+ case " $deplibs" in
+ *\ -l* | *\ -L*)
+ func_warning "'-l' and '-L' are ignored for objects" ;;
+ esac
+
+ test -n "$rpath" && \
+ func_warning "'-rpath' is ignored for objects"
+
+ test -n "$xrpath" && \
+ func_warning "'-R' is ignored for objects"
+
+ test -n "$vinfo" && \
+ func_warning "'-version-info' is ignored for objects"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for objects"
+
+ case $output in
+ *.lo)
+ test -n "$objs$old_deplibs" && \
+ func_fatal_error "cannot build library object '$output' from non-libtool objects"
+
+ libobj=$output
+ func_lo2o "$libobj"
+ obj=$func_lo2o_result
+ ;;
+ *)
+ libobj=
+ obj=$output
+ ;;
+ esac
+
+ # Delete the old objects.
+ $opt_dry_run || $RM $obj $libobj
+
+ # Objects from convenience libraries. This assumes
+ # single-version convenience libraries. Whenever we create
+ # different ones for PIC/non-PIC, this we'll have to duplicate
+ # the extraction.
+ reload_conv_objs=
+ gentop=
+ # if reload_cmds runs $LD directly, get rid of -Wl from
+ # whole_archive_flag_spec and hope we can get by with turning comma
+ # into space.
+ case $reload_cmds in
+ *\$LD[\ \$]*) wl= ;;
+ esac
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
+ test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
+ reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
+ else
+ gentop=$output_objdir/${obj}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $convenience
+ reload_conv_objs="$reload_objs $func_extract_archives_result"
+ fi
+ fi
+
+ # If we're not building shared, we need to use non_pic_objs
+ test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
+
+ # Create the old-style object.
+ reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
+
+ output=$obj
+ func_execute_cmds "$reload_cmds" 'exit $?'
+
+ # Exit if we aren't doing a library object file.
+ if test -z "$libobj"; then
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ test yes = "$build_libtool_libs" || {
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ # Create an invalid libtool object if no PIC, so that we don't
+ # accidentally link it into a program.
+ # $show "echo timestamp > $libobj"
+ # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
+ exit $EXIT_SUCCESS
+ }
+
+ if test -n "$pic_flag" || test default != "$pic_mode"; then
+ # Only do commands if we really have different PIC objects.
+ reload_objs="$libobjs $reload_conv_objs"
+ output=$libobj
+ func_execute_cmds "$reload_cmds" 'exit $?'
+ fi
+
+ if test -n "$gentop"; then
+ func_show_eval '${RM}r "$gentop"'
+ fi
+
+ exit $EXIT_SUCCESS
+ ;;
+
+ prog)
+ case $host in
+ *cygwin*) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result.exe;;
+ esac
+ test -n "$vinfo" && \
+ func_warning "'-version-info' is ignored for programs"
+
+ test -n "$release" && \
+ func_warning "'-release' is ignored for programs"
+
+ $preload \
+ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
+ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ case $host in
+ *-*-darwin*)
+ # Don't allow lazy linking, it breaks C++ global constructors
+ # But is supposedly fixed on 10.4 or later (yay!).
+ if test CXX = "$tagname"; then
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
+ 10.[0123])
+ func_append compile_command " $wl-bind_at_load"
+ func_append finalize_command " $wl-bind_at_load"
+ ;;
+ esac
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+
+ # move library search paths that coincide with paths to not yet
+ # installed libraries to the beginning of the library search list
+ new_libs=
+ for path in $notinst_path; do
+ case " $new_libs " in
+ *" -L$path/$objdir "*) ;;
+ *)
+ case " $compile_deplibs " in
+ *" -L$path/$objdir "*)
+ func_append new_libs " -L$path/$objdir" ;;
+ esac
+ ;;
+ esac
+ done
+ for deplib in $compile_deplibs; do
+ case $deplib in
+ -L*)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ ;;
+ *) func_append new_libs " $deplib" ;;
+ esac
+ done
+ compile_deplibs=$new_libs
+
+
+ func_append compile_command " $compile_deplibs"
+ func_append finalize_command " $finalize_deplibs"
+
+ if test -n "$rpath$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ for libdir in $rpath $xrpath; do
+ # This is the magic to use -rpath.
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_rpath " $libdir" ;;
+ esac
+ done
+ fi
+
+ # Now hardcode the library paths
+ rpath=
+ hardcode_libdirs=
+ for libdir in $compile_rpath $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append perm_rpath " $libdir" ;;
+ esac
+ fi
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
+ testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
+ case :$dllsearchpath: in
+ *":$libdir:"*) ;;
+ ::) dllsearchpath=$libdir;;
+ *) func_append dllsearchpath ":$libdir";;
+ esac
+ case :$dllsearchpath: in
+ *":$testbindir:"*) ;;
+ ::) dllsearchpath=$testbindir;;
+ *) func_append dllsearchpath ":$testbindir";;
+ esac
+ ;;
+ esac
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ compile_rpath=$rpath
+
+ rpath=
+ hardcode_libdirs=
+ for libdir in $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs=$libdir
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append rpath " $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$finalize_perm_rpath " in
+ *" $libdir "*) ;;
+ *) func_append finalize_perm_rpath " $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir=$hardcode_libdirs
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ finalize_rpath=$rpath
+
+ if test -n "$libobjs" && test yes = "$build_old_libs"; then
+ # Transform all the library objects into standard objects.
+ compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
+ fi
+
+ func_generate_dlsyms "$outputname" "@PROGRAM@" false
+
+ # template prelinking step
+ if test -n "$prelink_cmds"; then
+ func_execute_cmds "$prelink_cmds" 'exit $?'
+ fi
+
+ wrappers_required=:
+ case $host in
+ *cegcc* | *mingw32ce*)
+ # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
+ wrappers_required=false
+ ;;
+ *cygwin* | *mingw* )
+ test yes = "$build_libtool_libs" || wrappers_required=false
+ ;;
+ *)
+ if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
+ wrappers_required=false
+ fi
+ ;;
+ esac
+ $wrappers_required || {
+ # Replace the output file specification.
+ compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ link_command=$compile_command$compile_rpath
+
+ # We have no uninstalled library dependencies, so finalize right now.
+ exit_status=0
+ func_show_eval "$link_command" 'exit_status=$?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Delete the generated files.
+ if test -f "$output_objdir/${outputname}S.$objext"; then
+ func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
+ fi
+
+ exit $exit_status
+ }
+
+ if test -n "$compile_shlibpath$finalize_shlibpath"; then
+ compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
+ fi
+ if test -n "$finalize_shlibpath"; then
+ finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
+ fi
+
+ compile_var=
+ finalize_var=
+ if test -n "$runpath_var"; then
+ if test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ if test -n "$finalize_perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $finalize_perm_rpath; do
+ func_append rpath "$dir:"
+ done
+ finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ fi
+
+ if test yes = "$no_install"; then
+ # We don't need to create a wrapper script.
+ link_command=$compile_var$compile_command$compile_rpath
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
+ # Delete the old output file.
+ $opt_dry_run || $RM $output
+ # Link the executable and exit
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ exit $EXIT_SUCCESS
+ fi
+
+ case $hardcode_action,$fast_install in
+ relink,*)
+ # Fast installation is not supported
+ link_command=$compile_var$compile_command$compile_rpath
+ relink_command=$finalize_var$finalize_command$finalize_rpath
+
+ func_warning "this platform does not like uninstalled shared libraries"
+ func_warning "'$output' will be relinked during installation"
+ ;;
+ *,yes)
+ link_command=$finalize_var$compile_command$finalize_rpath
+ relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
+ ;;
+ *,no)
+ link_command=$compile_var$compile_command$compile_rpath
+ relink_command=$finalize_var$finalize_command$finalize_rpath
+ ;;
+ *,needless)
+ link_command=$finalize_var$compile_command$finalize_rpath
+ relink_command=
+ ;;
+ esac
+
+ # Replace the output file specification.
+ link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+
+ # Delete the old output files.
+ $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
+
+ func_show_eval "$link_command" 'exit $?'
+
+ if test -n "$postlink_cmds"; then
+ func_to_tool_file "$output_objdir/$outputname"
+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
+ func_execute_cmds "$postlink_cmds" 'exit $?'
+ fi
+
+ # Now create the wrapper script.
+ func_verbose "creating $output"
+
+ # Quote the relink command for shipping.
+ if test -n "$relink_command"; then
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ relink_command="(cd `pwd`; $relink_command)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ fi
+
+ # Only actually do things if not in dry run mode.
+ $opt_dry_run || {
+ # win32 will think the script is a binary if it has
+ # a .exe suffix, so we strip it off here.
+ case $output in
+ *.exe) func_stripname '' '.exe' "$output"
+ output=$func_stripname_result ;;
+ esac
+ # test for cygwin because mv fails w/o .exe extensions
+ case $host in
+ *cygwin*)
+ exeext=.exe
+ func_stripname '' '.exe' "$outputname"
+ outputname=$func_stripname_result ;;
+ *) exeext= ;;
+ esac
+ case $host in
+ *cygwin* | *mingw* )
+ func_dirname_and_basename "$output" "" "."
+ output_name=$func_basename_result
+ output_path=$func_dirname_result
+ cwrappersource=$output_path/$objdir/lt-$output_name.c
+ cwrapper=$output_path/$output_name.exe
+ $RM $cwrappersource $cwrapper
+ trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_cwrapperexe_src > $cwrappersource
+
+ # The wrapper executable is built using the $host compiler,
+ # because it contains $host paths and files. If cross-
+ # compiling, it, like the target executable, must be
+ # executed on the $host or under an emulation environment.
+ $opt_dry_run || {
+ $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
+ $STRIP $cwrapper
+ }
+
+ # Now, create the wrapper script for func_source use:
+ func_ltwrapper_scriptname $cwrapper
+ $RM $func_ltwrapper_scriptname_result
+ trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
+ $opt_dry_run || {
+ # note: this script will not be executed, so do not chmod.
+ if test "x$build" = "x$host"; then
+ $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
+ else
+ func_emit_wrapper no > $func_ltwrapper_scriptname_result
+ fi
+ }
+ ;;
+ * )
+ $RM $output
+ trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
+
+ func_emit_wrapper no > $output
+ chmod +x $output
+ ;;
+ esac
+ }
+ exit $EXIT_SUCCESS
+ ;;
+ esac
+
+ # See if we need to build an old-fashioned archive.
+ for oldlib in $oldlibs; do
+
+ case $build_libtool_libs in
+ convenience)
+ oldobjs="$libobjs_save $symfileobj"
+ addlibs=$convenience
+ build_libtool_libs=no
+ ;;
+ module)
+ oldobjs=$libobjs_save
+ addlibs=$old_convenience
+ build_libtool_libs=no
+ ;;
+ *)
+ oldobjs="$old_deplibs $non_pic_objects"
+ $preload && test -f "$symfileobj" \
+ && func_append oldobjs " $symfileobj"
+ addlibs=$old_convenience
+ ;;
+ esac
+
+ if test -n "$addlibs"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $addlibs
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # Do each command in the archive commands.
+ if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
+ cmds=$old_archive_from_new_cmds
+ else
+
+ # Add any objects from preloaded convenience libraries
+ if test -n "$dlprefiles"; then
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+
+ func_extract_archives $gentop $dlprefiles
+ func_append oldobjs " $func_extract_archives_result"
+ fi
+
+ # POSIX demands no paths to be encoded in archives. We have
+ # to avoid creating archives with duplicate basenames if we
+ # might have to extract them afterwards, e.g., when creating a
+ # static archive out of a convenience library, or when linking
+ # the entirety of a libtool archive into another (currently
+ # not supported by libtool).
+ if (for obj in $oldobjs
+ do
+ func_basename "$obj"
+ $ECHO "$func_basename_result"
+ done | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ echo "copying selected object files to avoid basename conflicts..."
+ gentop=$output_objdir/${outputname}x
+ func_append generated " $gentop"
+ func_mkdir_p "$gentop"
+ save_oldobjs=$oldobjs
+ oldobjs=
+ counter=1
+ for obj in $save_oldobjs
+ do
+ func_basename "$obj"
+ objbase=$func_basename_result
+ case " $oldobjs " in
+ " ") oldobjs=$obj ;;
+ *[\ /]"$objbase "*)
+ while :; do
+ # Make sure we don't pick an alternate name that also
+ # overlaps.
+ newobj=lt$counter-$objbase
+ func_arith $counter + 1
+ counter=$func_arith_result
+ case " $oldobjs " in
+ *[\ /]"$newobj "*) ;;
+ *) if test ! -f "$gentop/$newobj"; then break; fi ;;
+ esac
+ done
+ func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
+ func_append oldobjs " $gentop/$newobj"
+ ;;
+ *) func_append oldobjs " $obj" ;;
+ esac
+ done
+ fi
+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
+ tool_oldlib=$func_to_tool_file_result
+ eval cmds=\"$old_archive_cmds\"
+
+ func_len " $cmds"
+ len=$func_len_result
+ if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ cmds=$old_archive_cmds
+ elif test -n "$archiver_list_spec"; then
+ func_verbose "using command file archive linking..."
+ for obj in $oldobjs
+ do
+ func_to_tool_file "$obj"
+ $ECHO "$func_to_tool_file_result"
+ done > $output_objdir/$libname.libcmd
+ func_to_tool_file "$output_objdir/$libname.libcmd"
+ oldobjs=" $archiver_list_spec$func_to_tool_file_result"
+ cmds=$old_archive_cmds
+ else
+ # the command line is too long to link in one step, link in parts
+ func_verbose "using piecewise archive linking..."
+ save_RANLIB=$RANLIB
+ RANLIB=:
+ objlist=
+ concat_cmds=
+ save_oldobjs=$oldobjs
+ oldobjs=
+ # Is there a better way of finding the last object in the list?
+ for obj in $save_oldobjs
+ do
+ last_oldobj=$obj
+ done
+ eval test_cmds=\"$old_archive_cmds\"
+ func_len " $test_cmds"
+ len0=$func_len_result
+ len=$len0
+ for obj in $save_oldobjs
+ do
+ func_len " $obj"
+ func_arith $len + $func_len_result
+ len=$func_arith_result
+ func_append objlist " $obj"
+ if test "$len" -lt "$max_cmd_len"; then
+ :
+ else
+ # the above command should be used before it gets too long
+ oldobjs=$objlist
+ if test "$obj" = "$last_oldobj"; then
+ RANLIB=$save_RANLIB
+ fi
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
+ objlist=
+ len=$len0
+ fi
+ done
+ RANLIB=$save_RANLIB
+ oldobjs=$objlist
+ if test -z "$oldobjs"; then
+ eval cmds=\"\$concat_cmds\"
+ else
+ eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
+ fi
+ fi
+ fi
+ func_execute_cmds "$cmds" 'exit $?'
+ done
+
+ test -n "$generated" && \
+ func_show_eval "${RM}r$generated"
+
+ # Now create the libtool archive.
+ case $output in
+ *.la)
+ old_library=
+ test yes = "$build_old_libs" && old_library=$libname.$libext
+ func_verbose "creating $output"
+
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ func_quote_for_eval "$var_value"
+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
+ fi
+ done
+ # Quote the link command for shipping.
+ relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
+ if test yes = "$hardcode_automatic"; then
+ relink_command=
+ fi
+
+ # Only create the output if not a dry run.
+ $opt_dry_run || {
+ for installed in no yes; do
+ if test yes = "$installed"; then
+ if test -z "$install_libdir"; then
+ break
+ fi
+ output=$output_objdir/${outputname}i
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ *.la)
+ func_basename "$deplib"
+ name=$func_basename_result
+ func_resolve_sysroot "$deplib"
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
+ test -z "$libdir" && \
+ func_fatal_error "'$deplib' is not a valid libtool archive"
+ func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ -L*)
+ func_stripname -L '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -L$func_replace_sysroot_result"
+ ;;
+ -R*)
+ func_stripname -R '' "$deplib"
+ func_replace_sysroot "$func_stripname_result"
+ func_append newdependency_libs " -R$func_replace_sysroot_result"
+ ;;
+ *) func_append newdependency_libs " $deplib" ;;
+ esac
+ done
+ dependency_libs=$newdependency_libs
+ newdlfiles=
+
+ for lib in $dlfiles; do
+ case $lib in
+ *.la)
+ func_basename "$lib"
+ name=$func_basename_result
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "'$lib' is not a valid libtool archive"
+ func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ *) func_append newdlfiles " $lib" ;;
+ esac
+ done
+ dlfiles=$newdlfiles
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ *.la)
+ # Only pass preopened files to the pseudo-archive (for
+ # eventual linking with the app. that links it) if we
+ # didn't already link the preopened objects directly into
+ # the library:
+ func_basename "$lib"
+ name=$func_basename_result
+ eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ test -z "$libdir" && \
+ func_fatal_error "'$lib' is not a valid libtool archive"
+ func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
+ ;;
+ esac
+ done
+ dlprefiles=$newdlprefiles
+ else
+ newdlfiles=
+ for lib in $dlfiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlfiles " $abs"
+ done
+ dlfiles=$newdlfiles
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ case $lib in
+ [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
+ *) abs=`pwd`"/$lib" ;;
+ esac
+ func_append newdlprefiles " $abs"
+ done
+ dlprefiles=$newdlprefiles
+ fi
+ $RM $output
+ # place dlname in correct position for cygwin
+ # In fact, it would be nice if we could use this code for all target
+ # systems that can't hard-code library paths into their executables
+ # and that have no shared library path variable independent of PATH,
+ # but it turns out we can't easily determine that from inspecting
+ # libtool variables, so we have to hard-code the OSs to which it
+ # applies here; at the moment, that means platforms that use the PE
+ # object format with DLL files. See the long comment at the top of
+ # tests/bindir.at for full details.
+ tdlname=$dlname
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
+ # If a -bindir argument was supplied, place the dll there.
+ if test -n "$bindir"; then
+ func_relative_path "$install_libdir" "$bindir"
+ tdlname=$func_relative_path_result/$dlname
+ else
+ # Otherwise fall back on heuristic.
+ tdlname=../bin/$dlname
+ fi
+ ;;
+ esac
+ $ECHO > $output "\
+# $outputname - a libtool library file
+# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='$tdlname'
+
+# Names of this library.
+library_names='$library_names'
+
+# The name of the static archive.
+old_library='$old_library'
+
+# Linker flags that cannot go in dependency_libs.
+inherited_linker_flags='$new_inherited_linker_flags'
+
+# Libraries that this one depends upon.
+dependency_libs='$dependency_libs'
+
+# Names of additional weak libraries provided by this library
+weak_library_names='$weak_libs'
+
+# Version information for $libname.
+current=$current
+age=$age
+revision=$revision
+
+# Is this an already installed library?
+installed=$installed
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=$module
+
+# Files to dlopen/dlpreopen
+dlopen='$dlfiles'
+dlpreopen='$dlprefiles'
+
+# Directory that this library needs to be installed in:
+libdir='$install_libdir'"
+ if test no,yes = "$installed,$need_relink"; then
+ $ECHO >> $output "\
+relink_command=\"$relink_command\""
+ fi
+ done
+ }
+
+ # Do a symbolic link so that the libtool archive can be found in
+ # LD_LIBRARY_PATH before the program is installed.
+ func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
+ ;;
+ esac
+ exit $EXIT_SUCCESS
+}
+
+if test link = "$opt_mode" || test relink = "$opt_mode"; then
+ func_mode_link ${1+"$@"}
+fi
+
+
+# func_mode_uninstall arg...
+func_mode_uninstall ()
+{
+ $debug_cmd
+
+ RM=$nonopt
+ files=
+ rmforce=false
+ exit_status=0
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic=$magic
+
+ for arg
+ do
+ case $arg in
+ -f) func_append RM " $arg"; rmforce=: ;;
+ -*) func_append RM " $arg" ;;
+ *) func_append files " $arg" ;;
+ esac
+ done
+
+ test -z "$RM" && \
+ func_fatal_help "you must specify an RM program"
+
+ rmdirs=
+
+ for file in $files; do
+ func_dirname "$file" "" "."
+ dir=$func_dirname_result
+ if test . = "$dir"; then
+ odir=$objdir
+ else
+ odir=$dir/$objdir
+ fi
+ func_basename "$file"
+ name=$func_basename_result
+ test uninstall = "$opt_mode" && odir=$dir
+
+ # Remember odir for removal later, being careful to avoid duplicates
+ if test clean = "$opt_mode"; then
+ case " $rmdirs " in
+ *" $odir "*) ;;
+ *) func_append rmdirs " $odir" ;;
+ esac
+ fi
+
+ # Don't error if the file doesn't exist and rm -f was used.
+ if { test -L "$file"; } >/dev/null 2>&1 ||
+ { test -h "$file"; } >/dev/null 2>&1 ||
+ test -f "$file"; then
+ :
+ elif test -d "$file"; then
+ exit_status=1
+ continue
+ elif $rmforce; then
+ continue
+ fi
+
+ rmfiles=$file
+
+ case $name in
+ *.la)
+ # Possibly a libtool archive, so verify it.
+ if func_lalib_p "$file"; then
+ func_source $dir/$name
+
+ # Delete the libtool libraries and symlinks.
+ for n in $library_names; do
+ func_append rmfiles " $odir/$n"
+ done
+ test -n "$old_library" && func_append rmfiles " $odir/$old_library"
+
+ case $opt_mode in
+ clean)
+ case " $library_names " in
+ *" $dlname "*) ;;
+ *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
+ esac
+ test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
+ ;;
+ uninstall)
+ if test -n "$library_names"; then
+ # Do each command in the postuninstall commands.
+ func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
+ fi
+
+ if test -n "$old_library"; then
+ # Do each command in the old_postuninstall commands.
+ func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
+ fi
+ # FIXME: should reinstall the best remaining shared library.
+ ;;
+ esac
+ fi
+ ;;
+
+ *.lo)
+ # Possibly a libtool object, so verify it.
+ if func_lalib_p "$file"; then
+
+ # Read the .lo file
+ func_source $dir/$name
+
+ # Add PIC object to the list of files to remove.
+ if test -n "$pic_object" && test none != "$pic_object"; then
+ func_append rmfiles " $dir/$pic_object"
+ fi
+
+ # Add non-PIC object to the list of files to remove.
+ if test -n "$non_pic_object" && test none != "$non_pic_object"; then
+ func_append rmfiles " $dir/$non_pic_object"
+ fi
+ fi
+ ;;
+
+ *)
+ if test clean = "$opt_mode"; then
+ noexename=$name
+ case $file in
+ *.exe)
+ func_stripname '' '.exe' "$file"
+ file=$func_stripname_result
+ func_stripname '' '.exe' "$name"
+ noexename=$func_stripname_result
+ # $file with .exe has already been added to rmfiles,
+ # add $file without .exe
+ func_append rmfiles " $file"
+ ;;
+ esac
+ # Do a test to see if this is a libtool program.
+ if func_ltwrapper_p "$file"; then
+ if func_ltwrapper_executable_p "$file"; then
+ func_ltwrapper_scriptname "$file"
+ relink_command=
+ func_source $func_ltwrapper_scriptname_result
+ func_append rmfiles " $func_ltwrapper_scriptname_result"
+ else
+ relink_command=
+ func_source $dir/$noexename
+ fi
+
+ # note $name still contains .exe if it was in $file originally
+ # as does the version of $file that was added into $rmfiles
+ func_append rmfiles " $odir/$name $odir/${name}S.$objext"
+ if test yes = "$fast_install" && test -n "$relink_command"; then
+ func_append rmfiles " $odir/lt-$name"
+ fi
+ if test "X$noexename" != "X$name"; then
+ func_append rmfiles " $odir/lt-$noexename.c"
+ fi
+ fi
+ fi
+ ;;
+ esac
+ func_show_eval "$RM $rmfiles" 'exit_status=1'
+ done
+
+ # Try to remove the $objdir's in the directories where we deleted files
+ for dir in $rmdirs; do
+ if test -d "$dir"; then
+ func_show_eval "rmdir $dir >/dev/null 2>&1"
+ fi
+ done
+
+ exit $exit_status
+}
+
+if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
+ func_mode_uninstall ${1+"$@"}
+fi
+
+test -z "$opt_mode" && {
+ help=$generic_help
+ func_fatal_help "you must specify a MODE"
+}
+
+test -z "$exec_cmd" && \
+ func_fatal_help "invalid operation mode '$opt_mode'"
+
+if test -n "$exec_cmd"; then
+ eval exec "$exec_cmd"
+ exit $EXIT_FAILURE
+fi
+
+exit $exit_status
+
+
+# The TAGs below are defined such that we never get into a situation
+# where we disable both kinds of libraries. Given conflicting
+# choices, we go for a static library, that is the most portable,
+# since we can't tell whether shared libraries were disabled because
+# the user asked for that or because the platform doesn't support
+# them. This is particularly important on AIX, because we don't
+# support having both static and shared libraries enabled at the same
+# time on that platform, so we default to a shared-only configuration.
+# If a disable-shared tag is given, we'll fallback to a static-only
+# configuration. But we'll never go from static-only to shared-only.
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
+build_libtool_libs=no
+build_old_libs=yes
+# ### END LIBTOOL TAG CONFIG: disable-shared
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
+# ### END LIBTOOL TAG CONFIG: disable-static
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation:2
+# End:
diff --git a/m4/libtool.m4 b/m4/libtool.m4
new file mode 100644
index 0000000..9c089e0
--- /dev/null
+++ b/m4/libtool.m4
@@ -0,0 +1,8318 @@
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+#
+# Copyright (C) 1996-2001, 2003-2014 Free Software Foundation, Inc.
+# Written by Gordon Matzigkeit, 1996
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+m4_define([_LT_COPYING], [dnl
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# GNU Libtool is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of of the License, or
+# (at your option) any later version.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program or library that is built
+# using GNU Libtool, you may include this file under the same
+# distribution terms that you use for the rest of that program.
+#
+# GNU Libtool is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+])
+
+# serial 58 LT_INIT
+
+
+# LT_PREREQ(VERSION)
+# ------------------
+# Complain and exit if this libtool version is less that VERSION.
+m4_defun([LT_PREREQ],
+[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
+ [m4_default([$3],
+ [m4_fatal([Libtool version $1 or higher is required],
+ 63)])],
+ [$2])])
+
+
+# _LT_CHECK_BUILDDIR
+# ------------------
+# Complain if the absolute build directory name contains unusual characters
+m4_defun([_LT_CHECK_BUILDDIR],
+[case `pwd` in
+ *\ * | *\ *)
+ AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
+esac
+])
+
+
+# LT_INIT([OPTIONS])
+# ------------------
+AC_DEFUN([LT_INIT],
+[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+AC_BEFORE([$0], [LT_LANG])dnl
+AC_BEFORE([$0], [LT_OUTPUT])dnl
+AC_BEFORE([$0], [LTDL_INIT])dnl
+m4_require([_LT_CHECK_BUILDDIR])dnl
+
+dnl Autoconf doesn't catch unexpanded LT_ macros by default:
+m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
+m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
+dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
+dnl unless we require an AC_DEFUNed macro:
+AC_REQUIRE([LTOPTIONS_VERSION])dnl
+AC_REQUIRE([LTSUGAR_VERSION])dnl
+AC_REQUIRE([LTVERSION_VERSION])dnl
+AC_REQUIRE([LTOBSOLETE_VERSION])dnl
+m4_require([_LT_PROG_LTMAIN])dnl
+
+_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
+
+dnl Parse OPTIONS
+_LT_SET_OPTIONS([$0], [$1])
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS=$ltmain
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+AC_SUBST(LIBTOOL)dnl
+
+_LT_SETUP
+
+# Only expand once:
+m4_define([LT_INIT])
+])# LT_INIT
+
+# Old names:
+AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
+AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
+dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
+
+
+# _LT_CC_BASENAME(CC)
+# -------------------
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
+m4_defun([_LT_CC_BASENAME],
+[for cc_temp in $1""; do
+ case $cc_temp in
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
+])
+
+
+# _LT_FILEUTILS_DEFAULTS
+# ----------------------
+# It is okay to use these file commands and assume they have been set
+# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
+m4_defun([_LT_FILEUTILS_DEFAULTS],
+[: ${CP="cp -f"}
+: ${MV="mv -f"}
+: ${RM="rm -f"}
+])# _LT_FILEUTILS_DEFAULTS
+
+
+# _LT_SETUP
+# ---------
+m4_defun([_LT_SETUP],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
+
+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
+dnl
+_LT_DECL([], [host_alias], [0], [The host system])dnl
+_LT_DECL([], [host], [0])dnl
+_LT_DECL([], [host_os], [0])dnl
+dnl
+_LT_DECL([], [build_alias], [0], [The build system])dnl
+_LT_DECL([], [build], [0])dnl
+_LT_DECL([], [build_os], [0])dnl
+dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+dnl
+AC_REQUIRE([AC_PROG_LN_S])dnl
+test -z "$LN_S" && LN_S="ln -s"
+_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
+dnl
+AC_REQUIRE([LT_CMD_MAX_LEN])dnl
+_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
+_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
+dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
+m4_require([_LT_CMD_RELOAD])dnl
+m4_require([_LT_CHECK_MAGIC_METHOD])dnl
+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
+m4_require([_LT_CMD_OLD_ARCHIVE])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_WITH_SYSROOT])dnl
+m4_require([_LT_CMD_TRUNCATE])dnl
+
+_LT_CONFIG_LIBTOOL_INIT([
+# See if we are running on zsh, and set the options that allow our
+# commands through without removal of \ escapes INIT.
+if test -n "\${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+])
+if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+fi
+
+_LT_CHECK_OBJDIR
+
+m4_require([_LT_TAG_COMPILER])dnl
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Global variables:
+ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+old_CC=$CC
+old_CFLAGS=$CFLAGS
+
+# Set sane defaults for various variables
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
+test -z "$LD" && LD=ld
+test -z "$ac_objext" && ac_objext=o
+
+_LT_CC_BASENAME([$compiler])
+
+# Only perform the check for file, if the check method requires it
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ _LT_PATH_MAGIC
+ fi
+ ;;
+esac
+
+# Use C for the default configuration in the libtool script
+LT_SUPPORTED_TAG([CC])
+_LT_LANG_C_CONFIG
+_LT_LANG_DEFAULT_CONFIG
+_LT_CONFIG_COMMANDS
+])# _LT_SETUP
+
+
+# _LT_PREPARE_SED_QUOTE_VARS
+# --------------------------
+# Define a few sed substitution that help us do robust quoting.
+m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
+[# Backslashify metacharacters that are still active within
+# double-quoted strings.
+sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([["`\\]]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to delay expansion of an escaped single quote.
+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+])
+
+# _LT_PROG_LTMAIN
+# ---------------
+# Note that this code is called both from 'configure', and 'config.status'
+# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
+# 'config.status' has no value for ac_aux_dir unless we are using Automake,
+# so we pass a copy along to make sure it has a sensible value anyway.
+m4_defun([_LT_PROG_LTMAIN],
+[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
+_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
+ltmain=$ac_aux_dir/ltmain.sh
+])# _LT_PROG_LTMAIN
+
+
+## ------------------------------------- ##
+## Accumulate code for creating libtool. ##
+## ------------------------------------- ##
+
+# So that we can recreate a full libtool script including additional
+# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
+# in macros and then make a single call at the end using the 'libtool'
+# label.
+
+
+# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
+# ----------------------------------------
+# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL_INIT],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_INIT])
+
+
+# _LT_CONFIG_LIBTOOL([COMMANDS])
+# ------------------------------
+# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
+m4_define([_LT_CONFIG_LIBTOOL],
+[m4_ifval([$1],
+ [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
+ [$1
+])])])
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
+
+
+# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
+# -----------------------------------------------------
+m4_defun([_LT_CONFIG_SAVE_COMMANDS],
+[_LT_CONFIG_LIBTOOL([$1])
+_LT_CONFIG_LIBTOOL_INIT([$2])
+])
+
+
+# _LT_FORMAT_COMMENT([COMMENT])
+# -----------------------------
+# Add leading comment marks to the start of each line, and a trailing
+# full-stop to the whole comment if one is not present already.
+m4_define([_LT_FORMAT_COMMENT],
+[m4_ifval([$1], [
+m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
+ [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
+)])
+
+
+
+## ------------------------ ##
+## FIXME: Eliminate VARNAME ##
+## ------------------------ ##
+
+
+# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
+# -------------------------------------------------------------------
+# CONFIGNAME is the name given to the value in the libtool script.
+# VARNAME is the (base) name used in the configure script.
+# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
+# VARNAME. Any other value will be used directly.
+m4_define([_LT_DECL],
+[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
+ [m4_ifval([$1], [$1], [$2])])
+ lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
+ m4_ifval([$4],
+ [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
+ lt_dict_add_subkey([lt_decl_dict], [$2],
+ [tagged?], [m4_ifval([$5], [yes], [no])])])
+])
+
+
+# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
+# --------------------------------------------------------
+m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
+
+
+# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_tag_varnames],
+[_lt_decl_filter([tagged?], [yes], $@)])
+
+
+# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
+# ---------------------------------------------------------
+m4_define([_lt_decl_filter],
+[m4_case([$#],
+ [0], [m4_fatal([$0: too few arguments: $#])],
+ [1], [m4_fatal([$0: too few arguments: $#: $1])],
+ [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
+ [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
+ [lt_dict_filter([lt_decl_dict], $@)])[]dnl
+])
+
+
+# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
+# --------------------------------------------------
+m4_define([lt_decl_quote_varnames],
+[_lt_decl_filter([value], [1], $@)])
+
+
+# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_dquote_varnames],
+[_lt_decl_filter([value], [2], $@)])
+
+
+# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
+# ---------------------------------------------------
+m4_define([lt_decl_varnames_tagged],
+[m4_assert([$# <= 2])dnl
+_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
+ m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
+m4_define([_lt_decl_varnames_tagged],
+[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
+
+
+# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
+# ------------------------------------------------
+m4_define([lt_decl_all_varnames],
+[_$0(m4_quote(m4_default([$1], [[, ]])),
+ m4_if([$2], [],
+ m4_quote(lt_decl_varnames),
+ m4_quote(m4_shift($@))))[]dnl
+])
+m4_define([_lt_decl_all_varnames],
+[lt_join($@, lt_decl_varnames_tagged([$1],
+ lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
+])
+
+
+# _LT_CONFIG_STATUS_DECLARE([VARNAME])
+# ------------------------------------
+# Quote a variable value, and forward it to 'config.status' so that its
+# declaration there will have the same value as in 'configure'. VARNAME
+# must have a single quote delimited value for this to work.
+m4_define([_LT_CONFIG_STATUS_DECLARE],
+[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
+
+
+# _LT_CONFIG_STATUS_DECLARATIONS
+# ------------------------------
+# We delimit libtool config variables with single quotes, so when
+# we write them to config.status, we have to be sure to quote all
+# embedded single quotes properly. In configure, this macro expands
+# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
+#
+# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
+m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
+ [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAGS
+# ----------------
+# Output comment and list of tags supported by the script
+m4_defun([_LT_LIBTOOL_TAGS],
+[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
+available_tags='_LT_TAGS'dnl
+])
+
+
+# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
+# -----------------------------------
+# Extract the dictionary values for VARNAME (optionally with TAG) and
+# expand to a commented shell variable setting:
+#
+# # Some comment about what VAR is for.
+# visible_name=$lt_internal_name
+m4_define([_LT_LIBTOOL_DECLARE],
+[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
+ [description])))[]dnl
+m4_pushdef([_libtool_name],
+ m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
+m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
+ [0], [_libtool_name=[$]$1],
+ [1], [_libtool_name=$lt_[]$1],
+ [2], [_libtool_name=$lt_[]$1],
+ [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
+m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
+])
+
+
+# _LT_LIBTOOL_CONFIG_VARS
+# -----------------------
+# Produce commented declarations of non-tagged libtool config variables
+# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
+# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
+# section) are produced by _LT_LIBTOOL_TAG_VARS.
+m4_defun([_LT_LIBTOOL_CONFIG_VARS],
+[m4_foreach([_lt_var],
+ m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
+
+
+# _LT_LIBTOOL_TAG_VARS(TAG)
+# -------------------------
+m4_define([_LT_LIBTOOL_TAG_VARS],
+[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
+ [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
+
+
+# _LT_TAGVAR(VARNAME, [TAGNAME])
+# ------------------------------
+m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
+
+
+# _LT_CONFIG_COMMANDS
+# -------------------
+# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
+# variables for single and double quote escaping we saved from calls
+# to _LT_DECL, we can put quote escaped variables declarations
+# into 'config.status', and then the shell code to quote escape them in
+# for loops in 'config.status'. Finally, any additional code accumulated
+# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
+m4_defun([_LT_CONFIG_COMMANDS],
+[AC_PROVIDE_IFELSE([LT_OUTPUT],
+ dnl If the libtool generation code has been placed in $CONFIG_LT,
+ dnl instead of duplicating it all over again into config.status,
+ dnl then we will have config.status run $CONFIG_LT later, so it
+ dnl needs to know what name is stored there:
+ [AC_CONFIG_COMMANDS([libtool],
+ [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
+ dnl If the libtool generation code is destined for config.status,
+ dnl expand the accumulated commands and init code now:
+ [AC_CONFIG_COMMANDS([libtool],
+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
+])#_LT_CONFIG_COMMANDS
+
+
+# Initialize.
+m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
+[
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+sed_quote_subst='$sed_quote_subst'
+double_quote_subst='$double_quote_subst'
+delay_variable_subst='$delay_variable_subst'
+_LT_CONFIG_STATUS_DECLARATIONS
+LTCC='$LTCC'
+LTCFLAGS='$LTCFLAGS'
+compiler='$compiler_DEFAULT'
+
+# A function that is used when there is no print builtin or printf.
+func_fallback_echo ()
+{
+ eval 'cat <<_LTECHO_EOF
+\$[]1
+_LTECHO_EOF'
+}
+
+# Quote evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_quote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+# Double-quote double-evaled strings.
+for var in lt_decl_all_varnames([[ \
+]], lt_decl_dquote_varnames); do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[[\\\\\\\`\\"\\\$]]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
+ ;;
+ *)
+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
+ ;;
+ esac
+done
+
+_LT_OUTPUT_LIBTOOL_INIT
+])
+
+# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
+# ------------------------------------
+# Generate a child script FILE with all initialization necessary to
+# reuse the environment learned by the parent script, and make the
+# file executable. If COMMENT is supplied, it is inserted after the
+# '#!' sequence but before initialization text begins. After this
+# macro, additional text can be appended to FILE to form the body of
+# the child script. The macro ends with non-zero status if the
+# file could not be fully written (such as if the disk is full).
+m4_ifdef([AS_INIT_GENERATED],
+[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
+[m4_defun([_LT_GENERATED_FILE_INIT],
+[m4_require([AS_PREPARE])]dnl
+[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
+[lt_write_fail=0
+cat >$1 <<_ASEOF || lt_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+$2
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$1 <<\_ASEOF || lt_write_fail=1
+AS_SHELL_SANITIZE
+_AS_PREPARE
+exec AS_MESSAGE_FD>&1
+_ASEOF
+test 0 = "$lt_write_fail" && chmod +x $1[]dnl
+m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
+
+# LT_OUTPUT
+# ---------
+# This macro allows early generation of the libtool script (before
+# AC_OUTPUT is called), incase it is used in configure for compilation
+# tests.
+AC_DEFUN([LT_OUTPUT],
+[: ${CONFIG_LT=./config.lt}
+AC_MSG_NOTICE([creating $CONFIG_LT])
+_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
+[# Run this file to recreate a libtool stub with the current configuration.])
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+lt_cl_silent=false
+exec AS_MESSAGE_LOG_FD>>config.log
+{
+ echo
+ AS_BOX([Running $as_me.])
+} >&AS_MESSAGE_LOG_FD
+
+lt_cl_help="\
+'$as_me' creates a local libtool stub from the current configuration,
+for use in further configure time tests before the real libtool is
+generated.
+
+Usage: $[0] [[OPTIONS]]
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+
+Report bugs to <bug-libtool at gnu.org>."
+
+lt_cl_version="\
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
+configured by $[0], generated by m4_PACKAGE_STRING.
+
+Copyright (C) 2011 Free Software Foundation, Inc.
+This config.lt script is free software; the Free Software Foundation
+gives unlimited permision to copy, distribute and modify it."
+
+while test 0 != $[#]
+do
+ case $[1] in
+ --version | --v* | -V )
+ echo "$lt_cl_version"; exit 0 ;;
+ --help | --h* | -h )
+ echo "$lt_cl_help"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --quiet | --q* | --silent | --s* | -q )
+ lt_cl_silent=: ;;
+
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
+Try '$[0] --help' for more information.]) ;;
+
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
+Try '$[0] --help' for more information.]) ;;
+ esac
+ shift
+done
+
+if $lt_cl_silent; then
+ exec AS_MESSAGE_FD>/dev/null
+fi
+_LTEOF
+
+cat >>"$CONFIG_LT" <<_LTEOF
+_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
+_LTEOF
+
+cat >>"$CONFIG_LT" <<\_LTEOF
+AC_MSG_NOTICE([creating $ofile])
+_LT_OUTPUT_LIBTOOL_COMMANDS
+AS_EXIT(0)
+_LTEOF
+chmod +x "$CONFIG_LT"
+
+# configure is writing to config.log, but config.lt does its own redirection,
+# appending to config.log, which fails on DOS, as config.log is still kept
+# open by configure. Here we exec the FD to /dev/null, effectively closing
+# config.log, so it can be properly (re)opened and appended to by config.lt.
+lt_cl_success=:
+test yes = "$silent" &&
+ lt_config_lt_args="$lt_config_lt_args --quiet"
+exec AS_MESSAGE_LOG_FD>/dev/null
+$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
+exec AS_MESSAGE_LOG_FD>>config.log
+$lt_cl_success || AS_EXIT(1)
+])# LT_OUTPUT
+
+
+# _LT_CONFIG(TAG)
+# ---------------
+# If TAG is the built-in tag, create an initial libtool script with a
+# default configuration from the untagged config vars. Otherwise add code
+# to config.status for appending the configuration named by TAG from the
+# matching tagged config vars.
+m4_defun([_LT_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_CONFIG_SAVE_COMMANDS([
+ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
+ m4_if(_LT_TAG, [C], [
+ # See if we are running on zsh, and set the options that allow our
+ # commands through without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}"; then
+ setopt NO_GLOB_SUBST
+ fi
+
+ cfgfile=${ofile}T
+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15
+ $RM "$cfgfile"
+
+ cat <<_LT_EOF >> "$cfgfile"
+#! $SHELL
+# Generated automatically by $as_me ($PACKAGE) $VERSION
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+
+# Provide generalized library-building support services.
+# Written by Gordon Matzigkeit, 1996
+
+_LT_COPYING
+_LT_LIBTOOL_TAGS
+
+# ### BEGIN LIBTOOL CONFIG
+_LT_LIBTOOL_CONFIG_VARS
+_LT_LIBTOOL_TAG_VARS
+# ### END LIBTOOL CONFIG
+
+_LT_EOF
+
+ case $host_os in
+ aix3*)
+ cat <<\_LT_EOF >> "$cfgfile"
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test set != "${COLLECT_NAMES+set}"; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+_LT_EOF
+ ;;
+ esac
+
+ _LT_PROG_LTMAIN
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" \
+ || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+],
+[cat <<_LT_EOF >> "$ofile"
+
+dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
+dnl in a comment (ie after a #).
+# ### BEGIN LIBTOOL TAG CONFIG: $1
+_LT_LIBTOOL_TAG_VARS(_LT_TAG)
+# ### END LIBTOOL TAG CONFIG: $1
+_LT_EOF
+])dnl /m4_if
+],
+[m4_if([$1], [], [
+ PACKAGE='$PACKAGE'
+ VERSION='$VERSION'
+ RM='$RM'
+ ofile='$ofile'], [])
+])dnl /_LT_CONFIG_SAVE_COMMANDS
+])# _LT_CONFIG
+
+
+# LT_SUPPORTED_TAG(TAG)
+# ---------------------
+# Trace this macro to discover what tags are supported by the libtool
+# --tag option, using:
+# autoconf --trace 'LT_SUPPORTED_TAG:$1'
+AC_DEFUN([LT_SUPPORTED_TAG], [])
+
+
+# C support is built-in for now
+m4_define([_LT_LANG_C_enabled], [])
+m4_define([_LT_TAGS], [])
+
+
+# LT_LANG(LANG)
+# -------------
+# Enable libtool support for the given language if not already enabled.
+AC_DEFUN([LT_LANG],
+[AC_BEFORE([$0], [LT_OUTPUT])dnl
+m4_case([$1],
+ [C], [_LT_LANG(C)],
+ [C++], [_LT_LANG(CXX)],
+ [Go], [_LT_LANG(GO)],
+ [Java], [_LT_LANG(GCJ)],
+ [Fortran 77], [_LT_LANG(F77)],
+ [Fortran], [_LT_LANG(FC)],
+ [Windows Resource], [_LT_LANG(RC)],
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
+ [_LT_LANG($1)],
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
+])# LT_LANG
+
+
+# _LT_LANG(LANGNAME)
+# ------------------
+m4_defun([_LT_LANG],
+[m4_ifdef([_LT_LANG_]$1[_enabled], [],
+ [LT_SUPPORTED_TAG([$1])dnl
+ m4_append([_LT_TAGS], [$1 ])dnl
+ m4_define([_LT_LANG_]$1[_enabled], [])dnl
+ _LT_LANG_$1_CONFIG($1)])dnl
+])# _LT_LANG
+
+
+m4_ifndef([AC_PROG_GO], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_GO. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+m4_defun([AC_PROG_GO],
+[AC_LANG_PUSH(Go)dnl
+AC_ARG_VAR([GOC], [Go compiler command])dnl
+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
+_AC_ARG_VAR_LDFLAGS()dnl
+AC_CHECK_TOOL(GOC, gccgo)
+if test -z "$GOC"; then
+ if test -n "$ac_tool_prefix"; then
+ AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
+ fi
+fi
+if test -z "$GOC"; then
+ AC_CHECK_PROG(GOC, gccgo, gccgo, false)
+fi
+])#m4_defun
+])#m4_ifndef
+
+
+# _LT_LANG_DEFAULT_CONFIG
+# -----------------------
+m4_defun([_LT_LANG_DEFAULT_CONFIG],
+[AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [LT_LANG(CXX)],
+ [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_F77],
+ [LT_LANG(F77)],
+ [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
+
+AC_PROVIDE_IFELSE([AC_PROG_FC],
+ [LT_LANG(FC)],
+ [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
+
+dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
+dnl pulling things in needlessly.
+AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
+ [LT_LANG(GCJ)],
+ [m4_ifdef([AC_PROG_GCJ],
+ [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([A][M_PROG_GCJ],
+ [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
+ m4_ifdef([LT_PROG_GCJ],
+ [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
+
+AC_PROVIDE_IFELSE([AC_PROG_GO],
+ [LT_LANG(GO)],
+ [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
+
+AC_PROVIDE_IFELSE([LT_PROG_RC],
+ [LT_LANG(RC)],
+ [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
+])# _LT_LANG_DEFAULT_CONFIG
+
+# Obsolete macros:
+AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
+AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
+AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
+AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
+AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
+dnl AC_DEFUN([AC_LIBTOOL_F77], [])
+dnl AC_DEFUN([AC_LIBTOOL_FC], [])
+dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
+dnl AC_DEFUN([AC_LIBTOOL_RC], [])
+
+
+# _LT_TAG_COMPILER
+# ----------------
+m4_defun([_LT_TAG_COMPILER],
+[AC_REQUIRE([AC_PROG_CC])dnl
+
+_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
+_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
+_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
+_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# If no C compiler flags were specified, use CFLAGS.
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+])# _LT_TAG_COMPILER
+
+
+# _LT_COMPILER_BOILERPLATE
+# ------------------------
+# Check for compiler boilerplate output or warnings with
+# the simple compiler test code.
+m4_defun([_LT_COMPILER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_compile_test_code" >conftest.$ac_ext
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_compiler_boilerplate=`cat conftest.err`
+$RM conftest*
+])# _LT_COMPILER_BOILERPLATE
+
+
+# _LT_LINKER_BOILERPLATE
+# ----------------------
+# Check for linker boilerplate output or warnings with
+# the simple link test code.
+m4_defun([_LT_LINKER_BOILERPLATE],
+[m4_require([_LT_DECL_SED])dnl
+ac_outfile=conftest.$ac_objext
+echo "$lt_simple_link_test_code" >conftest.$ac_ext
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
+_lt_linker_boilerplate=`cat conftest.err`
+$RM -r conftest*
+])# _LT_LINKER_BOILERPLATE
+
+# _LT_REQUIRED_DARWIN_CHECKS
+# -------------------------
+m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
+ case $host_os in
+ rhapsody* | darwin*)
+ AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
+ AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
+ AC_CHECK_TOOL([LIPO], [lipo], [:])
+ AC_CHECK_TOOL([OTOOL], [otool], [:])
+ AC_CHECK_TOOL([OTOOL64], [otool64], [:])
+ _LT_DECL([], [DSYMUTIL], [1],
+ [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
+ _LT_DECL([], [NMEDIT], [1],
+ [Tool to change global to local symbols on Mac OS X])
+ _LT_DECL([], [LIPO], [1],
+ [Tool to manipulate fat objects and archives on Mac OS X])
+ _LT_DECL([], [OTOOL], [1],
+ [ldd/readelf like tool for Mach-O binaries on Mac OS X])
+ _LT_DECL([], [OTOOL64], [1],
+ [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
+
+ AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
+ [lt_cv_apple_cc_single_mod=no
+ if test -z "$LT_MULTI_MODULE"; then
+ # By default we will add the -single_module flag. You can override
+ # by either setting the environment variable LT_MULTI_MODULE
+ # non-empty at configure time, or by adding -multi_module to the
+ # link flags.
+ rm -rf libconftest.dylib*
+ echo "int foo(void){return 1;}" > conftest.c
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
+ _lt_result=$?
+ # If there is a non-empty error log, and "single_module"
+ # appears in it, assume the flag caused a linker warning
+ if test -s conftest.err && $GREP single_module conftest.err; then
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ # Otherwise, if the output was created with a 0 exit code from
+ # the compiler, it worked.
+ elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
+ lt_cv_apple_cc_single_mod=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -rf libconftest.dylib*
+ rm -f conftest.*
+ fi])
+
+ AC_CACHE_CHECK([for -exported_symbols_list linker flag],
+ [lt_cv_ld_exported_symbols_list],
+ [lt_cv_ld_exported_symbols_list=no
+ save_LDFLAGS=$LDFLAGS
+ echo "_main" > conftest.sym
+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [lt_cv_ld_exported_symbols_list=yes],
+ [lt_cv_ld_exported_symbols_list=no])
+ LDFLAGS=$save_LDFLAGS
+ ])
+
+ AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
+ [lt_cv_ld_force_load=no
+ cat > conftest.c << _LT_EOF
+int forced_loaded() { return 2;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
+ echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+ $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+ echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
+ $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
+ cat > conftest.c << _LT_EOF
+int main() { return 0;}
+_LT_EOF
+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
+ _lt_result=$?
+ if test -s conftest.err && $GREP force_load conftest.err; then
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
+ lt_cv_ld_force_load=yes
+ else
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ fi
+ rm -f conftest.err libconftest.a conftest conftest.c
+ rm -rf conftest.dSYM
+ ])
+ case $host_os in
+ rhapsody* | darwin1.[[012]])
+ _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
+ darwin1.*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ darwin*) # darwin 5.x on
+ # if running on 10.5 or later, the deployment target defaults
+ # to the OS version, if on x86, and 10.4, the deployment
+ # target defaults to 10.4. Don't you love it?
+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ 10.[[012]][[,.]]*)
+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
+ 10.*)
+ _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
+ esac
+ ;;
+ esac
+ if test yes = "$lt_cv_apple_cc_single_mod"; then
+ _lt_dar_single_mod='$single_module'
+ fi
+ if test yes = "$lt_cv_ld_exported_symbols_list"; then
+ _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
+ else
+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
+ fi
+ if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
+ _lt_dsymutil='~$DSYMUTIL $lib || :'
+ else
+ _lt_dsymutil=
+ fi
+ ;;
+ esac
+])
+
+
+# _LT_DARWIN_LINKER_FEATURES([TAG])
+# ---------------------------------
+# Checks for linker and compiler features on darwin
+m4_defun([_LT_DARWIN_LINKER_FEATURES],
+[
+ m4_require([_LT_REQUIRED_DARWIN_CHECKS])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ if test yes = "$lt_cv_ld_force_load"; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
+ m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
+ [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=''
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
+ case $cc_basename in
+ ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+ *) _lt_dar_can_shared=$GCC ;;
+ esac
+ if test yes = "$_lt_dar_can_shared"; then
+ output_verbose_link_cmd=func_echo_all
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
+ _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
+ _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
+ m4_if([$1], [CXX],
+[ if test yes != "$lt_cv_apple_cc_single_mod"; then
+ _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
+ fi
+],[])
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+])
+
+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
+# ----------------------------------
+# Links a minimal program and checks the executable
+# for the system default hardcoded library path. In most cases,
+# this is /usr/lib:/lib, but when the MPI compilers are used
+# the location of the communication and MPI libs are included too.
+# If we don't find anything, use the default library path according
+# to the aix ld manual.
+# Store the results from the different compilers for each TAGNAME.
+# Allow to override them for all tags through lt_cv_aix_libpath.
+m4_defun([_LT_SYS_MODULE_PATH_AIX],
+[m4_require([_LT_DECL_SED])dnl
+if test set = "${lt_cv_aix_libpath+set}"; then
+ aix_libpath=$lt_cv_aix_libpath
+else
+ AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
+ lt_aix_libpath_sed='[
+ /Import File Strings/,/^$/ {
+ /^0/ {
+ s/^0 *\([^ ]*\) *$/\1/
+ p
+ }
+ }]'
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ # Check for a 64-bit object if we didn't find anything.
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+ fi],[])
+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
+ fi
+ ])
+ aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
+fi
+])# _LT_SYS_MODULE_PATH_AIX
+
+
+# _LT_SHELL_INIT(ARG)
+# -------------------
+m4_define([_LT_SHELL_INIT],
+[m4_divert_text([M4SH-INIT], [$1
+])])# _LT_SHELL_INIT
+
+
+
+# _LT_PROG_ECHO_BACKSLASH
+# -----------------------
+# Find how we can fake an echo command that does not interpret backslash.
+# In particular, with Autoconf 2.60 or later we add some code to the start
+# of the generated configure script that will find a shell with a builtin
+# printf (that we can use as an echo command).
+m4_defun([_LT_PROG_ECHO_BACKSLASH],
+[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+
+AC_MSG_CHECKING([how to print strings])
+# Test print first, because it will be a builtin if present.
+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='printf %s\n'
+else
+ # Use this function as a fallback that always works.
+ func_fallback_echo ()
+ {
+ eval 'cat <<_LTECHO_EOF
+$[]1
+_LTECHO_EOF'
+ }
+ ECHO='func_fallback_echo'
+fi
+
+# func_echo_all arg...
+# Invoke $ECHO with all args, space-separated.
+func_echo_all ()
+{
+ $ECHO "$*"
+}
+
+case $ECHO in
+ printf*) AC_MSG_RESULT([printf]) ;;
+ print*) AC_MSG_RESULT([print -r]) ;;
+ *) AC_MSG_RESULT([cat]) ;;
+esac
+
+m4_ifdef([_AS_DETECT_SUGGESTED],
+[_AS_DETECT_SUGGESTED([
+ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
+ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ PATH=/empty FPATH=/empty; export PATH FPATH
+ test "X`printf %s $ECHO`" = "X$ECHO" \
+ || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
+
+_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
+_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
+])# _LT_PROG_ECHO_BACKSLASH
+
+
+# _LT_WITH_SYSROOT
+# ----------------
+AC_DEFUN([_LT_WITH_SYSROOT],
+[AC_MSG_CHECKING([for sysroot])
+AC_ARG_WITH([sysroot],
+[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
+ [Search for dependent libraries within DIR (or the compiler's sysroot
+ if not specified).])],
+[], [with_sysroot=no])
+
+dnl lt_sysroot will always be passed unquoted. We quote it here
+dnl in case the user passed a directory name.
+lt_sysroot=
+case $with_sysroot in #(
+ yes)
+ if test yes = "$GCC"; then
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
+ fi
+ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
+ ;; #(
+ no|'')
+ ;; #(
+ *)
+ AC_MSG_RESULT([$with_sysroot])
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
+ ;;
+esac
+
+ AC_MSG_RESULT([${lt_sysroot:-no}])
+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
+[dependent libraries, and where our libraries should be installed.])])
+
+# _LT_ENABLE_LOCK
+# ---------------
+m4_defun([_LT_ENABLE_LOCK],
+[AC_ARG_ENABLE([libtool-lock],
+ [AS_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test no = "$enable_libtool_lock" || enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out what ABI is being produced by ac_compile, and set mode
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE=32
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE=64
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+mips64*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ emul=elf
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ emul="${emul}32"
+ ;;
+ *64-bit*)
+ emul="${emul}64"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *MSB*)
+ emul="${emul}btsmip"
+ ;;
+ *LSB*)
+ emul="${emul}ltsmip"
+ ;;
+ esac
+ case `/usr/bin/file conftest.$ac_objext` in
+ *N32*)
+ emul="${emul}n32"
+ ;;
+ esac
+ LD="${LD-ld} -m $emul"
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
+s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly. Note that the listed cases only cover the
+ # situations where additional linker options are needed (such as when
+ # doing 32-bit compilation for a host where ld defaults to 64-bit, or
+ # vice versa); the common cases where no linker options are needed do
+ # not appear in the list.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *32-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_i386_fbsd"
+ ;;
+ x86_64-*linux*)
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
+ ;;
+ powerpc64le-*linux*)
+ LD="${LD-ld} -m elf32lppclinux"
+ ;;
+ powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ case $host in
+ x86_64-*kfreebsd*-gnu)
+ LD="${LD-ld} -m elf_x86_64_fbsd"
+ ;;
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ powerpcle-*linux*)
+ LD="${LD-ld} -m elf64lppc"
+ ;;
+ powerpc-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS="$CFLAGS -belf"
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+ [AC_LANG_PUSH(C)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP])
+ if test yes != "$lt_cv_cc_needs_belf"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS=$SAVE_CFLAGS
+ fi
+ ;;
+*-*solaris*)
+ # Find out what ABI is being produced by ac_compile, and set linker
+ # options accordingly.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.o` in
+ *64-bit*)
+ case $lt_cv_prog_gnu_ld in
+ yes*)
+ case $host in
+ i?86-*-solaris*|x86_64-*-solaris*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ sparc*-*-solaris*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
+ LD=${LD-ld}_sol2
+ fi
+ ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+esac
+
+need_locks=$enable_libtool_lock
+])# _LT_ENABLE_LOCK
+
+
+# _LT_PROG_AR
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
+ [lt_cv_ar_at_file=no
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
+ [echo conftest.$ac_objext > conftest.lst
+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
+ AC_TRY_EVAL([lt_ar_try])
+ if test 0 -eq "$ac_status"; then
+ # Ensure the archiver fails upon bogus file names.
+ rm -f conftest.$ac_objext libconftest.a
+ AC_TRY_EVAL([lt_ar_try])
+ if test 0 -ne "$ac_status"; then
+ lt_cv_ar_at_file=@
+ fi
+ fi
+ rm -f conftest.* libconftest.a
+ ])
+ ])
+
+if test no = "$lt_cv_ar_at_file"; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
+_LT_DECL([], [archiver_list_spec], [1],
+ [How to feed a file listing to the archiver])
+])# _LT_PROG_AR
+
+
+# _LT_CMD_OLD_ARCHIVE
+# -------------------
+m4_defun([_LT_CMD_OLD_ARCHIVE],
+[_LT_PROG_AR
+
+AC_CHECK_TOOL(STRIP, strip, :)
+test -z "$STRIP" && STRIP=:
+_LT_DECL([], [STRIP], [1], [A symbol stripping program])
+
+AC_CHECK_TOOL(RANLIB, ranlib, :)
+test -z "$RANLIB" && RANLIB=:
+_LT_DECL([], [RANLIB], [1],
+ [Commands used to install an old-style archive])
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ bitrig* | openbsd*)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
+ ;;
+ *)
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
+fi
+
+case $host_os in
+ darwin*)
+ lock_old_archive_extraction=yes ;;
+ *)
+ lock_old_archive_extraction=no ;;
+esac
+_LT_DECL([], [old_postinstall_cmds], [2])
+_LT_DECL([], [old_postuninstall_cmds], [2])
+_LT_TAGDECL([], [old_archive_cmds], [2],
+ [Commands used to build an old-style archive])
+_LT_DECL([], [lock_old_archive_extraction], [0],
+ [Whether to use a lock for old archive extraction])
+])# _LT_CMD_OLD_ARCHIVE
+
+
+# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([_LT_COMPILER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings other than the usual output.
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ fi
+ $RM conftest*
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$5], , :, [$5])
+else
+ m4_if([$6], , :, [$6])
+fi
+])# _LT_COMPILER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
+
+
+# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------
+# Check whether the given linker option works
+AC_DEFUN([_LT_LINKER_OPTION],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_SED])dnl
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS $3"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The linker can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
+ if diff conftest.exp conftest.er2 >/dev/null; then
+ $2=yes
+ fi
+ else
+ $2=yes
+ fi
+ fi
+ $RM -r conftest*
+ LDFLAGS=$save_LDFLAGS
+])
+
+if test yes = "[$]$2"; then
+ m4_if([$4], , :, [$4])
+else
+ m4_if([$5], , :, [$5])
+fi
+])# _LT_LINKER_OPTION
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
+
+
+# LT_CMD_MAX_LEN
+#---------------
+AC_DEFUN([LT_CMD_MAX_LEN],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ teststring=ABCD
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw* | cegcc*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ mint*)
+ # On MiNT this can take a long time and run out of memory.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ amigaos*)
+ # On AmigaOS with pdksh, this test takes hours, literally.
+ # So we just punt and use a minimum line length of 8192.
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
+ # This has been around since 386BSD, at least. Likely further.
+ if test -x /sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
+ elif test -x /usr/sbin/sysctl; then
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
+ else
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
+ fi
+ # And add a safety zone
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ ;;
+
+ interix*)
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
+ lt_cv_sys_max_cmd_len=196608
+ ;;
+
+ os2*)
+ # The test takes a long time on OS/2.
+ lt_cv_sys_max_cmd_len=8192
+ ;;
+
+ osf*)
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
+ # nice to cause kernel panics so lets avoid the loop below.
+ # First set a reasonable default.
+ lt_cv_sys_max_cmd_len=16384
+ #
+ if test -x /sbin/sysconfig; then
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
+ esac
+ fi
+ ;;
+ sco3.2v5*)
+ lt_cv_sys_max_cmd_len=102400
+ ;;
+ sysv5* | sco5v6* | sysv4.2uw2*)
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
+ if test -n "$kargmax"; then
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
+ else
+ lt_cv_sys_max_cmd_len=32768
+ fi
+ ;;
+ *)
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
+ if test -n "$lt_cv_sys_max_cmd_len" && \
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
+ else
+ # Make teststring a little bigger before we do anything with it.
+ # a 1K string should be a reasonable start.
+ for i in 1 2 3 4 5 6 7 8; do
+ teststring=$teststring$teststring
+ done
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
+ test 17 != "$i" # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ teststring=$teststring$teststring
+ done
+ # Only check the string length outside the loop.
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
+ teststring=
+ # Add a significant safety factor because C++ compilers can tack on
+ # massive amounts of additional arguments before passing them to the
+ # linker. It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ fi
+ ;;
+ esac
+])
+if test -n "$lt_cv_sys_max_cmd_len"; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+max_cmd_len=$lt_cv_sys_max_cmd_len
+_LT_DECL([], [max_cmd_len], [0],
+ [What is the maximum length of a command?])
+])# LT_CMD_MAX_LEN
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
+
+
+# _LT_HEADER_DLFCN
+# ----------------
+m4_defun([_LT_HEADER_DLFCN],
+[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
+])# _LT_HEADER_DLFCN
+
+
+# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+# ----------------------------------------------------------------
+m4_defun([_LT_TRY_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test yes = "$cross_compiling"; then :
+ [$4]
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+/* When -fvisibility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+
+int fnord () { return 42; }
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else
+ {
+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ else puts (dlerror ());
+ }
+ /* dlclose (self); */
+ }
+ else
+ puts (dlerror ());
+
+ return status;
+}]
+_LT_EOF
+ if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) $1 ;;
+ x$lt_dlneed_uscore) $2 ;;
+ x$lt_dlunknown|x*) $3 ;;
+ esac
+ else :
+ # compilation failed
+ $3
+ fi
+fi
+rm -fr conftest*
+])# _LT_TRY_DLOPEN_SELF
+
+
+# LT_SYS_DLOPEN_SELF
+# ------------------
+AC_DEFUN([LT_SYS_DLOPEN_SELF],
+[m4_require([_LT_HEADER_DLFCN])dnl
+if test yes != "$enable_dlopen"; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen=load_add_on
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32* | cegcc*)
+ lt_cv_dlopen=LoadLibrary
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
+ lt_cv_dlopen=dyld
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ tpf*)
+ # Don't try to run any link tests for TPF. We know it's impossible
+ # because TPF is a cross-compiler, and we know how we open DSOs.
+ lt_cv_dlopen=dlopen
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=no
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen=shl_load],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen=dlopen],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test no = "$lt_cv_dlopen"; then
+ enable_dlopen=no
+ else
+ enable_dlopen=yes
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS=$CPPFLAGS
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS=$LDFLAGS
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS=$LIBS
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test yes = "$lt_cv_dlopen_self"; then
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS=$save_CPPFLAGS
+ LDFLAGS=$save_LDFLAGS
+ LIBS=$save_LIBS
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+_LT_DECL([dlopen_support], [enable_dlopen], [0],
+ [Whether dlopen is supported])
+_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
+ [Whether dlopen of programs is supported])
+_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
+ [Whether dlopen of statically linked programs is supported])
+])# LT_SYS_DLOPEN_SELF
+
+# Old name:
+AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
+
+
+# _LT_COMPILER_C_O([TAGNAME])
+# ---------------------------
+# Check to see if options -c and -o are simultaneously supported by compiler.
+# This macro does not hard code the compiler like AC_PROG_CC_C_O.
+m4_defun([_LT_COMPILER_C_O],
+[m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+ $RM -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
+ _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ fi
+ fi
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
+ $RM conftest*
+ # SGI C++ compiler will create directory out/ii_files/ for
+ # template instantiation
+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
+ $RM out/* && rmdir out
+ cd ..
+ $RM -r conftest
+ $RM conftest*
+])
+_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
+ [Does compiler simultaneously support -c and -o options?])
+])# _LT_COMPILER_C_O
+
+
+# _LT_COMPILER_FILE_LOCKS([TAGNAME])
+# ----------------------------------
+# Check to see if we can do hard links to lock some files if needed
+m4_defun([_LT_COMPILER_FILE_LOCKS],
+[m4_require([_LT_ENABLE_LOCK])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+_LT_COMPILER_C_O([$1])
+
+hard_links=nottested
+if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
+ # do not overwrite the value of need_locks provided by the user
+ AC_MSG_CHECKING([if we can lock with hard links])
+ hard_links=yes
+ $RM conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ AC_MSG_RESULT([$hard_links])
+ if test no = "$hard_links"; then
+ AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
+])# _LT_COMPILER_FILE_LOCKS
+
+
+# _LT_CHECK_OBJDIR
+# ----------------
+m4_defun([_LT_CHECK_OBJDIR],
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+[rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null])
+objdir=$lt_cv_objdir
+_LT_DECL([], [objdir], [0],
+ [The name of the directory that contains temporary libtool files])dnl
+m4_pattern_allow([LT_OBJDIR])dnl
+AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
+ [Define to the sub-directory where libtool stores uninstalled libraries.])
+])# _LT_CHECK_OBJDIR
+
+
+# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
+# --------------------------------------
+# Check hardcoding attributes.
+m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
+_LT_TAGVAR(hardcode_action, $1)=
+if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
+ test -n "$_LT_TAGVAR(runpath_var, $1)" ||
+ test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
+
+ # We can hardcode non-existent directories.
+ if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
+ test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
+ # Linking always hardcodes the temporary library directory.
+ _LT_TAGVAR(hardcode_action, $1)=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ _LT_TAGVAR(hardcode_action, $1)=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ _LT_TAGVAR(hardcode_action, $1)=unsupported
+fi
+AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
+
+if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
+ test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test yes = "$shlibpath_overrides_runpath" ||
+ test no = "$enable_shared"; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+_LT_TAGDECL([], [hardcode_action], [0],
+ [How to hardcode a shared library path into an executable])
+])# _LT_LINKER_HARDCODE_LIBPATH
+
+
+# _LT_CMD_STRIPLIB
+# ----------------
+m4_defun([_LT_CMD_STRIPLIB],
+[m4_require([_LT_DECL_EGREP])
+striplib=
+old_striplib=
+AC_MSG_CHECKING([whether stripping libraries is possible])
+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ AC_MSG_RESULT([yes])
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP"; then
+ striplib="$STRIP -x"
+ old_striplib="$STRIP -S"
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ fi
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+fi
+_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
+_LT_DECL([], [striplib], [1])
+])# _LT_CMD_STRIPLIB
+
+
+# _LT_SYS_DYNAMIC_LINKER([TAG])
+# -----------------------------
+# PORTME Fill in your ld.so characteristics
+m4_defun([_LT_SYS_DYNAMIC_LINKER],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_OBJDUMP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CHECK_SHELL_FEATURES])dnl
+AC_MSG_CHECKING([dynamic linker characteristics])
+m4_if([$1],
+ [], [
+if test yes = "$GCC"; then
+ case $host_os in
+ darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
+ *) lt_awk_arg='/^libraries:/' ;;
+ esac
+ case $host_os in
+ mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
+ *) lt_sed_strip_eq='s|=/|/|g' ;;
+ esac
+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
+ case $lt_search_path_spec in
+ *\;*)
+ # if the path contains ";" then we assume it to be the separator
+ # otherwise default to the standard path separator (i.e. ":") - it is
+ # assumed that no part of a normal pathname contains ";" but that should
+ # okay in the real world where ";" in dirpaths is itself problematic.
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
+ ;;
+ *)
+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ esac
+ # Ok, now we have the path, separated by spaces, we can step through it
+ # and add multilib dir if necessary...
+ lt_tmp_lt_search_path_spec=
+ lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
+ # ...but if some path component already ends with the multilib dir we assume
+ # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
+ case "$lt_multi_os_dir; $lt_search_path_spec " in
+ "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
+ lt_multi_os_dir=
+ ;;
+ esac
+ for lt_sys_path in $lt_search_path_spec; do
+ if test -d "$lt_sys_path$lt_multi_os_dir"; then
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
+ elif test -n "$lt_multi_os_dir"; then
+ test -d "$lt_sys_path" && \
+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
+ fi
+ done
+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
+BEGIN {RS = " "; FS = "/|\n";} {
+ lt_foo = "";
+ lt_count = 0;
+ for (lt_i = NF; lt_i > 0; lt_i--) {
+ if ($lt_i != "" && $lt_i != ".") {
+ if ($lt_i == "..") {
+ lt_count++;
+ } else {
+ if (lt_count == 0) {
+ lt_foo = "/" $lt_i lt_foo;
+ } else {
+ lt_count--;
+ }
+ }
+ }
+ }
+ if (lt_foo != "") { lt_freq[[lt_foo]]++; }
+ if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
+}'`
+ # AWK program above erroneously prepends '/' to C:/dos/paths
+ # for these hosts.
+ case $host_os in
+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
+ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
+ esac
+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
+else
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+fi])
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext_cmds=.so
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+
+aix[[4-9]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 supports IA64
+ library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line '#! .'. This would cause the generated library to
+ # depend on '.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # Using Import Files as archive members, it is possible to support
+ # filename-based versioning of shared library archives on AIX. While
+ # this would work for both with and without runtime linking, it will
+ # prevent static linking of such archives. So we do filename-based
+ # shared library versioning with .so extension only, which is used
+ # when both runtime linking and shared linking is enabled.
+ # Unfortunately, runtime linking may impact performance, so we do
+ # not want this to be the default eventually. Also, we use the
+ # versioned .so libs for executables only if there is the -brtl
+ # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+ # To allow for filename-based versioning support, we need to create
+ # libNAME.so.V as an archive file, containing:
+ # *) an Import File, referring to the versioned filename of the
+ # archive as well as the shared archive member, telling the
+ # bitwidth (32 or 64) of that shared object, and providing the
+ # list of exported symbols of that shared object, eventually
+ # decorated with the 'weak' keyword
+ # *) the shared object with the F_LOADONLY flag set, to really avoid
+ # it being seen by the linker.
+ # At run time we better use the real file rather than another symlink,
+ # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+ case $with_aix_soname,$aix_use_runtimelinking in
+ # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ aix,yes) # traditional libtool
+ dynamic_linker='AIX unversionable lib.so'
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ aix,no) # traditional AIX only
+ dynamic_linker='AIX lib.a[(]lib.so.V[)]'
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ svr4,*) # full svr4 only
+ dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,yes) # both, prefer svr4
+ dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
+ library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+ # unpreferred sharedlib libNAME.a needs extra handling
+ postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+ postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+ # We do not specify a path in Import Files, so LIBPATH fires.
+ shlibpath_overrides_runpath=yes
+ ;;
+ *,no) # both, prefer aix
+ dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
+ library_names_spec='$libname$release.a $libname.a'
+ soname_spec='$libname$release$shared_ext$major'
+ # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+ postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+ postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+ ;;
+ esac
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ case $host_cpu in
+ powerpc)
+ # Since July 2007 AmigaOS4 officially supports .so libraries.
+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ ;;
+ m68k)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
+ ;;
+ esac
+ ;;
+
+beos*)
+ library_names_spec='$libname$shared_ext'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi[[45]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32* | cegcc*)
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$cc_basename in
+ yes,*)
+ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
+ ;;
+ mingw* | cegcc*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ ;;
+
+ *,cl*)
+ # Native MSVC
+ libname_spec='$name'
+ soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
+ library_names_spec='$libname.dll.lib'
+
+ case $build_os in
+ mingw*)
+ sys_lib_search_path_spec=
+ lt_save_ifs=$IFS
+ IFS=';'
+ for lt_path in $LIB
+ do
+ IFS=$lt_save_ifs
+ # Let DOS variable expansion print the short 8.3 style file name.
+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
+ done
+ IFS=$lt_save_ifs
+ # Convert to MSYS style.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
+ ;;
+ cygwin*)
+ # Convert to unix form, then to dos form, then back to unix form
+ # but this time dos style (no spaces!) so that the unix form looks
+ # like /cygdrive/c/PROGRA~1:/cygdr...
+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ ;;
+ *)
+ sys_lib_search_path_spec=$LIB
+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
+ # It is most probably a Windows format PATH.
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ # FIXME: find the short name or the path components, as spaces are
+ # common. (e.g. "Program Files" -> "PROGRA~1")
+ ;;
+ esac
+
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ shlibpath_overrides_runpath=yes
+ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
+ # Assume MSVC wrapper
+ library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
+ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$major$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
+m4_if([$1], [],[
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+ if test -x /usr/bin/objformat; then
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+ freebsd[[23]].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ *) # from 4.6 on, and DragonFly
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+haiku*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ dynamic_linker="$host_os runtime_loader"
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case $host_cpu in
+ ia64*)
+ shrext_cmds='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ if test 32 = "$HPUX_IA64_MODE"; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext_cmds='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext_cmds='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
+ postinstall_cmds='chmod 555 $lib'
+ # or fails outright, so override atomically:
+ install_override_mode=555
+ ;;
+
+interix[[3-9]]*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test yes = "$lt_cv_prog_gnu_ld"; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
+ sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+linux*android*)
+ version_type=none # Android doesn't support versioned libraries.
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext'
+ soname_spec='$libname$release$shared_ext'
+ finish_cmds=
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ dynamic_linker='Android linker'
+ # Don't embed -rpath directories since the linker doesn't support them.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # Some binutils ld are patched to set DT_RUNPATH
+ AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
+ [lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
+ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
+ [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
+ [lt_cv_shlibpath_overrides_runpath=yes])])
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+ ])
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # Append ld.so.conf contents to the search path
+ if test -f /etc/ld.so.conf; then
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ fi
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+*nto* | *qnx*)
+ version_type=qnx
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='ldqnx.so'
+ ;;
+
+openbsd* | bitrig*)
+ version_type=sunos
+ sys_lib_dlsearch_path_spec=/usr/lib
+ need_lib_prefix=no
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ need_version=no
+ else
+ need_version=yes
+ fi
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+os2*)
+ libname_spec='$name'
+ version_type=windows
+ shrext_cmds=.dll
+ need_version=no
+ need_lib_prefix=no
+ # OS/2 can only load a DLL with a base name of 8 characters or less.
+ soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+ v=$($ECHO $release$versuffix | tr -d .-);
+ n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+ $ECHO $n$v`$shared_ext'
+ library_names_spec='${libname}_dll.$libext'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=BEGINLIBPATH
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ postinstall_cmds='base_file=`basename \$file`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname~
+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+ fi'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $RM \$dlpath'
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='$libname$release$shared_ext$major'
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+
+rdos*)
+ dynamic_linker=no
+ ;;
+
+solaris*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test yes = "$with_gnu_ld"; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.3*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec; then
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
+ soname_spec='$libname$shared_ext.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ version_type=sco
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ if test yes = "$with_gnu_ld"; then
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
+ else
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
+ case $host_os in
+ sco3.2v5*)
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
+ ;;
+ esac
+ fi
+ sys_lib_dlsearch_path_spec='/usr/lib'
+ ;;
+
+tpf*)
+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+
+uts4*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
+ soname_spec='$libname$release$shared_ext$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+AC_MSG_RESULT([$dynamic_linker])
+test no = "$dynamic_linker" && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test yes = "$GCC"; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
+ sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
+fi
+if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
+ sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
+fi
+
+_LT_DECL([], [variables_saved_for_relink], [1],
+ [Variables whose values should be saved in libtool wrapper scripts and
+ restored at link time])
+_LT_DECL([], [need_lib_prefix], [0],
+ [Do we need the "lib" prefix for modules?])
+_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
+_LT_DECL([], [version_type], [0], [Library versioning type])
+_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
+_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
+_LT_DECL([], [shlibpath_overrides_runpath], [0],
+ [Is shlibpath searched before the hard-coded library search path?])
+_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
+_LT_DECL([], [library_names_spec], [1],
+ [[List of archive names. First name is the real one, the rest are links.
+ The last name is the one that the linker finds with -lNAME]])
+_LT_DECL([], [soname_spec], [1],
+ [[The coded name of the library, if different from the real name]])
+_LT_DECL([], [install_override_mode], [1],
+ [Permission mode override for installation of shared libraries])
+_LT_DECL([], [postinstall_cmds], [2],
+ [Command to use after installation of a shared archive])
+_LT_DECL([], [postuninstall_cmds], [2],
+ [Command to use after uninstallation of a shared archive])
+_LT_DECL([], [finish_cmds], [2],
+ [Commands used to finish a libtool library installation in a directory])
+_LT_DECL([], [finish_eval], [1],
+ [[As "finish_cmds", except a single script fragment to be evaled but
+ not shown]])
+_LT_DECL([], [hardcode_into_libs], [0],
+ [Whether we should hardcode library paths into libraries])
+_LT_DECL([], [sys_lib_search_path_spec], [2],
+ [Compile-time system search path for libraries])
+_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
+ [Run-time system search path for libraries])
+])# _LT_SYS_DYNAMIC_LINKER
+
+
+# _LT_PATH_TOOL_PREFIX(TOOL)
+# --------------------------
+# find a file program that can recognize shared library
+AC_DEFUN([_LT_PATH_TOOL_PREFIX],
+[m4_require([_LT_DECL_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD=$MAGIC_CMD
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$1"; then
+ lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+_LT_EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS=$lt_save_ifs
+ MAGIC_CMD=$lt_save_MAGIC_CMD
+ ;;
+esac])
+MAGIC_CMD=$lt_cv_path_MAGIC_CMD
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+_LT_DECL([], [MAGIC_CMD], [0],
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
+])# _LT_PATH_TOOL_PREFIX
+
+# Old name:
+AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
+
+
+# _LT_PATH_MAGIC
+# --------------
+# find a file program that can recognize a shared library
+m4_defun([_LT_PATH_MAGIC],
+[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+ else
+ MAGIC_CMD=:
+ fi
+fi
+])# _LT_PATH_MAGIC
+
+
+# LT_PATH_LD
+# ----------
+# find the pathname to the GNU or non-GNU linker
+AC_DEFUN([LT_PATH_LD],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
+
+AC_ARG_WITH([gnu-ld],
+ [AS_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test no = "$withval" || with_gnu_ld=yes],
+ [with_gnu_ld=no])dnl
+
+ac_prog=ld
+if test yes = "$GCC"; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return, which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD=$ac_prog
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test yes = "$with_gnu_ld"; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD=$ac_dir/$ac_prog
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test no != "$with_gnu_ld" && break
+ ;;
+ *)
+ test yes != "$with_gnu_ld" && break
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+else
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
+fi])
+LD=$lt_cv_path_LD
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+_LT_PATH_LD_GNU
+AC_SUBST([LD])
+
+_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
+])# LT_PATH_LD
+
+# Old names:
+AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
+AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_LD], [])
+dnl AC_DEFUN([AC_PROG_LD], [])
+
+
+# _LT_PATH_LD_GNU
+#- --------------
+m4_defun([_LT_PATH_LD_GNU],
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac])
+with_gnu_ld=$lt_cv_prog_gnu_ld
+])# _LT_PATH_LD_GNU
+
+
+# _LT_CMD_RELOAD
+# --------------
+# find reload flag for linker
+# -- PORTME Some linkers may need a different reload flag.
+m4_defun([_LT_CMD_RELOAD],
+[AC_CACHE_CHECK([for $LD option to reload object files],
+ lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ if test yes != "$GCC"; then
+ reload_cmds=false
+ fi
+ ;;
+ darwin*)
+ if test yes = "$GCC"; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
+_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
+_LT_TAGDECL([], [reload_cmds], [2])dnl
+])# _LT_CMD_RELOAD
+
+
+# _LT_PATH_DD
+# -----------
+# find a working dd
+m4_defun([_LT_PATH_DD],
+[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
+[printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+: ${lt_DD:=$DD}
+AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
+[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
+fi])
+rm -f conftest.i conftest2.i conftest.out])
+])# _LT_PATH_DD
+
+
+# _LT_CMD_TRUNCATE
+# ----------------
+# find command to truncate a binary pipe
+m4_defun([_LT_CMD_TRUNCATE],
+[m4_require([_LT_PATH_DD])
+AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
+[printf 0123456789abcdef0123456789abcdef >conftest.i
+cat conftest.i conftest.i >conftest2.i
+lt_cv_truncate_bin=
+if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
+ cmp -s conftest.i conftest.out \
+ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
+fi
+rm -f conftest.i conftest2.i conftest.out
+test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
+_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
+ [Command to truncate a binary pipe])
+])# _LT_CMD_TRUNCATE
+
+
+# _LT_CHECK_MAGIC_METHOD
+# ----------------------
+# how to check for library dependencies
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_MAGIC_METHOD],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+AC_CACHE_CHECK([how to recognize dependent libraries],
+lt_cv_deplibs_check_method,
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# 'unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# that responds to the $file_magic_cmd with a given extended regex.
+# If you have 'file' or equivalent on your system and you're not sure
+# whether 'pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix[[4-9]]*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi[[45]]*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ # func_win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ ;;
+
+mingw* | pw32*)
+ # Base MSYS/MinGW do not provide the 'file' command needed by
+ # func_win32_libid shell function, so use a weaker test based on 'objdump',
+ # unless we find 'file', for example because we are cross-compiling.
+ if ( file / ) >/dev/null 2>&1; then
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+ # Keep this pattern in sync with the one in func_win32_libid.
+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+
+cegcc*)
+ # use the weaker test based on 'objdump'. See mingw*.
+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | dragonfly*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+haiku*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case $host_cpu in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+interix[[3-9]]*)
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be glibc/ELF.
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+*nto* | *qnx*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+openbsd* | bitrig*)
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+rdos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sysv4 | sysv4.3*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ pc)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+tpf*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+os2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+])
+
+file_magic_glob=
+want_nocaseglob=no
+if test "$build" = "$host"; then
+ case $host_os in
+ mingw* | pw32*)
+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
+ want_nocaseglob=yes
+ else
+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
+ fi
+ ;;
+ esac
+fi
+
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+_LT_DECL([], [deplibs_check_method], [1],
+ [Method to check whether dependent libraries are shared objects])
+_LT_DECL([], [file_magic_cmd], [1],
+ [Command to use when deplibs_check_method = "file_magic"])
+_LT_DECL([], [file_magic_glob], [1],
+ [How to find potential files when deplibs_check_method = "file_magic"])
+_LT_DECL([], [want_nocaseglob], [1],
+ [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
+])# _LT_CHECK_MAGIC_METHOD
+
+
+# LT_PATH_NM
+# ----------
+# find the pathname to a BSD- or MS-compatible name lister
+AC_DEFUN([LT_PATH_NM],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM=$NM
+else
+ lt_nm_to_check=${ac_tool_prefix}nm
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
+ lt_nm_to_check="$lt_nm_to_check nm"
+ fi
+ for lt_tmp_nm in $lt_nm_to_check; do
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
+ IFS=$lt_save_ifs
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm=$ac_dir/$lt_tmp_nm
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
+ case $build_os in
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
+ *) lt_bad_file=/dev/null ;;
+ esac
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
+ *$lt_bad_file* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break 2
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break 2
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ done
+ IFS=$lt_save_ifs
+ done
+ : ${lt_cv_path_NM=no}
+fi])
+if test no != "$lt_cv_path_NM"; then
+ NM=$lt_cv_path_NM
+else
+ # Didn't find any BSD compatible name lister, look for dumpbin.
+ if test -n "$DUMPBIN"; then :
+ # Let the user override the test.
+ else
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
+ *COFF*)
+ DUMPBIN="$DUMPBIN -symbols -headers"
+ ;;
+ *)
+ DUMPBIN=:
+ ;;
+ esac
+ fi
+ AC_SUBST([DUMPBIN])
+ if test : != "$DUMPBIN"; then
+ NM=$DUMPBIN
+ fi
+fi
+test -z "$NM" && NM=nm
+AC_SUBST([NM])
+_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
+
+AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
+ [lt_cv_nm_interface="BSD nm"
+ echo "int some_variable = 0;" > conftest.$ac_ext
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$ac_compile" 2>conftest.err)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
+ cat conftest.out >&AS_MESSAGE_LOG_FD
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+ lt_cv_nm_interface="MS dumpbin"
+ fi
+ rm -f conftest*])
+])# LT_PATH_NM
+
+# Old names:
+AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
+AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_PROG_NM], [])
+dnl AC_DEFUN([AC_PROG_NM], [])
+
+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+# --------------------------------
+# how to determine the name of the shared library
+# associated with a specific link library.
+# -- PORTME fill in with the dynamic library characteristics
+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
+[m4_require([_LT_DECL_EGREP])
+m4_require([_LT_DECL_OBJDUMP])
+m4_require([_LT_DECL_DLLTOOL])
+AC_CACHE_CHECK([how to associate runtime and link libraries],
+lt_cv_sharedlib_from_linklib_cmd,
+[lt_cv_sharedlib_from_linklib_cmd='unknown'
+
+case $host_os in
+cygwin* | mingw* | pw32* | cegcc*)
+ # two different shell functions defined in ltmain.sh;
+ # decide which one to use based on capabilities of $DLLTOOL
+ case `$DLLTOOL --help 2>&1` in
+ *--identify-strict*)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
+ ;;
+ *)
+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
+ ;;
+ esac
+ ;;
+*)
+ # fallback: assume linklib IS sharedlib
+ lt_cv_sharedlib_from_linklib_cmd=$ECHO
+ ;;
+esac
+])
+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
+
+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
+ [Command to associate shared and link libraries])
+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
+
+
+# _LT_PATH_MANIFEST_TOOL
+# ----------------------
+# locate the manifest tool
+m4_defun([_LT_PATH_MANIFEST_TOOL],
+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
+ [lt_cv_path_mainfest_tool=no
+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
+ lt_cv_path_mainfest_tool=yes
+ fi
+ rm -f conftest*])
+if test yes != "$lt_cv_path_mainfest_tool"; then
+ MANIFEST_TOOL=:
+fi
+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
+])# _LT_PATH_MANIFEST_TOOL
+
+
+# _LT_DLL_DEF_P([FILE])
+# ---------------------
+# True iff FILE is a Windows DLL '.def' file.
+# Keep in sync with func_dll_def_p in the libtool script
+AC_DEFUN([_LT_DLL_DEF_P],
+[dnl
+ test DEF = "`$SED -n dnl
+ -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
+ -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
+ -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
+ -e q dnl Only consider the first "real" line
+ $1`" dnl
+])# _LT_DLL_DEF_P
+
+
+# LT_LIB_M
+# --------
+# check for math library
+AC_DEFUN([LT_LIB_M],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM=-lm)
+ ;;
+esac
+AC_SUBST([LIBM])
+])# LT_LIB_M
+
+# Old name:
+AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_CHECK_LIBM], [])
+
+
+# _LT_COMPILER_NO_RTTI([TAGNAME])
+# -------------------------------
+m4_defun([_LT_COMPILER_NO_RTTI],
+[m4_require([_LT_TAG_COMPILER])dnl
+
+_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+
+if test yes = "$GCC"; then
+ case $cc_basename in
+ nvcc*)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
+ esac
+
+ _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+ lt_cv_prog_compiler_rtti_exceptions,
+ [-fno-rtti -fno-exceptions], [],
+ [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+fi
+_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
+ [Compiler flag to turn off builtin functions])
+])# _LT_COMPILER_NO_RTTI
+
+
+# _LT_CMD_GLOBAL_SYMBOLS
+# ----------------------
+m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+AC_REQUIRE([LT_PATH_LD])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+[
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[[BCDEGRST]]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[[BCDT]]'
+ ;;
+cygwin* | mingw* | pw32* | cegcc*)
+ symcode='[[ABCDGISTW]]'
+ ;;
+hpux*)
+ if test ia64 = "$host_cpu"; then
+ symcode='[[ABCDEGRST]]'
+ fi
+ ;;
+irix* | nonstopux*)
+ symcode='[[BCDEGRST]]'
+ ;;
+osf*)
+ symcode='[[BCDEGQRST]]'
+ ;;
+solaris*)
+ symcode='[[BDRT]]'
+ ;;
+sco3.2v5*)
+ symcode='[[DT]]'
+ ;;
+sysv4.2uw2*)
+ symcode='[[DT]]'
+ ;;
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
+ symcode='[[ABDT]]'
+ ;;
+sysv4)
+ symcode='[[DFNSTU]]'
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[[ABCDGIRSTW]]' ;;
+esac
+
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Gets list of data symbols to import.
+ lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
+ # Adjust the below global symbol transforms to fixup imported variables.
+ lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
+ lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
+ lt_c_name_lib_hook="\
+ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
+ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
+else
+ # Disable hooks by default.
+ lt_cv_sys_global_symbol_to_import=
+ lt_cdecl_hook=
+ lt_c_name_hook=
+ lt_c_name_lib_hook=
+fi
+
+# Transform an extracted symbol line into a proper C declaration.
+# Some systems (esp. on ia64) link data and code symbols differently,
+# so use this general approach.
+lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+$lt_cdecl_hook\
+" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
+$lt_c_name_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
+
+# Transform an extracted symbol line into symbol name with lib prefix and
+# symbol address.
+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
+$lt_c_name_lib_hook\
+" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
+" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
+" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# Try without a prefix underscore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
+
+ # Write the raw and C identifiers.
+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ # Fake it for dumpbin and say T for any non-static function,
+ # D for any global variable and I for any imported variable.
+ # Also find C++ and __fastcall symbols from MSVC++,
+ # which start with @ or ?.
+ lt_cv_sys_global_symbol_pipe="$AWK ['"\
+" {last_section=section; section=\$ 3};"\
+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
+" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
+" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
+" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
+" \$ 0!~/External *\|/{next};"\
+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
+" {if(hide[section]) next};"\
+" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
+" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
+" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
+" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
+" ' prfx=^$ac_symprfx]"
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<_LT_EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(void);
+void nm_test_func(void){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+_LT_EOF
+
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
+#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
+ relocations are performed -- see ld's documentation on pseudo-relocs. */
+# define LT@&t at _DLSYM_CONST
+#elif defined __osf__
+/* This system does not cope well with relocations in const data. */
+# define LT@&t at _DLSYM_CONST
+#else
+# define LT@&t at _DLSYM_CONST const
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+_LT_EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
+
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+/* The mapping between symbol names and symbols. */
+LT@&t at _DLSYM_CONST struct {
+ const char *name;
+ void *address;
+}
+lt__PROGRAM__LTX_preloaded_symbols[[]] =
+{
+ { "@PROGRAM@", (void *) 0 },
+_LT_EOF
+ $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
+ cat <<\_LT_EOF >> conftest.$ac_ext
+ {0, (void *) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt__PROGRAM__LTX_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+_LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_globsym_save_LIBS=$LIBS
+ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS=conftstm.$ac_objext
+ CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+ if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
+ pipe_works=yes
+ fi
+ LIBS=$lt_globsym_save_LIBS
+ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.$ac_ext >&5
+ fi
+ rm -rf conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test yes = "$pipe_works"; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+])
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ AC_MSG_RESULT(failed)
+else
+ AC_MSG_RESULT(ok)
+fi
+
+# Response file support.
+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
+ nm_file_list_spec='@'
+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
+ nm_file_list_spec='@'
+fi
+
+_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
+ [Take the output of nm and produce a listing of raw symbols and C names])
+_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
+ [Transform the output of nm in a proper C declaration])
+_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
+ [Transform the output of nm into a list of symbols to manually relocate])
+_LT_DECL([global_symbol_to_c_name_address],
+ [lt_cv_sys_global_symbol_to_c_name_address], [1],
+ [Transform the output of nm in a C name address pair])
+_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
+ [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
+ [Transform the output of nm in a C name address pair when lib prefix is needed])
+_LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
+ [The name lister interface])
+_LT_DECL([], [nm_file_list_spec], [1],
+ [Specify filename containing input files for $NM])
+]) # _LT_CMD_GLOBAL_SYMBOLS
+
+
+# _LT_COMPILER_PIC([TAGNAME])
+# ---------------------------
+m4_defun([_LT_COMPILER_PIC],
+[m4_require([_LT_TAG_COMPILER])dnl
+_LT_TAGVAR(lt_prog_compiler_wl, $1)=
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+_LT_TAGVAR(lt_prog_compiler_static, $1)=
+
+m4_if([$1], [CXX], [
+ # C++ specific cases for pic, static, wl, etc.
+ if test yes = "$GXX"; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix[[4-9]]*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68*)
+ # Green Hills C++ Compiler
+ # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ mingw* | cygwin* | os2* | pw32* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
+ if test ia64 != "$host_cpu"; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ aCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ interix*)
+ # This is c89, which is MS Visual C++ (no shared libs)
+ # Anyone wants to do a port?
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # KAI C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ ecpc* )
+ # old Intel C++ for x86_64, which still supported -KPIC.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ icpc* )
+ # Intel C++, used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ cxx*)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
+ # IBM XL 8.0, 9.0 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ *qnx* | *nto*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ cxx*)
+ # Digital/Compaq C++
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ lcc*)
+ # Lucid
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ vxworks*)
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+],
+[
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ m68k)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the '-m68020' flag to GCC prevents building anything better,
+ # like '-m68040'.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ esac
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ # Although the cygwin gcc ignores -fPIC, still need this for old-style
+ # (--disable-auto-import) libraries
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+
+ haiku*)
+ # PIC is the default for Haiku.
+ # The "-static" flag exists, but is broken.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)=
+ ;;
+
+ hpux*)
+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
+ # sets the default TLS model and affects inlining.
+ case $host_cpu in
+ hppa*64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
+ # Instead, we relocate shared libraries at runtime.
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ enable_shared=no
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+
+ case $cc_basename in
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
+ if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+ fi
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test ia64 = "$host_cpu"; then
+ # AIX 5 now supports IA64 processor
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ case $cc_basename in
+ nagfor*)
+ # NAG Fortran compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ m4_if([$1], [GCJ], [],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+ ;;
+ esac
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case $host_cpu in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC (with -KPIC) is the default.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ # old Intel for x86_64, which still supported -KPIC.
+ ecc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # icc used to be incompatible with GCC.
+ # ICC 10 doesn't accept -KPIC any more.
+ icc* | ifort*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ # Lahey Fortran 8.1.
+ lf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
+ ;;
+ nagfor*)
+ # NAG Fortran compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ ccc*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All Alpha code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
+ # Sun Fortran 8.3 passes all unrecognized flags to the linker
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
+ ;;
+ *Sun\ F* | *Sun*Fortran*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ *Sun\ C*)
+ # Sun C 5.9
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ ;;
+ *Intel*\ [[CF]]*Compiler*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ *Portland\ Group*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *nto* | *qnx*)
+ # QNX uses GNU C++, but need to define -shared option too, otherwise
+ # it will coredump.
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All OSF/1 code is PIC.
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ rdos*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ unicos*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *)
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+])
+case $host_os in
+ # For platforms that do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ *)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t at m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
+ ;;
+esac
+
+AC_CACHE_CHECK([for $compiler option to produce PIC],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
+ [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
+ [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t at m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
+ [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
+ "" | " "*) ;;
+ *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+ esac],
+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+fi
+_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
+ [Additional compiler flags for building library objects])
+
+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
+ [How to pass a linker flag through the compiler])
+#
+# Check to make sure the static flag actually works.
+#
+wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
+_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
+ _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
+ $lt_tmp_static_flag,
+ [],
+ [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
+_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
+ [Compiler flag to prevent dynamic linking])
+])# _LT_COMPILER_PIC
+
+
+# _LT_LINKER_SHLIBS([TAGNAME])
+# ----------------------------
+# See if the linker supports building shared libraries.
+m4_defun([_LT_LINKER_SHLIBS],
+[AC_REQUIRE([LT_PATH_LD])dnl
+AC_REQUIRE([LT_PATH_NM])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_DECL_SED])dnl
+m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
+m4_require([_LT_TAG_COMPILER])dnl
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+m4_if([$1], [CXX], [
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ case $host_os in
+ aix[[4-9]]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
+ ;;
+ cygwin* | mingw* | cegcc*)
+ case $cc_basename in
+ cl*)
+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+ ;;
+ esac
+ ;;
+ *)
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+], [
+ runpath_var=
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(archive_cmds, $1)=
+ _LT_TAGVAR(archive_expsym_cmds, $1)=
+ _LT_TAGVAR(compiler_needs_object, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(hardcode_automatic, $1)=no
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_TAGVAR(inherit_rpath, $1)=no
+ _LT_TAGVAR(link_all_deplibs, $1)=unknown
+ _LT_TAGVAR(module_cmds, $1)=
+ _LT_TAGVAR(module_expsym_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)=
+ _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+ _LT_TAGVAR(thread_safe_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ _LT_TAGVAR(include_expsyms, $1)=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ' (' and ')$', so one must not match beginning or
+ # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
+ # as well as any symbol that contains 'd'.
+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ # Exclude shared library initialization/finalization symbols.
+dnl Note also adjust exclude_expsyms for C++ above.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test yes != "$GCC"; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd* | bitrig*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+
+ # On some targets, GNU ld is compatible enough with the native linker
+ # that we're better off using the native interface for both.
+ lt_use_gnu_ld_interface=no
+ if test yes = "$with_gnu_ld"; then
+ case $host_os in
+ aix*)
+ # The AIX port of GNU ld has always aspired to compatibility
+ # with the native linker. However, as the warning in the GNU ld
+ # block says, versions before 2.19.5* couldn't really create working
+ # shared libraries, regardless of the interface used.
+ case `$LD -v 2>&1` in
+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
+ *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
+ *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ ;;
+ *)
+ lt_use_gnu_ld_interface=yes
+ ;;
+ esac
+ fi
+
+ if test yes = "$lt_use_gnu_ld_interface"; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='$wl'
+
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ supports_anon_versioning=no
+ case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
+ *\ 2.11.*) ;; # other 2.11 versions
+ *) supports_anon_versioning=yes ;;
+ esac
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix[[3-9]]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test ia64 != "$host_cpu"; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.19, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to install binutils
+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
+*** You will then need to restart the configuration process.
+
+_LT_EOF
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ shrext_cmds=.dll
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ tmp_diet=no
+ if test linux-dietlibc = "$host_os"; then
+ case $cc_basename in
+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
+ esac
+ fi
+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
+ && test no = "$tmp_diet"
+ then
+ tmp_addflag=' $pic_flag'
+ tmp_sharedflag='-shared'
+ case $cc_basename,$host_cpu in
+ pgcc*) # Portland Group C compiler
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag'
+ ;;
+ pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group f77 and f90 compilers
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ tmp_addflag=' $pic_flag -Mnomain' ;;
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
+ tmp_addflag=' -i_dynamic' ;;
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
+ ifc* | ifort*) # Intel Fortran compiler
+ tmp_addflag=' -nofor_main' ;;
+ lf95*) # Lahey Fortran 8.1
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ tmp_sharedflag='--shared' ;;
+ nagfor*) # NAGFOR 5.3
+ tmp_sharedflag='-Wl,-shared' ;;
+ xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
+ tmp_sharedflag='-qmkshrobj'
+ tmp_addflag= ;;
+ nvcc*) # Cuda Compiler Driver 2.2
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ ;;
+ esac
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*) # Sun C 5.9
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+ tmp_sharedflag='-G' ;;
+ *Sun\ F*) # Sun Fortran 8.3
+ tmp_sharedflag='-G' ;;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+
+ if test yes = "$supports_anon_versioning"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+
+ case $cc_basename in
+ tcc*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
+ ;;
+ xlf* | bgf* | bgxlf* | mpixlf*)
+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris*)
+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ cat <<_LT_EOF 1>&2
+
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
+*** reliably create shared libraries on SCO systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+_LT_EOF
+ ;;
+ *)
+ # For security reasons, it is highly recommended that you always
+ # use absolute paths for naming shared libraries, and exclude the
+ # DT_RUNPATH tag from executables and libraries. But doing so
+ # requires that you compile everything twice, which is a pain.
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ sunos4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+
+ if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
+ runpath_var=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+ # Without the "-l" option, or with the "-B" option, AIX nm treats
+ # weak defined symbols like other global defined symbols, whereas
+ # GNU nm marks them as "W".
+ # While the 'weak' keyword is ignored in the Export File, we need
+ # it in the Import File for the 'aix-soname' feature, so we have
+ # to replace the "-B" option with "-P" for AIX nm.
+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
+ fi
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # traditional, no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ ;;
+ esac
+
+ if test yes = "$GCC"; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ ;;
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag="$shared_flag "'$wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared libraries.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ case $host_cpu in
+ powerpc)
+ # see comment about AmigaOS4 .so support
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)=''
+ ;;
+ m68k)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ ;;
+
+ bsdi[[45]]*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # Assume MSVC wrapper
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ # FIXME: Should let the user specify the lib program.
+ _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+ esac
+ ;;
+
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ dgux*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2.*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ hpux9*)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ ;;
+
+ hpux10*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ fi
+ ;;
+
+ hpux11*)
+ if test yes,no = "$GCC,$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ m4_if($1, [], [
+ # Older versions of the 11.00 compiler do not understand -b yet
+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
+ _LT_LINKER_OPTION([if $CC understands -b],
+ _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
+ [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
+ [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
+ ;;
+ esac
+ fi
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+ # This should be the same for all languages, so no per-tag cache variable.
+ AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
+ [lt_cv_irix_exported_symbol],
+ [save_LDFLAGS=$LDFLAGS
+ LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
+ AC_LINK_IFELSE(
+ [AC_LANG_SOURCE(
+ [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
+ [C++], [[int foo (void) { return 0; }]],
+ [Fortran 77], [[
+ subroutine foo
+ end]],
+ [Fortran], [[
+ subroutine foo
+ end]])])],
+ [lt_cv_irix_exported_symbol=yes],
+ [lt_cv_irix_exported_symbol=no])
+ LDFLAGS=$save_LDFLAGS])
+ if test yes = "$lt_cv_irix_exported_symbol"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
+ fi
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ linux*)
+ case $cc_basename in
+ tcc*)
+ # Fabrice Bellard et al's Tiny C Compiler
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ newsos6)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *nto* | *qnx*)
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ fi
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ shrext_cmds=.dll
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ osf3*)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ else
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ solaris*)
+ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
+ if test yes = "$GCC"; then
+ wlarc='$wl'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+ wlarc=''
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
+ ;;
+ *)
+ wlarc='$wl'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ ;;
+ esac
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'. GCC discards it without '$wl',
+ # but is careful enough not to reorder.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ fi
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ sunos4*)
+ if test sequent = "$host_vendor"; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ ;;
+ motorola)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4.3*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ fi
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ if test yes = "$GCC"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+
+ uts4*)
+ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ if test sni = "$host_vendor"; then
+ case $host in
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
+ ;;
+ esac
+ fi
+ fi
+])
+AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
+
+_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
+
+_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
+_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
+_LT_DECL([], [extract_expsyms_cmds], [2],
+ [The commands to extract the exported symbol list from a shared archive])
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
+x|xyes)
+ # Assume -lc should be added
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+
+ if test yes,yes = "$GCC,$enable_shared"; then
+ case $_LT_TAGVAR(archive_cmds, $1) in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ AC_CACHE_CHECK([whether -lc should be explicitly linked in],
+ [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
+ [$RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
+ pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
+ _LT_TAGVAR(allow_undefined_flag, $1)=
+ if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
+ then
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ else
+ lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ fi
+ _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+ ])
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
+ [Whether or not to add -lc for building shared libraries])
+_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
+ [enable_shared_with_static_runtimes], [0],
+ [Whether or not to disallow shared libs when runtime libs are static])
+_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
+ [Compiler flag to allow reflexive dlopens])
+_LT_TAGDECL([], [whole_archive_flag_spec], [1],
+ [Compiler flag to generate shared objects directly from archives])
+_LT_TAGDECL([], [compiler_needs_object], [1],
+ [Whether the compiler copes with passing no objects directly])
+_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
+ [Create an old-style archive from a shared archive])
+_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
+ [Create a temporary old-style archive to link instead of a shared archive])
+_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
+_LT_TAGDECL([], [archive_expsym_cmds], [2])
+_LT_TAGDECL([], [module_cmds], [2],
+ [Commands used to build a loadable module if different from building
+ a shared archive.])
+_LT_TAGDECL([], [module_expsym_cmds], [2])
+_LT_TAGDECL([], [with_gnu_ld], [1],
+ [Whether we are building with GNU ld or not])
+_LT_TAGDECL([], [allow_undefined_flag], [1],
+ [Flag that allows shared libraries with undefined symbols to be built])
+_LT_TAGDECL([], [no_undefined_flag], [1],
+ [Flag that enforces no undefined symbols])
+_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
+ [Flag to hardcode $libdir into a binary during linking.
+ This must work even if $libdir does not exist])
+_LT_TAGDECL([], [hardcode_libdir_separator], [1],
+ [Whether we need a single "-rpath" flag with a separated argument])
+_LT_TAGDECL([], [hardcode_direct], [0],
+ [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+ DIR into the resulting binary])
+_LT_TAGDECL([], [hardcode_direct_absolute], [0],
+ [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
+ DIR into the resulting binary and the resulting library dependency is
+ "absolute", i.e impossible to change by setting $shlibpath_var if the
+ library is relocated])
+_LT_TAGDECL([], [hardcode_minus_L], [0],
+ [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
+ [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
+ into the resulting binary])
+_LT_TAGDECL([], [hardcode_automatic], [0],
+ [Set to "yes" if building a shared library automatically hardcodes DIR
+ into the library and all subsequent libraries and executables linked
+ against it])
+_LT_TAGDECL([], [inherit_rpath], [0],
+ [Set to yes if linker adds runtime paths of dependent libraries
+ to runtime path list])
+_LT_TAGDECL([], [link_all_deplibs], [0],
+ [Whether libtool must link a program against all its dependency libraries])
+_LT_TAGDECL([], [always_export_symbols], [0],
+ [Set to "yes" if exported symbols are required])
+_LT_TAGDECL([], [export_symbols_cmds], [2],
+ [The commands to list exported symbols])
+_LT_TAGDECL([], [exclude_expsyms], [1],
+ [Symbols that should not be listed in the preloaded symbols])
+_LT_TAGDECL([], [include_expsyms], [1],
+ [Symbols that must always be exported])
+_LT_TAGDECL([], [prelink_cmds], [2],
+ [Commands necessary for linking programs (against libraries) with templates])
+_LT_TAGDECL([], [postlink_cmds], [2],
+ [Commands necessary for finishing linking programs])
+_LT_TAGDECL([], [file_list_spec], [1],
+ [Specify filename containing input files])
+dnl FIXME: Not yet implemented
+dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
+dnl [Compiler flag to generate thread safe objects])
+])# _LT_LINKER_SHLIBS
+
+
+# _LT_LANG_C_CONFIG([TAG])
+# ------------------------
+# Ensure that the configuration variables for a C compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_C_CONFIG],
+[m4_require([_LT_DECL_EGREP])dnl
+lt_save_CC=$CC
+AC_LANG_PUSH(C)
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}'
+
+_LT_TAG_COMPILER
+# Save the default compiler, since it gets overwritten when the other
+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
+compiler_DEFAULT=$CC
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+ LT_SYS_DLOPEN_SELF
+ _LT_CMD_STRIPLIB
+
+ # Report what library types will actually be built
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+ aix[[4-9]]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_CONFIG($1)
+fi
+AC_LANG_POP
+CC=$lt_save_CC
+])# _LT_LANG_C_CONFIG
+
+
+# _LT_LANG_CXX_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a C++ compiler are suitably
+# defined. These variables are subsequently used by _LT_CONFIG to write
+# the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_CXX_CONFIG],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+m4_require([_LT_DECL_EGREP])dnl
+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
+if test -n "$CXX" && ( test no != "$CXX" &&
+ ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
+ (test g++ != "$CXX"))); then
+ AC_PROG_CXXCPP
+else
+ _lt_caught_CXX_error=yes
+fi
+
+AC_LANG_PUSH(C++)
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(compiler_needs_object, $1)=no
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for C++ test sources.
+ac_ext=cpp
+
+# Object file extension for compiled C++ test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the CXX compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_caught_CXX_error"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="int some_variable = 0;"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+ lt_save_with_gnu_ld=$with_gnu_ld
+ lt_save_path_LD=$lt_cv_path_LD
+ if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+ else
+ $as_unset lt_cv_prog_gnu_ld
+ fi
+ if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+ else
+ $as_unset lt_cv_path_LD
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
+ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ # We don't want -fno-exception when compiling C++ code, so set the
+ # no_builtin_flag separately
+ if test yes = "$GXX"; then
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+ else
+ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+ fi
+
+ if test yes = "$GXX"; then
+ # Set up default GNU C++ configuration
+
+ LT_PATH_LD
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test yes = "$with_gnu_ld"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='$wl'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" |
+ $GREP 'no-whole-archive' > /dev/null; then
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ else
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+ fi
+
+ # PORTME: fill in a description of your system's C++ link characteristics
+ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aix[[4-9]]*)
+ if test ia64 = "$host_cpu"; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=
+ else
+ aix_use_runtimelinking=no
+
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # have runtime linking enabled, and use it for executables.
+ # For shared libraries, we enable/disable runtime linking
+ # depending on the kind of the shared library created -
+ # when "with_aix_soname,aix_use_runtimelinking" is:
+ # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
+ # "aix,yes" lib.so shared, rtl:yes, for executables
+ # lib.a static archive
+ # "both,no" lib.so.V(shr.o) shared, rtl:yes
+ # lib.a(lib.so.V) shared, rtl:no, for executables
+ # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a(lib.so.V) shared, rtl:no
+ # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
+ # lib.a static archive
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
+ for ld_flag in $LDFLAGS; do
+ case $ld_flag in
+ *-brtl*)
+ aix_use_runtimelinking=yes
+ break
+ ;;
+ esac
+ done
+ if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # With aix-soname=svr4, we create the lib.so.V shared archives only,
+ # so we don't have lib.a shared libs to link our executables.
+ # We have to force runtime linking in this case.
+ aix_use_runtimelinking=yes
+ LDFLAGS="$LDFLAGS -Wl,-brtl"
+ fi
+ ;;
+ esac
+
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_TAGVAR(archive_cmds, $1)=''
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
+ case $with_aix_soname,$aix_use_runtimelinking in
+ aix,*) ;; # no import file
+ svr4,* | *,yes) # use import file
+ # The Import File defines what to hardcode.
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ ;;
+ esac
+
+ if test yes = "$GXX"; then
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`$CC -print-prog-name=collect2`
+ if test -f "$collect2name" &&
+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ _LT_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag=$shared_flag' $wl-G'
+ fi
+ # Need to ensure runtime linking is disabled for the traditional
+ # shared library, or the linker may eventually find shared libraries
+ # /with/ Import File - we do not want to mix them.
+ shared_flag_aix='-shared'
+ shared_flag_svr4='-shared $wl-G'
+ else
+ # not using gcc
+ if test ia64 = "$host_cpu"; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test yes = "$aix_use_runtimelinking"; then
+ shared_flag='$wl-G'
+ else
+ shared_flag='$wl-bM:SRE'
+ fi
+ shared_flag_aix='$wl-bM:SRE'
+ shared_flag_svr4='$wl-G'
+ fi
+ fi
+
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
+ # It seems that -bexpall does not export symbols beginning with
+ # underscore (_), so it is better to generate a list of symbols to
+ # export.
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ # The "-G" linker flag allows undefined symbols.
+ _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
+ else
+ if test ia64 = "$host_cpu"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
+ _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+ _LT_SYS_MODULE_PATH_AIX([$1])
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
+ if test yes = "$with_gnu_ld"; then
+ # We only use this code for GNU lds that support --whole-archive.
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
+ else
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
+ fi
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+ # -brtl affects multiple linker settings, -berok does not and is overridden later
+ compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
+ if test svr4 != "$with_aix_soname"; then
+ # This is similar to how AIX traditionally builds its shared
+ # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+ fi
+ if test aix != "$with_aix_soname"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+ else
+ # used by -dlpreopen to get the symbols
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
+ fi
+ _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
+ fi
+ fi
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+ case $GXX,$cc_basename in
+ ,cl* | no,cl*)
+ # Native MSVC
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=yes
+ _LT_TAGVAR(file_list_spec, $1)='@'
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext_cmds=.dll
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp "$export_symbols" "$output_objdir/$soname.def";
+ echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
+ else
+ $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
+ fi~
+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
+ linknames='
+ # The linker will not automatically build a static lib if we build a DLL.
+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ # Don't use ranlib
+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
+ lt_tool_outputfile="@TOOL_OUTPUT@"~
+ case $lt_outputfile in
+ *.exe|*.EXE) ;;
+ *)
+ lt_outputfile=$lt_outputfile.exe
+ lt_tool_outputfile=$lt_tool_outputfile.exe
+ ;;
+ esac~
+ func_to_tool_file "$lt_outputfile"~
+ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
+ $RM "$lt_outputfile.manifest";
+ fi'
+ ;;
+ *)
+ # g++
+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_TAGVAR(always_export_symbols, $1)=no
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ # If the export-symbols file already is a .def file, use it as
+ # is; otherwise, prepend EXPORTS...
+ _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ darwin* | rhapsody*)
+ _LT_DARWIN_LINKER_FEATURES($1)
+ ;;
+
+ os2*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+ shrext_cmds=.dll
+ _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+ $ECHO EXPORTS >> $output_objdir/$libname.def~
+ prefix_cmds="$SED"~
+ if test EXPORTS = "`$SED 1q $export_symbols`"; then
+ prefix_cmds="$prefix_cmds -e 1d";
+ fi~
+ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+ emximp -o $lib $output_objdir/$libname.def'
+ _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ ghcx*)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ freebsd2.*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ freebsd-elf*)
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+
+ freebsd* | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ haiku*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ hpux9*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ hpux10*|hpux11*)
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ case $host_cpu in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ ;;
+ esac
+ fi
+ case $host_cpu in
+ hppa*64*|ia64*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ *)
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC*)
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ case $host_cpu in
+ hppa*64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ interix[[3-9]]*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
+ # default) and relocated if they conflict, which is a slow very memory
+ # consuming and fragmenting process. To avoid this, we pick a random,
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC*)
+ # SGI C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test yes = "$GXX"; then
+ if test no = "$with_gnu_ld"; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ else
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
+ fi
+ fi
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+ esac
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_TAGVAR(inherit_rpath, $1)=yes
+ ;;
+
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc* | ecpc* )
+ # Intel C++
+ with_gnu_ld=yes
+ # version 8.0 and above of icpc choke on multiply defined symbols
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
+ # earlier do not add the objects themselves.
+ case `$CC -V 2>&1` in
+ *"Version 7."*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 8.0 or newer
+ tmp_idyn=
+ case $host_cpu in
+ ia64*) tmp_idyn=' -i_dynamic';;
+ esac
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
+ ;;
+ pgCC* | pgcpp*)
+ # Portland Group C++ compiler
+ case `$CC -V` in
+ *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
+ _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
+ _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
+ $RANLIB $oldlib'
+ _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
+ rm -rf $tpldir~
+ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ *) # Version 6 and above use weak symbols
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ ;;
+ cxx*)
+ # Compaq C++
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
+ ;;
+ xl* | mpixl* | bgxl*)
+ # IBM XL 8.0 on PPC, with GNU ld
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+ if test yes = "$supports_anon_versioning"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ _LT_TAGVAR(compiler_needs_object, $1)=yes
+
+ # Not sure whether something based on
+ # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
+ # would be better.
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ m88k*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ mvs*)
+ case $cc_basename in
+ cxx*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+
+ *nto* | *qnx*)
+ _LT_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+
+ openbsd* | bitrig*)
+ if test -f /usr/libexec/ld.so; then
+ _LT_TAGVAR(hardcode_direct, $1)=yes
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
+ _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ fi
+ output_verbose_link_cmd=func_echo_all
+ else
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC*)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ case $host in
+ osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
+ *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
+ esac
+ ;;
+ RCC*)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx*)
+ case $host in
+ osf3*)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ ;;
+ *)
+ _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
+ $RM $lib.exp'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
+ ;;
+ *)
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
+ case $host in
+ osf3*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
+ ;;
+ esac
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+
+ psos*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ sunos4*)
+ case $cc_basename in
+ CC*)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ lcc*)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
+ _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ # The compiler driver will combine and reorder linker options,
+ # but understands '-z linker_flag'.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
+ ;;
+ esac
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+
+ output_verbose_link_cmd='func_echo_all'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx*)
+ # Green Hills C++ Compiler
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test yes,no = "$GXX,$with_gnu_ld"; then
+ _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ else
+ # g++ 2.7 appears to require '-G' NOT '-shared' on this
+ # platform.
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+ fi
+
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *)
+ _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ ;;
+
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ sysv5* | sco3.2v5* | sco5v6*)
+ # Note: We CANNOT use -z defs as we might desire, because we do not
+ # link with -lc, and that would cause any symbols used from libc to
+ # always be unresolved, which means just about no library would
+ # ever link correctly. If we're not using GNU ld we use -z text
+ # though, which does catch some bad symbols but isn't as heavy-handed
+ # as -z defs.
+ _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
+ _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
+ _LT_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_TAGVAR(link_all_deplibs, $1)=yes
+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
+ runpath_var='LD_RUN_PATH'
+
+ case $cc_basename in
+ CC*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
+ '"$_LT_TAGVAR(old_archive_cmds, $1)"
+ _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
+ '"$_LT_TAGVAR(reload_cmds, $1)"
+ ;;
+ *)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ ;;
+
+ tandem*)
+ case $cc_basename in
+ NCC*)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+
+ AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
+ test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
+
+ _LT_TAGVAR(GCC, $1)=$GXX
+ _LT_TAGVAR(LD, $1)=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+ with_gnu_ld=$lt_save_with_gnu_ld
+ lt_cv_path_LDCXX=$lt_cv_path_LD
+ lt_cv_path_LD=$lt_save_path_LD
+ lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+ lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+fi # test yes != "$_lt_caught_CXX_error"
+
+AC_LANG_POP
+])# _LT_LANG_CXX_CONFIG
+
+
+# _LT_FUNC_STRIPNAME_CNF
+# ----------------------
+# func_stripname_cnf prefix suffix name
+# strip PREFIX and SUFFIX off of NAME.
+# PREFIX and SUFFIX must not contain globbing or regex special
+# characters, hashes, percent signs, but SUFFIX may contain a leading
+# dot (in which case that matches only a dot).
+#
+# This function is identical to the (non-XSI) version of func_stripname,
+# except this one can be used by m4 code that may be executed by configure,
+# rather than the libtool script.
+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
+AC_REQUIRE([_LT_DECL_SED])
+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
+func_stripname_cnf ()
+{
+ case @S|@2 in
+ .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
+ *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
+ esac
+} # func_stripname_cnf
+])# _LT_FUNC_STRIPNAME_CNF
+
+# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
+# ---------------------------------
+# Figure out "hidden" library dependencies from verbose
+# compiler output when linking a shared library.
+# Parse the compiler output and extract the necessary
+# objects, libraries and library flags.
+m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
+[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
+# Dependencies to place before and after the object being linked:
+_LT_TAGVAR(predep_objects, $1)=
+_LT_TAGVAR(postdep_objects, $1)=
+_LT_TAGVAR(predeps, $1)=
+_LT_TAGVAR(postdeps, $1)=
+_LT_TAGVAR(compiler_lib_search_path, $1)=
+
+dnl we can't use the lt_simple_compile_test_code here,
+dnl because it contains code intended for an executable,
+dnl not a library. It's possible we should let each
+dnl tag define a new lt_????_link_test_code variable,
+dnl but it's only used here...
+m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
+int a;
+void foo (void) { a = 0; }
+_LT_EOF
+], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+_LT_EOF
+], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer*4 a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
+ subroutine foo
+ implicit none
+ integer a
+ a=0
+ return
+ end
+_LT_EOF
+], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
+public class foo {
+ private int a;
+ public void bar (void) {
+ a = 0;
+ }
+};
+_LT_EOF
+], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
+package foo
+func foo() {
+}
+_LT_EOF
+])
+
+_lt_libdeps_save_CFLAGS=$CFLAGS
+case "$CC $CFLAGS " in #(
+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
+esac
+
+dnl Parse the compiler output and extract the necessary
+dnl objects, libraries and library flags.
+if AC_TRY_EVAL(ac_compile); then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test x-L = "$p" ||
+ test x-R = "$p"; then
+ prev=$p
+ continue
+ fi
+
+ # Expand the sysroot to ease extracting the directories later.
+ if test -z "$prev"; then
+ case $p in
+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
+ esac
+ fi
+ case $p in
+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
+ esac
+ if test no = "$pre_test_object_deps_done"; then
+ case $prev in
+ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
+ _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
+ else
+ _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$_LT_TAGVAR(postdeps, $1)"; then
+ _LT_TAGVAR(postdeps, $1)=$prev$p
+ else
+ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
+ fi
+ fi
+ prev=
+ ;;
+
+ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test no = "$pre_test_object_deps_done"; then
+ if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
+ _LT_TAGVAR(predep_objects, $1)=$p
+ else
+ _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
+ fi
+ else
+ if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
+ _LT_TAGVAR(postdep_objects, $1)=$p
+ else
+ _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling $1 test program"
+fi
+
+$RM -f confest.$objext
+CFLAGS=$_lt_libdeps_save_CFLAGS
+
+# PORTME: override above test on systems where it is broken
+m4_if([$1], [CXX],
+[case $host_os in
+interix[[3-9]]*)
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
+ # hack all around it, let's just trust "g++" to DTRT.
+ _LT_TAGVAR(predep_objects,$1)=
+ _LT_TAGVAR(postdep_objects,$1)=
+ _LT_TAGVAR(postdeps,$1)=
+ ;;
+
+linux*)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ C*)
+ # Sun C++ 5.9
+
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ if test yes != "$solaris_use_stlport4"; then
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+
+solaris*)
+ case $cc_basename in
+ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+ # -library=stlport4 depends on it.
+ case " $CXX $CXXFLAGS " in
+ *" -library=stlport4 "*)
+ solaris_use_stlport4=yes
+ ;;
+ esac
+
+ # Adding this requires a known-good setup of shared libraries for
+ # Sun compiler versions before 5.6, else PIC objects from an old
+ # archive will be linked into the output, leading to subtle bugs.
+ if test yes != "$solaris_use_stlport4"; then
+ _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
+ fi
+ ;;
+ esac
+ ;;
+esac
+])
+
+case " $_LT_TAGVAR(postdeps, $1) " in
+*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+esac
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=
+if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
+ _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
+fi
+_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
+ [The directories searched by this compiler when creating a shared library])
+_LT_TAGDECL([], [predep_objects], [1],
+ [Dependencies to place before and after the objects being linked to
+ create a shared library])
+_LT_TAGDECL([], [postdep_objects], [1])
+_LT_TAGDECL([], [predeps], [1])
+_LT_TAGDECL([], [postdeps], [1])
+_LT_TAGDECL([], [compiler_lib_search_path], [1],
+ [The library search path used internally by the compiler when linking
+ a shared library])
+])# _LT_SYS_HIDDEN_LIBDEPS
+
+
+# _LT_LANG_F77_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for a Fortran 77 compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_F77_CONFIG],
+[AC_LANG_PUSH(Fortran 77)
+if test -z "$F77" || test no = "$F77"; then
+ _lt_disable_F77=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for f77 test sources.
+ac_ext=f
+
+# Object file extension for compiled f77 test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the F77 compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_disable_F77"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${F77-"f77"}
+ CFLAGS=$FFLAGS
+ compiler=$CC
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+ GCC=$G77
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)=$G77
+ _LT_TAGVAR(LD, $1)=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+fi # test yes != "$_lt_disable_F77"
+
+AC_LANG_POP
+])# _LT_LANG_F77_CONFIG
+
+
+# _LT_LANG_FC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for a Fortran compiler are
+# suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_FC_CONFIG],
+[AC_LANG_PUSH(Fortran)
+
+if test -z "$FC" || test no = "$FC"; then
+ _lt_disable_FC=yes
+fi
+
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_TAGVAR(allow_undefined_flag, $1)=
+_LT_TAGVAR(always_export_symbols, $1)=no
+_LT_TAGVAR(archive_expsym_cmds, $1)=
+_LT_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_TAGVAR(hardcode_direct, $1)=no
+_LT_TAGVAR(hardcode_direct_absolute, $1)=no
+_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_TAGVAR(hardcode_minus_L, $1)=no
+_LT_TAGVAR(hardcode_automatic, $1)=no
+_LT_TAGVAR(inherit_rpath, $1)=no
+_LT_TAGVAR(module_cmds, $1)=
+_LT_TAGVAR(module_expsym_cmds, $1)=
+_LT_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+_LT_TAGVAR(no_undefined_flag, $1)=
+_LT_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for fc test sources.
+ac_ext=${ac_fc_srcext-f}
+
+# Object file extension for compiled fc test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# No sense in running all these tests if we already determined that
+# the FC compiler isn't working. Some variables (like enable_shared)
+# are currently assumed to apply to all compilers on this platform,
+# and will be corrupted by setting them based on a non-working compiler.
+if test yes != "$_lt_disable_FC"; then
+ # Code to be used in simple compile tests
+ lt_simple_compile_test_code="\
+ subroutine t
+ return
+ end
+"
+
+ # Code to be used in simple link tests
+ lt_simple_link_test_code="\
+ program t
+ end
+"
+
+ # ltmain only uses $CC for tagged configurations so make sure $CC is set.
+ _LT_TAG_COMPILER
+
+ # save warnings/boilerplate of simple test code
+ _LT_COMPILER_BOILERPLATE
+ _LT_LINKER_BOILERPLATE
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
+ lt_save_GCC=$GCC
+ lt_save_CFLAGS=$CFLAGS
+ CC=${FC-"f95"}
+ CFLAGS=$FCFLAGS
+ compiler=$CC
+ GCC=$ac_cv_fc_compiler_gnu
+
+ _LT_TAGVAR(compiler, $1)=$CC
+ _LT_CC_BASENAME([$compiler])
+
+ if test -n "$compiler"; then
+ AC_MSG_CHECKING([if libtool supports shared libraries])
+ AC_MSG_RESULT([$can_build_shared])
+
+ AC_MSG_CHECKING([whether to build shared libraries])
+ test no = "$can_build_shared" && enable_shared=no
+
+ # On AIX, shared libraries and static libraries use the same namespace, and
+ # are all built from PIC.
+ case $host_os in
+ aix3*)
+ test yes = "$enable_shared" && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+ aix[[4-9]]*)
+ if test ia64 != "$host_cpu"; then
+ case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+ yes,aix,yes) ;; # shared object as lib.so file only
+ yes,svr4,*) ;; # shared object as lib.so archive member only
+ yes,*) enable_static=no ;; # shared object in lib.a archive as well
+ esac
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT([$enable_shared])
+
+ AC_MSG_CHECKING([whether to build static libraries])
+ # Make sure either enable_shared or enable_static is yes.
+ test yes = "$enable_shared" || enable_static=yes
+ AC_MSG_RESULT([$enable_static])
+
+ _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
+ _LT_TAGVAR(LD, $1)=$LD
+
+ ## CAVEAT EMPTOR:
+ ## There is no encapsulation within the following macros, do not change
+ ## the running order or otherwise move them around unless you know exactly
+ ## what you are doing...
+ _LT_SYS_HIDDEN_LIBDEPS($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_SYS_DYNAMIC_LINKER($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+ fi # test -n "$compiler"
+
+ GCC=$lt_save_GCC
+ CC=$lt_save_CC
+ CFLAGS=$lt_save_CFLAGS
+fi # test yes != "$_lt_disable_FC"
+
+AC_LANG_POP
+])# _LT_LANG_FC_CONFIG
+
+
+# _LT_LANG_GCJ_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Java Compiler compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_GCJ_CONFIG],
+[AC_REQUIRE([LT_PROG_GCJ])dnl
+AC_LANG_SAVE
+
+# Source file extension for Java test sources.
+ac_ext=java
+
+# Object file extension for compiled Java test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GCJ-"gcj"}
+CFLAGS=$GCJFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)=$LD
+_LT_CC_BASENAME([$compiler])
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GCJ_CONFIG
+
+
+# _LT_LANG_GO_CONFIG([TAG])
+# --------------------------
+# Ensure that the configuration variables for the GNU Go compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_GO_CONFIG],
+[AC_REQUIRE([LT_PROG_GO])dnl
+AC_LANG_SAVE
+
+# Source file extension for Go test sources.
+ac_ext=go
+
+# Object file extension for compiled Go test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="package main; func main() { }"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='package main; func main() { }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=yes
+CC=${GOC-"gccgo"}
+CFLAGS=$GOFLAGS
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_TAGVAR(LD, $1)=$LD
+_LT_CC_BASENAME([$compiler])
+
+# Go did not exist at the time GCC didn't implicitly link libc in.
+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
+
+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_TAGVAR(reload_flag, $1)=$reload_flag
+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+if test -n "$compiler"; then
+ _LT_COMPILER_NO_RTTI($1)
+ _LT_COMPILER_PIC($1)
+ _LT_COMPILER_C_O($1)
+ _LT_COMPILER_FILE_LOCKS($1)
+ _LT_LINKER_SHLIBS($1)
+ _LT_LINKER_HARDCODE_LIBPATH($1)
+
+ _LT_CONFIG($1)
+fi
+
+AC_LANG_RESTORE
+
+GCC=$lt_save_GCC
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_GO_CONFIG
+
+
+# _LT_LANG_RC_CONFIG([TAG])
+# -------------------------
+# Ensure that the configuration variables for the Windows resource compiler
+# are suitably defined. These variables are subsequently used by _LT_CONFIG
+# to write the compiler configuration to 'libtool'.
+m4_defun([_LT_LANG_RC_CONFIG],
+[AC_REQUIRE([LT_PROG_RC])dnl
+AC_LANG_SAVE
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+_LT_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code=$lt_simple_compile_test_code
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_TAG_COMPILER
+
+# save warnings/boilerplate of simple test code
+_LT_COMPILER_BOILERPLATE
+_LT_LINKER_BOILERPLATE
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_CFLAGS=$CFLAGS
+lt_save_GCC=$GCC
+GCC=
+CC=${RC-"windres"}
+CFLAGS=
+compiler=$CC
+_LT_TAGVAR(compiler, $1)=$CC
+_LT_CC_BASENAME([$compiler])
+_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+
+if test -n "$compiler"; then
+ :
+ _LT_CONFIG($1)
+fi
+
+GCC=$lt_save_GCC
+AC_LANG_RESTORE
+CC=$lt_save_CC
+CFLAGS=$lt_save_CFLAGS
+])# _LT_LANG_RC_CONFIG
+
+
+# LT_PROG_GCJ
+# -----------
+AC_DEFUN([LT_PROG_GCJ],
+[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
+ [AC_CHECK_TOOL(GCJ, gcj,)
+ test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)])])[]dnl
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
+
+
+# LT_PROG_GO
+# ----------
+AC_DEFUN([LT_PROG_GO],
+[AC_CHECK_TOOL(GOC, gccgo,)
+])
+
+
+# LT_PROG_RC
+# ----------
+AC_DEFUN([LT_PROG_RC],
+[AC_CHECK_TOOL(RC, windres,)
+])
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_RC], [])
+
+
+# _LT_DECL_EGREP
+# --------------
+# If we don't have a new enough Autoconf to choose the best grep
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_EGREP],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_REQUIRE([AC_PROG_FGREP])dnl
+test -z "$GREP" && GREP=grep
+_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
+_LT_DECL([], [EGREP], [1], [An ERE matcher])
+_LT_DECL([], [FGREP], [1], [A literal string matcher])
+dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
+AC_SUBST([GREP])
+])
+
+
+# _LT_DECL_OBJDUMP
+# --------------
+# If we don't have a new enough Autoconf to choose the best objdump
+# available, choose the one first in the user's PATH.
+m4_defun([_LT_DECL_OBJDUMP],
+[AC_CHECK_TOOL(OBJDUMP, objdump, false)
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
+AC_SUBST([OBJDUMP])
+])
+
+# _LT_DECL_DLLTOOL
+# ----------------
+# Ensure DLLTOOL variable is set.
+m4_defun([_LT_DECL_DLLTOOL],
+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
+AC_SUBST([DLLTOOL])
+])
+
+# _LT_DECL_SED
+# ------------
+# Check for a fully-functional sed program, that truncates
+# as few characters as possible. Prefer GNU sed if found.
+m4_defun([_LT_DECL_SED],
+[AC_PROG_SED
+test -z "$SED" && SED=sed
+Xsed="$SED -e 1s/^X//"
+_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
+_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
+ [Sed that helps us avoid accidentally triggering echo(1) options like -n])
+])# _LT_DECL_SED
+
+m4_ifndef([AC_PROG_SED], [
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_SED. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+
+m4_defun([AC_PROG_SED],
+[AC_MSG_CHECKING([for a sed that does not truncate output])
+AC_CACHE_VAL(lt_cv_path_SED,
+[# Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for lt_ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+IFS=$as_save_IFS
+lt_ac_max=0
+lt_ac_count=0
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+# along with /bin/sed that truncates output.
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+ test ! -f "$lt_ac_sed" && continue
+ cat /dev/null > conftest.in
+ lt_ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+ # Check for GNU sed and select it if it is found.
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+ lt_cv_path_SED=$lt_ac_sed
+ break
+ fi
+ while true; do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo >>conftest.nl
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+ cmp -s conftest.out conftest.nl || break
+ # 10000 chars as input seems more than enough
+ test 10 -lt "$lt_ac_count" && break
+ lt_ac_count=`expr $lt_ac_count + 1`
+ if test "$lt_ac_count" -gt "$lt_ac_max"; then
+ lt_ac_max=$lt_ac_count
+ lt_cv_path_SED=$lt_ac_sed
+ fi
+ done
+done
+])
+SED=$lt_cv_path_SED
+AC_SUBST([SED])
+AC_MSG_RESULT([$SED])
+])#AC_PROG_SED
+])#m4_ifndef
+
+# Old name:
+AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([LT_AC_PROG_SED], [])
+
+
+# _LT_CHECK_SHELL_FEATURES
+# ------------------------
+# Find out whether the shell is Bourne or XSI compatible,
+# or has some other useful features.
+m4_defun([_LT_CHECK_SHELL_FEATURES],
+[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ lt_unset=unset
+else
+ lt_unset=false
+fi
+_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
+
+# test EBCDIC or ASCII
+case `echo X|tr X '\101'` in
+ A) # ASCII based system
+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
+ lt_SP2NL='tr \040 \012'
+ lt_NL2SP='tr \015\012 \040\040'
+ ;;
+ *) # EBCDIC based system
+ lt_SP2NL='tr \100 \n'
+ lt_NL2SP='tr \r\n \100\100'
+ ;;
+esac
+_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
+_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
+])# _LT_CHECK_SHELL_FEATURES
+
+
+# _LT_PATH_CONVERSION_FUNCTIONS
+# -----------------------------
+# Determine what file name conversion functions should be used by
+# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
+# for certain cross-compile configurations and native mingw.
+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_MSG_CHECKING([how to convert $build file names to $host format])
+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
+[case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
+ ;;
+ esac
+ ;;
+ *-*-cygwin* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
+ ;;
+ *-*-cygwin* )
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+ * ) # otherwise, assume *nix
+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
+ ;;
+ esac
+ ;;
+ * ) # unhandled hosts (and "normal" native builds)
+ lt_cv_to_host_file_cmd=func_convert_file_noop
+ ;;
+esac
+])
+to_host_file_cmd=$lt_cv_to_host_file_cmd
+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
+ [0], [convert $build file names to $host format])dnl
+
+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
+[#assume ordinary cross tools, or native build.
+lt_cv_to_tool_file_cmd=func_convert_file_noop
+case $host in
+ *-*-mingw* )
+ case $build in
+ *-*-mingw* ) # actually msys
+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
+ ;;
+ esac
+ ;;
+esac
+])
+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
+ [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4
new file mode 100644
index 0000000..f51ec8c
--- /dev/null
+++ b/m4/ltoptions.m4
@@ -0,0 +1,437 @@
+# Helper functions for option handling. -*- Autoconf -*-
+#
+# Copyright (C) 2004-2005, 2007-2009, 2011-2014 Free Software
+# Foundation, Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 8 ltoptions.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
+
+
+# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
+# ------------------------------------------
+m4_define([_LT_MANGLE_OPTION],
+[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
+
+
+# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
+# ---------------------------------------
+# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
+# matching handler defined, dispatch to it. Other OPTION-NAMEs are
+# saved as a flag.
+m4_define([_LT_SET_OPTION],
+[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
+m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
+ _LT_MANGLE_DEFUN([$1], [$2]),
+ [m4_warning([Unknown $1 option '$2'])])[]dnl
+])
+
+
+# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
+# ------------------------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+m4_define([_LT_IF_OPTION],
+[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
+
+
+# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
+# -------------------------------------------------------
+# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
+# are set.
+m4_define([_LT_UNLESS_OPTIONS],
+[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
+ [m4_define([$0_found])])])[]dnl
+m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
+])[]dnl
+])
+
+
+# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
+# ----------------------------------------
+# OPTION-LIST is a space-separated list of Libtool options associated
+# with MACRO-NAME. If any OPTION has a matching handler declared with
+# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
+# the unknown option and exit.
+m4_defun([_LT_SET_OPTIONS],
+[# Set options
+m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
+ [_LT_SET_OPTION([$1], _LT_Option)])
+
+m4_if([$1],[LT_INIT],[
+ dnl
+ dnl Simply set some default values (i.e off) if boolean options were not
+ dnl specified:
+ _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
+ ])
+ _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
+ ])
+ dnl
+ dnl If no reference was made to various pairs of opposing options, then
+ dnl we run the default mode handler for the pair. For example, if neither
+ dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
+ dnl archives by default:
+ _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
+ _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
+ _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
+ [_LT_ENABLE_FAST_INSTALL])
+ _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
+ [_LT_WITH_AIX_SONAME([aix])])
+ ])
+])# _LT_SET_OPTIONS
+
+
+## --------------------------------- ##
+## Macros to handle LT_INIT options. ##
+## --------------------------------- ##
+
+# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
+# -----------------------------------------
+m4_define([_LT_MANGLE_DEFUN],
+[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
+
+
+# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
+# -----------------------------------------------
+m4_define([LT_OPTION_DEFINE],
+[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
+])# LT_OPTION_DEFINE
+
+
+# dlopen
+# ------
+LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
+])
+
+AU_DEFUN([AC_LIBTOOL_DLOPEN],
+[_LT_SET_OPTION([LT_INIT], [dlopen])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'dlopen' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
+
+
+# win32-dll
+# ---------
+# Declare package support for building win32 dll's.
+LT_OPTION_DEFINE([LT_INIT], [win32-dll],
+[enable_win32_dll=yes
+
+case $host in
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
+ AC_CHECK_TOOL(AS, as, false)
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
+ ;;
+esac
+
+test -z "$AS" && AS=as
+_LT_DECL([], [AS], [1], [Assembler program])dnl
+
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
+
+test -z "$OBJDUMP" && OBJDUMP=objdump
+_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
+])# win32-dll
+
+AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+_LT_SET_OPTION([LT_INIT], [win32-dll])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'win32-dll' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
+
+
+# _LT_ENABLE_SHARED([DEFAULT])
+# ----------------------------
+# implement the --enable-shared flag, and supports the 'shared' and
+# 'disable-shared' LT_INIT options.
+# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
+m4_define([_LT_ENABLE_SHARED],
+[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([shared],
+ [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+ [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
+
+ _LT_DECL([build_libtool_libs], [enable_shared], [0],
+ [Whether or not to build shared libraries])
+])# _LT_ENABLE_SHARED
+
+LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
+])
+
+AC_DEFUN([AC_DISABLE_SHARED],
+[_LT_SET_OPTION([LT_INIT], [disable-shared])
+])
+
+AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_SHARED], [])
+dnl AC_DEFUN([AM_DISABLE_SHARED], [])
+
+
+
+# _LT_ENABLE_STATIC([DEFAULT])
+# ----------------------------
+# implement the --enable-static flag, and support the 'static' and
+# 'disable-static' LT_INIT options.
+# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
+m4_define([_LT_ENABLE_STATIC],
+[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([static],
+ [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+ [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
+
+ _LT_DECL([build_old_libs], [enable_static], [0],
+ [Whether or not to build static libraries])
+])# _LT_ENABLE_STATIC
+
+LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
+
+# Old names:
+AC_DEFUN([AC_ENABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
+])
+
+AC_DEFUN([AC_DISABLE_STATIC],
+[_LT_SET_OPTION([LT_INIT], [disable-static])
+])
+
+AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AM_ENABLE_STATIC], [])
+dnl AC_DEFUN([AM_DISABLE_STATIC], [])
+
+
+
+# _LT_ENABLE_FAST_INSTALL([DEFAULT])
+# ----------------------------------
+# implement the --enable-fast-install flag, and support the 'fast-install'
+# and 'disable-fast-install' LT_INIT options.
+# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
+m4_define([_LT_ENABLE_FAST_INSTALL],
+[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
+AC_ARG_ENABLE([fast-install],
+ [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+ [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for pkg in $enableval; do
+ IFS=$lt_save_ifs
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
+
+_LT_DECL([fast_install], [enable_fast_install], [0],
+ [Whether or not to optimize for fast installation])dnl
+])# _LT_ENABLE_FAST_INSTALL
+
+LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
+LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
+
+# Old names:
+AU_DEFUN([AC_ENABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'fast-install' option into LT_INIT's first parameter.])
+])
+
+AU_DEFUN([AC_DISABLE_FAST_INSTALL],
+[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you put
+the 'disable-fast-install' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
+dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
+
+
+# _LT_WITH_AIX_SONAME([DEFAULT])
+# ----------------------------------
+# implement the --with-aix-soname flag, and support the `aix-soname=aix'
+# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
+# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
+m4_define([_LT_WITH_AIX_SONAME],
+[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
+shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[[5-9]]*,yes)
+ AC_MSG_CHECKING([which variant of shared library versioning to provide])
+ AC_ARG_WITH([aix-soname],
+ [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
+ [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
+ [case $withval in
+ aix|svr4|both)
+ ;;
+ *)
+ AC_MSG_ERROR([Unknown argument to --with-aix-soname])
+ ;;
+ esac
+ lt_cv_with_aix_soname=$with_aix_soname],
+ [AC_CACHE_VAL([lt_cv_with_aix_soname],
+ [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
+ with_aix_soname=$lt_cv_with_aix_soname])
+ AC_MSG_RESULT([$with_aix_soname])
+ if test aix != "$with_aix_soname"; then
+ # For the AIX way of multilib, we name the shared archive member
+ # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+ # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+ # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+ # the AIX toolchain works better with OBJECT_MODE set (default 32).
+ if test 64 = "${OBJECT_MODE-32}"; then
+ shared_archive_member_spec=shr_64
+ else
+ shared_archive_member_spec=shr
+ fi
+ fi
+ ;;
+*)
+ with_aix_soname=aix
+ ;;
+esac
+
+_LT_DECL([], [shared_archive_member_spec], [0],
+ [Shared archive member basename, for filename based shared library versioning on AIX])dnl
+])# _LT_WITH_AIX_SONAME
+
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
+
+
+# _LT_WITH_PIC([MODE])
+# --------------------
+# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
+# LT_INIT options.
+# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
+m4_define([_LT_WITH_PIC],
+[AC_ARG_WITH([pic],
+ [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+ [lt_p=${PACKAGE-default}
+ case $withval in
+ yes|no) pic_mode=$withval ;;
+ *)
+ pic_mode=default
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
+ for lt_pkg in $withval; do
+ IFS=$lt_save_ifs
+ if test "X$lt_pkg" = "X$lt_p"; then
+ pic_mode=yes
+ fi
+ done
+ IFS=$lt_save_ifs
+ ;;
+ esac],
+ [pic_mode=m4_default([$1], [default])])
+
+_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
+])# _LT_WITH_PIC
+
+LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
+LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
+
+# Old name:
+AU_DEFUN([AC_LIBTOOL_PICMODE],
+[_LT_SET_OPTION([LT_INIT], [pic-only])
+AC_DIAGNOSE([obsolete],
+[$0: Remove this warning and the call to _LT_SET_OPTION when you
+put the 'pic-only' option into LT_INIT's first parameter.])
+])
+
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
+
+## ----------------- ##
+## LTDL_INIT Options ##
+## ----------------- ##
+
+m4_define([_LTDL_MODE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
+ [m4_define([_LTDL_MODE], [nonrecursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [recursive],
+ [m4_define([_LTDL_MODE], [recursive])])
+LT_OPTION_DEFINE([LTDL_INIT], [subproject],
+ [m4_define([_LTDL_MODE], [subproject])])
+
+m4_define([_LTDL_TYPE], [])
+LT_OPTION_DEFINE([LTDL_INIT], [installable],
+ [m4_define([_LTDL_TYPE], [installable])])
+LT_OPTION_DEFINE([LTDL_INIT], [convenience],
+ [m4_define([_LTDL_TYPE], [convenience])])
diff --git a/m4/ltsugar.m4 b/m4/ltsugar.m4
new file mode 100644
index 0000000..da4ac6b
--- /dev/null
+++ b/m4/ltsugar.m4
@@ -0,0 +1,124 @@
+# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
+#
+# Copyright (C) 2004-2005, 2007-2008, 2011-2014 Free Software
+# Foundation, Inc.
+# Written by Gary V. Vaughan, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 6 ltsugar.m4
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
+
+
+# lt_join(SEP, ARG1, [ARG2...])
+# -----------------------------
+# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
+# associated separator.
+# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
+# versions in m4sugar had bugs.
+m4_define([lt_join],
+[m4_if([$#], [1], [],
+ [$#], [2], [[$2]],
+ [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
+m4_define([_lt_join],
+[m4_if([$#$2], [2], [],
+ [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
+
+
+# lt_car(LIST)
+# lt_cdr(LIST)
+# ------------
+# Manipulate m4 lists.
+# These macros are necessary as long as will still need to support
+# Autoconf-2.59, which quotes differently.
+m4_define([lt_car], [[$1]])
+m4_define([lt_cdr],
+[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
+ [$#], 1, [],
+ [m4_dquote(m4_shift($@))])])
+m4_define([lt_unquote], $1)
+
+
+# lt_append(MACRO-NAME, STRING, [SEPARATOR])
+# ------------------------------------------
+# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
+# Note that neither SEPARATOR nor STRING are expanded; they are appended
+# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
+# No SEPARATOR is output if MACRO-NAME was previously undefined (different
+# than defined and empty).
+#
+# This macro is needed until we can rely on Autoconf 2.62, since earlier
+# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
+m4_define([lt_append],
+[m4_define([$1],
+ m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
+
+
+
+# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
+# ----------------------------------------------------------
+# Produce a SEP delimited list of all paired combinations of elements of
+# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
+# has the form PREFIXmINFIXSUFFIXn.
+# Needed until we can rely on m4_combine added in Autoconf 2.62.
+m4_define([lt_combine],
+[m4_if(m4_eval([$# > 3]), [1],
+ [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
+[[m4_foreach([_Lt_prefix], [$2],
+ [m4_foreach([_Lt_suffix],
+ ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
+ [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
+
+
+# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
+# -----------------------------------------------------------------------
+# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
+# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
+m4_define([lt_if_append_uniq],
+[m4_ifdef([$1],
+ [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
+ [lt_append([$1], [$2], [$3])$4],
+ [$5])],
+ [lt_append([$1], [$2], [$3])$4])])
+
+
+# lt_dict_add(DICT, KEY, VALUE)
+# -----------------------------
+m4_define([lt_dict_add],
+[m4_define([$1($2)], [$3])])
+
+
+# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
+# --------------------------------------------
+m4_define([lt_dict_add_subkey],
+[m4_define([$1($2:$3)], [$4])])
+
+
+# lt_dict_fetch(DICT, KEY, [SUBKEY])
+# ----------------------------------
+m4_define([lt_dict_fetch],
+[m4_ifval([$3],
+ m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
+ m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
+
+
+# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
+# -----------------------------------------------------------------
+m4_define([lt_if_dict_fetch],
+[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
+ [$5],
+ [$6])])
+
+
+# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
+# --------------------------------------------------------------
+m4_define([lt_dict_filter],
+[m4_if([$5], [], [],
+ [lt_join(m4_quote(m4_default([$4], [[, ]])),
+ lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
+ [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
+])
diff --git a/m4/ltversion.m4 b/m4/ltversion.m4
new file mode 100644
index 0000000..cb6da68
--- /dev/null
+++ b/m4/ltversion.m4
@@ -0,0 +1,23 @@
+# ltversion.m4 -- version numbers -*- Autoconf -*-
+#
+# Copyright (C) 2004, 2011-2014 Free Software Foundation, Inc.
+# Written by Scott James Remnant, 2004
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# @configure_input@
+
+# serial 4151 ltversion.m4
+# This file is part of GNU Libtool
+
+m4_define([LT_PACKAGE_VERSION], [2.4.4])
+m4_define([LT_PACKAGE_REVISION], [2.4.4])
+
+AC_DEFUN([LTVERSION_VERSION],
+[macro_version='2.4.4'
+macro_revision='2.4.4'
+_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
+_LT_DECL(, macro_revision, 0)
+])
diff --git a/m4/lt~obsolete.m4 b/m4/lt~obsolete.m4
new file mode 100644
index 0000000..6975098
--- /dev/null
+++ b/m4/lt~obsolete.m4
@@ -0,0 +1,99 @@
+# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
+#
+# Copyright (C) 2004-2005, 2007, 2009, 2011-2014 Free Software
+# Foundation, Inc.
+# Written by Scott James Remnant, 2004.
+#
+# This file is free software; the Free Software Foundation gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+
+# serial 5 lt~obsolete.m4
+
+# These exist entirely to fool aclocal when bootstrapping libtool.
+#
+# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
+# which have later been changed to m4_define as they aren't part of the
+# exported API, or moved to Autoconf or Automake where they belong.
+#
+# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
+# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
+# using a macro with the same name in our local m4/libtool.m4 it'll
+# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
+# and doesn't know about Autoconf macros at all.)
+#
+# So we provide this file, which has a silly filename so it's always
+# included after everything else. This provides aclocal with the
+# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
+# because those macros already exist, or will be overwritten later.
+# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
+#
+# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
+# Yes, that means every name once taken will need to remain here until
+# we give up compatibility with versions before 1.7, at which point
+# we need to keep only those names which we still refer to.
+
+# This is to help aclocal find these macros, as it can't see m4_define.
+AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
+
+m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
+m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
+m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
+m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
+m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
+m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
+m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
+m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
+m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
+m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
+m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
+m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
+m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
+m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
+m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
+m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
+m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
+m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
+m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
+m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
+m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
+m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
+m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
+m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
+m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
+m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
+m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
+m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
+m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
+m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
+m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
+m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
+m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
+m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
+m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
+m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
+m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
+m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
+m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
+m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
+m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
+m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
+m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
+m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
+m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
+m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
+m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
+m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
+m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
+m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
+m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
+m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
+m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
+m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
diff --git a/missing b/missing
new file mode 100755
index 0000000..db98974
--- /dev/null
+++ b/missing
@@ -0,0 +1,215 @@
+#! /bin/sh
+# Common wrapper for a few potentially missing GNU programs.
+
+scriptversion=2013-10-28.13; # UTC
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard at iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+fi
+
+case $1 in
+
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
+
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+
+Supported PROGRAM values:
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
+
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
+
+Send bug reports to <bug-automake at gnu.org>."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# Run the given program, remember its exit status.
+"$@"; st=$?
+
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
+
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
+
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'autom4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
+ ;;
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/plugin.dia b/plugin.dia
new file mode 100644
index 0000000..e69de29
diff --git a/po/Makefile b/po/Makefile
new file mode 100644
index 0000000..b937a67
--- /dev/null
+++ b/po/Makefile
@@ -0,0 +1,453 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# po/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = po
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/po
+abs_srcdir = /usr/src/ags-devel/po
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../
+top_builddir = ..
+top_srcdir = ..
+tlns =
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu po/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu po/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/po/Makefile.am b/po/Makefile.am
new file mode 100644
index 0000000..3d1645f
--- /dev/null
+++ b/po/Makefile.am
@@ -0,0 +1 @@
+tlns =
diff --git a/po/Makefile.in b/po/Makefile.in
new file mode 100644
index 0000000..ac88ad3
--- /dev/null
+++ b/po/Makefile.in
@@ -0,0 +1,453 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = po
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+tlns =
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu po/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu po/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/portlet.dia b/portlet.dia
new file mode 100644
index 0000000..e69de29
diff --git a/recall b/recall
new file mode 100644
index 0000000..e69de29
diff --git a/recursive b/recursive
new file mode 100644
index 0000000..e69de29
diff --git a/run.dia b/run.dia
new file mode 100644
index 0000000..e69de29
diff --git a/src/ags-client/X/ags_client_log.c b/src/ags-client/X/ags_client_log.c
new file mode 100644
index 0000000..03b8d34
--- /dev/null
+++ b/src/ags-client/X/ags_client_log.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/X/ags_client_log.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_client_log_class_init(AgsClientLogClass *client_log);
+void ags_client_log_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_client_log_init(AgsClientLog *client_log);
+void ags_client_log_connect(AgsConnectable *connectable);
+void ags_client_log_disconnect(AgsConnectable *connectable);
+void ags_client_log_finalize(GObject *gobject);
+
+static gpointer ags_client_log_parent_class = NULL;
+
+GType
+ags_client_log_get_type()
+{
+ static GType ags_type_client_log = 0;
+
+ if(!ags_type_client_log){
+ static const GTypeInfo ags_client_log_info = {
+ sizeof (AgsClientLogClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_client_log_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsClientLog),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_client_log_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_client_log_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_client_log = g_type_register_static(GTK_TYPE_TEXT_VIEW,
+ "AgsClientLog\0",
+ &ags_client_log_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_client_log,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_client_log);
+}
+
+void
+ags_client_log_class_init(AgsClientLogClass *client_log)
+{
+ GObjectClass *gobject;
+
+ ags_client_log_parent_class = g_type_class_peek_parent(client_log);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) client_log;
+
+ gobject->finalize = ags_client_log_finalize;
+}
+
+void
+ags_client_log_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_client_log_connect;
+ connectable->disconnect = ags_client_log_disconnect;
+}
+
+void
+ags_client_log_init(AgsClientLog *client_log)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_client_log_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_log_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_log_finalize(GObject *gobject)
+{
+ AgsClientLog *client_log;
+
+ client_log = AGS_CLIENT_LOG(gobject);
+
+ G_OBJECT_CLASS(ags_client_log_parent_class)->finalize(gobject);
+}
+
+AgsClientLog*
+ags_client_log_new()
+{
+ AgsClientLog *client_log;
+
+ client_log = (AgsClientLog *) g_object_new(AGS_TYPE_CLIENT_LOG,
+ NULL);
+
+ return(client_log);
+}
diff --git a/src/ags-client/X/ags_client_log.h b/src/ags-client/X/ags_client_log.h
new file mode 100644
index 0000000..4c73ccd
--- /dev/null
+++ b/src/ags-client/X/ags_client_log.h
@@ -0,0 +1,49 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLIENT_LOG_H__
+#define __AGS_CLIENT_LOG_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_CLIENT_LOG (ags_client_log_get_type())
+#define AGS_CLIENT_LOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLIENT_LOG, AgsClientLog))
+#define AGS_CLIENT_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_CLIENT_LOG, AgsClientLogClass))
+#define AGS_IS_CLIENT_LOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLIENT_LOG))
+#define AGS_IS_CLIENT_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLIENT_LOG))
+#define AGS_CLIENT_LOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_CLIENT_LOG, AgsClientLogClass))
+
+typedef struct _AgsClientLog AgsClientLog;
+typedef struct _AgsClientLogClass AgsClientLogClass;
+
+struct _AgsClientLog
+{
+ GtkTextView text_view;
+};
+
+struct _AgsClientLogClass
+{
+ GtkTextViewClass text_view;
+};
+
+GType ags_client_log_get_type();
+
+AgsClientLog* ags_client_log_new();
+
+#endif /*__AGS_CLIENT_LOG_H__*/
diff --git a/src/ags-client/X/ags_client_menu_bar.c b/src/ags-client/X/ags_client_menu_bar.c
new file mode 100644
index 0000000..bbc6487
--- /dev/null
+++ b/src/ags-client/X/ags_client_menu_bar.c
@@ -0,0 +1,238 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/X/ags_client_menu_bar.h>
+#include <ags-client/X/ags_client_menu_bar_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_client_menu_bar_class_init(AgsClientMenuBarClass *client_menu_bar);
+void ags_client_menu_bar_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_client_menu_bar_init(AgsClientMenuBar *client_menu_bar);
+void ags_client_menu_bar_connect(AgsConnectable *connectable);
+void ags_client_menu_bar_disconnect(AgsConnectable *connectable);
+void ags_client_menu_bar_finalize(GObject *gobject);
+
+static gpointer ags_client_menu_bar_parent_class = NULL;
+
+GType
+ags_client_menu_bar_get_type()
+{
+ static GType ags_type_client_menu_bar = 0;
+
+ if(!ags_type_client_menu_bar){
+ static const GTypeInfo ags_client_menu_bar_info = {
+ sizeof (AgsClientMenuBarClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_client_menu_bar_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsClientMenuBar),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_client_menu_bar_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_client_menu_bar_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_client_menu_bar = g_type_register_static(GTK_TYPE_MENU_BAR,
+ "AgsClientMenuBar\0",
+ &ags_client_menu_bar_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_client_menu_bar,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_client_menu_bar);
+}
+
+void
+ags_client_menu_bar_class_init(AgsClientMenuBarClass *client_menu_bar)
+{
+ GObjectClass *gobject;
+
+ ags_client_menu_bar_parent_class = g_type_class_peek_parent(client_menu_bar);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) client_menu_bar;
+
+ gobject->finalize = ags_client_menu_bar_finalize;
+}
+
+void
+ags_client_menu_bar_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_client_menu_bar_connect;
+ connectable->disconnect = ags_client_menu_bar_disconnect;
+}
+
+void
+ags_client_menu_bar_init(AgsClientMenuBar *client_menu_bar)
+{
+ GtkMenu *menu;
+ GtkMenuItem *menu_item;
+
+ /* file menu */
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_FILE,
+ NULL);
+ gtk_menu_bar_append(GTK_MENU_BAR(client_menu_bar),
+ GTK_WIDGET(menu_item));
+
+ menu =
+ client_menu_bar->file = (GtkMenu *) gtk_menu_new();
+ gtk_menu_item_set_submenu(menu_item,
+ GTK_WIDGET(menu));
+
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_OPEN,
+ NULL);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(menu_item));
+
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE,
+ NULL);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(menu_item));
+
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE_AS,
+ NULL);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(menu_item));
+
+ gtk_menu_shell_append((GtkMenuShell*) menu,
+ (GtkWidget*) gtk_separator_menu_item_new());
+
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT,
+ NULL);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(menu_item));
+
+ /* network */
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_NETWORK,
+ NULL);
+ gtk_menu_bar_append(GTK_MENU_BAR(client_menu_bar),
+ GTK_WIDGET(menu_item));
+
+ menu =
+ client_menu_bar->network = (GtkMenu *) gtk_menu_new();
+ gtk_menu_item_set_submenu(menu_item,
+ GTK_WIDGET(menu));
+
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_CONNECT,
+ NULL);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(menu_item));
+
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_EXECUTE,
+ NULL);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(menu_item));
+
+ /* help */
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_HELP,
+ NULL);
+ gtk_menu_bar_append(GTK_MENU_BAR(client_menu_bar),
+ GTK_WIDGET(menu_item));
+
+ menu =
+ client_menu_bar->help = (GtkMenu *) gtk_menu_new();
+ gtk_menu_item_set_submenu(menu_item,
+ GTK_WIDGET(menu));
+
+ menu_item = (GtkMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT,
+ NULL);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(menu_item));
+}
+
+void
+ags_client_menu_bar_connect(AgsConnectable *connectable)
+{
+ AgsClientMenuBar *client_menu_bar;
+ GList *list;
+
+ client_menu_bar = AGS_CLIENT_MENU_BAR(connectable);
+
+ /* file */
+ list = gtk_container_get_children(GTK_CONTAINER(client_menu_bar->file));
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_client_menu_bar_open_callback), (gpointer) client_menu_bar);
+ list = list->next;
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_client_menu_bar_save_callback), (gpointer) client_menu_bar);
+ list = list->next;
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_client_menu_bar_save_as_callback), (gpointer) client_menu_bar);
+ list = list->next->next;
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_client_menu_bar_quit_callback), (gpointer) client_menu_bar);
+
+ /* file */
+ list = gtk_container_get_children(GTK_CONTAINER(client_menu_bar->network));
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_client_menu_bar_connect_callback), (gpointer) client_menu_bar);
+ list = list->next;
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_client_menu_bar_execute_callback), (gpointer) client_menu_bar);
+ list = list->next;
+
+ /* help */
+ list = gtk_container_get_children(GTK_CONTAINER(client_menu_bar->help));
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_client_menu_bar_about_callback), (gpointer) client_menu_bar);
+ list = list->next;
+}
+
+void
+ags_client_menu_bar_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_menu_bar_finalize(GObject *gobject)
+{
+ AgsClientMenuBar *client_menu_bar;
+
+ client_menu_bar = AGS_CLIENT_MENU_BAR(gobject);
+
+ G_OBJECT_CLASS(ags_client_menu_bar_parent_class)->finalize(gobject);
+}
+
+AgsClientMenuBar*
+ags_client_menu_bar_new()
+{
+ AgsClientMenuBar *client_menu_bar;
+
+ client_menu_bar = (AgsClientMenuBar *) g_object_new(AGS_TYPE_CLIENT_MENU_BAR,
+ NULL);
+
+ return(client_menu_bar);
+}
diff --git a/src/ags-client/X/ags_client_menu_bar.h b/src/ags-client/X/ags_client_menu_bar.h
new file mode 100644
index 0000000..f9baf61
--- /dev/null
+++ b/src/ags-client/X/ags_client_menu_bar.h
@@ -0,0 +1,53 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLIENT_MENU_BAR_H__
+#define __AGS_CLIENT_MENU_BAR_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_CLIENT_MENU_BAR (ags_client_menu_bar_get_type())
+#define AGS_CLIENT_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLIENT_MENU_BAR, AgsClientMenuBar))
+#define AGS_CLIENT_MENU_BAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_CLIENT_MENU_BAR, AgsClientMenuBarClass))
+#define AGS_IS_CLIENT_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLIENT_MENU_BAR))
+#define AGS_IS_CLIENT_MENU_BAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLIENT_MENU_BAR))
+#define AGS_CLIENT_MENU_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_CLIENT_MENU_BAR, AgsClientMenuBarClass))
+
+typedef struct _AgsClientMenuBar AgsClientMenuBar;
+typedef struct _AgsClientMenuBarClass AgsClientMenuBarClass;
+
+struct _AgsClientMenuBar
+{
+ GtkMenuBar menu_bar;
+
+ GtkMenu *file;
+ GtkMenu *network;
+ GtkMenu *help;
+};
+
+struct _AgsClientMenuBarClass
+{
+ GtkMenuBarClass menu_bar;
+};
+
+GType ags_client_menu_bar_get_type();
+
+AgsClientMenuBar* ags_client_menu_bar_new();
+
+#endif /*__AGS_CLIENT_MENU_BAR_H__*/
diff --git a/src/ags-client/X/ags_client_menu_bar_callbacks.c b/src/ags-client/X/ags_client_menu_bar_callbacks.c
new file mode 100644
index 0000000..a6bb8ac
--- /dev/null
+++ b/src/ags-client/X/ags_client_menu_bar_callbacks.c
@@ -0,0 +1,151 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/X/ags_client_menu_bar_callbacks.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <sys/stat.h>
+
+#include <ags-client/scripting/ags_script.h>
+
+#include <ags-client/X/ags_client_window.h>
+
+void ags_client_menu_bar_open_ok_callback(GtkWidget *widget, AgsClientMenuBar *client_menu_bar);
+void ags_client_menu_bar_open_cancel_callback(GtkWidget *widget, AgsClientMenuBar *client_menu_bar);
+
+void
+ags_client_menu_bar_open_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar)
+{
+ GtkFileSelection *file_selection;
+
+ file_selection = (GtkFileSelection *) gtk_file_selection_new(g_strdup("open file\0"));
+ gtk_file_selection_set_select_multiple(file_selection, FALSE);
+
+ gtk_widget_show_all((GtkWidget *) file_selection);
+
+ g_signal_connect((GObject *) file_selection->ok_button, "clicked\0",
+ G_CALLBACK(ags_client_menu_bar_open_ok_callback), client_menu_bar);
+ g_signal_connect((GObject *) file_selection->cancel_button, "clicked\0",
+ G_CALLBACK(ags_client_menu_bar_open_cancel_callback), client_menu_bar);
+}
+
+void
+ags_client_menu_bar_open_ok_callback(GtkWidget *widget, AgsClientMenuBar *client_menu_bar)
+{
+ GtkFileSelection *file_selection;
+ AgsScript *script;
+
+ file_selection = (GtkFileSelection *) gtk_widget_get_ancestor(widget, GTK_TYPE_DIALOG);
+
+ //TODO:JK: implement me
+
+
+ gtk_widget_destroy((GtkWidget *) file_selection);
+}
+
+void
+ags_client_menu_bar_open_cancel_callback(GtkWidget *widget, AgsClientMenuBar *client_menu_bar)
+{
+ GtkFileSelection *file_selection;
+
+ file_selection = (GtkFileSelection *) gtk_widget_get_ancestor(widget, GTK_TYPE_DIALOG);
+ gtk_widget_destroy((GtkWidget *) file_selection);
+}
+
+void
+ags_client_menu_bar_save_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar)
+{
+}
+
+void
+ags_client_menu_bar_save_as_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar)
+{
+}
+
+void
+ags_client_menu_bar_quit_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar)
+{
+ AgsClientWindow *client_window;
+ GtkDialog *dialog;
+ GtkWidget *cancel_button;
+ gint response;
+
+ client_window = (AgsClientWindow *) gtk_widget_get_toplevel((GtkWidget *) client_menu_bar);
+
+ /* ask the user if he wants save to a file */
+ dialog = (GtkDialog *) gtk_message_dialog_new(GTK_WINDOW(client_window),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_QUESTION,
+ GTK_BUTTONS_YES_NO,
+ "Do you want to save '%s'?\0", client_window->name);
+ cancel_button = gtk_dialog_add_button(dialog,
+ GTK_STOCK_CANCEL,
+ GTK_RESPONSE_CANCEL);
+ gtk_widget_grab_focus(cancel_button);
+
+ response = gtk_dialog_run(dialog);
+
+ if(response == GTK_RESPONSE_YES){
+ AgsScript *script;
+
+ //TODO:JK: implement me
+ }
+
+ if(response != GTK_RESPONSE_CANCEL){
+ gtk_main_quit();
+ }else{
+ gtk_widget_destroy(GTK_WIDGET(dialog));
+ }
+}
+
+void
+ags_client_menu_bar_connect_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar)
+{
+}
+
+void
+ags_client_menu_bar_execute_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar)
+{
+}
+
+void
+ags_client_menu_bar_about_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar)
+{
+ static FILE *file = NULL;
+ struct stat sb;
+ static gchar *license;
+
+ gchar *authors[] = { "joel kraehemann\0", NULL };
+
+ if(file == NULL){
+ file = fopen("./COPYING\0", "r\0");
+ stat("./COPYING\0", &sb);
+ license = (gchar *) malloc((sb.st_size + 1) * sizeof(gchar));
+ fread(license, sizeof(char), sb.st_size, file);
+ license[sb.st_size] = '\0';
+ fclose(file);
+ }
+
+ gtk_show_about_dialog((GtkWindow *) gtk_widget_get_ancestor((GtkWidget *) client_menu_bar, GTK_TYPE_WINDOW),
+ "program-name\0", "agsclient\0",
+ "authors\0", authors,
+ "license\0", license,
+ "title\0", "ags\0",
+ NULL);
+}
diff --git a/src/ags-client/X/ags_client_menu_bar_callbacks.h b/src/ags-client/X/ags_client_menu_bar_callbacks.h
new file mode 100644
index 0000000..69f4fda
--- /dev/null
+++ b/src/ags-client/X/ags_client_menu_bar_callbacks.h
@@ -0,0 +1,37 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLIENT_MENU_BAR_CALLBACKS_H__
+#define __AGS_CLIENT_MENU_BAR_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags-client/X/ags_client_menu_bar.h>
+
+void ags_client_menu_bar_open_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar);
+void ags_client_menu_bar_save_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar);
+void ags_client_menu_bar_save_as_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar);
+void ags_client_menu_bar_quit_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar);
+
+void ags_client_menu_bar_connect_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar);
+void ags_client_menu_bar_execute_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar);
+
+void ags_client_menu_bar_about_callback(GtkWidget *menu_item, AgsClientMenuBar *client_menu_bar);
+
+#endif /*__AGS_CLIENT_MENU_BAR_CALLBACKS_H__*/
diff --git a/src/ags-client/X/ags_client_toolbar.c b/src/ags-client/X/ags_client_toolbar.c
new file mode 100644
index 0000000..63731d5
--- /dev/null
+++ b/src/ags-client/X/ags_client_toolbar.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/X/ags_client_toolbar.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_client_toolbar_class_init(AgsClientToolbarClass *client_toolbar);
+void ags_client_toolbar_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_client_toolbar_init(AgsClientToolbar *client_toolbar);
+void ags_client_toolbar_connect(AgsConnectable *connectable);
+void ags_client_toolbar_disconnect(AgsConnectable *connectable);
+void ags_client_toolbar_finalize(GObject *gobject);
+
+static gpointer ags_client_toolbar_parent_class = NULL;
+
+GType
+ags_client_toolbar_get_type()
+{
+ static GType ags_type_client_toolbar = 0;
+
+ if(!ags_type_client_toolbar){
+ static const GTypeInfo ags_client_toolbar_info = {
+ sizeof (AgsClientToolbarClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_client_toolbar_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsClientToolbar),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_client_toolbar_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_client_toolbar_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_client_toolbar = g_type_register_static(GTK_TYPE_TOOLBAR,
+ "AgsClientToolbar\0",
+ &ags_client_toolbar_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_client_toolbar,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_client_toolbar);
+}
+
+void
+ags_client_toolbar_class_init(AgsClientToolbarClass *client_toolbar)
+{
+ GObjectClass *gobject;
+
+ ags_client_toolbar_parent_class = g_type_class_peek_parent(client_toolbar);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) client_toolbar;
+
+ gobject->finalize = ags_client_toolbar_finalize;
+}
+
+void
+ags_client_toolbar_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_client_toolbar_connect;
+ connectable->disconnect = ags_client_toolbar_disconnect;
+}
+
+void
+ags_client_toolbar_init(AgsClientToolbar *client_toolbar)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_client_toolbar_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_toolbar_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_toolbar_finalize(GObject *gobject)
+{
+ AgsClientToolbar *client_toolbar;
+
+ client_toolbar = AGS_CLIENT_TOOLBAR(gobject);
+
+ G_OBJECT_CLASS(ags_client_toolbar_parent_class)->finalize(gobject);
+}
+
+AgsClientToolbar*
+ags_client_toolbar_new()
+{
+ AgsClientToolbar *client_toolbar;
+
+ client_toolbar = (AgsClientToolbar *) g_object_new(AGS_TYPE_CLIENT_TOOLBAR,
+ NULL);
+
+ return(client_toolbar);
+}
diff --git a/src/ags-client/X/ags_client_toolbar.h b/src/ags-client/X/ags_client_toolbar.h
new file mode 100644
index 0000000..0896318
--- /dev/null
+++ b/src/ags-client/X/ags_client_toolbar.h
@@ -0,0 +1,50 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLIENT_TOOLBAR_H__
+#define __AGS_CLIENT_TOOLBAR_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_CLIENT_TOOLBAR (ags_client_toolbar_get_type())
+#define AGS_CLIENT_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLIENT_TOOLBAR, AgsClientToolbar))
+#define AGS_CLIENT_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_CLIENT_TOOLBAR, AgsClientToolbarClass))
+#define AGS_IS_CLIENT_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLIENT_TOOLBAR))
+#define AGS_IS_CLIENT_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLIENT_TOOLBAR))
+#define AGS_CLIENT_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_CLIENT_TOOLBAR, AgsClientToolbarClass))
+
+typedef struct _AgsClientToolbar AgsClientToolbar;
+typedef struct _AgsClientToolbarClass AgsClientToolbarClass;
+
+struct _AgsClientToolbar
+{
+ GtkToolbar toolbar;
+};
+
+struct _AgsClientToolbarClass
+{
+ GtkToolbarClass toolbar;
+};
+
+GType ags_client_toolbar_get_type();
+
+AgsClientToolbar* ags_client_toolbar_new();
+
+#endif /*__AGS_CLIENT_TOOLBAR_H__*/
+
diff --git a/src/ags-client/X/ags_client_window.c b/src/ags-client/X/ags_client_window.c
new file mode 100644
index 0000000..cbd804c
--- /dev/null
+++ b/src/ags-client/X/ags_client_window.c
@@ -0,0 +1,169 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/X/ags_client_window.h>
+#include <ags-client/X/ags_client_window_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_client_window_class_init(AgsClientWindowClass *client_window);
+void ags_client_window_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_client_window_init(AgsClientWindow *client_window);
+void ags_client_window_connect(AgsConnectable *connectable);
+void ags_client_window_disconnect(AgsConnectable *connectable);
+void ags_client_window_finalize(GObject *gobject);
+
+static gpointer ags_client_window_parent_class = NULL;
+
+GType
+ags_client_window_get_type()
+{
+ static GType ags_type_client_window = 0;
+
+ if(!ags_type_client_window){
+ static const GTypeInfo ags_client_window_info = {
+ sizeof (AgsClientWindowClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_client_window_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsClientWindow),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_client_window_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_client_window_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_client_window = g_type_register_static(GTK_TYPE_WINDOW,
+ "AgsClientWindow\0",
+ &ags_client_window_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_client_window,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_client_window);
+}
+
+void
+ags_client_window_class_init(AgsClientWindowClass *client_window)
+{
+ GObjectClass *gobject;
+
+ ags_client_window_parent_class = g_type_class_peek_parent(client_window);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) client_window;
+
+ gobject->finalize = ags_client_window_finalize;
+}
+
+void
+ags_client_window_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_client_window_connect;
+ connectable->disconnect = ags_client_window_disconnect;
+}
+
+void
+ags_client_window_init(AgsClientWindow *client_window)
+{
+ GtkVBox *vbox;
+ GtkVPaned *vpaned;
+
+ client_window->name = g_strdup("unnamed\0");
+
+ /* widgets */
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(client_window),
+ GTK_WIDGET(vbox));
+
+ client_window->menu_bar = ags_client_menu_bar_new();
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(client_window->menu_bar),
+ FALSE, FALSE,
+ 0);
+
+ client_window->toolbar = ags_client_toolbar_new();
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(client_window->toolbar),
+ FALSE, FALSE,
+ 0);
+
+ vpaned = (GtkVPaned *) gtk_vpaned_new();
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(vpaned),
+ TRUE, TRUE,
+ 0);
+
+ client_window->script_editor = ags_script_editor_new();
+ gtk_paned_add1(GTK_PANED(vpaned),
+ GTK_WIDGET(client_window->script_editor));
+
+ client_window->log = ags_client_log_new();
+ gtk_paned_add2(GTK_PANED(vpaned),
+ GTK_WIDGET(client_window->log));
+}
+
+void
+ags_client_window_connect(AgsConnectable *connectable)
+{
+ AgsClientWindow *client_window;
+
+ client_window = AGS_CLIENT_WINDOW(connectable);
+
+ g_signal_connect(G_OBJECT(client_window), "delete_event\0",
+ G_CALLBACK(ags_client_window_delete_event_callback), NULL);
+
+ /* */
+ ags_connectable_connect(AGS_CONNECTABLE(client_window->menu_bar));
+}
+
+void
+ags_client_window_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_window_finalize(GObject *gobject)
+{
+ AgsClientWindow *client_window;
+
+ client_window = AGS_CLIENT_WINDOW(gobject);
+
+ G_OBJECT_CLASS(ags_client_window_parent_class)->finalize(gobject);
+}
+
+AgsClientWindow*
+ags_client_window_new()
+{
+ AgsClientWindow *client_window;
+
+ client_window = (AgsClientWindow *) g_object_new(AGS_TYPE_CLIENT_WINDOW,
+ NULL);
+
+ return(client_window);
+}
diff --git a/src/ags-client/X/ags_client_window.h b/src/ags-client/X/ags_client_window.h
new file mode 100644
index 0000000..4ec6c66
--- /dev/null
+++ b/src/ags-client/X/ags_client_window.h
@@ -0,0 +1,61 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_EDITOR_H__
+#define __AGS_CLIENT_WINDOW_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags-client/X/ags_client_menu_bar.h>
+#include <ags-client/X/ags_client_toolbar.h>
+#include <ags-client/X/ags_script_editor.h>
+#include <ags-client/X/ags_client_log.h>
+
+#define AGS_TYPE_CLIENT_WINDOW (ags_client_window_get_type())
+#define AGS_CLIENT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLIENT_WINDOW, AgsClientWindow))
+#define AGS_CLIENT_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_CLIENT_WINDOW, AgsClientWindowClass))
+#define AGS_IS_CLIENT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLIENT_WINDOW))
+#define AGS_IS_CLIENT_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLIENT_WINDOW))
+#define AGS_CLIENT_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_CLIENT_WINDOW, AgsClientWindowClass))
+
+typedef struct _AgsClientWindow AgsClientWindow;
+typedef struct _AgsClientWindowClass AgsClientWindowClass;
+
+struct _AgsClientWindow
+{
+ GtkWindow window;
+
+ gchar *name;
+
+ AgsClientMenuBar *menu_bar;
+ AgsScriptEditor *script_editor;
+ AgsClientToolbar *toolbar;
+ AgsClientLog *log;
+};
+
+struct _AgsClientWindowClass
+{
+ GtkWindowClass window;
+};
+
+GType ags_client_window_get_type();
+
+AgsClientWindow* ags_client_window_new();
+
+#endif /*__AGS_CLIENT_WINDOW_H__*/
diff --git a/src/ags-client/X/ags_client_window_callbacks.c b/src/ags-client/X/ags_client_window_callbacks.c
new file mode 100644
index 0000000..95cd2ee
--- /dev/null
+++ b/src/ags-client/X/ags_client_window_callbacks.c
@@ -0,0 +1,57 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/X/ags_client_window_callbacks.h>
+
+gboolean ags_client_window_delete_event_callback(GtkWidget *widget,
+ gpointer data)
+{
+
+ AgsClientWindow *client_window;
+ GtkDialog *dialog;
+ GtkWidget *cancel_button;
+ gint response;
+
+ client_window = AGS_CLIENT_WINDOW(widget);
+
+ /* ask the user if he wants save to a file */
+ dialog = (GtkDialog *) gtk_message_dialog_new(GTK_WINDOW(client_window),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_QUESTION,
+ GTK_BUTTONS_YES_NO,
+ "Do you want to save '%s'?\0", client_window->name);
+ cancel_button = gtk_dialog_add_button(dialog,
+ GTK_STOCK_CANCEL,
+ GTK_RESPONSE_CANCEL);
+ gtk_widget_grab_focus(cancel_button);
+
+ response = gtk_dialog_run(dialog);
+
+ if(response == GTK_RESPONSE_YES){
+ //TODO:JK: implement me
+ }
+
+ if(response != GTK_RESPONSE_CANCEL){
+ gtk_main_quit();
+ }else{
+ gtk_widget_destroy(GTK_WIDGET(dialog));
+ }
+
+ return(TRUE);
+
+}
diff --git a/src/ags-client/X/ags_client_window_callbacks.h b/src/ags-client/X/ags_client_window_callbacks.h
new file mode 100644
index 0000000..d0df1ca
--- /dev/null
+++ b/src/ags-client/X/ags_client_window_callbacks.h
@@ -0,0 +1,30 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLIENT_WINDOW_CALLBACKS_H__
+#define __AGS_CLIENT_WINDOW_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags-client/X/ags_client_window.h>
+
+gboolean ags_client_window_delete_event_callback(GtkWidget *widget,
+ gpointer data);
+
+#endif /*__AGS_CLIENT_WINDOW_CALLBACKS_H__*/
diff --git a/src/ags-client/X/ags_script_editor.c b/src/ags-client/X/ags_script_editor.c
new file mode 100644
index 0000000..371ee16
--- /dev/null
+++ b/src/ags-client/X/ags_script_editor.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/X/ags_script_editor.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_editor_class_init(AgsScriptEditorClass *script_editor);
+void ags_script_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_editor_init(AgsScriptEditor *script_editor);
+void ags_script_editor_connect(AgsConnectable *connectable);
+void ags_script_editor_disconnect(AgsConnectable *connectable);
+void ags_script_editor_finalize(GObject *gobject);
+
+static gpointer ags_script_editor_parent_class = NULL;
+
+GType
+ags_script_editor_get_type()
+{
+ static GType ags_type_script_editor = 0;
+
+ if(!ags_type_script_editor){
+ static const GTypeInfo ags_script_editor_info = {
+ sizeof (AgsScriptEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_editor = g_type_register_static(GTK_TYPE_TEXT_VIEW,
+ "AgsScriptEditor\0",
+ &ags_script_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_editor);
+}
+
+void
+ags_script_editor_class_init(AgsScriptEditorClass *script_editor)
+{
+ GObjectClass *gobject;
+
+ ags_script_editor_parent_class = g_type_class_peek_parent(script_editor);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_editor;
+
+ gobject->finalize = ags_script_editor_finalize;
+}
+
+void
+ags_script_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_editor_connect;
+ connectable->disconnect = ags_script_editor_disconnect;
+}
+
+void
+ags_script_editor_init(AgsScriptEditor *script_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_editor_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_editor_finalize(GObject *gobject)
+{
+ AgsScriptEditor *script_editor;
+
+ script_editor = AGS_SCRIPT_EDITOR(gobject);
+
+ G_OBJECT_CLASS(ags_script_editor_parent_class)->finalize(gobject);
+}
+
+AgsScriptEditor*
+ags_script_editor_new()
+{
+ AgsScriptEditor *script_editor;
+
+ script_editor = (AgsScriptEditor *) g_object_new(AGS_TYPE_SCRIPT_EDITOR,
+ NULL);
+
+ return(script_editor);
+}
diff --git a/src/ags-client/X/ags_script_editor.h b/src/ags-client/X/ags_script_editor.h
new file mode 100644
index 0000000..9e65f52
--- /dev/null
+++ b/src/ags-client/X/ags_script_editor.h
@@ -0,0 +1,49 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_EDITOR_H__
+#define __AGS_SCRIPT_EDITOR_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_SCRIPT_EDITOR (ags_script_editor_get_type())
+#define AGS_SCRIPT_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_EDITOR, AgsScriptEditor))
+#define AGS_SCRIPT_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_EDITOR, AgsScriptEditorClass))
+#define AGS_IS_SCRIPT_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_EDITOR))
+#define AGS_IS_SCRIPT_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_EDITOR))
+#define AGS_SCRIPT_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_EDITOR, AgsScriptEditorClass))
+
+typedef struct _AgsScriptEditor AgsScriptEditor;
+typedef struct _AgsScriptEditorClass AgsScriptEditorClass;
+
+struct _AgsScriptEditor
+{
+ GtkTextView text_view;
+};
+
+struct _AgsScriptEditorClass
+{
+ GtkTextViewClass text_view;
+};
+
+GType ags_script_editor_get_type();
+
+AgsScriptEditor* ags_script_editor_new();
+
+#endif /*__AGS_SCRIPT_EDITOR_H__*/
diff --git a/src/ags-client/client/ags_client.c b/src/ags-client/client/ags_client.c
new file mode 100644
index 0000000..35f764d
--- /dev/null
+++ b/src/ags-client/client/ags_client.c
@@ -0,0 +1,127 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/client/ags_client.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_client_class_init(AgsClientClass *client);
+void ags_client_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_client_init(AgsClient *client);
+void ags_client_connect(AgsConnectable *connectable);
+void ags_client_disconnect(AgsConnectable *connectable);
+void ags_client_finalize(GObject *gobject);
+
+static gpointer ags_client_parent_class = NULL;
+
+GType
+ags_client_get_type()
+{
+ static GType ags_type_client = 0;
+
+ if(!ags_type_client){
+ static const GTypeInfo ags_client_info = {
+ sizeof (AgsClientClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_client_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsClient),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_client_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_client_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_client = g_type_register_static(G_TYPE_OBJECT,
+ "AgsClient\0",
+ &ags_client_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_client,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_client);
+}
+
+void
+ags_client_class_init(AgsClientClass *client)
+{
+ GObjectClass *gobject;
+
+ ags_client_parent_class = g_type_class_peek_parent(client);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) client;
+
+ gobject->finalize = ags_client_finalize;
+}
+
+void
+ags_client_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_client_connect;
+ connectable->disconnect = ags_client_disconnect;
+}
+
+void
+ags_client_init(AgsClient *client)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_client_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_client_finalize(GObject *gobject)
+{
+ AgsClient *client;
+
+ client = AGS_CLIENT(gobject);
+
+ G_OBJECT_CLASS(ags_client_parent_class)->finalize(gobject);
+}
+
+AgsClient*
+ags_client_new()
+{
+ AgsClient *client;
+
+ client = (AgsClient *) g_object_new(AGS_TYPE_CLIENT,
+ NULL);
+
+ return(client);
+}
+
diff --git a/src/ags-client/client/ags_client.h b/src/ags-client/client/ags_client.h
new file mode 100644
index 0000000..070b1f1
--- /dev/null
+++ b/src/ags-client/client/ags_client.h
@@ -0,0 +1,52 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLIENT_H__
+#define __AGS_CLIENT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <xmlrpc.h>
+#include <xmlrpc_client.h>
+
+#define AGS_TYPE_CLIENT (ags_client_get_type())
+#define AGS_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLIENT, AgsClient))
+#define AGS_CLIENT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_CLIENT, AgsClientClass))
+#define AGS_IS_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLIENT))
+#define AGS_IS_CLIENT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLIENT))
+#define AGS_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_CLIENT, AgsClientClass))
+
+typedef struct _AgsClient AgsClient;
+typedef struct _AgsClientClass AgsClientClass;
+
+struct _AgsClient
+{
+ GObject object;
+};
+
+struct _AgsClientClass
+{
+ GObjectClass object;
+};
+
+GType ags_client_get_type();
+
+AgsClient* ags_client_new();
+
+#endif /*__AGS_CLIENT_H__*/
diff --git a/src/ags-client/file/ags_file_client.c b/src/ags-client/file/ags_file_client.c
new file mode 100644
index 0000000..680160c
--- /dev/null
+++ b/src/ags-client/file/ags_file_client.c
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/file/ags_file_client.h>
+
+void
+ags_file_client_read_script(AgsFile *file, xmlNode *node, AgsScript **script)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_client_write_script(AgsFile *file, xmlNode *node, AgsScript *script)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_client_read_script_list(AgsFile *file, xmlNode *node, GList **script)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_client_write_script_list(AgsFile *file, xmlNode *node, GList *script)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_client_read_client(AgsFile *file, xmlNode *node, AgsClient **client)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_client_write_client(AgsFile *file, xmlNode *parent, AgsClient *client)
+{
+ //TODO:JK: implement me
+}
diff --git a/src/ags-client/file/ags_file_client.h b/src/ags-client/file/ags_file_client.h
new file mode 100644
index 0000000..80670ba
--- /dev/null
+++ b/src/ags-client/file/ags_file_client.h
@@ -0,0 +1,40 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_CLIENT_H__
+#define __AGS_FILE_CLIENT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+/* script */
+void ags_file_client_read_script(AgsFile *file, xmlNode *node, AgsScript **script);
+xmlNode* ags_file_client_write_script(AgsFile *file, xmlNode *node, AgsScript *script);
+
+void ags_file_client_read_script_list(AgsFile *file, xmlNode *node, GList **script);
+xmlNode* ags_file_client_write_script_list(AgsFile *file, xmlNode *node, GList *script);
+
+/* client */
+void ags_file_client_read_client(AgsFile *file, xmlNode *node, AgsClient **client);
+xmlNode* ags_file_client_write_client(AgsFile *file, xmlNode *parent, AgsClient *client);
+
+
+#endif /*__AGS_FILE_CLIENT_H__*/
+
diff --git a/src/ags-client/main.c b/src/ags-client/main.c
new file mode 100644
index 0000000..f72ce02
--- /dev/null
+++ b/src/ags-client/main.c
@@ -0,0 +1,20 @@
+#include <gtk/gtk.h>
+
+#include <ags-client/X/ags_client_window.h>
+#include <ags-lib/object/ags_connectable.h>
+
+int
+main(int argc, char **argv)
+{
+ AgsClientWindow *client_window;
+
+ gtk_init(&argc, &argv);
+
+ client_window = ags_client_window_new();
+ ags_connectable_connect(AGS_CONNECTABLE(client_window));
+ gtk_widget_show_all(GTK_WIDGET(client_window));
+
+ gtk_main();
+
+ return(0);
+}
diff --git a/src/ags-client/object/ags_marshal.c b/src/ags-client/object/ags_marshal.c
new file mode 100644
index 0000000..260a9a5
--- /dev/null
+++ b/src/ags-client/object/ags_marshal.c
@@ -0,0 +1,127 @@
+
+#include <glib-object.h>
+
+
+#ifdef G_ENABLE_DEBUG
+#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
+#define g_marshal_value_peek_char(v) g_value_get_schar (v)
+#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
+#define g_marshal_value_peek_int(v) g_value_get_int (v)
+#define g_marshal_value_peek_uint(v) g_value_get_uint (v)
+#define g_marshal_value_peek_long(v) g_value_get_long (v)
+#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
+#define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
+#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
+#define g_marshal_value_peek_enum(v) g_value_get_enum (v)
+#define g_marshal_value_peek_flags(v) g_value_get_flags (v)
+#define g_marshal_value_peek_float(v) g_value_get_float (v)
+#define g_marshal_value_peek_double(v) g_value_get_double (v)
+#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
+#define g_marshal_value_peek_param(v) g_value_get_param (v)
+#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
+#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
+#define g_marshal_value_peek_object(v) g_value_get_object (v)
+#define g_marshal_value_peek_variant(v) g_value_get_variant (v)
+#else /* !G_ENABLE_DEBUG */
+/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
+ * Do not access GValues directly in your code. Instead, use the
+ * g_value_get_*() functions
+ */
+#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
+#define g_marshal_value_peek_char(v) (v)->data[0].v_int
+#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
+#define g_marshal_value_peek_int(v) (v)->data[0].v_int
+#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
+#define g_marshal_value_peek_long(v) (v)->data[0].v_long
+#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
+#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
+#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
+#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
+#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
+#define g_marshal_value_peek_float(v) (v)->data[0].v_float
+#define g_marshal_value_peek_double(v) (v)->data[0].v_double
+#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
+#endif /* !G_ENABLE_DEBUG */
+
+
+/* OBJECT:VOID (ags_marshallers.list:1) */
+void
+g_cclosure_user_marshal_OBJECT__VOID (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef GObject* (*GMarshalFunc_OBJECT__VOID) (gpointer data1,
+ gpointer data2);
+ register GMarshalFunc_OBJECT__VOID callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ GObject* v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 1);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_OBJECT__VOID) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ data2);
+
+ g_value_take_object (return_value, v_return);
+}
+
+/* OBJECT:POINTER (ags_marshallers.list:2) */
+void
+g_cclosure_user_marshal_OBJECT__POINTER (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef GObject* (*GMarshalFunc_OBJECT__POINTER) (gpointer data1,
+ gpointer arg_1,
+ gpointer data2);
+ register GMarshalFunc_OBJECT__POINTER callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ GObject* v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 2);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_OBJECT__POINTER) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_pointer (param_values + 1),
+ data2);
+
+ g_value_take_object (return_value, v_return);
+}
+
diff --git a/src/ags-client/object/ags_marshal.h b/src/ags-client/object/ags_marshal.h
new file mode 100644
index 0000000..da51f41
--- /dev/null
+++ b/src/ags-client/object/ags_marshal.h
@@ -0,0 +1,28 @@
+
+#ifndef __g_cclosure_user_marshal_MARSHAL_H__
+#define __g_cclosure_user_marshal_MARSHAL_H__
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+/* OBJECT:VOID (ags_marshallers.list:1) */
+extern void g_cclosure_user_marshal_OBJECT__VOID (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* OBJECT:POINTER (ags_marshallers.list:2) */
+extern void g_cclosure_user_marshal_OBJECT__POINTER (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+G_END_DECLS
+
+#endif /* __g_cclosure_user_marshal_MARSHAL_H__ */
+
diff --git a/src/ags-client/object/ags_marshallers.list b/src/ags-client/object/ags_marshallers.list
new file mode 100644
index 0000000..335e27c
--- /dev/null
+++ b/src/ags-client/object/ags_marshallers.list
@@ -0,0 +1,2 @@
+OBJECT:VOID
+OBJECT:POINTER
diff --git a/src/ags-client/scripting/ags_schema_factory.c b/src/ags-client/scripting/ags_schema_factory.c
new file mode 100644
index 0000000..d5e9949
--- /dev/null
+++ b/src/ags-client/scripting/ags_schema_factory.c
@@ -0,0 +1,223 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/ags_schema_factory.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_schema_factory_class_init(AgsSchemaFactoryClass *schema_factory);
+void ags_schema_factory_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_schema_factory_init(AgsSchemaFactory *schema_factory);
+void ags_schema_factory_connect(AgsConnectable *connectable);
+void ags_schema_factory_disconnect(AgsConnectable *connectable);
+void ags_schema_factory_finalize(GObject *gobject);
+
+xmlNode* ags_schema_factory_create_node_from_dtd(AgsSchemaFactory *schema_factory,
+ gchar *node);
+xmlNode* ags_schema_factory_create_node_from_xsd(AgsSchemaFactory *schema_factory,
+ xmlNode *node);
+
+static gpointer ags_schema_factory_parent_class = NULL;
+
+GType
+ags_schema_factory_get_type()
+{
+ static GType ags_type_schema_factory = 0;
+
+ if(!ags_type_schema_factory){
+ static const GTypeInfo ags_schema_factory_info = {
+ sizeof (AgsSchemaFactoryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_schema_factory_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSchemaFactory),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_schema_factory_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_schema_factory_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_schema_factory = g_type_register_static(G_TYPE_OBJECT,
+ "AgsSchemaFactory\0",
+ &ags_schema_factory_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_schema_factory,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_schema_factory);
+}
+
+void
+ags_schema_factory_class_init(AgsSchemaFactoryClass *schema_factory)
+{
+ GObjectClass *gobject;
+
+ ags_schema_factory_parent_class = g_type_class_peek_parent(schema_factory);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) schema_factory;
+
+ gobject->finalize = ags_schema_factory_finalize;
+}
+
+void
+ags_schema_factory_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_schema_factory_connect;
+ connectable->disconnect = ags_schema_factory_disconnect;
+}
+
+GQuark
+ags_schema_factory_error_quark()
+{
+ return(g_quark_from_static_string("ags-schema-factory-error-quark\0"));
+}
+
+void
+ags_schema_factory_init(AgsSchemaFactory *schema_factory)
+{
+ schema_factory->flags = AGS_SCHEMA_FACTORY_PARSE_AS_XSD;
+}
+
+void
+ags_schema_factory_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_schema_factory_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_schema_factory_finalize(GObject *gobject)
+{
+ AgsSchemaFactory *schema_factory;
+
+ schema_factory = AGS_SCHEMA_FACTORY(gobject);
+
+ G_OBJECT_CLASS(ags_schema_factory_parent_class)->finalize(gobject);
+}
+
+xmlNode*
+ags_schema_factory_create_node_from_dtd(AgsSchemaFactory *schema_factory,
+ gchar *node)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+xmlNode*
+ags_schema_factory_create_node_from_xsd(AgsSchemaFactory *schema_factory,
+ xmlNode *node)
+{
+ xmlNode *retval;
+ char *name, *final, *basetype;
+ char *xml_retval;
+
+ auto xmlNode* ags_schema_factory_create_node_from_xsd_parse(xmlNode *node);
+
+ xmlNode* ags_schema_factory_create_node_from_xsd_parse(xmlNode *node){
+ xmlNode *current;
+ xmlNode *retval;
+
+ /* parse basics */
+ retval = xmlNewNode(NULL, xmlGetProp(node, "name\0"));
+
+ if((final = xmlGetProp(node, "final\0")) != NULL){
+ xmlNewProp(retval, BAD_CAST "final\0", NULL);
+ }else if((basetype = xmlGetProp(node, "basetype\0")) != NULL){
+ char *variety;
+
+ xmlNewProp(retval, BAD_CAST "basetype\0", BAD_CAST (gchar *) g_strdup(basetype));
+
+ variety = xmlGetProp(node, "variety\0");
+
+ if(!xmlStrncmp("atomic\0", variety, 7)){
+ xmlNewProp(retval, BAD_CAST "atomic\0", BAD_CAST (gchar *) g_strdup("true\0"));
+ }
+ }
+
+ /* parse attributes and child elements */
+ current = node;
+
+ while(current != NULL){
+ if(current->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp("attribute\0", current->name, 10)){
+ xmlSetProp(retval, BAD_CAST (gchar *) g_strdup(xmlGetProp(current, "name\0")), NULL);
+ }else if(!xmlStrncmp("sequence\0", current->name, 9)){
+ xmlNode *sequence;
+
+ sequence = ags_schema_factory_create_node_from_xsd_parse(current->children);
+
+ xmlAddChildList(retval, sequence);
+ }
+ }
+
+ current = current->next;
+ }
+
+ return(retval);
+ }
+
+ /* parse recursive */
+ retval = ags_schema_factory_create_node_from_xsd_parse(node->children);
+
+ return(retval);
+}
+
+xmlNode*
+ags_schema_factory_create_node(AgsSchemaFactory *schema_factory,
+ void *node)
+{
+ if((AGS_SCHEMA_FACTORY_PARSE_AS_DTD & (schema_factory->flags)) != 0){
+ return(ags_schema_factory_create_node_from_dtd(schema_factory,
+ (gchar *) node));
+ }else if((AGS_SCHEMA_FACTORY_PARSE_AS_XSD & (schema_factory->flags)) != 0){
+ return(ags_schema_factory_create_node_from_xsd(schema_factory,
+ (xmlNode *) node));
+ }else{
+ g_warning("invalid state of %s\0",
+ G_OBJECT_TYPE_NAME(schema_factory));
+
+ return(NULL);
+ }
+}
+
+AgsSchemaFactory*
+ags_schema_factory_new()
+{
+ AgsSchemaFactory *schema_factory;
+
+ schema_factory = (AgsSchemaFactory *) g_object_new(AGS_TYPE_SCHEMA_FACTORY,
+ NULL);
+
+ return(schema_factory);
+}
diff --git a/src/ags-client/scripting/ags_schema_factory.h b/src/ags-client/scripting/ags_schema_factory.h
new file mode 100644
index 0000000..e0a152c
--- /dev/null
+++ b/src/ags-client/scripting/ags_schema_factory.h
@@ -0,0 +1,63 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCHEMA_FACTORY_H__
+#define __AGS_SCHEMA_FACTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_SCHEMA_FACTORY (ags_schema_factory_get_type())
+#define AGS_SCHEMA_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCHEMA_FACTORY, AgsSchemaFactory))
+#define AGS_SCHEMA_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCHEMA_FACTORY, AgsSchemaFactoryClass))
+#define AGS_IS_SCHEMA_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCHEMA_FACTORY))
+#define AGS_IS_SCHEMA_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCHEMA_FACTORY))
+#define AGS_SCHEMA_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCHEMA_FACTORY, AgsSchemaFactoryClass))
+
+typedef struct _AgsSchemaFactory AgsSchemaFactory;
+typedef struct _AgsSchemaFactoryClass AgsSchemaFactoryClass;
+
+typedef enum{
+ AGS_SCHEMA_FACTORY_PARSE_AS_DTD = 1,
+ AGS_SCHEMA_FACTORY_PARSE_AS_XSD = 1 << 1,
+}AgsSchemaFactoryFlags;
+
+struct _AgsSchemaFactory
+{
+ GObject object;
+
+ guint flags;
+};
+
+struct _AgsSchemaFactoryClass
+{
+ GObjectClass object;
+};
+
+GType ags_schema_factory_get_type();
+
+GQuark ags_schema_factory_error_quark();
+
+xmlNode* ags_schema_factory_create_node(AgsSchemaFactory *schema_factory,
+ void *node);
+
+AgsSchemaFactory* ags_schema_factory_new();
+
+#endif /*__AGS_SCHEMA_FACTORY_H__*/
diff --git a/src/ags-client/scripting/ags_script.c b/src/ags-client/scripting/ags_script.c
new file mode 100644
index 0000000..8c59c11
--- /dev/null
+++ b/src/ags-client/scripting/ags_script.c
@@ -0,0 +1,396 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/ags_script.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/ags_xml_interpreter.h>
+
+void ags_script_class_init(AgsScriptClass *script);
+void ags_script_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_init(AgsScript *script);
+void ags_script_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_script_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_script_connect(AgsConnectable *connectable);
+void ags_script_disconnect(AgsConnectable *connectable);
+void ags_script_finalize(GObject *gobject);
+
+void ags_script_real_read(AgsScript *script);
+void ags_script_real_write(AgsScript *script);
+void ags_script_real_launch(AgsScript *script);
+
+enum{
+ READ,
+ WRITE,
+ LAUNCH,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_XML_INTERPRETER,
+ PROP_FILENAME,
+ PROP_SCRIPT,
+};
+
+static gpointer ags_script_parent_class = NULL;
+static guint script_signals[LAST_SIGNAL];
+
+GType
+ags_script_get_type()
+{
+ static GType ags_type_script = 0;
+
+ if(!ags_type_script){
+ static const GTypeInfo ags_script_info = {
+ sizeof (AgsScriptClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScript),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script = g_type_register_static(G_TYPE_OBJECT,
+ "AgsScript\0",
+ &ags_script_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script);
+}
+
+void
+ags_script_class_init(AgsScriptClass *script)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_script_parent_class = g_type_class_peek_parent(script);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script;
+
+ gobject->set_property = ags_script_set_property;
+ gobject->get_property = ags_script_get_property;
+
+ gobject->finalize = ags_script_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("xml interpreter\0",
+ "xml interpreter to use\0",
+ "The xml interpreter to be used to process the script\0",
+ AGS_TYPE_XML_INTERPRETER,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SCRIPT,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("filename\0",
+ "filename of script\0",
+ "The filename of the script\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SCRIPT,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("script\0",
+ "xml script document\0",
+ "The xml script document\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SCRIPT,
+ param_spec);
+
+ /* AgsScriptClass */
+ script->write = ags_script_real_write;
+ script->read = ags_script_real_read;
+ script->launch = ags_script_real_launch;
+
+ /* signals */
+ script_signals[WRITE] =
+ g_signal_new("write\0",
+ G_TYPE_FROM_CLASS(script),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsScriptClass, write),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ script_signals[READ] =
+ g_signal_new("read\0",
+ G_TYPE_FROM_CLASS(script),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsScriptClass, read),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ script_signals[LAUNCH] =
+ g_signal_new("launch\0",
+ G_TYPE_FROM_CLASS(script),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsScriptClass, launch),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_script_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_connect;
+ connectable->disconnect = ags_script_disconnect;
+}
+
+void
+ags_script_init(AgsScript *script)
+{
+ script->xml_interpreter = NULL;
+
+ script->xml_script_factory = ags_xml_script_factory_new();
+ ags_xml_script_factory_create_prototype(script->xml_script_factory);
+
+ script->filename = NULL;
+
+ script->script = NULL;
+}
+
+void
+ags_script_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsScript *script;
+
+ script = AGS_SCRIPT(gobject);
+
+ switch(prop_id){
+ case PROP_XML_INTERPRETER:
+ {
+ AgsXmlInterpreter *xml_interpreter;
+
+ xml_interpreter = (AgsXmlInterpreter *) g_value_get_object(value);
+
+ if(xml_interpreter == (AgsXmlInterpreter *) script->xml_interpreter){
+ return;
+ }
+
+ if(script->xml_interpreter != NULL){
+ g_object_ref(script->xml_interpreter);
+ }
+
+ if(xml_interpreter != NULL){
+ g_object_unref(xml_interpreter);
+ }
+
+ script->xml_interpreter = (GObject *) xml_interpreter;
+ }
+ break;
+ case PROP_FILENAME:
+ {
+ gchar *filename;
+
+ filename = (gchar *) g_value_get_pointer(value);
+
+ script->filename = filename;
+ }
+ break;
+ case PROP_SCRIPT:
+ {
+ xmlDoc *doc;
+
+ doc = (xmlDoc *) g_value_get_pointer(value);
+
+ script->script = doc;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_script_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsScript *script;
+
+ script = AGS_SCRIPT(gobject);
+
+ switch(prop_id){
+ case PROP_XML_INTERPRETER:
+ {
+ g_value_set_object(value, script->xml_interpreter);
+ }
+ break;
+ case PROP_FILENAME:
+ {
+ g_value_set_pointer(value, script->filename);
+ }
+ break;
+ case PROP_SCRIPT:
+ {
+ g_value_set_pointer(value, script->filename);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_script_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_finalize(GObject *gobject)
+{
+ AgsScript *script;
+
+ script = AGS_SCRIPT(gobject);
+
+ g_object_unref(script->xml_script_factory);
+
+ xmlFreeDoc(script->script);
+
+ G_OBJECT_CLASS(ags_script_parent_class)->finalize(gobject);
+}
+
+void
+ags_script_real_read(AgsScript *script)
+{
+ xmlDoc *doc;
+
+ if(script->script != NULL){
+ return;
+ }
+
+ doc = xmlReadFile(script->filename, NULL, 0);
+ g_object_set(G_OBJECT(script),
+ "script\0", doc,
+ NULL);
+}
+
+void
+ags_script_read(AgsScript *script)
+{
+ g_return_if_fail(AGS_IS_SCRIPT(script));
+
+ g_object_ref(G_OBJECT(script));
+ g_signal_emit(G_OBJECT(script),
+ script_signals[READ], 0);
+ g_object_unref(G_OBJECT(script));
+}
+
+void
+ags_script_real_write(AgsScript *script)
+{
+ xmlDtd *dtd;
+ FILE *file;
+ xmlChar *buffer;
+ int size;
+
+ xmlDocDumpFormatMemoryEnc(script->script, &buffer, &size, AGS_SCRIPT_DEFAULT_ENCODING, TRUE);
+
+ file = fopen(script->filename, "w+\0");
+ fwrite(buffer, size, sizeof(xmlChar), file);
+ fclose(file);
+}
+
+void
+ags_script_write(AgsScript *script)
+{
+ g_return_if_fail(AGS_IS_SCRIPT(script));
+
+ g_object_ref(G_OBJECT(script));
+ g_signal_emit(G_OBJECT(script),
+ script_signals[WRITE], 0);
+ g_object_unref(G_OBJECT(script));
+}
+
+void
+ags_script_real_launch(AgsScript *script)
+{
+ AgsXmlInterpreter *xml_interpreter;
+
+ xml_interpreter = AGS_XML_INTERPRETER(script->xml_interpreter);
+
+ pthread_mutex_lock(&(xml_interpreter->script_mutex));
+
+ xml_interpreter->script = g_list_prepend(xml_interpreter->script,
+ script);
+
+ pthread_mutex_unlock(&(xml_interpreter->script_mutex));
+}
+
+void
+ags_script_launch(AgsScript *script)
+{
+ g_return_if_fail(AGS_IS_SCRIPT(script));
+
+ g_object_ref(G_OBJECT(script));
+ g_signal_emit(G_OBJECT(script),
+ script_signals[LAUNCH], 0);
+ g_object_unref(G_OBJECT(script));
+}
+
+AgsScript*
+ags_script_new(GObject *xml_interpreter)
+{
+ AgsScript *script;
+
+ script = (AgsScript *) g_object_new(AGS_TYPE_SCRIPT,
+ "xml_interpreter", xml_interpreter,
+ NULL);
+
+ return(script);
+}
diff --git a/src/ags-client/scripting/ags_script.h b/src/ags-client/scripting/ags_script.h
new file mode 100644
index 0000000..d0416ce
--- /dev/null
+++ b/src/ags-client/scripting/ags_script.h
@@ -0,0 +1,71 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_H__
+#define __AGS_SCRIPT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <stdio.h>
+
+#include <ags-client/scripting/ags_xml_script_factory.h>
+
+#define AGS_TYPE_SCRIPT (ags_script_get_type())
+#define AGS_SCRIPT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT, AgsScript))
+#define AGS_SCRIPT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT, AgsScriptClass))
+#define AGS_IS_SCRIPT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT))
+#define AGS_IS_SCRIPT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT))
+#define AGS_SCRIPT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT, AgsScriptClass))
+
+#define AGS_SCRIPT_DEFAULT_ENCODING "UTF-8\0"
+
+typedef struct _AgsScript AgsScript;
+typedef struct _AgsScriptClass AgsScriptClass;
+
+struct _AgsScript
+{
+ GObject object;
+
+ GObject *xml_interpreter;
+
+ AgsXmlScriptFactory *xml_script_factory;
+
+ gchar *filename;
+
+ xmlDoc *script;
+};
+
+struct _AgsScriptClass
+{
+ GObjectClass object;
+
+ void (*read)(AgsScript *script);
+ void (*write)(AgsScript *script);
+ void (*launch)(AgsScript *script);
+};
+
+GType ags_script_get_type();
+
+void ags_script_read(AgsScript *script);
+void ags_script_write(AgsScript *script);
+void ags_script_launch(AgsScript *script);
+
+AgsScript* ags_script_new(GObject *xml_interpreter);
+
+#endif /*__AGS_SCRIPT_H__*/
diff --git a/src/ags-client/scripting/ags_script.xsd b/src/ags-client/scripting/ags_script.xsd
new file mode 100644
index 0000000..40d4631
--- /dev/null
+++ b/src/ags-client/scripting/ags_script.xsd
@@ -0,0 +1,267 @@
+<?xml version="1.0"?>
+<!DOCTYPE schema [
+<!ENTITY ags-type "(char|float|double|uint16|int16|uint32|int32|int64|uint64)">
+]>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <!-- Types -->
+ <xsd:simpleType name="void" final="xsd:string"/>
+
+ <xsd:simpleType name="function" basetype="xsd:IDREF"/>
+ <xsd:simpleType name="uuid" basetype="xsd:string"/>
+ <xsd:simpleType name="base64" basetype="xsd:string"/>
+
+ <xsd:simpleType name="object" basetype="xsd:uuid"/>
+ <xsd:simpleType name="pid" basetype="xsd:uint64"/>
+ <xsd:simpleType name="host" basetype="xsd:string"/>
+
+ <xsd:simpleType name="xpath" basetype="xsd:string" variety="atomic"/>
+
+ <xsd:complexType name="ags-semaphore">
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="type" type="xsd:string" value="&ags-type;"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@id"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-var">
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="type" type="xsd:string" value="&ags-type;"/>
+ <xsd:attribute name="encoded" type="xsd:boolean" value="true"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@value"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-array">
+ <xsd:sequence>
+ <xsd:element type="ags-array"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="type" type="xsd:string" value="&ags-type;"/>
+ <xsd:attribute name="length" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="row" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@id"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-stack">
+ <xsd:sequence>
+ <xsd:element type="ags-var"/>
+ <xsd:element type="ags-array"/>
+ <xsd:element type="ags-semaphore"/>
+ <xsd:element type="ags-stack"/>
+
+ <xsd:element type="ags-controller"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value=".//[last()]@id-ref"/>
+ </xsd:complexType>
+
+ <!-- controllers (... and functions) -->
+ <xsd:complexType name="ags-controller">
+ <xsd:sequence>
+ <xsd:element type="(ags-set|ags-push|ags-pop|ags-if|ags-switch|ags-while|ags-do_while|ags-for|ags-printf|ags-fprintf|ags-scanf|ags-fscanf|ags-tostring|ags-valueof|ags-nanosleep|ags-memcpy|ags-sutex|ags-xmlrpc)"/>
+ <xsd:element type="ags-stack"/>
+
+ <xsd:element type="ags-controller"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value=".//[last()]@id-ref"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-set">
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="id-ref" type="xsd:IDREF"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@id-ref"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-push">
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="id-ref" type="xsd:IDREF"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value=".//[last()]@id-ref"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-pop">
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value=".//[last()]@id-ref"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-if">
+
+ <xsd:sequence>
+ <xsd:complexType name="then">
+ <xsd:sequence>
+ <xsd:element type="ags-controller"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ <xsd:complexType name="else-if">
+ <xsd:sequence>
+ <xsd:element type="ags-controller"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ <xsd:complexType name="else">
+ <xsd:sequence>
+ <xsd:element type="ags-controller"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:sequence>
+
+ <xsd:attribute name="condition" type="xsd:IDREF"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@condition"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-switch">
+ <xsd:sequence>
+ <xsd:complexType name="ags-case">
+ <xsd:sequence>
+ <xsd:element type="ags-controller"/>
+ <xsd:element type="ags-break"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="label" type="xsd:string"/>
+ <xsd:attribute name="status" type="xsd:boolean"/>
+ <xsd:attribute name="statement" type="xsd:IDREF"/>
+ </xsd:complexType>
+ </xsd:sequence>
+
+ <xsd:attribute name="expression" type="xsd:IDREF"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="./ags-case[@status='true']@statement"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-while">
+ <xsd:sequence>
+ <xsd:element type="ags-controller"/>
+ <xsd:element type="ags-break"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="condition" type="xsd:IDREF"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@condition"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-do_while">
+ <xsd:sequence>
+ <xsd:element type="ags-controller"/>
+ <xsd:element type="ags-break"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="condition" type="xsd:IDREF"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@condition"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-for">
+ <xsd:sequence>
+ <xsd:element type="ags-controller"/>
+ <xsd:element type="ags-break"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="initializer" type="xsd:IDREF"/>
+ <xsd:attribute name="condition" type="xsd:IDREF"/>
+ <xsd:attribute name="operation" type="xsd:IDREF"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@condition"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-printf">
+ <xsd:attribute name="format" type="xsd:string"/>
+ <xsd:attribute name="args" type="xsd:IDREF"/>
+ <xsd:attribute name="return_code" type="xsd:int64"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-fprintf">
+ <xsd:attribute name="format" type="xsd:string"/>
+ <xsd:attribute name="args" type="xsd:IDREF"/>
+ <xsd:attribute name="return_code" type="xsd:int64"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-scanf">
+ <xsd:attribute name="format" type="xsd:string"/>
+ <xsd:attribute name="args" type="xsd:IDREF"/>
+ <xsd:attribute name="return_code" type="xsd:int64"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-fscanf">
+ <xsd:attribute name="str" type="xsd:string"/>
+ <xsd:attribute name="format" type="xsd:string"/>
+ <xsd:attribute name="args" type="xsd:IDREF"/>
+ <xsd:attribute name="return_code" type="xsd:int64"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-tostring">
+ <xsd:attribute name="val" type="xsd:IDREF"/>
+ <xsd:attribute name="return_code" type="xsd:string"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-valueof">
+ <xsd:attribute name="str" type="xsd:IDREF"/>
+ <xsd:attribute name="return_code" type="(xsd:double|xsd:int64)"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-memcpy">
+ <xsd:attribute name="context" type="(pid|host)"/>
+ <xsd:attribute name="return_code" type="xsd:void"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-nanosleep">
+ <xsd:attribute name="str" type="xsd:IDREF"/>
+ <xsd:attribute name="return_code" type="xsd:void"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-sutex">
+ <xsd:attribute name="context" type="(pid|host)"/>
+ <xsd:attribute name="return_code" type="xsd:void"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="ags-xmlrpc">
+ <xsd:attribute name="function" type="xsd:function"/>
+ <xsd:attribute name="parameter" type="xsd:object"/>
+ <xsd:attribute name="return_code" type="xsd:void"/>
+ <xsd:attribute name="z_index" type="xsd:NMTOKEN"/>
+ <xsd:attribute name="retval" type="xsd:xpath" value="@return_code"/>
+ </xsd:complexType>
+
+ <xsd:element name="AgsScript">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element type="ags-semaphore"/>
+ <xsd:element type="ags-var"/>
+ <xsd:element type="ags-array"/>
+ <xsd:element type="ags-stack"/>
+
+ <xsd:element type="ags-controller"/>
+
+ </xsd:sequence>
+
+ <xsd:attribute name="version" type="xsd:string"/>
+ <xsd:attribute name="return" type="xsd:decimal"/>
+ </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>
diff --git a/src/ags-client/scripting/ags_xml_interpreter.c b/src/ags-client/scripting/ags_xml_interpreter.c
new file mode 100644
index 0000000..339b96e
--- /dev/null
+++ b/src/ags-client/scripting/ags_xml_interpreter.c
@@ -0,0 +1,449 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/ags_xml_interpreter.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/ags_script.h>
+
+#include <ags-client/scripting/mapping/ags_script_xpath.h>
+#include <ags-client/scripting/mapping/ags_script_xmlrpc.h>
+#include <ags-client/scripting/mapping/ags_script_scanf.h>
+#include <ags-client/scripting/mapping/ags_script_pid.h>
+#include <ags-client/scripting/mapping/ags_script_sscanf.h>
+#include <ags-client/scripting/mapping/ags_script_sutex.h>
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+#include <ags-client/scripting/mapping/ags_script_printf.h>
+#include <ags-client/scripting/mapping/ags_script_semaphore.h>
+#include <ags-client/scripting/mapping/ags_script_pop.h>
+#include <ags-client/scripting/mapping/ags_script_function.h>
+#include <ags-client/scripting/mapping/ags_script_do_while.h>
+#include <ags-client/scripting/mapping/ags_script_host.h>
+#include <ags-client/scripting/mapping/ags_script_switch.h>
+#include <ags-client/scripting/mapping/ags_script_nanosleep.h>
+#include <ags-client/scripting/mapping/ags_script_if.h>
+#include <ags-client/scripting/mapping/ags_script_stack.h>
+#include <ags-client/scripting/mapping/ags_script_for.h>
+#include <ags-client/scripting/mapping/ags_script_memcpy.h>
+#include <ags-client/scripting/mapping/ags_script_while.h>
+#include <ags-client/scripting/mapping/ags_script_tostring.h>
+#include <ags-client/scripting/mapping/ags_script_object.h>
+#include <ags-client/scripting/mapping/ags_script_array.h>
+#include <ags-client/scripting/mapping/ags_script_valueof.h>
+#include <ags-client/scripting/mapping/ags_script_set.h>
+#include <ags-client/scripting/mapping/ags_script_fprintf.h>
+#include <ags-client/scripting/mapping/ags_script_var.h>
+#include <ags-client/scripting/mapping/ags_script_push.h>
+#include <ags-client/scripting/mapping/ags_script_fscanf.h>
+
+void ags_xml_interpreter_class_init(AgsXmlInterpreterClass *xml_interpreter);
+void ags_xml_interpreter_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_xml_interpreter_init(AgsXmlInterpreter *xml_interpreter);
+void ags_xml_interpreter_connect(AgsConnectable *connectable);
+void ags_xml_interpreter_disconnect(AgsConnectable *connectable);
+void ags_xml_interpreter_finalize(GObject *gobject);
+
+void ags_xml_interpreter_real_start(AgsXmlInterpreter *xml_interpreter);
+void* ags_xml_interpreter_thread(void *ptr);
+
+void ags_xml_interpreter_load_script(AgsXmlInterpreter *xml_interpreter,
+ AgsScript *script);
+void ags_xml_interpreter_unload_script(AgsXmlInterpreter *xml_interpreter,
+ AgsScript *script);
+
+enum{
+ START,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_xml_interpreter_parent_class = NULL;
+static guint xml_interpreter_signals[LAST_SIGNAL];
+
+GType
+ags_xml_interpreter_get_type()
+{
+ static GType ags_type_xml_interpreter = 0;
+
+ if(!ags_type_xml_interpreter){
+ static const GTypeInfo ags_xml_interpreter_info = {
+ sizeof (AgsXmlInterpreterClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_xml_interpreter_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsXmlInterpreter),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_xml_interpreter_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_xml_interpreter_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_xml_interpreter = g_type_register_static(G_TYPE_OBJECT,
+ "AgsXmlInterpreter\0",
+ &ags_xml_interpreter_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_xml_interpreter,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_xml_interpreter);
+}
+
+void
+ags_xml_interpreter_class_init(AgsXmlInterpreterClass *xml_interpreter)
+{
+ GObjectClass *gobject;
+
+ ags_xml_interpreter_parent_class = g_type_class_peek_parent(xml_interpreter);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) xml_interpreter;
+
+ gobject->finalize = ags_xml_interpreter_finalize;
+
+ /* signals */
+ xml_interpreter_signals[START] =
+ g_signal_new("start\0",
+ G_TYPE_FROM_CLASS(xml_interpreter),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsXmlInterpreterClass, start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_xml_interpreter_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_xml_interpreter_connect;
+ connectable->disconnect = ags_xml_interpreter_disconnect;
+}
+
+GQuark
+ags_xml_interpreter_error_quark()
+{
+ return(g_quark_from_static_string("ags-xml-interpreter-error-quark\0"));
+}
+
+void
+ags_xml_interpreter_init(AgsXmlInterpreter *xml_interpreter)
+{
+ xml_interpreter->flags = 0;
+
+ pthread_mutex_init(&(xml_interpreter->mutex), NULL);
+ pthread_cond_init(&(xml_interpreter->cond), NULL);
+
+ xml_interpreter->default_stack = ags_script_stack_new();
+ xml_interpreter->stack_size = AGS_XML_INTERPRETER_DEFAULT_STACK_SIZE;
+
+ xml_interpreter->script = NULL;
+ pthread_mutex_init(&(xml_interpreter->script_mutex), NULL);
+}
+
+void
+ags_xml_interpreter_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_xml_interpreter_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_xml_interpreter_finalize(GObject *gobject)
+{
+ AgsXmlInterpreter *xml_interpreter;
+
+ xml_interpreter = AGS_XML_INTERPRETER(gobject);
+
+ G_OBJECT_CLASS(ags_xml_interpreter_parent_class)->finalize(gobject);
+}
+
+void
+ags_xml_interpreter_real_start(AgsXmlInterpreter *xml_interpreter)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_xml_interpreter_start(AgsXmlInterpreter *xml_interpreter)
+{
+ g_return_if_fail(AGS_IS_XML_INTERPRETER(xml_interpreter));
+
+ g_object_ref(G_OBJECT(xml_interpreter));
+ g_signal_emit(G_OBJECT(xml_interpreter),
+ xml_interpreter_signals[START], 0);
+ g_object_unref(G_OBJECT(xml_interpreter));
+}
+
+void*
+ags_xml_interpreter_thread(void *ptr)
+{
+ AgsXmlInterpreter *xml_interpreter;
+ AgsScript *script;
+ AgsScriptObject *current_script_object;
+ GList *current;
+
+ static struct timespec poll_interval;
+ static gboolean initialized = FALSE;
+
+ auto AgsScriptObject* ags_xml_interpreter_thread_recursive_launch(AgsScriptObject *script_object);
+
+ AgsScriptObject* ags_xml_interpreter_thread_recursive_launch(AgsScriptObject *script_object){
+ AgsScriptObject *next;
+ GError *error;
+
+ next = script_object->retval;
+
+ if(strtoul(xmlGetProp(next->node, "z_index\0"), NULL, 10) > strtoul(xmlGetProp(script_object->node, "z_index\0"), NULL, 10)){
+ next = ags_xml_interpreter_thread_recursive_launch(next);
+ }
+
+ if(AGS_IS_SCRIPT_POP(script_object)){
+ error = NULL;
+
+ ags_script_object_launch(script_object, &error);
+
+ if(error == NULL){
+ ags_xml_interpreter_run_snipped(xml_interpreter,
+ AGS_SCRIPT_OBJECT(xml_interpreter->default_stack)->node);
+ }else{
+ g_warning(error->message);
+
+ return(NULL);
+ }
+ }
+
+ return(next);
+ }
+
+ if(!initialized){
+ initialized = TRUE;
+
+ poll_interval.tv_sec = 0;
+ poll_interval.tv_nsec = 500000;
+ }
+
+ xml_interpreter = AGS_XML_INTERPRETER(ptr);
+
+ while((AGS_XML_INTERPRETER_RUNNING & (xml_interpreter->flags)) != 0){
+ pthread_mutex_lock(&(xml_interpreter->script_mutex));
+
+ current = g_list_reverse(xml_interpreter->script);
+ xml_interpreter->script = NULL;
+
+ pthread_mutex_unlock(&(xml_interpreter->script_mutex));
+
+ while(current != NULL){
+ script = AGS_SCRIPT(current->data);
+
+ /* run script */
+ ags_xml_interpreter_load_script(xml_interpreter,
+ script);
+
+ current_script_object = AGS_SCRIPT_OBJECT(xml_interpreter->default_stack);
+
+ while(current_script_object != NULL){
+ current_script_object = ags_xml_interpreter_thread_recursive_launch(current_script_object);
+ }
+
+ ags_xml_interpreter_unload_script(xml_interpreter,
+ script);
+
+ /* iterate */
+ current = current->next;
+ }
+
+ nanosleep(&poll_interval, NULL);
+ }
+
+ pthread_exit(NULL);
+}
+
+void
+ags_xml_interpreter_load_script(AgsXmlInterpreter *xml_interpreter,
+ AgsScript *script)
+{
+ AgsXmlScriptFactory *xml_script_factory;
+ AgsScriptStack *default_stack;
+ AgsScriptObject *current;
+ AgsScriptObject *retval;
+ xmlNode *root_node;
+ xmlNode *current_node;
+
+ auto AgsScriptObject* ags_xml_interpreter_load_script_recursive(xmlNode *node, guint z_index);
+
+ AgsScriptObject* ags_xml_interpreter_load_script_recursive(xmlNode *node, guint z_index){
+ AgsScriptObject *script_object;
+ GType type;
+ AgsScriptObject *current;
+ AgsScriptObject *retval;
+ xmlNode *current_node;
+ xmlNode *mapped_node;
+ GError *error;
+
+ type = ags_xml_interpreter_type_from_name((gchar *) node->name);
+ script_object = (AgsScriptObject *) g_object_new(type,
+ NULL);
+
+ error = NULL;
+ script_object->node =
+ mapped_node = ags_xml_script_factory_map(xml_script_factory,
+ (gchar *) node->name,
+ &error);
+ xmlSetProp(mapped_node, "z_index\0", g_strdup_printf("%d\0", z_index));
+ ags_script_object_mapped_xml(script_object);
+
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+
+ current_node = node->children;
+
+ while(current_node != NULL){
+ if(current_node->type == XML_ELEMENT_NODE){
+ retval = ags_xml_interpreter_load_script_recursive(current_node, z_index + 1);
+
+ current->retval = retval;
+
+ current = retval;
+ }
+
+ current_node = current_node->next;
+ }
+
+ return(script_object);
+ }
+
+ xml_script_factory = script->xml_script_factory;
+
+ default_stack = xml_interpreter->default_stack;
+
+ root_node = xmlDocGetRootElement(script->script);
+
+ current_node = root_node->children;
+
+ while(current_node != NULL){
+ if(current_node->type == XML_ELEMENT_NODE){
+ retval = ags_xml_interpreter_load_script_recursive(current_node, 0);
+
+ current->retval = retval;
+
+ current = retval;
+ }
+
+ current_node = current_node->next;
+ }
+}
+
+void
+ags_xml_interpreter_unload_script(AgsXmlInterpreter *xml_interpreter,
+ AgsScript *script)
+{
+ AgsScriptStack *default_stack;
+ xmlNode *node;
+
+ default_stack = xml_interpreter->default_stack;
+ node = AGS_SCRIPT_OBJECT(default_stack)->node;
+
+ g_object_unref(G_OBJECT(AGS_SCRIPT_OBJECT(default_stack)->retval));
+ AGS_SCRIPT_OBJECT(default_stack)->retval = NULL;
+
+ node->children = NULL;
+ xmlSetProp(node, "value\0", NULL);
+}
+
+void
+ags_xml_interpreter_run_snipped(AgsXmlInterpreter *xml_interpreter,
+ xmlNode *snipped)
+{
+ //TODO:JK: implement me
+}
+
+GType
+ags_xml_interpreter_type_from_name(gchar *name)
+{
+ if(!strncmp("ags-semaphore\0", name, 14)){
+ return(AGS_TYPE_SCRIPT_SEMAPHORE);
+ }else if(!strncmp("ags-var\0", name, 8)){
+ return(AGS_TYPE_SCRIPT_VAR);
+ }else if(!strncmp("ags-array\0", name, 10)){
+ return(AGS_TYPE_SCRIPT_ARRAY);
+ }else if(!strncmp("ags-stack\0", name, 10)){
+ return(AGS_TYPE_SCRIPT_STACK);
+ }else if(!strncmp("ags-controller\0", name, 15)){
+ return(AGS_TYPE_SCRIPT_CONTROLLER);
+ }else if(!strncmp("ags-set\0", name, 8)){
+ return(AGS_TYPE_SCRIPT_SET);
+ }else if(!strncmp("ags-push\0", name, 9)){
+ return(AGS_TYPE_SCRIPT_PUSH);
+ }else if(!strncmp("ags-pop\0", name, 8)){
+ return(AGS_TYPE_SCRIPT_POP);
+ }else if(!strncmp("ags-if\0", name, 7)){
+ return(AGS_TYPE_SCRIPT_IF);
+ }else if(!strncmp("ags-while\0", name, 10)){
+ return(AGS_TYPE_SCRIPT_WHILE);
+ }else if(!strncmp("ags-do_while\0", name, 13)){
+ return(AGS_TYPE_SCRIPT_DO_WHILE);
+ }else if(!strncmp("ags-for\0", name, 8)){
+ return(AGS_TYPE_SCRIPT_FOR);
+ }else if(!strncmp("ags-printf\0", name, 11)){
+ return(AGS_TYPE_SCRIPT_PRINTF);
+ }else if(!strncmp("ags-fprintf\0", name, 12)){
+ return(AGS_TYPE_SCRIPT_FPRINTF);
+ }else if(!strncmp("ags-scanf\0", name, 10)){
+ return(AGS_TYPE_SCRIPT_SCANF);
+ }else if(!strncmp("ags-fscanf\0", name, 11)){
+ return(AGS_TYPE_SCRIPT_FSCANF);
+ }else if(!strncmp("ags-tostring\0", name, 13)){
+ return(AGS_TYPE_SCRIPT_TOSTRING);
+ }else if(!strncmp("ags-valueof\0", name, 12)){
+ return(AGS_TYPE_SCRIPT_VALUEOF);
+ }else if(!strncmp("ags-memcpy\0", name, 11)){
+ return(AGS_TYPE_SCRIPT_MEMCPY);
+ }else if(!strncmp("ags-nanosleep\0", name, 14)){
+ return(AGS_TYPE_SCRIPT_NANOSLEEP);
+ }else if(!strncmp("ags-xmlrpc\0", name, 11)){
+ return(AGS_TYPE_SCRIPT_XMLRPC);
+ }
+
+ return(G_TYPE_NONE);
+}
+
+AgsXmlInterpreter*
+ags_xml_interpreter_new()
+{
+ AgsXmlInterpreter *xml_interpreter;
+
+ xml_interpreter = (AgsXmlInterpreter *) g_object_new(AGS_TYPE_XML_INTERPRETER,
+ NULL);
+
+ return(xml_interpreter);
+}
diff --git a/src/ags-client/scripting/ags_xml_interpreter.h b/src/ags-client/scripting/ags_xml_interpreter.h
new file mode 100644
index 0000000..1ed5058
--- /dev/null
+++ b/src/ags-client/scripting/ags_xml_interpreter.h
@@ -0,0 +1,91 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_XML_INTERPRETER_H__
+#define __AGS_XML_INTERPRETER_H__
+
+#include <pthread.h>
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#include <ags-client/scripting/mapping/ags_script_stack.h>
+
+#define AGS_TYPE_XML_INTERPRETER (ags_xml_interpreter_get_type())
+#define AGS_XML_INTERPRETER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_XML_INTERPRETER, AgsXmlInterpreter))
+#define AGS_XML_INTERPRETER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_XML_INTERPRETER, AgsXmlInterpreterClass))
+#define AGS_IS_XML_INTERPRETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_XML_INTERPRETER))
+#define AGS_IS_XML_INTERPRETER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_XML_INTERPRETER))
+#define AGS_XML_INTERPRETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_XML_INTERPRETER, AgsXmlInterpreterClass))
+
+#define AGS_XML_INTERPRETER_DEFAULT_STACK_SIZE (G_MAXUINT)
+
+typedef struct _AgsXmlInterpreter AgsXmlInterpreter;
+typedef struct _AgsXmlInterpreterClass AgsXmlInterpreterClass;
+
+typedef enum{
+ AGS_XML_INTERPRETER_RUNNING = 1,
+ AGS_XML_INTERPRETER_WAIT = 1 << 1,
+ AGS_XML_INTERPRETER_DONE = 1 << 2,
+}AgsXmlInterpreterFlags;
+
+#define AGS_XML_INTERPRETER_ERROR (ags_xml_interpreter_error_quark())
+
+typedef enum{
+ AGS_XML_INTERPRETER_STACK_OVERFLOW,
+}AgsXmlInterpreterError;
+
+struct _AgsXmlInterpreter
+{
+ GObject object;
+
+ guint flags;
+
+ pthread_t thread;
+ pthread_mutex_t mutex;
+ pthread_cond_t cond;
+
+ AgsScriptStack *default_stack;
+ guint64 stack_size;
+
+ GList *script;
+ pthread_mutex_t script_mutex;
+};
+
+struct _AgsXmlInterpreterClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsXmlInterpreter *xml_interpreter);
+};
+
+GType ags_xml_interpreter_get_type();
+
+GQuark ags_xml_interpreter_error_quark();
+
+void ags_xml_interpreter_start(AgsXmlInterpreter *xml_interpreter);
+void ags_xml_interpreter_run_snipped(AgsXmlInterpreter *xml_interpreter,
+ xmlNode *snipped);
+
+GType ags_xml_interpreter_type_from_name(gchar *name);
+
+AgsXmlInterpreter* ags_xml_interpreter_new();
+
+#endif /*__AGS_XML_INTERPRETER_H__*/
diff --git a/src/ags-client/scripting/ags_xml_script_factory.c b/src/ags-client/scripting/ags_xml_script_factory.c
new file mode 100644
index 0000000..8e52db0
--- /dev/null
+++ b/src/ags-client/scripting/ags_xml_script_factory.c
@@ -0,0 +1,239 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/ags_xml_script_factory.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <libxml/xmlstring.h>
+
+#include <string.h>
+
+void ags_xml_script_factory_class_init(AgsXmlScriptFactoryClass *xml_script_factory);
+void ags_xml_script_factory_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_xml_script_factory_init(AgsXmlScriptFactory *xml_script_factory);
+void ags_xml_script_factory_connect(AgsConnectable *connectable);
+void ags_xml_script_factory_disconnect(AgsConnectable *connectable);
+void ags_xml_script_factory_finalize(GObject *gobject);
+
+void ags_xml_script_factory_real_create_prototype(AgsXmlScriptFactory *xml_script_factory);
+
+xmlNode* ags_xml_script_factory_find_prototype(AgsXmlScriptFactory *xml_script_factory,
+ gchar *xml_type);
+
+enum{
+ CREATE_PROTOTYPE,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_xml_script_factory_parent_class = NULL;
+static guint xml_script_factory_signals[LAST_SIGNAL];
+
+GType
+ags_xml_script_factory_get_type()
+{
+ static GType ags_type_xml_script_factory = 0;
+
+ if(!ags_type_xml_script_factory){
+ static const GTypeInfo ags_xml_script_factory_info = {
+ sizeof (AgsXmlScriptFactoryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_xml_script_factory_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsXmlScriptFactory),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_xml_script_factory_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_xml_script_factory_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_xml_script_factory = g_type_register_static(G_TYPE_OBJECT,
+ "AgsXmlScriptFactory\0",
+ &ags_xml_script_factory_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_xml_script_factory,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_xml_script_factory);
+}
+
+void
+ags_xml_script_factory_class_init(AgsXmlScriptFactoryClass *xml_script_factory)
+{
+ GObjectClass *gobject;
+
+ ags_xml_script_factory_parent_class = g_type_class_peek_parent(xml_script_factory);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) xml_script_factory;
+
+ gobject->finalize = ags_xml_script_factory_finalize;
+
+ /* AgsXmlScriptFactoryClass */
+ xml_script_factory->create_prototype = ags_xml_script_factory_real_create_prototype;
+
+ /* signals */
+ xml_script_factory_signals[CREATE_PROTOTYPE] =
+ g_signal_new("create_prototype\0",
+ G_TYPE_FROM_CLASS(xml_script_factory),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsXmlScriptFactoryClass, create_prototype),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_xml_script_factory_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_xml_script_factory_connect;
+ connectable->disconnect = ags_xml_script_factory_disconnect;
+}
+
+GQuark
+ags_xml_script_factory_error_quark()
+{
+ return(g_quark_from_static_string("ags-xml-script-factory-error-quark\0"));
+}
+
+void
+ags_xml_script_factory_init(AgsXmlScriptFactory *xml_script_factory)
+{
+ xml_script_factory->schema = xmlReadFile(AGS_XML_SCRIPT_FACTORY_DEFAULT_SCHEMA, NULL, 0);
+ xml_script_factory->schema_factory = ags_schema_factory_new();
+
+ xml_script_factory->prototype = NULL;
+}
+
+void
+ags_xml_script_factory_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_xml_script_factory_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_xml_script_factory_finalize(GObject *gobject)
+{
+ AgsXmlScriptFactory *xml_script_factory;
+
+ xml_script_factory = AGS_XML_SCRIPT_FACTORY(gobject);
+
+ G_OBJECT_CLASS(ags_xml_script_factory_parent_class)->finalize(gobject);
+}
+
+void
+ags_xml_script_factory_real_create_prototype(AgsXmlScriptFactory *xml_script_factory)
+{
+ xmlNode *root_node;
+ xmlNode *current_node;
+ GList *list;
+
+ root_node = xmlDocGetRootElement(xml_script_factory->schema);
+
+ current_node = root_node->children;
+ list = NULL;
+
+ while(current_node != NULL){
+ list = g_list_prepend(list, ags_schema_factory_create_node(xml_script_factory->schema_factory,
+ current_node));
+
+ current_node = current_node->next;
+ }
+
+ xml_script_factory->prototype = list;
+}
+
+void
+ags_xml_script_factory_create_prototype(AgsXmlScriptFactory *xml_script_factory)
+{
+ g_return_if_fail(AGS_IS_XML_SCRIPT_FACTORY(xml_script_factory));
+
+ g_object_ref(G_OBJECT(xml_script_factory));
+ g_signal_emit(G_OBJECT(xml_script_factory),
+ xml_script_factory_signals[CREATE_PROTOTYPE], 0);
+ g_object_unref(G_OBJECT(xml_script_factory));
+}
+
+xmlNode*
+ags_xml_script_factory_find_prototype(AgsXmlScriptFactory *xml_script_factory,
+ gchar *xml_type)
+{
+ xmlNode *current_node;
+ GList *current;
+
+ current = xml_script_factory->prototype;
+
+ while(current != NULL){
+ current_node = (xmlNode *) current->data;
+
+ if(!xmlStrcmp(current_node->name, xml_type)){
+ return(current_node);
+ }
+
+ current = current->next;
+ }
+
+ return(NULL);
+}
+
+xmlNode*
+ags_xml_script_factory_map(AgsXmlScriptFactory *xml_script_factory,
+ gchar *name,
+ GError **error)
+{
+ static const char *prefix = "AgsScript\0";
+ xmlNode *prototype, *retval;
+ gchar *xml_type;
+ int length, prefix_length;
+
+ xml_type = name;
+
+ retval = NULL;
+
+ prototype = ags_xml_script_factory_find_prototype(xml_script_factory,
+ xml_type);
+ retval = xmlCopyNode(prototype, 1);
+
+ return(retval);
+}
+
+AgsXmlScriptFactory*
+ags_xml_script_factory_new()
+{
+ AgsXmlScriptFactory *xml_script_factory;
+
+ xml_script_factory = (AgsXmlScriptFactory *) g_object_new(AGS_TYPE_XML_SCRIPT_FACTORY,
+ NULL);
+
+ return(xml_script_factory);
+}
diff --git a/src/ags-client/scripting/ags_xml_script_factory.h b/src/ags-client/scripting/ags_xml_script_factory.h
new file mode 100644
index 0000000..215a2ec
--- /dev/null
+++ b/src/ags-client/scripting/ags_xml_script_factory.h
@@ -0,0 +1,75 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_XML_SCRIPT_FACTORY_H__
+#define __AGS_XML_SCRIPT_FACTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#include <ags-client/scripting/ags_schema_factory.h>
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_XML_SCRIPT_FACTORY (ags_xml_script_factory_get_type())
+#define AGS_XML_SCRIPT_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_XML_SCRIPT_FACTORY, AgsXmlScriptFactory))
+#define AGS_XML_SCRIPT_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_XML_SCRIPT_FACTORY, AgsXmlScriptFactoryClass))
+#define AGS_IS_XML_SCRIPT_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_XML_SCRIPT_FACTORY))
+#define AGS_IS_XML_SCRIPT_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_XML_SCRIPT_FACTORY))
+#define AGS_XML_SCRIPT_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_XML_SCRIPT_FACTORY, AgsXmlScriptFactoryClass))
+
+#define AGS_XML_SCRIPT_FACTORY_DEFAULT_SCHEMA "ags_script.xsd"
+
+typedef struct _AgsXmlScriptFactory AgsXmlScriptFactory;
+typedef struct _AgsXmlScriptFactoryClass AgsXmlScriptFactoryClass;
+
+#define AGS_XML_SCRIPT_FACTORY_ERROR (ags_xml_script_factory_error_quark())
+
+typedef enum{
+ AGS_XML_SCRIPT_FACTORY_INVALID_PROTOTYPE,
+}AgsXmlScriptFactoryError;
+
+struct _AgsXmlScriptFactory
+{
+ GObject object;
+
+ AgsSchemaFactory *schema_factory;
+ xmlDoc *schema;
+
+ GList *prototype;
+};
+
+struct _AgsXmlScriptFactoryClass
+{
+ GObjectClass object;
+
+ void (*create_prototype)(AgsXmlScriptFactory *xml_script_factory);
+};
+
+GType ags_xml_script_factory_get_type();
+
+void ags_xml_script_factory_create_prototype(AgsXmlScriptFactory *xml_script_factory);
+
+xmlNode* ags_xml_script_factory_map(AgsXmlScriptFactory *xml_script_factory,
+ gchar *name,
+ GError **error);
+
+AgsXmlScriptFactory* ags_xml_script_factory_new();
+
+#endif /*__AGS_XML_SCRIPT_FACTORY_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_array.c b/src/ags-client/scripting/mapping/ags_script_array.c
new file mode 100644
index 0000000..1da52af
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_array.c
@@ -0,0 +1,303 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_array.h>
+
+#include <stdlib.h>
+#include <string.h>
+#include <libxml/tree.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_array_class_init(AgsScriptArrayClass *script_array);
+void ags_script_array_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_array_init(AgsScriptArray *script_array);
+void ags_script_array_connect(AgsConnectable *connectable);
+void ags_script_array_disconnect(AgsConnectable *connectable);
+void ags_script_array_finalize(GObject *gobject);
+
+AgsScriptObject* ags_script_array_launch(AgsScriptObject *script_object, GError **error);
+
+static gpointer ags_script_array_parent_class = NULL;
+
+GType
+ags_script_array_get_type()
+{
+ static GType ags_type_script_array = 0;
+
+ if(!ags_type_script_array){
+ static const GTypeInfo ags_script_array_info = {
+ sizeof (AgsScriptArrayClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_array_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptArray),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_array_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_array_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_array = g_type_register_static(AGS_TYPE_SCRIPT_OBJECT,
+ "AgsScriptArray\0",
+ &ags_script_array_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_array,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_array);
+}
+
+void
+ags_script_array_class_init(AgsScriptArrayClass *script_array)
+{
+ GObjectClass *gobject;
+
+ ags_script_array_parent_class = g_type_class_peek_parent(script_array);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_array;
+
+ gobject->finalize = ags_script_array_finalize;
+
+ /* AgsScriptArray */
+}
+
+void
+ags_script_array_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_array_connect;
+ connectable->disconnect = ags_script_array_disconnect;
+}
+
+void
+ags_script_array_init(AgsScriptArray *script_array)
+{
+ script_array->flags |= (AGS_SCRIPT_ARRAY_BASE64_ENCODED);
+ script_array->mode = AGS_SCRIPT_ARRAY_CHAR;
+
+ script_array->array = NULL;
+ script_array->dimension = 0;
+
+ script_array->data = NULL;
+ script_array->node = NULL;
+ script_array->length = NULL;
+}
+
+void
+ags_script_array_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_array_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_array_finalize(GObject *gobject)
+{
+ AgsScriptArray *script_array;
+
+ script_array = AGS_SCRIPT_ARRAY(gobject);
+
+ G_OBJECT_CLASS(ags_script_array_parent_class)->finalize(gobject);
+}
+
+AgsScriptObject*
+ags_script_array_launch(AgsScriptObject *script_object, GError **error)
+{
+ AgsScriptArray *script_array;
+ gpointer data;
+ guint i;
+
+ auto gpointer ags_script_array_alloc_recursive(AgsScriptArray *script_array, xmlNode *node);
+ auto void ags_script_array_read(AgsScriptArray *script_array, xmlNode *node, gpointer array, guint length);
+
+ gpointer ags_script_array_alloc_recursive(AgsScriptArray *script_array, xmlNode *node){
+ xmlNode *current;
+ gpointer start, array;
+ guint length;
+ guint i;
+
+ current = node->children;
+ length = strtoul(xmlGetProp(node, "length\0"), NULL, 10);
+
+ if(current == NULL){
+ guint index;
+
+ index = script_array->dimension;
+ script_array->dimension += 1;
+
+ switch(script_array->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(gint16));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(guint16));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(gint32));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(guint32));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(gint64));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(guint64));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(gdouble));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(gchar));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ start =
+ array = (gpointer) malloc(length * sizeof(gpointer));
+ }
+ break;
+ }
+
+ *(gpointer*)script_array->data = (gpointer) realloc(script_array->data, script_array->dimension * sizeof(gpointer));
+ ((gpointer*)script_array->data)[index] = start;
+
+ script_array->node = (xmlNode **) realloc(script_array->node, script_array->dimension * sizeof(xmlNode*));
+ script_array->node[index] = node;
+
+ script_array->length = (guint *) realloc(script_array->length, script_array->dimension * sizeof(guint));
+ script_array->length[index] = length;
+ }else{
+ start =
+ array = (gpointer) malloc(length * sizeof(gpointer));
+
+ for(i = 0; i < length;){
+ if(current->type != XML_ELEMENT_NODE){
+ current = current->next;
+ continue;
+ }
+
+ if(current == NULL){
+ guint index;
+
+ index = script_array->dimension;
+ script_array->dimension += 1;
+
+ *(gpointer*)array = NULL;
+
+ *(gpointer*)script_array->data = (gpointer) realloc(script_array->data, script_array->dimension * sizeof(gpointer));
+ ((gpointer*)script_array->data)[index] = NULL;
+
+ script_array->node = (xmlNode **) realloc(script_array->node, script_array->dimension * sizeof(xmlNode*));
+ script_array->node[index] = NULL;
+
+ script_array->length = (guint *) realloc(script_array->length, script_array->dimension * sizeof(guint));
+ script_array->length[index] = 0;
+ }else{
+ *(gpointer*)array = ags_script_array_alloc_recursive(script_array, current);
+ current = current->next;
+ }
+
+ array++;
+ i++;
+ }
+ }
+
+ return(start);
+ }
+ void ags_script_array_read(AgsScriptArray *script_array, xmlNode *node, gpointer array, guint length){
+ xmlChar *content;
+ gsize retlength;
+
+ if(*(gpointer*)array != NULL){
+ free(*(gpointer*)array);
+ }
+
+ content = xmlNodeGetContent(node);
+ *(gpointer*)array = (gpointer) g_base64_decode(content, &retlength);
+ }
+
+ script_array = AGS_SCRIPT_ARRAY(script_object);
+
+ if((AGS_SCRIPT_OBJECT_LAUNCHED & (script_object->flags)) == 0){
+ script_array->array = ags_script_array_alloc_recursive(script_array, script_object->node);
+
+ script_object->flags |= AGS_SCRIPT_OBJECT_LAUNCHED;
+ }
+
+ if((AGS_SCRIPT_OBJECT_RETVAL_RESET & (script_object->flags)) != 0){
+ data = script_array->data;
+
+ for(i = 0; i < script_array->dimension; i++){
+ ags_script_array_read(script_array, script_array->node[i], ((gpointer*) data)[i], script_array->length[i]);
+ }
+
+ script_object->flags &= (~AGS_SCRIPT_OBJECT_RETVAL_RESET);
+ }
+
+ return(script_object);
+}
+
+AgsScriptArray*
+ags_script_array_new()
+{
+ AgsScriptArray *script_array;
+
+ script_array = (AgsScriptArray *) g_object_new(AGS_TYPE_SCRIPT_ARRAY,
+ NULL);
+
+ return(script_array);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_array.h b/src/ags-client/scripting/mapping/ags_script_array.h
new file mode 100644
index 0000000..ad95e3b
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_array.h
@@ -0,0 +1,78 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_ARRAY_H__
+#define __AGS_SCRIPT_ARRAY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_ARRAY (ags_script_array_get_type())
+#define AGS_SCRIPT_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_ARRAY, AgsScriptArray))
+#define AGS_SCRIPT_ARRAY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_ARRAY, AgsScriptArrayClass))
+#define AGS_IS_SCRIPT_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_ARRAY))
+#define AGS_IS_SCRIPT_ARRAY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_ARRAY))
+#define AGS_SCRIPT_ARRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_ARRAY, AgsScriptArrayClass))
+
+typedef struct _AgsScriptArray AgsScriptArray;
+typedef struct _AgsScriptArrayClass AgsScriptArrayClass;
+
+typedef enum{
+ AGS_SCRIPT_ARRAY_UTF8_ENCODED = 1,
+ AGS_SCRIPT_ARRAY_BASE64_ENCODED = 1 << 1,
+}AgsScriptArrayFlags;
+
+typedef enum{
+ AGS_SCRIPT_ARRAY_INT16,
+ AGS_SCRIPT_ARRAY_UINT16,
+ AGS_SCRIPT_ARRAY_INT32,
+ AGS_SCRIPT_ARRAY_UINT32,
+ AGS_SCRIPT_ARRAY_INT64,
+ AGS_SCRIPT_ARRAY_UINT64,
+ AGS_SCRIPT_ARRAY_DOUBLE,
+ AGS_SCRIPT_ARRAY_CHAR,
+ AGS_SCRIPT_ARRAY_POINTER,
+}AgsScriptArrayMode;
+
+struct _AgsScriptArray
+{
+ AgsScriptObject object;
+
+ guint flags;
+ guint mode;
+
+ gpointer array;
+ guint dimension;
+
+ gpointer data;
+ xmlNode **node;
+ guint *length;
+};
+
+struct _AgsScriptArrayClass
+{
+ AgsScriptObjectClass object;
+};
+
+GType ags_script_array_get_type();
+
+AgsScriptArray* ags_script_array_new();
+
+#endif /*__AGS_SCRIPT_ARRAY_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_controller.c b/src/ags-client/scripting/mapping/ags_script_controller.c
new file mode 100644
index 0000000..c26f914
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_controller.c
@@ -0,0 +1,235 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/ags_xml_interpreter.h>
+#include <ags-client/scripting/ags_xml_script_factory.h>
+
+#include <libxml/tree.h>
+
+#include <stdlib.h>
+#include <string.h>
+
+void ags_script_controller_class_init(AgsScriptControllerClass *script_controller);
+void ags_script_controller_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_controller_init(AgsScriptController *script_controller);
+void ags_script_controller_connect(AgsConnectable *connectable);
+void ags_script_controller_disconnect(AgsConnectable *connectable);
+void ags_script_controller_finalize(GObject *gobject);
+
+AgsScriptObject* ags_script_controller_launch(AgsScriptObject *script_object, GError **error);
+
+static gpointer ags_script_controller_parent_class = NULL;
+
+GType
+ags_script_controller_get_type()
+{
+ static GType ags_type_script_controller = 0;
+
+ if(!ags_type_script_controller){
+ static const GTypeInfo ags_script_controller_info = {
+ sizeof (AgsScriptControllerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_controller_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptController),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_controller_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_controller_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_controller = g_type_register_static(G_TYPE_OBJECT,
+ "AgsScriptController\0",
+ &ags_script_controller_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_controller,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_controller);
+}
+
+void
+ags_script_controller_class_init(AgsScriptControllerClass *script_controller)
+{
+ AgsScriptObjectClass *script_object;
+ GObjectClass *gobject;
+
+ ags_script_controller_parent_class = g_type_class_peek_parent(script_controller);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_controller;
+
+ gobject->finalize = ags_script_controller_finalize;
+
+ /* AgsScriptObjectClass */
+ script_object = (AgsScriptObjectClass *) script_controller;
+
+ script_object->launch = ags_script_controller_launch;
+}
+
+void
+ags_script_controller_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_controller_connect;
+ connectable->disconnect = ags_script_controller_disconnect;
+}
+
+void
+ags_script_controller_init(AgsScriptController *script_controller)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_controller_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_controller_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_controller_finalize(GObject *gobject)
+{
+ AgsScriptController *script_controller;
+
+ script_controller = AGS_SCRIPT_CONTROLLER(gobject);
+
+ G_OBJECT_CLASS(ags_script_controller_parent_class)->finalize(gobject);
+}
+
+AgsScriptObject*
+ags_script_controller_launch(AgsScriptObject *script_object, GError **error)
+{
+ AgsScriptObject *retval, *last_retval;
+ xmlNode *current;
+ guint z_index;
+
+ z_index = strtoul(xmlGetProp(script_object->node, "z_index\0"), NULL, 10);
+ z_index++;
+
+ if((AGS_SCRIPT_OBJECT_LAUNCHED & (script_object->flags)) == 0){
+ current = script_object->node->children;
+
+ while(current != NULL){
+ if(z_index != strtoul(xmlGetProp(retval->node, "z_index\0"), NULL, 10)){
+ break;
+ }
+
+ if(XML_ELEMENT_NODE == current->type){
+ ags_script_object_launch(retval, error);
+ }
+
+ last_retval = retval;
+ retval = retval->retval;
+
+ current = current->next;
+ }
+
+ /* check if stack is outdated */
+ /* create new AgsScriptObject */
+ if(current != NULL){
+ AgsScriptObject *next_retval;
+ GType type;
+
+ while(current != NULL){
+ if(z_index != strtoul(xmlGetProp(retval->node, "z_index\0"), NULL, 10)){
+ break;
+ }
+
+ if(XML_ELEMENT_NODE == current->type){
+ /* instantiate on the fly */
+ type = ags_xml_interpreter_type_from_name((gchar *) current->name);
+ next_retval = (AgsScriptObject *) g_object_new(type,
+ NULL);
+
+ next_retval->script = retval->script;
+
+ /* launch */
+ retval->retval = next_retval;
+ retval = next_retval;
+
+ ags_script_object_launch(retval, error);
+
+ last_retval = retval;
+ }
+
+ current = current->next;
+ }
+ }
+
+ /* report invalid z_index */
+ if(current != NULL){
+ while(current != NULL){
+ if(XML_ELEMENT_NODE == current->type){
+ g_message("found inactive node: %s\0", current->name);
+ }
+
+ current = current->next;
+ }
+ }
+
+ /* unref unneeded AgsScriptObject */
+ if(z_index == strtoul(xmlGetProp(retval->node, "z_index\0"), NULL, 10)){
+ AgsScriptObject *start, *next_retval;
+
+ start = last_retval;
+
+ while(z_index == strtoul(xmlGetProp(retval->node, "z_index\0"), NULL, 10)){
+ next_retval = retval->retval;
+
+ g_message("found lost object: %s\0", G_OBJECT_TYPE_NAME(retval));
+ g_object_unref(G_OBJECT(retval));
+
+ retval = next_retval;
+ }
+
+ start->retval = retval;
+ }
+ }
+
+ return(last_retval);
+}
+
+AgsScriptController*
+ags_script_controller_new()
+{
+ AgsScriptController *script_controller;
+
+ script_controller = (AgsScriptController *) g_object_new(AGS_TYPE_SCRIPT_CONTROLLER,
+ NULL);
+
+ return(script_controller);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_controller.h b/src/ags-client/scripting/mapping/ags_script_controller.h
new file mode 100644
index 0000000..755f403
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_controller.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_CONTROLLER_H__
+#define __AGS_SCRIPT_CONTROLLER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_CONTROLLER (ags_script_controller_get_type())
+#define AGS_SCRIPT_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_CONTROLLER, AgsScriptController))
+#define AGS_SCRIPT_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_CONTROLLER, AgsScriptControllerClass))
+#define AGS_IS_SCRIPT_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_CONTROLLER))
+#define AGS_IS_SCRIPT_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_CONTROLLER))
+#define AGS_SCRIPT_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_CONTROLLER, AgsScriptControllerClass))
+
+typedef struct _AgsScriptController AgsScriptController;
+typedef struct _AgsScriptControllerClass AgsScriptControllerClass;
+
+struct _AgsScriptController
+{
+ AgsScriptObject script_object;
+};
+
+struct _AgsScriptControllerClass
+{
+ AgsScriptObjectClass script_object;
+};
+
+GType ags_script_controller_get_type();
+
+AgsScriptController* ags_script_controller_new();
+
+#endif /*__AGS_SCRIPT_CONTROLLER_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_do_while.c b/src/ags-client/scripting/mapping/ags_script_do_while.c
new file mode 100644
index 0000000..1867e58
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_do_while.c
@@ -0,0 +1,152 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_do_while.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/mapping/ags_script_array.h>
+
+void ags_script_do_while_class_init(AgsScriptControllerClass *script_do_while);
+void ags_script_do_while_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_do_while_init(AgsScriptDoWhile *script_do_while);
+void ags_script_do_while_connect(AgsConnectable *connectable);
+void ags_script_do_while_disconnect(AgsConnectable *connectable);
+void ags_script_do_while_finalize(GObject *gobject);
+
+AgsScriptObject* ags_script_do_while_launch(AgsScriptObject *script_object, GError **error);
+
+static gpointer ags_script_do_while_parent_class = NULL;
+
+GType
+ags_script_do_while_get_type()
+{
+ static GType ags_type_script_do_while = 0;
+
+ if(!ags_type_script_do_while){
+ static const GTypeInfo ags_script_do_while_info = {
+ sizeof (AgsScriptControllerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_do_while_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptController),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_do_while_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_do_while_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_do_while = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptController\0",
+ &ags_script_do_while_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_do_while,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_do_while);
+}
+
+void
+ags_script_do_while_class_init(AgsScriptControllerClass *script_do_while)
+{
+ AgsScriptObjectClass *script_object;
+ GObjectClass *gobject;
+
+ ags_script_do_while_parent_class = g_type_class_peek_parent(script_do_while);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_do_while;
+
+ gobject->finalize = ags_script_do_while_finalize;
+
+ /* AgsScriptObjectClass */
+ script_object = (AgsScriptObjectClass *) script_do_while;
+
+ script_object->launch = ags_script_do_while_launch;
+}
+
+void
+ags_script_do_while_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_do_while_connect;
+ connectable->disconnect = ags_script_do_while_disconnect;
+}
+
+void
+ags_script_do_while_init(AgsScriptDoWhile *script_do_while)
+{
+ script_do_while->loop_control = ags_script_set_new();
+}
+
+void
+ags_script_do_while_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_do_while_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_do_while_finalize(GObject *gobject)
+{
+ AgsScriptDoWhile *script_do_while;
+
+ script_do_while = AGS_SCRIPT_DO_WHILE(gobject);
+
+ g_object_unref(G_OBJECT(script_do_while->loop_control));
+
+ G_OBJECT_CLASS(ags_script_do_while_parent_class)->finalize(gobject);
+}
+
+AgsScriptObject*
+ags_script_do_while_launch(AgsScriptObject *script_object, GError **error)
+{
+ AgsScriptDoWhile *script_do_while;
+ AgsScriptSet *loop_control;
+
+ script_do_while = AGS_SCRIPT_DO_WHILE(script_object);
+ loop_control = AGS_SCRIPT_SET(script_do_while->loop_control);
+
+ do{
+ AGS_SCRIPT_OBJECT_CLASS(ags_script_do_while_parent_class)->launch(script_object, error);
+ }while(ags_script_set_boolean_term(loop_control));
+}
+
+AgsScriptDoWhile*
+ags_script_do_while_new()
+{
+ AgsScriptDoWhile *script_do_while;
+
+ script_do_while = (AgsScriptDoWhile *) g_object_new(AGS_TYPE_SCRIPT_DO_WHILE,
+ NULL);
+
+ return(script_do_while);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_do_while.h b/src/ags-client/scripting/mapping/ags_script_do_while.h
new file mode 100644
index 0000000..54e8f51
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_do_while.h
@@ -0,0 +1,54 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_DO_WHILE_H__
+#define __AGS_SCRIPT_DO_WHILE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+#include <ags-client/scripting/mapping/ags_script_set.h>
+
+#define AGS_TYPE_SCRIPT_DO_WHILE (ags_script_do_while_get_type())
+#define AGS_SCRIPT_DO_WHILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_DO_WHILE, AgsScriptDoWhile))
+#define AGS_SCRIPT_DO_WHILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_DO_WHILE, AgsScriptDoWhileClass))
+#define AGS_IS_SCRIPT_DO_WHILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_DO_WHILE))
+#define AGS_IS_SCRIPT_DO_WHILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_DO_WHILE))
+#define AGS_SCRIPT_DO_WHILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_DO_WHILE, AgsScriptDoWhileClass))
+
+typedef struct _AgsScriptDoWhile AgsScriptDoWhile;
+typedef struct _AgsScriptDoWhileClass AgsScriptDoWhileClass;
+
+struct _AgsScriptDoWhile
+{
+ AgsScriptController controller;
+
+ AgsScriptSet *loop_control;
+};
+
+struct _AgsScriptDoWhileClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_do_while_get_type();
+
+AgsScriptDoWhile* ags_script_do_while_new();
+
+#endif /*__AGS_SCRIPT_DO_WHILE_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_for.c b/src/ags-client/scripting/mapping/ags_script_for.c
new file mode 100644
index 0000000..3069c39
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_for.c
@@ -0,0 +1,160 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_for.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_for_class_init(AgsScriptForClass *script_for);
+void ags_script_for_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_for_init(AgsScriptFor *script_for);
+void ags_script_for_connect(AgsConnectable *connectable);
+void ags_script_for_disconnect(AgsConnectable *connectable);
+void ags_script_for_finalize(GObject *gobject);
+
+AgsScriptObject* ags_script_for_launch(AgsScriptObject *script_object, GError **error);
+
+static gpointer ags_script_for_parent_class = NULL;
+
+GType
+ags_script_for_get_type()
+{
+ static GType ags_type_script_for = 0;
+
+ if(!ags_type_script_for){
+ static const GTypeInfo ags_script_for_info = {
+ sizeof (AgsScriptForClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_for_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptFor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_for_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_for_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_for = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptFor\0",
+ &ags_script_for_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_for,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_for);
+}
+
+void
+ags_script_for_class_init(AgsScriptForClass *script_for)
+{
+ AgsScriptObjectClass *script_object;
+ GObjectClass *gobject;
+
+ ags_script_for_parent_class = g_type_class_peek_parent(script_for);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_for;
+
+ gobject->finalize = ags_script_for_finalize;
+
+ /* AgsScriptObjectClass */
+ script_object = (AgsScriptObjectClass *) script_for;
+
+ script_object->launch = ags_script_for_launch;
+}
+
+void
+ags_script_for_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_for_connect;
+ connectable->disconnect = ags_script_for_disconnect;
+}
+
+void
+ags_script_for_init(AgsScriptFor *script_for)
+{
+ script_for->initializer = ags_script_set_new();
+ script_for->loop_control = ags_script_set_new();
+ script_for->step = ags_script_set_new();
+}
+
+void
+ags_script_for_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_for_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_for_finalize(GObject *gobject)
+{
+ AgsScriptFor *script_for;
+
+ script_for = AGS_SCRIPT_FOR(gobject);
+
+ g_object_unref(G_OBJECT(script_for->initializer));
+ g_object_unref(G_OBJECT(script_for->loop_control));
+ g_object_unref(G_OBJECT(script_for->step));
+
+ G_OBJECT_CLASS(ags_script_for_parent_class)->finalize(gobject);
+}
+
+AgsScriptObject*
+ags_script_for_launch(AgsScriptObject *script_object, GError **error)
+{
+ AgsScriptFor *script_for;
+ AgsScriptSet *initializer, *loop_control, *step;
+ GError *initializer_error, *step_error, *body_error;
+
+ script_for = AGS_SCRIPT_FOR(script_object);
+
+ initializer = AGS_SCRIPT_SET(script_for->initializer);
+ loop_control = AGS_SCRIPT_SET(script_for->loop_control);
+ step = AGS_SCRIPT_SET(script_for->step);
+
+ for(ags_script_object_launch(AGS_SCRIPT_OBJECT(initializer), &initializer_error);
+ ags_script_set_boolean_term(loop_control);
+ ags_script_object_launch(AGS_SCRIPT_OBJECT(step), &step_error)){
+ AGS_SCRIPT_OBJECT_CLASS(ags_script_for_parent_class)->launch(script_object, body_error);
+ }
+}
+
+AgsScriptFor*
+ags_script_for_new()
+{
+ AgsScriptFor *script_for;
+
+ script_for = (AgsScriptFor *) g_object_new(AGS_TYPE_SCRIPT_FOR,
+ NULL);
+
+ return(script_for);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_for.h b/src/ags-client/scripting/mapping/ags_script_for.h
new file mode 100644
index 0000000..933ffcd
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_for.h
@@ -0,0 +1,56 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_FOR_H__
+#define __AGS_SCRIPT_FOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+#include <ags-client/scripting/mapping/ags_script_set.h>
+
+#define AGS_TYPE_SCRIPT_FOR (ags_script_for_get_type())
+#define AGS_SCRIPT_FOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_FOR, AgsScriptFor))
+#define AGS_SCRIPT_FOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_FOR, AgsScriptForClass))
+#define AGS_IS_SCRIPT_FOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_FOR))
+#define AGS_IS_SCRIPT_FOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_FOR))
+#define AGS_SCRIPT_FOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_FOR, AgsScriptForClass))
+
+typedef struct _AgsScriptFor AgsScriptFor;
+typedef struct _AgsScriptForClass AgsScriptForClass;
+
+struct _AgsScriptFor
+{
+ AgsScriptController controller;
+
+ AgsScriptSet *initializer;
+ AgsScriptSet *loop_control;
+ AgsScriptSet *step;
+};
+
+struct _AgsScriptForClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_for_get_type();
+
+AgsScriptFor* ags_script_for_new();
+
+#endif /*__AGS_SCRIPT_FOR_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_fprintf.c b/src/ags-client/scripting/mapping/ags_script_fprintf.c
new file mode 100644
index 0000000..9ab9f12
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_fprintf.c
@@ -0,0 +1,144 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_fprintf.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_fprintf_class_init(AgsScriptFPrintfClass *script_fprintf);
+void ags_script_fprintf_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_fprintf_init(AgsScriptFPrintf *script_fprintf);
+void ags_script_fprintf_connect(AgsConnectable *connectable);
+void ags_script_fprintf_disconnect(AgsConnectable *connectable);
+void ags_script_fprintf_finalize(GObject *gobject);
+
+AgsScriptObject* ags_script_fprintf_launch(AgsScriptObject *script_object, GError **error);
+
+static gpointer ags_script_fprintf_parent_class = NULL;
+
+GType
+ags_script_fprintf_get_type()
+{
+ static GType ags_type_script_fprintf = 0;
+
+ if(!ags_type_script_fprintf){
+ static const GTypeInfo ags_script_fprintf_info = {
+ sizeof (AgsScriptFPrintfClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_fprintf_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptFPrintf),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_fprintf_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_fprintf_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_fprintf = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptFPrintf\0",
+ &ags_script_fprintf_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_fprintf,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_fprintf);
+}
+
+void
+ags_script_fprintf_class_init(AgsScriptFPrintfClass *script_fprintf)
+{
+ AgsScriptObjectClass *script_object;
+ GObjectClass *gobject;
+
+ ags_script_fprintf_parent_class = g_type_class_peek_parent(script_fprintf);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_fprintf;
+
+ gobject->finalize = ags_script_fprintf_finalize;
+
+ /* AgsScriptObjectClass */
+ script_object = (AgsScriptObjectClass *) script_fprintf;
+
+ script_object->launch = ags_script_fprintf_launch;
+}
+
+void
+ags_script_fprintf_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_fprintf_connect;
+ connectable->disconnect = ags_script_fprintf_disconnect;
+}
+
+void
+ags_script_fprintf_init(AgsScriptFPrintf *script_fprintf)
+{
+ script_fprintf->args = NULL;
+}
+
+void
+ags_script_fprintf_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_fprintf_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_fprintf_finalize(GObject *gobject)
+{
+ AgsScriptFPrintf *script_fprintf;
+
+ script_fprintf = AGS_SCRIPT_FPRINTF(gobject);
+
+ g_object_unref(script_fprintf->args);
+
+ G_OBJECT_CLASS(ags_script_fprintf_parent_class)->finalize(gobject);
+}
+
+AgsScriptObject*
+ags_script_fprintf_launch(AgsScriptObject *script_object, GError **error)
+{
+ //TODO:JK: implement me
+
+ return(script_object);
+}
+
+AgsScriptFPrintf*
+ags_script_fprintf_new()
+{
+ AgsScriptFPrintf *script_fprintf;
+
+ script_fprintf = (AgsScriptFPrintf *) g_object_new(AGS_TYPE_SCRIPT_FPRINTF,
+ NULL);
+
+ return(script_fprintf);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_fprintf.h b/src/ags-client/scripting/mapping/ags_script_fprintf.h
new file mode 100644
index 0000000..f74db4d
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_fprintf.h
@@ -0,0 +1,54 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_FPRINTF_H__
+#define __AGS_SCRIPT_FPRINTF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+#include <ags-client/scripting/mapping/ags_script_stack.h>
+
+#define AGS_TYPE_SCRIPT_FPRINTF (ags_script_fprintf_get_type())
+#define AGS_SCRIPT_FPRINTF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_FPRINTF, AgsScriptFPrintf))
+#define AGS_SCRIPT_FPRINTF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_FPRINTF, AgsScriptFPrintfClass))
+#define AGS_IS_SCRIPT_FPRINTF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_FPRINTF))
+#define AGS_IS_SCRIPT_FPRINTF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_FPRINTF))
+#define AGS_SCRIPT_FPRINTF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_FPRINTF, AgsScriptFPrintfClass))
+
+typedef struct _AgsScriptFPrintf AgsScriptFPrintf;
+typedef struct _AgsScriptFPrintfClass AgsScriptFPrintfClass;
+
+struct _AgsScriptFPrintf
+{
+ AgsScriptController controller;
+
+ AgsScriptStack *args;
+};
+
+struct _AgsScriptFPrintfClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_fprintf_get_type();
+
+AgsScriptFPrintf* ags_script_fprintf_new();
+
+#endif /*__AGS_SCRIPT_FPRINTF_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_fscanf.c b/src/ags-client/scripting/mapping/ags_script_fscanf.c
new file mode 100644
index 0000000..f6e28c2
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_fscanf.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_fscanf.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_fscanf_class_init(AgsScriptFScanfClass *script_fscanf);
+void ags_script_fscanf_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_fscanf_init(AgsScriptFScanf *script_fscanf);
+void ags_script_fscanf_connect(AgsConnectable *connectable);
+void ags_script_fscanf_disconnect(AgsConnectable *connectable);
+void ags_script_fscanf_finalize(GObject *gobject);
+
+static gpointer ags_script_fscanf_parent_class = NULL;
+
+GType
+ags_script_fscanf_get_type()
+{
+ static GType ags_type_script_fscanf = 0;
+
+ if(!ags_type_script_fscanf){
+ static const GTypeInfo ags_script_fscanf_info = {
+ sizeof (AgsScriptFScanfClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_fscanf_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptFScanf),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_fscanf_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_fscanf_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_fscanf = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptFScanf\0",
+ &ags_script_fscanf_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_fscanf,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_fscanf);
+}
+
+void
+ags_script_fscanf_class_init(AgsScriptFScanfClass *script_fscanf)
+{
+ GObjectClass *gobject;
+
+ ags_script_fscanf_parent_class = g_type_class_peek_parent(script_fscanf);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_fscanf;
+
+ gobject->finalize = ags_script_fscanf_finalize;
+}
+
+void
+ags_script_fscanf_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_fscanf_connect;
+ connectable->disconnect = ags_script_fscanf_disconnect;
+}
+
+void
+ags_script_fscanf_init(AgsScriptFScanf *script_fscanf)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_fscanf_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_fscanf_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_fscanf_finalize(GObject *gobject)
+{
+ AgsScriptFScanf *script_fscanf;
+
+ script_fscanf = AGS_SCRIPT_FSCANF(gobject);
+
+ G_OBJECT_CLASS(ags_script_fscanf_parent_class)->finalize(gobject);
+}
+
+AgsScriptFScanf*
+ags_script_fscanf_new()
+{
+ AgsScriptFScanf *script_fscanf;
+
+ script_fscanf = (AgsScriptFScanf *) g_object_new(AGS_TYPE_SCRIPT_FSCANF,
+ NULL);
+
+ return(script_fscanf);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_fscanf.h b/src/ags-client/scripting/mapping/ags_script_fscanf.h
new file mode 100644
index 0000000..a19e4e6
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_fscanf.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_FSCANF_H__
+#define __AGS_SCRIPT_FSCANF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_FSCANF (ags_script_fscanf_get_type())
+#define AGS_SCRIPT_FSCANF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_FSCANF, AgsScriptFScanf))
+#define AGS_SCRIPT_FSCANF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_FSCANF, AgsScriptFScanfClass))
+#define AGS_IS_SCRIPT_FSCANF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_FSCANF))
+#define AGS_IS_SCRIPT_FSCANF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_FSCANF))
+#define AGS_SCRIPT_FSCANF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_FSCANF, AgsScriptFScanfClass))
+
+typedef struct _AgsScriptFScanf AgsScriptFScanf;
+typedef struct _AgsScriptFScanfClass AgsScriptFScanfClass;
+
+struct _AgsScriptFScanf
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptFScanfClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_fscanf_get_type();
+
+AgsScriptFScanf* ags_script_fscanf_new();
+
+#endif /*__AGS_SCRIPT_FSCANF_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_function.c b/src/ags-client/scripting/mapping/ags_script_function.c
new file mode 100644
index 0000000..2842612
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_function.c
@@ -0,0 +1,128 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_function.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+void ags_script_function_class_init(AgsScriptFunctionClass *script_function);
+void ags_script_function_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_function_init(AgsScriptFunction *script_function);
+void ags_script_function_connect(AgsConnectable *connectable);
+void ags_script_function_disconnect(AgsConnectable *connectable);
+void ags_script_function_finalize(GObject *gobject);
+
+static gpointer ags_script_function_parent_class = NULL;
+
+GType
+ags_script_function_get_type()
+{
+ static GType ags_type_script_function = 0;
+
+ if(!ags_type_script_function){
+ static const GTypeInfo ags_script_function_info = {
+ sizeof (AgsScriptFunctionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_function_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptFunction),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_function_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_function_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_function = g_type_register_static(AGS_TYPE_SCRIPT_OBJECT,
+ "AgsScriptFunction\0",
+ &ags_script_function_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_function,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_function);
+}
+
+void
+ags_script_function_class_init(AgsScriptFunctionClass *script_function)
+{
+ GObjectClass *gobject;
+
+ ags_script_function_parent_class = g_type_class_peek_parent(script_function);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_function;
+
+ gobject->finalize = ags_script_function_finalize;
+}
+
+void
+ags_script_function_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_function_connect;
+ connectable->disconnect = ags_script_function_disconnect;
+}
+
+void
+ags_script_function_init(AgsScriptFunction *script_function)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_function_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_function_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_function_finalize(GObject *gobject)
+{
+ AgsScriptFunction *script_function;
+
+ script_function = AGS_SCRIPT_FUNCTION(gobject);
+
+ G_OBJECT_CLASS(ags_script_function_parent_class)->finalize(gobject);
+}
+
+AgsScriptFunction*
+ags_script_function_new()
+{
+ AgsScriptFunction *script_function;
+
+ script_function = (AgsScriptFunction *) g_object_new(AGS_TYPE_SCRIPT_FUNCTION,
+ NULL);
+
+ return(script_function);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_function.h b/src/ags-client/scripting/mapping/ags_script_function.h
new file mode 100644
index 0000000..1ca2563
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_function.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_FUNCTION_H__
+#define __AGS_SCRIPT_FUNCTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_FUNCTION (ags_script_function_get_type())
+#define AGS_SCRIPT_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_FUNCTION, AgsScriptFunction))
+#define AGS_SCRIPT_FUNCTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_FUNCTION, AgsScriptFunctionClass))
+#define AGS_IS_SCRIPT_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_FUNCTION))
+#define AGS_IS_SCRIPT_FUNCTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_FUNCTION))
+#define AGS_SCRIPT_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_FUNCTION, AgsScriptFunctionClass))
+
+typedef struct _AgsScriptFunction AgsScriptFunction;
+typedef struct _AgsScriptFunctionClass AgsScriptFunctionClass;
+
+struct _AgsScriptFunction
+{
+ AgsScriptObject script_object;
+};
+
+struct _AgsScriptFunctionClass
+{
+ AgsScriptObjectClass script_object;
+};
+
+GType ags_script_function_get_type();
+
+AgsScriptFunction* ags_script_function_new();
+
+#endif /*__AGS_SCRIPT_FUNCTION_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_host.c b/src/ags-client/scripting/mapping/ags_script_host.c
new file mode 100644
index 0000000..51275d9
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_host.c
@@ -0,0 +1,128 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_host.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+void ags_script_host_class_init(AgsScriptHostClass *script_host);
+void ags_script_host_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_host_init(AgsScriptHost *script_host);
+void ags_script_host_connect(AgsConnectable *connectable);
+void ags_script_host_disconnect(AgsConnectable *connectable);
+void ags_script_host_finalize(GObject *gobject);
+
+static gpointer ags_script_host_parent_class = NULL;
+
+GType
+ags_script_host_get_type()
+{
+ static GType ags_type_script_host = 0;
+
+ if(!ags_type_script_host){
+ static const GTypeInfo ags_script_host_info = {
+ sizeof (AgsScriptHostClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_host_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptHost),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_host_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_host_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_host = g_type_register_static(AGS_TYPE_SCRIPT_OBJECT,
+ "AgsScriptHost\0",
+ &ags_script_host_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_host,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_host);
+}
+
+void
+ags_script_host_class_init(AgsScriptHostClass *script_host)
+{
+ GObjectClass *gobject;
+
+ ags_script_host_parent_class = g_type_class_peek_parent(script_host);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_host;
+
+ gobject->finalize = ags_script_host_finalize;
+}
+
+void
+ags_script_host_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_host_connect;
+ connectable->disconnect = ags_script_host_disconnect;
+}
+
+void
+ags_script_host_init(AgsScriptHost *script_host)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_host_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_host_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_host_finalize(GObject *gobject)
+{
+ AgsScriptHost *script_host;
+
+ script_host = AGS_SCRIPT_HOST(gobject);
+
+ G_OBJECT_CLASS(ags_script_host_parent_class)->finalize(gobject);
+}
+
+AgsScriptHost*
+ags_script_host_new()
+{
+ AgsScriptHost *script_host;
+
+ script_host = (AgsScriptHost *) g_object_new(AGS_TYPE_SCRIPT_HOST,
+ NULL);
+
+ return(script_host);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_host.h b/src/ags-client/scripting/mapping/ags_script_host.h
new file mode 100644
index 0000000..e58f5ee
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_host.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_HOST_H__
+#define __AGS_SCRIPT_HOST_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_HOST (ags_script_host_get_type())
+#define AGS_SCRIPT_HOST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_HOST, AgsScriptHost))
+#define AGS_SCRIPT_HOST_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_HOST, AgsScriptHostClass))
+#define AGS_IS_SCRIPT_HOST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_HOST))
+#define AGS_IS_SCRIPT_HOST_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_HOST))
+#define AGS_SCRIPT_HOST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_HOST, AgsScriptHostClass))
+
+typedef struct _AgsScriptHost AgsScriptHost;
+typedef struct _AgsScriptHostClass AgsScriptHostClass;
+
+struct _AgsScriptHost
+{
+ AgsScriptObject script_object;
+};
+
+struct _AgsScriptHostClass
+{
+ AgsScriptObjectClass script_object;
+};
+
+GType ags_script_host_get_type();
+
+AgsScriptHost* ags_script_host_new();
+
+#endif /*__AGS_SCRIPT_HOST_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_if.c b/src/ags-client/scripting/mapping/ags_script_if.c
new file mode 100644
index 0000000..9c31487
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_if.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_if.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_if_class_init(AgsScriptIfClass *script_if);
+void ags_script_if_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_if_init(AgsScriptIf *script_if);
+void ags_script_if_connect(AgsConnectable *connectable);
+void ags_script_if_disconnect(AgsConnectable *connectable);
+void ags_script_if_finalize(GObject *gobject);
+
+static gpointer ags_script_if_parent_class = NULL;
+
+GType
+ags_script_if_get_type()
+{
+ static GType ags_type_script_if = 0;
+
+ if(!ags_type_script_if){
+ static const GTypeInfo ags_script_if_info = {
+ sizeof (AgsScriptIfClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_if_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptIf),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_if_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_if_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_if = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptIf\0",
+ &ags_script_if_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_if,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_if);
+}
+
+void
+ags_script_if_class_init(AgsScriptIfClass *script_if)
+{
+ GObjectClass *gobject;
+
+ ags_script_if_parent_class = g_type_class_peek_parent(script_if);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_if;
+
+ gobject->finalize = ags_script_if_finalize;
+}
+
+void
+ags_script_if_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_if_connect;
+ connectable->disconnect = ags_script_if_disconnect;
+}
+
+void
+ags_script_if_init(AgsScriptIf *script_if)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_if_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_if_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_if_finalize(GObject *gobject)
+{
+ AgsScriptIf *script_if;
+
+ script_if = AGS_SCRIPT_IF(gobject);
+
+ G_OBJECT_CLASS(ags_script_if_parent_class)->finalize(gobject);
+}
+
+AgsScriptIf*
+ags_script_if_new()
+{
+ AgsScriptIf *script_if;
+
+ script_if = (AgsScriptIf *) g_object_new(AGS_TYPE_SCRIPT_IF,
+ NULL);
+
+ return(script_if);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_if.h b/src/ags-client/scripting/mapping/ags_script_if.h
new file mode 100644
index 0000000..4173c89
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_if.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_IF_H__
+#define __AGS_SCRIPT_IF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_IF (ags_script_if_get_type())
+#define AGS_SCRIPT_IF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_IF, AgsScriptIf))
+#define AGS_SCRIPT_IF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_IF, AgsScriptIfClass))
+#define AGS_IS_SCRIPT_IF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_IF))
+#define AGS_IS_SCRIPT_IF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_IF))
+#define AGS_SCRIPT_IF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_IF, AgsScriptIfClass))
+
+typedef struct _AgsScriptIf AgsScriptIf;
+typedef struct _AgsScriptIfClass AgsScriptIfClass;
+
+struct _AgsScriptIf
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptIfClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_if_get_type();
+
+AgsScriptIf* ags_script_if_new();
+
+#endif /*__AGS_SCRIPT_IF_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_memcpy.c b/src/ags-client/scripting/mapping/ags_script_memcpy.c
new file mode 100644
index 0000000..4bf8910
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_memcpy.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_memcpy.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_memcpy_class_init(AgsScriptMemcpyClass *script_memcpy);
+void ags_script_memcpy_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_memcpy_init(AgsScriptMemcpy *script_memcpy);
+void ags_script_memcpy_connect(AgsConnectable *connectable);
+void ags_script_memcpy_disconnect(AgsConnectable *connectable);
+void ags_script_memcpy_finalize(GObject *gobject);
+
+static gpointer ags_script_memcpy_parent_class = NULL;
+
+GType
+ags_script_memcpy_get_type()
+{
+ static GType ags_type_script_memcpy = 0;
+
+ if(!ags_type_script_memcpy){
+ static const GTypeInfo ags_script_memcpy_info = {
+ sizeof (AgsScriptMemcpyClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_memcpy_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptMemcpy),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_memcpy_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_memcpy_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_memcpy = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptMemcpy\0",
+ &ags_script_memcpy_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_memcpy,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_memcpy);
+}
+
+void
+ags_script_memcpy_class_init(AgsScriptMemcpyClass *script_memcpy)
+{
+ GObjectClass *gobject;
+
+ ags_script_memcpy_parent_class = g_type_class_peek_parent(script_memcpy);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_memcpy;
+
+ gobject->finalize = ags_script_memcpy_finalize;
+}
+
+void
+ags_script_memcpy_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_memcpy_connect;
+ connectable->disconnect = ags_script_memcpy_disconnect;
+}
+
+void
+ags_script_memcpy_init(AgsScriptMemcpy *script_memcpy)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_memcpy_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_memcpy_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_memcpy_finalize(GObject *gobject)
+{
+ AgsScriptMemcpy *script_memcpy;
+
+ script_memcpy = AGS_SCRIPT_MEMCPY(gobject);
+
+ G_OBJECT_CLASS(ags_script_memcpy_parent_class)->finalize(gobject);
+}
+
+AgsScriptMemcpy*
+ags_script_memcpy_new()
+{
+ AgsScriptMemcpy *script_memcpy;
+
+ script_memcpy = (AgsScriptMemcpy *) g_object_new(AGS_TYPE_SCRIPT_MEMCPY,
+ NULL);
+
+ return(script_memcpy);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_memcpy.h b/src/ags-client/scripting/mapping/ags_script_memcpy.h
new file mode 100644
index 0000000..26fe09b
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_memcpy.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_MEMCPY_H__
+#define __AGS_SCRIPT_MEMCPY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_MEMCPY (ags_script_memcpy_get_type())
+#define AGS_SCRIPT_MEMCPY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_MEMCPY, AgsScriptMemcpy))
+#define AGS_SCRIPT_MEMCPY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_MEMCPY, AgsScriptMemcpyClass))
+#define AGS_IS_SCRIPT_MEMCPY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_MEMCPY))
+#define AGS_IS_SCRIPT_MEMCPY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_MEMCPY))
+#define AGS_SCRIPT_MEMCPY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_MEMCPY, AgsScriptMemcpyClass))
+
+typedef struct _AgsScriptMemcpy AgsScriptMemcpy;
+typedef struct _AgsScriptMemcpyClass AgsScriptMemcpyClass;
+
+struct _AgsScriptMemcpy
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptMemcpyClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_memcpy_get_type();
+
+AgsScriptMemcpy* ags_script_memcpy_new();
+
+#endif /*__AGS_SCRIPT_MEMCPY_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_nanosleep.c b/src/ags-client/scripting/mapping/ags_script_nanosleep.c
new file mode 100644
index 0000000..c89846a
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_nanosleep.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_nanosleep.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_nanosleep_class_init(AgsScriptNanosleepClass *script_nanosleep);
+void ags_script_nanosleep_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_nanosleep_init(AgsScriptNanosleep *script_nanosleep);
+void ags_script_nanosleep_connect(AgsConnectable *connectable);
+void ags_script_nanosleep_disconnect(AgsConnectable *connectable);
+void ags_script_nanosleep_finalize(GObject *gobject);
+
+static gpointer ags_script_nanosleep_parent_class = NULL;
+
+GType
+ags_script_nanosleep_get_type()
+{
+ static GType ags_type_script_nanosleep = 0;
+
+ if(!ags_type_script_nanosleep){
+ static const GTypeInfo ags_script_nanosleep_info = {
+ sizeof (AgsScriptNanosleepClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_nanosleep_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptNanosleep),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_nanosleep_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_nanosleep_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_nanosleep = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptNanosleep\0",
+ &ags_script_nanosleep_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_nanosleep,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_nanosleep);
+}
+
+void
+ags_script_nanosleep_class_init(AgsScriptNanosleepClass *script_nanosleep)
+{
+ GObjectClass *gobject;
+
+ ags_script_nanosleep_parent_class = g_type_class_peek_parent(script_nanosleep);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_nanosleep;
+
+ gobject->finalize = ags_script_nanosleep_finalize;
+}
+
+void
+ags_script_nanosleep_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_nanosleep_connect;
+ connectable->disconnect = ags_script_nanosleep_disconnect;
+}
+
+void
+ags_script_nanosleep_init(AgsScriptNanosleep *script_nanosleep)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_nanosleep_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_nanosleep_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_nanosleep_finalize(GObject *gobject)
+{
+ AgsScriptNanosleep *script_nanosleep;
+
+ script_nanosleep = AGS_SCRIPT_NANOSLEEP(gobject);
+
+ G_OBJECT_CLASS(ags_script_nanosleep_parent_class)->finalize(gobject);
+}
+
+AgsScriptNanosleep*
+ags_script_nanosleep_new()
+{
+ AgsScriptNanosleep *script_nanosleep;
+
+ script_nanosleep = (AgsScriptNanosleep *) g_object_new(AGS_TYPE_SCRIPT_NANOSLEEP,
+ NULL);
+
+ return(script_nanosleep);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_nanosleep.h b/src/ags-client/scripting/mapping/ags_script_nanosleep.h
new file mode 100644
index 0000000..09bc697
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_nanosleep.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_NANOSLEEP_H__
+#define __AGS_SCRIPT_NANOSLEEP_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_NANOSLEEP (ags_script_nanosleep_get_type())
+#define AGS_SCRIPT_NANOSLEEP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_NANOSLEEP, AgsScriptNanosleep))
+#define AGS_SCRIPT_NANOSLEEP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_NANOSLEEP, AgsScriptNanosleepClass))
+#define AGS_IS_SCRIPT_NANOSLEEP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_NANOSLEEP))
+#define AGS_IS_SCRIPT_NANOSLEEP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_NANOSLEEP))
+#define AGS_SCRIPT_NANOSLEEP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_NANOSLEEP, AgsScriptNanosleepClass))
+
+typedef struct _AgsScriptNanosleep AgsScriptNanosleep;
+typedef struct _AgsScriptNanosleepClass AgsScriptNanosleepClass;
+
+struct _AgsScriptNanosleep
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptNanosleepClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_nanosleep_get_type();
+
+AgsScriptNanosleep* ags_script_nanosleep_new();
+
+#endif /*__AGS_SCRIPT_NANOSLEEP_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_object.c b/src/ags-client/scripting/mapping/ags_script_object.c
new file mode 100644
index 0000000..2aac40e
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_object.c
@@ -0,0 +1,829 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/object/ags_marshal.h>
+
+#include <ags-client/scripting/ags_script.h>
+
+#include <ags-client/scripting/mapping/ags_script_var.h>
+
+#include <libxml/tree.h>
+#include <libxml/xmlstring.h>
+
+#include <stdlib.h>
+#include <string.h>
+
+#include <uuid/uuid.h>
+
+void ags_script_object_class_init(AgsScriptObjectClass *script_object);
+void ags_script_object_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_object_init(AgsScriptObject *script_object);
+void ags_script_object_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_script_object_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_script_object_connect(AgsConnectable *connectable);
+void ags_script_object_disconnect(AgsConnectable *connectable);
+void ags_script_object_finalize(GObject *gobject);
+
+AgsScriptObject* ags_script_object_real_launch(AgsScriptObject *script_object, GError **error);
+AgsScriptObject* ags_script_object_real_tostring(AgsScriptObject *script_object);
+AgsScriptObject* ags_script_object_real_valueof(AgsScriptObject *script_object,
+ GError **error);
+
+gchar** ags_script_object_split_xpath(gchar *xpath, guint *name_length);
+guint* ags_script_object_read_index(gchar *xpath, guint *index_length);
+guint ags_script_object_count_retval(AgsScriptObject *script_object);
+AgsScriptObject* ags_script_object_nth_retval(AgsScriptObject *script_object, guint nth);
+guint ags_script_object_count_sibling(AgsScriptObject *script_object);
+AgsScriptObject* ags_script_object_next_sibling(AgsScriptObject *script_object);
+AgsScriptObject* ags_script_object_find_flags_descending_first_match(AgsScriptObject *script_object,
+ guint flags,
+ guint z_index);
+AgsScriptObject* ags_script_object_find_flags_descending_last_match(AgsScriptObject *script_object,
+ guint flags,
+ guint z_index);
+
+enum{
+ MAPPED_XML,
+ LAUNCH,
+ TOSTRING,
+ VALUEOF,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_SCRIPT,
+};
+
+static gpointer ags_script_object_parent_class = NULL;
+static guint script_object_signals[LAST_SIGNAL];
+
+GType
+ags_script_object_get_type()
+{
+ static GType ags_type_script_object = 0;
+
+ if(!ags_type_script_object){
+ static const GTypeInfo ags_script_object_info = {
+ sizeof (AgsScriptObjectClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_object_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptObject),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_object_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_object_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_object = g_type_register_static(G_TYPE_OBJECT,
+ "AgsScriptObject\0",
+ &ags_script_object_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_object,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_object);
+}
+
+void
+ags_script_object_class_init(AgsScriptObjectClass *script_object)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_script_object_parent_class = g_type_class_peek_parent(script_object);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_object;
+
+ gobject->set_property = ags_script_object_set_property;
+ gobject->get_property = ags_script_object_get_property;
+
+ gobject->finalize = ags_script_object_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("script\0",
+ "script running in\0",
+ "The script where this script object belongs to\0",
+ AGS_TYPE_SCRIPT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SCRIPT,
+ param_spec);
+
+ /* AgsScriptObjectClass */
+ script_object->mapped_xml = NULL;
+ script_object->launch = ags_script_object_real_launch;
+ script_object->tostring = ags_script_object_real_tostring;
+ script_object->valueof = ags_script_object_real_valueof;
+
+ /* signals */
+ script_object_signals[MAPPED_XML] =
+ g_signal_new("mapped_xml\0",
+ G_TYPE_FROM_CLASS(script_object),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsScriptObjectClass, mapped_xml),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ script_object_signals[LAUNCH] =
+ g_signal_new("launch\0",
+ G_TYPE_FROM_CLASS(script_object),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsScriptObjectClass, launch),
+ NULL, NULL,
+ g_cclosure_user_marshal_OBJECT__POINTER,
+ G_TYPE_OBJECT, 0,
+ G_TYPE_POINTER);
+
+ script_object_signals[TOSTRING] =
+ g_signal_new("tostring\0",
+ G_TYPE_FROM_CLASS(script_object),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsScriptObjectClass, tostring),
+ NULL, NULL,
+ g_cclosure_user_marshal_OBJECT__VOID,
+ G_TYPE_OBJECT, 0);
+
+ script_object_signals[VALUEOF] =
+ g_signal_new("valueof\0",
+ G_TYPE_FROM_CLASS(script_object),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsScriptObjectClass, valueof),
+ NULL, NULL,
+ g_cclosure_user_marshal_OBJECT__VOID,
+ G_TYPE_OBJECT, 0);
+}
+
+void
+ags_script_object_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_object_connect;
+ connectable->disconnect = ags_script_object_disconnect;
+}
+
+GQuark
+ags_script_object_error_quark()
+{
+ return(g_quark_from_static_string("ags-script-object-error-quark\0"));
+}
+
+void
+ags_script_object_init(AgsScriptObject *script_object)
+{
+ uuid_t id;
+
+ script_object->node = NULL;
+
+ uuid_generate(id);
+ script_object->id = g_base64_encode((guchar *) id,
+ 16);
+
+ script_object->retval = NULL;
+}
+
+void
+ags_script_object_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsScriptObject *script_object;
+
+ script_object = AGS_SCRIPT_OBJECT(gobject);
+
+ switch(prop_id){
+ case PROP_SCRIPT:
+ {
+ AgsScript *script;
+
+ script = (AgsScript *) g_value_get_object(value);
+
+ if(script == ((AgsScript *) script_object->script))
+ return;
+
+ if(script_object->script != NULL)
+ g_object_unref(script_object->script);
+
+ if(script != NULL)
+ g_object_ref(G_OBJECT(script));
+
+ script_object->script = (GObject *) script;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_script_object_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsScriptObject *script_object;
+
+ script_object = AGS_SCRIPT_OBJECT(gobject);
+
+ switch(prop_id){
+ case PROP_SCRIPT:
+ {
+ g_value_set_object(value, script_object->script);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_script_object_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_object_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_object_finalize(GObject *gobject)
+{
+ AgsScriptObject *script_object;
+
+ script_object = AGS_SCRIPT_OBJECT(gobject);
+
+ g_object_unref(G_OBJECT(script_object->retval));
+
+ xmlFreeNode(script_object->node);
+
+ g_free(script_object->id);
+
+ G_OBJECT_CLASS(ags_script_object_parent_class)->finalize(gobject);
+}
+
+void
+ags_script_object_mapped_xml(AgsScriptObject *script_object)
+{
+ g_return_if_fail(AGS_IS_SCRIPT_OBJECT(script_object));
+
+ g_object_ref(G_OBJECT(script_object));
+ g_signal_emit(G_OBJECT(script_object),
+ script_object_signals[MAPPED_XML], 0);
+ g_object_unref(G_OBJECT(script_object));
+}
+
+AgsScriptObject*
+ags_script_object_real_launch(AgsScriptObject *script_object, GError **error)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+AgsScriptObject*
+ags_script_object_launch(AgsScriptObject *script_object, GError **error)
+{
+ AgsScriptObject *retval;
+
+ g_return_val_if_fail(AGS_IS_SCRIPT_OBJECT(script_object), NULL);
+
+ g_object_ref(G_OBJECT(script_object));
+ g_signal_emit(G_OBJECT(script_object),
+ script_object_signals[LAUNCH], 0,
+ error,
+ &retval);
+ g_object_unref(G_OBJECT(script_object));
+
+ return(retval);
+}
+
+AgsScriptObject*
+ags_script_object_tostring(AgsScriptObject *script_object)
+{
+ AgsScriptObject *retval;
+
+ g_return_val_if_fail(AGS_IS_SCRIPT_OBJECT(script_object), NULL);
+
+ g_object_ref(G_OBJECT(script_object));
+ g_signal_emit(G_OBJECT(script_object),
+ script_object_signals[TOSTRING], 0,
+ &retval);
+ g_object_unref(G_OBJECT(script_object));
+
+ return(retval);
+}
+
+AgsScriptObject*
+ags_script_object_real_tostring(AgsScriptObject *script_object)
+{
+ AgsScriptVar *retval;
+
+ if((AGS_SCRIPT_OBJECT_LAUNCHED & (script_object->flags)) != 0){
+ retval = AGS_SCRIPT_VAR(ags_script_object_valueof(script_object));
+ }else{
+ retval = ags_script_var_new();
+
+ xmlSetProp(AGS_SCRIPT_OBJECT(retval)->node, "type\0", "char\0");
+ }
+
+ return((AgsScriptObject *) retval);
+}
+
+AgsScriptObject*
+ags_script_object_real_valueof(AgsScriptObject *script_object,
+ GError **error)
+{
+ AgsScriptObject *first_match, *last_match, *current;
+ GList *node_list;
+ guint retval_count;
+ gchar *xpath;
+ gchar **name;
+ guint *index;
+ guint index_length;
+ guint name_length;
+ xmlNode *node;
+ guint i, j, k;
+ guint z_index;
+ guint current_node_count;
+ gboolean is_node_after_first_match, is_node_after_last_match;
+
+ /* entry */
+ xpath = xmlGetProp(script_object->node, "retval\0");
+
+ if((first_match = ags_script_object_find_flags_descending_first_match(script_object,
+ AGS_SCRIPT_OBJECT_LAUNCHED,
+ strtoul(xmlGetProp(script_object->node, "z_index\0"), NULL, 10))) == NULL){
+ return(NULL);
+ }
+
+ last_match = ags_script_object_find_flags_descending_last_match(script_object,
+ AGS_SCRIPT_OBJECT_LAUNCHED,
+ strtoul(xmlGetProp(script_object->node, "z_index\0"), NULL, 10));
+
+ retval_count = ags_script_object_count_retval(script_object);
+
+ name = ags_script_object_split_xpath(xpath, &name_length);
+ index = ags_script_object_read_index(xpath,
+ &index_length);
+
+ if(index_length > retval_count){
+ guint prefix_length;
+
+ current = script_object;
+ node_list = NULL;
+
+ is_node_after_first_match = FALSE;
+ is_node_after_last_match = TRUE;
+
+ for(i = 0, j = 0; i < index_length; i++){
+
+ if(current == first_match){
+ is_node_after_first_match = TRUE;
+ }
+
+ if(current == NULL){
+ /* set error */
+ g_set_error(error,
+ AGS_SCRIPT_OBJECT_ERROR,
+ AGS_SCRIPT_OBJECT_INDEX_EXCEEDED,
+ "can't access index because it doesn't exist: %d of %d\0",
+ retval_count, retval_count);
+
+ return(NULL);
+ }
+
+ /* find first - start */
+ if(name[i][1] == '/'){
+ prefix_length = 2;
+
+ if(name[i][2] != '\0' && name[i][2] != '[' && name[i][2] != '@'){
+ while(current != NULL){
+ node = current->node;
+
+ //FIXME:JK: strlen() not very safe
+ if(!xmlStrncmp(node->name, &(name[i][prefix_length]), strlen(node->name))){
+ break;
+ }else{
+ current = current->retval;
+ j++;
+ }
+ }
+ }
+
+ if(current == NULL){
+ /* set error */
+ g_set_error(error,
+ AGS_SCRIPT_OBJECT_ERROR,
+ AGS_SCRIPT_OBJECT_INDEX_EXCEEDED,
+ "named child doesn't exist\0");
+
+ return(NULL);
+ }
+ }else{
+ prefix_length = 1;
+
+ if(!xmlStrcmp(node->name, &(name[i][prefix_length]))){
+ current = current->retval;
+ node = current->node;
+
+ j++;
+ }else{
+ /* set error */
+ g_set_error(error,
+ AGS_SCRIPT_OBJECT_ERROR,
+ AGS_SCRIPT_OBJECT_INDEX_EXCEEDED,
+ "named child doesn't exist\0");
+ }
+ }
+
+ /* position */
+ z_index = strtoul(xmlGetProp(node, "z_index\0"), NULL, 10);
+
+ if(index[i] != AGS_SCRIPT_OBJECT_XPATH_NaN){
+ for(k = 0; k < index[i] && current != NULL; j++){
+ node = current->node;
+ current = current->retval;
+
+ //FIXME:JK: strlen() not very safe
+ if(!xmlStrncmp(node->name, &(name[i][prefix_length]), strlen(node->name)) &&
+ z_index == strtoul(xmlGetProp(node, "z_index\0"), NULL, 10)){
+ k++;
+ }
+ }
+ }else{
+ current = last_match;
+ }
+
+ node_list = g_list_prepend(node_list,
+ node);
+
+ if(index[i] != AGS_SCRIPT_OBJECT_XPATH_NaN &&
+ k != index[i]){
+ /* set error */
+ g_set_error(error,
+ AGS_SCRIPT_OBJECT_ERROR,
+ AGS_SCRIPT_OBJECT_INDEX_EXCEEDED,
+ "can't access index because it doesn't exist: %d of %d\0",
+ retval_count, retval_count);
+
+ return(NULL);
+ }
+ }
+
+ if(!is_node_after_first_match){
+ /* set error */
+ g_set_error(error,
+ AGS_SCRIPT_OBJECT_ERROR,
+ AGS_SCRIPT_OBJECT_INDEX_EXCEEDED,
+ "can't access index because it doesn't exist: %d of %d\0",
+ -1, index_length);
+
+ return(NULL);
+ }
+ }else{
+ /* set error */
+ g_set_error(error,
+ AGS_SCRIPT_OBJECT_ERROR,
+ AGS_SCRIPT_OBJECT_INDEX_EXCEEDED,
+ "can't access index because it doesn't exist: %d of %d\0",
+ -1, index_length);
+
+ return(NULL);
+ }
+
+ if(j > 0){
+ return(current);
+ }else{
+ return(first_match);
+ }
+}
+
+AgsScriptObject*
+ags_script_object_valueof(AgsScriptObject *script_object)
+{
+ AgsScriptObject *retval;
+
+ g_return_val_if_fail(AGS_IS_SCRIPT_OBJECT(script_object), NULL);
+
+ g_object_ref(G_OBJECT(script_object));
+ g_signal_emit(G_OBJECT(script_object),
+ script_object_signals[VALUEOF], 0,
+ &retval);
+ g_object_unref(G_OBJECT(script_object));
+
+ return(retval);
+}
+
+gchar**
+ags_script_object_split_xpath(gchar *xpath, guint *name_length)
+{
+ gchar **name;
+ gchar *offset, *prev_offset;
+ guint i, start;
+
+ name = (gchar **) malloc(sizeof(gchar*));
+
+ prev_offset = xpath;
+
+ if(xpath[0] == '('){
+ start++;
+ prev_offset = &(xpath[1]);
+
+ if(xpath[1] == '/'){
+ start++;
+
+ if(xpath[2] == '/'){
+ start++;
+ }
+ }
+ }else{
+ if(xpath[0] == '/'){
+ start++;
+
+ if(xpath[1] == '/'){
+ start++;
+ }
+ }
+ }
+
+ offset = &(xpath[start]);
+
+ i = 1;
+
+ while((offset = strchr(offset, '/')) != NULL && offset[0] != '\0'){
+ name = (gchar **) realloc(name, (i) * sizeof(gchar *));
+
+ name[i - 1] = g_strndup(offset, offset - prev_offset);
+
+ if(offset[1] == '/'){
+ offset = &(offset[2]);
+ }else{
+ offset = &(offset[1]);
+ }
+
+ i++;
+ }
+
+ *name_length = i;
+
+ return(name);
+}
+
+guint*
+ags_script_object_read_index(gchar *xpath, guint *index_length)
+{
+ guint *index;
+ gchar *offset;
+ guint i;
+
+ index = NULL;
+ offset = xpath;
+ i = 0;
+
+ while((offset = strchr(offset, '[')) != NULL && offset[0] != '\0'){
+ if(i == 0){
+ index = (guint *) malloc(sizeof(guint));
+ }else{
+ index = (guint *) realloc(index, (i + 1) * sizeof(guint));
+ }
+
+ if(!xmlStrncmp(offset, "last()\0", 7)){
+ index[i] = AGS_SCRIPT_OBJECT_XPATH_NaN;
+ }else{
+ sscanf(xpath, "%d\0", &(index[i]));
+ }
+
+ offset = &(offset[1]);
+ i++;
+ }
+
+ *index_length = i;
+
+ return(index);
+}
+
+guint
+ags_script_object_count_retval(AgsScriptObject *script_object)
+{
+ AgsScriptObject *current;
+ guint i;
+
+ current = script_object;
+
+ for(i = 0; current != NULL; i++) current = current->retval;
+
+ return(i);
+}
+
+AgsScriptObject*
+ags_script_object_nth_retval(AgsScriptObject *script_object, guint nth)
+{
+ AgsScriptObject *current;
+ guint i;
+
+ current = script_object;
+
+ for(i = 0; i < nth && current != NULL; i++) current = current->retval;
+
+ return(current);
+}
+
+guint
+ags_script_object_count_sibling(AgsScriptObject *script_object)
+{
+ guint count;
+
+ count = 0;
+
+ while((script_object = ags_script_object_next_sibling(script_object)) != NULL) count++;
+
+ return(count);
+}
+
+AgsScriptObject*
+ags_script_object_next_sibling(AgsScriptObject *script_object)
+{
+ AgsScriptObject *current, *sibling;
+ guint z_index;
+ guint current_z_index;
+
+ z_index = strtoul(xmlGetProp(script_object->node, "z_index\0"), NULL, 10);
+
+ current = script_object->retval;
+ sibling = NULL;
+
+ while(current != NULL && z_index >= (current_z_index = strtoul(xmlGetProp(current->node, "z_index\0"), NULL, 10))){
+ if(current_z_index == z_index){
+ sibling = current;
+ }
+
+ current = current->retval;
+ }
+
+ return(sibling);
+}
+
+AgsScriptObject*
+ags_script_object_find_flags_descending_first_match(AgsScriptObject *script_object,
+ guint flags,
+ guint z_index)
+{
+ AgsScriptObject *current, *value;
+ guint inverse_flags;
+ gboolean found_z_index;
+
+ current = script_object->retval;
+ inverse_flags = ~flags;
+
+ found_z_index = FALSE;
+
+ while(current != NULL){
+ if(!found_z_index && z_index == strtoul(xmlGetProp(current->node, "z_index\0"), NULL, 10)){
+ found_z_index = TRUE;
+ }
+
+ if(found_z_index && z_index > strtoul(xmlGetProp(current->node, "z_index\0"), NULL, 10)){
+ break;
+ }
+
+ if(found_z_index && ((inverse_flags) & (flags | (script_object->flags))) == 0){
+ return(current);
+ }
+
+ current = current->retval;
+ }
+
+ return(NULL);
+}
+
+AgsScriptObject*
+ags_script_object_find_flags_descending_last_match(AgsScriptObject *script_object,
+ guint flags,
+ guint z_index)
+{
+ AgsScriptObject *current, *last_match, *value;
+ guint inverse_flags;
+ gboolean found_z_index;
+
+ current = script_object->retval;
+ inverse_flags = ~flags;
+
+ last_match = NULL;
+ found_z_index = FALSE;
+
+ while(current != NULL){
+ if(!found_z_index && z_index == strtoul(xmlGetProp(current->node, "z_index\0"), NULL, 10)){
+ found_z_index = TRUE;
+ }
+
+ if(found_z_index && z_index > strtoul(xmlGetProp(current->node, "z_index\0"), NULL, 10)){
+ break;
+ }
+
+ if(found_z_index && ((inverse_flags) & (flags | (script_object->flags))) == 0){
+ last_match = current;
+ }
+
+ current = current->retval;
+ }
+
+ return(last_match);
+}
+
+AgsScriptObject*
+ags_script_object_find_parent(AgsScriptObject *start, AgsScriptObject *end,
+ gchar *name)
+{
+ AgsScriptObject *current, *last_match;
+ guint z_index;
+
+ current = start;
+ last_match = NULL;
+ z_index = strtoul(xmlGetProp(end->node, "z_index\0"), NULL, 10);
+
+ while(current != end){
+ if(z_index < (strtoul(xmlGetProp(current->node, "z_index\0"), NULL, 10)) &&
+ !xmlStrcmp(current->node->name, name)){
+ last_match = current;
+ }
+
+ current = current->retval;
+ }
+
+ return(last_match);
+}
+
+AgsScriptObject*
+ags_script_object_find_child(AgsScriptObject *start,
+ gchar *name)
+{
+ AgsScriptObject *current;
+ guint z_index;
+
+ current = start;
+ z_index = strtoul(xmlGetProp(start->node, "z_index\0"), NULL, 10);
+
+ while(current != NULL && z_index < strtoul(xmlGetProp(current->node, "z_index\0"), NULL, 10)){
+ if(!xmlStrcmp(current->node->name, name)){
+ return(current);
+ }
+
+ current = current->retval;
+ }
+
+ return(NULL);
+}
+
+AgsScriptObject*
+ags_script_object_new(GObject *script)
+{
+ AgsScriptObject *script_object;
+
+ script_object = (AgsScriptObject *) g_object_new(AGS_TYPE_SCRIPT_OBJECT,
+ "script\0", script,
+ NULL);
+
+ return(script_object);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_object.h b/src/ags-client/scripting/mapping/ags_script_object.h
new file mode 100644
index 0000000..512c56f
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_object.h
@@ -0,0 +1,95 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_OBJECT_H__
+#define __AGS_SCRIPT_OBJECT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_SCRIPT_OBJECT (ags_script_object_get_type())
+#define AGS_SCRIPT_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_OBJECT, AgsScriptObject))
+#define AGS_SCRIPT_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_OBJECT, AgsScriptObjectClass))
+#define AGS_IS_SCRIPT_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_OBJECT))
+#define AGS_IS_SCRIPT_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_OBJECT))
+#define AGS_SCRIPT_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_OBJECT, AgsScriptObjectClass))
+
+#define AGS_SCRIPT_OBJECT_XPATH_NaN (G_MAXUINT)
+
+typedef struct _AgsScriptObject AgsScriptObject;
+typedef struct _AgsScriptObjectClass AgsScriptObjectClass;
+
+typedef enum{
+ AGS_SCRIPT_OBJECT_LAUNCHED = 1,
+ AGS_SCRIPT_OBJECT_RETVAL_VOID = 1 << 1,
+ AGS_SCRIPT_OBJECT_RETVAL_RESET = 1 << 2,
+}AgsScriptObjectFlags;
+
+#define AGS_SCRIPT_OBJECT_ERROR (ags_script_object_error_quark())
+
+typedef enum{
+ AGS_SCRIPT_OBJECT_INDEX_EXCEEDED,
+}AgsScriptObjectError;
+
+struct _AgsScriptObject
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *script;
+
+ xmlNode *node;
+ gchar *id;
+
+ AgsScriptObject *retval;
+};
+
+struct _AgsScriptObjectClass
+{
+ GObjectClass object;
+
+ void (*mapped_xml)(AgsScriptObject *script_object);
+
+ AgsScriptObject* (*launch)(AgsScriptObject *script_object, GError **error);
+
+ AgsScriptObject* (*tostring)(AgsScriptObject *script_object);
+ AgsScriptObject* (*valueof)(AgsScriptObject *script_object,
+ GError **error);
+};
+
+GType ags_script_object_get_type();
+
+GQuark ags_script_object_error_quark();
+
+void ags_script_object_mapped_xml(AgsScriptObject *script_object);
+AgsScriptObject* ags_script_object_launch(AgsScriptObject *script_object, GError **error);
+
+AgsScriptObject* ags_script_object_tostring(AgsScriptObject *script_object);
+AgsScriptObject* ags_script_object_valueof(AgsScriptObject *script_object);
+
+AgsScriptObject* ags_script_object_find_parent(AgsScriptObject *start, AgsScriptObject *end,
+ gchar *name);
+AgsScriptObject* ags_script_object_find_child(AgsScriptObject *start,
+ gchar *name);
+
+AgsScriptObject* ags_script_object_new(GObject *script);
+
+#endif /*__AGS_SCRIPT_OBJECT_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_pid.c b/src/ags-client/scripting/mapping/ags_script_pid.c
new file mode 100644
index 0000000..91e464c
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_pid.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_pid.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_pid_class_init(AgsScriptPidClass *script_pid);
+void ags_script_pid_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_pid_init(AgsScriptPid *script_pid);
+void ags_script_pid_connect(AgsConnectable *connectable);
+void ags_script_pid_disconnect(AgsConnectable *connectable);
+void ags_script_pid_finalize(GObject *gobject);
+
+static gpointer ags_script_pid_parent_class = NULL;
+
+GType
+ags_script_pid_get_type()
+{
+ static GType ags_type_script_pid = 0;
+
+ if(!ags_type_script_pid){
+ static const GTypeInfo ags_script_pid_info = {
+ sizeof (AgsScriptPidClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_pid_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptPid),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_pid_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_pid_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_pid = g_type_register_static(AGS_TYPE_SCRIPT_OBJECT,
+ "AgsScriptPid\0",
+ &ags_script_pid_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_pid,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_pid);
+}
+
+void
+ags_script_pid_class_init(AgsScriptPidClass *script_pid)
+{
+ GObjectClass *gobject;
+
+ ags_script_pid_parent_class = g_type_class_peek_parent(script_pid);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_pid;
+
+ gobject->finalize = ags_script_pid_finalize;
+}
+
+void
+ags_script_pid_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_pid_connect;
+ connectable->disconnect = ags_script_pid_disconnect;
+}
+
+void
+ags_script_pid_init(AgsScriptPid *script_pid)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_pid_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_pid_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_pid_finalize(GObject *gobject)
+{
+ AgsScriptPid *script_pid;
+
+ script_pid = AGS_SCRIPT_PID(gobject);
+
+ G_OBJECT_CLASS(ags_script_pid_parent_class)->finalize(gobject);
+}
+
+AgsScriptPid*
+ags_script_pid_new()
+{
+ AgsScriptPid *script_pid;
+
+ script_pid = (AgsScriptPid *) g_object_new(AGS_TYPE_SCRIPT_PID,
+ NULL);
+
+ return(script_pid);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_pid.h b/src/ags-client/scripting/mapping/ags_script_pid.h
new file mode 100644
index 0000000..e7f1a7b
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_pid.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_PID_H__
+#define __AGS_SCRIPT_PID_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_PID (ags_script_pid_get_type())
+#define AGS_SCRIPT_PID(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_PID, AgsScriptPid))
+#define AGS_SCRIPT_PID_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_PID, AgsScriptPidClass))
+#define AGS_IS_SCRIPT_PID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_PID))
+#define AGS_IS_SCRIPT_PID_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_PID))
+#define AGS_SCRIPT_PID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_PID, AgsScriptPidClass))
+
+typedef struct _AgsScriptPid AgsScriptPid;
+typedef struct _AgsScriptPidClass AgsScriptPidClass;
+
+struct _AgsScriptPid
+{
+ AgsScriptObject script_object;
+};
+
+struct _AgsScriptPidClass
+{
+ AgsScriptObjectClass script_object;
+};
+
+GType ags_script_pid_get_type();
+
+AgsScriptPid* ags_script_pid_new();
+
+#endif /*__AGS_SCRIPT_PID_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_pop.c b/src/ags-client/scripting/mapping/ags_script_pop.c
new file mode 100644
index 0000000..8db6c5c
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_pop.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_pop.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_pop_class_init(AgsScriptPopClass *script_pop);
+void ags_script_pop_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_pop_init(AgsScriptPop *script_pop);
+void ags_script_pop_connect(AgsConnectable *connectable);
+void ags_script_pop_disconnect(AgsConnectable *connectable);
+void ags_script_pop_finalize(GObject *gobject);
+
+static gpointer ags_script_pop_parent_class = NULL;
+
+GType
+ags_script_pop_get_type()
+{
+ static GType ags_type_script_pop = 0;
+
+ if(!ags_type_script_pop){
+ static const GTypeInfo ags_script_pop_info = {
+ sizeof (AgsScriptPopClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_pop_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptPop),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_pop_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_pop_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_pop = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptPop\0",
+ &ags_script_pop_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_pop,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_pop);
+}
+
+void
+ags_script_pop_class_init(AgsScriptPopClass *script_pop)
+{
+ GObjectClass *gobject;
+
+ ags_script_pop_parent_class = g_type_class_peek_parent(script_pop);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_pop;
+
+ gobject->finalize = ags_script_pop_finalize;
+}
+
+void
+ags_script_pop_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_pop_connect;
+ connectable->disconnect = ags_script_pop_disconnect;
+}
+
+void
+ags_script_pop_init(AgsScriptPop *script_pop)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_pop_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_pop_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_pop_finalize(GObject *gobject)
+{
+ AgsScriptPop *script_pop;
+
+ script_pop = AGS_SCRIPT_POP(gobject);
+
+ G_OBJECT_CLASS(ags_script_pop_parent_class)->finalize(gobject);
+}
+
+AgsScriptPop*
+ags_script_pop_new()
+{
+ AgsScriptPop *script_pop;
+
+ script_pop = (AgsScriptPop *) g_object_new(AGS_TYPE_SCRIPT_POP,
+ NULL);
+
+ return(script_pop);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_pop.h b/src/ags-client/scripting/mapping/ags_script_pop.h
new file mode 100644
index 0000000..c30dcbc
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_pop.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_POP_H__
+#define __AGS_SCRIPT_POP_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_POP (ags_script_pop_get_type())
+#define AGS_SCRIPT_POP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_POP, AgsScriptPop))
+#define AGS_SCRIPT_POP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_POP, AgsScriptPopClass))
+#define AGS_IS_SCRIPT_POP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_POP))
+#define AGS_IS_SCRIPT_POP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_POP))
+#define AGS_SCRIPT_POP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_POP, AgsScriptPopClass))
+
+typedef struct _AgsScriptPop AgsScriptPop;
+typedef struct _AgsScriptPopClass AgsScriptPopClass;
+
+struct _AgsScriptPop
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptPopClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_pop_get_type();
+
+AgsScriptPop* ags_script_pop_new();
+
+#endif /*__AGS_SCRIPT_POP_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_printf.c b/src/ags-client/scripting/mapping/ags_script_printf.c
new file mode 100644
index 0000000..dfdc622
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_printf.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_printf.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_printf_class_init(AgsScriptPrintfClass *script_printf);
+void ags_script_printf_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_printf_init(AgsScriptPrintf *script_printf);
+void ags_script_printf_connect(AgsConnectable *connectable);
+void ags_script_printf_disconnect(AgsConnectable *connectable);
+void ags_script_printf_finalize(GObject *gobject);
+
+static gpointer ags_script_printf_parent_class = NULL;
+
+GType
+ags_script_printf_get_type()
+{
+ static GType ags_type_script_printf = 0;
+
+ if(!ags_type_script_printf){
+ static const GTypeInfo ags_script_printf_info = {
+ sizeof (AgsScriptPrintfClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_printf_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptPrintf),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_printf_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_printf_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_printf = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptPrintf\0",
+ &ags_script_printf_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_printf,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_printf);
+}
+
+void
+ags_script_printf_class_init(AgsScriptPrintfClass *script_printf)
+{
+ GObjectClass *gobject;
+
+ ags_script_printf_parent_class = g_type_class_peek_parent(script_printf);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_printf;
+
+ gobject->finalize = ags_script_printf_finalize;
+}
+
+void
+ags_script_printf_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_printf_connect;
+ connectable->disconnect = ags_script_printf_disconnect;
+}
+
+void
+ags_script_printf_init(AgsScriptPrintf *script_printf)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_printf_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_printf_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_printf_finalize(GObject *gobject)
+{
+ AgsScriptPrintf *script_printf;
+
+ script_printf = AGS_SCRIPT_PRINTF(gobject);
+
+ G_OBJECT_CLASS(ags_script_printf_parent_class)->finalize(gobject);
+}
+
+AgsScriptPrintf*
+ags_script_printf_new()
+{
+ AgsScriptPrintf *script_printf;
+
+ script_printf = (AgsScriptPrintf *) g_object_new(AGS_TYPE_SCRIPT_PRINTF,
+ NULL);
+
+ return(script_printf);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_printf.h b/src/ags-client/scripting/mapping/ags_script_printf.h
new file mode 100644
index 0000000..ae359cf
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_printf.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_PRINTF_H__
+#define __AGS_SCRIPT_PRINTF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_PRINTF (ags_script_printf_get_type())
+#define AGS_SCRIPT_PRINTF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_PRINTF, AgsScriptPrintf))
+#define AGS_SCRIPT_PRINTF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_PRINTF, AgsScriptPrintfClass))
+#define AGS_IS_SCRIPT_PRINTF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_PRINTF))
+#define AGS_IS_SCRIPT_PRINTF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_PRINTF))
+#define AGS_SCRIPT_PRINTF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_PRINTF, AgsScriptPrintfClass))
+
+typedef struct _AgsScriptPrintf AgsScriptPrintf;
+typedef struct _AgsScriptPrintfClass AgsScriptPrintfClass;
+
+struct _AgsScriptPrintf
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptPrintfClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_printf_get_type();
+
+AgsScriptPrintf* ags_script_printf_new();
+
+#endif /*__AGS_SCRIPT_PRINTF_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_push.c b/src/ags-client/scripting/mapping/ags_script_push.c
new file mode 100644
index 0000000..1379b5f
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_push.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_push.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_push_class_init(AgsScriptPushClass *script_push);
+void ags_script_push_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_push_init(AgsScriptPush *script_push);
+void ags_script_push_connect(AgsConnectable *connectable);
+void ags_script_push_disconnect(AgsConnectable *connectable);
+void ags_script_push_finalize(GObject *gobject);
+
+static gpointer ags_script_push_parent_class = NULL;
+
+GType
+ags_script_push_get_type()
+{
+ static GType ags_type_script_push = 0;
+
+ if(!ags_type_script_push){
+ static const GTypeInfo ags_script_push_info = {
+ sizeof (AgsScriptPushClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_push_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptPush),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_push_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_push_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_push = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptPush\0",
+ &ags_script_push_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_push,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_push);
+}
+
+void
+ags_script_push_class_init(AgsScriptPushClass *script_push)
+{
+ GObjectClass *gobject;
+
+ ags_script_push_parent_class = g_type_class_peek_parent(script_push);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_push;
+
+ gobject->finalize = ags_script_push_finalize;
+}
+
+void
+ags_script_push_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_push_connect;
+ connectable->disconnect = ags_script_push_disconnect;
+}
+
+void
+ags_script_push_init(AgsScriptPush *script_push)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_push_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_push_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_push_finalize(GObject *gobject)
+{
+ AgsScriptPush *script_push;
+
+ script_push = AGS_SCRIPT_PUSH(gobject);
+
+ G_OBJECT_CLASS(ags_script_push_parent_class)->finalize(gobject);
+}
+
+AgsScriptPush*
+ags_script_push_new()
+{
+ AgsScriptPush *script_push;
+
+ script_push = (AgsScriptPush *) g_object_new(AGS_TYPE_SCRIPT_PUSH,
+ NULL);
+
+ return(script_push);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_push.h b/src/ags-client/scripting/mapping/ags_script_push.h
new file mode 100644
index 0000000..084f1a1
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_push.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_PUSH_H__
+#define __AGS_SCRIPT_PUSH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_PUSH (ags_script_push_get_type())
+#define AGS_SCRIPT_PUSH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_PUSH, AgsScriptPush))
+#define AGS_SCRIPT_PUSH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_PUSH, AgsScriptPushClass))
+#define AGS_IS_SCRIPT_PUSH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_PUSH))
+#define AGS_IS_SCRIPT_PUSH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_PUSH))
+#define AGS_SCRIPT_PUSH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_PUSH, AgsScriptPushClass))
+
+typedef struct _AgsScriptPush AgsScriptPush;
+typedef struct _AgsScriptPushClass AgsScriptPushClass;
+
+struct _AgsScriptPush
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptPushClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_push_get_type();
+
+AgsScriptPush* ags_script_push_new();
+
+#endif /*__AGS_SCRIPT_PUSH_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_scanf.c b/src/ags-client/scripting/mapping/ags_script_scanf.c
new file mode 100644
index 0000000..0ad39d9
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_scanf.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_scanf.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_scanf_class_init(AgsScriptScanfClass *script_scanf);
+void ags_script_scanf_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_scanf_init(AgsScriptScanf *script_scanf);
+void ags_script_scanf_connect(AgsConnectable *connectable);
+void ags_script_scanf_disconnect(AgsConnectable *connectable);
+void ags_script_scanf_finalize(GObject *gobject);
+
+static gpointer ags_script_scanf_parent_class = NULL;
+
+GType
+ags_script_scanf_get_type()
+{
+ static GType ags_type_script_scanf = 0;
+
+ if(!ags_type_script_scanf){
+ static const GTypeInfo ags_script_scanf_info = {
+ sizeof (AgsScriptScanfClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_scanf_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptScanf),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_scanf_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_scanf_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_scanf = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptScanf\0",
+ &ags_script_scanf_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_scanf,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_scanf);
+}
+
+void
+ags_script_scanf_class_init(AgsScriptScanfClass *script_scanf)
+{
+ GObjectClass *gobject;
+
+ ags_script_scanf_parent_class = g_type_class_peek_parent(script_scanf);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_scanf;
+
+ gobject->finalize = ags_script_scanf_finalize;
+}
+
+void
+ags_script_scanf_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_scanf_connect;
+ connectable->disconnect = ags_script_scanf_disconnect;
+}
+
+void
+ags_script_scanf_init(AgsScriptScanf *script_scanf)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_scanf_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_scanf_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_scanf_finalize(GObject *gobject)
+{
+ AgsScriptScanf *script_scanf;
+
+ script_scanf = AGS_SCRIPT_SCANF(gobject);
+
+ G_OBJECT_CLASS(ags_script_scanf_parent_class)->finalize(gobject);
+}
+
+AgsScriptScanf*
+ags_script_scanf_new()
+{
+ AgsScriptScanf *script_scanf;
+
+ script_scanf = (AgsScriptScanf *) g_object_new(AGS_TYPE_SCRIPT_SCANF,
+ NULL);
+
+ return(script_scanf);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_scanf.h b/src/ags-client/scripting/mapping/ags_script_scanf.h
new file mode 100644
index 0000000..c95948c
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_scanf.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_SCANF_H__
+#define __AGS_SCRIPT_SCANF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_SCANF (ags_script_scanf_get_type())
+#define AGS_SCRIPT_SCANF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_SCANF, AgsScriptScanf))
+#define AGS_SCRIPT_SCANF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_SCANF, AgsScriptScanfClass))
+#define AGS_IS_SCRIPT_SCANF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_SCANF))
+#define AGS_IS_SCRIPT_SCANF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_SCANF))
+#define AGS_SCRIPT_SCANF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_SCANF, AgsScriptScanfClass))
+
+typedef struct _AgsScriptScanf AgsScriptScanf;
+typedef struct _AgsScriptScanfClass AgsScriptScanfClass;
+
+struct _AgsScriptScanf
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptScanfClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_scanf_get_type();
+
+AgsScriptScanf* ags_script_scanf_new();
+
+#endif /*__AGS_SCRIPT_SCANF_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_semaphore.c b/src/ags-client/scripting/mapping/ags_script_semaphore.c
new file mode 100644
index 0000000..f954ea0
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_semaphore.c
@@ -0,0 +1,128 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_semaphore.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+void ags_script_semaphore_class_init(AgsScriptSemaphoreClass *script_semaphore);
+void ags_script_semaphore_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_semaphore_init(AgsScriptSemaphore *script_semaphore);
+void ags_script_semaphore_connect(AgsConnectable *connectable);
+void ags_script_semaphore_disconnect(AgsConnectable *connectable);
+void ags_script_semaphore_finalize(GObject *gobject);
+
+static gpointer ags_script_semaphore_parent_class = NULL;
+
+GType
+ags_script_semaphore_get_type()
+{
+ static GType ags_type_script_semaphore = 0;
+
+ if(!ags_type_script_semaphore){
+ static const GTypeInfo ags_script_semaphore_info = {
+ sizeof (AgsScriptSemaphoreClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_semaphore_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptSemaphore),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_semaphore_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_semaphore_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_semaphore = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptSemaphore\0",
+ &ags_script_semaphore_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_semaphore,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_semaphore);
+}
+
+void
+ags_script_semaphore_class_init(AgsScriptSemaphoreClass *script_semaphore)
+{
+ GObjectClass *gobject;
+
+ ags_script_semaphore_parent_class = g_type_class_peek_parent(script_semaphore);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_semaphore;
+
+ gobject->finalize = ags_script_semaphore_finalize;
+}
+
+void
+ags_script_semaphore_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_semaphore_connect;
+ connectable->disconnect = ags_script_semaphore_disconnect;
+}
+
+void
+ags_script_semaphore_init(AgsScriptSemaphore *script_semaphore)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_semaphore_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_semaphore_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_semaphore_finalize(GObject *gobject)
+{
+ AgsScriptSemaphore *script_semaphore;
+
+ script_semaphore = AGS_SCRIPT_SEMAPHORE(gobject);
+
+ G_OBJECT_CLASS(ags_script_semaphore_parent_class)->finalize(gobject);
+}
+
+AgsScriptSemaphore*
+ags_script_semaphore_new()
+{
+ AgsScriptSemaphore *script_semaphore;
+
+ script_semaphore = (AgsScriptSemaphore *) g_object_new(AGS_TYPE_SCRIPT_SEMAPHORE,
+ NULL);
+
+ return(script_semaphore);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_semaphore.h b/src/ags-client/scripting/mapping/ags_script_semaphore.h
new file mode 100644
index 0000000..d01bd20
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_semaphore.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_SEMAPHORE_H__
+#define __AGS_SCRIPT_SEMAPHORE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_SEMAPHORE (ags_script_semaphore_get_type())
+#define AGS_SCRIPT_SEMAPHORE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_SEMAPHORE, AgsScriptSemaphore))
+#define AGS_SCRIPT_SEMAPHORE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_SEMAPHORE, AgsScriptSemaphoreClass))
+#define AGS_IS_SCRIPT_SEMAPHORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_SEMAPHORE))
+#define AGS_IS_SCRIPT_SEMAPHORE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_SEMAPHORE))
+#define AGS_SCRIPT_SEMAPHORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_SEMAPHORE, AgsScriptSemaphoreClass))
+
+typedef struct _AgsScriptSemaphore AgsScriptSemaphore;
+typedef struct _AgsScriptSemaphoreClass AgsScriptSemaphoreClass;
+
+struct _AgsScriptSemaphore
+{
+ AgsScriptObject script_object;
+};
+
+struct _AgsScriptSemaphoreClass
+{
+ AgsScriptObjectClass script_object;
+};
+
+GType ags_script_semaphore_get_type();
+
+AgsScriptSemaphore* ags_script_semaphore_new();
+
+#endif /*__AGS_SCRIPT_SEMAPHORE_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_set.c b/src/ags-client/scripting/mapping/ags_script_set.c
new file mode 100644
index 0000000..fbc4e70
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_set.c
@@ -0,0 +1,2245 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_set.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/ags_script.h>
+#include <ags-client/scripting/ags_xml_script_factory.h>
+
+#include <ags-client/scripting/mapping/ags_script_var.h>
+
+#include <math.h>
+#include <stdlib.h>
+#include <string.h>
+
+void ags_script_set_class_init(AgsScriptSetClass *script_set);
+void ags_script_set_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_set_init(AgsScriptSet *script_set);
+void ags_script_set_connect(AgsConnectable *connectable);
+void ags_script_set_disconnect(AgsConnectable *connectable);
+void ags_script_set_finalize(GObject *gobject);
+
+AgsScriptObject* ags_script_set_launch(AgsScriptObject *script_object, GError **error);
+
+xmlNode* ags_script_set_matrix_find_index(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ guint y);
+
+void ags_script_set_matrix_get(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptVar *lvalue,
+ guint offset,
+ guint *x, guint *y);
+void ags_script_set_matrix_put(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptVar *value,
+ guint offset,
+ guint *x, guint *y);
+
+void ags_script_set_prime(AgsScriptSet *script_set,
+ AgsScriptVar *a,
+ AgsScriptArray *prime);
+void ags_script_set_ggt(AgsScriptSet *script_set,
+ AgsScriptVar *a,
+ AgsScriptVar *b,
+ AgsScriptVar *ggt);
+void ags_script_set_kgv(AgsScriptSet *script_set,
+ AgsScriptVar *a,
+ AgsScriptVar *b,
+ AgsScriptVar *kgv);
+void ags_script_set_value(AgsScriptSet *script_set,
+ AgsScriptVar *value,
+ AgsScriptArray *lvalue);
+
+void ags_script_set_default_index(AgsScriptSet *script_set,
+ AgsScriptArray *index);
+void ags_script_set_matrix_move_index(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptArray *index,
+ guint row,
+ guint dest_x,
+ guint src_x);
+
+void ags_script_set_matrix_sort(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ gboolean sort_column, gboolean sort_row,
+ AgsScriptArray *index, guint depth,
+ guint *x, guint *y);
+void ags_script_set_matrix_sort_by_operands(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptArray *operands,
+ AgsScriptArray *index, guint depth,
+ guint *x, guint *y);
+
+void ags_script_set_matrix_vector_mirror(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptArray *vector);
+
+void ags_script_set_equation(AgsScriptSet *script_set,
+ AgsScriptArray *factorized,
+ AgsScriptArray *operands);
+
+#define AGS_SCRIPT_SET_BASE64_UNIT (4)
+#define AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT (3)
+
+static gpointer ags_script_set_parent_class = NULL;
+
+GType
+ags_script_set_get_type()
+{
+ static GType ags_type_script_set = 0;
+
+ if(!ags_type_script_set){
+ static const GTypeInfo ags_script_set_info = {
+ sizeof (AgsScriptSetClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_set_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptSet),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_set_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_set_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_set = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptSet\0",
+ &ags_script_set_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_set,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_set);
+}
+
+void
+ags_script_set_class_init(AgsScriptSetClass *script_set)
+{
+ AgsScriptObjectClass *script_object;
+ GObjectClass *gobject;
+
+ ags_script_set_parent_class = g_type_class_peek_parent(script_set);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_set;
+
+ gobject->finalize = ags_script_set_finalize;
+
+ /* AgsScriptObjectClass */
+ script_object = (AgsScriptObjectClass *) script_set;
+
+ script_object->launch = ags_script_set_launch;
+}
+
+void
+ags_script_set_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_set_connect;
+ connectable->disconnect = ags_script_set_disconnect;
+}
+
+void
+ags_script_set_init(AgsScriptSet *script_set)
+{
+ script_set->flags = 0;
+
+ script_set->start =
+ script_set->current = NULL;
+}
+
+void
+ags_script_set_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_set_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_set_finalize(GObject *gobject)
+{
+ AgsScriptSet *script_set;
+
+ script_set = AGS_SCRIPT_SET(gobject);
+
+ if(script_set->start != NULL){
+ free(script_set->start);
+ }
+
+ G_OBJECT_CLASS(ags_script_set_parent_class)->finalize(gobject);
+}
+
+AgsScriptObject*
+ags_script_set_launch(AgsScriptObject *script_object, GError **error)
+{
+ //TODO:JK: implement me
+
+ return(script_object);
+}
+
+void
+ags_script_set_from_string(AgsScriptSet *script_set, gchar *string)
+{
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_script_set_matrix_to_string(AgsScriptSet *script_set,
+ AgsScriptArray *script_array)
+{
+ gchar *string;
+
+ auto gchar* ags_script_set_fill_column(AgsScriptArray *script_array, xmlNode *column);
+ auto gchar* ags_script_set_fill_row(AgsScriptArray *script_array, xmlNode *row);
+
+ gchar* ags_script_set_fill_column(AgsScriptArray *script_array, xmlNode *column){
+ xmlChar *content, *tmp;
+ guchar *value;
+ union{
+ gint16 *data_int16;
+ guint16 *data_uint16;
+ gint32 *data_int32;
+ guint32 *data_uint32;
+ gint64 *data_int64;
+ guint64 *data_uint64;
+ gdouble *data_double;
+ gchar *data_char;
+ }ptr;
+ gchar *string;
+ gsize retlength;
+ guint i, i_stop;
+
+ content = xmlNodeGetContent(column);
+
+ value = g_base64_decode(content, &retlength);
+ string = NULL;
+
+ switch(script_array->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ ptr.data_int16 = (gint16 *) value;
+
+ i_stop = retlength * AGS_SCRIPT_SET_BASE64_UNIT / sizeof(gint16);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ ptr.data_uint16 = (gint16 *) value;
+
+ i_stop = retlength * AGS_SCRIPT_SET_BASE64_UNIT / sizeof(guint16);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ ptr.data_int32 = (gint32 *) value;
+
+ i_stop = retlength * AGS_SCRIPT_SET_BASE64_UNIT / sizeof(gint32);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ ptr.data_uint32 = (guint32 *) value;
+
+ i_stop = retlength * AGS_SCRIPT_SET_BASE64_UNIT / sizeof(guint32);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ ptr.data_int64 = (gint64 *) value;
+
+ i_stop = retlength * AGS_SCRIPT_SET_BASE64_UNIT / sizeof(gint64);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ ptr.data_uint64 = (guint64 *) value;
+
+ i_stop = retlength * AGS_SCRIPT_SET_BASE64_UNIT / sizeof(guint64);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ ptr.data_double = (gdouble *) value;
+
+ i_stop = retlength * AGS_SCRIPT_SET_BASE64_UNIT / sizeof(gdouble);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ ptr.data_char = (gchar *) value;
+
+ g_message("unsupported data type: gchar\0");
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+
+ for(i = 0; i < i_stop; i++){
+ switch(script_array->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ gint16 k;
+
+ memcpy(&k, &(ptr.data_int16[i * sizeof(gint16)]), sizeof(gint16));
+
+ tmp = string;
+
+ string = g_strdup_printf("%s %d:\0", string, k);
+ g_free(tmp);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ guint16 k;
+
+ memcpy(&k, &(ptr.data_uint16[i * sizeof(guint16)]), sizeof(guint16));
+
+ tmp = string;
+
+ string = g_strdup_printf("%s %d:\0", string, k);
+ g_free(tmp);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ gint32 k;
+
+ memcpy(&k, &(ptr.data_int32[i * sizeof(gint32)]), sizeof(gint32));
+
+ tmp = string;
+
+ string = g_strdup_printf("%s %d:\0", string, k);
+ g_free(tmp);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ guint32 k;
+
+ memcpy(&k, &(ptr.data_uint32[i * sizeof(guint32)]), sizeof(guint32));
+
+ tmp = string;
+
+ string = g_strdup_printf("%s %d:\0", string, k);
+ g_free(tmp);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ gint64 k;
+
+ memcpy(&k, &(ptr.data_int64[i * sizeof(gint64)]), sizeof(gint64));
+
+ tmp = string;
+
+ string = g_strdup_printf("%s %d:\0", string, k);
+ g_free(tmp);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ guint64 k;
+
+ memcpy(&k, &(ptr.data_uint64[i * sizeof(guint64)]), sizeof(guint64));
+
+ tmp = string;
+
+ string = g_strdup_printf("%s %d:\0", string, k);
+ g_free(tmp);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ gdouble k;
+
+ memcpy(&k, &(ptr.data_double[i * sizeof(gdouble)]), sizeof(gdouble));
+
+ tmp = string;
+
+ string = g_strdup_printf("%s %f:\0", string, k);
+ g_free(tmp);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ g_message("unsupported data type: gchar\0");
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+ }
+
+ return(string);
+ }
+ gchar* ags_script_set_fill_row(AgsScriptArray *script_array, xmlNode *row){
+ xmlNode *current;
+ gchar *matrix, *column, *tmp;
+
+ current = row;
+ matrix = g_strdup("{\0");
+
+ while(current != NULL){
+ if(current->type == XML_ELEMENT_NODE){
+ column = ags_script_set_fill_column(script_array, current);
+ tmp = matrix;
+
+ matrix = g_strconcat(matrix, column, ";\0");
+ g_free(tmp);
+ }
+
+ current = current->next;
+ }
+
+ tmp = matrix;
+
+ matrix = g_strconcat(matrix, "}\0");
+ g_free(tmp);
+
+ return(matrix);
+ }
+
+ string = ags_script_set_fill_row(script_array, AGS_SCRIPT_OBJECT(script_array)->node);
+
+ return(string);
+}
+
+AgsScriptArray*
+ags_script_set_matrix_from_string(AgsScriptSet *script_set,
+ gchar *string)
+{
+ AgsXmlScriptFactory *xml_script_factory;
+ AgsScriptArray *script_array;
+ xmlNode *matrix;
+ GError *error;
+
+ auto void ags_script_set_matrix_from_string_read_col(AgsScriptArray *script_array,
+ xmlNode *node,
+ gchar *string);
+ auto void ags_script_set_matrix_from_string_read_row(AgsScriptArray *script_array,
+ xmlNode *node,
+ gchar *string);
+ auto void ags_script_set_matrix_from_string_validate(AgsScriptArray *script_array,
+ xmlNode *node);
+
+ void ags_script_set_matrix_from_string_read_col(AgsScriptArray *script_array,
+ xmlNode *node,
+ gchar *string){
+ guchar *col, *data;
+ gchar *current, *prev;
+ guint n_cols;
+
+ col = NULL;
+
+ current =
+ prev = string;
+ n_cols = 0;
+
+ while((current = strchr(current, ':')) != NULL){
+
+ switch(script_array->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ gint16 k;
+
+ sscanf(prev, "%d:\0", &k);
+
+ if(col == NULL){
+ col = (guchar *) (gint16 *) malloc(sizeof(gint16));
+ }else{
+ col = (guchar *) (gint16 *) realloc(col,
+ (n_cols + 1) * sizeof(gint16));
+ }
+
+ memcpy(col, &k, sizeof(gint16));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ guint16 k;
+
+ sscanf(prev, "%d:\0", &k);
+
+ if(col == NULL){
+ col = (guchar *) (guint16 *) malloc(sizeof(guint16));
+ }else{
+ col = (guchar *) (guint16 *) realloc(col,
+ (n_cols + 1) * sizeof(guint16));
+ }
+
+ memcpy(col, &k, sizeof(guint16));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ gint32 k;
+
+ sscanf(prev, "%d:\0", &k);
+
+ if(col == NULL){
+ col = (guchar *) (gint32 *) malloc(sizeof(gint32));
+ }else{
+ col = (guchar *) (gint32 *) realloc(col,
+ (n_cols + 1) * sizeof(gint32));
+ }
+
+ memcpy(col, &k, sizeof(gint32));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ guint32 k;
+
+ sscanf(prev, "%d:\0", &k);
+
+ if(col == NULL){
+ col = (guchar *) (guint32 *) malloc(sizeof(guint32));
+ }else{
+ col = (guchar *) (guint32 *) realloc(col,
+ (n_cols + 1) * sizeof(guint32));
+ }
+
+ memcpy(col, &k, sizeof(guint32));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ gint64 k;
+
+ sscanf(prev, "%d:\0", &k);
+
+ if(col == NULL){
+ col = (guchar *) (gint64 *) malloc(sizeof(gint64));
+ }else{
+ col = (guchar *) (gint64 *) realloc(col,
+ (n_cols + 1) * sizeof(gint64));
+ }
+
+ memcpy(col, &k, sizeof(gint64));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ guint64 k;
+
+ sscanf(prev, "%d:\0", &k);
+
+ if(col == NULL){
+ col = (guchar *) (guint64 *) malloc(sizeof(guint64));
+ }else{
+ col = (guchar *) (guint64 *) realloc(col,
+ (n_cols + 1) * sizeof(guint64));
+ }
+
+ memcpy(col, &k, sizeof(guint64));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ gdouble k;
+
+ sscanf(prev, "%f:\0", &k);
+
+ if(col == NULL){
+ col = (guchar *) (gdouble *) malloc(sizeof(gdouble));
+ }else{
+ col = (guchar *) (gdouble *) realloc(col,
+ (n_cols + 1) * sizeof(gdouble));
+ }
+
+ memcpy(col, &k, sizeof(gdouble));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ g_message("unsupported data type: gchar\0");
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+
+ current++;
+ prev = current;
+ n_cols++;
+ }
+
+ xmlNodeSetContent(node, (xmlChar *) g_base64_encode(col, n_cols));
+ xmlSetProp(node, "length\0", (xmlChar *) g_strdup_printf("%d\0", n_cols));
+ }
+ void ags_script_set_matrix_from_string_read_row(AgsScriptArray *script_array,
+ xmlNode *node,
+ gchar *string){
+ xmlNode *row;
+ gchar *current, *prev;
+ guint rows;
+
+ current =
+ prev = string;
+ rows = 0;
+
+ while((current = strchr(current, ';')) != NULL){
+ row = ags_xml_script_factory_map(xml_script_factory,
+ "ags-array\0",
+ &error);
+ ags_script_set_matrix_from_string_read_col(script_array,
+ row,
+ prev);
+ xmlAddChild(node, row);
+
+ current++;
+ prev = current;
+ rows++;
+ }
+
+ xmlSetProp(node, "length\0", (xmlChar *) g_strdup_printf("%d\0", rows));
+ }
+ void ags_script_set_matrix_from_string_validate(AgsScriptArray *script_array,
+ xmlNode *node){
+ xmlNode *current;
+ guchar *col;
+ guint *cols;
+ guint n_cols, n_rows;
+ guint current_length;
+ guint i, j, j_start;
+ gsize retlength;
+
+ n_rows = strtoul(xmlGetProp(node, "length\0"), NULL, 10);
+ cols = (guint *) malloc(n_rows * sizeof(guint));
+
+ current = node->children;
+ n_cols = 0;
+
+ /* read cols */
+ for(i = 0; i < n_rows; i++){
+ cols[i] = strtoul(xmlGetProp(current, "length\0"), NULL, 10);
+
+ /* find longest row */
+ if(n_cols < cols[i]){
+ n_cols = cols[i];
+ }
+
+ current = current->next;
+ }
+
+ /* fill invalid rows */
+ current = node->children;
+
+ for(i = 0; i < n_rows; i++){
+ col = g_base64_decode((guchar *) xmlNodeGetContent(node),
+ &retlength);
+ j_start = strtoul(xmlGetProp(node, "length\0"), NULL, 10);
+
+ switch(script_array->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ gint16 k;
+
+ k = 0;
+
+ if(col == NULL){
+ col = (guchar *) (gint16 *) malloc(n_cols * sizeof(gint16));
+ }else{
+ col = (guchar *) (gint16 *) realloc(col,
+ n_cols * sizeof(gint16));
+ }
+
+ for(j = j_start; j < n_cols; j++){
+ memcpy(&(col[j * sizeof(gint16)]), &k, sizeof(gint16));
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ guint16 k;
+
+ k = 0;
+
+ if(col == NULL){
+ col = (guchar *) (guint16 *) malloc(n_cols * sizeof(guint16));
+ }else{
+ col = (guchar *) (guint16 *) realloc(col,
+ n_cols * sizeof(guint16));
+ }
+
+ for(j = j_start; j < n_cols; j++){
+ memcpy(&(col[j * sizeof(guint16)]), &k, sizeof(guint16));
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ gint32 k;
+
+ k = 0;
+
+ if(col == NULL){
+ col = (guchar *) (gint32 *) malloc(n_cols * sizeof(gint32));
+ }else{
+ col = (guchar *) (gint32 *) realloc(col,
+ n_cols * sizeof(gint32));
+ }
+
+ for(j = j_start; j < n_cols; j++){
+ memcpy(&(col[j * sizeof(gint32)]), &k, sizeof(gint32));
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ guint32 k;
+
+ k = 0;
+
+ if(col == NULL){
+ col = (guchar *) (guint32 *) malloc(n_cols * sizeof(guint32));
+ }else{
+ col = (guchar *) (guint32 *) realloc(col,
+ n_cols * sizeof(guint32));
+ }
+
+ for(j = j_start; j < n_cols; j++){
+ memcpy(&(col[j * sizeof(guint32)]), &k, sizeof(guint32));
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ gint64 k;
+
+ k = 0;
+
+ if(col == NULL){
+ col = (guchar *) (gint64 *) malloc(n_cols * sizeof(gint64));
+ }else{
+ col = (guchar *) (gint64 *) realloc(col,
+ n_cols * sizeof(gint64));
+ }
+
+ for(j = j_start; j < n_cols; j++){
+ memcpy(&(col[j * sizeof(gint64)]), &k, sizeof(gint64));
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ guint64 k;
+
+ k = 0;
+
+ if(col == NULL){
+ col = (guchar *) (guint64 *) malloc(n_cols * sizeof(guint64));
+ }else{
+ col = (guchar *) (guint64 *) realloc(col,
+ n_cols * sizeof(guint64));
+ }
+
+ for(j = j_start; j < n_cols; j++){
+ memcpy(&(col[j * sizeof(guint64)]), &k, sizeof(guint64));
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ gdouble k;
+
+ k = 0.0;
+
+ if(col == NULL){
+ col = (guchar *) (gdouble *) malloc(n_cols * sizeof(gdouble));
+ }else{
+ col = (guchar *) (gdouble *) realloc(col,
+ n_cols * sizeof(gdouble));
+ }
+
+ for(j = j_start; j < n_cols; j++){
+ memcpy(&(col[j * sizeof(gdouble)]), &k, sizeof(gdouble));
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ g_message("unsupported data type: gchar\0");
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+
+ col = g_base64_encode(col,
+ n_cols);
+
+ current = current->next;
+ }
+ }
+
+ xml_script_factory = AGS_SCRIPT(AGS_SCRIPT_OBJECT(script_set)->script)->xml_script_factory;
+
+ script_array = ags_script_array_new();
+ script_array->flags &= (~AGS_SCRIPT_ARRAY_UTF8_ENCODED);
+ script_array->flags |= AGS_SCRIPT_ARRAY_BASE64_ENCODED;
+ script_array->mode = AGS_SCRIPT_ARRAY_DOUBLE;
+
+ error = NULL;
+
+ matrix = AGS_SCRIPT_OBJECT(script_array)->node;
+
+ if(error != NULL){
+ g_message("failed to instantiate xmlNode: ags-array\0");
+
+ g_object_unref(script_array);
+
+ return(NULL);
+ }
+
+ //TODO:JK: implement data type - see above
+ ags_script_set_matrix_from_string_read_row(script_array,
+ matrix,
+ string);
+ ags_script_set_matrix_from_string_validate(script_array,
+ matrix);
+
+ return(script_array);
+}
+
+xmlNode*
+ags_script_set_matrix_find_index(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ guint y)
+{
+ xmlNode *current;
+
+ current = AGS_SCRIPT_OBJECT(matrix)->node->children;
+
+ while(current != NULL){
+ if(strtoul(xmlGetProp(current, "index\0"), NULL, 10) == y){
+ return(current);
+ }
+
+ current = current->next;
+ }
+
+ return(NULL);
+}
+
+void
+ags_script_set_matrix_get(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptVar *lvalue,
+ guint offset,
+ guint *x, guint *y)
+{
+ xmlNode *current, *row;
+ guchar *data, *buffer;
+ guint n_cols;
+ guint state, save;
+ guint putlength, x_frame;
+ guint ret_x, ret_y;
+ gsize retlength;
+
+ row = AGS_SCRIPT_OBJECT(matrix)->node->children;
+
+ if(xmlNodeGetContent(AGS_SCRIPT_OBJECT(lvalue)->node) != NULL){
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node,
+ NULL);
+ }
+
+ if(row != NULL){
+ n_cols = strtoul(xmlGetProp(row, "length\0"), NULL, 10);
+
+ ret_x = (guint) floor(offset / n_cols);
+ ret_y = offset % n_cols;
+
+ current = ags_script_set_matrix_find_index(script_set,
+ matrix,
+ ret_y);
+
+ data = xmlNodeGetContent(current);
+
+ switch(matrix->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ gint16 *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gint16)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (gint16 *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(gint16)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ guint16 *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(guint16)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (guint16 *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(guint16)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ gint32 *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gint32)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (gint32 *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(gint32)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ guint32 *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(guint32)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (guint32 *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(guint32)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ gint64 *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gint64)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (gint64 *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(gint64)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ guint64 *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(guint64)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (guint64 *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(guint64)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ gdouble *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gdouble)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (gdouble *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(gdouble)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ char *k;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(char)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer = (guchar *) malloc(putlength);
+
+ g_base64_decode_step(data,
+ putlength,
+ buffer,
+ &state, &save);
+
+ x_frame = x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ k = (char *) &(buffer[x_frame]);
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(lvalue)->node, g_base64_encode((guchar *) k,
+ sizeof(char)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+
+ free(data);
+ }else{
+ ret_x = G_MAXUINT;
+ ret_y = G_MAXUINT;
+ }
+
+ *x = ret_x;
+ *y = ret_y;
+}
+
+void
+ags_script_set_matrix_put(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptVar *value,
+ guint offset,
+ guint *x, guint *y)
+{
+ xmlNode *current, *row;
+ xmlChar *data;
+ guchar *tmp_col;
+ guint buffer_offset;
+ guint n_cols;
+ guint ret_x, ret_y;
+ gsize putlength;
+ GError *error;
+
+ row = AGS_SCRIPT_OBJECT(matrix)->node->children;
+
+ if(row != NULL){
+ n_cols = strtoul(xmlGetProp(row, "length\0"), NULL, 10);
+
+ ret_x = (guint) floor(offset / n_cols);
+ ret_y = offset % n_cols;
+
+ current = ags_script_set_matrix_find_index(script_set,
+ matrix,
+ ret_y);
+
+ data = xmlNodeGetContent(current);
+
+ switch(matrix->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ guchar *value_data;
+ gint16 *k_ptr;
+ gint16 k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gint16)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(gint16));
+
+ /* */
+ k_ptr = (gint16 *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ guchar *value_data;
+ guint16 *k_ptr;
+ guint16 k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(guint16)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(guint16));
+
+ /* */
+ k_ptr = (guint16 *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ guchar *value_data;
+ gint32 *k_ptr;
+ gint32 k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gint32)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(gint32));
+
+ /* */
+ k_ptr = (gint32 *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ guchar *value_data;
+ guint32 *k_ptr;
+ guint32 k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(guint32)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(guint32));
+
+ /* */
+ k_ptr = (guint32 *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ guchar *value_data;
+ gint64 *k_ptr;
+ gint64 k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gint64)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(gint64));
+
+ /* */
+ k_ptr = (gint64 *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ guchar *value_data;
+ guint64 *k_ptr;
+ guint64 k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(guint64)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(guint64));
+
+ /* */
+ k_ptr = (guint64 *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ guchar *value_data;
+ gdouble *k_ptr;
+ gdouble k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(gdouble)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(gdouble));
+
+ /* */
+ k_ptr = (gdouble *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ guchar *value_data;
+ char *k_ptr;
+ char k;
+ gint state;
+ guint save;
+ gsize retlength;
+
+ putlength = (guint) round((gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ sizeof(char)) *
+ AGS_SCRIPT_SET_BASE64_UNIT +
+ AGS_SCRIPT_SET_BASE64_UNIT;
+
+ buffer_offset = (guint) floor((gdouble) x[0] *
+ (gdouble) AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT /
+ (gdouble) AGS_SCRIPT_SET_BASE64_UNIT *
+ (gdouble) sizeof(char));
+
+ /* */
+ k_ptr = (char *) malloc(putlength);
+
+ state = 0;
+ save = 0;
+
+ g_base64_decode_step(&(data[buffer_offset]),
+ putlength,
+ (guchar *) k_ptr,
+ &state,
+ &save);
+
+ k_ptr[x[0] * AGS_SCRIPT_SET_BASE64_BYTES_PER_UNIT %
+ AGS_SCRIPT_SET_BASE64_UNIT] = k;
+
+ tmp_col = g_base64_encode((guchar *) k_ptr,
+ putlength);
+ free(k_ptr);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+ }else{
+ ret_x = G_MAXUINT;
+ ret_y = G_MAXUINT;
+ }
+
+ memcpy(&(data[buffer_offset]), tmp_col, putlength);
+ g_free(tmp_col);
+
+ *x = ret_x;
+ *y = ret_y;
+}
+
+
+void
+ags_script_set_prime(AgsScriptSet *script_set,
+ AgsScriptVar *a,
+ AgsScriptArray *prime)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_set_ggt(AgsScriptSet *script_set,
+ AgsScriptVar *a,
+ AgsScriptVar *b,
+ AgsScriptVar *ggt)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_set_kgv(AgsScriptSet *script_set,
+ AgsScriptVar *a,
+ AgsScriptVar *b,
+ AgsScriptVar *kgv)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_set_value(AgsScriptSet *script_set,
+ AgsScriptVar *value,
+ AgsScriptArray *lvalue)
+{
+ xmlNode *current;
+ guchar *data;
+ guint n_cols;
+ gsize retlength, putlength;
+
+ current = AGS_SCRIPT_OBJECT(script_set)->node->children;
+
+ while(current != NULL){
+ n_cols = strtoul(xmlGetProp(current, "length\0"), NULL, 10);
+
+ switch(value->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ guchar *value;
+ gint16 k;
+ int c, mask;
+ guint i, shift;
+
+ data = (guchar *) malloc(n_cols * sizeof(gint16));
+ putlength = n_cols * sizeof(gint16);
+
+ value = g_base64_decode(xmlNodeGetContent(current), &retlength);
+ memcpy(&k, value, sizeof(gint16));
+
+ mask = (int) (gint16) 0xffff;
+
+ for(i = 0; i < sizeof(int) / sizeof(gint16) && i < n_cols; i++){
+ shift = i * sizeof(gint16);
+ mask = mask << shift;
+ c = mask & (k << shift);
+ }
+
+ memset(data, c, (size_t) ceil((n_cols * sizeof(gint16)) / sizeof(int)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ guchar *value;
+ guint16 k;
+ int c, mask;
+ guint i, shift;
+
+ data = (guchar *) malloc(n_cols * sizeof(guint16));
+ putlength = n_cols * sizeof(guint16);
+
+ value = g_base64_decode(xmlNodeGetContent(current), &retlength);
+ memcpy(&k, value, sizeof(guint16));
+
+ mask = (int) (guint16) 0xffff;
+
+ for(i = 0; i < sizeof(int) / sizeof(guint16) && i < n_cols; i++){
+ shift = i * sizeof(guint16);
+ mask = mask << shift;
+ c = mask & (k << shift);
+ }
+
+ memset(data, c, (size_t) ceil((n_cols * sizeof(guint16)) / sizeof(int)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ guchar *value;
+ gint32 k;
+ int c, mask;
+ guint i, shift;
+
+ data = (guchar *) malloc(n_cols * sizeof(gint32));
+ putlength = n_cols * sizeof(gint32);
+
+ value = g_base64_decode(xmlNodeGetContent(current), &retlength);
+ memcpy(&k, value, sizeof(gint32));
+
+ mask = (int) (gint32) 0xffff;
+
+ for(i = 0; i < sizeof(int) / sizeof(gint32) && i < n_cols; i++){
+ shift = i * sizeof(gint32);
+ mask = mask << shift;
+ c = mask & (k << shift);
+ }
+
+ memset(data, c, (size_t) ceil((n_cols * sizeof(gint32)) / sizeof(int)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ guchar *value;
+ guint32 k;
+ int c, mask;
+ guint i, shift;
+
+ data = (guchar *) malloc(n_cols * sizeof(guint32));
+ putlength = n_cols * sizeof(guint32);
+
+ value = g_base64_decode(xmlNodeGetContent(current), &retlength);
+ memcpy(&k, value, sizeof(guint32));
+
+ mask = (int) (guint32) 0xffff;
+
+ for(i = 0; i < sizeof(int) / sizeof(guint32) && i < n_cols; i++){
+ shift = i * sizeof(guint32);
+ mask = mask << shift;
+ c = mask & (k << shift);
+ }
+
+ memset(data, c, (size_t) ceil((n_cols * sizeof(guint32)) / sizeof(int)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ guchar *value;
+ char *ptr;
+ gint64 k, mask;
+ char c;
+ guint i, j, j_stop, shift;
+
+ ptr =
+ data = (char *) malloc(n_cols * sizeof(gint64) * sizeof(char));
+ putlength = n_cols * sizeof(gint64) * sizeof(char);
+
+ value = g_base64_decode(xmlNodeGetContent(current), &retlength);
+ memcpy(&k, value, sizeof(gint64));
+
+ j_stop = sizeof(gint64) / sizeof(char);
+
+ mask = (gint64) 0xff;
+
+ for(i = 0; i < n_cols; i++){
+ mask = (gint64) 0xff;
+
+ for(j = 0; j < j_stop; j++){
+ c = (mask & k) >> j;
+
+ ptr[i * j_stop + j] = c;
+
+ if(j + 1 < j_stop){
+ mask = mask << sizeof(char);
+ }
+ }
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ guchar *value;
+ char *ptr;
+ guint offset;
+ guint64 k, mask;
+ char c;
+ guint i, j, j_stop, shift;
+
+ ptr =
+ data = (char *) malloc(n_cols * sizeof(guint64) * sizeof(char));
+ putlength = n_cols * sizeof(guint64) * sizeof(char);
+
+ value = g_base64_decode(xmlNodeGetContent(current), &retlength);
+ memcpy(&k, value, sizeof(guint64));
+
+ j_stop = sizeof(guint64) / sizeof(char);
+
+ mask = (guint64) 0xff;
+
+ for(i = 0; i < n_cols; i++){
+ mask = (gint64) 0xff;
+
+ for(j = 0; j < j_stop; j++){
+ c = (mask & k) >> j;
+
+ ptr[i * j_stop + j] = c;
+
+ if(j + 1 < j_stop){
+ mask = mask << sizeof(char);
+ }
+ }
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ gdouble *ptr;
+ gdouble k;
+ guint i;
+
+ data = (char *) malloc(n_cols * sizeof(gdouble) * sizeof(guchar));
+ ptr = (gdouble *) data;
+ putlength = n_cols * sizeof(gdouble) * sizeof(guchar);
+
+ for(i = 0; i < n_cols; i++){
+ ptr[i] = k;
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ guchar *value;
+ char k;
+ int c, mask;
+ guint i, shift;
+
+ data = (guchar *) malloc(n_cols * sizeof(char));
+ putlength = n_cols * sizeof(char);
+
+ value = g_base64_decode(xmlNodeGetContent(current), &retlength);
+ memcpy(&k, value, sizeof(char));
+
+ mask = (int) (char) 0xffff;
+
+ for(i = 0; i < sizeof(int) / sizeof(char) && i < n_cols; i++){
+ shift = i * sizeof(char);
+ mask = mask << shift;
+ c = mask & (k << shift);
+ }
+
+ memset(data, c, (size_t) ceil((n_cols * sizeof(char)) / sizeof(int)));
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+
+ xmlNodeSetContent(current, g_base64_encode(data, putlength));
+ free(data);
+
+ current = current->next;
+ }
+}
+
+void
+ags_script_set_default_index(AgsScriptSet *script_set,
+ AgsScriptArray *index)
+{
+ AgsXmlScriptFactory *xml_script_factory;
+ AgsScriptVar *index_value;
+ xmlNode *current;
+ guint i, j, k;
+ guint n_rows, n_cols;
+ guint x, y;
+ GError *error;
+
+ xml_script_factory = AGS_SCRIPT(AGS_SCRIPT_OBJECT(script_set)->script)->xml_script_factory;
+
+ index_value = ags_script_var_new();
+ error = NULL;
+ AGS_SCRIPT_OBJECT(index_value)->node = ags_xml_script_factory_map(xml_script_factory,
+ "ags-var\0",
+ &error);
+
+ if(error != NULL){
+ g_message("can't instantiate ags-var: %s\0", error->message);
+
+ return;
+ }
+
+ n_rows = strtoul(xmlGetProp(AGS_SCRIPT_OBJECT(index)->node, "length\0"), NULL, 10);
+
+ for(i = 0; i < n_rows; i++){
+ current = ags_script_set_matrix_find_index(script_set,
+ index,
+ i);
+
+ n_cols = strtoul(xmlGetProp(current, "length\0"), NULL, 10);
+
+ for(j = 0; j < n_cols; j++){
+ k = i * n_cols + j;
+
+ xmlNodeSetContent(AGS_SCRIPT_OBJECT(index_value)->node, g_base64_encode((guchar *) (guint *) &k, sizeof(guint)));
+
+ ags_script_set_matrix_put(script_set,
+ index,
+ index_value,
+ i * n_cols + j,
+ &x, &y);
+ }
+ }
+}
+
+void
+ags_script_set_matrix_move_index(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptArray *index,
+ guint row,
+ guint dest_x,
+ guint src_x)
+{
+ AgsXmlScriptFactory *xml_script_factory;
+ AgsScriptVar *src, *dest, **matrix_region_old, **index_region_old;
+ AgsScriptVar *src_index, *dest_index;
+ xmlNode *current;
+ guint src_offset, dest_offset;
+ guint n_cols;
+ guint *y_old;
+ guint i, i_stop;
+ guint x, y;
+ GError *error;
+
+ xml_script_factory = AGS_SCRIPT(AGS_SCRIPT_OBJECT(script_set)->script)->xml_script_factory;
+
+ current = ags_script_set_matrix_find_index(script_set,
+ matrix,
+ row);
+ n_cols = strtoul(xmlGetProp(current, "length\0"), NULL, 10);
+
+ /* move values in x direction */
+ if(dest_x > src_x){
+ i_stop = dest_x - src_x;
+ }else{
+ i_stop = src_x - dest_x;
+ }
+
+ /* collect old fields */
+ matrix_region_old = (AgsScriptVar **) malloc(i_stop * sizeof(AgsScriptVar *));
+ index_region_old = (AgsScriptVar **) malloc(i_stop * sizeof(AgsScriptVar *));
+
+ for(i = 0; i < i_stop; i++){
+ src_offset = row * n_cols + ((src_x < dest_x) ? src_x: dest_x) + i;
+
+ /* indices */
+ index_region_old[i] = ags_script_var_new();
+ error = NULL;
+ AGS_SCRIPT_OBJECT(index_region_old[i])->node = ags_xml_script_factory_map(xml_script_factory,
+ "ags-var\0",
+ &error);
+
+ if(error != NULL){
+ g_message("can't instantiate ags-var: %s\0", error->message);
+
+ return;
+ }
+
+ ags_script_set_matrix_get(script_set,
+ matrix,
+ index_region_old[i],
+ src_offset,
+ &x, &y);
+
+ /* matrix */
+ matrix_region_old[i] = ags_script_var_new();
+ error = NULL;
+ AGS_SCRIPT_OBJECT(matrix_region_old[i])->node = ags_xml_script_factory_map(xml_script_factory,
+ "ags-var\0",
+ &error);
+
+ if(error != NULL){
+ g_message("can't instantiate ags-var: %s\0", error->message);
+
+ return;
+ }
+
+ ags_script_set_matrix_get(script_set,
+ matrix,
+ matrix_region_old[i],
+ src_offset,
+ &x, &y);
+ }
+
+ /* shift indices */
+ for(i = 0; i < i_stop - 1; i++){
+
+ if(dest_x > src_x){
+ src_offset = row * n_cols + src_x + i;
+ dest_offset = src_offset + 1;
+
+ ags_script_set_matrix_put(script_set,
+ index,
+ index_region_old[i],
+ dest_offset,
+ &x, &y);
+
+ ags_script_set_matrix_put(script_set,
+ matrix,
+ matrix_region_old[i],
+ dest_offset,
+ &x, &y);
+ }else{
+ src_offset = row * n_cols + dest_x + i;
+ dest_offset = src_offset;
+ src_offset++;
+
+ ags_script_set_matrix_put(script_set,
+ index,
+ index_region_old[i + 1],
+ dest_offset,
+ &x, &y);
+
+ ags_script_set_matrix_put(script_set,
+ matrix,
+ matrix_region_old[i + 1],
+ dest_offset,
+ &x, &y);
+ }
+ }
+
+ /* move index */
+ if(dest_x > src_x){
+ dest_offset = row * n_cols + src_x;
+
+ ags_script_set_matrix_put(script_set,
+ index,
+ index_region_old[dest_x - src_x],
+ dest_offset,
+ &x, &y);
+
+ ags_script_set_matrix_put(script_set,
+ matrix,
+ matrix_region_old[dest_x - src_x],
+ dest_offset,
+ &x, &y);
+ }else{
+ dest_offset = row * n_cols + dest_x;
+
+ ags_script_set_matrix_put(script_set,
+ index,
+ index_region_old[0],
+ dest_offset,
+ &x, &y);
+
+ ags_script_set_matrix_put(script_set,
+ matrix,
+ matrix_region_old[0],
+ dest_offset,
+ &x, &y);
+ }
+}
+
+void
+ags_script_set_matrix_sort(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ gboolean sort_column, gboolean sort_row,
+ AgsScriptArray *index, guint depth,
+ guint *x, guint *y)
+{
+ AgsScriptVar *next_value, *current_value;
+ xmlNode *current_matrix, *current_index;
+ guint n_rows, n_cols;
+ guint offset, stop;
+ guint i, j, k;
+ guint row, src_x, dest_x;
+ guint ret_x, ret_y;
+ gsize retlength;
+
+ n_rows = strtoul(xmlGetProp(AGS_SCRIPT_OBJECT(matrix)->node, "length\0"), NULL, 10);
+
+ offset = 0;
+
+ for(i = 0; i < n_rows; i++){
+
+ /* */
+ current_matrix = ags_script_set_matrix_find_index(script_set,
+ matrix,
+ i);
+ n_cols = strtoul(xmlGetProp(current_matrix, "length\0"), NULL, 10);
+
+ current_index = ags_script_set_matrix_find_index(script_set,
+ index,
+ i);
+
+ for(j = 0; j < n_cols; j++, offset++){
+ ags_script_set_matrix_get(script_set,
+ matrix,
+ current_value,
+ offset,
+ &ret_x, &ret_y);
+
+ for(k = 0; k < n_cols - j - 1; k++){
+ ags_script_set_matrix_get(script_set,
+ matrix,
+ next_value,
+ offset + k + 1,
+ &ret_x, &ret_y);
+
+ if(current_matrix == NULL ||
+ current_index == NULL){
+ *x = G_MAXUINT;
+ *y = G_MAXUINT;
+ return;
+ }
+
+ if(j >= depth){
+ break;
+ }
+
+ switch(matrix->mode){
+ case AGS_SCRIPT_ARRAY_INT16:
+ {
+ gint16 *next_val, *current_val;
+
+ current_val = (gint16 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(current_value)->node),
+ &retlength);
+ next_val = (gint16 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(next_value)->node),
+ &retlength);
+
+ if(*next_val > *current_val){
+ current_value = next_value;
+ ags_script_set_matrix_move_index(script_set,
+ matrix,
+ index,
+ i,
+ j,
+ k);
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT16:
+ {
+ guint16 *next_val, *current_val;
+
+ current_val = (guint16 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(current_value)->node),
+ &retlength);
+ next_val = (guint16 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(next_value)->node),
+ &retlength);
+
+ if(*next_val > *current_val){
+ current_value = next_value;
+ ags_script_set_matrix_move_index(script_set,
+ matrix,
+ index,
+ i,
+ j,
+ k);
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT32:
+ {
+ gint32 *next_val, *current_val;
+
+ current_val = (gint32 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(current_value)->node),
+ &retlength);
+ next_val = (gint32 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(next_value)->node),
+ &retlength);
+
+ if(*next_val > *current_val){
+ current_value = next_value;
+ ags_script_set_matrix_move_index(script_set,
+ matrix,
+ index,
+ i,
+ j,
+ k);
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT32:
+ {
+ guint32 *next_val, *current_val;
+
+ current_val = (guint32 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(current_value)->node),
+ &retlength);
+ next_val = (guint32 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(next_value)->node),
+ &retlength);
+
+ if(*next_val > *current_val){
+ current_value = next_value;
+ ags_script_set_matrix_move_index(script_set,
+ matrix,
+ index,
+ i,
+ j,
+ k);
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_INT64:
+ {
+ gint64 *next_val, *current_val;
+
+ current_val = (gint64 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(current_value)->node),
+ &retlength);
+ next_val = (gint64 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(next_value)->node),
+ &retlength);
+
+ if(*next_val > *current_val){
+ current_value = next_value;
+ ags_script_set_matrix_move_index(script_set,
+ matrix,
+ index,
+ i,
+ j,
+ k);
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_UINT64:
+ {
+ guint64 *next_val, *current_val;
+
+ current_val = (guint64 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(current_value)->node),
+ &retlength);
+ next_val = (guint64 *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(next_value)->node),
+ &retlength);
+
+ if(*next_val > *current_val){
+ current_value = next_value;
+ ags_script_set_matrix_move_index(script_set,
+ matrix,
+ index,
+ i,
+ j,
+ k);
+ }
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_DOUBLE:
+ {
+ }
+ gdouble *next_val, *current_val;
+
+ current_val = (gdouble *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(current_value)->node),
+ &retlength);
+ next_val = (gdouble *) (guchar *) g_base64_decode(xmlNodeGetContent(AGS_SCRIPT_OBJECT(next_value)->node),
+ &retlength);
+
+ if(*next_val > *current_val){
+ current_value = next_value;
+ ags_script_set_matrix_move_index(script_set,
+ matrix,
+ index,
+ i,
+ j,
+ k);
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_CHAR:
+ {
+ g_message("unsupported data type: gchar\0");
+ }
+ break;
+ case AGS_SCRIPT_ARRAY_POINTER:
+ {
+ g_message("unsupported data type: gpointer\0");
+ }
+ break;
+ }
+ }
+ }
+ }
+}
+
+void
+ags_script_set_matrix_sort_by_operands(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptArray *operands,
+ AgsScriptArray *index, guint depth,
+ guint *x, guint *y)
+{
+
+}
+
+void
+ags_script_set_matrix_vector_mirror(AgsScriptSet *script_set,
+ AgsScriptArray *matrix,
+ AgsScriptArray *vector)
+{
+
+}
+
+void
+ags_script_set_equation(AgsScriptSet *script_set,
+ AgsScriptArray *factorized,
+ AgsScriptArray *operands)
+{
+
+}
+
+gboolean
+ags_script_set_boolean_term(AgsScriptSet *script_set)
+{
+ gboolean term;
+
+ term = FALSE;
+
+ //TODO:JK: implement me
+
+ return(term);
+}
+
+gint
+ags_script_set_int_term(AgsScriptSet *script_set)
+{
+ gint term;
+
+ term = -1;
+
+ //TODO:JK: implement me
+
+ return(term);
+}
+
+guint
+ags_script_set_uint_term(AgsScriptSet *script_set)
+{
+ guint term;
+
+ term = 0;
+
+ //TODO:JK: implement me
+
+ return(term);
+}
+
+gdouble
+ags_script_set_double_term(AgsScriptSet *script_set)
+{
+ gdouble term;
+
+ term = 1.0;
+
+ //TODO:JK: implement me
+
+ return(term);
+}
+
+
+AgsScriptSet*
+ags_script_set_new()
+{
+ AgsScriptSet *script_set;
+
+ script_set = (AgsScriptSet *) g_object_new(AGS_TYPE_SCRIPT_SET,
+ NULL);
+
+ return(script_set);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_set.h b/src/ags-client/scripting/mapping/ags_script_set.h
new file mode 100644
index 0000000..55adf47
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_set.h
@@ -0,0 +1,74 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_SET_H__
+#define __AGS_SCRIPT_SET_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+#include <ags-client/scripting/mapping/ags_script_array.h>
+
+#define AGS_TYPE_SCRIPT_SET (ags_script_set_get_type())
+#define AGS_SCRIPT_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_SET, AgsScriptSet))
+#define AGS_SCRIPT_SET_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_SET, AgsScriptSetClass))
+#define AGS_IS_SCRIPT_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_SET))
+#define AGS_IS_SCRIPT_SET_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_SET))
+#define AGS_SCRIPT_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_SET, AgsScriptSetClass))
+
+typedef struct _AgsScriptSet AgsScriptSet;
+typedef struct _AgsScriptSetClass AgsScriptSetClass;
+
+typedef enum{
+ AGS_SCRIPT_SET_EQUATION_TRUE = 1,
+ AGS_SCRIPT_SET_EQUATION_OPEN = 1 << 1,
+}AgsScriptSetFlags;
+
+struct _AgsScriptSet
+{
+ AgsScriptController controller;
+
+ guint flags;
+
+ gchar *start;
+ gchar *current;
+};
+
+struct _AgsScriptSetClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_set_get_type();
+
+void ags_script_set_from_string(AgsScriptSet *script_set, gchar *string);
+
+gchar* ags_script_set_matrix_to_string(AgsScriptSet *script_set,
+ AgsScriptArray *array);
+AgsScriptArray* ags_script_set_matrix_from_string(AgsScriptSet *script_set,
+ gchar *string);
+
+gboolean ags_script_set_boolean_term(AgsScriptSet *script_set);
+gint ags_script_set_int_term(AgsScriptSet *script_set);
+guint ags_script_set_uint_term(AgsScriptSet *script_set);
+gdouble ags_script_set_double_term(AgsScriptSet *script_set);
+
+AgsScriptSet* ags_script_set_new();
+
+#endif /*__AGS_SCRIPT_SET_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_sscanf.h b/src/ags-client/scripting/mapping/ags_script_sscanf.h
new file mode 100644
index 0000000..7e094f3
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_sscanf.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_FSCANF_H__
+#define __AGS_SCRIPT_FSCANF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_FSCANF (ags_script_fscanf_get_type())
+#define AGS_SCRIPT_FSCANF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_FSCANF, AgsScriptFScanf))
+#define AGS_SCRIPT_FSCANF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_FSCANF, AgsScriptFScanfClass))
+#define AGS_IS_SCRIPT_FSCANF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_FSCANF))
+#define AGS_IS_SCRIPT_FSCANF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_FSCANF))
+#define AGS_SCRIPT_FSCANF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_FSCANF, AgsScriptFScanfClass))
+
+typedef struct _AgfscriptFScanf AgsScriptFScanf;
+typedef struct _AgfscriptFScanfClass AgsScriptFScanfClass;
+
+struct _AgsScriptFScanf
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptFScanfClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_fscanf_get_type();
+
+AgsScriptFScanf* ags_script_fscanf_new();
+
+#endif /*__AGS_SCRIPT_FSCANF_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_stack.c b/src/ags-client/scripting/mapping/ags_script_stack.c
new file mode 100644
index 0000000..52603e9
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_stack.c
@@ -0,0 +1,128 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_stack.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+void ags_script_stack_class_init(AgsScriptStackClass *script_stack);
+void ags_script_stack_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_stack_init(AgsScriptStack *script_stack);
+void ags_script_stack_connect(AgsConnectable *connectable);
+void ags_script_stack_disconnect(AgsConnectable *connectable);
+void ags_script_stack_finalize(GObject *gobject);
+
+static gpointer ags_script_stack_parent_class = NULL;
+
+GType
+ags_script_stack_get_type()
+{
+ static GType ags_type_script_stack = 0;
+
+ if(!ags_type_script_stack){
+ static const GTypeInfo ags_script_stack_info = {
+ sizeof (AgsScriptStackClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_stack_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptStack),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_stack_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_stack_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_stack = g_type_register_static(AGS_TYPE_SCRIPT_OBJECT,
+ "AgsScriptStack\0",
+ &ags_script_stack_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_stack,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_stack);
+}
+
+void
+ags_script_stack_class_init(AgsScriptStackClass *script_stack)
+{
+ GObjectClass *gobject;
+
+ ags_script_stack_parent_class = g_type_class_peek_parent(script_stack);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_stack;
+
+ gobject->finalize = ags_script_stack_finalize;
+}
+
+void
+ags_script_stack_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_stack_connect;
+ connectable->disconnect = ags_script_stack_disconnect;
+}
+
+void
+ags_script_stack_init(AgsScriptStack *script_stack)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_stack_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_stack_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_stack_finalize(GObject *gobject)
+{
+ AgsScriptStack *script_stack;
+
+ script_stack = AGS_SCRIPT_STACK(gobject);
+
+ G_OBJECT_CLASS(ags_script_stack_parent_class)->finalize(gobject);
+}
+
+AgsScriptStack*
+ags_script_stack_new()
+{
+ AgsScriptStack *script_stack;
+
+ script_stack = (AgsScriptStack *) g_object_new(AGS_TYPE_SCRIPT_STACK,
+ NULL);
+
+ return(script_stack);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_stack.h b/src/ags-client/scripting/mapping/ags_script_stack.h
new file mode 100644
index 0000000..893f20e
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_stack.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_STACK_H__
+#define __AGS_SCRIPT_STACK_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_STACK (ags_script_stack_get_type())
+#define AGS_SCRIPT_STACK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_STACK, AgsScriptStack))
+#define AGS_SCRIPT_STACK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_STACK, AgsScriptStackClass))
+#define AGS_IS_SCRIPT_STACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_STACK))
+#define AGS_IS_SCRIPT_STACK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_STACK))
+#define AGS_SCRIPT_STACK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_STACK, AgsScriptStackClass))
+
+typedef struct _AgsScriptStack AgsScriptStack;
+typedef struct _AgsScriptStackClass AgsScriptStackClass;
+
+struct _AgsScriptStack
+{
+ AgsScriptObject script_object;
+};
+
+struct _AgsScriptStackClass
+{
+ AgsScriptObjectClass script_object;
+};
+
+GType ags_script_stack_get_type();
+
+AgsScriptStack* ags_script_stack_new();
+
+#endif /*__AGS_SCRIPT_STACK_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_sutex.c b/src/ags-client/scripting/mapping/ags_script_sutex.c
new file mode 100644
index 0000000..a47265f
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_sutex.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_sutex.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_sutex_class_init(AgsScriptSutexClass *script_sutex);
+void ags_script_sutex_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_sutex_init(AgsScriptSutex *script_sutex);
+void ags_script_sutex_connect(AgsConnectable *connectable);
+void ags_script_sutex_disconnect(AgsConnectable *connectable);
+void ags_script_sutex_finalize(GObject *gobject);
+
+static gpointer ags_script_sutex_parent_class = NULL;
+
+GType
+ags_script_sutex_get_type()
+{
+ static GType ags_type_script_sutex = 0;
+
+ if(!ags_type_script_sutex){
+ static const GTypeInfo ags_script_sutex_info = {
+ sizeof (AgsScriptSutexClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_sutex_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptSutex),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_sutex_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_sutex_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_sutex = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptSutex\0",
+ &ags_script_sutex_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_sutex,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_sutex);
+}
+
+void
+ags_script_sutex_class_init(AgsScriptSutexClass *script_sutex)
+{
+ GObjectClass *gobject;
+
+ ags_script_sutex_parent_class = g_type_class_peek_parent(script_sutex);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_sutex;
+
+ gobject->finalize = ags_script_sutex_finalize;
+}
+
+void
+ags_script_sutex_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_sutex_connect;
+ connectable->disconnect = ags_script_sutex_disconnect;
+}
+
+void
+ags_script_sutex_init(AgsScriptSutex *script_sutex)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_sutex_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_sutex_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_sutex_finalize(GObject *gobject)
+{
+ AgsScriptSutex *script_sutex;
+
+ script_sutex = AGS_SCRIPT_SUTEX(gobject);
+
+ G_OBJECT_CLASS(ags_script_sutex_parent_class)->finalize(gobject);
+}
+
+AgsScriptSutex*
+ags_script_sutex_new()
+{
+ AgsScriptSutex *script_sutex;
+
+ script_sutex = (AgsScriptSutex *) g_object_new(AGS_TYPE_SCRIPT_SUTEX,
+ NULL);
+
+ return(script_sutex);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_sutex.h b/src/ags-client/scripting/mapping/ags_script_sutex.h
new file mode 100644
index 0000000..5554732
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_sutex.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_SUTEX_H__
+#define __AGS_SCRIPT_SUTEX_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_SUTEX (ags_script_sutex_get_type())
+#define AGS_SCRIPT_SUTEX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_SUTEX, AgsScriptSutex))
+#define AGS_SCRIPT_SUTEX_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_SUTEX, AgsScriptSutexClass))
+#define AGS_IS_SCRIPT_SUTEX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_SUTEX))
+#define AGS_IS_SCRIPT_SUTEX_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_SUTEX))
+#define AGS_SCRIPT_SUTEX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_SUTEX, AgsScriptSutexClass))
+
+typedef struct _AgsScriptSutex AgsScriptSutex;
+typedef struct _AgsScriptSutexClass AgsScriptSutexClass;
+
+struct _AgsScriptSutex
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptSutexClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_sutex_get_type();
+
+AgsScriptSutex* ags_script_sutex_new();
+
+#endif /*__AGS_SCRIPT_SUTEX_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_switch.c b/src/ags-client/scripting/mapping/ags_script_switch.c
new file mode 100644
index 0000000..5051342
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_switch.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_switch.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_switch_class_init(AgsScriptSwitchClass *script_switch);
+void ags_script_switch_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_switch_init(AgsScriptSwitch *script_switch);
+void ags_script_switch_connect(AgsConnectable *connectable);
+void ags_script_switch_disconnect(AgsConnectable *connectable);
+void ags_script_switch_finalize(GObject *gobject);
+
+static gpointer ags_script_switch_parent_class = NULL;
+
+GType
+ags_script_switch_get_type()
+{
+ static GType ags_type_script_switch = 0;
+
+ if(!ags_type_script_switch){
+ static const GTypeInfo ags_script_switch_info = {
+ sizeof (AgsScriptSwitchClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_switch_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptSwitch),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_switch_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_switch_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_switch = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptSwitch\0",
+ &ags_script_switch_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_switch,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_switch);
+}
+
+void
+ags_script_switch_class_init(AgsScriptSwitchClass *script_switch)
+{
+ GObjectClass *gobject;
+
+ ags_script_switch_parent_class = g_type_class_peek_parent(script_switch);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_switch;
+
+ gobject->finalize = ags_script_switch_finalize;
+}
+
+void
+ags_script_switch_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_switch_connect;
+ connectable->disconnect = ags_script_switch_disconnect;
+}
+
+void
+ags_script_switch_init(AgsScriptSwitch *script_switch)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_switch_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_switch_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_switch_finalize(GObject *gobject)
+{
+ AgsScriptSwitch *script_switch;
+
+ script_switch = AGS_SCRIPT_SWITCH(gobject);
+
+ G_OBJECT_CLASS(ags_script_switch_parent_class)->finalize(gobject);
+}
+
+AgsScriptSwitch*
+ags_script_switch_new()
+{
+ AgsScriptSwitch *script_switch;
+
+ script_switch = (AgsScriptSwitch *) g_object_new(AGS_TYPE_SCRIPT_SWITCH,
+ NULL);
+
+ return(script_switch);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_switch.h b/src/ags-client/scripting/mapping/ags_script_switch.h
new file mode 100644
index 0000000..cac581d
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_switch.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_SWITCH_H__
+#define __AGS_SCRIPT_SWITCH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_SWITCH (ags_script_switch_get_type())
+#define AGS_SCRIPT_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_SWITCH, AgsScriptSwitch))
+#define AGS_SCRIPT_SWITCH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_SWITCH, AgsScriptSwitchClass))
+#define AGS_IS_SCRIPT_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_SWITCH))
+#define AGS_IS_SCRIPT_SWITCH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_SWITCH))
+#define AGS_SCRIPT_SWITCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_SWITCH, AgsScriptSwitchClass))
+
+typedef struct _AgsScriptSwitch AgsScriptSwitch;
+typedef struct _AgsScriptSwitchClass AgsScriptSwitchClass;
+
+struct _AgsScriptSwitch
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptSwitchClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_switch_get_type();
+
+AgsScriptSwitch* ags_script_switch_new();
+
+#endif /*__AGS_SCRIPT_SWITCH_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_tostring.c b/src/ags-client/scripting/mapping/ags_script_tostring.c
new file mode 100644
index 0000000..0e88d89
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_tostring.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_tostring.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_tostring_class_init(AgsScriptTostringClass *script_tostring);
+void ags_script_tostring_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_tostring_init(AgsScriptTostring *script_tostring);
+void ags_script_tostring_connect(AgsConnectable *connectable);
+void ags_script_tostring_disconnect(AgsConnectable *connectable);
+void ags_script_tostring_finalize(GObject *gobject);
+
+static gpointer ags_script_tostring_parent_class = NULL;
+
+GType
+ags_script_tostring_get_type()
+{
+ static GType ags_type_script_tostring = 0;
+
+ if(!ags_type_script_tostring){
+ static const GTypeInfo ags_script_tostring_info = {
+ sizeof (AgsScriptTostringClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_tostring_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptTostring),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_tostring_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_tostring_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_tostring = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptTostring\0",
+ &ags_script_tostring_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_tostring,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_tostring);
+}
+
+void
+ags_script_tostring_class_init(AgsScriptTostringClass *script_tostring)
+{
+ GObjectClass *gobject;
+
+ ags_script_tostring_parent_class = g_type_class_peek_parent(script_tostring);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_tostring;
+
+ gobject->finalize = ags_script_tostring_finalize;
+}
+
+void
+ags_script_tostring_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_tostring_connect;
+ connectable->disconnect = ags_script_tostring_disconnect;
+}
+
+void
+ags_script_tostring_init(AgsScriptTostring *script_tostring)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_tostring_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_tostring_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_tostring_finalize(GObject *gobject)
+{
+ AgsScriptTostring *script_tostring;
+
+ script_tostring = AGS_SCRIPT_TOSTRING(gobject);
+
+ G_OBJECT_CLASS(ags_script_tostring_parent_class)->finalize(gobject);
+}
+
+AgsScriptTostring*
+ags_script_tostring_new()
+{
+ AgsScriptTostring *script_tostring;
+
+ script_tostring = (AgsScriptTostring *) g_object_new(AGS_TYPE_SCRIPT_TOSTRING,
+ NULL);
+
+ return(script_tostring);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_tostring.h b/src/ags-client/scripting/mapping/ags_script_tostring.h
new file mode 100644
index 0000000..d2608fc
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_tostring.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_TOSTRING_H__
+#define __AGS_SCRIPT_TOSTRING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_TOSTRING (ags_script_tostring_get_type())
+#define AGS_SCRIPT_TOSTRING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_TOSTRING, AgsScriptTostring))
+#define AGS_SCRIPT_TOSTRING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_TOSTRING, AgsScriptTostringClass))
+#define AGS_IS_SCRIPT_TOSTRING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_TOSTRING))
+#define AGS_IS_SCRIPT_TOSTRING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_TOSTRING))
+#define AGS_SCRIPT_TOSTRING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_TOSTRING, AgsScriptTostringClass))
+
+typedef struct _AgsScriptTostring AgsScriptTostring;
+typedef struct _AgsScriptTostringClass AgsScriptTostringClass;
+
+struct _AgsScriptTostring
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptTostringClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_tostring_get_type();
+
+AgsScriptTostring* ags_script_tostring_new();
+
+#endif /*__AGS_SCRIPT_TOSTRING_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_valueof.c b/src/ags-client/scripting/mapping/ags_script_valueof.c
new file mode 100644
index 0000000..6c493c6
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_valueof.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_valueof.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_valueof_class_init(AgsScriptValueofClass *script_valueof);
+void ags_script_valueof_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_valueof_init(AgsScriptValueof *script_valueof);
+void ags_script_valueof_connect(AgsConnectable *connectable);
+void ags_script_valueof_disconnect(AgsConnectable *connectable);
+void ags_script_valueof_finalize(GObject *gobject);
+
+static gpointer ags_script_valueof_parent_class = NULL;
+
+GType
+ags_script_valueof_get_type()
+{
+ static GType ags_type_script_valueof = 0;
+
+ if(!ags_type_script_valueof){
+ static const GTypeInfo ags_script_valueof_info = {
+ sizeof (AgsScriptValueofClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_valueof_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptValueof),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_valueof_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_valueof_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_valueof = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptValueof\0",
+ &ags_script_valueof_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_valueof,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_valueof);
+}
+
+void
+ags_script_valueof_class_init(AgsScriptValueofClass *script_valueof)
+{
+ GObjectClass *gobject;
+
+ ags_script_valueof_parent_class = g_type_class_peek_parent(script_valueof);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_valueof;
+
+ gobject->finalize = ags_script_valueof_finalize;
+}
+
+void
+ags_script_valueof_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_valueof_connect;
+ connectable->disconnect = ags_script_valueof_disconnect;
+}
+
+void
+ags_script_valueof_init(AgsScriptValueof *script_valueof)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_valueof_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_valueof_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_valueof_finalize(GObject *gobject)
+{
+ AgsScriptValueof *script_valueof;
+
+ script_valueof = AGS_SCRIPT_VALUEOF(gobject);
+
+ G_OBJECT_CLASS(ags_script_valueof_parent_class)->finalize(gobject);
+}
+
+AgsScriptValueof*
+ags_script_valueof_new()
+{
+ AgsScriptValueof *script_valueof;
+
+ script_valueof = (AgsScriptValueof *) g_object_new(AGS_TYPE_SCRIPT_VALUEOF,
+ NULL);
+
+ return(script_valueof);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_valueof.h b/src/ags-client/scripting/mapping/ags_script_valueof.h
new file mode 100644
index 0000000..f868cd9
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_valueof.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_VALUEOF_H__
+#define __AGS_SCRIPT_VALUEOF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_VALUEOF (ags_script_valueof_get_type())
+#define AGS_SCRIPT_VALUEOF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_VALUEOF, AgsScriptValueof))
+#define AGS_SCRIPT_VALUEOF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_VALUEOF, AgsScriptValueofClass))
+#define AGS_IS_SCRIPT_VALUEOF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_VALUEOF))
+#define AGS_IS_SCRIPT_VALUEOF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_VALUEOF))
+#define AGS_SCRIPT_VALUEOF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_VALUEOF, AgsScriptValueofClass))
+
+typedef struct _AgsScriptValueof AgsScriptValueof;
+typedef struct _AgsScriptValueofClass AgsScriptValueofClass;
+
+struct _AgsScriptValueof
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptValueofClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_valueof_get_type();
+
+AgsScriptValueof* ags_script_valueof_new();
+
+#endif /*__AGS_SCRIPT_VALUEOF_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_var.c b/src/ags-client/scripting/mapping/ags_script_var.c
new file mode 100644
index 0000000..90490a7
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_var.c
@@ -0,0 +1,127 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_var.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_var_class_init(AgsScriptVarClass *script_var);
+void ags_script_var_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_var_init(AgsScriptVar *script_var);
+void ags_script_var_connect(AgsConnectable *connectable);
+void ags_script_var_disconnect(AgsConnectable *connectable);
+void ags_script_var_finalize(GObject *gobject);
+
+static gpointer ags_script_var_parent_class = NULL;
+
+GType
+ags_script_var_get_type()
+{
+ static GType ags_type_script_var = 0;
+
+ if(!ags_type_script_var){
+ static const GTypeInfo ags_script_var_info = {
+ sizeof (AgsScriptVarClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_var_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptVar),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_var_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_var_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_var = g_type_register_static(AGS_TYPE_SCRIPT_OBJECT,
+ "AgsScriptVar\0",
+ &ags_script_var_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_var,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_var);
+}
+
+void
+ags_script_var_class_init(AgsScriptVarClass *script_var)
+{
+ GObjectClass *gobject;
+
+ ags_script_var_parent_class = g_type_class_peek_parent(script_var);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_var;
+
+ gobject->finalize = ags_script_var_finalize;
+}
+
+void
+ags_script_var_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_var_connect;
+ connectable->disconnect = ags_script_var_disconnect;
+}
+
+void
+ags_script_var_init(AgsScriptVar *script_var)
+{
+ script_var->flags = 0;
+ script_var->mode = AGS_SCRIPT_VAR_DOUBLE;
+}
+
+void
+ags_script_var_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_var_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_var_finalize(GObject *gobject)
+{
+ AgsScriptVar *script_var;
+
+ script_var = AGS_SCRIPT_VAR(gobject);
+
+ G_OBJECT_CLASS(ags_script_var_parent_class)->finalize(gobject);
+}
+
+AgsScriptVar*
+ags_script_var_new()
+{
+ AgsScriptVar *script_var;
+
+ script_var = (AgsScriptVar *) g_object_new(AGS_TYPE_SCRIPT_VAR,
+ NULL);
+
+ return(script_var);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_var.h b/src/ags-client/scripting/mapping/ags_script_var.h
new file mode 100644
index 0000000..8b9ebb5
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_var.h
@@ -0,0 +1,70 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_VAR_H__
+#define __AGS_SCRIPT_VAR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_object.h>
+
+#define AGS_TYPE_SCRIPT_VAR (ags_script_var_get_type())
+#define AGS_SCRIPT_VAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_VAR, AgsScriptVar))
+#define AGS_SCRIPT_VAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_VAR, AgsScriptVarClass))
+#define AGS_IS_SCRIPT_VAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_VAR))
+#define AGS_IS_SCRIPT_VAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_VAR))
+#define AGS_SCRIPT_VAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_VAR, AgsScriptVarClass))
+
+typedef struct _AgsScriptVar AgsScriptVar;
+typedef struct _AgsScriptVarClass AgsScriptVarClass;
+
+typedef enum{
+ AGS_SCRIPT_VAR_INT16,
+ AGS_SCRIPT_VAR_UINT16,
+ AGS_SCRIPT_VAR_INT32,
+ AGS_SCRIPT_VAR_UINT32,
+ AGS_SCRIPT_VAR_INT64,
+ AGS_SCRIPT_VAR_UINT64,
+ AGS_SCRIPT_VAR_DOUBLE,
+ AGS_SCRIPT_VAR_CHAR,
+ AGS_SCRIPT_VAR_POINTER,
+}AgsScriptVarMode;
+
+typedef enum{
+ AGS_SCRIPT_VAR_ENCODED_BASE64 = 1,
+}AgsScriptVarFlags;
+
+struct _AgsScriptVar
+{
+ AgsScriptObject script_object;
+
+ guint flags;
+ guint mode;
+};
+
+struct _AgsScriptVarClass
+{
+ AgsScriptObjectClass script_object;
+};
+
+GType ags_script_var_get_type();
+
+AgsScriptVar* ags_script_var_new();
+
+#endif /*__AGS_SCRIPT_VAR_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_while.c b/src/ags-client/scripting/mapping/ags_script_while.c
new file mode 100644
index 0000000..e487d96
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_while.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_while.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_while_class_init(AgsScriptWhileClass *script_while);
+void ags_script_while_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_while_init(AgsScriptWhile *script_while);
+void ags_script_while_connect(AgsConnectable *connectable);
+void ags_script_while_disconnect(AgsConnectable *connectable);
+void ags_script_while_finalize(GObject *gobject);
+
+static gpointer ags_script_while_parent_class = NULL;
+
+GType
+ags_script_while_get_type()
+{
+ static GType ags_type_script_while = 0;
+
+ if(!ags_type_script_while){
+ static const GTypeInfo ags_script_while_info = {
+ sizeof (AgsScriptWhileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_while_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptWhile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_while_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_while_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_while = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptWhile\0",
+ &ags_script_while_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_while,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_while);
+}
+
+void
+ags_script_while_class_init(AgsScriptWhileClass *script_while)
+{
+ GObjectClass *gobject;
+
+ ags_script_while_parent_class = g_type_class_peek_parent(script_while);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_while;
+
+ gobject->finalize = ags_script_while_finalize;
+}
+
+void
+ags_script_while_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_while_connect;
+ connectable->disconnect = ags_script_while_disconnect;
+}
+
+void
+ags_script_while_init(AgsScriptWhile *script_while)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_while_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_while_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_while_finalize(GObject *gobject)
+{
+ AgsScriptWhile *script_while;
+
+ script_while = AGS_SCRIPT_WHILE(gobject);
+
+ G_OBJECT_CLASS(ags_script_while_parent_class)->finalize(gobject);
+}
+
+AgsScriptWhile*
+ags_script_while_new()
+{
+ AgsScriptWhile *script_while;
+
+ script_while = (AgsScriptWhile *) g_object_new(AGS_TYPE_SCRIPT_WHILE,
+ NULL);
+
+ return(script_while);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_while.h b/src/ags-client/scripting/mapping/ags_script_while.h
new file mode 100644
index 0000000..225d7f2
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_while.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_WHILE_H__
+#define __AGS_SCRIPT_WHILE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_WHILE (ags_script_while_get_type())
+#define AGS_SCRIPT_WHILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_WHILE, AgsScriptWhile))
+#define AGS_SCRIPT_WHILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_WHILE, AgsScriptWhileClass))
+#define AGS_IS_SCRIPT_WHILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_WHILE))
+#define AGS_IS_SCRIPT_WHILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_WHILE))
+#define AGS_SCRIPT_WHILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_WHILE, AgsScriptWhileClass))
+
+typedef struct _AgsScriptWhile AgsScriptWhile;
+typedef struct _AgsScriptWhileClass AgsScriptWhileClass;
+
+struct _AgsScriptWhile
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptWhileClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_while_get_type();
+
+AgsScriptWhile* ags_script_while_new();
+
+#endif /*__AGS_SCRIPT_WHILE_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_xmlrpc.c b/src/ags-client/scripting/mapping/ags_script_xmlrpc.c
new file mode 100644
index 0000000..c917210
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_xmlrpc.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_xmlrpc.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_xmlrpc_class_init(AgsScriptXmlrpcClass *script_xmlrpc);
+void ags_script_xmlrpc_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_xmlrpc_init(AgsScriptXmlrpc *script_xmlrpc);
+void ags_script_xmlrpc_connect(AgsConnectable *connectable);
+void ags_script_xmlrpc_disconnect(AgsConnectable *connectable);
+void ags_script_xmlrpc_finalize(GObject *gobject);
+
+static gpointer ags_script_xmlrpc_parent_class = NULL;
+
+GType
+ags_script_xmlrpc_get_type()
+{
+ static GType ags_type_script_xmlrpc = 0;
+
+ if(!ags_type_script_xmlrpc){
+ static const GTypeInfo ags_script_xmlrpc_info = {
+ sizeof (AgsScriptXmlrpcClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_xmlrpc_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptXmlrpc),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_xmlrpc_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_xmlrpc_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_xmlrpc = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptXmlrpc\0",
+ &ags_script_xmlrpc_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_xmlrpc,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_xmlrpc);
+}
+
+void
+ags_script_xmlrpc_class_init(AgsScriptXmlrpcClass *script_xmlrpc)
+{
+ GObjectClass *gobject;
+
+ ags_script_xmlrpc_parent_class = g_type_class_peek_parent(script_xmlrpc);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_xmlrpc;
+
+ gobject->finalize = ags_script_xmlrpc_finalize;
+}
+
+void
+ags_script_xmlrpc_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_xmlrpc_connect;
+ connectable->disconnect = ags_script_xmlrpc_disconnect;
+}
+
+void
+ags_script_xmlrpc_init(AgsScriptXmlrpc *script_xmlrpc)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_xmlrpc_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_xmlrpc_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_xmlrpc_finalize(GObject *gobject)
+{
+ AgsScriptXmlrpc *script_xmlrpc;
+
+ script_xmlrpc = AGS_SCRIPT_XMLRPC(gobject);
+
+ G_OBJECT_CLASS(ags_script_xmlrpc_parent_class)->finalize(gobject);
+}
+
+AgsScriptXmlrpc*
+ags_script_xmlrpc_new()
+{
+ AgsScriptXmlrpc *script_xmlrpc;
+
+ script_xmlrpc = (AgsScriptXmlrpc *) g_object_new(AGS_TYPE_SCRIPT_XMLRPC,
+ NULL);
+
+ return(script_xmlrpc);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_xmlrpc.h b/src/ags-client/scripting/mapping/ags_script_xmlrpc.h
new file mode 100644
index 0000000..2c84375
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_xmlrpc.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_XMLRPC_H__
+#define __AGS_SCRIPT_XMLRPC_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_XMLRPC (ags_script_xmlrpc_get_type())
+#define AGS_SCRIPT_XMLRPC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_XMLRPC, AgsScriptXmlrpc))
+#define AGS_SCRIPT_XMLRPC_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_XMLRPC, AgsScriptXmlrpcClass))
+#define AGS_IS_SCRIPT_XMLRPC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_XMLRPC))
+#define AGS_IS_SCRIPT_XMLRPC_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_XMLRPC))
+#define AGS_SCRIPT_XMLRPC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_XMLRPC, AgsScriptXmlrpcClass))
+
+typedef struct _AgsScriptXmlrpc AgsScriptXmlrpc;
+typedef struct _AgsScriptXmlrpcClass AgsScriptXmlrpcClass;
+
+struct _AgsScriptXmlrpc
+{
+ AgsScriptController controller;
+};
+
+struct _AgsScriptXmlrpcClass
+{
+ AgsScriptControllerClass controller;
+};
+
+GType ags_script_xmlrpc_get_type();
+
+AgsScriptXmlrpc* ags_script_xmlrpc_new();
+
+#endif /*__AGS_SCRIPT_XMLRPC_H__*/
diff --git a/src/ags-client/scripting/mapping/ags_script_xpath.c b/src/ags-client/scripting/mapping/ags_script_xpath.c
new file mode 100644
index 0000000..37d7e13
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_xpath.c
@@ -0,0 +1,126 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-client/scripting/mapping/ags_script_xpath.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_script_xpath_class_init(AgsScriptXPathClass *script_xpath);
+void ags_script_xpath_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_script_xpath_init(AgsScriptXPath *script_xpath);
+void ags_script_xpath_connect(AgsConnectable *connectable);
+void ags_script_xpath_disconnect(AgsConnectable *connectable);
+void ags_script_xpath_finalize(GObject *gobject);
+
+static gpointer ags_script_xpath_parent_class = NULL;
+
+GType
+ags_script_xpath_get_type()
+{
+ static GType ags_type_script_xpath = 0;
+
+ if(!ags_type_script_xpath){
+ static const GTypeInfo ags_script_xpath_info = {
+ sizeof (AgsScriptXPathClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_script_xpath_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScriptXPath),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_script_xpath_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_script_xpath_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_script_xpath = g_type_register_static(AGS_TYPE_SCRIPT_CONTROLLER,
+ "AgsScriptXPath\0",
+ &ags_script_xpath_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_script_xpath,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_script_xpath);
+}
+
+void
+ags_script_xpath_class_init(AgsScriptXPathClass *script_xpath)
+{
+ GObjectClass *gobject;
+
+ ags_script_xpath_parent_class = g_type_class_peek_parent(script_xpath);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) script_xpath;
+
+ gobject->finalize = ags_script_xpath_finalize;
+}
+
+void
+ags_script_xpath_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_script_xpath_connect;
+ connectable->disconnect = ags_script_xpath_disconnect;
+}
+
+void
+ags_script_xpath_init(AgsScriptXPath *script_xpath)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_script_xpath_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_xpath_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_script_xpath_finalize(GObject *gobject)
+{
+ AgsScriptXPath *script_xpath;
+
+ script_xpath = AGS_SCRIPT_XPATH(gobject);
+
+ G_OBJECT_CLASS(ags_script_xpath_parent_class)->finalize(gobject);
+}
+
+AgsScriptXPath*
+ags_script_xpath_new()
+{
+ AgsScriptXPath *script_xpath;
+
+ script_xpath = (AgsScriptXPath *) g_object_new(AGS_TYPE_SCRIPT_XPATH,
+ NULL);
+
+ return(script_xpath);
+}
diff --git a/src/ags-client/scripting/mapping/ags_script_xpath.h b/src/ags-client/scripting/mapping/ags_script_xpath.h
new file mode 100644
index 0000000..8933bce
--- /dev/null
+++ b/src/ags-client/scripting/mapping/ags_script_xpath.h
@@ -0,0 +1,51 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCRIPT_XPATH_H__
+#define __AGS_SCRIPT_XPATH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/scripting/mapping/ags_script_controller.h>
+
+#define AGS_TYPE_SCRIPT_XPATH (ags_script_xpath_get_type())
+#define AGS_SCRIPT_XPATH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCRIPT_XPATH, AgsScriptXPath))
+#define AGS_SCRIPT_XPATH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SCRIPT_XPATH, AgsScriptXPathClass))
+#define AGS_IS_SCRIPT_XPATH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCRIPT_XPATH))
+#define AGS_IS_SCRIPT_XPATH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCRIPT_XPATH))
+#define AGS_SCRIPT_XPATH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SCRIPT_XPATH, AgsScriptXPathClass))
+
+typedef struct _AgsScriptXPath AgsScriptXPath;
+typedef struct _AgsScriptXPathClass AgsScriptXPathClass;
+
+struct _AgsScriptXPath
+{
+ AgsScriptController script_controller;
+};
+
+struct _AgsScriptXPathClass
+{
+ AgsScriptControllerClass script_controller;
+};
+
+GType ags_script_xpath_get_type();
+
+AgsScriptXPath* ags_script_xpath_new();
+
+#endif /*__AGS_SCRIPT_XPATH_H__*/
diff --git a/src/ags-cluster/balancing/ags_load_balancing.h b/src/ags-cluster/balancing/ags_load_balancing.h
new file mode 100644
index 0000000..614bd4f
--- /dev/null
+++ b/src/ags-cluster/balancing/ags_load_balancing.h
@@ -0,0 +1,57 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LOAD_BALANCING_H__
+#define __AGS_LOAD_BALANCING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-cluster/cluster/ags_cluster.h>
+
+#include <stdio.h>
+
+#define AGS_TYPE_LOAD_BALANCING (ags_load_balancing_get_type())
+#define AGS_LOAD_BALANCING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOAD_BALANCING, AgsLoadBalancing))
+#define AGS_LOAD_BALANCING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LOAD_BALANCING, AgsLoadBalancingClass))
+#define AGS_IS_LOAD_BALANCING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOAD_BALANCING))
+#define AGS_IS_LOAD_BALANCING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LOAD_BALANCING))
+#define AGS_LOAD_BALANCING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_LOAD_BALANCING, AgsLoadBalancingClass))
+
+typedef struct _AgsLoadBalancing AgsLoadBalancing;
+typedef struct _AgsLoadBalancingClass AgsLoadBalancingClass;
+
+struct _AgsLoadBalancing
+{
+ GObject object;
+
+ GList *activity_log;
+
+ AgsCluster *cluster;
+};
+
+struct _AgsLoadBalancingClass
+{
+ GObjectClass object;
+};
+
+GType ags_load_balancing_get_type();
+
+AgsLoadBalancing* ags_load_balancing_new();
+
+#endif /*__AGS_LOAD_BALANCING_H__*/
diff --git a/src/ags-cluster/cluster/ags_cluster.h b/src/ags-cluster/cluster/ags_cluster.h
new file mode 100644
index 0000000..b5320d0
--- /dev/null
+++ b/src/ags-cluster/cluster/ags_cluster.h
@@ -0,0 +1,55 @@
+/* AGS Client - Advanced GTK Sequencer Client
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLUSTER_H__
+#define __AGS_CLUSTER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags-client/client/ags_client.h>
+
+#include <stdio.h>
+
+#define AGS_TYPE_CLUSTER (ags_cluster_get_type())
+#define AGS_CLUSTER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLUSTER, AgsCluster))
+#define AGS_CLUSTER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_CLUSTER, AgsClusterClass))
+#define AGS_IS_CLUSTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLUSTER))
+#define AGS_IS_CLUSTER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLUSTER))
+#define AGS_CLUSTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_CLUSTER, AgsClusterClass))
+
+typedef struct _AgsCluster AgsCluster;
+typedef struct _AgsClusterClass AgsClusterClass;
+
+struct _AgsCluster
+{
+ GObject object;
+
+ AgsClient *client;
+};
+
+struct _AgsClusterClass
+{
+ GObjectClass object;
+};
+
+GType ags_cluster_get_type();
+
+AgsCluster* ags_cluster_new();
+
+#endif /*__AGS_CLUSTER_H__*/
diff --git a/src/ags-cluster/file/ags_file_cluster.c b/src/ags-cluster/file/ags_file_cluster.c
new file mode 100644
index 0000000..6cdce93
--- /dev/null
+++ b/src/ags-cluster/file/ags_file_cluster.c
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-cluster/file/ags_file_cluster.h>
+
+void
+ags_file_cluster_read_cluster(AgsFile *file, xmlNode *node, AgsCluster **cluster)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_cluster_write_cluster(AgsFile *file, xmlNode *parent, AgsCluster *cluster)
+{
+ //TODO:JK: implement me
+}
diff --git a/src/ags-cluster/file/ags_file_cluster.h b/src/ags-cluster/file/ags_file_cluster.h
new file mode 100644
index 0000000..33109bc
--- /dev/null
+++ b/src/ags-cluster/file/ags_file_cluster.h
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_CLUSTER_H__
+#define __AGS_FILE_CLUSTER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+/* cluster */
+void ags_file_cluster_read_cluster(AgsFile *file, xmlNode *node, AgsCluster **cluster);
+xmlNode* ags_file_cluster_write_cluster(AgsFile *file, xmlNode *parent, AgsCluster *cluster);
+
+#endif /*__AGS_FILE_CLUSTER_H__*/
diff --git a/src/ags-lib/lib/ags_math.c b/src/ags-lib/lib/ags_math.c
new file mode 100644
index 0000000..71b21a9
--- /dev/null
+++ b/src/ags-lib/lib/ags_math.c
@@ -0,0 +1,137 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/lib/ags_math.h>
+
+#include <stdlib.h>
+
+gboolean
+is_prim(guint x)
+{
+ guint i;
+
+ if (x == 2){
+ return(1);
+ }
+
+ for (i = 3; i <= sqrt(x); i += 2){
+ if (x % i == 0){
+ return 0;
+ }
+ }
+
+ return 1;
+}
+
+void
+prim_factors(guint x,
+ guint **x_factors, guint *count)
+{
+ guint *factors;
+ guint current_x;
+ guint i, n_factors;
+
+ if(x < 2){
+ *x_factors = NULL;
+ *count = 0;
+ }
+
+ current_x = x;
+
+ factors = NULL;
+ n_factors = 0;
+
+ for (i = 2; current_x != 0 && current_x - i != 0; ){
+ if(!is_prim(i)){
+ i++;
+ continue;
+ }
+
+ if ((current_x % i) == 0){
+ current_x /= i;
+
+ n_factors++;
+ factors = (guint *) realloc(factors, n_factors * sizeof(guint));
+ factors[n_factors - 1] = i;
+ }else{
+ i++;
+ }
+ }
+
+ if(current_x != 0){
+ n_factors++;
+ factors = (guint *) realloc(factors, n_factors * sizeof(guint));
+ factors[n_factors - 1] = i;
+ }
+
+ *x_factors = factors;
+ *count = n_factors;
+}
+
+guint
+smallest_common_factor(guint a, guint b)
+{
+ guint result;
+ guint *a_prims, *b_prims;
+ guint count_a, count_b;
+ guint i0, i1;
+
+ result = 1;
+
+ prim_factors(a, &a_prims, &count_a);
+ prim_factors(b, &b_prims, &count_b);
+
+ i0 = 0;
+ i1 = 0;
+
+ while(i0 < count_a && i1 < count_b){
+ if(a_prims[i0] == b_prims[i1]){
+ result *= a_prims[i0];
+
+ i0++;
+ i1++;
+ }else if(a_prims[i0] > b_prims[i1]){
+ while(i1 < count_b && a_prims[i0] > b_prims[i1]){
+ result *= b_prims[i1];
+
+ i1++;
+ }
+ }else{
+ result *= a_prims[i0];
+ i0++;
+ }
+ }
+
+ while(i0 != count_a){
+ result *= a_prims[i0];
+
+ i0++;
+ }
+
+ while(i1 < count_b){
+ result *= b_prims[i0];
+
+ i1++;
+ }
+
+ if(result == 1 && (a != 1 || b != 1)){
+ result = 0;
+ }
+
+ return (result);
+}
diff --git a/src/ags-lib/lib/ags_math.h b/src/ags-lib/lib/ags_math.h
new file mode 100644
index 0000000..b470350
--- /dev/null
+++ b/src/ags-lib/lib/ags_math.h
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MATH_H__
+#define __AGS_MATH_H__
+
+#include <glib.h>
+
+gboolean is_prim(guint a);
+
+void prim_factors(guint a,
+ guint **prim_factors, guint *count);
+
+guint smallest_common_factor(guint a, guint b);
+
+#endif /*__AGS_MATH_H__*/
diff --git a/src/ags-lib/log/ags_activity_log.h b/src/ags-lib/log/ags_activity_log.h
new file mode 100644
index 0000000..4354efb
--- /dev/null
+++ b/src/ags-lib/log/ags_activity_log.h
@@ -0,0 +1,53 @@
+/* AGS Lib - Advanced GTK Sequencer Lib
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ACTIVITY_LOG_H__
+#define __AGS_ACTIVITY_LOG_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <stdio.h>
+
+#define AGS_TYPE_ACTIVITY_LOG (ags_activity_log_get_type())
+#define AGS_ACTIVITY_LOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ACTIVITY_LOG, AgsActivityLog))
+#define AGS_ACTIVITY_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_ACTIVITY_LOG, AgsActivityLogClass))
+#define AGS_IS_ACTIVITY_LOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_ACTIVITY_LOG))
+#define AGS_IS_ACTIVITY_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_ACTIVITY_LOG))
+#define AGS_ACTIVITY_LOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_ACTIVITY_LOG, AgsActivityLogClass))
+
+typedef struct _AgsActivityLog AgsActivityLog;
+typedef struct _AgsActivityLogClass AgsActivityLogClass;
+
+struct _AgsActivityLog
+{
+ GObject object;
+
+ GList *history;
+};
+
+struct _AgsActivityLogClass
+{
+ GObjectClass object;
+};
+
+GType ags_activity_log_get_type();
+
+AgsActivityLog* ags_activity_log_new();
+
+#endif /*__AGS_ACTIVITY_LOG_H__*/
diff --git a/src/ags-lib/log/ags_history.h b/src/ags-lib/log/ags_history.h
new file mode 100644
index 0000000..4d97623
--- /dev/null
+++ b/src/ags-lib/log/ags_history.h
@@ -0,0 +1,53 @@
+/* AGS Lib - Advanced GTK Sequencer Lib
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_HISTORY_H__
+#define __AGS_HISTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <stdio.h>
+
+#define AGS_TYPE_HISTORY (ags_history_get_type())
+#define AGS_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_HISTORY, AgsHistory))
+#define AGS_HISTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_HISTORY, AgsHistoryClass))
+#define AGS_IS_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_HISTORY))
+#define AGS_IS_HISTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_HISTORY))
+#define AGS_HISTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_HISTORY, AgsHistoryClass))
+
+typedef struct _AgsHistory AgsHistory;
+typedef struct _AgsHistoryClass AgsHistoryClass;
+
+struct _AgsHistory
+{
+ GObject object;
+
+ xmlNode *activity;
+};
+
+struct _AgsHistoryClass
+{
+ GObjectClass object;
+};
+
+GType ags_history_get_type();
+
+AgsHistory* ags_history_new();
+
+#endif /*__AGS_HISTORY_H__*/
diff --git a/src/ags-lib/object/ags_connectable.c b/src/ags-lib/object/ags_connectable.c
new file mode 100644
index 0000000..ebc0cc0
--- /dev/null
+++ b/src/ags-lib/object/ags_connectable.c
@@ -0,0 +1,132 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_connectable.h>
+
+/**
+ * SECTION:ags_connectable
+ * @short_description: unique access to recalls
+ * @title: AgsConnectable
+ * @section_id:
+ * @include: ags/object/ags_connectable.h
+ *
+ * The #AgsConnectable interface gives you a unique access to objects.
+ */
+
+void ags_connectable_base_init(AgsConnectableInterface *interface);
+
+GType
+ags_connectable_get_type()
+{
+ static GType ags_type_connectable = 0;
+
+ if(!ags_type_connectable){
+ static const GTypeInfo ags_connectable_info = {
+ sizeof(AgsConnectableInterface),
+ (GBaseInitFunc) ags_connectable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_connectable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsConnectable\0", &ags_connectable_info,
+ 0);
+ }
+
+ return(ags_type_connectable);
+}
+
+void
+ags_connectable_base_init(AgsConnectableInterface *interface)
+{
+ /* empty */
+}
+
+void
+ags_connectable_add_to_registry(AgsConnectable *connectable)
+{
+ AgsConnectableInterface *connectable_interface;
+
+ g_return_if_fail(AGS_IS_CONNECTABLE(connectable));
+ connectable_interface = AGS_CONNECTABLE_GET_INTERFACE(connectable);
+ g_return_if_fail(connectable_interface->add_to_registry);
+ connectable_interface->add_to_registry(connectable);
+}
+
+void
+ags_connectable_remove_from_registry(AgsConnectable *connectable)
+{
+ AgsConnectableInterface *connectable_interface;
+
+ g_return_if_fail(AGS_IS_CONNECTABLE(connectable));
+ connectable_interface = AGS_CONNECTABLE_GET_INTERFACE(connectable);
+ g_return_if_fail(connectable_interface->remove_from_registry);
+ connectable_interface->remove_from_registry(connectable);
+}
+
+gboolean
+ags_connectable_is_ready(AgsConnectable *connectable)
+{
+ AgsConnectableInterface *connectable_interface;
+
+ g_return_val_if_fail(AGS_IS_CONNECTABLE(connectable), FALSE);
+ connectable_interface = AGS_CONNECTABLE_GET_INTERFACE(connectable);
+
+ if(connectable_interface->is_ready == NULL)
+ return(TRUE);
+
+ return(connectable_interface->is_ready(connectable));
+}
+
+gboolean
+ags_connectable_is_connected(AgsConnectable *connectable)
+{
+ AgsConnectableInterface *connectable_interface;
+
+ g_return_val_if_fail(AGS_IS_CONNECTABLE(connectable), FALSE);
+ connectable_interface = AGS_CONNECTABLE_GET_INTERFACE(connectable);
+ g_return_val_if_fail(connectable_interface->is_connected, FALSE);
+
+ return(connectable_interface->is_connected(connectable));
+}
+
+void
+ags_connectable_connect(AgsConnectable *connectable)
+{
+ AgsConnectableInterface *connectable_interface;
+
+ g_return_if_fail(AGS_IS_CONNECTABLE(connectable));
+ connectable_interface = AGS_CONNECTABLE_GET_INTERFACE(connectable);
+ g_return_if_fail(connectable_interface->connect);
+
+ if(!ags_connectable_is_ready(connectable)){
+ return;
+ }
+
+ connectable_interface->connect(connectable);
+}
+
+void
+ags_connectable_disconnect(AgsConnectable *connectable)
+{
+ AgsConnectableInterface *connectable_interface;
+
+ g_return_if_fail(AGS_IS_CONNECTABLE(connectable));
+ connectable_interface = AGS_CONNECTABLE_GET_INTERFACE(connectable);
+ g_return_if_fail(connectable_interface->disconnect);
+ connectable_interface->connect(connectable);
+}
diff --git a/src/ags-lib/object/ags_connectable.h b/src/ags-lib/object/ags_connectable.h
new file mode 100644
index 0000000..0d30d23
--- /dev/null
+++ b/src/ags-lib/object/ags_connectable.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CONNECTABLE_H__
+#define __AGS_CONNECTABLE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_CONNECTABLE (ags_connectable_get_type())
+#define AGS_CONNECTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONNECTABLE, AgsConnectable))
+#define AGS_CONNECTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_CONNECTABLE, AgsConnectableInterface))
+#define AGS_IS_CONNECTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CONNECTABLE))
+#define AGS_IS_CONNECTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_CONNECTABLE))
+#define AGS_CONNECTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_CONNECTABLE, AgsConnectableInterface))
+
+typedef void AgsConnectable;
+typedef struct _AgsConnectableInterface AgsConnectableInterface;
+
+struct _AgsConnectableInterface
+{
+ GTypeInterface interface;
+
+ void (*add_to_registry)(AgsConnectable *connectable);
+ void (*remove_from_registry)(AgsConnectable *connectable);
+
+ xmlNode* (*update)(AgsConnectable *connectable);
+
+ gboolean (*is_ready)(AgsConnectable *connectable);
+ gboolean (*is_connected)(AgsConnectable *connectable);
+
+ void (*connect)(AgsConnectable *connectable);
+ void (*disconnect)(AgsConnectable *connectable);
+};
+
+GType ags_connectable_get_type();
+
+void ags_connectable_add_to_registry(AgsConnectable *connectable);
+
+void ags_connectable_connect(AgsConnectable *connectable);
+void ags_connectable_disconnect(AgsConnectable *connectable);
+
+
+#endif /*__AGS_CONNECTABLE_H__*/
diff --git a/src/ags-lib/object/ags_serializeable.c b/src/ags-lib/object/ags_serializeable.c
new file mode 100644
index 0000000..c30fa7c
--- /dev/null
+++ b/src/ags-lib/object/ags_serializeable.c
@@ -0,0 +1,69 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_serializeable.h>
+
+void ags_serializeable_base_init(AgsSerializeableInterface *interface);
+
+GType
+ags_serializeable_get_type()
+{
+ static GType ags_type_serializeable = 0;
+
+ if(!ags_type_serializeable){
+ static const GTypeInfo ags_serializeable_info = {
+ sizeof(AgsSerializeableInterface),
+ (GBaseInitFunc) ags_serializeable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_serializeable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsSerializeable\0", &ags_serializeable_info,
+ 0);
+ }
+
+ return(ags_type_serializeable);
+}
+
+void
+ags_serializeable_base_init(AgsSerializeableInterface *interface)
+{
+ /* empty */
+}
+
+GObject*
+ags_serializeable_get_file(AgsSerializeable *serializeable)
+{
+ AgsSerializeableInterface *serializeable_interface;
+
+ g_return_val_if_fail(AGS_IS_SERIALIZEABLE(serializeable), NULL);
+ serializeable_interface = AGS_SERIALIZEABLE_GET_INTERFACE(serializeable);
+ g_return_val_if_fail(serializeable_interface->get_file, NULL);
+ return(serializeable_interface->get_file(serializeable));
+}
+
+gchar*
+ags_serializeable_serialize(AgsSerializeable *serializeable)
+{
+ AgsSerializeableInterface *serializeable_interface;
+
+ g_return_val_if_fail(AGS_IS_SERIALIZEABLE(serializeable), NULL);
+ serializeable_interface = AGS_SERIALIZEABLE_GET_INTERFACE(serializeable);
+ g_return_val_if_fail(serializeable_interface->serialize, NULL);
+ return(serializeable_interface->serialize(serializeable));
+}
diff --git a/src/ags-lib/object/ags_serializeable.h b/src/ags-lib/object/ags_serializeable.h
new file mode 100644
index 0000000..7a1db53
--- /dev/null
+++ b/src/ags-lib/object/ags_serializeable.h
@@ -0,0 +1,49 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SERIALIZEABLE_H__
+#define __AGS_SERIALIZEABLE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_TYPE_SERIALIZEABLE (ags_serializeable_get_type())
+#define AGS_SERIALIZEABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERIALIZEABLE, AgsSerializeable))
+#define AGS_SERIALIZEABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SERIALIZEABLE, AgsSerializeableInterface))
+#define AGS_IS_SERIALIZEABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SERIALIZEABLE))
+#define AGS_IS_SERIALIZEABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SERIALIZEABLE))
+#define AGS_SERIALIZEABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SERIALIZEABLE, AgsSerializeableInterface))
+
+typedef void AgsSerializeable;
+typedef struct _AgsSerializeableInterface AgsSerializeableInterface;
+
+struct _AgsSerializeableInterface
+{
+ GTypeInterface interface;
+
+ GObject* (*get_file)(AgsSerializeable *serializeable);
+
+ gchar* (*serialize)(AgsSerializeable *serializeable);
+};
+
+GType ags_serializeable_get_type();
+
+GObject* ags_serializeable_get_file(AgsSerializeable *serializeable);
+gchar* ags_serializeable_serialize(AgsSerializeable *serializeable);
+
+#endif /*__AGS_SERIALIZEABLE_H__*/
diff --git a/src/ags/Makefile b/src/ags/Makefile
new file mode 100644
index 0000000..68024ca
--- /dev/null
+++ b/src/ags/Makefile
@@ -0,0 +1,458 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags
+abs_srcdir = /usr/src/ags-devel/src/ags
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+gsequencer_main_h_sources = \
+ main.h
+
+gsequencer_main_c_sources = \
+ main.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/Makefile.am b/src/ags/Makefile.am
new file mode 100644
index 0000000..14fa675
--- /dev/null
+++ b/src/ags/Makefile.am
@@ -0,0 +1,5 @@
+gsequencer_main_h_sources = \
+ main.h
+
+gsequencer_main_c_sources = \
+ main.c
diff --git a/src/ags/Makefile.in b/src/ags/Makefile.in
new file mode 100644
index 0000000..834dbae
--- /dev/null
+++ b/src/ags/Makefile.in
@@ -0,0 +1,458 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+gsequencer_main_h_sources = \
+ main.h
+
+gsequencer_main_c_sources = \
+ main.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/X/Makefile b/src/ags/X/Makefile
new file mode 100644
index 0000000..e203a88
--- /dev/null
+++ b/src/ags/X/Makefile
@@ -0,0 +1,584 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/X/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/X
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/X
+abs_srcdir = /usr/src/ags-devel/src/ags/X
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_gsequencer_xorg_h_sources =
+gsequencer_xorg_h_sources = \
+ $(deprecated_gsequencer_xorg_h_sources) \
+ ags_audio_preferences_callbacks.h \
+ ags_audio_preferences.h \
+ ags_automation_editor_callbacks.h \
+ ags_automation_editor.h \
+ ags_editor_callbacks.h \
+ ags_editor.h \
+ ags_effect_bridge_callbacks.h \
+ ags_effect_bridge.h \
+ ags_effect_bulk_callbacks.h \
+ ags_effect_bulk.h \
+ ags_effect_line_callbacks.h \
+ ags_effect_line.h \
+ ags_effect_pad_callbacks.h \
+ ags_effect_pad.h \
+ ags_export_window_callbacks.h \
+ ags_export_window.h \
+ ags_generic_preferences_callbacks.h \
+ ags_generic_preferences.h \
+ ags_ladspa_browser_callbacks.h \
+ ags_ladspa_browser.h \
+ ags_line_callbacks.h \
+ ags_line_editor_callbacks.h \
+ ags_line_editor.h \
+ ags_line.h \
+ ags_line_member_callbacks.h \
+ ags_line_member_editor_callbacks.h \
+ ags_line_member_editor.h \
+ ags_line_member.h \
+ ags_link_collection_editor_callbacks.h \
+ ags_link_collection_editor.h \
+ ags_link_editor_callbacks.h \
+ ags_link_editor.h \
+ ags_listing_editor_callbacks.h \
+ ags_listing_editor.h \
+ ags_machine_callbacks.h \
+ ags_machine_editor_callbacks.h \
+ ags_machine_editor.h \
+ ags_machine.h \
+ ags_menu_bar_callbacks.h \
+ ags_menu_bar.h \
+ ags_navigation_callbacks.h \
+ ags_navigation.h \
+ ags_pad_callbacks.h \
+ ags_pad_editor_callbacks.h \
+ ags_pad_editor.h \
+ ags_pad.h \
+ ags_performance_preferences_callbacks.h \
+ ags_performance_preferences.h \
+ ags_plugin_preferences_callbacks.h \
+ ags_plugin_preferences.h \
+ ags_preferences_callbacks.h \
+ ags_preferences.h \
+ ags_property_collection_editor_callbacks.h \
+ ags_property_collection_editor.h \
+ ags_property_editor_callbacks.h \
+ ags_property_editor.h \
+ ags_property_listing_editor.h \
+ ags_resize_editor.h \
+ ags_server_preferences_callbacks.h \
+ ags_server_preferences.h \
+ ags_window_callbacks.h \
+ ags_window.h
+
+deprecated_gsequencer_xorg_c_sources =
+gsequencer_xorg_c_sources = \
+ $(deprecated_gsequencer_xorg_c_sources) \
+ ags_audio_preferences_callbacks.c \
+ ags_audio_preferences.c \
+ ags_automation_editor_callbacks.c \
+ ags_automation_editor.c \
+ ags_editor_callbacks.c \
+ ags_editor.c \
+ ags_effect_bridge_callbacks.c \
+ ags_effect_bridge.c \
+ ags_effect_bulk_callbacks.c \
+ ags_effect_bulk.c \
+ ags_effect_line_callbacks.c \
+ ags_effect_line.c \
+ ags_effect_pad_callbacks.c \
+ ags_effect_pad.c \
+ ags_export_window_callbacks.c \
+ ags_export_window.c \
+ ags_generic_preferences_callbacks.c \
+ ags_generic_preferences.c \
+ ags_ladspa_browser_callbacks.c \
+ ags_ladspa_browser.c \
+ ags_line_callbacks.c \
+ ags_line_editor_callbacks.c \
+ ags_line_editor.c \
+ ags_line.c \
+ ags_line_member_callbacks.c \
+ ags_line_member_editor_callbacks.c \
+ ags_line_member_editor.c \
+ ags_line_member.c \
+ ags_link_collection_editor_callbacks.c \
+ ags_link_collection_editor.c \
+ ags_link_editor_callbacks.c \
+ ags_link_editor.c \
+ ags_listing_editor_callbacks.c \
+ ags_listing_editor.c \
+ ags_machine_callbacks.c \
+ ags_machine_editor_callbacks.c \
+ ags_machine_editor.c \
+ ags_machine.c \
+ ags_menu_bar_callbacks.c \
+ ags_menu_bar.c \
+ ags_navigation_callbacks.c \
+ ags_navigation.c \
+ ags_pad_callbacks.c \
+ ags_pad_editor_callbacks.c \
+ ags_pad_editor.c \
+ ags_pad.c \
+ ags_performance_preferences_callbacks.c \
+ ags_performance_preferences.c \
+ ags_plugin_preferences_callbacks.c \
+ ags_plugin_preferences.c \
+ ags_preferences_callbacks.c \
+ ags_preferences.c \
+ ags_property_collection_editor_callbacks.c \
+ ags_property_collection_editor.c \
+ ags_property_editor_callbacks.c \
+ ags_property_editor.c \
+ ags_property_listing_editor.c \
+ ags_resize_editor.c \
+ ags_server_preferences_callbacks.c \
+ ags_server_preferences.c \
+ ags_window_callbacks.c \
+ ags_window.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/X/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/X/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/X/Makefile.am b/src/ags/X/Makefile.am
new file mode 100644
index 0000000..ed2b3e9
--- /dev/null
+++ b/src/ags/X/Makefile.am
@@ -0,0 +1,133 @@
+deprecated_gsequencer_xorg_h_sources =
+
+gsequencer_xorg_h_sources = \
+ $(deprecated_gsequencer_xorg_h_sources) \
+ ags_audio_preferences_callbacks.h \
+ ags_audio_preferences.h \
+ ags_automation_editor_callbacks.h \
+ ags_automation_editor.h \
+ ags_editor_callbacks.h \
+ ags_editor.h \
+ ags_effect_bridge_callbacks.h \
+ ags_effect_bridge.h \
+ ags_effect_bulk_callbacks.h \
+ ags_effect_bulk.h \
+ ags_effect_line_callbacks.h \
+ ags_effect_line.h \
+ ags_effect_pad_callbacks.h \
+ ags_effect_pad.h \
+ ags_export_window_callbacks.h \
+ ags_export_window.h \
+ ags_generic_preferences_callbacks.h \
+ ags_generic_preferences.h \
+ ags_ladspa_browser_callbacks.h \
+ ags_ladspa_browser.h \
+ ags_line_callbacks.h \
+ ags_line_editor_callbacks.h \
+ ags_line_editor.h \
+ ags_line.h \
+ ags_line_member_callbacks.h \
+ ags_line_member_editor_callbacks.h \
+ ags_line_member_editor.h \
+ ags_line_member.h \
+ ags_link_collection_editor_callbacks.h \
+ ags_link_collection_editor.h \
+ ags_link_editor_callbacks.h \
+ ags_link_editor.h \
+ ags_listing_editor_callbacks.h \
+ ags_listing_editor.h \
+ ags_machine_callbacks.h \
+ ags_machine_editor_callbacks.h \
+ ags_machine_editor.h \
+ ags_machine.h \
+ ags_menu_bar_callbacks.h \
+ ags_menu_bar.h \
+ ags_navigation_callbacks.h \
+ ags_navigation.h \
+ ags_pad_callbacks.h \
+ ags_pad_editor_callbacks.h \
+ ags_pad_editor.h \
+ ags_pad.h \
+ ags_performance_preferences_callbacks.h \
+ ags_performance_preferences.h \
+ ags_plugin_preferences_callbacks.h \
+ ags_plugin_preferences.h \
+ ags_preferences_callbacks.h \
+ ags_preferences.h \
+ ags_property_collection_editor_callbacks.h \
+ ags_property_collection_editor.h \
+ ags_property_editor_callbacks.h \
+ ags_property_editor.h \
+ ags_property_listing_editor.h \
+ ags_resize_editor.h \
+ ags_server_preferences_callbacks.h \
+ ags_server_preferences.h \
+ ags_window_callbacks.h \
+ ags_window.h
+
+deprecated_gsequencer_xorg_c_sources =
+
+gsequencer_xorg_c_sources = \
+ $(deprecated_gsequencer_xorg_c_sources) \
+ ags_audio_preferences_callbacks.c \
+ ags_audio_preferences.c \
+ ags_automation_editor_callbacks.c \
+ ags_automation_editor.c \
+ ags_editor_callbacks.c \
+ ags_editor.c \
+ ags_effect_bridge_callbacks.c \
+ ags_effect_bridge.c \
+ ags_effect_bulk_callbacks.c \
+ ags_effect_bulk.c \
+ ags_effect_line_callbacks.c \
+ ags_effect_line.c \
+ ags_effect_pad_callbacks.c \
+ ags_effect_pad.c \
+ ags_export_window_callbacks.c \
+ ags_export_window.c \
+ ags_generic_preferences_callbacks.c \
+ ags_generic_preferences.c \
+ ags_ladspa_browser_callbacks.c \
+ ags_ladspa_browser.c \
+ ags_line_callbacks.c \
+ ags_line_editor_callbacks.c \
+ ags_line_editor.c \
+ ags_line.c \
+ ags_line_member_callbacks.c \
+ ags_line_member_editor_callbacks.c \
+ ags_line_member_editor.c \
+ ags_line_member.c \
+ ags_link_collection_editor_callbacks.c \
+ ags_link_collection_editor.c \
+ ags_link_editor_callbacks.c \
+ ags_link_editor.c \
+ ags_listing_editor_callbacks.c \
+ ags_listing_editor.c \
+ ags_machine_callbacks.c \
+ ags_machine_editor_callbacks.c \
+ ags_machine_editor.c \
+ ags_machine.c \
+ ags_menu_bar_callbacks.c \
+ ags_menu_bar.c \
+ ags_navigation_callbacks.c \
+ ags_navigation.c \
+ ags_pad_callbacks.c \
+ ags_pad_editor_callbacks.c \
+ ags_pad_editor.c \
+ ags_pad.c \
+ ags_performance_preferences_callbacks.c \
+ ags_performance_preferences.c \
+ ags_plugin_preferences_callbacks.c \
+ ags_plugin_preferences.c \
+ ags_preferences_callbacks.c \
+ ags_preferences.c \
+ ags_property_collection_editor_callbacks.c \
+ ags_property_collection_editor.c \
+ ags_property_editor_callbacks.c \
+ ags_property_editor.c \
+ ags_property_listing_editor.c \
+ ags_resize_editor.c \
+ ags_server_preferences_callbacks.c \
+ ags_server_preferences.c \
+ ags_window_callbacks.c \
+ ags_window.c
diff --git a/src/ags/X/Makefile.in b/src/ags/X/Makefile.in
new file mode 100644
index 0000000..efab96f
--- /dev/null
+++ b/src/ags/X/Makefile.in
@@ -0,0 +1,584 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/X
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_gsequencer_xorg_h_sources =
+gsequencer_xorg_h_sources = \
+ $(deprecated_gsequencer_xorg_h_sources) \
+ ags_audio_preferences_callbacks.h \
+ ags_audio_preferences.h \
+ ags_automation_editor_callbacks.h \
+ ags_automation_editor.h \
+ ags_editor_callbacks.h \
+ ags_editor.h \
+ ags_effect_bridge_callbacks.h \
+ ags_effect_bridge.h \
+ ags_effect_bulk_callbacks.h \
+ ags_effect_bulk.h \
+ ags_effect_line_callbacks.h \
+ ags_effect_line.h \
+ ags_effect_pad_callbacks.h \
+ ags_effect_pad.h \
+ ags_export_window_callbacks.h \
+ ags_export_window.h \
+ ags_generic_preferences_callbacks.h \
+ ags_generic_preferences.h \
+ ags_ladspa_browser_callbacks.h \
+ ags_ladspa_browser.h \
+ ags_line_callbacks.h \
+ ags_line_editor_callbacks.h \
+ ags_line_editor.h \
+ ags_line.h \
+ ags_line_member_callbacks.h \
+ ags_line_member_editor_callbacks.h \
+ ags_line_member_editor.h \
+ ags_line_member.h \
+ ags_link_collection_editor_callbacks.h \
+ ags_link_collection_editor.h \
+ ags_link_editor_callbacks.h \
+ ags_link_editor.h \
+ ags_listing_editor_callbacks.h \
+ ags_listing_editor.h \
+ ags_machine_callbacks.h \
+ ags_machine_editor_callbacks.h \
+ ags_machine_editor.h \
+ ags_machine.h \
+ ags_menu_bar_callbacks.h \
+ ags_menu_bar.h \
+ ags_navigation_callbacks.h \
+ ags_navigation.h \
+ ags_pad_callbacks.h \
+ ags_pad_editor_callbacks.h \
+ ags_pad_editor.h \
+ ags_pad.h \
+ ags_performance_preferences_callbacks.h \
+ ags_performance_preferences.h \
+ ags_plugin_preferences_callbacks.h \
+ ags_plugin_preferences.h \
+ ags_preferences_callbacks.h \
+ ags_preferences.h \
+ ags_property_collection_editor_callbacks.h \
+ ags_property_collection_editor.h \
+ ags_property_editor_callbacks.h \
+ ags_property_editor.h \
+ ags_property_listing_editor.h \
+ ags_resize_editor.h \
+ ags_server_preferences_callbacks.h \
+ ags_server_preferences.h \
+ ags_window_callbacks.h \
+ ags_window.h
+
+deprecated_gsequencer_xorg_c_sources =
+gsequencer_xorg_c_sources = \
+ $(deprecated_gsequencer_xorg_c_sources) \
+ ags_audio_preferences_callbacks.c \
+ ags_audio_preferences.c \
+ ags_automation_editor_callbacks.c \
+ ags_automation_editor.c \
+ ags_editor_callbacks.c \
+ ags_editor.c \
+ ags_effect_bridge_callbacks.c \
+ ags_effect_bridge.c \
+ ags_effect_bulk_callbacks.c \
+ ags_effect_bulk.c \
+ ags_effect_line_callbacks.c \
+ ags_effect_line.c \
+ ags_effect_pad_callbacks.c \
+ ags_effect_pad.c \
+ ags_export_window_callbacks.c \
+ ags_export_window.c \
+ ags_generic_preferences_callbacks.c \
+ ags_generic_preferences.c \
+ ags_ladspa_browser_callbacks.c \
+ ags_ladspa_browser.c \
+ ags_line_callbacks.c \
+ ags_line_editor_callbacks.c \
+ ags_line_editor.c \
+ ags_line.c \
+ ags_line_member_callbacks.c \
+ ags_line_member_editor_callbacks.c \
+ ags_line_member_editor.c \
+ ags_line_member.c \
+ ags_link_collection_editor_callbacks.c \
+ ags_link_collection_editor.c \
+ ags_link_editor_callbacks.c \
+ ags_link_editor.c \
+ ags_listing_editor_callbacks.c \
+ ags_listing_editor.c \
+ ags_machine_callbacks.c \
+ ags_machine_editor_callbacks.c \
+ ags_machine_editor.c \
+ ags_machine.c \
+ ags_menu_bar_callbacks.c \
+ ags_menu_bar.c \
+ ags_navigation_callbacks.c \
+ ags_navigation.c \
+ ags_pad_callbacks.c \
+ ags_pad_editor_callbacks.c \
+ ags_pad_editor.c \
+ ags_pad.c \
+ ags_performance_preferences_callbacks.c \
+ ags_performance_preferences.c \
+ ags_plugin_preferences_callbacks.c \
+ ags_plugin_preferences.c \
+ ags_preferences_callbacks.c \
+ ags_preferences.c \
+ ags_property_collection_editor_callbacks.c \
+ ags_property_collection_editor.c \
+ ags_property_editor_callbacks.c \
+ ags_property_editor.c \
+ ags_property_listing_editor.c \
+ ags_resize_editor.c \
+ ags_server_preferences_callbacks.c \
+ ags_server_preferences.c \
+ ags_window_callbacks.c \
+ ags_window.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/X/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/X/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/X/ags_audio_preferences.c b/src/ags/X/ags_audio_preferences.c
new file mode 100644
index 0000000..38cd6f4
--- /dev/null
+++ b/src/ags/X/ags_audio_preferences.c
@@ -0,0 +1,469 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_audio_preferences.h>
+#include <ags/X/ags_audio_preferences_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+#include <ags/object/ags_soundcard.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_config.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_preferences.h>
+
+void ags_audio_preferences_class_init(AgsAudioPreferencesClass *audio_preferences);
+void ags_audio_preferences_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_audio_preferences_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_audio_preferences_init(AgsAudioPreferences *audio_preferences);
+void ags_audio_preferences_connect(AgsConnectable *connectable);
+void ags_audio_preferences_disconnect(AgsConnectable *connectable);
+void ags_audio_preferences_set_update(AgsApplicable *applicable, gboolean update);
+void ags_audio_preferences_apply(AgsApplicable *applicable);
+void ags_audio_preferences_reset(AgsApplicable *applicable);
+static void ags_audio_preferences_finalize(GObject *gobject);
+void ags_audio_preferences_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_audio_preferences
+ * @short_description: A composite widget to do audio related preferences
+ * @title: AgsAudioPreferences
+ * @section_id:
+ * @include: ags/X/ags_audio_preferences.h
+ *
+ * #AgsAudioPreferences enables you to make preferences of soundcard, audio channels,
+ * samplerate and buffer size.
+ */
+
+static gpointer ags_audio_preferences_parent_class = NULL;
+
+GType
+ags_audio_preferences_get_type(void)
+{
+ static GType ags_type_audio_preferences = 0;
+
+ if(!ags_type_audio_preferences){
+ static const GTypeInfo ags_audio_preferences_info = {
+ sizeof (AgsAudioPreferencesClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_preferences_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAudioPreferences),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_preferences_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_preferences_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_preferences_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_audio_preferences = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsAudioPreferences\0", &ags_audio_preferences_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_audio_preferences,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_audio_preferences,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_audio_preferences);
+}
+
+void
+ags_audio_preferences_class_init(AgsAudioPreferencesClass *audio_preferences)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+
+ ags_audio_preferences_parent_class = g_type_class_peek_parent(audio_preferences);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) audio_preferences;
+
+ gobject->finalize = ags_audio_preferences_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) audio_preferences;
+
+ widget->show = ags_audio_preferences_show;
+}
+
+void
+ags_audio_preferences_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_audio_preferences_connect;
+ connectable->disconnect = ags_audio_preferences_disconnect;
+}
+
+void
+ags_audio_preferences_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_audio_preferences_set_update;
+ applicable->apply = ags_audio_preferences_apply;
+ applicable->reset = ags_audio_preferences_reset;
+}
+
+void
+ags_audio_preferences_init(AgsAudioPreferences *audio_preferences)
+{
+ GtkTable *table;
+ GtkLabel *label;
+ GtkCellRenderer *cell_renderer;
+
+ table = (GtkTable *) gtk_table_new(2, 4, FALSE);
+ gtk_box_pack_start(GTK_BOX(audio_preferences),
+ GTK_WIDGET(table),
+ FALSE, FALSE,
+ 2);
+
+ /* sound card */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "sound card\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ audio_preferences->card = (GtkComboBox *) gtk_combo_box_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(audio_preferences->card),
+ 1, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ cell_renderer = gtk_cell_renderer_text_new();
+ gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(audio_preferences->card),
+ cell_renderer,
+ FALSE);
+ gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(audio_preferences->card),
+ cell_renderer,
+ "text\0", 0,
+ "text\0", 1,
+ NULL);
+ gtk_combo_box_set_active(audio_preferences->card, 0);
+
+ /* audio channels */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "audio channels\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ audio_preferences->audio_channels = (GtkSpinButton *) gtk_spin_button_new_with_range(1.0, 24.0, 1.0);
+ gtk_spin_button_set_value(audio_preferences->audio_channels, 2);
+ gtk_table_attach(table,
+ GTK_WIDGET(audio_preferences->audio_channels),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* samplerate */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "samplerate\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ audio_preferences->samplerate = (GtkSpinButton *) gtk_spin_button_new_with_range(1.0, 192000.0, 1.0);
+ gtk_spin_button_set_value(audio_preferences->samplerate, 44100);
+ gtk_table_attach(table,
+ GTK_WIDGET(audio_preferences->samplerate),
+ 1, 2,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* buffer size */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "buffer size\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 3, 4,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ audio_preferences->buffer_size = (GtkSpinButton *) gtk_spin_button_new_with_range(1.0, 65535.0, 1.0);
+ gtk_spin_button_set_value(audio_preferences->buffer_size, 512);
+ gtk_table_attach(table,
+ GTK_WIDGET(audio_preferences->buffer_size),
+ 1, 2,
+ 3, 4,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+}
+
+void
+ags_audio_preferences_connect(AgsConnectable *connectable)
+{
+ AgsAudioPreferences *audio_preferences;
+
+ audio_preferences = AGS_AUDIO_PREFERENCES(connectable);
+
+ g_signal_connect_after(G_OBJECT(audio_preferences->card), "changed\0",
+ G_CALLBACK(ags_audio_preferences_card_changed_callback), audio_preferences);
+}
+
+void
+ags_audio_preferences_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+static void
+ags_audio_preferences_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_audio_preferences_set_update(AgsApplicable *applicable, gboolean update)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_audio_preferences_apply(AgsApplicable *applicable)
+{
+ AgsPreferences *preferences;
+ AgsAudioPreferences *audio_preferences;
+ AgsConfig *config;
+ GList *card_id, *card_name;
+ char *device;
+ gchar *str;
+ int card_num;
+ guint channels, channels_min, channels_max;
+ guint rate, rate_min, rate_max;
+ guint buffer_size, buffer_size_min, buffer_size_max;
+
+ audio_preferences = AGS_AUDIO_PREFERENCES(applicable);
+
+ preferences = (AgsPreferences *) gtk_widget_get_ancestor(GTK_WIDGET(audio_preferences),
+ AGS_TYPE_PREFERENCES);
+ config = AGS_CONFIG(AGS_MAIN(AGS_WINDOW(preferences->window)->ags_main)->config);
+
+ /* samplerate */
+ str = g_strdup_printf("%u\0",
+ (guint) gtk_spin_button_get_value(audio_preferences->samplerate));
+ ags_config_set(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0",
+ str);
+ g_free(str);
+
+ /* buffer size */
+ str = g_strdup_printf("%u\0",
+ (guint) gtk_spin_button_get_value(audio_preferences->buffer_size));
+ ags_config_set(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0",
+ str);
+ g_free(str);
+
+ /* dsp channels */
+ str = g_strdup_printf("%u\0",
+ (guint) gtk_spin_button_get_value(audio_preferences->audio_channels));
+ ags_config_set(config,
+ AGS_CONFIG_DEVOUT,
+ "dsp-channels\0",
+ str);
+ g_free(str);
+
+ /* card */
+ ags_config_set(config,
+ AGS_CONFIG_DEVOUT,
+ "alsa-handle\0",
+ gtk_combo_box_text_get_active_text(audio_preferences->card));
+}
+
+void
+ags_audio_preferences_reset(AgsApplicable *applicable)
+{
+ AgsWindow *window;
+ AgsPreferences *preferences;
+ AgsAudioPreferences *audio_preferences;
+ AgsDevout *devout;
+ GtkListStore *model;
+ GtkTreeIter iter;
+ GList *card_id, *card_name;
+ char *device;
+ int card_num;
+ guint channels, channels_min, channels_max;
+ guint rate, rate_min, rate_max;
+ guint buffer_size, buffer_size_min, buffer_size_max;
+ GError *error;
+
+ audio_preferences = AGS_AUDIO_PREFERENCES(applicable);
+
+ /* */
+ preferences = (AgsPreferences *) gtk_widget_get_ancestor(GTK_WIDGET(audio_preferences),
+ AGS_TYPE_PREFERENCES);
+ window = AGS_WINDOW(preferences->window);
+
+ devout = window->devout;
+
+ /* refresh */
+ ags_soundcard_list_cards(AGS_SOUNDCARD(devout),
+ &card_id, &card_name);
+ model = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING);
+
+ while(card_id != NULL){
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, card_id->data,
+ 1, card_name->data,
+ -1);
+
+ card_id = card_id->next;
+ card_name = card_name->next;
+ }
+
+ g_list_free(card_id);
+ g_list_free(card_name);
+
+ gtk_combo_box_set_model(audio_preferences->card,
+ GTK_TREE_MODEL(model));
+
+ /* */
+ g_object_get(G_OBJECT(devout),
+ "device\0", &device,
+ "pcm_channels\0", &channels,
+ "frequency\0", &rate,
+ "buffer_size\0", &buffer_size,
+ NULL);
+
+
+ error = NULL;
+
+ /* */
+ sscanf(device, "hw:%i\0", &card_num);
+
+ // gtk_combo_box_set_active(audio_preferences->card,
+ // card_num);
+
+ gtk_spin_button_set_value(audio_preferences->audio_channels,
+ (gdouble) channels);
+ gtk_spin_button_set_value(audio_preferences->samplerate,
+ (gdouble) rate);
+ gtk_spin_button_set_value(audio_preferences->buffer_size,
+ (gdouble) buffer_size);
+
+ /* */
+ ags_soundcard_pcm_info(AGS_SOUNDCARD(devout),
+ gtk_combo_box_get_active_text(audio_preferences->card),
+ &channels_min, &channels_max,
+ &rate_min, &rate_max,
+ &buffer_size_min, &buffer_size_max,
+ &error);
+
+ if(error != NULL){
+ GtkMessageDialog *dialog;
+
+ dialog = (GtkMessageDialog *) gtk_message_dialog_new((GtkWindow *) gtk_widget_get_ancestor(GTK_WIDGET(audio_preferences),
+ AGS_TYPE_PREFERENCES),
+ GTK_DIALOG_MODAL,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_CLOSE,
+ error->message);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(GTK_WIDGET(dialog));
+
+ gtk_spin_button_set_range(audio_preferences->audio_channels, 0.0, 24.0);
+ gtk_spin_button_set_range(audio_preferences->samplerate, 1.0, 192000.0);
+ gtk_spin_button_set_range(audio_preferences->buffer_size, 1.0, 65535.0);
+
+ return;
+ }
+
+ gtk_spin_button_set_range(audio_preferences->audio_channels,
+ channels_min, channels_max);
+ gtk_spin_button_set_range(audio_preferences->samplerate,
+ rate_min, rate_max);
+ gtk_spin_button_set_range(audio_preferences->buffer_size,
+ buffer_size_min, buffer_size_max);
+}
+
+void
+ags_audio_preferences_show(GtkWidget *widget)
+{
+ AgsAudioPreferences *audio_preferences;
+ pthread_t thread;
+
+ audio_preferences = AGS_AUDIO_PREFERENCES(widget);
+
+ GTK_WIDGET_CLASS(ags_audio_preferences_parent_class)->show(widget);
+}
+
+/**
+ * ags_audio_preferences_new:
+ *
+ * Creates an #AgsAudioPreferences
+ *
+ * Returns: a new #AgsAudioPreferences
+ *
+ * Since: 0.4
+ */
+AgsAudioPreferences*
+ags_audio_preferences_new()
+{
+ AgsAudioPreferences *audio_preferences;
+
+ audio_preferences = (AgsAudioPreferences *) g_object_new(AGS_TYPE_AUDIO_PREFERENCES,
+ NULL);
+
+ return(audio_preferences);
+}
diff --git a/src/ags/X/ags_audio_preferences.h b/src/ags/X/ags_audio_preferences.h
new file mode 100644
index 0000000..e744c49
--- /dev/null
+++ b/src/ags/X/ags_audio_preferences.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_PREFERENCES_H__
+#define __AGS_AUDIO_PREFERENCES_H__
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_AUDIO_PREFERENCES (ags_audio_preferences_get_type())
+#define AGS_AUDIO_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferences))
+#define AGS_AUDIO_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferencesClass))
+#define AGS_IS_AUDIO_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO_PREFERENCES))
+#define AGS_IS_AUDIO_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO_PREFERENCES))
+#define AGS_AUDIO_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferencesClass))
+
+typedef struct _AgsAudioPreferences AgsAudioPreferences;
+typedef struct _AgsAudioPreferencesClass AgsAudioPreferencesClass;
+
+struct _AgsAudioPreferences
+{
+ GtkVBox vbox;
+
+ GtkComboBox *card;
+ GtkSpinButton *audio_channels;
+ GtkSpinButton *samplerate;
+ GtkSpinButton *buffer_size;
+};
+
+struct _AgsAudioPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_audio_preferences_get_type(void);
+
+AgsAudioPreferences* ags_audio_preferences_new();
+
+#endif /*__AGS_AUDIO_PREFERENCES_H__*/
diff --git a/src/ags/X/ags_audio_preferences_callbacks.c b/src/ags/X/ags_audio_preferences_callbacks.c
new file mode 100644
index 0000000..f971e92
--- /dev/null
+++ b/src/ags/X/ags_audio_preferences_callbacks.c
@@ -0,0 +1,122 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_audio_preferences_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/task/ags_set_output_device.h>
+#include <ags/audio/task/ags_set_audio_channels.h>
+#include <ags/audio/task/ags_set_buffer_size.h>
+#include <ags/audio/task/ags_set_samplerate.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_preferences.h>
+
+void
+ags_audio_preferences_card_changed_callback(GtkComboBox *combo,
+ AgsAudioPreferences *audio_preferences)
+{
+ AgsWindow *window;
+ AgsDevout *devout;
+ AgsSetOutputDevice *set_output_device;
+
+ window = AGS_WINDOW(AGS_PREFERENCES(gtk_widget_get_ancestor(GTK_WIDGET(audio_preferences),
+ AGS_TYPE_PREFERENCES))->window);
+ devout = AGS_DEVOUT(window->devout);
+
+ /* create set output device task */
+ set_output_device = ags_set_output_device_new((GObject *) devout,
+ gtk_combo_box_get_active_text(audio_preferences->card));
+
+ /* append AgsSetOutputDevice */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ AGS_TASK(set_output_device));
+
+ /* reset dialog */
+ ags_audio_preferences_reset(audio_preferences);
+}
+
+void
+ags_audio_preferences_audio_channels_changed(GtkSpinButton *spin_button,
+ AgsAudioPreferences *audio_preferences)
+{
+ AgsWindow *window;
+ AgsDevout *devout;
+ AgsSetAudioChannels *set_audio_channels;
+
+ window = AGS_WINDOW(AGS_PREFERENCES(gtk_widget_get_ancestor(GTK_WIDGET(audio_preferences),
+ AGS_TYPE_PREFERENCES))->window);
+ devout = AGS_DEVOUT(window->devout);
+
+ /* create set output device task */
+ set_audio_channels = ags_set_audio_channels_new(devout,
+ (guint) gtk_spin_button_get_value(spin_button));
+
+ /* append AgsSetAudioChannels */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ AGS_TASK(set_audio_channels));
+}
+
+void
+ags_audio_preferences_samplerate_changed(GtkSpinButton *spin_button,
+ AgsAudioPreferences *audio_preferences)
+{
+ AgsWindow *window;
+ AgsDevout *devout;
+ AgsSetSamplerate *set_samplerate;
+
+ window = AGS_WINDOW(AGS_PREFERENCES(gtk_widget_get_ancestor(GTK_WIDGET(audio_preferences),
+ AGS_TYPE_PREFERENCES))->window);
+ devout = AGS_DEVOUT(window->devout);
+
+ /* create set output device task */
+ set_samplerate = ags_set_samplerate_new((GObject *) devout,
+ (guint) gtk_spin_button_get_value(spin_button));
+
+ /* append AgsSetSamplerate */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ AGS_TASK(set_samplerate));
+}
+
+void
+ags_audio_preferences_buffer_size_changed(GtkSpinButton *spin_button,
+ AgsAudioPreferences *audio_preferences)
+{
+ AgsWindow *window;
+ AgsDevout *devout;
+ AgsSetBufferSize *set_buffer_size;
+
+ window = AGS_WINDOW(AGS_PREFERENCES(gtk_widget_get_ancestor(GTK_WIDGET(audio_preferences),
+ AGS_TYPE_PREFERENCES))->window);
+ devout = AGS_DEVOUT(window->devout);
+
+ /* create set output device task */
+ set_buffer_size = ags_set_buffer_size_new((GObject *) devout,
+ (guint) gtk_spin_button_get_value(spin_button));
+
+ /* append AgsSetBufferSize */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ AGS_TASK(set_buffer_size));
+}
diff --git a/src/ags/X/ags_audio_preferences_callbacks.h b/src/ags/X/ags_audio_preferences_callbacks.h
new file mode 100644
index 0000000..f3d719c
--- /dev/null
+++ b/src/ags/X/ags_audio_preferences_callbacks.h
@@ -0,0 +1,36 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_PREFERENCES_CALLBACKS_H__
+#define __AGS_AUDIO_PREFERENCES_CALLBACKS_H__
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_audio_preferences.h>
+
+void ags_audio_preferences_card_changed_callback(GtkComboBox *combo,
+ AgsAudioPreferences *audio_preferences);
+
+void ags_audio_preferences_audio_channels_changed(GtkSpinButton *spin_button,
+ AgsAudioPreferences *audio_preferences);
+void ags_audio_preferences_samplerate_changed(GtkSpinButton *spin_button,
+ AgsAudioPreferences *audio_preferences);
+void ags_audio_preferences_buffer_size_changed(GtkSpinButton *spin_button,
+ AgsAudioPreferences *audio_preferences);
+
+#endif /*__AGS_AUDIO_PREFERENCES_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_automation_editor.c b/src/ags/X/ags_automation_editor.c
new file mode 100644
index 0000000..ca93202
--- /dev/null
+++ b/src/ags/X/ags_automation_editor.c
@@ -0,0 +1,254 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_automation_editor.h>
+#include <ags/X/ags_automation_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_window.h>
+
+void ags_automation_editor_class_init(AgsAutomationEditorClass *automation_editor);
+void ags_automation_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_automation_editor_init(AgsAutomationEditor *automation_editor);
+void ags_automation_editor_connect(AgsConnectable *connectable);
+void ags_automation_editor_disconnect(AgsConnectable *connectable);
+void ags_automation_editor_finalize(GObject *gobject);
+
+void ags_automation_editor_real_machine_changed(AgsAutomationEditor *automation_editor, AgsMachine *machine);
+
+enum{
+ MACHINE_CHANGED,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_automation_editor_parent_class = NULL;
+static guint automation_editor_signals[LAST_SIGNAL];
+
+/**
+ * SECTION:ags_automation_editor
+ * @short_description: machine radio buttons
+ * @title: AgsAutomationEditor
+ * @section_id:
+ * @include: ags/X/editor/ags_automation_editor.h
+ *
+ * The #AgsAutomationEditor enables you make choice of an #AgsMachine.
+ */
+
+GType
+ags_automation_editor_get_type(void)
+{
+ static GType ags_type_automation_editor = 0;
+
+ if(!ags_type_automation_editor){
+ static const GTypeInfo ags_automation_editor_info = {
+ sizeof (AgsAutomationEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_automation_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAutomationEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_automation_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_automation_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_automation_editor = g_type_register_static(GTK_TYPE_DIALOG,
+ "AgsAutomationEditor\0", &ags_automation_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_automation_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_automation_editor);
+}
+
+void
+ags_automation_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_automation_editor_connect;
+ connectable->disconnect = ags_automation_editor_disconnect;
+}
+
+void
+ags_automation_editor_class_init(AgsAutomationEditorClass *automation_editor)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_automation_editor_parent_class = g_type_class_peek_parent(automation_editor);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) automation_editor;
+
+ gobject->finalize = ags_automation_editor_finalize;
+
+ /* AgsEditorClass */
+ automation_editor->machine_changed = ags_automation_editor_real_machine_changed;
+
+ /* signals */
+ /**
+ * AgsEditor::machine-changed:
+ * @editor: the object to change machine.
+ * @machine: the #AgsMachine to set
+ *
+ * The ::machine-changed signal notifies about changed machine.
+ */
+ automation_editor_signals[MACHINE_CHANGED] =
+ g_signal_new("machine-changed\0",
+ G_TYPE_FROM_CLASS(automation_editor),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAutomationEditorClass, machine_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_automation_editor_init(AgsAutomationEditor *automation_editor)
+{
+ GtkTable *table;
+
+ g_object_set(G_OBJECT(automation_editor),
+ "title\0", "edit automation\0",
+ NULL);
+
+ table = gtk_table_new(2,
+ 2,
+ FALSE);
+ gtk_box_pack_start(gtk_dialog_get_content_area(automation_editor),
+ GTK_WIDGET(table),
+ TRUE, TRUE,
+ 0);
+
+ automation_editor->automation_toolbar = ags_automation_toolbar_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(automation_editor->automation_toolbar),
+ 0, 2,
+ 0, 1,
+ GTK_FILL, 0,
+ 0, 0);
+
+ automation_editor->machine_selector = ags_machine_selector_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(automation_editor->machine_selector),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ automation_editor->automation_edit = ags_automation_edit_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(automation_editor->automation_edit),
+ 1, 2,
+ 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+}
+
+void
+ags_automation_editor_connect(AgsConnectable *connectable)
+{
+ AgsAutomationEditor *automation_editor;
+
+ automation_editor = AGS_AUTOMATION_EDITOR(connectable);
+
+ /* */
+ g_signal_connect_after(automation_editor, "delete-event\0",
+ G_CALLBACK(ags_automation_editor_delete_event_callback), NULL);
+
+ g_signal_connect((GObject *) automation_editor->machine_selector, "changed\0",
+ G_CALLBACK(ags_automation_editor_machine_changed_callback), (gpointer) automation_editor);
+
+ /* */
+ ags_connectable_connect(AGS_CONNECTABLE(automation_editor->automation_toolbar));
+ ags_connectable_connect(AGS_CONNECTABLE(automation_editor->automation_edit));
+}
+
+void
+ags_automation_editor_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_editor_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+
+ G_OBJECT_CLASS(ags_automation_editor_parent_class)->finalize(gobject);
+}
+
+void
+ags_automation_editor_real_machine_changed(AgsAutomationEditor *automation_editor, AgsMachine *machine)
+{
+ automation_editor->selected_machine = machine;
+
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_automation_editor_machine_changed:
+ * @automation_editor: an #AgsAutomationEditor
+ * @machine: the new #AgsMachine
+ *
+ * Is emitted as machine changed of automation editor.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_editor_machine_changed(AgsAutomationEditor *automation_editor, AgsMachine *machine)
+{
+ g_return_if_fail(AGS_IS_AUTOMATION_EDITOR(automation_editor));
+
+ g_object_ref((GObject *) automation_editor);
+ g_signal_emit((GObject *) automation_editor,
+ automation_editor_signals[MACHINE_CHANGED], 0,
+ machine);
+ g_object_unref((GObject *) automation_editor);
+}
+
+/**
+ * ags_automation_editor_new:
+ *
+ * Create a new #AgsAutomationEditor.
+ *
+ * Since: 0.4
+ */
+AgsAutomationEditor*
+ags_automation_editor_new(GObject *window)
+{
+ AgsAutomationEditor *automation_editor;
+
+ automation_editor = (AgsAutomationEditor *) g_object_new(AGS_TYPE_AUTOMATION_EDITOR,
+ NULL);
+ automation_editor->window = window;
+
+ return(automation_editor);
+}
diff --git a/src/ags/X/ags_automation_editor.h b/src/ags/X/ags_automation_editor.h
new file mode 100644
index 0000000..e309354
--- /dev/null
+++ b/src/ags/X/ags_automation_editor.h
@@ -0,0 +1,76 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_EDITOR_H__
+#define __AGS_AUTOMATION_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_automation_toolbar.h>
+#include <ags/X/editor/ags_notebook.h>
+#include <ags/X/editor/ags_machine_selector.h>
+#include <ags/X/editor/ags_automation_edit.h>
+
+#define AGS_TYPE_AUTOMATION_EDITOR (ags_automation_editor_get_type())
+#define AGS_AUTOMATION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION_EDITOR, AgsAutomationEditor))
+#define AGS_AUTOMATION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION_EDITOR, AgsAutomationEditorClass))
+#define AGS_IS_AUTOMATION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION_EDITOR))
+#define AGS_IS_AUTOMATION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOMATION_EDITOR))
+#define AGS_AUTOMATION_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION_EDITOR, AgsAutomationEditorClass))
+
+typedef struct _AgsAutomationEditor AgsAutomationEditor;
+typedef struct _AgsAutomationEditorClass AgsAutomationEditorClass;
+
+struct _AgsAutomationEditor
+{
+ GtkDialog dialog;
+
+ gchar *version;
+ gchar *build_id;
+
+ GObject *window;
+
+ AgsMachineSelector *machine_selector;
+ AgsMachine *selected_machine;
+ gulong set_audio_channels_handler;
+ gulong set_pads_handler;
+
+ AgsAutomationToolbar *automation_toolbar;
+
+ AgsAutomationEdit *automation_edit;
+};
+
+struct _AgsAutomationEditorClass
+{
+ GtkDialogClass dialog;
+
+ void (*machine_changed)(AgsAutomationEditor *automation_editor,
+ AgsMachine *machine);
+};
+
+GType ags_automation_editor_get_type(void);
+
+void ags_automation_editor_machine_changed(AgsAutomationEditor *automation_editor,
+ AgsMachine *machine);
+
+AgsAutomationEditor* ags_automation_editor_new(GObject *window);
+
+#endif /*__AGS_AUTOMATION_EDITOR_H__*/
diff --git a/src/ags/X/ags_automation_editor_callbacks.c b/src/ags/X/ags_automation_editor_callbacks.c
new file mode 100644
index 0000000..74566af
--- /dev/null
+++ b/src/ags/X/ags_automation_editor_callbacks.c
@@ -0,0 +1,67 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_automation_editor_callbacks.h>
+
+gboolean
+ags_automation_editor_delete_event_callback(GtkWidget *automation_editor,
+ gpointer data)
+{
+ gtk_widget_hide(automation_editor);
+
+ return(TRUE);
+}
+
+void
+ags_automation_editor_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsAutomationEditor *automation_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_editor_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads, guint pads_old,
+ AgsAutomationEditor *automation_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_editor_machine_changed_callback(AgsMachineSelector *machine_selector, AgsMachine *machine,
+ AgsAutomationEditor *automation_editor)
+{
+ ags_automation_editor_machine_changed(automation_editor,
+ machine);
+}
+
+void
+ags_automation_editor_change_position_callback(AgsNavigation *navigation, gdouble tact,
+ AgsAutomationEditor *automation_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_editor_edit_vscrollbar_value_changed_callback(GtkWidget *note_edit,
+ AgsAutomationEditor *automation_editor)
+{
+ //TODO:JK: implement me
+}
diff --git a/src/ags/X/ags_automation_editor_callbacks.h b/src/ags/X/ags_automation_editor_callbacks.h
new file mode 100644
index 0000000..1506aff
--- /dev/null
+++ b/src/ags/X/ags_automation_editor_callbacks.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_EDITOR_CALLBACKS_H__
+#define __AGS_AUTOMATION_EDITOR_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags/X/ags_automation_editor.h>
+#include <ags/X/ags_navigation.h>
+#include <ags/X/ags_machine.h>
+
+#include <ags/X/editor/ags_machine_selector.h>
+
+gboolean ags_automation_editor_delete_event_callback(GtkWidget *automation_editor,
+ gpointer data);
+
+void ags_automation_editor_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsAutomationEditor *automation_editor);
+void ags_automation_editor_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads, guint pads_old,
+ AgsAutomationEditor *automation_editor);
+
+void ags_automation_editor_machine_changed_callback(AgsMachineSelector *machine_selector, AgsMachine *machine,
+ AgsAutomationEditor *automation_editor);
+
+void ags_automation_editor_change_position_callback(AgsNavigation *navigation, gdouble tact,
+ AgsAutomationEditor *automation_editor);
+
+void ags_automation_editor_edit_vscrollbar_value_changed_callback(GtkWidget *note_edit,
+ AgsAutomationEditor *automation_editor);
+
+#endif /*__AGS_AUTOMATION_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_bulk_member.c b/src/ags/X/ags_bulk_member.c
new file mode 100644
index 0000000..1a0b56c
--- /dev/null
+++ b/src/ags/X/ags_bulk_member.c
@@ -0,0 +1,862 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_bulk_member.h>
+#include <ags/X/ags_bulk_member_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_devout.h>
+
+#include <ags/widget/ags_dial.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+void ags_bulk_member_class_init(AgsBulkMemberClass *bulk_member);
+void ags_bulk_member_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_bulk_member_init(AgsBulkMember *bulk_member);
+void ags_bulk_member_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_bulk_member_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_bulk_member_connect(AgsConnectable *connectable);
+void ags_bulk_member_disconnect(AgsConnectable *connectable);
+void ags_bulk_member_finalize(GObject *gobject);
+
+void ags_bulk_member_real_change_port(AgsBulkMember *bulk_member,
+ gpointer port_data);
+
+/**
+ * SECTION:ags_bulk_member
+ * @short_description: Modify assigned recall's port
+ * @title: AgsBulkMember
+ * @section_id:
+ * @include: ags/X/ags_bulk_member.h
+ *
+ * #AgsBulkMember is a composite widget to modify ports of recalls. A bulk member
+ * controls only one specific port of a recall but distinguishes between simple/complex
+ * recall. It is generally packed into a #AgsBulk.
+ */
+
+enum{
+ CHANGE_PORT,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_WIDGET_TYPE,
+ PROP_WIDGET_LABEL,
+ PROP_PLUGIN_NAME,
+ PROP_FILENAME,
+ PROP_EFFECT,
+ PROP_SPECIFIER,
+ PROP_CONTROL_PORT,
+ PROP_TASK_TYPE,
+};
+
+static gpointer ags_bulk_member_parent_class = NULL;
+static guint bulk_member_signals[LAST_SIGNAL];
+
+GType
+ags_bulk_member_get_type(void)
+{
+ static GType ags_type_bulk_member = 0;
+
+ if(!ags_type_bulk_member){
+ static const GTypeInfo ags_bulk_member_info = {
+ sizeof(AgsBulkMemberClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_bulk_member_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsBulkMember),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_bulk_member_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_bulk_member_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_bulk_member = g_type_register_static(GTK_TYPE_FRAME,
+ "AgsBulkMember\0", &ags_bulk_member_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_bulk_member,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_bulk_member);
+}
+
+void
+ags_bulk_member_class_init(AgsBulkMemberClass *bulk_member)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_bulk_member_parent_class = g_type_class_peek_parent(bulk_member);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(bulk_member);
+
+ gobject->set_property = ags_bulk_member_set_property;
+ gobject->get_property = ags_bulk_member_get_property;
+
+ gobject->finalize = ags_bulk_member_finalize;
+
+ /* properties */
+ /**
+ * AgsBulkMember:widget-type:
+ *
+ * The widget type to instantiate and use as control.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_ulong("widget-type\0",
+ "widget type of bulk member\0",
+ "The widget type this bulk member packs\0",
+ 0, G_MAXULONG,
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_WIDGET_TYPE,
+ param_spec);
+
+ /**
+ * AgsBulkMember:widget-label:
+ *
+ * The widget's label to use.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("widget-label\0",
+ "label to display\0",
+ "The label to display\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_WIDGET_LABEL,
+ param_spec);
+
+ /**
+ * AgsBulkMember:plugin-name:
+ *
+ * The plugin name of the recall to use.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("plugin-name\0",
+ "plugin name to control\0",
+ "The plugin's name to control\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PLUGIN_NAME,
+ param_spec);
+
+ /**
+ * AgsBulkMember:specifier:
+ *
+ * The plugin specifier of the recall to apply.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("specifier\0",
+ "port specifier\0",
+ "The specifier of the port\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SPECIFIER,
+ param_spec);
+
+ /**
+ * AgsBulkMember:filename:
+ *
+ * The plugin filename of the recall to apply.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("filename\0",
+ "the filename\0",
+ "The filename of the plugin\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILENAME,
+ param_spec);
+
+ /**
+ * AgsBulkMember:effect:
+ *
+ * The plugin effect of the recall to apply.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("effect\0",
+ "the effect\0",
+ "The effect of the plugin\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_EFFECT,
+ param_spec);
+
+ /**
+ * AgsBulkMember:control-port:
+ *
+ * The control port of the recall.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("control-port\0",
+ "control port index\0",
+ "The index of the port to control\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CONTROL_PORT,
+ param_spec);
+
+ /* AgsBulkMember */
+ bulk_member->change_port = ags_bulk_member_real_change_port;
+
+ /* signals */
+ /**
+ * AgsBulkMember::change-port:
+ * @bulk_member: the #AgsBulkMember
+ * @port_data: the port's data
+ *
+ * The ::change-port signal notifies modified port.
+ */
+ bulk_member_signals[CHANGE_PORT] =
+ g_signal_new("change-port\0",
+ G_TYPE_FROM_CLASS(bulk_member),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsBulkMemberClass, change_port),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1,
+ G_TYPE_POINTER);
+}
+
+void
+ags_bulk_member_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_bulk_member_connect;
+ connectable->disconnect = ags_bulk_member_disconnect;
+}
+
+void
+ags_bulk_member_init(AgsBulkMember *bulk_member)
+{
+ GtkWidget *control;
+
+ g_signal_connect_after((GObject *) bulk_member, "parent_set\0",
+ G_CALLBACK(ags_bulk_member_parent_set_callback), (gpointer) bulk_member);
+
+ bulk_member->flags = (AGS_BULK_MEMBER_RESET_BY_ATOMIC |
+ AGS_BULK_MEMBER_APPLY_RECALL);
+
+ bulk_member->widget_type = AGS_TYPE_DIAL;
+ control = (GtkWidget *) g_object_new(AGS_TYPE_DIAL,
+ "adjustment\0", gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0),
+ NULL);
+ gtk_container_add(GTK_CONTAINER(bulk_member),
+ control);
+
+ bulk_member->widget_label = NULL;
+
+ bulk_member->plugin_name = NULL;
+
+ bulk_member->filename = NULL;
+ bulk_member->effect = NULL;
+ bulk_member->specifier = NULL;
+
+ bulk_member->control_port = NULL;
+
+ bulk_member->bulk_port = NULL;
+
+ bulk_member->task_type = G_TYPE_NONE;
+}
+
+void
+ags_bulk_member_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsBulkMember *bulk_member;
+
+ bulk_member = AGS_BULK_MEMBER(gobject);
+
+ switch(prop_id){
+ case PROP_WIDGET_TYPE:
+ {
+ GtkWidget *child, *new_child;
+ GType widget_type;
+
+ widget_type = g_value_get_ulong(value);
+
+ if(widget_type == bulk_member->widget_type){
+ return;
+ }
+
+ child = gtk_bin_get_child(GTK_BIN(bulk_member));
+
+ if(child != NULL){
+ gtk_widget_destroy(child);
+ }
+
+ bulk_member->widget_type = widget_type;
+ new_child = (GtkWidget *) g_object_new(widget_type,
+ NULL);
+
+ gtk_container_add(GTK_CONTAINER(bulk_member),
+ new_child);
+
+ }
+ break;
+ case PROP_WIDGET_LABEL:
+ {
+ gchar *label;
+
+ label = g_value_get_string(value);
+
+ if(label == bulk_member->widget_label){
+ return;
+ }
+
+ bulk_member->widget_label = g_strdup(label);
+ ags_bulk_member_set_label(bulk_member, label);
+ }
+ break;
+ case PROP_PLUGIN_NAME:
+ {
+ gchar *plugin_name;
+
+ plugin_name = g_value_get_string(value);
+
+ if(plugin_name == bulk_member->plugin_name){
+ return;
+ }
+
+ bulk_member->plugin_name = g_strdup(plugin_name);
+ }
+ break;
+ case PROP_FILENAME:
+ {
+ gchar *filename;
+
+ filename = g_value_get_string(value);
+
+ if(filename == bulk_member->filename){
+ return;
+ }
+
+ bulk_member->filename = g_strdup(filename);
+ }
+ break;
+ case PROP_EFFECT:
+ {
+ gchar *effect;
+
+ effect = g_value_get_string(value);
+
+ if(effect == bulk_member->effect){
+ return;
+ }
+
+ bulk_member->effect = g_strdup(effect);
+ }
+ break;
+ case PROP_SPECIFIER:
+ {
+ gchar *specifier;
+
+ specifier = g_value_get_string(value);
+
+ if(specifier == bulk_member->specifier){
+ return;
+ }
+
+ bulk_member->specifier = g_strdup(specifier);
+ }
+ break;
+ case PROP_CONTROL_PORT:
+ {
+ gchar *control_port;
+
+ control_port = g_value_get_string(value);
+
+ if(control_port == bulk_member->control_port){
+ return;
+ }
+
+ bulk_member->control_port = g_strdup(control_port);
+ }
+ break;
+ case PROP_TASK_TYPE:
+ {
+ GType type;
+
+ type = g_value_get_ulong(value);
+
+ if(bulk_member->task_type == type){
+ return;
+ }
+
+ bulk_member->task_type = type;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_bulk_member_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsBulkMember *bulk_member;
+
+ bulk_member = AGS_BULK_MEMBER(gobject);
+
+ switch(prop_id){
+ case PROP_WIDGET_TYPE:
+ {
+ g_value_set_ulong(value, bulk_member->widget_type);
+ }
+ break;
+ case PROP_WIDGET_LABEL:
+ {
+ g_value_set_string(value, bulk_member->widget_label);
+ }
+ break;
+ case PROP_PLUGIN_NAME:
+ {
+ g_value_set_string(value, bulk_member->plugin_name);
+ }
+ break;
+ case PROP_FILENAME:
+ {
+ g_value_set_string(value, bulk_member->filename);
+ }
+ break;
+ case PROP_EFFECT:
+ {
+ g_value_set_string(value, bulk_member->effect);
+ }
+ break;
+ case PROP_SPECIFIER:
+ {
+ g_value_set_string(value, bulk_member->specifier);
+ }
+ break;
+ case PROP_CONTROL_PORT:
+ {
+ g_value_set_string(value, bulk_member->control_port);
+ }
+ break;
+ case PROP_TASK_TYPE:
+ {
+ g_value_set_ulong(value, bulk_member->task_type);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_bulk_member_connect(AgsConnectable *connectable)
+{
+ AgsBulkMember *bulk_member;
+ GtkWidget *control;
+
+ bulk_member = AGS_BULK_MEMBER(connectable);
+
+ control = gtk_bin_get_child(GTK_BIN(bulk_member));
+
+ /* widget callback */
+ if(bulk_member->widget_type == AGS_TYPE_DIAL){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_bulk_member_dial_changed_callback), bulk_member);
+ }else if(bulk_member->widget_type == GTK_TYPE_VSCALE){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_bulk_member_vscale_changed_callback), bulk_member);
+ }else if(bulk_member->widget_type == GTK_TYPE_HSCALE){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_bulk_member_hscale_changed_callback), bulk_member);
+ }else if(bulk_member->widget_type == GTK_TYPE_SPIN_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_bulk_member_spin_button_changed_callback), bulk_member);
+ }else if(bulk_member->widget_type == GTK_TYPE_CHECK_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "clicked\0",
+ G_CALLBACK(ags_bulk_member_check_button_clicked_callback), bulk_member);
+ }else if(bulk_member->widget_type == GTK_TYPE_TOGGLE_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "clicked\0",
+ G_CALLBACK(ags_bulk_member_toggle_button_clicked_callback), bulk_member);
+ }else if(bulk_member->widget_type == GTK_TYPE_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "clicked\0",
+ G_CALLBACK(ags_bulk_member_button_clicked_callback), bulk_member);
+ }
+}
+
+void
+ags_bulk_member_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_bulk_member_finalize(GObject *gobject)
+{
+ /* empty */
+}
+
+GtkWidget*
+ags_bulk_member_get_widget(AgsBulkMember *bulk_member)
+{
+ return(gtk_bin_get_child(bulk_member));
+}
+
+AgsBulkPort*
+ags_bulk_port_alloc(AgsPort *port,
+ AgsPort *recall_port)
+{
+ AgsBulkPort *bulk_port;
+
+ bulk_port = (AgsBulkPort *) malloc(sizeof(AgsBulkPort));
+
+ bulk_port->port = port;
+ bulk_port->port_data = &(port->port_value);
+ bulk_port->active = FALSE;
+
+ bulk_port->recall_port = recall_port;
+ bulk_port->recall_port_data = &(port->port_value);
+ bulk_port->active = FALSE;
+
+ return(bulk_port);
+}
+
+/**
+ * ags_bulk_member_set_label:
+ * @bulk_member: an #AgsBulkMember
+ * @label: the label of the control
+ *
+ * Modify the label of the bulk member.
+ */
+void
+ags_bulk_member_set_label(AgsBulkMember *bulk_member,
+ gchar *label)
+{
+ GtkWidget *child_widget;
+
+ if(g_type_is_a(bulk_member->widget_type, GTK_TYPE_BUTTON) ||
+ bulk_member->widget_type == GTK_TYPE_SPIN_BUTTON){
+ child_widget = gtk_bin_get_child(GTK_BIN(bulk_member));
+
+ g_object_set(G_OBJECT(child_widget),
+ "label\0", label,
+ NULL);
+ }else{
+ GtkLabel *label;
+
+ //TODO:JK: implement me
+ }
+
+
+ bulk_member->widget_label = label;
+}
+
+void
+ags_bulk_member_real_change_port(AgsBulkMember *bulk_member,
+ gpointer port_data)
+{
+ if((AGS_BULK_MEMBER_RESET_BY_ATOMIC & (bulk_member->flags)) != 0){
+ AgsPort *port;
+ GList *list;
+ GValue value = {0,};
+
+ list = bulk_member->bulk_port;
+
+ while(list != NULL){
+ port = AGS_BULK_PORT(list->data)->port;
+
+ if(!port->port_value_is_pointer){
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ g_value_init(&value,
+ G_TYPE_BOOLEAN);
+
+ g_value_set_boolean(&value,
+ ((gboolean *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ g_value_init(&value,
+ G_TYPE_INT64);
+ g_value_set_int64(&value,
+ ((gint *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ g_value_init(&value,
+ G_TYPE_UINT64);
+
+ g_value_set_uint64(&value,
+ ((guint *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_FLOAT){
+ g_value_init(&value,
+ G_TYPE_DOUBLE);
+
+ g_value_set_double(&value,
+ ((gdouble *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ g_value_init(&value,
+ G_TYPE_DOUBLE);
+
+ g_value_set_double(&value,
+ ((gdouble *) port_data)[0]);
+ }
+ }else{
+ if(port->port_value_type == G_TYPE_OBJECT){
+ g_value_init(&value,
+ G_TYPE_OBJECT);
+ g_value_set_object(&value,
+ port_data);
+ }else{
+ if(port->port_value_type == G_TYPE_BOOLEAN ||
+ port->port_value_type == G_TYPE_INT64 ||
+ port->port_value_type == G_TYPE_UINT64 ||
+ port->port_value_type == G_TYPE_FLOAT ||
+ port->port_value_type == G_TYPE_DOUBLE ||
+ port->port_value_type == G_TYPE_POINTER){
+ g_value_init(&value,
+ G_TYPE_POINTER);
+
+ g_value_set_pointer(&value,
+ port_data);
+
+ }
+ }
+ }
+
+ ags_port_safe_write(bulk_member->bulk_port,
+ &value);
+
+ if((AGS_BULK_MEMBER_APPLY_RECALL & (bulk_member->flags)) != 0){
+ ags_port_safe_write(AGS_BULK_PORT(list->data)->recall_port,
+ &value);
+ }
+
+ list = list->next;
+ }
+ }
+
+ if((AGS_BULK_MEMBER_RESET_BY_TASK & (bulk_member->flags)) != 0){
+ AgsEffectBulk *effect_bulk;
+ AgsTaskThread *task_thread;
+ AgsTask *task;
+
+ effect_bulk = (AgsEffectBulk *) gtk_widget_get_ancestor(GTK_WIDGET(bulk_member),
+ AGS_TYPE_EFFECT_BULK);
+
+ task_thread = AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(effect_bulk->audio->devout)->ags_main)->main_loop)->task_thread);
+
+ task = (AgsTask *) g_object_new(bulk_member->task_type,
+ bulk_member->control_port, port_data,
+ NULL);
+
+ ags_task_thread_append_task(task_thread,
+ task);
+ }
+}
+
+/**
+ * ags_bulk_change_port:
+ * @bulk_member: an #AgsBulkMember
+ * @port_data: the port's value
+ *
+ * Is emitted as port's value is modified.
+ *
+ * Since: 0.4
+ */
+void
+ags_bulk_member_change_port(AgsBulkMember *bulk_member,
+ gpointer port_data)
+{
+ g_return_if_fail(AGS_IS_BULK_MEMBER(bulk_member));
+
+ g_object_ref((GObject *) bulk_member);
+ g_signal_emit(G_OBJECT(bulk_member),
+ bulk_member_signals[CHANGE_PORT], 0,
+ port_data);
+ g_object_unref((GObject *) bulk_member);
+}
+
+/**
+ * ags_bulk_member_find_port:
+ * @bulk_member: an #AgsBulkMember
+ *
+ * Lookup ports of assigned recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_bulk_member_find_port(AgsBulkMember *bulk_member)
+{
+ GtkWidget *effect_bulk;
+ AgsAudio *audio;
+ AgsChannel *channel;
+ AgsPort *audio_port, *channel_port;
+ AgsPort *recall_audio_port, *recall_channel_port;
+ GList *recall;
+ gchar *specifier;
+
+ auto AgsPort* ags_bulk_member_find_specifier(GList *recall);
+
+ AgsPort* ags_bulk_member_find_specifier(GList *recall){
+ GList *port;
+
+ while(recall != NULL){
+ port = AGS_RECALL(recall->data)->port;
+
+#ifdef AGS_DEBUG
+ g_message("search port in %s\0", G_OBJECT_TYPE_NAME(recall->data));
+#endif
+
+ while(port != NULL){
+ if(!g_strcmp0(AGS_PORT(port->data)->specifier,
+ specifier)){
+ return(AGS_PORT(port->data));
+ }
+
+ port = port->next;
+ }
+
+ recall = recall->next;
+ }
+
+ return(NULL);
+ }
+
+
+ if(bulk_member == NULL){
+ return;
+ }
+
+ specifier = bulk_member->specifier;
+
+ if(!AGS_IS_BULK_MEMBER(bulk_member) || specifier == NULL){
+ return;
+ }
+
+ effect_bulk = gtk_widget_get_ancestor(GTK_WIDGET(bulk_member),
+ AGS_TYPE_EFFECT_BULK);
+
+ audio = AGS_EFFECT_BULK(effect_bulk)->audio;
+
+ audio_port = NULL;
+ channel_port = NULL;
+
+ recall_audio_port = NULL;
+ recall_channel_port = NULL;
+
+ /* search channels */
+ channel = NULL;
+
+ if(AGS_EFFECT_BULK(effect_bulk)->channel_type == AGS_TYPE_OUTPUT){
+ channel = audio->output;
+ }else if(AGS_EFFECT_BULK(effect_bulk)->channel_type == AGS_TYPE_INPUT){
+ channel = audio->input;
+ }
+
+ while(channel != NULL){
+ recall = channel->play;
+ channel_port = ags_bulk_member_find_specifier(recall);
+
+ recall = channel->recall;
+ recall_channel_port = ags_bulk_member_find_specifier(recall);
+
+ if(channel_port != NULL){
+ bulk_member->bulk_port = g_list_prepend(bulk_member->bulk_port,
+ ags_bulk_port_alloc(channel_port,
+ recall_channel_port));
+ }
+
+ channel = channel->next;
+ }
+
+ /* search audio */
+ if(channel_port == NULL){
+ recall = audio->play;
+ audio_port = ags_bulk_member_find_specifier(recall);
+
+ recall = audio->recall;
+ recall_audio_port = ags_bulk_member_find_specifier(recall);
+
+ if(audio_port != NULL){
+ g_object_set(G_OBJECT(bulk_member),
+ "port\0", audio_port,
+ NULL);
+
+ g_object_set(G_OBJECT(bulk_member),
+ "recall-port\0", recall_audio_port,
+ NULL);
+ }
+ }
+}
+
+/**
+ * ags_bulk_member_new:
+ *
+ * Creates an #AgsBulkMember
+ *
+ * Returns: a new #AgsBulkMember
+ *
+ * Since: 0.4
+ */
+AgsBulkMember*
+ags_bulk_member_new()
+{
+ AgsBulkMember *bulk_member;
+
+ bulk_member = (AgsBulkMember *) g_object_new(AGS_TYPE_BULK_MEMBER,
+ NULL);
+
+ return(bulk_member);
+}
diff --git a/src/ags/X/ags_bulk_member.h b/src/ags/X/ags_bulk_member.h
new file mode 100644
index 0000000..730a949
--- /dev/null
+++ b/src/ags/X/ags_bulk_member.h
@@ -0,0 +1,107 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_BULK_MEMBER_H__
+#define __AGS_BULK_MEMBER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_BULK_MEMBER (ags_bulk_member_get_type())
+#define AGS_BULK_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BULK_MEMBER, AgsBulkMember))
+#define AGS_BULK_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BULK_MEMBER, AgsBulkMemberClass))
+#define AGS_IS_BULK_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BULK_MEMBER))
+#define AGS_IS_BULK_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BULK_MEMBER))
+#define AGS_BULK_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BULK_MEMBER, AgsBulkMemberClass))
+
+#define AGS_BULK_PORT(ptr) ((AgsBulkPort *)(ptr))
+
+typedef struct _AgsBulkMember AgsBulkMember;
+typedef struct _AgsBulkMemberClass AgsBulkMemberClass;
+typedef struct _AgsBulkPort AgsBulkPort;
+
+typedef enum{
+ AGS_BULK_MEMBER_DEFAULT_TEMPLATE = 1,
+ AGS_BULK_MEMBER_RESET_BY_ATOMIC = 1 << 1,
+ AGS_BULK_MEMBER_RESET_BY_TASK = 1 << 2,
+ AGS_BULK_MEMBER_APPLY_RECALL = 1 << 3,
+}AgsBulkMemberFlags;
+
+struct _AgsBulkMember
+{
+ GtkFrame frame;
+
+ guint flags;
+
+ GType widget_type;
+ gchar *widget_label;
+
+ gchar *filename;
+ gchar *effect;
+
+ gchar *plugin_name;
+ gchar *specifier;
+
+ gchar *control_port;
+
+ GList *bulk_port;
+
+ GType task_type;
+};
+
+struct _AgsBulkMemberClass
+{
+ GtkFrameClass frame;
+
+ void (*change_port)(AgsBulkMember *bulk_member,
+ gpointer port_data);
+};
+
+struct _AgsBulkPort
+{
+ AgsPort *port;
+ gpointer port_data;
+ gboolean active;
+
+ AgsPort *recall_port;
+ gpointer recall_port_data;
+ gboolean recall_active;
+};
+
+GType ags_bulk_member_get_type(void);
+
+AgsBulkPort* ags_bulk_port_alloc(AgsPort *port,
+ AgsPort *recall_port);
+
+GtkWidget* ags_bulk_member_get_widget(AgsBulkMember *bulk_member);
+void ags_bulk_member_set_label(AgsBulkMember *bulk_member,
+ gchar *label);
+
+void ags_bulk_member_change_port(AgsBulkMember *bulk_member,
+ gpointer port_data);
+
+void ags_bulk_member_find_port(AgsBulkMember *bulk_member);
+
+AgsBulkMember* ags_bulk_member_new();
+
+#endif /*__AGS_BULK_MEMBER_H__*/
diff --git a/src/ags/X/ags_bulk_member_callbacks.c b/src/ags/X/ags_bulk_member_callbacks.c
new file mode 100644
index 0000000..7dff93c
--- /dev/null
+++ b/src/ags/X/ags_bulk_member_callbacks.c
@@ -0,0 +1,104 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_bulk_member_callbacks.h>
+
+int
+ags_bulk_member_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsBulkMember *bulk_member)
+{
+ if(old_parent == NULL){
+ //TODO:JK: implement me
+ }
+}
+
+void
+ags_bulk_member_dial_changed_callback(GtkWidget *dial, AgsBulkMember *bulk_member)
+{
+ GtkAdjustment *adjustment;
+
+ g_object_get(dial,
+ "adjustment\0", &adjustment,
+ NULL);
+ ags_bulk_member_change_port(bulk_member,
+ (gpointer) &(adjustment->value));
+}
+
+void
+ags_bulk_member_vscale_changed_callback(GtkWidget *vscale, AgsBulkMember *bulk_member)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = gtk_range_get_adjustment(GTK_RANGE(vscale));
+ ags_bulk_member_change_port(bulk_member,
+ (gpointer) &(adjustment->value));
+}
+
+void
+ags_bulk_member_hscale_changed_callback(GtkWidget *hscale, AgsBulkMember *bulk_member)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = gtk_range_get_adjustment(GTK_RANGE(hscale));
+ ags_bulk_member_change_port(bulk_member,
+ &(adjustment->value));
+}
+
+void
+ags_bulk_member_spin_button_changed_callback(GtkWidget *spin_button, AgsBulkMember *bulk_member)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = gtk_spin_button_get_adjustment(spin_button);
+ ags_bulk_member_change_port(bulk_member,
+ &(adjustment->value));
+}
+
+void
+ags_bulk_member_check_button_clicked_callback(GtkWidget *check_button, AgsBulkMember *bulk_member)
+{
+ gboolean active;
+
+ active = gtk_toggle_button_get_active((GtkToggleButton *) check_button);
+ ags_bulk_member_change_port(bulk_member,
+ &(active));
+}
+
+void
+ags_bulk_member_toggle_button_clicked_callback(GtkWidget *toggle_button, AgsBulkMember *bulk_member)
+{
+ gboolean active;
+
+ active = gtk_toggle_button_get_active((GtkToggleButton *) toggle_button);
+ ags_bulk_member_change_port(bulk_member,
+ &(active));
+}
+
+void
+ags_bulk_member_button_clicked_callback(GtkWidget *button, AgsBulkMember *bulk_member)
+{
+ gboolean active;
+
+ ags_bulk_member_change_port(bulk_member,
+ &(active));
+}
+void
+ags_bulk_member_port_safe_write_callback(AgsPort *port, GValue *value,
+ AgsBulkMember *bulk_member)
+{
+ //TODO:JK: implement me
+}
diff --git a/src/ags/X/ags_bulk_member_callbacks.h b/src/ags/X/ags_bulk_member_callbacks.h
new file mode 100644
index 0000000..63c19b9
--- /dev/null
+++ b/src/ags/X/ags_bulk_member_callbacks.h
@@ -0,0 +1,42 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_BULK_MEMBER_CALLBACKS_H__
+#define __AGS_BULK_MEMBER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_bulk_member.h>
+
+int ags_bulk_member_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsBulkMember *bulk_member);
+
+void ags_bulk_member_dial_changed_callback(GtkWidget *dial, AgsBulkMember *bulk_member);
+void ags_bulk_member_vscale_changed_callback(GtkWidget *vscale, AgsBulkMember *bulk_member);
+void ags_bulk_member_hscale_changed_callback(GtkWidget *hscale, AgsBulkMember *bulk_member);
+void ags_bulk_member_spin_button_changed_callback(GtkWidget *spin_button, AgsBulkMember *bulk_member);
+void ags_bulk_member_check_button_clicked_callback(GtkWidget *check_button, AgsBulkMember *bulk_member);
+void ags_bulk_member_toggle_button_clicked_callback(GtkWidget *toggle_button, AgsBulkMember *bulk_member);
+void ags_bulk_member_button_clicked_callback(GtkWidget *button, AgsBulkMember *bulk_member);
+
+void ags_bulk_member_port_safe_write_callback(AgsPort *port, GValue *value,
+ AgsBulkMember *bulk_member);
+
+#endif /*__AGS_BULK_MEMBER_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_editor.c b/src/ags/X/ags_editor.c
new file mode 100644
index 0000000..90ec494
--- /dev/null
+++ b/src/ags/X/ags_editor.c
@@ -0,0 +1,435 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_editor.h>
+#include <ags/X/ags_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_notation.h>
+
+#include <ags/X/ags_window.h>
+
+#include <math.h>
+#include <cairo.h>
+
+void ags_editor_class_init(AgsEditorClass *editor);
+void ags_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_editor_init(AgsEditor *editor);
+void ags_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_editor_finalize(GObject *gobject);
+void ags_editor_connect(AgsConnectable *connectable);
+void ags_editor_disconnect(AgsConnectable *connectable);
+void ags_editor_destroy(GtkObject *object);
+void ags_editor_show(GtkWidget *widget);
+
+void ags_editor_real_machine_changed(AgsEditor *editor, AgsMachine *machine);
+
+/**
+ * SECTION:ags_editor
+ * @short_description: A composite widget to edit notes
+ * @title: AgsEditor
+ * @section_id:
+ * @include: ags/X/ags_editor.h
+ *
+ * #AgsEditor is a composite widget to edit notes. You may select machines
+ * or change editor tool to do notation.
+ */
+
+enum{
+ MACHINE_CHANGED,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+};
+
+static gpointer ags_editor_parent_class = NULL;
+static guint editor_signals[LAST_SIGNAL];
+
+GtkStyle *editor_style;
+
+GType
+ags_editor_get_type(void)
+{
+ static GType ags_type_editor = 0;
+
+ if(!ags_type_editor){
+ static const GTypeInfo ags_editor_info = {
+ sizeof (AgsEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_editor = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsEditor\0", &ags_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_editor);
+}
+
+void
+ags_editor_class_init(AgsEditorClass *editor)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_editor_parent_class = g_type_class_peek_parent(editor);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) editor;
+
+ gobject->set_property = ags_editor_set_property;
+ gobject->get_property = ags_editor_get_property;
+
+ gobject->finalize = ags_editor_finalize;
+
+ /* properties */
+ /**
+ * AgsEditor:devout:
+ *
+ * The assigned #AgsDevout acting as default sink.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /* AgsEditorClass */
+ editor->machine_changed = ags_editor_real_machine_changed;
+
+ /* signals */
+ /**
+ * AgsEditor::machine-changed:
+ * @editor: the object to change machine.
+ * @machine: the #AgsMachine to set
+ *
+ * The ::machine-changed signal notifies about changed machine.
+ */
+ editor_signals[MACHINE_CHANGED] =
+ g_signal_new("machine-changed\0",
+ G_TYPE_FROM_CLASS (editor),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsEditorClass, machine_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_editor_connect;
+ connectable->disconnect = ags_editor_disconnect;
+}
+
+void
+ags_editor_init(AgsEditor *editor)
+{
+ GtkHPaned *paned;
+ GtkScrolledWindow *scrolled_window;
+
+ g_signal_connect_after((GObject *) editor, "parent-set\0",
+ G_CALLBACK(ags_editor_parent_set_callback), editor);
+
+ editor->flags = 0;
+
+ editor->version = AGS_EDITOR_DEFAULT_VERSION;
+ editor->build_id = AGS_EDITOR_DEFAULT_BUILD_ID;
+
+ editor->devout = NULL;
+
+ editor->toolbar = ags_toolbar_new();
+ gtk_box_pack_start((GtkBox *) editor,
+ (GtkWidget *) editor->toolbar,
+ FALSE, FALSE, 0);
+
+ paned = (GtkHPaned *) gtk_hpaned_new();
+ gtk_box_pack_start((GtkBox *) editor,
+ (GtkWidget *) paned,
+ TRUE, TRUE, 0);
+
+ scrolled_window = (GtkScrolledWindow *) gtk_scrolled_window_new(NULL, NULL);
+ gtk_paned_pack1((GtkPaned *) paned, (GtkWidget *) scrolled_window, FALSE, TRUE);
+ // gtk_widget_set_size_request((GtkWidget *) scrolled_window, 180, -1);
+
+ editor->machine_selector = ags_machine_selector_new();
+ gtk_scrolled_window_add_with_viewport(scrolled_window, (GtkWidget *) editor->machine_selector);
+
+ editor->selected_machine = NULL;
+
+ editor->table = (GtkTable *) gtk_table_new(4, 3, FALSE);
+ gtk_paned_pack2((GtkPaned *) paned, (GtkWidget *) editor->table, TRUE, FALSE);
+
+ editor->notebook = ags_notebook_new();
+ gtk_table_attach(editor->table, (GtkWidget *) editor->notebook,
+ 0, 3, 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL,
+ 0, 0);
+
+ editor->piano.meter = NULL;
+ editor->edit.note_edit = NULL;
+
+ editor->tact_counter = 0;
+}
+
+void
+ags_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEditor *editor;
+
+ editor = AGS_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(editor->devout == devout)
+ return;
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ editor->devout = devout;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEditor *editor;
+
+ editor = AGS_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ g_value_set_object(value, editor->devout);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_editor_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_editor_connect(AgsConnectable *connectable)
+{
+ AgsWindow *window;
+ AgsEditor *editor;
+ GtkHPaned *hpaned;
+
+ editor = AGS_EDITOR(connectable);
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(editor)));
+
+ /* */
+ g_signal_connect_after((GObject *) window->navigation, "change-position\0",
+ G_CALLBACK(ags_editor_change_position_callback), (gpointer) editor);
+
+ g_signal_connect((GObject *) editor->machine_selector, "changed\0",
+ G_CALLBACK(ags_editor_machine_changed_callback), (gpointer) editor);
+
+ /* */
+ ags_connectable_connect(AGS_CONNECTABLE(editor->toolbar));
+ ags_connectable_connect(AGS_CONNECTABLE(editor->machine_selector));
+ ags_connectable_connect(AGS_CONNECTABLE(editor->notebook));
+}
+
+void
+ags_editor_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_editor_real_machine_changed(AgsEditor *editor, AgsMachine *machine)
+{
+ GtkTable *table;
+ guint pads;
+
+ if(editor->selected_machine == machine){
+ return;
+ }
+
+ editor->selected_machine = machine;
+
+ if(machine == NULL){
+ return;
+ }
+
+ table = editor->table;
+
+ editor->set_audio_channels_handler = g_signal_connect(machine->audio, "set-audio-channels\0",
+ G_CALLBACK(ags_editor_set_audio_channels_callback), editor);
+ editor->set_pads_handler = g_signal_connect(machine->audio, "set-pads\0",
+ G_CALLBACK(ags_editor_set_pads_callback), editor);
+
+ if((AGS_AUDIO_NOTATION_DEFAULT & (machine->audio->flags)) != 0){
+ pads = machine->audio->input_pads;
+ }else{
+ pads = machine->audio->output_pads;
+ }
+
+ if((AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ editor->flags |= AGS_EDITOR_TOOL_NOTE_EDIT;
+
+ editor->piano.meter = ags_meter_new();
+ gtk_table_attach(editor->table, (GtkWidget *) editor->piano.meter,
+ 0, 1, 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ ags_connectable_connect(AGS_CONNECTABLE(editor->piano.meter));
+ gtk_widget_show_all(editor->piano.meter);
+
+ editor->edit.note_edit = ags_note_edit_new();
+ gtk_table_attach(table, (GtkWidget *) editor->edit.note_edit,
+ 1, 2, 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ g_signal_connect(editor->edit.note_edit->vscrollbar, "value-changed\0",
+ G_CALLBACK(ags_editor_edit_vscrollbar_value_changed_callback), editor);
+ ags_connectable_connect(AGS_CONNECTABLE(editor->edit.note_edit));
+ gtk_widget_show_all(editor->edit.note_edit);
+
+ ags_note_edit_set_map_height(editor->edit.note_edit,
+ pads * editor->edit.note_edit->control_height);
+ }else if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) != 0){
+ editor->flags |= AGS_EDITOR_TOOL_PATTERN_EDIT;
+
+ editor->piano.soundset = ags_soundset_new();
+ gtk_table_attach(editor->table, (GtkWidget *) editor->piano.soundset,
+ 0, 1, 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ ags_connectable_connect(AGS_CONNECTABLE(editor->piano.soundset));
+ gtk_widget_show_all(editor->piano.soundset);
+
+ editor->edit.pattern_edit = ags_pattern_edit_new();
+ gtk_table_attach(table, (GtkWidget *) editor->edit.pattern_edit,
+ 1, 2, 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ g_signal_connect(editor->edit.pattern_edit->vscrollbar, "value-changed\0",
+ G_CALLBACK(ags_editor_edit_vscrollbar_value_changed_callback), editor);
+ ags_connectable_connect(AGS_CONNECTABLE(editor->edit.pattern_edit));
+ gtk_widget_show_all(editor->edit.pattern_edit);
+
+ ags_pattern_edit_set_map_height(editor->edit.pattern_edit,
+ pads * editor->edit.pattern_edit->control_height);
+ }else{
+ /* empty */
+ }
+}
+
+/**
+ * ags_editor_machine_changed:
+ * @editor: an #AgsEditor
+ * @machine: the new #AgsMachine
+ *
+ * Is emitted as machine changed of editor.
+ *
+ * Since: 0.4
+ */
+void
+ags_editor_machine_changed(AgsEditor *editor, AgsMachine *machine)
+{
+ g_return_if_fail(AGS_IS_EDITOR(editor));
+
+ g_object_ref((GObject *) editor);
+ g_signal_emit((GObject *) editor,
+ editor_signals[MACHINE_CHANGED], 0,
+ machine);
+ g_object_unref((GObject *) editor);
+}
+
+/**
+ * ags_editor_new:
+ *
+ * Creates an #AgsEditor
+ *
+ * Returns: a new #AgsEditor
+ *
+ * Since: 0.3
+ */
+AgsEditor*
+ags_editor_new()
+{
+ AgsEditor *editor;
+
+ editor = (AgsEditor *) g_object_new(AGS_TYPE_EDITOR, NULL);
+
+ return(editor);
+}
diff --git a/src/ags/X/ags_editor.h b/src/ags/X/ags_editor.h
new file mode 100644
index 0000000..86b423e
--- /dev/null
+++ b/src/ags/X/ags_editor.h
@@ -0,0 +1,114 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EDITOR_H__
+#define __AGS_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_note.h>
+
+#include <ags/X/ags_machine.h>
+
+#include <ags/X/editor/ags_toolbar.h>
+#include <ags/X/editor/ags_machine_selector.h>
+#include <ags/X/editor/ags_notebook.h>
+#include <ags/X/editor/ags_meter.h>
+#include <ags/X/editor/ags_soundset.h>
+#include <ags/X/editor/ags_note_edit.h>
+#include <ags/X/editor/ags_pattern_edit.h>
+#include <ags/X/editor/ags_automation_edit.h>
+
+#define AGS_TYPE_EDITOR (ags_editor_get_type ())
+#define AGS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EDITOR, AgsEditor))
+#define AGS_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EDITOR, AgsEditorClass))
+#define AGS_IS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_EDITOR))
+#define AGS_IS_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_EDITOR))
+#define AGS_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_EDITOR, AgsEditorClass))
+
+#define AGS_EDITOR_DEFAULT_VERSION "0.4.2\0"
+#define AGS_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+#define AGS_EDITOR_DEFAULT "default\0"
+
+typedef struct _AgsEditor AgsEditor;
+typedef struct _AgsEditorClass AgsEditorClass;
+
+typedef enum{
+ AGS_EDITOR_TOOL_NOTE_EDIT = 1,
+ AGS_EDITOR_TOOL_PATTERN_EDIT = 1 << 1,
+ AGS_EDITOR_TOOL_AUTOMATION_EDIT = 1 << 2,
+};
+
+struct _AgsEditor
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsDevout *devout;
+
+ GtkTable *table;
+
+ AgsMachineSelector *machine_selector;
+ AgsMachine *selected_machine;
+ gulong set_audio_channels_handler;
+ gulong set_pads_handler;
+
+ AgsToolbar *toolbar;
+
+ AgsNotebook *notebook;
+
+ union AgsPiano{
+ AgsMeter *meter;
+ AgsSoundset *soundset;
+ }piano;
+
+ union AgsEdit{
+ AgsNoteEdit *note_edit;
+ AgsPatternEdit *pattern_edit;
+ AgsAutomationEdit *automation_edit;
+ }edit;
+
+ guint tact_counter;
+};
+
+struct _AgsEditorClass
+{
+ GtkVBoxClass vbox;
+
+ void (*machine_changed)(AgsEditor *editor,
+ AgsMachine *machine);
+};
+
+GType ags_editor_get_type(void);
+
+void ags_editor_machine_changed(AgsEditor *editor,
+ AgsMachine *machine);
+
+AgsEditor* ags_editor_new();
+
+#endif /*__AGS_EDITOR_H__*/
diff --git a/src/ags/X/ags_editor_callbacks.c b/src/ags/X/ags_editor_callbacks.c
new file mode 100644
index 0000000..9cb9017
--- /dev/null
+++ b/src/ags/X/ags_editor_callbacks.c
@@ -0,0 +1,145 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_editor_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_audio_loop.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/editor/ags_toolbar.h>
+#include <ags/X/editor/ags_notebook.h>
+#include <ags/X/editor/ags_meter.h>
+#include <ags/X/editor/ags_note_edit.h>
+
+#include <math.h>
+#include <string.h>
+#include <cairo.h>
+
+void
+ags_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsEditor *editor)
+{
+ if(old_parent != NULL)
+ return;
+}
+
+void
+ags_editor_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsEditor *editor)
+{
+ GList *tabs;
+ GList *notation;
+ guint i;
+
+ if(audio_channels_old < audio_channels){
+ tabs = g_list_nth(editor->notebook->tabs,
+ audio_channels_old);
+ notation = g_list_nth(audio->notation,
+ audio_channels_old);
+
+ for(i = audio_channels_old; i < audio_channels; i++){
+ ags_notebook_insert_tab(editor->notebook,
+ i);
+ AGS_NOTEBOOK_TAB(tabs->data)->notation = notation->data;
+
+ tabs = tabs->next;
+ notation = notation->next;
+ }
+ }else{
+ for(i = audio_channels; i < audio_channels_old; i++){
+ ags_notebook_remove_tab(editor->notebook,
+ i);
+ }
+ }
+}
+
+void
+ags_editor_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads, guint pads_old,
+ AgsEditor *editor)
+{
+ if((AGS_AUDIO_NOTATION_DEFAULT & (audio->flags)) != 0){
+ if(!g_type_is_a(channel_type, AGS_TYPE_INPUT)){
+ return;
+ }
+ }else{
+ if(!g_type_is_a(channel_type, AGS_TYPE_OUTPUT)){
+ return;
+ }
+ }
+
+ ags_note_edit_set_map_height(editor->edit.note_edit,
+ pads * editor->edit.note_edit->control_height);
+}
+
+void
+ags_editor_machine_changed_callback(AgsMachineSelector *machine_selector, AgsMachine *machine,
+ AgsEditor *editor)
+{
+ ags_editor_machine_changed(editor,
+ machine);
+}
+
+void
+ags_editor_change_position_callback(AgsNavigation *navigation, gdouble tact,
+ AgsEditor *editor)
+{
+ cairo_t *cr;
+ gdouble loop_start, loop_end;
+ gdouble position;
+
+ if(!gtk_toggle_button_get_active(navigation->scroll)){
+ return;
+ }
+
+ loop_start = gtk_spin_button_get_value(navigation->loop_left_tact);
+ loop_end = gtk_spin_button_get_value(navigation->loop_right_tact);
+
+ if(!gtk_toggle_button_get_active(navigation->loop) || tact <= loop_end){
+ position = tact * editor->edit.note_edit->control_current.control_width;
+ }else{
+ position = loop_start * editor->edit.note_edit->control_current.control_width;
+ }
+
+ /* scroll */
+ if(position - (0.125 * editor->edit.note_edit->control_current.control_width) > 0.0){
+ gtk_range_set_value(GTK_RANGE(editor->edit.note_edit->hscrollbar),
+ position - (0.125 * editor->edit.note_edit->control_current.control_width));
+ }
+}
+
+void
+ags_editor_edit_vscrollbar_value_changed_callback(GtkWidget *note_edit,
+ AgsEditor *editor)
+{
+ if((AGS_MACHINE_IS_SYNTHESIZER & (editor->selected_machine->flags)) != 0){
+ gtk_widget_queue_draw(editor->piano.meter);
+ }else if((AGS_MACHINE_IS_SEQUENCER & (editor->selected_machine->flags)) != 0){
+ gtk_widget_queue_draw(editor->piano.soundset);
+ }else{
+ }
+}
diff --git a/src/ags/X/ags_editor_callbacks.h b/src/ags/X/ags_editor_callbacks.h
new file mode 100644
index 0000000..fe1e910
--- /dev/null
+++ b/src/ags/X/ags_editor_callbacks.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EDITOR_CALLBACKS_H__
+#define __AGS_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags/X/ags_editor.h>
+#include <ags/X/ags_navigation.h>
+#include <ags/X/ags_machine.h>
+
+#include <ags/X/editor/ags_machine_selector.h>
+
+void ags_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent,
+ AgsEditor *editor);
+
+void ags_editor_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsEditor *editor);
+void ags_editor_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads, guint pads_old,
+ AgsEditor *editor);
+
+void ags_editor_machine_changed_callback(AgsMachineSelector *machine_selector, AgsMachine *machine,
+ AgsEditor *editor);
+
+void ags_editor_change_position_callback(AgsNavigation *navigation, gdouble tact,
+ AgsEditor *editor);
+
+void ags_editor_edit_vscrollbar_value_changed_callback(GtkWidget *note_edit,
+ AgsEditor *editor);
+
+#endif /*__AGS_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_effect_bridge.c b/src/ags/X/ags_effect_bridge.c
new file mode 100644
index 0000000..4dd2c6c
--- /dev/null
+++ b/src/ags/X/ags_effect_bridge.c
@@ -0,0 +1,767 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_bridge.h>
+#include <ags/X/ags_effect_bridge_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_effect_pad.h>
+
+void ags_effect_bridge_class_init(AgsEffectBridgeClass *effect_bridge);
+void ags_effect_bridge_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_effect_bridge_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_effect_bridge_init(AgsEffectBridge *effect_bridge);
+void ags_effect_bridge_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_bridge_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_bridge_connect(AgsConnectable *connectable);
+void ags_effect_bridge_disconnect(AgsConnectable *connectable);
+gchar* ags_effect_bridge_get_name(AgsPlugin *plugin);
+void ags_effect_bridge_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_effect_bridge_get_version(AgsPlugin *plugin);
+void ags_effect_bridge_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_effect_bridge_get_build_id(AgsPlugin *plugin);
+void ags_effect_bridge_set_build_id(AgsPlugin *plugin, gchar *build_id);
+
+void ags_effect_bridge_real_resize_audio_channels(AgsEffectBridge *effect_bridge,
+ guint new_size, guint old_size);
+void ags_effect_bridge_real_resize_pads(AgsEffectBridge *effect_bridge,
+ GType channel_type,
+ guint new_size, guint old_size);
+
+/**
+ * SECTION:ags_effect_bridge
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsEffectBridge
+ * @section_id:
+ * @include: ags/X/ags_effect_bridge.h
+ *
+ * #AgsEffectBridge is a composite widget to visualize all #AgsChannel. It should be
+ * packed by an #AgsMachine.
+ */
+
+enum{
+ RESIZE_AUDIO_CHANNELS,
+ RESIZE_PADS,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_AUDIO,
+};
+
+static gpointer ags_effect_bridge_parent_class = NULL;
+static guint effect_bridge_signals[LAST_SIGNAL];
+
+GType
+ags_effect_bridge_get_type(void)
+{
+ static GType ags_type_effect_bridge = 0;
+
+ if(!ags_type_effect_bridge){
+ static const GTypeInfo ags_effect_bridge_info = {
+ sizeof(AgsEffectBridgeClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_effect_bridge_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsEffectBridge),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_effect_bridge_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_effect_bridge_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_effect_bridge_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_effect_bridge = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsEffectBridge\0", &ags_effect_bridge_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_effect_bridge,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_effect_bridge,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_effect_bridge);
+}
+
+void
+ags_effect_bridge_class_init(AgsEffectBridgeClass *effect_bridge)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_effect_bridge_parent_class = g_type_class_peek_parent(effect_bridge);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) effect_bridge;
+
+ gobject->set_property = ags_effect_bridge_set_property;
+ gobject->get_property = ags_effect_bridge_get_property;
+
+ /* properties */
+ /**
+ * AgsEffectBridge:audio:
+ *
+ * The start of a bunch of #AgsAudio to visualize.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("audio\0",
+ "assigned audio\0",
+ "The audio it is assigned with\0",
+ AGS_TYPE_AUDIO,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO,
+ param_spec);
+
+ /* AgsEffectBridgeClass */
+ effect_bridge->resize_pads = ags_effect_bridge_real_resize_pads;
+ effect_bridge->resize_audio_channels = ags_effect_bridge_real_resize_audio_channels;
+
+ /* signals */
+ /**
+ * AgsEffectBridge::resize-audio-channels:
+ * @effect_bridge: the #AgsEffectBridge to modify
+ * @channel: the #AgsChannel to set
+ * @new_size: the new size
+ * @old_size: the old size
+ *
+ * The ::resize-audio-channels signal notifies about changed channel allocation within
+ * audio.
+ */
+ effect_bridge_signals[RESIZE_AUDIO_CHANNELS] =
+ g_signal_new("resize-audio-channels\0",
+ G_TYPE_FROM_CLASS(effect_bridge),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectBridgeClass, resize_audio_channels),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_UINT,
+ G_TYPE_NONE, 2,
+ G_TYPE_UINT,
+ G_TYPE_UINT);
+
+ /**
+ * AgsEffectBridge::resize-pads:
+ * @effect_bridge: the #AgsEffectBridge to modify
+ * @channel: the #AgsChannel to set
+ * @channel_type: either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ * @new_size: the new size
+ * @old_size: the old size
+ *
+ * The ::resize-pads signal notifies about changed channel allocation within
+ * audio.
+ */
+ effect_bridge_signals[RESIZE_PADS] =
+ g_signal_new("resize-pads\0",
+ G_TYPE_FROM_CLASS(effect_bridge),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectBridgeClass, resize_pads),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__ULONG_UINT_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_ULONG,
+ G_TYPE_UINT,
+ G_TYPE_UINT);
+}
+
+void
+ags_effect_bridge_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_effect_bridge_connect;
+ connectable->disconnect = ags_effect_bridge_disconnect;
+}
+
+void
+ags_effect_bridge_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_effect_bridge_get_name;
+ plugin->set_name = ags_effect_bridge_set_name;
+ plugin->get_version = ags_effect_bridge_get_version;
+ plugin->set_version = ags_effect_bridge_set_version;
+ plugin->get_build_id = ags_effect_bridge_get_build_id;
+ plugin->set_build_id = ags_effect_bridge_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_effect_bridge_init(AgsEffectBridge *effect_bridge)
+{
+ effect_bridge->flags = 0;
+
+ effect_bridge->name = NULL;
+ effect_bridge->version = AGS_EFFECT_BRIDGE_DEFAULT_VERSION;
+ effect_bridge->build_id = AGS_EFFECT_BRIDGE_DEFAULT_BUILD_ID;
+
+ effect_bridge->audio = NULL;
+
+ /* output */
+ effect_bridge->output_pad_type = G_TYPE_NONE;
+ effect_bridge->output_line_type = G_TYPE_NONE;
+
+ effect_bridge->bulk_output_type = G_TYPE_NONE;
+
+ effect_bridge->bulk_output = NULL;
+
+ effect_bridge->output = NULL;
+
+ /* input */
+ effect_bridge->input_pad_type = G_TYPE_NONE;
+ effect_bridge->input_line_type = G_TYPE_NONE;
+
+ effect_bridge->bulk_input_type = G_TYPE_NONE;
+
+ effect_bridge->bulk_input = NULL;
+
+ effect_bridge->input = NULL;
+}
+
+void
+ags_effect_bridge_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectBridge *effect_bridge;
+
+ effect_bridge = AGS_EFFECT_BRIDGE(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ {
+ AgsAudio *audio;
+
+ audio = (AgsAudio *) g_value_get_object(value);
+
+ if(effect_bridge->audio == audio){
+ return;
+ }
+
+ if(effect_bridge->audio != NULL){
+ GList *effect_pad;
+
+ g_signal_handler_disconnect(effect_bridge->audio,
+ effect_bridge->set_audio_channels_handler);
+ g_signal_handler_disconnect(effect_bridge->audio,
+ effect_bridge->set_pads_handler);
+
+ g_object_unref(effect_bridge->audio);
+
+ if(audio == NULL){
+ /* destroy pad */
+ effect_pad = gtk_container_get_children(effect_bridge->output);
+
+ while(effect_pad != NULL){
+ gtk_widget_destroy(effect_pad->data);
+
+ effect_pad = effect_pad->next;
+ }
+
+ effect_pad = gtk_container_get_children(effect_bridge->input);
+
+ while(effect_pad != NULL){
+ gtk_widget_destroy(effect_pad->data);
+
+ effect_pad = effect_pad->next;
+ }
+ }
+ }
+
+ if(audio != NULL){
+ AgsChannel *input, *output;
+ GList *effect_pad, *effect_line;
+ guint i;
+
+ g_object_ref(audio);
+
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (effect_bridge->flags)) != 0){
+ effect_bridge->set_audio_channels_handler = g_signal_connect_after(G_OBJECT(audio), "set-audio-channels\0",
+ G_CALLBACK(ags_effect_bridge_set_audio_channels_callback), effect_bridge);
+
+ effect_bridge->set_pads_handler = g_signal_connect_after(G_OBJECT(audio), "set-pads\0",
+ G_CALLBACK(ags_effect_bridge_set_pads_callback), effect_bridge);
+ }
+
+ /* set channel and resize for AgsOutput */
+ if(effect_bridge->output_pad_type != G_TYPE_NONE){
+ output = audio->output;
+ effect_pad = gtk_container_get_children(effect_bridge->output);
+
+ /* reset */
+ i = 0;
+
+ while(effect_pad != NULL && output != NULL){
+ effect_line = gtk_container_get_children(GTK_CONTAINER(AGS_EFFECT_PAD(effect_pad->data)->table));
+
+ ags_effect_pad_resize_lines(AGS_EFFECT_PAD(effect_pad->data), effect_bridge->output_line_type,
+ audio->audio_channels, g_list_length(effect_line));
+ g_object_set(G_OBJECT(effect_pad->data),
+ "channel\0", output,
+ NULL);
+
+ output = output->next_pad;
+ effect_pad = effect_pad->next;
+ i++;
+ }
+
+ if(output != NULL){
+ AgsEffectPad *effect_pad;
+
+ /* add effect pad */
+ for(; i < audio->output_pads; i++){
+ effect_pad = g_object_new(effect_bridge->output_pad_type,
+ "channel\0", output,
+ NULL);
+ gtk_container_add(effect_bridge->output,
+ GTK_WIDGET(effect_pad));
+
+ ags_effect_pad_resize_lines(effect_pad, effect_bridge->output_line_type,
+ audio->audio_channels, 0);
+
+ output = output->next_pad;
+ }
+ }else{
+ /* destroy effect pad */
+ effect_pad = gtk_container_get_children(effect_bridge->output);
+ effect_pad = g_list_nth(effect_pad, audio->output_pads);
+
+ while(effect_pad != NULL){
+ gtk_widget_destroy(effect_pad->data);
+
+ effect_pad = effect_pad->next;
+ }
+ }
+ }
+
+ /* set channel and resize for AgsInput */
+ if(effect_bridge->input_pad_type != G_TYPE_NONE){
+ input = audio->input;
+ effect_pad = gtk_container_get_children(effect_bridge->input);
+
+ i = 0;
+
+ while(effect_pad != NULL && input != NULL){
+ effect_line = gtk_container_get_children(GTK_CONTAINER(AGS_EFFECT_PAD(effect_pad->data)->table));
+
+ ags_effect_pad_resize_lines(AGS_EFFECT_PAD(effect_pad->data), effect_bridge->input_line_type,
+ audio->audio_channels, g_list_length(effect_line));
+ g_object_set(G_OBJECT(effect_pad->data),
+ "channel\0", input,
+ NULL);
+
+ input = input->next_pad;
+ effect_pad = effect_pad->next;
+ i++;
+ }
+
+ if(input != NULL){
+ AgsEffectPad *effect_pad;
+
+ /* add effect pad */
+ for(; i < audio->input_pads; i++){
+ effect_pad = g_object_new(effect_bridge->input_pad_type,
+ "channel\0", input,
+ NULL);
+ gtk_container_add(effect_bridge->input,
+ GTK_WIDGET(effect_pad));
+
+ ags_effect_pad_resize_lines(effect_pad, effect_bridge->input_line_type,
+ audio->audio_channels, 0);
+
+ input = input->next_pad;
+ }
+ }else{
+ /* destroy effect pad */
+ effect_pad = gtk_container_get_children(effect_bridge->input);
+ effect_pad = g_list_nth(effect_pad, audio->input_pads);
+
+ while(effect_pad != NULL){
+ gtk_widget_destroy(effect_pad->data);
+
+ effect_pad = effect_pad->next;
+ }
+ }
+ }
+ }
+
+ effect_bridge->audio = audio;
+
+ if(effect_bridge->bulk_output != NULL){
+ g_object_set(effect_bridge->bulk_output,
+ "audio\0", audio,
+ NULL);
+ }
+
+ if(effect_bridge->bulk_input != NULL){
+ g_object_set(effect_bridge->bulk_input,
+ "audio\0", audio,
+ NULL);
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_bridge_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectBridge *effect_bridge;
+
+ effect_bridge = AGS_EFFECT_BRIDGE(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ {
+ g_value_set_object(value, effect_bridge->audio);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_bridge_connect(AgsConnectable *connectable)
+{
+ AgsEffectBridge *effect_bridge;
+ GList *effect_pad_list;
+
+ effect_bridge = AGS_EFFECT_BRIDGE(connectable);
+
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (effect_bridge->flags)) != 0){
+ return;
+ }
+
+ effect_bridge->flags |= AGS_EFFECT_BRIDGE_CONNECTED;
+
+ /* AgsEffectBulk - input */
+ if(effect_bridge->bulk_input != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(effect_bridge->bulk_input));
+ }
+
+ /* AgsEffectBulk - output */
+ if(effect_bridge->bulk_output != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(effect_bridge->bulk_output));
+ }
+
+ /* AgsEffectPad - input */
+ if(effect_bridge->input != NULL){
+ effect_pad_list = gtk_container_get_children(GTK_CONTAINER(effect_bridge->input));
+
+ while(effect_pad_list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(effect_pad_list->data));
+
+ effect_pad_list = effect_pad_list->next;
+ }
+ }
+
+ /* AgsEffectPad - output */
+ if(effect_bridge->output != NULL){
+ effect_pad_list = gtk_container_get_children(GTK_CONTAINER(effect_bridge->output));
+
+ while(effect_pad_list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(effect_pad_list->data));
+
+ effect_pad_list = effect_pad_list->next;
+ }
+ }
+
+ /* AgsAudio */
+ effect_bridge->set_audio_channels_handler = g_signal_connect_after(G_OBJECT(effect_bridge->audio), "set-audio-channels\0",
+ G_CALLBACK(ags_effect_bridge_set_audio_channels_callback), effect_bridge);
+
+ effect_bridge->set_pads_handler = g_signal_connect_after(G_OBJECT(effect_bridge->audio), "set-pads\0",
+ G_CALLBACK(ags_effect_bridge_set_pads_callback), effect_bridge);
+}
+
+void
+ags_effect_bridge_disconnect(AgsConnectable *connectable)
+{
+ AgsEffectBridge *effect_bridge;
+
+ effect_bridge = AGS_EFFECT_BRIDGE(connectable);
+
+ g_signal_handler_disconnect(effect_bridge->audio,
+ effect_bridge->set_audio_channels_handler);
+ g_signal_handler_disconnect(effect_bridge->audio,
+ effect_bridge->set_pads_handler);
+}
+
+gchar*
+ags_effect_bridge_get_name(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_BRIDGE(plugin)->name);
+}
+
+void
+ags_effect_bridge_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AgsEffectBridge *effect_bridge;
+
+ effect_bridge = AGS_EFFECT_BRIDGE(plugin);
+
+ effect_bridge->name = name;
+}
+
+gchar*
+ags_effect_bridge_get_version(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_BRIDGE(plugin)->version);
+}
+
+void
+ags_effect_bridge_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AgsEffectBridge *effect_bridge;
+
+ effect_bridge = AGS_EFFECT_BRIDGE(plugin);
+
+ effect_bridge->version = version;
+}
+
+gchar*
+ags_effect_bridge_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_BRIDGE(plugin)->build_id);
+}
+
+void
+ags_effect_bridge_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AgsEffectBridge *effect_bridge;
+
+ effect_bridge = AGS_EFFECT_BRIDGE(plugin);
+
+ effect_bridge->build_id = build_id;
+}
+
+void
+ags_effect_bridge_real_resize_audio_channels(AgsEffectBridge *effect_bridge,
+ guint new_size,
+ guint old_size)
+{
+ GtkTable *table;
+ AgsAudio *audio;
+ AgsChannel *start, *current;
+ GList *list;
+
+ audio = effect_bridge->audio;
+
+ if(audio == NULL){
+ return;
+ }
+
+ /* output */
+ list = gtk_container_get_children(effect_bridge->output);
+
+ while(list != NULL){
+ ags_effect_pad_resize_lines(AGS_EFFECT_PAD(list->data), effect_bridge->output_line_type,
+ new_size, old_size);
+
+ list = list->next;
+ }
+
+ /* input */
+ list = gtk_container_get_children(effect_bridge->input);
+
+ while(list != NULL){
+ ags_effect_pad_resize_lines(AGS_EFFECT_PAD(list->data), effect_bridge->input_line_type,
+ new_size, old_size);
+
+ list = list->next;
+ }
+}
+
+void
+ags_effect_bridge_resize_audio_channels(AgsEffectBridge *effect_bridge,
+ guint new_size,
+ guint old_size)
+{
+ g_return_if_fail(AGS_IS_EFFECT_BRIDGE(effect_bridge));
+
+ g_object_ref((GObject *) effect_bridge);
+ g_signal_emit(G_OBJECT(effect_bridge),
+ effect_bridge_signals[RESIZE_AUDIO_CHANNELS], 0,
+ new_size,
+ old_size);
+ g_object_unref((GObject *) effect_bridge);
+}
+
+
+void
+ags_effect_bridge_real_resize_pads(AgsEffectBridge *effect_bridge,
+ GType channel_type,
+ guint new_size,
+ guint old_size)
+{
+ AgsEffectPad *effect_pad;
+ GtkTable *table;
+ AgsAudio *audio;
+ AgsChannel *start, *current;
+ GList *list, *list_next;
+ guint i;
+
+ audio = effect_bridge->audio;
+
+ if(audio == NULL){
+ return;
+ }
+
+ if(new_size > old_size){
+ if(channel_type == AGS_TYPE_OUTPUT){
+ start =
+ current = ags_channel_nth(audio->output,
+ old_size * audio->audio_channels);
+
+ }else{
+ start =
+ current = ags_channel_nth(audio->input,
+ old_size * audio->audio_channels);
+ }
+
+ for(i = 0; i < new_size - old_size; i++){
+ if(channel_type == AGS_TYPE_OUTPUT){
+ if(effect_bridge->output_pad_type != G_TYPE_NONE){
+ effect_pad = g_object_new(effect_bridge->output_pad_type,
+ "channel\0", current,
+ NULL);
+ ags_effect_pad_resize_lines(effect_pad, effect_bridge->output_line_type,
+ audio->audio_channels, 0);
+ gtk_container_add(GTK_CONTAINER(effect_bridge->output),
+ GTK_WIDGET(effect_pad));
+ }
+ }else{
+ if(effect_bridge->input_pad_type != G_TYPE_NONE){
+ effect_pad = g_object_new(effect_bridge->input_pad_type,
+ "channel\0", current,
+ NULL);
+ ags_effect_pad_resize_lines(effect_pad, effect_bridge->input_line_type,
+ audio->audio_channels, 0);
+ gtk_container_add(GTK_CONTAINER(effect_bridge->input),
+ GTK_WIDGET(effect_pad));
+ }
+ }
+
+ current = current->next_pad;
+ }
+ }else{
+ if(channel_type == AGS_TYPE_OUTPUT){
+ list = gtk_container_get_children(effect_bridge->output);
+ list = g_list_nth(list,
+ new_size);
+ }else{
+ list = gtk_container_get_children(effect_bridge->input);
+ list = g_list_nth(list,
+ new_size);
+ }
+
+ for(i = 0; i < new_size - old_size; i++){
+ list_next = list->next;
+
+ gtk_widget_destroy(list->data);
+
+ list = list_next;
+ }
+ }
+}
+
+void
+ags_effect_bridge_resize_pads(AgsEffectBridge *effect_bridge,
+ GType channel_type,
+ guint new_size,
+ guint old_size)
+{
+ g_return_if_fail(AGS_IS_EFFECT_BRIDGE(effect_bridge));
+
+ g_object_ref((GObject *) effect_bridge);
+ g_signal_emit(G_OBJECT(effect_bridge),
+ effect_bridge_signals[RESIZE_PADS], 0,
+ channel_type,
+ new_size,
+ old_size);
+ g_object_unref((GObject *) effect_bridge);
+}
+
+/**
+ * ags_effect_bridge_new:
+ * @effect_bridge: the parent effect_bridge
+ * @audio: the #AgsAudio to visualize
+ *
+ * Creates an #AgsEffectBridge
+ *
+ * Returns: a new #AgsEffectBridge
+ *
+ * Since: 0.4
+ */
+AgsEffectBridge*
+ags_effect_bridge_new(AgsAudio *audio)
+{
+ AgsEffectBridge *effect_bridge;
+
+ effect_bridge = (AgsEffectBridge *) g_object_new(AGS_TYPE_EFFECT_BRIDGE,
+ "audio\0", audio,
+ NULL);
+
+ return(effect_bridge);
+}
diff --git a/src/ags/X/ags_effect_bridge.h b/src/ags/X/ags_effect_bridge.h
new file mode 100644
index 0000000..10e3ea6
--- /dev/null
+++ b/src/ags/X/ags_effect_bridge.h
@@ -0,0 +1,102 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_BRIDGE_H__
+#define __AGS_EFFECT_BRIDGE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_EFFECT_BRIDGE (ags_effect_bridge_get_type())
+#define AGS_EFFECT_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EFFECT_BRIDGE, AgsEffectBridge))
+#define AGS_EFFECT_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EFFECT_BRIDGE, AgsEffectBridgeClass))
+#define AGS_IS_EFFECT_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EFFECT_BRIDGE))
+#define AGS_IS_EFFECT_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EFFECT_BRIDGE))
+#define AGS_EFFECT_BRIDGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EFFECT_BRIDGE, AgsEffectBridgeClass))
+
+#define AGS_EFFECT_BRIDGE_DEFAULT_VERSION "0.4.3\0"
+#define AGS_EFFECT_BRIDGE_DEFAULT_BUILD_ID "CEST 15-03-2015 13:40\0"
+
+#define AGS_EFFECT_BRIDGE_MAX_COLUMNS (2)
+
+typedef struct _AgsEffectBridge AgsEffectBridge;
+typedef struct _AgsEffectBridgeClass AgsEffectBridgeClass;
+
+typedef enum{
+ AGS_EFFECT_BRIDGE_CONNECTED = 1,
+ AGS_EFFECT_BRIDGE_DISPLAY_INPUT = 1 << 1,
+ AGS_EFFECT_BRIDGE_BULK_OUTPUT = 1 << 2,
+ AGS_EFFECT_BRIDGE_DISPLAY_OUTPUT = 1 << 3,
+ AGS_EFFECT_BRIDGE_BULK_INPUT = 1 << 4,
+}AgsEffectBridgeFlags;
+
+struct _AgsEffectBridge
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsAudio *audio;
+ gulong set_audio_channels_handler;
+ gulong set_pads_handler;
+
+ GType bulk_output_type;
+ GtkWidget *bulk_output;
+
+ GType output_pad_type;
+ GType output_line_type;
+ GtkHBox *output;
+
+ GType bulk_input_type;
+ GtkWidget *bulk_input;
+
+ GType input_pad_type;
+ GType input_line_type;
+ GtkHBox *input;
+};
+
+struct _AgsEffectBridgeClass
+{
+ GtkVBoxClass vbox;
+
+ void (*resize_audio_channels)(AgsEffectBridge *effect_bridge,
+ guint new_size, guint old_size);
+ void (*resize_pads)(AgsEffectBridge *effect_bridge,
+ GType channel_type,
+ guint new_size, guint old_size);
+};
+
+GType ags_effect_bridge_get_type(void);
+
+void ags_effect_bridge_resize_audio_channels(AgsEffectBridge *effect_bridge,
+ guint new_size, guint old_size);
+void ags_effect_bridge_resize_pads(AgsEffectBridge *effect_bridge,
+ GType channel_type,
+ guint new_size, guint old_size);
+
+AgsEffectBridge* ags_effect_bridge_new(AgsAudio *audio);
+
+#endif /*__AGS_EFFECT_BRIDGE_H__*/
diff --git a/src/ags/X/ags_effect_bridge_callbacks.c b/src/ags/X/ags_effect_bridge_callbacks.c
new file mode 100644
index 0000000..1186a7e
--- /dev/null
+++ b/src/ags/X/ags_effect_bridge_callbacks.c
@@ -0,0 +1,40 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_bridge_callbacks.h>
+
+void
+ags_effect_bridge_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsEffectBridge *effect_bridge)
+{
+ ags_effect_bridge_resize_audio_channels(effect_bridge,
+ audio_channels, audio_channels_old);
+}
+
+void
+ags_effect_bridge_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads, guint pads_old,
+ AgsEffectBridge *effect_bridge)
+{
+ ags_effect_bridge_resize_pads(effect_bridge,
+ channel_type,
+ pads, pads_old);
+}
+
diff --git a/src/ags/X/ags_effect_bridge_callbacks.h b/src/ags/X/ags_effect_bridge_callbacks.h
new file mode 100644
index 0000000..fcb0560
--- /dev/null
+++ b/src/ags/X/ags_effect_bridge_callbacks.h
@@ -0,0 +1,37 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_BRIDGE_CALLBACKS_H__
+#define __AGS_EFFECT_BRIDGE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_effect_bridge.h>
+
+void ags_effect_bridge_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsEffectBridge *effect_bridge);
+
+void ags_effect_bridge_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads, guint pads_old,
+ AgsEffectBridge *effect_bridge);
+
+#endif /*__AGS_EFFECT_BRIDGE_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_effect_bulk.c b/src/ags/X/ags_effect_bulk.c
new file mode 100644
index 0000000..8e66972
--- /dev/null
+++ b/src/ags/X/ags_effect_bulk.c
@@ -0,0 +1,1225 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_bulk.h>
+#include <ags/X/ags_effect_bulk_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_channel_run_dummy.h>
+#include <ags/audio/ags_recall_recycling_dummy.h>
+#include <ags/audio/ags_recall_ladspa.h>
+#include <ags/audio/ags_recall_ladspa_run.h>
+
+#include <ags/audio/task/ags_add_bulk_member.h>
+#include <ags/audio/task/ags_update_bulk_member.h>
+#include <ags/audio/task/ags_add_recall_container.h>
+#include <ags/audio/task/ags_add_recall.h>
+
+#include <ags/widget/ags_dial.h>
+
+#include <ags/X/ags_ladspa_browser.h>
+#include <ags/X/ags_bulk_member.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <ladspa.h>
+
+void ags_effect_bulk_class_init(AgsEffectBulkClass *effect_bulk);
+void ags_effect_bulk_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_effect_bulk_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_effect_bulk_init(AgsEffectBulk *effect_bulk);
+void ags_effect_bulk_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_bulk_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_bulk_connect(AgsConnectable *connectable);
+void ags_effect_bulk_disconnect(AgsConnectable *connectable);
+gchar* ags_effect_bulk_get_name(AgsPlugin *plugin);
+void ags_effect_bulk_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_effect_bulk_get_version(AgsPlugin *plugin);
+void ags_effect_bulk_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_effect_bulk_get_build_id(AgsPlugin *plugin);
+void ags_effect_bulk_set_build_id(AgsPlugin *plugin, gchar *build_id);
+
+GList* ags_effect_bulk_real_add_effect(AgsEffectBulk *effect_bulk,
+ gchar *filename,
+ gchar *effect);
+void ags_effect_bulk_real_remove_effect(AgsEffectBulk *effect_bulk,
+ guint nth);
+
+void ags_effect_bulk_real_resize_audio_channels(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size);
+void ags_effect_bulk_real_resize_pads(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size);
+
+/**
+ * SECTION:ags_effect_bulk
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsEffectBulk
+ * @section_id:
+ * @include: ags/X/ags_effect_bulk.h
+ *
+ * #AgsEffectBulk is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsEffectBulk.
+ */
+
+enum{
+ ADD_EFFECT,
+ REMOVE_EFFECT,
+ RESIZE_AUDIO_CHANNELS,
+ RESIZE_PADS,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_AUDIO,
+ PROP_CHANNEL_TYPE,
+};
+
+static gpointer ags_effect_bulk_parent_class = NULL;
+static guint effect_bulk_signals[LAST_SIGNAL];
+
+GType
+ags_effect_bulk_get_type(void)
+{
+ static GType ags_type_effect_bulk = 0;
+
+ if(!ags_type_effect_bulk){
+ static const GTypeInfo ags_effect_bulk_info = {
+ sizeof(AgsEffectBulkClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_effect_bulk_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsEffectBulk),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_effect_bulk_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_effect_bulk_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_effect_bulk_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_effect_bulk = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsEffectBulk\0", &ags_effect_bulk_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_effect_bulk,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_effect_bulk,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_effect_bulk);
+}
+
+void
+ags_effect_bulk_class_init(AgsEffectBulkClass *effect_bulk)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_effect_bulk_parent_class = g_type_class_peek_parent(effect_bulk);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(effect_bulk);
+
+ gobject->set_property = ags_effect_bulk_set_property;
+ gobject->get_property = ags_effect_bulk_get_property;
+
+
+ /* properties */
+ /**
+ * AgsEffectBulk:audio:
+ *
+ * The #AgsAudio to visualize.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("audio\0",
+ "assigned audio\0",
+ "The audio it is assigned with\0",
+ AGS_TYPE_AUDIO,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO,
+ param_spec);
+
+ /**
+ * AgsEffectBulk:channel-type:
+ *
+ * The target channel.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_gtype("channel-type\0",
+ "assigned channel type\0",
+ "The channel type it is assigned with\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL_TYPE,
+ param_spec);
+
+ /* AgsEffectBulkClass */
+ effect_bulk->add_effect = ags_effect_bulk_real_add_effect;
+ effect_bulk->remove_effect = ags_effect_bulk_real_remove_effect;
+
+ effect_bulk->resize_audio_channels = ags_effect_bulk_real_resize_audio_channels;
+ effect_bulk->resize_pads = ags_effect_bulk_real_resize_pads;
+
+ /* signals */
+ /**
+ * AgsEffectBulk::add-effect:
+ * @effect_bulk: the #AgsEffectBulk to modify
+ * @effect: the effect's name
+ *
+ * The ::add-effect signal notifies about added effect.
+ */
+ effect_bulk_signals[ADD_EFFECT] =
+ g_signal_new("add-effect\0",
+ G_TYPE_FROM_CLASS(effect_bulk),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectBulkClass, add_effect),
+ NULL, NULL,
+ g_cclosure_user_marshal_POINTER__STRING_STRING,
+ G_TYPE_POINTER, 2,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
+ /**
+ * AgsEffectBulk::remove-effect:
+ * @effect_bulk: the #AgsEffectBulk to modify
+ * @nth: the nth effect
+ *
+ * The ::remove-effect signal notifies about removed effect.
+ */
+ effect_bulk_signals[REMOVE_EFFECT] =
+ g_signal_new("remove-effect\0",
+ G_TYPE_FROM_CLASS(effect_bulk),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectBulkClass, remove_effect),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsEffectBulk::resize-audio-channels:
+ * @effect_bulk: the object to adjust the channels.
+ * @new_size: new audio channel count
+ * @old_size: old audio channel count
+ *
+ * The ::resize-audio-channels signal notifies about changes in channel
+ * alignment.
+ */
+ effect_bulk_signals[RESIZE_AUDIO_CHANNELS] =
+ g_signal_new("resize-audio-channels\0",
+ G_TYPE_FROM_CLASS(effect_bulk),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectBulkClass, resize_audio_channels),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_UINT,
+ G_TYPE_NONE, 2,
+ G_TYPE_UINT, G_TYPE_UINT);
+
+ /**
+ * AgsEffectBulk::resize-pads:
+ * @effect_bulk: the object to adjust the channels.
+ * @new_size: new pad count
+ * @old_size: old pad count
+ *
+ * The ::resize-pads signal notifies about changes in channel
+ * alignment.
+ */
+ effect_bulk_signals[RESIZE_PADS] =
+ g_signal_new("resize_pads\0",
+ G_TYPE_FROM_CLASS(effect_bulk),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectBulkClass, resize_pads),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_UINT,
+ G_TYPE_NONE, 2,
+ G_TYPE_UINT, G_TYPE_UINT);
+}
+
+void
+ags_effect_bulk_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_effect_bulk_connect;
+ connectable->disconnect = ags_effect_bulk_disconnect;
+}
+
+void
+ags_effect_bulk_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_version = ags_effect_bulk_get_version;
+ plugin->set_version = ags_effect_bulk_set_version;
+ plugin->get_build_id = ags_effect_bulk_get_build_id;
+ plugin->set_build_id = ags_effect_bulk_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_effect_bulk_init(AgsEffectBulk *effect_bulk)
+{
+ GtkAlignment *alignment;
+ GtkHBox *hbox;
+
+ effect_bulk->flags = 0;
+
+ effect_bulk->name = NULL;
+
+ effect_bulk->version = AGS_EFFECT_BULK_DEFAULT_VERSION;
+ effect_bulk->build_id = AGS_EFFECT_BULK_DEFAULT_BUILD_ID;
+
+ effect_bulk->channel_type = G_TYPE_NONE;
+ effect_bulk->audio = NULL;
+
+ effect_bulk->plugin = NULL;
+
+ alignment = g_object_new(GTK_TYPE_ALIGNMENT,
+ "xalign\0", 1.0,
+ NULL);
+ gtk_box_pack_start(effect_bulk,
+ alignment,
+ FALSE, FALSE,
+ 0);
+
+ hbox = gtk_hbox_new(FALSE, 0);
+ gtk_container_add(alignment,
+ hbox);
+
+ effect_bulk->add = gtk_button_new_from_stock(GTK_STOCK_ADD);
+ gtk_box_pack_start(hbox,
+ effect_bulk->add,
+ FALSE, FALSE,
+ 0);
+
+ effect_bulk->remove = gtk_button_new_from_stock(GTK_STOCK_REMOVE);
+ gtk_box_pack_start(hbox,
+ effect_bulk->remove,
+ FALSE, FALSE,
+ 0);
+
+ hbox = gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(effect_bulk,
+ hbox,
+ FALSE, FALSE,
+ 0);
+
+ effect_bulk->bulk_member = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start(hbox,
+ effect_bulk->bulk_member,
+ FALSE, FALSE,
+ 0);
+
+ effect_bulk->table = (GtkTable *) gtk_table_new(1, AGS_EFFECT_BULK_COLUMNS_COUNT,
+ FALSE);
+ gtk_box_pack_start(hbox,
+ effect_bulk->table,
+ FALSE, FALSE,
+ 0);
+
+ effect_bulk->ladspa_browser = ags_ladspa_browser_new(effect_bulk);
+}
+
+void
+ags_effect_bulk_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = AGS_EFFECT_BULK(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ {
+ AgsAudio *audio;
+
+ audio = (AgsAudio *) g_value_get_object(value);
+
+ if(effect_bulk->audio == audio){
+ return;
+ }
+
+ if(effect_bulk->audio != NULL){
+ if((AGS_EFFECT_BULK_CONNECTED & (effect_bulk->flags)) != 0){
+ g_signal_handler_disconnect(effect_bulk->audio,
+ effect_bulk->set_audio_channels_handler);
+ g_signal_handler_disconnect(effect_bulk->audio,
+ effect_bulk->set_pads_handler);
+ }
+
+ if(effect_bulk->channel_type == AGS_TYPE_OUTPUT){
+ ags_effect_bulk_resize_pads(effect_bulk,
+ 0,
+ effect_bulk->audio->output_pads);
+ }else{
+ ags_effect_bulk_resize_pads(effect_bulk,
+ 0,
+ effect_bulk->audio->input_pads);
+ }
+
+ g_object_unref(effect_bulk->audio);
+ }
+
+ if(audio != NULL){
+ g_object_ref(audio);
+ }
+
+ effect_bulk->audio = audio;
+
+ if(audio != NULL){
+ if((AGS_EFFECT_BULK_CONNECTED & (effect_bulk->flags)) != 0){
+ effect_bulk->set_audio_channels_handler = g_signal_connect_after(effect_bulk->audio, "set-audio-channels\0",
+ G_CALLBACK(ags_effect_bulk_set_audio_channels_callback), effect_bulk);
+
+ effect_bulk->set_pads_handler = g_signal_connect_after(effect_bulk->audio, "set-pads\0",
+ G_CALLBACK(ags_effect_bulk_set_pads_callback), effect_bulk);
+ if(effect_bulk->channel_type == AGS_TYPE_OUTPUT){
+ ags_effect_bulk_resize_pads(effect_bulk,
+ audio->output_pads,
+ 0);
+ }else{
+ ags_effect_bulk_resize_pads(effect_bulk,
+ audio->input_pads,
+ 0);
+ }
+ }
+ }
+ }
+ case PROP_CHANNEL_TYPE:
+ {
+ GType channel_type;
+
+ channel_type = (GType) g_value_get_gtype(value);
+
+ effect_bulk->channel_type = channel_type;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_bulk_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = AGS_EFFECT_BULK(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ {
+ g_value_set_object(value,
+ effect_bulk->audio);
+ }
+ break;
+ case PROP_CHANNEL_TYPE:
+ {
+ g_value_set_gtype(value,
+ effect_bulk->channel_type);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_bulk_connect(AgsConnectable *connectable)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = AGS_EFFECT_BULK(connectable);
+
+ if((AGS_EFFECT_BULK_CONNECTED & (effect_bulk->flags)) != 0){
+ return;
+ }
+
+ g_signal_connect(G_OBJECT(effect_bulk->add), "clicked\0",
+ G_CALLBACK(ags_effect_bulk_add_callback), effect_bulk);
+
+ g_signal_connect(G_OBJECT(effect_bulk->remove), "clicked\0",
+ G_CALLBACK(ags_effect_bulk_remove_callback), effect_bulk);
+
+ ags_connectable_connect(AGS_CONNECTABLE(effect_bulk->ladspa_browser));
+
+ g_signal_connect(G_OBJECT(effect_bulk->ladspa_browser), "response\0",
+ G_CALLBACK(ags_effect_bulk_ladspa_browser_response_callback), effect_bulk);
+
+ if(effect_bulk->audio != NULL){
+ effect_bulk->set_audio_channels_handler = g_signal_connect_after(effect_bulk->audio, "set-audio-channels\0",
+ G_CALLBACK(ags_effect_bulk_set_audio_channels_callback), effect_bulk);
+
+ effect_bulk->set_pads_handler = g_signal_connect_after(effect_bulk->audio, "set-pads\0",
+ G_CALLBACK(ags_effect_bulk_set_pads_callback), effect_bulk);
+ }
+}
+
+void
+ags_effect_bulk_disconnect(AgsConnectable *connectable)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = AGS_EFFECT_BULK(connectable);
+
+ if((AGS_EFFECT_BULK_CONNECTED & (effect_bulk->flags)) == 0){
+ return;
+ }
+
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_effect_bulk_get_name(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_BULK(plugin)->name);
+}
+
+void
+ags_effect_bulk_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = AGS_EFFECT_BULK(plugin);
+
+ effect_bulk->name = name;
+}
+
+gchar*
+ags_effect_bulk_get_version(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_BULK(plugin)->version);
+}
+
+void
+ags_effect_bulk_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = AGS_EFFECT_BULK(plugin);
+
+ effect_bulk->version = version;
+}
+
+gchar*
+ags_effect_bulk_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_BULK(plugin)->build_id);
+}
+
+void
+ags_effect_bulk_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = AGS_EFFECT_BULK(plugin);
+
+ effect_bulk->build_id = build_id;
+}
+
+AgsEffectBulkPlugin*
+ags_effect_bulk_plugin_alloc(gchar *filename,
+ gchar *effect)
+{
+ AgsEffectBulkPlugin *effect_plugin;
+
+ effect_plugin = (AgsEffectBulkPlugin *) malloc(sizeof(AgsEffectBulkPlugin));
+
+ effect_plugin->filename = filename;
+ effect_plugin->effect = effect;
+
+ return(effect_plugin);
+}
+
+GList*
+ags_effect_bulk_real_add_effect(AgsEffectBulk *effect_bulk,
+ gchar *filename,
+ gchar *effect)
+{
+ AgsBulkMember *bulk_member;
+ AgsAddBulkMember *add_bulk_member;
+ AgsUpdateBulkMember *update_bulk_member;
+ GtkAdjustment *adjustment;
+
+ AgsChannel *current;
+ AgsRecallContainer *recall_container;
+ AgsRecallChannelRunDummy *recall_channel_run_dummy;
+ AgsRecallLadspa *recall_ladspa;
+ AgsLadspaPlugin *ladspa_plugin;
+ AgsAddRecallContainer *add_recall_container;
+ AgsAddRecall *add_recall;
+
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+
+ GList *port, *recall_port;
+ GList *list, *list_start;
+ GList *task;
+ guint pads, audio_channels;
+ gdouble step;
+ guint x, y;
+ guint i, j;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ LADSPA_Data lower_bound, upper_bound;
+ unsigned long index;
+ unsigned long k;
+
+ effect_bulk->plugin = g_list_append(effect_bulk->plugin,
+ ags_effect_bulk_plugin_alloc(filename,
+ effect));
+
+ audio_loop = (AgsAudioLoop *) AGS_MAIN(AGS_DEVOUT(effect_bulk->audio->devout)->ags_main)->main_loop;
+ task_thread = (AgsTaskThread *) audio_loop->task_thread;
+
+ audio_channels = effect_bulk->audio->audio_channels;
+
+ if(effect_bulk->channel_type == AGS_TYPE_OUTPUT){
+ current = effect_bulk->audio->output;
+
+ pads = effect_bulk->audio->output_pads;
+ }else{
+ current = effect_bulk->audio->input;
+
+ pads = effect_bulk->audio->input_pads;
+ }
+
+ /* */
+ index = ags_ladspa_manager_effect_index(filename,
+ effect);
+
+ task = NULL;
+
+ /* load plugin */
+ ags_ladspa_manager_load_file(filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(filename);
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ for(i = 0; i < pads; i++){
+ for(j = 0; j < audio_channels; j++){
+
+ /* ladspa play */
+ recall_container = ags_recall_container_new();
+
+ add_recall_container = ags_add_recall_container_new(current->audio,
+ recall_container);
+ task = g_list_prepend(task,
+ add_recall_container);
+
+ recall_ladspa = ags_recall_ladspa_new(current,
+ filename,
+ effect,
+ index);
+ g_object_set(G_OBJECT(recall_ladspa),
+ "devout\0", AGS_AUDIO(current->audio)->devout,
+ "recall-container\0", recall_container,
+ NULL);
+ AGS_RECALL(recall_ladspa)->flags |= AGS_RECALL_TEMPLATE;
+ ags_recall_ladspa_load(recall_ladspa);
+ port = ags_recall_ladspa_load_ports(recall_ladspa);
+
+ add_recall = ags_add_recall_new(current,
+ recall_ladspa,
+ TRUE);
+ task = g_list_prepend(task,
+ add_recall);
+
+ /* dummy */
+ recall_channel_run_dummy = ags_recall_channel_run_dummy_new(current,
+ AGS_TYPE_RECALL_RECYCLING_DUMMY,
+ AGS_TYPE_RECALL_LADSPA_RUN);
+ AGS_RECALL(recall_channel_run_dummy)->flags |= AGS_RECALL_TEMPLATE;
+ g_object_set(G_OBJECT(recall_channel_run_dummy),
+ "devout\0", AGS_AUDIO(current->audio)->devout,
+ "recall-container\0", recall_container,
+ "recall-channel\0", recall_ladspa,
+ NULL);
+
+ add_recall = ags_add_recall_new(current,
+ recall_channel_run_dummy,
+ TRUE);
+ task = g_list_prepend(task,
+ add_recall);
+
+ /* ladspa recall */
+ recall_container = ags_recall_container_new();
+
+ add_recall_container = ags_add_recall_container_new(current->audio,
+ recall_container);
+ task = g_list_prepend(task,
+ add_recall_container);
+
+ recall_ladspa = ags_recall_ladspa_new(current,
+ filename,
+ effect,
+ index);
+ g_object_set(G_OBJECT(recall_ladspa),
+ "devout\0", AGS_AUDIO(current->audio)->devout,
+ "recall-container\0", recall_container,
+ NULL);
+ AGS_RECALL(recall_ladspa)->flags |= AGS_RECALL_TEMPLATE;
+ ags_recall_ladspa_load(recall_ladspa);
+ recall_port = ags_recall_ladspa_load_ports(recall_ladspa);
+
+ add_recall = ags_add_recall_new(current,
+ recall_ladspa,
+ FALSE);
+ task = g_list_prepend(task,
+ add_recall);
+
+ /* dummy */
+ recall_channel_run_dummy = ags_recall_channel_run_dummy_new(current,
+ AGS_TYPE_RECALL_RECYCLING_DUMMY,
+ AGS_TYPE_RECALL_LADSPA_RUN);
+ AGS_RECALL(recall_channel_run_dummy)->flags |= AGS_RECALL_TEMPLATE;
+ g_object_set(G_OBJECT(recall_channel_run_dummy),
+ "devout\0", AGS_AUDIO(current->audio)->devout,
+ "recall-container\0", recall_container,
+ "recall-channel\0", recall_ladspa,
+ NULL);
+
+ add_recall = ags_add_recall_new(current,
+ recall_channel_run_dummy,
+ FALSE);
+ task = g_list_prepend(task,
+ add_recall);
+
+
+ current = current->next;
+ }
+ }
+
+ /* retrieve position within table */
+ x = 0;
+ y = 0;
+
+ list_start =
+ list = effect_bulk->table->children;
+
+ while(list != NULL){
+ if(y <= ((GtkTableChild *) list->data)->top_attach){
+ y = ((GtkTableChild *) list->data)->top_attach + 1;
+ }
+
+ list = list->next;
+ }
+
+ /* load ports */
+ if(index != -1 &&
+ plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ plugin_descriptor = ladspa_descriptor(index);
+
+ port_descriptor = plugin_descriptor->PortDescriptors;
+
+ for(k = 0; k < plugin_descriptor->PortCount; k++){
+ if((LADSPA_IS_PORT_CONTROL(port_descriptor[k]) &&
+ (LADSPA_IS_PORT_INPUT(port_descriptor[k]) ||
+ LADSPA_IS_PORT_OUTPUT(port_descriptor[k])))){
+ AgsDial *dial;
+ GtkAdjustment *adjustment;
+
+ if(x == AGS_EFFECT_BULK_COLUMNS_COUNT){
+ x = 0;
+ y++;
+ gtk_table_resize(effect_bulk->table,
+ y + 1, AGS_EFFECT_BULK_COLUMNS_COUNT);
+ }
+
+ /* add bulk member */
+ bulk_member = (AgsBulkMember *) g_object_new(AGS_TYPE_BULK_MEMBER,
+ "widget-type\0", AGS_TYPE_DIAL,
+ "widget-label\0", plugin_descriptor->PortNames[k],
+ "plugin-name\0", g_strdup_printf("ladspa-%lu\0", plugin_descriptor->UniqueID),
+ "filename\0", filename,
+ "effect\0", effect,
+ "specifier\0", g_strdup(plugin_descriptor->PortNames[k]),
+ "control-port\0", g_strdup_printf("%d/%d\0",
+ k,
+ plugin_descriptor->PortCount),
+ NULL);
+ dial = ags_bulk_member_get_widget(bulk_member);
+ gtk_widget_set_size_request(dial,
+ 2 * dial->radius + 2 * dial->outline_strength + dial->button_width + 1,
+ 2 * dial->radius + 2 * dial->outline_strength + 1);
+
+ /* add controls of ports and apply range */
+ lower_bound = plugin_descriptor->PortRangeHints[k].LowerBound;
+ upper_bound = plugin_descriptor->PortRangeHints[k].UpperBound;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0);
+ g_object_set(dial,
+ "adjustment", adjustment,
+ NULL);
+
+ if(upper_bound >= 0.0 && lower_bound >= 0.0){
+ step = (upper_bound - lower_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }else if(upper_bound < 0.0 && lower_bound < 0.0){
+ step = -1.0 * (lower_bound - upper_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }else{
+ step = (upper_bound - lower_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }
+
+ gtk_adjustment_set_step_increment(adjustment,
+ step);
+ gtk_adjustment_set_lower(adjustment,
+ lower_bound);
+ gtk_adjustment_set_upper(adjustment,
+ upper_bound);
+ gtk_adjustment_set_value(adjustment,
+ lower_bound);
+
+ g_message("%f %f\0", lower_bound, upper_bound);
+
+ /* create task */
+ add_bulk_member = ags_add_bulk_member_new(effect_bulk,
+ bulk_member,
+ x, y,
+ 1, 1);
+ task = g_list_prepend(task,
+ add_bulk_member);
+
+ /* update ports */
+ update_bulk_member = ags_update_bulk_member_new(effect_bulk,
+ bulk_member,
+ pads,
+ 0,
+ TRUE);
+ task = g_list_prepend(task,
+ update_bulk_member);
+
+ x++;
+ }
+ }
+ }
+ }
+
+ /* launch tasks */
+ task = g_list_reverse(task);
+ ags_task_thread_append_tasks(task_thread,
+ task);
+
+ return(port);
+}
+
+GList*
+ags_effect_bulk_add_effect(AgsEffectBulk *effect_bulk,
+ gchar *filename,
+ gchar *effect)
+{
+ GList *list;
+
+ g_return_val_if_fail(AGS_IS_EFFECT_BULK(effect_bulk), NULL);
+
+ g_object_ref((GObject *) effect_bulk);
+ g_signal_emit(G_OBJECT(effect_bulk),
+ effect_bulk_signals[ADD_EFFECT], 0,
+ filename,
+ effect,
+ &list);
+ g_object_unref((GObject *) effect_bulk);
+
+ return(list);
+}
+
+void
+ags_effect_bulk_real_remove_effect(AgsEffectBulk *effect_bulk,
+ guint nth)
+{
+ AgsAddBulkMember *add_bulk_member;
+ GtkAdjustment *adjustment;
+
+ AgsChannel *current;
+
+ AgsEffectBulkPlugin *effect_bulk_plugin;
+ GList *list, *list_next;
+ gchar *filename, *effect;
+ guint pads, audio_channels;
+ guint i, j;
+
+ /* free plugin specification */
+ effect_bulk_plugin = g_list_nth_data(effect_bulk->plugin,
+ nth);
+ effect_bulk->plugin = g_list_remove(effect_bulk->plugin,
+ effect_bulk_plugin);
+ free(effect_bulk_plugin);
+
+ /* retrieve channel */
+ audio_channels = effect_bulk->audio->audio_channels;
+
+ if(effect_bulk->channel_type == AGS_TYPE_OUTPUT){
+ current = effect_bulk->audio->output;
+
+ pads = effect_bulk->audio->output_pads;
+ }else{
+ current = effect_bulk->audio->input;
+
+ pads = effect_bulk->audio->input_pads;
+ }
+
+ /* destroy control */
+ list = gtk_container_get_children(effect_bulk->table);
+
+ filename = AGS_BULK_MEMBER(list->data)->filename;
+ effect = AGS_BULK_MEMBER(list->data)->effect;
+
+ i = 0;
+
+ while(list != NULL && i <= nth){
+ list_next = list->next;
+
+ if(AGS_IS_BULK_MEMBER(list->data)){
+ if(!(!g_strcmp0(AGS_BULK_MEMBER(list->data)->filename, filename) &&
+ !g_strcmp0(AGS_BULK_MEMBER(list->data)->effect, effect))){
+ filename = AGS_BULK_MEMBER(list->data)->filename;
+ effect = AGS_BULK_MEMBER(list->data)->effect;
+
+ i++;
+ }
+
+ if(i == nth){
+ gtk_widget_destroy(list->data);
+ }
+
+ }
+
+ list = list_next;
+ }
+
+ /* remove recalls */
+ for(i = 0; i < pads; i++){
+ for(j = 0; j < audio_channels; j++){
+ ags_channel_remove_effect(current,
+ nth);
+
+ current = current->next;
+ }
+ }
+}
+
+void
+ags_effect_bulk_remove_effect(AgsEffectBulk *effect_bulk,
+ guint nth)
+{
+ g_return_if_fail(AGS_IS_EFFECT_BULK(effect_bulk));
+
+ g_object_ref((GObject *) effect_bulk);
+ g_signal_emit(G_OBJECT(effect_bulk),
+ effect_bulk_signals[REMOVE_EFFECT], 0,
+ nth);
+ g_object_unref((GObject *) effect_bulk);
+}
+
+void
+ags_effect_bulk_real_resize_audio_channels(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size)
+{
+ AgsUpdateBulkMember *update_bulk_member;
+
+ AgsChannel *current;
+
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+
+ GList *task;
+ GList *bulk_member;
+ GList *effect_bulk_plugin;
+ GList *list;
+ guint pads;
+ guint i, j;
+
+ audio_loop = (AgsAudioLoop *) AGS_MAIN(AGS_DEVOUT(effect_bulk->audio->devout)->ags_main)->main_loop;
+ task_thread = (AgsTaskThread *) audio_loop->task_thread;
+
+ /* retrieve channel */
+ if(effect_bulk->channel_type == AGS_TYPE_OUTPUT){
+ current = effect_bulk->audio->output;
+
+ pads = effect_bulk->audio->output_pads;
+ }else{
+ current = effect_bulk->audio->input;
+
+ pads = effect_bulk->audio->input_pads;
+ }
+
+ /* collect bulk member */
+ task = NULL;
+ bulk_member = NULL;
+
+ list = gtk_container_get_children(effect_bulk->table);
+
+ while(list != NULL){
+ if(AGS_IS_BULK_MEMBER(list->data)){
+ bulk_member = g_list_prepend(bulk_member,
+ list->data);
+ }
+
+ list = list->next;
+ }
+
+ bulk_member = g_list_reverse(bulk_member);
+
+ /* create task */
+ update_bulk_member = ags_update_bulk_member_new(effect_bulk,
+ bulk_member,
+ new_size,
+ old_size,
+ FALSE);
+ task = g_list_prepend(task,
+ update_bulk_member);
+
+ if(new_size > old_size){
+ /* add effect */
+ for(i = 0; i < pads; i++){
+ current = ags_channel_nth(current,
+ old_size);
+
+ for(j = old_size; j < new_size; j++){
+ effect_bulk_plugin = effect_bulk->plugin;
+
+ while(effect_bulk_plugin != NULL){
+ ags_channel_add_effect(current,
+ AGS_EFFECT_BULK_PLUGIN(effect_bulk_plugin->data)->filename,
+ AGS_EFFECT_BULK_PLUGIN(effect_bulk_plugin->data)->effect);
+
+ effect_bulk_plugin = effect_bulk_plugin->next;
+ }
+
+ current = current->next;
+ }
+ }
+ }
+
+ /* launch tasks */
+ task = g_list_reverse(task);
+ ags_task_thread_append_tasks(task_thread,
+ task);
+}
+
+void
+ags_effect_bulk_resize_audio_channels(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size)
+{
+ g_return_if_fail(AGS_IS_EFFECT_BULK(effect_bulk));
+
+ g_object_ref((GObject *) effect_bulk);
+ g_signal_emit(G_OBJECT(effect_bulk),
+ effect_bulk_signals[RESIZE_AUDIO_CHANNELS], 0,
+ new_size,
+ old_size);
+ g_object_unref((GObject *) effect_bulk);
+}
+
+void
+ags_effect_bulk_real_resize_pads(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size)
+{
+ AgsUpdateBulkMember *update_bulk_member;
+
+ AgsChannel *current;
+
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+
+ GList *task;
+ GList *bulk_member;
+ GList *effect_bulk_plugin;
+ GList *list;
+ guint audio_channels;
+ guint i, j;
+
+ audio_loop = (AgsAudioLoop *) AGS_MAIN(AGS_DEVOUT(effect_bulk->audio->devout)->ags_main)->main_loop;
+ task_thread = (AgsTaskThread *) audio_loop->task_thread;
+
+ audio_channels = effect_bulk->audio->audio_channels;
+
+ /* retrieve channel */
+ if(effect_bulk->channel_type == AGS_TYPE_OUTPUT){
+ current = effect_bulk->audio->output;
+ }else{
+ current = effect_bulk->audio->input;
+ }
+
+ /* collect bulk member */
+ task = NULL;
+ bulk_member = NULL;
+
+ list = gtk_container_get_children(effect_bulk->table);
+
+ while(list != NULL){
+ if(AGS_IS_BULK_MEMBER(list->data)){
+ bulk_member = g_list_prepend(bulk_member,
+ list->data);
+ }
+
+ list = list->next;
+ }
+
+ bulk_member = g_list_reverse(bulk_member);
+
+ /* create task */
+ update_bulk_member = ags_update_bulk_member_new(effect_bulk,
+ bulk_member,
+ new_size,
+ old_size,
+ TRUE);
+ task = g_list_prepend(task,
+ update_bulk_member);
+
+ if(new_size > old_size){
+ /* add effect */
+ current = ags_channel_pad_nth(current,
+ old_size);
+
+ for(i = old_size; i < new_size; i++){
+ for(j = 0; j < audio_channels; j++){
+ effect_bulk_plugin = effect_bulk->plugin;
+
+ while(effect_bulk_plugin != NULL){
+ ags_channel_add_effect(current,
+ AGS_EFFECT_BULK_PLUGIN(effect_bulk_plugin->data)->filename,
+ AGS_EFFECT_BULK_PLUGIN(effect_bulk_plugin->data)->effect);
+
+ effect_bulk_plugin = effect_bulk_plugin->next;
+ }
+
+ current = current->next;
+ }
+ }
+ }
+
+ /* launch tasks */
+ task = g_list_reverse(task);
+ ags_task_thread_append_tasks(task_thread,
+ task);
+}
+
+void
+ags_effect_bulk_resize_pads(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size)
+{
+ g_return_if_fail(AGS_IS_EFFECT_BULK(effect_bulk));
+
+ g_object_ref((GObject *) effect_bulk);
+ g_signal_emit(G_OBJECT(effect_bulk),
+ effect_bulk_signals[RESIZE_PADS], 0,
+ new_size,
+ old_size);
+ g_object_unref((GObject *) effect_bulk);
+}
+
+/**
+ * ags_effect_bulk_new:
+ * @effect_bulk: the parent effect_bulk
+ * @audio: the #AgsAudio to visualize
+ * @channel_type: either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ *
+ * Creates an #AgsEffectBulk
+ *
+ * Returns: a new #AgsEffectBulk
+ *
+ * Since: 0.4
+ */
+AgsEffectBulk*
+ags_effect_bulk_new(AgsAudio *audio,
+ GType channel_type)
+{
+ AgsEffectBulk *effect_bulk;
+
+ effect_bulk = (AgsEffectBulk *) g_object_new(AGS_TYPE_EFFECT_BULK,
+ "audio\0", audio,
+ "channel-type\0", channel_type,
+ NULL);
+
+ return(effect_bulk);
+}
diff --git a/src/ags/X/ags_effect_bulk.h b/src/ags/X/ags_effect_bulk.h
new file mode 100644
index 0000000..9ed612c
--- /dev/null
+++ b/src/ags/X/ags_effect_bulk.h
@@ -0,0 +1,122 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_BULK_H__
+#define __AGS_EFFECT_BULK_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_EFFECT_BULK (ags_effect_bulk_get_type())
+#define AGS_EFFECT_BULK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EFFECT_BULK, AgsEffectBulk))
+#define AGS_EFFECT_BULK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EFFECT_BULK, AgsEffectBulkClass))
+#define AGS_IS_EFFECT_BULK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EFFECT_BULK))
+#define AGS_IS_EFFECT_BULK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EFFECT_BULK))
+#define AGS_EFFECT_BULK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EFFECT_BULK, AgsEffectBulkClass))
+
+#define AGS_EFFECT_BULK_PLUGIN(ptr) ((AgsEffectBulkPlugin *)(ptr))
+
+#define AGS_EFFECT_BULK_DEFAULT_VERSION "0.4.3\0"
+#define AGS_EFFECT_BULK_DEFAULT_BUILD_ID "CEST 20-03-2015 08:24\0"
+
+#define AGS_EFFECT_BULK_COLUMNS_COUNT (4)
+
+typedef struct _AgsEffectBulk AgsEffectBulk;
+typedef struct _AgsEffectBulkClass AgsEffectBulkClass;
+
+typedef struct _AgsEffectBulkPlugin AgsEffectBulkPlugin;
+
+typedef enum{
+ AGS_EFFECT_BULK_CONNECTED = 1,
+}AgsEffectBulkFlags;
+
+struct _AgsEffectBulk
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ GType *channel_type;
+ AgsAudio *audio;
+ gulong set_audio_channels_handler;
+ gulong set_pads_handler;
+
+ GtkButton *add;
+ GtkButton *remove;
+
+ GtkVBox *bulk_member;
+ GtkTable *table;
+
+ GList *plugin;
+ GtkDialog *ladspa_browser;
+};
+
+struct _AgsEffectBulkClass
+{
+ GtkVBoxClass vbox;
+
+ GList* (*add_effect)(AgsEffectBulk *effect_bulk,
+ gchar *filename,
+ gchar *effect);
+ void (*remove_effect)(AgsEffectBulk *effect_bulk,
+ guint nth);
+
+ void (*resize_audio_channels)(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size);
+ void (*resize_pads)(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size);
+};
+
+struct _AgsEffectBulkPlugin
+{
+ gchar *filename;
+ gchar *effect;
+};
+
+GType ags_effect_bulk_get_type(void);
+
+AgsEffectBulkPlugin* ags_effect_bulk_plugin_alloc(gchar *filename,
+ gchar *effect);
+
+GList* ags_effect_bulk_add_effect(AgsEffectBulk *effect_bulk,
+ gchar *filename,
+ gchar *effect);
+void ags_effect_bulk_remove_effect(AgsEffectBulk *effect_bulk,
+ guint nth);
+
+void ags_effect_bulk_resize_audio_channels(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size);
+void ags_effect_bulk_resize_pads(AgsEffectBulk *effect_bulk,
+ guint new_size,
+ guint old_size);
+
+AgsEffectBulk* ags_effect_bulk_new(AgsAudio *audio,
+ GType channel_type);
+
+#endif /*__AGS_EFFECT_BULK_H__*/
diff --git a/src/ags/X/ags_effect_bulk_callbacks.c b/src/ags/X/ags_effect_bulk_callbacks.c
new file mode 100644
index 0000000..910b617
--- /dev/null
+++ b/src/ags/X/ags_effect_bulk_callbacks.c
@@ -0,0 +1,148 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_bulk_callbacks.h>
+
+#include <ags/X/ags_ladspa_browser.h>
+
+void
+ags_effect_bulk_add_callback(GtkWidget *button,
+ AgsEffectBulk *effect_bulk)
+{
+ gtk_widget_show_all(effect_bulk->ladspa_browser);
+}
+
+void
+ags_effect_bulk_remove_callback(GtkWidget *button,
+ AgsEffectBulk *effect_bulk)
+{
+ GList *bulk_member;
+ GList *children;
+ guint nth;
+
+ auto void ags_effect_bulk_editor_ladspa_browser_response_destroy_entry();
+
+ void ags_effect_bulk_editor_ladspa_browser_response_destroy_entry(){
+ /* destroy bulk member entry */
+ gtk_widget_destroy(GTK_WIDGET(bulk_member->data));
+ }
+
+ if(button == NULL ||
+ effect_bulk == NULL){
+ return;
+ }
+
+ bulk_member = gtk_container_get_children(effect_bulk->bulk_member);
+
+ /* iterate bulk member */
+ for(nth = 0; bulk_member != NULL; nth++){
+ children = gtk_container_get_children(GTK_CONTAINER(bulk_member->data));
+
+ if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(children->data))){
+ ags_effect_bulk_editor_ladspa_browser_response_destroy_entry();
+
+ /* remove effect */
+ ags_effect_bulk_remove_effect(effect_bulk,
+ nth);
+ }
+
+ bulk_member = bulk_member->next;
+ }
+}
+
+void
+ags_effect_bulk_ladspa_browser_response_callback(GtkDialog *dialog,
+ gint response,
+ AgsEffectBulk *effect_bulk)
+{
+ gchar *filename, *effect;
+
+ auto void ags_effect_bulk_ladspa_browser_response_create_entry();
+
+ void ags_effect_bulk_ladspa_browser_response_create_entry(){
+ GtkHBox *hbox;
+ GtkCheckButton *check_button;
+ GtkLabel *label;
+
+ /* create entry */
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(effect_bulk->bulk_member),
+ GTK_WIDGET(hbox),
+ FALSE, FALSE,
+ 0);
+
+ check_button = (GtkCheckButton *) gtk_check_button_new();
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(check_button),
+ FALSE, FALSE,
+ 0);
+
+ //TODO:JK: ugly
+ label = (GtkLabel *) gtk_label_new(g_strdup_printf("%s - %s\0",
+ filename,
+ effect));
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+ gtk_widget_show_all((GtkWidget *) hbox);
+ }
+
+ switch(response){
+ case GTK_RESPONSE_ACCEPT:
+ {
+ /* retrieve plugin */
+ filename = ags_ladspa_browser_get_plugin_filename(effect_bulk->ladspa_browser);
+ effect = ags_ladspa_browser_get_plugin_effect(effect_bulk->ladspa_browser);
+
+ ags_effect_bulk_ladspa_browser_response_create_entry();
+
+ /* add effect */
+ ags_effect_bulk_add_effect(effect_bulk,
+ filename,
+ effect);
+ }
+ break;
+ }
+}
+
+void
+ags_effect_bulk_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels,
+ guint audio_channels_old,
+ AgsEffectBulk *effect_bulk)
+{
+ ags_effect_bulk_resize_audio_channels(effect_bulk,
+ audio_channels,
+ audio_channels_old);
+}
+
+void
+ags_effect_bulk_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads,
+ guint pads_old,
+ AgsEffectBulk *effect_bulk)
+{
+ if(channel_type == effect_bulk->channel_type){
+ ags_effect_bulk_resize_pads(effect_bulk,
+ pads,
+ pads_old);
+ }
+}
+
diff --git a/src/ags/X/ags_effect_bulk_callbacks.h b/src/ags/X/ags_effect_bulk_callbacks.h
new file mode 100644
index 0000000..247620e
--- /dev/null
+++ b/src/ags/X/ags_effect_bulk_callbacks.h
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_BULK_CALLBACKS_H__
+#define __AGS_EFFECT_BULK_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+void ags_effect_bulk_add_callback(GtkWidget *button,
+ AgsEffectBulk *effect_bulk);
+void ags_effect_bulk_remove_callback(GtkWidget *button,
+ AgsEffectBulk *effect_bulk);
+
+void ags_effect_bulk_ladspa_browser_response_callback(GtkDialog *dialog,
+ gint response,
+ AgsEffectBulk *effect_bulk);
+
+void ags_effect_bulk_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels,
+ guint audio_channels_old,
+ AgsEffectBulk *effect_bulk);
+void ags_effect_bulk_set_pads_callback(AgsAudio *audio,
+ GType channel_type,
+ guint pads,
+ guint pads_old,
+ AgsEffectBulk *effect_bulk);
+
+#endif /*__AGS_EFFECT_BULK_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_effect_line.c b/src/ags/X/ags_effect_line.c
new file mode 100644
index 0000000..e230ced
--- /dev/null
+++ b/src/ags/X/ags_effect_line.c
@@ -0,0 +1,647 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_line.h>
+#include <ags/X/ags_effect_line_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_ladspa.h>
+
+#include <ags/audio/task/ags_add_line_member.h>
+
+#include <ags/widget/ags_dial.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_line_member.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <ladspa.h>
+
+void ags_effect_line_class_init(AgsEffectLineClass *effect_line);
+void ags_effect_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_effect_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_effect_line_init(AgsEffectLine *effect_line);
+void ags_effect_line_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_line_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_line_connect(AgsConnectable *connectable);
+void ags_effect_line_disconnect(AgsConnectable *connectable);
+gchar* ags_effect_line_get_name(AgsPlugin *plugin);
+void ags_effect_line_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_effect_line_get_version(AgsPlugin *plugin);
+void ags_effect_line_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_effect_line_get_build_id(AgsPlugin *plugin);
+void ags_effect_line_set_build_id(AgsPlugin *plugin, gchar *build_id);
+
+GList* ags_effect_line_real_add_effect(AgsEffectLine *effect_line,
+ gchar *filename,
+ gchar *effect);
+void ags_effect_line_real_remove_effect(AgsEffectLine *effect_line,
+ guint nth);
+
+/**
+ * SECTION:ags_effect_line
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsEffectLine
+ * @section_id:
+ * @include: ags/X/ags_effect_line.h
+ *
+ * #AgsEffectLine is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsEffectLine.
+ */
+
+enum{
+ ADD_EFFECT,
+ REMOVE_EFFECT,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_CHANNEL,
+};
+
+static gpointer ags_effect_line_parent_class = NULL;
+static guint effect_line_signals[LAST_SIGNAL];
+
+GType
+ags_effect_line_get_type(void)
+{
+ static GType ags_type_effect_line = 0;
+
+ if(!ags_type_effect_line){
+ static const GTypeInfo ags_effect_line_info = {
+ sizeof(AgsEffectLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_effect_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsEffectLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_effect_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_effect_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_effect_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_effect_line = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsEffectLine\0", &ags_effect_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_effect_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_effect_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_effect_line);
+}
+
+void
+ags_effect_line_class_init(AgsEffectLineClass *effect_line)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_effect_line_parent_class = g_type_class_peek_parent(effect_line);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(effect_line);
+
+ gobject->set_property = ags_effect_line_set_property;
+ gobject->get_property = ags_effect_line_get_property;
+
+ /* AgsEffectLineClass */
+ effect_line->add_effect = ags_effect_line_real_add_effect;
+ effect_line->remove_effect = ags_effect_line_real_remove_effect;
+
+ /* signals */
+ /**
+ * AgsEffectLine::add-effect:
+ * @effect_line: the #AgsEffectLine to modify
+ * @effect: the effect's name
+ *
+ * The ::add-effect signal notifies about added effect.
+ */
+ effect_line_signals[ADD_EFFECT] =
+ g_signal_new("add-effect\0",
+ G_TYPE_FROM_CLASS(effect_line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectLineClass, add_effect),
+ NULL, NULL,
+ g_cclosure_user_marshal_POINTER__STRING_STRING,
+ G_TYPE_POINTER, 2,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
+ /**
+ * AgsEffectLine::remove-effect:
+ * @effect_line: the #AgsEffectLine to modify
+ * @nth: the nth effect
+ *
+ * The ::remove-effect signal notifies about removed effect.
+ */
+ effect_line_signals[REMOVE_EFFECT] =
+ g_signal_new("remove-effect\0",
+ G_TYPE_FROM_CLASS(effect_line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectLineClass, remove_effect),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /* properties */
+ /**
+ * AgsEffectLine:channel:
+ *
+ * The start of a bunch of #AgsChannel to visualize.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("channel\0",
+ "assigned channel\0",
+ "The channel it is assigned with\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL,
+ param_spec);
+}
+
+void
+ags_effect_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_effect_line_connect;
+ connectable->disconnect = ags_effect_line_disconnect;
+}
+
+void
+ags_effect_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_version = ags_effect_line_get_version;
+ plugin->set_version = ags_effect_line_set_version;
+ plugin->get_build_id = ags_effect_line_get_build_id;
+ plugin->set_build_id = ags_effect_line_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_effect_line_init(AgsEffectLine *effect_line)
+{
+ effect_line->flags = 0;
+
+ effect_line->name = NULL;
+
+ effect_line->version = AGS_EFFECT_LINE_DEFAULT_VERSION;
+ effect_line->build_id = AGS_EFFECT_LINE_DEFAULT_BUILD_ID;
+
+ effect_line->channel = NULL;
+
+ effect_line->label = g_object_new(GTK_TYPE_LABEL,
+ NULL);
+ gtk_box_pack_start(GTK_BOX(effect_line),
+ GTK_WIDGET(effect_line->label),
+ FALSE, FALSE,
+ 0);
+
+ effect_line->table = gtk_table_new(1, AGS_EFFECT_LINE_COLUMNS_COUNT,
+ TRUE);
+ gtk_box_pack_start(GTK_BOX(effect_line),
+ GTK_WIDGET(effect_line->table),
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_effect_line_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectLine *effect_line;
+
+ effect_line = AGS_EFFECT_LINE(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ {
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_value_get_object(value);
+
+ if(effect_line->channel == channel){
+ return;
+ }
+
+ if(effect_line->channel != NULL){
+ g_object_unref(effect_line->channel);
+ }
+
+ if(channel != NULL){
+ g_object_ref(channel);
+ }
+
+ effect_line->channel = channel;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_line_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectLine *effect_line;
+
+ effect_line = AGS_EFFECT_LINE(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ {
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_line_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_effect_line_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_effect_line_get_name(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_LINE(plugin)->name);
+}
+
+void
+ags_effect_line_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AgsEffectLine *effect_line;
+
+ effect_line = AGS_EFFECT_LINE(plugin);
+
+ effect_line->name = name;
+}
+
+gchar*
+ags_effect_line_get_version(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_LINE(plugin)->version);
+}
+
+void
+ags_effect_line_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AgsEffectLine *effect_line;
+
+ effect_line = AGS_EFFECT_LINE(plugin);
+
+ effect_line->version = version;
+}
+
+gchar*
+ags_effect_line_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_LINE(plugin)->build_id);
+}
+
+void
+ags_effect_line_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AgsEffectLine *effect_line;
+
+ effect_line = AGS_EFFECT_LINE(plugin);
+
+ effect_line->build_id = build_id;
+}
+
+GList*
+ags_effect_line_real_add_effect(AgsEffectLine *effect_line,
+ gchar *filename,
+ gchar *effect)
+{
+ AgsMachine *machine;
+ AgsLineMember *line_member;
+ AgsAddLineMember *add_line_member;
+ GtkAdjustment *adjustment;
+
+ AgsLadspaPlugin *ladspa_plugin;
+
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+
+ GList *list, *list_start;
+ GList *port;
+ GList *task;
+ gdouble step;
+ guint x, y;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ LADSPA_Data lower_bound, upper_bound;
+ unsigned long index;
+ unsigned long i;
+
+ machine = gtk_widget_get_ancestor(effect_line,
+ AGS_TYPE_MACHINE);
+
+ audio_loop = (AgsAudioLoop *) AGS_MAIN(AGS_DEVOUT(machine->audio->devout)->ags_main)->main_loop;
+ task_thread = (AgsTaskThread *) audio_loop->task_thread;
+
+ if(ags_recall_ladpsa_find(effect_line->channel->recall,
+ filename, effect) != NULL){
+ /* return if duplicated */
+ return;
+ }
+
+ index = ags_ladspa_manager_effect_index(filename,
+ effect);
+
+ task = NULL;
+
+ /* load plugin */
+ ags_ladspa_manager_load_file(filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(filename);
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ /* retrieve position within table */
+ x = 0;
+ y = 0;
+ i = 0;
+
+ list_start =
+ list = effect_line->table->children;
+
+ while(list != NULL){
+ if(y <= ((GtkTableChild *) list->data)->top_attach){
+ y = ((GtkTableChild *) list->data)->top_attach + 1;
+ }
+
+ list = list->next;
+ }
+
+ /* add effect to channel */
+ port = ags_channel_add_effect(effect_line->channel,
+ filename,
+ effect);
+
+ /* load ports */
+ if(index != -1 &&
+ plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ plugin_descriptor = ladspa_descriptor(index);
+
+ port_descriptor = plugin_descriptor->PortDescriptors;
+
+ while(port != NULL){
+ if((LADSPA_IS_PORT_CONTROL(port_descriptor[i]) &&
+ (LADSPA_IS_PORT_INPUT(port_descriptor[i]) ||
+ LADSPA_IS_PORT_OUTPUT(port_descriptor[i])))){
+ AgsDial *dial;
+ GtkAdjustment *adjustment;
+
+ if(x == AGS_EFFECT_LINE_COLUMNS_COUNT){
+ x = 0;
+ y++;
+ gtk_table_resize(effect_line->table,
+ y + 1, AGS_EFFECT_LINE_COLUMNS_COUNT);
+ }
+
+ /* add line member */
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ "widget-type\0", AGS_TYPE_DIAL,
+ "widget-label\0", plugin_descriptor->PortNames[i],
+ "plugin-name\0", AGS_PORT(port->data)->plugin_name,
+ "specifier\0", AGS_PORT(port->data)->specifier,
+ "control-port\0", AGS_PORT(port->data)->control_port,
+ NULL);
+ dial = ags_line_member_get_widget(line_member);
+ gtk_widget_set_size_request(dial,
+ 2 * dial->radius + 2 * dial->outline_strength + dial->button_width + 1,
+ 2 * dial->radius + 2 * dial->outline_strength + 1);
+
+ /* add controls of ports and apply range */
+ lower_bound = plugin_descriptor->PortRangeHints[i].LowerBound;
+ upper_bound = plugin_descriptor->PortRangeHints[i].UpperBound;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0);
+ g_object_set(dial,
+ "adjustment", adjustment,
+ NULL);
+
+ if(upper_bound >= 0.0 && lower_bound >= 0.0){
+ step = (upper_bound - lower_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }else if(upper_bound < 0.0 && lower_bound < 0.0){
+ step = -1.0 * (upper_bound + lower_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }else{
+ step = (upper_bound - lower_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }
+
+ gtk_adjustment_set_step_increment(adjustment,
+ step);
+ gtk_adjustment_set_lower(adjustment,
+ lower_bound);
+ gtk_adjustment_set_upper(adjustment,
+ upper_bound);
+ gtk_adjustment_set_value(adjustment,
+ lower_bound);
+
+ /* create task */
+ add_line_member = ags_add_line_member_new(effect_line,
+ line_member,
+ x, y,
+ 1, 1);
+ task = g_list_prepend(task,
+ add_line_member);
+
+ x++;
+ port = port->next;
+ }
+
+ i++;
+ }
+ }
+ }
+
+ /* launch tasks */
+ task = g_list_reverse(task);
+ ags_task_thread_append_tasks(task_thread,
+ task);
+
+ return(port);
+}
+
+GList*
+ags_effect_line_add_effect(AgsEffectLine *effect_line,
+ gchar *filename,
+ gchar *effect)
+{
+ GList *port;
+
+ g_return_val_if_fail(AGS_IS_EFFECT_LINE(effect_line), NULL);
+
+ g_object_ref((GObject *) effect_line);
+ g_signal_emit(G_OBJECT(effect_line),
+ effect_line_signals[ADD_EFFECT], 0,
+ filename,
+ effect,
+ &port);
+ g_object_unref((GObject *) effect_line);
+
+ return(port);
+}
+
+void
+ags_effect_line_real_remove_effect(AgsEffectLine *effect_line,
+ guint nth)
+{
+ GList *control;
+ GList *play_ladspa;
+ GList *port;
+
+ play_ladspa = ags_recall_template_find_type(effect_line->channel->play,
+ AGS_TYPE_RECALL_LADSPA);
+
+ /* destroy controls */
+ port = AGS_RECALL(g_list_nth(play_ladspa,
+ nth)->data)->port;
+
+ while(port != NULL){
+ control = gtk_container_get_children(effect_line->table);
+
+ while(control != NULL){
+ if(AGS_IS_LINE_MEMBER(control->data) &&
+ AGS_LINE_MEMBER(control->data)->port == port->data){
+ gtk_widget_destroy(control->data);
+ break;
+ }
+
+ control = control->next;
+ }
+
+ port = port->next;
+ }
+
+ /* remove recalls */
+ ags_channel_remove_effect(effect_line->channel,
+ nth);
+}
+
+void
+ags_effect_line_remove_effect(AgsEffectLine *effect_line,
+ guint nth)
+{
+ g_return_if_fail(AGS_IS_EFFECT_LINE(effect_line));
+
+ g_object_ref((GObject *) effect_line);
+ g_signal_emit(G_OBJECT(effect_line),
+ effect_line_signals[REMOVE_EFFECT], 0,
+ nth);
+ g_object_unref((GObject *) effect_line);
+}
+
+/**
+ * ags_effect_line_new:
+ * @effect_line: the parent effect_line
+ * @channel: the #AgsChannel to visualize
+ *
+ * Creates an #AgsEffectLine
+ *
+ * Returns: a new #AgsEffectLine
+ *
+ * Since: 0.4
+ */
+AgsEffectLine*
+ags_effect_line_new(AgsChannel *channel)
+{
+ AgsEffectLine *effect_line;
+
+ effect_line = (AgsEffectLine *) g_object_new(AGS_TYPE_EFFECT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(effect_line);
+}
diff --git a/src/ags/X/ags_effect_line.h b/src/ags/X/ags_effect_line.h
new file mode 100644
index 0000000..6a99d5c
--- /dev/null
+++ b/src/ags/X/ags_effect_line.h
@@ -0,0 +1,86 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_LINE_H__
+#define __AGS_EFFECT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_EFFECT_LINE (ags_effect_line_get_type())
+#define AGS_EFFECT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EFFECT_LINE, AgsEffectLine))
+#define AGS_EFFECT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EFFECT_LINE, AgsEffectLineClass))
+#define AGS_IS_EFFECT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EFFECT_LINE))
+#define AGS_IS_EFFECT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EFFECT_LINE))
+#define AGS_EFFECT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EFFECT_LINE, AgsEffectLineClass))
+
+#define AGS_EFFECT_LINE_DEFAULT_VERSION "0.4.3\0"
+#define AGS_EFFECT_LINE_DEFAULT_BUILD_ID "CEST 20-03-2015 08:24\0"
+
+#define AGS_EFFECT_LINE_COLUMNS_COUNT (2)
+
+typedef struct _AgsEffectLine AgsEffectLine;
+typedef struct _AgsEffectLineClass AgsEffectLineClass;
+
+typedef enum{
+ AGS_EFFECT_LINE_CONNECTED = 1,
+}AgsEffectLineFlags;
+
+struct _AgsEffectLine
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ GtkLabel *label;
+
+ GtkTable *table;
+};
+
+struct _AgsEffectLineClass
+{
+ GtkVBoxClass vbox;
+
+ GList* (*add_effect)(AgsEffectLine *effect_line,
+ gchar *filename,
+ gchar *effect);
+ void (*remove_effect)(AgsEffectLine *effect_line,
+ guint nth);
+};
+
+GType ags_effect_line_get_type(void);
+
+GList* ags_effect_line_add_effect(AgsEffectLine *effect_line,
+ gchar *filename,
+ gchar *effect);
+void ags_effect_line_remove_effect(AgsEffectLine *effect_line,
+ guint nth);
+
+AgsEffectLine* ags_effect_line_new(AgsChannel *channel);
+
+#endif /*__AGS_EFFECT_LINE_H__*/
diff --git a/src/ags/X/ags_effect_line_callbacks.c b/src/ags/X/ags_effect_line_callbacks.c
new file mode 100644
index 0000000..5b9890d
--- /dev/null
+++ b/src/ags/X/ags_effect_line_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_line_callbacks.h>
diff --git a/src/ags/X/ags_effect_line_callbacks.h b/src/ags/X/ags_effect_line_callbacks.h
new file mode 100644
index 0000000..8e971fc
--- /dev/null
+++ b/src/ags/X/ags_effect_line_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_LINE_CALLBACKS_H__
+#define __AGS_EFFECT_LINE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_effect_line.h>
+
+#endif /*__AGS_EFFECT_LINE_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_effect_pad.c b/src/ags/X/ags_effect_pad.c
new file mode 100644
index 0000000..3464c44
--- /dev/null
+++ b/src/ags/X/ags_effect_pad.c
@@ -0,0 +1,428 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_pad.h>
+#include <ags/X/ags_effect_pad_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_effect_bridge.h>
+#include <ags/X/ags_effect_line.h>
+
+void ags_effect_pad_class_init(AgsEffectPadClass *effect_pad);
+void ags_effect_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_effect_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_effect_pad_init(AgsEffectPad *effect_pad);
+void ags_effect_pad_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_pad_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_effect_pad_connect(AgsConnectable *connectable);
+void ags_effect_pad_disconnect(AgsConnectable *connectable);
+gchar* ags_effect_pad_get_name(AgsPlugin *plugin);
+void ags_effect_pad_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_effect_pad_get_version(AgsPlugin *plugin);
+void ags_effect_pad_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_effect_pad_get_build_id(AgsPlugin *plugin);
+void ags_effect_pad_set_build_id(AgsPlugin *plugin, gchar *build_id);
+
+void ags_effect_pad_real_resize_lines(AgsEffectPad *effect_pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+/**
+ * SECTION:ags_effect_pad
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsEffectPad
+ * @section_id:
+ * @include: ags/X/ags_effect_pad.h
+ *
+ * #AgsEffectPad is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsEffectPad.
+ */
+
+enum{
+ RESIZE_LINES,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_CHANNEL,
+};
+
+static gpointer ags_effect_pad_parent_class = NULL;
+static guint effect_pad_signals[LAST_SIGNAL];
+
+GType
+ags_effect_pad_get_type(void)
+{
+ static GType ags_type_effect_pad = 0;
+
+ if(!ags_type_effect_pad){
+ static const GTypeInfo ags_effect_pad_info = {
+ sizeof(AgsEffectPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_effect_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsEffectPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_effect_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_effect_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_effect_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_effect_pad = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsEffectPad\0", &ags_effect_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_effect_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_effect_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_effect_pad);
+}
+
+void
+ags_effect_pad_class_init(AgsEffectPadClass *effect_pad)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_effect_pad_parent_class = g_type_class_peek_parent(effect_pad);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(effect_pad);
+
+ gobject->set_property = ags_effect_pad_set_property;
+ gobject->get_property = ags_effect_pad_get_property;
+
+ /* AgsEffectPadClass */
+ effect_pad->resize_lines = ags_effect_pad_real_resize_lines;
+
+ /* properties */
+ /**
+ * AgsEffectPad:channel:
+ *
+ * The start of a bunch of #AgsChannel to visualize.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("channel\0",
+ "assigned channel\0",
+ "The channel it is assigned with\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL,
+ param_spec);
+
+ /**
+ * AgsPad::resize-lines:
+ * @pad: the #AgsPad to resize
+ * @line_type: the channel type
+ * @audio_channels: count of lines
+ * @audio_channels_old: old count of lines
+ *
+ * The ::resize-lines is emitted as count of lines pack is modified.
+ */
+ effect_pad_signals[RESIZE_LINES] =
+ g_signal_new("resize-lines\0",
+ G_TYPE_FROM_CLASS(effect_pad),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsEffectPadClass, resize_lines),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__ULONG_UINT_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_ULONG, G_TYPE_UINT, G_TYPE_UINT);
+}
+
+void
+ags_effect_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_effect_pad_connect;
+ connectable->disconnect = ags_effect_pad_disconnect;
+}
+
+void
+ags_effect_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_version = ags_effect_pad_get_version;
+ plugin->set_version = ags_effect_pad_set_version;
+ plugin->get_build_id = ags_effect_pad_get_build_id;
+ plugin->set_build_id = ags_effect_pad_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_effect_pad_init(AgsEffectPad *effect_pad)
+{
+ effect_pad->flags = 0;
+
+ effect_pad->name = NULL;
+
+ effect_pad->version = AGS_EFFECT_PAD_DEFAULT_VERSION;
+ effect_pad->build_id = AGS_EFFECT_PAD_DEFAULT_BUILD_ID;
+
+ effect_pad->channel = NULL;
+
+ effect_pad->cols = AGS_EFFECT_PAD_COLUMNS_COUNT;
+ effect_pad->table = gtk_table_new(1, AGS_EFFECT_PAD_COLUMNS_COUNT,
+ TRUE);
+ gtk_box_pack_start(GTK_BOX(effect_pad),
+ GTK_WIDGET(effect_pad->table),
+ FALSE, TRUE,
+ 0);
+}
+
+void
+ags_effect_pad_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectPad *effect_pad;
+
+ effect_pad = AGS_EFFECT_PAD(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ {
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_value_get_object(value);
+
+ if(effect_pad->channel == channel){
+ return;
+ }
+
+ if(effect_pad->channel != NULL){
+ g_object_unref(effect_pad->channel);
+ }
+
+ if(channel != NULL){
+ g_object_ref(channel);
+ }
+
+ effect_pad->channel = channel;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_pad_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsEffectPad *effect_pad;
+
+ effect_pad = AGS_EFFECT_PAD(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ {
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_effect_pad_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_effect_pad_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_effect_pad_get_name(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_PAD(plugin)->name);
+}
+
+void
+ags_effect_pad_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AgsEffectPad *effect_pad;
+
+ effect_pad = AGS_EFFECT_PAD(plugin);
+
+ effect_pad->name = name;
+}
+
+gchar*
+ags_effect_pad_get_version(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_PAD(plugin)->version);
+}
+
+void
+ags_effect_pad_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AgsEffectPad *effect_pad;
+
+ effect_pad = AGS_EFFECT_PAD(plugin);
+
+ effect_pad->version = version;
+}
+
+gchar*
+ags_effect_pad_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_EFFECT_PAD(plugin)->build_id);
+}
+
+void
+ags_effect_pad_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AgsEffectPad *effect_pad;
+
+ effect_pad = AGS_EFFECT_PAD(plugin);
+
+ effect_pad->build_id = build_id;
+}
+
+void
+ags_effect_pad_real_resize_lines(AgsEffectPad *effect_pad, GType effect_line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ AgsEffectBridge *effect_bridge;
+ AgsEffectLine *effect_line;
+ AgsChannel *channel;
+ GList *list, *list_next;
+ guint i, j;
+
+ effect_bridge = (AgsEffectBridge *) gtk_widget_get_ancestor((GtkWidget *) effect_pad,
+ AGS_TYPE_EFFECT_BRIDGE);
+
+ if(audio_channels > audio_channels_old){
+ channel = ags_channel_nth(effect_pad->channel,
+ audio_channels_old);
+
+ for(i = audio_channels_old; i < audio_channels;){
+ for(j = audio_channels_old % effect_pad->cols; j < effect_pad->cols && i < audio_channels; j++, i++){
+ effect_line = (AgsEffectLine *) g_object_new(effect_line_type,
+ "channel\0", channel,
+ NULL);
+ gtk_table_attach(effect_pad->table,
+ (GtkWidget *) effect_line,
+ j, j + 1,
+ i / effect_pad->cols, i / effect_pad->cols + 1,
+ FALSE, FALSE,
+ 0, 0);
+
+ channel = channel->next;
+ }
+ }
+ }else{
+ list = gtk_container_get_children(effect_pad->table);
+ list = g_list_nth(list,
+ audio_channels);
+
+ while(list = list->next){
+ list_next = list->next;
+
+ gtk_widget_destroy(list->data);
+
+ list = list_next;
+ }
+ }
+}
+
+void
+ags_effect_pad_resize_lines(AgsEffectPad *effect_pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ g_return_if_fail(AGS_IS_EFFECT_PAD(effect_pad));
+
+ g_object_ref((GObject *) effect_pad);
+ g_signal_emit(G_OBJECT(effect_pad),
+ effect_pad_signals[RESIZE_LINES], 0,
+ line_type,
+ audio_channels, audio_channels_old);
+ g_object_unref((GObject *) effect_pad);
+}
+
+/**
+ * ags_effect_pad_new:
+ * @effect_pad: the parent effect_pad
+ * @channel: the #AgsChannel to visualize
+ *
+ * Creates an #AgsEffectPad
+ *
+ * Returns: a new #AgsEffectPad
+ *
+ * Since: 0.4
+ */
+AgsEffectPad*
+ags_effect_pad_new(AgsChannel *channel)
+{
+ AgsEffectPad *effect_pad;
+
+ effect_pad = (AgsEffectPad *) g_object_new(AGS_TYPE_EFFECT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(effect_pad);
+}
diff --git a/src/ags/X/ags_effect_pad.h b/src/ags/X/ags_effect_pad.h
new file mode 100644
index 0000000..d04ab4d
--- /dev/null
+++ b/src/ags/X/ags_effect_pad.h
@@ -0,0 +1,79 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_PAD_H__
+#define __AGS_EFFECT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_EFFECT_PAD (ags_effect_pad_get_type())
+#define AGS_EFFECT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EFFECT_PAD, AgsEffectPad))
+#define AGS_EFFECT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EFFECT_PAD, AgsEffectPadClass))
+#define AGS_IS_EFFECT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EFFECT_PAD))
+#define AGS_IS_EFFECT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EFFECT_PAD))
+#define AGS_EFFECT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EFFECT_PAD, AgsEffectPadClass))
+
+#define AGS_EFFECT_PAD_DEFAULT_VERSION "0.4.3\0"
+#define AGS_EFFECT_PAD_DEFAULT_BUILD_ID "CEST 20-03-2015 08:24\0"
+
+#define AGS_EFFECT_PAD_COLUMNS_COUNT (2)
+
+typedef struct _AgsEffectPad AgsEffectPad;
+typedef struct _AgsEffectPadClass AgsEffectPadClass;
+
+typedef enum{
+ AGS_EFFECT_PAD_CONNECTED = 1,
+}AgsEffectPadFlags;
+
+struct _AgsEffectPad
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ guint cols;
+ GtkTable *table;
+};
+
+struct _AgsEffectPadClass
+{
+ GtkVBoxClass vbox;
+
+ void (*resize_lines)(AgsEffectPad *effect_pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+};
+
+GType ags_effect_pad_get_type(void);
+
+void ags_effect_pad_resize_lines(AgsEffectPad *effect_pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+AgsEffectPad* ags_effect_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_EFFECT_PAD_H__*/
diff --git a/src/ags/X/ags_effect_pad_callbacks.c b/src/ags/X/ags_effect_pad_callbacks.c
new file mode 100644
index 0000000..8c3a977
--- /dev/null
+++ b/src/ags/X/ags_effect_pad_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_effect_pad_callbacks.h>
diff --git a/src/ags/X/ags_effect_pad_callbacks.h b/src/ags/X/ags_effect_pad_callbacks.h
new file mode 100644
index 0000000..af7c25f
--- /dev/null
+++ b/src/ags/X/ags_effect_pad_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_PAD_CALLBACKS_H__
+#define __AGS_EFFECT_PAD_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_effect_pad.h>
+
+#endif /*__AGS_EFFECT_PAD_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_export_window.c b/src/ags/X/ags_export_window.c
new file mode 100644
index 0000000..5b6d1f0
--- /dev/null
+++ b/src/ags/X/ags_export_window.c
@@ -0,0 +1,497 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_export_window.h>
+#include <ags/X/ags_export_window_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/audio/ags_notation.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_navigation.h>
+
+#include <stdlib.h>
+
+void ags_export_window_class_init(AgsExportWindowClass *export_window);
+void ags_export_window_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_export_window_init(AgsExportWindow *export_window);
+void ags_export_window_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_export_window_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_export_window_finalize(GObject *gobject);
+void ags_export_window_connect(AgsConnectable *connectable);
+void ags_export_window_disconnect(AgsConnectable *connectable);
+void ags_export_window_show(GtkWidget *widget);
+gboolean ags_export_window_delete_event(GtkWidget *widget, GdkEventAny *event);
+
+/**
+ * SECTION:ags_export_window
+ * @short_description: The export dialog
+ * @title: AgsExportWindow
+ * @section_id:
+ * @include: ags/X/ags_export_window.h
+ *
+ * #AgsExportWindow lets you export to audio files. Currently only
+ * WAV supported.
+ */
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+ PROP_MAIN,
+};
+
+static gpointer ags_export_window_parent_class = NULL;
+
+GType
+ags_export_window_get_type()
+{
+ static GType ags_type_export_window = 0;
+
+ if(!ags_type_export_window){
+ static const GTypeInfo ags_export_window_info = {
+ sizeof (AgsExportWindowClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_export_window_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsExportWindow),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_export_window_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_export_window_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_export_window = g_type_register_static(GTK_TYPE_WINDOW,
+ "AgsExportWindow\0", &ags_export_window_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_export_window,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_export_window);
+}
+
+void
+ags_export_window_class_init(AgsExportWindowClass *export_window)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_export_window_parent_class = g_type_class_peek_parent(export_window);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) export_window;
+
+ gobject->set_property = ags_export_window_set_property;
+ gobject->get_property = ags_export_window_get_property;
+
+ gobject->finalize = ags_export_window_finalize;
+
+ /* properties */
+ /**
+ * AgsExportWindow:devout:
+ *
+ * The assigned #AgsDevout acting as default sink.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /**
+ * AgsExportWindow:ags-main:
+ *
+ * The assigned #AgsMain to give control of application.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("ags-main\0",
+ "assigned ags main\0",
+ "The AgsMain it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN,
+ param_spec);
+
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) export_window;
+
+ widget->show = ags_export_window_show;
+ widget->delete_event = ags_export_window_delete_event;
+}
+
+void
+ags_export_window_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_export_window_connect;
+ connectable->disconnect = ags_export_window_disconnect;
+}
+
+void
+ags_export_window_init(AgsExportWindow *export_window)
+{
+ GtkVBox *vbox;
+ GtkHBox *hbox;
+ GtkTable *table;
+ GtkLabel *label;
+ gchar *str;
+ gdouble bpm;
+
+ export_window->flags = 0;
+
+ g_object_set(export_window,
+ "title\0", "export to audio data\0",
+ NULL);
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE,
+ 0);
+ gtk_container_add(GTK_CONTAINER(export_window),
+ GTK_WIDGET(vbox));
+
+ export_window->live_export = gtk_check_button_new_with_label("live export\0");
+ gtk_toggle_button_set_active(export_window->live_export,
+ TRUE);
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(export_window->live_export),
+ FALSE, FALSE,
+ 0);
+
+ table = (GtkTable *) gtk_table_new(5, 2,
+ FALSE);
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(table),
+ FALSE, FALSE,
+ 0);
+
+ /* */
+ label = (GtkLabel *) gtk_label_new("file\0");
+ g_object_set(G_OBJECT(label),
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE,
+ 0);
+ gtk_table_attach(table,
+ GTK_WIDGET(hbox),
+ 1, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ export_window->filename = gtk_entry_new();
+ gtk_entry_set_text(export_window->filename,
+ "out.wav\0");
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(export_window->filename),
+ TRUE, TRUE,
+ 0);
+
+ export_window->file_chooser_button = gtk_button_new_with_label("open\0");
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(export_window->file_chooser_button),
+ TRUE, TRUE,
+ 0);
+
+ /* */
+ label = (GtkLabel *) gtk_label_new("mode\0");
+ g_object_set(G_OBJECT(label),
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ export_window->mode = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_combo_box_text_append_text(export_window->mode,
+ "tact\0");
+ //TODO:JK: uncomment me
+ // gtk_combo_box_text_append_text(export_window->mode,
+ // "time\0");
+ gtk_combo_box_set_active(export_window->mode,
+ 0);
+ gtk_table_attach(table,
+ GTK_WIDGET(export_window->mode),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* */
+ label = (GtkLabel *) gtk_label_new("tact");
+ g_object_set(G_OBJECT(label),
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 2, 3,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ export_window->tact = gtk_spin_button_new_with_range(0.0, AGS_NOTATION_DEFAULT_LENGTH, 0.25);
+ gtk_spin_button_set_digits(export_window->tact,
+ 2);
+ gtk_table_attach(table,
+ GTK_WIDGET(export_window->tact),
+ 1, 2,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("time");
+ g_object_set(G_OBJECT(label),
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 3, 4,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE,
+ 0);
+ gtk_table_attach(table,
+ GTK_WIDGET(hbox),
+ 1, 2,
+ 3, 4,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ bpm = AGS_DEVOUT_DEFAULT_BPM; // AGS_NAVIGATION(AGS_WINDOW(AGS_MAIN(export_window->ags_main)->window)->navigation)->bpm->adjustment->value
+ str = ags_navigation_tact_to_time_string(0.0,
+ bpm);
+ export_window->duration = gtk_label_new(str);
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(export_window->duration),
+ FALSE, FALSE,
+ 0);
+
+ /* */
+ label = (GtkLabel *) gtk_label_new("output format\0");
+ g_object_set(G_OBJECT(label),
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 4, 5,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ export_window->output_format = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_combo_box_text_append_text(export_window->output_format,
+ "WAV\0");
+ gtk_combo_box_set_active(export_window->output_format,
+ 0);
+ gtk_table_attach(table,
+ GTK_WIDGET(export_window->output_format),
+ 1, 2,
+ 4, 5,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE,
+ 0);
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(hbox),
+ FALSE, FALSE,
+ 0);
+
+ export_window->export = (GtkToggleButton *) gtk_toggle_button_new_with_label("export\0");
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(export_window->export),
+ FALSE, FALSE,
+ 0);
+
+}
+
+void
+ags_export_window_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExportWindow *export_window;
+
+ export_window = AGS_EXPORT_WINDOW(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = g_value_get_object(value);
+
+ if(export_window->devout == devout)
+ return;
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ export_window->devout = devout;
+ }
+ break;
+ case PROP_MAIN:
+ {
+ AgsMain *ags_main;
+
+ ags_main = g_value_get_object(value);
+
+ if(export_window->ags_main == ags_main)
+ return;
+
+ if(export_window->ags_main != NULL){
+ g_object_unref(export_window->ags_main);
+ }
+
+ if(ags_main != NULL){
+ g_object_ref(ags_main);
+ }
+
+ export_window->ags_main = ags_main;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_export_window_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExportWindow *export_window;
+
+ export_window = AGS_EXPORT_WINDOW(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ g_value_set_object(value, export_window->devout);
+ break;
+ case PROP_MAIN:
+ g_value_set_object(value, export_window->ags_main);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_export_window_connect(AgsConnectable *connectable)
+{
+ AgsExportWindow *export_window;
+
+ export_window = AGS_EXPORT_WINDOW(connectable);
+
+ g_signal_connect_after(G_OBJECT(export_window->file_chooser_button), "clicked\0",
+ G_CALLBACK(ags_export_window_file_chooser_button_callback), export_window);
+
+ g_signal_connect_after(G_OBJECT(export_window->tact), "value-changed\0",
+ G_CALLBACK(ags_export_window_tact_callback), export_window);
+
+ g_signal_connect_after(G_OBJECT(export_window->export), "clicked\0",
+ G_CALLBACK(ags_export_window_export_callback), export_window);
+}
+
+void
+ags_export_window_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK:
+ /* implement me */
+}
+
+void
+ags_export_window_finalize(GObject *gobject)
+{
+ AgsExportWindow *export_window;
+
+ export_window = (AgsExportWindow *) gobject;
+
+ G_OBJECT_CLASS(ags_export_window_parent_class)->finalize(gobject);
+}
+
+void
+ags_export_window_show(GtkWidget *widget)
+{
+ AgsExportWindow *export_window;
+
+ GTK_WIDGET_CLASS(ags_export_window_parent_class)->show(widget);
+
+ export_window = (AgsExportWindow *) widget;
+}
+
+gboolean
+ags_export_window_delete_event(GtkWidget *widget, GdkEventAny *event)
+{
+ gtk_widget_hide(widget);
+
+ // GTK_WIDGET_CLASS(ags_export_window_parent_class)->delete_event(widget, event);
+
+ return(TRUE);
+}
+
+AgsExportWindow*
+ags_export_window_new()
+{
+ AgsExportWindow *export_window;
+
+ export_window = (AgsExportWindow *) g_object_new(AGS_TYPE_EXPORT_WINDOW, NULL);
+
+ return(export_window);
+}
diff --git a/src/ags/X/ags_export_window.h b/src/ags/X/ags_export_window.h
new file mode 100644
index 0000000..4721688
--- /dev/null
+++ b/src/ags/X/ags_export_window.h
@@ -0,0 +1,73 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EXPORT_WINDOW_H__
+#define __AGS_EXPORT_WINDOW_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_EXPORT_WINDOW (ags_export_window_get_type())
+#define AGS_EXPORT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_WINDOW, AgsExportWindow))
+#define AGS_EXPORT_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPORT_WINDOW, AgsExportWindowClass))
+#define AGS_IS_EXPORT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPORT_WINDOW))
+#define AGS_IS_EXPORT_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPORT_WINDOW))
+#define AGS_EXPORT_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPORT_WINDOW, AgsExportWindowClass))
+
+typedef struct _AgsExportWindow AgsExportWindow;
+typedef struct _AgsExportWindowClass AgsExportWindowClass;
+
+typedef enum{
+ AGS_EXPORT_WINDOW_LIVE_EXPORT = 1,
+}AgsExportWindowFlags;
+
+struct _AgsExportWindow
+{
+ GtkWindow window;
+
+ guint flags;
+
+ GObject *ags_main;
+ AgsDevout *devout;
+
+ GtkCheckButton *live_export;
+
+ GtkEntry *filename;
+ GtkFileChooserButton *file_chooser_button;
+
+ GtkComboBoxText *mode;
+ GtkSpinButton *tact;
+ GtkLabel *duration;
+ GtkComboBoxText *output_format;
+
+ GtkToggleButton *export;
+};
+
+struct _AgsExportWindowClass
+{
+ GtkWindowClass window;
+};
+
+GType ags_export_window_get_type(void);
+
+AgsExportWindow* ags_export_window_new();
+
+#endif /*__AGS_EXPORT_WINDOW_H__*/
diff --git a/src/ags/X/ags_export_window_callbacks.c b/src/ags/X/ags_export_window_callbacks.c
new file mode 100644
index 0000000..af175fb
--- /dev/null
+++ b/src/ags/X/ags_export_window_callbacks.c
@@ -0,0 +1,201 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_export_window_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_export_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/task/ags_export_output.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_navigation.h>
+
+void ags_export_window_stop_callback(AgsThread *thread,
+ AgsExportWindow *export_window);
+
+void
+ags_export_window_file_chooser_button_callback(GtkWidget *file_chooser_button,
+ AgsExportWindow *export_window)
+{
+ GtkFileChooserDialog *file_chooser;
+
+ file_chooser = (GtkFileChooserDialog *) gtk_file_chooser_dialog_new("Export to file ...\0",
+ GTK_WINDOW(export_window),
+ GTK_FILE_CHOOSER_ACTION_SAVE,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ NULL);
+ if(gtk_dialog_run(GTK_DIALOG(file_chooser)) == GTK_RESPONSE_ACCEPT){
+ char *filename;
+
+ filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(file_chooser));
+ gtk_entry_set_text(export_window->filename,
+ filename);
+ }
+
+ gtk_widget_destroy(file_chooser);
+}
+
+void
+ags_export_window_tact_callback(GtkWidget *spin_button,
+ AgsExportWindow *export_window)
+{
+ gdouble bpm;
+
+ bpm = AGS_NAVIGATION(AGS_WINDOW(AGS_MAIN(export_window->ags_main)->window)->navigation)->bpm->adjustment->value;
+
+ gtk_label_set_text(export_window->duration,
+ ags_navigation_tact_to_time_string(gtk_spin_button_get_value(export_window->tact),
+ bpm));
+}
+
+void
+ags_export_window_export_callback(GtkWidget *toggle_button,
+ AgsExportWindow *export_window)
+{
+ AgsAudioLoop *audio_loop;
+ AgsWindow *window;
+ AgsMachine *machine;
+ AgsDevout *devout;
+ GList *machines_start;
+ guint delay, attack;
+ guint tic_counter_incr;
+ gboolean success;
+
+ window = AGS_MAIN(export_window->ags_main)->window;
+ audio_loop = AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop);
+
+ devout = window->devout;
+ delay = AGS_DEVOUT_DEFAULT_DELAY;
+
+ if(devout != NULL){
+ tic_counter_incr = devout->tic_counter + 1;
+
+ attack = devout->attack[((tic_counter_incr > AGS_DEVOUT_DEFAULT_PERIOD) ?
+ 0:
+ tic_counter_incr)];
+ delay = devout->delay[((tic_counter_incr > AGS_DEVOUT_DEFAULT_PERIOD) ?
+ 0:
+ tic_counter_incr)];
+ }
+
+ machines_start = NULL;
+
+ if(gtk_toggle_button_get_active(toggle_button)){
+ AgsExportOutput *export_output;
+ AgsExportThread *export_thread;
+ GList *machines;
+ gchar *filename;
+ gboolean live_performance;
+
+ export_thread = audio_loop->export_thread;
+
+ filename = gtk_entry_get_text(export_window->filename);
+
+ if(filename == NULL ||
+ strlen(filename) == 0){
+ return;
+ }
+
+ live_performance = gtk_toggle_button_get_active(export_window->live_export);
+
+ machines_start =
+ machines = gtk_container_get_children(GTK_CONTAINER(window->machines));
+
+ success = FALSE;
+
+ while(machines != NULL){
+ machine = AGS_MACHINE(machines->data);
+
+ if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) != 0 ||
+ (AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ printf("found machine to play!\n\0");
+
+ ags_machine_set_run(machine,
+ TRUE);
+ success = TRUE;
+ }
+
+ machines = machines->next;
+ }
+
+ /* create start task */
+ if(success){
+ guint tic;
+
+ tic = (gtk_spin_button_get_value(export_window->tact) + 1) * delay;
+
+ export_output = ags_export_output_new(export_thread,
+ window->devout,
+ filename,
+ tic,
+ live_performance);
+ g_signal_connect(export_thread, "stop\0",
+ G_CALLBACK(ags_export_window_stop_callback), export_window);
+
+ /* append AgsStartDevout */
+ ags_task_thread_append_task(AGS_TASK_THREAD(audio_loop->task_thread),
+ export_output);
+
+ ags_navigation_set_seeking_sensitive(window->navigation,
+ FALSE);
+ }
+ }else{
+ GList *machines;
+
+ machines_start =
+ machines = gtk_container_get_children(GTK_CONTAINER(window->machines));
+
+ while(machines != NULL){
+ machine = AGS_MACHINE(machines->data);
+
+ if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) !=0 ||
+ (AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ printf("found machine to stop!\n\0");
+
+ ags_machine_set_run(machine,
+ FALSE);
+
+ success = TRUE;
+ }
+
+ machines = machines->next;
+ }
+
+ if(success){
+ ags_navigation_set_seeking_sensitive(window->navigation,
+ TRUE);
+ }
+ }
+
+ g_list_free(machines_start);
+}
+
+void
+ags_export_window_stop_callback(AgsThread *thread,
+ AgsExportWindow *export_window)
+{
+ gtk_toggle_button_set_active(export_window->export,
+ FALSE);
+}
diff --git a/src/ags/X/ags_export_window_callbacks.h b/src/ags/X/ags_export_window_callbacks.h
new file mode 100644
index 0000000..32da3ba
--- /dev/null
+++ b/src/ags/X/ags_export_window_callbacks.h
@@ -0,0 +1,36 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EXPORT_WINDOW_CALLBACKS_H__
+#define __AGS_EXPORT_WINDOW_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_export_window.h>
+
+void ags_export_window_file_chooser_button_callback(GtkWidget *file_chooser_button,
+ AgsExportWindow *export_window);
+
+void ags_export_window_tact_callback(GtkWidget *spin_button,
+ AgsExportWindow *export_window);
+
+void ags_export_window_export_callback(GtkWidget *toggle_button,
+ AgsExportWindow *export_window);
+
+#endif /*__AGS_EXPORT_WINDOW_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_generic_preferences.c b/src/ags/X/ags_generic_preferences.c
new file mode 100644
index 0000000..60867e3
--- /dev/null
+++ b/src/ags/X/ags_generic_preferences.c
@@ -0,0 +1,254 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_generic_preferences.h>
+#include <ags/X/ags_generic_preferences_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/audio/ags_config.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_preferences.h>
+
+void ags_generic_preferences_class_init(AgsGenericPreferencesClass *generic_preferences);
+void ags_generic_preferences_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_generic_preferences_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_generic_preferences_init(AgsGenericPreferences *generic_preferences);
+void ags_generic_preferences_connect(AgsConnectable *connectable);
+void ags_generic_preferences_disconnect(AgsConnectable *connectable);
+void ags_generic_preferences_set_update(AgsApplicable *applicable, gboolean update);
+void ags_generic_preferences_apply(AgsApplicable *applicable);
+void ags_generic_preferences_reset(AgsApplicable *applicable);
+static void ags_generic_preferences_finalize(GObject *gobject);
+void ags_generic_preferences_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_generic_preferences
+ * @short_description: A composite widget to do generic related preferences
+ * @title: AgsGenericPreferences
+ * @section_id:
+ * @include: ags/X/ags_generic_preferences.h
+ *
+ * #AgsGenericPreferences enables you to make generic related preferences.
+ */
+
+static gpointer ags_generic_preferences_parent_class = NULL;
+
+GType
+ags_generic_preferences_get_type(void)
+{
+ static GType ags_type_generic_preferences = 0;
+
+ if(!ags_type_generic_preferences){
+ static const GTypeInfo ags_generic_preferences_info = {
+ sizeof (AgsGenericPreferencesClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_generic_preferences_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsGenericPreferences),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_generic_preferences_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_generic_preferences_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_generic_preferences_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_generic_preferences = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsGenericPreferences\0", &ags_generic_preferences_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_generic_preferences,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_generic_preferences,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_generic_preferences);
+}
+
+void
+ags_generic_preferences_class_init(AgsGenericPreferencesClass *generic_preferences)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+
+ ags_generic_preferences_parent_class = g_type_class_peek_parent(generic_preferences);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) generic_preferences;
+
+ gobject->finalize = ags_generic_preferences_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) generic_preferences;
+
+ widget->show = ags_generic_preferences_show;
+}
+
+void
+ags_generic_preferences_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_generic_preferences_connect;
+ connectable->disconnect = ags_generic_preferences_disconnect;
+}
+
+void
+ags_generic_preferences_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_generic_preferences_set_update;
+ applicable->apply = ags_generic_preferences_apply;
+ applicable->reset = ags_generic_preferences_reset;
+}
+
+void
+ags_generic_preferences_init(AgsGenericPreferences *generic_preferences)
+{
+ generic_preferences->autosave_thread = (GtkCheckButton *) gtk_check_button_new_with_label("autosave thread\0");
+ gtk_box_pack_start(GTK_BOX(generic_preferences),
+ GTK_WIDGET(generic_preferences->autosave_thread),
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_generic_preferences_connect(AgsConnectable *connectable)
+{
+ AgsGenericPreferences *generic_preferences;
+
+ generic_preferences = AGS_GENERIC_PREFERENCES(connectable);
+
+ // g_signal_connect_after(G_OBJECT(generic_preferences->autosave_thread), "clicked\0",
+ // G_CALLBACK(ags_generic_preferences_autosave_thread_clicked_callback), generic_preferences);
+}
+
+void
+ags_generic_preferences_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_generic_preferences_set_update(AgsApplicable *applicable, gboolean update)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_generic_preferences_apply(AgsApplicable *applicable)
+{
+ AgsPreferences *preferences;
+ AgsGenericPreferences *generic_preferences;
+ AgsConfig *config;
+
+ generic_preferences = AGS_GENERIC_PREFERENCES(applicable);
+
+ preferences = (AgsPreferences *) gtk_widget_get_ancestor(GTK_WIDGET(generic_preferences),
+ AGS_TYPE_PREFERENCES);
+ config = AGS_CONFIG(AGS_MAIN(AGS_WINDOW(preferences->window)->ags_main)->config);
+
+ if(gtk_toggle_button_get_active(generic_preferences->autosave_thread)){
+ ags_config_set(config,
+ AGS_CONFIG_GENERIC,
+ "autosave-thread\0",
+ "true\0");
+ }else{
+ ags_config_set(config,
+ AGS_CONFIG_GENERIC,
+ "autosave-thread\0",
+ "false\0");
+ }
+}
+
+void
+ags_generic_preferences_reset(AgsApplicable *applicable)
+{
+ AgsPreferences *preferences;
+ AgsGenericPreferences *generic_preferences;
+ AgsConfig *config;
+
+ generic_preferences = AGS_GENERIC_PREFERENCES(applicable);
+
+ preferences = (AgsPreferences *) gtk_widget_get_ancestor(GTK_WIDGET(generic_preferences),
+ AGS_TYPE_PREFERENCES);
+ config = AGS_CONFIG(AGS_MAIN(AGS_WINDOW(preferences->window)->ags_main)->config);
+
+ gtk_toggle_button_set_active(generic_preferences->autosave_thread,
+ ((!strncmp(ags_config_get(config,
+ AGS_CONFIG_GENERIC,
+ "autosave-thread\0"),
+ "true\0",
+ 5)) ? TRUE: FALSE));
+}
+
+static void
+ags_generic_preferences_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_generic_preferences_show(GtkWidget *widget)
+{
+ AgsGenericPreferences *generic_preferences;
+ pthread_t thread;
+
+ generic_preferences = AGS_GENERIC_PREFERENCES(widget);
+
+ GTK_WIDGET_CLASS(ags_generic_preferences_parent_class)->show(widget);
+}
+
+/**
+ * ags_generic_preferences_new:
+ *
+ * Creates an #AgsGenericPreferences
+ *
+ * Returns: a new #AgsGenericPreferences
+ *
+ * Since: 0.4
+ */
+AgsGenericPreferences*
+ags_generic_preferences_new()
+{
+ AgsGenericPreferences *generic_preferences;
+
+ generic_preferences = (AgsGenericPreferences *) g_object_new(AGS_TYPE_GENERIC_PREFERENCES,
+ NULL);
+
+ return(generic_preferences);
+}
diff --git a/src/ags/X/ags_generic_preferences.h b/src/ags/X/ags_generic_preferences.h
new file mode 100644
index 0000000..8eb041a
--- /dev/null
+++ b/src/ags/X/ags_generic_preferences.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_GENERIC_PREFERENCES_H__
+#define __AGS_GENERIC_PREFERENCES_H__
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_GENERIC_PREFERENCES (ags_generic_preferences_get_type())
+#define AGS_GENERIC_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GENERIC_PREFERENCES, AgsGenericPreferences))
+#define AGS_GENERIC_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_GENERIC_PREFERENCES, AgsGenericPreferencesClass))
+#define AGS_IS_GENERIC_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_GENERIC_PREFERENCES))
+#define AGS_IS_GENERIC_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_GENERIC_PREFERENCES))
+#define AGS_GENERIC_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_GENERIC_PREFERENCES, AgsGenericPreferencesClass))
+
+typedef struct _AgsGenericPreferences AgsGenericPreferences;
+typedef struct _AgsGenericPreferencesClass AgsGenericPreferencesClass;
+
+struct _AgsGenericPreferences
+{
+ GtkVBox vbox;
+
+ GtkCheckButton *autosave_thread;
+
+ GtkComboBox *audio_output_module;
+};
+
+struct _AgsGenericPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_generic_preferences_get_type(void);
+
+AgsGenericPreferences* ags_generic_preferences_new();
+
+#endif /*__AGS_GENERIC_PREFERENCES_H__*/
diff --git a/src/ags/X/ags_generic_preferences_callbacks.c b/src/ags/X/ags_generic_preferences_callbacks.c
new file mode 100644
index 0000000..1ae637c
--- /dev/null
+++ b/src/ags/X/ags_generic_preferences_callbacks.c
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_generic_preferences_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_thread-posix.h>
+#include <ags/thread/ags_autosave_thread.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_preferences_callbacks.h>
+
+void
+ags_generic_preferences_autosave_thread_clicked_callback(GtkWidget *check_button,
+ AgsGenericPreferences *generic_preferences)
+{
+ AgsMain *ags_main;
+ AgsAutosaveThread *autosave_thread;
+ AgsPreferences *preferences;
+
+ preferences = (AgsPreferences *) gtk_widget_get_ancestor(GTK_WIDGET(generic_preferences),
+ AGS_TYPE_PREFERENCES);
+ ags_main = AGS_WINDOW(preferences->window)->ags_main;
+ autosave_thread = ags_main->autosave_thread;
+
+ if(gtk_toggle_button_get_active(check_button)){
+ ags_thread_start(autosave_thread);
+ }else{
+ ags_thread_stop(autosave_thread);
+ }
+}
diff --git a/src/ags/X/ags_generic_preferences_callbacks.h b/src/ags/X/ags_generic_preferences_callbacks.h
new file mode 100644
index 0000000..5ec1189
--- /dev/null
+++ b/src/ags/X/ags_generic_preferences_callbacks.h
@@ -0,0 +1,29 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_GENERIC_PREFERENCES_CALLBACKS_H__
+#define __AGS_GENERIC_PREFERENCES_CALLBACKS_H__
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_generic_preferences.h>
+
+void ags_generic_preferences_autosave_thread_clicked_callback(GtkWidget *check_button,
+ AgsGenericPreferences *generic_preferences);
+
+#endif /*__AGS_GENERIC_PREFERENCES_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_ladspa_browser.c b/src/ags/X/ags_ladspa_browser.c
new file mode 100644
index 0000000..d6a241e
--- /dev/null
+++ b/src/ags/X/ags_ladspa_browser.c
@@ -0,0 +1,475 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_ladspa_browser.h>
+#include <ags/X/ags_ladspa_browser_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <ladspa.h>
+
+void ags_ladspa_browser_class_init(AgsLadspaBrowserClass *ladspa_browser);
+void ags_ladspa_browser_init(AgsLadspaBrowser *ladspa_browser);
+void ags_ladspa_browser_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ladspa_browser_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_ladspa_browser_connect(AgsConnectable *connectable);
+void ags_ladspa_browser_disconnect(AgsConnectable *connectable);
+void ags_ladspa_browser_set_update(AgsApplicable *applicable, gboolean update);
+void ags_ladspa_browser_apply(AgsApplicable *applicable);
+void ags_ladspa_browser_reset(AgsApplicable *applicable);
+
+/**
+ * SECTION:ags_ladspa_browser
+ * @short_description: A composite to select ladspa effect.
+ * @title: AgsLadspaBrowser
+ * @section_id:
+ * @include: ags/X/ags_ladspa_browser.h
+ *
+ * #AgsLadspaBrowser is a composite widget to select ladspa plugin and the desired
+ * effect.
+ */
+
+GType
+ags_ladspa_browser_get_type(void)
+{
+ static GType ags_type_ladspa_browser = 0;
+
+ if(!ags_type_ladspa_browser){
+ static const GTypeInfo ags_ladspa_browser_info = {
+ sizeof (AgsLadspaBrowserClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ladspa_browser_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLadspaBrowser),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ladspa_browser_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ladspa_browser_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_ladspa_browser_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ladspa_browser = g_type_register_static(GTK_TYPE_DIALOG,
+ "AgsLadspaBrowser\0", &ags_ladspa_browser_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ladspa_browser,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ladspa_browser,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_ladspa_browser);
+}
+
+void
+ags_ladspa_browser_class_init(AgsLadspaBrowserClass *ladspa_browser)
+{
+ /* empty */
+}
+
+void
+ags_ladspa_browser_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_ladspa_browser_connect;
+ connectable->disconnect = ags_ladspa_browser_disconnect;
+}
+
+void
+ags_ladspa_browser_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_ladspa_browser_set_update;
+ applicable->apply = ags_ladspa_browser_apply;
+ applicable->reset = ags_ladspa_browser_reset;
+}
+
+void
+ags_ladspa_browser_init(AgsLadspaBrowser *ladspa_browser)
+{
+ GtkVBox *vbox;
+ GtkTable *table;
+ GtkComboBoxText *combo_box;
+ GtkLabel *label;
+ GList *list;
+
+ gchar **filenames, **filenames_start;
+
+ ladspa_browser->parent = NULL;
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add((GtkContainer *) gtk_dialog_get_content_area(ladspa_browser),
+ GTK_WIDGET(vbox));
+
+ /* plugin */
+ ladspa_browser->plugin = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(ladspa_browser->plugin),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) gtk_label_new("filename: \0");
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->plugin),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ combo_box = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->plugin),
+ GTK_WIDGET(combo_box),
+ FALSE, FALSE,
+ 0);
+
+ ladspa_browser->path = NULL;
+
+ ags_ladspa_manager_load_default_directory();
+ filenames =
+ filenames_start = ags_ladspa_manager_get_filenames();
+
+ while(*filenames != NULL){
+ gtk_combo_box_text_append_text(combo_box,
+ *filenames);
+
+ filenames++;
+ }
+
+ free(filenames_start);
+
+ label = (GtkLabel *) gtk_label_new("effect: \0");
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->plugin),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ combo_box = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->plugin),
+ GTK_WIDGET(combo_box),
+ FALSE, FALSE,
+ 0);
+
+ /* description */
+ ladspa_browser->description = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(ladspa_browser->description),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "xalign\0", 0.0,
+ "label\0", "Label: \0",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->description),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "xalign\0", 0.0,
+ "label\0", "Maker: \0",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->description),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "xalign\0", 0.0,
+ "label\0", "Copyright: \0",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->description),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "xalign\0", 0.0,
+ "label\0", "Ports: \0",
+ NULL);
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->description),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ table = gtk_table_new(256, 2,
+ FALSE);
+ gtk_box_pack_start(GTK_BOX(ladspa_browser->description),
+ GTK_WIDGET(table),
+ FALSE, FALSE,
+ 0);
+
+ /* action area */
+ gtk_dialog_add_buttons(ladspa_browser,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
+ NULL);
+
+ list = gtk_container_get_children(gtk_dialog_get_action_area(ladspa_browser));
+ ladspa_browser->ok = GTK_BUTTON(list->data);
+ ladspa_browser->cancel = GTK_BUTTON(list->next->data);
+ g_list_free(list);
+}
+
+void
+ags_ladspa_browser_connect(AgsConnectable *connectable)
+{
+ AgsLadspaBrowser *ladspa_browser;
+ GList *list, *list_start;
+
+ ladspa_browser = AGS_LADSPA_BROWSER(connectable);
+
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->plugin));
+ list = list->next;
+
+ g_signal_connect_after(G_OBJECT(list->data), "changed\0",
+ G_CALLBACK(ags_ladspa_browser_plugin_filename_callback), ladspa_browser);
+
+ list = list->next->next;
+ g_signal_connect_after(G_OBJECT(list->data), "changed\0",
+ G_CALLBACK(ags_ladspa_browser_plugin_effect_callback), ladspa_browser);
+
+ g_list_free(list_start);
+
+ /* AgsLadspaBrowser buttons */
+ g_signal_connect((GObject *) ladspa_browser->ok, "clicked\0",
+ G_CALLBACK(ags_ladspa_browser_ok_callback), (gpointer) ladspa_browser);
+
+ g_signal_connect((GObject *) ladspa_browser->cancel, "clicked\0",
+ G_CALLBACK(ags_ladspa_browser_cancel_callback), (gpointer) ladspa_browser);
+}
+
+void
+ags_ladspa_browser_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_ladspa_browser_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsLadspaBrowser *ladspa_browser;
+
+ ladspa_browser = AGS_LADSPA_BROWSER(applicable);
+
+ /* empty */
+}
+
+void
+ags_ladspa_browser_apply(AgsApplicable *applicable)
+{
+ AgsLadspaBrowser *ladspa_browser;
+ GtkComboBoxText *filename, *effect;
+
+ ladspa_browser = AGS_LADSPA_BROWSER(applicable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_ladspa_browser_reset(AgsApplicable *applicable)
+{
+ AgsLadspaBrowser *ladspa_browser;
+ GtkComboBoxText *filename;
+ GList *list;
+
+ ladspa_browser = AGS_LADSPA_BROWSER(applicable);
+
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->plugin));
+
+ filename = GTK_COMBO_BOX(list->next->data);
+ g_list_free(list);
+
+ gtk_combo_box_set_active(filename,
+ 0);
+}
+
+/**
+ * ags_ladspa_browser_get_plugin_filename:
+ *
+ * Retrieve selected ladspa plugin filename.
+ *
+ * Returns: the active ladspa filename
+ *
+ * Since: 0.4
+ */
+gchar*
+ags_ladspa_browser_get_plugin_filename(AgsLadspaBrowser *ladspa_browser)
+{
+ GtkComboBoxText *filename;
+ GList *list;
+
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->plugin));
+ filename = GTK_COMBO_BOX_TEXT(list->next->data);
+ g_list_free(list);
+
+ return(gtk_combo_box_text_get_active_text(filename));
+}
+
+/**
+ * ags_ladspa_browser_get_plugin_effect:
+ *
+ * Retrieve selected ladspa effect.
+ *
+ * Returns: the active ladspa effect
+ *
+ * Since: 0.4
+ */
+gchar*
+ags_ladspa_browser_get_plugin_effect(AgsLadspaBrowser *ladspa_browser)
+{
+ GtkComboBoxText *filename, *effect;
+ AgsLadspaPlugin *ladspa_plugin;
+ GList *list, *list_start;
+ gchar *effect_name;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ unsigned long index;
+
+ /* retrieve filename and effect */
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->plugin));
+
+ filename = GTK_COMBO_BOX(list->next->data);
+ effect = GTK_COMBO_BOX(list->next->next->next->data);
+
+ g_list_free(list_start);
+
+ /* update description */
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->description));
+
+ ags_ladspa_manager_load_file(gtk_combo_box_text_get_active_text(filename));
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(gtk_combo_box_text_get_active_text(filename));
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ effect_name = NULL;
+
+ index = (unsigned long) gtk_combo_box_get_active(effect);
+
+ if(index != -1 &&
+ plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ plugin_descriptor = ladspa_descriptor(index);
+
+ effect_name = plugin_descriptor->Name;
+ }
+ }
+
+ return(effect_name);
+}
+
+/**
+ * ags_ladspa_browser_combo_box_controls_new:
+ *
+ * Creates a #GtkComboBox containing suitable widgets as controls.
+ *
+ * Returns: a new #GtkComboBox
+ *
+ * Since: 0.4
+ */
+GtkWidget*
+ags_ladspa_browser_combo_box_controls_new()
+{
+ GtkComboBoxText *combo_box;
+
+ combo_box = (GtkComboBoxText *) gtk_combo_box_text_new();
+
+ gtk_combo_box_text_append_text(combo_box,
+ "spin button\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "dial\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "vertical scale\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "horizontal scale\0");
+
+ gtk_combo_box_set_active(combo_box,
+ 1);
+
+ return(combo_box);
+}
+
+GtkWidget*
+ags_ladspa_browser_preview_new()
+{
+ GtkWidget *preview;
+
+ preview = NULL;
+
+ //TODO:JK: implement me
+
+ return(preview);
+}
+
+/**
+ * ags_ladspa_browser_new:
+ *
+ * Creates an #AgsLadspaBrowser
+ *
+ * Returns: a new #AgsLadspaBrowser
+ *
+ * Since: 0.4
+ */
+AgsLadspaBrowser*
+ags_ladspa_browser_new(GtkWidget *parent)
+{
+ AgsLadspaBrowser *ladspa_browser;
+
+ ladspa_browser = (AgsLadspaBrowser *) g_object_new(AGS_TYPE_LADSPA_BROWSER,
+ NULL);
+
+ ladspa_browser->parent = parent;
+
+ return(ladspa_browser);
+}
diff --git a/src/ags/X/ags_ladspa_browser.h b/src/ags/X/ags_ladspa_browser.h
new file mode 100644
index 0000000..4e8dd8e
--- /dev/null
+++ b/src/ags/X/ags_ladspa_browser.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LADSPA_BROWSER_H__
+#define __AGS_LADSPA_BROWSER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_LADSPA_BROWSER (ags_ladspa_browser_get_type())
+#define AGS_LADSPA_BROWSER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_LADSPA_BROWSER, AgsLadspaBrowser))
+#define AGS_LADSPA_BROWSER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LADSPA_BROWSER, AgsLadspaBrowserClass))
+#define AGS_IS_LADSPA_BROWSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LADSPA_BROWSER))
+#define AGS_IS_LADSPA_BROWSER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LADSPA_BROWSER))
+#define AGS_LADSPA_BROWSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LADSPA_BROWSER, AgsLadspaBrowserClass))
+
+typedef struct _AgsLadspaBrowser AgsLadspaBrowser;
+typedef struct _AgsLadspaBrowserClass AgsLadspaBrowserClass;
+
+struct _AgsLadspaBrowser
+{
+ GtkDialog dialog;
+
+ GtkWidget *parent;
+
+ gchar *path;
+
+ GtkHBox *plugin;
+ GtkVBox *description;
+
+ GtkWidget *preview;
+
+ GtkButton *apply;
+ GtkButton *ok;
+ GtkButton *cancel;
+};
+
+struct _AgsLadspaBrowserClass
+{
+ GtkDialogClass dialog;
+};
+
+GType ags_ladspa_browser_get_type(void);
+
+gchar* ags_ladspa_browser_get_plugin_filename(AgsLadspaBrowser *ladspa_browser);
+gchar* ags_ladspa_browser_get_plugin_effect(AgsLadspaBrowser *ladspa_browser);
+
+GtkWidget* ags_ladspa_browser_combo_box_controls_new();
+GtkWidget* ags_ladspa_browser_preview_new();
+AgsLadspaBrowser* ags_ladspa_browser_new(GtkWidget *parent);
+
+#endif /*__AGS_LADSPA_BROWSER_H__*/
diff --git a/src/ags/X/ags_ladspa_browser_callbacks.c b/src/ags/X/ags_ladspa_browser_callbacks.c
new file mode 100644
index 0000000..306ac20
--- /dev/null
+++ b/src/ags/X/ags_ladspa_browser_callbacks.c
@@ -0,0 +1,267 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_ladspa_browser_callbacks.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/lib/ags_combo_box_text.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <ladspa.h>
+
+void
+ags_ladspa_browser_plugin_filename_callback(GtkComboBoxText *combo_box,
+ AgsLadspaBrowser *ladspa_browser)
+{
+ GtkComboBoxText *filename, *effect;
+ AgsLadspaPlugin *ladspa_plugin;
+ GList *list;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->plugin));
+
+ filename = GTK_COMBO_BOX(list->next->data);
+ effect = GTK_COMBO_BOX(list->next->next->next->data);
+
+ ags_combo_box_text_remove_all(effect);
+
+ ags_ladspa_manager_load_file(gtk_combo_box_text_get_active_text(filename));
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(gtk_combo_box_text_get_active_text(filename));
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ if(plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ unsigned long index;
+
+ /* We've successfully found a ladspa_descriptor function. Pass
+ it to the callback function. */
+
+ for(index = 0; (plugin_descriptor = ladspa_descriptor(index)) != NULL; index++){
+ gtk_combo_box_text_append_text(effect,
+ g_strdup_printf("%s:%lu\0", plugin_descriptor->Name, plugin_descriptor->UniqueID));
+ }
+ }
+ }
+
+ gtk_combo_box_set_active(effect,
+ 0);
+}
+
+void
+ags_ladspa_browser_plugin_effect_callback(GtkComboBoxText *combo_box,
+ AgsLadspaBrowser *ladspa_browser)
+{
+ GtkTable *table;
+ GtkComboBoxText *filename, *effect;
+ GtkLabel *label;
+ AgsLadspaPlugin *ladspa_plugin;
+ GList *list, *list_start, *child, *child_start;
+ gchar *str, *tmp;
+ guint port_count;
+ guint y;
+ unsigned long i;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ unsigned long index;
+
+ /* retrieve filename and effect */
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->plugin));
+
+ filename = GTK_COMBO_BOX(list->next->data);
+ effect = GTK_COMBO_BOX(list->next->next->next->data);
+
+ g_list_free(list_start);
+
+ /* update description */
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(ladspa_browser->description));
+
+ ags_ladspa_manager_load_file(gtk_combo_box_text_get_active_text(filename));
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(gtk_combo_box_text_get_active_text(filename));
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ index = (unsigned long) gtk_combo_box_get_active(effect);
+
+ if(index != -1 &&
+ plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ plugin_descriptor = ladspa_descriptor(index);
+
+ port_descriptor = plugin_descriptor->PortDescriptors;
+
+ /* update ui - reading plugin file */
+ label = GTK_LABEL(list->data);
+ gtk_label_set_text(label,
+ g_strconcat("Label: \0",
+ plugin_descriptor->Label,
+ NULL));
+
+ list = list->next;
+ label = GTK_LABEL(list->data);
+ gtk_label_set_text(label,
+ g_strconcat("Maker: \0",
+ plugin_descriptor->Maker,
+ NULL));
+
+ list = list->next;
+ label = GTK_LABEL(list->data);
+ gtk_label_set_text(label,
+ g_strconcat("Copyright: \0",
+ plugin_descriptor->Copyright,
+ NULL));
+
+ port_count = plugin_descriptor->PortCount;
+
+ list = list->next;
+ label = GTK_LABEL(list->data);
+
+ str = g_strdup("Ports: \0");
+ gtk_label_set_text(label,
+ str);
+
+ list = list->next;
+ table = GTK_TABLE(list->data);
+
+ /* update ui - port information */
+ child_start =
+ child = gtk_container_get_children(GTK_CONTAINER(table));
+
+ while(child != NULL){
+ gtk_widget_destroy(GTK_WIDGET(child->data));
+
+ child = child->next;
+ }
+
+ g_list_free(child_start);
+
+ for(i = 0, y = 0; i < port_count; i++){
+ if(!(LADSPA_IS_PORT_CONTROL(port_descriptor[i]) &&
+ (LADSPA_IS_PORT_INPUT(port_descriptor[i]) ||
+ LADSPA_IS_PORT_OUTPUT(port_descriptor[i])))){
+ continue;
+ }
+
+ str = g_strdup(plugin_descriptor->PortNames[i]);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "xalign\0", 0.0,
+ "label\0", str,
+ NULL);
+ gtk_table_attach_defaults(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ y, y + 1);
+
+ gtk_table_attach_defaults(table,
+ GTK_WIDGET(ags_ladspa_browser_combo_box_controls_new()),
+ 1, 2,
+ y, y + 1);
+
+ y++;
+ }
+
+ gtk_widget_show_all(table);
+ }
+ }else{
+ /* update ui - empty */
+ label = GTK_LABEL(list->data);
+ gtk_label_set_text(label,
+ "Label: \0");
+
+ list = list->next;
+ label = GTK_LABEL(list->data);
+ gtk_label_set_text(label,
+ "Maker: \0");
+
+ list = list->next;
+ label = GTK_LABEL(list->data);
+ gtk_label_set_text(label,
+ "Copyright: \0");
+
+ list = list->next;
+ label = GTK_LABEL(list->data);
+ gtk_label_set_text(label,
+ "Ports: \0");
+
+ list = list->next;
+ table = GTK_TABLE(list->data);
+
+ /* update ui - no ports */
+ child_start =
+ child = gtk_container_get_children(GTK_CONTAINER(table));
+
+ while(child != NULL){
+ gtk_widget_destroy(GTK_WIDGET(child->data));
+
+ child = child->next;
+ }
+
+ g_list_free(child_start);
+ }
+
+ g_list_free(list_start);
+}
+
+void
+ags_ladspa_browser_preview_close_callback(GtkWidget *preview,
+ AgsLadspaBrowser *ladspa_browser)
+{
+ ladspa_browser->preview = NULL;
+ gtk_widget_destroy(preview);
+}
+
+int
+ags_ladspa_browser_ok_callback(GtkWidget *widget, AgsLadspaBrowser *ladspa_browser)
+{
+ gtk_widget_hide((GtkWidget *) ladspa_browser);
+
+ return(0);
+}
+
+int
+ags_ladspa_browser_cancel_callback(GtkWidget *widget, AgsLadspaBrowser *ladspa_browser)
+{
+ gtk_widget_hide((GtkWidget *) ladspa_browser);
+
+ return(0);
+}
+
diff --git a/src/ags/X/ags_ladspa_browser_callbacks.h b/src/ags/X/ags_ladspa_browser_callbacks.h
new file mode 100644
index 0000000..ad72ed1
--- /dev/null
+++ b/src/ags/X/ags_ladspa_browser_callbacks.h
@@ -0,0 +1,39 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LADSPA_BROWSER_CALLBACKS_H__
+#define __AGS_LADSPA_BROWSER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_ladspa_browser.h>
+
+void ags_ladspa_browser_plugin_filename_callback(GtkComboBoxText *combo_box,
+ AgsLadspaBrowser *ladspa_browser);
+void ags_ladspa_browser_plugin_effect_callback(GtkComboBoxText *combo_box,
+ AgsLadspaBrowser *ladspa_browser);
+
+void ags_ladspa_browser_preview_close_callback(GtkWidget *preview,
+ AgsLadspaBrowser *ladspa_browser);
+
+int ags_ladspa_browser_ok_callback(GtkWidget *widget, AgsLadspaBrowser *ladspa_browser);
+int ags_ladspa_browser_cancel_callback(GtkWidget *widget, AgsLadspaBrowser *ladspa_browser);
+
+#endif /*__AGS_LADSPA_BROWSER_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_line.c b/src/ags/X/ags_line.c
new file mode 100644
index 0000000..d29bde3
--- /dev/null
+++ b/src/ags/X/ags_line.c
@@ -0,0 +1,980 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_line_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_ladspa.h>
+
+#include <ags/audio/recall/ags_peak_channel_run.h>
+
+#include <ags/audio/task/ags_add_line_member.h>
+
+#include <ags/widget/ags_dial.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line_member.h>
+
+void ags_line_class_init(AgsLineClass *line);
+void ags_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_line_init(AgsLine *line);
+void ags_line_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_line_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_line_connect(AgsConnectable *connectable);
+void ags_line_disconnect(AgsConnectable *connectable);
+gchar* ags_line_get_version(AgsPlugin *plugin);
+void ags_line_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_line_get_build_id(AgsPlugin *plugin);
+void ags_line_set_build_id(AgsPlugin *plugin, gchar *build_id);
+
+GList* ags_line_real_add_effect(AgsLine *line,
+ gchar *filename,
+ gchar *effect);
+void ags_line_real_remove_effect(AgsLine *line,
+ guint nth);
+void ags_line_real_set_channel(AgsLine *line, AgsChannel *channel);
+void ags_line_real_map_recall(AgsLine *line,
+ guint output_pad_start);
+GList* ags_line_real_find_port(AgsLine *line);
+
+/**
+ * SECTION:ags_line
+ * @short_description: A composite widget to visualize #AgsChannel
+ * @title: AgsLine
+ * @section_id:
+ * @include: ags/X/ags_line.h
+ *
+ * #AgsLine is a composite widget to visualize #AgsChannel. It should be
+ * packed by an #AgsPad. It may contain #AgsLineMember to modify ports of
+ * #AgsRecall.
+ */
+
+enum{
+ ADD_EFFECT,
+ REMOVE_EFFECT,
+ SET_CHANNEL,
+ GROUP_CHANGED,
+ MAP_RECALL,
+ FIND_PORT,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_PAD,
+ PROP_CHANNEL,
+};
+
+static gpointer ags_line_parent_class = NULL;
+static guint line_signals[LAST_SIGNAL];
+
+GType
+ags_line_get_type(void)
+{
+ static GType ags_type_line = 0;
+
+ if(!ags_type_line){
+ static const GTypeInfo ags_line_info = {
+ sizeof(AgsLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_line = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsLine\0", &ags_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_line);
+}
+
+void
+ags_line_class_init(AgsLineClass *line)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_line_parent_class = g_type_class_peek_parent(line);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(line);
+
+ gobject->set_property = ags_line_set_property;
+ gobject->get_property = ags_line_get_property;
+
+ /* properties */
+ /**
+ * AgsLine:pad:
+ *
+ * The assigned #AgsPad.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("pad\0",
+ "parent pad\0",
+ "The pad which is its parent\0",
+ AGS_TYPE_PAD,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PAD,
+ param_spec);
+
+ /**
+ * AgsLine:channel:
+ *
+ * The assigned #AgsChannel to visualize.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("channel\0",
+ "assigned channel\0",
+ "The channel it is assigned with\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL,
+ param_spec);
+
+ /* AgsLineClass */
+ line->set_channel = ags_line_real_set_channel;
+
+ line->add_effect = ags_line_real_add_effect;
+ line->remove_effect = ags_line_real_remove_effect;
+ line->group_changed = NULL;
+ line->map_recall = ags_line_real_map_recall;
+ line->find_port = ags_line_real_find_port;
+
+ /* signals */
+ /**
+ * AgsLine::add-effect:
+ * @line: the #AgsLine to modify
+ * @effect: the effect's name
+ *
+ * The ::add-effect signal notifies about added effect.
+ */
+ line_signals[ADD_EFFECT] =
+ g_signal_new("add-effect\0",
+ G_TYPE_FROM_CLASS(line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsLineClass, add_effect),
+ NULL, NULL,
+ g_cclosure_user_marshal_POINTER__STRING_STRING,
+ G_TYPE_POINTER, 2,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
+ /**
+ * AgsLine::remove-effect:
+ * @line: the #AgsLine to modify
+ * @nth: the nth effect
+ *
+ * The ::remove-effect signal notifies about removed effect.
+ */
+ line_signals[REMOVE_EFFECT] =
+ g_signal_new("remove-effect\0",
+ G_TYPE_FROM_CLASS(line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsLineClass, remove_effect),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsLine::set-channel:
+ * @line: the #AgsLine to modify
+ * @channel: the #AgsChannel to set
+ *
+ * The ::set-channel signal notifies about changed channel.
+ */
+ line_signals[SET_CHANNEL] =
+ g_signal_new("set-channel\0",
+ G_TYPE_FROM_CLASS(line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsLineClass, set_channel),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+
+ /**
+ * AgsLine::group-changed:
+ * @line: the object group changed
+ *
+ * The ::group-changed signal notifies about changed grouping. This
+ * normally happens as toggling group button in #AgsPad or #AgsLine.
+ */
+ line_signals[GROUP_CHANGED] =
+ g_signal_new("group-changed\0",
+ G_TYPE_FROM_CLASS(line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsLineClass, group_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsLine::map-recall:
+ * @line: the #AgsLine
+ *
+ * The ::map-recall as recalls should be mapped.
+ */
+ line_signals[MAP_RECALL] =
+ g_signal_new("map-recall\0",
+ G_TYPE_FROM_CLASS(line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsLineClass, map_recall),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsLine::find-port:
+ * @line: the #AgsLine
+ * Returns: a #GList with associated ports
+ *
+ * The ::find-port retrieves all associated ports.
+ */
+ line_signals[FIND_PORT] =
+ g_signal_new("find-port\0",
+ G_TYPE_FROM_CLASS(line),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsLineClass, find_port),
+ NULL, NULL,
+ g_cclosure_user_marshal_POINTER__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_line_connect;
+ connectable->disconnect = ags_line_disconnect;
+}
+
+void
+ags_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_version = ags_line_get_version;
+ plugin->set_version = ags_line_set_version;
+ plugin->get_build_id = ags_line_get_build_id;
+ plugin->set_build_id = ags_line_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_line_init(AgsLine *line)
+{
+ g_signal_connect_after((GObject *) line, "parent_set\0",
+ G_CALLBACK(ags_line_parent_set_callback), (gpointer) line);
+
+ line->flags = 0;
+
+ line->version = AGS_VERSION;
+ line->build_id = AGS_BUILD_ID;
+
+ line->channel = NULL;
+
+ line->pad = NULL;
+
+ line->label = (GtkLabel *) gtk_label_new(NULL);
+ gtk_box_pack_start(GTK_BOX(line),
+ GTK_WIDGET(line->label),
+ FALSE, FALSE,
+ 0);
+
+ line->group = (GtkToggleButton *) gtk_toggle_button_new_with_label("group\0");
+ gtk_toggle_button_set_active(line->group, TRUE);
+ gtk_box_pack_start(GTK_BOX(line),
+ GTK_WIDGET(line->group),
+ FALSE, FALSE,
+ 0);
+
+ line->expander = ags_expander_new(1, 1);
+ gtk_table_set_row_spacings(line->expander->table,
+ 2);
+ gtk_table_set_col_spacings(line->expander->table,
+ 2);
+ gtk_box_pack_start(GTK_BOX(line),
+ GTK_WIDGET(line->expander),
+ TRUE, TRUE,
+ 0);
+}
+
+void
+ags_line_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLine *line;
+
+ line = AGS_LINE(gobject);
+
+ switch(prop_id){
+ case PROP_PAD:
+ {
+ GtkWidget *pad;
+
+ pad = (GtkWidget *) g_value_get_object(value);
+
+ if(line->pad == pad){
+ return;
+ }
+
+ if(line->pad != NULL){
+ g_object_unref(G_OBJECT(line->pad));
+ }
+
+ if(pad != NULL){
+ g_object_ref(G_OBJECT(pad));
+ }
+
+ line->pad = pad;
+ }
+ break;
+ case PROP_CHANNEL:
+ {
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_value_get_object(value);
+
+ ags_line_set_channel(line, channel);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_line_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLine *line;
+
+ line = AGS_LINE(gobject);
+
+ switch(prop_id){
+ case PROP_PAD:
+ g_value_set_object(value, line->pad);
+ break;
+ case PROP_CHANNEL:
+ g_value_set_object(value, line->channel);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_line_connect(AgsConnectable *connectable)
+{
+ AgsMachine *machine;
+ AgsLine *line;
+ GList *list, *list_start;
+
+ line = AGS_LINE(connectable);
+
+ if((AGS_LINE_CONNECTED & (line->flags)) != 0){
+ return;
+ }
+
+ /* set connected flag */
+ line->flags |= AGS_LINE_CONNECTED;
+
+ g_message("line connect\0");
+
+ if((AGS_LINE_PREMAPPED_RECALL & (line->flags)) == 0){
+ if((AGS_LINE_MAPPED_RECALL & (line->flags)) == 0){
+ ags_line_map_recall(line,
+ 0);
+ }
+ }else{
+ line->flags &= (~AGS_LINE_PREMAPPED_RECALL);
+ }
+
+ /* AgsMachine */
+ machine = AGS_MACHINE(gtk_widget_get_ancestor((GtkWidget *) AGS_LINE(line),
+ AGS_TYPE_MACHINE));
+
+ /* connect group button */
+ g_signal_connect_after((GObject *) line->group, "clicked\0",
+ G_CALLBACK(ags_line_group_clicked_callback), (gpointer) line);
+
+ /* connect line members */
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(line->expander->table));
+
+ while(list != NULL){
+ if(AGS_IS_CONNECTABLE(list->data)){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+ }
+
+ list = list->next;
+ }
+
+ if(list_start != NULL){
+ g_list_free(list_start);
+ }
+}
+
+void
+ags_line_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_line_get_version(AgsPlugin *plugin)
+{
+ return(AGS_LINE(plugin)->version);
+}
+
+void
+ags_line_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AGS_LINE(plugin)->version = version;
+}
+
+gchar*
+ags_line_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_LINE(plugin)->build_id);
+}
+
+void
+ags_line_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AGS_LINE(plugin)->build_id = build_id;
+}
+
+void
+ags_line_real_set_channel(AgsLine *line, AgsChannel *channel)
+{
+ if(line->channel == channel){
+ return;
+ }
+
+ if(line->channel != NULL){
+ g_object_unref(G_OBJECT(line->channel));
+ }
+
+ if(channel != NULL){
+ g_object_ref(G_OBJECT(channel));
+ }
+
+ if(line->channel != NULL){
+ line->flags &= (~AGS_LINE_PREMAPPED_RECALL);
+ }
+
+ line->channel = channel;
+
+ /* set label */
+ gtk_label_set_label(line->label, g_strdup_printf("line %d\0", channel->audio_channel));
+}
+
+/**
+ * ags_line_set_channel:
+ * @line: an #AgsLine
+ * @channel: the #AgsChannel to set
+ *
+ * Is emitted as channel gets modified.
+ *
+ * Since: 0.3
+ */
+void
+ags_line_set_channel(AgsLine *line, AgsChannel *channel)
+{
+ g_return_if_fail(AGS_IS_LINE(line));
+
+ g_object_ref((GObject *) line);
+ g_signal_emit(G_OBJECT(line),
+ line_signals[SET_CHANNEL], 0,
+ channel);
+ g_object_unref((GObject *) line);
+}
+
+/**
+ * ags_line_group_changed:
+ * @line: an #AgsLine
+ *
+ * Is emitted as group is changed.
+ *
+ * Since: 0.4
+ */
+void
+ags_line_group_changed(AgsLine *line)
+{
+ g_return_if_fail(AGS_IS_LINE(line));
+
+ g_object_ref((GObject *) line);
+ g_signal_emit(G_OBJECT(line),
+ line_signals[GROUP_CHANGED], 0);
+ g_object_unref((GObject *) line);
+}
+
+GList*
+ags_line_real_add_effect(AgsLine *line,
+ gchar *filename,
+ gchar *effect)
+{
+ AgsMachine *machine;
+ AgsLineMember *line_member;
+ AgsAddLineMember *add_line_member;
+ GtkAdjustment *adjustment;
+
+ AgsLadspaPlugin *ladspa_plugin;
+
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+
+ GList *list;
+ GList *port;
+ GList *task;
+ gdouble step;
+ guint x, y;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ LADSPA_Data lower_bound, upper_bound;
+ unsigned long index;
+ unsigned long i;
+
+ machine = gtk_widget_get_ancestor(line,
+ AGS_TYPE_MACHINE);
+
+ audio_loop = (AgsAudioLoop *) AGS_MAIN(AGS_DEVOUT(machine->audio->devout)->ags_main)->main_loop;
+ task_thread = (AgsTaskThread *) audio_loop->task_thread;
+
+ if(ags_recall_ladpsa_find(line->channel->recall,
+ filename, effect) != NULL){
+ /* return if duplicated */
+ return;
+ }
+
+ index = ags_ladspa_manager_effect_index(filename,
+ effect);
+
+ task = NULL;
+
+ /* load plugin */
+ ags_ladspa_manager_load_file(filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(filename);
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ /* retrieve position within table */
+ x = 0;
+ y = 0;
+ i = 0;
+
+ list = line->expander->children;
+
+ while(list != NULL){
+ if(y <= AGS_EXPANDER_CHILD(list->data)->y){
+ y = AGS_EXPANDER_CHILD(list->data)->y + 1;
+ }
+
+ list = list->next;
+ }
+
+ /* add effect to channel */
+ port = ags_channel_add_effect(line->channel,
+ filename,
+ effect);
+
+ /* load ports */
+ if(index != -1 &&
+ plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ plugin_descriptor = ladspa_descriptor(index);
+
+ port_descriptor = plugin_descriptor->PortDescriptors;
+
+ while(port != NULL){
+ if((LADSPA_IS_PORT_CONTROL(port_descriptor[i]) &&
+ (LADSPA_IS_PORT_INPUT(port_descriptor[i]) ||
+ LADSPA_IS_PORT_OUTPUT(port_descriptor[i])))){
+ AgsDial *dial;
+ GtkAdjustment *adjustment;
+
+ if(x == 2){
+ x = 0;
+ y++;
+ }
+
+ g_message("line_add_effect - add line member\0");
+
+ /* add line member */
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ "widget-type\0", AGS_TYPE_DIAL,
+ "widget-label\0", plugin_descriptor->PortNames[i],
+ "plugin-name\0", AGS_PORT(port->data)->plugin_name,
+ "specifier\0", AGS_PORT(port->data)->specifier,
+ "control-port\0", AGS_PORT(port->data)->control_port,
+ NULL);
+ dial = ags_line_member_get_widget(line_member);
+ gtk_widget_set_size_request(dial,
+ 2 * dial->radius + 2 * dial->outline_strength + dial->button_width + 1,
+ 2 * dial->radius + 2 * dial->outline_strength + 1);
+
+ /* add controls of ports and apply range */
+ lower_bound = plugin_descriptor->PortRangeHints[i].LowerBound;
+ upper_bound = plugin_descriptor->PortRangeHints[i].UpperBound;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0);
+ g_object_set(dial,
+ "adjustment", adjustment,
+ NULL);
+
+ if(upper_bound >= 0.0 && lower_bound >= 0.0){
+ step = (upper_bound - lower_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }else if(upper_bound < 0.0 && lower_bound < 0.0){
+ step = -1.0 * (lower_bound - upper_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }else{
+ step = (upper_bound - lower_bound) / AGS_DIAL_DEFAULT_PRECISION;
+ }
+
+ gtk_adjustment_set_step_increment(adjustment,
+ step);
+ gtk_adjustment_set_lower(adjustment,
+ lower_bound);
+ gtk_adjustment_set_upper(adjustment,
+ upper_bound);
+ gtk_adjustment_set_value(adjustment,
+ lower_bound);
+
+ /* create task */
+ add_line_member = ags_add_line_member_new(line,
+ line_member,
+ x, y,
+ 1, 1);
+ task = g_list_prepend(task,
+ add_line_member);
+
+ x++;
+ port = port->next;
+ }
+
+ i++;
+ }
+ }
+ }
+
+ /* launch tasks */
+ task = g_list_reverse(task);
+ ags_task_thread_append_tasks(task_thread,
+ task);
+
+ return(port);
+}
+
+GList*
+ags_line_add_effect(AgsLine *line,
+ gchar *filename,
+ gchar *effect)
+{
+ GList *port;
+
+ g_return_val_if_fail(AGS_IS_LINE(line), NULL);
+
+ g_object_ref((GObject *) line);
+ g_signal_emit(G_OBJECT(line),
+ line_signals[ADD_EFFECT], 0,
+ filename,
+ effect,
+ &port);
+ g_object_unref((GObject *) line);
+
+ return(port);
+}
+
+void
+ags_line_real_remove_effect(AgsLine *line,
+ guint nth)
+{
+ GList *control;
+ GList *play_ladspa;
+ GList *port;
+
+ play_ladspa = ags_recall_template_find_type(line->channel->play,
+ AGS_TYPE_RECALL_LADSPA);
+
+ /* destroy controls */
+ port = AGS_RECALL(g_list_nth(play_ladspa,
+ nth)->data)->port;
+
+ while(port != NULL){
+ control = gtk_container_get_children(line->expander->table);
+
+ while(control != NULL){
+ if(AGS_IS_LINE_MEMBER(control->data) &&
+ AGS_LINE_MEMBER(control->data)->port == port->data){
+ ags_expander_remove(line->expander,
+ control->data);
+ break;
+ }
+
+ control = control->next;
+ }
+
+ port = port->next;
+ }
+
+ /* remove recalls */
+ ags_channel_remove_effect(line->channel,
+ nth);
+}
+
+void
+ags_line_remove_effect(AgsLine *line,
+ guint nth)
+{
+ g_return_if_fail(AGS_IS_LINE(line));
+
+ g_object_ref((GObject *) line);
+ g_signal_emit(G_OBJECT(line),
+ line_signals[REMOVE_EFFECT], 0,
+ nth);
+ g_object_unref((GObject *) line);
+}
+
+void
+ags_line_real_map_recall(AgsLine *line,
+ guint ouput_pad_start)
+{
+ if((AGS_LINE_MAPPED_RECALL & (line->flags)) != 0){
+ return;
+ }
+
+ line->flags |= AGS_LINE_MAPPED_RECALL;
+
+ ags_line_find_port(line);
+}
+
+/**
+ * ags_line_map_recall:
+ * @line: an #AgsLine
+ * Returns: an #GList containing all related #AgsPort
+ *
+ * Is emitted as group is changed.
+ *
+ * Since: 0.4
+ */
+void
+ags_line_map_recall(AgsLine *line,
+ guint output_pad_start)
+{
+ g_return_if_fail(AGS_IS_LINE(line));
+
+ g_object_ref((GObject *) line);
+ g_signal_emit(G_OBJECT(line),
+ line_signals[MAP_RECALL], 0,
+ output_pad_start);
+ g_object_unref((GObject *) line);
+}
+
+GList*
+ags_line_real_find_port(AgsLine *line)
+{
+ AgsChannel *channel, *next_pad;
+ GList *list, *tmp;
+ GList *line_member, *line_member_start;
+
+ if(line == NULL || line->expander == NULL){
+ return(NULL);
+ }
+
+ line_member_start =
+ line_member = gtk_container_get_children(GTK_CONTAINER(line->expander->table));
+
+ while(line_member != NULL){
+ if(AGS_IS_LINE_MEMBER(line_member->data)){
+ ags_line_member_find_port(AGS_LINE_MEMBER(line_member->data));
+ }
+
+ line_member = line_member->next;
+ }
+
+ if(line_member_start != NULL){
+ g_list_free(line_member_start);
+ }
+
+ /* */
+ channel = line->channel;
+
+ if(channel != NULL){
+ next_pad = channel->next_pad;
+
+ list = NULL;
+
+ while(channel != next_pad){
+ if(list == NULL){
+ list = ags_channel_find_port(channel);
+ }else{
+ tmp = ags_channel_find_port(channel);
+
+ if(tmp != NULL){
+ list = g_list_concat(list,
+ tmp);
+ }
+ }
+
+ channel = channel->next;
+ }
+ }
+
+ return(list);
+
+}
+
+/**
+ * ags_line_find_port:
+ * @line: an #AgsLine
+ * Returns: an #GList containing all related #AgsPort
+ *
+ * Lookup ports of assigned recalls.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_line_find_port(AgsLine *line)
+{
+ GList *list;
+
+ list = NULL;
+ g_return_val_if_fail(AGS_IS_LINE(line),
+ NULL);
+
+ g_object_ref((GObject *) line);
+ g_signal_emit((GObject *) line,
+ line_signals[FIND_PORT], 0,
+ &list);
+ g_object_unref((GObject *) line);
+
+ return(list);
+}
+
+/**
+ * ags_line_find_next_grouped:
+ * @line: an #AgsLine
+ *
+ * Retrieve next grouped line.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_line_find_next_grouped(GList *line)
+{
+ while(line != NULL && !gtk_toggle_button_get_active(AGS_LINE(line->data)->group)){
+ line = line->next;
+ }
+
+ return(line);
+}
+
+/**
+ * ags_line_new:
+ * @pad: the parent pad
+ * @channel: the channel to visualize
+ *
+ * Creates an #AgsLine
+ *
+ * Returns: a new #AgsLine
+ *
+ * Since: 0.3
+ */
+AgsLine*
+ags_line_new(GtkWidget *pad, AgsChannel *channel)
+{
+ AgsLine *line;
+
+ line = (AgsLine *) g_object_new(AGS_TYPE_LINE,
+ "pad\0", pad,
+ "channel\0", channel,
+ NULL);
+
+ return(line);
+}
diff --git a/src/ags/X/ags_line.h b/src/ags/X/ags_line.h
new file mode 100644
index 0000000..b69f1de
--- /dev/null
+++ b/src/ags/X/ags_line.h
@@ -0,0 +1,110 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_H__
+#define __AGS_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/widget/ags_expander.h>
+
+#define AGS_TYPE_LINE (ags_line_get_type())
+#define AGS_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE, AgsLine))
+#define AGS_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE, AgsLineClass))
+#define AGS_IS_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE))
+#define AGS_IS_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE))
+#define AGS_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE, AgsLineClass))
+
+#define AGS_LINE_DEFAULT_VERSION "0.4.2\0"
+#define AGS_LINE_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+typedef struct _AgsLine AgsLine;
+typedef struct _AgsLineClass AgsLineClass;
+
+typedef enum{
+ AGS_LINE_CONNECTED = 1,
+ AGS_LINE_GROUPED = 1 << 1,
+ AGS_LINE_MAPPED_RECALL = 1 << 2,
+ AGS_LINE_PREMAPPED_RECALL = 1 << 3,
+}AgsLineFlags;
+
+struct _AgsLine
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *name;
+
+ AgsChannel *channel;
+
+ GtkWidget *pad;
+
+ GtkLabel *label;
+ GtkToggleButton *group;
+
+ AgsExpander *expander;
+};
+
+struct _AgsLineClass
+{
+ GtkVBoxClass vbox;
+
+ void (*set_channel)(AgsLine *line, AgsChannel *channel);
+
+ void (*group_changed)(AgsLine *line);
+
+ GList* (*add_effect)(AgsLine *line,
+ 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);
+};
+
+GType ags_line_get_type(void);
+
+void ags_line_set_channel(AgsLine *line, AgsChannel *channel);
+
+void ags_line_group_changed(AgsLine *line);
+
+GList* ags_line_find_next_grouped(GList *line);
+
+GList* ags_line_add_effect(AgsLine *line,
+ gchar *filename,
+ gchar *effect);
+void ags_line_remove_effect(AgsLine *line,
+ guint nth);
+
+void ags_line_map_recall(AgsLine *line,
+ guint output_pad_start);
+GList* ags_line_find_port(AgsLine *line);
+
+AgsLine* ags_line_new(GtkWidget *pad, AgsChannel *channel);
+
+#endif /*__AGS_LINE_H__*/
diff --git a/src/ags/X/ags_line_callbacks.c b/src/ags/X/ags_line_callbacks.c
new file mode 100644
index 0000000..f20bcfd
--- /dev/null
+++ b/src/ags/X/ags_line_callbacks.c
@@ -0,0 +1,248 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_recycling_container.h>
+
+#include <ags/audio/recall/ags_volume_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+
+#include <ags/audio/task/ags_change_indicator.h>
+
+#include <ags/widget/ags_vindicator.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line_member.h>
+
+int
+ags_line_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLine *line)
+{
+ if(old_parent == NULL){
+ gtk_widget_show_all(GTK_WIDGET(line));
+ }
+}
+
+void
+ags_line_remove_recall_callback(AgsRecall *recall, AgsLine *line)
+{
+ if(recall->recall_id != NULL && recall->recall_id->recycling_container->parent != NULL){
+ if(AGS_IS_RECALL_AUDIO(recall) || AGS_RECALL_AUDIO_RUN(recall)){
+ ags_audio_remove_recall(AGS_AUDIO(line->channel->audio), (GObject *) recall, FALSE);
+ }else{
+ ags_channel_remove_recall(AGS_CHANNEL(line->channel), (GObject *) recall, FALSE);
+ }
+ }else{
+ if(AGS_IS_RECALL_AUDIO(recall) || AGS_RECALL_AUDIO_RUN(recall)){
+ ags_audio_remove_recall(AGS_AUDIO(line->channel->audio), (GObject *) recall, TRUE);
+ }else{
+ ags_channel_remove_recall(AGS_CHANNEL(line->channel), (GObject *) recall, TRUE);
+ }
+ }
+}
+
+int
+ags_line_group_clicked_callback(GtkWidget *widget, AgsLine *line)
+{
+ AgsPad *pad;
+ AgsLine *current;
+ GtkContainer *container;
+ GList *list, *list_start;
+
+ pad = (AgsPad *) gtk_widget_get_ancestor(GTK_WIDGET(line), AGS_TYPE_PAD);
+
+ container = (GtkContainer *) pad->expander_set;
+
+ list_start =
+ list = gtk_container_get_children(container);
+
+ if(gtk_toggle_button_get_active(line->group)){
+ ags_line_group_changed(line);
+
+ while(list != NULL){
+ current = AGS_LINE(list->data);
+
+ if(!gtk_toggle_button_get_active(current->group)){
+ g_list_free(list_start);
+ return(0);
+ }
+
+ list = list->next;
+ }
+
+ gtk_toggle_button_set_active(pad->group, TRUE);
+ }else{
+ if(g_list_length(list) > 1){
+ if(gtk_toggle_button_get_active(pad->group)){
+ gtk_toggle_button_set_active(pad->group, FALSE);
+ }
+
+ while(list != NULL){
+ current = AGS_LINE(list->data);
+
+ if(gtk_toggle_button_get_active(current->group)){
+ ags_line_group_changed(line);
+ g_list_free(list_start);
+ return(0);
+ }
+
+ list = list->next;
+ }
+ }
+
+ gtk_toggle_button_set_active(line->group, TRUE);
+ }
+
+ g_list_free(list_start);
+
+ return(0);
+}
+
+void
+ags_line_volume_callback(GtkRange *range,
+ AgsLine *line)
+{
+ AgsVolumeChannel *volume_channel;
+ GList *list;
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ g_value_set_double(&value, gtk_range_get_value(range));
+
+ list = line->channel->play;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_VOLUME_CHANNEL)) != NULL){
+ volume_channel = AGS_VOLUME_CHANNEL(list->data);
+ ags_port_safe_write(volume_channel->volume,
+ &value);
+
+ list = list->next;
+ }
+
+ list = line->channel->recall;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_VOLUME_CHANNEL)) != NULL){
+ volume_channel = AGS_VOLUME_CHANNEL(list->data);
+ ags_port_safe_write(volume_channel->volume,
+ &value);
+
+ list = list->next;
+ }
+}
+
+void
+ags_line_peak_run_post_callback(AgsRecall *peak_channel,
+ AgsLine *line)
+{
+ AgsTaskThread *task_thread;
+ AgsChangeIndicator *change_indicator;
+ AgsMachine *machine;
+ GList *list, *list_start;
+
+ machine = (AgsMachine *) gtk_widget_get_ancestor(line,
+ AGS_TYPE_MACHINE);
+ task_thread = AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(machine->audio->devout)->ags_main)->main_loop)->task_thread;
+
+ list_start =
+ list = gtk_container_get_children(AGS_LINE(line)->expander->table);
+
+ while(list != NULL){
+ if(AGS_IS_LINE_MEMBER(list->data) &&
+ AGS_LINE_MEMBER(list->data)->widget_type == AGS_TYPE_VINDICATOR){
+ GtkWidget *child;
+ AgsPort *port;
+ gdouble peak;
+ GValue value = {0,};
+
+ child = gtk_bin_get_child(AGS_LINE_MEMBER(list->data));
+
+ if(AGS_RECYCLING_CONTAINER(peak_channel->recall_id->recycling_container)->parent == NULL){
+ port = AGS_LINE_MEMBER(list->data)->port;
+ }else{
+ port = AGS_LINE_MEMBER(list->data)->recall_port;
+ }
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(port,
+ &value);
+
+ peak = g_value_get_double(&value);
+
+ change_indicator = ags_change_indicator_new(child,
+ peak);
+
+ ags_task_thread_append_task(task_thread,
+ change_indicator);
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+}
+
+void
+ags_line_channel_done_callback(AgsChannel *source, AgsLine *line)
+{
+ AgsChannel *channel;
+ AgsDevoutPlay *devout_play;
+ AgsChannel *next_pad;
+ GList *current_recall;
+ gboolean all_done;
+
+ g_message("ags_line_channel_done\0");
+
+ channel = AGS_PAD(AGS_LINE(line)->pad)->channel;
+ next_pad = channel->next_pad;
+
+ all_done = TRUE;
+
+ while(channel != next_pad){
+ current_recall = channel->play;
+ devout_play = AGS_DEVOUT_PLAY(channel->devout_play);
+
+ if(devout_play->recall_id[0] != NULL){
+ all_done = FALSE;
+ break;
+ }
+
+ channel = channel->next;
+ }
+
+ if(all_done){
+ AgsPad *pad;
+
+ pad = AGS_PAD(AGS_LINE(line)->pad);
+
+ if(pad->play != NULL){
+ gtk_toggle_button_set_active(pad->play, FALSE);
+ }
+ }
+}
diff --git a/src/ags/X/ags_line_callbacks.h b/src/ags/X/ags_line_callbacks.h
new file mode 100644
index 0000000..27d3ce2
--- /dev/null
+++ b/src/ags/X/ags_line_callbacks.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_CALLBACKS_H__
+#define __AGS_LINE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line.h>
+
+int ags_line_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLine *line);
+
+void ags_line_remove_recall_callback(AgsRecall *recall, AgsLine *line);
+
+int ags_line_group_clicked_callback(GtkWidget *widget, AgsLine *line);
+
+/* AgsLine */
+void ags_line_volume_callback(GtkRange *range,
+ AgsLine *line);
+
+/* AgsRecall - recall */
+void ags_line_peak_run_post_callback(AgsRecall *peak_channel,
+ AgsLine *line);
+
+void ags_line_copy_pattern_done(AgsRecall *recall,
+ AgsLine *line);
+void ags_line_copy_pattern_cancel(AgsRecall *recall,
+ AgsLine *line);
+void ags_line_recall_volume_done(AgsRecall *recall,
+ AgsLine *line);
+void ags_line_recall_volume_cancel(AgsRecall *recall,
+ AgsLine *line);
+
+/* AgsRecall - play */
+void ags_line_channel_done_callback(AgsChannel *channel,
+ AgsLine *line);
+void ags_line_play_channel_run_cancel(AgsRecall *recall,
+ AgsLine *line);
+void ags_line_play_volume_done(AgsRecall *recall,
+ AgsLine *line);
+void ags_line_play_volume_cancel(AgsRecall *recall,
+ AgsLine *line);
+
+#endif /*__AGS_LINE_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_line_editor.c b/src/ags/X/ags_line_editor.c
new file mode 100644
index 0000000..9917bcb
--- /dev/null
+++ b/src/ags/X/ags_line_editor.c
@@ -0,0 +1,346 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line_editor.h>
+#include <ags/X/ags_line_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_applicable.h>
+
+void ags_line_editor_class_init(AgsLineEditorClass *line_editor);
+void ags_line_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_line_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_line_editor_init(AgsLineEditor *line_editor);
+void ags_line_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_line_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_line_editor_connect(AgsConnectable *connectable);
+void ags_line_editor_disconnect(AgsConnectable *connectable);
+void ags_line_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_line_editor_apply(AgsApplicable *applicable);
+void ags_line_editor_reset(AgsApplicable *applicable);
+void ags_line_editor_destroy(GtkObject *object);
+void ags_line_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_line_editor
+ * @short_description: A composite widget to edit #AgsChannel
+ * @title: AgsLineEditor
+ * @section_id:
+ * @include: ags/X/ags_line_editor.h
+ *
+ * #AgsLineEditor is a composite widget to edit #AgsChannel. It should be
+ * packed by an #AgsPadEditor.
+ */
+
+enum{
+ PROP_0,
+ PROP_CHANNEL,
+};
+
+GType
+ags_line_editor_get_type(void)
+{
+ static GType ags_type_line_editor = 0;
+
+ if(!ags_type_line_editor){
+ static const GTypeInfo ags_line_editor_info = {
+ sizeof (AgsLineEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_line_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLineEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_line_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_line_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_line_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_line_editor = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsLineEditor\0", &ags_line_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_line_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_line_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_line_editor);
+}
+
+void
+ags_line_editor_class_init(AgsLineEditorClass *line_editor)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ gobject = (GObjectClass *) line_editor;
+
+ gobject->set_property = ags_line_editor_set_property;
+ gobject->get_property = ags_line_editor_get_property;
+
+ /**
+ * AgsLineEditor:channel:
+ *
+ * The assigned #AgsChannel to edit.
+ *
+ * Since: 0.3
+ */
+ param_spec = g_param_spec_object("channel\0",
+ "assigned channel\0",
+ "The channel which this pad editor is assigned with\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL,
+ param_spec);
+}
+
+void
+ags_line_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_line_editor_connect;
+ connectable->disconnect = ags_line_editor_disconnect;
+}
+
+void
+ags_line_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_line_editor_set_update;
+ applicable->apply = ags_line_editor_apply;
+ applicable->reset = ags_line_editor_reset;
+}
+
+void
+ags_line_editor_init(AgsLineEditor *line_editor)
+{
+ line_editor->version = AGS_LINE_EDITOR_DEFAULT_VERSION;
+ line_editor->build_id = AGS_LINE_EDITOR_DEFAULT_BUILD_ID;
+
+ line_editor->link_editor = NULL;
+ line_editor->member_editor = NULL;
+}
+
+void
+ags_line_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLineEditor *line_editor;
+
+ line_editor = AGS_LINE_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ {
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_value_get_object(value);
+
+ ags_line_editor_set_channel(line_editor, channel);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_line_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLineEditor *line_editor;
+
+ line_editor = AGS_LINE_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ g_value_set_object(value, line_editor->channel);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_line_editor_connect(AgsConnectable *connectable)
+{
+ AgsLineEditor *line_editor;
+
+ line_editor = AGS_LINE_EDITOR(connectable);
+
+ g_signal_connect((GObject *) line_editor, "destroy\0",
+ G_CALLBACK(ags_line_editor_destroy_callback), (gpointer) line_editor);
+
+ g_signal_connect((GObject *) line_editor, "show\0",
+ G_CALLBACK(ags_line_editor_show_callback), (gpointer) line_editor);
+
+ ags_connectable_connect(AGS_CONNECTABLE(line_editor->link_editor));
+ ags_connectable_connect(AGS_CONNECTABLE(line_editor->member_editor));
+}
+
+void
+ags_line_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_line_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsLineEditor *line_editor;
+
+ line_editor = AGS_LINE_EDITOR(applicable);
+
+ if(line_editor->link_editor != NULL){
+ ags_applicable_set_update(AGS_APPLICABLE(line_editor->link_editor), update);
+ }
+}
+
+void
+ags_line_editor_apply(AgsApplicable *applicable)
+{
+ AgsLineEditor *line_editor;
+
+ line_editor = AGS_LINE_EDITOR(applicable);
+
+ if(line_editor->link_editor != NULL){
+ ags_applicable_apply(AGS_APPLICABLE(line_editor->link_editor));
+ }
+}
+
+void
+ags_line_editor_reset(AgsApplicable *applicable)
+{
+ AgsLineEditor *line_editor;
+
+ line_editor = AGS_LINE_EDITOR(applicable);
+
+ if(line_editor->link_editor != NULL){
+ ags_applicable_reset(AGS_APPLICABLE(line_editor->link_editor));
+ }
+
+ if(line_editor->member_editor != NULL){
+ ags_applicable_reset(AGS_APPLICABLE(line_editor->member_editor));
+ }
+}
+
+void
+ags_line_editor_destroy(GtkObject *object)
+{
+}
+
+void
+ags_line_editor_show(GtkWidget *widget)
+{
+ AgsLineEditor *line_editor = (AgsLineEditor *) widget;
+
+ gtk_widget_show((GtkWidget *) line_editor->link_editor);
+ gtk_widget_show((GtkWidget *) line_editor->member_editor);
+}
+
+/**
+ * ags_line_editor_set_channel:
+ * @line_editor: an #AgsLineEditor
+ * @channel: the new #AgsChannel
+ *
+ * Is called as channel gets modified.
+ *
+ * Since: 0.3
+ */
+void
+ags_line_editor_set_channel(AgsLineEditor *line_editor,
+ AgsChannel *channel)
+{
+ AgsLinkEditor *link_editor;
+
+ if(line_editor->link_editor != NULL){
+ link_editor = line_editor->link_editor;
+ line_editor->link_editor = NULL;
+ gtk_widget_destroy(GTK_WIDGET(line_editor->link_editor));
+ gtk_widget_destroy(GTK_WIDGET(line_editor->member_editor));
+ }
+
+ line_editor->channel = channel;
+
+ if(channel != NULL){
+ /* link */
+ line_editor->link_editor = ags_link_editor_new();
+ gtk_box_pack_start(GTK_BOX(line_editor),
+ GTK_WIDGET(line_editor->link_editor),
+ FALSE, FALSE,
+ 0);
+
+ /* recall */
+ line_editor->member_editor = ags_line_member_editor_new();
+ gtk_box_pack_start(GTK_BOX(line_editor),
+ GTK_WIDGET(line_editor->member_editor),
+ FALSE, FALSE,
+ 0);
+ }
+}
+
+/**
+ * ags_line_editor_new:
+ * @channel: the channel to edit
+ *
+ * Creates an #AgsLineEditor
+ *
+ * Returns: a new #AgsLineEditor
+ *
+ * Since: 0.3
+ */
+AgsLineEditor*
+ags_line_editor_new(AgsChannel *channel)
+{
+ AgsLineEditor *line_editor;
+
+ line_editor = (AgsLineEditor *) g_object_new(AGS_TYPE_LINE_EDITOR,
+ "channel\0", channel,
+ NULL);
+
+ return(line_editor);
+}
diff --git a/src/ags/X/ags_line_editor.h b/src/ags/X/ags_line_editor.h
new file mode 100644
index 0000000..ec30b62
--- /dev/null
+++ b/src/ags/X/ags_line_editor.h
@@ -0,0 +1,69 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_EDITOR_H__
+#define __AGS_LINE_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_link_editor.h>
+#include <ags/X/ags_line_member_editor.h>
+
+#define AGS_TYPE_LINE_EDITOR (ags_line_editor_get_type())
+#define AGS_LINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE_EDITOR, AgsLineEditor))
+#define AGS_LINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE_EDITOR, AgsLineEditorClass))
+#define AGS_IS_LINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE_EDITOR))
+#define AGS_IS_LINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE_EDITOR))
+#define AGS_LINE_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE_EDITOR, AgsLineEditorClass))
+
+#define AGS_LINE_EDITOR_DEFAULT_VERSION "0.4.2\0"
+#define AGS_LINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+typedef struct _AgsLineEditor AgsLineEditor;
+typedef struct _AgsLineEditorClass AgsLineEditorClass;
+
+struct _AgsLineEditor
+{
+ GtkVBox vbox;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ AgsLinkEditor *link_editor;
+ AgsLineMemberEditor *member_editor;
+};
+
+struct _AgsLineEditorClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_line_editor_get_type(void);
+
+void ags_line_editor_set_channel(AgsLineEditor *line_editor,
+ AgsChannel *channel);
+
+AgsLineEditor* ags_line_editor_new(AgsChannel *channel);
+
+#endif /*__AGS_LINE_EDITOR_H__*/
diff --git a/src/ags/X/ags_line_editor_callbacks.c b/src/ags/X/ags_line_editor_callbacks.c
new file mode 100644
index 0000000..7fd3f35
--- /dev/null
+++ b/src/ags/X/ags_line_editor_callbacks.c
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line_editor_callbacks.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_pad_editor.h>
+#include <ags/X/ags_machine_editor.h>
+
+int
+ags_line_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLineEditor *line_editor)
+{
+ if(old_parent != NULL)
+ return(0);
+
+ gtk_box_pack_start((GtkBox *) line_editor,
+ (GtkWidget *) line_editor->link_editor,
+ FALSE, FALSE, 0);
+ return(0);
+}
+
+int
+ags_line_editor_destroy_callback(GtkObject *object, AgsLineEditor *line_editor)
+{
+ ags_line_editor_destroy(object);
+
+ return(0);
+}
+
+int
+ags_line_editor_show_callback(GtkWidget *widget, AgsLineEditor *line_editor)
+{
+ ags_line_editor_show(widget);
+
+ return(0);
+}
diff --git a/src/ags/X/ags_line_editor_callbacks.h b/src/ags/X/ags_line_editor_callbacks.h
new file mode 100644
index 0000000..8dd1e2f
--- /dev/null
+++ b/src/ags/X/ags_line_editor_callbacks.h
@@ -0,0 +1,32 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_EDITOR_CALLBACKS_H__
+#define __AGS_LINE_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line_editor.h>
+
+int ags_line_editor_destroy_callback(GtkObject *object, AgsLineEditor *line_editor);
+int ags_line_editor_show_callback(GtkWidget *widget, AgsLineEditor *line_editor);
+int ags_line_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLineEditor *line_editor);
+
+#endif /*__AGS_LINE_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_line_member.c b/src/ags/X/ags_line_member.c
new file mode 100644
index 0000000..6e7ed16
--- /dev/null
+++ b/src/ags/X/ags_line_member.c
@@ -0,0 +1,939 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line_member.h>
+#include <ags/X/ags_line_member_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_devout.h>
+
+#include <ags/widget/ags_dial.h>
+
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_effect_line.h>
+
+void ags_line_member_class_init(AgsLineMemberClass *line_member);
+void ags_line_member_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_line_member_init(AgsLineMember *line_member);
+void ags_line_member_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_line_member_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_line_member_connect(AgsConnectable *connectable);
+void ags_line_member_disconnect(AgsConnectable *connectable);
+void ags_line_member_finalize(GObject *gobject);
+
+void ags_line_member_real_change_port(AgsLineMember *line_member,
+ gpointer port_data);
+
+/**
+ * SECTION:ags_line_member
+ * @short_description: Modify assigned recall's port
+ * @title: AgsLineMember
+ * @section_id:
+ * @include: ags/X/ags_line_member.h
+ *
+ * #AgsLineMember is a composite widget to modify ports of recalls. A line member
+ * controls only one specific port of a recall but distinguishes between simple/complex
+ * recall. It is generally packed into a #AgsLine.
+ */
+
+enum{
+ CHANGE_PORT,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_WIDGET_TYPE,
+ PROP_WIDGET_LABEL,
+ PROP_PLUGIN_NAME,
+ PROP_SPECIFIER,
+ PROP_CONTROL_PORT,
+ PROP_PORT,
+ PROP_PORT_DATA,
+ PROP_PORT_DATA_LENGTH,
+ PROP_RECALL_PORT,
+ PROP_RECALL_PORT_DATA,
+ PROP_RECALL_PORT_DATA_LENGTH,
+ PROP_TASK_TYPE,
+};
+
+static gpointer ags_line_member_parent_class = NULL;
+static guint line_member_signals[LAST_SIGNAL];
+
+GType
+ags_line_member_get_type(void)
+{
+ static GType ags_type_line_member = 0;
+
+ if(!ags_type_line_member){
+ static const GTypeInfo ags_line_member_info = {
+ sizeof(AgsLineMemberClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_line_member_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsLineMember),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_line_member_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_line_member_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_line_member = g_type_register_static(GTK_TYPE_FRAME,
+ "AgsLineMember\0", &ags_line_member_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_line_member,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_line_member);
+}
+
+void
+ags_line_member_class_init(AgsLineMemberClass *line_member)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_line_member_parent_class = g_type_class_peek_parent(line_member);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(line_member);
+
+ gobject->set_property = ags_line_member_set_property;
+ gobject->get_property = ags_line_member_get_property;
+
+ gobject->finalize = ags_line_member_finalize;
+
+ /* properties */
+ /**
+ * AgsLineMember:widget-type:
+ *
+ * The widget type to instantiate and use as control.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_ulong("widget-type\0",
+ "widget type of line member\0",
+ "The widget type this line member packs\0",
+ 0, G_MAXULONG,
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_WIDGET_TYPE,
+ param_spec);
+
+ /**
+ * AgsLineMember:widget-label:
+ *
+ * The widget's label to use.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("widget-label\0",
+ "label to display\0",
+ "The label to display\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_WIDGET_LABEL,
+ param_spec);
+
+ /**
+ * AgsLineMember:plugin-name:
+ *
+ * The plugin name of the recall to use.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("plugin-name\0",
+ "plugin name to control\0",
+ "The plugin's name to control\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PLUGIN_NAME,
+ param_spec);
+
+ /**
+ * AgsLineMember:specifier:
+ *
+ * The plugin specifier of the recall to apply.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("specifier\0",
+ "port specifier\0",
+ "The specifier of the port\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SPECIFIER,
+ param_spec);
+
+ /**
+ * AgsLineMember:control-port:
+ *
+ * The control port of the recall.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_string("control-port\0",
+ "control port index\0",
+ "The index of the port to control\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CONTROL_PORT,
+ param_spec);
+
+ /**
+ * AgsLineMember:apply:
+ *
+ * The matching simple port of plugin name and specifier.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("port\0",
+ "port to apply\0",
+ "The port to apply\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT,
+ param_spec);
+
+ /**
+ * AgsLineMember:port-data:
+ *
+ * The port data to apply.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_pointer("port-data\0",
+ "port data\0",
+ "The port data\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT_DATA,
+ param_spec);
+
+ /**
+ * AgsLineMember:recall-port:
+ *
+ * The matching complex port of plugin name and specifier.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("recall-port\0",
+ "recall port to apply\0",
+ "The recall port to apply\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_PORT,
+ param_spec);
+
+ /**
+ * AgsLineMember:recall-port-data:
+ *
+ * The complex port data to apply.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_pointer("recall-port-data\0",
+ "recall port data\0",
+ "The recall port data\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_PORT_DATA,
+ param_spec);
+
+ /* AgsLineMember */
+ line_member->change_port = ags_line_member_real_change_port;
+
+ /* signals */
+ /**
+ * AgsLineMember::change-port:
+ * @line_member: the #AgsLineMember
+ * @port_data: the port's data
+ *
+ * The ::change-port signal notifies modified port.
+ */
+ line_member_signals[CHANGE_PORT] =
+ g_signal_new("change-port\0",
+ G_TYPE_FROM_CLASS(line_member),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsLineMemberClass, change_port),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1,
+ G_TYPE_POINTER);
+}
+
+void
+ags_line_member_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_line_member_connect;
+ connectable->disconnect = ags_line_member_disconnect;
+}
+
+void
+ags_line_member_init(AgsLineMember *line_member)
+{
+ GtkWidget *control;
+
+ g_signal_connect_after((GObject *) line_member, "parent_set\0",
+ G_CALLBACK(ags_line_member_parent_set_callback), (gpointer) line_member);
+
+ line_member->flags = (AGS_LINE_MEMBER_RESET_BY_ATOMIC |
+ AGS_LINE_MEMBER_APPLY_RECALL);
+
+ line_member->widget_type = AGS_TYPE_DIAL;
+ control = (GtkWidget *) g_object_new(AGS_TYPE_DIAL,
+ "adjustment\0", gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0),
+ NULL);
+ gtk_container_add(GTK_CONTAINER(line_member),
+ control);
+
+ line_member->widget_label = NULL;
+
+ line_member->plugin_name = NULL;
+ line_member->specifier = NULL;
+
+ line_member->control_port = NULL;
+
+ line_member->port = NULL;
+ line_member->port_data = NULL;
+ line_member->active = FALSE;
+
+ line_member->recall_port = NULL;
+ line_member->recall_port_data = NULL;
+ line_member->recall_active = FALSE;
+
+ line_member->task_type = G_TYPE_NONE;
+}
+
+void
+ags_line_member_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLineMember *line_member;
+
+ line_member = AGS_LINE_MEMBER(gobject);
+
+ switch(prop_id){
+ case PROP_WIDGET_TYPE:
+ {
+ GtkWidget *child, *new_child;
+ GType widget_type;
+
+ widget_type = g_value_get_ulong(value);
+
+ if(widget_type == line_member->widget_type){
+ return;
+ }
+
+ child = gtk_bin_get_child(GTK_BIN(line_member));
+
+ if(child != NULL){
+ gtk_widget_destroy(child);
+ }
+
+ line_member->widget_type = widget_type;
+ new_child = (GtkWidget *) g_object_new(widget_type,
+ NULL);
+
+ gtk_container_add(GTK_CONTAINER(line_member),
+ new_child);
+
+ }
+ break;
+ case PROP_WIDGET_LABEL:
+ {
+ gchar *label;
+
+ label = g_value_get_string(value);
+
+ if(label == line_member->widget_label){
+ return;
+ }
+
+ line_member->widget_label = g_strdup(label);
+ ags_line_member_set_label(line_member, label);
+ }
+ break;
+ case PROP_PLUGIN_NAME:
+ {
+ gchar *plugin_name;
+
+ plugin_name = g_value_get_string(value);
+
+ if(plugin_name == line_member->plugin_name){
+ return;
+ }
+
+ line_member->plugin_name = g_strdup(plugin_name);
+ }
+ break;
+ case PROP_SPECIFIER:
+ {
+ gchar *specifier;
+
+ specifier = g_value_get_string(value);
+
+ if(specifier == line_member->specifier){
+ return;
+ }
+
+ line_member->specifier = g_strdup(specifier);
+ }
+ break;
+ case PROP_CONTROL_PORT:
+ {
+ gchar *control_port;
+
+ control_port = g_value_get_string(value);
+
+ if(control_port == line_member->control_port){
+ return;
+ }
+
+ line_member->control_port = g_strdup(control_port);
+ }
+ break;
+ case PROP_PORT:
+ {
+ AgsPort *port;
+
+ port = g_value_get_object(value);
+
+ if(port == line_member->port){
+ return;
+ }
+
+ if(line_member->port != NULL){
+ g_object_unref(line_member->port);
+ }
+
+ if(port != NULL){
+ g_object_ref(port);
+ }
+
+ line_member->port = port;
+ }
+ break;
+ case PROP_PORT_DATA:
+ {
+ gpointer port_data;
+
+ port_data = g_value_get_pointer(value);
+
+ if(port_data == line_member->port_data){
+ return;
+ }
+
+ line_member->port_data = port_data;
+ }
+ break;
+ case PROP_RECALL_PORT:
+ {
+ AgsPort *port;
+
+ port = g_value_get_object(value);
+
+ if(port == line_member->recall_port){
+ return;
+ }
+
+ if(line_member->recall_port != NULL){
+ g_object_unref(line_member->recall_port);
+ }
+
+ if(port != NULL){
+ g_object_ref(port);
+ }
+
+ line_member->recall_port = port;
+ }
+ break;
+ case PROP_RECALL_PORT_DATA:
+ {
+ gpointer port_data;
+
+ port_data = g_value_get_pointer(value);
+
+ if(port_data == line_member->recall_port_data){
+ return;
+ }
+
+ line_member->recall_port_data = port_data;
+ }
+ break;
+ case PROP_TASK_TYPE:
+ {
+ GType type;
+
+ type = g_value_get_ulong(value);
+
+ if(line_member->task_type == type){
+ return;
+ }
+
+ line_member->task_type = type;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_line_member_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLineMember *line_member;
+
+ line_member = AGS_LINE_MEMBER(gobject);
+
+ switch(prop_id){
+ case PROP_WIDGET_TYPE:
+ {
+ g_value_set_ulong(value, line_member->widget_type);
+ }
+ break;
+ case PROP_WIDGET_LABEL:
+ {
+ g_value_set_string(value, line_member->widget_label);
+ }
+ break;
+ case PROP_PLUGIN_NAME:
+ {
+ g_value_set_string(value, line_member->plugin_name);
+ }
+ break;
+ case PROP_SPECIFIER:
+ {
+ g_value_set_string(value, line_member->specifier);
+ }
+ break;
+ case PROP_CONTROL_PORT:
+ {
+ g_value_set_string(value, line_member->control_port);
+ }
+ break;
+ case PROP_PORT:
+ {
+ g_value_set_object(value, line_member->port);
+ }
+ break;
+ case PROP_PORT_DATA:
+ {
+ g_value_set_pointer(value, line_member->port_data);
+ }
+ break;
+ case PROP_RECALL_PORT:
+ {
+ g_value_set_object(value, line_member->port);
+ }
+ break;
+ case PROP_RECALL_PORT_DATA:
+ {
+ g_value_set_pointer(value, line_member->port_data);
+ }
+ break;
+ case PROP_TASK_TYPE:
+ {
+ g_value_set_ulong(value, line_member->task_type);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_line_member_connect(AgsConnectable *connectable)
+{
+ AgsLineMember *line_member;
+ GtkWidget *control;
+
+ line_member = AGS_LINE_MEMBER(connectable);
+
+ control = gtk_bin_get_child(GTK_BIN(line_member));
+
+ /* widget callback */
+ if(line_member->widget_type == AGS_TYPE_DIAL){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_line_member_dial_changed_callback), line_member);
+ }else if(line_member->widget_type == GTK_TYPE_VSCALE){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_line_member_vscale_changed_callback), line_member);
+ }else if(line_member->widget_type == GTK_TYPE_HSCALE){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_line_member_hscale_changed_callback), line_member);
+ }else if(line_member->widget_type == GTK_TYPE_SPIN_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "value-changed\0",
+ G_CALLBACK(ags_line_member_spin_button_changed_callback), line_member);
+ }else if(line_member->widget_type == GTK_TYPE_CHECK_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "clicked\0",
+ G_CALLBACK(ags_line_member_check_button_clicked_callback), line_member);
+ }else if(line_member->widget_type == GTK_TYPE_TOGGLE_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "clicked\0",
+ G_CALLBACK(ags_line_member_toggle_button_clicked_callback), line_member);
+ }else if(line_member->widget_type == GTK_TYPE_BUTTON){
+ g_signal_connect(GTK_WIDGET(control), "clicked\0",
+ G_CALLBACK(ags_line_member_button_clicked_callback), line_member);
+ }
+
+ /* port callback */
+ if((AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE & (line_member->flags)) != 0 &&
+ line_member->port != NULL){
+ g_signal_connect_after(line_member->port, "safe-write\0",
+ G_CALLBACK(ags_line_member_port_safe_write_callback), line_member);
+ }
+
+ if((AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE & (line_member->flags)) != 0 &&
+ line_member->recall_port != NULL){
+ g_signal_connect_after(line_member->recall_port, "safe-write\0",
+ G_CALLBACK(ags_line_member_port_safe_write_callback), line_member);
+ }
+}
+
+void
+ags_line_member_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_line_member_finalize(GObject *gobject)
+{
+ /* empty */
+}
+
+GtkWidget*
+ags_line_member_get_widget(AgsLineMember *line_member)
+{
+ return(gtk_bin_get_child(line_member));
+}
+
+/**
+ * ags_line_member_set_label:
+ * @line_member: an #AgsLineMember
+ * @label: the label of the control
+ *
+ * Modify the label of the line member.
+ */
+void
+ags_line_member_set_label(AgsLineMember *line_member,
+ gchar *label)
+{
+ GtkWidget *child_widget;
+
+ if(g_type_is_a(line_member->widget_type, GTK_TYPE_BUTTON) ||
+ line_member->widget_type == GTK_TYPE_SPIN_BUTTON){
+ child_widget = gtk_bin_get_child(GTK_BIN(line_member));
+
+ g_object_set(G_OBJECT(child_widget),
+ "label\0", label,
+ NULL);
+ }else{
+ GtkLabel *label;
+
+ //TODO:JK: implement me
+ }
+
+
+ line_member->widget_label = label;
+}
+
+void
+ags_line_member_real_change_port(AgsLineMember *line_member,
+ gpointer port_data)
+{
+ if((AGS_LINE_MEMBER_RESET_BY_ATOMIC & (line_member->flags)) != 0){
+ AgsPort *port;
+ GValue value = {0,};
+
+ port = line_member->port;
+
+ if(!port->port_value_is_pointer){
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ g_value_init(&value,
+ G_TYPE_BOOLEAN);
+
+ g_value_set_boolean(&value,
+ ((gboolean *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ g_value_init(&value,
+ G_TYPE_INT64);
+ g_value_set_int64(&value,
+ ((gint *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ g_value_init(&value,
+ G_TYPE_UINT64);
+
+ g_value_set_uint64(&value,
+ ((guint *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_FLOAT){
+ g_value_init(&value,
+ G_TYPE_DOUBLE);
+
+ g_value_set_double(&value,
+ ((gdouble *) port_data)[0]);
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ g_value_init(&value,
+ G_TYPE_DOUBLE);
+
+ g_value_set_double(&value,
+ ((gdouble *) port_data)[0]);
+ }
+ }else{
+ if(port->port_value_type == G_TYPE_OBJECT){
+ g_value_init(&value,
+ G_TYPE_OBJECT);
+ g_value_set_object(&value,
+ port_data);
+ }else{
+ if(port->port_value_type == G_TYPE_BOOLEAN ||
+ port->port_value_type == G_TYPE_INT64 ||
+ port->port_value_type == G_TYPE_UINT64 ||
+ port->port_value_type == G_TYPE_FLOAT ||
+ port->port_value_type == G_TYPE_DOUBLE ||
+ port->port_value_type == G_TYPE_POINTER){
+ g_value_init(&value,
+ G_TYPE_POINTER);
+
+ g_value_set_pointer(&value,
+ port_data);
+
+ }
+ }
+ }
+
+ ags_port_safe_write(line_member->port,
+ &value);
+
+ if((AGS_LINE_MEMBER_APPLY_RECALL & (line_member->flags)) != 0){
+ ags_port_safe_write(line_member->recall_port,
+ &value);
+ }
+ }
+
+ if((AGS_LINE_MEMBER_RESET_BY_TASK & (line_member->flags)) != 0){
+ AgsLine *line;
+ AgsTaskThread *task_thread;
+ AgsTask *task;
+
+ //TODO:JK: add support for effect_line
+ line = (AgsLine *) gtk_widget_get_ancestor(GTK_WIDGET(line_member),
+ AGS_TYPE_LINE);
+
+ task_thread = AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(line->channel->audio)->devout)->ags_main)->main_loop)->task_thread);
+
+ task = (AgsTask *) g_object_new(line_member->task_type,
+ line_member->control_port, port_data,
+ NULL);
+
+ ags_task_thread_append_task(task_thread,
+ task);
+ }
+}
+
+/**
+ * ags_line_change_port:
+ * @line_member: an #AgsLineMember
+ * @port_data: the port's value
+ *
+ * Is emitted as port's value is modified.
+ *
+ * Since: 0.4
+ */
+void
+ags_line_member_change_port(AgsLineMember *line_member,
+ gpointer port_data)
+{
+ g_return_if_fail(AGS_IS_LINE_MEMBER(line_member));
+
+ g_object_ref((GObject *) line_member);
+ g_signal_emit(G_OBJECT(line_member),
+ line_member_signals[CHANGE_PORT], 0,
+ port_data);
+ g_object_unref((GObject *) line_member);
+}
+
+/**
+ * ags_line_member_find_port:
+ * @line_member: an #AgsLineMember
+ *
+ * Lookup ports of assigned recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_line_member_find_port(AgsLineMember *line_member)
+{
+ GtkWidget *line;
+ AgsAudio *audio;
+ AgsChannel *channel;
+ AgsPort *audio_port, *channel_port;
+ AgsPort *recall_audio_port, *recall_channel_port;
+ GList *recall;
+ gchar *specifier;
+
+ auto AgsPort* ags_line_member_find_specifier(GList *recall);
+
+ AgsPort* ags_line_member_find_specifier(GList *recall){
+ GList *port;
+
+ while(recall != NULL){
+ port = AGS_RECALL(recall->data)->port;
+
+#ifdef AGS_DEBUG
+ g_message("search port in %s\0", G_OBJECT_TYPE_NAME(recall->data));
+#endif
+
+ while(port != NULL){
+ if(!g_strcmp0(AGS_PORT(port->data)->specifier,
+ specifier)){
+ return(AGS_PORT(port->data));
+ }
+
+ port = port->next;
+ }
+
+ recall = recall->next;
+ }
+
+ return(NULL);
+ }
+
+
+ if(line_member == NULL){
+ return;
+ }
+
+ specifier = line_member->specifier;
+
+ if(!AGS_IS_LINE_MEMBER(line_member) || specifier == NULL){
+ return;
+ }
+
+ line = gtk_widget_get_ancestor(GTK_WIDGET(line_member),
+ AGS_TYPE_LINE);
+
+ if(line != NULL){
+ channel = AGS_LINE(line)->channel;
+ }else{
+ line = gtk_widget_get_ancestor(GTK_WIDGET(line_member),
+ AGS_TYPE_EFFECT_LINE);
+
+ if(line != NULL){
+ channel = AGS_EFFECT_LINE(line)->channel;
+ }
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ audio_port = NULL;
+ channel_port = NULL;
+
+ recall_audio_port = NULL;
+ recall_channel_port = NULL;
+
+ /* search channels */
+ recall = channel->play;
+ channel_port = ags_line_member_find_specifier(recall);
+
+ recall = channel->recall;
+ recall_channel_port = ags_line_member_find_specifier(recall);
+
+ /* search audio */
+ if(channel_port == NULL){
+ recall = audio->play;
+ audio_port = ags_line_member_find_specifier(recall);
+
+ recall = audio->recall;
+ recall_audio_port = ags_line_member_find_specifier(recall);
+ }
+
+ if(channel_port != NULL){
+ g_object_set(G_OBJECT(line_member),
+ "port\0", channel_port,
+ NULL);
+
+ g_object_set(G_OBJECT(line_member),
+ "recall-port\0", recall_channel_port,
+ NULL);
+ }else if(audio_port != NULL){
+ g_object_set(G_OBJECT(line_member),
+ "port\0", audio_port,
+ NULL);
+
+ g_object_set(G_OBJECT(line_member),
+ "recall-port\0", recall_audio_port,
+ NULL);
+ }
+}
+
+/**
+ * ags_line_member_new:
+ *
+ * Creates an #AgsLineMember
+ *
+ * Returns: a new #AgsLineMember
+ *
+ * Since: 0.4
+ */
+AgsLineMember*
+ags_line_member_new()
+{
+ AgsLineMember *line_member;
+
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ NULL);
+
+ return(line_member);
+}
diff --git a/src/ags/X/ags_line_member.h b/src/ags/X/ags_line_member.h
new file mode 100644
index 0000000..8c12153
--- /dev/null
+++ b/src/ags/X/ags_line_member.h
@@ -0,0 +1,97 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_MEMBER_H__
+#define __AGS_LINE_MEMBER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_LINE_MEMBER (ags_line_member_get_type())
+#define AGS_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE_MEMBER, AgsLineMember))
+#define AGS_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE_MEMBER, AgsLineMemberClass))
+#define AGS_IS_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE_MEMBER))
+#define AGS_IS_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE_MEMBER))
+#define AGS_LINE_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE_MEMBER, AgsLineMemberClass))
+
+typedef struct _AgsLineMember AgsLineMember;
+typedef struct _AgsLineMemberClass AgsLineMemberClass;
+
+typedef enum{
+ AGS_LINE_MEMBER_DEFAULT_TEMPLATE = 1,
+ AGS_LINE_MEMBER_RESET_BY_ATOMIC = 1 << 1,
+ AGS_LINE_MEMBER_RESET_BY_TASK = 1 << 2,
+ AGS_LINE_MEMBER_APPLY_RECALL = 1 << 3,
+ AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE = 1 << 4,
+ AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE = 1 << 5,
+ AGS_LINE_MEMBER_CALLBACK_READ_BLOCK = 1 << 6,
+ AGS_LINE_MEMBER_CALLBACK_WRITE_BLOCK = 1 << 7,
+}AgsLineMemberFlags;
+
+struct _AgsLineMember
+{
+ GtkFrame frame;
+
+ guint flags;
+
+ GType widget_type;
+ gchar *widget_label;
+
+ gchar *plugin_name;
+ gchar *specifier;
+
+ gchar *control_port;
+
+ AgsPort *port;
+ gpointer port_data;
+ gboolean active;
+
+ AgsPort *recall_port;
+ gpointer recall_port_data;
+ gboolean recall_active;
+
+ GType task_type;
+};
+
+struct _AgsLineMemberClass
+{
+ GtkFrameClass frame;
+
+ void (*change_port)(AgsLineMember *line_member,
+ gpointer port_data);
+};
+
+GType ags_line_member_get_type(void);
+
+GtkWidget* ags_line_member_get_widget(AgsLineMember *line_member);
+void ags_line_member_set_label(AgsLineMember *line_member,
+ gchar *label);
+
+void ags_line_member_change_port(AgsLineMember *line_member,
+ gpointer port_data);
+
+void ags_line_member_find_port(AgsLineMember *line_member);
+
+AgsLineMember* ags_line_member_new();
+
+#endif /*__AGS_LINE_MEMBER_H__*/
diff --git a/src/ags/X/ags_line_member_callbacks.c b/src/ags/X/ags_line_member_callbacks.c
new file mode 100644
index 0000000..89e89fe
--- /dev/null
+++ b/src/ags/X/ags_line_member_callbacks.c
@@ -0,0 +1,98 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line_member_callbacks.h>
+
+int
+ags_line_member_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLineMember *line_member)
+{
+ if(old_parent == NULL){
+ //TODO:JK: implement me
+ }
+}
+
+void
+ags_line_member_dial_changed_callback(GtkWidget *dial, AgsLineMember *line_member)
+{
+ GtkAdjustment *adjustment;
+
+ g_object_get(dial,
+ "adjustment\0", &adjustment,
+ NULL);
+ ags_line_member_change_port(line_member,
+ (gpointer) &(adjustment->value));
+}
+
+void
+ags_line_member_vscale_changed_callback(GtkWidget *vscale, AgsLineMember *line_member)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = gtk_range_get_adjustment(GTK_RANGE(vscale));
+ ags_line_member_change_port(line_member,
+ (gpointer) &(adjustment->value));
+}
+
+void
+ags_line_member_hscale_changed_callback(GtkWidget *hscale, AgsLineMember *line_member)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = gtk_range_get_adjustment(GTK_RANGE(hscale));
+ ags_line_member_change_port(line_member,
+ &(adjustment->value));
+}
+
+void
+ags_line_member_spin_button_changed_callback(GtkWidget *spin_button, AgsLineMember *line_member)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = gtk_spin_button_get_adjustment(spin_button);
+ ags_line_member_change_port(line_member,
+ &(adjustment->value));
+}
+
+void
+ags_line_member_check_button_clicked_callback(GtkWidget *check_button, AgsLineMember *line_member)
+{
+ line_member->active = gtk_toggle_button_get_active((GtkToggleButton *) check_button);
+ ags_line_member_change_port(line_member,
+ &(line_member->active));
+}
+
+void
+ags_line_member_toggle_button_clicked_callback(GtkWidget *toggle_button, AgsLineMember *line_member)
+{
+ line_member->active = gtk_toggle_button_get_active((GtkToggleButton *) toggle_button);
+ ags_line_member_change_port(line_member,
+ &(line_member->active));
+}
+
+void
+ags_line_member_button_clicked_callback(GtkWidget *button, AgsLineMember *line_member)
+{
+ ags_line_member_change_port(line_member,
+ &(line_member->active));
+}
+void
+ags_line_member_port_safe_write_callback(AgsPort *port, GValue *value,
+ AgsLineMember *line_member)
+{
+ //TODO:JK: implement me
+}
diff --git a/src/ags/X/ags_line_member_callbacks.h b/src/ags/X/ags_line_member_callbacks.h
new file mode 100644
index 0000000..682a073
--- /dev/null
+++ b/src/ags/X/ags_line_member_callbacks.h
@@ -0,0 +1,42 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_MEMBER_CALLBACKS_H__
+#define __AGS_LINE_MEMBER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line_member.h>
+
+int ags_line_member_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLineMember *line_member);
+
+void ags_line_member_dial_changed_callback(GtkWidget *dial, AgsLineMember *line_member);
+void ags_line_member_vscale_changed_callback(GtkWidget *vscale, AgsLineMember *line_member);
+void ags_line_member_hscale_changed_callback(GtkWidget *hscale, AgsLineMember *line_member);
+void ags_line_member_spin_button_changed_callback(GtkWidget *spin_button, AgsLineMember *line_member);
+void ags_line_member_check_button_clicked_callback(GtkWidget *check_button, AgsLineMember *line_member);
+void ags_line_member_toggle_button_clicked_callback(GtkWidget *toggle_button, AgsLineMember *line_member);
+void ags_line_member_button_clicked_callback(GtkWidget *button, AgsLineMember *line_member);
+
+void ags_line_member_port_safe_write_callback(AgsPort *port, GValue *value,
+ AgsLineMember *line_member);
+
+#endif /*__AGS_LINE_MEMBER_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_line_member_editor.c b/src/ags/X/ags_line_member_editor.c
new file mode 100644
index 0000000..faf9154
--- /dev/null
+++ b/src/ags/X/ags_line_member_editor.c
@@ -0,0 +1,269 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line_member_editor.h>
+#include <ags/X/ags_line_member_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_applicable.h>
+
+#include <ags/audio/ags_recall_ladspa.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_machine_editor.h>
+#include <ags/X/ags_line_editor.h>
+
+void ags_line_member_editor_class_init(AgsLineMemberEditorClass *line_member_editor);
+void ags_line_member_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_line_member_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_line_member_editor_init(AgsLineMemberEditor *line_member_editor);
+void ags_line_member_editor_connect(AgsConnectable *connectable);
+void ags_line_member_editor_disconnect(AgsConnectable *connectable);
+void ags_line_member_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_line_member_editor_apply(AgsApplicable *applicable);
+void ags_line_member_editor_reset(AgsApplicable *applicable);
+void ags_line_member_editor_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_line_member_editor
+ * @short_description: Edit line member's aspects.
+ * @title: AgsLineMemberEditor
+ * @section_id:
+ * @include: ags/X/ags_line_member_editor.h
+ *
+ * #AgsLineMemberEditor is a composite widget to modify line member. A line member
+ * editor should be packed by a #AgsLineEditor. You may add/remove plugins with this
+ * editor.
+ */
+
+GType
+ags_line_member_editor_get_type(void)
+{
+ static GType ags_type_line_member_editor = 0;
+
+ if(!ags_type_line_member_editor){
+ static const GTypeInfo ags_line_member_editor_info = {
+ sizeof (AgsLineMemberEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_line_member_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLineMemberEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_line_member_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_line_member_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_line_member_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_line_member_editor = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsLineMemberEditor\0", &ags_line_member_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_line_member_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_line_member_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_line_member_editor);
+}
+
+void
+ags_line_member_editor_class_init(AgsLineMemberEditorClass *line_member_editor)
+{
+ /* empty */
+}
+
+void
+ags_line_member_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_line_member_editor_connect;
+ connectable->disconnect = ags_line_member_editor_disconnect;
+}
+
+void
+ags_line_member_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_line_member_editor_set_update;
+ applicable->apply = ags_line_member_editor_apply;
+ applicable->reset = ags_line_member_editor_reset;
+}
+
+void
+ags_line_member_editor_init(AgsLineMemberEditor *line_member_editor)
+{
+ GtkHBox *hbox;
+
+ line_member_editor->line_member = (GtkVBox *) gtk_vbox_new(FALSE, 2);
+ gtk_box_pack_start((GtkBox *) line_member_editor,
+ (GtkWidget *) line_member_editor->line_member,
+ FALSE, FALSE,
+ 0);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 2);
+ gtk_box_pack_start((GtkBox *) line_member_editor,
+ (GtkWidget *) hbox,
+ FALSE, FALSE,
+ 0);
+
+ line_member_editor->add = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_ADD);
+ gtk_box_pack_start((GtkBox *) hbox,
+ (GtkWidget *) line_member_editor->add,
+ FALSE, FALSE,
+ 0);
+
+ line_member_editor->remove = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_REMOVE);
+ gtk_box_pack_start((GtkBox *) hbox,
+ (GtkWidget *) line_member_editor->remove,
+ FALSE, FALSE,
+ 0);
+
+ line_member_editor->ladspa_browser = ags_ladspa_browser_new(line_member_editor);
+}
+
+void
+ags_line_member_editor_connect(AgsConnectable *connectable)
+{
+ AgsLineMemberEditor *line_member_editor;
+
+ line_member_editor = AGS_LINE_MEMBER_EDITOR(connectable);
+
+ g_signal_connect(G_OBJECT(line_member_editor->add), "clicked\0",
+ G_CALLBACK(ags_line_member_editor_add_callback), line_member_editor);
+
+ g_signal_connect(G_OBJECT(line_member_editor->remove), "clicked\0",
+ G_CALLBACK(ags_line_member_editor_remove_callback), line_member_editor);
+
+ ags_connectable_connect(AGS_CONNECTABLE(line_member_editor->ladspa_browser));
+
+ g_signal_connect(G_OBJECT(line_member_editor->ladspa_browser), "response\0",
+ G_CALLBACK(ags_line_member_editor_ladspa_browser_response_callback), line_member_editor);
+}
+
+void
+ags_line_member_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_line_member_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsLineMemberEditor *line_member_editor;
+
+ line_member_editor = AGS_LINE_MEMBER_EDITOR(applicable);
+
+ /* empty */
+}
+
+void
+ags_line_member_editor_apply(AgsApplicable *applicable)
+{
+ AgsLineMemberEditor *line_member_editor;
+
+ line_member_editor = AGS_LINE_MEMBER_EDITOR(applicable);
+
+ /* empty */
+}
+
+void
+ags_line_member_editor_reset(AgsApplicable *applicable)
+{
+ AgsMachineEditor *machine_editor;
+ AgsLineEditor *line_editor;
+ AgsLineMemberEditor *line_member_editor;
+ GtkHBox *hbox;
+ GtkCheckButton *check_button;
+ GtkLabel *label;
+ GList *recall_ladspa;
+ gchar *filename, *effect;
+
+ line_member_editor = AGS_LINE_MEMBER_EDITOR(applicable);
+
+ machine_editor = (AgsMachineEditor *) gtk_widget_get_ancestor(line_member_editor,
+ AGS_TYPE_MACHINE_EDITOR);
+ line_editor = (AgsLineEditor *) gtk_widget_get_ancestor(line_member_editor,
+ AGS_TYPE_LINE_EDITOR);
+
+ recall_ladspa = line_editor->channel->recall;
+
+ while((recall_ladspa = ags_recall_template_find_type(recall_ladspa,
+ AGS_TYPE_RECALL_LADSPA)) != NULL){
+ g_object_get(G_OBJECT(recall_ladspa->data),
+ "filename\0", &filename,
+ "effect\0", &effect,
+ NULL);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(line_member_editor->line_member),
+ GTK_WIDGET(hbox),
+ FALSE, FALSE,
+ 0);
+
+ check_button = (GtkCheckButton *) gtk_check_button_new();
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(check_button),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) gtk_label_new(g_strdup_printf("%s - %s\0",
+ filename,
+ effect));
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+ gtk_widget_show_all((GtkWidget *) hbox);
+
+ recall_ladspa = recall_ladspa->next;
+ }
+}
+
+/**
+ * ags_line_member_editor_new:
+ *
+ * Creates an #AgsLineMemberEditor
+ *
+ * Returns: a new #AgsLineMemberEditor
+ *
+ * Since: 0.4
+ */
+AgsLineMemberEditor*
+ags_line_member_editor_new()
+{
+ AgsLineMemberEditor *line_member_editor;
+
+ line_member_editor = (AgsLineMemberEditor *) g_object_new(AGS_TYPE_LINE_MEMBER_EDITOR,
+ NULL);
+
+ return(line_member_editor);
+}
diff --git a/src/ags/X/ags_line_member_editor.h b/src/ags/X/ags_line_member_editor.h
new file mode 100644
index 0000000..72d8b0e
--- /dev/null
+++ b/src/ags/X/ags_line_member_editor.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_MEMBER_EDITOR_H__
+#define __AGS_LINE_MEMBER_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_ladspa_browser.h>
+
+#define AGS_TYPE_LINE_MEMBER_EDITOR (ags_line_member_editor_get_type())
+#define AGS_LINE_MEMBER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINE_MEMBER_EDITOR, AgsLineMemberEditor))
+#define AGS_LINE_MEMBER_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINE_MEMBER_EDITOR, AgsLineMemberEditorClass))
+#define AGS_IS_LINE_MEMBER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINE_MEMBER_EDITOR))
+#define AGS_IS_LINE_MEMBER_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINE_MEMBER_EDITOR))
+#define AGS_LINE_MEMBER_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINE_MEMBER_EDITOR, AgsLineMemberEditorClass))
+
+typedef struct _AgsLineMemberEditor AgsLineMemberEditor;
+typedef struct _AgsLineMemberEditorClass AgsLineMemberEditorClass;
+
+struct _AgsLineMemberEditor
+{
+ GtkVBox vbox;
+
+ GtkVBox *line_member;
+
+ GtkButton *add;
+ GtkMenu *popup;
+
+ GtkButton *remove;
+
+ AgsLadspaBrowser *ladspa_browser;
+};
+
+struct _AgsLineMemberEditorClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_line_member_editor_get_type(void);
+
+AgsLineMemberEditor* ags_line_member_editor_new();
+
+#endif /*__AGS_LINE_MEMBER_EDITOR_H__*/
diff --git a/src/ags/X/ags_line_member_editor_callbacks.c b/src/ags/X/ags_line_member_editor_callbacks.c
new file mode 100644
index 0000000..1f4eeae
--- /dev/null
+++ b/src/ags/X/ags_line_member_editor_callbacks.c
@@ -0,0 +1,384 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_line_member_editor_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_output.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_effect_bridge.h>
+#include <ags/X/ags_effect_pad.h>
+#include <ags/X/ags_effect_line.h>
+#include <ags/X/ags_line_member.h>
+#include <ags/X/ags_machine_editor.h>
+#include <ags/X/ags_line_editor.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <ladspa.h>
+
+void
+ags_line_member_editor_add_callback(GtkWidget *button,
+ AgsLineMemberEditor *line_member_editor)
+{
+ gtk_widget_show_all(line_member_editor->ladspa_browser);
+}
+
+void
+ags_line_member_editor_ladspa_browser_response_callback(GtkDialog *dialog,
+ gint response,
+ AgsLineMemberEditor *line_member_editor)
+{
+ AgsMachine *machine;
+ AgsMachineEditor *machine_editor;
+ AgsLineEditor *line_editor;
+
+ GList *pad, *pad_start;
+ GList *list, *list_start;
+ gchar *filename, *effect;
+ gboolean has_bridge;
+ gboolean is_output;
+
+ auto void ags_line_member_editor_ladspa_browser_response_create_entry();
+
+ void ags_line_member_editor_ladspa_browser_response_create_entry(){
+ GtkHBox *hbox;
+ GtkCheckButton *check_button;
+ GtkLabel *label;
+
+ /* create entry */
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(line_member_editor->line_member),
+ GTK_WIDGET(hbox),
+ FALSE, FALSE,
+ 0);
+
+ check_button = (GtkCheckButton *) gtk_check_button_new();
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(check_button),
+ FALSE, FALSE,
+ 0);
+
+ //TODO:JK: ugly
+ label = (GtkLabel *) gtk_label_new(g_strdup_printf("%s - %s\0",
+ filename,
+ effect));
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+ gtk_widget_show_all((GtkWidget *) hbox);
+ }
+
+ switch(response){
+ case GTK_RESPONSE_ACCEPT:
+ {
+ machine_editor = (AgsMachineEditor *) gtk_widget_get_ancestor(line_member_editor,
+ AGS_TYPE_MACHINE_EDITOR);
+ line_editor = (AgsLineEditor *) gtk_widget_get_ancestor(line_member_editor,
+ AGS_TYPE_LINE_EDITOR);
+
+ machine = machine_editor->machine;
+
+ if(AGS_IS_OUTPUT(line_editor->channel)){
+ is_output = TRUE;
+ }else{
+ is_output = FALSE;
+ }
+
+ if(machine->bridge != NULL){
+ has_bridge = TRUE;
+ }else{
+ has_bridge = FALSE;
+ }
+
+ if(!has_bridge){
+ AgsLine *line;
+
+ /* find pad and line */
+ line = NULL;
+
+ if(is_output){
+ pad_start =
+ pad = gtk_container_get_children(machine_editor->machine->output);
+ }else{
+ pad_start =
+ pad = gtk_container_get_children(machine_editor->machine->input);
+ }
+
+ pad = g_list_nth(pad,
+ line_editor->channel->pad);
+
+ if(pad != NULL){
+ list_start =
+ list = gtk_container_get_children(AGS_PAD(pad->data)->expander_set);
+
+ while(list != NULL){
+ if(AGS_LINE(list->data)->channel == line_editor->channel){
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list != NULL){
+ line = AGS_LINE(list->data);
+ g_list_free(list_start);
+ }
+ }
+
+ g_list_free(pad_start);
+
+ /* retrieve plugin */
+ filename = ags_ladspa_browser_get_plugin_filename(line_member_editor->ladspa_browser);
+ effect = ags_ladspa_browser_get_plugin_effect(line_member_editor->ladspa_browser);
+
+ if(line != NULL){
+ ags_line_member_editor_ladspa_browser_response_create_entry();
+
+ /* add effect */
+ ags_line_add_effect(line,
+ filename,
+ effect);
+ }
+ }else{
+ AgsEffectBridge *effect_bridge;
+ AgsEffectLine *effect_line;
+
+ effect_bridge = machine->bridge;
+
+ if(is_output){
+ pad_start =
+ pad = gtk_container_get_children(effect_bridge->output);
+ }else{
+ pad_start =
+ pad = gtk_container_get_children(effect_bridge->input);
+ }
+
+ pad = g_list_nth(pad,
+ line_editor->channel->pad);
+
+ if(pad != NULL){
+ list_start =
+ list = gtk_container_get_children(AGS_EFFECT_PAD(pad->data)->table);
+
+ while(list != NULL){
+ if(AGS_EFFECT_LINE(list->data)->channel == line_editor->channel){
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list != NULL){
+ effect_line = AGS_EFFECT_LINE(list->data);
+ g_list_free(list_start);
+ }
+ }
+
+ g_list_free(pad_start);
+
+ /* retrieve plugin */
+ filename = ags_ladspa_browser_get_plugin_filename(line_member_editor->ladspa_browser);
+ effect = ags_ladspa_browser_get_plugin_effect(line_member_editor->ladspa_browser);
+
+ if(effect_line != NULL){
+ ags_line_member_editor_ladspa_browser_response_create_entry();
+
+ /* add effect */
+ ags_effect_line_add_effect(effect_line,
+ filename,
+ effect);
+ }
+ }
+ }
+ break;
+ }
+}
+
+void
+ags_line_member_editor_remove_callback(GtkWidget *button,
+ AgsLineMemberEditor *line_member_editor)
+{
+ AgsMachine *machine;
+ AgsMachineEditor *machine_editor;
+ AgsLineEditor *line_editor;
+
+ GList *line_member;
+ GList *list, *list_start, *pad, *pad_start;
+ GList *children;
+ guint nth;
+ gboolean has_bridge;
+ gboolean is_output;
+
+ auto void ags_line_member_editor_ladspa_browser_response_destroy_entry();
+
+ void ags_line_member_editor_ladspa_browser_response_destroy_entry(){
+ /* destroy line member editor entry */
+ gtk_widget_destroy(GTK_WIDGET(line_member->data));
+ }
+
+ if(button == NULL ||
+ line_member_editor == NULL){
+ return;
+ }
+
+ machine_editor = (AgsMachineEditor *) gtk_widget_get_ancestor(line_member_editor,
+ AGS_TYPE_MACHINE_EDITOR);
+ line_editor = (AgsLineEditor *) gtk_widget_get_ancestor(line_member_editor,
+ AGS_TYPE_LINE_EDITOR);
+
+ line_member = gtk_container_get_children(GTK_CONTAINER(line_member_editor->line_member));
+
+ machine = machine_editor->machine;
+
+ if(AGS_IS_OUTPUT(line_editor->channel)){
+ is_output = TRUE;
+ }else{
+ is_output = FALSE;
+ }
+
+ if(machine->bridge != NULL){
+ has_bridge = TRUE;
+ }else{
+ has_bridge = FALSE;
+ }
+
+ if(!has_bridge){
+ AgsLine *line;
+
+ /* retrieve line and pad */
+ line = NULL;
+
+ if(AGS_IS_OUTPUT(line_editor->channel)){
+ pad_start =
+ pad = gtk_container_get_children(machine->output);
+ }else{
+ pad_start =
+ pad = gtk_container_get_children(machine->input);
+ }
+
+ pad = g_list_nth(pad,
+ line_editor->channel->pad);
+
+ if(pad != NULL){
+ list_start =
+ list = gtk_container_get_children(AGS_PAD(pad->data)->expander_set);
+
+ while(list != NULL){
+ if(AGS_LINE(list->data)->channel == line_editor->channel){
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list != NULL){
+ line = AGS_LINE(list->data);
+ g_list_free(list_start);
+ }
+ }
+
+ g_list_free(pad_start);
+
+ /* iterate line member */
+ if(line != NULL){
+ for(nth = 0; line_member != NULL; nth++){
+
+ children = gtk_container_get_children(GTK_CONTAINER(line_member->data));
+
+ if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(children->data))){
+ ags_line_member_editor_ladspa_browser_response_destroy_entry();
+
+ /* remove effect */
+ ags_line_remove_effect(line,
+ nth);
+ }
+
+ line_member = line_member->next;
+ }
+ }
+ }else{
+ AgsEffectBridge *effect_bridge;
+ AgsEffectLine *effect_line;
+
+ effect_bridge = machine->bridge;
+
+ if(is_output){
+ pad_start =
+ pad = gtk_container_get_children(effect_bridge->output);
+ }else{
+ pad_start =
+ pad = gtk_container_get_children(effect_bridge->input);
+ }
+
+ pad = g_list_nth(pad,
+ line_editor->channel->pad);
+
+ if(pad != NULL){
+ list_start =
+ list = gtk_container_get_children(AGS_EFFECT_PAD(pad->data)->table);
+
+ while(list != NULL){
+ if(AGS_EFFECT_LINE(list->data)->channel == line_editor->channel){
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list != NULL){
+ effect_line = AGS_EFFECT_LINE(list->data);
+ g_list_free(list_start);
+ }
+ }
+
+ g_list_free(pad_start);
+
+ /* iterate line member */
+ if(effect_line != NULL){
+ for(nth = 0; line_member != NULL; nth++){
+
+ children = gtk_container_get_children(GTK_CONTAINER(line_member->data));
+
+ if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(children->data))){
+ ags_line_member_editor_ladspa_browser_response_destroy_entry();
+
+ /* remove effect */
+ ags_effect_line_remove_effect(effect_line,
+ nth);
+ }
+
+ line_member = line_member->next;
+ }
+ }
+ }
+}
diff --git a/src/ags/X/ags_line_member_editor_callbacks.h b/src/ags/X/ags_line_member_editor_callbacks.h
new file mode 100644
index 0000000..ef62fba
--- /dev/null
+++ b/src/ags/X/ags_line_member_editor_callbacks.h
@@ -0,0 +1,38 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINE_MEMBER_EDITOR_CALLBACKS_H__
+#define __AGS_LINE_MEMBER_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line_member_editor.h>
+
+void ags_line_member_editor_add_callback(GtkWidget *button,
+ AgsLineMemberEditor *line_member_editor);
+void ags_line_member_editor_remove_callback(GtkWidget *button,
+ AgsLineMemberEditor *line_member_editor);
+
+void ags_line_member_editor_ladspa_browser_response_callback(GtkDialog *dialog,
+ gint response,
+ AgsLineMemberEditor *line_member_editor);
+
+#endif /*__AGS_LINE_MEMBER_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_link_collection_editor.c b/src/ags/X/ags_link_collection_editor.c
new file mode 100644
index 0000000..24b8a80
--- /dev/null
+++ b/src/ags/X/ags_link_collection_editor.c
@@ -0,0 +1,600 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_link_collection_editor.h>
+#include <ags/X/ags_link_collection_editor_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/audio/task/ags_link_channel.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_machine_editor.h>
+
+void ags_link_collection_editor_class_init(AgsLinkCollectionEditorClass *link_collection_editor);
+void ags_link_collection_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_link_collection_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_link_collection_editor_init(AgsLinkCollectionEditor *link_collection_editor);
+void ags_link_collection_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_link_collection_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_link_collection_editor_connect(AgsConnectable *connectable);
+void ags_link_collection_editor_disconnect(AgsConnectable *connectable);
+void ags_link_collection_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_link_collection_editor_apply(AgsApplicable *applicable);
+void ags_link_collection_editor_reset(AgsApplicable *applicable);
+void ags_link_collection_editor_destroy(GtkObject *object);
+void ags_link_collection_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_link_collection_editor
+ * @short_description: Edit links in bulk mode.
+ * @title: AgsLinkCollectionEditor
+ * @section_id:
+ * @include: ags/X/ags_link_collection_editor.h
+ *
+ * #AgsLinkCollectionEditor is a composite widget to modify links in bulk mode. A link collection
+ * editor should be packed by a #AgsMachineEditor.
+ */
+
+enum{
+ PROP_0,
+ PROP_CHANNEL_TYPE,
+};
+
+static gpointer ags_link_collection_editor_parent_class = NULL;
+
+GType
+ags_link_collection_editor_get_type(void)
+{
+ static GType ags_type_link_collection_editor = 0;
+
+ if(!ags_type_link_collection_editor){
+ static const GTypeInfo ags_link_collection_editor_info = {
+ sizeof (AgsLinkCollectionEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_link_collection_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLinkCollectionEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_link_collection_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_link_collection_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_link_collection_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_link_collection_editor = g_type_register_static(GTK_TYPE_TABLE,
+ "AgsLinkCollectionEditor\0",
+ &ags_link_collection_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_link_collection_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_link_collection_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_link_collection_editor);
+}
+
+void
+ags_link_collection_editor_class_init(AgsLinkCollectionEditorClass *link_collection_editor)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_link_collection_editor_parent_class = g_type_class_peek_parent(link_collection_editor);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) link_collection_editor;
+
+ gobject->set_property = ags_link_collection_editor_set_property;
+ gobject->get_property = ags_link_collection_editor_get_property;
+
+ /* properties */
+ /**
+ * AgsLinkCollectionEditor:channel-type:
+ *
+ * The channel type to apply to. Either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT.
+ *
+ * Since: 0.3
+ */
+ param_spec = g_param_spec_gtype("channel-type\0",
+ "assigned channel type\0",
+ "The channel type which this channel link collection editor is assigned with\0",
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL_TYPE,
+ param_spec);
+}
+
+void
+ags_link_collection_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_link_collection_editor_connect;
+ connectable->disconnect = ags_link_collection_editor_disconnect;
+}
+
+void
+ags_link_collection_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_link_collection_editor_set_update;
+ applicable->apply = ags_link_collection_editor_apply;
+ applicable->reset = ags_link_collection_editor_reset;
+}
+
+void
+ags_link_collection_editor_init(AgsLinkCollectionEditor *link_collection_editor)
+{
+ GtkAlignment *alignment;
+ GtkLabel *label;
+ GtkCellRenderer *cell_renderer;
+ GtkListStore *model;
+ GtkTreeIter iter;
+
+ g_signal_connect_after(GTK_WIDGET(link_collection_editor), "parent_set\0",
+ G_CALLBACK(ags_link_collection_editor_parent_set_callback), link_collection_editor);
+
+ gtk_table_resize(GTK_TABLE(link_collection_editor),
+ 4, 2);
+ gtk_table_set_row_spacings(GTK_TABLE(link_collection_editor),
+ 4);
+ gtk_table_set_col_spacings(GTK_TABLE(link_collection_editor),
+ 2);
+
+ /* link */
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 0, 1,
+ 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("link\0");
+ gtk_container_add(GTK_CONTAINER(alignment), GTK_WIDGET(label));
+
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ link_collection_editor->link = (GtkComboBox *) gtk_combo_box_new();
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(link_collection_editor->link));
+
+ model = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_POINTER);
+
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, "NULL\0",
+ 1, NULL,
+ -1);
+
+ cell_renderer = gtk_cell_renderer_text_new();
+ gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(link_collection_editor->link),
+ cell_renderer,
+ FALSE);
+ gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(link_collection_editor->link),
+ cell_renderer,
+ "text\0", 0,
+ NULL);
+
+ gtk_combo_box_set_model(link_collection_editor->link,
+ GTK_TREE_MODEL(model));
+
+ /* first line */
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 0, 1,
+ 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("first line\0");
+ gtk_container_add(GTK_CONTAINER(alignment), GTK_WIDGET(label));
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ link_collection_editor->first_line = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 0.0, 1.0);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(link_collection_editor->first_line));
+
+ /* first link line */
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 0, 1,
+ 2, 3,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("first link line\0");
+ gtk_container_add(GTK_CONTAINER(alignment), GTK_WIDGET(label));
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 2, 3,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ link_collection_editor->first_link = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 0.0, 1.0);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(link_collection_editor->first_link));
+
+ /* count */
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 0, 1,
+ 3, 4,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("count\0");
+ gtk_container_add(GTK_CONTAINER(alignment), GTK_WIDGET(label));
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(GTK_TABLE(link_collection_editor),
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 3, 4,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ link_collection_editor->count = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 0.0, 1.0);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(link_collection_editor->count));
+}
+
+void
+ags_link_collection_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+
+ link_collection_editor = AGS_LINK_COLLECTION_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL_TYPE:
+ link_collection_editor->channel_type = g_value_get_gtype(value);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_link_collection_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+
+ link_collection_editor = AGS_LINK_COLLECTION_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL_TYPE:
+ g_value_set_gtype(value, link_collection_editor->channel_type);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_link_collection_editor_connect(AgsConnectable *connectable)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+ GList *pad_list;
+
+ /* AgsLinkCollectionEditor */
+ link_collection_editor = AGS_LINK_COLLECTION_EDITOR(connectable);
+
+ g_signal_connect_after(G_OBJECT(link_collection_editor->link), "changed\0",
+ G_CALLBACK(ags_link_collection_editor_link_callback), link_collection_editor);
+
+ g_signal_connect_after(G_OBJECT(link_collection_editor->first_line), "value-changed\0",
+ G_CALLBACK(ags_link_collection_editor_first_line_callback), link_collection_editor);
+
+ g_signal_connect_after(G_OBJECT(link_collection_editor->first_link), "value-changed\0",
+ G_CALLBACK(ags_link_collection_editor_first_link_callback), link_collection_editor);
+}
+
+void
+ags_link_collection_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_link_collection_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+
+ link_collection_editor = AGS_LINK_COLLECTION_EDITOR(applicable);
+
+ /* empty */
+}
+
+void
+ags_link_collection_editor_apply(AgsApplicable *applicable)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+ GtkTreeIter iter;
+
+ link_collection_editor = AGS_LINK_COLLECTION_EDITOR(applicable);
+
+ if(gtk_combo_box_get_active_iter(link_collection_editor->link,
+ &iter)){
+ AgsMachine *machine, *link_machine;
+ AgsMachineEditor *machine_editor;
+ AgsChannel *channel, *link;
+ AgsLinkChannel *link_channel;
+ GtkTreeModel *model;
+ GList *task;
+ guint first_line, count;
+ guint i;
+ GError *error;
+
+ machine_editor = AGS_MACHINE_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(link_collection_editor),
+ AGS_TYPE_MACHINE_EDITOR));
+ machine = machine_editor->machine;
+
+ first_line = (guint) gtk_spin_button_get_value_as_int(link_collection_editor->first_line);
+
+ if(link_collection_editor->channel_type == AGS_TYPE_INPUT)
+ channel = ags_channel_nth(machine_editor->machine->audio->input, first_line);
+ else
+ channel = ags_channel_nth(machine_editor->machine->audio->output, first_line);
+
+ model = gtk_combo_box_get_model(link_collection_editor->link);
+ gtk_tree_model_get(model,
+ &iter,
+ 1, &link_machine,
+ -1);
+
+ task = NULL;
+
+ count = (guint) gtk_spin_button_get_value_as_int(link_collection_editor->count);
+
+ error = NULL;
+
+ if(link_machine == NULL){
+ for(i = 0; i < count; i++){
+ /* create task */
+ link_channel = ags_link_channel_new(channel, NULL);
+ task = g_list_prepend(task, link_channel);
+
+ channel = channel->next;
+ }
+
+ /* append AgsLinkChannel */
+ task = g_list_reverse(task);
+ ags_task_thread_append_tasks(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(machine->audio->devout)->ags_main)->main_loop)->task_thread),
+ task);
+ }else{
+ guint first_link;
+
+ first_link = (guint) gtk_spin_button_get_value_as_int(link_collection_editor->first_link);
+
+
+ if(link_collection_editor->channel_type == AGS_TYPE_INPUT)
+ link = ags_channel_nth(link_machine->audio->output, first_link);
+ else
+ link = ags_channel_nth(link_machine->audio->input, first_link);
+
+ for(i = 0; i < count; i++){
+ /* create task */
+ link_channel = ags_link_channel_new(channel, link);
+ task = g_list_prepend(task, link_channel);
+
+ channel = channel->next;
+ link = link->next;
+ }
+
+
+ task = g_list_reverse(task);
+ ags_task_thread_append_tasks(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(machine->audio->devout)->ags_main)->main_loop)->task_thread),
+ task);
+ }
+ }
+}
+
+void
+ags_link_collection_editor_reset(AgsApplicable *applicable)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+
+ link_collection_editor = AGS_LINK_COLLECTION_EDITOR(applicable);
+
+ /* empty */
+}
+
+void
+ags_link_collection_editor_destroy(GtkObject *object)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+
+ link_collection_editor = (AgsLinkCollectionEditor *) object;
+}
+
+void
+ags_link_collection_editor_show(GtkWidget *widget)
+{
+ AgsLinkCollectionEditor *link_collection_editor = (AgsLinkCollectionEditor *) widget;
+}
+
+/**
+ * ags_link_collection_editor_check:
+ * @link_collection_editor: the #AgsLinkCollectionEditor
+ *
+ * Checks for possible channels to link. And modifies its ranges.
+ *
+ * Since: 0.3
+ */
+void
+ags_link_collection_editor_check(AgsLinkCollectionEditor *link_collection_editor)
+{
+ GtkTreeIter iter;
+
+ if(gtk_combo_box_get_active_iter(link_collection_editor->link,
+ &iter)){
+ AgsMachine *link_machine;
+ AgsMachineEditor *machine_editor;
+ GtkTreeModel *model;
+ gdouble first_line, first_line_stop, first_line_range;
+ gdouble first_link, first_link_stop, first_link_range;
+ gdouble max;
+
+ first_line = gtk_spin_button_get_value(link_collection_editor->first_line);
+
+ machine_editor = AGS_MACHINE_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(link_collection_editor),
+ AGS_TYPE_MACHINE_EDITOR));
+
+ if(link_collection_editor->channel_type == AGS_TYPE_INPUT)
+ first_line_stop = (gdouble) machine_editor->machine->audio->input_lines;
+ else
+ first_line_stop = (gdouble) machine_editor->machine->audio->output_lines;
+
+
+ /* link machine */
+ first_link = gtk_spin_button_get_value(link_collection_editor->first_link);
+
+ model = gtk_combo_box_get_model(link_collection_editor->link);
+ gtk_tree_model_get(model,
+ &iter,
+ 1, &link_machine,
+ -1);
+
+ first_line_range = first_line_stop - first_line;
+
+ if(link_machine != NULL){
+ if(link_collection_editor->channel_type == AGS_TYPE_INPUT)
+ first_link_stop = (gdouble) link_machine->audio->output_lines;
+ else
+ first_link_stop = (gdouble) link_machine->audio->input_lines;
+
+ first_link_range = first_link_stop - first_link;
+
+ if(first_line_range > first_link_range)
+ max = first_link_range;
+ else
+ max = first_line_range;
+ }else{
+ first_link_stop = 0.0;
+ max = first_line_range;
+ }
+
+ gtk_spin_button_set_range(link_collection_editor->first_line,
+ 0.0, first_line_stop - 1.0);
+
+ if(link_machine == NULL)
+ gtk_spin_button_set_range(link_collection_editor->first_link,
+ 0.0, 0.0);
+ else
+ gtk_spin_button_set_range(link_collection_editor->first_link,
+ 0.0, first_link_stop - 1.0);
+
+ gtk_spin_button_set_range(link_collection_editor->count,
+ 0.0, max);
+ }else{
+ gtk_spin_button_set_range(link_collection_editor->count,
+ -1.0, -1.0);
+ }
+}
+
+/**
+ * ags_link_collection_editor_new:
+ * @channel_type: either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ *
+ * Creates an #AgsLinkCollectionEditor
+ *
+ * Returns: a new #AgsLinkCollectionEditor
+ *
+ * Since: 0.3
+ */
+AgsLinkCollectionEditor*
+ags_link_collection_editor_new(GType channel_type)
+{
+ AgsLinkCollectionEditor *link_collection_editor;
+
+ link_collection_editor = (AgsLinkCollectionEditor *) g_object_new(AGS_TYPE_LINK_COLLECTION_EDITOR,
+ "channel_type\0", channel_type,
+ NULL);
+
+ return(link_collection_editor);
+}
diff --git a/src/ags/X/ags_link_collection_editor.h b/src/ags/X/ags_link_collection_editor.h
new file mode 100644
index 0000000..7230612
--- /dev/null
+++ b/src/ags/X/ags_link_collection_editor.h
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINK_COLLECTION_EDITOR_H__
+#define __AGS_LINK_COLLECTION_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_LINK_COLLECTION_EDITOR (ags_link_collection_editor_get_type())
+#define AGS_LINK_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINK_COLLECTION_EDITOR, AgsLinkCollectionEditor))
+#define AGS_LINK_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINK_COLLECTION_EDITOR, AgsLinkCollectionEditorClass))
+#define AGS_IS_LINK_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINK_COLLECTION_EDITOR))
+#define AGS_IS_LINK_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINK_COLLECTION_EDITOR))
+#define AGS_LINK_COLLECTION_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LINK_COLLECTION_EDITOR, AgsLinkCollectionEditorClass))
+
+typedef struct _AgsLinkCollectionEditor AgsLinkCollectionEditor;
+typedef struct _AgsLinkCollectionEditorClass AgsLinkCollectionEditorClass;
+
+struct _AgsLinkCollectionEditor
+{
+ GtkTable table;
+
+ GType channel_type;
+
+ GtkComboBox *link;
+ GtkSpinButton *first_line;
+ GtkSpinButton *first_link;
+ GtkSpinButton *count;
+};
+
+struct _AgsLinkCollectionEditorClass
+{
+ GtkTableClass table;
+};
+
+GType ags_link_collection_editor_get_type();
+
+void ags_link_collection_editor_check_first_line(AgsLinkCollectionEditor *link_collection_editor);
+
+void ags_link_collection_editor_check_first_link(AgsLinkCollectionEditor *link_collection_editor);
+
+void ags_link_collection_editor_check_count(AgsLinkCollectionEditor *link_collection_editor);
+
+AgsLinkCollectionEditor* ags_link_collection_editor_new();
+
+#endif /*__AGS_LINK_COLLECTION_EDITOR_H__*/
diff --git a/src/ags/X/ags_link_collection_editor_callbacks.c b/src/ags/X/ags_link_collection_editor_callbacks.c
new file mode 100644
index 0000000..25454e8
--- /dev/null
+++ b/src/ags/X/ags_link_collection_editor_callbacks.c
@@ -0,0 +1,60 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_link_collection_editor_callbacks.h>
+
+#include <ags/X/ags_machine_editor.h>
+
+int
+ags_link_collection_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent,
+ AgsLinkCollectionEditor *link_collection_editor)
+{
+ AgsMachineEditor *machine_editor;
+
+ if(old_parent != NULL)
+ return(0);
+
+ machine_editor = (AgsMachineEditor *) gtk_widget_get_ancestor(widget,
+ AGS_TYPE_MACHINE_EDITOR);
+
+ if(machine_editor != NULL &&
+ machine_editor->machine != NULL){
+ gtk_combo_box_set_model(link_collection_editor->link,
+ GTK_TREE_MODEL(ags_machine_get_possible_links(machine_editor->machine)));
+
+ ags_link_collection_editor_check(link_collection_editor);
+ }
+}
+
+void ags_link_collection_editor_link_callback(GtkComboBox *combo,
+ AgsLinkCollectionEditor *link_collection_editor)
+{
+ ags_link_collection_editor_check(link_collection_editor);
+}
+
+void ags_link_collection_editor_first_line_callback(GtkSpinButton *spin_button,
+ AgsLinkCollectionEditor *link_collection_editor)
+{
+ ags_link_collection_editor_check(link_collection_editor);
+}
+
+void ags_link_collection_editor_first_link_callback(GtkSpinButton *spin_button,
+ AgsLinkCollectionEditor *link_collection_editor)
+{
+ ags_link_collection_editor_check(link_collection_editor);
+}
diff --git a/src/ags/X/ags_link_collection_editor_callbacks.h b/src/ags/X/ags_link_collection_editor_callbacks.h
new file mode 100644
index 0000000..9914744
--- /dev/null
+++ b/src/ags/X/ags_link_collection_editor_callbacks.h
@@ -0,0 +1,44 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINK_COLLECTION_EDITOR_CALLBACKS_H__
+#define __AGS_LINK_COLLECTION_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_link_collection_editor.h>
+
+int ags_link_collection_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent,
+ AgsLinkCollectionEditor *link_collection_editor);
+
+/* control widgets */
+void ags_link_collection_editor_link_callback(GtkComboBox *combo,
+ AgsLinkCollectionEditor *link_collection_editor);
+
+void ags_link_collection_editor_first_line_callback(GtkSpinButton *spin_button,
+ AgsLinkCollectionEditor *link_collection_editor);
+
+void ags_link_collection_editor_first_link_callback(GtkSpinButton *spin_button,
+ AgsLinkCollectionEditor *link_collection_editor);
+
+void ags_link_collection_editor_count_callback(GtkSpinButton *spin_button,
+ AgsLinkCollectionEditor *link_collection_editor);
+
+#endif /*__AGS_LINK_COLLECTION_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_link_editor.c b/src/ags/X/ags_link_editor.c
new file mode 100644
index 0000000..45d9eaf
--- /dev/null
+++ b/src/ags/X/ags_link_editor.c
@@ -0,0 +1,351 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_link_editor.h>
+#include <ags/X/ags_link_editor_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/audio/task/ags_link_channel.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_line_editor.h>
+
+void ags_link_editor_class_init(AgsLinkEditorClass *link_editor);
+void ags_link_editor_init(AgsLinkEditor *link_editor);
+void ags_link_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_link_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_link_editor_connect(AgsConnectable *connectable);
+void ags_link_editor_disconnect(AgsConnectable *connectable);
+void ags_link_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_link_editor_apply(AgsApplicable *applicable);
+void ags_link_editor_reset(AgsApplicable *applicable);
+void ags_link_editor_destroy(GtkObject *object);
+void ags_link_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_link_editor
+ * @short_description: Edit links.
+ * @title: AgsLinkEditor
+ * @section_id:
+ * @include: ags/X/ags_link_editor.h
+ *
+ * #AgsLinkEditor is a composite widget to modify links. A link editor
+ * should be packed by a #AgsLineEditor.
+ */
+
+static gpointer ags_link_editor_parent_class = NULL;
+
+GType
+ags_link_editor_get_type(void)
+{
+ static GType ags_type_link_editor = 0;
+
+ if(!ags_type_link_editor){
+ static const GTypeInfo ags_link_editor_info = {
+ sizeof (AgsLinkEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_link_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLinkEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_link_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_link_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_link_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_link_editor = g_type_register_static(GTK_TYPE_HBOX,
+ "AgsLinkEditor\0", &ags_link_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_link_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_link_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_link_editor);
+}
+
+void
+ags_link_editor_class_init(AgsLinkEditorClass *link_editor)
+{
+ ags_link_editor_parent_class = g_type_class_peek_parent(link_editor);
+}
+
+void
+ags_link_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_link_editor_connect;
+ connectable->disconnect = ags_link_editor_disconnect;
+}
+
+void
+ags_link_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_link_editor_set_update;
+ applicable->apply = ags_link_editor_apply;
+ applicable->reset = ags_link_editor_reset;
+}
+
+void
+ags_link_editor_init(AgsLinkEditor *link_editor)
+{
+ GtkCellRenderer *cell_renderer;
+
+ g_signal_connect_after((GObject *) link_editor, "parent_set\0",
+ G_CALLBACK(ags_link_editor_parent_set_callback), (gpointer) link_editor);
+
+ link_editor->flags = 0;
+
+ /* linking machine */
+ link_editor->combo = (GtkComboBox *) gtk_combo_box_new();
+ gtk_box_pack_start(GTK_BOX(link_editor),
+ GTK_WIDGET(link_editor->combo),
+ FALSE, FALSE, 0);
+
+ cell_renderer = gtk_cell_renderer_text_new();
+ gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(link_editor->combo),
+ cell_renderer,
+ FALSE);
+ gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(link_editor->combo),
+ cell_renderer,
+ "text\0", 0,
+ NULL);
+
+ /* link with line */
+ link_editor->spin_button = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 0.0, 1.0);
+ gtk_box_pack_start(GTK_BOX(link_editor),
+ GTK_WIDGET(link_editor->spin_button),
+ FALSE, FALSE, 0);
+
+ link_editor->audio_file = NULL;
+
+ link_editor->file_chooser = NULL;
+}
+
+void
+ags_link_editor_connect(AgsConnectable *connectable)
+{
+ AgsLinkEditor *link_editor;
+
+ link_editor = AGS_LINK_EDITOR(connectable);
+
+ /* GtkObject */
+ g_signal_connect(G_OBJECT(link_editor), "destroy\0",
+ G_CALLBACK(ags_link_editor_destroy_callback), (gpointer) link_editor);
+
+ /* GtkWidget */
+ g_signal_connect(G_OBJECT(link_editor), "show\0",
+ G_CALLBACK(ags_link_editor_show_callback), (gpointer) link_editor);
+
+ /* GtkComboBox */
+ g_signal_connect(G_OBJECT(link_editor->combo), "changed\0",
+ G_CALLBACK(ags_link_editor_combo_callback), link_editor);
+}
+
+void
+ags_link_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_link_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsLinkEditor *link_editor;
+
+ link_editor = AGS_LINK_EDITOR(applicable);
+
+ /* empty */
+}
+
+void
+ags_link_editor_apply(AgsApplicable *applicable)
+{
+ AgsLinkEditor *link_editor;
+ GtkTreeIter iter;
+
+ link_editor = AGS_LINK_EDITOR(applicable);
+
+ if(gtk_combo_box_get_active_iter(link_editor->combo,
+ &iter)){
+ AgsMachine *link_machine;
+ AgsLineEditor *line_editor;
+ AgsChannel *channel, *link;
+ AgsLinkChannel *link_channel;
+ GtkTreeModel *model;
+
+ line_editor = AGS_LINE_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(link_editor),
+ AGS_TYPE_LINE_EDITOR));
+
+ channel = line_editor->channel;
+
+ model = gtk_combo_box_get_model(link_editor->combo);
+ gtk_tree_model_get(model,
+ &iter,
+ 1, &link_machine,
+ -1);
+
+ if(link_machine == NULL){
+ /* create task */
+ link_channel = ags_link_channel_new(channel, NULL);
+
+ /* append AgsLinkChannel */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(link_channel));
+ }else{
+ guint link_line;
+
+ link_line = (guint) gtk_spin_button_get_value_as_int(link_editor->spin_button);
+
+ if(AGS_IS_INPUT(channel))
+ link = ags_channel_nth(link_machine->audio->output,
+ link_line);
+ else
+ link = ags_channel_nth(link_machine->audio->input,
+ link_line);
+
+ /* create task */
+ link_channel = ags_link_channel_new(channel, link);
+
+ /* append AgsLinkChannel */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(link_channel));
+ }
+ }
+}
+
+void
+ags_link_editor_reset(AgsApplicable *applicable)
+{
+ AgsLinkEditor *link_editor;
+ GtkTreeModel *model;
+ GtkTreeIter iter;
+
+ link_editor = AGS_LINK_EDITOR(applicable);
+
+ model = gtk_combo_box_get_model(link_editor->combo);
+
+ if(gtk_tree_model_get_iter_first(model,
+ &iter)){
+ AgsMachine *machine, *link;
+ AgsLineEditor *line_editor;
+ AgsChannel *channel;
+ gint i;
+ gboolean found;
+
+ line_editor = AGS_LINE_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(link_editor),
+ AGS_TYPE_LINE_EDITOR));
+
+ channel = line_editor->channel;
+
+ if(channel->link != NULL)
+ machine = AGS_MACHINE(AGS_AUDIO(channel->link->audio)->machine);
+ else
+ machine = NULL;
+
+ i = 0;
+ found = FALSE;
+
+ do{
+ gtk_tree_model_get(model,
+ &iter,
+ 1, &link,
+ -1);
+
+ if(machine == link){
+ found = TRUE;
+ break;
+ }
+
+ i++;
+ }while(gtk_tree_model_iter_next(model,
+ &iter));
+
+ if(found){
+ gtk_combo_box_set_active(link_editor->combo, i);
+
+ if(channel->link == NULL)
+ gtk_spin_button_set_value(link_editor->spin_button, 0);
+ else
+ gtk_spin_button_set_value(link_editor->spin_button, channel->link->line);
+ }else
+ gtk_combo_box_set_active(link_editor->combo, -1);
+ }
+}
+
+void
+ags_link_editor_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_link_editor_show(GtkWidget *widget)
+{
+ /* empty */
+}
+
+/**
+ * ags_link_editor_new:
+ *
+ * Creates an #AgsLinkEditor
+ *
+ * Returns: a new #AgsLinkEditor
+ *
+ * Since: 0.3
+ */
+AgsLinkEditor*
+ags_link_editor_new()
+{
+ AgsLinkEditor *link_editor;
+
+ link_editor = (AgsLinkEditor *) g_object_new(AGS_TYPE_LINK_EDITOR,
+ NULL);
+
+ return(link_editor);
+}
diff --git a/src/ags/X/ags_link_editor.h b/src/ags/X/ags_link_editor.h
new file mode 100644
index 0000000..a121c39
--- /dev/null
+++ b/src/ags/X/ags_link_editor.h
@@ -0,0 +1,67 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINK_EDITOR_H__
+#define __AGS_LINK_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#define AGS_TYPE_LINK_EDITOR (ags_link_editor_get_type())
+#define AGS_LINK_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_LINK_EDITOR, AgsLinkEditor))
+#define AGS_LINK_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LINK_EDITOR, AgsLinkEditorClass))
+#define AGS_IS_LINK_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LINK_EDITOR))
+#define AGS_IS_LINK_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LINK_EDITOR))
+#define AGS_LINK_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LINK_EDITOR, AgsLinkEditorClass))
+
+typedef struct _AgsLinkEditor AgsLinkEditor;
+typedef struct _AgsLinkEditorClass AgsLinkEditorClass;
+
+typedef enum{
+ AGS_LINK_EDITOR_FILE_CHOOSER_PLAY_DONE = 1,
+}AgsLinkEditorFlags;
+
+struct _AgsLinkEditor
+{
+ GtkHBox hbox;
+
+ guint flags;
+
+ GtkComboBox *combo;
+ GtkSpinButton *spin_button;
+
+ AgsAudioFile *audio_file;
+
+ GtkFileChooserDialog *file_chooser;
+};
+
+struct _AgsLinkEditorClass
+{
+ GtkHBoxClass hbox;
+};
+
+GType ags_link_editor_get_type(void);
+
+AgsLinkEditor* ags_link_editor_new();
+
+#endif /*__AGS_LINK_EDITOR_H__*/
diff --git a/src/ags/X/ags_link_editor_callbacks.c b/src/ags/X/ags_link_editor_callbacks.c
new file mode 100644
index 0000000..e7baa25
--- /dev/null
+++ b/src/ags/X/ags_link_editor_callbacks.c
@@ -0,0 +1,347 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_link_editor_callbacks.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <ags/audio/recall/ags_play_audio_file.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_machine_editor.h>
+#include <ags/X/ags_line_editor.h>
+
+int ags_link_editor_file_chooser_response_callback(GtkWidget *widget, guint response, AgsLinkEditor *link_editor);
+int ags_link_editor_file_chooser_play_callback(GtkToggleButton *toggle_button, AgsLinkEditor *link_editor);
+
+void ags_link_editor_file_chooser_play_done(AgsRecall *recall, AgsLinkEditor *link_editor);
+void ags_link_editor_file_chooser_play_cancel(AgsRecall *recall, AgsLinkEditor *link_editor);
+
+int
+ags_link_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLinkEditor *link_editor)
+{
+ AgsLineEditor *line_editor;
+
+ if(old_parent != NULL)
+ return(0);
+
+ line_editor = (AgsLineEditor *) gtk_widget_get_ancestor(widget, AGS_TYPE_LINE_EDITOR);
+
+ if(line_editor != NULL &&
+ line_editor->channel != NULL &&
+ line_editor->channel->audio != NULL &&
+ AGS_AUDIO(line_editor->channel->audio)->machine != NULL){
+ gtk_combo_box_set_model(link_editor->combo,
+ GTK_TREE_MODEL(ags_machine_get_possible_links(AGS_MACHINE(AGS_AUDIO(line_editor->channel->audio)->machine))));
+ }
+
+ return(0);
+}
+
+int
+ags_link_editor_destroy_callback(GtkObject *object, AgsLinkEditor *link_editor)
+{
+ ags_link_editor_destroy(object);
+ return(0);
+}
+
+int
+ags_link_editor_show_callback(GtkWidget *widget, AgsLinkEditor *link_editor)
+{
+ ags_link_editor_show(widget);
+ return(0);
+}
+
+void
+ags_link_editor_combo_callback(GtkComboBox *combo, AgsLinkEditor *link_editor)
+{
+ GtkTreeIter iter;
+
+ if(gtk_combo_box_get_active_iter(link_editor->combo,
+ &iter)){
+ AgsMachine *machine;
+ AgsLineEditor *line_editor;
+ GtkTreeModel *model;
+ AgsChannel *channel;
+
+ line_editor = AGS_LINE_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(link_editor),
+ AGS_TYPE_LINE_EDITOR));
+
+ channel = line_editor->channel;
+
+ model = gtk_combo_box_get_model(link_editor->combo);
+ gtk_tree_model_get(model,
+ &iter,
+ 1, &machine,
+ -1);
+
+ if(machine == NULL){
+ gtk_spin_button_set_value(link_editor->spin_button, 0.0);
+ }else{
+ if(AGS_IS_INPUT(channel))
+ gtk_spin_button_set_range(link_editor->spin_button, 0.0, (gdouble) (machine->audio->output_lines - 1));
+ else
+ gtk_spin_button_set_range(link_editor->spin_button, 0.0, (gdouble) (machine->audio->input_lines - 1));
+ }
+ }
+}
+
+int
+ags_link_editor_option_changed_callback(GtkWidget *widget, AgsLinkEditor *link_editor)
+{
+ /*
+ AgsLineEditor *line_editor;
+ AgsMachine *machine;
+
+ machine = (AgsMachine *) g_object_get_data((GObject *) link_editor->option->menu_item, g_type_name(AGS_TYPE_MACHINE));
+
+ if(machine == NULL)
+ return;
+
+ line_editor = (AgsLineEditor *) gtk_widget_get_ancestor((GtkWidget *) link_editor, AGS_TYPE_LINE_EDITOR);
+ link_editor->spin_button->adjustment->upper = (gdouble) (AGS_IS_OUTPUT(line_editor->channel) ? machine->audio->input_lines - 1: machine->audio->output_lines - 1);
+ */
+}
+
+int
+ags_link_editor_menu_item_callback(GtkWidget *widget, AgsLinkEditor *link_editor)
+{
+ /*
+ AgsLineEditor *line_editor;
+ AgsMachine *machine;
+
+ machine = (AgsMachine *) g_object_get_data((GObject *) widget, g_type_name(AGS_TYPE_MACHINE));
+
+ if(machine == NULL){
+ link_editor->spin_button->adjustment->upper = 0.0;
+ }else{
+ line_editor = (AgsLineEditor *) gtk_widget_get_ancestor((GtkWidget *) link_editor, AGS_TYPE_LINE_EDITOR);
+ link_editor->spin_button->adjustment->upper = (gdouble) (AGS_IS_OUTPUT(line_editor->channel) ? machine->audio->input_lines - 1: machine->audio->output_lines - 1);
+ }
+
+ return(0);
+ */
+}
+
+int
+ags_link_editor_menu_item_file_callback(GtkWidget *widget, AgsLinkEditor *link_editor)
+{
+ /*
+ GtkToggleButton *play;
+ char *tmp, *dir, *name;
+
+ if(link_editor->file_chooser != NULL)
+ return(0);
+
+ link_editor->file_chooser = (GtkFileChooserDialog *) gtk_file_chooser_dialog_new(g_strdup("select audio file\0"),
+ (GtkWindow *) gtk_widget_get_toplevel((GtkWidget *) link_editor),
+ GTK_FILE_CHOOSER_ACTION_OPEN,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ NULL);
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(link_editor->file_chooser), FALSE);
+ g_object_set_data((GObject *) link_editor->file_chooser, (char *) g_type_name(AGS_TYPE_AUDIO_FILE), link_editor->audio_file);
+
+ tmp = (char *) gtk_label_get_label(GTK_LABEL(GTK_BIN(widget)->child));
+ tmp = g_strdup(tmp + 7);
+
+ if(g_strcmp0(tmp, "\0")){
+ char *tmp0;
+
+ tmp0 = g_strrstr(tmp, "/\0");
+ name = g_strdup(tmp0 + 1);
+ dir = g_strndup(tmp, tmp0 - tmp);
+
+ gtk_file_chooser_set_current_folder((GtkFileChooser *) link_editor->file_chooser, dir);
+ gtk_file_chooser_set_current_name((GtkFileChooser *) link_editor->file_chooser, name);
+ }
+
+ play = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "label\0", GTK_STOCK_MEDIA_PLAY,
+ "use-stock\0", TRUE,
+ "use-underline\0", TRUE,
+ NULL);
+ gtk_box_pack_start((GtkBox *) GTK_DIALOG(link_editor->file_chooser)->action_area, (GtkWidget *) play, FALSE, FALSE, 0);
+ gtk_box_reorder_child((GtkBox *) GTK_DIALOG(link_editor->file_chooser)->action_area, (GtkWidget *) play, 0);
+
+ gtk_widget_show_all((GtkWidget *) link_editor->file_chooser);
+
+ g_signal_connect((GObject *) link_editor->file_chooser, "response\0",
+ G_CALLBACK(ags_link_editor_file_chooser_response_callback), (gpointer) link_editor);
+ g_signal_connect((GObject *) play, "toggled\0",
+ G_CALLBACK(ags_link_editor_file_chooser_play_callback), (gpointer) link_editor);
+ */
+}
+
+int
+ags_link_editor_file_chooser_response_callback(GtkWidget *widget, guint response, AgsLinkEditor *link_editor)
+{
+ /*
+ GtkFileChooserDialog *file_chooser;
+ AgsDevout *devout;
+ AgsAudioFile *audio_file;
+ char *name;
+
+ file_chooser = link_editor->file_chooser;
+ audio_file = link_editor->audio_file;
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ name = gtk_file_chooser_get_filename((GtkFileChooser *) file_chooser);
+
+ if(audio_file != NULL){
+ if(g_strcmp0(audio_file->name, name)){
+ g_object_unref(G_OBJECT(audio_file));
+ goto ags_link_editor_file_chooser_response_callback0;
+ }
+ }else{
+ ags_link_editor_file_chooser_response_callback0:
+ gtk_label_set_label(GTK_LABEL(GTK_BIN(link_editor->option)->child), g_strconcat("file://\0", name, NULL));
+
+ audio_file = ags_audio_file_new();
+ audio_file->name = name;
+
+ devout = AGS_DEVOUT(AGS_AUDIO(AGS_LINE_EDITOR(gtk_widget_get_ancestor((GtkWidget *) link_editor, AGS_TYPE_LINE_EDITOR))->channel->audio)->devout);
+ ags_audio_file_set_devout(audio_file, devout);
+
+ ags_audio_file_open(audio_file);
+ AGS_AUDIO_FILE_GET_CLASS(audio_file)->read_buffer(audio_file);
+
+ link_editor->audio_file = audio_file;
+ }
+ }else if(response == GTK_RESPONSE_CANCEL){
+ if(audio_file != NULL){
+ g_object_set_data((GObject *) link_editor->option->menu_item, (char *) g_type_name(AGS_TYPE_AUDIO_FILE), NULL);
+ g_object_unref(G_OBJECT(audio_file));
+ }
+ }
+
+ link_editor->file_chooser = NULL;
+ gtk_widget_destroy((GtkWidget *) file_chooser);
+ */
+}
+
+int
+ags_link_editor_file_chooser_play_callback(GtkToggleButton *toggle_button, AgsLinkEditor *link_editor)
+{
+ /*
+ GtkFileChooserDialog *file_chooser;
+ AgsDevout *devout;
+ AgsPlayAudioFile *play_audio_file;
+ AgsAudioFile *audio_file;
+ char *name;
+ static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+
+ file_chooser = link_editor->file_chooser;
+ audio_file = link_editor->audio_file;
+
+ devout = AGS_DEVOUT(AGS_AUDIO(AGS_LINE_EDITOR(gtk_widget_get_ancestor((GtkWidget *) link_editor, AGS_TYPE_LINE_EDITOR))->channel->audio)->devout);
+
+ if(toggle_button->active){
+ /* AgsPlayAudioFile * /
+ play_audio_file = ags_play_audio_file_new();
+ play_audio_file->devout = devout;
+ ags_play_audio_file_connect(play_audio_file);
+
+ g_object_set_data((GObject *) file_chooser, (char *) g_type_name(AGS_TYPE_PLAY_AUDIO_FILE), play_audio_file);
+
+ g_signal_connect((GObject *) play_audio_file, "done\0",
+ G_CALLBACK(ags_link_editor_file_chooser_play_done), link_editor);
+ g_signal_connect((GObject *) play_audio_file, "cancel\0",
+ G_CALLBACK(ags_link_editor_file_chooser_play_cancel), link_editor);
+
+ /* AgsAudioFile * /
+ name = gtk_file_chooser_get_filename((GtkFileChooser *) file_chooser);
+
+ if(audio_file != NULL){
+ if(g_strcmp0(audio_file->name, name)){
+ g_object_unref(G_OBJECT(audio_file));
+ goto ags_link_editor_file_chooser_play_callback0;
+ }
+ }else{
+ ags_link_editor_file_chooser_play_callback0:
+ audio_file = ags_audio_file_new();
+ g_object_set_data((GObject *) link_editor->option->menu_item, (char *) g_type_name(AGS_TYPE_AUDIO_FILE), audio_file);
+
+ audio_file->flags |= AGS_AUDIO_FILE_ALL_CHANNELS;
+ audio_file->name = (gchar *) name;
+
+ ags_audio_file_set_devout(audio_file, devout);
+
+ ags_audio_file_open(audio_file);
+
+ AGS_AUDIO_FILE_GET_CLASS(audio_file)->read_buffer(audio_file);
+ }
+
+ play_audio_file->audio_file = audio_file;
+
+ /* AgsDevout * /
+ g_static_mutex_lock(&mutex);
+ devout->play_recall = g_list_append(devout->play_recall, play_audio_file);
+ devout->flags |= AGS_DEVOUT_PLAY_RECALL;
+ devout->play_recall_ref++;
+ AGS_DEVOUT_GET_CLASS(devout)->run((void *) devout);
+ g_static_mutex_unlock(&mutex);
+ }else{
+ if((AGS_LINK_EDITOR_FILE_CHOOSER_PLAY_DONE & (link_editor->flags)) == 0){
+ play_audio_file = (AgsPlayAudioFile *) g_object_get_data((GObject *) file_chooser, (char *) g_type_name(AGS_TYPE_PLAY_AUDIO_FILE));
+ play_audio_file->recall.flags |= AGS_RECALL_CANCEL;
+ }else
+ link_editor->flags &= (~AGS_LINK_EDITOR_FILE_CHOOSER_PLAY_DONE);
+ }
+*/
+ return(0);
+}
+
+void
+ags_link_editor_file_chooser_play_done(AgsRecall *recall, AgsLinkEditor *link_editor)
+{
+ GtkToggleButton *toggle_button;
+ GList *list;
+
+ recall->flags |= AGS_RECALL_REMOVE;
+
+ list = gtk_container_get_children((GtkContainer *) GTK_DIALOG(link_editor->file_chooser)->action_area);
+ toggle_button = (GtkToggleButton *) list->data;
+
+ link_editor->flags |= AGS_LINK_EDITOR_FILE_CHOOSER_PLAY_DONE;
+ gtk_toggle_button_set_active(toggle_button, FALSE);
+
+ g_list_free(list);
+}
+
+void
+ags_link_editor_file_chooser_play_remove(AgsRecall *recall, AgsLinkEditor *link_editor)
+{
+ AgsPlayAudioFile *play_audio_file;
+
+ play_audio_file = AGS_PLAY_AUDIO_FILE(recall);
+ g_object_unref((GObject *) play_audio_file);
+}
+
+void
+ags_link_editor_file_chooser_play_cancel(AgsRecall *recall, AgsLinkEditor *link_editor)
+{
+ AgsPlayAudioFile *play_audio_file;
+
+ play_audio_file = AGS_PLAY_AUDIO_FILE(recall);
+ g_object_unref((GObject *) play_audio_file);
+}
diff --git a/src/ags/X/ags_link_editor_callbacks.h b/src/ags/X/ags_link_editor_callbacks.h
new file mode 100644
index 0000000..5984374
--- /dev/null
+++ b/src/ags/X/ags_link_editor_callbacks.h
@@ -0,0 +1,34 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINK_EDITOR_CALLBACKS_H__
+#define __AGS_LINK_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_link_editor.h>
+
+int ags_link_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsLinkEditor *link_editor);
+int ags_link_editor_destroy_callback(GtkObject *object, AgsLinkEditor *link_editor);
+int ags_link_editor_show_callback(GtkWidget *widget, AgsLinkEditor *link_editor);
+
+void ags_link_editor_combo_callback(GtkComboBox *combo, AgsLinkEditor *link_editor);
+
+#endif /*__AGS_LINK_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_listing_editor.c b/src/ags/X/ags_listing_editor.c
new file mode 100644
index 0000000..6b5e134
--- /dev/null
+++ b/src/ags/X/ags_listing_editor.c
@@ -0,0 +1,335 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_listing_editor.h>
+#include <ags/X/ags_listing_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_applicable.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+
+#include <ags/X/ags_machine_editor.h>
+#include <ags/X/ags_pad_editor.h>
+
+void ags_listing_editor_class_init(AgsListingEditorClass *listing_editor);
+void ags_listing_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_listing_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_listing_editor_init(AgsListingEditor *listing_editor);
+void ags_listing_editor_connect(AgsConnectable *connectable);
+void ags_listing_editor_disconnect(AgsConnectable *connectable);
+void ags_listing_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_listing_editor_apply(AgsApplicable *applicable);
+void ags_listing_editor_reset(AgsApplicable *applicable);
+void ags_listing_editor_destroy(GtkObject *object);
+void ags_listing_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_listing_editor
+ * @short_description: pack pad editors.
+ * @title: AgsListingEditor
+ * @section_id:
+ * @include: ags/X/ags_listing_editor.h
+ *
+ * #AgsListingEditor is a composite widget to pack #AgsPadEditor.
+ */
+
+static gpointer ags_listing_editor_parent_class = NULL;
+static AgsConnectableInterface* ags_listing_editor_parent_connectable_interface;
+
+GType
+ags_listing_editor_get_type(void)
+{
+ static GType ags_type_listing_editor = 0;
+
+ if(!ags_type_listing_editor){
+ static const GTypeInfo ags_listing_editor_info = {
+ sizeof (AgsListingEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_listing_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsListingEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_listing_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_listing_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_listing_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_listing_editor = g_type_register_static(AGS_TYPE_PROPERTY_LISTING_EDITOR,
+ "AgsListingEditor\0",
+ &ags_listing_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_listing_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_listing_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_listing_editor);
+}
+
+void
+ags_listing_editor_class_init(AgsListingEditorClass *listing_editor)
+{
+}
+
+void
+ags_listing_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_listing_editor_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_listing_editor_connect;
+ connectable->disconnect = ags_listing_editor_disconnect;
+}
+
+void
+ags_listing_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_listing_editor_set_update;
+ applicable->apply = ags_listing_editor_apply;
+ applicable->reset = ags_listing_editor_reset;
+}
+
+void
+ags_listing_editor_init(AgsListingEditor *listing_editor)
+{
+ g_signal_connect_after(G_OBJECT(listing_editor), "parent_set\0",
+ G_CALLBACK(ags_listing_editor_parent_set_callback), listing_editor);
+
+ listing_editor->child = NULL;
+}
+
+void
+ags_listing_editor_connect(AgsConnectable *connectable)
+{
+ AgsMachineEditor *machine_editor;
+ AgsListingEditor *listing_editor;
+ GList *pad_editor, *pad_editor_start;
+
+ ags_listing_editor_parent_connectable_interface->connect(connectable);
+
+ listing_editor = AGS_LISTING_EDITOR(connectable);
+
+ machine_editor = (AgsMachineEditor *) gtk_widget_get_ancestor(GTK_WIDGET(listing_editor),
+ AGS_TYPE_MACHINE_EDITOR);
+
+ if(machine_editor != NULL &&
+ machine_editor->machine != NULL){
+ AgsAudio *audio;
+
+ /* AgsAudio */
+ audio = machine_editor->machine->audio;
+
+ g_signal_connect_after(G_OBJECT(audio), "set_pads\0",
+ G_CALLBACK(ags_listing_editor_set_pads_callback), listing_editor);
+ }
+
+ /* AgsPadEditor */
+ pad_editor_start =
+ pad_editor = gtk_container_get_children(GTK_CONTAINER(listing_editor->child));
+
+ while(pad_editor != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(pad_editor->data));
+
+ pad_editor = pad_editor->next;
+ }
+
+ g_list_free(pad_editor_start);
+}
+
+void
+ags_listing_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_listing_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsListingEditor *listing_editor;
+ GList *pad_editor, *pad_editor_start;
+
+ listing_editor = AGS_LISTING_EDITOR(applicable);
+
+ pad_editor_start =
+ pad_editor = gtk_container_get_children(GTK_CONTAINER(listing_editor->child));
+
+ while(pad_editor != NULL){
+ ags_applicable_set_update(AGS_APPLICABLE(pad_editor->data), update);
+
+ pad_editor = pad_editor->next;
+ }
+
+ g_list_free(pad_editor_start);
+}
+
+void
+ags_listing_editor_apply(AgsApplicable *applicable)
+{
+
+ AgsListingEditor *listing_editor;
+ GList *pad_editor, *pad_editor_start;
+
+ listing_editor = AGS_LISTING_EDITOR(applicable);
+
+ if((AGS_PROPERTY_EDITOR_ENABLED & (AGS_PROPERTY_EDITOR(listing_editor)->flags)) == 0)
+ return;
+
+ pad_editor_start =
+ pad_editor = gtk_container_get_children(GTK_CONTAINER(listing_editor->child));
+
+ while(pad_editor != NULL){
+ ags_applicable_apply(AGS_APPLICABLE(pad_editor->data));
+
+ pad_editor = pad_editor->next;
+ }
+
+ g_list_free(pad_editor_start);
+}
+
+void
+ags_listing_editor_reset(AgsApplicable *applicable)
+{
+ AgsListingEditor *listing_editor;
+ GList *pad_editor, *pad_editor_start;
+
+ listing_editor = AGS_LISTING_EDITOR(applicable);
+
+ pad_editor_start =
+ pad_editor = gtk_container_get_children(GTK_CONTAINER(listing_editor->child));
+
+ while(pad_editor != NULL){
+ ags_applicable_reset(AGS_APPLICABLE(pad_editor->data));
+
+ pad_editor = pad_editor->next;
+ }
+
+ g_list_free(pad_editor_start);
+}
+
+void
+ags_listing_editor_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_listing_editor_show(GtkWidget *widget)
+{
+ /* empty */
+}
+
+/**
+ * ags_listing_editor_add_children:
+ * @audio: the #AgsAudio to use
+ * @nth_channel: nth channel to start creation until end
+ * @connect: if %TRUE widget is connected and shown
+ *
+ * Creates new pad editors or destroys them.
+ *
+ * Since: 0.3
+ */
+void
+ags_listing_editor_add_children(AgsListingEditor *listing_editor,
+ AgsAudio *audio, guint nth_channel,
+ gboolean connect)
+{
+ AgsPadEditor *pad_editor;
+ GtkVBox *vbox;
+ AgsChannel *channel;
+
+ if(nth_channel == 0 &&
+ listing_editor->child != NULL){
+ vbox = listing_editor->child;
+ listing_editor->child = NULL;
+ gtk_widget_destroy(GTK_WIDGET(vbox));
+ }
+
+ if(audio == NULL)
+ return;
+
+ if(nth_channel == 0){
+ listing_editor->child = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(listing_editor),
+ GTK_WIDGET(listing_editor->child),
+ FALSE, FALSE,
+ 0);
+ }
+
+ if(listing_editor->channel_type == AGS_TYPE_OUTPUT)
+ channel = ags_channel_nth(audio->output, nth_channel);
+ else
+ channel = ags_channel_nth(audio->input, nth_channel);
+
+ while(channel != NULL){
+ pad_editor = ags_pad_editor_new(channel);
+ gtk_box_pack_start(GTK_BOX(listing_editor->child),
+ GTK_WIDGET(pad_editor),
+ FALSE, FALSE,
+ 0);
+
+ if(connect){
+ ags_connectable_connect(AGS_CONNECTABLE(pad_editor));
+ gtk_widget_show_all(GTK_WIDGET(pad_editor));
+ }
+
+ channel = channel->next_pad;
+ }
+}
+
+/**
+ * ags_listing_editor_new:
+ * @channel_type: the channel type to represent
+ *
+ * Creates an #AgsListingEditor
+ *
+ * Returns: a new #AgsListingEditor
+ *
+ * Since: 0.3
+ */
+AgsListingEditor*
+ags_listing_editor_new(GType channel_type)
+{
+ AgsListingEditor *listing_editor;
+
+ listing_editor = (AgsListingEditor *) g_object_new(AGS_TYPE_LISTING_EDITOR,
+ NULL);
+
+ listing_editor->channel_type = channel_type;
+
+ return(listing_editor);
+}
diff --git a/src/ags/X/ags_listing_editor.h b/src/ags/X/ags_listing_editor.h
new file mode 100644
index 0000000..5329945
--- /dev/null
+++ b/src/ags/X/ags_listing_editor.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LISTING_EDITOR_H__
+#define __AGS_LISTING_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_property_listing_editor.h>
+
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_LISTING_EDITOR (ags_listing_editor_get_type())
+#define AGS_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LISTING_EDITOR, AgsListingEditor))
+#define AGS_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LISTING_EDITOR, AgsListingEditorClass))
+#define AGS_IS_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LISTING_EDITOR))
+#define AGS_IS_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LISTING_EDITOR))
+#define AGS_LISTING_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LISTING_EDITOR, AgsListingEditorClass))
+
+typedef struct _AgsListingEditor AgsListingEditor;
+typedef struct _AgsListingEditorClass AgsListingEditorClass;
+
+struct _AgsListingEditor
+{
+ AgsPropertyListingEditor property_listing_editor;
+
+ GType channel_type;
+
+ GtkVBox *child;
+};
+
+struct _AgsListingEditorClass
+{
+ AgsPropertyListingEditorClass property_listing_editor;
+};
+
+GType ags_listing_editor_get_type();
+
+void ags_listing_editor_add_children(AgsListingEditor *listing_editor,
+ AgsAudio *audio, guint nth_channel,
+ gboolean connect);
+AgsListingEditor* ags_listing_editor_new(GType channel_type);
+
+#endif /*__AGS_LISTING_EDITOR_H__*/
diff --git a/src/ags/X/ags_listing_editor_callbacks.c b/src/ags/X/ags_listing_editor_callbacks.c
new file mode 100644
index 0000000..0ad8c1c
--- /dev/null
+++ b/src/ags/X/ags_listing_editor_callbacks.c
@@ -0,0 +1,75 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_listing_editor_callbacks.h>
+
+int
+ags_listing_editor_parent_set_callback(GtkWidget *widget,
+ GtkObject *old_parent,
+ AgsListingEditor *listing_editor)
+{
+ AgsMachineEditor *machine_editor;
+
+ if(old_parent != NULL)
+ return(0);
+
+ machine_editor = (AgsMachineEditor *) gtk_widget_get_ancestor(widget,
+ AGS_TYPE_MACHINE_EDITOR);
+
+ if(machine_editor->machine != NULL)
+ ags_listing_editor_add_children(listing_editor,
+ machine_editor->machine->audio, 0,
+ FALSE);
+
+ return(0);
+}
+
+void
+ags_listing_editor_set_pads_callback(AgsAudio *audio, GType channel_type,
+ guint pads, guint pads_old,
+ AgsListingEditor *listing_editor)
+{
+ if(channel_type != listing_editor->channel_type)
+ return;
+
+ if(pads_old < pads){
+ guint nth_channel;
+
+ nth_channel = pads_old * audio->audio_channels;
+
+ ags_listing_editor_add_children(listing_editor,
+ audio, nth_channel,
+ TRUE);
+ }else{
+ GList *list, *list_next, *list_start;
+
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(listing_editor->child));
+ list = g_list_nth(list, pads);
+
+ while(list != NULL){
+ list_next = list->next;
+
+ gtk_widget_destroy(GTK_WIDGET(list->data));
+
+ list = list_next;
+ }
+
+ g_list_free(list_start);
+ }
+}
diff --git a/src/ags/X/ags_listing_editor_callbacks.h b/src/ags/X/ags_listing_editor_callbacks.h
new file mode 100644
index 0000000..b6126ed
--- /dev/null
+++ b/src/ags/X/ags_listing_editor_callbacks.h
@@ -0,0 +1,39 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LISTING_EDITOR_CALLBACKS_H__
+#define __AGS_LISTING_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_listing_editor.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_machine_editor.h>
+
+int ags_listing_editor_parent_set_callback(GtkWidget *widget,
+ GtkObject *old_parent,
+ AgsListingEditor *listing_editor);
+
+void ags_listing_editor_set_pads_callback(AgsAudio *audio, GType channel_type,
+ guint pads, guint pads_old,
+ AgsListingEditor *listing_editor);
+
+#endif /*__AGS_LISTING_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_machine.c b/src/ags/X/ags_machine.c
new file mode 100644
index 0000000..506e6eb
--- /dev/null
+++ b/src/ags/X/ags_machine.c
@@ -0,0 +1,1205 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_machine_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <ags/audio/task/ags_init_audio.h>
+#include <ags/audio/task/ags_append_audio.h>
+#include <ags/audio/task/ags_start_devout.h>
+#include <ags/audio/task/ags_cancel_audio.h>
+#include <ags/audio/task/ags_open_file.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_pad.h>
+
+void ags_machine_class_init(AgsMachineClass *machine);
+void ags_machine_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_machine_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_machine_init(AgsMachine *machine);
+void ags_machine_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_machine_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_machine_connect(AgsConnectable *connectable);
+void ags_machine_disconnect(AgsConnectable *connectable);
+gchar* ags_machine_get_version(AgsPlugin *plugin);
+void ags_machine_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_machine_get_build_id(AgsPlugin *plugin);
+void ags_machine_set_build_id(AgsPlugin *plugin, gchar *build_id);
+static void ags_machine_finalize(GObject *gobject);
+void ags_machine_show(GtkWidget *widget);
+
+void ags_machine_real_map_recall(AgsMachine *machine);
+GList* ags_machine_real_find_port(AgsMachine *machine);
+
+GtkMenu* ags_machine_popup_new(AgsMachine *machine);
+
+/**
+ * SECTION:ags_machine
+ * @short_description: visualize audio object.
+ * @title: AgsMachine
+ * @section_id:
+ * @include: ags/X/ags_machine.h
+ *
+ * #AgsMachine is a composite widget to act as base class to visualize #AgsAudio.
+ */
+
+#define AGS_DEFAULT_MACHINE "ags-default-machine\0"
+
+enum{
+ MAP_RECALL,
+ FIND_PORT,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_AUDIO,
+};
+
+static gpointer ags_machine_parent_class = NULL;
+static guint machine_signals[LAST_SIGNAL];
+
+GType
+ags_machine_get_type(void)
+{
+ static GType ags_type_machine = 0;
+
+ if(!ags_type_machine){
+ static const GTypeInfo ags_machine_info = {
+ sizeof (AgsMachineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_machine_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMachine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_machine_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_machine_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_machine_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_machine = g_type_register_static(GTK_TYPE_HANDLE_BOX,
+ "AgsMachine\0", &ags_machine_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_machine,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_machine,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_machine);
+}
+
+void
+ags_machine_class_init(AgsMachineClass *machine)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_machine_parent_class = g_type_class_peek_parent(machine);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) machine;
+
+ gobject->set_property = ags_machine_set_property;
+ gobject->get_property = ags_machine_get_property;
+
+ gobject->finalize = ags_machine_finalize;
+
+ /* properties */
+ /**
+ * AgsMachine:audio:
+ *
+ * The assigned #AgsAudio to visualize.
+ *
+ * Since: 0.3
+ */
+ param_spec = g_param_spec_object("audio\0",
+ "assigned audio\0",
+ "The audio it is assigned to\0",
+ AGS_TYPE_AUDIO,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO,
+ param_spec);
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) machine;
+
+ widget->show = ags_machine_show;
+
+ /* AgsMachineClass */
+ machine->map_recall = ags_machine_real_map_recall;
+ machine->find_port = ags_machine_real_find_port;
+
+ /* signals */
+ /**
+ * AgsMachine::map-recall:
+ * @machine: the #AgsMachine
+ *
+ * The ::map-recall should be used to add the machine's default recall.
+ */
+ machine_signals[MAP_RECALL] =
+ g_signal_new("map-recall\0",
+ G_TYPE_FROM_CLASS (machine),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsMachineClass, map_recall),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsMachine::find-port:
+ * @machine: the #AgsMachine to resize
+ * Returns: a #GList with associated ports
+ *
+ * The ::find-port as recall should be mapped
+ */
+ machine_signals[FIND_PORT] =
+ g_signal_new("find-port\0",
+ G_TYPE_FROM_CLASS(machine),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsMachineClass, find_port),
+ NULL, NULL,
+ g_cclosure_user_marshal_POINTER__VOID,
+ G_TYPE_POINTER, 0);
+}
+
+void
+ags_machine_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_machine_connect;
+ connectable->disconnect = ags_machine_disconnect;
+}
+
+void
+ags_machine_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_version = ags_machine_get_version;
+ plugin->set_version = ags_machine_set_version;
+ plugin->get_build_id = ags_machine_get_build_id;
+ plugin->set_build_id = ags_machine_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->get_ports = NULL;
+}
+
+void
+ags_machine_init(AgsMachine *machine)
+{
+ GtkFrame *frame;
+
+ machine->flags = 0;
+ machine->file_input_flags = 0;
+
+ machine->name = NULL;
+
+ machine->version = AGS_MACHINE_DEFAULT_VERSION;
+ machine->build_id = AGS_MACHINE_DEFAULT_BUILD_ID;
+
+ machine->output_pad_type = G_TYPE_NONE;
+ machine->input_pad_type = G_TYPE_NONE;
+
+ frame = (GtkFrame *) gtk_frame_new(NULL);
+ gtk_container_add((GtkContainer *) machine, (GtkWidget *) frame);
+
+ machine->audio = ags_audio_new(NULL);
+ g_object_ref(G_OBJECT(machine->audio));
+ machine->audio->machine = (GtkWidget *) machine;
+
+ /* AgsAudio */
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_machine_set_audio_channels), machine);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_machine_set_pads), machine);
+
+ machine->play = NULL;
+
+ machine->output = NULL;
+ machine->input = NULL;
+
+ machine->bridge = NULL;
+
+ machine->port = NULL;
+
+ machine->popup = ags_machine_popup_new(machine);
+ machine->properties = NULL;
+ machine->rename = NULL;
+}
+
+void
+ags_machine_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsWindow *window;
+ AgsMachine *machine;
+
+ machine = AGS_MACHINE(gobject);
+ window = gtk_widget_get_ancestor(machine,
+ AGS_TYPE_WINDOW);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ {
+ AgsAudio *audio;
+
+ audio = (AgsAudio *) g_value_get_object(value);
+
+ if(machine->audio != NULL){
+ GList *pad;
+
+ ags_devout_remove_audio(window->devout,
+ machine->audio);
+ g_object_unref(G_OBJECT(machine->audio));
+
+ if(audio == NULL){
+ /* destroy pad */
+ pad = gtk_container_get_children(machine->output);
+ // pad = g_list_nth(pad, audio->output_pads);
+
+ while(pad != NULL){
+ gtk_widget_destroy(pad->data);
+
+ pad = pad->next;
+ }
+
+ pad = gtk_container_get_children(machine->input);
+ // pad = g_list_nth(pad, audio->input_pads);
+
+ while(pad != NULL){
+ gtk_widget_destroy(pad->data);
+
+ pad = pad->next;
+ }
+ }
+ }
+
+ if(audio != NULL){
+ AgsChannel *input, *output;
+ GList *pad;
+ GList *line;
+ guint i;
+
+ g_object_ref(G_OBJECT(audio));
+
+ /* set channel and resize for AgsOutput */
+ if(machine->output_pad_type != G_TYPE_NONE){
+ output = audio->output;
+ pad = gtk_container_get_children(machine->output);
+
+ /* reset */
+ i = 0;
+
+ while(pad != NULL && output != NULL){
+ line = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(pad->data)->expander_set));
+
+ ags_pad_resize_lines(AGS_PAD(pad->data), machine->output_line_type,
+ audio->audio_channels, g_list_length(line));
+ g_object_set(G_OBJECT(pad->data),
+ "channel\0", output,
+ NULL);
+
+ output = output->next_pad;
+ pad = pad->next;
+ i++;
+ }
+
+ if(output != NULL){
+ AgsPad *pad;
+
+ /* add pad */
+ for(; i < audio->output_pads; i++){
+ pad = g_object_new(machine->output_pad_type,
+ "channel\0", output,
+ NULL);
+ gtk_container_add(machine->output,
+ GTK_WIDGET(pad));
+
+ ags_pad_resize_lines(pad, machine->output_line_type,
+ audio->audio_channels, 0);
+ }
+ }else{
+ /* destroy pad */
+ pad = gtk_container_get_children(machine->output);
+ pad = g_list_nth(pad, audio->output_pads);
+
+ while(pad != NULL){
+ gtk_widget_destroy(pad->data);
+
+ pad = pad->next;
+ }
+ }
+ }
+
+ /* set channel and resize for AgsInput */
+ if(machine->input_pad_type != G_TYPE_NONE){
+ input = audio->input;
+ pad = gtk_container_get_children(machine->input);
+
+ i = 0;
+
+ while(pad != NULL && input != NULL){
+ line = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(pad->data)->expander_set));
+
+ ags_pad_resize_lines(AGS_PAD(pad->data), machine->input_line_type,
+ audio->audio_channels, g_list_length(line));
+ g_object_set(G_OBJECT(pad->data),
+ "channel\0", input,
+ NULL);
+
+ input = input->next_pad;
+ pad = pad->next;
+ i++;
+ }
+
+ if(input != NULL){
+ AgsPad *pad;
+
+ /* add pad */
+ for(; i < audio->input_pads; i++){
+ pad = g_object_new(machine->input_pad_type,
+ "channel\0", input,
+ NULL);
+ gtk_container_add(machine->input,
+ GTK_WIDGET(pad));
+
+ ags_pad_resize_lines(pad, machine->input_line_type,
+ audio->audio_channels, 0);
+
+ input = input->next_pad;
+ }
+ }else{
+ /* destroy pad */
+ pad = gtk_container_get_children(machine->input);
+ pad = g_list_nth(pad, audio->input_pads);
+
+ while(pad != NULL){
+ gtk_widget_destroy(pad->data);
+
+ pad = pad->next;
+ }
+ }
+ }
+ }
+
+ machine->audio = audio;
+
+ if(machine->bridge != NULL){
+ g_object_set(machine->bridge,
+ "audio\0", audio,
+ NULL);
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_machine_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMachine *machine;
+
+ machine = AGS_MACHINE(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ g_value_set_object(value, machine->audio);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_machine_connect(AgsConnectable *connectable)
+{
+ AgsMachine *machine;
+ GList *pad_list;
+
+ /* AgsMachine */
+ machine = AGS_MACHINE(connectable);
+
+ if((AGS_MACHINE_CONNECTED & (machine->flags)) != 0){
+ return;
+ }
+
+ machine->flags |= AGS_MACHINE_CONNECTED;
+
+ if((AGS_MACHINE_PREMAPPED_RECALL & (machine->flags)) == 0){
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) == 0){
+ ags_machine_map_recall(machine);
+ }
+ }else{
+ // machine->flags &= ~AGS_MACHINE_PREMAPPED_RECALL;
+ g_message("find port\0");
+
+ ags_machine_find_port(machine);
+ }
+
+ if(machine->play != NULL){
+ g_signal_connect(G_OBJECT(machine->play), "clicked\0",
+ G_CALLBACK(ags_machine_play_callback), (gpointer) machine);
+ }
+
+ /* GtkWidget */
+ g_signal_connect(G_OBJECT (machine), "button_press_event\0",
+ G_CALLBACK(ags_machine_button_press_callback), (gpointer) machine);
+
+ /* AgsPad - input */
+ if(machine->input != NULL){
+ pad_list = gtk_container_get_children(GTK_CONTAINER(machine->input));
+
+ while(pad_list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(pad_list->data));
+
+ pad_list = pad_list->next;
+ }
+ }
+
+ /* AgsPad - output */
+ if(machine->output != NULL){
+ pad_list = gtk_container_get_children(GTK_CONTAINER(machine->output));
+
+ while(pad_list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(pad_list->data));
+
+ pad_list = pad_list->next;
+ }
+ }
+
+ /* AgsEffectBridge */
+ if(machine->bridge != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(machine->bridge));
+ }
+
+ /* audio */
+ g_signal_connect_after(machine->audio, "tact\0",
+ G_CALLBACK(ags_machine_tact_callback), machine);
+
+ g_signal_connect_after(machine->audio, "done\0",
+ G_CALLBACK(ags_machine_done_callback), machine);
+}
+
+void
+ags_machine_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+
+gchar*
+ags_machine_get_version(AgsPlugin *plugin)
+{
+ return(AGS_MACHINE(plugin)->version);
+}
+
+void
+ags_machine_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AGS_MACHINE(plugin)->version = version;
+
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_machine_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_MACHINE(plugin)->build_id);
+}
+
+void
+ags_machine_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AGS_MACHINE(plugin)->build_id = build_id;
+
+ //TODO:JK: implement me
+}
+
+static void
+ags_machine_finalize(GObject *gobject)
+{
+ AgsMachine *machine;
+ char *str;
+
+ machine = (AgsMachine *) gobject;
+
+ if(machine->name != NULL)
+ g_free(machine->name);
+
+ if(machine->audio != NULL)
+ g_object_unref(G_OBJECT(machine->audio));
+
+ G_OBJECT_CLASS(ags_machine_parent_class)->finalize(gobject);
+}
+
+void
+ags_machine_show(GtkWidget *widget)
+{
+ AgsMachine *machine;
+ AgsWindow *window;
+ GtkFrame *frame;
+
+ GTK_WIDGET_CLASS(ags_machine_parent_class)->show(widget);
+
+ machine = (AgsMachine *) widget;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(widget);
+
+ frame = (GtkFrame *) gtk_container_get_children((GtkContainer *) machine)->data;
+ gtk_widget_show_all((GtkWidget *) frame);
+}
+
+void
+ags_machine_real_map_recall(AgsMachine *machine)
+{
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) != 0){
+ return;
+ }
+
+ machine->flags |= AGS_MACHINE_MAPPED_RECALL;
+
+ ags_machine_find_port(machine);
+}
+
+/**
+ * ags_machine_map_recall:
+ * @machine: the #AgsMachine to add its default recall.
+ *
+ * You may want the @machine to add its default recall.
+ */
+void
+ags_machine_map_recall(AgsMachine *machine)
+{
+ g_return_if_fail(AGS_IS_MACHINE(machine));
+
+ g_object_ref((GObject *) machine);
+ g_signal_emit((GObject *) machine,
+ machine_signals[MAP_RECALL], 0);
+ g_object_unref((GObject *) machine);
+}
+
+/**
+ * ags_machine_get_possible_links:
+ * @machine: the #AgsMachine
+ *
+ * Find links suitable for @machine.
+ *
+ * Returns: a #GtkListStore containing one column with a string representing
+ * machines by its type and name.
+ *
+ * Since: 0.4
+ */
+GtkListStore*
+ags_machine_get_possible_links(AgsMachine *machine)
+{
+ GtkListStore *model;
+ GtkTreeIter iter;
+ GList *list;
+
+ model = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_POINTER);
+
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, "NULL\0",
+ 1, NULL,
+ -1);
+
+ if(GTK_WIDGET(machine)->parent != NULL){
+ list = gtk_container_get_children(GTK_CONTAINER(GTK_WIDGET(machine)->parent));
+
+ while(list != NULL){
+ if(list->data != machine){
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, g_strdup_printf("%s: %s\0",
+ G_OBJECT_TYPE_NAME(G_OBJECT(list->data)),
+ AGS_MACHINE(list->data)->name),
+ 1, list->data,
+ -1);
+ }
+
+ list = list->next;
+ }
+ }
+
+ return(model);
+}
+
+/**
+ * ags_machine_find_by_name:
+ * @list: a #GList of #AgsMachine
+ * @name: the name of machine
+ *
+ * Find the specified by @name machine.
+ *
+ * Since: 0.3
+ */
+AgsMachine*
+ags_machine_find_by_name(GList *list, char *name)
+{
+ while(list != NULL){
+ if(!g_strcmp0(AGS_MACHINE(list->data)->name, name))
+ return((AgsMachine *) list->data);
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+GList*
+ags_machine_real_find_port(AgsMachine *machine)
+{
+ AgsAudio *audio;
+ GList *list;
+
+ audio = machine->audio;
+
+ return(ags_audio_find_port(audio));
+}
+
+/**
+ * ags_machine_find_port:
+ * @machine: the #AgsMachine
+ * Returns: an #GList containing all related #AgsPort
+ *
+ * Lookup ports of associated recalls.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_machine_find_port(AgsMachine *machine)
+{
+ GList *list;
+
+ list = NULL;
+ g_return_val_if_fail(AGS_IS_MACHINE(machine),
+ NULL);
+
+ g_object_ref((GObject *) machine);
+ g_signal_emit((GObject *) machine,
+ machine_signals[FIND_PORT], 0,
+ &list);
+ g_object_unref((GObject *) machine);
+
+ return(list);
+}
+
+/**
+ * ags_machine_set_run:
+ * @machine: the #AgsMachine
+ * @run: if %TRUE playback is started, otherwise stopped
+ *
+ * Start/stop playback of @machine.
+ *
+ * Since: 0.4
+ */
+void
+ags_machine_set_run(AgsMachine *machine,
+ gboolean run)
+{
+ AgsWindow *window;
+ AgsThread *task_thread;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(machine);
+ task_thread = (AgsTaskThread *) AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread;
+
+ if(run){
+ AgsInitAudio *init_audio;
+ AgsAppendAudio *append_audio;
+ AgsStartDevout *start_devout;
+ GList *list;
+
+ list = NULL;
+
+ /* create init task */
+ init_audio = ags_init_audio_new(machine->audio,
+ FALSE, TRUE, FALSE);
+ list = g_list_prepend(list, init_audio);
+
+ /* create append task */
+ append_audio = ags_append_audio_new(G_OBJECT(AGS_MAIN(window->ags_main)->main_loop),
+ (GObject *) machine->audio);
+
+ list = g_list_prepend(list, append_audio);
+
+ /* create start task */
+ if(list != NULL){
+ start_devout = ags_start_devout_new(window->devout);
+ g_signal_connect_after(G_OBJECT(start_devout), "failure\0",
+ G_CALLBACK(ags_machine_start_failure_callback), machine);
+ list = g_list_prepend(list, start_devout);
+
+ /* append AgsStartDevout */
+ list = g_list_reverse(list);
+
+ ags_task_thread_append_tasks(task_thread,
+ list);
+ }
+ }else{
+ AgsCancelAudio *cancel_audio;
+
+ /* create append task */
+ cancel_audio = ags_cancel_audio_new(machine->audio,
+ FALSE, TRUE, FALSE);
+
+ /* append AgsCancelAudio */
+ ags_task_thread_append_task(task_thread,
+ cancel_audio);
+ }
+}
+
+void
+ags_machine_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsMachine *machine)
+{
+ AgsChannel *channel;
+ GList *list_output_pad, *list_output_pad_start;
+ GList *list_input_pad, *list_input_pad_start;
+ GList *list_output_pad_next, *list_output_pad_next_start;
+ GList *list_input_pad_next, *list_input_pad_next_start;
+ guint i, j;
+
+ if(audio_channels > audio_channels_old){
+ /* grow lines */
+ AgsPad *pad;
+ GList *list, *list_start;
+
+ /* AgsInput */
+ if(machine->input != NULL){
+ list_input_pad = gtk_container_get_children((GtkContainer *) machine->input);
+ channel = audio->input;
+
+ for(i = 0; i < audio->input_pads; i++){
+ if(audio_channels_old == 0){
+ /* create AgsPad's if necessary */
+ pad = g_object_new(machine->input_pad_type,
+ "channel\0", channel,
+ NULL);
+ gtk_box_pack_start((GtkBox *) machine->input,
+ (GtkWidget *) pad,
+ FALSE, FALSE,
+ 0);
+
+ ags_pad_resize_lines((AgsPad *) pad, machine->input_line_type,
+ audio->audio_channels, 0);
+ }else{
+ pad = AGS_PAD(list_input_pad->data);
+
+ ags_pad_resize_lines((AgsPad *) pad, machine->input_line_type,
+ audio_channels, audio_channels_old);
+ }
+
+ channel = channel->next_pad;
+
+ if(audio_channels_old != 0){
+ list_input_pad = list_input_pad->next;
+ }
+ }
+
+ g_list_free(list_input_pad_start);
+ }
+
+ /* AgsOutput */
+ if(machine->output != NULL){
+ list_output_pad = gtk_container_get_children((GtkContainer *) machine->output);
+ channel = audio->output;
+
+ for(i = 0; i < audio->output_pads; i++){
+ if(audio_channels_old == 0){
+ /* create AgsPad's if necessary */
+ pad = g_object_new(machine->output_pad_type,
+ "channel\0", channel,
+ NULL);
+ gtk_box_pack_start((GtkBox *) machine->output,
+ (GtkWidget *) pad,
+ FALSE, FALSE,
+ 0);
+ ags_pad_resize_lines((AgsPad *) pad, machine->output_line_type,
+ AGS_AUDIO(channel->audio)->audio_channels, 0);
+ }else{
+ pad = AGS_PAD(list_output_pad->data);
+
+ ags_pad_resize_lines((AgsPad *) pad, machine->input_line_type,
+ audio_channels, audio_channels_old);
+ }
+
+ channel = channel->next_pad;
+
+ if(audio_channels_old != 0){
+ list_output_pad = list_output_pad->next;
+ }
+ }
+
+ g_list_free(list_output_pad_start);
+ }
+ }else if(audio_channels < audio_channels_old){
+ /* shrink lines */
+
+ list_output_pad_start =
+ list_output_pad = gtk_container_get_children((GtkContainer *) machine->output);
+
+ list_input_pad_start =
+ list_input_pad = gtk_container_get_children((GtkContainer *) machine->input);
+
+ if(audio_channels == 0){
+ /* AgsInput */
+ while(list_input_pad != NULL){
+ list_input_pad_next = list_input_pad->next;
+
+ gtk_widget_destroy(GTK_WIDGET(list_input_pad->data));
+
+ list_input_pad->next = list_input_pad_next;
+ }
+
+ /* AgsOutput */
+ while(list_output_pad != NULL){
+ list_output_pad_next = list_output_pad->next;
+
+ gtk_widget_destroy(GTK_WIDGET(list_output_pad->data));
+
+ list_output_pad->next = list_output_pad_next;
+ }
+ }else{
+ /* AgsInput */
+ for(i = 0; list_input_pad != NULL; i++){
+ ags_pad_resize_lines(AGS_PAD(list_input_pad->data), machine->input_pad_type,
+ audio_channels, audio_channels_old);
+
+ list_input_pad = list_input_pad->next;
+ }
+
+ /* AgsOutput */
+ for(i = 0; list_output_pad != NULL; i++){
+ ags_pad_resize_lines(AGS_PAD(list_output_pad->data), machine->output_pad_type,
+ audio_channels, audio_channels_old);
+
+ list_output_pad = list_output_pad->next;
+ }
+ }
+
+ if(list_output_pad_start)
+ g_list_free(list_output_pad_start);
+
+ if(list_input_pad_start)
+ g_list_free(list_input_pad_start);
+ }
+}
+
+void
+ags_machine_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsMachine *machine)
+{
+ AgsPad *pad;
+ AgsChannel *channel;
+ guint i, j;
+
+ if(pads_old < pads){
+ /* input */
+ if(machine->input != NULL){
+ if(type == AGS_TYPE_INPUT){
+ channel = ags_channel_nth(audio->input,
+ pads_old * audio->audio_channels);
+
+ for(i = pads_old; i < pads; i++){
+ pad = g_object_new(machine->input_pad_type,
+ "channel\0", channel,
+ NULL);
+ gtk_box_pack_start((GtkBox *) machine->input,
+ (GtkWidget *) pad, FALSE, FALSE, 0);
+ ags_pad_resize_lines((AgsPad *) pad, machine->input_line_type,
+ audio->audio_channels, 0);
+ channel = channel->next_pad;
+ }
+ }
+ }
+ /* output */
+ if(machine->output != NULL){
+ if(type == AGS_TYPE_OUTPUT){
+ channel = ags_channel_nth(audio->output,
+ pads_old * audio->audio_channels);
+
+ for(i = pads_old; i < pads; i++){
+ pad = g_object_new(machine->output_pad_type,
+ "channel\0", channel,
+ NULL);
+ gtk_box_pack_start((GtkBox *) machine->output, (GtkWidget *) pad, FALSE, FALSE, 0);
+ ags_pad_resize_lines((AgsPad *) pad, machine->output_line_type,
+ audio->audio_channels, 0);
+
+ channel = channel->next_pad;
+ }
+ }
+ }
+ }else if(pads_old > pads){
+ GList *list, *list_next;
+
+ /* input - destroy AgsPad's */
+ list = gtk_container_get_children(GTK_CONTAINER(machine->input));
+ list = g_list_nth(list, pads);
+
+ while(list != NULL){
+ list_next = list->next;
+
+ gtk_widget_destroy(GTK_WIDGET(list->data));
+
+ list = list_next;
+ }
+
+ /* output - destroy AgsPad's */
+ list = gtk_container_get_children(GTK_CONTAINER(machine->output));
+ list = g_list_nth(list, pads);
+
+ while(list != NULL){
+ list_next = list->next;
+
+ gtk_widget_destroy(GTK_WIDGET(list->data));
+
+ list = list_next;
+ }
+ }
+}
+
+/**
+ * ags_machine_file_chooser_dialog_new:
+ * @machine: the #AgsMachine
+ *
+ * Creates a new machine file chooser dialog in order to
+ * open audio files.
+ *
+ * Since: 0.4
+ */
+GtkFileChooserDialog*
+ags_machine_file_chooser_dialog_new(AgsMachine *machine)
+{
+ GtkFileChooserDialog *file_chooser;
+ GtkCheckButton *check_button;
+
+ file_chooser = (GtkFileChooserDialog *) gtk_file_chooser_dialog_new(g_strdup("open audio files\0"),
+ (GtkWindow *) gtk_widget_get_toplevel((GtkWidget *) machine),
+ GTK_FILE_CHOOSER_ACTION_OPEN,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ NULL);
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(file_chooser), TRUE);
+
+ check_button = (GtkCheckButton *) gtk_check_button_new_with_label(g_strdup("open in new channel\0"));
+ gtk_toggle_button_set_active((GtkToggleButton *) check_button, TRUE);
+ gtk_box_pack_start((GtkBox *) GTK_DIALOG(file_chooser)->vbox, (GtkWidget *) check_button, FALSE, FALSE, 0);
+ g_object_set_data((GObject *) file_chooser, "create\0", (gpointer) check_button);
+
+ check_button = (GtkCheckButton *) gtk_check_button_new_with_label(g_strdup("overwrite existing links\0"));
+ gtk_toggle_button_set_active((GtkToggleButton *) check_button, TRUE);
+ gtk_box_pack_start((GtkBox *) GTK_DIALOG(file_chooser)->vbox, (GtkWidget *) check_button, FALSE, FALSE, 0);
+ g_object_set_data((GObject *) file_chooser, "overwrite\0", (gpointer) check_button);
+
+ return(file_chooser);
+}
+
+/**
+ * ags_machine_open_files:
+ * @machine: the #AgsMachine
+ * @filenames: the filenames
+ * @overwrite_channels: reset channels
+ * @create_channels: instantiate new channels
+ *
+ * Opens audio files and modifies or creates new channels if wished.
+ *
+ * Since: 0.4
+ */
+void
+ags_machine_open_files(AgsMachine *machine,
+ GSList *filenames,
+ gboolean overwrite_channels,
+ gboolean create_channels)
+{
+ AgsOpenFile *open_file;
+
+ open_file = ags_open_file_new(machine->audio,
+ filenames,
+ overwrite_channels,
+ create_channels);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(machine->audio->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(open_file));
+
+}
+
+/**
+ * ags_machine_new:
+ * @devout: the assigned devout.
+ *
+ * Creates an #AgsMachine
+ *
+ * Returns: a new #AgsMachine
+ *
+ * Since: 0.3
+ */
+AgsMachine*
+ags_machine_new(GObject *devout)
+{
+ AgsMachine *machine;
+ GValue value;
+
+ machine = (AgsMachine *) g_object_new(AGS_TYPE_MACHINE,
+ NULL);
+
+ g_value_init(&value, G_TYPE_OBJECT);
+ g_value_set_object(&value, devout);
+ g_object_set_property(G_OBJECT(machine->audio),
+ "devout\0", &value);
+ g_value_unset(&value);
+
+ return(machine);
+}
+
+/**
+ * ags_machine_popup_new:
+ * @machine: the assigned machine.
+ *
+ * Creates #GtkMenu to use as @machine's popup context menu.
+ *
+ * Returns: a new #GtkMenu containing basic actions.
+ *
+ * Since: 0.3
+ */
+GtkMenu*
+ags_machine_popup_new(AgsMachine *machine)
+{
+ GtkMenu *popup;
+ GtkMenuItem *item;
+ GList *list, *list_start;
+
+ popup = (GtkMenu *) gtk_menu_new();
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("move up\0"));
+ gtk_menu_shell_append((GtkMenuShell *) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("move down\0"));
+ gtk_menu_shell_append((GtkMenuShell *) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("hide\0"));
+ gtk_menu_shell_append((GtkMenuShell *) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("show\0"));
+ gtk_menu_shell_append((GtkMenuShell *) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("destroy\0"));
+ gtk_menu_shell_append((GtkMenuShell *) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("rename\0"));
+ gtk_menu_shell_append((GtkMenuShell *) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("properties\0"));
+ gtk_menu_shell_append((GtkMenuShell *) popup, (GtkWidget*) item);
+
+ list_start =
+ list = gtk_container_get_children((GtkContainer *) popup);
+
+ g_signal_connect((GObject*) list->data, "activate\0",
+ G_CALLBACK(ags_machine_popup_move_up_activate_callback), (gpointer) machine);
+ list = list->next;
+
+ g_signal_connect((GObject*) list->data, "activate\0",
+ G_CALLBACK(ags_machine_popup_move_down_activate_callback), (gpointer) machine);
+ list = list->next;
+
+ g_signal_connect((GObject*) list->data, "activate\0",
+ G_CALLBACK(ags_machine_popup_hide_activate_callback), (gpointer) machine);
+ list = list->next;
+
+ g_signal_connect((GObject*) list->data, "activate\0",
+ G_CALLBACK(ags_machine_popup_show_activate_callback), (gpointer) machine);
+ list = list->next;
+
+ g_signal_connect((GObject*) list->data, "activate\0",
+ G_CALLBACK(ags_machine_popup_destroy_activate_callback), (gpointer) machine);
+ list = list->next;
+
+ g_signal_connect((GObject*) list->data, "activate\0",
+ G_CALLBACK(ags_machine_popup_rename_activate_callback), (gpointer) machine);
+ list = list->next;
+
+ g_signal_connect((GObject*) list->data, "activate\0",
+ G_CALLBACK(ags_machine_popup_properties_activate_callback), (gpointer) machine);
+
+ g_list_free(list_start);
+ gtk_widget_show_all((GtkWidget*) popup);
+
+ return(popup);
+}
diff --git a/src/ags/X/ags_machine.h b/src/ags/X/ags_machine.h
new file mode 100644
index 0000000..a69152d
--- /dev/null
+++ b/src/ags/X/ags_machine.h
@@ -0,0 +1,135 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MACHINE_H__
+#define __AGS_MACHINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_MACHINE (ags_machine_get_type())
+#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_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MACHINE))
+#define AGS_IS_MACHINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MACHINE))
+#define AGS_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MACHINE, AgsMachineClass))
+
+#define AGS_MACHINE_DEFAULT_VERSION "0.4.2\0"
+#define AGS_MACHINE_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+typedef struct _AgsMachine AgsMachine;
+typedef struct _AgsMachineClass AgsMachineClass;
+
+typedef enum{
+ AGS_MACHINE_SOLO = 1,
+ AGS_MACHINE_IS_EFFECT = 1 << 1,
+ AGS_MACHINE_IS_SEQUENCER = 1 << 2,
+ AGS_MACHINE_IS_SYNTHESIZER = 1 << 3,
+ AGS_MACHINE_TAKES_FILE_INPUT = 1 << 4,
+ AGS_MACHINE_MAPPED_RECALL = 1 << 5,
+ AGS_MACHINE_PREMAPPED_RECALL = 1 << 6,
+ AGS_MACHINE_BLOCK_PLAY = 1 << 7,
+ AGS_MACHINE_BLOCK_STOP = 1 << 8,
+ AGS_MACHINE_CONNECTED = 1 << 9,
+}AgsMachineFlags;
+
+typedef enum{
+ AGS_MACHINE_ACCEPT_WAV = 1,
+ AGS_MACHINE_ACCEPT_OGG = 1 << 1,
+ AGS_MACHINE_ACCEPT_SOUNDFONT2 = 1 << 2,
+}AgsMachineFileInputFlags;
+
+struct _AgsMachine
+{
+ GtkHandleBox handle_box;
+
+ GObject *ags_main;
+
+ char *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ guint flags;
+ guint file_input_flags;
+
+ AgsAudio *audio;
+
+ GtkToggleButton *play;
+
+ GType output_pad_type;
+ GType output_line_type;
+ GtkContainer *output;
+
+ GType input_pad_type;
+ GType input_line_type;
+ GtkContainer *input;
+
+ GtkContainer *bridge;
+
+ GList *port;
+
+ GtkMenu *popup;
+ GtkDialog *properties;
+ GtkDialog *rename;
+};
+
+struct _AgsMachineClass
+{
+ GtkHandleBoxClass handle_box;
+
+ void (*map_recall)(AgsMachine *machine);
+ GList* (*find_port)(AgsMachine *machine);
+};
+
+GType ags_machine_get_type(void);
+
+
+void ags_machine_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsMachine *machine);
+void ags_machine_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsMachine *machine);
+
+void ags_machine_add_default_recalls(AgsMachine *machine) G_DEPRECATED_FOR(ags_machine_map_recall);
+
+void ags_machine_map_recall(AgsMachine *machine);
+
+GtkListStore* ags_machine_get_possible_links(AgsMachine *machine);
+
+AgsMachine* ags_machine_find_by_name(GList *list, char *name);
+
+GList* ags_machine_find_port(AgsMachine *machine);
+
+void ags_machine_set_run(AgsMachine *machine,
+ gboolean run);
+
+GtkFileChooserDialog* ags_machine_file_chooser_dialog_new(AgsMachine *machine);
+
+void ags_machine_open_files(AgsMachine *machine,
+ GSList *filenames,
+ gboolean overwrite_channels,
+ gboolean create_channels);
+
+AgsMachine* ags_machine_new(GObject *devout);
+
+#endif /*__AGS_MACHINE_H__*/
diff --git a/src/ags/X/ags_machine_callbacks.c b/src/ags/X/ags_machine_callbacks.c
new file mode 100644
index 0000000..37d1914
--- /dev/null
+++ b/src/ags/X/ags_machine_callbacks.c
@@ -0,0 +1,469 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_machine_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/task/ags_start_devout.h>
+#include <ags/audio/task/ags_remove_audio.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_machine_editor.h>
+
+#include <ags/X/editor/ags_file_selection.h>
+
+int ags_machine_popup_rename_response_callback(GtkWidget *widget, gint response, AgsMachine *machine);
+void ags_machine_start_failure_response(GtkWidget *dialog, AgsMachine *machine);
+
+#define AGS_RENAME_ENTRY "AgsRenameEntry"
+
+int
+ags_machine_button_press_callback(GtkWidget *handle_box, GdkEventButton *event, AgsMachine *machine)
+{
+ AgsWindow *window = AGS_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET(handle_box)));
+
+ if(event->button == 3)
+ gtk_menu_popup (GTK_MENU (machine->popup),
+ NULL, NULL, NULL, NULL,
+ event->button, event->time);
+ else if(event->button == 1)
+ window->selected = machine;
+
+ return(0);
+}
+
+int
+ags_machine_popup_move_up_activate_callback(GtkWidget *widget, AgsMachine *machine)
+{
+ GValue val={0,};
+
+ g_value_init (&val, G_TYPE_INT);
+
+ gtk_container_child_get_property(GTK_CONTAINER(GTK_WIDGET(machine)->parent),
+ GTK_WIDGET(machine),
+ "position\0", &val);
+
+ if(g_value_get_int (&val) > 0){
+ gtk_box_reorder_child(GTK_BOX(GTK_WIDGET(machine)->parent),
+ GTK_WIDGET(machine),
+ g_value_get_int (&val) - 1);
+ }
+
+ g_value_unset (&val);
+
+ return(0);
+}
+
+int
+ags_machine_popup_move_down_activate_callback(GtkWidget *widget, AgsMachine *machine)
+{
+ GValue val={0,};
+
+ g_value_init (&val, G_TYPE_INT);
+
+ gtk_container_child_get_property(GTK_CONTAINER(GTK_WIDGET(machine)->parent),
+ GTK_WIDGET(machine),
+ "position\0", &val);
+
+ if(g_value_get_int (&val) < g_list_length(gtk_container_get_children((GtkContainer *) GTK_WIDGET(machine)->parent)) - 1){
+ gtk_box_reorder_child(GTK_BOX(GTK_WIDGET(machine)->parent),
+ GTK_WIDGET(machine),
+ g_value_get_int (&val) + 1);
+ }
+
+ g_value_unset (&val);
+
+ return(0);
+}
+
+int
+ags_machine_popup_hide_activate_callback(GtkWidget *widget, AgsMachine *machine)
+{
+ gtk_widget_hide(GTK_BIN(gtk_container_get_children((GtkContainer *) GTK_WIDGET(machine))->data)->child);
+
+ return(0);
+}
+
+int
+ags_machine_popup_show_activate_callback(GtkWidget *widget, AgsMachine *machine)
+{
+ gtk_widget_show(GTK_BIN(gtk_container_get_children((GtkContainer *) GTK_WIDGET(machine))->data)->child);
+
+ return(0);
+}
+
+void
+ags_machine_popup_destroy_activate_callback(GtkWidget *widget, AgsMachine *machine)
+{
+ AgsWindow *window;
+ AgsRemoveAudio *remove_audio;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel((GtkWidget *) machine);
+
+ remove_audio = ags_remove_audio_new(window->devout,
+ machine->audio);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(remove_audio));
+
+ ags_connectable_disconnect(AGS_CONNECTABLE(machine));
+ gtk_widget_destroy((GtkWidget *) machine);
+}
+
+int
+ags_machine_popup_rename_activate_callback(GtkWidget *widget, AgsMachine *machine)
+{
+ GtkDialog *dialog;
+ GtkEntry *entry;
+
+ dialog = (GtkDialog *) gtk_dialog_new_with_buttons(g_strdup("rename\0"),
+ (GtkWindow *) gtk_widget_get_toplevel(GTK_WIDGET(machine)),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_STOCK_OK,
+ GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL,
+ GTK_RESPONSE_REJECT,
+ NULL);
+
+ entry = (GtkEntry *) gtk_entry_new();
+ gtk_entry_set_text(entry, machine->name);
+ gtk_box_pack_start((GtkBox *) dialog->vbox, (GtkWidget *) entry, FALSE, FALSE, 0);
+
+ gtk_widget_show_all((GtkWidget *) dialog);
+
+ g_signal_connect((GObject *) dialog, "response\0",
+ G_CALLBACK(ags_machine_popup_rename_response_callback), (gpointer) machine);
+
+ return(0);
+}
+
+int
+ags_machine_popup_rename_response_callback(GtkWidget *widget, gint response, AgsMachine *machine)
+{
+ gchar *text;
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ if(machine->name != NULL)
+ free(machine->name);
+
+ text = gtk_editable_get_chars(GTK_EDITABLE(gtk_container_get_children((GtkContainer *) GTK_DIALOG(widget)->vbox)->data), 0, -1);
+ machine->name = text;
+
+ gtk_frame_set_label((GtkFrame *) gtk_container_get_children((GtkContainer *) machine)->data, g_strconcat(G_OBJECT_TYPE_NAME(machine), ": \0", text, NULL));
+ g_free(text);
+ }
+
+ gtk_widget_destroy(widget);
+
+ return(0);
+}
+
+int
+ags_machine_popup_properties_activate_callback(GtkWidget *widget, AgsMachine *machine)
+{
+ machine->properties = (GtkDialog *) ags_machine_editor_new(machine);
+ gtk_window_set_default_size((GtkWindow *) machine->properties, -1, 400);
+ ags_connectable_connect(AGS_CONNECTABLE(machine->properties));
+ ags_applicable_reset(AGS_APPLICABLE(machine->properties));
+ gtk_widget_show_all((GtkWidget *) machine->properties);
+
+ return(0);
+}
+
+void
+ags_machine_open_response_callback(GtkDialog *dialog, gint response, AgsMachine *machine)
+{
+ GtkFileChooserDialog *file_chooser;
+ GtkCheckButton *overwrite;
+ GtkCheckButton *create;
+ GSList *filenames;
+
+ file_chooser = GTK_FILE_CHOOSER_DIALOG(dialog);
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ filenames = gtk_file_chooser_get_filenames(GTK_FILE_CHOOSER(file_chooser));
+ overwrite = g_object_get_data(G_OBJECT(dialog), "overwrite\0");
+ create = g_object_get_data(G_OBJECT(dialog), "create\0");
+
+ ags_machine_open_files(machine,
+ filenames,
+ GTK_TOGGLE_BUTTON(overwrite)->active,
+ GTK_TOGGLE_BUTTON(create)->active);
+ }
+
+ gtk_widget_destroy(GTK_WIDGET(file_chooser));
+}
+
+void
+ags_machine_open_extended_response_callback(GtkWidget *widget, gint response, AgsMachine *machine)
+{
+ GtkFileChooserDialog *file_chooser;
+ AgsFileSelection *file_selection;
+ GtkCheckButton *overwrite;
+ GtkCheckButton *create;
+ GSList *filenames;
+ gchar *current_folder;
+ GError *error;
+
+ file_chooser = (GtkFileChooserDialog *) gtk_widget_get_toplevel(widget);
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ filenames = gtk_file_chooser_get_filenames(GTK_FILE_CHOOSER(file_chooser));
+ overwrite = g_object_get_data((GObject *) widget, "overwrite\0");
+ create = g_object_get_data((GObject *) widget, "create\0");
+
+ current_folder = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(file_chooser));
+ //TODO:JK: you need to check against recently used
+ //TODO:JK: add more file types to AgsFileSelection
+
+ /* check for supported packed audio files */
+ file_selection = (AgsFileSelection *) gtk_file_chooser_get_extra_widget(GTK_FILE_CHOOSER(file_chooser));
+
+ if(file_selection != NULL && g_strcmp0(file_selection->directory, current_folder)){
+ gtk_widget_destroy(GTK_WIDGET(file_selection));
+
+ file_selection = NULL;
+ }
+
+ if(file_selection == NULL ||
+ (AGS_FILE_SELECTION_COMPLETED & (file_selection->flags)) == 0){
+
+ if((AGS_MACHINE_ACCEPT_SOUNDFONT2 & (machine->file_input_flags)) != 0){
+ GDir *current_directory;
+ GList *new_entry, *old_entry;
+ GSList *slist;
+ gchar *current_filename;
+
+ slist = filenames;
+ new_entry = NULL;
+
+ while(slist != NULL){
+ if(g_str_has_suffix(slist->data,
+ ".sf2\0")){
+ AgsFileSelectionEntry *entry;
+
+
+ entry = ags_file_selection_entry_alloc();
+ entry->filename = slist->data;
+
+ new_entry = g_list_prepend(new_entry,
+ entry);
+ }
+
+ slist = slist->next;
+ }
+
+ old_entry = NULL;
+
+ if(file_selection == NULL){
+ if(new_entry != NULL){
+ file_selection = ags_file_selection_new();
+ gtk_file_chooser_set_extra_widget(GTK_FILE_CHOOSER(file_chooser),
+ GTK_WIDGET(file_selection));
+
+ ags_file_selection_set_entry(file_selection,
+ new_entry);
+ ags_connectable_connect(AGS_CONNECTABLE(file_selection));
+
+ gtk_widget_show_all(GTK_WIDGET(file_selection));
+
+ return;
+ }
+ }else if(AGS_IS_FILE_SELECTION(file_selection)){
+ GList *really_new_entry;
+ GList *list;
+
+ old_entry = file_selection->entry;
+ list = new_entry;
+ really_new_entry = NULL;
+
+ /* check against existing entries */
+ if(new_entry != NULL){
+ while(list != NULL){
+ if(g_list_find(old_entry, list->data) == NULL){
+ really_new_entry = g_list_prepend(really_new_entry,
+ list->data);
+ }else{
+ free(list->data);
+ }
+
+ list = list->next;
+ }
+
+ g_list_free(new_entry);
+ }
+
+ ags_file_selection_set_entry(file_selection,
+ really_new_entry);
+
+ /* adding lost files */
+ //TODO:JK: figure out if you need to copy the GSList of filenames
+ gtk_file_chooser_select_all(GTK_FILE_CHOOSER(file_chooser));
+
+ current_directory = g_dir_open(current_folder,
+ 0,
+ &error);
+
+ while((current_filename = (gchar *) g_dir_read_name(current_directory)) != NULL){
+ if(!g_strcmp0(".\0", current_filename) ||
+ !g_strcmp0("..\0", current_filename))
+ continue;
+
+ if(!ags_file_selection_contains_file(file_selection, current_filename) &&
+ g_slist_find(filenames, current_filename) == NULL){
+ gtk_file_chooser_unselect_filename(GTK_FILE_CHOOSER(file_chooser),
+ current_filename);
+ }
+ }
+
+ g_dir_close(current_directory);
+
+ return;
+ }
+ }
+ }
+
+ //TODO:JK: fix GSList filenames memory leak
+ ags_machine_open_files(machine,
+ filenames,
+ overwrite->toggle_button.active,
+ create->toggle_button.active);
+ }
+}
+
+void
+ags_machine_play_callback(GtkWidget *toggle_button, AgsMachine *machine)
+{
+ if(machine == NULL){
+ return;
+ }
+
+ if(GTK_TOGGLE_BUTTON(toggle_button)->active){
+ if((AGS_MACHINE_BLOCK_PLAY & (machine->flags)) != 0){
+ return;
+ }
+
+ printf("machine: on\n\0");
+
+ machine->flags |= AGS_MACHINE_BLOCK_PLAY;
+
+ ags_machine_set_run(machine,
+ TRUE);
+
+ machine->flags &= (~AGS_MACHINE_BLOCK_PLAY);
+ }else{
+ if((AGS_MACHINE_BLOCK_STOP & (machine->flags)) != 0){
+ return;
+ }
+
+ printf("machine: off\n\0");
+
+ machine->flags |= AGS_MACHINE_BLOCK_STOP;
+
+ ags_machine_set_run(machine,
+ FALSE);
+
+ machine->flags &= (~AGS_MACHINE_BLOCK_STOP);
+ }
+}
+
+void
+ags_machine_tact_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMachine *machine)
+{
+ /* empty */
+}
+
+void
+ags_machine_done_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMachine *machine)
+{
+ AgsChannel *channel;
+
+ if((AGS_MACHINE_BLOCK_STOP & (machine->flags)) != 0){
+ return;
+ }
+
+ machine->flags |= AGS_MACHINE_BLOCK_STOP;
+
+ gtk_toggle_button_set_active(machine->play, FALSE);
+
+ /* cancel playback */
+ channel = audio->output;
+
+ while(channel != NULL){
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] == recall_id){
+ ags_channel_tillrecycling_cancel(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0]);
+ }
+
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1] == recall_id){
+ ags_channel_tillrecycling_cancel(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1]);
+ }
+
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2] == recall_id){
+ ags_channel_tillrecycling_cancel(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2]);
+ }
+
+ /* set remove flag */
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= (AGS_DEVOUT_PLAY_DONE | AGS_DEVOUT_PLAY_REMOVE);
+
+ channel = channel->next;
+ }
+
+ machine->flags &= (~AGS_MACHINE_BLOCK_STOP);
+}
+
+void
+ags_machine_start_failure_callback(AgsTask *task, GError *error,
+ AgsMachine *machine)
+{
+ AgsWindow *window;
+ GtkMessageDialog *dialog;
+ AgsAudioLoop *audio_loop;
+
+ /* show error message */
+ window = AGS_MAIN(AGS_START_DEVOUT(task)->devout->ags_main)->window;
+
+ dialog = (GtkMessageDialog *) gtk_message_dialog_new(GTK_WINDOW(window),
+ GTK_DIALOG_MODAL,
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_CLOSE,
+ error->message);
+ g_signal_connect(dialog, "response\0",
+ G_CALLBACK(ags_machine_start_failure_response), machine);
+ gtk_widget_show_all(dialog);
+}
+
+void
+ags_machine_start_failure_response(GtkWidget *dialog,
+ AgsMachine *machine)
+{
+ gtk_widget_destroy(dialog);
+}
diff --git a/src/ags/X/ags_machine_callbacks.h b/src/ags/X/ags_machine_callbacks.h
new file mode 100644
index 0000000..e749446
--- /dev/null
+++ b/src/ags/X/ags_machine_callbacks.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#ifndef __AGS_MACHINE_CALLBACKS_H__
+#define __AGS_MACHINE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/audio/ags_task.h>
+
+int ags_machine_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsMachine *machine);
+int ags_machine_destroy_callback(GtkObject *object, AgsMachine *machine);
+
+/* controls */
+int ags_machine_button_press_callback(GtkWidget *handle_box, GdkEventButton *event, AgsMachine *machine);
+
+int ags_machine_popup_move_up_activate_callback(GtkWidget *widget, AgsMachine *machine);
+int ags_machine_popup_move_down_activate_callback(GtkWidget *widget, AgsMachine *machine);
+int ags_machine_popup_hide_activate_callback(GtkWidget *widget, AgsMachine *machine);
+int ags_machine_popup_show_activate_callback(GtkWidget *widget, AgsMachine *machine);
+void ags_machine_popup_destroy_activate_callback(GtkWidget *widget, AgsMachine *machine);
+int ags_machine_popup_rename_activate_callback(GtkWidget *widget, AgsMachine *machine);
+int ags_machine_popup_properties_activate_callback(GtkWidget *widget, AgsMachine *machine);
+
+void ags_machine_open_response_callback(GtkDialog *dialog, gint response, AgsMachine *machine);
+
+void ags_machine_play_callback(GtkWidget *toggle_button, AgsMachine *machine);
+
+/* audio */
+void ags_machine_tact_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMachine *machine);
+void ags_machine_done_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMachine *machine);
+
+/* task */
+void ags_machine_start_failure_callback(AgsTask *task, GError *error,
+ AgsMachine *machine);
+
+#endif /*__AGS_MACHINE_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_machine_editor.c b/src/ags/X/ags_machine_editor.c
new file mode 100644
index 0000000..82f5fee
--- /dev/null
+++ b/src/ags/X/ags_machine_editor.c
@@ -0,0 +1,536 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_machine_editor.h>
+#include <ags/X/ags_machine_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_applicable.h>
+
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/X/ags_link_collection_editor.h>
+
+void ags_machine_editor_class_init(AgsMachineEditorClass *machine_editor);
+void ags_machine_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_machine_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_machine_editor_init(AgsMachineEditor *machine_editor);
+void ags_machine_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_machine_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_machine_editor_connect(AgsConnectable *connectable);
+void ags_machine_editor_disconnect(AgsConnectable *connectable);
+void ags_machine_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_machine_editor_apply(AgsApplicable *applicable);
+void ags_machine_editor_reset(AgsApplicable *applicable);
+void ags_machine_editor_destroy(GtkObject *object);
+void ags_machine_editor_show(GtkWidget *widget);
+
+void ags_machine_editor_real_set_machine(AgsMachineEditor *machine_editor,
+ AgsMachine *machine);
+
+/**
+ * SECTION:ags_machine_editor
+ * @short_description: pack pad editors.
+ * @title: AgsMachineEditor
+ * @section_id:
+ * @include: ags/X/ags_machine_editor.h
+ *
+ * #AgsMachineEditor is a composite widget to edit all aspects of #AgsAudio.
+ * It consists of multiple child editors.
+ */
+
+enum{
+ SET_MACHINE,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_MACHINE,
+};
+
+static guint machine_editor_signals[LAST_SIGNAL];
+
+GType
+ags_machine_editor_get_type(void)
+{
+ static GType ags_type_machine_editor = 0;
+
+ if(!ags_type_machine_editor){
+ static const GTypeInfo ags_machine_editor_info = {
+ sizeof (AgsMachineEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_machine_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMachineEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_machine_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_machine_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_machine_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_machine_editor = g_type_register_static(GTK_TYPE_DIALOG,
+ "AgsMachineEditor\0", &ags_machine_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_machine_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_machine_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_machine_editor);
+}
+
+void
+ags_machine_editor_class_init(AgsMachineEditorClass *machine_editor)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) machine_editor;
+
+ gobject->set_property = ags_machine_editor_set_property;
+ gobject->get_property = ags_machine_editor_get_property;
+
+ /* properties */
+ /**
+ * AgsMachine:machine:
+ *
+ * The #AgsMachine to edit.
+ *
+ * Since: 0.3
+ */
+ param_spec = g_param_spec_object("machine\0",
+ "assigned machine\0",
+ "The machine which this machine editor is assigned with\0",
+ AGS_TYPE_MACHINE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MACHINE,
+ param_spec);
+
+ /* AgsMachineEditorClass */
+ machine_editor->set_machine = ags_machine_editor_real_set_machine;
+
+ /* signals */
+ /**
+ * AgsMachine::add-default-recalls:
+ * @machine_editor: the #AgsMachineEditor
+ * @machine: the #AgsMachine to set
+ *
+ * The ::set-machine notify about modified machine.
+ */
+ machine_editor_signals[SET_MACHINE] =
+ g_signal_new("set_machine\0",
+ G_TYPE_FROM_CLASS (machine_editor),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsMachineEditorClass, set_machine),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_machine_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_machine_editor_connect;
+ connectable->disconnect = ags_machine_editor_disconnect;
+}
+
+void
+ags_machine_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_machine_editor_set_update;
+ applicable->apply = ags_machine_editor_apply;
+ applicable->reset = ags_machine_editor_reset;
+}
+
+void
+ags_machine_editor_init(AgsMachineEditor *machine_editor)
+{
+ GtkNotebook *notebook;
+ GtkScrolledWindow *scrolled_window;
+
+ gtk_window_set_title((GtkWindow *) machine_editor, g_strdup("properties\0"));
+
+ machine_editor->flags = 0;
+
+ machine_editor->version = AGS_MACHINE_EDITOR_DEFAULT_VERSION;
+ machine_editor->build_id = AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID;
+
+ machine_editor->machine = NULL;
+
+ machine_editor->notebook =
+ notebook = (GtkNotebook *) gtk_notebook_new();
+ gtk_box_pack_start((GtkBox *) machine_editor->dialog.vbox, (GtkWidget*) notebook, TRUE, TRUE, 0);
+
+ /* AgsOutput */
+ machine_editor->output_scrolled_window =
+ scrolled_window = (GtkScrolledWindow *) gtk_scrolled_window_new(NULL, NULL);
+ gtk_notebook_append_page(notebook,
+ (GtkWidget *) scrolled_window,
+ (GtkWidget *) gtk_label_new(g_strdup("output\0")));
+
+ /* AgsInput */
+ machine_editor->input_scrolled_window =
+ scrolled_window = (GtkScrolledWindow *) gtk_scrolled_window_new(NULL, NULL);
+ gtk_notebook_append_page(notebook,
+ (GtkWidget *) scrolled_window,
+ (GtkWidget *) gtk_label_new(g_strdup("input\0")));
+
+
+ /* AgsOutput link editor */
+ machine_editor->output_link_editor_scrolled_window =
+ scrolled_window = (GtkScrolledWindow *) gtk_scrolled_window_new(NULL, NULL);
+ gtk_notebook_append_page(notebook,
+ (GtkWidget *) scrolled_window,
+ (GtkWidget *) gtk_label_new(g_strdup("link output\0")));
+
+ /* AgsInput link editor */
+ machine_editor->input_link_editor_scrolled_window =
+ scrolled_window = (GtkScrolledWindow *) gtk_scrolled_window_new(NULL, NULL);
+ gtk_notebook_append_page(notebook,
+ (GtkWidget *) scrolled_window,
+ (GtkWidget *) gtk_label_new(g_strdup("link input\0")));
+
+ /* resize editor */
+ machine_editor->resize_editor_scrolled_window =
+ scrolled_window = (GtkScrolledWindow *) gtk_scrolled_window_new(NULL, NULL);
+ gtk_notebook_append_page(notebook, (GtkWidget *) scrolled_window,
+ (GtkWidget *) gtk_label_new(g_strdup("resize channels\0")));
+
+ /* GtkButton's in GtkDialog->action_area */
+ machine_editor->add = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_ADD);
+ gtk_box_pack_start((GtkBox *) machine_editor->dialog.action_area, (GtkWidget *) machine_editor->add, FALSE, FALSE, 0);
+
+ machine_editor->remove = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_REMOVE);
+ gtk_box_pack_start((GtkBox *) machine_editor->dialog.action_area, (GtkWidget *) machine_editor->remove, FALSE, FALSE, 0);
+
+ machine_editor->apply = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_APPLY);
+ gtk_box_pack_start((GtkBox *) machine_editor->dialog.action_area, (GtkWidget *) machine_editor->apply, FALSE, FALSE, 0);
+
+ machine_editor->ok = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_OK);
+ gtk_box_pack_start((GtkBox *) machine_editor->dialog.action_area, (GtkWidget *) machine_editor->ok, FALSE, FALSE, 0);
+
+ machine_editor->cancel = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_CANCEL);
+ gtk_box_pack_start((GtkBox *) machine_editor->dialog.action_area, (GtkWidget *) machine_editor->cancel, FALSE, FALSE, 0);
+}
+
+void
+ags_machine_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMachineEditor *machine_editor;
+
+ machine_editor = AGS_MACHINE_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_MACHINE:
+ {
+ AgsMachine *machine;
+
+ machine = (AgsMachine *) g_value_get_object(value);
+
+ ags_machine_editor_set_machine(machine_editor, machine);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_machine_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMachineEditor *machine_editor;
+
+ machine_editor = AGS_MACHINE_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_MACHINE:
+ g_value_set_object(value, machine_editor->machine);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_machine_editor_connect(AgsConnectable *connectable)
+{
+ AgsMachineEditor *machine_editor;
+
+ machine_editor = AGS_MACHINE_EDITOR(connectable);
+
+ /* GtkObject */
+ g_signal_connect((GObject *) machine_editor, "destroy\0",
+ G_CALLBACK(ags_machine_editor_destroy_callback), (gpointer) machine_editor);
+
+ /* GtkWidget */
+ g_signal_connect((GObject *) machine_editor, "show\0",
+ G_CALLBACK(ags_machine_editor_show_callback), (gpointer) machine_editor);
+
+ /* GtkNotebook */
+ g_signal_connect((GtkNotebook *) machine_editor->notebook, "switch-page\0",
+ G_CALLBACK(ags_machine_editor_switch_page_callback), (gpointer) machine_editor);
+
+ /* AgsMachineEditor tabs */
+ ags_connectable_connect(AGS_CONNECTABLE(machine_editor->output_editor));
+ ags_connectable_connect(AGS_CONNECTABLE(machine_editor->input_editor));
+
+ ags_connectable_connect(AGS_CONNECTABLE(machine_editor->output_link_editor));
+ ags_connectable_connect(AGS_CONNECTABLE(machine_editor->input_link_editor));
+
+ ags_connectable_connect(AGS_CONNECTABLE(machine_editor->resize_editor));
+
+ /* AgsMachineEditor buttons */
+ g_signal_connect((GObject *) machine_editor->add, "clicked\0",
+ G_CALLBACK(ags_machine_editor_add_callback), (gpointer) machine_editor);
+
+ g_signal_connect((GObject *) machine_editor->remove, "clicked\0",
+ G_CALLBACK(ags_machine_editor_remove_callback), (gpointer) machine_editor);
+
+ g_signal_connect((GObject *) machine_editor->apply, "clicked\0",
+ G_CALLBACK(ags_machine_editor_apply_callback), (gpointer) machine_editor);
+
+ g_signal_connect((GObject *) machine_editor->ok, "clicked\0",
+ G_CALLBACK(ags_machine_editor_ok_callback), (gpointer) machine_editor);
+
+ g_signal_connect((GObject *) machine_editor->cancel, "clicked\0",
+ G_CALLBACK(ags_machine_editor_cancel_callback), (gpointer) machine_editor);
+}
+
+void
+ags_machine_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_machine_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsMachineEditor *machine_editor;
+
+ machine_editor = AGS_MACHINE_EDITOR(applicable);
+
+ ags_applicable_set_update(AGS_APPLICABLE(machine_editor->output_editor), update);
+ ags_applicable_set_update(AGS_APPLICABLE(machine_editor->input_editor), update);
+
+ ags_applicable_set_update(AGS_APPLICABLE(machine_editor->output_link_editor), update);
+ ags_applicable_set_update(AGS_APPLICABLE(machine_editor->input_link_editor), update);
+
+ ags_applicable_set_update(AGS_APPLICABLE(machine_editor->resize_editor), update);
+}
+
+void
+ags_machine_editor_apply(AgsApplicable *applicable)
+{
+ AgsMachineEditor *machine_editor;
+
+ machine_editor = AGS_MACHINE_EDITOR(applicable);
+
+ ags_applicable_apply(AGS_APPLICABLE(machine_editor->output_editor));
+ ags_applicable_apply(AGS_APPLICABLE(machine_editor->input_editor));
+
+ ags_applicable_apply(AGS_APPLICABLE(machine_editor->output_link_editor));
+ ags_applicable_apply(AGS_APPLICABLE(machine_editor->input_link_editor));
+
+ ags_applicable_apply(AGS_APPLICABLE(machine_editor->resize_editor));
+}
+
+void
+ags_machine_editor_reset(AgsApplicable *applicable)
+{
+ AgsMachineEditor *machine_editor;
+
+ machine_editor = AGS_MACHINE_EDITOR(applicable);
+
+ ags_applicable_reset(AGS_APPLICABLE(machine_editor->output_editor));
+ ags_applicable_reset(AGS_APPLICABLE(machine_editor->input_editor));
+
+ ags_applicable_reset(AGS_APPLICABLE(machine_editor->output_link_editor));
+ ags_applicable_reset(AGS_APPLICABLE(machine_editor->input_link_editor));
+
+ ags_applicable_reset(AGS_APPLICABLE(machine_editor->resize_editor));
+}
+
+void
+ags_machine_editor_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_machine_editor_show(GtkWidget *widget)
+{
+ /* empty */
+}
+
+/**
+ * ags_machine_editor_add_children:
+ *
+ * Add all child editors.
+ *
+ * Since: 0.3
+ */
+void
+ags_machine_editor_add_children(AgsMachineEditor *machine_editor)
+{
+ GParameter *output_link_editor_child_parameter;
+ GParameter *input_link_editor_child_parameter;
+
+ /* output */
+ output_link_editor_child_parameter = g_new0(GParameter, 1);
+
+ output_link_editor_child_parameter[0].name = "channel_type";
+
+ g_value_init(&(output_link_editor_child_parameter[0].value), G_TYPE_GTYPE);
+ g_value_set_gtype(&(output_link_editor_child_parameter[0].value), AGS_TYPE_OUTPUT);
+
+ /* input */
+ input_link_editor_child_parameter = g_new0(GParameter, 1);
+
+ input_link_editor_child_parameter[0].name = "channel_type";
+
+ g_value_init(&(input_link_editor_child_parameter[0].value), G_TYPE_GTYPE);
+ g_value_set_gtype(&(input_link_editor_child_parameter[0].value), AGS_TYPE_INPUT);
+
+
+ /* AgsOutput */
+ machine_editor->output_editor = ags_listing_editor_new(AGS_TYPE_OUTPUT);
+ gtk_scrolled_window_add_with_viewport(machine_editor->output_scrolled_window,
+ (GtkWidget *) machine_editor->output_editor);
+
+ /* AgsInput */
+ machine_editor->input_editor = ags_listing_editor_new(AGS_TYPE_INPUT);
+ gtk_scrolled_window_add_with_viewport(machine_editor->input_scrolled_window,
+ (GtkWidget *) machine_editor->input_editor);
+
+ /* AgsOutput link editor */
+ machine_editor->output_link_editor = ags_property_collection_editor_new(AGS_TYPE_LINK_COLLECTION_EDITOR,
+ 1,
+ output_link_editor_child_parameter);
+ gtk_scrolled_window_add_with_viewport(machine_editor->output_link_editor_scrolled_window,
+ (GtkWidget *) machine_editor->output_link_editor);
+
+ /* AgsInput link editor */
+ machine_editor->input_link_editor = ags_property_collection_editor_new(AGS_TYPE_LINK_COLLECTION_EDITOR,
+ 1,
+ input_link_editor_child_parameter);
+ gtk_scrolled_window_add_with_viewport(machine_editor->input_link_editor_scrolled_window,
+ (GtkWidget *) machine_editor->input_link_editor);
+
+ /* resize editor */
+ machine_editor->resize_editor = ags_resize_editor_new(AGS_TYPE_OUTPUT);
+ gtk_scrolled_window_add_with_viewport(machine_editor->resize_editor_scrolled_window,
+ (GtkWidget *) machine_editor->resize_editor);
+}
+
+void
+ags_machine_editor_real_set_machine(AgsMachineEditor *machine_editor, AgsMachine *machine)
+{
+ if(machine_editor->machine != NULL){
+ gtk_widget_destroy(GTK_WIDGET(machine_editor->output_editor));
+ gtk_widget_destroy(GTK_WIDGET(machine_editor->input_editor));
+ gtk_widget_destroy(GTK_WIDGET(machine_editor->output_link_editor));
+ gtk_widget_destroy(GTK_WIDGET(machine_editor->input_link_editor));
+ gtk_widget_destroy(GTK_WIDGET(machine_editor->resize_editor));
+ }
+
+ machine_editor->machine = machine;
+
+ if(machine != NULL)
+ ags_machine_editor_add_children(machine_editor);
+}
+
+/**
+ * ags_machine_editor_set_machine:
+ * @machine_editor: an #AgsMachineEditor
+ * @machine: the new #AgsMachine
+ *
+ * Is emitted as machine gets modified.
+ *
+ * Since: 0.3
+ */
+void
+ags_machine_editor_set_machine(AgsMachineEditor *machine_editor, AgsMachine *machine)
+{
+ g_return_if_fail(AGS_IS_MACHINE_EDITOR(machine_editor));
+
+ g_object_ref((GObject *) machine_editor);
+ g_signal_emit(G_OBJECT(machine_editor),
+ machine_editor_signals[SET_MACHINE], 0,
+ machine);
+ g_object_unref((GObject *) machine_editor);
+}
+
+/**
+ * ags_machine_editor_new:
+ * @machine: the assigned machine.
+ *
+ * Creates an #AgsMachineEditor
+ *
+ * Returns: a new #AgsMachineEditor
+ *
+ * Since: 0.3
+ */
+AgsMachineEditor*
+ags_machine_editor_new(AgsMachine *machine)
+{
+ AgsMachineEditor *machine_editor;
+
+ machine_editor = (AgsMachineEditor *) g_object_new(AGS_TYPE_MACHINE_EDITOR,
+ "machine\0", machine,
+ NULL);
+
+ return(machine_editor);
+}
diff --git a/src/ags/X/ags_machine_editor.h b/src/ags/X/ags_machine_editor.h
new file mode 100644
index 0000000..95f2664
--- /dev/null
+++ b/src/ags/X/ags_machine_editor.h
@@ -0,0 +1,106 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MACHINE_EDITOR_H__
+#define __AGS_MACHINE_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_listing_editor.h>
+#include <ags/X/ags_property_collection_editor.h>
+#include <ags/X/ags_resize_editor.h>
+
+#define AGS_TYPE_MACHINE_EDITOR (ags_machine_editor_get_type())
+#define AGS_MACHINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditor))
+#define AGS_MACHINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditorClass))
+#define AGS_IS_MACHINE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_EDITOR))
+#define AGS_IS_MACHINE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_EDITOR))
+#define AGS_MACHINE_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MACHINE_EDITOR, AgsMachineEditorClass))
+
+#define AGS_MACHINE_EDITOR_DEFAULT_VERSION "0.4.2\0"
+#define AGS_MACHINE_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+typedef struct _AgsMachineEditor AgsMachineEditor;
+typedef struct _AgsMachineEditorClass AgsMachineEditorClass;
+
+typedef enum{
+ AGS_MACHINE_EDITOR_CLOSING = 1,
+}AgsMachineEditorFlags;
+
+struct _AgsMachineEditor
+{
+ GtkDialog dialog;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsMachine *machine;
+
+ GtkNotebook *notebook;
+
+ GtkScrolledWindow *output_scrolled_window;
+ AgsListingEditor *output_editor;
+
+ GtkScrolledWindow *input_scrolled_window;
+ AgsListingEditor *input_editor;
+
+ GtkScrolledWindow *output_link_editor_scrolled_window;
+ AgsPropertyCollectionEditor *output_link_editor;
+
+ GtkScrolledWindow *input_link_editor_scrolled_window;
+ AgsPropertyCollectionEditor *input_link_editor;
+
+ GtkScrolledWindow *resize_editor_scrolled_window;
+ AgsResizeEditor *resize_editor;
+
+ GtkButton *add;
+ GtkButton *remove;
+ GtkButton *apply;
+ GtkButton *ok;
+ GtkButton *cancel;
+};
+
+struct _AgsMachineEditorClass
+{
+ GtkDialogClass dialog;
+
+ void (*set_machine)(AgsMachineEditor *machine_editor,
+ AgsMachine *machine);
+};
+
+GType ags_machine_editor_get_type(void);
+
+void ags_machine_editor_add_children(AgsMachineEditor *machine_editor);
+
+void ags_machine_editor_set_machine(AgsMachineEditor *machine_editor,
+ AgsMachine *machine);
+
+void ags_machine_editor_add_input(AgsMachineEditor *machine_editor);
+void ags_machine_editor_add_output(AgsMachineEditor *machine_editor);
+
+void ags_machine_editor_remove_input(AgsMachineEditor *machine_editor);
+void ags_machine_editor_remove_output(AgsMachineEditor *machine_editor);
+
+AgsMachineEditor* ags_machine_editor_new(AgsMachine *machine);
+
+#endif /*__AGS_MACHINE_EDITOR_H__*/
diff --git a/src/ags/X/ags_machine_editor_callbacks.c b/src/ags/X/ags_machine_editor_callbacks.c
new file mode 100644
index 0000000..f206303
--- /dev/null
+++ b/src/ags/X/ags_machine_editor_callbacks.c
@@ -0,0 +1,112 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_machine_editor_callbacks.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_pad_editor.h>
+#include <ags/X/ags_line_editor.h>
+#include <ags/X/ags_link_editor.h>
+
+int
+ags_machine_editor_destroy_callback(GtkObject *object, AgsMachineEditor *machine_editor)
+{
+ ags_machine_editor_destroy(object);
+ return(0);
+}
+
+int
+ags_machine_editor_show_callback(GtkWidget *widget, AgsMachineEditor *machine_editor)
+{
+ ags_machine_editor_show(widget);
+ return(0);
+}
+
+int
+ags_machine_editor_switch_page_callback(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, AgsMachineEditor *machine_editor)
+{
+ if(page_num == 0 || page_num == 1){
+ gtk_widget_show((GtkWidget *) machine_editor->add);
+ gtk_widget_show((GtkWidget *) machine_editor->remove);
+ }else{
+ gtk_widget_hide((GtkWidget *) machine_editor->add);
+ gtk_widget_hide((GtkWidget *) machine_editor->remove);
+ }
+}
+
+int
+ags_machine_editor_add_callback(GtkWidget *button, AgsMachineEditor *machine_editor)
+{
+ /*
+ if(gtk_notebook_get_current_page(machine_editor->notebook) == 0)
+ g_signal_emit_by_name((GObject *) machine_editor, "add_output\0", NULL);
+ else
+ g_signal_emit_by_name((GObject *) machine_editor, "add_input\0", NULL);
+ */
+
+ return(0);
+}
+
+int
+ags_machine_editor_remove_callback(GtkWidget *button, AgsMachineEditor *machine_editor)
+{
+ /*
+ if(gtk_notebook_get_current_page(machine_editor->notebook) == 0)
+ g_signal_emit_by_name((GObject *) machine_editor, "remove_output\0", NULL);
+ else
+ g_signal_emit_by_name((GObject *) machine_editor, "remove_input\0", NULL);
+ */
+
+ return(0);
+}
+
+int
+ags_machine_editor_apply_callback(GtkWidget *widget, AgsMachineEditor *machine_editor)
+{
+ ags_applicable_apply(AGS_APPLICABLE(machine_editor));
+ //TODO:JK: remove me
+ // ags_applicable_reset(AGS_APPLICABLE(machine_editor));
+
+ return(0);
+}
+
+int
+ags_machine_editor_ok_callback(GtkWidget *widget, AgsMachineEditor *machine_editor)
+{
+ // ags_applicable_set_update(AGS_APPLICABLE(machine_editor), FALSE);
+ ags_applicable_apply(AGS_APPLICABLE(machine_editor));
+
+ gtk_widget_destroy((GtkWidget *) machine_editor);
+
+ return(0);
+}
+
+int
+ags_machine_editor_cancel_callback(GtkWidget *widget, AgsMachineEditor *machine_editor)
+{
+ gtk_widget_destroy((GtkWidget *) machine_editor);
+
+ return(0);
+}
diff --git a/src/ags/X/ags_machine_editor_callbacks.h b/src/ags/X/ags_machine_editor_callbacks.h
new file mode 100644
index 0000000..a641bb1
--- /dev/null
+++ b/src/ags/X/ags_machine_editor_callbacks.h
@@ -0,0 +1,42 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MACHINE_EDITOR_CALLBACKS_H__
+#define __AGS_MACHINE_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine_editor.h>
+
+int ags_machine_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsMachineEditor *machine_editor);
+int ags_machine_editor_destroy_callback(GtkObject *object, AgsMachineEditor *machine_editor);
+int ags_machine_editor_show_callback(GtkWidget *widget, AgsMachineEditor *machine_editor);
+
+int ags_machine_editor_switch_page_callback(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, AgsMachineEditor *machine_editor);
+
+int ags_machine_editor_add_callback(GtkWidget *widget, AgsMachineEditor *machine_editor);
+int ags_machine_editor_remove_callback(GtkWidget *widget, AgsMachineEditor *machine_editor);
+int ags_machine_editor_back_callback(GtkWidget *button, AgsMachineEditor *machine_editor);
+
+int ags_machine_editor_apply_callback(GtkWidget *widget, AgsMachineEditor *machine_editor);
+int ags_machine_editor_ok_callback(GtkWidget *widget, AgsMachineEditor *machine_editor);
+int ags_machine_editor_cancel_callback(GtkWidget *widget, AgsMachineEditor *machine_editor);
+
+#endif /*__AGS_MACHINE_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_menu_bar.c b/src/ags/X/ags_menu_bar.c
new file mode 100644
index 0000000..6bbaff9
--- /dev/null
+++ b/src/ags/X/ags_menu_bar.c
@@ -0,0 +1,532 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_menu_bar.h>
+#include <ags/X/ags_menu_bar_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_menu_bar_class_init(AgsMenuBarClass *menu_bar);
+void ags_menu_bar_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_menu_bar_init(AgsMenuBar *menu_bar);
+void ags_menu_bar_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_menu_bar_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_menu_bar_connect(AgsConnectable *connectable);
+void ags_menu_bar_disconnect(AgsConnectable *connectable);
+void ags_menu_bar_destroy(GtkObject *object);
+void ags_menu_bar_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_menu_bar
+ * @short_description: the menu bar.
+ * @title: AgsMenuBar
+ * @section_id:
+ * @include: ags/X/ags_menu_bar.h
+ *
+ * #AgsMenuBar is a composite widget to be used as application's menu bar.
+ */
+
+GType
+ags_menu_bar_get_type(void)
+{
+ static GType ags_type_menu_bar = 0;
+
+ if(!ags_type_menu_bar){
+ static const GTypeInfo ags_menu_bar_info = {
+ sizeof (AgsMenuBarClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_menu_bar_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMenuBar),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_menu_bar_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_menu_bar_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_menu_bar = g_type_register_static(GTK_TYPE_MENU_BAR,
+ "AgsMenuBar\0", &ags_menu_bar_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_menu_bar,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_menu_bar);
+}
+
+void
+ags_menu_bar_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_menu_bar_connect;
+ connectable->disconnect = ags_menu_bar_disconnect;
+}
+
+void
+ags_menu_bar_class_init(AgsMenuBarClass *menu_bar)
+{
+}
+
+void
+ags_menu_bar_init(AgsMenuBar *menu_bar)
+{
+ GtkImageMenuItem *item;
+
+ /* File */
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_FILE, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar, (GtkWidget*) item);
+
+ menu_bar->file = (GtkMenu *) gtk_menu_new();
+ gtk_menu_item_set_submenu((GtkMenuItem*) item, (GtkWidget*) menu_bar->file);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_OPEN, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->file, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->file, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_SAVE_AS, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->file, (GtkWidget*) item);
+
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->file,
+ (GtkWidget*) gtk_separator_menu_item_new());
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label(g_strdup("export\0"));
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->file, (GtkWidget*) item);
+
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->file,
+ (GtkWidget*) gtk_separator_menu_item_new());
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->file, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_EDIT, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar, (GtkWidget*) item);
+
+ /* Edit */
+ menu_bar->edit = (GtkMenu *) gtk_menu_new();
+ gtk_menu_item_set_submenu((GtkMenuItem*) item, (GtkWidget*) menu_bar->edit);
+
+ // item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_UNDO, NULL);
+ // gtk_menu_shell_append((GtkMenuShell*) menu, (GtkWidget*) item);
+
+ // item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_REDO, NULL);
+ // gtk_menu_shell_append((GtkMenuShell*) menu, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_ADD, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->edit, (GtkWidget*) item);
+
+ menu_bar->add = (GtkMenu *) gtk_menu_new();
+ gtk_menu_item_set_submenu((GtkMenuItem*) item, (GtkWidget*) menu_bar->add);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label("Panel\0");
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->add, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label("Mixer\0");
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->add, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label("Drum\0");
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->add, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label("Matrix\0");
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->add, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label("Synth\0");
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->add, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label("FPlayer\0");
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->add, (GtkWidget*) item);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_REMOVE, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->edit, (GtkWidget*) item);
+
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->edit,
+ (GtkWidget*) gtk_separator_menu_item_new());
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_with_label("Automation Editor\0");
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->edit, (GtkWidget*) item);
+
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->edit,
+ (GtkWidget*) gtk_separator_menu_item_new());
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->edit, (GtkWidget*) item);
+
+ /* Help */
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_HELP, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar, (GtkWidget*) item);
+
+ menu_bar->help = (GtkMenu *) gtk_menu_new();
+ gtk_menu_item_set_submenu((GtkMenuItem*) item, (GtkWidget*) menu_bar->help);
+
+ item = (GtkImageMenuItem *) gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL);
+ gtk_menu_shell_append((GtkMenuShell*) menu_bar->help, (GtkWidget*) item);
+}
+
+void
+ags_menu_bar_connect(AgsConnectable *connectable)
+{
+ AgsMenuBar *menu_bar;
+ GList *list0, *list1, *list2;
+ GList *list1_start, *list2_start;
+
+ menu_bar = AGS_MENU_BAR(connectable);
+
+ /* File */
+ g_signal_connect((GObject *) menu_bar, "destroy\0",
+ G_CALLBACK(ags_menu_bar_destroy_callback), (gpointer) menu_bar);
+
+ g_signal_connect((GObject *) menu_bar, "show\0",
+ G_CALLBACK(ags_menu_bar_show_callback), (gpointer) menu_bar);
+
+ list0 = GTK_MENU_SHELL(menu_bar)->children;
+
+ list1_start =
+ list1 = gtk_container_get_children ((GtkContainer *) gtk_menu_item_get_submenu((GtkMenuItem *) list0->data));
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_open_callback), (gpointer) menu_bar);
+ list1 = list1->next;
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_save_callback), (gpointer) menu_bar);
+ list1 = list1->next;
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_save_as_callback), menu_bar);
+ list1 = list1->next->next;
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_export_callback), menu_bar);
+ list1 = list1->next->next;
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_quit_callback), (gpointer) menu_bar);
+
+ g_list_free(list1_start);
+
+ /* Edit */
+ list0 = list0->next;
+ list1_start =
+ list1 = gtk_container_get_children((GtkContainer *) gtk_menu_item_get_submenu((GtkMenuItem *) list0->data));
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_add_callback), (gpointer) menu_bar);
+
+ list2_start =
+ list2 = gtk_container_get_children((GtkContainer *) gtk_menu_item_get_submenu((GtkMenuItem *) list1->data));
+ list1 = list1->next;
+
+ g_signal_connect (G_OBJECT (list2->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_add_panel_callback), (gpointer) menu_bar);
+ list2 = list2->next;
+
+ g_signal_connect (G_OBJECT (list2->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_add_mixer_callback), (gpointer) menu_bar);
+ list2 = list2->next;
+
+ g_signal_connect (G_OBJECT (list2->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_add_drum_callback), (gpointer) menu_bar);
+ list2 = list2->next;
+
+ g_signal_connect (G_OBJECT (list2->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_add_matrix_callback), (gpointer) menu_bar);
+ list2 = list2->next;
+
+ g_signal_connect (G_OBJECT (list2->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_add_synth_callback), (gpointer) menu_bar);
+ list2 = list2->next;
+
+ g_signal_connect (G_OBJECT (list2->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_add_ffplayer_callback), (gpointer) menu_bar);
+
+ g_list_free(list2_start);
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_remove_callback), (gpointer) menu_bar);
+ list1 = list1->next;
+ list1 = list1->next;
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_automation_editor_callback), (gpointer) menu_bar);
+ list1 = list1->next;
+ list1 = list1->next;
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_preferences_callback), (gpointer) menu_bar);
+
+ g_list_free(list1_start);
+
+ /* Help */
+ list0 = list0->next;
+ list1_start =
+ list1 = gtk_container_get_children((GtkContainer *) gtk_menu_item_get_submenu((GtkMenuItem *) list0->data));
+
+ g_signal_connect (G_OBJECT (list1->data), "activate\0",
+ G_CALLBACK (ags_menu_bar_about_callback), (gpointer) menu_bar);
+
+ g_list_free(list1_start);
+}
+
+void
+ags_menu_bar_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_menu_bar_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_menu_bar_show(GtkWidget *widget)
+{
+ gtk_widget_show_all(widget);
+}
+
+/**
+ * ags_menu_bar_new:
+ *
+ * Creates an #AgsMenuBar
+ *
+ * Returns: a new #AgsMenuBar
+ *
+ * Since: 0.3
+ */
+AgsMenuBar*
+ags_menu_bar_new()
+{
+ AgsMenuBar *menu_bar;
+
+ menu_bar = (AgsMenuBar *) g_object_new(AGS_TYPE_MENU_BAR, NULL);
+
+ return(menu_bar);
+}
+
+GtkMenu*
+ags_zoom_menu_new()
+{
+ GtkMenu *menu;
+ GtkMenuItem *item;
+ GtkLabel *label;
+
+ menu = (GtkMenu *) gtk_menu_new();
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("16:1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("8:1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("4:1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("2:1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1:1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1:2\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1:4\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1:8\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1:16\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ return(menu);
+}
+
+GtkMenu*
+ags_tact_menu_new()
+{
+ GtkMenu *menu;
+ GtkMenuItem *item;
+ GtkLabel *label;
+
+ menu = (GtkMenu *) gtk_menu_new();
+
+ //TODO:JK: uncomment me if tact implemented
+ /*
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("16/1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("8/1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("4/1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("2/1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1:1\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1/2\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1/4\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1/8\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new();
+ label = (GtkLabel *) gtk_label_new(g_strdup("1/16\0"));
+ gtk_container_add((GtkContainer *) item, (GtkWidget *) label);
+ gtk_menu_shell_append((GtkMenuShell *) menu, (GtkWidget *) item);
+ */
+
+ return(menu);
+}
+
+/**
+ * ags_zoom_combo_box_new:
+ *
+ * Creates an #GtkComboBox to select zoom.
+ *
+ * Returns: a new #GtkComboBox
+ *
+ * Since: 0.4
+ */
+GtkComboBox*
+ags_zoom_combo_box_new()
+{
+ GtkComboBoxText *combo_box;
+
+ combo_box = gtk_combo_box_text_new();
+
+ gtk_combo_box_text_append_text(combo_box,
+ "16:1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "8:1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "4:1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "2:1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1:1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1:2\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1:4\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1:8\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1:16\0");
+
+ return(combo_box);
+}
+
+/**
+ * ags_zoom_combo_box_new:
+ *
+ * Creates an #GtkComboBox to select tact
+ *
+ * Returns: a new #GtkComboBox
+ *
+ * Since: 0.4
+ */
+GtkComboBox*
+ags_tact_combo_box_new()
+{
+ GtkComboBoxText *combo_box;
+
+ combo_box = gtk_combo_box_text_new();
+
+ gtk_combo_box_text_append_text(combo_box,
+ "16/1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "8/1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "4/1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "2/1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1/1\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1/2\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1/4\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1/8\0");
+ gtk_combo_box_text_append_text(combo_box,
+ "1/16\0");
+
+ return(combo_box);
+}
diff --git a/src/ags/X/ags_menu_bar.h b/src/ags/X/ags_menu_bar.h
new file mode 100644
index 0000000..250fcf9
--- /dev/null
+++ b/src/ags/X/ags_menu_bar.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MENU_BAR_H__
+#define __AGS_MENU_BAR_H__
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_MENU_BAR (ags_menu_bar_get_type ())
+#define AGS_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MENU_BAR, AgsMenuBar))
+#define AGS_MENU_BAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MENU_BAR, AgsMenuBarClass))
+#define AGS_IS_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MENU_BAR))
+#define AGS_IS_MENU_BAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MENU_BAR))
+#define AGS_MENU_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MENU_BAR, AgsMenuBarClass))
+
+typedef struct _AgsMenuBar AgsMenuBar;
+typedef struct _AgsMenuBarClass AgsMenuBarClass;
+
+struct _AgsMenuBar
+{
+ GtkMenuBar menu_bar;
+
+ GtkMenu *file;
+ GtkMenu *edit;
+ GtkMenu *add;
+ GtkMenu *help;
+};
+
+struct _AgsMenuBarClass
+{
+ GtkMenuBarClass menu_bar;
+};
+
+GType ags_menu_bar_get_type(void);
+
+AgsMenuBar* ags_menu_bar_new();
+
+GtkMenu* ags_zoom_menu_new();
+GtkMenu* ags_tact_menu_new();
+
+GtkComboBox* ags_zoom_combo_box_new();
+GtkComboBox* ags_tact_combo_box_new();
+
+#endif /*__AGS_MENU_BAR_H__*/
diff --git a/src/ags/X/ags_menu_bar_callbacks.c b/src/ags/X/ags_menu_bar_callbacks.c
new file mode 100644
index 0000000..d1f5a0d
--- /dev/null
+++ b/src/ags/X/ags_menu_bar_callbacks.c
@@ -0,0 +1,516 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_menu_bar_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/file/ags_file.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+
+#include <ags/audio/task/ags_save_file.h>
+#include <ags/audio/task/ags_add_audio.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_export_window.h>
+
+#include <ags/X/machine/ags_panel.h>
+#include <ags/X/machine/ags_mixer.h>
+#include <ags/X/machine/ags_drum.h>
+#include <ags/X/machine/ags_matrix.h>
+#include <ags/X/machine/ags_synth.h>
+#include <ags/X/machine/ags_ffplayer.h>
+
+#include <stdlib.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <sys/stat.h>
+
+#include <X11/Xlib.h>
+
+void ags_menu_bar_open_ok_callback(GtkWidget *widget, AgsMenuBar *menu_bar);
+void ags_menu_bar_open_cancel_callback(GtkWidget *widget, AgsMenuBar *menu_bar);
+
+gboolean
+ags_menu_bar_destroy_callback(GtkObject *object, AgsMenuBar *menu_bar)
+{
+ ags_menu_bar_destroy(object);
+
+ return(TRUE);
+}
+
+void
+ags_menu_bar_show_callback(GtkWidget *widget, AgsMenuBar *menu_bar)
+{
+ ags_menu_bar_show(widget);
+}
+
+void
+ags_menu_bar_open_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ GtkFileSelection *file_selection;
+
+ file_selection = (GtkFileSelection *) gtk_file_selection_new(g_strdup("open file\0"));
+ gtk_file_selection_set_select_multiple(file_selection, FALSE);
+
+ gtk_widget_show_all((GtkWidget *) file_selection);
+
+ g_signal_connect((GObject *) file_selection->ok_button, "clicked\0",
+ G_CALLBACK(ags_menu_bar_open_ok_callback), menu_bar);
+ g_signal_connect((GObject *) file_selection->cancel_button, "clicked\0",
+ G_CALLBACK(ags_menu_bar_open_cancel_callback), menu_bar);
+}
+
+void
+ags_menu_bar_open_ok_callback(GtkWidget *widget, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ GtkFileSelection *file_selection;
+ char *filename;
+ gchar **argv;
+ GError *error;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel((GtkWidget *) menu_bar);
+ file_selection = (GtkFileSelection *) gtk_widget_get_ancestor(widget, GTK_TYPE_DIALOG);
+
+ filename = g_strdup(gtk_file_selection_get_filename(file_selection));
+
+ error = NULL;
+
+ g_spawn_command_line_async(g_strdup_printf("./ags --filename %s\0",
+ filename),
+ &error);
+
+ gtk_widget_destroy(file_selection);
+
+ g_free(filename);
+}
+
+void
+ags_menu_bar_open_cancel_callback(GtkWidget *widget, AgsMenuBar *menu_bar)
+{
+ GtkFileSelection *file_selection;
+
+ file_selection = (GtkFileSelection *) gtk_widget_get_ancestor(widget, GTK_TYPE_DIALOG);
+ gtk_widget_destroy((GtkWidget *) file_selection);
+}
+
+void
+ags_menu_bar_save_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ AgsFile *file;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel((GtkWidget *) menu_bar);
+
+ //TODO:JK: revise me
+ file = (AgsFile *) g_object_new(AGS_TYPE_FILE,
+ "main\0", window->ags_main,
+ "filename\0", g_strdup(window->name),
+ NULL);
+ ags_file_write(file);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_menu_bar_save_as_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ GtkFileChooserDialog *file_chooser;
+ gint response;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel((GtkWidget *) menu_bar);
+
+ file_chooser = (GtkFileChooserDialog *) gtk_file_chooser_dialog_new("save file as\0",
+ (GtkWindow *) window,
+ GTK_FILE_CHOOSER_ACTION_SAVE,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ NULL);
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(file_chooser), FALSE);
+ gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(file_chooser), TRUE);
+ gtk_widget_show_all((GtkWidget *) file_chooser);
+
+ response = gtk_dialog_run(GTK_DIALOG(file_chooser));
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ AgsFile *file;
+ AgsSaveFile *save_file;
+ char *filename;
+
+ filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(file_chooser));
+
+ file = (AgsFile *) g_object_new(AGS_TYPE_FILE,
+ "main\0", window->ags_main,
+ "filename\0", filename,
+ NULL);
+
+ save_file = ags_save_file_new(file);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(save_file));
+ }
+
+ gtk_widget_destroy((GtkWidget *) file_chooser);
+}
+
+void
+ags_menu_bar_export_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel((GtkWidget *) menu_bar);
+
+ gtk_widget_show_all(window->export_window);
+}
+
+void
+ags_menu_bar_quit_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ GtkDialog *dialog;
+ GtkWidget *cancel_button;
+ gint response;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel((GtkWidget *) menu_bar);
+
+ /* ask the user if he wants save to a file */
+ dialog = (GtkDialog *) gtk_message_dialog_new(GTK_WINDOW(window),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_QUESTION,
+ GTK_BUTTONS_YES_NO,
+ "Do you want to save '%s'?\0", window->name);
+ cancel_button = gtk_dialog_add_button(dialog,
+ GTK_STOCK_CANCEL,
+ GTK_RESPONSE_CANCEL);
+ gtk_widget_grab_focus(cancel_button);
+
+ response = gtk_dialog_run(dialog);
+
+ if(response == GTK_RESPONSE_YES){
+ AgsFile *file;
+
+ //TODO:JK: revise me
+ file = (AgsFile *) g_object_new(AGS_TYPE_FILE,
+ "main\0", window->ags_main,
+ "filename\0", g_strdup(window->name),
+ NULL);
+
+ ags_file_write(file);
+ g_object_unref(G_OBJECT(file));
+ }
+
+ if(response != GTK_RESPONSE_CANCEL){
+ ags_main_quit(AGS_MAIN(window->ags_main));
+ }else{
+ gtk_widget_destroy(GTK_WIDGET(dialog));
+ }
+}
+
+
+void
+ags_menu_bar_add_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+}
+
+
+void
+ags_menu_bar_add_panel_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ AgsPanel *panel;
+ AgsAddAudio *add_audio;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ panel = ags_panel_new(G_OBJECT(window->devout));
+
+ add_audio = ags_add_audio_new(window->devout,
+ AGS_MACHINE(panel)->audio);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(add_audio));
+
+ gtk_box_pack_start((GtkBox *) window->machines,
+ GTK_WIDGET(panel),
+ FALSE, FALSE, 0);
+
+ ags_connectable_connect(AGS_CONNECTABLE(panel));
+
+ gtk_widget_show_all(GTK_WIDGET(panel));
+
+ AGS_MACHINE(panel)->audio->audio_channels = 2;
+ ags_audio_set_pads(AGS_MACHINE(panel)->audio,
+ AGS_TYPE_INPUT, 1);
+ ags_audio_set_pads(AGS_MACHINE(panel)->audio,
+ AGS_TYPE_OUTPUT, 1);
+
+ ags_machine_find_port(AGS_MACHINE(panel));
+
+ gtk_widget_show_all(panel->vbox);
+}
+
+void
+ags_menu_bar_add_mixer_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ AgsMixer *mixer;
+ AgsAddAudio *add_audio;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ mixer = ags_mixer_new(G_OBJECT(window->devout));
+
+ add_audio = ags_add_audio_new(window->devout,
+ AGS_MACHINE(mixer)->audio);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(add_audio));
+
+ gtk_box_pack_start((GtkBox *) window->machines,
+ GTK_WIDGET(mixer),
+ FALSE, FALSE, 0);
+
+ ags_connectable_connect(AGS_CONNECTABLE(mixer));
+
+ gtk_widget_show_all(GTK_WIDGET(mixer));
+
+ mixer->machine.audio->audio_channels = 2;
+ ags_audio_set_pads(mixer->machine.audio,
+ AGS_TYPE_INPUT, 8);
+ ags_audio_set_pads(mixer->machine.audio,
+ AGS_TYPE_OUTPUT, 1);
+
+ ags_machine_find_port(AGS_MACHINE(mixer));
+
+ gtk_widget_show_all(mixer->input_pad);
+}
+
+void
+ags_menu_bar_add_drum_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ AgsDrum *drum;
+ AgsAddAudio *add_audio;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ drum = ags_drum_new(G_OBJECT(window->devout));
+
+ add_audio = ags_add_audio_new(window->devout,
+ AGS_MACHINE(drum)->audio);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(add_audio));
+
+ gtk_box_pack_start((GtkBox *) window->machines,
+ GTK_WIDGET(drum),
+ FALSE, FALSE, 0);
+
+ /* connect everything */
+ ags_connectable_connect(AGS_CONNECTABLE(drum));
+
+ /* */
+ gtk_widget_show_all(GTK_WIDGET(drum));
+
+ /* */
+ drum->machine.audio->audio_channels = 2;
+
+ /* AgsDrumInputPad */
+ ags_audio_set_pads(drum->machine.audio, AGS_TYPE_INPUT, 8);
+ ags_audio_set_pads(drum->machine.audio, AGS_TYPE_OUTPUT, 1);
+
+ ags_machine_find_port(AGS_MACHINE(drum));
+
+ gtk_widget_show_all(drum->output_pad);
+ gtk_widget_show_all(drum->input_pad);
+}
+
+void
+ags_menu_bar_add_matrix_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ AgsMatrix *matrix;
+ AgsAddAudio *add_audio;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ matrix = ags_matrix_new(G_OBJECT(window->devout));
+
+ add_audio = ags_add_audio_new(window->devout,
+ AGS_MACHINE(matrix)->audio);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(add_audio));
+
+ gtk_box_pack_start((GtkBox *) window->machines,
+ GTK_WIDGET(matrix),
+ FALSE, FALSE, 0);
+
+ /* connect everything */
+ ags_connectable_connect(AGS_CONNECTABLE(matrix));
+
+ /* */
+ gtk_widget_show_all(GTK_WIDGET(matrix));
+
+ /* */
+ matrix->machine.audio->audio_channels = 1;
+
+ /* AgsMatrixInputPad */
+ ags_audio_set_pads(matrix->machine.audio, AGS_TYPE_INPUT, 78);
+ ags_audio_set_pads(matrix->machine.audio, AGS_TYPE_OUTPUT, 1);
+
+ ags_machine_find_port(AGS_MACHINE(matrix));
+}
+
+void
+ags_menu_bar_add_synth_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ AgsSynth *synth;
+ AgsAddAudio *add_audio;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ synth = ags_synth_new(G_OBJECT(window->devout));
+
+ add_audio = ags_add_audio_new(window->devout,
+ AGS_MACHINE(synth)->audio);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(add_audio));
+
+ gtk_box_pack_start((GtkBox *) window->machines,
+ (GtkWidget *) synth,
+ FALSE, FALSE, 0);
+
+ ags_connectable_connect(AGS_CONNECTABLE(synth));
+
+ synth->machine.audio->audio_channels = 1;
+ ags_audio_set_pads((AgsAudio*) synth->machine.audio, AGS_TYPE_INPUT, 2);
+ ags_audio_set_pads((AgsAudio*) synth->machine.audio, AGS_TYPE_OUTPUT, 78);
+
+ ags_machine_find_port(AGS_MACHINE(synth));
+
+ gtk_widget_show_all((GtkWidget *) synth);
+}
+
+void
+ags_menu_bar_add_ffplayer_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+ AgsFFPlayer *ffplayer;
+ AgsAddAudio *add_audio;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ ffplayer = ags_ffplayer_new(G_OBJECT(window->devout));
+
+ add_audio = ags_add_audio_new(window->devout,
+ AGS_MACHINE(ffplayer)->audio);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(add_audio));
+
+ gtk_box_pack_start((GtkBox *) window->machines,
+ (GtkWidget *) ffplayer,
+ FALSE, FALSE, 0);
+
+ ags_connectable_connect(AGS_CONNECTABLE(ffplayer));
+
+ // ffplayer->machine.audio->frequence = ;
+ ffplayer->machine.audio->audio_channels = 2;
+ ags_audio_set_pads(AGS_MACHINE(ffplayer)->audio, AGS_TYPE_INPUT, 78);
+ ags_audio_set_pads(AGS_MACHINE(ffplayer)->audio, AGS_TYPE_OUTPUT, 1);
+
+ ags_machine_find_port(AGS_MACHINE(ffplayer));
+
+ gtk_widget_show_all((GtkWidget *) ffplayer);
+}
+
+
+void
+ags_menu_bar_remove_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_menu_bar_automation_editor_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ gtk_widget_show_all(window->automation_editor);
+}
+
+void
+ags_menu_bar_preferences_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ AgsWindow *window;
+
+ window = (AgsWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, AGS_TYPE_WINDOW);
+
+ if(window->preferences != NULL){
+ return;
+ }
+
+ window->preferences = ags_preferences_new();
+ window->preferences->window = GTK_WINDOW(window);
+
+ ags_applicable_reset(AGS_APPLICABLE(window->preferences));
+
+ ags_connectable_connect(AGS_CONNECTABLE(window->preferences));
+ gtk_widget_show_all(GTK_WIDGET(window->preferences));
+}
+
+void
+ags_menu_bar_about_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar)
+{
+ static FILE *file = NULL;
+ struct stat sb;
+ static gchar *license;
+ static GdkPixbuf *logo;
+ GError *error;
+
+ gchar *authors[] = { "Joël Krähemann\0", NULL };
+
+ if(file == NULL){
+ file = fopen("./COPYING\0", "r\0");
+ stat("./COPYING\0", &sb);
+ license = (gchar *) malloc((sb.st_size + 1) * sizeof(gchar));
+ fread(license, sizeof(char), sb.st_size, file);
+ license[sb.st_size] = '\0';
+ fclose(file);
+
+ error = NULL;
+
+ logo = gdk_pixbuf_new_from_file("./doc/images/ags.png\0", &error);
+ }
+
+ gtk_show_about_dialog((GtkWindow *) gtk_widget_get_ancestor((GtkWidget *) menu_bar, GTK_TYPE_WINDOW),
+ "program-name\0", "ags\0",
+ "authors\0", authors,
+ "license\0", license,
+ "version\0", AGS_VERSION,
+ "website\0", "http://ags.sf.net\0",
+ "title\0", "Advanced Gtk+ Sequencer\0",
+ "logo\0", logo,
+ NULL);
+}
diff --git a/src/ags/X/ags_menu_bar_callbacks.h b/src/ags/X/ags_menu_bar_callbacks.h
new file mode 100644
index 0000000..6804152
--- /dev/null
+++ b/src/ags/X/ags_menu_bar_callbacks.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MENU_BAR_CALLBACKS_H__
+#define __AGS_MENU_BAR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+#include <gtk/gtkwidget.h>
+
+#include <ags/X/ags_menu_bar.h>
+
+gboolean ags_menu_bar_destroy_callback(GtkObject *object, AgsMenuBar *menu_bar);
+void ags_menu_bar_show_callback(GtkWidget *widget, AgsMenuBar *menu_bar);
+
+void ags_menu_bar_open_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_save_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_save_as_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_export_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_quit_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+
+void ags_menu_bar_add_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+
+void ags_menu_bar_add_panel_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_add_mixer_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_add_drum_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_add_matrix_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_add_synth_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+void ags_menu_bar_add_ffplayer_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+
+void ags_menu_bar_remove_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+
+void ags_menu_bar_automation_editor_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+
+void ags_menu_bar_preferences_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+
+void ags_menu_bar_about_callback(GtkWidget *menu_item, AgsMenuBar *menu_bar);
+
+#endif /*__AGS_MENU_BAR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_navigation.c b/src/ags/X/ags_navigation.c
new file mode 100644
index 0000000..a46666e
--- /dev/null
+++ b/src/ags/X/ags_navigation.c
@@ -0,0 +1,611 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_navigation.h>
+#include <ags/X/ags_navigation_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_marshal.h>
+
+#include <ags/X/ags_editor.h>
+
+void ags_navigation_class_init(AgsNavigationClass *navigation);
+void ags_navigation_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_navigation_init(AgsNavigation *navigation);
+void ags_navigation_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_navigation_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_navigation_finalize(GObject *gobject);
+void ags_navigation_connect(AgsConnectable *connectable);
+void ags_navigation_disconnect(AgsConnectable *connectable);
+void ags_navigation_destroy(GtkObject *object);
+void ags_navigation_show(GtkWidget *widget);
+
+void ags_navigation_real_change_position(AgsNavigation *navigation,
+ gdouble tact,
+ gdouble bpm);
+
+/**
+ * SECTION:ags_navigation
+ * @short_description: control audio object's playback.
+ * @title: AgsNavigation
+ * @section_id:
+ * @include: ags/X/ags_navigation.h
+ *
+ * #AgsNavigation is a composite widget to control playback of #AgsAudio objects.
+ * It can start #AgsMachine in bulk mode or position the stream.
+ */
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+};
+
+enum{
+ CHANGE_POSITION,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_navigation_parent_class = NULL;
+static guint navigation_signals[LAST_SIGNAL];
+
+GType
+ags_navigation_get_type(void)
+{
+ static GType ags_type_navigation = 0;
+
+ if(!ags_type_navigation){
+ static const GTypeInfo ags_navigation_info = {
+ sizeof (AgsNavigationClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_navigation_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsNavigation),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_navigation_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_navigation_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_navigation = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsNavigation\0", &ags_navigation_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_navigation,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_navigation);
+}
+
+void
+ags_navigation_class_init(AgsNavigationClass *navigation)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_navigation_parent_class = g_type_class_peek_parent(navigation);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) navigation;
+
+ gobject->set_property = ags_navigation_set_property;
+ gobject->get_property = ags_navigation_get_property;
+
+ gobject->finalize = ags_navigation_finalize;
+
+ /* properties */
+ /**
+ * AgsNavigation:devout:
+ *
+ * The assigned #AgsDevout to use as default sink.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /* AgsNavigationClass */
+ navigation->change_position = ags_navigation_real_change_position;
+
+ /* signals */
+ /**
+ * AgsNavigation::change-position:
+ * @navigation: the #AgsNavigation
+ * @tact: the new position
+ *
+ * The ::change-position seeks the stream.
+ */
+ navigation_signals[CHANGE_POSITION] =
+ g_signal_new("change-position\0",
+ G_TYPE_FROM_CLASS (navigation),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsNavigationClass, change_position),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
+}
+
+void
+ags_navigation_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_navigation_connect;
+ connectable->disconnect = ags_navigation_disconnect;
+}
+
+void
+ags_navigation_init(AgsNavigation *navigation)
+{
+ GtkHBox *hbox;
+ GtkLabel *label;
+
+ navigation->flags = 0;
+
+ navigation->devout = NULL;
+
+ g_signal_connect_after(G_OBJECT(navigation), "parent-set\0",
+ G_CALLBACK(ags_navigation_parent_set_callback), NULL);
+
+ /* GtkWidget */
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) navigation, (GtkWidget *) hbox, FALSE, FALSE, 2);
+
+ navigation->expander = (GtkToggleButton *) gtk_toggle_button_new();
+ gtk_box_pack_start((GtkBox*) hbox, (GtkWidget *) navigation->expander, FALSE, FALSE, 2);
+ gtk_container_add((GtkContainer *) navigation->expander,
+ (GtkWidget *) gtk_arrow_new(GTK_ARROW_RIGHT, GTK_SHADOW_NONE));
+
+ label = (GtkLabel *) gtk_label_new("bpm\0");
+ gtk_box_pack_start((GtkBox*) hbox, (GtkWidget *) label, FALSE, FALSE, 2);
+
+ navigation->bpm = (GtkSpinButton *) gtk_spin_button_new_with_range(1.0, 1000.0, 1.0);
+ navigation->bpm->adjustment->value = 120.0;
+ gtk_box_pack_start((GtkBox*) hbox, (GtkWidget *) navigation->bpm, FALSE, FALSE, 2);
+
+ navigation->current_bpm = 120.0;
+
+ navigation->rewind = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_REWIND, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ NULL);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->rewind, FALSE, FALSE, 0);
+
+ navigation->previous = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_PREVIOUS, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ NULL);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->previous, FALSE, FALSE, 0);
+
+ navigation->play = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ NULL);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->play, FALSE, FALSE, 0);
+
+ navigation->stop = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_STOP, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ NULL);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->stop, FALSE, FALSE, 0);
+
+ navigation->next = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_NEXT, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ NULL);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->next, FALSE, FALSE, 0);
+
+ navigation->forward = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_FORWARD, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ NULL);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->forward, FALSE, FALSE, 0);
+
+
+ navigation->loop = (GtkCheckButton *) gtk_check_button_new_with_label("loop\0");
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(navigation->loop),
+ TRUE);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->loop, FALSE, FALSE, 2);
+
+ label = (GtkLabel *) gtk_label_new("position\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) label, FALSE, FALSE, 2);
+
+ navigation->position_time = (GtkLabel *) gtk_label_new(g_strdup("00:00.00\0"));
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->position_time, FALSE, FALSE, 2);
+
+ navigation->position_tact = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, AGS_NOTE_EDIT_MAX_CONTROLS * 64.0, 1.0);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->position_tact, FALSE, FALSE, 2);
+
+
+ label = (GtkLabel *) gtk_label_new("duration\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) label, FALSE, FALSE, 2);
+
+ navigation->duration_time = (GtkLabel *) gtk_label_new(NULL);
+ g_object_set(navigation->duration_time,
+ "label\0", g_strdup("0000:00.00\0"),
+ NULL);
+ gtk_widget_queue_draw(navigation->duration_time);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->duration_time, FALSE, FALSE, 2);
+
+ navigation->duration_tact = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, AGS_NOTE_EDIT_MAX_CONTROLS * 64.0, 1.0);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->duration_tact, FALSE, FALSE, 2);
+
+
+ /* expansion */
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ // GTK_WIDGET_SET_FLAGS((GtkWidget *) hbox, GTK_NO_SHOW_ALL);
+ gtk_box_pack_start((GtkBox *) navigation, (GtkWidget *) hbox, FALSE, FALSE, 2);
+
+ label = (GtkLabel *) gtk_label_new("loop L\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) label, FALSE, FALSE, 2);
+
+ navigation->loop_left_tact = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 65000.0, 1.0);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->loop_left_tact, FALSE, FALSE, 2);
+
+ label = (GtkLabel *) gtk_label_new("loop R\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) label, FALSE, FALSE, 2);
+
+ navigation->loop_right_tact = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 65000.0, 1.0);
+ gtk_spin_button_set_value(navigation->loop_right_tact,
+ 4.0);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->loop_right_tact, FALSE, FALSE, 2);
+
+ navigation->scroll = (GtkCheckButton *) gtk_check_button_new_with_label("auto-scroll\0");
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(navigation->scroll),
+ TRUE);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) navigation->scroll, FALSE, FALSE, 2);
+}
+
+void
+ags_navigation_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsNavigation *navigation;
+
+ navigation = AGS_NAVIGATION(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(navigation->devout == devout)
+ return;
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ navigation->devout = devout;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_navigation_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsNavigation *navigation;
+
+ navigation = AGS_NAVIGATION(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ g_value_set_object(value, navigation->devout);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_navigation_connect(AgsConnectable *connectable)
+{
+ AgsNavigation *navigation;
+
+ navigation = AGS_NAVIGATION(connectable);
+
+ g_signal_connect((GObject *) navigation, "destroy\0",
+ G_CALLBACK(ags_navigation_destroy_callback), (gpointer) navigation);
+
+ g_signal_connect_after((GObject *) navigation, "show\0",
+ G_CALLBACK(ags_navigation_show_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->expander, "clicked\0",
+ G_CALLBACK(ags_navigation_expander_callback), (gpointer) navigation);
+
+ g_signal_connect_after((GObject *) navigation->bpm, "value-changed\0",
+ G_CALLBACK(ags_navigation_bpm_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->rewind, "clicked\0",
+ G_CALLBACK(ags_navigation_rewind_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->previous, "clicked\0",
+ G_CALLBACK(ags_navigation_prev_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->play, "clicked\0",
+ G_CALLBACK(ags_navigation_play_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->stop, "clicked\0",
+ G_CALLBACK(ags_navigation_stop_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->next, "clicked\0",
+ G_CALLBACK(ags_navigation_next_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->forward, "clicked\0",
+ G_CALLBACK(ags_navigation_forward_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->loop, "clicked\0",
+ G_CALLBACK(ags_navigation_loop_callback), (gpointer) navigation);
+
+ g_signal_connect_after((GObject *) navigation->position_tact, "value-changed\0",
+ G_CALLBACK(ags_navigation_position_tact_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->duration_tact, "value-changed\0",
+ G_CALLBACK(ags_navigation_duration_tact_callback), (gpointer) navigation);
+
+ /* devout */
+ g_signal_connect_after((GObject *) navigation->devout, "tic\0",
+ G_CALLBACK(ags_navigation_tic_callback), (gpointer) navigation);
+
+ /* expansion */
+ g_signal_connect((GObject *) navigation->loop_left_tact, "value-changed\0",
+ G_CALLBACK(ags_navigation_loop_left_tact_callback), (gpointer) navigation);
+
+ g_signal_connect((GObject *) navigation->loop_right_tact, "value-changed\0",
+ G_CALLBACK(ags_navigation_loop_right_tact_callback), (gpointer) navigation);
+}
+
+void
+ags_navigation_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_navigation_finalize(GObject *gobject)
+{
+ /* empty */
+}
+
+void
+ags_navigation_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_navigation_show(GtkWidget *widget)
+{
+ GList *list;
+
+ /* empty */
+ // list = gtk_container_get_children((GtkContainer *) widget);
+ // GTK_WIDGET_UNSET_FLAGS((GtkWidget *) list->next->data, GTK_NO_SHOW_ALL);
+}
+
+void
+ags_navigation_real_change_position(AgsNavigation *navigation,
+ gdouble tact,
+ gdouble bpm)
+{
+ gchar *timestr, *str;
+
+ g_object_get(navigation->duration_time,
+ "label\0", &str,
+ NULL);
+ ags_navigation_update_time_string(tact,
+ str,
+ bpm);
+ // g_object_set(navigation->duration_time,
+ // "label\0", str,
+ // NULL);
+ // gtk_widget_show_all(navigation->duration_time);
+}
+
+/**
+ * ags_navigation_change_position:
+ * @navigation: the #AgsNavigation
+ * @tact: the new position
+ *
+ * Change tact position of editor. The scrollbar is adjustet
+ * and its playback position seeked.
+ *
+ * Since: 0.4
+ */
+void
+ags_navigation_change_position(AgsNavigation *navigation,
+ gdouble tact,
+ gdouble bpm)
+{
+ g_return_if_fail(AGS_IS_NAVIGATION(navigation));
+
+ g_object_ref(G_OBJECT(navigation));
+ g_signal_emit(G_OBJECT(navigation),
+ navigation_signals[CHANGE_POSITION], 0,
+ tact, bpm);
+ g_object_unref(G_OBJECT(navigation));
+}
+
+/**
+ * ags_navigation_tact_to_time_string:
+ * @tact: the new position
+ *
+ * Convert tact unit to time.
+ *
+ * Returns: tact as time string
+ *
+ * Since: 0.4
+ */
+gchar*
+ags_navigation_tact_to_time_string(gdouble tact,
+ gdouble bpm)
+{
+ static gdouble delay_min, delay_sec, delay_hsec;
+ static gboolean initialized = FALSE;
+ gchar *timestr;
+ gdouble tact_redux;
+ guint min, sec, hsec;
+
+ if(!initialized){
+ delay_min = bpm;
+ delay_sec = delay_min / 60.0;
+ delay_hsec = delay_sec / 100.0;
+
+ initialized = TRUE;
+ }
+
+ tact_redux = tact;
+
+ min = (guint) floor(tact_redux / delay_min);
+
+ if(min > 0){
+ tact_redux = tact_redux - (min * delay_min);
+ }
+
+ sec = (guint) floor(tact_redux / delay_sec);
+
+ if(sec > 0){
+ tact_redux = tact_redux - (sec * delay_sec);
+ }
+
+ hsec = (guint) floor(tact_redux / delay_hsec);
+
+ timestr = g_strdup_printf("%.4d:%.2d.%.2d\0", min, sec, hsec);
+
+ return(timestr);
+}
+
+/**
+ * ags_navigation_update_time_string:
+ * @tact: the new position
+ * @time_str: the pointer location to set
+ *
+ * Updates time as string.
+ *
+ * Since: 0.4
+ */
+void
+ags_navigation_update_time_string(double tact,
+ gchar *time_string,
+ gdouble bpm)
+{
+ static gdouble delay_min, delay_sec, delay_hsec;
+ static gboolean initialized = FALSE;
+ gchar *timestr;
+ gdouble tact_redux;
+ guint min, sec, hsec;
+
+ if(!initialized){
+ delay_min = bpm;
+ delay_sec = delay_min / 60.0;
+ delay_hsec = delay_sec / 100.0;
+
+ initialized = TRUE;
+ }
+
+ tact_redux = 1.0 / 16.0;
+
+ min = (guint) floor(tact_redux / delay_min);
+
+ if(min > 0){
+ tact_redux = tact_redux - (min * delay_min);
+ }
+
+ sec = (guint) floor(tact_redux / delay_sec);
+
+ if(sec > 0){
+ tact_redux = tact_redux - (sec * delay_sec);
+ }
+
+ hsec = (guint) floor(tact_redux / delay_hsec);
+
+ sprintf(time_string, "%.4d:%.2d.%.2d\0", min, sec, hsec);
+}
+
+/**
+ * ags_navigation_set_seeking_sensitive_new:
+ * @navigation: the #AgsNavigation
+ * @enabled: if %TRUE then sensitive, otherwise insensitive.
+ *
+ * Enables/Disables the #AgsNavigation to control the tree.
+ *
+ * Since: 0.4
+ */
+void
+ags_navigation_set_seeking_sensitive(AgsNavigation *navigation,
+ gboolean enabled)
+{
+ gtk_widget_set_sensitive(navigation->rewind,
+ enabled);
+ gtk_widget_set_sensitive(navigation->previous,
+ enabled);
+ gtk_widget_set_sensitive(navigation->play,
+ enabled);
+ gtk_widget_set_sensitive(navigation->stop,
+ enabled);
+ gtk_widget_set_sensitive(navigation->next,
+ enabled);
+ gtk_widget_set_sensitive(navigation->forward,
+ enabled);
+}
+
+/**
+ * ags_navigation_new:
+ *
+ * Creates an #AgsNavigation to control the tree.
+ *
+ * Returns: a new #AgsNavigation
+ *
+ * Since: 0.4
+ */
+AgsNavigation*
+ags_navigation_new()
+{
+ AgsNavigation *navigation;
+
+ navigation = (AgsNavigation *) g_object_new(AGS_TYPE_NAVIGATION, NULL);
+
+ return(navigation);
+}
diff --git a/src/ags/X/ags_navigation.h b/src/ags/X/ags_navigation.h
new file mode 100644
index 0000000..dfd2036
--- /dev/null
+++ b/src/ags/X/ags_navigation.h
@@ -0,0 +1,106 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NAVIGATION_H__
+#define __AGS_NAVIGATION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_NAVIGATION (ags_navigation_get_type())
+#define AGS_NAVIGATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NAVIGATION, AgsNavigation))
+#define AGS_NAVIGATION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NAVIGATION, AgsNavigationClass))
+#define AGS_IS_NAVIGATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NAVIGATION))
+#define AGS_IS_NAVIGATION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_NAVIGATION))
+#define AGS_NAVIGATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_NAVIGATION, AgsNavigationClass))
+
+#define AGS_NAVIGATION_DEFAULT_TACT_STEP (1.0)
+#define AGS_NAVIGATION_SEEK_STEPS (1.0)
+#define AGS_NAVIGATION_REWIND_STEPS (4.0)
+
+typedef struct _AgsNavigation AgsNavigation;
+typedef struct _AgsNavigationClass AgsNavigationClass;
+
+typedef enum{
+ AGS_NAVIGATION_BLOCK_TACT = 1,
+ AGS_NAVIGATION_BLOCK_PLAY = 1 << 1,
+}AgsNavigationFlags;
+
+struct _AgsNavigation
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ AgsDevout *devout;
+
+ GtkToggleButton *expander;
+
+ GtkSpinButton *bpm;
+ gdouble current_bpm;
+
+ GtkToggleButton *rewind;
+ GtkButton *previous;
+ GtkToggleButton *play;
+ GtkButton *stop;
+ GtkButton *next;
+ GtkToggleButton *forward;
+
+ GtkCheckButton *loop;
+
+ GtkLabel *position_time;
+ GtkSpinButton *position_tact;
+
+ GtkLabel *duration_time;
+ GtkSpinButton *duration_tact;
+
+ GtkSpinButton *loop_left_tact;
+ GtkSpinButton *loop_right_tact;
+
+ GtkCheckButton *scroll;
+};
+
+struct _AgsNavigationClass
+{
+ GtkVBoxClass vbox;
+
+ void (*change_position)(AgsNavigation *navigation,
+ gdouble tact);
+};
+
+GType ags_navigation_get_type(void);
+
+gchar* ags_navigation_tact_to_time_string(gdouble tact,
+ gdouble bpm);
+void ags_navigation_update_time_string(double tact,
+ gchar *time_string,
+ gdouble bpm);
+
+void ags_navigation_set_seeking_sensitive(AgsNavigation *navigation,
+ gboolean enabled);
+
+void ags_navigation_change_position(AgsNavigation *navigation,
+ gdouble tact,
+ gdouble bpm);
+
+AgsNavigation* ags_navigation_new();
+
+#endif /*__AGS_NAVIGATION_H__*/
diff --git a/src/ags/X/ags_navigation_callbacks.c b/src/ags/X/ags_navigation_callbacks.c
new file mode 100644
index 0000000..a9eed32
--- /dev/null
+++ b/src/ags/X/ags_navigation_callbacks.c
@@ -0,0 +1,401 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_navigation_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_gui_thread.h>
+
+#include <ags/audio/recall/ags_count_beats_audio.h>
+
+#include <ags/audio/task/ags_change_tact.h>
+#include <ags/audio/task/ags_display_tact.h>
+
+#include <ags/audio/task/recall/ags_apply_bpm.h>
+
+#include <ags/X/ags_window.h>
+
+void
+ags_navigation_parent_set_callback(GtkWidget *widget, GtkObject *old_parent,
+ gpointer data)
+{
+ AgsWindow *window;
+ AgsNavigation *navigation;
+
+ if(old_parent != NULL)
+ return;
+
+ window = AGS_WINDOW(gtk_widget_get_ancestor(widget,
+ AGS_TYPE_WINDOW));
+ navigation = AGS_NAVIGATION(widget);
+
+ navigation->devout = window->devout;
+}
+
+gboolean
+ags_navigation_destroy_callback(GtkObject *object,
+ gpointer data)
+{
+ ags_navigation_destroy(object);
+
+ return(FALSE);
+}
+
+void
+ags_navigation_show_callback(GtkWidget *widget,
+ gpointer data)
+{
+ ags_navigation_show(widget);
+}
+
+void
+ags_navigation_expander_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ GtkArrow *arrow;
+ GList *list;
+
+ list = gtk_container_get_children((GtkContainer *) widget);
+ arrow = (GtkArrow *) list->data;
+ g_list_free(list);
+
+ list = gtk_container_get_children((GtkContainer *) navigation);
+ widget = (GtkWidget *) list->next->data;
+ g_list_free(list);
+
+ if(arrow->arrow_type == GTK_ARROW_DOWN){
+ gtk_widget_hide_all(widget);
+ arrow->arrow_type = GTK_ARROW_RIGHT;
+ }else{
+ gtk_widget_show_all(widget);
+ arrow->arrow_type = GTK_ARROW_DOWN;
+ }
+}
+
+void
+ags_navigation_bpm_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ AgsWindow *window;
+ AgsApplyBpm *apply_bpm;
+
+ window = AGS_WINDOW(gtk_widget_get_ancestor(widget,
+ AGS_TYPE_WINDOW));
+
+ apply_bpm = ags_apply_bpm_new(G_OBJECT(window->devout),
+ navigation->bpm->adjustment->value);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(apply_bpm));
+}
+
+void
+ags_navigation_rewind_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ gtk_spin_button_set_value(navigation->position_tact,
+ -1.0 * AGS_NAVIGATION_REWIND_STEPS +
+ AGS_NAVIGATION_DEFAULT_TACT_STEP);
+}
+
+void
+ags_navigation_prev_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ gtk_spin_button_set_value(navigation->position_tact,
+ -1.0 * AGS_NAVIGATION_SEEK_STEPS +
+ AGS_NAVIGATION_DEFAULT_TACT_STEP);
+}
+
+void
+ags_navigation_play_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ AgsWindow *window;
+ AgsMachine *machine;
+ GList *machines, *machines_start;
+
+ if((AGS_NAVIGATION_BLOCK_PLAY & (navigation->flags)) != 0){
+ return;
+ }
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(navigation)));
+ machines_start =
+ machines = gtk_container_get_children(GTK_CONTAINER(window->machines));
+
+ while(machines != NULL){
+ machine = AGS_MACHINE(machines->data);
+
+ if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) != 0 ||
+ (AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ printf("found machine to play!\n\0");
+
+ ags_machine_set_run(machine,
+ TRUE);
+ }
+
+ machines = machines->next;
+ }
+
+ g_list_free(machines_start);
+}
+
+void
+ags_navigation_stop_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ AgsWindow *window;
+ AgsMachine *machine;
+ GList *machines,*machines_start;
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(navigation)));
+ machines_start =
+ machines = gtk_container_get_children(GTK_CONTAINER(window->machines));
+
+ while(machines != NULL){
+ machine = AGS_MACHINE(machines->data);
+
+ if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) !=0 ||
+ (AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ printf("found machine to stop!\n\0");
+
+ ags_machine_set_run(machine,
+ FALSE);
+ }
+
+ machines = machines->next;
+ }
+
+ g_list_free(machines_start);
+
+ /* toggle play button */
+ navigation->flags |= AGS_NAVIGATION_BLOCK_PLAY;
+ gtk_toggle_button_set_active(navigation->play,
+ FALSE);
+
+ navigation->flags &= (~AGS_NAVIGATION_BLOCK_PLAY);
+}
+
+void
+ags_navigation_next_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ gtk_spin_button_set_value(navigation->position_tact,
+ AGS_NAVIGATION_REWIND_STEPS+
+ AGS_NAVIGATION_DEFAULT_TACT_STEP);
+}
+
+void
+ags_navigation_forward_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+
+ gtk_spin_button_set_value(navigation->position_tact,
+ AGS_NAVIGATION_SEEK_STEPS +
+ AGS_NAVIGATION_DEFAULT_TACT_STEP);
+}
+
+void
+ags_navigation_loop_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ AgsWindow *window;
+ AgsMachine *machine;
+ AgsAudio *audio;
+ AgsRecall *recall;
+ GList *machines, *machines_start;
+ GList *list; // find AgsPlayNotationAudio and AgsCopyPatternAudio
+ GValue value = {0,};
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(navigation)));
+ machines_start =
+ machines = gtk_container_get_children(GTK_CONTAINER(window->machines));
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value,
+ gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget)));
+
+ while(machines != NULL){
+ machine = AGS_MACHINE(machines->data);
+
+ if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) !=0 ||
+ (AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ g_message("found machine to loop!\n\0");
+
+ audio = machine->audio;
+
+ list = audio->play;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_COUNT_BEATS_AUDIO)) != NULL){
+ recall = AGS_RECALL(list->data);
+ ags_port_safe_write(AGS_COUNT_BEATS_AUDIO(recall)->loop,
+ &value);
+
+ list = list->next;
+ }
+ }
+
+ machines = machines->next;
+ }
+
+ g_list_free(machines_start);
+}
+
+void
+ags_navigation_position_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ gdouble bpm;
+
+ bpm = navigation->bpm->adjustment->value;
+ ags_navigation_change_position(navigation,
+ gtk_spin_button_get_value(widget),
+ bpm);
+}
+
+void
+ags_navigation_duration_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ /* empty */
+}
+
+void
+ags_navigation_loop_left_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ AgsWindow *window;
+ AgsMachine *machine;
+ AgsAudio *audio;
+ AgsRecall *recall;
+ GList *machines, *machines_start;
+ GList *list; // find AgsPlayNotationAudio and AgsCopyPatternAudio
+ GValue value = {0,};
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(navigation)));
+ machines_start =
+ machines = gtk_container_get_children(GTK_CONTAINER(window->machines));
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ g_value_set_boolean(&value,
+ gtk_spin_button_get_value(GTK_SPIN_BUTTON(widget)));
+
+ while(machines != NULL){
+ machine = AGS_MACHINE(machines->data);
+
+ if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) !=0 ||
+ (AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ g_message("found machine to loop!\n\0");
+
+ audio = machine->audio;
+
+ list = audio->play;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_COUNT_BEATS_AUDIO)) != NULL){
+ recall = AGS_RECALL(list->data);
+ ags_port_safe_write(AGS_COUNT_BEATS_AUDIO(recall)->notation_loop_start,
+ &value);
+
+ list = list->next;
+ }
+ }
+
+ machines = machines->next;
+ }
+
+ g_list_free(machines_start);
+}
+
+void
+ags_navigation_loop_right_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation)
+{
+ AgsWindow *window;
+ AgsMachine *machine;
+ AgsAudio *audio;
+ AgsRecall *recall;
+ GList *machines, *machines_start;
+ GList *list; // find AgsPlayNotationAudio and AgsCopyPatternAudio
+ GValue value = {0,};
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(navigation)));
+ machines_start =
+ machines = gtk_container_get_children(GTK_CONTAINER(window->machines));
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ g_value_set_boolean(&value,
+ gtk_spin_button_get_value(GTK_SPIN_BUTTON(widget)));
+
+ while(machines != NULL){
+ machine = AGS_MACHINE(machines->data);
+
+ if((AGS_MACHINE_IS_SEQUENCER & (machine->flags)) !=0 ||
+ (AGS_MACHINE_IS_SYNTHESIZER & (machine->flags)) != 0){
+ g_message("found machine to loop!\n\0");
+
+ audio = machine->audio;
+
+ list = audio->play;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_COUNT_BEATS_AUDIO)) != NULL){
+ recall = AGS_RECALL(list->data);
+ ags_port_safe_write(AGS_COUNT_BEATS_AUDIO(recall)->notation_loop_end,
+ &value);
+
+ list = list->next;
+ }
+ }
+
+ machines = machines->next;
+ }
+
+ g_list_free(machines_start);
+}
+
+void
+ags_navigation_tic_callback(AgsDevout *devout,
+ AgsNavigation *navigation)
+{
+ AgsTaskThread *task_thread;
+ AgsChangeTact *change_tact;
+ AgsDisplayTact *display_tact;
+ GList *list;
+
+ task_thread = AGS_AUDIO_LOOP(AGS_MAIN(navigation->devout->ags_main)->main_loop)->task_thread;
+
+ list = NULL;
+
+ change_tact = ags_change_tact_new(navigation);
+ list = g_list_prepend(list,
+ change_tact);
+
+ display_tact = ags_display_tact_new(navigation);
+ list = g_list_prepend(list,
+ display_tact);
+
+ list = g_list_reverse(list);
+
+ ags_task_thread_append_tasks(task_thread,
+ list);
+}
diff --git a/src/ags/X/ags_navigation_callbacks.h b/src/ags/X/ags_navigation_callbacks.h
new file mode 100644
index 0000000..5844597
--- /dev/null
+++ b/src/ags/X/ags_navigation_callbacks.h
@@ -0,0 +1,75 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NAVIGATION_CALLBACKS_H__
+#define __AGS_NAVIGATION_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_navigation.h>
+
+void ags_navigation_parent_set_callback(GtkWidget *widget, GtkObject *old_parent,
+ gpointer data);
+gboolean ags_navigation_destroy_callback(GtkObject *object,
+ gpointer data);
+void ags_navigation_show_callback(GtkWidget *widget,
+ gpointer data);
+
+void ags_navigation_expander_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_bpm_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_rewind_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+void ags_navigation_prev_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+void ags_navigation_play_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+void ags_navigation_stop_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+void ags_navigation_next_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+void ags_navigation_forward_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_loop_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_position_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_duration_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_loop_left_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_loop_right_tact_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_raster_callback(GtkWidget *widget,
+ AgsNavigation *navigation);
+
+void ags_navigation_tic_callback(AgsDevout *devout,
+ AgsNavigation *navigation);
+
+#endif /*__AGS_NAVIGATION_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_pad.c b/src/ags/X/ags_pad.c
new file mode 100644
index 0000000..9c2ad41
--- /dev/null
+++ b/src/ags/X/ags_pad.c
@@ -0,0 +1,704 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_pad_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_machine.h>
+
+void ags_pad_class_init(AgsPadClass *pad);
+void ags_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_pad_init(AgsPad *pad);
+void ags_pad_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_pad_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_pad_connect(AgsConnectable *connectable);
+void ags_pad_disconnect(AgsConnectable *connectable);
+gchar* ags_pad_get_version(AgsPlugin *plugin);
+void ags_pad_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_pad_get_build_id(AgsPlugin *plugin);
+void ags_pad_set_build_id(AgsPlugin *plugin, gchar *build_id);
+void ags_pad_destroy(GtkObject *object);
+void ags_pad_show(GtkWidget *widget);
+
+void ags_pad_real_set_channel(AgsPad *pad, AgsChannel *channel);
+void ags_pad_real_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+void ags_pad_real_map_recall(AgsPad *pad,
+ guint output_pad_start);
+GList* ags_pad_real_find_port(AgsPad *pad);
+
+/**
+ * SECTION:ags_pad
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsPad
+ * @section_id:
+ * @include: ags/X/ags_pad.h
+ *
+ * #AgsPad is a composite widget to visualize a bunch of #AgsChannel. It should be
+ * packed by an #AgsMachine.
+ */
+
+enum{
+ SET_CHANNEL,
+ RESIZE_LINES,
+ MAP_RECALL,
+ FIND_PORT,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_CHANNEL,
+};
+
+static gpointer ags_pad_parent_class = NULL;
+static guint pad_signals[LAST_SIGNAL];
+
+GType
+ags_pad_get_type(void)
+{
+ static GType ags_type_pad = 0;
+
+ if(!ags_type_pad){
+ static const GTypeInfo ags_pad_info = {
+ sizeof(AgsPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_pad = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsPad\0", &ags_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_pad);
+}
+
+void
+ags_pad_class_init(AgsPadClass *pad)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_pad_parent_class = g_type_class_peek_parent(pad);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(pad);
+
+ gobject->set_property = ags_pad_set_property;
+ gobject->get_property = ags_pad_get_property;
+
+ /* properties */
+ //TODO:JK: add finalize
+ /**
+ * AgsPad:channel:
+ *
+ * The start of a bunch of #AgsChannel to visualize.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("channel\0",
+ "assigned channel\0",
+ "The channel it is assigned with\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL,
+ param_spec);
+
+ /* AgsPadClass */
+ pad->set_channel = ags_pad_real_set_channel;
+ pad->resize_lines = ags_pad_real_resize_lines;
+ pad->map_recall = ags_pad_real_map_recall;
+ pad->find_port = ags_pad_real_find_port;
+
+ /* signals */
+ /**
+ * AgsPad::set-channel:
+ * @pad: the #AgsPad to modify
+ * @channel: the #AgsChannel to set
+ *
+ * The ::set-channel signal notifies about changed channel.
+ */
+ pad_signals[SET_CHANNEL] =
+ g_signal_new("set-channel\0",
+ G_TYPE_FROM_CLASS(pad),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsPadClass, set_channel),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+
+ /**
+ * AgsPad::resize-lines:
+ * @pad: the #AgsPad to resize
+ * @line_type: the channel type
+ * @audio_channels: count of lines
+ * @audio_channels_old: old count of lines
+ *
+ * The ::resize-lines is emitted as count of lines pack is modified.
+ */
+ pad_signals[RESIZE_LINES] =
+ g_signal_new("resize-lines\0",
+ G_TYPE_FROM_CLASS(pad),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsPadClass, resize_lines),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__ULONG_UINT_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_ULONG, G_TYPE_UINT, G_TYPE_UINT);
+
+
+ /**
+ * AgsPad::map-recall:
+ * @pad: the #AgsPad to resize
+ * @output_pad_start: start of output pad
+ *
+ * The ::map-recall as recall should be mapped
+ */
+ pad_signals[MAP_RECALL] =
+ g_signal_new("map-recall\0",
+ G_TYPE_FROM_CLASS(pad),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsPadClass, map_recall),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsPad::find-port:
+ * @pad: the #AgsPad to resize
+ * Returns: a #GList with associated ports
+ *
+ * The ::find-port retrieves all associated ports
+ */
+ pad_signals[FIND_PORT] =
+ g_signal_new("find-port\0",
+ G_TYPE_FROM_CLASS(pad),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsPadClass, find_port),
+ NULL, NULL,
+ g_cclosure_user_marshal_POINTER__VOID,
+ G_TYPE_POINTER, 0);
+}
+
+void
+ags_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_pad_connect;
+ connectable->disconnect = ags_pad_disconnect;
+}
+
+void
+ags_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_version = ags_pad_get_version;
+ plugin->set_version = ags_pad_set_version;
+ plugin->get_build_id = ags_pad_get_build_id;
+ plugin->set_build_id = ags_pad_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_pad_init(AgsPad *pad)
+{
+ GtkMenu *menu;
+ GtkHBox *hbox;
+
+ g_signal_connect((GObject *) pad, "parent_set\0",
+ G_CALLBACK(ags_pad_parent_set_callback), (gpointer) pad);
+
+ pad->flags = 0;
+
+ pad->name = NULL;
+
+ pad->version = AGS_VERSION;
+ pad->build_id = AGS_BUILD_ID;
+
+ pad->cols = 2;
+ pad->expander_set = ags_expander_set_new(1, 1);
+ gtk_box_pack_start((GtkBox *) pad, (GtkWidget *) pad->expander_set, TRUE, TRUE, 0);
+
+ hbox = (GtkHBox *) gtk_hbox_new(TRUE, 0);
+ gtk_box_pack_start((GtkBox *) pad, (GtkWidget *) hbox, FALSE, FALSE, 0);
+
+ pad->group = (GtkToggleButton *) gtk_toggle_button_new_with_label("G\0");
+ gtk_toggle_button_set_active(pad->group, TRUE);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) pad->group, FALSE, FALSE, 0);
+
+ pad->mute = (GtkToggleButton *) gtk_toggle_button_new_with_label("M\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) pad->mute, FALSE, FALSE, 0);
+
+ pad->solo = (GtkToggleButton *) gtk_toggle_button_new_with_label("S\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) pad->solo, FALSE, FALSE, 0);
+
+ pad->play = NULL;
+}
+
+void
+ags_pad_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPad *pad;
+
+ pad = AGS_PAD(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ {
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_value_get_object(value);
+
+ ags_pad_set_channel(pad, channel);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_pad_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPad *pad;
+
+ pad = AGS_PAD(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ g_value_set_object(value, pad->channel);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_pad_connect(AgsConnectable *connectable)
+{
+ AgsPad *pad;
+ GList *line_list, *line_list_start;
+
+ /* AgsPad */
+ pad = AGS_PAD(connectable);
+
+ if((AGS_PAD_CONNECTED & (pad->flags)) != 0){
+ return;
+ }
+
+ pad->flags |= AGS_PAD_CONNECTED;
+
+ if((AGS_PAD_PREMAPPED_RECALL & (pad->flags)) == 0){
+ if((AGS_PAD_MAPPED_RECALL & (pad->flags)) == 0){
+ ags_pad_map_recall(pad,
+ 0);
+ }
+ }else{
+ pad->flags &= (~AGS_PAD_PREMAPPED_RECALL);
+ }
+
+ /* GtkObject */
+ g_signal_connect((GObject *) pad, "destroy\0",
+ G_CALLBACK(ags_pad_destroy_callback), (gpointer) pad);
+
+ /* GtkWidget */
+ g_signal_connect((GObject *) pad, "show\0",
+ G_CALLBACK(ags_pad_show_callback), (gpointer) pad);
+
+ /* GtkButton */
+ g_signal_connect_after((GObject *) pad->group, "clicked\0",
+ G_CALLBACK(ags_pad_group_clicked_callback), (gpointer) pad);
+
+ g_signal_connect_after((GObject *) pad->mute, "clicked\0",
+ G_CALLBACK(ags_pad_mute_clicked_callback), (gpointer) pad);
+
+ g_signal_connect_after((GObject *) pad->solo, "clicked\0",
+ G_CALLBACK(ags_pad_solo_clicked_callback), (gpointer) pad);
+
+ /* AgsLine */
+ line_list_start =
+ line_list = gtk_container_get_children(GTK_CONTAINER(pad->expander_set));
+
+ while(line_list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(line_list->data));
+
+ line_list = line_list->next;
+ }
+
+ g_list_free(line_list_start);
+}
+
+void
+ags_pad_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_pad_get_version(AgsPlugin *plugin)
+{
+ return(AGS_PAD(plugin)->version);
+}
+
+void
+ags_pad_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AgsPad *pad;
+
+ pad = AGS_PAD(plugin);
+
+ pad->version = version;
+}
+
+gchar*
+ags_pad_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_PAD(plugin)->build_id);
+}
+
+void
+ags_pad_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AgsPad *pad;
+
+ pad = AGS_PAD(plugin);
+
+ pad->build_id = build_id;
+}
+
+void
+ags_pad_destroy(GtkObject *object)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_pad_show(GtkWidget *widget)
+{
+ AgsPad *pad;
+
+ pad = AGS_PAD(widget);
+}
+
+void
+ags_pad_real_set_channel(AgsPad *pad, AgsChannel *channel)
+{
+ AgsChannel *current;
+ GList *line, *line_start;
+
+ if(pad->channel == channel){
+ return;
+ }
+
+ if(pad->channel != NULL){
+ g_object_unref(G_OBJECT(pad->channel));
+ }
+
+ if(channel != NULL){
+ g_object_ref(G_OBJECT(channel));
+ }
+
+ pad->channel = channel;
+
+ line_start =
+ line = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(pad)->expander_set));
+ current = pad->channel;
+
+ while(line != NULL){
+ g_object_set(G_OBJECT(line->data),
+ "channel\0", current,
+ NULL);
+
+ current = current->next;
+ line = line->next;
+ }
+
+ g_list_free(line_start);
+}
+
+/**
+ * ags_pad_set_channel:
+ * @pad: an #AgsPad
+ * @channel: the #AgsChannel to set
+ *
+ * Is emitted as channel gets modified.
+ *
+ * Since: 0.3
+ */
+void
+ags_pad_set_channel(AgsPad *pad, AgsChannel *channel)
+{
+ g_return_if_fail(AGS_IS_PAD(pad));
+
+ g_object_ref((GObject *) pad);
+ g_signal_emit(G_OBJECT(pad),
+ pad_signals[SET_CHANNEL], 0,
+ channel);
+ g_object_unref((GObject *) pad);
+}
+
+void
+ags_pad_real_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ AgsMachine *machine;
+ AgsLine *line;
+ AgsChannel *channel;
+ guint i, j;
+
+ // fprintf(stdout, "ags_pad_real_resize_lines: audio_channels = %u ; audio_channels_old = %u\n\0", audio_channels, audio_channels_old);
+ machine = (AgsMachine *) gtk_widget_get_ancestor((GtkWidget *) pad, AGS_TYPE_MACHINE);
+
+ if(audio_channels > audio_channels_old){
+ channel = ags_channel_nth(pad->channel, audio_channels_old);
+
+ /* create AgsLine */
+ for(i = audio_channels_old; i < audio_channels;){
+ for(j = audio_channels_old % pad->cols; j < pad->cols && i < audio_channels; j++, i++){
+ line = (AgsLine *) g_object_new(line_type,
+ "pad\0", pad,
+ "channel\0", channel,
+ NULL);
+ channel->line_widget = (GtkWidget *) line;
+ ags_expander_set_add(pad->expander_set,
+ (GtkWidget *) line,
+ j, i / pad->cols,
+ 1, 1);
+
+ channel = channel->next;
+ }
+ }
+ }else if(audio_channels < audio_channels_old){
+ GList *list, *list_start;
+
+ list_start =
+ list = g_list_nth(gtk_container_get_children(GTK_CONTAINER(pad->expander_set)),
+ audio_channels);
+
+ while(list != NULL){
+ ags_connectable_disconnect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ list = list_start;
+
+ while(list != NULL){
+ gtk_widget_destroy(GTK_WIDGET(list->data));
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+ }
+}
+
+/**
+ * ags_pad_resize_lines:
+ * @pad: the #AgsPad to resize
+ * @line_type: channel type, either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ * @audio_channels: count of lines
+ * @audio_channels_old: old count of lines
+ *
+ * Resize the count of #AgsLine packe by #AgsPad.
+ *
+ * Since: 0.3
+ */
+void ags_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ g_return_if_fail(AGS_IS_PAD(pad));
+
+ // fprintf(stdout, "ags_pad_resize_lines: audio_channels = %u ; audio_channels_old = %u\n\0", audio_channels, audio_channels_old);
+
+ g_object_ref((GObject *) pad);
+ g_signal_emit(G_OBJECT(pad),
+ pad_signals[RESIZE_LINES], 0,
+ line_type,
+ audio_channels, audio_channels_old);
+ g_object_unref((GObject *) pad);
+}
+
+void ags_pad_real_map_recall(AgsPad *pad, guint output_pad_start)
+{
+ if((AGS_PAD_MAPPED_RECALL & (pad->flags)) != 0){
+ return;
+ }
+
+ pad->flags |= AGS_PAD_MAPPED_RECALL;
+
+ ags_pad_find_port(pad);
+}
+
+/**
+ * ags_pad_map_recall:
+ * @pad: the #AgsPad to resize
+ * @output_pad_start: start of output pad
+ *
+ * Start of output pad
+ *
+ * Since: 0.4
+ */
+void ags_pad_map_recall(AgsPad *pad, guint output_pad_start)
+{
+ g_return_if_fail(AGS_IS_PAD(pad));
+
+ g_object_ref((GObject *) pad);
+ g_signal_emit(G_OBJECT(pad),
+ pad_signals[MAP_RECALL], 0,
+ output_pad_start);
+ g_object_unref((GObject *) pad);
+}
+
+GList*
+ags_pad_real_find_port(AgsPad *pad)
+{
+ AgsChannel *channel, *next_pad;
+ GList *list, *tmp;
+
+ list = NULL;
+
+ channel = pad->channel;
+
+ if(channel != NULL){
+ next_pad = channel->next_pad;
+
+ while(channel != next_pad){
+ if(list != NULL){
+ list = ags_channel_find_port(channel);
+ }else{
+ tmp = ags_channel_find_port(channel);
+ list = g_list_concat(list,
+ tmp);
+ g_list_free(tmp);
+ }
+
+ channel = channel->next;
+ }
+ }
+
+ return(list);
+
+}
+
+/**
+ * ags_pad_find_port:
+ * @pad: an #AgsPad
+ * Returns: an #GList containing all related #AgsPort
+ *
+ * Lookup ports of assigned recalls.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_pad_find_port(AgsPad *pad)
+{
+ GList *list;
+
+ list = NULL;
+ g_return_val_if_fail(AGS_IS_PAD(pad),
+ NULL);
+
+ g_object_ref((GObject *) pad);
+ g_signal_emit((GObject *) pad,
+ pad_signals[FIND_PORT], 0,
+ &list);
+ g_object_unref((GObject *) pad);
+
+ return(list);
+}
+
+/**
+ * ags_pad_new:
+ * @pad: the parent pad
+ * @channel: the bunch of channel to visualize
+ *
+ * Creates an #AgsPad
+ *
+ * Returns: a new #AgsPad
+ *
+ * Since: 0.3
+ */
+AgsPad*
+ags_pad_new(AgsChannel *channel)
+{
+ AgsPad *pad;
+
+ pad = (AgsPad *) g_object_new(AGS_TYPE_PAD, NULL);
+
+ return(pad);
+}
diff --git a/src/ags/X/ags_pad.h b/src/ags/X/ags_pad.h
new file mode 100644
index 0000000..d18b857
--- /dev/null
+++ b/src/ags/X/ags_pad.h
@@ -0,0 +1,104 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PAD_H__
+#define __AGS_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/widget/ags_expander_set.h>
+
+#include <ags/X/ags_line.h>
+
+#define AGS_TYPE_PAD (ags_pad_get_type())
+#define AGS_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PAD, AgsPad))
+#define AGS_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PAD, AgsPadClass))
+#define AGS_IS_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PAD))
+#define AGS_IS_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PAD))
+#define AGS_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PAD, AgsPadClass))
+
+#define AGS_PAD_DEFAULT_VERSION "0.4.2\0"
+#define AGS_PAD_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+typedef struct _AgsPad AgsPad;
+typedef struct _AgsPadClass AgsPadClass;
+
+typedef enum{
+ AGS_PAD_CONNECTED = 1,
+ AGS_PAD_SHOW_GROUPING = 1 << 1,
+ AGS_PAD_GROUP_ALL = 1 << 2,
+ AGS_PAD_GROUP_LINE = 1 << 3,
+ AGS_PAD_MAPPED_RECALL = 1 << 4,
+ AGS_PAD_PREMAPPED_RECALL = 1 << 5,
+}AgsPadFlags;
+
+struct _AgsPad
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *channel;
+
+ guint cols;
+ AgsExpanderSet *expander_set;
+
+ GtkToggleButton *group;
+ GtkToggleButton *mute;
+ GtkToggleButton *solo;
+
+ GtkToggleButton *play;
+};
+
+struct _AgsPadClass
+{
+ GtkVBoxClass vbox;
+
+ void (*set_channel)(AgsPad *pad, AgsChannel *channel);
+
+ void (*resize_lines)(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+ void (*map_recall)(AgsPad *pad,
+ guint output_pad_start);
+ GList* (*find_port)(AgsPad *pad);
+};
+
+GType ags_pad_get_type(void);
+
+void ags_pad_set_channel(AgsPad *pad, AgsChannel *channel);
+
+void ags_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+void ags_pad_map_recall(AgsPad *pad,
+ guint output_pad_start);
+
+GList* ags_pad_find_port(AgsPad *pad);
+
+AgsPad* ags_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_PAD_H__*/
diff --git a/src/ags/X/ags_pad_callbacks.c b/src/ags/X/ags_pad_callbacks.c
new file mode 100644
index 0000000..8140f37
--- /dev/null
+++ b/src/ags/X/ags_pad_callbacks.c
@@ -0,0 +1,204 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_pad_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+
+#include <ags/audio/task/recall/ags_set_muted.h>
+
+#include <ags/X/ags_machine.h>
+
+int
+ags_pad_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsPad *pad)
+{
+ if(old_parent != NULL)
+ return;
+}
+
+int
+ags_pad_destroy_callback(GtkObject *object, AgsPad *pad)
+{
+ ags_pad_destroy(object);
+}
+
+int
+ags_pad_show_callback(GtkWidget *widget, AgsPad *pad)
+{
+ ags_pad_show(widget);
+}
+
+int
+ags_pad_option_changed_callback(GtkWidget *widget, AgsPad *pad)
+{
+
+ return(0);
+}
+
+int
+ags_pad_group_clicked_callback(GtkWidget *widget, AgsPad *pad)
+{
+ AgsLine *line;
+ GtkContainer *container;
+ GList *list, *list_start;
+
+ if(gtk_toggle_button_get_active(pad->group)){
+ container = (GtkContainer *) pad->expander_set;
+
+ list_start =
+ list = gtk_container_get_children(container);
+
+ while(list != NULL){
+ line = AGS_LINE(list->data);
+
+ if(!gtk_toggle_button_get_active(line->group)){
+ gtk_toggle_button_set_active(line->group, TRUE);
+ }
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+ }else{
+ container = (GtkContainer *) pad->expander_set;
+
+ list_start =
+ list = gtk_container_get_children(container);
+
+ while(list != NULL){
+ line = AGS_LINE(list->data);
+
+ if(!gtk_toggle_button_get_active(line->group)){
+ return(0);
+ }
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+ gtk_toggle_button_set_active(pad->group, TRUE);
+ }
+
+ return(0);
+}
+
+int
+ags_pad_mute_clicked_callback(GtkWidget *widget, AgsPad *pad)
+{
+ AgsMachine *machine;
+ GtkContainer *container;
+ AgsTaskThread *task_thread;
+ AgsChannel *current;
+ AgsSetMuted *set_muted;
+ GList *list, *list_start, *tasks;
+
+ task_thread = AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(pad->channel->audio)->devout)->ags_main)->main_loop)->task_thread);
+
+ current = pad->channel;
+ tasks = NULL;
+
+ if(gtk_toggle_button_get_active(pad->mute)){
+ if(gtk_toggle_button_get_active(pad->solo))
+ gtk_toggle_button_set_active(pad->solo, FALSE);
+
+ /* mute */
+ while(current != pad->channel->next_pad){
+ set_muted = ags_set_muted_new(G_OBJECT(current),
+ TRUE);
+ tasks = g_list_prepend(tasks, set_muted);
+
+ current = current->next;
+ }
+ }else{
+ machine = (AgsMachine *) gtk_widget_get_ancestor((GtkWidget *) pad, AGS_TYPE_MACHINE);
+
+ if((AGS_MACHINE_SOLO & (machine->flags)) != 0){
+ container = (GtkContainer *) (AGS_IS_OUTPUT(pad->channel) ? machine->output: machine->input);
+ list_start =
+ list = gtk_container_get_children(container);
+
+ while(!gtk_toggle_button_get_active(AGS_PAD(list->data)->solo))
+ list = list->next;
+
+ g_list_free(list_start);
+
+ gtk_toggle_button_set_active(AGS_PAD(list->data)->solo, FALSE);
+
+ machine->flags &= ~(AGS_MACHINE_SOLO);
+ }
+
+ /* unmute */
+ while(current != pad->channel->next_pad){
+ set_muted = ags_set_muted_new(G_OBJECT(current),
+ FALSE);
+ tasks = g_list_prepend(tasks, set_muted);
+
+ current = current->next;
+ }
+ }
+
+ ags_task_thread_append_tasks(task_thread,
+ tasks);
+
+ return(0);
+}
+
+int
+ags_pad_solo_clicked_callback(GtkWidget *widget, AgsPad *pad)
+{
+ AgsMachine *machine;
+ GtkContainer *container;
+ GList *list, *list_start;
+
+ machine = (AgsMachine *) gtk_widget_get_ancestor((GtkWidget *) pad, AGS_TYPE_MACHINE);
+
+ if(gtk_toggle_button_get_active(pad->solo)){
+ container = (GtkContainer *) (AGS_IS_OUTPUT(pad->channel) ? machine->output: machine->input);
+
+ if(gtk_toggle_button_get_active(pad->mute))
+ gtk_toggle_button_set_active(pad->mute, FALSE);
+
+ list_start =
+ list = gtk_container_get_children(container);
+
+ while(list != NULL){
+ if(list->data == pad){
+ list = list->next;
+ continue;
+ }
+
+ gtk_toggle_button_set_active(AGS_PAD(list->data)->mute, TRUE);
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+ machine->flags |= (AGS_MACHINE_SOLO);
+ }else
+ machine->flags &= ~(AGS_MACHINE_SOLO);
+
+ return(0);
+}
diff --git a/src/ags/X/ags_pad_callbacks.h b/src/ags/X/ags_pad_callbacks.h
new file mode 100644
index 0000000..84e97f8
--- /dev/null
+++ b/src/ags/X/ags_pad_callbacks.h
@@ -0,0 +1,38 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PAD_CALLBACKS_H__
+#define __AGS_PAD_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_pad.h>
+
+int ags_pad_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsPad *pad);
+int ags_pad_destroy_callback(GtkObject *object, AgsPad *pad);
+int ags_pad_show_callback(GtkWidget *widget, AgsPad *pad);
+
+int ags_pad_option_changed_callback(GtkWidget *widget, AgsPad *pad);
+
+int ags_pad_group_clicked_callback(GtkWidget *widget, AgsPad *pad);
+int ags_pad_mute_clicked_callback(GtkWidget *widget, AgsPad *pad);
+int ags_pad_solo_clicked_callback(GtkWidget *widget, AgsPad *pad);
+
+#endif /*__AGS_PAD_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_pad_editor.c b/src/ags/X/ags_pad_editor.c
new file mode 100644
index 0000000..c48ef50
--- /dev/null
+++ b/src/ags/X/ags_pad_editor.c
@@ -0,0 +1,391 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_pad_editor.h>
+#include <ags/X/ags_pad_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_applicable.h>
+
+#include <ags/X/ags_line_editor.h>
+
+void ags_pad_editor_class_init(AgsPadEditorClass *pad_editor);
+void ags_pad_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_pad_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_pad_editor_init(AgsPadEditor *pad_editor);
+void ags_pad_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_pad_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_pad_editor_connect(AgsConnectable *connectable);
+void ags_pad_editor_disconnect(AgsConnectable *connectable);
+void ags_pad_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_pad_editor_apply(AgsApplicable *applicable);
+void ags_pad_editor_reset(AgsApplicable *applicable);
+void ags_pad_editor_destroy(GtkObject *object);
+void ags_pad_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_pad_editor
+ * @short_description: A composite widget to edit #AgsChannel
+ * @title: AgsPadEditor
+ * @section_id:
+ * @include: ags/X/ags_pad_editor.h
+ *
+ * #AgsPadEditor is a composite widget to edit #AgsChannel. It should be
+ * packed by an #AgsPadEditor.
+ */
+
+enum{
+ PROP_0,
+ PROP_CHANNEL,
+};
+
+GType
+ags_pad_editor_get_type(void)
+{
+ static GType ags_type_pad_editor = 0;
+
+ if(!ags_type_pad_editor){
+ static const GTypeInfo ags_pad_editor_info = {
+ sizeof (AgsPadEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_pad_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPadEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_pad_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_pad_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_pad_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_pad_editor = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsPadEditor\0", &ags_pad_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_pad_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_pad_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_pad_editor);
+}
+
+void
+ags_pad_editor_class_init(AgsPadEditorClass *pad_editor)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ gobject = (GObjectClass *) pad_editor;
+
+ gobject->set_property = ags_pad_editor_set_property;
+ gobject->get_property = ags_pad_editor_get_property;
+
+ param_spec = g_param_spec_object("channel\0",
+ "assigned channel\0",
+ "The channel which this pad editor is assigned with\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHANNEL,
+ param_spec);
+}
+
+void
+ags_pad_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_pad_editor_connect;
+ connectable->disconnect = ags_pad_editor_disconnect;
+}
+
+void
+ags_pad_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_pad_editor_set_update;
+ applicable->apply = ags_pad_editor_apply;
+ applicable->reset = ags_pad_editor_reset;
+}
+
+void
+ags_pad_editor_init(AgsPadEditor *pad_editor)
+{
+ pad_editor->version = AGS_PAD_EDITOR_DEFAULT_VERSION;
+ pad_editor->build_id = AGS_PAD_EDITOR_DEFAULT_BUILD_ID;
+
+ pad_editor->line_editor_expander = (GtkExpander *) gtk_expander_new(NULL);
+ gtk_box_pack_start(GTK_BOX(pad_editor),
+ GTK_WIDGET(pad_editor->line_editor_expander),
+ FALSE, FALSE,
+ 0);
+
+ pad_editor->line_editor = NULL;
+}
+
+
+void
+ags_pad_editor_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPadEditor *pad_editor;
+
+ pad_editor = AGS_PAD_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ {
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_value_get_object(value);
+
+ ags_pad_editor_set_channel(pad_editor, channel);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_pad_editor_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPadEditor *pad_editor;
+
+ pad_editor = AGS_PAD_EDITOR(gobject);
+
+ switch(prop_id){
+ case PROP_CHANNEL:
+ g_value_set_object(value, pad_editor->pad);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_pad_editor_connect(AgsConnectable *connectable)
+{
+ AgsPadEditor *pad_editor;
+ AgsAudio *audio;
+ GList *line_editor, *line_editor_start;
+
+ pad_editor = AGS_PAD_EDITOR(connectable);
+
+ g_signal_connect((GObject *) pad_editor, "destroy\0",
+ G_CALLBACK(ags_pad_editor_destroy_callback), (gpointer) pad_editor);
+
+ g_signal_connect((GObject *) pad_editor, "show\0",
+ G_CALLBACK(ags_pad_editor_show_callback), (gpointer) pad_editor);
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(pad_editor->pad->audio);
+
+ g_signal_connect_after(G_OBJECT(audio), "set_audio_channels\0",
+ G_CALLBACK(ags_pad_editor_set_audio_channels_callback), pad_editor);
+
+ /* AgsLineEditor */
+ line_editor_start =
+ line_editor = gtk_container_get_children(GTK_CONTAINER(pad_editor->line_editor));
+
+ while(line_editor != NULL){
+ ags_line_editor_connect(AGS_CONNECTABLE(line_editor->data));
+
+ line_editor = line_editor->next;
+ }
+
+ g_list_free(line_editor_start);
+}
+
+void
+ags_pad_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_pad_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsPadEditor *pad_editor;
+ GList *line_editor, *line_editor_start;
+
+ pad_editor = AGS_PAD_EDITOR(applicable);
+
+ line_editor_start =
+ line_editor = gtk_container_get_children(GTK_CONTAINER(pad_editor->line_editor));
+
+ while(line_editor != NULL){
+ ags_applicable_set_update(AGS_APPLICABLE(line_editor->data), update);
+
+ line_editor = line_editor->next;
+ }
+
+ g_list_free(line_editor_start);
+}
+
+void
+ags_pad_editor_apply(AgsApplicable *applicable)
+{
+ AgsPadEditor *pad_editor;
+ GList *line_editor, *line_editor_start;
+
+ pad_editor = AGS_PAD_EDITOR(applicable);
+
+ line_editor_start =
+ line_editor = gtk_container_get_children(GTK_CONTAINER(pad_editor->line_editor));
+
+ while(line_editor != NULL){
+ ags_applicable_apply(AGS_APPLICABLE(line_editor->data));
+
+ line_editor = line_editor->next;
+ }
+
+ g_list_free(line_editor_start);
+}
+
+void
+ags_pad_editor_reset(AgsApplicable *applicable)
+{
+ AgsPadEditor *pad_editor;
+ GList *line_editor, *line_editor_start;
+
+ pad_editor = AGS_PAD_EDITOR(applicable);
+
+ line_editor_start =
+ line_editor = gtk_container_get_children(GTK_CONTAINER(pad_editor->line_editor));
+
+ while(line_editor != NULL){
+ ags_applicable_reset(AGS_APPLICABLE(line_editor->data));
+
+ line_editor = line_editor->next;
+ }
+
+ g_list_free(line_editor_start);
+}
+
+void
+ags_pad_editor_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_pad_editor_show(GtkWidget *widget)
+{
+ /* empty */
+}
+
+/**
+ * ags_pad_editor_set_channel:
+ * @pad_editor: an #AgsPadEditor
+ * @channel: the new #AgsChannel
+ *
+ * Is called as channel gets modified.
+ *
+ * Since: 0.3
+ */
+void
+ags_pad_editor_set_channel(AgsPadEditor *pad_editor, AgsChannel *channel)
+{
+ GtkVBox *vbox;
+
+ if(pad_editor->line_editor != NULL){
+ vbox = pad_editor->line_editor;
+ pad_editor->line_editor = NULL;
+ gtk_widget_destroy(GTK_WIDGET(vbox));
+ }
+
+ pad_editor->pad = channel;
+
+ if(channel != NULL){
+ AgsLineEditor *line_editor;
+ AgsChannel *next_pad;
+
+ gtk_expander_set_label(pad_editor->line_editor_expander,
+ g_strdup_printf("pad: %u\0", channel->pad));
+
+ pad_editor->line_editor = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(pad_editor->line_editor_expander),
+ GTK_WIDGET(pad_editor->line_editor));
+
+ next_pad = channel->next_pad;
+
+ while(channel != next_pad){
+ line_editor = ags_line_editor_new(channel);
+ gtk_box_pack_start(GTK_BOX(pad_editor->line_editor),
+ GTK_WIDGET(line_editor),
+ FALSE, FALSE,
+ 0);
+
+ channel = channel->next;
+ }
+ }else{
+ gtk_expander_set_label(pad_editor->line_editor_expander,
+ NULL);
+ }
+}
+
+/**
+ * ags_pad_editor_new:
+ * @channel: the channel to edit
+ *
+ * Creates an #AgsPadEditor
+ *
+ * Returns: a new #AgsPadEditor
+ *
+ * Since: 0.3
+ */
+AgsPadEditor*
+ags_pad_editor_new(AgsChannel *channel)
+{
+ AgsPadEditor *pad_editor;
+
+ pad_editor = (AgsPadEditor *) g_object_new(AGS_TYPE_PAD_EDITOR,
+ "channel\0", channel,
+ NULL);
+
+ return(pad_editor);
+}
diff --git a/src/ags/X/ags_pad_editor.h b/src/ags/X/ags_pad_editor.h
new file mode 100644
index 0000000..5075329
--- /dev/null
+++ b/src/ags/X/ags_pad_editor.h
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PAD_EDITOR_H__
+#define __AGS_PAD_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_PAD_EDITOR (ags_pad_editor_get_type())
+#define AGS_PAD_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PAD_EDITOR, AgsPadEditor))
+#define AGS_PAD_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PAD_EDITOR, AgsPadEditorClass))
+#define AGS_IS_PAD_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PAD_EDITOR))
+#define AGS_IS_PAD_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PAD_EDITOR))
+#define AGS_PAD_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_PAD_EDITOR, AgsPadEditorClass))
+
+#define AGS_PAD_EDITOR_DEFAULT_VERSION "0.4.2\0"
+#define AGS_PAD_EDITOR_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+typedef struct _AgsPadEditor AgsPadEditor;
+typedef struct _AgsPadEditorClass AgsPadEditorClass;
+
+struct _AgsPadEditor
+{
+ GtkVBox vbox;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsChannel *pad;
+
+ GtkExpander *line_editor_expander;
+ GtkVBox *line_editor;
+};
+
+struct _AgsPadEditorClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_pad_editor_get_type(void);
+
+void ags_pad_editor_set_channel(AgsPadEditor *pad_editor, AgsChannel *channel);
+
+AgsPadEditor* ags_pad_editor_new(AgsChannel *channel);
+
+#endif /*__AGS_PAD_EDITOR_H__*/
diff --git a/src/ags/X/ags_pad_editor_callbacks.c b/src/ags/X/ags_pad_editor_callbacks.c
new file mode 100644
index 0000000..25293f8
--- /dev/null
+++ b/src/ags/X/ags_pad_editor_callbacks.c
@@ -0,0 +1,89 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_pad_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_machine_editor.h>
+#include <ags/X/ags_line_editor.h>
+
+int
+ags_pad_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsPadEditor *pad_editor)
+{
+ return(0);
+}
+
+int
+ags_pad_editor_destroy_callback(GtkObject *object, AgsPadEditor *pad_editor)
+{
+ ags_pad_editor_destroy(object);
+ return(0);
+}
+
+int
+ags_pad_editor_show_callback(GtkWidget *widget, AgsPadEditor *pad_editor)
+{
+ ags_pad_editor_show(widget);
+ return(0);
+}
+
+void
+ags_pad_editor_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsPadEditor *pad_editor)
+{
+ if(audio_channels > audio_channels_old){
+ AgsLineEditor *line_editor;
+ AgsChannel *channel, *next_pad;
+
+ channel = ags_channel_nth(pad_editor->pad, audio_channels_old);
+ next_pad = pad_editor->pad->next_pad;
+
+ while(channel != next_pad){
+ line_editor = ags_line_editor_new(channel);
+ gtk_box_pack_start(GTK_BOX(pad_editor->line_editor),
+ GTK_WIDGET(line_editor),
+ FALSE, FALSE,
+ 0);
+ ags_connectable_connect(AGS_CONNECTABLE(line_editor));
+ gtk_widget_show_all(GTK_WIDGET(line_editor));
+
+ channel = channel->next;
+ }
+ }else{
+ GList *list, *list_next, *list_start;
+
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(pad_editor->line_editor));
+ list = g_list_nth(list, audio_channels);
+
+ while(list != NULL){
+ list_next = list->next;
+
+ gtk_widget_destroy(GTK_WIDGET(list->data));
+
+ list = list_next;
+ }
+
+ g_list_free(list_start);
+ }
+}
diff --git a/src/ags/X/ags_pad_editor_callbacks.h b/src/ags/X/ags_pad_editor_callbacks.h
new file mode 100644
index 0000000..fe079b2
--- /dev/null
+++ b/src/ags/X/ags_pad_editor_callbacks.h
@@ -0,0 +1,39 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PAD_EDITOR_CALLBACKS_H__
+#define __AGS_PAD_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags/X/ags_pad_editor.h>
+
+int ags_pad_editor_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsPadEditor *pad_editor);
+
+int ags_pad_editor_destroy_callback(GtkObject *object, AgsPadEditor *pad_editor);
+int ags_pad_editor_show_callback(GtkWidget *widget, AgsPadEditor *pad_editor);
+
+void ags_pad_editor_set_audio_channels_callback(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsPadEditor *pad_editor);
+
+#endif /*__AGS_PAD_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_performance_preferences.c b/src/ags/X/ags_performance_preferences.c
new file mode 100644
index 0000000..f6170f9
--- /dev/null
+++ b/src/ags/X/ags_performance_preferences.c
@@ -0,0 +1,261 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_performance_preferences.h>
+#include <ags/X/ags_performance_preferences_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_preferences.h>
+
+void ags_performance_preferences_class_init(AgsPerformancePreferencesClass *performance_preferences);
+void ags_performance_preferences_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_performance_preferences_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_performance_preferences_init(AgsPerformancePreferences *performance_preferences);
+void ags_performance_preferences_connect(AgsConnectable *connectable);
+void ags_performance_preferences_disconnect(AgsConnectable *connectable);
+void ags_performance_preferences_set_update(AgsApplicable *applicable, gboolean update);
+void ags_performance_preferences_apply(AgsApplicable *applicable);
+void ags_performance_preferences_reset(AgsApplicable *applicable);
+static void ags_performance_preferences_finalize(GObject *gobject);
+void ags_performance_preferences_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_performance_preferences
+ * @short_description: A composite widget to do performance related preferences
+ * @title: AgsPerformancePreferences
+ * @section_id:
+ * @include: ags/X/ags_performance_preferences.h
+ *
+ * #AgsPerformancePreferences enables you to make performance related preferences.
+ */
+
+static gpointer ags_performance_preferences_parent_class = NULL;
+
+GType
+ags_performance_preferences_get_type(void)
+{
+ static GType ags_type_performance_preferences = 0;
+
+ if(!ags_type_performance_preferences){
+ static const GTypeInfo ags_performance_preferences_info = {
+ sizeof (AgsPerformancePreferencesClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_performance_preferences_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPerformancePreferences),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_performance_preferences_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_performance_preferences_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_performance_preferences_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_performance_preferences = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsPerformancePreferences\0", &ags_performance_preferences_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_performance_preferences,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_performance_preferences,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_performance_preferences);
+}
+
+void
+ags_performance_preferences_class_init(AgsPerformancePreferencesClass *performance_preferences)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+
+ ags_performance_preferences_parent_class = g_type_class_peek_parent(performance_preferences);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) performance_preferences;
+
+ gobject->finalize = ags_performance_preferences_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) performance_preferences;
+
+ widget->show = ags_performance_preferences_show;
+}
+
+void
+ags_performance_preferences_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_performance_preferences_connect;
+ connectable->disconnect = ags_performance_preferences_disconnect;
+}
+
+void
+ags_performance_preferences_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_performance_preferences_set_update;
+ applicable->apply = ags_performance_preferences_apply;
+ applicable->reset = ags_performance_preferences_reset;
+}
+
+void
+ags_performance_preferences_init(AgsPerformancePreferences *performance_preferences)
+{
+ performance_preferences->stream_auto_sense = (GtkCheckButton *) gtk_check_button_new_with_label("Auto-sense on stream\0");
+ gtk_box_pack_start(GTK_BOX(performance_preferences),
+ GTK_WIDGET(performance_preferences->stream_auto_sense),
+ FALSE, FALSE,
+ 0);
+
+ performance_preferences->super_threaded = (GtkCheckButton *) gtk_check_button_new_with_label("Super threaded\0");
+ gtk_box_pack_start(GTK_BOX(performance_preferences),
+ GTK_WIDGET(performance_preferences->super_threaded),
+ FALSE, FALSE,
+ 0);
+ gtk_widget_set_sensitive(performance_preferences->super_threaded,
+ FALSE);
+}
+
+void
+ags_performance_preferences_connect(AgsConnectable *connectable)
+{
+ AgsPerformancePreferences *performance_preferences;
+
+ performance_preferences = AGS_PERFORMANCE_PREFERENCES(connectable);
+}
+
+void
+ags_performance_preferences_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_performance_preferences_set_update(AgsApplicable *applicable, gboolean update)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_performance_preferences_apply(AgsApplicable *applicable)
+{
+ AgsPreferences *preferences;
+ AgsPerformancePreferences *performance_preferences;
+ AgsConfig *config;
+ gchar *str;
+
+ performance_preferences = AGS_PERFORMANCE_PREFERENCES(applicable);
+
+ preferences = (AgsPreferences *) gtk_widget_get_ancestor(GTK_WIDGET(performance_preferences),
+ AGS_TYPE_PREFERENCES);
+ config = AGS_CONFIG(AGS_MAIN(AGS_WINDOW(preferences->window)->ags_main)->config);
+
+ /* auto-sense */
+ str = g_strdup(((gtk_toggle_button_get_active(performance_preferences->stream_auto_sense)) ? "true\0": "false\0"));
+ ags_config_set(config,
+ AGS_CONFIG_RECALL,
+ "auto-sense\0",
+ str);
+ g_free(str);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_performance_preferences_reset(AgsApplicable *applicable)
+{
+ AgsWindow *window;
+ AgsPreferences *preferences;
+ AgsPerformancePreferences *performance_preferences;
+ AgsConfig *config;
+ gchar *str;
+
+ performance_preferences = AGS_PERFORMANCE_PREFERENCES(applicable);
+
+ /* */
+ preferences = (AgsPreferences *) gtk_widget_get_ancestor(GTK_WIDGET(performance_preferences),
+ AGS_TYPE_PREFERENCES);
+ window = AGS_WINDOW(preferences->window);
+ config = AGS_CONFIG(AGS_MAIN(window->ags_main)->config);
+
+ str = ags_config_get(config,
+ AGS_CONFIG_RECALL,
+ "auto-sense\0");
+ gtk_toggle_button_set_active(performance_preferences->stream_auto_sense,
+ !g_strcmp0("true\0",
+ str));
+
+ //TODO:JK: implement me
+}
+
+static void
+ags_performance_preferences_finalize(GObject *gobject)
+{
+}
+
+void
+ags_performance_preferences_show(GtkWidget *widget)
+{
+ AgsPerformancePreferences *performance_preferences;
+ pthread_t thread;
+
+ performance_preferences = AGS_PERFORMANCE_PREFERENCES(widget);
+
+ GTK_WIDGET_CLASS(ags_performance_preferences_parent_class)->show(widget);
+}
+
+/**
+ * ags_performance_preferences_new:
+ *
+ * Creates an #AgsPerformancePreferences
+ *
+ * Returns: a new #AgsPerformancePreferences
+ *
+ * Since: 0.4
+ */
+AgsPerformancePreferences*
+ags_performance_preferences_new()
+{
+ AgsPerformancePreferences *performance_preferences;
+
+ performance_preferences = (AgsPerformancePreferences *) g_object_new(AGS_TYPE_PERFORMANCE_PREFERENCES,
+ NULL);
+
+ return(performance_preferences);
+}
diff --git a/src/ags/X/ags_performance_preferences.h b/src/ags/X/ags_performance_preferences.h
new file mode 100644
index 0000000..35688a4
--- /dev/null
+++ b/src/ags/X/ags_performance_preferences.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PERFORMANCE_PREFERENCES_H__
+#define __AGS_PERFORMANCE_PREFERENCES_H__
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_PERFORMANCE_PREFERENCES (ags_performance_preferences_get_type())
+#define AGS_PERFORMANCE_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PERFORMANCE_PREFERENCES, AgsPerformancePreferences))
+#define AGS_PERFORMANCE_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PERFORMANCE_PREFERENCES, AgsPerformancePreferencesClass))
+#define AGS_IS_PERFORMANCE_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PERFORMANCE_PREFERENCES))
+#define AGS_IS_PERFORMANCE_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PERFORMANCE_PREFERENCES))
+#define AGS_PERFORMANCE_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PERFORMANCE_PREFERENCES, AgsPerformancePreferencesClass))
+
+typedef struct _AgsPerformancePreferences AgsPerformancePreferences;
+typedef struct _AgsPerformancePreferencesClass AgsPerformancePreferencesClass;
+
+struct _AgsPerformancePreferences
+{
+ GtkVBox vbox;
+
+ GtkCheckButton *super_threaded;
+ GtkCheckButton *stream_auto_sense;
+};
+
+struct _AgsPerformancePreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_performance_preferences_get_type(void);
+
+AgsPerformancePreferences* ags_performance_preferences_new();
+
+#endif /*__AGS_PERFORMANCE_PREFERENCES_H__*/
diff --git a/src/ags/X/ags_performance_preferences_callbacks.c b/src/ags/X/ags_performance_preferences_callbacks.c
new file mode 100644
index 0000000..77f801d
--- /dev/null
+++ b/src/ags/X/ags_performance_preferences_callbacks.c
@@ -0,0 +1,20 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_performance_preferences_callbacks.h>
+
diff --git a/src/ags/X/ags_performance_preferences_callbacks.h b/src/ags/X/ags_performance_preferences_callbacks.h
new file mode 100644
index 0000000..16b67db
--- /dev/null
+++ b/src/ags/X/ags_performance_preferences_callbacks.h
@@ -0,0 +1,27 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PERFORMANCE_PREFERENCES_CALLBACKS_H__
+#define __AGS_PERFORMANCE_PREFERENCES_CALLBACKS_H__
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_performance_preferences.h>
+
+
+#endif /*__AGS_PERFORMANCE_PREFERENCES_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_plugin_preferences.c b/src/ags/X/ags_plugin_preferences.c
new file mode 100644
index 0000000..395d4e5
--- /dev/null
+++ b/src/ags/X/ags_plugin_preferences.c
@@ -0,0 +1,211 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_plugin_preferences.h>
+#include <ags/X/ags_plugin_preferences_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_preferences.h>
+
+void ags_plugin_preferences_class_init(AgsPluginPreferencesClass *plugin_preferences);
+void ags_plugin_preferences_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_plugin_preferences_init(AgsPluginPreferences *plugin_preferences);
+void ags_plugin_preferences_connect(AgsConnectable *connectable);
+void ags_plugin_preferences_disconnect(AgsConnectable *connectable);
+static void ags_plugin_preferences_finalize(GObject *gobject);
+void ags_plugin_preferences_show(GtkWidget *widget);
+
+void ags_plugin_preferences_reset(AgsPluginPreferences *plugin_preferences);
+void* ags_plugin_preferences_refresh(void *ptr);
+
+/**
+ * SECTION:ags_plugin_preferences
+ * @short_description: A composite widget to do plugin related preferences
+ * @title: AgsPluginPreferences
+ * @section_id:
+ * @include: ags/X/ags_plugin_preferences.h
+ *
+ * #AgsPluginPreferences enables you to make plugin related preferences.
+ */
+
+static gpointer ags_plugin_preferences_parent_class = NULL;
+
+GType
+ags_plugin_preferences_get_type(void)
+{
+ static GType ags_type_plugin_preferences = 0;
+
+ if(!ags_type_plugin_preferences){
+ static const GTypeInfo ags_plugin_preferences_info = {
+ sizeof (AgsPluginPreferencesClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_plugin_preferences_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPluginPreferences),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_plugin_preferences_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_plugin_preferences_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_plugin_preferences = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsPluginPreferences\0", &ags_plugin_preferences_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_plugin_preferences,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_plugin_preferences);
+}
+
+void
+ags_plugin_preferences_class_init(AgsPluginPreferencesClass *plugin_preferences)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+
+ ags_plugin_preferences_parent_class = g_type_class_peek_parent(plugin_preferences);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) plugin_preferences;
+
+ gobject->finalize = ags_plugin_preferences_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) plugin_preferences;
+
+ widget->show = ags_plugin_preferences_show;
+}
+
+void
+ags_plugin_preferences_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_plugin_preferences_connect;
+ connectable->disconnect = ags_plugin_preferences_disconnect;
+}
+
+void
+ags_plugin_preferences_init(AgsPluginPreferences *plugin_preferences)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_plugin_preferences_connect(AgsConnectable *connectable)
+{
+ AgsPluginPreferences *plugin_preferences;
+
+ plugin_preferences = AGS_PLUGIN_PREFERENCES(connectable);
+}
+
+void
+ags_plugin_preferences_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+static void
+ags_plugin_preferences_finalize(GObject *gobject)
+{
+}
+
+void
+ags_plugin_preferences_show(GtkWidget *widget)
+{
+ AgsPluginPreferences *plugin_preferences;
+ pthread_t thread;
+
+ plugin_preferences = AGS_PLUGIN_PREFERENCES(widget);
+
+ GTK_WIDGET_CLASS(ags_plugin_preferences_parent_class)->show(widget);
+}
+
+AgsLadspaPluginPreferences*
+ags_ladspa_plugin_preferences_alloc(gchar *ladspa_path)
+{
+ AgsLadspaPluginPreferences *ladspa_plugin_preferences;
+ GtkListStore *list_store;
+ GtkTreePath *path;
+ GtkTreeIter iter;
+ gchar **filenames, **filenames_start;
+
+ static const gchar *default_ladspa_path = "/usr/lib/ladspa\0";
+
+ ladspa_plugin_preferences = (AgsLadspaPluginPreferences *) malloc(sizeof(AgsLadspaPluginPreferences));
+
+ if(ladspa_path == NULL){
+ ladspa_plugin_preferences->ladspa_path = default_ladspa_path;
+ }else{
+ ladspa_plugin_preferences->ladspa_path = ladspa_path;
+ }
+
+ ladspa_plugin_preferences->plugin_file = gtk_cell_view_new();
+
+ list_store = gtk_list_store_new(1,
+ G_TYPE_STRING);
+ filenames =
+ filenames_start = ags_ladspa_manager_get_filenames();
+
+ while(*filenames != NULL){
+ // Add a new row to the model
+ gtk_list_store_append (list_store, &iter);
+ gtk_list_store_set(list_store, &iter,
+ 0, *filenames,
+ -1);
+
+ filenames++;
+ }
+
+ free(filenames_start);
+ gtk_cell_view_set_model(ladspa_plugin_preferences->plugin_file,
+ list_store);
+
+ return(ladspa_plugin_preferences);
+}
+
+/**
+ * ags_plugin_preferences_new:
+ *
+ * Creates an #AgsPluginPreferences
+ *
+ * Returns: a new #AgsPluginPreferences
+ *
+ * Since: 0.4
+ */
+AgsPluginPreferences*
+ags_plugin_preferences_new()
+{
+ AgsPluginPreferences *plugin_preferences;
+
+ plugin_preferences = (AgsPluginPreferences *) g_object_new(AGS_TYPE_PLUGIN_PREFERENCES,
+ NULL);
+
+ return(plugin_preferences);
+}
diff --git a/src/ags/X/ags_plugin_preferences.h b/src/ags/X/ags_plugin_preferences.h
new file mode 100644
index 0000000..2ede346
--- /dev/null
+++ b/src/ags/X/ags_plugin_preferences.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLUGIN_PREFERENCES_H__
+#define __AGS_PLUGIN_PREFERENCES_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_PLUGIN_PREFERENCES (ags_plugin_preferences_get_type())
+#define AGS_PLUGIN_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN_PREFERENCES, AgsPluginPreferences))
+#define AGS_PLUGIN_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLUGIN_PREFERENCES, AgsPluginPreferencesClass))
+#define AGS_IS_PLUGIN_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLUGIN_PREFERENCES))
+#define AGS_IS_PLUGIN_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLUGIN_PREFERENCES))
+#define AGS_PLUGIN_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLUGIN_PREFERENCES, AgsPluginPreferencesClass))
+
+typedef struct _AgsPluginPreferences AgsPluginPreferences;
+typedef struct _AgsPluginPreferencesClass AgsPluginPreferencesClass;
+typedef struct _AgsLadspaPluginPreferences AgsLadspaPluginPreferences;
+
+struct _AgsPluginPreferences
+{
+ GtkVBox vbox;
+
+ AgsLadspaPluginPreferences *ladspa_plugin_preferencens;
+};
+
+struct _AgsPluginPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+
+struct _AgsLadspaPluginPreferences
+{
+ GtkEntry *ladspa_path;
+ GtkCellView *plugin_file;
+};
+
+GType ags_plugin_preferences_get_type(void);
+
+AgsLadspaPluginPreferences* ags_ladspa_plugin_preferences_alloc();
+
+AgsPluginPreferences* ags_plugin_preferences_new();
+
+#endif /*__AGS_PLUGIN_PREFERENCES_H__*/
diff --git a/src/ags/X/ags_plugin_preferences_callbacks.c b/src/ags/X/ags_plugin_preferences_callbacks.c
new file mode 100644
index 0000000..27f314f
--- /dev/null
+++ b/src/ags/X/ags_plugin_preferences_callbacks.c
@@ -0,0 +1,22 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/X/ags_plugin_preferences_callbacks.h>
diff --git a/src/ags/X/ags_plugin_preferences_callbacks.h b/src/ags/X/ags_plugin_preferences_callbacks.h
new file mode 100644
index 0000000..72d03b6
--- /dev/null
+++ b/src/ags/X/ags_plugin_preferences_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLUGIN_PREFERENCES_CALLBACKS_H__
+#define __AGS_PLUGIN_PREFERENCES_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_plugin_preferences.h>
+
+#endif /*__AGS_PLUGIN_PREFERENCES_CALLBACKS__*/
diff --git a/src/ags/X/ags_preferences.c b/src/ags/X/ags_preferences.c
new file mode 100644
index 0000000..0e5beb9
--- /dev/null
+++ b/src/ags/X/ags_preferences.c
@@ -0,0 +1,321 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_preferences.h>
+#include <ags/X/ags_preferences_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/audio/ags_config.h>
+
+#include <ags/X/ags_window.h>
+
+#include <sys/types.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <pwd.h>
+
+void ags_preferences_class_init(AgsPreferencesClass *preferences);
+void ags_preferences_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_preferences_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_preferences_init(AgsPreferences *preferences);
+void ags_preferences_connect(AgsConnectable *connectable);
+void ags_preferences_disconnect(AgsConnectable *connectable);
+void ags_preferences_set_update(AgsApplicable *applicable, gboolean update);
+void ags_preferences_apply(AgsApplicable *applicable);
+void ags_preferences_reset(AgsApplicable *applicable);
+static void ags_preferences_finalize(GObject *gobject);
+void ags_preferences_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_preferences
+ * @short_description: A dialog to do preferences
+ * @title: AgsPluginPreferences
+ * @section_id:
+ * @include: ags/X/ags_plugin_preferences.h
+ *
+ * #AgsDialogPreferences enables you to make preferences.
+ */
+
+static gpointer ags_preferences_parent_class = NULL;
+
+GType
+ags_preferences_get_type(void)
+{
+ static GType ags_type_preferences = 0;
+
+ if(!ags_type_preferences){
+ static const GTypeInfo ags_preferences_info = {
+ sizeof (AgsPreferencesClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_preferences_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPreferences),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_preferences_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_preferences_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_preferences_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_preferences = g_type_register_static(GTK_TYPE_DIALOG,
+ "AgsPreferences\0", &ags_preferences_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_preferences,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_preferences,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_preferences);
+}
+
+void
+ags_preferences_class_init(AgsPreferencesClass *preferences)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+
+ ags_preferences_parent_class = g_type_class_peek_parent(preferences);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) preferences;
+
+ // gobject->finalize = ags_preferences_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) preferences;
+}
+
+void
+ags_preferences_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_preferences_connect;
+ connectable->disconnect = ags_preferences_disconnect;
+}
+
+void
+ags_preferences_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_preferences_set_update;
+ applicable->apply = ags_preferences_apply;
+ applicable->reset = ags_preferences_reset;
+}
+
+void
+ags_preferences_init(AgsPreferences *preferences)
+{
+ GtkNotebook *notebook;
+ GtkButton *button;
+
+ preferences->flags = 0;
+
+ preferences->window = NULL;
+
+ gtk_window_set_title(GTK_WINDOW(preferences),
+ g_strdup("preferences\0"));
+ gtk_window_set_deletable(GTK_WINDOW(preferences),
+ TRUE);
+
+ notebook = (GtkNotebook *) gtk_notebook_new();
+ g_object_set(G_OBJECT(notebook),
+ "tab-pos\0", GTK_POS_LEFT,
+ NULL);
+ gtk_container_add(GTK_CONTAINER(GTK_DIALOG(preferences)->vbox),
+ GTK_WIDGET(notebook));
+
+ preferences->generic_preferences = ags_generic_preferences_new();
+ gtk_notebook_append_page(notebook,
+ GTK_WIDGET(preferences->generic_preferences),
+ gtk_label_new("generic\0"));
+
+ preferences->audio_preferences = ags_audio_preferences_new();
+ gtk_notebook_append_page(notebook,
+ GTK_WIDGET(preferences->audio_preferences),
+ gtk_label_new("audio\0"));
+
+ preferences->performance_preferences = ags_performance_preferences_new();
+ gtk_notebook_append_page(notebook,
+ GTK_WIDGET(preferences->performance_preferences),
+ gtk_label_new("performance\0"));
+
+ preferences->server_preferences = ags_server_preferences_new();
+ gtk_notebook_append_page(notebook,
+ GTK_WIDGET(preferences->server_preferences),
+ gtk_label_new("server\0"));
+
+ gtk_dialog_add_action_widget(GTK_DIALOG(preferences),
+ gtk_button_new_from_stock(GTK_STOCK_APPLY),
+ GTK_RESPONSE_APPLY);
+
+ gtk_dialog_add_action_widget(GTK_DIALOG(preferences),
+ gtk_button_new_from_stock(GTK_STOCK_CANCEL),
+ GTK_RESPONSE_CANCEL);
+
+ gtk_dialog_add_action_widget(GTK_DIALOG(preferences),
+ gtk_button_new_from_stock(GTK_STOCK_OK),
+ GTK_RESPONSE_OK);
+}
+
+void
+ags_preferences_connect(AgsConnectable *connectable)
+{
+ AgsPreferences *preferences;
+
+ preferences = AGS_PREFERENCES(connectable);
+
+ ags_connectable_connect(preferences->generic_preferences);
+ ags_connectable_connect(preferences->audio_preferences);
+ ags_connectable_connect(preferences->performance_preferences);
+ ags_connectable_connect(preferences->server_preferences);
+
+ g_signal_connect_after(G_OBJECT(preferences), "response\0",
+ G_CALLBACK(ags_preferences_response_callback), NULL);
+}
+
+void
+ags_preferences_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_preferences_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsPreferences *preferences;
+
+ preferences = AGS_PREFERENCES(applicable);
+
+ ags_applicable_set_update(AGS_APPLICABLE(preferences->generic_preferences), update);
+ ags_applicable_set_update(AGS_APPLICABLE(preferences->audio_preferences), update);
+ ags_applicable_set_update(AGS_APPLICABLE(preferences->performance_preferences), update);
+ ags_applicable_set_update(AGS_APPLICABLE(preferences->server_preferences), update);
+}
+
+void
+ags_preferences_apply(AgsApplicable *applicable)
+{
+ AgsPreferences *preferences;
+ AgsConfig *config;
+ AgsFile *file;
+ struct passwd *pw;
+ uid_t uid;
+ gchar *filename;
+ gchar **argv;
+ GError *error;
+
+ preferences = AGS_PREFERENCES(applicable);
+
+ config = AGS_CONFIG(AGS_MAIN(AGS_WINDOW(preferences->window)->ags_main)->config);
+
+ ags_applicable_apply(AGS_APPLICABLE(preferences->generic_preferences));
+ ags_applicable_apply(AGS_APPLICABLE(preferences->audio_preferences));
+ ags_applicable_apply(AGS_APPLICABLE(preferences->performance_preferences));
+ ags_applicable_apply(AGS_APPLICABLE(preferences->server_preferences));
+
+ ags_config_save(config);
+
+ uid = getuid();
+ pw = getpwuid(uid);
+
+ filename = g_strdup_printf("%s/%s/%s\0",
+ pw->pw_dir,
+ AGS_DEFAULT_DIRECTORY,
+ AGS_PREFERENCES_DEFAULT_FILENAME);
+
+ file = (AgsFile *) g_object_new(AGS_TYPE_FILE,
+ "main\0", AGS_MAIN(AGS_WINDOW(preferences->window)->ags_main),
+ "filename\0", filename,
+ NULL);
+ ags_file_write_concurrent(file);
+ g_object_unref(file);
+
+ error = NULL;
+
+ g_spawn_command_line_async(g_strdup_printf("./ags --filename %s\0",
+ filename),
+ &error);
+
+ ags_main_quit(AGS_MAIN(AGS_WINDOW(preferences->window)->ags_main));
+}
+
+void
+ags_preferences_reset(AgsApplicable *applicable)
+{
+ AgsPreferences *preferences;
+
+ preferences = AGS_PREFERENCES(applicable);
+
+ ags_applicable_reset(AGS_APPLICABLE(preferences->generic_preferences));
+ ags_applicable_reset(AGS_APPLICABLE(preferences->audio_preferences));
+ ags_applicable_reset(AGS_APPLICABLE(preferences->performance_preferences));
+ ags_applicable_reset(AGS_APPLICABLE(preferences->server_preferences));
+}
+
+static void
+ags_preferences_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_preferences_show(GtkWidget *widget)
+{
+}
+
+/**
+ * ags_preferences_new:
+ *
+ * Creates an #AgsPreferences
+ *
+ * Returns: a new #AgsPreferences
+ *
+ * Since: 0.4
+ */
+AgsPreferences*
+ags_preferences_new()
+{
+ AgsPreferences *preferences;
+
+ preferences = (AgsPreferences *) g_object_new(AGS_TYPE_PREFERENCES,
+ NULL);
+
+ return(preferences);
+}
diff --git a/src/ags/X/ags_preferences.h b/src/ags/X/ags_preferences.h
new file mode 100644
index 0000000..15cff11
--- /dev/null
+++ b/src/ags/X/ags_preferences.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PREFERENCES_H__
+#define __AGS_PREFERENCES_H__
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_generic_preferences.h>
+#include <ags/X/ags_audio_preferences.h>
+#include <ags/X/ags_performance_preferences.h>
+#include <ags/X/ags_server_preferences.h>
+
+#define AGS_TYPE_PREFERENCES (ags_preferences_get_type())
+#define AGS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PREFERENCES, AgsPreferences))
+#define AGS_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PREFERENCES, AgsPreferencesClass))
+#define AGS_IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PREFERENCES))
+#define AGS_IS_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PREFERENCES))
+#define AGS_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PREFERENCES, AgsPreferencesClass))
+
+#define AGS_PREFERENCES_DEFAULT_FILENAME "ags_current.xml\0"
+
+typedef struct _AgsPreferences AgsPreferences;
+typedef struct _AgsPreferencesClass AgsPreferencesClass;
+
+typedef enum{
+ AGS_PREFERENCES_SHUTDOWN = 1,
+}AgsPreferencesFlags;
+
+struct _AgsPreferences
+{
+ GtkDialog dialog;
+
+ guint flags;
+
+ GtkWindow *window;
+
+ AgsGenericPreferences *generic_preferences;
+ AgsAudioPreferences *audio_preferences;
+ AgsPerformancePreferences *performance_preferences;
+ AgsServerPreferences *server_preferences;
+};
+
+struct _AgsPreferencesClass
+{
+ GtkDialogClass dialog;
+};
+
+GType ags_preferences_get_type(void);
+
+AgsPreferences* ags_preferences_new();
+
+#endif /*__AGS_PREFERENCES_H__*/
diff --git a/src/ags/X/ags_preferences_callbacks.c b/src/ags/X/ags_preferences_callbacks.c
new file mode 100644
index 0000000..d87dc8b
--- /dev/null
+++ b/src/ags/X/ags_preferences_callbacks.c
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_preferences_callbacks.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/X/ags_window.h>
+
+void
+ags_preferences_response_callback(GtkDialog *dialog, gint response_id, gpointer user_data)
+{
+ gboolean apply;
+
+ apply = FALSE;
+
+ switch(response_id){
+ case GTK_RESPONSE_APPLY:
+ {
+ apply = TRUE;
+ }
+ case GTK_RESPONSE_OK:
+ {
+ ags_applicable_apply(AGS_APPLICABLE(dialog));
+
+ if(apply){
+ ags_applicable_reset(AGS_APPLICABLE(dialog));
+
+ break;
+ }
+ }
+ case GTK_RESPONSE_CANCEL:
+ {
+ AGS_PREFERENCES(dialog)->flags |= AGS_PREFERENCES_SHUTDOWN;
+ AGS_WINDOW(AGS_PREFERENCES(dialog)->window)->preferences = NULL;
+ gtk_widget_destroy(GTK_WIDGET(dialog));
+ }
+ }
+}
diff --git a/src/ags/X/ags_preferences_callbacks.h b/src/ags/X/ags_preferences_callbacks.h
new file mode 100644
index 0000000..9f4bf71
--- /dev/null
+++ b/src/ags/X/ags_preferences_callbacks.h
@@ -0,0 +1,29 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PREFERENCES_CALLBACKS_H__
+#define __AGS_PREFERENCES_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_preferences.h>
+
+void ags_preferences_response_callback(GtkDialog *dialog, gint response_id, gpointer user_data);
+
+#endif /*__AGS_PREFERENCES_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_property_collection_editor.c b/src/ags/X/ags_property_collection_editor.c
new file mode 100644
index 0000000..fef61ef
--- /dev/null
+++ b/src/ags/X/ags_property_collection_editor.c
@@ -0,0 +1,247 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_property_collection_editor.h>
+#include <ags/X/ags_property_collection_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_applicable.h>
+
+#include <string.h>
+
+void ags_property_collection_editor_class_init(AgsPropertyCollectionEditorClass *property_collection_editor);
+void ags_property_collection_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_property_collection_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_property_collection_editor_init(AgsPropertyCollectionEditor *property_collection_editor);
+void ags_property_collection_editor_connect(AgsConnectable *connectable);
+void ags_property_collection_editor_disconnect(AgsConnectable *connectable);
+void ags_property_collection_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_property_collection_editor_apply(AgsApplicable *applicable);
+void ags_property_collection_editor_reset(AgsApplicable *applicable);
+void ags_property_collection_editor_destroy(GtkObject *object);
+void ags_property_collection_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_property_collection_editor
+ * @short_description: Edit propertys in bulk mode.
+ * @title: AgsPropertyCollectionEditor
+ * @section_id:
+ * @include: ags/X/ags_property_collection_editor.h
+ *
+ * #AgsPropertyCollectionEditor is a composite widget to modify propertys in bulk mode. A property collection
+ * editor should be packed by a #AgsMachineEditor.
+ */
+
+AgsConnectableInterface *ags_property_collection_editor_parent_connectable_interface;
+
+GType
+ags_property_collection_editor_get_type(void)
+{
+ static GType ags_type_property_collection_editor = 0;
+
+ if(!ags_type_property_collection_editor){
+ static const GTypeInfo ags_property_collection_editor_info = {
+ sizeof (AgsPropertyCollectionEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_property_collection_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPropertyCollectionEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_property_collection_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_property_collection_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_property_collection_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_property_collection_editor = g_type_register_static(AGS_TYPE_PROPERTY_EDITOR,
+ "AgsPropertyCollectionEditor\0", &ags_property_collection_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_property_collection_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_property_collection_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_property_collection_editor);
+}
+
+void
+ags_property_collection_editor_class_init(AgsPropertyCollectionEditorClass *property_collection_editor)
+{
+}
+
+void
+ags_property_collection_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_property_collection_editor_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_property_collection_editor_connect;
+ connectable->disconnect = ags_property_collection_editor_disconnect;
+}
+
+void
+ags_property_collection_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_property_collection_editor_set_update;
+ applicable->apply = ags_property_collection_editor_apply;
+ applicable->reset = ags_property_collection_editor_reset;
+}
+
+void
+ags_property_collection_editor_init(AgsPropertyCollectionEditor *property_collection_editor)
+{
+ GtkAlignment *alignment;
+
+ property_collection_editor->child = (GtkVBox *) gtk_vbox_new(FALSE, 16);
+ gtk_box_pack_start(GTK_BOX(property_collection_editor),
+ GTK_WIDGET(property_collection_editor->child),
+ TRUE, TRUE,
+ 0);
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.0,
+ 0.0, 0.0);
+ gtk_box_pack_start(GTK_BOX(property_collection_editor),
+ GTK_WIDGET(alignment),
+ FALSE, FALSE,
+ 0);
+
+ property_collection_editor->add_collection = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_ADD);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(property_collection_editor->add_collection));
+}
+
+void
+ags_property_collection_editor_connect(AgsConnectable *connectable)
+{
+ AgsPropertyCollectionEditor *property_collection_editor;
+ GList *pad_list;
+
+ ags_property_collection_editor_parent_connectable_interface->connect(connectable);
+
+ /* AgsPropertyCollectionEditor */
+ property_collection_editor = AGS_PROPERTY_COLLECTION_EDITOR(connectable);
+
+ g_signal_connect(G_OBJECT(property_collection_editor->add_collection), "clicked\0",
+ G_CALLBACK(ags_property_collection_editor_add_collection_callback), property_collection_editor);
+}
+
+void
+ags_property_collection_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_property_collection_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsPropertyCollectionEditor *property_collection_editor;
+ GList *list;
+
+ property_collection_editor = AGS_PROPERTY_COLLECTION_EDITOR(applicable);
+
+ /* empty */
+}
+
+void
+ags_property_collection_editor_apply(AgsApplicable *applicable)
+{
+ AgsPropertyCollectionEditor *property_collection_editor;
+ GtkWidget *child;
+ GList *list, *list_start;
+
+ property_collection_editor = AGS_PROPERTY_COLLECTION_EDITOR(applicable);
+
+ if((AGS_PROPERTY_EDITOR_ENABLED & (AGS_PROPERTY_EDITOR(property_collection_editor)->flags)) == 0)
+ return;
+
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(property_collection_editor->child));
+
+ while(list != NULL){
+ child = GTK_WIDGET(g_object_get_data(G_OBJECT(list->data), "AgsChild\0"));
+ ags_applicable_apply(AGS_APPLICABLE(child));
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+}
+
+void
+ags_property_collection_editor_reset(AgsApplicable *applicable)
+{
+ AgsPropertyCollectionEditor *property_collection_editor;
+
+ property_collection_editor = AGS_PROPERTY_COLLECTION_EDITOR(applicable);
+
+ /* empty */
+}
+
+void
+ags_property_collection_editor_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_property_collection_editor_show(GtkWidget *widget)
+{
+ /* empty */
+}
+
+/**
+ * ags_property_collection_editor_new:
+ * @channel_type: either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ *
+ * Creates an #AgsPropertyCollectionEditor
+ *
+ * Returns: a new #AgsPropertyCollectionEditor
+ *
+ * Since: 0.3
+ */
+AgsPropertyCollectionEditor*
+ags_property_collection_editor_new(GType child_type,
+ guint child_parameter_count,
+ GParameter *child_parameter)
+{
+ AgsPropertyCollectionEditor *property_collection_editor;
+
+ property_collection_editor = (AgsPropertyCollectionEditor *) g_object_new(AGS_TYPE_PROPERTY_COLLECTION_EDITOR,
+ NULL);
+
+ property_collection_editor->child_type = child_type;
+ property_collection_editor->child_parameter_count = child_parameter_count;
+ property_collection_editor->child_parameter = child_parameter;
+
+ return(property_collection_editor);
+}
diff --git a/src/ags/X/ags_property_collection_editor.h b/src/ags/X/ags_property_collection_editor.h
new file mode 100644
index 0000000..724fdaf
--- /dev/null
+++ b/src/ags/X/ags_property_collection_editor.h
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PROPERTY_COLLECTION_EDITOR_H__
+#define __AGS_PROPERTY_COLLECTION_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_property_editor.h>
+
+#include <stdarg.h>
+
+#define AGS_TYPE_PROPERTY_COLLECTION_EDITOR (ags_property_collection_editor_get_type())
+#define AGS_PROPERTY_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PROPERTY_COLLECTION_EDITOR, AgsPropertyCollectionEditor))
+#define AGS_PROPERTY_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PROPERTY_COLLECTION_EDITOR, AgsPropertyCollectionEditorClass))
+#define AGS_IS_PROPERTY_COLLECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PROPERTY_COLLECTION_EDITOR))
+#define AGS_IS_PROPERTY_COLLECTION_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PROPERTY_COLLECTION_EDITOR))
+#define AGS_PROPERTY_COLLECTION_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PROPERTY_COLLECTION_EDITOR, AgsPropertyCollectionEditorClass))
+
+typedef struct _AgsPropertyCollectionEditor AgsPropertyCollectionEditor;
+typedef struct _AgsPropertyCollectionEditorClass AgsPropertyCollectionEditorClass;
+
+struct _AgsPropertyCollectionEditor
+{
+ AgsPropertyEditor property_editor;
+
+ GType child_type;
+ guint child_parameter_count;
+ GParameter *child_parameter;
+
+ GtkVBox *child;
+
+ GtkButton *add_collection;
+};
+
+struct _AgsPropertyCollectionEditorClass
+{
+ AgsPropertyEditorClass property_editor;
+};
+
+GType ags_property_collection_editor_get_type();
+
+AgsPropertyCollectionEditor* ags_property_collection_editor_new(GType child_type,
+ guint child_parameter_count,
+ GParameter *child_parameter);
+
+#endif /*__AGS_PROPERTY_COLLECTION_EDITOR_H__*/
+
diff --git a/src/ags/X/ags_property_collection_editor_callbacks.c b/src/ags/X/ags_property_collection_editor_callbacks.c
new file mode 100644
index 0000000..c9eceef
--- /dev/null
+++ b/src/ags/X/ags_property_collection_editor_callbacks.c
@@ -0,0 +1,76 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_property_collection_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void
+ags_property_collection_editor_add_collection_callback(GtkButton *button,
+ AgsPropertyCollectionEditor *property_collection_editor)
+{
+ GtkTable *table;
+ GtkWidget *collection;
+ GtkButton *remove_collection;
+ GtkAlignment *alignment;
+
+ table = (GtkTable *) gtk_table_new(2, 2, FALSE);
+ gtk_box_pack_start(GTK_BOX(property_collection_editor->child),
+ GTK_WIDGET(table),
+ FALSE, FALSE,
+ 0);
+
+ collection = (GtkWidget *) g_object_newv(property_collection_editor->child_type,
+ property_collection_editor->child_parameter_count,
+ property_collection_editor->child_parameter);
+ g_object_set_data(G_OBJECT(table), "AgsChild\0", collection);
+ gtk_table_attach(table,
+ GTK_WIDGET(collection),
+ 0, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ alignment = (GtkAlignment *) gtk_alignment_new(1.0, 0.0,
+ 0.0, 0.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, 0,
+ 0, 0);
+
+ remove_collection = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_REMOVE);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(remove_collection));
+ g_signal_connect_after(G_OBJECT(remove_collection), "clicked\0",
+ G_CALLBACK(ags_property_collection_editor_remove_collection_callback), table);
+
+ gtk_table_set_row_spacing(table, 0, 8);
+
+ ags_connectable_connect(AGS_CONNECTABLE(collection));
+
+ gtk_widget_show_all(GTK_WIDGET(table));
+}
+
+void
+ags_property_collection_editor_remove_collection_callback(GtkButton *button,
+ GtkTable *table)
+{
+ gtk_widget_destroy(GTK_WIDGET(table));
+}
diff --git a/src/ags/X/ags_property_collection_editor_callbacks.h b/src/ags/X/ags_property_collection_editor_callbacks.h
new file mode 100644
index 0000000..42aaa1b
--- /dev/null
+++ b/src/ags/X/ags_property_collection_editor_callbacks.h
@@ -0,0 +1,34 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PROPERTY_COLLECTION_EDITOR_CALLBACKS__
+#define __AGS_PROPERTY_COLLECTION_EDITOR_CALLBACKS__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_property_collection_editor.h>
+
+void ags_property_collection_editor_add_collection_callback(GtkButton *button,
+ AgsPropertyCollectionEditor *property_collection_editor);
+
+void ags_property_collection_editor_remove_collection_callback(GtkButton *button,
+ GtkTable *table);
+
+#endif /*__AGS_PROPERTY_COLLECTION_EDITOR_CALLBACKS__*/
diff --git a/src/ags/X/ags_property_editor.c b/src/ags/X/ags_property_editor.c
new file mode 100644
index 0000000..a869988
--- /dev/null
+++ b/src/ags/X/ags_property_editor.c
@@ -0,0 +1,156 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_property_editor.h>
+#include <ags/X/ags_property_editor_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_property_editor_class_init(AgsPropertyEditorClass *property_editor);
+void ags_property_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_property_editor_init(AgsPropertyEditor *property_editor);
+void ags_property_editor_connect(AgsConnectable *connectable);
+void ags_property_editor_disconnect(AgsConnectable *connectable);
+void ags_property_editor_destroy(GtkObject *object);
+void ags_property_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_property_editor
+ * @short_description: Property of audio, channels or pads in bulk mode.
+ * @title: AgsPropertyEditor
+ * @section_id:
+ * @include: ags/X/ags_property_editor.h
+ *
+ * #AgsPropertyEditor is a composite widget to property. A property editor
+ * should be packed by a #AgsPropertyCollectionEditor.
+ */
+
+GType
+ags_property_editor_get_type(void)
+{
+ static GType ags_type_property_editor = 0;
+
+ if(!ags_type_property_editor){
+ static const GTypeInfo ags_property_editor_info = {
+ sizeof (AgsPropertyEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_property_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPropertyEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_property_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_property_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_property_editor = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsPropertyEditor\0", &ags_property_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_property_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_property_editor);
+}
+
+void
+ags_property_editor_class_init(AgsPropertyEditorClass *property_editor)
+{
+}
+
+void
+ags_property_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_property_editor_connect;
+ connectable->disconnect = ags_property_editor_disconnect;
+}
+
+void
+ags_property_editor_init(AgsPropertyEditor *property_editor)
+{
+ property_editor->flags = 0;
+
+ property_editor->enabled = (GtkCheckButton *) gtk_check_button_new_with_label("enabled\0");
+ gtk_box_pack_start(GTK_BOX(property_editor),
+ GTK_WIDGET(property_editor->enabled),
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_property_editor_connect(AgsConnectable *connectable)
+{
+ AgsPropertyEditor *property_editor;
+ GList *pad_list;
+
+ /* AgsPropertyEditor */
+ property_editor = AGS_PROPERTY_EDITOR(connectable);
+
+ g_signal_connect_after(G_OBJECT(property_editor->enabled), "toggled\0",
+ G_CALLBACK(ags_property_editor_enable_callback), property_editor);
+}
+
+void
+ags_property_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_property_editor_destroy(GtkObject *object)
+{
+ AgsPropertyEditor *property_editor;
+
+ property_editor = (AgsPropertyEditor *) object;
+}
+
+void
+ags_property_editor_show(GtkWidget *widget)
+{
+ AgsPropertyEditor *property_editor = (AgsPropertyEditor *) widget;
+}
+
+/**
+ * ags_property_editor_new:
+ *
+ * Creates an #AgsPropertyEditor
+ *
+ * Returns: a new #AgsPropertyEditor
+ *
+ * Since: 0.3
+ */
+AgsPropertyEditor*
+ags_property_editor_new()
+{
+ AgsPropertyEditor *property_editor;
+
+ property_editor = (AgsPropertyEditor *) g_object_new(AGS_TYPE_PROPERTY_EDITOR,
+ NULL);
+
+ return(property_editor);
+}
diff --git a/src/ags/X/ags_property_editor.h b/src/ags/X/ags_property_editor.h
new file mode 100644
index 0000000..3e9a408
--- /dev/null
+++ b/src/ags/X/ags_property_editor.h
@@ -0,0 +1,43 @@
+#ifndef __AGS_PROPERTY_EDITOR_H__
+#define __AGS_PROPERTY_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_PROPERTY_EDITOR (ags_property_editor_get_type())
+#define AGS_PROPERTY_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PROPERTY_EDITOR, AgsPropertyEditor))
+#define AGS_PROPERTY_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PROPERTY_EDITOR, AgsPropertyEditorClass))
+#define AGS_IS_PROPERTY_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PROPERTY_EDITOR))
+#define AGS_IS_PROPERTY_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PROPERTY_EDITOR))
+#define AGS_PROPERTY_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PROPERTY_EDITOR, AgsPropertyEditorClass))
+
+typedef struct _AgsPropertyEditor AgsPropertyEditor;
+typedef struct _AgsPropertyEditorClass AgsPropertyEditorClass;
+
+typedef enum{
+ AGS_PROPERTY_EDITOR_ENABLED = 1,
+}AgsPropertyEditorFlags;
+
+struct _AgsPropertyEditor
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ GtkCheckButton *enabled;
+};
+
+struct _AgsPropertyEditorClass
+{
+ GtkVBoxClass vbox;
+
+ void (*apply)(AgsPropertyEditor *property_editor);
+};
+
+GType ags_property_editor_get_type();
+
+AgsPropertyEditor* ags_property_editor_new();
+
+#endif /*__AGS_PROPERTY_EDITOR_H__*/
+
diff --git a/src/ags/X/ags_property_editor_callbacks.c b/src/ags/X/ags_property_editor_callbacks.c
new file mode 100644
index 0000000..a749805
--- /dev/null
+++ b/src/ags/X/ags_property_editor_callbacks.c
@@ -0,0 +1,12 @@
+#include <ags/X/ags_property_editor_callbacks.h>
+
+void
+ags_property_editor_enable_callback(GtkToggleButton *toggle,
+ AgsPropertyEditor *property_editor)
+{
+ if(gtk_toggle_button_get_active(toggle)){
+ property_editor->flags |= AGS_PROPERTY_EDITOR_ENABLED;
+ }else{
+ property_editor->flags &= (~AGS_PROPERTY_EDITOR_ENABLED);
+ }
+}
diff --git a/src/ags/X/ags_property_editor_callbacks.h b/src/ags/X/ags_property_editor_callbacks.h
new file mode 100644
index 0000000..2637ff0
--- /dev/null
+++ b/src/ags/X/ags_property_editor_callbacks.h
@@ -0,0 +1,13 @@
+#ifndef __AGS_PROPERTY_EDITOR_CALLBACKS_H__
+#define __AGS_PROPERTY_EDITOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_property_editor.h>
+
+void ags_property_editor_enable_callback(GtkToggleButton *toggle,
+ AgsPropertyEditor *property_editor);
+
+#endif /*__AGS_PROPERTY_EDITOR_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_property_listing_editor.c b/src/ags/X/ags_property_listing_editor.c
new file mode 100644
index 0000000..821a254
--- /dev/null
+++ b/src/ags/X/ags_property_listing_editor.c
@@ -0,0 +1,114 @@
+#include <ags/X/ags_property_listing_editor.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_property_listing_editor_class_init(AgsPropertyListingEditorClass *property_listing_editor);
+void ags_property_listing_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_property_listing_editor_init(AgsPropertyListingEditor *property_listing_editor);
+void ags_property_listing_editor_connect(AgsConnectable *connectable);
+void ags_property_listing_editor_disconnect(AgsConnectable *connectable);
+void ags_property_listing_editor_destroy(GtkObject *object);
+void ags_property_listing_editor_show(GtkWidget *widget);
+
+static AgsConnectableInterface* ags_property_listing_editor_parent_connectable_interface;
+
+GType
+ags_property_listing_editor_get_type(void)
+{
+ static GType ags_type_property_listing_editor = 0;
+
+ if(!ags_type_property_listing_editor){
+ static const GTypeInfo ags_property_listing_editor_info = {
+ sizeof (AgsPropertyListingEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_property_listing_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPropertyListingEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_property_listing_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_property_listing_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_property_listing_editor = g_type_register_static(AGS_TYPE_PROPERTY_EDITOR,
+ "AgsPropertyListingEditor\0",
+ &ags_property_listing_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_property_listing_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_property_listing_editor);
+}
+
+void
+ags_property_listing_editor_class_init(AgsPropertyListingEditorClass *property_listing_editor)
+{
+}
+
+void
+ags_property_listing_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_property_listing_editor_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_property_listing_editor_connect;
+ connectable->disconnect = ags_property_listing_editor_disconnect;
+}
+
+void
+ags_property_listing_editor_init(AgsPropertyListingEditor *property_listing_editor)
+{
+}
+
+void
+ags_property_listing_editor_connect(AgsConnectable *connectable)
+{
+ AgsPropertyListingEditor *property_listing_editor;
+ GList *pad_list;
+
+ ags_property_listing_editor_parent_connectable_interface->connect(connectable);
+
+ /* AgsPropertyListingEditor */
+ property_listing_editor = AGS_PROPERTY_LISTING_EDITOR(connectable);
+}
+
+void
+ags_property_listing_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_property_listing_editor_destroy(GtkObject *object)
+{
+ AgsPropertyListingEditor *property_listing_editor;
+
+ property_listing_editor = (AgsPropertyListingEditor *) object;
+}
+
+void
+ags_property_listing_editor_show(GtkWidget *widget)
+{
+ AgsPropertyListingEditor *property_listing_editor = (AgsPropertyListingEditor *) widget;
+}
+
+AgsPropertyListingEditor*
+ags_property_listing_editor_new()
+{
+ AgsPropertyListingEditor *property_listing_editor;
+
+ property_listing_editor = (AgsPropertyListingEditor *) g_object_new(AGS_TYPE_PROPERTY_LISTING_EDITOR,
+ NULL);
+
+ return(property_listing_editor);
+}
diff --git a/src/ags/X/ags_property_listing_editor.h b/src/ags/X/ags_property_listing_editor.h
new file mode 100644
index 0000000..bd261d5
--- /dev/null
+++ b/src/ags/X/ags_property_listing_editor.h
@@ -0,0 +1,36 @@
+#ifndef __AGS_PROPERTY_LISTING_EDITOR_H__
+#define __AGS_PROPERTY_LISTING_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_property_editor.h>
+
+#define AGS_TYPE_PROPERTY_LISTING_EDITOR (ags_property_listing_editor_get_type())
+#define AGS_PROPERTY_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PROPERTY_LISTING_EDITOR, AgsPropertyListingEditor))
+#define AGS_PROPERTY_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PROPERTY_LISTING_EDITOR, AgsPropertyListingEditorClass))
+#define AGS_IS_PROPERTY_LISTING_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PROPERTY_LISTING_EDITOR))
+#define AGS_IS_PROPERTY_LISTING_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PROPERTY_LISTING_EDITOR))
+#define AGS_PROPERTY_LISTING_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PROPERTY_LISTING_EDITOR, AgsPropertyListingEditorClass))
+
+typedef struct _AgsPropertyListingEditor AgsPropertyListingEditor;
+typedef struct _AgsPropertyListingEditorClass AgsPropertyListingEditorClass;
+
+struct _AgsPropertyListingEditor
+{
+ AgsPropertyEditor property_editor;
+
+ GtkVBox *child;
+};
+
+struct _AgsPropertyListingEditorClass
+{
+ AgsPropertyEditorClass property_editor;
+};
+
+GType ags_property_listing_editor_get_type();
+
+AgsPropertyListingEditor* ags_property_listing_editor_new();
+
+#endif /*__AGS_PROPERTY_LISTING_EDITOR_H__*/
diff --git a/src/ags/X/ags_resize_editor.c b/src/ags/X/ags_resize_editor.c
new file mode 100644
index 0000000..bef8c43
--- /dev/null
+++ b/src/ags/X/ags_resize_editor.c
@@ -0,0 +1,339 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_resize_editor.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/audio/task/ags_resize_audio.h>
+
+#include <ags/X/ags_machine_editor.h>
+
+void ags_resize_editor_class_init(AgsResizeEditorClass *resize_editor);
+void ags_resize_editor_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_resize_editor_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_resize_editor_init(AgsResizeEditor *resize_editor);
+void ags_resize_editor_connect(AgsConnectable *connectable);
+void ags_resize_editor_disconnect(AgsConnectable *connectable);
+void ags_resize_editor_set_update(AgsApplicable *applicable, gboolean update);
+void ags_resize_editor_apply(AgsApplicable *applicable);
+void ags_resize_editor_reset(AgsApplicable *applicable);
+void ags_resize_editor_destroy(GtkObject *object);
+void ags_resize_editor_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_resize_editor
+ * @short_description: Resize audio channels or pads.
+ * @title: AgsResizeEditor
+ * @section_id:
+ * @include: ags/X/ags_resize_editor.h
+ *
+ * #AgsResizeEditor is a composite widget to resize. A resize editor
+ * should be packed by a #AgsMachineEditor.
+ */
+
+AgsConnectableInterface *ags_resize_editor_parent_connectable_interface;
+
+GType
+ags_resize_editor_get_type(void)
+{
+ static GType ags_type_resize_editor = 0;
+
+ if(!ags_type_resize_editor){
+ static const GTypeInfo ags_resize_editor_info = {
+ sizeof (AgsResizeEditorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_resize_editor_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsResizeEditor),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_resize_editor_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_resize_editor_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_resize_editor_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_resize_editor = g_type_register_static(AGS_TYPE_PROPERTY_EDITOR,
+ "AgsResizeEditor\0",
+ &ags_resize_editor_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_resize_editor,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_resize_editor,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_resize_editor);
+}
+
+void
+ags_resize_editor_class_init(AgsResizeEditorClass *resize_editor)
+{
+}
+
+void
+ags_resize_editor_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_resize_editor_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_resize_editor_connect;
+ connectable->disconnect = ags_resize_editor_disconnect;
+}
+
+void
+ags_resize_editor_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_resize_editor_set_update;
+ applicable->apply = ags_resize_editor_apply;
+ applicable->reset = ags_resize_editor_reset;
+}
+
+void
+ags_resize_editor_init(AgsResizeEditor *resize_editor)
+{
+ GtkTable *table;
+ GtkAlignment *alignment;
+ GtkLabel *label;
+
+ table = (GtkTable *) gtk_table_new(3, 2, FALSE);
+ gtk_box_pack_start(GTK_BOX(resize_editor),
+ GTK_WIDGET(table),
+ FALSE, FALSE,
+ 0);
+
+ /* audio channels */
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(alignment),
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("audio channels\0");
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(label));
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ resize_editor->audio_channels = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 1024.0, 1.0);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(resize_editor->audio_channels));
+
+ /* output pads */
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(alignment),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("outputs\0");
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(label));
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ resize_editor->output_pads = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 1024.0, 1.0);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(resize_editor->output_pads));
+
+ /* input pads */
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(alignment),
+ 0, 1,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) gtk_label_new("inputs\0");
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(label));
+
+ alignment = (GtkAlignment *) gtk_alignment_new(0.0, 0.5,
+ 0.0, 0.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(alignment),
+ 1, 2,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ resize_editor->input_pads = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 1024.0, 1.0);
+ gtk_container_add(GTK_CONTAINER(alignment),
+ GTK_WIDGET(resize_editor->input_pads));
+}
+
+void
+ags_resize_editor_connect(AgsConnectable *connectable)
+{
+ AgsResizeEditor *resize_editor;
+
+ ags_resize_editor_parent_connectable_interface->connect(connectable);
+
+ /* AgsResizeEditor */
+ resize_editor = AGS_RESIZE_EDITOR(connectable);
+}
+
+void
+ags_resize_editor_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_resize_editor_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsResizeEditor *resize_editor;
+
+ resize_editor = AGS_RESIZE_EDITOR(applicable);
+}
+
+void
+ags_resize_editor_apply(AgsApplicable *applicable)
+{
+ AgsMachineEditor *machine_editor;
+ AgsResizeEditor *resize_editor;
+ AgsAudio *audio;
+ AgsResizeAudio *resize_audio;
+
+ resize_editor = AGS_RESIZE_EDITOR(applicable);
+
+ if((AGS_PROPERTY_EDITOR_ENABLED & (AGS_PROPERTY_EDITOR(resize_editor)->flags)) == 0)
+ return;
+
+ machine_editor = AGS_MACHINE_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(resize_editor),
+ AGS_TYPE_MACHINE_EDITOR));
+
+ audio = machine_editor->machine->audio;
+
+ /* create task */
+ resize_audio = ags_resize_audio_new(audio,
+ (guint) gtk_spin_button_get_value_as_int(resize_editor->output_pads),
+ (guint) gtk_spin_button_get_value_as_int(resize_editor->input_pads),
+ (guint) gtk_spin_button_get_value_as_int(resize_editor->audio_channels));
+
+ /* append AgsResizeAudio */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(audio->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(resize_audio));
+}
+
+void
+ags_resize_editor_reset(AgsApplicable *applicable)
+{
+ AgsMachineEditor *machine_editor;
+ AgsResizeEditor *resize_editor;
+ AgsAudio *audio;
+
+ resize_editor = AGS_RESIZE_EDITOR(applicable);
+
+ machine_editor = AGS_MACHINE_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(resize_editor),
+ AGS_TYPE_MACHINE_EDITOR));
+
+ audio = machine_editor->machine->audio;
+
+ gtk_spin_button_set_value(resize_editor->audio_channels,
+ audio->audio_channels);
+
+ gtk_spin_button_set_value(resize_editor->input_pads,
+ audio->input_pads);
+
+ gtk_spin_button_set_value(resize_editor->output_pads,
+ audio->output_pads);
+}
+
+void
+ags_resize_editor_destroy(GtkObject *object)
+{
+ AgsResizeEditor *resize_editor;
+
+ resize_editor = (AgsResizeEditor *) object;
+}
+
+void
+ags_resize_editor_show(GtkWidget *widget)
+{
+ AgsResizeEditor *resize_editor = (AgsResizeEditor *) widget;
+}
+
+/**
+ * ags_resize_editor_new:
+ *
+ * Creates an #AgsResizeEditor
+ *
+ * Returns: a new #AgsResizeEditor
+ *
+ * Since: 0.3
+ */
+AgsResizeEditor*
+ags_resize_editor_new()
+{
+ AgsResizeEditor *resize_editor;
+
+ resize_editor = (AgsResizeEditor *) g_object_new(AGS_TYPE_RESIZE_EDITOR,
+ NULL);
+
+ return(resize_editor);
+}
diff --git a/src/ags/X/ags_resize_editor.h b/src/ags/X/ags_resize_editor.h
new file mode 100644
index 0000000..6de1462
--- /dev/null
+++ b/src/ags/X/ags_resize_editor.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RESIZE_EDITOR_H__
+#define __AGS_RESIZE_EDITOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_property_editor.h>
+
+#define AGS_TYPE_RESIZE_EDITOR (ags_resize_editor_get_type())
+#define AGS_RESIZE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RESIZE_EDITOR, AgsResizeEditor))
+#define AGS_RESIZE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RESIZE_EDITOR, AgsResizeEditorClass))
+#define AGS_IS_RESIZE_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RESIZE_EDITOR))
+#define AGS_IS_RESIZE_EDITOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RESIZE_EDITOR))
+#define AGS_RESIZE_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RESIZE_EDITOR, AgsResizeEditorClass))
+
+typedef struct _AgsResizeEditor AgsResizeEditor;
+typedef struct _AgsResizeEditorClass AgsResizeEditorClass;
+
+struct _AgsResizeEditor
+{
+ AgsPropertyEditor property_editor;
+
+ GtkSpinButton *audio_channels;
+
+ GtkSpinButton *input_pads;
+ GtkSpinButton *output_pads;
+};
+
+struct _AgsResizeEditorClass
+{
+ AgsPropertyEditorClass property_editor;
+};
+
+AgsResizeEditor* ags_resize_editor_new();
+
+#endif /*__AGS_RESIZE_EDITOR_H__*/
diff --git a/src/ags/X/ags_server_preferences.c b/src/ags/X/ags_server_preferences.c
new file mode 100644
index 0000000..198fdde
--- /dev/null
+++ b/src/ags/X/ags_server_preferences.c
@@ -0,0 +1,319 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_server_preferences.h>
+#include <ags/X/ags_server_preferences_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_applicable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_config.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_preferences.h>
+
+void ags_server_preferences_class_init(AgsServerPreferencesClass *server_preferences);
+void ags_server_preferences_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_server_preferences_applicable_interface_init(AgsApplicableInterface *applicable);
+void ags_server_preferences_init(AgsServerPreferences *server_preferences);
+void ags_server_preferences_connect(AgsConnectable *connectable);
+void ags_server_preferences_disconnect(AgsConnectable *connectable);
+void ags_server_preferences_set_update(AgsApplicable *applicable, gboolean update);
+void ags_server_preferences_apply(AgsApplicable *applicable);
+void ags_server_preferences_reset(AgsApplicable *applicable);
+static void ags_server_preferences_finalize(GObject *gobject);
+void ags_server_preferences_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_server_preferences
+ * @short_description: A composite widget to do server related preferences
+ * @title: AgsServerPreferences
+ * @section_id:
+ * @include: ags/X/ags_server_preferences.h
+ *
+ * #AgsServerPreferences enables you to make server related preferences.
+ */
+
+static gpointer ags_server_preferences_parent_class = NULL;
+
+GType
+ags_server_preferences_get_type(void)
+{
+ static GType ags_type_server_preferences = 0;
+
+ if(!ags_type_server_preferences){
+ static const GTypeInfo ags_server_preferences_info = {
+ sizeof (AgsServerPreferencesClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_server_preferences_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsServerPreferences),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_server_preferences_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_server_preferences_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_applicable_interface_info = {
+ (GInterfaceInitFunc) ags_server_preferences_applicable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_server_preferences = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsServerPreferences\0", &ags_server_preferences_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_server_preferences,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_server_preferences,
+ AGS_TYPE_APPLICABLE,
+ &ags_applicable_interface_info);
+ }
+
+ return(ags_type_server_preferences);
+}
+
+void
+ags_server_preferences_class_init(AgsServerPreferencesClass *server_preferences)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+
+ ags_server_preferences_parent_class = g_type_class_peek_parent(server_preferences);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) server_preferences;
+
+ gobject->finalize = ags_server_preferences_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) server_preferences;
+
+ widget->show = ags_server_preferences_show;
+}
+
+void
+ags_server_preferences_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_server_preferences_connect;
+ connectable->disconnect = ags_server_preferences_disconnect;
+}
+
+void
+ags_server_preferences_applicable_interface_init(AgsApplicableInterface *applicable)
+{
+ applicable->set_update = ags_server_preferences_set_update;
+ applicable->apply = ags_server_preferences_apply;
+ applicable->reset = ags_server_preferences_reset;
+}
+
+void
+ags_server_preferences_init(AgsServerPreferences *server_preferences)
+{
+ GtkTable *table;
+ GtkLabel *label;
+
+ table = (GtkTable *) gtk_table_new(2, 5, FALSE);
+ gtk_box_pack_start(GTK_BOX(server_preferences),
+ GTK_WIDGET(table),
+ FALSE, FALSE,
+ 2);
+
+ server_preferences->start = (GtkCheckButton *) gtk_check_button_new_with_label("start server\0");
+ gtk_table_attach(table,
+ GTK_WIDGET(server_preferences->start),
+ 0, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_set_sensitive(server_preferences->start,
+ FALSE);
+
+ /* address */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "address\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ server_preferences->address = (GtkEntry *) gtk_entry_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(server_preferences->address),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_set_sensitive(server_preferences->address,
+ FALSE);
+
+ /* port */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "port\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ server_preferences->port = (GtkEntry *) gtk_entry_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(server_preferences->port),
+ 1, 2,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_set_sensitive(server_preferences->port,
+ FALSE);
+
+ /* username */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "username\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 3, 4,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ server_preferences->username = (GtkEntry *) gtk_entry_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(server_preferences->username),
+ 1, 2,
+ 3, 4,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_set_sensitive(server_preferences->username,
+ FALSE);
+
+ /* password */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "password\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 4, 5,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ server_preferences->password = (GtkEntry *) gtk_entry_new();
+ gtk_entry_set_visibility(server_preferences->password, FALSE);
+ gtk_table_attach(table,
+ GTK_WIDGET(server_preferences->password),
+ 1, 2,
+ 4, 5,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_set_sensitive(server_preferences->password,
+ FALSE);
+}
+
+void
+ags_server_preferences_connect(AgsConnectable *connectable)
+{
+ AgsServerPreferences *server_preferences;
+
+ server_preferences = AGS_SERVER_PREFERENCES(connectable);
+}
+
+void
+ags_server_preferences_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+
+void
+ags_server_preferences_set_update(AgsApplicable *applicable, gboolean update)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_server_preferences_apply(AgsApplicable *applicable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_server_preferences_reset(AgsApplicable *applicable)
+{
+ //TODO:JK: implement me
+}
+
+static void
+ags_server_preferences_finalize(GObject *gobject)
+{
+}
+
+void
+ags_server_preferences_show(GtkWidget *widget)
+{
+ AgsServerPreferences *server_preferences;
+ pthread_t thread;
+
+ server_preferences = AGS_SERVER_PREFERENCES(widget);
+
+ GTK_WIDGET_CLASS(ags_server_preferences_parent_class)->show(widget);
+}
+
+/**
+ * ags_server_preferences_new:
+ *
+ * Creates an #AgsServerPreferences
+ *
+ * Returns: a new #AgsServerPreferences
+ *
+ * Since: 0.4
+ */
+AgsServerPreferences*
+ags_server_preferences_new()
+{
+ AgsServerPreferences *server_preferences;
+
+ server_preferences = (AgsServerPreferences *) g_object_new(AGS_TYPE_SERVER_PREFERENCES,
+ NULL);
+
+ return(server_preferences);
+}
diff --git a/src/ags/X/ags_server_preferences.h b/src/ags/X/ags_server_preferences.h
new file mode 100644
index 0000000..9a2752c
--- /dev/null
+++ b/src/ags/X/ags_server_preferences.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SERVER_PREFERENCES_H__
+#define __AGS_SERVER_PREFERENCES_H__
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_SERVER_PREFERENCES (ags_server_preferences_get_type())
+#define AGS_SERVER_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERVER_PREFERENCES, AgsServerPreferences))
+#define AGS_SERVER_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SERVER_PREFERENCES, AgsServerPreferencesClass))
+#define AGS_IS_SERVER_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SERVER_PREFERENCES))
+#define AGS_IS_SERVER_PREFERENCES_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SERVER_PREFERENCES))
+#define AGS_SERVER_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SERVER_PREFERENCES, AgsServerPreferencesClass))
+
+typedef struct _AgsServerPreferences AgsServerPreferences;
+typedef struct _AgsServerPreferencesClass AgsServerPreferencesClass;
+
+struct _AgsServerPreferences
+{
+ GtkVBox vbox;
+
+ GtkCheckButton *start;
+
+ GtkEntry *address;
+ GtkEntry *port;
+
+ GtkEntry *username;
+ GtkEntry *password;
+};
+
+struct _AgsServerPreferencesClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_server_preferences_get_type(void);
+
+AgsServerPreferences* ags_server_preferences_new();
+
+#endif /*__AGS_SERVER_PREFERENCES_H__*/
diff --git a/src/ags/X/ags_server_preferences_callbacks.c b/src/ags/X/ags_server_preferences_callbacks.c
new file mode 100644
index 0000000..322a8fa
--- /dev/null
+++ b/src/ags/X/ags_server_preferences_callbacks.c
@@ -0,0 +1,20 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_server_preferences_callbacks.h>
+
diff --git a/src/ags/X/ags_server_preferences_callbacks.h b/src/ags/X/ags_server_preferences_callbacks.h
new file mode 100644
index 0000000..ea4fdd3
--- /dev/null
+++ b/src/ags/X/ags_server_preferences_callbacks.h
@@ -0,0 +1,27 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SERVER_PREFERENCES_CALLBACKS_H__
+#define __AGS_SERVER_PREFERENCES_CALLBACKS_H__
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_server_preferences.h>
+
+
+#endif /*__AGS_SERVER_PREFERENCES_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_window.c b/src/ags/X/ags_window.c
new file mode 100644
index 0000000..ac263c3
--- /dev/null
+++ b/src/ags/X/ags_window.c
@@ -0,0 +1,532 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_window_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/X/machine/ags_panel.h>
+#include <ags/X/machine/ags_mixer.h>
+#include <ags/X/machine/ags_drum.h>
+#include <ags/X/machine/ags_matrix.h>
+#include <ags/X/machine/ags_synth.h>
+#include <ags/X/machine/ags_ffplayer.h>
+
+#include <stdlib.h>
+
+void ags_window_class_init(AgsWindowClass *window);
+void ags_window_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_window_init(AgsWindow *window);
+void ags_window_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_window_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_window_finalize(GObject *gobject);
+void ags_window_connect(AgsConnectable *connectable);
+void ags_window_disconnect(AgsConnectable *connectable);
+void ags_window_show(GtkWidget *widget);
+gboolean ags_window_delete_event(GtkWidget *widget, GdkEventAny *event);
+
+static GList* ags_window_standard_machine_counter();
+
+/**
+ * SECTION:ags_window
+ * @short_description: The window object.
+ * @title: AgsWindow
+ * @section_id:
+ * @include: ags/X/ags_window.h
+ *
+ * #AgsWindow is a composite toplevel widget.
+ */
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+ PROP_MAIN,
+};
+
+static gpointer ags_window_parent_class = NULL;
+
+GType
+ags_window_get_type()
+{
+ static GType ags_type_window = 0;
+
+ if(!ags_type_window){
+ static const GTypeInfo ags_window_info = {
+ sizeof (AgsWindowClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_window_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsWindow),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_window_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_window_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_window = g_type_register_static(GTK_TYPE_WINDOW,
+ "AgsWindow\0", &ags_window_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_window,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_window);
+}
+
+void
+ags_window_class_init(AgsWindowClass *window)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_window_parent_class = g_type_class_peek_parent(window);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) window;
+
+ gobject->set_property = ags_window_set_property;
+ gobject->get_property = ags_window_get_property;
+
+ gobject->finalize = ags_window_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ param_spec = g_param_spec_object("ags-main\0",
+ "assigned ags_main\0",
+ "The AgsMain it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN,
+ param_spec);
+
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) window;
+
+ widget->show = ags_window_show;
+ widget->delete_event = ags_window_delete_event;
+}
+
+void
+ags_window_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_window_connect;
+ connectable->disconnect = ags_window_disconnect;
+}
+
+void
+ags_window_init(AgsWindow *window)
+{
+ GtkVBox *vbox;
+ GtkWidget *scrolled_window;
+ GError *error;
+
+ window->flags = 0;
+
+ error = NULL;
+
+ g_object_set(G_OBJECT(window),
+ "icon\0", gdk_pixbuf_new_from_file("./doc/images/jumper.png\0", &error),
+ NULL);
+
+ window->ags_main = NULL;
+ window->devout = NULL;
+
+ window->name = g_strdup("unnamed\0");
+
+ gtk_window_set_title((GtkWindow *) window, g_strconcat("ags - \0", window->name, NULL));
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add((GtkContainer *) window, (GtkWidget*) vbox);
+
+ window->menu_bar = ags_menu_bar_new();
+ gtk_box_pack_start((GtkBox *) vbox,
+ (GtkWidget *) window->menu_bar,
+ FALSE, FALSE, 0);
+
+ window->paned = (GtkVPaned *) gtk_vpaned_new();
+ gtk_box_pack_start((GtkBox*) vbox, (GtkWidget*) window->paned, TRUE, TRUE, 0);
+
+ scrolled_window = (GtkWidget *) gtk_scrolled_window_new(NULL, NULL);
+ gtk_paned_add1((GtkPaned *) window->paned,
+ scrolled_window);
+
+ window->machines = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_scrolled_window_add_with_viewport((GtkScrolledWindow *) scrolled_window,
+ (GtkWidget *) window->machines);
+ window->editor = ags_editor_new();
+ gtk_paned_add2((GtkPaned *) window->paned,
+ (GtkWidget *) window->editor);
+
+ window->navigation = ags_navigation_new();
+ gtk_box_pack_start((GtkBox *) vbox,
+ (GtkWidget *) window->navigation,
+ FALSE, FALSE, 0);
+
+ window->automation_editor = ags_automation_editor_new(window);
+
+ window->export_window = ags_export_window_new();
+ window->preferences = NULL;
+
+ window->machine_counter = ags_window_standard_machine_counter();
+
+ window->selected = NULL;
+}
+
+void
+ags_window_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsWindow *window;
+
+ window = AGS_WINDOW(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = g_value_get_object(value);
+
+ if(window->devout == devout)
+ return;
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ window->devout = devout;
+
+ g_object_set(G_OBJECT(window->editor),
+ "devout\0", devout,
+ NULL);
+
+ g_object_set(G_OBJECT(window->navigation),
+ "devout\0", devout,
+ NULL);
+
+ g_object_set(G_OBJECT(window->export_window),
+ "devout\0", devout,
+ NULL);
+ }
+ break;
+ case PROP_MAIN:
+ {
+ AgsMain *ags_main;
+
+ ags_main = g_value_get_object(value);
+
+ if(window->ags_main == ags_main)
+ return;
+
+ if(window->ags_main != NULL){
+ g_object_unref(window->ags_main);
+ }
+
+ if(ags_main != NULL){
+ g_object_ref(ags_main);
+ }
+
+ window->ags_main = ags_main;
+
+ g_object_set(G_OBJECT(window->export_window),
+ "ags-main\0", ags_main,
+ NULL);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_window_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsWindow *window;
+
+ window = AGS_WINDOW(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ g_value_set_object(value, window->devout);
+ break;
+ case PROP_MAIN:
+ g_value_set_object(value, window->ags_main);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_window_connect(AgsConnectable *connectable)
+{
+ AgsWindow *window;
+ GList *list, *list_start;
+
+ window = AGS_WINDOW(connectable);
+
+ g_signal_connect(G_OBJECT(window), "delete_event\0",
+ G_CALLBACK(ags_window_delete_event_callback), NULL);
+
+ ags_connectable_connect(AGS_CONNECTABLE(window->menu_bar));
+
+ list_start =
+ list = gtk_container_get_children(window->machines);
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+
+ ags_connectable_connect(AGS_CONNECTABLE(window->editor));
+ ags_connectable_connect(AGS_CONNECTABLE(window->navigation));
+
+ ags_connectable_connect(AGS_CONNECTABLE(window->automation_editor));
+
+ ags_connectable_connect(AGS_CONNECTABLE(window->export_window));
+}
+
+void
+ags_window_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK:
+ /* implement me */
+}
+
+void
+ags_window_finalize(GObject *gobject)
+{
+ AgsWindow *window;
+
+ window = (AgsWindow *) gobject;
+
+ g_object_unref(G_OBJECT(window->devout));
+ g_object_unref(G_OBJECT(window->export_window));
+
+ free(window->name);
+
+ G_OBJECT_CLASS(ags_window_parent_class)->finalize(gobject);
+}
+
+void
+ags_window_show(GtkWidget *widget)
+{
+ AgsWindow *window;
+
+ GTK_WIDGET_CLASS(ags_window_parent_class)->show(widget);
+
+ window = (AgsWindow *) widget;
+
+ gtk_widget_show((GtkWidget *) window->menu_bar);
+}
+
+gboolean
+ags_window_delete_event(GtkWidget *widget, GdkEventAny *event)
+{
+ gtk_widget_destroy(widget);
+
+ GTK_WIDGET_CLASS(ags_window_parent_class)->delete_event(widget, event);
+
+ return(FALSE);
+}
+
+/**
+ * @window: the #AgsWindow
+ * @machine_type: the machine type
+ *
+ * Keep track of count of machines. Well known machines.
+ */
+static GList*
+ags_window_standard_machine_counter()
+{
+ static GList *machine_counter;
+
+ machine_counter = NULL;
+
+ machine_counter = g_list_prepend(machine_counter,
+ ags_machine_counter_alloc(AGS_RECALL_DEFAULT_VERSION, AGS_RECALL_DEFAULT_BUILD_ID,
+ AGS_TYPE_PANEL, 0));
+ machine_counter = g_list_prepend(machine_counter,
+ ags_machine_counter_alloc(AGS_RECALL_DEFAULT_VERSION, AGS_RECALL_DEFAULT_BUILD_ID,
+ AGS_TYPE_MIXER, 0));
+ machine_counter = g_list_prepend(machine_counter,
+ ags_machine_counter_alloc(AGS_RECALL_DEFAULT_VERSION, AGS_RECALL_DEFAULT_BUILD_ID,
+ AGS_TYPE_DRUM, 0));
+ machine_counter = g_list_prepend(machine_counter,
+ ags_machine_counter_alloc(AGS_RECALL_DEFAULT_VERSION, AGS_RECALL_DEFAULT_BUILD_ID,
+ AGS_TYPE_MATRIX, 0));
+ machine_counter = g_list_prepend(machine_counter,
+ ags_machine_counter_alloc(AGS_RECALL_DEFAULT_VERSION, AGS_RECALL_DEFAULT_BUILD_ID,
+ AGS_TYPE_SYNTH, 0));
+ machine_counter = g_list_prepend(machine_counter,
+ ags_machine_counter_alloc(AGS_RECALL_DEFAULT_VERSION, AGS_RECALL_DEFAULT_BUILD_ID,
+ AGS_TYPE_FFPLAYER, 0));
+
+ return(machine_counter);
+}
+
+/**
+ * @window: the #AgsWindow
+ * @machine_type: the machine type
+ *
+ * Keep track of count of machines. Lookup window's counter.
+ */
+AgsMachineCounter*
+ags_window_find_machine_counter(AgsWindow *window,
+ GType machine_type)
+{
+ GList *list;
+
+ list = window->machine_counter;
+
+ while(list != NULL){
+ if(AGS_MACHINE_COUNTER(list->data)->machine_type == machine_type){
+ return(AGS_MACHINE_COUNTER(list->data));
+ }
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * @window: the #AgsWindow
+ * @machine_type: the machine type
+ *
+ * Keep track of count of machines. Increment window's counter.
+ */
+void
+ags_window_increment_machine_counter(AgsWindow *window,
+ GType machine_type)
+{
+ AgsMachineCounter *machine_counter;
+
+ machine_counter = ags_window_find_machine_counter(window,
+ machine_type);
+
+ if(machine_counter != NULL){
+ machine_counter->counter++;
+ }
+}
+
+/**
+ * @window: the #AgsWindow
+ * @machine_type: the machine type
+ *
+ * Keep track of count of machines. Decrement window's counter.
+ */
+void
+ags_window_decrement_machine_counter(AgsWindow *window,
+ GType machine_type)
+{
+ AgsMachineCounter *machine_counter;
+
+ machine_counter = ags_window_find_machine_counter(window,
+ machine_type);
+
+ if(machine_counter != NULL){
+ machine_counter->counter--;
+ }
+}
+
+/**
+ * @version: the machine's version
+ * @build_id: the machine's build id
+ * @machine_type: the machine type
+ * @initial_value: initialize counter
+ *
+ * Keep track of count of machines.
+ */
+AgsMachineCounter*
+ags_machine_counter_alloc(gchar *version, gchar *build_id,
+ GType machine_type, guint initial_value)
+{
+ AgsMachineCounter *machine_counter;
+
+ machine_counter = (AgsMachineCounter *) malloc(sizeof(AgsMachineCounter));
+
+ machine_counter->version = version;
+ machine_counter->build_id = build_id;
+
+ machine_counter->machine_type = machine_type;
+ machine_counter->counter = initial_value;
+
+ return(machine_counter);
+}
+
+/**
+ * ags_window_new:
+ * @ags_main: the application object.
+ *
+ * Creates an #AgsWindow
+ *
+ * Returns: a new #AgsWindow
+ *
+ * Since: 0.3
+ */
+AgsWindow*
+ags_window_new(GObject *ags_main)
+{
+ AgsWindow *window;
+
+ window = (AgsWindow *) g_object_new(AGS_TYPE_WINDOW,
+ "ags-main", ags_main,
+ NULL);
+
+ return(window);
+}
diff --git a/src/ags/X/ags_window.h b/src/ags/X/ags_window.h
new file mode 100644
index 0000000..eb3aa15
--- /dev/null
+++ b/src/ags/X/ags_window.h
@@ -0,0 +1,115 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_WINDOW_H__
+#define __AGS_WINDOW_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/X/ags_automation_editor.h>
+
+#include <ags/X/ags_menu_bar.h>
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_editor.h>
+#include <ags/X/ags_navigation.h>
+#include <ags/X/ags_export_window.h>
+#include <ags/X/ags_preferences.h>
+
+#define AGS_TYPE_WINDOW (ags_window_get_type())
+#define AGS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_WINDOW, AgsWindow))
+#define AGS_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_WINDOW, AgsWindowClass))
+#define AGS_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_WINDOW))
+#define AGS_IS_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_WINDOW))
+#define AGS_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_WINDOW, AgsWindowClass))
+
+#define AGS_MACHINE_COUNTER(ptr) ((AgsMachineCounter *)(ptr))
+
+typedef struct _AgsWindow AgsWindow;
+typedef struct _AgsWindowClass AgsWindowClass;
+typedef struct _AgsMachineCounter AgsMachineCounter;
+
+typedef enum{
+ AGS_WINDOW_READY = 1,
+ AGS_WINDOW_LOADING = 1 << 1,
+ AGS_WINDOW_SAVING = 1 << 2,
+ AGS_WINDOW_TERMINATING = 1 << 3,
+}AgsWindowFlags;
+
+struct _AgsWindow
+{
+ GtkWindow window;
+
+ guint flags;
+
+ GObject *ags_main;
+
+ AgsDevout *devout;
+
+ char *name;
+
+ AgsMenuBar *menu_bar;
+
+ GtkVPaned *paned;
+
+ GtkVBox *machines;
+ GList *machine_counter;
+ AgsMachine *selected;
+
+ AgsEditor *editor;
+ AgsNavigation *navigation;
+
+ AgsAutomationEditor *automation_editor;
+
+ AgsExportWindow *export_window;
+ AgsPreferences *preferences;
+};
+
+struct _AgsWindowClass
+{
+ GtkWindowClass window;
+};
+
+struct _AgsMachineCounter
+{
+ gchar *version;
+ gchar *build_id;
+
+ GType machine_type;
+ guint counter;
+};
+
+GType ags_window_get_type(void);
+
+AgsMachineCounter* ags_window_find_machine_counter(AgsWindow *window,
+ GType machine_type);
+
+void ags_window_increment_machine_counter(AgsWindow *window,
+ GType machine_type);
+void ags_window_decrement_machine_counter(AgsWindow *window,
+ GType machine_type);
+
+AgsMachineCounter* ags_machine_counter_alloc(gchar *version, gchar *build_id,
+ GType machine_type, guint initial_value);
+
+AgsWindow* ags_window_new(GObject *ags_main);
+
+#endif /*__AGS_WINDOW_H__*/
diff --git a/src/ags/X/ags_window_callbacks.c b/src/ags/X/ags_window_callbacks.c
new file mode 100644
index 0000000..8d78f9b
--- /dev/null
+++ b/src/ags/X/ags_window_callbacks.c
@@ -0,0 +1,77 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/ags_window_callbacks.h>
+
+#include <ags/file/ags_file.h>
+
+#include <ags/main.h>
+
+#include <ags/audio/task/ags_save_file.h>
+
+gboolean
+ags_window_delete_event_callback(GtkWidget *widget, gpointer data)
+{
+ AgsWindow *window;
+ GtkDialog *dialog;
+ GtkWidget *cancel_button;
+ gint response;
+
+ window = AGS_WINDOW(widget);
+
+ /* ask the user if he wants save to a file */
+ dialog = (GtkDialog *) gtk_message_dialog_new(GTK_WINDOW(window),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_QUESTION,
+ GTK_BUTTONS_YES_NO,
+ "Do you want to save '%s'?\0", window->name);
+ cancel_button = gtk_dialog_add_button(dialog,
+ GTK_STOCK_CANCEL,
+ GTK_RESPONSE_CANCEL);
+ gtk_widget_grab_focus(cancel_button);
+
+ response = gtk_dialog_run(dialog);
+
+ if(response == GTK_RESPONSE_YES){
+ AgsFile *file;
+ AgsSaveFile *save_file;
+ char *filename;
+
+ filename = window->name;
+
+ file = (AgsFile *) g_object_new(AGS_TYPE_FILE,
+ "main\0", window->ags_main,
+ "filename\0", g_strdup(filename),
+ NULL);
+
+ save_file = ags_save_file_new(file);
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(save_file));
+
+ g_object_unref(G_OBJECT(file));
+ }
+
+ if(response != GTK_RESPONSE_CANCEL){
+ ags_main_quit(AGS_MAIN(window->ags_main));
+ }else{
+ gtk_widget_destroy(GTK_WIDGET(dialog));
+ }
+
+ return(TRUE);
+}
+
diff --git a/src/ags/X/ags_window_callbacks.h b/src/ags/X/ags_window_callbacks.h
new file mode 100644
index 0000000..e9832ea
--- /dev/null
+++ b/src/ags/X/ags_window_callbacks.h
@@ -0,0 +1,29 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_WINDOW_CALLBACKS_H__
+#define __AGS_WINDOW_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_window.h>
+
+gboolean ags_window_delete_event_callback(GtkWidget *widget, gpointer data);
+
+#endif /*__AGS_WINDOW_CALLBACKS_H__*/
diff --git a/src/ags/X/ags_xorg_application_context.c b/src/ags/X/ags_xorg_application_context.c
new file mode 100644
index 0000000..d663ad8
--- /dev/null
+++ b/src/ags/X/ags_xorg_application_context.c
@@ -0,0 +1,206 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/xorg/ags_xorg_loop.h>
+#include <ags/xorg/ags_gui_xorg.h>
+#include <ags/xorg/ags_autosave_xorg.h>
+#include <ags/xorg/ags_single_xorg.h>
+
+void ags_xorg_application_context_class_init(AgsXorgApplicationContextClass *xorg_application_context);
+void ags_xorg_application_context_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_xorg_application_context_init(AgsXorgApplicationContext *xorg_application_context);
+void ags_xorg_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_xorg_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_xorg_application_context_connect(AgsConnectable *connectable);
+void ags_xorg_application_context_disconnect(AgsConnectable *connectable);
+void ags_xorg_application_context_finalize(GObject *gobject);
+
+static AgsConnectableInterface* ags_xorg_application_context_parent_connectable_interface;
+
+GType
+ags_xorg_application_context_get_type()
+{
+ static GType ags_type_xorg_application_context = 0;
+
+ if(!ags_type_xorg_application_context){
+ static const GTypeInfo ags_xorg_application_context_info = {
+ sizeof (AgsXorgApplicationContextClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_xorg_application_context_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsXorgApplicationContext),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_xorg_application_context_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_xorg_application_context_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_xorg_application_context = g_type_register_static(AGS_TYPE_APPLICATION_CONTEXT,
+ "AgsXorgApplicationContext\0",
+ &ags_xorg_application_context_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_xorg_application_context,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_xorg_application_context);
+}
+
+void
+ags_xorg_application_context_class_init(AgsXorgApplicationContextClass *xorg_application_context)
+{
+ GObjectClass *gobject;
+ AgsApplicationContextClass *application_context;
+
+ ags_xorg_application_context_parent_class = g_type_class_peek_parent(ags_xorg_application_context);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ags_xorg_application_context;
+
+ gobject->set_property = ags_xorg_application_context_set_property;
+ gobject->get_property = ags_xorg_application_context_get_property;
+
+ gobject->finalize = ags_xorg_application_context_finalize;
+
+ /* AgsXorgApplicationContextClass */
+ application_context = (AgsApplicationContextClass *) xorg_application_context_class;
+
+ application_context->load_config = ags_xorg_application_context_load_config;
+ application_context->register_types = ags_xorg_application_context_register_types;
+}
+
+void
+ags_xorg_application_context_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_xorg_application_context_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_xorg_application_context_connect;
+ connectable->disconnect = ags_xorg_application_context_disconnect;
+}
+
+void
+ags_xorg_application_context_init(AgsXorgApplicationContext *xorg_application_context)
+{
+ xorg_application_context->flags = 0;
+
+ application_context->window = NULL;
+}
+
+void
+ags_xorg_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsXorgApplicationContext *xorg_application_context;
+
+ xorg_application_context = AGS_XORG_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_xorg_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsXorgApplicationContext *xorg_application_context;
+
+ xorg_application_context = AGS_XORG_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_xorg_application_context_connect(AgsConnectable *connectable)
+{
+ AgsXorgApplicationContext *xorg_application_context;
+
+ xorg_application_context = AGS_XORG_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_XORG_APPLICATION_CONTEXT_CONNECTED & (xorg_application_context->flags)) != 0){
+ return;
+ }
+
+ ags_xorg_application_context_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_xorg_application_context_disconnect(AgsConnectable *connectable)
+{
+ AgsXorgApplicationContext *xorg_application_context;
+
+ xorg_application_context = AGS_XORG_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_XORG_APPLICATION_CONTEXT_CONNECTED & (xorg_application_context->flags)) == 0){
+ return;
+ }
+
+ ags_xorg_application_context_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_xorg_application_context_finalize(GObject *gobject)
+{
+ AgsXorgApplicationContext *xorg_application_context;
+
+ G_OBJECT_CLASS(ags_xorg_application_context_parent_class)->finalize(gobject);
+
+ xorg_application_context = AGS_XORG_APPLICATION_CONTEXT(gobject);
+}
+
+AgsXorgApplicationContext*
+ags_xorg_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config)
+{
+ AgsXorgApplicationContext *xorg_application_context;
+
+ xorg_application_context = (AgsXorgApplicationContext *) g_object_new(AGS_TYPE_XORG_APPLICATION_CONTEXT,
+ "main-loop\0", main_loop,
+ "config\0", config,
+ NULL);
+
+ return(xorg_application_context);
+}
+
+
diff --git a/src/ags/X/ags_xorg_application_context.h b/src/ags/X/ags_xorg_application_context.h
new file mode 100644
index 0000000..d9ed77f
--- /dev/null
+++ b/src/ags/X/ags_xorg_application_context.h
@@ -0,0 +1,64 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_XORG_APPLICATION_CONTEXT_H__
+#define __AGS_XORG_APPLICATION_CONTEXT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/object/ags_application_context.h>
+
+#include <ags/X/ags_window.h>
+
+#define AGS_TYPE_XORG_APPLICATION_CONTEXT (ags_xorg_application_context_get_type())
+#define AGS_XORG_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_XORG_APPLICATION_CONTEXT, AgsXorgApplicationContext))
+#define AGS_XORG_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_XORG_APPLICATION_CONTEXT, AgsXorgApplicationContextClass))
+#define AGS_IS_XORG_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_XORG_APPLICATION_CONTEXT))
+#define AGS_IS_XORG_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_XORG_APPLICATION_CONTEXT))
+#define AGS_XORG_APPLICATION_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_XORG_APPLICATION_CONTEXT, AgsXorgApplicationContextClass))
+
+#define AGS_XORG_VERSION "0.4.3\0"
+#define AGS_XORG_BUILD_ID "Thu Apr 2 13:04:21 GMT 2015\0"
+
+typedef struct _AgsXorgApplicationContext AgsXorgApplicationContext;
+typedef struct _AgsXorgApplicationContextClass AgsXorgApplicationContextClass;
+
+typedef enum{
+ AGS_XORG_APPLICATION_CONTEXT_SHOW_GUI = 1,
+}AgsXorgApplicationContextFlags;
+
+struct _AgsXorgApplicationContext
+{
+ AgsApplicationContext application_context;
+
+ AgsWindow *window;
+};
+
+struct _AgsXorgApplicationContextClass
+{
+ AgsApplicationContextClass application_context;
+};
+
+GType ags_xorg_application_context_get_type();
+
+AgsXorgApplicationContext* ags_xorg_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config);
+
+#endif /*__AGS_XORG_APPLICATION_CONTEXT_H__*/
diff --git a/src/ags/X/editor/Makefile b/src/ags/X/editor/Makefile
new file mode 100644
index 0000000..ef499dc
--- /dev/null
+++ b/src/ags/X/editor/Makefile
@@ -0,0 +1,522 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/X/editor/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/X/editor
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/X/editor
+abs_srcdir = /usr/src/ags-devel/src/ags/X/editor
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../../
+top_builddir = ../../../..
+top_srcdir = ../../../..
+deprecated_ags_editor_h_sources =
+ags_editor_h_sources = \
+ $(deprecated_ags_editor_h_sources) \
+ ags_automation_area_callbacks.h \
+ ags_automation_area.h \
+ ags_automation_edit_callbacks.h \
+ ags_automation_edit.h \
+ ags_automation_toolbar_callbacks.h \
+ ags_automation_toolbar.h \
+ ags_file_selection_callbacks.h \
+ ags_file_selection.h \
+ ags_inline_player_callbacks.h \
+ ags_inline_player.h \
+ ags_machine_radio_button.h \
+ ags_machine_selection.h \
+ ags_machine_selector_callbacks.h \
+ ags_machine_selector.h \
+ ags_meter_callbacks.h \
+ ags_meter.h \
+ ags_notebook_callbacks.h \
+ ags_notebook.h \
+ ags_note_edit_callbacks.h \
+ ags_note_edit.h \
+ ags_pattern_edit_callbacks.h \
+ ags_pattern_edit.h \
+ ags_port_selection_callbacks.h \
+ ags_port_selection.h \
+ ags_sf2_chooser_callbacks.h \
+ ags_sf2_chooser.h \
+ ags_soundset_callbacks.h \
+ ags_soundset.h \
+ ags_toolbar_callbacks.h \
+ ags_toolbar.h \
+ ags_toolbar_mode_stock.h
+
+deprecated_ags_editor_c_sources =
+ags_editor_c_sources = \
+ $(deprecated_ags_editor_c_sources) \
+ ags_automation_area_callbacks.c \
+ ags_automation_area.c \
+ ags_automation_edit_callbacks.c \
+ ags_automation_edit.c \
+ ags_automation_toolbar_callbacks.c \
+ ags_automation_toolbar.c \
+ ags_file_selection_callbacks.c \
+ ags_file_selection.c \
+ ags_inline_player_callbacks.c \
+ ags_inline_player.c \
+ ags_machine_radio_button.c \
+ ags_machine_selection.c \
+ ags_machine_selector_callbacks.c \
+ ags_machine_selector.c \
+ ags_meter_callbacks.c \
+ ags_meter.c \
+ ags_notebook_callbacks.c \
+ ags_notebook.c \
+ ags_note_edit_callbacks.c \
+ ags_note_edit.c \
+ ags_pattern_edit_callbacks.c \
+ ags_pattern_edit.c \
+ ags_port_selection_callbacks.c \
+ ags_port_selection.c \
+ ags_sf2_chooser_callbacks.c \
+ ags_sf2_chooser.c \
+ ags_soundset_callbacks.c \
+ ags_soundset.c \
+ ags_toolbar_callbacks.c \
+ ags_toolbar.c \
+ ags_toolbar_mode_stock.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/X/editor/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/X/editor/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/X/editor/Makefile.am b/src/ags/X/editor/Makefile.am
new file mode 100644
index 0000000..0e56b42
--- /dev/null
+++ b/src/ags/X/editor/Makefile.am
@@ -0,0 +1,71 @@
+deprecated_ags_editor_h_sources =
+
+ags_editor_h_sources = \
+ $(deprecated_ags_editor_h_sources) \
+ ags_automation_area_callbacks.h \
+ ags_automation_area.h \
+ ags_automation_edit_callbacks.h \
+ ags_automation_edit.h \
+ ags_automation_toolbar_callbacks.h \
+ ags_automation_toolbar.h \
+ ags_file_selection_callbacks.h \
+ ags_file_selection.h \
+ ags_inline_player_callbacks.h \
+ ags_inline_player.h \
+ ags_machine_radio_button.h \
+ ags_machine_selection.h \
+ ags_machine_selector_callbacks.h \
+ ags_machine_selector.h \
+ ags_meter_callbacks.h \
+ ags_meter.h \
+ ags_notebook_callbacks.h \
+ ags_notebook.h \
+ ags_note_edit_callbacks.h \
+ ags_note_edit.h \
+ ags_pattern_edit_callbacks.h \
+ ags_pattern_edit.h \
+ ags_port_selection_callbacks.h \
+ ags_port_selection.h \
+ ags_sf2_chooser_callbacks.h \
+ ags_sf2_chooser.h \
+ ags_soundset_callbacks.h \
+ ags_soundset.h \
+ ags_toolbar_callbacks.h \
+ ags_toolbar.h \
+ ags_toolbar_mode_stock.h
+
+deprecated_ags_editor_c_sources =
+
+ags_editor_c_sources = \
+ $(deprecated_ags_editor_c_sources) \
+ ags_automation_area_callbacks.c \
+ ags_automation_area.c \
+ ags_automation_edit_callbacks.c \
+ ags_automation_edit.c \
+ ags_automation_toolbar_callbacks.c \
+ ags_automation_toolbar.c \
+ ags_file_selection_callbacks.c \
+ ags_file_selection.c \
+ ags_inline_player_callbacks.c \
+ ags_inline_player.c \
+ ags_machine_radio_button.c \
+ ags_machine_selection.c \
+ ags_machine_selector_callbacks.c \
+ ags_machine_selector.c \
+ ags_meter_callbacks.c \
+ ags_meter.c \
+ ags_notebook_callbacks.c \
+ ags_notebook.c \
+ ags_note_edit_callbacks.c \
+ ags_note_edit.c \
+ ags_pattern_edit_callbacks.c \
+ ags_pattern_edit.c \
+ ags_port_selection_callbacks.c \
+ ags_port_selection.c \
+ ags_sf2_chooser_callbacks.c \
+ ags_sf2_chooser.c \
+ ags_soundset_callbacks.c \
+ ags_soundset.c \
+ ags_toolbar_callbacks.c \
+ ags_toolbar.c \
+ ags_toolbar_mode_stock.c
diff --git a/src/ags/X/editor/Makefile.in b/src/ags/X/editor/Makefile.in
new file mode 100644
index 0000000..747085d
--- /dev/null
+++ b/src/ags/X/editor/Makefile.in
@@ -0,0 +1,522 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/X/editor
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_editor_h_sources =
+ags_editor_h_sources = \
+ $(deprecated_ags_editor_h_sources) \
+ ags_automation_area_callbacks.h \
+ ags_automation_area.h \
+ ags_automation_edit_callbacks.h \
+ ags_automation_edit.h \
+ ags_automation_toolbar_callbacks.h \
+ ags_automation_toolbar.h \
+ ags_file_selection_callbacks.h \
+ ags_file_selection.h \
+ ags_inline_player_callbacks.h \
+ ags_inline_player.h \
+ ags_machine_radio_button.h \
+ ags_machine_selection.h \
+ ags_machine_selector_callbacks.h \
+ ags_machine_selector.h \
+ ags_meter_callbacks.h \
+ ags_meter.h \
+ ags_notebook_callbacks.h \
+ ags_notebook.h \
+ ags_note_edit_callbacks.h \
+ ags_note_edit.h \
+ ags_pattern_edit_callbacks.h \
+ ags_pattern_edit.h \
+ ags_port_selection_callbacks.h \
+ ags_port_selection.h \
+ ags_sf2_chooser_callbacks.h \
+ ags_sf2_chooser.h \
+ ags_soundset_callbacks.h \
+ ags_soundset.h \
+ ags_toolbar_callbacks.h \
+ ags_toolbar.h \
+ ags_toolbar_mode_stock.h
+
+deprecated_ags_editor_c_sources =
+ags_editor_c_sources = \
+ $(deprecated_ags_editor_c_sources) \
+ ags_automation_area_callbacks.c \
+ ags_automation_area.c \
+ ags_automation_edit_callbacks.c \
+ ags_automation_edit.c \
+ ags_automation_toolbar_callbacks.c \
+ ags_automation_toolbar.c \
+ ags_file_selection_callbacks.c \
+ ags_file_selection.c \
+ ags_inline_player_callbacks.c \
+ ags_inline_player.c \
+ ags_machine_radio_button.c \
+ ags_machine_selection.c \
+ ags_machine_selector_callbacks.c \
+ ags_machine_selector.c \
+ ags_meter_callbacks.c \
+ ags_meter.c \
+ ags_notebook_callbacks.c \
+ ags_notebook.c \
+ ags_note_edit_callbacks.c \
+ ags_note_edit.c \
+ ags_pattern_edit_callbacks.c \
+ ags_pattern_edit.c \
+ ags_port_selection_callbacks.c \
+ ags_port_selection.c \
+ ags_sf2_chooser_callbacks.c \
+ ags_sf2_chooser.c \
+ ags_soundset_callbacks.c \
+ ags_soundset.c \
+ ags_toolbar_callbacks.c \
+ ags_toolbar.c \
+ ags_toolbar_mode_stock.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/X/editor/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/X/editor/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/X/editor/ags_automation_area.c b/src/ags/X/editor/ags_automation_area.c
new file mode 100644
index 0000000..8ab8267
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_area.c
@@ -0,0 +1,463 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_automation_area.h>
+#include <ags/X/editor/ags_automation_area_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/editor/ags_automation_edit.h>
+
+void ags_automation_area_class_init(AgsAutomationAreaClass *automation_area);
+void ags_automation_area_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_automation_area_init(AgsAutomationArea *automation_area);
+void ags_automation_area_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_automation_area_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_automation_area_connect(AgsConnectable *connectable);
+void ags_automation_area_disconnect(AgsConnectable *connectable);
+
+void ags_automation_area_paint(AgsAutomationArea *automation_area);
+
+/**
+ * SECTION:ags_automation_area
+ * @short_description: area automations
+ * @title: AgsAutomationArea
+ * @section_id:
+ * @include: ags/X/areaor/ags_automation_area.h
+ *
+ * The #AgsAutomationArea lets you area automations.
+ */
+
+enum{
+ PROP_0,
+ PROP_AUTOMATION,
+};
+
+static gpointer ags_automation_area_parent_class = NULL;
+GtkStyle *automation_area_style;
+
+GType
+ags_automation_area_get_type(void)
+{
+ static GType ags_type_automation_area = 0;
+
+ if(!ags_type_automation_area){
+ static const GTypeInfo ags_automation_area_info = {
+ sizeof (AgsAutomationAreaClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_automation_area_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAutomationArea),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_automation_area_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_automation_area_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_automation_area = g_type_register_static(GTK_TYPE_DRAWING_AREA,
+ "AgsAutomationArea\0", &ags_automation_area_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_automation_area,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_automation_area);
+}
+
+void
+ags_automation_area_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_automation_area_connect;
+ connectable->disconnect = ags_automation_area_disconnect;
+}
+
+void
+ags_automation_area_class_init(AgsAutomationAreaClass *automation_area)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_automation_area_parent_class = g_type_class_peek_parent(automation_area);
+
+ gobject = (GObjectClass *) automation_area;
+
+ gobject->set_property = ags_automation_area_set_property;
+ gobject->get_property = ags_automation_area_get_property;
+
+ /* properties */
+ /**
+ * AgsAutomationArea:automation:
+ *
+ * The assigned #AgsAutomation
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("automation\0",
+ "automation of automation area\0",
+ "The automation of automation area\0",
+ AGS_TYPE_AUTOMATION,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUTOMATION,
+ param_spec);
+}
+
+void
+ags_automation_area_init(AgsAutomationArea *automation_area)
+{
+ automation_area->automation = NULL;
+
+ gtk_widget_set_style((GtkWidget *) automation_area, automation_area_style);
+ gtk_widget_set_events(GTK_WIDGET (automation_area), GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_BUTTON_RELEASE_MASK
+ | GDK_POINTER_MOTION_MASK
+ | GDK_POINTER_MOTION_HINT_MASK
+ );
+}
+
+void
+ags_automation_area_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAutomationArea *automation_area;
+
+ automation_area = AGS_AUTOMATION_AREA(gobject);
+
+ switch(prop_id){
+ case PROP_AUTOMATION:
+ {
+ AgsAutomation *automation;
+
+ automation = g_value_get_object(value);
+
+ if(automation == automation_area->automation){
+ return;
+ }
+
+ if(automation_area->automation != NULL){
+ g_object_unref(automation_area->automation);
+ }
+
+ if(automation != NULL){
+ g_object_ref(automation);
+ }
+
+ automation_area->automation = automation;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_automation_area_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAutomationArea *automation_area;
+
+ automation_area = AGS_AUTOMATION_AREA(gobject);
+
+ switch(prop_id){
+ case PROP_AUTOMATION:
+ {
+ g_value_set_object(value, automation_area->automation);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_automation_area_connect(AgsConnectable *connectable)
+{
+ AgsAutomationArea *automation_area;
+
+ automation_area = AGS_AUTOMATION_AREA(connectable);
+
+ g_signal_connect_after((GObject *) automation_area, "expose_event\0",
+ G_CALLBACK (ags_automation_area_expose_event), (gpointer) automation_area);
+
+ g_signal_connect_after((GObject *) automation_area, "configure_event\0",
+ G_CALLBACK (ags_automation_area_configure_event), (gpointer) automation_area);
+}
+
+void
+ags_automation_area_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_automation_area_draw_strip:
+ * @automation_area: the #AgsAutomationArea
+ * @cr: the #cairo_t surface
+ * @channel: the #AgsChannel
+ *
+ * Plot data.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_area_draw_strip(AgsAutomationArea *automation_area, cairo_t *cr)
+{
+ AgsAutomationEdit *automation_edit;
+ gchar *control_name;
+ gdouble width, height;
+
+ automation_edit = gtk_widget_get_ancestor(automation_area,
+ AGS_TYPE_AUTOMATION_EDIT);
+
+ control_name = automation_area->automation->control_name;
+
+ width = (gdouble) GTK_WIDGET(automation_area)->allocation.width;
+ height = (gdouble) GTK_WIDGET(automation_area)->allocation.height;
+
+ /* background */
+ cairo_set_source_rgb(cr, 0.5, 0.4, 0.0);
+ cairo_rectangle(cr, 0.0, 0.0, width, height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+ cairo_set_line_width(cr, 1.0);
+ cairo_rectangle(cr, 0.0, 0.0, width, height);
+ cairo_stroke(cr);
+
+ /* */
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_automation_area_draw_scale:
+ * @automation_area: the #AgsAutomationArea
+ * @cr: the #cairo_t surface
+ *
+ * Draw a scale and its boundaries.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_area_draw_scale(AgsAutomationArea *automation_area, cairo_t *cr)
+{
+ AgsAutomationEdit *automation_edit;
+ gdouble lower, upper;
+ gdouble width, height;
+ gdouble translated_ground;
+
+ const static double dashes = {
+ 0.25,
+ };
+
+ automation_edit = gtk_widget_get_ancestor(automation_area,
+ AGS_TYPE_AUTOMATION_EDIT);
+
+ lower = automation_area->automation->lower;
+ upper = automation_area->automation->upper;
+
+ width = (gdouble) GTK_WIDGET(automation_area)->allocation.width;
+ height = (gdouble) GTK_WIDGET(automation_area)->allocation.height;
+
+ if(lower < 0.0){
+ if(upper < 0.0){
+ translated_ground = (-1.0 * (lower - upper)) / 2.0;
+ }else{
+ translated_ground = (upper - lower) / 2.0;
+ }
+ }else{
+ if(upper > 0.0){
+ translated_ground = (upper - lower) / 2.0;
+ }else{
+ g_warning("invalid boundaries for scale\0");
+ }
+ }
+
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+
+ cairo_move_to(cr,
+ 0.0, translated_ground);
+ cairo_line_to(cr,
+ width, translated_ground);
+
+ cairo_set_dash(cr,
+ &dashes,
+ 1,
+ 0.0);
+ cairo_stroke(cr);
+}
+
+/**
+ * ags_automation_area_draw_automation:
+ * @automation_area: a #AgsAutomationArea
+ * @cr: the #cairo_t surface
+ *
+ * Draw the #AgsAutomation of selected #AgsMachine on @automation_edit.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_area_draw_automation(AgsAutomationArea *automation_area, cairo_t *cr)
+{
+ AgsAutomationEdit *automation_edit;
+ AgsAcceleration *current, *prev;
+ guint width, height;
+ gdouble x0, x1;
+ GList *list;
+
+ automation_edit = gtk_widget_get_ancestor(automation_area,
+ AGS_TYPE_AUTOMATION_EDIT);
+
+
+ width = GTK_WIDGET(automation_area)->allocation.width;
+ height = GTK_WIDGET(automation_area)->allocation.height;
+
+ x0 = gtk_scrolled_window_get_hadjustment(automation_edit->scrolled_window)->value;
+ x1 = x0 + width;
+
+ /* */
+ list = AGS_ACCELERATION(automation_area->automation->acceleration);
+ prev = NULL;
+
+ while(list != NULL){
+ current = AGS_ACCELERATION(list->data);
+
+ if(prev != NULL){
+ ags_automation_area_draw_surface(automation_area, cr,
+ prev->x, prev->y,
+ current->x, current->y);
+ }
+
+ prev = current;
+
+ list = list->next;
+ }
+}
+
+/**
+ * ags_automation_area_draw_surface:
+ * @automation_area: the #AgsAutomationArea
+ * @cr: the #cairo_t surface
+ * @x0: x offset
+ * @y0: y offset
+ * @x1: x offset
+ * @y1: y offset
+ *
+ * Draw a portion of data.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_area_draw_surface(AgsAutomationArea *automation_area, cairo_t *cr,
+ gdouble x0, gdouble y0,
+ gdouble x1, gdouble y1)
+{
+ AgsAutomationEdit *automation_edit;
+ gdouble width, height;
+
+ automation_edit = gtk_widget_get_ancestor(automation_area,
+ AGS_TYPE_AUTOMATION_EDIT);
+
+ width = (gdouble) GTK_WIDGET(automation_area)->allocation.width;
+ height = (gdouble) GTK_WIDGET(automation_area)->allocation.height;
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 0.0);
+
+ /* area */
+ cairo_rectangle(cr, x0, 0.0, x1 - x0, ((y0 < y1) ? y0: y1));
+ cairo_fill(cr);
+
+ /* acceleration */
+ cairo_move_to(cr,
+ x0, y0);
+ cairo_line_to(cr,
+ x1, y1);
+
+ if(y0 > y1){
+ cairo_line_to(cr,
+ x0, y0);
+ }else{
+ cairo_line_to(cr,
+ x1, y1);
+ }
+
+ cairo_close_path(cr);
+ cairo_fill(cr);
+}
+
+void
+ags_automation_area_paint(AgsAutomationArea *automation_area)
+{
+ if(GTK_WIDGET_VISIBLE(automation_area)){
+ cairo_t *cr;
+
+ cr = gdk_cairo_create(GTK_WIDGET(automation_area)->window);
+
+ cairo_push_group(cr);
+
+ ags_automation_area_draw_strip(automation_area,
+ cr);
+ ags_automation_area_draw_scale(automation_area,
+ cr);
+ ags_automation_area_draw_automation(automation_area,
+ cr);
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+}
+
+/**
+ * ags_automation_area_new:
+ *
+ * Create a new #AgsAutomationArea.
+ *
+ * Since: 0.4
+ */
+AgsAutomationArea*
+ags_automation_area_new()
+{
+ AgsAutomationArea *automation_area;
+
+ automation_area = (AgsAutomationArea *) g_object_new(AGS_TYPE_AUTOMATION_AREA, NULL);
+
+ return(automation_area);
+}
diff --git a/src/ags/X/editor/ags_automation_area.h b/src/ags/X/editor/ags_automation_area.h
new file mode 100644
index 0000000..b7242ec
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_area.h
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_AREA_H__
+#define __AGS_AUTOMATION_AREA_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_automation.h>
+
+#define AGS_TYPE_AUTOMATION_AREA (ags_automation_area_get_type())
+#define AGS_AUTOMATION_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION_AREA, AgsAutomationArea))
+#define AGS_AUTOMATION_AREA_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION_AREA, AgsAutomationAreaClass))
+#define AGS_IS_AUTOMATION_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION_AREA))
+#define AGS_IS_AUTOMATION_AREA_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOMATION_AREA))
+#define AGS_AUTOMATION_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION_AREA, AgsAutomationAreaClass))
+
+#define AGS_AUTOMATION_AREA_DEFAULT_HEIGHT (128)
+
+typedef struct _AgsAutomationArea AgsAutomationArea;
+typedef struct _AgsAutomationAreaClass AgsAutomationAreaClass;
+
+struct _AgsAutomationArea
+{
+ GtkDrawingArea drawing_area;
+
+ AgsAutomation *automation;
+};
+
+struct _AgsAutomationAreaClass
+{
+ GtkDrawingAreaClass drawing_area;
+};
+
+GType ags_automation_area_get_type(void);
+
+void ags_automation_area_draw_strip(AgsAutomationArea *automation_area, cairo_t *cr);
+void ags_automation_area_draw_scale(AgsAutomationArea *automation_area, cairo_t *cr);
+void ags_automation_area_draw_automation(AgsAutomationArea *automation_area, cairo_t *cr);
+void ags_automation_area_draw_surface(AgsAutomationArea *automation_area, cairo_t *cr,
+ gdouble x0, gdouble y0,
+ gdouble x1, gdouble y1);
+
+AgsAutomationArea* ags_automation_area_new();
+
+#endif /*__AGS_AUTOMATION_AREA_H__*/
diff --git a/src/ags/X/editor/ags_automation_area_callbacks.c b/src/ags/X/editor/ags_automation_area_callbacks.c
new file mode 100644
index 0000000..07619f9
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_area_callbacks.c
@@ -0,0 +1,86 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_automation_area_callbacks.h>
+
+#include <ags/X/ags_automation_editor_callbacks.h>
+
+gboolean
+ags_automation_area_expose_event(GtkWidget *widget, GdkEventExpose *event,
+ AgsAutomationArea *automation_area)
+{
+ AgsAutomationEditor *automation_editor;
+ cairo_t *cr;
+
+ g_message("debug: c");
+
+ automation_editor = gtk_widget_get_ancestor(automation_area,
+ AGS_TYPE_AUTOMATION_EDITOR);
+
+ cr = gdk_cairo_create(widget->window);
+ cairo_push_group(cr);
+
+ ags_automation_area_draw_strip(automation_area,
+ cr);
+ ags_automation_area_draw_scale(automation_area,
+ cr);
+ ags_automation_area_draw_automation(automation_area,
+ cr);
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+
+ return(TRUE);
+}
+
+gboolean
+ags_automation_area_configure_event(GtkWidget *widget, GdkEventConfigure *event,
+ AgsAutomationArea *automation_area)
+{
+ //TODO:JK: implement me
+
+ return(FALSE);
+}
+
+gboolean
+ags_automation_area_button_press_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationArea *automation_area)
+{
+ //TODO:JK: implement me
+
+ return(TRUE);
+}
+
+gboolean
+ags_automation_area_button_release_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationArea *automation_area)
+{
+ //TODO:JK: implement me
+
+ return(FALSE);
+}
+
+gboolean
+ags_automation_area_motion_notify_event(GtkWidget *widget, GdkEventMotion *event,
+ AgsAutomationArea *automation_area)
+{
+ //TODO:JK: implement me
+
+ return(FALSE);
+}
+
diff --git a/src/ags/X/editor/ags_automation_area_callbacks.h b/src/ags/X/editor/ags_automation_area_callbacks.h
new file mode 100644
index 0000000..8f9be2d
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_area_callbacks.h
@@ -0,0 +1,35 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_AREA_CALLBACKS_H__
+#define __AGS_AUTOMATION_AREA_CALLBACKS_H__
+
+#include <ags/X/editor/ags_automation_area.h>
+
+gboolean ags_automation_area_expose_event(GtkWidget *widget, GdkEventExpose *event,
+ AgsAutomationArea *automation_area);
+gboolean ags_automation_area_configure_event(GtkWidget *widget, GdkEventConfigure *event,
+ AgsAutomationArea *automation_area);
+gboolean ags_automation_area_button_press_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationArea *automation_area);
+gboolean ags_automation_area_button_release_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationArea *automation_area);
+gboolean ags_automation_area_motion_notify_event(GtkWidget *widget, GdkEventMotion *event,
+ AgsAutomationArea *automation_area);
+
+#endif /*__AGS_AUTOMATION_AREA_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_automation_edit.c b/src/ags/X/editor/ags_automation_edit.c
new file mode 100644
index 0000000..dfd2a52
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_edit.c
@@ -0,0 +1,320 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_automation_edit.h>
+#include <ags/X/editor/ags_automation_edit_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_automation_editor.h>
+
+#include <ags/X/editor/ags_automation_edit.h>
+#include <ags/X/editor/ags_automation_area.h>
+
+void ags_automation_edit_class_init(AgsAutomationEditClass *automation_edit);
+void ags_automation_edit_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_automation_edit_init(AgsAutomationEdit *automation_edit);
+void ags_automation_edit_connect(AgsConnectable *connectable);
+void ags_automation_edit_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_automation_edit
+ * @short_description: edit automations
+ * @title: AgsAutomationEdit
+ * @section_id:
+ * @include: ags/X/editor/ags_automation_edit.h
+ *
+ * The #AgsAutomationEdit lets you edit automations.
+ */
+
+static gpointer ags_automation_edit_parent_class = NULL;
+
+GType
+ags_automation_edit_get_type(void)
+{
+ static GType ags_type_automation_edit = 0;
+
+ if(!ags_type_automation_edit){
+ static const GTypeInfo ags_automation_edit_info = {
+ sizeof (AgsAutomationEditClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_automation_edit_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAutomationEdit),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_automation_edit_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_automation_edit_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_automation_edit = g_type_register_static(GTK_TYPE_TABLE,
+ "AgsAutomationEdit\0", &ags_automation_edit_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_automation_edit,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_automation_edit);
+}
+
+void
+ags_automation_edit_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_automation_edit_connect;
+ connectable->disconnect = ags_automation_edit_disconnect;
+}
+
+void
+ags_automation_edit_class_init(AgsAutomationEditClass *automation_edit)
+{
+ ags_automation_edit_parent_class = g_type_class_peek_parent(automation_edit);
+}
+
+void
+ags_automation_edit_init(AgsAutomationEdit *automation_edit)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+
+ automation_edit->ruler = ags_ruler_new();
+ gtk_table_attach(GTK_TABLE(automation_edit), (GtkWidget *) automation_edit->ruler,
+ 0, 1, 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL,
+ 0, 0);
+
+ automation_edit->map_width = AGS_AUTOMATION_EDIT_MAX_CONTROLS * 64;
+ automation_edit->map_height = 0;
+
+ /* drawing area box and its viewport */
+ automation_edit->scrolled_window = gtk_scrolled_window_new(NULL,
+ NULL);
+ gtk_widget_set_events(GTK_WIDGET(automation_edit->scrolled_window), GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_BUTTON_RELEASE_MASK
+ | GDK_POINTER_MOTION_MASK
+ | GDK_POINTER_MOTION_HINT_MASK
+ );
+ gtk_table_attach(GTK_TABLE(automation_edit), (GtkWidget *) automation_edit->scrolled_window,
+ 0, 1, 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ automation_edit->drawing_area = gtk_vbox_new(FALSE, 0);
+ gtk_scrolled_window_add_with_viewport(automation_edit->scrolled_window,
+ automation_edit->drawing_area);
+}
+
+void
+ags_automation_edit_connect(AgsConnectable *connectable)
+{
+ AgsAutomationEdit *automation_edit;
+
+ automation_edit = AGS_AUTOMATION_EDIT(connectable);
+
+ /* */
+ g_signal_connect_after((GObject *) automation_edit->scrolled_window, "expose_event\0",
+ G_CALLBACK (ags_automation_edit_scrolled_window_expose_event), (gpointer) automation_edit);
+
+ g_signal_connect_after((GObject *) automation_edit->scrolled_window, "configure_event\0",
+ G_CALLBACK (ags_automation_edit_scrolled_window_configure_event), (gpointer) automation_edit);
+
+ /* */
+
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_edit_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_automation_edit_reset_vertically:
+ * @automation_edit: the #AgsAutomationEdit
+ * @flags: the #AgsAutomationEditResetFlags
+ *
+ * Reset @automation_edit as configured vertically.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_edit_reset_vertically(AgsAutomationEdit *automation_edit, guint flags)
+{
+ if((AGS_AUTOMATION_EDIT_RESET_VSCROLLBAR & flags) != 0){
+ GtkAdjustment *vadjustment;
+ guint height;
+
+ height = GTK_WIDGET(automation_edit->drawing_area)->allocation.height;
+
+ vadjustment = gtk_scrolled_window_get_vadjustment(automation_edit->scrolled_window);
+
+ gtk_adjustment_set_upper(vadjustment,
+ (gdouble) (automation_edit->map_height - height));
+
+ if(vadjustment->value > vadjustment->upper){
+ gtk_adjustment_set_value(vadjustment, vadjustment->upper);
+ }
+ }
+}
+
+/**
+ * ags_automation_edit_reset_horizontally:
+ * @automation_edit: the #AgsAutomationEdit
+ * @flags: the #AgsAutomationEditResetFlags
+ *
+ * Reset @automation_edit as configured horizontally.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_edit_reset_horizontally(AgsAutomationEdit *automation_edit, guint flags)
+{
+ if((AGS_AUTOMATION_EDIT_RESET_HSCROLLBAR & flags) != 0){
+ GtkAdjustment *hadjustment;
+ guint width;
+
+ width = GTK_WIDGET(automation_edit->drawing_area)->allocation.width;
+
+ hadjustment = gtk_scrolled_window_get_hadjustment(automation_edit->scrolled_window);
+
+ gtk_adjustment_set_upper(hadjustment,
+ (gdouble) (automation_edit->map_width - width));
+
+ if(hadjustment->value > hadjustment->upper){
+ gtk_adjustment_set_value(hadjustment, hadjustment->upper);
+ }
+ }
+}
+
+/**
+ * ags_automation_edit_draw_position:
+ * @drawing_area: the #GtkVBox containing drawing area
+ *
+ * Draws the cursor.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_edit_draw_position(GtkVBox *drawing_area)
+{
+ AgsAutomationEdit *automation_edit;
+ gdouble width, height;
+
+ automation_edit = gtk_widget_get_ancestor(drawing_area,
+ AGS_TYPE_AUTOMATION_EDIT);
+
+ width = (gdouble) GTK_WIDGET(drawing_area)->allocation.width;
+ height = (gdouble) GTK_WIDGET(drawing_area)->allocation.height;
+
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_automation_edit_draw_scroll:
+ * @automation_edit: the #AgsAutomationEdit
+ * @cr: the #cairo_t surface
+ * @position: the new position
+ *
+ * Change visible x-position of @automation_edit.
+ *
+ * Since: 0.4
+ */
+void
+ags_automation_edit_draw_scroll(GtkVBox *drawing_area,
+ gdouble position)
+{
+ AgsAutomationEdit *automation_edit;
+ gdouble width, height;
+
+ automation_edit = gtk_widget_get_ancestor(drawing_area,
+ AGS_TYPE_AUTOMATION_EDIT);
+
+ width = (gdouble) GTK_WIDGET(drawing_area)->allocation.width;
+ height = (gdouble) GTK_WIDGET(drawing_area)->allocation.height;
+
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_automation_edit_add_drawing_area:
+ * @automation_edit:
+ * @automation:
+ *
+ *
+ */
+GtkDrawingArea*
+ags_automation_edit_add_drawing_area(AgsAutomationEdit *automation_edit,
+ AgsAutomation *automation)
+{
+ GtkDrawingArea *drawing_area;
+ guint width;
+
+ width = GTK_WIDGET(automation_edit->drawing_area)->allocation.width;
+
+ /* resize */
+ automation_edit->map_height += AGS_AUTOMATION_AREA_DEFAULT_HEIGHT;
+
+ automation_edit->flags |= AGS_AUTOMATION_EDIT_RESETING_VERTICALLY;
+ ags_automation_edit_reset_vertically(automation_edit, AGS_AUTOMATION_EDIT_RESET_VSCROLLBAR);
+ automation_edit->flags &= (~AGS_AUTOMATION_EDIT_RESETING_VERTICALLY);
+
+ /* add */
+ drawing_area = (GtkDrawingArea *) g_object_new(AGS_TYPE_AUTOMATION_AREA,
+ "automation\0", automation,
+ NULL);
+ gtk_widget_set_size_request(drawing_area,
+ width, AGS_AUTOMATION_AREA_DEFAULT_HEIGHT);
+ gtk_box_pack_start(automation_edit->drawing_area,
+ drawing_area,
+ FALSE, FALSE,
+ 0);
+ ags_connectable_connect(AGS_CONNECTABLE(drawing_area));
+ gtk_widget_show(drawing_area);
+
+ return(drawing_area);
+}
+
+/**
+ * ags_automation_edit_new:
+ *
+ * Create a new #AgsAutomationEdit.
+ *
+ * Since: 0.4
+ */
+AgsAutomationEdit*
+ags_automation_edit_new()
+{
+ AgsAutomationEdit *automation_edit;
+
+ automation_edit = (AgsAutomationEdit *) g_object_new(AGS_TYPE_AUTOMATION_EDIT, NULL);
+
+ return(automation_edit);
+}
diff --git a/src/ags/X/editor/ags_automation_edit.h b/src/ags/X/editor/ags_automation_edit.h
new file mode 100644
index 0000000..35d6e5e
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_edit.h
@@ -0,0 +1,94 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_EDIT_H__
+#define __AGS_AUTOMATION_EDIT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_ruler.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_automation.h>
+
+#define AGS_TYPE_AUTOMATION_EDIT (ags_automation_edit_get_type())
+#define AGS_AUTOMATION_EDIT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION_EDIT, AgsAutomationEdit))
+#define AGS_AUTOMATION_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION_EDIT, AgsAutomationEditClass))
+#define AGS_IS_AUTOMATION_EDIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION_EDIT))
+#define AGS_IS_AUTOMATION_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOMATION_EDIT))
+#define AGS_AUTOMATION_EDIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION_EDIT, AgsAutomationEditClass))
+
+#define AGS_AUTOMATION_EDIT_MAX_CONTROLS 1200
+
+typedef struct _AgsAutomationEdit AgsAutomationEdit;
+typedef struct _AgsAutomationEditClass AgsAutomationEditClass;
+
+typedef enum{
+ AGS_AUTOMATION_EDIT_RESETING_VERTICALLY = 1,
+ AGS_AUTOMATION_EDIT_RESETING_HORIZONTALLY = 1 << 1,
+ AGS_AUTOMATION_EDIT_POSITION_CURSOR = 1 << 2,
+ AGS_AUTOMATION_EDIT_ADDING_AUTOMATION = 1 << 3,
+ AGS_AUTOMATION_EDIT_DELETING_AUTOMATION = 1 << 4,
+ AGS_AUTOMATION_EDIT_SELECTING_AUTOMATIONS = 1 << 5,
+}AgsAutomationEditFlags;
+
+typedef enum{
+ AGS_AUTOMATION_EDIT_RESET_VSCROLLBAR = 1,
+ AGS_AUTOMATION_EDIT_RESET_HSCROLLBAR = 1 << 1,
+ AGS_AUTOMATION_EDIT_RESET_WIDTH = 1 << 2,
+ AGS_AUTOMATION_EDIT_RESET_HEIGHT = 1 << 3, // reserved
+}AgsAutomationEditResetFlags;
+
+struct _AgsAutomationEdit
+{
+ GtkTable table;
+
+ guint flags;
+
+ AgsRuler *ruler;
+
+ guint map_width;
+ guint map_height;
+
+ GtkScrolledWindow *scrolled_window;
+ GtkVBox *drawing_area;
+};
+
+struct _AgsAutomationEditClass
+{
+ GtkTableClass table;
+};
+
+GType ags_automation_edit_get_type(void);
+
+void ags_automation_edit_reset_vertically(AgsAutomationEdit *automation_edit, guint flags);
+void ags_automation_edit_reset_horizontally(AgsAutomationEdit *automation_edit, guint flags);
+
+void ags_automation_edit_draw_position(GtkVBox *drawing_area);
+void ags_automation_edit_draw_scroll(GtkVBox *drawing_area,
+ gdouble position);
+
+GtkDrawingArea* ags_automation_edit_add_area(AgsAutomationEdit *automation_edit,
+ AgsAutomation *automation);
+
+AgsAutomationEdit* ags_automation_edit_new();
+
+#endif /*__AGS_AUTOMATION_EDIT_H__*/
diff --git a/src/ags/X/editor/ags_automation_edit_callbacks.c b/src/ags/X/editor/ags_automation_edit_callbacks.c
new file mode 100644
index 0000000..ed53ca9
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_edit_callbacks.c
@@ -0,0 +1,109 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_automation_edit_callbacks.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <ags/X/machine/ags_panel.h>
+#include <ags/X/machine/ags_mixer.h>
+#include <ags/X/machine/ags_drum.h>
+#include <ags/X/machine/ags_matrix.h>
+#include <ags/X/machine/ags_synth.h>
+#include <ags/X/machine/ags_ffplayer.h>
+
+gboolean
+ags_automation_edit_scrolled_window_expose_event(GtkWidget *widget, GdkEventExpose *event,
+ AgsAutomationEdit *automation_edit)
+{
+ //TODO:JK: implement me
+
+ return(TRUE);
+}
+
+gboolean
+ags_automation_edit_scrolled_window_configure_event(GtkWidget *widget, GdkEventConfigure *event,
+ AgsAutomationEdit *automation_edit)
+{
+ automation_edit->flags |= AGS_AUTOMATION_EDIT_RESETING_VERTICALLY;
+ ags_automation_edit_reset_vertically(automation_edit, AGS_AUTOMATION_EDIT_RESET_VSCROLLBAR);
+ automation_edit->flags &= (~AGS_AUTOMATION_EDIT_RESETING_VERTICALLY);
+
+ automation_edit->flags |= AGS_AUTOMATION_EDIT_RESETING_HORIZONTALLY;
+ ags_automation_edit_reset_horizontally(automation_edit, AGS_AUTOMATION_EDIT_RESET_HSCROLLBAR);
+ automation_edit->flags &= (~AGS_AUTOMATION_EDIT_RESETING_HORIZONTALLY);
+
+ return(FALSE);
+}
+
+gboolean
+ags_automation_edit_scrolled_window_button_press_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationEdit *automation_edit)
+{
+ //TODO:JK: implement me
+
+ return(TRUE);
+}
+
+gboolean
+ags_automation_edit_scrolled_window_button_release_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationEdit *automation_edit)
+{
+ //TODO:JK: implement me
+
+ return(FALSE);
+}
+
+gboolean
+ags_automation_edit_scrolled_window_motion_notify_event(GtkWidget *widget, GdkEventMotion *event,
+ AgsAutomationEdit *automation_edit)
+{
+ //TODO:JK: implement me
+
+ return(FALSE);
+}
+
+void
+ags_automation_edit_vscrollbar_value_changed(GtkRange *range, AgsAutomationEdit *automation_edit)
+{
+ if((AGS_AUTOMATION_EDIT_RESETING_VERTICALLY & automation_edit->flags) != 0){
+ return;
+ }
+
+ automation_edit->flags |= AGS_AUTOMATION_EDIT_RESETING_VERTICALLY;
+ ags_automation_edit_reset_vertically(automation_edit, 0);
+ automation_edit->flags &= (~AGS_AUTOMATION_EDIT_RESETING_VERTICALLY);
+}
+
+void
+ags_automation_edit_hscrollbar_value_changed(GtkRange *range, AgsAutomationEdit *automation_edit)
+{
+ if((AGS_AUTOMATION_EDIT_RESETING_HORIZONTALLY & automation_edit->flags) != 0){
+ return;
+ }
+
+ /* reset ruler */
+ gtk_adjustment_set_value(automation_edit->ruler->adjustment,
+ GTK_RANGE(gtk_scrolled_window_get_hadjustment(automation_edit->scrolled_window))->adjustment->value);
+ gtk_widget_queue_draw(automation_edit->ruler);
+
+ /* update automation edit */
+ automation_edit->flags |= AGS_AUTOMATION_EDIT_RESETING_HORIZONTALLY;
+ ags_automation_edit_reset_horizontally(automation_edit, 0);
+ automation_edit->flags &= (~AGS_AUTOMATION_EDIT_RESETING_HORIZONTALLY);
+}
diff --git a/src/ags/X/editor/ags_automation_edit_callbacks.h b/src/ags/X/editor/ags_automation_edit_callbacks.h
new file mode 100644
index 0000000..38a4922
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_edit_callbacks.h
@@ -0,0 +1,42 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_EDIT_CALLBACKS_H__
+#define __AGS_AUTOMATION_EDIT_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_automation_edit.h>
+
+gboolean ags_automation_edit_scrolled_window_expose_event(GtkWidget *widget, GdkEventExpose *event,
+ AgsAutomationEdit *automation_edit);
+gboolean ags_automation_edit_scrolled_window_configure_event(GtkWidget *widget, GdkEventConfigure *event,
+ AgsAutomationEdit *automation_edit);
+gboolean ags_automation_edit_scrolled_window_button_press_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationEdit *automation_edit);
+gboolean ags_automation_edit_scrolled_window_button_release_event(GtkWidget *widget, GdkEventButton *event,
+ AgsAutomationEdit *automation_edit);
+gboolean ags_automation_edit_scrolled_window_motion_notify_event(GtkWidget *widget, GdkEventMotion *event,
+ AgsAutomationEdit *automation_edit);
+
+void ags_automation_edit_vscrollbar_value_changed(GtkRange *range, AgsAutomationEdit *automation_edit);
+void ags_automation_edit_hscrollbar_value_changed(GtkRange *range, AgsAutomationEdit *automation_edit);
+
+#endif /*__AGS_AUTOMATION_EDIT_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_automation_toolbar.c b/src/ags/X/editor/ags_automation_toolbar.c
new file mode 100644
index 0000000..98aa598
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_toolbar.c
@@ -0,0 +1,230 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_automation_toolbar.h>
+#include <ags/X/editor/ags_automation_toolbar_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_port.h>
+
+#include <ags/X/ags_automation_editor.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_line_member.h>
+
+void ags_automation_toolbar_class_init(AgsAutomationToolbarClass *automation_toolbar);
+void ags_automation_toolbar_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_automation_toolbar_init(AgsAutomationToolbar *automation_toolbar);
+void ags_automation_toolbar_connect(AgsConnectable *connectable);
+void ags_automation_toolbar_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_automation_toolbar
+ * @short_description: edit tool
+ * @title: AgsAutomationToolbar
+ * @section_id:
+ * @include: ags/X/editor/ags_note_edit.h
+ *
+ * The #AgsAutomationToolbar lets you choose edit tool.
+ */
+
+GType
+ags_automation_toolbar_get_type(void)
+{
+ static GType ags_type_automation_toolbar = 0;
+
+ if (!ags_type_automation_toolbar){
+ static const GTypeInfo ags_automation_toolbar_info = {
+ sizeof (AgsAutomationToolbarClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_automation_toolbar_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAutomationToolbar),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_automation_toolbar_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_automation_toolbar_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_automation_toolbar = g_type_register_static(GTK_TYPE_TOOLBAR,
+ "AgsAutomationToolbar\0", &ags_automation_toolbar_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_automation_toolbar,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_automation_toolbar);
+}
+
+void
+ags_automation_toolbar_class_init(AgsAutomationToolbarClass *automation_toolbar)
+{
+}
+
+void
+ags_automation_toolbar_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_automation_toolbar_connect;
+ connectable->disconnect = ags_automation_toolbar_disconnect;
+}
+
+void
+ags_automation_toolbar_init(AgsAutomationToolbar *automation_toolbar)
+{
+ GtkMenuToolButton *menu_tool_button;
+ GtkMenu *menu;
+ GtkLabel *label;
+
+ automation_toolbar->position = g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", gtk_image_new_from_stock(GTK_STOCK_JUMP_TO,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ (GtkWidget *) automation_toolbar->position,
+ "position cursor\0",
+ NULL);
+
+ automation_toolbar->edit = g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", gtk_image_new_from_stock(GTK_STOCK_EDIT,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ automation_toolbar->selected_edit_mode = automation_toolbar->edit;
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ (GtkWidget *) automation_toolbar->edit,
+ "edit automation\0",
+ NULL);
+
+ automation_toolbar->clear = g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", gtk_image_new_from_stock(GTK_STOCK_CLEAR,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+
+ automation_toolbar->select = g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", gtk_image_new_from_stock(GTK_STOCK_SELECT_ALL,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ (GtkWidget *) automation_toolbar->select,
+ "select automation\0",
+ NULL);
+
+ automation_toolbar->copy = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", gtk_image_new_from_stock(GTK_STOCK_COPY,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ automation_toolbar->copy,
+ "copy automation\0",
+ NULL);
+
+ automation_toolbar->cut = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", gtk_image_new_from_stock(GTK_STOCK_CUT,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ automation_toolbar->cut,
+ "cut automation\0",
+ NULL);
+
+ automation_toolbar->paste = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", gtk_image_new_from_stock(GTK_STOCK_PASTE,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ automation_toolbar->paste,
+ "paste automation\0",
+ NULL);
+
+ /* */
+ label = gtk_label_new("zoom\0");
+ gtk_container_add(GTK_CONTAINER(automation_toolbar),
+ label);
+
+ automation_toolbar->zoom = ags_zoom_combo_box_new();
+ gtk_combo_box_set_active(automation_toolbar->zoom, 4);
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ (GtkWidget *) automation_toolbar->zoom,
+ NULL,
+ NULL);
+
+ /* */
+ automation_toolbar->port_selection = ags_port_selection_new();
+ gtk_toolbar_append_widget((GtkToolbar *) automation_toolbar,
+ (GtkWidget *) automation_toolbar->port_selection,
+ NULL,
+ NULL);
+}
+
+void
+ags_automation_toolbar_connect(AgsConnectable *connectable)
+{
+ AgsAutomationEditor *automation_editor;
+ AgsAutomationToolbar *automation_toolbar;
+
+ automation_toolbar = AGS_AUTOMATION_TOOLBAR(connectable);
+ automation_editor = gtk_widget_get_ancestor(automation_toolbar,
+ AGS_TYPE_AUTOMATION_EDITOR);
+
+ /* */
+ g_signal_connect_after(G_OBJECT(automation_editor), "machine-changed\0",
+ G_CALLBACK(ags_automation_toolbar_machine_changed_callback), automation_toolbar);
+}
+
+void
+ags_automation_toolbar_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_automation_toolbar_new:
+ *
+ * Create a new #AgsAutomationToolbar.
+ *
+ * Since: 0.4
+ */
+AgsAutomationToolbar*
+ags_automation_toolbar_new()
+{
+ AgsAutomationToolbar *automation_toolbar;
+
+ automation_toolbar = (AgsAutomationToolbar *) g_object_new(AGS_TYPE_AUTOMATION_TOOLBAR, NULL);
+
+ return(automation_toolbar);
+}
diff --git a/src/ags/X/editor/ags_automation_toolbar.h b/src/ags/X/editor/ags_automation_toolbar.h
new file mode 100644
index 0000000..3acd466
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_toolbar.h
@@ -0,0 +1,69 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_TOOLBAR_H__
+#define __AGS_AUTOMATION_TOOLBAR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_port_selection.h>
+
+#define AGS_TYPE_AUTOMATION_TOOLBAR (ags_automation_toolbar_get_type())
+#define AGS_AUTOMATION_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION_TOOLBAR, AgsAutomationToolbar))
+#define AGS_AUTOMATION_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION_TOOLBAR, AgsAutomationToolbarClass))
+#define AGS_IS_AUTOMATION_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION_TOOLBAR))
+#define AGS_IS_AUTOMATION_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOMATION_TOOLBAR))
+#define AGS_AUTOMATION_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION_TOOLBAR, AgsAutomationToolbarClass))
+
+#define AGS_AUTOMATION_TOOLBAR_DATA_CHANNEL "ags-channel\0"
+#define AGS_AUTOMATION_TOOLBAR_DATA_PORT "ags-port\0"
+
+typedef struct _AgsAutomationToolbar AgsAutomationToolbar;
+typedef struct _AgsAutomationToolbarClass AgsAutomationToolbarClass;
+
+struct _AgsAutomationToolbar
+{
+ GtkToolbar toolbar;
+
+ GtkToggleButton *selected_edit_mode;
+ GtkToggleButton *position;
+ GtkToggleButton *edit;
+ GtkToggleButton *clear;
+ GtkToggleButton *select;
+
+ GtkMenuItem *copy;
+ GtkMenuItem *cut;
+ GtkMenuItem *paste;
+
+ GtkComboBox *zoom;
+
+ AgsPortSelection *port_selection;
+};
+
+struct _AgsAutomationToolbarClass
+{
+ GtkToolbarClass toolbar;
+};
+
+GType ags_automation_toolbar_get_type(void);
+
+AgsAutomationToolbar* ags_automation_toolbar_new();
+
+#endif /*__AGS_AUTOMATION_TOOLBAR_H__*/
diff --git a/src/ags/X/editor/ags_automation_toolbar_callbacks.c b/src/ags/X/editor/ags_automation_toolbar_callbacks.c
new file mode 100644
index 0000000..6037908
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_toolbar_callbacks.c
@@ -0,0 +1,70 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_automation_toolbar_callbacks.h>
+
+void
+ags_automation_toolbar_machine_changed_callback(AgsAutomationEditor *automation_editor,
+ AgsMachine *machine,
+ AgsAutomationToolbar *toolbar)
+{
+ AgsAutomationEdit *automation_edit;
+ AgsAutomation *automation;
+ GList *port;
+ GList *list, *list_start;
+
+ auto GList* ags_automation_toolbar_enabled_ports(GList *automation);
+
+ GList* ags_automation_toolbar_enabled_ports(GList *automation){
+ GList *list;
+
+ list = NULL;
+
+ while(automation != NULL){
+ list = g_list_prepend(list,
+ AGS_AUTOMATION(automation->data)->port);
+
+ automation = automation->next;
+ }
+
+ list = g_list_reverse(list);
+
+ return(list);
+ }
+
+ automation_edit = automation_editor->automation_edit;
+
+ /* destroy old and create new drawing area vbox */
+ gtk_widget_destroy(automation_edit->drawing_area);
+
+ automation_edit->drawing_area = gtk_vbox_new(FALSE, 0);
+ gtk_table_attach(GTK_TABLE(automation_edit), (GtkWidget *) automation_edit->drawing_area,
+ 0, 1, 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+ gtk_widget_show(automation_edit->drawing_area);
+
+ /* load ports */
+ ags_port_selection_load_ports(toolbar->port_selection);
+
+ /* enable ports */
+ port = ags_automation_toolbar_enabled_ports(machine->audio->automation);
+
+ ags_port_selection_enable_ports(toolbar->port_selection,
+ port);
+}
diff --git a/src/ags/X/editor/ags_automation_toolbar_callbacks.h b/src/ags/X/editor/ags_automation_toolbar_callbacks.h
new file mode 100644
index 0000000..849a711
--- /dev/null
+++ b/src/ags/X/editor/ags_automation_toolbar_callbacks.h
@@ -0,0 +1,34 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_TOOLBAR_CALLBACKS_H__
+#define __AGS_AUTOMATION_TOOLBAR_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_automation_editor.h>
+
+#include <ags/X/editor/ags_automation_toolbar.h>
+
+void ags_automation_toolbar_machine_changed_callback(AgsAutomationEditor *automation_editor,
+ AgsMachine *machine,
+ AgsAutomationToolbar *toolbar);
+
+#endif /*__AGS_AUTOMATION_TOOLBAR_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_file_selection.c b/src/ags/X/editor/ags_file_selection.c
new file mode 100644
index 0000000..f3d822a
--- /dev/null
+++ b/src/ags/X/editor/ags_file_selection.c
@@ -0,0 +1,484 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_file_selection.h>
+#include <ags/X/editor/ags_file_selection_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/editor/ags_inline_player.h>
+#include <ags/X/editor/ags_sf2_chooser.h>
+
+void ags_file_selection_class_init(AgsFileSelectionClass *file_selection);
+void ags_file_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_file_selection_init(AgsFileSelection *file_selection);
+void ags_file_selection_connect(AgsConnectable *connectable);
+void ags_file_selection_disconnect(AgsConnectable *connectable);
+static void ags_file_selection_finalize(GObject *gobject);
+void ags_file_selection_show(GtkWidget *widget);
+
+void ags_file_selection_real_add_entry(AgsFileSelection *file_selection, GtkWidget *widget);
+void ags_file_selection_real_remove_entry(AgsFileSelection *file_selection, GtkWidget *widget);
+void ags_file_selection_real_completed(AgsFileSelection *file_selection);
+
+enum{
+ ADD_ENTRY,
+ REMOVE_ENTRY,
+ COMPLETED,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_file_selection_parent_class = NULL;
+
+static guint file_selection_signals[LAST_SIGNAL];
+
+GType
+ags_file_selection_get_type(void)
+{
+ static GType ags_type_file_selection = 0;
+
+ if(!ags_type_file_selection){
+ static const GTypeInfo ags_file_selection_info = {
+ sizeof (AgsFileSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_file_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFileSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_file_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_file_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_file_selection = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsFileSelection\0", &ags_file_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_file_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_file_selection);
+}
+
+void
+ags_file_selection_class_init(AgsFileSelectionClass *file_selection)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+
+ ags_file_selection_parent_class = g_type_class_peek_parent(file_selection);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) file_selection;
+
+ gobject->finalize = ags_file_selection_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) file_selection;
+
+ widget->show = ags_file_selection_show;
+
+ /* AgsFileSelectionClass */
+ file_selection->add_entry = ags_file_selection_real_add_entry;
+ file_selection->remove_entry = ags_file_selection_real_remove_entry;
+ file_selection->completed = NULL;
+
+ file_selection_signals[ADD_ENTRY] =
+ g_signal_new("add_entry\0",
+ G_TYPE_FROM_CLASS(file_selection),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileSelectionClass, add_entry),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+
+ file_selection_signals[REMOVE_ENTRY] =
+ g_signal_new("remove_entry\0",
+ G_TYPE_FROM_CLASS(file_selection),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileSelectionClass, remove_entry),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+
+ file_selection_signals[COMPLETED] =
+ g_signal_new("completed\0",
+ G_TYPE_FROM_CLASS(file_selection),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileSelectionClass, completed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_file_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_file_selection_connect;
+ connectable->disconnect = ags_file_selection_disconnect;
+}
+
+void
+ags_file_selection_init(AgsFileSelection *file_selection)
+{
+ GtkHBox *hbox;
+ GtkLabel *label;
+
+ file_selection->flags = 0;
+
+ file_selection->directory = NULL;
+
+ file_selection->entry_count = 0;
+ file_selection->entry = NULL;
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_end(GTK_BOX(file_selection),
+ GTK_WIDGET(hbox),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) gtk_label_new("Choosed: \0");
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ file_selection->chosed = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", g_strdup_printf("%d\0", 0),
+ NULL);
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(file_selection->chosed),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) gtk_label_new("/\0");
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ file_selection->selected = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", g_strdup_printf("%d\0", 0),
+ NULL);
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(file_selection->selected),
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_file_selection_connect(AgsConnectable *connectable)
+{
+ AgsFileSelection *file_selection;
+
+ /* AgsFileSelection */
+ file_selection = AGS_FILE_SELECTION(connectable);
+}
+
+void
+ags_file_selection_disconnect(AgsConnectable *connectable)
+{
+ /* implement me */
+}
+
+static void
+ags_file_selection_finalize(GObject *gobject)
+{
+ AgsFileSelection *file_selection;
+
+ file_selection = (AgsFileSelection *) gobject;
+
+ /* free directory string */
+ if(file_selection->directory != NULL)
+ free(file_selection->directory);
+
+ /* free entries */
+ ags_list_free_and_free_link(file_selection->entry);
+
+ /* call finalize of parent class */
+ G_OBJECT_CLASS(ags_file_selection_parent_class)->finalize(gobject);
+}
+
+void
+ags_file_selection_show(GtkWidget *widget)
+{
+ AgsFileSelection *file_selection;
+
+ file_selection = (AgsFileSelection *) widget;
+
+ GTK_WIDGET_CLASS(ags_file_selection_parent_class)->show(widget);
+}
+
+/**
+ * ags_file_selection_set_entry:
+ * @file_selection an #AgsFileSelection
+ * @entry a #GList
+ *
+ * Add new entries to the #AgsFileSelection.
+ */
+void
+ags_file_selection_set_entry(AgsFileSelection *file_selection, GList *entry_list)
+{
+ AgsFileSelectionEntry *entry;
+
+ auto GtkTable* ags_file_selection_set_entry_new_entry();
+
+ GtkTable* ags_file_selection_set_entry_new_entry(){
+ GtkTable *table;
+ GtkTable *range_table;
+ GtkLabel *label;
+ GtkButton *remove;
+ AgsInlinePlayer *inline_player;
+
+ table = (GtkTable *) gtk_table_new(3, 3, FALSE);
+
+ /* the range buttons */
+ range_table = (GtkTable *) gtk_table_new(2, 3, FALSE);
+ gtk_table_attach(table,
+ GTK_WIDGET(range_table),
+ 1, 3,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "nth sample: \0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(range_table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "nth channel: \0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(range_table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "count: \0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(range_table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ entry->nth_sample = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 65534.0, 1.0);
+ gtk_table_attach(range_table,
+ GTK_WIDGET(entry->nth_sample),
+ 1, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ entry->nth_channel = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 65534.0, 1.0);
+ gtk_table_attach(range_table,
+ GTK_WIDGET(entry->nth_channel),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ entry->count = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 65534.0, 1.0);
+ gtk_table_attach(range_table,
+ GTK_WIDGET(entry->count),
+ 1, 2,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* the remove button */
+ remove = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_REMOVE);
+ gtk_table_attach(table,
+ GTK_WIDGET(remove),
+ 2, 3,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* and it's callback */
+ g_signal_connect(G_OBJECT(remove), "clicked\0",
+ G_CALLBACK(ags_file_selection_remove_callback), table);
+
+ /* create an AgsInlinePlayer */
+ inline_player = ags_inline_player_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(inline_player),
+ 0, 1,
+ 2, 3,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ return(table);
+ }
+
+ while(entry_list != NULL){
+ if(g_str_has_suffix(AGS_FILE_SELECTION_ENTRY(entry_list->data)->filename, ".sf2\0")){
+ entry = AGS_FILE_SELECTION_ENTRY(entry_list->data);
+
+ entry->table = ags_file_selection_set_entry_new_entry();
+
+ entry->entry = (GtkWidget *) ags_sf2_chooser_new();
+ gtk_table_attach(entry->table,
+ GTK_WIDGET(entry->entry),
+ 0, 1,
+ 0, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ ags_sf2_chooser_open(AGS_SF2_CHOOSER(entry->entry),
+ entry->filename);
+
+ ags_file_selection_add_entry(file_selection, (GtkWidget *) entry->table);
+
+ ags_connectable_connect(AGS_CONNECTABLE(entry->entry));
+ }
+
+ entry_list = entry_list->next;
+ }
+}
+
+void
+ags_file_selection_add_entry(AgsFileSelection *file_selection, GtkWidget *widget)
+{
+ g_return_if_fail(AGS_IS_FILE_SELECTION(file_selection));
+
+ g_object_ref((GObject *) file_selection);
+ g_signal_emit(G_OBJECT(file_selection),
+ file_selection_signals[ADD_ENTRY], 0,
+ widget);
+ g_object_unref((GObject *) file_selection);
+}
+
+void
+ags_file_selection_real_add_entry(AgsFileSelection *file_selection, GtkWidget *widget)
+{
+ file_selection->entry_count++;
+ gtk_label_set_text(file_selection->selected,
+ g_strdup_printf("%d\0", file_selection->entry_count));
+
+ gtk_box_pack_start(GTK_BOX(file_selection),
+ widget,
+ FALSE,
+ FALSE,
+ 0);
+}
+
+void
+ags_file_selection_remove_entry(AgsFileSelection *file_selection, GtkWidget *widget)
+{
+ g_return_if_fail(AGS_IS_FILE_SELECTION(file_selection));
+
+ g_object_ref((GObject *) file_selection);
+ g_signal_emit(G_OBJECT(file_selection),
+ file_selection_signals[REMOVE_ENTRY], 0,
+ widget);
+ g_object_unref((GObject *) file_selection);
+}
+
+void
+ags_file_selection_real_remove_entry(AgsFileSelection *file_selection, GtkWidget *widget)
+{
+ file_selection->entry_count--;
+ gtk_label_set_text(file_selection->selected,
+ g_strdup_printf("%d\0", file_selection->entry_count));
+
+ gtk_widget_destroy(widget);
+}
+
+gboolean
+ags_file_selection_contains_file(AgsFileSelection *file_selection, gchar *filename)
+{
+ GList *list;
+
+ list = file_selection->entry;
+
+ while(list != NULL){
+ if(!g_strcmp0(list->data, filename))
+ return(TRUE);
+ }
+
+ return(FALSE);
+}
+
+void
+ags_file_selection_completed(AgsFileSelection *file_selection)
+{
+ g_return_if_fail(AGS_IS_FILE_SELECTION(file_selection));
+
+ g_object_ref((GObject *) file_selection);
+ g_signal_emit(G_OBJECT(file_selection),
+ file_selection_signals[COMPLETED], 0);
+ g_object_unref((GObject *) file_selection);
+}
+
+AgsFileSelectionEntry*
+ags_file_selection_entry_alloc()
+{
+ AgsFileSelectionEntry *entry;
+
+ entry = (AgsFileSelectionEntry *) malloc(sizeof(AgsFileSelectionEntry));
+
+ entry->table = NULL;
+ entry->entry = NULL;
+
+ entry->chosed = FALSE;
+ entry->filename = NULL;
+
+ entry->nth_sample = NULL;
+ entry->nth_channel = NULL;
+ entry->count = NULL;
+
+ return(entry);
+}
+
+AgsFileSelection*
+ags_file_selection_new()
+{
+ AgsFileSelection *file_selection;
+
+ file_selection = (AgsFileSelection *) g_object_new(AGS_TYPE_FILE_SELECTION,
+ NULL);
+
+ return(file_selection);
+}
diff --git a/src/ags/X/editor/ags_file_selection.h b/src/ags/X/editor/ags_file_selection.h
new file mode 100644
index 0000000..feec87d
--- /dev/null
+++ b/src/ags/X/editor/ags_file_selection.h
@@ -0,0 +1,101 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_SELECTION_H__
+#define __AGS_FILE_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#define AGS_TYPE_FILE_SELECTION (ags_file_selection_get_type())
+#define AGS_FILE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_SELECTION, AgsFileSelection))
+#define AGS_FILE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_SELECTION, AgsFileSelectionClass))
+#define AGS_IS_FILE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FILE_SELECTION))
+#define AGS_IS_FILE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_FILE_SELECTION))
+#define AGS_FILE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_FILE_SELECTION, AgsFileSelectionClass))
+
+#define AGS_FILE_SELECTION_ENTRY(strct) ((AgsFileSelectionEntry *) (strct))
+
+typedef struct _AgsFileSelection AgsFileSelection;
+typedef struct _AgsFileSelectionClass AgsFileSelectionClass;
+typedef struct _AgsFileSelectionEntry AgsFileSelectionEntry;
+
+typedef enum{
+ AGS_FILE_SELECTION_COMPLETED = 1,
+}AgsFileSelectionFlags;
+
+struct _AgsFileSelection
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ gchar *directory;
+
+ guint entry_count;
+ GList *entry;
+
+ GtkLabel *chosed;
+ GtkLabel *selected;
+};
+
+struct _AgsFileSelectionClass
+{
+ GtkVBoxClass vbox;
+
+ void (*add_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
+ void (*remove_entry)(AgsFileSelection *file_selection, GtkWidget *widget);
+
+ void (*completed)(AgsFileSelection *file_selection);
+};
+
+struct _AgsFileSelectionEntry
+{
+ GtkTable *table;
+
+ GtkWidget *entry;
+
+ gboolean chosed;
+ gchar *filename;
+
+ GtkSpinButton *nth_sample;
+ GtkSpinButton *nth_channel;
+ GtkSpinButton *count;
+};
+
+GType ags_file_selection_get_type(void);
+
+AgsFileSelectionEntry* ags_file_selection_entry_alloc();
+
+void ags_file_selection_set_entry(AgsFileSelection *file_selection, GList *entry);
+
+void ags_file_selection_add_entry(AgsFileSelection *file_selection, GtkWidget *widget);
+void ags_file_selection_remove_entry(AgsFileSelection *file_selection, GtkWidget *widget);
+
+gboolean ags_file_selection_contains_file(AgsFileSelection *file_selection, gchar *filename);
+
+void ags_file_selection_completed(AgsFileSelection *file_selection);
+
+AgsFileSelection* ags_file_selection_new();
+
+#endif /*__AGS_FILE_SELECTION_H__*/
diff --git a/src/ags/X/editor/ags_file_selection_callbacks.c b/src/ags/X/editor/ags_file_selection_callbacks.c
new file mode 100644
index 0000000..5266d75
--- /dev/null
+++ b/src/ags/X/editor/ags_file_selection_callbacks.c
@@ -0,0 +1,12 @@
+#include <ags/X/editor/ags_file_selection_callbacks.h>
+
+void
+ags_file_selection_remove_callback(GtkButton *button, GtkTable *table)
+{
+ AgsFileSelection *file_selection;
+
+ file_selection = (AgsFileSelection *) gtk_widget_get_ancestor(GTK_WIDGET(table),
+ AGS_TYPE_FILE_SELECTION);
+
+ ags_file_selection_remove_entry(file_selection, GTK_WIDGET(table));
+}
diff --git a/src/ags/X/editor/ags_file_selection_callbacks.h b/src/ags/X/editor/ags_file_selection_callbacks.h
new file mode 100644
index 0000000..fe9b9dc
--- /dev/null
+++ b/src/ags/X/editor/ags_file_selection_callbacks.h
@@ -0,0 +1,13 @@
+#ifndef __AGS_FILE_SELECTION_CALLBACKS_H__
+#define __AGS_FILE_SELECTION_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_file_selection.h>
+
+void ags_file_selection_remove_callback(GtkButton *button, GtkTable *hbox);
+
+#endif /*__AGS_FILE_SELECTION_CALLBACKS_H__*/
+
diff --git a/src/ags/X/editor/ags_inline_player.c b/src/ags/X/editor/ags_inline_player.c
new file mode 100644
index 0000000..680cd7b
--- /dev/null
+++ b/src/ags/X/editor/ags_inline_player.c
@@ -0,0 +1,283 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_inline_player.h>
+#include <ags/X/editor/ags_inline_player_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_playable.h>
+
+#include <ags/X/ags_window.h>
+
+void ags_inline_player_class_init(AgsInlinePlayerClass *inline_player);
+void ags_inline_player_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_inline_player_init(AgsInlinePlayer *inline_player);
+void ags_inline_player_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_inline_player_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_inline_player_finalize(GObject *gobject);
+void ags_inline_player_connect(AgsConnectable *connectable);
+void ags_inline_player_disconnect(AgsConnectable *connectable);
+void ags_inline_player_show(GtkWidget *widget);
+
+void ags_inline_player_update(AgsInlinePlayer *inline_player);
+
+enum{
+ PROP_0,
+ PROP_PLAYABLE,
+};
+
+static gpointer ags_inline_player_parent_class = NULL;
+
+GType
+ags_inline_player_get_type(void)
+{
+ static GType ags_type_inline_player = 0;
+
+ if(!ags_type_inline_player){
+ static const GTypeInfo ags_inline_player_info = {
+ sizeof (AgsInlinePlayerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_inline_player_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsInlinePlayer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_inline_player_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_inline_player_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_inline_player = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsInlinePlayer\0", &ags_inline_player_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_inline_player,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_inline_player);
+}
+
+void
+ags_inline_player_class_init(AgsInlinePlayerClass *inline_player)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_inline_player_parent_class = g_type_class_peek_parent(inline_player);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) inline_player;
+
+ gobject->set_property = ags_inline_player_set_property;
+ gobject->get_property = ags_inline_player_get_property;
+
+ gobject->finalize = ags_inline_player_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("playable\0",
+ "playable for player\0",
+ "The AgsPlayable to use within the AgsInlinePlayer\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PLAYABLE,
+ param_spec);
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) inline_player;
+
+ widget->show = ags_inline_player_show;
+}
+
+void
+ags_inline_player_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_inline_player_connect;
+ connectable->disconnect = ags_inline_player_disconnect;
+}
+
+void
+ags_inline_player_init(AgsInlinePlayer *inline_player)
+{
+ GtkHBox *hbox;
+
+ inline_player->playable = NULL;
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) inline_player,
+ (GtkWidget *) hbox,
+ FALSE, FALSE,
+ 0);
+
+ inline_player->play = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_PLAY,
+ GTK_ICON_SIZE_LARGE_TOOLBAR),
+ NULL);
+ gtk_box_pack_start((GtkBox *) hbox,
+ (GtkWidget *) inline_player->play,
+ FALSE, FALSE,
+ 0);
+
+ inline_player->position = (GtkHScale *) gtk_hscale_new_with_range(0.0, 1.0, 1.0);
+ gtk_box_pack_start((GtkBox *) hbox,
+ (GtkWidget *) inline_player->position,
+ TRUE, TRUE,
+ 0);
+
+ inline_player->volume = (GtkVolumeButton *) gtk_volume_button_new();
+ gtk_box_pack_start((GtkBox *) hbox,
+ (GtkWidget *) inline_player->volume,
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_inline_player_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsInlinePlayer *inline_player;
+
+ inline_player = AGS_INLINE_PLAYER(gobject);
+
+ switch(prop_id){
+ case PROP_PLAYABLE:
+ {
+ AgsPlayable *playable;
+
+ playable = (AgsPlayable *) g_value_get_object(value);
+
+ if(inline_player->playable == playable)
+ return;
+
+ if(inline_player->playable != NULL){
+ g_object_unref(inline_player->playable);
+ }
+
+ if(playable != NULL){
+ g_object_ref(playable);
+ }
+
+ inline_player->playable = playable;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_inline_player_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsInlinePlayer *inline_player;
+
+ inline_player = AGS_INLINE_PLAYER(gobject);
+
+ switch(prop_id){
+ case PROP_PLAYABLE:
+ g_value_set_object(value, inline_player->playable);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_inline_player_finalize(GObject *gobject)
+{
+ AgsInlinePlayer *inline_player;
+
+ inline_player = (AgsInlinePlayer *) gobject;
+
+ //TODO:JK:
+ /* implement me */
+
+ G_OBJECT_CLASS(ags_inline_player_parent_class)->finalize(gobject);
+}
+
+void
+ags_inline_player_connect(AgsConnectable *connectable)
+{
+ AgsInlinePlayer *inline_player;
+
+ /* AgsInlinePlayer */
+ inline_player = AGS_INLINE_PLAYER(connectable);
+
+ //TODO:JK: implement me
+ /*
+ g_signal_connect(G_OBJECT(inline_player->preset), "changed\0",
+ G_CALLBACK(ags_inline_player_preset_changed), inline_player);
+
+ g_signal_connect(G_OBJECT(inline_player->instrument), "changed\0",
+ G_CALLBACK(ags_inline_player_instrument_changed), inline_player);
+
+ g_signal_connect(G_OBJECT(inline_player->sample), "changed\0",
+ G_CALLBACK(ags_inline_player_sample_changed), inline_player);
+ */
+}
+
+void
+ags_inline_player_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK:
+ /* implement me */
+}
+
+void
+ags_inline_player_show(GtkWidget *widget)
+{
+ AgsInlinePlayer *inline_player = (AgsInlinePlayer *) widget;
+
+ GTK_WIDGET_CLASS(ags_inline_player_parent_class)->show(widget);
+
+ //TODO:JK:
+ /* perhaps empty */
+}
+
+AgsInlinePlayer*
+ags_inline_player_new()
+{
+ AgsInlinePlayer *inline_player;
+
+ inline_player = (AgsInlinePlayer *) g_object_new(AGS_TYPE_INLINE_PLAYER,
+ NULL);
+
+ return(inline_player);
+}
diff --git a/src/ags/X/editor/ags_inline_player.h b/src/ags/X/editor/ags_inline_player.h
new file mode 100644
index 0000000..923c464
--- /dev/null
+++ b/src/ags/X/editor/ags_inline_player.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2012 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_INLINE_PLAYER_H__
+#define __AGS_INLINE_PLAYER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/object/ags_playable.h>
+
+#define AGS_TYPE_INLINE_PLAYER (ags_inline_player_get_type ())
+#define AGS_INLINE_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INLINE_PLAYER, AgsInlinePlayer))
+#define AGS_INLINE_PLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INLINE_PLAYER, AgsInlinePlayerClass))
+#define AGS_IS_INLINE_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INLINE_PLAYER))
+#define AGS_IS_INLINE_PLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INLINE_PLAYER))
+#define AGS_INLINE_PLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INLINE_PLAYER, AgsInlinePlayerClass))
+
+typedef struct _AgsInlinePlayer AgsInlinePlayer;
+typedef struct _AgsInlinePlayerClass AgsInlinePlayerClass;
+
+struct _AgsInlinePlayer
+{
+ GtkHBox vbox;
+
+ AgsPlayable *playable;
+
+ GtkToggleButton *play;
+ GtkHScale *position;
+ GtkVolumeButton *volume;
+};
+
+struct _AgsInlinePlayerClass
+{
+ GtkHBoxClass vbox;
+};
+
+GType ags_inline_player_get_type();
+
+AgsInlinePlayer* ags_inline_player_new();
+
+#endif /*__AGS_INLINE_PLAYER_H__*/
+
diff --git a/src/ags/X/editor/ags_inline_player_callbacks.c b/src/ags/X/editor/ags_inline_player_callbacks.c
new file mode 100644
index 0000000..3f1f572
--- /dev/null
+++ b/src/ags/X/editor/ags_inline_player_callbacks.c
@@ -0,0 +1,2 @@
+#include <ags/X/editor/ags_inline_player_callbacks.h>
+
diff --git a/src/ags/X/editor/ags_inline_player_callbacks.h b/src/ags/X/editor/ags_inline_player_callbacks.h
new file mode 100644
index 0000000..2edbce2
--- /dev/null
+++ b/src/ags/X/editor/ags_inline_player_callbacks.h
@@ -0,0 +1,10 @@
+#ifndef __AGS_INLINE_PLAYER_CALLBACKS_H__
+#define __AGS_INLINE_PLAYER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_inline_player.h>
+
+#endif /*__AGS_INLINE_PLAYER_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_machine_radio_button.c b/src/ags/X/editor/ags_machine_radio_button.c
new file mode 100644
index 0000000..9743942
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_radio_button.c
@@ -0,0 +1,243 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_machine_radio_button.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/editor/ags_machine_selector.h>
+
+void ags_machine_radio_button_class_init(AgsMachineRadioButtonClass *machine_radio_button);
+void ags_machine_radio_button_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_machine_radio_button_init(AgsMachineRadioButton *machine_radio_button);
+void ags_machine_radio_button_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_machine_radio_button_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_machine_radio_button_connect(AgsConnectable *connectable);
+void ags_machine_radio_button_disconnect(AgsConnectable *connectable);
+void ags_machine_radio_button_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_machine_radio_button
+ * @short_description: machine radio buttons
+ * @title: AgsMachineRadioButton
+ * @section_id:
+ * @include: ags/X/editor/ags_machine_radio_button.h
+ *
+ * The #AgsMachineRadioButton enables you make choice of an #AgsMachine.
+ */
+
+enum{
+ PROP_0,
+ PROP_MACHINE,
+};
+
+static gpointer ags_machine_radio_button_parent_class = NULL;
+
+GType
+ags_machine_radio_button_get_type(void)
+{
+ static GType ags_type_machine_radio_button = 0;
+
+ if(!ags_type_machine_radio_button){
+ static const GTypeInfo ags_machine_radio_button_info = {
+ sizeof (AgsMachineRadioButtonClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_machine_radio_button_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMachineRadioButton),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_machine_radio_button_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_machine_radio_button_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_machine_radio_button = g_type_register_static(GTK_TYPE_RADIO_BUTTON,
+ "AgsMachineRadioButton\0", &ags_machine_radio_button_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_machine_radio_button,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_machine_radio_button);
+}
+
+void
+ags_machine_radio_button_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_machine_radio_button_connect;
+ connectable->disconnect = ags_machine_radio_button_disconnect;
+}
+
+void
+ags_machine_radio_button_class_init(AgsMachineRadioButtonClass *machine_radio_button)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_machine_radio_button_parent_class = g_type_class_peek_parent(machine_radio_button);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) machine_radio_button;
+
+ gobject->set_property = ags_machine_radio_button_set_property;
+ gobject->get_property = ags_machine_radio_button_get_property;
+
+ gobject->finalize = ags_machine_radio_button_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("machine\0",
+ "assigned machine\0",
+ "The machine it is assigned to\0",
+ AGS_TYPE_MACHINE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MACHINE,
+ param_spec);
+}
+
+void
+ags_machine_radio_button_init(AgsMachineRadioButton *machine_radio_button)
+{
+ machine_radio_button->machine = NULL;
+}
+
+void
+ags_machine_radio_button_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMachineRadioButton *machine_radio_button;
+
+ machine_radio_button = AGS_MACHINE_RADIO_BUTTON(gobject);
+
+ switch(prop_id){
+ case PROP_MACHINE:
+ {
+ AgsMachine *machine;
+ AgsMachineSelector *machine_selector;
+
+ machine = (AgsMachine *) g_value_get_object(value);
+
+ if(machine == machine_radio_button->machine){
+ return;
+ }
+
+ if(machine_radio_button->machine != NULL){
+ g_object_unref(machine_radio_button->machine);
+ }
+
+ if(machine != NULL){
+ g_object_set(gobject,
+ "label\0", g_strdup_printf("%s: %s\0", G_OBJECT_TYPE_NAME(machine), machine->name),
+ NULL);
+
+ g_object_ref(machine);
+ }
+
+ machine_radio_button->machine = machine;
+
+ machine_selector = (AgsMachineSelector *) gtk_widget_get_ancestor(machine_radio_button,
+ AGS_TYPE_MACHINE_SELECTOR);
+ ags_machine_selector_changed(machine_selector,
+ machine);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_machine_radio_button_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMachineRadioButton *machine_radio_button;
+
+ machine_radio_button = AGS_MACHINE_RADIO_BUTTON(gobject);
+
+ switch(prop_id){
+ case PROP_MACHINE:
+ g_value_set_object(value, machine_radio_button->machine);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_machine_radio_button_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_machine_radio_button_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_machine_radio_button_finalize(GObject *gobject)
+{
+ AgsMachineRadioButton *machine_radio_button;
+
+ machine_radio_button = AGS_MACHINE_RADIO_BUTTON(gobject);
+
+ if(machine_radio_button->machine != NULL){
+ g_object_unref(G_OBJECT(machine_radio_button->machine));
+ }
+}
+
+/**
+ * ags_machine_radio_button_new:
+ *
+ * Create a new #AgsMachineRadioButton.
+ *
+ * Since: 0.4
+ */
+AgsMachineRadioButton*
+ags_machine_radio_button_new()
+{
+ AgsMachineRadioButton *machine_radio_button;
+
+ machine_radio_button = (AgsMachineRadioButton *) g_object_new(AGS_TYPE_MACHINE_RADIO_BUTTON,
+ NULL);
+
+ return(machine_radio_button);
+}
diff --git a/src/ags/X/editor/ags_machine_radio_button.h b/src/ags/X/editor/ags_machine_radio_button.h
new file mode 100644
index 0000000..56b773d
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_radio_button.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MACHINE_RADIO_BUTTON_H__
+#define __AGS_MACHINE_RADIO_BUTTON_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#define AGS_TYPE_MACHINE_RADIO_BUTTON (ags_machine_radio_button_get_type())
+#define AGS_MACHINE_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_RADIO_BUTTON, AgsMachineRadioButton))
+#define AGS_MACHINE_RADIO_BUTTON_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_RADIO_BUTTON, AgsMachineRadioButtonClass))
+#define AGS_IS_MACHINE_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_RADIO_BUTTON))
+#define AGS_IS_MACHINE_RADIO_BUTTON_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_RADIO_BUTTON))
+#define AGS_MACHINE_RADIO_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_MACHINE_RADIO_BUTTON, AgsMachineRadioButtonClass))
+
+typedef struct _AgsMachineRadioButton AgsMachineRadioButton;
+typedef struct _AgsMachineRadioButtonClass AgsMachineRadioButtonClass;
+
+struct _AgsMachineRadioButton
+{
+ GtkRadioButton radio_button;
+
+ AgsMachine *machine;
+};
+
+struct _AgsMachineRadioButtonClass
+{
+ GtkRadioButtonClass radio_button;
+};
+
+GType ags_machine_radio_button_get_type(void);
+
+AgsMachineRadioButton* ags_machine_radio_button_new();
+
+#endif /*__AGS_MACHINE_RADIO_BUTTON_H__*/
diff --git a/src/ags/X/editor/ags_machine_selection.c b/src/ags/X/editor/ags_machine_selection.c
new file mode 100644
index 0000000..6a78da3
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_selection.c
@@ -0,0 +1,230 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_machine_selection.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_machine_selection_class_init(AgsMachineSelectionClass *machine_selection);
+void ags_machine_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_machine_selection_init(AgsMachineSelection *machine_selection);
+void ags_machine_selection_connect(AgsConnectable *connectable);
+void ags_machine_selection_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_machine_selection
+ * @short_description: machine radio buttons
+ * @title: AgsMachineSelection
+ * @section_id:
+ * @include: ags/X/editor/ags_machine_selection.h
+ *
+ * The #AgsMachineSelection enables you make choice of an #AgsMachine.
+ */
+
+static gpointer ags_machine_selection_parent_class = NULL;
+
+GType
+ags_machine_selection_get_type(void)
+{
+ static GType ags_type_machine_selection = 0;
+
+ if(!ags_type_machine_selection){
+ static const GTypeInfo ags_machine_selection_info = {
+ sizeof (AgsMachineSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_machine_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMachineSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_machine_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_machine_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_machine_selection = g_type_register_static(GTK_TYPE_DIALOG,
+ "AgsMachineSelection\0", &ags_machine_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_machine_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_machine_selection);
+}
+
+void
+ags_machine_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_machine_selection_connect;
+ connectable->disconnect = ags_machine_selection_disconnect;
+}
+
+void
+ags_machine_selection_class_init(AgsMachineSelectionClass *machine_selection)
+{
+ GObjectClass *gobject;
+
+ ags_machine_selection_parent_class = g_type_class_peek_parent(machine_selection);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) machine_selection;
+}
+
+void
+ags_machine_selection_init(AgsMachineSelection *machine_selection)
+{
+ g_object_set(G_OBJECT(machine_selection),
+ "title\0", g_strdup("select machines\0"),
+ NULL);
+
+ gtk_dialog_add_buttons(GTK_DIALOG(machine_selection),
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
+ NULL);
+}
+
+void
+ags_machine_selection_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_machine_selection_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_machine_selection_load_default(AgsMachineSelection *machine_selection)
+{
+ AgsMachine *machine;
+ GtkVBox *vbox;
+ GtkContainer *content_area;
+ GList *list, *list_start;
+ GtkRadioButton *group;
+
+ machine_selection->machine =
+ list = gtk_container_get_children(GTK_CONTAINER(machine_selection->window->machines));
+ machine = NULL;
+
+ content_area = gtk_dialog_get_content_area(GTK_DIALOG(machine_selection));
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add(content_area,
+ vbox);
+
+ group = NULL;
+
+ while(list != NULL){
+ GtkRadioButton *radio_button;
+
+ radio_button = (GtkRadioButton *) gtk_radio_button_new_with_label_from_widget(group,
+ g_strdup_printf("%s: %s\0", G_OBJECT_TYPE_NAME(list->data), AGS_MACHINE(list->data)->name));
+ gtk_box_pack_start(GTK_BOX(vbox),
+ GTK_WIDGET(radio_button),
+ FALSE, FALSE,
+ 0);
+
+ if(group == NULL){
+ group = radio_button;
+ }
+
+ list = list->next;
+ }
+
+ gtk_widget_show_all(vbox);
+}
+
+/**
+ * ags_machine_selection_run:
+ * @machine_selection: the #AgsMachineSelection
+ *
+ * Run the dialog.
+ *
+ * Returns: the #AgsMachine
+ */
+AgsMachine*
+ags_machine_selection_run(AgsMachineSelection *machine_selection)
+{
+ AgsMachine *machine;
+ GtkVBox *vbox;
+ GtkContainer *content_area;
+ GList *list, *list_start, *index, *index_start;
+ gint response;
+
+ response = gtk_dialog_run(GTK_DIALOG(machine_selection));
+
+ content_area = gtk_dialog_get_content_area(GTK_DIALOG(machine_selection));
+ machine = NULL;
+
+ vbox = gtk_bin_get_child(content_area);
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(machine_selection->window->machines));
+ index_start =
+ index = gtk_container_get_children(vbox);
+
+ while(index != NULL){
+ if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(index->data))){
+ machine = AGS_MACHINE(list->data);
+
+ break;
+ }
+
+ index = index->next;
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+ g_list_free(index_start);
+ }
+
+ gtk_widget_destroy(machine_selection);
+
+ return(machine);
+}
+
+/**
+ * ags_machine_selection_new:
+ *
+ * Create a new #AgsMachineSelection.
+ *
+ * Since: 0.4
+ */
+AgsMachineSelection*
+ags_machine_selection_new(AgsWindow *window)
+{
+ AgsMachineSelection *machine_selection;
+
+ machine_selection = (AgsMachineSelection *) g_object_new(AGS_TYPE_MACHINE_SELECTION,
+ NULL);
+ machine_selection->window = window;
+
+ return(machine_selection);
+}
diff --git a/src/ags/X/editor/ags_machine_selection.h b/src/ags/X/editor/ags_machine_selection.h
new file mode 100644
index 0000000..84f97bf
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_selection.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MACHINE_SELECTION_H__
+#define __AGS_MACHINE_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_window.h>
+
+#define AGS_TYPE_MACHINE_SELECTION (ags_machine_selection_get_type())
+#define AGS_MACHINE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_SELECTION, AgsMachineSelection))
+#define AGS_MACHINE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_SELECTION, AgsMachineSelectionClass))
+#define AGS_IS_MACHINE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_SELECTION))
+#define AGS_IS_MACHINE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_SELECTION))
+#define AGS_MACHINE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_MACHINE_SELECTION, AgsMachineSelectionClass))
+
+typedef struct _AgsMachineSelection AgsMachineSelection;
+typedef struct _AgsMachineSelectionClass AgsMachineSelectionClass;
+
+struct _AgsMachineSelection
+{
+ GtkDialog dialog;
+
+ AgsWindow *window;
+ GList *machine;
+};
+
+struct _AgsMachineSelectionClass
+{
+ GtkDialogClass dialog;
+};
+
+GType ags_machine_selection_get_type(void);
+
+void ags_machine_selection_load_default(AgsMachineSelection *machine_selection);
+AgsMachine* ags_machine_selection_run(AgsMachineSelection *machine_selection);
+
+AgsMachineSelection* ags_machine_selection_new(AgsWindow *window);
+
+#endif /*__AGS_MACHINE_SELECTION_H__*/
diff --git a/src/ags/X/editor/ags_machine_selector.c b/src/ags/X/editor/ags_machine_selector.c
new file mode 100644
index 0000000..aaf50b1
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_selector.c
@@ -0,0 +1,256 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_machine_selector.h>
+#include <ags/X/editor/ags_machine_selector_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_machine_selector_class_init(AgsMachineSelectorClass *machine_selector);
+void ags_machine_selector_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_machine_selector_init(AgsMachineSelector *machine_selector);
+void ags_machine_selector_connect(AgsConnectable *connectable);
+void ags_machine_selector_disconnect(AgsConnectable *connectable);
+void ags_machine_selector_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_machine_selector
+ * @short_description: machine radio buttons
+ * @title: AgsMachineSelector
+ * @section_id:
+ * @include: ags/X/editor/ags_machine_selector.h
+ *
+ * The #AgsMachineSelector enables you make choice of an #AgsMachine.
+ */
+
+enum{
+ CHANGED,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_machine_selector_parent_class = NULL;
+static guint machine_selector_signals[LAST_SIGNAL];
+
+GType
+ags_machine_selector_get_type(void)
+{
+ static GType ags_type_machine_selector = 0;
+
+ if(!ags_type_machine_selector){
+ static const GTypeInfo ags_machine_selector_info = {
+ sizeof (AgsMachineSelectorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_machine_selector_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMachineSelector),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_machine_selector_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_machine_selector_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_machine_selector = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsMachineSelector\0", &ags_machine_selector_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_machine_selector,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_machine_selector);
+}
+
+void
+ags_machine_selector_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_machine_selector_connect;
+ connectable->disconnect = ags_machine_selector_disconnect;
+}
+
+void
+ags_machine_selector_class_init(AgsMachineSelectorClass *machine_selector)
+{
+ GObjectClass *gobject;
+
+ ags_machine_selector_parent_class = g_type_class_peek_parent(machine_selector);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) machine_selector;
+
+ /* AgsMachineSelectorClass */
+ machine_selector->changed = NULL;
+
+ machine_selector_signals[CHANGED] =
+ g_signal_new("changed\0",
+ G_TYPE_FROM_CLASS(machine_selector),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsMachineSelectorClass, changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_machine_selector_init(AgsMachineSelector *machine_selector)
+{
+ GtkHBox *hbox;
+ GtkLabel *label;
+ GtkMenuToolButton *menu_button;
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(machine_selector),
+ GTK_WIDGET(hbox),
+ FALSE, FALSE,
+ 0);
+
+ label = (GtkLabel *) gtk_label_new("Notation\0");
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ machine_selector->popup = ags_machine_selector_popup_new(machine_selector);
+
+ menu_button = g_object_new(GTK_TYPE_MENU_TOOL_BUTTON,
+ "stock-id\0", GTK_STOCK_EXECUTE,
+ "menu\0", machine_selector->popup,
+ NULL);
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(menu_button),
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_machine_selector_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_machine_selector_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_machine_selector_changed:
+ *
+ * Emitted as #AgsMachineSelector modified.
+ *
+ * Since: 0.4
+ */
+void
+ags_machine_selector_changed(AgsMachineSelector *machine_selector, AgsMachine *machine)
+{
+ g_return_if_fail(AGS_IS_MACHINE_SELECTOR(machine_selector));
+
+ g_object_ref((GObject *) machine_selector);
+ g_signal_emit((GObject *) machine_selector,
+ machine_selector_signals[CHANGED], 0,
+ machine);
+ g_object_unref((GObject *) machine_selector);
+}
+
+/**
+ * ags_machine_selector_new:
+ *
+ * Create a new #AgsMachineSelector.
+ *
+ * Since: 0.4
+ */
+AgsMachineSelector*
+ags_machine_selector_new()
+{
+ AgsMachineSelector *machine_selector;
+
+ machine_selector = (AgsMachineSelector *) g_object_new(AGS_TYPE_MACHINE_SELECTOR,
+ NULL);
+
+ return(machine_selector);
+}
+
+/**
+ * ags_machine_selector_popup_new:
+ *
+ * Create a new #AgsMachineSelectorPopup.
+ *
+ * Since: 0.4
+ */
+GtkMenu*
+ags_machine_selector_popup_new(AgsMachineSelector *machine_selector)
+{
+ GtkMenu *popup;
+ GtkMenuItem *item;
+ GList *list, *list_start;
+
+ popup = (GtkMenu *) gtk_menu_new();
+ g_object_set_data((GObject *) popup, g_type_name(AGS_TYPE_MACHINE_SELECTOR), machine_selector);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("add tab\0"));
+ gtk_menu_shell_append((GtkMenuShell*) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("remove tab\0"));
+ gtk_menu_shell_append((GtkMenuShell*) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("add index\0"));
+ gtk_menu_shell_append((GtkMenuShell*) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("remove index\0"));
+ gtk_menu_shell_append((GtkMenuShell*) popup, (GtkWidget*) item);
+
+ item = (GtkMenuItem *) gtk_menu_item_new_with_label(g_strdup("link index\0"));
+ gtk_menu_shell_append((GtkMenuShell*) popup, (GtkWidget*) item);
+
+ list_start =
+ list = gtk_container_get_children((GtkContainer *) popup);
+
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_machine_selector_popup_add_tab_callback), (gpointer) machine_selector);
+
+ list = list->next;
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_machine_selector_popup_remove_tab_callback), (gpointer) machine_selector);
+
+ list = list->next;
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_machine_selector_popup_add_index_callback), (gpointer) machine_selector);
+
+ list = list->next;
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_machine_selector_popup_remove_index_callback), (gpointer) machine_selector);
+
+ list = list->next;
+ g_signal_connect(G_OBJECT(list->data), "activate\0",
+ G_CALLBACK(ags_machine_selector_popup_link_index_callback), (gpointer) machine_selector);
+
+ g_list_free(list_start);
+ gtk_widget_show_all((GtkWidget *) popup);
+
+ return(popup);
+}
diff --git a/src/ags/X/editor/ags_machine_selector.h b/src/ags/X/editor/ags_machine_selector.h
new file mode 100644
index 0000000..e3e6718
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_selector.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MACHINE_SELECTOR_H__
+#define __AGS_MACHINE_SELECTOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#define AGS_TYPE_MACHINE_SELECTOR (ags_machine_selector_get_type())
+#define AGS_MACHINE_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE_SELECTOR, AgsMachineSelector))
+#define AGS_MACHINE_SELECTOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE_SELECTOR, AgsMachineSelectorClass))
+#define AGS_IS_MACHINE_SELECTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MACHINE_SELECTOR))
+#define AGS_IS_MACHINE_SELECTOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MACHINE_SELECTOR))
+#define AGS_MACHINE_SELECTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_MACHINE_SELECTOR, AgsMachineSelectorClass))
+
+typedef struct _AgsMachineSelector AgsMachineSelector;
+typedef struct _AgsMachineSelectorClass AgsMachineSelectorClass;
+
+struct _AgsMachineSelector
+{
+ GtkVBox vbox;
+
+ GtkMenu *popup;
+};
+
+struct _AgsMachineSelectorClass
+{
+ GtkVBoxClass vbox;
+
+ void (*changed)(AgsMachineSelector *machine_selector, AgsMachine *machine);
+};
+
+GType ags_machine_selector_get_type(void);
+
+void ags_machine_selector_changed(AgsMachineSelector *machine_selector, AgsMachine *machine);
+
+GtkMenu* ags_machine_selector_popup_new(AgsMachineSelector *machine_selector);
+
+AgsMachineSelector* ags_machine_selector_new();
+
+#endif /*__AGS_MACHINE_SELECTOR_H__*/
diff --git a/src/ags/X/editor/ags_machine_selector_callbacks.c b/src/ags/X/editor/ags_machine_selector_callbacks.c
new file mode 100644
index 0000000..9b78265
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_selector_callbacks.c
@@ -0,0 +1,169 @@
+#include <ags/X/editor/ags_machine_selector_callbacks.h>
+
+#include <ags/X/editor/ags_machine_selection.h>
+#include <ags/X/editor/ags_machine_radio_button.h>
+
+void ags_machine_selector_selection_response(GtkWidget *machine_selection,
+ gint response,
+ AgsMachineSelector *machine_selector);
+
+void
+ags_machine_selector_popup_add_tab_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_machine_selector_popup_remove_tab_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_machine_selector_popup_add_index_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector)
+{
+ AgsMachineRadioButton *machine_radio_button, *group;
+ GList *list, *list_start;
+
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(machine_selector));
+ list = list->next;
+
+ if(list == NULL){
+ group = NULL;
+ }else{
+ group = AGS_MACHINE_RADIO_BUTTON(list->data);
+ }
+
+ g_list_free(list_start);
+
+ machine_radio_button = (AgsMachineRadioButton *) g_object_new(AGS_TYPE_MACHINE_RADIO_BUTTON,
+ "group\0", group,
+ NULL);
+ gtk_box_pack_start(GTK_BOX(machine_selector),
+ GTK_WIDGET(machine_radio_button),
+ FALSE, FALSE,
+ 0);
+ g_signal_connect_after(G_OBJECT(machine_radio_button), "clicked\0",
+ G_CALLBACK(ags_machine_selector_radio_changed), machine_selector);
+ gtk_widget_show_all(machine_radio_button);
+}
+
+void
+ags_machine_selector_popup_remove_index_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector)
+{
+ AgsMachineRadioButton *machine_radio_button;
+ GList *list, *list_start;
+
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(machine_selector));
+ list = list->next;
+
+ while(list != NULL){
+ machine_radio_button = AGS_MACHINE_RADIO_BUTTON(list->data);
+
+ if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(machine_radio_button))){
+ gtk_widget_destroy(GTK_WIDGET(machine_radio_button));
+
+ ags_machine_selector_changed(machine_selector,
+ NULL);
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+}
+
+void
+ags_machine_selector_popup_link_index_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector)
+{
+ AgsWindow *window;
+ AgsMachine *machine;
+ AgsMachineSelection *machine_selection;
+ AgsMachineRadioButton *machine_radio_button;
+ GList *list;
+
+ list = gtk_window_list_toplevels();
+
+ while(list != NULL && !AGS_IS_WINDOW(list->data)) list = list->next;
+
+ window = list->data;
+
+ machine_selection = (AgsMachineSelection *) ags_machine_selection_new(window);
+ ags_machine_selection_load_default(machine_selection);
+ g_signal_connect(G_OBJECT(machine_selection), "response\0",
+ G_CALLBACK(ags_machine_selector_selection_response), machine_selector);
+ gtk_widget_show_all(machine_selection);
+}
+
+void
+ags_machine_selector_selection_response(GtkWidget *machine_selection,
+ gint response,
+ AgsMachineSelector *machine_selector)
+{
+ AgsMachine *machine;
+ AgsMachineRadioButton *machine_radio_button;
+ GtkVBox *vbox;
+ GtkContainer *content_area;
+ GList *list, *list_start, *index, *index_start;;
+
+ if(response == GTK_RESPONSE_ACCEPT){
+
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(machine_selector));
+ list = list->next;
+
+ while(list != NULL){
+ machine_radio_button = AGS_MACHINE_RADIO_BUTTON(list->data);
+
+ if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(machine_radio_button))){
+ break;
+ }
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+
+ content_area = gtk_dialog_get_content_area(GTK_DIALOG(machine_selection));
+ machine = NULL;
+
+ vbox = gtk_container_get_children(content_area)->data;
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ list_start =
+ list = gtk_container_get_children(GTK_CONTAINER(AGS_MACHINE_SELECTION(machine_selection)->window->machines));
+ index_start =
+ index = gtk_container_get_children(vbox);
+
+ while(index != NULL){
+ if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(index->data))){
+ machine = AGS_MACHINE(list->data);
+
+ break;
+ }
+
+ index = index->next;
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+ g_list_free(index_start);
+ }
+
+ g_object_set(G_OBJECT(machine_radio_button),
+ "machine\0", machine,
+ NULL);
+ }
+
+ gtk_widget_destroy(machine_selection);
+}
+
+void
+ags_machine_selector_radio_changed(GtkWidget *radio_button, AgsMachineSelector *machine_selector)
+{
+ ags_machine_selector_changed(machine_selector, AGS_MACHINE_RADIO_BUTTON(radio_button)->machine);
+}
diff --git a/src/ags/X/editor/ags_machine_selector_callbacks.h b/src/ags/X/editor/ags_machine_selector_callbacks.h
new file mode 100644
index 0000000..e86aa6a
--- /dev/null
+++ b/src/ags/X/editor/ags_machine_selector_callbacks.h
@@ -0,0 +1,14 @@
+#ifndef __AGS_MACHINE_SELECTOR_CALLBACKS_H__
+#define __AGS_MACHINE_SELECTOR_CALLBACKS_H__
+
+#include <ags/X/editor/ags_machine_selector.h>
+
+void ags_machine_selector_popup_add_tab_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector);
+void ags_machine_selector_popup_remove_tab_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector);
+void ags_machine_selector_popup_add_index_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector);
+void ags_machine_selector_popup_remove_index_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector);
+void ags_machine_selector_popup_link_index_callback(GtkWidget *menu_item, AgsMachineSelector *machine_selector);
+
+void ags_machine_selector_radio_changed(GtkWidget *radio_button, AgsMachineSelector *machine_selector);
+
+#endif /*__AGS_MACHINE_SELECTOR_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_meter.c b/src/ags/X/editor/ags_meter.c
new file mode 100644
index 0000000..f80d7d2
--- /dev/null
+++ b/src/ags/X/editor/ags_meter.c
@@ -0,0 +1,284 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_meter.h>
+#include <ags/X/editor/ags_meter_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <math.h>
+
+void ags_meter_class_init(AgsMeterClass *meter);
+void ags_meter_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_meter_init(AgsMeter *meter);
+void ags_meter_connect(AgsConnectable *connectable);
+void ags_meter_disconnect(AgsConnectable *connectable);
+void ags_meter_destroy(GtkObject *object);
+void ags_meter_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_meter
+ * @short_description: piano widget
+ * @title: AgsMeter
+ * @section_id:
+ * @include: ags/X/editor/ags_meter.h
+ *
+ * The #AgsMeter draws you a piano.
+ */
+
+GtkStyle *meter_style;
+
+GType
+ags_meter_get_type(void)
+{
+ static GType ags_type_meter = 0;
+
+ if (!ags_type_meter){
+ static const GTypeInfo ags_meter_info = {
+ sizeof (AgsMeterClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_meter_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMeter),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_meter_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_meter_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_meter = g_type_register_static(GTK_TYPE_DRAWING_AREA,
+ "AgsMeter\0", &ags_meter_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_meter,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_meter);
+}
+
+void
+ags_meter_class_init(AgsMeterClass *meter)
+{
+}
+
+void
+ags_meter_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_meter_connect;
+ connectable->disconnect = ags_meter_disconnect;
+}
+
+void
+ags_meter_init(AgsMeter *meter)
+{
+ GtkWidget *widget;
+
+ widget = (GtkWidget *) meter;
+ gtk_widget_set_style(widget, meter_style);
+ gtk_widget_set_size_request(widget, 60, -1);
+ gtk_widget_set_events (GTK_WIDGET (meter), GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_BUTTON_RELEASE_MASK
+ );
+}
+
+void
+ags_meter_connect(AgsConnectable *connectable)
+{
+ AgsMeter *meter;
+
+ meter = AGS_METER(connectable);
+
+ g_signal_connect((GObject *) meter, "expose_event\0",
+ G_CALLBACK(ags_meter_expose_event), (gpointer) meter);
+
+ g_signal_connect((GObject *) meter, "configure_event\0",
+ G_CALLBACK(ags_meter_configure_event), (gpointer) meter);
+}
+
+void
+ags_meter_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_meter_paint(AgsMeter *meter)
+{
+ AgsEditor *editor;
+ GtkWidget *widget;
+ cairo_t *cr;
+ guint bitmap;
+ guint y[2];
+ guint i, i_stop, j, j0;
+ guint border_top;
+
+ widget = (GtkWidget *) meter;
+ editor = (AgsEditor *) gtk_widget_get_ancestor(widget, AGS_TYPE_EDITOR);
+
+ border_top = 24; // see ags_ruler.c
+
+ bitmap = 0x52a52a; // description of the keyboard
+
+ j = (guint) ceil(GTK_RANGE(editor->edit.note_edit->vscrollbar)->adjustment->value / (double) editor->edit.note_edit->control_height);
+ j = j % 12;
+
+ y[0] = (guint) round(GTK_RANGE(editor->edit.note_edit->vscrollbar)->adjustment->value) % editor->edit.note_edit->control_height;
+
+ if(y[0] != 0){
+ y[0] = editor->edit.note_edit->control_height - y[0];
+ }
+
+ y[1] = ((guint) (widget->allocation.height - border_top) - y[0]) % editor->edit.note_edit->control_height;
+ i_stop = ((widget->allocation.height - border_top) - y[0] - y[1]) / editor->edit.note_edit->control_height;
+
+ cr = gdk_cairo_create(widget->window);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ cairo_rectangle(cr, 0.0, (double) border_top, (double) widget->allocation.width, (double) widget->allocation.height - border_top);
+ cairo_fill(cr);
+
+ cairo_set_line_width(cr, 1.0);
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ if(y[0] != 0){
+ j0 = (j != 0) ? j -1: 11;
+
+ if(((1 << j0) & bitmap) != 0){
+ cairo_set_source_rgb(cr, 0.2, 0.2, 0.2);
+
+ cairo_rectangle(cr, 0.0, 0.0, 2.0 / 3.0 * (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ if(y[0] > editor->edit.note_edit->control_height / 2){
+ cairo_move_to(cr, 2.0 / 3.0 * (double) widget->allocation.width, (double) (y[0] - editor->edit.note_edit->control_height / 2) + border_top);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (y[0] - editor->edit.note_edit->control_height / 2) + border_top);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, border_top);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_stroke(cr);
+ }else{
+ if(((1 << (j0 + 1)) & bitmap) == 0){
+ cairo_move_to(cr, 0.0, (double) y[0]);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, border_top);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_stroke(cr);
+ }
+ }
+
+ for(i = 0; i < i_stop; i++){
+ if(((1 << j) & bitmap) != 0){
+ // draw semi tone key
+ cairo_set_source_rgb(cr, 0.2, 0.2, 0.2);
+
+ cairo_rectangle(cr, 0.0, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top), 2.0 / 3.0 * (double) widget->allocation.width, (double) editor->edit.note_edit->control_height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ cairo_move_to(cr, 2.0 / 3.0 * (double) widget->allocation.width, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top + editor->edit.note_edit->control_height / 2));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top + editor->edit.note_edit->control_height / 2));
+ cairo_stroke(cr);
+
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top + editor->edit.note_edit->control_height));
+ cairo_stroke(cr);
+ }else{
+ // no semi tone key
+ if(((1 << (j + 1)) & bitmap) == 0){
+ cairo_move_to(cr, 0.0, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top + editor->edit.note_edit->control_height));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top + editor->edit.note_edit->control_height));
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.note_edit->control_height + y[0] + border_top + editor->edit.note_edit->control_height));
+ cairo_stroke(cr);
+ }
+
+ if(j == 11)
+ j = 0;
+ else
+ j++;
+ }
+
+ if(y[1] != 0){
+ j0 = j;
+
+ if(((1 << j0) & bitmap) != 0){
+ cairo_set_source_rgb(cr, 0.2, 0.2, 0.2);
+
+ cairo_rectangle(cr, 0.0, (double) (widget->allocation.height - y[1]), 2.0 / 3.0 * (double) widget->allocation.width, (double) y[1]);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ if(y[1] > editor->edit.note_edit->control_height / 2){
+ cairo_move_to(cr, 2.0 / 3.0 * (double) widget->allocation.width, (double) (widget->allocation.height - y[1] + editor->edit.note_edit->control_height / 2));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) ((widget->allocation.height) - y[1] + editor->edit.note_edit->control_height / 2));
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (widget->allocation.height - y[1]));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) widget->allocation.height);
+ cairo_stroke(cr);
+ }else{
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (widget->allocation.height - y[1]));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) widget->allocation.height);
+ cairo_stroke(cr);
+ }
+ }
+}
+
+/**
+ * ags_meter_new:
+ *
+ * Create a new #AgsMeter.
+ *
+ * Since: 0.4
+ */
+AgsMeter*
+ags_meter_new()
+{
+ AgsMeter *meter;
+
+ meter = (AgsMeter *) g_object_new(AGS_TYPE_METER, NULL);
+
+ return(meter);
+}
diff --git a/src/ags/X/editor/ags_meter.h b/src/ags/X/editor/ags_meter.h
new file mode 100644
index 0000000..1a0f27d
--- /dev/null
+++ b/src/ags/X/editor/ags_meter.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#ifndef __AGS_METER_H__
+#define __AGS_METER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <cairo.h>
+
+#define AGS_TYPE_METER (ags_meter_get_type())
+#define AGS_METER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_METER, AgsMeter))
+#define AGS_METER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_METER, AgsMeterClass))
+#define AGS_IS_METER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_METER))
+#define AGS_IS_METER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_METER))
+#define AGS_METER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_METER, AgsMeterClass))
+
+typedef struct _AgsMeter AgsMeter;
+typedef struct _AgsMeterClass AgsMeterClass;
+
+struct _AgsMeter
+{
+ GtkDrawingArea drawing_area;
+};
+
+struct _AgsMeterClass
+{
+ GtkDrawingAreaClass drawing_area;
+};
+
+GType ags_meter_get_type(void);
+
+char* ags_meter_sound_string();
+void ags_meter_paint(AgsMeter *meter); // , guint rows, guint nth_y, guint y0
+
+AgsMeter* ags_meter_new();
+
+#endif /*__AGS_METER_H__*/
diff --git a/src/ags/X/editor/ags_meter_callbacks.c b/src/ags/X/editor/ags_meter_callbacks.c
new file mode 100644
index 0000000..9fc41ee
--- /dev/null
+++ b/src/ags/X/editor/ags_meter_callbacks.c
@@ -0,0 +1,39 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_meter_callbacks.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <math.h>
+
+gboolean
+ags_meter_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsMeter *meter)
+{
+ ags_meter_paint(meter);
+
+ return(TRUE);
+}
+
+gboolean
+ags_meter_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsMeter *meter)
+{
+ ags_meter_paint(meter);
+
+ return(FALSE);
+}
diff --git a/src/ags/X/editor/ags_meter_callbacks.h b/src/ags/X/editor/ags_meter_callbacks.h
new file mode 100644
index 0000000..4bddad5
--- /dev/null
+++ b/src/ags/X/editor/ags_meter_callbacks.h
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_METER_CALLBACKS_H__
+#define __AGS_METER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_meter.h>
+
+gboolean ags_meter_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsMeter *meter);
+gboolean ags_meter_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsMeter *meter);
+
+#endif /*__AGS_METER_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_note_edit.c b/src/ags/X/editor/ags_note_edit.c
new file mode 100644
index 0000000..2570ddb
--- /dev/null
+++ b/src/ags/X/editor/ags_note_edit.c
@@ -0,0 +1,900 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011, 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_note_edit.h>
+#include <ags/X/editor/ags_note_edit_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <ags/X/editor/ags_note_edit.h>
+
+void ags_note_edit_class_init(AgsNoteEditClass *note_edit);
+void ags_note_edit_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_note_edit_init(AgsNoteEdit *note_edit);
+void ags_note_edit_connect(AgsConnectable *connectable);
+void ags_note_edit_disconnect(AgsConnectable *connectable);
+
+void ags_note_edit_paint(AgsNoteEdit *note_edit);
+
+/**
+ * SECTION:ags_note_edit
+ * @short_description: edit notes
+ * @title: AgsNoteEdit
+ * @section_id:
+ * @include: ags/X/editor/ags_note_edit.h
+ *
+ * The #AgsNoteEdit lets you edit notes.
+ */
+
+GtkStyle *note_edit_style;
+
+GType
+ags_note_edit_get_type(void)
+{
+ static GType ags_type_note_edit = 0;
+
+ if(!ags_type_note_edit){
+ static const GTypeInfo ags_note_edit_info = {
+ sizeof (AgsNoteEditClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_note_edit_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsNoteEdit),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_note_edit_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_note_edit_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_note_edit = g_type_register_static(GTK_TYPE_TABLE,
+ "AgsNoteEdit\0", &ags_note_edit_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_note_edit,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_note_edit);
+}
+
+void
+ags_note_edit_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_note_edit_connect;
+ connectable->disconnect = ags_note_edit_disconnect;
+}
+
+void
+ags_note_edit_class_init(AgsNoteEditClass *note_edit)
+{
+}
+
+void
+ags_note_edit_init(AgsNoteEdit *note_edit)
+{
+ GtkAdjustment *adjustment;
+
+ note_edit->flags = 0;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+
+ note_edit->ruler = ags_ruler_new();
+ gtk_table_attach(GTK_TABLE(note_edit), (GtkWidget *) note_edit->ruler,
+ 0, 1, 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL,
+ 0, 0);
+
+ note_edit->drawing_area = (GtkDrawingArea *) gtk_drawing_area_new();
+ gtk_widget_set_style((GtkWidget *) note_edit->drawing_area, note_edit_style);
+ gtk_widget_set_events (GTK_WIDGET (note_edit->drawing_area), GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_BUTTON_RELEASE_MASK
+ | GDK_POINTER_MOTION_MASK
+ | GDK_POINTER_MOTION_HINT_MASK
+ );
+
+ gtk_table_attach(GTK_TABLE(note_edit), (GtkWidget *) note_edit->drawing_area,
+ 0, 1, 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ note_edit->control.note = ags_note_new();
+
+ note_edit->width = 0;
+ note_edit->height = 0;
+ note_edit->map_width = AGS_NOTE_EDIT_MAX_CONTROLS * 64;
+ note_edit->map_height = 78;
+
+ note_edit->control_height = 14;
+ note_edit->control_margin_y = 2;
+
+ note_edit->control_width = 16;
+
+ note_edit->y0 = 0;
+ note_edit->y1 = 0;
+
+ note_edit->nth_y = 0;
+ note_edit->stop_y = 0;
+
+ /* AgsNoteEditControlCurrent is used by ags_note_edit_draw_segment */
+ note_edit->control_current.control_count = AGS_NOTE_EDIT_MAX_CONTROLS;
+ note_edit->control_current.control_width = 64;
+
+ note_edit->control_current.x0 = 0;
+ note_edit->control_current.x1 = 0;
+
+ note_edit->control_current.nth_x = 0;
+
+ /* AgsNoteEditControlUnit is used by ags_note_edit_draw_notation */
+ note_edit->control_unit.control_count = 16 * AGS_NOTE_EDIT_MAX_CONTROLS;
+ note_edit->control_unit.control_width = 1 * 4;
+
+ note_edit->control_unit.x0 = 0;
+ note_edit->control_unit.x1 = 0;
+
+ note_edit->control_unit.nth_x = 0;
+ note_edit->control_unit.stop_x = 0;
+
+ /* offset for pasting from clipboard */
+ note_edit->selected_x = 0;
+ note_edit->selected_y = 0;
+
+ /* GtkScrollbars */
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+ note_edit->vscrollbar = (GtkVScrollbar *) gtk_vscrollbar_new(adjustment);
+ gtk_table_attach(GTK_TABLE(note_edit), (GtkWidget *) note_edit->vscrollbar,
+ 1, 2, 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+ note_edit->hscrollbar = (GtkHScrollbar *) gtk_hscrollbar_new(adjustment);
+ gtk_table_attach(GTK_TABLE(note_edit), (GtkWidget *) note_edit->hscrollbar,
+ 0, 1, 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+}
+
+void
+ags_note_edit_connect(AgsConnectable *connectable)
+{
+ AgsNoteEdit *note_edit;
+
+ note_edit = AGS_NOTE_EDIT(connectable);
+
+ g_signal_connect_after((GObject *) note_edit->drawing_area, "expose_event\0",
+ G_CALLBACK (ags_note_edit_drawing_area_expose_event), (gpointer) note_edit);
+
+ g_signal_connect_after((GObject *) note_edit->drawing_area, "configure_event\0",
+ G_CALLBACK (ags_note_edit_drawing_area_configure_event), (gpointer) note_edit);
+
+ g_signal_connect((GObject *) note_edit->drawing_area, "button_press_event\0",
+ G_CALLBACK (ags_note_edit_drawing_area_button_press_event), (gpointer) note_edit);
+
+ g_signal_connect((GObject *) note_edit->drawing_area, "button_release_event\0",
+ G_CALLBACK (ags_note_edit_drawing_area_button_release_event), (gpointer) note_edit);
+
+ g_signal_connect((GObject *) note_edit->drawing_area, "motion_notify_event\0",
+ G_CALLBACK (ags_note_edit_drawing_area_motion_notify_event), (gpointer) note_edit);
+
+ g_signal_connect_after((GObject *) note_edit->vscrollbar, "value-changed\0",
+ G_CALLBACK (ags_note_edit_vscrollbar_value_changed), (gpointer) note_edit);
+
+ g_signal_connect_after((GObject *) note_edit->hscrollbar, "value-changed\0",
+ G_CALLBACK (ags_note_edit_hscrollbar_value_changed), (gpointer) note_edit);
+
+}
+
+void
+ags_note_edit_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_note_edit_set_map_height:
+ * @note_edit: the #AgsNoteEdit
+ * @map_height: the new height
+ *
+ * Set the map height in pixel.
+ *
+ * Since: 0.4
+ */
+void
+ags_note_edit_set_map_height(AgsNoteEdit *note_edit, guint map_height)
+{
+ note_edit->map_height = map_height;
+
+ note_edit->flags |= AGS_NOTE_EDIT_RESETING_VERTICALLY;
+ ags_note_edit_reset_vertically(note_edit, AGS_NOTE_EDIT_RESET_VSCROLLBAR);
+ note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_VERTICALLY);
+
+ note_edit->flags |= AGS_NOTE_EDIT_RESETING_HORIZONTALLY;
+ ags_note_edit_reset_horizontally(note_edit, AGS_NOTE_EDIT_RESET_HSCROLLBAR);
+ note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_HORIZONTALLY);
+}
+
+/**
+ * ags_note_edit_reset_vertically:
+ * @note_edit: the #AgsNoteEdit
+ * @flags: the #AgsNoteEditResetFlags
+ *
+ * Reset @note_edit as configured vertically.
+ *
+ * Since: 0.4
+ */
+void
+ags_note_edit_reset_vertically(AgsNoteEdit *note_edit, guint flags)
+{
+ AgsEditor *editor;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL){
+ cairo_t *cr;
+ gdouble value;
+
+ value = GTK_RANGE(note_edit->vscrollbar)->adjustment->value;
+
+ if((AGS_NOTE_EDIT_RESET_VSCROLLBAR & flags) != 0){
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+ guint height;
+
+ widget = GTK_WIDGET(note_edit->drawing_area);
+ adjustment = GTK_RANGE(note_edit->vscrollbar)->adjustment;
+
+ if(note_edit->map_height > widget->allocation.height){
+ height = widget->allocation.height;
+ gtk_adjustment_set_upper(adjustment,
+ (gdouble) (note_edit->map_height - height));
+ gtk_adjustment_set_value(adjustment, 0.0);
+ }else{
+ height = note_edit->map_height;
+
+ gtk_adjustment_set_upper(adjustment, 0.0);
+ gtk_adjustment_set_value(adjustment, 0.0);
+ }
+
+ note_edit->height = height;
+ }
+
+ note_edit->y0 = ((guint) round((double) value)) % note_edit->control_height;
+
+ if(note_edit->y0 != 0){
+ note_edit->y0 = note_edit->control_height - note_edit->y0;
+ }
+
+ note_edit->y1 = (note_edit->height - note_edit->y0) % note_edit->control_height;
+
+ note_edit->nth_y = (guint) ceil(round((double) value) / (double)(note_edit->control_height));
+ note_edit->stop_y = note_edit->nth_y + (note_edit->height - note_edit->y0 - note_edit->y1) / note_edit->control_height;
+
+ /* refresh display */
+ if(GTK_WIDGET_VISIBLE(editor)){
+ cr = gdk_cairo_create(GTK_WIDGET(note_edit->drawing_area)->window);
+ cairo_push_group(cr);
+
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+
+ if(editor->toolbar->selected_edit_mode == editor->toolbar->position){
+ ags_note_edit_draw_position(note_edit, cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+ }
+}
+
+/**
+ * ags_note_edit_reset_horizontally:
+ * @note_edit: the #AgsNoteEdit
+ * @flags: the #AgsNoteEditResetFlags
+ *
+ * Reset @note_edit as configured horizontally.
+ *
+ * Since: 0.4
+ */
+void
+ags_note_edit_reset_horizontally(AgsNoteEdit *note_edit, guint flags)
+{
+ AgsEditor *editor;
+ double tact_factor, zoom_factor;
+ double tact;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ zoom_factor = 1.0 / 4.0;
+
+ tact_factor = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+ tact = exp2((double) gtk_combo_box_get_active(editor->toolbar->zoom) - 4.0);
+
+ if((AGS_NOTE_EDIT_RESET_WIDTH & flags) != 0){
+ note_edit->control_unit.control_width = (guint) (((double) note_edit->control_width * zoom_factor * tact));
+
+ note_edit->control_current.control_count = (guint) ((double) note_edit->control_unit.control_count * tact);
+ note_edit->control_current.control_width = (note_edit->control_width * zoom_factor * tact_factor * tact);
+
+ note_edit->map_width = (guint) ((double) note_edit->control_current.control_count * (double) note_edit->control_current.control_width);
+ /* reset ruler */
+ note_edit->ruler->factor = tact_factor;
+ note_edit->ruler->precision = tact;
+ note_edit->ruler->scale_precision = 1.0 / tact;
+
+ gtk_widget_queue_draw(note_edit->ruler);
+ }
+
+ if(editor->selected_machine != NULL){
+ cairo_t *cr;
+ gdouble value;
+
+ value = GTK_RANGE(note_edit->hscrollbar)->adjustment->value;
+
+ if((AGS_NOTE_EDIT_RESET_HSCROLLBAR & flags) != 0){
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+ guint width;
+
+ widget = GTK_WIDGET(note_edit->drawing_area);
+ adjustment = GTK_RANGE(note_edit->hscrollbar)->adjustment;
+
+ if(note_edit->map_width > widget->allocation.width){
+ width = widget->allocation.width;
+ // gtk_adjustment_set_upper(adjustment, (double) (note_edit->map_width - width));
+ gtk_adjustment_set_upper(adjustment,
+ (gdouble) (note_edit->map_width - width));
+ gtk_adjustment_set_upper(note_edit->ruler->adjustment,
+ (gdouble) (note_edit->map_width - width) / note_edit->control_current.control_width);
+
+ if(adjustment->value > adjustment->upper){
+ gtk_adjustment_set_value(adjustment, adjustment->upper);
+
+ /* reset ruler */
+ gtk_adjustment_set_value(note_edit->ruler->adjustment, note_edit->ruler->adjustment->upper);
+ gtk_widget_queue_draw(note_edit->ruler);
+ }
+ }else{
+ width = note_edit->map_width;
+
+ gtk_adjustment_set_upper(adjustment, 0.0);
+ gtk_adjustment_set_value(adjustment, 0.0);
+
+ /* reset ruler */
+ gtk_adjustment_set_upper(note_edit->ruler->adjustment, 0.0);
+ gtk_adjustment_set_value(note_edit->ruler->adjustment, 0.0);
+ gtk_widget_queue_draw(note_edit->ruler);
+ }
+
+ note_edit->width = width;
+ }
+
+ /* reset AgsNoteEditControlCurrent */
+ if(note_edit->map_width > note_edit->width){
+ note_edit->control_current.x0 = ((guint) round((double) value)) % note_edit->control_current.control_width;
+
+ if(note_edit->control_current.x0 != 0){
+ note_edit->control_current.x0 = note_edit->control_current.control_width - note_edit->control_current.x0;
+ }
+
+ note_edit->control_current.x1 = (note_edit->width - note_edit->control_current.x0) % note_edit->control_current.control_width;
+
+ note_edit->control_current.nth_x = (guint) ceil((double)(value) / (double)(note_edit->control_current.control_width));
+ }else{
+ note_edit->control_current.x0 = 0;
+ note_edit->control_current.x1 = 0;
+ note_edit->control_current.nth_x = 0;
+ }
+
+ /* reset AgsNoteEditControlUnit */
+ if(note_edit->map_width > note_edit->width){
+ note_edit->control_unit.x0 = ((guint)round((double) value)) % note_edit->control_unit.control_width;
+
+ if(note_edit->control_unit.x0 != 0)
+ note_edit->control_unit.x0 = note_edit->control_unit.control_width - note_edit->control_unit.x0;
+
+ note_edit->control_unit.x1 = (note_edit->width - note_edit->control_unit.x0) % note_edit->control_unit.control_width;
+
+ note_edit->control_unit.nth_x = (guint) ceil(round((double) value) / (double) (note_edit->control_unit.control_width));
+ note_edit->control_unit.stop_x = note_edit->control_unit.nth_x + (note_edit->width - note_edit->control_unit.x0 - note_edit->control_unit.x1) / note_edit->control_unit.control_width;
+ }else{
+ note_edit->control_unit.x0 = 0;
+ note_edit->control_unit.x1 = 0;
+ note_edit->control_unit.nth_x = 0;
+ }
+
+ /* refresh display */
+ if(GTK_WIDGET_VISIBLE(editor)){
+ gdouble position;
+
+ cr = gdk_cairo_create(GTK_WIDGET(note_edit->drawing_area)->window);
+ cairo_push_group(cr);
+
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+
+ if(editor->toolbar->selected_edit_mode == editor->toolbar->position){
+ ags_note_edit_draw_position(note_edit, cr);
+ }
+
+ //TODO:JK: implement me
+ // position = gtk_range_get_value(GTK_RANGE(note_edit->hscrollbar));
+ // position -= floor(position / note_edit->control_current.control_width);
+ // ags_note_edit_draw_scroll(note_edit, cr,
+ // position);
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+ }
+}
+
+/**
+ * ags_note_edit_draw_segment:
+ * @note_edit: the #AgsNoteEdit
+ * @cr: the #cairo_t surface
+ *
+ * Draws horizontal and vertical lines.
+ *
+ * Since: 0.4
+ */
+void
+ags_note_edit_draw_segment(AgsNoteEdit *note_edit, cairo_t *cr)
+{
+ AgsEditor *editor;
+ GtkWidget *widget;
+ double tact;
+ guint i, j;
+ guint j_set;
+
+ widget = (GtkWidget *) note_edit->drawing_area;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+ cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) widget->allocation.height);
+ cairo_fill(cr);
+
+ cairo_set_line_width(cr, 1.0);
+
+ cairo_set_source_rgb(cr, 0.8, 0.8, 0.8);
+
+ for(i = note_edit->y0 ; i < note_edit->height;){
+ cairo_move_to(cr, 0.0, (double) i);
+ cairo_line_to(cr, (double) note_edit->width, (double) i);
+ cairo_stroke(cr);
+
+ i += note_edit->control_height;
+ }
+
+ cairo_move_to(cr, 0.0, (double) i);
+ cairo_line_to(cr, (double) note_edit->width, (double) i);
+ cairo_stroke(cr);
+
+ tact = exp2((double) gtk_combo_box_get_active(editor->toolbar->zoom) - 4.0);
+
+ i = note_edit->control_current.x0;
+
+ if(i < note_edit->width &&
+ tact > 1.0 ){
+ j_set = note_edit->control_current.nth_x % ((guint) tact);
+ cairo_set_source_rgb(cr, 0.6, 0.6, 0.6);
+
+ if(j_set != 0){
+ j = j_set;
+ goto ags_note_edit_draw_segment0;
+ }
+ }
+
+ for(; i < note_edit->width; ){
+ cairo_set_source_rgb(cr, 1.0, 1.0, 0.0);
+
+ cairo_move_to(cr, (double) i, 0.0);
+ cairo_line_to(cr, (double) i, (double) note_edit->height);
+ cairo_stroke(cr);
+
+ i += note_edit->control_current.control_width;
+
+ cairo_set_source_rgb(cr, 0.6, 0.6, 0.6);
+
+ for(j = 1; i < note_edit->width && j < tact; j++){
+ ags_note_edit_draw_segment0:
+ cairo_move_to(cr, (double) i, 0.0);
+ cairo_line_to(cr, (double) i, (double) note_edit->height);
+ cairo_stroke(cr);
+
+ i += note_edit->control_current.control_width;
+ }
+ }
+}
+
+/**
+ * ags_note_edit_draw_position:
+ * @note_edit: the #AgsNoteEdit
+ * @cr: the #cairo_t surface
+ *
+ * Draws the cursor.
+ *
+ * Since: 0.4
+ */
+void
+ags_note_edit_draw_position(AgsNoteEdit *note_edit, cairo_t *cr)
+{
+ guint selected_x, selected_y;
+ guint x_offset[2], y_offset[2];
+ guint x, y, width, height;
+ gint size_width, size_height;
+
+ selected_x = note_edit->selected_x * note_edit->control_unit.control_width;
+ selected_y = note_edit->selected_y * note_edit->control_height;
+
+ size_width = GTK_WIDGET(note_edit->drawing_area)->allocation.width;
+ size_height = GTK_WIDGET(note_edit->drawing_area)->allocation.height;
+
+ x_offset[0] = (guint) gtk_range_get_value(GTK_RANGE(note_edit->hscrollbar));
+ x_offset[1] = x_offset[0] + (guint) size_width;
+
+ y_offset[0] = (guint) gtk_range_get_value(GTK_RANGE(note_edit->vscrollbar));
+ y_offset[1] = y_offset[0] + (guint) size_height;
+
+ /* calculate horizontally values */
+ if(selected_x < x_offset[0]){
+ if(selected_x + note_edit->control_current.control_width > x_offset[0]){
+ x = 0;
+ width = selected_x + note_edit->control_current.control_width - x_offset[0];
+ }else{
+ return;
+ }
+ }else if(selected_x > x_offset[1]){
+ return;
+ }else{
+ x = selected_x - x_offset[0];
+
+ if(selected_x + note_edit->control_current.control_width < x_offset[1]){
+ width = note_edit->control_current.control_width;
+ }else{
+ width = x_offset[1] - (selected_x + note_edit->control_current.control_width);
+ }
+ }
+
+ /* calculate vertically values */
+ if(selected_y < y_offset[0]){
+ if(selected_y + note_edit->control_height > y_offset[0]){
+ y = 0;
+ height = selected_y + note_edit->control_height - y_offset[0];
+ }else{
+ return;
+ }
+ }else if(selected_y > y_offset[1]){
+ return;
+ }else{
+ y = selected_y - y_offset[0];
+
+ if(selected_y + note_edit->control_height < y_offset[1]){
+ height = note_edit->control_height;
+ }else{
+ height = y_offset[1] - (selected_y + note_edit->control_height);
+ }
+ }
+
+ /* draw */
+ cairo_set_source_rgba(cr, 0.25, 0.5, 1.0, 0.5);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+}
+
+/**
+ * ags_note_edit_draw_notation:
+ * @note_edit: the #AgsNoteEdit
+ * @cr: the #cairo_t surface
+ *
+ * Draw the #AgsNotation of selected #AgsMachine on @note_edit.
+ *
+ * Since: 0.4
+ */
+void
+ags_note_edit_draw_notation(AgsNoteEdit *note_edit, cairo_t *cr)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ GtkWidget *widget;
+ AgsNote *note;
+ GList *list_notation, *list_note;
+ guint x_offset;
+ guint control_height;
+ guint x, y, width, height;
+ gint selected_channel;
+ gint i;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine == NULL ||
+ (machine = editor->selected_machine) == NULL ||
+ machine->audio->notation == NULL)
+ return;
+
+ widget = (GtkWidget *) note_edit->drawing_area;
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+
+ i = 0;
+
+ while((selected_channel = ags_notebook_next_active_tab(editor->notebook,
+ i)) != -1){
+ list_notation = g_list_nth(machine->audio->notation,
+ selected_channel);
+ list_note = AGS_NOTATION(list_notation->data)->notes;
+
+ control_height = note_edit->control_height - 2 * note_edit->control_margin_y;
+
+ x_offset = (guint) GTK_RANGE(note_edit->hscrollbar)->adjustment->value;
+
+ /* draw controls smaller than note_edit->nth_x */
+ while(list_note != NULL && (note = (AgsNote *) list_note->data)->x[0] < note_edit->control_unit.nth_x){
+ if(note->x[1] >= note_edit->control_unit.nth_x){
+ if(note->y >= note_edit->nth_y && note->y <= note_edit->stop_y){
+ x = 0;
+ y = (note->y - note_edit->nth_y) * note_edit->control_height + note_edit->y0 + note_edit->control_margin_y;
+
+ width = (guint) ((double) note->x[1] * note_edit->control_unit.control_width - (double) x_offset);
+
+ if(width > widget->allocation.width)
+ width = widget->allocation.width;
+
+ height = control_height;
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }else if(note->y == (note_edit->nth_y - 1) && note_edit->y0 != 0){
+ if(note_edit->y0 > note_edit->control_margin_y){
+ x = 0;
+ width = (guint) ((double) note->x[1] * (double) note_edit->control_unit.control_width - x_offset);
+
+ if(width > widget->allocation.width)
+ width = widget->allocation.width;
+
+ if(note_edit->y0 > control_height + note_edit->control_margin_y){
+ y = note_edit->y0 - (control_height + note_edit->control_margin_y);
+ height = control_height;
+ }else{
+ y = 0;
+ height = note_edit->y0 - note_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }else if(note->y == (note_edit->stop_y + 1) && note_edit->y1 != 0){
+ if(note_edit->y1 > note_edit->control_margin_y){
+ x = 0;
+ width = note->x[1] * note_edit->control_unit.control_width - x_offset;
+
+ if(width > widget->allocation.width)
+ width = widget->allocation.width;
+
+ y = (note->y - note_edit->nth_y) * note_edit->control_height + note_edit->control_margin_y;
+
+ if(note_edit->y1 > control_height + note_edit->control_margin_y){
+ height = control_height;
+ }else{
+ height = note_edit->y1 - note_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }
+ }
+
+ list_note = list_note->next;
+ }
+
+ /* draw controls equal or greater than note_edit->nth_x */
+ while(list_note != NULL && (note = (AgsNote *) list_note->data)->x[0] <= note_edit->control_unit.stop_x){
+ if(note->y >= note_edit->nth_y && note->y <= note_edit->stop_y){
+ x = (guint) note->x[0] * note_edit->control_unit.control_width;
+ y = (note->y - note_edit->nth_y) * note_edit->control_height +
+ note_edit->y0 +
+ note_edit->control_margin_y;
+
+ width = note->x[1] * note_edit->control_unit.control_width - x;
+ x -= x_offset;
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ height = control_height;
+
+ /* draw note*/
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }else if(note->y == (note_edit->nth_y - 1) && note_edit->y0 != 0){
+ if(note_edit->y0 > note_edit->control_margin_y){
+ x = note->x[0] * note_edit->control_unit.control_width - x_offset;
+ width = note->x[1] * note_edit->control_unit.control_width - x_offset - x;
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ if(note_edit->y0 > control_height + note_edit->control_margin_y){
+ y = note_edit->y0 - (control_height + note_edit->control_margin_y);
+ height = control_height;
+ }else{
+ y = 0;
+ height = note_edit->y0 - note_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }else if(note->y == (note_edit->stop_y + 1) && note_edit->y1 != 0){
+ if(note_edit->y1 > note_edit->control_margin_y){
+ x = note->x[0] * note_edit->control_unit.control_width - x_offset;
+ width = note->x[1] * note_edit->control_unit.control_width - x_offset - x;
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ y = (note->y - note_edit->nth_y) * note_edit->control_height + note_edit->control_margin_y;
+
+ if(note_edit->y1 > control_height + note_edit->control_margin_y){
+ height = control_height;
+ }else{
+ height = note_edit->y1 - note_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }
+
+ list_note = list_note->next;
+ }
+
+ i++;
+ }
+}
+
+/**
+ * ags_note_edit_draw_scroll:
+ * @note_edit: the #AgsNoteEdit
+ * @cr: the #cairo_t surface
+ * @position: the new position
+ *
+ * Change visible x-position of @note_edit.
+ *
+ * Since: 0.4
+ */
+void
+ags_note_edit_draw_scroll(AgsNoteEdit *note_edit, cairo_t *cr,
+ gdouble position)
+{
+ double x, y;
+ double width, height;
+
+ y = 0.0;
+ x = (position) - (GTK_RANGE(note_edit->hscrollbar)->adjustment->value * note_edit->control_current.control_width);
+
+ height = (double) GTK_WIDGET(note_edit->drawing_area)->allocation.height;
+ width = 3.0;
+
+ /* draw */
+ cairo_set_source_rgba(cr, 0.79, 0.0, 1.0, 0.5);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+}
+
+/**
+ * ags_note_edit_new:
+ *
+ * Create a new #AgsNoteEdit.
+ *
+ * Since: 0.4
+ */
+AgsNoteEdit*
+ags_note_edit_new()
+{
+ AgsNoteEdit *note_edit;
+
+ note_edit = (AgsNoteEdit *) g_object_new(AGS_TYPE_NOTE_EDIT, NULL);
+
+ return(note_edit);
+}
+
diff --git a/src/ags/X/editor/ags_note_edit.h b/src/ags/X/editor/ags_note_edit.h
new file mode 100644
index 0000000..793fb31
--- /dev/null
+++ b/src/ags/X/editor/ags_note_edit.h
@@ -0,0 +1,150 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011, 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NOTE_EDIT_H__
+#define __AGS_NOTE_EDIT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_ruler.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_NOTE_EDIT (ags_note_edit_get_type())
+#define AGS_NOTE_EDIT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTE_EDIT, AgsNoteEdit))
+#define AGS_NOTE_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTE_EDIT, AgsNoteEditClass))
+#define AGS_IS_NOTE_EDIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NOTE_EDIT))
+#define AGS_IS_NOTE_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_NOTE_EDIT))
+#define AGS_NOTE_EDIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_NOTE_EDIT, AgsNoteEditClass))
+
+#define AGS_NOTE_EDIT_MAX_CONTROLS (400) // gives you 400 * 16
+
+typedef struct _AgsNoteEdit AgsNoteEdit;
+typedef struct _AgsNoteEditClass AgsNoteEditClass;
+
+typedef enum{
+ AGS_NOTE_EDIT_RESETING_VERTICALLY = 1,
+ AGS_NOTE_EDIT_RESETING_HORIZONTALLY = 1 << 1,
+ AGS_NOTE_EDIT_POSITION_CURSOR = 1 << 2,
+ AGS_NOTE_EDIT_ADDING_NOTE = 1 << 3,
+ AGS_NOTE_EDIT_DELETING_NOTE = 1 << 4,
+ AGS_NOTE_EDIT_SELECTING_NOTES = 1 << 5,
+}AgsNoteEditFlags;
+
+typedef enum{
+ AGS_NOTE_EDIT_RESET_VSCROLLBAR = 1,
+ AGS_NOTE_EDIT_RESET_HSCROLLBAR = 1 << 1,
+ AGS_NOTE_EDIT_RESET_WIDTH = 1 << 2,
+ AGS_NOTE_EDIT_RESET_HEIGHT = 1 << 3, // reserved
+}AgsNoteEditResetFlags;
+
+struct _AgsNoteEdit
+{
+ GtkTable table;
+
+ guint flags;
+
+ AgsRuler *ruler;
+ GtkDrawingArea *drawing_area;
+
+ struct _AgsNoteEditControl{ // values retrieved by mouse pressed and released callback
+ AgsNote *note;
+
+ guint x0_offset;
+ guint y0_offset;
+ guint x0;
+ guint y0;
+
+ guint x1_offset;
+ guint y1_offset;
+ guint x1;
+ guint y1;
+ }control;
+
+ guint width;
+ guint height;
+ guint map_width;
+ guint map_height;
+
+ guint control_height;
+ guint control_margin_y;
+
+ guint control_width;
+
+ guint y0;
+ guint y1;
+
+ guint nth_y;
+ guint stop_y;
+
+ struct _AgsNoteEditControlCurrent{ // values for drawing refering to current tic and zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ }control_current;
+
+ struct _AgsNoteEditControlUnit{ // values for drawing refering to smallest tic and current zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ guint stop_x;
+ }control_unit;
+
+ guint selected_x;
+ guint selected_y;
+
+ GtkVScrollbar *vscrollbar;
+ GtkHScrollbar *hscrollbar;
+};
+
+struct _AgsNoteEditClass
+{
+ GtkTableClass table;
+};
+
+GType ags_note_edit_get_type(void);
+
+void ags_note_edit_set_map_height(AgsNoteEdit *note_edit, guint map_height);
+
+void ags_note_edit_reset_vertically(AgsNoteEdit *note_edit, guint flags);
+void ags_note_edit_reset_horizontally(AgsNoteEdit *note_edit, guint flags);
+
+void ags_note_edit_draw_segment(AgsNoteEdit *note_edit, cairo_t *cr);
+void ags_note_edit_draw_position(AgsNoteEdit *note_edit, cairo_t *cr);
+void ags_note_edit_draw_notation(AgsNoteEdit *note_edit, cairo_t *cr);
+
+void ags_note_edit_draw_scroll(AgsNoteEdit *note_edit, cairo_t *cr,
+ gdouble position);
+
+AgsNoteEdit* ags_note_edit_new();
+
+#endif /*__AGS_NOTE_EDIT_H__*/
diff --git a/src/ags/X/editor/ags_note_edit_callbacks.c b/src/ags/X/editor/ags_note_edit_callbacks.c
new file mode 100644
index 0000000..d8d1bbf
--- /dev/null
+++ b/src/ags/X/editor/ags_note_edit_callbacks.c
@@ -0,0 +1,774 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_note_edit_callbacks.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <ags/X/machine/ags_panel.h>
+#include <ags/X/machine/ags_mixer.h>
+#include <ags/X/machine/ags_drum.h>
+#include <ags/X/machine/ags_matrix.h>
+#include <ags/X/machine/ags_synth.h>
+#include <ags/X/machine/ags_ffplayer.h>
+
+gboolean
+ags_note_edit_drawing_area_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsNoteEdit *note_edit)
+{
+ AgsEditor *editor;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL){
+ AgsMachine *machine;
+
+ machine = editor->selected_machine;
+
+ if(machine != NULL){
+ cairo_t *cr;
+
+ cr = gdk_cairo_create(widget->window);
+ cairo_push_group(cr);
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+ }
+
+ if(editor->toolbar->selected_edit_mode == editor->toolbar->position){
+ ags_note_edit_draw_position(note_edit, cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+ }
+
+ return(TRUE);
+}
+
+gboolean
+ags_note_edit_drawing_area_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsNoteEdit *note_edit)
+{
+ note_edit->flags |= AGS_NOTE_EDIT_RESETING_VERTICALLY;
+ ags_note_edit_reset_vertically(note_edit, AGS_NOTE_EDIT_RESET_VSCROLLBAR);
+ note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_VERTICALLY);
+
+ note_edit->flags |= AGS_NOTE_EDIT_RESETING_HORIZONTALLY;
+ ags_note_edit_reset_horizontally(note_edit, AGS_NOTE_EDIT_RESET_HSCROLLBAR);
+ note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_HORIZONTALLY);
+
+ return(FALSE);
+}
+
+gboolean
+ags_note_edit_drawing_area_button_press_event (GtkWidget *widget, GdkEventButton *event, AgsNoteEdit *note_edit)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ double tact, zoom;
+
+ auto void ags_note_edit_drawing_area_button_press_event_set_control();
+
+ void ags_note_edit_drawing_area_button_press_event_set_control(){
+ AgsNote *note;
+ guint note_offset_x0, note_offset_y0;
+ guint note_x, note_y;
+
+ if(note_edit->control.y0 >= note_edit->map_height || note_edit->control.x0 >= note_edit->map_width)
+ return;
+
+ note_offset_x0 = (guint) (ceil((double) (note_edit->control.x0_offset) / (double) (note_edit->control_current.control_width)));
+
+ if(note_edit->control.x0 >= note_edit->control_current.x0)
+ note_x = (guint) (floor((double) (note_edit->control.x0 - note_edit->control_current.x0) / (double) (note_edit->control_current.control_width)));
+ else{
+ note_offset_x0 -= 1;
+ note_x = 0;
+ }
+
+ note_offset_y0 = (guint) ceil((double) (note_edit->control.y0_offset) / (double) (note_edit->control_height));
+
+ if(note_edit->control.y0 >= note_edit->y0)
+ note_y = (guint) floor((double) (note_edit->control.y0 - note_edit->y0) / (double) (note_edit->control_height));
+ else{
+ note_offset_y0 -= 1;
+ note_y = 0;
+ }
+
+ note = note_edit->control.note;
+ note->flags = AGS_NOTE_GUI;
+ note->x[0] = (note_x * tact) + (note_offset_x0 * tact);
+ note->x[1] = (guint) note->x[0] + 1;
+ note->y = note_y + note_offset_y0;
+ }
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL &&
+ event->button == 1 &&
+ (machine = editor->selected_machine) != NULL){
+ AgsToolbar *toolbar;
+
+ toolbar = editor->toolbar;
+
+ if(toolbar->selected_edit_mode == toolbar->position){
+ note_edit->flags |= AGS_NOTE_EDIT_POSITION_CURSOR;
+ }else if(toolbar->selected_edit_mode == toolbar->edit){
+ note_edit->flags |= AGS_NOTE_EDIT_ADDING_NOTE;
+ }else if(toolbar->selected_edit_mode == toolbar->clear){
+ note_edit->flags |= AGS_NOTE_EDIT_DELETING_NOTE;
+ }else if(toolbar->selected_edit_mode == toolbar->select){
+ note_edit->flags |= AGS_NOTE_EDIT_SELECTING_NOTES;
+ }
+
+ /* store the events position */
+ note_edit->control.x0_offset = (guint) round((double) GTK_RANGE(note_edit->hscrollbar)->adjustment->value);
+ note_edit->control.y0_offset = (guint) round((double) GTK_RANGE(note_edit->vscrollbar)->adjustment->value);
+
+ note_edit->control.x0 = (guint) event->x;
+ note_edit->control.y0 = (guint) event->y;
+
+ if((AGS_NOTE_EDIT_ADDING_NOTE & (note_edit->flags)) != 0 ||
+ (AGS_NOTE_EDIT_POSITION_CURSOR & (note_edit->flags)) != 0){
+ tact = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_note_edit_drawing_area_button_press_event_set_control();
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_note_edit_drawing_area_button_press_event_set_control();
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_note_edit_drawing_area_button_press_event_set_control();
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_note_edit_drawing_area_button_press_event_set_control();
+ }
+ }
+ }
+
+ return(TRUE);
+}
+
+gboolean
+ags_note_edit_drawing_area_button_release_event(GtkWidget *widget, GdkEventButton *event, AgsNoteEdit *note_edit)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ AgsNote *note, *note0;
+ double tact;
+
+ auto void ags_note_edit_drawing_area_button_release_event_set_control();
+ auto void ags_note_edit_drawing_area_button_release_event_draw_control(cairo_t *cr);
+ auto void ags_note_edit_drawing_area_button_release_event_delete_point();
+ auto void ags_note_edit_drawing_area_button_release_event_select_region();
+
+ void ags_note_edit_drawing_area_button_release_event_set_control(){
+ GList *list_notation;
+ guint note_x, note_y;
+ guint note_offset_x1;
+ gint history;
+ gint selected_channel;
+
+ if(note_edit->control.x0 >= note_edit->map_width)
+ note_edit->control.x0 = note_edit->map_width - 1;
+
+ note_offset_x1 = (guint) (ceil((double) (note_edit->control.x1_offset) / (double) (note_edit->control_current.control_width)));
+
+ if(note_edit->control.x1 >= note_edit->control_current.x0)
+ note_x = (guint) (ceil((double) (note_edit->control.x1 - note_edit->control_current.x0) / (double) (note_edit->control_current.control_width)));
+ else{
+ note_offset_x1 -= 1;
+ note_x = 0;
+ }
+
+ note->x[1] = (note_x * tact) + (note_offset_x1 * tact);
+
+ list_notation = machine->audio->notation;
+ history = gtk_combo_box_get_active(editor->toolbar->mode);
+
+ switch(history){
+ case 0:
+ {
+ if(editor->notebook->tabs != NULL){
+ list_notation = g_list_nth(list_notation,
+ ags_notebook_next_active_tab(editor->notebook,
+ 0));
+
+ note0 = ags_note_duplicate(note);
+
+ ags_notation_add_note(AGS_NOTATION(list_notation->data), note0, FALSE);
+ }
+ }
+ break;
+ case 1:
+ {
+ gint i;
+
+ i = 0;
+
+ while((selected_channel = ags_notebook_next_active_tab(editor->notebook,
+ i)) != -1){
+ list_notation = g_list_nth(machine->audio->notation,
+ selected_channel);
+
+ note0 = ags_note_duplicate(note);
+
+ ags_notation_add_note(AGS_NOTATION(list_notation->data), note0, FALSE);
+
+ i++;
+ }
+ }
+ break;
+ case 2:
+ {
+ while(list_notation != NULL){
+ note0 = ags_note_duplicate(note);
+
+ ags_notation_add_note(AGS_NOTATION(list_notation->data), note0, FALSE);
+
+ list_notation = list_notation->next;
+ }
+ }
+ break;
+ }
+
+ fprintf(stdout, "x0 = %llu\nx1 = %llu\ny = %llu\n\n\0", (long long unsigned int) note->x[0], (long long unsigned int) note->x[1], (long long unsigned int) note->y);
+ }
+ void ags_note_edit_drawing_area_button_release_event_draw_control(cairo_t *cr){
+ guint x, y, width, height;
+
+ widget = (GtkWidget *) note_edit->drawing_area;
+ // cr = gdk_cairo_create(widget->window);
+
+ x = note->x[0] * note_edit->control_unit.control_width;
+ width = note->x[1] * note_edit->control_unit.control_width;
+
+ if(x < note_edit->control.x1_offset){
+ if(width > note_edit->control.x1_offset){
+ width -= (guint) x;
+ x = 0;
+ }else{
+ return;
+ }
+ }else if(x < note_edit->control.x1_offset + widget->allocation.width){
+ width -= x;
+ x -= note_edit->control.x1_offset;
+ }else{
+ return;
+ }
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ y = note->y * note_edit->control_height;
+
+ if(y < note_edit->control.y1_offset){
+ if(y + note_edit->control_height - note_edit->control_margin_y < note_edit->control.y1_offset){
+ return;
+ }else{
+ if(y + note_edit->control_margin_y < note_edit->control.y1_offset){
+ height = note_edit->control_height;
+ y = y + note_edit->control_margin_y - note_edit->control.y1_offset;
+ }else{
+ height = note_edit->y0;
+ y -= note_edit->control.y1_offset;
+ }
+ }
+ }else if(y < note_edit->control.y1_offset + widget->allocation.height - note_edit->control_height){
+ height = note_edit->control_height - 2 * note_edit->control_margin_y;
+ y = y - note_edit->control.y1_offset + note_edit->control_margin_y;
+ }else{
+ if(y > note_edit->control.y1_offset + widget->allocation.height - note_edit->y1 + note_edit->control_margin_y){
+ return;
+ }else{
+ height = note_edit->y0;
+ y = y - note_edit->control.y1_offset + note_edit->control_margin_y;
+ }
+ }
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+ }
+ void ags_note_edit_drawing_area_button_release_event_delete_point(){
+ GList *list_notation;
+ guint x, y;
+ gint history;
+ gint selected_channel;
+
+ x = note_edit->control.x0_offset + note_edit->control.x0 - 1;
+ y = note_edit->control.y0_offset + note_edit->control.y0;
+
+ x = (guint) ceil((double) x / (double) (note_edit->control_unit.control_width));
+ y = (guint) floor((double) y / (double) (note_edit->control_height));
+
+ g_message("%d, %d\0", x, y);
+
+ /* select notes */
+ list_notation = machine->audio->notation;
+
+ history = gtk_combo_box_get_active(editor->toolbar->mode);
+
+ if(history == 0){
+ if(editor->notebook->tabs != NULL){
+ list_notation = g_list_nth(list_notation,
+ ags_notebook_next_active_tab(editor->notebook,
+ 0));
+
+ ags_notation_remove_note_at_position(AGS_NOTATION(list_notation->data),
+ x, y);
+ }
+ }else if(history == 1){
+ gint i;
+
+ i = 0;
+
+ while((selected_channel = ags_notebook_next_active_tab(editor->notebook,
+ i)) != -1){
+ list_notation = g_list_nth(machine->audio->notation,
+ selected_channel);
+
+ ags_notation_remove_note_at_position(AGS_NOTATION(list_notation->data),
+ x, y);
+
+ list_notation = list_notation->next;
+ i++;
+ }
+ }else if(history == 2){
+ while(list_notation != NULL){
+ ags_notation_remove_note_at_position(AGS_NOTATION(list_notation->data),
+ x, y);
+
+ list_notation = list_notation->next;
+ }
+ }
+ }
+ void ags_note_edit_drawing_area_button_release_event_select_region(){
+ GList *list_notation;
+ guint x0, x1, y0, y1;
+
+ /* get real size and offset */
+ x0 = note_edit->control.x0_offset + note_edit->control.x0;
+ x1 = note_edit->control.x1_offset + note_edit->control.x1;
+
+ if(x0 > x1){
+ guint tmp;
+
+ tmp = x1;
+ x1 = x0;
+ x0 = tmp;
+ }
+
+ /* convert to region */
+ x0 = (guint) (floor((double) x0 / (double) (note_edit->control_current.control_width)) * tact);
+ x1 = (guint) (ceil((double) x1 / (double) (note_edit->control_current.control_width)) * tact);
+
+ /* get real size and offset */
+ y0 = note_edit->control.y0_offset + note_edit->control.y0;
+ y1 = note_edit->control.y1_offset + note_edit->control.y1;
+
+ if(y0 > y1){
+ guint tmp;
+
+ tmp = y1;
+ y1 = y0;
+ y0 = tmp;
+ }
+
+ /* convert to region */
+ y0 = (guint) floor((double) y0 / (double) (note_edit->control_height));
+ y1 = (guint) ceil((double) y1 / (double) (note_edit->control_height));
+
+ /* select notes */
+ list_notation = machine->audio->notation;
+
+ if(gtk_combo_box_get_active(editor->toolbar->mode) == 0){
+ if(editor->notebook->tabs != NULL){
+ list_notation = g_list_nth(list_notation,
+ ags_notebook_next_active_tab(editor->notebook,
+ 0));
+
+ ags_notation_add_region_to_selection(AGS_NOTATION(list_notation->data),
+ x0, y0,
+ x1, y1,
+ TRUE);
+ }
+ }else{
+ while(list_notation != NULL ){
+ ags_notation_add_region_to_selection(AGS_NOTATION(list_notation->data),
+ x0, y0,
+ x1, y1,
+ TRUE);
+
+ list_notation = list_notation->next;
+ }
+ }
+
+ }
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL && event->button == 1){
+ cairo_t *cr;
+
+ note_edit->control.x1 = (guint) event->x;
+ note_edit->control.y1 = (guint) event->y;
+
+ machine = editor->selected_machine;
+ note = note_edit->control.note;
+
+ /* store the events position */
+ note_edit->control.x1_offset = (guint) round((double) note_edit->hscrollbar->scrollbar.range.adjustment->value);
+ note_edit->control.y1_offset = (guint) round((double) note_edit->vscrollbar->scrollbar.range.adjustment->value);
+
+ tact = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+
+ cr = gdk_cairo_create(widget->window);
+ cairo_push_group(cr);
+
+ if((AGS_NOTE_EDIT_POSITION_CURSOR & (note_edit->flags)) != 0){
+ note_edit->flags &= (~AGS_NOTE_EDIT_POSITION_CURSOR);
+
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+
+ note_edit->selected_x = note_edit->control.note->x[0];
+ note_edit->selected_y = note_edit->control.note->y;
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_note_edit_draw_position(note_edit, cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_note_edit_draw_position(note_edit, cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_note_edit_draw_position(note_edit, cr);
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_note_edit_draw_position(note_edit, cr);
+ }
+ }else if((AGS_NOTE_EDIT_ADDING_NOTE & (note_edit->flags)) != 0){
+ note_edit->flags &= (~AGS_NOTE_EDIT_ADDING_NOTE);
+
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_note_edit_drawing_area_button_release_event_set_control();
+ ags_note_edit_drawing_area_button_release_event_draw_control(cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_note_edit_drawing_area_button_release_event_set_control();
+ ags_note_edit_drawing_area_button_release_event_draw_control(cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_note_edit_drawing_area_button_release_event_set_control();
+ ags_note_edit_drawing_area_button_release_event_draw_control(cr);
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_note_edit_drawing_area_button_release_event_set_control();
+ ags_note_edit_drawing_area_button_release_event_draw_control(cr);
+ }
+ }else if((AGS_NOTE_EDIT_DELETING_NOTE & (note_edit->flags)) != 0){
+ note_edit->flags &= (~AGS_NOTE_EDIT_DELETING_NOTE);
+
+ ags_note_edit_drawing_area_button_release_event_delete_point();
+
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+ }else if((AGS_NOTE_EDIT_SELECTING_NOTES & (note_edit->flags)) != 0){
+ note_edit->flags &= (~AGS_NOTE_EDIT_SELECTING_NOTES);
+
+ ags_note_edit_drawing_area_button_release_event_select_region();
+
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+
+ return(FALSE);
+}
+
+gboolean
+ags_note_edit_drawing_area_motion_notify_event (GtkWidget *widget, GdkEventMotion *event, AgsNoteEdit *note_edit)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ AgsNote *note, *note0;
+ double value[2];
+ double tact;
+ guint note_x1;
+ guint prev_x1;
+ void ags_note_edit_drawing_area_motion_notify_event_set_control(){
+ GList *list_notation;
+ guint note_x, note_y;
+ guint note_offset_x1;
+
+ if(note_edit->control.x0 >= note_edit->map_width)
+ note_edit->control.x0 = note_edit->map_width - 1;
+
+ note_offset_x1 = (guint) (ceil(note_edit->control.x1_offset / (double) (note_edit->control_current.control_width)));
+
+ if(note_edit->control.x1 >= note_edit->control_current.x0)
+ note_x = (guint) (ceil((double) (note_edit->control.x1 - note_edit->control_current.x0) / (double) (note_edit->control_current.control_width)));
+ else{
+ note_offset_x1 -= 1;
+ note_x = 0;
+ }
+
+ note_x1 = (note_x * tact) + (note_offset_x1 * tact);
+
+ list_notation = machine->audio->notation;
+
+ fprintf(stdout, "x0 = %llu\nx1 = %llu\ny = %llu\n\n\0", (long long unsigned int) note->x[0], (long long unsigned int) note->x[1], (long long unsigned int) note->y);
+ }
+ void ags_note_edit_drawing_area_motion_notify_event_draw_control(cairo_t *cr){
+ guint x, y, width, height;
+
+ widget = (GtkWidget *) note_edit->drawing_area;
+
+ x = note->x[0] * note_edit->control_unit.control_width;
+ width = note_x1 * note_edit->control_unit.control_width;
+
+ if(x < note_edit->control.x1_offset){
+ if(width > note_edit->control.x1_offset){
+ width -= x;
+ x = 0;
+ }else{
+ return;
+ }
+ }else if(x < note_edit->control.x1_offset + widget->allocation.width){
+ width -= x;
+ x -= note_edit->control.x1_offset;
+ }else{
+ return;
+ }
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ y = note->y * note_edit->control_height;
+
+ if(y < note_edit->control.y1_offset){
+ if(y + note_edit->control_height - note_edit->control_margin_y < note_edit->control.y1_offset){
+ return;
+ }else{
+ if(y + note_edit->control_margin_y < note_edit->control.y1_offset){
+ height = note_edit->control_height;
+ y = y + note_edit->control_margin_y - note_edit->control.y1_offset;
+ }else{
+ height = note_edit->y0;
+ y -= note_edit->control.y1_offset;
+ }
+ }
+ }else if(y < note_edit->control.y1_offset + widget->allocation.height - note_edit->control_height){
+ height = note_edit->control_height - 2 * note_edit->control_margin_y;
+ y = y - note_edit->control.y1_offset + note_edit->control_margin_y;
+ }else{
+ if(y > note_edit->control.y1_offset + widget->allocation.height - note_edit->y1 + note_edit->control_margin_y){
+ return;
+ }else{
+ height = note_edit->y0;
+ y = y - note_edit->control.y1_offset + note_edit->control_margin_y;
+ }
+ }
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+ }
+ void ags_note_edit_drawing_area_motion_notify_event_draw_selection(cairo_t *cr){
+ GtkAllocation allocation;
+ guint x0_offset, x1_offset, y0_offset, y1_offset;
+ guint x0, x1, y0, y1, width, height;
+ guint x0_viewport, x1_viewport, y0_viewport, y1_viewport;
+
+ /* get viewport */
+ gtk_widget_get_allocation(widget, &allocation);
+
+ x0_viewport = note_edit->control.x1_offset;
+ x1_viewport = note_edit->control.x1_offset + allocation.width;
+
+ y0_viewport = note_edit->control.y1_offset;
+ y1_viewport = note_edit->control.y1_offset + allocation.height;
+
+ /* get real size and offset */
+ x0 = note_edit->control.x0_offset + note_edit->control.x0;
+ x1 = note_edit->control.x1_offset + note_edit->control.x1;
+
+ if(x0 > x1){
+ x0_offset = x1;
+ x1_offset = x0;
+
+ x1 = x0_offset;
+ x0 = x1_offset;
+ }else{
+ x0_offset = x0;
+ x1_offset = x1;
+ }
+
+ /* get drawable size and offset */
+ if(x0 < x0_viewport){
+ // x0 = 0;
+ // width = x1_offset - x0_viewport;
+ x0 -= x0_viewport;
+ width = x1 - x0;
+ }else{
+ x0 -= x0_viewport;
+ width = x1 - x0;
+ }
+
+ if(x1 > x1_viewport){
+ width -= (x1 - x1_viewport);
+ }else{
+ width -= x0_viewport;
+ }
+
+ /* get real size and offset */
+ y0 = note_edit->control.y0_offset + note_edit->control.y0;
+ y1 = note_edit->control.y1_offset + note_edit->control.y1;
+
+ if(y0 > y1){
+ y0_offset = y1;
+ y1_offset = y0;
+
+ y1 = y0_offset;
+ y0 = y1_offset;
+ }else{
+ y0_offset = y0;
+ y1_offset = y1;
+ }
+
+ /* get drawable size and offset */
+ if(y0 < y0_viewport){
+ y0 = 0;
+ height = y1_offset - y0_viewport;
+ }else{
+ y0 -= y0_viewport;
+ height = y1 - y0;
+ }
+
+ if(y1 > y1_viewport){
+ height -= (y1 - y1_viewport);
+ }else{
+ height -= y0_viewport;
+ }
+
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.3);
+ cairo_rectangle(cr, (double) x0, (double) y0, (double) width, (double) height);
+ cairo_fill(cr);
+ }
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(note_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL){
+ cairo_t *cr;
+
+ prev_x1 = note_edit->control.x1;
+ note_edit->control.x1 = (guint) event->x;
+ note_edit->control.y1 = (guint) event->y;
+
+ machine = editor->selected_machine;
+ note = note_edit->control.note;
+
+ note_edit->control.x1_offset = (guint) round((double) note_edit->hscrollbar->scrollbar.range.adjustment->value);
+ note_edit->control.y1_offset = (guint) round((double) note_edit->vscrollbar->scrollbar.range.adjustment->value);
+
+ tact = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+
+ cr = gdk_cairo_create(widget->window);
+ cairo_push_group(cr);
+
+ if((AGS_NOTE_EDIT_ADDING_NOTE & (note_edit->flags)) != 0){
+ if(prev_x1 > note_edit->control.x1){
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+ }
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_note_edit_drawing_area_motion_notify_event_set_control();
+ ags_note_edit_drawing_area_motion_notify_event_draw_control(cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_note_edit_drawing_area_motion_notify_event_set_control();
+ ags_note_edit_drawing_area_motion_notify_event_draw_control(cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_note_edit_drawing_area_motion_notify_event_set_control();
+ ags_note_edit_drawing_area_motion_notify_event_draw_control(cr);
+ }
+ }else if((AGS_NOTE_EDIT_SELECTING_NOTES & (note_edit->flags)) != 0){
+ ags_note_edit_draw_segment(note_edit, cr);
+ ags_note_edit_draw_notation(note_edit, cr);
+
+ ags_note_edit_drawing_area_motion_notify_event_draw_selection(cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+
+ return(FALSE);
+}
+
+void
+ags_note_edit_vscrollbar_value_changed(GtkRange *range, AgsNoteEdit *note_edit)
+{
+ if((AGS_NOTE_EDIT_RESETING_VERTICALLY & note_edit->flags) != 0){
+ return;
+ }
+
+ note_edit->flags |= AGS_NOTE_EDIT_RESETING_VERTICALLY;
+ ags_note_edit_reset_vertically(note_edit, 0);
+ note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_VERTICALLY);
+}
+
+void
+ags_note_edit_hscrollbar_value_changed(GtkRange *range, AgsNoteEdit *note_edit)
+{
+ if((AGS_NOTE_EDIT_RESETING_HORIZONTALLY & note_edit->flags) != 0){
+ return;
+ }
+
+ /* reset ruler */
+ gtk_adjustment_set_value(note_edit->ruler->adjustment,
+ GTK_RANGE(note_edit->hscrollbar)->adjustment->value / (double) note_edit->control_current.control_width);
+ gtk_widget_queue_draw(note_edit->ruler);
+
+ /* update note edit */
+ note_edit->flags |= AGS_NOTE_EDIT_RESETING_HORIZONTALLY;
+ ags_note_edit_reset_horizontally(note_edit, 0);
+ note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_HORIZONTALLY);
+}
diff --git a/src/ags/X/editor/ags_note_edit_callbacks.h b/src/ags/X/editor/ags_note_edit_callbacks.h
new file mode 100644
index 0000000..c3b6571
--- /dev/null
+++ b/src/ags/X/editor/ags_note_edit_callbacks.h
@@ -0,0 +1,37 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NOTE_EDIT_CALLBACKS_H__
+#define __AGS_NOTE_EDIT_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_note_edit.h>
+
+gboolean ags_note_edit_drawing_area_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsNoteEdit *note_edit);
+gboolean ags_note_edit_drawing_area_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsNoteEdit *note_edit);
+gboolean ags_note_edit_drawing_area_button_press_event(GtkWidget *widget, GdkEventButton *event, AgsNoteEdit *note_edit);
+gboolean ags_note_edit_drawing_area_button_release_event(GtkWidget *widget, GdkEventButton *event, AgsNoteEdit *note_edit);
+gboolean ags_note_edit_drawing_area_motion_notify_event(GtkWidget *widget, GdkEventMotion *event, AgsNoteEdit *note_edit);
+
+void ags_note_edit_vscrollbar_value_changed(GtkRange *range, AgsNoteEdit *note_edit);
+void ags_note_edit_hscrollbar_value_changed(GtkRange *range, AgsNoteEdit *note_edit);
+
+#endif /*__AGS_NOTE_EDIT_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_notebook.c b/src/ags/X/editor/ags_notebook.c
new file mode 100644
index 0000000..6831859
--- /dev/null
+++ b/src/ags/X/editor/ags_notebook.c
@@ -0,0 +1,294 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011, 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_notebook.h>
+#include <ags/X/editor/ags_notebook_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_editor.h>
+
+void ags_notebook_class_init(AgsNotebookClass *notebook);
+void ags_notebook_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_notebook_init(AgsNotebook *notebook);
+void ags_notebook_connect(AgsConnectable *connectable);
+void ags_notebook_disconnect(AgsConnectable *connectable);
+
+void ags_notebook_paint(AgsNotebook *notebook);
+
+AgsNotebookTab* ags_notebook_tab_alloc();
+
+/**
+ * SECTION:ags_notebook
+ * @short_description: select channel
+ * @title: AgsNotebook
+ * @section_id:
+ * @include: ags/X/editor/ags_notebook.h
+ *
+ * The #AgsNotebook lets select/deselect channels to edit.
+ */
+
+GtkStyle *notebook_style;
+
+GType
+ags_notebook_get_type(void)
+{
+ static GType ags_type_notebook = 0;
+
+ if(!ags_type_notebook){
+ static const GTypeInfo ags_notebook_info = {
+ sizeof (AgsNotebookClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_notebook_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsNotebook),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_notebook_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_notebook_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_notebook = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsNotebook\0", &ags_notebook_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_notebook,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_notebook);
+}
+
+void
+ags_notebook_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_notebook_connect;
+ connectable->disconnect = ags_notebook_disconnect;
+}
+
+void
+ags_notebook_class_init(AgsNotebookClass *notebook)
+{
+}
+
+void
+ags_notebook_init(AgsNotebook *notebook)
+{
+ gtk_widget_set_style((GtkWidget *) notebook, notebook_style);
+
+ notebook->flags = 0;
+
+ notebook->hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(notebook),
+ GTK_WIDGET(notebook->hbox),
+ FALSE, FALSE,
+ 0);
+
+ notebook->tabs = NULL;
+ notebook->child = NULL;
+}
+
+void
+ags_notebook_connect(AgsConnectable *connectable)
+{
+ AgsNotebook *notebook;
+ AgsEditor *editor;
+
+ notebook = AGS_NOTEBOOK(connectable);
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor((GtkWidget *) notebook, AGS_TYPE_EDITOR);
+
+ g_signal_connect((GObject *) editor, "machine-changed\0",
+ G_CALLBACK(ags_notebook_machine_changed_callback), notebook);
+}
+
+void
+ags_notebook_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+AgsNotebookTab*
+ags_notebook_tab_alloc()
+{
+ AgsNotebookTab *notebook_tab;
+
+ notebook_tab = (AgsNotebookTab *) malloc(sizeof(AgsNotebookTab));
+
+ notebook_tab->flags = 0;
+
+ notebook_tab->toggle = NULL;
+ notebook_tab->notation = NULL;
+
+ return(notebook_tab);
+}
+
+gint
+ags_notebook_tab_index(AgsNotebook *notebook,
+ GObject *notation)
+{
+ GList *list;
+ gint i;
+
+ list = notebook->tabs;
+
+ for(i = 0; list != NULL; i++){
+ if(AGS_NOTEBOOK_TAB(list->data)->notation == notation){
+ return(i);
+ }
+
+ list = list->next;
+ }
+
+ return(-1);
+}
+
+gint
+ags_notebook_add_tab(AgsNotebook *notebook)
+{
+ AgsNotebookTab *tab;
+ gint index;
+
+ tab = ags_notebook_tab_alloc();
+
+ notebook->tabs = g_list_prepend(notebook->tabs,
+ tab);
+ index = g_list_length(notebook->tabs);
+
+ tab->toggle = (GtkToggleButton *) gtk_toggle_button_new_with_label(g_strdup_printf("channel %d\0",
+ index));
+ gtk_toggle_button_set_active(tab->toggle, TRUE);
+ gtk_box_pack_start(GTK_BOX(notebook->hbox),
+ GTK_WIDGET(tab->toggle),
+ FALSE, FALSE,
+ 0);
+
+ return(index);
+}
+
+gint
+ags_notebook_next_active_tab(AgsNotebook *notebook,
+ gint position)
+{
+ GList *list;
+ gint length;
+ gint i;
+
+ list = notebook->tabs;
+ length = g_list_length(notebook->tabs);
+
+ for(i = 0; i < length - position && list != NULL; i++){
+ if(gtk_toggle_button_get_active(AGS_NOTEBOOK_TAB(list->data)->toggle)){
+ return(position + i);
+ }
+
+ list = list->next;
+ }
+
+ return(-1);
+}
+
+void
+ags_notebook_insert_tab(AgsNotebook *notebook,
+ gint position)
+{
+ AgsNotebookTab *tab;
+ gint length;
+
+ length = g_list_length(notebook->tabs);
+
+ tab = ags_notebook_tab_alloc();
+ notebook->tabs = g_list_insert(notebook->tabs,
+ tab,
+ length - position);
+
+ tab->toggle = (GtkToggleButton *) gtk_toggle_button_new_with_label(g_strdup_printf("channel %d\0",
+ position));
+ gtk_box_pack_start(GTK_BOX(notebook->hbox),
+ GTK_WIDGET(tab->toggle),
+ FALSE, FALSE,
+ 0);
+ gtk_box_reorder_child(GTK_BOX(notebook->hbox),
+ GTK_WIDGET(tab->toggle),
+ position);
+}
+
+void
+ags_notebook_remove_tab(AgsNotebook *notebook,
+ gint nth)
+{
+ AgsNotebookTab *tab;
+ gint length;
+
+ if(notebook->tabs == NULL){
+ return;
+ }
+
+ length = g_list_length(notebook->tabs);
+
+ tab = g_list_nth_data(notebook->tabs,
+ length - nth - 1);
+
+ notebook->tabs = g_list_remove(notebook->tabs,
+ tab);
+ gtk_widget_destroy(GTK_WIDGET(tab->toggle));
+ free(tab);
+}
+
+void
+ags_notebook_add_child(AgsNotebook *notebook,
+ GtkWidget *child)
+{
+ gtk_box_pack_start(GTK_BOX(notebook),
+ child,
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_notebook_remove_child(AgsNotebook *notebook,
+ GtkWidget *child)
+{
+ gtk_widget_destroy(child);
+}
+
+/**
+ * ags_notebook_new:
+ *
+ * Create a new #AgsNotebook.
+ *
+ * Since: 0.4
+ */
+AgsNotebook*
+ags_notebook_new()
+{
+ AgsNotebook *notebook;
+
+ notebook = (AgsNotebook *) g_object_new(AGS_TYPE_NOTEBOOK, NULL);
+
+ return(notebook);
+}
diff --git a/src/ags/X/editor/ags_notebook.h b/src/ags/X/editor/ags_notebook.h
new file mode 100644
index 0000000..038be66
--- /dev/null
+++ b/src/ags/X/editor/ags_notebook.h
@@ -0,0 +1,91 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NOTEBOOK_H__
+#define __AGS_NOTEBOOK_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_NOTEBOOK (ags_notebook_get_type())
+#define AGS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTEBOOK, AgsNotebook))
+#define AGS_NOTEBOOK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTEBOOK, AgsNotebookClass))
+#define AGS_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NOTEBOOK))
+#define AGS_IS_NOTEBOOK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_NOTEBOOK))
+#define AGS_NOTEBOOK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_NOTEBOOK, AgsNotebookClass))
+
+#define AGS_NOTEBOOK_TAB(x) ((AgsNotebookTab *)(x))
+
+typedef struct _AgsNotebook AgsNotebook;
+typedef struct _AgsNotebookClass AgsNotebookClass;
+typedef struct _AgsNotebookTab AgsNotebookTab;
+
+typedef enum{
+ AGS_NOTEBOOK_TAB_VISIBLE = 1,
+ AGS_NOTEBOOK_TAB_MODE_NORMAL = 1 << 1,
+ AGS_NOTEBOOK_TAB_MODE_OVERLAY = 1 << 2,
+}AgsNotebookTabFlags;
+
+struct _AgsNotebook
+{
+ GtkVBox vbox;
+
+ guint flags;
+
+ GtkHBox *hbox;
+
+ GList *tabs;
+ GtkWidget *child;
+};
+
+struct _AgsNotebookClass
+{
+ GtkVBoxClass vbox;
+};
+
+struct _AgsNotebookTab
+{
+ guint flags;
+
+ GtkToggleButton *toggle;
+ GObject *notation;
+};
+
+GType ags_notebook_get_type(void);
+
+gint ags_notebook_tab_index(AgsNotebook *notebook,
+ GObject *notation);
+gint ags_notebook_next_active_tab(AgsNotebook *notebook,
+ gint position);
+
+gint ags_notebook_add_tab(AgsNotebook *notebook);
+void ags_notebook_insert_tab(AgsNotebook *notebook,
+ gint position);
+void ags_notebook_remove_tab(AgsNotebook *notebook,
+ gint nth);
+
+void ags_notebook_add_child(AgsNotebook *notebook,
+ GtkWidget *child);
+void ags_notebook_remove_child(AgsNotebook *notebook,
+ GtkWidget *child);
+
+AgsNotebook* ags_notebook_new();
+
+#endif /*__AGS_NOTEBOOK_H__*/
diff --git a/src/ags/X/editor/ags_notebook_callbacks.c b/src/ags/X/editor/ags_notebook_callbacks.c
new file mode 100644
index 0000000..9cc2a9d
--- /dev/null
+++ b/src/ags/X/editor/ags_notebook_callbacks.c
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_notebook_callbacks.h>
+
+void
+ags_notebook_machine_changed_callback(AgsEditor *editor, AgsMachine *machine,
+ AgsNotebook *notebook)
+{
+ AgsMachine *machine_old;
+ guint i, stop;
+ void ags_notebook_change_machine_shrink(){
+ GtkWidget *widget;
+
+ for(; i < stop; i++)
+ ags_notebook_remove_tab((GtkNotebook *) notebook,
+ 0);
+ }
+ void ags_notebook_change_machine_grow(){
+ for(; i < stop; i++){
+ ags_notebook_add_tab((GtkNotebook *) notebook);
+ }
+ }
+
+ machine_old = editor->selected_machine;
+
+ if(machine == NULL){
+ if(machine_old != NULL){
+ i = 0;
+ stop = machine_old->audio->audio_channels;
+
+ ags_notebook_change_machine_shrink();
+ }
+ }else{
+ if(machine_old == NULL){
+ i = 0;
+ stop = machine->audio->audio_channels;
+ ags_notebook_change_machine_grow();
+ }else{
+ if(machine->audio->audio_channels > machine_old->audio->audio_channels){
+ i = machine_old->audio->audio_channels;
+ stop = machine->audio->audio_channels;
+ ags_notebook_change_machine_grow();
+ }else if(machine->audio->audio_channels < machine_old->audio->audio_channels){
+ i = machine->audio->audio_channels;
+ stop = machine_old->audio->audio_channels;
+ ags_notebook_change_machine_shrink();
+ }
+ }
+ }
+
+ gtk_widget_show_all((GtkWidget *) notebook);
+}
diff --git a/src/ags/X/editor/ags_notebook_callbacks.h b/src/ags/X/editor/ags_notebook_callbacks.h
new file mode 100644
index 0000000..30cd767
--- /dev/null
+++ b/src/ags/X/editor/ags_notebook_callbacks.h
@@ -0,0 +1,34 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NOTEBOOK_CALLBACKS_H__
+#define __AGS_NOTEBOOK_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_notebook.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_editor.h>
+
+void ags_notebook_machine_changed_callback(AgsEditor *editor, AgsMachine *machine,
+ AgsNotebook *notebook);
+
+#endif /*__AGS_NOTEBOOK_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_pattern_edit.c b/src/ags/X/editor/ags_pattern_edit.c
new file mode 100644
index 0000000..e4d8e6f
--- /dev/null
+++ b/src/ags/X/editor/ags_pattern_edit.c
@@ -0,0 +1,898 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011, 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_pattern_edit.h>
+#include <ags/X/editor/ags_pattern_edit_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <ags/X/editor/ags_pattern_edit.h>
+
+void ags_pattern_edit_class_init(AgsPatternEditClass *pattern_edit);
+void ags_pattern_edit_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_pattern_edit_init(AgsPatternEdit *pattern_edit);
+void ags_pattern_edit_connect(AgsConnectable *connectable);
+void ags_pattern_edit_disconnect(AgsConnectable *connectable);
+
+void ags_pattern_edit_paint(AgsPatternEdit *pattern_edit);
+
+/**
+ * SECTION:ags_pattern_edit
+ * @short_description: edit notes
+ * @title: AgsPatternEdit
+ * @section_id:
+ * @include: ags/X/editor/ags_pattern_edit.h
+ *
+ * The #AgsPatternEdit lets you edit notes.
+ */
+
+GtkStyle *pattern_edit_style;
+
+GType
+ags_pattern_edit_get_type(void)
+{
+ static GType ags_type_pattern_edit = 0;
+
+ if(!ags_type_pattern_edit){
+ static const GTypeInfo ags_pattern_edit_info = {
+ sizeof (AgsPatternEditClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_pattern_edit_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPatternEdit),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_pattern_edit_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_pattern_edit_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_pattern_edit = g_type_register_static(GTK_TYPE_TABLE,
+ "AgsPatternEdit\0", &ags_pattern_edit_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_pattern_edit,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_pattern_edit);
+}
+
+void
+ags_pattern_edit_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_pattern_edit_connect;
+ connectable->disconnect = ags_pattern_edit_disconnect;
+}
+
+void
+ags_pattern_edit_class_init(AgsPatternEditClass *pattern_edit)
+{
+}
+
+void
+ags_pattern_edit_init(AgsPatternEdit *pattern_edit)
+{
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+
+ pattern_edit->ruler = ags_ruler_new();
+ gtk_table_attach(GTK_TABLE(pattern_edit), (GtkWidget *) pattern_edit->ruler,
+ 0, 1, 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL,
+ 0, 0);
+
+ pattern_edit->drawing_area = (GtkDrawingArea *) gtk_drawing_area_new();
+ gtk_widget_set_style((GtkWidget *) pattern_edit->drawing_area, pattern_edit_style);
+ gtk_widget_set_events (GTK_WIDGET (pattern_edit->drawing_area), GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_BUTTON_RELEASE_MASK
+ | GDK_POINTER_MOTION_MASK
+ | GDK_POINTER_MOTION_HINT_MASK
+ );
+
+ gtk_table_attach(GTK_TABLE(pattern_edit), (GtkWidget *) pattern_edit->drawing_area,
+ 0, 1, 1, 2,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+
+ pattern_edit->control.note = ags_note_new();
+
+ pattern_edit->width = 0;
+ pattern_edit->height = 0;
+ pattern_edit->map_width = AGS_PATTERN_EDIT_MAX_CONTROLS * 64;
+ pattern_edit->map_height = 78;
+
+ pattern_edit->control_height = 14;
+ pattern_edit->control_margin_y = 2;
+
+ pattern_edit->control_width = 16;
+
+ pattern_edit->y0 = 0;
+ pattern_edit->y1 = 0;
+
+ pattern_edit->nth_y = 0;
+ pattern_edit->stop_y = 0;
+
+ /* AgsPatternEditControlCurrent is used by ags_pattern_edit_draw_segment */
+ pattern_edit->control_current.control_count = AGS_PATTERN_EDIT_MAX_CONTROLS;
+ pattern_edit->control_current.control_width = 64;
+
+ pattern_edit->control_current.x0 = 0;
+ pattern_edit->control_current.x1 = 0;
+
+ pattern_edit->control_current.nth_x = 0;
+
+ /* AgsPatternEditControlUnit is used by ags_pattern_edit_draw_notation */
+ pattern_edit->control_unit.control_count = 16 * AGS_PATTERN_EDIT_MAX_CONTROLS;
+ pattern_edit->control_unit.control_width = 1 * 4;
+
+ pattern_edit->control_unit.x0 = 0;
+ pattern_edit->control_unit.x1 = 0;
+
+ pattern_edit->control_unit.nth_x = 0;
+ pattern_edit->control_unit.stop_x = 0;
+
+ /* offset for pasting from clipboard */
+ pattern_edit->selected_x = 0;
+ pattern_edit->selected_y = 0;
+
+ /* GtkScrollbars */
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+ pattern_edit->vscrollbar = (GtkVScrollbar *) gtk_vscrollbar_new(adjustment);
+ gtk_table_attach(GTK_TABLE(pattern_edit), (GtkWidget *) pattern_edit->vscrollbar,
+ 1, 2, 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 1.0, 1.0, 1.0);
+ pattern_edit->hscrollbar = (GtkHScrollbar *) gtk_hscrollbar_new(adjustment);
+ gtk_table_attach(GTK_TABLE(pattern_edit), (GtkWidget *) pattern_edit->hscrollbar,
+ 0, 1, 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+}
+
+void
+ags_pattern_edit_connect(AgsConnectable *connectable)
+{
+ AgsPatternEdit *pattern_edit;
+
+ pattern_edit = AGS_PATTERN_EDIT(connectable);
+
+ g_signal_connect_after((GObject *) pattern_edit->drawing_area, "expose_event\0",
+ G_CALLBACK (ags_pattern_edit_drawing_area_expose_event), (gpointer) pattern_edit);
+
+ g_signal_connect_after((GObject *) pattern_edit->drawing_area, "configure_event\0",
+ G_CALLBACK (ags_pattern_edit_drawing_area_configure_event), (gpointer) pattern_edit);
+
+ g_signal_connect((GObject *) pattern_edit->drawing_area, "button_press_event\0",
+ G_CALLBACK (ags_pattern_edit_drawing_area_button_press_event), (gpointer) pattern_edit);
+
+ g_signal_connect((GObject *) pattern_edit->drawing_area, "button_release_event\0",
+ G_CALLBACK (ags_pattern_edit_drawing_area_button_release_event), (gpointer) pattern_edit);
+
+ g_signal_connect((GObject *) pattern_edit->drawing_area, "motion_notify_event\0",
+ G_CALLBACK (ags_pattern_edit_drawing_area_motion_notify_event), (gpointer) pattern_edit);
+
+ g_signal_connect_after((GObject *) pattern_edit->vscrollbar, "value-changed\0",
+ G_CALLBACK (ags_pattern_edit_vscrollbar_value_changed), (gpointer) pattern_edit);
+
+ g_signal_connect_after((GObject *) pattern_edit->hscrollbar, "value-changed\0",
+ G_CALLBACK (ags_pattern_edit_hscrollbar_value_changed), (gpointer) pattern_edit);
+
+}
+
+void
+ags_pattern_edit_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_pattern_edit_set_map_height:
+ * @pattern_edit: the #AgsPatternEdit
+ * @map_height: the new height
+ *
+ * Set the map height in pixel.
+ *
+ * Since: 0.4
+ */
+void
+ags_pattern_edit_set_map_height(AgsPatternEdit *pattern_edit, guint map_height)
+{
+ pattern_edit->map_height = map_height;
+
+ pattern_edit->flags |= AGS_PATTERN_EDIT_RESETING_VERTICALLY;
+ ags_pattern_edit_reset_vertically(pattern_edit, AGS_PATTERN_EDIT_RESET_VSCROLLBAR);
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_RESETING_VERTICALLY);
+
+ pattern_edit->flags |= AGS_PATTERN_EDIT_RESETING_HORIZONTALLY;
+ ags_pattern_edit_reset_horizontally(pattern_edit, AGS_PATTERN_EDIT_RESET_HSCROLLBAR);
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_RESETING_HORIZONTALLY);
+}
+
+/**
+ * ags_pattern_edit_reset_vertically:
+ * @pattern_edit: the #AgsPatternEdit
+ * @flags: the #AgsPatternEditResetFlags
+ *
+ * Reset @pattern_edit as configured vertically.
+ *
+ * Since: 0.4
+ */
+void
+ags_pattern_edit_reset_vertically(AgsPatternEdit *pattern_edit, guint flags)
+{
+ AgsEditor *editor;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL){
+ cairo_t *cr;
+ gdouble value;
+
+ value = GTK_RANGE(pattern_edit->vscrollbar)->adjustment->value;
+
+ if((AGS_PATTERN_EDIT_RESET_VSCROLLBAR & flags) != 0){
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+ guint height;
+
+ widget = GTK_WIDGET(pattern_edit->drawing_area);
+ adjustment = GTK_RANGE(pattern_edit->vscrollbar)->adjustment;
+
+ if(pattern_edit->map_height > widget->allocation.height){
+ height = widget->allocation.height;
+ gtk_adjustment_set_upper(adjustment,
+ (gdouble) (pattern_edit->map_height - height));
+ gtk_adjustment_set_value(adjustment, 0.0);
+ }else{
+ height = pattern_edit->map_height;
+
+ gtk_adjustment_set_upper(adjustment, 0.0);
+ gtk_adjustment_set_value(adjustment, 0.0);
+ }
+
+ pattern_edit->height = height;
+ }
+
+ pattern_edit->y0 = ((guint) round((double) value)) % pattern_edit->control_height;
+
+ if(pattern_edit->y0 != 0){
+ pattern_edit->y0 = pattern_edit->control_height - pattern_edit->y0;
+ }
+
+ pattern_edit->y1 = (pattern_edit->height - pattern_edit->y0) % pattern_edit->control_height;
+
+ pattern_edit->nth_y = (guint) ceil(round((double) value) / (double)(pattern_edit->control_height));
+ pattern_edit->stop_y = pattern_edit->nth_y + (pattern_edit->height - pattern_edit->y0 - pattern_edit->y1) / pattern_edit->control_height;
+
+ /* refresh display */
+ if(GTK_WIDGET_VISIBLE(editor)){
+ cr = gdk_cairo_create(GTK_WIDGET(pattern_edit->drawing_area)->window);
+ cairo_push_group(cr);
+
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+
+ if(editor->toolbar->selected_edit_mode == editor->toolbar->position){
+ ags_pattern_edit_draw_position(pattern_edit, cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+ }
+}
+
+/**
+ * ags_pattern_edit_reset_horizontally:
+ * @pattern_edit: the #AgsPatternEdit
+ * @flags: the #AgsPatternEditResetFlags
+ *
+ * Reset @pattern_edit as configured horizontally.
+ *
+ * Since: 0.4
+ */
+void
+ags_pattern_edit_reset_horizontally(AgsPatternEdit *pattern_edit, guint flags)
+{
+ AgsEditor *editor;
+ double tact_factor, zoom_factor;
+ double tact;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ zoom_factor = 0.25;
+
+ tact_factor = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+ tact = exp2((double) gtk_combo_box_get_active(editor->toolbar->zoom) - 4.0);
+
+ if((AGS_PATTERN_EDIT_RESET_WIDTH & flags) != 0){
+ pattern_edit->control_unit.control_width = (guint) (((double) pattern_edit->control_width * zoom_factor * tact));
+
+ pattern_edit->control_current.control_count = (guint) ((double) pattern_edit->control_unit.control_count * tact);
+ pattern_edit->control_current.control_width = (pattern_edit->control_width * zoom_factor * tact_factor * tact);
+
+ pattern_edit->map_width = (guint) ((double) pattern_edit->control_current.control_count * (double) pattern_edit->control_current.control_width);
+ /* reset ruler */
+ pattern_edit->ruler->factor = tact_factor;
+ pattern_edit->ruler->precision = tact;
+ pattern_edit->ruler->scale_precision = 1.0 / tact;
+
+ gtk_widget_queue_draw(pattern_edit->ruler);
+ }
+
+ if(editor->selected_machine != NULL){
+ cairo_t *cr;
+ gdouble value;
+
+ value = GTK_RANGE(pattern_edit->hscrollbar)->adjustment->value;
+
+ if((AGS_PATTERN_EDIT_RESET_HSCROLLBAR & flags) != 0){
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+ guint width;
+
+ widget = GTK_WIDGET(pattern_edit->drawing_area);
+ adjustment = GTK_RANGE(pattern_edit->hscrollbar)->adjustment;
+
+ if(pattern_edit->map_width > widget->allocation.width){
+ width = widget->allocation.width;
+ // gtk_adjustment_set_upper(adjustment, (double) (pattern_edit->map_width - width));
+ gtk_adjustment_set_upper(adjustment,
+ (gdouble) (pattern_edit->map_width - width));
+ gtk_adjustment_set_upper(pattern_edit->ruler->adjustment,
+ (gdouble) (pattern_edit->map_width - width) / pattern_edit->control_current.control_width);
+
+ if(adjustment->value > adjustment->upper){
+ gtk_adjustment_set_value(adjustment, adjustment->upper);
+
+ /* reset ruler */
+ gtk_adjustment_set_value(pattern_edit->ruler->adjustment, pattern_edit->ruler->adjustment->upper);
+ gtk_widget_queue_draw(pattern_edit->ruler);
+ }
+ }else{
+ width = pattern_edit->map_width;
+
+ gtk_adjustment_set_upper(adjustment, 0.0);
+ gtk_adjustment_set_value(adjustment, 0.0);
+
+ /* reset ruler */
+ gtk_adjustment_set_upper(pattern_edit->ruler->adjustment, 0.0);
+ gtk_adjustment_set_value(pattern_edit->ruler->adjustment, 0.0);
+ gtk_widget_queue_draw(pattern_edit->ruler);
+ }
+
+ pattern_edit->width = width;
+ }
+
+ /* reset AgsPatternEditControlCurrent */
+ if(pattern_edit->map_width > pattern_edit->width){
+ pattern_edit->control_current.x0 = ((guint) round((double) value)) % pattern_edit->control_current.control_width;
+
+ if(pattern_edit->control_current.x0 != 0){
+ pattern_edit->control_current.x0 = pattern_edit->control_current.control_width - pattern_edit->control_current.x0;
+ }
+
+ pattern_edit->control_current.x1 = (pattern_edit->width - pattern_edit->control_current.x0) % pattern_edit->control_current.control_width;
+
+ pattern_edit->control_current.nth_x = (guint) ceil((double)(value) / (double)(pattern_edit->control_current.control_width));
+ }else{
+ pattern_edit->control_current.x0 = 0;
+ pattern_edit->control_current.x1 = 0;
+ pattern_edit->control_current.nth_x = 0;
+ }
+
+ /* reset AgsPatternEditControlUnit */
+ if(pattern_edit->map_width > pattern_edit->width){
+ pattern_edit->control_unit.x0 = ((guint)round((double) value)) % pattern_edit->control_unit.control_width;
+
+ if(pattern_edit->control_unit.x0 != 0)
+ pattern_edit->control_unit.x0 = pattern_edit->control_unit.control_width - pattern_edit->control_unit.x0;
+
+ pattern_edit->control_unit.x1 = (pattern_edit->width - pattern_edit->control_unit.x0) % pattern_edit->control_unit.control_width;
+
+ pattern_edit->control_unit.nth_x = (guint) ceil(round((double) value) / (double) (pattern_edit->control_unit.control_width));
+ pattern_edit->control_unit.stop_x = pattern_edit->control_unit.nth_x + (pattern_edit->width - pattern_edit->control_unit.x0 - pattern_edit->control_unit.x1) / pattern_edit->control_unit.control_width;
+ }else{
+ pattern_edit->control_unit.x0 = 0;
+ pattern_edit->control_unit.x1 = 0;
+ pattern_edit->control_unit.nth_x = 0;
+ }
+
+ /* refresh display */
+ if(GTK_WIDGET_VISIBLE(editor)){
+ gdouble position;
+
+ cr = gdk_cairo_create(GTK_WIDGET(pattern_edit->drawing_area)->window);
+ cairo_push_group(cr);
+
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+
+ if(editor->toolbar->selected_edit_mode == editor->toolbar->position){
+ ags_pattern_edit_draw_position(pattern_edit, cr);
+ }
+
+ //TODO:JK: implement me
+ // position = gtk_range_get_value(GTK_RANGE(pattern_edit->hscrollbar));
+ // position -= floor(position / pattern_edit->control_current.control_width);
+ // ags_pattern_edit_draw_scroll(pattern_edit, cr,
+ // position);
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+ }
+}
+
+/**
+ * ags_pattern_edit_draw_segment:
+ * @pattern_edit: the #AgsPatternEdit
+ * @cr: the #cairo_t surface
+ *
+ * Draws horizontal and vertical lines.
+ *
+ * Since: 0.4
+ */
+void
+ags_pattern_edit_draw_segment(AgsPatternEdit *pattern_edit, cairo_t *cr)
+{
+ AgsEditor *editor;
+ GtkWidget *widget;
+ double tact;
+ guint i, j;
+ guint j_set;
+
+ widget = (GtkWidget *) pattern_edit->drawing_area;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) widget->allocation.height);
+ cairo_fill(cr);
+
+ cairo_set_line_width(cr, 1.0);
+
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+
+ for(i = pattern_edit->y0 ; i < pattern_edit->height;){
+ cairo_move_to(cr, 0.0, (double) i);
+ cairo_line_to(cr, (double) pattern_edit->width, (double) i);
+ cairo_stroke(cr);
+
+ i += pattern_edit->control_height;
+ }
+
+ cairo_move_to(cr, 0.0, (double) i);
+ cairo_line_to(cr, (double) pattern_edit->width, (double) i);
+ cairo_stroke(cr);
+
+ tact = exp2((double) gtk_combo_box_get_active(editor->toolbar->zoom) - 4.0);
+
+ i = pattern_edit->control_current.x0;
+
+ if(i < pattern_edit->width &&
+ tact > 1.0 ){
+ j_set = pattern_edit->control_current.nth_x % ((guint) tact);
+ cairo_set_source_rgb(cr, 0.6, 0.6, 0.6);
+
+ if(j_set != 0){
+ j = j_set;
+ goto ags_pattern_edit_draw_segment0;
+ }
+ }
+
+ for(; i < pattern_edit->width; ){
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+
+ cairo_move_to(cr, (double) i, 0.0);
+ cairo_line_to(cr, (double) i, (double) pattern_edit->height);
+ cairo_stroke(cr);
+
+ i += pattern_edit->control_current.control_width;
+
+ cairo_set_source_rgb(cr, 0.6, 0.6, 0.6);
+
+ for(j = 1; i < pattern_edit->width && j < tact; j++){
+ ags_pattern_edit_draw_segment0:
+ cairo_move_to(cr, (double) i, 0.0);
+ cairo_line_to(cr, (double) i, (double) pattern_edit->height);
+ cairo_stroke(cr);
+
+ i += pattern_edit->control_current.control_width;
+ }
+ }
+}
+
+/**
+ * ags_pattern_edit_draw_position:
+ * @pattern_edit: the #AgsPatternEdit
+ * @cr: the #cairo_t surface
+ *
+ * Draws the cursor.
+ *
+ * Since: 0.4
+ */
+void
+ags_pattern_edit_draw_position(AgsPatternEdit *pattern_edit, cairo_t *cr)
+{
+ guint selected_x, selected_y;
+ guint x_offset[2], y_offset[2];
+ guint x, y, width, height;
+ gint size_width, size_height;
+
+ selected_x = pattern_edit->selected_x * pattern_edit->control_unit.control_width;
+ selected_y = pattern_edit->selected_y * pattern_edit->control_height;
+
+ size_width = GTK_WIDGET(pattern_edit->drawing_area)->allocation.width;
+ size_height = GTK_WIDGET(pattern_edit->drawing_area)->allocation.height;
+
+ x_offset[0] = (guint) gtk_range_get_value(GTK_RANGE(pattern_edit->hscrollbar));
+ x_offset[1] = x_offset[0] + (guint) size_width;
+
+ y_offset[0] = (guint) gtk_range_get_value(GTK_RANGE(pattern_edit->vscrollbar));
+ y_offset[1] = y_offset[0] + (guint) size_height;
+
+ /* calculate horizontally values */
+ if(selected_x < x_offset[0]){
+ if(selected_x + pattern_edit->control_current.control_width > x_offset[0]){
+ x = 0;
+ width = selected_x + pattern_edit->control_current.control_width - x_offset[0];
+ }else{
+ return;
+ }
+ }else if(selected_x > x_offset[1]){
+ return;
+ }else{
+ x = selected_x - x_offset[0];
+
+ if(selected_x + pattern_edit->control_current.control_width < x_offset[1]){
+ width = pattern_edit->control_current.control_width;
+ }else{
+ width = x_offset[1] - (selected_x + pattern_edit->control_current.control_width);
+ }
+ }
+
+ /* calculate vertically values */
+ if(selected_y < y_offset[0]){
+ if(selected_y + pattern_edit->control_height > y_offset[0]){
+ y = 0;
+ height = selected_y + pattern_edit->control_height - y_offset[0];
+ }else{
+ return;
+ }
+ }else if(selected_y > y_offset[1]){
+ return;
+ }else{
+ y = selected_y - y_offset[0];
+
+ if(selected_y + pattern_edit->control_height < y_offset[1]){
+ height = pattern_edit->control_height;
+ }else{
+ height = y_offset[1] - (selected_y + pattern_edit->control_height);
+ }
+ }
+
+ /* draw */
+ cairo_set_source_rgba(cr, 0.25, 0.5, 1.0, 0.5);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+}
+
+/**
+ * ags_pattern_edit_draw_notation:
+ * @pattern_edit: the #AgsPatternEdit
+ * @cr: the #cairo_t surface
+ *
+ * Draw the #AgsNotation of selected #AgsMachine on @pattern_edit.
+ *
+ * Since: 0.4
+ */
+void
+ags_pattern_edit_draw_notation(AgsPatternEdit *pattern_edit, cairo_t *cr)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ GtkWidget *widget;
+ AgsNote *note;
+ GList *list_notation, *list_note;
+ guint x_offset;
+ guint control_height;
+ guint x, y, width, height;
+ gint selected_channel;
+ gint i;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine == NULL ||
+ (machine = editor->selected_machine) == NULL ||
+ machine->audio->notation == NULL)
+ return;
+
+ widget = (GtkWidget *) pattern_edit->drawing_area;
+
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+
+ i = 0;
+
+ while((selected_channel = ags_notebook_next_active_tab(editor->notebook,
+ i)) != -1){
+ list_notation = g_list_nth(machine->audio->notation,
+ selected_channel);
+ list_note = AGS_NOTATION(list_notation->data)->notes;
+
+ control_height = pattern_edit->control_height - 2 * pattern_edit->control_margin_y;
+
+ x_offset = (guint) GTK_RANGE(pattern_edit->hscrollbar)->adjustment->value;
+
+ /* draw controls smaller than pattern_edit->nth_x */
+ while(list_note != NULL && (note = (AgsNote *) list_note->data)->x[0] < pattern_edit->control_unit.nth_x){
+ if(note->x[1] >= pattern_edit->control_unit.nth_x){
+ if(note->y >= pattern_edit->nth_y && note->y <= pattern_edit->stop_y){
+ x = 0;
+ y = (note->y - pattern_edit->nth_y) * pattern_edit->control_height + pattern_edit->y0 + pattern_edit->control_margin_y;
+
+ width = (guint) ((double) note->x[1] * pattern_edit->control_unit.control_width - (double) x_offset);
+
+ if(width > widget->allocation.width)
+ width = widget->allocation.width;
+
+ height = control_height;
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }else if(note->y == (pattern_edit->nth_y - 1) && pattern_edit->y0 != 0){
+ if(pattern_edit->y0 > pattern_edit->control_margin_y){
+ x = 0;
+ width = (guint) ((double) note->x[1] * (double) pattern_edit->control_unit.control_width - x_offset);
+
+ if(width > widget->allocation.width)
+ width = widget->allocation.width;
+
+ if(pattern_edit->y0 > control_height + pattern_edit->control_margin_y){
+ y = pattern_edit->y0 - (control_height + pattern_edit->control_margin_y);
+ height = control_height;
+ }else{
+ y = 0;
+ height = pattern_edit->y0 - pattern_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }else if(note->y == (pattern_edit->stop_y + 1) && pattern_edit->y1 != 0){
+ if(pattern_edit->y1 > pattern_edit->control_margin_y){
+ x = 0;
+ width = note->x[1] * pattern_edit->control_unit.control_width - x_offset;
+
+ if(width > widget->allocation.width)
+ width = widget->allocation.width;
+
+ y = (note->y - pattern_edit->nth_y) * pattern_edit->control_height + pattern_edit->control_margin_y;
+
+ if(pattern_edit->y1 > control_height + pattern_edit->control_margin_y){
+ height = control_height;
+ }else{
+ height = pattern_edit->y1 - pattern_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }
+ }
+
+ list_note = list_note->next;
+ }
+
+ /* draw controls equal or greater than pattern_edit->nth_x */
+ while(list_note != NULL && (note = (AgsNote *) list_note->data)->x[0] <= pattern_edit->control_unit.stop_x){
+ if(note->y >= pattern_edit->nth_y && note->y <= pattern_edit->stop_y){
+ x = (guint) note->x[0] * pattern_edit->control_unit.control_width;
+ y = (note->y - pattern_edit->nth_y) * pattern_edit->control_height +
+ pattern_edit->y0 +
+ pattern_edit->control_margin_y;
+
+ width = note->x[1] * pattern_edit->control_unit.control_width - x;
+ x -= x_offset;
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ height = control_height;
+
+ /* draw note*/
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }else if(note->y == (pattern_edit->nth_y - 1) && pattern_edit->y0 != 0){
+ if(pattern_edit->y0 > pattern_edit->control_margin_y){
+ x = note->x[0] * pattern_edit->control_unit.control_width - x_offset;
+ width = note->x[1] * pattern_edit->control_unit.control_width - x_offset - x;
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ if(pattern_edit->y0 > control_height + pattern_edit->control_margin_y){
+ y = pattern_edit->y0 - (control_height + pattern_edit->control_margin_y);
+ height = control_height;
+ }else{
+ y = 0;
+ height = pattern_edit->y0 - pattern_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }else if(note->y == (pattern_edit->stop_y + 1) && pattern_edit->y1 != 0){
+ if(pattern_edit->y1 > pattern_edit->control_margin_y){
+ x = note->x[0] * pattern_edit->control_unit.control_width - x_offset;
+ width = note->x[1] * pattern_edit->control_unit.control_width - x_offset - x;
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ y = (note->y - pattern_edit->nth_y) * pattern_edit->control_height + pattern_edit->control_margin_y;
+
+ if(pattern_edit->y1 > control_height + pattern_edit->control_margin_y){
+ height = control_height;
+ }else{
+ height = pattern_edit->y1 - pattern_edit->control_margin_y;
+ }
+
+ /* draw note */
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+
+ /* check if note is selected */
+ if((AGS_NOTE_IS_SELECTED & (note->flags)) != 0){
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.7);
+
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_stroke(cr);
+
+ cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
+ }
+ }
+ }
+
+ list_note = list_note->next;
+ }
+
+ i++;
+ }
+}
+
+/**
+ * ags_pattern_edit_draw_scroll:
+ * @pattern_edit: the #AgsPatternEdit
+ * @cr: the #cairo_t surface
+ * @position: the new position
+ *
+ * Change visible x-position of @pattern_edit.
+ *
+ * Since: 0.4
+ */
+void
+ags_pattern_edit_draw_scroll(AgsPatternEdit *pattern_edit, cairo_t *cr,
+ gdouble position)
+{
+ double x, y;
+ double width, height;
+
+ y = 0.0;
+ x = (position) - (GTK_RANGE(pattern_edit->hscrollbar)->adjustment->value * pattern_edit->control_current.control_width);
+
+ height = (double) GTK_WIDGET(pattern_edit->drawing_area)->allocation.height;
+ width = 3.0;
+
+ /* draw */
+ cairo_set_source_rgba(cr, 0.79, 0.0, 1.0, 0.5);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+}
+
+/**
+ * ags_pattern_edit_new:
+ *
+ * Create a new #AgsPatternEdit.
+ *
+ * Since: 0.4
+ */
+AgsPatternEdit*
+ags_pattern_edit_new()
+{
+ AgsPatternEdit *pattern_edit;
+
+ pattern_edit = (AgsPatternEdit *) g_object_new(AGS_TYPE_PATTERN_EDIT, NULL);
+
+ return(pattern_edit);
+}
+
diff --git a/src/ags/X/editor/ags_pattern_edit.h b/src/ags/X/editor/ags_pattern_edit.h
new file mode 100644
index 0000000..ea7332a
--- /dev/null
+++ b/src/ags/X/editor/ags_pattern_edit.h
@@ -0,0 +1,150 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011, 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PATTERN_EDIT_H__
+#define __AGS_PATTERN_EDIT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_ruler.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_PATTERN_EDIT (ags_pattern_edit_get_type())
+#define AGS_PATTERN_EDIT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PATTERN_EDIT, AgsPatternEdit))
+#define AGS_PATTERN_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PATTERN_EDIT, AgsPatternEditClass))
+#define AGS_IS_PATTERN_EDIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PATTERN_EDIT))
+#define AGS_IS_PATTERN_EDIT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PATTERN_EDIT))
+#define AGS_PATTERN_EDIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_PATTERN_EDIT, AgsPatternEditClass))
+
+#define AGS_PATTERN_EDIT_MAX_CONTROLS 1200
+
+typedef struct _AgsPatternEdit AgsPatternEdit;
+typedef struct _AgsPatternEditClass AgsPatternEditClass;
+
+typedef enum{
+ AGS_PATTERN_EDIT_RESETING_VERTICALLY = 1,
+ AGS_PATTERN_EDIT_RESETING_HORIZONTALLY = 1 << 1,
+ AGS_PATTERN_EDIT_POSITION_CURSOR = 1 << 2,
+ AGS_PATTERN_EDIT_ADDING_NOTE = 1 << 3,
+ AGS_PATTERN_EDIT_DELETING_NOTE = 1 << 4,
+ AGS_PATTERN_EDIT_SELECTING_NOTES = 1 << 5,
+}AgsPatternEditFlags;
+
+typedef enum{
+ AGS_PATTERN_EDIT_RESET_VSCROLLBAR = 1,
+ AGS_PATTERN_EDIT_RESET_HSCROLLBAR = 1 << 1,
+ AGS_PATTERN_EDIT_RESET_WIDTH = 1 << 2,
+ AGS_PATTERN_EDIT_RESET_HEIGHT = 1 << 3, // reserved
+}AgsPatternEditResetFlags;
+
+struct _AgsPatternEdit
+{
+ GtkTable table;
+
+ guint flags;
+
+ AgsRuler *ruler;
+ GtkDrawingArea *drawing_area;
+
+ struct _AgsPatternEditControl{ // values retrieved by mouse pressed and released callback
+ AgsNote *note;
+
+ guint x0_offset;
+ guint y0_offset;
+ guint x0;
+ guint y0;
+
+ guint x1_offset;
+ guint y1_offset;
+ guint x1;
+ guint y1;
+ }control;
+
+ guint width;
+ guint height;
+ guint map_width;
+ guint map_height;
+
+ guint control_height;
+ guint control_margin_y;
+
+ guint control_width;
+
+ guint y0;
+ guint y1;
+
+ guint nth_y;
+ guint stop_y;
+
+ struct _AgsPatternEditControlCurrent{ // values for drawing refering to current tic and zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ }control_current;
+
+ struct _AgsPatternEditControlUnit{ // values for drawing refering to smallest tic and current zoom
+ guint control_count;
+
+ guint control_width;
+
+ guint x0;
+ guint x1;
+
+ guint nth_x;
+ guint stop_x;
+ }control_unit;
+
+ guint selected_x;
+ guint selected_y;
+
+ GtkVScrollbar *vscrollbar;
+ GtkHScrollbar *hscrollbar;
+};
+
+struct _AgsPatternEditClass
+{
+ GtkTableClass table;
+};
+
+GType ags_pattern_edit_get_type(void);
+
+void ags_pattern_edit_set_map_height(AgsPatternEdit *pattern_edit, guint map_height);
+
+void ags_pattern_edit_reset_vertically(AgsPatternEdit *pattern_edit, guint flags);
+void ags_pattern_edit_reset_horizontally(AgsPatternEdit *pattern_edit, guint flags);
+
+void ags_pattern_edit_draw_segment(AgsPatternEdit *pattern_edit, cairo_t *cr);
+void ags_pattern_edit_draw_position(AgsPatternEdit *pattern_edit, cairo_t *cr);
+void ags_pattern_edit_draw_notation(AgsPatternEdit *pattern_edit, cairo_t *cr);
+
+void ags_pattern_edit_draw_scroll(AgsPatternEdit *pattern_edit, cairo_t *cr,
+ gdouble position);
+
+AgsPatternEdit* ags_pattern_edit_new();
+
+#endif /*__AGS_PATTERN_EDIT_H__*/
diff --git a/src/ags/X/editor/ags_pattern_edit_callbacks.c b/src/ags/X/editor/ags_pattern_edit_callbacks.c
new file mode 100644
index 0000000..f876874
--- /dev/null
+++ b/src/ags/X/editor/ags_pattern_edit_callbacks.c
@@ -0,0 +1,774 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_pattern_edit_callbacks.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <ags/X/machine/ags_panel.h>
+#include <ags/X/machine/ags_mixer.h>
+#include <ags/X/machine/ags_drum.h>
+#include <ags/X/machine/ags_matrix.h>
+#include <ags/X/machine/ags_synth.h>
+#include <ags/X/machine/ags_ffplayer.h>
+
+gboolean
+ags_pattern_edit_drawing_area_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsPatternEdit *pattern_edit)
+{
+ AgsEditor *editor;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL){
+ AgsMachine *machine;
+
+ machine = editor->selected_machine;
+
+ if(machine != NULL){
+ cairo_t *cr;
+
+ cr = gdk_cairo_create(widget->window);
+ cairo_push_group(cr);
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+ }
+
+ if(editor->toolbar->selected_edit_mode == editor->toolbar->position){
+ ags_pattern_edit_draw_position(pattern_edit, cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+ }
+
+ return(TRUE);
+}
+
+gboolean
+ags_pattern_edit_drawing_area_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsPatternEdit *pattern_edit)
+{
+ pattern_edit->flags |= AGS_PATTERN_EDIT_RESETING_VERTICALLY;
+ ags_pattern_edit_reset_vertically(pattern_edit, AGS_PATTERN_EDIT_RESET_VSCROLLBAR);
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_RESETING_VERTICALLY);
+
+ pattern_edit->flags |= AGS_PATTERN_EDIT_RESETING_HORIZONTALLY;
+ ags_pattern_edit_reset_horizontally(pattern_edit, AGS_PATTERN_EDIT_RESET_HSCROLLBAR);
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_RESETING_HORIZONTALLY);
+
+ return(FALSE);
+}
+
+gboolean
+ags_pattern_edit_drawing_area_button_press_event (GtkWidget *widget, GdkEventButton *event, AgsPatternEdit *pattern_edit)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ double tact, zoom;
+
+ auto void ags_pattern_edit_drawing_area_button_press_event_set_control();
+
+ void ags_pattern_edit_drawing_area_button_press_event_set_control(){
+ AgsNote *note;
+ guint note_offset_x0, note_offset_y0;
+ guint note_x, note_y;
+
+ if(pattern_edit->control.y0 >= pattern_edit->map_height || pattern_edit->control.x0 >= pattern_edit->map_width)
+ return;
+
+ note_offset_x0 = (guint) (ceil((double) (pattern_edit->control.x0_offset) / (double) (pattern_edit->control_current.control_width)));
+
+ if(pattern_edit->control.x0 >= pattern_edit->control_current.x0)
+ note_x = (guint) (floor((double) (pattern_edit->control.x0 - pattern_edit->control_current.x0) / (double) (pattern_edit->control_current.control_width)));
+ else{
+ note_offset_x0 -= 1;
+ note_x = 0;
+ }
+
+ note_offset_y0 = (guint) ceil((double) (pattern_edit->control.y0_offset) / (double) (pattern_edit->control_height));
+
+ if(pattern_edit->control.y0 >= pattern_edit->y0)
+ note_y = (guint) floor((double) (pattern_edit->control.y0 - pattern_edit->y0) / (double) (pattern_edit->control_height));
+ else{
+ note_offset_y0 -= 1;
+ note_y = 0;
+ }
+
+ note = pattern_edit->control.note;
+ note->flags = AGS_NOTE_GUI;
+ note->x[0] = (note_x * tact) + (note_offset_x0 * tact);
+ note->x[1] = note->x[0] + 1;
+ note->y = note_y + note_offset_y0;
+ }
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL &&
+ event->button == 1 &&
+ (machine = editor->selected_machine) != NULL){
+ AgsToolbar *toolbar;
+
+ toolbar = editor->toolbar;
+
+ if(toolbar->selected_edit_mode == toolbar->position){
+ pattern_edit->flags |= AGS_PATTERN_EDIT_POSITION_CURSOR;
+ }else if(toolbar->selected_edit_mode == toolbar->edit){
+ pattern_edit->flags |= AGS_PATTERN_EDIT_ADDING_NOTE;
+ }else if(toolbar->selected_edit_mode == toolbar->clear){
+ pattern_edit->flags |= AGS_PATTERN_EDIT_DELETING_NOTE;
+ }else if(toolbar->selected_edit_mode == toolbar->select){
+ pattern_edit->flags |= AGS_PATTERN_EDIT_SELECTING_NOTES;
+ }
+
+ /* store the events position */
+ pattern_edit->control.x0_offset = (guint) round((double) GTK_RANGE(pattern_edit->hscrollbar)->adjustment->value);
+ pattern_edit->control.y0_offset = (guint) round((double) GTK_RANGE(pattern_edit->vscrollbar)->adjustment->value);
+
+ pattern_edit->control.x0 = (guint) event->x;
+ pattern_edit->control.y0 = (guint) event->y;
+
+ if((AGS_PATTERN_EDIT_ADDING_NOTE & (pattern_edit->flags)) != 0 ||
+ (AGS_PATTERN_EDIT_POSITION_CURSOR & (pattern_edit->flags)) != 0){
+ tact = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_pattern_edit_drawing_area_button_press_event_set_control();
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_pattern_edit_drawing_area_button_press_event_set_control();
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_pattern_edit_drawing_area_button_press_event_set_control();
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_pattern_edit_drawing_area_button_press_event_set_control();
+ }
+ }
+ }
+
+ return(TRUE);
+}
+
+gboolean
+ags_pattern_edit_drawing_area_button_release_event(GtkWidget *widget, GdkEventButton *event, AgsPatternEdit *pattern_edit)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ AgsNote *note, *note0;
+ double tact;
+
+ auto void ags_pattern_edit_drawing_area_button_release_event_set_control();
+ auto void ags_pattern_edit_drawing_area_button_release_event_draw_control(cairo_t *cr);
+ auto void ags_pattern_edit_drawing_area_button_release_event_delete_point();
+ auto void ags_pattern_edit_drawing_area_button_release_event_select_region();
+
+ void ags_pattern_edit_drawing_area_button_release_event_set_control(){
+ GList *list_notation;
+ guint note_x, note_y;
+ guint note_offset_x1;
+ gint history;
+ gint selected_channel;
+
+ if(pattern_edit->control.x0 >= pattern_edit->map_width)
+ pattern_edit->control.x0 = pattern_edit->map_width - 1;
+
+ note_offset_x1 = (guint) (ceil((double) (pattern_edit->control.x1_offset) / (double) (pattern_edit->control_current.control_width)));
+
+ if(pattern_edit->control.x1 >= pattern_edit->control_current.x0)
+ note_x = (guint) (ceil((double) (pattern_edit->control.x1 - pattern_edit->control_current.x0) / (double) (pattern_edit->control_current.control_width)));
+ else{
+ note_offset_x1 -= 1;
+ note_x = 0;
+ }
+
+ list_notation = machine->audio->notation;
+ history = gtk_combo_box_get_active(editor->toolbar->mode);
+
+ switch(history){
+ case 0:
+ {
+ if(editor->notebook->tabs != NULL){
+ list_notation = g_list_nth(list_notation,
+ ags_notebook_next_active_tab(editor->notebook,
+ 0));
+
+ note0 = ags_note_duplicate(note);
+
+ ags_notation_add_note(AGS_NOTATION(list_notation->data), note0, FALSE);
+ }
+ }
+ break;
+ case 1:
+ {
+ gint i;
+
+ i = 0;
+
+ while((selected_channel = ags_notebook_next_active_tab(editor->notebook,
+ i)) != -1){
+ list_notation = g_list_nth(machine->audio->notation,
+ selected_channel);
+
+ note0 = ags_note_duplicate(note);
+
+ ags_notation_add_note(AGS_NOTATION(list_notation->data), note0, FALSE);
+
+ i++;
+ }
+ }
+ break;
+ case 2:
+ {
+ while(list_notation != NULL){
+ note0 = ags_note_duplicate(note);
+
+ ags_notation_add_note(AGS_NOTATION(list_notation->data), note0, FALSE);
+
+ list_notation = list_notation->next;
+ }
+ }
+ break;
+ }
+
+ fprintf(stdout, "x0 = %llu\nx1 = %llu\ny = %llu\n\n\0", (long long unsigned int) note->x[0], (long long unsigned int) note->x[1], (long long unsigned int) note->y);
+ }
+ void ags_pattern_edit_drawing_area_button_release_event_draw_control(cairo_t *cr){
+ guint x, y, width, height;
+
+ widget = (GtkWidget *) pattern_edit->drawing_area;
+ // cr = gdk_cairo_create(widget->window);
+
+ x = note->x[0] * pattern_edit->control_unit.control_width;
+ width = note->x[1] * pattern_edit->control_unit.control_width;
+
+ if(x < pattern_edit->control.x1_offset){
+ if(width > pattern_edit->control.x1_offset){
+ width -= (guint) x;
+ x = 0;
+ }else{
+ return;
+ }
+ }else if(x < pattern_edit->control.x1_offset + widget->allocation.width){
+ width -= x;
+ x -= pattern_edit->control.x1_offset;
+ }else{
+ return;
+ }
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ y = note->y * pattern_edit->control_height;
+
+ if(y < pattern_edit->control.y1_offset){
+ if(y + pattern_edit->control_height - pattern_edit->control_margin_y < pattern_edit->control.y1_offset){
+ return;
+ }else{
+ if(y + pattern_edit->control_margin_y < pattern_edit->control.y1_offset){
+ height = pattern_edit->control_height;
+ y = y + pattern_edit->control_margin_y - pattern_edit->control.y1_offset;
+ }else{
+ height = pattern_edit->y0;
+ y -= pattern_edit->control.y1_offset;
+ }
+ }
+ }else if(y < pattern_edit->control.y1_offset + widget->allocation.height - pattern_edit->control_height){
+ height = pattern_edit->control_height - 2 * pattern_edit->control_margin_y;
+ y = y - pattern_edit->control.y1_offset + pattern_edit->control_margin_y;
+ }else{
+ if(y > pattern_edit->control.y1_offset + widget->allocation.height - pattern_edit->y1 + pattern_edit->control_margin_y){
+ return;
+ }else{
+ height = pattern_edit->y0;
+ y = y - pattern_edit->control.y1_offset + pattern_edit->control_margin_y;
+ }
+ }
+
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+ }
+ void ags_pattern_edit_drawing_area_button_release_event_delete_point(){
+ GList *list_notation;
+ guint x, y;
+ gint history;
+ gint selected_channel;
+
+ x = pattern_edit->control.x0_offset + pattern_edit->control.x0 - 1;
+ y = pattern_edit->control.y0_offset + pattern_edit->control.y0;
+
+ x = (guint) ceil((double) x / (double) (pattern_edit->control_unit.control_width));
+ y = (guint) floor((double) y / (double) (pattern_edit->control_height));
+
+ g_message("%d, %d\0", x, y);
+
+ /* select notes */
+ list_notation = machine->audio->notation;
+
+ history = gtk_combo_box_get_active(editor->toolbar->mode);
+
+ if(history == 0){
+ if(editor->notebook->tabs != NULL){
+ list_notation = g_list_nth(list_notation,
+ ags_notebook_next_active_tab(editor->notebook,
+ 0));
+
+ ags_notation_remove_note_at_position(AGS_NOTATION(list_notation->data),
+ x, y);
+ }
+ }else if(history == 1){
+ gint i;
+
+ i = 0;
+
+ while((selected_channel = ags_notebook_next_active_tab(editor->notebook,
+ i)) != -1){
+ list_notation = g_list_nth(machine->audio->notation,
+ selected_channel);
+
+ ags_notation_remove_note_at_position(AGS_NOTATION(list_notation->data),
+ x, y);
+
+ list_notation = list_notation->next;
+ i++;
+ }
+ }else if(history == 2){
+ while(list_notation != NULL){
+ ags_notation_remove_note_at_position(AGS_NOTATION(list_notation->data),
+ x, y);
+
+ list_notation = list_notation->next;
+ }
+ }
+ }
+ void ags_pattern_edit_drawing_area_button_release_event_select_region(){
+ GList *list_notation;
+ guint x0, x1, y0, y1;
+
+ /* get real size and offset */
+ x0 = pattern_edit->control.x0_offset + pattern_edit->control.x0;
+ x1 = pattern_edit->control.x1_offset + pattern_edit->control.x1;
+
+ if(x0 > x1){
+ guint tmp;
+
+ tmp = x1;
+ x1 = x0;
+ x0 = tmp;
+ }
+
+ /* convert to region */
+ x0 = (guint) (floor((double) x0 / (double) (pattern_edit->control_current.control_width)) * tact);
+ x1 = (guint) (ceil((double) x1 / (double) (pattern_edit->control_current.control_width)) * tact);
+
+ /* get real size and offset */
+ y0 = pattern_edit->control.y0_offset + pattern_edit->control.y0;
+ y1 = pattern_edit->control.y1_offset + pattern_edit->control.y1;
+
+ if(y0 > y1){
+ guint tmp;
+
+ tmp = y1;
+ y1 = y0;
+ y0 = tmp;
+ }
+
+ /* convert to region */
+ y0 = (guint) floor((double) y0 / (double) (pattern_edit->control_height));
+ y1 = (guint) ceil((double) y1 / (double) (pattern_edit->control_height));
+
+ /* select notes */
+ list_notation = machine->audio->notation;
+
+ if(gtk_combo_box_get_active(editor->toolbar->mode) == 0){
+ if(editor->notebook->tabs != NULL){
+ list_notation = g_list_nth(list_notation,
+ ags_notebook_next_active_tab(editor->notebook,
+ 0));
+
+ ags_notation_add_region_to_selection(AGS_NOTATION(list_notation->data),
+ x0, y0,
+ x1, y1,
+ TRUE);
+ }
+ }else{
+ while(list_notation != NULL ){
+ ags_notation_add_region_to_selection(AGS_NOTATION(list_notation->data),
+ x0, y0,
+ x1, y1,
+ TRUE);
+
+ list_notation = list_notation->next;
+ }
+ }
+
+ }
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL && event->button == 1){
+ cairo_t *cr;
+
+ pattern_edit->control.x1 = (guint) event->x;
+ pattern_edit->control.y1 = (guint) event->y;
+
+ machine = editor->selected_machine;
+ note = pattern_edit->control.note;
+
+ /* store the events position */
+ pattern_edit->control.x1_offset = (guint) round((double) pattern_edit->hscrollbar->scrollbar.range.adjustment->value);
+ pattern_edit->control.y1_offset = (guint) round((double) pattern_edit->vscrollbar->scrollbar.range.adjustment->value);
+
+ tact = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+
+ cr = gdk_cairo_create(widget->window);
+ cairo_push_group(cr);
+
+ if((AGS_PATTERN_EDIT_POSITION_CURSOR & (pattern_edit->flags)) != 0){
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_POSITION_CURSOR);
+
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+
+ pattern_edit->selected_x = pattern_edit->control.note->x[0];
+ pattern_edit->selected_y = pattern_edit->control.note->y;
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_pattern_edit_draw_position(pattern_edit, cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_pattern_edit_draw_position(pattern_edit, cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_pattern_edit_draw_position(pattern_edit, cr);
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_pattern_edit_draw_position(pattern_edit, cr);
+ }
+ }else if((AGS_PATTERN_EDIT_ADDING_NOTE & (pattern_edit->flags)) != 0){
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_ADDING_NOTE);
+
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_pattern_edit_drawing_area_button_release_event_set_control();
+ ags_pattern_edit_drawing_area_button_release_event_draw_control(cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_pattern_edit_drawing_area_button_release_event_set_control();
+ ags_pattern_edit_drawing_area_button_release_event_draw_control(cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_pattern_edit_drawing_area_button_release_event_set_control();
+ ags_pattern_edit_drawing_area_button_release_event_draw_control(cr);
+ }else if(AGS_IS_SYNTH(machine)){
+ ags_pattern_edit_drawing_area_button_release_event_set_control();
+ ags_pattern_edit_drawing_area_button_release_event_draw_control(cr);
+ }
+ }else if((AGS_PATTERN_EDIT_DELETING_NOTE & (pattern_edit->flags)) != 0){
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_DELETING_NOTE);
+
+ ags_pattern_edit_drawing_area_button_release_event_delete_point();
+
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+ }else if((AGS_PATTERN_EDIT_SELECTING_NOTES & (pattern_edit->flags)) != 0){
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_SELECTING_NOTES);
+
+ ags_pattern_edit_drawing_area_button_release_event_select_region();
+
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+
+ return(FALSE);
+}
+
+gboolean
+ags_pattern_edit_drawing_area_motion_notify_event (GtkWidget *widget, GdkEventMotion *event, AgsPatternEdit *pattern_edit)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ AgsNote *note, *note0;
+ double value[2];
+ double tact;
+ guint note_x1;
+ guint prev_x1;
+ void ags_pattern_edit_drawing_area_motion_notify_event_set_control(){
+ GList *list_notation;
+ guint note_x, note_y;
+ guint note_offset_x1;
+
+ if(pattern_edit->control.x0 >= pattern_edit->map_width)
+ pattern_edit->control.x0 = pattern_edit->map_width - 1;
+
+ note_offset_x1 = (guint) (ceil(pattern_edit->control.x1_offset / (double) (pattern_edit->control_current.control_width)));
+
+ if(pattern_edit->control.x1 >= pattern_edit->control_current.x0)
+ note_x = (guint) (ceil((double) (pattern_edit->control.x1 - pattern_edit->control_current.x0) / (double) (pattern_edit->control_current.control_width)));
+ else{
+ note_offset_x1 -= 1;
+ note_x = 0;
+ }
+
+ note_x1 = (note_x * tact) + (note_offset_x1 * tact);
+
+ list_notation = machine->audio->notation;
+
+ fprintf(stdout, "x0 = %llu\nx1 = %llu\ny = %llu\n\n\0", (long long unsigned int) note->x[0], (long long unsigned int) note->x[1], (long long unsigned int) note->y);
+ }
+ void ags_pattern_edit_drawing_area_motion_notify_event_draw_control(cairo_t *cr){
+ guint x, y, width, height;
+
+ widget = (GtkWidget *) pattern_edit->drawing_area;
+
+ x = note->x[0] * pattern_edit->control_unit.control_width;
+ width = note_x1 * pattern_edit->control_unit.control_width;
+
+ if(x < pattern_edit->control.x1_offset){
+ if(width > pattern_edit->control.x1_offset){
+ width -= x;
+ x = 0;
+ }else{
+ return;
+ }
+ }else if(x < pattern_edit->control.x1_offset + widget->allocation.width){
+ width -= x;
+ x -= pattern_edit->control.x1_offset;
+ }else{
+ return;
+ }
+
+ width = pattern_edit->control_unit.control_width;
+
+ if(x + width > widget->allocation.width)
+ width = widget->allocation.width - x;
+
+ y = note->y * pattern_edit->control_height;
+
+ if(y < pattern_edit->control.y1_offset){
+ if(y + pattern_edit->control_height - pattern_edit->control_margin_y < pattern_edit->control.y1_offset){
+ return;
+ }else{
+ if(y + pattern_edit->control_margin_y < pattern_edit->control.y1_offset){
+ height = pattern_edit->control_height;
+ y = y + pattern_edit->control_margin_y - pattern_edit->control.y1_offset;
+ }else{
+ height = pattern_edit->y0;
+ y -= pattern_edit->control.y1_offset;
+ }
+ }
+ }else if(y < pattern_edit->control.y1_offset + widget->allocation.height - pattern_edit->control_height){
+ height = pattern_edit->control_height - 2 * pattern_edit->control_margin_y;
+ y = y - pattern_edit->control.y1_offset + pattern_edit->control_margin_y;
+ }else{
+ if(y > pattern_edit->control.y1_offset + widget->allocation.height - pattern_edit->y1 + pattern_edit->control_margin_y){
+ return;
+ }else{
+ height = pattern_edit->y0;
+ y = y - pattern_edit->control.y1_offset + pattern_edit->control_margin_y;
+ }
+ }
+
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0);
+ cairo_rectangle(cr, (double) x, (double) y, (double) width, (double) height);
+ cairo_fill(cr);
+ }
+ void ags_pattern_edit_drawing_area_motion_notify_event_draw_selection(cairo_t *cr){
+ GtkAllocation allocation;
+ guint x0_offset, x1_offset, y0_offset, y1_offset;
+ guint x0, x1, y0, y1, width, height;
+ guint x0_viewport, x1_viewport, y0_viewport, y1_viewport;
+
+ /* get viewport */
+ gtk_widget_get_allocation(widget, &allocation);
+
+ x0_viewport = pattern_edit->control.x1_offset;
+ x1_viewport = pattern_edit->control.x1_offset + allocation.width;
+
+ y0_viewport = pattern_edit->control.y1_offset;
+ y1_viewport = pattern_edit->control.y1_offset + allocation.height;
+
+ /* get real size and offset */
+ x0 = pattern_edit->control.x0_offset + pattern_edit->control.x0;
+ x1 = pattern_edit->control.x1_offset + pattern_edit->control.x1;
+
+ if(x0 > x1){
+ x0_offset = x1;
+ x1_offset = x0;
+
+ x1 = x0_offset;
+ x0 = x1_offset;
+ }else{
+ x0_offset = x0;
+ x1_offset = x1;
+ }
+
+ /* get drawable size and offset */
+ if(x0 < x0_viewport){
+ // x0 = 0;
+ // width = x1_offset - x0_viewport;
+ x0 -= x0_viewport;
+ width = x1 - x0;
+ }else{
+ x0 -= x0_viewport;
+ width = x1 - x0;
+ }
+
+ if(x1 > x1_viewport){
+ width -= (x1 - x1_viewport);
+ }else{
+ width -= x0_viewport;
+ }
+
+ /* get real size and offset */
+ y0 = pattern_edit->control.y0_offset + pattern_edit->control.y0;
+ y1 = pattern_edit->control.y1_offset + pattern_edit->control.y1;
+
+ if(y0 > y1){
+ y0_offset = y1;
+ y1_offset = y0;
+
+ y1 = y0_offset;
+ y0 = y1_offset;
+ }else{
+ y0_offset = y0;
+ y1_offset = y1;
+ }
+
+ /* get drawable size and offset */
+ if(y0 < y0_viewport){
+ y0 = 0;
+ height = y1_offset - y0_viewport;
+ }else{
+ y0 -= y0_viewport;
+ height = y1 - y0;
+ }
+
+ if(y1 > y1_viewport){
+ height -= (y1 - y1_viewport);
+ }else{
+ height -= y0_viewport;
+ }
+
+ cairo_set_source_rgba(cr, 1.0, 0.0, 0.0, 0.3);
+ cairo_rectangle(cr, (double) x0, (double) y0, (double) width, (double) height);
+ cairo_fill(cr);
+ }
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(pattern_edit),
+ AGS_TYPE_EDITOR);
+
+ if(editor->selected_machine != NULL){
+ cairo_t *cr;
+
+ prev_x1 = pattern_edit->control.x1;
+ pattern_edit->control.x1 = (guint) event->x;
+ pattern_edit->control.y1 = (guint) event->y;
+
+ machine = editor->selected_machine;
+ note = pattern_edit->control.note;
+
+ pattern_edit->control.x1_offset = (guint) round((double) pattern_edit->hscrollbar->scrollbar.range.adjustment->value);
+ pattern_edit->control.y1_offset = (guint) round((double) pattern_edit->vscrollbar->scrollbar.range.adjustment->value);
+
+ tact = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+
+ cr = gdk_cairo_create(widget->window);
+ cairo_push_group(cr);
+
+ if((AGS_PATTERN_EDIT_ADDING_NOTE & (pattern_edit->flags)) != 0){
+ if(prev_x1 > pattern_edit->control.x1){
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+ }
+
+ if(AGS_IS_PANEL(machine)){
+ }else if(AGS_IS_MIXER(machine)){
+ }else if(AGS_IS_DRUM(machine)){
+ ags_pattern_edit_drawing_area_motion_notify_event_set_control();
+ ags_pattern_edit_drawing_area_motion_notify_event_draw_control(cr);
+ }else if(AGS_IS_MATRIX(machine)){
+ ags_pattern_edit_drawing_area_motion_notify_event_set_control();
+ ags_pattern_edit_drawing_area_motion_notify_event_draw_control(cr);
+ }else if(AGS_IS_FFPLAYER(machine)){
+ ags_pattern_edit_drawing_area_motion_notify_event_set_control();
+ ags_pattern_edit_drawing_area_motion_notify_event_draw_control(cr);
+ }
+ }else if((AGS_PATTERN_EDIT_SELECTING_NOTES & (pattern_edit->flags)) != 0){
+ ags_pattern_edit_draw_segment(pattern_edit, cr);
+ ags_pattern_edit_draw_notation(pattern_edit, cr);
+
+ ags_pattern_edit_drawing_area_motion_notify_event_draw_selection(cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+ }
+
+ return(FALSE);
+}
+
+void
+ags_pattern_edit_vscrollbar_value_changed(GtkRange *range, AgsPatternEdit *pattern_edit)
+{
+ if((AGS_PATTERN_EDIT_RESETING_VERTICALLY & pattern_edit->flags) != 0){
+ return;
+ }
+
+ pattern_edit->flags |= AGS_PATTERN_EDIT_RESETING_VERTICALLY;
+ ags_pattern_edit_reset_vertically(pattern_edit, 0);
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_RESETING_VERTICALLY);
+}
+
+void
+ags_pattern_edit_hscrollbar_value_changed(GtkRange *range, AgsPatternEdit *pattern_edit)
+{
+ if((AGS_PATTERN_EDIT_RESETING_HORIZONTALLY & pattern_edit->flags) != 0){
+ return;
+ }
+
+ /* reset ruler */
+ gtk_adjustment_set_value(pattern_edit->ruler->adjustment,
+ GTK_RANGE(pattern_edit->hscrollbar)->adjustment->value / (double) pattern_edit->control_current.control_width);
+ gtk_widget_queue_draw(pattern_edit->ruler);
+
+ /* update note edit */
+ pattern_edit->flags |= AGS_PATTERN_EDIT_RESETING_HORIZONTALLY;
+ ags_pattern_edit_reset_horizontally(pattern_edit, 0);
+ pattern_edit->flags &= (~AGS_PATTERN_EDIT_RESETING_HORIZONTALLY);
+}
diff --git a/src/ags/X/editor/ags_pattern_edit_callbacks.h b/src/ags/X/editor/ags_pattern_edit_callbacks.h
new file mode 100644
index 0000000..a4f0c80
--- /dev/null
+++ b/src/ags/X/editor/ags_pattern_edit_callbacks.h
@@ -0,0 +1,37 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PATTERN_EDIT_CALLBACKS_H__
+#define __AGS_PATTERN_EDIT_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_pattern_edit.h>
+
+gboolean ags_pattern_edit_drawing_area_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsPatternEdit *pattern_edit);
+gboolean ags_pattern_edit_drawing_area_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsPatternEdit *pattern_edit);
+gboolean ags_pattern_edit_drawing_area_button_press_event(GtkWidget *widget, GdkEventButton *event, AgsPatternEdit *pattern_edit);
+gboolean ags_pattern_edit_drawing_area_button_release_event(GtkWidget *widget, GdkEventButton *event, AgsPatternEdit *pattern_edit);
+gboolean ags_pattern_edit_drawing_area_motion_notify_event(GtkWidget *widget, GdkEventMotion *event, AgsPatternEdit *pattern_edit);
+
+void ags_pattern_edit_vscrollbar_value_changed(GtkRange *range, AgsPatternEdit *pattern_edit);
+void ags_pattern_edit_hscrollbar_value_changed(GtkRange *range, AgsPatternEdit *pattern_edit);
+
+#endif /*__AGS_PATTERN_EDIT_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_port_selection.c b/src/ags/X/editor/ags_port_selection.c
new file mode 100644
index 0000000..4298a12
--- /dev/null
+++ b/src/ags/X/editor/ags_port_selection.c
@@ -0,0 +1,369 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_port_selection.h>
+#include <ags/X/editor/ags_port_selection_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/X/ags_automation_editor.h>
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_line_member.h>
+
+void ags_port_selection_class_init(AgsPortSelectionClass *port_selection);
+void ags_port_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_port_selection_init(AgsPortSelection *port_selection);
+void ags_port_selection_connect(AgsConnectable *connectable);
+void ags_port_selection_disconnect(AgsConnectable *connectable);
+
+void ags_port_selection_real_add_port(AgsPortSelection *port_selection,
+ AgsPort *port);
+
+/**
+ * SECTION:ags_port_selection
+ * @short_description: edit tool
+ * @title: AgsPortSelection
+ * @section_id:
+ * @include: ags/X/editor/ags_note_edit.h
+ *
+ * The #AgsPortSelection lets you add ports to automation.
+ */
+
+enum{
+ ADD_PORT,
+ LAST_SIGNAL,
+};
+
+static guint port_selection_signals[LAST_SIGNAL];
+
+GType
+ags_port_selection_get_type(void)
+{
+ static GType ags_type_port_selection = 0;
+
+ if (!ags_type_port_selection){
+ static const GTypeInfo ags_port_selection_info = {
+ sizeof (AgsPortSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_port_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPortSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_port_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_port_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_port_selection = g_type_register_static(GTK_TYPE_MENU_TOOL_BUTTON,
+ "AgsPortSelection\0", &ags_port_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_port_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_port_selection);
+}
+
+void
+ags_port_selection_class_init(AgsPortSelectionClass *port_selection)
+{
+ /* AgsPortSelectionClass */
+ port_selection->add_port = ags_port_selection_real_add_port;
+
+ port_selection_signals[ADD_PORT] =
+ g_signal_new("add-port\0",
+ G_TYPE_FROM_CLASS(port_selection),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsPortSelectionClass, add_port),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_port_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_port_selection_connect;
+ connectable->disconnect = ags_port_selection_disconnect;
+}
+
+void
+ags_port_selection_init(AgsPortSelection *port_selection)
+{
+ g_object_set(G_OBJECT(port_selection),
+ "menu\0", NULL,
+ "stock-id\0", GTK_STOCK_EXECUTE,
+ NULL);
+}
+
+void
+ags_port_selection_connect(AgsConnectable *connectable)
+{
+ AgsPortSelection *port_selection;
+
+ port_selection = AGS_PORT_SELECTION(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_port_selection_disconnect(AgsConnectable *connectable)
+{
+ AgsPortSelection *port_selection;
+
+ port_selection = AGS_PORT_SELECTION(connectable);
+
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_port_selection_load_ports:
+ * @selection:
+ *
+ *
+ */
+void
+ags_port_selection_load_ports(AgsPortSelection *selection)
+{
+ AgsAutomationEditor *automation_editor;
+ AgsMachine *machine;
+ AgsAudio *audio;
+ GtkMenu *menu;
+ GtkMenuItem *item;
+ AgsChannel *channel;
+ GList *port;
+
+ auto GList* ags_port_selection_list_ports(GType type);
+
+ GList* ags_port_selection_list_ports(GType type){
+ GList *pad, *pad_start;
+ GList *line, *line_start;
+ GList *line_member, *line_member_start;
+ GList *port;
+
+ pad_start =
+ pad = gtk_container_get_children(((type == AGS_TYPE_OUTPUT) ? machine->output: machine->input));
+ port = NULL;
+
+ while(pad != NULL){
+ line_start =
+ line = gtk_container_get_children(AGS_PAD(pad->data)->expander_set);
+
+ while(line != NULL){
+ channel = AGS_LINE(line->data)->channel;
+
+ line_member_start =
+ line_member = gtk_container_get_children(AGS_LINE(line->data)->expander->table);
+
+ while(line_member != NULL){
+ if(AGS_IS_LINE_MEMBER(line_member->data)){
+ /* fill list */
+ port = g_list_prepend(port,
+ AGS_LINE_MEMBER(line_member->data)->port);
+
+ /* add menu item */
+ item = gtk_check_menu_item_new_with_label(g_strdup_printf("[%d] %s: %s\0",
+ channel->line,
+ AGS_PORT(port->data)->plugin_name,
+ AGS_PORT(port->data)->specifier));
+ g_object_set_data(G_OBJECT(item),
+ AGS_PORT_SELECTION_DATA_CHANNEL,
+ channel);
+ g_object_set_data(G_OBJECT(item),
+ AGS_PORT_SELECTION_DATA_PORT,
+ port->data);
+ gtk_menu_shell_append(GTK_MENU_SHELL(menu),
+ GTK_WIDGET(item));
+ g_signal_connect(item, "toggled\0",
+ G_CALLBACK(ags_port_selection_ports_toggled_callback), selection);
+
+ }
+
+ line_member = line_member->next;
+ }
+
+ g_list_free(line_member_start);
+
+ line = line->next;
+ }
+
+ g_list_free(line_start);
+
+ pad = pad->next;
+ }
+
+ g_list_free(pad_start);
+
+ port = g_list_reverse(port);
+
+ return(port);
+ }
+
+ automation_editor = gtk_widget_get_ancestor(selection,
+ AGS_TYPE_AUTOMATION_EDITOR);
+
+ if(automation_editor->selected_machine == NULL){
+ return;
+ }
+
+ machine = automation_editor->selected_machine;
+ audio = machine->audio;
+
+ port = NULL;
+
+ /* retrieve port specifiers */
+ menu = gtk_menu_new();
+
+ /* read output ports of line member */
+ if(automation_editor->selected_machine->output != NULL){
+ port = ags_port_selection_list_ports(AGS_TYPE_OUTPUT);
+ g_list_free(port);
+ }
+
+ /* read input ports of line member */
+ if(automation_editor->selected_machine->input != NULL){
+ port = ags_port_selection_list_ports(AGS_TYPE_INPUT);
+ g_list_free(port);
+ }
+
+ g_object_set(selection,
+ "menu\0", menu,
+ NULL);
+ gtk_widget_show_all(menu);
+}
+
+/**
+ * ags_port_selection_enable_ports:
+ * @port_selection:
+ * @ports:
+ *
+ *
+ */
+void
+ags_port_selection_enable_ports(AgsPortSelection *port_selection,
+ GList *ports)
+{
+ GtkMenu *menu;
+ AgsPort *current;
+ GList *list, *list_start;
+
+ g_object_get(port_selection,
+ "menu\0", &menu,
+ NULL);
+
+ /* */
+ list_start =
+ list = gtk_container_get_children(menu);
+
+ while(list != NULL &&
+ ports != NULL){
+ current = g_object_get_data(list->data,
+ AGS_PORT_SELECTION_DATA_PORT);
+
+ if(current == ports->data){
+ gtk_check_menu_item_set_active(list->data,
+ TRUE);
+
+ ports = ports->next;
+ }
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+}
+
+void
+ags_port_selection_real_add_port(AgsPortSelection *port_selection,
+ AgsPort *port)
+{
+ AgsAutomationEditor *automation_editor;
+ AgsAutomationEdit *automation_edit;
+ AgsAutomation *automation;
+ GtkDrawingArea *drawing_area;
+
+ automation_editor = gtk_widget_get_ancestor(port_selection,
+ AGS_TYPE_AUTOMATION_EDITOR);
+ automation_edit = automation_editor->automation_edit;
+
+ /* add automation */
+ automation = g_object_new(AGS_TYPE_AUTOMATION,
+ "port\0", port,
+ NULL);
+ ags_audio_add_automation(automation_editor->selected_machine->audio,
+ automation);
+
+ /* add automation area */
+ drawing_area = ags_automation_edit_add_drawing_area(automation_edit,
+ automation);
+}
+
+/**
+ * ags_port_selection_add_port:
+ * @port_selection:
+ * @port:
+ *
+ *
+ */
+void
+ags_port_selection_add_port(AgsPortSelection *port_selection,
+ AgsPort *port)
+{
+ g_return_if_fail(AGS_IS_PORT_SELECTION(port_selection));
+
+ g_object_ref((GObject *) port_selection);
+ g_signal_emit(G_OBJECT(port_selection),
+ port_selection_signals[ADD_PORT], 0,
+ port);
+ g_object_unref((GObject *) port_selection);
+}
+
+/**
+ * ags_port_selection_new:
+ *
+ * Create a new #AgsPortSelection.
+ *
+ * Since: 0.4
+ */
+AgsPortSelection*
+ags_port_selection_new()
+{
+ AgsPortSelection *port_selection;
+
+ port_selection = (AgsPortSelection *) g_object_new(AGS_TYPE_PORT_SELECTION,
+ NULL);
+
+ return(port_selection);
+}
diff --git a/src/ags/X/editor/ags_port_selection.h b/src/ags/X/editor/ags_port_selection.h
new file mode 100644
index 0000000..0a2e5dd
--- /dev/null
+++ b/src/ags/X/editor/ags_port_selection.h
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PORT_SELECTION_H__
+#define __AGS_PORT_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_port.h>
+
+#define AGS_TYPE_PORT_SELECTION (ags_port_selection_get_type())
+#define AGS_PORT_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PORT_SELECTION, AgsPortSelection))
+#define AGS_PORT_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PORT_SELECTION, AgsPortSelectionClass))
+#define AGS_IS_PORT_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PORT_SELECTION))
+#define AGS_IS_PORT_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PORT_SELECTION))
+#define AGS_PORT_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_PORT_SELECTION, AgsPortSelectionClass))
+
+#define AGS_PORT_SELECTION_DATA_CHANNEL "ags-channel\0"
+#define AGS_PORT_SELECTION_DATA_PORT "ags-port\0"
+
+typedef struct _AgsPortSelection AgsPortSelection;
+typedef struct _AgsPortSelectionClass AgsPortSelectionClass;
+
+struct _AgsPortSelection
+{
+ GtkMenuToolButton menu_tool_button;
+};
+
+struct _AgsPortSelectionClass
+{
+ GtkMenuToolButtonClass menu_tool_button;
+
+ void (*add_port)(AgsPortSelection *port_selection,
+ AgsPort *port);
+};
+
+GType ags_port_selection_get_type(void);
+
+void ags_port_selection_load_ports(AgsPortSelection *selection);
+void ags_port_selection_enable_ports(AgsPortSelection *selection,
+ GList *ports);
+
+void ags_port_selection_add_port(AgsPortSelection *port_selection,
+ AgsPort *port);
+
+AgsPortSelection* ags_port_selection_new();
+
+#endif /*__AGS_PORT_SELECTION_H__*/
diff --git a/src/ags/X/editor/ags_port_selection_callbacks.c b/src/ags/X/editor/ags_port_selection_callbacks.c
new file mode 100644
index 0000000..4250381
--- /dev/null
+++ b/src/ags/X/editor/ags_port_selection_callbacks.c
@@ -0,0 +1,33 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_port_selection_callbacks.h>
+
+#include <ags/audio/ags_port.h>
+
+void
+ags_port_selection_ports_toggled_callback(GtkWidget *menu_item,
+ AgsPortSelection *selection)
+{
+ AgsPort *port;
+
+ port = g_object_get_data(menu_item,
+ AGS_PORT_SELECTION_DATA_PORT);
+ ags_port_selection_add_port(selection,
+ port);
+}
diff --git a/src/ags/X/editor/ags_port_selection_callbacks.h b/src/ags/X/editor/ags_port_selection_callbacks.h
new file mode 100644
index 0000000..d85c599
--- /dev/null
+++ b/src/ags/X/editor/ags_port_selection_callbacks.h
@@ -0,0 +1,30 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PORT_SELECTION_CALLBACKS_H__
+#define __AGS_PORT_SELECTION_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_port_selection.h>
+
+void ags_port_selection_ports_toggled_callback(GtkWidget *menu_item,
+ AgsPortSelection *selection);
+
+#endif /*__AGS_PORT_SELECTION_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_sf2_chooser.c b/src/ags/X/editor/ags_sf2_chooser.c
new file mode 100644
index 0000000..4e1eefe
--- /dev/null
+++ b/src/ags/X/editor/ags_sf2_chooser.c
@@ -0,0 +1,425 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_sf2_chooser.h>
+#include <ags/X/editor/ags_sf2_chooser_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_playable.h>
+
+#include <ags/audio/file/ags_ipatch_sf2_reader.h>
+
+#include <ags/X/ags_window.h>
+
+void ags_sf2_chooser_class_init(AgsSF2ChooserClass *sf2_chooser);
+void ags_sf2_chooser_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_sf2_chooser_init(AgsSF2Chooser *sf2_chooser);
+void ags_sf2_chooser_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_sf2_chooser_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_sf2_chooser_finalize(GObject *gobject);
+void ags_sf2_chooser_connect(AgsConnectable *connectable);
+void ags_sf2_chooser_disconnect(AgsConnectable *connectable);
+void ags_sf2_chooser_show(GtkWidget *widget);
+
+void ags_sf2_chooser_update(AgsSF2Chooser *sf2_chooser);
+
+enum{
+ PROP_0,
+ PROP_IPATCH,
+};
+
+static gpointer ags_sf2_chooser_parent_class = NULL;
+
+GType
+ags_sf2_chooser_get_type(void)
+{
+ static GType ags_type_sf2_chooser = 0;
+
+ if(!ags_type_sf2_chooser){
+ static const GTypeInfo ags_sf2_chooser_info = {
+ sizeof (AgsSF2ChooserClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_sf2_chooser_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSF2Chooser),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_sf2_chooser_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_sf2_chooser_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_sf2_chooser = g_type_register_static(GTK_TYPE_VBOX,
+ "AgsSF2Chooser\0", &ags_sf2_chooser_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_sf2_chooser,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_sf2_chooser);
+}
+
+void
+ags_sf2_chooser_class_init(AgsSF2ChooserClass *sf2_chooser)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_sf2_chooser_parent_class = g_type_class_peek_parent(sf2_chooser);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) sf2_chooser;
+
+ gobject->set_property = ags_sf2_chooser_set_property;
+ gobject->get_property = ags_sf2_chooser_get_property;
+
+ gobject->finalize = ags_sf2_chooser_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("ipatch\0",
+ "current ipatch\0",
+ "The current AgsIpatch\0",
+ AGS_TYPE_IPATCH,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_IPATCH,
+ param_spec);
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) sf2_chooser;
+
+ widget->show = ags_sf2_chooser_show;
+}
+
+void
+ags_sf2_chooser_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_sf2_chooser_connect;
+ connectable->disconnect = ags_sf2_chooser_disconnect;
+}
+
+void
+ags_sf2_chooser_init(AgsSF2Chooser *sf2_chooser)
+{
+ GtkTable *table;
+ GtkLabel *label;
+
+ sf2_chooser->ipatch = NULL;
+
+ table = (GtkTable *) gtk_table_new(2, 3, FALSE);
+ gtk_box_pack_start(GTK_BOX(sf2_chooser), GTK_WIDGET(table), FALSE, FALSE, 0);
+
+ /* first row - preset */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "preset: \0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ sf2_chooser->preset = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(sf2_chooser->preset),
+ 1, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* second row - instrument */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "instrument: \0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ sf2_chooser->instrument = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(sf2_chooser->instrument),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* third row - sample */
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "sample: \0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ sf2_chooser->sample = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_table_attach(table,
+ GTK_WIDGET(sf2_chooser->sample),
+ 1, 2,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+}
+
+void
+ags_sf2_chooser_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsSF2Chooser *sf2_chooser;
+
+ sf2_chooser = AGS_SF2_CHOOSER(gobject);
+
+ switch(prop_id){
+ case PROP_IPATCH:
+ {
+ AgsIpatch *ipatch;
+
+ ipatch = (AgsIpatch *) g_value_get_object(value);
+
+ if(sf2_chooser->ipatch == ipatch)
+ return;
+
+ if(sf2_chooser->ipatch != NULL){
+ g_object_unref(sf2_chooser->ipatch);
+ }
+
+ if(ipatch != NULL){
+ g_object_ref(ipatch);
+ }
+
+ sf2_chooser->ipatch = ipatch;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_sf2_chooser_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsSF2Chooser *sf2_chooser;
+
+ sf2_chooser = AGS_SF2_CHOOSER(gobject);
+
+ switch(prop_id){
+ case PROP_IPATCH:
+ g_value_set_object(value, sf2_chooser->ipatch);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_sf2_chooser_finalize(GObject *gobject)
+{
+ AgsSF2Chooser *sf2_chooser;
+
+ sf2_chooser = (AgsSF2Chooser *) gobject;
+
+ //TODO:JK:
+ /* implement me */
+
+ G_OBJECT_CLASS(ags_sf2_chooser_parent_class)->finalize(gobject);
+}
+
+void
+ags_sf2_chooser_connect(AgsConnectable *connectable)
+{
+ AgsSF2Chooser *sf2_chooser;
+
+ /* AgsSF2Chooser */
+ sf2_chooser = AGS_SF2_CHOOSER(connectable);
+
+ g_signal_connect(G_OBJECT(sf2_chooser->preset), "changed\0",
+ G_CALLBACK(ags_sf2_chooser_preset_changed), sf2_chooser);
+
+ g_signal_connect(G_OBJECT(sf2_chooser->instrument), "changed\0",
+ G_CALLBACK(ags_sf2_chooser_instrument_changed), sf2_chooser);
+
+ g_signal_connect(G_OBJECT(sf2_chooser->sample), "changed\0",
+ G_CALLBACK(ags_sf2_chooser_sample_changed), sf2_chooser);
+}
+
+void
+ags_sf2_chooser_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK:
+ /* implement me */
+}
+
+void
+ags_sf2_chooser_show(GtkWidget *widget)
+{
+ AgsSF2Chooser *sf2_chooser = (AgsSF2Chooser *) widget;
+
+ GTK_WIDGET_CLASS(ags_sf2_chooser_parent_class)->show(widget);
+
+ //TODO:JK:
+ /* perhaps empty */
+}
+
+void
+ags_sf2_chooser_open(AgsSF2Chooser *sf2_chooser, gchar *filename)
+{
+ AgsIpatch *ipatch;
+ AgsIpatchSF2Reader *sf2_reader;
+ AgsPlayable *playable;
+ gchar **preset;
+ gchar **instrument;
+ gchar **sample;
+ GError *error;
+
+ /* clear preset, instrument and sample*/
+ ags_combo_box_text_remove_all(sf2_chooser->preset);
+ ags_combo_box_text_remove_all(sf2_chooser->instrument);
+ ags_combo_box_text_remove_all(sf2_chooser->sample);
+
+ /* Ipatch related */
+ ipatch = g_object_new(AGS_TYPE_IPATCH,
+ "mode\0", AGS_IPATCH_READ,
+ "filename\0", filename,
+ NULL);
+ ags_ipatch_open(ipatch, filename);
+
+ sf2_reader = ags_ipatch_sf2_reader_new();
+ sf2_reader->ipatch = ipatch;
+ ipatch->reader = (GObject *) sf2_reader;
+
+ g_object_set(G_OBJECT(sf2_chooser),
+ "ipatch\0", ipatch,
+ NULL);
+
+ /* fill sf2_chooser->preset */
+ playable = AGS_PLAYABLE(ipatch);
+
+ ags_playable_open(playable, filename);
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 0, filename,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ preset = ags_playable_sublevel_names(playable);
+
+ while(*preset != NULL){
+ gtk_combo_box_text_append_text(sf2_chooser->preset,
+ *preset);
+
+ preset++;
+ }
+
+ /* fill sf2_chooser->instrument */
+ sf2_chooser->ipatch->nth_level = 1;
+ instrument = ags_playable_sublevel_names(playable);
+
+ while(*instrument != NULL){
+ gtk_combo_box_text_append_text(sf2_chooser->instrument,
+ *instrument);
+
+ instrument++;
+ }
+
+
+ /* fill sf2_chooser->sample */
+ sf2_chooser->ipatch->nth_level = 2;
+ sample = ags_playable_sublevel_names(playable);
+
+ while(*sample != NULL){
+ gtk_combo_box_text_append_text(sf2_chooser->sample,
+ *sample);
+
+ sample++;
+ }
+
+ /* reset nth_level */
+ sf2_chooser->ipatch->nth_level = 0;
+}
+
+void
+ags_sf2_chooser_update(AgsSF2Chooser *sf2_chooser)
+{
+ //TODO:JK:
+ /* implement me */
+}
+
+gboolean
+ags_sf2_chooser_completed(AgsSF2Chooser *sf2_chooser)
+{
+ gchar *preset, *instrument, *sample;
+
+ preset = gtk_combo_box_text_get_active_text(sf2_chooser->preset);
+ instrument = gtk_combo_box_text_get_active_text(sf2_chooser->instrument);
+ sample = gtk_combo_box_text_get_active_text(sf2_chooser->sample);
+
+ if(preset != NULL && preset[0] != '\0' &&
+ instrument != NULL && instrument[0] != '\0' &&
+ sample != NULL && sample[0] != '\0'){
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+}
+
+AgsSF2Chooser*
+ags_sf2_chooser_new()
+{
+ AgsSF2Chooser *sf2_chooser;
+
+ sf2_chooser = (AgsSF2Chooser *) g_object_new(AGS_TYPE_SF2_CHOOSER,
+ NULL);
+
+ return(sf2_chooser);
+}
diff --git a/src/ags/X/editor/ags_sf2_chooser.h b/src/ags/X/editor/ags_sf2_chooser.h
new file mode 100644
index 0000000..ab799bb
--- /dev/null
+++ b/src/ags/X/editor/ags_sf2_chooser.h
@@ -0,0 +1,64 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2012 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SF2_CHOOSER_H__
+#define __AGS_SF2_CHOOSER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/file/ags_ipatch.h>
+
+#define AGS_TYPE_SF2_CHOOSER (ags_sf2_chooser_get_type ())
+#define AGS_SF2_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SF2_CHOOSER, AgsSF2Chooser))
+#define AGS_SF2_CHOOSER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SF2_CHOOSER, AgsSF2ChooserClass))
+#define AGS_IS_SF2_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SF2_CHOOSER))
+#define AGS_IS_SF2_CHOOSER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SF2_CHOOSER))
+#define AGS_SF2_CHOOSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SF2_CHOOSER, AgsSF2ChooserClass))
+
+typedef struct _AgsSF2Chooser AgsSF2Chooser;
+typedef struct _AgsSF2ChooserClass AgsSF2ChooserClass;
+
+struct _AgsSF2Chooser
+{
+ GtkVBox vbox;
+
+ AgsIpatch *ipatch;
+
+ GtkComboBoxText *preset;
+ GtkComboBoxText *instrument;
+ GtkComboBoxText *sample;
+};
+
+struct _AgsSF2ChooserClass
+{
+ GtkVBoxClass vbox;
+};
+
+GType ags_sf2_chooser_get_type();
+
+void ags_sf2_chooser_open(AgsSF2Chooser *sf2_chooser, gchar *filename);
+
+gboolean ags_sf2_chooser_completed(AgsSF2Chooser *sf2_chooser);
+
+void ags_sf2_chooser_remove_all_from_combo(GtkComboBoxText *combo);
+
+AgsSF2Chooser* ags_sf2_chooser_new();
+
+#endif /*__AGS_SF2_CHOOSER_H__*/
diff --git a/src/ags/X/editor/ags_sf2_chooser_callbacks.c b/src/ags/X/editor/ags_sf2_chooser_callbacks.c
new file mode 100644
index 0000000..48a03f6
--- /dev/null
+++ b/src/ags/X/editor/ags_sf2_chooser_callbacks.c
@@ -0,0 +1,82 @@
+#include <ags/X/editor/ags_sf2_chooser_callbacks.h>
+
+#include <ags/object/ags_playable.h>
+#include <ags/audio/file/ags_ipatch_sf2_reader.h>
+
+void
+ags_sf2_chooser_preset_changed(GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser)
+{
+ AgsPlayable *playable;
+ gchar *preset;
+ GError *error;
+ guint nth_level;
+
+ /* Ipatch related */
+ playable = AGS_PLAYABLE(sf2_chooser->ipatch);
+ nth_level = ags_playable_nth_level(playable);
+
+ sf2_chooser->ipatch->nth_level = 1;
+
+ preset = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(combo_box));
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 1, preset,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+}
+
+void
+ags_sf2_chooser_instrument_changed(GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser)
+{
+ AgsPlayable *playable;
+ gchar *instrument;
+ GError *error;
+ guint nth_level;
+
+ /* Ipatch related */
+ playable = AGS_PLAYABLE(sf2_chooser->ipatch);
+ nth_level = ags_playable_nth_level(playable);
+
+ sf2_chooser->ipatch->nth_level = 2;
+
+ instrument = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(combo_box));
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 2, instrument,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+}
+
+void
+ags_sf2_chooser_sample_changed(GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser)
+{
+ AgsPlayable *playable;
+ gchar *sample;
+ GError *error;
+ guint nth_level;
+
+ /* Ipatch related */
+ playable = AGS_PLAYABLE(sf2_chooser->ipatch);
+ nth_level = ags_playable_nth_level(playable);
+
+ sf2_chooser->ipatch->nth_level = 3;
+
+ sample = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(combo_box));
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 3, sample,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+}
diff --git a/src/ags/X/editor/ags_sf2_chooser_callbacks.h b/src/ags/X/editor/ags_sf2_chooser_callbacks.h
new file mode 100644
index 0000000..24d902e
--- /dev/null
+++ b/src/ags/X/editor/ags_sf2_chooser_callbacks.h
@@ -0,0 +1,14 @@
+#ifndef __AGS_SF2_CHOOSER_CALLBACKS_H__
+#define __AGS_SF2_CHOOSER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_sf2_chooser.h>
+
+void ags_sf2_chooser_preset_changed(GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser);
+void ags_sf2_chooser_instrument_changed(GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser);
+void ags_sf2_chooser_sample_changed(GtkComboBox *combo_box, AgsSF2Chooser *sf2_chooser);
+
+#endif /*__AGS_SF2_CHOOSER_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_soundset.c b/src/ags/X/editor/ags_soundset.c
new file mode 100644
index 0000000..b2d9d57
--- /dev/null
+++ b/src/ags/X/editor/ags_soundset.c
@@ -0,0 +1,281 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_soundset.h>
+#include <ags/X/editor/ags_soundset_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <math.h>
+
+void ags_soundset_class_init(AgsSoundsetClass *soundset);
+void ags_soundset_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_soundset_init(AgsSoundset *soundset);
+void ags_soundset_connect(AgsConnectable *connectable);
+void ags_soundset_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_soundset
+ * @short_description: piano widget
+ * @title: AgsSoundset
+ * @section_id:
+ * @include: ags/X/editor/ags_soundset.h
+ *
+ * The #AgsSoundset draws you a piano.
+ */
+
+GtkStyle *soundset_style;
+
+GType
+ags_soundset_get_type(void)
+{
+ static GType ags_type_soundset = 0;
+
+ if (!ags_type_soundset){
+ static const GTypeInfo ags_soundset_info = {
+ sizeof (AgsSoundsetClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_soundset_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSoundset),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_soundset_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_soundset_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_soundset = g_type_register_static(GTK_TYPE_DRAWING_AREA,
+ "AgsSoundset\0", &ags_soundset_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_soundset,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_soundset);
+}
+
+void
+ags_soundset_class_init(AgsSoundsetClass *soundset)
+{
+}
+
+void
+ags_soundset_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_soundset_connect;
+ connectable->disconnect = ags_soundset_disconnect;
+}
+
+void
+ags_soundset_init(AgsSoundset *soundset)
+{
+ GtkWidget *widget;
+
+ widget = (GtkWidget *) soundset;
+ gtk_widget_set_style(widget, soundset_style);
+ gtk_widget_set_size_request(widget, 60, -1);
+ gtk_widget_set_events (GTK_WIDGET (soundset), GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_BUTTON_RELEASE_MASK
+ );
+}
+
+void
+ags_soundset_connect(AgsConnectable *connectable)
+{
+ AgsSoundset *soundset;
+
+ soundset = AGS_SOUNDSET(connectable);
+
+ g_signal_connect((GObject *) soundset, "expose_event\0",
+ G_CALLBACK(ags_soundset_expose_event), (gpointer) soundset);
+
+ g_signal_connect((GObject *) soundset, "configure_event\0",
+ G_CALLBACK(ags_soundset_configure_event), (gpointer) soundset);
+}
+
+void
+ags_soundset_disconnect(AgsConnectable *connectable)
+{
+}
+
+void
+ags_soundset_paint(AgsSoundset *soundset)
+{
+ AgsEditor *editor;
+ GtkWidget *widget;
+ cairo_t *cr;
+ guint bitmap;
+ guint y[2];
+ guint i, i_stop, j, j0;
+ guint border_top;
+
+ widget = (GtkWidget *) soundset;
+ editor = (AgsEditor *) gtk_widget_get_ancestor(widget, AGS_TYPE_EDITOR);
+
+ border_top = 24; // see ags_ruler.c
+
+ bitmap = 0x555555; // description of the keyboard
+
+ j = (guint) ceil(GTK_RANGE(editor->edit.pattern_edit->vscrollbar)->adjustment->value / (double) editor->edit.pattern_edit->control_height);
+ j = j % 12;
+
+ y[0] = (guint) round(GTK_RANGE(editor->edit.pattern_edit->vscrollbar)->adjustment->value) % editor->edit.pattern_edit->control_height;
+
+ if(y[0] != 0){
+ y[0] = editor->edit.pattern_edit->control_height - y[0];
+ }
+
+ y[1] = ((guint) (widget->allocation.height - border_top) - y[0]) % editor->edit.pattern_edit->control_height;
+ i_stop = ((widget->allocation.height - border_top) - y[0] - y[1]) / editor->edit.pattern_edit->control_height;
+
+ cr = gdk_cairo_create(widget->window);
+
+ cairo_set_source_rgb(cr, 0.88, 0.8, 0.0);
+ cairo_rectangle(cr, 0.0, (double) border_top, (double) widget->allocation.width, (double) widget->allocation.height - border_top);
+ cairo_fill(cr);
+
+ cairo_set_line_width(cr, 1.0);
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ if(y[0] != 0){
+ j0 = (j != 0) ? j -1: 11;
+
+ if(((1 << j0) & bitmap) != 0){
+ cairo_set_source_rgb(cr, 0.2, 0.2, 0.2);
+
+ cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ if(y[0] > editor->edit.pattern_edit->control_height / 2){
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (y[0] - editor->edit.pattern_edit->control_height / 2) + border_top);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (y[0] - editor->edit.pattern_edit->control_height / 2) + border_top);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, border_top);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_stroke(cr);
+ }else{
+ if(((1 << (j0 + 1)) & bitmap) == 0){
+ cairo_move_to(cr, 0.0, (double) y[0]);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, border_top);
+ cairo_line_to(cr, (double) widget->allocation.width, (double) y[0] + border_top);
+ cairo_stroke(cr);
+ }
+ }
+
+ for(i = 0; i < i_stop; i++){
+ if(((1 << j) & bitmap) != 0){
+ // draw semi tone key
+ cairo_set_source_rgb(cr, 0.2, 0.2, 0.2);
+
+ cairo_rectangle(cr, 0.0, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top), (double) widget->allocation.width, (double) editor->edit.pattern_edit->control_height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top + editor->edit.pattern_edit->control_height / 2));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top + editor->edit.pattern_edit->control_height / 2));
+ cairo_stroke(cr);
+
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top + editor->edit.pattern_edit->control_height));
+ cairo_stroke(cr);
+ }else{
+ // no semi tone key
+ if(((1 << (j + 1)) & bitmap) == 0){
+ cairo_move_to(cr, 0.0, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top + editor->edit.pattern_edit->control_height));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top + editor->edit.pattern_edit->control_height));
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) (i * editor->edit.pattern_edit->control_height + y[0] + border_top + editor->edit.pattern_edit->control_height));
+ cairo_stroke(cr);
+ }
+
+ if(j == 11)
+ j = 0;
+ else
+ j++;
+ }
+
+ if(y[1] != 0){
+ j0 = j;
+
+ if(((1 << j0) & bitmap) != 0){
+ cairo_set_source_rgb(cr, 0.2, 0.2, 0.2);
+
+ cairo_rectangle(cr, 0.0, (double) (widget->allocation.height - y[1]), (double) widget->allocation.width, (double) y[1]);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.68, 0.68, 0.68);
+
+ if(y[1] > editor->edit.pattern_edit->control_height / 2){
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (widget->allocation.height - y[1] + editor->edit.pattern_edit->control_height / 2));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) ((widget->allocation.height) - y[1] + editor->edit.pattern_edit->control_height / 2));
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (widget->allocation.height - y[1]));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) widget->allocation.height);
+ cairo_stroke(cr);
+ }else{
+ cairo_move_to(cr, (double) widget->allocation.width, (double) (widget->allocation.height - y[1]));
+ cairo_line_to(cr, (double) widget->allocation.width, (double) widget->allocation.height);
+ cairo_stroke(cr);
+ }
+ }
+}
+
+/**
+ * ags_soundset_new:
+ *
+ * Create a new #AgsSoundset.
+ *
+ * Since: 0.4
+ */
+AgsSoundset*
+ags_soundset_new()
+{
+ AgsSoundset *soundset;
+
+ soundset = (AgsSoundset *) g_object_new(AGS_TYPE_SOUNDSET, NULL);
+
+ return(soundset);
+}
diff --git a/src/ags/X/editor/ags_soundset.h b/src/ags/X/editor/ags_soundset.h
new file mode 100644
index 0000000..b8196c5
--- /dev/null
+++ b/src/ags/X/editor/ags_soundset.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#ifndef __AGS_SOUNDSET_H__
+#define __AGS_SOUNDSET_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <cairo.h>
+
+#define AGS_TYPE_SOUNDSET (ags_soundset_get_type())
+#define AGS_SOUNDSET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOUNDSET, AgsSoundset))
+#define AGS_SOUNDSET_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SOUNDSET, AgsSoundsetClass))
+#define AGS_IS_SOUNDSET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SOUNDSET))
+#define AGS_IS_SOUNDSET_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SOUNDSET))
+#define AGS_SOUNDSET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_SOUNDSET, AgsSoundsetClass))
+
+typedef struct _AgsSoundset AgsSoundset;
+typedef struct _AgsSoundsetClass AgsSoundsetClass;
+
+struct _AgsSoundset
+{
+ GtkDrawingArea drawing_area;
+};
+
+struct _AgsSoundsetClass
+{
+ GtkDrawingAreaClass drawing_area;
+};
+
+GType ags_soundset_get_type(void);
+
+char* ags_soundset_sound_string();
+void ags_soundset_paint(AgsSoundset *soundset); // , guint rows, guint nth_y, guint y0
+
+AgsSoundset* ags_soundset_new();
+
+#endif /*__AGS_SOUNDSET_H__*/
diff --git a/src/ags/X/editor/ags_soundset_callbacks.c b/src/ags/X/editor/ags_soundset_callbacks.c
new file mode 100644
index 0000000..f7c7e0d
--- /dev/null
+++ b/src/ags/X/editor/ags_soundset_callbacks.c
@@ -0,0 +1,39 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_soundset_callbacks.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <math.h>
+
+gboolean
+ags_soundset_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsSoundset *soundset)
+{
+ ags_soundset_paint(soundset);
+
+ return(TRUE);
+}
+
+gboolean
+ags_soundset_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsSoundset *soundset)
+{
+ ags_soundset_paint(soundset);
+
+ return(FALSE);
+}
diff --git a/src/ags/X/editor/ags_soundset_callbacks.h b/src/ags/X/editor/ags_soundset_callbacks.h
new file mode 100644
index 0000000..0d892bd
--- /dev/null
+++ b/src/ags/X/editor/ags_soundset_callbacks.h
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SOUNDSET_CALLBACKS_H__
+#define __AGS_SOUNDSET_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_soundset.h>
+
+gboolean ags_soundset_expose_event(GtkWidget *widget, GdkEventExpose *event, AgsSoundset *soundset);
+gboolean ags_soundset_configure_event(GtkWidget *widget, GdkEventConfigure *event, AgsSoundset *soundset);
+
+#endif /*__AGS_SOUNDSET_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_toolbar.c b/src/ags/X/editor/ags_toolbar.c
new file mode 100644
index 0000000..f1fffde
--- /dev/null
+++ b/src/ags/X/editor/ags_toolbar.c
@@ -0,0 +1,261 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_toolbar.h>
+#include <ags/X/editor/ags_toolbar_callbacks.h>
+#include <ags/X/editor/ags_toolbar_mode_stock.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_menu_bar.h>
+
+#include <gtk/gtkhbox.h>
+#include <gtk/gtkbox.h>
+#include <gtk/gtkcontainer.h>
+#include <gtk/gtkbutton.h>
+#include <gtk/gtktogglebutton.h>
+#include <gtk/gtkcheckbutton.h>
+#include <gtk/gtklabel.h>
+#include <gtk/gtkoptionmenu.h>
+#include <gtk/gtkimage.h>
+#include <gtk/gtkstock.h>
+
+void ags_toolbar_class_init(AgsToolbarClass *toolbar);
+void ags_toolbar_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_toolbar_init(AgsToolbar *toolbar);
+void ags_toolbar_connect(AgsConnectable *connectable);
+void ags_toolbar_disconnect(AgsConnectable *connectable);
+void ags_toolbar_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_toolbar
+ * @short_description: edit tool
+ * @title: AgsToolbar
+ * @section_id:
+ * @include: ags/X/editor/ags_note_edit.h
+ *
+ * The #AgsToolbar lets you choose edit tool.
+ */
+
+GType
+ags_toolbar_get_type(void)
+{
+ static GType ags_type_toolbar = 0;
+
+ if (!ags_type_toolbar){
+ static const GTypeInfo ags_toolbar_info = {
+ sizeof (AgsToolbarClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_toolbar_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsToolbar),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_toolbar_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_toolbar_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_toolbar = g_type_register_static(GTK_TYPE_TOOLBAR,
+ "AgsToolbar\0", &ags_toolbar_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_toolbar,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_toolbar);
+}
+
+void
+ags_toolbar_class_init(AgsToolbarClass *toolbar)
+{
+}
+
+void
+ags_toolbar_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_toolbar_connect;
+ connectable->disconnect = ags_toolbar_disconnect;
+}
+
+void
+ags_toolbar_init(AgsToolbar *toolbar)
+{
+ GtkLabel *label;
+ GtkMenu *menu;
+ GtkMenuItem *item;
+
+ toolbar->position = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_JUMP_TO, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->position, "position cursor\0", NULL);
+
+ toolbar->edit = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ "active\0", TRUE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->edit, "edit notes\0", NULL);
+ toolbar->selected_edit_mode = toolbar->edit;
+
+ toolbar->clear = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_CLEAR, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->clear, "clear notes\0", NULL);
+
+ toolbar->select = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_SELECT_ALL, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->select, "select notes\0", NULL);
+
+ toolbar->copy = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_COPY, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->copy, "copy notes\0", NULL);
+
+ toolbar->cut = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_CUT, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->cut, "cut notes\0", NULL);
+
+ toolbar->paste = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "image\0", (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_PASTE, GTK_ICON_SIZE_LARGE_TOOLBAR),
+ "relief\0", GTK_RELIEF_NONE,
+ NULL);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->paste, "paste notes\0", NULL);
+
+ /* zoom */
+ label = (GtkLabel *) gtk_label_new("zoom\0");
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) label, NULL, NULL);
+
+ toolbar->zoom_history = 4;
+ toolbar->zoom = ags_zoom_combo_box_new();
+ gtk_combo_box_set_active(toolbar->zoom, 4);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->zoom, NULL , NULL);
+
+ /* edit modes */
+ label = (GtkLabel *) gtk_label_new("mode\0");
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) label, NULL, NULL);
+
+ //TODO:JK: uncomment me
+ toolbar->mode = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_combo_box_text_append_text(toolbar->mode,
+ AGS_TOOLBAR_MODE_SINGLE_CHANNEL);
+ // gtk_combo_box_text_append_text(toolbar->mode,
+ // AGS_TOOLBAR_MODE_MULTI_CHANNEL);
+ // gtk_combo_box_text_append_text(toolbar->mode,
+ // AGS_TOOLBAR_MODE_ALL_CHANNELS);
+ gtk_combo_box_set_active(toolbar->mode,
+ 0);
+ gtk_toolbar_append_widget((GtkToolbar *) toolbar, (GtkWidget *) toolbar->mode, NULL, NULL);
+}
+
+void
+ags_toolbar_connect(AgsConnectable *connectable)
+{
+ AgsToolbar *toolbar;
+
+ toolbar = AGS_TOOLBAR(connectable);
+
+ g_signal_connect((GObject *) toolbar, "show\0",
+ G_CALLBACK(ags_toolbar_show_callback), (gpointer) toolbar);
+
+ /* tool */
+ g_signal_connect_after((GObject *) toolbar->position, "toggled\0",
+ G_CALLBACK(ags_toolbar_position_callback), (gpointer) toolbar);
+
+ g_signal_connect_after((GObject *) toolbar->edit, "toggled\0",
+ G_CALLBACK(ags_toolbar_edit_callback), (gpointer) toolbar);
+
+ g_signal_connect_after((GObject *) toolbar->clear, "toggled\0",
+ G_CALLBACK(ags_toolbar_clear_callback), (gpointer) toolbar);
+
+ g_signal_connect_after((GObject *) toolbar->select, "toggled\0",
+ G_CALLBACK(ags_toolbar_select_callback), (gpointer) toolbar);
+
+ /* edit */
+ g_signal_connect((GObject *) toolbar->copy, "clicked\0",
+ G_CALLBACK(ags_toolbar_copy_or_cut_callback), (gpointer) toolbar);
+
+ g_signal_connect((GObject *) toolbar->cut, "clicked\0",
+ G_CALLBACK(ags_toolbar_copy_or_cut_callback), (gpointer) toolbar);
+
+ g_signal_connect((GObject *) toolbar->paste, "clicked\0",
+ G_CALLBACK(ags_toolbar_paste_callback), (gpointer) toolbar);
+
+ /* zoom */
+ g_signal_connect_after((GObject *) toolbar->zoom, "changed\0",
+ G_CALLBACK(ags_toolbar_zoom_callback), (gpointer) toolbar);
+
+ /* mode */
+ g_signal_connect_after((GObject *) toolbar->mode, "changed\0",
+ G_CALLBACK(ags_toolbar_mode_callback), (gpointer) toolbar);
+}
+
+void
+ags_toolbar_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_toolbar_show(GtkWidget *widget)
+{
+ /*
+ GList *list;
+
+ list = gtk_container_get_children((GtkContainer *) widget);
+
+ while(list != NULL){
+ gtk_widget_show_all((GtkWidget *) widget);
+
+ list = list->next;
+ }
+ */
+}
+
+/**
+ * ags_toolbar_new:
+ *
+ * Create a new #AgsToolbar.
+ *
+ * Since: 0.3
+ */
+AgsToolbar*
+ags_toolbar_new()
+{
+ AgsToolbar *toolbar;
+
+ toolbar = (AgsToolbar *) g_object_new(AGS_TYPE_TOOLBAR, NULL);
+
+ return(toolbar);
+}
diff --git a/src/ags/X/editor/ags_toolbar.h b/src/ags/X/editor/ags_toolbar.h
new file mode 100644
index 0000000..1398e64
--- /dev/null
+++ b/src/ags/X/editor/ags_toolbar.h
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TOOLBAR_H__
+#define __AGS_TOOLBAR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_TOOLBAR (ags_toolbar_get_type())
+#define AGS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TOOLBAR, AgsToolbar))
+#define AGS_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TOOLBAR, AgsToolbarClass))
+#define AGS_IS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TOOLBAR))
+#define AGS_IS_TOOLBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TOOLBAR))
+#define AGS_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_TOOLBAR, AgsToolbarClass))
+
+typedef struct _AgsToolbar AgsToolbar;
+typedef struct _AgsToolbarClass AgsToolbarClass;
+
+struct _AgsToolbar
+{
+ GtkToolbar toolbar;
+
+ GtkToggleButton *selected_edit_mode;
+ GtkToggleButton *position;
+ GtkToggleButton *edit;
+ GtkToggleButton *clear;
+ GtkToggleButton *select;
+
+ GtkButton *copy;
+ GtkButton *cut;
+ GtkButton *paste;
+
+ guint zoom_history;
+ GtkComboBoxText *zoom;
+
+ GtkComboBoxText *mode;
+};
+
+struct _AgsToolbarClass
+{
+ GtkToolbarClass toolbar;
+};
+
+GType ags_toolbar_get_type(void);
+
+AgsToolbar* ags_toolbar_new();
+
+#endif /*__AGS_TOOLBAR_H__*/
diff --git a/src/ags/X/editor/ags_toolbar_callbacks.c b/src/ags/X/editor/ags_toolbar_callbacks.c
new file mode 100644
index 0000000..2daa86a
--- /dev/null
+++ b/src/ags/X/editor/ags_toolbar_callbacks.c
@@ -0,0 +1,389 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/editor/ags_toolbar_callbacks.h>
+
+#include <ags/X/ags_editor.h>
+#include <ags/X/editor/ags_note_edit.h>
+
+#include <libxml/tree.h>
+#include <libxml/xpath.h>
+
+#include <math.h>
+
+void
+ags_toolbar_show_callback(GtkWidget *widget, AgsToolbar *toolbar)
+{
+ ags_toolbar_show(widget);
+}
+
+void
+ags_toolbar_position_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar)
+{
+ AgsEditor *editor;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(toolbar), AGS_TYPE_EDITOR);
+
+ if(toggle_button == toolbar->selected_edit_mode){
+ GtkWidget *child;
+ GList *list;
+ GdkRectangle *rectangle;
+ gint width, height;
+
+ list = gtk_container_get_children(editor->table);
+
+ /* 3rd - 1 */
+ child = g_list_nth(editor->table,
+ 2)->data;
+
+ /* refresh editor */
+ gtk_widget_queue_draw(child);
+
+ if(!gtk_toggle_button_get_active(toggle_button)){
+ gtk_toggle_button_set_active(toggle_button, TRUE);
+ }
+ }else if(gtk_toggle_button_get_active(toggle_button)){
+ GtkToggleButton *old_selected_edit_mode;
+ cairo_t *cr;
+
+ old_selected_edit_mode = toolbar->selected_edit_mode;
+ toolbar->selected_edit_mode = toggle_button;
+ gtk_toggle_button_set_active(old_selected_edit_mode, FALSE);
+
+ /* refresh note_edit */
+ if((AGS_EDITOR_TOOL_NOTE_EDIT & (editor->flags)) != 0){
+ cr = gdk_cairo_create(GTK_WIDGET(editor->edit.note_edit->drawing_area)->window);
+ ags_note_edit_draw_position(editor->edit.note_edit, cr);
+ }else if((AGS_EDITOR_TOOL_PATTERN_EDIT & (editor->flags)) != 0){
+ cr = gdk_cairo_create(GTK_WIDGET(editor->edit.pattern_edit->drawing_area)->window);
+ ags_pattern_edit_draw_position(editor->edit.pattern_edit, cr);
+ }else if((AGS_EDITOR_TOOL_AUTOMATION_EDIT & (editor->flags)) != 0){
+ //TODO:JK: implement me
+ }
+ }
+}
+
+void
+ags_toolbar_edit_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar)
+{
+ if(toggle_button == toolbar->selected_edit_mode){
+ if(!gtk_toggle_button_get_active(toggle_button)){
+ gtk_toggle_button_set_active(toggle_button, TRUE);
+ }
+ }else if(gtk_toggle_button_get_active(toggle_button)){
+ GtkToggleButton *old_selected_edit_mode;
+
+ old_selected_edit_mode = toolbar->selected_edit_mode;
+ toolbar->selected_edit_mode = toggle_button;
+ gtk_toggle_button_set_active(old_selected_edit_mode, FALSE);
+ }
+}
+
+void
+ags_toolbar_clear_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar)
+{
+ if(toggle_button == toolbar->selected_edit_mode){
+ if(!gtk_toggle_button_get_active(toggle_button)){
+ gtk_toggle_button_set_active(toggle_button, TRUE);
+ }
+ }else if(gtk_toggle_button_get_active(toggle_button)){
+ GtkToggleButton *old_selected_edit_mode;
+
+ old_selected_edit_mode = toolbar->selected_edit_mode;
+ toolbar->selected_edit_mode = toggle_button;
+ gtk_toggle_button_set_active(old_selected_edit_mode, FALSE);
+ }
+}
+
+void
+ags_toolbar_select_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar)
+{
+ if(toggle_button == toolbar->selected_edit_mode){
+ if(!gtk_toggle_button_get_active(toggle_button)){
+ gtk_toggle_button_set_active(toggle_button, TRUE);
+ }
+ }else if(gtk_toggle_button_get_active(toggle_button)){
+ GtkToggleButton *old_selected_edit_mode;
+
+ old_selected_edit_mode = toolbar->selected_edit_mode;
+ toolbar->selected_edit_mode = toggle_button;
+ gtk_toggle_button_set_active(old_selected_edit_mode, FALSE);
+ }
+}
+
+void
+ags_toolbar_copy_or_cut_callback(GtkWidget *widget, AgsToolbar *toolbar)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ AgsNotation *notation;
+ GList *list_notation;
+ xmlDocPtr clipboard;
+ xmlNodePtr audio_node, notation_node;
+ xmlChar *buffer;
+ int size;
+
+ /* add notation to root node */
+ editor = AGS_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(toolbar), AGS_TYPE_EDITOR));
+
+ if((machine = editor->selected_machine) != NULL){
+ /* create document */
+ clipboard = xmlNewDoc(BAD_CAST XML_DEFAULT_VERSION);
+
+ /* create root node */
+ audio_node = xmlNewNode(NULL, BAD_CAST "audio\0");
+ xmlDocSetRootElement(clipboard, audio_node);
+
+ /* create notation nodes */
+ list_notation = machine->audio->notation;
+
+ if(gtk_option_menu_get_history(toolbar->mode) == 0){
+ if(editor->notebook->tabs != NULL){
+ list_notation = g_list_nth(list_notation,
+ ags_notebook_next_active_tab(editor->notebook,
+ 0));
+
+ if(widget == (GtkWidget *) toolbar->copy)
+ notation_node = ags_notation_copy_selection(AGS_NOTATION(list_notation->data));
+ else
+ notation_node = ags_notation_cut_selection(AGS_NOTATION(list_notation->data));
+
+ xmlAddChild(audio_node, notation_node);
+ }
+ }else{
+ while(list_notation != NULL ){
+ if(widget == (GtkWidget *) toolbar->copy)
+ notation_node = ags_notation_copy_selection(AGS_NOTATION(list_notation->data));
+ else
+ notation_node = ags_notation_cut_selection(AGS_NOTATION(list_notation->data));
+
+ xmlAddChild(audio_node, notation_node);
+
+ list_notation = list_notation->next;
+ }
+ }
+
+ /* write to clipboard */
+ xmlDocDumpFormatMemoryEnc(clipboard, &buffer, &size, "UTF-8\0", TRUE);
+ gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_CLIPBOARD),
+ buffer, size);
+ gtk_clipboard_store(gtk_clipboard_get(GDK_SELECTION_CLIPBOARD));
+
+ xmlFreeDoc(clipboard);
+ }
+}
+
+void
+ags_toolbar_paste_callback(GtkWidget *widget, AgsToolbar *toolbar)
+{
+ AgsMachine *machine;
+ AgsEditor *editor;
+ AgsNotation *notation;
+ xmlDocPtr clipboard;
+ xmlNodePtr audio_node, notation_node;
+ gchar *buffer;
+ guint position_x, position_y;
+ gboolean paste_from_position;
+ void ags_toolbar_paste_callback_read_notation(){
+ xmlXPathContextPtr xpathCtxt;
+ xmlXPathObjectPtr xpathObj;
+ xmlNodeSetPtr nodes;
+ GList *notation_list;
+
+ xpathCtxt = xmlXPathNewContext(clipboard);
+
+ xpathObj = xmlXPathEvalExpression("/audio/notation\0", xpathCtxt);
+
+ if(xpathObj != NULL){
+ int i, size;
+
+ nodes = xpathObj->nodesetval;
+ size = (nodes != NULL) ? nodes->nodeNr: 0;
+
+ notation_list = machine->audio->notation;
+
+ for(i = 0; i < size && notation_list != NULL; i++){
+ if(paste_from_position){
+ ags_notation_insert_from_clipboard(AGS_NOTATION(notation_list->data),
+ nodes->nodeTab[i],
+ TRUE, position_x,
+ TRUE, position_y);
+ }else{
+ ags_notation_insert_from_clipboard(AGS_NOTATION(notation_list->data),
+ nodes->nodeTab[i],
+ FALSE, 0,
+ FALSE, 0);
+ }
+
+ notation_list = notation_list->next;
+ }
+
+ xmlXPathFreeObject(xpathObj);
+ }
+
+ if(xpathCtxt != NULL)
+ xmlXPathFreeContext(xpathCtxt);
+ }
+
+ /* retrieve AgsEditor */
+ editor = AGS_EDITOR(gtk_widget_get_ancestor(GTK_WIDGET(toolbar), AGS_TYPE_EDITOR));
+
+ if((machine = editor->selected_machine) != NULL){
+ /* get clipboard */
+ buffer = gtk_clipboard_wait_for_text(gtk_clipboard_get(GDK_SELECTION_CLIPBOARD));
+
+ if(buffer == NULL)
+ return;
+
+ /* get position */
+ if(toolbar->selected_edit_mode == toolbar->position){
+ paste_from_position = TRUE;
+
+ if((AGS_EDITOR_TOOL_NOTE_EDIT & (editor->flags)) != 0){
+ position_x = editor->edit.note_edit->selected_x;
+ position_y = editor->edit.note_edit->selected_y;
+ }else if((AGS_EDITOR_TOOL_PATTERN_EDIT & (editor->flags)) != 0){
+ position_x = editor->edit.pattern_edit->selected_x;
+ position_y = editor->edit.pattern_edit->selected_y;
+ }else if((AGS_EDITOR_TOOL_AUTOMATION_EDIT & (editor->flags)) != 0){
+ //TODO:JK: implement me
+ position_x = 0;
+ position_y = 0;
+ // position_x = editor->edit.automation_edit->selected_x;
+ // position_y = editor->edit.automation_edit->selected_y;
+ }
+
+ printf("pasting at position: [%u,%u]\n\0", position_x, position_y);
+ }else{
+ paste_from_position = FALSE;
+ }
+
+ /* get xml tree */
+ clipboard = xmlReadMemory(buffer, strlen(buffer),
+ NULL, "UTF-8\0",
+ 0);
+ audio_node = xmlDocGetRootElement(clipboard);
+
+ /* iterate xml tree */
+ while(audio_node != NULL){
+ if(audio_node->type == XML_ELEMENT_NODE && !xmlStrncmp("audio\0", audio_node->name, 6)){
+ notation_node = audio_node->children;
+
+ ags_toolbar_paste_callback_read_notation();
+
+ break;
+ }
+
+ audio_node = audio_node->next;
+ }
+
+ xmlFreeDoc(clipboard);
+ }
+}
+
+void
+ags_toolbar_zoom_callback(GtkComboBox *combo_box, AgsToolbar *toolbar)
+{
+ AgsEditor *editor;
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+ double zoom, zoom_old;
+ guint history;
+
+ editor = (AgsEditor *) gtk_widget_get_ancestor((GtkWidget *) toolbar, AGS_TYPE_EDITOR);
+
+ history = gtk_combo_box_get_active(combo_box);
+
+ zoom = exp2((double) history - 4.0);
+ zoom_old = exp2((double) toolbar->zoom_history - 4.0);
+
+ toolbar->zoom_history = history;
+
+ if((AGS_EDITOR_TOOL_NOTE_EDIT & (editor->flags)) != 0){
+ editor->edit.note_edit->flags |= AGS_NOTE_EDIT_RESETING_HORIZONTALLY;
+ ags_note_edit_reset_horizontally(editor->edit.note_edit, AGS_NOTE_EDIT_RESET_HSCROLLBAR |
+ AGS_NOTE_EDIT_RESET_WIDTH);
+ editor->edit.note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_HORIZONTALLY);
+ }else if((AGS_EDITOR_TOOL_PATTERN_EDIT & (editor->flags)) != 0){
+ editor->edit.pattern_edit->flags |= AGS_PATTERN_EDIT_RESETING_HORIZONTALLY;
+ ags_pattern_edit_reset_horizontally(editor->edit.pattern_edit, AGS_PATTERN_EDIT_RESET_HSCROLLBAR |
+ AGS_PATTERN_EDIT_RESET_WIDTH);
+ editor->edit.note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_HORIZONTALLY);
+ }else if((AGS_EDITOR_TOOL_AUTOMATION_EDIT & (editor->flags)) != 0){
+ //TODO:JK: implement me
+ }
+}
+
+void
+ags_toolbar_mode_callback(GtkWidget *widget, AgsToolbar *toolbar)
+{
+ AgsEditor *editor;
+ AgsNotebook *notebook;
+ GList *list;
+ gint history;
+
+ /* retrieve some variables */
+ editor = (AgsEditor *) gtk_widget_get_ancestor(GTK_WIDGET(toolbar),
+ AGS_TYPE_EDITOR);
+
+ notebook = editor->notebook;
+
+ /* toggle AgsNotebook */
+ history = gtk_option_menu_get_history(toolbar->mode);
+
+ switch(history){
+ case 0:
+ {
+ list = g_list_reverse(notebook->tabs);
+
+ if(list != NULL){
+ gtk_toggle_button_set_active(AGS_NOTEBOOK_TAB(list->data)->toggle,
+ TRUE);
+
+ list = list->next;
+ }
+
+ while(list != NULL){
+ gtk_toggle_button_set_active(AGS_NOTEBOOK_TAB(list->data)->toggle,
+ FALSE);
+
+ list = list->next;
+ }
+ }
+ break;
+ case 1:
+ {
+ //NOTE: you're on your own
+ }
+ break;
+ case 2:
+ {
+ list = g_list_reverse(notebook->tabs);
+
+ while(list != NULL){
+ gtk_toggle_button_set_active(AGS_NOTEBOOK_TAB(list->data)->toggle,
+ TRUE);
+
+ list = list->next;
+ }
+ }
+ break;
+ default:
+ g_message("unknown editor mode\0");
+ }
+}
diff --git a/src/ags/X/editor/ags_toolbar_callbacks.h b/src/ags/X/editor/ags_toolbar_callbacks.h
new file mode 100644
index 0000000..c8b99a3
--- /dev/null
+++ b/src/ags/X/editor/ags_toolbar_callbacks.h
@@ -0,0 +1,42 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TOOLBAR_CALLBACKS_H__
+#define __AGS_TOOLBAR_CALLBACKS_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/editor/ags_toolbar.h>
+
+gboolean ags_toolbar_destroy_callback(GtkObject *object, AgsToolbar *toolbar);
+void ags_toolbar_show_callback(GtkWidget *widget, AgsToolbar *toolbar);
+
+void ags_toolbar_position_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar);
+void ags_toolbar_edit_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar);
+void ags_toolbar_clear_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar);
+void ags_toolbar_select_callback(GtkToggleButton *toggle_button, AgsToolbar *toolbar);
+
+void ags_toolbar_copy_or_cut_callback(GtkWidget *widget, AgsToolbar *toolbar);
+void ags_toolbar_paste_callback(GtkWidget *widget, AgsToolbar *toolbar);
+
+void ags_toolbar_zoom_callback(GtkComboBox *combo_box, AgsToolbar *toolbar);
+
+void ags_toolbar_mode_callback(GtkWidget *widget, AgsToolbar *toolbar);
+
+#endif /*__AGS_TOOLBAR_CALLBACKS_H__*/
diff --git a/src/ags/X/editor/ags_toolbar_mode_stock.h b/src/ags/X/editor/ags_toolbar_mode_stock.h
new file mode 100644
index 0000000..79f26da
--- /dev/null
+++ b/src/ags/X/editor/ags_toolbar_mode_stock.h
@@ -0,0 +1,26 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TOOLBAR_MODE_STOCK_H__
+#define __AGS_TOOLBAR_MODE_STOCK_H__
+
+#define AGS_TOOLBAR_MODE_SINGLE_CHANNEL "single channel\0"
+#define AGS_TOOLBAR_MODE_MULTI_CHANNEL "multi channel\0"
+#define AGS_TOOLBAR_MODE_ALL_CHANNELS "all channels\0"
+
+#endif /*__AGS_TOOLBAR_MODE_STOCK_H__*/
diff --git a/src/ags/X/machine/Makefile b/src/ags/X/machine/Makefile
new file mode 100644
index 0000000..1ab3495
--- /dev/null
+++ b/src/ags/X/machine/Makefile
@@ -0,0 +1,560 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/X/machine/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/X/machine
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/X/machine
+abs_srcdir = /usr/src/ags-devel/src/ags/X/machine
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../../
+top_builddir = ../../../..
+top_srcdir = ../../../..
+deprecated_ags_machine_h_sources =
+ags_machine_h_sources = \
+ $(deprecated_ags_machine_h_sources) \
+ ags_drum_callbacks.h \
+ ags_drum.h \
+ ags_drum_input_line_callbacks.h \
+ ags_drum_input_line.h \
+ ags_drum_input_pad_callbacks.h \
+ ags_drum_input_pad.h \
+ ags_drum_output_line_callbacks.h \
+ ags_drum_output_line.h \
+ ags_drum_output_pad_callbacks.h \
+ ags_drum_output_pad.h \
+ ags_ffplayer_bridge_callbacks.h \
+ ags_ffplayer_bridge.h \
+ ags_ffplayer_bulk_input_callbacks.h \
+ ags_ffplayer_bulk_input.h \
+ ags_ffplayer_callbacks.h \
+ ags_ffplayer.h \
+ ags_ffplayer_input_line_callbacks.h \
+ ags_ffplayer_input_line.h \
+ ags_ffplayer_input_pad_callbacks.h \
+ ags_ffplayer_input_pad.h \
+ ags_ladspa_bridge_callbacks.h \
+ ags_ladspa_bridge.h \
+ ags_matrix_bridge_callbacks.h \
+ ags_matrix_bridge.h \
+ ags_matrix_bulk_input_callbacks.h \
+ ags_matrix_bulk_input.h \
+ ags_matrix_callbacks.h \
+ ags_matrix.h \
+ ags_mixer_callbacks.h \
+ ags_mixer.h \
+ ags_mixer_input_line.h \
+ ags_mixer_input_pad.h \
+ ags_oscillator_callbacks.h \
+ ags_oscillator.h \
+ ags_panel_callbacks.h \
+ ags_panel.h \
+ ags_panel_input_line.h \
+ ags_panel_input_pad.h \
+ ags_synth_bridge_callbacks.h \
+ ags_synth_bridge.h \
+ ags_synth_bulk_output_callbacks.h \
+ ags_synth_bulk_output.h \
+ ags_synth_callbacks.h \
+ ags_synth.h \
+ ags_synth_input_line.h \
+ ags_synth_input_pad.h \
+ ags_synth_output_line_callbacks.h \
+ ags_synth_output_line.h \
+ ags_synth_output_pad_callbacks.h \
+ ags_synth_output_pad.h
+
+deprecated_ags_machine_c_sources =
+ags_machine_c_sources = \
+ $(deprecated_ags_machine_c_sources) \
+ ags_drum_callbacks.c \
+ ags_drum.c \
+ ags_drum_input_line_callbacks.c \
+ ags_drum_input_line.c \
+ ags_drum_input_pad_callbacks.c \
+ ags_drum_input_pad.c \
+ ags_drum_output_line_callbacks.c \
+ ags_drum_output_line.c \
+ ags_drum_output_pad_callbacks.c \
+ ags_drum_output_pad.c \
+ ags_ffplayer_bridge_callbacks.c \
+ ags_ffplayer_bridge.c \
+ ags_ffplayer_bulk_input_callbacks.c \
+ ags_ffplayer_bulk_input.c \
+ ags_ffplayer_callbacks.c \
+ ags_ffplayer.c \
+ ags_ffplayer_input_line_callbacks.c \
+ ags_ffplayer_input_line.c \
+ ags_ffplayer_input_pad_callbacks.c \
+ ags_ffplayer_input_pad.c \
+ ags_ladspa_bridge_callbacks.c \
+ ags_ladspa_bridge.c \
+ ags_matrix_bridge_callbacks.c \
+ ags_matrix_bridge.c \
+ ags_matrix_bulk_input_callbacks.c \
+ ags_matrix_bulk_input.c \
+ ags_matrix_callbacks.c \
+ ags_matrix.c \
+ ags_mixer_callbacks.c \
+ ags_mixer.c \
+ ags_mixer_input_line.c \
+ ags_mixer_input_pad.c \
+ ags_oscillator_callbacks.c \
+ ags_oscillator.c \
+ ags_panel_callbacks.c \
+ ags_panel.c \
+ ags_panel_input_line.c \
+ ags_panel_input_pad.c \
+ ags_synth_bridge_callbacks.c \
+ ags_synth_bridge.c \
+ ags_synth_bulk_output_callbacks.c \
+ ags_synth_bulk_output.c \
+ ags_synth_callbacks.c \
+ ags_synth.c \
+ ags_synth_input_line.c \
+ ags_synth_input_pad.c \
+ ags_synth_output_line_callbacks.c \
+ ags_synth_output_line.c \
+ ags_synth_output_pad_callbacks.c \
+ ags_synth_output_pad.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/X/machine/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/X/machine/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/X/machine/Makefile.am b/src/ags/X/machine/Makefile.am
new file mode 100644
index 0000000..21a6ce8
--- /dev/null
+++ b/src/ags/X/machine/Makefile.am
@@ -0,0 +1,109 @@
+deprecated_ags_machine_h_sources =
+
+ags_machine_h_sources = \
+ $(deprecated_ags_machine_h_sources) \
+ ags_drum_callbacks.h \
+ ags_drum.h \
+ ags_drum_input_line_callbacks.h \
+ ags_drum_input_line.h \
+ ags_drum_input_pad_callbacks.h \
+ ags_drum_input_pad.h \
+ ags_drum_output_line_callbacks.h \
+ ags_drum_output_line.h \
+ ags_drum_output_pad_callbacks.h \
+ ags_drum_output_pad.h \
+ ags_ffplayer_bridge_callbacks.h \
+ ags_ffplayer_bridge.h \
+ ags_ffplayer_bulk_input_callbacks.h \
+ ags_ffplayer_bulk_input.h \
+ ags_ffplayer_callbacks.h \
+ ags_ffplayer.h \
+ ags_ffplayer_input_line_callbacks.h \
+ ags_ffplayer_input_line.h \
+ ags_ffplayer_input_pad_callbacks.h \
+ ags_ffplayer_input_pad.h \
+ ags_ladspa_bridge_callbacks.h \
+ ags_ladspa_bridge.h \
+ ags_matrix_bridge_callbacks.h \
+ ags_matrix_bridge.h \
+ ags_matrix_bulk_input_callbacks.h \
+ ags_matrix_bulk_input.h \
+ ags_matrix_callbacks.h \
+ ags_matrix.h \
+ ags_mixer_callbacks.h \
+ ags_mixer.h \
+ ags_mixer_input_line.h \
+ ags_mixer_input_pad.h \
+ ags_oscillator_callbacks.h \
+ ags_oscillator.h \
+ ags_panel_callbacks.h \
+ ags_panel.h \
+ ags_panel_input_line.h \
+ ags_panel_input_pad.h \
+ ags_synth_bridge_callbacks.h \
+ ags_synth_bridge.h \
+ ags_synth_bulk_output_callbacks.h \
+ ags_synth_bulk_output.h \
+ ags_synth_callbacks.h \
+ ags_synth.h \
+ ags_synth_input_line.h \
+ ags_synth_input_pad.h \
+ ags_synth_output_line_callbacks.h \
+ ags_synth_output_line.h \
+ ags_synth_output_pad_callbacks.h \
+ ags_synth_output_pad.h
+
+deprecated_ags_machine_c_sources =
+
+ags_machine_c_sources = \
+ $(deprecated_ags_machine_c_sources) \
+ ags_drum_callbacks.c \
+ ags_drum.c \
+ ags_drum_input_line_callbacks.c \
+ ags_drum_input_line.c \
+ ags_drum_input_pad_callbacks.c \
+ ags_drum_input_pad.c \
+ ags_drum_output_line_callbacks.c \
+ ags_drum_output_line.c \
+ ags_drum_output_pad_callbacks.c \
+ ags_drum_output_pad.c \
+ ags_ffplayer_bridge_callbacks.c \
+ ags_ffplayer_bridge.c \
+ ags_ffplayer_bulk_input_callbacks.c \
+ ags_ffplayer_bulk_input.c \
+ ags_ffplayer_callbacks.c \
+ ags_ffplayer.c \
+ ags_ffplayer_input_line_callbacks.c \
+ ags_ffplayer_input_line.c \
+ ags_ffplayer_input_pad_callbacks.c \
+ ags_ffplayer_input_pad.c \
+ ags_ladspa_bridge_callbacks.c \
+ ags_ladspa_bridge.c \
+ ags_matrix_bridge_callbacks.c \
+ ags_matrix_bridge.c \
+ ags_matrix_bulk_input_callbacks.c \
+ ags_matrix_bulk_input.c \
+ ags_matrix_callbacks.c \
+ ags_matrix.c \
+ ags_mixer_callbacks.c \
+ ags_mixer.c \
+ ags_mixer_input_line.c \
+ ags_mixer_input_pad.c \
+ ags_oscillator_callbacks.c \
+ ags_oscillator.c \
+ ags_panel_callbacks.c \
+ ags_panel.c \
+ ags_panel_input_line.c \
+ ags_panel_input_pad.c \
+ ags_synth_bridge_callbacks.c \
+ ags_synth_bridge.c \
+ ags_synth_bulk_output_callbacks.c \
+ ags_synth_bulk_output.c \
+ ags_synth_callbacks.c \
+ ags_synth.c \
+ ags_synth_input_line.c \
+ ags_synth_input_pad.c \
+ ags_synth_output_line_callbacks.c \
+ ags_synth_output_line.c \
+ ags_synth_output_pad_callbacks.c \
+ ags_synth_output_pad.c
diff --git a/src/ags/X/machine/Makefile.in b/src/ags/X/machine/Makefile.in
new file mode 100644
index 0000000..32c73e1
--- /dev/null
+++ b/src/ags/X/machine/Makefile.in
@@ -0,0 +1,560 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/X/machine
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_machine_h_sources =
+ags_machine_h_sources = \
+ $(deprecated_ags_machine_h_sources) \
+ ags_drum_callbacks.h \
+ ags_drum.h \
+ ags_drum_input_line_callbacks.h \
+ ags_drum_input_line.h \
+ ags_drum_input_pad_callbacks.h \
+ ags_drum_input_pad.h \
+ ags_drum_output_line_callbacks.h \
+ ags_drum_output_line.h \
+ ags_drum_output_pad_callbacks.h \
+ ags_drum_output_pad.h \
+ ags_ffplayer_bridge_callbacks.h \
+ ags_ffplayer_bridge.h \
+ ags_ffplayer_bulk_input_callbacks.h \
+ ags_ffplayer_bulk_input.h \
+ ags_ffplayer_callbacks.h \
+ ags_ffplayer.h \
+ ags_ffplayer_input_line_callbacks.h \
+ ags_ffplayer_input_line.h \
+ ags_ffplayer_input_pad_callbacks.h \
+ ags_ffplayer_input_pad.h \
+ ags_ladspa_bridge_callbacks.h \
+ ags_ladspa_bridge.h \
+ ags_matrix_bridge_callbacks.h \
+ ags_matrix_bridge.h \
+ ags_matrix_bulk_input_callbacks.h \
+ ags_matrix_bulk_input.h \
+ ags_matrix_callbacks.h \
+ ags_matrix.h \
+ ags_mixer_callbacks.h \
+ ags_mixer.h \
+ ags_mixer_input_line.h \
+ ags_mixer_input_pad.h \
+ ags_oscillator_callbacks.h \
+ ags_oscillator.h \
+ ags_panel_callbacks.h \
+ ags_panel.h \
+ ags_panel_input_line.h \
+ ags_panel_input_pad.h \
+ ags_synth_bridge_callbacks.h \
+ ags_synth_bridge.h \
+ ags_synth_bulk_output_callbacks.h \
+ ags_synth_bulk_output.h \
+ ags_synth_callbacks.h \
+ ags_synth.h \
+ ags_synth_input_line.h \
+ ags_synth_input_pad.h \
+ ags_synth_output_line_callbacks.h \
+ ags_synth_output_line.h \
+ ags_synth_output_pad_callbacks.h \
+ ags_synth_output_pad.h
+
+deprecated_ags_machine_c_sources =
+ags_machine_c_sources = \
+ $(deprecated_ags_machine_c_sources) \
+ ags_drum_callbacks.c \
+ ags_drum.c \
+ ags_drum_input_line_callbacks.c \
+ ags_drum_input_line.c \
+ ags_drum_input_pad_callbacks.c \
+ ags_drum_input_pad.c \
+ ags_drum_output_line_callbacks.c \
+ ags_drum_output_line.c \
+ ags_drum_output_pad_callbacks.c \
+ ags_drum_output_pad.c \
+ ags_ffplayer_bridge_callbacks.c \
+ ags_ffplayer_bridge.c \
+ ags_ffplayer_bulk_input_callbacks.c \
+ ags_ffplayer_bulk_input.c \
+ ags_ffplayer_callbacks.c \
+ ags_ffplayer.c \
+ ags_ffplayer_input_line_callbacks.c \
+ ags_ffplayer_input_line.c \
+ ags_ffplayer_input_pad_callbacks.c \
+ ags_ffplayer_input_pad.c \
+ ags_ladspa_bridge_callbacks.c \
+ ags_ladspa_bridge.c \
+ ags_matrix_bridge_callbacks.c \
+ ags_matrix_bridge.c \
+ ags_matrix_bulk_input_callbacks.c \
+ ags_matrix_bulk_input.c \
+ ags_matrix_callbacks.c \
+ ags_matrix.c \
+ ags_mixer_callbacks.c \
+ ags_mixer.c \
+ ags_mixer_input_line.c \
+ ags_mixer_input_pad.c \
+ ags_oscillator_callbacks.c \
+ ags_oscillator.c \
+ ags_panel_callbacks.c \
+ ags_panel.c \
+ ags_panel_input_line.c \
+ ags_panel_input_pad.c \
+ ags_synth_bridge_callbacks.c \
+ ags_synth_bridge.c \
+ ags_synth_bulk_output_callbacks.c \
+ ags_synth_bulk_output.c \
+ ags_synth_callbacks.c \
+ ags_synth.c \
+ ags_synth_input_line.c \
+ ags_synth_input_pad.c \
+ ags_synth_output_line_callbacks.c \
+ ags_synth_output_line.c \
+ ags_synth_output_pad_callbacks.c \
+ ags_synth_output_pad.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/X/machine/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/X/machine/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/X/machine/ags_drum.c b/src/ags/X/machine/ags_drum.c
new file mode 100644
index 0000000..558ca51
--- /dev/null
+++ b/src/ags/X/machine/ags_drum.c
@@ -0,0 +1,946 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum.h>
+#include <ags/X/machine/ags_drum_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_portlet.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+#include <ags/file/ags_file_gui.h>
+
+#include <ags/thread/ags_thread-posix.h>
+#include <ags/thread/ags_audio_loop.h>
+
+#include <ags/widget/ags_led.h>
+
+#include <ags/X/machine/ags_drum_input_pad.h>
+#include <ags/X/machine/ags_drum_input_line.h>
+#include <ags/X/machine/ags_drum_output_pad.h>
+#include <ags/X/machine/ags_drum_output_line.h>
+#include <ags/X/machine/ags_drum_input_line_callbacks.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_menu_bar.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+
+#include <ags/audio/task/recall/ags_apply_sequencer_length.h>
+
+#include <math.h>
+
+void ags_drum_class_init(AgsDrumClass *drum);
+void ags_drum_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_drum_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_drum_init(AgsDrum *drum);
+void ags_drum_finalize(GObject *gobject);
+void ags_drum_connect(AgsConnectable *connectable);
+void ags_drum_disconnect(AgsConnectable *connectable);
+void ags_drum_show(GtkWidget *widget);
+void ags_drum_show_all(GtkWidget *widget);
+void ags_drum_map_recall(AgsMachine *machine);
+gchar* ags_drum_get_name(AgsPlugin *plugin);
+void ags_drum_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_drum_get_xml_type(AgsPlugin *plugin);
+void ags_drum_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_drum_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+void ags_drum_launch_task(AgsFileLaunch *file_launch, AgsDrum *drum);
+xmlNode* ags_drum_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+void ags_drum_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+
+void ags_drum_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsDrum *drum);
+void ags_drum_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsDrum *drum);
+
+/**
+ * SECTION:ags_drum
+ * @short_description: drum sequencer
+ * @title: AgsDrum
+ * @section_id:
+ * @include: ags/X/machine/ags_drum.h
+ *
+ * The #AgsDrum is a composite widget to act as drum sequencer.
+ */
+
+static gpointer ags_drum_parent_class = NULL;
+
+static AgsConnectableInterface *ags_drum_parent_connectable_interface;
+
+const char *AGS_DRUM_INDEX = "AgsDrumIndex";
+
+GType
+ags_drum_get_type(void)
+{
+ static GType ags_type_drum = 0;
+
+ if(!ags_type_drum){
+ static const GTypeInfo ags_drum_info = {
+ sizeof(AgsDrumClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_drum_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsDrum),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_drum_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_drum_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_drum_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_drum = g_type_register_static(AGS_TYPE_MACHINE,
+ "AgsDrum\0", &ags_drum_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_drum,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_drum,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_drum);
+}
+
+void
+ags_drum_class_init(AgsDrumClass *drum)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsMachineClass *machine;
+
+ ags_drum_parent_class = g_type_class_peek_parent(drum);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) drum;
+
+ gobject->finalize = ags_drum_finalize;
+
+ /* GtkWidget */
+ widget = (GtkWidgetClass *) drum;
+
+ widget->show = ags_drum_show;
+ widget->show_all = ags_drum_show_all;
+
+ /* */
+ machine = (AgsMachineClass *) drum;
+
+ machine->map_recall = ags_drum_map_recall;
+}
+
+void
+ags_drum_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_drum_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_drum_connect;
+ connectable->disconnect = ags_drum_disconnect;
+}
+
+void
+ags_drum_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_drum_get_name;
+ plugin->set_name = ags_drum_set_name;
+ plugin->get_xml_type = ags_drum_get_xml_type;
+ plugin->set_xml_type = ags_drum_set_xml_type;
+ plugin->read = ags_drum_read;
+ plugin->write = ags_drum_write;
+}
+
+void
+ags_drum_init(AgsDrum *drum)
+{
+ GtkVBox *vbox;
+ GtkHBox *hbox;
+ GtkToggleButton *toggle_button;
+ GtkFrame *frame;
+ GtkTable *table0, *table1;
+ GtkRadioButton *radio_button;
+
+ AgsAudio *audio;
+
+ GList *list;
+ guint stream_length;
+ int i, j;
+
+ g_signal_connect_after((GObject *) drum, "parent_set\0",
+ G_CALLBACK(ags_drum_parent_set_callback), (gpointer) drum);
+
+
+ audio = AGS_MACHINE(drum)->audio;
+ audio->flags |= (AGS_AUDIO_OUTPUT_HAS_RECYCLING |
+ AGS_AUDIO_INPUT_HAS_RECYCLING |
+ AGS_AUDIO_INPUT_TAKES_FILE |
+ AGS_AUDIO_SYNC |
+ AGS_AUDIO_ASYNC);
+
+ AGS_MACHINE(drum)->flags |= AGS_MACHINE_IS_SEQUENCER;
+ AGS_MACHINE(drum)->input_pad_type = AGS_TYPE_DRUM_INPUT_PAD;
+ AGS_MACHINE(drum)->input_line_type = AGS_TYPE_DRUM_INPUT_LINE;
+ AGS_MACHINE(drum)->output_pad_type = AGS_TYPE_DRUM_OUTPUT_PAD;
+ AGS_MACHINE(drum)->output_line_type = AGS_TYPE_DRUM_OUTPUT_LINE;
+
+ g_signal_connect_after(G_OBJECT(audio), "set_audio_channels\0",
+ G_CALLBACK(ags_drum_set_audio_channels), drum);
+
+ g_signal_connect_after(G_OBJECT(audio), "set_pads\0",
+ G_CALLBACK(ags_drum_set_pads), drum);
+
+ drum->flags = 0;
+
+ drum->name = NULL;
+ drum->xml_type = "ags-drum\0";
+
+ /* create widgets */
+ drum->vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add((GtkContainer*) gtk_bin_get_child((GtkBin *) drum), (GtkWidget *) drum->vbox);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) drum->vbox, (GtkWidget *) hbox, FALSE, FALSE, 0);
+
+ drum->input_pad = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ AGS_MACHINE(drum)->input = (GtkContainer *) drum->input_pad;
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) drum->input_pad, FALSE, FALSE, 0);
+
+ drum->output_pad = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ AGS_MACHINE(drum)->output = (GtkContainer *) drum->output_pad;
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) drum->output_pad, FALSE, FALSE, 0);
+
+ drum->selected_pad = NULL;
+ drum->selected_edit_button = NULL;
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) drum->vbox, (GtkWidget *) hbox, FALSE, FALSE, 0);
+
+ frame = (GtkFrame *) gtk_frame_new("kit\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) frame, FALSE, FALSE, 0);
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add((GtkContainer*) frame, (GtkWidget *) vbox);
+
+ gtk_box_pack_start((GtkBox *) vbox,
+ (GtkWidget *) gtk_label_new("default\0"),
+ FALSE, FALSE, 0);
+
+ gtk_box_pack_start((GtkBox *) vbox,
+ (GtkWidget *) (drum->open = (GtkButton *) gtk_button_new_from_stock(GTK_STOCK_OPEN)),
+ FALSE, FALSE, 0);
+
+ /* sequencer */
+ frame = (GtkFrame *) gtk_frame_new("Pattern\0");
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) frame, FALSE, FALSE, 0);
+
+ table0 = (GtkTable *) gtk_table_new(16, 4, FALSE);
+ gtk_container_add((GtkContainer*) frame, (GtkWidget *) table0);
+
+ drum->loop_button = (GtkCheckButton *) gtk_check_button_new_with_label("loop\0");
+ gtk_table_attach_defaults(table0,
+ (GtkWidget *) drum->loop_button,
+ 0, 1, 2, 3);
+
+ AGS_MACHINE(drum)->play =
+ drum->run = (GtkToggleButton *) gtk_toggle_button_new_with_label("run\0");
+ gtk_table_attach_defaults(table0,
+ (GtkWidget *) drum->run,
+ 1, 2, 2, 3);
+
+ /* bank */
+ table1 = (GtkTable *) gtk_table_new(3, 5, TRUE);
+ gtk_table_attach_defaults(table0,
+ (GtkWidget *) table1,
+ 2, 3, 0, 3);
+
+ drum->selected1 = NULL;
+
+ for(i = 0; i < 3; i++)
+ for(j = 0; j < 4; j++){
+ gtk_table_attach_defaults(table1,
+ (GtkWidget *) (drum->index1[i * 4 + j] = (GtkToggleButton *) gtk_toggle_button_new()),
+ j, j +1, i, i +1);
+ g_object_set_data((GObject *) drum->index1[i * 4 + j], AGS_DRUM_INDEX, GUINT_TO_POINTER(i * 4 + j));
+ }
+
+ drum->selected1 = drum->index1[0];
+ gtk_toggle_button_set_active(drum->index1[0], TRUE);
+
+ drum->selected0 = NULL;
+
+ for(j = 0; j < 4; j++){
+ gtk_table_attach_defaults(table1,
+ (GtkWidget *) (drum->index0[j] = (GtkToggleButton *) gtk_toggle_button_new()),
+ j, j +1, 4, 5);
+ g_object_set_data((GObject *) drum->index0[j], AGS_DRUM_INDEX, GUINT_TO_POINTER(j));
+ }
+
+ drum->selected0 = drum->index0[0];
+ gtk_toggle_button_set_active(drum->index0[0], TRUE);
+
+ /* duration */
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_table_attach(table0,
+ (GtkWidget *) hbox,
+ 6, 7, 0, 1,
+ GTK_EXPAND, GTK_EXPAND,
+ 0, 0);
+ gtk_box_pack_start((GtkBox*) hbox, gtk_label_new("length\0"), FALSE, FALSE, 0);
+ drum->length_spin = (GtkSpinButton *) gtk_spin_button_new_with_range(1.0, 64.0, 1.0);
+ drum->length_spin->adjustment->value = 16.0;
+ gtk_box_pack_start((GtkBox*) hbox, (GtkWidget *) drum->length_spin, FALSE, FALSE, 0);
+
+ /* led */
+ drum->active_led = 0;
+
+ drum->led =
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 16);
+ gtk_table_attach_defaults(table0, (GtkWidget *) hbox, 3, 15, 1, 2);
+
+ for(i = 0; i < 16; i++){
+ toggle_button = (GtkToggleButton *) ags_led_new();
+ gtk_widget_set_size_request((GtkWidget *) toggle_button, 8, 4);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) toggle_button, FALSE, FALSE, 0);
+ }
+
+ /* pattern */
+ drum->pattern =
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_table_attach_defaults(table0, (GtkWidget *) hbox, 3, 15, 2, 3);
+
+ for(i = 0; i < 16; i++){
+ toggle_button = (GtkToggleButton *) gtk_toggle_button_new();
+ gtk_widget_set_size_request((GtkWidget *) toggle_button, 24, 24);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) toggle_button, FALSE, FALSE, 0);
+ }
+
+ /* page / offset */
+ drum->offset = (GtkVBox*) gtk_vbox_new(FALSE, 0);
+ gtk_table_attach_defaults(table0, (GtkWidget *) drum->offset, 15, 16, 0, 3);
+
+ radio_button = (GtkRadioButton *) gtk_radio_button_new_with_label(NULL, "1-16\0");
+ gtk_box_pack_start((GtkBox*) drum->offset, (GtkWidget *) radio_button, FALSE, FALSE, 0);
+
+ gtk_box_pack_start((GtkBox*) drum->offset,
+ (GtkWidget *) gtk_radio_button_new_with_label(radio_button->group, "17-32\0"),
+ FALSE, FALSE, 0);
+
+ gtk_box_pack_start((GtkBox*) drum->offset,
+ (GtkWidget *) gtk_radio_button_new_with_label(radio_button->group, "33-48\0"),
+ FALSE, FALSE, 0);
+
+ gtk_box_pack_start((GtkBox*) drum->offset,
+ (GtkWidget *) gtk_radio_button_new_with_label(radio_button->group, "49-64\0"),
+ FALSE, FALSE, 0);
+}
+
+void
+ags_drum_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_drum_parent_class)->finalize(gobject);
+}
+
+void
+ags_drum_connect(AgsConnectable *connectable)
+{
+ AgsWindow *window;
+ AgsDrum *drum;
+ AgsDelayAudioRun *play_delay_audio_run;
+ AgsRecallHandler *recall_handler;
+ GList *list, *list_start;
+ int i;
+
+ if((AGS_MACHINE_CONNECTED & (AGS_MACHINE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_drum_parent_connectable_interface->connect(connectable);
+
+ drum = AGS_DRUM(connectable);
+ window = (AgsWindow *) gtk_widget_get_toplevel((GtkWidget *) drum);
+
+ /* AgsDrum */
+ g_signal_connect((GObject *) drum->open, "clicked\0",
+ G_CALLBACK(ags_drum_open_callback), (gpointer) drum);
+
+ g_signal_connect((GObject *) drum->loop_button, "clicked\0",
+ G_CALLBACK(ags_drum_loop_button_callback), (gpointer) drum);
+
+ g_signal_connect_after((GObject *) drum->length_spin, "value-changed\0",
+ G_CALLBACK(ags_drum_length_spin_callback), (gpointer) drum);
+
+ for(i = 0; i < 12; i++){
+ g_signal_connect(G_OBJECT(drum->index1[i]), "clicked\0",
+ G_CALLBACK(ags_drum_index1_callback), (gpointer) drum);
+ }
+
+ for(i = 0; i < 4; i++){
+ g_signal_connect(G_OBJECT(drum->index0[i]), "clicked\0",
+ G_CALLBACK(ags_drum_index0_callback), (gpointer) drum);
+ }
+
+ /* connect pattern */
+ list_start =
+ list = gtk_container_get_children((GtkContainer *) drum->pattern);
+
+ while(list != NULL){
+ g_signal_connect(G_OBJECT(list->data), "clicked\0",
+ G_CALLBACK(ags_drum_pad_callback), (gpointer) drum);
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+
+ /* connect pattern offset range */
+ list_start =
+ list = gtk_container_get_children((GtkContainer *) drum->offset);
+
+ while(list != NULL){
+ g_signal_connect(G_OBJECT(list->data), "clicked\0",
+ G_CALLBACK(ags_drum_offset_callback), (gpointer) drum);
+
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+
+ /* AgsAudio */
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(drum)->audio), "tact\0",
+ G_CALLBACK(ags_drum_tact_callback), drum);
+
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(drum)->audio), "done\0",
+ G_CALLBACK(ags_drum_done_callback), drum);
+}
+
+void
+ags_drum_disconnect(AgsConnectable *connectable)
+{
+ AgsWindow *window;
+ AgsDrum *drum;
+
+ ags_drum_parent_connectable_interface->disconnect(connectable);
+
+ drum = AGS_DRUM(connectable);
+
+ window = AGS_WINDOW(gtk_widget_get_ancestor((GtkWidget *) drum, AGS_TYPE_WINDOW));
+
+ //TODO:JK: implement me
+}
+
+void
+ags_drum_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_drum_parent_class)->show(widget);
+
+ ags_drum_set_pattern(AGS_DRUM(widget));
+}
+
+void
+ags_drum_show_all(GtkWidget *widget)
+{
+ AgsDrum *drum;
+
+ GTK_WIDGET_CLASS(ags_drum_parent_class)->show_all(widget);
+
+ drum = AGS_DRUM(widget);
+
+ ags_drum_set_pattern(drum);
+}
+
+void
+ags_drum_map_recall(AgsMachine *machine)
+{
+ AgsAudio *audio;
+
+ AgsDelayAudio *play_delay_audio;
+ AgsDelayAudioRun *play_delay_audio_run;
+ AgsCountBeatsAudio *play_count_beats_audio;
+ AgsCountBeatsAudioRun *play_count_beats_audio_run;
+ AgsCopyPatternAudio *recall_copy_pattern_audio;
+ AgsCopyPatternAudioRun *recall_copy_pattern_audio_run;
+
+ GList *list;
+
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) != 0 ||
+ (AGS_MACHINE_PREMAPPED_RECALL & (machine->flags)) != 0){
+ return;
+ }
+
+ audio = machine->audio;
+
+ /* ags-delay */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-delay\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_PLAY),
+ 0);
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_DELAY_AUDIO_RUN);
+
+ if(list != NULL){
+ play_delay_audio_run = AGS_DELAY_AUDIO_RUN(list->data);
+ // AGS_RECALL(play_delay_audio_run)->flags |= AGS_RECALL_PERSISTENT;
+ }
+
+ /* ags-count-beats */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-count-beats\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_PLAY),
+ 0);
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_COUNT_BEATS_AUDIO_RUN);
+
+ if(list != NULL){
+ play_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+
+ /* set dependency */
+ g_object_set(G_OBJECT(play_count_beats_audio_run),
+ "delay-audio-run\0", play_delay_audio_run,
+ NULL);
+ }
+
+ /* ags-copy-pattern */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-copy-pattern\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_RECALL),
+ 0);
+
+ list = ags_recall_find_type(audio->recall, AGS_TYPE_COPY_PATTERN_AUDIO_RUN);
+
+ if(list != NULL){
+ recall_copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(list->data);
+
+ /* set dependency */
+ g_object_set(G_OBJECT(recall_copy_pattern_audio_run),
+ "delay-audio-run\0", play_delay_audio_run,
+ "count-beats-audio-run\0", play_count_beats_audio_run,
+ NULL);
+
+ }
+
+ AGS_MACHINE_CLASS(ags_drum_parent_class)->map_recall(machine);
+}
+
+gchar*
+ags_drum_get_name(AgsPlugin *plugin)
+{
+ return(AGS_DRUM(plugin)->name);
+}
+
+void
+ags_drum_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_DRUM(plugin)->name = name;
+}
+
+gchar*
+ags_drum_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_DRUM(plugin)->xml_type);
+}
+
+void
+ags_drum_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_DRUM(plugin)->xml_type = xml_type;
+}
+
+void
+ags_drum_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsDrum *gobject;
+ AgsFileLookup *file_lookup;
+ AgsFileLaunch *file_launch;
+ GList *list;
+
+ gobject = AGS_DRUM(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ list = file->lookup;
+
+ while((file_lookup = ags_file_lookup_find_by_node(list,
+ node->parent)) != NULL){
+ if(g_signal_handler_find(list->data,
+ G_SIGNAL_MATCH_FUNC,
+ 0,
+ 0,
+ NULL,
+ ags_file_read_machine_resolve_audio,
+ NULL) != 0){
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_drum_read_resolve_audio), gobject);
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ /* */
+ file_launch = g_object_new(AGS_TYPE_FILE_LAUNCH,
+ "node\0", node,
+ "file\0", file,
+ NULL);
+ g_signal_connect(G_OBJECT(file_launch), "start\0",
+ G_CALLBACK(ags_drum_launch_task), gobject);
+ ags_file_add_launch(file,
+ file_launch);
+}
+
+void
+ags_drum_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsDrum *drum;
+ GList *pad, *pad_start, *line, *line_start;
+
+ drum = AGS_DRUM(machine);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_drum_set_audio_channels), drum);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_drum_set_pads), drum);
+
+ pad_start =
+ pad = gtk_container_get_children(machine->input);
+
+ while(pad != NULL){
+ line_start =
+ line = gtk_container_get_children(AGS_PAD(pad->data)->expander_set);
+
+ while(line != NULL){
+ /* AgsAudio */
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_drum_input_line_audio_set_pads_callback), AGS_DRUM_INPUT_LINE(line->data));
+
+ line = line->next;
+ }
+
+ g_list_free(line_start);
+ pad = pad->next;
+ }
+}
+
+void
+ags_drum_launch_task(AgsFileLaunch *file_launch, AgsDrum *drum)
+{
+ xmlNode *node;
+ guint64 length, index;
+
+ node = file_launch->node;
+
+ /* length */
+ length = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "length\0"),
+ NULL);
+ gtk_spin_button_set_value(drum->length_spin,
+ length);
+
+ /* loop */
+ if(!g_strcmp0(xmlGetProp(node,
+ "loop\0"),
+ AGS_FILE_TRUE)){
+ gtk_toggle_button_set_active(drum->loop_button,
+ TRUE);
+ }
+
+ /* index */
+ index = g_ascii_strtoull(xmlGetProp(node,
+ "bank-index-0\0"),
+ NULL,
+ 10);
+
+ if(index != 0){
+ gtk_toggle_button_set_active(drum->index0[0],
+ FALSE);
+ gtk_toggle_button_set_active(drum->index0[index],
+ TRUE);
+ drum->selected0 = drum->index0[index];
+ }
+
+ index = g_ascii_strtoull(xmlGetProp(node,
+ "bank-index-1\0"),
+ NULL,
+ 10);
+
+ if(index != 0){
+ gtk_toggle_button_set_active(drum->index1[0],
+ FALSE);
+ gtk_toggle_button_set_active(drum->index1[index],
+ TRUE);
+ drum->selected1 = drum->index1[index];
+ }
+}
+
+xmlNode*
+ags_drum_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsDrum *drum;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i;
+
+ drum = AGS_DRUM(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-drum\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", drum,
+ NULL));
+
+ xmlNewProp(node,
+ "length\0",
+ g_strdup_printf("%d\0", (gint) gtk_spin_button_get_value(drum->length_spin)));
+
+ for(i = 0; drum->selected0 != drum->index0[i]; i++);
+
+ xmlNewProp(node,
+ "bank-index-0\0",
+ g_strdup_printf("%d\0", i));
+
+ for(i = 0; drum->selected1 != drum->index1[i]; i++);
+
+ xmlNewProp(node,
+ "bank-index-1\0",
+ g_strdup_printf("%d\0", i));
+
+ xmlNewProp(node,
+ "loop\0",
+ g_strdup_printf("%s\0", ((gtk_toggle_button_get_active(drum->loop_button)) ? AGS_FILE_TRUE: AGS_FILE_FALSE)));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_drum_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsDrum *drum)
+{
+ //empty
+}
+
+void
+ags_drum_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsDrum *drum)
+{
+ AgsChannel *channel;
+ GList *list, *list_next;
+ guint i, j;
+
+ if(type == AGS_TYPE_INPUT){
+ AgsDrumInputPad *drum_input_pad;
+
+ if(pads_old < pads){
+ /* reset edit button */
+ if(pads_old == 0){
+ GtkToggleButton *selected_edit_button;
+
+ drum->selected_pad = AGS_DRUM_INPUT_PAD(gtk_container_get_children((GtkContainer *) drum->input_pad)->data);
+ drum->selected_edit_button = drum->selected_pad->edit;
+ gtk_toggle_button_set_active((GtkToggleButton *) drum->selected_edit_button, TRUE);
+ }
+ }else{
+ /* destroy AgsPad's */
+ if(pads == 0){
+ drum->selected_pad = NULL;
+ drum->selected_edit_button = NULL;
+ }else{
+ drum_input_pad = AGS_DRUM_INPUT_PAD(gtk_widget_get_ancestor(GTK_WIDGET(drum->selected_edit_button), AGS_TYPE_PAD));
+
+ if(drum_input_pad->pad.channel->pad > pads){
+ drum->selected_pad = AGS_DRUM_INPUT_PAD(gtk_container_get_children((GtkContainer *) drum->input_pad)->data);
+ drum->selected_edit_button = drum->selected_pad->edit;
+ gtk_toggle_button_set_active((GtkToggleButton *) drum->selected_edit_button, TRUE);
+ }
+ }
+ }
+ }
+}
+
+void
+ags_drum_set_pattern(AgsDrum *drum)
+{
+ AgsLine *selected_line;
+ GList *list, *line;
+ guint index0, index1, offset;
+ gboolean set_active;
+ guint i;
+
+ if(drum->selected_pad == NULL){
+ g_message("no selected pad\n\0");
+ return;
+ }
+
+ for(i = 0; i < 4 && drum->selected0 != drum->index0[i]; i++);
+
+ index0 = i;
+
+ for(i = 0; i < 12 && drum->selected1 != drum->index1[i]; i++);
+
+ index1 = i;
+
+ list = gtk_container_get_children((GtkContainer *) drum->offset);
+
+ for(i = 0; i < 4 && ! GTK_TOGGLE_BUTTON(list->data)->active; i++)
+ list = list->next;
+
+ offset = i * 16;
+
+ list = gtk_container_get_children((GtkContainer *) drum->pattern);
+
+ drum->flags |= AGS_DRUM_BLOCK_PATTERN;
+
+ for(i = 0; i < 16; i++){
+ set_active = TRUE;
+
+ line = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(drum->selected_pad)->expander_set));
+
+ while((line = ags_line_find_next_grouped(line)) != NULL){
+ selected_line = AGS_LINE(line->data);
+
+ if(!ags_pattern_get_bit((AgsPattern *) selected_line->channel->pattern->data, index0, index1, offset + i)){
+ set_active = FALSE;
+ break;
+ }
+
+ line = line->next;
+ }
+
+ gtk_toggle_button_set_active((GtkToggleButton *) list->data, set_active);
+
+ list = list->next;
+ }
+
+ drum->flags &= (~AGS_DRUM_BLOCK_PATTERN);
+}
+
+/**
+ * ags_drum_new:
+ * @devout: the assigned devout.
+ *
+ * Creates an #AgsDrum
+ *
+ * Returns: a new #AgsDrum
+ *
+ * Since: 0.3
+ */
+AgsDrum*
+ags_drum_new(GObject *devout)
+{
+ AgsDrum *drum;
+ GValue value = {0,};
+
+ drum = (AgsDrum *) g_object_new(AGS_TYPE_DRUM,
+ NULL);
+
+ if(devout != NULL){
+ g_value_init(&value, G_TYPE_OBJECT);
+ g_value_set_object(&value, devout);
+
+ g_object_set_property(G_OBJECT(drum->machine.audio),
+ "devout\0", &value);
+ g_value_unset(&value);
+ }
+
+ return(drum);
+}
diff --git a/src/ags/X/machine/ags_drum.h b/src/ags/X/machine/ags_drum.h
new file mode 100644
index 0000000..556776a
--- /dev/null
+++ b/src/ags/X/machine/ags_drum.h
@@ -0,0 +1,98 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_H__
+#define __AGS_DRUM_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/X/machine/ags_drum_input_pad.h>
+
+#define AGS_TYPE_DRUM (ags_drum_get_type())
+#define AGS_DRUM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM, AgsDrum))
+#define AGS_DRUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DRUM, AgsDrumClass))
+#define AGS_IS_DRUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM))
+#define AGS_IS_DRUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM))
+#define AGS_DRUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DRUM, AgsDrumClass))
+
+#define AGS_DRUM_PATTERN_CONTROLS (16)
+
+typedef struct _AgsDrum AgsDrum;
+typedef struct _AgsDrumClass AgsDrumClass;
+
+typedef enum{
+ AGS_DRUM_BLOCK_PATTERN = 1,
+}AgsDrumFlags;
+
+struct _AgsDrum
+{
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+
+ GtkCheckButton *loop_button;
+ GtkSpinButton *length_spin;
+
+ GtkToggleButton *run;
+
+ GtkVBox *vbox;
+
+ GtkHBox *input_pad;
+ GtkVBox *output_pad;
+
+ GtkToggleButton *selected_edit_button;
+
+ AgsDrumInputPad *selected_pad;
+ AgsLine *selected_line;
+
+ GtkToggleButton *index0[4];
+ GtkToggleButton *selected0;
+
+ GtkToggleButton *index1[12];
+ GtkToggleButton *selected1;
+
+ guint active_led;
+ GtkHBox *led;
+ GtkHBox *pattern;
+
+ GtkVBox *offset;
+};
+
+struct _AgsDrumClass
+{
+ AgsMachineClass machine;
+};
+
+GType ags_drum_get_type(void);
+
+void ags_drum_set_pattern(AgsDrum *drum);
+
+AgsDrum* ags_drum_new(GObject *devout);
+
+#endif /*__AGS_DRUM_H__*/
diff --git a/src/ags/X/machine/ags_drum_callbacks.c b/src/ags/X/machine/ags_drum_callbacks.c
new file mode 100644
index 0000000..79d5889
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_callbacks.c
@@ -0,0 +1,476 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_callbacks.h>
+#include <ags/X/machine/ags_drum_input_pad.h>
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_machine_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/widget/ags_led.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/task/ags_toggle_pattern_bit.h>
+#include <ags/audio/task/ags_toggle_led.h>
+
+#include <ags/audio/task/recall/ags_apply_bpm.h>
+#include <ags/audio/task/recall/ags_apply_sequencer_length.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_channel_run.h>
+#include <ags/audio/recall/ags_play_audio_signal.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_navigation.h>
+
+#include <stdlib.h>
+#include <math.h>
+
+#define AGS_AUDIO_FILE_DEVOUT "AgsAudioFileDevout\0"
+#define AGS_DRUM_PLAY_RECALL "AgsDrumPlayRecall\0"
+
+extern const char *AGS_DRUM_INDEX;
+
+void
+ags_drum_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsDrum *drum)
+{
+ AgsWindow *window;
+
+ if(old_parent != NULL)
+ return;
+
+ window = AGS_WINDOW(gtk_widget_get_ancestor((GtkWidget *) drum, AGS_TYPE_WINDOW));
+
+ AGS_MACHINE(drum)->name = g_strdup_printf("Default %d\0",
+ ags_window_find_machine_counter(window, AGS_TYPE_DRUM)->counter);
+ ags_window_increment_machine_counter(window,
+ AGS_TYPE_DRUM);
+}
+
+void
+ags_drum_open_callback(GtkWidget *toggle_button, AgsDrum *drum)
+{
+ GtkFileChooserDialog *file_chooser;
+ GtkCheckButton *check_button;
+
+ file_chooser = (GtkFileChooserDialog *) gtk_file_chooser_dialog_new(g_strdup("open audio files\0"),
+ (GtkWindow *) gtk_widget_get_toplevel((GtkWidget *) drum),
+ GTK_FILE_CHOOSER_ACTION_OPEN,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ NULL);
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(file_chooser), TRUE);
+
+ check_button = (GtkCheckButton *) gtk_check_button_new_with_label(g_strdup("open in new channel\0"));
+ gtk_toggle_button_set_active((GtkToggleButton *) check_button, TRUE);
+ gtk_box_pack_start((GtkBox *) GTK_DIALOG(file_chooser)->vbox, (GtkWidget *) check_button, FALSE, FALSE, 0);
+ g_object_set_data(G_OBJECT(file_chooser), "create\0", (gpointer) check_button);
+
+ check_button = (GtkCheckButton *) gtk_check_button_new_with_label(g_strdup("overwrite existing links\0"));
+ gtk_toggle_button_set_active((GtkToggleButton *) check_button, TRUE);
+ gtk_box_pack_start((GtkBox *) GTK_DIALOG(file_chooser)->vbox, (GtkWidget *) check_button, FALSE, FALSE, 0);
+ g_object_set_data(G_OBJECT(file_chooser), "overwrite\0", (gpointer) check_button);
+
+ gtk_widget_show_all(GTK_WIDGET(file_chooser));
+
+ g_signal_connect(G_OBJECT(file_chooser), "response\0",
+ G_CALLBACK(ags_machine_open_response_callback), drum);
+}
+
+void
+ags_drum_loop_button_callback(GtkWidget *button, AgsDrum *drum)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ GList *list;
+ gboolean loop;
+
+ loop = (GTK_TOGGLE_BUTTON(button)->active) ? TRUE: FALSE;
+
+ /* AgsCopyPatternAudio */
+ list = AGS_MACHINE(drum)->audio->play;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_COUNT_BEATS_AUDIO)) != NULL){
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+
+ count_beats_audio->loop->port_value.ags_port_boolean = loop;
+
+ list = list->next;
+ }
+
+ list = AGS_MACHINE(drum)->audio->recall;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_COUNT_BEATS_AUDIO)) != NULL){
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+
+ count_beats_audio->loop->port_value.ags_port_boolean = loop;
+
+ list = list->next;
+ }
+
+}
+
+void
+ags_drum_length_spin_callback(GtkWidget *spin_button, AgsDrum *drum)
+{
+ AgsWindow *window;
+ AgsApplySequencerLength *apply_sequencer_length;
+ gdouble length;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(GTK_WIDGET(drum));
+
+ length = GTK_SPIN_BUTTON(spin_button)->adjustment->value;
+
+ apply_sequencer_length = ags_apply_sequencer_length_new(G_OBJECT(AGS_MACHINE(drum)->audio),
+ length);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(apply_sequencer_length));
+}
+
+void
+ags_drum_index0_callback(GtkWidget *widget, AgsDrum *drum)
+{
+ if(drum->selected0 != NULL){
+ GtkToggleButton *toggle_button;
+
+ if(GTK_TOGGLE_BUTTON(widget) != drum->selected0){
+ AgsCopyPatternAudio *copy_pattern_audio;
+ GList *list;
+
+ toggle_button = drum->selected0;
+ drum->selected0 = NULL;
+ gtk_toggle_button_set_active(toggle_button, FALSE);
+ drum->selected0 = (GtkToggleButton*) widget;
+
+ list = ags_recall_find_type(AGS_MACHINE(drum)->audio->play,
+ AGS_TYPE_COPY_PATTERN_AUDIO);
+
+ if(list != NULL){
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_UINT);
+ g_value_set_uint(&value, GPOINTER_TO_UINT(g_object_get_data((GObject *) widget, AGS_DRUM_INDEX)));
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(list->data);
+ ags_port_safe_write(copy_pattern_audio->bank_index_0, &value);
+
+ g_value_unset(&value);
+ }
+
+ list = ags_recall_find_type(AGS_MACHINE(drum)->audio->recall,
+ AGS_TYPE_COPY_PATTERN_AUDIO);
+
+ if(list != NULL){
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_UINT);
+ g_value_set_uint(&value, GPOINTER_TO_UINT(g_object_get_data((GObject *) widget, AGS_DRUM_INDEX)));
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(list->data);
+ ags_port_safe_write(copy_pattern_audio->bank_index_0, &value);
+
+ g_value_unset(&value);
+ }
+ }else if(! gtk_toggle_button_get_active(drum->selected0)){
+ toggle_button = drum->selected0;
+ drum->selected0 = NULL;
+ gtk_toggle_button_set_active((GtkToggleButton *) widget, TRUE);
+ drum->selected0 = (GtkToggleButton*) widget;
+ }
+
+ ags_drum_set_pattern(drum);
+ }
+}
+
+void
+ags_drum_index1_callback(GtkWidget *widget, AgsDrum *drum)
+{
+ if(drum->selected1 != NULL){
+ GtkToggleButton *toggle_button;
+
+ if(GTK_TOGGLE_BUTTON(widget) != drum->selected1){
+ AgsCopyPatternAudio *copy_pattern_audio;
+ GList *list;
+
+ toggle_button = drum->selected1;
+ drum->selected1 = NULL;
+ gtk_toggle_button_set_active(toggle_button, FALSE);
+ drum->selected1 = (GtkToggleButton*) widget;
+
+ list = ags_recall_find_type(AGS_MACHINE(drum)->audio->play,
+ AGS_TYPE_COPY_PATTERN_AUDIO);
+
+ if(list != NULL){
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_UINT);
+ g_value_set_uint(&value, GPOINTER_TO_UINT(g_object_get_data((GObject *) widget, AGS_DRUM_INDEX)));
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(list->data);
+ ags_port_safe_write(copy_pattern_audio->bank_index_1, &value);
+
+ g_value_unset(&value);
+ }
+
+ list = ags_recall_find_type(AGS_MACHINE(drum)->audio->recall,
+ AGS_TYPE_COPY_PATTERN_AUDIO);
+
+ if(list != NULL){
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_UINT);
+ g_value_set_uint(&value, GPOINTER_TO_UINT(g_object_get_data((GObject *) widget, AGS_DRUM_INDEX)));
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(list->data);
+ ags_port_safe_write(copy_pattern_audio->bank_index_1, &value);
+
+ g_value_unset(&value);
+ }
+ }else if(!gtk_toggle_button_get_active(drum->selected1)){
+ toggle_button = drum->selected1;
+ drum->selected1 = NULL;
+ gtk_toggle_button_set_active((GtkToggleButton *) widget, TRUE);
+ drum->selected1 = (GtkToggleButton*) widget;
+ }
+
+ ags_drum_set_pattern(drum);
+ }
+}
+
+void
+ags_drum_pad_callback(GtkWidget *toggle_button, AgsDrum *drum)
+{
+ AgsLine *selected_line;
+ AgsPattern *pattern;
+ AgsTogglePatternBit *toggle_pattern_bit;
+ GList *list, *list_start;
+ GList *line, *line_start;
+ GList *tasks;
+ guint i, index0, index1, offset;
+
+ if(drum->selected_pad == NULL){
+ return;
+ }
+
+ if((AGS_DRUM_BLOCK_PATTERN & (drum->flags)) != 0){
+#ifdef AGS_DEBUG
+ g_message("AgsDrum pattern is blocked\n\0");
+#endif
+
+ return;
+ }
+
+ /* calculate offset */
+ list_start =
+ list = gtk_container_get_children((GtkContainer *) drum->pattern);
+
+ for(i = 0; i < 16 && toggle_button != list->data; i++)
+ list = list->next;
+
+ offset = i;
+ g_list_free(list_start);
+
+ /* calculate index 0 */
+ for(i = 0; i < 4 && drum->selected0 != drum->index0[i]; i++);
+
+ index0 = i;
+
+ /* calculate index 1 */
+ for(i = 0; i < 12 && drum->selected1 != drum->index1[i]; i++);
+
+ index1 = i;
+
+ /* calculate offset / page */
+ list_start =
+ list = gtk_container_get_children((GtkContainer *) drum->offset);
+
+ for(i = 0; i < 4 && ! GTK_TOGGLE_BUTTON(list->data)->active; i++)
+ list = list->next;
+
+ offset += (i * 16);
+
+ g_list_free(list_start);
+
+ /**/
+ line_start =
+ line = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(drum->selected_pad)->expander_set));
+ tasks = NULL;
+
+ while((line = ags_line_find_next_grouped(line)) != NULL){
+ selected_line = AGS_LINE(line->data);
+
+ toggle_pattern_bit = ags_toggle_pattern_bit_new(selected_line->channel->pattern->data,
+ selected_line->channel->line,
+ index0, index1,
+ offset);
+ g_message("found %d %x\0", selected_line->channel, selected_line->channel->pattern->data);
+
+ tasks = g_list_prepend(tasks,
+ toggle_pattern_bit);
+
+ line = line->next;
+ }
+
+ g_list_free(line_start);
+
+ /* append AgsTogglePatternBit */
+ ags_task_thread_append_tasks(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_MACHINE(drum)->audio->devout)->ags_main)->main_loop)->task_thread),
+ tasks);
+}
+
+void
+ags_drum_offset_callback(GtkWidget *widget, AgsDrum *drum)
+{
+ ags_drum_set_pattern(drum);
+}
+
+void
+ags_drum_tact_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsDrum *drum)
+{
+ AgsWindow *window;
+ AgsCountBeatsAudio *play_count_beats_audio;
+ AgsCountBeatsAudioRun *play_count_beats_audio_run;
+ AgsToggleLed *toggle_led;
+ GList *list, *tmp;
+ guint counter, active_led;
+ gdouble active_led_old, active_led_new;
+ GValue value = {0,};
+
+ window = AGS_WINDOW(gtk_widget_get_ancestor((GtkWidget *) drum, AGS_TYPE_WINDOW));
+
+ /* get some recalls */
+ list = ags_recall_find_type(audio->play,
+ AGS_TYPE_COUNT_BEATS_AUDIO);
+
+ if(list != NULL){
+ play_count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+ }
+
+ list = ags_recall_find_type_with_recycling_container(audio->play,
+ AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ (GObject *) recall_id->recycling_container);
+
+ if(list != NULL){
+ play_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+ }
+
+ /* set optical feedback */
+ active_led_new = (guint) play_count_beats_audio_run->sequencer_counter % AGS_DRUM_PATTERN_CONTROLS;
+ drum->active_led = (guint) active_led_new;
+
+ if(play_count_beats_audio_run->sequencer_counter == 0){
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(play_count_beats_audio->sequencer_loop_end,
+ &value);
+
+ active_led_old = (guint) (g_value_get_double(&value) - 1.0) % AGS_DRUM_PATTERN_CONTROLS;
+ }else{
+ active_led_old = (guint) (drum->active_led - 1.0) % AGS_DRUM_PATTERN_CONTROLS;
+ }
+
+ tmp = gtk_container_get_children(GTK_CONTAINER(drum->led));
+ toggle_led = ags_toggle_led_new(tmp,
+ (guint) active_led_new,
+ (guint) active_led_old);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(toggle_led));
+}
+
+void
+ags_drum_done_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsDrum *drum)
+{
+ GList *devout_play;
+ gboolean all_done;
+
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+
+ /* check unset */
+ all_done = TRUE;
+
+ while(devout_play != NULL){
+ if(AGS_DEVOUT_PLAY(devout_play->data)->recall_id[1] != NULL){
+ all_done = FALSE;
+ break;
+ }
+
+ devout_play = devout_play->next;
+ }
+
+ if(all_done){
+ GList *list;
+ guint active_led;
+
+ /* get active led */
+ if(drum->active_led == 0){
+ AgsCountBeatsAudio *play_count_beats_audio;
+ GValue value = {0,};
+
+ /* get some recalls */
+ list = ags_recall_find_type(audio->play,
+ AGS_TYPE_COUNT_BEATS_AUDIO);
+
+ if(list != NULL){
+ play_count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+ }
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(play_count_beats_audio->sequencer_loop_end,
+ &value);
+
+ active_led = g_value_get_double(&value) - 1.0;
+ }else{
+ active_led = drum->active_led - 1;
+ }
+
+ /* unset led */
+ list = gtk_container_get_children(GTK_CONTAINER(drum->led));
+ ags_led_unset_active(AGS_LED(g_list_nth(list,
+ active_led)->data));
+
+ g_list_free(list);
+ }
+}
diff --git a/src/ags/X/machine/ags_drum_callbacks.h b/src/ags/X/machine/ags_drum_callbacks.h
new file mode 100644
index 0000000..8b15ef8
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_callbacks.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_CALLBACKS_H__
+#define __AGS_DRUM_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/recall/ags_delay_audio_run.h>
+
+#include <ags/X/machine/ags_drum.h>
+
+void ags_drum_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsDrum *drum);
+
+/* controls */
+void ags_drum_open_callback(GtkWidget *toggle_button, AgsDrum *drum);
+
+void ags_drum_loop_button_callback(GtkWidget *button, AgsDrum *drum);
+
+void ags_drum_length_spin_callback(GtkWidget *spin_button, AgsDrum *drum);
+
+void ags_drum_index0_callback(GtkWidget *toggle_button, AgsDrum *drum);
+void ags_drum_index1_callback(GtkWidget *toggle_button, AgsDrum *drum);
+
+void ags_drum_pad_callback(GtkWidget *toggle_button, AgsDrum *drum);
+
+void ags_drum_offset_callback(GtkWidget *widget, AgsDrum *drum);
+
+/* audio */
+void ags_drum_tact_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsDrum *drum);
+void ags_drum_done_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsDrum *drum);
+
+#endif /*__AGS_DRUM_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_drum_input_line.c b/src/ags/X/machine/ags_drum_input_line.c
new file mode 100644
index 0000000..1bf4c4d
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_line.c
@@ -0,0 +1,670 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_input_line.h>
+#include <ags/X/machine/ags_drum_input_line_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+#include <ags/object/ags_portlet.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_peak_channel.h>
+#include <ags/audio/recall/ags_peak_channel_run.h>
+#include <ags/audio/recall/ags_volume_channel.h>
+#include <ags/audio/recall/ags_volume_channel_run.h>
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_channel_run.h>
+#include <ags/audio/recall/ags_copy_channel.h>
+#include <ags/audio/recall/ags_copy_channel_run.h>
+#include <ags/audio/recall/ags_stream_channel.h>
+#include <ags/audio/recall/ags_stream_channel_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+#include <ags/audio/recall/ags_buffer_channel.h>
+#include <ags/audio/recall/ags_buffer_channel_run.h>
+
+#include <ags/widget/ags_expander_set.h>
+#include <ags/widget/ags_expander.h>
+#include <ags/widget/ags_vindicator.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_line_callbacks.h>
+#include <ags/X/ags_line_member.h>
+
+#include <ags/X/machine/ags_drum.h>
+
+#include <ags/audio/ags_config.h>
+
+void ags_drum_input_line_class_init(AgsDrumInputLineClass *drum_input_line);
+void ags_drum_input_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_drum_input_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_drum_input_line_init(AgsDrumInputLine *drum_input_line);
+void ags_drum_input_line_destroy(GtkObject *object);
+void ags_drum_input_line_connect(AgsConnectable *connectable);
+void ags_drum_input_line_disconnect(AgsConnectable *connectable);
+gchar* ags_drum_input_line_get_name(AgsPlugin *plugin);
+void ags_drum_input_line_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_drum_input_line_get_xml_type(AgsPlugin *plugin);
+void ags_drum_input_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_drum_input_line_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_drum_input_line_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_drum_input_line_set_channel(AgsLine *line, AgsChannel *channel);
+void ags_drum_input_line_group_changed(AgsLine *line);
+void ags_drum_input_line_map_recall(AgsLine *line,
+ guint output_pad_start);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_drum_input_line
+ * @short_description: drum sequencer input line
+ * @title: AgsDrumInputLine
+ * @section_id:
+ * @include: ags/X/machine/ags_drum_input_line.h
+ *
+ * The #AgsDrumInputLine is a composite widget to act as drum sequencer input line.
+ */
+
+static gpointer ags_drum_input_line_parent_class = NULL;
+static AgsConnectableInterface *ags_drum_input_line_parent_connectable_interface;
+
+GType
+ags_drum_input_line_get_type()
+{
+ static GType ags_type_drum_input_line = 0;
+
+ if(!ags_type_drum_input_line){
+ static const GTypeInfo ags_drum_input_line_info = {
+ sizeof(AgsDrumInputLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_drum_input_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsDrumInputLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_drum_input_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_drum_input_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_drum_input_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_drum_input_line = g_type_register_static(AGS_TYPE_LINE,
+ "AgsDrumInputLine\0", &ags_drum_input_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_drum_input_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_drum_input_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_drum_input_line);
+}
+
+void
+ags_drum_input_line_class_init(AgsDrumInputLineClass *drum_input_line)
+{
+ AgsLineClass *line;
+
+ ags_drum_input_line_parent_class = g_type_class_peek_parent(drum_input_line);
+
+ /* AgsLineClass */
+ line = AGS_LINE_CLASS(drum_input_line);
+
+ line->set_channel = ags_drum_input_line_set_channel;
+
+ line->group_changed = ags_drum_input_line_group_changed;
+
+ line->map_recall = ags_drum_input_line_map_recall;
+}
+
+void
+ags_drum_input_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_drum_input_line_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_drum_input_line_connect;
+ connectable->disconnect = ags_drum_input_line_disconnect;
+}
+
+void
+ags_drum_input_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_drum_input_line_get_name;
+ plugin->set_name = ags_drum_input_line_set_name;
+ plugin->get_xml_type = ags_drum_input_line_get_xml_type;
+ plugin->set_xml_type = ags_drum_input_line_set_xml_type;
+ plugin->read = ags_drum_input_line_read;
+ plugin->write = ags_drum_input_line_write;
+}
+
+void
+ags_drum_input_line_init(AgsDrumInputLine *drum_input_line)
+{
+ AgsLineMember *line_member;
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+
+ g_signal_connect_after((GObject *) drum_input_line, "parent_set\0",
+ G_CALLBACK(ags_drum_input_line_parent_set_callback), (gpointer) drum_input_line);
+
+ /* volume indicator */
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ "widget-type\0", AGS_TYPE_VINDICATOR,
+ "plugin-name\0", "ags-peak\0",
+ "specifier\0", "./peak[0]\0",
+ "control-port\0", "1/1\0",
+ NULL);
+ line_member->flags |= (AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE |
+ AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE);
+ ags_expander_add(AGS_LINE(drum_input_line)->expander,
+ GTK_WIDGET(line_member),
+ 0, 0,
+ 1, 1);
+ widget = gtk_bin_get_child(GTK_BIN(line_member));
+
+ adjustment = gtk_adjustment_new(0.0, 0.0, 10.0, 1.0, 1.0, 10.0);
+ g_object_set(widget,
+ "adjustment\0", adjustment,
+ NULL);
+
+ gtk_widget_set_size_request(widget,
+ 16, 100);
+ gtk_widget_queue_draw(widget);
+
+ //TODO:JK: fix me
+ // g_object_set(G_OBJECT(line_member),
+ // "port-data\0", (gpointer) &(adjustment->value),
+ // NULL);
+
+ /* volume control */
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ "widget-type\0", GTK_TYPE_VSCALE,
+ "plugin-name\0", "ags-volume\0",
+ "specifier\0", "./volume[0]\0",
+ "control-port\0", "1/1\0",
+ NULL);
+ ags_expander_add(AGS_LINE(drum_input_line)->expander,
+ GTK_WIDGET(line_member),
+ 1, 0,
+ 1, 1);
+
+ widget = gtk_bin_get_child(GTK_BIN(line_member));
+
+ gtk_scale_set_digits(GTK_SCALE(widget),
+ 3);
+
+ gtk_range_set_range(GTK_RANGE(widget),
+ 0.0, 2.00);
+ gtk_range_set_increments(GTK_RANGE(widget),
+ 0.025, 0.1);
+ gtk_range_set_value(GTK_RANGE(widget),
+ 1.0);
+ gtk_range_set_inverted(GTK_RANGE(widget),
+ TRUE);
+
+ gtk_widget_set_size_request(widget,
+ -1, 100);
+
+ // g_object_set(G_OBJECT(line_member),
+ // "port-data\0", (gpointer) &(GTK_RANGE(widget)->adjustment->value),
+ // NULL);
+}
+
+void
+ags_drum_input_line_destroy(GtkObject *object)
+{
+}
+
+void
+ags_drum_input_line_connect(AgsConnectable *connectable)
+{
+ AgsDrum *drum;
+ AgsDrumInputLine *drum_input_line;
+
+ drum_input_line = AGS_DRUM_INPUT_LINE(connectable);
+
+ if((AGS_LINE_CONNECTED & (AGS_LINE(drum_input_line)->flags)) != 0){
+ return;
+ }
+
+ ags_drum_input_line_parent_connectable_interface->connect(connectable);
+
+ /* AgsDrum */
+ drum = AGS_DRUM(gtk_widget_get_ancestor((GtkWidget *) AGS_LINE(drum_input_line)->pad,
+ AGS_TYPE_DRUM));
+}
+
+void
+ags_drum_input_line_disconnect(AgsConnectable *connectable)
+{
+ ags_drum_input_line_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+gchar*
+ags_drum_input_line_get_name(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_INPUT_LINE(plugin)->name);
+}
+
+void
+ags_drum_input_line_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_DRUM_INPUT_LINE(plugin)->name = name;
+}
+
+gchar*
+ags_drum_input_line_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_INPUT_LINE(plugin)->xml_type);
+}
+
+void
+ags_drum_input_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_DRUM_INPUT_LINE(plugin)->xml_type = xml_type;
+}
+
+void
+ags_drum_input_line_set_channel(AgsLine *line, AgsChannel *channel)
+{
+ AgsDrumInputLine *drum_input_line;
+ AgsChannel *old_channel;
+ guint old_flags;
+
+ drum_input_line = AGS_DRUM_INPUT_LINE(line);
+
+#ifdef AGS_DEBUG
+ g_message("ags_drum_input_line_set_channel - channel: %u\0",
+ channel->line);
+#endif
+
+ if(line->channel != NULL){
+ old_flags = line->flags;
+ old_channel = line->channel;
+ }else{
+ old_flags = 0;
+ old_channel = NULL;
+ }
+
+ AGS_LINE_CLASS(ags_drum_input_line_parent_class)->set_channel(line, channel);
+
+ if(channel != NULL){
+ if(channel->audio != NULL &&
+ AGS_AUDIO(channel->audio)->devout != NULL){
+ AgsAudioSignal *audio_signal;
+
+ audio_signal = ags_audio_signal_new(AGS_AUDIO(channel->audio)->devout,
+ channel->first_recycling,
+ NULL);
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ ags_recycling_add_audio_signal(channel->first_recycling,
+ audio_signal);
+ }
+
+ if(channel->pattern == NULL){
+ channel->pattern = g_list_alloc();
+ channel->pattern->data = (gpointer) ags_pattern_new();
+ ags_pattern_set_dim((AgsPattern *) channel->pattern->data, 4, 12, 64);
+ }
+
+ /* reset edit button */
+ if(old_channel == NULL &&
+ line->channel->line == 0){
+ AgsDrum *drum;
+ GtkToggleButton *selected_edit_button;
+ GList *list;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor(GTK_WIDGET(line),
+ AGS_TYPE_DRUM);
+
+ if(drum != NULL){
+ list = gtk_container_get_children((GtkContainer *) drum->input_pad);
+
+ drum->selected_pad = AGS_DRUM_INPUT_PAD(list->data);
+ drum->selected_edit_button = drum->selected_pad->edit;
+ gtk_toggle_button_set_active((GtkToggleButton *) drum->selected_edit_button, TRUE);
+
+ g_list_free(list);
+ }
+ }
+ }
+}
+
+void
+ags_drum_input_line_group_changed(AgsLine *line)
+{
+ AgsDrum *drum;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor(GTK_WIDGET(line), AGS_TYPE_DRUM);
+ ags_drum_set_pattern(drum);
+}
+
+void
+ags_drum_input_line_map_recall(AgsLine *line,
+ guint output_pad_start)
+{
+ AgsLineMember *line_member;
+
+ AgsAudio *audio;
+ AgsChannel *source;
+ AgsChannel *current, *destination;
+ AgsPattern *pattern;
+ AgsRecallHandler *recall_handler;
+
+ AgsCopyPatternChannel *copy_pattern_channel;
+ AgsPlayChannel *play_channel;
+ AgsPlayChannelRun *play_channel_run;
+ AgsPeakChannelRun *recall_peak_channel_run, *play_peak_channel_run;
+ AgsBufferChannel *buffer_channel;
+ AgsBufferChannelRun *buffer_channel_run;
+ AgsStreamChannelRun *stream_channel_run;
+
+ GList *list;
+ guint i;
+
+ if((AGS_LINE_MAPPED_RECALL & (line->flags)) != 0 ||
+ (AGS_LINE_PREMAPPED_RECALL & (line->flags)) != 0){
+ return;
+ }
+
+ audio = AGS_AUDIO(line->channel->audio);
+
+ source = line->channel;
+
+ /* ags-copy-pattern */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-copy-pattern\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_REMAP |
+ AGS_RECALL_FACTORY_RECALL),
+ 0);
+
+ /* set pattern object on port */
+ list = ags_recall_template_find_type(source->recall, AGS_TYPE_COPY_PATTERN_CHANNEL);
+
+ if(list != NULL){
+ copy_pattern_channel = AGS_COPY_PATTERN_CHANNEL(list->data);
+ list = source->pattern;
+
+ pattern = AGS_PATTERN(list->data);
+ copy_pattern_channel->pattern->port_value.ags_port_object = (GObject *) pattern;
+
+ ags_portlet_set_port(AGS_PORTLET(pattern), copy_pattern_channel->pattern);
+ }
+
+ /* ags-play */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-play\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ list = source->play;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_PLAY_CHANNEL)) != NULL){
+ GValue audio_channel_value = {0,};
+
+ play_channel = AGS_PLAY_CHANNEL(list->data);
+
+ g_value_init(&audio_channel_value, G_TYPE_UINT64);
+ g_value_set_uint64(&audio_channel_value,
+ source->audio_channel);
+ ags_port_safe_write(play_channel->audio_channel,
+ &audio_channel_value);
+
+ list = list->next;
+ }
+
+ /* ags-peak */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-peak\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ /* play - connect run_post */
+ list = ags_recall_template_find_type(source->play,
+ AGS_TYPE_PEAK_CHANNEL_RUN);
+
+ if(list != NULL){
+ play_peak_channel_run = AGS_PEAK_CHANNEL_RUN(list->data);
+
+ recall_handler = (AgsRecallHandler *) malloc(sizeof(AgsRecallHandler));
+
+ recall_handler->signal_name = "run-post\0";
+ recall_handler->callback = G_CALLBACK(ags_line_peak_run_post_callback);
+ recall_handler->data = (gpointer) line;
+
+ ags_recall_add_handler(AGS_RECALL(play_peak_channel_run), recall_handler);
+ }
+
+ /* recall - connect run_post */
+ list = ags_recall_template_find_type(source->recall,
+ AGS_TYPE_PEAK_CHANNEL_RUN);
+
+ if(list != NULL){
+ recall_peak_channel_run = AGS_PEAK_CHANNEL_RUN(list->data);
+
+ recall_handler = (AgsRecallHandler *) malloc(sizeof(AgsRecallHandler));
+
+ recall_handler->signal_name = "run-post\0";
+ recall_handler->callback = G_CALLBACK(ags_line_peak_run_post_callback);
+ recall_handler->data = (gpointer) line;
+
+ ags_recall_add_handler(AGS_RECALL(recall_peak_channel_run), recall_handler);
+ }
+
+ /* ags-volume */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-volume\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ /* ags-buffer */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-buffer\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ current = source;
+ destination = ags_channel_nth(audio->output,
+ current->audio_channel);
+
+ while(destination != NULL){
+ /* recall */
+ list = current->recall;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_BUFFER_CHANNEL)) != NULL){
+ buffer_channel = AGS_BUFFER_CHANNEL(list->data);
+
+ g_object_set(G_OBJECT(buffer_channel),
+ "destination\0", destination,
+ NULL);
+
+ list = list->next;
+ }
+
+ list = current->recall;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_BUFFER_CHANNEL_RUN)) != NULL){
+ buffer_channel_run = AGS_BUFFER_CHANNEL_RUN(list->data);
+
+ g_object_set(G_OBJECT(buffer_channel_run),
+ "destination\0", destination,
+ NULL);
+
+ list = list->next;
+ }
+
+ destination = destination->next_pad;
+ }
+
+ /* ags-stream */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-stream\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ /* set up dependencies */
+ list = ags_recall_find_type(source->play, AGS_TYPE_PLAY_CHANNEL_RUN);
+ play_channel_run = AGS_PLAY_CHANNEL_RUN(list->data);
+
+ list = ags_recall_find_type(source->play, AGS_TYPE_STREAM_CHANNEL_RUN);
+ stream_channel_run = AGS_STREAM_CHANNEL_RUN(list->data);
+
+ g_object_set(G_OBJECT(play_channel_run),
+ "stream-channel-run\0", stream_channel_run,
+ NULL);
+
+ AGS_LINE_CLASS(ags_drum_input_line_parent_class)->map_recall(line,
+ output_pad_start);
+}
+
+void
+ags_drum_input_line_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsDrumInputLine *gobject;
+
+ gobject = AGS_DRUM_INPUT_LINE(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+}
+
+xmlNode*
+ags_drum_input_line_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsDrumInputLine *drum_input_line;
+ xmlNode *node;
+ gchar *id;
+
+ drum_input_line = AGS_DRUM_INPUT_LINE(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-drum-input-line\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", drum_input_line,
+ NULL));
+
+ return(node);
+}
+
+/**
+ * ags_drum_input_line_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsDrumInputLine
+ *
+ * Returns: a new #AgsDrumInputLine
+ *
+ * Since: 0.4
+ */
+AgsDrumInputLine*
+ags_drum_input_line_new(AgsChannel *channel)
+{
+ AgsDrumInputLine *drum_input_line;
+
+ drum_input_line = (AgsDrumInputLine *) g_object_new(AGS_TYPE_DRUM_INPUT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(drum_input_line);
+}
diff --git a/src/ags/X/machine/ags_drum_input_line.h b/src/ags/X/machine/ags_drum_input_line.h
new file mode 100644
index 0000000..7bf4359
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_line.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_INPUT_LINE_H__
+#define __AGS_DRUM_INPUT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line.h>
+
+#define AGS_TYPE_DRUM_INPUT_LINE (ags_drum_input_line_get_type())
+#define AGS_DRUM_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_INPUT_LINE, AgsDrumInputLine))
+#define AGS_DRUM_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DRUM_INPUT_LINE, AgsDrumInputLineClass))
+#define AGS_IS_DRUM_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_INPUT_LINE))
+#define AGS_IS_DRUM_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_INPUT_LINE))
+#define AGS_DRUM_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_INPUT_LINE, AgsDrumInputLineClass))
+
+typedef struct _AgsDrumInputLine AgsDrumInputLine;
+typedef struct _AgsDrumInputLineClass AgsDrumInputLineClass;
+
+struct _AgsDrumInputLine
+{
+ AgsLine line;
+
+ gchar *name;
+ gchar *xml_type;
+};
+
+struct _AgsDrumInputLineClass
+{
+ AgsLineClass line;
+};
+
+GType ags_drum_input_line_get_type();
+
+AgsDrumInputLine* ags_drum_input_line_new(AgsChannel *channel);
+
+#endif /*__AGS_DRUM_INPUT_LINE_H__*/
diff --git a/src/ags/X/machine/ags_drum_input_line_callbacks.c b/src/ags/X/machine/ags_drum_input_line_callbacks.c
new file mode 100644
index 0000000..482010f
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_line_callbacks.c
@@ -0,0 +1,112 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_input_line_callbacks.h>
+#include <ags/X/machine/ags_drum.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_play_channel_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_line_member.h>
+
+void
+ags_drum_input_line_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsDrumInputLine *drum_input_line)
+{
+ AgsDrum *drum;
+
+ if(old_parent != NULL){
+ return;
+ }
+
+ drum = gtk_widget_get_ancestor(widget,
+ AGS_TYPE_DRUM);
+
+ if(drum != NULL &&
+ G_OBJECT(AGS_MACHINE(drum)->audio) != NULL){
+ /* AgsAudio */
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(drum)->audio), "set_pads\0",
+ G_CALLBACK(ags_drum_input_line_audio_set_pads_callback), drum_input_line);
+ }
+}
+
+void
+ags_drum_input_line_audio_set_pads_callback(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsDrumInputLine *drum_input_line)
+{
+ if(type == AGS_TYPE_OUTPUT){
+ if(pads > pads_old){
+ AgsChannel *current, *output;
+ GList *recall;
+
+ output = audio->output;
+
+ while(output != NULL){
+ current = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ while(current != NULL){
+ recall = current->play;
+
+ while(recall != NULL){
+ if(AGS_IS_RECALL_CHANNEL_RUN(recall->data)){
+ g_object_set(G_OBJECT(recall->data),
+ "destination\0", output,
+ NULL);
+ }
+
+ recall = recall->next;
+ }
+
+ recall = current->recall;
+
+ while(recall != NULL){
+ if(AGS_IS_RECALL_CHANNEL_RUN(recall->data)){
+ g_object_set(G_OBJECT(recall->data),
+ "destination\0", output,
+ NULL);
+ }
+
+ recall = recall->next;
+ }
+
+ current = current->next_pad;
+ }
+
+ output = output->next;
+ }
+ }else{
+ /* empty */
+ }
+ }
+}
diff --git a/src/ags/X/machine/ags_drum_input_line_callbacks.h b/src/ags/X/machine/ags_drum_input_line_callbacks.h
new file mode 100644
index 0000000..940f492
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_line_callbacks.h
@@ -0,0 +1,41 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_INPUT_LINE_CALLBACKS_H__
+#define __AGS_DRUM_INPUT_LINE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_drum_input_line.h>
+
+#include <ags/audio/ags_audio.h>
+
+void ags_drum_input_line_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsDrumInputLine *drum_input_line);
+
+/* AgsChannel */
+void ags_drum_input_line_channel_done_callback(AgsChannel *channel,
+ AgsDrumInputLine *drum_input_line);
+
+/* AgsAudio */
+void ags_drum_input_line_audio_set_pads_callback(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsDrumInputLine *drum_input_line);
+
+#endif /*__AGS_DRUM_INPUT_LINE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_drum_input_pad.c b/src/ags/X/machine/ags_drum_input_pad.c
new file mode 100644
index 0000000..980d06a
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_pad.c
@@ -0,0 +1,377 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_input_pad.h>
+#include <ags/X/machine/ags_drum_input_pad_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/machine/ags_drum.h>
+
+#include <math.h>
+
+void ags_drum_input_pad_class_init(AgsDrumInputPadClass *drum_input_pad);
+void ags_drum_input_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_drum_input_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_drum_input_pad_init(AgsDrumInputPad *drum_input_pad);
+void ags_drum_input_pad_destroy(GtkObject *object);
+void ags_drum_input_pad_connect(AgsConnectable *connectable);
+void ags_drum_input_pad_disconnect(AgsConnectable *connectable);
+gchar* ags_drum_input_pad_get_name(AgsPlugin *plugin);
+void ags_drum_input_pad_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_drum_input_pad_get_xml_type(AgsPlugin *plugin);
+void ags_drum_input_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_drum_input_pad_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+void ags_drum_input_pad_resolve_drum(AgsFileLookup *file_lookup,
+ AgsDrumInputPad *drum_input_pad);
+xmlNode* ags_drum_input_pad_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_drum_input_pad_set_channel(AgsPad *pad, AgsChannel *channel);
+void ags_drum_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+/**
+ * SECTION:ags_drum_input_pad
+ * @short_description: drum sequencer input pad
+ * @title: AgsDrumInputPad
+ * @section_id:
+ * @include: ags/X/machine/ags_drum_input_pad.h
+ *
+ * The #AgsDrumInputPad is a composite widget to act as drum sequencer input pad.
+ */
+
+static gpointer ags_drum_input_pad_parent_class = NULL;
+static AgsConnectableInterface *ags_drum_input_pad_parent_connectable_interface;
+
+GType
+ags_drum_input_pad_get_type()
+{
+ static GType ags_type_drum_input_pad = 0;
+
+ if(!ags_type_drum_input_pad){
+ static const GTypeInfo ags_drum_input_pad_info = {
+ sizeof(AgsDrumInputPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_drum_input_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsDrumInputPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_drum_input_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_drum_input_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_drum_input_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_drum_input_pad = g_type_register_static(AGS_TYPE_PAD,
+ "AgsDrumInputPad\0", &ags_drum_input_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_drum_input_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_drum_input_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_drum_input_pad);
+}
+
+void
+ags_drum_input_pad_class_init(AgsDrumInputPadClass *drum_input_pad)
+{
+ AgsPadClass *pad;
+
+ ags_drum_input_pad_parent_class = g_type_class_peek_parent(drum_input_pad);
+
+ pad = (AgsPadClass *) drum_input_pad;
+
+ pad->set_channel = ags_drum_input_pad_set_channel;
+ pad->resize_lines = ags_drum_input_pad_resize_lines;
+}
+
+void
+ags_drum_input_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_drum_input_pad_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_drum_input_pad_connect;
+ connectable->disconnect = ags_drum_input_pad_disconnect;
+}
+
+void
+ags_drum_input_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_drum_input_pad_get_name;
+ plugin->set_name = ags_drum_input_pad_set_name;
+ plugin->get_xml_type = ags_drum_input_pad_get_xml_type;
+ plugin->set_xml_type = ags_drum_input_pad_set_xml_type;
+ plugin->read = ags_drum_input_pad_read;
+ plugin->write = ags_drum_input_pad_write;
+}
+
+void
+ags_drum_input_pad_init(AgsDrumInputPad *drum_input_pad)
+{
+ AgsPad *pad;
+ GtkHBox *hbox;
+
+ drum_input_pad->flags = 0;
+
+ drum_input_pad->name = NULL;
+ drum_input_pad->xml_type = "ags-drum-input-pad\0";
+
+ pad = (AgsPad *) drum_input_pad;
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) pad, (GtkWidget *) hbox, FALSE, TRUE, 0);
+ gtk_box_reorder_child((GtkBox *) pad, (GtkWidget *) hbox, 0);
+
+ drum_input_pad->open = (GtkButton *) gtk_button_new();
+ gtk_container_add((GtkContainer *) drum_input_pad->open, (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_OPEN, GTK_ICON_SIZE_BUTTON));
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) drum_input_pad->open, TRUE, TRUE, 0);
+
+ AGS_PAD(drum_input_pad)->play =
+ drum_input_pad->play = (GtkToggleButton *) gtk_toggle_button_new();
+ gtk_container_add((GtkContainer *) drum_input_pad->play, (GtkWidget *) gtk_image_new_from_stock(GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_BUTTON));
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) drum_input_pad->play, TRUE, TRUE, 0);
+
+ drum_input_pad->edit = (GtkToggleButton *) gtk_toggle_button_new_with_label("edit\0");
+ gtk_box_pack_start((GtkBox *) pad, (GtkWidget *) drum_input_pad->edit, FALSE, FALSE, 0);
+
+ drum_input_pad->pad_open_play_ref = 0;
+ drum_input_pad->pad_open_recalls = NULL;
+
+ drum_input_pad->file_chooser = NULL;
+
+ drum_input_pad->pad_play_ref = 0;
+}
+
+void
+ags_drum_input_pad_connect(AgsConnectable *connectable)
+{
+ AgsDrumInputPad *drum_input_pad;
+
+ drum_input_pad = AGS_DRUM_INPUT_PAD(connectable);
+
+ if((AGS_PAD_CONNECTED & (AGS_PAD(drum_input_pad)->flags)) != 0){
+ return;
+ }
+
+ ags_drum_input_pad_parent_connectable_interface->connect(connectable);
+
+ /* AgsDrumInputPad */
+ g_signal_connect(G_OBJECT(drum_input_pad->open), "clicked\0",
+ G_CALLBACK(ags_drum_input_pad_open_callback), (gpointer) drum_input_pad);
+
+ g_signal_connect_after(G_OBJECT(drum_input_pad->play), "toggled\0",
+ G_CALLBACK(ags_drum_input_pad_play_callback), (gpointer) drum_input_pad);
+
+ g_signal_connect(G_OBJECT(drum_input_pad->edit), "clicked\0",
+ G_CALLBACK(ags_drum_input_pad_edit_callback), (gpointer) drum_input_pad);
+}
+
+void
+ags_drum_input_pad_disconnect(AgsConnectable *connectable)
+{
+ ags_drum_input_pad_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_drum_input_pad_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_drum_input_pad_set_channel(AgsPad *pad, AgsChannel *channel)
+{
+ AGS_PAD_CLASS(ags_drum_input_pad_parent_class)->set_channel(pad, channel);
+
+ /* empty */
+}
+
+void
+ags_drum_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ AGS_PAD_CLASS(ags_drum_input_pad_parent_class)->resize_lines(pad, line_type,
+ audio_channels, audio_channels_old);
+
+ /* empty */
+}
+
+gchar*
+ags_drum_input_pad_get_name(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_INPUT_PAD(plugin)->name);
+}
+
+void
+ags_drum_input_pad_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_DRUM_INPUT_PAD(plugin)->name = name;
+}
+
+gchar*
+ags_drum_input_pad_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_INPUT_PAD(plugin)->xml_type);
+}
+
+void
+ags_drum_input_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_DRUM_INPUT_PAD(plugin)->xml_type = xml_type;
+}
+
+void
+ags_drum_input_pad_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsDrumInputPad *gobject;
+ AgsFileLookup *file_lookup;
+
+ gobject = AGS_DRUM_INPUT_PAD(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ if(!xmlStrncmp(xmlGetProp(node,
+ "edit\0"),
+ AGS_FILE_TRUE,
+ 5)){
+ gtk_toggle_button_set_active(gobject->edit,
+ TRUE);
+ }else{
+ gtk_toggle_button_set_active(gobject->edit,
+ FALSE);
+ }
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_drum_input_pad_resolve_drum), gobject);
+}
+
+void
+ags_drum_input_pad_resolve_drum(AgsFileLookup *file_lookup,
+ AgsDrumInputPad *drum_input_pad)
+{
+ AgsDrum *drum;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor((GtkWidget *) drum_input_pad, AGS_TYPE_DRUM);
+
+ drum->selected_edit_button = (GtkToggleButton *) drum_input_pad->edit;
+ drum->selected_pad = drum_input_pad;
+}
+
+xmlNode*
+ags_drum_input_pad_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsDrumInputPad *drum_input_pad;
+ xmlNode *node;
+ gchar *id;
+
+ drum_input_pad = AGS_DRUM_INPUT_PAD(plugin);
+ node = NULL;
+
+ if(gtk_toggle_button_get_active(drum_input_pad->edit)){
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-drum-input-pad\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", drum_input_pad,
+ NULL));
+
+ xmlNewProp(node,
+ "edit\0",
+ g_strdup_printf("%s\0", AGS_FILE_TRUE));
+
+ xmlAddChild(parent,
+ node);
+ }
+
+ return(node);
+}
+
+/**
+ * ags_drum_input_pad_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsDrumInputPad
+ *
+ * Returns: a new #AgsDrumInputPad
+ *
+ * Since: 0.4
+ */
+AgsDrumInputPad*
+ags_drum_input_pad_new(AgsChannel *channel)
+{
+ AgsDrumInputPad *drum_input_pad;
+
+ drum_input_pad = (AgsDrumInputPad *) g_object_new(AGS_TYPE_DRUM_INPUT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(drum_input_pad);
+}
diff --git a/src/ags/X/machine/ags_drum_input_pad.h b/src/ags/X/machine/ags_drum_input_pad.h
new file mode 100644
index 0000000..222e89f
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_pad.h
@@ -0,0 +1,72 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_INPUT_PAD_H__
+#define __AGS_DRUM_INPUT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_pad.h>
+
+#define AGS_TYPE_DRUM_INPUT_PAD (ags_drum_input_pad_get_type())
+#define AGS_DRUM_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_INPUT_PAD, AgsDrumInputPad))
+#define AGS_DRUM_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DRUM_INPUT_PAD, AgsDrumInputPadClass))
+#define AGS_IS_DRUM_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_INPUT_PAD))
+#define AGS_IS_DRUM_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_INPUT_PAD))
+#define AGS_DRUM_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_INPUT_PAD, AgsDrumInputPadClass))
+
+typedef struct _AgsDrumInputPad AgsDrumInputPad;
+typedef struct _AgsDrumInputPadClass AgsDrumInputPadClass;
+
+typedef enum{
+ AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE = 1,
+}AgsDrumInputPadFlags;
+
+struct _AgsDrumInputPad
+{
+ AgsPad pad;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+ GtkToggleButton *play;
+ GtkToggleButton *edit;
+
+ GList *pad_open_recalls;
+ guint pad_open_play_ref;
+
+ GtkFileChooserDialog *file_chooser;
+
+ guint pad_play_ref;
+};
+
+struct _AgsDrumInputPadClass
+{
+ AgsPadClass pad;
+};
+
+GType ags_drum_input_pad_get_type();
+
+AgsDrumInputPad* ags_drum_input_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_DRUM_INPUT_PAD_H__*/
diff --git a/src/ags/X/machine/ags_drum_input_pad_callbacks.c b/src/ags/X/machine/ags_drum_input_pad_callbacks.c
new file mode 100644
index 0000000..a28e6ab
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_pad_callbacks.c
@@ -0,0 +1,573 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_input_pad_callbacks.h>
+#include <ags/X/machine/ags_drum_input_line_callbacks.h>
+#include <ags/X/machine/ags_drum.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_recall.h>
+
+#include <ags/audio/task/ags_start_devout.h>
+#include <ags/audio/task/ags_init_channel.h>
+#include <ags/audio/task/ags_append_channel.h>
+#include <ags/audio/task/ags_append_recall.h>
+#include <ags/audio/task/ags_add_audio_signal.h>
+#include <ags/audio/task/ags_open_single_file.h>
+#include <ags/audio/task/ags_cancel_channel.h>
+
+#include <ags/audio/recall/ags_play_channel_run.h>
+#include <ags/audio/recall/ags_play_audio_signal.h>
+#include <ags/audio/recall/ags_stream_audio_signal.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <ags/X/ags_line_callbacks.h>
+
+#include <math.h>
+
+void ags_drum_input_pad_open_play_callback(GtkToggleButton *toggle_button, AgsDrumInputPad *pad);
+void ags_drum_input_pad_open_play_done(AgsRecall *recall, AgsDrumInputPad *drum_input_pad);
+void ags_drum_input_pad_open_response_callback(GtkWidget *widget, gint response, AgsDrumInputPad *pad);
+
+void ags_drum_input_pad_init_channel_launch_callback(AgsTask *task, AgsDrumInputPad *drum_input_pad);
+
+#define AGS_DRUM_INPUT_PAD_OPEN_AUDIO_FILE_NAME "AgsDrumInputPadOpenAudioFileName\0"
+#define AGS_DRUM_INPUT_PAD_OPEN_SPIN_BUTTON "AgsDrumInputPadOpenSpinButton\0"
+
+void
+ags_drum_input_pad_open_callback(GtkWidget *widget, AgsDrumInputPad *drum_input_pad)
+{
+ GtkFileChooserDialog *file_chooser;
+ GtkHBox *hbox;
+ GtkLabel *label;
+ GtkSpinButton *spin_button;
+ GtkToggleButton *play;
+
+ if(drum_input_pad->file_chooser != NULL)
+ return;
+
+ drum_input_pad->file_chooser =
+ file_chooser = (GtkFileChooserDialog *) gtk_file_chooser_dialog_new (g_strdup("Open File\0"),
+ (GtkWindow *) gtk_widget_get_toplevel((GtkWidget *) drum_input_pad),
+ GTK_FILE_CHOOSER_ACTION_OPEN,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ NULL);
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(file_chooser), FALSE);
+ g_object_set_data((GObject *) file_chooser, (char *) g_type_name(AGS_TYPE_AUDIO_FILE), NULL);
+ g_object_set_data((GObject *) file_chooser, AGS_DRUM_INPUT_PAD_OPEN_AUDIO_FILE_NAME, NULL);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_file_chooser_set_extra_widget((GtkFileChooser *) file_chooser, (GtkWidget *) hbox);
+
+ label = (GtkLabel *) gtk_label_new(g_strdup("channel: \0"));
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) label, FALSE, FALSE, 0);
+
+ spin_button = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 16.0, 1.0);
+ g_object_set_data((GObject *) file_chooser, AGS_DRUM_INPUT_PAD_OPEN_SPIN_BUTTON, spin_button);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) spin_button, FALSE, FALSE, 0);
+
+ if(drum_input_pad->pad.group->active)
+ gtk_widget_set_sensitive((GtkWidget *) spin_button, FALSE);
+
+ play = (GtkToggleButton *) g_object_new(GTK_TYPE_TOGGLE_BUTTON,
+ "label\0", GTK_STOCK_MEDIA_PLAY,
+ "use-stock\0", TRUE,
+ "use-underline\0", TRUE,
+ NULL);
+ gtk_box_pack_start((GtkBox *) GTK_DIALOG(file_chooser)->action_area, (GtkWidget *) play, FALSE, FALSE, 0);
+ gtk_box_reorder_child((GtkBox *) GTK_DIALOG(file_chooser)->action_area, (GtkWidget *) play, 0);
+
+ gtk_widget_show_all((GtkWidget *) file_chooser);
+
+ g_signal_connect((GObject *) file_chooser, "response\0",
+ G_CALLBACK(ags_drum_input_pad_open_response_callback), (gpointer) drum_input_pad);
+ g_signal_connect((GObject *) play, "toggled\0",
+ G_CALLBACK(ags_drum_input_pad_open_play_callback), (gpointer) drum_input_pad);
+}
+
+void
+ags_drum_input_pad_open_play_callback(GtkToggleButton *toggle_button, AgsDrumInputPad *drum_input_pad)
+{
+ GtkFileChooserDialog *file_chooser;
+ AgsDevout *devout;
+ GList *list, *tasks;
+ gchar *name0, *name1;
+
+ file_chooser = drum_input_pad->file_chooser;
+ name0 = (gchar *) gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(file_chooser));
+ name1 = g_object_get_data((GObject *) file_chooser, AGS_DRUM_INPUT_PAD_OPEN_AUDIO_FILE_NAME);
+
+ devout = AGS_DEVOUT(AGS_AUDIO(AGS_PAD(drum_input_pad)->channel->audio)->devout);
+
+ if(toggle_button->active){
+ AgsDevoutPlay *devout_play;
+ AgsPlayAudioSignal *play_audio_signal;
+ AgsStreamAudioSignal *stream_audio_signal;
+ AgsStartDevout *start_devout;
+ AgsAppendRecall *append_recall;
+ AgsAudioFile *audio_file;
+ GList *audio_signal;
+ guint i;
+
+ drum_input_pad->flags &= (~AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE);
+
+ /* AgsAudioFile */
+ if(!g_strcmp0(name0, name1)){
+ audio_file = (AgsAudioFile *) g_object_get_data((GObject *) file_chooser, g_type_name(AGS_TYPE_AUDIO_FILE));
+ }else{
+ if(name1 != NULL){
+ audio_file = g_object_get_data((GObject *) file_chooser, (char *) g_type_name(AGS_TYPE_AUDIO_FILE));
+ g_object_unref(G_OBJECT(audio_file));
+ }
+
+ audio_file = ags_audio_file_new(name0,
+ devout,
+ 0, devout->pcm_channels);
+ g_object_set_data((GObject *) file_chooser, (char *) g_type_name(AGS_TYPE_AUDIO_FILE), audio_file);
+
+ ags_audio_file_open(audio_file);
+ ags_audio_file_read_audio_signal(audio_file);
+ g_message("ags_drum_input_pad_open_play:\0");
+ }
+
+ /* task */
+ audio_signal = audio_file->audio_signal;
+
+ tasks = NULL;
+ i = 0;
+
+ while(audio_signal != NULL){
+ /* AgsPlayAudioSignal recall */
+ play_audio_signal = ags_play_audio_signal_new(AGS_AUDIO_SIGNAL(audio_signal->data),
+ devout,
+ i);
+ g_object_ref(play_audio_signal);
+ AGS_AUDIO_SIGNAL(audio_signal->data)->flags &= (~AGS_AUDIO_SIGNAL_TEMPLATE);
+ AGS_AUDIO_SIGNAL(audio_signal->data)->stream_current = AGS_AUDIO_SIGNAL(audio_signal->data)->stream_beginning;
+ drum_input_pad->pad_open_play_ref++;
+
+ drum_input_pad->pad_open_recalls = g_list_prepend(drum_input_pad->pad_open_recalls,
+ play_audio_signal);
+ g_signal_connect(G_OBJECT(play_audio_signal), "done\0",
+ G_CALLBACK(ags_drum_input_pad_open_play_done), drum_input_pad);
+
+ /* AgsAppendRecall */
+ devout_play = ags_devout_play_alloc();
+
+ devout_play->flags = AGS_DEVOUT_PLAY_PLAYBACK;
+ devout_play->source = G_OBJECT(play_audio_signal);
+
+ append_recall = ags_append_recall_new(G_OBJECT(AGS_MAIN(devout->ags_main)->main_loop),
+ devout_play);
+
+ tasks = g_list_prepend(tasks, append_recall);
+
+ /* AgsStreamAudioSignal recall */
+ stream_audio_signal = ags_stream_audio_signal_new(AGS_AUDIO_SIGNAL(audio_signal->data));
+ g_object_ref(stream_audio_signal);
+ drum_input_pad->pad_open_play_ref++;
+
+ drum_input_pad->pad_open_recalls = g_list_prepend(drum_input_pad->pad_open_recalls,
+ stream_audio_signal);
+ g_signal_connect_after(G_OBJECT(stream_audio_signal), "done\0",
+ G_CALLBACK(ags_drum_input_pad_open_play_done), drum_input_pad);
+
+ /* AgsAppendRecall */
+ devout_play = ags_devout_play_alloc();
+
+ devout_play->flags = AGS_DEVOUT_PLAY_PLAYBACK;
+ devout_play->source = G_OBJECT(stream_audio_signal);
+
+ append_recall = ags_append_recall_new(G_OBJECT(AGS_MAIN(devout->ags_main)->main_loop),
+ devout_play);
+
+ tasks = g_list_prepend(tasks, append_recall);
+
+ /* next */
+ audio_signal = audio_signal->next;
+ i++;
+ }
+
+ /* */
+ tasks = g_list_reverse(tasks);
+
+ /* create start task */
+ start_devout = ags_start_devout_new(devout);
+ tasks = g_list_prepend(tasks, start_devout);
+
+ ags_task_thread_append_tasks(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ tasks);
+ }else{
+ if((AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE & (drum_input_pad->flags)) == 0){
+ GList *list;
+
+ list = drum_input_pad->pad_open_recalls;
+
+ while(list != NULL){
+ ags_recall_cancel(AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+ }else{
+ drum_input_pad->flags &= (~AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE);
+ }
+ }
+}
+
+void
+ags_drum_input_pad_open_play_done(AgsRecall *recall, AgsDrumInputPad *drum_input_pad)
+{
+ drum_input_pad->pad_open_play_ref--;
+
+ // ags_recycling_remove_audio_signal(AGS_RECALL_AUDIO_SIGNAL(recall)->source->recycling,
+ // AGS_RECALL_AUDIO_SIGNAL(recall)->source);
+
+ if(drum_input_pad->pad_open_play_ref == 0){
+ GtkToggleButton *toggle_button;
+ // AgsCancelRecall *cancel_recall;
+ GList *list;
+
+ list = drum_input_pad->pad_open_recalls;
+
+ while(list != NULL){
+ AGS_RECALL(list->data)->flags |= AGS_RECALL_REMOVE;
+
+ list = list->next;
+ }
+
+ g_list_free(drum_input_pad->pad_open_recalls);
+ drum_input_pad->pad_open_recalls = NULL;
+
+ list = gtk_container_get_children((GtkContainer *) GTK_DIALOG(drum_input_pad->file_chooser)->action_area);
+ toggle_button = (GtkToggleButton *) list->data;
+
+ drum_input_pad->flags |= AGS_DRUM_INPUT_PAD_OPEN_PLAY_DONE;
+ gtk_toggle_button_set_active(toggle_button, FALSE);
+
+ g_list_free(list);
+ }
+}
+
+void
+ags_drum_input_pad_open_response_callback(GtkWidget *widget, gint response, AgsDrumInputPad *drum_input_pad)
+{
+ AgsDrum *drum;
+ AgsAudioFile *audio_file;
+ GtkFileChooserDialog *file_chooser;
+ GtkSpinButton *spin_button;
+ AgsOpenSingleFile *open_single_file;
+ char *name0, *name1;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor(GTK_WIDGET(drum_input_pad), AGS_TYPE_DRUM);
+
+ file_chooser = drum_input_pad->file_chooser;
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ name0 = gtk_file_chooser_get_filename((GtkFileChooser *) file_chooser);
+ name1 = (char *) g_object_get_data((GObject *) file_chooser, AGS_DRUM_INPUT_PAD_OPEN_AUDIO_FILE_NAME);
+
+ spin_button = (GtkSpinButton *) g_object_get_data((GObject *) file_chooser, AGS_DRUM_INPUT_PAD_OPEN_SPIN_BUTTON);
+
+ /* open audio file and read audio signal */
+ if(!g_strcmp0(name0, name1)){
+ audio_file = (AgsAudioFile *) g_object_get_data((GObject *) file_chooser, g_type_name(AGS_TYPE_AUDIO_FILE));
+ }else{
+ if(name1 != NULL){
+ audio_file = (AgsAudioFile *) g_object_get_data((GObject *) file_chooser, g_type_name(AGS_TYPE_AUDIO_FILE));
+ g_object_unref(G_OBJECT(audio_file));
+ }
+ }
+
+ /* task */
+ if(AGS_PAD(drum_input_pad)->group->active){
+ open_single_file = ags_open_single_file_new(AGS_PAD(drum_input_pad)->channel,
+ AGS_DEVOUT(AGS_AUDIO(AGS_MACHINE(drum)->audio)->devout),
+ name0,
+ 0, AGS_AUDIO(AGS_MACHINE(drum)->audio)->audio_channels);
+ }else{
+ AgsLine *line;
+ GList *list;
+
+ list = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(drum_input_pad)->expander_set));
+ line = AGS_LINE(ags_line_find_next_grouped(list)->data);
+
+ open_single_file = ags_open_single_file_new(line->channel,
+ AGS_DEVOUT(AGS_AUDIO(AGS_MACHINE(drum)->audio)->devout),
+ name0,
+ (guint) spin_button->adjustment->value, 1);
+
+ g_list_free(list);
+ }
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(AGS_MACHINE(drum)->audio)->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(open_single_file));
+
+ gtk_widget_destroy((GtkWidget *) file_chooser);
+ }else if(response == GTK_RESPONSE_CANCEL){
+ audio_file = (AgsAudioFile *) g_object_get_data((GObject *) file_chooser, g_type_name(AGS_TYPE_AUDIO_FILE));
+
+ if(audio_file != NULL){
+ g_object_unref(G_OBJECT(audio_file));
+ }
+
+ gtk_widget_destroy((GtkWidget *) file_chooser);
+ }
+
+ drum_input_pad->file_chooser = NULL;
+}
+
+void
+ags_drum_input_pad_play_callback(GtkToggleButton *toggle_button, AgsDrumInputPad *drum_input_pad)
+{
+ AgsDrum *drum;
+ AgsDevout *devout;
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+ AgsDevoutThread *devout_thread;
+ AgsChannel *channel;
+ GList *tasks;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor((GtkWidget *) drum_input_pad, AGS_TYPE_DRUM);
+
+ devout = AGS_DEVOUT(AGS_MACHINE(drum)->audio->devout);
+
+ audio_loop = AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop);
+ task_thread = AGS_TASK_THREAD(audio_loop->task_thread);
+ devout_thread = AGS_DEVOUT_THREAD(audio_loop->devout_thread);
+
+ tasks = NULL;
+
+ if(toggle_button->active){
+ AgsStartDevout *start_devout;
+ AgsInitChannel *init_channel;
+ AgsAppendChannel *append_channel;
+ gboolean play_all;
+ guint flags;
+
+ play_all = AGS_PAD(drum_input_pad)->group->active;
+
+ flags = AGS_AUDIO_SIGNAL_STANDALONE;
+
+ channel = AGS_PAD(drum_input_pad)->channel;
+
+ /* init channel for playback */
+ init_channel = ags_init_channel_new(channel, play_all,
+ TRUE, FALSE, FALSE);
+ g_signal_connect_after(G_OBJECT(init_channel), "launch\0",
+ G_CALLBACK(ags_drum_input_pad_init_channel_launch_callback), drum_input_pad);
+ tasks = g_list_prepend(tasks, init_channel);
+
+ if(play_all){
+ AgsChannel *next_pad;
+
+ next_pad = channel->next_pad;
+
+ while(channel != next_pad){
+ /* append channel for playback */
+ append_channel = ags_append_channel_new(G_OBJECT(audio_loop),
+ channel);
+ tasks = g_list_prepend(tasks, append_channel);
+
+ // drum_input_pad->pad_play_ref++;
+ channel = channel->next;
+ }
+ }else{
+ AgsLine *line;
+ GList *list;
+
+ list = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(drum_input_pad)->expander_set));
+ line = AGS_LINE(ags_line_find_next_grouped(list)->data);
+
+ /* append channel for playback */
+ append_channel = ags_append_channel_new(G_OBJECT(audio_loop),
+ line->channel);
+ tasks = g_list_prepend(tasks, append_channel);
+
+ g_list_free(list);
+ // drum_input_pad->pad_play_ref++;
+ }
+
+ /* create start task */
+ start_devout = ags_start_devout_new(devout);
+ tasks = g_list_prepend(tasks,
+ start_devout);
+
+ /* perform playback */
+ tasks = g_list_reverse(tasks);
+ ags_task_thread_append_tasks(task_thread, tasks);
+ }else{
+ AgsCancelChannel *cancel_channel;
+
+ channel = AGS_PAD(drum_input_pad)->channel;
+
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] == NULL ||
+ (AGS_DEVOUT_PLAY_DONE & (AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0]->flags)) != 0){
+ return;
+ }
+
+ if((AGS_DEVOUT_PLAY_PAD & (AGS_DEVOUT_PLAY(channel->devout_play)->flags)) != 0){
+ AgsChannel *next_pad;
+
+ next_pad = channel->next_pad;
+
+ if((AGS_DEVOUT_PLAY_DONE & (AGS_DEVOUT_PLAY(channel->devout_play)->flags)) == 0){
+ /* cancel request */
+ while(channel != next_pad){
+ cancel_channel = ags_cancel_channel_new(channel, AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0],
+ AGS_DEVOUT_PLAY(channel->devout_play));
+
+ ags_task_thread_append_task(task_thread, (AgsTask *) cancel_channel);
+
+ channel = channel->next;
+ }
+ }else{
+ /* done */
+ while(channel != next_pad){
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_REMOVE;
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags &= (~AGS_DEVOUT_PLAY_DONE);
+
+ channel = channel->next;
+ }
+ }
+ }else{
+ AgsLine *line;
+ GList *list;
+
+ list = gtk_container_get_children(GTK_CONTAINER(AGS_PAD(drum_input_pad)->expander_set));
+ line = AGS_LINE(ags_line_find_next_grouped(list)->data);
+
+ g_list_free(list);
+
+ /* */
+ channel = line->channel;
+
+ if((AGS_DEVOUT_PLAY_DONE & (AGS_DEVOUT_PLAY(channel->devout_play)->flags)) == 0){
+ /* cancel request */
+ cancel_channel = ags_cancel_channel_new(channel, AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0],
+ AGS_DEVOUT_PLAY(channel->devout_play));
+
+ ags_task_thread_append_task(task_thread, (AgsTask *) cancel_channel);
+ }else{
+ /* done */
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_REMOVE;
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags &= (~AGS_DEVOUT_PLAY_DONE);
+ }
+ }
+ }
+}
+
+void
+ags_drum_input_pad_init_channel_launch_callback(AgsTask *task,
+ AgsDrumInputPad *drum_input_pad)
+{
+ AgsChannel *channel, *next_pad;
+ AgsRecycling *recycling;
+ AgsAddAudioSignal *add_audio_signal;
+ GList *recall, *tmp;
+ GList *list, *list_start;
+
+ list_start =
+ list = gtk_container_get_children(AGS_PAD(drum_input_pad)->expander_set);
+
+ channel = AGS_PAD(drum_input_pad)->channel;
+ next_pad = channel->next_pad;
+
+ while(channel != next_pad){
+ if(AGS_DEVOUT_PLAY(channel->devout_play) == NULL ||
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] == NULL){
+ channel = channel->next;
+ list = list->next;
+
+ continue;
+ }
+
+ /* connect done */
+ recall = ags_recall_find_provider_with_recycling_container(channel->play,
+ channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0]->recycling_container);
+
+ tmp = recall;
+ recall = ags_recall_find_type(recall,
+ AGS_TYPE_PLAY_CHANNEL_RUN);
+ //TODO:JK: fix me
+ // g_list_free(tmp);
+
+ if(recall != NULL){
+ g_signal_connect_after(channel, "done\0",
+ G_CALLBACK(ags_line_channel_done_callback), list->data);
+
+ /* add audio signal */
+ recycling = channel->first_recycling;
+
+ while(recycling != channel->last_recycling->next){
+ add_audio_signal = ags_add_audio_signal_new(recycling,
+ NULL,
+ AGS_AUDIO(channel->audio)->devout,
+ AGS_RECALL(recall->data)->recall_id,
+ 0);
+
+ recycling = recycling->next;
+ }
+ }
+
+ //TODO:JK: fix me
+ // g_list_free(recall);
+
+ channel = channel->next;
+ list = list->next;
+ }
+
+ g_list_free(list_start);
+}
+
+void
+ags_drum_input_pad_edit_callback(GtkWidget *toggle_button, AgsDrumInputPad *drum_input_pad)
+{
+ GtkToggleButton *toggle;
+ AgsDrum *drum;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor((GtkWidget *) drum_input_pad, AGS_TYPE_DRUM);
+
+ if(drum->selected_edit_button != NULL){
+ if(GTK_TOGGLE_BUTTON(toggle_button) != drum->selected_edit_button){
+ toggle = drum->selected_edit_button;
+ drum->selected_edit_button = NULL;
+ gtk_toggle_button_set_active((GtkToggleButton *) toggle, FALSE);
+ drum->selected_edit_button = (GtkToggleButton *) toggle_button;
+ drum->selected_pad = (AgsDrumInputPad *) gtk_widget_get_ancestor((GtkWidget *) toggle_button, AGS_TYPE_DRUM_INPUT_PAD);
+ ags_drum_set_pattern(drum);
+ }else{
+ toggle = drum->selected_edit_button;
+ drum->selected_edit_button = NULL;
+ gtk_toggle_button_set_active((GtkToggleButton *) toggle, TRUE);
+ drum->selected_edit_button = toggle;
+ }
+ }
+}
diff --git a/src/ags/X/machine/ags_drum_input_pad_callbacks.h b/src/ags/X/machine/ags_drum_input_pad_callbacks.h
new file mode 100644
index 0000000..0a03df9
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_input_pad_callbacks.h
@@ -0,0 +1,14 @@
+#ifndef __AGS_DRUM_INPUT_PAD_CALLBACKS_H__
+#define __AGS_DRUM_INPUT_PAD_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_drum_input_pad.h>
+
+void ags_drum_input_pad_open_callback(GtkWidget *button, AgsDrumInputPad *drum_input_pad);
+void ags_drum_input_pad_play_callback(GtkToggleButton *button, AgsDrumInputPad *drum_input_pad);
+void ags_drum_input_pad_edit_callback(GtkWidget *toggle_button, AgsDrumInputPad *drum_input_pad);
+
+#endif /*__AGS_DRUM_INPUT_PAD_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_drum_output_line.c b/src/ags/X/machine/ags_drum_output_line.c
new file mode 100644
index 0000000..dd8ad25
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_line.c
@@ -0,0 +1,370 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_output_line.h>
+#include <ags/X/machine/ags_drum_output_line_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_recall_factory.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_stream_channel.h>
+#include <ags/audio/recall/ags_stream_channel_run.h>
+#include <ags/audio/recall/ags_loop_channel.h>
+#include <ags/audio/recall/ags_loop_channel_run.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/machine/ags_drum.h>
+
+#include <math.h>
+
+void ags_drum_output_line_class_init(AgsDrumOutputLineClass *drum_output_line);
+void ags_drum_output_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_drum_output_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_drum_output_line_init(AgsDrumOutputLine *drum_output_line);
+void ags_drum_output_line_destroy(GtkObject *object);
+void ags_drum_output_line_connect(AgsConnectable *connectable);
+void ags_drum_output_line_disconnect(AgsConnectable *connectable);
+gchar* ags_drum_output_line_get_name(AgsPlugin *plugin);
+void ags_drum_output_line_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_drum_output_line_get_xml_type(AgsPlugin *plugin);
+void ags_drum_output_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_drum_output_line_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_drum_output_line_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_drum_output_line_set_channel(AgsLine *line, AgsChannel *channel);
+void ags_drum_output_line_map_recall(AgsLine *line,
+ guint output_pad_start);
+
+/**
+ * SECTION:ags_drum_output_line
+ * @short_description: drum sequencer output line
+ * @title: AgsDrumOutputLine
+ * @section_id:
+ * @include: ags/X/machine/ags_drum_output_line.h
+ *
+ * The #AgsDrumOutputLine is a composite widget to act as drum sequencer output line.
+ */
+
+static gpointer ags_drum_output_line_parent_class = NULL;
+static AgsConnectableInterface *ags_drum_output_line_parent_connectable_interface;
+
+GType
+ags_drum_output_line_get_type()
+{
+ static GType ags_type_drum_output_line = 0;
+
+ if(!ags_type_drum_output_line){
+ static const GTypeInfo ags_drum_output_line_info = {
+ sizeof(AgsDrumOutputLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_drum_output_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsDrumOutputLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_drum_output_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_drum_output_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_drum_output_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_drum_output_line = g_type_register_static(AGS_TYPE_LINE,
+ "AgsDrumOutputLine\0", &ags_drum_output_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_drum_output_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_drum_output_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_drum_output_line);
+}
+
+void
+ags_drum_output_line_class_init(AgsDrumOutputLineClass *drum_output_line)
+{
+ AgsLineClass *line;
+
+ ags_drum_output_line_parent_class = g_type_class_peek_parent(drum_output_line);
+
+ /* AgsLineClass */
+ line = AGS_LINE_CLASS(drum_output_line);
+
+ line->set_channel = ags_drum_output_line_set_channel;
+ line->map_recall = ags_drum_output_line_map_recall;
+}
+
+void
+ags_drum_output_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_drum_output_line_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_drum_output_line_connect;
+ connectable->disconnect = ags_drum_output_line_disconnect;
+}
+
+void
+ags_drum_output_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_drum_output_line_get_name;
+ plugin->set_name = ags_drum_output_line_set_name;
+ plugin->get_xml_type = ags_drum_output_line_get_xml_type;
+ plugin->set_xml_type = ags_drum_output_line_set_xml_type;
+ plugin->read = ags_drum_output_line_read;
+ plugin->write = ags_drum_output_line_write;
+}
+
+void
+ags_drum_output_line_init(AgsDrumOutputLine *drum_output_line)
+{
+ g_signal_connect_after((GObject *) drum_output_line, "parent_set\0",
+ G_CALLBACK(ags_drum_output_line_parent_set_callback), NULL);
+
+ drum_output_line->xml_type = "ags-drum-output-line\0";
+}
+
+void
+ags_drum_output_line_destroy(GtkObject *object)
+{
+}
+
+void
+ags_drum_output_line_connect(AgsConnectable *connectable)
+{
+ AgsDrumOutputLine *drum_output_line;
+
+ drum_output_line = AGS_DRUM_OUTPUT_LINE(connectable);
+
+ if((AGS_LINE_CONNECTED & (AGS_LINE(drum_output_line)->flags)) != 0){
+ return;
+ }
+
+ ags_drum_output_line_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_drum_output_line_disconnect(AgsConnectable *connectable)
+{
+ ags_drum_output_line_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+gchar*
+ags_drum_output_line_get_name(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_OUTPUT_LINE(plugin)->name);
+}
+
+void
+ags_drum_output_line_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_DRUM_OUTPUT_LINE(plugin)->name = name;
+}
+
+gchar*
+ags_drum_output_line_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_OUTPUT_LINE(plugin)->xml_type);
+}
+
+void
+ags_drum_output_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_DRUM_OUTPUT_LINE(plugin)->xml_type = xml_type;
+}
+
+void
+ags_drum_output_line_set_channel(AgsLine *line, AgsChannel *channel)
+{
+ AgsDrumOutputLine *drum_output_line;
+
+ AGS_LINE_CLASS(ags_drum_output_line_parent_class)->set_channel(line, channel);
+
+ drum_output_line = AGS_DRUM_OUTPUT_LINE(line);
+
+ if(channel != NULL){
+ AgsDevout *devout;
+ AgsAudioSignal *audio_signal;
+ gdouble delay;
+ guint stop;
+
+ if(channel->audio != NULL &&
+ AGS_AUDIO(channel->audio)->devout != NULL){
+ devout = AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout);
+
+ audio_signal = ags_audio_signal_new(devout,
+ channel->first_recycling,
+ NULL);
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ ags_recycling_add_audio_signal(channel->first_recycling,
+ audio_signal);
+ }
+ }
+}
+
+void
+ags_drum_output_line_map_recall(AgsLine *line,
+ guint output_pad_start)
+{
+ AgsAudio *audio;
+
+ AgsChannel *output;
+ AgsDelayAudio *recall_delay_audio;
+ AgsCountBeatsAudioRun *recall_count_beats_audio_run;
+
+ GList *list;
+
+ if((AGS_LINE_MAPPED_RECALL & (line->flags)) != 0 ||
+ (AGS_LINE_PREMAPPED_RECALL & (line->flags)) != 0){
+ return;
+ }
+
+ output = line->channel;
+ audio = AGS_AUDIO(output->audio);
+
+ /* get some recalls */
+ list = ags_recall_find_type(audio->play, AGS_TYPE_DELAY_AUDIO);
+
+ if(list != NULL){
+ recall_delay_audio = AGS_DELAY_AUDIO(list->data);
+ }else{
+ recall_delay_audio = NULL;
+ }
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_COUNT_BEATS_AUDIO_RUN);
+
+ if(list != NULL){
+ recall_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+ }else{
+ recall_count_beats_audio_run = NULL;
+ }
+
+ /* ags-stream */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-stream\0",
+ output->audio_channel, output->audio_channel + 1,
+ output->pad, output->pad + 1,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ AGS_LINE_CLASS(ags_drum_output_line_parent_class)->map_recall(line,
+ output_pad_start);
+}
+
+void
+ags_drum_output_line_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsDrumOutputLine *gobject;
+
+ gobject = AGS_DRUM_OUTPUT_LINE(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+}
+
+xmlNode*
+ags_drum_output_line_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsDrumOutputLine *drum_output_line;
+ xmlNode *node;
+ gchar *id;
+
+ drum_output_line = AGS_DRUM_OUTPUT_LINE(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-drum-output-line\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", drum_output_line,
+ NULL));
+
+ return(node);
+}
+
+/**
+ * ags_drum_output_line_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsDrumOutputLine
+ *
+ * Returns: a new #AgsDrumOutputLine
+ *
+ * Since: 0.4
+ */
+AgsDrumOutputLine*
+ags_drum_output_line_new(AgsChannel *channel)
+{
+ AgsDrumOutputLine *drum_output_line;
+
+ drum_output_line = (AgsDrumOutputLine *) g_object_new(AGS_TYPE_DRUM_OUTPUT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(drum_output_line);
+}
diff --git a/src/ags/X/machine/ags_drum_output_line.h b/src/ags/X/machine/ags_drum_output_line.h
new file mode 100644
index 0000000..627bf1b
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_line.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_OUTPUT_LINE_H__
+#define __AGS_DRUM_OUTPUT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line.h>
+
+#define AGS_TYPE_DRUM_OUTPUT_LINE (ags_drum_output_line_get_type())
+#define AGS_DRUM_OUTPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_OUTPUT_LINE, AgsDrumOutputLine))
+#define AGS_DRUM_OUTPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DRUM_OUTPUT_LINE, AgsDrumOutputLineClass))
+#define AGS_IS_DRUM_OUTPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_OUTPUT_LINE))
+#define AGS_IS_DRUM_OUTPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_OUTPUT_LINE))
+#define AGS_DRUM_OUTPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_OUTPUT_LINE, AgsDrumOutputLineClass))
+
+typedef struct _AgsDrumOutputLine AgsDrumOutputLine;
+typedef struct _AgsDrumOutputLineClass AgsDrumOutputLineClass;
+
+struct _AgsDrumOutputLine
+{
+ AgsLine line;
+
+ gchar *name;
+ gchar *xml_type;
+};
+
+struct _AgsDrumOutputLineClass
+{
+ AgsLineClass line;
+};
+
+GType ags_drum_output_line_get_type();
+
+AgsDrumOutputLine* ags_drum_output_line_new(AgsChannel *channel);
+
+#endif /*__AGS_DRUM_OUTPUT_LINE_H__*/
diff --git a/src/ags/X/machine/ags_drum_output_line_callbacks.c b/src/ags/X/machine/ags_drum_output_line_callbacks.c
new file mode 100644
index 0000000..f97357d
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_line_callbacks.c
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_output_line_callbacks.h>
+
+#include <ags/X/machine/ags_drum.h>
+
+#include <ags/audio/ags_audio_signal.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+
+int
+ags_drum_output_line_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, gpointer data)
+{
+ AgsDrumOutputLine *drum_output_line;
+
+ if(old_parent != NULL)
+ return(0);
+
+ drum_output_line = AGS_DRUM_OUTPUT_LINE(widget);
+
+ if(AGS_LINE(drum_output_line)->channel != NULL){
+ /*
+ AgsDrum *drum;
+ AgsChannel *channel;
+ AgsAudioSignal *audio_signal;
+ AgsDelaySharedAudio *delay_shared_audio;
+ GList *recall_shared;
+ guint stop;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor(widget, AGS_TYPE_DRUM);
+
+ channel = AGS_LINE(drum_output_line)->channel;
+ recall_shared = ags_recall_shared_find_type(AGS_AUDIO(channel->audio)->recall_shared,
+ AGS_TYPE_DELAY_SHARED_AUDIO);
+
+ if(recall_shared != NULL){
+ delay_shared_audio = (AgsDelaySharedAudio *) recall_shared->data;
+ stop = ((guint) drum->length_spin->adjustment->value) * (delay_shared_audio->delay + 1);
+ }else{
+ stop = 1;
+ }
+
+ audio_signal = ags_audio_signal_get_template(channel->first_recycling->audio_signal);
+ ags_audio_signal_stream_resize(audio_signal, stop);
+*/
+ }
+
+ return(0);
+}
diff --git a/src/ags/X/machine/ags_drum_output_line_callbacks.h b/src/ags/X/machine/ags_drum_output_line_callbacks.h
new file mode 100644
index 0000000..5d19e6c
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_line_callbacks.h
@@ -0,0 +1,26 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_OUTPUT_LINE_CALLBACKS_H__
+#define __AGS_DRUM_OUTPUT_LINE_CALLBACKS_H__
+
+#include <ags/X/machine/ags_drum_output_line.h>
+
+int ags_drum_output_line_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, gpointer data);
+
+#endif /*__AGS_DRUM_OUTPUT_LINE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_drum_output_pad.c b/src/ags/X/machine/ags_drum_output_pad.c
new file mode 100644
index 0000000..c2f67ff
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_pad.c
@@ -0,0 +1,240 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_output_pad.h>
+#include <ags/X/machine/ags_drum_output_pad_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_line.h>
+
+#include <ags/X/machine/ags_drum.h>
+
+void ags_drum_output_pad_class_init(AgsDrumOutputPadClass *drum_output_pad);
+void ags_drum_output_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_drum_output_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_drum_output_pad_init(AgsDrumOutputPad *drum_output_pad);
+void ags_drum_output_pad_destroy(GtkObject *object);
+void ags_drum_output_pad_connect(AgsConnectable *connectable);
+void ags_drum_output_pad_disconnect(AgsConnectable *connectable);
+gchar* ags_drum_output_pad_get_name(AgsPlugin *plugin);
+void ags_drum_output_pad_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_drum_output_pad_get_xml_type(AgsPlugin *plugin);
+void ags_drum_output_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+
+void ags_drum_output_pad_set_channel(AgsPad *pad, AgsChannel *channel);
+void ags_drum_output_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+/**
+ * SECTION:ags_drum_output_pad
+ * @short_description: drum sequencer output pad
+ * @title: AgsDrumOutputPad
+ * @section_id:
+ * @include: ags/X/machine/ags_drum_output_pad.h
+ *
+ * The #AgsDrumOutputPad is a composite widget to act as drum sequencer output pad.
+ */
+
+static gpointer ags_drum_output_pad_parent_class = NULL;
+static AgsConnectableInterface *ags_drum_output_pad_parent_connectable_interface;
+
+GType
+ags_drum_output_pad_get_type()
+{
+ static GType ags_type_drum_output_pad = 0;
+
+ if(!ags_type_drum_output_pad){
+ static const GTypeInfo ags_drum_output_pad_info = {
+ sizeof(AgsDrumOutputPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_drum_output_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsDrumOutputPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_drum_output_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_drum_output_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_drum_output_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_drum_output_pad = g_type_register_static(AGS_TYPE_PAD,
+ "AgsDrumOutputPad\0", &ags_drum_output_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_drum_output_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_drum_output_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_drum_output_pad);
+}
+
+void
+ags_drum_output_pad_class_init(AgsDrumOutputPadClass *drum_output_pad)
+{
+ GObjectClass *gobject;
+ AgsPadClass *pad;
+
+ ags_drum_output_pad_parent_class = g_type_class_peek_parent(drum_output_pad);
+
+ /* AgsPadClass */
+ pad = (AgsPadClass *) drum_output_pad;
+
+ pad->set_channel = ags_drum_output_pad_set_channel;
+ pad->resize_lines = ags_drum_output_pad_resize_lines;
+}
+
+void
+ags_drum_output_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_drum_output_pad_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_drum_output_pad_connect;
+ connectable->disconnect = ags_drum_output_pad_disconnect;
+}
+
+void
+ags_drum_output_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_drum_output_pad_get_name;
+ plugin->set_name = ags_drum_output_pad_set_name;
+ plugin->get_xml_type = ags_drum_output_pad_get_xml_type;
+ plugin->set_xml_type = ags_drum_output_pad_set_xml_type;
+}
+
+void
+ags_drum_output_pad_init(AgsDrumOutputPad *drum_output_pad)
+{
+ drum_output_pad->flags = 0;
+
+ drum_output_pad->xml_type = "ags-drum-output-pad\0";
+}
+
+void
+ags_drum_output_pad_connect(AgsConnectable *connectable)
+{
+ AgsDrumOutputPad *drum_output_pad;
+
+ drum_output_pad = AGS_DRUM_OUTPUT_PAD(connectable);
+
+ if((AGS_PAD_CONNECTED & (AGS_PAD(drum_output_pad)->flags)) != 0){
+ return;
+ }
+
+ ags_drum_output_pad_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_drum_output_pad_disconnect(AgsConnectable *connectable)
+{
+ ags_drum_output_pad_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+gchar*
+ags_drum_output_pad_get_name(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_OUTPUT_PAD(plugin)->name);
+}
+
+void
+ags_drum_output_pad_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_DRUM_OUTPUT_PAD(plugin)->name = name;
+}
+
+gchar*
+ags_drum_output_pad_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_DRUM_OUTPUT_PAD(plugin)->xml_type);
+}
+
+void
+ags_drum_output_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_DRUM_OUTPUT_PAD(plugin)->xml_type = xml_type;
+}
+
+void
+ags_drum_output_pad_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_drum_output_pad_set_channel(AgsPad *pad, AgsChannel *channel)
+{
+ AGS_PAD_CLASS(ags_drum_output_pad_parent_class)->set_channel(pad, channel);
+
+ /* empty */
+}
+
+void
+ags_drum_output_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ AGS_PAD_CLASS(ags_drum_output_pad_parent_class)->resize_lines(pad, line_type,
+ audio_channels, audio_channels_old);
+
+ /* empty */
+}
+
+/**
+ * ags_drum_output_pad_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsDrumOutputPad
+ *
+ * Returns: a new #AgsDrumOutputPad
+ *
+ * Since: 0.4
+ */
+AgsDrumOutputPad*
+ags_drum_output_pad_new(AgsChannel *channel)
+{
+ AgsDrumOutputPad *drum_output_pad;
+
+ drum_output_pad = (AgsDrumOutputPad *) g_object_new(AGS_TYPE_DRUM_OUTPUT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(drum_output_pad);
+}
diff --git a/src/ags/X/machine/ags_drum_output_pad.h b/src/ags/X/machine/ags_drum_output_pad.h
new file mode 100644
index 0000000..e397fee
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_pad.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_OUTPUT_PAD_H__
+#define __AGS_DRUM_OUTPUT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_pad.h>
+
+#define AGS_TYPE_DRUM_OUTPUT_PAD (ags_drum_output_pad_get_type())
+#define AGS_DRUM_OUTPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DRUM_OUTPUT_PAD, AgsDrumOutputPad))
+#define AGS_DRUM_OUTPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DRUM_OUTPUT_PAD, AgsDrumOutputPadClass))
+#define AGS_IS_DRUM_OUTPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DRUM_OUTPUT_PAD))
+#define AGS_IS_DRUM_OUTPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DRUM_OUTPUT_PAD))
+#define AGS_DRUM_OUTPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DRUM_OUTPUT_PAD, AgsDrumOutputPadClass))
+
+typedef struct _AgsDrumOutputPad AgsDrumOutputPad;
+typedef struct _AgsDrumOutputPadClass AgsDrumOutputPadClass;
+
+typedef enum{
+ AGS_DRUM_OUTPUT_PAD_PLAY_DONE = 1,
+}AgsDrumOutputPadFlags;
+
+struct _AgsDrumOutputPad
+{
+ AgsPad pad;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+};
+
+struct _AgsDrumOutputPadClass
+{
+ AgsPadClass pad;
+};
+
+GType ags_drum_output_pad_get_type();
+
+AgsDrumOutputPad* ags_drum_output_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_DRUM_OUTPUT_PAD_H__*/
diff --git a/src/ags/X/machine/ags_drum_output_pad_callbacks.c b/src/ags/X/machine/ags_drum_output_pad_callbacks.c
new file mode 100644
index 0000000..a210b7e
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_pad_callbacks.c
@@ -0,0 +1,44 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_drum_output_pad_callbacks.h>
+
+#include <ags/X/machine/ags_drum.h>
+
+void
+ags_drum_output_pad_play_done(AgsRecall *recall, AgsRecallID *recall_id, AgsDrumOutputPad *drum_output_pad)
+{
+ AgsDrum *drum;
+
+ drum = (AgsDrum *) gtk_widget_get_ancestor((GtkWidget *) drum_output_pad, AGS_TYPE_DRUM);
+
+ /*
+ drum->play_ref++;
+
+ if(drum->play_ref == drum->machine.audio->output_lines){
+ drum->play_ref = 0;
+ drum->machine.audio->devout_play->flags |= AGS_DEVOUT_PLAY_DONE;
+ gtk_toggle_button_set_active(drum->run, FALSE);
+ }
+ */
+}
+
+void
+ags_drum_output_pad_play_cancel(AgsRecall *recall, AgsRecallID *recall_id, AgsDrumOutputPad *drum_output_pad)
+{
+}
diff --git a/src/ags/X/machine/ags_drum_output_pad_callbacks.h b/src/ags/X/machine/ags_drum_output_pad_callbacks.h
new file mode 100644
index 0000000..00f13a5
--- /dev/null
+++ b/src/ags/X/machine/ags_drum_output_pad_callbacks.h
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DRUM_OUTPUT_PAD_CALLBACKS_H__
+#define __AGS_DRUM_OUTPUT_PAD_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_drum_output_pad.h>
+
+void ags_drum_output_pad_play_done(AgsRecall *recall, AgsRecallID *recall_id, AgsDrumOutputPad *drum_output_pad);
+void ags_drum_output_pad_play_cancel(AgsRecall *recall, AgsRecallID *recall_id, AgsDrumOutputPad *drum_output_pad);
+
+#endif /*__AGS_DRUM_OUTPUT_PAD_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer.c b/src/ags/X/machine/ags_ffplayer.c
new file mode 100644
index 0000000..dc5acc4
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer.c
@@ -0,0 +1,1172 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer.h>
+#include <ags/X/machine/ags_ffplayer_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_playable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+#include <ags/file/ags_file_gui.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+#include <ags/audio/file/ags_ipatch_sf2_reader.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_copy_channel.h>
+#include <ags/audio/recall/ags_copy_channel_run.h>
+#include <ags/audio/recall/ags_stream_channel.h>
+#include <ags/audio/recall/ags_stream_channel_run.h>
+#include <ags/audio/recall/ags_buffer_channel.h>
+#include <ags/audio/recall/ags_buffer_channel_run.h>
+#include <ags/audio/recall/ags_play_notation_audio.h>
+#include <ags/audio/recall/ags_play_notation_audio_run.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <ags/X/machine/ags_ffplayer_bridge.h>
+
+#include <math.h>
+
+void ags_ffplayer_class_init(AgsFFPlayerClass *ffplayer);
+void ags_ffplayer_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ffplayer_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_ffplayer_init(AgsFFPlayer *ffplayer);
+void ags_ffplayer_connect(AgsConnectable *connectable);
+void ags_ffplayer_disconnect(AgsConnectable *connectable);
+void ags_ffplayer_finalize(GObject *gobject);
+void ags_ffplayer_show(GtkWidget *widget);
+void ags_ffplayer_map_recall(AgsMachine *machine);
+gchar* ags_ffplayer_get_name(AgsPlugin *plugin);
+void ags_ffplayer_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_ffplayer_get_xml_type(AgsPlugin *plugin);
+void ags_ffplayer_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_ffplayer_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+void ags_ffplayer_resolve_filename(AgsFileLookup *lookup, AgsFFPlayer *ffplayer);
+void ags_ffplayer_launch_task(AgsFileLaunch *file_launch, AgsFFPlayer *ffplayer);
+xmlNode* ags_ffplayer_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+void ags_ffplayer_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+
+void ags_ffplayer_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data);
+void ags_ffplayer_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data);
+
+void ags_ffplayer_output_map_recall(AgsFFPlayer *ffplayer, guint output_pad_start);
+void ags_ffplayer_input_map_recall(AgsFFPlayer *ffplayer, guint input_pad_start);
+void ags_ffplayer_paint(AgsFFPlayer *ffplayer);
+
+/**
+ * SECTION:ags_ffplayer
+ * @short_description: ffplayer notation
+ * @title: AgsFFPlayer
+ * @section_id:
+ * @include: ags/X/machine/ags_ffplayer.h
+ *
+ * The #AgsFFPlayer is a composite widget to act as soundfont2 notation player.
+ */
+
+static gpointer ags_ffplayer_parent_class = NULL;
+static AgsConnectableInterface *ags_ffplayer_parent_connectable_interface;
+
+GtkStyle *ffplayer_style;
+
+GType
+ags_ffplayer_get_type(void)
+{
+ static GType ags_type_ffplayer = 0;
+
+ if(!ags_type_ffplayer){
+ static const GTypeInfo ags_ffplayer_info = {
+ sizeof(AgsFFPlayerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ffplayer_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsFFPlayer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ffplayer_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ffplayer = g_type_register_static(AGS_TYPE_MACHINE,
+ "AgsFFPlayer\0", &ags_ffplayer_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ffplayer,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ffplayer,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_ffplayer);
+}
+
+void
+ags_ffplayer_class_init(AgsFFPlayerClass *ffplayer)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsMachineClass *machine;
+
+ ags_ffplayer_parent_class = g_type_class_peek_parent(ffplayer);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ffplayer;
+
+ gobject->finalize = ags_ffplayer_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) ffplayer;
+
+ widget->show = ags_ffplayer_show;
+
+ /* AgsMachineClass */
+ machine = (AgsMachineClass *) ffplayer;
+
+ machine->map_recall = ags_ffplayer_map_recall;
+}
+
+void
+ags_ffplayer_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_ffplayer_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_ffplayer_connect;
+}
+
+void
+ags_ffplayer_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_ffplayer_get_name;
+ plugin->set_name = ags_ffplayer_set_name;
+ plugin->get_xml_type = ags_ffplayer_get_xml_type;
+ plugin->set_xml_type = ags_ffplayer_set_xml_type;
+ plugin->read = ags_ffplayer_read;
+ plugin->write = ags_ffplayer_write;
+}
+
+void
+ags_ffplayer_init(AgsFFPlayer *ffplayer)
+{
+ AgsAudio *audio;
+ GtkTable *table;
+ GtkHScrollbar *hscrollbar;
+ GtkVBox *vbox;
+ GtkHBox *hbox;
+ GtkLabel *label;
+ PangoAttrList *attr_list;
+ PangoAttribute *attr;
+
+ g_signal_connect_after((GObject *) ffplayer, "parent_set\0",
+ G_CALLBACK(ags_ffplayer_parent_set_callback), (gpointer) ffplayer);
+
+ audio = AGS_MACHINE(ffplayer)->audio;
+ audio->flags |= (AGS_AUDIO_OUTPUT_HAS_RECYCLING |
+ AGS_AUDIO_INPUT_HAS_RECYCLING |
+ AGS_AUDIO_INPUT_TAKES_FILE |
+ AGS_AUDIO_SYNC |
+ AGS_AUDIO_ASYNC |
+ AGS_AUDIO_HAS_NOTATION |
+ AGS_AUDIO_NOTATION_DEFAULT);
+
+ AGS_MACHINE(ffplayer)->flags |= AGS_MACHINE_IS_SYNTHESIZER;
+ AGS_MACHINE(ffplayer)->file_input_flags |= AGS_MACHINE_ACCEPT_SOUNDFONT2;
+
+ AGS_MACHINE(ffplayer)->input_pad_type = G_TYPE_NONE;
+ AGS_MACHINE(ffplayer)->input_line_type = G_TYPE_NONE;
+ AGS_MACHINE(ffplayer)->output_pad_type = G_TYPE_NONE;
+ AGS_MACHINE(ffplayer)->output_line_type = G_TYPE_NONE;
+
+ g_signal_connect_after(G_OBJECT(ffplayer->machine.audio), "set_audio_channels\0",
+ G_CALLBACK(ags_ffplayer_set_audio_channels), NULL);
+
+ g_signal_connect_after(G_OBJECT(ffplayer->machine.audio), "set_pads\0",
+ G_CALLBACK(ags_ffplayer_set_pads), NULL);
+
+ ffplayer->mapped_input_pad = 0;
+ ffplayer->mapped_output_pad = 0;
+
+ ffplayer->name = NULL;
+ ffplayer->xml_type = "ags-ffplayer\0";
+
+ /* create widgets */
+ table = (GtkTable *) gtk_table_new(4, 3, FALSE);
+ gtk_container_add((GtkContainer *) (gtk_bin_get_child((GtkBin *) ffplayer)), (GtkWidget *) table);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_table_attach(table,
+ GTK_WIDGET(hbox),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "preset\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ ffplayer->preset = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(ffplayer->preset),
+ TRUE, FALSE,
+ 0);
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "instrument\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(label),
+ FALSE, FALSE,
+ 0);
+
+ ffplayer->instrument = (GtkComboBoxText *) gtk_combo_box_text_new();
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(ffplayer->instrument),
+ TRUE, FALSE,
+ 0);
+
+ ffplayer->open = (GtkButton *) g_object_new(GTK_TYPE_BUTTON,
+ "label\0", GTK_STOCK_OPEN,
+ "use-stock\0", TRUE,
+ NULL);
+ gtk_box_pack_start(GTK_BOX(hbox),
+ GTK_WIDGET(ffplayer->open),
+ FALSE, FALSE,
+ 0);
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 2);
+ gtk_table_attach(table, (GtkWidget *) vbox,
+ 1, 2,
+ 0, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ ffplayer->control_width = 12;
+ ffplayer->control_height = 40;
+
+ ffplayer->drawing_area = (GtkDrawingArea *) gtk_drawing_area_new();
+ gtk_widget_set_size_request((GtkWidget *) ffplayer->drawing_area, 16 * ffplayer->control_width, ffplayer->control_width * 8 + ffplayer->control_height);
+ gtk_widget_set_style((GtkWidget *) ffplayer->drawing_area, ffplayer_style);
+ gtk_widget_set_events ((GtkWidget *) ffplayer->drawing_area,
+ GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_POINTER_MOTION_MASK
+ | GDK_POINTER_MOTION_HINT_MASK);
+ gtk_box_pack_start((GtkBox *) vbox, (GtkWidget *) ffplayer->drawing_area, FALSE, FALSE, 0);
+
+ ffplayer->hadjustment = (GtkAdjustment *) gtk_adjustment_new(0.0,
+ 0.0,
+ 76 * ffplayer->control_width - GTK_WIDGET(ffplayer->drawing_area)->allocation.width,
+ 1.0,
+ (double) ffplayer->control_width,
+ (double) (16 * ffplayer->control_width));
+ hscrollbar = (GtkHScrollbar *) gtk_hscrollbar_new(ffplayer->hadjustment);
+ gtk_widget_set_style((GtkWidget *) hscrollbar, ffplayer_style);
+ gtk_box_pack_start((GtkBox *) vbox, (GtkWidget *) hscrollbar, FALSE, FALSE, 0);
+
+ /* effect bridge */
+ AGS_MACHINE(ffplayer)->bridge = ags_ffplayer_bridge_new(audio);
+ gtk_table_attach(table,
+ (GtkWidget *) AGS_MACHINE(ffplayer)->bridge,
+ 2, 3,
+ 0, 4,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ g_object_set(AGS_MACHINE(ffplayer)->bridge,
+ "audio\0", AGS_MACHINE(ffplayer)->audio,
+ NULL);
+}
+
+void
+ags_ffplayer_map_recall(AgsMachine *machine)
+{
+ AgsAudio *audio;
+
+ AgsDelayAudio *play_delay_audio;
+ AgsDelayAudioRun *play_delay_audio_run;
+ AgsCountBeatsAudio *play_count_beats_audio;
+ AgsCountBeatsAudioRun *play_count_beats_audio_run;
+ AgsPlayNotationAudio *recall_notation_audio;
+ AgsPlayNotationAudioRun *recall_notation_audio_run;
+
+ GList *list;
+
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) != 0 ||
+ (AGS_MACHINE_PREMAPPED_RECALL & (machine->flags)) != 0){
+ return;
+ }
+
+ audio = machine->audio;
+
+ AGS_MACHINE_CLASS(ags_ffplayer_parent_class)->map_recall(machine);
+
+ /* ags-delay */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-delay\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_PLAY),
+ 0);
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_DELAY_AUDIO_RUN);
+
+ if(list != NULL){
+ play_delay_audio_run = AGS_DELAY_AUDIO_RUN(list->data);
+ // AGS_RECALL(play_delay_audio_run)->flags |= AGS_RECALL_PERSISTENT;
+ }
+
+ /* ags-count-beats */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-count-beats\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_PLAY),
+ 0);
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_COUNT_BEATS_AUDIO_RUN);
+
+ if(list != NULL){
+ GValue value = {0,};
+
+ play_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+
+ /* set dependency */
+ g_object_set(G_OBJECT(play_count_beats_audio_run),
+ "delay-audio-run\0", play_delay_audio_run,
+ NULL);
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, TRUE);
+ ags_port_safe_write(AGS_COUNT_BEATS_AUDIO(AGS_RECALL_AUDIO_RUN(play_count_beats_audio_run)->recall_audio)->loop,
+ &value);
+ }
+
+ /* ags-play-notation */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-play-notation\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_RECALL),
+ 0);
+
+ list = ags_recall_find_type(audio->recall, AGS_TYPE_PLAY_NOTATION_AUDIO_RUN);
+
+ if(list != NULL){
+ recall_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(list->data);
+
+ /* set dependency */
+ g_object_set(G_OBJECT(recall_notation_audio_run),
+ "delay-audio-run\0", play_delay_audio_run,
+ NULL);
+
+ /* set dependency */
+ g_object_set(G_OBJECT(recall_notation_audio_run),
+ "count-beats-audio-run\0", play_count_beats_audio_run,
+ NULL);
+ }
+
+}
+
+void
+ags_ffplayer_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_ffplayer_parent_class)->finalize(gobject);
+}
+
+void
+ags_ffplayer_connect(AgsConnectable *connectable)
+{
+ AgsWindow *window;
+ AgsFFPlayer *ffplayer;
+ GList *list;
+
+ if((AGS_MACHINE_CONNECTED & (AGS_MACHINE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_ffplayer_parent_connectable_interface->connect(connectable);
+
+ /* AgsFFPlayer */
+ ffplayer = AGS_FFPLAYER(connectable);
+ window = gtk_widget_get_toplevel(ffplayer);
+
+ g_signal_connect((GObject *) ffplayer->open, "clicked\0",
+ G_CALLBACK(ags_ffplayer_open_clicked_callback), (gpointer) ffplayer);
+
+ g_signal_connect_after((GObject *) ffplayer->preset, "changed\0",
+ G_CALLBACK(ags_ffplayer_preset_changed_callback), (gpointer) ffplayer);
+
+ g_signal_connect_after((GObject *) ffplayer->instrument, "changed\0",
+ G_CALLBACK(ags_ffplayer_instrument_changed_callback), (gpointer) ffplayer);
+
+
+ g_signal_connect((GObject *) ffplayer->drawing_area, "expose_event\0",
+ G_CALLBACK(ags_ffplayer_drawing_area_expose_callback), (gpointer) ffplayer);
+
+ g_signal_connect((GObject *) ffplayer->drawing_area, "button_press_event\0",
+ G_CALLBACK(ags_ffplayer_drawing_area_button_press_callback), (gpointer) ffplayer);
+
+ g_signal_connect((GObject *) ffplayer->hadjustment, "value_changed\0",
+ G_CALLBACK(ags_ffplayer_hscrollbar_value_changed), (gpointer) ffplayer);
+
+ /* AgsAudio */
+ //TODO:JK: magnify it
+ if(!gtk_toggle_button_get_active(window->navigation->loop)){
+ GList *list;
+
+ list = ags_recall_find_type(ffplayer->machine.audio->play, AGS_TYPE_COUNT_BEATS_AUDIO_RUN);
+
+ if(list != NULL){
+ AgsCountBeatsAudioRun *play_count_beats_audio_run;
+ GValue value = {0,};
+
+ play_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, FALSE);
+ ags_port_safe_write(AGS_COUNT_BEATS_AUDIO(AGS_RECALL_AUDIO_RUN(play_count_beats_audio_run)->recall_audio)->loop,
+ &value);
+ }
+ }
+}
+
+void
+ags_ffplayer_disconnect(AgsConnectable *connectable)
+{
+ ags_ffplayer_parent_connectable_interface->disconnect(connectable);
+
+ //TODO:JK
+ /* implement me */
+}
+
+void
+ags_ffplayer_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_ffplayer_parent_class)->show(widget);
+}
+
+gchar*
+ags_ffplayer_get_name(AgsPlugin *plugin)
+{
+ return(AGS_FFPLAYER(plugin)->name);
+}
+
+void
+ags_ffplayer_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_FFPLAYER(plugin)->name = name;
+}
+
+gchar*
+ags_ffplayer_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_FFPLAYER(plugin)->xml_type);
+}
+
+void
+ags_ffplayer_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_FFPLAYER(plugin)->xml_type = xml_type;
+}
+
+void
+ags_ffplayer_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsFFPlayer *gobject;
+ AgsFileLookup *file_lookup;
+ AgsFileLaunch *file_launch;
+ GList *list;
+
+ gobject = AGS_FFPLAYER(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ list = file->lookup;
+
+ while((file_lookup = ags_file_lookup_find_by_node(list,
+ node->parent)) != NULL){
+ if(g_signal_handler_find(list->data,
+ G_SIGNAL_MATCH_FUNC,
+ 0,
+ 0,
+ NULL,
+ ags_file_read_machine_resolve_audio,
+ NULL) != 0){
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_ffplayer_read_resolve_audio), gobject);
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ file_launch = g_object_new(AGS_TYPE_FILE_LAUNCH,
+ "node\0", node,
+ NULL);
+ g_signal_connect(G_OBJECT(file_launch), "start\0",
+ G_CALLBACK(ags_ffplayer_launch_task), gobject);
+ ags_file_add_launch(file,
+ file_launch);
+}
+
+void
+ags_ffplayer_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsFFPlayer *ffplayer;
+ GList *pad, *pad_start, *line, *line_start;
+
+ ffplayer = AGS_FFPLAYER(machine);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_ffplayer_set_audio_channels), ffplayer);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_ffplayer_set_pads), ffplayer);
+}
+
+xmlNode*
+ags_ffplayer_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsFFPlayer *ffplayer;
+ xmlNode *node;
+ gchar *id;
+
+ ffplayer = AGS_FFPLAYER(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-ffplayer\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", ffplayer,
+ NULL));
+
+ if(ffplayer->ipatch != NULL && ffplayer->ipatch->filename != NULL){
+ xmlNewProp(node,
+ "filename\0",
+ g_strdup(ffplayer->ipatch->filename));
+
+ xmlNewProp(node,
+ "preset\0",
+ g_strdup(gtk_combo_box_text_get_active_text((GtkComboBoxText *) ffplayer->preset)));
+
+ xmlNewProp(node,
+ "instrument\0",
+ g_strdup(gtk_combo_box_text_get_active_text((GtkComboBoxText *) ffplayer->instrument)));
+ }
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_ffplayer_launch_task(AgsFileLaunch *file_launch, AgsFFPlayer *ffplayer)
+{
+ AgsWindow *window;
+ AgsFFPlayer *gobject;
+ GtkTreeModel *list_store;
+ GtkTreeIter iter;
+ xmlNode *node;
+ gchar *filename;
+ gchar *preset, *instrument;
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(ffplayer)));
+ node = file_launch->node;
+
+ filename = xmlGetProp(node,
+ "filename\0");
+
+ if(g_str_has_suffix(filename, ".sf2\0")){
+ AgsIpatch *ipatch;
+ AgsPlayable *playable;
+ gchar **preset, **instrument;
+ GError *error;
+
+ /* clear preset, instrument and sample*/
+ ags_combo_box_text_remove_all(ffplayer->instrument);
+
+ /* Ipatch related */
+ ffplayer->ipatch =
+ ipatch = g_object_new(AGS_TYPE_IPATCH,
+ "mode\0", AGS_IPATCH_READ,
+ "filename\0", filename,
+ NULL);
+ ipatch->devout = window->devout;
+ ags_ipatch_open(ipatch, filename);
+
+ playable = AGS_PLAYABLE(ipatch);
+
+ ags_playable_open(playable, filename);
+
+ error = NULL;
+ ipatch->nth_level = 0;
+ ags_playable_level_select(playable,
+ 0, filename,
+ &error);
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+
+ /* select first preset */
+ ipatch->nth_level = 1;
+ preset = ags_playable_sublevel_names(playable);
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 1, *preset,
+ &error);
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+
+ /* fill ffplayer->preset */
+ while(*preset != NULL){
+ gtk_combo_box_text_append_text(ffplayer->preset,
+ *preset);
+
+ preset++;
+ }
+
+ /* Get the first iter in the list */
+ preset = xmlGetProp(node,
+ "preset\0");
+
+ list_store = gtk_combo_box_get_model(ffplayer->preset);
+
+ if(gtk_tree_model_get_iter_first(list_store, &iter)){
+ do{
+ gchar *str;
+
+ gtk_tree_model_get(list_store, &iter,
+ 0, &str,
+ -1);
+ if(!g_strcmp0(preset,
+ str)){
+ break;
+ }
+ }while(gtk_tree_model_iter_next(list_store, &iter));
+
+ gtk_combo_box_set_active_iter(GTK_COMBO_BOX(ffplayer->preset),
+ &iter);
+ }
+
+ /* select first instrument */
+ ipatch->nth_level = 2;
+ instrument = ags_playable_sublevel_names(playable);
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 2, *instrument,
+ &error);
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+
+ /* fill ffplayer->instrument */
+ while(*instrument != NULL){
+ gtk_combo_box_text_append_text(ffplayer->instrument,
+ *instrument);
+
+ instrument++;
+ }
+
+ /* Get the first iter in the list */
+ instrument = xmlGetProp(node,
+ "instrument\0");
+
+ list_store = gtk_combo_box_get_model(ffplayer->instrument);
+
+ if(gtk_tree_model_get_iter_first(list_store, &iter)){
+ do{
+ gchar *str;
+
+ gtk_tree_model_get(list_store, &iter,
+ 0, &str,
+ -1);
+
+ if(!g_strcmp0(instrument,
+ str)){
+ break;
+ }
+ }while(gtk_tree_model_iter_next(list_store, &iter));
+
+ gtk_combo_box_set_active_iter(GTK_COMBO_BOX(ffplayer->instrument),
+ &iter);
+ }
+ }
+}
+
+void
+ags_ffplayer_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data)
+{
+ AgsFFPlayer *ffplayer;
+ gboolean grow;
+
+ ffplayer = AGS_FFPLAYER(audio->machine);
+
+ if(audio_channels_old == audio_channels){
+ return;
+ }
+
+ if(audio_channels_old < audio_channels){
+ grow = TRUE;
+ }else{
+ grow = FALSE;
+ }
+
+ if(grow){
+ /* ags-play-notation */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-play-notation\0",
+ audio_channels_old, audio_channels,
+ 0, 0,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_REMAP |
+ AGS_RECALL_FACTORY_RECALL),
+ 0);
+ }
+}
+
+void
+ags_ffplayer_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data)
+{
+ AgsFFPlayer *ffplayer;
+ gboolean grow;
+
+ ffplayer = AGS_FFPLAYER(audio->machine);
+
+ if(pads_old == pads){
+ return;
+ }
+
+ if(pads_old == pads)
+ return;
+ if(pads_old < pads)
+ grow = TRUE;
+ else
+ grow = FALSE;
+
+ if(type == AGS_TYPE_INPUT){
+ AgsPlayNotationAudio *play_notation;
+ GList *list;
+
+ if(grow){
+ /* ags-play-notation */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-play-notation\0",
+ 0, audio->audio_channels,
+ pads_old, pads,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_REMAP |
+ AGS_RECALL_FACTORY_RECALL),
+ 0);
+
+ /* set notation for AgsPlayNotationAudioRun recall */
+ list = audio->recall;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_PLAY_NOTATION_AUDIO)) != NULL){
+
+ GValue value = {0,};
+
+ play_notation = AGS_PLAY_NOTATION_AUDIO(list->data);
+
+ g_value_init(&value, G_TYPE_POINTER);
+ g_value_set_pointer(&value,
+ audio->notation);
+
+ ags_port_safe_write(play_notation->notation,
+ &value);
+
+ list = list->next;
+ }
+
+ /* depending on destination */
+ ags_ffplayer_input_map_recall(ffplayer, pads_old);
+ }else{
+ ffplayer->mapped_input_pad = audio->input_pads;
+ }
+ }else{
+ if(grow){
+ /* depending on destination */
+ ags_ffplayer_output_map_recall(ffplayer, pads_old);
+ }else{
+ ffplayer->mapped_output_pad = audio->output_pads;
+ }
+ }
+}
+
+void
+ags_ffplayer_input_map_recall(AgsFFPlayer *ffplayer, guint input_pad_start)
+{
+ AgsAudio *audio;
+ AgsChannel *source, *current, *destination;
+ AgsBufferChannel *buffer_channel;
+ AgsBufferChannelRun *buffer_channel_run;
+
+ GList *list;
+
+ audio = AGS_MACHINE(ffplayer)->audio;
+
+ if(ffplayer->mapped_input_pad > input_pad_start){
+ return;
+ }else{
+ ffplayer->mapped_input_pad = audio->input_pads;
+ }
+
+ source = ags_channel_nth(audio->input,
+ input_pad_start * audio->audio_channels);
+
+ current = source;
+
+ while(current != NULL){
+ /* ags-buffer */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-buffer\0",
+ current->audio_channel, current->audio_channel + 1,
+ current->pad, current->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ destination = ags_channel_nth(audio->output,
+ current->audio_channel);
+
+ while(destination != NULL){
+ /* recall */
+ list = current->recall;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_BUFFER_CHANNEL)) != NULL){
+ buffer_channel = AGS_BUFFER_CHANNEL(list->data);
+
+ g_object_set(G_OBJECT(buffer_channel),
+ "destination\0", destination,
+ NULL);
+
+ list = list->next;
+ }
+
+ list = current->recall;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_BUFFER_CHANNEL_RUN)) != NULL){
+ buffer_channel_run = AGS_BUFFER_CHANNEL_RUN(list->data);
+
+ g_object_set(G_OBJECT(buffer_channel_run),
+ "destination\0", destination,
+ NULL);
+
+ list = list->next;
+ }
+
+ destination = destination->next_pad;
+ }
+
+ /* ags-stream */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-stream\0",
+ current->audio_channel, current->audio_channel + 1,
+ current->pad, current->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ current = current->next_pad;
+ }
+}
+
+void
+ags_ffplayer_output_map_recall(AgsFFPlayer *ffplayer, guint output_pad_start)
+{
+ AgsAudio *audio;
+ AgsChannel *source;
+
+ audio = AGS_MACHINE(ffplayer)->audio;
+
+ if(ffplayer->mapped_output_pad > output_pad_start){
+ return;
+ }else{
+ ffplayer->mapped_output_pad = audio->output_pads;
+ }
+
+ source = ags_channel_nth(audio->output,
+ output_pad_start * audio->audio_channels);
+
+ /* ags-stream */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-stream\0",
+ source->audio_channel, source->audio_channel + 1,
+ output_pad_start, audio->output_pads,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+}
+
+void
+ags_ffplayer_paint(AgsFFPlayer *ffplayer)
+{
+ GtkWidget *widget;
+ cairo_t *cr;
+ double semi_key_height;
+ guint bitmap;
+ guint x[2];
+ guint i, i_stop, j, j0;
+
+ widget = (GtkWidget *) ffplayer->drawing_area;
+
+ semi_key_height = 2.0 / 3.0 * (double) ffplayer->control_height;
+ bitmap = 0x52a52a; // description of the keyboard
+
+ j = (guint) ceil(ffplayer->hadjustment->value / (double) ffplayer->control_width);
+ j = j % 12;
+
+ x[0] = (guint) round(ffplayer->hadjustment->value) % ffplayer->control_width;
+
+ if(x[0] != 0){
+ x[0] = ffplayer->control_width - x[0];
+ }
+
+ x[1] = ((guint) widget->allocation.width - x[0]) % ffplayer->control_width;
+ i_stop = (widget->allocation.width - x[0] - x[1]) / ffplayer->control_width;
+
+ cr = gdk_cairo_create(widget->window);
+
+ cairo_set_source_rgb(cr, 0.015625, 0.03125, 0.21875);
+ cairo_rectangle(cr, 0.0, 0.0, (double) widget->allocation.width, (double) widget->allocation.height);
+ cairo_fill(cr);
+
+ cairo_set_line_width(cr, 1.0);
+ cairo_set_source_rgb(cr, 0.75, 0.75, 0.75);
+
+ if(x[0] != 0){
+ j0 = (j != 0) ? j -1: 11;
+
+ if(((1 << j0) & bitmap) != 0){
+ cairo_set_source_rgb(cr, 0.5, 0.5, 1.0);
+
+ cairo_rectangle(cr, 0.0, 0.0, x[0], (double) semi_key_height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.75, 0.75, 0.75);
+
+ if(x[0] > ffplayer->control_width / 2){
+ cairo_move_to(cr, (double) (x[0] - ffplayer->control_width / 2), semi_key_height);
+ cairo_line_to(cr, (double) (x[0] - ffplayer->control_width / 2), (double) ffplayer->control_height);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, 0.0, ffplayer->control_height);
+ cairo_line_to(cr, (double) x[0], ffplayer->control_height);
+ cairo_stroke(cr);
+ }else{
+ if(((1 << (j0 + 1)) & bitmap) == 0){
+ cairo_move_to(cr, (double) x[0], 0.0);
+ cairo_line_to(cr, (double) x[0], ffplayer->control_height);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, 0.0, ffplayer->control_height);
+ cairo_line_to(cr, (double) x[0], ffplayer->control_height);
+ cairo_stroke(cr);
+ }
+ }
+
+ for(i = 0; i < i_stop; i++){
+ if(((1 << j) & bitmap) != 0){
+ // draw semi tone key
+ cairo_set_source_rgb(cr, 0.5, 0.5, 1.0);
+
+ cairo_rectangle(cr, (double) (i * ffplayer->control_width + x[0]), 0.0, (double) ffplayer->control_width, semi_key_height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.75, 0.75, 0.75);
+
+ cairo_move_to(cr, (double) (i * ffplayer->control_width + x[0] + ffplayer->control_width / 2), semi_key_height);
+ cairo_line_to(cr, (double) (i * ffplayer->control_width + x[0] + ffplayer->control_width / 2), ffplayer->control_height);
+ cairo_stroke(cr);
+
+ cairo_move_to(cr, (double) (i * ffplayer->control_width + x[0]), ffplayer->control_height);
+ cairo_line_to(cr, (double) (i * ffplayer->control_width + x[0] + ffplayer->control_width), ffplayer->control_height);
+ cairo_stroke(cr);
+ }else{
+ // no semi tone key
+ if(((1 << (j + 1)) & bitmap) == 0){
+ cairo_move_to(cr, (double) (i * ffplayer->control_width + x[0] + ffplayer->control_width), 0.0);
+ cairo_line_to(cr, (double) (i * ffplayer->control_width + x[0] + ffplayer->control_width), ffplayer->control_height);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) (i * ffplayer->control_width + x[0]), ffplayer->control_height);
+ cairo_line_to(cr, (double) (i * ffplayer->control_width + x[0] + ffplayer->control_width), ffplayer->control_height);
+ cairo_stroke(cr);
+ }
+
+ if(j == 11)
+ j = 0;
+ else
+ j++;
+ }
+
+ if(x[1] != 0){
+ j0 = j;
+
+ if(((1 << j0) & bitmap) != 0){
+ cairo_set_source_rgb(cr, 0.5, 0.5, 1.0);
+
+ cairo_rectangle(cr, (double) (widget->allocation.width - x[1]), 0.0, (double) x[1], semi_key_height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgb(cr, 0.75, 0.75, 0.75);
+
+ if(x[1] > ffplayer->control_width / 2){
+ cairo_move_to(cr, (double) (widget->allocation.width - x[1] + ffplayer->control_width / 2), semi_key_height);
+ cairo_line_to(cr, (double) (widget->allocation.width - x[1] + ffplayer->control_width / 2), ffplayer->control_height);
+ cairo_stroke(cr);
+ }
+
+ cairo_move_to(cr, (double) (widget->allocation.width - x[1]), ffplayer->control_height);
+ cairo_line_to(cr, (double) widget->allocation.width, ffplayer->control_height);
+ cairo_stroke(cr);
+ }else{
+ cairo_move_to(cr, (double) (widget->allocation.width - x[1]), ffplayer->control_height);
+ cairo_line_to(cr, (double) widget->allocation.width, ffplayer->control_height);
+ cairo_stroke(cr);
+ }
+ }
+}
+
+/**
+ * ags_ffplayer_new:
+ * @devout: the assigned devout.
+ *
+ * Creates an #AgsFFPlayer
+ *
+ * Returns: a new #AgsFFPlayer
+ *
+ * Since: 0.3
+ */
+AgsFFPlayer*
+ags_ffplayer_new(GObject *devout)
+{
+ AgsFFPlayer *ffplayer;
+ GValue value = {0,};
+
+ ffplayer = (AgsFFPlayer *) g_object_new(AGS_TYPE_FFPLAYER,
+ NULL);
+
+ if(devout != NULL){
+ g_value_init(&value, G_TYPE_OBJECT);
+ g_value_set_object(&value, devout);
+ g_object_set_property(G_OBJECT(ffplayer->machine.audio),
+ "devout\0", &value);
+ g_value_unset(&value);
+ }
+
+ return(ffplayer);
+}
diff --git a/src/ags/X/machine/ags_ffplayer.h b/src/ags/X/machine/ags_ffplayer.h
new file mode 100644
index 0000000..30e271f
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer.h
@@ -0,0 +1,76 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_H__
+#define __AGS_FFPLAYER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <pango/pango.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#include <ags/audio/file/ags_ipatch.h>
+
+#define AGS_TYPE_FFPLAYER (ags_ffplayer_get_type())
+#define AGS_FFPLAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FFPLAYER, AgsFFPlayer))
+#define AGS_FFPLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FFPLAYER, AgsFFPlayerClass))
+#define AGS_IS_FFPLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FFPLAYER))
+#define AGS_IS_FFPLAYER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FFPLAYER))
+#define AGS_FFPLAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_FFPLAYER, AgsFFPlayerClass))
+
+typedef struct _AgsFFPlayer AgsFFPlayer;
+typedef struct _AgsFFPlayerClass AgsFFPlayerClass;
+
+struct _AgsFFPlayer
+{
+ AgsMachine machine;
+
+ guint mapped_output_pad;
+ guint mapped_input_pad;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkButton *open;
+
+ guint control_width;
+ guint control_height;
+
+ GtkDrawingArea *drawing_area;
+ GtkAdjustment *hadjustment;
+
+ AgsIpatch *ipatch;
+ GtkComboBoxText *preset;
+ GtkComboBoxText *instrument;
+};
+
+struct _AgsFFPlayerClass
+{
+ AgsMachineClass machine;
+};
+
+GType ags_ffplayer_get_type(void);
+
+void ags_ffplayer_paint(AgsFFPlayer *ffplayer);
+// char* ags_ffplayer_sound_string();
+
+AgsFFPlayer* ags_ffplayer_new(GObject *devout);
+
+#endif /*__AGS_FFPLAYER_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_bridge.c b/src/ags/X/machine/ags_ffplayer_bridge.c
new file mode 100644
index 0000000..9ec0df4
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bridge.c
@@ -0,0 +1,222 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_bridge.h>
+#include <ags/X/machine/ags_ffplayer_bridge_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+#include <ags/X/machine/ags_ffplayer_bulk_input.h>
+#include <ags/X/machine/ags_ffplayer_input_pad.h>
+#include <ags/X/machine/ags_ffplayer_input_line.h>
+
+void ags_ffplayer_bridge_class_init(AgsFFPlayerBridgeClass *ffplayer_bridge);
+void ags_ffplayer_bridge_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ffplayer_bridge_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_ffplayer_bridge_init(AgsFFPlayerBridge *ffplayer_bridge);
+void ags_ffplayer_bridge_connect(AgsConnectable *connectable);
+void ags_ffplayer_bridge_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_ffplayer_bridge
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsFFPlayerBridge
+ * @section_id:
+ * @include: ags/X/ags_ffplayer_bridge.h
+ *
+ * #AgsFFPlayerBridge is a composite widget to visualize all #AgsChannel. It should be
+ * packed by an #AgsMachine.
+ */
+
+static gpointer ags_ffplayer_bridge_parent_class = NULL;
+static AgsConnectableInterface *ags_ffplayer_bridge_parent_connectable_interface;
+
+GType
+ags_ffplayer_bridge_get_type(void)
+{
+ static GType ags_type_ffplayer_bridge = 0;
+
+ if(!ags_type_ffplayer_bridge){
+ static const GTypeInfo ags_ffplayer_bridge_info = {
+ sizeof(AgsFFPlayerBridgeClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ffplayer_bridge_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsFFPlayerBridge),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ffplayer_bridge_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_bridge_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_bridge_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ffplayer_bridge = g_type_register_static(AGS_TYPE_EFFECT_BRIDGE,
+ "AgsFFPlayerBridge\0", &ags_ffplayer_bridge_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ffplayer_bridge,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ffplayer_bridge,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_ffplayer_bridge);
+}
+
+void
+ags_ffplayer_bridge_class_init(AgsFFPlayerBridgeClass *ffplayer_bridge)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_ffplayer_bridge_parent_class = g_type_class_peek_parent(ffplayer_bridge);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(ffplayer_bridge);
+}
+
+void
+ags_ffplayer_bridge_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_ffplayer_bridge_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_ffplayer_bridge_connect;
+ connectable->disconnect = ags_ffplayer_bridge_disconnect;
+}
+
+void
+ags_ffplayer_bridge_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_ffplayer_bridge_init(AgsFFPlayerBridge *ffplayer_bridge)
+{
+ GtkFrame *frame;
+ GtkExpander *expander;
+ GtkTable *table;
+
+ AGS_EFFECT_BRIDGE(ffplayer_bridge)->input_pad_type = AGS_TYPE_FFPLAYER_INPUT_PAD;
+ AGS_EFFECT_BRIDGE(ffplayer_bridge)->input_line_type = AGS_TYPE_FFPLAYER_INPUT_LINE;
+
+ frame = (GtkFrame *) gtk_frame_new("input bridge\0");
+ gtk_box_pack_start(AGS_EFFECT_BRIDGE(ffplayer_bridge),
+ frame,
+ FALSE, FALSE,
+ 0);
+
+ expander = gtk_expander_new("show/hide\0");
+ gtk_container_add(frame,
+ expander);
+
+ table = (GtkTable *) gtk_table_new(1, 2, FALSE);
+ gtk_container_add(expander,
+ table);
+
+ AGS_EFFECT_BRIDGE(ffplayer_bridge)->bulk_input = (GtkWidget *) g_object_new(AGS_TYPE_FFPLAYER_BULK_INPUT,
+ NULL);
+ gtk_table_attach(table,
+ AGS_EFFECT_BRIDGE(ffplayer_bridge)->bulk_input,
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ AGS_EFFECT_BRIDGE(ffplayer_bridge)->input = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_table_attach(table,
+ AGS_EFFECT_BRIDGE(ffplayer_bridge)->input,
+ 1, 2,
+ 0, 1,
+ GTK_FILL|GTK_EXPAND, GTK_FILL|GTK_EXPAND,
+ 0, 0);
+}
+
+void
+ags_ffplayer_bridge_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (AGS_EFFECT_BRIDGE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_ffplayer_bridge_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_ffplayer_bridge_disconnect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (AGS_EFFECT_BRIDGE(connectable)->flags)) == 0){
+ return;
+ }
+
+ ags_ffplayer_bridge_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_ffplayer_bridge_new:
+ * @ffplayer_bridge: the parent ffplayer_bridge
+ * @audio: the #AgsAudio to visualize
+ *
+ * Creates an #AgsFFPlayerBridge
+ *
+ * Returns: a new #AgsFFPlayerBridge
+ *
+ * Since: 0.4
+ */
+AgsFFPlayerBridge*
+ags_ffplayer_bridge_new(AgsAudio *audio)
+{
+ AgsFFPlayerBridge *ffplayer_bridge;
+
+ ffplayer_bridge = (AgsFFPlayerBridge *) g_object_new(AGS_TYPE_FFPLAYER_BRIDGE,
+ "audio\0", audio,
+ NULL);
+
+ return(ffplayer_bridge);
+}
diff --git a/src/ags/X/machine/ags_ffplayer_bridge.h b/src/ags/X/machine/ags_ffplayer_bridge.h
new file mode 100644
index 0000000..f2de9a7
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bridge.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_BRIDGE_H__
+#define __AGS_FFPLAYER_BRIDGE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags/X/ags_effect_bridge.h>
+
+#define AGS_TYPE_FFPLAYER_BRIDGE (ags_ffplayer_bridge_get_type())
+#define AGS_FFPLAYER_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FFPLAYER_BRIDGE, AgsFFPlayerBridge))
+#define AGS_FFPLAYER_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FFPLAYER_BRIDGE, AgsFFPlayerBridgeClass))
+#define AGS_IS_FFPLAYER_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FFPLAYER_BRIDGE))
+#define AGS_IS_FFPLAYER_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FFPLAYER_BRIDGE))
+#define AGS_FFPLAYER_BRIDGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_FFPLAYER_BRIDGE, AgsFFPlayerBridgeClass))
+
+typedef struct _AgsFFPlayerBridge AgsFFPlayerBridge;
+typedef struct _AgsFFPlayerBridgeClass AgsFFPlayerBridgeClass;
+
+struct _AgsFFPlayerBridge
+{
+ AgsEffectBridge effect_bridge;
+};
+
+struct _AgsFFPlayerBridgeClass
+{
+ AgsEffectBridgeClass effect_bridge;
+};
+
+GType ags_ffplayer_bridge_get_type(void);
+
+AgsFFPlayerBridge* ags_ffplayer_bridge_new(AgsAudio *audio);
+
+#endif /*__AGS_FFPLAYER_BRIDGE_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_bridge_callbacks.c b/src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
new file mode 100644
index 0000000..053acdc
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bridge_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_bridge_callbacks.h>
diff --git a/src/ags/X/machine/ags_ffplayer_bridge_callbacks.h b/src/ags/X/machine/ags_ffplayer_bridge_callbacks.h
new file mode 100644
index 0000000..7e6c0b5
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bridge_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_BRIDGE_CALLBACKS_H__
+#define __AGS_FFPLAYER_BRIDGE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_ffplayer_bridge.h>
+
+#endif /*__AGS_FFPLAYER_BRIDGE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_bulk_input.c b/src/ags/X/machine/ags_ffplayer_bulk_input.c
new file mode 100644
index 0000000..751268e
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bulk_input.c
@@ -0,0 +1,179 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_bulk_input.h>
+#include <ags/X/machine/ags_ffplayer_bulk_input_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_ffplayer_bulk_input_class_init(AgsFFPlayerBulkInputClass *ffplayer_bulk_input);
+void ags_ffplayer_bulk_input_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ffplayer_bulk_input_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_ffplayer_bulk_input_init(AgsFFPlayerBulkInput *ffplayer_bulk_input);
+void ags_ffplayer_bulk_input_connect(AgsConnectable *connectable);
+void ags_ffplayer_bulk_input_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_ffplayer_bulk_input
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsFFPlayerBulkInput
+ * @section_id:
+ * @include: ags/X/ags_ffplayer_bulk_input.h
+ *
+ * #AgsFFPlayerBulkInput is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsFFPlayerBulkInput.
+ */
+
+static gpointer ags_ffplayer_bulk_input_parent_class = NULL;
+static AgsConnectableInterface *ags_ffplayer_bulk_input_parent_connectable_interface;
+
+GType
+ags_ffplayer_bulk_input_get_type(void)
+{
+ static GType ags_type_ffplayer_bulk_input = 0;
+
+ if(!ags_type_ffplayer_bulk_input){
+ static const GTypeInfo ags_ffplayer_bulk_input_info = {
+ sizeof(AgsFFPlayerBulkInputClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ffplayer_bulk_input_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsFFPlayerBulkInput),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ffplayer_bulk_input_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_bulk_input_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_bulk_input_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ffplayer_bulk_input = g_type_register_static(AGS_TYPE_EFFECT_BULK,
+ "AgsFFPlayerBulkInput\0", &ags_ffplayer_bulk_input_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ffplayer_bulk_input,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ffplayer_bulk_input,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_ffplayer_bulk_input);
+}
+
+void
+ags_ffplayer_bulk_input_class_init(AgsFFPlayerBulkInputClass *ffplayer_bulk_input)
+{
+ GObjectClass *gobject;
+
+ ags_ffplayer_bulk_input_parent_class = g_type_class_peek_parent(ffplayer_bulk_input);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ffplayer_bulk_input;
+}
+
+void
+ags_ffplayer_bulk_input_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_ffplayer_bulk_input_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_ffplayer_bulk_input_connect;
+ connectable->disconnect = ags_ffplayer_bulk_input_disconnect;
+}
+
+void
+ags_ffplayer_bulk_input_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_ffplayer_bulk_input_init(AgsFFPlayerBulkInput *ffplayer_bulk_input)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_ffplayer_bulk_input_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BULK_CONNECTED & (AGS_EFFECT_BULK(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_ffplayer_bulk_input_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_ffplayer_bulk_input_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_ffplayer_bulk_input_new:
+ * @ffplayer_bulk_input: the parent ffplayer_bulk_input
+ * @audio: the #AgsAudio to visualize
+ * @channel_type: either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ *
+ * Creates an #AgsFFPlayerBulkInput
+ *
+ * Returns: a new #AgsFFPlayerBulkInput
+ *
+ * Since: 0.4
+ */
+AgsFFPlayerBulkInput*
+ags_ffplayer_bulk_input_new(AgsAudio *audio,
+ GType channel_type)
+{
+ AgsFFPlayerBulkInput *ffplayer_bulk_input;
+
+ ffplayer_bulk_input = (AgsFFPlayerBulkInput *) g_object_new(AGS_TYPE_FFPLAYER_BULK_INPUT,
+ "audio\0", audio,
+ "channel-type\0", channel_type,
+ NULL);
+
+ return(ffplayer_bulk_input);
+}
diff --git a/src/ags/X/machine/ags_ffplayer_bulk_input.h b/src/ags/X/machine/ags_ffplayer_bulk_input.h
new file mode 100644
index 0000000..6eedbf5
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bulk_input.h
@@ -0,0 +1,60 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_BULK_INPUT_H__
+#define __AGS_FFPLAYER_BULK_INPUT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+#define AGS_TYPE_FFPLAYER_BULK_INPUT (ags_ffplayer_bulk_input_get_type())
+#define AGS_FFPLAYER_BULK_INPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FFPLAYER_BULK_INPUT, AgsFFPlayerBulkInput))
+#define AGS_FFPLAYER_BULK_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FFPLAYER_BULK_INPUT, AgsFFPlayerBulkInputClass))
+#define AGS_IS_FFPLAYER_BULK_INPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FFPLAYER_BULK_INPUT))
+#define AGS_IS_FFPLAYER_BULK_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_FFPLAYER_BULK_INPUT))
+#define AGS_FFPLAYER_BULK_INPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_FFPLAYER_BULK_INPUT, AgsFFPlayerBulkInputClass))
+
+#define AGS_FFPLAYER_BULK_INPUT_DEFAULT_VERSION "0.4.3\0"
+#define AGS_FFPLAYER_BULK_INPUT_DEFAULT_BUILD_ID "CEST 20-03-2015 08:24\0"
+
+typedef struct _AgsFFPlayerBulkInput AgsFFPlayerBulkInput;
+typedef struct _AgsFFPlayerBulkInputClass AgsFFPlayerBulkInputClass;
+
+typedef enum{
+ AGS_FFPLAYER_BULK_INPUT_CONNECTED = 1,
+}AgsFFPlayerBulkInputFlags;
+
+struct _AgsFFPlayerBulkInput
+{
+ AgsEffectBulk effect_bulk;
+};
+
+struct _AgsFFPlayerBulkInputClass
+{
+ AgsEffectBulkClass effect_bulk;
+};
+
+GType ags_ffplayer_bulk_input_get_type(void);
+
+AgsFFPlayerBulkInput* ags_ffplayer_bulk_input_new(AgsAudio *audio,
+ GType channel_type);
+
+#endif /*__AGS_FFPLAYER_BULK_INPUT_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c b/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
new file mode 100644
index 0000000..658d9f3
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_bulk_input_callbacks.h>
diff --git a/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.h b/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.h
new file mode 100644
index 0000000..c64567d
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_bulk_input_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_BULK_INPUT_CALLBACKS_H__
+#define __AGS_FFPLAYER_BULK_INPUT_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_ffplayer_bulk_input.h>
+
+#endif /*__AGS_FFPLAYER_BULK_INPUT_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_callbacks.c b/src/ags/X/machine/ags_ffplayer_callbacks.c
new file mode 100644
index 0000000..08b154d
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_callbacks.c
@@ -0,0 +1,327 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_callbacks.h>
+#include <ags/X/ags_machine_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_playable.h>
+#include <ags/object/ags_main_loop.h>
+
+#include <ags/thread/ags_audio_loop.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/audio/task/ags_link_channel.h>
+#include <ags/audio/task/ags_add_audio_signal.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_editor.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+#include <ags/audio/file/ags_ipatch_sf2_reader.h>
+
+#include <math.h>
+
+void ags_ffplayer_open_dialog_response_callback(GtkWidget *widget, gint response,
+ AgsMachine *machine);
+
+void
+ags_ffplayer_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsFFPlayer *ffplayer)
+{
+ AgsWindow *window;
+ AgsAudio *audio;
+
+ if(old_parent != NULL)
+ return;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(widget);
+ audio = ffplayer->machine.audio;
+ audio->devout = (GObject *) window->devout;
+
+ AGS_MACHINE(ffplayer)->name = g_strdup_printf("Default %d\0",
+ ags_window_find_machine_counter(window, AGS_TYPE_FFPLAYER)->counter);
+ ags_window_increment_machine_counter(window,
+ AGS_TYPE_FFPLAYER);
+}
+
+void
+ags_ffplayer_open_clicked_callback(GtkWidget *widget, AgsFFPlayer *ffplayer)
+{
+ GtkFileChooserDialog *file_chooser;
+
+ file_chooser = ags_machine_file_chooser_dialog_new(AGS_MACHINE(ffplayer));
+ gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(file_chooser),
+ FALSE);
+
+ g_signal_connect((GObject *) file_chooser, "response\0",
+ G_CALLBACK(ags_ffplayer_open_dialog_response_callback), AGS_MACHINE(ffplayer));
+
+ gtk_widget_show_all((GtkWidget *) file_chooser);
+}
+
+void
+ags_ffplayer_open_dialog_response_callback(GtkWidget *widget, gint response,
+ AgsMachine *machine)
+{
+ AgsWindow *window;
+ AgsFFPlayer *ffplayer;
+ GtkFileChooserDialog *file_chooser;
+ AgsDevout *devout;
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(machine)));
+ ffplayer = AGS_FFPLAYER(machine);
+ file_chooser = GTK_FILE_CHOOSER_DIALOG(widget);
+
+ if(response == GTK_RESPONSE_ACCEPT){
+ gchar *filename;
+
+ filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(widget));
+
+ if(g_str_has_suffix(filename, ".sf2\0")){
+ AgsIpatch *ipatch;
+ AgsPlayable *playable;
+ gchar **preset;
+ GError *error;
+
+ /* clear preset and instrument */
+ ags_combo_box_text_remove_all(ffplayer->preset);
+ ags_combo_box_text_remove_all(ffplayer->instrument);
+
+ /* Ipatch related */
+ ipatch = g_object_new(AGS_TYPE_IPATCH,
+ "mode\0", AGS_IPATCH_READ,
+ "filename\0", filename,
+ NULL);
+ ffplayer->ipatch = ipatch;
+ ipatch->devout = window->devout;
+
+ playable = AGS_PLAYABLE(ipatch);
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 0, filename,
+ &error);
+
+ /* select first preset */
+ ipatch->nth_level = 1;
+ preset = ags_playable_sublevel_names(playable);
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 1, *preset,
+ &error);
+
+ /* fill ffplayer->preset */
+ while(preset != NULL && preset[0] != NULL){
+ gtk_combo_box_text_append_text(ffplayer->preset,
+ *preset);
+
+ preset++;
+ }
+ }
+
+ gtk_combo_box_set_active(GTK_COMBO_BOX(ffplayer->preset),
+ 0);
+ }
+
+ gtk_widget_destroy(widget);
+}
+
+void
+ags_ffplayer_preset_changed_callback(GtkComboBox *preset, AgsFFPlayer *ffplayer)
+{
+ AgsPlayable *playable;
+ AgsIpatch *ipatch;
+ gchar *preset_name;
+ gchar **instrument;
+ GError *error;
+
+ playable = AGS_PLAYABLE(ffplayer->ipatch);
+ ipatch = ffplayer->ipatch;
+
+ preset_name = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(preset));
+
+ /* load presets */
+ error = NULL;
+ ags_playable_level_select(playable,
+ 1, preset_name,
+ &error);
+
+ /* select first instrument */
+ ags_combo_box_text_remove_all(ffplayer->instrument);
+
+ ipatch->nth_level = 2;
+ instrument = ags_playable_sublevel_names(playable);
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 2, *instrument,
+ &error);
+
+ /* fill ffplayer->instrument */
+ while(instrument != NULL && instrument[0] != NULL){
+ gtk_combo_box_text_append_text(ffplayer->instrument,
+ *instrument);
+
+ instrument++;
+ }
+
+ gtk_combo_box_set_active(GTK_COMBO_BOX(ffplayer->instrument),
+ 0);
+}
+
+void
+ags_ffplayer_instrument_changed_callback(GtkComboBox *instrument, AgsFFPlayer *ffplayer)
+{
+ AgsChannel *channel;
+ AgsAudioSignal *audio_signal_source_old;
+ AgsPlayable *playable;
+ AgsLinkChannel *link_channel;
+ AgsAddAudioSignal *add_audio_signal;
+ gchar *instrument_name;
+ gchar **preset;
+ gchar **sample;
+ GList *task;
+ GList *list;
+ guint count;
+ int i;
+ gboolean has_more;
+ GError *error;
+
+ playable = AGS_PLAYABLE(ffplayer->ipatch);
+
+ instrument_name = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(instrument));
+
+ /* select instrument */
+ error = NULL;
+
+ ags_playable_level_select(playable,
+ 2, instrument_name,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ /* select first sample */
+ sample = NULL;
+
+ AGS_IPATCH(ffplayer->ipatch)->nth_level = 3;
+ sample = ags_playable_sublevel_names(playable);
+
+ error = NULL;
+ ags_playable_level_select(playable,
+ 3, *sample,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ count = 0;
+
+ while(*sample != NULL){
+ sample++;
+ count++;
+ }
+
+ /* read all samples */
+ ags_audio_set_audio_channels(AGS_MACHINE(ffplayer)->audio,
+ AGS_IPATCH_DEFAULT_CHANNELS);
+
+ AGS_IPATCH(ffplayer->ipatch)->nth_level = 3;
+
+ ags_playable_iter_start(playable);
+
+ ags_audio_set_pads(AGS_MACHINE(ffplayer)->audio, AGS_TYPE_INPUT,
+ count);
+
+ channel = AGS_MACHINE(ffplayer)->audio->input;
+ task = NULL;
+ has_more = TRUE;
+
+ while(channel != NULL && has_more){
+ list = ags_playable_read_audio_signal(playable,
+ AGS_MACHINE(ffplayer)->audio->devout,
+ channel->audio_channel, AGS_IPATCH_DEFAULT_CHANNELS);
+
+ for(i = 0; i < AGS_IPATCH_DEFAULT_CHANNELS && list != NULL; i++){
+ /* create task */
+ link_channel = ags_link_channel_new(channel, NULL);
+ task = g_list_prepend(task,
+ link_channel);
+
+ AGS_AUDIO_SIGNAL(list->data)->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ ags_recycling_add_audio_signal(channel->first_recycling,
+ AGS_AUDIO_SIGNAL(list->data));
+ // add_audio_signal = ags_add_audio_signal_new(channel->first_recycling,
+ // AGS_AUDIO_SIGNAL(list->data),
+ // AGS_MACHINE(ffplayer)->audio->devout,
+ // NULL,
+ // AGS_AUDIO_SIGNAL_TEMPLATE);
+ // task = g_list_prepend(task,
+ // add_audio_signal);
+
+ /* iterate */
+ channel = channel->next;
+ list = list->next;
+ }
+
+ has_more = ags_playable_iter_next(playable);
+ }
+
+ /* append tasks */
+ // task = g_list_reverse(task);
+ // ags_task_thread_append_tasks(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_MACHINE(ffplayer)->audio->devout)->ags_main)->main_loop)->task_thread,
+ // task);
+}
+
+gboolean
+ags_ffplayer_drawing_area_expose_callback(GtkWidget *widget, GdkEventExpose *event, AgsFFPlayer *ffplayer)
+{
+ ags_ffplayer_paint(ffplayer);
+
+ return(FALSE);
+}
+
+gboolean
+ags_ffplayer_drawing_area_configure_callback(GtkWidget *widget, GdkEventConfigure *event, AgsFFPlayer *ffplayer)
+{
+ ags_ffplayer_paint(ffplayer);
+
+ return(FALSE);
+}
+
+gboolean
+ags_ffplayer_drawing_area_button_press_callback(GtkWidget *widget, AgsFFPlayer *ffplayer)
+{
+
+ return(FALSE);
+}
+
+void
+ags_ffplayer_hscrollbar_value_changed(GtkAdjustment *adjustment, AgsFFPlayer *ffplayer)
+{
+ ags_ffplayer_paint(ffplayer);
+}
diff --git a/src/ags/X/machine/ags_ffplayer_callbacks.h b/src/ags/X/machine/ags_ffplayer_callbacks.h
new file mode 100644
index 0000000..36326e3
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_callbacks.h
@@ -0,0 +1,42 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_CALLBACKS_H__
+#define __AGS_FFPLAYER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_ffplayer.h>
+
+void ags_ffplayer_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsFFPlayer *ffplayer);
+
+void ags_ffplayer_open_clicked_callback(GtkWidget *widget, AgsFFPlayer *ffplayer);
+void ags_ffplayer_open_dialog_response_callback(GtkWidget *widget, gint response,
+ AgsMachine *machine);
+void ags_ffplayer_preset_changed_callback(GtkComboBox *preset, AgsFFPlayer *ffplayer);
+void ags_ffplayer_instrument_changed_callback(GtkComboBox *instrument, AgsFFPlayer *ffplayer);
+
+gboolean ags_ffplayer_drawing_area_expose_callback(GtkWidget *widget, GdkEventExpose *event, AgsFFPlayer *ffplayer);
+gboolean ags_ffplayer_drawing_area_configure_callback(GtkWidget *widget, GdkEventConfigure *event, AgsFFPlayer *ffplayer);
+gboolean ags_ffplayer_drawing_area_button_press_callback(GtkWidget *widget, AgsFFPlayer *ffplayer);
+
+void ags_ffplayer_hscrollbar_value_changed(GtkAdjustment *adjustment, AgsFFPlayer *ffplayers);
+
+#endif /*__AGS_FFPLAYER_CALLBACKS_H__ */
diff --git a/src/ags/X/machine/ags_ffplayer_input_line.c b/src/ags/X/machine/ags_ffplayer_input_line.c
new file mode 100644
index 0000000..35f8dc5
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_line.c
@@ -0,0 +1,199 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_input_line.h>
+#include <ags/X/machine/ags_ffplayer_input_line_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_effect_bridge.h>
+#include <ags/X/ags_effect_line.h>
+
+void ags_ffplayer_input_line_class_init(AgsFFPlayerInputLineClass *ffplayer_input_line);
+void ags_ffplayer_input_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ffplayer_input_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_ffplayer_input_line_init(AgsFFPlayerInputLine *ffplayer_input_line);
+void ags_ffplayer_input_line_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_ffplayer_input_line_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_ffplayer_input_line_connect(AgsConnectable *connectable);
+void ags_ffplayer_input_line_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_ffplayer_input_line
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsFFPlayerInputLine
+ * @section_id:
+ * @include: ags/X/ags_ffplayer_input_line.h
+ *
+ * #AgsFFPlayerInputLine is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsFFPlayerInputLine.
+ */
+
+enum{
+ RESIZE_LINES,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_CHANNEL,
+};
+
+static gpointer ags_ffplayer_input_line_parent_class = NULL;
+static AgsConnectableInterface *ags_ffplayer_input_line_parent_connectable_interface;
+
+static guint ffplayer_input_line_signals[LAST_SIGNAL];
+
+GType
+ags_ffplayer_input_line_get_type(void)
+{
+ static GType ags_type_ffplayer_input_line = 0;
+
+ if(!ags_type_ffplayer_input_line){
+ static const GTypeInfo ags_ffplayer_input_line_info = {
+ sizeof(AgsFFPlayerInputLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ffplayer_input_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsFFPlayerInputLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ffplayer_input_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_input_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_input_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ffplayer_input_line = g_type_register_static(AGS_TYPE_EFFECT_LINE,
+ "AgsFFPlayerInputLine\0", &ags_ffplayer_input_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ffplayer_input_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ffplayer_input_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_ffplayer_input_line);
+}
+
+void
+ags_ffplayer_input_line_class_init(AgsFFPlayerInputLineClass *ffplayer_input_line)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_ffplayer_input_line_parent_class = g_type_class_peek_parent(ffplayer_input_line);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(ffplayer_input_line);
+}
+
+void
+ags_ffplayer_input_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_ffplayer_input_line_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_ffplayer_input_line_connect;
+ connectable->disconnect = ags_ffplayer_input_line_disconnect;
+}
+
+void
+ags_ffplayer_input_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_ffplayer_input_line_init(AgsFFPlayerInputLine *ffplayer_input_line)
+{
+ g_signal_connect_after(ffplayer_input_line, "notify::channel",
+ G_CALLBACK(ags_ffplayer_input_line_notify_channel_callback), NULL);
+}
+
+void
+ags_ffplayer_input_line_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_LINE_CONNECTED & (AGS_EFFECT_LINE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_ffplayer_input_line_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_ffplayer_input_line_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_ffplayer_input_line_new:
+ * @ffplayer_input_line: the parent ffplayer_input_line
+ * @channel: the #AgsChannel to visualize
+ *
+ * Creates an #AgsFFPlayerInputLine
+ *
+ * Returns: a new #AgsFFPlayerInputLine
+ *
+ * Since: 0.4
+ */
+AgsFFPlayerInputLine*
+ags_ffplayer_input_line_new(AgsChannel *channel)
+{
+ AgsFFPlayerInputLine *ffplayer_input_line;
+
+ ffplayer_input_line = (AgsFFPlayerInputLine *) g_object_new(AGS_TYPE_FFPLAYER_INPUT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(ffplayer_input_line);
+}
diff --git a/src/ags/X/machine/ags_ffplayer_input_line.h b/src/ags/X/machine/ags_ffplayer_input_line.h
new file mode 100644
index 0000000..38dffbd
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_line.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_INPUT_LINE_H__
+#define __AGS_FFPLAYER_INPUT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_effect_line.h>
+
+#define AGS_TYPE_FFPLAYER_INPUT_LINE (ags_ffplayer_input_line_get_type())
+#define AGS_FFPLAYER_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FFPLAYER_INPUT_LINE, AgsFFPlayerInputLine))
+#define AGS_FFPLAYER_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FFPLAYER_INPUT_LINE, AgsFFPlayerInputLineClass))
+#define AGS_IS_FFPLAYER_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FFPLAYER_INPUT_LINE))
+#define AGS_IS_FFPLAYER_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_FFPLAYER_INPUT_LINE))
+#define AGS_FFPLAYER_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_FFPLAYER_INPUT_LINE, AgsFFPlayerInputLineClass))
+
+typedef struct _AgsFFPlayerInputLine AgsFFPlayerInputLine;
+typedef struct _AgsFFPlayerInputLineClass AgsFFPlayerInputLineClass;
+
+struct _AgsFFPlayerInputLine
+{
+ AgsEffectLine effect_line;
+
+ GtkLabel *label;
+};
+
+struct _AgsFFPlayerInputLineClass
+{
+ AgsEffectLineClass effect_line;
+};
+
+GType ags_ffplayer_input_line_get_type(void);
+
+AgsFFPlayerInputLine* ags_ffplayer_input_line_new(AgsChannel *channel);
+
+#endif /*__AGS_FFPLAYER_INPUT_LINE_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_input_line_callbacks.c b/src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
new file mode 100644
index 0000000..37c3377
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_line_callbacks.c
@@ -0,0 +1,34 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_input_line_callbacks.h>
+
+void
+ags_ffplayer_input_line_notify_channel_callback(GObject *gobject,
+ GParamSpec *pspec,
+ gpointer user_data)
+{
+ AgsFFPlayerInputLine *ffplayer_input_line;
+
+ ffplayer_input_line = AGS_FFPLAYER_INPUT_LINE(gobject);
+ gtk_label_set_text(AGS_EFFECT_LINE(ffplayer_input_line)->label,
+ g_strdup_printf("in:%d,%d",
+ AGS_EFFECT_LINE(ffplayer_input_line)->channel->pad,
+ AGS_EFFECT_LINE(ffplayer_input_line)->channel->audio_channel));
+}
+
diff --git a/src/ags/X/machine/ags_ffplayer_input_line_callbacks.h b/src/ags/X/machine/ags_ffplayer_input_line_callbacks.h
new file mode 100644
index 0000000..749835f
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_line_callbacks.h
@@ -0,0 +1,32 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_INPUT_LINE_CALLBACKS_H__
+#define __AGS_FFPLAYER_INPUT_LINE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_ffplayer_input_line.h>
+
+void ags_ffplayer_input_line_notify_channel_callback(GObject *gobject,
+ GParamSpec *pspec,
+ gpointer user_data);
+
+#endif /*__AGS_FFPLAYER_INPUT_LINE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_input_pad.c b/src/ags/X/machine/ags_ffplayer_input_pad.c
new file mode 100644
index 0000000..c96224c
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_pad.c
@@ -0,0 +1,187 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_input_pad.h>
+#include <ags/X/machine/ags_ffplayer_input_pad_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_effect_bridge.h>
+#include <ags/X/ags_effect_line.h>
+
+void ags_ffplayer_input_pad_class_init(AgsFFPlayerInputPadClass *ffplayer_input_pad);
+void ags_ffplayer_input_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ffplayer_input_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_ffplayer_input_pad_init(AgsFFPlayerInputPad *ffplayer_input_pad);
+void ags_ffplayer_input_pad_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_ffplayer_input_pad_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_ffplayer_input_pad_connect(AgsConnectable *connectable);
+void ags_ffplayer_input_pad_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_ffplayer_input_pad
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsFFPlayerInputPad
+ * @section_id:
+ * @include: ags/X/ags_ffplayer_input_pad.h
+ *
+ * #AgsFFPlayerInputPad is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsFFPlayerInputPad.
+ */
+
+static gpointer ags_ffplayer_input_pad_parent_class = NULL;
+static AgsConnectableInterface *ags_ffplayer_input_pad_parent_connectable_interface;
+
+GType
+ags_ffplayer_input_pad_get_type(void)
+{
+ static GType ags_type_ffplayer_input_pad = 0;
+
+ if(!ags_type_ffplayer_input_pad){
+ static const GTypeInfo ags_ffplayer_input_pad_info = {
+ sizeof(AgsFFPlayerInputPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ffplayer_input_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsFFPlayerInputPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ffplayer_input_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_input_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_ffplayer_input_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ffplayer_input_pad = g_type_register_static(AGS_TYPE_EFFECT_PAD,
+ "AgsFFPlayerInputPad\0", &ags_ffplayer_input_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ffplayer_input_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ffplayer_input_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_ffplayer_input_pad);
+}
+
+void
+ags_ffplayer_input_pad_class_init(AgsFFPlayerInputPadClass *ffplayer_input_pad)
+{
+ GObjectClass *gobject;
+
+ ags_ffplayer_input_pad_parent_class = g_type_class_peek_parent(ffplayer_input_pad);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ffplayer_input_pad;
+}
+
+void
+ags_ffplayer_input_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_ffplayer_input_pad_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_ffplayer_input_pad_connect;
+ connectable->disconnect = ags_ffplayer_input_pad_disconnect;
+}
+
+void
+ags_ffplayer_input_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_ffplayer_input_pad_init(AgsFFPlayerInputPad *ffplayer_input_pad)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_ffplayer_input_pad_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_PAD_CONNECTED & (AGS_EFFECT_PAD(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_ffplayer_input_pad_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_ffplayer_input_pad_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_ffplayer_input_pad_new:
+ * @ffplayer_input_pad: the parent ffplayer_input_pad
+ * @channel: the #AgsChannel to visualize
+ *
+ * Creates an #AgsFFPlayerInputPad
+ *
+ * Returns: a new #AgsFFPlayerInputPad
+ *
+ * Since: 0.4
+ */
+AgsFFPlayerInputPad*
+ags_ffplayer_input_pad_new(AgsChannel *channel)
+{
+ AgsFFPlayerInputPad *ffplayer_input_pad;
+
+ ffplayer_input_pad = (AgsFFPlayerInputPad *) g_object_new(AGS_TYPE_FFPLAYER_INPUT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(ffplayer_input_pad);
+}
diff --git a/src/ags/X/machine/ags_ffplayer_input_pad.h b/src/ags/X/machine/ags_ffplayer_input_pad.h
new file mode 100644
index 0000000..bc44630
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_pad.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_INPUT_PAD_H__
+#define __AGS_FFPLAYER_INPUT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_effect_pad.h>
+
+#define AGS_TYPE_FFPLAYER_INPUT_PAD (ags_ffplayer_input_pad_get_type())
+#define AGS_FFPLAYER_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FFPLAYER_INPUT_PAD, AgsFFPlayerInputPad))
+#define AGS_FFPLAYER_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FFPLAYER_INPUT_PAD, AgsFFPlayerInputPadClass))
+#define AGS_IS_FFPLAYER_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FFPLAYER_INPUT_PAD))
+#define AGS_IS_FFPLAYER_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_FFPLAYER_INPUT_PAD))
+#define AGS_FFPLAYER_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_FFPLAYER_INPUT_PAD, AgsFFPlayerInputPadClass))
+
+typedef struct _AgsFFPlayerInputPad AgsFFPlayerInputPad;
+typedef struct _AgsFFPlayerInputPadClass AgsFFPlayerInputPadClass;
+
+struct _AgsFFPlayerInputPad
+{
+ AgsEffectPad effect_pad;
+};
+
+struct _AgsFFPlayerInputPadClass
+{
+ AgsEffectPadClass effect_pad;
+};
+
+GType ags_ffplayer_input_pad_get_type(void);
+
+AgsFFPlayerInputPad* ags_ffplayer_input_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_FFPLAYER_INPUT_PAD_H__*/
diff --git a/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c b/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
new file mode 100644
index 0000000..0d85c97
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ffplayer_input_pad_callbacks.h>
diff --git a/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.h b/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.h
new file mode 100644
index 0000000..9b33029
--- /dev/null
+++ b/src/ags/X/machine/ags_ffplayer_input_pad_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FFPLAYER_INPUT_PAD_CALLBACKS_H__
+#define __AGS_FFPLAYER_INPUT_PAD_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_ffplayer_input_pad.h>
+
+#endif /*__AGS_FFPLAYER_INPUT_PAD_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_ladspa_bridge.c b/src/ags/X/machine/ags_ladspa_bridge.c
new file mode 100644
index 0000000..438d533
--- /dev/null
+++ b/src/ags/X/machine/ags_ladspa_bridge.c
@@ -0,0 +1,251 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ladspa_bridge.h>
+#include <ags/X/machine/ags_ladspa_bridge_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_ladspa_bridge_class_init(AgsLadspaBridgeClass *ladspa_bridge);
+void ags_ladspa_bridge_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ladspa_bridge_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_ladspa_bridge_init(AgsLadspaBridge *ladspa_bridge);
+void ags_ladspa_bridge_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_ladspa_bridge_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_ladspa_bridge_connect(AgsConnectable *connectable);
+void ags_ladspa_bridge_disconnect(AgsConnectable *connectable);
+gchar* ags_ladspa_bridge_get_version(AgsPlugin *plugin);
+void ags_ladspa_bridge_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_ladspa_bridge_get_build_id(AgsPlugin *plugin);
+void ags_ladspa_bridge_set_build_id(AgsPlugin *plugin, gchar *build_id);
+
+/**
+ * SECTION:ags_ladspa_bridge
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsLadspaBridge
+ * @section_id:
+ * @include: ags/X/ags_ladspa_bridge.h
+ *
+ * #AgsLadspaBridge is a composite widget to visualize all #AgsChannel. It should be
+ * packed by an #AgsMachine.
+ */
+
+static gpointer ags_ladspa_bridge_parent_class = NULL;
+
+GType
+ags_ladspa_bridge_get_type(void)
+{
+ static GType ags_type_ladspa_bridge = 0;
+
+ if(!ags_type_ladspa_bridge){
+ static const GTypeInfo ags_ladspa_bridge_info = {
+ sizeof(AgsLadspaBridgeClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ladspa_bridge_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsLadspaBridge),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ladspa_bridge_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ladspa_bridge_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_ladspa_bridge_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ladspa_bridge = g_type_register_static(AGS_TYPE_MACHINE,
+ "AgsLadspaBridge\0", &ags_ladspa_bridge_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ladspa_bridge,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ladspa_bridge,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_ladspa_bridge);
+}
+
+void
+ags_ladspa_bridge_class_init(AgsLadspaBridgeClass *ladspa_bridge)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_ladspa_bridge_parent_class = g_type_class_peek_parent(ladspa_bridge);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(ladspa_bridge);
+
+ gobject->set_property = ags_ladspa_bridge_set_property;
+ gobject->get_property = ags_ladspa_bridge_get_property;
+}
+
+void
+ags_ladspa_bridge_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_ladspa_bridge_connect;
+ connectable->disconnect = ags_ladspa_bridge_disconnect;
+}
+
+void
+ags_ladspa_bridge_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_version = ags_ladspa_bridge_get_version;
+ plugin->set_version = ags_ladspa_bridge_set_version;
+ plugin->get_build_id = ags_ladspa_bridge_get_build_id;
+ plugin->set_build_id = ags_ladspa_bridge_set_build_id;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_ladspa_bridge_init(AgsLadspaBridge *ladspa_bridge)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_ladspa_bridge_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLadspaBridge *ladspa_bridge;
+
+ ladspa_bridge = AGS_LADSPA_BRIDGE(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ladspa_bridge_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLadspaBridge *ladspa_bridge;
+
+ ladspa_bridge = AGS_LADSPA_BRIDGE(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ladspa_bridge_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_ladspa_bridge_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+gchar*
+ags_ladspa_bridge_get_version(AgsPlugin *plugin)
+{
+ return(AGS_LADSPA_BRIDGE(plugin)->version);
+}
+
+void
+ags_ladspa_bridge_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AgsLadspaBridge *ladspa_bridge;
+
+ ladspa_bridge = AGS_LADSPA_BRIDGE(plugin);
+
+ ladspa_bridge->version = version;
+}
+
+gchar*
+ags_ladspa_bridge_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_LADSPA_BRIDGE(plugin)->build_id);
+}
+
+void
+ags_ladspa_bridge_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AgsLadspaBridge *ladspa_bridge;
+
+ ladspa_bridge = AGS_LADSPA_BRIDGE(plugin);
+
+ ladspa_bridge->build_id = build_id;
+}
+
+/**
+ * ags_ladspa_bridge_new:
+ * @ladspa_bridge: the parent ladspa_bridge
+ *
+ * Creates an #AgsLadspaBridge
+ *
+ * Returns: a new #AgsLadspaBridge
+ *
+ * Since: 0.4
+ */
+AgsLadspaBridge*
+ags_ladspa_bridge_new()
+{
+ AgsLadspaBridge *ladspa_bridge;
+
+ ladspa_bridge = (AgsLadspaBridge *) g_object_new(AGS_TYPE_LADSPA_BRIDGE,
+ NULL);
+
+ return(ladspa_bridge);
+}
diff --git a/src/ags/X/machine/ags_ladspa_bridge.h b/src/ags/X/machine/ags_ladspa_bridge.h
new file mode 100644
index 0000000..184ea58
--- /dev/null
+++ b/src/ags/X/machine/ags_ladspa_bridge.h
@@ -0,0 +1,73 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LADSPA_BRIDGE_H__
+#define __AGS_LADSPA_BRIDGE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_machine.h>
+
+#define AGS_TYPE_LADSPA_BRIDGE (ags_ladspa_bridge_get_type())
+#define AGS_LADSPA_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LADSPA_BRIDGE, AgsLadspaBridge))
+#define AGS_LADSPA_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LADSPA_BRIDGE, AgsLadspaBridgeClass))
+#define AGS_IS_LADSPA_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LADSPA_BRIDGE))
+#define AGS_IS_LADSPA_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_LADSPA_BRIDGE))
+#define AGS_LADSPA_BRIDGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LADSPA_BRIDGE, AgsLadspaBridgeClass))
+
+#define AGS_LADSPA_BRIDGE_DEFAULT_VERSION "0.4.3\0"
+#define AGS_LADSPA_BRIDGE_DEFAULT_BUILD_ID "CEST 15-03-2015 13:40\0"
+
+typedef struct _AgsLadspaBridge AgsLadspaBridge;
+typedef struct _AgsLadspaBridgeClass AgsLadspaBridgeClass;
+
+typedef enum{
+ AGS_LADSPA_BRIDGE_DISPLAY_INPUT = 1,
+ AGS_LADSPA_BRIDGE_BULK_OUTPUT = 1 << 1,
+ AGS_LADSPA_BRIDGE_DISPLAY_OUTPUT = 1 << 2,
+ AGS_LADSPA_BRIDGE_BULK_INPUT = 1 << 3,
+}AgsLadspaBridgeFlags;
+
+struct _AgsLadspaBridge
+{
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsAudio *audio;
+};
+
+struct _AgsLadspaBridgeClass
+{
+ AgsMachineClass machine;
+};
+
+GType ags_ladspa_bridge_get_type(void);
+
+AgsLadspaBridge* ags_ladspa_bridge_new();
+
+#endif /*__AGS_LADSPA_BRIDGE_H__*/
diff --git a/src/ags/X/machine/ags_ladspa_bridge_callbacks.c b/src/ags/X/machine/ags_ladspa_bridge_callbacks.c
new file mode 100644
index 0000000..cf09835
--- /dev/null
+++ b/src/ags/X/machine/ags_ladspa_bridge_callbacks.c
@@ -0,0 +1,20 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_ladspa_bridge_callbacks.h>
+
diff --git a/src/ags/X/machine/ags_ladspa_bridge_callbacks.h b/src/ags/X/machine/ags_ladspa_bridge_callbacks.h
new file mode 100644
index 0000000..ab4d3a9
--- /dev/null
+++ b/src/ags/X/machine/ags_ladspa_bridge_callbacks.h
@@ -0,0 +1,30 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LADSPA_BRIDGE_CALLBACKS_H__
+#define __AGS_LADSPA_BRIDGE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_ladspa_bridge.h>
+
+
+
+#endif /*__AGS_LADSPA_BRIDGE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_matrix.c b/src/ags/X/machine/ags_matrix.c
new file mode 100644
index 0000000..2974a15
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix.c
@@ -0,0 +1,1126 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_matrix.h>
+#include <ags/X/machine/ags_matrix_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_portlet.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+
+#include <ags/thread/ags_thread-posix.h>
+#include <ags/thread/ags_audio_loop.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_loop_channel.h>
+#include <ags/audio/recall/ags_loop_channel_run.h>
+#include <ags/audio/recall/ags_stream_channel.h>
+#include <ags/audio/recall/ags_stream_channel_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+#include <ags/audio/recall/ags_play_notation_audio.h>
+#include <ags/audio/recall/ags_play_notation_audio_run.h>
+#include <ags/audio/recall/ags_buffer_channel.h>
+#include <ags/audio/recall/ags_buffer_channel_run.h>
+
+#include <ags/widget/ags_led.h>
+
+#include <ags/X/ags_menu_bar.h>
+
+#include <ags/X/machine/ags_matrix_bridge.h>
+
+#include <math.h>
+
+#define AGS_MATRIX_INPUT_LINE_MAPPED_KEY "AGS_MATRIX_INPUT_LINE_MAPPED_KEY"
+#define AGS_MATRIX_INPUT_LINE_MAPPED_DATA "AGS_MATRIX_INPUT_LINE_MAPPED_DATA"
+
+void ags_matrix_class_init(AgsMatrixClass *matrix);
+void ags_matrix_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_matrix_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_matrix_init(AgsMatrix *matrix);
+void ags_matrix_finalize(GObject *gobject);
+void ags_matrix_connect(AgsConnectable *connectable);
+void ags_matrix_disconnect(AgsConnectable *connectable);
+void ags_matrix_show(GtkWidget *widget);
+void ags_matrix_show_all(GtkWidget *widget);
+void ags_matrix_map_recall(AgsMachine *machine);
+gchar* ags_matrix_get_name(AgsPlugin *plugin);
+void ags_matrix_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_matrix_get_xml_type(AgsPlugin *plugin);
+void ags_matrix_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_matrix_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+void ags_matrix_launch_task(AgsFileLaunch *file_launch, AgsMatrix *matrix);
+xmlNode* ags_matrix_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_matrix_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data);
+void ags_matrix_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data);
+
+/**
+ * SECTION:ags_matrix
+ * @short_description: matrix sequencer
+ * @title: AgsMatrix
+ * @section_id:
+ * @include: ags/X/machine/ags_matrix.h
+ *
+ * The #AgsMatrix is a composite widget to act as matrix sequencer.
+ */
+
+static gpointer ags_matrix_parent_class = NULL;
+
+static AgsConnectableInterface *ags_matrix_parent_connectable_interface;
+
+GtkStyle *matrix_style;
+
+extern const char *AGS_COPY_PATTERN;
+const char *AGS_MATRIX_INDEX = "AgsMatrixIndex\0";
+
+GType
+ags_matrix_get_type(void)
+{
+ static GType ags_type_matrix = 0;
+
+ if(!ags_type_matrix){
+ static const GTypeInfo ags_matrix_info = {
+ sizeof(AgsMatrixClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_matrix_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMatrix),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_matrix_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_matrix_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_matrix_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_matrix = g_type_register_static(AGS_TYPE_MACHINE,
+ "AgsMatrix\0", &ags_matrix_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_matrix,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_matrix,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_matrix);
+}
+
+void
+ags_matrix_class_init(AgsMatrixClass *matrix)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsMachineClass *machine;
+
+ ags_matrix_parent_class = g_type_class_peek_parent(matrix);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) matrix;
+
+ gobject->finalize = ags_matrix_finalize;
+
+ /* GtkWidget */
+ widget = (GtkWidgetClass *) matrix;
+
+ widget->show = ags_matrix_show;
+ widget->show_all = ags_matrix_show_all;
+
+ /* AgsMachine */
+ machine = (AgsMachineClass *) matrix;
+
+ machine->map_recall = ags_matrix_map_recall;
+}
+
+void
+ags_matrix_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_matrix_connectable_parent_interface;
+
+ ags_matrix_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_matrix_connect;
+ connectable->disconnect = ags_matrix_disconnect;
+}
+
+void
+ags_matrix_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_matrix_get_name;
+ plugin->set_name = ags_matrix_set_name;
+ plugin->get_xml_type = ags_matrix_get_xml_type;
+ plugin->set_xml_type = ags_matrix_set_xml_type;
+ plugin->read = ags_matrix_read;
+ plugin->write = ags_matrix_write;
+}
+
+void
+ags_matrix_init(AgsMatrix *matrix)
+{
+ GtkFrame *frame;
+ GtkTable *table;
+ GtkToggleButton *button;
+ GtkVScrollbar *vscrollbar;
+ AgsLed *led;
+ GtkVBox *vbox;
+ GtkHBox *hbox;
+
+ AgsAudio *audio;
+
+ GList *list;
+ int i, j;
+
+ g_signal_connect_after((GObject *) matrix, "parent_set\0",
+ G_CALLBACK(ags_matrix_parent_set_callback), (gpointer) matrix);
+
+ audio = AGS_MACHINE(matrix)->audio;
+ audio->flags |= (AGS_AUDIO_OUTPUT_HAS_RECYCLING |
+ AGS_AUDIO_INPUT_HAS_RECYCLING |
+ AGS_AUDIO_SYNC |
+ AGS_AUDIO_ASYNC |
+ AGS_AUDIO_NOTATION_DEFAULT |
+ AGS_AUDIO_HAS_NOTATION);
+ // audio->audio_channels = 1;
+ AGS_MACHINE(matrix)->input_pad_type = G_TYPE_NONE;
+ AGS_MACHINE(matrix)->input_line_type = G_TYPE_NONE;
+ AGS_MACHINE(matrix)->output_pad_type = G_TYPE_NONE;
+ AGS_MACHINE(matrix)->output_line_type = G_TYPE_NONE;
+
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(matrix)->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_matrix_set_audio_channels), NULL);
+
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(matrix)->audio), "set_pads\0",
+ G_CALLBACK(ags_matrix_set_pads), NULL);
+
+ /* */
+ //TODO:JK: uncomment me
+ AGS_MACHINE(matrix)->flags |= AGS_MACHINE_IS_SEQUENCER;
+ matrix->flags = 0;
+
+ matrix->name = NULL;
+ matrix->xml_type = "ags-matrix\0";
+
+ matrix->mapped_input_pad = 0;
+ matrix->mapped_output_pad = 0;
+
+ /* create widgets */
+ frame = (GtkFrame *) (gtk_bin_get_child((GtkBin *) matrix));
+
+ matrix->table = (GtkTable *) gtk_table_new(4, 4, FALSE);
+ gtk_container_add((GtkContainer *) frame, (GtkWidget *) matrix->table);
+
+ AGS_MACHINE(matrix)->play =
+ matrix->run = (GtkToggleButton *) gtk_toggle_button_new_with_label("run\0");
+ gtk_table_attach(matrix->table, (GtkWidget *) matrix->run,
+ 0, 1, 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ table = (GtkTable *) gtk_table_new(3, 3, FALSE);
+ gtk_table_attach(matrix->table, (GtkWidget *) table,
+ 1, 2, 0, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ matrix->selected = NULL;
+
+ for(i = 0; i < 3; i++){
+ for(j = 0; j < 3; j++){
+ //TODO:JK: verify leak of string
+ matrix->index[i * 3 + j] =
+ button = (GtkToggleButton *) gtk_toggle_button_new_with_label(g_strdup_printf("%d\0", i * 3 + j +1));
+ g_object_set_data((GObject *) button, AGS_MATRIX_INDEX, GUINT_TO_POINTER(i * 3 + j));
+ gtk_table_attach(table, (GtkWidget *) button,
+ j, j +1, i, i +1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ }
+ }
+
+ matrix->selected = matrix->index[0];
+ gtk_toggle_button_set_active(matrix->selected, TRUE);
+
+ /* sequencer */
+ table = (GtkTable *) gtk_table_new(2, 2, FALSE);
+ gtk_table_attach(matrix->table, (GtkWidget *) table,
+ 2, 3, 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ matrix->drawing_area = (GtkDrawingArea *) gtk_drawing_area_new();
+ gtk_widget_set_size_request((GtkWidget *) matrix->drawing_area, 32 * AGS_MATRIX_CELL_WIDTH +1, AGS_MATRIX_OCTAVE * AGS_MATRIX_CELL_HEIGHT +1);
+ gtk_widget_set_style((GtkWidget *) matrix->drawing_area, matrix_style);
+ gtk_table_attach(table, (GtkWidget *) matrix->drawing_area,
+ 0, 1, 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_set_events ((GtkWidget *) matrix->drawing_area,
+ GDK_EXPOSURE_MASK
+ | GDK_LEAVE_NOTIFY_MASK
+ | GDK_BUTTON_PRESS_MASK
+ | GDK_POINTER_MOTION_MASK
+ | GDK_POINTER_MOTION_HINT_MASK);
+
+ matrix->adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 77.0, 1.0, 1.0, (gdouble) AGS_MATRIX_OCTAVE);
+
+ vscrollbar = (GtkVScrollbar *) gtk_vscrollbar_new(matrix->adjustment);
+ gtk_widget_set_style((GtkWidget *) vscrollbar, matrix_style);
+ gtk_table_attach(table, (GtkWidget *) vscrollbar,
+ 1, 2, 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ /* led */
+ matrix->active_led = 0;
+
+ matrix->led =
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_table_attach(matrix->table, (GtkWidget *) hbox,
+ 2, 3, 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ for(i = 0; i < 32; i++){
+ led = ags_led_new();
+ gtk_widget_set_size_request((GtkWidget *) led, AGS_MATRIX_CELL_WIDTH, AGS_MATRIX_CELL_WIDTH / 2);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) led, FALSE, FALSE, 0);
+ }
+
+ /* */
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_table_attach(matrix->table, (GtkWidget *) vbox,
+ 3, 4, 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) vbox, (GtkWidget *) hbox, FALSE, FALSE, 0);
+
+ gtk_box_pack_start((GtkBox *) hbox, gtk_label_new("length\0"), FALSE, FALSE, 0);
+
+ matrix->length_spin = (GtkSpinButton *) gtk_spin_button_new_with_range(1.0, 32.0, 1.0);
+ matrix->length_spin->adjustment->value = 16.0;
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) matrix->length_spin, FALSE, FALSE, 0);
+
+ matrix->loop_button = (GtkCheckButton *) gtk_check_button_new_with_label("loop\0");
+ gtk_box_pack_start((GtkBox *) vbox, (GtkWidget *) matrix->loop_button, FALSE, FALSE, 0);
+
+ /* effect bridge */
+ AGS_MACHINE(matrix)->bridge = ags_matrix_bridge_new(audio);
+ gtk_table_attach(matrix->table,
+ (GtkWidget *) AGS_MACHINE(matrix)->bridge,
+ 0, 4,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+}
+
+void
+ags_matrix_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_matrix_parent_class)->finalize(gobject);
+}
+
+void
+ags_matrix_connect(AgsConnectable *connectable)
+{
+ AgsMatrix *matrix;
+ AgsDelayAudioRun *play_delay_audio_run;
+ AgsRecallHandler *recall_handler;
+ GList *list;
+ int i;
+
+ if((AGS_MACHINE_CONNECTED & (AGS_MACHINE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_matrix_parent_connectable_interface->connect(connectable);
+
+ matrix = AGS_MATRIX(connectable);
+
+ /* AgsMatrix */
+ for(i = 0; i < 9; i++){
+ g_signal_connect (G_OBJECT (matrix->index[i]), "clicked\0",
+ G_CALLBACK (ags_matrix_index_callback), (gpointer) matrix);
+ }
+
+ g_signal_connect (G_OBJECT (matrix->drawing_area), "expose_event\0",
+ G_CALLBACK (ags_matrix_drawing_area_expose_callback), (gpointer) matrix);
+
+ g_signal_connect (G_OBJECT (matrix->drawing_area), "button_press_event\0",
+ G_CALLBACK (ags_matrix_drawing_area_button_press_callback), (gpointer) matrix);
+
+ g_signal_connect (G_OBJECT (matrix->adjustment), "value_changed\0",
+ G_CALLBACK (ags_matrix_adjustment_value_changed_callback), (gpointer) matrix);
+
+ g_signal_connect_after((GObject *) matrix->length_spin, "value-changed\0",
+ G_CALLBACK(ags_matrix_length_spin_callback), (gpointer) matrix);
+
+ g_signal_connect((GObject *) matrix->loop_button, "clicked\0",
+ G_CALLBACK(ags_matrix_loop_button_callback), (gpointer) matrix);
+
+
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(matrix)->audio), "tact\0",
+ G_CALLBACK(ags_matrix_tact_callback), matrix);
+
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(matrix)->audio), "done\0",
+ G_CALLBACK(ags_matrix_done_callback), matrix);
+}
+
+void
+ags_matrix_disconnect(AgsConnectable *connectable)
+{
+ AgsMatrix *matrix;
+
+ ags_matrix_parent_connectable_interface->disconnect(connectable);
+
+ /* AgsMatrix */
+ matrix = AGS_MATRIX(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_matrix_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_matrix_parent_class)->show(widget);
+
+ ags_matrix_draw_matrix(AGS_MATRIX(widget));
+}
+
+void
+ags_matrix_show_all(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_matrix_parent_class)->show_all(widget);
+
+ ags_matrix_draw_matrix(AGS_MATRIX(widget));
+}
+
+void
+ags_matrix_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data)
+{
+ printf("AgsMatrix only pads can be adjusted\n\0");
+ // _ags_audio_set_audio_channels(audio, audio_channels);
+}
+
+void
+ags_matrix_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data)
+{
+ AgsMachine *machine;
+ AgsMatrix *matrix;
+ AgsChannel *channel, *source;
+ AgsAudioSignal *audio_signal;
+ guint i, j;
+ gboolean grow;
+
+ GValue value = {0,};
+
+ if(pads == pads_old){
+ return;
+ }
+
+ matrix = (AgsMatrix *) audio->machine;
+ machine = AGS_MACHINE(matrix);
+
+ if(type == AGS_TYPE_INPUT){
+ if(pads < AGS_MATRIX_OCTAVE){
+ gtk_widget_set_size_request((GtkWidget *) matrix->drawing_area,
+ 32 * AGS_MATRIX_CELL_WIDTH +1,
+ pads * AGS_MATRIX_CELL_HEIGHT +1);
+ }else if(pads_old < AGS_MATRIX_OCTAVE){
+ gtk_widget_set_size_request((GtkWidget *) matrix->drawing_area,
+ 32 * AGS_MATRIX_CELL_WIDTH +1,
+ AGS_MATRIX_OCTAVE * AGS_MATRIX_CELL_HEIGHT +1);
+ }
+ }
+
+ if(pads_old == pads)
+ return;
+ if(pads_old < pads)
+ grow = TRUE;
+ else
+ grow = FALSE;
+
+ if(type == AGS_TYPE_INPUT){
+ AgsPattern *pattern;
+ GList *list, *notation;
+
+ if(grow){
+ /* create pattern */
+ source = ags_channel_nth(audio->input, pads_old);
+
+ while(source != NULL){
+ if(source->pattern == NULL){
+ source->pattern = g_list_alloc();
+ source->pattern->data = (gpointer) ags_pattern_new();
+ ags_pattern_set_dim((AgsPattern *) source->pattern->data, 1, 9, 32);
+ }
+
+ source = source->next;
+ }
+
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) != 0){
+ ags_matrix_input_map_recall(matrix,
+ pads_old);
+ }
+ }else{
+ }
+ }else{
+ if(grow){
+ AgsChannel *current, *output;
+ GList *recall;
+ GList *list;
+ guint stop;
+
+ source = ags_channel_nth(audio->output, pads_old);
+
+ if(source != NULL){
+ AgsDevout *devout;
+ AgsAudioSignal *audio_signal;
+ gdouble delay;
+ guint stop;
+
+ devout = AGS_DEVOUT(AGS_AUDIO(source->audio)->devout);
+
+ delay = (1.0 / devout->frequency / devout->buffer_size) * (60.0 / AGS_DEVOUT_DEFAULT_BPM);
+
+ stop = (guint) ceil(16.0 * delay * exp2(8.0 - 4.0) + 1.0);
+
+ audio_signal = ags_audio_signal_new(devout,
+ source->first_recycling,
+ NULL);
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ // ags_audio_signal_stream_resize(audio_signal,
+ // stop);
+ ags_recycling_add_audio_signal(source->first_recycling,
+ audio_signal);
+
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) != 0){
+ ags_matrix_output_map_recall(matrix,
+ pads_old);
+ }
+ }
+ }else{
+ }
+ }
+}
+
+void
+ags_matrix_map_recall(AgsMachine *machine)
+{
+ AgsMatrix *matrix;
+
+ AgsAudio *audio;
+ AgsChannel *channel;
+ AgsPattern *pattern;
+
+ AgsDelayAudio *play_delay_audio;
+ AgsDelayAudioRun *play_delay_audio_run;
+ AgsCountBeatsAudio *play_count_beats_audio;
+ AgsCountBeatsAudioRun *play_count_beats_audio_run;
+ AgsCopyPatternAudio *recall_copy_pattern_audio;
+ AgsCopyPatternAudioRun *recall_copy_pattern_audio_run;
+ AgsPlayNotationAudio *play_notation;
+ AgsCopyPatternChannel *copy_pattern_channel;
+
+ GList *notation;
+ GList *list;
+
+ guint i, j;
+
+ GValue value = {0,};
+
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) != 0 ||
+ (AGS_MACHINE_PREMAPPED_RECALL & (machine->flags)) != 0){
+ return;
+ }
+
+ audio = machine->audio;
+ matrix = AGS_MATRIX(machine);
+
+ /* ags-delay */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-delay\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_PLAY),
+ 0);
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_DELAY_AUDIO_RUN);
+
+ if(list != NULL){
+ play_delay_audio_run = AGS_DELAY_AUDIO_RUN(list->data);
+ // AGS_RECALL(play_delay_audio_run)->flags |= AGS_RECALL_PERSISTENT;
+ }
+
+ /* ags-count-beats */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-count-beats\0",
+ 0, 0,
+ 0, 0,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_PLAY),
+ 0);
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_COUNT_BEATS_AUDIO_RUN);
+
+ if(list != NULL){
+ play_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+
+ /* set dependency */
+ g_object_set(G_OBJECT(play_count_beats_audio_run),
+ "delay-audio-run\0", play_delay_audio_run,
+ NULL);
+ }
+
+ /* ags-copy-pattern */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-copy-pattern\0",
+ 0, audio->audio_channels,
+ 0, audio->input_lines,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_RECALL),
+ 0);
+
+ list = ags_recall_find_type(audio->recall, AGS_TYPE_COPY_PATTERN_AUDIO_RUN);
+
+ if(list != NULL){
+ recall_copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(list->data);
+
+ /* set dependency */
+ g_object_set(G_OBJECT(recall_copy_pattern_audio_run),
+ "delay-audio-run\0", play_delay_audio_run,
+ "count-beats-audio-run\0", play_count_beats_audio_run,
+ NULL);
+
+ }
+
+ /* set pattern object on port */
+ channel = ags_channel_pad_nth(audio->input, 0);
+
+ for(i = 0; i < audio->input_pads; i++){
+ for(j = 0; j < audio->audio_channels; j++){
+ list = ags_recall_template_find_type(channel->recall, AGS_TYPE_COPY_PATTERN_CHANNEL);
+ copy_pattern_channel = AGS_COPY_PATTERN_CHANNEL(list->data);
+
+ list = channel->pattern;
+ pattern = AGS_PATTERN(list->data);
+
+ copy_pattern_channel->pattern->port_value.ags_port_object = (GObject *) pattern;
+
+ ags_portlet_set_port(AGS_PORTLET(pattern), copy_pattern_channel->pattern);
+
+ channel = channel->next;
+ }
+ }
+
+ /* */
+ list = audio->recall;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_PLAY_NOTATION_AUDIO)) != NULL){
+ play_notation = AGS_PLAY_NOTATION_AUDIO(list->data);
+
+ ags_port_safe_read(play_notation->notation,
+ &value);
+
+ if(g_value_get_object(&value) == NULL){
+ notation = audio->notation;
+
+ while(notation != NULL){
+ g_object_set(G_OBJECT(play_notation),
+ "notation\0", notation->data,
+ NULL);
+
+ notation = notation->next;
+ }
+ }
+
+ list = list->next;
+ }
+
+
+ /* depending on destination */
+ ags_matrix_input_map_recall(matrix, 0);
+
+ /* depending on destination */
+ ags_matrix_output_map_recall(matrix, 0);
+
+ AGS_MACHINE_CLASS(ags_matrix_parent_class)->map_recall(machine);
+}
+
+void
+ags_matrix_input_map_recall(AgsMatrix *matrix, guint input_pad_start)
+{
+ AgsAudio *audio;
+ AgsPattern *pattern;
+ AgsChannel *source, *current, *destination;
+
+ AgsBufferChannel *buffer_channel;
+ AgsBufferChannelRun *buffer_channel_run;
+
+ GList *list;
+
+ audio = AGS_MACHINE(matrix)->audio;
+
+ if(matrix->mapped_input_pad > input_pad_start){
+ return;
+ }
+
+ source = ags_channel_nth(audio->input,
+ input_pad_start * audio->audio_channels);
+
+ if(source == NULL){
+ return;
+ }
+
+ current = source;
+
+ while(current != NULL){
+ /* ags-buffer */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-buffer\0",
+ current->audio_channel, current->audio_channel + 1,
+ current->pad, current->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ destination = ags_channel_nth(audio->output,
+ current->audio_channel);
+
+ while(destination != NULL){
+ /* recall */
+ list = current->recall;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_BUFFER_CHANNEL)) != NULL){
+ buffer_channel = AGS_BUFFER_CHANNEL(list->data);
+
+ g_object_set(G_OBJECT(buffer_channel),
+ "destination\0", destination,
+ NULL);
+
+ list = list->next;
+ }
+
+ list = current->recall;
+
+ while((list = ags_recall_find_type(list, AGS_TYPE_BUFFER_CHANNEL_RUN)) != NULL){
+ buffer_channel_run = AGS_BUFFER_CHANNEL_RUN(list->data);
+
+ g_object_set(G_OBJECT(buffer_channel_run),
+ "destination\0", destination,
+ NULL);
+
+ list = list->next;
+ }
+
+ destination = destination->next_pad;
+ }
+
+ /* ags-stream */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-stream\0",
+ current->audio_channel, current->audio_channel + 1,
+ current->pad, current->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ current = current->next_pad;
+ }
+
+ matrix->mapped_input_pad = input_pad_start;
+}
+
+void
+ags_matrix_output_map_recall(AgsMatrix *matrix, guint output_pad_start)
+{
+ AgsAudio *audio;
+ AgsChannel *source;
+
+ AgsDelayAudio *recall_delay_audio;
+ AgsCountBeatsAudioRun *recall_count_beats_audio_run;
+
+ GList *list;
+
+ audio = AGS_MACHINE(matrix)->audio;
+
+ if(matrix->mapped_output_pad > output_pad_start){
+ return;
+ }
+
+ source = ags_channel_nth(audio->output,
+ output_pad_start * audio->audio_channels);
+
+ if(source == NULL){
+ return;
+ }
+
+ /* get some recalls */
+ list = ags_recall_find_type(audio->play, AGS_TYPE_DELAY_AUDIO);
+
+ if(list != NULL){
+ recall_delay_audio = AGS_DELAY_AUDIO(list->data);
+ }else{
+ recall_delay_audio = NULL;
+ }
+
+ list = ags_recall_find_type(audio->play, AGS_TYPE_COUNT_BEATS_AUDIO_RUN);
+
+ if(list != NULL){
+ recall_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+ }else{
+ recall_count_beats_audio_run = NULL;
+ }
+
+ /* ags-stream */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-stream\0",
+ source->audio_channel, source->audio_channel + 1,
+ output_pad_start, audio->output_pads,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ matrix->mapped_output_pad = output_pad_start;
+}
+
+void
+ags_matrix_draw_gutter(AgsMatrix *matrix)
+{
+ AgsChannel *channel;
+ guint gutter;
+ int i, j;
+
+ gdk_draw_rectangle (GTK_WIDGET (matrix->drawing_area)->window,
+ GTK_WIDGET (matrix->drawing_area)->style->bg_gc[0],
+ TRUE,
+ 0, 0,
+ 288, 80);
+
+ channel = ags_channel_nth(AGS_MACHINE(matrix)->audio->input, (guint) matrix->adjustment->value);
+
+ if(AGS_MACHINE(matrix)->audio->input_pads > AGS_MATRIX_OCTAVE){
+ gutter = AGS_MATRIX_OCTAVE;
+ }else{
+ gutter = AGS_MACHINE(matrix)->audio->input_pads;
+ }
+
+ for (i = 0; i < gutter; i++){
+ for (j = 0; j < 32; j++){
+ gdk_draw_rectangle (GTK_WIDGET (matrix->drawing_area)->window,
+ GTK_WIDGET (matrix->drawing_area)->style->fg_gc[0],
+ FALSE,
+ j * 12, i * 10,
+ 12, 10);
+
+ ags_matrix_redraw_gutter_point (matrix, channel, j, i);
+ }
+
+ channel = channel->next;
+ }
+}
+
+void
+ags_matrix_draw_matrix(AgsMatrix *matrix)
+{
+ AgsChannel *channel;
+ guint gutter;
+ int i, j;
+
+ channel = ags_channel_nth(AGS_MACHINE(matrix)->audio->input, (guint) matrix->adjustment->value);
+
+ if(channel == NULL){
+ return;
+ }
+
+ if(AGS_MACHINE(matrix)->audio->input_pads > AGS_MATRIX_OCTAVE){
+ gutter = AGS_MATRIX_OCTAVE;
+ }else{
+ gutter = AGS_MACHINE(matrix)->audio->input_pads;
+ }
+
+ for (i = 0; i < gutter; i++){
+ for (j = 0; j < 32; j++)
+ ags_matrix_redraw_gutter_point (matrix, channel, j, i);
+
+ channel = channel->next;
+ }
+}
+
+void
+ags_matrix_redraw_gutter_point (AgsMatrix *matrix, AgsChannel *channel, guint j, guint i)
+{
+ if(channel->pattern == NULL)
+ return;
+
+ if(ags_pattern_get_bit((AgsPattern *) channel->pattern->data, 0, strtol(matrix->selected->button.label_text, NULL, 10) - 1, j))
+ ags_matrix_highlight_gutter_point(matrix, j, i);
+ else
+ ags_matrix_unpaint_gutter_point(matrix, j, i);
+}
+
+void
+ags_matrix_highlight_gutter_point(AgsMatrix *matrix, guint j, guint i)
+{
+ gdk_draw_rectangle (GTK_WIDGET (matrix->drawing_area)->window,
+ GTK_WIDGET (matrix->drawing_area)->style->fg_gc[0],
+ TRUE,
+ j * AGS_MATRIX_CELL_WIDTH + 1, i * AGS_MATRIX_CELL_HEIGHT + 1,
+ 11, 9);
+}
+
+void
+ags_matrix_unpaint_gutter_point(AgsMatrix *matrix, guint j, guint i)
+{
+ gdk_draw_rectangle (GTK_WIDGET (matrix->drawing_area)->window,
+ GTK_WIDGET (matrix->drawing_area)->style->bg_gc[0],
+ TRUE,
+ j * AGS_MATRIX_CELL_WIDTH + 1, i * AGS_MATRIX_CELL_HEIGHT +1,
+ 11, 9);
+}
+
+gchar*
+ags_matrix_get_name(AgsPlugin *plugin)
+{
+ return(AGS_MATRIX(plugin)->name);
+}
+
+void
+ags_matrix_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_MATRIX(plugin)->name = name;
+}
+
+gchar*
+ags_matrix_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_MATRIX(plugin)->xml_type);
+}
+
+void
+ags_matrix_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_MATRIX(plugin)->xml_type = xml_type;
+}
+
+void
+ags_matrix_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsMatrix *gobject;
+ AgsFileLaunch *file_launch;
+ GList *list;
+
+ gobject = AGS_MATRIX(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ /* */
+ file_launch = g_object_new(AGS_TYPE_FILE_LAUNCH,
+ "node\0", node,
+ "file\0", file,
+ NULL);
+ g_signal_connect(G_OBJECT(file_launch), "start\0",
+ G_CALLBACK(ags_matrix_launch_task), gobject);
+ ags_file_add_launch(file,
+ file_launch);
+}
+
+void
+ags_matrix_launch_task(AgsFileLaunch *file_launch, AgsMatrix *matrix)
+{
+ xmlNode *node;
+ guint64 length, index;
+
+ node = file_launch->node;
+
+ /* length */
+ length = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "length\0"),
+ NULL);
+ gtk_spin_button_set_value(matrix->length_spin,
+ length);
+
+ /* loop */
+ if(!g_strcmp0(xmlGetProp(node,
+ "loop\0"),
+ AGS_FILE_TRUE)){
+ gtk_toggle_button_set_active(matrix->loop_button,
+ TRUE);
+ }
+
+ /* index */
+ index = g_ascii_strtoull(xmlGetProp(node,
+ "bank-index-0\0"),
+ NULL,
+ 10);
+
+ if(index != 0){
+ gtk_toggle_button_set_active(matrix->index[0],
+ FALSE);
+ gtk_toggle_button_set_active(matrix->index[index],
+ TRUE);
+ matrix->selected = matrix->index[index];
+ }
+}
+
+xmlNode*
+ags_matrix_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsMatrix *matrix;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i;
+ gint history;
+
+ matrix = AGS_MATRIX(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-matrix\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", matrix,
+ NULL));
+
+ xmlNewProp(node,
+ "length\0",
+ g_strdup_printf("%d\0", (gint) gtk_spin_button_get_value(matrix->length_spin)));
+
+ for(i = 0; matrix->selected != matrix->index[i]; i++);
+
+ xmlNewProp(node,
+ "bank-index-0\0",
+ g_strdup_printf("%d\0", i));
+
+ xmlNewProp(node,
+ "loop\0",
+ g_strdup_printf("%s\0", ((gtk_toggle_button_get_active(matrix->loop_button)) ? AGS_FILE_TRUE: AGS_FILE_FALSE)));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+/**
+ * ags_matrix_new:
+ * @devout: the assigned devout.
+ *
+ * Creates an #AgsMatrix
+ *
+ * Returns: a new #AgsMatrix
+ *
+ * Since: 0.3
+ */
+AgsMatrix*
+ags_matrix_new(GObject *devout)
+{
+ AgsMatrix *matrix;
+ GValue value = {0,};
+
+ matrix = (AgsMatrix *) g_object_new(AGS_TYPE_MATRIX,
+ NULL);
+
+ if(devout != NULL){
+ g_value_init(&value, G_TYPE_OBJECT);
+ g_value_set_object(&value, devout);
+ g_object_set_property(G_OBJECT(AGS_MACHINE(matrix)->audio),
+ "devout\0", &value);
+ g_value_unset(&value);
+ }
+
+ return(matrix);
+}
diff --git a/src/ags/X/machine/ags_matrix.h b/src/ags/X/machine/ags_matrix.h
new file mode 100644
index 0000000..fd3767f
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix.h
@@ -0,0 +1,90 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MATRIX_H__
+#define __AGS_MATRIX_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#define AGS_TYPE_MATRIX (ags_matrix_get_type())
+#define AGS_MATRIX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MATRIX, AgsMatrix))
+#define AGS_MATRIX_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MATRIX, AgsMatrixClass))
+#define AGS_IS_MATRIX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MATRIX))
+#define AGS_IS_MATRIX_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MATRIX))
+#define AGS_MATRIX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MATRIX, AgsMatrixClass))
+
+#define AGS_MATRIX_PATTERN_CONTROLS (16)
+#define AGS_MATRIX_OCTAVE 10
+
+#define AGS_MATRIX_CELL_WIDTH 12
+#define AGS_MATRIX_CELL_HEIGHT 10
+
+typedef struct _AgsMatrix AgsMatrix;
+typedef struct _AgsMatrixClass AgsMatrixClass;
+
+struct _AgsMatrix
+{
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ guint mapped_output_pad;
+ guint mapped_input_pad;
+
+ GtkTable *table;
+
+ GtkToggleButton *run;
+ GtkToggleButton *selected;
+ GtkToggleButton *index[9];
+
+ GtkDrawingArea *drawing_area;
+ guint active_led;
+ GtkHBox *led;
+
+ GtkAdjustment *adjustment;
+
+ GtkSpinButton *length_spin;
+ GtkCheckButton *loop_button;
+};
+
+struct _AgsMatrixClass
+{
+ AgsMachineClass machine;
+};
+
+GType ags_matrix_get_type(void);
+
+void ags_matrix_input_map_recall(AgsMatrix *matrix, guint input_pad_start);
+void ags_matrix_output_map_recall(AgsMatrix *matrix, guint output_pad_start);
+
+void ags_matrix_draw_gutter(AgsMatrix *matrix);
+void ags_matrix_draw_matrix(AgsMatrix *matrix);
+void ags_matrix_redraw_gutter_point(AgsMatrix *matrix, AgsChannel *channel, guint j, guint i);
+void ags_matrix_highlight_gutter_point(AgsMatrix *matrix, guint j, guint i);
+void ags_matrix_unpaint_gutter_point(AgsMatrix *matrix, guint j, guint i);
+
+AgsMatrix* ags_matrix_new(GObject *devout);
+
+#endif /*__AGS_MATRIX_H__*/
diff --git a/src/ags/X/machine/ags_matrix_bridge.c b/src/ags/X/machine/ags_matrix_bridge.c
new file mode 100644
index 0000000..1df3177
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bridge.c
@@ -0,0 +1,208 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_matrix_bridge.h>
+#include <ags/X/machine/ags_matrix_bridge_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_input.h>
+
+#include <ags/X/machine/ags_matrix_bulk_input.h>
+
+void ags_matrix_bridge_class_init(AgsMatrixBridgeClass *matrix_bridge);
+void ags_matrix_bridge_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_matrix_bridge_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_matrix_bridge_init(AgsMatrixBridge *matrix_bridge);
+void ags_matrix_bridge_connect(AgsConnectable *connectable);
+void ags_matrix_bridge_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_matrix_bridge
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsMatrixBridge
+ * @section_id:
+ * @include: ags/X/ags_matrix_bridge.h
+ *
+ * #AgsMatrixBridge is a composite widget to visualize all #AgsChannel. It should be
+ * packed by an #AgsMachine.
+ */
+
+static gpointer ags_matrix_bridge_parent_class = NULL;
+static AgsConnectableInterface *ags_matrix_bridge_parent_connectable_interface;
+
+GType
+ags_matrix_bridge_get_type(void)
+{
+ static GType ags_type_matrix_bridge = 0;
+
+ if(!ags_type_matrix_bridge){
+ static const GTypeInfo ags_matrix_bridge_info = {
+ sizeof(AgsMatrixBridgeClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_matrix_bridge_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMatrixBridge),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_matrix_bridge_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_matrix_bridge_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_matrix_bridge_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_matrix_bridge = g_type_register_static(AGS_TYPE_EFFECT_BRIDGE,
+ "AgsMatrixBridge\0", &ags_matrix_bridge_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_matrix_bridge,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_matrix_bridge,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_matrix_bridge);
+}
+
+void
+ags_matrix_bridge_class_init(AgsMatrixBridgeClass *matrix_bridge)
+{
+ GObjectClass *gobject;
+
+ ags_matrix_bridge_parent_class = g_type_class_peek_parent(matrix_bridge);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(matrix_bridge);
+}
+
+void
+ags_matrix_bridge_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_matrix_bridge_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_matrix_bridge_connect;
+ connectable->disconnect = ags_matrix_bridge_disconnect;
+}
+
+void
+ags_matrix_bridge_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_matrix_bridge_init(AgsMatrixBridge *matrix_bridge)
+{
+ GtkFrame *frame;
+ GtkExpander *expander;
+ GtkTable *table;
+
+ frame = (GtkFrame *) gtk_frame_new("input bridge\0");
+ gtk_box_pack_start(AGS_EFFECT_BRIDGE(matrix_bridge),
+ frame,
+ FALSE, FALSE,
+ 0);
+
+ expander = gtk_expander_new("show/hide\0");
+ gtk_container_add(frame,
+ expander);
+
+ table = (GtkTable *) gtk_table_new(1, 2, FALSE);
+ gtk_container_add(expander,
+ table);
+
+ AGS_EFFECT_BRIDGE(matrix_bridge)->bulk_input = (GtkWidget *) ags_matrix_bulk_input_new(NULL,
+ AGS_TYPE_INPUT);
+ gtk_table_attach(table,
+ AGS_EFFECT_BRIDGE(matrix_bridge)->bulk_input,
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+}
+
+void
+ags_matrix_bridge_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (AGS_EFFECT_BRIDGE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_matrix_bridge_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_matrix_bridge_disconnect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (AGS_EFFECT_BRIDGE(connectable)->flags)) == 0){
+ return;
+ }
+
+ ags_matrix_bridge_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_matrix_bridge_new:
+ * @matrix_bridge: the parent matrix_bridge
+ * @audio: the #AgsAudio to visualize
+ *
+ * Creates an #AgsMatrixBridge
+ *
+ * Returns: a new #AgsMatrixBridge
+ *
+ * Since: 0.4
+ */
+AgsMatrixBridge*
+ags_matrix_bridge_new(AgsAudio *audio)
+{
+ AgsMatrixBridge *matrix_bridge;
+
+ matrix_bridge = (AgsMatrixBridge *) g_object_new(AGS_TYPE_MATRIX_BRIDGE,
+ "audio\0", audio,
+ NULL);
+
+ return(matrix_bridge);
+}
diff --git a/src/ags/X/machine/ags_matrix_bridge.h b/src/ags/X/machine/ags_matrix_bridge.h
new file mode 100644
index 0000000..6ba81f5
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bridge.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MATRIX_BRIDGE_H__
+#define __AGS_MATRIX_BRIDGE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_effect_bridge.h>
+
+#define AGS_TYPE_MATRIX_BRIDGE (ags_matrix_bridge_get_type())
+#define AGS_MATRIX_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MATRIX_BRIDGE, AgsMatrixBridge))
+#define AGS_MATRIX_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MATRIX_BRIDGE, AgsMatrixBridgeClass))
+#define AGS_IS_MATRIX_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MATRIX_BRIDGE))
+#define AGS_IS_MATRIX_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MATRIX_BRIDGE))
+#define AGS_MATRIX_BRIDGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_MATRIX_BRIDGE, AgsMatrixBridgeClass))
+
+typedef struct _AgsMatrixBridge AgsMatrixBridge;
+typedef struct _AgsMatrixBridgeClass AgsMatrixBridgeClass;
+
+struct _AgsMatrixBridge
+{
+ AgsEffectBridge effect_bridge;
+};
+
+struct _AgsMatrixBridgeClass
+{
+ AgsEffectBridgeClass effect_bridge;
+};
+
+GType ags_matrix_bridge_get_type(void);
+
+AgsMatrixBridge* ags_matrix_bridge_new(AgsAudio *audio);
+
+#endif /*__AGS_MATRIX_BRIDGE_H__*/
diff --git a/src/ags/X/machine/ags_matrix_bridge_callbacks.c b/src/ags/X/machine/ags_matrix_bridge_callbacks.c
new file mode 100644
index 0000000..04e940f
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bridge_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_matrix_bridge_callbacks.h>
diff --git a/src/ags/X/machine/ags_matrix_bridge_callbacks.h b/src/ags/X/machine/ags_matrix_bridge_callbacks.h
new file mode 100644
index 0000000..ffbf434
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bridge_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MATRIX_BRIDGE_CALLBACKS_H__
+#define __AGS_MATRIX_BRIDGE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_matrix_bridge.h>
+
+#endif /*__AGS_MATRIX_BRIDGE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_matrix_bulk_input.c b/src/ags/X/machine/ags_matrix_bulk_input.c
new file mode 100644
index 0000000..3e15919
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bulk_input.c
@@ -0,0 +1,186 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_matrix_bulk_input.h>
+#include <ags/X/machine/ags_matrix_bulk_input_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_matrix_bulk_input_class_init(AgsMatrixBulkInputClass *matrix_bulk_input);
+void ags_matrix_bulk_input_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_matrix_bulk_input_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_matrix_bulk_input_init(AgsMatrixBulkInput *matrix_bulk_input);
+void ags_matrix_bulk_input_connect(AgsConnectable *connectable);
+void ags_matrix_bulk_input_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_matrix_bulk_input
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsMatrixBulkInput
+ * @section_id:
+ * @include: ags/X/ags_matrix_bulk_input.h
+ *
+ * #AgsMatrixBulkInput is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsMatrixBulkInput.
+ */
+
+static gpointer ags_matrix_bulk_input_parent_class = NULL;
+static AgsConnectableInterface *ags_matrix_bulk_input_parent_connectable_interface;
+
+GType
+ags_matrix_bulk_input_get_type(void)
+{
+ static GType ags_type_matrix_bulk_input = 0;
+
+ if(!ags_type_matrix_bulk_input){
+ static const GTypeInfo ags_matrix_bulk_input_info = {
+ sizeof(AgsMatrixBulkInputClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_matrix_bulk_input_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMatrixBulkInput),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_matrix_bulk_input_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_matrix_bulk_input_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_matrix_bulk_input_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_matrix_bulk_input = g_type_register_static(AGS_TYPE_EFFECT_BULK,
+ "AgsMatrixBulkInput\0", &ags_matrix_bulk_input_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_matrix_bulk_input,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_matrix_bulk_input,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_matrix_bulk_input);
+}
+
+void
+ags_matrix_bulk_input_class_init(AgsMatrixBulkInputClass *matrix_bulk_input)
+{
+ GObjectClass *gobject;
+
+ ags_matrix_bulk_input_parent_class = g_type_class_peek_parent(matrix_bulk_input);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(matrix_bulk_input);
+}
+
+void
+ags_matrix_bulk_input_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_matrix_bulk_input_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_matrix_bulk_input_connect;
+ connectable->disconnect = ags_matrix_bulk_input_disconnect;
+}
+
+void
+ags_matrix_bulk_input_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_matrix_bulk_input_init(AgsMatrixBulkInput *matrix_bulk_input)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_matrix_bulk_input_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BULK_CONNECTED & (AGS_EFFECT_BULK(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_matrix_bulk_input_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_matrix_bulk_input_disconnect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BULK_CONNECTED & (AGS_EFFECT_BULK(connectable)->flags)) == 0){
+ return;
+ }
+
+ ags_matrix_bulk_input_parent_connectable_interface->disconnect(connectable);
+
+ //TODO:JK: implement me
+}
+
+
+/**
+ * ags_matrix_bulk_input_new:
+ * @matrix_bulk_input: the parent matrix_bulk_input
+ * @audio: the #AgsAudio to visualize
+ * @channel_type: either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ *
+ * Creates an #AgsMatrixBulkInput
+ *
+ * Returns: a new #AgsMatrixBulkInput
+ *
+ * Since: 0.4
+ */
+AgsMatrixBulkInput*
+ags_matrix_bulk_input_new(AgsAudio *audio,
+ GType channel_type)
+{
+ AgsMatrixBulkInput *matrix_bulk_input;
+
+ matrix_bulk_input = (AgsMatrixBulkInput *) g_object_new(AGS_TYPE_MATRIX_BULK_INPUT,
+ "audio\0", audio,
+ "channel-type\0", channel_type,
+ NULL);
+
+ return(matrix_bulk_input);
+}
diff --git a/src/ags/X/machine/ags_matrix_bulk_input.h b/src/ags/X/machine/ags_matrix_bulk_input.h
new file mode 100644
index 0000000..e296878
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bulk_input.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MATRIX_BULK_INPUT_H__
+#define __AGS_MATRIX_BULK_INPUT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+#define AGS_TYPE_MATRIX_BULK_INPUT (ags_matrix_bulk_input_get_type())
+#define AGS_MATRIX_BULK_INPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MATRIX_BULK_INPUT, AgsMatrixBulkInput))
+#define AGS_MATRIX_BULK_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MATRIX_BULK_INPUT, AgsMatrixBulkInputClass))
+#define AGS_IS_MATRIX_BULK_INPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MATRIX_BULK_INPUT))
+#define AGS_IS_MATRIX_BULK_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MATRIX_BULK_INPUT))
+#define AGS_MATRIX_BULK_INPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MATRIX_BULK_INPUT, AgsMatrixBulkInputClass))
+
+typedef struct _AgsMatrixBulkInput AgsMatrixBulkInput;
+typedef struct _AgsMatrixBulkInputClass AgsMatrixBulkInputClass;
+
+struct _AgsMatrixBulkInput
+{
+ AgsEffectBulk effect_bulk;
+};
+
+struct _AgsMatrixBulkInputClass
+{
+ AgsEffectBulkClass effect_bulk;
+};
+
+GType ags_matrix_bulk_input_get_type(void);
+
+AgsMatrixBulkInput* ags_matrix_bulk_input_new(AgsAudio *audio,
+ GType channel_type);
+
+#endif /*__AGS_MATRIX_BULK_INPUT_H__*/
diff --git a/src/ags/X/machine/ags_matrix_bulk_input_callbacks.c b/src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
new file mode 100644
index 0000000..a64d696
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bulk_input_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_matrix_bulk_input_callbacks.h>
diff --git a/src/ags/X/machine/ags_matrix_bulk_input_callbacks.h b/src/ags/X/machine/ags_matrix_bulk_input_callbacks.h
new file mode 100644
index 0000000..7639566
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_bulk_input_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MATRIX_BULK_INPUT_CALLBACKS_H__
+#define __AGS_MATRIX_BULK_INPUT_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_matrix_bulk_input.h>
+
+#endif /*__AGS_MATRIX_BULK_INPUT_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_matrix_callbacks.c b/src/ags/X/machine/ags_matrix_callbacks.c
new file mode 100644
index 0000000..5cc222a
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_callbacks.c
@@ -0,0 +1,337 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_matrix_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags/widget/ags_led.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/task/ags_toggle_led.h>
+#include <ags/audio/task/ags_toggle_pattern_bit.h>
+
+#include <ags/audio/task/recall/ags_apply_bpm.h>
+#include <ags/audio/task/recall/ags_apply_sequencer_length.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_navigation.h>
+
+#include <math.h>
+
+void ags_matrix_refresh_gui_callback(AgsTogglePatternBit *toggle_pattern_bit,
+ AgsMatrix *matrix);
+
+extern const char *AGS_MATRIX_INDEX;
+
+void
+ags_matrix_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsMatrix *matrix)
+{
+ AgsWindow *window;
+
+ if(old_parent != NULL)
+ return;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(widget);
+
+ AGS_MACHINE(matrix)->name = g_strdup_printf("Default %d\0",
+ ags_window_find_machine_counter(window, AGS_TYPE_MATRIX)->counter);
+ ags_window_increment_machine_counter(window,
+ AGS_TYPE_MATRIX);
+}
+
+void
+ags_matrix_index_callback(GtkWidget *widget, AgsMatrix *matrix)
+{
+ GtkToggleButton *toggle;
+
+ if(matrix->selected != NULL){
+ if(GTK_TOGGLE_BUTTON(widget) != matrix->selected){
+ AgsAudio *audio;
+ AgsCopyPatternAudio *recall_copy_pattern_audio, *play_copy_pattern_audio;
+ GList *list;
+ GValue play_value = {0,};
+ GValue recall_value = {0,};
+
+ audio = AGS_MACHINE(matrix)->audio;
+
+ /* refresh GUI */
+ toggle = matrix->selected;
+ matrix->selected = NULL;
+
+ gtk_toggle_button_set_active(toggle, FALSE);
+
+ matrix->selected = (GtkToggleButton*) widget;
+ ags_matrix_draw_matrix(matrix);
+
+ /* modify port */
+
+ /* recall */
+ list = ags_recall_find_type(audio->recall, AGS_TYPE_COPY_PATTERN_AUDIO);
+
+ if(list != NULL){
+ recall_copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(list->data);
+ }
+
+ g_value_init(&recall_value, G_TYPE_UINT);
+ g_value_set_uint(&recall_value, GPOINTER_TO_UINT(g_object_get_data((GObject *) widget, AGS_MATRIX_INDEX)));
+
+ ags_port_safe_write(recall_copy_pattern_audio->bank_index_1, &recall_value);
+
+ g_value_unset(&recall_value);
+ }else{
+ toggle = matrix->selected;
+ matrix->selected = NULL;
+ gtk_toggle_button_set_active(toggle, TRUE);
+ matrix->selected = toggle;
+ }
+ }
+}
+
+gboolean
+ags_matrix_drawing_area_expose_callback(GtkWidget *widget, GdkEventExpose *event, AgsMatrix *matrix)
+{
+ ags_matrix_draw_gutter(matrix);
+
+ return(FALSE);
+}
+
+gboolean
+ags_matrix_drawing_area_button_press_callback(GtkWidget *widget, GdkEventButton *event, AgsMatrix *matrix)
+{
+ if (event->button == 1){
+ AgsTogglePatternBit *toggle_pattern_bit;
+ AgsChannel *channel;
+ guint i, j;
+
+ i = (guint) floor((double) event->y / (double) AGS_MATRIX_CELL_HEIGHT);
+ j = (guint) floor((double) event->x / (double) AGS_MATRIX_CELL_WIDTH);
+
+ channel = ags_channel_nth(AGS_MACHINE(matrix)->audio->input, i + (guint) matrix->adjustment->value);
+
+ toggle_pattern_bit = ags_toggle_pattern_bit_new(channel->pattern->data,
+ i + (guint) matrix->adjustment->value,
+ 0, strtol(matrix->selected->button.label_text, NULL, 10) - 1,
+ j);
+ g_signal_connect(G_OBJECT(toggle_pattern_bit), "refresh-gui\0",
+ G_CALLBACK(ags_matrix_refresh_gui_callback), matrix);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_MACHINE(matrix)->audio->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(toggle_pattern_bit));
+ }else if (event->button == 3){
+ }
+
+ return(FALSE);
+}
+
+void
+ags_matrix_adjustment_value_changed_callback(GtkWidget *widget, AgsMatrix *matrix)
+{
+ ags_matrix_draw_matrix(matrix);
+}
+
+void
+ags_matrix_length_spin_callback(GtkWidget *spin_button, AgsMatrix *matrix)
+{
+ AgsWindow *window;
+ AgsApplySequencerLength *apply_sequencer_length;
+ gdouble length;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(GTK_WIDGET(matrix));
+
+ length = GTK_SPIN_BUTTON(spin_button)->adjustment->value;
+
+ apply_sequencer_length = ags_apply_sequencer_length_new(G_OBJECT(AGS_MACHINE(matrix)->audio),
+ length);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(apply_sequencer_length));
+}
+
+void
+ags_matrix_loop_button_callback(GtkWidget *button, AgsMatrix *matrix)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ GList *list;
+ gboolean loop;
+
+ loop = (GTK_TOGGLE_BUTTON(button)->active) ? TRUE: FALSE;
+
+ /* AgsCopyPatternAudio */
+ list = AGS_MACHINE(matrix)->audio->play;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_COUNT_BEATS_AUDIO)) != NULL){
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+
+ count_beats_audio->loop->port_value.ags_port_boolean = loop;
+
+ list = list->next;
+ }
+
+ list = AGS_MACHINE(matrix)->audio->recall;
+
+ while((list = ags_recall_find_type(list,
+ AGS_TYPE_COUNT_BEATS_AUDIO)) != NULL){
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+
+ count_beats_audio->loop->port_value.ags_port_boolean = loop;
+
+ list = list->next;
+ }
+}
+
+void
+ags_matrix_refresh_gui_callback(AgsTogglePatternBit *toggle_pattern_bit,
+ AgsMatrix *matrix)
+{
+ AgsChannel *channel;
+ guint line;
+
+ channel = ags_channel_nth(AGS_MACHINE(matrix)->audio->input, toggle_pattern_bit->line);
+
+ ags_matrix_redraw_gutter_point(matrix, channel, toggle_pattern_bit->bit, toggle_pattern_bit->line - (guint) matrix->adjustment->value);
+}
+
+void
+ags_matrix_tact_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMatrix *matrix)
+{
+ AgsWindow *window;
+ AgsCountBeatsAudio *play_count_beats_audio;
+ AgsCountBeatsAudioRun *play_count_beats_audio_run;
+ AgsToggleLed *toggle_led;
+ GList *list;
+ guint counter, active_led;
+ gdouble active_led_old, active_led_new;
+ GValue value = {0,};
+
+ window = AGS_WINDOW(gtk_widget_get_ancestor((GtkWidget *) matrix, AGS_TYPE_WINDOW));
+
+ /* get some recalls */
+ list = ags_recall_find_type(audio->play,
+ AGS_TYPE_COUNT_BEATS_AUDIO);
+
+ if(list != NULL){
+ play_count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+ }
+
+ list = ags_recall_find_type_with_recycling_container(audio->play,
+ AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ (GObject *) recall_id->recycling_container);
+
+ if(list != NULL){
+ play_count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(list->data);
+ }
+
+ /* set optical feedback */
+ active_led_new = play_count_beats_audio_run->sequencer_counter;
+ matrix->active_led = (guint) active_led_new;
+
+ if(active_led_new == 0){
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(play_count_beats_audio->sequencer_loop_end,
+ &value);
+
+ active_led_old = g_value_get_double(&value) - 1.0;
+ }else{
+ active_led_old = (gdouble) matrix->active_led - 1.0;
+ }
+
+ //FIXME:JK: memory leak of GList
+ toggle_led = ags_toggle_led_new(gtk_container_get_children(GTK_CONTAINER(matrix->led)),
+ (guint) active_led_new,
+ (guint) active_led_old);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(window->ags_main)->main_loop)->task_thread),
+ AGS_TASK(toggle_led));
+}
+
+void
+ags_matrix_done_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMatrix *matrix)
+{
+ GList *devout_play;
+ gboolean all_done;
+
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+
+ /* check unset */
+ all_done = TRUE;
+
+ while(devout_play != NULL){
+ if(AGS_DEVOUT_PLAY(devout_play->data)->recall_id[1] != NULL){
+ all_done = FALSE;
+ break;
+ }
+
+ devout_play = devout_play->next;
+ }
+
+ if(all_done){
+ GList *list;
+ guint active_led;
+
+ /* get active led */
+ if(matrix->active_led == 0){
+ AgsCountBeatsAudio *play_count_beats_audio;
+ GValue value = {0,};
+
+ /* get some recalls */
+ list = ags_recall_find_type(audio->play,
+ AGS_TYPE_COUNT_BEATS_AUDIO);
+
+ if(list != NULL){
+ play_count_beats_audio = AGS_COUNT_BEATS_AUDIO(list->data);
+ }
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(play_count_beats_audio->sequencer_loop_end,
+ &value);
+
+ active_led = g_value_get_double(&value) - 1.0;
+ }else{
+ active_led = matrix->active_led - 1;
+ }
+
+ /* unset led */
+ list = gtk_container_get_children(GTK_CONTAINER(matrix->led));
+ ags_led_unset_active(AGS_LED(g_list_nth(list,
+ active_led)->data));
+
+ g_list_free(list);
+ }
+}
diff --git a/src/ags/X/machine/ags_matrix_callbacks.h b/src/ags/X/machine/ags_matrix_callbacks.h
new file mode 100644
index 0000000..3b3a381
--- /dev/null
+++ b/src/ags/X/machine/ags_matrix_callbacks.h
@@ -0,0 +1,50 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MATRIX_CALLBACKS_H__
+#define __AGS_MATRIX_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/recall/ags_delay_audio_run.h>
+
+#include <ags/X/machine/ags_matrix.h>
+
+void ags_matrix_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsMatrix *matrix);
+
+/* controls */
+void ags_matrix_index_callback(GtkWidget *widget, AgsMatrix *matrix);
+gboolean ags_matrix_drawing_area_expose_callback(GtkWidget *widget, GdkEventExpose *event, AgsMatrix *matrix);
+gboolean ags_matrix_drawing_area_button_press_callback(GtkWidget *widget, GdkEventButton *event, AgsMatrix *matrix);
+void ags_matrix_adjustment_value_changed_callback(GtkWidget *widget, AgsMatrix *matrix);
+
+void ags_matrix_bpm_callback(GtkWidget *spin_button, AgsMatrix *matrix);
+void ags_matrix_length_spin_callback(GtkWidget *spin_button, AgsMatrix *matrix);
+void ags_matrix_loop_button_callback(GtkWidget *button, AgsMatrix *matrix);
+
+/* audio */
+void ags_matrix_tact_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMatrix *matrix);
+void ags_matrix_done_callback(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ AgsMatrix *matrix);
+
+#endif /*__AGS_MATRIX_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_mixer.c b/src/ags/X/machine/ags_mixer.c
new file mode 100644
index 0000000..f4f5cab
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer.c
@@ -0,0 +1,412 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_mixer.h>
+#include <ags/X/machine/ags_mixer_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_gui.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line.h>
+
+#include <ags/X/machine/ags_mixer_input_pad.h>
+#include <ags/X/machine/ags_mixer_input_line.h>
+
+void ags_mixer_class_init(AgsMixerClass *mixer);
+void ags_mixer_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mixer_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_mixer_init(AgsMixer *mixer);
+void ags_mixer_finalize(GObject *gobject);
+void ags_mixer_connect(AgsConnectable *connectable);
+void ags_mixer_disconnect(AgsConnectable *connectable);
+void ags_mixer_show(GtkWidget *widget);
+void ags_mixer_map_recall(AgsMachine *machine);
+gchar* ags_mixer_get_name(AgsPlugin *plugin);
+void ags_mixer_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_mixer_get_xml_type(AgsPlugin *plugin);
+void ags_mixer_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_mixer_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_mixer_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+void ags_mixer_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+
+void ags_mixer_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data);
+void ags_mixer_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data);
+
+/**
+ * SECTION:ags_mixer
+ * @short_description: mixer
+ * @title: AgsMixer
+ * @section_id:
+ * @include: ags/X/machine/ags_mixer.h
+ *
+ * The #AgsMixer is a composite widget to act as mixer.
+ */
+
+static gpointer ags_mixer_parent_class = NULL;
+
+static AgsConnectableInterface *ags_mixer_parent_connectable_interface;
+
+extern const char *AGS_MIX_VOLUME;
+
+GType
+ags_mixer_get_type(void)
+{
+ static GType ags_type_mixer = 0;
+
+ if(!ags_type_mixer){
+ static const GTypeInfo ags_mixer_info = {
+ sizeof(AgsMixerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mixer_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMixer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mixer_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mixer_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_mixer_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mixer = g_type_register_static(AGS_TYPE_MACHINE,
+ "AgsMixer\0", &ags_mixer_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mixer,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_mixer,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_mixer);
+}
+
+void
+ags_mixer_class_init(AgsMixerClass *mixer)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsMachineClass *machine;
+
+ ags_mixer_parent_class = g_type_class_peek_parent(mixer);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) mixer;
+
+ gobject->finalize = ags_mixer_finalize;
+
+ /* GtkWidget */
+ widget = (GtkWidgetClass *) mixer;
+ // widget->show = ags_mixer_show;
+
+ /* AgsMachine */
+ machine = (AgsMachineClass *) mixer;
+
+ machine->map_recall = ags_mixer_map_recall;
+}
+
+void
+ags_mixer_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_mixer_connectable_parent_interface;
+
+ ags_mixer_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mixer_connect;
+ connectable->disconnect = ags_mixer_disconnect;
+}
+
+void
+ags_mixer_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_mixer_get_name;
+ plugin->set_name = ags_mixer_set_name;
+ plugin->get_xml_type = ags_mixer_get_xml_type;
+ plugin->set_xml_type = ags_mixer_set_xml_type;
+ plugin->read = ags_mixer_read;
+ plugin->write = ags_mixer_write;
+}
+
+void
+ags_mixer_init(AgsMixer *mixer)
+{
+ g_signal_connect_after((GObject *) mixer, "parent_set\0",
+ G_CALLBACK(ags_mixer_parent_set_callback), (gpointer) mixer);
+
+ AGS_MACHINE(mixer)->audio->flags |= (AGS_AUDIO_ASYNC);
+
+ AGS_MACHINE(mixer)->input_pad_type = AGS_TYPE_MIXER_INPUT_PAD;
+ AGS_MACHINE(mixer)->input_line_type = AGS_TYPE_MIXER_INPUT_LINE;
+ AGS_MACHINE(mixer)->output_pad_type = G_TYPE_NONE;
+ AGS_MACHINE(mixer)->output_line_type = G_TYPE_NONE;
+
+ /* AgsAudio */
+ g_signal_connect_after(G_OBJECT(mixer->machine.audio), "set_audio_channels\0",
+ G_CALLBACK(ags_mixer_set_audio_channels), NULL);
+
+ g_signal_connect_after(G_OBJECT(mixer->machine.audio), "set_pads\0",
+ G_CALLBACK(ags_mixer_set_pads), NULL);
+
+ /* */
+ mixer->name = NULL;
+ mixer->xml_type = "ags-mixer\0";
+
+ mixer->input_pad = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ AGS_MACHINE(mixer)->input = (GtkContainer *) mixer->input_pad;
+ gtk_container_add((GtkContainer*) (gtk_container_get_children((GtkContainer *) mixer))->data, (GtkWidget *) mixer->input_pad);
+}
+
+void
+ags_mixer_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_mixer_parent_class)->finalize(gobject);
+}
+
+void
+ags_mixer_connect(AgsConnectable *connectable)
+{
+ AgsMixer *mixer;
+
+ if((AGS_MACHINE_CONNECTED & (AGS_MACHINE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_mixer_parent_connectable_interface->connect(connectable);
+
+ /* AgsMixer */
+ mixer = AGS_MIXER(connectable);
+
+ // g_signal_connect((GObject *) mixer, "destroy\0",
+ // G_CALLBACK(ags_mixer_destroy_callback), (gpointer) mixer);
+}
+
+void
+ags_mixer_disconnect(AgsConnectable *connectable)
+{
+ AgsMixer *mixer;
+
+ ags_mixer_parent_connectable_interface->disconnect(connectable);
+
+ /* AgsMixer */
+ mixer = AGS_MIXER(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_mixer_show(GtkWidget *widget)
+{
+}
+
+void
+ags_mixer_map_recall(AgsMachine *machine)
+{
+ AGS_MACHINE_CLASS(ags_mixer_parent_class)->map_recall(machine);
+
+ /* empty */
+}
+
+gchar*
+ags_mixer_get_name(AgsPlugin *plugin)
+{
+ return(AGS_MIXER(plugin)->name);
+}
+
+void
+ags_mixer_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_MIXER(plugin)->name = name;
+}
+
+gchar*
+ags_mixer_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_MIXER(plugin)->xml_type);
+}
+
+void
+ags_mixer_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_MIXER(plugin)->xml_type = xml_type;
+}
+
+void
+ags_mixer_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsMixer *gobject;
+ AgsFileLookup *file_lookup;
+ GList *list;
+ guint64 index;
+
+ gobject = AGS_MIXER(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ list = file->lookup;
+
+ while((file_lookup = ags_file_lookup_find_by_node(list,
+ node->parent)) != NULL){
+ if(g_signal_handler_find(list->data,
+ G_SIGNAL_MATCH_FUNC,
+ 0,
+ 0,
+ NULL,
+ ags_file_read_machine_resolve_audio,
+ NULL) != 0){
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_mixer_read_resolve_audio), gobject);
+
+ break;
+ }
+
+ list = list->next;
+ }
+}
+
+void
+ags_mixer_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsMixer *mixer;
+ GList *pad, *pad_start, *line, *line_start;
+
+ mixer = AGS_MIXER(machine);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_mixer_set_audio_channels), mixer);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_mixer_set_pads), mixer);
+}
+
+xmlNode*
+ags_mixer_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsMixer *mixer;
+ xmlNode *node;
+ gchar *id;
+ guint i;
+
+ mixer = AGS_MIXER(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-mixer\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", mixer,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_mixer_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data)
+{
+ /* empty */
+}
+
+void
+ags_mixer_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data)
+{
+ /* empty */
+}
+
+/**
+ * ags_mixer_new:
+ * @devout: the assigned devout.
+ *
+ * Creates an #AgsMixer
+ *
+ * Returns: a new #AgsMixer
+ *
+ * Since: 0.3
+ */
+AgsMixer*
+ags_mixer_new(GObject *devout)
+{
+ AgsMixer *mixer;
+
+ mixer = (AgsMixer *) g_object_new(AGS_TYPE_MIXER,
+ NULL);
+
+ g_object_set(G_OBJECT(AGS_MACHINE(mixer)->audio),
+ "devout\0", devout,
+ NULL);
+
+ return(mixer);
+}
diff --git a/src/ags/X/machine/ags_mixer.h b/src/ags/X/machine/ags_mixer.h
new file mode 100644
index 0000000..5cf640d
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MIXER_H__
+#define __AGS_MIXER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#define AGS_TYPE_MIXER (ags_mixer_get_type())
+#define AGS_MIXER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_MIXER, AgsMixer))
+#define AGS_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIXER, AgsMixerClass))
+#define AGS_IS_MIXER(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, AGS_TYPE_MIXER))
+#define AGS_IS_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MIXER))
+#define AGS_MIXER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MIXER, AgsMixerClass))
+
+typedef struct _AgsMixer AgsMixer;
+typedef struct _AgsMixerClass AgsMixerClass;
+
+struct _AgsMixer
+{
+ AgsMachine machine;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkHBox *input_pad;
+};
+
+struct _AgsMixerClass
+{
+ AgsMachineClass machine;
+};
+
+GType ags_mixer_get_type(void);
+
+AgsMixer* ags_mixer_new(GObject *devout);
+
+#endif /*__AGS_MIXER_H__*/
diff --git a/src/ags/X/machine/ags_mixer_callbacks.c b/src/ags/X/machine/ags_mixer_callbacks.c
new file mode 100644
index 0000000..3842d90
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer_callbacks.c
@@ -0,0 +1,37 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_mixer_callbacks.h>
+
+#include <ags/X/ags_window.h>
+
+void
+ags_mixer_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsMixer *mixer)
+{
+ AgsWindow *window;
+
+ if(old_parent != NULL)
+ return;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(widget);
+
+ AGS_MACHINE(mixer)->name = g_strdup_printf("Default %d\0",
+ ags_window_find_machine_counter(window, AGS_TYPE_MIXER)->counter);
+ ags_window_increment_machine_counter(window,
+ AGS_TYPE_MIXER);
+}
diff --git a/src/ags/X/machine/ags_mixer_callbacks.h b/src/ags/X/machine/ags_mixer_callbacks.h
new file mode 100644
index 0000000..bc69799
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer_callbacks.h
@@ -0,0 +1,30 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MIXER_CALLBACKS_H__
+#define __AGS_MIXER_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_mixer.h>
+
+void ags_mixer_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsMixer *mixer);
+
+#endif /*__AGS_MIXER_CALLBACKS_H__ */
diff --git a/src/ags/X/machine/ags_mixer_input_line.c b/src/ags/X/machine/ags_mixer_input_line.c
new file mode 100644
index 0000000..950804e
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer_input_line.c
@@ -0,0 +1,328 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_mixer_input_line.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/plugin/ags_plugin_stock.h>
+
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_peak_channel.h>
+#include <ags/audio/recall/ags_peak_channel_run.h>
+#include <ags/audio/recall/ags_volume_channel.h>
+#include <ags/audio/recall/ags_volume_channel_run.h>
+
+#include <ags/widget/ags_vindicator.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_line_callbacks.h>
+#include <ags/X/ags_line_member.h>
+
+#include <ags/X/machine/ags_mixer.h>
+
+void ags_mixer_input_line_class_init(AgsMixerInputLineClass *mixer_input_line);
+void ags_mixer_input_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mixer_input_line_init(AgsMixerInputLine *mixer_input_line);
+void ags_mixer_input_line_connect(AgsConnectable *connectable);
+void ags_mixer_input_line_disconnect(AgsConnectable *connectable);
+
+void ags_mixer_input_line_set_channel(AgsLine *line, AgsChannel *channel);
+void ags_mixer_input_line_map_recall(AgsLine *line,
+ guint output_pad_start);
+
+/**
+ * SECTION:ags_mixer_input_line
+ * @short_description: mixer input line
+ * @title: AgsMixerInputLine
+ * @section_id:
+ * @include: ags/X/machine/ags_mixer_input_line.h
+ *
+ * The #AgsMixerInputLine is a composite widget to act as mixer input line.
+ */
+
+static gpointer ags_mixer_input_line_parent_class = NULL;
+static AgsConnectableInterface *ags_mixer_input_line_parent_connectable_interface;
+
+GType
+ags_mixer_input_line_get_type()
+{
+ static GType ags_type_mixer_input_line = 0;
+
+ if(!ags_type_mixer_input_line){
+ static const GTypeInfo ags_mixer_input_line_info = {
+ sizeof(AgsMixerInputLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mixer_input_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMixerInputLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mixer_input_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mixer_input_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mixer_input_line = g_type_register_static(AGS_TYPE_LINE,
+ "AgsMixerInputLine\0", &ags_mixer_input_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mixer_input_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_mixer_input_line);
+}
+
+void
+ags_mixer_input_line_class_init(AgsMixerInputLineClass *mixer_input_line)
+{
+ AgsLineClass *line;
+
+ ags_mixer_input_line_parent_class = g_type_class_peek_parent(mixer_input_line);
+
+ /* AgsLineClass */
+ line = AGS_LINE_CLASS(mixer_input_line);
+
+ line->set_channel = ags_mixer_input_line_set_channel;
+ line->map_recall = ags_mixer_input_line_map_recall;
+}
+
+void
+ags_mixer_input_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_mixer_input_line_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mixer_input_line_connect;
+ connectable->disconnect = ags_mixer_input_line_disconnect;
+}
+
+void
+ags_mixer_input_line_init(AgsMixerInputLine *mixer_input_line)
+{
+ AgsLineMember *line_member;
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+
+ /* volume indicator */
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ "widget-type\0", AGS_TYPE_VINDICATOR,
+ "plugin-name\0", "ags-peak\0",
+ "specifier\0", "./peak[0]\0",
+ "control-port\0", "1/1\0",
+ NULL);
+ line_member->flags |= (AGS_LINE_MEMBER_PLAY_CALLBACK_WRITE |
+ AGS_LINE_MEMBER_RECALL_CALLBACK_WRITE);
+ ags_expander_add(AGS_LINE(mixer_input_line)->expander,
+ GTK_WIDGET(line_member),
+ 0, 0,
+ 1, 1);
+ widget = gtk_bin_get_child(GTK_BIN(line_member));
+
+ adjustment = gtk_adjustment_new(0.0, 0.0, 10.0, 1.0, 1.0, 10.0);
+ g_object_set(widget,
+ "adjustment\0", adjustment,
+ NULL);
+
+ gtk_widget_set_size_request(widget,
+ 16, 100);
+ gtk_widget_queue_draw(widget);
+
+ /* volume */
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ "widget-type\0", GTK_TYPE_VSCALE,
+ "plugin-name\0", "ags-volume\0",
+ "specifier\0", "./volume[0]\0",
+ "control-port\0", "1/1\0",
+ NULL);
+ ags_expander_add(AGS_LINE(mixer_input_line)->expander,
+ GTK_WIDGET(line_member),
+ 1, 0,
+ 1, 1);
+
+ widget = gtk_bin_get_child(GTK_BIN(line_member));
+
+ gtk_scale_set_digits(GTK_SCALE(widget),
+ 3);
+
+ gtk_range_set_range(GTK_RANGE(widget),
+ 0.0, 2.00);
+ gtk_range_set_increments(GTK_RANGE(widget),
+ 0.025, 0.1);
+ gtk_range_set_value(GTK_RANGE(widget),
+ 1.0);
+ gtk_range_set_inverted(GTK_RANGE(widget),
+ TRUE);
+
+ gtk_widget_set_size_request(widget,
+ -1, 100);
+}
+
+void
+ags_mixer_input_line_connect(AgsConnectable *connectable)
+{
+ AgsMixerInputLine *mixer_input_line;
+
+ mixer_input_line = AGS_MIXER_INPUT_LINE(connectable);
+
+ if((AGS_LINE_CONNECTED & (AGS_LINE(mixer_input_line)->flags)) != 0){
+ return;
+ }
+
+ ags_mixer_input_line_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_mixer_input_line_disconnect(AgsConnectable *connectable)
+{
+ ags_mixer_input_line_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mixer_input_line_set_channel(AgsLine *line, AgsChannel *channel)
+{
+ AgsMixerInputLine *mixer_input_line;
+
+ AGS_LINE_CLASS(ags_mixer_input_line_parent_class)->set_channel(line, channel);
+
+ mixer_input_line = AGS_MIXER_INPUT_LINE(line);
+
+ /* empty */
+}
+
+void
+ags_mixer_input_line_map_recall(AgsLine *line,
+ guint output_pad_start)
+{
+ AgsMixer *mixer;
+ AgsMixerInputLine *mixer_input_line;
+ AgsAudio *audio;
+ AgsChannel *source;
+ AgsRecallHandler *recall_handler;
+
+ AgsPeakChannelRun *recall_peak_channel_run, *play_peak_channel_run;
+
+ GList *list;
+ guint i;
+
+ if((AGS_LINE_MAPPED_RECALL & (line->flags)) != 0 ||
+ (AGS_LINE_PREMAPPED_RECALL & (line->flags)) != 0){
+ return;
+ }
+
+ mixer_input_line = AGS_MIXER_INPUT_LINE(line);
+
+ audio = AGS_AUDIO(line->channel->audio);
+
+ mixer = AGS_MIXER(audio->machine);
+
+ source = line->channel;
+
+ /* ags-peak */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-peak\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ /* play - connect run_post */
+ list = ags_recall_template_find_type(source->play,
+ AGS_TYPE_PEAK_CHANNEL_RUN);
+
+ if(list != NULL){
+ play_peak_channel_run = AGS_PEAK_CHANNEL_RUN(list->data);
+
+ recall_handler = (AgsRecallHandler *) malloc(sizeof(AgsRecallHandler));
+
+ recall_handler->signal_name = "run-post\0";
+ recall_handler->callback = G_CALLBACK(ags_line_peak_run_post_callback);
+ recall_handler->data = (gpointer) line;
+
+ ags_recall_add_handler(AGS_RECALL(play_peak_channel_run), recall_handler);
+ }
+
+ /* recall - connect run_post */
+ list = ags_recall_template_find_type(source->recall,
+ AGS_TYPE_PEAK_CHANNEL_RUN);
+
+ if(list != NULL){
+ recall_peak_channel_run = AGS_PEAK_CHANNEL_RUN(list->data);
+
+ recall_handler = (AgsRecallHandler *) malloc(sizeof(AgsRecallHandler));
+
+ recall_handler->signal_name = "run-post\0";
+ recall_handler->callback = G_CALLBACK(ags_line_peak_run_post_callback);
+ recall_handler->data = (gpointer) line;
+
+ ags_recall_add_handler(AGS_RECALL(recall_peak_channel_run), recall_handler);
+ }
+
+ /* ags-volume */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-volume\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ /* call parent */
+ AGS_LINE_CLASS(ags_mixer_input_line_parent_class)->map_recall(line,
+ output_pad_start);
+}
+
+/**
+ * ags_mixer_input_line_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsMixerInputLine
+ *
+ * Returns: a new #AgsMixerInputLine
+ *
+ * Since: 0.4
+ */
+AgsMixerInputLine*
+ags_mixer_input_line_new(AgsChannel *channel)
+{
+ AgsMixerInputLine *mixer_input_line;
+
+ mixer_input_line = (AgsMixerInputLine *) g_object_new(AGS_TYPE_MIXER_INPUT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(mixer_input_line);
+}
+
diff --git a/src/ags/X/machine/ags_mixer_input_line.h b/src/ags/X/machine/ags_mixer_input_line.h
new file mode 100644
index 0000000..f812172
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer_input_line.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MIXER_INPUT_LINE_H__
+#define __AGS_MIXER_INPUT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line.h>
+
+#define AGS_TYPE_MIXER_INPUT_LINE (ags_mixer_input_line_get_type())
+#define AGS_MIXER_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIXER_INPUT_LINE, AgsMixerInputLine))
+#define AGS_MIXER_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIXER_INPUT_LINE, AgsMixerInputLineClass))
+#define AGS_IS_MIXER_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MIXER_INPUT_LINE))
+#define AGS_IS_MIXER_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MIXER_INPUT_LINE))
+#define AGS_MIXER_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_MIXER_INPUT_LINE, AgsMixerInputLineClass))
+
+typedef struct _AgsMixerInputLine AgsMixerInputLine;
+typedef struct _AgsMixerInputLineClass AgsMixerInputLineClass;
+
+struct _AgsMixerInputLine
+{
+ AgsLine line;
+};
+
+struct _AgsMixerInputLineClass
+{
+ AgsLineClass line;
+};
+
+GType ags_mixer_input_line_get_type();
+
+AgsMixerInputLine* ags_mixer_input_line_new(AgsChannel *channel);
+
+#endif /*__AGS_MIXER_INPUT_LINE_H__*/
+
diff --git a/src/ags/X/machine/ags_mixer_input_pad.c b/src/ags/X/machine/ags_mixer_input_pad.c
new file mode 100644
index 0000000..a69726a
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer_input_pad.c
@@ -0,0 +1,184 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_mixer_input_pad.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/machine/ags_mixer.h>
+
+#include <math.h>
+
+void ags_mixer_input_pad_class_init(AgsMixerInputPadClass *mixer_input_pad);
+void ags_mixer_input_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mixer_input_pad_init(AgsMixerInputPad *mixer_input_pad);
+void ags_mixer_input_pad_destroy(GtkObject *object);
+void ags_mixer_input_pad_connect(AgsConnectable *connectable);
+void ags_mixer_input_pad_disconnect(AgsConnectable *connectable);
+
+void ags_mixer_input_pad_set_channel(AgsPad *pad, AgsChannel *channel);
+void ags_mixer_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+/**
+ * SECTION:ags_mixer_input_pad
+ * @short_description: mixer input pad
+ * @title: AgsMixerInputPad
+ * @section_id:
+ * @include: ags/X/machine/ags_mixer_input_pad.h
+ *
+ * The #AgsMixerInputPad is a composite widget to act as mixer input pad.
+ */
+
+static gpointer ags_mixer_input_pad_parent_class = NULL;
+static AgsConnectableInterface *ags_mixer_input_pad_parent_connectable_interface;
+
+GType
+ags_mixer_input_pad_get_type()
+{
+ static GType ags_type_mixer_input_pad = 0;
+
+ if(!ags_type_mixer_input_pad){
+ static const GTypeInfo ags_mixer_input_pad_info = {
+ sizeof(AgsMixerInputPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mixer_input_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMixerInputPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mixer_input_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mixer_input_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mixer_input_pad = g_type_register_static(AGS_TYPE_PAD,
+ "AgsMixerInputPad\0", &ags_mixer_input_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mixer_input_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_mixer_input_pad);
+}
+
+void
+ags_mixer_input_pad_class_init(AgsMixerInputPadClass *mixer_input_pad)
+{
+ AgsPadClass *pad;
+
+ ags_mixer_input_pad_parent_class = g_type_class_peek_parent(mixer_input_pad);
+
+ pad = (AgsPadClass *) mixer_input_pad;
+
+ pad->set_channel = ags_mixer_input_pad_set_channel;
+ pad->resize_lines = ags_mixer_input_pad_resize_lines;
+}
+
+void
+ags_mixer_input_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_mixer_input_pad_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mixer_input_pad_connect;
+ connectable->disconnect = ags_mixer_input_pad_disconnect;
+}
+
+void
+ags_mixer_input_pad_init(AgsMixerInputPad *mixer_input_pad)
+{
+}
+
+void
+ags_mixer_input_pad_connect(AgsConnectable *connectable)
+{
+ AgsMixerInputPad *mixer_input_pad;
+
+ /* AgsMixerInputPad */
+ mixer_input_pad = AGS_MIXER_INPUT_PAD(connectable);
+
+ if((AGS_PAD_CONNECTED & (AGS_PAD(mixer_input_pad)->flags)) != 0){
+ return;
+ }
+
+ ags_mixer_input_pad_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_mixer_input_pad_disconnect(AgsConnectable *connectable)
+{
+ ags_mixer_input_pad_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mixer_input_pad_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+void
+ags_mixer_input_pad_set_channel(AgsPad *pad, AgsChannel *channel)
+{
+ AGS_PAD_CLASS(ags_mixer_input_pad_parent_class)->set_channel(pad, channel);
+
+ /* empty */
+}
+
+void
+ags_mixer_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ AGS_PAD_CLASS(ags_mixer_input_pad_parent_class)->resize_lines(pad, line_type,
+ audio_channels, audio_channels_old);
+
+ /* empty */
+}
+
+/**
+ * ags_mixer_input_pad_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsMixerInputPad
+ *
+ * Returns: a new #AgsMixerInputPad
+ *
+ * Since: 0.4
+ */
+AgsMixerInputPad*
+ags_mixer_input_pad_new(AgsChannel *channel)
+{
+ AgsMixerInputPad *mixer_input_pad;
+
+ mixer_input_pad = (AgsMixerInputPad *) g_object_new(AGS_TYPE_MIXER_INPUT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(mixer_input_pad);
+}
+
diff --git a/src/ags/X/machine/ags_mixer_input_pad.h b/src/ags/X/machine/ags_mixer_input_pad.h
new file mode 100644
index 0000000..f94529f
--- /dev/null
+++ b/src/ags/X/machine/ags_mixer_input_pad.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MIXER_INPUT_PAD_H__
+#define __AGS_MIXER_INPUT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_pad.h>
+
+#define AGS_TYPE_MIXER_INPUT_PAD (ags_mixer_input_pad_get_type())
+#define AGS_MIXER_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIXER_INPUT_PAD, AgsMixerInputPad))
+#define AGS_MIXER_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIXER_INPUT_PAD, AgsMixerInputPadClass))
+#define AGS_IS_MIXER_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MIXER_INPUT_PAD))
+#define AGS_IS_MIXER_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MIXER_INPUT_PAD))
+#define AGS_MIXER_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_MIXER_INPUT_PAD, AgsMixerInputPadClass))
+
+typedef struct _AgsMixerInputPad AgsMixerInputPad;
+typedef struct _AgsMixerInputPadClass AgsMixerInputPadClass;
+
+struct _AgsMixerInputPad
+{
+ AgsPad pad;
+};
+
+struct _AgsMixerInputPadClass
+{
+ AgsPadClass pad;
+};
+
+GType ags_mixer_input_pad_get_type();
+
+AgsMixerInputPad* ags_mixer_input_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_MIXER_INPUT_PAD_H__*/
diff --git a/src/ags/X/machine/ags_oscillator.c b/src/ags/X/machine/ags_oscillator.c
new file mode 100644
index 0000000..ff8390f
--- /dev/null
+++ b/src/ags/X/machine/ags_oscillator.c
@@ -0,0 +1,398 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_oscillator.h>
+#include <ags/X/machine/ags_oscillator_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+
+void ags_oscillator_class_init(AgsOscillatorClass *oscillator);
+void ags_oscillator_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_oscillator_init(AgsOscillator *oscillator);
+void ags_oscillator_connect(AgsConnectable *connectable);
+void ags_oscillator_disconnect(AgsConnectable *connectable);
+void ags_oscillator_destroy(GtkObject *object);
+void ags_oscillator_show(GtkWidget *widget);
+
+/**
+ * SECTION:ags_oscillator
+ * @short_description: oscillator
+ * @title: AgsOscillator
+ * @section_id:
+ * @include: ags/X/machine/ags_oscillator.h
+ *
+ * The #AgsOscillator is a composite widget to act as oscillator.
+ */
+
+static AgsConnectableInterface *ags_oscillator_parent_connectable_interface;
+
+GType
+ags_oscillator_get_type(void)
+{
+ static GType ags_type_oscillator = 0;
+
+ if(!ags_type_oscillator){
+ static const GTypeInfo ags_oscillator_info = {
+ sizeof(AgsOscillatorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_oscillator_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsOscillator),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_oscillator_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_oscillator_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_oscillator = g_type_register_static(GTK_TYPE_FRAME,
+ "AgsOscillator\0",
+ &ags_oscillator_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_oscillator,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_oscillator);
+}
+
+void
+ags_oscillator_class_init(AgsOscillatorClass *oscillator)
+{
+}
+
+void
+ags_oscillator_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_oscillator_connectable_parent_interface;
+
+ ags_oscillator_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_oscillator_connect;
+ connectable->disconnect = ags_oscillator_disconnect;
+}
+
+void
+ags_oscillator_init(AgsOscillator *oscillator)
+{
+ GtkTable *table;
+ GtkCellRenderer *cell_renderer;
+ GtkListStore *model;
+ GtkTreeIter iter;
+
+ table = (GtkTable *) gtk_table_new(8, 2, FALSE);
+ gtk_container_add((GtkContainer *) oscillator, (GtkWidget *) table);
+
+ gtk_table_attach_defaults(table,
+ (GtkWidget *) gtk_label_new("wave\0"),
+ 0, 1, 0, 1);
+
+ /* wave */
+ oscillator->wave = (GtkComboBox *) gtk_combo_box_text_new();
+ gtk_table_attach_defaults(table,
+ (GtkWidget *) oscillator->wave,
+ 1, 2, 0, 1);
+
+ cell_renderer = gtk_cell_renderer_text_new();
+ gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(oscillator->wave),
+ cell_renderer,
+ FALSE);
+ gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(oscillator->wave),
+ cell_renderer,
+ "text\0", 0,
+ NULL);
+
+ model = gtk_list_store_new(1, G_TYPE_STRING);
+
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, "sin\0",
+ -1);
+
+ /* gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, "cos\0",
+ -1); */
+
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, "sawtooth\0",
+ -1);
+
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, "square\0",
+ -1);
+
+ gtk_list_store_append(model, &iter);
+ gtk_list_store_set(model, &iter,
+ 0, "triangle\0",
+ -1);
+
+ gtk_combo_box_set_model(oscillator->wave, GTK_TREE_MODEL(model));
+ gtk_combo_box_set_active(oscillator->wave, 0);
+
+ /* other controls */
+ gtk_table_attach_defaults(table,
+ (GtkWidget *) gtk_label_new("attack\0"),
+ 2, 3, 0, 1);
+ oscillator->attack = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 100000.0, 1.0);
+ oscillator->attack->adjustment->value = 0.0;
+ gtk_table_attach_defaults(table, (GtkWidget *) oscillator->attack, 3, 4, 0, 1);
+
+ gtk_table_attach_defaults(table,
+ (GtkWidget *) gtk_label_new("length\0"),
+ 4, 5, 0, 1);
+ oscillator->frame_count = (GtkSpinButton *) gtk_spin_button_new_with_range(44100.0 / 27.5, 100000.0, 1.0);
+ oscillator->frame_count->adjustment->value = 3200;
+ gtk_table_attach_defaults(table, (GtkWidget *) oscillator->frame_count, 5, 6, 0, 1);
+
+ gtk_table_attach_defaults(table,
+ (GtkWidget *) gtk_label_new("phase\0"),
+ 0, 1, 1, 2);
+ oscillator->phase = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 100000.0, 1.0);
+ oscillator->phase->adjustment->value = 0.0;
+ gtk_table_attach_defaults(table, (GtkWidget *) oscillator->phase, 1, 2, 1, 2);
+
+ gtk_table_attach_defaults(table,
+ (GtkWidget *) gtk_label_new("frequency\0"),
+ 2, 3, 1, 2);
+ oscillator->frequency = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 100000.0, 1.0);
+ oscillator->frequency->adjustment->value = 27.5;
+ gtk_table_attach_defaults(table, (GtkWidget *) oscillator->frequency, 3, 4, 1, 2);
+
+ gtk_table_attach_defaults(table,
+ (GtkWidget *) gtk_label_new("volume\0"),
+ 4, 5, 1, 2);
+ oscillator->volume = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 1.0, 0.1);
+ oscillator->volume->adjustment->value = 0.2;
+ gtk_table_attach_defaults(table, (GtkWidget *) oscillator->volume, 5, 6, 1, 2);
+}
+
+void
+ags_oscillator_connect(AgsConnectable *connectable)
+{
+ AgsOscillator *oscillator;
+
+ oscillator = AGS_OSCILLATOR(connectable);
+
+ oscillator->wave_handler = g_signal_connect(G_OBJECT(oscillator->wave), "changed\0",
+ G_CALLBACK(ags_oscillator_wave_callback), oscillator);
+
+ oscillator->attack_handler = g_signal_connect(G_OBJECT(oscillator->attack), "value-changed\0",
+ G_CALLBACK(ags_oscillator_attack_callback), oscillator);
+
+ oscillator->frame_count_handler = g_signal_connect(G_OBJECT(oscillator->frame_count), "value-changed\0",
+ G_CALLBACK(ags_oscillator_frame_count_callback), oscillator);
+
+ oscillator->frequency_handler = g_signal_connect(G_OBJECT(oscillator->frequency), "value-changed\0",
+ G_CALLBACK(ags_oscillator_frequency_callback), oscillator);
+
+ oscillator->phase_handler = g_signal_connect(G_OBJECT(oscillator->phase), "value-changed\0",
+ G_CALLBACK(ags_oscillator_phase_callback), oscillator);
+
+ oscillator->volume_handler = g_signal_connect(G_OBJECT(oscillator->volume), "value-changed\0",
+ G_CALLBACK(ags_oscillator_volume_callback), oscillator);
+}
+
+void
+ags_oscillator_disconnect(AgsConnectable *connectable)
+{
+ AgsOscillator *oscillator;
+
+ oscillator = AGS_OSCILLATOR(connectable);
+
+ g_signal_handler_disconnect(G_OBJECT(oscillator->wave), oscillator->wave_handler);
+ g_signal_handler_disconnect(G_OBJECT(oscillator->attack), oscillator->attack_handler);
+ g_signal_handler_disconnect(G_OBJECT(oscillator->frame_count), oscillator->frame_count_handler);
+ g_signal_handler_disconnect(G_OBJECT(oscillator->frequency), oscillator->frequency_handler);
+ g_signal_handler_disconnect(G_OBJECT(oscillator->phase), oscillator->phase_handler);
+ g_signal_handler_disconnect(G_OBJECT(oscillator->volume), oscillator->volume_handler);
+}
+
+void
+ags_oscillator_destroy(GtkObject *object)
+{
+}
+
+void
+ags_oscillator_show(GtkWidget *widget)
+{
+}
+
+void
+ags_file_read_oscillator(AgsFile *file, xmlNode *node, AgsOscillator **oscillator)
+{
+ AgsOscillator *gobject;
+ xmlChar *wave;
+
+ if(*oscillator == NULL){
+ gobject = (AgsOscillator *) g_object_new(AGS_TYPE_OSCILLATOR,
+ NULL);
+ *oscillator = gobject;
+ }else{
+ gobject = *oscillator;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ wave = (xmlChar *) xmlGetProp(node,
+ "wave\0");
+
+ if(!xmlStrncmp(wave,
+ "sin\0",
+ 4)){
+ gtk_combo_box_set_active(gobject->wave,
+ 0);
+ }else if(!xmlStrncmp(wave,
+ "sawtooth\0",
+ 9)){
+ gtk_combo_box_set_active(gobject->wave,
+ 1);
+ }else if(!xmlStrncmp(wave,
+ "square\0",
+ 7)){
+ gtk_combo_box_set_active(gobject->wave,
+ 2);
+ }else if(!xmlStrncmp(wave,
+ "triangle\0",
+ 9)){
+ gtk_combo_box_set_active(gobject->wave,
+ 3);
+ }
+
+ gtk_spin_button_set_value(gobject->attack,
+ g_ascii_strtod(xmlGetProp(node,
+ "attack\0"),
+ NULL));
+
+ gtk_spin_button_set_value(gobject->frame_count,
+ g_ascii_strtod(xmlGetProp(node,
+ "frame-count\0"),
+ NULL));
+
+ gtk_spin_button_set_value(gobject->frequency,
+ g_ascii_strtod(xmlGetProp(node,
+ "frequency\0"),
+ NULL));
+
+ gtk_spin_button_set_value(gobject->phase,
+ g_ascii_strtod(xmlGetProp(node,
+ "phase\0"),
+ NULL));
+
+ gtk_spin_button_set_value(gobject->volume,
+ g_ascii_strtod(xmlGetProp(node,
+ "volume\0"),
+ NULL));
+}
+
+xmlNode*
+ags_file_write_oscillator(AgsFile *file, xmlNode *parent, AgsOscillator *oscillator)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-oscillator\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", oscillator,
+ NULL));
+
+ xmlNewProp(node,
+ "wave\0",
+ gtk_combo_box_text_get_active_text((GtkComboBoxText *) oscillator->wave));
+
+ xmlNewProp(node,
+ "attack\0",
+ g_strdup_printf("%f\0", oscillator->attack->adjustment->value));
+
+ xmlNewProp(node,
+ "frame-count\0",
+ g_strdup_printf("%f\0", oscillator->frame_count->adjustment->value));
+
+ xmlNewProp(node,
+ "frequency\0",
+ g_strdup_printf("%f\0", oscillator->frequency->adjustment->value));
+
+ xmlNewProp(node,
+ "phase\0",
+ g_strdup_printf("%f\0", oscillator->phase->adjustment->value));
+
+ xmlNewProp(node,
+ "volume\0",
+ g_strdup_printf("%f\0", oscillator->volume->adjustment->value));
+
+ xmlAddChild(parent,
+ node);
+}
+
+/**
+ * ags_oscillator_new:
+ *
+ * Creates an #AgsOscillator
+ *
+ * Returns: a new #AgsOscillator
+ *
+ * Since: 0.3
+ */
+AgsOscillator*
+ags_oscillator_new()
+{
+ AgsOscillator *oscillator;
+
+ oscillator = (AgsOscillator *) g_object_new(AGS_TYPE_OSCILLATOR, NULL);
+
+ return(oscillator);
+}
diff --git a/src/ags/X/machine/ags_oscillator.h b/src/ags/X/machine/ags_oscillator.h
new file mode 100644
index 0000000..5a51525
--- /dev/null
+++ b/src/ags/X/machine/ags_oscillator.h
@@ -0,0 +1,75 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_OSCILLATOR_H__
+#define __AGS_OSCILLATOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <libxml/tree.h>
+
+#include <ags/file/ags_file.h>
+
+#define AGS_TYPE_OSCILLATOR (ags_oscillator_get_type())
+#define AGS_OSCILLATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_OSCILLATOR, AgsOscillator))
+#define AGS_OSCILLATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_OSCILLATOR, AgsOscillatorClass))
+#define AGS_IS_OSCILLATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OSCILLATOR))
+#define AGS_IS_OSCILLATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OSCILLATOR))
+#define AGS_OSCILLATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OSCILLATOR, AgsOscillatorClass))
+
+typedef struct _AgsOscillator AgsOscillator;
+typedef struct _AgsOscillatorClass AgsOscillatorClass;
+
+struct _AgsOscillator
+{
+ GtkFrame frame;
+
+ GtkComboBox *wave;
+ gulong wave_handler;
+
+ GtkSpinButton *attack;
+ gulong attack_handler;
+
+ GtkSpinButton *frame_count;
+ gulong frame_count_handler;
+
+ GtkSpinButton *frequency;
+ gulong frequency_handler;
+
+ GtkSpinButton *phase;
+ gulong phase_handler;
+
+ GtkSpinButton *volume;
+ gulong volume_handler;
+};
+
+struct _AgsOscillatorClass
+{
+ GtkFrameClass frame;
+};
+
+GType ags_oscillator_get_type(void);
+
+void ags_file_read_oscillator(AgsFile *file, xmlNode *node, AgsOscillator **oscillator);
+xmlNode* ags_file_write_oscillator(AgsFile *file, xmlNode *parent, AgsOscillator *oscillator);
+
+AgsOscillator* ags_oscillator_new();
+
+#endif /*__AGS_OSCILLATOR_H__*/
diff --git a/src/ags/X/machine/ags_oscillator_callbacks.c b/src/ags/X/machine/ags_oscillator_callbacks.c
new file mode 100644
index 0000000..4a2a0ac
--- /dev/null
+++ b/src/ags/X/machine/ags_oscillator_callbacks.c
@@ -0,0 +1,92 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_oscillator_callbacks.h>
+#include <ags/X/machine/ags_synth.h>
+
+void
+ags_oscillator_wave_callback(GtkComboBox *combo, AgsOscillator *oscillator)
+{
+ AgsSynth *synth;
+
+ synth = gtk_widget_get_ancestor((GtkWidget *) oscillator, AGS_TYPE_SYNTH);
+
+ if((AGS_SYNTH_AUTO_UPDATE & (synth->flags)) != 0){
+ ags_synth_update(synth);
+ }
+}
+
+void
+ags_oscillator_attack_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator)
+{
+ AgsSynth *synth;
+
+ synth = gtk_widget_get_ancestor((GtkWidget *) oscillator, AGS_TYPE_SYNTH);
+
+ if((AGS_SYNTH_AUTO_UPDATE & (synth->flags)) != 0){
+ ags_synth_update(synth);
+ }
+}
+
+void
+ags_oscillator_frame_count_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator)
+{
+ AgsSynth *synth;
+
+ synth = gtk_widget_get_ancestor((GtkWidget *) oscillator, AGS_TYPE_SYNTH);
+
+ if((AGS_SYNTH_AUTO_UPDATE & (synth->flags)) != 0){
+ ags_synth_update(synth);
+ }
+}
+
+void
+ags_oscillator_frequency_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator)
+{
+ AgsSynth *synth;
+
+ synth = gtk_widget_get_ancestor((GtkWidget *) oscillator, AGS_TYPE_SYNTH);
+
+ if((AGS_SYNTH_AUTO_UPDATE & (synth->flags)) != 0){
+ ags_synth_update(synth);
+ }
+}
+
+void
+ags_oscillator_phase_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator)
+{
+ AgsSynth *synth;
+
+ synth = gtk_widget_get_ancestor((GtkWidget *) oscillator, AGS_TYPE_SYNTH);
+
+ if((AGS_SYNTH_AUTO_UPDATE & (synth->flags)) != 0){
+ ags_synth_update(synth);
+ }
+}
+
+void
+ags_oscillator_volume_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator)
+{
+ AgsSynth *synth;
+
+ synth = gtk_widget_get_ancestor((GtkWidget *) oscillator, AGS_TYPE_SYNTH);
+
+ if((AGS_SYNTH_AUTO_UPDATE & (synth->flags)) != 0){
+ ags_synth_update(synth);
+ }
+}
diff --git a/src/ags/X/machine/ags_oscillator_callbacks.h b/src/ags/X/machine/ags_oscillator_callbacks.h
new file mode 100644
index 0000000..e139889
--- /dev/null
+++ b/src/ags/X/machine/ags_oscillator_callbacks.h
@@ -0,0 +1,35 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_OSCILLATOR_CALLBACKS_H__
+#define __AGS_OSCILLATOR_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_oscillator.h>
+
+void ags_oscillator_wave_callback(GtkComboBox *combo, AgsOscillator *oscillator);
+void ags_oscillator_attack_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator);
+void ags_oscillator_frame_count_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator);
+void ags_oscillator_frequency_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator);
+void ags_oscillator_phase_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator);
+void ags_oscillator_volume_callback(GtkSpinButton *spin_button, AgsOscillator *oscillator);
+
+#endif /*__AGS_OSCILLATOR_CALLBACKS_H__ */
diff --git a/src/ags/X/machine/ags_panel.c b/src/ags/X/machine/ags_panel.c
new file mode 100644
index 0000000..4b6f398
--- /dev/null
+++ b/src/ags/X/machine/ags_panel.c
@@ -0,0 +1,429 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_panel.h>
+#include <ags/X/machine/ags_panel_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+#include <ags/file/ags_file_gui.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_channel_run_master.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/machine/ags_panel_input_pad.h>
+#include <ags/X/machine/ags_panel_input_line.h>
+
+void ags_panel_class_init(AgsPanelClass *panel);
+void ags_panel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_panel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_panel_init(AgsPanel *panel);
+static void ags_panel_finalize(GObject *gobject);
+void ags_panel_connect(AgsConnectable *connectable);
+void ags_panel_disconnect(AgsConnectable *connectable);
+void ags_panel_show(GtkWidget *widget);
+void ags_panel_map_recall(AgsMachine *machine);
+gchar* ags_panel_get_name(AgsPlugin *plugin);
+void ags_panel_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_panel_get_xml_type(AgsPlugin *plugin);
+void ags_panel_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_panel_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_panel_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+void ags_panel_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+
+void ags_file_read_panel(AgsFile *file, xmlNode *node, AgsMachine *panel);
+xmlNode* ags_file_write_panel(AgsFile *file, xmlNode *parent, AgsMachine *panel);
+
+void ags_panel_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data);
+void ags_panel_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data);
+
+/**
+ * SECTION:ags_panel
+ * @short_description: panel
+ * @title: AgsPanel
+ * @section_id:
+ * @include: ags/X/machine/ags_panel.h
+ *
+ * The #AgsPanel is a composite widget to act as panel.
+ */
+
+static gpointer ags_panel_parent_class = NULL;
+static AgsConnectableInterface *ags_panel_parent_connectable_interface;
+
+extern const char *AGS_COPY_INPUT_TO_OUTPUT;
+
+GType
+ags_panel_get_type(void)
+{
+ static GType ags_type_panel = 0;
+
+ if(!ags_type_panel){
+ static const GTypeInfo ags_panel_info = {
+ sizeof(AgsPanelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_panel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsPanel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_panel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_panel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_panel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_panel = g_type_register_static(AGS_TYPE_MACHINE,
+ "AgsPanel\0", &ags_panel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_panel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_panel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_panel);
+}
+
+void
+ags_panel_class_init(AgsPanelClass *panel)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsMachineClass *machine;
+
+ ags_panel_parent_class = g_type_class_peek_parent(panel);
+
+ /* GtkObjectClass */
+ gobject = (GObjectClass *) panel;
+
+ gobject->finalize = ags_panel_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) panel;
+
+ widget->show = ags_panel_show;
+
+ /* AgsMachine */
+ machine = (AgsMachineClass *) panel;
+
+ machine->map_recall = ags_panel_map_recall;
+}
+
+void
+ags_panel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_panel_connectable_parent_interface;
+
+ ags_panel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_panel_connect;
+ connectable->disconnect = ags_panel_disconnect;
+}
+
+void
+ags_panel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_panel_get_name;
+ plugin->set_name = ags_panel_set_name;
+ plugin->get_xml_type = ags_panel_get_xml_type;
+ plugin->set_xml_type = ags_panel_set_xml_type;
+ plugin->read = ags_panel_read;
+ plugin->write = ags_panel_write;
+}
+
+void
+ags_panel_init(AgsPanel *panel)
+{
+ g_signal_connect_after((GObject *) panel, "parent_set\0",
+ G_CALLBACK(ags_panel_parent_set_callback), (gpointer) panel);
+
+ AGS_MACHINE(panel)->audio->flags |= (AGS_AUDIO_SYNC);
+ AGS_MACHINE(panel)->input_pad_type = AGS_TYPE_PANEL_INPUT_PAD;
+
+ AGS_MACHINE(panel)->input_pad_type = AGS_TYPE_PANEL_INPUT_PAD;
+ AGS_MACHINE(panel)->input_line_type = AGS_TYPE_PANEL_INPUT_LINE;
+ AGS_MACHINE(panel)->output_pad_type = G_TYPE_NONE;
+ AGS_MACHINE(panel)->output_line_type = G_TYPE_NONE;
+
+ g_signal_connect_after(G_OBJECT(panel->machine.audio), "set_audio_channels\0",
+ G_CALLBACK(ags_panel_set_audio_channels), NULL);
+
+ g_signal_connect_after(G_OBJECT(panel->machine.audio), "set_pads\0",
+ G_CALLBACK(ags_panel_set_pads), NULL);
+
+ /* */
+ panel->name = NULL;
+ panel->xml_type = "ags-panel\0";
+
+ panel->vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_container_add((GtkContainer*) (gtk_bin_get_child((GtkContainer *) panel)), (GtkWidget *) panel->vbox);
+
+ // AGS_MACHINE(panel)->output = (GtkContainer *) gtk_hbox_new(FALSE, 0);
+ // gtk_box_pack_start((GtkBox *) panel->vbox, (GtkWidget *) AGS_MACHINE(panel)->output, FALSE, FALSE, 0);
+
+ AGS_MACHINE(panel)->input = (GtkContainer *) gtk_hbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) panel->vbox, (GtkWidget *) AGS_MACHINE(panel)->input, FALSE, FALSE, 0);
+}
+
+static void
+ags_panel_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_panel_parent_class)->finalize(gobject);
+}
+
+void
+ags_panel_connect(AgsConnectable *connectable)
+{
+ AgsPanel *panel;
+
+ if((AGS_MACHINE_CONNECTED & (AGS_MACHINE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_panel_parent_connectable_interface->connect(connectable);
+
+ /* AgsPanel */
+ panel = AGS_PANEL(connectable);
+
+ /* AgsAudio */
+}
+
+void
+ags_panel_disconnect(AgsConnectable *connectable)
+{
+ AgsPanel *panel;
+
+ ags_panel_parent_connectable_interface->disconnect(connectable);
+
+ /* AgsPanel */
+ panel = AGS_PANEL(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_panel_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_panel_parent_class)->show(widget);
+}
+
+void
+ags_panel_map_recall(AgsMachine *machine)
+{
+ AGS_MACHINE_CLASS(ags_panel_parent_class)->map_recall(machine);
+
+ /* empty */
+}
+
+gchar*
+ags_panel_get_name(AgsPlugin *plugin)
+{
+ return(AGS_PANEL(plugin)->name);
+}
+
+void
+ags_panel_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_PANEL(plugin)->name = name;
+}
+
+gchar*
+ags_panel_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_PANEL(plugin)->xml_type);
+}
+
+void
+ags_panel_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_PANEL(plugin)->xml_type = xml_type;
+}
+
+void
+ags_panel_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsPanel *gobject;
+ AgsFileLookup *file_lookup;
+ GList *list;
+ guint64 length, index;
+
+ gobject = AGS_PANEL(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ list = file->lookup;
+
+ while((file_lookup = ags_file_lookup_find_by_node(list,
+ node->parent)) != NULL){
+ if(g_signal_handler_find(list->data,
+ G_SIGNAL_MATCH_FUNC,
+ 0,
+ 0,
+ NULL,
+ ags_file_read_machine_resolve_audio,
+ NULL) != 0){
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_panel_read_resolve_audio), gobject);
+
+ break;
+ }
+
+ list = list->next;
+ }
+}
+
+void
+ags_panel_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsPanel *panel;
+ GList *pad, *pad_start, *line, *line_start;
+
+ panel = AGS_PANEL(machine);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_panel_set_audio_channels), panel);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_panel_set_pads), panel);
+}
+
+xmlNode*
+ags_panel_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsPanel *panel;
+ AgsFileLookup *file_lookup;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i;
+
+ panel = AGS_PANEL(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-panel\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", panel,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_panel_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ gpointer data)
+{
+ /* empty */
+}
+
+void
+ags_panel_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ gpointer data)
+{
+ /* empty */
+}
+
+/**
+ * ags_panel_new:
+ * @devout: the assigned devout.
+ *
+ * Creates an #AgsPanel
+ *
+ * Returns: a new #AgsPanel
+ *
+ * Since: 0.3
+ */
+AgsPanel*
+ags_panel_new(GObject *devout)
+{
+ AgsPanel *panel;
+ GValue value = {0,};
+
+ panel = (AgsPanel *) g_object_new(AGS_TYPE_PANEL,
+ NULL);
+
+ if(devout != NULL){
+ g_value_init(&value, G_TYPE_OBJECT);
+ g_value_set_object(&value, devout);
+ g_object_set_property(G_OBJECT(AGS_MACHINE(panel)->audio),
+ "devout\0", &value);
+ g_value_unset(&value);
+ }
+
+ return(panel);
+}
diff --git a/src/ags/X/machine/ags_panel.h b/src/ags/X/machine/ags_panel.h
new file mode 100644
index 0000000..18e38e3
--- /dev/null
+++ b/src/ags/X/machine/ags_panel.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PANEL_H__
+#define __AGS_PANEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#define AGS_TYPE_PANEL (ags_panel_get_type())
+#define AGS_PANEL(obj) ((AgsPanel*) G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PANEL, AgsPanel))
+#define AGS_PANEL_CLASS(class) ((AgsPanelClass*) G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PANEL, AgsPanelClass))
+#define AGS_IS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, AGS_TYPE_PANEL))
+#define AGS_IS_PANEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PANEL))
+#define AGS_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PANEL, AgsPanelClass))
+
+typedef struct _AgsPanel AgsPanel;
+typedef struct _AgsPanelClass AgsPanelClass;
+
+struct _AgsPanel
+{
+ AgsMachine machine;
+
+ gchar *name;
+ gchar *xml_type;
+
+ GtkVBox *vbox;
+};
+
+struct _AgsPanelClass
+{
+ AgsMachineClass machine;
+};
+
+GType ags_panel_get_type(void);
+
+AgsPanel* ags_panel_new();
+
+#endif /*__AGS_PANEL_H__*/
diff --git a/src/ags/X/machine/ags_panel_callbacks.c b/src/ags/X/machine/ags_panel_callbacks.c
new file mode 100644
index 0000000..0e9bcae
--- /dev/null
+++ b/src/ags/X/machine/ags_panel_callbacks.c
@@ -0,0 +1,37 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_panel_callbacks.h>
+
+#include <ags/X/ags_window.h>
+
+void
+ags_panel_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsPanel *panel)
+{
+ AgsWindow *window;
+
+ if(old_parent != NULL)
+ return;
+
+ window = AGS_WINDOW(gtk_widget_get_toplevel(widget));
+
+ AGS_MACHINE(panel)->name = g_strdup_printf("Default %d\0",
+ ags_window_find_machine_counter(window, AGS_TYPE_PANEL)->counter);
+ ags_window_increment_machine_counter(window,
+ AGS_TYPE_PANEL);
+}
diff --git a/src/ags/X/machine/ags_panel_callbacks.h b/src/ags/X/machine/ags_panel_callbacks.h
new file mode 100644
index 0000000..f47d15f
--- /dev/null
+++ b/src/ags/X/machine/ags_panel_callbacks.h
@@ -0,0 +1,30 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PANEL_CALLBACKS_H__
+#define __AGS_PANEL_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_panel.h>
+
+void ags_panel_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsPanel *panel);
+
+#endif /*__AGS_PANEL_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_panel_input_line.c b/src/ags/X/machine/ags_panel_input_line.c
new file mode 100644
index 0000000..6c54270
--- /dev/null
+++ b/src/ags/X/machine/ags_panel_input_line.c
@@ -0,0 +1,349 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_panel_input_line.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_channel_run_master.h>
+#include <ags/audio/recall/ags_mute_channel.h>
+#include <ags/audio/recall/ags_mute_channel_run.h>
+
+#include <ags/widget/ags_expander_set.h>
+#include <ags/widget/ags_expander.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_line_callbacks.h>
+#include <ags/X/ags_line_member.h>
+
+#include <ags/X/machine/ags_panel.h>
+
+void ags_panel_input_line_class_init(AgsPanelInputLineClass *panel_input_line);
+void ags_panel_input_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_panel_input_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_panel_input_line_init(AgsPanelInputLine *panel_input_line);
+void ags_panel_input_line_connect(AgsConnectable *connectable);
+void ags_panel_input_line_disconnect(AgsConnectable *connectable);
+void ags_panel_input_line_finalize(GObject *gobject);
+gchar* ags_panel_input_line_get_name(AgsPlugin *plugin);
+void ags_panel_input_line_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_panel_input_line_get_xml_type(AgsPlugin *plugin);
+void ags_panel_input_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+
+void ags_panel_input_line_show(GtkWidget *line);
+
+void ags_panel_input_line_set_channel(AgsLine *line, AgsChannel *channel);
+void ags_panel_input_line_group_changed(AgsLine *line);
+void ags_panel_input_line_map_recall(AgsLine *line,
+ guint output_pad_start);
+
+/**
+ * SECTION:ags_panel_input_line
+ * @short_description: panel input line
+ * @title: AgsPanelInputLine
+ * @section_id:
+ * @include: ags/X/machine/ags_panel_input_line.h
+ *
+ * The #AgsPanelInputLine is a composite widget to act as panel input line.
+ */
+
+static gpointer ags_panel_input_line_parent_class = NULL;
+static AgsConnectableInterface *ags_panel_input_line_parent_connectable_interface;
+
+GType
+ags_panel_input_line_get_type()
+{
+ static GType ags_type_panel_input_line = 0;
+
+ if(!ags_type_panel_input_line){
+ static const GTypeInfo ags_panel_input_line_info = {
+ sizeof(AgsPanelInputLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_panel_input_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsPanelInputLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_panel_input_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_panel_input_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_panel_input_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_panel_input_line = g_type_register_static(AGS_TYPE_LINE,
+ "AgsPanelInputLine\0", &ags_panel_input_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_panel_input_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_panel_input_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_panel_input_line);
+}
+
+void
+ags_panel_input_line_class_init(AgsPanelInputLineClass *panel_input_line)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsLineClass *line;
+
+ ags_panel_input_line_parent_class = g_type_class_peek_parent(panel_input_line);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) panel_input_line;
+
+ gobject->finalize = ags_panel_input_line_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) panel_input_line;
+
+ widget->show = ags_panel_input_line_show;
+
+ /* AgsLineClass */
+ line = AGS_LINE_CLASS(panel_input_line);
+
+ line->set_channel = ags_panel_input_line_set_channel;
+ line->map_recall = ags_panel_input_line_map_recall;
+}
+
+void
+ags_panel_input_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_panel_input_line_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_panel_input_line_connect;
+ connectable->disconnect = ags_panel_input_line_disconnect;
+}
+
+void
+ags_panel_input_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_panel_input_line_get_name;
+ plugin->set_name = ags_panel_input_line_set_name;
+ plugin->get_xml_type = ags_panel_input_line_get_xml_type;
+ plugin->set_xml_type = ags_panel_input_line_set_xml_type;
+}
+
+void
+ags_panel_input_line_init(AgsPanelInputLine *panel_input_line)
+{
+ AgsLineMember *line_member;
+
+ line_member = (AgsLineMember *) g_object_new(AGS_TYPE_LINE_MEMBER,
+ "widget-type\0", GTK_TYPE_CHECK_BUTTON,
+ "widget-label\0", "mute\0",
+ "plugin-name\0", "ags-play\0",
+ "specifier\0", "./muted[0]\0",
+ "control-port\0", "2/2\0",
+ NULL);
+ ags_expander_add(AGS_LINE(panel_input_line)->expander,
+ GTK_WIDGET(line_member),
+ 0, 0,
+ 1, 1);
+}
+
+void
+ags_panel_input_line_connect(AgsConnectable *connectable)
+{
+ AgsPanelInputLine *panel_input_line;
+
+ panel_input_line = AGS_PANEL_INPUT_LINE(connectable);
+
+
+ if((AGS_LINE_CONNECTED & (AGS_LINE(panel_input_line)->flags)) != 0){
+ return;
+ }
+
+ ags_panel_input_line_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_panel_input_line_disconnect(AgsConnectable *connectable)
+{
+ ags_panel_input_line_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_panel_input_line_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_panel_input_line_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+gchar*
+ags_panel_input_line_get_name(AgsPlugin *plugin)
+{
+ return(AGS_PANEL_INPUT_LINE(plugin)->name);
+}
+
+void
+ags_panel_input_line_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_PANEL_INPUT_LINE(plugin)->name = name;
+}
+
+gchar*
+ags_panel_input_line_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_PANEL_INPUT_LINE(plugin)->xml_type);
+}
+
+void
+ags_panel_input_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_PANEL_INPUT_LINE(plugin)->xml_type = xml_type;
+}
+
+void
+ags_panel_input_line_show(GtkWidget *line)
+{
+ GTK_WIDGET_CLASS(ags_panel_input_line_parent_class)->show(line);
+
+ gtk_widget_hide(GTK_WIDGET(AGS_LINE(line)->group));
+}
+
+void
+ags_panel_input_line_set_channel(AgsLine *line, AgsChannel *channel)
+{
+ AgsPanelInputLine *panel_input_line;
+
+ AGS_LINE_CLASS(ags_panel_input_line_parent_class)->set_channel(line, channel);
+
+ panel_input_line = AGS_PANEL_INPUT_LINE(line);
+
+#ifdef AGS_DEBUG
+ g_message("ags_panel_input_line_set_channel - channel: %u\0",
+ channel->line);
+#endif
+
+ /* empty */
+}
+
+void
+ags_panel_input_line_map_recall(AgsLine *line,
+ guint output_pad_start)
+{
+ AgsPanel *panel;
+ AgsPanelInputLine *panel_input_line;
+
+ AgsAudio *audio;
+ AgsChannel *source;
+ AgsChannel *current;
+ AgsPlayChannel *play_channel;
+ AgsPlayChannelRunMaster *play_channel_run;
+
+ GList *list;
+
+ if((AGS_LINE_MAPPED_RECALL & (line->flags)) != 0 ||
+ (AGS_LINE_PREMAPPED_RECALL & (line->flags)) != 0){
+ return;
+ }
+
+ panel_input_line = AGS_PANEL_INPUT_LINE(line);
+
+ audio = AGS_AUDIO(line->channel->audio);
+
+ panel = AGS_PANEL(audio->machine);
+
+ source = line->channel;
+
+ /* ags-play */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-play-master\0",
+ source->audio_channel, source->audio_channel + 1,
+ source->pad, source->pad + 1,
+ (AGS_RECALL_FACTORY_INPUT,
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_ADD),
+ 0);
+
+ /* set audio channel */
+ list = source->play;
+
+ while((list = ags_recall_template_find_type(list,
+ AGS_TYPE_PLAY_CHANNEL)) != NULL){
+ GValue audio_channel_value = {0,};
+
+ play_channel = AGS_PLAY_CHANNEL(list->data);
+
+ g_value_init(&audio_channel_value, G_TYPE_UINT64);
+ g_value_set_uint64(&audio_channel_value,
+ source->audio_channel);
+ ags_port_safe_write(play_channel->audio_channel,
+ &audio_channel_value);
+
+ list = list->next;
+ }
+
+ /* call parent */
+ AGS_LINE_CLASS(ags_panel_input_line_parent_class)->map_recall(line,
+ output_pad_start);
+}
+
+/**
+ * ags_panel_input_line_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsPanelInputLine
+ *
+ * Returns: a new #AgsPanelInputLine
+ *
+ * Since: 0.4
+ */
+AgsPanelInputLine*
+ags_panel_input_line_new(AgsChannel *channel)
+{
+ AgsPanelInputLine *panel_input_line;
+
+ panel_input_line = (AgsPanelInputLine *) g_object_new(AGS_TYPE_PANEL_INPUT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(panel_input_line);
+}
diff --git a/src/ags/X/machine/ags_panel_input_line.h b/src/ags/X/machine/ags_panel_input_line.h
new file mode 100644
index 0000000..21e91d9
--- /dev/null
+++ b/src/ags/X/machine/ags_panel_input_line.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PANEL_INPUT_LINE_H__
+#define __AGS_PANEL_INPUT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line.h>
+
+#define AGS_TYPE_PANEL_INPUT_LINE (ags_panel_input_line_get_type())
+#define AGS_PANEL_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PANEL_INPUT_LINE, AgsPanelInputLine))
+#define AGS_PANEL_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PANEL_INPUT_LINE, AgsPanelInputLineClass))
+#define AGS_IS_PANEL_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PANEL_INPUT_LINE))
+#define AGS_IS_PANEL_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PANEL_INPUT_LINE))
+#define AGS_PANEL_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PANEL_INPUT_LINE, AgsPanelInputLineClass))
+
+typedef struct _AgsPanelInputLine AgsPanelInputLine;
+typedef struct _AgsPanelInputLineClass AgsPanelInputLineClass;
+
+struct _AgsPanelInputLine
+{
+ AgsLine line;
+
+ gchar *name;
+ gchar *xml_type;
+};
+
+struct _AgsPanelInputLineClass
+{
+ AgsLineClass line;
+};
+
+GType ags_panel_input_line_get_type();
+
+AgsPanelInputLine* ags_panel_input_line_new(AgsChannel *channel);
+
+#endif /*__AGS_PANEL_INPUT_LINE_H__*/
diff --git a/src/ags/X/machine/ags_panel_input_pad.c b/src/ags/X/machine/ags_panel_input_pad.c
new file mode 100644
index 0000000..3366cf1
--- /dev/null
+++ b/src/ags/X/machine/ags_panel_input_pad.c
@@ -0,0 +1,270 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_panel_input_pad.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/machine/ags_panel.h>
+
+#include <math.h>
+
+void ags_panel_input_pad_class_init(AgsPanelInputPadClass *panel_input_pad);
+void ags_panel_input_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_panel_input_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_panel_input_pad_init(AgsPanelInputPad *panel_input_pad);
+void ags_panel_input_pad_connect(AgsConnectable *connectable);
+void ags_panel_input_pad_disconnect(AgsConnectable *connectable);
+void ags_panel_input_pad_finalize(GObject *gobject);
+gchar* ags_panel_input_pad_get_name(AgsPlugin *plugin);
+void ags_panel_input_pad_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_panel_input_pad_get_xml_type(AgsPlugin *plugin);
+void ags_panel_input_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+
+void ags_panel_input_pad_show(GtkWidget *pad);
+
+void ags_panel_input_pad_set_channel(AgsPad *pad, AgsChannel *channel);
+void ags_panel_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+/**
+ * SECTION:ags_panel_input_pad
+ * @short_description: panel input pad
+ * @title: AgsPanelInputPad
+ * @section_id:
+ * @include: ags/X/machine/ags_panel_input_pad.h
+ *
+ * The #AgsPanelInputPad is a composite widget to act as panel input pad.
+ */
+
+static gpointer ags_panel_input_pad_parent_class = NULL;
+static AgsConnectableInterface *ags_panel_input_pad_parent_connectable_interface;
+
+GType
+ags_panel_input_pad_get_type()
+{
+ static GType ags_type_panel_input_pad = 0;
+
+ if(!ags_type_panel_input_pad){
+ static const GTypeInfo ags_panel_input_pad_info = {
+ sizeof(AgsPanelInputPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_panel_input_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsPanelInputPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_panel_input_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_panel_input_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_panel_input_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_panel_input_pad = g_type_register_static(AGS_TYPE_PAD,
+ "AgsPanelInputPad\0", &ags_panel_input_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_panel_input_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_panel_input_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_panel_input_pad);
+}
+
+void
+ags_panel_input_pad_class_init(AgsPanelInputPadClass *panel_input_pad)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsPadClass *pad;
+
+ ags_panel_input_pad_parent_class = g_type_class_peek_parent(panel_input_pad);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) panel_input_pad;
+
+ gobject->finalize = ags_panel_input_pad_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) panel_input_pad;
+
+ widget->show = ags_panel_input_pad_show;
+
+ /* AgsPadClass */
+ pad = (AgsPadClass *) panel_input_pad;
+
+ pad->set_channel = ags_panel_input_pad_set_channel;
+ pad->resize_lines = ags_panel_input_pad_resize_lines;
+}
+
+void
+ags_panel_input_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_panel_input_pad_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_panel_input_pad_connect;
+ connectable->disconnect = ags_panel_input_pad_disconnect;
+}
+
+void
+ags_panel_input_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_panel_input_pad_get_name;
+ plugin->set_name = ags_panel_input_pad_set_name;
+ plugin->get_xml_type = ags_panel_input_pad_get_xml_type;
+ plugin->set_xml_type = ags_panel_input_pad_set_xml_type;
+}
+
+void
+ags_panel_input_pad_init(AgsPanelInputPad *panel_input_pad)
+{
+ AgsPad *pad;
+ GtkVBox *vbox;
+
+ pad = (AgsPad *) panel_input_pad;
+ pad->cols = 1;
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) pad, (GtkWidget *) vbox, FALSE, TRUE, 0);
+ gtk_box_reorder_child((GtkBox *) pad, (GtkWidget *) vbox, 0);
+}
+
+void
+ags_panel_input_pad_connect(AgsConnectable *connectable)
+{
+ AgsPanelInputPad *panel_input_pad;
+
+ panel_input_pad = AGS_PANEL_INPUT_PAD(connectable);
+
+ if((AGS_PAD_CONNECTED & (AGS_PAD(panel_input_pad)->flags)) != 0){
+ return;
+ }
+
+ ags_panel_input_pad_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_panel_input_pad_disconnect(AgsConnectable *connectable)
+{
+ ags_panel_input_pad_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_panel_input_pad_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_panel_input_pad_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+gchar*
+ags_panel_input_pad_get_name(AgsPlugin *plugin)
+{
+ return(AGS_PANEL_INPUT_PAD(plugin)->name);
+}
+
+void
+ags_panel_input_pad_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_PANEL_INPUT_PAD(plugin)->name = name;
+}
+
+gchar*
+ags_panel_input_pad_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_PANEL_INPUT_PAD(plugin)->xml_type);
+}
+
+void
+ags_panel_input_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_PANEL_INPUT_PAD(plugin)->xml_type = xml_type;
+}
+
+void
+ags_panel_input_pad_show(GtkWidget *pad)
+{
+ GTK_WIDGET_CLASS(ags_panel_input_pad_parent_class)->show(pad);
+
+ gtk_widget_hide(GTK_WIDGET(AGS_PAD(pad)->group));
+ gtk_widget_hide(GTK_WIDGET(AGS_PAD(pad)->mute));
+ gtk_widget_hide(GTK_WIDGET(AGS_PAD(pad)->solo));
+}
+
+void
+ags_panel_input_pad_set_channel(AgsPad *pad, AgsChannel *channel)
+{
+ AGS_PAD_CLASS(ags_panel_input_pad_parent_class)->set_channel(pad, channel);
+
+ /* empty */
+}
+
+void
+ags_panel_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ AGS_PAD_CLASS(ags_panel_input_pad_parent_class)->resize_lines(pad, line_type,
+ audio_channels, audio_channels_old);
+
+ /* empty */
+}
+
+/**
+ * ags_panel_input_pad_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsPanelInputPad
+ *
+ * Returns: a new #AgsPanelInputPad
+ *
+ * Since: 0.4
+ */
+AgsPanelInputPad*
+ags_panel_input_pad_new(AgsChannel *channel)
+{
+ AgsPanelInputPad *panel_input_pad;
+
+ panel_input_pad = (AgsPanelInputPad *) g_object_new(AGS_TYPE_PANEL_INPUT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(panel_input_pad);
+}
diff --git a/src/ags/X/machine/ags_panel_input_pad.h b/src/ags/X/machine/ags_panel_input_pad.h
new file mode 100644
index 0000000..f2723ea
--- /dev/null
+++ b/src/ags/X/machine/ags_panel_input_pad.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PANEL_INPUT_PAD_H__
+#define __AGS_PANEL_INPUT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_pad.h>
+
+#define AGS_TYPE_PANEL_INPUT_PAD (ags_panel_input_pad_get_type())
+#define AGS_PANEL_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PANEL_INPUT_PAD, AgsPanelInputPad))
+#define AGS_PANEL_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PANEL_INPUT_PAD, AgsPanelInputPadClass))
+#define AGS_IS_PANEL_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PANEL_INPUT_PAD))
+#define AGS_IS_PANEL_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PANEL_INPUT_PAD))
+#define AGS_PANEL_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PANEL_INPUT_PAD, AgsPanelInputPadClass))
+
+typedef struct _AgsPanelInputPad AgsPanelInputPad;
+typedef struct _AgsPanelInputPadClass AgsPanelInputPadClass;
+
+struct _AgsPanelInputPad
+{
+ AgsPad pad;
+
+ gchar *name;
+ gchar *xml_type;
+};
+
+struct _AgsPanelInputPadClass
+{
+ AgsPadClass pad;
+};
+
+GType ags_panel_input_pad_get_type();
+
+AgsPanelInputPad* ags_panel_input_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_PANEL_INPUT_PAD_H__*/
diff --git a/src/ags/X/machine/ags_synth.c b/src/ags/X/machine/ags_synth.c
new file mode 100644
index 0000000..475f44f
--- /dev/null
+++ b/src/ags/X/machine/ags_synth.c
@@ -0,0 +1,681 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth.h>
+#include <ags/X/machine/ags_synth_callbacks.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+#include <ags/file/ags_file_gui.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_synths.h>
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_play_notation_audio_run.h>
+
+#include <ags/audio/task/ags_apply_synth.h>
+
+#include <ags/widget/ags_expander_set.h>
+
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line.h>
+
+#include <ags/X/machine/ags_synth_bridge.h>
+#include <ags/X/machine/ags_synth_input_pad.h>
+#include <ags/X/machine/ags_synth_input_line.h>
+#include <ags/X/machine/ags_oscillator.h>
+
+#include <ags/X/ags_window.h>
+
+#include <math.h>
+
+void ags_synth_class_init(AgsSynthClass *synth);
+void ags_synth_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_synth_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_synth_init(AgsSynth *synth);
+void ags_synth_finalize(GObject *gobject);
+void ags_synth_connect(AgsConnectable *connectable);
+void ags_synth_disconnect(AgsConnectable *connectable);
+void ags_synth_show(GtkWidget *widget);
+void ags_synth_map_recall(AgsMachine *machine);
+gchar* ags_synth_get_name(AgsPlugin *plugin);
+void ags_synth_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_synth_get_xml_type(AgsPlugin *plugin);
+void ags_synth_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_synth_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_synth_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+void ags_synth_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+
+void ags_synth_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsSynth *synth);
+void ags_synth_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsSynth *synth);
+
+void ags_synth_update(AgsSynth *synth);
+
+/**
+ * SECTION:ags_synth
+ * @short_description: synth
+ * @title: AgsSynth
+ * @section_id:
+ * @include: ags/X/machine/ags_synth.h
+ *
+ * The #AgsSynth is a composite widget to act as synth.
+ */
+
+static gpointer ags_synth_parent_class = NULL;
+
+static AgsConnectableInterface *ags_synth_parent_connectable_interface;
+
+GType
+ags_synth_get_type(void)
+{
+ static GType ags_type_synth = 0;
+
+ if(!ags_type_synth){
+ static const GTypeInfo ags_synth_info = {
+ sizeof(AgsSynthClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_synth_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsSynth),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_synth_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_synth_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_synth_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_synth = g_type_register_static(AGS_TYPE_MACHINE,
+ "AgsSynth\0", &ags_synth_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_synth,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_synth,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_synth);
+}
+
+void
+ags_synth_class_init(AgsSynthClass *synth)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ AgsMachineClass *machine;
+
+ ags_synth_parent_class = g_type_class_peek_parent(synth);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) synth;
+
+ gobject->finalize = ags_synth_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) synth;
+
+ /* AgsMachineClass */
+ machine = (AgsMachineClass *) synth;
+
+ machine->map_recall = ags_synth_map_recall;
+}
+
+void
+ags_synth_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_synth_connectable_parent_interface;
+
+ ags_synth_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_synth_connect;
+ connectable->disconnect = ags_synth_disconnect;
+}
+
+void
+ags_synth_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_synth_get_name;
+ plugin->set_name = ags_synth_set_name;
+ plugin->get_xml_type = ags_synth_get_xml_type;
+ plugin->set_xml_type = ags_synth_set_xml_type;
+ plugin->read = ags_synth_read;
+ plugin->write = ags_synth_write;
+}
+
+void
+ags_synth_init(AgsSynth *synth)
+{
+ AgsAudio *audio;
+ AgsRecallContainer *recall_container;
+ AgsDelayAudio *delay_audio;
+ AgsDelayAudioRun *play_delay_audio_run, *recall_delay_audio_run;
+ AgsCountBeatsAudio *play_count_beats_audio, *recall_count_beats_audio;
+ AgsCountBeatsAudioRun *play_count_beats_audio_run, *recall_count_beats_audio_run;
+ AgsPlayNotationAudioRun *play_notation, *recall_notation;
+ AgsRecallAudio *play_audio, *recall_audio;
+ GtkMenu *menu;
+ GtkHBox *hbox;
+ GtkVBox *vbox;
+ GtkTable *table;
+ GtkLabel *label;
+ GtkFrame *frame;
+
+ g_signal_connect_after((GObject *) synth, "parent_set\0",
+ G_CALLBACK(ags_synth_parent_set_callback), (gpointer) synth);
+
+ audio = AGS_MACHINE(synth)->audio;
+ audio->flags |= (AGS_AUDIO_ASYNC |
+ AGS_AUDIO_OUTPUT_HAS_RECYCLING |
+ AGS_AUDIO_INPUT_HAS_RECYCLING |
+ AGS_AUDIO_HAS_NOTATION);
+
+ AGS_MACHINE(synth)->input_pad_type = AGS_TYPE_SYNTH_INPUT_PAD;
+ AGS_MACHINE(synth)->input_line_type = AGS_TYPE_SYNTH_INPUT_LINE;
+ AGS_MACHINE(synth)->output_pad_type = G_TYPE_NONE;
+ AGS_MACHINE(synth)->output_line_type = G_TYPE_NONE;
+
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(synth)->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_synth_set_audio_channels), synth);
+
+ g_signal_connect_after(G_OBJECT(AGS_MACHINE(synth)->audio), "set_pads\0",
+ G_CALLBACK(ags_synth_set_pads), synth);
+
+ //TODO:JK: uncomment me
+ // AGS_MACHINE(synth)->flags |= AGS_MACHINE_IS_SYNTHESIZER;
+
+ /* create widgets */
+ synth->flags = 0;
+
+ synth->name = NULL;
+ synth->xml_type = "ags-synth\0";
+
+ synth->mapped_input_pad = 0;
+ synth->mapped_output_pad = 0;
+
+ hbox = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_container_add((GtkContainer*) (gtk_bin_get_child((GtkBin *) synth)), (GtkWidget *) hbox);
+
+ synth->input_pad = (GtkHBox *) gtk_vbox_new(FALSE, 0);
+ AGS_MACHINE(synth)->input = synth->input_pad;
+ gtk_box_pack_start((GtkBox *) hbox,
+ (GtkWidget *) AGS_MACHINE(synth)->input,
+ FALSE,
+ FALSE,
+ 0);
+
+ vbox = (GtkVBox *) gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start((GtkBox *) hbox, (GtkWidget *) vbox, FALSE, FALSE, 0);
+
+ synth->auto_update = (GtkCheckButton *) gtk_check_button_new_with_label(g_strdup("auto update\0"));
+ gtk_box_pack_start((GtkBox *) vbox, (GtkWidget *) synth->auto_update, FALSE, FALSE, 0);
+
+ synth->update = (GtkButton *) gtk_button_new_with_label(g_strdup("update\0"));
+ gtk_box_pack_start((GtkBox *) vbox, (GtkWidget *) synth->update, FALSE, FALSE, 0);
+
+
+ table = (GtkTable *) gtk_table_new(4, 2, FALSE);
+ gtk_box_pack_start((GtkBox *) vbox, (GtkWidget *) table, FALSE, FALSE, 0);
+
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "lower\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ synth->lower = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 0.0, 1.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(synth->lower),
+ 1, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "loop start\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ synth->loop_start = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 0.0, 1.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(synth->loop_start),
+ 1, 2,
+ 1, 2,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+
+ label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL,
+ "label\0", "loop end\0",
+ "xalign\0", 0.0,
+ NULL);
+ gtk_table_attach(table,
+ GTK_WIDGET(label),
+ 0, 1,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ synth->loop_end = (GtkSpinButton *) gtk_spin_button_new_with_range(0.0, 0.0, 1.0);
+ gtk_table_attach(table,
+ GTK_WIDGET(synth->loop_end),
+ 1, 2,
+ 2, 3,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ AGS_MACHINE(synth)->bridge = ags_synth_bridge_new(audio);
+ gtk_box_pack_start((GtkBox *) hbox,
+ (GtkWidget *) AGS_MACHINE(synth)->bridge,
+ FALSE, FALSE,
+ 0);
+}
+
+void
+ags_synth_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_synth_parent_class)->finalize(gobject);
+}
+
+void
+ags_synth_connect(AgsConnectable *connectable)
+{
+ AgsSynth *synth;
+
+ if((AGS_MACHINE_CONNECTED & (AGS_MACHINE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_synth_parent_connectable_interface->connect(connectable);
+
+ /* AgsSynth */
+ synth = AGS_SYNTH(connectable);
+
+ g_signal_connect((GObject *) synth->lower, "value-changed\0",
+ G_CALLBACK(ags_synth_lower_callback), synth);
+
+ g_signal_connect((GObject *) synth->auto_update, "toggled\0",
+ G_CALLBACK(ags_synth_auto_update_callback), synth);
+
+ g_signal_connect((GObject *) synth->update, "clicked\0",
+ G_CALLBACK(ags_synth_update_callback), (gpointer) synth);
+}
+
+void
+ags_synth_disconnect(AgsConnectable *connectable)
+{
+ AgsSynth *synth;
+
+ ags_synth_parent_connectable_interface->disconnect(connectable);
+
+ /* AgsSynth */
+ synth = AGS_SYNTH(connectable);
+}
+
+void
+ags_synth_map_recall(AgsMachine *machine)
+{
+ AgsSynth *synth;
+
+ AgsAudio *audio;
+
+ if((AGS_MACHINE_MAPPED_RECALL & (machine->flags)) != 0 ||
+ (AGS_MACHINE_PREMAPPED_RECALL & (machine->flags)) != 0){
+ return;
+ }
+
+ audio = machine->audio;
+ synth = AGS_SYNTH(machine);
+
+ /* ags-delay */
+ ags_recall_factory_create(audio,
+ NULL, NULL,
+ "ags-stream\0",
+ 0, audio->audio_channels,
+ 0, audio->output_pads,
+ (AGS_RECALL_FACTORY_OUTPUT |
+ AGS_RECALL_FACTORY_ADD |
+ AGS_RECALL_FACTORY_PLAY |
+ AGS_RECALL_FACTORY_RECALL),
+ 0);
+
+ AGS_MACHINE_CLASS(ags_synth_parent_class)->map_recall(machine);
+}
+
+gchar*
+ags_synth_get_name(AgsPlugin *plugin)
+{
+ return(AGS_SYNTH(plugin)->name);
+}
+
+void
+ags_synth_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_SYNTH(plugin)->name = name;
+}
+
+gchar*
+ags_synth_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_SYNTH(plugin)->xml_type);
+}
+
+void
+ags_synth_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_SYNTH(plugin)->xml_type = xml_type;
+}
+
+void
+ags_synth_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsSynth *gobject;
+ AgsFileLookup *file_lookup;
+ GList *list;
+
+ gobject = AGS_SYNTH(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ list = file->lookup;
+
+ while((file_lookup = ags_file_lookup_find_by_node(list,
+ node->parent)) != NULL){
+ if(g_signal_handler_find(list->data,
+ G_SIGNAL_MATCH_FUNC,
+ 0,
+ 0,
+ NULL,
+ ags_file_read_machine_resolve_audio,
+ NULL) != 0){
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_synth_read_resolve_audio), gobject);
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ /* */
+ gtk_spin_button_set_value(gobject->lower,
+ g_ascii_strtod(xmlGetProp(node,
+ "lower\0"),
+ NULL));
+
+ gtk_spin_button_set_value(gobject->loop_start,
+ g_ascii_strtod(xmlGetProp(node,
+ "loop-begin\0"),
+ NULL));
+
+ gtk_spin_button_set_value(gobject->loop_end,
+ g_ascii_strtod(xmlGetProp(node,
+ "loop-end\0"),
+ NULL));
+}
+
+void
+ags_synth_read_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsSynth *synth;
+
+ synth = AGS_SYNTH(machine);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_synth_set_audio_channels), synth);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_synth_set_pads), synth);
+}
+
+xmlNode*
+ags_synth_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsSynth *synth;
+ xmlNode *node;
+ gchar *id;
+
+ synth = AGS_SYNTH(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-synth\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", synth,
+ NULL));
+
+ xmlNewProp(node,
+ "lower\0",
+ g_strdup_printf("%f\0", gtk_spin_button_get_value(synth->lower)));
+
+ xmlNewProp(node,
+ "loop-begin\0",
+ g_strdup_printf("%f\0", gtk_spin_button_get_value(synth->loop_start)));
+
+ xmlNewProp(node,
+ "loop-end\0",
+ g_strdup_printf("%f\0", gtk_spin_button_get_value(synth->loop_end)));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_synth_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old,
+ AgsSynth *synth)
+{
+ /* empty */
+}
+
+void
+ags_synth_set_pads(AgsAudio *audio, GType type,
+ guint pads, guint pads_old,
+ AgsSynth *synth)
+{
+ /* empty */
+}
+
+void
+ags_synth_update(AgsSynth *synth)
+{
+ AgsOscillator *oscillator;
+ AgsDevout *devout;
+ AgsChannel *channel;
+ AgsApplySynth *apply_synth;
+ GList *input_pad, *input_pad_start;
+ GList *input_line, *input_line_start;
+ guint wave;
+ guint attack, frame_count;
+ guint frequency, phase, start;
+ guint loop_start, loop_end;
+ gdouble volume;
+
+ devout = AGS_DEVOUT(AGS_MACHINE(synth)->audio->devout);
+
+ start = (guint) gtk_spin_button_get_value_as_int(synth->lower);
+
+ loop_start = (guint) gtk_spin_button_get_value_as_int(synth->loop_start);
+ loop_end = (guint) gtk_spin_button_get_value_as_int(synth->loop_end);
+
+ /* write input */
+ channel = AGS_MACHINE(synth)->audio->input;
+ input_pad_start =
+ input_pad = gtk_container_get_children(synth->input_pad);
+
+ while(input_pad != NULL){
+ input_line = gtk_container_get_children(AGS_PAD(input_pad->data)->expander_set);
+ oscillator = AGS_OSCILLATOR(gtk_container_get_children(AGS_LINE(input_line->data)->expander->table)->data);
+
+ wave = (guint) gtk_combo_box_get_active(oscillator->wave) + 1;
+ attack = (guint) gtk_spin_button_get_value_as_int(oscillator->attack);
+ frame_count = (guint) gtk_spin_button_get_value_as_int(oscillator->frame_count);
+ phase = (guint) gtk_spin_button_get_value_as_int(oscillator->phase);
+ frequency = (guint) gtk_spin_button_get_value_as_int(oscillator->frequency);
+ volume = (gdouble) gtk_spin_button_get_value_as_float(oscillator->volume);
+
+ apply_synth = ags_apply_synth_new(channel, 1,
+ wave,
+ attack, frame_count,
+ frequency, phase, start,
+ volume,
+ loop_start, loop_end);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ AGS_TASK(apply_synth));
+
+ channel = channel->next;
+ input_pad = input_pad->next;
+ }
+
+ g_list_free(input_pad_start);
+
+ /* write output */
+ channel = AGS_MACHINE(synth)->audio->output;
+ input_pad_start =
+ input_pad = gtk_container_get_children(synth->input_pad);
+
+ while(input_pad != NULL){
+ input_line = gtk_container_get_children(AGS_PAD(input_pad->data)->expander_set);
+ oscillator = AGS_OSCILLATOR(gtk_container_get_children(AGS_LINE(input_line->data)->expander->table)->data);
+
+ wave = (guint) gtk_combo_box_get_active(oscillator->wave) + 1;
+ attack = (guint) gtk_spin_button_get_value_as_int(oscillator->attack);
+ frame_count = (guint) gtk_spin_button_get_value_as_int(oscillator->frame_count);
+ phase = (guint) gtk_spin_button_get_value_as_int(oscillator->phase);
+ frequency = (guint) gtk_spin_button_get_value_as_int(oscillator->frequency);
+ volume = (gdouble) gtk_spin_button_get_value_as_float(oscillator->volume);
+
+ apply_synth = ags_apply_synth_new(channel, AGS_MACHINE(synth)->audio->output_lines,
+ wave,
+ attack, frame_count,
+ frequency, phase, start,
+ volume,
+ loop_start, loop_end);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ AGS_TASK(apply_synth));
+
+ input_pad = input_pad->next;
+ }
+
+ g_list_free(input_pad_start);
+}
+
+/**
+ * ags_synth_new:
+ * @devout: the assigned devout.
+ *
+ * Creates an #AgsSynth
+ *
+ * Returns: a new #AgsSynth
+ *
+ * Since: 0.3
+ */
+AgsSynth*
+ags_synth_new(GObject *devout)
+{
+ AgsSynth *synth;
+
+ synth = (AgsSynth *) g_object_new(AGS_TYPE_SYNTH,
+ NULL);
+
+ g_object_set(G_OBJECT(AGS_MACHINE(synth)->audio),
+ "devout\0", devout,
+ NULL);
+
+ return(synth);
+}
diff --git a/src/ags/X/machine/ags_synth.h b/src/ags/X/machine/ags_synth.h
new file mode 100644
index 0000000..1739106
--- /dev/null
+++ b/src/ags/X/machine/ags_synth.h
@@ -0,0 +1,73 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_H__
+#define __AGS_SYNTH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_machine.h>
+
+#define AGS_TYPE_SYNTH (ags_synth_get_type())
+#define AGS_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH, AgsSynth))
+#define AGS_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SYNTH, AgsSynthClass))
+#define AGS_IS_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH))
+#define AGS_IS_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH))
+#define AGS_SYNTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SYNTH, AgsSynthClass))
+
+typedef struct _AgsSynth AgsSynth;
+typedef struct _AgsSynthClass AgsSynthClass;
+
+typedef enum{
+ AGS_SYNTH_AUTO_UPDATE = 1,
+}AgsSynthFlags;
+
+struct _AgsSynth
+{
+ AgsMachine machine;
+
+ guint flags;
+
+ gchar *name;
+ gchar *xml_type;
+
+ guint mapped_input_pad;
+ guint mapped_output_pad;
+
+ GtkVBox *input_pad;
+
+ GtkSpinButton *lower; // how many channels until to lowest freq
+ GtkSpinButton *loop_start;
+ GtkSpinButton *loop_end;
+
+ GtkCheckButton *auto_update;
+ GtkButton *update;
+};
+
+struct _AgsSynthClass
+{
+ AgsMachineClass machine;
+};
+
+GType ags_synth_get_type(void);
+
+AgsSynth* ags_synth_new(GObject *devout);
+
+#endif /*__AGS_SYNTH_H__*/
diff --git a/src/ags/X/machine/ags_synth_bridge.c b/src/ags/X/machine/ags_synth_bridge.c
new file mode 100644
index 0000000..e76994f
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bridge.c
@@ -0,0 +1,221 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_bridge.h>
+#include <ags/X/machine/ags_synth_bridge_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+#include <ags/X/machine/ags_synth_bulk_output.h>
+#include <ags/X/machine/ags_synth_output_pad.h>
+#include <ags/X/machine/ags_synth_output_line.h>
+
+void ags_synth_bridge_class_init(AgsSynthBridgeClass *synth_bridge);
+void ags_synth_bridge_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_synth_bridge_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_synth_bridge_init(AgsSynthBridge *synth_bridge);
+void ags_synth_bridge_connect(AgsConnectable *connectable);
+void ags_synth_bridge_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_synth_bridge
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsSynthBridge
+ * @section_id:
+ * @include: ags/X/ags_synth_bridge.h
+ *
+ * #AgsSynthBridge is a composite widget to visualize all #AgsChannel. It should be
+ * packed by an #AgsMachine.
+ */
+
+static gpointer ags_synth_bridge_parent_class = NULL;
+static AgsConnectableInterface *ags_synth_bridge_parent_connectable_interface;
+
+GType
+ags_synth_bridge_get_type(void)
+{
+ static GType ags_type_synth_bridge = 0;
+
+ if(!ags_type_synth_bridge){
+ static const GTypeInfo ags_synth_bridge_info = {
+ sizeof(AgsSynthBridgeClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_synth_bridge_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsSynthBridge),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_synth_bridge_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_synth_bridge_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_synth_bridge_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_synth_bridge = g_type_register_static(AGS_TYPE_EFFECT_BRIDGE,
+ "AgsSynthBridge\0", &ags_synth_bridge_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_synth_bridge,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_synth_bridge,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_synth_bridge);
+}
+
+void
+ags_synth_bridge_class_init(AgsSynthBridgeClass *synth_bridge)
+{
+ GObjectClass *gobject;
+
+ ags_synth_bridge_parent_class = g_type_class_peek_parent(synth_bridge);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) synth_bridge;
+}
+
+void
+ags_synth_bridge_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_synth_bridge_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_synth_bridge_connect;
+ connectable->disconnect = ags_synth_bridge_disconnect;
+}
+
+void
+ags_synth_bridge_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_synth_bridge_init(AgsSynthBridge *synth_bridge)
+{
+ GtkFrame *frame;
+ GtkExpander *expander;
+ GtkTable *table;
+
+ AGS_EFFECT_BRIDGE(synth_bridge)->output_pad_type = AGS_TYPE_SYNTH_OUTPUT_PAD;
+ AGS_EFFECT_BRIDGE(synth_bridge)->output_line_type = AGS_TYPE_SYNTH_OUTPUT_LINE;
+
+ frame = (GtkFrame *) gtk_frame_new("output bridge\0");
+ gtk_box_pack_start(AGS_EFFECT_BRIDGE(synth_bridge),
+ frame,
+ FALSE, FALSE,
+ 0);
+
+ expander = gtk_expander_new("show/hide\0");
+ gtk_container_add(frame,
+ expander);
+
+ table = (GtkTable *) gtk_table_new(1, 2, FALSE);
+ gtk_container_add(expander,
+ table);
+
+ AGS_EFFECT_BRIDGE(synth_bridge)->bulk_output = (GtkWidget *) g_object_new(AGS_TYPE_SYNTH_BULK_OUTPUT,
+ NULL);
+ gtk_table_attach(table,
+ AGS_EFFECT_BRIDGE(synth_bridge)->bulk_output,
+ 0, 1,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+
+ AGS_EFFECT_BRIDGE(synth_bridge)->output = (GtkHBox *) gtk_hbox_new(FALSE, 0);
+ gtk_table_attach(table,
+ AGS_EFFECT_BRIDGE(synth_bridge)->output,
+ 1, 2,
+ 0, 1,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+}
+
+void
+ags_synth_bridge_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (AGS_EFFECT_BRIDGE(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_synth_bridge_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_synth_bridge_disconnect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BRIDGE_CONNECTED & (AGS_EFFECT_BRIDGE(connectable)->flags)) == 0){
+ return;
+ }
+
+ ags_synth_bridge_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_synth_bridge_new:
+ * @synth_bridge: the parent synth_bridge
+ * @audio: the #AgsAudio to visualize
+ *
+ * Creates an #AgsSynthBridge
+ *
+ * Returns: a new #AgsSynthBridge
+ *
+ * Since: 0.4
+ */
+AgsSynthBridge*
+ags_synth_bridge_new(AgsAudio *audio)
+{
+ AgsSynthBridge *synth_bridge;
+
+ synth_bridge = (AgsSynthBridge *) g_object_new(AGS_TYPE_SYNTH_BRIDGE,
+ "audio\0", audio,
+ NULL);
+
+ return(synth_bridge);
+}
diff --git a/src/ags/X/machine/ags_synth_bridge.h b/src/ags/X/machine/ags_synth_bridge.h
new file mode 100644
index 0000000..ceedd63
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bridge.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_BRIDGE_H__
+#define __AGS_SYNTH_BRIDGE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags/X/ags_effect_bridge.h>
+
+#define AGS_TYPE_SYNTH_BRIDGE (ags_synth_bridge_get_type())
+#define AGS_SYNTH_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_BRIDGE, AgsSynthBridge))
+#define AGS_SYNTH_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SYNTH_BRIDGE, AgsSynthBridgeClass))
+#define AGS_IS_SYNTH_BRIDGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_BRIDGE))
+#define AGS_IS_SYNTH_BRIDGE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SYNTH_BRIDGE))
+#define AGS_SYNTH_BRIDGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_SYNTH_BRIDGE, AgsSynthBridgeClass))
+
+typedef struct _AgsSynthBridge AgsSynthBridge;
+typedef struct _AgsSynthBridgeClass AgsSynthBridgeClass;
+
+struct _AgsSynthBridge
+{
+ AgsEffectBridge effect_bridge;
+};
+
+struct _AgsSynthBridgeClass
+{
+ AgsEffectBridgeClass effect_bridge;
+};
+
+GType ags_synth_bridge_get_type(void);
+
+AgsSynthBridge* ags_synth_bridge_new(AgsAudio *audio);
+
+#endif /*__AGS_SYNTH_BRIDGE_H__*/
diff --git a/src/ags/X/machine/ags_synth_bridge_callbacks.c b/src/ags/X/machine/ags_synth_bridge_callbacks.c
new file mode 100644
index 0000000..e9d6d93
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bridge_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_bridge_callbacks.h>
diff --git a/src/ags/X/machine/ags_synth_bridge_callbacks.h b/src/ags/X/machine/ags_synth_bridge_callbacks.h
new file mode 100644
index 0000000..f8f35d6
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bridge_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_BRIDGE_CALLBACKS_H__
+#define __AGS_SYNTH_BRIDGE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_synth_bridge.h>
+
+#endif /*__AGS_SYNTH_BRIDGE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_synth_bulk_output.c b/src/ags/X/machine/ags_synth_bulk_output.c
new file mode 100644
index 0000000..ebcf5f5
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bulk_output.c
@@ -0,0 +1,179 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_bulk_output.h>
+#include <ags/X/machine/ags_synth_bulk_output_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_synth_bulk_output_class_init(AgsSynthBulkOutputClass *synth_bulk_output);
+void ags_synth_bulk_output_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_synth_bulk_output_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_synth_bulk_output_init(AgsSynthBulkOutput *synth_bulk_output);
+void ags_synth_bulk_output_connect(AgsConnectable *connectable);
+void ags_synth_bulk_output_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_synth_bulk_output
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsSynthBulkOutput
+ * @section_id:
+ * @include: ags/X/ags_synth_bulk_output.h
+ *
+ * #AgsSynthBulkOutput is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsSynthBulkOutput.
+ */
+
+static gpointer ags_synth_bulk_output_parent_class = NULL;
+static AgsConnectableInterface *ags_synth_bulk_input_parent_connectable_interface;
+
+GType
+ags_synth_bulk_output_get_type(void)
+{
+ static GType ags_type_synth_bulk_output = 0;
+
+ if(!ags_type_synth_bulk_output){
+ static const GTypeInfo ags_synth_bulk_output_info = {
+ sizeof(AgsSynthBulkOutputClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_synth_bulk_output_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsSynthBulkOutput),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_synth_bulk_output_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_synth_bulk_output_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_synth_bulk_output_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_synth_bulk_output = g_type_register_static(AGS_TYPE_EFFECT_BULK,
+ "AgsSynthBulkOutput\0", &ags_synth_bulk_output_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_synth_bulk_output,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_synth_bulk_output,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_synth_bulk_output);
+}
+
+void
+ags_synth_bulk_output_class_init(AgsSynthBulkOutputClass *synth_bulk_output)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_synth_bulk_output_parent_class = g_type_class_peek_parent(synth_bulk_output);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(synth_bulk_output);
+}
+
+void
+ags_synth_bulk_output_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_synth_bulk_input_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_synth_bulk_output_connect;
+ connectable->disconnect = ags_synth_bulk_output_disconnect;
+}
+
+void
+ags_synth_bulk_output_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_synth_bulk_output_init(AgsSynthBulkOutput *synth_bulk_output)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_synth_bulk_output_connect(AgsConnectable *connectable)
+{
+ if((AGS_EFFECT_BULK_CONNECTED & (AGS_EFFECT_BULK(connectable)->flags)) != 0){
+ return;
+ }
+
+ ags_synth_bulk_input_parent_connectable_interface->connect(connectable);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_synth_bulk_output_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_synth_bulk_output_new:
+ * @synth_bulk_output: the parent synth_bulk_output
+ * @audio: the #AgsAudio to visualize
+ * @channel_type: either %AGS_TYPE_INPUT or %AGS_TYPE_OUTPUT
+ *
+ * Creates an #AgsSynthBulkOutput
+ *
+ * Returns: a new #AgsSynthBulkOutput
+ *
+ * Since: 0.4
+ */
+AgsSynthBulkOutput*
+ags_synth_bulk_output_new(AgsAudio *audio,
+ GType channel_type)
+{
+ AgsSynthBulkOutput *synth_bulk_output;
+
+ synth_bulk_output = (AgsSynthBulkOutput *) g_object_new(AGS_TYPE_SYNTH_BULK_OUTPUT,
+ "audio\0", audio,
+ NULL);
+
+ return(synth_bulk_output);
+}
diff --git a/src/ags/X/machine/ags_synth_bulk_output.h b/src/ags/X/machine/ags_synth_bulk_output.h
new file mode 100644
index 0000000..57fbf23
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bulk_output.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_BULK_OUTPUT_H__
+#define __AGS_SYNTH_BULK_OUTPUT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+#define AGS_TYPE_SYNTH_BULK_OUTPUT (ags_synth_bulk_output_get_type())
+#define AGS_SYNTH_BULK_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_BULK_OUTPUT, AgsSynthBulkOutput))
+#define AGS_SYNTH_BULK_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SYNTH_BULK_OUTPUT, AgsSynthBulkOutputClass))
+#define AGS_IS_SYNTH_BULK_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_BULK_OUTPUT))
+#define AGS_IS_SYNTH_BULK_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_BULK_OUTPUT))
+#define AGS_SYNTH_BULK_OUTPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SYNTH_BULK_OUTPUT, AgsSynthBulkOutputClass))
+
+typedef struct _AgsSynthBulkOutput AgsSynthBulkOutput;
+typedef struct _AgsSynthBulkOutputClass AgsSynthBulkOutputClass;
+
+struct _AgsSynthBulkOutput
+{
+ AgsEffectBulk effect_bulk;
+};
+
+struct _AgsSynthBulkOutputClass
+{
+ AgsEffectBulkClass effect_bulk;
+};
+
+GType ags_synth_bulk_output_get_type(void);
+
+AgsSynthBulkOutput* ags_synth_bulk_output_new(AgsAudio *audio,
+ GType channel_type);
+
+#endif /*__AGS_SYNTH_BULK_OUTPUT_H__*/
diff --git a/src/ags/X/machine/ags_synth_bulk_output_callbacks.c b/src/ags/X/machine/ags_synth_bulk_output_callbacks.c
new file mode 100644
index 0000000..d7a964f
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bulk_output_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_bulk_output_callbacks.h>
diff --git a/src/ags/X/machine/ags_synth_bulk_output_callbacks.h b/src/ags/X/machine/ags_synth_bulk_output_callbacks.h
new file mode 100644
index 0000000..3dd50a3
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_bulk_output_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_BULK_OUTPUT_CALLBACKS_H__
+#define __AGS_SYNTH_BULK_OUTPUT_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_synth_bulk_output.h>
+
+#endif /*__AGS_SYNTH_BULK_OUTPUT_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_synth_callbacks.c b/src/ags/X/machine/ags_synth_callbacks.c
new file mode 100644
index 0000000..a173b2f
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_callbacks.c
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_callbacks.h>
+#include <ags/X/machine/ags_oscillator.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_window.h>
+
+#include <math.h>
+
+void
+ags_synth_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsSynth *synth)
+{
+ AgsWindow *window;
+
+ if(old_parent != NULL)
+ return;
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(widget);
+
+ AGS_MACHINE(synth)->name = g_strdup_printf("Default %d\0",
+ ags_window_find_machine_counter(window, AGS_TYPE_SYNTH)->counter);
+ ags_window_increment_machine_counter(window,
+ AGS_TYPE_SYNTH);
+}
+
+void
+ags_synth_lower_callback(GtkSpinButton *spin_button, AgsSynth *synth)
+{
+}
+
+void
+ags_synth_auto_update_callback(GtkToggleButton *toggle, AgsSynth *synth)
+{
+ if(gtk_toggle_button_get_active(toggle)){
+ synth->flags |= AGS_SYNTH_AUTO_UPDATE;
+ }else{
+ synth->flags &= (~AGS_SYNTH_AUTO_UPDATE);
+ }
+}
+
+void
+ags_synth_update_callback(GtkButton *button, AgsSynth *synth)
+{
+ ags_synth_update(synth);
+}
diff --git a/src/ags/X/machine/ags_synth_callbacks.h b/src/ags/X/machine/ags_synth_callbacks.h
new file mode 100644
index 0000000..660e3e3
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_callbacks.h
@@ -0,0 +1,35 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_CALLBACKS_H__
+#define __AGS_SYNTH_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_synth.h>
+
+void ags_synth_parent_set_callback(GtkWidget *widget, GtkObject *old_parent, AgsSynth *synth);
+
+void ags_synth_lower_callback(GtkSpinButton *spin_button, AgsSynth *synth);
+
+void ags_synth_auto_update_callback(GtkToggleButton *toggle, AgsSynth *synth);
+void ags_synth_update_callback(GtkButton *button, AgsSynth *synth);
+
+#endif /*__AGS_SYNTH_CALLBACKS_H__ */
diff --git a/src/ags/X/machine/ags_synth_input_line.c b/src/ags/X/machine/ags_synth_input_line.c
new file mode 100644
index 0000000..dcb2137
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_input_line.c
@@ -0,0 +1,372 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_input_line.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/plugin/ags_plugin_stock.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_recall_factory.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_volume_channel.h>
+#include <ags/audio/recall/ags_volume_channel_run.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_line_member.h>
+
+#include <ags/X/machine/ags_synth.h>
+
+void ags_synth_input_line_class_init(AgsSynthInputLineClass *synth_input_line);
+void ags_synth_input_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_synth_input_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_synth_input_line_init(AgsSynthInputLine *synth_input_line);
+void ags_synth_input_line_connect(AgsConnectable *connectable);
+void ags_synth_input_line_disconnect(AgsConnectable *connectable);
+gchar* ags_synth_input_line_get_name(AgsPlugin *plugin);
+void ags_synth_input_line_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_synth_input_line_get_xml_type(AgsPlugin *plugin);
+void ags_synth_input_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_synth_input_line_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+void ags_synth_input_line_resolve_line(AgsFileLookup *file_lookup,
+ AgsSynthInputLine *synth_input_line);
+xmlNode* ags_synth_input_line_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_synth_input_line_set_channel(AgsLine *line, AgsChannel *channel);
+void ags_synth_input_line_map_recall(AgsLine *line,
+ guint output_pad_start);
+
+/**
+ * SECTION:ags_synth_input_line
+ * @short_description: synth input line
+ * @title: AgsSynthInputLine
+ * @section_id:
+ * @include: ags/X/machine/ags_synth_input_line.h
+ *
+ * The #AgsSynthInputLine is a composite widget to act as synth input line.
+ */
+
+static gpointer ags_synth_input_line_parent_class = NULL;
+static AgsConnectableInterface *ags_synth_input_line_parent_connectable_interface;
+
+GType
+ags_synth_input_line_get_type()
+{
+ static GType ags_type_synth_input_line = 0;
+
+ if(!ags_type_synth_input_line){
+ static const GTypeInfo ags_synth_input_line_info = {
+ sizeof(AgsSynthInputLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_synth_input_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsSynthInputLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_synth_input_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_synth_input_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_synth_input_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_synth_input_line = g_type_register_static(AGS_TYPE_LINE,
+ "AgsSynthInputLine\0", &ags_synth_input_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_synth_input_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_synth_input_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_synth_input_line);
+}
+
+void
+ags_synth_input_line_class_init(AgsSynthInputLineClass *synth_input_line)
+{
+ AgsLineClass *line;
+
+ ags_synth_input_line_parent_class = g_type_class_peek_parent(synth_input_line);
+
+ /* AgsLineClass */
+ line = AGS_LINE_CLASS(synth_input_line);
+
+ line->set_channel = ags_synth_input_line_set_channel;
+ line->map_recall = ags_synth_input_line_map_recall;
+}
+
+void
+ags_synth_input_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_synth_input_line_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_synth_input_line_connect;
+ connectable->disconnect = ags_synth_input_line_disconnect;
+}
+
+void
+ags_synth_input_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_synth_input_line_get_name;
+ plugin->set_name = ags_synth_input_line_set_name;
+ plugin->get_xml_type = ags_synth_input_line_get_xml_type;
+ plugin->set_xml_type = ags_synth_input_line_set_xml_type;
+ plugin->read = ags_synth_input_line_read;
+ plugin->write = ags_synth_input_line_write;
+}
+
+void
+ags_synth_input_line_init(AgsSynthInputLine *synth_input_line)
+{
+ AgsOscillator *oscillator;
+
+ synth_input_line->name = NULL;
+ synth_input_line->xml_type = "ags-synth-input-line\0";
+
+ /* oscillator */
+ oscillator = ags_oscillator_new();
+ synth_input_line->oscillator = oscillator;
+ ags_expander_add(AGS_LINE(synth_input_line)->expander,
+ GTK_WIDGET(oscillator),
+ 0, 0,
+ 1, 1);
+}
+
+void
+ags_synth_input_line_connect(AgsConnectable *connectable)
+{
+ AgsSynthInputLine *synth_input_line;
+
+ synth_input_line = AGS_SYNTH_INPUT_LINE(connectable);
+
+ if((AGS_LINE_CONNECTED & (AGS_LINE(synth_input_line)->flags)) != 0){
+ return;
+ }
+
+ ags_synth_input_line_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_synth_input_line_disconnect(AgsConnectable *connectable)
+{
+ ags_synth_input_line_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_synth_input_line_set_channel(AgsLine *line, AgsChannel *channel)
+{
+ AgsSynthInputLine *synth_input_line;
+
+ AGS_LINE_CLASS(ags_synth_input_line_parent_class)->set_channel(line, channel);
+
+ synth_input_line = AGS_SYNTH_INPUT_LINE(line);
+
+ /* empty */
+}
+
+void
+ags_synth_input_line_map_recall(AgsLine *line,
+ guint output_pad_start)
+{
+ AgsSynth *synth;
+ AgsSynthInputLine *synth_input_line;
+ AgsAudio *audio;
+ AgsChannel *source;
+ guint i;
+
+ if((AGS_LINE_MAPPED_RECALL & (line->flags)) != 0 ||
+ (AGS_LINE_PREMAPPED_RECALL & (line->flags)) != 0){
+ return;
+ }
+
+ synth_input_line = AGS_SYNTH_INPUT_LINE(line);
+
+ audio = AGS_AUDIO(line->channel->audio);
+
+ synth = AGS_SYNTH(audio->machine);
+
+ source = line->channel;
+
+ /* empty */
+ /* call parent */
+ AGS_LINE_CLASS(ags_synth_input_line_parent_class)->map_recall(line,
+ output_pad_start);
+}
+
+gchar*
+ags_synth_input_line_get_name(AgsPlugin *plugin)
+{
+ return(AGS_SYNTH_INPUT_LINE(plugin)->name);
+}
+
+void
+ags_synth_input_line_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_SYNTH_INPUT_LINE(plugin)->name = name;
+}
+
+gchar*
+ags_synth_input_line_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_SYNTH_INPUT_LINE(plugin)->xml_type);
+}
+
+void
+ags_synth_input_line_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_SYNTH_INPUT_LINE(plugin)->xml_type = xml_type;
+}
+
+void
+ags_synth_input_line_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsSynthInputLine *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+
+ gobject = AGS_SYNTH_INPUT_LINE(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->oscillator = ags_oscillator_new();
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_synth_input_line_resolve_line), gobject);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(XML_ELEMENT_NODE == child->type){
+ if(!xmlStrncmp(child->name,
+ "ags-oscillator\0",
+ 15)){
+ ags_file_read_oscillator(file, child, &(gobject->oscillator));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_synth_input_line_resolve_line(AgsFileLookup *file_lookup,
+ AgsSynthInputLine *synth_input_line)
+{
+ ags_expander_add(AGS_LINE(synth_input_line)->expander,
+ GTK_WIDGET(synth_input_line->oscillator),
+ 0, 0,
+ 1, 1);
+}
+
+xmlNode*
+ags_synth_input_line_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsSynthInputLine *synth_input_line;
+ xmlNode *node;
+ gchar *id;
+
+ synth_input_line = AGS_SYNTH_INPUT_LINE(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-synth-input-line\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", synth_input_line,
+ NULL));
+
+ ags_file_write_oscillator(file, node, synth_input_line->oscillator);
+
+ xmlAddChild(parent,
+ node);
+}
+
+/**
+ * ags_synth_input_line_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsSynthInputLine
+ *
+ * Returns: a new #AgsSynthInputLine
+ *
+ * Since: 0.4
+ */
+AgsSynthInputLine*
+ags_synth_input_line_new(AgsChannel *channel)
+{
+ AgsSynthInputLine *synth_input_line;
+
+ synth_input_line = (AgsSynthInputLine *) g_object_new(AGS_TYPE_SYNTH_INPUT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(synth_input_line);
+}
+
diff --git a/src/ags/X/machine/ags_synth_input_line.h b/src/ags/X/machine/ags_synth_input_line.h
new file mode 100644
index 0000000..7ffd6af
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_input_line.h
@@ -0,0 +1,60 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_INPUT_LINE_H__
+#define __AGS_SYNTH_INPUT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_line.h>
+
+#include <ags/X/machine/ags_oscillator.h>
+
+#define AGS_TYPE_SYNTH_INPUT_LINE (ags_synth_input_line_get_type())
+#define AGS_SYNTH_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_INPUT_LINE, AgsSynthInputLine))
+#define AGS_SYNTH_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SYNTH_INPUT_LINE, AgsSynthInputLineClass))
+#define AGS_IS_SYNTH_INPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_INPUT_LINE))
+#define AGS_IS_SYNTH_INPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_INPUT_LINE))
+#define AGS_SYNTH_INPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SYNTH_INPUT_LINE, AgsSynthInputLineClass))
+
+typedef struct _AgsSynthInputLine AgsSynthInputLine;
+typedef struct _AgsSynthInputLineClass AgsSynthInputLineClass;
+
+struct _AgsSynthInputLine
+{
+ AgsLine line;
+
+ gchar *name;
+ gchar *xml_type;
+
+ AgsOscillator *oscillator;
+};
+
+struct _AgsSynthInputLineClass
+{
+ AgsLineClass line;
+};
+
+GType ags_synth_input_line_get_type();
+
+AgsSynthInputLine* ags_synth_input_line_new(AgsChannel *channel);
+
+#endif /*__AGS_SYNTH_INPUT_LINE_H__*/
+
diff --git a/src/ags/X/machine/ags_synth_input_pad.c b/src/ags/X/machine/ags_synth_input_pad.c
new file mode 100644
index 0000000..da1c17e
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_input_pad.c
@@ -0,0 +1,298 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_input_pad.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/X/ags_window.h>
+
+#include <ags/X/machine/ags_synth.h>
+
+#include <math.h>
+
+void ags_synth_input_pad_class_init(AgsSynthInputPadClass *synth_input_pad);
+void ags_synth_input_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_synth_input_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_synth_input_pad_init(AgsSynthInputPad *synth_input_pad);
+void ags_synth_input_pad_destroy(GtkObject *object);
+void ags_synth_input_pad_connect(AgsConnectable *connectable);
+void ags_synth_input_pad_disconnect(AgsConnectable *connectable);
+gchar* ags_synth_input_pad_get_name(AgsPlugin *plugin);
+void ags_synth_input_pad_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_synth_input_pad_get_xml_type(AgsPlugin *plugin);
+void ags_synth_input_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+void ags_synth_input_pad_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_synth_input_pad_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_synth_input_pad_set_channel(AgsPad *pad, AgsChannel *channel);
+void ags_synth_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old);
+
+/**
+ * SECTION:ags_synth_input_pad
+ * @short_description: synth input pad
+ * @title: AgsSynthInputPad
+ * @section_id:
+ * @include: ags/X/machine/ags_synth_input_pad.h
+ *
+ * The #AgsSynthInputPad is a composite widget to act as synth input pad.
+ */
+
+static gpointer ags_synth_input_pad_parent_class = NULL;
+static AgsConnectableInterface *ags_synth_input_pad_parent_connectable_interface;
+
+GType
+ags_synth_input_pad_get_type()
+{
+ static GType ags_type_synth_input_pad = 0;
+
+ if(!ags_type_synth_input_pad){
+ static const GTypeInfo ags_synth_input_pad_info = {
+ sizeof(AgsSynthInputPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_synth_input_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsSynthInputPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_synth_input_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_synth_input_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_synth_input_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_synth_input_pad = g_type_register_static(AGS_TYPE_PAD,
+ "AgsSynthInputPad\0", &ags_synth_input_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_synth_input_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_synth_input_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_synth_input_pad);
+}
+
+void
+ags_synth_input_pad_class_init(AgsSynthInputPadClass *synth_input_pad)
+{
+ AgsPadClass *pad;
+
+ ags_synth_input_pad_parent_class = g_type_class_peek_parent(synth_input_pad);
+
+ pad = (AgsPadClass *) synth_input_pad;
+
+ pad->set_channel = ags_synth_input_pad_set_channel;
+ pad->resize_lines = ags_synth_input_pad_resize_lines;
+}
+
+void
+ags_synth_input_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_synth_input_pad_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_synth_input_pad_connect;
+ connectable->disconnect = ags_synth_input_pad_disconnect;
+}
+
+void
+ags_synth_input_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_synth_input_pad_get_name;
+ plugin->set_name = ags_synth_input_pad_set_name;
+ plugin->get_xml_type = ags_synth_input_pad_get_xml_type;
+ plugin->set_xml_type = ags_synth_input_pad_set_xml_type;
+ plugin->read = ags_synth_input_pad_read;
+ plugin->write = ags_synth_input_pad_write;
+}
+
+void
+ags_synth_input_pad_init(AgsSynthInputPad *synth_input_pad)
+{
+ synth_input_pad->name = NULL;
+ synth_input_pad->xml_type = "ags-synth-input-pad\0";
+}
+
+void
+ags_synth_input_pad_connect(AgsConnectable *connectable)
+{
+ AgsSynthInputPad *synth_input_pad;
+
+ /* AgsSynthInputPad */
+ synth_input_pad = AGS_SYNTH_INPUT_PAD(connectable);
+
+ if((AGS_PAD_CONNECTED & (AGS_PAD(synth_input_pad)->flags)) != 0){
+ return;
+ }
+
+ ags_synth_input_pad_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_synth_input_pad_disconnect(AgsConnectable *connectable)
+{
+ ags_synth_input_pad_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_synth_input_pad_destroy(GtkObject *object)
+{
+ /* empty */
+}
+
+gchar*
+ags_synth_input_pad_get_name(AgsPlugin *plugin)
+{
+ return(AGS_SYNTH_INPUT_PAD(plugin)->name);
+}
+
+void
+ags_synth_input_pad_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_SYNTH_INPUT_PAD(plugin)->name = name;
+}
+
+gchar*
+ags_synth_input_pad_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_SYNTH_INPUT_PAD(plugin)->xml_type);
+}
+
+void
+ags_synth_input_pad_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_SYNTH_INPUT_PAD(plugin)->xml_type = xml_type;
+}
+
+void
+ags_synth_input_pad_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsSynthInputPad *gobject;
+ AgsFileLookup *file_lookup;
+
+ gobject = AGS_SYNTH_INPUT_PAD(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+}
+
+xmlNode*
+ags_synth_input_pad_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsSynthInputPad *synth_input_pad;
+ xmlNode *node;
+ gchar *id;
+
+ synth_input_pad = AGS_SYNTH_INPUT_PAD(plugin);
+ node = NULL;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-synth-input-pad\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", synth_input_pad,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_synth_input_pad_set_channel(AgsPad *pad, AgsChannel *channel)
+{
+ AGS_PAD_CLASS(ags_synth_input_pad_parent_class)->set_channel(pad, channel);
+
+ /* empty */
+}
+
+void
+ags_synth_input_pad_resize_lines(AgsPad *pad, GType line_type,
+ guint audio_channels, guint audio_channels_old)
+{
+ AGS_PAD_CLASS(ags_synth_input_pad_parent_class)->resize_lines(pad, line_type,
+ audio_channels, audio_channels_old);
+
+ /* empty */
+}
+
+/**
+ * ags_synth_input_pad_new:
+ * @channel: the assigned channel
+ *
+ * Creates an #AgsSynthInputPad
+ *
+ * Returns: a new #AgsSynthInputPad
+ *
+ * Since: 0.4
+ */
+AgsSynthInputPad*
+ags_synth_input_pad_new(AgsChannel *channel)
+{
+ AgsSynthInputPad *synth_input_pad;
+
+ synth_input_pad = (AgsSynthInputPad *) g_object_new(AGS_TYPE_SYNTH_INPUT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(synth_input_pad);
+}
+
diff --git a/src/ags/X/machine/ags_synth_input_pad.h b/src/ags/X/machine/ags_synth_input_pad.h
new file mode 100644
index 0000000..7125ed7
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_input_pad.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_INPUT_PAD_H__
+#define __AGS_SYNTH_INPUT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/ags_pad.h>
+
+#define AGS_TYPE_SYNTH_INPUT_PAD (ags_synth_input_pad_get_type())
+#define AGS_SYNTH_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_INPUT_PAD, AgsSynthInputPad))
+#define AGS_SYNTH_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SYNTH_INPUT_PAD, AgsSynthInputPadClass))
+#define AGS_IS_SYNTH_INPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_INPUT_PAD))
+#define AGS_IS_SYNTH_INPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_INPUT_PAD))
+#define AGS_SYNTH_INPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SYNTH_INPUT_PAD, AgsSynthInputPadClass))
+
+typedef struct _AgsSynthInputPad AgsSynthInputPad;
+typedef struct _AgsSynthInputPadClass AgsSynthInputPadClass;
+
+struct _AgsSynthInputPad
+{
+ AgsPad pad;
+
+ gchar *name;
+ gchar *xml_type;
+};
+
+struct _AgsSynthInputPadClass
+{
+ AgsPadClass pad;
+};
+
+GType ags_synth_input_pad_get_type();
+
+AgsSynthInputPad* ags_synth_input_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_SYNTH_INPUT_PAD_H__*/
diff --git a/src/ags/X/machine/ags_synth_output_line.c b/src/ags/X/machine/ags_synth_output_line.c
new file mode 100644
index 0000000..77440cc
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_line.c
@@ -0,0 +1,179 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_output_line.h>
+#include <ags/X/machine/ags_synth_output_line_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_effect_bridge.h>
+#include <ags/X/ags_effect_line.h>
+
+void ags_synth_output_line_class_init(AgsSynthOutputLineClass *synth_output_line);
+void ags_synth_output_line_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_synth_output_line_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_synth_output_line_init(AgsSynthOutputLine *synth_output_line);
+void ags_synth_output_line_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_synth_output_line_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_synth_output_line_connect(AgsConnectable *connectable);
+void ags_synth_output_line_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_synth_output_line
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsSynthOutputLine
+ * @section_id:
+ * @include: ags/X/ags_synth_output_line.h
+ *
+ * #AgsSynthOutputLine is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsSynthOutputLine.
+ */
+
+static gpointer ags_synth_output_line_parent_class = NULL;
+
+GType
+ags_synth_output_line_get_type(void)
+{
+ static GType ags_type_synth_output_line = 0;
+
+ if(!ags_type_synth_output_line){
+ static const GTypeInfo ags_synth_output_line_info = {
+ sizeof(AgsSynthOutputLineClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_synth_output_line_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsSynthOutputLine),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_synth_output_line_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_synth_output_line_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_synth_output_line_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_synth_output_line = g_type_register_static(AGS_TYPE_EFFECT_LINE,
+ "AgsSynthOutputLine\0", &ags_synth_output_line_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_synth_output_line,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_synth_output_line,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_synth_output_line);
+}
+
+void
+ags_synth_output_line_class_init(AgsSynthOutputLineClass *synth_output_line)
+{
+ GObjectClass *gobject;
+
+ ags_synth_output_line_parent_class = g_type_class_peek_parent(synth_output_line);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) synth_output_line;
+}
+
+void
+ags_synth_output_line_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_synth_output_line_connect;
+ connectable->disconnect = ags_synth_output_line_disconnect;
+}
+
+void
+ags_synth_output_line_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_synth_output_line_init(AgsSynthOutputLine *synth_output_line)
+{
+ g_signal_connect_after(synth_output_line, "notify::channel",
+ G_CALLBACK(ags_synth_output_line_notify_channel_callback), NULL);
+}
+
+void
+ags_synth_output_line_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_synth_output_line_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_synth_output_line_new:
+ * @synth_output_line: the parent synth_output_line
+ * @channel: the #AgsChannel to visualize
+ *
+ * Creates an #AgsSynthOutputLine
+ *
+ * Returns: a new #AgsSynthOutputLine
+ *
+ * Since: 0.4
+ */
+AgsSynthOutputLine*
+ags_synth_output_line_new(AgsChannel *channel)
+{
+ AgsSynthOutputLine *synth_output_line;
+
+ synth_output_line = (AgsSynthOutputLine *) g_object_new(AGS_TYPE_SYNTH_OUTPUT_LINE,
+ "channel\0", channel,
+ NULL);
+
+ return(synth_output_line);
+}
diff --git a/src/ags/X/machine/ags_synth_output_line.h b/src/ags/X/machine/ags_synth_output_line.h
new file mode 100644
index 0000000..3b1213f
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_line.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_OUTPUT_LINE_H__
+#define __AGS_SYNTH_OUTPUT_LINE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_effect_line.h>
+
+#define AGS_TYPE_SYNTH_OUTPUT_LINE (ags_synth_output_line_get_type())
+#define AGS_SYNTH_OUTPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_OUTPUT_LINE, AgsSynthOutputLine))
+#define AGS_SYNTH_OUTPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SYNTH_OUTPUT_LINE, AgsSynthOutputLineClass))
+#define AGS_IS_SYNTH_OUTPUT_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_OUTPUT_LINE))
+#define AGS_IS_SYNTH_OUTPUT_LINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_OUTPUT_LINE))
+#define AGS_SYNTH_OUTPUT_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SYNTH_OUTPUT_LINE, AgsSynthOutputLineClass))
+
+typedef struct _AgsSynthOutputLine AgsSynthOutputLine;
+typedef struct _AgsSynthOutputLineClass AgsSynthOutputLineClass;
+
+struct _AgsSynthOutputLine
+{
+ AgsEffectLine effect_line;
+};
+
+struct _AgsSynthOutputLineClass
+{
+ AgsEffectLineClass effect_line;
+};
+
+GType ags_synth_output_line_get_type(void);
+
+AgsSynthOutputLine* ags_synth_output_line_new(AgsChannel *channel);
+
+#endif /*__AGS_SYNTH_OUTPUT_LINE_H__*/
diff --git a/src/ags/X/machine/ags_synth_output_line_callbacks.c b/src/ags/X/machine/ags_synth_output_line_callbacks.c
new file mode 100644
index 0000000..74d932b
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_line_callbacks.c
@@ -0,0 +1,33 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_output_line_callbacks.h>
+
+void
+ags_synth_output_line_notify_channel_callback(GObject *gobject,
+ GParamSpec *pspec,
+ gpointer user_data)
+{
+ AgsSynthOutputLine *synth_output_line;
+
+ synth_output_line = AGS_SYNTH_OUTPUT_LINE(gobject);
+ gtk_label_set_text(AGS_EFFECT_LINE(synth_output_line)->label,
+ g_strdup_printf("out:%d,%d",
+ AGS_EFFECT_LINE(synth_output_line)->channel->pad,
+ AGS_EFFECT_LINE(synth_output_line)->channel->audio_channel));
+}
diff --git a/src/ags/X/machine/ags_synth_output_line_callbacks.h b/src/ags/X/machine/ags_synth_output_line_callbacks.h
new file mode 100644
index 0000000..990a032
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_line_callbacks.h
@@ -0,0 +1,32 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_OUTPUT_LINE_CALLBACKS_H__
+#define __AGS_SYNTH_OUTPUT_LINE_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_synth_output_line.h>
+
+void ags_synth_output_line_notify_channel_callback(GObject *gobject,
+ GParamSpec *pspec,
+ gpointer user_data);
+
+#endif /*__AGS_SYNTH_OUTPUT_LINE_CALLBACKS_H__*/
diff --git a/src/ags/X/machine/ags_synth_output_pad.c b/src/ags/X/machine/ags_synth_output_pad.c
new file mode 100644
index 0000000..329dc12
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_pad.c
@@ -0,0 +1,178 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_output_pad.h>
+#include <ags/X/machine/ags_synth_output_pad_callbacks.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/X/ags_effect_bridge.h>
+#include <ags/X/ags_effect_line.h>
+
+void ags_synth_output_pad_class_init(AgsSynthOutputPadClass *synth_output_pad);
+void ags_synth_output_pad_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_synth_output_pad_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_synth_output_pad_init(AgsSynthOutputPad *synth_output_pad);
+void ags_synth_output_pad_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_synth_output_pad_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_synth_output_pad_connect(AgsConnectable *connectable);
+void ags_synth_output_pad_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_synth_output_pad
+ * @short_description: A composite widget to visualize a bunch of #AgsChannel
+ * @title: AgsSynthOutputPad
+ * @section_id:
+ * @include: ags/X/ags_synth_output_pad.h
+ *
+ * #AgsSynthOutputPad is a composite widget to visualize one #AgsChannel. It should be
+ * packed by an #AgsSynthOutputPad.
+ */
+
+static gpointer ags_synth_output_pad_parent_class = NULL;
+
+GType
+ags_synth_output_pad_get_type(void)
+{
+ static GType ags_type_synth_output_pad = 0;
+
+ if(!ags_type_synth_output_pad){
+ static const GTypeInfo ags_synth_output_pad_info = {
+ sizeof(AgsSynthOutputPadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_synth_output_pad_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsSynthOutputPad),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_synth_output_pad_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_synth_output_pad_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_synth_output_pad_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_synth_output_pad = g_type_register_static(AGS_TYPE_EFFECT_PAD,
+ "AgsSynthOutputPad\0", &ags_synth_output_pad_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_synth_output_pad,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_synth_output_pad,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_synth_output_pad);
+}
+
+void
+ags_synth_output_pad_class_init(AgsSynthOutputPadClass *synth_output_pad)
+{
+ GObjectClass *gobject;
+
+ ags_synth_output_pad_parent_class = g_type_class_peek_parent(synth_output_pad);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) synth_output_pad;
+}
+
+void
+ags_synth_output_pad_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_synth_output_pad_connect;
+ connectable->disconnect = ags_synth_output_pad_disconnect;
+}
+
+void
+ags_synth_output_pad_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = NULL;
+ plugin->set_name = NULL;
+ plugin->get_xml_type = NULL;
+ plugin->set_xml_type = NULL;
+ plugin->get_ports = NULL;
+ plugin->read = NULL;
+ plugin->write = NULL;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_synth_output_pad_init(AgsSynthOutputPad *synth_output_pad)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_synth_output_pad_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_synth_output_pad_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_synth_output_pad_new:
+ * @synth_output_pad: the parent synth_output_pad
+ * @channel: the #AgsChannel to visualize
+ *
+ * Creates an #AgsSynthOutputPad
+ *
+ * Returns: a new #AgsSynthOutputPad
+ *
+ * Since: 0.4
+ */
+AgsSynthOutputPad*
+ags_synth_output_pad_new(AgsChannel *channel)
+{
+ AgsSynthOutputPad *synth_output_pad;
+
+ synth_output_pad = (AgsSynthOutputPad *) g_object_new(AGS_TYPE_SYNTH_OUTPUT_PAD,
+ "channel\0", channel,
+ NULL);
+
+ return(synth_output_pad);
+}
diff --git a/src/ags/X/machine/ags_synth_output_pad.h b/src/ags/X/machine/ags_synth_output_pad.h
new file mode 100644
index 0000000..6141ba1
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_pad.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_OUTPUT_PAD_H__
+#define __AGS_SYNTH_OUTPUT_PAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_effect_pad.h>
+
+#define AGS_TYPE_SYNTH_OUTPUT_PAD (ags_synth_output_pad_get_type())
+#define AGS_SYNTH_OUTPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SYNTH_OUTPUT_PAD, AgsSynthOutputPad))
+#define AGS_SYNTH_OUTPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SYNTH_OUTPUT_PAD, AgsSynthOutputPadClass))
+#define AGS_IS_SYNTH_OUTPUT_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SYNTH_OUTPUT_PAD))
+#define AGS_IS_SYNTH_OUTPUT_PAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SYNTH_OUTPUT_PAD))
+#define AGS_SYNTH_OUTPUT_PAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SYNTH_OUTPUT_PAD, AgsSynthOutputPadClass))
+
+typedef struct _AgsSynthOutputPad AgsSynthOutputPad;
+typedef struct _AgsSynthOutputPadClass AgsSynthOutputPadClass;
+
+struct _AgsSynthOutputPad
+{
+ AgsEffectPad effect_pad;
+};
+
+struct _AgsSynthOutputPadClass
+{
+ AgsEffectPadClass effect_pad;
+};
+
+GType ags_synth_output_pad_get_type(void);
+
+AgsSynthOutputPad* ags_synth_output_pad_new(AgsChannel *channel);
+
+#endif /*__AGS_SYNTH_OUTPUT_PAD_H__*/
diff --git a/src/ags/X/machine/ags_synth_output_pad_callbacks.c b/src/ags/X/machine/ags_synth_output_pad_callbacks.c
new file mode 100644
index 0000000..0e2684f
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_pad_callbacks.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/X/machine/ags_synth_output_pad_callbacks.h>
diff --git a/src/ags/X/machine/ags_synth_output_pad_callbacks.h b/src/ags/X/machine/ags_synth_output_pad_callbacks.h
new file mode 100644
index 0000000..f05977f
--- /dev/null
+++ b/src/ags/X/machine/ags_synth_output_pad_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_OUTPUT_PAD_CALLBACKS_H__
+#define __AGS_SYNTH_OUTPUT_PAD_CALLBACKS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/X/machine/ags_synth_output_pad.h>
+
+#endif /*__AGS_SYNTH_OUTPUT_PAD_CALLBACKS_H__*/
diff --git a/src/ags/audio/Makefile b/src/ags/audio/Makefile
new file mode 100644
index 0000000..0db1dc6
--- /dev/null
+++ b/src/ags/audio/Makefile
@@ -0,0 +1,540 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/audio/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/audio
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/audio
+abs_srcdir = /usr/src/ags-devel/src/ags/audio
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_audio_h_sources = \
+ ags_garbage_collector.h \
+ ags_effect.h \
+ ags_libao.h \
+ ags_timestamp.h \
+ ags_timestamp_factory.h
+
+ags_audio_h_sources = \
+ $(deprecated_ags_audio_h_sources) \
+ ags_acceleration.h \
+ ags_audio.h \
+ ags_audio_signal.h \
+ ags_automation.h \
+ ags_channel.h \
+ ags_channel_iter.h \
+ ags_config.h \
+ ags_devout.h \
+ ags_input.h \
+ ags_notation.h \
+ ags_note.h \
+ ags_output.h \
+ ags_pattern.h \
+ ags_port.h \
+ ags_recall_audio.h \
+ ags_recall_audio_run.h \
+ ags_recall_audio_signal.h \
+ ags_recall_channel.h \
+ ags_recall_channel_run_dummy.h \
+ ags_recall_channel_run.h \
+ ags_recall_container.h \
+ ags_recall_dependency.h \
+ ags_recall.h \
+ ags_recall_id.h \
+ ags_recall_ladspa.h \
+ ags_recall_ladspa_run.h \
+ ags_recall_recycling_dummy.h \
+ ags_recall_recycling.h \
+ ags_recall_recycling_container.h \
+ ags_recycling.h \
+ ags_synths.h \
+ ags_task.h \
+ ags_timestamp_factory.h \
+ ags_timestamp.h
+
+deprecated_ags_audio_c_sources = \
+ ags_garbage_collector.c \
+ ags_effect.c \
+ ags_libao.c \
+ ags_timestamp.c \
+ ags_timestamp_factory.c
+
+ags_audio_c_sources = \
+ $(deprecated_ags_audio_c_sources) \
+ ags_acceleration.c \
+ ags_audio.c \
+ ags_audio_signal.c \
+ ags_automation.c \
+ ags_channel.c \
+ ags_channel_iter.c \
+ ags_config.c \
+ ags_devout.c \
+ ags_input.c \
+ ags_notation.c \
+ ags_note.c \
+ ags_output.c \
+ ags_pattern.c \
+ ags_port.c \
+ ags_recall_audio.c \
+ ags_recall_audio_run.c \
+ ags_recall_audio_signal.c \
+ ags_recall_channel.c \
+ ags_recall_channel_run_dummy.c \
+ ags_recall_channel_run.c \
+ ags_recall_container.c \
+ ags_recall_dependency.c \
+ ags_recall.c \
+ ags_recall_id.c \
+ ags_recall_ladspa.c \
+ ags_recall_ladspa_run.c \
+ ags_recall_recycling_dummy.c \
+ ags_recall_recycling.c \
+ ags_recall_recycling_container.c \
+ ags_recycling.c \
+ ags_synths.c \
+ ags_task.c \
+ ags_timestamp_factory.c \
+ ags_timestamp.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/Makefile.am b/src/ags/audio/Makefile.am
new file mode 100644
index 0000000..916ec81
--- /dev/null
+++ b/src/ags/audio/Makefile.am
@@ -0,0 +1,87 @@
+deprecated_ags_audio_h_sources = \
+ ags_garbage_collector.h \
+ ags_effect.h \
+ ags_libao.h \
+ ags_timestamp.h \
+ ags_timestamp_factory.h
+
+ags_audio_h_sources = \
+ $(deprecated_ags_audio_h_sources) \
+ ags_acceleration.h \
+ ags_audio.h \
+ ags_audio_signal.h \
+ ags_automation.h \
+ ags_channel.h \
+ ags_channel_iter.h \
+ ags_config.h \
+ ags_devout.h \
+ ags_input.h \
+ ags_notation.h \
+ ags_note.h \
+ ags_output.h \
+ ags_pattern.h \
+ ags_port.h \
+ ags_recall_audio.h \
+ ags_recall_audio_run.h \
+ ags_recall_audio_signal.h \
+ ags_recall_channel.h \
+ ags_recall_channel_run_dummy.h \
+ ags_recall_channel_run.h \
+ ags_recall_container.h \
+ ags_recall_dependency.h \
+ ags_recall.h \
+ ags_recall_id.h \
+ ags_recall_ladspa.h \
+ ags_recall_ladspa_run.h \
+ ags_recall_recycling_dummy.h \
+ ags_recall_recycling.h \
+ ags_recall_recycling_container.h \
+ ags_recycling.h \
+ ags_synths.h \
+ ags_task.h \
+ ags_timestamp_factory.h \
+ ags_timestamp.h
+
+deprecated_ags_audio_c_sources = \
+ ags_garbage_collector.c \
+ ags_effect.c \
+ ags_libao.c \
+ ags_timestamp.c \
+ ags_timestamp_factory.c
+
+ags_audio_c_sources = \
+ $(deprecated_ags_audio_c_sources) \
+ ags_acceleration.c \
+ ags_audio.c \
+ ags_audio_signal.c \
+ ags_automation.c \
+ ags_channel.c \
+ ags_channel_iter.c \
+ ags_config.c \
+ ags_devout.c \
+ ags_input.c \
+ ags_notation.c \
+ ags_note.c \
+ ags_output.c \
+ ags_pattern.c \
+ ags_port.c \
+ ags_recall_audio.c \
+ ags_recall_audio_run.c \
+ ags_recall_audio_signal.c \
+ ags_recall_channel.c \
+ ags_recall_channel_run_dummy.c \
+ ags_recall_channel_run.c \
+ ags_recall_container.c \
+ ags_recall_dependency.c \
+ ags_recall.c \
+ ags_recall_id.c \
+ ags_recall_ladspa.c \
+ ags_recall_ladspa_run.c \
+ ags_recall_recycling_dummy.c \
+ ags_recall_recycling.c \
+ ags_recall_recycling_container.c \
+ ags_recycling.c \
+ ags_synths.c \
+ ags_task.c \
+ ags_timestamp_factory.c \
+ ags_timestamp.c
diff --git a/src/ags/audio/Makefile.in b/src/ags/audio/Makefile.in
new file mode 100644
index 0000000..4ad3050
--- /dev/null
+++ b/src/ags/audio/Makefile.in
@@ -0,0 +1,540 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/audio
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_audio_h_sources = \
+ ags_garbage_collector.h \
+ ags_effect.h \
+ ags_libao.h \
+ ags_timestamp.h \
+ ags_timestamp_factory.h
+
+ags_audio_h_sources = \
+ $(deprecated_ags_audio_h_sources) \
+ ags_acceleration.h \
+ ags_audio.h \
+ ags_audio_signal.h \
+ ags_automation.h \
+ ags_channel.h \
+ ags_channel_iter.h \
+ ags_config.h \
+ ags_devout.h \
+ ags_input.h \
+ ags_notation.h \
+ ags_note.h \
+ ags_output.h \
+ ags_pattern.h \
+ ags_port.h \
+ ags_recall_audio.h \
+ ags_recall_audio_run.h \
+ ags_recall_audio_signal.h \
+ ags_recall_channel.h \
+ ags_recall_channel_run_dummy.h \
+ ags_recall_channel_run.h \
+ ags_recall_container.h \
+ ags_recall_dependency.h \
+ ags_recall.h \
+ ags_recall_id.h \
+ ags_recall_ladspa.h \
+ ags_recall_ladspa_run.h \
+ ags_recall_recycling_dummy.h \
+ ags_recall_recycling.h \
+ ags_recall_recycling_container.h \
+ ags_recycling.h \
+ ags_synths.h \
+ ags_task.h \
+ ags_timestamp_factory.h \
+ ags_timestamp.h
+
+deprecated_ags_audio_c_sources = \
+ ags_garbage_collector.c \
+ ags_effect.c \
+ ags_libao.c \
+ ags_timestamp.c \
+ ags_timestamp_factory.c
+
+ags_audio_c_sources = \
+ $(deprecated_ags_audio_c_sources) \
+ ags_acceleration.c \
+ ags_audio.c \
+ ags_audio_signal.c \
+ ags_automation.c \
+ ags_channel.c \
+ ags_channel_iter.c \
+ ags_config.c \
+ ags_devout.c \
+ ags_input.c \
+ ags_notation.c \
+ ags_note.c \
+ ags_output.c \
+ ags_pattern.c \
+ ags_port.c \
+ ags_recall_audio.c \
+ ags_recall_audio_run.c \
+ ags_recall_audio_signal.c \
+ ags_recall_channel.c \
+ ags_recall_channel_run_dummy.c \
+ ags_recall_channel_run.c \
+ ags_recall_container.c \
+ ags_recall_dependency.c \
+ ags_recall.c \
+ ags_recall_id.c \
+ ags_recall_ladspa.c \
+ ags_recall_ladspa_run.c \
+ ags_recall_recycling_dummy.c \
+ ags_recall_recycling.c \
+ ags_recall_recycling_container.c \
+ ags_recycling.c \
+ ags_synths.c \
+ ags_task.c \
+ ags_timestamp_factory.c \
+ ags_timestamp.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/ags_acceleration.c b/src/ags/audio/ags_acceleration.c
new file mode 100644
index 0000000..3efbd11
--- /dev/null
+++ b/src/ags/audio/ags_acceleration.c
@@ -0,0 +1,174 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_acceleration.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <stdlib.h>
+
+void ags_acceleration_class_init(AgsAccelerationClass *acceleration);
+void ags_acceleration_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_acceleration_init(AgsAcceleration *acceleration);
+void ags_acceleration_connect(AgsConnectable *connectable);
+void ags_acceleration_disconnect(AgsConnectable *connectable);
+void ags_acceleration_finalize(GObject *object);
+
+/**
+ * SECTION:ags_acceleration
+ * @short_description: Acceleration class.
+ * @title: AgsAcceleration
+ * @section_id:
+ * @include: ags/audio/ags_acceleration.h
+ *
+ * #AgsAcceleration represents a downhill-grade.
+ */
+
+static gpointer ags_acceleration_parent_class = NULL;
+
+GType
+ags_acceleration_get_type()
+{
+ static GType ags_type_acceleration = 0;
+
+ if(!ags_type_acceleration){
+ static const GTypeInfo ags_acceleration_info = {
+ sizeof(AgsAccelerationClass),
+ NULL,
+ NULL,
+ (GClassInitFunc) ags_acceleration_class_init,
+ NULL,
+ NULL,
+ sizeof(AgsAcceleration),
+ 0,
+ (GInstanceInitFunc) ags_acceleration_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_acceleration_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_acceleration = g_type_register_static(G_TYPE_OBJECT,
+ "AgsAcceleration\0",
+ &ags_acceleration_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_acceleration,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_acceleration);
+}
+
+void
+ags_acceleration_class_init(AgsAccelerationClass *acceleration)
+{
+ GObjectClass *gobject;
+
+ ags_acceleration_parent_class = g_type_class_peek_parent(acceleration);
+
+ gobject = (GObjectClass *) acceleration;
+
+ gobject->finalize = ags_acceleration_finalize;
+}
+
+void
+ags_acceleration_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_acceleration_connect;
+ connectable->disconnect = ags_acceleration_disconnect;
+}
+
+void
+ags_acceleration_init(AgsAcceleration *acceleration)
+{
+ acceleration->flags = 0;
+
+ acceleration->x = 0;
+ acceleration->y = 0;
+
+ acceleration->name = NULL;
+ acceleration->frequency = 440.0;
+}
+
+void
+ags_acceleration_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_acceleration_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_acceleration_finalize(GObject *gobject)
+{
+ /* empty */
+
+ G_OBJECT_CLASS(ags_acceleration_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_acceleration_duplicate:
+ * @acceleration: an #AgsAcceleration
+ *
+ * Duplicate a acceleration.
+ *
+ * Returns: the duplicated #AgsAcceleration.
+ *
+ * Since: 0.4
+ */
+AgsAcceleration*
+ags_acceleration_duplicate(AgsAcceleration *acceleration)
+{
+ AgsAcceleration *copy;
+
+ copy = ags_acceleration_new();
+
+ copy->flags = 0;
+
+ copy->x = acceleration->x;
+ copy->y = acceleration->y;
+
+ return(copy);
+}
+
+/**
+ * ags_acceleration_new:
+ *
+ * Creates an #AgsAcceleration
+ *
+ * Returns: a new #AgsAcceleration
+ *
+ * Since: 0.4
+ */
+AgsAcceleration*
+ags_acceleration_new()
+{
+ AgsAcceleration *acceleration;
+
+ acceleration = (AgsAcceleration *) g_object_new(AGS_TYPE_ACCELERATION, NULL);
+
+ return(acceleration);
+}
diff --git a/src/ags/audio/ags_acceleration.h b/src/ags/audio/ags_acceleration.h
new file mode 100644
index 0000000..15afb85
--- /dev/null
+++ b/src/ags/audio/ags_acceleration.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ACCELERATION_H__
+#define __AGS_ACCELERATION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_TYPE_ACCELERATION (ags_acceleration_get_type())
+#define AGS_ACCELERATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ACCELERATION, AgsAcceleration))
+#define AGS_ACCELERATION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ACCELERATION, AgsAccelerationClass))
+#define AGS_IS_ACCELERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ACCELERATION))
+#define AGS_IS_ACCELERATION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ACCELERATION))
+#define AGS_ACCELERATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ACCELERATION, AgsAccelerationClass))
+
+typedef struct _AgsAcceleration AgsAcceleration;
+typedef struct _AgsAccelerationClass AgsAccelerationClass;
+
+typedef enum{
+ AGS_ACCELERATION_GUI = 1,
+ AGS_ACCELERATION_RUNTIME = 1 << 1,
+ AGS_ACCELERATION_HUMAN_READABLE = 1 << 2,
+ AGS_ACCELERATION_DEFAULT_LENGTH = 1 << 3,
+ AGS_ACCELERATION_IS_SELECTED = 1 << 4,
+}AgsAccelerationFlags;
+
+struct _AgsAcceleration
+{
+ GObject object;
+
+ guint flags;
+
+ // gui format, convert easy to visualization
+ guint x;
+ guint y;
+
+ gchar *name;
+ gdouble frequency;
+};
+
+struct _AgsAccelerationClass
+{
+ GObjectClass object;
+};
+
+GType ags_acceleration_get_type();
+
+AgsAcceleration* ags_acceleration_duplicate(AgsAcceleration *acceleration);
+
+AgsAcceleration* ags_acceleration_new();
+
+#endif /*__AGS_ACCELERATION_H__*/
diff --git a/src/ags/audio/ags_audio.c b/src/ags/audio/ags_audio.c
new file mode 100644
index 0000000..cb1ab62
--- /dev/null
+++ b/src/ags/audio/ags_audio.c
@@ -0,0 +1,3267 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_list.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_marshal.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <ags/audio/task/ags_audio_set_recycling.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+/**
+ * SECTION:ags_audio
+ * @short_description: A container of channels organizing them as input or output
+ * @title: AgsAudio
+ * @section_id:
+ * @include: ags/audio/ags_audio.h
+ *
+ * #AgsAudio organizes #AgsChannel objects either as input or output and
+ * is responsible of their alignment. The class can contain #AgsRecall objects
+ * in order to perform computation on all channels or in audio context.
+ * Therefor exists #AgsRecyclingContainer acting as tree context.
+ *
+ * At least one #AgsRecallID is assigned to it and has one more if
+ * %AGS_AUDIO_OUTPUT_HAS_RECYCLING is set as flag.
+ *
+ * If %AGS_AUDIO_HAS_NOTATION is set as flag one #AgsNotation is allocated per audio
+ * channel.
+ */
+
+void ags_audio_class_init(AgsAudioClass *audio_class);
+void ags_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_audio_init(AgsAudio *audio);
+void ags_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_add_to_registry(AgsConnectable *connectable);
+void ags_audio_remove_from_registry(AgsConnectable *connectable);
+void ags_audio_connect(AgsConnectable *connectable);
+void ags_audio_disconnect(AgsConnectable *connectable);
+void ags_audio_finalize(GObject *gobject);
+
+void ags_audio_real_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old);
+void ags_audio_real_set_pads(AgsAudio *audio,
+ GType type,
+ guint channels, guint channels_old);
+
+enum{
+ SET_AUDIO_CHANNELS,
+ SET_PADS,
+ SET_LINES,
+ INIT_RUN,
+ TACT,
+ DONE,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+};
+
+static gpointer ags_audio_parent_class = NULL;
+
+static guint audio_signals[LAST_SIGNAL];
+
+GType
+ags_audio_get_type (void)
+{
+ static GType ags_type_audio = 0;
+
+ if(!ags_type_audio){
+ static const GTypeInfo ags_audio_info = {
+ sizeof(AgsAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_audio = g_type_register_static(G_TYPE_OBJECT,
+ "AgsAudio\0", &ags_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_audio);
+}
+
+void
+ags_audio_class_init(AgsAudioClass *audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_audio_parent_class = g_type_class_peek_parent(audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) audio;
+
+ gobject->set_property = ags_audio_set_property;
+ gobject->get_property = ags_audio_get_property;
+
+ gobject->finalize = ags_audio_finalize;
+
+ /* properties */
+ /**
+ * AgsAudio:devout:
+ *
+ * The assigned #AgsDevout acting as default sink.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ AGS_TYPE_DEVOUT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /* AgsAudioClass */
+ audio->set_audio_channels = ags_audio_real_set_audio_channels;
+ audio->set_pads = ags_audio_real_set_pads;
+
+ audio->init_run = NULL;
+ audio->tact = NULL;
+ audio->done = NULL;
+
+ /* signals */
+ /**
+ * AgsAudio::set-audio-channels:
+ * @audio: the object to adjust the channels.
+ * @audio_channels_new: new audio channel count
+ * @audio_channels_old: old audio channel count
+ *
+ * The ::set-audio-channels signal notifies about changes in channel
+ * alignment.
+ */
+ audio_signals[SET_AUDIO_CHANNELS] =
+ g_signal_new("set-audio-channels\0",
+ G_TYPE_FROM_CLASS(audio),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAudioClass, set_audio_channels),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_UINT,
+ G_TYPE_NONE, 2,
+ G_TYPE_UINT, G_TYPE_UINT);
+
+ /**
+ * AgsAudio::set-pads:
+ * @audio: the object to adjust pads.
+ * @type: either #AGS_TYPE_INPUT or #AGS_TYPE_OUTPUT
+ * @pads_new: new pad count
+ * @pads_old: old pad count
+ *
+ * The ::set-pads signal notifies about changes in channel
+ * alignment.
+ */
+ audio_signals[SET_PADS] =
+ g_signal_new("set-pads\0",
+ G_TYPE_FROM_CLASS(audio),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAudioClass, set_pads),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__ULONG_UINT_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_ULONG,
+ G_TYPE_UINT, G_TYPE_UINT);
+
+ /**
+ * AgsAudio::init-run:
+ * @audio: the object to init run.
+ *
+ * The ::init-run signal is invoked during dynamic initialization of recalls
+ * of @audio.
+ *
+ * Returns: the current #AgsRecallID
+ */
+ audio_signals[INIT_RUN] =
+ g_signal_new("init-run\0",
+ G_TYPE_FROM_CLASS(audio),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAudioClass, init_run),
+ NULL, NULL,
+ g_cclosure_user_marshal_OBJECT__VOID,
+ G_TYPE_OBJECT, 0);
+
+ /**
+ * AgsAudio::tact:
+ * @audio: the object playing.
+ * @recall_id: the appropriate #AgsRecallID
+ *
+ * The ::tact signal is invoked during playback of recalls
+ * of @audio.
+ */
+ audio_signals[TACT] =
+ g_signal_new("tact\0",
+ G_TYPE_FROM_CLASS(audio),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAudioClass, tact),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+
+ /**
+ * AgsAudio::done:
+ * @audio: the object done playing.
+ * @recall_id: the appropriate #AgsRecallID
+ *
+ * The ::done signal is invoked while terminating playback
+ * of @audio.
+ */
+ audio_signals[DONE] =
+ g_signal_new("done\0",
+ G_TYPE_FROM_CLASS(audio),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAudioClass, done),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = ags_audio_add_to_registry;
+ connectable->remove_from_registry = ags_audio_remove_from_registry;
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_audio_connect;
+ connectable->disconnect = ags_audio_disconnect;
+}
+
+void
+ags_audio_init(AgsAudio *audio)
+{
+ audio->flags = 0;
+
+ audio->devout = NULL;
+
+ audio->sequence_length = 0;
+ audio->audio_channels = 0;
+ audio->frequence = 0;
+
+ audio->output_pads = 0;
+ audio->output_lines = 0;
+ audio->input_pads = 0;
+ audio->input_lines = 0;
+
+ audio->output = NULL;
+ audio->input = NULL;
+
+ audio->devout_play_domain = ags_devout_play_domain_alloc();
+ AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->domain = audio;
+
+ audio->notation = NULL;
+ audio->automation = NULL;
+
+ audio->recall_id = NULL;
+ audio->recycling_container = NULL;
+
+ audio->container = NULL;
+ audio->recall = NULL;
+ audio->play = NULL;
+
+ audio->recall_remove= NULL;
+ audio->play_remove = NULL;
+
+ audio->machine = NULL;
+}
+
+void
+ags_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudio *audio;
+
+ audio = AGS_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ ags_audio_set_devout(audio, (GObject *) devout);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudio *audio;
+
+ audio = AGS_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ g_value_set_object(value, audio->devout);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_finalize(GObject *gobject)
+{
+ AgsAudio *audio;
+ AgsChannel *channel;
+
+ audio = AGS_AUDIO(gobject);
+
+ if(audio->devout != NULL)
+ g_object_unref(audio->devout);
+
+ /* output */
+ channel = audio->output;
+
+ if(channel != NULL){
+ while(channel->next != NULL){
+ channel = channel->next;
+ g_object_unref((GObject *) channel->prev);
+ }
+
+ g_object_unref((GObject *) channel);
+ }
+
+ /* input */
+ channel = audio->input;
+
+ if(channel != NULL){
+ while(channel->next != NULL){
+ channel = channel->next;
+ g_object_unref((GObject *) channel->prev);
+ }
+
+ g_object_unref(channel);
+ }
+
+ /* free some lists */
+ ags_list_free_and_unref_link(audio->notation);
+
+ ags_list_free_and_unref_link(audio->recall_id);
+
+ ags_list_free_and_unref_link(audio->recall);
+ ags_list_free_and_unref_link(audio->play);
+
+ ags_list_free_and_unref_link(audio->recall_remove);
+ ags_list_free_and_unref_link(audio->play_remove);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_audio_parent_class)->finalize(gobject);
+}
+
+void
+ags_audio_add_to_registry(AgsConnectable *connectable)
+{
+ AgsMain *ags_main;
+ AgsServer *server;
+ AgsAudio *audio;
+ AgsChannel *channel;
+ AgsRegistryEntry *entry;
+ GList *list;
+
+ audio = AGS_AUDIO(connectable);
+
+ ags_main = AGS_MAIN(AGS_DEVOUT(audio->devout)->ags_main);
+
+ server = ags_main->server;
+
+ entry = ags_registry_entry_alloc(server->registry);
+ g_value_set_object(&(entry->entry),
+ (gpointer) audio);
+ ags_registry_add(server->registry,
+ entry);
+
+ /* add play */
+ list = audio->play;
+
+ while(list != NULL){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* add recall */
+ list = audio->recall;
+
+ while(list != NULL){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* add output */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(channel));
+
+ channel = channel->next;
+ }
+
+ /* add input */
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(channel));
+
+ channel = channel->next;
+ }
+}
+
+void
+ags_audio_remove_from_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_audio_connect(AgsConnectable *connectable)
+{
+ AgsAudio *audio;
+ AgsChannel *channel;
+ GList *list;
+
+ audio = AGS_AUDIO(connectable);
+
+#ifdef AGS_DEBUG
+ g_message("connecting audio\0");
+#endif
+
+ /* connect channels */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(channel));
+
+ channel = channel->next;
+ }
+
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(channel));
+
+ channel = channel->next;
+ }
+
+ /* connect recall ids */
+ list = audio->recall_id;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect recall containers */
+ list = audio->container;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect recalls */
+ list = audio->recall;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ list = audio->play;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect remove recalls */
+ list = audio->recall_remove;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ list = audio->play_remove;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect notation */
+ if(audio->notation != NULL)
+ ags_connectable_connect(AGS_CONNECTABLE(audio->notation));
+}
+
+void
+ags_audio_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+/**
+ * ags_audio_set_flags:
+ * @audio: an AgsAudio
+ * @flags: see enum AgsAudioFlags
+ *
+ * Enable a feature of AgsAudio.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_set_flags(AgsAudio *audio, guint flags)
+{
+ auto GParameter* ags_audio_set_flags_set_recycling_parameter(GType type);
+ auto void ags_audio_set_flags_add_recycling_task(GParameter *parameter);
+
+ GParameter* ags_audio_set_flags_set_recycling_parameter(GType type){
+ AgsChannel *channel, *start_channel, *end_channel;
+ AgsRecycling *recycling, *recycling_next, *start_recycling, *end_recycling;
+ GParameter *parameter;
+ int i;
+
+ parameter = g_new(GParameter, 4 * audio->audio_channels);
+
+ for(i = 0; i < audio->audio_channels; i++){
+ start_channel =
+ channel = ags_channel_nth(((g_type_is_a(type, AGS_TYPE_INPUT)) ? audio->input: audio->output), i);
+ end_channel = NULL;
+
+ start_recycling =
+ recycling = NULL;
+ end_recycling = NULL;
+
+ if(channel != NULL){
+ start_recycling =
+ recycling = ags_recycling_new(audio->devout);
+ goto ags_audio_set_flags_OUTPUT_RECYCLING;
+ }
+
+ while(channel != NULL){
+ recycling->next = ags_recycling_new(audio->devout);
+ ags_audio_set_flags_OUTPUT_RECYCLING:
+ recycling->next->prev = recycling;
+ recycling = recycling->next;
+
+ channel = channel->next_pad;
+ }
+
+ end_channel = ags_channel_pad_last(start_channel);
+ end_recycling = recycling;
+
+ /* setting up parameters */
+ parameter[i].name = "start_channel";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), start_channel);
+
+ parameter[i].name = "end_channel";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), end_channel);
+
+ parameter[i].name = "start_recycling";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), start_recycling);
+
+ parameter[i].name = "end_recycling";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), end_recycling);
+ }
+
+ return(parameter);
+ }
+ void ags_audio_set_flags_add_recycling_task(GParameter *parameter){
+ AgsAudioSetRecycling *audio_set_recycling;
+
+ /* create set recycling task */
+ audio_set_recycling = ags_audio_set_recycling_new(audio,
+ parameter);
+
+ /* append AgsAudioSetRecycling */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(audio->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(audio_set_recycling));
+ }
+
+ if(audio == NULL || !AGS_IS_AUDIO(audio)){
+ return;
+ }
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags))){
+ GParameter *parameter;
+
+ /* check if output has already recyclings */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ if(audio->output_pads > 0){
+ parameter = ags_audio_set_flags_set_recycling_parameter(AGS_TYPE_OUTPUT);
+ ags_audio_set_flags_add_recycling_task(parameter);
+ }
+
+ audio->flags |= AGS_AUDIO_OUTPUT_HAS_RECYCLING;
+ }
+
+ /* check if input has already recyclings */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ if(audio->input_pads > 0){
+ parameter = ags_audio_set_flags_set_recycling_parameter(AGS_TYPE_INPUT);
+ ags_audio_set_flags_add_recycling_task(parameter);
+ }
+
+ audio->flags |= AGS_AUDIO_INPUT_HAS_RECYCLING;
+ }
+ }
+
+ //TODO:JK: automatization of setting recycling_container root
+}
+
+
+/**
+ * ags_audio_unset_flags:
+ * @audio: an AgsAudio
+ * @flags: see enum AgsAudioFlags
+ *
+ * Disable a feature of AgsAudio.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_unset_flags(AgsAudio *audio, guint flags)
+{
+ auto GParameter* ags_audio_unset_flags_set_recycling_parameter(GType type);
+ auto void ags_audio_unset_flags_add_recycling_task(GParameter *parameter);
+
+ GParameter* ags_audio_unset_flags_set_recycling_parameter(GType type){
+ AgsChannel *channel, *start_channel, *end_channel;
+ AgsRecycling *recycling, *recycling_next, *start_recycling, *end_recycling;
+ GParameter *parameter;
+ int i;
+
+ parameter = g_new(GParameter, 4 * audio->audio_channels);
+
+ for(i = 0; i < audio->audio_channels; i++){
+ start_channel = ags_channel_nth(((g_type_is_a(type, AGS_TYPE_INPUT)) ? audio->input: audio->output), i);
+ end_channel = ags_channel_pad_last(start_channel);
+
+ start_recycling = NULL;
+ end_recycling = NULL;
+
+ /* setting up parameters */
+ parameter[i].name = "start_channel";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), start_channel);
+
+ parameter[i].name = "end_channel";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), end_channel);
+
+ parameter[i].name = "start_recycling";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), start_recycling);
+
+ parameter[i].name = "end_recycling";
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value), end_recycling);
+ }
+
+ return(parameter);
+ }
+ void ags_audio_unset_flags_add_recycling_task(GParameter *parameter){
+ AgsAudioSetRecycling *audio_set_recycling;
+
+ /* create set recycling task */
+ audio_set_recycling = ags_audio_set_recycling_new(audio,
+ parameter);
+
+ /* append AgsAudioSetRecycling */
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(audio->devout)->ags_main)->main_loop)->task_thread),
+ AGS_TASK(audio_set_recycling));
+ }
+
+ if(audio == NULL || !AGS_IS_AUDIO(audio)){
+ return;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags))){
+ GParameter *parameter;
+
+ /* check if input has already no recyclings */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ if(audio->input_pads > 0){
+ parameter = ags_audio_unset_flags_set_recycling_parameter(AGS_TYPE_INPUT);
+ ags_audio_unset_flags_add_recycling_task(parameter);
+
+ audio->flags &= (~AGS_AUDIO_INPUT_HAS_RECYCLING);
+ }
+
+ /* check if output has already recyclings */
+ if(audio->output_pads > 0){
+ parameter = ags_audio_unset_flags_set_recycling_parameter(AGS_TYPE_OUTPUT);
+ ags_audio_unset_flags_add_recycling_task(parameter);
+
+ audio->flags &= (~AGS_AUDIO_OUTPUT_HAS_RECYCLING);
+ }
+ }
+ }
+}
+
+void
+ags_audio_real_set_audio_channels(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old)
+{
+ AgsChannel *channel, *prev_pad, *input, *input_pad_last;
+ AgsRecycling *recycling;
+ GObject *parent; // of recycling
+ GList *list;
+ guint pads, i, j;
+ gboolean alloc_recycling;
+ gboolean link_recycling; // affects AgsInput
+ gboolean set_sync_link, set_async_link; // affects AgsOutput
+ void ags_audio_set_audio_channels_init_parameters(GType type){
+ if(type == AGS_TYPE_OUTPUT){
+ link_recycling = FALSE;
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ alloc_recycling = TRUE;
+ }else{
+ alloc_recycling = FALSE;
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input, audio->audio_channels);
+
+ if((AGS_AUDIO_SYNC & (audio->flags)) != 0 && (AGS_AUDIO_ASYNC & (audio->flags)) == 0){
+ set_sync_link = FALSE;
+ set_async_link = TRUE;
+ }else if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ set_async_link = TRUE;
+ set_sync_link = FALSE;
+ input_pad_last = ags_channel_nth(input, audio->input_lines - (audio_channels - audio->audio_channels));
+ }else{
+#ifdef AGS_DEBUG
+ g_message("ags_audio_set_audio_channels - warning: AGS_AUDIO_SYNC nor AGS_AUDIO_ASYNC weren't defined\0");
+#endif
+ set_sync_link = FALSE;
+ set_async_link = FALSE;
+ }
+ }
+ }
+ }else{
+ set_sync_link = FALSE;
+ set_async_link = FALSE;
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & audio->flags) != 0)
+ alloc_recycling = TRUE;
+ else
+ alloc_recycling = FALSE;
+
+ if((AGS_AUDIO_ASYNC & audio->flags) != 0 && alloc_recycling)
+ link_recycling = TRUE;
+ else
+ link_recycling = FALSE;
+ }
+ }
+ void ags_audio_set_audio_channels_grow_one(GType type){
+ channel = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+
+ if(type == AGS_TYPE_OUTPUT){
+ /* AGS_TYPE_OUTPUT */
+ audio->output = channel;
+ pads = audio->output_pads;
+ }else{
+ /* AGS_TYPE_INPUT */
+ audio->input = channel;
+ pads = audio->input_pads;
+ }
+
+ if(alloc_recycling){
+ recycling =
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, recycling);
+ }else if(set_sync_link){
+ /* set sync link */
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+
+ input = ags_channel_nth(input, audio_channels);
+ }else if(set_async_link){
+
+ /* set async link */
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input_pad_last->last_recycling;
+
+ input = input->next;
+ input_pad_last = input_pad_last->next;
+ }
+
+ for(j = 1; j < pads; j++){
+ channel->next =
+ channel->next_pad = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+ channel->next->prev = channel;
+ channel = channel->next;
+ channel->prev_pad = channel->prev;
+
+ channel->pad = j;
+ channel->line = j;
+
+ if(alloc_recycling){
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ if(link_recycling){
+ recycling->next = channel->first_recycling;
+ recycling->next->prev = recycling;
+ recycling = recycling->next;
+ }
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, channel->first_recycling);
+ }else if(set_sync_link){
+ /* set sync link */
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+
+ input = input->next;
+ }
+ /* set async link is illegal here */
+ }
+ }
+ void ags_audio_set_audio_channels_grow(GType type){
+ AgsChannel *prev_channel, *prev_pad, *next_channel, *start;
+ AgsRecycling *prev_channel_next_recycling;
+
+ if(type == AGS_TYPE_OUTPUT){
+ // prev_pad = audio->output;
+ prev_channel = ags_channel_nth(audio->output, audio->audio_channels - 1);
+ pads = audio->output_pads;
+ }else{
+ // prev_pad = audio->input;
+ prev_channel = ags_channel_nth(audio->input, audio->audio_channels - 1);
+ pads = audio->input_pads;
+ }
+
+ /*
+ * linking with prev_channel is done later else linked channels would be lost
+ */
+ start =
+ channel = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+
+ channel->audio_channel = audio->audio_channels;
+ channel->line = audio->audio_channels;
+
+ if(alloc_recycling){
+ recycling =
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ if(link_recycling){
+ prev_channel->last_recycling->next = recycling;
+ recycling->prev = prev_channel->last_recycling;
+ }
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, recycling);
+ }else if(set_sync_link){
+ /* set sync link */
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+ input = input->next;
+ }else if(set_async_link){
+ /* set async link*/
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input_pad_last->last_recycling;
+
+ input = input->next;
+ input_pad_last = input_pad_last->next;
+ }
+
+ // i = 1;
+
+ /*
+ * link now the new allocated channels
+ */
+ next_channel = prev_channel->next;
+
+ prev_channel->next = start;
+ start->prev = prev_channel;
+ prev_channel = next_channel;
+
+ for(j = audio->audio_channels + 1; j < audio_channels; j++){
+ channel->next = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+ channel->next->prev = channel;
+ channel = channel->next;
+
+ if(type == AGS_TYPE_OUTPUT){
+ channel->prev_pad = ags_channel_pad_last(ags_channel_nth(audio->output,
+ audio->audio_channels));
+ }else{
+ channel->prev_pad = ags_channel_pad_last(ags_channel_nth(audio->input,
+ audio->audio_channels));
+ }
+
+ channel->prev_pad->next_pad = channel;
+
+ channel->pad = 0;
+ channel->audio_channel = j;
+ channel->line = j;
+
+ if(alloc_recycling){
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ if(link_recycling){
+ recycling->next = channel->first_recycling;
+ recycling->next->prev = recycling;
+ recycling = recycling->next;
+ }
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, channel->first_recycling);
+ }else if(set_sync_link){
+ /* set sync link */
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+ input = input->next;
+ }else if(set_async_link){
+ /* set async link */
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input_pad_last->last_recycling;
+
+ input = input->next;
+ input_pad_last = input_pad_last->next;
+ }
+ }
+
+ /*
+ * join together recycling
+ */
+ if(link_recycling){
+ recycling->next = prev_channel->first_recycling;
+ prev_channel->first_recycling->prev = recycling;
+ }
+
+ if(pads == 1)
+ return;
+
+ /*
+ * the main part of allocation
+ */
+ for(i = 1; i < pads -1; i++){
+ channel->next = prev_channel;
+ prev_channel->prev = channel;
+
+ /* set async link is illegal here */
+
+ for(j = 0; j < audio->audio_channels -1; j++){
+ prev_channel->line = i * audio_channels + j;
+
+ prev_channel = prev_channel->next;
+
+ if(link_recycling){
+ recycling = recycling->next;
+ }
+ }
+
+ prev_channel->line = i * audio_channels + j;
+
+ // prev_channel = prev_channel->next; will be called later
+
+ if(link_recycling){
+ recycling = recycling->next;
+ }
+
+ prev_pad = start;
+
+ /* alloc new AgsChannel's */
+ start =
+ channel = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+
+ next_channel = prev_channel->next;
+
+ prev_channel->next = start;
+ start->prev = prev_channel;
+ prev_channel = next_channel;
+
+ j++;
+
+ goto ags_audio_set_audio_channels_grow0;
+
+ for(; j < audio_channels; j++){
+ channel->next = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+
+ channel->next->prev = channel;
+ channel = channel->next;
+
+ ags_audio_set_audio_channels_grow0:
+
+ prev_pad->next_pad = channel;
+ channel->prev_pad = prev_pad;
+
+ channel->pad = i;
+ channel->audio_channel = j;
+ channel->line = (i * audio_channels) + j;
+
+ if(alloc_recycling){
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ if(link_recycling){
+ recycling->next = channel->first_recycling;
+ recycling->next->prev = recycling;
+ recycling = recycling->next;
+ }
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, channel->first_recycling);
+ }else if(set_sync_link){
+ /* set sync link */
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+ input = input->next;
+ }
+ /* set async link is illegal here */
+
+ prev_pad = prev_pad->next;
+ }
+
+ if(link_recycling){
+ recycling->next = prev_channel->first_recycling;
+ prev_channel->first_recycling->prev = recycling;
+ }
+ }
+
+ channel->next = prev_channel;
+ prev_channel->prev = channel;
+
+ /* set async link is illegal here */
+
+ for(j = 0; j < audio->audio_channels -1; j++){
+ prev_channel->line = i * audio_channels + j;
+
+ prev_channel = prev_channel->next;
+
+ if(link_recycling)
+ recycling = recycling->next;
+ }
+
+ prev_channel->line = i * audio_channels + j;
+
+ start =
+ channel = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+
+ prev_channel->next = start;
+ start->prev = prev_channel;
+ j++;
+
+ goto ags_audio_set_audio_channels_grow1;
+
+ for(; j < audio_channels; j++){
+ channel->next = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+
+ channel->next->prev = channel;
+ channel = channel->next;
+
+ ags_audio_set_audio_channels_grow1:
+
+ prev_pad->next_pad = channel;
+ channel->prev_pad = prev_pad;
+
+ channel->pad = i;
+ channel->audio_channel = j;
+ channel->line = (i * audio_channels) + j;
+
+ if(alloc_recycling){
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ if(link_recycling){
+ recycling->next = channel->first_recycling;
+ recycling->next->prev = recycling;
+ recycling = recycling->next;
+ }
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, channel->first_recycling);
+ }else if(set_sync_link){
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+ input = input->next;
+ }
+ /* set async link is illegal here */
+
+ prev_pad = prev_pad->next;
+ }
+ }
+ void ags_audio_set_audio_channels_shrink_zero(){
+ AgsChannel *start, *channel_next;
+ AgsRecycling *prev_recycling, *next_recycling;
+ gboolean first_run;
+ GError *error;
+
+ start =
+ channel = audio->output;
+ first_run = TRUE;
+
+ error = NULL;
+
+ ags_audio_set_audio_channel_shrink_zero0:
+
+ while(channel != NULL){
+ ags_channel_set_link(channel, NULL, &error);
+ ags_channel_set_recycling(channel,
+ NULL, NULL,
+ TRUE, TRUE);
+
+ channel = channel->next;
+ }
+
+ channel = start;
+
+ while(channel != NULL){
+ channel_next = channel->next;
+
+ g_object_unref((GObject *) channel);
+
+ channel = channel_next;
+ }
+
+ if(first_run){
+ start =
+ channel = audio->input;
+ first_run = FALSE;
+ goto ags_audio_set_audio_channel_shrink_zero0;
+ }
+
+ audio->output = NULL;
+ audio->input = NULL;
+ }
+ void ags_audio_set_audio_channels_shrink(){
+ AgsChannel *channel0, *channel1, *start;
+ AgsRecycling *recycling;
+ gboolean first_run;
+ GError *error;
+
+ start =
+ channel = audio->output;
+ pads = audio->output_pads;
+ first_run = TRUE;
+
+ error = NULL;
+
+ ags_audio_set_audio_channel_shrink0:
+
+ for(i = 0; i < pads; i++){
+ channel = ags_channel_nth(channel, audio_channels);
+
+ for(j = audio_channels; j < audio->audio_channels; j++){
+ ags_channel_set_link(channel, NULL, &error);
+ channel = channel->next;
+ }
+ }
+
+ channel = start;
+
+ if(i < pads){
+ for(i = 0; ; i++){
+ for(j = 0; j < audio_channels -1; j++){
+ channel->pad = i;
+ channel->audio_channel = j;
+ channel->line = i * audio_channels + j;
+
+ channel = channel->next;
+ }
+
+ channel->pad = i;
+ channel->audio_channel = j;
+ channel->line = i * audio_channels + j;
+
+ channel0 = channel->next;
+
+ for(; j < audio->audio_channels; j++){
+ channel1 = channel0->next;
+
+ g_object_unref((GObject *) channel0);
+
+ channel0 = channel1;
+ }
+
+ channel->next = channel1;
+
+ if(channel1 != NULL)
+ channel1->prev = channel;
+ else
+ break;
+
+ channel = channel1;
+ }
+ }
+
+ if(first_run){
+ first_run = FALSE;
+ start =
+ channel = audio->input;
+ pads = audio->input_pads;
+
+ goto ags_audio_set_audio_channel_shrink0;
+ }
+ }
+ void ags_audio_set_audio_channels_grow_notation(){
+ GList *list;
+ guint i;
+
+ i = audio->audio_channels;
+
+#ifdef AGS_DEBUG
+ g_message("ags_audio_set_audio_channels_grow_notation\n\0");
+#endif
+
+ if(audio->audio_channels == 0){
+ audio->notation =
+ list = g_list_alloc();
+ goto ags_audio_set_audio_channels_grow_notation0;
+ }else{
+ list = g_list_nth(audio->notation, audio->audio_channels - 1);
+ }
+
+ for(; i < audio_channels; i++){
+ list->next = g_list_alloc();
+ list->next->prev = list;
+ list = list->next;
+
+ ags_audio_set_audio_channels_grow_notation0:
+ list->data = (gpointer) ags_notation_new(i);
+ }
+ }
+ void ags_audio_set_audio_channels_shrink_notation(){
+ GList *list, *list_next;
+
+ list = g_list_nth(audio->notation, audio_channels);
+
+ if(audio_channels == 0){
+ audio->notation = NULL;
+ }else{
+ list->prev->next = NULL;
+ }
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref((GObject *) list->data);
+ g_list_free1(list);
+
+ list = list_next;
+ }
+ }
+
+ /* entry point */
+ if(audio_channels > audio->audio_channels){
+ AgsDevoutPlayDomain *devout_play_domain;
+ AgsChannel *current;
+
+ /* grow audio channels*/
+ if((AGS_AUDIO_HAS_NOTATION & audio->flags) != 0)
+ ags_audio_set_audio_channels_grow_notation();
+
+ /* grow one */
+ if(audio->audio_channels == 0){
+ if(audio->input_pads > 0){
+ ags_audio_set_audio_channels_init_parameters(AGS_TYPE_INPUT);
+ ags_audio_set_audio_channels_grow_one(AGS_TYPE_INPUT);
+ }
+
+ audio->input_lines = audio->input_pads;
+
+ if(audio->output_pads > 0){
+ ags_audio_set_audio_channels_init_parameters(AGS_TYPE_OUTPUT);
+ ags_audio_set_audio_channels_grow_one(AGS_TYPE_OUTPUT);
+ }
+
+ audio->audio_channels = 1;
+ audio->output_lines = audio->output_pads;
+ }
+
+ /* grow more than one */
+ if(audio_channels > 1){
+ if(audio->input_pads > 0){
+ ags_audio_set_audio_channels_init_parameters(AGS_TYPE_INPUT);
+ ags_audio_set_audio_channels_grow(AGS_TYPE_INPUT);
+ }
+
+ audio->input_lines = audio_channels * audio->input_pads;
+
+ if(audio->output_pads > 0){
+ ags_audio_set_audio_channels_init_parameters(AGS_TYPE_OUTPUT);
+ ags_audio_set_audio_channels_grow(AGS_TYPE_OUTPUT);
+ }
+ }
+
+ /* alloc devout play domain */
+ devout_play_domain = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain);
+ current = ags_channel_nth(audio->output,
+ pads - audio->output_pads);
+
+ for(i = 0; i < audio_channels - audio_channels_old; i++){
+ devout_play_domain->devout_play = g_list_append(devout_play_domain->devout_play,
+ current->devout_play);
+
+ current = current->next;
+ }
+
+ }else if(audio_channels < audio->audio_channels){
+ AgsDevoutPlayDomain *devout_play_domain;
+ AgsChannel *current;
+
+ /* shrink audio channels */
+ if((AGS_AUDIO_HAS_NOTATION & audio->flags) != 0)
+ ags_audio_set_audio_channels_shrink_notation();
+
+ if(audio_channels == 0){
+ ags_audio_set_audio_channels_shrink_zero();
+ }else{
+ ags_audio_set_audio_channels_shrink();
+ }
+
+ audio->input_lines = audio_channels * audio->input_pads;
+
+ devout_play_domain = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain);
+
+ for(i = 0; i < audio->audio_channels - audio_channels; i++){
+ AgsDevoutPlay *devout_play;
+
+ devout_play = g_list_last(devout_play_domain->devout_play);
+ devout_play_domain->devout_play = g_list_remove(devout_play_domain->devout_play,
+ devout_play);
+ }
+ }
+
+ audio->audio_channels = audio_channels;
+ // input_lines must be set earlier because set_sync_link needs it
+ audio->output_lines = audio_channels * audio->output_pads;
+}
+
+/**
+ * ags_audio_set_audio_channels:
+ * @audio: the #AgsAudio
+ * @audio_channels: new audio channels
+ *
+ * Resize audio channels AgsInput will be allocated first.
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_set_audio_channels(AgsAudio *audio, guint audio_channels)
+{
+ g_return_if_fail(AGS_IS_AUDIO(audio));
+
+ g_object_ref((GObject *) audio);
+ g_signal_emit(G_OBJECT(audio),
+ audio_signals[SET_AUDIO_CHANNELS], 0,
+ audio_channels, audio->audio_channels);
+ g_object_unref((GObject *) audio);
+}
+
+/*
+ * resize
+ * AgsInput has to be allocated first
+ */
+void
+ags_audio_real_set_pads(AgsAudio *audio,
+ GType type,
+ guint pads, guint pads_old)
+{
+ AgsChannel *start, *channel, *prev_pad, *input, *input_pad_last;
+ AgsRecycling *recycling;
+ AgsRecycling *old_first_recycling, *first_recycling;
+ AgsRecyclingContainer *recycling_container, *old_recycling_container;
+ GList *devout_play;
+ GList *recall_id;
+ GList *recycling_prev, *recycling_iter;
+ guint i, j;
+ gboolean alloc_recycling, link_recycling, set_sync_link, update_async_link, set_async_link;
+ void ags_audio_set_pads_grow_one(){
+ start =
+ channel = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+
+ if(alloc_recycling){
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, channel->first_recycling);
+ }else if(set_sync_link){
+ input = audio->input;
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+ input = input->next;
+ }else if(set_async_link){
+ input = audio->input;
+ input_pad_last = ags_channel_nth(audio->input, audio->input_lines - audio->audio_channels);
+
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input_pad_last->last_recycling;
+
+ input = input->next;
+ input_pad_last = input_pad_last->next;
+ }
+
+ for(j = 1; j < audio->audio_channels; j++){
+ channel->next = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+ channel->next->prev = channel;
+ channel = channel->next;
+
+ channel->audio_channel = j;
+ channel->line = j;
+
+ if(alloc_recycling){
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ channel->first_recycling->channel = (GObject *) channel;
+
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, channel->first_recycling);
+ }else if(set_sync_link){
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+
+ input = input->next;
+ }else if(set_async_link){
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input_pad_last->last_recycling;
+
+ input = input->next;
+ input_pad_last = input_pad_last->next;
+ }
+ }
+ }
+ void ags_audio_set_pads_grow(){
+ AgsChannel *start_pad, *end_pad;
+ AgsChannel *prev_pad, *prev_pad_start;
+ AgsRecycling *recycling, *last_recycling;
+ GList *recycling_next, *recycling_current;
+ GList *recall_id;
+
+ if(type == AGS_TYPE_OUTPUT){
+ prev_pad = ags_channel_pad_last(audio->output);
+ }else{
+ prev_pad = ags_channel_pad_last(audio->input);
+ }
+
+ prev_pad_start = prev_pad;
+ start_pad = prev_pad;
+
+ if(alloc_recycling){
+ if(link_recycling){
+ channel = prev_pad;
+ recycling_next = NULL;
+
+ while(channel != NULL){
+ recycling_next = g_list_prepend(recycling_next,
+ channel->last_recycling->next);
+
+ channel = channel->next;
+ }
+
+ recycling_next = g_list_reverse(recycling_next);
+ }
+ }else if(set_sync_link){
+ if(pads_old != 0){
+ input = ags_channel_pad_nth(audio->input, pads_old);
+ }
+ }
+
+ channel = ags_channel_last(prev_pad);
+
+ for(i = pads_old; i < pads; i++){
+ prev_pad_start = prev_pad;
+
+ if(alloc_recycling){
+ if(link_recycling){
+ recycling_current = NULL;
+
+ while(prev_pad != NULL){
+ recycling_current = g_list_prepend(recycling_current,
+ prev_pad->first_recycling);
+
+ prev_pad = prev_pad->next;
+ }
+
+ prev_pad = prev_pad_start;
+
+ recycling_current = g_list_reverse(recycling_current);
+ recycling_iter = recycling_current;
+ }
+ }else if(set_async_link){
+ input = audio->input;
+ input_pad_last = ags_channel_nth(audio->input, audio->input_lines - audio->audio_channels);
+ }
+
+ prev_pad = prev_pad_start;
+
+ for(j = 0; j < audio->audio_channels; j++){
+ channel->next = (AgsChannel *) g_object_new(type,
+ "audio\0", (GObject *) audio,
+ NULL);
+ channel->next->prev = channel;
+ channel = channel->next;
+
+ channel->prev_pad = prev_pad;
+ prev_pad->next_pad = channel;
+ prev_pad = prev_pad->next;
+
+ channel->pad = i;
+ channel->audio_channel = j;
+ channel->line = i * audio->audio_channels + j;
+
+ if(alloc_recycling){
+ channel->first_recycling =
+ channel->last_recycling = ags_recycling_new(audio->devout);
+
+ if(link_recycling){
+ recycling = recycling_iter->data;
+ recycling_iter = recycling_iter->next;
+
+ recycling->next = channel->first_recycling;
+ recycling->next->prev = recycling;
+ }
+
+ channel->first_recycling->channel = (GObject *) channel;
+ // ags_garbage_collector_add(AGS_DEVOUT(audio->devout)->garbage_collector, channel->first_recycling);
+ }else if(set_sync_link){
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input->last_recycling;
+
+ input = input->next;
+ }else if(set_async_link){
+ channel->first_recycling = input->first_recycling;
+ channel->last_recycling = input_pad_last->last_recycling;
+
+ input = input->next;
+ input_pad_last = input_pad_last->next;
+ }
+ }
+
+ if(alloc_recycling){
+ if(link_recycling){
+ g_list_free(recycling_current);
+ }
+ }
+ }
+
+ if(alloc_recycling){
+ if(link_recycling){
+ channel = start_pad;
+ end_pad = ags_channel_pad_last(channel);
+
+ while(recycling_next != NULL){
+ end_pad->last_recycling->next = recycling_next->data;
+
+ if(end_pad->last_recycling->next != NULL){
+ end_pad->last_recycling->next->prev = end_pad->last_recycling;
+ }
+
+ end_pad = end_pad->next;
+ recycling_next = recycling_next->next;
+ }
+ }
+ }
+ }
+ void ags_audio_set_pads_unlink_zero(){
+ AgsChannel *start;
+ GError *error;
+
+ start = channel;
+
+ while(channel != NULL){
+ error = NULL;
+ ags_channel_set_link(channel, NULL, &error);
+ ags_channel_set_recycling(channel,
+ NULL, NULL,
+ TRUE, TRUE);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ channel = channel->next;
+ }
+
+ channel = start;
+ }
+ void ags_audio_set_pads_unlink(){
+ AgsChannel *start;
+
+ start = channel;
+ channel = ags_channel_nth(channel, pads * audio->audio_channels);
+
+ ags_audio_set_pads_unlink_zero();
+
+ channel = start;
+ }
+ void ags_audio_set_pads_shrink_zero(){
+ AgsChannel *channel_next;
+ GError *error;
+
+ while(channel != NULL){
+ channel_next = channel->next;
+
+ g_object_unref((GObject *) channel);
+
+ channel = channel_next;
+ }
+ }
+ void ags_audio_set_pads_shrink(){
+ AgsChannel *start;
+
+ start = channel;
+
+ channel = ags_channel_nth(channel, pads * audio->audio_channels);
+ ags_audio_set_pads_shrink_zero();
+
+ /* remove pads */
+ channel = ags_channel_nth(start, (pads - 1) * audio->audio_channels);
+
+ for(i = 0; i < audio->audio_channels; i++){
+ channel->next_pad = NULL;
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ /* remove channel */
+ channel = ags_channel_nth(start, (pads - 1) * audio->audio_channels + audio->audio_channels - 1);
+ channel->next = NULL;
+
+ channel = start;
+ }
+ void ags_audio_set_pads_alloc_notation(){
+ GList *list;
+ guint i;
+
+#ifdef AGS_DEBUG
+ g_message("ags_audio_set_pads_alloc_notation\n\0");
+#endif
+
+ if(audio->audio_channels > 0){
+ audio->notation =
+ list = g_list_alloc();
+ i = 0;
+ goto ags_audio_set_pads_alloc_notation0;
+ }else{
+ return;
+ }
+
+ for(; i < audio->audio_channels; i++){
+ list->next = g_list_alloc();
+ list->next->prev = list;
+ list = list->next;
+ ags_audio_set_pads_alloc_notation0:
+
+ list->data = (gpointer) ags_notation_new(i);
+ }
+ }
+ void ags_audio_set_pads_free_notation(){
+ GList *list, *list_next;
+
+ if(audio->audio_channels > 0){
+ list = audio->notation;
+ audio->notation = NULL;
+ }else{
+ return;
+ }
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref(G_OBJECT(list->data));
+ g_list_free1(list);
+
+ list = list_next;
+ }
+ }
+ void ags_audio_set_pads_add_notes(){
+ /* -- useless --
+ GList *list;
+
+ list = audio->notation;
+
+ while(list != NULL){
+ AGS_NOTATION(list->data)->pads = pads;
+
+ list = list->next;
+ }
+ */
+ }
+ void ags_audio_set_pads_remove_notes(){
+ AgsNotation *notation;
+ GList *notation_i, *note, *note_next;
+
+ notation_i = audio->notation;
+
+ while(notation_i != NULL){
+ notation = AGS_NOTATION(notation_i->data);
+ note = notation->notes;
+
+ while(note != NULL){
+ note_next = note->next;
+
+ if(AGS_NOTE(note->data)->y >= pads){
+ if(note->prev != NULL)
+ note->prev->next = note_next;
+ else
+ notation->notes = note_next;
+
+ if(note_next != NULL)
+ note_next->prev = note->prev;
+
+ free(note->data);
+ g_list_free1(note);
+ }
+
+ note = note_next;
+ }
+
+ notation_i = notation_i->next;
+ }
+ }
+
+ /* entry point */
+ alloc_recycling = FALSE;
+ link_recycling = FALSE;
+ set_sync_link = FALSE;
+ update_async_link = FALSE;
+ set_async_link = FALSE;
+
+ if(g_type_is_a(type, AGS_TYPE_OUTPUT)){
+ /* output */
+ pads_old = audio->output_pads;
+ link_recycling = FALSE;
+
+ if(pads_old == pads)
+ return;
+
+ if(audio->audio_channels == 0){
+ audio->output_pads = pads;
+ return;
+ }
+
+ /* init grow parameters */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ alloc_recycling = TRUE;
+ }else if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ if((AGS_AUDIO_SYNC & audio->flags) != 0 && (AGS_AUDIO_ASYNC & audio->flags) == 0){
+ set_sync_link = TRUE;
+ }else if((AGS_AUDIO_ASYNC & audio->flags) == 0){
+ input = audio->input;
+ }
+ }
+
+ /* grow one */
+ if(pads_old == 0){
+ AgsDevoutPlayDomain *devout_play_domain;
+ AgsChannel *current;
+
+ /* alloc notation */
+ if((AGS_AUDIO_HAS_NOTATION & (audio->flags)) != 0 &&
+ audio->notation == NULL &&
+ (AGS_AUDIO_NOTATION_DEFAULT & (audio->flags)) != 0){
+ ags_audio_set_pads_alloc_notation();
+ }
+
+ /* */
+ ags_audio_set_pads_grow_one();
+
+ /* populate devout play domain */
+ devout_play_domain = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain);
+
+ channel = start;
+ audio->output = start;
+
+ current = start;
+
+ for(i = 0; i < audio->audio_channels; i++){
+ devout_play_domain->devout_play = g_list_append(devout_play_domain->devout_play,
+ current->devout_play);
+
+ current = current->next;
+ }
+
+ pads_old =
+ audio->output_pads = 1;
+ }else{
+ channel = audio->output;
+ }
+
+ /* grow or shrink */
+ if(pads > audio->output_pads){
+ AgsDevoutPlayDomain *devout_play_domain;
+ AgsChannel *current;
+
+ ags_audio_set_pads_grow();
+ }else if(pads == 0){
+ if((AGS_AUDIO_HAS_NOTATION & (audio->flags)) != 0 &&
+ audio->notation != NULL){
+ ags_audio_set_pads_free_notation();
+ }
+
+ /* unlink and remove */
+ ags_audio_set_pads_unlink_zero();
+
+ ags_audio_set_pads_shrink_zero();
+ audio->output = NULL;
+
+ /* remove devout play domain */
+ g_list_free(AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play);
+
+ AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play = NULL;
+ }else if(pads < audio->output_pads){
+ AgsDevoutPlayDomain *devout_play_domain;
+
+ ags_audio_set_pads_remove_notes();
+
+ ags_audio_set_pads_unlink();
+
+ ags_audio_set_pads_shrink();
+
+ devout_play_domain = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain);
+
+ for(i = 0; i < audio->output_pads - pads; i++){
+ AgsDevoutPlay *devout_play;
+
+ devout_play = g_list_last(devout_play_domain->devout_play);
+ devout_play_domain->devout_play = g_list_remove(devout_play_domain->devout_play,
+ devout_play);
+ }
+
+ }
+
+ /* apply new size */
+ audio->output_pads = pads;
+ audio->output_lines = pads * audio->audio_channels;
+
+ if((AGS_AUDIO_SYNC & audio->flags) != 0 && (AGS_AUDIO_ASYNC & audio->flags) == 0){
+ //TODO:JK: fix me
+ // audio->input_pads = pads;
+ // audio->input_lines = pads * audio->audio_channels;
+ }
+ }else if(g_type_is_a(type, AGS_TYPE_INPUT)){
+ /* input */
+ pads_old = audio->input_pads;
+
+ if(pads_old == pads)
+ return;
+
+ if(audio->audio_channels == 0){
+ audio->input_pads = pads;
+ return;
+ }
+
+ /* init grow parameters */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ alloc_recycling = TRUE;
+
+ if((AGS_AUDIO_ASYNC & audio->flags) != 0){
+ link_recycling = TRUE;
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0)
+ update_async_link = TRUE;
+ }
+ }
+
+ /* grow one */
+ if(pads_old == 0){
+ AgsChannel *current;
+ AgsRecallID *current_recall_id, *default_recall_id;
+
+ /* alloc notation */
+ if((AGS_AUDIO_HAS_NOTATION & (audio->flags)) != 0 &&
+ audio->notation == NULL &&
+ (AGS_AUDIO_NOTATION_DEFAULT & (audio->flags)) == 0){
+ ags_audio_set_pads_alloc_notation();
+ }
+
+ /* add first channel */
+ ags_audio_set_pads_grow_one();
+
+ /* add recall id */
+ current = start;
+
+ while(current != start->next_pad){
+ recall_id = audio->recall_id;
+
+ while(recall_id != NULL){
+ current_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", current->first_recycling,
+ "recycling-container\0", AGS_RECALL_ID(recall_id->data)->recycling_container,
+ NULL);
+
+ ags_channel_add_recall_id(current,
+ current_recall_id);
+
+ recall_id = recall_id->next;
+ }
+
+ current = current->next;
+ }
+
+ /* apply current allocation */
+ channel = start;
+ audio->input = start;
+
+ pads_old =
+ audio->input_pads = 1;
+ }else{
+ channel = audio->input;
+ }
+
+ /* grow or shrink */
+ if(pads >= 1){
+ if(pads > audio->input_pads){
+ AgsChannel *prev;
+ AgsChannel *current;
+ AgsRecallID *current_recall_id;
+
+ if(link_recycling){
+ prev = ags_channel_pad_last(channel);
+ recycling_prev = NULL;
+
+ while(prev != NULL){
+ recycling = prev->first_recycling;
+
+ recycling_prev = g_list_append(recycling_prev,
+ recycling);
+
+ prev = prev->next;
+ }
+ }
+
+ recycling_iter = recycling_prev;
+
+ /* grow channels */
+ ags_audio_set_pads_grow();
+
+ /* add recall id */
+ current = ags_channel_pad_nth(audio->input,
+ audio->input_pads);
+
+ while(current != NULL){
+ recall_id = audio->recall_id;
+
+ while(recall_id != NULL){
+ current_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", current->first_recycling,
+ "recycling-container\0", AGS_RECALL_ID(recall_id->data)->recycling_container,
+ NULL);
+
+ ags_channel_add_recall_id(current,
+ current_recall_id);
+
+ recall_id = recall_id->next;
+ }
+
+ current = current->next;
+ }
+ }else if(pads < audio->input_pads){
+ /* shrink channels */
+ ags_audio_set_pads_unlink();
+
+ ags_audio_set_pads_shrink();
+ }
+ }else if(pads == 0){
+ /* shrink channels */
+ ags_audio_set_pads_unlink_zero();
+
+ ags_audio_set_pads_shrink_zero();
+ audio->input = NULL;
+ }
+
+ /* apply new allocation */
+ audio->input_pads = pads;
+ audio->input_lines = pads * audio->audio_channels;
+
+ /* update recycling container of default recall id */
+ recall_id = audio->recall_id;
+
+ while(recall_id != NULL){
+ if((AGS_AUDIO_ASYNC & (audio->flags)) == 0){
+ channel = ags_channel_nth(audio->input,
+ AGS_CHANNEL(AGS_RECYCLING(AGS_RECALL_ID(recall_id->data)->recycling)->channel)->line);
+ }else{
+ channel = ags_channel_nth(audio->input,
+ AGS_CHANNEL(AGS_RECYCLING(AGS_RECALL_ID(recall_id->data)->recycling)->channel)->audio_channel);
+ }
+
+ old_first_recycling =
+ first_recycling = channel->first_recycling;
+
+ old_recycling_container = (AgsRecyclingContainer *) AGS_RECALL_ID(recall_id->data)->recycling_container;
+
+ if((old_first_recycling != NULL &&
+ ags_recycling_container_find(old_recycling_container,
+ old_first_recycling) != -1) ||
+ (first_recycling->parent == NULL ||
+ ags_recycling_container_find_parent(old_recycling_container,
+ first_recycling->parent) == -1)){
+ recall_id = recall_id->next;
+
+ continue;
+ }
+
+ recycling_container = ags_recycling_container_reset_recycling(old_recycling_container,
+ NULL, NULL,
+ channel->first_recycling, ags_channel_pad_last(channel)->last_recycling);
+
+ ags_audio_add_recycling_container(audio,
+ recycling_container);
+
+ while(channel != NULL){
+ ags_channel_recursive_reset_recycling_container(channel,
+ old_recycling_container,
+ recycling_container);
+
+ channel = channel->next_pad;
+ }
+
+ recall_id = recall_id->next;
+ }
+ }else{
+ g_warning("unknown channel type\0");
+ }
+}
+
+/**
+ * ags_audio_set_pads:
+ * @audio: an #AgsAudio
+ * @type: AGS_TYPE_INPUT or AGS_TYPE_OUTPUT
+ * @pads: new pad count
+ *
+ * Sets pad count for the apropriate @type
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_set_pads(AgsAudio *audio, GType type, guint pads)
+{
+ guint pads_old;
+
+ g_return_if_fail(AGS_IS_AUDIO(audio));
+
+ g_object_ref((GObject *) audio);
+ pads_old = ((g_type_is_a(type, AGS_TYPE_OUTPUT)) ? audio->output_pads: audio->input_pads);
+ g_signal_emit(G_OBJECT(audio),
+ audio_signals[SET_PADS], 0,
+ type, pads, pads_old);
+ g_object_unref((GObject *) audio);
+}
+
+/**
+ * ags_audio_init_run:
+ * @audio: an #AgsAudio
+ *
+ * Is emitted as audio is initialized.
+ *
+ * Returns: the current #AgsRecallID
+ *
+ * Since: 0.4
+ */
+AgsRecallID*
+ags_audio_init_run(AgsAudio *audio)
+{
+ AgsRecallID *recall_id;
+
+ g_return_if_fail(AGS_IS_AUDIO(audio));
+
+ g_object_ref((GObject *) audio);
+ g_signal_emit(G_OBJECT(audio),
+ audio_signals[INIT_RUN], 0,
+ &recall_id);
+ g_object_unref((GObject *) audio);
+
+ return(recall_id);
+}
+
+/**
+ * ags_audio_tact:
+ * @audio: an #AgsAudio
+ * @recall_id: the current #AgsRecallID
+ *
+ * Is emitted as audio is played.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_tact(AgsAudio *audio, AgsRecallID *recall_id)
+{
+ g_return_if_fail(AGS_IS_AUDIO(audio));
+
+ g_object_ref((GObject *) audio);
+ g_signal_emit(G_OBJECT(audio),
+ audio_signals[TACT], 0,
+ recall_id);
+ g_object_unref((GObject *) audio);
+}
+
+/**
+ * ags_audio_done:
+ * @audio: an #AgsAudio
+ * @recall_id: the current #AgsRecallID
+ *
+ * Is emitted as playing audio is done.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_done(AgsAudio *audio, AgsRecallID *recall_id)
+{
+ g_return_if_fail(AGS_IS_AUDIO(audio));
+
+ g_object_ref((GObject *) audio);
+ g_signal_emit(G_OBJECT(audio),
+ audio_signals[DONE], 0,
+ recall_id);
+ g_object_unref((GObject *) audio);
+}
+
+/**
+ * ags_audio_set_sequence_length:
+ * @audio: an #AgsAudio
+ * @sequence_length: the sequence length
+ *
+ * Sets sequence length.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_set_sequence_length(AgsAudio *audio, guint sequence_length)
+{
+ audio->sequence_length = sequence_length;
+}
+
+/**
+ * ags_audio_add_notation:
+ * @audio: an #AgsAudio
+ * @notation: the #AgsNotation
+ *
+ * Adds a notation.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_add_notation(AgsAudio *audio,
+ GObject *notation)
+{
+ g_object_ref(notation);
+ audio->automation = g_list_prepend(audio->notation,
+ notation);
+}
+
+/**
+ * ags_audio_remove_notation:
+ * @audio: an #AgsAudio
+ * @notation: the #AgsNotation
+ *
+ * Removes a notation.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_remove_notation(AgsAudio *audio,
+ GObject *notation)
+{
+ g_object_unref(notation);
+ audio->automation = g_list_remove(audio->notation,
+ notation);
+}
+
+/**
+ * ags_audio_add_automation:
+ * @audio: an #AgsAudio
+ * @automation: the #AgsAutomation
+ *
+ * Adds an automation.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_add_automation(AgsAudio *audio,
+ GObject *automation)
+{
+ g_object_ref(automation);
+ audio->automation = g_list_prepend(audio->automation,
+ automation);
+}
+
+/**
+ * ags_audio_remove_automation:
+ * @audio: an #AgsAudio
+ * @automation: the #AgsAutomation
+ *
+ * Removes an automation.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_remove_automation(AgsAudio *audio,
+ GObject *automation)
+{
+ g_object_unref(automation);
+ audio->automation = g_list_remove(audio->automation,
+ automation);
+}
+
+/**
+ * ags_audio_add_recall_id:
+ * @audio: an #AgsAudio
+ * @recall_id: the #AgsRecallID
+ *
+ * Adds a recall id.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_add_recall_id(AgsAudio *audio, GObject *recall_id)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+ g_object_ref(recall_id);
+ audio->recall_id = g_list_prepend(audio->recall_id, recall_id);
+}
+
+/**
+ * ags_audio_remove_recall_id:
+ * @audio: an #AgsAudio
+ * @recall_id: the #AgsRecallID
+ *
+ * Removes a recall id.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_remove_recall_id(AgsAudio *audio, GObject *recall_id)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ audio->recall_id = g_list_remove(audio->recall_id, recall_id);
+ g_object_unref(recall_id);
+}
+
+/**
+ * ags_audio_add_recycling_container:
+ * @audio: an #AgsAudio
+ * @recycling_container: the #AgsRecyclingContainer
+ *
+ * Adds a recycling container.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_add_recycling_container(AgsAudio *audio, GObject *recycling_container)
+{
+ g_object_ref(recycling_container);
+ audio->recycling_container = g_list_prepend(audio->recycling_container, recycling_container);
+}
+
+/**
+ * ags_audio_remove_recycling_container:
+ * @audio: an #AgsAudio
+ * @recycling_container: the #AgsRecyclingContainer
+ *
+ * Removes a recycling container.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_remove_recycling_container(AgsAudio *audio, GObject *recycling_container)
+{
+ audio->recycling_container = g_list_remove(audio->recycling_container, recycling_container);
+ g_object_unref(recycling_container);
+}
+
+/**
+ * ags_audio_add_recall_container:
+ * @audio: an #AgsAudio
+ * @recall_container: the #AgsRecallContainer
+ *
+ * Adds a recall container.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_add_recall_container(AgsAudio *audio, GObject *recall_container)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ g_object_ref(recall_container);
+ audio->container = g_list_prepend(audio->container, recall_container);
+}
+
+/**
+ * ags_audio_remove_recall_container:
+ * @audio: an #AgsAudio
+ * @recall_container: the #AgsRecallContainer
+ *
+ * Removes a recall container.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_remove_recall_container(AgsAudio *audio, GObject *recall_container)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ audio->container = g_list_remove(audio->container, recall_container);
+ g_object_unref(recall_container);
+}
+
+/**
+ * ags_audio_add_recall:
+ * @audio: an #AgsAudio
+ * @recall_container: the #AgsRecall
+ * @play: %TRUE if simple playback.
+ *
+ * Adds a recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_add_recall(AgsAudio *audio, GObject *recall, gboolean play)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ g_object_ref(G_OBJECT(recall));
+
+ if(play){
+ audio->play = g_list_append(audio->play, recall);
+ }else{
+ audio->recall = g_list_append(audio->recall, recall);
+ }
+}
+
+/**
+ * ags_audio_remove_recall:
+ * @audio: an #AgsAudio
+ * @recall_container: the #AgsRecall
+ * @play: %TRUE if simple playback.
+ *
+ * Removes a recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_remove_recall(AgsAudio *audio, GObject *recall, gboolean play)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ if(play){
+ audio->play = g_list_remove(audio->play, recall);
+ }else{
+ audio->recall = g_list_remove(audio->recall, recall);
+ }
+
+ g_object_unref(G_OBJECT(recall));
+}
+
+/**
+ * ags_audio_duplicate_recall:
+ * @audio: an #AgsAudio
+ * @recall_id: an #AgsRecallID
+ *
+ * Duplicate all #AgsRecall templates of this #AgsAudio.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_duplicate_recall(AgsAudio *audio,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall, *copy;
+ GList *list_recall_start, *list_recall;
+ gboolean playback, sequencer, notation;
+
+ //#ifdef AGS_DEBUG
+ g_message("ags_audio_duplicate_recall: %s - audio.lines[%u,%u]\n\0", G_OBJECT_TYPE_NAME(audio->machine), audio->output_lines, audio->input_lines);
+ //#endif
+
+ playback = FALSE;
+ sequencer = FALSE;
+ notation = FALSE;
+
+ if((AGS_RECALL_ID_PLAYBACK & (recall_id->flags)) != 0){
+ playback = TRUE;
+ }
+
+ if((AGS_RECALL_ID_SEQUENCER & (recall_id->flags)) != 0){
+ sequencer = TRUE;
+ }
+
+ if((AGS_RECALL_ID_NOTATION & (recall_id->flags)) != 0){
+ notation = TRUE;
+ }
+
+ /* get the appropriate list */
+ if(recall_id->recycling_container->parent == NULL){
+ list_recall_start =
+ list_recall = audio->play;
+ }else{
+ list_recall_start =
+ list_recall = audio->recall;
+ }
+
+ /* return if already duplicated */
+ if((AGS_RECALL_ID_DUPLICATE & (recall_id->flags)) != 0){
+ while(list_recall != NULL){
+ /* notify run */
+ ags_recall_notify_dependency(AGS_RECALL(list_recall->data), AGS_RECALL_NOTIFY_RUN, 1);
+
+ list_recall = list_recall->next;
+ }
+
+ return;
+ }else{
+ //TODO:JK: optimize tree see deprecated AgsRunOrder
+ }
+
+ /* duplicate */
+ while(list_recall != NULL){
+ recall = AGS_RECALL(list_recall->data);
+
+ if((AGS_RECALL_RUN_INITIALIZED & (recall->flags)) != 0 ||
+ AGS_IS_RECALL_AUDIO(recall) ||
+ !((playback && (AGS_RECALL_PLAYBACK & (recall->flags)) != 0) ||
+ (sequencer && (AGS_RECALL_SEQUENCER & (recall->flags)) != 0) ||
+ (notation && (AGS_RECALL_NOTATION & (recall->flags)) != 0))){
+ list_recall = list_recall->next;
+ continue;
+ }
+
+ /* duplicate template only once */
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) != 0){
+ /* duplicate the recall */
+ copy = ags_recall_duplicate(recall, recall_id);
+
+ /* notify run */
+ ags_recall_notify_dependency(copy, AGS_RECALL_NOTIFY_RUN, 1);
+
+#ifdef AGS_DEBUG
+ g_message("recall duplicated: %s\n\0", G_OBJECT_TYPE_NAME(copy));
+#endif
+
+ /* set appropriate flag */
+ if(playback){
+ ags_recall_set_flags(copy, AGS_RECALL_PLAYBACK);
+ }else if(sequencer){
+ ags_recall_set_flags(copy, AGS_RECALL_SEQUENCER);
+ }else if(notation){
+ ags_recall_set_flags(copy, AGS_RECALL_NOTATION);
+ }
+
+ /* append to AgsAudio */
+ if(recall_id->recycling_container->parent == NULL)
+ audio->play = g_list_append(audio->play, copy);
+ else
+ audio->recall = g_list_append(audio->recall, copy);
+
+ /* connect */
+ ags_connectable_connect(AGS_CONNECTABLE(copy));
+ }
+
+ /* iterate */
+ list_recall = list_recall->next;
+ }
+}
+
+/**
+ * ags_audio_resolve_recall:
+ * @audio: the #AgsAudio
+ * @recall_id: the #AgsRecallID to use
+ *
+ * Performs resolving of recalls.
+ *
+ * Since: 0.4
+ */
+void ags_audio_resolve_recall(AgsAudio *audio,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list_recall;
+
+ /* return if already duplicated */
+ if((AGS_RECALL_ID_RESOLVE & (recall_id->flags)) != 0){
+ return;
+ }
+
+ /* get the appropriate lists */
+ if(recall_id->recycling_container->parent == NULL){
+ list_recall = audio->play;
+ }else{
+ list_recall = audio->recall;
+ }
+
+ /* resolve */
+ while((list_recall = ags_recall_find_recycling_container(list_recall, recall_id->recycling_container)) != NULL){
+ recall = AGS_RECALL(list_recall->data);
+
+ ags_recall_resolve_dependencies(recall);
+
+ list_recall = list_recall->next;
+ }
+}
+
+/**
+ * ags_audio_init_recall:
+ * @audio: the #AgsAudio
+ * @stage: stage benning at 0 up to 2, or just -1
+ * @recall_id: the #AgsRecallID to use or #NULL
+ *
+ * Initializes the recalls of @audio
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_init_recall(AgsAudio *audio, gint stage,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list_recall;
+
+ /* return if already initialized */
+ switch(stage){
+ case 0:
+ if((AGS_RECALL_ID_INIT_PRE & (recall_id->flags)) != 0){
+ return;
+ }
+ break;
+ case 1:
+ if((AGS_RECALL_ID_INIT_INTER & (recall_id->flags)) != 0){
+ return;
+ }
+ break;
+ case 2:
+ if((AGS_RECALL_ID_INIT_POST & (recall_id->flags)) != 0){
+ return;
+ }
+ break;
+ }
+
+ /* retrieve appropriate recalls */
+ if(recall_id->recycling_container->parent == NULL)
+ list_recall = audio->play;
+ else
+ list_recall = audio->recall;
+
+ /* init */
+ while(list_recall != NULL){
+ recall = AGS_RECALL(list_recall->data);
+
+ if(recall->recall_id == NULL ||
+ recall->recall_id->recycling_container != recall_id->recycling_container ||
+ AGS_IS_RECALL_AUDIO(recall)){
+ list_recall = list_recall->next;
+ continue;
+ }
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) == 0){
+ if(stage == 0){
+ ags_dynamic_connectable_connect_dynamic(AGS_DYNAMIC_CONNECTABLE(recall));
+
+ recall->flags &= (~AGS_RECALL_HIDE);
+ ags_recall_run_init_pre(recall);
+ recall->flags &= (~AGS_RECALL_REMOVE);
+ }else if(stage == 1){
+ ags_recall_run_init_inter(recall);
+ }else{
+ ags_recall_run_init_post(recall);
+ }
+ }
+
+ list_recall = list_recall->next;
+ }
+}
+
+/**
+ * ags_audio_is_playing:
+ * @audio: the #AgsAudio
+ *
+ * Determine if #AgsAudio is playing.
+ *
+ * Returns: TRUE if it's playing otherwise FALSE
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_audio_is_playing(AgsAudio *audio)
+{
+ AgsChannel *output;
+ AgsRecallID *recall_id;
+ AgsDevoutPlay *devout_play;
+
+ output = audio->output;
+
+ while(output != NULL){
+ devout_play = AGS_DEVOUT_PLAY(output->devout_play);
+
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (devout_play->flags)) != 0 ||
+ (AGS_DEVOUT_PLAY_SEQUENCER & (devout_play->flags)) != 0 ||
+ (AGS_DEVOUT_PLAY_NOTATION & (devout_play->flags)) != 0){
+ return(TRUE);
+ }
+
+ output = output->next;
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_audio_play:
+ * @audio: the #AgsAudio
+ * @recall_id: the #AgsRecallID to apply to
+ * @stage: valid range is from 0 up to 2
+ *
+ * Performs on single play call of appropriate stage.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_play(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ gint stage)
+{
+ AgsRecall *recall;
+ GList *list, *list_next;
+
+ /* return if already played */
+ switch(stage){
+ case 0:
+ if((AGS_RECALL_ID_PRE & (recall_id->flags)) != 0){
+ return;
+ }
+ break;
+ case 1:
+ if((AGS_RECALL_ID_INTER & (recall_id->flags)) != 0){
+ return;
+ }
+ break;
+ case 2:
+ if((AGS_RECALL_ID_POST & (recall_id->flags)) != 0){
+ return;
+ }
+ break;
+ }
+
+ /* retrieve appropriate recalls */
+ if(recall_id->recycling_container->parent == NULL)
+ list = audio->play;
+ else
+ list = audio->recall;
+
+ /* play */
+ while(list != NULL){
+ list_next = list->next;
+
+ recall = AGS_RECALL(list->data);
+
+ if(recall == NULL){
+ if(recall_id->recycling_container->parent != NULL){
+ audio->recall = g_list_remove(audio->recall,
+ recall);
+ }else{
+ audio->play = g_list_remove(audio->play,
+ recall);
+ }
+
+ g_warning("recall == NULL\0");
+ list = list_next;
+ continue;
+ }
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) != 0 ||
+ recall->recall_id == NULL ||
+ (recall->recall_id->recycling_container != recall_id->recycling_container)){
+ list = list_next;
+
+ continue;
+ }
+
+ if((AGS_RECALL_HIDE & (recall->flags)) == 0){
+ if(stage == 0)
+ ags_recall_run_pre(recall);
+ else if(stage == 1)
+ ags_recall_run_inter(recall);
+ else
+ ags_recall_run_post(recall);
+ }
+
+ list = list_next;
+ }
+}
+
+/**
+ * ags_audio_recursive_play_init:
+ * @audio: the #AgsAudio object
+ * @playback: if doing playback
+ * @sequencer: if doing sequencer
+ * @notation: if doing notation
+ *
+ * Initializes #AgsAudio in order to do playback, sequencer or notation.
+ *
+ * Returns: a list containing all #AgsRecallID
+ *
+ * Since: 0.4
+ */
+GList*
+ags_audio_recursive_play_init(AgsAudio *audio,
+ gboolean playback, gboolean sequencer, gboolean notation)
+{
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+ GList *list, *list_start;
+ gint stage;
+ gboolean arrange_recall_id, duplicate_templates, resolve_dependencies;
+
+ list = NULL;
+ list_start = NULL;
+
+ for(stage = 0; stage < 3; stage++){
+ channel = audio->output;
+ list = list_start;
+
+ if(stage == 0){
+ arrange_recall_id = TRUE;
+ duplicate_templates = TRUE;
+ resolve_dependencies = TRUE;
+ }else{
+ arrange_recall_id = FALSE;
+ duplicate_templates = FALSE;
+ resolve_dependencies = FALSE;
+ }
+
+ while(channel != NULL){
+ if(stage == 0){
+ recall_id = ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ playback, sequencer, notation,
+ resolve_dependencies,
+ NULL);
+
+ list_start = g_list_append(list_start,
+ recall_id);
+ }else{
+ ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ playback, sequencer, notation,
+ resolve_dependencies,
+ AGS_RECALL_ID(list->data));
+
+ list = list->next;
+ }
+
+ channel = channel->next;
+ }
+ }
+
+ return(list_start);
+}
+
+/**
+ * ags_audio_remove:
+ * @audio: the #AgsAudio
+ * @recall_id: the #AgsRecallID to apply to
+ *
+ * Remove processing audio data.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_remove(AgsAudio *audio,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list, *list_next;
+ gboolean play;
+
+ if(recall_id == NULL){
+ return;
+ }
+
+ if(recall_id->recycling_container->parent == NULL){
+ list = audio->play;
+ play = TRUE;
+ }else{
+ list = audio->recall;
+ play = FALSE;
+ }
+
+ while(list != NULL){
+ list_next = list->next;
+
+ recall = AGS_RECALL(list->data);
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) ||
+ recall->recall_id == NULL ||
+ recall->recall_id->recycling_container != recall_id->recycling_container){
+ list = list_next;
+
+ continue;
+ }
+
+ ags_recall_remove(recall);
+ ags_audio_remove_recall(audio,
+ recall,
+ play);
+
+ list = list_next;
+ }
+
+ audio->recall_id = g_list_remove(audio->recall_id,
+ recall_id);
+ g_object_unref(recall_id);
+}
+
+/**
+ * ags_audio_cancel:
+ * @audio: the #AgsAudio
+ * @recall_id: the #AgsRecallID to apply to
+ *
+ * Cancel processing audio data.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_cancel(AgsAudio *audio,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list, *list_next;
+
+ if(recall_id == NULL){
+ return;
+ }
+
+ if(recall_id->recycling_container->parent == NULL)
+ list = audio->play;
+ else
+ list = audio->recall;
+
+ g_object_ref(recall_id);
+
+ while(list != NULL){
+ list_next = list->next;
+
+ recall = AGS_RECALL(list->data);
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) ||
+ recall->recall_id == NULL ||
+ recall->recall_id->recycling_container != recall_id->recycling_container){
+ list = list_next;
+
+ continue;
+ }
+
+ g_object_ref(recall_id);
+ g_object_ref(recall);
+ ags_recall_cancel(recall);
+
+ list = list_next;
+ }
+}
+
+/**
+ * ags_audio_set_devout:
+ * @audio: the #AgsAudio
+ * @devout: an #AgsDevout
+ *
+ * Sets a devout object on audio.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_set_devout(AgsAudio *audio, GObject *devout)
+{
+ AgsChannel *channel;
+ GList *list;
+
+ /* audio */
+ if(audio->devout == devout)
+ return;
+
+ if(audio->devout != NULL)
+ g_object_unref(audio->devout);
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ audio->devout = (GObject *) devout;
+
+ /* recall */
+ list = audio->play;
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "devout\0", devout,
+ NULL);
+
+ list = list->next;
+ }
+
+ list = audio->recall;
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "devout\0", devout,
+ NULL);
+
+ list = list->next;
+ }
+
+ /* input */
+ channel = audio->input;
+
+ while(channel != NULL){
+ g_object_set(G_OBJECT(channel),
+ "devout\0", devout,
+ NULL);
+
+ channel = channel->next;
+ }
+
+ /* output */
+ channel = audio->output;
+
+ while(channel != NULL){
+ g_object_set(G_OBJECT(channel),
+ "devout\0", devout,
+ NULL);
+
+ channel = channel->next;
+ }
+}
+
+/**
+ * ags_audio_open_files:
+ * @audio: the #AgsAudio
+ * @filenames: the files to open
+ * @overwrite_channels: if existing channels should be assigned
+ * @create_channels: if new channels should be created as not fitting if combined with @overwrite_channels
+ *
+ * Open some files.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_open_files(AgsAudio *audio,
+ GSList *filenames,
+ gboolean overwrite_channels,
+ gboolean create_channels)
+{
+ AgsChannel *channel;
+ AgsAudioFile *audio_file;
+ AgsAudioSignal *audio_signal_source_old;
+ GList *audio_signal_list;
+ guint i, j;
+ guint list_length;
+ GError *error;
+
+ channel = audio->input;
+
+ /* overwriting existing channels */
+ if(overwrite_channels){
+ if(channel != NULL){
+ for(i = 0; i < audio->input_pads && filenames != NULL; i++){
+ audio_file = ags_audio_file_new((gchar *) filenames->data,
+ (AgsDevout *) audio->devout,
+ 0, audio->audio_channels);
+ if(!ags_audio_file_open(audio_file)){
+ filenames = filenames->next;
+ continue;
+ }
+
+ ags_audio_file_read_audio_signal(audio_file);
+ ags_audio_file_close(audio_file);
+
+ audio_signal_list = audio_file->audio_signal;
+
+ for(j = 0; j < audio->audio_channels && audio_signal_list != NULL; j++){
+ /* create task */
+ error = NULL;
+
+ ags_channel_set_link(channel, NULL,
+ &error);
+
+ if(error != NULL){
+ g_message(error->message);
+ }
+
+ AGS_AUDIO_SIGNAL(audio_signal_list->data)->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ AGS_AUDIO_SIGNAL(audio_signal_list->data)->recycling = (GObject *) channel->first_recycling;
+ audio_signal_source_old = ags_audio_signal_get_template(channel->first_recycling->audio_signal);
+
+ // FIXME:JK: create a task
+ channel->first_recycling->audio_signal = g_list_remove(channel->first_recycling->audio_signal,
+ (gpointer) audio_signal_source_old);
+ channel->first_recycling->audio_signal = g_list_prepend(channel->first_recycling->audio_signal,
+ audio_signal_list->data);
+
+ g_object_unref(G_OBJECT(audio_signal_source_old));
+
+ audio_signal_list = audio_signal_list->next;
+ channel = channel->next;
+ }
+
+ if(audio_file->channels < audio->audio_channels)
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - audio_file->channels);
+
+ filenames = filenames->next;
+ }
+ }
+ }
+
+ /* appending to channels */
+ if(create_channels && filenames != NULL){
+ list_length = g_slist_length(filenames);
+
+ ags_audio_set_pads((AgsAudio *) audio, AGS_TYPE_INPUT,
+ list_length + AGS_AUDIO(audio)->input_pads);
+ channel = ags_channel_nth(AGS_AUDIO(audio)->input,
+ (AGS_AUDIO(audio)->input_pads - list_length) * AGS_AUDIO(audio)->audio_channels);
+
+ while(filenames != NULL){
+ audio_file = ags_audio_file_new((gchar *) filenames->data,
+ (AgsDevout *) audio->devout,
+ 0, audio->audio_channels);
+ if(!ags_audio_file_open(audio_file)){
+ filenames = filenames->next;
+ continue;
+ }
+
+ ags_audio_file_read_audio_signal(audio_file);
+ ags_audio_file_close(audio_file);
+
+ audio_signal_list = audio_file->audio_signal;
+
+ for(j = 0; j < audio->audio_channels && audio_signal_list != NULL; j++){
+ AGS_AUDIO_SIGNAL(audio_signal_list->data)->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ AGS_AUDIO_SIGNAL(audio_signal_list->data)->recycling = (GObject *) channel->first_recycling;
+ audio_signal_source_old = ags_audio_signal_get_template(channel->first_recycling->audio_signal);
+
+ channel->first_recycling->audio_signal = g_list_remove(channel->first_recycling->audio_signal,
+ (gpointer) audio_signal_source_old);
+ channel->first_recycling->audio_signal = g_list_prepend(channel->first_recycling->audio_signal,
+ audio_signal_list->data);
+
+ g_object_unref(G_OBJECT(audio_signal_source_old));
+
+ audio_signal_list = audio_signal_list->next;
+ channel = channel->next;
+ }
+
+ if(audio->audio_channels > audio_file->channels)
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - audio_file->channels);
+
+ filenames = filenames->next;
+ }
+ }
+}
+
+/**
+ * ags_audio_find_port:
+ * @audio: an #AgsAudio
+ *
+ * Retrieve all ports of #AgsAudio.
+ *
+ * Returns: a new #GList containing #AgsPort
+ *
+ * Since: 0.4
+ */
+GList*
+ags_audio_find_port(AgsAudio *audio)
+{
+ GList *recall;
+ GList *list;
+
+ list = NULL;
+
+ /* collect port of playing recall */
+ recall = audio->play;
+
+ while(recall != NULL){
+ if(AGS_RECALL(recall->data)->port != NULL){
+ if(list == NULL){
+ list = g_list_copy(AGS_RECALL(recall->data)->port);
+ }else{
+ if(AGS_RECALL(recall->data)->port != NULL){
+ list = g_list_concat(list,
+ g_list_copy(AGS_RECALL(recall->data)->port));
+ }
+ }
+ }
+
+ recall = recall->next;
+ }
+
+ /* the same for true recall */
+ recall = audio->recall;
+
+ while(recall != NULL){
+ if(AGS_RECALL(recall->data)->port != NULL){
+ if(list == NULL){
+ list = g_list_copy(AGS_RECALL(recall->data)->port);
+ }else{
+ if(AGS_RECALL(recall->data)->port != NULL){
+ list = g_list_concat(list,
+ g_list_copy(AGS_RECALL(recall->data)->port));
+ }
+ }
+ }
+
+ recall = recall->next;
+ }
+
+ /* */
+ list = g_list_reverse(list);
+
+ return(list);
+}
+
+/**
+ * ags_audio_new:
+ * @devout: an #AgsDevout
+ *
+ * Creates an #AgsAudio, with defaults of @devout.
+ *
+ * Returns: a new #AgsAudio
+ *
+ * Since: 0.3
+ */
+AgsAudio*
+ags_audio_new(AgsDevout *devout)
+{
+ AgsAudio *audio;
+
+ audio = (AgsAudio *) g_object_new(AGS_TYPE_AUDIO,
+ "devout\0", devout,
+ NULL);
+
+ return(audio);
+}
diff --git a/src/ags/audio/ags_audio.h b/src/ags/audio/ags_audio.h
new file mode 100644
index 0000000..28e226f
--- /dev/null
+++ b/src/ags/audio/ags_audio.h
@@ -0,0 +1,174 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_H__
+#define __AGS_AUDIO_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_AUDIO (ags_audio_get_type ())
+#define AGS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO, AgsAudio))
+#define AGS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO, AgsAudioClass))
+#define AGS_IS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO))
+#define AGS_IS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO))
+#define AGS_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO, AgsAudioClass))
+
+typedef struct _AgsAudio AgsAudio;
+typedef struct _AgsAudioClass AgsAudioClass;
+
+typedef enum{
+ AGS_AUDIO_OUTPUT_HAS_RECYCLING = 1,
+ AGS_AUDIO_INPUT_HAS_RECYCLING = 1 << 1,
+ AGS_AUDIO_INPUT_TAKES_FILE = 1 << 2,
+ AGS_AUDIO_HAS_NOTATION = 1 << 3,
+ AGS_AUDIO_SYNC = 1 << 4, // can be combined with below
+ AGS_AUDIO_ASYNC = 1 << 5,
+ AGS_AUDIO_RUNNING = 1 << 6,
+ AGS_AUDIO_PLAYING = 1 << 7,
+ AGS_AUDIO_NOTATION_DEFAULT = 1 << 8,
+}AgsAudioFlags;
+
+struct _AgsAudio
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+ guint level;
+
+ guint sequence_length;
+ guint audio_channels;
+ guint frequence;
+
+ guint output_pads;
+ guint output_lines;
+
+ guint input_pads;
+ guint input_lines;
+
+ AgsChannel *output;
+ AgsChannel *input;
+
+ gpointer devout_play_domain;
+
+ GList *notation;
+ GList *automation;
+
+ GList *recall_id;
+ GList *recycling_container;
+
+ GList *container;
+ GList *recall;
+ GList *play;
+
+ GList *recall_remove; //TODO:JK: verify deprecation
+ GList *play_remove; //TODO:JK: verify deprecation
+
+ GtkWidget *machine;
+};
+
+struct _AgsAudioClass
+{
+ GObjectClass object;
+
+ void (*set_audio_channels)(AgsAudio *audio,
+ guint audio_channels, guint audio_channels_old);
+ void (*set_pads)(AgsAudio *audio,
+ GType type,
+ guint pads, guint pads_old);
+
+ AgsRecallID* (*init_run)(AgsAudio *audio);
+ void (*tact)(AgsAudio *audio, AgsRecallID *recall_id);
+ void (*done)(AgsAudio *audio, AgsRecallID *recall_id);
+};
+
+GType ags_audio_get_type();
+
+void ags_audio_set_flags(AgsAudio *audio, guint flags);
+void ags_audio_unset_flags(AgsAudio *audio, guint flags);
+
+void ags_audio_set_audio_channels(AgsAudio *audio, guint audio_channels);
+void ags_audio_set_pads(AgsAudio *audio, GType type, guint pads);
+
+AgsRecallID* ags_audio_init_run(AgsAudio *audio);
+void ags_audio_tact(AgsAudio *audio, AgsRecallID *recall_id);
+void ags_audio_done(AgsAudio *audio, AgsRecallID *recall_id);
+
+void ags_audio_set_sequence_length(AgsAudio *audio, guint sequence_length);
+
+void ags_audio_set_devout(AgsAudio *audio, GObject *devout);
+
+void ags_audio_add_notation(AgsAudio *audio,
+ GObject *notation);
+void ags_audio_remove_notation(AgsAudio *audio,
+ GObject *notation);
+
+void ags_audio_add_automation(AgsAudio *audio,
+ GObject *automation);
+void ags_audio_remove_automation(AgsAudio *audio,
+ GObject *automation);
+
+void ags_audio_add_recall_id(AgsAudio *audio, GObject *recall_id);
+void ags_audio_remove_recall_id(AgsAudio *audio, GObject *recall_id);
+
+void ags_audio_add_recycling_container(AgsAudio *audio, GObject *recycling_container);
+void ags_audio_remove_recycling_container(AgsAudio *audio, GObject *recycling_container);
+
+void ags_audio_add_recall_container(AgsAudio *audio, GObject *recall_container);
+void ags_audio_remove_recall_container(AgsAudio *audio, GObject *recall_container);
+
+void ags_audio_add_recall(AgsAudio *audio, GObject *recall, gboolean play);
+void ags_audio_remove_recall(AgsAudio *audio, GObject *recall, gboolean play);
+
+void ags_audio_recall_change_state(AgsAudio *audio, gboolean enable);
+
+void ags_audio_duplicate_recall(AgsAudio *audio,
+ AgsRecallID *recall_id);
+void ags_audio_init_recall(AgsAudio *audio, gint stage,
+ AgsRecallID *recall_id);
+void ags_audio_resolve_recall(AgsAudio *audio,
+ AgsRecallID *recall_id);
+
+gboolean ags_audio_is_playing(AgsAudio *audio);
+
+void ags_audio_play(AgsAudio *audio,
+ AgsRecallID *recall_id,
+ gint stage);
+
+GList* ags_audio_recursive_play_init(AgsAudio *audio,
+ gboolean playback, gboolean sequencer, gboolean notation);
+
+void ags_audio_cancel(AgsAudio *audio,
+ AgsRecallID *recall_id);
+void ags_audio_remove(AgsAudio *audio,
+ AgsRecallID *recall_id);
+
+void ags_audio_open_files(AgsAudio *audio,
+ GSList *filenames,
+ gboolean overwrite_channels,
+ gboolean create_channels);
+
+GList* ags_audio_find_port(AgsAudio *audio);
+
+AgsAudio* ags_audio_new();
+
+#endif /*__AGS_AUDIO_H__*/
diff --git a/src/ags/audio/ags_audio_application_context.c b/src/ags/audio/ags_audio_application_context.c
new file mode 100644
index 0000000..9654ff2
--- /dev/null
+++ b/src/ags/audio/ags_audio_application_context.c
@@ -0,0 +1,206 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio_loop.h>
+#include <ags/audio/ags_gui_audio.h>
+#include <ags/audio/ags_autosave_audio.h>
+#include <ags/audio/ags_single_audio.h>
+
+void ags_audio_application_context_class_init(AgsAudioApplicationContextClass *audio_application_context);
+void ags_audio_application_context_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_audio_application_context_init(AgsAudioApplicationContext *audio_application_context);
+void ags_audio_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_application_context_connect(AgsConnectable *connectable);
+void ags_audio_application_context_disconnect(AgsConnectable *connectable);
+void ags_audio_application_context_finalize(GObject *gobject);
+
+static AgsConnectableInterface* ags_audio_application_context_parent_connectable_interface;
+
+GType
+ags_audio_application_context_get_type()
+{
+ static GType ags_type_audio_application_context = 0;
+
+ if(!ags_type_audio_application_context){
+ static const GTypeInfo ags_audio_application_context_info = {
+ sizeof (AgsAudioApplicationContextClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_application_context_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAudioApplicationContext),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_application_context_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_application_context_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_audio_application_context = g_type_register_static(AGS_TYPE_APPLICATION_CONTEXT,
+ "AgsAudioApplicationContext\0",
+ &ags_audio_application_context_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_audio_application_context,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_audio_application_context);
+}
+
+void
+ags_audio_application_context_class_init(AgsAudioApplicationContextClass *audio_application_context)
+{
+ GObjectClass *gobject;
+ AgsApplicationContextClass *application_context;
+
+ ags_audio_application_context_parent_class = g_type_class_peek_parent(ags_audio_application_context);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ags_audio_application_context;
+
+ gobject->set_property = ags_audio_application_context_set_property;
+ gobject->get_property = ags_audio_application_context_get_property;
+
+ gobject->finalize = ags_audio_application_context_finalize;
+
+ /* AgsAudioApplicationContextClass */
+ application_context = (AgsApplicationContextClass *) audio_application_context_class;
+
+ application_context->load_config = ags_audio_application_context_load_config;
+ application_context->register_types = ags_audio_application_context_register_types;
+}
+
+void
+ags_audio_application_context_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_audio_application_context_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_audio_application_context_connect;
+ connectable->disconnect = ags_audio_application_context_disconnect;
+}
+
+void
+ags_audio_application_context_init(AgsAudioApplicationContext *audio_application_context)
+{
+ audio_application_context->flags = 0;
+
+ application_context->soundcard = NULL;
+}
+
+void
+ags_audio_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudioApplicationContext *audio_application_context;
+
+ audio_application_context = AGS_AUDIO_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudioApplicationContext *audio_application_context;
+
+ audio_application_context = AGS_AUDIO_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_application_context_connect(AgsConnectable *connectable)
+{
+ AgsAudioApplicationContext *audio_application_context;
+
+ audio_application_context = AGS_AUDIO_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_AUDIO_APPLICATION_CONTEXT_CONNECTED & (audio_application_context->flags)) != 0){
+ return;
+ }
+
+ ags_audio_application_context_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_audio_application_context_disconnect(AgsConnectable *connectable)
+{
+ AgsAudioApplicationContext *audio_application_context;
+
+ audio_application_context = AGS_AUDIO_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_AUDIO_APPLICATION_CONTEXT_CONNECTED & (audio_application_context->flags)) == 0){
+ return;
+ }
+
+ ags_audio_application_context_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_audio_application_context_finalize(GObject *gobject)
+{
+ AgsAudioApplicationContext *audio_application_context;
+
+ G_OBJECT_CLASS(ags_audio_application_context_parent_class)->finalize(gobject);
+
+ audio_application_context = AGS_AUDIO_APPLICATION_CONTEXT(gobject);
+}
+
+AgsAudioApplicationContext*
+ags_audio_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config)
+{
+ AgsAudioApplicationContext *audio_application_context;
+
+ audio_application_context = (AgsAudioApplicationContext *) g_object_new(AGS_TYPE_AUDIO_APPLICATION_CONTEXT,
+ "main-loop\0", main_loop,
+ "config\0", config,
+ NULL);
+
+ return(audio_application_context);
+}
+
+
diff --git a/src/ags/audio/ags_audio_application_context.h b/src/ags/audio/ags_audio_application_context.h
new file mode 100644
index 0000000..0bb1374
--- /dev/null
+++ b/src/ags/audio/ags_audio_application_context.h
@@ -0,0 +1,70 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_APPLICATION_CONTEXT_H__
+#define __AGS_AUDIO_APPLICATION_CONTEXT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/object/ags_application_context.h>
+#include <ags/object/ags_soundcard.h>
+
+#define AGS_TYPE_AUDIO_APPLICATION_CONTEXT (ags_audio_application_context_get_type())
+#define AGS_AUDIO_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_APPLICATION_CONTEXT, AgsAudioApplicationContext))
+#define AGS_AUDIO_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_APPLICATION_CONTEXT, AgsAudioApplicationContextClass))
+#define AGS_IS_AUDIO_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_APPLICATION_CONTEXT))
+#define AGS_IS_AUDIO_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_APPLICATION_CONTEXT))
+#define AGS_AUDIO_APPLICATION_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_APPLICATION_CONTEXT, AgsAudioApplicationContextClass))
+
+#define AGS_AUDIO_RT_PRIORITY (49)
+
+#define AGS_AUDIO_BUILD_ID "Thu Apr 2 13:04:21 GMT 2015\0"
+#define AGS_AUDIO_DEFAULT_VERSION "0.4.3\0"
+
+#define AGS_EFFECTS_DEFAULT_VERSION "0.4.2\0"
+
+typedef struct _AgsAudioApplicationContext AgsAudioApplicationContext;
+typedef struct _AgsAudioApplicationContextClass AgsAudioApplicationContextClass;
+
+typedef enum{
+ AGS_AUDIO_APPLICATION_CONTEXT_USE_ALSA = 1,
+}AgsAudioApplicationContextFlags;
+
+struct _AgsAudioApplicationContext
+{
+ AgsApplicationContext appliacation_context;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ GList *soundcard;
+};
+
+struct _AgsAudioApplicationContextClass
+{
+ AgsApplicationContextClass appliacation_context;
+};
+
+GType ags_audio_application_context_get_type();
+
+AgsAudioApplicationContext* ags_audio_application_context_new();
+
+#endif /*__AGS_AUDIO_APPLICATION_CONTEXT_H__*/
diff --git a/src/ags/audio/ags_audio_signal.c b/src/ags/audio/ags_audio_signal.c
new file mode 100644
index 0000000..597de29
--- /dev/null
+++ b/src/ags/audio/ags_audio_signal.c
@@ -0,0 +1,1816 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_audio_signal.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_config.h>
+#include <ags/audio/ags_devout.h>
+
+#include <stdint.h>
+#include <emmintrin.h>
+#include <stdlib.h>
+#include <math.h>
+#include <string.h>
+
+/**
+ * SECTION:ags_audio_signal
+ * @short_description: Contains the audio data and its alignment
+ * @title: AgsAudioSignal
+ * @section_id:
+ * @include: ags/audio/ags_audio_signal.h
+ *
+ * #AgsAudioSignal organizes audio data within a #GList whereby data
+ * pointing to the buffer.
+ */
+
+void ags_audio_signal_class_init(AgsAudioSignalClass *audio_signal_class);
+void ags_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_audio_signal_init(AgsAudioSignal *audio_signal);
+void ags_audio_signal_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_signal_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_signal_finalize(GObject *gobject);
+void ags_audio_signal_connect(AgsConnectable *connectable);
+void ags_audio_signal_disconnect(AgsConnectable *connectable);
+
+void ags_audio_signal_real_realloc_buffer_size(AgsAudioSignal *audio_signal, guint buffer_size);
+void ags_audio_signal_real_morph_samplerate(AgsAudioSignal *audio_signal, guint samplerate, double k_morph);
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+ PROP_RECYCLING,
+ PROP_RECALL_ID,
+};
+
+enum{
+ REALLOC_BUFFER_SIZE,
+ MORPH_SAMPLERATE,
+ LAST_SIGNAL,
+};
+
+extern AgsConfig *config;
+
+static gpointer ags_audio_signal_parent_class = NULL;
+static guint audio_signal_signals[LAST_SIGNAL];
+
+GType
+ags_audio_signal_get_type(void)
+{
+ static GType ags_type_audio_signal = 0;
+
+ if(!ags_type_audio_signal){
+ static const GTypeInfo ags_audio_signal_info = {
+ sizeof (AgsAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_audio_signal = g_type_register_static(G_TYPE_OBJECT,
+ "AgsAudioSignal\0",
+ &ags_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_audio_signal);
+}
+
+void
+ags_audio_signal_class_init(AgsAudioSignalClass *audio_signal)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_audio_signal_parent_class = g_type_class_peek_parent(audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) audio_signal;
+
+ gobject->set_property = ags_audio_signal_set_property;
+ gobject->get_property = ags_audio_signal_get_property;
+
+ gobject->finalize = ags_audio_signal_finalize;
+
+ /* properties */
+ /**
+ * AgsAudioSignal:devout:
+ *
+ * The assigned #AgsDevout providing default settings.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ AGS_TYPE_DEVOUT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /**
+ * AgsAudioSignal:recycling:
+ *
+ * The assigned #AgsRecycling linking tree.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recycling\0",
+ "assigned recycling\0",
+ "The recycling it is assigned with\0",
+ AGS_TYPE_RECYCLING,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECYCLING,
+ param_spec);
+
+ /**
+ * AgsAudioSignal:recall-id:
+ *
+ * The assigned #AgsRecallID providing context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall_id\0",
+ "assigned recall id\0",
+ "The recall id it is assigned with\0",
+ AGS_TYPE_RECALL_ID,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_ID,
+ param_spec);
+
+ /* AgsAudioSignalClass */
+ audio_signal->realloc_buffer_size = ags_audio_signal_real_realloc_buffer_size;
+ audio_signal->morph_samplerate = ags_audio_signal_real_morph_samplerate;
+
+ /* signals */
+ /**
+ * AgsAudioSignal::realloc-buffer-size:
+ * @audio_signal: the object to realloc buffer size
+ * @buffer_size: new buffer size
+ *
+ * The ::reallloc-buffer-size signal is invoked to notify modified buffer size.
+ */
+ audio_signal_signals[REALLOC_BUFFER_SIZE] =
+ g_signal_new("realloc-buffer-size\0",
+ G_TYPE_FROM_CLASS (audio_signal),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsAudioSignalClass, realloc_buffer_size),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsAudioSignal::morph-samplerate:
+ * @audio_signal: the object to morph samplerate
+ * @samplerate: new samplerate
+ *
+ * The ::morph-samplerate signal is invoked to notify modified samplerate.
+ */
+ audio_signal_signals[MORPH_SAMPLERATE] =
+ g_signal_new("morph-samplerate\0",
+ G_TYPE_FROM_CLASS (audio_signal),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsAudioSignalClass, morph_samplerate),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_DOUBLE,
+ G_TYPE_NONE, 2,
+ G_TYPE_UINT, G_TYPE_DOUBLE);
+}
+
+void
+ags_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_audio_signal_connect;
+ connectable->disconnect = ags_audio_signal_disconnect;
+}
+
+void
+ags_audio_signal_init(AgsAudioSignal *audio_signal)
+{
+ audio_signal->flags = 0;
+
+ audio_signal->devout = NULL;
+
+ audio_signal->recycling = NULL;
+ audio_signal->recall_id = NULL;
+
+ audio_signal->samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+ audio_signal->buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ audio_signal->resolution = AGS_DEVOUT_RESOLUTION_16_BIT;
+
+ audio_signal->length = 0;
+ audio_signal->last_frame = 0;
+ audio_signal->loop_start = 0;
+ audio_signal->loop_end = 0;
+
+ audio_signal->delay = 0.0;
+ audio_signal->attack = 0;
+
+ audio_signal->lock_attack = 0;
+
+ audio_signal->stream_beginning = NULL;
+ audio_signal->stream_current = NULL;
+ audio_signal->stream_end = NULL;
+}
+
+void
+ags_audio_signal_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudioSignal *audio_signal;
+
+ audio_signal = AGS_AUDIO_SIGNAL(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ GObject *devout;
+
+ devout = g_value_get_object(value);
+
+ if(audio_signal->devout == devout)
+ return;
+
+ if(audio_signal->devout != NULL)
+ g_object_unref(audio_signal->devout);
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ audio_signal->devout = devout;
+ }
+ break;
+ case PROP_RECYCLING:
+ {
+ GObject *recycling;
+
+ recycling = g_value_get_object(value);
+
+ if(audio_signal->recycling == recycling)
+ return;
+
+ if(audio_signal->recycling != NULL)
+ g_object_unref(audio_signal->recycling);
+
+ if(recycling != NULL)
+ g_object_ref(recycling);
+
+ audio_signal->recycling = recycling;
+ }
+ break;
+ case PROP_RECALL_ID:
+ {
+ GObject *recall_id;
+
+ recall_id = g_value_get_object(value);
+
+ if(audio_signal->recall_id == recall_id)
+ return;
+
+ if(audio_signal->recall_id != NULL)
+ g_object_unref(audio_signal->recall_id);
+
+ if(recall_id != NULL)
+ g_object_ref(recall_id);
+
+ audio_signal->recall_id = recall_id;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_signal_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudioSignal *audio_signal;
+
+ audio_signal = AGS_AUDIO_SIGNAL(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ g_value_set_object(value, audio_signal->devout);
+ break;
+ case PROP_RECYCLING:
+ g_value_set_object(value, audio_signal->recycling);
+ break;
+ case PROP_RECALL_ID:
+ g_value_set_object(value, audio_signal->recall_id);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_signal_finalize(GObject *gobject)
+{
+ AgsAudioSignal *audio_signal;
+
+ audio_signal = AGS_AUDIO_SIGNAL(gobject);
+
+#ifdef AGS_DEBUG
+ g_message("finalize AgsAudioSignal\0");
+#endif
+
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (audio_signal->flags)) != 0)
+ g_warning("AGS_AUDIO_SIGNAL_TEMPLATE: destroying\n\0");
+
+ if(audio_signal->devout != NULL)
+ g_object_unref(audio_signal->devout);
+
+ if(audio_signal->recycling != NULL)
+ g_object_unref(audio_signal->recycling);
+
+ if(audio_signal->recall_id != NULL)
+ g_object_unref(audio_signal->recall_id);
+
+ if(audio_signal->stream_beginning != NULL){
+ g_list_free_full(audio_signal->stream_beginning,
+ g_free);
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_audio_signal_parent_class)->finalize(gobject);
+}
+
+void
+ags_audio_signal_connect(AgsConnectable *connectable)
+{
+ // empty
+}
+
+void
+ags_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ // empty
+}
+
+/**
+ * ags_stream_alloc:
+ * @buffer_size: the buffer size
+ *
+ * Allocs an audio buffer.
+ *
+ * Returns: the audio data array
+ *
+ * Since: 0.3
+ */
+signed short*
+ags_stream_alloc(guint buffer_size)
+{
+ signed short *buffer;
+
+ buffer = (signed short *) malloc(buffer_size * sizeof(signed short));
+ memset(buffer, 0, buffer_size * sizeof(signed short));
+
+ return(buffer);
+}
+
+/**
+ * ags_audio_signal_get_length_till_current:
+ * @audio_signal: an #AgsAudioSignal
+ *
+ * Counts the buffers from stream_beginning upto stream_current.
+ *
+ * Returns: the counted length.
+ *
+ * Since: 0.4
+ */
+guint
+ags_audio_signal_get_length_till_current(AgsAudioSignal *audio_signal)
+{
+ GList *list, *stop;
+ guint length;
+
+ if(audio_signal == NULL){
+ return(0);
+ }
+
+ list = audio_signal->stream_beginning;
+ length = 0;
+
+ if(audio_signal->stream_current != NULL){
+ stop = audio_signal->stream_current->next;
+ }else{
+ return(0);
+ }
+
+ while(list != stop){
+ length++;
+ list = list->next;
+ }
+
+ return(length);
+}
+
+/**
+ * ags_audio_signal_add_stream:
+ * @audio_signal: an #AgsAudioSignal
+ *
+ * Adds a buffer at the end of the stream.
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_signal_add_stream(AgsAudioSignal *audio_signal)
+{
+ GList *stream, *end_old;
+ signed short *buffer;
+
+ stream = g_list_alloc();
+ buffer = ags_stream_alloc(audio_signal->buffer_size);
+ stream->data = buffer;
+
+ if(audio_signal->stream_end != NULL){
+ end_old = audio_signal->stream_end;
+
+ stream->prev = end_old;
+ end_old->next = stream;
+ }else{
+ audio_signal->stream_beginning = stream;
+ audio_signal->stream_current = stream;
+ }
+
+ audio_signal->stream_end = stream;
+
+ audio_signal->length += 1;
+}
+
+/**
+ * ags_audio_signal_stream_resize:
+ * @audio_signal: an #AgsAudioSignal to resize.
+ * @length: a guint as the new length.
+ *
+ * Resizes an #AgsAudioSignal's stream but be carefull with shrinking.
+ * This function may crash the application.
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_signal_stream_resize(AgsAudioSignal *audio_signal, guint length)
+{
+ guint i;
+
+ if(audio_signal->length < length){
+ GList *stream, *end_old;
+ signed short *buffer;
+
+ stream = NULL;
+
+ for(i = audio_signal->length; i < length; i++){
+ buffer = ags_stream_alloc(audio_signal->buffer_size);
+
+ stream = g_list_prepend(stream,
+ buffer);
+ }
+
+ stream = g_list_reverse(stream);
+
+ if(audio_signal->stream_end != NULL){
+ end_old = audio_signal->stream_end;
+ audio_signal->stream_end = g_list_last(stream);
+
+ stream->prev = end_old;
+ end_old->next = stream;
+ }else{
+ audio_signal->stream_beginning = stream;
+ audio_signal->stream_end = g_list_last(stream);
+ audio_signal->stream_current = stream;
+ }
+ }else if(audio_signal->length > length){
+ GList *stream, *stream_end, *stream_next;
+ gboolean check_current;
+
+ stream = audio_signal->stream_beginning;
+ check_current = TRUE;
+
+ for(i = 0; i < length; i++){
+ if(check_current && stream == audio_signal->stream_current){
+ audio_signal->stream_current = NULL;
+ check_current = FALSE;
+ }
+
+ stream = stream->next;
+ }
+
+ if(length != 0){
+ stream_end = stream->prev;
+ stream_end->next = NULL;
+ audio_signal->stream_end = stream_end;
+ }else{
+ audio_signal->stream_beginning = NULL;
+ audio_signal->stream_current = NULL;
+ audio_signal->stream_end = NULL;
+ }
+
+ stream->prev = NULL;
+ g_list_free_full(stream,
+ g_free);
+ }
+
+ audio_signal->length = length;
+}
+
+/**
+ * ags_audio_signal_stream_safe_resize:
+ * @audio_signal: an #AgsAudioSignal
+ * @length: a guint
+ *
+ * Resizes an #AgsAudioSignal's stream but doesn't shrink more than the
+ * current stream position.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_signal_stream_safe_resize(AgsAudioSignal *audio_signal, guint length)
+{
+ guint length_till_current;
+
+ length_till_current = ags_audio_signal_get_length_till_current(audio_signal);
+
+ if(length_till_current < length){
+ ags_audio_signal_stream_resize(audio_signal,
+ length);
+ }else{
+ ags_audio_signal_stream_resize(audio_signal,
+ length_till_current);
+ }
+}
+
+void
+ags_audio_signal_real_realloc_buffer_size(AgsAudioSignal *audio_signal, guint buffer_size)
+{
+ GList *current, *old;
+ guint old_buffer_size;
+ guint counter;
+ guint i_old, i_current;
+
+ old = audio_signal->stream_beginning;
+ old_buffer_size = audio_signal->buffer_size;
+
+ current = NULL;
+ current = g_list_prepend(current,
+ ags_stream_alloc(buffer_size));
+ counter = 0;
+
+ i_old = 0;
+ i_current = 0;
+
+ while(old != NULL){
+ ((signed short *) current->data)[i_current] = ((signed short *) old->data)[i_old];
+
+ if(i_current == buffer_size){
+ current = g_list_prepend(current,
+ ags_stream_alloc(buffer_size));
+
+ i_current = 0;
+
+ counter++;
+ }
+
+ if(i_old == old_buffer_size){
+ old = old->next;
+
+ i_old = 0;
+ }
+
+ i_current++;
+ i_old++;
+ }
+
+ memset(((signed short *) current->data), 0, (buffer_size - i_current) * sizeof(signed short));
+
+ /* */
+ audio_signal->length = counter;
+ audio_signal->last_frame = i_current;
+
+ audio_signal->stream_end = current;
+ audio_signal->stream_beginning = g_list_reverse(current);
+}
+
+/**
+ * ags_audio_signal_realloc_buffer_size:
+ * @audio_signal: an #AgsAudioSignal
+ * @buffer_size: the buffer size
+ *
+ * Realloc the stream to the new buffer size.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_signal_realloc_buffer_size(AgsAudioSignal *audio_signal, guint buffer_size)
+{
+ g_return_if_fail(AGS_IS_AUDIO_SIGNAL(audio_signal));
+ g_object_ref(G_OBJECT(audio_signal));
+ g_signal_emit(G_OBJECT(audio_signal),
+ audio_signal_signals[REALLOC_BUFFER_SIZE], 0,
+ buffer_size);
+ g_object_unref(G_OBJECT(audio_signal));
+}
+
+void
+ags_audio_signal_real_morph_samplerate(AgsAudioSignal *audio_signal, guint samplerate, double k_morph)
+{
+ GList *current, *old, *tmp;
+ guint old_samplerate;
+ guint counter;
+ guint i_old, i_current;
+ guint j_old, j_current;
+ double k_old, k_current;
+ guint frame;
+ double factor, value, preview;
+
+ old = audio_signal->stream_beginning;
+ old_samplerate = audio_signal->samplerate;
+
+ current = NULL;
+ current = g_list_prepend(current,
+ ags_stream_alloc(audio_signal->buffer_size));
+ counter = 0;
+
+ i_old = 0;
+ i_current = 0;
+
+ factor = samplerate / old_samplerate;
+
+ if(k_morph == 0.0){
+ k_morph = (samplerate < old_samplerate) ? 2.0 * factor: 0.5 * factor;
+ }
+
+ while(old != NULL){
+ value = (double) (((signed short *) old->data)[i_old]);
+
+ for(j_old = 0, j_current = 0; (((samplerate < old_samplerate) && (j_old < ceil(1.0 / factor))) ||
+ (j_current < ceil(factor))); j_old++, j_current++){
+ preview = 0.0;
+
+ for(frame = 0; frame < ceil(factor); frame++){
+ // preview += ;
+ }
+
+ for(frame = 0; frame < ceil(factor); frame++){
+ // preview += ;
+ }
+
+ for(k_old = 0.0, k_current = 0.0; (((k_morph < 1.0) && (k_old < ceil(1.0 / k_morph))) ||
+ (k_current < ceil(k_morph))); k_old++, k_current++){
+ // value = value * ( / );
+ }
+ }
+
+ ((signed short *) current->data)[i_current] = value;
+
+ if(i_current == samplerate){
+ current = g_list_prepend(current,
+ ags_stream_alloc(audio_signal->buffer_size));
+
+ i_current = 0;
+
+ counter++;
+ }
+
+ if(i_old == old_samplerate){
+ old = old->next;
+
+ i_old = 0;
+ }
+
+ i_current++;
+ i_old++;
+ }
+
+ /* */
+ audio_signal->length = counter;
+ audio_signal->last_frame = i_current;
+
+ audio_signal->stream_end = current;
+ audio_signal->stream_beginning = g_list_reverse(current);
+}
+
+/**
+ * ags_audio_signal_morph_samplerate:
+ * @audio_signal: an #AgsAudioSignal
+ * @samplerate: the new samplerate
+ * @k_morph: reserved for future usage
+ *
+ * Morph audio quality to new samplerate.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_signal_morph_samplerate(AgsAudioSignal *audio_signal, guint samplerate, double k_morph)
+{
+ g_return_if_fail(AGS_IS_AUDIO_SIGNAL(audio_signal));
+ g_object_ref(G_OBJECT(audio_signal));
+ g_signal_emit(G_OBJECT(audio_signal),
+ audio_signal_signals[MORPH_SAMPLERATE], 0,
+ samplerate, k_morph);
+ g_object_unref(G_OBJECT(audio_signal));
+}
+
+/**
+ * ags_audio_signal_copy_buffer_to_buffer:
+ * @destination: destination buffer
+ * @dchannels: destination audio channels
+ * @source: source buffer
+ * @schannels: source audio channels
+ * @size: frame count to copy
+ *
+ * Copy a buffer to an other buffer.
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_signal_copy_buffer_to_buffer(signed short *destination, guint dchannels, signed short *source, guint schannels, guint size)
+{
+ for(; 0<size; --size){
+ *destination += *source;
+
+ destination += dchannels;
+ source += schannels;
+ }
+}
+
+/**
+ * ags_audio_signal_copy_buffer_to_double_buffer:
+ * @destination: destination buffer
+ * @dchannels: destination audio channels
+ * @source: source buffer
+ * @schannels: source audio channels
+ * @size: frame count to copy
+ *
+ * Copy a buffer to an other buffer.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_signal_copy_buffer_to_double_buffer(double *destination, guint dchannels,
+ signed short *source, guint schannels,
+ guint size)
+{
+ for(; 0<size; --size){
+ *destination += *source;
+
+ destination += dchannels;
+ source += schannels;
+ }
+}
+
+/**
+ * ags_audio_signal_copy_double_buffer_to_buffer:
+ * @destination: destination buffer
+ * @dchannels: destination audio channels
+ * @source: source buffer
+ * @schannels: source audio channels
+ * @size: frame count to copy
+ *
+ * Copy a buffer to an other buffer.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_signal_copy_double_buffer_to_buffer(signed short *destination, guint dchannels,
+ double *source, guint schannels,
+ guint size)
+{
+ for(; 0<size; --size){
+ *destination += *source;
+
+ destination += dchannels;
+ source += schannels;
+ }
+}
+
+/**
+ * ags_audio_signal_duplicate_stream:
+ * @audio_signal: destination #AgsAudioSignal
+ * @template: source #AgsAudioSignal
+ *
+ * Copy stream of one audio signal to another
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_signal_duplicate_stream(AgsAudioSignal *audio_signal,
+ AgsAudioSignal *template)
+{
+ if(template == NULL){
+ if(audio_signal == NULL){
+ return;
+ }else{
+ ags_audio_signal_stream_resize(audio_signal,
+ 0);
+ return;
+ }
+ }
+
+ if(template->stream_beginning == NULL){
+ ags_audio_signal_stream_resize(audio_signal,
+ 0);
+ }else{
+ // AgsDevout *devout;
+ GList *template_stream, *stream;
+ // guint i, j, j_offcut;
+ // guint k, template_k;
+
+ audio_signal->buffer_size = template->buffer_size;
+ ags_audio_signal_stream_resize(audio_signal,
+ template->length);
+
+ stream = audio_signal->stream_beginning;
+ template_stream = template->stream_beginning;
+
+ // k = 0;
+ // template_k = 0;
+
+ //TODO:JK: enhance me
+ while(template_stream != NULL){
+ ags_audio_signal_copy_buffer_to_buffer(stream->data, 1,
+ template_stream->data, 1,
+ template->buffer_size);
+
+ stream = stream->next;
+ template_stream = template_stream->next;
+ }
+ }
+}
+
+/**
+ * ags_audio_signal_get_template:
+ * @audio_signal: a #GList containing #AgsAudioSignal
+ *
+ * Retrieve the template audio signal.
+ *
+ * Returns: the template #AgsAudioSignal
+ *
+ * Since: 0.3
+ */
+AgsAudioSignal*
+ags_audio_signal_get_template(GList *audio_signal)
+{
+ GList *list;
+
+ list = audio_signal;
+
+ while(list != NULL){
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (AGS_AUDIO_SIGNAL(list->data)->flags)) != 0)
+ return((AgsAudioSignal *) list->data);
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_audio_signal_get_stream_current:
+ * @audio_signal: a #GList containing #AgsAudioSignal
+ * @recall_id: the matching #AgsRecallID
+ *
+ * Retrieve next current stream of #AgsAudioSignal list.
+ *
+ * Returns: next #GList matching #AgsRecallID
+ *
+ * Since: 0.4
+ */
+GList*
+ags_audio_signal_get_stream_current(GList *list_audio_signal,
+ GObject *recall_id)
+{
+ AgsAudioSignal *audio_signal;
+ GList *list;
+
+ list = list_audio_signal;
+
+ while(list != NULL){
+ audio_signal = AGS_AUDIO_SIGNAL(list->data);
+
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (audio_signal->flags)) != 0){
+ list = list->next;
+ continue;
+ }
+
+ if(audio_signal->stream_current != NULL && audio_signal->recall_id == recall_id)
+ return(list);
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_audio_signal_get_by_recall_id:
+ * @audio_signal: a #GList containing #AgsAudioSignal
+ * @recall_id: matching #AgsRecallID
+ *
+ * Retrieve next audio signal refering to @recall_id
+ *
+ * Returns: matching #AgsAudioSignal
+ *
+ * Since: 0.3
+ */
+GList*
+ags_audio_signal_get_by_recall_id(GList *list_audio_signal,
+ GObject *recall_id)
+{
+ AgsAudioSignal *audio_signal;
+ GList *list;
+
+ list = list_audio_signal;
+
+ while(list != NULL){
+ audio_signal = AGS_AUDIO_SIGNAL(list->data);
+
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (audio_signal->flags)) != 0){
+ list = list->next;
+ continue;
+ }
+
+ if(audio_signal->recall_id == recall_id)
+ return(list);
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_audio_signal_tile:
+ * @audio_signal: an #AgsAudioSignal
+ * @template: the source #AgsAudioSignal
+ * @frame_count: new frame count
+ *
+ * Tile audio signal data.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_signal_tile(AgsAudioSignal *audio_signal,
+ AgsAudioSignal *template,
+ guint frame_count)
+{
+ AgsDevout *devout;
+ GList *template_stream, *audio_signal_stream, *audio_signal_stream_end;
+ signed short *template_buffer, *audio_signal_buffer;
+ guint template_size;
+ guint remaining_size;
+ guint i, j, j_offcut;
+ guint k, k_end;
+ gboolean alloc_buffer;
+
+ devout = AGS_DEVOUT(audio_signal->devout);
+
+ audio_signal_stream = NULL;
+ template_stream = template->stream_beginning;
+
+ if(template_stream == NULL){
+ return;
+ }
+
+ template_size = (guint) (template->delay * template->buffer_size) +
+ template->length * template->buffer_size +
+ template->last_frame;
+
+ j = 0;
+ k = 0;
+
+ if(template->buffer_size > audio_signal->buffer_size){
+ k_end = audio_signal->buffer_size;
+ }else if(template->buffer_size == audio_signal->buffer_size){
+ k_end = audio_signal->buffer_size;
+ }else{
+ k_end = template->buffer_size;
+ }
+
+ j_offcut = 0;
+ alloc_buffer = TRUE;
+
+ /* write buffers */
+ for(i = 0; i < frame_count - template->buffer_size; i += audio_signal->buffer_size){
+ /* alloc buffer and prepend */
+ if(alloc_buffer){
+ audio_signal_buffer = ags_stream_alloc(audio_signal->buffer_size);
+ audio_signal_stream = g_list_prepend(audio_signal_stream,
+ audio_signal_buffer);
+ }
+
+ /* get template buffer */
+ template_buffer = (signed short *) template_stream->data;
+
+ /* allocate and copy buffer */
+ if(template_size < audio_signal->buffer_size){
+ /* copy buffer */
+ ags_audio_signal_copy_buffer_to_buffer(audio_signal_buffer, 1,
+ &(template_buffer[j_offcut]), 1, template_size - j_offcut);
+
+ for(j = template_size - j_offcut; j < audio_signal->buffer_size - template_size; j += template_size){
+ ags_audio_signal_copy_buffer_to_buffer(&(audio_signal_buffer[j]), 1,
+ template_buffer, 1, template_size);
+ }
+
+ j_offcut = audio_signal->buffer_size - j;
+ ags_audio_signal_copy_buffer_to_buffer(&(audio_signal_buffer[j]), 1,
+ template_buffer, 1, j_offcut);
+ }else{
+ /* deep copy */
+ ags_audio_signal_copy_buffer_to_buffer(audio_signal_buffer[j], 1,
+ &(template_buffer[j_offcut]), 1, k_end - j_offcut);
+ k += (k_end - j_offcut);
+
+ /* iterate template stream */
+ if(k_end + j_offcut == template->buffer_size){
+ if(template_stream->next != NULL){
+ template_stream = template_stream->next;
+ }else{
+ template_stream = template->stream_beginning;
+ }
+ }
+
+ /* copy parameters */
+ j = k % audio_signal->buffer_size;
+
+ if(template->buffer_size < audio_signal->buffer_size){
+ j_offcut = k % template->buffer_size;
+ }else if(template->buffer_size == audio_signal->buffer_size){
+ j_offcut = k % audio_signal->buffer_size;
+ }else{
+ j_offcut = k % audio_signal->buffer_size;
+ }
+
+ k_end = template->buffer_size - j_offcut;
+
+ /* alloc audio signal */
+ if(j == 0){
+ alloc_buffer = TRUE;
+ }else{
+ alloc_buffer = FALSE;
+ }
+ }
+ }
+
+ /* write remaining buffer */
+ remaining_size = frame_count - (i * audio_signal->buffer_size);
+
+ if(remaining_size > k_end - j_offcut){
+ ags_audio_signal_copy_buffer_to_buffer(audio_signal_buffer[j], 1,
+ &(template_buffer[j_offcut]), 1, k_end - j_offcut);
+
+ if(k_end + j_offcut == template->buffer_size){
+ if(template_stream->next != NULL){
+ template_stream = template_stream->next;
+ }else{
+ template_stream = template->stream_beginning;
+ }
+ }
+
+ ags_audio_signal_copy_buffer_to_buffer(audio_signal_buffer[j], 1,
+ &(template_buffer[j_offcut]), 1, remaining_size - (k_end - j_offcut));
+ }else{
+ ags_audio_signal_copy_buffer_to_buffer(audio_signal_buffer[j], 1,
+ &(template_buffer[j_offcut]), 1, remaining_size);
+ }
+
+ /* reverse list */
+ audio_signal_stream_end = audio_signal_stream;
+ audio_signal_stream = g_list_reverse(audio_signal_stream);
+
+ if(audio_signal->stream_beginning != NULL){
+ ags_list_free_and_free_link(audio_signal->stream_beginning);
+ }
+
+ audio_signal->stream_beginning = audio_signal_stream;
+ // audio_signal->stream_current = audio_signal_stream;
+ audio_signal->stream_end = audio_signal_stream_end;
+}
+
+/**
+ * ags_audio_signal_scale:
+ * @audio_signal: an #AgsAudioSignal
+ * @template: the source #AgsAudioSignal
+ * @length: new frame count
+ *
+ * Scale audio signal data.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_signal_scale(AgsAudioSignal *audio_signal,
+ AgsAudioSignal *template,
+ guint length)
+{
+ GList *source, *destination, *stream_template;
+ gpointer data;
+ double scale_factor, morph_factor;
+ guint offset;
+ double step;
+ guint i, j, j_stop;
+ guint k, template_k;
+ gboolean expand;
+
+ auto void ags_audio_signal_scale_copy_8_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution);
+ auto void ags_audio_signal_scale_copy_16_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution);
+ auto void ags_audio_signal_scale_copy_24_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution);
+ auto void ags_audio_signal_scale_copy_32_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution);
+ auto void ags_audio_signal_scale_copy_64_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution);
+
+ void ags_audio_signal_scale_copy_8_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution){
+ gint8 *sbuffer;
+
+ sbuffer = (gint8 *) source->data;
+
+ switch(dresolution){
+ case AGS_DEVOUT_RESOLUTION_8_BIT:
+ {
+ gint8 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint8 *) destination->data;
+
+ scale = 1.0;
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_16_BIT:
+ {
+ gint16 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint16 *) destination->data;
+
+ scale = exp2(8.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_24_BIT:
+ {
+ unsigned char *dbuffer;
+ gint16 value;
+ gdouble scale;
+ gint16 mask;
+
+ dbuffer = (unsigned char *) destination->data;
+
+ scale = exp2(16.0);
+
+ value = scale * sbuffer[soffset];
+ mask = 0xff;
+
+ dbuffer[doffset * 3] = mask & value;
+ dbuffer[doffset * 3 + 1] = (mask << 8) & value;
+
+ if(sbuffer[soffset] < 0){
+ dbuffer[doffset * 3 + 1] &= (~0x80);
+ dbuffer[doffset * 3 + 2] = 0x80;
+ }else{
+ dbuffer[doffset * 3 + 2] = 0;
+ }
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_32_BIT:
+ {
+ gint32 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint32 *) destination->data;
+
+ scale = exp2(24.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_64_BIT:
+ {
+ gint64 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint64 *) destination->data;
+
+ scale = exp2(56.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ }
+ }
+ void ags_audio_signal_scale_copy_16_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution){
+ gint16 *sbuffer;
+
+ sbuffer = (gint16 *) source->data;
+
+ switch(dresolution){
+ case AGS_DEVOUT_RESOLUTION_8_BIT:
+ {
+ gint8 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint8 *) destination->data;
+
+ scale = exp2(1.0 / 8.0);
+
+ dbuffer[doffset] = (gint8) floor(scale * sbuffer[soffset]);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_16_BIT:
+ {
+ gint16 *dbuffer;
+
+ dbuffer = (gint16 *) destination->data;
+
+ dbuffer[doffset] = sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_24_BIT:
+ {
+ unsigned char *dbuffer;
+ gint32 value;
+ gdouble scale;
+ gint32 mask;
+
+ dbuffer = (unsigned char *) destination->data;
+
+ scale = exp2(8.0);
+ mask = 0xff;
+
+ value = scale * sbuffer[soffset];
+
+ dbuffer[doffset * 3] = mask & value;
+ dbuffer[doffset * 3 + 1] = (mask << 8) & value;
+ dbuffer[doffset * 3 + 2] = (mask << 16) & value;
+
+ if(sbuffer[soffset] < 0){
+ dbuffer[doffset * 3 + 2] |= 0x80;
+ }
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_32_BIT:
+ {
+ gint32 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint32 *) destination->data;
+
+ scale = exp2(16.0);
+
+ dbuffer[doffset] = sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_64_BIT:
+ {
+ gint64 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint64 *) destination->data;
+
+ scale = exp2(48.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ }
+ }
+ void ags_audio_signal_scale_copy_24_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution){
+ unsigned char *sbuffer;
+
+ sbuffer = (char *) source->data;
+
+ switch(dresolution){
+ case AGS_DEVOUT_RESOLUTION_8_BIT:
+ {
+ gint8 *dbuffer;
+ gdouble scale;
+ gint16 *mask;
+
+ dbuffer = (gint8 *) destination->data;
+
+ scale = exp2(1.0 / 16.0);
+
+ dbuffer[doffset] = (gint8) round(scale * (double) sbuffer[soffset]);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_16_BIT:
+ {
+ gint16 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint16 *) destination->data;
+
+ scale = exp2(1.0 / 8.0);
+
+ dbuffer[doffset] = (gint16) round(scale * (double) sbuffer[soffset]);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_24_BIT:
+ {
+ unsigned char *dbuffer;
+ gint16 mask;
+
+ dbuffer = (unsigned char *) destination->data;
+
+ dbuffer[doffset * 3] = sbuffer[soffset * 3];
+ dbuffer[doffset * 3 + 1] = sbuffer[soffset * 3 + 1];
+ dbuffer[doffset * 3 + 2] = sbuffer[soffset * 3 + 2];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_32_BIT:
+ {
+ gint32 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint32 *) destination->data;
+
+ scale = exp2(8.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_64_BIT:
+ {
+ gint64 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint64 *) destination->data;
+
+ scale = exp2(40.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ }
+ }
+ void ags_audio_signal_scale_copy_32_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution){
+ gint32 *sbuffer;
+
+ sbuffer = (gint32 *) source->data;
+
+ switch(dresolution){
+ case AGS_DEVOUT_RESOLUTION_8_BIT:
+ {
+ gint8 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint8 *) destination->data;
+
+ scale = exp2(1.0 / 24.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_16_BIT:
+ {
+ gint16 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint16 *) destination->data;
+
+ scale = exp2(1.0 / 16.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_24_BIT:
+ {
+ unsigned char *dbuffer;
+ gint32 value;
+ gdouble scale;
+ gint32 mask;
+
+ dbuffer = (unsigned char *) destination->data;
+
+ scale = exp2(1.0 / 8.0);
+ mask = 0xff;
+
+ value = scale * sbuffer[soffset];
+
+ dbuffer[doffset * 3] = mask & value;
+ dbuffer[doffset * 3 + 1] = (mask << 8) & value;
+ dbuffer[doffset * 3 + 2] = (mask << 16) & value;
+
+ if(sbuffer[soffset] < 0){
+ dbuffer[doffset * 3 + 2] |= 0x80;
+ }
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_32_BIT:
+ {
+ gint32 *dbuffer;
+
+ dbuffer = (gint32 *) destination->data;
+
+ dbuffer[doffset] = sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_64_BIT:
+ {
+ gint64 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint64 *) destination->data;
+
+ scale = exp2(32.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ }
+ }
+ void ags_audio_signal_scale_copy_64_bit(GList *source, GList *destination,
+ guint soffset, guint doffset,
+ guint dresolution){
+ gint64 *sbuffer;
+
+ sbuffer = (gint64 *) source->data;
+
+ switch(dresolution){
+ case AGS_DEVOUT_RESOLUTION_8_BIT:
+ {
+ gint8 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint8 *) destination->data;
+
+ scale = exp2(1 / 56.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_16_BIT:
+ {
+ gint16 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint16 *) destination->data;
+
+ scale = exp2(1 / 48.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_24_BIT:
+ {
+ unsigned char *dbuffer;
+ gint32 value;
+ gdouble scale;
+ gint32 mask;
+
+ dbuffer = (unsigned char *) destination->data;
+
+ scale = exp2(1.0 / 40.0);
+ mask = 0xff;
+
+ value = scale * sbuffer[soffset];
+
+ dbuffer[doffset * 3] = mask & value;
+ dbuffer[doffset * 3 + 1] = (mask << 8) & value;
+ dbuffer[doffset * 3 + 2] = (mask << 16) & value;
+
+ if(sbuffer[soffset] < 0){
+ dbuffer[doffset * 3 + 2] |= 0x80;
+ }
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_32_BIT:
+ {
+ gint32 *dbuffer;
+ gdouble scale;
+
+ dbuffer = (gint32 *) destination->data;
+
+ scale = exp2(1 / 32.0);
+
+ dbuffer[doffset] = scale * sbuffer[soffset];
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_64_BIT:
+ {
+ gint64 *dbuffer;
+
+ dbuffer = (gint64 *) destination->data;
+
+ dbuffer[doffset] = sbuffer[soffset];
+ }
+ break;
+ }
+ }
+
+ source = template->stream_beginning;
+
+ if(template->samplerate < audio_signal->samplerate){
+ expand = TRUE;
+ }else{
+ expand = FALSE;
+ }
+
+ scale_factor = 1.0 / template->length * length;
+ morph_factor = 1.0 / template->resolution * audio_signal->resolution;
+
+ /* prepare destination */
+ ags_audio_signal_stream_resize(audio_signal, length);
+
+ /* create audio data */
+ //TODO:JK: fix me
+ j_stop = audio_signal->resolution; // lcm(audio_signal->resolution, template->resolution);
+
+ stream_template = NULL;
+
+ offset = 0;
+ step = 0.0;
+
+ for(i = 0; i < template->length; i++){
+ for(; j < j_stop; j++){
+
+ if(offset == audio_signal->buffer_size && step >= morph_factor){
+ break;
+ }
+
+ if(offset == 0){
+ if(expand){
+ data = (gpointer) malloc(sizeof(audio_signal->buffer_size * morph_factor));
+ }else{
+ data = (gpointer) malloc(sizeof(audio_signal->buffer_size / morph_factor));
+ }
+
+ stream_template = g_list_prepend(stream_template,
+ data);
+
+ destination = stream_template;
+ }
+
+ switch(template->resolution){
+ case AGS_DEVOUT_RESOLUTION_8_BIT:
+ {
+ ags_audio_signal_scale_copy_8_bit(destination, source,
+ j, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_16_BIT:
+ {
+ ags_audio_signal_scale_copy_16_bit(destination, source,
+ j, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_24_BIT:
+ {
+ ags_audio_signal_scale_copy_24_bit(destination, source,
+ j, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_32_BIT:
+ {
+ ags_audio_signal_scale_copy_32_bit(destination, source,
+ j, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_64_BIT:
+ {
+ ags_audio_signal_scale_copy_64_bit(destination, source,
+ j, offset,
+ audio_signal->resolution);
+ }
+ break;
+ }
+
+ step += (1 / morph_factor);
+
+ if(step >= morph_factor){
+ step = 0.0;
+ offset++;
+ }
+ }
+
+
+ if(j == j_stop){
+ j = 0;
+ }
+
+ if(offset == template->buffer_size && step == 0.0){
+ offset = 0;
+ source = source->next;
+ }
+ }
+
+ stream_template = g_list_reverse(stream_template);
+
+ /* morph */
+ //TODO:JK: implement me
+
+ /* scale */
+ source = stream_template;
+ destination = audio_signal->stream_beginning;
+
+ offset = 0;
+ k = 0;
+ template_k = 0;
+
+ while(destination != NULL){
+ for(i = 0;
+ i < audio_signal->buffer_size &&
+ k < audio_signal->buffer_size &&
+ template_k < template->buffer_size;
+ i++, k++, template_k++){
+
+ switch(audio_signal->resolution){
+ case AGS_DEVOUT_RESOLUTION_8_BIT:
+ {
+ ags_audio_signal_scale_copy_8_bit(destination, source,
+ i, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_16_BIT:
+ {
+ ags_audio_signal_scale_copy_16_bit(destination, source,
+ i, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_24_BIT:
+ {
+ ags_audio_signal_scale_copy_24_bit(destination, source,
+ i, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_32_BIT:
+ {
+ ags_audio_signal_scale_copy_32_bit(destination, source,
+ i, offset,
+ audio_signal->resolution);
+ }
+ break;
+ case AGS_DEVOUT_RESOLUTION_64_BIT:
+ {
+ ags_audio_signal_scale_copy_64_bit(destination, source,
+ i, offset,
+ audio_signal->resolution);
+ }
+ break;
+ }
+
+ offset = (guint) floor(morph_factor * (double) i);
+ }
+
+ if(k == audio_signal->buffer_size){
+ destination = destination->next;
+ }
+
+ if(template_k == template->buffer_size){
+ source = source->next;
+ }
+ }
+}
+
+/**
+ * ags_audio_signal_new:
+ * @devout: the assigned #AgsDevout
+ * @recycling: the #AgsRecycling
+ * @recall_id: the #AgsRecallID, it can be NULL if %AGS_AUDIO_SIGNAL_TEMPLATE is set
+ *
+ * Creates a #AgsAudioSignal, with defaults of @devout, linking @recycling tree
+ * and refering to @recall_id.
+ *
+ * Returns: a new #AgsAudioSignal
+ *
+ * Since: 0.3
+ */
+AgsAudioSignal*
+ags_audio_signal_new(GObject *devout,
+ GObject *recycling,
+ GObject *recall_id)
+{
+ AgsAudioSignal *audio_signal;
+
+ audio_signal = (AgsAudioSignal *) g_object_new(AGS_TYPE_AUDIO_SIGNAL,
+ "devout\0", devout,
+ "recycling\0", recycling,
+ "recall-id\0", recall_id,
+ NULL);
+
+ return(audio_signal);
+}
+
+/**
+ * ags_audio_signal_new_with_length:
+ * @devout: the assigned #AgsDevout
+ * @recycling: the #AgsRecycling
+ * @recall_id: the #AgsRecallID, it can be NULL if %AGS_AUDIO_SIGNAL_TEMPLATE is set
+ * @length: audio data frame count
+ *
+ * Creates a #AgsAudioSignal, with defaults of @devout, linking @recycling tree
+ * and refering to @recall_id.
+ * The audio data is tiled to @length frame count.
+ *
+ * Returns: a new #AgsAudioSignal
+ *
+ * Since: 0.4
+ */
+AgsAudioSignal*
+ags_audio_signal_new_with_length(GObject *devout,
+ GObject *recycling,
+ GObject *recall_id,
+ guint length)
+{
+ AgsAudioSignal *audio_signal, *template;
+
+ audio_signal = (AgsAudioSignal *) g_object_new(AGS_TYPE_AUDIO_SIGNAL,
+ "devout\0", devout,
+ "recycling\0", recycling,
+ "recall-id\0", recall_id,
+ NULL);
+
+ template = ags_audio_signal_get_template(AGS_RECYCLING(recycling)->audio_signal);
+
+ if(template != NULL){
+ ags_audio_signal_tile(audio_signal,
+ template,
+ length);
+ }
+
+ return(audio_signal);
+}
diff --git a/src/ags/audio/ags_audio_signal.h b/src/ags/audio/ags_audio_signal.h
new file mode 100644
index 0000000..0cf32d5
--- /dev/null
+++ b/src/ags/audio/ags_audio_signal.h
@@ -0,0 +1,136 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_SIGNAL_H__
+#define __AGS_AUDIO_SIGNAL_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_AUDIO_SIGNAL (ags_audio_signal_get_type())
+#define AGS_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_SIGNAL, AgsAudioSignal))
+#define AGS_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_SIGNAL, AgsAudioSignalClass))
+#define AGS_IS_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_SIGNAL))
+#define AGS_IS_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_SIGNAL))
+#define AGS_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_AUDIO_SIGNAL, AgsAudioSignalClass))
+
+typedef struct _AgsAudioSignal AgsAudioSignal;
+typedef struct _AgsAudioSignalClass AgsAudioSignalClass;
+typedef struct _AgsAttack AgsAttack;
+
+typedef enum{
+ AGS_AUDIO_SIGNAL_TEMPLATE = 1,
+ AGS_AUDIO_SIGNAL_PLAY_DONE = 1 << 1,
+ AGS_AUDIO_SIGNAL_STANDALONE = 1 << 2,
+}AgsAudioSignalFlags;
+
+typedef enum{
+ AGS_ATTACK_INITIAL_RUN = 1,
+ AGS_ATTACK_SWAP = 1 << 1,
+}AgsAttackFlags;
+
+struct _AgsAudioSignal
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+
+ GObject *recycling;
+ GObject *recall_id; // AGS_TYPE_RECALL_ID to identify the AgsAudioSignal
+
+ guint samplerate;
+ guint buffer_size;
+ guint resolution;
+
+ guint length;
+ guint last_frame; // the last frame at stream_end
+ guint loop_start;
+ guint loop_end;
+
+ gdouble delay;
+ guint attack;
+
+ guint lock_attack;
+
+ GList *stream_beginning;
+ GList *stream_current;
+ GList *stream_end;
+};
+
+struct _AgsAudioSignalClass
+{
+ GObjectClass object;
+
+ void (*realloc_buffer_size)(AgsAudioSignal *audio_signal, guint buffer_size);
+ void (*morph_samplerate)(AgsAudioSignal *audio_signal, guint samplerate, double k_morph);
+};
+
+GType ags_audio_signal_get_type();
+
+signed short* ags_stream_alloc(guint buffer_size);
+
+guint ags_audio_signal_get_length_till_current(AgsAudioSignal *audio_signal);
+
+void ags_audio_signal_add_stream(AgsAudioSignal *audio_signal);
+void ags_audio_signal_stream_resize(AgsAudioSignal *audio_signal, guint length);
+void ags_audio_signal_stream_safe_resize(AgsAudioSignal *audio_signal, guint length);
+
+void ags_audio_signal_realloc_buffer_size(AgsAudioSignal *audio_signal, guint buffer_size);
+void ags_audio_signal_morph_samplerate(AgsAudioSignal *audio_signal, guint samplerate, double k_morph);
+
+void ags_audio_signal_copy_buffer_to_buffer(signed short *destination, guint dchannels,
+ signed short *source, guint schannels, guint size);
+// __attribute__ ((hot))
+// __attribute__ ((fastcall));
+void ags_audio_signal_copy_buffer_to_double_buffer(double *destination, guint dchannels,
+ signed short *source, guint schannels, guint size);
+// __attribute__ ((hot))
+// __attribute__ ((fastcall));
+void ags_audio_signal_copy_double_buffer_to_buffer(signed short *destination, guint dchannels,
+ double *source, guint schannels, guint size);
+// __attribute__ ((hot))
+// __attribute__ ((fastcall));
+
+void ags_audio_signal_duplicate_stream(AgsAudioSignal *audio_signal,
+ AgsAudioSignal *template);
+
+//TODO:JK: rename these functions name it rather find than get
+AgsAudioSignal* ags_audio_signal_get_template(GList *audio_signal);
+GList* ags_audio_signal_get_stream_current(GList *audio_signal,
+ GObject *recall_id);
+GList* ags_audio_signal_get_by_recall_id(GList *audio_signal,
+ GObject *recall_id);
+
+void ags_audio_signal_tile(AgsAudioSignal *audio_signal,
+ AgsAudioSignal *template,
+ guint length);
+void ags_audio_signal_scale(AgsAudioSignal *audio_signal,
+ AgsAudioSignal *template,
+ guint length);
+
+AgsAudioSignal* ags_audio_signal_new(GObject *devout,
+ GObject *recycling,
+ GObject *recall_id);
+
+AgsAudioSignal* ags_audio_signal_new_with_length(GObject *devout,
+ GObject *recycling,
+ GObject *recall_id,
+ guint length);
+
+#endif /*__AGS_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/ags_automation.c b/src/ags/audio/ags_automation.c
new file mode 100644
index 0000000..a097400
--- /dev/null
+++ b/src/ags/audio/ags_automation.c
@@ -0,0 +1,534 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_automation.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_tactable.h>
+#include <ags/object/ags_portlet.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_timestamp.h>
+
+#include <stdlib.h>
+#include <errno.h>
+
+void ags_automation_class_init(AgsAutomationClass *automation);
+void ags_automation_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_automation_portlet_interface_init(AgsPortletInterface *portlet);
+void ags_automation_init(AgsAutomation *automation);
+void ags_automation_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_automation_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_automation_connect(AgsConnectable *connectable);
+void ags_automation_disconnect(AgsConnectable *connectable);
+void ags_automation_finalize(GObject *object);
+
+void ags_automation_set_port(AgsPortlet *portlet, AgsPort *port);
+AgsPort* ags_automation_get_port(AgsPortlet *portlet);
+GList* ags_automation_list_safe_properties(AgsPortlet *portlet);
+void ags_automation_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+void ags_automation_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+
+/**
+ * SECTION:ags_automation
+ * @short_description: Automation class supporting selection and clipboard.
+ * @title: AgsAutomation
+ * @section_id:
+ * @include: ags/audio/ags_automation.h
+ *
+ * #AgsAutomation acts as a container of #AgsNote.
+ */
+
+#define AGS_AUTOMATION_CLIPBOARD_VERSION "0.4.3\0"
+#define AGS_AUTOMATION_CLIPBOARD_TYPE "AgsAutomationClipboardXml\0"
+#define AGS_AUTOMATION_CLIPBOARD_FORMAT "AgsAutomationNativePiano\0"
+
+enum{
+ PROP_0,
+ PROP_PORT,
+ PROP_CURRENT_ACCELERATIONS,
+ PROP_NEXT_ACCELERATIONS,
+};
+
+static gpointer ags_automation_parent_class = NULL;
+
+GType
+ags_automation_get_type()
+{
+ static GType ags_type_automation = 0;
+
+ if(!ags_type_automation){
+ static const GTypeInfo ags_automation_info = {
+ sizeof(AgsAutomationClass),
+ NULL,
+ NULL,
+ (GClassInitFunc) ags_automation_class_init,
+ NULL,
+ NULL,
+ sizeof(AgsAutomation),
+ 0,
+ (GInstanceInitFunc) ags_automation_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_automation_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_portlet_interface_info = {
+ (GInterfaceInitFunc) ags_automation_portlet_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_automation = g_type_register_static(G_TYPE_OBJECT,
+ "AgsAutomation\0",
+ &ags_automation_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_automation,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_automation,
+ AGS_TYPE_PORTLET,
+ &ags_portlet_interface_info);
+ }
+
+ return(ags_type_automation);
+}
+
+void
+ags_automation_class_init(AgsAutomationClass *automation)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_automation_parent_class = g_type_class_peek_parent(automation);
+
+ gobject = (GObjectClass *) automation;
+
+ gobject->set_property = ags_automation_set_property;
+ gobject->get_property = ags_automation_get_property;
+
+ gobject->finalize = ags_automation_finalize;
+
+ /* properties */
+ /**
+ * AgsAutomation:port:
+ *
+ * The assigned #AgsPort
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("port\0",
+ "port of automation\0",
+ "The port of automation\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT,
+ param_spec);
+
+ /**
+ * AgsAutomation:current-accelerations:
+ *
+ * Offset of current position.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_pointer("current-accelerations\0",
+ "current accelerations for offset\0",
+ "The current accelerations for offset\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CURRENT_ACCELERATIONS,
+ param_spec);
+
+ /**
+ * AgsAutomation:next-accelerations:
+ *
+ * Offset of next position.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_pointer("next-accelerations\0",
+ "next accelerations for offset\0",
+ "The next accelerations for offset\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NEXT_ACCELERATIONS,
+ param_spec);
+}
+
+void
+ags_automation_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_automation_connect;
+ connectable->disconnect = ags_automation_disconnect;
+}
+
+void
+ags_automation_portlet_interface_init(AgsPortletInterface *portlet)
+{
+ portlet->set_port = ags_automation_set_port;
+ portlet->get_port = ags_automation_get_port;
+ portlet->list_safe_properties = ags_automation_list_safe_properties;
+ portlet->safe_set_property = ags_automation_safe_set_property;
+ portlet->safe_get_property = ags_automation_safe_get_property;
+}
+
+void
+ags_automation_init(AgsAutomation *automation)
+{
+ automation->flags = 0;
+
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_automation_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_automation_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAutomation *automation;
+
+ automation = AGS_AUTOMATION(gobject);
+
+ switch(prop_id){
+ case PROP_PORT:
+ {
+ AgsPort *port;
+
+ port = g_value_get_object(value);
+
+ if(port == automation->port){
+ return;
+ }
+
+ if(automation->port != NULL){
+ g_object_unref(automation->port);
+ }
+
+ if(port != NULL){
+ g_object_ref(port);
+ }
+
+ automation->port = port;
+ }
+ break;
+ case PROP_CURRENT_ACCELERATIONS:
+ {
+ GList *current_accelerations;
+
+ current_accelerations = g_value_get_pointer(value);
+
+ if(automation->current_accelerations == current_accelerations){
+ return;
+ }
+
+ automation->current_accelerations = current_accelerations;
+ }
+ break;
+ case PROP_NEXT_ACCELERATIONS:
+ {
+ GList *next_accelerations;
+
+ next_accelerations = g_value_get_pointer(value);
+
+ if(automation->next_accelerations == next_accelerations){
+ return;
+ }
+
+ automation->next_accelerations = next_accelerations;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_automation_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAutomation *automation;
+
+ automation = AGS_AUTOMATION(gobject);
+
+ switch(prop_id){
+ case PROP_PORT:
+ {
+ g_value_set_object(value, automation->port);
+ }
+ break;
+ case PROP_CURRENT_ACCELERATIONS:
+ {
+ g_value_set_pointer(value, automation->current_accelerations);
+ }
+ break;
+ case PROP_NEXT_ACCELERATIONS:
+ {
+ g_value_set_pointer(value, automation->next_accelerations);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_automation_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_automation_parent_class)->finalize(gobject);
+}
+
+void
+ags_automation_set_port(AgsPortlet *portlet, AgsPort *port)
+{
+ g_object_set(G_OBJECT(portlet),
+ "port\0", port,
+ NULL);
+}
+
+AgsPort*
+ags_automation_get_port(AgsPortlet *portlet)
+{
+ AgsPort *port;
+
+ g_object_get(G_OBJECT(portlet),
+ "port\0", &port,
+ NULL);
+
+ return(port);
+}
+
+GList*
+ags_automation_list_safe_properties(AgsPortlet *portlet)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+void
+ags_automation_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ //TODO:JK: add check for safe property
+
+ g_object_set_property(G_OBJECT(portlet),
+ property_name, value);
+}
+
+void
+ags_automation_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ //TODO:JK: add check for safe property
+
+ g_object_get_property(G_OBJECT(portlet),
+ property_name, value);
+}
+
+GList*
+ags_automation_find_near_timestamp(GList *automation, guint line,
+ GObject *timestamp)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+void
+ags_automation_add_acceleration(AgsAutomation *automation,
+ AgsAcceleration *acceleration,
+ gboolean use_selection_list)
+{
+ //TODO:JK: implement me
+
+}
+
+gboolean
+ags_automation_remove_acceleration_at_position(AgsAutomation *automation,
+ guint x, guint y)
+{
+ //TODO:JK: implement me
+
+}
+
+GList*
+ags_automation_get_selection(AgsAutomation *automation)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+gboolean
+ags_automation_is_acceleration_selected(AgsAutomation *automation, AgsAcceleration *acceleration)
+{
+ //TODO:JK: implement me
+
+ return(FALSE);
+}
+
+AgsAcceleration*
+ags_automation_find_point(AgsAutomation *automation,
+ guint x, guint y,
+ gboolean use_selection_list)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+GList*
+ags_automation_find_region(AgsAutomation *automation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean use_selection_list)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+void
+ags_automation_free_selection(AgsAutomation *automation)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_add_point_to_selection(AgsAutomation *automation,
+ guint x, guint y,
+ gboolean replace_current_selection)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_remove_point_from_selection(AgsAutomation *automation,
+ guint x, guint y)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_add_region_to_selection(AgsAutomation *automation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean replace_current_selection)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_automation_remove_region_from_selection(AgsAutomation *automation,
+ guint x0, guint y0,
+ guint x1, guint y1)
+{
+ //TODO:JK: implement me
+}
+
+xmlNodePtr
+ags_automation_copy_selection(AgsAutomation *automation)
+{
+ xmlNodePtr node;
+
+ node = NULL;
+
+ //TODO:JK: implement me
+
+ return(node);
+}
+
+xmlNodePtr
+ags_automation_cut_selection(AgsAutomation *automation)
+{
+ xmlNodePtr node;
+
+ node = NULL;
+
+ //TODO:JK: implement me
+
+ return(node);
+}
+
+void
+ags_automation_insert_from_clipboard(AgsAutomation *automation,
+ xmlNodePtr content,
+ gboolean reset_x_offset, guint x_offset,
+ gboolean reset_y_offset, guint y_offset)
+{
+ //TODO:JK: implement me
+}
+
+GList*
+ags_automation_get_current(AgsAutomation *automation)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+/**
+ * ags_automation_new:
+ *
+ * Creates a #AgsAutomation.
+ *
+ * Returns: a new #AgsAutomation
+ *
+ * Since: 0.4
+ */
+AgsAutomation*
+ags_automation_new(guint audio_channel)
+{
+ AgsAutomation *automation;
+
+ automation = (AgsAutomation *) g_object_new(AGS_TYPE_AUTOMATION, NULL);
+
+ return(automation);
+}
diff --git a/src/ags/audio/ags_automation.h b/src/ags/audio/ags_automation.h
new file mode 100644
index 0000000..a29e769
--- /dev/null
+++ b/src/ags/audio/ags_automation.h
@@ -0,0 +1,126 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOMATION_H__
+#define __AGS_AUTOMATION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <libxml/tree.h>
+
+#include <ags/audio/ags_acceleration.h>
+
+#define AGS_TYPE_AUTOMATION (ags_automation_get_type())
+#define AGS_AUTOMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION, AgsAutomation))
+#define AGS_AUTOMATION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION, AgsAutomationClass))
+#define AGS_IS_AUTOMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION))
+#define AGS_IS_AUTOMATION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOMATION))
+#define AGS_AUTOMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION, AgsAutomationClass))
+
+typedef struct _AgsAutomation AgsAutomation;
+typedef struct _AgsAutomationClass AgsAutomationClass;
+
+struct _AgsAutomation
+{
+ GObject gobject;
+
+ guint flags;
+
+ GObject *timestamp;
+
+ GObject *audio;
+ guint line;
+ GType channel_type;
+ gchar *control_name;
+
+ guint steps;
+ gdouble upper;
+ gdouble lower;
+
+ GList *acceleration;
+
+ gdouble start_loop;
+ gdouble end_loop;
+ gdouble offset;
+
+ GList *selection;
+
+ GObject *port;
+
+ GList *current_accelerations;
+ GList *next_accelerations;
+};
+
+struct _AgsAutomationClass
+{
+ GObjectClass gobject;
+};
+
+GType ags_automation_get_type(void);
+
+GList* ags_automation_find_near_timestamp(GList *automation, guint line,
+ GObject *timestamp);
+
+void ags_automation_add_acceleration(AgsAutomation *automation,
+ AgsAcceleration *acceleration,
+ gboolean use_selection_list);
+
+gboolean ags_automation_remove_acceleration_at_position(AgsAutomation *automation,
+ guint x, guint y);
+
+GList* ags_automation_get_selection(AgsAutomation *automation);
+
+gboolean ags_automation_is_acceleration_selected(AgsAutomation *automation, AgsAcceleration *acceleration);
+
+AgsAcceleration* ags_automation_find_point(AgsAutomation *automation,
+ guint x, guint y,
+ gboolean use_selection_list);
+GList* ags_automation_find_region(AgsAutomation *automation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean use_selection_list);
+
+void ags_automation_free_selection(AgsAutomation *automation);
+
+void ags_automation_add_point_to_selection(AgsAutomation *automation,
+ guint x, guint y,
+ gboolean replace_current_selection);
+void ags_automation_remove_point_from_selection(AgsAutomation *automation,
+ guint x, guint y);
+
+void ags_automation_add_region_to_selection(AgsAutomation *automation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean replace_current_selection);
+void ags_automation_remove_region_from_selection(AgsAutomation *automation,
+ guint x0, guint y0,
+ guint x1, guint y1);
+
+xmlNodePtr ags_automation_copy_selection(AgsAutomation *automation);
+xmlNodePtr ags_automation_cut_selection(AgsAutomation *automation);
+
+void ags_automation_insert_from_clipboard(AgsAutomation *automation,
+ xmlNodePtr content,
+ gboolean reset_x_offset, guint x_offset,
+ gboolean reset_y_offset, guint y_offset);
+
+GList* ags_automation_get_current(AgsAutomation *automation);
+
+AgsAutomation* ags_automation_new();
+
+#endif /*__AGS_AUTOMATION_H__*/
diff --git a/src/ags/audio/ags_channel.c b/src/ags/audio/ags_channel.c
new file mode 100644
index 0000000..6feecad
--- /dev/null
+++ b/src/ags/audio/ags_channel.c
@@ -0,0 +1,7067 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_channel.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_list.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_marshal.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_recycling_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_channel_run_dummy.h>
+#include <ags/audio/ags_recall_recycling_dummy.h>
+#include <ags/audio/ags_recall_ladspa.h>
+#include <ags/audio/ags_recall_ladspa_run.h>
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/task/ags_add_recall_container.h>
+#include <ags/audio/task/ags_add_recall.h>
+#include <ags/audio/task/ags_remove_recall.h>
+#include <ags/audio/task/ags_remove_recall_container.h>
+
+#include <stdio.h>
+
+/**
+ * SECTION:ags_channel
+ * @short_description: Acts as entry point to the audio tree.
+ * @title: AgsChannel
+ * @section_id:
+ * @include: ags/audio/ags_channel.h
+ *
+ * #AgsChannel is the entry point to the entire audio tree and its nested
+ * recycling tree.
+ *
+ * Every channel has its own #AgsRecallID. As modifying link a new #AgsRecyclingContainer
+ * is indicated, since it acts as a kind of recall id tree context.
+ */
+
+void ags_channel_class_init(AgsChannelClass *channel_class);
+void ags_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_channel_init(AgsChannel *channel);
+void ags_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_channel_add_to_registry(AgsConnectable *connectable);
+void ags_channel_remove_from_registry(AgsConnectable *connectable);
+void ags_channel_connect(AgsConnectable *connectable);
+void ags_channel_disconnect(AgsConnectable *connectable);
+static void ags_channel_finalize(GObject *gobject);
+
+GList* ags_channel_real_add_effect(AgsChannel *channel,
+ gchar *filename,
+ gchar *effect);
+void ags_channel_real_remove_effect(AgsChannel *channel,
+ guint nth);
+
+
+enum{
+ ADD_EFFECT,
+ REMOVE_EFFECT,
+ RECYCLING_CHANGED,
+ DONE,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_AUDIO,
+ PROP_DEVOUT,
+};
+
+static gpointer ags_channel_parent_class = NULL;
+static guint channel_signals[LAST_SIGNAL];
+
+GType
+ags_channel_get_type (void)
+{
+ static GType ags_type_channel = 0;
+
+ if(!ags_type_channel){
+ static const GTypeInfo ags_channel_info = {
+ sizeof (AgsChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_channel = g_type_register_static(G_TYPE_OBJECT,
+ "AgsChannel\0",
+ &ags_channel_info, 0);
+
+ g_type_add_interface_static(ags_type_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_channel);
+}
+
+void
+ags_channel_class_init(AgsChannelClass *channel)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_channel_parent_class = g_type_class_peek_parent(channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) channel;
+
+ gobject->set_property = ags_channel_set_property;
+ gobject->get_property = ags_channel_get_property;
+
+ gobject->finalize = ags_channel_finalize;
+
+ /* properties */
+ /**
+ * AgsChannel:audio:
+ *
+ * The assigned #AgsAudio aligning channels.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("audio\0",
+ "assigned audio\0",
+ "The audio it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO,
+ param_spec);
+
+ /**
+ * AgsChannel:devout:
+ *
+ * The assigned #AgsDevout acting as default sink.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /* AgsChannelClass */
+ channel->add_effect = ags_channel_real_add_effect;
+ channel->remove_effect = ags_channel_real_remove_effect;
+
+ channel->recycling_changed = NULL;
+ channel->done = NULL;
+
+ /* signals */
+ /**
+ * AgsChannel::add-effect:
+ * @channel: the #AgsChannel to modify
+ * @effect: the effect's name
+ *
+ * The ::add-effect signal notifies about added effect.
+ */
+ channel_signals[ADD_EFFECT] =
+ g_signal_new("add-effect\0",
+ G_TYPE_FROM_CLASS(channel),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsChannelClass, add_effect),
+ NULL, NULL,
+ g_cclosure_user_marshal_POINTER__STRING_STRING,
+ G_TYPE_POINTER, 2,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
+ /**
+ * AgsChannel::remove-effect:
+ * @channel: the #AgsChannel to modify
+ * @nth: the nth effect
+ *
+ * The ::remove-effect signal notifies about removed effect.
+ */
+ channel_signals[REMOVE_EFFECT] =
+ g_signal_new("remove-effect\0",
+ G_TYPE_FROM_CLASS(channel),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsChannelClass, remove_effect),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsChannel::recycling-changed:
+ * @channel the object recycling changed
+ * @old_start_region: first recycling
+ * @old_end_region: last recycling
+ * @new_start_region: new first recycling
+ * @new_end_region: new last recycling
+ * @old_start_changed_region: modified link recycling start
+ * @old_end_changed_region: modified link recyclig end
+ * @new_start_changed_region: replacing link recycling start
+ * @new_end_changed_region: replacing link recycling end
+ *
+ * The ::recycling-changed signal is invoked to notify modified recycling tree.
+ */
+ channel_signals[RECYCLING_CHANGED] =
+ g_signal_new("recycling-changed\0",
+ G_TYPE_FROM_CLASS (channel),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsChannelClass, recycling_changed),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT,
+ G_TYPE_NONE, 8,
+ G_TYPE_OBJECT, G_TYPE_OBJECT,
+ G_TYPE_OBJECT, G_TYPE_OBJECT,
+ G_TYPE_OBJECT, G_TYPE_OBJECT,
+ G_TYPE_OBJECT, G_TYPE_OBJECT);
+ /**
+ * AgsChannel::done:
+ * @channel: the object done playing.
+ * @recall_id: the appropriate #AgsRecallID
+ *
+ * The ::done signal is invoked during termination of playback.
+ */
+ channel_signals[DONE] =
+ g_signal_new("done\0",
+ G_TYPE_FROM_CLASS (channel),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsChannelClass, done),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 0,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = ags_channel_add_to_registry;
+ connectable->remove_from_registry = ags_channel_remove_from_registry;
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_channel_connect;
+ connectable->disconnect = ags_channel_disconnect;
+}
+
+GQuark
+ags_channel_error_quark()
+{
+ return(g_quark_from_static_string("ags-channel-error-quark\0"));
+}
+
+void
+ags_channel_init(AgsChannel *channel)
+{
+ channel->flags = 0;
+
+ channel->audio = NULL;
+ channel->devout = NULL;
+
+ channel->prev = NULL;
+ channel->prev_pad = NULL;
+ channel->next = NULL;
+ channel->next_pad = NULL;
+
+ channel->pad = 0;
+ channel->audio_channel = 0;
+ channel->line = 0;
+
+ channel->note = NULL;
+
+ channel->devout_play = ags_devout_play_alloc();
+ AGS_DEVOUT_PLAY(channel->devout_play)->source = (GObject *) channel;
+
+ channel->recall_id = NULL;
+ channel->container = NULL;
+
+ channel->recall = NULL;
+ channel->play = NULL;
+
+ channel->link = NULL;
+ channel->first_recycling = NULL;
+ channel->last_recycling = NULL;
+
+ channel->recycling_thread = (GObject *) ags_recycling_thread_new();
+
+ channel->pattern = NULL;
+ channel->notation = NULL;
+
+ channel->line_widget = NULL;
+ channel->file_data = NULL;
+}
+
+void
+ags_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsChannel *channel;
+
+ channel = AGS_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ {
+ AgsAudio *audio;
+
+ audio = (AgsAudio *) g_value_get_object(value);
+
+ if(channel->audio == audio)
+ return;
+
+ if(channel->audio != NULL){
+ g_object_unref(G_OBJECT(channel->audio));
+ }
+
+ if(audio != NULL){
+ g_object_ref(G_OBJECT(audio));
+ }
+
+ channel->audio = (GObject *) audio;
+ }
+ break;
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ ags_channel_set_devout(channel, (GObject *) devout);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsChannel *channel;
+
+ channel = AGS_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ g_value_set_object(value, channel->audio);
+ break;
+ case PROP_DEVOUT:
+ g_value_set_object(value, channel->devout);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_channel_add_to_registry(AgsConnectable *connectable)
+{
+ AgsMain *ags_main;
+ AgsServer *server;
+ AgsChannel *channel;
+ AgsRegistryEntry *entry;
+ GList *list;
+
+ channel = AGS_CHANNEL(connectable);
+
+ ags_main = AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout)->ags_main);
+
+ server = ags_main->server;
+
+ entry = ags_registry_entry_alloc(server->registry);
+ g_value_set_object(&(entry->entry),
+ (gpointer) channel);
+ ags_registry_add(server->registry,
+ entry);
+
+ /* add play */
+ list = channel->play;
+
+ while(list != NULL){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* add recall */
+ list = channel->recall;
+
+ while(list != NULL){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_channel_remove_from_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_channel_connect(AgsConnectable *connectable)
+{
+ AgsChannel *channel;
+ AgsRecycling *recycling;
+ GList *list;
+
+ channel = AGS_CHANNEL(connectable);
+
+#ifdef AGS_DEBUG
+ g_message("connecting channel\0");
+#endif
+
+ // ags_connectable_add_to_registry(connectable);
+
+ /* connect recall ids */
+ list = channel->recall_id;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect recall containers */
+ list = channel->container;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect recalls */
+ list = channel->recall;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ list = channel->play;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect recycling */
+ recycling = channel->first_recycling;
+
+ if(recycling != NULL){
+ while(recycling != channel->last_recycling->next){
+ ags_connectable_connect(AGS_CONNECTABLE(recycling));
+
+ recycling = recycling->next;
+ }
+ }
+
+ /* connect pattern and notation */
+ list = channel->pattern;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ if(channel->notation != NULL)
+ ags_connectable_connect(AGS_CONNECTABLE(channel->notation));
+}
+
+void
+ags_channel_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+ /* empty */
+}
+
+static void
+ags_channel_finalize(GObject *gobject)
+{
+ AgsChannel *channel;
+ AgsRecycling *recycling, *recycling_next;
+
+ channel = AGS_CHANNEL(gobject);
+
+ //FIXME:JK: wrong ref count
+ if(channel->audio != NULL)
+ // g_object_unref(channel->audio);
+
+ /* AgsRecycling */
+ if(((AGS_AUDIO_INPUT_HAS_RECYCLING & (AGS_AUDIO(channel->audio)->flags)) != 0 && AGS_IS_INPUT(channel)) ||
+ ((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (AGS_AUDIO(channel->audio)->flags)) != 0 && AGS_IS_OUTPUT(channel))){
+
+ recycling = channel->first_recycling;
+
+ if(recycling != NULL){
+ while(recycling != channel->last_recycling->next){
+ recycling_next = recycling->next;
+
+ g_object_unref((GObject *) recycling);
+
+ recycling = recycling_next;
+ }
+ }
+ }
+
+ /* key string */
+ if(channel->note != NULL)
+ free(channel->note);
+
+ if(channel->devout_play != NULL)
+ ags_devout_play_free(channel->devout_play);
+
+
+ /* free some lists */
+ g_list_free_full(channel->recall_id,
+ g_object_unref);
+ g_list_free_full(channel->container,
+ g_object_unref);
+
+ g_list_free_full(channel->recall,
+ g_object_unref);
+ g_list_free_full(channel->play,
+ g_object_unref);
+
+ g_list_free_full(channel->pattern,
+ g_object_unref);
+
+ /* AgsNotation */
+ if(channel->notation != NULL)
+ g_object_unref(channel->notation);
+
+ /* call parent class */
+ G_OBJECT_CLASS(ags_channel_parent_class)->finalize(gobject);
+}
+
+AgsRecall*
+ags_channel_find_recall(AgsChannel *channel, char *effect, char *name)
+{
+ AgsRecall *recall;
+ GList *list;
+
+ //TODO:JK: implement me
+ /* */
+
+ return(NULL);
+}
+
+/**
+ * ags_channel_first:
+ * @channel: an #AgsChannel
+ *
+ * Iterates until the first #AgsChannel was found.
+ *
+ * Returns: the first #AgsChannel
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_first(AgsChannel *channel)
+{
+ channel = ags_channel_pad_first(channel);
+
+ while(channel->prev != NULL)
+ channel = channel->prev;
+
+ return(channel);
+}
+
+/**
+ * ags_channel_last:
+ * @channel: an #AgsChannel
+ *
+ * Iterates until the last #AgsChannel was found.
+ *
+ * Returns: the last #AgsChannel
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_last(AgsChannel *channel)
+{
+ channel = ags_channel_pad_last(channel);
+
+ while(channel->next != NULL)
+ channel = channel->next;
+
+ return(channel);
+}
+
+/**
+ * ags_channel_nth:
+ * @channel: an #AgsChannel
+ * @nth: the count to iterate
+ *
+ * Iterates @nth times forward.
+ *
+ * Returns: the nth #AgsChannel
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_nth(AgsChannel *channel, guint nth)
+{
+ guint i;
+
+ for(i = 0; i < nth && channel != NULL; i++){
+ channel = channel->next;
+ }
+
+ if((nth != 0 && i != nth) || channel == NULL)
+ g_message("ags_channel_nth:\n nth channel does not exist\n `- stopped @: i = %u; nth = %u\n\0", i, nth);
+
+ return(channel);
+}
+
+/**
+ * ags_channel_pad_first:
+ * @channel: an #AgsChannel
+ *
+ * Iterates until the first pad has been reached.
+ *
+ * Returns: the first #AgsChannel with the same audio_channel as @channel
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_pad_first(AgsChannel *channel)
+{
+ while(channel->prev_pad != NULL)
+ channel = channel->prev_pad;
+
+ return(channel);
+}
+
+/**
+ * ags_channel_pad_last:
+ * @channel: an #AgsChannel
+ *
+ * Iterates until the last pad has been reached.
+ *
+ * Returns: the last #AgsChannel with the same audio_channel as @channel
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_pad_last(AgsChannel *channel)
+{
+ while(channel->next_pad != NULL)
+ channel = channel->next_pad;
+
+ return(channel);
+}
+
+/**
+ * ags_channel_pad_nth:
+ * @channel: an #AgsChannel
+ * @nth: the count of pads to step
+ *
+ * Iterates nth times.
+ *
+ * Returns: the nth pad
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_pad_nth(AgsChannel *channel, guint nth)
+{
+ guint i;
+
+ i = 0;
+
+ for(; i < nth && channel != NULL; i++)
+ channel = channel->next_pad;
+
+ if((nth != 0 && i != nth) || channel == NULL)
+ g_message("ags_channel_nth_pad:\n nth pad does not exist\n `- stopped @: i = %u; nth = %u\0", i, nth);
+
+ return(channel);
+}
+
+/**
+ * ags_channel_first_with_recycling:
+ * @channel: an #AgsChannel
+ *
+ * Iterates over pads forwards as long as there is no #AgsRecycling on the #AgsChannel.
+ *
+ * Returns: the first channel with an #AgsRecycling
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_first_with_recycling(AgsChannel *channel)
+{
+ channel = ags_channel_pad_first(channel);
+
+ while(channel != NULL){
+ if(channel->first_recycling != NULL)
+ break;
+
+ channel = channel->next_pad;
+ }
+
+ return(channel);
+}
+
+/**
+ * ags_channel_last_with_recycling:
+ * @channel: an #AgsChannel
+ *
+ * Iterates over pads backwards as long as there is no #AgsRecycling on the #AgsChannel.
+ *
+ * Returns: the last channel with an #AgsRecycling
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_last_with_recycling(AgsChannel *channel)
+{
+ channel = ags_channel_pad_last(channel);
+
+ while(channel != NULL){
+ if(channel->last_recycling != NULL)
+ break;
+
+ channel = channel->prev_pad;
+ }
+
+ return(channel);
+}
+
+/**
+ * ags_channel_set_devout:
+ * @channel: an #AgsChannel
+ * @devout: an #AgsDevout
+ *
+ * Sets devout.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_set_devout(AgsChannel *channel, GObject *devout)
+{
+ GList *list;
+
+ /* channel */
+ if(channel->devout == devout)
+ return;
+
+ if(channel->devout != NULL)
+ g_object_unref(channel->devout);
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ channel->devout = (GObject *) devout;
+
+ /* recall */
+ list = channel->play;
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "devout\0", devout,
+ NULL);
+
+ list = list->next;
+ }
+
+ list = channel->recall;
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "devout\0", devout,
+ NULL);
+
+ list = list->next;
+ }
+
+ /* AgsRecycling */
+ if((AGS_IS_OUTPUT(channel) &&
+ (AGS_AUDIO_OUTPUT_HAS_RECYCLING & (AGS_AUDIO(channel->audio)->flags)) != 0) ||
+ ((AGS_IS_INPUT(channel) &&
+ (AGS_AUDIO_INPUT_HAS_RECYCLING & (AGS_AUDIO(channel->audio)->flags)) != 0))){
+ AgsRecycling *recycling;
+
+ recycling = channel->first_recycling;
+
+ while(recycling != channel->last_recycling->next){
+ g_object_set(G_OBJECT(recycling),
+ "devout\0", devout,
+ NULL);
+
+ recycling = recycling->next;
+ }
+ }
+}
+
+/**
+ * ags_channel_add_recall_id:
+ * @channel: an #AgsChannel
+ * @recall_id: the #AgsRecallID
+ *
+ * Adds a recall id.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_add_recall_id(AgsChannel *channel, AgsRecallID *recall_id)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ g_object_ref(G_OBJECT(recall_id));
+
+ channel->recall_id = g_list_prepend(channel->recall_id,
+ recall_id);
+}
+
+/**
+ * ags_channel_remove_recall_id:
+ * @channel: an #AgsChannel
+ * @recall_id: the #AgsRecallID
+ *
+ * Removes a recall id.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_remove_recall_id(AgsChannel *channel, AgsRecallID *recall_id)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ channel->recall_id = g_list_remove(channel->recall_id,
+ recall_id);
+ g_object_unref(G_OBJECT(recall_id));
+}
+
+/**
+ * ags_channel_add_recall_container:
+ * @channel: an #AgsChannel
+ * @recall_container: the #AgsRecallContainer
+ *
+ * Adds a recall container.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_add_recall_container(AgsChannel *channel, GObject *container)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ g_object_ref(G_OBJECT(container));
+
+ channel->container = g_list_prepend(channel->container, container);
+}
+
+/**
+ * ags_channel_remove_recall_container:
+ * @channel: an #AgsChannel
+ * @recall_container: the #AgsRecallContainer
+ *
+ * Removes a recall container.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_remove_recall_container(AgsChannel *channel, GObject *container)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ channel->container = g_list_remove(channel->container, container);
+ g_object_unref(G_OBJECT(container));
+}
+
+/**
+ * ags_channel_remove_recall:
+ * @channel: an #AgsChannel
+ * @recall_container: the #AgsRecall
+ * @play: %TRUE if simple playback.
+ *
+ * Removes a recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_remove_recall(AgsChannel *channel, GObject *recall, gboolean play)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+
+ if(play){
+ channel->play = g_list_remove(channel->play, recall);
+ }else{
+ channel->recall = g_list_remove(channel->recall, recall);
+ }
+
+ g_object_unref(G_OBJECT(recall));
+}
+
+/**
+ * ags_channel_add_recall:
+ * @channel: an #AgsChannel
+ * @recall_container: the #AgsRecall
+ * @play: %TRUE if simple playback.
+ *
+ * Adds a recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_add_recall(AgsChannel *channel, GObject *recall, gboolean play)
+{
+ /*
+ * TODO:JK: thread synchronisation
+ */
+ g_object_ref(recall);
+
+ if(play){
+ channel->play = g_list_append(channel->play, recall);
+ }else{
+ channel->recall = g_list_append(channel->recall, recall);
+ }
+}
+
+GList*
+ags_channel_real_add_effect(AgsChannel *channel,
+ char *filename,
+ gchar *effect)
+{
+ AgsRecallContainer *recall_container;
+ AgsRecallChannelRunDummy *recall_channel_run_dummy;
+ AgsRecallLadspa *recall_ladspa;
+ AgsLadspaPlugin *ladspa_plugin;
+ AgsAddRecallContainer *add_recall_container;
+ AgsAddRecall *add_recall;
+
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+
+ GList *port;
+ GList *task;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ LADSPA_Data lower_bound, upper_bound;
+ unsigned long index;
+
+ audio_loop = (AgsAudioLoop *) AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout)->ags_main)->main_loop;
+ task_thread = (AgsTaskThread *) audio_loop->task_thread;
+
+ index = ags_ladspa_manager_effect_index(filename,
+ effect);
+
+ /* load plugin */
+ ags_ladspa_manager_load_file(filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(filename);
+
+ /* tasks */
+ task = NULL;
+
+ /* ladspa play */
+ recall_container = ags_recall_container_new();
+
+ add_recall_container = ags_add_recall_container_new(channel->audio,
+ recall_container);
+ task = g_list_prepend(task,
+ add_recall_container);
+
+ recall_ladspa = ags_recall_ladspa_new(channel,
+ filename,
+ effect,
+ index);
+ g_object_set(G_OBJECT(recall_ladspa),
+ "devout\0", AGS_AUDIO(channel->audio)->devout,
+ "recall-container\0", recall_container,
+ NULL);
+ AGS_RECALL(recall_ladspa)->flags |= AGS_RECALL_TEMPLATE;
+ ags_recall_ladspa_load(recall_ladspa);
+ port = ags_recall_ladspa_load_ports(recall_ladspa);
+
+ add_recall = ags_add_recall_new(channel,
+ recall_ladspa,
+ TRUE);
+ task = g_list_prepend(task,
+ add_recall);
+
+ /* dummy */
+ recall_channel_run_dummy = ags_recall_channel_run_dummy_new(channel,
+ AGS_TYPE_RECALL_RECYCLING_DUMMY,
+ AGS_TYPE_RECALL_LADSPA_RUN);
+ AGS_RECALL(recall_channel_run_dummy)->flags |= AGS_RECALL_TEMPLATE;
+ g_object_set(G_OBJECT(recall_channel_run_dummy),
+ "devout\0", AGS_AUDIO(channel->audio)->devout,
+ "recall-container\0", recall_container,
+ "recall-channel\0", recall_ladspa,
+ NULL);
+
+ add_recall = ags_add_recall_new(channel,
+ recall_channel_run_dummy,
+ TRUE);
+ task = g_list_prepend(task,
+ add_recall);
+
+ /* ladspa recall */
+ recall_container = ags_recall_container_new();
+
+ add_recall_container = ags_add_recall_container_new(channel->audio,
+ recall_container);
+ task = g_list_prepend(task,
+ add_recall_container);
+
+ recall_ladspa = ags_recall_ladspa_new(channel,
+ filename,
+ effect,
+ index);
+ g_object_set(G_OBJECT(recall_ladspa),
+ "devout\0", AGS_AUDIO(channel->audio)->devout,
+ "recall-container\0", recall_container,
+ NULL);
+ AGS_RECALL(recall_ladspa)->flags |= AGS_RECALL_TEMPLATE;
+ ags_recall_ladspa_load(recall_ladspa);
+
+ if(port != NULL){
+ port = g_list_concat(port,
+ ags_recall_ladspa_load_ports(recall_ladspa));
+ }
+
+ add_recall = ags_add_recall_new(channel,
+ recall_ladspa,
+ FALSE);
+ task = g_list_prepend(task,
+ add_recall);
+
+ /* dummy */
+ recall_channel_run_dummy = ags_recall_channel_run_dummy_new(channel,
+ AGS_TYPE_RECALL_RECYCLING_DUMMY,
+ AGS_TYPE_RECALL_LADSPA_RUN);
+ AGS_RECALL(recall_channel_run_dummy)->flags |= AGS_RECALL_TEMPLATE;
+ g_object_set(G_OBJECT(recall_channel_run_dummy),
+ "devout\0", AGS_AUDIO(channel->audio)->devout,
+ "recall-container\0", recall_container,
+ "recall-channel\0", recall_ladspa,
+ NULL);
+
+ add_recall = ags_add_recall_new(channel,
+ recall_channel_run_dummy,
+ FALSE);
+ task = g_list_prepend(task,
+ add_recall);
+
+ task = g_list_reverse(task);
+
+ /* launch tasks */
+ ags_task_thread_append_tasks(task_thread,
+ task);
+
+ return(port);
+}
+
+GList*
+ags_channel_add_effect(AgsChannel *channel,
+ char *filename,
+ gchar *effect)
+{
+ GList *port;
+
+ g_return_val_if_fail(AGS_IS_CHANNEL(channel), NULL);
+
+ g_object_ref((GObject *) channel);
+ g_signal_emit(G_OBJECT(channel),
+ channel_signals[ADD_EFFECT], 0,
+ filename,
+ effect,
+ &port);
+ g_object_unref((GObject *) channel);
+
+ return(port);
+}
+
+void
+ags_channel_real_remove_effect(AgsChannel *channel,
+ guint nth)
+{
+ AgsRemoveRecallContainer *remove_recall_container;
+ AgsRemoveRecall *remove_recall;
+
+ AgsAudioLoop *audio_loop;
+ AgsTaskThread *task_thread;
+
+ GList *play_ladspa, *recall_ladspa;
+ GList *task;
+
+ audio_loop = (AgsAudioLoop *) AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout)->ags_main)->main_loop;
+ task_thread = (AgsTaskThread *) audio_loop->task_thread;
+
+ play_ladspa = ags_recall_template_find_type(channel->play,
+ AGS_TYPE_RECALL_LADSPA);
+
+ recall_ladspa = ags_recall_template_find_type(channel->recall,
+ AGS_TYPE_RECALL_LADSPA);
+
+ task = NULL;
+
+ /* play context */
+ remove_recall = ags_remove_recall_new(channel,
+ g_list_nth(play_ladspa,
+ nth)->data,
+ TRUE,
+ TRUE);
+ task = g_list_prepend(task,
+ remove_recall);
+
+ remove_recall = ags_remove_recall_new(channel,
+ ags_recall_find_template(AGS_RECALL_CONTAINER(AGS_RECALL(g_list_nth(play_ladspa,
+ nth)->data)->container)->recall_channel_run)->data,
+ TRUE,
+ TRUE);
+ task = g_list_prepend(task,
+ remove_recall);
+
+ remove_recall_container = ags_remove_recall_container_new(channel->audio,
+ AGS_RECALL(g_list_nth(play_ladspa,
+ nth)->data)->container);
+ task = g_list_prepend(task,
+ remove_recall_container);
+
+ /* recall context */
+ remove_recall = ags_remove_recall_new(channel,
+ g_list_nth(recall_ladspa,
+ nth)->data,
+ FALSE,
+ TRUE);
+ task = g_list_prepend(task,
+ remove_recall);
+
+ remove_recall = ags_remove_recall_new(channel,
+ ags_recall_find_template(AGS_RECALL_CONTAINER(AGS_RECALL(g_list_nth(recall_ladspa,
+ nth)->data)->container)->recall_channel_run)->data,
+ FALSE,
+ TRUE);
+ task = g_list_prepend(task,
+ remove_recall);
+
+ remove_recall_container = ags_remove_recall_container_new(channel->audio,
+ AGS_RECALL(g_list_nth(recall_ladspa,
+ nth)->data)->container);
+ task = g_list_prepend(task,
+ remove_recall_container);
+
+ /* launch task */
+ ags_task_thread_append_tasks(task_thread,
+ task);
+}
+
+void
+ags_channel_remove_effect(AgsChannel *channel,
+ guint nth)
+{
+ g_return_if_fail(AGS_IS_CHANNEL(channel));
+
+ g_object_ref((GObject *) channel);
+ g_signal_emit(G_OBJECT(channel),
+ channel_signals[REMOVE_EFFECT], 0,
+ nth);
+ g_object_unref((GObject *) channel);
+}
+
+/**
+ * ags_channel_set_link:
+ * @channel: an #AgsChannel to link
+ * @link: an other #AgsChannel to link with
+ * @error: you may retrieve a AGS_CHANNEL_ERROR_LOOP_IN_LINK error
+ *
+ * Change the linking of #AgsChannel objects.
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_set_link(AgsChannel *channel, AgsChannel *link,
+ GError **error)
+{
+ AgsChannel *old_channel_link, *old_link_link;
+ AgsRecycling *first_recycling, *last_recycling;
+ GError *this_error;
+
+ if(channel == NULL &&
+ link == NULL){
+ return;
+ }
+
+ if(channel != NULL){
+ if(channel->link == link){
+ return;
+ }
+
+ old_channel_link = channel->link;
+ }else{
+ if(link->link == channel){
+ return;
+ }
+
+ old_channel_link = NULL;
+ }
+
+ if(link != NULL){
+ old_link_link = link->link;
+ }else{
+ old_link_link = NULL;
+ }
+
+ /* check for a loop */
+ if(channel != NULL &&
+ link != NULL){
+ AgsAudio *audio, *current_audio;
+ AgsChannel *current_channel;
+
+ /* retrieve next channel */
+ if(AGS_IS_OUTPUT(channel)){
+ audio = AGS_AUDIO(link->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current_channel = ags_channel_nth(audio->output, link->audio_channel);
+ }else{
+ current_channel = ags_channel_nth(audio->output, link->line);
+ }
+ }else{
+ audio = AGS_AUDIO(channel->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current_channel = ags_channel_nth(audio->output, channel->audio_channel);
+ }else{
+ current_channel = ags_channel_nth(audio->output, channel->line);
+ }
+ }
+
+ /* check for loop */
+ while(current_channel != NULL &&
+ current_channel->link != NULL){
+
+ current_audio = AGS_AUDIO(current_channel->link->audio);
+
+ if((AGS_AUDIO_ASYNC & (current_audio->flags)) != 0){
+ current_channel = ags_channel_nth(current_audio->output, current_channel->link->audio_channel);
+ }else{
+ current_channel = ags_channel_nth(current_audio->output, current_channel->link->line);
+ }
+
+ if(current_audio == audio){
+ if(error != NULL){
+ g_set_error(error,
+ AGS_CHANNEL_ERROR,
+ AGS_CHANNEL_ERROR_LOOP_IN_LINK,
+ "failed to link channel %u from %s with channel %u from %s\0",
+ channel->line, G_OBJECT_TYPE_NAME(audio),
+ link->line, G_OBJECT_TYPE_NAME(link->audio));
+ }
+
+ return;
+ }
+
+ }
+ }
+
+ /* set old input/output to NULL */
+ if(old_link_link != NULL &&
+ channel != NULL){
+ this_error = NULL;
+
+ ags_channel_set_link(old_link_link,
+ NULL,
+ &this_error);
+ }
+
+ /* set link */
+ if(channel != NULL){
+ channel->link = link;
+ }
+
+ /* only as expected */
+ if(old_channel_link != NULL &&
+ link != NULL){
+ this_error = NULL;
+
+ ags_channel_set_link(old_channel_link,
+ NULL,
+ &this_error);
+ }
+
+ if(link != NULL){
+ link->link = channel;
+ }
+
+ /* set recycling */
+ if(channel != NULL &&
+ AGS_IS_OUTPUT(channel)){
+ first_recycling = channel->first_recycling;
+ last_recycling = channel->last_recycling;
+
+ ags_channel_set_recycling(link,
+ first_recycling, last_recycling,
+ TRUE, TRUE);
+ }else{
+ if(link != NULL){
+ first_recycling = link->first_recycling;
+ last_recycling = link->last_recycling;
+ }else{
+ first_recycling = NULL;
+ last_recycling = NULL;
+ }
+
+ ags_channel_set_recycling(channel,
+ first_recycling, last_recycling,
+ TRUE, TRUE);
+ }
+
+ /* reset recall id */
+ ags_channel_recursive_reset_recall_ids(channel, link,
+ old_channel_link, old_link_link);
+}
+
+/**
+ * ags_channel_set_recycling:
+ * @channel: the channel to reset
+ * @first_recycling: the recycling to set for channel->first_recycling
+ * @last_recycling: the recycling to set for channel->last_recycling
+ * @update: reset allthough the AgsRecyclings are still the same
+ * @destroy_old: destroy old AgsRecyclings
+ *
+ * Called by ags_channel_set_link() to handle outdated #AgsRecycling references.
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_set_recycling(AgsChannel *channel,
+ AgsRecycling *first_recycling, AgsRecycling *last_recycling,
+ gboolean update, gboolean destroy_old)
+{
+ AgsAudio *audio;
+ AgsAudio *found_prev, *found_next;
+ AgsRecycling *old_first_recycling, *old_last_recycling;
+ AgsRecycling *replace_with_first_recycling, *replace_with_last_recycling;
+ AgsRecycling *changed_old_first_recycling, *changed_old_last_recycling;
+ AgsChannel *prev_channel, *next_channel;
+ AgsRecycling *nth_recycling, *next_recycling, *stop_recycling;
+ AgsRecycling *parent;
+ AgsRecyclingContainer *recycling_container, *old_recycling_container;
+ GList *recall_id;
+ gboolean replace_first, replace_last;
+ gboolean find_prev, find_next;
+ gboolean change_old_last, change_old_first;
+
+ auto gboolean ags_channel_set_recycling_recursive_input(AgsChannel *input);
+ auto void ags_channel_set_recycling_recursive_output(AgsChannel *output);
+ auto void ags_channel_set_recycling_recursive(AgsChannel *input);
+ auto void ags_channel_set_recycling_emit_changed_input(AgsChannel *input);
+ auto void ags_channel_set_recycling_emit_changed_output(AgsChannel *output);
+ auto gboolean ags_channel_set_recycling_emit_changed(AgsChannel *input);
+
+ gboolean ags_channel_set_recycling_recursive_input(AgsChannel *input){
+ AgsChannel *nth_channel_prev, *nth_channel_next;
+
+ if(replace_first){
+ /* set recycling */
+ input->first_recycling = replace_with_first_recycling;
+ }
+
+ if(replace_last){
+ /* set recycling */
+ input->last_recycling = replace_with_last_recycling;
+ }
+
+ if((AGS_AUDIO_ASYNC & (AGS_AUDIO(input->audio)->flags)) != 0){
+ /* search for neighboor recyclings */
+ if(find_prev){
+ nth_channel_prev = input->prev_pad;
+
+ while(nth_channel_prev != NULL &&
+ nth_channel_prev->last_recycling == NULL){
+ nth_channel_prev = nth_channel_prev->prev_pad;
+ }
+
+ if(nth_channel_prev != NULL){
+ if(replace_first){
+ found_prev = audio;
+ prev_channel = nth_channel_prev;
+ }
+
+ replace_first = FALSE;
+ }
+ }
+
+ if(find_next){
+ nth_channel_next = input->next_pad;
+
+ while(nth_channel_next != NULL &&
+ nth_channel_next->first_recycling == NULL){
+ nth_channel_next = nth_channel_next->next_pad;
+ }
+
+ if(nth_channel_next != NULL){
+ if(replace_last){
+ found_next = audio;
+ next_channel = nth_channel_next;
+ }
+
+ replace_last = FALSE;
+ }
+ }
+
+ /* check if there's still a need for finding neighboor recyclings */
+ if(!replace_first)
+ if(!replace_last){
+ find_next = FALSE;
+ find_prev = FALSE;
+
+ return(TRUE);
+ }else{
+ if(first_recycling == NULL){
+ /* reset to NULL */
+ replace_with_last_recycling = nth_channel_prev->last_recycling;
+ }else
+ find_prev = FALSE;
+ }
+ }else if(!replace_last){
+ if(first_recycling == NULL){
+ /* reset to NULL */
+ replace_with_first_recycling = nth_channel_next->first_recycling;
+ }else
+ find_next = FALSE;
+ }
+
+ return(FALSE);
+ }
+ void ags_channel_set_recycling_recursive_output(AgsChannel *output){
+ /* update input AgsRecallIDs */
+ //TODO:JK: check for compliance
+ // ags_recall_id_reset_recycling(output->recall_id,
+ // output->first_recycling,
+ // replace_with_first_recycling, replace_with_last_recycling);
+
+ if(replace_first)
+ output->first_recycling = replace_with_first_recycling;
+
+ if(replace_last)
+ output->last_recycling = replace_with_last_recycling;
+
+ if(output->link != NULL)
+ ags_channel_set_recycling_recursive(output->link);
+ }
+ void ags_channel_set_recycling_recursive(AgsChannel *input){
+ AgsAudio *audio;
+ AgsChannel *output;
+
+ audio = AGS_AUDIO(input->audio);
+
+ /* AgsInput */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ gboolean abort;
+
+ abort = ags_channel_set_recycling_recursive_input(input);
+
+ if(abort){
+ return;
+ }
+ }else
+ return;
+
+ /* AgsOutput */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0)
+ output = ags_channel_nth(audio->output, input->audio_channel);
+ else
+ output = ags_channel_nth(audio->output, input->line);
+
+ ags_channel_set_recycling_recursive_output(output);
+ }
+ }
+ void ags_channel_set_recycling_emit_changed_input(AgsChannel *input){
+ AgsChannel *nth_channel;
+ AgsAudio *audio;
+
+ audio = AGS_AUDIO(input->audio);
+
+ if(audio == found_prev){
+ change_old_first = TRUE;
+ }
+
+ if(audio == found_next){
+ change_old_last = TRUE;
+ }
+
+ /* emit changed */
+ ags_channel_recycling_changed(input,
+ changed_old_first_recycling, changed_old_last_recycling,
+ input->first_recycling, input->last_recycling,
+ old_first_recycling, old_last_recycling,
+ first_recycling, last_recycling);
+
+ /* change will affect output */
+ if(change_old_first){
+ nth_channel = ags_channel_first_with_recycling(input);
+
+ if(nth_channel == NULL){
+ changed_old_first_recycling = NULL;
+ changed_old_last_recycling = NULL;
+ return;
+ }
+
+ changed_old_first_recycling = nth_channel->first_recycling;
+ }
+
+ if(change_old_last){
+ nth_channel = ags_channel_last_with_recycling(input);
+
+ changed_old_last_recycling = nth_channel->last_recycling;
+ }
+ }
+ void ags_channel_set_recycling_emit_changed_output(AgsChannel *output){
+ ags_channel_recycling_changed(output,
+ changed_old_first_recycling, changed_old_last_recycling,
+ output->first_recycling, output->last_recycling,
+ old_first_recycling, old_last_recycling,
+ first_recycling, last_recycling);
+
+ if(output->link != NULL)
+ if(ags_channel_set_recycling_emit_changed(output->link))
+ parent = output->first_recycling;
+ else
+ parent = output->first_recycling;
+ }
+ gboolean ags_channel_set_recycling_emit_changed(AgsChannel *input){
+ AgsAudio *audio;
+ AgsChannel *output;
+
+ audio = AGS_AUDIO(input->audio);
+
+ /* AgsInput */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0)
+ ags_channel_set_recycling_emit_changed_input(input);
+ else
+ return(TRUE);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ output = ags_channel_nth(audio->output, input->audio_channel);
+ }else{
+ output = ags_channel_nth(audio->output, input->line);
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0)
+ ags_channel_set_recycling_emit_changed_output(output);
+ else
+ parent = output->first_recycling;
+
+ return(FALSE);
+ }
+
+ /* entry point */
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ if(first_recycling == NULL && last_recycling != NULL)
+ first_recycling = last_recycling;
+
+ if(last_recycling == NULL && first_recycling != NULL)
+ last_recycling = first_recycling;
+
+ old_first_recycling = channel->first_recycling;
+ old_last_recycling = channel->last_recycling;
+
+ if(!update && old_first_recycling == first_recycling && old_last_recycling == last_recycling)
+ return;
+
+ found_prev = NULL;
+ found_next = NULL;
+
+ parent = NULL;
+
+ prev_channel = NULL;
+ next_channel = NULL;
+
+ replace_with_first_recycling = first_recycling;
+ replace_with_last_recycling = last_recycling;
+
+ changed_old_first_recycling = old_first_recycling;
+ changed_old_last_recycling = old_last_recycling;
+
+ replace_first = TRUE;
+ replace_last = TRUE;
+
+ find_next = TRUE;
+ find_prev = TRUE;
+
+ change_old_first = FALSE;
+ change_old_last = FALSE;
+
+ if((old_first_recycling == first_recycling)){
+ if(!update){
+ if(old_last_recycling == last_recycling)
+ return;
+
+ replace_first = FALSE;
+ }
+ }
+
+ if((old_last_recycling == last_recycling)){
+ if(!update)
+ replace_last = FALSE;
+ }
+
+ /* set recycling - update AgsChannel */
+ if(AGS_IS_INPUT(channel)){
+ AgsChannel *output;
+
+ if(!ags_channel_set_recycling_recursive_input(channel)){
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ output = ags_channel_nth(audio->output, channel->audio_channel);
+ }else{
+ output = ags_channel_nth(audio->output, channel->line);
+ }
+
+ ags_channel_set_recycling_recursive_output(output);
+ }
+ }
+ }else{
+ ags_channel_set_recycling_recursive_output(channel);
+ }
+
+ /* join now the retrieved recyclings */
+ if(first_recycling != NULL){
+ if(prev_channel != NULL &&
+ prev_channel->last_recycling != NULL){
+ prev_channel->last_recycling->next = first_recycling;
+ first_recycling->prev = prev_channel->last_recycling;
+ }else{
+ first_recycling->prev = NULL;
+ }
+
+ if(next_channel != NULL &&
+ next_channel->first_recycling != NULL){
+ next_channel->first_recycling->prev = last_recycling;
+ last_recycling->next = next_channel->first_recycling;
+ }else{
+ last_recycling->next = NULL;
+ }
+ }else{
+ gboolean link_next, link_prev;
+
+ if(prev_channel != NULL &&
+ prev_channel->last_recycling != NULL)
+ link_next = TRUE;
+ else
+ link_next = FALSE;
+
+ if(next_channel != NULL &&
+ next_channel->first_recycling != NULL)
+ link_prev = TRUE;
+ else
+ link_prev = FALSE;
+
+ if(link_next){
+ if(link_prev){
+ next_channel->first_recycling->prev = prev_channel->last_recycling;
+ prev_channel->last_recycling->next = next_channel->first_recycling;
+ }else{
+ prev_channel->last_recycling->next = NULL;
+ }
+ }else if(link_prev){
+ next_channel->first_recycling->prev = NULL;
+ }
+ }
+
+ /* destroy old recycling */
+ if(destroy_old && old_first_recycling != NULL){
+ nth_recycling = old_first_recycling;
+
+ while(nth_recycling != old_last_recycling->next){
+ next_recycling = nth_recycling->next;
+
+ g_object_unref(G_OBJECT(nth_recycling));
+
+ nth_recycling = next_recycling;
+ }
+ }
+
+ /* set parent */
+ if(first_recycling != NULL){
+ if(AGS_IS_INPUT(channel)){
+ AgsChannel *output;
+
+ ags_channel_set_recycling_emit_changed_input(channel);
+
+ output = ags_channel_nth(audio->output, (((AGS_AUDIO_ASYNC & (audio->flags)) == 0) ? channel->line: channel->audio_channel));
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0)
+ ags_channel_set_recycling_emit_changed_output(output);
+ else
+ parent = output->first_recycling;
+ }else{
+ ags_channel_set_recycling_emit_changed_output(channel);
+ }
+
+ if(update){
+ nth_recycling = first_recycling;
+ stop_recycling = last_recycling->next;
+ }else{
+ if(first_recycling == old_first_recycling){
+ nth_recycling = old_last_recycling;
+ stop_recycling = last_recycling->next;
+ }else{
+ nth_recycling = first_recycling;
+ stop_recycling = (old_first_recycling != NULL) ? old_first_recycling->next: NULL;
+ }
+ }
+
+ while(nth_recycling != stop_recycling){
+ nth_recycling->parent = parent;
+
+ nth_recycling = nth_recycling->next;
+ }
+ }
+
+ /* update recycling container */
+ recall_id = audio->recall_id;
+
+ while(recall_id != NULL){
+ guint length;
+
+ if(AGS_IS_OUTPUT(channel)){
+ if(AGS_RECALL_ID(recall_id->data)->recycling != NULL &&
+ AGS_IS_INPUT(AGS_RECYCLING(AGS_RECALL_ID(recall_id->data)->recycling)->channel)){
+ recall_id = recall_id->next;
+
+ continue;
+ }
+
+ old_recycling_container = (AgsRecyclingContainer *) AGS_RECALL_ID(recall_id->data)->recycling_container;
+ length = recycling_container->length;
+
+ }else{
+ if(AGS_RECALL_ID(recall_id->data)->recycling != NULL &&
+ AGS_IS_OUTPUT(AGS_RECYCLING(AGS_RECALL_ID(recall_id->data)->recycling)->channel)){
+ recall_id = recall_id->next;
+
+ continue;
+ }
+ }
+
+ old_recycling_container = (AgsRecyclingContainer *) AGS_RECALL_ID(recall_id->data)->recycling_container;
+ length = recycling_container->length;
+
+ recycling_container = ags_recycling_container_reset_recycling(old_recycling_container,
+ old_first_recycling, old_last_recycling,
+ first_recycling, last_recycling);
+ g_object_set(recall_id->data,
+ "recycling-container\0", recycling_container,
+ NULL);
+ ags_audio_add_recycling_container(audio,
+ recycling_container);
+
+ if(ags_recall_id_find_recycling_container(channel->recall_id,
+ AGS_RECALL_ID(recall_id->data)->recycling_container) != NULL){
+ ags_channel_recursive_reset_recycling_container(channel,
+ old_recycling_container,
+ recycling_container);
+ }
+
+ recall_id = recall_id->next;
+ }
+}
+
+/**
+ * ags_channel_recursive_reset_recycling_container:
+ * @channel: the channel to reset
+ * @old_recycling_container: the old recycling container context
+ * @recycling_container: the new recycling container context
+ *
+ * Resets the recycling container context.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_recursive_reset_recycling_container(AgsChannel *channel,
+ AgsRecyclingContainer *old_recycling_container,
+ AgsRecyclingContainer *recycling_container)
+{
+ AgsAudio *audio;
+ GList *recall_id;
+ guint length;
+
+ auto void ags_channel_reset_recycling_container(GList *recall_id);
+ auto void ags_channel_recursive_reset_recycling_container_up(AgsChannel *channel);
+ auto void ags_channel_recursive_reset_recycling_container_down_input(AgsChannel *channel);
+ auto void ags_channel_recursive_reset_recycling_container_down_output(AgsChannel *channel);
+
+ void ags_channel_reset_recycling_container(GList *recall_id){
+ while(recall_id != NULL){
+ if(AGS_RECALL_ID(recall_id->data)->recycling_container == old_recycling_container){
+ g_object_set(recall_id->data,
+ "recycling-container\0", recycling_container,
+ NULL);
+ }
+
+ recall_id = recall_id->next;
+ }
+ }
+ void ags_channel_recursive_reset_recycling_container_up(AgsChannel *channel){
+ AgsAudio *audio;
+
+ if(channel == NULL){
+ return;
+ }
+
+ if(AGS_IS_OUTPUT(channel)){
+ audio = channel->audio;
+
+ ags_channel_reset_recycling_container(audio->recall_id);
+
+ goto ags_channel_recursive_reset_recycling_container_up_OUTPUT;
+ }
+
+ while(channel != NULL){
+ audio = channel->audio;
+
+ ags_channel_reset_recycling_container(channel->recall_id);
+
+ ags_channel_reset_recycling_container(audio->recall_id);
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ channel = ags_channel_nth(audio->output,
+ ((AGS_AUDIO_ASYNC & (audio->flags)) ? channel->audio_channel: channel->line));
+
+ ags_channel_recursive_reset_recycling_container_up_OUTPUT:
+
+ ags_channel_reset_recycling_container(channel->recall_id);
+
+ channel = channel->link;
+ }
+ }
+ void ags_channel_recursive_reset_recycling_container_down_input(AgsChannel *output){
+ AgsChannel *input;
+
+ if(output == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ while(input != NULL){
+ recall_id = input->recall_id;
+
+ ags_channel_reset_recycling_container(recall_id);
+
+ ags_channel_recursive_reset_recycling_container_down_output(input->link);
+
+ input = input->next_pad;
+ }
+ }else{
+ input = ags_channel_nth(audio->input,
+ input->line);
+
+ recall_id = input->recall_id;
+
+ ags_channel_reset_recycling_container(recall_id);
+
+ ags_channel_recursive_reset_recycling_container_down_output(input->link);
+ }
+ }
+ void ags_channel_recursive_reset_recycling_container_down_output(AgsChannel *output){
+
+ if(output == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(output != channel &&
+ (AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ return;
+ }
+
+ recall_id = output->recall_id;
+
+ ags_channel_reset_recycling_container(recall_id);
+
+ recall_id = audio->recall_id;
+
+ ags_channel_reset_recycling_container(recall_id);
+
+ ags_channel_recursive_reset_recycling_container_down_input(output);
+ }
+
+ /* entry point */
+ if(channel == NULL){
+ return;
+ }
+
+ if(AGS_IS_INPUT(channel)){
+ ags_channel_recursive_reset_recycling_container_down_output(channel->link);
+ ags_channel_recursive_reset_recycling_container_up(channel);
+ }else{
+ ags_channel_recursive_reset_recycling_container_down_output(channel);
+ ags_channel_recursive_reset_recycling_container_up(channel->link);
+ }
+}
+
+/**
+ * ags_channel_recycling_changed:
+ * @channel: the object recycling changed
+ * @old_start_region: first recycling
+ * @old_end_region: last recycling
+ * @new_start_region: new first recycling
+ * @new_end_region: new last recycling
+ * @old_start_changed_region: modified link recycling start
+ * @old_end_changed_region: modified link recyclig end
+ * @new_start_changed_region: replacing link recycling start
+ * @new_end_changed_region: replacing link recycling end
+ *
+ * Modify recycling.
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_recycling_changed(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region)
+{
+ g_return_if_fail(AGS_IS_CHANNEL(channel));
+
+ g_object_ref(G_OBJECT(channel));
+ g_signal_emit(G_OBJECT(channel),
+ channel_signals[RECYCLING_CHANGED], 0,
+ old_start_region, old_end_region,
+ new_start_region, new_end_region,
+ old_start_changed_region, old_end_changed_region,
+ new_start_changed_region, new_end_changed_region);
+ g_object_unref(G_OBJECT(channel));
+}
+
+/**
+ * ags_channel_done:
+ * @channel: an #AgsChannel
+ * @recall_id: the current #AgsRecallID
+ *
+ * Is emitted as playing channel is done.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_done(AgsChannel *channel,
+ AgsRecallID *recall_id)
+{
+ g_return_if_fail(AGS_IS_CHANNEL(channel));
+
+ g_object_ref(G_OBJECT(channel));
+ g_signal_emit(G_OBJECT(channel),
+ channel_signals[DONE], 0,
+ recall_id);
+ g_object_unref(G_OBJECT(channel));
+}
+
+/**
+ * ags_channel_safe_resize_audio_signal:
+ * @channel: an #AgsChannel
+ * @length: new frame count length
+ *
+ * Resize audio data.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_safe_resize_audio_signal(AgsChannel *channel,
+ guint length)
+{
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ GList *list;
+ guint new_length;
+ gdouble factor;
+
+ recycling = channel->first_recycling;
+
+ while(recycling != channel->last_recycling->next){
+ list = recycling->audio_signal;
+
+ while(list != NULL){
+ audio_signal = AGS_AUDIO_SIGNAL(list->data);
+
+ if(audio_signal->stream_current != NULL){
+ if(length < audio_signal->length){
+ factor = audio_signal->length / length;
+
+ new_length = length + (factor *
+ g_list_position(audio_signal->stream_beginning,
+ audio_signal->stream_current));
+ }else{
+ factor = length / audio_signal->length;
+
+ new_length = length - (factor *
+ g_list_position(audio_signal->stream_beginning,
+ audio_signal->stream_current));
+ }
+ }else{
+ new_length = length;
+ }
+
+ ags_audio_signal_stream_safe_resize(audio_signal,
+ new_length);
+
+ list = list->next;
+ }
+
+ recycling = recycling->next;
+ }
+}
+
+/**
+ * ags_channel_resolve_recall:
+ * @channel: an #AgsChannel
+ * @recall_id: appropriate #AgsRecallID
+ *
+ * Resolve step of initialization.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_resolve_recall(AgsChannel *channel,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list_recall;
+
+#ifdef AGS_DEBUG
+ g_message("resolve channel %d\0", channel->line);
+#endif
+
+ /* get the appropriate lists */
+ if(recall_id->recycling_container->parent == NULL){
+ list_recall = channel->play;
+ }else{
+ list_recall = channel->recall;
+ }
+
+ while((list_recall = ags_recall_find_recycling_container(list_recall, G_OBJECT(recall_id->recycling_container))) != NULL){
+ recall = AGS_RECALL(list_recall->data);
+
+ ags_recall_resolve_dependencies(recall);
+
+ list_recall = list_recall->next;
+ }
+}
+
+/**
+ * ags_channel_play:
+ * @channel: an #AgsChannel
+ * @recall_id: appropriate #AgsRecallID
+ * @stage: run_pre, run_inter or run_post
+ *
+ * Play one single run of @stage step.
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_play(AgsChannel *channel,
+ AgsRecallID *recall_id,
+ gint stage)
+{
+ AgsRecall *recall;
+ GList *list, *list_next;
+
+ if(recall_id->recycling_container->parent != NULL){
+ list = channel->recall;
+ }else{
+ list = channel->play;
+ }
+
+ while(list != NULL){
+ list_next = list->next;
+
+ recall = AGS_RECALL(list->data);
+
+ if(recall == NULL){
+ if(recall_id->recycling_container->parent != NULL){
+ channel->recall = g_list_remove(channel->recall,
+ recall);
+ }else{
+ channel->play = g_list_remove(channel->play,
+ recall);
+ }
+
+ g_warning("recall == NULL\0");
+ list = list_next;
+ continue;
+ }
+
+ if(recall->recall_id == NULL ||
+ recall->recall_id->recycling_container != recall_id->recycling_container ||
+ AGS_IS_RECALL_CHANNEL(recall)){
+ list = list_next;
+ continue;
+ }
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) == 0){
+#ifdef AGS_DEBUG
+ g_message("%s play channel %x:%d\0", G_OBJECT_TYPE_NAME(recall), channel, channel->line);
+#endif
+
+ if((AGS_RECALL_HIDE & (recall->flags)) == 0){
+ if(stage == 0){
+ ags_recall_run_pre(recall);
+ }else if(stage == 1){
+ ags_recall_run_inter(recall);
+ }else{
+ ags_recall_run_post(recall);
+ }
+ }
+ }
+
+ list = list_next;
+ }
+}
+
+/**
+ * ags_channel_recursive_play_threaded:
+ * @channel: an #AgsChannel
+ * @recall_id: appropriate #AgsRecallID
+ * @stage: run_pre, run_inter or run_post
+ *
+ * Super-threaded version of play one single run of @stage step.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_recursive_play_threaded(AgsChannel *channel,
+ AgsRecallID *recall_id, gint stage)
+{
+ auto void ags_channel_recursive_play_input_sync_threaded(AgsChannel *input, AgsRecallID *input_recall_id);
+ auto void ags_channel_recursive_play_input_async_threaded(AgsChannel *input,
+ AgsRecallID *default_recall_id);
+ auto void ags_channel_recursive_play_output_threaded(AgsChannel *output, AgsRecallID *output_recall_id);
+ auto void ags_channel_recursive_play_up_threaded(AgsChannel *channel, AgsRecallID *recall_id);
+
+ void ags_channel_recursive_play_input_sync_threaded(AgsChannel *input, AgsRecallID *input_recall_id){
+ AgsAudio *audio;
+ AgsRecallID *child_recall_id;
+
+ audio = AGS_AUDIO(input->audio);
+
+ /* check if we go down */
+ if(input->link != NULL){
+ gint child_position;
+
+ /* check if there is a new recycling */
+ child_position = ags_recycling_container_find_child(input_recall_id->recycling_container,
+ input->first_recycling);
+
+ if(child_position == -1){
+ child_recall_id = ags_recall_id_find_recycling_container(input->link->recall_id,
+ input_recall_id->recycling_container);
+ }else{
+ GList *list;
+
+ list = g_list_nth(input_recall_id->recycling_container->children,
+ child_position);
+
+ if(list != NULL){
+ child_recall_id = ags_recall_id_find_recycling_container(AGS_AUDIO(input->link)->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ child_recall_id = NULL;
+ }
+ }
+
+ /* go down */
+ ags_channel_recursive_play_output_threaded(input->link,
+ child_recall_id);
+ }
+
+ /* call input */
+ ags_recycling_thread_play_channel(AGS_RECYCLING_THREAD(AGS_CHANNEL(input)->recycling_thread),
+ G_OBJECT(input),
+ input_recall_id,
+ stage);
+
+ ags_iterator_thread_children_ready(AGS_ITERATOR_THREAD(AGS_RECYCLING_THREAD(input->recycling_thread)->iterator_thread),
+ AGS_THREAD(input->recycling_thread));
+ }
+ void ags_channel_recursive_play_input_async_threaded(AgsChannel *input,
+ AgsRecallID *default_recall_id){
+ AgsAudio *audio;
+ AgsRecallID *input_recall_id, *child_recall_id;
+
+ /* iterate AgsInputs */
+ while(input != NULL){
+ gint child_position;
+
+ /* input_recall_id - check if there is a new recycling */
+ child_position = ags_recycling_container_find_child(default_recall_id->recycling_container,
+ input->first_recycling);
+
+ if(child_position == -1){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+ }else{
+ GList *list;
+
+ list = g_list_nth(default_recall_id->recycling_container->children,
+ child_position);
+
+ if(list != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ input_recall_id = NULL;
+ }
+ }
+
+ /* check if we go down */
+ if(input->link != NULL){
+ /* child_recall_id - check if there is a recycling */
+ child_position = ags_recycling_container_find_child(input_recall_id->recycling_container,
+ input->link->first_recycling);
+
+ if(child_position == -1){
+ child_recall_id = ags_recall_id_find_recycling_container(input->link->recall_id,
+ input_recall_id->recycling_container);
+ }else{
+ GList *list;
+
+ list = g_list_nth(default_recall_id->recycling_container->children,
+ child_position);
+
+ if(list != NULL){
+ child_recall_id = ags_recall_id_find_recycling_container(input->link->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ child_recall_id = NULL;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_play_output_threaded(input->link,
+ child_recall_id);
+ }
+
+ /* call input */
+ ags_recycling_thread_play_channel(AGS_RECYCLING_THREAD(AGS_CHANNEL(input)->recycling_thread),
+ G_OBJECT(input),
+ input_recall_id,
+ stage);
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ ags_iterator_thread_children_ready(AGS_ITERATOR_THREAD(AGS_RECYCLING_THREAD(input->recycling_thread)->iterator_thread),
+ AGS_THREAD(input->recycling_thread));
+ }
+ void ags_channel_recursive_play_output_threaded(AgsChannel *output, AgsRecallID *output_recall_id){
+ AgsAudio *audio;
+ AgsChannel *input;
+ AgsRecallID *default_recall_id;
+ gint child_position;
+
+ audio = AGS_AUDIO(output->audio);
+
+ /* call input */
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ // if(ags_recall_id_get_run_stage(output_recall_id, stage)){
+ /* block sync|async for this run */
+ // ags_channel_recall_id_set(output, output_recall_id, TRUE,
+ // AGS_CHANNEL_RECALL_ID_RUN_STAGE,
+ // "stage\0", stage,
+ // NULL);
+
+
+ /* input_recall_id - check if there is a new recycling */
+ child_position = ags_recycling_container_find_child(output_recall_id->recycling_container,
+ input->first_recycling);
+
+ if(child_position == -1){
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ output_recall_id->recycling_container);
+ }else{
+ GList *list;
+
+ list = g_list_nth(output_recall_id->recycling_container->children,
+ child_position);
+
+ if(list != NULL){
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ default_recall_id = NULL;
+ }
+ }
+
+ /* run in AGS_AUDIO_ASYNC mode */
+ ags_channel_recursive_play_input_async_threaded(input,
+ default_recall_id);
+ // }else{
+ /* unblock sync|async for next run */
+ // if((AGS_CHANNEL_RUNNING & (output->flags)) != 0){
+ // ags_recall_id_unset_run_stage(output_recall_id, stage);
+ // }
+ // }
+
+ /* call audio */
+ if(default_recall_id->recycling_container != output_recall_id->recycling_container){
+ ags_recycling_thread_play_audio(AGS_RECYCLING_THREAD(AGS_CHANNEL(output)->recycling_thread),
+ G_OBJECT(output), G_OBJECT(audio),
+ default_recall_id,
+ stage);
+ }
+
+ ags_recycling_thread_play_audio(AGS_RECYCLING_THREAD(AGS_CHANNEL(output)->recycling_thread),
+ G_OBJECT(output), G_OBJECT(audio),
+ output_recall_id,
+ stage);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+
+ /* input_recall_id - check if there is a new recycling */
+ child_position = ags_recycling_container_find_child(output_recall_id->recycling_container,
+ input->first_recycling);
+
+ if(child_position == -1){
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ output_recall_id->recycling_container);
+ }else{
+ GList *list;
+
+ list = g_list_nth(output_recall_id->recycling_container->children,
+ child_position);
+
+ if(list != NULL){
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ default_recall_id = NULL;
+ }
+ }
+
+ /* traverse the tree */
+ ags_channel_recursive_play_input_sync_threaded(input,
+ default_recall_id);
+
+ /* call audio */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ ags_recycling_thread_play_audio(AGS_RECYCLING_THREAD(output->recycling_thread),
+ G_OBJECT(output), G_OBJECT(audio),
+ default_recall_id,
+ stage);
+ }
+
+ ags_recycling_thread_play_audio(AGS_RECYCLING_THREAD(output->recycling_thread),
+ G_OBJECT(output), G_OBJECT(audio),
+ output_recall_id,
+ stage);
+ }
+
+ /* call output */
+ ags_recycling_thread_play_channel(AGS_RECYCLING_THREAD(output->recycling_thread),
+ G_OBJECT(output),
+ output_recall_id,
+ stage);
+
+ ags_iterator_thread_children_ready(AGS_ITERATOR_THREAD(AGS_RECYCLING_THREAD(output->recycling_thread)->iterator_thread),
+ AGS_THREAD(output->recycling_thread));
+ }
+ void ags_channel_recursive_play_up_threaded(AgsChannel *channel, AgsRecallID *recall_id){
+ AgsAudio *audio;
+
+ if(channel == NULL)
+ return;
+
+ audio = AGS_AUDIO(channel->audio);
+
+ if(AGS_IS_INPUT(channel)){
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ return;
+
+ goto ags_channel_recursive_play_up0;
+ }else{
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ return;
+
+ goto ags_channel_recursive_play_up1;
+ }
+
+ while(channel != NULL){
+ audio = AGS_AUDIO(channel->audio);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ return;
+
+ /* play input */
+ recall_id = ags_recall_id_find_recycling_container(channel->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_recursive_play_up0:
+ ags_recycling_thread_play_channel(AGS_RECYCLING_THREAD(channel->recycling_thread),
+ G_OBJECT(channel),
+ recall_id,
+ stage);
+
+ ags_iterator_thread_children_ready(AGS_ITERATOR_THREAD(AGS_RECYCLING_THREAD(channel->recycling_thread)->iterator_thread),
+ AGS_THREAD(channel->recycling_thread));
+
+ /* play audio */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ return;
+
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ /* get output */
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0)
+ channel = ags_channel_nth(audio->output, channel->audio_channel);
+ else
+ channel = ags_channel_nth(audio->output, channel->line);
+
+ ags_recycling_thread_play_audio(AGS_RECYCLING_THREAD(channel->recycling_thread),
+ G_OBJECT(channel), G_OBJECT(audio),
+ recall_id,
+ stage);
+
+ /* play output */
+ recall_id = ags_recall_id_find_recycling_container(channel->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_recursive_play_up1:
+ ags_recycling_thread_play_channel(AGS_RECYCLING_THREAD(channel->recycling_thread),
+ G_OBJECT(channel),
+ recall_id,
+ stage);
+
+ ags_iterator_thread_children_ready(AGS_ITERATOR_THREAD(AGS_RECYCLING_THREAD(channel->recycling_thread)->iterator_thread),
+ AGS_THREAD(channel->recycling_thread));
+
+ channel = channel->link;
+ }
+ }
+
+ /* entry point */
+ if(AGS_IS_OUTPUT(channel)){
+ ags_channel_recursive_play_output_threaded(channel,
+ recall_id);
+ }else{
+ ags_channel_recursive_play_input_sync_threaded(channel,
+ recall_id);
+ }
+
+ ags_channel_recursive_play_up_threaded(channel->link,
+ recall_id);
+}
+
+/**
+ * ags_channel_recursive_play:
+ * @channel: an #AgsChannel
+ * @recall_id: appropriate #AgsRecallID
+ * @stage: run_pre, run_inter or run_post
+ *
+ * Call recursively ags_channel_play() and ags_audio_play()
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_recursive_play(AgsChannel *channel,
+ AgsRecallID *recall_id, gint stage)
+{
+ auto void ags_channel_recursive_play_up(AgsChannel *channel,
+ AgsRecallID *recall_id);
+ auto void ags_channel_recursive_play_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id);
+ auto void ags_channel_recursive_play_down(AgsChannel *output,
+ AgsRecallID *recall_id);
+
+ void ags_channel_recursive_play_up(AgsChannel *channel,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_recursive_play_up_OUTPUT;
+ }
+
+ /* goto toplevel AgsChannel */
+ while(current != NULL){
+ /* AgsInput */
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_play(current,
+ recall_id,
+ stage);
+
+ /* AgsAudio */
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_play(audio,
+ recall_id,
+ stage);
+
+ /* AgsOutput */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output, current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output, current->line);
+ }
+
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_recursive_play_up_OUTPUT:
+ ags_channel_play(current,
+ recall_id,
+ stage);
+
+ if(current == channel){
+ AgsRecallID *audio_recall_id;
+
+ /* AgsAudio */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_play(audio,
+ audio_recall_id,
+ stage);
+ }
+
+ /* iterate */
+ if(current->link == NULL){
+ break;
+ }
+
+ audio = AGS_AUDIO(current->link->audio);
+
+ //NOTE:JK: see documentation
+ // if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ // break;
+
+ current = current->link;
+ }
+ }
+ void ags_channel_recursive_play_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input, *input_start;
+ AgsRecallID *input_recall_id;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(audio->input == NULL){
+ return;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){ /* async order of channels within audio */
+ /* retrieve input */
+ input_start =
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ /* play recalls on input */
+ while(input != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* play input */
+ ags_channel_play(input,
+ input_recall_id,
+ stage);
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ /* traverse the tree */
+ input = input_start;
+
+ while(input != NULL){
+ if(input->link != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* follow the links */
+ ags_channel_recursive_play_down(input->link,
+ input_recall_id);
+ }
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ }else{ /* sync order of channels within audio */
+ /* retrieve input */
+ input = ags_channel_nth(audio->input, output->line);
+
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* play recalls on input */
+ ags_channel_play(input,
+ input_recall_id,
+ stage);
+
+ /* follow the links */
+ if(input->link != NULL){
+ /* follow the links */
+ ags_channel_recursive_play_down(input->link,
+ input_recall_id);
+ }
+ }
+ }
+ void ags_channel_recursive_play_down(AgsChannel *output,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+ GList *list;
+
+ if(output == NULL){
+ return;
+ }
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ if(recall_id->recycling_container->parent != NULL){
+ list = output->recall_id;
+
+ while(list != NULL){
+ if(AGS_RECALL_ID(list->data)->recycling_container->parent == recall_id->recycling_container){
+ recall_id = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list == NULL){
+ recall_id = NULL;
+ }
+ }
+ }else{
+ recall_id = ags_recall_id_find_recycling_container(output->recall_id,
+ recall_id->recycling_container);
+ }
+
+ /* play output */
+ ags_channel_play(output,
+ recall_id,
+ stage);
+
+ /* retrieve next recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ AgsChannel *input;
+ AgsRecyclingContainer *recycling_container;
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+ }
+
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ list = audio_recall_id->recycling_container->children;
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ default_recall_id = audio_recall_id;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* call function which play input */
+ ags_channel_recursive_play_down_input(output,
+ default_recall_id);
+
+ /* play audio */
+ ags_audio_play(audio,
+ audio_recall_id,
+ stage);
+
+ ags_audio_play(audio,
+ default_recall_id,
+ stage);
+ }else{
+ /* call function which play input */
+ ags_channel_recursive_play_down_input(output,
+ default_recall_id);
+
+ /* play audio */
+ ags_audio_play(audio,
+ audio_recall_id,
+ stage);
+ }
+ }
+
+ /* entry point */
+ if(AGS_IS_OUTPUT(channel)){
+ ags_channel_recursive_play_down(channel,
+ recall_id);
+ }else{
+ AgsAudio *audio;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+
+ audio = channel->audio;
+
+ /* get audio recall id */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ /* get default recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ default_recall_id = audio_recall_id;
+ }else{
+ default_recall_id = recall_id;
+ }
+
+ /* follow the links */
+ if(channel->link != NULL){
+ ags_channel_recursive_play_down(channel->link,
+ default_recall_id);
+ }
+ }
+
+ ags_channel_recursive_play_up(channel,
+ recall_id);
+}
+
+/**
+ * ags_channel_duplicate_recall:
+ * @channel: an #AgsChannel that contains the #AgsRecall templates
+ * @playback: if a #AgsRecall that is dedicated to a playback should be duplicated
+ * @sequencer: if a #AgsRecall that is dedicated to a sequencer should be duplicated
+ * @notation: if a #AgsRecall that is dedicated to a notation should be duplicated
+ * @recall_id: the #AgsRecallID the newly allocated #AgsRecall objects belongs to
+ *
+ * Duplicate #AgsRecall templates for use with ags_channel_recursive_play(),
+ * but ags_channel_recursive_play_init() may call this function for you.
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_duplicate_recall(AgsChannel *channel,
+ AgsRecallID *recall_id)
+{
+ AgsAudio *audio;
+ AgsRecall *recall, *copy;
+ GList *list_recall;
+ gboolean playback, sequencer, notation;
+
+ //#ifdef AGS_DEBUG
+ g_message("duplicate channel %d\0", channel->line);
+ //#endif
+
+ audio = AGS_AUDIO(channel->audio);
+
+ playback = FALSE;
+ sequencer = FALSE;
+ notation = FALSE;
+
+ if((AGS_RECALL_ID_PLAYBACK & (recall_id->flags)) != 0){
+ playback = TRUE;
+ }
+
+ if((AGS_RECALL_ID_SEQUENCER & (recall_id->flags)) != 0){
+ sequencer = TRUE;
+ }
+
+ if((AGS_RECALL_ID_NOTATION & (recall_id->flags)) != 0){
+ notation = TRUE;
+ }
+
+ /* get the appropriate lists */
+ if(recall_id->recycling_container->parent == NULL){
+ list_recall = channel->play;
+ }else{
+ list_recall = channel->recall;
+ }
+
+ /* */
+ while(list_recall != NULL){
+ recall = AGS_RECALL(list_recall->data);
+
+ /* ignore initialized or non-runnable AgsRecalls */
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) == 0 ||
+ AGS_IS_RECALL_AUDIO(recall) || AGS_IS_RECALL_CHANNEL(recall) ||
+ !((playback && (AGS_RECALL_PLAYBACK & (recall->flags)) != 0) ||
+ (sequencer && (AGS_RECALL_SEQUENCER & (recall->flags)) != 0) ||
+ (notation && (AGS_RECALL_NOTATION & (recall->flags)) != 0))){
+ list_recall = list_recall->next;
+ continue;
+ }
+
+ /* duplicate the recall */
+ copy = ags_recall_duplicate(recall, recall_id);
+
+ //#ifdef AGS_DEBUG
+ g_message("recall duplicated: %s\0", G_OBJECT_TYPE_NAME(copy));
+ //#endif
+
+ /* set appropriate flag */
+ if(playback){
+ ags_recall_set_flags(copy, AGS_RECALL_PLAYBACK);
+ }else if(sequencer){
+ ags_recall_set_flags(copy, AGS_RECALL_SEQUENCER);
+ }else if(notation){
+ ags_recall_set_flags(copy, AGS_RECALL_NOTATION);
+ }
+
+ /* append to AgsAudio */
+ if(recall_id->recycling_container->parent == NULL)
+ channel->play = g_list_append(channel->play, copy);
+ else
+ channel->recall = g_list_append(channel->recall, copy);
+
+ /* connect */
+ ags_connectable_connect(AGS_CONNECTABLE(copy));
+
+ /* notify run */
+ ags_recall_notify_dependency(recall, AGS_RECALL_NOTIFY_RUN, 1);
+
+ /* iterate */
+ list_recall = list_recall->next;
+ }
+}
+
+/**
+ * ags_channel_init_recall:
+ * @channel: an #AgsChannel that contains the recalls
+ * @recall_id: the #AgsRecallId this recall belongs to
+ *
+ * Prepare #AgsRecall objects to become runnning, ags_channel_recursive_play_init()
+ * may call this function for you.
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_init_recall(AgsChannel *channel, gint stage,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list_recall;
+
+#ifdef AGS_DEBUG
+ g_message("ags_channel_init_recall@%d - audio::IN[%u]; channel: %llu %llu\n\0",
+ stage,
+ AGS_AUDIO(channel->audio)->input_lines,
+ (long long unsigned int) channel->audio_channel,
+ (long long unsigned int) channel->pad);
+#endif
+
+ if(recall_id->recycling_container->parent == NULL)
+ list_recall = channel->play;
+ else
+ list_recall = channel->recall;
+
+ while(list_recall != NULL){
+ recall = AGS_RECALL(list_recall->data);
+
+ if(recall->recall_id == NULL ||
+ recall->recall_id->recycling_container != recall_id->recycling_container ||
+ AGS_IS_RECALL_CHANNEL(recall)){
+ list_recall = list_recall->next;
+ continue;
+ }
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) == 0){
+#ifdef AGS_DEBUG
+ g_message("recall run init: %s - %x\0", G_OBJECT_TYPE_NAME(recall), recall->flags);
+#endif
+
+ if(stage == 0){
+ ags_dynamic_connectable_connect_dynamic(AGS_DYNAMIC_CONNECTABLE(recall));
+
+ recall->flags &= (~AGS_RECALL_HIDE);
+ ags_recall_run_init_pre(recall);
+ recall->flags &= (~AGS_RECALL_REMOVE);
+ }else if(stage == 1){
+ ags_recall_run_init_inter(recall);
+ }else{
+ ags_recall_run_init_post(recall);
+ }
+ }
+
+ list_recall = list_recall->next;
+ }
+}
+
+/**
+ * ags_channel_recursive_play_init:
+ * @channel: the #AgsChannel to prepare
+ * @stage: valid values for @stage are: -1 for running all three stages, or the stages 0 through 2 to run
+ * just the specified stage. With stage is meant the #AgsRecall run_init_pre, #AgsRecall run_init_inter
+ * and #AgsRecall run_init_post stages.
+ * @arrange_recall_id: %TRUE if new #AgsRecallID objects should be created
+ * @duplicate_templates: %TRUE if the #AgsRecall templates should be duplicated
+ * @playback: %TRUE if the purpose is a simple playback of the tree, this option is used to omit the
+ * duplication of #AgsRecall templates which haven't set %AGS_RECALL_PLAYBACK flag
+ * @sequencer: %TRUE if the purpose is playing the tree for a sequencer, this option is used to omit the
+ * duplication of #AgsRecall templates which haven't set the %AGS_RECALL_SEQUENCER flag
+ * @notation: %TRUE if the purpose is playing the tree for a notation, this option is used to omit the
+ * duplication of #AgsRecall templates which haven't set the %AGS_RECALL_NOTATION flag
+ * @resolve_dependencies: %TRUE if the
+ * @recall_id: the initial recall id or %NULL
+ *
+ * Make the tree ready for a new #AgsDevoutPlay.
+ *
+ * Since: 0.3
+ */
+AgsRecallID*
+ags_channel_recursive_play_init(AgsChannel *channel, gint stage,
+ gboolean arrange_recall_id, gboolean duplicate_templates,
+ gboolean playback, gboolean sequencer, gboolean notation,
+ gboolean resolve_dependencies,
+ AgsRecallID *recall_id)
+{
+ AgsAudio *audio;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+ gint stage_stop;
+
+ auto AgsRecallID* ags_channel_recursive_play_init_arrange_recall_id_up(AgsChannel *channel,
+ AgsRecallID *recall_id,
+ gboolean initially_unowned);
+ auto AgsRecallID** ags_channel_recursive_play_init_arrange_recall_id_down_input(AgsChannel *output,
+ AgsRecallID *recall_id,
+ gboolean initially_unowned);
+ auto AgsRecallID* ags_channel_recursive_play_init_arrange_recall_id_down(AgsChannel *output,
+ AgsRecallID *recall_id,
+ gboolean initially_unowned);
+
+ auto void ags_channel_recursive_play_init_duplicate_up(AgsChannel *channel,
+ AgsRecallID *recall_id);
+ auto void ags_channel_recursive_play_init_duplicate_down_input(AgsChannel *output,
+ AgsRecallID *recall_id);
+ auto void ags_channel_recursive_play_init_duplicate_down(AgsChannel *output,
+ AgsRecallID *recall_id);
+
+ auto void ags_channel_recursive_play_init_resolve_up(AgsChannel *channel,
+ AgsRecallID *recall_id);
+ auto void ags_channel_recursive_play_init_resolve_down_input(AgsChannel *output,
+ AgsRecallID *recall_id);
+ auto void ags_channel_recursive_play_init_resolve_down(AgsChannel *output,
+ AgsRecallID *recall_id);
+
+ auto void ags_channel_recursive_play_init_up(AgsChannel *channel,
+ AgsRecallID *recall_id);
+ auto void ags_channel_recursive_play_init_down_input(AgsChannel *output,
+ AgsRecallID *recall_id);
+ auto void ags_channel_recursive_play_init_down(AgsChannel *output,
+ AgsRecallID *recall_id);
+
+ /*
+ * arrangeing recall ids is done from the axis to the root and then from the axis to the leafs
+ */
+ AgsRecallID* ags_channel_recursive_play_init_arrange_recall_id_up(AgsChannel *channel,
+ AgsRecallID *recall_id,
+ gboolean initially_unowned)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+ AgsRecallID *audio_recall_id;
+ AgsRecallID *default_recall_id;
+ AgsRecycling *recycling;
+ AgsRecyclingContainer *recycling_container;
+ gint recycling_length;
+ gint i;
+
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+ default_recall_id = NULL;
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ /* create toplevel recycling container */
+ recycling_length = ags_recycling_position(channel->first_recycling, channel->last_recycling->next,
+ channel->last_recycling);
+ recycling_length += 1;
+
+ recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "length\0", recycling_length,
+ "parent\0", NULL,
+ NULL);
+ ags_audio_add_recycling_container(audio,
+ recycling_container);
+
+ /* recycling */
+ recycling = channel->first_recycling;
+
+ for(i = 0; i < recycling_length; i++){
+ recycling_container->recycling[i] = recycling;
+
+ recycling = recycling->next;
+ }
+
+ /* output recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", channel->first_recycling,
+ "recycling_container\0", recycling_container,
+ NULL);
+ g_object_set(recycling_container,
+ "recall_id\0", recall_id,
+ NULL);
+ ags_channel_add_recall_id(channel,
+ recall_id);
+
+ if(playback){
+ recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ /* audio recall id */
+ audio_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", recall_id->recycling_container,
+ "recycling\0", channel->first_recycling,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ audio_recall_id);
+
+ if(playback){
+ audio_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ audio_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ audio_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ goto ags_channel_recursive_play_init_up_OUTPUT;
+ }else{
+ /* recycling container */
+ recycling_length = ags_recycling_position(channel->first_recycling, channel->last_recycling->next,
+ channel->last_recycling);
+ recycling_length += 1;
+
+ recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "length\0", recycling_length,
+ "parent\0", NULL,
+ NULL);
+ ags_audio_add_recycling_container(audio,
+ recycling_container);
+
+ /* recycling */
+ recycling = channel->first_recycling;
+
+ for(i = 0; i < recycling_length; i++){
+ recycling_container->recycling[i] = recycling;
+
+ recycling = recycling->next;
+ }
+
+ /* input recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", channel->first_recycling,
+ "recycling_container\0", recycling_container,
+ NULL);
+ g_object_set(recycling_container,
+ "recall_id\0", recall_id,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ recall_id);
+
+ if(playback){
+ audio_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ audio_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ audio_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ /* audio recall id */
+ audio_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", recall_id->recycling_container,
+ "recycling\0", channel->first_recycling,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ audio_recall_id);
+
+ if(playback){
+ audio_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ audio_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ audio_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+ }
+
+ /* goto toplevel AgsChannel */
+ while(current != NULL){
+ /* input recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", current->first_recycling,
+ "recycling_container\0", recall_id->recycling_container,
+ NULL);
+ g_object_set(recycling_container,
+ "recall_id\0", recall_id,
+ NULL);
+ ags_channel_add_recall_id(current,
+ recall_id);
+
+ if(playback){
+ recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ /* audio recall id */
+ audio_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", current->first_recycling,
+ "recycling_container\0", recall_id->recycling_container,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ audio_recall_id);
+
+ if(playback){
+ audio_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ audio_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ audio_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ /* AgsOutput */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ ags_channel_recursive_play_init_up_OUTPUT:
+ if(current != channel){
+ /* output recall id with default recycling container */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", current->first_recycling,
+ "recycling_container\0", audio_recall_id->recycling_container,
+ NULL);
+ ags_channel_add_recall_id(current,
+ recall_id);
+
+ if(playback){
+ recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+ }
+
+ /* iterate */
+ if(current->link == NULL){
+ break;
+ }
+
+ audio = AGS_AUDIO(current->link->audio);
+
+ //NOTE:JK: see documentation
+ // if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ // break;
+
+ current = current->link;
+ }
+
+ return(recall_id);
+ }
+ AgsRecallID** ags_channel_recursive_play_init_arrange_recall_id_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id,
+ gboolean initially_unowned)
+ {
+ AgsAudio *audio;
+ AgsChannel *input;
+ AgsRecallID *input_recall_id;
+ AgsRecallID **recall_id;
+ AgsRecyclingContainer *recycling_container;
+
+ if(output == NULL){
+ return(NULL);
+ }
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(audio->input == NULL){
+ return(NULL);
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input, output->audio_channel);
+
+ recall_id = (AgsRecallID **) malloc((audio->input_pads + 1) * sizeof(AgsRecallID*));
+ recall_id[audio->input_pads] = NULL;
+
+ while(input != NULL){
+ /* input recall id */
+ input_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", default_recall_id->recycling_container,
+ "recycling\0", input->first_recycling,
+ NULL);
+ recall_id[input->pad] = recall_id;
+ ags_channel_add_recall_id(input,
+ input_recall_id);
+
+ if(playback){
+ input_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ input_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ input_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ /* follow the links */
+ if(input->link != NULL){
+ ags_channel_recursive_play_init_arrange_recall_id_down(input->link,
+ input_recall_id,
+ FALSE);
+ }
+
+ /* iterate */
+ input = input->next_pad;
+ }
+ }else{
+ input = ags_channel_nth(audio->input, output->line);
+
+ recall_id = (AgsRecallID **) malloc(2 * sizeof(AgsRecallID*));
+ recall_id[1] = NULL;
+
+ /* input recall id */
+ recall_id[0] =
+ input_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", default_recall_id->recycling_container,
+ "recycling\0", input->first_recycling,
+ NULL);
+ ags_channel_add_recall_id(input,
+ input_recall_id);
+
+ if(playback){
+ input_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ input_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ input_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+
+ /* follow the links */
+ if(input->link != NULL){
+ ags_channel_recursive_play_init_arrange_recall_id_down(input->link,
+ input_recall_id,
+ FALSE);
+ }
+ }
+
+ return(recall_id);
+ }
+ AgsRecallID* ags_channel_recursive_play_init_arrange_recall_id_down(AgsChannel *output,
+ AgsRecallID *recall_id,
+ gboolean initially_unowned)
+ {
+ AgsAudio *audio;
+ AgsChannel *input, *last_input;
+ AgsRecycling *recycling;
+ AgsRecyclingContainer *recycling_container;
+ AgsRecallID *output_recall_id, *audio_recall_id, *default_recall_id;
+ AgsRecallID **input_recall_id;
+ gint recycling_length;
+ gint i;
+
+ if(output == NULL){
+ return;
+ }
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(output->audio);
+ recycling_container = recall_id->recycling_container;
+
+ /* input */
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+ last_input = ags_channel_pad_last(input);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+ last_input = input;
+ }
+
+ /* AgsOutput */
+ /* recall id */
+ if(!initially_unowned){
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* output recycling container */
+ recycling_length = ags_recycling_position(output->first_recycling, output->last_recycling->next,
+ output->last_recycling);
+ recycling_length += 1;
+
+ recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "parent\0", recycling_container,
+ "length\0", recycling_length,
+ NULL);
+ ags_audio_add_recycling_container(audio,
+ recycling_container);
+
+ /* set up recycling container */
+ recycling = output->first_recycling;
+
+ for(i = 0; i < recycling_length; i++){
+ recycling_container->recycling[i] = recycling;
+
+ recycling = recycling->next;
+ }
+ }
+
+ /* output recall id */
+ output_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", recycling_container,
+ "recycling\0", output->first_recycling,
+ NULL);
+ ags_channel_add_recall_id(output,
+ output_recall_id);
+
+ if(playback){
+ output_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ output_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ output_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_object_set(recycling_container,
+ "recall_id\0", output_recall_id,
+ NULL);
+ }
+
+ /* create audio recall id */
+ audio_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", recycling_container,
+ "recycling\0", output->first_recycling,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ audio_recall_id);
+
+ if(playback){
+ audio_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ audio_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ audio_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+ }else{
+ /* get audio recall id */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recycling_container);
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* input recycling container */
+ recycling_length = ags_recycling_position(input->first_recycling, last_input->last_recycling->next,
+ last_input->last_recycling);
+ recycling_length += 1;
+
+ recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "parent\0", recycling_container,
+ "length\0", recycling_length,
+ NULL);
+ ags_audio_add_recycling_container(audio,
+ recycling_container);
+
+ /* set up recycling container */
+ recycling = input->first_recycling;
+
+ for(i = 0; i < recycling_length; i++){
+ recycling_container->recycling[i] = recycling;
+
+ recycling = recycling->next;
+ }
+ }
+
+ /* audio recall id */
+ default_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", recycling_container,
+ "recycling\0", input->first_recycling,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ default_recall_id);
+
+ if(playback){
+ default_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ default_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ default_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_object_set(recycling_container,
+ "recall_id\0", default_recall_id,
+ NULL);
+ }
+
+ /* follow the links */
+ input_recall_id = ags_channel_recursive_play_init_arrange_recall_id_down_input(output,
+ default_recall_id,
+ FALSE);
+ if(input_recall_id != NULL){
+ free(input_recall_id);
+ }
+
+ return(default_recall_id);
+ }
+
+ /*
+ * duplicateing template recalls is done from the root to the leafes
+ *
+ * externalized
+ * externalized
+ */
+
+ void ags_channel_recursive_play_init_duplicate_up(AgsChannel *channel,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_recursive_play_init_duplicate_up_OUTPUT;
+ }
+
+ /* goto toplevel AgsChannel */
+ while(current != NULL){
+ /* AgsInput */
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_duplicate_recall(current,
+ recall_id);
+
+ /* AgsAudio */
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_duplicate_recall(audio,
+ recall_id);
+
+ /* AgsOutput */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output, current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output, current->line);
+ }
+
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_recursive_play_init_duplicate_up_OUTPUT:
+ ags_channel_duplicate_recall(current,
+ recall_id);
+
+ if(current == channel){
+ /* AgsAudio */
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_duplicate_recall(audio,
+ recall_id);
+ }
+
+ /* iterate */
+ if(current->link == NULL){
+ break;
+ }
+
+ audio = AGS_AUDIO(current->link->audio);
+
+ //NOTE:JK: see documentation
+ // if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ // break;
+
+ current = current->link;
+ }
+ }
+ void ags_channel_recursive_play_init_duplicate_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input, *input_start;
+ AgsRecallID *input_recall_id;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(audio->input == NULL){
+ return;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){ /* async order of channels within audio */
+ /* retrieve input */
+ input_start =
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ /* duplicate recalls on input */
+ while(input != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* duplicate input */
+ ags_channel_duplicate_recall(input,
+ input_recall_id);
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ /* traverse the tree */
+ input = input_start;
+
+ while(input != NULL){
+ if(input->link != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* follow the links */
+ ags_channel_recursive_play_init_duplicate_down(input->link,
+ input_recall_id);
+ }
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ }else{ /* sync order of channels within audio */
+ /* retrieve input */
+ input = ags_channel_nth(audio->input, output->line);
+
+
+ /* duplicate recalls on input */
+ ags_channel_duplicate_recall(input,
+ input_recall_id);
+
+ /* follow the links */
+ if(input->link != NULL){
+ /* follow the links */
+ ags_channel_recursive_play_init_duplicate_down(input->link,
+ input_recall_id);
+ }
+ }
+ }
+ void ags_channel_recursive_play_init_duplicate_down(AgsChannel *output,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+ GList *list;
+
+ if(output == NULL){
+ return;
+ }
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(output->audio);
+
+ if(recall_id->recycling_container->parent != NULL){
+ list = output->recall_id;
+
+ while(list != NULL){
+ if(AGS_RECALL_ID(list->data)->recycling_container->parent == recall_id->recycling_container){
+ recall_id = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list == NULL){
+ recall_id = NULL;
+ }
+ }
+
+ /* duplicate output */
+ ags_channel_duplicate_recall(output,
+ recall_id);
+
+ /* retrieve next recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ AgsChannel *input;
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+ }
+
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ list = audio_recall_id->recycling_container->children;
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ default_recall_id = audio_recall_id;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* duplicate audio */
+ ags_audio_duplicate_recall(audio,
+ audio_recall_id);
+
+ ags_audio_duplicate_recall(audio,
+ default_recall_id);
+
+ /* call function which duplicates input */
+ ags_channel_recursive_play_init_duplicate_down_input(output,
+ default_recall_id);
+ }else{
+ /* duplicate audio */
+ ags_audio_duplicate_recall(audio,
+ audio_recall_id);
+
+ /* call function which duplicates input */
+ ags_channel_recursive_play_init_duplicate_down_input(output,
+ default_recall_id);
+ }
+ }
+
+ /*
+ * resolving recall dependencies has to be done from the root to the leafs
+ */
+ void ags_channel_recursive_play_init_resolve_up(AgsChannel *channel,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_recursive_play_init_resolve_up0;
+ }
+
+ while(current != NULL){
+ /* resolve input */
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_resolve_recall(current,
+ recall_id);
+
+ /* resolve audio */
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_resolve_recall(audio,
+ recall_id);
+
+ /* retrieve output */
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ /* stop if output has recycling */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ return;
+ }
+
+ /* resolve output */
+ recall_id = ags_recall_id_find_recycling_container(channel->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_recursive_play_init_resolve_up0:
+ ags_channel_resolve_recall(current,
+ recall_id);
+
+ if(current == channel){
+ AgsRecallID *audio_recall_id;
+
+ /* AgsAudio */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_resolve_recall(audio,
+ audio_recall_id);
+ }
+
+ /* iterate */
+ if(current->link == NULL)
+ break;
+
+ audio = AGS_AUDIO(current->link->audio);
+
+ //NOTE:JK: see documentation
+ // if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ // break;
+
+ current = current->link;
+ }
+ }
+ void ags_channel_recursive_play_init_resolve_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input, *input_start;
+ AgsRecallID *input_recall_id;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(audio->input == NULL){
+ return;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){ /* async order of channels within audio */
+ /* retrieve input */
+ input_start =
+ input = ags_channel_nth(audio->input, output->audio_channel);
+
+ /* resolve recall dependencies on input */
+ while(input != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* resolve input */
+ ags_channel_resolve_recall(input,
+ input_recall_id);
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ /* traverse the tree */
+ input = input_start;
+
+ while(input != NULL){
+ if(input->link != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* traverse the tree */
+ if(input->link != NULL){
+ /* follow the links */
+ ags_channel_recursive_play_init_resolve_down(input->link,
+ input_recall_id);
+ }
+ }
+
+ /* iterate */
+ input = input->next_pad;
+ }
+ }else{ /* sync order of channels within audio */
+ /* retrieve input */
+ input = ags_channel_nth(audio->input, output->line);
+
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* resolve recall dependencies on input */
+ ags_channel_resolve_recall(input,
+ input_recall_id);
+
+ /* traverse the tree */
+ if(input->link != NULL){
+
+ /* follow the links */
+ ags_channel_recursive_play_init_resolve_down(input->link,
+ input_recall_id);
+ }
+ }
+ }
+ void ags_channel_recursive_play_init_resolve_down(AgsChannel *output,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+ GList *list;
+
+ if(output == NULL){
+ return;
+ }
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(output->audio);
+
+ if(recall_id->recycling_container->parent != NULL){
+ list = output->recall_id;
+
+ while(list != NULL){
+ if(AGS_RECALL_ID(list->data)->recycling_container->parent == recall_id->recycling_container){
+ recall_id = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list == NULL){
+ recall_id = NULL;
+ }
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+ }
+
+ /* retrieve next recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ list = audio_recall_id->recycling_container->children;
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ default_recall_id = audio_recall_id;
+ }
+
+ /* resolve dependencies on output */
+ ags_channel_resolve_recall(output,
+ recall_id);
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* resolve dependencies on audio */
+ ags_audio_resolve_recall(audio,
+ audio_recall_id);
+
+ ags_audio_resolve_recall(audio,
+ default_recall_id);
+
+ /* traverse the tree */
+ ags_channel_recursive_play_init_resolve_down_input(output,
+ default_recall_id);
+ }else{
+ /* resolve dependencies on audio */
+ ags_audio_resolve_recall(audio,
+ audio_recall_id);
+
+ /* traverse the tree */
+ ags_channel_recursive_play_init_resolve_down_input(output,
+ default_recall_id);
+ }
+ }
+
+ /*
+ * run-initializing recalls is done from the leafs to the root
+ */
+ void ags_channel_recursive_play_init_up(AgsChannel *channel,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_recursive_play_init_up0;
+ }
+
+ /* goto toplevel AgsChannel */
+ while(current != NULL){
+ //NOTE:JK: see documentation
+ // if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ // break;
+
+ /* AgsInput */
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_init_recall(current, stage,
+ recall_id);
+
+ /* AgsAudio */
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_init_recall(audio, stage,
+ recall_id);
+
+ /* AgsOutput */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output, current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output, current->line);
+ }
+
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_recursive_play_init_up0:
+ ags_channel_init_recall(current, stage,
+ recall_id);
+
+ if(current == channel){
+ AgsRecallID *audio_recall_id;
+
+ /* AgsAudio */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_init_recall(audio, stage,
+ audio_recall_id);
+ }
+
+
+ /* iterate */
+ if(current->link == NULL){
+ break;
+ }
+
+ audio = AGS_AUDIO(current->link->audio);
+
+ current = current->link;
+ }
+ }
+ void ags_channel_recursive_play_init_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input;
+ AgsRecallID *input_recall_id;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(audio->input == NULL){
+ return;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ while(input != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* follow the links */
+ if(input->link != NULL){
+ ags_channel_recursive_play_init_down(input->link,
+ input_recall_id);
+ }
+
+ /* init recall */
+ ags_channel_init_recall(input, stage,
+ input_recall_id);
+
+ /* iterate */
+ input = input->next_pad;
+ }
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* follow the links */
+ if(input->link != NULL){
+ ags_channel_recursive_play_init_down(input->link,
+ input_recall_id);
+ }
+
+ /* init recall */
+ ags_channel_init_recall(input, stage,
+ input_recall_id);
+ }
+ }
+ void ags_channel_recursive_play_init_down(AgsChannel *output,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input;
+ AgsRecallID *default_recall_id, *audio_recall_id;
+ GList *list;
+
+ if(output == NULL){
+ return;
+ }
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(output->audio);
+
+ if(recall_id->recycling_container->parent != NULL){
+ list = output->recall_id;
+
+ while(list != NULL){
+ if(AGS_RECALL_ID(list->data)->recycling_container->parent == recall_id->recycling_container){
+ recall_id = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list == NULL){
+ recall_id = NULL;
+ }
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+ }
+
+ /* retrieve next recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ list = audio_recall_id->recycling_container->children;
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ default_recall_id = audio_recall_id;
+ }
+
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ ags_audio_init_recall(audio, stage,
+ audio_recall_id);
+
+ ags_audio_init_recall(audio, stage,
+ default_recall_id);
+
+ /* follow the links */
+ ags_channel_recursive_play_init_down_input(output,
+ default_recall_id);
+ }else{
+ ags_audio_init_recall(audio, stage,
+ audio_recall_id);
+
+ /* follow the links */
+ ags_channel_recursive_play_init_down_input(output,
+ default_recall_id);
+ }
+
+ /* init recall*/
+ ags_channel_init_recall(output, stage,
+ recall_id);
+ }
+
+
+ /*
+ * entry point
+ */
+ if(channel == NULL){
+ return(NULL);
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ /* arrange recall id */
+ if(arrange_recall_id){
+ if(AGS_IS_OUTPUT(channel)){
+ /* follow the links */
+ recall_id = ags_channel_recursive_play_init_arrange_recall_id_up(channel,
+ NULL,
+ FALSE);
+ }else{
+ AgsChannel *input;
+ AgsRecycling *recycling;
+ AgsRecyclingContainer *recycling_container;
+ guint recycling_length;
+ guint i;
+
+ input = channel;
+
+ /* input recycling container */
+ recycling_length = ags_recycling_position(input->first_recycling, input->last_recycling->next,
+ input->last_recycling);
+ recycling_length += 1;
+
+ recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "parent\0", NULL,
+ "length\0", recycling_length,
+ NULL);
+ audio->recycling_container = g_list_prepend(audio->recycling_container,
+ recycling_container);
+
+ /* set up recycling container */
+ recycling = input->first_recycling;
+
+ for(i = 0; i < recycling_length; i++){
+ recycling_container->recycling[i] = recycling;
+
+ recycling = recycling->next;
+ }
+
+ /* audio recall id */
+ default_recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", recycling_container,
+ "recycling\0", input->first_recycling,
+ NULL);
+ audio->recall_id = ags_recall_id_add(audio->recall_id,
+ default_recall_id);
+
+ if(playback){
+ default_recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ default_recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ default_recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_object_set(recycling_container,
+ "recall_id\0", default_recall_id,
+ NULL);
+ }
+
+ /* input recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling_container\0", default_recall_id->recycling_container,
+ "recycling\0", input->first_recycling,
+ NULL);
+ input->recall_id = ags_recall_id_add(input->recall_id,
+ recall_id);
+
+ if(playback){
+ recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if(sequencer){
+ recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if(notation){
+ recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+ }
+ }
+
+ /* get audio recall id */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ /* arrange recall id */
+ if(arrange_recall_id){
+ AgsRecallID *next_recall_id;
+
+ if(AGS_IS_OUTPUT(channel)){
+ next_recall_id = ags_channel_recursive_play_init_arrange_recall_id_down(channel,
+ audio_recall_id,
+ TRUE);
+ }else{
+ AgsChannel *input;
+
+ input = channel;
+ next_recall_id = ags_channel_recursive_play_init_arrange_recall_id_down(input->link,
+ recall_id,
+ TRUE);
+ }
+ }
+
+ /* get default recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ default_recall_id = audio_recall_id;
+ }else{
+ if(AGS_IS_OUTPUT(channel)){
+ AgsChannel *input;
+ GList *list;
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) == 0){
+ input = ags_channel_nth(audio->input,
+ channel->line);
+ }else{
+ input = ags_channel_nth(audio->input,
+ channel->audio_channel);
+ }
+
+ list = recall_id->recycling_container->children;
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }
+ }
+
+ /* duplicate AgsRecall templates */
+ if(duplicate_templates){
+ if(AGS_IS_OUTPUT(channel)){
+ ags_channel_recursive_play_init_duplicate_up(channel->link,
+ recall_id);
+
+ ags_channel_recursive_play_init_duplicate_down(channel,
+ recall_id);
+ }else{
+ /* duplicate input */
+ ags_channel_duplicate_recall(channel,
+ recall_id);
+
+ /* follow the links */
+ if(channel->link != NULL){
+ ags_channel_recursive_play_init_duplicate_down(channel->link,
+ recall_id);
+ }
+ }
+ }
+
+ /* resolve dependencies */
+ if(resolve_dependencies){
+ if(AGS_IS_OUTPUT(channel)){
+ ags_channel_recursive_play_init_resolve_up(channel->link,
+ recall_id);
+
+ ags_channel_recursive_play_init_resolve_down(channel,
+ recall_id);
+ }else{
+ /* resolve input */
+ ags_channel_resolve_recall(channel,
+ recall_id);
+
+ /* follow the links */
+ if(channel->link != NULL){
+ ags_channel_recursive_play_init_resolve_down(channel->link,
+ default_recall_id);
+ }
+ }
+ }
+
+ /* do the different stages of recall initializiation */
+ if(stage == -1){
+ stage = 0;
+ stage_stop = 3;
+ }else{
+ stage_stop = stage + 1;
+ }
+
+ if(stage == 0){
+ if(playback){
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] = recall_id;
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_PLAYBACK;
+ }
+
+ if(sequencer){
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1] = recall_id;
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_SEQUENCER;
+ }
+
+ if(notation){
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2] = recall_id;
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_NOTATION;
+ }
+ }
+
+ for(; stage < stage_stop;){
+ if(AGS_IS_OUTPUT(channel)){
+ ags_channel_recursive_play_init_down(channel,
+ recall_id);
+
+ ags_channel_recursive_play_init_up(channel->link,
+ recall_id);
+ }else{
+ if(channel->link != NULL){
+ ags_channel_recursive_play_init_down(channel->link,
+ default_recall_id);
+ }
+
+ /* init recall */
+ ags_channel_init_recall(channel, stage,
+ recall_id);
+ }
+
+ stage++;
+ }
+
+ return(recall_id);
+}
+
+/**
+ * ags_channel_remove:
+ * @channel: an #AgsChannel
+ * @recall_id: and #AgsRecallID
+ *
+ * Calls for every matching @recall_id ags_recall_remove()
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_remove(AgsChannel *channel,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list, *list_next;
+ gboolean play;
+
+ if(recall_id == NULL){
+ return;
+ }
+
+ if(recall_id->recycling_container->parent == NULL){
+ list = channel->play;
+ play = TRUE;
+ }else{
+ list = channel->recall;
+ play = FALSE;
+ }
+
+ while(list != NULL){
+ list_next = list->next;
+
+ recall = AGS_RECALL(list->data);
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) != 0 ||
+ recall->recall_id->recycling_container != recall_id->recycling_container){
+ list = list_next;
+ continue;
+ }
+
+ ags_recall_remove(recall);
+ ags_channel_remove_recall(channel,
+ recall,
+ play);
+ g_object_unref(recall_id);
+
+ list = list_next;
+ }
+
+ channel->recall_id = g_list_remove(channel->recall_id,
+ recall_id);
+ g_object_unref(recall_id);
+}
+
+/**
+ * ags_channel_cancel:
+ * @channel: an #AgsChannel
+ * @recall_id: and #AgsRecallID
+ *
+ * Calls for every matching @recall_id ags_recall_cancel()
+ *
+ * Since: 0.3
+ */
+void
+ags_channel_cancel(AgsChannel *channel,
+ AgsRecallID *recall_id)
+{
+ AgsRecall *recall;
+ GList *list, *list_next;
+
+ if(recall_id == NULL){
+ return;
+ }
+
+ g_object_ref(recall_id);
+
+ if(recall_id->recycling_container->parent == NULL){
+ list = channel->play;
+ }else{
+ list = channel->recall;
+ }
+
+ while(list != NULL){
+ list_next = list->next;
+
+ recall = AGS_RECALL(list->data);
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) != 0 ||
+ recall->recall_id->recycling_container != recall_id->recycling_container){
+ list = list_next;
+ continue;
+ }
+
+ g_object_ref(recall_id);
+ g_object_ref(recall);
+ ags_recall_cancel(recall);
+
+ list = list_next;
+ }
+}
+
+/**
+ * ags_channel_tillrecycling_cancel:
+ * @channel: an #AgsChannel
+ * @recall_id: an #AgsRecallID
+ *
+ * Traverses the tree down and up and calls ags_channel_cancel() for corresponding
+ * @recall_id.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_tillrecycling_cancel(AgsChannel *channel,
+ AgsRecallID *recall_id)
+{
+ AgsAudio *audio;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+
+ auto void ags_channel_tillrecycling_cancel_up(AgsChannel *channel,
+ AgsRecallID *recall_id);
+ auto void ags_channel_tillrecycling_cancel_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id);
+ auto void ags_channel_tillrecycling_cancel_down(AgsChannel *output,
+ AgsRecallID *recall_id);
+ auto void ags_channel_tillrecycling_remove_up(AgsChannel *channel,
+ AgsRecallID *recall_id);
+ auto void ags_channel_tillrecycling_remove_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id);
+ auto void ags_channel_tillrecycling_remove_down(AgsChannel *output,
+ AgsRecallID *recall_id);
+
+ void ags_channel_tillrecycling_cancel_up(AgsChannel *channel,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_tillrecycling_cancel_up_OUTPUT;
+ }
+
+ /* goto toplevel AgsChannel */
+ while(current != NULL){
+ /* AgsInput */
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_cancel(current,
+ recall_id);
+
+ /* AgsAudio */
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_cancel(audio,
+ recall_id);
+
+ /* AgsOutput */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output, current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output, current->line);
+ }
+
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_tillrecycling_cancel_up_OUTPUT:
+ ags_channel_cancel(current,
+ recall_id);
+
+ if(current == channel){
+ AgsRecallID *audio_recall_id;
+
+ /* AgsAudio */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_cancel(audio,
+ audio_recall_id);
+ }
+
+ /* iterate */
+ if(current->link == NULL){
+ break;
+ }
+
+ audio = AGS_AUDIO(current->link->audio);
+
+ //NOTE:JK: see documentation
+ // if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ // break;
+
+ current = current->link;
+ }
+ }
+ void ags_channel_tillrecycling_cancel_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input, *input_start;
+ AgsRecallID *input_recall_id;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(audio->input == NULL){
+ return;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){ /* async order of channels within audio */
+ /* retrieve input */
+ input_start =
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ /* cancel recalls on input */
+ while(input != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* cancel input */
+ ags_channel_cancel(input,
+ input_recall_id);
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ /* traverse the tree */
+ input = input_start;
+
+ while(input != NULL){
+ if(input->link != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* follow the links */
+ ags_channel_tillrecycling_cancel_down(input->link,
+ input_recall_id);
+ }
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ }else{ /* sync order of channels within audio */
+ /* retrieve input */
+ input = ags_channel_nth(audio->input, output->line);
+
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* cancel recalls on input */
+ ags_channel_cancel(input,
+ input_recall_id);
+
+ /* follow the links */
+ if(input->link != NULL){
+ /* follow the links */
+ ags_channel_tillrecycling_cancel_down(input->link,
+ input_recall_id);
+ }
+ }
+ }
+ void ags_channel_tillrecycling_cancel_down(AgsChannel *output,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+ GList *list;
+
+ if(output == NULL ||
+ recall_id == NULL){
+ return;
+ }
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ if(recall_id->recycling_container->parent != NULL){
+ list = output->recall_id;
+
+ while(list != NULL){
+ if(AGS_RECALL_ID(list->data)->recycling_container->parent == recall_id->recycling_container){
+ recall_id = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list == NULL){
+ recall_id = NULL;
+ }
+ }
+ }else{
+ recall_id = ags_recall_id_find_recycling_container(output->recall_id,
+ recall_id->recycling_container);
+ }
+
+ /* cancel output */
+ ags_channel_cancel(output,
+ recall_id);
+
+ /* retrieve next recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ AgsChannel *input;
+ AgsRecyclingContainer *recycling_container;
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+ }
+
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ list = audio_recall_id->recycling_container->children;
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ default_recall_id = audio_recall_id;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* call function which cancel input */
+ ags_channel_tillrecycling_cancel_down_input(output,
+ default_recall_id);
+
+ /* cancel audio */
+ ags_audio_cancel(audio,
+ audio_recall_id);
+
+ ags_audio_cancel(audio,
+ default_recall_id);
+ }else{
+ /* call function which cancel input */
+ ags_channel_tillrecycling_cancel_down_input(output,
+ default_recall_id);
+
+ /* cancel audio */
+ ags_audio_cancel(audio,
+ audio_recall_id);
+ }
+ }
+
+ void ags_channel_tillrecycling_remove_up(AgsChannel *channel,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL){
+ return;
+ }
+
+ audio = AGS_AUDIO(channel->audio);
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_tillrecycling_remove_up_OUTPUT;
+ }
+
+ /* goto toplevel AgsChannel */
+ while(current != NULL){
+ /* AgsInput */
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_remove(current,
+ recall_id);
+
+ /* AgsAudio */
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_remove(audio,
+ recall_id);
+
+ /* AgsOutput */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output, current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output, current->line);
+ }
+
+ recall_id = ags_recall_id_find_recycling_container(current->recall_id,
+ recall_id->recycling_container);
+
+ ags_channel_tillrecycling_remove_up_OUTPUT:
+ ags_channel_remove(current,
+ recall_id);
+
+ if(current == channel){
+ AgsRecallID *audio_recall_id;
+
+ /* AgsAudio */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ ags_audio_remove(audio,
+ audio_recall_id);
+ }
+
+ /* iterate */
+ if(current->link == NULL){
+ break;
+ }
+
+ audio = AGS_AUDIO(current->link->audio);
+
+ //NOTE:JK: see documentation
+ // if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ // break;
+
+ current = current->link;
+ }
+ }
+ void ags_channel_tillrecycling_remove_down_input(AgsChannel *output,
+ AgsRecallID *default_recall_id)
+ {
+ AgsAudio *audio;
+ AgsChannel *input, *input_start;
+ AgsRecallID *input_recall_id;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if(audio->input == NULL){
+ return;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){ /* async order of channels within audio */
+ /* retrieve input */
+ input_start =
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ /* remove recalls on input */
+ while(input != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* remove input */
+ ags_channel_remove(input,
+ input_recall_id);
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ /* traverse the tree */
+ input = input_start;
+
+ while(input != NULL){
+ if(input->link != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* follow the links */
+ ags_channel_tillrecycling_remove_down(input->link,
+ input_recall_id);
+ }
+
+ /* iterate */
+ input = input->next_pad;
+ }
+
+ }else{ /* sync order of channels within audio */
+ /* retrieve input */
+ input = ags_channel_nth(audio->input, output->line);
+
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ default_recall_id->recycling_container);
+
+ /* remove recalls on input */
+ ags_channel_remove(input,
+ input_recall_id);
+
+ /* follow the links */
+ if(input->link != NULL){
+ /* follow the links */
+ ags_channel_tillrecycling_remove_down(input->link,
+ input_recall_id);
+ }
+ }
+ }
+ void ags_channel_tillrecycling_remove_down(AgsChannel *output,
+ AgsRecallID *recall_id)
+ {
+ AgsAudio *audio;
+ AgsRecallID *audio_recall_id, *default_recall_id;
+ GList *list;
+
+ if(output == NULL ||
+ recall_id == NULL){
+ return;
+ }
+
+ /* AgsAudio */
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ if(recall_id->recycling_container->parent != NULL){
+ list = output->recall_id;
+
+ while(list != NULL){
+ if(AGS_RECALL_ID(list->data)->recycling_container->parent == recall_id->recycling_container){
+ recall_id = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list == NULL){
+ recall_id = NULL;
+ }
+ }
+ }else{
+ recall_id = ags_recall_id_find_recycling_container(output->recall_id,
+ recall_id->recycling_container);
+ }
+
+ /* remove output */
+ ags_channel_remove(output,
+ recall_id);
+
+ /* retrieve next recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ AgsChannel *input;
+ AgsRecyclingContainer *recycling_container;
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input,
+ output->audio_channel);
+ }else{
+ input = ags_channel_nth(audio->input,
+ output->line);
+ }
+
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ list = audio_recall_id->recycling_container->children;
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ default_recall_id = audio_recall_id;
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* call function which remove input */
+ ags_channel_tillrecycling_remove_down_input(output,
+ default_recall_id);
+
+ /* remove audio */
+ ags_audio_remove(audio,
+ audio_recall_id);
+
+ ags_audio_remove(audio,
+ default_recall_id);
+ }else{
+ /* call function which remove input */
+ ags_channel_tillrecycling_remove_down_input(output,
+ default_recall_id);
+
+ /* remove audio */
+ ags_audio_remove(audio,
+ audio_recall_id);
+ }
+ }
+
+ /* entry point */
+ audio = channel->audio;
+
+ if(AGS_IS_OUTPUT(channel)){
+ ags_channel_tillrecycling_cancel_down(channel,
+ recall_id);
+ }else{
+ /* get audio recall id */
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ /* get default recall id */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ default_recall_id = audio_recall_id;
+ }else{
+ default_recall_id = recall_id;
+ }
+
+ /* follow the links */
+ if(channel->link != NULL){
+ ags_channel_tillrecycling_cancel_down(channel->link,
+ default_recall_id);
+ }
+ }
+
+ ags_channel_tillrecycling_cancel_up(channel,
+ recall_id);
+
+ if(AGS_IS_OUTPUT(channel)){
+ ags_channel_tillrecycling_remove_down(channel,
+ recall_id);
+ }else{
+ /* follow the links */
+ if(channel->link != NULL){
+ ags_channel_tillrecycling_remove_down(channel->link,
+ default_recall_id);
+ }
+ }
+
+ ags_channel_tillrecycling_remove_up(channel,
+ recall_id);
+}
+
+/**
+ * ags_channel_recursive_reset_recall_ids:
+ * @channel: an #AgsChannel that was linked with @link
+ * @link: an #AgsChannel that was linked with @channel
+ * @old_channel_link: the old link of @channel
+ * @old_link_link: the old link of @link
+ *
+ * Called by ags_channel_set_link() to handle running #AgsAudio objects correctly.
+ * This function destroys #AgsRecall objects which were uneeded because they became
+ * invalid due to unlinking. By the way it destroys the uneeded #AgsRecallID objects, too.
+ * Additionally it creates #AgsRecall and #AgsRecallID objects to prepare becoming a
+ * running object (#AgsAudio or #AgsChannel).
+ * By the clean up the invalid #AgsRecall objects will be removed.
+ * Once the clean up has done ags_channel_recursive_play_init() will be called for every
+ * playing instance that was found.
+ *
+ * Since: 0.4
+ */
+void
+ags_channel_recursive_reset_recall_ids(AgsChannel *channel, AgsChannel *link,
+ AgsChannel *old_channel_link, AgsChannel *old_link_link)
+{
+ AgsRecyclingContainer *recycling_container;
+ GList *link_devout_play_list, *channel_devout_play_list;
+ GList *link_invalid_recall_id_list, *channel_invalid_recall_id_list;
+ GList *channel_recall_id_list, *link_recall_id_list;
+ GList *parent;
+ GList *list;
+ gint stage;
+
+ /* applying functions */
+ auto void ags_audio_reset_recall_id(AgsAudio *audio,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list);
+ auto void ags_channel_reset_recall_id(AgsChannel *channel,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list);
+
+ auto void ags_channel_recursive_reset_audio_duplicate_recall(AgsAudio *audio,
+ GList *recall_id_list);
+ auto void ags_channel_recursive_reset_channel_duplicate_recall(AgsChannel *channel,
+ GList *recall_id_list);
+
+ auto void ags_channel_recursive_reset_audio_resolve_recall(AgsAudio *audio,
+ GList *recall_id_list);
+ auto void ags_channel_recursive_reset_channel_resolve_recall(AgsChannel *channel,
+ GList *recall_id_list);
+
+ auto void ags_channel_recursive_reset_audio_init_recall(AgsAudio *audio,
+ GList *recall_id_list);
+ auto void ags_channel_recursive_reset_channel_init_recall(AgsChannel *channel,
+ GList *recall_id_list);
+
+ /* collectors of AgsDevoutPlay and recall_id */
+ auto GList* ags_channel_tillrecycling_collect_devout_play_down_input(AgsChannel *output,
+ GList *list, gboolean collect_recall_id);
+ auto GList* ags_channel_tillrecycling_collect_devout_play_down(AgsChannel *current,
+ GList *list, gboolean collect_recall_id);
+ auto GList* ags_channel_recursive_collect_devout_play_up(AgsChannel *channel,
+ gboolean collect_recall_id);
+
+ /* tree iterator functions */
+ auto void ags_channel_recursive_reset_recall_id_down_input(AgsChannel *output,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list);
+ auto void ags_channel_recursive_reset_recall_id_down(AgsChannel *current,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list);
+ auto void ags_channel_tillrecycling_reset_recall_id_up(AgsChannel *channel,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list);
+
+ auto void ags_channel_recursive_unset_recall_id_down_input(AgsChannel *output,
+ GList *invalid_recall_id_list);
+ auto void ags_channel_recursive_unset_recall_id_down(AgsChannel *current,
+ GList *invalid_recall_id_list);
+ auto void ags_channel_tillrecycling_unset_recall_id_up(AgsChannel *channel,
+ GList *invalid_recall_id_list);
+
+ auto void ags_channel_recursive_duplicate_recall_down_input(AgsChannel *output,
+ GList *recall_id_list);
+ auto void ags_channel_recursive_duplicate_recall_down(AgsChannel *channel,
+ GList *recall_id_list);
+ auto void ags_channel_tillrecycling_duplicate_recall_up(AgsChannel *channel,
+ GList *recall_id_list);
+
+ auto void ags_channel_recursive_resolve_recall_down_input(AgsChannel *output,
+ GList *recall_id);
+ auto void ags_channel_recursive_resolve_recall_down(AgsChannel *channel,
+ GList *recall_id);
+ auto void ags_channel_tillrecycling_resolve_recall_up(AgsChannel *channel,
+ GList *recall_id);
+
+ auto void ags_channel_recursive_init_recall_down_input(AgsChannel *output,
+ GList *recall_id);
+ auto void ags_channel_recursive_init_recall_down(AgsChannel *channel,
+ GList *recall_id);
+ auto void ags_channel_tillrecycling_init_recall_up(AgsChannel *channel,
+ GList *recall_id);
+
+ /* implementation */
+ void ags_audio_reset_recall_id(AgsAudio *audio,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list){
+ AgsChannel *channel;
+ AgsRecall *recall;
+ AgsRecallID *recall_id;
+ AgsDevoutPlay *devout_play;
+ GList *list;
+ gboolean play;
+ gboolean playback, sequencer, notation;
+
+ AgsRecycling *recycling;
+ gint recycling_length;
+ gint i;
+
+ while(invalid_recall_id_list != NULL){
+ recall_id = AGS_RECALL_ID(invalid_recall_id_list->data);
+
+ play = (recall_id->recycling_container->parent == NULL) ? TRUE: FALSE;
+ list = play ? audio->play: audio->recall;
+
+ /* remove AgsRecalls */
+ while((list = ags_recall_find_recycling_container(list, G_OBJECT(recall_id->recycling_container))) != NULL){
+ recall = AGS_RECALL(list->data);
+
+#ifdef AGS_DEBUG
+ g_message("reset recall id: invalidated\0");
+#endif
+
+ ags_audio_remove_recall(audio,
+ (GObject *) recall,
+ play);
+
+ list = list->next;
+ }
+
+ /* remove AgsRecallID */
+ ags_audio_remove_recall_id(audio, (GObject *) recall_id);
+
+ /* iterate */
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+
+ while(recall_id_list != NULL){
+ /* playback */
+ devout_play = AGS_DEVOUT_PLAY(devout_play_list->data);
+ playback = ((AGS_DEVOUT_PLAY_PLAYBACK & (devout_play->flags)) != 0) ? TRUE: FALSE;
+
+ if(playback){
+#ifdef AGS_DEBUG
+ g_message("recall id reset: play\0");
+#endif
+
+ /* append new recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", AGS_RECALL_ID(recall_id_list->data)->recycling,
+ "recycling_container\0", AGS_RECALL_ID(recall_id_list->data)->recycling_container,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ recall_id);
+
+ if((AGS_RECALL_ID_PLAYBACK & (AGS_RECALL_ID(recall_id_list->data)->flags)) != 0){
+ recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+ }
+
+ if((AGS_RECALL_ID_SEQUENCER & (AGS_RECALL_ID(recall_id_list->data)->flags)) != 0){
+ recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+ }
+
+ if((AGS_RECALL_ID_NOTATION & (AGS_RECALL_ID(recall_id_list->data)->flags)) != 0){
+ recall_id->flags |= AGS_RECALL_ID_NOTATION;
+ }
+
+ /* iterate */
+ recall_id_list = recall_id_list->next;
+ devout_play_list = devout_play_list->next;
+ }
+
+ if(recall_id_list == NULL){
+ break;
+ }
+
+ /* sequencer */
+ devout_play = AGS_DEVOUT_PLAY(devout_play_list->data);
+ sequencer = ((AGS_DEVOUT_PLAY_SEQUENCER & (devout_play->flags)) != 0) ? TRUE: FALSE;
+
+ if(sequencer){
+#ifdef AGS_DEBUG
+ g_message("recall id reset: sequencer\0");
+#endif
+
+ /* append new recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", AGS_RECALL_ID(recall_id_list->data)->recycling,
+ "recycling_container\0", AGS_RECALL_ID(recall_id_list->data)->recycling_container,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ recall_id);
+
+ /* iterate */
+ recall_id_list = recall_id_list->next;
+ devout_play_list = devout_play_list->next;
+
+ }
+
+ if(recall_id_list == NULL){
+ break;
+ }
+
+ /* notation */
+ devout_play = AGS_DEVOUT_PLAY(devout_play_list->data);
+ notation = ((AGS_DEVOUT_PLAY_NOTATION & (devout_play->flags)) != 0) ? TRUE: FALSE;
+
+ if(notation){
+#ifdef AGS_DEBUG
+ g_message("recall id reset: notation\0");
+#endif
+
+ /* append new recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", AGS_RECALL_ID(recall_id_list->data)->recycling,
+ "recycling_container\0", AGS_RECALL_ID(recall_id_list->data)->recycling_container,
+ NULL);
+ ags_audio_add_recall_id(audio,
+ recall_id);
+
+ /* iterate */
+ recall_id_list = recall_id_list->next;
+ devout_play_list = devout_play_list->next;
+ }
+ }
+ }
+ void ags_channel_reset_recall_id(AgsChannel *channel,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list){
+ AgsRecall *recall;
+ AgsRecallID *recall_id;
+ AgsDevoutPlay *devout_play;
+ GList *list;
+ gboolean play;
+ gboolean playback, sequencer, notation;
+
+ while(invalid_recall_id_list != NULL){
+ recall_id = AGS_RECALL_ID(invalid_recall_id_list->data);
+
+ play = (recall_id->recycling_container->parent == NULL) ? TRUE: FALSE;
+ list = play ? channel->play: channel->recall;
+
+ /* unref AgsRecalls */
+ while((list = ags_recall_find_recycling_container(list, G_OBJECT(recall_id->recycling_container))) != NULL){
+ recall = AGS_RECALL(list->data);
+
+ ags_channel_remove_recall(channel,
+ (GObject *) recall,
+ play);
+
+ list = list->next;
+ }
+
+ /* unref AgsRecallID */
+ ags_channel_remove_recall_id(channel,
+ recall_id);
+
+ /* iterate */
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+
+ while(recall_id_list != NULL){
+ /* playback */
+ devout_play = AGS_DEVOUT_PLAY(devout_play_list->data);
+ playback = (((AGS_DEVOUT_PLAY_PLAYBACK & (devout_play->flags)) != 0) ? TRUE: FALSE);
+
+ if(playback){
+#ifdef AGS_DEBUG
+ g_message("recall id reset: playback\0");
+#endif
+
+ /* append new recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", AGS_RECALL_ID(recall_id_list->data)->recycling,
+ "recycling_container\0", AGS_RECALL_ID(recall_id_list->data)->recycling_container,
+ NULL);
+ ags_channel_add_recall_id(channel,
+ recall_id);
+ recall_id->flags |= AGS_RECALL_ID_PLAYBACK;
+
+ /* iterate */
+ recall_id_list = recall_id_list->next;
+ devout_play_list = devout_play_list->next;
+ }
+
+ if(recall_id_list == NULL){
+ break;
+ }
+
+ /* sequencer */
+ devout_play = AGS_DEVOUT_PLAY(devout_play_list->data);
+ sequencer = (((AGS_DEVOUT_PLAY_SEQUENCER & (devout_play->flags)) != 0) ? TRUE: FALSE);
+
+ if(sequencer){
+#ifdef AGS_DEBUG
+ g_message("recall id reset: sequencer\0");
+#endif
+
+ /* append new recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", AGS_RECALL_ID(recall_id_list->data)->recycling,
+ "recycling_container\0", AGS_RECALL_ID(recall_id_list->data)->recycling_container,
+ NULL);
+ ags_channel_add_recall_id(channel,
+ recall_id);
+ recall_id->flags |= AGS_RECALL_ID_SEQUENCER;
+
+ /* iterate */
+ recall_id_list = recall_id_list->next;
+ devout_play_list = devout_play_list->next;
+ }
+
+ if(recall_id_list == NULL){
+ break;
+ }
+
+ /* notation */
+ devout_play = AGS_DEVOUT_PLAY(devout_play_list->data);
+ notation = (((AGS_DEVOUT_PLAY_NOTATION & (devout_play->flags)) != 0) ? TRUE: FALSE);
+
+ if(notation){
+#ifdef AGS_DEBUG
+ g_message("recall id reset: notation\0");
+#endif
+
+ /* append new recall id */
+ recall_id = g_object_new(AGS_TYPE_RECALL_ID,
+ "recycling\0", AGS_RECALL_ID(recall_id_list->data)->recycling,
+ "recycling_container\0", AGS_RECALL_ID(recall_id_list->data)->recycling_container,
+ NULL);
+ ags_channel_add_recall_id(channel,
+ recall_id);
+ recall_id->flags |= AGS_RECALL_ID_NOTATION;
+
+ /* iterate */
+ recall_id_list = recall_id_list->next;
+ devout_play_list = devout_play_list->next;
+ }
+ }
+ }
+
+ void ags_channel_recursive_reset_audio_duplicate_recall(AgsAudio *audio,
+ GList *recall_id_list){
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECALL_ID(recall_id_list->data)->recycling_container);
+
+ ags_audio_duplicate_recall(audio,
+ recall_id);
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+ void ags_channel_recursive_reset_channel_duplicate_recall(AgsChannel *channel,
+ GList *recall_id_list){
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = ags_recall_id_find_recycling_container(channel->recall_id,
+ AGS_RECALL_ID(recall_id_list->data)->recycling_container);
+
+ ags_channel_duplicate_recall(channel,
+ recall_id);
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ void ags_channel_recursive_reset_audio_resolve_recall(AgsAudio *audio,
+ GList *recall_id_list){
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECALL_ID(recall_id_list->data)->recycling_container);
+
+ ags_audio_resolve_recall(audio,
+ recall_id);
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+ void ags_channel_recursive_reset_channel_resolve_recall(AgsChannel *channel,
+ GList *recall_id_list){
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = ags_recall_id_find_recycling_container(channel->recall_id,
+ AGS_RECALL_ID(recall_id_list->data)->recycling_container);
+
+ ags_channel_resolve_recall(channel,
+ recall_id);
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ void ags_channel_recursive_reset_audio_init_recall(AgsAudio *audio,
+ GList *recall_id_list){
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ AGS_RECALL_ID(recall_id_list->data)->recycling_container);
+
+ ags_audio_init_recall(audio, stage,
+ recall_id);
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+ void ags_channel_recursive_reset_channel_init_recall(AgsChannel *channel,
+ GList *recall_id_list){
+ AgsAudio *audio;
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = ags_recall_id_find_recycling_container(channel->recall_id,
+ AGS_RECALL_ID(recall_id_list->data)->recycling_container);
+
+ ags_channel_init_recall(channel, stage,
+ recall_id);
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+ GList* ags_channel_tillrecycling_collect_devout_play_down_input(AgsChannel *output,
+ GList *list, gboolean collect_recall_id){
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(output == NULL){
+ return(NULL);
+ }
+
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ return(list);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ while(current != NULL){
+ /* collect recall id and the recalls purpose */
+ if(current->devout_play != NULL){
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: play\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: sequencer\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: notation\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2]: current->devout_play));
+ }
+ }
+
+ /* follow the links */
+ list = ags_channel_tillrecycling_collect_devout_play_down(current->link,
+ list, collect_recall_id);
+
+ current = current->next_pad;
+ }
+ }else{
+ current = ags_channel_nth(audio->input, output->line);
+
+ /* collect recall id and the recalls purpose */
+ if(current->devout_play != NULL){
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: play\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: sequencer\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: notation\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2]: current->devout_play));
+ }
+ }
+
+ /* follow the links */
+ list = ags_channel_tillrecycling_collect_devout_play_down(current->link,
+ list, collect_recall_id);
+ }
+
+ return(list);
+ }
+ GList* ags_channel_tillrecycling_collect_devout_play_down(AgsChannel *current,
+ GList *list, gboolean collect_recall_id){
+ AgsAudio *audio;
+
+ if(current == NULL){
+ return(list);
+ }
+
+ audio = AGS_AUDIO(current->audio);
+
+ /* collect devout play */
+ if(current->devout_play != NULL){
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: play\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: sequencer - a\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: notation\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2]: current->devout_play));
+ }
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0)
+ return(list);
+
+ /* follow the links */
+ list = ags_channel_tillrecycling_collect_devout_play_down_input(current,
+ list, collect_recall_id);
+
+ return(list);
+ }
+ GList* ags_channel_recursive_collect_devout_play_up(AgsChannel *channel,
+ gboolean collect_recall_id){
+ AgsAudio *audio;
+ AgsChannel *current;
+ GList *list;
+
+ if(channel == NULL){
+ return(NULL);
+ }
+
+ current = channel;
+ list = NULL;
+
+ if(AGS_IS_OUTPUT(channel)){
+ audio = AGS_AUDIO(current->audio);
+
+ goto ags_channel_recursive_collect_devout_play_upOUTPUT;
+ }
+
+ while(current != NULL){
+ audio = AGS_AUDIO(current->audio);
+
+ /* input */
+ if(current->devout_play != NULL){
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: play\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: sequencer\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: notation\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2]: current->devout_play));
+ }
+ }
+
+ if(audio->output == NULL){
+ break;
+ }
+
+ /* output */
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ ags_channel_recursive_collect_devout_play_upOUTPUT:
+ if(current->devout_play != NULL){
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: play\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[0]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: sequencer\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[1]: current->devout_play));
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (AGS_DEVOUT_PLAY(current->devout_play)->flags)) != 0 &&
+ AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2] != NULL){
+#ifdef AGS_DEBUG
+ g_message("recall id collect: notation\0");
+#endif
+
+ list = g_list_prepend(list,
+ (collect_recall_id ? AGS_DEVOUT_PLAY(current->devout_play)->recall_id[2]: current->devout_play));
+ }
+ }
+
+ current = current->link;
+ }
+
+ return(list);
+ }
+ void ags_channel_recursive_reset_recall_id_down_input(AgsChannel *output,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+ GList *next_recall_id_list;
+ GList *next_invalid_recall_id_list;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->input, output->audio_channel);
+
+ while(current != NULL){
+ /* reset AgsInput */
+ ags_channel_reset_recall_id(current,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ next_invalid_recall_id_list = invalid_recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+
+ next_invalid_recall_id_list = NULL;
+
+ while(invalid_recall_id_list != NULL){
+ next_invalid_recall_id_list = g_list_concat(next_invalid_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(invalid_recall_id_list)->recycling_container));
+
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_reset_recall_id_down(current->link,
+ next_recall_id_list, devout_play_list,
+ next_invalid_recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ g_list_free(next_invalid_recall_id_list);
+ }
+
+ current = current->next_pad;
+ }
+ }else{
+ current = ags_channel_nth(audio->input,
+ output->line);
+
+ /* reset AgsInput */
+ ags_channel_reset_recall_id(current,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ next_invalid_recall_id_list = invalid_recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+
+ next_invalid_recall_id_list = NULL;
+
+ while(invalid_recall_id_list != NULL){
+ next_invalid_recall_id_list = g_list_concat(next_invalid_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(invalid_recall_id_list)->recycling_container));
+
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_reset_recall_id_down(current->link,
+ recall_id_list, devout_play_list,
+ next_invalid_recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ g_list_free(next_invalid_recall_id_list);
+ }
+ }
+ }
+ void ags_channel_recursive_reset_recall_id_down(AgsChannel *current,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list)
+ {
+ AgsAudio *audio;
+ GList *next_recall_id_list;
+ GList *next_invalid_recall_id_list;
+
+ if(current == NULL)
+ return;
+
+ audio = AGS_AUDIO(current->audio);
+
+ /* reset on AgsOutput */
+ ags_channel_reset_recall_id(current,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ next_recall_id_list = recall_id_list;
+ next_invalid_recall_id_list = invalid_recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+
+ next_invalid_recall_id_list = NULL;
+
+ while(invalid_recall_id_list != NULL){
+ next_invalid_recall_id_list = g_list_concat(next_invalid_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(invalid_recall_id_list)->recycling_container));
+
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+ }
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ /* reset on AgsAudio */
+ ags_audio_reset_recall_id(audio,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+ /* reset new recall id on AgsAudio */
+ ags_audio_reset_recall_id(audio,
+ next_recall_id_list, devout_play_list,
+ next_invalid_recall_id_list);
+ }else{
+ /* reset on AgsAudio */
+ ags_audio_reset_recall_id(audio,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+ }
+
+ /* follow the links */
+ ags_channel_recursive_reset_recall_id_down_input(current,
+ recall_id_list, devout_play_list,
+ next_invalid_recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_list_free(next_recall_id_list);
+ g_list_free(next_invalid_recall_id_list);
+ }
+ }
+ void ags_channel_tillrecycling_reset_recall_id_up(AgsChannel *channel,
+ GList *recall_id_list, GList *devout_play_list,
+ GList *invalid_recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL)
+ return;
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ audio = AGS_AUDIO(current->audio);
+
+ goto ags_channel_tillrecycling_reset_recall_id_upOUTPUT;
+ }
+
+ while(current != NULL){
+ audio = AGS_AUDIO(current->audio);
+
+ /* input */
+ ags_channel_reset_recall_id(current,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ /* audio */
+ ags_audio_reset_recall_id(audio,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+ /* output */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ ags_channel_tillrecycling_reset_recall_id_upOUTPUT:
+ ags_channel_reset_recall_id(current,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+ ags_audio_reset_recall_id(audio,
+ recall_id_list, devout_play_list,
+ invalid_recall_id_list);
+
+ current = current->link;
+ }
+ }
+
+ void ags_channel_recursive_unset_recall_id_down_input(AgsChannel *output,
+ GList *invalid_recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+ GList *next_invalid_recall_id_list;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ while(current != NULL){
+ /* reset AgsInput */
+ ags_channel_reset_recall_id(current,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_invalid_recall_id_list = invalid_recall_id_list;
+ }else{
+ next_invalid_recall_id_list = NULL;
+
+ while(invalid_recall_id_list != NULL){
+ next_invalid_recall_id_list = g_list_concat(next_invalid_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(invalid_recall_id_list)->recycling_container));
+
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_unset_recall_id_down(current->link,
+ next_invalid_recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_list_free(next_invalid_recall_id_list);
+ }
+
+ current = current->next_pad;
+ }
+ }else{
+ current = ags_channel_nth(audio->input,
+ output->line);
+
+ /* reset AgsInput */
+ ags_channel_reset_recall_id(current,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_invalid_recall_id_list = invalid_recall_id_list;
+ }else{
+ next_invalid_recall_id_list = NULL;
+
+ while(invalid_recall_id_list != NULL){
+ next_invalid_recall_id_list = g_list_concat(next_invalid_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(invalid_recall_id_list)->recycling_container));
+
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_unset_recall_id_down(current->link,
+ next_invalid_recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_invalid_recall_id_list);
+ }
+ }
+ }
+ void ags_channel_recursive_unset_recall_id_down(AgsChannel *current,
+ GList *invalid_recall_id_list)
+ {
+ AgsAudio *audio;
+ GList *next_invalid_recall_id_list;
+
+ if(current == NULL)
+ return;
+
+ audio = AGS_AUDIO(current->audio);
+
+ /* reset on AgsOutput */
+ ags_channel_reset_recall_id(current,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ next_invalid_recall_id_list = invalid_recall_id_list;
+ }else{
+ next_invalid_recall_id_list = NULL;
+
+ while(invalid_recall_id_list != NULL){
+ next_invalid_recall_id_list = g_list_concat(next_invalid_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(invalid_recall_id_list)->recycling_container));
+
+ invalid_recall_id_list = invalid_recall_id_list->next;
+ }
+ }
+
+ /* reset on AgsAudio */
+ ags_audio_reset_recall_id(audio,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ ags_audio_reset_recall_id(audio,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+ ags_audio_reset_recall_id(audio,
+ NULL, NULL,
+ next_invalid_recall_id_list);
+ }else{
+ ags_audio_reset_recall_id(audio,
+ NULL, NULL,
+ invalid_recall_id_list);
+ }
+
+ /* go down */
+ ags_channel_recursive_unset_recall_id_down_input(current,
+ next_invalid_recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_list_free(next_invalid_recall_id_list);
+ }
+ }
+ void ags_channel_tillrecycling_unset_recall_id_up(AgsChannel *channel,
+ GList *invalid_recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL)
+ return;
+
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ audio = AGS_AUDIO(current->audio);
+
+ goto ags_channel_tillrecycling_reset_recall_id_upOUTPUT;
+ }
+
+ while(current != NULL){
+ audio = AGS_AUDIO(current->audio);
+
+ /* input */
+ ags_channel_reset_recall_id(current,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ /* audio */
+ ags_audio_reset_recall_id(audio,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+ /* output */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ ags_channel_tillrecycling_reset_recall_id_upOUTPUT:
+
+ ags_audio_reset_recall_id(audio,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+
+ ags_channel_reset_recall_id(current,
+ NULL, NULL,
+ invalid_recall_id_list);
+
+ current = current->link;
+ }
+ }
+
+ void ags_channel_recursive_duplicate_recall_down_input(AgsChannel *output,
+ GList *recall_id_list){
+
+ AgsAudio *audio;
+ AgsChannel *current;
+ GList *next_recall_id_list;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ while(current != NULL){
+ /* duplicate input */
+ ags_channel_recursive_reset_channel_duplicate_recall(current,
+ recall_id_list);
+
+ if(current->link != NULL){
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_duplicate_recall_down(current->link,
+ next_recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+
+ current = current->next_pad;
+ }
+ }else{
+ current = ags_channel_nth(audio->input,
+ output->line);
+
+ /* duplicate input */
+ ags_channel_recursive_reset_channel_duplicate_recall(current,
+ recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_duplicate_recall_down(current->link,
+ next_recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+ }
+ void ags_channel_recursive_duplicate_recall_down(AgsChannel *current,
+ GList *recall_id_list){
+
+ AgsAudio *audio;
+ GList *next_recall_id_list;
+
+ if(current == NULL)
+ return;
+
+ audio = AGS_AUDIO(current->audio);
+
+ /* duplicate output */
+ ags_channel_recursive_reset_channel_duplicate_recall(current,
+ recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* duplicate audio */
+ ags_channel_recursive_reset_audio_duplicate_recall(audio,
+ recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ ags_channel_recursive_reset_audio_duplicate_recall(audio,
+ next_recall_id_list);
+ }
+
+ /* go down */
+ ags_channel_recursive_duplicate_recall_down_input(current,
+ next_recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+ void ags_channel_tillrecycling_duplicate_recall_up(AgsChannel *channel,
+ GList *recall_id_list){
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL)
+ return;
+
+ audio = AGS_AUDIO(channel->audio);
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_tillrecycling_duplicate_recall_upOUTPUT;
+ }
+
+ while(current != NULL){
+ audio = AGS_AUDIO(current->audio);
+
+ /* duplicate input */
+ ags_channel_recursive_reset_channel_duplicate_recall(current,
+ recall_id_list);
+
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ /* duplicate audio */
+ ags_channel_recursive_reset_audio_duplicate_recall(audio,
+ recall_id_list);
+
+
+ /* duplicate output */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ ags_channel_tillrecycling_duplicate_recall_upOUTPUT:
+
+ ags_channel_recursive_reset_channel_duplicate_recall(current,
+ recall_id_list);
+
+
+ current = current->link;
+ }
+ }
+
+ void ags_channel_recursive_resolve_recall_down_input(AgsChannel *output,
+ GList *recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+ GList *next_recall_id_list;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->input,
+ output->audio_channel);
+
+ while(current != NULL){
+ /* resolve input */
+ ags_channel_recursive_reset_channel_resolve_recall(current,
+ recall_id_list);
+
+ if(current->link != NULL){
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_resolve_recall_down(current->link,
+ next_recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+
+ current = current->next_pad;
+ }
+ }else{
+ current = ags_channel_nth(audio->input,
+ output->line);
+
+ /* resolve input */
+ ags_channel_recursive_reset_channel_resolve_recall(current,
+ recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_resolve_recall_down(current->link,
+ next_recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+ }
+ void ags_channel_recursive_resolve_recall_down(AgsChannel *current,
+ GList *recall_id_list)
+ {
+ AgsAudio *audio;
+ GList *next_recall_id_list;
+
+ if(current == NULL)
+ return;
+
+ audio = AGS_AUDIO(current->audio);
+
+ /* resolve output */
+ ags_channel_recursive_reset_channel_resolve_recall(current,
+ recall_id_list);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* resolve audio */
+ ags_channel_recursive_reset_audio_resolve_recall(audio,
+ recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ ags_channel_recursive_reset_audio_resolve_recall(audio,
+ next_recall_id_list);
+ }
+
+ /* go down */
+ ags_channel_recursive_resolve_recall_down_input(current,
+ next_recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+ void ags_channel_tillrecycling_resolve_recall_up(AgsChannel *channel,
+ GList *recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL)
+ return;
+
+ audio = AGS_AUDIO(channel->audio);
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_tillrecycling_resolve_recall_upOUTPUT;
+ }
+
+ while(current != NULL){
+ audio = AGS_AUDIO(current->audio);
+
+ /* resolve input */
+ ags_channel_recursive_reset_channel_resolve_recall(current,
+ recall_id_list);
+
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ /* resolve audio */
+ ags_channel_recursive_reset_audio_resolve_recall(audio,
+ recall_id_list);
+
+
+ /* resolve output */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ ags_channel_tillrecycling_resolve_recall_upOUTPUT:
+
+ ags_channel_recursive_reset_channel_resolve_recall(current,
+ recall_id_list);
+
+
+ current = current->link;
+ }
+ }
+ void ags_channel_recursive_init_recall_down_input(AgsChannel *output,
+ GList *recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+ GList *next_recall_id_list;
+
+ audio = AGS_AUDIO(output->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->input, output->audio_channel);
+
+ while(current != NULL){
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_init_recall_down(current->link,
+ next_recall_id_list);
+
+ /* init AgsInput */
+ ags_channel_recursive_reset_channel_init_recall(current,
+ recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_list_free(next_recall_id_list);
+ }
+
+ current = current->next_pad;
+ }
+ }else{
+ current = ags_channel_nth(audio->input, output->line);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_init_recall_down(current->link,
+ next_recall_id_list);
+
+ /* init AgsInput */
+ ags_channel_recursive_reset_channel_init_recall(current,
+ recall_id_list);
+
+ /* free allocated lists */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+ }
+ void ags_channel_recursive_init_recall_down(AgsChannel *current,
+ GList *recall_id_list)
+ {
+ AgsAudio *audio;
+ GList *next_recall_id_list;
+
+ if(current == NULL)
+ return;
+
+ audio = AGS_AUDIO(current->audio);
+
+ /* retrieve next recall id list */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ next_recall_id_list = recall_id_list;
+ }else{
+ next_recall_id_list = NULL;
+
+ while(recall_id_list != NULL){
+ next_recall_id_list = g_list_concat(next_recall_id_list,
+ ags_recycling_container_get_child_recall_id(AGS_RECALL_ID(recall_id_list)->recycling_container));
+
+ recall_id_list = recall_id_list->next;
+ }
+ }
+
+ /* follow the links */
+ ags_channel_recursive_resolve_recall_down_input(current,
+ next_recall_id_list);
+
+ /* init audio */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ ags_channel_recursive_reset_audio_init_recall(audio,
+ next_recall_id_list);
+ }
+
+ ags_channel_recursive_reset_audio_init_recall(audio,
+ next_recall_id_list);
+
+ /* init output */
+ ags_channel_recursive_reset_channel_init_recall(current,
+ recall_id_list);
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) == 0){
+ g_list_free(next_recall_id_list);
+ }
+ }
+ void ags_channel_tillrecycling_init_recall_up(AgsChannel *channel,
+ GList *recall_id_list)
+ {
+ AgsAudio *audio;
+ AgsChannel *current;
+
+ if(channel == NULL)
+ return;
+
+ audio = AGS_AUDIO(channel->audio);
+ current = channel;
+
+ if(AGS_IS_OUTPUT(channel)){
+ goto ags_channel_tillrecycling_init_recall_upOUTPUT;
+ }
+
+ while(current != NULL){
+ audio = AGS_AUDIO(current->audio);
+
+ /* init input */
+ ags_channel_recursive_reset_channel_init_recall(current,
+ recall_id_list);
+
+
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ /* init audio */
+ ags_channel_recursive_reset_audio_init_recall(audio,
+ recall_id_list);
+
+
+ /* init output */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ break;
+ }
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current = ags_channel_nth(audio->output,
+ current->audio_channel);
+ }else{
+ current = ags_channel_nth(audio->output,
+ current->line);
+ }
+
+ ags_channel_tillrecycling_init_recall_upOUTPUT:
+
+ ags_channel_recursive_reset_channel_init_recall(current,
+ recall_id_list);
+
+
+ current = current->link;
+ }
+
+ }
+
+ /* entry point */
+ if(channel == NULL && link == NULL){
+ return;
+ }
+
+ if((link != NULL && (AGS_IS_OUTPUT(link)) ||
+ AGS_IS_INPUT(channel))){
+ AgsChannel *tmp, *tmp_old;
+
+ tmp = link;
+ link = channel;
+ channel = tmp;
+
+ tmp_old = old_link_link;
+ old_link_link = old_channel_link;
+ old_channel_link = tmp_old;
+ }
+
+ /* collect AgsDevoutPlays as lists */
+ /* go down */
+ channel_devout_play_list = NULL;
+ channel_devout_play_list = ags_channel_tillrecycling_collect_devout_play_down(channel,
+ channel_devout_play_list, FALSE);
+
+ /* go up */
+ link_devout_play_list = NULL;
+ link_devout_play_list = ags_channel_recursive_collect_devout_play_up(link,
+ FALSE);
+
+ /* retrieve lower */
+ channel_recall_id_list = NULL;
+ channel_recall_id_list = ags_channel_tillrecycling_collect_devout_play_down(channel,
+ channel_recall_id_list, TRUE);
+
+ /* retrieve upper */
+ link_recall_id_list = NULL;
+ link_recall_id_list = ags_channel_recursive_collect_devout_play_up(link,
+ TRUE);
+
+ /* retrieve invalid lower */
+ channel_invalid_recall_id_list = NULL;
+ channel_invalid_recall_id_list = ags_channel_tillrecycling_collect_devout_play_down(old_link_link,
+ channel_invalid_recall_id_list,
+ TRUE);
+
+ /* retrieve invalid upper */
+ link_invalid_recall_id_list = NULL;
+ link_invalid_recall_id_list = ags_channel_recursive_collect_devout_play_up(old_channel_link,
+ TRUE);
+
+ /* go down */
+ ags_channel_recursive_reset_recall_id_down(channel,
+ link_recall_id_list, link_devout_play_list,
+ channel_invalid_recall_id_list);
+
+ /* go up */
+ ags_channel_tillrecycling_reset_recall_id_up(link,
+ channel_recall_id_list, channel_devout_play_list,
+ link_invalid_recall_id_list);
+
+ /* unset recall ids */
+ /* go down */
+ ags_channel_recursive_unset_recall_id_down(old_link_link,
+ link_invalid_recall_id_list);
+
+ /* go up */
+ ags_channel_tillrecycling_unset_recall_id_up(old_channel_link,
+ channel_invalid_recall_id_list);
+
+ /* duplicate recalls */
+ /* go down */
+ ags_channel_recursive_duplicate_recall_down(channel,
+ link_recall_id_list);
+
+ /* go up */
+ ags_channel_tillrecycling_duplicate_recall_up(link,
+ channel_recall_id_list);
+
+ /* resolve recalls */
+ /* go down */
+ ags_channel_recursive_resolve_recall_down(channel,
+ link_recall_id_list);
+
+ /* go up */
+ ags_channel_tillrecycling_resolve_recall_up(link,
+ channel_recall_id_list);
+
+ /* init recalls */
+ for(stage = 0; stage < 3; stage++){
+ /* go down */
+ ags_channel_recursive_init_recall_down(channel,
+ link_recall_id_list);
+
+ /* go up */
+ ags_channel_tillrecycling_init_recall_up(link,
+ channel_recall_id_list);
+
+ }
+
+ /* free the lists */
+ g_list_free(channel_devout_play_list);
+ g_list_free(link_devout_play_list);
+
+ g_list_free(channel_invalid_recall_id_list);
+ g_list_free(link_invalid_recall_id_list);
+
+ g_list_free(channel_recall_id_list);
+ g_list_free(link_recall_id_list);
+}
+
+void
+ags_channel_recall_id_set(AgsChannel *output, AgsRecallID *default_recall_id, gboolean ommit_own_channel,
+ guint mode, ...)
+{
+ AgsChannel *current;
+ AgsRecallID *recall_id;
+ char *key;
+ guint stage;
+ gboolean async_recall;
+ va_list va_list;
+
+ va_start(va_list, mode);
+
+ switch(mode){
+ case AGS_CHANNEL_RECALL_ID_RUN_STAGE:
+ key = va_arg(va_list, char*);
+ stage = va_arg(va_list, guint);
+ break;
+ }
+
+ va_end(va_list);
+
+ if((AGS_AUDIO_ASYNC & (AGS_AUDIO(output->audio)->flags)) != 0)
+ async_recall = TRUE;
+ else
+ async_recall = FALSE;
+ switch(async_recall){
+ case TRUE:
+ current = output->next_pad;
+ while(current != NULL){
+ recall_id = ags_recall_id_find_parent_recycling_container(current->recall_id,
+ default_recall_id->recycling_container->parent);
+
+ if(recall_id == NULL)
+ return;
+
+ switch(mode){
+ case AGS_CHANNEL_RECALL_ID_RUN_STAGE:
+ ags_recall_id_set_run_stage(default_recall_id, stage);
+ break;
+ case AGS_CHANNEL_RECALL_ID_CANCEL:
+ recall_id->flags |= AGS_RECALL_ID_CANCEL;
+ break;
+ }
+
+ current = current->next_pad;
+ }
+
+ current = output->prev_pad;
+
+ while(current != NULL){
+ recall_id = ags_recall_id_find_parent_recycling_container(current->recall_id,
+ default_recall_id->recycling_container->parent);
+
+ switch(mode){
+ case AGS_CHANNEL_RECALL_ID_RUN_STAGE:
+ ags_recall_id_set_run_stage(default_recall_id, stage);
+ break;
+ case AGS_CHANNEL_RECALL_ID_CANCEL:
+ recall_id->flags |= AGS_RECALL_ID_CANCEL;
+ break;
+ }
+
+ current = current->prev_pad;
+ }
+ case FALSE:
+ if(ommit_own_channel)
+ break;
+
+ recall_id = ags_recall_id_find_parent_recycling_container(output->recall_id,
+ default_recall_id->recycling_container->parent);
+
+ if(recall_id == NULL)
+ return;
+
+ switch(mode){
+ case AGS_CHANNEL_RECALL_ID_RUN_STAGE:
+ ags_recall_id_set_run_stage(default_recall_id, stage);
+
+ break;
+ case AGS_CHANNEL_RECALL_ID_CANCEL:
+ recall_id->flags |= AGS_RECALL_ID_CANCEL;
+
+ break;
+ }
+ }
+}
+
+/**
+ * ags_channel_find_port:
+ * @channel: an #AgsChannel
+ *
+ * Retrieve all ports of #AgsChannel
+ *
+ * Returns: a #GList containing #AgsPort
+ *
+ * Since: 0.4
+ */
+GList*
+ags_channel_find_port(AgsChannel *channel)
+{
+ GList *recall;
+ GList *list;
+
+ list = NULL;
+
+ /* collect port of playing recall */
+ recall = channel->play;
+
+ while(recall != NULL){
+ if(AGS_RECALL(recall->data)->port != NULL){
+ if(list == NULL){
+ list = g_list_copy(AGS_RECALL(recall->data)->port);
+ }else{
+ if(AGS_RECALL(recall->data)->port != NULL){
+ list = g_list_concat(list,
+ g_list_copy(AGS_RECALL(recall->data)->port));
+ }
+ }
+ }
+
+ recall = recall->next;
+ }
+
+ /* the same for true recall */
+ recall = channel->recall;
+
+ while(recall != NULL){
+ if(AGS_RECALL(recall->data)->port != NULL){
+ if(list == NULL){
+ list = g_list_copy(AGS_RECALL(recall->data)->port);
+ }else{
+ if(AGS_RECALL(recall->data)->port != NULL){
+ list = g_list_concat(list,
+ g_list_copy(AGS_RECALL(recall->data)->port));
+ }
+ }
+ }
+
+ recall = recall->next;
+ }
+
+ /* */
+ list = g_list_reverse(list);
+
+ return(list);
+}
+
+/**
+ * ags_channel_new:
+ * @audio: the #AgsAudio
+ *
+ * Creates a #AgsChannel, linking tree to @audio.
+ *
+ * Returns: a new #AgsChannel
+ *
+ * Since: 0.3
+ */
+AgsChannel*
+ags_channel_new(GObject *audio)
+{
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_object_new(AGS_TYPE_CHANNEL,
+ "audio\0", audio,
+ NULL);
+
+ return(channel);
+}
diff --git a/src/ags/audio/ags_channel.h b/src/ags/audio/ags_channel.h
new file mode 100644
index 0000000..1132f73
--- /dev/null
+++ b/src/ags/audio/ags_channel.h
@@ -0,0 +1,204 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CHANNEL_H__
+#define __AGS_CHANNEL_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_notation.h>
+
+#include <stdarg.h>
+
+#define AGS_TYPE_CHANNEL (ags_channel_get_type())
+#define AGS_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANNEL, AgsChannel))
+#define AGS_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANNEL, AgsChannelClass))
+#define AGS_IS_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANNEL))
+#define AGS_IS_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CHANNEL))
+#define AGS_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANNEL, AgsChannelClass))
+
+typedef struct _AgsChannel AgsChannel;
+typedef struct _AgsChannelClass AgsChannelClass;
+
+typedef enum{
+ AGS_CHANNEL_RUNNING = 1,
+}AgsChannelFlags;
+
+typedef enum{
+ AGS_CHANNEL_RECALL_ID_RUN_STAGE,
+ AGS_CHANNEL_RECALL_ID_CANCEL,
+}AgsChannelRecallIDMode;
+
+#define AGS_CHANNEL_ERROR (ags_channel_error_quark())
+
+typedef enum{
+ AGS_CHANNEL_ERROR_LOOP_IN_LINK,
+}AgsChannelError;
+
+struct _AgsChannel
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *audio;
+ GObject *devout;
+
+ AgsChannel *prev;
+ AgsChannel *prev_pad;
+ AgsChannel *next;
+ AgsChannel *next_pad;
+
+ guint pad;
+ guint audio_channel;
+ guint line;
+
+ char *note;
+
+ gpointer devout_play;
+
+ // GObject *recycling_container; // contains child recycling
+ GList *recall_id; // there may be several recall's running
+ GList *container;
+
+ GList *recall;
+ GList *play;
+
+ AgsChannel *link;
+ AgsRecycling *first_recycling;
+ AgsRecycling *last_recycling;
+ GObject *recycling_thread;
+
+ GList *pattern;
+ AgsNotation *notation;
+
+ GtkWidget *line_widget;
+ gpointer file_data;
+};
+
+struct _AgsChannelClass
+{
+ GObjectClass object;
+
+ GList* (*add_effect)(AgsChannel *channel,
+ gchar *filename,
+ gchar *effect);
+ void (*remove_effect)(AgsChannel *channel,
+ guint nth);
+
+ void (*recycling_changed)(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region);
+
+ void (*done)(AgsChannel *channel,
+ AgsRecallID *recall_id);
+};
+
+GType ags_channel_get_type();
+
+GQuark ags_channel_error_quark();
+
+AgsRecall* ags_channel_find_recall(AgsChannel *channel, char *effect, char *name);
+
+AgsChannel* ags_channel_first(AgsChannel *channel);
+AgsChannel* ags_channel_last(AgsChannel *channel);
+AgsChannel* ags_channel_nth(AgsChannel *channel, guint nth);
+
+AgsChannel* ags_channel_pad_first(AgsChannel *channel);
+AgsChannel* ags_channel_pad_last(AgsChannel *channel);
+AgsChannel* ags_channel_pad_nth(AgsChannel *channel, guint nth);
+
+AgsChannel* ags_channel_first_with_recycling(AgsChannel *channel);
+AgsChannel* ags_channel_last_with_recycling(AgsChannel *channel);
+
+void ags_channel_set_devout(AgsChannel *channel, GObject *devout);
+
+void ags_channel_remove_recall_id(AgsChannel *channel, AgsRecallID *recall_id);
+void ags_channel_add_recall_id(AgsChannel *channel, AgsRecallID *recall_id);
+
+void ags_channel_add_recall_container(AgsChannel *channel, GObject *recall_container);
+void ags_channel_remove_recall_container(AgsChannel *channel, GObject *recall_container);
+
+void ags_channel_remove_recall(AgsChannel *channel, GObject *recall, gboolean play);
+void ags_channel_add_recall(AgsChannel *channel, GObject *recall, gboolean play);
+
+GList* ags_channel_add_effect(AgsChannel *channel,
+ char *filename,
+ gchar *effect);
+void ags_channel_remove_effect(AgsChannel *channel,
+ guint nth);
+
+void ags_channel_set_link(AgsChannel *channel, AgsChannel *link,
+ GError **error);
+void ags_channel_set_recycling(AgsChannel *channel, AgsRecycling *first_recycling, AgsRecycling *last_recycling, gboolean update, gboolean destroy_old);
+void ags_channel_recursive_reset_recycling_container(AgsChannel *channel,
+ AgsRecyclingContainer *old_recycling_container,
+ AgsRecyclingContainer *recycling_container);
+void ags_channel_recycling_changed(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region);
+
+void ags_channel_done(AgsChannel *channel,
+ AgsRecallID *recall_id);
+
+void ags_channel_safe_resize_audio_signal(AgsChannel *channel,
+ guint size);
+
+void ags_channel_resolve_recall(AgsChannel *channel,
+ AgsRecallID *recall_id);
+
+void ags_channel_play(AgsChannel *channel,
+ AgsRecallID *recall_id, gint stage);
+void ags_channel_recursive_play_threaded(AgsChannel *channel,
+ AgsRecallID *recall_id, gint stage);
+void ags_channel_recursive_play(AgsChannel *channel,
+ AgsRecallID *recall_id, gint stage);
+void ags_channel_duplicate_recall(AgsChannel *channel,
+ AgsRecallID *recall_id);
+void ags_channel_init_recall(AgsChannel *channel, gint stage,
+ AgsRecallID *recall_id);
+
+AgsRecallID* ags_channel_recursive_play_init(AgsChannel *channel, gint stage,
+ gboolean arrange_recall_id, gboolean duplicate_templates,
+ gboolean playback, gboolean sequencer, gboolean notation,
+ gboolean resolve_dependencies,
+ AgsRecallID *recall_id);
+
+void ags_channel_cancel(AgsChannel *channel, AgsRecallID *recall_id);
+void ags_channel_remove(AgsChannel *channel, AgsRecallID *recall_id);
+void ags_channel_tillrecycling_cancel(AgsChannel *channel, AgsRecallID *recall_id);
+
+void ags_channel_recursive_reset_recall_ids(AgsChannel *channel, AgsChannel *link,
+ AgsChannel *old_channel_link, AgsChannel *old_link_link);
+
+void ags_channel_recall_id_set(AgsChannel *output, AgsRecallID *recall_id, gboolean ommit_own_channel,
+ guint mode, ...);
+
+GList* ags_channel_find_port(AgsChannel *channel);
+
+AgsChannel* ags_channel_new(GObject *audio);
+
+#endif /*__AGS_CHANNEL_H__*/
diff --git a/src/ags/audio/ags_channel_iter.c b/src/ags/audio/ags_channel_iter.c
new file mode 100644
index 0000000..f16632f
--- /dev/null
+++ b/src/ags/audio/ags_channel_iter.c
@@ -0,0 +1,223 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_channel_iter.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_output.h>
+
+AgsChannelIter*
+ags_channel_iter_alloc(AgsChannel *start)
+{
+ AgsChannelIter *iter;
+
+ iter = (AgsChannelIter *) malloc(sizeof(AgsChannelIter));
+
+ iter->current_start = start;
+
+ iter->parent = NULL;
+ iter->children = NULL;
+ iter->current_iter = iter;
+
+ iter->current = start;
+
+ return(iter);
+}
+
+
+void
+ags_channel_iter_free(AgsChannelIter *iter)
+{
+}
+
+AgsChannel*
+ags_channel_iter_prev(AgsChannelIter *iter, guint mode)
+{
+ //TODO:JK: implement me
+
+ return(NULL);
+}
+
+AgsChannel*
+ags_channel_iter_next(AgsChannelIter *iter, guint mode)
+{
+ AgsAudio *audio;
+ AgsChannelIter *current_iter, *next_iter;
+
+ auto AgsChannel* ags_channel_iter_axis_to_leafes(AgsChannelIter *iter);
+ auto AgsChannelIter* ags_channel_iter_axis_to_leafes_go_up(AgsChannelIter *iter);
+
+ /*
+ * Axis to leafes iteration strategy.
+ */
+ AgsChannel* ags_channel_iter_axis_to_leafes(AgsChannelIter *iter){
+ if(AGS_IS_OUTPUT(current_iter->current)){
+ if(audio->input == NULL){
+ iter->current_iter = ags_channel_iter_axis_to_leafes_go_up(iter);
+
+ return(iter->current_iter->current);
+ }
+ }else{
+ if(current_iter->current->link == NULL){
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ if(current_iter->current->next_pad == NULL){
+ iter->current_iter = ags_channel_iter_axis_to_leafes_go_up(iter);
+
+ return(iter->current_iter->current);
+ }
+ }else{
+ iter->current_iter = ags_channel_iter_axis_to_leafes_go_up(iter);
+
+ return(iter->current_iter->current);
+ }
+ }
+ }
+
+ if(AGS_IS_OUTPUT(current_iter->current)){
+ next_iter = ags_channel_iter_alloc(ags_channel_nth(audio->input,
+ (((AGS_AUDIO_ASYNC & (audio->flags)) != 0) ? current_iter->current->audio_channel: current_iter->current->line)));
+ current_iter->children = g_list_prepend(current_iter->children,
+ next_iter);
+ next_iter->parent = current_iter;
+
+ iter->current_iter = next_iter;
+
+ return(next_iter->current);
+ }else{
+ if(current_iter->current->link == NULL){
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ current_iter->current = current_iter->current->next_pad;
+
+ return(current_iter->current);
+ }
+ }else{
+ next_iter = ags_channel_iter_alloc(current_iter->current->link);
+ current_iter->children = g_list_prepend(current_iter->children,
+ next_iter);
+ next_iter->parent = current_iter;
+
+ iter->current_iter = next_iter;
+
+ return(next_iter->current);
+ }
+ }
+ }
+
+ /*
+ * Returns: next AgsChannelIter
+ *
+ * goes up in the iteration list and frees unneeded AgsChannelIter.
+ */
+ AgsChannelIter* ags_channel_iter_axis_to_leafes_go_up(AgsChannelIter *iter){
+ AgsChannelIter *current_iter, *old_iter, *new_iter;
+
+ current_iter = iter->current_iter;
+
+ while(current_iter->parent != NULL){
+ if(AGS_OUTPUT(current_iter->current)){
+ old_iter = current_iter;
+ current_iter = current_iter->parent;
+
+ current_iter->children = g_list_remove(current_iter->children,
+ old_iter);
+ free(old_iter);
+ }else{
+ if(current_iter->current->next_pad == NULL){
+ old_iter = current_iter;
+ current_iter = current_iter->parent;
+
+ current_iter->children = g_list_remove(current_iter->children,
+ old_iter);
+ free(old_iter);
+ }else{
+ current_iter->current = current_iter->current->next_pad;
+
+ return(current_iter);
+ }
+ }
+ }
+
+ if(AGS_OUTPUT(current_iter->current)){
+ if(current_iter->current->link != NULL){
+ next_iter = ags_channel_iter_alloc(current_iter->current->link);
+ next_iter->children = g_list_prepend(next_iter->children,
+ current_iter);
+ current_iter->parent = next_iter;
+
+ return(next_iter);
+ }
+ }else{
+ AgsAudio *audio;
+ AgsChannel *channel;
+
+ audio = AGS_AUDIO(current_iter->current->audio);
+
+ if(audio->output != NULL){
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ channel = ags_channel_nth(audio->output, current_iter->current->audio_channel);
+ }else{
+ channel = ags_channel_nth(audio->output, current_iter->current->line);
+ }
+
+ next_iter = ags_channel_iter_alloc(channel);
+ next_iter->children = g_list_prepend(next_iter->children,
+ current_iter);
+ current_iter->parent = next_iter;
+
+ return(next_iter);
+ }
+ }
+
+ return(NULL);
+ }
+
+ if(iter->current_start == NULL){
+ return(NULL);
+ }
+
+ current_iter = iter->current_iter;
+ audio = AGS_AUDIO(current_iter->current->audio);
+
+ if((AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_LEAFES & (mode)) != 0){
+ if((AGS_CHANNEL_ITER_LEVEL_STRICT & (mode)) != 0){
+ //TODO:JK: implement me
+ }else{
+ return(ags_channel_iter_axis_to_leafes(iter));
+ }
+ }else if((AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_ROOT & (mode)) != 0){
+ if((AGS_CHANNEL_ITER_LEVEL_STRICT & (mode)) != 0){
+ //TODO:JK: implement me
+ }else{
+ //TODO:JK: implement me
+ }
+ }else if((AGS_CHANNEL_ITER_DIRECTION_LEAFES_TO_ROOT & (mode)) != 0){
+ if((AGS_CHANNEL_ITER_LEVEL_STRICT & (mode)) != 0){
+ //TODO:JK: implement me
+ }else{
+ //TODO:JK: implement me
+ }
+ }else if((AGS_CHANNEL_ITER_DIRECTION_ROOT_TO_LEAFES & (mode)) != 0){
+ if((AGS_CHANNEL_ITER_LEVEL_STRICT & (mode)) != 0){
+ //TODO:JK: implement me
+ }else{
+ //TODO:JK: implement me
+ }
+ }
+
+ return(NULL);
+}
diff --git a/src/ags/audio/ags_channel_iter.h b/src/ags/audio/ags_channel_iter.h
new file mode 100644
index 0000000..55405aa
--- /dev/null
+++ b/src/ags/audio/ags_channel_iter.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CHANNEL_ITER_H__
+#define __AGS_CHANNEL_ITER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_channel.h>
+
+typedef struct _AgsChannelIter AgsChannelIter;
+
+typedef enum{
+ AGS_CHANNEL_ITER_LEVEL_STRICT,
+ AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_LEAFES,
+ AGS_CHANNEL_ITER_DIRECTION_AXIS_TO_ROOT,
+ AGS_CHANNEL_ITER_DIRECTION_LEAFES_TO_ROOT,
+ AGS_CHANNEL_ITER_DIRECTION_ROOT_TO_LEAFES,
+}AgsChannelIterFlags;
+
+struct _AgsChannelIter
+{
+ AgsChannel *current_start;
+
+ AgsChannelIter *parent;
+ GList *children;
+ AgsChannelIter *current_iter;
+
+ AgsChannel *current;
+};
+
+AgsChannelIter* ags_channel_iter_alloc(AgsChannel *start);
+
+void ags_channel_iter_free(AgsChannelIter *iter);
+
+AgsChannel* ags_channel_iter_prev(AgsChannelIter *iter, guint mode);
+AgsChannel* ags_channel_iter_next(AgsChannelIter *iter, guint mode);
+
+#endif /*__AGS_CHANNEL_ITER_H__*/
+
diff --git a/src/ags/audio/ags_config.c b/src/ags/audio/ags_config.c
new file mode 100644
index 0000000..d068f5c
--- /dev/null
+++ b/src/ags/audio/ags_config.c
@@ -0,0 +1,547 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_config.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_thread-posix.h>
+#include <ags/thread/ags_autosave_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <sys/types.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <pwd.h>
+
+void ags_config_class_init(AgsConfigClass *config_class);
+void ags_config_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_config_init(AgsConfig *config);
+void ags_config_add_to_registry(AgsConnectable *connectable);
+void ags_config_remove_from_registry(AgsConnectable *connectable);
+gboolean ags_config_is_connected(AgsConnectable *connectable);
+void ags_config_connect(AgsConnectable *connectable);
+void ags_config_disconnect(AgsConnectable *connectable);
+void ags_config_finalize(GObject *gobject);
+gchar* ags_config_get_version(AgsConfig *config);
+void ags_config_set_version(AgsConfig *config, gchar *version);
+gchar* ags_config_get_build_id(AgsConfig *config);
+void ags_config_set_build_id(AgsConfig *config, gchar *build_id);
+
+/**
+ * SECTION:ags_config
+ * @short_description: Config Advanced Gtk+ Sequencer
+ * @title: AgsConfig
+ * @section_id:
+ * @include: ags/audio/ags_config.h
+ *
+ * #AgsConfig provides configuration to Advanced Gtk+ Sequencer.
+ */
+
+AgsConfig *config;
+static gpointer ags_config_parent_class = NULL;
+
+static const gchar *ags_config_generic = AGS_CONFIG_GENERIC;
+static const gchar *ags_config_thread = AGS_CONFIG_THREAD;
+static const gchar *ags_config_devout = AGS_CONFIG_DEVOUT;
+static const gchar *ags_config_recall = AGS_CONFIG_RECALL;
+
+GType
+ags_config_get_type (void)
+{
+ static GType ags_type_config = 0;
+
+ if(!ags_type_config){
+ static const GTypeInfo ags_config_info = {
+ sizeof (AgsConfigClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_config_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsConfig),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_config_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_config_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+
+ ags_type_config = g_type_register_static(G_TYPE_OBJECT,
+ "AgsConfig\0",
+ &ags_config_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_config,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_config);
+}
+
+void
+ags_config_class_init(AgsConfigClass *config)
+{
+ GObjectClass *gobject;
+
+ ags_config_parent_class = g_type_class_peek_parent(config);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) config;
+
+ gobject->finalize = ags_config_finalize;
+}
+
+void
+ags_config_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = ags_config_add_to_registry;
+ connectable->remove_from_registry = ags_config_remove_from_registry;
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = ags_config_is_connected;
+ connectable->connect = ags_config_connect;
+ connectable->disconnect = ags_config_disconnect;
+}
+
+void
+ags_config_init(AgsConfig *config)
+{
+ config->version = AGS_CONFIG_DEFAULT_VERSION;
+ config->build_id = AGS_CONFIG_DEFAULT_BUILD_ID;
+
+ config->ags_main == NULL;
+
+ config->key_file = g_key_file_new();
+}
+
+void
+ags_config_add_to_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_config_remove_from_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+gboolean
+ags_config_is_connected(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_config_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_config_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_config_finalize(GObject *gobject)
+{
+
+ //TODO:JK: implement me
+
+ G_OBJECT_CLASS(ags_config_parent_class)->finalize(gobject);
+}
+
+gchar*
+ags_config_get_version(AgsConfig *config)
+{
+ return(config->version);
+}
+
+void
+ags_config_set_version(AgsConfig *config, gchar *version)
+{
+ config->version = version;
+}
+
+gchar*
+ags_config_get_build_id(AgsConfig *config)
+{
+ return(config->build_id);
+}
+
+void
+ags_config_set_build_id(AgsConfig *config, gchar *build_id)
+{
+ config->build_id = build_id;
+}
+
+/**
+ * ags_config_load_defaults:
+ * @config: the #AgsConfig
+ *
+ * Load configuration from default values.
+ *
+ * Since: 0.4
+ */
+void
+ags_config_load_defaults(AgsConfig *config)
+{
+ ags_config_set(config, ags_config_generic, "autosave-thread\0", "false\0");
+
+ ags_config_set(config, ags_config_thread, "model\0", "multi-threaded\0");
+ ags_config_set(config, ags_config_thread, "lock-global\0", "ags-thread\0");
+ ags_config_set(config, ags_config_thread, "lock-parent\0", "ags-recycling-thread\0");
+
+ ags_config_set(config, ags_config_devout, "samplerate\0", "44100\0");
+ ags_config_set(config, ags_config_devout, "buffer-size\0", "940\0");
+ ags_config_set(config, ags_config_devout, "pcm-channels\0", "2\0");
+ ags_config_set(config, ags_config_devout, "dsp-channels\0", "2\0");
+ ags_config_set(config, ags_config_devout, "alsa-handle\0", "hw:0,0\0");
+
+ ags_config_set(config, ags_config_recall, "auto-sense\0", "true\0");
+}
+
+/**
+ * ags_config_load_from_file:
+ * @config: the #AgsConfig
+ * @filename: the configuration file
+ *
+ * Load configuration from @filename.
+ *
+ * Since: 0.4
+ */
+void
+ags_config_load_from_file(AgsConfig *config, gchar *filename)
+{
+ GFile *file;
+
+ file = g_file_new_for_path(filename);
+
+ g_message("loading preferences for: %s\0", filename);
+
+ if(!g_file_query_exists(file,
+ NULL)){
+ ags_config_load_defaults(config);
+ }else{
+ GKeyFile *key_file;
+ gchar **groups, **groups_start;
+ gchar **keys, **keys_start;
+ gchar *value;
+
+ GError *error;
+
+ error = NULL;
+
+ key_file = g_key_file_new();
+ g_key_file_load_from_file(key_file,
+ filename,
+ G_KEY_FILE_NONE,
+ &error);
+
+
+ groups =
+ groups_start = g_key_file_get_groups(key_file,
+ NULL);
+
+ while(*groups != NULL){
+ keys =
+ keys_start = g_key_file_get_keys(key_file,
+ *groups,
+ NULL,
+ NULL);
+
+ while(*keys != NULL){
+ value = g_key_file_get_value(key_file,
+ *groups,
+ *keys,
+ NULL);
+
+ ags_config_set(config,
+ *groups,
+ *keys,
+ value);
+
+ keys++;
+ }
+
+ g_strfreev(keys_start);
+
+ groups++;
+ }
+
+ g_strfreev(groups_start);
+ g_key_file_unref(key_file);
+ }
+
+ g_object_unref(file);
+}
+
+/**
+ * ags_config_save:
+ * @config: the #AgsConfig
+ *
+ * Save configuration.
+ *
+ * Since: 0.4
+ */
+void
+ags_config_save(AgsConfig *config)
+{
+ struct passwd *pw;
+ uid_t uid;
+ gchar *path, *filename;
+ gchar *content;
+ gsize length;
+ GError *error;
+
+ uid = getuid();
+ pw = getpwuid(uid);
+
+ /* open conf dir */
+ path = g_strdup_printf("%s/%s\0",
+ pw->pw_dir,
+ AGS_DEFAULT_DIRECTORY);
+
+ if(!g_mkdir_with_parents(path,
+ 0755)){
+ filename = g_strdup_printf("%s/%s",
+ path,
+ AGS_DEFAULT_CONFIG);
+
+ /* get content */
+ error = NULL;
+
+ content = g_key_file_to_data(config->key_file,
+ &length,
+ &error);
+
+ if(error != NULL){
+ //TODO:JK: do recovery
+ goto ags_config_save_END;
+ }
+
+ /* write content */
+ error = NULL;
+
+ g_file_set_contents(filename,
+ content,
+ length,
+ &error);
+
+ ags_config_save_END:
+ g_free(filename);
+ }
+
+ g_free(path);
+}
+
+/**
+ * ags_config_set:
+ * @config: the #AgsConfig
+ * @group: the config group identifier
+ * @key: the key of the property
+ * @value: the value to set
+ *
+ * Set config by @group and @key, applying @value.
+ *
+ * Since: 0.4
+ */
+void
+ags_config_set(AgsConfig *config, gchar *group, gchar *key, gchar *value)
+{
+ AgsMain *ags_main;
+
+ ags_main = config->ags_main;
+
+ g_key_file_set_value(config->key_file, group, key, value);
+
+ if(!strncmp(group,
+ ags_config_generic,
+ 8)){
+ if(!strncmp(key,
+ "autosave-thread\0",
+ 15)){
+ AgsAutosaveThread *autosave_thread;
+
+ if(ags_main == NULL ||
+ ags_main->autosave_thread == NULL){
+ return;
+ }
+
+ autosave_thread = ags_main->autosave_thread;
+
+ if(!strncmp(value,
+ "true\0",
+ 5)){
+ ags_thread_start(autosave_thread);
+ }else{
+ ags_thread_stop(autosave_thread);
+ }
+ }
+ }else if(!strncmp(group,
+ ags_config_thread,
+ 7)){
+ if(!strncmp(key,
+ "model\0",
+ 6)){
+ //TODO:JK: implement me
+ }else if(!strncmp(key,
+ "lock-global\0",
+ 11)){
+ //TODO:JK: implement me
+ }else if(!strncmp(key,
+ "lock-parent\0",
+ 11)){
+ //TODO:JK: implement me
+ }
+ }else if(!strncmp(group,
+ ags_config_devout,
+ 7)){
+ AgsDevout *devout;
+
+ if(ags_main == NULL ||
+ ags_main->devout == NULL){
+ return;
+ }
+
+ devout = ags_main->devout->data;
+
+ if(!strncmp(key,
+ "samplerate\0",
+ 10)){
+ guint samplerate;
+
+ samplerate = strtoul(value,
+ NULL,
+ 10);
+
+ g_object_set(G_OBJECT(devout),
+ "frequency\0", samplerate,
+ NULL);
+ }else if(!strncmp(key,
+ "buffer-size\0",
+ 11)){
+ guint buffer_size;
+
+ buffer_size = strtoul(value,
+ NULL,
+ 10);
+
+ g_object_set(G_OBJECT(devout),
+ "buffer-size\0", buffer_size,
+ NULL);
+ }else if(!strncmp(key,
+ "pcm-channels\0",
+ 12)){
+ guint pcm_channels;
+
+ pcm_channels = strtoul(value,
+ NULL,
+ 10);
+
+ g_object_set(G_OBJECT(devout),
+ "pcm-channels\0", pcm_channels,
+ NULL);
+ }else if(!strncmp(key,
+ "dsp-channels\0",
+ 12)){
+ guint dsp_channels;
+
+ dsp_channels = strtoul(value,
+ NULL,
+ 10);
+
+ g_object_set(G_OBJECT(devout),
+ "dsp-channels\0", dsp_channels,
+ NULL);
+ }else if(!strncmp(key,
+ "alsa-handle\0",
+ 11)){
+ gchar *alsa_handle;
+
+ alsa_handle = value;
+ g_object_set(G_OBJECT(devout),
+ "device\0", alsa_handle,
+ NULL);
+ }
+ }
+}
+
+/**
+ * ags_config_get:
+ * @config: the #AgsConfig
+ * @group: the config group identifier
+ * @key: the key of the property
+ *
+ * Retrieve config by @group and @key.
+ *
+ * Returns: the property's value
+ *
+ * Since: 0.4
+ */
+gchar*
+ags_config_get(AgsConfig *config, gchar *group, gchar *key)
+{
+ gchar *str;
+ GError *error;
+
+ pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ pthread_mutex_lock(&mutex);
+
+ error = NULL;
+
+ str = g_key_file_get_value(config->key_file, group, key, &error);
+
+ pthread_mutex_unlock(&mutex);
+
+ return(str);
+}
+
+/**
+ * ags_config_new:
+ *
+ * Creates an #AgsConfig.
+ *
+ * Returns: a new #AgsConfig.
+ *
+ * Since: 0.4
+ */
+AgsConfig*
+ags_config_new()
+{
+ AgsConfig *config;
+
+ config = (AgsConfig *) g_object_new(AGS_TYPE_CONFIG,
+ NULL);
+
+ return(config);
+}
+
diff --git a/src/ags/audio/ags_config.h b/src/ags/audio/ags_config.h
new file mode 100644
index 0000000..5d690b8
--- /dev/null
+++ b/src/ags/audio/ags_config.h
@@ -0,0 +1,72 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CONFIG_H__
+#define __AGS_CONFIG_H__
+
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_CONFIG (ags_config_get_type ())
+#define AGS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONFIG, AgsConfig))
+#define AGS_CONFIG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CONFIG, AgsConfigClass))
+#define AGS_IS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CONFIG))
+#define AGS_IS_CONFIG_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CONFIG))
+#define AGS_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CONFIG, AgsConfigClass))
+
+#define AGS_CONFIG_DEFAULT_VERSION "0.4.2\0"
+#define AGS_CONFIG_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+#define AGS_CONFIG_GENERIC "generic\0"
+#define AGS_CONFIG_THREAD "thread\0"
+#define AGS_CONFIG_DEVOUT "device\0"
+#define AGS_CONFIG_RECALL "recall\0"
+
+typedef struct _AgsConfig AgsConfig;
+typedef struct _AgsConfigClass AgsConfigClass;
+
+struct _AgsConfig
+{
+ GObject object;
+
+ guint version;
+ gchar *build_id;
+
+ GObject *ags_main;
+
+ GKeyFile *key_file;
+};
+
+struct _AgsConfigClass
+{
+ GObjectClass object;
+};
+
+GType ags_config_get_type();
+
+void ags_config_load_defaults(AgsConfig *config);
+void ags_config_load_from_file(AgsConfig *config, gchar *filename);
+
+void ags_config_save(AgsConfig *config);
+
+void ags_config_set(AgsConfig *config, gchar *group, gchar *key, gchar *value);
+gchar* ags_config_get(AgsConfig *config, gchar *group, gchar *key);
+
+AgsConfig* ags_config_new();
+
+#endif /*__AGS_CONFIG_H__*/
diff --git a/src/ags/audio/ags_devout.c b/src/ags/audio/ags_devout.c
new file mode 100644
index 0000000..3a1e379
--- /dev/null
+++ b/src/ags/audio/ags_devout.c
@@ -0,0 +1,1502 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_soundcard.h>
+
+#include <ags/audio/ags_config.h>
+#include <ags/audio/ags_notation.h>
+
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <fcntl.h>
+#include <sys/ioctl.h>
+#include <sys/soundcard.h>
+#include <errno.h>
+
+#include <string.h>
+#include <math.h>
+#include <time.h>
+
+/**
+ * SECTION:ags_devout
+ * @short_description: Outputting to soundcard
+ * @title: AgsDevout
+ * @section_id:
+ * @include: ags/audio/ags_devout.h
+ *
+ * #AgsDevout represents a soundcard and supports output.
+ */
+
+void ags_devout_class_init(AgsDevoutClass *devout);
+void ags_devout_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_devout_soundcard_interface_init(AgsSoundcardInterface *soundcard);
+void ags_devout_init(AgsDevout *devout);
+void ags_devout_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_devout_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_devout_disconnect(AgsConnectable *connectable);
+void ags_devout_connect(AgsConnectable *connectable);
+void ags_devout_finalize(GObject *gobject);
+
+void ags_devout_real_change_bpm(AgsDevout *devout, double bpm);
+
+void ags_devout_switch_buffer_flag(AgsDevout *devout);
+
+void ags_devout_play_functions(AgsDevout *devout);
+
+void ags_devout_list_cards(AgsSoundcard *soundcard,
+ GList **card_id, GList **card_name);
+void ags_devout_pcm_info(AgsSoundcard *soundcard, gchar *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error);
+
+void ags_devout_alsa_init(AgsSoundcard *soundcard,
+ GError **error);
+void ags_devout_alsa_play(AgsSoundcard *soundcard,
+ GError **error);
+void ags_devout_alsa_free(AgsSoundcard *soundcard);
+
+signed short* ags_devout_get_buffer(AgsSoundcard *soundcard);
+signed short* ags_devout_get_next_buffer(AgsSoundcard *soundcard);
+
+void ags_devout_set_note_offset(AgsSoundcard *soundcard,
+ guint note_offset);
+guint ags_devout_get_note_offset(AgsSoundcard *soundcard);
+
+enum{
+ PROP_0,
+ PROP_MAIN,
+ PROP_DEVICE,
+ PROP_DSP_CHANNELS,
+ PROP_PCM_CHANNELS,
+ PROP_BITS,
+ PROP_BUFFER_SIZE,
+ PROP_FREQUENCY,
+ PROP_BUFFER,
+ PROP_BPM,
+ PROP_ATTACK,
+};
+
+extern AgsConfig *config;
+
+static gpointer ags_devout_parent_class = NULL;
+
+/* dangerous - produces a lot of output */
+static gboolean DEBUG_DEVOUT = FALSE;
+
+GType
+ags_devout_get_type (void)
+{
+ static GType ags_type_devout = 0;
+
+ if(!ags_type_devout){
+ static const GTypeInfo ags_devout_info = {
+ sizeof (AgsDevoutClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_devout_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsDevout),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_devout_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_devout_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_soundcard_interface_info = {
+ (GInterfaceInitFunc) ags_devout_soundcard_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_devout = g_type_register_static(G_TYPE_OBJECT,
+ "AgsDevout\0",
+ &ags_devout_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_devout,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_devout,
+ AGS_TYPE_SOUNDCARD,
+ &ags_soundcard_interface_info);
+ }
+
+ return (ags_type_devout);
+}
+
+void
+ags_devout_class_init(AgsDevoutClass *devout)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_devout_parent_class = g_type_class_peek_parent(devout);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) devout;
+
+ gobject->set_property = ags_devout_set_property;
+ gobject->get_property = ags_devout_get_property;
+
+ gobject->finalize = ags_devout_finalize;
+
+ /* properties */
+ /**
+ * AgsDevout:main:
+ *
+ * The assigned #AgsMain
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("main\0",
+ "the main object\0",
+ "The main object\0",
+ AGS_TYPE_MAIN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN,
+ param_spec);
+
+ /**
+ * AgsDevout:device:
+ *
+ * The alsa soundcard indentifier
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_string("device\0",
+ "the device identifier\0",
+ "The device to perform output to\0",
+ "hw:0\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVICE,
+ param_spec);
+
+ /**
+ * AgsDevout:dsp-channels:
+ *
+ * The dsp channel count
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("dsp-channels\0",
+ "count of DSP channels\0",
+ "The count of DSP channels to use\0",
+ 1,
+ 64,
+ 2,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DSP_CHANNELS,
+ param_spec);
+
+ /**
+ * AgsDevout:pcm-channels:
+ *
+ * The pcm channel count
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("pcm-channels\0",
+ "count of PCM channels\0",
+ "The count of PCM channels to use\0",
+ 1,
+ 64,
+ 2,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PCM_CHANNELS,
+ param_spec);
+
+ /*
+ * TODO:JK: add support for other quality than 16 bit
+ */
+ /**
+ * AgsDevout:bits:
+ *
+ * The precision of the buffer
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("bits\0",
+ "precision of buffer\0",
+ "The precision to use for a frame\0",
+ 1,
+ 64,
+ AGS_DEVOUT_DEFAULT_FORMAT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BITS,
+ param_spec);
+
+ /**
+ * AgsDevout:buffer-size:
+ *
+ * The buffer size
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("buffer-size\0",
+ "frame count of a buffer\0",
+ "The count of frames a buffer contains\0",
+ 1,
+ 44100,
+ 940,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BUFFER_SIZE,
+ param_spec);
+
+ /**
+ * AgsDevout:frequency:
+ *
+ * The samplerate
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("frequency\0",
+ "frames per second\0",
+ "The frames count played during a second\0",
+ 8000,
+ 96000,
+ 44100,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FREQUENCY,
+ param_spec);
+
+ /**
+ * AgsDevout:buffer:
+ *
+ * The buffer
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_pointer("buffer\0",
+ "the buffer\0",
+ "The buffer to play\0",
+ G_PARAM_READABLE);
+ g_object_class_install_property(gobject,
+ PROP_BUFFER,
+ param_spec);
+
+ /**
+ * AgsDevout:bpm:
+ *
+ * Beats per minute
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_double("bpm\0",
+ "beats per minute\0",
+ "Beats per minute to use\0",
+ 1.0,
+ 240.0,
+ 120.0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BPM,
+ param_spec);
+ /**
+ * AgsDevout:bpm:
+ *
+ * Attack of the buffer
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_pointer("attack\0",
+ "attack of buffer\0",
+ "The attack to use for the buffer\0",
+ G_PARAM_READABLE);
+ g_object_class_install_property(gobject,
+ PROP_ATTACK,
+ param_spec);
+
+
+ /* AgsDevoutClass */
+ //empty
+}
+
+GQuark
+ags_devout_error_quark()
+{
+ return(g_quark_from_static_string("ags-devout-error-quark\0"));
+}
+
+void
+ags_devout_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_devout_connect;
+ connectable->disconnect = ags_devout_disconnect;
+}
+
+void
+ags_devout_soundcard_interface_init(AgsSoundcardInterface *soundcard)
+{
+ soundcard->list_cards = ags_devout_list_cards;
+ soundcard->pcm_info = ags_devout_pcm_info;
+ soundcard->play_init = ags_devout_alsa_init;
+ soundcard->play = ags_devout_alsa_play;
+ soundcard->stop = ags_devout_alsa_free;
+ soundcard->get_buffer = ags_devout_get_buffer;
+ soundcard->get_next_buffer = ags_devout_get_next_buffer;
+ soundcard->set_note_offset = ags_devout_set_note_offset;
+ soundcard->get_note_offset = ags_devout_get_note_offset;
+}
+
+void
+ags_devout_init(AgsDevout *devout)
+{
+ gdouble delay;
+ guint default_tact_frames;
+ guint default_period;
+ guint i;
+
+ /* flags */
+ devout->flags = (AGS_DEVOUT_ALSA);
+
+ /* quality */
+ devout->dsp_channels = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "dsp-channels\0"),
+ NULL,
+ 10);
+ devout->pcm_channels = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "pcm-channels\0"),
+ NULL,
+ 10);
+ devout->bits = AGS_DEVOUT_DEFAULT_FORMAT;
+ devout->buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ devout->frequency = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ // devout->out.oss.device = NULL;
+ devout->out.alsa.handle = NULL;
+ devout->out.alsa.device = g_strdup(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "alsa-handle\0"));
+
+ /* buffer */
+ devout->buffer = (signed short **) malloc(4 * sizeof(signed short*));
+ devout->buffer[0] = (signed short *) malloc(devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+ devout->buffer[1] = (signed short *) malloc(devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+ devout->buffer[2] = (signed short *) malloc(devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+ devout->buffer[3] = (signed short *) malloc(devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+
+ /* bpm */
+ devout->bpm = AGS_DEVOUT_DEFAULT_BPM;
+
+ /* delay and attack */
+ devout->delay = (gdouble *) malloc((int) 2 * AGS_DEVOUT_DEFAULT_PERIOD *
+ sizeof(gdouble));
+
+ devout->attack = (guint *) malloc((int) 2 * AGS_DEVOUT_DEFAULT_PERIOD *
+ sizeof(guint));
+
+ devout->note_offset = 0;
+
+ delay = ((gdouble) devout->frequency / (gdouble) devout->buffer_size) * (gdouble)(60.0 / devout->bpm);
+ // g_message("delay : %f\0", delay);
+ default_tact_frames = (guint) (delay * devout->buffer_size);
+ default_period = (1.0 / AGS_DEVOUT_DEFAULT_PERIOD) * (default_tact_frames);
+
+ devout->attack[0] = 0;
+ devout->delay[0] = delay;
+
+ for(i = 1; i < (int) 2.0 * AGS_DEVOUT_DEFAULT_PERIOD; i++){
+ devout->attack[i] = (guint) ((i * default_tact_frames + devout->attack[i - 1]) / (AGS_DEVOUT_DEFAULT_PERIOD / (delay * i))) % (guint) (devout->buffer_size);
+ // g_message("%d\0", devout->attack[i]);
+ }
+
+ for(i = 1; i < (int) 2.0 * AGS_DEVOUT_DEFAULT_PERIOD; i++){
+ devout->delay[i] = ((gdouble) (default_tact_frames + devout->attack[i])) / (gdouble) devout->buffer_size;
+ // g_message("%f\0", devout->delay[i]);
+ }
+
+ /* */
+ devout->delay_counter = 0;
+ devout->tic_counter = 0;
+
+ /* parent */
+ devout->ags_main = NULL;
+
+ /* all AgsAudio */
+ devout->audio = NULL;
+}
+
+void
+ags_devout_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsDevout *devout;
+
+ devout = AGS_DEVOUT(gobject);
+
+ //TODO:JK: implement set functionality
+
+ switch(prop_id){
+ case PROP_MAIN:
+ {
+ AgsMain *ags_main;
+
+ ags_main = g_value_get_object(value);
+
+ if(devout->ags_main == ags_main){
+ return;
+ }
+
+ if(devout->ags_main != NULL){
+ g_object_unref(G_OBJECT(devout->ags_main));
+ }
+
+ if(ags_main != NULL){
+ g_object_ref(G_OBJECT(ags_main));
+ }
+
+ devout->ags_main = ags_main;
+ }
+ break;
+ case PROP_DEVICE:
+ {
+ char *device;
+
+ device = (char *) g_value_get_string(value);
+
+ if((AGS_DEVOUT_LIBAO & (devout->flags)) != 0){
+ //TODO:JK: implement me
+ }else if((AGS_DEVOUT_OSS & (devout->flags)) != 0){
+ devout->out.oss.device = g_strdup(device);
+ }else if((AGS_DEVOUT_ALSA & (devout->flags)) != 0){
+ devout->out.alsa.device = g_strdup(device);
+ }
+ }
+ break;
+ case PROP_DSP_CHANNELS:
+ {
+ guint dsp_channels;
+
+ dsp_channels = g_value_get_uint(value);
+
+ if(dsp_channels == devout->dsp_channels){
+ return;
+ }
+
+ devout->dsp_channels = dsp_channels;
+ }
+ break;
+ case PROP_PCM_CHANNELS:
+ {
+ guint pcm_channels;
+
+ pcm_channels = g_value_get_uint(value);
+
+ if(pcm_channels == devout->pcm_channels){
+ return;
+ }
+
+ devout->pcm_channels = pcm_channels;
+
+ free(devout->buffer[0]);
+ free(devout->buffer[1]);
+ free(devout->buffer[2]);
+ free(devout->buffer[3]);
+
+ devout->buffer[0] = (signed short *) malloc((pcm_channels * devout->buffer_size) * sizeof(signed short));
+ devout->buffer[1] = (signed short *) malloc((pcm_channels * devout->buffer_size) * sizeof(signed short));
+ devout->buffer[2] = (signed short *) malloc((pcm_channels * devout->buffer_size) * sizeof(signed short));
+ devout->buffer[3] = (signed short *) malloc((pcm_channels * devout->buffer_size) * sizeof(signed short));
+ }
+ break;
+ case PROP_BITS:
+ {
+ //TODO:JK: implement me
+ }
+ break;
+ case PROP_BUFFER_SIZE:
+ {
+ guint buffer_size;
+
+ buffer_size = g_value_get_uint(value);
+
+ if(buffer_size == devout->buffer_size){
+ return;
+ }
+
+ devout->buffer_size = buffer_size;
+
+ free(devout->buffer[0]);
+ free(devout->buffer[1]);
+ free(devout->buffer[2]);
+ free(devout->buffer[3]);
+
+ devout->buffer[0] = (signed short *) malloc((devout->pcm_channels * buffer_size) * sizeof(signed short));
+ devout->buffer[1] = (signed short *) malloc((devout->pcm_channels * buffer_size) * sizeof(signed short));
+ devout->buffer[2] = (signed short *) malloc((devout->pcm_channels * buffer_size) * sizeof(signed short));
+ devout->buffer[3] = (signed short *) malloc((devout->pcm_channels * buffer_size) * sizeof(signed short));
+ }
+ break;
+ case PROP_FREQUENCY:
+ {
+ guint frequency;
+
+ frequency = g_value_get_uint(value);
+
+ if(frequency == devout->frequency){
+ return;
+ }
+
+ devout->frequency = frequency;
+ }
+ break;
+ case PROP_BUFFER:
+ {
+ //TODO:JK: implement me
+ }
+ break;
+ case PROP_BPM:
+ {
+ //TODO:JK: implement me
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_devout_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsDevout *devout;
+
+ devout = AGS_DEVOUT(gobject);
+
+ switch(prop_id){
+ case PROP_DEVICE:
+ {
+ if((AGS_DEVOUT_LIBAO & (devout->flags)) != 0){
+ //TODO:JK: implement me
+ }else if((AGS_DEVOUT_OSS & (devout->flags)) != 0){
+ g_value_set_string(value, devout->out.oss.device);
+ }else if((AGS_DEVOUT_ALSA & (devout->flags)) != 0){
+ g_value_set_string(value, devout->out.alsa.device);
+ }
+ }
+ break;
+ case PROP_DSP_CHANNELS:
+ {
+ g_value_set_uint(value, devout->dsp_channels);
+ }
+ break;
+ case PROP_PCM_CHANNELS:
+ {
+ g_value_set_uint(value, devout->pcm_channels);
+ }
+ break;
+ case PROP_BITS:
+ {
+ g_value_set_uint(value, devout->bits);
+ }
+ break;
+ case PROP_BUFFER_SIZE:
+ {
+ g_value_set_uint(value, devout->buffer_size);
+ }
+ break;
+ case PROP_FREQUENCY:
+ {
+ g_value_set_uint(value, devout->frequency);
+ }
+ break;
+ case PROP_BUFFER:
+ {
+ g_value_set_pointer(value, devout->buffer);
+ }
+ break;
+ case PROP_BPM:
+ {
+ g_value_set_double(value, devout->bpm);
+ }
+ break;
+ case PROP_ATTACK:
+ {
+ g_value_set_pointer(value, devout->attack);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_devout_finalize(GObject *gobject)
+{
+ AgsDevout *devout;
+ GList *list, *list_next;
+
+ devout = AGS_DEVOUT(gobject);
+
+ /* free output buffer */
+ free(devout->buffer[0]);
+ free(devout->buffer[1]);
+ free(devout->buffer[2]);
+ free(devout->buffer[3]);
+
+ /* free buffer array */
+ free(devout->buffer);
+
+ /* free AgsAttack */
+ free(devout->attack);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_devout_parent_class)->finalize(gobject);
+}
+
+void
+ags_devout_connect(AgsConnectable *connectable)
+{
+ AgsDevout *devout;
+ GList *list;
+
+ devout = AGS_DEVOUT(connectable);
+
+ list = devout->audio;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_devout_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_devout_play_domain_alloc:
+ *
+ * Allocs an #AgsDevoutPlayDomain.
+ *
+ * Returns: the devout play domain
+ *
+ * Since: 0.4
+ */
+AgsDevoutPlayDomain*
+ags_devout_play_domain_alloc()
+{
+ AgsDevoutPlayDomain *devout_play_domain;
+
+ devout_play_domain = (AgsDevoutPlayDomain *) malloc(sizeof(AgsDevoutPlayDomain));
+
+ devout_play_domain->domain = NULL;
+
+ devout_play_domain->playback = FALSE;
+ devout_play_domain->sequencer = FALSE;
+ devout_play_domain->notation = FALSE;
+
+ devout_play_domain->devout_play = NULL;
+
+ return(devout_play_domain);
+}
+
+/**
+ * ags_devout_play_domain_free:
+ * @devout_play_domain: the devout play domain
+ *
+ * Frees an #AgsDevoutPlayDomain.
+ *
+ * Since: 0.4
+ */
+void
+ags_devout_play_domain_free(AgsDevoutPlayDomain *devout_play_domain)
+{
+ g_list_free(devout_play_domain->devout_play);
+
+ free(devout_play_domain);
+}
+
+
+/**
+ * ags_devout_play_alloc:
+ *
+ * Allocs an #AgsDevoutPlay.
+ *
+ * Returns: the devout play
+ *
+ * Since: 0.4
+ */
+AgsDevoutPlay*
+ags_devout_play_alloc()
+{
+ AgsDevoutPlay *play;
+
+ play = (AgsDevoutPlay *) malloc(sizeof(AgsDevoutPlay));
+
+ play->flags = 0;
+
+ play->iterator_thread = (AgsIteratorThread **) malloc(3 * sizeof(AgsIteratorThread *));
+
+ play->iterator_thread[0] = ags_iterator_thread_new();
+ play->iterator_thread[1] = ags_iterator_thread_new();
+ play->iterator_thread[2] = ags_iterator_thread_new();
+
+ play->source = NULL;
+ play->audio_channel = 0;
+
+ play->recall_id = (AgsDevoutPlay **) malloc(3 * sizeof(AgsDevoutPlay *));
+
+ play->recall_id[0] = NULL;
+ play->recall_id[1] = NULL;
+ play->recall_id[2] = NULL;
+
+ return(play);
+}
+
+/**
+ * ags_devout_play_free:
+ * @devout_play: the devout play
+ *
+ * Frees an #AgsDevoutPlay.
+ *
+ * Since: 0.4
+ */
+void
+ags_devout_play_free(AgsDevoutPlay *play)
+{
+ g_object_unref(G_OBJECT(play->iterator_thread[0]));
+ g_object_unref(G_OBJECT(play->iterator_thread[1]));
+ g_object_unref(G_OBJECT(play->iterator_thread[2]));
+
+ free(play->iterator_thread);
+}
+
+/**
+ * ags_devout_play_find_source:
+ * @devout_play: a #GList containing #AgsDevoutPlay-struct
+ *
+ * Find source
+ *
+ * Returns: the matching devout play
+ *
+ * Since: 0.4
+ */
+AgsDevoutPlay*
+ags_devout_play_find_source(GList *devout_play,
+ GObject *source)
+{
+ while(devout_play != NULL){
+ if(AGS_DEVOUT_PLAY(devout_play->data)->source == source){
+ return(devout_play->data);
+ }
+
+ devout_play = devout_play->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_devout_list_cards:
+ * @soundcard: the #AgsSoundcard
+ * @card_id: alsa identifier
+ * @card_name: card name
+ *
+ * List available soundcards.
+ *
+ * Since: 0.4
+ */
+void
+ags_devout_list_cards(AgsSoundcard *soundcard,
+ GList **card_id, GList **card_name)
+{
+ snd_ctl_t *card_handle;
+ snd_ctl_card_info_t *card_info;
+ char *name;
+ gchar *str;
+ int card_num;
+ int error;
+
+ *card_id = NULL;
+ *card_name = NULL;
+ card_num = -1;
+
+ while(TRUE){
+ error = snd_card_next(&card_num);
+
+ if(card_num < 0){
+ break;
+ }
+
+ if(error < 0){
+ continue;
+ }
+
+ str = g_strdup_printf("hw:%i\0", card_num);
+ error = snd_ctl_open(&card_handle, str, 0);
+
+ if(error < 0){
+ continue;
+ }
+
+ snd_ctl_card_info_alloca(&card_info);
+ error = snd_ctl_card_info(card_handle, card_info);
+
+ if(error < 0){
+ continue;
+ }
+
+ *card_id = g_list_prepend(*card_id, str);
+ *card_name = g_list_prepend(*card_name, g_strdup(snd_ctl_card_info_get_name(card_info)));
+
+ snd_ctl_close(card_handle);
+ }
+
+ snd_config_update_free_global();
+
+ *card_id = g_list_reverse(*card_id);
+ *card_name = g_list_reverse(*card_name);
+}
+
+/**
+ * ags_devout_pcm_info:
+ * @soundcard: the #AgsSoundcard
+ * @card_id: alsa identifier
+ * @channels_min: minimum channels supported
+ * @channels_max: maximum channels supported
+ * @rate_min: minimum samplerate supported
+ * @rate_max: maximum samplerate supported
+ * @buffer_size_min: minimum buffer size supported
+ * @buffer_size_max maximum buffer size supported
+ * @error: on success %NULL
+ *
+ * List soundcard settings.
+ *
+ * Since: 0.4
+ */
+void
+ags_devout_pcm_info(AgsSoundcard *soundcard,
+ char *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error)
+{
+ int rc;
+ snd_pcm_t *handle;
+ snd_pcm_hw_params_t *params;
+ unsigned int val;
+ int dir;
+ snd_pcm_uframes_t frames;
+ int err;
+
+ /* Open PCM device for playback. */
+ handle = NULL;
+
+ rc = snd_pcm_open(&handle, card_id, SND_PCM_STREAM_PLAYBACK, 0);
+
+ if(rc < 0) {
+ g_message("unable to open pcm device: %s\n\0", snd_strerror(rc));
+
+ g_set_error(error,
+ AGS_DEVOUT_ERROR,
+ AGS_DEVOUT_ERROR_LOCKED_SOUNDCARD,
+ "unable to open pcm device: %s\n\0",
+ snd_strerror(rc));
+
+ return;
+ }
+
+ /* Allocate a hardware parameters object. */
+ snd_pcm_hw_params_alloca(¶ms);
+
+ /* Fill it in with default values. */
+ snd_pcm_hw_params_any(handle, params);
+
+ /* channels */
+ snd_pcm_hw_params_get_channels_min(params, &val);
+ *channels_min = val;
+
+ snd_pcm_hw_params_get_channels_max(params, &val);
+ *channels_max = val;
+
+ /* samplerate */
+ dir = 0;
+ snd_pcm_hw_params_get_rate_min(params, &val, &dir);
+ *rate_min = val;
+
+ dir = 0;
+ snd_pcm_hw_params_get_rate_max(params, &val, &dir);
+ *rate_max = val;
+
+ /* buffer size */
+ dir = 0;
+ snd_pcm_hw_params_get_buffer_size_min(params, &frames);
+ *buffer_size_min = frames;
+
+ dir = 0;
+ snd_pcm_hw_params_get_buffer_size_max(params, &frames);
+ *buffer_size_max = frames;
+
+ snd_pcm_close(handle);
+}
+
+void
+ags_devout_alsa_init(AgsSoundcard *soundcard,
+ GError **error)
+{
+ AgsDevout *devout;
+
+ int rc;
+ snd_pcm_t *handle;
+ snd_pcm_hw_params_t *hwparams;
+ unsigned int val;
+ snd_pcm_uframes_t frames;
+ unsigned int rate;
+ unsigned int rrate;
+ unsigned int channels;
+ snd_pcm_uframes_t size;
+ snd_pcm_sframes_t buffer_size;
+ snd_pcm_sframes_t period_size;
+ snd_pcm_sw_params_t *swparams;
+ int period_event = 0;
+ int err, dir;
+
+ static unsigned int period_time = 100000;
+ static snd_pcm_format_t format = SND_PCM_FORMAT_S16;
+
+ devout = AGS_DEVOUT(soundcard);
+
+ devout->note_offset = 0;
+
+ /* Open PCM device for playback. */
+ if ((err = snd_pcm_open(&handle, devout->out.alsa.device, SND_PCM_STREAM_PLAYBACK, 0)) < 0) {
+ printf("Playback open error: %s\n", snd_strerror(err));
+ g_set_error(error,
+ AGS_DEVOUT_ERROR,
+ AGS_DEVOUT_ERROR_LOCKED_SOUNDCARD,
+ "unable to open pcm device: %s\n\0",
+ snd_strerror(err));
+ return;
+ }
+
+ snd_pcm_hw_params_alloca(&hwparams);
+ snd_pcm_sw_params_alloca(&swparams);
+
+ /* choose all parameters */
+ err = snd_pcm_hw_params_any(handle, hwparams);
+ if (err < 0) {
+ printf("Broken configuration for playback: no configurations available: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* set hardware resampling */
+ err = snd_pcm_hw_params_set_rate_resample(handle, hwparams, 1);
+ if (err < 0) {
+ printf("Resampling setup failed for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* set the interleaved read/write format */
+ err = snd_pcm_hw_params_set_access(handle, hwparams, SND_PCM_ACCESS_RW_INTERLEAVED);
+ if (err < 0) {
+ printf("Access type not available for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* set the sample format */
+ err = snd_pcm_hw_params_set_format(handle, hwparams, format);
+ if (err < 0) {
+ printf("Sample format not available for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* set the count of channels */
+ channels = devout->dsp_channels;
+ err = snd_pcm_hw_params_set_channels(handle, hwparams, channels);
+ if (err < 0) {
+ printf("Channels count (%i) not available for playbacks: %s\n", channels, snd_strerror(err));
+ return;
+ }
+
+ /* set the stream rate */
+ rate = devout->frequency;
+ rrate = rate;
+ err = snd_pcm_hw_params_set_rate_near(handle, hwparams, &rrate, 0);
+ if (err < 0) {
+ printf("Rate %iHz not available for playback: %s\n", rate, snd_strerror(err));
+ return;
+ }
+
+ if (rrate != rate) {
+ printf("Rate doesn't match (requested %iHz, get %iHz)\n", rate, err);
+ // exit(-EINVAL);
+ return;
+ }
+
+ /* set the buffer size */
+ size = devout->buffer_size;
+ err = snd_pcm_hw_params_set_buffer_size(handle, hwparams, size);
+ if (err < 0) {
+ printf("Unable to set buffer size %i for playback: %s\n", size, snd_strerror(err));
+ return;
+ }
+
+ buffer_size = size;
+
+ /* set the period time */
+ period_time = MSEC_PER_SEC / devout->frequency;
+ dir = -1;
+ err = snd_pcm_hw_params_set_period_time_near(handle, hwparams, &period_time, &dir);
+ if (err < 0) {
+ printf("Unable to set period time %i for playback: %s\n", period_time, snd_strerror(err));
+ return;
+ }
+
+ err = snd_pcm_hw_params_get_period_size(hwparams, &size, &dir);
+ if (err < 0) {
+ printf("Unable to get period size for playback: %s\n", snd_strerror(err));
+ return;
+ }
+ period_size = size;
+
+ /* write the parameters to device */
+ err = snd_pcm_hw_params(handle, hwparams);
+ if (err < 0) {
+ printf("Unable to set hw params for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* get the current swparams */
+ err = snd_pcm_sw_params_current(handle, swparams);
+ if (err < 0) {
+ printf("Unable to determine current swparams for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* start the transfer when the buffer is almost full: */
+ /* (buffer_size / avail_min) * avail_min */
+ err = snd_pcm_sw_params_set_start_threshold(handle, swparams, (buffer_size / period_size) * period_size);
+ if (err < 0) {
+ printf("Unable to set start threshold mode for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* allow the transfer when at least period_size samples can be processed */
+ /* or disable this mechanism when period event is enabled (aka interrupt like style processing) */
+ err = snd_pcm_sw_params_set_avail_min(handle, swparams, period_event ? buffer_size : period_size);
+ if (err < 0) {
+ printf("Unable to set avail min for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* write the parameters to the playback device */
+ err = snd_pcm_sw_params(handle, swparams);
+ if (err < 0) {
+ printf("Unable to set sw params for playback: %s\n", snd_strerror(err));
+ return;
+ }
+
+ /* */
+ devout->out.alsa.handle = handle;
+ devout->delay_counter = 0.0;
+ devout->tic_counter = 0;
+}
+
+void
+ags_devout_alsa_play(AgsSoundcard *soundcard,
+ GError **error)
+{
+ AgsDevout *devout;
+ gdouble delay;
+
+ devout = AGS_DEVOUT(soundcard);
+
+ /* */
+ if((AGS_DEVOUT_BUFFER0 & (devout->flags)) != 0){
+ memset(devout->buffer[3], 0, (size_t) devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+
+ devout->out.alsa.rc = snd_pcm_writei(devout->out.alsa.handle,
+ devout->buffer[0],
+ (snd_pcm_uframes_t) (devout->buffer_size));
+
+ if((AGS_DEVOUT_NONBLOCKING & (devout->flags)) == 0){
+ if(devout->out.alsa.rc == -EPIPE){
+ /* EPIPE means underrun */
+ snd_pcm_prepare(devout->out.alsa.handle);
+
+#ifdef AGS_DEBUG
+ g_message("underrun occurred\0");
+#endif
+ }else if(devout->out.alsa.rc == -ESTRPIPE){
+ static const struct timespec idle = {
+ 0,
+ 4000,
+ };
+
+ int err;
+
+ while((err = snd_pcm_resume(devout->out.alsa.handle)) == -EAGAIN)
+ nanosleep(&idle, NULL); /* wait until the suspend flag is released */
+ if(err < 0){
+ err = snd_pcm_prepare(devout->out.alsa.handle);
+ }
+ }else if(devout->out.alsa.rc < 0){
+ g_message("error from writei: %s\0", snd_strerror(devout->out.alsa.rc));
+ }else if(devout->out.alsa.rc != (int) devout->buffer_size) {
+ g_message("short write, write %d frames\0", devout->out.alsa.rc);
+ }
+ }
+ // g_message("ags_devout_play 0\0");
+ }else if((AGS_DEVOUT_BUFFER1 & (devout->flags)) != 0){
+ memset(devout->buffer[0], 0, (size_t) devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+
+ devout->out.alsa.rc = snd_pcm_writei(devout->out.alsa.handle,
+ devout->buffer[1],
+ (snd_pcm_uframes_t) (devout->buffer_size));
+
+ if((AGS_DEVOUT_NONBLOCKING & (devout->flags)) == 0){
+ if(devout->out.alsa.rc == -EPIPE){
+ /* EPIPE means underrun */
+ snd_pcm_prepare(devout->out.alsa.handle);
+
+#ifdef AGS_DEBUG
+ g_message("underrun occurred\0");
+#endif
+ }else if(devout->out.alsa.rc == -ESTRPIPE){
+ static const struct timespec idle = {
+ 0,
+ 4000,
+ };
+
+ int err;
+
+ while((err = snd_pcm_resume(devout->out.alsa.handle)) == -EAGAIN)
+ nanosleep(&idle, NULL); /* wait until the suspend flag is released */
+ if(err < 0){
+ err = snd_pcm_prepare(devout->out.alsa.handle);
+ }
+ }else if(devout->out.alsa.rc < 0){
+ g_message("error from writei: %s\0", snd_strerror(devout->out.alsa.rc));
+ }else if(devout->out.alsa.rc != (int) devout->buffer_size) {
+ g_message("short write, write %d frames\0", devout->out.alsa.rc);
+ }
+ }
+ // g_message("ags_devout_play 1\0");
+ }else if((AGS_DEVOUT_BUFFER2 & (devout->flags)) != 0){
+ memset(devout->buffer[1], 0, (size_t) devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+
+ devout->out.alsa.rc = snd_pcm_writei(devout->out.alsa.handle,
+ devout->buffer[2],
+ (snd_pcm_uframes_t) (devout->buffer_size));
+
+ if((AGS_DEVOUT_NONBLOCKING & (devout->flags)) == 0){
+ if(devout->out.alsa.rc == -EPIPE){
+ /* EPIPE means underrun */
+ snd_pcm_prepare(devout->out.alsa.handle);
+
+#ifdef AGS_DEBUG
+ g_message("underrun occurred\0");
+#endif
+ }else if(devout->out.alsa.rc == -ESTRPIPE){
+ static const struct timespec idle = {
+ 0,
+ 4000,
+ };
+
+ int err;
+
+ while((err = snd_pcm_resume(devout->out.alsa.handle)) == -EAGAIN)
+ nanosleep(&idle, NULL); /* wait until the suspend flag is released */
+ if(err < 0){
+ err = snd_pcm_prepare(devout->out.alsa.handle);
+ }
+ }else if(devout->out.alsa.rc < 0){
+ g_message("error from writei: %s\0", snd_strerror(devout->out.alsa.rc));
+ }else if(devout->out.alsa.rc != (int) devout->buffer_size) {
+ g_message("short write, write %d frames\0", devout->out.alsa.rc);
+ }
+ }
+ // g_message("ags_devout_play 2\0");
+ }else if((AGS_DEVOUT_BUFFER3 & devout->flags) != 0){
+ memset(devout->buffer[2], 0, (size_t) devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+
+ devout->out.alsa.rc = snd_pcm_writei(devout->out.alsa.handle,
+ devout->buffer[3],
+ (snd_pcm_uframes_t) (devout->buffer_size));
+
+ if((AGS_DEVOUT_NONBLOCKING & (devout->flags)) == 0){
+ if(devout->out.alsa.rc == -EPIPE){
+ snd_pcm_prepare(devout->out.alsa.handle);
+
+#ifdef AGS_DEBUG
+ g_message("underrun occurred\0");
+#endif
+ }else if(devout->out.alsa.rc == -ESTRPIPE){
+ static const struct timespec idle = {
+ 0,
+ 4000,
+ };
+
+ int err;
+
+ while((err = snd_pcm_resume(devout->out.alsa.handle)) == -EAGAIN)
+ nanosleep(&idle, NULL); /* wait until the suspend flag is released */
+ if(err < 0){
+ err = snd_pcm_prepare(devout->out.alsa.handle);
+ }
+ }else if(devout->out.alsa.rc < 0){
+ g_message("error from writei: %s\0", snd_strerror(devout->out.alsa.rc));
+ }else if(devout->out.alsa.rc != (int) devout->buffer_size) {
+ g_message("short write, write %d frames\0", devout->out.alsa.rc);
+ }
+ }
+ // g_message("ags_devout_play 3\0");
+ }
+
+ /* determine if attack should be switched */
+ delay = devout->delay[devout->tic_counter];
+ devout->delay_counter += 1.0;
+
+ ///TODO:JK: fix me
+ if(devout->delay_counter >= delay){ //devout->delay[devout->tic_counter]
+ devout->tic_counter += 1;
+
+ if(devout->tic_counter == AGS_DEVOUT_DEFAULT_PERIOD){
+ devout->tic_counter = 0;
+ }
+
+ /* delay */
+ devout->delay_counter = 0.0;
+ ags_soundcard_offset_changed(soundcard,
+ devout->note_offset);
+ }
+
+ /* tic */
+ ags_soundcard_tic(soundcard);
+
+ /* switch buffer flags */
+ ags_devout_switch_buffer_flag(devout);
+
+ snd_pcm_prepare(devout->out.alsa.handle);
+}
+
+void
+ags_devout_alsa_free(AgsSoundcard *soundcard)
+{
+ AgsDevout *devout;
+
+ devout = AGS_DEVOUT(soundcard);
+
+ snd_pcm_drain(devout->out.alsa.handle);
+ snd_pcm_close(devout->out.alsa.handle);
+ devout->out.alsa.handle = NULL;
+ devout->flags &= (~(AGS_DEVOUT_BUFFER0 &
+ AGS_DEVOUT_BUFFER1 &
+ AGS_DEVOUT_BUFFER2 &
+ AGS_DEVOUT_BUFFER3));
+}
+
+signed short*
+ags_devout_get_buffer(AgsSoundcard *soundcard)
+{
+ AgsDevout *devout;
+ signed short *buffer;
+
+ devout = AGS_DEVOUT(soundcard);
+
+ if((AGS_DEVOUT_BUFFER0 & (devout->flags)) != 0){
+ buffer = devout->buffer[0];
+ }else if((AGS_DEVOUT_BUFFER1 & (devout->flags)) != 0){
+ buffer = devout->buffer[1];
+ }else if((AGS_DEVOUT_BUFFER2 & (devout->flags)) != 0){
+ buffer = devout->buffer[2];
+ }else if((AGS_DEVOUT_BUFFER3 & (devout->flags)) != 0){
+ buffer = devout->buffer[3];
+ }else{
+ buffer = NULL;
+ }
+
+ return(buffer);
+}
+
+signed short*
+ags_devout_get_next_buffer(AgsSoundcard *soundcard)
+{
+ AgsDevout *devout;
+ signed short *buffer;
+
+ devout = AGS_DEVOUT(soundcard);
+
+ if((AGS_DEVOUT_BUFFER0 & (devout->flags)) != 0){
+ buffer = devout->buffer[1];
+ }else if((AGS_DEVOUT_BUFFER1 & (devout->flags)) != 0){
+ buffer = devout->buffer[2];
+ }else if((AGS_DEVOUT_BUFFER2 & (devout->flags)) != 0){
+ buffer = devout->buffer[3];
+ }else if((AGS_DEVOUT_BUFFER3 & (devout->flags)) != 0){
+ buffer = devout->buffer[0];
+ }else{
+ buffer = NULL;
+ }
+
+ return(buffer);
+}
+
+void
+ags_devout_set_note_offset(AgsSoundcard *soundcard,
+ guint note_offset)
+{
+ AGS_DEVOUT(soundcard)->note_offset = note_offset;
+}
+
+guint
+ags_devout_get_note_offset(AgsSoundcard *soundcard)
+{
+ return(AGS_DEVOUT(soundcard)->note_offset);
+}
+
+/**
+ * ags_devout_switch_buffer_flag:
+ * @devout: an #AgsDevout
+ *
+ * The buffer flag indicates the currently played buffer.
+ *
+ * Since: 0.3
+ */
+void
+ags_devout_switch_buffer_flag(AgsDevout *devout)
+{
+ if((AGS_DEVOUT_BUFFER0 & (devout->flags)) != 0){
+ devout->flags &= (~AGS_DEVOUT_BUFFER0);
+ devout->flags |= AGS_DEVOUT_BUFFER1;
+ }else if((AGS_DEVOUT_BUFFER1 & (devout->flags)) != 0){
+ devout->flags &= (~AGS_DEVOUT_BUFFER1);
+ devout->flags |= AGS_DEVOUT_BUFFER2;
+ }else if((AGS_DEVOUT_BUFFER2 & (devout->flags)) != 0){
+ devout->flags &= (~AGS_DEVOUT_BUFFER2);
+ devout->flags |= AGS_DEVOUT_BUFFER3;
+ }else if((AGS_DEVOUT_BUFFER3 & (devout->flags)) != 0){
+ devout->flags &= (~AGS_DEVOUT_BUFFER3);
+ devout->flags |= AGS_DEVOUT_BUFFER0;
+ }
+}
+
+/**
+ * ags_devout_add_audio:
+ * @devout: an #AgsDevout
+ * @audio: the #AgsAudio to add
+ *
+ * Add audio to devout.
+ *
+ * Since: 0.4
+ */
+void
+ags_devout_add_audio(AgsDevout *devout, GObject *audio)
+{
+ if(g_list_find(devout->audio,
+ audio) != NULL){
+ return;
+ }
+
+ g_object_ref(G_OBJECT(audio));
+ devout->audio = g_list_prepend(devout->audio,
+ audio);
+}
+
+/**
+ * ags_devout_remove_audio:
+ * @devout: an #AgsDevout
+ * @audio: the #AgsAudio to remove
+ *
+ * Remove audio of devout.
+ *
+ * Since: 0.4
+ */
+void
+ags_devout_remove_audio(AgsDevout *devout, GObject *audio)
+{
+ devout->audio = g_list_remove(devout->audio,
+ audio);
+ g_object_unref(G_OBJECT(audio));
+}
+
+/**
+ * ags_devout_new:
+ * @ags_main: the #AgsMain
+ *
+ * Creates an #AgsDevout, refering to @ags_main.
+ *
+ * Returns: a new #AgsDevout
+ *
+ * Since: 0.3
+ */
+AgsDevout*
+ags_devout_new(GObject *ags_main)
+{
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_object_new(AGS_TYPE_DEVOUT, NULL);
+
+ if(ags_main != NULL){
+ //TODO:JK: use set_property
+ g_object_ref(G_OBJECT(ags_main));
+ devout->ags_main = ags_main;
+ }
+
+ return(devout);
+}
diff --git a/src/ags/audio/ags_devout.h b/src/ags/audio/ags_devout.h
new file mode 100644
index 0000000..bf98682
--- /dev/null
+++ b/src/ags/audio/ags_devout.h
@@ -0,0 +1,233 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DEVOUT_H__
+#define __AGS_DEVOUT_H__
+
+#include <pthread.h>
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <sys/types.h>
+
+#include <alsa/asoundlib.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_devout_thread.h>
+#include <ags/thread/ags_iterator_thread.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+#define AGS_TYPE_DEVOUT (ags_devout_get_type())
+#define AGS_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DEVOUT, AgsDevout))
+#define AGS_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DEVOUT, AgsDevout))
+#define AGS_IS_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DEVOUT))
+#define AGS_IS_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DEVOUT))
+#define AGS_DEVOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DEVOUT, AgsDevoutClass))
+
+#define AGS_DEVOUT_PLAY_DOMAIN(ptr) ((AgsDevoutPlayDomain *)(ptr))
+#define AGS_DEVOUT_PLAY(ptr) ((AgsDevoutPlay *)(ptr))
+
+#define AGS_DEVOUT_DEFAULT_SAMPLERATE (44100.0)
+#define AGS_DEVOUT_DEFAULT_FORMAT (AGS_DEVOUT_RESOLUTION_16_BIT)
+#define AGS_DEVOUT_DEFAULT_BUFFER_SIZE (944)
+#define AGS_DEVOUT_DEFAULT_BPM (120.0)
+#define AGS_DEVOUT_DEFAULT_JIFFIE ((double) AGS_DEVOUT_DEFAULT_SAMPLERATE / (double) AGS_DEVOUT_DEFAULT_BUFFER_SIZE)
+
+#define AGS_DEVOUT_DEFAULT_TACT (1.0 / 1.0)
+#define AGS_DEVOUT_DEFAULT_TACT_JIFFIE (60.0 / AGS_DEVOUT_DEFAULT_BPM * AGS_DEVOUT_DEFAULT_TACT)
+#define AGS_DEVOUT_DEFAULT_TACTRATE (1.0 / AGS_DEVOUT_DEFAULT_TACT_JIFFIE)
+
+#define AGS_DEVOUT_DEFAULT_SCALE (1.0)
+#define AGS_DEVOUT_DEFAULT_DELAY (AGS_DEVOUT_DEFAULT_JIFFIE * (60.0 / AGS_DEVOUT_DEFAULT_BPM))
+
+#define AGS_DEVOUT_DEFAULT_PERIOD (64.0)
+
+typedef struct _AgsDevout AgsDevout;
+typedef struct _AgsDevoutClass AgsDevoutClass;
+typedef struct _AgsDevoutPlay AgsDevoutPlay;
+typedef struct _AgsDevoutPlayDomain AgsDevoutPlayDomain;
+
+typedef enum
+{
+ AGS_DEVOUT_BUFFER0 = 1,
+ AGS_DEVOUT_BUFFER1 = 1 << 1,
+ AGS_DEVOUT_BUFFER2 = 1 << 2,
+ AGS_DEVOUT_BUFFER3 = 1 << 3,
+
+ AGS_DEVOUT_ATTACK_FIRST = 1 << 4,
+
+ AGS_DEVOUT_PLAY = 1 << 5,
+
+ AGS_DEVOUT_LIBAO = 1 << 6,
+ AGS_DEVOUT_OSS = 1 << 7,
+ AGS_DEVOUT_ALSA = 1 << 8,
+
+ AGS_DEVOUT_SHUTDOWN = 1 << 9,
+ AGS_DEVOUT_START_PLAY = 1 << 10,
+
+ AGS_DEVOUT_NONBLOCKING = 1 << 11,
+
+ AGS_DEVOUT_TIMING_SET_0 = 1 << 12,
+ AGS_DEVOUT_TIMING_SET_1 = 1 << 13,
+}AgsDevoutFlags;
+
+typedef enum
+{
+ AGS_DEVOUT_PLAY_DONE = 1,
+ AGS_DEVOUT_PLAY_REMOVE = 1 << 1,
+ AGS_DEVOUT_PLAY_CHANNEL = 1 << 2,
+ AGS_DEVOUT_PLAY_PAD = 1 << 3,
+ AGS_DEVOUT_PLAY_AUDIO = 1 << 4,
+ AGS_DEVOUT_PLAY_PLAYBACK = 1 << 5,
+ AGS_DEVOUT_PLAY_SEQUENCER = 1 << 6,
+ AGS_DEVOUT_PLAY_NOTATION = 1 << 7,
+ AGS_DEVOUT_PLAY_SUPER_THREADED = 1 << 8,
+}AgsDevoutPlayFlags;
+
+typedef enum{
+ AGS_DEVOUT_RESOLUTION_8_BIT = 8,
+ AGS_DEVOUT_RESOLUTION_16_BIT = 16,
+ AGS_DEVOUT_RESOLUTION_24_BIT = 24,
+ AGS_DEVOUT_RESOLUTION_32_BIT = 32,
+ AGS_DEVOUT_RESOLUTION_64_BIT = 64,
+}AgsDevoutResolutionMode;
+
+#define AGS_DEVOUT_ERROR (ags_devout_error_quark())
+
+typedef enum{
+ AGS_DEVOUT_ERROR_LOCKED_SOUNDCARD,
+}AgsDevoutError;
+
+struct _AgsDevout
+{
+ GObject object;
+
+ guint flags;
+
+ guint dsp_channels;
+ guint pcm_channels;
+ guint bits;
+ guint buffer_size;
+ guint frequency; // sample_rate
+
+ signed short** buffer;
+
+ double bpm; // beats per minute
+
+ gdouble *delay; // count of tics within buffer size
+ guint *attack; // where currently tic resides in the stream's offset, measured in 1/64 of bpm
+
+ gdouble delay_counter; // next time attack changeing when delay_counter == delay
+ guint tic_counter; // in the range of default period
+
+ guint note_offset;
+
+ union{
+ struct _AgsOss{
+ int device_fd;
+ char *device;
+ }oss;
+ struct _AgsAlsa{
+ char *device;
+ int rc;
+ snd_pcm_t *handle;
+ snd_async_handler_t *ahandler;
+ snd_pcm_hw_params_t *params;
+ }alsa;
+ }out;
+
+ GObject *ags_main;
+
+ GList *audio;
+};
+
+struct _AgsDevoutClass
+{
+ GObjectClass object;
+};
+
+/**
+ * AgsDevoutPlayDomain:
+ * @domain: the source
+ * @playback: if %TRUE playback is on
+ * @sequencer: if %TRUE sequencer is on
+ * @notation: if %TRUE notation is on
+ * @devout_play: a #GList of #AgsDevoutPlay-struct
+ *
+ * A #AgsDevoutPlayDomain-struct represents the entire possible play/recall
+ * context.
+ */
+struct _AgsDevoutPlayDomain
+{
+ GObject *domain;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+
+ GList *devout_play;
+};
+
+/**
+ * AgsDevoutPlay:
+ * @flags: the internal state
+ * @iterator_thread: Super-threaded related #AgsThread. Index 0 playback, 1 sequencer and 2 notation.
+ * @source: either #AgsChannel or #AgsRecall
+ * @audio_channel: destination audio channel
+ * @recall_id: array pointing to appropriate #AgsRecallID. Index 0 playback, 1 sequencer and 2 notation.
+ *
+ * A #AgsDevoutPlay-struct represents the play/recall in #AgsChannel or #AgsRecall
+ * scope to do output to device.
+ */
+struct _AgsDevoutPlay
+{
+ guint flags;
+
+ AgsIteratorThread **iterator_thread;
+
+ GObject *source;
+ guint audio_channel;
+
+ AgsRecallID **recall_id;
+};
+
+GType ags_devout_get_type();
+
+GQuark ags_devout_error_quark();
+
+AgsDevoutPlayDomain* ags_devout_play_domain_alloc();
+
+void ags_devout_play_domain_free(AgsDevoutPlayDomain *devout_play_domain);
+
+AgsDevoutPlay* ags_devout_play_alloc();
+
+void ags_devout_play_free(AgsDevoutPlay *devout_play);
+
+AgsDevoutPlay* ags_devout_play_find_source(GList *devout_play,
+ GObject *source);
+
+void ags_devout_add_audio(AgsDevout *devout, GObject *audio);
+
+void ags_devout_remove_audio(AgsDevout *devout, GObject *audio);
+
+AgsDevout* ags_devout_new(GObject *ags_main);
+
+#endif /*__AGS_DEVOUT_H__*/
diff --git a/src/ags/audio/ags_effect.h b/src/ags/audio/ags_effect.h
new file mode 100644
index 0000000..260674e
--- /dev/null
+++ b/src/ags/audio/ags_effect.h
@@ -0,0 +1,26 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_H__
+#define __AGS_EFFECT_H__
+
+#define AGS_EFFECT_COPY_STREAM "copy_stream"
+#define AGS_EFFECT_COPY_BUFFER "copy_buffer"
+#define AGS_EFFECT_DOWN_MIX "down_mix"
+
+#endif /*__AGS_EFFECT_H__*/
diff --git a/src/ags/audio/ags_garbage_collector.c b/src/ags/audio/ags_garbage_collector.c
new file mode 100644
index 0000000..024d7d6
--- /dev/null
+++ b/src/ags/audio/ags_garbage_collector.c
@@ -0,0 +1,264 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_garbage_collector.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio_signal.h>
+
+#include <stdlib.h>
+
+void ags_garbage_collector_class_init (AgsGarbageCollectorClass *garbage_collector_class);
+void ags_garbage_collector_init (AgsGarbageCollector *garbage_collector);
+void ags_garbage_collector_destroy (GObject *gobject);
+
+GType
+ags_garbage_collector_get_type (void)
+{
+ static GType ags_type_garbage_collector = 0;
+
+ if(!ags_type_garbage_collector){
+ static const GTypeInfo ags_garbage_collector_info = {
+ sizeof (AgsGarbageCollectorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_garbage_collector_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsGarbageCollector),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_garbage_collector_init,
+ };
+ ags_type_garbage_collector = g_type_register_static (G_TYPE_OBJECT, "AgsGarbageCollector\0", &ags_garbage_collector_info, 0);
+ }
+ return(ags_type_garbage_collector);
+}
+
+void
+ags_garbage_collector_class_init(AgsGarbageCollectorClass *garbage_collector_class)
+{
+}
+
+void
+ags_garbage_collector_init(AgsGarbageCollector *garbage_collector)
+{
+ garbage_collector->flags = 0;
+
+ garbage_collector->devout = NULL;
+
+ garbage_collector->list = NULL;
+ garbage_collector->stopped = NULL;
+ garbage_collector->start = NULL;
+ garbage_collector->end = NULL;
+}
+
+void
+ags_garbage_collector_destroy(GObject *gobject)
+{
+ g_object_unref(gobject);
+}
+
+void
+ags_garbage_collector_add(AgsGarbageCollector *garbage_collector, AgsRecycling *recycling)
+{
+ static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+
+ g_static_mutex_lock(&mutex);
+ garbage_collector->list = g_list_prepend(garbage_collector->list, recycling);
+
+ if(garbage_collector->stopped == NULL)
+ garbage_collector->stopped = garbage_collector->list;
+
+ g_static_mutex_unlock(&mutex);
+}
+
+void
+ags_garbage_collector_remove(AgsGarbageCollector *garbage_collector, AgsRecycling *recycling)
+{
+ static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+
+ g_static_mutex_lock(&mutex);
+
+ if((AGS_GARBAGE_COLLECTOR_RUN & garbage_collector->flags) != 0){
+ garbage_collector->flags |= AGS_GARBAGE_COLLECTOR_CANCEL_RUN;
+ g_static_mutex_unlock(&mutex);
+
+ if(recycling == garbage_collector->stopped->data){
+ }
+
+ if(garbage_collector->stopped == garbage_collector->start){
+ }
+
+ if(garbage_collector->stopped == garbage_collector->end){
+ }
+
+ garbage_collector->list = g_list_remove(garbage_collector->list, (gpointer) recycling);
+ }else{
+ garbage_collector->list = g_list_remove(garbage_collector->list, (gpointer) recycling);
+
+ g_static_mutex_unlock(&mutex);
+ }
+}
+
+/*
+ * you should set the flag AGS_GARBAGE_COLLECTOR_RUN on before calling this function and wrap it with a mutex
+ */
+void
+ags_garbage_collector_run(AgsGarbageCollector *garbage_collector)
+{
+ GList *audio_signal;
+ gboolean stopped_is_control;
+ static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+ /*
+ void ags_garbage_collector_run_audio_signal(AgsAudioSignal *audio_signal){
+ GList *stream, *stream_prev, *lock, *prev_lock;
+ guint i;
+ gboolean reset_lock_attack;
+ static GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+
+ stream = audio_signal->stream;
+ i = audio_signal->lock_attack;
+ reset_lock_attack = TRUE;
+
+ if(i == AGS_STREAM_LOCK_SIZE){
+ prev_lock = audio_signal->lock;
+ audio_signal->lock = audio_signal->lock->next;
+ audio_signal->lock->prev = NULL;
+ free(prev_lock);
+ i = 0;
+ }else
+ lock = audio_signal->lock;
+
+ goto ags_garbage_collector_run_audio_signal0;
+
+ while(stream != audio_signal->current_stream && stream != NULL){
+ for(i = 0; i < AGS_STREAM_LOCK_SIZE;){
+ ags_garbage_collector_run_audio_signal0:
+ if((AGS_GARBAGE_COLLECTOR_CANCEL_RUN & garbage_collector->flags) != 0){
+ return;
+ }
+
+ if(AGS_STREAM_LOCK(lock->data)->lock[i] == 0){
+ if(reset_lock_attack){
+ audio_signal->stream = stream->next;
+ stream_prev = stream;
+ stream = stream->next;
+ stream->prev = NULL;
+ free(stream_prev);
+ }else{
+ stream_prev = stream;
+ stream = stream->next;
+ stream->prev = stream_prev->prev;
+ stream_prev->prev->next = stream;
+ free(stream_prev);
+ }
+
+ AGS_STREAM_LOCK(lock->data)->lock[i] = ~0;
+ }else if(reset_lock_attack){
+ reset_lock_attack = FALSE;
+ }
+
+ if(AGS_STREAM_LOCK(lock->data)->lock[i] != ~0)
+ stream = stream->next;
+
+ i++;
+
+ if(reset_lock_attack){
+ audio_signal->lock_attack = i;
+ g_static_mutex_unlock(&mutex);
+ }
+ }
+
+ if(reset_lock_attack){
+ prev_lock = audio_signal->lock;
+ audio_signal->lock = audio_signal->lock->next;
+ audio_signal->lock->prev = NULL;
+ free(prev_lock);
+ }else
+ lock = lock->next;
+ }
+ }
+
+ if(garbage_collector->stopped == NULL)
+ return;
+
+ g_static_mutex_lock(&mutex);
+ garbage_collector->start = garbage_collector->stopped;
+ garbage_collector->end = NULL;
+ g_static_mutex_unlock(&mutex);
+
+ if(garbage_collector->start != garbage_collector->list)
+ stopped_is_control = FALSE;
+ else
+ stopped_is_control = TRUE;
+
+ ags_garbage_collector_run0:
+
+ while(garbage_collector->stopped != garbage_collector->end){
+ if((AGS_GARBAGE_COLLECTOR_CANCEL_RUN & garbage_collector->flags) != 0){
+ garbage_collector->flags &= (~AGS_GARBAGE_COLLECTOR_RUN);
+ return;
+ }
+
+ audio_signal = AGS_RECYCLING(garbage_collector->stopped->data)->audio_signal;
+
+ while(audio_signal != NULL && (AGS_AUDIO_SIGNAL(audio_signal->data)->start < AGS_DEVOUT(garbage_collector->devout)->offset)){
+ ags_garbage_collector_run_audio_signal((AgsAudioSignal *) audio_signal->data);
+
+ if((AGS_GARBAGE_COLLECTOR_CANCEL_RUN & garbage_collector->flags) != 0){
+ garbage_collector->flags &= (~AGS_GARBAGE_COLLECTOR_RUN);
+ return;
+ }
+
+ audio_signal = audio_signal->next;
+ }
+
+ garbage_collector->stopped = garbage_collector->stopped->next;
+ }
+
+ if(!stopped_is_control){
+ garbage_collector->stopped = garbage_collector->list;
+
+ garbage_collector->end = garbage_collector->start;
+ garbage_collector->start = garbage_collector->list;
+ stopped_is_control = TRUE;
+ goto ags_garbage_collector_run0;
+ }
+
+ ags_garbage_collector_runEnd:
+
+ g_static_mutex_lock(&mutex);
+
+ if(garbage_collector->stopped == NULL)
+ garbage_collector->stopped = garbage_collector->list;
+
+ garbage_collector->flags &= (~AGS_GARBAGE_COLLECTOR_RUN);
+
+ g_static_mutex_unlock(&mutex);
+ */
+}
+
+AgsGarbageCollector*
+ags_garbage_collector_new()
+{
+ AgsGarbageCollector *garbage_collector;
+
+ garbage_collector = (AgsGarbageCollector *) g_object_new(AGS_TYPE_GARBAGE_COLLECTOR, NULL);
+
+ return(garbage_collector);
+}
diff --git a/src/ags/audio/ags_garbage_collector.h b/src/ags/audio/ags_garbage_collector.h
new file mode 100644
index 0000000..962f61f
--- /dev/null
+++ b/src/ags/audio/ags_garbage_collector.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_GARBAGE_COLLECTOR_H__
+#define __AGS_GARBAGE_COLLECTOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_recycling.h>
+
+#define AGS_TYPE_GARBAGE_COLLECTOR (ags_garbage_collector_get_type())
+#define AGS_GARBAGE_COLLECTOR(obj) ((AgsGarbage_Collector*) G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_GARBAGE_COLLECTOR, AgsGarbageCollector))
+#define AGS_GARBAGE_COLLECTOR_CLASS(class) ((AgsGarbage_CollectorClass*) G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GARBAGE_COLLECTOR, AgsGarbageCollectorClass))
+
+typedef struct _AgsGarbageCollector AgsGarbageCollector;
+typedef struct _AgsGarbageCollectorClass AgsGarbageCollectorClass;
+
+typedef enum{
+ AGS_GARBAGE_COLLECTOR_RUN = 1, // cancel flag of ags_garbage_collector run
+ AGS_GARBAGE_COLLECTOR_CANCEL_RUN = 1 << 1, // used by ags_garbage_collector_remove to remove the current (stopped) AgsRecycling while ags_garbage_collector_run is running
+}AgsGarbageCollectorFlags;
+
+struct _AgsGarbageCollector
+{
+ GObject object;
+
+ guint32 flags;
+
+ GObject *devout;
+
+ GList *list; // data of type AgsRecycling
+ GList *stopped;
+ GList *start;
+ GList *end;
+};
+
+struct _AgsGarbageCollectorClass
+{
+ GObjectClass object;
+};
+
+GType ags_garbage_collector_get_type();
+
+void ags_garbage_collector_add(AgsGarbageCollector *garbage_collector, AgsRecycling *recycling);
+void ags_garbage_collector_remove(AgsGarbageCollector *garbage_collector, AgsRecycling *recycling);
+
+void ags_garbage_collector_run(AgsGarbageCollector *garbage_collector);
+
+AgsGarbageCollector* ags_garbage_collector_new();
+
+#endif /*__AGS_GARBAGE_COLLECTOR_H__*/
diff --git a/src/ags/audio/ags_input.c b/src/ags/audio/ags_input.c
new file mode 100644
index 0000000..0fb4e15
--- /dev/null
+++ b/src/ags/audio/ags_input.c
@@ -0,0 +1,252 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_input.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/file/ags_file_link.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+void ags_input_class_init (AgsInputClass *input_class);
+void ags_input_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_input_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_input_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_input_init (AgsInput *input);
+void ags_input_finalize (GObject *gobject);
+void ags_input_connect(AgsConnectable *connectable);
+void ags_input_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_input
+ * @short_description: Input of #AgsAudio
+ * @title: AgsInput
+ * @section_id:
+ * @include: ags/audio/ags_input.h
+ *
+ * #AgsInput represents an input channel of #AgsAudio.
+ */
+
+static gpointer ags_input_parent_class = NULL;
+static AgsConnectableInterface *ags_input_parent_connectable_interface;
+
+enum{
+ PROP_0,
+ PROP_FILE_LINK,
+};
+
+GType
+ags_input_get_type (void)
+{
+ static GType ags_type_input = 0;
+
+ if(!ags_type_input){
+ static const GTypeInfo ags_input_info = {
+ sizeof (AgsInputClass),
+ (GBaseInitFunc) NULL, /* base_init */
+ (GBaseFinalizeFunc) NULL, /* base_finalize */
+ (GClassInitFunc) ags_input_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsInput),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_input_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_input_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_input = g_type_register_static(AGS_TYPE_CHANNEL,
+ "AgsInput\0",
+ &ags_input_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_input,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_input);
+}
+
+void
+ags_input_class_init(AgsInputClass *input)
+{
+ GObjectClass *gobject;
+ AgsChannelClass *channel;
+ GParamSpec *param_spec;
+
+ ags_input_parent_class = g_type_class_peek_parent(input);
+
+ gobject = (GObjectClass *) input;
+
+ gobject->set_property = ags_input_set_property;
+ gobject->get_property = ags_input_get_property;
+
+ gobject->finalize = ags_input_finalize;
+
+ /* properties */
+ /**
+ * AgsInput:file-link:
+ *
+ * The file containing audio data.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("file-link\0",
+ "file link assigned to\0",
+ "The file link to read from\0",
+ AGS_TYPE_FILE_LINK,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILE_LINK,
+ param_spec);
+
+ /* */
+ channel = (AgsChannelClass *) input;
+}
+
+void
+ags_input_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_input_connectable_parent_interface;
+
+ ags_input_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_input_connect;
+ connectable->disconnect = ags_input_disconnect;
+}
+
+void
+ags_input_init(AgsInput *input)
+{
+ input->file_link = NULL;
+}
+
+void
+ags_input_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsInput *input;
+
+ input = AGS_INPUT(gobject);
+
+ switch(prop_id){
+ case PROP_FILE_LINK:
+ {
+ AgsAudioFile *audio_file;
+ AgsFileLink *file_link;
+
+ file_link = (AgsFileLink *) g_value_get_object(value);
+
+ if(input->file_link != NULL){
+ g_object_unref(G_OBJECT(input->file_link));
+ }
+
+ if(file_link != NULL){
+ g_object_ref(G_OBJECT(file_link));
+ }
+
+ input->file_link = file_link;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_input_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsInput *input;
+
+ input = AGS_INPUT(gobject);
+
+ switch(prop_id){
+ case PROP_FILE_LINK:
+ g_value_set_object(value, input->file_link);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_input_finalize(GObject *gobject)
+{
+ AgsInput *input;
+
+ input = AGS_INPUT(gobject);
+
+ if(input->file_link != NULL){
+ g_object_unref(G_OBJECT(input->file_link));
+ }
+
+ G_OBJECT_CLASS(ags_input_parent_class)->finalize(gobject);
+}
+
+void
+ags_input_connect(AgsConnectable *connectable)
+{
+ ags_input_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_input_disconnect(AgsConnectable *connectable)
+{
+ ags_input_parent_connectable_interface->disconnect(connectable);
+}
+
+/**
+ * ags_input_new:
+ * @audio: the #AgsAudio
+ *
+ * Creates a #AgsInput, linking tree to @audio.
+ *
+ * Returns: a new #AgsInput
+ *
+ * Since: 0.3
+ */
+AgsInput*
+ags_input_new(GObject *audio)
+{
+ AgsInput *input;
+
+ input = (AgsInput *) g_object_new(AGS_TYPE_INPUT,
+ "audio\0", audio,
+ NULL);
+
+ return(input);
+}
diff --git a/src/ags/audio/ags_input.h b/src/ags/audio/ags_input.h
new file mode 100644
index 0000000..dbd6e99
--- /dev/null
+++ b/src/ags/audio/ags_input.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_INPUT_H__
+#define __AGS_INPUT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <glib/gstdio.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_INPUT (ags_input_get_type())
+#define AGS_INPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INPUT, AgsInput))
+#define AGS_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INPUT, AgsInputClass))
+#define AGS_IS_INPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INPUT))
+#define AGS_IS_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INPUT))
+#define AGS_INPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INPUT, AgsInputClass))
+
+typedef struct _AgsInput AgsInput;
+typedef struct _AgsInputClass AgsInputClass;
+
+struct _AgsInput
+{
+ AgsChannel channel;
+
+ GObject *file_link;
+};
+
+struct _AgsInputClass
+{
+ AgsChannelClass channel;
+};
+
+GType ags_input_get_type();
+
+AgsInput* ags_input_new(GObject *audio);
+
+#endif /*__AGS_INPUT_H__*/
diff --git a/src/ags/audio/ags_libao.c b/src/ags/audio/ags_libao.c
new file mode 100644
index 0000000..4c5ed76
--- /dev/null
+++ b/src/ags/audio/ags_libao.c
@@ -0,0 +1,828 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_libao.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <string.h>
+#include <math.h>
+#include <time.h>
+
+#include <ags/audio/ags_notation.h>
+
+void ags_libao_class_init(AgsLibaoClass *libao);
+void ags_libao_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_libao_init(AgsLibao *libao);
+void ags_libao_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_libao_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_libao_disconnect(AgsConnectable *connectable);
+void ags_libao_connect(AgsConnectable *connectable);
+void ags_libao_finalize(GObject *gobject);
+
+void ags_libao_real_change_bpm(AgsLibao *libao, double bpm);
+
+void ags_libao_switch_buffer_flag(AgsLibao *libao);
+
+void ags_libao_output_init(AgsLibao *libao,
+ GError **error);
+void ags_libao_output_play(AgsLibao *libao,
+ GError **error);
+void ags_libao_output_free(AgsLibao *libao);
+
+enum{
+ PROP_0,
+ PROP_MAIN,
+ PROP_DEVICE,
+ PROP_DSP_CHANNELS,
+ PROP_PCM_CHANNELS,
+ PROP_BITS,
+ PROP_BUFFER_SIZE,
+ PROP_FREQUENCY,
+ PROP_BUFFER,
+ PROP_BPM,
+ PROP_ATTACK,
+ PROP_TASK,
+};
+
+enum{
+ RUN,
+ STOP,
+ TIC,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_libao_parent_class = NULL;
+static guint libao_signals[LAST_SIGNAL];
+
+/* dangerous - produces a lot of output */
+static gboolean DEBUG_LIBAO = FALSE;
+
+GType
+ags_libao_get_type (void)
+{
+ static GType ags_type_libao = 0;
+
+ if(!ags_type_libao){
+ static const GTypeInfo ags_libao_info = {
+ sizeof (AgsLibaoClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_libao_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLibao),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_libao_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_libao_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_libao = g_type_register_static(G_TYPE_OBJECT,
+ "AgsLibao\0",
+ &ags_libao_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_libao,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_libao);
+}
+
+void
+ags_libao_class_init(AgsLibaoClass *libao)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_libao_parent_class = g_type_class_peek_parent(libao);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) libao;
+
+ gobject->set_property = ags_libao_set_property;
+ gobject->get_property = ags_libao_get_property;
+
+ gobject->finalize = ags_libao_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("main\0",
+ "the main object\0",
+ "The main object\0",
+ AGS_TYPE_MAIN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN,
+ param_spec);
+
+ param_spec = g_param_spec_string("device\0",
+ "the device identifier\0",
+ "The device to perform output to\0",
+ "hw:0\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVICE,
+ param_spec);
+
+ param_spec = g_param_spec_uint("dsp_channels\0",
+ "count of DSP channels\0",
+ "The count of DSP channels to use\0",
+ 1,
+ 64,
+ 2,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DSP_CHANNELS,
+ param_spec);
+
+ param_spec = g_param_spec_uint("pcm_channels\0",
+ "count of PCM channels\0",
+ "The count of PCM channels to use\0",
+ 1,
+ 64,
+ 2,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PCM_CHANNELS,
+ param_spec);
+
+ /*
+ * TODO:JK: add support for other quality than 16 bit
+ */
+ param_spec = g_param_spec_uint("bits\0",
+ "precision of buffer\0",
+ "The precision to use for a frame\0",
+ 1,
+ 64,
+ 16,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BITS,
+ param_spec);
+
+ param_spec = g_param_spec_uint("buffer_size\0",
+ "frame count of a buffer\0",
+ "The count of frames a buffer contains\0",
+ 1,
+ 44100,
+ 940,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BUFFER_SIZE,
+ param_spec);
+
+ param_spec = g_param_spec_uint("frequency\0",
+ "frames per second\0",
+ "The frames count played during a second\0",
+ 8000,
+ 96000,
+ 44100,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FREQUENCY,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("buffer\0",
+ "the buffer\0",
+ "The buffer to play\0",
+ G_PARAM_READABLE);
+ g_object_class_install_property(gobject,
+ PROP_BUFFER,
+ param_spec);
+
+ param_spec = g_param_spec_double("bpm\0",
+ "beats per minute\0",
+ "Beats per minute to use\0",
+ 1.0,
+ 240.0,
+ 120.0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BPM,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("attack\0",
+ "attack of buffer\0",
+ "The attack to use for the buffer\0",
+ G_PARAM_READABLE);
+ g_object_class_install_property(gobject,
+ PROP_ATTACK,
+ param_spec);
+
+ param_spec = g_param_spec_object("task\0",
+ "task to launch\0",
+ "A task to launch\0",
+ AGS_TYPE_TASK,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_TASK,
+ param_spec);
+
+ /* AgsLibaoClass */
+ libao->play_init = ags_libao_output_init;
+ libao->play = ags_libao_output_play;
+ libao->stop = ags_libao_output_free;
+
+ libao->tic = NULL;
+ libao->note_offset_changed = NULL;
+
+ libao_signals[TIC] =
+ g_signal_new("tic\0",
+ G_TYPE_FROM_CLASS (libao),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsLibaoClass, tic),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+GQuark
+ags_libao_error_quark()
+{
+ return(g_quark_from_static_string("ags-libao-error-quark\0"));
+}
+
+void
+ags_libao_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_libao_connect;
+ connectable->disconnect = ags_libao_disconnect;
+}
+
+void
+ags_libao_init(AgsLibao *libao)
+{
+ guint default_tact_frames;
+ guint default_tic_frames;
+ guint i;
+
+ /* flags */
+ libao->flags = (AGS_LIBAO_ALSA);
+
+ /* quality */
+ libao->dsp_channels = 2;
+ libao->pcm_channels = 2;
+ libao->bits = 16;
+ libao->buffer_size = AGS_LIBAO_DEFAULT_BUFFER_SIZE;
+ libao->frequency = AGS_LIBAO_DEFAULT_SAMPLERATE;
+
+ // libao->out.ao.device = NULL;
+
+ /* buffer */
+ libao->buffer = (signed short **) malloc(4 * sizeof(signed short*));
+ libao->buffer[0] = (signed short *) malloc(libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+ libao->buffer[1] = (signed short *) malloc(libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+ libao->buffer[2] = (signed short *) malloc(libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+ libao->buffer[3] = (signed short *) malloc(libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+
+ /* bpm */
+ libao->bpm = AGS_LIBAO_DEFAULT_BPM;
+
+ /* delay and attack */
+ libao->delay = (guint *) malloc((int) ceil(2.0 * AGS_NOTATION_TICS_PER_BEAT) *
+ sizeof(gdouble));
+
+ libao->attack = (guint *) malloc((int) ceil(2.0 * AGS_NOTATION_TICS_PER_BEAT) *
+ sizeof(guint));
+
+ default_tact_frames = (guint) (AGS_LIBAO_DEFAULT_DELAY * AGS_LIBAO_DEFAULT_BUFFER_SIZE);
+ default_tic_frames = (guint) (default_tact_frames * AGS_NOTATION_MINIMUM_NOTE_LENGTH);
+
+ memset(libao->delay, 0, (int) (ceil(2.0 * AGS_NOTATION_TICS_PER_BEAT) * sizeof(guint)));
+ memset(libao->delay, 0, (int) (ceil(2.0 * AGS_NOTATION_TICS_PER_BEAT) * sizeof(guint)));
+
+ for(i = 0; i < (int) ceil(2.0 * AGS_NOTATION_TICS_PER_BEAT); i++){
+ libao->attack[i] = (i * default_tic_frames) % AGS_LIBAO_DEFAULT_BUFFER_SIZE;
+ }
+
+ for(i = 0; i < (int) ceil(2.0 * AGS_NOTATION_TICS_PER_BEAT); i++){
+ // libao->delay[i] = AGS_LIBAO_DEFAULT_BUFFER_SIZE / (default_tic_frames) / (AGS_LIBAO_DEFAULT_SAMPLERATE / AGS_NOTATION_DEFAULT_JIFFIE);
+ }
+
+ /* */
+ libao->delay_counter = 0;
+ libao->tic_counter = 0;
+
+ /* parent */
+ libao->ags_main = NULL;
+
+ /* all AgsAudio */
+ libao->audio = NULL;
+}
+
+void
+ags_libao_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLibao *libao;
+
+ libao = AGS_LIBAO(gobject);
+
+ //TODO:JK: implement set functionality
+
+ switch(prop_id){
+ case PROP_MAIN:
+ {
+ AgsMain *ags_main;
+
+ ags_main = g_value_get_object(value);
+
+ if(libao->ags_main == ags_main){
+ return;
+ }
+
+ if(libao->ags_main != NULL){
+ g_object_unref(G_OBJECT(libao->ags_main));
+ }
+
+ if(ags_main != NULL){
+ g_object_ref(G_OBJECT(ags_main));
+ }
+
+ libao->ags_main = ags_main;
+ }
+ break;
+ case PROP_DEVICE:
+ {
+ char *device;
+
+ device = (char *) g_value_get_string(value);
+
+ if((AGS_LIBAO_LIBAO & (libao->flags)) != 0){
+ //TODO:JK: implement me
+ }
+ }
+ break;
+ case PROP_DSP_CHANNELS:
+ {
+ guint dsp_channels;
+
+ dsp_channels = g_value_get_uint(value);
+
+ if(dsp_channels == libao->dsp_channels){
+ return;
+ }
+
+ libao->dsp_channels = dsp_channels;
+ }
+ break;
+ case PROP_PCM_CHANNELS:
+ {
+ guint pcm_channels;
+
+ pcm_channels = g_value_get_uint(value);
+
+ if(pcm_channels == libao->pcm_channels){
+ return;
+ }
+
+ libao->pcm_channels = pcm_channels;
+
+ free(libao->buffer[0]);
+ free(libao->buffer[1]);
+ free(libao->buffer[2]);
+ free(libao->buffer[3]);
+
+ libao->buffer[0] = (signed short *) malloc((pcm_channels * libao->buffer_size) * sizeof(signed short));
+ libao->buffer[1] = (signed short *) malloc((pcm_channels * libao->buffer_size) * sizeof(signed short));
+ libao->buffer[2] = (signed short *) malloc((pcm_channels * libao->buffer_size) * sizeof(signed short));
+ libao->buffer[3] = (signed short *) malloc((pcm_channels * libao->buffer_size) * sizeof(signed short));
+ }
+ break;
+ case PROP_BITS:
+ {
+ //TODO:JK: implement me
+ }
+ break;
+ case PROP_BUFFER_SIZE:
+ {
+ guint buffer_size;
+
+ buffer_size = g_value_get_uint(value);
+
+ if(buffer_size == libao->buffer_size){
+ return;
+ }
+
+ libao->buffer_size = buffer_size;
+
+ free(libao->buffer[0]);
+ free(libao->buffer[1]);
+ free(libao->buffer[2]);
+ free(libao->buffer[3]);
+
+ libao->buffer[0] = (signed short *) malloc((libao->pcm_channels * buffer_size) * sizeof(signed short));
+ libao->buffer[1] = (signed short *) malloc((libao->pcm_channels * buffer_size) * sizeof(signed short));
+ libao->buffer[2] = (signed short *) malloc((libao->pcm_channels * buffer_size) * sizeof(signed short));
+ libao->buffer[3] = (signed short *) malloc((libao->pcm_channels * buffer_size) * sizeof(signed short));
+ }
+ break;
+ case PROP_FREQUENCY:
+ {
+ guint frequency;
+
+ frequency = g_value_get_uint(value);
+
+ if(frequency == libao->frequency){
+ return;
+ }
+
+ libao->frequency = frequency;
+ }
+ break;
+ case PROP_BUFFER:
+ {
+ //TODO:JK: implement me
+ }
+ break;
+ case PROP_BPM:
+ {
+ //TODO:JK: implement me
+ }
+ break;
+ case PROP_TASK:
+ {
+ //TODO:JK: implement me
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_libao_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLibao *libao;
+
+ libao = AGS_LIBAO(gobject);
+
+ switch(prop_id){
+ case PROP_DEVICE:
+ {
+ if((AGS_LIBAO_LIBAO & (libao->flags)) != 0){
+ g_value_set_string(value, ao_driver_info(libao->out.ao.driver_ao)->name);
+ }
+ }
+ break;
+ case PROP_DSP_CHANNELS:
+ {
+ g_value_set_uint(value, libao->dsp_channels);
+ }
+ break;
+ case PROP_PCM_CHANNELS:
+ {
+ g_value_set_uint(value, libao->pcm_channels);
+ }
+ break;
+ case PROP_BITS:
+ {
+ g_value_set_uint(value, libao->bits);
+ }
+ break;
+ case PROP_BUFFER_SIZE:
+ {
+ g_value_set_uint(value, libao->buffer_size);
+ }
+ break;
+ case PROP_FREQUENCY:
+ {
+ g_value_set_uint(value, libao->frequency);
+ }
+ break;
+ case PROP_BUFFER:
+ {
+ g_value_set_pointer(value, libao->buffer);
+ }
+ break;
+ case PROP_BPM:
+ {
+ g_value_set_double(value, libao->bpm);
+ }
+ break;
+ case PROP_ATTACK:
+ {
+ g_value_set_pointer(value, libao->attack);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_libao_finalize(GObject *gobject)
+{
+ AgsLibao *libao;
+ GList *list, *list_next;
+
+ libao = AGS_LIBAO(gobject);
+
+ /* free output buffer */
+ free(libao->buffer[0]);
+ free(libao->buffer[1]);
+ free(libao->buffer[2]);
+ free(libao->buffer[3]);
+
+ /* free buffer array */
+ free(libao->buffer);
+
+ /* free AgsAttack */
+ free(libao->attack);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_libao_parent_class)->finalize(gobject);
+}
+
+void
+ags_libao_connect(AgsConnectable *connectable)
+{
+ AgsLibao *libao;
+ GList *list;
+
+ libao = AGS_LIBAO(connectable);
+
+ list = libao->audio;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_libao_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+AgsLibaoPlayDomain*
+ags_libao_play_domain_alloc()
+{
+ AgsLibaoPlayDomain *libao_play_domain;
+
+ libao_play_domain = (AgsLibaoPlayDomain *) malloc(sizeof(AgsLibaoPlayDomain));
+
+ libao_play_domain->domain = NULL;
+
+ libao_play_domain->playback = FALSE;
+ libao_play_domain->sequencer = FALSE;
+ libao_play_domain->notation = FALSE;
+
+ libao_play_domain->libao_play = NULL;
+
+ return(libao_play_domain);
+}
+
+void
+ags_libao_play_domain_free(AgsLibaoPlayDomain *libao_play_domain)
+{
+ g_list_free(libao_play_domain->libao_play);
+
+ free(libao_play_domain);
+}
+
+AgsLibaoPlay*
+ags_libao_play_alloc()
+{
+ AgsLibaoPlay *play;
+
+ play = (AgsLibaoPlay *) malloc(sizeof(AgsLibaoPlay));
+
+ play->flags = 0;
+
+ play->iterator_thread = (AgsIteratorThread **) malloc(3 * sizeof(AgsIteratorThread *));
+
+ play->iterator_thread[0] = ags_iterator_thread_new();
+ play->iterator_thread[1] = ags_iterator_thread_new();
+ play->iterator_thread[2] = ags_iterator_thread_new();
+
+ play->source = NULL;
+ play->audio_channel = 0;
+
+ play->recall_id[0] = NULL;
+ play->recall_id[1] = NULL;
+ play->recall_id[2] = NULL;
+
+ return(play);
+}
+
+void
+ags_libao_play_free(AgsLibaoPlay *play)
+{
+ g_object_unref(G_OBJECT(play->iterator_thread[0]));
+ g_object_unref(G_OBJECT(play->iterator_thread[1]));
+ g_object_unref(G_OBJECT(play->iterator_thread[2]));
+
+ free(play->iterator_thread);
+}
+
+void
+ags_libao_list_cards(GList **card_id, GList **card_name)
+{
+}
+
+void
+ags_libao_pcm_info(char *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error)
+{
+}
+
+void
+ags_libao_add_audio(AgsLibao *libao, GObject *audio)
+{
+ g_object_ref(G_OBJECT(audio));
+ libao->audio = g_list_prepend(libao->audio,
+ audio);
+}
+
+void
+ags_libao_remove_audio(AgsLibao *libao, GObject *audio)
+{
+ libao->audio = g_list_remove(libao->audio,
+ audio);
+ g_object_unref(G_OBJECT(audio));
+}
+
+void
+ags_libao_tic(AgsLibao *libao)
+{
+ g_return_if_fail(AGS_IS_LIBAO(libao));
+
+ if((AGS_LIBAO_PLAY & libao->flags) == 0){
+ g_message("ags_libao_tic: not playing\0");
+ return;
+ }
+
+ g_object_ref((GObject *) libao);
+ g_signal_emit(G_OBJECT(libao),
+ libao_signals[TIC], 0);
+ g_object_unref((GObject *) libao);
+}
+
+/**
+ * ags_libao_switch_buffer_flag:
+ * @libao an #AgsLibao
+ *
+ * The buffer flag indicates the currently played buffer.
+ */
+void
+ags_libao_switch_buffer_flag(AgsLibao *libao)
+{
+ if((AGS_LIBAO_BUFFER0 & (libao->flags)) != 0){
+ libao->flags &= (~AGS_LIBAO_BUFFER0);
+ libao->flags |= AGS_LIBAO_BUFFER1;
+ }else if((AGS_LIBAO_BUFFER1 & (libao->flags)) != 0){
+ libao->flags &= (~AGS_LIBAO_BUFFER1);
+ libao->flags |= AGS_LIBAO_BUFFER2;
+ }else if((AGS_LIBAO_BUFFER2 & (libao->flags)) != 0){
+ libao->flags &= (~AGS_LIBAO_BUFFER2);
+ libao->flags |= AGS_LIBAO_BUFFER3;
+ }else if((AGS_LIBAO_BUFFER3 & (libao->flags)) != 0){
+ libao->flags &= (~AGS_LIBAO_BUFFER3);
+ libao->flags |= AGS_LIBAO_BUFFER0;
+ }
+}
+
+void
+ags_libao_output_init(AgsLibao *libao,
+ GError **error)
+{
+ ao_sample_format *format;
+
+ format = (ao_sample_format *) malloc(sizeof(ao_sample_format));
+
+ format->bits = libao->bits;
+ format->rate = libao->frequency;
+ format->channels = libao->dsp_channels;
+ format->byte_format = AO_FMT_LITTLE;
+ format->matrix = g_strdup("L,R\0");
+
+ libao->out.ao.format = format;
+ libao->out.ao.device = ao_open_live(libao->out.ao.driver_ao,
+ libao->out.ao.format,
+ NULL);
+}
+
+void
+ags_libao_output_play(AgsLibao *libao,
+ GError **error)
+{
+ int rc;
+
+ /* */
+ if((AGS_LIBAO_BUFFER0 & (libao->flags)) != 0){
+ memset(libao->buffer[3], 0, (size_t) libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+
+ rc = ao_play(libao->out.ao.device,
+ (void *) libao->buffer[0],
+ libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+ }else if((AGS_LIBAO_BUFFER1 & (libao->flags)) != 0){
+ memset(libao->buffer[0], 0, (size_t) libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+
+ rc = ao_play(libao->out.ao.device,
+ (void *) libao->buffer[1],
+ libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+ }else if((AGS_LIBAO_BUFFER2 & (libao->flags)) != 0){
+ memset(libao->buffer[1], 0, (size_t) libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+
+ rc = ao_play(libao->out.ao.device,
+ (void *) libao->buffer[2],
+ libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+ }else if((AGS_LIBAO_BUFFER3 & libao->flags) != 0){
+ memset(libao->buffer[2], 0, (size_t) libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+
+ rc = ao_play(libao->out.ao.device,
+ (void *) libao->buffer[3],
+ libao->dsp_channels * libao->buffer_size * sizeof(signed short));
+ }
+
+ /*
+ if((AGS_LIBAO_COUNT & (libao->flags)) != 0)
+ libao->offset++;
+ */
+
+ /* determine if attack should be switched */
+ libao->delay_counter += (AGS_DEVOUT_DEFAULT_DELAY *
+ AGS_NOTATION_MINIMUM_NOTE_LENGTH);
+
+ if(libao->delay_counter >= libao->delay[libao->tic_counter]){
+ /* tic */
+ // ags_libao_tic(libao);
+
+ libao->tic_counter += 1;
+
+ if(libao->tic_counter == AGS_NOTATION_TICS_PER_BEAT){
+ libao->tic_counter = 0;
+ }
+
+ /* delay */
+ libao->delay_counter = 0;
+ }
+
+ /* switch buffer flags */
+ ags_libao_switch_buffer_flag(libao);
+}
+
+void
+ags_libao_output_free(AgsLibao *libao)
+{
+ ao_close(libao->out.ao.device);
+}
+
+AgsLibao*
+ags_libao_new(GObject *ags_main)
+{
+ AgsLibao *libao;
+
+ libao = (AgsLibao *) g_object_new(AGS_TYPE_LIBAO, NULL);
+
+ if(ags_main != NULL){
+ g_object_ref(G_OBJECT(ags_main));
+ libao->ags_main = ags_main;
+ }
+
+ return(libao);
+}
diff --git a/src/ags/audio/ags_libao.h b/src/ags/audio/ags_libao.h
new file mode 100644
index 0000000..bd1d591
--- /dev/null
+++ b/src/ags/audio/ags_libao.h
@@ -0,0 +1,213 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LIBAO_H__
+#define __AGS_LIBAO_H__
+
+#include <pthread.h>
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <sys/types.h>
+
+#include <alsa/asoundlib.h>
+
+#include <ao/ao.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_devout_thread.h>
+#include <ags/thread/ags_iterator_thread.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+#define AGS_TYPE_LIBAO (ags_libao_get_type())
+#define AGS_LIBAO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LIBAO, AgsLibao))
+#define AGS_LIBAO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LIBAO, AgsLibao))
+#define AGS_IS_LIBAO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LIBAO))
+#define AGS_IS_LIBAO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LIBAO))
+#define AGS_LIBAO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_LIBAO, AgsLibaoClass))
+
+#define AGS_LIBAO_PLAY_DOMAIN(ptr) ((AgsLibaoPlayDomain *)(ptr))
+#define AGS_LIBAO_PLAY(ptr) ((AgsLibaoPlay *)(ptr))
+
+#define AGS_LIBAO_DEFAULT_SAMPLERATE (44100.0)
+#define AGS_LIBAO_DEFAULT_BUFFER_SIZE (940)
+#define AGS_LIBAO_DEFAULT_BPM (120.0)
+#define AGS_LIBAO_DEFAULT_JIFFIE ((double) AGS_LIBAO_DEFAULT_SAMPLERATE / (double) AGS_LIBAO_DEFAULT_BUFFER_SIZE)
+
+#define AGS_LIBAO_DEFAULT_TACT (1.0)
+#define AGS_LIBAO_DEFAULT_TACT_JIFFIE (60.0 / AGS_LIBAO_DEFAULT_BPM * AGS_LIBAO_DEFAULT_TACT)
+#define AGS_LIBAO_DEFAULT_TACTRATE (1.0 / AGS_LIBAO_DEFAULT_TACT_JIFFIE)
+
+#define AGS_LIBAO_DEFAULT_DELAY (AGS_LIBAO_DEFAULT_JIFFIE / AGS_LIBAO_DEFAULT_TACTRATE)
+
+typedef struct _AgsLibao AgsLibao;
+typedef struct _AgsLibaoClass AgsLibaoClass;
+typedef struct _AgsLibaoPlay AgsLibaoPlay;
+typedef struct _AgsLibaoPlayDomain AgsLibaoPlayDomain;
+
+typedef enum
+ {
+ AGS_LIBAO_BUFFER0 = 1,
+ AGS_LIBAO_BUFFER1 = 1 << 1,
+ AGS_LIBAO_BUFFER2 = 1 << 2,
+ AGS_LIBAO_BUFFER3 = 1 << 3,
+
+ AGS_LIBAO_ATTACK_FIRST = 1 << 4,
+
+ AGS_LIBAO_PLAY = 1 << 5,
+
+ AGS_LIBAO_LIBAO = 1 << 6,
+ AGS_LIBAO_OSS = 1 << 7,
+ AGS_LIBAO_ALSA = 1 << 8,
+
+ AGS_LIBAO_SHUTDOWN = 1 << 9,
+ AGS_LIBAO_START_PLAY = 1 << 10,
+
+ AGS_LIBAO_NONBLOCKING = 1 << 11,
+
+ AGS_LIBAO_TIMING_SET_0 = 1 << 12,
+ AGS_LIBAO_TIMING_SET_1 = 1 << 13,
+ }AgsLibaoFlags;
+
+typedef enum
+ {
+ AGS_LIBAO_PLAY_DONE = 1,
+ AGS_LIBAO_PLAY_REMOVE = 1 << 1,
+ AGS_LIBAO_PLAY_CHANNEL = 1 << 2,
+ AGS_LIBAO_PLAY_PAD = 1 << 3,
+ AGS_LIBAO_PLAY_AUDIO = 1 << 4,
+ AGS_LIBAO_PLAY_PLAYBACK = 1 << 5,
+ AGS_LIBAO_PLAY_SEQUENCER = 1 << 6,
+ AGS_LIBAO_PLAY_NOTATION = 1 << 7,
+ AGS_LIBAO_PLAY_SUPER_THREADED = 1 << 8,
+ }AgsLibaoPlayFlags;
+
+typedef enum{
+ AGS_LIBAO_RESOLUTION_8_BIT = 8,
+ AGS_LIBAO_RESOLUTION_16_BIT = 16,
+ AGS_LIBAO_RESOLUTION_24_BIT = 24,
+ AGS_LIBAO_RESOLUTION_32_BIT = 32,
+ AGS_LIBAO_RESOLUTION_64_BIT = 64,
+}AgsLibaoResolutionMode;
+
+#define AGS_LIBAO_ERROR (ags_libao_error_quark())
+
+typedef enum{
+ AGS_LIBAO_ERROR_LOCKED_SOUNDCARD,
+}AgsLibaoError;
+
+struct _AgsLibao
+{
+ GObject object;
+
+ guint flags;
+
+ guint dsp_channels;
+ guint pcm_channels;
+ guint bits;
+ guint buffer_size;
+ guint frequency; // sample_rate
+
+ signed short** buffer;
+
+ double bpm; // beats per minute
+
+ gdouble *delay; // count of tics within buffer size
+ guint *attack; // where currently tic resides in the stream's offset, measured in 1/64 of bpm
+
+ gdouble delay_counter; // next time attack changeing when delay_counter == delay
+ guint tic_counter;
+
+ union{
+ struct _AgsAO{
+ ao_device *device;
+ ao_sample_format *format;
+ int driver_ao;
+ }ao;
+ }out;
+
+ GObject *ags_main;
+
+ GList *audio;
+};
+
+struct _AgsLibaoClass
+{
+ GObjectClass object;
+
+ void (*play_init)(AgsLibao *libao,
+ GError **error);
+ void (*play)(AgsLibao *libao,
+ GError **error);
+ void (*stop)(AgsLibao *libao);
+
+ void (*tic)(AgsLibao *libao);
+
+ void (*note_offset_changed)(AgsLibao *libao, guint note_offset);
+};
+
+struct _AgsLibaoPlayDomain
+{
+ GObject *domain;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+
+ GList *libao_play;
+};
+
+struct _AgsLibaoPlay
+{
+ guint flags;
+
+ AgsIteratorThread **iterator_thread;
+
+ GObject *source;
+ guint audio_channel;
+
+ AgsRecallID *recall_id[3];
+};
+
+GType ags_libao_get_type();
+
+GQuark ags_libao_error_quark();
+
+AgsLibaoPlayDomain* ags_libao_play_domain_alloc();
+void ags_libao_play_domain_free(AgsLibaoPlayDomain *libao_play_domain);
+
+AgsLibaoPlay* ags_libao_play_alloc();
+void ags_libao_play_free(AgsLibaoPlay *libao_play);
+
+void ags_libao_list_cards(GList **card_id, GList **card_name);
+void ags_libao_pcm_info(char *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error);
+void ags_libao_tic(AgsLibao *libao);
+
+void ags_libao_note_offset_changed(AgsLibao *libao, guint note_offset);
+
+AgsLibao* ags_libao_new(GObject *ags_main);
+
+#endif /*__AGS_LIBAO_H__*/
+
diff --git a/src/ags/audio/ags_notation.c b/src/ags/audio/ags_notation.c
new file mode 100644
index 0000000..47a47c7
--- /dev/null
+++ b/src/ags/audio/ags_notation.c
@@ -0,0 +1,1504 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_notation.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_tactable.h>
+#include <ags/object/ags_portlet.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_timestamp.h>
+
+#include <stdlib.h>
+#include <errno.h>
+
+void ags_notation_class_init(AgsNotationClass *notation);
+void ags_notation_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_notation_tactable_interface_init(AgsTactableInterface *tactable);
+void ags_notation_portlet_interface_init(AgsPortletInterface *portlet);
+void ags_notation_init(AgsNotation *notation);
+void ags_notation_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_notation_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_notation_connect(AgsConnectable *connectable);
+void ags_notation_disconnect(AgsConnectable *connectable);
+void ags_notation_finalize(GObject *object);
+
+void ags_notation_change_bpm(AgsTactable *tactable, gdouble bpm);
+
+void ags_notation_set_port(AgsPortlet *portlet, AgsPort *port);
+AgsPort* ags_notation_get_port(AgsPortlet *portlet);
+GList* ags_notation_list_safe_properties(AgsPortlet *portlet);
+void ags_notation_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+void ags_notation_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+
+void ags_notation_insert_native_piano_from_clipboard(AgsNotation *notation,
+ xmlNodePtr root_node, char *version,
+ char *base_frequency,
+ char *x_boundary, char *y_boundary,
+ gboolean from_x_offset, guint x_offset,
+ gboolean from_y_offset, guint y_offset);
+
+/**
+ * SECTION:ags_notation
+ * @short_description: Notation class supporting selection and clipboard.
+ * @title: AgsNotation
+ * @section_id:
+ * @include: ags/audio/ags_notation.h
+ *
+ * #AgsNotation acts as a container of #AgsNote.
+ */
+
+#define AGS_NOTATION_CLIPBOARD_VERSION "0.3.12\0"
+#define AGS_NOTATION_CLIPBOARD_TYPE "AgsNotationClipboardXml\0"
+#define AGS_NOTATION_CLIPBOARD_FORMAT "AgsNotationNativePiano\0"
+
+enum{
+ PROP_0,
+ PROP_PORT,
+ PROP_CURRENT_NOTES,
+ PROP_NEXT_NOTES,
+};
+
+static gpointer ags_notation_parent_class = NULL;
+
+GType
+ags_notation_get_type()
+{
+ static GType ags_type_notation = 0;
+
+ if(!ags_type_notation){
+ static const GTypeInfo ags_notation_info = {
+ sizeof(AgsNotationClass),
+ NULL,
+ NULL,
+ (GClassInitFunc) ags_notation_class_init,
+ NULL,
+ NULL,
+ sizeof(AgsNotation),
+ 0,
+ (GInstanceInitFunc) ags_notation_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_notation_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_tactable_interface_info = {
+ (GInterfaceInitFunc) ags_notation_tactable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_portlet_interface_info = {
+ (GInterfaceInitFunc) ags_notation_portlet_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_notation = g_type_register_static(G_TYPE_OBJECT,
+ "AgsNotation\0",
+ &ags_notation_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_notation,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_notation,
+ AGS_TYPE_TACTABLE,
+ &ags_tactable_interface_info);
+
+ g_type_add_interface_static(ags_type_notation,
+ AGS_TYPE_PORTLET,
+ &ags_portlet_interface_info);
+ }
+
+ return(ags_type_notation);
+}
+
+void
+ags_notation_class_init(AgsNotationClass *notation)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_notation_parent_class = g_type_class_peek_parent(notation);
+
+ gobject = (GObjectClass *) notation;
+
+ gobject->set_property = ags_notation_set_property;
+ gobject->get_property = ags_notation_get_property;
+
+ gobject->finalize = ags_notation_finalize;
+
+ /* properties */
+ /**
+ * AgsNotation:port:
+ *
+ * The assigned #AgsPort
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("port\0",
+ "port of notation\0",
+ "The port of notation\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT,
+ param_spec);
+
+ /**
+ * AgsNotation:current-notes:
+ *
+ * Offset of current position.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_pointer("current-notes\0",
+ "current notes for offset\0",
+ "The current notes for offset\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CURRENT_NOTES,
+ param_spec);
+
+ /**
+ * AgsNotation:next-notes:
+ *
+ * Offset of next position.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_pointer("next-notes\0",
+ "next notes for offset\0",
+ "The next notes for offset\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NEXT_NOTES,
+ param_spec);
+}
+
+void
+ags_notation_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_notation_connect;
+ connectable->disconnect = ags_notation_disconnect;
+}
+
+void
+ags_notation_tactable_interface_init(AgsTactableInterface *tactable)
+{
+ tactable->change_bpm = ags_notation_change_bpm;
+}
+
+void
+ags_notation_portlet_interface_init(AgsPortletInterface *portlet)
+{
+ portlet->set_port = ags_notation_set_port;
+ portlet->get_port = ags_notation_get_port;
+ portlet->list_safe_properties = ags_notation_list_safe_properties;
+ portlet->safe_set_property = ags_notation_safe_set_property;
+ portlet->safe_get_property = ags_notation_safe_get_property;
+}
+
+void
+ags_notation_init(AgsNotation *notation)
+{
+ notation->flags = 0;
+
+ //TODO:JK: define timestamp
+ notation->timestamp = NULL;
+
+ notation->audio_channel = 0;
+ notation->audio = NULL;
+
+ notation->key = g_strdup("violine\0");
+ notation->base_frequency = 440.0;
+
+ notation->tact = AGS_NOTATION_MINIMUM_NOTE_LENGTH;
+ notation->bpm = 120.0;
+
+ notation->maximum_note_length = AGS_NOTATION_MAXIMUM_NOTE_LENGTH;
+
+ notation->notes = NULL;
+
+ notation->start_loop = 0.0;
+ notation->end_loop = 0.0;
+ notation->offset = 0.0;
+
+ notation->selection = NULL;
+
+ notation->port = NULL;
+
+ notation->current_notes = NULL;
+ notation->next_notes = NULL;
+}
+
+void
+ags_notation_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_notation_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_notation_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsNotation *notation;
+
+ notation = AGS_NOTATION(gobject);
+
+ switch(prop_id){
+ case PROP_PORT:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == (AgsPort *) notation->port){
+ return;
+ }
+
+ if(notation->port != NULL){
+ g_object_unref(G_OBJECT(notation->port));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ notation->port = (GObject *) port;
+ }
+ break;
+ case PROP_CURRENT_NOTES:
+ {
+ AgsPort *port;
+ GList *current_notes, *list;
+
+ current_notes = (GList *) g_value_get_pointer(value);
+
+ port = AGS_PORT(notation->port);
+
+ pthread_mutex_lock(&(port->mutex));
+
+ if(notation->current_notes != NULL){
+ ags_list_free_and_unref_link(notation->current_notes);
+ }
+
+ if(current_notes != NULL){
+ list = current_notes;
+
+ while(list != NULL){
+ g_object_ref(G_OBJECT(list->data));
+
+ list = list->next;
+ }
+ }
+
+ notation->current_notes = current_notes;
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ case PROP_NEXT_NOTES:
+ {
+ AgsPort *port;
+ GList *next_notes, *list;
+
+ next_notes = (GList *) g_value_get_pointer(value);
+
+ port = AGS_PORT(notation->port);
+
+ pthread_mutex_lock(&(port->mutex));
+
+ if(notation->next_notes != NULL){
+ ags_list_free_and_unref_link(notation->next_notes);
+ }
+
+ if(next_notes != NULL){
+ list = next_notes;
+
+ while(list != NULL){
+ g_object_ref(G_OBJECT(list->data));
+
+ list = list->next;
+ }
+ }
+
+ notation->next_notes = next_notes;
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_notation_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsNotation *notation;
+
+ notation = AGS_NOTATION(gobject);
+
+ switch(prop_id){
+ case PROP_PORT:
+ g_value_set_object(value, notation->port);
+ break;
+ case PROP_CURRENT_NOTES:
+ {
+ AgsPort *port;
+ GList *start, *list;
+
+ port = AGS_PORT(notation->port);
+
+ pthread_mutex_lock(&(port->mutex));
+
+ start =
+ list = g_list_copy(notation->current_notes);
+
+ while(list != NULL){
+ g_object_ref(G_OBJECT(list->data));
+
+ list = list->next;
+ }
+
+ pthread_mutex_unlock(&(port->mutex));
+
+ g_value_set_pointer(value, (gpointer) start);
+ }
+ break;
+ case PROP_NEXT_NOTES:
+ {
+ AgsPort *port;
+ GList *start, *list;
+
+ port = AGS_PORT(notation->port);
+
+ pthread_mutex_lock(&(port->mutex));
+
+ start =
+ list = g_list_copy(notation->next_notes);
+
+ while(list != NULL){
+ g_object_ref(G_OBJECT(list->data));
+
+ list = list->next;
+ }
+
+ pthread_mutex_unlock(&(port->mutex));
+
+ g_value_set_pointer(value, (gpointer) start);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_notation_finalize(GObject *gobject)
+{
+ AgsNotation *notation;
+ GList *list, *list_next;
+
+ notation = AGS_NOTATION(gobject);
+
+ ags_list_free_and_unref_link(notation->notes);
+
+ G_OBJECT_CLASS(ags_notation_parent_class)->finalize(gobject);
+}
+
+void
+ags_notation_change_bpm(AgsTactable *tactable, gdouble bpm)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_notation_set_port(AgsPortlet *portlet, AgsPort *port)
+{
+ g_object_set(G_OBJECT(portlet),
+ "port\0", port,
+ NULL);
+}
+
+AgsPort*
+ags_notation_get_port(AgsPortlet *portlet)
+{
+ AgsPort *port;
+
+ g_object_get(G_OBJECT(portlet),
+ "port\0", &port,
+ NULL);
+
+ return(port);
+}
+
+GList*
+ags_notation_list_safe_properties(AgsPortlet *portlet)
+{
+ static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+ static GList *list = NULL;
+
+ pthread_mutex_lock(&mutex);
+
+ if(list == NULL){
+ list = g_list_prepend(list, "current-notes\0");
+ list = g_list_prepend(list, "next-notes\0");
+ }
+
+ pthread_mutex_unlock(&mutex);
+
+ return(list);
+}
+
+void
+ags_notation_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ //TODO:JK: add check for safe property
+
+ g_object_set_property(G_OBJECT(portlet),
+ property_name, value);
+}
+
+void
+ags_notation_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ //TODO:JK: add check for safe property
+
+ g_object_get_property(G_OBJECT(portlet),
+ property_name, value);
+}
+
+/**
+ * ags_notation_find_near_timestamp:
+ * @notation: a #GList containing #AgsNotation
+ * @audio_channel: the matching audio channel
+ * @timestamp: the matching timestamp
+ *
+ * Retrieve appropriate notation for timestamp.
+ *
+ * Returns: Next match.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_notation_find_near_timestamp(GList *notation, guint audio_channel,
+ GObject *gobject)
+{
+ AgsTimestamp *timestamp, *current_timestamp;
+
+ if(gobject == NULL){
+ return(NULL);
+ }
+
+ timestamp = AGS_TIMESTAMP(gobject);
+
+ while(notation != NULL){
+ if(AGS_NOTATION(notation->data)->audio_channel != audio_channel){
+ notation = notation->next;
+ continue;
+ }
+
+ current_timestamp = AGS_NOTATION(notation->data)->timestamp;
+
+ if((AGS_TIMESTAMP_UNIX & (timestamp->flags)) != 0){
+ if((AGS_TIMESTAMP_UNIX & (current_timestamp->flags)) != 0){
+ if(current_timestamp->timer.unix_time.time_val >= timestamp->timer.unix_time.time_val &&
+ current_timestamp->timer.unix_time.time_val < timestamp->timer.unix_time.time_val + AGS_NOTATION_DEFAULT_DURATION){
+ return(notation);
+ }
+ }
+ }
+
+ notation = notation->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_notation_add_note:
+ * @notation: an #AgsNotation
+ * @note: the #AgsNote to add
+ * @use_selection_list: if %TRUE add to selection, else to default notation
+ *
+ * Adds a note to notation.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_add_note(AgsNotation *notation,
+ AgsNote *note,
+ gboolean use_selection_list)
+{
+ GList *list, *list_new;
+ void ags_notation_add_note_add1(){
+ list_new = (GList *) malloc(sizeof(GList));
+ list_new->data = (gpointer) note;
+
+ if(list->prev == NULL){
+ list_new->prev = NULL;
+ list_new->next = list;
+ list->prev = list_new;
+
+ if(use_selection_list)
+ notation->selection = list_new;
+ else
+ notation->notes = list_new;
+ }else{
+ list_new->prev = list->prev;
+ list_new->next = list;
+ list->prev = list_new;
+ list_new->prev->next = list_new;
+ }
+ }
+
+ if(use_selection_list)
+ list = notation->selection;
+ else
+ list = notation->notes;
+
+ if(list == NULL){
+ list_new = g_list_alloc();
+ list_new->data = (gpointer) note;
+
+ if(use_selection_list)
+ notation->selection = list_new;
+ else
+ notation->notes = list_new;
+
+ return;
+ }
+
+ while(list->next != NULL){
+ if((AGS_NOTE(list->data))->x[0] >= note->x[0]){
+ while(list->next != NULL){
+ if((AGS_NOTE(list->data))->x[0] > note->x[0] ||
+ (AGS_NOTE(list->data))->y >= note->y){
+ ags_notation_add_note_add1();
+
+ return;
+ }
+
+ list = list->next;
+ }
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if((AGS_NOTE(list->data))->x[0] >= note->x[0])
+ ags_notation_add_note_add1();
+ else{
+ list_new = g_list_alloc();
+ list_new->data = (gpointer) note;
+ list_new->prev = list;
+ list->next = list_new;
+ }
+}
+
+/**
+ * ags_notation_remove_note_at_position:
+ * @notation: an #AgsNotation
+ * @x: offset
+ * @y: note
+ *
+ * Removes one #AgsNote of notation.
+ *
+ * Returns: %TRUE if successfully removed note.
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_notation_remove_note_at_position(AgsNotation *notation,
+ guint x, guint y)
+{
+ AgsNote *note;
+ GList *notes, *notes_end_region, *reverse_start;
+ guint x_start, i;
+
+ notes = notation->notes;
+
+ if(notes == NULL){
+ return(FALSE);
+ }
+
+ /* get entry point */
+ while(notes->next != NULL && (note = AGS_NOTE(notes->data))->x[0] < x)
+ notes = notes->next;
+
+ notes_end_region = notes;
+
+ /* search in y region for appropriate note */
+ if(notes != NULL && (note = AGS_NOTE(notes->data))->x[0] == x){
+ do{
+ if(note->y == y){
+ g_message("remove");
+ notation->notes = g_list_delete_link(notation->notes, notes);
+ g_object_unref(note);
+
+ return(TRUE);
+ }
+
+ notes = notes->next;
+ }while(notes != NULL &&
+ (note = AGS_NOTE(notes->data))->x[0] == x &&
+ note->y <= y);
+
+ notes = notes_end_region->prev;
+ }else{
+ notes = notes_end_region;
+ }
+
+ /* search backward until x_start */
+ reverse_start = notes;
+
+ for(i = 0; i < notation->maximum_note_length / notation->tact; i++){
+ notes = reverse_start;
+
+ if(x < notation->maximum_note_length){
+ x_start = 0;
+ }else{
+ x_start = x - notation->maximum_note_length;
+ }
+
+ while(notes != NULL && (note = AGS_NOTE(notes->data))->x[0] >= x_start){
+ if(note->y == y){
+ do{
+ if(note->x[0] < x && note->x[1] == x + i){
+ g_message("remove");
+ notation->notes = g_list_delete_link(notation->notes, notes);
+ g_object_unref(note);
+
+ return(TRUE);
+ }
+
+ notes = notes->prev;
+ }while(notes != NULL &&
+ (note = AGS_NOTE(notes->data))->x[0] >= x_start &&
+ note->y == y);
+
+ continue;
+ }
+
+ notes = notes->prev;
+ }
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_notation_get_selection:
+ * @notation: the #AgsNotation
+ *
+ * Retrieve selection.
+ *
+ * Returns: the selection.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_notation_get_selection(AgsNotation *notation)
+{
+ return(notation->selection);
+}
+
+/**
+ * ags_notation_is_note_selected:
+ * @notation: the #AgsNotation
+ * @note: the #AgsNote to check for
+ *
+ * Check selection for note.
+ *
+ * Returns: %TRUE if selected
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_notation_is_note_selected(AgsNotation *notation, AgsNote *note)
+{
+ GList *selection;
+
+ selection = notation->selection;
+
+ while(selection != NULL && AGS_NOTE(selection->data)->x[0] <= note->x[0]){
+ if(selection->data == note)
+ return(TRUE);
+
+ selection = selection->next;
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_notation_find_point:
+ * @notation: an #AgsNotation
+ * @x: offset
+ * @y: note
+ * @use_selection_list: if %TRUE selection is searched
+ *
+ * Find note by offset and tone.
+ *
+ * Returns: the matching note.
+ *
+ * Since: 0.4
+ */
+AgsNote*
+ags_notation_find_point(AgsNotation *notation,
+ guint x, guint y,
+ gboolean use_selection_list)
+{
+ AgsNote *note, *prev_note;
+ GList *notes;
+
+ if(use_selection_list){
+ notes = notation->selection;
+ }else{
+ notes = notation->notes;
+ }
+
+ while(notes != NULL && AGS_NOTE(notes->data)->x[0] < x){
+ notes = notes->next;
+ }
+
+ if(notes == NULL)
+ return(NULL);
+
+ prev_note = NULL;
+
+ while(notes != NULL && (note = AGS_NOTE(notes->data))->x[0] == x){
+ if(note->y == y){
+ /* find last match for point */
+
+ do{
+ prev_note = note;
+ notes = notes->next;
+ }while(notes != NULL && (note = AGS_NOTE(notes->data))->x[0] == x && note->y == y);
+
+ break;
+ }
+
+ notes = notes->next;
+ }
+
+ return(prev_note);
+}
+
+
+
+/**
+ * ags_notation_find_region:
+ * @notation: an #AgsNotation
+ * @x0: start offset
+ * @y0: start tone
+ * @x1: end offset
+ * @y1: end tone
+ * @use_selection:_list if %TRUE selection is searched
+ *
+ * Find notes by offset and tone region.
+ *
+ * Returns: the matching notes as #GList.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_notation_find_region(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean use_selection_list)
+{
+ AgsNote *note;
+ GList *notes;
+ GList *region;
+
+ if(use_selection_list){
+ notes = notation->selection;
+ }else{
+ notes = notation->notes;
+ }
+
+ while(notes != NULL && AGS_NOTE(notes->data)->x[0] < x0){
+ notes = notes->next;
+ }
+
+ region = NULL;
+
+ while(notes != NULL && (note = AGS_NOTE(notes->data))->x[0] < x1){
+ if(note->y >= y0 && note->y < y1){
+ region = g_list_prepend(region, note);
+ }
+
+ notes = notes->next;
+ }
+
+ region = g_list_reverse(region);
+
+ return(region);
+}
+
+/**
+ * ags_notation_free_selection:
+ * @notation: an #AgsNotation
+ *
+ * Clear selection.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_free_selection(AgsNotation *notation)
+{
+ AgsNote *note;
+ GList *list;
+
+ list = notation->selection;
+
+ while(list != NULL){
+ note = AGS_NOTE(list->data);
+ note->flags &= (~AGS_NOTE_IS_SELECTED);
+ g_object_unref(G_OBJECT(note));
+
+ list = list->next;
+ }
+
+ list = notation->selection;
+ notation->selection = NULL;
+ g_list_free(list);
+}
+
+/**
+ * ags_notation_add_point_to_selection:
+ * @notation: an #AgsNotation
+ * @x: offset
+ * @y: tone
+ * @replace_current_selection: if %TRUE selection is replaced
+ *
+ * Select notes at position.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_add_point_to_selection(AgsNotation *notation,
+ guint x, guint y,
+ gboolean replace_current_selection)
+{
+ AgsNote *note;
+
+ note = ags_notation_find_point(notation,
+ x, y,
+ FALSE);
+
+ if(note == NULL){
+ /* there is nothing to be selected */
+ if(replace_current_selection){
+ ags_notation_free_selection(notation);
+ }
+ }else{
+ /* add to or replace selection */
+ note->flags |= AGS_NOTE_IS_SELECTED;
+ g_object_ref(note);
+
+ if(replace_current_selection){
+ GList *list;
+
+ list = g_list_alloc();
+ list->data = note;
+
+ ags_notation_free_selection(notation);
+ notation->selection = list;
+ }else{
+ if(!ags_notation_is_note_selected(notation, note)){
+ ags_notation_add_note(notation, note, TRUE);
+ }
+ }
+ }
+}
+
+/**
+ * ags_notation_remove_point_from_selection:
+ * @notation: an #AgsNotation
+ * @x: offset
+ * @y: tone
+ *
+ * Remove notes at position of selection.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_remove_point_from_selection(AgsNotation *notation,
+ guint x, guint y)
+{
+ AgsNote *note;
+
+ note = ags_notation_find_point(notation,
+ x, y,
+ FALSE);
+
+ if(note != NULL){
+ note->flags &= (~AGS_NOTE_IS_SELECTED);
+
+ /* remove note from selection */
+ notation->selection = g_list_remove(notation->selection, note);
+
+ g_object_unref(note);
+ }
+}
+
+/**
+ * ags_notation_add_region_to_selection:
+ * @notation: an #AgsNotation
+ * @x0: start offset
+ * @y0: start tone
+ * @x1: end offset
+ * @y1: end tone
+ * @replace_current_selection: if %TRUE selection is replaced
+ *
+ * Select notes within region.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_add_region_to_selection(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean replace_current_selection)
+{
+ AgsNote *note;
+ GList *region, *list;
+
+ region = ags_notation_find_region(notation,
+ x0, y0,
+ x1, y1,
+ FALSE);
+
+ if(replace_current_selection){
+ ags_notation_free_selection(notation);
+
+ list = region;
+
+ while(list != NULL){
+ AGS_NOTE(list->data)->flags |= AGS_NOTE_IS_SELECTED;
+ g_object_ref(G_OBJECT(list->data));
+
+ list = list->next;
+ }
+
+ notation->selection = region;
+ }else{
+ while(region != NULL){
+ note = AGS_NOTE(region->data);
+
+ if(!ags_notation_is_note_selected(notation, note)){
+ note->flags |= AGS_NOTE_IS_SELECTED;
+ g_object_ref(G_OBJECT(note));
+ ags_notation_add_note(notation,
+ note,
+ TRUE);
+ }
+
+ region = region->next;
+ }
+
+ g_list_free(region);
+ }
+}
+
+
+/**
+ * ags_notation_remove_region_from_selection:
+ * @notation: an #AgsNotation
+ * @x0: start offset
+ * @y0: start tone
+ * @x1: end offset
+ * @y1: end tone
+ *
+ * Remove notes within region of selection.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_remove_region_from_selection(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1)
+{
+ AgsNote *note;
+ GList *region;
+
+ region = ags_notation_find_region(notation,
+ x0, y0,
+ x1, y1,
+ TRUE);
+
+ while(region != NULL){
+ note = AGS_NOTE(region->data);
+ note->flags &= (~AGS_NOTE_IS_SELECTED);
+
+ notation->selection = g_list_remove(notation->selection, note);
+ g_object_unref(G_OBJECT(note));
+
+ region = region->next;
+ }
+
+ g_list_free(region);
+}
+
+/**
+ * ags_notation_copy_selection:
+ * @notation: an #AgsNotation
+ *
+ * Copy selection to clipboard.
+ *
+ * Returns: the selection as XML.
+ *
+ * Since: 0.4
+ */
+xmlNodePtr
+ags_notation_copy_selection(AgsNotation *notation)
+{
+ AgsNote *note;
+ xmlNodePtr notation_node, current_note;
+ GList *selection;
+ guint x_boundary, y_boundary;
+
+ selection = notation->selection;
+
+ /* create root node */
+ notation_node = xmlNewNode(NULL, BAD_CAST "notation\0");
+
+ xmlNewProp(notation_node, BAD_CAST "program\0", BAD_CAST "ags\0");
+ xmlNewProp(notation_node, BAD_CAST "type\0", BAD_CAST AGS_NOTATION_CLIPBOARD_TYPE);
+ xmlNewProp(notation_node, BAD_CAST "version\0", BAD_CAST AGS_NOTATION_CLIPBOARD_VERSION);
+ xmlNewProp(notation_node, BAD_CAST "format\0", BAD_CAST AGS_NOTATION_CLIPBOARD_FORMAT);
+ xmlNewProp(notation_node, BAD_CAST "base_frequency\0", BAD_CAST g_strdup_printf("%u\0", notation->base_frequency));
+
+ selection = notation->selection;
+
+ if(selection != NULL){
+ x_boundary = AGS_NOTE(selection->data)->x[0];
+ y_boundary = G_MAXUINT;
+ }else{
+ x_boundary = 0;
+ y_boundary = 0;
+ }
+
+ while(selection != NULL){
+ note = AGS_NOTE(selection->data);
+ current_note = xmlNewChild(notation_node, NULL, BAD_CAST "note\0", NULL);
+
+ xmlNewProp(current_note, BAD_CAST "x\0", BAD_CAST g_strdup_printf("%u\0", note->x[0]));
+ xmlNewProp(current_note, BAD_CAST "x1\0", BAD_CAST g_strdup_printf("%u\0", note->x[1]));
+ xmlNewProp(current_note, BAD_CAST "y\0", BAD_CAST g_strdup_printf("%u\0", note->y));
+
+ if(y_boundary > note->y)
+ y_boundary = note->y;
+
+ selection = selection->next;
+ }
+
+ xmlNewProp(notation_node, BAD_CAST "x_boundary\0", BAD_CAST g_strdup_printf("%u\0", x_boundary));
+ xmlNewProp(notation_node, BAD_CAST "y_boundary\0", BAD_CAST g_strdup_printf("%u\0", y_boundary));
+
+ return(notation_node);
+}
+
+/**
+ * ags_notation_cut_selection:
+ * @notation: an #AgsNotation
+ *
+ * Cut selection to clipboard.
+ *
+ * Returns: the selection as XML.
+ *
+ * Since: 0.4
+ */
+xmlNodePtr
+ags_notation_cut_selection(AgsNotation *notation)
+{
+ xmlNodePtr notation_node;
+ GList *selection, *notes;
+
+ notation_node = ags_notation_copy_selection(notation);
+
+ selection = notation->selection;
+ notes = notation->notes;
+
+ while(selection != NULL){
+ notes = g_list_find(notes, selection->data);
+
+ if(notes->prev == NULL){
+ notation->notes = g_list_remove_link(notes, notes);
+ notes = notation->notes;
+ }else{
+ GList *next_note;
+
+ next_note = notes->next;
+ notes->prev->next = next_note;
+
+ if(next_note != NULL)
+ next_note->prev = notes->prev;
+
+ g_list_free1(notes);
+
+ notes = next_note;
+ }
+
+ AGS_NOTE(selection->data)->flags &= (~AGS_NOTE_IS_SELECTED);
+ g_object_unref(selection->data);
+
+ selection = selection->next;
+ }
+
+ ags_notation_free_selection(notation);
+
+ return(notation_node);
+}
+
+/**
+ * ags_notation_insert_native_piano_from_clipboard:
+ * @notation: an #AgsNotation
+ * @notation_node: the clipboard XML data
+ * @version: clipboard version
+ * @base_frequency: lowest frequency of notation
+ * @x_boundary: region start offset
+ * @y_boundary: region start tone
+ * @reset_x_offset: if %TRUE @x_offset used as cursor
+ * @x_offset: region start cursor offset
+ * @reset_y_offset: if %TRUE @y_offset used as cursor
+ * @y_offset: region start cursor tone
+ *
+ * Paste previously copied notes.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_insert_native_piano_from_clipboard(AgsNotation *notation,
+ xmlNodePtr root_node, char *version,
+ char *base_frequency,
+ char *x_boundary, char *y_boundary,
+ gboolean reset_x_offset, guint x_offset,
+ gboolean reset_y_offset, guint y_offset)
+{
+ void ags_notation_insert_native_piano_from_clipboard_version_0_3_12(){
+ AgsNote *note;
+ xmlNodePtr node;
+ char *endptr;
+ guint x_boundary_val, y_boundary_val;
+ char *x0, *x1, *y;
+ guint x0_val, x1_val, y_val;
+ guint base_x_difference, base_y_difference;
+ gboolean subtract_x, subtract_y;
+
+ node = root_node->children;
+
+ /* retrieve x values for resetting */
+ if(reset_x_offset){
+ if(x_boundary != NULL){
+ errno = 0;
+ x_boundary_val = strtoul(x_boundary, &endptr, 10);
+
+ if(errno == ERANGE){
+ goto dont_reset_x_offset;
+ }
+
+ if(x_boundary == endptr){
+ goto dont_reset_x_offset;
+ }
+
+ if(x_boundary_val < x_offset){
+ base_x_difference = x_offset - x_boundary_val;
+ subtract_x = FALSE;
+ }else{
+ base_x_difference = x_boundary_val - x_offset;
+ subtract_x = TRUE;
+ }
+ }else{
+ dont_reset_x_offset:
+ reset_x_offset = FALSE;
+ }
+ }
+
+ /* retrieve y values for resetting */
+ if(reset_y_offset){
+ if(y_boundary != NULL){
+ errno = 0;
+ y_boundary_val = strtoul(y_boundary, &endptr, 10);
+
+ if(errno == ERANGE){
+ goto dont_reset_y_offset;
+ }
+
+ if(y_boundary == endptr){
+ goto dont_reset_y_offset;
+ }
+
+ if(y_boundary_val < y_offset){
+ base_y_difference = y_offset - y_boundary_val;
+ subtract_y = FALSE;
+ }else{
+ base_y_difference = y_boundary_val - y_offset;
+ subtract_y = TRUE;
+ }
+ }else{
+ dont_reset_y_offset:
+ reset_y_offset = FALSE;
+ }
+ }
+
+ for(; node != NULL; node = node->next){
+ if(node->type == XML_ELEMENT_NODE && !xmlStrncmp("note\0", node->name, 5)){
+ /* retrieve x0 offset */
+ x0 = xmlGetProp(node, "x\0");
+
+ if(x0 == NULL)
+ continue;
+
+ errno = 0;
+ x0_val = strtoul(x0, &endptr, 10);
+
+ if(errno == ERANGE){
+ continue;
+ }
+
+ if(x0 == endptr){
+ continue;
+ }
+
+ /* retrieve x1 offset */
+ x1 = xmlGetProp(node, "x1\0");
+
+ if(x1 == NULL)
+ continue;
+
+ errno = 0;
+ x1_val = strtoul(x1, &endptr, 10);
+
+ if(errno == ERANGE){
+ continue;
+ }
+
+ if(x1 == endptr){
+ continue;
+ }
+
+ /* retrieve y offset */
+ y = xmlGetProp(node, "y\0");
+
+ if(y == NULL)
+ continue;
+
+ errno = 0;
+ y_val = strtoul(y, &endptr, 10);
+
+ if(errno == ERANGE){
+ continue;
+ }
+
+ if(y == endptr){
+ continue;
+ }
+
+ /* switch x values if necessary */
+ if(x0_val > x1_val){
+ guint tmp;
+
+ tmp = x0_val;
+ x0_val = x1_val;
+ x1_val = tmp;
+ }
+
+ /* calculate new offset */
+ if(reset_x_offset){
+ errno = 0;
+
+ if(subtract_x){
+ x0_val -= base_x_difference;
+
+ if(errno != 0)
+ continue;
+
+ x1_val -= base_x_difference;
+ }else{
+ x0_val += base_x_difference;
+ x1_val += base_x_difference;
+
+ if(errno != 0)
+ continue;
+ }
+ }
+
+ if(reset_y_offset){
+ errno = 0;
+
+ if(subtract_y){
+ y_val -= base_y_difference;
+ }else{
+ y_val += base_y_difference;
+ }
+
+ if(errno != 0)
+ continue;
+ }
+
+ /* check if max length wasn't exceeded */
+ if(x1_val - x0_val > notation->maximum_note_length)
+ continue;
+
+ /* add note */
+ note = ags_note_new();
+
+ note->x[0] = x0_val;
+ note->x[1] = x1_val;
+
+ note->y = y_val;
+
+ g_message("adding note at: [%u,%u|%u]\n\0", x0_val, x1_val, y_val);
+
+ ags_notation_add_note(notation,
+ note,
+ FALSE);
+ }
+ }
+
+ }
+
+ if(!xmlStrncmp("0.3.12\0", version, 7)){
+ ags_notation_insert_native_piano_from_clipboard_version_0_3_12();
+ }
+}
+
+/**
+ * ags_notation_insert_from_clipboard:
+ * @notation: an #AgsNotation
+ * @notation_node: the clipboard XML data
+ * @reset_x_offset: if %TRUE @x_offset used as cursor
+ * @x_offset: region start cursor offset
+ * @reset_y_offset: if %TRUE @y_offset used as cursor
+ * @y_offset: region start cursor tone
+ *
+ * Paste previously copied notes.
+ *
+ * Since: 0.4
+ */
+void
+ags_notation_insert_from_clipboard(AgsNotation *notation,
+ xmlNodePtr notation_node,
+ gboolean reset_x_offset, guint x_offset,
+ gboolean reset_y_offset, guint y_offset)
+{
+ char *program, *version, *type, *format;
+ char *base_frequency;
+ char *x_boundary, *y_boundary;
+
+ while(notation_node != NULL){
+ if(notation_node->type == XML_ELEMENT_NODE && !xmlStrncmp("notation\0", notation_node->name, 9))
+ break;
+
+ notation_node = notation_node->next;
+ }
+
+ if(notation_node != NULL){
+ program = xmlGetProp(notation_node, "program\0");
+
+ if(!xmlStrncmp("ags\0", program, 4)){
+ version = xmlGetProp(notation_node, "version\0");
+ type = xmlGetProp(notation_node, "type\0");
+ format = xmlGetProp(notation_node, "format\0");
+
+ if(!xmlStrncmp("AgsNotationNativePiano\0", format, 22)){
+ base_frequency = xmlGetProp(notation_node, "base_frequency\0");
+
+ x_boundary = xmlGetProp(notation_node, "x_boundary\0");
+ y_boundary = xmlGetProp(notation_node, "y_boundary\0");
+
+ ags_notation_insert_native_piano_from_clipboard(notation,
+ notation_node, version,
+ base_frequency,
+ x_boundary, y_boundary,
+ reset_x_offset, x_offset,
+ reset_y_offset, y_offset);
+ }
+ }
+ }
+}
+
+GList*
+ags_notation_get_current(AgsNotation *notation)
+{
+ GList *list;
+
+ list = NULL;
+
+ //TODO:JK: get current
+
+ return(list);
+}
+
+/**
+ * ags_notation_new:
+ * @audio_channel: the audio channel to be used
+ *
+ * Creates a #AgsNotation, assigned to @audio_channel.
+ *
+ * Returns: a new #AgsNotation
+ *
+ * Since: 0.4
+ */
+AgsNotation*
+ags_notation_new(guint audio_channel)
+{
+ AgsNotation *notation;
+
+ notation = (AgsNotation *) g_object_new(AGS_TYPE_NOTATION, NULL);
+
+ notation->audio_channel = audio_channel;
+
+ return(notation);
+}
diff --git a/src/ags/audio/ags_notation.h b/src/ags/audio/ags_notation.h
new file mode 100644
index 0000000..07e4f7b
--- /dev/null
+++ b/src/ags/audio/ags_notation.h
@@ -0,0 +1,144 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NOTATION_H__
+#define __AGS_NOTATION_H__
+
+#include <glib-object.h>
+#include <libxml/tree.h>
+
+#include <ags/thread/ags_timestamp_thread.h>
+#include <ags/audio/ags_timestamp.h>
+#include <ags/audio/ags_note.h>
+
+#define AGS_TYPE_NOTATION (ags_notation_get_type())
+#define AGS_NOTATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTATION, AgsNotation))
+#define AGS_NOTATION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTATION, AgsNotationClass))
+#define AGS_IS_NOTATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_NOTATION))
+#define AGS_IS_NOTATION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_NOTATION))
+#define AGS_NOTATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_NOTATION, AgsNotationClass))
+
+#define AGS_NOTATION_DEFAULT_BPM (120.0)
+
+#define AGS_NOTATION_TICS_PER_BEAT (1.0)
+#define AGS_NOTATION_MINIMUM_NOTE_LENGTH (1.0 / 16.0)
+#define AGS_NOTATION_MAXIMUM_NOTE_LENGTH (16.0)
+
+#define AGS_NOTATION_DEFAULT_LENGTH (65535.0 / AGS_NOTATION_TICS_PER_BEAT - AGS_NOTATION_MAXIMUM_NOTE_LENGTH)
+#define AGS_NOTATION_DEFAULT_JIFFIE (60.0 / AGS_NOTATION_DEFAULT_BPM / AGS_NOTATION_TICS_PER_BEAT)
+#define AGS_NOTATION_DEFAULT_DURATION (AGS_NOTATION_DEFAULT_LENGTH * AGS_NOTATION_DEFAULT_JIFFIE * AGS_MICROSECONDS_PER_SECOND)
+
+typedef struct _AgsNotation AgsNotation;
+typedef struct _AgsNotationClass AgsNotationClass;
+
+typedef enum{
+ AGS_NOTATION_STICKY = 1,
+ AGS_NOTATION_INDICATED_LENGTH = 1 << 1,
+}AgsNotationFlags;
+
+struct _AgsNotation
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *timestamp;
+
+ guint audio_channel;
+ GObject *audio;
+
+ gchar *key;
+ gdouble base_frequency;
+
+ gdouble tact;
+ gdouble bpm;
+
+ gdouble maximum_note_length;
+
+ GList *notes;
+
+ gdouble start_loop;
+ gdouble end_loop;
+ gdouble offset;
+
+ GList *selection;
+
+ GObject *port;
+
+ GList *current_notes;
+ GList *next_notes;
+};
+
+struct _AgsNotationClass
+{
+ GObjectClass object;
+};
+
+GType ags_notation_get_type();
+
+GList* ags_notation_find_near_timestamp(GList *notation, guint audio_channel,
+ GObject *timestamp);
+
+void ags_notation_add_note(AgsNotation *notation,
+ AgsNote *note,
+ gboolean use_selection_list);
+
+gboolean ags_notation_remove_note_at_position(AgsNotation *notation,
+ guint x, guint y);
+
+GList* ags_notation_get_selection(AgsNotation *notation);
+
+gboolean ags_notation_is_note_selected(AgsNotation *notation, AgsNote *note);
+
+AgsNote* ags_notation_find_point(AgsNotation *notation,
+ guint x, guint y,
+ gboolean use_selection_list);
+GList* ags_notation_find_region(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean use_selection_list);
+
+void ags_notation_free_selection(AgsNotation *notation);
+
+void ags_notation_add_point_to_selection(AgsNotation *notation,
+ guint x, guint y,
+ gboolean replace_current_selection);
+void ags_notation_remove_point_from_selection(AgsNotation *notation,
+ guint x, guint y);
+
+void ags_notation_add_region_to_selection(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean replace_current_selection);
+void ags_notation_remove_region_from_selection(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1);
+
+xmlNodePtr ags_notation_copy_selection(AgsNotation *notation);
+xmlNodePtr ags_notation_cut_selection(AgsNotation *notation);
+
+void ags_notation_insert_from_clipboard(AgsNotation *notation,
+ xmlNodePtr content,
+ gboolean reset_x_offset, guint x_offset,
+ gboolean reset_y_offset, guint y_offset);
+
+GList* ags_notation_get_current(AgsNotation *notation);
+
+AgsNotation* ags_notation_new(guint audio_channel);
+
+#endif /*__AGS_NOTATION_H__*/
diff --git a/src/ags/audio/ags_note.c b/src/ags/audio/ags_note.c
new file mode 100644
index 0000000..5381b5f
--- /dev/null
+++ b/src/ags/audio/ags_note.c
@@ -0,0 +1,176 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_note.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <stdlib.h>
+
+void ags_note_class_init(AgsNoteClass *note);
+void ags_note_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_note_init(AgsNote *note);
+void ags_note_connect(AgsConnectable *connectable);
+void ags_note_disconnect(AgsConnectable *connectable);
+void ags_note_finalize(GObject *object);
+
+/**
+ * SECTION:ags_note
+ * @short_description: Note class.
+ * @title: AgsNote
+ * @section_id:
+ * @include: ags/audio/ags_note.h
+ *
+ * #AgsNote represents a tone.
+ */
+
+static gpointer ags_note_parent_class = NULL;
+
+GType
+ags_note_get_type()
+{
+ static GType ags_type_note = 0;
+
+ if(!ags_type_note){
+ static const GTypeInfo ags_note_info = {
+ sizeof(AgsNoteClass),
+ NULL,
+ NULL,
+ (GClassInitFunc) ags_note_class_init,
+ NULL,
+ NULL,
+ sizeof(AgsNote),
+ 0,
+ (GInstanceInitFunc) ags_note_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_note_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_note = g_type_register_static(G_TYPE_OBJECT,
+ "AgsNote\0",
+ &ags_note_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_note,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_note);
+}
+
+void
+ags_note_class_init(AgsNoteClass *note)
+{
+ GObjectClass *gobject;
+
+ ags_note_parent_class = g_type_class_peek_parent(note);
+
+ gobject = (GObjectClass *) note;
+
+ gobject->finalize = ags_note_finalize;
+}
+
+void
+ags_note_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_note_connect;
+ connectable->disconnect = ags_note_disconnect;
+}
+
+void
+ags_note_init(AgsNote *note)
+{
+ note->flags = 0;
+
+ note->x[0] = 0;
+ note->x[1] = 0;
+ note->y = 0;
+
+ note->name = NULL;
+ note->frequency = 440.0;
+}
+
+void
+ags_note_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_note_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_note_finalize(GObject *gobject)
+{
+ /* empty */
+
+ G_OBJECT_CLASS(ags_note_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_note_duplicate:
+ * @note: an #AgsNote
+ *
+ * Duplicate a note.
+ *
+ * Returns: the duplicated #AgsNote.
+ *
+ * Since: 0.4
+ */
+AgsNote*
+ags_note_duplicate(AgsNote *note)
+{
+ AgsNote *copy;
+
+ copy = ags_note_new();
+
+ copy->flags = 0;
+
+ copy->x[0] = note->x[0];
+ copy->x[1] = note->x[1];
+ copy->y = note->y;
+
+ return(copy);
+}
+
+/**
+ * ags_note_new:
+ *
+ * Creates an #AgsNote
+ *
+ * Returns: a new #AgsNote
+ *
+ * Since: 0.4
+ */
+AgsNote*
+ags_note_new()
+{
+ AgsNote *note;
+
+ note = (AgsNote *) g_object_new(AGS_TYPE_NOTE, NULL);
+
+ return(note);
+}
diff --git a/src/ags/audio/ags_note.h b/src/ags/audio/ags_note.h
new file mode 100644
index 0000000..222ab07
--- /dev/null
+++ b/src/ags/audio/ags_note.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_NOTE_H__
+#define __AGS_NOTE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_TYPE_NOTE (ags_note_get_type())
+#define AGS_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTE, AgsNote))
+#define AGS_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTE, AgsNoteClass))
+#define AGS_IS_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_NOTE))
+#define AGS_IS_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_NOTE))
+#define AGS_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_NOTE, AgsNoteClass))
+
+typedef struct _AgsNote AgsNote;
+typedef struct _AgsNoteClass AgsNoteClass;
+
+typedef enum{
+ AGS_NOTE_GUI = 1,
+ AGS_NOTE_RUNTIME = 1 << 1,
+ AGS_NOTE_HUMAN_READABLE = 1 << 2,
+ AGS_NOTE_DEFAULT_LENGTH = 1 << 3,
+ AGS_NOTE_IS_SELECTED = 1 << 4,
+}AgsNoteFlags;
+
+struct _AgsNote
+{
+ GObject object;
+
+ guint flags;
+
+ // gui format, convert easy to visualization
+ guint x[2];
+ guint y;
+
+ gchar *name;
+ gdouble frequency;
+};
+
+struct _AgsNoteClass
+{
+ GObjectClass object;
+};
+
+GType ags_note_get_type();
+
+AgsNote* ags_note_duplicate(AgsNote *note);
+
+AgsNote* ags_note_new();
+
+#endif /*__AGS_NOTE_H__*/
diff --git a/src/ags/audio/ags_output.c b/src/ags/audio/ags_output.c
new file mode 100644
index 0000000..09ffd2a
--- /dev/null
+++ b/src/ags/audio/ags_output.c
@@ -0,0 +1,273 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_output.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+
+void ags_output_class_init(AgsOutputClass *output_class);
+void ags_output_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_output_init(AgsOutput *output);
+void ags_output_finalize(GObject *gobject);
+void ags_output_connect(AgsConnectable *connectable);
+void ags_output_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_output
+ * @short_description: Output of #AgsAudio
+ * @title: AgsOutput
+ * @section_id:
+ * @include: ags/audio/ags_output.h
+ *
+ * #AgsOutput represents an output channel of #AgsAudio.
+ */
+
+static gpointer ags_output_parent_class = NULL;
+static AgsConnectableInterface *ags_output_parent_connectable_interface;
+
+GType
+ags_output_get_type (void)
+{
+ static GType ags_type_output = 0;
+
+ if(!ags_type_output){
+ static const GTypeInfo ags_output_info = {
+ sizeof (AgsOutputClass),
+ (GBaseInitFunc) NULL, /* base_init */
+ (GBaseFinalizeFunc) NULL, /* base_finalize */
+ (GClassInitFunc) ags_output_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsOutput),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_output_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_output_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_output = g_type_register_static(AGS_TYPE_CHANNEL,
+ "AgsOutput\0",
+ &ags_output_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_output,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_output);
+}
+
+void
+ags_output_class_init(AgsOutputClass *output)
+{
+ GObjectClass *gobject;
+ AgsChannelClass *channel;
+
+ ags_output_parent_class = g_type_class_peek_parent(output);
+
+ gobject = (GObjectClass *) output;
+ gobject->finalize = ags_output_finalize;
+
+ channel = (AgsChannelClass *) output;
+}
+
+void
+ags_output_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_output_connectable_parent_interface;
+
+ ags_output_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_output_connect;
+ connectable->disconnect = ags_output_disconnect;
+}
+
+void
+ags_output_init(AgsOutput *output)
+{
+}
+
+void
+ags_output_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_output_parent_class)->finalize(gobject);
+}
+
+void
+ags_output_connect(AgsConnectable *connectable)
+{
+ ags_output_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_output_disconnect(AgsConnectable *connectable)
+{
+ ags_output_parent_connectable_interface->disconnect(connectable);
+}
+
+/**
+ * ags_output_map_audio_signal:
+ * @output: an #AgsOutput
+ * @recall_id: the assigned #AgsRecallID
+ *
+ * Maps audio signal and assigning it to recall id.
+ *
+ * Returns: a new #GList containing #AgsAudioSignal
+ *
+ * Since: 0.4
+ */
+GList*
+ags_output_map_audio_signal(AgsOutput *output, AgsRecallID *recall_id)
+{
+ AgsDevout *devout;
+ AgsAudioSignal *audio_signal;
+ GList *list_destination;
+
+ if(output != NULL){
+ list_destination = g_list_alloc();
+ goto ags_copy_pattern_map_destination0;
+ }else
+ return(NULL);
+
+ devout = AGS_DEVOUT(AGS_AUDIO(AGS_CHANNEL(output)->audio)->devout);
+
+ while(output != NULL){
+ list_destination->next = g_list_alloc();
+ list_destination->next->prev = list_destination;
+ list_destination = list_destination->next;
+ ags_copy_pattern_map_destination0:
+ g_message("ags_output_map_audio_signal\n\0");
+
+ audio_signal = ags_audio_signal_new((GObject *) devout,
+ (GObject *) output->channel.first_recycling,
+ (GObject *) recall_id);
+ ags_connectable_connect(AGS_CONNECTABLE(audio_signal));
+
+ ags_recycling_add_audio_signal(output->channel.first_recycling,
+ audio_signal);
+ audio_signal->stream_current = audio_signal->stream_beginning;
+ list_destination->data = (gpointer) audio_signal;
+
+ output = (AgsOutput *) output->channel.next_pad;
+ }
+
+ return(list_destination);
+}
+
+
+/**
+ * ags_output_find_first_input_recycling:
+ * @output: an #AgsOutput
+ *
+ * Retrieve first input recycling.
+ *
+ * Returns: the first #AgsRecycling of #AgsAudio
+ *
+ * Since: 0.4
+ */
+AgsRecycling*
+ags_output_find_first_input_recycling(AgsOutput *output)
+{
+ AgsAudio *audio;
+ AgsChannel *input;
+
+ if(output == NULL)
+ return(NULL);
+
+ audio = AGS_AUDIO(AGS_CHANNEL(output)->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input, AGS_CHANNEL(output)->audio_channel);
+
+ input = ags_channel_first_with_recycling(input);
+ }else{
+ input = ags_channel_nth(audio->input, AGS_CHANNEL(output)->line);
+ }
+
+ if(input != NULL){
+ return(input->first_recycling);
+ }else{
+ return(NULL);
+ }
+}
+
+/**
+ * ags_output_find_last_input_recycling:
+ * @output: an #AgsOutput
+ *
+ * Retrieve last input recycling.
+ *
+ * Returns: the last #AgsRecycling of #AgsAudio
+ *
+ * Since: 0.4
+ */
+AgsRecycling*
+ags_output_find_last_input_recycling(AgsOutput *output)
+{
+ AgsAudio *audio;
+ AgsChannel *input;
+
+ if(output == NULL)
+ return(NULL);
+
+ audio = AGS_AUDIO(AGS_CHANNEL(output)->audio);
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ input = ags_channel_nth(audio->input, AGS_CHANNEL(output)->audio_channel);
+
+ input = ags_channel_last_with_recycling(input);
+ }else{
+ input = ags_channel_nth(audio->input, AGS_CHANNEL(output)->line);
+ }
+
+ if(input != NULL){
+ return(input->last_recycling);
+ }else{
+ return(NULL);
+ }
+}
+
+/**
+ * ags_output_new:
+ * @audio: the #AgsAudio
+ *
+ * Creates an #AgsOutput, linking tree to @audio.
+ *
+ * Returns: a new #AgsOutput
+ *
+ * Since: 0.3
+ */
+AgsOutput*
+ags_output_new(GObject *audio)
+{
+ AgsOutput *output;
+
+ output = (AgsOutput *) g_object_new(AGS_TYPE_OUTPUT,
+ "audio\0", audio,
+ NULL);
+
+ return(output);
+}
diff --git a/src/ags/audio/ags_output.h b/src/ags/audio/ags_output.h
new file mode 100644
index 0000000..1200353
--- /dev/null
+++ b/src/ags/audio/ags_output.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_OUTPUT_H__
+#define __AGS_OUTPUT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_id.h>
+
+#define AGS_TYPE_OUTPUT (ags_output_get_type())
+#define AGS_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OUTPUT, AgsOutput))
+#define AGS_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OUTPUT, AgsOutputClass))
+#define AGS_IS_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OUTPUT))
+#define AGS_IS_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_OUTPUT))
+#define AGS_OUTPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_OUTPUT, AgsOutputClass))
+
+typedef struct _AgsOutput AgsOutput;
+typedef struct _AgsOutputClass AgsOutputClass;
+
+struct _AgsOutput
+{
+ AgsChannel channel;
+};
+
+struct _AgsOutputClass
+{
+ AgsChannelClass channel;
+};
+
+GType ags_output_get_type();
+
+AgsRecycling* ags_output_find_first_input_recycling(AgsOutput *output);
+AgsRecycling* ags_output_find_last_input_recycling(AgsOutput *output);
+
+AgsOutput* ags_output_new(GObject *audio);
+
+#endif /*__AGS_OUTPUT_H__*/
diff --git a/src/ags/audio/ags_pattern.c b/src/ags/audio/ags_pattern.c
new file mode 100644
index 0000000..cd084b0
--- /dev/null
+++ b/src/ags/audio/ags_pattern.c
@@ -0,0 +1,783 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_pattern.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_tactable.h>
+#include <ags/object/ags_portlet.h>
+
+#include <ags/audio/ags_port.h>
+
+#include <stdarg.h>
+#include <math.h>
+#include <string.h>
+
+void ags_pattern_class_init(AgsPatternClass *pattern_class);
+void ags_pattern_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_pattern_tactable_interface_init(AgsTactableInterface *tactable);
+void ags_pattern_portlet_interface_init(AgsPortletInterface *portlet);
+void ags_pattern_init(AgsPattern *pattern);
+void ags_pattern_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_pattern_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_pattern_connect(AgsConnectable *connectable);
+void ags_pattern_disconnect(AgsConnectable *connectable);
+void ags_pattern_finalize(GObject *gobject);
+
+void ags_pattern_change_bpm(AgsTactable *tactable, gdouble bpm);
+
+void ags_pattern_set_port(AgsPortlet *portlet, AgsPort *port);
+AgsPort* ags_pattern_get_port(AgsPortlet *portlet);
+GList* ags_pattern_list_safe_properties(AgsPortlet *portlet);
+void ags_pattern_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+void ags_pattern_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+
+/**
+ * SECTION:ags_pattern
+ * @short_description: Pattern representing tones
+ * @title: AgsPattern
+ * @section_id:
+ * @include: ags/audio/ags_pattern.h
+ *
+ * #AgsPattern represents an audio pattern of tones.
+ */
+
+enum{
+ PROP_0,
+ PROP_PORT,
+ PROP_FIRST_INDEX,
+ PROP_SECOND_INDEX,
+ PROP_OFFSET,
+ PROP_CURRENT_BIT,
+};
+
+static gpointer ags_pattern_parent_class = NULL;
+
+GType
+ags_pattern_get_type (void)
+{
+ static GType ags_type_pattern = 0;
+
+ if(!ags_type_pattern){
+ static const GTypeInfo ags_pattern_info = {
+ sizeof (AgsPatternClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_pattern_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPattern),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_pattern_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_pattern_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_tactable_interface_info = {
+ (GInterfaceInitFunc) ags_pattern_tactable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_portlet_interface_info = {
+ (GInterfaceInitFunc) ags_pattern_portlet_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_pattern = g_type_register_static(G_TYPE_OBJECT,
+ "AgsPattern\0",
+ &ags_pattern_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_pattern,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_pattern,
+ AGS_TYPE_TACTABLE,
+ &ags_tactable_interface_info);
+
+ g_type_add_interface_static(ags_type_pattern,
+ AGS_TYPE_PORTLET,
+ &ags_portlet_interface_info);
+ }
+
+ return (ags_type_pattern);
+}
+
+void
+ags_pattern_class_init(AgsPatternClass *pattern)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_pattern_parent_class = g_type_class_peek_parent(pattern);
+
+ gobject = (GObjectClass *) pattern;
+
+ gobject->set_property = ags_pattern_set_property;
+ gobject->get_property = ags_pattern_get_property;
+
+ gobject->finalize = ags_pattern_finalize;
+
+ /* properties */
+ /**
+ * AgsPattern:port:
+ *
+ * The pattern's port.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("port\0",
+ "port of pattern\0",
+ "The port of pattern\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT,
+ param_spec);
+
+ /**
+ * AgsPattern:first-index:
+ *
+ * Selected bank 0.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("first-index\0",
+ "the first index\0",
+ "The first index to select pattern\0",
+ 0, 256,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_OFFSET,
+ param_spec);
+
+ /**
+ * AgsPattern:second-index:
+ *
+ * Selected bank 1.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("second-index\0",
+ "the second index\0",
+ "The second index to select pattern\0",
+ 0, 256,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_OFFSET,
+ param_spec);
+
+ /**
+ * AgsPattern:offset:
+ *
+ * Position of pattern.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("offset\0",
+ "the offset\0",
+ "The offset within the pattern\0",
+ 0, 65535,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_OFFSET,
+ param_spec);
+
+ /**
+ * AgsPattern:current-bit:
+ *
+ * Offset of current position.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_boolean("current-bit\0",
+ "current bit for offset\0",
+ "The current bit for offset\0",
+ FALSE,
+ G_PARAM_READABLE);
+ g_object_class_install_property(gobject,
+ PROP_CURRENT_BIT,
+ param_spec);
+}
+
+void
+ags_pattern_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_pattern_connect;
+ connectable->disconnect = ags_pattern_disconnect;
+}
+
+void
+ags_pattern_tactable_interface_init(AgsTactableInterface *tactable)
+{
+ tactable->change_bpm = ags_pattern_change_bpm;
+}
+
+void
+ags_pattern_portlet_interface_init(AgsPortletInterface *portlet)
+{
+ portlet->set_port = ags_pattern_set_port;
+ portlet->get_port = ags_pattern_get_port;
+ portlet->list_safe_properties = ags_pattern_list_safe_properties;
+ portlet->safe_set_property = ags_pattern_safe_set_property;
+ portlet->safe_get_property = ags_pattern_safe_get_property;
+}
+
+void
+ags_pattern_init(AgsPattern *pattern)
+{
+ //TODO:JK: define timestamp
+ pattern->timestamp = NULL;
+
+ pattern->dim[0] = 0;
+ pattern->dim[1] = 0;
+ pattern->dim[2] = 0;
+
+ pattern->pattern = NULL;
+
+ pattern->port = NULL;
+
+ pattern->i = 0;
+ pattern->j = 0;
+ pattern->bit = 0;
+}
+
+void
+ags_pattern_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_pattern_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_pattern_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPattern *pattern;
+
+ pattern = AGS_PATTERN(gobject);
+
+ switch(prop_id){
+ case PROP_PORT:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == (AgsPort *) pattern->port){
+ return;
+ }
+
+ if(pattern->port != NULL){
+ g_object_unref(G_OBJECT(pattern->port));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ pattern->port = (GObject *) port;
+ }
+ break;
+ case PROP_FIRST_INDEX:
+ {
+ AgsPort *port;
+ guint i;
+
+ i = g_value_get_uint(value);
+
+ port = ags_portlet_get_port(AGS_PORTLET(pattern));
+
+ pthread_mutex_lock(&(port->mutex));
+
+ pattern->i = i;
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ case PROP_SECOND_INDEX:
+ {
+ AgsPort *port;
+ guint j;
+
+ j = g_value_get_uint(value);
+
+ port = ags_portlet_get_port(AGS_PORTLET(pattern));
+
+ pthread_mutex_lock(&(port->mutex));
+
+ pattern->j = j;
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ case PROP_OFFSET:
+ {
+ AgsPort *port;
+ guint bit;
+
+ bit = g_value_get_uint(value);
+
+ port = ags_portlet_get_port(AGS_PORTLET(pattern));
+
+ pthread_mutex_lock(&(port->mutex));
+
+ pattern->bit = bit;
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_pattern_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPattern *pattern;
+
+ pattern = AGS_PATTERN(gobject);
+
+ switch(prop_id){
+ case PROP_PORT:
+ g_value_set_object(value, pattern->port);
+ break;
+ case PROP_FIRST_INDEX:
+ {
+ AgsPort *port;
+
+ port = ags_portlet_get_port(AGS_PORTLET(pattern));
+
+ pthread_mutex_lock(&(port->mutex));
+
+ g_value_set_uint(value, pattern->i);
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ case PROP_SECOND_INDEX:
+ {
+ AgsPort *port;
+
+ port = ags_portlet_get_port(AGS_PORTLET(pattern));
+
+ pthread_mutex_lock(&(port->mutex));
+
+ g_value_set_uint(value, pattern->j);
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ case PROP_OFFSET:
+ {
+ AgsPort *port;
+
+ port = ags_portlet_get_port(AGS_PORTLET(pattern));
+
+ pthread_mutex_lock(&(port->mutex));
+
+ g_value_set_uint(value, pattern->bit);
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ case PROP_CURRENT_BIT:
+ {
+ AgsPort *port;
+
+ port = ags_portlet_get_port(AGS_PORTLET(pattern));
+
+ pthread_mutex_lock(&(port->mutex));
+
+ g_value_set_boolean(value, ags_pattern_get_bit(pattern,
+ pattern->i,
+ pattern->j,
+ pattern->bit));
+
+ pthread_mutex_unlock(&(port->mutex));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_pattern_finalize(GObject *gobject)
+{
+ AgsPattern *pattern;
+ guint i, j;
+
+ pattern = AGS_PATTERN(gobject);
+
+ for(i = 0; i < pattern->dim[0]; i++){
+ for(j = 0; i < pattern->dim[1]; i++){
+ free(pattern->pattern[i][j]);
+ }
+
+ free(pattern->pattern[i]);
+ }
+
+ free(pattern->pattern);
+
+ G_OBJECT_CLASS(ags_pattern_parent_class)->finalize(gobject);
+}
+
+void
+ags_pattern_change_bpm(AgsTactable *tactable, gdouble bpm)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_pattern_set_port(AgsPortlet *portlet, AgsPort *port)
+{
+ g_object_set(G_OBJECT(portlet),
+ "port\0", port,
+ NULL);
+}
+
+AgsPort*
+ags_pattern_get_port(AgsPortlet *portlet)
+{
+ AgsPort *port;
+
+ g_object_get(G_OBJECT(portlet),
+ "port\0", &port,
+ NULL);
+
+ return(port);
+}
+
+GList*
+ags_pattern_list_safe_properties(AgsPortlet *portlet)
+{
+ static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+ static GList *list = NULL;
+
+ pthread_mutex_lock(&mutex);
+
+ if(list == NULL){
+ list = g_list_prepend(list, "first-index\0");
+ list = g_list_prepend(list, "second-index\0");
+ list = g_list_prepend(list, "offset\0");
+ list = g_list_prepend(list, "current-bit\0");
+ }
+
+ pthread_mutex_unlock(&mutex);
+
+ return(list);
+}
+
+void
+ags_pattern_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ //TODO:JK: add check for safe property
+
+ g_object_set_property(G_OBJECT(portlet),
+ property_name, value);
+}
+
+void
+ags_pattern_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ //TODO:JK: add check for safe property
+
+ g_object_get_property(G_OBJECT(portlet),
+ property_name, value);
+}
+
+/**
+ * ags_pattern_get_by_timestamp:
+ * @pattern: a #GList containing #AgsPattern
+ * @timestamp: the matching timestamp
+ *
+ * Retrieve appropriate pattern for timestamp.
+ *
+ * Returns: the matching pattern.
+ *
+ * Since: 0.4
+ */
+AgsPattern*
+ags_pattern_get_by_timestamp(GList *list, GObject *timestamp)
+{
+ if(list == NULL)
+ return(NULL);
+
+ while(AGS_PATTERN(list->data)->timestamp != timestamp){
+ if(list->next == NULL)
+ return(NULL);
+
+ list = list->next;
+ }
+
+ return((AgsPattern *) list->data);
+}
+
+/**
+ * ags_pattern_set_dim:
+ * @pattern: an #AgsPattern
+ * @dim0: bank 0 size
+ * @dim1: bank 1 size
+ * @length: amount of beats
+ *
+ * Reallocates the pattern's dimensions.
+ *
+ * Since: 0.3
+ */
+void
+ags_pattern_set_dim(AgsPattern *pattern, guint dim0, guint dim1, guint length)
+{
+ guint ***index0, **index1, *bitmap;
+ guint i, j, k, j_set, k_set;
+ guint bitmap_size;
+
+ if(dim0 == 0 && pattern->pattern == NULL)
+ return;
+
+ // shrink
+ if(pattern->dim[0] > dim0){
+ for(i = dim0; i < pattern->dim[0]; i++){
+ for(j = 0; j < pattern->dim[1]; j++)
+ free(pattern->pattern[i][j]);
+
+ free(pattern->pattern[i]);
+ }
+
+ if(dim0 == 0){
+ free(pattern->pattern);
+ ags_pattern_init(pattern);
+ return;
+ }else{
+ index0 = (guint ***) malloc((int) dim0 * sizeof(guint**));
+
+ for(i = 0; i < dim0; i++)
+ index0[i] = pattern->pattern[i];
+
+ free(pattern->pattern);
+ pattern->pattern = index0;
+
+ pattern->dim[0] = dim0;
+ }
+ }
+
+ if(pattern->dim[1] > dim1){
+ if(dim1 == 0){
+ for(i = 0; i < pattern->dim[0]; i++){
+ for(j = dim1; j < pattern->dim[1]; j++){
+ free(pattern->pattern[i][j]);
+ }
+ pattern->pattern[i] = NULL;
+ }
+
+ }else{
+ for(i = 0; i < pattern->dim[0]; i++){
+ for(j = dim1; j < pattern->dim[1]; j++){
+ free(pattern->pattern[i][j]);
+ }
+ }
+
+ for(i = 0; pattern->dim[0]; i++){
+ index1 = (guint **) malloc(dim1 * sizeof(guint*));
+
+ for(j = 0; j < dim1; j++){
+ index1[j] = pattern->pattern[i][j];
+ }
+
+ free(pattern->pattern[i]);
+ pattern->pattern[i] = index1;
+ }
+ }
+
+ pattern->dim[1] = dim1;
+ }
+
+ if(pattern->dim[2] > length){
+ for(i = 0; i < pattern->dim[0]; i++)
+ for(j = 0; j < pattern->dim[1]; j++){
+ bitmap = (guint *) malloc((int) ceil((double) length / (double) (sizeof(guint) * 8)) * sizeof(guint));
+
+ for(k = 0; k < (guint) ceil((double) length / (double) (sizeof(guint) * 8)); k++)
+ bitmap[k] = pattern->pattern[i][j][k];
+
+ free(pattern->pattern[i][j]);
+ pattern->pattern[i][j] = bitmap;
+ }
+ }else if(pattern->dim[2] < length){ // grow
+ for(i = 0; i < pattern->dim[0]; i++)
+ for(j = 0; j < pattern->dim[1]; j++){
+ bitmap = (guint *) malloc((int) ceil((double) length / (double) (sizeof(guint) * 8)) * sizeof(guint));
+
+ for(k = 0; k < (guint) ceil((double) pattern->dim[2] / (double) (sizeof(guint) * 8)); k++)
+ bitmap[k] = pattern->pattern[i][j][k];
+
+ free(pattern->pattern[i][j]);
+ pattern->pattern[i][j] = bitmap;
+ }
+ }
+
+ pattern->dim[2] = length;
+ bitmap_size = (guint) ceil((double) pattern->dim[2] / (double) (sizeof(guint) * 8)) * sizeof(guint);
+
+ if(pattern->dim[1] < dim1){
+ for(i = 0; i < pattern->dim[0]; i++){
+ index1 = (guint**) malloc(dim1 * sizeof(guint*));
+
+ for(j = 0; j < pattern->dim[1]; j++)
+ index1[j] = pattern->pattern[i][j];
+
+ free(pattern->pattern[i]);
+ pattern->pattern[i] = index1;
+
+ for(j = pattern->dim[1]; j < dim1; j++){
+ pattern->pattern[i][j] = (guint*) malloc(bitmap_size);
+ memset(pattern->pattern[i][j], 0, bitmap_size);
+ }
+ }
+
+ pattern->dim[1] = dim1;
+ }
+
+ if(pattern->dim[0] < dim0){
+ index0 = (guint***) malloc(dim0 * sizeof(guint**));
+
+ for(i = 0; i < pattern->dim[0]; i++)
+ index0[i] = pattern->pattern[i];
+
+ if(pattern->pattern != NULL)
+ free(pattern->pattern);
+
+ pattern->pattern = index0;
+
+ for(i = pattern->dim[0]; i < dim0; i++){
+ pattern->pattern[i] = (guint**) malloc(pattern->dim[1] * sizeof(guint*));
+
+ for(j = 0; j < pattern->dim[1]; j++){
+ pattern->pattern[i][j] = (guint*) malloc(bitmap_size);
+ memset(pattern->pattern[i][j], 0, bitmap_size);
+ }
+ }
+
+ pattern->dim[0] = dim0;
+ }
+}
+
+/**
+ * ags_pattern_get_bit:
+ * @pattern: an #AgsPattern
+ * @i: bank index 0
+ * @j: bank index 1
+ * @bit: the tic to check
+ *
+ * Check for tic to be played.
+ *
+ * Returns: %TRUE if tone is enabled.
+ *
+ * Since: 0.3
+ */
+gboolean
+ags_pattern_get_bit(AgsPattern *pattern, guint i, guint j, guint bit)
+{
+ guint k, value;
+
+ k = (guint) floor((double) bit / (double) (sizeof(guint) * 8));
+ value = 1 << (bit % (sizeof(guint) * 8));
+
+ //((1 << (bit % (sizeof(guint) *8))) & (pattern->pattern[i][j][(guint) floor((double) bit / (double) (sizeof(guint) * 8))])) != 0
+ if((value & (pattern->pattern[i][j][k])) != 0)
+ return(TRUE);
+ else
+ return(FALSE);
+}
+
+/**
+ * ags_pattern_toggle_bit:
+ * @pattern: an #AgsPattern
+ * @i: bank index 0
+ * @j: bank index 1
+ * @bit: the tic to toggle
+ *
+ * Toggle tone.
+ *
+ * Since: 0.3
+ */
+void
+ags_pattern_toggle_bit(AgsPattern *pattern, guint i, guint j, guint bit)
+{
+ guint k, value;
+
+ k = (guint) floor((double) bit / (double) (sizeof(guint) * 8));
+ value = 1 << (bit % (sizeof(guint) * 8));
+
+
+ if(value & (pattern->pattern[i][j][k]))
+ pattern->pattern[i][j][k] &= (~value);
+ else
+ pattern->pattern[i][j][k] |= value;
+}
+
+/**
+ * ags_pattern_new:
+ *
+ * Creates an #AgsPattern
+ *
+ * Returns: a new #AgsPattern
+ *
+ * Since: 0.3
+ */
+AgsPattern*
+ags_pattern_new()
+{
+ AgsPattern *pattern;
+
+ pattern = (AgsPattern *) g_object_new(AGS_TYPE_PATTERN, NULL);
+
+ return(pattern);
+}
diff --git a/src/ags/audio/ags_pattern.h b/src/ags/audio/ags_pattern.h
new file mode 100644
index 0000000..cdc3c28
--- /dev/null
+++ b/src/ags/audio/ags_pattern.h
@@ -0,0 +1,67 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PATTERN_H__
+#define __AGS_PATTERN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_TYPE_PATTERN (ags_pattern_get_type())
+#define AGS_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PATTERN, AgsPattern))
+#define AGS_PATTERN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PATTERN, AgsPatternClass))
+#define AGS_IS_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PATTERN))
+#define AGS_IS_PATTERN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PATTERN))
+#define AGS_PATTERN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PATTERN, AgsPatternClass))
+
+typedef struct _AgsPattern AgsPattern;
+typedef struct _AgsPatternClass AgsPatternClass;
+
+struct _AgsPattern
+{
+ GObject object;
+
+ GObject *timestamp;
+
+ guint dim[3];
+ guint ***pattern;
+
+ GObject *port;
+
+ guint i;
+ guint j;
+ guint bit;
+};
+
+struct _AgsPatternClass
+{
+ GObjectClass object;
+};
+
+GType ags_pattern_get_type();
+
+AgsPattern* ags_pattern_get_by_timestamp(GList *list, GObject *timestamp);
+
+void ags_pattern_set_dim(AgsPattern *pattern, guint dim0, guint dim1, guint lenght);
+
+gboolean ags_pattern_get_bit(AgsPattern *pattern, guint i, guint j, guint bit);
+void ags_pattern_toggle_bit(AgsPattern *pattern, guint i, guint j, guint bit);
+
+AgsPattern* ags_pattern_new();
+
+#endif /*__AGS_PATTERN_H__*/
diff --git a/src/ags/audio/ags_port.c b/src/ags/audio/ags_port.c
new file mode 100644
index 0000000..df8d62a
--- /dev/null
+++ b/src/ags/audio/ags_port.c
@@ -0,0 +1,755 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_port.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_marshal.h>
+
+void ags_port_class_init(AgsPortClass *port_class);
+void ags_port_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_port_init(AgsPort *port);
+void ags_port_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_port_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_port_connect(AgsConnectable *connectable);
+void ags_port_disconnect(AgsConnectable *connectable);
+
+void ags_port_real_safe_read(AgsPort *port, GValue *value);
+void ags_port_real_safe_write(AgsPort *port, GValue *value);
+void ags_port_real_safe_get_property(AgsPort *port, gchar *property_name, GValue *value);
+void ags_port_real_safe_set_property(AgsPort *port, gchar *property_name, GValue *value);
+
+/**
+ * SECTION:ags_port
+ * @short_description: Perform thread-safe operations
+ * @title: AgsPort
+ * @section_id:
+ * @include: ags/audio/ags_port.h
+ *
+ * #AgsPort provides a thread-safe way to access or change values or properties.
+ */
+
+enum{
+ SAFE_READ,
+ SAFE_WRITE,
+ SAFE_GET_PROPERTY,
+ SAFE_SET_PROPERTY,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_PLUGIN_NAME,
+ PROP_SPECIFIER,
+ PROP_CONTROL_PORT,
+ PROP_PORT_VALUE_IS_POINTER,
+ PROP_PORT_VALUE_TYPE,
+ PROP_PORT_VALUE_SIZE,
+ PROP_PORT_VALUE_LENGTH,
+ PROP_PORT_VALUE,
+};
+
+static gpointer ags_port_parent_class = NULL;
+static guint port_signals[LAST_SIGNAL];
+
+#include <stdlib.h>
+#include <string.h>
+
+GType
+ags_port_get_type (void)
+{
+ static GType ags_type_port = 0;
+
+ if(!ags_type_port){
+ static const GTypeInfo ags_port_info = {
+ sizeof (AgsPortClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_port_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPort),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_port_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_port_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_port = g_type_register_static(G_TYPE_OBJECT,
+ "AgsPort\0",
+ &ags_port_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_port,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_port);
+}
+
+void
+ags_port_class_init(AgsPortClass *port)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_port_parent_class = g_type_class_peek_parent(port);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) port;
+
+ gobject->set_property = ags_port_set_property;
+ gobject->get_property = ags_port_get_property;
+
+ /* properties */
+ /**
+ * AgsPort:plugin-name:
+ *
+ * The assigned plugin.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_string("plugin-name\0",
+ "plugin-name of port\0",
+ "The plugin-name this port belongs to\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PLUGIN_NAME,
+ param_spec);
+
+ /**
+ * AgsPort:specifier:
+ *
+ * The assigned plugin identifier.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_string("specifier\0",
+ "specifier of port\0",
+ "The specifier this port is identified by\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SPECIFIER,
+ param_spec);
+
+ /**
+ * AgsPort:control-port:
+ *
+ * The assigned plugin control port.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_string("control-port\0",
+ "control-port of port\0",
+ "The control-port this port is numbered\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CONTROL_PORT,
+ param_spec);
+
+ /**
+ * AgsPort:port-value-is-pointer:
+ *
+ * Specify port data as pointer.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_boolean("port-value-is-pointer\0",
+ "port-value-is-pointer indicates if value is a pointer\0",
+ "The port-value-is-pointer indicates if value is a pointer\0",
+ FALSE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT_VALUE_IS_POINTER,
+ param_spec);
+
+ /**
+ * AgsPort:port-value-type:
+ *
+ * The port's data type.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_gtype("port-value-type\0",
+ "port-value-type tells you the type of the values\0",
+ "The port-value-type tells you the type of the values\0",
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT_VALUE_TYPE,
+ param_spec);
+
+ /**
+ * AgsPort:port-value-size:
+ *
+ * The port's data type size.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("port-value-size\0",
+ "port-value-size is the size of a single entry\0",
+ "The port-value-size is the size of a single entry\0",
+ 1, 8,
+ sizeof(gdouble),
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT_VALUE_SIZE,
+ param_spec);
+
+ /**
+ * AgsPort:port-value-length:
+ *
+ * The port's data array length.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("port-value-length\0",
+ "port-value-length is the array size\0",
+ "The port-value-length is the array size\0",
+ 0, 65535,
+ 1,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PORT_VALUE_LENGTH,
+ param_spec);
+
+ /* AgsPortClass */
+ port->safe_read = ags_port_real_safe_read;
+ port->safe_write = ags_port_real_safe_write;
+
+ port->safe_get_property = ags_port_real_safe_get_property;
+ port->safe_set_property = ags_port_real_safe_set_property;
+
+ /* signals */
+ /**
+ * AgsPort::safe-read:
+ * @port: the object providing safe read
+ *
+ * The ::safe-read signal is emited while doing safe read operation.
+ */
+ port_signals[SAFE_READ] =
+ g_signal_new("safe-read\0",
+ G_TYPE_FROM_CLASS (port),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortClass, safe_read),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1,
+ G_TYPE_POINTER);
+
+ /**
+ * AgsPort::safe-write:
+ * @port: the object providing safe write
+ *
+ * The ::safe-write signal is emited while doing safe write operation.
+ */
+ port_signals[SAFE_WRITE] =
+ g_signal_new("safe-write\0",
+ G_TYPE_FROM_CLASS (port),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortClass, safe_write),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1,
+ G_TYPE_POINTER);
+
+ /**
+ * AgsPort::safe-get-property:
+ * @port: the object providing safe get property
+ *
+ * The ::safe-get-property signal is emited while safe get property.
+ */
+ port_signals[SAFE_GET_PROPERTY] =
+ g_signal_new("safe-get-property\0",
+ G_TYPE_FROM_CLASS (port),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortClass, safe_get_property),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__STRING_POINTER,
+ G_TYPE_NONE, 2,
+ G_TYPE_STRING, G_TYPE_POINTER);
+
+ /**
+ * AgsPort::safe-set-property:
+ * @port: the object providing safe set property
+ *
+ * The ::safe-set-property signal is emited while safe set property.
+ */
+ port_signals[SAFE_SET_PROPERTY] =
+ g_signal_new("safe-set-property\0",
+ G_TYPE_FROM_CLASS (port),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortClass, safe_set_property),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__STRING_POINTER,
+ G_TYPE_NONE, 2,
+ G_TYPE_STRING, G_TYPE_POINTER);
+}
+
+void
+ags_port_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = NULL;
+ connectable->remove_from_registry = NULL;
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_port_connect;
+ connectable->disconnect = ags_port_disconnect;
+}
+
+void
+ags_port_init(AgsPort *port)
+{
+ pthread_mutexattr_t mutexattr;
+
+ port->plugin_name = NULL;
+ port->specifier = NULL;
+
+ port->control_port = NULL;
+
+ port->port_value_is_pointer = FALSE;
+ port->port_value_type = G_TYPE_DOUBLE;
+
+ port->port_value_size = sizeof(gdouble);
+ port->port_value_length = 1;
+
+ pthread_mutexattr_init(&mutexattr);
+ pthread_mutexattr_settype(&mutexattr, PTHREAD_MUTEX_RECURSIVE);
+
+ pthread_mutex_init(&(port->mutex), &mutexattr);
+}
+
+void
+ags_port_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPort *port;
+
+ port = AGS_PORT(gobject);
+
+ switch(prop_id){
+ case PROP_PLUGIN_NAME:
+ {
+ gchar *plugin_name;
+
+ plugin_name = (gchar *) g_value_get_string(value);
+
+ if(port->plugin_name == plugin_name){
+ return;
+ }
+
+ if(port->plugin_name != NULL){
+ g_free(port->plugin_name);
+ }
+
+ port->plugin_name = g_strdup(plugin_name);
+ }
+ break;
+ case PROP_SPECIFIER:
+ {
+ gchar *specifier;
+
+ specifier = (gchar *) g_value_get_string(value);
+
+ if(port->specifier == specifier){
+ return;
+ }
+
+ if(port->specifier != NULL){
+ g_free(port->specifier);
+ }
+
+ port->specifier = g_strdup(specifier);
+ }
+ break;
+ case PROP_CONTROL_PORT:
+ {
+ gchar *control_port;
+
+ control_port = (gchar *) g_value_get_string(value);
+
+ if(port->control_port == control_port){
+ return;
+ }
+
+ if(port->control_port != NULL){
+ g_free(port->control_port);
+ }
+
+ port->control_port = g_strdup(control_port);
+ }
+ break;
+ case PROP_PORT_VALUE_IS_POINTER:
+ {
+ port->port_value_is_pointer = g_value_get_boolean(value);
+ }
+ break;
+ case PROP_PORT_VALUE_TYPE:
+ {
+ port->port_value_type = g_value_get_gtype(value);
+ }
+ break;
+ case PROP_PORT_VALUE_SIZE:
+ {
+ port->port_value_size = g_value_get_uint(value);
+ }
+ break;
+ case PROP_PORT_VALUE_LENGTH:
+ {
+ port->port_value_length = g_value_get_uint(value);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_port_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPort *port;
+
+ port = AGS_PORT(gobject);
+
+ switch(prop_id){
+ case PROP_PLUGIN_NAME:
+ g_value_set_string(value, port->plugin_name);
+ break;
+ case PROP_SPECIFIER:
+ g_value_set_string(value, port->specifier);
+ break;
+ case PROP_CONTROL_PORT:
+ g_value_set_string(value, port->control_port);
+ break;
+ case PROP_PORT_VALUE_IS_POINTER:
+ g_value_set_boolean(value, port->port_value_is_pointer);
+ break;
+ case PROP_PORT_VALUE_TYPE:
+ g_value_set_gtype(value, port->port_value_type);
+ break;
+ case PROP_PORT_VALUE_SIZE:
+ g_value_set_uint(value, port->port_value_size);
+ break;
+ case PROP_PORT_VALUE_LENGTH:
+ g_value_set_uint(value, port->port_value_length);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_port_connect(AgsConnectable *connectable)
+{
+ AgsPort *port;
+
+ port = AGS_PORT(connectable);
+}
+
+void
+ags_port_disconnect(AgsConnectable *connectable)
+{
+ AgsPort *port;
+
+ port = AGS_PORT(connectable);
+}
+
+void
+ags_port_real_safe_read(AgsPort *port, GValue *value)
+{
+ guint overall_size;
+ gpointer data;
+
+ overall_size = port->port_value_length * port->port_value_size;
+
+ pthread_mutex_lock(&(port->mutex));
+
+ if(!port->port_value_is_pointer){
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ g_value_set_boolean(value, port->port_value.ags_port_boolean);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ g_value_set_int64(value, port->port_value.ags_port_int);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ g_value_set_uint64(value, port->port_value.ags_port_uint);
+ }else if(port->port_value_type == G_TYPE_FLOAT){
+ g_value_set_float(value, (gdouble) port->port_value.ags_port_float);
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ g_value_set_double(value, port->port_value.ags_port_double);
+ }
+ }else{
+ data = (gpointer) malloc(overall_size);
+
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ memcpy(data, port->port_value.ags_port_boolean_ptr, overall_size);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ memcpy(data, port->port_value.ags_port_int_ptr, overall_size);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ memcpy(data, port->port_value.ags_port_uint_ptr, overall_size);
+ }else if(port->port_value_type == G_TYPE_FLOAT){
+ guint i;
+
+ for(i = 0; i < port->port_value_length; i++){
+ port->port_value.ags_port_float_ptr[i] = ((gdouble *) data)[i];
+ }
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ memcpy(data, port->port_value.ags_port_double_ptr, overall_size);
+ }else if(port->port_value_type == G_TYPE_POINTER){
+ data = port->port_value.ags_port_pointer;
+ }else if(port->port_value_type == G_TYPE_OBJECT){
+ data = port->port_value.ags_port_object;
+ }
+
+ g_value_set_pointer(value, data);
+ }
+
+ pthread_mutex_unlock(&(port->mutex));
+}
+
+/**
+ * ags_port_safe_read:
+ * @port: an #AgsPort
+ * @value: the #GValue to store result
+ *
+ * Perform safe read.
+ *
+ * Since: 0.4
+ */
+void
+ags_port_safe_read(AgsPort *port, GValue *value)
+{
+ g_return_if_fail(AGS_IS_PORT(port));
+ g_object_ref(G_OBJECT(port));
+ g_signal_emit(G_OBJECT(port),
+ port_signals[SAFE_READ], 0,
+ value);
+ g_object_unref(G_OBJECT(port));
+}
+
+void
+ags_port_real_safe_write(AgsPort *port, GValue *value)
+{
+ guint overall_size;
+ gpointer data;
+
+ if(port == NULL){
+ return;
+ }
+
+ overall_size = port->port_value_length * port->port_value_size;
+
+ pthread_mutex_lock(&(port->mutex));
+
+ if(!port->port_value_is_pointer){
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ port->port_value.ags_port_boolean = g_value_get_boolean(value);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ port->port_value.ags_port_int = g_value_get_int64(value);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ port->port_value.ags_port_uint = g_value_get_uint64(value);
+ }else if(port->port_value_type == G_TYPE_FLOAT){
+ port->port_value.ags_port_float = (gfloat) g_value_get_float(value);
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ port->port_value.ags_port_double = g_value_get_double(value);
+ }else if(port->port_value_type == G_TYPE_POINTER){
+ port->port_value.ags_port_pointer = g_value_get_pointer(value);
+ }else if(port->port_value_type == G_TYPE_OBJECT){
+ port->port_value.ags_port_object = g_value_get_object(value);
+ }else{
+ g_warning("ags_port.c: unknown type\0");
+ }
+ }else{
+ data = g_value_get_pointer(value);
+
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ memcpy(port->port_value.ags_port_boolean_ptr, data, overall_size);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ memcpy(port->port_value.ags_port_int_ptr, data, overall_size);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ memcpy(port->port_value.ags_port_uint_ptr, data, overall_size);
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ memcpy(port->port_value.ags_port_double_ptr, data, overall_size);
+ }else if(port->port_value_type == G_TYPE_POINTER){
+ port->port_value.ags_port_pointer = data;
+ }else{
+ data = g_value_get_object(value);
+
+ if(port->port_value_type == G_TYPE_OBJECT){
+ port->port_value.ags_port_object = data;
+ }else{
+ g_warning("ags_port.c: unknown type\0");
+ }
+ }
+ }
+
+ pthread_mutex_unlock(&(port->mutex));
+}
+
+/**
+ * ags_port_safe_write:
+ * @port: an #AgsPort
+ * @value: the #GValue containing data
+ *
+ * Perform safe write.
+ *
+ * Since: 0.4
+ */
+void
+ags_port_safe_write(AgsPort *port, GValue *value)
+{
+ g_return_if_fail(AGS_IS_PORT(port));
+ g_object_ref(G_OBJECT(port));
+ g_signal_emit(G_OBJECT(port),
+ port_signals[SAFE_WRITE], 0,
+ value);
+ g_object_unref(G_OBJECT(port));
+}
+
+void
+ags_port_real_safe_get_property(AgsPort *port, gchar *property_name, GValue *value)
+{
+ // pthread_mutex_lock(&(port->mutex));
+
+ g_object_get_property(port->port_value.ags_port_object,
+ property_name,
+ value);
+
+ // pthread_mutex_unlock(&(port->mutex));
+}
+
+/**
+ * ags_port_safe_get_property:
+ * @port: an #AgsPort
+ * @property_name: the property's name
+ * @value: the #GValue to store the result
+ *
+ * Perform safe get property.
+ *
+ * Since: 0.4
+ */
+void
+ags_port_safe_get_property(AgsPort *port, gchar *property_name, GValue *value)
+{
+ g_return_if_fail(AGS_IS_PORT(port));
+ g_object_ref(G_OBJECT(port));
+ g_signal_emit(G_OBJECT(port),
+ port_signals[SAFE_GET_PROPERTY], 0,
+ property_name, value);
+ g_object_unref(G_OBJECT(port));
+}
+
+void
+ags_port_real_safe_set_property(AgsPort *port, gchar *property_name, GValue *value)
+{
+ // pthread_mutex_lock(&(port->mutex));
+
+ g_object_set_property(port->port_value.ags_port_object,
+ property_name,
+ value);
+
+ // pthread_mutex_unlock(&(port->mutex));
+}
+
+/**
+ * ags_port_safe_set_property:
+ * @port: an #AgsPort
+ * @property_name: the property's name
+ * @value: the #GValue containing data
+ *
+ * Perform safe set property.
+ *
+ * Since: 0.4
+ */
+void
+ags_port_safe_set_property(AgsPort *port, gchar *property_name, GValue *value)
+{
+ g_return_if_fail(AGS_IS_PORT(port));
+ g_object_ref(G_OBJECT(port));
+ g_signal_emit(G_OBJECT(port),
+ port_signals[SAFE_SET_PROPERTY], 0,
+ property_name, value);
+ g_object_unref(G_OBJECT(port));
+}
+
+/**
+ * ags_port_find_specifier:
+ * @port: a #GList containing #AgsPort
+ * @specifier: the recall specifier to match
+ *
+ * Retrieve port by specifier.
+ *
+ * Returns: Next match.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_port_find_specifier(GList *port, gchar *specifier)
+{
+ while(port != NULL){
+ if(!g_strcmp0(AGS_PORT(port->data)->specifier,
+ specifier)){
+ return(port);
+ }
+
+ port = port->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_port_new:
+ *
+ * Creates an #AgsPort.
+ *
+ * Returns: a new #AgsPort.
+ *
+ * Since: 0.4
+ */
+AgsPort*
+ags_port_new()
+{
+ AgsPort *port;
+
+ port = (AgsPort *) g_object_new(AGS_TYPE_PORT,
+ NULL);
+
+ return(port);
+}
diff --git a/src/ags/audio/ags_port.h b/src/ags/audio/ags_port.h
new file mode 100644
index 0000000..eed61cc
--- /dev/null
+++ b/src/ags/audio/ags_port.h
@@ -0,0 +1,95 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PORT_H__
+#define __AGS_PORT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <pthread.h>
+
+#include <ladspa.h>
+
+#define AGS_TYPE_PORT (ags_port_get_type())
+#define AGS_PORT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PORT, AgsPort))
+#define AGS_PORT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PORT, AgsPortClass))
+#define AGS_IS_PORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PORT))
+#define AGS_IS_PORT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PORT))
+#define AGS_PORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PORT, AgsPortClass))
+
+typedef struct _AgsPort AgsPort;
+typedef struct _AgsPortClass AgsPortClass;
+
+struct _AgsPort
+{
+ GObject object;
+
+ gchar *plugin_name;
+ gchar *specifier;
+
+ gchar *control_port;
+
+ gboolean port_value_is_pointer;
+ GType port_value_type;
+
+ guint port_value_size;
+ guint port_value_length;
+
+ pthread_mutex_t mutex;
+
+ union _AgsPortValue{
+ gboolean ags_port_boolean;
+ gint64 ags_port_int;
+ guint64 ags_port_uint;
+ gfloat ags_port_float;
+ gdouble ags_port_double;
+ gboolean *ags_port_boolean_ptr;
+ gint64 *ags_port_int_ptr;
+ guint64 *ags_port_uint_ptr;
+ gfloat *ags_port_float_ptr;
+ gdouble *ags_port_double_ptr;
+ gpointer ags_port_pointer;
+ GObject *ags_port_object;
+ }port_value;
+};
+
+struct _AgsPortClass
+{
+ GObjectClass object;
+
+ void (*safe_read)(AgsPort *port, GValue *value);
+ void (*safe_write)(AgsPort *port, GValue *value);
+
+ void (*safe_get_property)(AgsPort *port, gchar *property_name, GValue *value);
+ void (*safe_set_property)(AgsPort *port, gchar *property_name, GValue *value);
+};
+
+GType ags_port_get_type();
+
+void ags_port_safe_read(AgsPort *port, GValue *value);
+void ags_port_safe_write(AgsPort *port, GValue *value);
+
+void ags_port_safe_get_property(AgsPort *port, gchar *property_name, GValue *value);
+void ags_port_safe_set_property(AgsPort *port, gchar *property_name, GValue *value);
+
+GList* ags_port_find_specifier(GList *port, gchar *specifier);
+
+AgsPort* ags_port_new();
+
+#endif /*__AGS_PORT_H__*/
diff --git a/src/ags/audio/ags_recall.c b/src/ags/audio/ags_recall.c
new file mode 100644
index 0000000..1553593
--- /dev/null
+++ b/src/ags/audio/ags_recall.c
@@ -0,0 +1,2431 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/lib/ags_parameter.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_packable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_recycling.h>
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+#include <libxml/tree.h>
+
+void ags_recall_class_init(AgsRecallClass *recall_class);
+void ags_recall_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_packable_interface_init(AgsPackableInterface *packable);
+void ags_recall_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_recall_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_recall_init(AgsRecall *recall);
+void ags_recall_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_add_to_registry(AgsConnectable *connectable);
+void ags_recall_remove_from_registry(AgsConnectable *connectable);
+gboolean ags_recall_is_connected(AgsConnectable *connectable);
+void ags_recall_connect(AgsConnectable *connectable);
+void ags_recall_disconnect(AgsConnectable *connectable);
+gboolean ags_recall_pack(AgsPackable *packable, GObject *container);
+gboolean ags_recall_unpack(AgsPackable *packable);
+void ags_recall_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+gchar* ags_recall_get_name(AgsPlugin *plugin);
+void ags_recall_set_name(AgsPlugin *plugin, gchar *name);
+gchar* ags_recall_get_version(AgsPlugin *plugin);
+void ags_recall_set_version(AgsPlugin *plugin, gchar *version);
+gchar* ags_recall_get_build_id(AgsPlugin *plugin);
+void ags_recall_set_build_id(AgsPlugin *plugin, gchar *build_id);
+gchar* ags_recall_get_xml_type(AgsPlugin *plugin);
+void ags_recall_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+GList* ags_recall_get_ports(AgsPlugin *plugin);
+void ags_recall_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_recall_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+void ags_recall_finalize(GObject *recall);
+
+void ags_recall_real_run_init_pre(AgsRecall *recall);
+void ags_recall_real_run_init_inter(AgsRecall *recall);
+void ags_recall_real_run_init_post(AgsRecall *recall);
+
+void ags_recall_real_run_pre(AgsRecall *recall);
+void ags_recall_real_run_inter(AgsRecall *recall);
+void ags_recall_real_run_post(AgsRecall *recall);
+
+void ags_recall_real_stop_persistent(AgsRecall *recall);
+void ags_recall_real_done(AgsRecall *recall);
+
+void ags_recall_real_cancel(AgsRecall *recall);
+void ags_recall_real_remove(AgsRecall *recall);
+
+AgsRecall* ags_recall_real_duplicate(AgsRecall *reall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_recall_child_done(AgsRecall *child,
+ AgsRecall *parent);
+
+/**
+ * SECTION:ags_recall
+ * @Short_description: The recall base class
+ * @Title: AgsRecall
+ *
+ * #AgsRecall acts as effect processor.
+ */
+
+enum{
+ RESOLVE_DEPENDENCIES,
+ RUN_INIT_PRE,
+ RUN_INIT_INTER,
+ RUN_INIT_POST,
+ RUN_PRE,
+ RUN_INTER,
+ RUN_POST,
+ STOP_PERSISTENT,
+ DONE,
+ CANCEL,
+ REMOVE,
+ DUPLICATE,
+ NOTIFY_DEPENDENCY,
+ CHILD_ADDED,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+ PROP_CONTAINER,
+ PROP_DEPENDENCY,
+ PROP_RECALL_ID,
+ PROP_PARENT,
+ PROP_CHILD,
+};
+
+static gpointer ags_recall_parent_class = NULL;
+static guint recall_signals[LAST_SIGNAL];
+
+GType
+ags_recall_get_type (void)
+{
+ static GType ags_type_recall = 0;
+
+ if(!ags_type_recall){
+ static const GTypeInfo ags_recall_info = {
+ sizeof (AgsRecallClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecall),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_packable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_packable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_recall_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRecall\0",
+ &ags_recall_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall,
+ AGS_TYPE_PACKABLE,
+ &ags_packable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_recall);
+}
+
+void
+ags_recall_class_init(AgsRecallClass *recall)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_recall_parent_class = g_type_class_peek_parent(recall);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall;
+
+ gobject->set_property = ags_recall_set_property;
+ gobject->get_property = ags_recall_get_property;
+
+ gobject->finalize = ags_recall_finalize;
+
+ /* properties */
+ /**
+ * AgsRecall:devout:
+ *
+ * The assigned devout.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "devout of recall\0",
+ "The devout which this recall is packed into\0",
+ AGS_TYPE_DEVOUT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /**
+ * AgsRecall:recall-container:
+ *
+ * The recall container packed into.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("recall-container\0",
+ "container of recall\0",
+ "The container which this recall is packed into\0",
+ AGS_TYPE_RECALL_CONTAINER,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CONTAINER,
+ param_spec);
+
+ /**
+ * AgsRecall:dependency:
+ *
+ * The recall depending on.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("dependency\0",
+ "dependency of recall\0",
+ "The dependency that can be added\0",
+ AGS_TYPE_RECALL_DEPENDENCY,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEPENDENCY,
+ param_spec);
+
+ /**
+ * AgsRecall:recall-id:
+ *
+ * The recall id running in.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("recall-id\0",
+ "run id of recall\0",
+ "The recall id of the recall\0",
+ AGS_TYPE_RECALL_ID,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_ID,
+ param_spec);
+
+ /**
+ * AgsRecall:audio-channel:
+ *
+ * The parent recall.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("parent\0",
+ "parent recall of this recall\0",
+ "The recall should be the parent instance of this recall\0",
+ AGS_TYPE_RECALL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PARENT,
+ param_spec);
+
+ /**
+ * AgsRecall:audio-channel:
+ *
+ * The child recall.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("child\0",
+ "child of recall\0",
+ "The child that can be added\0",
+ AGS_TYPE_RECALL,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHILD,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall->resolve_dependencies = NULL;
+
+ recall->run_init_pre = ags_recall_real_run_init_pre;
+ recall->run_init_inter = ags_recall_real_run_init_inter;
+ recall->run_init_post = ags_recall_real_run_init_post;
+
+ recall->run_pre = ags_recall_real_run_pre;
+ recall->run_inter = ags_recall_real_run_inter;
+ recall->run_post = ags_recall_real_run_post;
+
+ recall->stop_persistent = ags_recall_real_stop_persistent;
+ recall->done = ags_recall_real_done;
+
+ recall->cancel = ags_recall_real_cancel;
+ recall->remove = ags_recall_real_remove;
+
+ recall->duplicate = ags_recall_real_duplicate;
+
+ recall->notify_dependency = NULL;
+
+ recall->child_added = NULL;
+
+ /* signals */
+ /**
+ * AgsRecall::resolve-dependencies:
+ * @recall: the object to resolve
+ *
+ * The ::resolve-dependencies signal notifies about resolving
+ * dependencies.
+ */
+ recall_signals[RESOLVE_DEPENDENCIES] =
+ g_signal_new("resolve-dependencies\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, resolve_dependencies),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::run-init-pre:
+ * @recall: the object to initialize
+ *
+ * The ::run-init-pre signal notifies about initializing
+ * stage 0.
+ */
+ recall_signals[RUN_INIT_PRE] =
+ g_signal_new("run-init-pre\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, run_init_pre),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::run-init-inter:
+ * @recall: the object to initialize
+ *
+ * The ::run-init-inter signal notifies about initializing
+ * stage 1.
+ */
+ recall_signals[RUN_INIT_INTER] =
+ g_signal_new("run-init-inter\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, run_init_inter),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::run-init-post:
+ * @recall: the object to initialize
+ *
+ * The ::run-init-post signal notifies about initializing
+ * stage 2.
+ */
+ recall_signals[RUN_INIT_POST] =
+ g_signal_new("run-init-post\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, run_init_post),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::run-pre:
+ * @recall: the object to play
+ *
+ * The ::run-pre signal notifies about running
+ * stage 0.
+ */
+ recall_signals[RUN_PRE] =
+ g_signal_new("run-pre\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, run_pre),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::run-inter:
+ * @recall: the object to play
+ *
+ * The ::run-inter signal notifies about running
+ * stage 1.
+ */
+ recall_signals[RUN_INTER] =
+ g_signal_new("run-inter\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, run_inter),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::run-post:
+ * @recall: the object to play
+ *
+ * The ::run-post signal notifies about running
+ * stage 2.
+ */
+ recall_signals[RUN_POST] =
+ g_signal_new("run-post\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, run_post),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::stop-persistent:
+ * @recall: the object stop playback
+ *
+ * The ::stop-persistent signal notifies about definitively
+ * stopping playback.
+ */
+ recall_signals[STOP_PERSISTENT] =
+ g_signal_new("stop_persistent\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, stop_persistent),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::done:
+ * @recall: the object to finish playback
+ *
+ * The ::done signal notifies about stopping playback.
+ */
+ recall_signals[DONE] =
+ g_signal_new("done\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, done),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::cancel:
+ * @recall: the object to cancel playback
+ *
+ * The ::cancel signal notifies about cancelling playback.
+ */
+ recall_signals[CANCEL] =
+ g_signal_new("cancel\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, cancel),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::remove:
+ * @recall: the object to remove of audio loop
+ *
+ * The ::remove signal notifies about removing.
+ */
+ recall_signals[REMOVE] =
+ g_signal_new("remove\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, remove),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsRecall::duplicate:
+ * @recall: the object to duplicate
+ * @recall_id: the assigned #AgsRecallID
+ * @n_params: pointer to array length
+ * @parameter: parameter array
+ *
+ * The ::duplicate signal notifies about instantiating.
+ */
+ recall_signals[DUPLICATE] =
+ g_signal_new("duplicate\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, duplicate),
+ NULL, NULL,
+ g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER,
+ G_TYPE_OBJECT, 3,
+ G_TYPE_OBJECT,
+ G_TYPE_POINTER, G_TYPE_POINTER);
+
+ /**
+ * AgsRecall::notify-dependency:
+ * @recall: the object to notify
+ * @dependency: the kind of dependency
+ * @count: the reference count
+ *
+ * The ::notify-dependency signal notifies about dependencies
+ * added.
+ */
+ recall_signals[NOTIFY_DEPENDENCY] =
+ g_signal_new("notify-dependency\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, notify_dependency),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_INT,
+ G_TYPE_NONE, 2,
+ G_TYPE_UINT, G_TYPE_INT);
+
+ /**
+ * AgsRecall::child-added:
+ * @recall: the object to add the child
+ * @child: the #AgsRecall to add
+ *
+ * The ::child-added signal notifies about children
+ * added.
+ */
+ recall_signals[CHILD_ADDED] =
+ g_signal_new("child-added\0",
+ G_TYPE_FROM_CLASS (recall),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallClass, child_added),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_recall_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = ags_recall_add_to_registry;
+ connectable->remove_from_registry = ags_recall_remove_from_registry;
+
+ connectable->is_ready = NULL;
+ connectable->is_connected = ags_recall_is_connected;
+ connectable->connect = ags_recall_connect;
+ connectable->disconnect = ags_recall_disconnect;
+}
+
+void
+ags_recall_packable_interface_init(AgsPackableInterface *packable)
+{
+ packable->pack = ags_recall_pack;
+ packable->unpack = ags_recall_unpack;
+}
+
+void
+ags_recall_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ dynamic_connectable->connect_dynamic = ags_recall_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_recall_disconnect_dynamic;
+}
+
+void
+ags_recall_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->get_name = ags_recall_get_name;
+ plugin->set_name = ags_recall_set_name;
+ plugin->get_version = ags_recall_get_version;
+ plugin->set_version = ags_recall_set_version;
+ plugin->get_build_id = ags_recall_get_build_id;
+ plugin->set_build_id = ags_recall_set_build_id;
+ plugin->get_xml_type = ags_recall_get_xml_type;
+ plugin->set_xml_type = ags_recall_set_xml_type;
+ plugin->get_ports = ags_recall_get_ports;
+ plugin->read = ags_recall_read;
+ plugin->write = ags_recall_write;
+ plugin->set_ports = NULL;
+}
+
+void
+ags_recall_init(AgsRecall *recall)
+{
+ recall->flags = 0;
+
+ recall->devout = NULL;
+ recall->container = NULL;
+
+ recall->version = NULL;
+ recall->build_id = NULL;
+
+ recall->effect = NULL;
+ recall->name = NULL;
+
+ recall->xml_type = NULL;
+
+ recall->dependencies = NULL;
+
+ recall->recall_id = NULL;
+
+ recall->parent = NULL;
+ recall->children = NULL;
+
+ recall->child_type = G_TYPE_NONE;
+ recall->child_parameters = NULL;
+ recall->n_params = 0;
+
+ recall->port = NULL;
+
+ recall->handlers = NULL;
+}
+
+void
+ags_recall_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+ GList *current;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(devout == ((AgsDevout *) recall->devout))
+ return;
+
+ if(recall->devout != NULL)
+ g_object_unref(recall->devout);
+
+ if(devout != NULL)
+ g_object_ref(G_OBJECT(devout));
+
+ recall->devout = (GObject *) devout;
+
+ current = recall->children;
+
+ while(current != NULL){
+ g_object_set(G_OBJECT(current->data),
+ "devout\0", devout,
+ NULL);
+
+ current = current->next;
+ }
+ }
+ break;
+ case PROP_CONTAINER:
+ {
+ AgsRecallContainer *container;
+
+ container = (AgsRecallContainer *) g_value_get_object(value);
+
+ if((AgsRecallContainer *) recall->container == container ||
+ !(AGS_IS_RECALL_AUDIO(recall) ||
+ AGS_IS_RECALL_AUDIO_RUN(recall) ||
+ AGS_IS_RECALL_CHANNEL(recall) ||
+ AGS_IS_RECALL_CHANNEL_RUN(recall)))
+ return;
+
+ if(recall->container != NULL){
+ ags_packable_unpack(AGS_PACKABLE(recall));
+
+ g_object_unref(G_OBJECT(recall->container));
+ }
+
+ if(container != NULL){
+ g_object_ref(G_OBJECT(container));
+
+ ags_packable_pack(AGS_PACKABLE(recall), G_OBJECT(container));
+
+ if(AGS_IS_RECALL_AUDIO(recall)){
+ g_object_set(G_OBJECT(container),
+ "recall_audio\0", recall,
+ NULL);
+ }else if(AGS_IS_RECALL_AUDIO_RUN(recall)){
+ g_object_set(G_OBJECT(container),
+ "recall_audio_run\0", recall,
+ NULL);
+ }else if(AGS_IS_RECALL_CHANNEL(recall)){
+ g_object_set(G_OBJECT(container),
+ "recall_channel\0", recall,
+ NULL);
+ }else if(AGS_IS_RECALL_CHANNEL_RUN(recall)){
+ g_object_set(G_OBJECT(container),
+ "recall_channel_run\0", recall,
+ NULL);
+ }
+ }
+
+ recall->container = (GObject *) container;
+ }
+ break;
+ case PROP_DEPENDENCY:
+ {
+ AgsRecallDependency *recall_dependency;
+
+ recall_dependency = (AgsRecallDependency *) g_value_get_object(value);
+
+ ags_recall_add_dependency(recall, recall_dependency);
+ }
+ break;
+ case PROP_RECALL_ID:
+ {
+ AgsRecallID *recall_id;
+
+ recall_id = (AgsRecallID *) g_value_get_object(value);
+
+ if(recall->recall_id == recall_id)
+ return;
+
+ if(recall->recall_id != NULL){
+ g_object_unref(G_OBJECT(recall->recall_id));
+ }
+
+ if(recall_id != NULL){
+ g_object_ref(G_OBJECT(recall_id));
+ }
+
+ ags_recall_set_recall_id(recall, recall_id);
+ }
+ break;
+ case PROP_PARENT:
+ {
+ AgsRecall *parent;
+
+ parent = (AgsRecall *) g_value_get_object(value);
+
+ ags_recall_add_child(parent, recall);
+ }
+ break;
+ case PROP_CHILD:
+ {
+ AgsRecall *child;
+
+ child = (AgsRecall *) g_value_get_object(value);
+
+ ags_recall_add_child(recall, child);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ g_value_set_object(value, recall->devout);
+ }
+ break;
+ case PROP_CONTAINER:
+ {
+ g_value_set_object(value, recall->container);
+ }
+ break;
+ case PROP_RECALL_ID:
+ {
+ g_value_set_object(value, recall->recall_id);
+ }
+ break;
+ case PROP_PARENT:
+ {
+ g_value_set_object(value, recall->parent);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_add_to_registry(AgsConnectable *connectable)
+{
+ AgsMain *ags_main;
+ AgsServer *server;
+ AgsRecall *recall;
+ AgsRegistryEntry *entry;
+ GList *list;
+
+ recall = AGS_RECALL(connectable);
+
+ ags_main = AGS_MAIN(AGS_DEVOUT(recall->devout)->ags_main);
+
+ server = ags_main->server;
+
+ entry = ags_registry_entry_alloc(server->registry);
+ g_value_set_object(&(entry->entry),
+ (gpointer) recall);
+ ags_registry_add(server->registry,
+ entry);
+}
+
+void
+ags_recall_remove_from_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+gboolean
+ags_recall_is_connected(AgsConnectable *connectable)
+{
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(connectable);
+
+ if((AGS_RECALL_CONNECTED & (recall->flags)) != 0){
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+}
+
+void
+ags_recall_connect(AgsConnectable *connectable)
+{
+ AgsRecall *recall;
+ AgsRecallHandler *recall_handler;
+ GList *list;
+
+ recall = AGS_RECALL(connectable);
+
+ list = recall->children;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* handlers */
+ list = recall->handlers;
+
+ while(list != NULL){
+ recall_handler = AGS_RECALL_HANDLER(list->data);
+ recall_handler->handler = g_signal_connect_after(G_OBJECT(recall), recall_handler->signal_name,
+ G_CALLBACK(recall_handler->callback), recall_handler->data);
+
+ list = list->next;
+ }
+
+ recall->flags |= AGS_RECALL_CONNECTED;
+}
+
+void
+ags_recall_disconnect(AgsConnectable *connectable)
+{
+ AgsRecall *recall;
+ GList *list;
+
+ recall = AGS_RECALL(connectable);
+
+ list = recall->children;
+
+ while(list != NULL){
+ ags_connectable_disconnect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ recall->flags &= (~AGS_RECALL_CONNECTED);
+}
+
+gboolean
+ags_recall_pack(AgsPackable *packable, GObject *container)
+{
+ AgsRecall *recall;
+ AgsRecallContainer *recall_container;
+
+ recall = AGS_RECALL(packable);
+ recall_container = AGS_RECALL_CONTAINER(container);
+
+ if(recall == NULL ||
+ recall->container == container ||
+ (container != NULL && !AGS_IS_RECALL_CONTAINER(container)))
+ return(TRUE);
+
+#ifdef AGS_DEBUG
+ g_message("===== packing: %s\0", G_OBJECT_TYPE_NAME(recall));
+#endif
+
+ return(FALSE);
+}
+
+gboolean
+ags_recall_unpack(AgsPackable *packable)
+{
+ AgsRecall *recall;
+ AgsRecallContainer *recall_container;
+
+ recall = AGS_RECALL(packable);
+
+ if(recall == NULL ||
+ recall->container == NULL)
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(recall->container);
+
+ /* unset link */
+ recall->container = NULL;
+
+ return(FALSE);
+}
+
+void
+ags_recall_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsRecall *recall;
+ AgsRecallHandler *recall_handler;
+ GList *list;
+
+ recall = AGS_RECALL(dynamic_connectable);
+
+#ifdef AGS_DEBUG
+ g_message("dynamic connect: %s\0", G_OBJECT_TYPE_NAME(recall));
+#endif
+
+ /* connect children */
+ list = recall->children;
+
+ while(list != NULL){
+ ags_dynamic_connectable_connect_dynamic(AGS_DYNAMIC_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* connect handlers */
+ list = recall->handlers;
+
+ while(list != NULL){
+ recall_handler = AGS_RECALL_HANDLER(list->data);
+ recall_handler->handler = g_signal_connect_after(G_OBJECT(recall), recall_handler->signal_name,
+ G_CALLBACK(recall_handler->callback), recall_handler->data);
+
+ list = list->next;
+ }
+
+ //TODO:JK: fixme
+ recall->flags |= AGS_RECALL_DYNAMIC_CONNECTED;
+}
+
+void
+ags_recall_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsRecall *recall;
+ AgsRecallHandler *recall_handler;
+ GList *list;
+
+ recall = AGS_RECALL(dynamic_connectable);
+
+ /* disconnect children */
+ list = recall->children;
+
+ while(list != NULL){
+ ags_dynamic_connectable_disconnect_dynamic(AGS_DYNAMIC_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ /* disconnect handlers */
+ list = recall->handlers;
+
+ while(list != NULL){
+ recall_handler = AGS_RECALL_HANDLER(list->data);
+
+ g_signal_handler_disconnect(G_OBJECT(recall), recall_handler->handler);
+
+ list = list->next;
+ }
+}
+
+gchar*
+ags_recall_get_name(AgsPlugin *plugin)
+{
+ return(AGS_RECALL(plugin)->name);
+}
+
+void
+ags_recall_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AGS_RECALL(plugin)->name = name;
+}
+
+gchar*
+ags_recall_get_version(AgsPlugin *plugin)
+{
+ return(AGS_RECALL(plugin)->version);
+}
+
+void
+ags_recall_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AGS_RECALL(plugin)->version = version;
+}
+
+gchar*
+ags_recall_get_build_id(AgsPlugin *plugin)
+{
+ return(AGS_RECALL(plugin)->build_id);
+}
+
+void
+ags_recall_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AGS_RECALL(plugin)->build_id = build_id;
+}
+
+gchar*
+ags_recall_get_xml_type(AgsPlugin *plugin)
+{
+ return(AGS_RECALL(plugin)->xml_type);
+}
+
+void
+ags_recall_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AGS_RECALL(plugin)->xml_type = xml_type;
+}
+
+GList*
+ags_recall_get_ports(AgsPlugin *plugin)
+{
+ return(AGS_RECALL(plugin)->port);
+}
+
+void
+ags_recall_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", recall,
+ NULL));
+}
+
+xmlNode*
+ags_recall_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsRecall *recall;
+ xmlNode *node;
+ gchar *id;
+
+ recall = AGS_RECALL(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ AGS_RECALL(plugin)->xml_type);
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_recall_finalize(GObject *gobject)
+{
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(gobject);
+
+#ifdef AGS_DEBUG
+ g_message("finalize %s\n\0", G_OBJECT_TYPE_NAME(gobject));
+#endif
+
+ if(recall->devout != NULL){
+ g_object_unref(recall->devout);
+ }
+
+ if((AGS_RECALL_CONNECTED & (recall->flags)) != 0){
+ // ags_connectable_disconnect(AGS_CONNECTABLE(recall));
+ }
+
+ if((AGS_RECALL_DYNAMIC_CONNECTED & (recall->flags)) != 0){
+ // ags_dynamic_connectable_disconnect_dynamic(AGS_DYNAMIC_CONNECTABLE(recall));
+ }
+
+ // if(recall->name != NULL)
+ // g_free(recall->name);
+
+ ags_list_free_and_unref_link(recall->dependencies);
+
+ ags_list_free_and_unref_link(recall->children);
+
+ if(recall->container != NULL){
+ ags_packable_unpack(recall);
+ }
+
+ if(recall->parent != NULL){
+ //TODO:JK: implement me
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_recall_set_flags:
+ * @recall: an #AgsRecall
+ * @flags: the flags mask
+ *
+ * Set flags recursivly.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_set_flags(AgsRecall *recall, guint flags)
+{
+ GList *child;
+ guint inheritated_flags_mask;
+
+ /* set flags */
+ recall->flags |= flags;
+
+ /* set recursivly - prepare mask */
+ inheritated_flags_mask = (AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION |
+ AGS_RECALL_PROPAGATE_DONE |
+ AGS_RECALL_INITIAL_RUN);
+
+ if(!AGS_IS_RECALL_RECYCLING(recall)){
+ inheritated_flags_mask |= (AGS_RECALL_PERSISTENT |
+ AGS_RECALL_PERSISTENT_PLAYBACK |
+ AGS_RECALL_PERSISTENT_SEQUENCER |
+ AGS_RECALL_PERSISTENT_NOTATION);
+ }
+
+ /* apply recursivly */
+ child = recall->children;
+
+ while(child != NULL){
+ ags_recall_set_flags(AGS_RECALL(child->data), (inheritated_flags_mask & (flags)));
+
+ child = child->next;
+ }
+}
+
+/**
+ * ags_recall_resolve_dependencies:
+ * @recall: an #AgsRecall
+ *
+ * A signal indicating that the inheriting object should resolve
+ * it's dependencies.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_resolve_dependencies(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+#ifdef AGS_DEBUG
+ g_message("resolving %s\0", G_OBJECT_TYPE_NAME(recall));
+#endif
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[RESOLVE_DEPENDENCIES], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_child_added(AgsRecall *parent, AgsRecall *child)
+{
+ g_return_if_fail(AGS_IS_RECALL(parent));
+ g_object_ref(G_OBJECT(parent));
+ g_signal_emit(G_OBJECT(parent),
+ recall_signals[CHILD_ADDED], 0,
+ child);
+ g_object_unref(G_OBJECT(parent));
+}
+
+void
+ags_recall_real_run_init_pre(AgsRecall *recall)
+{
+ GList *list;
+
+ list = recall->children;
+
+ while(list != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ g_warning("running on template\0");
+ }
+
+ ags_recall_run_init_pre(AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+}
+
+/**
+ * ags_recall_run_init_pre:
+ * @recall: an #AgsRecall
+ *
+ * Prepare for run, this is the pre stage within the preparation.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_run_init_pre(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[RUN_INIT_PRE], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_run_init_inter(AgsRecall *recall)
+{
+ GList *list;
+
+ list = recall->children;
+
+ while(list != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ g_warning("running on template\0");
+ }
+
+ ags_recall_run_init_inter(AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+}
+
+/**
+ * ags_recall_run_init_inter:
+ * @recall: an #AgsRecall
+ *
+ * Prepare for run, this is the inter stage within the preparation.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_run_init_inter(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[RUN_INIT_INTER], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_run_init_post(AgsRecall *recall)
+{
+ GList *list;
+
+ list = recall->children;
+
+ while(list != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ g_warning("running on template\0");
+ }
+
+ ags_recall_run_init_post(AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ recall->flags |= (AGS_RECALL_INITIAL_RUN |
+ AGS_RECALL_RUN_INITIALIZED);
+}
+
+/**
+ * ags_recall_run_init_post:
+ * @recall: an #AgsRecall
+ *
+ * Prepare for run, this is the post stage within the preparation.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_run_init_post(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[RUN_INIT_POST], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_run_pre(AgsRecall *recall)
+{
+ GList *list, *list_next;
+
+ list = recall->children;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ g_warning("running on template\0");
+ list = list->next;
+ continue;
+ }
+
+ ags_recall_run_pre(AGS_RECALL(list->data));
+
+ list = list_next;
+ }
+}
+
+/**
+ * ags_recall_run_pre:
+ * @recall: an #AgsRecall
+ *
+ * This is the pre stage within a run.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_run_pre(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[RUN_PRE], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_run_inter(AgsRecall *recall)
+{
+ GList *list, *list_next;
+
+ list = recall->children;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ g_warning("running on template\0");
+ list = list->next;
+ continue;
+ }
+
+ ags_recall_run_inter(AGS_RECALL(list->data));
+
+ list = list_next;
+ }
+}
+
+/**
+ * ags_recall_run_inter:
+ * @recall: an #AgsRecall
+ *
+ * This is the inter stage within a run.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_run_inter(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[RUN_INTER], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_run_post(AgsRecall *recall)
+{
+ GList *list, *list_next;
+
+ list = recall->children;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ g_warning("running on template\0");
+ list = list->next;
+ continue;
+ }
+
+ ags_recall_run_post(AGS_RECALL(list->data));
+
+ list = list_next;
+ }
+
+ if((AGS_RECALL_INITIAL_RUN & (recall->flags)) != 0){
+ recall->flags &= (~AGS_RECALL_INITIAL_RUN);
+ }
+}
+
+/**
+ * ags_recall_run_post:
+ * @recall: an #AgsRecall
+ *
+ * This is the post stage within a run.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_run_post(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[RUN_POST], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_stop_persistent(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[STOP_PERSISTENT], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+/**
+ * ags_recall_stop_persistent:
+ * @recall: an #AgsRecall
+ *
+ * Unsets the %AGS_RECALL_PERSISTENT flag set and invokes ags_recall_done().
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_stop_persistent(AgsRecall *recall)
+{
+ recall->flags &= (~(AGS_RECALL_PERSISTENT |
+ AGS_RECALL_PERSISTENT_PLAYBACK |
+ AGS_RECALL_PERSISTENT_SEQUENCER |
+ AGS_RECALL_PERSISTENT_NOTATION));
+
+ ags_recall_done(recall);
+}
+
+void
+ags_recall_real_done(AgsRecall *recall)
+{
+ recall->flags |= AGS_RECALL_DONE;
+
+ ags_recall_remove(recall);
+}
+
+/**
+ * ags_recall_done:
+ * @recall: an #AgsRecall
+ *
+ * The #AgsRecall doesn't want to run anymore, it has been done its
+ * work.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_done(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ if((AGS_RECALL_PERSISTENT & (recall->flags)) != 0 ||
+ (AGS_RECALL_TEMPLATE & (recall->flags)) != 0 ||
+ ((AGS_RECALL_PERSISTENT_PLAYBACK & (recall->flags)) != 0 && (AGS_RECALL_PLAYBACK & (recall->flags)) != 0) ||
+ ((AGS_RECALL_PERSISTENT_SEQUENCER & (recall->flags)) != 0 && (AGS_RECALL_SEQUENCER & (recall->flags)) != 0) ||
+ ((AGS_RECALL_PERSISTENT_NOTATION & (recall->flags)) != 0 && (AGS_RECALL_NOTATION & (recall->flags)) != 0)){
+ return;
+ }
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[DONE], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_cancel(AgsRecall *recall)
+{
+ GList *list;
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) != 0){
+ return;
+ }
+
+ /* call cancel for children */
+ list = recall->children;
+
+ while(list != NULL){
+ ags_recall_cancel(AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ if((AGS_RECALL_PERSISTENT & (recall->flags)) != 0 ||
+ (AGS_RECALL_PERSISTENT_PLAYBACK & (recall->flags)) != 0){
+ ags_recall_stop_persistent(recall);
+ }else{
+ ags_recall_done(recall);
+ }
+}
+
+/**
+ * ags_recall_cancel:
+ * @recall: an #AgsRecall
+ *
+ * The #AgsRecall doesn't want to run anymore, it aborts further execution.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_cancel(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[CANCEL], 0);
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_real_remove(AgsRecall *recall)
+{
+ AgsRecall *parent;
+
+ if(recall == NULL){
+ return;
+ }
+
+ g_object_ref(recall);
+
+ if(recall->parent == NULL){
+ parent = NULL;
+ g_object_unref(recall);
+ return;
+ }else{
+ parent = AGS_RECALL(recall->parent);
+
+ parent->children = g_list_remove(parent->children, recall);
+ }
+
+ if(parent != NULL &&
+ (AGS_RECALL_PROPAGATE_DONE & (parent->flags)) != 0 &&
+ (AGS_RECALL_PERSISTENT & (parent->flags)) == 0 &&
+ parent->children == NULL){
+ ags_recall_done(parent);
+ }
+}
+
+/**
+ * ags_recall_remove:
+ * @recall: an #AgsRecall
+ *
+ * The #AgsRecall will be removed immediately.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_remove(AgsRecall *recall)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[REMOVE], 0);
+ g_object_unref(G_OBJECT(recall));
+ g_object_unref(recall);
+}
+
+/**
+ * ags_recall_is_done:
+ * @recall: an #AgsRecall
+ * @recycling_container: an #AgsRecyclingContainer
+ *
+ * Check if recall is over.
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_recall_is_done(GList *recalls, GObject *recycling_container)
+{
+ AgsRecall *recall;
+
+ if(recalls == NULL ||
+ !AGS_IS_RECYCLING_CONTAINER(recycling_container)){
+ return(FALSE);
+ }
+
+ while(recalls != NULL){
+ recall = AGS_RECALL(recalls->data);
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) == 0 &&
+ !AGS_IS_RECALL_AUDIO(recall) &&
+ !AGS_IS_RECALL_CHANNEL(recall) &&
+ recall->recall_id != NULL &&
+ recall->recall_id->recycling_container == recycling_container){
+ if((AGS_RECALL_DONE & (recall->flags)) == 0){
+ recall->flags &= (~AGS_RECALL_RUN_INITIALIZED);
+ g_message("done: %s\0", G_OBJECT_TYPE_NAME(recall));
+ return(FALSE);
+ }
+ }
+
+ recalls = recalls->next;
+ }
+
+ return(TRUE);
+}
+
+AgsRecall*
+ags_recall_real_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecall *copy;
+ AgsRecallClass *recall_class, *copy_class;
+ AgsRecallContainer *recall_container;
+ AgsRecallHandler *recall_handler, *recall_handler_copy;
+ GList *list, *child;
+
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ "devout\0", recall->devout,
+ "recall_id\0", recall_id,
+ "recall_container\0", recall->container,
+ NULL);
+
+ copy = g_object_newv(G_OBJECT_TYPE(recall), *n_params, parameter);
+
+ ags_recall_set_flags(copy,
+ (recall->flags & (~ (AGS_RECALL_TEMPLATE |
+ AGS_RECALL_RUN_INITIALIZED |
+ AGS_RECALL_CONNECTED |
+ AGS_RECALL_DYNAMIC_CONNECTED))));
+
+ copy->child_type = recall->child_type;
+
+ /* duplicate handlers */
+ list = recall->handlers;
+
+ while(list != NULL){
+ recall_handler = AGS_RECALL_HANDLER(list->data);
+
+ recall_handler_copy = ags_recall_handler_alloc(recall_handler->signal_name,
+ recall_handler->callback,
+ recall_handler->data);
+ ags_recall_add_handler(copy, recall_handler_copy);
+
+ list = list->next;
+ }
+
+ return(copy);
+}
+
+/**
+ * ags_recall_duplicate:
+ * @recall: an #AgsRecall
+ * @recall_id: an #AgsRecallID
+ * @n_params: the count of #parameter entries
+ * @parameter: the properties to be passed for instantiating the #AgsRecall
+ *
+ * Should duplicate an #AgsRecall, so it can pass the runs. Mainly used for
+ * creating duplicates from templates, see %AGS_RECALL_TEMPLATE.
+ *
+ * Since: 0.4
+ */
+AgsRecall*
+ags_recall_duplicate(AgsRecall *recall, AgsRecallID *recall_id) /*, guint n_params, GParameter *parameter */
+{
+ AgsRecall *copy;
+ GParameter *params;
+ guint n_params;
+
+ g_return_val_if_fail(AGS_IS_RECALL(recall), NULL);
+
+ params = NULL;
+ n_params = 0;
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[DUPLICATE], 0,
+ recall_id, &n_params, params,
+ ©);
+ g_object_unref(G_OBJECT(recall));
+
+ return(copy);
+}
+
+/**
+ * ags_recall_set_recall_id:
+ * @recall: an #AgsRecall
+ * @recall_id: the #AgsRecallID to set
+ *
+ * Sets the recall id recursively.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_set_recall_id(AgsRecall *recall, AgsRecallID *recall_id)
+{
+ GList *list;
+
+ list = recall->children;
+
+ while(list != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ g_warning("running on template\0");
+ }
+
+ ags_recall_set_recall_id(AGS_RECALL(list->data), recall_id);
+
+ list = list->next;
+ }
+
+ recall->recall_id = recall_id;
+}
+
+/**
+ * ags_recall_notify_dependency:
+ * @recall: an #AgsRecall
+ * @flags: see AgsRecallNotifyDependencyMode
+ * @count: how many dependencies
+ *
+ * Notifies a recall that an other depends on it.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_notify_dependency(AgsRecall *recall, guint flags, gint count)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall));
+
+ g_object_ref(G_OBJECT(recall));
+ g_signal_emit(G_OBJECT(recall),
+ recall_signals[NOTIFY_DEPENDENCY], 0,
+ flags, count);
+ g_object_unref(G_OBJECT(recall));
+}
+
+/**
+ * ags_recall_add_dependency:
+ * @recall: an #AgsRecall
+ * @recall_dependency: an #AgsRecallDependency
+ *
+ * Associate a new dependency for this recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_add_dependency(AgsRecall *recall, AgsRecallDependency *recall_dependency)
+{
+ if(recall == NULL ||
+ recall_dependency == NULL)
+ return;
+
+ g_object_ref(recall_dependency);
+
+ recall->dependencies = g_list_prepend(recall->dependencies, recall_dependency);
+
+ ags_connectable_connect(AGS_CONNECTABLE(recall_dependency));
+}
+
+/**
+ * ags_recall_remove_dependency:
+ * @recall: an #AgsRecall
+ * @dependency: an #AgsRecall
+ *
+ * Remove a prior associated dependency.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_remove_dependency(AgsRecall *recall, AgsRecall *dependency)
+{
+ AgsRecallDependency *recall_dependency;
+ GList *dependencies;
+
+ if(recall == NULL ||
+ dependency == NULL)
+ return;
+
+ dependencies = ags_recall_dependency_find_dependency(recall->dependencies, (GObject *) dependency);
+
+ if(dependencies == NULL)
+ return;
+
+ recall_dependency = AGS_RECALL_DEPENDENCY(dependencies->data);
+ recall->dependencies = g_list_delete_link(recall->dependencies, dependencies);
+ g_object_unref(G_OBJECT(recall_dependency));
+}
+
+/**
+ * ags_recall_get_dependencies:
+ * @recall: an #AgsRecall
+ *
+ * Retrieve dependencies.
+ *
+ * Returns: a #GList with all dependencies.
+ *
+ * Since: 0.4
+ */
+//FIXME:JK: duplicate the list
+GList*
+ags_recall_get_dependencies(AgsRecall *recall)
+{
+ return(recall->dependencies);
+}
+
+/**
+ * ags_recall_remove_child:
+ * @parent: an #AgsRecall
+ * @child: an #AgsRecall
+ *
+ * An #AgsRecall may have children.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_remove_child(AgsRecall *recall, AgsRecall *child)
+{
+ recall->children = g_list_remove(recall->children,
+ child);
+
+ g_object_unref(recall);
+ g_object_unref(child);
+}
+
+/**
+ * ags_recall_add_child:
+ * @parent: an #AgsRecall
+ * @child: an #AgsRecall
+ *
+ * An #AgsRecall may have children.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_add_child(AgsRecall *parent, AgsRecall *child)
+{
+ guint inheritated_flags_mask;
+
+ if(child == NULL ||
+ child->parent == parent)
+ return;
+
+ inheritated_flags_mask = (AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION |
+ AGS_RECALL_PROPAGATE_DONE |
+ AGS_RECALL_INITIAL_RUN);
+
+ if(!AGS_IS_RECALL_AUDIO_SIGNAL(child)){
+ inheritated_flags_mask |= (AGS_RECALL_PERSISTENT |
+ AGS_RECALL_PERSISTENT_PLAYBACK |
+ AGS_RECALL_PERSISTENT_SEQUENCER |
+ AGS_RECALL_PERSISTENT_NOTATION);
+ }
+
+ /* unref old */
+ if(child->parent != NULL){
+ child->flags &= (~inheritated_flags_mask);
+
+ child->parent->children = g_list_remove(child->parent->children, child);
+ g_object_unref(child->parent);
+ g_object_unref(child);
+ g_object_set(G_OBJECT(child),
+ "recall_id\0", NULL,
+ NULL);
+ }
+
+ /* ref new */
+ if(parent != NULL){
+ g_object_ref(parent);
+ g_object_ref(child);
+
+ child->flags |= (inheritated_flags_mask & (parent->flags));
+
+ parent->children = g_list_prepend(parent->children, child);
+
+ g_object_set(G_OBJECT(child),
+ "devout\0", parent->devout,
+ "recall_id\0", parent->recall_id,
+ NULL);
+ g_signal_connect(G_OBJECT(child), "done\0",
+ G_CALLBACK(ags_recall_child_done), parent);
+ }
+
+ child->parent = parent;
+
+ if(parent != NULL){
+ ags_recall_child_added(parent,
+ child);
+ }
+
+ ags_connectable_connect(AGS_CONNECTABLE(child));
+
+ if(parent != NULL &&
+ (AGS_RECALL_DYNAMIC_CONNECTED & (parent->flags)) != 0 &&
+ (AGS_RECALL_DYNAMIC_CONNECTED & (child->flags)) == 0){
+ ags_dynamic_connectable_connect_dynamic(AGS_DYNAMIC_CONNECTABLE(child));
+
+ ags_recall_run_init_pre(AGS_RECALL(child));
+ ags_recall_run_init_inter(AGS_RECALL(child));
+ ags_recall_run_init_post(AGS_RECALL(child));
+ }
+}
+
+/**
+ * ags_recall_get_children:
+ * @recall: an #AgsRecall
+ *
+ * Retrieve children.
+ *
+ * Returns: a GList with all children.
+ *
+ * Since: 0.4
+ */
+//FIXME:JK: duplicate the list
+GList*
+ags_recall_get_children(AgsRecall *recall)
+{
+ return(recall->children);
+}
+
+/**
+ * ags_recall_find_by_effect:
+ * @list: a #GList with recalls
+ * @recall_id: an #AgsRecallId
+ * @effect: the effect name
+ *
+ * Finds next matching effect name. Intended to be used as
+ * iteration function.
+ *
+ * Returns: a GList, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_find_by_effect(GList *list, AgsRecallID *recall_id, char *effect)
+{
+ AgsRecall *recall;
+
+ while(list != NULL){
+ recall = AGS_RECALL(list->data);
+
+ if(((recall_id != NULL &&
+ recall->recall_id != NULL &&
+ recall_id->recycling_container == recall->recall_id->recycling_container) ||
+ (recall_id == NULL &&
+ recall->recall_id == NULL)) &&
+ !g_strcmp0(G_OBJECT_TYPE_NAME(G_OBJECT(recall)), effect))
+ return(list);
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_find_type:
+ * @recall_i: a #GList containing recalls
+ * @type: a #GType
+ *
+ * Finds next matching recall for type. Intended to be used as
+ * iteration function.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_find_type(GList *recall_i, GType type)
+{
+ AgsRecall *recall;
+
+ while(recall_i != NULL){
+ recall = AGS_RECALL(recall_i->data);
+
+ if(G_OBJECT_TYPE(recall) == type)
+ break;
+
+ recall_i = recall_i->next;
+ }
+
+ return(recall_i);
+}
+
+/**
+ * ags_recall_find_template:
+ * @recall_i a #GList containing recalls
+ *
+ * Finds next template, see #AGS_RECALL_TEMPLATE flag. Intended to be used as
+ * iteration function.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_find_template(GList *recall_i)
+{
+ AgsRecall *recall;
+
+ while(recall_i != NULL){
+ recall = AGS_RECALL(recall_i->data);
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) != 0)
+ return(recall_i);
+
+ recall_i = recall_i->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_template_find_type:
+ * @recall_i: a #GList containing recalls
+ * @type: a #GType
+ *
+ * Finds next matching recall for type which is a template, see #AGS_RECALL_TEMPLATE flag.
+ * Intended to be used as iteration function.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_template_find_type(GList *recall_i, GType type)
+{
+ AgsRecall *recall;
+
+ while(recall_i != NULL){
+ recall = AGS_RECALL(recall_i->data);
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) != 0 &&
+ G_TYPE_CHECK_INSTANCE_TYPE((recall), type)){
+ break;
+ }
+
+ recall_i = recall_i->next;
+ }
+
+ return(recall_i);
+}
+
+/**
+ * ags_recall_find_type_with_recycling_container:
+ * @recall_i: a #GList containing recalls
+ * @type: a #GType
+ * @recycling_container: an #AgsRecyclingContainer
+ *
+ * Finds next matching recall for type which has @recycling_container, see #AgsRecallId for further
+ * details about #AgsRecyclingContainer. Intended to be used as iteration function.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_find_type_with_recycling_container(GList *recall_i, GType type, GObject *recycling_container)
+{
+ AgsRecall *recall;
+
+ while(recall_i != NULL){
+ recall = AGS_RECALL(recall_i->data);
+
+ if(g_type_is_a(G_OBJECT_TYPE(recall), type) &&
+ recall->recall_id != NULL &&
+ recall->recall_id->recycling_container == recycling_container)
+ return(recall_i);
+
+ recall_i = recall_i->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_find_recycling_container:
+ * @recall_i: a #GList containing recalls
+ * @recycling_container: an #AgsRecyclingContainer
+ *
+ * Finds next matching recall which has @recycling_container, see #AgsRecallId for further
+ * details about #AgsRecyclingContainer. Intended to be used as iteration function.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_find_recycling_container(GList *recall_i, GObject *recycling_container)
+{
+ AgsRecall *recall;
+
+#ifdef AGS_DEBUG
+ g_message("ags_recall_find_recycling_container: recycling_container = %llx\n\0", recycling_container);
+#endif
+
+ while(recall_i != NULL){
+ recall = AGS_RECALL(recall_i->data);
+
+ if(recall->recall_id != NULL)
+#ifdef AGS_DEBUG
+ g_message("ags_recall_find_recycling_container: recall_id->recycling_contianer = %llx\n\0", (long long unsigned int) recall->recall_id->recycling_container);
+#endif
+
+ if(recall->recall_id != NULL &&
+ recall->recall_id->recycling_container == recycling_container){
+ return(recall_i);
+ }
+
+ recall_i = recall_i->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_find_provider:
+ * @recall_i: a #GList containing recalls
+ * @provider: a #GObject
+ *
+ * Finds next matching recall for type which has @provider. The @provider may be either an #AgsChannel
+ * or an #AgsAudio object. This function tries to find the corresponding #AgsRecallChannel and #AgsRecallAudio
+ * objects of a #AgsRecall to find. If these recalls contains the @provider, the function will return.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_find_provider(GList *recall_i, GObject *provider)
+{
+ AgsRecall *recall;
+
+ while(recall_i != NULL){
+ recall = AGS_RECALL(recall_i->data);
+
+ if(AGS_IS_AUDIO(provider)){
+ if(AGS_IS_RECALL_AUDIO(recall)){
+ if(((GObject *) AGS_RECALL_AUDIO(recall)->audio) == provider)
+ return(recall_i);
+ }else if(AGS_IS_RECALL_AUDIO_RUN(recall)){
+ AgsRecallAudio *recall_audio;
+
+ recall_audio = AGS_RECALL_AUDIO_RUN(recall)->recall_audio;
+
+ if(recall_audio != NULL &&
+ ((GObject *) recall_audio->audio) == provider){
+ return(recall_i);
+ }
+ }
+ }else if(AGS_IS_CHANNEL(provider)){
+ if(AGS_IS_RECALL_CHANNEL(recall)){
+ if(((GObject *) AGS_RECALL_CHANNEL(recall)->source) == provider)
+ return(recall_i);
+ }else if(AGS_IS_RECALL_CHANNEL_RUN(recall)){
+ if(((GObject *) AGS_RECALL_CHANNEL_RUN(recall)->source) == provider){
+ return(recall_i);
+ }
+ }
+ }else if(AGS_IS_RECYCLING(provider)){
+ if(AGS_IS_RECALL_RECYCLING(recall)){
+ if(((GObject *) AGS_RECALL_RECYCLING(recall)->source) == provider){
+ return(recall_i);
+ }
+ }
+ }else if(AGS_IS_AUDIO_SIGNAL(provider)){
+ if(AGS_IS_RECALL_AUDIO_SIGNAL(recall)){
+ if(((GObject *) AGS_RECALL_AUDIO_SIGNAL(recall)->source) == provider){
+ return(recall_i);
+ }
+ }
+ }
+
+ recall_i = recall_i->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_find_provider:
+ * @recall: a #GList containing recalls
+ * @provider: a #GObject
+ *
+ * Finds provider eg. #AgsAudio or #AgsChannel within #GList containig #AgsRecall.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_template_find_provider(GList *recall, GObject *provider)
+{
+ GList *list;
+
+ list = recall;
+
+ while((list = (ags_recall_find_provider(list, provider))) != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) != 0){
+ return(list);
+ }
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_find_provider_with_recycling_container:
+ * @recall_i: a #GList containing recalls
+ * @provider: a #GObject
+ * @recycling_container: an #AgsRecyclingContainer
+ *
+ * Like ags_recall_template_find_provider() but given additionally @recycling_container as search parameter.
+ *
+ * Returns: a #GList containing recalls, or %NULL if not found
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_find_provider_with_recycling_container(GList *recall_i, GObject *provider, GObject *recycling_container)
+{
+ AgsRecall *recall;
+
+ while((recall_i = ags_recall_find_provider(recall_i, provider)) != NULL){
+ recall = AGS_RECALL(recall_i->data);
+
+ if(recall->recall_id != NULL &&
+ recall->recall_id->recycling_container == recycling_container){
+ return(recall_i);
+ }
+
+ recall_i = recall_i->next;
+ }
+
+ return(NULL);
+}
+
+void
+ags_recall_run_init(AgsRecall *recall, guint stage)
+{
+ if(stage == 0){
+ ags_recall_run_init_pre(recall);
+ }else if(stage == 1){
+ ags_recall_run_init_inter(recall);
+ }else{
+ ags_recall_run_init_post(recall);
+ }
+}
+
+/**
+ * ags_recall_handler_alloc:
+ * @signal_name: signal's name to connect
+ * @callback: the #GCallback function
+ * @data: the data to pass the callback
+ *
+ * Allocates #AgsRecallHandler-struct.
+ *
+ * Since: 0.4
+ */
+AgsRecallHandler*
+ags_recall_handler_alloc(const gchar *signal_name,
+ GCallback callback,
+ GObject *data)
+{
+ AgsRecallHandler *recall_handler;
+
+ recall_handler = (AgsRecallHandler *) malloc(sizeof(AgsRecallHandler));
+
+ recall_handler->signal_name = signal_name;
+ recall_handler->callback = callback;
+ recall_handler->data = data;
+
+ return(recall_handler);
+}
+
+/**
+ * ags_recall_add_handler:
+ * @recall: the #AgsRecall to connect
+ * @recall_handler: the signal specs
+ *
+ * Connect callback to @recall specified by @recall_handler.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_add_handler(AgsRecall *recall,
+ AgsRecallHandler *recall_handler)
+{
+ recall->handlers = g_list_prepend(recall->handlers,
+ recall_handler);
+}
+
+/**
+ * ags_recall_remove_handler:
+ * @recall: the #AgsRecall to connect
+ * @recall_handler: the signal specs
+ *
+ * Remove a #AgsRecallHandler-struct from @recall.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_remove_handler(AgsRecall *recall,
+ AgsRecallHandler *recall_handler)
+{
+ recall->handlers = g_list_remove(recall->handlers,
+ recall_handler);
+}
+
+void
+ags_recall_child_done(AgsRecall *child,
+ AgsRecall *parent)
+{
+ ags_recall_remove_child(parent,
+ child);
+}
+
+/**
+ * ags_recall_new:
+ *
+ * Creates an #AgsRecall.
+ *
+ * Returns: a new #AgsRecall.
+ *
+ * Since: 0.3
+ */
+AgsRecall*
+ags_recall_new()
+{
+ AgsRecall *recall;
+
+ recall = (AgsRecall *) g_object_new(AGS_TYPE_RECALL, NULL);
+
+ return(recall);
+}
diff --git a/src/ags/audio/ags_recall.h b/src/ags/audio/ags_recall.h
new file mode 100644
index 0000000..d184dab
--- /dev/null
+++ b/src/ags/audio/ags_recall.h
@@ -0,0 +1,223 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_H__
+#define __AGS_RECALL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_dependency.h>
+
+#define AGS_TYPE_RECALL (ags_recall_get_type())
+#define AGS_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL, AgsRecall))
+#define AGS_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL, AgsRecallClass))
+#define AGS_IS_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL))
+#define AGS_IS_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL))
+#define AGS_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL, AgsRecallClass))
+
+#define AGS_RECALL_HANDLER(handler) ((AgsRecallHandler *)(handler))
+
+#define AGS_RECALL_DEFAULT_VERSION "0.4.2\0"
+#define AGS_RECALL_DEFAULT_BUILD_ID "CEST 02-10-2014 19:36\0"
+
+typedef struct _AgsRecall AgsRecall;
+typedef struct _AgsRecallClass AgsRecallClass;
+typedef struct _AgsRecallHandler AgsRecallHandler;
+
+typedef enum{
+ AGS_RECALL_CONNECTED = 1,
+ AGS_RECALL_RUN_INITIALIZED = 1 << 1, //TODO:JK: rename to AGS_RECALL_RUN_CONNECTED
+ AGS_RECALL_TEMPLATE = 1 << 2,
+ AGS_RECALL_PLAYBACK = 1 << 3,
+ AGS_RECALL_SEQUENCER = 1 << 4,
+ AGS_RECALL_NOTATION = 1 << 5,
+ AGS_RECALL_DEFAULT_TEMPLATE = 1 << 6,
+ //TODO:JK: remove because it's useless
+ AGS_RECALL_DYNAMIC_CONNECTED = 1 << 7,
+ AGS_RECALL_INPUT_ORIENTATED = 1 << 8,
+ AGS_RECALL_OUTPUT_ORIENTATED = 1 << 9,
+ AGS_RECALL_PERSISTENT = 1 << 10,
+ AGS_RECALL_INITIAL_RUN = 1 << 11,
+ AGS_RECALL_TERMINATING = 1 << 12,
+ AGS_RECALL_DONE = 1 << 13,
+ AGS_RECALL_REMOVE = 1 << 14,
+ AGS_RECALL_HIDE = 1 << 15,
+ AGS_RECALL_PROPAGATE_DONE = 1 << 16, // see ags_recall_real_remove
+ AGS_RECALL_PERSISTENT_PLAYBACK = 1 << 17,
+ AGS_RECALL_PERSISTENT_SEQUENCER = 1 << 18,
+ AGS_RECALL_PERSISTENT_NOTATION = 1 << 19,
+ AGS_RECALL_SKIP_DEPENDENCIES = 1 << 20,
+ AGS_RECALL_BULK_MODE = 1 << 21,
+}AgsRecallFlags;
+
+typedef enum{
+ AGS_RECALL_NOTIFY_RUN,
+ AGS_RECALL_NOTIFY_AUDIO,
+ AGS_RECALL_NOTIFY_AUDIO_RUN,
+ AGS_RECALL_NOTIFY_CHANNEL,
+ AGS_RECALL_NOTIFY_CHANNEL_RUN,
+ AGS_RECALL_NOTIFY_RECALL,
+}AgsRecallNotifyDependencyMode;
+
+struct _AgsRecall
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *devout;
+ GObject *container; // see AgsRecallContainer
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *effect;
+ gchar *name;
+
+ gchar *xml_type;
+
+ GList *dependencies;
+
+ AgsRecallID *recall_id;
+
+ AgsRecall *parent;
+ GList *children;
+
+ GType child_type;
+ GParameter *child_parameters;
+ guint n_params;
+
+ GList *port;
+
+ GList *handlers;
+};
+
+struct _AgsRecallClass
+{
+ GObjectClass object;
+
+ void (*resolve_dependencies)(AgsRecall *recall);
+
+ void (*run_init_pre)(AgsRecall *recall);
+ void (*run_init_inter)(AgsRecall *recall);
+ void (*run_init_post)(AgsRecall *recall);
+
+ void (*run_pre)(AgsRecall *recall);
+ void (*run_inter)(AgsRecall *recall);
+ void (*run_post)(AgsRecall *recall);
+
+ void (*stop_persistent)(AgsRecall *recall);
+ void (*done)(AgsRecall *recall);
+
+ void (*cancel)(AgsRecall *recall);
+ void (*remove)(AgsRecall *recall);
+
+ AgsRecall* (*duplicate)(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *params); // if a sequencer is linked with a sequencer the AgsRecall's with the flag AGS_RECALL_SOURCE must be duplicated
+
+ void (*notify_dependency)(AgsRecall *recall, guint dependency, gboolean increase);
+
+ void (*child_added)(AgsRecall *recall, AgsRecall *child);
+};
+
+/**
+ * AgsRecallHandler:
+ * @signal_name the signal to listen
+ * @callback the callback to use
+ * @data user data to pass
+ * @handler the handler id
+ *
+ * A #AgsRecallHandler-struct acts as a callback definition
+ */
+struct _AgsRecallHandler
+{
+ const gchar *signal_name;
+ GCallback callback;
+ GObject *data;
+ gulong handler;
+};
+
+GType ags_recall_get_type();
+
+void ags_recall_set_flags(AgsRecall *recall, guint flags);
+
+void ags_recall_resolve_dependencies(AgsRecall *reall);
+void ags_recall_child_added(AgsRecall *parent, AgsRecall *child);
+
+void ags_recall_run_init_pre(AgsRecall *recall);
+void ags_recall_run_init_inter(AgsRecall *recall);
+void ags_recall_run_init_post(AgsRecall *recall);
+
+void ags_recall_run_pre(AgsRecall *recall);
+void ags_recall_run_inter(AgsRecall *recall);
+void ags_recall_run_post(AgsRecall *recall);
+
+void ags_recall_stop_persistent(AgsRecall *recall);
+void ags_recall_done(AgsRecall *recall);
+
+void ags_recall_cancel(AgsRecall *recall);
+void ags_recall_remove(AgsRecall *recall);
+
+gboolean ags_recall_is_done(GList *recalls, GObject *recycling_container);
+
+AgsRecall* ags_recall_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id);
+
+void ags_recall_set_recall_id(AgsRecall *recall, AgsRecallID *recall_id);
+void ags_recall_set_devout_recursive(AgsRecall *recall, GObject *devout);
+
+void ags_recall_notify_dependency(AgsRecall *recall, guint dependency, gint count);
+
+void ags_recall_add_dependency(AgsRecall *recall, AgsRecallDependency *dependency);
+void ags_recall_remove_dependency(AgsRecall *recall, AgsRecall *template);
+GList* ags_recall_get_dependencies(AgsRecall *recall);
+
+void ags_recall_remove_child(AgsRecall *recall, AgsRecall *child);
+void ags_recall_add_child(AgsRecall *recall, AgsRecall *child);
+GList* ags_recall_get_children(AgsRecall *recall);
+
+void ags_recall_set_effect(AgsRecall *recall, char *effect);
+GList* ags_recall_find_by_effect(GList *list, AgsRecallID *recall_id, char *effect);
+
+GList* ags_recall_find_type(GList *recall, GType type);
+GList* ags_recall_find_template(GList *recall);
+GList* ags_recall_template_find_type(GList *recall, GType type);
+GList* ags_recall_find_type_with_recycling_container(GList *recall, GType type, GObject *recycling_container);
+GList* ags_recall_find_recycling_container(GList *recall, GObject *recycling_container);
+GList* ags_recall_find_provider(GList *recall, GObject *provider);
+GList* ags_recall_template_find_provider(GList *recall, GObject *provider);
+GList* ags_recall_find_provider_with_recycling_container(GList *recall, GObject *provider, GObject *recycling_container);
+
+void ags_recall_run_init(AgsRecall *recall, guint stage);
+
+AgsRecallHandler* ags_recall_handler_alloc(const gchar *signal_name,
+ GCallback callback,
+ GObject *data);
+
+void ags_recall_add_handler(AgsRecall *recall,
+ AgsRecallHandler *recall_handler);
+void ags_recall_remove_handler(AgsRecall *recall,
+ AgsRecallHandler *recall_handler);
+
+AgsRecall* ags_recall_new();
+
+#endif /*__AGS_RECALL_H__*/
diff --git a/src/ags/audio/ags_recall_audio.c b/src/ags/audio/ags_recall_audio.c
new file mode 100644
index 0000000..860133d
--- /dev/null
+++ b/src/ags/audio/ags_recall_audio.c
@@ -0,0 +1,376 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_packable.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+void ags_recall_audio_class_init(AgsRecallAudioClass *recall_audio);
+void ags_recall_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_audio_packable_interface_init(AgsPackableInterface *packable);
+void ags_recall_audio_init(AgsRecallAudio *recall_audio);
+void ags_recall_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_audio_connect(AgsConnectable *connectable);
+void ags_recall_audio_disconnect(AgsConnectable *connectable);
+gboolean ags_recall_audio_pack(AgsPackable *packable, GObject *container);
+gboolean ags_recall_audio_unpack(AgsPackable *packable);
+void ags_recall_audio_finalize(GObject *gobject);
+
+AgsRecall* ags_recall_audio_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_recall_audio
+ * @short_description: audio context of recall
+ * @title: AgsRecallAudio
+ * @section_id:
+ * @include: ags/audio/ags_recall_audio.h
+ *
+ * #AgsRecallAudio acts as audio recall.
+ */
+
+enum{
+ PROP_0,
+ PROP_AUDIO,
+};
+
+static gpointer ags_recall_audio_parent_class = NULL;
+static AgsConnectableInterface* ags_recall_audio_parent_connectable_interface;
+static AgsPackableInterface* ags_recall_audio_parent_packable_interface;
+
+GType
+ags_recall_audio_get_type()
+{
+ static GType ags_type_recall_audio = 0;
+
+ if(!ags_type_recall_audio){
+ static const GTypeInfo ags_recall_audio_info = {
+ sizeof (AgsRecallAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_packable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_audio_packable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_audio = g_type_register_static(AGS_TYPE_RECALL,
+ "AgsRecallAudio\0",
+ &ags_recall_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_audio,
+ AGS_TYPE_PACKABLE,
+ &ags_packable_interface_info);
+ }
+
+ return(ags_type_recall_audio);
+}
+
+void
+ags_recall_audio_class_init(AgsRecallAudioClass *recall_audio)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_audio_parent_class = g_type_class_peek_parent(recall_audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_audio;
+
+ gobject->finalize = ags_recall_audio_finalize;
+
+ gobject->set_property = ags_recall_audio_set_property;
+ gobject->get_property = ags_recall_audio_get_property;
+
+ /* properties */
+ /**
+ * AgsRecallAudio:audio:
+ *
+ * The assigned audio.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("audio\0",
+ "assigned audio\0",
+ "The audio object it is assigned to\0",
+ AGS_TYPE_AUDIO,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_audio;
+
+ recall->duplicate = ags_recall_audio_duplicate;
+}
+
+void
+ags_recall_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recall_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_audio_connect;
+ connectable->disconnect = ags_recall_audio_disconnect;
+}
+
+void
+ags_recall_audio_packable_interface_init(AgsPackableInterface *packable)
+{
+ ags_recall_audio_parent_packable_interface = g_type_interface_peek_parent(packable);
+
+ packable->pack = ags_recall_audio_pack;
+ packable->unpack = ags_recall_audio_unpack;
+}
+
+void
+ags_recall_audio_init(AgsRecallAudio *recall_audio)
+{
+ recall_audio->audio = NULL;
+}
+
+void
+ags_recall_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallAudio *recall_audio;
+
+ recall_audio = AGS_RECALL_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ {
+ AgsAudio *audio;
+
+ audio = (AgsAudio *) g_value_get_object(value);
+
+ if(recall_audio->audio == audio)
+ return;
+
+ if(recall_audio->audio != NULL)
+ g_object_unref(recall_audio->audio);
+
+ if(audio != NULL)
+ g_object_ref(audio);
+
+ recall_audio->audio = audio;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallAudio *recall_audio;
+
+ recall_audio = AGS_RECALL_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO:
+ g_value_set_object(value, recall_audio->audio);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_audio_connect(AgsConnectable *connectable)
+{
+ ags_recall_audio_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+gboolean
+ags_recall_audio_pack(AgsPackable *packable, GObject *container)
+{
+ AgsRecallContainer *recall_container;
+ GList *list;
+
+ if(ags_recall_audio_parent_packable_interface->pack(packable, container))
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(container);
+
+ g_object_set(G_OBJECT(recall_container),
+ "recall_audio\0", AGS_RECALL(packable),
+ NULL);
+
+ /* set in AgsRecallAudioRun */
+ list = recall_container->recall_audio_run;
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall_audio\0", AGS_RECALL_AUDIO(packable),
+ NULL);
+
+ list = list->next;
+ }
+
+ return(FALSE);
+}
+
+gboolean
+ags_recall_audio_unpack(AgsPackable *packable)
+{
+ AgsRecall *recall;
+ AgsRecallContainer *recall_container;
+ GList *list;
+
+ recall = AGS_RECALL(packable);
+
+ if(recall == NULL)
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(recall->container);
+
+ if(recall_container == NULL)
+ return(TRUE);
+
+ /* ref */
+ g_object_ref(recall);
+ g_object_ref(recall_container);
+
+ /* unset in AgsRecallAudioRun */
+ list = recall_container->recall_audio_run;
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall_audio\0", NULL,
+ NULL);
+
+ list = list->next;
+ }
+
+ /* call parent */
+ if(ags_recall_audio_parent_packable_interface->unpack(packable)){
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(TRUE);
+ }
+
+ recall_container->recall_audio = NULL;
+
+ /* unref */
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(FALSE);
+}
+
+void
+ags_recall_audio_finalize(GObject *gobject)
+{
+ AgsRecallAudio *recall_audio;
+
+ recall_audio = AGS_RECALL_AUDIO(gobject);
+
+ if(recall_audio->audio != NULL)
+ g_object_unref(G_OBJECT(recall_audio->audio));
+
+ G_OBJECT_CLASS(ags_recall_audio_parent_class)->finalize(gobject);
+}
+
+AgsRecall*
+ags_recall_audio_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecallAudio *recall_audio, *copy;
+
+ recall_audio = AGS_RECALL_AUDIO(recall);
+ copy = AGS_RECALL_AUDIO(AGS_RECALL_CLASS(ags_recall_audio_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ g_message("ags warning - ags_recall_audio_duplicate: you shouldn't do this %s\n\0", G_OBJECT_TYPE_NAME(recall));
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_recall_audio_new:
+ *
+ * Creates an #AgsRecallAudio.
+ *
+ * Returns: a new #AgsRecallAudio.
+ *
+ * Since: 0.4
+ */
+AgsRecallAudio*
+ags_recall_audio_new(AgsAudio *audio)
+{
+ AgsRecallAudio *recall_audio;
+
+ recall_audio = (AgsRecallAudio *) g_object_new(AGS_TYPE_RECALL_AUDIO,
+ "audio\0", audio,
+ NULL);
+
+ return(recall_audio);
+}
diff --git a/src/ags/audio/ags_recall_audio.h b/src/ags/audio/ags_recall_audio.h
new file mode 100644
index 0000000..3b1ebbf
--- /dev/null
+++ b/src/ags/audio/ags_recall_audio.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_AUDIO_H__
+#define __AGS_RECALL_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_RECALL_AUDIO (ags_recall_audio_get_type())
+#define AGS_RECALL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_AUDIO, AgsRecallAudio))
+#define AGS_RECALL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_AUDIO, AgsRecallAudioClass))
+#define AGS_IS_RECALL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_AUDIO))
+#define AGS_IS_RECALL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_AUDIO))
+#define AGS_RECALL_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_AUDIO, AgsRecallAudioClass))
+
+typedef struct _AgsRecallAudio AgsRecallAudio;
+typedef struct _AgsRecallAudioClass AgsRecallAudioClass;
+
+struct _AgsRecallAudio
+{
+ AgsRecall recall;
+
+ AgsAudio *audio;
+};
+
+struct _AgsRecallAudioClass
+{
+ AgsRecallClass recall;
+};
+
+GType ags_recall_audio_get_type();
+
+AgsRecallAudio* ags_recall_audio_new(AgsAudio *audio);
+
+#endif /*__AGS_RECALL_AUDIO_H__*/
diff --git a/src/ags/audio/ags_recall_audio_run.c b/src/ags/audio/ags_recall_audio_run.c
new file mode 100644
index 0000000..40b860d
--- /dev/null
+++ b/src/ags/audio/ags_recall_audio_run.c
@@ -0,0 +1,477 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_audio_run.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_packable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+
+void ags_recall_audio_run_class_init(AgsRecallAudioRunClass *recall_audio_run);
+void ags_recall_audio_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_audio_run_packable_interface_init(AgsPackableInterface *packable);
+void ags_recall_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_recall_audio_run_init(AgsRecallAudioRun *recall_audio_run);
+void ags_recall_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_audio_run_connect(AgsConnectable *connectable);
+void ags_recall_audio_run_disconnect(AgsConnectable *connectable);
+gboolean ags_recall_audio_run_pack(AgsPackable *packable, GObject *container);
+gboolean ags_recall_audio_run_unpack(AgsPackable *packable);
+void ags_recall_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_audio_run_finalize(GObject *gobject);
+
+AgsRecall* ags_recall_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+/**
+ * SECTION:ags_recall_audio_run
+ * @Short_description: audio context of dynamic recall
+ * @Title: AgsRecallAudioRun
+ *
+ * #AgsRecallAudioRun acts as dynamic audio recall.
+ */
+
+enum{
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_RECALL_AUDIO,
+};
+
+static gpointer ags_recall_audio_run_parent_class = NULL;
+static AgsConnectableInterface* ags_recall_audio_run_parent_connectable_interface;
+static AgsPackableInterface* ags_recall_audio_run_parent_packable_interface;
+static AgsDynamicConnectableInterface *ags_recall_audio_run_parent_dynamic_connectable_interface;
+static guint recall_audio_run_signals[LAST_SIGNAL];
+
+GType
+ags_recall_audio_run_get_type()
+{
+ static GType ags_type_recall_audio_run = 0;
+
+ if(!ags_type_recall_audio_run){
+ static const GTypeInfo ags_recall_audio_run_info = {
+ sizeof (AgsRecallAudioRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_audio_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallAudioRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_audio_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_audio_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_packable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_audio_run_packable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_audio_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_audio_run = g_type_register_static(AGS_TYPE_RECALL,
+ "AgsRecallAudioRun\0",
+ &ags_recall_audio_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_audio_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_audio_run,
+ AGS_TYPE_PACKABLE,
+ &ags_packable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_audio_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_recall_audio_run);
+}
+
+void
+ags_recall_audio_run_class_init(AgsRecallAudioRunClass *recall_audio_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_audio_run_parent_class = g_type_class_peek_parent(recall_audio_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_audio_run;
+
+ gobject->set_property = ags_recall_audio_run_set_property;
+ gobject->get_property = ags_recall_audio_run_get_property;
+
+ gobject->finalize = ags_recall_audio_run_finalize;
+
+ /* properties */
+ /**
+ * AgsRecallAudioRun:recall-audio:
+ *
+ * The recall audio belonging to.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall-audio\0",
+ "AgsRecallAudio of this recall\0",
+ "The AgsRecallAudio which this recall needs\0",
+ AGS_TYPE_RECALL_AUDIO,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_AUDIO,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_audio_run;
+
+ recall->duplicate = ags_recall_audio_run_duplicate;
+
+ /* AgsRecallAudioRunClass */
+}
+
+void
+ags_recall_audio_runconnectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recall_audio_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_audio_run_connect;
+ connectable->disconnect = ags_recall_audio_run_disconnect;
+}
+
+void
+ags_recall_audio_run_packable_interface_init(AgsPackableInterface *packable)
+{
+ ags_recall_audio_run_parent_packable_interface = g_type_interface_peek_parent(packable);
+
+ packable->pack = ags_recall_audio_run_pack;
+ packable->unpack = ags_recall_audio_run_unpack;
+}
+
+void
+ags_recall_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_recall_audio_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_recall_audio_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_recall_audio_run_disconnect_dynamic;
+}
+
+void
+ags_recall_audio_run_init(AgsRecallAudioRun *recall_audio_run)
+{
+ recall_audio_run->recall_audio = NULL;
+}
+
+
+void
+ags_recall_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallAudioRun *recall_audio_run;
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_RECALL_AUDIO:
+ {
+ AgsRecallAudio *recall_audio;
+
+ recall_audio = (AgsRecallAudio *) g_value_get_object(value);
+
+ if(recall_audio_run->recall_audio == recall_audio)
+ return;
+
+ if(recall_audio_run->recall_audio != NULL){
+ g_object_unref(G_OBJECT(recall_audio_run->recall_audio));
+ }
+
+ if(recall_audio != NULL){
+ g_object_ref(G_OBJECT(recall_audio));
+ }
+
+ recall_audio_run->recall_audio = recall_audio;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_recall_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallAudioRun *recall_audio_run;
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_RECALL_AUDIO:
+ {
+ g_value_set_object(value, recall_audio_run->recall_audio);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_recall_audio_run_finalize(GObject *gobject)
+{
+ AgsRecallAudioRun *recall_audio_run;
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(gobject);
+
+ if(recall_audio_run->recall_audio != NULL)
+ g_object_unref(G_OBJECT(recall_audio_run->recall_audio));
+
+ G_OBJECT_CLASS(ags_recall_audio_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_audio_run_connect(AgsConnectable *connectable)
+{
+ ags_recall_audio_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_audio_run_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_audio_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_recall_audio_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_recall_audio_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+gboolean
+ags_recall_audio_run_pack(AgsPackable *packable, GObject *container)
+{
+ AgsRecallAudioRun *recall_audio_run;
+ AgsRecallContainer *recall_container;
+ GList *list;
+ AgsRecallID *recall_id;
+
+ if(ags_recall_audio_run_parent_packable_interface->pack(packable, container))
+ return(TRUE);
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(packable);
+ recall_container = AGS_RECALL_CONTAINER(container);
+
+ /* set AgsRecallAudio */
+ g_object_set(G_OBJECT(recall_audio_run),
+ "recall-audio\0", recall_container->recall_audio,
+ NULL);
+
+ /* set in AgsRecallChannelRun */
+ list = recall_container->recall_channel_run;
+
+ if(AGS_RECALL(packable)->recall_id != NULL){
+ recall_id = AGS_RECALL(packable)->recall_id;
+
+ while((list = ags_recall_find_recycling_container(list, recall_id->recycling_container)) != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall-audio-run\0", AGS_RECALL_AUDIO_RUN(packable),
+ NULL);
+
+ list= list->next;
+ }
+ }else if((AGS_RECALL_TEMPLATE & (AGS_RECALL(packable)->flags)) != 0){
+ while((list = ags_recall_find_template(list)) != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall-audio-run\0", AGS_RECALL_AUDIO_RUN(packable),
+ NULL);
+
+ list= list->next;
+ }
+ }
+
+ g_object_set(G_OBJECT(recall_container),
+ "recall-audio-run\0", AGS_RECALL(packable),
+ NULL);
+
+ return(FALSE);
+}
+
+gboolean
+ags_recall_audio_run_unpack(AgsPackable *packable)
+{
+ AgsRecallAudioRun *recall_audio_run;
+ AgsRecall *recall;
+ AgsRecallContainer *recall_container;
+ GList *list;
+ AgsRecallID *recall_id;
+
+ recall = AGS_RECALL(packable);
+
+ if(recall == NULL)
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(recall->container);
+
+ if(recall_container == NULL)
+ return(TRUE);
+
+ /* ref */
+ g_object_ref(recall);
+ g_object_ref(recall_container);
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(packable);
+
+ /* unset AgsRecallAudio */
+ g_object_set(G_OBJECT(recall_audio_run),
+ "recall_audio\0", NULL,
+ NULL);
+
+ /* unset in AgsRecallChannelRun */
+ list = recall_container->recall_channel_run;
+
+ if(AGS_RECALL(packable)->recall_id != NULL){
+ recall_id = AGS_RECALL(packable)->recall_id;
+
+ while((list = ags_recall_find_recycling_container(list, recall_id->recycling_container)) != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall_audio_run\0", NULL,
+ NULL);
+
+ list= list->next;
+ }
+ }else if((AGS_RECALL_TEMPLATE & (AGS_RECALL(packable)->flags)) != 0){
+ while((list = ags_recall_find_template(list)) != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall_audio_run\0", NULL,
+ NULL);
+
+ list= list->next;
+ }
+ }
+
+ /* call parent */
+ if(ags_recall_audio_run_parent_packable_interface->unpack(packable)){
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(TRUE);
+ }
+
+ /* remove from list */
+ recall_container->recall_audio_run = g_list_remove(recall_container->recall_audio_run,
+ recall);
+
+ /* unref */
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(FALSE);
+}
+
+AgsRecall*
+ags_recall_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecallAudioRun *recall_audio_run, *copy;
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(recall);
+
+ copy = AGS_RECALL_AUDIO_RUN(AGS_RECALL_CLASS(ags_recall_audio_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ g_object_set(G_OBJECT(copy),
+ "recall_audio\0", recall_audio_run->recall_audio,
+ NULL);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_recall_audio_run_new:
+ *
+ * Creates an #AgsRecallAudioRun.
+ *
+ * Returns: a new #AgsRecallAudioRun.
+ *
+ * Since: 0.4
+ */
+AgsRecallAudioRun*
+ags_recall_audio_run_new()
+{
+ AgsRecallAudioRun *recall_audio_run;
+
+ recall_audio_run = (AgsRecallAudioRun *) g_object_new(AGS_TYPE_RECALL_AUDIO_RUN,
+ NULL);
+
+ return(recall_audio_run);
+}
diff --git a/src/ags/audio/ags_recall_audio_run.h b/src/ags/audio/ags_recall_audio_run.h
new file mode 100644
index 0000000..aadbbd4
--- /dev/null
+++ b/src/ags/audio/ags_recall_audio_run.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_AUDIO_RUN_H__
+#define __AGS_RECALL_AUDIO_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+#include <ags/audio/ags_recall_audio.h>
+
+#define AGS_TYPE_RECALL_AUDIO_RUN (ags_recall_audio_run_get_type())
+#define AGS_RECALL_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_AUDIO_RUN, AgsRecallAudioRun))
+#define AGS_RECALL_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_AUDIO_RUN, AgsRecallAudioRunClass))
+#define AGS_IS_RECALL_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_AUDIO_RUN))
+#define AGS_IS_RECALL_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_AUDIO_RUN))
+#define AGS_RECALL_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_AUDIO_RUN, AgsRecallAudioRunClass))
+
+typedef struct _AgsRecallAudioRun AgsRecallAudioRun;
+typedef struct _AgsRecallAudioRunClass AgsRecallAudioRunClass;
+
+struct _AgsRecallAudioRun
+{
+ AgsRecall recall;
+
+ AgsRecallAudio *recall_audio;
+};
+
+struct _AgsRecallAudioRunClass
+{
+ AgsRecallClass recall;
+};
+
+GType ags_recall_audio_run_get_type();
+
+AgsRecallAudioRun* ags_recall_audio_run_new();
+
+#endif /*__AGS_RECALL_AUDIO_RUN_H__*/
diff --git a/src/ags/audio/ags_recall_audio_signal.c b/src/ags/audio/ags_recall_audio_signal.c
new file mode 100644
index 0000000..b536e12
--- /dev/null
+++ b/src/ags/audio/ags_recall_audio_signal.c
@@ -0,0 +1,571 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_audio_signal.h>
+#include <ags/audio/ags_recall_recycling.h>
+
+#include <ags/lib/ags_list.h>
+#include <ags/lib/ags_parameter.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <stdlib.h>
+
+void ags_recall_audio_signal_class_init(AgsRecallAudioSignalClass *recall_audio_signal);
+void ags_recall_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_recall_audio_signal_init(AgsRecallAudioSignal *recall_audio_signal);
+void ags_recall_audio_signal_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_audio_signal_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_audio_signal_connect(AgsConnectable *connectable);
+void ags_recall_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_recall_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_audio_signal_finalize(GObject *gobject);
+
+void ags_recall_audio_signal_run_init_pre(AgsRecall *recall);
+void ags_recall_audio_signal_run_init_inter(AgsRecall *recall);
+void ags_recall_audio_signal_run_init_post(AgsRecall *recall);
+
+void ags_recall_audio_signal_run_pre(AgsRecall *recall);
+void ags_recall_audio_signal_run_inter(AgsRecall *recall);
+void ags_recall_audio_signal_run_post(AgsRecall *recall);
+void ags_recall_audio_signal_done(AgsRecall *recall);
+
+AgsRecall* ags_recall_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_recall_audio_signal_notify_devout(AgsRecallAudioSignal *recall_audio_signal, GParamSpec *param,
+ gpointer data);
+void ags_recall_audio_signal_notify_devout_after(AgsRecallAudioSignal *recall_audio_signal, GParamSpec *param,
+ gpointer data);
+
+/**
+ * SECTION:ags_recall_audio_signal
+ * @Short_description: audio signal context of recall
+ * @Title: AgsRecallAudioSignal
+ *
+ * #AgsRecallAudioSignal acts as audio signal recall.
+ */
+
+enum{
+ PROP_0,
+ PROP_AUDIO_CHANNEL,
+ PROP_DESTINATION,
+ PROP_SOURCE,
+};
+
+static gpointer ags_recall_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_recall_audio_signal_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_recall_audio_signal_parent_dynamic_connectable_interface;
+
+GType
+ags_recall_audio_signal_get_type()
+{
+ static GType ags_type_recall_audio_signal = 0;
+
+ if(!ags_type_recall_audio_signal){
+ static const GTypeInfo ags_recall_audio_signal_info = {
+ sizeof (AgsRecallAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_audio_signal_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_audio_signal = g_type_register_static(AGS_TYPE_RECALL,
+ "AgsRecallAudioSignal\0",
+ &ags_recall_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_audio_signal,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_recall_audio_signal);
+}
+
+void
+ags_recall_audio_signal_class_init(AgsRecallAudioSignalClass *recall_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_audio_signal_parent_class = g_type_class_peek_parent(recall_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_audio_signal;
+
+ gobject->set_property = ags_recall_audio_signal_set_property;
+ gobject->get_property = ags_recall_audio_signal_get_property;
+
+ gobject->finalize = ags_recall_audio_signal_finalize;
+
+ /* for debugging purpose */
+ recall = (AgsRecallClass *) recall_audio_signal;
+
+ recall->run_init_pre = ags_recall_audio_signal_run_init_pre;
+ recall->run_init_inter = ags_recall_audio_signal_run_init_inter;
+ recall->run_init_post = ags_recall_audio_signal_run_init_post;
+
+ recall->run_pre = ags_recall_audio_signal_run_pre;
+ recall->run_inter = ags_recall_audio_signal_run_inter;
+ recall->run_post = ags_recall_audio_signal_run_post;
+
+ /* properties */
+ /**
+ * AgsRecallAudioSignal:audio-channel:
+ *
+ * The audio channel to write use.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("audio-channel\0",
+ "output to audio channel\0",
+ "The audio channel to which it should write\0",
+ 0,
+ 65536,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_CHANNEL,
+ param_spec);
+
+ /**
+ * AgsRecallAudioSignal:destination:
+ *
+ * The destination audio signal
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("destination\0",
+ "destination of output\0",
+ "The destination where this recall will write the audio signal to\0",
+ AGS_TYPE_AUDIO_SIGNAL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DESTINATION,
+ param_spec);
+
+ /**
+ * AgsRecallAudioSignal:source:
+ *
+ * The source audio signal
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("source\0",
+ "source of input\0",
+ "The source where this recall will take the audio signal from\0",
+ AGS_TYPE_AUDIO_SIGNAL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SOURCE,
+ param_spec);
+
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_audio_signal;
+
+ recall->done = ags_recall_audio_signal_done;
+
+ recall->duplicate = ags_recall_audio_signal_duplicate;
+}
+
+void
+ags_recall_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recall_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_audio_signal_connect;
+ connectable->disconnect = ags_recall_audio_signal_disconnect;
+}
+
+void
+ags_recall_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_recall_audio_signal_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_recall_audio_signal_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_recall_audio_signal_disconnect_dynamic;
+}
+
+void
+ags_recall_audio_signal_init(AgsRecallAudioSignal *recall_audio_signal)
+{
+ // g_signal_connect(G_OBJECT(recall_audio_signal), "notify::devout\0",
+ // G_CALLBACK(ags_recall_audio_signal_notify_devout), NULL);
+ // g_signal_connect_after(G_OBJECT(recall_audio_signal), "notify::devout\0",
+ // G_CALLBACK(ags_recall_audio_signal_notify_devout_after), NULL);
+
+ recall_audio_signal->flags = AGS_RECALL_INITIAL_RUN;
+ recall_audio_signal->audio_channel = 0;
+
+ recall_audio_signal->source = NULL;
+ recall_audio_signal->destination = NULL;
+}
+
+void
+ags_recall_audio_signal_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallAudioSignal *recall_audio_signal;
+
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ guint audio_channel;
+
+ audio_channel = (guint) g_value_get_uint(value);
+
+ recall_audio_signal->audio_channel = audio_channel;
+ }
+ break;
+ case PROP_DESTINATION:
+ {
+ AgsAudioSignal *destination;
+
+ destination = (AgsAudioSignal *) g_value_get_object(value);
+
+ if(recall_audio_signal->destination == destination)
+ return;
+
+ if(recall_audio_signal->destination != NULL)
+ g_object_unref(recall_audio_signal->destination);
+
+ if(destination != NULL)
+ g_object_ref(G_OBJECT(destination));
+
+ recall_audio_signal->destination = destination;
+ }
+ break;
+ case PROP_SOURCE:
+ {
+ AgsAudioSignal *source;
+
+ source = (AgsAudioSignal *) g_value_get_object(value);
+
+ if(recall_audio_signal->source == source)
+ return;
+
+ if(recall_audio_signal->source != NULL)
+ g_object_unref(recall_audio_signal->source);
+
+ if(source != NULL)
+ g_object_ref(G_OBJECT(source));
+
+ recall_audio_signal->source = source;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_audio_signal_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallAudioSignal *recall_audio_signal;
+
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ g_value_set_uint(value, recall_audio_signal->audio_channel);
+ }
+ break;
+ case PROP_DESTINATION:
+ {
+ g_value_set_object(value, recall_audio_signal->destination);
+ }
+ break;
+ case PROP_SOURCE:
+ {
+ g_value_set_object(value, recall_audio_signal->source);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_audio_signal_connect(AgsConnectable *connectable)
+{
+ AgsRecallAudioSignal *recall_audio_signal;
+
+ ags_recall_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_audio_signal_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_recall_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_recall_audio_signal_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_recall_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_recall_audio_signal_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+void
+ags_recall_audio_signal_finalize(GObject *gobject)
+{
+ AgsRecallAudioSignal *recall_audio_signal;
+
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(gobject);
+
+ if(recall_audio_signal->destination != NULL){
+ g_object_unref(recall_audio_signal->destination);
+ recall_audio_signal->destination = NULL;
+ }
+
+ if(recall_audio_signal->source != NULL){
+ g_object_unref(recall_audio_signal->source);
+ recall_audio_signal->source = NULL;
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_audio_signal_parent_class)->finalize(gobject);
+}
+
+AgsRecall*
+ags_recall_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecallAudioSignal *recall_audio_signal, *copy;
+
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(recall);
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ "devout\0", AGS_RECALL(recall_audio_signal)->devout,
+ "audio_channel\0", recall_audio_signal->audio_channel,
+ "destination\0", recall_audio_signal->destination,
+ "source\0", recall_audio_signal->source,
+ NULL);
+
+ copy = (AgsRecallAudioSignal *) AGS_RECALL_CLASS(ags_recall_audio_signal_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_recall_audio_signal_run_init_pre(AgsRecall *recall){
+ AgsAudioSignal *source, *destination;
+
+ source = AGS_RECALL_AUDIO_SIGNAL(recall)->source;
+ destination = AGS_RECALL_AUDIO_SIGNAL(recall)->destination;
+
+ AGS_RECALL_CLASS(ags_recall_audio_signal_parent_class)->run_init_pre(recall);
+
+ if(source != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (source->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at source - AGS_AUDIO_SIGNAL_TEMPLATE: run_init_pre\n\0");
+
+ if(destination != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (destination->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at destination - AGS_AUDIO_SIGNAL_TEMPLATE: run_init_pre\n\0");
+}
+
+void
+ags_recall_audio_signal_run_init_inter(AgsRecall *recall){
+ AgsAudioSignal *source, *destination;
+
+ source = AGS_RECALL_AUDIO_SIGNAL(recall)->source;
+ destination = AGS_RECALL_AUDIO_SIGNAL(recall)->destination;
+
+ AGS_RECALL_CLASS(ags_recall_audio_signal_parent_class)->run_init_inter(recall);
+
+ if(source != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (source->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at source - AGS_AUDIO_SIGNAL_TEMPLATE: run_init_inter\n\0");
+
+ if(destination != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (destination->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at destination - AGS_AUDIO_SIGNAL_TEMPLATE: run_init_inter\n\0");
+}
+
+void
+ags_recall_audio_signal_run_init_post(AgsRecall *recall){
+ AgsAudioSignal *source, *destination;
+
+ source = AGS_RECALL_AUDIO_SIGNAL(recall)->source;
+ destination = AGS_RECALL_AUDIO_SIGNAL(recall)->destination;
+
+ AGS_RECALL_CLASS(ags_recall_audio_signal_parent_class)->run_init_post(recall);
+
+ if(source != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (source->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at source - AGS_AUDIO_SIGNAL_TEMPLATE: run_init_post\n\0");
+
+ if(destination != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (destination->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at destination - AGS_AUDIO_SIGNAL_TEMPLATE: run_init_post\n\0");
+
+}
+
+void
+ags_recall_audio_signal_run_pre(AgsRecall *recall){
+ AgsAudioSignal *source, *destination;
+
+ source = AGS_RECALL_AUDIO_SIGNAL(recall)->source;
+ destination = AGS_RECALL_AUDIO_SIGNAL(recall)->destination;
+
+ AGS_RECALL_CLASS(ags_recall_audio_signal_parent_class)->run_pre(recall);
+
+ if(source != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (source->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at source - AGS_AUDIO_SIGNAL_TEMPLATE: run_pre\n\0");
+
+ if(destination != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (destination->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at destination - AGS_AUDIO_SIGNAL_TEMPLATE: run_pre\n\0");
+
+}
+
+void
+ags_recall_audio_signal_run_inter(AgsRecall *recall){
+ AgsAudioSignal *source, *destination;
+
+ source = AGS_RECALL_AUDIO_SIGNAL(recall)->source;
+ destination = AGS_RECALL_AUDIO_SIGNAL(recall)->destination;
+
+ AGS_RECALL_CLASS(ags_recall_audio_signal_parent_class)->run_inter(recall);
+
+ if(source != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (source->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at source - AGS_AUDIO_SIGNAL_TEMPLATE: run_inter\n\0");
+
+ if(destination != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (destination->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at destination - AGS_AUDIO_SIGNAL_TEMPLATE: run_inter\n\0");
+
+}
+
+void
+ags_recall_audio_signal_run_post(AgsRecall *recall){
+ AgsAudioSignal *source, *destination;
+
+ source = AGS_RECALL_AUDIO_SIGNAL(recall)->source;
+ destination = AGS_RECALL_AUDIO_SIGNAL(recall)->destination;
+
+ AGS_RECALL_CLASS(ags_recall_audio_signal_parent_class)->run_post(recall);
+
+ if(source != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (source->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at source - AGS_AUDIO_SIGNAL_TEMPLATE: run_post\n\0");
+
+ if(destination != NULL && (AGS_AUDIO_SIGNAL_TEMPLATE & (destination->flags)) != 0)
+ g_warning("AgsRecallAudioSignal at destination - AGS_AUDIO_SIGNAL_TEMPLATE: run_post\n\0");
+
+}
+
+void
+ags_recall_audio_signal_done(AgsRecall *recall)
+{
+ g_object_unref(G_OBJECT(recall));
+}
+
+void
+ags_recall_audio_signal_notify_devout(AgsRecallAudioSignal *recall_audio_signal, GParamSpec *param,
+ gpointer data)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_recall_audio_signal_notify_devout_after(AgsRecallAudioSignal *recall_audio_signal, GParamSpec *param,
+ gpointer data)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_recall_audio_signal_new:
+ * @destination: destination #AgsAudioSignal
+ * @source: source #AgsAudioSignal
+ * @devout: default sink #AgsDevout
+ *
+ * Creates an #AgsRecallAudioSignal.
+ *
+ * Returns: a new #AgsRecallAudioSignal.
+ *
+ * Since: 0.4
+ */
+AgsRecallAudioSignal*
+ags_recall_audio_signal_new(AgsAudioSignal *destination,
+ AgsAudioSignal *source,
+ AgsDevout *devout)
+{
+ AgsRecallAudioSignal *recall_audio_signal;
+
+ recall_audio_signal = (AgsRecallAudioSignal *) g_object_new(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "devout\0", devout,
+ "destination\0", destination,
+ "source\0", source,
+ NULL);
+
+ return(recall_audio_signal);
+}
diff --git a/src/ags/audio/ags_recall_audio_signal.h b/src/ags/audio/ags_recall_audio_signal.h
new file mode 100644
index 0000000..dfd3cf1
--- /dev/null
+++ b/src/ags/audio/ags_recall_audio_signal.h
@@ -0,0 +1,69 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_AUDIO_SIGNAL_H__
+#define __AGS_RECALL_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio_signal.h>
+
+#define AGS_TYPE_RECALL_AUDIO_SIGNAL (ags_recall_audio_signal_get_type())
+#define AGS_RECALL_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_AUDIO_SIGNAL, AgsRecallAudioSignal))
+#define AGS_RECALL_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_AUDIO_SIGNAL, AgsRecallAudioSignalClass))
+#define AGS_IS_RECALL_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_AUDIO_SIGNAL))
+#define AGS_IS_RECALL_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_AUDIO_SIGNAL))
+#define AGS_RECALL_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_AUDIO_SIGNAL, AgsRecallAudioSignalClass))
+
+typedef struct _AgsRecallAudioSignal AgsRecallAudioSignal;
+typedef struct _AgsRecallAudioSignalClass AgsRecallAudioSignalClass;
+
+typedef enum{
+ AGS_RECALL_AUDIO_SIGNAL_INITIAL_RUN = 1,
+}AgsRecallAudioSignalFlags;
+
+struct _AgsRecallAudioSignal
+{
+ AgsRecall recall;
+
+ guint flags;
+
+ guint audio_channel;
+
+ AgsAudioSignal *destination;
+
+ AgsAudioSignal *source;
+};
+
+struct _AgsRecallAudioSignalClass
+{
+ AgsRecallClass recall;
+};
+
+GType ags_recall_audio_signal_get_type();
+
+AgsRecallAudioSignal* ags_recall_audio_signal_new(AgsAudioSignal *destination,
+ AgsAudioSignal *source,
+ AgsDevout *devout);
+
+#endif /*__AGS_RECALL_AUDIO_SIGNAL_H__*/
+
diff --git a/src/ags/audio/ags_recall_channel.c b/src/ags/audio/ags_recall_channel.c
new file mode 100644
index 0000000..391d516
--- /dev/null
+++ b/src/ags/audio/ags_recall_channel.c
@@ -0,0 +1,461 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_channel.h>
+
+#include <ags/lib/ags_list.h>
+#include <ags/lib/ags_parameter.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_packable.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+void ags_recall_channel_class_init(AgsRecallChannelClass *recall_channel);
+void ags_recall_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_channel_packable_interface_init(AgsPackableInterface *packable);
+void ags_recall_channel_init(AgsRecallChannel *recall_channel);
+void ags_recall_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_channel_connect(AgsConnectable *connectable);
+void ags_recall_channel_disconnect(AgsConnectable *connectable);
+gboolean ags_recall_channel_pack(AgsPackable *packable, GObject *container);
+gboolean ags_recall_channel_unpack(AgsPackable *packable);
+void ags_recall_channel_finalize(GObject *gobject);
+
+AgsRecall* ags_recall_channel_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_recall_channel
+ * @short_description: channel context of recall
+ * @title: AgsRecallChannel
+ * @section_id:
+ * @include: ags/audio/ags_recall_channel.h
+ *
+ * #AgsRecallChannel acts as channel recall.
+ */
+
+enum{
+ PROP_0,
+ PROP_DESTINATION,
+ PROP_SOURCE,
+};
+
+static gpointer ags_recall_channel_parent_class = NULL;
+static AgsConnectableInterface* ags_recall_channel_parent_connectable_interface;
+static AgsPackableInterface* ags_recall_channel_parent_packable_interface;
+
+GType
+ags_recall_channel_get_type()
+{
+ static GType ags_type_recall_channel = 0;
+
+ if(!ags_type_recall_channel){
+ static const GTypeInfo ags_recall_channel_info = {
+ sizeof (AgsRecallChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_packable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_packable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_channel = g_type_register_static(AGS_TYPE_RECALL,
+ "AgsRecallChannel\0",
+ &ags_recall_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_channel,
+ AGS_TYPE_PACKABLE,
+ &ags_packable_interface_info);
+ }
+
+ return(ags_type_recall_channel);
+}
+
+void
+ags_recall_channel_class_init(AgsRecallChannelClass *recall_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_channel_parent_class = g_type_class_peek_parent(recall_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_channel;
+
+ gobject->set_property = ags_recall_channel_set_property;
+ gobject->get_property = ags_recall_channel_get_property;
+
+ gobject->finalize = ags_recall_channel_finalize;
+
+ /* properties */
+ /**
+ * AgsRecallChannel:destination:
+ *
+ * The assigned destination channel.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("destination\0",
+ "assigned destination channel\0",
+ "The destination channel object it is assigned to\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DESTINATION,
+ param_spec);
+
+ /**
+ * AgsRecallChannel:source:
+ *
+ * The assigned source channel.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("source\0",
+ "assigned source channel\0",
+ "The source channel object it is assigned to\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SOURCE,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_channel;
+
+ recall->duplicate = ags_recall_channel_duplicate;
+ }
+
+ void
+ ags_recall_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+ {
+ AgsConnectableInterface *ags_recall_channel_connectable_parent_interface;
+
+ ags_recall_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_channel_connect;
+ connectable->disconnect = ags_recall_channel_disconnect;
+ }
+
+ void
+ ags_recall_channel_packable_interface_init(AgsPackableInterface *packable)
+ {
+ ags_recall_channel_parent_packable_interface = g_type_interface_peek_parent(packable);
+
+ packable->pack = ags_recall_channel_pack;
+ packable->unpack = ags_recall_channel_unpack;
+ }
+
+ void
+ ags_recall_channel_init(AgsRecallChannel *recall_channel)
+ {
+ recall_channel->destination = NULL;
+ recall_channel->source = NULL;
+ }
+
+ void
+ ags_recall_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+ {
+ AgsRecallChannel *recall_channel;
+
+ recall_channel = AGS_RECALL_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_DESTINATION:
+ {
+ AgsChannel *destination;
+
+ destination = (AgsChannel *) g_value_get_object(value);
+
+ if(recall_channel->destination == destination)
+ return;
+
+ if(recall_channel->destination != NULL)
+ g_object_unref(recall_channel->destination);
+
+ if(destination != NULL)
+ g_object_ref(destination);
+
+ recall_channel->destination = destination;
+ }
+ break;
+ case PROP_SOURCE:
+ {
+ AgsChannel *source;
+
+ source = (AgsChannel *) g_value_get_object(value);
+
+ if(recall_channel->source == source)
+ return;
+
+ if(recall_channel->source != NULL)
+ g_object_unref(recall_channel->source);
+
+ if(source != NULL)
+ g_object_ref(source);
+
+ recall_channel->source = source;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallChannel *recall_channel;
+
+ recall_channel = AGS_RECALL_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_DESTINATION:
+ g_value_set_object(value, recall_channel->destination);
+ break;
+ case PROP_SOURCE:
+ g_value_set_object(value, recall_channel->source);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_channel_finalize(GObject *gobject)
+{
+ AgsRecallChannel *recall_channel;
+
+ recall_channel = AGS_RECALL_CHANNEL(gobject);
+
+ if(recall_channel->source != NULL)
+ g_object_unref(recall_channel->source);
+
+ if(recall_channel->destination != NULL)
+ g_object_unref(G_OBJECT(recall_channel->destination));
+
+ G_OBJECT_CLASS(ags_recall_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_channel_connect(AgsConnectable *connectable)
+{
+ ags_recall_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+gboolean
+ags_recall_channel_pack(AgsPackable *packable, GObject *container)
+{
+ AgsRecallContainer *recall_container;
+ AgsRecallChannel *recall_channel;
+ GList *list;
+
+ if(ags_recall_channel_parent_packable_interface->pack(packable, container))
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(container);
+ recall_channel = AGS_RECALL_CHANNEL(packable);
+
+ g_object_set(container,
+ "recall_channel\0", recall_channel,
+ NULL);
+
+ /* set in AgsRecallChannelRun */
+ list = recall_container->recall_channel_run;
+
+ while((list = ags_recall_find_provider(list, G_OBJECT(recall_channel->source))) != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall_channel\0", recall_channel,
+ NULL);
+
+ list = list->next;
+ }
+
+ return(FALSE);
+}
+
+gboolean
+ags_recall_channel_unpack(AgsPackable *packable)
+{
+ AgsRecall *recall;
+ AgsRecallContainer *recall_container;
+ GList *list;
+
+ recall = AGS_RECALL(packable);
+
+ if(recall == NULL)
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(recall->container);
+
+ if(recall_container == NULL)
+ return(TRUE);
+
+ /* ref */
+ g_object_ref(recall);
+ g_object_ref(recall_container);
+
+ /* unset in AgsRecallChannelRun */
+ list = recall_container->recall_channel_run;
+
+ while((list = ags_recall_find_provider(list, G_OBJECT(AGS_RECALL_CHANNEL(packable)->source))) != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "recall_channel\0", NULL,
+ NULL);
+
+ list = list->next;
+ }
+
+ /* call parent */
+ if(ags_recall_channel_parent_packable_interface->unpack(packable)){
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(TRUE);
+ }
+
+ /* remove from list */
+ recall_container->recall_channel = g_list_remove(recall_container->recall_channel,
+ recall);
+
+ /* unref */
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(FALSE);
+}
+
+AgsRecall*
+ags_recall_channel_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecallChannel *recall_channel, *copy;
+
+ recall_channel = AGS_RECALL_CHANNEL(recall);
+
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ "source\0", recall_channel->source,
+ "destination\0", recall_channel->destination,
+ NULL);
+
+ copy = AGS_RECALL_CHANNEL(AGS_RECALL_CLASS(ags_recall_channel_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ g_message("ags warning - ags_recall_channel_duplicate: you shouldn't do this %s\n\0", G_OBJECT_TYPE_NAME(recall));
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_recall_channel_find_channel:
+ * @recall_channel: a #GList containing #AgsRecallChannel
+ * @source: the #AgsChannel to find
+ *
+ * Retrieve next recall assigned to channel.
+ *
+ * Returns: Next match.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_channel_find_channel(GList *recall_channel_i, AgsChannel *source)
+{
+ AgsRecallChannel *recall_channel;
+
+ while(recall_channel_i != NULL){
+ recall_channel = AGS_RECALL_CHANNEL(recall_channel_i->data);
+
+ if(recall_channel->source == source)
+ return(recall_channel_i);
+
+ recall_channel_i = recall_channel_i->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_channel_new:
+ *
+ * Creates an #AgsRecallChannel.
+ *
+ * Returns: a new #AgsRecallChannel.
+ *
+ * Since: 0.4
+ */
+AgsRecallChannel*
+ags_recall_channel_new()
+{
+ AgsRecallChannel *recall_channel;
+
+ recall_channel = (AgsRecallChannel *) g_object_new(AGS_TYPE_RECALL_CHANNEL,
+ NULL);
+
+ return(recall_channel);
+}
diff --git a/src/ags/audio/ags_recall_channel.h b/src/ags/audio/ags_recall_channel.h
new file mode 100644
index 0000000..15f0c13
--- /dev/null
+++ b/src/ags/audio/ags_recall_channel.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_CHANNEL_H__
+#define __AGS_RECALL_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_RECALL_CHANNEL (ags_recall_channel_get_type())
+#define AGS_RECALL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CHANNEL, AgsRecallChannel))
+#define AGS_RECALL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CHANNEL, AgsRecallChannelClass))
+#define AGS_IS_RECALL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_CHANNEL))
+#define AGS_IS_RECALL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_CHANNEL))
+#define AGS_RECALL_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_CHANNEL, AgsRecallChannelClass))
+
+typedef struct _AgsRecallChannel AgsRecallChannel;
+typedef struct _AgsRecallChannelClass AgsRecallChannelClass;
+
+struct _AgsRecallChannel
+{
+ AgsRecall recall;
+
+ AgsChannel *destination;
+ AgsChannel *source;
+};
+
+struct _AgsRecallChannelClass
+{
+ AgsRecallClass recall;
+};
+
+GType ags_recall_channel_get_type();
+
+GList* ags_recall_channel_find_channel(GList *recall_channel, AgsChannel *channel);
+
+AgsRecallChannel* ags_recall_channel_new();
+
+#endif /*__AGS_RECALL_CHANNEL_H__*/
diff --git a/src/ags/audio/ags_recall_channel_run.c b/src/ags/audio/ags_recall_channel_run.c
new file mode 100644
index 0000000..f322235
--- /dev/null
+++ b/src/ags/audio/ags_recall_channel_run.c
@@ -0,0 +1,1123 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_parameter.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_packable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_recycling.h>
+
+#include <ags/audio/recall/ags_copy_recycling.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+void ags_recall_channel_run_class_init(AgsRecallChannelRunClass *recall_channel_run);
+void ags_recall_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_channel_run_packable_interface_init(AgsPackableInterface *packable);
+void ags_recall_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_recall_channel_run_init(AgsRecallChannelRun *recall_channel_run);
+void ags_recall_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_channel_run_connect(AgsConnectable *connectable);
+void ags_recall_channel_run_disconnect(AgsConnectable *connectable);
+gboolean ags_recall_channel_run_pack(AgsPackable *packable, GObject *container);
+gboolean ags_recall_channel_run_unpack(AgsPackable *packable);
+void ags_recall_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_channel_run_finalize(GObject *gobject);
+
+void ags_recall_channel_run_done(AgsRecall *recall);
+AgsRecall* ags_recall_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_recall_channel_run_map_recall_recycling(AgsRecallChannelRun *recall_channel_run);
+
+void ags_recall_channel_run_remap_child_source(AgsRecallChannelRun *recall_channel_run,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region);
+void ags_recall_channel_run_remap_child_destination(AgsRecallChannelRun *recall_channel_run,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region);
+void ags_recall_channel_run_source_recycling_changed_callback(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region,
+ AgsRecallChannelRun *recall_channel_run);
+
+void ags_recall_channel_run_destination_recycling_changed_callback(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region,
+ AgsRecallChannelRun *recall_channel_run);
+
+void ags_recall_channel_run_real_run_order_changed(AgsRecallChannelRun *recall_channel_run,
+ guint run_order);
+
+/**
+ * SECTION:ags_recall_channel_run
+ * @short_description: dynamic channel context of recall
+ * @title: AgsRecallChannelRun
+ * @section_id:
+ * @include: ags/audio/ags_recall_channel_run.h
+ *
+ * #AgsRecallChannelRun acts as channel recall run.
+ */
+
+enum{
+ RUN_ORDER_CHANGED,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_AUDIO_CHANNEL,
+ PROP_DESTINATION,
+ PROP_SOURCE,
+ PROP_RECALL_AUDIO_RUN,
+ PROP_RECALL_CHANNEL,
+};
+
+static gpointer ags_recall_channel_run_parent_class = NULL;
+static AgsConnectableInterface* ags_recall_channel_run_parent_connectable_interface;
+static AgsPackableInterface* ags_recall_channel_run_parent_packable_interface;
+static AgsDynamicConnectableInterface *ags_recall_channel_run_parent_dynamic_connectable_interface;
+
+static guint recall_channel_run_signals[LAST_SIGNAL];
+
+GType
+ags_recall_channel_run_get_type()
+{
+ static GType ags_type_recall_channel_run = 0;
+
+ if(!ags_type_recall_channel_run){
+ static const GTypeInfo ags_recall_channel_run_info = {
+ sizeof (AgsRecallChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_packable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_run_packable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_channel_run = g_type_register_static(AGS_TYPE_RECALL,
+ "AgsRecallChannelRun\0",
+ &ags_recall_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_channel_run,
+ AGS_TYPE_PACKABLE,
+ &ags_packable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_recall_channel_run);
+}
+
+void
+ags_recall_channel_run_class_init(AgsRecallChannelRunClass *recall_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_channel_run_parent_class = g_type_class_peek_parent(recall_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_channel_run;
+
+ gobject->set_property = ags_recall_channel_run_set_property;
+ gobject->get_property = ags_recall_channel_run_get_property;
+
+ gobject->finalize = ags_recall_channel_run_finalize;
+
+ /* properties */
+ /**
+ * AgsRecallChannelRun:audio-channel:
+ *
+ * The audio channel to output.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("audio-channel\0",
+ "assigned audio channel\0",
+ "The audio channel this recall is assigned to\0",
+ 0, 65535,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_CHANNEL,
+ param_spec);
+
+
+ /**
+ * AgsRecallChannelRun:recall-audio-run:
+ *
+ * The audio run opposite of this recall.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall-audio-run\0",
+ "AgsRecallAudioRun of this recall\0",
+ "The AgsRecallAudioRun which this recall needs\0",
+ AGS_TYPE_RECALL_AUDIO_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_AUDIO_RUN,
+ param_spec);
+
+ /**
+ * AgsRecallChannelRun:recall-channel:
+ *
+ * The channel context of this recall.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall-channel\0",
+ "AsgRecallChannel of this recall\0",
+ "The AgsRecallChannel which this recall needs\0",
+ AGS_TYPE_RECALL_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_CHANNEL,
+ param_spec);
+
+ /**
+ * AgsRecallChannelRun:destination:
+ *
+ * The channel to do output to.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("destination\0",
+ "destination of output\0",
+ "The destination AgsChannel where it will output to\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DESTINATION,
+ param_spec);
+
+ /**
+ * AgsRecallChannelRun:source:
+ *
+ * The channel to do input from.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("source\0",
+ "source of input\0",
+ "The source AgsChannel where it will take the input from\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SOURCE,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_channel_run;
+
+ recall->duplicate = ags_recall_channel_run_duplicate;
+ recall->done = ags_recall_channel_run_done;
+
+ /* AgsRecallChannelRunClass */
+ recall_channel_run->run_order_changed = ags_recall_channel_run_real_run_order_changed;
+
+ /* signals */
+ /**
+ * AgsRecallChannelRun::run-order-changed:
+ * @recall_channel_run: the object run order changed
+ * @run_order: nth run of parent recycling.
+ *
+ * The ::run-order-changed signal is invoked as changing link of destination
+ * during playback.
+ */
+ recall_channel_run_signals[RUN_ORDER_CHANGED] =
+ g_signal_new("run-order-changed\0",
+ G_TYPE_FROM_CLASS (recall_channel_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecallChannelRunClass, run_order_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+}
+
+void
+ags_recall_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_recall_channel_run_connectable_parent_interface;
+
+ ags_recall_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_channel_run_connect;
+ connectable->disconnect = ags_recall_channel_run_disconnect;
+}
+
+void
+ags_recall_channel_run_packable_interface_init(AgsPackableInterface *packable)
+{
+ ags_recall_channel_run_parent_packable_interface = g_type_interface_peek_parent(packable);
+
+ packable->pack = ags_recall_channel_run_pack;
+ packable->unpack = ags_recall_channel_run_unpack;
+}
+
+void
+ags_recall_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_recall_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_recall_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_recall_channel_run_disconnect_dynamic;
+}
+
+void
+ags_recall_channel_run_init(AgsRecallChannelRun *recall_channel_run)
+{
+ recall_channel_run->audio_channel = 0;
+
+ recall_channel_run->recall_audio_run = NULL;
+ recall_channel_run->recall_channel = NULL;
+
+ recall_channel_run->source = NULL;
+ recall_channel_run->destination = NULL;
+
+ recall_channel_run->run_order = 0;
+}
+
+
+void
+ags_recall_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallChannelRun *recall_channel_run;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ recall_channel_run->audio_channel = g_value_get_uint(value);
+ }
+ break;
+ case PROP_RECALL_AUDIO_RUN:
+ {
+ AgsRecallAudioRun *recall_audio_run;
+
+ recall_audio_run = (AgsRecallAudioRun *) g_value_get_object(value);
+
+ if(recall_channel_run->recall_audio_run == recall_audio_run)
+ return;
+
+ if(recall_channel_run->recall_audio_run != NULL){
+ g_object_unref(G_OBJECT(recall_channel_run->recall_audio_run));
+ }
+
+ if(recall_audio_run != NULL){
+ g_object_ref(G_OBJECT(recall_audio_run));
+ }
+
+ recall_channel_run->recall_audio_run = recall_audio_run;
+ }
+ break;
+ case PROP_RECALL_CHANNEL:
+ {
+ AgsRecallChannel *recall_channel;
+
+ recall_channel = (AgsRecallChannel *) g_value_get_object(value);
+
+ if(recall_channel_run->recall_channel == recall_channel)
+ return;
+
+ if(recall_channel_run->recall_channel != NULL){
+ g_object_unref(G_OBJECT(recall_channel_run->recall_channel));
+ }
+
+ if(recall_channel != NULL){
+ g_object_ref(G_OBJECT(recall_channel));
+ }
+
+ recall_channel_run->recall_channel = recall_channel;
+ }
+ break;
+ case PROP_DESTINATION:
+ {
+ AgsChannel *destination;
+ AgsChannel *old_destination;
+ AgsRecycling *new_start_region, *new_end_region;
+ AgsRecycling *old_start_region, *old_end_region;
+
+ destination = (AgsChannel *) g_value_get_object(value);
+
+ if(recall_channel_run->destination == destination)
+ return;
+
+ old_destination = recall_channel_run->destination;
+
+ if(old_destination != NULL){
+ old_start_region = old_destination->first_recycling;
+ old_end_region = old_destination->last_recycling;
+ }else{
+ old_start_region = NULL;
+ old_end_region = NULL;
+ }
+
+ if(destination != NULL){
+ g_object_ref(G_OBJECT(destination));
+
+ new_start_region = destination->first_recycling;
+ new_end_region = destination->last_recycling;
+ }else{
+ new_start_region = NULL;
+ new_end_region = NULL;
+ }
+
+ recall_channel_run->destination = destination;
+
+ /* child destination */
+ if(destination == recall_channel_run->source)
+ g_warning("destination == recall_channel_run->source\0");
+
+ if(old_destination != NULL)
+ g_object_unref(G_OBJECT(old_destination));
+ }
+ break;
+ case PROP_SOURCE:
+ {
+ AgsChannel *source;
+ AgsChannel *old_source;
+ AgsRecycling *new_start_region, *new_end_region;
+ AgsRecycling *old_start_region, *old_end_region;
+
+ source = (AgsChannel *) g_value_get_object(value);
+
+ if(recall_channel_run->source == source)
+ return;
+
+ old_source = recall_channel_run->source;
+
+ if(old_source != NULL){
+ old_start_region = old_source->first_recycling;
+ old_end_region = old_source->last_recycling;
+ }else{
+ old_start_region = NULL;
+ old_end_region = NULL;
+ }
+
+ if(source != NULL){
+ g_object_ref(G_OBJECT(source));
+
+ new_start_region = source->first_recycling;
+ new_end_region = source->last_recycling;
+ }else{
+ new_start_region = NULL;
+ new_end_region = NULL;
+ }
+
+ recall_channel_run->source = source;
+
+ if(source == recall_channel_run->destination)
+ g_warning("destination == recall_channel_run->source\0");
+
+ if(old_source != NULL)
+ g_object_unref(G_OBJECT(old_source));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_recall_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallChannelRun *recall_channel_run;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ g_value_set_uint(value, recall_channel_run->audio_channel);
+ }
+ break;
+ case PROP_RECALL_AUDIO_RUN:
+ {
+ g_value_set_object(value, recall_channel_run->recall_audio_run);
+ }
+ break;
+ case PROP_RECALL_CHANNEL:
+ {
+ g_value_set_object(value, recall_channel_run->recall_channel);
+ }
+ break;
+ case PROP_DESTINATION:
+ {
+ g_value_set_object(value, recall_channel_run->destination);
+ }
+ break;
+ case PROP_SOURCE:
+ {
+ g_value_set_object(value, recall_channel_run->source);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_recall_channel_run_finalize(GObject *gobject)
+{
+ AgsRecallChannelRun *recall_channel_run;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(gobject);
+
+ if(recall_channel_run->recall_audio_run != NULL)
+ g_object_unref(G_OBJECT(recall_channel_run->recall_audio_run));
+
+ if(recall_channel_run->recall_channel != NULL)
+ g_object_unref(G_OBJECT(recall_channel_run->recall_channel));
+
+ if(recall_channel_run->destination != NULL)
+ g_object_unref(recall_channel_run->destination);
+
+ if(recall_channel_run->source != NULL)
+ g_object_unref(recall_channel_run->source);
+
+ G_OBJECT_CLASS(ags_recall_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_channel_run_connect(AgsConnectable *connectable)
+{
+ AgsRecallChannelRun *recall_channel_run;
+ GObject *gobject;
+
+ ags_recall_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* AgsCopyChannelRun */
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(connectable);
+
+ /* destination */
+ if(recall_channel_run->destination != NULL){
+ gobject = G_OBJECT(recall_channel_run->destination);
+
+ /* recycling changed */
+ recall_channel_run->destination_recycling_changed_handler =
+ g_signal_connect(gobject, "recycling_changed\0",
+ G_CALLBACK(ags_recall_channel_run_destination_recycling_changed_callback), recall_channel_run);
+ }
+
+ /* source */
+ gobject = G_OBJECT(recall_channel_run->source);
+
+ recall_channel_run->source_recycling_changed_handler =
+ g_signal_connect(gobject, "recycling_changed\0",
+ G_CALLBACK(ags_recall_channel_run_source_recycling_changed_callback), recall_channel_run);
+}
+
+void
+ags_recall_channel_run_disconnect(AgsConnectable *connectable)
+{
+ AgsRecallChannelRun *recall_channel_run;
+ GObject *gobject;
+
+ /* AgsRecallChannelRun */
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(connectable);
+
+ /* destination */
+ if(recall_channel_run->destination != NULL){
+ gobject = G_OBJECT(recall_channel_run->destination);
+
+ g_signal_handler_disconnect(gobject, recall_channel_run->destination_recycling_changed_handler);
+ }
+
+ /* source */
+ if(recall_channel_run->source != NULL){
+ gobject = G_OBJECT(recall_channel_run->source);
+
+ g_signal_handler_disconnect(gobject, recall_channel_run->source_recycling_changed_handler);
+ }
+
+ /* call parent */
+ ags_recall_channel_run_parent_connectable_interface->disconnect(connectable);
+}
+
+gboolean
+ags_recall_channel_run_pack(AgsPackable *packable, GObject *container)
+{
+ AgsRecallAudioRun *recall_audio_run;
+ AgsRecallContainer *recall_container;
+ GList *list;
+ AgsRecallID *recall_id;
+
+ if(ags_recall_channel_run_parent_packable_interface->pack(packable, container))
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(container);
+
+ /* set AgsRecallAudioRun */
+ list = recall_container->recall_audio_run;
+
+ if(AGS_RECALL(packable)->recall_id != NULL){
+ recall_id = AGS_RECALL(packable)->recall_id;
+
+ list = ags_recall_find_recycling_container(list,
+ recall_id->recycling_container);
+
+ if(list != NULL){
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(list->data);
+
+ g_object_set(G_OBJECT(packable),
+ "recall-audio-run\0", recall_audio_run,
+ NULL);
+ }
+ }else if((AGS_RECALL_TEMPLATE & (AGS_RECALL(packable)->flags)) != 0){
+ list = ags_recall_find_template(list);
+
+ if(list != NULL){
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(list->data);
+
+ g_object_set(G_OBJECT(packable),
+ "recall-audio-run\0", recall_audio_run,
+ NULL);
+ }
+ }
+
+ /* set AgsRecallChannel */
+ if(AGS_RECALL_CHANNEL_RUN(packable)->source != NULL){
+ list = recall_container->recall_channel;
+
+ if((list = ags_recall_find_provider(list,
+ G_OBJECT(AGS_RECALL_CHANNEL_RUN(packable)->source))) != NULL){
+ g_object_set(G_OBJECT(packable),
+ "recall-channel\0", AGS_RECALL_CHANNEL(list->data),
+ NULL);
+ }
+ }
+
+ g_object_set(G_OBJECT(recall_container),
+ "recall-channel-run\0", AGS_RECALL(packable),
+ NULL);
+
+ return(FALSE);
+}
+
+gboolean
+ags_recall_channel_run_unpack(AgsPackable *packable)
+{
+ AgsRecall *recall;
+ AgsRecallContainer *recall_container;
+ GList *list;
+ AgsRecallID *recall_id;
+
+ recall = AGS_RECALL(packable);
+
+ if(recall == NULL)
+ return(TRUE);
+
+ recall_container = AGS_RECALL_CONTAINER(recall->container);
+
+ if(recall_container == NULL)
+ return(TRUE);
+
+ /* ref */
+ g_object_ref(recall);
+ g_object_ref(recall_container);
+
+ /* unset AgsRecallAudioRun */
+ g_object_set(G_OBJECT(packable),
+ "recall_audio_run\0", NULL,
+ NULL);
+
+ /* unset AgsRecallChannel */
+ g_object_set(G_OBJECT(packable),
+ "recall_channel\0", NULL,
+ NULL);
+
+ /* call parent */
+ if(ags_recall_channel_run_parent_packable_interface->unpack(packable)){
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(TRUE);
+ }
+
+ /* remove from list */
+ recall_container->recall_channel_run = g_list_remove(recall_container->recall_channel_run,
+ recall);
+
+ /* unref */
+ g_object_unref(recall);
+ g_object_unref(recall_container);
+
+ return(FALSE);
+}
+
+void
+ags_recall_channel_run_connect_dynamic(AgsConnectable *connectable)
+{
+ ags_recall_channel_run_parent_dynamic_connectable_interface->connect_dynamic(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_channel_run_disconnect_dynamic(AgsConnectable *connectable)
+{
+ ags_recall_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_channel_run_done(AgsRecall *recall)
+{
+ AgsRecallChannelRun *recall_channel_run;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(recall);
+
+ ags_channel_remove_recall(recall_channel_run->source,
+ recall,
+ ((recall->recall_id->recycling_container->parent == NULL) ? TRUE: FALSE));
+
+ AGS_RECALL_CLASS(ags_recall_channel_run_parent_class)->done(recall);
+}
+
+AgsRecall*
+ags_recall_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsAudio *audio;
+ AgsChannel *output;
+ AgsRecallChannelRun *recall_channel_run, *copy;
+ AgsRecallID *output_recall_id;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(recall);
+
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ "devout\0", AGS_RECALL(recall_channel_run)->devout,
+ "recall_channel\0", recall_channel_run->recall_channel,
+ "audio_channel\0", recall_channel_run->audio_channel,
+ "source\0", recall_channel_run->source,
+ "destination\0", recall_channel_run->destination,
+ NULL);
+ copy = AGS_RECALL_CHANNEL_RUN(AGS_RECALL_CLASS(ags_recall_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ if(recall_channel_run->destination != NULL){
+ ags_recall_channel_run_remap_child_destination(copy,
+ NULL, NULL,
+ copy->destination->first_recycling, copy->destination->last_recycling);
+ }else{
+ ags_recall_channel_run_remap_child_source(copy,
+ NULL, NULL,
+ copy->source->first_recycling, copy->source->last_recycling);
+ }
+
+ audio = AGS_AUDIO(copy->source->audio);
+
+ if(AGS_IS_OUTPUT(copy->source)){
+ output = copy->source;
+ output_recall_id = ags_recall_id_find_recycling_container(output->recall_id,
+ recall_id->recycling_container);
+ }else{
+ AgsRecallID *default_recall_id, *audio_recall_id;
+
+ if((AGS_AUDIO_ASYNC & (audio->flags)) != 0){
+ output = ags_channel_nth(audio->output,
+ copy->source->audio_channel);
+ }else{
+ output = ags_channel_nth(audio->output,
+ copy->source->line);
+ }
+
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ default_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ default_recall_id->recycling_container);
+
+ output_recall_id = ags_recall_id_find_recycling_container(output->recall_id,
+ audio_recall_id->recycling_container->parent);
+ }else{
+ audio_recall_id = ags_recall_id_find_recycling_container(audio->recall_id,
+ recall_id->recycling_container);
+
+
+ output_recall_id = ags_recall_id_find_recycling_container(output->recall_id,
+ audio_recall_id->recycling_container);
+ }
+ }
+
+ if(recall_id->recycling_container->parent != NULL){
+ copy->run_order = g_list_index(recall_id->recycling_container->parent->children,
+ recall_id->recycling_container);
+ }else if(copy->destination != NULL){
+ copy->run_order = copy->destination->audio_channel;
+ }else{
+ AgsRecycling *recycling;
+
+ recycling = AGS_RECYCLING(recall_id->recycling);
+
+ copy->run_order = AGS_CHANNEL(recycling->channel)->audio_channel;
+ }
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_recall_channel_run_map_recall_recycling(AgsRecallChannelRun *recall_channel_run)
+{
+ AgsRecallChannel *recall_channel;
+ AgsRecycling *source_recycling;
+ AgsRecycling *destination_recycling, *start_destination_recycling, *end_destination_recycling;
+
+ if(recall_channel_run->source == NULL ||
+ AGS_RECALL(recall_channel_run)->child_type == G_TYPE_NONE ||
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_channel_run)->flags)) != 0){
+ return;
+ }
+
+ /* AgsRecallChannel */
+ recall_channel = AGS_RECALL_CHANNEL(recall_channel_run->recall_channel);
+
+ /* AgsRecycling - source */
+ source_recycling = recall_channel->source->first_recycling;
+
+ /* AgsRecycling - destination*/
+ if(recall_channel_run->destination != NULL){
+ start_destination_recycling = recall_channel_run->destination->first_recycling;
+ end_destination_recycling = recall_channel_run->destination->last_recycling->next;
+ }else{
+ start_destination_recycling = NULL;
+ end_destination_recycling = NULL;
+ }
+
+ if(source_recycling != NULL){
+ AgsRecallRecycling *recall_recycling;
+
+ while(source_recycling != recall_channel->source->last_recycling->next){
+ destination_recycling = start_destination_recycling;
+
+#ifdef AGS_DEBUG
+ g_message("ags_recall_channel_run_map_recall_recycling\0");
+#endif
+
+ do{
+ recall_recycling = g_object_new(AGS_RECALL(recall_channel_run)->child_type,
+ "devout\0", AGS_RECALL(recall_channel_run)->devout,
+ "recall_id\0", AGS_RECALL(recall_channel_run)->recall_id,
+ "audio_channel\0", recall_channel_run->audio_channel,
+ "source\0", source_recycling,
+ "destination\0", destination_recycling,
+ NULL);
+
+ ags_recall_add_child(AGS_RECALL(recall_channel_run), AGS_RECALL(recall_recycling));
+
+ if(destination_recycling != NULL){
+ destination_recycling = destination_recycling->next;
+ }
+ }while(destination_recycling != end_destination_recycling);
+
+ source_recycling = source_recycling->next;
+ }
+ }
+}
+
+void
+ags_recall_channel_run_remap_child_source(AgsRecallChannelRun *recall_channel_run,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region)
+{
+ AgsRecycling *destination_recycling, *source_recycling;
+ AgsRecallRecycling *recall_recycling;
+ GList *list;
+
+ if(recall_channel_run->source == NULL ||
+ AGS_RECALL(recall_channel_run)->child_type == G_TYPE_NONE ||
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_channel_run)->flags)) != 0)
+ return;
+
+ /* remove old */
+ if(old_start_changed_region != NULL){
+ AgsDevout *devout;
+ AgsRecall *recall;
+ AgsCancelRecall *cancel_recall;
+
+ devout = AGS_DEVOUT(AGS_AUDIO(recall_channel_run->source->audio)->devout);
+ source_recycling = old_start_changed_region;
+
+ while(source_recycling != old_end_changed_region->next){
+ list = ags_recall_get_children(AGS_RECALL(recall_channel_run));
+
+ while(list != NULL){
+ if(AGS_RECALL_RECYCLING(list->data)->source == source_recycling){
+ recall = AGS_RECALL(list->data);
+
+ recall->flags |= AGS_RECALL_HIDE;
+ cancel_recall = ags_cancel_recall_new(recall,
+ NULL);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ (AgsTask *) cancel_recall);
+ }
+
+ list = list->next;
+ }
+
+ source_recycling = source_recycling->next;
+ }
+ }
+
+ /* add new */
+ if(new_start_changed_region != NULL){
+ source_recycling = new_start_changed_region;
+
+ while(source_recycling != new_end_changed_region->next){
+ recall_recycling = g_object_new(AGS_RECALL(recall_channel_run)->child_type,
+ "devout\0", AGS_RECALL(recall_channel_run)->devout,
+ "recall_id\0", AGS_RECALL(recall_channel_run)->recall_id,
+ "audio_channel\0", recall_channel_run->audio_channel,
+ "source\0", source_recycling,
+ "destination\0", NULL,
+ NULL);
+
+ ags_recall_add_child(AGS_RECALL(recall_channel_run), AGS_RECALL(recall_recycling));
+
+ source_recycling = source_recycling->next;
+ }
+ }
+}
+
+void
+ags_recall_channel_run_remap_child_destination(AgsRecallChannelRun *recall_channel_run,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region)
+{
+ AgsRecycling *destination_recycling, *source_recycling;
+ AgsRecallRecycling *recall_recycling;
+ GList *list;
+
+ if(recall_channel_run->source == NULL ||
+ AGS_RECALL(recall_channel_run)->child_type == G_TYPE_NONE ||
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_channel_run)->flags)) != 0){
+ return;
+ }
+
+ /* remove old */
+ if(old_start_changed_region != NULL){
+ AgsDevout *devout;
+ AgsRecall *recall;
+ AgsCancelRecall *cancel_recall;
+
+ devout = AGS_DEVOUT(AGS_AUDIO(recall_channel_run->source->audio)->devout);
+ destination_recycling = old_start_changed_region;
+
+ while(destination_recycling != old_end_changed_region->next){
+ list = ags_recall_get_children(AGS_RECALL(recall_channel_run));
+
+ while(list != NULL){
+ if(AGS_RECALL_RECYCLING(list->data)->destination == destination_recycling){
+ recall = AGS_RECALL(list->data);
+
+ recall->flags |= AGS_RECALL_HIDE;
+ cancel_recall = ags_cancel_recall_new(recall,
+ NULL);
+
+ ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ (AgsTask *) cancel_recall);
+ }
+
+ list = list->next;
+ }
+
+ destination_recycling = destination_recycling->next;
+ }
+ }
+
+ /* add new */
+ if(new_start_changed_region != NULL){
+ if(recall_channel_run->source != NULL){
+ if(recall_channel_run->source->first_recycling == NULL)
+ return;
+
+ destination_recycling = new_start_changed_region;
+
+ while(destination_recycling != new_end_changed_region->next){
+ source_recycling = recall_channel_run->source->first_recycling;
+
+ while(source_recycling != recall_channel_run->source->last_recycling->next){
+ recall_recycling = g_object_new(AGS_RECALL(recall_channel_run)->child_type,
+ "devout\0", AGS_RECALL(recall_channel_run)->devout,
+ "recall_id\0", AGS_RECALL(recall_channel_run)->recall_id,
+ "audio_channel\0", recall_channel_run->audio_channel,
+ "source\0", source_recycling,
+ "destination\0", destination_recycling,
+ NULL);
+
+ ags_recall_add_child(AGS_RECALL(recall_channel_run), AGS_RECALL(recall_recycling));
+
+ source_recycling = source_recycling->next;
+ }
+
+ destination_recycling = destination_recycling->next;
+ }
+ }
+ }
+}
+
+void
+ags_recall_channel_run_source_recycling_changed_callback(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region,
+ AgsRecallChannelRun *recall_channel_run)
+{
+ /* empty */
+}
+
+
+void
+ags_recall_channel_run_destination_recycling_changed_callback(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region,
+ AgsRecallChannelRun *recall_channel_run)
+{
+ /* empty */
+}
+
+void
+ags_recall_channel_run_real_run_order_changed(AgsRecallChannelRun *recall_channel_run,
+ guint run_order)
+{
+ recall_channel_run->run_order = run_order;
+}
+
+/**
+ * ags_recall_channel_run_run_order_changed:
+ * @recall_channel_run: an #AgsRecallChannelRun
+ * @run_order: the run order
+ *
+ * Modify run order.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_channel_run_run_order_changed(AgsRecallChannelRun *recall_channel_run,
+ guint run_order)
+{
+ g_return_if_fail(AGS_IS_RECALL(recall_channel_run));
+
+ g_object_ref(G_OBJECT(recall_channel_run));
+ g_signal_emit(G_OBJECT(recall_channel_run),
+ recall_channel_run_signals[RUN_ORDER_CHANGED], 0,
+ run_order);
+ g_object_unref(G_OBJECT(recall_channel_run));
+}
+
+/**
+ * ags_recall_channel_run_new:
+ *
+ * Creates an #AgsRecallChannelRun
+ *
+ * Returns: a new #AgsRecallChannelRun
+ *
+ * Since: 0.4
+ */
+AgsRecallChannelRun*
+ags_recall_channel_run_new()
+{
+ AgsRecallChannelRun *recall_channel_run;
+
+ recall_channel_run = (AgsRecallChannelRun *) g_object_new(AGS_TYPE_RECALL_CHANNEL_RUN, NULL);
+
+ return(recall_channel_run);
+}
diff --git a/src/ags/audio/ags_recall_channel_run.h b/src/ags/audio/ags_recall_channel_run.h
new file mode 100644
index 0000000..6673478
--- /dev/null
+++ b/src/ags/audio/ags_recall_channel_run.h
@@ -0,0 +1,77 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_CHANNEL_RUN_H__
+#define __AGS_RECALL_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+
+#define AGS_TYPE_RECALL_CHANNEL_RUN (ags_recall_channel_run_get_type())
+#define AGS_RECALL_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CHANNEL_RUN, AgsRecallChannelRun))
+#define AGS_RECALL_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CHANNEL_RUN, AgsRecallChannelRunClass))
+#define AGS_IS_RECALL_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_CHANNEL_RUN))
+#define AGS_IS_RECALL_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_CHANNEL_RUN))
+#define AGS_RECALL_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_CHANNEL_RUN, AgsRecallChannelRunClass))
+
+typedef struct _AgsRecallChannelRun AgsRecallChannelRun;
+typedef struct _AgsRecallChannelRunClass AgsRecallChannelRunClass;
+
+struct _AgsRecallChannelRun
+{
+ AgsRecall recall;
+
+ guint audio_channel;
+
+ AgsRecallChannel *recall_channel;
+ AgsRecallAudioRun *recall_audio_run;
+
+ AgsChannel *destination;
+ gulong destination_recycling_changed_handler;
+ gulong changed_output_handler;
+
+ AgsChannel *source;
+ gulong source_recycling_changed_handler;
+
+ guint run_order;
+};
+
+struct _AgsRecallChannelRunClass
+{
+ AgsRecallClass recall;
+
+ void (*run_order_changed)(AgsRecallChannelRun *recall_channel_run, guint nth_run);
+};
+
+GType ags_recall_channel_run_get_type();
+
+void ags_recall_channel_run_run_order_changed(AgsRecallChannelRun *recall_channel_run,
+ guint run_order);
+
+guint ags_recall_channel_run_get_run_order(AgsRecallChannelRun *recall_channel_run);
+
+AgsRecallChannelRun* ags_recall_channel_run_new();
+
+#endif /*__AGS_RECALL_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/ags_recall_channel_run_dummy.c b/src/ags/audio/ags_recall_channel_run_dummy.c
new file mode 100644
index 0000000..ef88014
--- /dev/null
+++ b/src/ags/audio/ags_recall_channel_run_dummy.c
@@ -0,0 +1,355 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_channel_run_dummy.h>
+#include <ags/audio/ags_recall_recycling_dummy.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+#include <libxml/tree.h>
+
+void ags_recall_channel_run_dummy_class_init(AgsRecallChannelRunDummyClass *recall_channel_run_dummy);
+void ags_recall_channel_run_dummy_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_channel_run_dummy_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_recall_channel_run_dummy_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_recall_channel_run_dummy_init(AgsRecallChannelRunDummy *recall_channel_run_dummy);
+void ags_recall_channel_run_dummy_connect(AgsConnectable *connectable);
+void ags_recall_channel_run_dummy_disconnect(AgsConnectable *connectable);
+void ags_recall_channel_run_dummy_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_channel_run_dummy_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_channel_run_dummy_finalize(GObject *gobject);
+
+void ags_recall_channel_run_dummy_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_recall_channel_run_dummy_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+AgsRecall* ags_recall_channel_run_dummy_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_recall_channel_run_dummy
+ * @short_description: channel dummy dynamic context of recall
+ * @title: AgsRecallChannelRunDummy
+ * @section_id:
+ * @include: ags/audio/ags_recall_channel_run_dummy.h
+ *
+ * #AgsRecallChannelRunDummy acts as channel dummy dynamic recall.
+ */
+
+static gpointer ags_recall_channel_run_dummy_parent_class = NULL;
+static AgsConnectableInterface *ags_recall_channel_run_dummy_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_recall_channel_run_dummy_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_recall_channel_run_dummy_parent_plugin_interface;
+
+GType
+ags_recall_channel_run_dummy_get_type()
+{
+ static GType ags_type_recall_channel_run_dummy = 0;
+
+ if(!ags_type_recall_channel_run_dummy){
+ static const GTypeInfo ags_recall_channel_run_dummy_info = {
+ sizeof (AgsRecallChannelRunDummyClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_channel_run_dummy_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallChannelRunDummy),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_channel_run_dummy_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_run_dummy_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_run_dummy_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_recall_channel_run_dummy_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_channel_run_dummy = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsRecallChannelRunDummy\0",
+ &ags_recall_channel_run_dummy_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_channel_run_dummy,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_channel_run_dummy,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_channel_run_dummy,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_recall_channel_run_dummy);
+}
+
+void
+ags_recall_channel_run_dummy_class_init(AgsRecallChannelRunDummyClass *recall_channel_run_dummy)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_recall_channel_run_dummy_parent_class = g_type_class_peek_parent(recall_channel_run_dummy);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_channel_run_dummy;
+
+ gobject->finalize = ags_recall_channel_run_dummy_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_channel_run_dummy;
+
+ recall->duplicate = ags_recall_channel_run_dummy_duplicate;
+}
+
+void
+ags_recall_channel_run_dummy_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recall_channel_run_dummy_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_channel_run_dummy_connect;
+ connectable->disconnect = ags_recall_channel_run_dummy_disconnect;
+}
+
+void
+ags_recall_channel_run_dummy_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_recall_channel_run_dummy_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_recall_channel_run_dummy_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_recall_channel_run_dummy_disconnect_dynamic;
+}
+
+void
+ags_recall_channel_run_dummy_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_recall_channel_run_dummy_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->read = ags_recall_channel_run_dummy_read;
+ plugin->write = ags_recall_channel_run_dummy_write;
+}
+
+void
+ags_recall_channel_run_dummy_init(AgsRecallChannelRunDummy *recall_channel_run_dummy)
+{
+ AGS_RECALL(recall_channel_run_dummy)->name = "ags-dummy";
+ AGS_RECALL(recall_channel_run_dummy)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(recall_channel_run_dummy)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(recall_channel_run_dummy)->xml_type = "ags-recall-channel-run-dummy\0";
+ AGS_RECALL(recall_channel_run_dummy)->port = NULL;
+
+ AGS_RECALL(recall_channel_run_dummy)->flags |= (AGS_RECALL_INPUT_ORIENTATED |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION);
+ AGS_RECALL(recall_channel_run_dummy)->child_type = AGS_TYPE_RECALL_RECYCLING_DUMMY;
+}
+
+void
+ags_recall_channel_run_dummy_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_channel_run_dummy_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_channel_run_dummy_connect(AgsConnectable *connectable)
+{
+ AgsRecallChannelRun *recall_channel_run;
+ GObject *gobject;
+
+ /* call parent */
+ ags_recall_channel_run_dummy_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_channel_run_dummy_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_recall_channel_run_dummy_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_channel_run_dummy_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_recall_channel_run_dummy_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_channel_run_dummy_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsChannel *channel;
+ AgsRecallChannelRunDummy *recall_channel_run_dummy;
+
+ ags_recall_channel_run_dummy_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_recall_channel_run_dummy_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecallChannelRunDummy *recall_channel_run_dummy, *copy;
+ GList *recycling_dummy;
+
+ recall_channel_run_dummy = (AgsRecallChannelRunDummy *) recall;
+ copy = (AgsRecallChannelRunDummy *) AGS_RECALL_CLASS(ags_recall_channel_run_dummy_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+ AGS_RECALL(copy)->child_type = recall->child_type;
+ copy->recycling_dummy_child_type = recall_channel_run_dummy->recycling_dummy_child_type;
+
+ recycling_dummy = AGS_RECALL(copy)->children;
+
+ while(recycling_dummy != NULL){
+ AGS_RECALL(recycling_dummy->data)->child_type = recall_channel_run_dummy->recycling_dummy_child_type;
+
+ recycling_dummy = recycling_dummy->next;
+ }
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_recall_channel_run_dummy_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsRecallChannelRunDummy *gobject;
+
+ gobject = AGS_RECALL_CHANNEL_RUN_DUMMY(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->recycling_dummy_child_type = g_type_from_name(xmlGetProp(node,
+ "recycling-child-type\0"));
+}
+
+xmlNode*
+ags_recall_channel_run_dummy_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsRecallChannelRunDummy *recall_channel_run_dummy;
+ xmlNode *node;
+ gchar *id;
+
+ recall_channel_run_dummy = AGS_RECALL_CHANNEL_RUN_DUMMY(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-channel-run-dummy\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_channel_run_dummy,
+ NULL));
+
+ xmlNewProp(node,
+ "recycling-child-type\0",
+ g_strdup(g_type_name(recall_channel_run_dummy->recycling_dummy_child_type)));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+/**
+ * ags_recall_channel_run_dummy_new:
+ * @source: the source #AgsChannel
+ * @child_type: child type
+ * @recycling_dummy_child_type: recycling child type
+ *
+ * Creates an #AgsRecallChannelRunDummy.
+ *
+ * Returns: a new #AgsRecallChannelRunDummy.
+ *
+ * Since: 0.4
+ */
+AgsRecallChannelRunDummy*
+ags_recall_channel_run_dummy_new(AgsChannel *source,
+ GType child_type,
+ GType recycling_dummy_child_type)
+{
+ AgsRecallChannelRunDummy *recall_channel_run_dummy;
+
+ recall_channel_run_dummy = (AgsRecallChannelRunDummy *) g_object_new(AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY,
+ "source\0", source,
+ NULL);
+
+ AGS_RECALL(recall_channel_run_dummy)->child_type = child_type;
+ recall_channel_run_dummy->recycling_dummy_child_type = recycling_dummy_child_type;
+
+ return(recall_channel_run_dummy);
+}
diff --git a/src/ags/audio/ags_recall_channel_run_dummy.h b/src/ags/audio/ags_recall_channel_run_dummy.h
new file mode 100644
index 0000000..7906577
--- /dev/null
+++ b/src/ags/audio/ags_recall_channel_run_dummy.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_CHANNEL_RUN_DUMMY_H__
+#define __AGS_RECALL_CHANNEL_RUN_DUMMY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#define AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY (ags_recall_channel_run_dummy_get_type())
+#define AGS_RECALL_CHANNEL_RUN_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY, AgsRecallChannelRunDummy))
+#define AGS_RECALL_CHANNEL_RUN_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY, AgsRecallChannelRunDummyClass))
+#define AGS_IS_RECALL_CHANNEL_RUN_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY))
+#define AGS_IS_RECALL_CHANNEL_RUN_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY))
+#define AGS_RECALL_CHANNEL_RUN_DUMMY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_CHANNEL_RUN_DUMMY, AgsRecallChannelRunDummyClass))
+
+typedef struct _AgsRecallChannelRunDummy AgsRecallChannelRunDummy;
+typedef struct _AgsRecallChannelRunDummyClass AgsRecallChannelRunDummyClass;
+
+struct _AgsRecallChannelRunDummy
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ GType recycling_dummy_child_type;
+};
+
+struct _AgsRecallChannelRunDummyClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_recall_channel_run_dummy_get_type();
+
+AgsRecallChannelRunDummy* ags_recall_channel_run_dummy_new(AgsChannel *source,
+ GType child_type,
+ GType recycling_dummy_child_type);
+
+#endif /*__AGS_RECALL_CHANNEL_RUN_DUMMY_H__*/
+
diff --git a/src/ags/audio/ags_recall_container.c b/src/ags/audio/ags_recall_container.c
new file mode 100644
index 0000000..7197d48
--- /dev/null
+++ b/src/ags/audio/ags_recall_container.c
@@ -0,0 +1,626 @@
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/lib/ags_list.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_packable.h>
+
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/recall/ags_play_notation_audio_run.h>
+
+void ags_recall_container_class_init(AgsRecallContainerClass *recall_class);
+void ags_recall_container_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_container_init(AgsRecallContainer *recall);
+void ags_recall_container_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_container_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_container_connect(AgsConnectable *connectable);
+void ags_recall_container_disconnect(AgsConnectable *connectable);
+void ags_recall_container_finalize(GObject *recall);
+
+/**
+ * SECTION:ags_recall_container
+ * @short_description: Container to group recalls
+ * @title: AgsRecallContainer
+ * @section_id:
+ * @include: ags/audio/ags_recall_container.h
+ *
+ * #AgsRecallContainer groups recalls of different context.
+ */
+
+enum{
+ PROP_0,
+ PROP_RECALL_AUDIO_TYPE,
+ PROP_RECALL_AUDIO,
+ PROP_RECALL_AUDIO_RUN_TYPE,
+ PROP_RECALL_AUDIO_RUN,
+ PROP_RECALL_CHANNEL_TYPE,
+ PROP_RECALL_CHANNEL,
+ PROP_RECALL_CHANNEL_RUN_TYPE,
+ PROP_RECALL_CHANNEL_RUN,
+};
+
+static gpointer ags_recall_container_parent_class = NULL;
+
+GType
+ags_recall_container_get_type (void)
+{
+ static GType ags_type_recall_container = 0;
+
+ if(!ags_type_recall_container){
+ static const GTypeInfo ags_recall_container_info = {
+ sizeof (AgsRecallContainerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_container_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallContainer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_container_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_container_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_container = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRecallContainer\0",
+ &ags_recall_container_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_container,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_recall_container);
+}
+
+void
+ags_recall_container_class_init(AgsRecallContainerClass *recall_container)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_recall_container_parent_class = g_type_class_peek_parent(recall_container);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_container;
+
+ gobject->finalize = ags_recall_container_finalize;
+
+ gobject->set_property = ags_recall_container_set_property;
+ gobject->get_property = ags_recall_container_get_property;
+
+ /* properties */
+ /**
+ * RecallContainer:recall-audio-type:
+ *
+ * The associated recall type within audio context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_gtype("recall-audio-type\0",
+ "audio level recall type\0",
+ "The recall type which this recall container has on audio level\0",
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_AUDIO_TYPE,
+ param_spec);
+
+ /**
+ * RecallContainer:recall-audio:
+ *
+ * The associated recall within audio context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall-audio\0",
+ "audio level recall\0",
+ "The recall which this recall container has on audio level\0",
+ AGS_TYPE_RECALL_AUDIO,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_AUDIO,
+ param_spec);
+
+ /**
+ * RecallContainer:recall-audio-run-type:
+ *
+ * The associated recall type within dynamic audio context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_gtype("recall-audio-run-type\0",
+ "audio runlevel recall type\0",
+ "The recall type which this recall container has on audio level during a run\0",
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_AUDIO_RUN_TYPE,
+ param_spec);
+
+ /**
+ * RecallContainer:recall-audio-run:
+ *
+ * The associated recall within dynamic audio context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall-audio-run\0",
+ "audio runlevel recall\0",
+ "The recall which this recall container has on audio level during a run\0",
+ AGS_TYPE_RECALL_AUDIO_RUN,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_AUDIO_RUN,
+ param_spec);
+
+ /**
+ * RecallContainer:recall-channel-type:
+ *
+ * The associated recall type within channel context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_gtype("recall-channel-type\0",
+ "channel level recall type\0",
+ "The recall type which this recall container has on channel level\0",
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_CHANNEL_TYPE,
+ param_spec);
+
+ /**
+ * RecallContainer:recall-channel:
+ *
+ * The associated recall within channel context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall-channel\0",
+ "channel level recall\0",
+ "The recall which this recall container has on channel level\0",
+ AGS_TYPE_RECALL_CHANNEL,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_CHANNEL,
+ param_spec);
+
+ /**
+ * RecallContainer:recall-channel-run-type:
+ *
+ * The associated recall type within dynamic channel context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_gtype("recall_channel_run_type\0",
+ "channel runlevel recall type\0",
+ "The recall type which this recall container has on audio level during a run\0",
+ G_TYPE_NONE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_CHANNEL_RUN_TYPE,
+ param_spec);
+
+ /**
+ * RecallContainer:recall-audio-run:
+ *
+ * The associated recall within dynamic channel context.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall_channel_run\0",
+ "channel runlevel recall\0",
+ "The recall which this recall container has on audio level during a run\0",
+ AGS_TYPE_RECALL_CHANNEL_RUN,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_CHANNEL_RUN,
+ param_spec);
+}
+
+void
+ags_recall_container_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_recall_container_connect;
+ connectable->disconnect = ags_recall_container_disconnect;
+}
+
+void
+ags_recall_container_init(AgsRecallContainer *recall_container)
+{
+ recall_container->flags = 0;
+
+ recall_container->recall_audio = NULL;
+ recall_container->recall_audio_run = NULL;
+ recall_container->recall_channel = NULL;
+ recall_container->recall_channel_run = NULL;
+}
+
+void
+ags_recall_container_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallContainer *recall_container;
+
+ recall_container = AGS_RECALL_CONTAINER(gobject);
+
+ switch(prop_id){
+ case PROP_RECALL_AUDIO_TYPE:
+ {
+ GType recall_audio_type;
+
+ recall_audio_type = (GType) g_value_get_gtype(value);
+
+ recall_container->recall_audio_type = recall_audio_type;
+ }
+ break;
+ case PROP_RECALL_AUDIO:
+ {
+ AgsRecallAudio *recall_audio;
+
+ recall_audio = (AgsRecallAudio *) g_value_get_object(value);
+
+ if(recall_container->recall_audio == recall_audio)
+ return;
+
+ if(recall_container->recall_audio != NULL){
+ g_object_unref(G_OBJECT(recall_container->recall_audio));
+ }
+
+ if(recall_audio != NULL){
+ g_object_ref(G_OBJECT(recall_audio));
+ }
+
+ recall_container->recall_audio = recall_audio;
+ }
+ break;
+ case PROP_RECALL_AUDIO_RUN_TYPE:
+ {
+ GType recall_audio_run_type;
+
+ recall_audio_run_type = g_value_get_gtype(value);
+
+ recall_container->recall_audio_run_type = recall_audio_run_type;
+ }
+ break;
+ case PROP_RECALL_AUDIO_RUN:
+ {
+ AgsRecallAudioRun *recall_audio_run;
+
+ recall_audio_run = (AgsRecallAudioRun *) g_value_get_object(value);
+
+ if(recall_audio_run == NULL ||
+ g_list_find(recall_container->recall_audio_run, recall_audio_run) != NULL)
+ return;
+
+ if(recall_audio_run != NULL){
+ g_object_ref(G_OBJECT(recall_audio_run));
+ }
+
+ recall_container->recall_audio_run = g_list_prepend(recall_container->recall_audio_run, recall_audio_run);
+ }
+ break;
+ case PROP_RECALL_CHANNEL_TYPE:
+ {
+ GType recall_channel_type;
+
+ recall_channel_type = (GType) g_value_get_gtype(value);
+
+ recall_container->recall_channel_type = recall_channel_type;
+ }
+ break;
+ case PROP_RECALL_CHANNEL:
+ {
+ AgsRecallChannel *recall_channel;
+
+ recall_channel = (AgsRecallChannel *) g_value_get_object(value);
+
+ if(recall_channel == NULL ||
+ g_list_find(recall_container->recall_channel, recall_channel) != NULL)
+ return;
+
+ g_object_ref(G_OBJECT(recall_channel));
+
+ recall_container->recall_channel = g_list_prepend(recall_container->recall_channel, recall_channel);
+ }
+ break;
+ case PROP_RECALL_CHANNEL_RUN_TYPE:
+ {
+ GType recall_channel_run_type;
+
+ recall_channel_run_type = (GType) g_value_get_gtype(value);
+
+ recall_container->recall_channel_run_type = recall_channel_run_type;
+ }
+ break;
+ case PROP_RECALL_CHANNEL_RUN:
+ {
+ AgsRecallChannelRun *recall_channel_run;
+
+ recall_channel_run = (AgsRecallChannelRun *) g_value_get_object(value);
+
+ if(recall_channel_run == NULL ||
+ g_list_find(recall_container->recall_channel_run, recall_channel_run) != NULL)
+ return;
+
+ g_object_ref(G_OBJECT(recall_channel_run));
+
+ recall_container->recall_channel_run = g_list_prepend(recall_container->recall_channel_run, recall_channel_run);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_container_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallContainer *recall_container;
+
+ recall_container = AGS_RECALL_CONTAINER(gobject);
+
+ switch(prop_id){
+ case PROP_RECALL_AUDIO_TYPE:
+ g_value_set_gtype(value, recall_container->recall_audio_type);
+ break;
+ case PROP_RECALL_AUDIO_RUN_TYPE:
+ g_value_set_gtype(value, recall_container->recall_audio_run_type);
+ break;
+ case PROP_RECALL_CHANNEL_TYPE:
+ g_value_set_gtype(value, recall_container->recall_channel_type);
+ break;
+ case PROP_RECALL_CHANNEL_RUN_TYPE:
+ g_value_set_gtype(value, recall_container->recall_channel_run_type);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_container_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_recall_container_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_recall_container_finalize(GObject *gobject)
+{
+ AgsRecallContainer *container;
+ GList *list, *list_next;
+
+ container = AGS_RECALL_CONTAINER(gobject);
+
+ ags_packable_unpack(AGS_PACKABLE(container->recall_audio));
+
+ list = container->recall_audio_run;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ ags_packable_unpack(AGS_PACKABLE(container->recall_audio_run));
+
+ list = list_next;
+ }
+
+ list = container->recall_channel;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ ags_packable_unpack(AGS_PACKABLE(container->recall_channel));
+
+ list = list_next;
+ }
+
+ list = container->recall_channel_run;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ ags_packable_unpack(AGS_PACKABLE(container->recall_channel_run));
+
+ list = list_next;
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_container_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_recall_container_get_recall_audio:
+ * @container: the #AgsRecallContainer
+ *
+ * Retrieve recall audio of container.
+ *
+ * Returns: the #AgsRecallAudio
+ *
+ * Since: 0.4
+ */
+AgsRecall*
+ags_recall_container_get_recall_audio(AgsRecallContainer *container)
+{
+ return(container->recall_audio);
+}
+
+/**
+ * ags_recall_container_get_recall_audio_run:
+ * @container: the #AgsRecallContainer
+ *
+ * Retrieve recall audio run of container.
+ *
+ * Returns: the #AgsRecallAudioRun as list
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_container_get_recall_audio_run(AgsRecallContainer *container)
+{
+ return(container->recall_audio_run);
+}
+
+/**
+ * ags_recall_container_get_recall_channel:
+ * @container: the #AgsRecallContainer
+ *
+ * Retrieve the recall channel of container.
+ *
+ * Returns: the #AgsRecallChannel
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_container_get_recall_channel(AgsRecallContainer *container)
+{
+ return(container->recall_channel);
+}
+
+/**
+ * ags_recall_container_get_recall_channel_run:
+ * @container: the #AgsRecallContainer
+ *
+ * Retrieve the recall channel run of container.
+ *
+ * Returns: the #AgsRecall
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_container_get_recall_channel_run(AgsRecallContainer *container)
+{
+ return(container->recall_channel_run);
+}
+
+/**
+ * ags_recall_container_find:
+ * @recall_container: the #AgsRecallContainer
+ * @type: recall type
+ * @find_flags: search mask
+ * @recall_id: an #AgsRecallID
+ *
+ * Finds #AgsRecall for appropriate search criteria.
+ *
+ * Returns: the matching recalls
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_container_find(GList *recall_container,
+ GType type,
+ guint find_flags,
+ AgsRecallID *recall_id)
+{
+ AgsRecallContainer *current;
+ AgsRecall *recall;
+ guint mode;
+
+ if(g_type_is_a(type, AGS_TYPE_RECALL_AUDIO)){
+ mode = 0;
+ }else if(g_type_is_a(type, AGS_TYPE_RECALL_AUDIO_RUN)){
+ mode = 1;
+ }else if(g_type_is_a(type, AGS_TYPE_RECALL_CHANNEL)){
+ mode = 2;
+ }else if(g_type_is_a(type, AGS_TYPE_RECALL_CHANNEL_RUN)){
+ mode = 3;
+ }else{
+ g_message("ags_recall_container_find: invalid type\n\0");
+ return(NULL);
+ }
+
+ while(recall_container != NULL){
+ current = AGS_RECALL_CONTAINER(recall_container->data);
+
+ if(mode == 0){
+ recall = ags_recall_container_get_recall_audio(current);
+ }else if(mode == 1){
+ GList *list;
+
+ list = ags_recall_container_get_recall_audio_run(current);
+
+ if(list == NULL)
+ recall = NULL;
+ else
+ recall = AGS_RECALL(list->data);
+ }else if(mode == 2){
+ GList *list;
+
+ list = ags_recall_container_get_recall_channel(current);
+
+ if(list == NULL)
+ recall = NULL;
+ else
+ recall = AGS_RECALL(list->data);
+ }else if(mode == 3){
+ GList *list;
+
+ list = ags_recall_container_get_recall_channel_run(current);
+
+ if(list == NULL)
+ recall = NULL;
+ else
+ recall = AGS_RECALL(list->data);
+ }
+
+ if(recall != NULL){
+ if(((AGS_RECALL_CONTAINER_FIND_TYPE & find_flags) == 0 || G_OBJECT_TYPE(recall) == type) &&
+ ((AGS_RECALL_CONTAINER_FIND_TEMPLATE & find_flags) == 0 || (AGS_RECALL_TEMPLATE & (recall->flags)) != 0) &&
+ ((AGS_RECALL_CONTAINER_FIND_RECALL_ID & find_flags) == 0 || (recall->recall_id != NULL && recall->recall_id == recall_id))){
+ break;
+ }
+ }
+
+ recall_container = recall_container->next;
+ }
+
+ return(recall_container);
+}
+
+/**
+ * ags_recall_container_new:
+ *
+ * Creates an #AgsRecallContainer
+ *
+ * Returns: a new #AgsRecallContainer
+ *
+ * Since: 0.4
+ */
+AgsRecallContainer*
+ags_recall_container_new()
+{
+ AgsRecallContainer *recall_container;
+
+ recall_container = (AgsRecallContainer *) g_object_new(AGS_TYPE_RECALL_CONTAINER,
+ NULL);
+
+ return(recall_container);
+}
diff --git a/src/ags/audio/ags_recall_container.h b/src/ags/audio/ags_recall_container.h
new file mode 100644
index 0000000..c9508b7
--- /dev/null
+++ b/src/ags/audio/ags_recall_container.h
@@ -0,0 +1,85 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_CONTAINER_H__
+#define __AGS_RECALL_CONTAINER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+#define AGS_TYPE_RECALL_CONTAINER (ags_recall_container_get_type())
+#define AGS_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainer))
+#define AGS_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainerClass))
+#define AGS_IS_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_CONTAINER))
+#define AGS_IS_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_CONTAINER))
+#define AGS_RECALL_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_CONTAINER, AgsRecallContainerClass))
+
+typedef struct _AgsRecallContainer AgsRecallContainer;
+typedef struct _AgsRecallContainerClass AgsRecallContainerClass;
+
+typedef enum{
+ AGS_RECALL_CONTAINER_PLAY = 1,
+}AgsRecallContainerFlags;
+
+typedef enum{
+ AGS_RECALL_CONTAINER_FIND_TYPE,
+ AGS_RECALL_CONTAINER_FIND_TEMPLATE,
+ AGS_RECALL_CONTAINER_FIND_RECALL_ID,
+}AgsRecallContainerFindFlags;
+
+struct _AgsRecallContainer
+{
+ GObject object;
+
+ guint flags;
+
+ GType recall_audio_type;
+ AgsRecall *recall_audio;
+
+ GType recall_audio_run_type;
+ GList *recall_audio_run;
+
+ GType recall_channel_type;
+ GList *recall_channel;
+
+ GType recall_channel_run_type;
+ GList *recall_channel_run;
+};
+
+struct _AgsRecallContainerClass
+{
+ GObjectClass object;
+};
+
+GType ags_recall_container_get_type();
+
+AgsRecall* ags_recall_container_get_recall_audio(AgsRecallContainer *container);
+GList* ags_recall_container_get_recall_audio_run(AgsRecallContainer *container);
+GList* ags_recall_container_get_recall_channel(AgsRecallContainer *container);
+GList* ags_recall_container_get_recall_channel_run(AgsRecallContainer *container);
+
+GList* ags_recall_container_find(GList *recall_container,
+ GType type,
+ guint find_flags,
+ AgsRecallID *recall_id);
+
+AgsRecallContainer* ags_recall_container_new();
+
+#endif /*__AGS_RECALL_CONTAINER_H__*/
diff --git a/src/ags/audio/ags_recall_dependency.c b/src/ags/audio/ags_recall_dependency.c
new file mode 100644
index 0000000..dfa2504
--- /dev/null
+++ b/src/ags/audio/ags_recall_dependency.c
@@ -0,0 +1,301 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_dependency.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <stdio.h>
+
+void ags_recall_dependency_class_init(AgsRecallDependencyClass *recall_dependency);
+void ags_recall_dependency_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_dependency_init(AgsRecallDependency *recall_dependency);
+void ags_recall_dependency_connect(AgsConnectable *connectable);
+void ags_recall_dependency_disconnect(AgsConnectable *connectable);
+void ags_recall_dependency_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_recall_dependency
+ * @short_description: Object specifing dependency
+ * @title: AgsRecallDependency
+ * @section_id:
+ * @include: ags/audio/ags_recall_dependency.h
+ *
+ * #AgsRecallDependency specifies dependencies on other recalls. Dependencies
+ * are resolved during initialization.
+ */
+
+static gpointer ags_recall_dependency_parent_class = NULL;
+
+GType
+ags_recall_dependency_get_type(void)
+{
+ static GType ags_type_recall_dependency = 0;
+
+ if(!ags_type_recall_dependency){
+ static const GTypeInfo ags_recall_dependency_info = {
+ sizeof (AgsRecallDependencyClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_dependency_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallDependency),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_dependency_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_dependency_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_dependency = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRecallDependency\0",
+ &ags_recall_dependency_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_dependency,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_recall_dependency);
+}
+
+void
+ags_recall_dependency_class_init(AgsRecallDependencyClass *recall_dependency)
+{
+ GObjectClass *gobject;
+
+ ags_recall_dependency_parent_class = g_type_class_peek_parent(recall_dependency);
+
+ gobject = (GObjectClass *) recall_dependency;
+ gobject->finalize = ags_recall_dependency_finalize;
+}
+
+void
+ags_recall_dependency_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_recall_dependency_connect;
+ connectable->disconnect = ags_recall_dependency_disconnect;
+}
+
+void
+ags_recall_dependency_init(AgsRecallDependency *recall_dependency)
+{
+ recall_dependency->dependency = NULL;
+}
+
+void
+ags_recall_dependency_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_recall_dependency_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_recall_dependency_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_recall_dependency_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_recall_dependency_find_dependency:
+ * @recall_dependencies: a #GList containing #AgsRecallDependency
+ * @dependency: the #AgsRecall depending on
+ *
+ * Retrieve dependency.
+ *
+ * Returns: Next match.
+ *
+ * Since: 0.4.0
+ */
+GList*
+ags_recall_dependency_find_dependency(GList *recall_dependencies, GObject *dependency)
+{
+ AgsRecallDependency *recall_dependency;
+
+ while(recall_dependencies != NULL){
+ recall_dependency = AGS_RECALL_DEPENDENCY(recall_dependencies->data);
+
+ if(recall_dependency->dependency == dependency){
+ return(recall_dependencies);
+ }
+
+ recall_dependencies = recall_dependencies->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_dependency_find_dependency_by_provider:
+ * @recall_dependencies: a #GList containing #AgsRecallDependency
+ * @provider: the object providing recall, like #AgsAudio or #AgsChannel
+ *
+ * Retrieve dependency by provider.
+ *
+ * Returns: Next match.
+ *
+ * Since: 0.4.0
+ */
+GList*
+ags_recall_dependency_find_dependency_by_provider(GList *recall_dependencies,
+ GObject *provider)
+{
+ AgsRecallDependency *recall_dependency;
+
+ while(recall_dependencies != NULL){
+ recall_dependency = AGS_RECALL_DEPENDENCY(recall_dependencies->data);
+
+ if((AGS_IS_CHANNEL(provider) &&
+ AGS_IS_RECALL_CHANNEL_RUN(recall_dependency->dependency) &&
+ (AGS_RECALL_CHANNEL_RUN(recall_dependency->dependency)->source == AGS_CHANNEL(provider))) ||
+ (AGS_IS_AUDIO(provider) &&
+ AGS_IS_RECALL_AUDIO_RUN(recall_dependency->dependency) &&
+ (AGS_RECALL_AUDIO_RUN(recall_dependency->dependency)->recall_audio->audio == AGS_AUDIO(provider)))){
+ return(recall_dependencies);
+ }
+
+ recall_dependencies = recall_dependencies->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_dependency_resolve:
+ * @recall_dependeny: an #AgsRecallDependency
+ * @recall_id: the #AgsRecallID refering to
+ *
+ * Resolve dependency.
+ *
+ * Returns: the #AgsRecall dependency.
+ *
+ * Since: 0.4.0
+ */
+GObject*
+ags_recall_dependency_resolve(AgsRecallDependency *recall_dependency, AgsRecallID *recall_id)
+{
+ AgsRecallContainer *recall_container;
+ AgsRecall *dependency;
+
+ if(recall_dependency->dependency == NULL ||
+ AGS_RECALL(recall_dependency->dependency)->container == NULL){
+ g_message("dependency resolve: container == NULL");
+ return(NULL);
+ }
+
+ dependency = AGS_RECALL(recall_dependency->dependency);
+ recall_container = AGS_RECALL_CONTAINER(dependency->container);
+
+ if(AGS_IS_RECALL_AUDIO(dependency)){
+ return((GObject *) recall_container->recall_audio);
+ }else if(AGS_IS_RECALL_AUDIO_RUN(dependency)){
+ GList *recall_list;
+
+ if(recall_id == NULL){
+ g_message("dependency resolve: recall_id == NULL");
+ return(NULL);
+ }
+
+ recall_list = ags_recall_find_recycling_container(recall_container->recall_audio_run,
+ recall_id->recycling_container);
+
+ if(recall_list != NULL){
+ return(G_OBJECT(recall_list->data));
+ }else{
+ recall_list = ags_recall_find_recycling_container(recall_container->recall_audio_run,
+ recall_id->recycling_container->parent);
+
+ if(recall_list != NULL){
+ return(G_OBJECT(recall_list->data));
+ }
+ }
+ }else if(AGS_IS_RECALL_CHANNEL(dependency)){
+ GList *recall_list;
+
+ recall_list = ags_recall_find_provider(recall_container->recall_channel,
+ (GObject *) AGS_RECALL_CHANNEL(dependency)->source);
+
+ if(recall_list != NULL){
+ return(G_OBJECT(recall_list->data));
+ }
+ }else if(AGS_IS_RECALL_CHANNEL_RUN(dependency)){
+ GList *recall_list;
+
+ if(recall_id == NULL){
+ g_message("dependency resolve: recall_id == NULL");
+ return(NULL);
+ }
+
+ recall_list = ags_recall_find_provider_with_recycling_container(recall_container->recall_channel_run,
+ (GObject *) AGS_RECALL_CHANNEL_RUN(dependency)->recall_channel->source,
+ recall_id->recycling_container);
+
+ if(recall_list != NULL){
+ return(G_OBJECT(recall_list->data));
+ }else{
+ recall_list = ags_recall_find_provider_with_recycling_container(recall_container->recall_channel_run,
+ (GObject *) AGS_RECALL_CHANNEL_RUN(dependency)->recall_channel->source,
+ recall_id->recycling_container->parent);
+
+ if(recall_list != NULL){
+ return(G_OBJECT(recall_list->data));
+ }
+ }
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_dependency_new:
+ * @dependency: the #AgsRecall depending on
+ *
+ * Creates a #AgsRecallDependency
+ *
+ * Returns: a new #AgsRecallDependency
+ *
+ * Since: 0.4.0
+ */
+AgsRecallDependency*
+ags_recall_dependency_new(GObject *dependency)
+{
+ AgsRecallDependency *recall_dependency;
+
+ recall_dependency = (AgsRecallDependency *) g_object_new(AGS_TYPE_RECALL_DEPENDENCY,
+ NULL);
+
+ recall_dependency->dependency = dependency;
+
+ return(recall_dependency);
+}
diff --git a/src/ags/audio/ags_recall_dependency.h b/src/ags/audio/ags_recall_dependency.h
new file mode 100644
index 0000000..87863bc
--- /dev/null
+++ b/src/ags/audio/ags_recall_dependency.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_DEPENDENCY_H__
+#define __AGS_RECALL_DEPENDENCY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+#define AGS_TYPE_RECALL_DEPENDENCY (ags_recall_dependency_get_type ())
+#define AGS_RECALL_DEPENDENCY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AGS_TYPE_RECALL_DEPENDENCY, AgsRecallDependency))
+#define AGS_RECALL_DEPENDENCY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), AGS_TYPE_RECALL_DEPENDENCY, AgsRecallDependencyClass))
+#define AGS_IS_RECALL_DEPENDENCY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_DEPENDENCY))
+#define AGS_IS_RECALL_DEPENDENCY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_DEPENDENCY))
+#define AGS_RECALL_DEPENDENCY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_DEPENDENCY, AgsRecallDependencyClass))
+
+typedef struct _AgsRecallDependency AgsRecallDependency;
+typedef struct _AgsRecallDependencyClass AgsRecallDependencyClass;
+
+struct _AgsRecallDependency
+{
+ GObject object;
+
+ GObject *dependency;
+};
+
+struct _AgsRecallDependencyClass
+{
+ GObjectClass object;
+};
+
+GType ags_recall_dependency_get_type(void);
+
+GList* ags_recall_dependency_find_dependency(GList *recall_dependencies, GObject *dependency);
+GList* ags_recall_dependency_find_dependency_by_provider(GList *recall_dependencies,
+ GObject *provider);
+
+GObject* ags_recall_dependency_resolve(AgsRecallDependency *recall_dependency, AgsRecallID *recall_id);
+
+AgsRecallDependency* ags_recall_dependency_new(GObject *dependency);
+
+#endif /*__AGS_RECALL_DEPENDENCY_H__*/
diff --git a/src/ags/audio/ags_recall_factory.c b/src/ags/audio/ags_recall_factory.c
new file mode 100644
index 0000000..2f4acbd
--- /dev/null
+++ b/src/ags/audio/ags_recall_factory.c
@@ -0,0 +1,2364 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_factory.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_channel_run_dummy.h>
+#include <ags/audio/ags_recall_recycling_dummy.h>
+#include <ags/audio/ags_recall_ladspa.h>
+#include <ags/audio/ags_recall_ladspa_run.h>
+#include <ags/audio/ags_port.h>
+
+#include <ags/audio/recall/ags_play_audio.h>
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_channel_run_master.h>
+#include <ags/audio/recall/ags_play_channel_run.h>
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_loop_channel.h>
+#include <ags/audio/recall/ags_loop_channel_run.h>
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_channel_run.h>
+#include <ags/audio/recall/ags_copy_channel.h>
+#include <ags/audio/recall/ags_copy_channel_run.h>
+#include <ags/audio/recall/ags_stream_channel.h>
+#include <ags/audio/recall/ags_stream_channel_run.h>
+#include <ags/audio/recall/ags_buffer_channel.h>
+#include <ags/audio/recall/ags_buffer_channel_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+#include <ags/audio/recall/ags_play_notation_audio.h>
+#include <ags/audio/recall/ags_play_notation_audio_run.h>
+#include <ags/audio/recall/ags_peak_channel.h>
+#include <ags/audio/recall/ags_peak_channel_run.h>
+#include <ags/audio/recall/ags_volume_channel.h>
+#include <ags/audio/recall/ags_volume_channel_run.h>
+
+#include <string.h>
+
+void ags_recall_factory_class_init(AgsRecallFactoryClass *recall_factory_class);
+void ags_recall_factory_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_factory_init(AgsRecallFactory *recall_factory);
+void ags_recall_factory_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_factory_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_factory_connect(AgsConnectable *connectable);
+void ags_recall_factory_disconnect(AgsConnectable *connectable);
+
+GList* ags_recall_factory_create_play(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_play_master(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_copy(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_stream(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_buffer(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_delay(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_count_beats(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_loop(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_copy_pattern(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_play_notation(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_peak(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_volume(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+GList* ags_recall_factory_create_ladspa(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+
+/**
+ * SECTION:ags_recall_factory
+ * @short_description: Factory pattern
+ * @title: AgsRecallFactory
+ * @section_id:
+ * @include: ags/audio/ags_recall_factory.h
+ *
+ * #AgsRecallFactory instantiates and sets up recalls.
+ */
+
+static gpointer ags_recall_factory_parent_class = NULL;
+
+GType
+ags_recall_factory_get_type (void)
+{
+ static GType ags_type_recall_factory = 0;
+
+ if(!ags_type_recall_factory){
+ static const GTypeInfo ags_recall_factory_info = {
+ sizeof (AgsRecallFactoryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_factory_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallFactory),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_factory_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_factory_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_factory = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRecallFactory\0",
+ &ags_recall_factory_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_factory,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_recall_factory);
+}
+
+void
+ags_recall_factory_class_init(AgsRecallFactoryClass *recall_factory)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_recall_factory_parent_class = g_type_class_peek_parent(recall_factory);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_factory;
+
+ gobject->set_property = ags_recall_factory_set_property;
+ gobject->get_property = ags_recall_factory_get_property;
+}
+
+void
+ags_recall_factory_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = NULL;
+ connectable->remove_from_registry = NULL;
+ connectable->connect = ags_recall_factory_connect;
+ connectable->disconnect = ags_recall_factory_disconnect;
+}
+
+void
+ags_recall_factory_init(AgsRecallFactory *recall_factory)
+{
+}
+
+void
+ags_recall_factory_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallFactory *recall_factory;
+
+ recall_factory = AGS_RECALL_FACTORY(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_factory_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallFactory *recall_factory;
+
+ recall_factory = AGS_RECALL_FACTORY(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_factory_connect(AgsConnectable *connectable)
+{
+ AgsRecallFactory *recall_factory;
+
+ recall_factory = AGS_RECALL_FACTORY(connectable);
+}
+
+void
+ags_recall_factory_disconnect(AgsConnectable *connectable)
+{
+ AgsRecallFactory *recall_factory;
+
+ recall_factory = AGS_RECALL_FACTORY(connectable);
+}
+
+GList*
+ags_recall_factory_create_play(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsPlayChannel *play_channel;
+ AgsPlayChannelRun *play_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsPlayChannel */
+ play_channel = (AgsPlayChannel *) g_object_new(AGS_TYPE_PLAY_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK));
+ play_channel->audio_channel->port_value.ags_port_uint = start_audio_channel + j;
+ ags_channel_add_recall(channel, (GObject *) play_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel));
+
+ /* AgsPlayChannelRun */
+ play_channel_run = (AgsPlayChannelRun *) g_object_new(AGS_TYPE_PLAY_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", play_channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK));
+ ags_channel_add_recall(channel, (GObject *) play_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsPlayChannel */
+ play_channel = (AgsPlayChannel *) g_object_new(AGS_TYPE_PLAY_CHANNEL,
+ "devout\0", AGS_DEVOUT(audio->devout),
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK));
+ play_channel->audio_channel->port_value.ags_port_uint = start_audio_channel + j;
+ ags_channel_add_recall(channel, (GObject *) play_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel));
+
+ /* AgsPlayChannelRun */
+ play_channel_run = (AgsPlayChannelRun *) g_object_new(AGS_TYPE_PLAY_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", play_channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK));
+ ags_channel_add_recall(channel, (GObject *) play_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_play_master(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsPlayAudio *play_audio;
+ AgsPlayChannel *play_channel;
+ AgsPlayChannelRunMaster *play_channel_run_master;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if((AGS_RECALL_FACTORY_REMAP & (create_flags)) == 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ /* */
+ play_audio = (AgsPlayAudio *) g_object_new(AGS_TYPE_PLAY_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", play_container,
+ NULL);
+ AGS_RECALL(play_audio)->flags |= (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION);
+ ags_audio_add_recall(audio, (GObject *) play_audio, TRUE);
+ }else{
+ GList *list;
+
+ if(play_container == NULL){
+ list = ags_recall_find_type(audio->play, AGS_TYPE_PLAY_AUDIO);
+
+ play_audio = AGS_PLAY_AUDIO(list->data);
+
+ play_container = AGS_RECALL_CONTAINER(AGS_RECALL(play_audio)->container);
+ }else{
+ play_audio = AGS_PLAY_AUDIO(play_container->recall_audio);
+ }
+ }
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsPlayChannel */
+ play_channel = (AgsPlayChannel *) g_object_new(AGS_TYPE_PLAY_CHANNEL,
+ "devout\0", AGS_DEVOUT(audio->devout),
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ play_channel->audio_channel->port_value.ags_port_uint = start_audio_channel + j;
+ ags_channel_add_recall(channel, (GObject *) play_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel));
+
+ /* AgsPlayChannelRun */
+ play_channel_run_master = (AgsPlayChannelRunMaster *) g_object_new(AGS_TYPE_PLAY_CHANNEL_RUN_MASTER,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", play_channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel_run_master), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) play_channel_run_master, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel_run_master));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if((AGS_RECALL_FACTORY_REMAP & (create_flags)) == 0){
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ /* */
+ play_audio = (AgsPlayAudio *) g_object_new(AGS_TYPE_PLAY_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", recall_container,
+ NULL);
+ AGS_RECALL(play_audio)->flags |= (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION);
+ ags_audio_add_recall(audio, (GObject *) play_audio, FALSE);
+ }else{
+ GList *list;
+
+ if(recall_container == NULL){
+ list = ags_recall_find_type(audio->recall, AGS_TYPE_PLAY_AUDIO);
+
+ play_audio = AGS_PLAY_AUDIO(list->data);
+
+ recall_container = AGS_RECALL_CONTAINER(AGS_RECALL(play_audio)->container);
+ }else{
+ play_audio = AGS_PLAY_AUDIO(recall_container->recall_audio);
+ }
+ }
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsPlayChannel */
+ play_channel = (AgsPlayChannel *) g_object_new(AGS_TYPE_PLAY_CHANNEL,
+ "devout\0", AGS_DEVOUT(audio->devout),
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ play_channel->audio_channel->port_value.ags_port_uint = start_audio_channel + j;
+ ags_channel_add_recall(channel, (GObject *) play_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel));
+
+ /* AgsPlayChannelRun */
+ play_channel_run_master = (AgsPlayChannelRunMaster *) g_object_new(AGS_TYPE_PLAY_CHANNEL_RUN_MASTER,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", play_channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_channel_run_master), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) play_channel_run_master, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_channel_run_master));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_copy(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsCopyChannel *copy_channel;
+ AgsCopyChannelRun *copy_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsCopyChannel */
+ copy_channel = (AgsCopyChannel *) g_object_new(AGS_TYPE_COPY_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) copy_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_channel));
+
+ /* AgsCopyChannelRun */
+ copy_channel_run = (AgsCopyChannelRun *) g_object_new(AGS_TYPE_COPY_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", copy_channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) copy_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsCopyChannel */
+ copy_channel = (AgsCopyChannel *) g_object_new(AGS_TYPE_COPY_CHANNEL,
+ "devout\0", AGS_DEVOUT(audio->devout),
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) copy_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_channel));
+
+ /* AgsCopyChannelRun */
+ copy_channel_run = (AgsCopyChannelRun *) g_object_new(AGS_TYPE_COPY_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", copy_channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) copy_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_stream(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsStreamChannel *stream_channel;
+ AgsStreamChannelRun *stream_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsStreamChannel */
+ stream_channel = (AgsStreamChannel *) g_object_new(AGS_TYPE_STREAM_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(stream_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) stream_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(stream_channel));
+
+ /* AgsStreamChannelRun */
+ stream_channel_run = (AgsStreamChannelRun *) g_object_new(AGS_TYPE_STREAM_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall-channel\0", stream_channel,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(stream_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) stream_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(stream_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsStreamChannel */
+ stream_channel = (AgsStreamChannel *) g_object_new(AGS_TYPE_STREAM_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(stream_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) stream_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(stream_channel));
+
+ /* AgsStreamChannelRun */
+ stream_channel_run = (AgsStreamChannelRun *) g_object_new(AGS_TYPE_STREAM_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall_channel\0", stream_channel,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(stream_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) stream_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(stream_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_buffer(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsBufferChannel *buffer_channel;
+ AgsBufferChannelRun *buffer_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsBufferChannel */
+ buffer_channel = (AgsBufferChannel *) g_object_new(AGS_TYPE_BUFFER_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(buffer_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) buffer_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(buffer_channel));
+
+ /* AgsBufferChannelRun */
+ buffer_channel_run = (AgsBufferChannelRun *) g_object_new(AGS_TYPE_BUFFER_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall_channel\0", buffer_channel,
+ "source\0", channel,
+ "destination\0", ags_channel_nth(audio->output,
+ channel->audio_channel),
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(buffer_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) buffer_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(buffer_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsBufferChannel */
+ buffer_channel = (AgsBufferChannel *) g_object_new(AGS_TYPE_BUFFER_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(buffer_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) buffer_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(buffer_channel));
+
+ /* AgsBufferChannelRun */
+ buffer_channel_run = (AgsBufferChannelRun *) g_object_new(AGS_TYPE_BUFFER_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall_channel\0", buffer_channel,
+ "source\0", channel,
+ "destination\0", ags_channel_nth(audio->output,
+ channel->audio_channel),
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(buffer_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) buffer_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(buffer_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_delay(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsDelayAudio *delay_audio;
+ AgsDelayAudioRun *delay_audio_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ delay_audio = (AgsDelayAudio *) g_object_new(AGS_TYPE_DELAY_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(delay_audio), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) delay_audio, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(delay_audio));
+
+ delay_audio_run = (AgsDelayAudioRun *) g_object_new(AGS_TYPE_DELAY_AUDIO_RUN,
+ "devout\0", audio->devout,
+ "recall_audio\0", delay_audio,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(delay_audio_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) delay_audio_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(delay_audio_run));
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ delay_audio = (AgsDelayAudio *) g_object_new(AGS_TYPE_DELAY_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(delay_audio), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) delay_audio, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(delay_audio));
+
+ delay_audio_run = (AgsDelayAudioRun *) g_object_new(AGS_TYPE_DELAY_AUDIO_RUN,
+ "devout\0", audio->devout,
+ "recall_audio\0", delay_audio,
+ "recall_container\0", recall_container,
+ //TODO:JK: add missing dependency "delay-audio\0"
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(delay_audio_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) delay_audio_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(delay_audio_run));
+ }
+}
+
+GList*
+ags_recall_factory_create_count_beats(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ count_beats_audio = (AgsCountBeatsAudio *) g_object_new(AGS_TYPE_COUNT_BEATS_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(count_beats_audio), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) count_beats_audio, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(count_beats_audio));
+
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) g_object_new(AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ "devout\0", audio->devout,
+ "recall_audio\0", count_beats_audio,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(count_beats_audio_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) count_beats_audio_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(count_beats_audio_run));
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ count_beats_audio = (AgsCountBeatsAudio *) g_object_new(AGS_TYPE_COUNT_BEATS_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(count_beats_audio), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) count_beats_audio, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(count_beats_audio));
+
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) g_object_new(AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ "devout\0", audio->devout,
+ "recall_audio\0", count_beats_audio,
+ "recall_container\0", recall_container,
+ //TODO:JK: add missing dependency "delay-audio\0"
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(count_beats_audio_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) count_beats_audio_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(count_beats_audio_run));
+ }
+}
+
+GList*
+ags_recall_factory_create_loop(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsLoopChannel *loop_channel;
+ AgsLoopChannelRun *loop_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if((AGS_RECALL_FACTORY_REMAP & (create_flags)) == 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+ }else{
+ //TODO:JK: implement me
+ }
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsLoopChannel */
+ loop_channel = (AgsLoopChannel *) g_object_new(AGS_TYPE_LOOP_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ //TODO:JK: add missing dependency "delay_audio\0"
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(loop_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) loop_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(loop_channel));
+
+ /* AgsLoopChannelRun */
+ loop_channel_run = (AgsLoopChannelRun *) g_object_new(AGS_TYPE_LOOP_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", loop_channel,
+ "recall_container\0", play_container,
+ //TODO:JK: add missing dependency "count_beats_audio_run\0"
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(loop_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) loop_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(loop_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if((AGS_RECALL_FACTORY_REMAP & (create_flags)) == 0){
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+ }else{
+ //TODO:JK: implement me
+ }
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsLoopChannel */
+ loop_channel = (AgsLoopChannel *) g_object_new(AGS_TYPE_LOOP_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ //TODO:JK: add missing dependency "delay_audio\0"
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(loop_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) loop_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(loop_channel));
+
+ /* AgsLoopChannelRun */
+ loop_channel_run = (AgsLoopChannelRun *) g_object_new(AGS_TYPE_LOOP_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_channel\0", loop_channel,
+ "recall_container\0", recall_container,
+ //TODO:JK: add missing dependency "count_beats_audio_run\0"
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(loop_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) loop_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(loop_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_copy_pattern(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsCopyPatternAudio *copy_pattern_audio;
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+ AgsCopyPatternChannel *copy_pattern_channel;
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if((AGS_RECALL_FACTORY_REMAP & (create_flags)) == 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ /* AgsCopyPatternAudio */
+ copy_pattern_audio = (AgsCopyPatternAudio *) g_object_new(AGS_TYPE_COPY_PATTERN_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", play_container,
+ NULL);
+ AGS_RECALL(copy_pattern_audio)->flags |= (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER);
+ ags_audio_add_recall(audio, (GObject *) copy_pattern_audio, TRUE);
+
+ /* AgsCopyPatternAudioRun */
+ copy_pattern_audio_run = (AgsCopyPatternAudioRun *) g_object_new(AGS_TYPE_COPY_PATTERN_AUDIO_RUN,
+ "devout\0", audio->devout,
+ // "recall_audio\0", copy_pattern_audio,
+ "recall_container\0", play_container,
+ //TODO:JK: add missing dependency "count_beats_audio_run\0"
+ NULL);
+ AGS_RECALL(copy_pattern_audio_run)->flags |= (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER);
+ ags_audio_add_recall(audio, (GObject *) copy_pattern_audio_run, TRUE);
+ }else{
+ GList *list;
+
+ if(play_container == NULL){
+ list = ags_recall_find_type(audio->play, AGS_TYPE_COPY_PATTERN_AUDIO);
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(list->data);
+
+ play_container = AGS_RECALL_CONTAINER(AGS_RECALL(copy_pattern_audio)->container);
+
+ list = ags_recall_find_template(play_container->recall_audio_run);
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(list->data);
+ }else{
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(play_container->recall_audio);
+
+ list = ags_recall_find_template(play_container->recall_audio_run);
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(list->data);
+ }
+ }
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsCopyPatternChannel in channel->recall */
+ copy_pattern_channel = (AgsCopyPatternChannel *) g_object_new(AGS_TYPE_COPY_PATTERN_CHANNEL,
+ "devout\0", AGS_DEVOUT(audio->devout),
+ "source\0", channel,
+ // "destination\0", destination,
+ "recall_container\0", play_container,
+ // "pattern\0", channel->pattern->data,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_pattern_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER));
+ ags_channel_add_recall(channel, (GObject *) copy_pattern_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_pattern_channel));
+
+ /* AgsCopyPatternChannelRun */
+ copy_pattern_channel_run = (AgsCopyPatternChannelRun *) g_object_new(AGS_TYPE_COPY_PATTERN_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ // "destination\0", destination,
+ // "recall_channel\0", copy_pattern_channel,
+ // "recall_audio_run\0", copy_pattern_audio_run,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_pattern_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER));
+ ags_channel_add_recall(channel, (GObject *) copy_pattern_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_pattern_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if((AGS_RECALL_FACTORY_REMAP & (create_flags)) == 0){
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ /* AgsCopyPatternAudio */
+ copy_pattern_audio = (AgsCopyPatternAudio *) g_object_new(AGS_TYPE_COPY_PATTERN_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", recall_container,
+ NULL);
+ AGS_RECALL(copy_pattern_audio)->flags |= (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER);
+ ags_audio_add_recall(audio, (GObject *) copy_pattern_audio, FALSE);
+
+ /* AgsCopyPatternAudioRun */
+ copy_pattern_audio_run = (AgsCopyPatternAudioRun *) g_object_new(AGS_TYPE_COPY_PATTERN_AUDIO_RUN,
+ "devout\0", audio->devout,
+ // "recall_audio\0", copy_pattern_audio,
+ "recall_container\0", recall_container,
+ //TODO:JK: add missing dependency "count_beats_audio_run\0"
+ NULL);
+ AGS_RECALL(copy_pattern_audio_run)->flags |= (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER);
+ ags_audio_add_recall(audio, (GObject *) copy_pattern_audio_run, FALSE);
+ }else{
+ GList *list;
+
+ if(recall_container == NULL){
+ list = ags_recall_template_find_type(audio->recall, AGS_TYPE_COPY_PATTERN_AUDIO);
+
+ if(list != NULL){
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(list->data);
+
+ recall_container = AGS_RECALL_CONTAINER(AGS_RECALL(copy_pattern_audio)->container);
+
+ list = ags_recall_find_template(recall_container->recall_audio_run);
+
+ if(list != NULL){
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(list->data);
+ }
+ }
+ }else{
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(recall_container->recall_audio);
+
+ list = ags_recall_find_template(recall_container->recall_audio_run);
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(list->data);
+ }
+ }
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsCopyPatternChannel in channel->recall */
+ copy_pattern_channel = (AgsCopyPatternChannel *) g_object_new(AGS_TYPE_COPY_PATTERN_CHANNEL,
+ "devout\0", AGS_DEVOUT(audio->devout),
+ "source\0", channel,
+ // "destination\0", destination,
+ "recall_container\0", recall_container,
+ //"pattern\0", channel->pattern->data,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_pattern_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER));
+ ags_channel_add_recall(channel, (GObject *) copy_pattern_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_pattern_channel));
+
+ /* AgsCopyPatternChannelRun */
+ copy_pattern_channel_run = (AgsCopyPatternChannelRun *) g_object_new(AGS_TYPE_COPY_PATTERN_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ // "destination\0", destination,
+ // "recall_channel\0", copy_pattern_channel,
+ // "recall_audio_run\0", copy_pattern_audio_run,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(copy_pattern_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_SEQUENCER));
+ ags_channel_add_recall(channel, (GObject *) copy_pattern_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(copy_pattern_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_play_notation(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsPlayNotationAudio *play_notation_audio;
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ play_notation_audio = (AgsPlayNotationAudio *) g_object_new(AGS_TYPE_PLAY_NOTATION_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_notation_audio), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) play_notation_audio, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_notation_audio));
+
+ play_notation_audio_run = (AgsPlayNotationAudioRun *) g_object_new(AGS_TYPE_PLAY_NOTATION_AUDIO_RUN,
+ "devout\0", audio->devout,
+ "recall_audio\0", play_notation_audio,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_notation_audio_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) play_notation_audio_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_notation_audio_run));
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ play_notation_audio = (AgsPlayNotationAudio *) g_object_new(AGS_TYPE_PLAY_NOTATION_AUDIO,
+ "devout\0", audio->devout,
+ "audio\0", audio,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_notation_audio), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) play_notation_audio, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_notation_audio));
+
+ play_notation_audio_run = (AgsPlayNotationAudioRun *) g_object_new(AGS_TYPE_PLAY_NOTATION_AUDIO_RUN,
+ "devout\0", audio->devout,
+ "recall_audio\0", play_notation_audio,
+ "recall_container\0", recall_container,
+ //TODO:JK: add missing dependency "delay-audio\0"
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(play_notation_audio_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_audio_add_recall(audio, (GObject *) play_notation_audio_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(play_notation_audio_run));
+ }
+}
+
+GList*
+ags_recall_factory_create_peak(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsPeakChannel *peak_channel;
+ AgsPeakChannelRun *peak_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsPeakChannel */
+ peak_channel = (AgsPeakChannel *) g_object_new(AGS_TYPE_PEAK_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(peak_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) peak_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(peak_channel));
+
+
+ /* AgsPeakChannelRun */
+ peak_channel_run = (AgsPeakChannelRun *) g_object_new(AGS_TYPE_PEAK_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall-channel\0", peak_channel,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(peak_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) peak_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(peak_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsPeakChannel */
+ peak_channel = (AgsPeakChannel *) g_object_new(AGS_TYPE_PEAK_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(peak_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) peak_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(peak_channel));
+
+ /* AgsPeakChannelRun */
+ peak_channel_run = (AgsPeakChannelRun *) g_object_new(AGS_TYPE_PEAK_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall-channel\0", peak_channel,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(peak_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) peak_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(peak_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_volume(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsVolumeChannel *volume_channel;
+ AgsVolumeChannelRun *volume_channel_run;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsVolumeChannel */
+ volume_channel = (AgsVolumeChannel *) g_object_new(AGS_TYPE_VOLUME_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(volume_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) volume_channel, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(volume_channel));
+
+ /* AgsVolumeChannelRun */
+ volume_channel_run = (AgsVolumeChannelRun *) g_object_new(AGS_TYPE_VOLUME_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall-channel\0", volume_channel,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(volume_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) volume_channel_run, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(volume_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsVolumeChannel */
+ volume_channel = (AgsVolumeChannel *) g_object_new(AGS_TYPE_VOLUME_CHANNEL,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(volume_channel), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) volume_channel, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(volume_channel));
+
+ /* AgsVolumeChannelRun */
+ volume_channel_run = (AgsVolumeChannelRun *) g_object_new(AGS_TYPE_VOLUME_CHANNEL_RUN,
+ "devout\0", audio->devout,
+ "recall_channel\0", volume_channel,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(volume_channel_run), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) volume_channel_run, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(volume_channel_run));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+GList*
+ags_recall_factory_create_ladspa(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ AgsRecallLadspa *recall_ladspa;
+ AgsRecallChannelRunDummy *recall_channel_run_dummy;
+ AgsChannel *start, *channel;
+ AgsPort *port;
+ GList *list;
+ guint i, j;
+
+ if(audio == NULL){
+ return(NULL);
+ }
+
+ if((AGS_RECALL_FACTORY_OUTPUT & (create_flags)) != 0){
+ start =
+ channel = ags_channel_nth(audio->output,
+ start_pad * audio->audio_channels);
+ }else{
+ start =
+ channel = ags_channel_nth(audio->input,
+ start_pad * audio->audio_channels);
+ }
+
+ list = NULL;
+
+ /* play */
+ if((AGS_RECALL_FACTORY_PLAY & (create_flags)) != 0){
+ if(play_container == NULL){
+ play_container = ags_recall_container_new();
+ }
+
+ play_container->flags |= AGS_RECALL_CONTAINER_PLAY;
+ ags_audio_add_recall_container(audio, (GObject *) play_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) play_container);
+
+ /* AgsRecallLadspa */
+ recall_ladspa = (AgsRecallLadspa *) g_object_new(AGS_TYPE_RECALL_LADSPA,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(recall_ladspa), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) recall_ladspa, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(recall_ladspa));
+
+ /* AgsRecallChannelRunDummy */
+ recall_channel_run_dummy = ags_recall_channel_run_dummy_new(channel,
+ AGS_TYPE_RECALL_RECYCLING_DUMMY,
+ AGS_TYPE_RECALL_LADSPA_RUN);
+
+ g_object_set(recall_channel_run_dummy,
+ "devout\0", audio->devout,
+ // "recall_channel\0", recall_ladspa,
+ "source\0", channel,
+ "recall_container\0", play_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(recall_channel_run_dummy), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) recall_channel_run_dummy, TRUE);
+ ags_connectable_connect(AGS_CONNECTABLE(recall_channel_run_dummy));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+
+ /* recall */
+ if((AGS_RECALL_FACTORY_RECALL & (create_flags)) != 0){
+ channel = start;
+
+ if(recall_container == NULL){
+ recall_container = ags_recall_container_new();
+ }
+
+ ags_audio_add_recall_container(audio, (GObject *) recall_container);
+
+ for(i = 0; i < stop_pad - start_pad; i++){
+ channel = ags_channel_nth(channel,
+ start_audio_channel);
+
+ for(j = 0; j < stop_audio_channel - start_audio_channel; j++){
+ ags_channel_add_recall_container(channel, (GObject *) recall_container);
+
+ /* AgsRecallLadspa */
+ recall_ladspa = (AgsRecallLadspa *) g_object_new(AGS_TYPE_RECALL_LADSPA,
+ "devout\0", audio->devout,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+
+ ags_recall_set_flags(AGS_RECALL(recall_ladspa), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) recall_ladspa, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(recall_ladspa));
+
+ /* AgsRecallChannelRunDummy */
+ recall_channel_run_dummy = ags_recall_channel_run_dummy_new(channel,
+ AGS_TYPE_RECALL_RECYCLING_DUMMY,
+ AGS_TYPE_RECALL_LADSPA_RUN);
+ g_object_set(recall_channel_run_dummy,
+ "devout\0", audio->devout,
+ // "recall_channel\0", recall_ladspa,
+ "source\0", channel,
+ "recall_container\0", recall_container,
+ NULL);
+ ags_recall_set_flags(AGS_RECALL(recall_channel_run_dummy), (AGS_RECALL_TEMPLATE |
+ (((AGS_RECALL_FACTORY_OUTPUT & create_flags) != 0) ? AGS_RECALL_OUTPUT_ORIENTATED: AGS_RECALL_INPUT_ORIENTATED) |
+ AGS_RECALL_PLAYBACK |
+ AGS_RECALL_SEQUENCER |
+ AGS_RECALL_NOTATION));
+ ags_channel_add_recall(channel, (GObject *) recall_channel_run_dummy, FALSE);
+ ags_connectable_connect(AGS_CONNECTABLE(recall_channel_run_dummy));
+
+ /* iterate */
+ channel = channel->next;
+ }
+
+ channel = ags_channel_nth(channel,
+ audio->audio_channels - stop_audio_channel);
+ }
+ }
+}
+
+/**
+ * ags_recall_factory_create:
+ * @audio: an #AgsAudio that should keep the recalls
+ * @recall_container: an #AgsRecallContainer to indetify what recall to use
+ * @plugin_name: the plugin identifier to instantiate
+ * @start_audio_channel: the first audio channel to apply
+ * @stop_audio_channel: the last audio channel to apply
+ * @start_pad: the first pad to apply
+ * @stop_pad: the last pad to apply
+ * @create_flags: modify the behaviour of this function
+ * @recall_flags: flags to be set for #AgsRecall
+ *
+ * Instantiate #AgsRecall by this factory.
+ *
+ * Returns: The available AgsPort objects of the plugin to modify.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_factory_create(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags)
+{
+ GList *list;
+
+ list = NULL;
+
+#ifdef AGS_DEBUG
+ g_message("AgsRecallFactory creating: %s[%d,%d]\0", plugin_name, stop_pad, stop_audio_channel);
+#endif
+
+ if(!strncmp(plugin_name,
+ "ags-delay\0",
+ 10)){
+ ags_recall_factory_create_delay(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-count-beats\0",
+ 16)){
+ ags_recall_factory_create_count_beats(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-stream\0",
+ 11)){
+ ags_recall_factory_create_stream(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-loop\0",
+ 9)){
+ ags_recall_factory_create_loop(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-play-master\0",
+ 16)){
+ ags_recall_factory_create_play_master(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-copy\0",
+ 9)){
+ ags_recall_factory_create_copy(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-buffer\0",
+ 11)){
+ ags_recall_factory_create_buffer(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-play\0",
+ 9)){
+ ags_recall_factory_create_play(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-copy-pattern\0",
+ 17)){
+ ags_recall_factory_create_copy_pattern(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-play-notation\0",
+ 18)){
+ ags_recall_factory_create_play_notation(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-peak\0",
+ 9)){
+ ags_recall_factory_create_peak(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-volume\0",
+ 11)){
+ ags_recall_factory_create_volume(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }else if(!strncmp(plugin_name,
+ "ags-ladspa\0",
+ 11)){
+ ags_recall_factory_create_ladspa(audio,
+ play_container, recall_container,
+ plugin_name,
+ start_audio_channel, stop_audio_channel,
+ start_pad, stop_pad,
+ create_flags, recall_flags);
+ }
+
+ return(list);
+}
+
+void
+ags_recall_factory_remove(AgsAudio *audio,
+ AgsRecallContainer *recall_container)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_recall_factory_new:
+ * @factory: the #AgsRecall depending on
+ *
+ * Creates a #AgsRecallFactory
+ *
+ * Returns: a new #AgsRecallFactory
+ *
+ * Since: 0.4
+ */
+AgsRecallFactory*
+ags_recall_factory_new()
+{
+ AgsRecallFactory *recall_factory;
+
+ recall_factory = (AgsRecallFactory *) g_object_new(AGS_TYPE_RECALL_FACTORY,
+ NULL);
+
+ return(recall_factory);
+}
diff --git a/src/ags/audio/ags_recall_factory.h b/src/ags/audio/ags_recall_factory.h
new file mode 100644
index 0000000..bc2ff4b
--- /dev/null
+++ b/src/ags/audio/ags_recall_factory.h
@@ -0,0 +1,73 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_FACTORY_H__
+#define __AGS_RECALL_FACTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recall_container.h>
+
+#define AGS_TYPE_RECALL_FACTORY (ags_recall_factory_get_type())
+#define AGS_RECALL_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_FACTORY, AgsRecallFactory))
+#define AGS_RECALL_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_FACTORY, AgsRecallFactoryClass))
+#define AGS_IS_RECALL_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_FACTORY))
+#define AGS_IS_RECALL_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_FACTORY))
+#define AGS_RECALL_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_FACTORY, AgsRecallFactoryClass))
+
+typedef struct _AgsRecallFactory AgsRecallFactory;
+typedef struct _AgsRecallFactoryClass AgsRecallFactoryClass;
+
+typedef enum{
+ AGS_RECALL_FACTORY_OUTPUT = 1,
+ AGS_RECALL_FACTORY_INPUT = 1 << 1,
+ AGS_RECALL_FACTORY_REMAP = 1 << 2,
+ AGS_RECALL_FACTORY_ADD = 1 << 3,
+ AGS_RECALL_FACTORY_PLAY = 1 << 4,
+ AGS_RECALL_FACTORY_RECALL = 1 << 5,
+}AgsRecallFactoryCreateFlags;
+
+struct _AgsRecallFactory
+{
+ GObject object;
+};
+
+struct _AgsRecallFactoryClass
+{
+ GObjectClass object;
+};
+
+GType ags_recall_factory_get_type();
+
+GList* ags_recall_factory_create(AgsAudio *audio,
+ AgsRecallContainer *play_container, AgsRecallContainer *recall_container,
+ gchar *plugin_name,
+ guint start_audio_channel, guint stop_audio_channel,
+ guint start_pad, guint stop_pad,
+ guint create_flags, guint recall_flags);
+
+void ags_recall_factory_remove(AgsAudio *audio,
+ AgsRecallContainer *recall_container);
+
+/* */
+AgsRecallFactory* ags_recall_factory_get_instance();
+AgsRecallFactory* ags_recall_factory_new();
+
+#endif /*__AGS_RECALL_FACTORY_H__*/
diff --git a/src/ags/audio/ags_recall_id.c b/src/ags/audio/ags_recall_id.c
new file mode 100755
index 0000000..b61c14f
--- /dev/null
+++ b/src/ags/audio/ags_recall_id.c
@@ -0,0 +1,440 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_recall_id_class_init(AgsRecallIDClass *recall_id);
+void ags_recall_id_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_id_init(AgsRecallID *recall_id);
+void ags_recall_id_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_id_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_id_connect(AgsConnectable *connectable);
+void ags_recall_id_disconnect(AgsConnectable *connectable);
+void ags_recall_id_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_recall_id
+ * @short_description: The object specifies run context.
+ * @title: AgsRecallID
+ * @section_id:
+ * @include: ags/audio/ags_recall_id.h
+ *
+ * #AgsRecallID acts as dynamic context identifier.
+ */
+
+enum{
+ PROP_0,
+ PROP_RECYCLING,
+ PROP_RECYCLING_CONTAINER,
+};
+
+static gpointer ags_recall_id_parent_class = NULL;
+
+GType
+ags_recall_id_get_type(void)
+{
+ static GType ags_type_recall_id = 0;
+
+ if(!ags_type_recall_id){
+ static const GTypeInfo ags_recall_id_info = {
+ sizeof (AgsRecallIDClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_id_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallID),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_id_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_id_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_id = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRecallID\0",
+ &ags_recall_id_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_id,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_recall_id);
+}
+
+void
+ags_recall_id_class_init(AgsRecallIDClass *recall_id)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_recall_id_parent_class = g_type_class_peek_parent(recall_id);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_id;
+
+ gobject->set_property = ags_recall_id_set_property;
+ gobject->get_property = ags_recall_id_get_property;
+
+ gobject->finalize = ags_recall_id_finalize;
+
+ /* properties */
+ /**
+ * AgsRecallID:recycling:
+ *
+ * The assigned #AgsRecycling.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recycling\0",
+ "assigned recycling\0",
+ "The recycling it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECYCLING,
+ param_spec);
+
+ /**
+ * AgsRecallID:recycling-container:
+ *
+ * The dynamic run context belonging to.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recycling-container\0",
+ "assigned recycling container\0",
+ "The recycling container it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECYCLING_CONTAINER,
+ param_spec);
+}
+
+void
+ags_recall_id_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_recall_id_connect;
+ connectable->disconnect = ags_recall_id_disconnect;
+}
+
+void
+ags_recall_id_init(AgsRecallID *recall_id)
+{
+ recall_id->flags = 0;
+
+ recall_id->recycling = NULL;
+ recall_id->recycling_container = NULL;
+}
+
+void
+ags_recall_id_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallID *recall_id;
+
+ recall_id = AGS_RECALL_ID(gobject);
+
+ switch(prop_id){
+ case PROP_RECYCLING:
+ {
+ AgsRecycling *recycling;
+
+ recycling = g_value_get_object(value);
+
+ if(recall_id->recycling == recycling)
+ return;
+
+ if(recall_id->recycling != NULL){
+ g_object_unref(recycling);
+ }
+
+ if(recycling != NULL){
+ g_object_ref(recycling);
+ }
+
+ recall_id->recycling = recycling;
+ }
+ break;
+ case PROP_RECYCLING_CONTAINER:
+ {
+ AgsRecyclingContainer *recycling_container;
+
+ recycling_container = g_value_get_object(value);
+
+ if(recall_id->recycling_container == recycling_container)
+ return;
+
+ if(recall_id->recycling_container != NULL){
+ g_object_unref(recall_id->recycling_container);
+ }
+
+ if(recycling_container != NULL){
+ g_object_ref(recycling_container);
+ }
+
+ recall_id->recycling_container = recycling_container;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_id_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallID *recall_id;
+
+ recall_id = AGS_RECALL_ID(gobject);
+
+ switch(prop_id){
+ case PROP_RECYCLING:
+ g_value_set_object(value, recall_id->recycling);
+ break;
+ case PROP_RECYCLING_CONTAINER:
+ g_value_set_object(value, recall_id->recycling_container);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_id_connect(AgsConnectable *connectable)
+{
+}
+
+void
+ags_recall_id_disconnect(AgsConnectable *connectable)
+{
+}
+
+void
+ags_recall_id_finalize(GObject *gobject)
+{
+ g_warning("ags_recall_id_finalize\0");
+
+ G_OBJECT_CLASS(ags_recall_id_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_recall_id_get_run_stage:
+ * @id: the #AgsRecallID to check
+ * @stage: the current run stage to check against
+ *
+ * Check if a run stage already has been passed for current run. This
+ * function is intended to handle AGS_AUDIO_ASYNC correctly.
+ *
+ * Returns: %TRUE if the stage isn't run yet otherwise %FALSE
+ *
+ * Since: 0.3
+ */
+gboolean
+ags_recall_id_get_run_stage(AgsRecallID *id, gint stage)
+{
+ switch(stage){
+ case 0:
+ if((AGS_RECALL_ID_PRE & (id->flags)) == 0)
+ return(TRUE);
+
+ break;
+ case 1:
+ if((AGS_RECALL_ID_INTER & (id->flags)) == 0)
+ return(TRUE);
+
+ break;
+ case 2:
+ if((AGS_RECALL_ID_POST & (id->flags)) == 0)
+ return(TRUE);
+ break;
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_recall_id_set_run_stage:
+ * @recall_id: the #AgsRecallID which has been passed
+ * @stage: the run stage the networked channels are in
+ *
+ * Marks the run stage to be passed for audio channel.
+ *
+ * Since: 0.3
+ */
+void
+ags_recall_id_set_run_stage(AgsRecallID *recall_id, gint stage)
+{
+ guint i;
+
+ if(stage == 0){
+ recall_id->flags |= AGS_RECALL_ID_PRE;
+ }else if(stage == 1){
+ recall_id->flags |= AGS_RECALL_ID_INTER;
+ }else{
+ recall_id->flags |= AGS_RECALL_ID_POST;
+ }
+}
+
+/**
+ * ags_recall_id_unset_run_stage:
+ * @recall_id: the #AgsRecallID which has been passed
+ * @stage: the run stage the networked channels are in
+ *
+ * Unmarks the run stage to be passed for audio channel.
+ *
+ * Since: 0.3
+ */
+void
+ags_recall_id_unset_run_stage(AgsRecallID *recall_id, gint stage)
+{
+ if(stage == 0){
+ recall_id->flags &= (~AGS_RECALL_ID_PRE);
+ }else if(stage == 1){
+ recall_id->flags &= (~AGS_RECALL_ID_INTER);
+ }else{
+ recall_id->flags &= (~AGS_RECALL_ID_POST);
+ }
+}
+
+/**
+ * ags_recall_id_add:
+ * @recall_id_list: the #GList the new #AgsRecallID should be added
+ * @recall_id: the #AgsRecallID to add
+ *
+ * Adds an #AgsRecallID with given properties to the passed #GList.
+ *
+ * Returns: the newly allocated #GList which is the new start of the #GList, too.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_id_add(GList *recall_id_list,
+ AgsRecallID *recall_id)
+{
+ GList *list;
+
+ list = g_list_prepend(recall_id_list,
+ (gpointer) recall_id);
+
+ return(list);
+}
+
+/**
+ * ags_recall_id_find_recycling_container:
+ * @recall_id_list: a #GList containing #AgsRecallID
+ * @recycling_container: the #AgsRecyclingContainer to match
+ *
+ * Retrieve recall id by recycling container.
+ *
+ * Returns: Matching recall id.
+ *
+ * Since: 0.4
+ */
+AgsRecallID*
+ags_recall_id_find_recycling_container(GList *recall_id_list,
+ AgsRecyclingContainer *recycling_container)
+{
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = AGS_RECALL_ID(recall_id_list->data);
+
+ if(recall_id->recycling_container == recycling_container){
+ return(recall_id);
+ }
+
+ recall_id_list = recall_id_list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_id_find_parent_recycling_container:
+ * @recall_id_list: a #GList containing #AgsRecallID
+ * @recycling_container: the #AgsRecyclingContainer to match
+ *
+ * Retrieve recall id by recycling container.
+ *
+ * Returns: Matching recall id.
+ *
+ * Since: 0.4
+ */
+AgsRecallID*
+ags_recall_id_find_parent_recycling_container(GList *recall_id_list,
+ AgsRecyclingContainer *parent_recycling_container)
+{
+ AgsRecallID *recall_id;
+
+ while(recall_id_list != NULL){
+ recall_id = AGS_RECALL_ID(recall_id_list->data);
+
+ if(recall_id->recycling_container->parent == parent_recycling_container){
+ return(recall_id);
+ }
+
+ recall_id_list = recall_id_list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_id_new:
+ * @recycling:
+ *
+ * Creates a #AgsRecallID, assigned to @recycling
+ *
+ * Returns: a new #AgsRecallID
+ *
+ * Since: 0.3
+ */
+AgsRecallID*
+ags_recall_id_new(AgsRecycling *recycling)
+{
+ AgsRecallID *recall_id;
+
+ recall_id = (AgsRecallID *) g_object_new(AGS_TYPE_RECALL_ID, NULL);
+
+ return(recall_id);
+}
diff --git a/src/ags/audio/ags_recall_id.h b/src/ags/audio/ags_recall_id.h
new file mode 100644
index 0000000..ae81e46
--- /dev/null
+++ b/src/ags/audio/ags_recall_id.h
@@ -0,0 +1,84 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_ID_H__
+#define __AGS_RECALL_ID_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recycling_container.h>
+
+#define AGS_TYPE_RECALL_ID (ags_recall_id_get_type ())
+#define AGS_RECALL_ID(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AGS_TYPE_RECALL_ID, AgsRecallID))
+#define AGS_RECALL_ID_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), AGS_TYPE_RECALL_ID, AgsRecallIDClass))
+#define AGS_IS_RECALL_ID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_ID))
+#define AGS_IS_RECALL_ID_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_ID))
+#define AGS_RECALL_ID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_ID, AgsRecallIDClass))
+
+typedef struct _AgsRecallID AgsRecallID;
+typedef struct _AgsRecallIDClass AgsRecallIDClass;
+
+typedef enum{
+ AGS_RECALL_ID_PLAYBACK = 1,
+ AGS_RECALL_ID_SEQUENCER = 1 << 1,
+ AGS_RECALL_ID_NOTATION = 1 << 2,
+ AGS_RECALL_ID_DUPLICATE = 1 << 3,
+ AGS_RECALL_ID_RESOLVE = 1 << 4,
+ AGS_RECALL_ID_INIT_PRE = 1 << 5,
+ AGS_RECALL_ID_INIT_INTER = 1 << 6,
+ AGS_RECALL_ID_INIT_POST = 1 << 7,
+ AGS_RECALL_ID_PRE = 1 << 8,
+ AGS_RECALL_ID_INTER = 1 << 9,
+ AGS_RECALL_ID_POST = 1 << 10,
+ AGS_RECALL_ID_CANCEL = 1 << 11,
+}AgsRecallIDFlags;
+
+struct _AgsRecallID
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *recycling;
+ AgsRecyclingContainer *recycling_container;
+};
+
+struct _AgsRecallIDClass
+{
+ GObjectClass object;
+};
+
+GType ags_recall_id_get_type(void);
+
+gboolean ags_recall_id_get_run_stage(AgsRecallID *id, gint stage);
+void ags_recall_id_set_run_stage(AgsRecallID *recall_id, gint stage);
+void ags_recall_id_unset_run_stage(AgsRecallID *recall_id, gint stage);
+
+AgsRecallID* ags_recall_id_find_recycling_container(GList *recall_id_list,
+ AgsRecyclingContainer *recycling_container);
+AgsRecallID* ags_recall_id_find_parent_recycling_container(GList *recall_id_list,
+ AgsRecyclingContainer *parent_recycling_container);
+
+GList* ags_recall_id_add(GList *recall_id_list,
+ AgsRecallID *recall_id);
+
+AgsRecallID* ags_recall_id_new(AgsRecycling *recycling);
+
+#endif /*__AGS_RECALL_ID_H__*/
diff --git a/src/ags/audio/ags_recall_ladspa.c b/src/ags/audio/ags_recall_ladspa.c
new file mode 100644
index 0000000..e0a29f1
--- /dev/null
+++ b/src/ags/audio/ags_recall_ladspa.c
@@ -0,0 +1,802 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_ladspa.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+
+#include <ags/audio/ags_config.h>
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_port.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <libxml/tree.h>
+
+void ags_recall_ladspa_class_init(AgsRecallLadspaClass *recall_ladspa_class);
+void ags_recall_ladspa_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_ladspa_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_recall_ladspa_init(AgsRecallLadspa *recall_ladspa);
+void ags_recall_ladspa_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_ladspa_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_ladspa_connect(AgsConnectable *connectable);
+void ags_recall_ladspa_disconnect(AgsConnectable *connectable);
+void ags_recall_ladspa_set_ports(AgsPlugin *plugin, GList *port);
+void ags_recall_ladspa_finalize(GObject *gobject);
+
+void ags_recall_ladspa_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_recall_ladspa_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_recall_ladspa_load(AgsRecallLadspa *recall_ladspa);
+
+/**
+ * SECTION:ags_recall_ladspa
+ * @short_description: The object interfacing with LADSPA
+ * @title: AgsRecallLadspa
+ * @section_id:
+ * @include: ags/audio/ags_recall_ladspa.h
+ *
+ * #AgsRecallLadspa provides LADSPA support.
+ */
+
+enum{
+ PROP_0,
+ PROP_FILENAME,
+ PROP_EFFECT,
+ PROP_INDEX,
+};
+
+extern AgsConfig *config;
+
+static gpointer ags_recall_ladspa_parent_class = NULL;
+static AgsConnectableInterface* ags_recall_ladspa_parent_connectable_interface;
+static AgsPluginInterface* ags_recall_ladspa_parent_plugin_interface;
+
+GType
+ags_recall_ladspa_get_type (void)
+{
+ static GType ags_type_recall_ladspa = 0;
+
+ if(!ags_type_recall_ladspa){
+ static const GTypeInfo ags_recall_ladspa_info = {
+ sizeof (AgsRecallLadspaClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_ladspa_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallLadspa),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_ladspa_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_ladspa_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_recall_ladspa_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_ladspa = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsRecallLadspa\0",
+ &ags_recall_ladspa_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_ladspa,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_ladspa,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_recall_ladspa);
+}
+
+void
+ags_recall_ladspa_class_init(AgsRecallLadspaClass *recall_ladspa)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_recall_ladspa_parent_class = g_type_class_peek_parent(recall_ladspa);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_ladspa;
+
+ gobject->set_property = ags_recall_ladspa_set_property;
+ gobject->get_property = ags_recall_ladspa_get_property;
+
+ gobject->finalize = ags_recall_ladspa_finalize;
+
+ /* properties */
+ /**
+ * AgsRecallLadspa:filename:
+ *
+ * The plugins filename.
+ *
+ * Since: 0.4.2
+ */
+ param_spec = g_param_spec_string("filename\0",
+ "the object file\0",
+ "The filename as string of object file\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILENAME,
+ param_spec);
+
+ /**
+ * AgsRecallLadspa:recycling:
+ *
+ * The effect's name.
+ *
+ * Since: 0.4.2
+ */
+ param_spec = g_param_spec_string("effect\0",
+ "the effect\0",
+ "The effect's string representation\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_EFFECT,
+ param_spec);
+
+ /**
+ * AgsRecallLadspa:recycling:
+ *
+ * The effect's index.
+ *
+ * Since: 0.4.2
+ */
+ param_spec = g_param_spec_ulong("index\0",
+ "index of effect\0",
+ "The numerical index of effect\0",
+ 0,
+ 65535,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_INDEX,
+ param_spec);
+}
+
+
+void
+ags_recall_ladspa_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recall_ladspa_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_ladspa_connect;
+ connectable->disconnect = ags_recall_ladspa_disconnect;
+}
+
+void
+ags_recall_ladspa_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_recall_ladspa_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->read = ags_recall_ladspa_read;
+ plugin->write = ags_recall_ladspa_write;
+ plugin->set_ports = ags_recall_ladspa_set_ports;
+}
+
+void
+ags_recall_ladspa_init(AgsRecallLadspa *recall_ladspa)
+{
+ AGS_RECALL(recall_ladspa)->name = "ags-ladspa\0";
+ AGS_RECALL(recall_ladspa)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(recall_ladspa)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(recall_ladspa)->xml_type = "ags-recall-ladspa\0";
+ AGS_RECALL(recall_ladspa)->port = NULL;
+
+ recall_ladspa->filename = NULL;
+ recall_ladspa->effect = NULL;
+ recall_ladspa->index = 0;
+
+ recall_ladspa->plugin_descriptor = NULL;
+
+ recall_ladspa->input_port = NULL;
+ recall_ladspa->input_lines = 0;
+
+ recall_ladspa->output_port = NULL;
+ recall_ladspa->output_lines = 0;
+}
+
+void
+ags_recall_ladspa_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallLadspa *recall_ladspa;
+
+ recall_ladspa = AGS_RECALL_LADSPA(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ {
+ AgsDevout *devout;
+ gchar *filename;
+
+ filename = g_value_get_string(value);
+
+ if(filename == recall_ladspa->filename){
+ return;
+ }
+
+ if(recall_ladspa->filename != NULL){
+ g_free(recall_ladspa->filename);
+ }
+
+ recall_ladspa->filename = g_strdup(filename);
+ }
+ break;
+ case PROP_EFFECT:
+ {
+ gchar *effect;
+
+ effect = g_value_get_string(value);
+
+ if(effect == recall_ladspa->effect){
+ return;
+ }
+
+ recall_ladspa->effect = g_strdup(effect);
+ }
+ break;
+ case PROP_INDEX:
+ {
+ unsigned long *index;
+
+ index = g_value_get_ulong(value);
+
+ if(index == recall_ladspa->index){
+ return;
+ }
+
+ recall_ladspa->index = index;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_recall_ladspa_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallLadspa *recall_ladspa;
+
+ recall_ladspa = AGS_RECALL_LADSPA(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ {
+ g_value_set_string(value, recall_ladspa->filename);
+ }
+ break;
+ case PROP_EFFECT:
+ {
+ g_value_set_string(value, recall_ladspa->effect);
+ }
+ break;
+ case PROP_INDEX:
+ {
+ g_value_set_ulong(value, recall_ladspa->index);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recall_ladspa_connect(AgsConnectable *connectable)
+{
+ ags_recall_ladspa_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_recall_ladspa_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_ladspa_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_recall_ladspa_set_ports(AgsPlugin *plugin, GList *port)
+{
+ AgsRecallLadspa *recall_ladspa;
+ AgsLadspaPlugin *ladspa_plugin;
+ AgsPort *current;
+ GList *list;
+ gchar *path;
+ unsigned long port_count;
+ unsigned long i;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ LADSPA_PortRangeHintDescriptor hint_descriptor;
+
+ recall_ladspa = AGS_RECALL_LADSPA(plugin);
+
+ ags_ladspa_manager_load_file(recall_ladspa->filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(recall_ladspa->filename);
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ if(plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ recall_ladspa->plugin_descriptor =
+ plugin_descriptor = ladspa_descriptor(recall_ladspa->index);
+
+ port_count = plugin_descriptor->PortCount;
+ port_descriptor = plugin_descriptor->PortDescriptors;
+
+ for(i = 0; i < port_count; i++){
+ if(LADSPA_IS_PORT_CONTROL(port_descriptor[i])){
+ if(LADSPA_IS_PORT_INPUT(port_descriptor[i]) ||
+ LADSPA_IS_PORT_OUTPUT(port_descriptor[i])){
+ gchar *plugin_name;
+ gchar *specifier;
+
+ hint_descriptor = plugin_descriptor->PortRangeHints[i].HintDescriptor;
+
+ plugin_name = g_strdup_printf("ladspa-%lu\0", plugin_descriptor->UniqueID);
+ specifier = g_strdup(plugin_descriptor->PortNames[i]);
+
+ list = port;
+ current = NULL;
+
+ while(list != NULL){
+ if(!g_strcmp0(specifier,
+ AGS_PORT(list->data)->specifier)){
+ current = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ current->port_value.ags_port_float = plugin_descriptor->PortRangeHints[i].LowerBound;
+
+ g_message("connecting port: %d/%d\0", i, port_count);
+ }
+ }else if(LADSPA_IS_PORT_AUDIO(port_descriptor[i])){
+ if(LADSPA_IS_PORT_INPUT(port_descriptor[i])){
+ if(recall_ladspa->input_port == NULL){
+ recall_ladspa->input_port = (guint *) malloc(sizeof(guint));
+ recall_ladspa->input_port[0] = i;
+ }else{
+ recall_ladspa->input_port = (guint *) realloc(recall_ladspa->input_port,
+ (recall_ladspa->input_lines + 1) * sizeof(guint));
+ recall_ladspa->input_port[recall_ladspa->input_lines] = i;
+ }
+
+ recall_ladspa->input_lines += 1;
+ }else if(LADSPA_IS_PORT_OUTPUT(port_descriptor[i])){
+ if(recall_ladspa->output_port == NULL){
+ recall_ladspa->output_port = (guint *) malloc(sizeof(guint));
+ recall_ladspa->output_port[0] = i;
+ }else{
+ recall_ladspa->output_port = (guint *) realloc(recall_ladspa->output_port,
+ (recall_ladspa->output_lines + 1) * sizeof(guint));
+ recall_ladspa->output_port[recall_ladspa->output_lines] = i;
+ }
+
+ recall_ladspa->output_lines += 1;
+ }
+ }
+ }
+
+ AGS_RECALL(recall_ladspa)->port = g_list_reverse(port);
+ }
+ }
+}
+
+void
+ags_recall_ladspa_finalize(GObject *gobject)
+{
+ AgsRecallLadspa *recall_ladspa;
+
+ recall_ladspa = AGS_RECALL_LADSPA(gobject);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_ladspa_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_ladspa_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsRecallLadspa *gobject;
+ AgsLadspaPlugin *ladspa_plugin;
+ gchar *filename, *effect;
+ unsigned long index;
+
+ gobject = AGS_RECALL_LADSPA(plugin);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ filename = xmlGetProp(node,
+ "filename\0");
+ effect = xmlGetProp(node,
+ "effect\0");
+ index = g_ascii_strtoull(xmlGetProp(node,
+ "index\0"),
+ NULL,
+ 10);
+
+ g_object_set(gobject,
+ "filename\0", filename,
+ "effect\0", effect,
+ "index\0", index,
+ NULL);
+
+ ags_recall_ladspa_load(gobject);
+}
+
+xmlNode*
+ags_recall_ladspa_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsRecallLadspa *recall_ladspa;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i;
+
+ recall_ladspa = AGS_RECALL_LADSPA(plugin);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-ladspa\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_ladspa,
+ NULL));
+
+ xmlNewProp(node,
+ "filename\0",
+ g_strdup(recall_ladspa->filename));
+
+ xmlNewProp(node,
+ "effect\0",
+ g_strdup(recall_ladspa->effect));
+
+ xmlNewProp(node,
+ "index\0",
+ g_strdup_printf("%d\0", recall_ladspa->index));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+/**
+ * ags_recall_ladspa_load:
+ * @recall_ladspa: an #AgsRecallLadspa
+ *
+ * Set up LADSPA handle.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_ladspa_load(AgsRecallLadspa *recall_ladspa)
+{
+ AgsLadspaPlugin *ladspa_plugin;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+
+ /* */
+ ags_ladspa_manager_load_file(recall_ladspa->filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(recall_ladspa->filename);
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ if(plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ recall_ladspa->plugin_descriptor =
+ plugin_descriptor = ladspa_descriptor(recall_ladspa->index);
+ }
+ }
+}
+
+/**
+ * ags_recall_ladspa_load_ports:
+ * @recall_ladspa: an #AgsRecallLadspa
+ *
+ * Set up LADSPA ports.
+ *
+ * Returns: a #GList containing #AgsPort.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_ladspa_load_ports(AgsRecallLadspa *recall_ladspa)
+{
+ AgsLadspaPlugin *ladspa_plugin;
+ AgsPort *current;
+ GList *port;
+ gchar *path;
+ unsigned long port_count;
+ unsigned long i;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ LADSPA_PortRangeHintDescriptor hint_descriptor;
+
+ ags_ladspa_manager_load_file(recall_ladspa->filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(recall_ladspa->filename);
+ port = NULL;
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ if(plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ recall_ladspa->plugin_descriptor =
+ plugin_descriptor = ladspa_descriptor(recall_ladspa->index);
+
+ port_count = plugin_descriptor->PortCount;
+ port_descriptor = plugin_descriptor->PortDescriptors;
+
+ for(i = 0; i < port_count; i++){
+ if(LADSPA_IS_PORT_CONTROL(port_descriptor[i])){
+ if(LADSPA_IS_PORT_INPUT(port_descriptor[i]) ||
+ LADSPA_IS_PORT_OUTPUT(port_descriptor[i])){
+ gchar *plugin_name;
+ gchar *specifier;
+
+ hint_descriptor = plugin_descriptor->PortRangeHints[i].HintDescriptor;
+
+ plugin_name = g_strdup_printf("ladspa-%lu\0", plugin_descriptor->UniqueID);
+ specifier = g_strdup(plugin_descriptor->PortNames[i]);
+
+ current = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", plugin_name,
+ "specifier\0", specifier,
+ "control-port\0", g_strdup_printf("%d/%d\0",
+ i,
+ port_count),
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_FLOAT,
+ NULL);
+ current->port_value.ags_port_float = plugin_descriptor->PortRangeHints[i].LowerBound;
+
+ g_message("connecting port: %d/%d\0", i, port_count);
+
+ port = g_list_prepend(port,
+ current);
+ }
+ }else if(LADSPA_IS_PORT_AUDIO(port_descriptor[i])){
+ if(LADSPA_IS_PORT_INPUT(port_descriptor[i])){
+ if(recall_ladspa->input_port == NULL){
+ recall_ladspa->input_port = (unsigned long *) malloc(sizeof(unsigned long));
+ recall_ladspa->input_port[0] = i;
+ }else{
+ recall_ladspa->input_port = (unsigned long *) realloc(recall_ladspa->input_port,
+ (recall_ladspa->input_lines + 1) * sizeof(unsigned long));
+ recall_ladspa->input_port[recall_ladspa->input_lines] = i;
+ }
+
+ recall_ladspa->input_lines += 1;
+ }else if(LADSPA_IS_PORT_OUTPUT(port_descriptor[i])){
+ if(recall_ladspa->output_port == NULL){
+ recall_ladspa->output_port = (unsigned long *) malloc(sizeof(unsigned long));
+ recall_ladspa->output_port[0] = i;
+ }else{
+ recall_ladspa->output_port = (unsigned long *) realloc(recall_ladspa->output_port,
+ (recall_ladspa->output_lines + 1) * sizeof(unsigned long));
+ recall_ladspa->output_port[recall_ladspa->output_lines] = i;
+ }
+
+ recall_ladspa->output_lines += 1;
+ }
+ }
+ }
+
+ AGS_RECALL(recall_ladspa)->port = g_list_reverse(port);
+ }
+ }
+
+ return(AGS_RECALL(recall_ladspa)->port);
+}
+
+/**
+ * ags_recall_ladspa_short_to_float:
+ * @buffer: source
+ * @destination: destination
+ *
+ * Convert data type.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_ladspa_short_to_float(signed short *buffer,
+ float *destination,
+ guint buffer_size, guint lines)
+{
+ float *new_buffer;
+ guint i;
+
+ new_buffer = destination;
+
+ for(i = 0; i < buffer_size; i++){
+ new_buffer[lines * i] += (float) buffer[i] * (1.0f / 32767.5f);
+ }
+}
+
+/**
+ * ags_recall_ladspa_float_to_short:
+ * @buffer: source
+ * @destination: destination
+ * @buffer_size: buffer_size
+ *
+ * Convert data type.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_ladspa_float_to_short(float *buffer,
+ signed short *destination,
+ guint buffer_size, guint lines)
+{
+ signed short *new_buffer;
+ guint i;
+
+ new_buffer = destination;
+
+ for(i = 0; i < buffer_size; i++){
+ new_buffer[i] += (signed short) buffer[lines * i] * 32767.5f;
+ }
+}
+
+/**
+ * ags_recall_ladpsa_find:
+ * @recall: a #GList containing #AgsRecall
+ * @filename: plugin filename
+ * @effect: effect's name
+ *
+ * Retrieve LADSPA recall.
+ *
+ * Returns: Next match.
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recall_ladpsa_find(GList *recall,
+ gchar *filename, gchar *effect)
+{
+ while(recall != NULL){
+ if(AGS_IS_RECALL_LADSPA(recall->data)){
+ if(!g_strcmp0(AGS_RECALL_LADSPA(recall->data)->filename,
+ filename) &&
+ !g_strcmp0(AGS_RECALL_LADSPA(recall->data)->effect,
+ effect)){
+ return(recall);
+ }
+ }
+
+ recall = recall->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recall_ladspa_new:
+ * @source: the source
+ * @filename: the LADSPA plugin filename
+ * @effect: effect's name
+ * @index: effect's index
+ *
+ * Creates a #AgsRecallLadspa
+ *
+ * Returns: a new #AgsRecallLadspa
+ *
+ * Since: 0.4
+ */
+AgsRecallLadspa*
+ags_recall_ladspa_new(AgsChannel *source,
+ gchar *filename,
+ gchar *effect,
+ unsigned long index)
+{
+ AgsDevout *devout;
+ AgsRecallLadspa *recall_ladspa;
+
+ if(source != NULL){
+ devout = AGS_AUDIO(source->audio)->devout;
+ }else{
+ devout = NULL;
+ }
+
+ recall_ladspa = (AgsRecallLadspa *) g_object_new(AGS_TYPE_RECALL_LADSPA,
+ "devout\0", devout,
+ "source\0", source,
+ "filename\0", filename,
+ "effect\0", effect,
+ "index\0", index,
+ NULL);
+
+ return(recall_ladspa);
+}
diff --git a/src/ags/audio/ags_recall_ladspa.h b/src/ags/audio/ags_recall_ladspa.h
new file mode 100644
index 0000000..6e8a150
--- /dev/null
+++ b/src/ags/audio/ags_recall_ladspa.h
@@ -0,0 +1,82 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_LADSPA_H__
+#define __AGS_RECALL_LADSPA_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ladspa.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_RECALL_LADSPA (ags_recall_ladspa_get_type())
+#define AGS_RECALL_LADSPA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_LADSPA, AgsRecallLadspa))
+#define AGS_RECALL_LADSPA_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_LADSPA, AgsRecallLadspaClass))
+#define AGS_IS_RECALL_LADSPA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_LADSPA))
+#define AGS_IS_RECALL_LADSPA_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_LADSPA))
+#define AGS_RECALL_LADSPA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_LADSPA, AgsRecallLadspaClass))
+
+typedef struct _AgsRecallLadspa AgsRecallLadspa;
+typedef struct _AgsRecallLadspaClass AgsRecallLadspaClass;
+
+struct _AgsRecallLadspa
+{
+ AgsRecallChannel recall_channel;
+
+ gchar *filename;
+ gchar *effect;
+ unsigned long index;
+
+ LADSPA_Descriptor *plugin_descriptor;
+
+ unsigned long *input_port;
+ unsigned long input_lines;
+
+ unsigned long *output_port;
+ unsigned long output_lines;
+};
+
+struct _AgsRecallLadspaClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_recall_ladspa_get_type();
+
+GList* ags_recall_ladspa_load_ports(AgsRecallLadspa *recall_ladspa);
+
+void ags_recall_ladspa_short_to_float(signed short *buffer,
+ float *destination,
+ guint buffer_size, guint lines);
+void ags_recall_ladspa_float_to_short(float *buffer,
+ signed short *destination,
+ guint buffer_size, guint lines);
+
+GList* ags_recall_ladpsa_find(GList *recall,
+ gchar *filename, gchar *effect);
+
+AgsRecallLadspa* ags_recall_ladspa_new(AgsChannel *source,
+ gchar *filename,
+ gchar *effect,
+ unsigned long index);
+
+#endif /*__AGS_RECALL_LADSPA_H__*/
diff --git a/src/ags/audio/ags_recall_ladspa_run.c b/src/ags/audio/ags_recall_ladspa_run.c
new file mode 100644
index 0000000..b8aa3ba
--- /dev/null
+++ b/src/ags/audio/ags_recall_ladspa_run.c
@@ -0,0 +1,407 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_ladspa.h>
+#include <ags/audio/ags_recall_ladspa_run.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/audio/ags_config.h>
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_port.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+void ags_recall_ladspa_run_class_init(AgsRecallLadspaRunClass *recall_ladspa_run_class);
+void ags_recall_ladspa_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_ladspa_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_recall_ladspa_run_init(AgsRecallLadspaRun *recall_ladspa_run);
+void ags_recall_ladspa_run_connect(AgsConnectable *connectable);
+void ags_recall_ladspa_run_disconnect(AgsConnectable *connectable);
+void ags_recall_ladspa_run_finalize(GObject *gobject);
+
+void ags_recall_ladspa_run_run_init_pre(AgsRecall *recall);
+void ags_recall_ladspa_run_run_pre(AgsRecall *recall);
+void ags_recall_ladspa_run_run_inter(AgsRecall *recall);
+
+void ags_recall_ladspa_run_load_ports(AgsRecallLadspaRun *recall_ladspa_run);
+
+/**
+ * SECTION:ags_recall_ladspa_run
+ * @Short_description: The object interfacing with LADSPA
+ * @Title: AgsRecallLadspaRun
+ *
+ * #AgsRecallLadspaRun provides LADSPA support.
+ */
+
+extern AgsConfig *config;
+static gpointer ags_recall_ladspa_run_parent_class = NULL;
+static AgsConnectableInterface* ags_recall_ladspa_run_parent_connectable_interface;
+
+GType
+ags_recall_ladspa_run_get_type (void)
+{
+ static GType ags_type_recall_ladspa_run = 0;
+
+ if(!ags_type_recall_ladspa_run){
+ static const GTypeInfo ags_recall_ladspa_run_info = {
+ sizeof (AgsRecallLadspaRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_ladspa_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallLadspaRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_ladspa_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_ladspa_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_recall_ladspa_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_ladspa_run = g_type_register_static(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "AgsRecallLadspaRun\0",
+ &ags_recall_ladspa_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_ladspa_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_ladspa_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_recall_ladspa_run);
+}
+
+void
+ags_recall_ladspa_run_class_init(AgsRecallLadspaRunClass *recall_ladspa_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_ladspa_run_parent_class = g_type_class_peek_parent(recall_ladspa_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_ladspa_run;
+
+ gobject->finalize = ags_recall_ladspa_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_ladspa_run;
+
+ recall->run_init_pre = ags_recall_ladspa_run_run_init_pre;
+ recall->run_pre = ags_recall_ladspa_run_run_pre;
+ recall->run_inter = ags_recall_ladspa_run_run_inter;
+}
+
+
+void
+ags_recall_ladspa_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recall_ladspa_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_ladspa_run_connect;
+ connectable->disconnect = ags_recall_ladspa_run_disconnect;
+}
+
+void
+ags_recall_ladspa_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_recall_ladspa_run_init(AgsRecallLadspaRun *recall_ladspa_run)
+{
+ recall_ladspa_run->input = NULL;
+ recall_ladspa_run->output = NULL;
+}
+
+void
+ags_recall_ladspa_run_connect(AgsConnectable *connectable)
+{
+ ags_recall_ladspa_run_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_recall_ladspa_run_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_ladspa_run_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_recall_ladspa_run_finalize(GObject *gobject)
+{
+ AgsRecallLadspa *recall_ladspa;
+ AgsRecallLadspaRun *recall_ladspa_run;
+ unsigned long i;
+
+ recall_ladspa_run = AGS_RECALL_LADSPA_RUN(gobject);
+
+ free(recall_ladspa_run->output);
+ free(recall_ladspa_run->input);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_ladspa_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_ladspa_run_run_init_pre(AgsRecall *recall)
+{
+ AgsRecallLadspa *recall_ladspa;
+ AgsRecallLadspaRun *recall_ladspa_run;
+ AgsAudioSignal *audio_signal;
+ unsigned long samplerate;
+ unsigned long buffer_size;
+ unsigned long i;
+
+ LADSPA_PortDescriptor *port_descriptor;
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_recall_ladspa_run_parent_class)->run_init_pre(recall);
+
+ recall_ladspa_run = AGS_RECALL_LADSPA_RUN(recall);
+ recall_ladspa = AGS_RECALL_LADSPA(AGS_RECALL_CHANNEL_RUN(recall->parent->parent)->recall_channel);
+
+ /* set up buffer */
+ samplerate = (unsigned long) g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+ buffer_size = (unsigned long) g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+
+ recall_ladspa_run->input = (LADSPA_Data *) malloc(recall_ladspa->input_lines *
+ buffer_size *
+ sizeof(LADSPA_Data));
+ recall_ladspa_run->output = (LADSPA_Data *) malloc(recall_ladspa->output_lines *
+ buffer_size *
+ sizeof(LADSPA_Data));
+
+ recall_ladspa_run->ladspa_handle = (LADSPA_Handle *) malloc(recall_ladspa->input_lines *
+ sizeof(LADSPA_Handle));
+
+ for(i = 0; i < recall_ladspa->input_lines; i++){
+ /* instantiate ladspa */
+ recall_ladspa_run->ladspa_handle[i] = (LADSPA_Handle *) recall_ladspa->plugin_descriptor->instantiate(recall_ladspa->plugin_descriptor,
+ samplerate);
+ recall_ladspa->plugin_descriptor->activate(recall_ladspa_run->ladspa_handle[i]);
+
+#ifdef AGS_DEBUG
+ g_message("instantiate LADSPA handle\0");
+#endif
+
+ }
+
+ ags_recall_ladspa_run_load_ports(recall_ladspa_run);
+
+ /* can't be done in ags_recall_ladspa_run_run_init_inter since possebility of overlapping buffers */
+ /* connect audio port */
+ port_descriptor = recall_ladspa->plugin_descriptor->PortDescriptors;
+
+ for(i = 0; i < recall_ladspa->input_lines; i++){
+ recall_ladspa->plugin_descriptor->connect_port(recall_ladspa_run->ladspa_handle[i],
+ recall_ladspa->input_port[i],
+ recall_ladspa_run->input);
+ }
+
+ for(i = 0; i < recall_ladspa->output_lines; i++){
+ recall_ladspa->plugin_descriptor->connect_port(recall_ladspa_run->ladspa_handle[i],
+ recall_ladspa->output_port[i],
+ recall_ladspa_run->output);
+ }
+}
+
+void
+ags_recall_ladspa_run_run_pre(AgsRecall *recall)
+{
+ //empty
+}
+
+void
+ags_recall_ladspa_run_run_inter(AgsRecall *recall)
+{
+ AgsRecallLadspa *recall_ladspa;
+ AgsRecallLadspaRun *recall_ladspa_run;
+ AgsAudioSignal *audio_signal;
+ unsigned long buffer_size;
+ unsigned long i;
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_recall_ladspa_run_parent_class)->run_inter(recall);
+
+ recall_ladspa = AGS_RECALL_LADSPA(AGS_RECALL_CHANNEL_RUN(recall->parent->parent)->recall_channel);
+ recall_ladspa_run = AGS_RECALL_LADSPA_RUN(recall);
+
+ /* set up buffer */
+ audio_signal = AGS_RECALL_AUDIO_SIGNAL(recall_ladspa_run)->source;
+
+ memset(recall_ladspa_run->output, 0, recall_ladspa->output_lines * buffer_size * sizeof(LADSPA_Data));
+ memset(recall_ladspa_run->input, 0, recall_ladspa->input_lines * buffer_size * sizeof(LADSPA_Data));
+
+ if(audio_signal->stream_current == NULL){
+ for(i = 0; i < recall_ladspa->input_lines; i++){
+ /* deactivate */
+ //TODO:JK: fix-me
+ // recall_ladspa->plugin_descriptor->deactivate(recall_ladspa_run->ladspa_handle[i]);
+ // recall_ladspa->plugin_descriptor->cleanup(recall_ladspa_run->ladspa_handle[i]);
+ }
+
+ ags_recall_done(recall);
+ return;
+ }
+
+ ags_recall_ladspa_short_to_float(audio_signal->stream_current->data,
+ recall_ladspa_run->input,
+ audio_signal->buffer_size, recall_ladspa->input_lines);
+
+ /* process data */
+ audio_signal = AGS_RECALL_AUDIO_SIGNAL(recall)->source;
+
+ buffer_size = audio_signal->buffer_size;
+
+ for(i = 0; i < recall_ladspa->input_lines; i++){
+ recall_ladspa->plugin_descriptor->run(recall_ladspa_run->ladspa_handle[i],
+ buffer_size);
+ }
+
+ /* copy data */
+ memset((signed short *) audio_signal->stream_current->data,
+ 0,
+ buffer_size * sizeof(signed short));
+ ags_recall_ladspa_float_to_short(recall_ladspa_run->output,
+ audio_signal->stream_current->data,
+ audio_signal->buffer_size, recall_ladspa->output_lines);
+}
+
+/**
+ * ags_recall_ladspa_run_load_ports:
+ * @recall_ladspa_run: an #AgsRecallLadspaRun
+ *
+ * Set up LADSPA ports.
+ *
+ * Since: 0.4
+ */
+void
+ags_recall_ladspa_run_load_ports(AgsRecallLadspaRun *recall_ladspa_run)
+{
+ AgsRecallLadspa *recall_ladspa;
+ AgsLadspaPlugin *ladspa_plugin;
+ AgsPort *current;
+ GList *port;
+ gchar *path;
+ unsigned long port_count;
+ unsigned long i, j;
+
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+ LADSPA_PortRangeHintDescriptor hint_descriptor;
+
+ recall_ladspa = AGS_RECALL_LADSPA(AGS_RECALL_CHANNEL_RUN(AGS_RECALL(recall_ladspa_run)->parent->parent)->recall_channel);
+
+ port = AGS_RECALL(recall_ladspa)->port;
+
+ plugin_descriptor = recall_ladspa->plugin_descriptor;
+
+ port_count = plugin_descriptor->PortCount;
+ port_descriptor = plugin_descriptor->PortDescriptors;
+
+ for(i = 0; i < port_count; i++){
+ if(LADSPA_IS_PORT_CONTROL(port_descriptor[i])){
+ if(LADSPA_IS_PORT_INPUT(port_descriptor[i]) ||
+ LADSPA_IS_PORT_OUTPUT(port_descriptor[i])){
+ GList *list;
+ LADSPA_Data *port_data;
+ gchar *plugin_name;
+ gchar *specifier;
+
+ hint_descriptor = plugin_descriptor->PortRangeHints[i].HintDescriptor;
+ specifier = plugin_descriptor->PortNames[i];
+
+ list = port;
+
+ while(list != NULL){
+ current = port->data;
+
+ if(!g_strcmp0(specifier,
+ current->specifier)){
+ break;
+ }
+
+ list = list->next;
+ }
+
+ for(j = 0; j < recall_ladspa->input_lines; j++){
+ g_message("connecting port[%d]: %d/%d\0", j, i, port_count);
+ port_data = &(current->port_value.ags_port_float);
+ recall_ladspa->plugin_descriptor->connect_port(recall_ladspa_run->ladspa_handle[j],
+ i,
+ port_data);
+ }
+ }
+ }
+ }
+}
+
+/**
+ * ags_recall_ladspa_run_new:
+ * @audio_signal: the source
+ *
+ * Creates a #AgsRecallLadspaRun
+ *
+ * Returns: a new #AgsRecallLadspaRun
+ */
+AgsRecallLadspaRun*
+ags_recall_ladspa_run_new(AgsAudioSignal *audio_signal)
+{
+ AgsRecallLadspaRun *recall_ladspa_run;
+
+ recall_ladspa_run = (AgsRecallLadspaRun *) g_object_new(AGS_TYPE_RECALL_LADSPA_RUN,
+ "source\0", audio_signal,
+ NULL);
+
+ return(recall_ladspa_run);
+}
diff --git a/src/ags/audio/ags_recall_ladspa_run.h b/src/ags/audio/ags_recall_ladspa_run.h
new file mode 100644
index 0000000..1c4e8f4
--- /dev/null
+++ b/src/ags/audio/ags_recall_ladspa_run.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_LADSPA_RUN_H__
+#define __AGS_RECALL_LADSPA_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ladspa.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#define AGS_TYPE_RECALL_LADSPA_RUN (ags_recall_ladspa_run_get_type())
+#define AGS_RECALL_LADSPA_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_LADSPA_RUN, AgsRecallLadspaRun))
+#define AGS_RECALL_LADSPA_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_LADSPA_RUN, AgsRecallLadspaRunClass))
+#define AGS_IS_RECALL_LADSPA_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RECALL_LADSPA_RUN))
+#define AGS_IS_RECALL_LADSPA_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RECALL_LADSPA_RUN))
+#define AGS_RECALL_LADSPA_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RECALL_LADSPA_RUN, AgsRecallLadspaRunClass))
+
+typedef struct _AgsRecallLadspaRun AgsRecallLadspaRun;
+typedef struct _AgsRecallLadspaRunClass AgsRecallLadspaRunClass;
+
+struct _AgsRecallLadspaRun
+{
+ AgsRecallAudioSignal recall_audio_signal;
+
+ LADSPA_Handle *ladspa_handle;
+
+ LADSPA_Data *input;
+ LADSPA_Data *output;
+};
+
+struct _AgsRecallLadspaRunClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+
+GType ags_recall_ladspa_run_get_type();
+
+AgsRecallLadspaRun* ags_recall_ladspa_run_new(AgsAudioSignal *audio_signal);
+
+#endif /*__AGS_RECALL_LADSPA_RUN_H__*/
diff --git a/src/ags/audio/ags_recall_recycling.c b/src/ags/audio/ags_recall_recycling.c
new file mode 100644
index 0000000..8b509cc
--- /dev/null
+++ b/src/ags/audio/ags_recall_recycling.c
@@ -0,0 +1,902 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_recycling.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_list.h>
+#include <ags/lib/ags_parameter.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#include <ags/audio/recall/ags_stream_recycling.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+void ags_recall_recycling_class_init(AgsRecallRecyclingClass *recall_recycling);
+void ags_recall_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_recall_recycling_init(AgsRecallRecycling *recall_recycling);
+void ags_recall_recycling_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_recycling_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recall_recycling_connect(AgsConnectable *connectable);
+void ags_recall_recycling_disconnect(AgsConnectable *connectable);
+void ags_recall_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_recycling_finalize(GObject *gobject);
+
+AgsRecall* ags_recall_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_recall_recycling_source_add_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling);
+void ags_recall_recycling_source_remove_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling);
+void ags_recall_recycling_destination_add_audio_signal_callback(AgsRecycling *destination,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling);
+void ags_recall_recycling_destination_remove_audio_signal_callback(AgsRecycling *destination,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling);
+
+void ags_recall_recycling_duplicate_list(GList *list,
+ GList **target);
+
+/**
+ * SECTION:ags_recall_recycling
+ * @short_description: recycling context of recall
+ * @title: AgsRecallRecycling
+ * @section_id:
+ * @include: ags/audio/ags_recall_recycling.h
+ *
+ * #AgsRecallRecycling acts as recycling recall.
+ */
+
+enum{
+ PROP_0,
+ PROP_AUDIO_CHANNEL,
+ PROP_DESTINATION,
+ PROP_SOURCE,
+ PROP_CHILD_DESTINATION,
+ PROP_CHILD_SOURCE,
+};
+
+static gpointer ags_recall_recycling_parent_class = NULL;
+static AgsConnectableInterface* ags_recall_recycling_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_recall_recycling_parent_dynamic_connectable_interface;
+
+GType
+ags_recall_recycling_get_type()
+{
+ static GType ags_type_recall_recycling = 0;
+
+ if(!ags_type_recall_recycling){
+ static const GTypeInfo ags_recall_recycling_info = {
+ sizeof (AgsRecallRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_recycling_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_recycling = g_type_register_static(AGS_TYPE_RECALL,
+ "AgsRecallRecycling\0",
+ &ags_recall_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_recycling,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_recall_recycling);
+}
+
+void
+ags_recall_recycling_class_init(AgsRecallRecyclingClass *recall_recycling)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_recycling_parent_class = g_type_class_peek_parent(recall_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_recycling;
+
+ gobject->set_property = ags_recall_recycling_set_property;
+ gobject->get_property = ags_recall_recycling_get_property;
+
+ gobject->finalize = ags_recall_recycling_finalize;
+
+ /* properties */
+ /**
+ * AgsRecallRecycling:audio-channel:
+ *
+ * The assigned destination recycling.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("audio-channel\0",
+ "assigned audio channel\0",
+ "The audio channel this recall does output to\0",
+ 0,
+ 65536,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_CHANNEL,
+ param_spec);
+
+ /**
+ * AgsRecallRecycling:destination:
+ *
+ * The assigned destination recycling.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("destination\0",
+ "AgsRecycling destination of this recall\0",
+ "The AgsRecycling destination of this recall\0",
+ AGS_TYPE_RECYCLING,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DESTINATION,
+ param_spec);
+
+ /**
+ * AgsRecallRecycling:destination:
+ *
+ * The assigned source recycling.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("source\0",
+ "AgsRecycling source of this recall\0",
+ "The AgsRecycling source of this recall\0",
+ AGS_TYPE_RECYCLING,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SOURCE,
+ param_spec);
+
+ /**
+ * AgsRecallRecycling:child-destination:
+ *
+ * The assigned destination audio signal.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("child-destination\0",
+ "AgsAudioSignal of this recall\0",
+ "The destination AgsAudioSignal child recall needs\0",
+ AGS_TYPE_AUDIO_SIGNAL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHILD_DESTINATION,
+ param_spec);
+
+ /**
+ * AgsRecallRecycling:child-source:
+ *
+ * The assigned source audio signal.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("child-source\0",
+ "AgsAudioSignal of this recall\0",
+ "The source AgsAudioSignal child recall needs\0",
+ AGS_TYPE_AUDIO_SIGNAL,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHILD_SOURCE,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_recycling;
+
+ recall->duplicate = ags_recall_recycling_duplicate;
+
+ /* AgsRecallRecyclingClass */
+}
+
+void
+ags_recall_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_recall_recycling_connectable_parent_interface;
+
+ ags_recall_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_recycling_connect;
+ connectable->disconnect = ags_recall_recycling_disconnect;
+}
+
+void
+ags_recall_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_recall_recycling_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_recall_recycling_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_recall_recycling_disconnect_dynamic;
+}
+
+void
+ags_recall_recycling_init(AgsRecallRecycling *recall_recycling)
+{
+ recall_recycling->flags = 0;
+ recall_recycling->flags = (AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION |
+ AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE);
+
+ recall_recycling->audio_channel = 0;
+
+ recall_recycling->destination = NULL;
+ recall_recycling->source = NULL;
+
+ recall_recycling->child_destination = NULL;
+ recall_recycling->child_source = NULL;
+}
+
+void
+ags_recall_recycling_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallRecycling *recall_recycling;
+
+ recall_recycling = AGS_RECALL_RECYCLING(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ recall_recycling->audio_channel = g_value_get_uint(value);
+ }
+ break;
+ case PROP_DESTINATION:
+ {
+ AgsRecycling *destination;
+
+ destination = (AgsRecycling *) g_value_get_object(value);
+
+ if(recall_recycling->destination == destination)
+ return;
+
+ if(recall_recycling->destination != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_recycling)->flags)) == 0){
+ gobject = G_OBJECT(recall_recycling->destination);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->destination_add_audio_signal_handler);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->destination_remove_audio_signal_handler);
+ }
+
+ g_object_unref(G_OBJECT(recall_recycling->destination));
+ }
+
+ if(destination != NULL){
+ g_object_ref(G_OBJECT(destination));
+ }
+
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_recycling)->flags)) == 0){
+ gobject = G_OBJECT(destination);
+
+ recall_recycling->destination_add_audio_signal_handler =
+ g_signal_connect_after(gobject, "add_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_destination_add_audio_signal_callback), recall_recycling);
+
+ recall_recycling->destination_remove_audio_signal_handler =
+ g_signal_connect(gobject, "remove_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_destination_remove_audio_signal_callback), recall_recycling);
+ }
+
+ recall_recycling->destination = destination;
+ }
+ break;
+ case PROP_SOURCE:
+ {
+ AgsRecycling *source;
+
+ source = (AgsRecycling *) g_value_get_object(value);
+
+ if(recall_recycling->source == source)
+ return;
+
+ if(recall_recycling->source != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_recycling)->flags)) == 0){
+ gobject = G_OBJECT(recall_recycling->source);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->source_add_audio_signal_handler);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->source_remove_audio_signal_handler);
+ }
+
+ g_object_unref(G_OBJECT(recall_recycling->source));
+ }
+
+ if(source != NULL){
+ g_object_ref(G_OBJECT(source));
+ }
+
+ recall_recycling->source = source;
+
+ if(source != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_recycling)->flags)) == 0){
+ gobject = G_OBJECT(source);
+
+ recall_recycling->source_add_audio_signal_handler =
+ g_signal_connect_after(gobject, "add_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_source_add_audio_signal_callback), recall_recycling);
+
+ recall_recycling->source_remove_audio_signal_handler =
+ g_signal_connect(gobject, "remove_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_source_remove_audio_signal_callback), recall_recycling);
+ }
+ }
+
+ }
+ break;
+ case PROP_CHILD_DESTINATION:
+ {
+ AgsAudioSignal *child_destination;
+
+ child_destination = (AgsAudioSignal *) g_value_get_object(value);
+
+ if(recall_recycling->child_destination == child_destination)
+ return;
+
+ if(recall_recycling->child_destination != NULL){
+ g_object_unref(G_OBJECT(recall_recycling->child_destination));
+ }
+
+ if(child_destination != NULL){
+ g_object_ref(G_OBJECT(child_destination));
+ }
+
+ recall_recycling->child_destination = child_destination;
+ }
+ break;
+ case PROP_CHILD_SOURCE:
+ {
+ AgsAudioSignal *child_source;
+
+ child_source = (AgsAudioSignal *) g_value_get_object(value);
+
+ if(g_list_find(recall_recycling->child_source, child_source) != NULL)
+ return;
+
+ if(child_source != NULL){
+ g_object_ref(G_OBJECT(child_source));
+
+ recall_recycling->child_source = g_list_prepend(recall_recycling->child_source,
+ child_source);
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_recall_recycling_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecallRecycling *recall_recycling;
+
+ recall_recycling = AGS_RECALL_RECYCLING(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ g_value_set_uint(value, recall_recycling->audio_channel);
+ }
+ break;
+ case PROP_DESTINATION:
+ {
+ g_value_set_object(value, recall_recycling->destination);
+ }
+ break;
+ case PROP_SOURCE:
+ {
+ g_value_set_object(value, recall_recycling->source);
+ }
+ break;
+ case PROP_CHILD_DESTINATION:
+ {
+ g_value_set_object(value, recall_recycling->child_destination);
+ }
+ break;
+ };
+}
+
+void
+ags_recall_recycling_finalize(GObject *gobject)
+{
+ AgsRecallRecycling *recall_recycling;
+
+ recall_recycling = AGS_RECALL_RECYCLING(gobject);
+
+ if(recall_recycling->destination != NULL)
+ g_object_unref(G_OBJECT(recall_recycling->destination));
+
+ if(recall_recycling->source != NULL)
+ g_object_unref(G_OBJECT(recall_recycling->source));
+
+ if(recall_recycling->child_destination != NULL)
+ g_object_unref(G_OBJECT(recall_recycling->child_destination));
+
+ if(recall_recycling->child_source != NULL)
+ ags_list_free_and_unref_link(recall_recycling->child_source);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_recycling_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_recycling_connect(AgsConnectable *connectable)
+{
+ ags_recall_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_recycling_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsRecallRecycling *recall_recycling;
+ GObject *gobject;
+
+ ags_recall_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* AgsRecallRecycling */
+ recall_recycling = AGS_RECALL_RECYCLING(dynamic_connectable);
+
+ /* destination */
+ if(recall_recycling->destination != NULL){
+ gobject = G_OBJECT(recall_recycling->destination);
+
+ recall_recycling->destination_add_audio_signal_handler =
+ g_signal_connect_after(gobject, "add_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_destination_add_audio_signal_callback), recall_recycling);
+
+ recall_recycling->destination_remove_audio_signal_handler =
+ g_signal_connect(gobject, "remove_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_destination_remove_audio_signal_callback), recall_recycling);
+ }
+
+ /* source */
+ gobject = G_OBJECT(recall_recycling->source);
+
+ recall_recycling->source_add_audio_signal_handler =
+ g_signal_connect_after(gobject, "add_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_source_add_audio_signal_callback), recall_recycling);
+
+ recall_recycling->source_remove_audio_signal_handler =
+ g_signal_connect(gobject, "remove_audio_signal\0",
+ G_CALLBACK(ags_recall_recycling_source_remove_audio_signal_callback), recall_recycling);
+}
+
+void
+ags_recall_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsRecallRecycling *recall_recycling;
+ GObject *gobject;
+
+ recall_recycling = AGS_RECALL_RECYCLING(dynamic_connectable);
+
+ /* destination */
+ if(recall_recycling->destination != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_recycling)->flags)) == 0){
+
+ gobject = G_OBJECT(recall_recycling->destination);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->destination_add_audio_signal_handler);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->destination_remove_audio_signal_handler);
+ }
+
+ /* source */
+ if(recall_recycling->source != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(recall_recycling)->flags)) == 0){
+ gobject = G_OBJECT(recall_recycling->source);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->source_add_audio_signal_handler);
+
+ g_signal_handler_disconnect(gobject, recall_recycling->source_remove_audio_signal_handler);
+ }
+
+ /* call parent */
+ ags_recall_recycling_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+AgsRecall*
+ags_recall_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecallRecycling *recall_recycling, *copy;
+ GList *list;
+
+ recall_recycling = AGS_RECALL_RECYCLING(recall);
+
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ "devout\0", recall->devout,
+ "audio_channel\0", recall_recycling->audio_channel,
+ "destination\0", recall_recycling->destination,
+ "source\0", recall_recycling->source,
+ NULL);
+
+ /*
+ list = recall_recycling->child_source;
+
+ while(list != NULL){
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ "child_source\0", list->data,
+ NULL);
+
+ list = list->next;
+ }
+ */
+
+ copy = AGS_RECALL_RECYCLING(AGS_RECALL_CLASS(ags_recall_recycling_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ return((AgsRecall *) copy);
+}
+
+GList*
+ags_recall_recycling_get_child_source(AgsRecallRecycling *recall_recycling)
+{
+ GList *child_source;
+
+ child_source = NULL;
+
+ g_list_foreach(recall_recycling->child_source,
+ (GFunc) ags_list_duplicate_list,
+ &child_source);
+
+ child_source = g_list_reverse(child_source);
+
+ return(child_source);
+}
+
+void
+ags_recall_recycling_source_add_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling)
+{
+ AgsChannel *channel;
+ AgsRecall *recall;
+ AgsRecallAudioSignal *recall_audio_signal;
+
+ if(source == NULL ||
+ recall_recycling == NULL ||
+ audio_signal == NULL){
+ return;
+ }
+
+ recall = AGS_RECALL(recall_recycling);
+ channel = AGS_RECALL_CHANNEL_RUN(recall->parent)->source;
+
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (audio_signal->flags)) == 0 &&
+ audio_signal->recall_id != NULL && recall->recall_id != NULL &&
+ (AGS_RECALL_ID(audio_signal->recall_id)->recycling_container == recall->recall_id->recycling_container ||
+ (AGS_IS_INPUT(channel) &&
+ channel->link != NULL &&
+ AGS_RECALL_ID(audio_signal->recall_id)->recycling_container->parent == recall->recall_id->recycling_container))){
+
+#ifdef AGS_DEBUG
+ g_message("add %s:%x -> %x @ %x\0",
+ G_OBJECT_TYPE_NAME(recall),
+ recall->recall_id,
+ audio_signal->recall_id,
+ recall->recall_id->recycling_container);
+
+ g_message("ags_recall_recycling_source_add_audio_signal_callback %s[%llx]\0",
+ G_OBJECT_TYPE_NAME(recall_recycling), (long long unsigned int) recall_recycling);
+
+ g_message("ags_recall_recycling_source_add_audio_signal - channel: %s[%u]\0",
+ G_OBJECT_TYPE_NAME(recall_recycling),
+ AGS_CHANNEL(recall_recycling->source->channel)->line);
+
+ if(!AGS_IS_INPUT(source->channel)){
+ g_message("ags_recall_recycling_source_add_audio_signal_callback[%s]\0", G_OBJECT_TYPE_NAME(recall));
+ }
+#endif
+
+
+ if((AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE & (recall_recycling->flags)) != 0){
+ g_object_set(G_OBJECT(recall_recycling),
+ "child_source\0", audio_signal,
+ NULL);
+ }
+
+ if(AGS_RECALL(recall_recycling)->child_type != G_TYPE_NONE){
+ recall_audio_signal = g_object_new(AGS_RECALL(recall_recycling)->child_type,
+ "devout\0", recall->devout,
+ "audio_channel\0", recall_recycling->audio_channel,
+ "destination\0", recall_recycling->child_destination,
+ "source\0", audio_signal,
+ NULL);
+
+ ags_recall_add_child(AGS_RECALL(recall_recycling), AGS_RECALL(recall_audio_signal));
+ }
+ }
+}
+
+void
+ags_recall_recycling_source_remove_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling)
+{
+ AgsDevout *devout;
+ AgsChannel *channel;
+ AgsRecall *recall;
+ AgsCancelRecall *cancel_recall;
+ AgsRecallAudioSignal *recall_audio_signal;
+ GList *list;
+
+ if(source == NULL ||
+ recall_recycling == NULL ||
+ audio_signal == NULL){
+ return;
+ }
+
+ recall = AGS_RECALL(recall_recycling);
+ channel = AGS_RECALL_CHANNEL_RUN(recall->parent)->source;
+
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (audio_signal->flags)) == 0 &&
+ audio_signal->recall_id != NULL && recall->recall_id != NULL &&
+ (AGS_RECALL_ID(audio_signal->recall_id)->recycling_container == recall->recall_id->recycling_container ||
+ (AGS_IS_INPUT(channel) &&
+ channel->link != NULL &&
+ AGS_RECALL_ID(audio_signal->recall_id)->recycling_container->parent == recall->recall_id->recycling_container))){
+
+#ifdef AGS_DEBUG
+ g_message("ags_recall_recycling_source_remove_audio_signal - channel: %s[%u]\n\0",
+ G_OBJECT_TYPE_NAME(recall_recycling),
+ AGS_CHANNEL(recall_recycling->source->channel)->line);
+#endif
+
+ devout = AGS_DEVOUT(AGS_AUDIO(AGS_CHANNEL(source->channel)->audio)->devout);
+
+ list = ags_recall_get_children(recall);
+
+ while(list != NULL){
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(list->data);
+
+ if((recall_audio_signal->source == audio_signal) &&
+ (AGS_RECALL_DONE & (AGS_RECALL(recall_audio_signal)->flags)) == 0){
+ // cancel_recall = ags_cancel_recall_new(AGS_RECALL(recall_audio_signal),
+ // NULL);
+
+ // ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ // (AgsTask *) cancel_recall);
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if((AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE & (recall_recycling->flags)) != 0){
+ if(g_list_find(recall_recycling->child_source,
+ audio_signal) != NULL){
+ recall_recycling->child_source = g_list_remove(recall_recycling->child_source,
+ audio_signal);
+ g_object_unref(audio_signal);
+ }
+ }
+ }
+}
+
+void
+ags_recall_recycling_destination_add_audio_signal_callback(AgsRecycling *destination,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling)
+{
+ AgsRecyclingContainer *output_recycling_container;
+ AgsRecall *recall;
+
+ if(destination ||
+ recall_recycling == NULL ||
+ audio_signal == NULL){
+ return;
+ }
+
+ recall = AGS_RECALL(recall_recycling);
+ output_recycling_container = recall->recall_id->recycling_container->parent;
+
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (audio_signal->flags)) == 0 &&
+ audio_signal->recall_id != NULL && recall->recall_id != NULL &&
+ AGS_RECALL_ID(audio_signal->recall_id)->recycling_container == output_recycling_container &&
+ recall_recycling->destination == (AgsRecycling *) audio_signal->recycling){
+
+#ifdef AGS_DEBUG
+ g_message("ags_recall_recycling_destination_add_audio_signal_callback %s[%llx]\0",
+ G_OBJECT_TYPE_NAME(recall_recycling), (long long unsigned int) recall_recycling);
+
+ if((AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION & (recall_recycling->flags)) != 0){
+ g_message("ags_recall_recycling_destination_add_audio_signal - channel: %s[%u]\n\0",
+ G_OBJECT_TYPE_NAME(recall_recycling),
+ AGS_CHANNEL(recall_recycling->source->channel)->line);
+ }
+
+ g_message(" -- g_object_set -- child_destination@%llx\0", (long long unsigned int) audio_signal);
+#endif
+
+ g_object_set(G_OBJECT(recall_recycling),
+ "child_destination\0", audio_signal,
+ NULL);
+
+ if((AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE & (recall_recycling->flags)) != 0){
+ if(recall_recycling->child_source != NULL){
+ g_list_free_full(recall_recycling->child_source,
+ g_object_unref);
+ }
+
+ recall_recycling->child_source = NULL;
+ }
+ }
+}
+
+void
+ags_recall_recycling_destination_remove_audio_signal_callback(AgsRecycling *destination,
+ AgsAudioSignal *audio_signal,
+ AgsRecallRecycling *recall_recycling)
+{
+ AgsDevout *devout;
+ AgsRecall *recall;
+ AgsCancelRecall *cancel_recall;
+ AgsRecallAudioSignal *recall_audio_signal;
+ GList *list;
+
+ if(destination == NULL ||
+ recall_recycling == NULL ||
+ audio_signal == NULL){
+ return;
+ }
+
+ recall = AGS_RECALL(recall_recycling);
+
+ //TODO:JK: recall should always have a recall_id but needs a fix
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (audio_signal->flags)) == 0 &&
+ audio_signal->recall_id != NULL && recall->recall_id != NULL &&
+ AGS_RECALL_ID(audio_signal->recall_id)->recycling_container == recall->recall_id->recycling_container->parent &&
+ recall_recycling->child_destination == audio_signal){
+
+#ifdef AGS_DEBUG
+ g_message("ags_recall_recycling_destination_remove_audio_signal - channel: %s[%u]\n\0",
+ G_OBJECT_TYPE_NAME(recall_recycling),
+ AGS_CHANNEL(recall_recycling->source->channel)->line);
+#endif
+
+ devout = AGS_DEVOUT(AGS_AUDIO(AGS_CHANNEL(destination->channel)->audio)->devout);
+
+ list = ags_recall_get_children(AGS_RECALL(recall_recycling));
+
+ while(list != NULL){
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(list->data);
+
+ if(recall_audio_signal->destination == audio_signal &&
+ (AGS_RECALL_DONE & (AGS_RECALL(recall_audio_signal)->flags)) == 0){
+ // cancel_recall = ags_cancel_recall_new(AGS_RECALL(recall_audio_signal),
+ // NULL);
+
+ // ags_task_thread_append_task(AGS_TASK_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->task_thread),
+ // (AgsTask *) cancel_recall);
+ }
+
+ list = list->next;
+ }
+
+ if((AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION & (recall_recycling->flags)) != 0){
+ if(recall_recycling->child_destination == audio_signal){
+ g_object_set(G_OBJECT(recall_recycling),
+ "child_destination\0", NULL,
+ NULL);
+ }
+ }
+
+ if((AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE & (recall_recycling->flags)) != 0){
+ if(recall_recycling->child_source != NULL){
+ recall_recycling->child_source = NULL;
+ }
+
+ recall_recycling->child_source = NULL;
+ }
+ }
+}
+
+/**
+ * ags_recall_recycling_new:
+ *
+ * Creates a #AgsRecallRecycling
+ *
+ * Returns: a new #AgsRecallRecycling
+ *
+ * Since: 0.4
+ */
+AgsRecallRecycling*
+ags_recall_recycling_new()
+{
+ AgsRecallRecycling *recall_recycling;
+
+ recall_recycling = (AgsRecallRecycling *) g_object_new(AGS_TYPE_RECALL_RECYCLING,
+ NULL);
+
+ return(recall_recycling);
+}
diff --git a/src/ags/audio/ags_recall_recycling.h b/src/ags/audio/ags_recall_recycling.h
new file mode 100644
index 0000000..a6bf132
--- /dev/null
+++ b/src/ags/audio/ags_recall_recycling.h
@@ -0,0 +1,79 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_RECYCLING_H__
+#define __AGS_RECALL_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+
+#define AGS_TYPE_RECALL_RECYCLING (ags_recall_recycling_get_type())
+#define AGS_RECALL_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_RECYCLING, AgsRecallRecycling))
+#define AGS_RECALL_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_RECYCLING, AgsRecallRecyclingClass))
+#define AGS_IS_RECALL_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_RECYCLING))
+#define AGS_IS_RECALL_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_RECYCLING))
+#define AGS_RECALL_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_RECYCLING, AgsRecallRecyclingClass))
+
+typedef struct _AgsRecallRecycling AgsRecallRecycling;
+typedef struct _AgsRecallRecyclingClass AgsRecallRecyclingClass;
+
+typedef enum{
+ AGS_RECALL_RECYCLING_GARBAGE_COLLECTOR = 1,
+ AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION = 1 << 1,
+ AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE = 1 << 2,
+ AGS_RECALL_RECYCLING_CREATE_DESTINATION_ON_MAP_SOURCE = 1 << 3,
+}AgsRecallRecyclingFlags;
+
+struct _AgsRecallRecycling
+{
+ AgsRecall recall;
+
+ guint flags;
+
+ guint audio_channel;
+
+ AgsRecycling *destination;
+ gulong destination_add_audio_signal_handler;
+ gulong destination_remove_audio_signal_handler;
+
+ AgsRecycling *source;
+ gulong source_add_audio_signal_handler;
+ gulong source_remove_audio_signal_handler;
+
+ AgsAudioSignal *child_destination;
+ GList *child_source;
+};
+
+struct _AgsRecallRecyclingClass
+{
+ AgsRecallClass recall;
+};
+
+GType ags_recall_recycling_get_type();
+
+GList* ags_recall_recycling_get_child_source(AgsRecallRecycling *recall_recycling);
+
+AgsRecallRecycling* ags_recall_recycling_new();
+
+#endif /*__AGS_RECALL_RECYCLING_H__*/
diff --git a/src/ags/audio/ags_recall_recycling_dummy.c b/src/ags/audio/ags_recall_recycling_dummy.c
new file mode 100644
index 0000000..0bb6849
--- /dev/null
+++ b/src/ags/audio/ags_recall_recycling_dummy.c
@@ -0,0 +1,241 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recall_recycling_dummy.h>
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/task/ags_remove_audio_signal.h>
+
+void ags_recall_recycling_dummy_class_init(AgsRecallRecyclingDummyClass *recall_recycling_dummy);
+void ags_recall_recycling_dummy_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recall_recycling_dummy_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_recall_recycling_dummy_init(AgsRecallRecyclingDummy *recall_recycling_dummy);
+void ags_recall_recycling_dummy_connect(AgsConnectable *connectable);
+void ags_recall_recycling_dummy_disconnect(AgsConnectable *connectable);
+void ags_recall_recycling_dummy_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_recycling_dummy_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_recall_recycling_dummy_finalize(GObject *gobject);
+
+AgsRecall* ags_recall_recycling_dummy_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_recall_recycling_dummy
+ * @short_description: recycling dummy dynamic context of recall
+ * @title: AgsRecallRecyclingDummy
+ * @section_id:
+ * @include: ags/audio/ags_recall_recycling_dummy.h
+ *
+ * #AgsRecallRecyclingDummy acts as recycling dummy dynamic recall.
+ */
+
+static gpointer ags_recall_recycling_dummy_parent_class = NULL;
+static AgsConnectableInterface *ags_recall_recycling_dummy_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_recall_recycling_dummy_parent_dynamic_connectable_interface;
+
+GType
+ags_recall_recycling_dummy_get_type()
+{
+ static GType ags_type_recall_recycling_dummy = 0;
+
+ if(!ags_type_recall_recycling_dummy){
+ static const GTypeInfo ags_recall_recycling_dummy_info = {
+ sizeof (AgsRecallRecyclingDummyClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recall_recycling_dummy_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecallRecyclingDummy),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recall_recycling_dummy_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_recycling_dummy_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recall_recycling_dummy_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recall_recycling_dummy = g_type_register_static(AGS_TYPE_RECALL_RECYCLING,
+ "AgsRecallRecyclingDummy\0",
+ &ags_recall_recycling_dummy_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recall_recycling_dummy,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_recall_recycling_dummy,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_recall_recycling_dummy);
+}
+
+void
+ags_recall_recycling_dummy_class_init(AgsRecallRecyclingDummyClass *recall_recycling_dummy)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_recall_recycling_dummy_parent_class = g_type_class_peek_parent(recall_recycling_dummy);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recall_recycling_dummy;
+
+ gobject->finalize = ags_recall_recycling_dummy_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) recall_recycling_dummy;
+
+ recall->duplicate = ags_recall_recycling_dummy_duplicate;
+}
+
+void
+ags_recall_recycling_dummy_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recall_recycling_dummy_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recall_recycling_dummy_connect;
+ connectable->disconnect = ags_recall_recycling_dummy_disconnect;
+}
+
+void
+ags_recall_recycling_dummy_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_recall_recycling_dummy_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_recall_recycling_dummy_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_recall_recycling_dummy_disconnect_dynamic;
+}
+
+void
+ags_recall_recycling_dummy_init(AgsRecallRecyclingDummy *recall_recycling_dummy)
+{
+ AGS_RECALL(recall_recycling_dummy)->name = "ags-recall\0";
+ AGS_RECALL(recall_recycling_dummy)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(recall_recycling_dummy)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(recall_recycling_dummy)->xml_type = "ags-recall-recycling-dummy\0";
+ AGS_RECALL(recall_recycling_dummy)->port = NULL;
+
+ AGS_RECALL(recall_recycling_dummy)->flags |= AGS_RECALL_PERSISTENT;
+ AGS_RECALL(recall_recycling_dummy)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_recall_recycling_dummy_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recall_recycling_dummy_parent_class)->finalize(gobject);
+}
+
+void
+ags_recall_recycling_dummy_connect(AgsConnectable *connectable)
+{
+ AgsRecallRecyclingDummy *recall_recycling_dummy;
+
+ recall_recycling_dummy = AGS_RECALL_RECYCLING_DUMMY(connectable);
+
+ ags_recall_recycling_dummy_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_recycling_dummy_disconnect(AgsConnectable *connectable)
+{
+ ags_recall_recycling_dummy_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recall_recycling_dummy_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsRecallRecyclingDummy *recall_recycling_dummy;
+
+ ags_recall_recycling_dummy_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_recall_recycling_dummy_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_recall_recycling_dummy_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+AgsRecall*
+ags_recall_recycling_dummy_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsRecallRecyclingDummy *copy;
+
+ copy = (AgsRecallRecyclingDummy *) AGS_RECALL_CLASS(ags_recall_recycling_dummy_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+ AGS_RECALL(copy)->child_type = recall->child_type;
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_recall_recycling_dummy_new:
+ * @source the source #AgsRecycling
+ * @child_type child type
+ *
+ * Creates an #AgsRecallRecyclingDummy.
+ *
+ * Returns: a new #AgsRecallRecyclingDummy.
+ *
+ * Since: 0.4
+ */
+AgsRecallRecyclingDummy*
+ags_recall_recycling_dummy_new(AgsRecycling *recycling, GType child_type)
+{
+ AgsRecallRecyclingDummy *recall_recycling_dummy;
+
+ recall_recycling_dummy = (AgsRecallRecyclingDummy *) g_object_new(AGS_TYPE_RECALL_RECYCLING_DUMMY,
+ "source\0", recycling,
+ NULL);
+ AGS_RECALL(recall_recycling_dummy)->child_type = child_type;
+
+ return(recall_recycling_dummy);
+}
diff --git a/src/ags/audio/ags_recall_recycling_dummy.h b/src/ags/audio/ags_recall_recycling_dummy.h
new file mode 100644
index 0000000..c452950
--- /dev/null
+++ b/src/ags/audio/ags_recall_recycling_dummy.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECALL_RECYCLING_DUMMY_H__
+#define __AGS_RECALL_RECYCLING_DUMMY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_recycling.h>
+
+#define AGS_TYPE_RECALL_RECYCLING_DUMMY (ags_recall_recycling_dummy_get_type())
+#define AGS_RECALL_RECYCLING_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECALL_RECYCLING_DUMMY, AgsRecallRecyclingDummy))
+#define AGS_RECALL_RECYCLING_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECALL_RECYCLING_DUMMY, AgsRecallRecyclingDummyClass))
+#define AGS_IS_RECALL_RECYCLING_DUMMY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECALL_RECYCLING_DUMMY))
+#define AGS_IS_RECALL_RECYCLING_DUMMY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECALL_RECYCLING_DUMMY))
+#define AGS_RECALL_RECYCLING_DUMMY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECALL_RECYCLING_DUMMY, AgsRecallRecyclingDummyClass))
+
+typedef struct _AgsRecallRecyclingDummy AgsRecallRecyclingDummy;
+typedef struct _AgsRecallRecyclingDummyClass AgsRecallRecyclingDummyClass;
+
+struct _AgsRecallRecyclingDummy
+{
+ AgsRecallRecycling recall_recycling;
+};
+
+struct _AgsRecallRecyclingDummyClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+
+GType ags_recall_recycling_dummy_get_type();
+
+AgsRecallRecyclingDummy* ags_recall_recycling_dummy_new(AgsRecycling *recycling, GType child_type);
+
+#endif /*__AGS_RECALL_RECYCLING_DUMMY_H__*/
diff --git a/src/ags/audio/ags_recycling.c b/src/ags/audio/ags_recycling.c
new file mode 100644
index 0000000..0e4405f
--- /dev/null
+++ b/src/ags/audio/ags_recycling.c
@@ -0,0 +1,657 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recycling.h>
+
+#include <ags/lib/ags_list.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+
+#include <string.h>
+#include <math.h>
+
+void ags_recycling_class_init(AgsRecyclingClass *recycling_class);
+void ags_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recycling_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recycling_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recycling_init(AgsRecycling *recycling);
+void ags_recycling_connect(AgsConnectable *connectable);
+void ags_recycling_disconnect(AgsConnectable *connectable);
+void ags_recycling_finalize(GObject *gobject);
+
+void ags_recycling_real_add_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+
+void ags_recycling_real_remove_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+
+/**
+ * SECTION:ags_recycling
+ * @short_description: A container of audio signals
+ * @title: AgsRecycling
+ * @section_id:
+ * @include: ags/audio/ags_recycling.h
+ *
+ * #AgsRecycling forms the nested tree of AgsChannel. Ever channel
+ * having own audio signal contains therefor an #AgsRecycling
+ */
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+};
+
+enum{
+ ADD_AUDIO_SIGNAL,
+ REMOVE_AUDIO_SIGNAL,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_recycling_parent_class = NULL;
+static guint recycling_signals[LAST_SIGNAL];
+
+//extern void ags_audio_signal_copy_buffer_to_buffer(signed short *destination, guint dchannels,
+// signed short *source, guint schannels, guint size)
+// __attribute__ ((hot))
+// __attribute__ ((fastcall));
+
+GType
+ags_recycling_get_type (void)
+{
+ static GType ags_type_recycling = 0;
+
+ if(!ags_type_recycling){
+ static const GTypeInfo ags_recycling_info = {
+ sizeof (AgsRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recycling = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRecycling\0",
+ &ags_recycling_info, 0);
+
+ g_type_add_interface_static(ags_type_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return(ags_type_recycling);
+}
+
+void
+ags_recycling_class_init(AgsRecyclingClass *recycling)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_recycling_parent_class = g_type_class_peek_parent(recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) recycling;
+
+ gobject->set_property = ags_recycling_set_property;
+ gobject->get_property = ags_recycling_get_property;
+
+ gobject->finalize = ags_recycling_finalize;
+
+ /* properties */
+ /**
+ * AgsRecycling:devout:
+ *
+ * The assigned #AgsDevout acting as default sink.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "assigned devout\0",
+ "The devout it is assigned with\0",
+ AGS_TYPE_DEVOUT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /* */
+ recycling->add_audio_signal = ags_recycling_real_add_audio_signal;
+ recycling->remove_audio_signal = ags_recycling_real_remove_audio_signal;
+
+ /**
+ * AgsRecycling::add-audio-signal
+ * @recycling: an #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to add
+ *
+ * The ::add-audio-signal signal is emited as adding #AgsAudioSignal
+ */
+ recycling_signals[ADD_AUDIO_SIGNAL] =
+ g_signal_new("add-audio-signal\0",
+ G_TYPE_FROM_CLASS (recycling),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecyclingClass, add_audio_signal),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+
+ /**
+ * AgsRecycling::remove-audio-signal:
+ * @recycling: an #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to remove
+ *
+ * The ::remove-audio-signal signal is emited as removing #AgsAudioSignal
+ */
+ recycling_signals[REMOVE_AUDIO_SIGNAL] =
+ g_signal_new("remove-audio-signal\0",
+ G_TYPE_FROM_CLASS (recycling),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsRecyclingClass, remove_audio_signal),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_recycling_connect;
+ connectable->disconnect = ags_recycling_disconnect;
+}
+
+void
+ags_recycling_init(AgsRecycling *recycling)
+{
+ recycling->flags = 0;
+
+ recycling->devout = NULL;
+
+ recycling->channel = NULL;
+
+ recycling->parent = NULL;
+
+ recycling->next = NULL;
+ recycling->prev = NULL;
+
+ recycling->audio_signal = NULL;
+}
+
+void
+ags_recycling_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecycling *recycling;
+
+ recycling = AGS_RECYCLING(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ ags_recycling_set_devout(recycling, (GObject *) devout);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recycling_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecycling *recycling;
+
+ recycling = AGS_RECYCLING(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ g_value_set_object(value, recycling->devout);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recycling_connect(AgsConnectable *connectable)
+{
+}
+
+void
+ags_recycling_disconnect(AgsConnectable *connectable)
+{
+}
+
+void
+ags_recycling_finalize(GObject *gobject)
+{
+ AgsRecycling *recycling;
+ GList *list, *list_next;
+
+ g_warning("ags_recycling_finalize\0");
+
+ recycling = AGS_RECYCLING(gobject);
+
+ /* AgsAudioSignal */
+ ags_list_free_and_unref_link(recycling->audio_signal);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_recycling_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_recycling_set_devout:
+ * @recycling: an #AgsRecycling
+ * @devout: the #AgsDevout to set
+ *
+ * Sets #AgsDevout to recycling.
+ *
+ * Since: 0.3
+ */
+void
+ags_recycling_set_devout(AgsRecycling *recycling, GObject *devout)
+{
+ /* recycling */
+ if(recycling->devout == devout)
+ return;
+
+ if(recycling->devout != NULL)
+ g_object_unref(recycling->devout);
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ recycling->devout = (GObject *) devout;
+}
+
+/**
+ * ags_recycling_add_audio_signal:
+ * @recycling: an #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to add
+ *
+ * Add #AgsAudioSignal to recycling.
+ *
+ * Since: 0.3
+ */
+void
+ags_recycling_add_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal)
+{
+ g_return_if_fail(AGS_IS_RECYCLING(recycling));
+ g_return_if_fail(AGS_IS_AUDIO_SIGNAL(audio_signal));
+
+ g_object_ref(G_OBJECT(recycling));
+ g_signal_emit(G_OBJECT(recycling),
+ recycling_signals[ADD_AUDIO_SIGNAL], 0,
+ audio_signal);
+ g_object_unref(G_OBJECT(recycling));
+}
+
+void
+ags_recycling_real_add_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal)
+{
+ recycling->audio_signal = g_list_prepend(recycling->audio_signal, (gpointer) audio_signal);
+ audio_signal->recycling = (GObject *) recycling;
+ g_object_ref(audio_signal);
+}
+
+/**
+ * ags_recycling_remove_audio_signal:
+ * @recycling: an #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to remove
+ *
+ * Remove #AgsAudioSignal of recycling.
+ *
+ * Since: 0.3
+ */
+void
+ags_recycling_remove_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal)
+{
+ g_return_if_fail(AGS_IS_RECYCLING(recycling));
+
+ g_object_ref((GObject *) recycling);
+ g_object_ref((GObject *) audio_signal);
+ g_signal_emit(G_OBJECT(recycling),
+ recycling_signals[REMOVE_AUDIO_SIGNAL], 0,
+ audio_signal);
+ g_object_unref((GObject *) audio_signal);
+ g_object_unref((GObject *) recycling);
+}
+
+void
+ags_recycling_real_remove_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal)
+{
+ recycling->audio_signal = g_list_remove(recycling->audio_signal,
+ (gpointer) audio_signal);
+ g_object_set(audio_signal,
+ "recycling\0", NULL,
+ NULL);
+}
+
+/**
+ * ags_recycling_create_audio_signal_with_defaults:
+ * @recycling: an #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to apply defaults
+ * @delay:
+ * @attack:
+ *
+ * Create audio signal with defaults.
+ *
+ * Since: 0.4
+ */
+void
+ags_recycling_create_audio_signal_with_defaults(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal,
+ gdouble delay, guint attack)
+{
+ AgsAudioSignal *template;
+
+ template = ags_audio_signal_get_template(recycling->audio_signal);
+
+ audio_signal->delay = delay;
+ audio_signal->attack = attack;
+
+ if(template == NULL){
+ ags_audio_signal_stream_resize(audio_signal,
+ 0);
+ return;
+ }
+
+ audio_signal->devout = template->devout;
+
+ audio_signal->recycling = (GObject *) recycling;
+
+ audio_signal->samplerate = template->samplerate;
+ audio_signal->buffer_size = template->buffer_size;
+ audio_signal->resolution = template->resolution;
+
+ audio_signal->last_frame = (((guint)(delay *
+ template->buffer_size) +
+ attack +
+ template->last_frame) %
+ template->buffer_size);
+ audio_signal->loop_start = (((guint) (delay *
+ template->buffer_size) +
+ attack +
+ template->loop_start) %
+ template->buffer_size);
+ audio_signal->loop_end = (((guint)(delay *
+ template->buffer_size) +
+ attack +
+ template->loop_end) %
+ template->buffer_size);
+
+ ags_audio_signal_stream_resize(audio_signal,
+ template->length);
+
+ ags_audio_signal_duplicate_stream(audio_signal,
+ template);
+}
+
+/**
+ * ags_recycling_create_audio_signal_with_frame_count:
+ * @recycling: an #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to apply defaults
+ * @frame_count: the audio data size
+ * @delay:
+ * @attack:
+ *
+ * Create audio signal with frame count.
+ *
+ * Since: 0.4
+ */
+void
+ags_recycling_create_audio_signal_with_frame_count(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal,
+ guint frame_count,
+ gdouble delay, guint attack)
+{
+ AgsDevout *devout;
+ AgsAudioSignal *template;
+ GList *stream, *template_stream, *template_loop;
+ guint frames_copied;
+ guint loop_start, loop_attack;
+ gboolean enter_loop, initial_loop;
+
+ /* some init */
+ template = ags_audio_signal_get_template(recycling->audio_signal);
+
+ audio_signal->devout = template->devout;
+
+ devout = AGS_DEVOUT(audio_signal->devout);
+
+ audio_signal->recycling = (GObject *) recycling;
+
+ /* resize */
+ ags_audio_signal_stream_resize(audio_signal,
+ (guint) ceil(((double) delay +
+ (double) attack +
+ (double) frame_count) /
+ (double) audio_signal->buffer_size));
+
+ if(template->length == 0)
+ return;
+
+ audio_signal->last_frame = ((guint) (delay * audio_signal->buffer_size) + frame_count + attack) % audio_signal->buffer_size;
+
+ /* generic copying */
+ stream = audio_signal->stream_beginning;
+ template_stream = template->stream_beginning;
+
+ frames_copied = 0;
+
+ loop_start = template->loop_start;
+
+ initial_loop = TRUE;
+
+ /* loop related copying */
+ if(frame_count >= template->loop_start){
+ template_loop = g_list_nth(template->stream_beginning,
+ (guint) floor((double)loop_start / audio_signal->buffer_size));
+
+ enter_loop = TRUE;
+ }else{
+ template_loop = NULL;
+ enter_loop = FALSE;
+ }
+
+ /* the copy loops */
+ while(stream != NULL && template_stream != NULL && frames_copied < frame_count){
+ if(frames_copied + audio_signal->buffer_size < loop_start &&
+ frames_copied < frame_count){
+ ags_audio_signal_copy_buffer_to_buffer(&(((short *) stream->data)[attack]), 1,
+ (short *) template_stream->data, 1,
+ audio_signal->buffer_size - attack);
+
+ if(stream->next != NULL && attack != 0){
+ ags_audio_signal_copy_buffer_to_buffer((short *) stream->next->data, 1,
+ &(((short *) template_stream->data)[audio_signal->buffer_size - attack]), 1,
+ attack);
+ }
+ }
+
+ if(enter_loop &&
+ ((frames_copied > loop_start || frames_copied + audio_signal->buffer_size > loop_start) ||
+ (frames_copied < frame_count))){
+ if(template_stream == NULL){
+ template_stream = template_loop;
+ }
+
+ if(initial_loop &&
+ (loop_start % audio_signal->buffer_size) == 0){
+ loop_attack = 0;
+ }else{
+ loop_attack = loop_start % audio_signal->buffer_size;
+ }
+
+ initial_loop = FALSE;
+
+ ags_audio_signal_copy_buffer_to_buffer(&(((short *) stream->data)[loop_attack]), 1,
+ &(((short *) template_stream->data)[audio_signal->buffer_size - loop_attack]), 1,
+ audio_signal->buffer_size - loop_attack);
+
+ if(loop_attack != 0 && stream->next != NULL){
+ ags_audio_signal_copy_buffer_to_buffer(&(((short *) stream->next->data)[loop_attack]), 1,
+ &(((short *) template_stream->data)[audio_signal->buffer_size - loop_attack]), 1,
+ loop_attack);
+ }
+ }
+
+ stream = stream->next;
+ template_stream = template_stream->next;
+ frames_copied += audio_signal->buffer_size;
+ }
+}
+
+/**
+ * ags_recycling_find_next_channel:
+ * @start_region: boundary start
+ * @end_region: boundary end
+ * @prev_channel: previous channel
+ *
+ * Retrieve next recycling with different channel.
+ *
+ * Returns: Matching recycling.
+ *
+ * Since: 0.4
+ */
+AgsRecycling*
+ags_recycling_find_next_channel(AgsRecycling *start_region, AgsRecycling *end_region,
+ GObject *prev_channel)
+{
+ AgsRecycling *recycling;
+
+ recycling = start_region;
+
+ while(recycling != end_region->next){
+ if(recycling->channel != prev_channel){
+ return(recycling);
+ }
+
+ recycling = recycling->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_recycling_position:
+ * @start_region: boundary start
+ * @end_region: boundary end
+ * @recycling: matching recycling
+ *
+ * Retrieve position of recycling.
+ *
+ * Returns: position within boundary.
+ *
+ * Since: 0.4
+ */
+gint
+ags_recycling_position(AgsRecycling *start_recycling, AgsRecycling *end_region,
+ AgsRecycling *recycling)
+{
+ AgsRecycling *current;
+ gint position;
+
+ if(start_recycling == NULL){
+ return(-1);
+ }
+
+ current = start_recycling;
+ position = -1;
+
+ while(current != NULL && current != end_region){
+ position++;
+
+ if(current == recycling){
+ return(position);
+ }
+
+ current = current->next;
+ }
+
+ return(-1);
+}
+
+/**
+ * ags_recycling_new:
+ * @devout: the #AgsDevout
+ *
+ * Creates a #AgsRecycling, with defaults of @devout.
+ *
+ * Returns: a new #AgsRecycling
+ *
+ * Since: 0.3
+ */
+AgsRecycling*
+ags_recycling_new(GObject *devout)
+{
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+
+ recycling = (AgsRecycling *) g_object_new(AGS_TYPE_RECYCLING, NULL);
+
+ audio_signal = ags_audio_signal_new(devout,
+ (GObject *) recycling,
+ NULL);
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+
+ ags_connectable_connect(AGS_CONNECTABLE(audio_signal));
+
+ recycling->audio_signal = g_list_alloc();
+ recycling->audio_signal->data = (gpointer) audio_signal;
+
+ return(recycling);
+}
diff --git a/src/ags/audio/ags_recycling.h b/src/ags/audio/ags_recycling.h
new file mode 100644
index 0000000..48e4eb3
--- /dev/null
+++ b/src/ags/audio/ags_recycling.h
@@ -0,0 +1,91 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECYCLING_H__
+#define __AGS_RECYCLING_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_audio_signal.h>
+
+#define AGS_TYPE_RECYCLING (ags_recycling_get_type())
+#define AGS_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECYCLING, AgsRecycling))
+#define AGS_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECYCLING, AgsRecyclingClass))
+#define AGS_IS_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECYCLING))
+#define AGS_IS_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECYCLING))
+#define AGS_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECYCLING, AgsRecyclingClass))
+
+typedef struct _AgsRecycling AgsRecycling;
+typedef struct _AgsRecyclingClass AgsRecyclingClass;
+
+typedef enum{
+ AGS_RECYCLING_MUTED = 1,
+}AgsRecyclingFlags;
+
+struct _AgsRecycling
+{
+ GObject object;
+
+ guint flags;
+
+ GObject *channel;
+ GObject *devout;
+
+ AgsRecycling *parent;
+
+ AgsRecycling *next;
+ AgsRecycling *prev;
+
+ GList *audio_signal;
+};
+
+struct _AgsRecyclingClass
+{
+ GObjectClass object;
+
+ void (*add_audio_signal)(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+ void (*remove_audio_signal)(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+};
+
+GType ags_recycling_get_type();
+
+void ags_recycling_set_devout(AgsRecycling *recycling, GObject *devout);
+
+void ags_recycling_add_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+void ags_recycling_remove_audio_signal(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+
+void ags_recycling_create_audio_signal_with_defaults(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal,
+ gdouble delay, guint attack);
+void ags_recycling_create_audio_signal_with_frame_count(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal,
+ guint frame_count,
+ gdouble delay, guint attack);
+
+gint ags_recycling_position(AgsRecycling *start_recycling, AgsRecycling *end_region,
+ AgsRecycling *recycling);
+AgsRecycling* ags_recycling_find_next_channel(AgsRecycling *start_region, AgsRecycling *end_region,
+ GObject *prev_channel);
+
+AgsRecycling* ags_recycling_new(GObject *devout);
+
+#endif /*__AGS_RECYCLING_H__*/
diff --git a/src/ags/audio/ags_recycling_container.c b/src/ags/audio/ags_recycling_container.c
new file mode 100644
index 0000000..137b10e
--- /dev/null
+++ b/src/ags/audio/ags_recycling_container.c
@@ -0,0 +1,705 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_recycling_container.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+#include <stdlib.h>
+
+void ags_recycling_container_class_init(AgsRecyclingContainerClass *recycling_container_class);
+void ags_recycling_container_init(AgsRecyclingContainer *recycling_container);
+void ags_recycling_container_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recycling_container_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recycling_container_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_recycling_container
+ * @short_description: A container of recycling acting as dynamic context.
+ * @title: AgsRecyclingContainer
+ * @section_id:
+ * @include: ags/audio/ags_recycling_container.h
+ *
+ * #AgsRecyclingContainer organizes #AgsRecycling objects as dynamic context
+ * within nested tree.
+ */
+
+enum{
+ PROP_0,
+ PROP_PARENT,
+ PROP_LENGTH,
+ PROP_RECALL_ID,
+};
+
+static gpointer ags_recycling_container_parent_class = NULL;
+
+GType
+ags_recycling_container_get_type (void)
+{
+ static GType ags_type_recycling_container = 0;
+
+ if(!ags_type_recycling_container){
+ static const GTypeInfo ags_recycling_container_info = {
+ sizeof (AgsRecyclingContainerClass),
+ (GBaseInitFunc) NULL, /* base_init */
+ (GBaseFinalizeFunc) NULL, /* base_finalize */
+ (GClassInitFunc) ags_recycling_container_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecyclingContainer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recycling_container_init,
+ };
+
+ ags_type_recycling_container = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRecyclingContainer\0",
+ &ags_recycling_container_info,
+ 0);
+ }
+
+ return (ags_type_recycling_container);
+}
+
+void
+ags_recycling_container_class_init(AgsRecyclingContainerClass *recycling_container)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_recycling_container_parent_class = g_type_class_peek_parent(recycling_container);
+
+ gobject = (GObjectClass *) recycling_container;
+
+ gobject->set_property = ags_recycling_container_set_property;
+ gobject->get_property = ags_recycling_container_get_property;
+
+ gobject->finalize = ags_recycling_container_finalize;
+
+ /* properties */
+ /**
+ * AgsRecyclingContainer:parent:
+ *
+ * The parent recycling container within tree.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("parent\0",
+ "parent container\0",
+ "The container this one is packed into\0",
+ AGS_TYPE_RECYCLING_CONTAINER,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PARENT,
+ param_spec);
+
+ /**
+ * AgsRecyclingContainer:length:
+ *
+ * Boundary length.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint64("length\0",
+ "length of the array of assigned recycling\0",
+ "The recycling array length\0",
+ 0, G_MAXUINT64,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_LENGTH,
+ param_spec);
+
+ /**
+ * AgsRecyclingContainer:recall-id:
+ *
+ * The assigned #AgsRecallID.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("recall-id\0",
+ "the default recall id\0",
+ "The recall id located in audio object as destiny\0",
+ AGS_TYPE_RECALL_ID,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_RECALL_ID,
+ param_spec);
+}
+
+void
+ags_recycling_container_init(AgsRecyclingContainer *recycling_container)
+{
+ recycling_container->recall_id = NULL;
+
+ recycling_container->recycling = NULL;
+ recycling_container->length = 0;
+
+ recycling_container->parent = NULL;
+ recycling_container->children = NULL;
+}
+
+void
+ags_recycling_container_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecyclingContainer *recycling_container;
+ guint i;
+
+ recycling_container = AGS_RECYCLING_CONTAINER(gobject);
+
+ switch(prop_id){
+ case PROP_PARENT:
+ {
+ AgsRecyclingContainer *parent;
+
+ parent = (AgsRecyclingContainer *) g_value_get_object(value);
+
+ if(recycling_container->parent == parent){
+ return;
+ }
+
+ if(recycling_container->parent != NULL){
+ ags_recycling_container_remove_child(recycling_container->parent,
+ recycling_container);
+ }
+
+ if(parent != NULL){
+ ags_recycling_container_add_child(parent,
+ recycling_container);
+ }
+
+ recycling_container->parent = parent;
+ }
+ break;
+ case PROP_LENGTH:
+ {
+ guint64 length;
+
+ length = g_value_get_uint64(value);
+
+ recycling_container->recycling = (AgsRecycling **) malloc(length * sizeof(AgsRecycling *));
+ recycling_container->length = length;
+
+ for(i = 0; i < length; i++){
+ recycling_container->recycling[i] = NULL;
+ }
+ }
+ break;
+ case PROP_RECALL_ID:
+ {
+ AgsRecallID *recall_id;
+
+ recall_id = (AgsRecallID *) g_value_get_object(value);
+
+ if(recall_id == recycling_container->recall_id){
+ return;
+ }
+
+ if(recycling_container->recall_id != NULL){
+ g_object_unref(G_OBJECT(recycling_container->recall_id));
+ }
+
+ if(recall_id != NULL){
+ g_object_ref(G_OBJECT(recall_id));
+ }
+
+ recycling_container->recall_id = recall_id;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recycling_container_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecyclingContainer *recycling_container;
+
+ recycling_container = AGS_RECYCLING_CONTAINER(gobject);
+
+ switch(prop_id){
+ case PROP_PARENT:
+ {
+ g_value_set_object(value, recycling_container->parent);
+ }
+ break;
+ case PROP_LENGTH:
+ {
+ g_value_set_uint64(value, recycling_container->length);
+ }
+ break;
+ case PROP_RECALL_ID:
+ {
+ g_value_set_object(value, recycling_container->recall_id);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recycling_container_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_recycling_container_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_recycling_container_replace:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @recycling: the #AgsRecycling to add
+ * @position: the index of @recycling
+ *
+ * Replaces one recycling entry in a container.
+ *
+ * Returns: the new recycling container
+ *
+ * Since: 0.4
+ */
+void
+ags_recycling_container_replace(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling,
+ gint position)
+{
+ if(recycling_container == NULL){
+ return;
+ }
+
+ recycling_container->recycling[position] = recycling;
+}
+
+/**
+ * ags_recycling_container_add:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @recycling: the #AgsRecycling to add
+ *
+ * Adds a recycling to a container.
+ *
+ * Returns: the new recycling container
+ *
+ * Since: 0.4
+ */
+AgsRecyclingContainer*
+ags_recycling_container_add(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling)
+{
+ AgsRecyclingContainer *new_recycling_container;
+ gint new_length;
+
+ if(recycling_container == NULL){
+ return;
+ }
+
+ new_length = recycling_container->length + 1;
+ new_recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "length\0", new_length,
+ NULL);
+
+ memcpy(new_recycling_container->recycling, recycling_container->recycling, new_length * sizeof(AgsRecycling *));
+ new_recycling_container->recycling[new_length] = recycling;
+
+ return(new_recycling_container);
+}
+
+/**
+ * ags_recycling_container_remove:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @recycling: the #AgsRecycling to remove
+ *
+ * Removes a recycling in a container.
+ *
+ * Returns: the new recycling container
+ *
+ * Since: 0.4
+ */
+AgsRecyclingContainer*
+ags_recycling_container_remove(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling)
+{
+ AgsRecyclingContainer *new_recycling_container;
+ gint new_length;
+ gint position;
+
+ new_recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ NULL);
+
+ new_length = recycling_container->length - 1;
+
+ new_recycling_container->recycling = (AgsRecycling **) malloc(new_length * sizeof(AgsRecycling *));
+
+ for(position = 0; recycling_container->recycling[position] != recycling; position++);
+
+ memcpy(new_recycling_container->recycling, recycling_container->recycling, (new_length - position) * sizeof(AgsRecycling *));
+ memcpy(&(new_recycling_container->recycling[position + 1]), recycling_container->recycling, (-1 * (position - new_length)) * sizeof(AgsRecycling *));
+
+ return(new_recycling_container);
+}
+
+/**
+ * ags_recycling_container_insert:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @recycling: the #AgsRecycling to insert
+ * @position: the index to insert at
+ *
+ * Inserts a recycling to a container.
+ *
+ * Returns: the new recycling container
+ *
+ * Since: 0.4
+ */
+AgsRecyclingContainer*
+ags_recycling_container_insert(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling,
+ gint position)
+{
+ AgsRecyclingContainer *new_recycling_container;
+ gint new_length;
+
+ new_recycling_container = (AgsRecyclingContainer *) g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ NULL);
+
+ new_length = recycling_container->length + 1;
+
+ new_recycling_container->recycling = (AgsRecycling **) malloc(new_length * sizeof(AgsRecycling *));
+
+ memcpy(new_recycling_container->recycling, recycling_container->recycling, (new_length - position) * sizeof(AgsRecycling *));
+ new_recycling_container->recycling[position] = recycling;
+ memcpy(&(new_recycling_container->recycling[position + 1]), recycling_container->recycling, (-1 * (position - new_length)) * sizeof(AgsRecycling *));
+
+ return(new_recycling_container);
+}
+
+/**
+ * ags_recycling_container_get_toplevel:
+ * @recycling_container: the #AgsRecyclingContainer
+ *
+ * Iterates the tree up to highest level.
+ *
+ * Returns: the topmost recycling container
+ *
+ * Since: 0.4
+ */
+AgsRecyclingContainer*
+ags_recycling_container_get_toplevel(AgsRecyclingContainer *recycling_container)
+{
+ if(recycling_container == NULL){
+ return(NULL);
+ }
+
+ while(recycling_container->parent != NULL){
+ recycling_container = recycling_container->parent;
+ }
+
+ return(recycling_container);
+}
+
+/**
+ * ags_recycling_container_find:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @recycling: the #AgsRecycling to look up
+ *
+ * Find position of recycling within array.
+ *
+ * Returns: recycling array index
+ *
+ * Since: 0.4
+ */
+gint
+ags_recycling_container_find(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling)
+{
+ gint i;
+
+ for(i = 0; i < recycling_container->length; i++){
+ if(recycling_container->recycling[i] == recycling){
+ return(i);
+ }
+ }
+
+ return(-1);
+}
+
+/**
+ * ags_recycling_container_find_child:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @recycling: the #AgsRecycling to look up
+ *
+ * Find position of recycling within arrays.
+ *
+ * Returns: recycling array index
+ *
+ * Since: 0.4
+ */
+gint
+ags_recycling_container_find_child(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling)
+{
+ GList *child;
+ gint i;
+
+ child = recycling_container->children;
+
+ for(i = 0; child != NULL; i++){
+ if(ags_recycling_container_find(AGS_RECYCLING_CONTAINER(child->data),
+ recycling) != -1){
+ return(i);
+ }
+
+ child = child->next;
+ }
+
+ return(-1);
+}
+
+/**
+ * ags_recycling_container_find_parent:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @recycling: the #AgsRecycling to look up
+ *
+ * Find position of recycling within array.
+ *
+ * Returns: recycling array index
+ *
+ * Since: 0.4
+ */
+gint
+ags_recycling_container_find_parent(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling)
+{
+ gint i;
+
+ for(i = 0; i < recycling_container->parent->length; i++){
+ if(recycling_container->parent->recycling[i] == recycling){
+ return(i);
+ }
+ }
+
+ return(-1);
+}
+
+/**
+ * ags_recycling_container_add_child:
+ * @parent: the parental #AgsRecyclingContainer
+ * @child: the child
+ *
+ * Adds a recycling container as child.
+ *
+ * Since: 0.4
+ */
+void
+ags_recycling_container_add_child(AgsRecyclingContainer *parent,
+ AgsRecyclingContainer *child)
+{
+ if(parent == NULL || child == NULL){
+ return;
+ }
+
+ g_object_ref(G_OBJECT(parent));
+ g_object_ref(G_OBJECT(child));
+
+ child->parent = parent;
+ parent->children = g_list_append(parent->children,
+ child);
+}
+
+/**
+ * ags_recycling_container_remove_child:
+ * @parent: the #AgsRecyclingContainer
+ * @child: the child to remove
+ *
+ * Removes a recycling container of its parent.
+ *
+ * Since: 0.4
+ */
+void
+ags_recycling_container_remove_child(AgsRecyclingContainer *parent,
+ AgsRecyclingContainer *child)
+{
+ if(parent == NULL || child == NULL){
+ return;
+ }
+
+ child->parent = NULL;
+ parent->children = g_list_remove(parent->children,
+ child);
+
+ g_object_unref(G_OBJECT(parent));
+ g_object_unref(G_OBJECT(child));
+}
+
+/**
+ * ags_recycling_container_get_child_recall_id:
+ * @recycling_container: the #AgsRecyclingContainer
+ *
+ * Retrieve all child recall ids.
+ *
+ * Returns: the #AgsRecallID as #GList
+ *
+ * Since: 0.4
+ */
+GList*
+ags_recycling_container_get_child_recall_id(AgsRecyclingContainer *recycling_container)
+{
+ GList *child;
+ GList *recall_id_list;
+
+ if(recycling_container == NULL){
+ return(NULL);
+ }
+
+ child = recycling_container->children;
+ recall_id_list = NULL;
+
+ while(child != NULL){
+ recall_id_list = g_list_append(recall_id_list,
+ AGS_RECYCLING_CONTAINER(child->data)->recall_id);
+
+ child = child->next;
+ }
+
+ return(recall_id_list);
+}
+
+/**
+ * ags_recycling_container_reset_recycling:
+ * @recycling_container: the #AgsRecyclingContainer
+ * @old_first_recycling: the first recycling to replace
+ * @old_last_recycling: the last recycling to replace
+ * @new_first_recycling: the first recycling to insert
+ * @new_last_recycling: the last recycling to insert
+ *
+ * Modify recycling of container.
+ *
+ * Since: 0.4
+ */
+AgsRecyclingContainer*
+ags_recycling_container_reset_recycling(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *old_first_recycling, AgsRecycling *old_last_recycling,
+ AgsRecycling *new_first_recycling, AgsRecycling *new_last_recycling)
+{
+ AgsRecyclingContainer *new_recycling_container;
+ AgsRecycling *recycling;
+ guint new_length;
+ gint first_index, last_index;
+ guint i;
+
+ /* retrieve new length of recycling array */
+ new_length = ags_recycling_position(new_first_recycling, new_last_recycling->next,
+ new_last_recycling);
+ new_length++;
+
+ /* retrieve indices to replace */
+ if(old_first_recycling != NULL){
+ first_index = ags_recycling_container_find(recycling_container,
+ old_first_recycling);
+
+ last_index = ags_recycling_container_find(recycling_container,
+ old_last_recycling);
+ }else{
+ if(recycling_container->recycling == NULL ||
+ recycling_container->length == 0 ||
+ recycling_container->recycling[0]->prev == new_first_recycling){
+ first_index = 0;
+ last_index = 0;
+ }else{
+ first_index = ags_recycling_position(recycling_container->recycling[0], recycling_container->recycling[recycling_container->length - 1]->next,
+ new_first_recycling);
+
+ last_index = first_index;
+ }
+ }
+
+ /* instantiate */
+ new_recycling_container = g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "length\0", (recycling_container->length -
+ (last_index - first_index) +
+ new_length),
+ NULL);
+
+ new_recycling_container->children = g_list_copy(recycling_container->children);
+ g_object_set(new_recycling_container,
+ "parent\0", recycling_container->parent,
+ NULL);
+ g_object_set(recycling_container,
+ "parent\0", NULL,
+ NULL);
+
+
+ /* copy heading */
+ if(first_index > 0){
+ memcpy(new_recycling_container->recycling,
+ recycling_container->recycling,
+ first_index * sizeof(AgsRecycling *));
+ }
+
+ /* insert new */
+ recycling = new_first_recycling;
+
+ for(i = 0; i < new_length; i++){
+ ags_recycling_container_replace(recycling_container,
+ recycling,
+ first_index + i);
+ recycling = recycling->next;
+ }
+
+ /* copy trailing */
+ if(last_index + 1 != recycling_container->length){
+ memcpy(&(new_recycling_container->recycling[first_index + new_length]),
+ recycling_container->recycling,
+ (new_recycling_container->length - first_index - new_length) * sizeof(AgsRecycling *));
+ }
+
+ return(new_recycling_container);
+}
+
+/**
+ * ags_recycling_container_new:
+ * @length: array dimension of context
+ *
+ * Creates a #AgsRecyclingContainer, boundaries are specified by @length
+ *
+ * Returns: a new #AgsRecyclingContainer
+ *
+ * Since: 0.4
+ */
+AgsRecyclingContainer*
+ags_recycling_container_new(gint length)
+{
+ AgsRecyclingContainer *recycling_container;
+ gint i;
+
+ recycling_container = g_object_new(AGS_TYPE_RECYCLING_CONTAINER,
+ "length\0", length,
+ NULL);
+
+ return(recycling_container);
+}
diff --git a/src/ags/audio/ags_recycling_container.h b/src/ags/audio/ags_recycling_container.h
new file mode 100644
index 0000000..03cfbfd
--- /dev/null
+++ b/src/ags/audio/ags_recycling_container.h
@@ -0,0 +1,89 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Jo?l Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#ifndef __AGS_RECYCLING_CONTAINER_H__
+#define __AGS_RECYCLING_CONTAINER_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_recycling.h>
+
+#define AGS_TYPE_RECYCLING_CONTAINER (ags_recycling_container_get_type())
+#define AGS_RECYCLING_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECYCLING_CONTAINER, AgsRecyclingContainer))
+#define AGS_RECYCLING_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECYCLING_CONTAINER, AgsRecyclingContainerClass))
+#define AGS_IS_RECYCLING_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECYCLING_CONTAINER))
+#define AGS_IS_RECYCLING_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECYCLING_CONTAINER))
+#define AGS_RECYCLING_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECYCLING_CONTAINER, AgsRecyclingContainerClass))
+
+typedef struct _AgsRecyclingContainer AgsRecyclingContainer;
+typedef struct _AgsRecyclingContainerClass AgsRecyclingContainerClass;
+
+struct _AgsRecyclingContainer
+{
+ GObject object;
+
+ GObject *recall_id;
+
+ AgsRecycling **recycling;
+ guint64 length;
+
+ AgsRecyclingContainer *parent;
+ GList *children;
+};
+
+struct _AgsRecyclingContainerClass
+{
+ GObjectClass object;
+};
+
+GType ags_recycling_container_get_type();
+
+void ags_recycling_container_replace(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling,
+ gint position);
+
+AgsRecyclingContainer* ags_recycling_container_add(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling);
+AgsRecyclingContainer* ags_recycling_container_remove(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling);
+AgsRecyclingContainer* ags_recycling_container_insert(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling,
+ gint position);
+
+AgsRecyclingContainer* ags_recycling_container_get_toplevel(AgsRecyclingContainer *recycling_container);
+
+gint ags_recycling_container_find(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling);
+gint ags_recycling_container_find_child(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling);
+gint ags_recycling_container_find_parent(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *recycling);
+
+void ags_recycling_container_add_child(AgsRecyclingContainer *parent,
+ AgsRecyclingContainer *child);
+void ags_recycling_container_remove_child(AgsRecyclingContainer *parent,
+ AgsRecyclingContainer *child);
+
+GList* ags_recycling_container_get_child_recall_id(AgsRecyclingContainer *recycling_container);
+
+AgsRecyclingContainer* ags_recycling_container_reset_recycling(AgsRecyclingContainer *recycling_container,
+ AgsRecycling *old_first_recycling, AgsRecycling *old_last_recycling,
+ AgsRecycling *new_first_recycling, AgsRecycling *new_last_recycling);
+
+AgsRecyclingContainer* ags_recycling_container_new(gint length);
+
+#endif /*__AGS_RECYCLING_CONTAINER_H__*/
diff --git a/src/ags/audio/ags_synths.c b/src/ags/audio/ags_synths.c
new file mode 100644
index 0000000..52809f5
--- /dev/null
+++ b/src/ags/audio/ags_synths.c
@@ -0,0 +1,77 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_synths.h>
+#include <math.h>
+
+short scale = 32000;
+
+void
+ags_synth_sin(AgsDevout *devout, signed short *buffer, guint offset,
+ guint freq, guint phase, guint length,
+ double volume)
+{
+ guint i;
+
+ for (i = offset; i < offset + length; i++){
+ buffer[i] = (signed short) (0xffff & ((int)buffer[i] + (int)(sin ((double)(i + phase) * 2.0 * M_PI * freq / (double)devout->frequency) * (double)scale * volume)));
+ }
+}
+
+void
+ags_synth_saw(AgsDevout *devout, signed short *buffer, guint offset, guint freq, guint phase, guint length, double volume)
+{
+ guint i;
+
+ phase = (int)(phase) % (int)(freq);
+ phase = (phase / freq) * (devout->frequency / freq);
+
+ for (i = offset; i < length; i++){
+ buffer[i] = (signed short) (0xffff & ((int)buffer[i] + (int)(((((int)(i + phase) % (int)(devout->frequency / freq)) * 2.0 * freq / devout->frequency) -1) * scale * volume)));
+ }
+}
+
+void
+ags_synth_triangle(AgsDevout *devout, signed short *buffer, guint offset, guint freq, guint phase, guint length, double volume)
+{
+ guint i;
+
+ phase = (int)(phase) % (int)(freq);
+ phase = (phase / freq) * (devout->frequency / freq);
+
+ for (i = offset; i < length; i++){
+ buffer[i] = (signed short) (0xffff & ((int)buffer[i] + (int)((((phase + i) * freq / devout->frequency * 2.0) - ((int)((float) ((int)((phase + i) * freq / devout->frequency)) / 2.0) * 2) -1) * scale * volume)));
+ }
+}
+
+void
+ags_synth_square(AgsDevout *devout, signed short *buffer, guint offset, guint freq, guint phase, guint length, double volume)
+{
+ guint i;
+
+ phase = (int)(phase) % (int)(freq);
+ phase = (phase / freq) * (devout->frequency / freq);
+
+ for (i = offset; i < length; i++){
+ if (sin (i + phase) >= 0.0){
+ buffer[i] = (signed short) (0xffff & ((int)buffer[i] + (int)(1.0 * scale * volume)));
+ }else{
+ buffer[i] = (signed short) (0xffff & ((int)buffer[i] + (int)(-1.0 * scale * volume)));
+ }
+ }
+}
diff --git a/src/ags/audio/ags_synths.h b/src/ags/audio/ags_synths.h
new file mode 100644
index 0000000..ae2581f
--- /dev/null
+++ b/src/ags/audio/ags_synths.h
@@ -0,0 +1,42 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SYNTH_H__
+#define __AGS_SYNTH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_synth_sin(AgsDevout *devout, signed short *buffer, guint offset,
+ guint freq, guint phase, guint length,
+ double volume);
+
+void ags_synth_saw(AgsDevout *devout, signed short *buffer, guint offset,
+ guint freq, guint phase, guint length,
+ double volume);
+void ags_synth_triangle(AgsDevout *devout, signed short *buffer, guint offset,
+ guint freq, guint phase, guint length,
+ double volume);
+void ags_synth_square(AgsDevout *devout, signed short *buffer, guint offset,
+ guint freq, guint phase, guint length,
+ double volume);
+
+#endif /*__AGS_SYNTH_H__*/
diff --git a/src/ags/audio/ags_task.c b/src/ags/audio/ags_task.c
new file mode 100644
index 0000000..2cabc67
--- /dev/null
+++ b/src/ags/audio/ags_task.c
@@ -0,0 +1,243 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_task.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_task_class_init(AgsTaskClass *task);
+void ags_task_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_task_init(AgsTask *task);
+void ags_task_connect(AgsConnectable *connectable);
+void ags_task_disconnect(AgsConnectable *connectable);
+void ags_task_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_task
+ * @short_description: Perform operations in a thread safe context.
+ * @title: AgsTask
+ * @section_id:
+ * @include: ags/audio/ags_task.h
+ *
+ * #AgsTask object acts an interceptor in a thread safe context.
+ */
+
+enum{
+ LAUNCH,
+ FAILURE,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_task_parent_class = NULL;
+static guint task_signals[LAST_SIGNAL];
+
+GType
+ags_task_get_type()
+{
+ static GType ags_type_task = 0;
+
+ if(!ags_type_task){
+ static const GTypeInfo ags_task_info = {
+ sizeof (AgsTaskClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_task_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsTask),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_task_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_task_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_task = g_type_register_static(G_TYPE_OBJECT,
+ "AgsTask\0",
+ &ags_task_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_task,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_task);
+}
+
+void
+ags_task_class_init(AgsTaskClass *task)
+{
+ GObjectClass *gobject;
+
+ ags_task_parent_class = g_type_class_peek_parent(task);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) task;
+
+ gobject->finalize = ags_task_finalize;
+
+ /* AgsTaskClass */
+ task->launch = NULL;
+ task->failure = NULL;
+
+ /* signals */
+ /**
+ * AgsTask::launch:
+ * @task: the object to launch.
+ *
+ * The ::launch signal is emited in a thread safe context
+ */
+ task_signals[LAUNCH] =
+ g_signal_new("launch\0",
+ G_TYPE_FROM_CLASS (task),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsTaskClass, launch),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsTask::failure:
+ * @task: the object failed to do its work.
+ * @error: the error
+ *
+ * The ::failure signal is emited if ::launch fails
+ */
+ task_signals[FAILURE] =
+ g_signal_new("failure\0",
+ G_TYPE_FROM_CLASS (task),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsTaskClass, failure),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1,
+ G_TYPE_POINTER);
+}
+
+void
+ags_task_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_task_connect;
+ connectable->disconnect = ags_task_disconnect;
+}
+
+void
+ags_task_init(AgsTask *task)
+{
+ task->flags = 0;
+
+ task->name = NULL;
+
+ task->delay = 0;
+
+ pthread_cond_init(&(task->wait_sync_task_cond), NULL);
+}
+
+void
+ags_task_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_task_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_task_finalize(GObject *gobject)
+{
+ AgsTask *task;
+
+ task = AGS_TASK(gobject);
+
+ if(task->name != NULL){
+ g_free(task->name);
+ }
+
+ pthread_cond_destroy(&(task->wait_sync_task_cond));
+
+ G_OBJECT_CLASS(ags_task_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_task_launch:
+ * @task: an #AgsTask
+ *
+ * Intercept task.
+ *
+ * Since: 0.4
+ */
+void
+ags_task_launch(AgsTask *task)
+{
+ g_return_if_fail(AGS_IS_TASK(task));
+
+ g_object_ref(G_OBJECT(task));
+ g_signal_emit(G_OBJECT(task),
+ task_signals[LAUNCH], 0);
+ g_object_unref(G_OBJECT(task));
+}
+
+/**
+ * ags_task_failure:
+ * @task: an #AgsTask
+ * @error: is %NULL on success
+ *
+ * Signals failure of task.
+ *
+ * Since: 0.4
+ */
+void
+ags_task_failure(AgsTask *task, GError *error)
+{
+ g_return_if_fail(AGS_IS_TASK(task));
+
+ g_object_ref(G_OBJECT(task));
+ g_signal_emit(G_OBJECT(task),
+ task_signals[FAILURE], 0,
+ error);
+ g_object_unref(G_OBJECT(task));
+}
+
+/**
+ * ags_task_new:
+ *
+ * Creates a #AgsTask
+ *
+ * Returns: a new #AgsTask
+ *
+ * Since: 0.4
+ */
+AgsTask*
+ags_task_new()
+{
+ AgsTask *task;
+
+ task = (AgsTask *) g_object_new(AGS_TYPE_TASK,
+ NULL);
+
+ return(task);
+}
diff --git a/src/ags/audio/ags_task.h b/src/ags/audio/ags_task.h
new file mode 100644
index 0000000..38f016f
--- /dev/null
+++ b/src/ags/audio/ags_task.h
@@ -0,0 +1,69 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TASK_H__
+#define __AGS_TASK_H__
+
+#include <pthread.h>
+
+#include <glib-object.h>
+
+#define AGS_TYPE_TASK (ags_task_get_type())
+#define AGS_TASK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TASK, AgsTask))
+#define AGS_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TASK, AgsTaskClass))
+#define AGS_IS_TASK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TASK))
+#define AGS_IS_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TASK))
+#define AGS_TASK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TASK, AgsTaskClass)))
+
+typedef struct _AgsTask AgsTask;
+typedef struct _AgsTaskClass AgsTaskClass;
+
+typedef enum{
+ AGS_TASK_LOCKED = 1,
+}AgsTaskFlags;
+
+struct _AgsTask
+{
+ GObject object;
+
+ guint flags;
+
+ char *name;
+
+ guint delay;
+
+ pthread_cond_t wait_sync_task_cond;
+};
+
+struct _AgsTaskClass
+{
+ GObjectClass object;
+
+ void (*launch)(AgsTask *task);
+
+ void (*failure)(AgsTask *task, GError *error);
+};
+
+GType ags_task_get_type();
+
+void ags_task_launch(AgsTask *task);
+void ags_task_failure(AgsTask *task, GError *error);
+
+AgsTask* ags_task_new();
+
+#endif /*__AGS_TASK_H__*/
diff --git a/src/ags/audio/ags_timestamp.c b/src/ags/audio/ags_timestamp.c
new file mode 100644
index 0000000..88b79fa
--- /dev/null
+++ b/src/ags/audio/ags_timestamp.c
@@ -0,0 +1,112 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_timestamp.h>
+
+void ags_timestamp_class_init(AgsTimestampClass *timestamp);
+void ags_timestamp_init (AgsTimestamp *timestamp);
+void ags_timestamp_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_timestamp
+ * @short_description: Timestamp unix and alike
+ * @title: AgsTimestamp
+ * @section_id:
+ * @include: ags/audio/ags_timestamp.h
+ *
+ * #AgsTimestamp measure of time.
+ */
+
+static gpointer ags_timestamp_parent_class = NULL;
+
+GType
+ags_timestamp_get_type (void)
+{
+ static GType ags_type_timestamp = 0;
+
+ if(!ags_type_timestamp){
+ static const GTypeInfo ags_timestamp_info = {
+ sizeof (AgsTimestampClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_timestamp_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsTimestamp),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_timestamp_init,
+ };
+
+ ags_type_timestamp = g_type_register_static(G_TYPE_OBJECT,
+ "AgsTimestamp\0",
+ &ags_timestamp_info,
+ 0);
+ }
+
+ return (ags_type_timestamp);
+}
+
+void
+ags_timestamp_class_init(AgsTimestampClass *timestamp)
+{
+ GObjectClass *gobject;
+
+ ags_timestamp_parent_class = g_type_class_peek_parent(timestamp);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) timestamp;
+
+ gobject->finalize = ags_timestamp_finalize;
+}
+
+void
+ags_timestamp_init(AgsTimestamp *timestamp)
+{
+ timestamp->flags = 0;
+
+ time(&(timestamp->timer.unix_time.time_val));
+
+ timestamp->delay = 0;
+ timestamp->attack = 0;
+}
+
+void
+ags_timestamp_finalize(GObject *gobject)
+{
+ /* empty */
+}
+
+/**
+ * ags_timestamp_new:
+ *
+ * Creates an #AgsTimestamp
+ *
+ * Returns: a new #AgsTimestamp
+ *
+ * Since: 0.4
+ */
+AgsTimestamp*
+ags_timestamp_new()
+{
+ AgsTimestamp *timestamp;
+
+ timestamp = (AgsTimestamp *) g_object_new(AGS_TYPE_TIMESTAMP,
+ NULL);
+
+ return(timestamp);
+}
diff --git a/src/ags/audio/ags_timestamp.h b/src/ags/audio/ags_timestamp.h
new file mode 100644
index 0000000..a7f1871
--- /dev/null
+++ b/src/ags/audio/ags_timestamp.h
@@ -0,0 +1,66 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TIMESTAMP_H__
+#define __AGS_TIMESTAMP_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_TYPE_TIMESTAMP (ags_timestamp_get_type())
+#define AGS_TIMESTAMP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMESTAMP, AgsTimestamp))
+#define AGS_TIMESTAMP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TIMESTAMP, AgsTimestampClass))
+#define AGS_IS_TIMESTAMP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TIMESTAMP))
+#define AGS_IS_TIMESTAMP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TIMESTAMP))
+#define AGS_TIMESTAMP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TIMESTAMP, AgsTimestampClass))
+
+typedef struct _AgsTimestamp AgsTimestamp;
+typedef struct _AgsTimestampClass AgsTimestampClass;
+
+typedef enum{
+ AGS_TIMESTAMP_UNIX = 1,
+ AGS_TIMESTAMP_OUTDATED = 1 << 1,
+}AgsTimestampFlags;
+
+struct _AgsTimestamp
+{
+ GObject object;
+
+ guint flags;
+
+ union{
+ struct _unix{
+ time_t time_val;
+ }unix_time;
+ }timer;
+
+ guint delay;
+ guint attack;
+};
+
+struct _AgsTimestampClass
+{
+ GObjectClass object;
+};
+
+GType ags_timestamp_get_type(void);
+
+/* */
+AgsTimestamp* ags_timestamp_new();
+
+#endif /*__AGS_TIMESTAMP_H__*/
diff --git a/src/ags/audio/ags_timestamp_factory.c b/src/ags/audio/ags_timestamp_factory.c
new file mode 100644
index 0000000..f0438dd
--- /dev/null
+++ b/src/ags/audio/ags_timestamp_factory.c
@@ -0,0 +1,177 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/ags_timestamp_factory.h>
+
+#include <ags/object/ags_marshal.h>
+
+void ags_timestamp_factory_class_init(AgsTimestampFactoryClass *timestamp_factory);
+void ags_timestamp_factory_init (AgsTimestampFactory *timestamp_factory);
+void ags_timestamp_factory_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_timestamp_factory
+ * @short_description: Factory pattern
+ * @title: AgsTimestampFactory
+ * @section_id:
+ * @include: ags/audio/ags_timestamp_factory.h
+ *
+ * #AgsTimestampFactory pattern.
+ */
+
+AgsTimestamp* ags_timestamp_factory_real_create(AgsTimestampFactory *timestamp_factory,
+ AgsTimestamp *predecor);
+enum{
+ CREATE,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_timestamp_factory_parent_class = NULL;
+static guint timestamp_factory_signals[LAST_SIGNAL];
+
+static AgsTimestampFactory *ags_timestamp_factory = NULL;
+
+GType
+ags_timestamp_factory_get_type (void)
+{
+ static GType ags_type_timestamp_factory = 0;
+
+ if(!ags_type_timestamp_factory){
+ static const GTypeInfo ags_timestamp_factory_info = {
+ sizeof (AgsTimestampFactoryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_timestamp_factory_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsTimestampFactory),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_timestamp_factory_init,
+ };
+
+ ags_type_timestamp_factory = g_type_register_static(G_TYPE_OBJECT,
+ "AgsTimestampFactory\0",
+ &ags_timestamp_factory_info,
+ 0);
+ }
+
+ return (ags_type_timestamp_factory);
+}
+
+void
+ags_timestamp_factory_class_init(AgsTimestampFactoryClass *timestamp_factory)
+{
+ GObjectClass *gobject;
+
+ ags_timestamp_factory_parent_class = g_type_class_peek_parent(timestamp_factory);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) timestamp_factory;
+
+ gobject->finalize = ags_timestamp_factory_finalize;
+
+ /* */
+ timestamp_factory->create = ags_timestamp_factory_real_create;
+
+ timestamp_factory_signals[CREATE] =
+ g_signal_new("create\0",
+ G_TYPE_FROM_CLASS (timestamp_factory),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsTimestampFactoryClass, create),
+ NULL, NULL,
+ g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT,
+ G_TYPE_OBJECT, 2,
+ G_TYPE_OBJECT, G_TYPE_OBJECT);
+
+}
+
+void
+ags_timestamp_factory_init(AgsTimestampFactory *timestamp_factory)
+{
+ timestamp_factory->flags = 0;
+
+ timestamp_factory->timestamp = NULL;
+}
+
+void
+ags_timestamp_factory_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+AgsTimestamp*
+ags_timestamp_factory_real_create(AgsTimestampFactory *timestamp_factory,
+ AgsTimestamp *predecor)
+{
+ AgsTimestamp *timestamp;
+
+ timestamp = ags_timestamp_new();
+
+ timestamp_factory->timestamp = g_list_prepend(timestamp_factory->timestamp,
+ timestamp);
+
+ if(predecor != NULL){
+ //TODO:JK: implement me
+ }
+
+ return(timestamp);
+}
+
+
+AgsTimestamp*
+ags_timestamp_factory_create(AgsTimestampFactory *timestamp_factory,
+ AgsTimestamp *predecor)
+{
+ //TODO:JK: implement me
+}
+
+AgsTimestampFactory*
+ags_timestamp_factory_get_instance()
+{
+ pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ pthread_mutex_lock(&(mutex));
+
+ if(ags_timestamp_factory == NULL){
+ ags_timestamp_factory = ags_timestamp_factory_new();
+ }
+
+ pthread_mutex_unlock(&(mutex));
+
+ return(ags_timestamp_factory);
+}
+
+/**
+ * ags_timestamp_factory_new:
+ *
+ * Creates an #AgsTimestampFactory
+ *
+ * Returns: a new #AgsTimestampFactory
+ *
+ * Since: 0.4
+ */
+AgsTimestampFactory*
+ags_timestamp_factory_new()
+{
+ AgsTimestampFactory *timestamp_factory;
+
+ timestamp_factory = (AgsTimestampFactory *) g_object_new(AGS_TYPE_TIMESTAMP_FACTORY,
+ NULL);
+
+ return(timestamp_factory);
+}
diff --git a/src/ags/audio/ags_timestamp_factory.h b/src/ags/audio/ags_timestamp_factory.h
new file mode 100644
index 0000000..44aafdf
--- /dev/null
+++ b/src/ags/audio/ags_timestamp_factory.h
@@ -0,0 +1,67 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TIMESTAMP_FACTORY_H__
+#define __AGS_TIMESTAMP_FACTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_timestamp.h>
+
+#define AGS_TYPE_TIMESTAMP_FACTORY (ags_timestamp_factory_get_type())
+#define AGS_TIMESTAMP_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMESTAMP_FACTORY, AgsTimestampFactory))
+#define AGS_TIMESTAMP_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TIMESTAMP_FACTORY, AgsTimestampFactoryClass))
+#define AGS_IS_TIMESTAMP_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TIMESTAMP_FACTORY))
+#define AGS_IS_TIMESTAMP_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TIMESTAMP_FACTORY))
+#define AGS_TIMESTAMP_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TIMESTAMP_FACTORY, AgsTimestampFactoryClass))
+
+typedef struct _AgsTimestampFactory AgsTimestampFactory;
+typedef struct _AgsTimestampFactoryClass AgsTimestampFactoryClass;
+
+typedef enum{
+ AGS_TIMESTAMP_FACTORY_UNIX = 1,
+}AgsTimestampFactoryFlags;
+
+struct _AgsTimestampFactory
+{
+ GObject object;
+
+ guint flags;
+
+ GList *timestamp;
+};
+
+struct _AgsTimestampFactoryClass
+{
+ GObjectClass object;
+
+ AgsTimestamp* (*create)(AgsTimestampFactory *timestamp_factory,
+ AgsTimestamp *predecor);
+};
+
+GType ags_timestamp_factory_get_type(void);
+
+AgsTimestamp* ags_timestamp_factory_create(AgsTimestampFactory *timestamp_factory,
+ AgsTimestamp *predecor);
+
+/* */
+AgsTimestampFactory* ags_timestamp_factory_get_instance();
+AgsTimestampFactory* ags_timestamp_factory_new();
+
+#endif /*__AGS_TIMESTAMP_FACTORY_H__*/
diff --git a/src/ags/audio/file/Makefile b/src/ags/audio/file/Makefile
new file mode 100644
index 0000000..c02f7c2
--- /dev/null
+++ b/src/ags/audio/file/Makefile
@@ -0,0 +1,472 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/audio/file/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/audio/file
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/audio/file
+abs_srcdir = /usr/src/ags-devel/src/ags/audio/file
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../../
+top_builddir = ../../../..
+top_srcdir = ../../../..
+deprecated_ags_audio_file_h_sources = \
+ ags_audio_file_xml.h
+
+ags_audio_audio_file_h_sources = \
+ $(deprecated_ags_audio_file_h_sources) \
+ ags_audio_file.h \
+ ags_ipatch.h \
+ ags_ipatch_sf2_reader.h \
+ ags_sndfile.h
+
+deprecated_ags_audio_file_c_sources = \
+ ags_audio_file_xml.c
+
+ags_audio_audio_file_c_sources = \
+ $(deprecated_ags_audio_file_c_sources) \
+ ags_audio_file.c \
+ ags_ipatch.c \
+ ags_ipatch_sf2_reader.c \
+ ags_sndfile.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/file/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/file/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/file/Makefile.am b/src/ags/audio/file/Makefile.am
new file mode 100644
index 0000000..a3f9f32
--- /dev/null
+++ b/src/ags/audio/file/Makefile.am
@@ -0,0 +1,19 @@
+deprecated_ags_audio_file_h_sources = \
+ ags_audio_file_xml.h
+
+ags_audio_audio_file_h_sources = \
+ $(deprecated_ags_audio_file_h_sources) \
+ ags_audio_file.h \
+ ags_ipatch.h \
+ ags_ipatch_sf2_reader.h \
+ ags_sndfile.h
+
+deprecated_ags_audio_file_c_sources = \
+ ags_audio_file_xml.c
+
+ags_audio_audio_file_c_sources = \
+ $(deprecated_ags_audio_file_c_sources) \
+ ags_audio_file.c \
+ ags_ipatch.c \
+ ags_ipatch_sf2_reader.c \
+ ags_sndfile.c
diff --git a/src/ags/audio/file/Makefile.in b/src/ags/audio/file/Makefile.in
new file mode 100644
index 0000000..a28fca3
--- /dev/null
+++ b/src/ags/audio/file/Makefile.in
@@ -0,0 +1,472 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/audio/file
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_audio_file_h_sources = \
+ ags_audio_file_xml.h
+
+ags_audio_audio_file_h_sources = \
+ $(deprecated_ags_audio_file_h_sources) \
+ ags_audio_file.h \
+ ags_ipatch.h \
+ ags_ipatch_sf2_reader.h \
+ ags_sndfile.h
+
+deprecated_ags_audio_file_c_sources = \
+ ags_audio_file_xml.c
+
+ags_audio_audio_file_c_sources = \
+ $(deprecated_ags_audio_file_c_sources) \
+ ags_audio_file.c \
+ ags_ipatch.c \
+ ags_ipatch_sf2_reader.c \
+ ags_sndfile.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/file/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/file/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/file/ags_audio_file.c b/src/ags/audio/file/ags_audio_file.c
new file mode 100644
index 0000000..d3e9913
--- /dev/null
+++ b/src/ags/audio/file/ags_audio_file.c
@@ -0,0 +1,450 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_playable.h>
+
+#include <ags/audio/ags_audio_signal.h>
+
+#include <ags/audio/file/ags_sndfile.h>
+
+#include <ags/audio/ags_config.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <math.h>
+#include <sndfile.h>
+#include <string.h>
+
+void ags_audio_file_class_init(AgsAudioFileClass *audio_file);
+void ags_audio_file_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_audio_file_init(AgsAudioFile *audio_file);
+void ags_audio_file_connect(AgsConnectable *connectable);
+void ags_audio_file_disconnect(AgsConnectable *connectable);
+void ags_audio_file_finalize(GObject *object);
+
+extern AgsConfig *config;
+
+enum{
+ READ_BUFFER,
+ LAST_SIGNAL,
+};
+
+/**
+ * SECTION:ags_audio_file
+ * @short_description: Audio file input/output
+ * @title: AgsAudioFile
+ * @section_id:
+ * @include: ags/audio/file/ags_audio_file.h
+ *
+ * #AgsAudioFile is the base object to read/write audio data.
+ */
+
+static gpointer ags_audio_file_parent_class = NULL;
+static AgsConnectableInterface *ags_audio_file_parent_connectable_interface;
+static guint signals[LAST_SIGNAL];
+
+GType
+ags_audio_file_get_type()
+{
+ static GType ags_type_audio_file = 0;
+
+ if(!ags_type_audio_file){
+ static const GTypeInfo ags_audio_file_info = {
+ sizeof (AgsAudioFileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_file_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAudioFile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_file_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_file_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_audio_file = g_type_register_static(G_TYPE_OBJECT,
+ "AgsAudioFile\0",
+ &ags_audio_file_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_audio_file,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_audio_file);
+}
+
+void
+ags_audio_file_class_init(AgsAudioFileClass *audio_file)
+{
+ GObjectClass *gobject;
+
+ ags_audio_file_parent_class = g_type_class_peek_parent(audio_file);
+
+ gobject = (GObjectClass *) audio_file;
+ gobject->finalize = ags_audio_file_finalize;
+}
+
+void
+ags_audio_file_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_audio_file_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_audio_file_connect;
+ connectable->disconnect = ags_audio_file_disconnect;
+}
+
+void
+ags_audio_file_init(AgsAudioFile *audio_file)
+{
+ audio_file->devout = NULL;
+
+ audio_file->name = NULL;
+
+ audio_file->samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+ audio_file->frames = 0;
+ audio_file->channels = 2;
+ audio_file->format = SF_FORMAT_WAV | SF_FORMAT_PCM_16;
+
+ audio_file->start_channel = 0;
+ audio_file->audio_channels = 0;
+
+ audio_file->audio_signal = NULL;
+
+ audio_file->file = NULL;
+}
+
+void
+ags_audio_file_finalize(GObject *gobject)
+{
+ AgsAudioFile *audio_file;
+ GList *list, *list_next;
+
+ audio_file = AGS_AUDIO_FILE(gobject);
+
+ /* AgsAudioSignal */
+ list = audio_file->audio_signal;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref(G_OBJECT(list->data));
+ g_list_free1(list);
+
+ list = list_next;
+ }
+
+ /* file */
+ g_object_unref(audio_file->file);
+
+ G_OBJECT_CLASS(ags_audio_file_parent_class)->finalize(gobject);
+}
+
+void
+ags_audio_file_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_audio_file_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+/**
+ * ags_audio_file_open:
+ * @audio_file: the #AgsAudioFile
+ *
+ * Open the #AgsAudioFile in read mode.
+ *
+ * Since: 0.3
+ */
+gboolean
+ags_audio_file_open(AgsAudioFile *audio_file)
+{
+#ifdef AGS_DEBUG
+ g_message("ags_audio_file_open: %s\0", audio_file->name);
+#endif
+
+ if(g_file_test(audio_file->name, G_FILE_TEST_EXISTS)){
+ if(g_str_has_suffix(audio_file->name, ".wav\0") ||
+ g_str_has_suffix(audio_file->name, ".ogg\0") ||
+ g_str_has_suffix(audio_file->name, ".flac\0")){
+ GError *error;
+ guint loop_start, loop_end;
+
+ audio_file->file = (GObject *) ags_sndfile_new();
+
+ if(ags_playable_open(AGS_PLAYABLE(audio_file->file),
+ audio_file->name)){
+ //FIXME:JK: this call should occure just before reading frames because of the new iterate functions of an AgsPlayable
+
+ error = NULL;
+
+ ags_playable_info(AGS_PLAYABLE(audio_file->file),
+ &(audio_file->channels), &(audio_file->frames),
+ &loop_start, &loop_end,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+ }else{
+ g_message("ags_audio_file_open: unknown file type\n\0");
+ return(FALSE);
+ }
+ }
+}
+
+/**
+ * ags_audio_file_rw_open:
+ * @audio_file: the #AgsAudioFile
+ * @create: create the file
+ *
+ * Open the #AgsAudioFile in read/write mode.
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_audio_file_rw_open(AgsAudioFile *audio_file,
+ gboolean create)
+{
+#ifdef AGS_DEBUG
+ g_message("ags_audio_file_rw_open: %s\0", audio_file->name);
+#endif
+
+ if(!create &&
+ !g_file_test(audio_file->name, G_FILE_TEST_EXISTS)){
+ return(FALSE);
+ }
+
+ if(g_str_has_suffix(audio_file->name, ".wav\0") ||
+ g_str_has_suffix(audio_file->name, ".ogg\0") ||
+ g_str_has_suffix(audio_file->name, ".flac\0")){
+ GError *error;
+ guint loop_start, loop_end;
+
+ audio_file->file = (GObject *) ags_sndfile_new();
+
+ if(ags_playable_rw_open(AGS_PLAYABLE(audio_file->file),
+ audio_file->name,
+ create,
+ audio_file->samplerate, audio_file->channels,
+ audio_file->frames,
+ audio_file->format)){
+ error = NULL;
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+ }else{
+ g_message("ags_audio_file_open: unknown file type\n\0");
+ return(FALSE);
+ }
+}
+
+/**
+ * ags_audio_file_open_from_data:
+ * @audio_file: the #AgsAudioFile
+ * @data: the audio data
+ *
+ * Open #AgsAudioFile using virtual functions.
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_audio_file_open_from_data(AgsAudioFile *audio_file, gchar *data)
+{
+#ifdef AGS_DEBUG
+ g_message("ags_audio_file_open_from_data:\0");
+#endif
+
+ if(data != NULL){
+ if(g_str_has_suffix(audio_file->name, ".wav\0") ||
+ g_str_has_suffix(audio_file->name, ".ogg\0") ||
+ g_str_has_suffix(audio_file->name, ".flac\0")){
+ GError *error;
+ guint loop_start, loop_end;
+
+ audio_file->file = (GObject *) ags_sndfile_new();
+ AGS_SNDFILE(audio_file->file)->flags = AGS_SNDFILE_VIRTUAL;
+
+ if(ags_playable_open(AGS_PLAYABLE(audio_file->file),
+ audio_file->name)){
+ AGS_SNDFILE(audio_file->file)->pointer = g_base64_decode(data,
+ &(AGS_SNDFILE(audio_file->file)->length));
+ AGS_SNDFILE(audio_file->file)->current = AGS_SNDFILE(audio_file->file)->pointer;
+
+ error = NULL;
+
+ ags_playable_info(AGS_PLAYABLE(audio_file->file),
+ &(audio_file->channels), &(audio_file->frames),
+ &loop_start, &loop_end,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+ }else{
+ g_message("ags_audio_file_open: unknown file type\n\0");
+ return(FALSE);
+ }
+ }
+}
+
+/**
+ * ags_audio_file_close:
+ * @audio_file: the #AgsAudioFile
+ *
+ * Close the #AgsAudioFile.
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_file_close(AgsAudioFile *audio_file)
+{
+ ags_playable_close(AGS_PLAYABLE(audio_file->file));
+}
+
+/**
+ * ags_audio_file_read_audio_signal:
+ * @audio_file: the #AgsAudioFile
+ *
+ * Convert the #AgsAudioFile to a #GList of buffers.
+ *
+ * Since: 0.3
+ */
+void
+ags_audio_file_read_audio_signal(AgsAudioFile *audio_file)
+{
+ GList *list;
+
+ list = ags_playable_read_audio_signal(AGS_PLAYABLE(audio_file->file),
+ audio_file->devout,
+ audio_file->start_channel, audio_file->audio_channels);
+
+ audio_file->audio_signal = list;
+}
+
+/**
+ * ags_audio_file_seek:
+ * @audio_file: the #AgsAudioFile
+ * @frames: number of frames to seek
+ * @whence: SEEK_SET, SEEK_CUR, or SEEK_END
+ *
+ * Position the #AgsAudioFile's internal data address.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_file_seek(AgsAudioFile *audio_file, guint frames, gint whence)
+{
+ ags_playable_seek(AGS_PLAYABLE(audio_file->file),
+ frames, whence);
+}
+
+/**
+ * ags_audio_file_write:
+ * @audio_file: the #AgsAudioFile
+ * @buffer: the audio data
+ * @buffer_size: the count of frames to write
+ *
+ * Write the buffer to #AgsAudioFile.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_file_write(AgsAudioFile *audio_file,
+ signed short *buffer, guint buffer_size)
+{
+ ags_playable_write(AGS_PLAYABLE(audio_file->file),
+ buffer, buffer_size);
+}
+
+/**
+ * ags_audio_file_flush:
+ * @audio_file: the #AgsAudioFile
+ *
+ * Flushes the #AgsAudioFile's internal buffer.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_file_flush(AgsAudioFile *audio_file)
+{
+ ags_playable_flush(AGS_PLAYABLE(audio_file->file));
+}
+
+/**
+ * ags_audio_file_new:
+ * @name: the filename
+ * @devout: defaults of #AgsDevout
+ * @start_channel: ommited channels
+ * @audio_channels: number of channels to read
+ *
+ * Creates an #AgsAudioFile.
+ *
+ * Returns: an empty #AgsAudioFile.
+ *
+ * Since: 0.3
+ */
+AgsAudioFile*
+ags_audio_file_new(gchar *name,
+ AgsDevout *devout,
+ guint start_channel, guint audio_channels)
+{
+ AgsAudioFile *audio_file;
+
+ audio_file = (AgsAudioFile *) g_object_new(AGS_TYPE_AUDIO_FILE, NULL);
+
+ audio_file->name = g_strdup(name);
+ audio_file->devout = devout;
+ audio_file->start_channel = start_channel;
+ audio_file->audio_channels = audio_channels;
+
+ return(audio_file);
+}
diff --git a/src/ags/audio/file/ags_audio_file.h b/src/ags/audio/file/ags_audio_file.h
new file mode 100644
index 0000000..2804528
--- /dev/null
+++ b/src/ags/audio/file/ags_audio_file.h
@@ -0,0 +1,85 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_FILE_H__
+#define __AGS_AUDIO_FILE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifndef AGS_USE_AO
+#include <ags/audio/ags_devout.h>
+#else
+#include <ags/audio/ags_libao.h>
+#endif
+
+
+#define AGS_TYPE_AUDIO_FILE (ags_audio_file_get_type())
+#define AGS_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_FILE, AgsAudioFile))
+#define AGS_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_FILE, AgsAudioFileClass))
+#define AGS_IS_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO_FILE))
+#define AGS_IS_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO_FILE))
+#define AGS_AUDIO_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO_FILE, AgsAudioFileClass))
+
+typedef struct _AgsAudioFile AgsAudioFile;
+typedef struct _AgsAudioFileClass AgsAudioFileClass;
+
+struct _AgsAudioFile
+{
+ GObject object;
+
+ AgsDevout *devout;
+
+ gchar *name;
+ guint samplerate;
+ guint frames;
+ guint channels;
+ guint format;
+
+ guint start_channel;
+ guint audio_channels;
+
+ GList *audio_signal;
+
+ GObject *file;
+};
+
+struct _AgsAudioFileClass
+{
+ GObjectClass object;
+};
+
+GType ags_audio_file_get_type();
+
+gboolean ags_audio_file_open(AgsAudioFile *audio_file);
+gboolean ags_audio_file_open_from_data(AgsAudioFile *audio_file, gchar *data);
+gboolean ags_audio_file_rw_open(AgsAudioFile *audio_file,
+ gboolean create);
+void ags_audio_file_close(AgsAudioFile *audio_file);
+
+void ags_audio_file_read_audio_signal(AgsAudioFile *audio_file);
+void ags_audio_file_seek(AgsAudioFile *audio_file, guint frames, gint whence);
+void ags_audio_file_write(AgsAudioFile *audio_file,
+ signed short *buffer, guint buffer_size);
+void ags_audio_file_flush(AgsAudioFile *audio_file);
+
+AgsAudioFile* ags_audio_file_new(gchar *name,
+ AgsDevout *devout,
+ guint start_channel, guint audio_channels);
+
+#endif /*__AGS_AUDIO_FILE_H__*/
diff --git a/src/ags/audio/file/ags_audio_file_xml.c b/src/ags/audio/file/ags_audio_file_xml.c
new file mode 100644
index 0000000..57e5b39
--- /dev/null
+++ b/src/ags/audio/file/ags_audio_file_xml.c
@@ -0,0 +1,70 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/file/ags_audio_file_xml.h>
+
+void ags_audio_file_xml_class_init(AgsAudioFileXmlClass *file_xml);
+void ags_audio_file_xml_init(AgsAudioFileXml *file_xml);
+void ags_audio_file_xml_destroy(GObject *object);
+
+GType
+ags_audio_file_xml_get_type()
+{
+ static GType ags_type_audio_file_xml = 0;
+
+ if(!ags_type_audio_file_xml){
+ static const GTypeInfo ags_audio_file_xml_info = {
+ sizeof (AgsAudioFileXmlClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_file_xml_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAudioFile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_file_xml_init,
+ };
+ ags_type_audio_file_xml = g_type_register_static(G_TYPE_OBJECT, "AgsAudioFileXml\0", &ags_audio_file_xml_info, 0);
+ }
+ return (ags_type_audio_file_xml);
+}
+
+void
+ags_audio_file_xml_class_init(AgsAudioFileXmlClass *file_xml)
+{
+}
+
+void
+ags_audio_file_xml_init(AgsAudioFileXml *file_xml)
+{
+}
+
+void
+ags_audio_file_xml_destroy(GObject *object)
+{
+}
+
+AgsAudioFileXml*
+ags_audio_file_xml_new(AgsAudioFile *audio_file)
+{
+ AgsAudioFileXml *file_xml;
+
+ file_xml = (AgsAudioFileXml *) g_object_new(AGS_TYPE_AUDIO_FILE_XML, NULL);
+
+ return(file_xml);
+}
diff --git a/src/ags/audio/file/ags_audio_file_xml.h b/src/ags/audio/file/ags_audio_file_xml.h
new file mode 100644
index 0000000..9ba6624
--- /dev/null
+++ b/src/ags/audio/file/ags_audio_file_xml.h
@@ -0,0 +1,50 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_FILE_XML_H__
+#define __AGS_AUDIO_FILE_XML_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <sndfile.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#define AGS_TYPE_AUDIO_FILE_XML (ags_audio_file_xml_get_type())
+#define AGS_AUDIO_FILE_XML(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_AUDIO_FILE_XML, AgsAudioFileXml))
+#define AGS_AUDIO_FILE_XML_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_FILE_XML, AgsAudioFileXmlClass))
+#define AGS_IS_AUDIO_FILE_XML(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, AGS_TYPE_AUDIO_FILE_XML))
+
+typedef struct _AgsAudioFileXml AgsAudioFileXml;
+typedef struct _AgsAudioFileXmlClass AgsAudioFileXmlClass;
+
+struct _AgsAudioFileXml
+{
+ GObject object;
+};
+
+struct _AgsAudioFileXmlClass
+{
+ GObjectClass object;
+};
+
+GType ags_audio_file_xml_get_type();
+
+AgsAudioFileXml* ags_audio_file_xml_new(AgsAudioFile *audio_file);
+
+#endif /*__AGS_AUDIO_FILE_XML_H__*/
diff --git a/src/ags/audio/file/ags_ipatch.c b/src/ags/audio/file/ags_ipatch.c
new file mode 100644
index 0000000..3ac2657
--- /dev/null
+++ b/src/ags/audio/file/ags_ipatch.c
@@ -0,0 +1,879 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/file/ags_ipatch.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_playable.h>
+
+#include <ags/audio/file/ags_ipatch_sf2_reader.h>
+
+void ags_ipatch_class_init(AgsIpatchClass *ipatch);
+void ags_ipatch_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ipatch_playable_interface_init(AgsPlayableInterface *playable);
+void ags_ipatch_init(AgsIpatch *ipatch);
+void ags_ipatch_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_ipatch_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_ipatch_finalize(GObject *gobject);
+
+void ags_ipatch_connect(AgsConnectable *connectable);
+void ags_ipatch_disconnect(AgsConnectable *connectable);
+
+gboolean ags_ipatch_open(AgsPlayable *playable, gchar *name);
+guint ags_ipatch_level_count(AgsPlayable *playable);
+guint ags_ipatch_nth_level(AgsPlayable *playable);
+gchar** ags_ipatch_sublevel_names(AgsPlayable *playable);
+void ags_ipatch_level_select(AgsPlayable *playable,
+ guint nth_level, gchar *sublevel_name,
+ GError **error);
+void ags_ipatch_iter_start(AgsPlayable *playable);
+gboolean ags_ipatch_iter_next(AgsPlayable *playable);
+void ags_ipatch_info(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error);
+signed short* ags_ipatch_read(AgsPlayable *playable, guint channel,
+ GError **error);
+void ags_ipatch_close(AgsPlayable *playable);
+GList* ags_ipatch_read_audio_signal(AgsPlayable *playable,
+ AgsDevout *devout,
+ guint start_channel, guint channels);
+
+/**
+ * SECTION:ags_ipatch
+ * @short_description: Libinstpatch wrapper
+ * @title: AgsIpatch
+ * @section_id:
+ * @include: ags/audio/file/ags_ipatch.h
+ *
+ * #AgsIpatch is the base object to ineract with libinstpatch.
+ */
+
+static gpointer ags_ipatch_parent_class = NULL;
+static AgsConnectableInterface *ags_ipatch_parent_connectable_interface;
+static AgsPlayableInterface *ags_ipatch_parent_playable_interface;
+
+enum{
+ PROP_0,
+ PROP_FILENAME,
+ PROP_MODE,
+};
+
+GType
+ags_ipatch_get_type()
+{
+ static GType ags_type_ipatch = 0;
+
+ if(!ags_type_ipatch){
+ static const GTypeInfo ags_ipatch_info = {
+ sizeof (AgsIpatchClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ipatch_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsIpatch),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ipatch_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ipatch_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_playable_interface_info = {
+ (GInterfaceInitFunc) ags_ipatch_playable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ipatch = g_type_register_static(G_TYPE_OBJECT,
+ "AgsIpatch\0",
+ &ags_ipatch_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ipatch,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_ipatch,
+ AGS_TYPE_PLAYABLE,
+ &ags_playable_interface_info);
+ }
+
+ return (ags_type_ipatch);
+}
+
+void
+ags_ipatch_class_init(AgsIpatchClass *ipatch)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_ipatch_parent_class = g_type_class_peek_parent(ipatch);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ipatch;
+
+ gobject->set_property = ags_ipatch_set_property;
+ gobject->get_property = ags_ipatch_get_property;
+
+ gobject->finalize = ags_ipatch_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_pointer("filename\0",
+ "the filename\0",
+ "The filename to open\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILENAME,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("mode\0",
+ "the mode\0",
+ "The mode to open the file\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MODE,
+ param_spec);
+}
+
+void
+ags_ipatch_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_ipatch_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_ipatch_connect;
+ connectable->disconnect = ags_ipatch_disconnect;
+}
+
+void
+ags_ipatch_playable_interface_init(AgsPlayableInterface *playable)
+{
+ ags_ipatch_parent_playable_interface = g_type_interface_peek_parent(playable);
+
+ playable->open = ags_ipatch_open;
+
+ playable->nth_level = ags_ipatch_nth_level;
+ playable->level_count = ags_ipatch_level_count;
+ playable->sublevel_names = ags_ipatch_sublevel_names;
+ playable->level_select = ags_ipatch_level_select;
+
+ playable->iter_start = ags_ipatch_iter_start;
+ playable->iter_next = ags_ipatch_iter_next;
+
+ playable->info = ags_ipatch_info;
+ playable->read = ags_ipatch_read;
+
+ playable->close = ags_ipatch_close;
+}
+
+void
+ags_ipatch_init(AgsIpatch *ipatch)
+{
+ ipatch->flags = 0;
+
+ ipatch->devout = NULL;
+ ipatch->audio_signal= NULL;
+
+ ipatch->file = NULL;
+
+ ipatch->filename = NULL;
+ ipatch->mode = AGS_IPATCH_READ;
+
+ ipatch->handle = NULL;
+ ipatch->error = NULL;
+
+ ipatch->base = NULL;
+ ipatch->reader = NULL;
+
+ ipatch->samples = NULL;
+ ipatch->iter = NULL;
+
+ ipatch->nth_level = 0;
+}
+
+void
+ags_ipatch_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsIpatch *ipatch;
+
+ ipatch = AGS_IPATCH(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ {
+ gchar *filename;
+
+ filename = (gchar *) g_value_get_pointer(value);
+
+ ags_playable_open(AGS_PLAYABLE(ipatch), filename);
+ }
+ break;
+ case PROP_MODE:
+ {
+ gchar *mode;
+
+ mode = (gchar *) g_value_get_pointer(value);
+
+ ipatch->mode = mode;
+
+ if(ipatch->handle != NULL){
+ GError *error;
+
+ error = NULL;
+
+ ipatch_file_default_open_method(ipatch->handle,
+ mode,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ipatch_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsIpatch *ipatch;
+
+ ipatch = AGS_IPATCH(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ g_value_set_pointer(value, ipatch->filename);
+ break;
+ case PROP_MODE:
+ g_value_set_pointer(value, ipatch->mode);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ipatch_connect(AgsConnectable *connectable)
+{
+ ags_ipatch_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_ipatch_disconnect(AgsConnectable *connectable)
+{
+ ags_ipatch_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+
+gboolean
+ags_ipatch_open(AgsPlayable *playable, gchar *filename)
+{
+ AgsIpatch *ipatch;
+ IpatchFileIOFuncs *io_funcs;
+ GError *error;
+
+#ifdef AGS_DEBUG
+ g_message("open %s with libinstpatch.\0", filename);
+#endif
+
+ ipatch = AGS_IPATCH(playable);
+
+ ipatch->filename = filename;
+
+ error = NULL;
+ ipatch->handle = ipatch_file_identify_open(ipatch->filename,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ if(IPATCH_IS_DLS_FILE(ipatch->handle->file)){
+ ipatch->flags |= AGS_IPATCH_DLS2;
+
+ //TODO:JK: implement me
+ }else if(g_str_has_suffix(filename, ".sf2\0")){
+ /* */
+ ipatch->flags |= AGS_IPATCH_SF2;
+
+ /* */
+ ipatch->reader = ags_ipatch_sf2_reader_new();
+ AGS_IPATCH_SF2_READER(ipatch->reader)->ipatch = ipatch;
+
+ AGS_IPATCH_SF2_READER(ipatch->reader)->reader = ipatch_sf2_reader_new(ipatch->handle);
+
+ error = NULL;
+ ipatch->base = ipatch_sf2_reader_load(AGS_IPATCH_SF2_READER(ipatch->reader)->reader,
+ &error);
+
+ error = NULL;
+ AGS_IPATCH_SF2_READER(ipatch->reader)->sf2 = ipatch_convert_object_to_type(ipatch->handle->file,
+ IPATCH_TYPE_SF2,
+ &error);
+
+ if(error != NULL){
+ g_warning("%s\0", error->message);
+ }
+
+ /* load samples */
+ ipatch->samples = ipatch_container_get_children(IPATCH_CONTAINER(ipatch->base),
+ IPATCH_TYPE_SF2_SAMPLE);
+ }else if(IPATCH_IS_GIG_FILE(ipatch->handle->file)){
+ ipatch->flags |= AGS_IPATCH_GIG;
+
+ //TODO:JK: implement me
+ }
+
+ if(error == NULL){
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+}
+
+guint
+ags_ipatch_nth_level(AgsPlayable *playable)
+{
+ AgsIpatch *ipatch;
+
+ ipatch = AGS_IPATCH(playable);
+
+ return(ipatch->nth_level);
+}
+
+guint
+ags_ipatch_level_count(AgsPlayable *playable)
+{
+ AgsIpatch *ipatch;
+
+ ipatch = AGS_IPATCH(playable);
+
+ if((AGS_IPATCH_DLS2 & (ipatch->flags)) != 0){
+ return(4);
+ }else if((AGS_IPATCH_SF2 & (ipatch->flags)) != 0){
+ return(4);
+ }else if((AGS_IPATCH_GIG & (ipatch->flags)) != 0){
+ return(4);
+ }
+
+ return(0);
+}
+
+gchar**
+ags_ipatch_sublevel_names(AgsPlayable *playable)
+{
+ AgsIpatch *ipatch;
+ AgsIpatchSF2Reader *ipatch_sf2_reader;
+ IpatchItem *ipatch_item;
+ IpatchList *ipatch_list;
+ GList *list;
+ gchar **names;
+ gchar *name;
+ guint sublevel;
+ guint i;
+
+ ipatch = AGS_IPATCH(playable);
+ list = NULL;
+
+ names = (gchar **) malloc(1 * sizeof(gchar*));
+ names[0] = NULL;
+
+ if((AGS_IPATCH_SF2 & (ipatch->flags)) != 0){
+ ipatch_sf2_reader = AGS_IPATCH_SF2_READER(ipatch->reader);
+
+ sublevel = ipatch->nth_level;
+
+ switch(sublevel){
+ case AGS_SF2_FILENAME:
+ {
+ names = realloc(names, 2 * sizeof(char*));
+
+ names[0] = ipatch_sf2_reader->ipatch->filename;
+ names[1] = NULL;
+
+ return(names);
+ }
+ case AGS_SF2_PHDR:
+ {
+ ipatch_list = ipatch_container_get_children(ipatch_sf2_reader->sf2,
+ IPATCH_TYPE_SF2_PRESET);
+
+ if(ipatch_list != NULL){
+ list = ipatch_list->items;
+ }else{
+ return(names);
+ }
+ }
+ break;
+ case AGS_SF2_IHDR:
+ {
+ GList *tmp;
+
+ ipatch_list = ipatch_sf2_preset_get_zones(ipatch_sf2_reader->preset);
+ tmp = ipatch_list->items;
+
+ while(tmp != NULL){
+ list = g_list_prepend(list, ipatch_sf2_zone_get_link_item(IPATCH_SF2_ZONE(tmp->data)));
+
+ tmp = tmp->next;
+ }
+
+ if(list != NULL){
+ list = g_list_reverse(list);
+ }else{
+ return(names);
+ }
+ }
+ break;
+ case AGS_SF2_SHDR:
+ {
+ GList *tmp;
+
+ ipatch_list = ipatch_sf2_preset_get_zones(ipatch_sf2_reader->instrument);
+ tmp = ipatch_list->items;
+
+ while(tmp != NULL){
+ list = g_list_prepend(list, ipatch_sf2_zone_get_link_item(IPATCH_SF2_ZONE(tmp->data)));
+
+ tmp = tmp->next;
+ }
+
+ if(list != NULL){
+ list = g_list_reverse(list);
+ }else{
+ return(names);
+ }
+ }
+ break;
+ };
+ }
+
+ for(i = 0; list != NULL; i++){
+ switch(sublevel){
+ case AGS_SF2_PHDR:
+ {
+ if(IPATCH_IS_SF2_PRESET(list->data)){
+ names = (gchar **) realloc(names, (i + 2) * sizeof(char*));
+ names[i] = ipatch_sf2_preset_get_name(IPATCH_SF2_PRESET(list->data));
+ }
+ }
+ break;
+ case AGS_SF2_IHDR:
+ {
+ if(IPATCH_IS_SF2_INST(list->data)){
+ names = (gchar **) realloc(names, (i + 2) * sizeof(char*));
+ names[i] = ipatch_sf2_inst_get_name(IPATCH_SF2_INST(list->data));
+ }
+ }
+ break;
+ case AGS_SF2_SHDR:
+ {
+ if(IPATCH_IS_SF2_SAMPLE(list->data)){
+ names = (gchar **) realloc(names, (i + 2) * sizeof(char*));
+ names[i] = ipatch_sf2_sample_get_name(IPATCH_SF2_SAMPLE(list->data));
+ }
+ }
+ break;
+ };
+
+ list = list->next;
+ }
+
+ if(i > 0){
+ names[i] = NULL;
+ }
+
+ return(names);
+}
+
+void
+ags_ipatch_level_select(AgsPlayable *playable,
+ guint nth_level, gchar *sublevel_name,
+ GError **error)
+{
+ AgsIpatch *ipatch;
+ AgsIpatchSF2Reader *ipatch_sf2_reader;
+ gboolean success;
+
+ GError *this_error;
+
+ ipatch = AGS_IPATCH(playable);
+
+ if((AGS_IPATCH_SF2 & (ipatch->flags)) != 0){
+ ipatch_sf2_reader = AGS_IPATCH_SF2_READER(ipatch->reader);
+
+ //TODO:JK: apply mods and gens
+
+ if(sublevel_name == NULL){
+ ipatch->nth_level = 0;
+ ipatch_sf2_reader->selected[0] = NULL;
+ }else{
+ IpatchList *ipatch_list;
+ IpatchItem *ipatch_item;
+ GList *list;
+
+ if(nth_level == 0 && !g_strcmp0(ipatch_sf2_reader->ipatch->filename, sublevel_name)){
+ ipatch->nth_level = 0;
+ ipatch_sf2_reader->selected[0] = sublevel_name;
+ return;
+ }
+
+ if(nth_level == 1){
+ ipatch->nth_level = 1;
+ ipatch_sf2_reader->selected[1] = sublevel_name;
+
+ /* preset */
+ ipatch_list = ipatch_container_get_children(ipatch_sf2_reader->sf2,
+ IPATCH_TYPE_SF2_PRESET);
+ list = ipatch_list->items;
+
+ while(list != NULL){
+ if(!g_strcmp0(ipatch_sf2_preset_get_name(IPATCH_SF2_PRESET(list->data)), sublevel_name)){
+ /* some extra code for bank and program */
+ // ipatch_sf2_preset_get_midi_locale(IPATCH_SF2_PRESET(list->data),
+ // &(ipatch_sf2_reader->bank),
+ // &(ipatch_sf2_reader->program));
+
+ // g_message("bank %d program %d\n\0", ipatch_sf2_reader->bank, ipatch_sf2_reader->program);
+
+ this_error = NULL;
+ ipatch_sf2_reader->preset = IPATCH_SF2_PRESET(list->data);
+
+ break;
+ }
+
+ list = list->next;
+ }
+
+ ipatch->iter = list;
+ }else{
+ gboolean found_first;
+
+ found_first = FALSE;
+
+ if(nth_level == 2){
+ GList *tmp;
+
+ ipatch->nth_level = 2;
+ ipatch_sf2_reader->selected[2] = sublevel_name;
+
+ /* instrument */
+ ipatch_list = ipatch_sf2_preset_get_zones(ipatch_sf2_reader->preset);
+ list = NULL;
+ tmp = ipatch_list->items;
+
+ while(tmp != NULL){
+ list = g_list_prepend(list, ipatch_sf2_zone_get_link_item(IPATCH_SF2_ZONE(tmp->data)));
+
+ if(!g_strcmp0(IPATCH_SF2_INST(list->data)->name, sublevel_name)){
+ ipatch_sf2_reader->instrument = IPATCH_SF2_INST(list->data);
+ }
+
+ tmp = tmp->next;
+ }
+
+ ipatch->iter = g_list_reverse(list);
+ }else if(ipatch->nth_level == 3){
+ GList *tmp;
+
+ ipatch->nth_level = 3;
+ ipatch_sf2_reader->selected[3] = sublevel_name;
+
+ /* sample */
+ ipatch_list = ipatch_sf2_preset_get_zones(ipatch_sf2_reader->instrument);
+ list = NULL;
+ tmp = ipatch_list->items;
+
+ while(tmp != NULL){
+ list = g_list_prepend(list, ipatch_sf2_zone_get_link_item(IPATCH_SF2_ZONE(tmp->data)));
+
+ if(!strncmp(IPATCH_SF2_SAMPLE(list->data)->name, sublevel_name, 20)){
+ ipatch_sf2_reader->sample = IPATCH_SF2_SAMPLE(list->data);
+ }
+
+ tmp = tmp->next;
+ }
+
+ ipatch->iter = g_list_reverse(list);
+ }else{
+ g_set_error(error,
+ AGS_PLAYABLE_ERROR,
+ AGS_PLAYABLE_ERROR_NO_SUCH_LEVEL,
+ "no level called %s in soundfont2 file: %s\0",
+ sublevel_name, ipatch_sf2_reader->ipatch->filename);
+ }
+ }
+ }
+ }
+}
+
+void
+ags_ipatch_level_up(AgsPlayable *playable, guint levels, GError **error)
+{
+ AgsIpatch *ipatch;
+ guint i;
+
+ if(levels == 0)
+ return;
+
+ ipatch = AGS_IPATCH(playable);
+
+ if(ipatch->nth_level >= levels){
+ ipatch->nth_level -= levels;
+ }else{
+ g_set_error(error,
+ AGS_PLAYABLE_ERROR,
+ AGS_PLAYABLE_ERROR_NO_SUCH_LEVEL,
+ "Not able to go %u steps higher in soundfont2 file: %s\0",
+ levels, ipatch->filename);
+ }
+}
+
+void
+ags_ipatch_iter_start(AgsPlayable *playable)
+{
+ AgsIpatch *ipatch;
+
+ ipatch = AGS_IPATCH(playable);
+
+ if(ipatch->nth_level == 3){
+ if((AGS_IPATCH_DLS2 & (ipatch->flags)) != 0){
+ //TODO:JK: implement me
+ }else if((AGS_IPATCH_SF2 & (ipatch->flags)) != 0){
+ //TODO:JK: implement me
+ }else if((AGS_IPATCH_GIG & (ipatch->flags)) != 0){
+ //TODO:JK: implement me
+ }
+ }
+}
+
+gboolean
+ags_ipatch_iter_next(AgsPlayable *playable)
+{
+ AgsIpatch *ipatch;
+
+ ipatch = AGS_IPATCH(playable);
+
+ if(ipatch->iter != NULL){
+ ipatch->iter = ipatch->iter->next;
+
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+}
+
+void
+ags_ipatch_info(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error)
+{
+ AgsIpatch *ipatch;
+ IpatchSample *sample;
+
+ ipatch = AGS_IPATCH(playable);
+
+ if(ipatch->iter == NULL){
+ if(channels != NULL){
+ *channels = 0;
+ }
+
+ if(frames != NULL){
+ *frames = 0;
+ }
+
+ if(loop_start != NULL){
+ *loop_start = 0;
+ }
+
+ if(loop_end != NULL){
+ *loop_end = 0;
+ }
+
+ g_set_error(error,
+ AGS_PLAYABLE_ERROR,
+ AGS_PLAYABLE_ERROR_NO_SAMPLE,
+ "no sample selected for file: %s\0",
+ ipatch->filename);
+ }
+
+ sample = IPATCH_SAMPLE(ipatch->iter->data);
+ g_object_get(G_OBJECT(sample),
+ "sample-size\0", frames,
+ "loop-start\0", loop_start,
+ "loop-end\0", loop_end,
+ NULL);
+
+ //TODO:JK: verify me
+ if(channels != NULL){
+ *channels = AGS_IPATCH_DEFAULT_CHANNELS;
+ }
+}
+
+signed short*
+ags_ipatch_read(AgsPlayable *playable, guint channel,
+ GError **error)
+{
+ AgsIpatch *ipatch;
+ IpatchSample *sample;
+ signed short *buffer, *source;
+ guint channels, frames;
+ guint loop_start, loop_end;
+ guint i;
+ GError *this_error;
+
+ ipatch = AGS_IPATCH(playable);
+
+ this_error = NULL;
+ ags_playable_info(playable,
+ &channels, &frames,
+ &loop_start, &loop_end,
+ &this_error);
+
+ if(this_error != NULL){
+ g_error("%s\0", this_error->message);
+ }
+
+ buffer = (signed short *) malloc(channels * frames * sizeof(signed short));
+
+ if(ipatch->nth_level == 3){
+ sample = IPATCH_SAMPLE(ipatch->iter->data);
+ }else{
+ sample = NULL;
+
+ if((AGS_IPATCH_DLS2 & (ipatch->flags)) != 0){
+ //TODO:JK: implement me
+ }else if((AGS_IPATCH_SF2 & (ipatch->flags)) != 0){
+ AgsIpatchSF2Reader *reader;
+
+ reader = AGS_IPATCH_SF2_READER(ipatch->reader);
+
+ this_error = NULL;
+ sample = ipatch_sf2_find_sample(reader->sf2,
+ reader->selected[3],
+ NULL);
+ }else if((AGS_IPATCH_GIG & (ipatch->flags)) != 0){
+ //TODO:JK: implement me
+ }
+ }
+
+ this_error = NULL;
+ ipatch_sample_read_transform(sample,
+ 0,
+ frames,
+ buffer,
+ IPATCH_SAMPLE_16BIT | IPATCH_SAMPLE_MONO | IPATCH_SAMPLE_SIGNED,
+ IPATCH_SAMPLE_UNITY_CHANNEL_MAP,
+ &this_error);
+
+ if(this_error != NULL){
+ g_error("%s\0", this_error->message);
+ }
+
+ return(buffer);
+}
+
+void
+ags_ipatch_close(AgsPlayable *playable)
+{
+ AgsIpatch *ipatch;
+
+ ipatch = AGS_IPATCH(playable);
+
+ /* empty */
+}
+
+void
+ags_ipatch_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_ipatch_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+/**
+ * ags_ipatch_read_audio_signal:
+ * @ipatch: an AgsIpatch
+ *
+ * Reads an AgsAudioSignal from current sample and iterates to the next sample. Prior,
+ * you should have called #ags_playable_iter_start.
+ *
+ * Returns:
+ */
+GList*
+ags_ipatch_read_audio_signal(AgsPlayable *playable,
+ AgsDevout *devout,
+ guint start_channel, guint channels)
+{
+ AgsIpatch *ipatch;
+ GList *list;
+
+ ipatch = AGS_IPATCH(playable);
+
+ list = ags_playable_read_audio_signal(AGS_PLAYABLE(ipatch->reader),
+ ipatch->devout,
+ 0, 2);
+
+ ipatch->audio_signal = list;
+}
+
+/**
+ * ags_ipatch_new:
+ *
+ * Creates an #AgsIpatch.
+ *
+ * Returns: an empty #AgsIpatch.
+ *
+ * Since: 0.4
+ */
+AgsIpatch*
+ags_ipatch_new()
+{
+ AgsIpatch *ipatch;
+
+ ipatch = (AgsIpatch *) g_object_new(AGS_TYPE_IPATCH,
+ NULL);
+
+ return(ipatch);
+}
diff --git a/src/ags/audio/file/ags_ipatch.h b/src/ags/audio/file/ags_ipatch.h
new file mode 100644
index 0000000..7390941
--- /dev/null
+++ b/src/ags/audio/file/ags_ipatch.h
@@ -0,0 +1,83 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_IPATCH_H__
+#define __AGS_IPATCH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <libinstpatch/libinstpatch.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_IPATCH (ags_ipatch_get_type())
+#define AGS_IPATCH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH, AgsIpatch))
+#define AGS_IPATCH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH, AgsIpatchClass))
+#define AGS_IS_IPATCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_IPATCH))
+#define AGS_IS_IPATCH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_IPATCH))
+#define AGS_IPATCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_IPATCH, AgsIpatchClass))
+
+#define AGS_IPATCH_DEFAULT_CHANNELS 2
+
+#define AGS_IPATCH_READ "r"
+#define AGS_IPATCH_WRITE "w"
+
+typedef struct _AgsIpatch AgsIpatch;
+typedef struct _AgsIpatchClass AgsIpatchClass;
+
+typedef enum{
+ AGS_IPATCH_DLS2 = 1,
+ AGS_IPATCH_SF2 = 1 << 1,
+ AGS_IPATCH_GIG = 1 << 2,
+}AgsIpatchFlags;
+
+struct _AgsIpatch
+{
+ GObject object;
+
+ guint flags;
+
+ AgsDevout *devout;
+ GList *audio_signal;
+
+ IpatchFile *file;
+ char *filename;
+ char *mode;
+
+ IpatchFileHandle *handle;
+ GError *error;
+
+ IpatchBase *base;
+ GObject *reader;
+
+ IpatchList *samples;
+ GList *iter;
+
+ guint nth_level;
+};
+
+struct _AgsIpatchClass
+{
+ GObjectClass object;
+};
+
+GType ags_ipatch_get_type();
+
+AgsIpatch* ags_ipatch_new();
+
+#endif /*__AGS_IPATCH_H__*/
diff --git a/src/ags/audio/file/ags_ipatch_sf2_reader.c b/src/ags/audio/file/ags_ipatch_sf2_reader.c
new file mode 100644
index 0000000..a20f511
--- /dev/null
+++ b/src/ags/audio/file/ags_ipatch_sf2_reader.c
@@ -0,0 +1,233 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/file/ags_ipatch_sf2_reader.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <stdlib.h>
+
+void ags_ipatch_sf2_reader_class_init(AgsIpatchSF2ReaderClass *ipatch_sf2_reader);
+void ags_ipatch_sf2_reader_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_ipatch_sf2_reader_init(AgsIpatchSF2Reader *ipatch_sf2_reader);
+void ags_ipatch_sf2_reader_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_ipatch_sf2_reader_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_ipatch_sf2_reader_finalize(GObject *gobject);
+
+void ags_ipatch_sf2_reader_connect(AgsConnectable *connectable);
+void ags_ipatch_sf2_reader_disconnect(AgsConnectable *connectable);
+
+/**
+ * SECTION:ags_ipatch_sf2_reader
+ * @short_description: interfacing Soundfont2 related API of libinstpatch
+ * @title: AgsIpatchSF2Reader
+ * @section_id:
+ * @include: ags/audio/file/ags_ipatch_sf2_reader.h
+ *
+ * #AgsIpatchSF2Reader is the base object to ineract with Soundfont2 related API.
+ */
+
+static gpointer ags_ipatch_sf2_reader_parent_class = NULL;
+static AgsConnectableInterface *ags_ipatch_sf2_reader_parent_connectable_interface;
+
+enum{
+ PROP_0,
+ PROP_IPATCH,
+};
+
+GType
+ags_ipatch_sf2_reader_get_type()
+{
+ static GType ags_type_ipatch_sf2_reader = 0;
+
+ if(!ags_type_ipatch_sf2_reader){
+ static const GTypeInfo ags_ipatch_sf2_reader_info = {
+ sizeof (AgsIpatchSF2ReaderClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ipatch_sf2_reader_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsIpatchSF2Reader),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ipatch_sf2_reader_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_ipatch_sf2_reader_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_ipatch_sf2_reader = g_type_register_static(G_TYPE_OBJECT,
+ "AgsIpatchSF2Reader\0",
+ &ags_ipatch_sf2_reader_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_ipatch_sf2_reader,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_ipatch_sf2_reader);
+}
+
+void
+ags_ipatch_sf2_reader_class_init(AgsIpatchSF2ReaderClass *ipatch_sf2_reader)
+{
+ GObjectClass *gobject;
+
+ ags_ipatch_sf2_reader_parent_class = g_type_class_peek_parent(ipatch_sf2_reader);
+
+ gobject = (GObjectClass *) ipatch_sf2_reader;
+
+ gobject->set_property = ags_ipatch_sf2_reader_set_property;
+ gobject->get_property = ags_ipatch_sf2_reader_get_property;
+
+ gobject->finalize = ags_ipatch_sf2_reader_finalize;
+}
+
+void
+ags_ipatch_sf2_reader_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_ipatch_sf2_reader_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_ipatch_sf2_reader_connect;
+ connectable->disconnect = ags_ipatch_sf2_reader_disconnect;
+}
+
+void
+ags_ipatch_sf2_reader_init(AgsIpatchSF2Reader *ipatch_sf2_reader)
+{
+ ipatch_sf2_reader->ipatch = NULL;
+
+ ipatch_sf2_reader->bank = -1;
+ ipatch_sf2_reader->program = -1;
+
+ ipatch_sf2_reader->selected = (gchar **) malloc(4 * sizeof(gchar *));
+
+ ipatch_sf2_reader->preset = NULL;
+ ipatch_sf2_reader->instrument = NULL;
+ ipatch_sf2_reader->sample = NULL;
+}
+
+void
+ags_ipatch_sf2_reader_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsIpatchSF2Reader *ipatch_sf2_reader;
+
+ ipatch_sf2_reader = AGS_IPATCH_SF2_READER(gobject);
+
+ switch(prop_id){
+ case PROP_IPATCH:
+ {
+ AgsIpatch *ipatch;
+
+ ipatch = (AgsIpatch *) g_value_get_object(value);
+
+ if(ipatch_sf2_reader->ipatch != NULL){
+ g_object_unref(ipatch_sf2_reader->ipatch);
+ }
+
+ ipatch_sf2_reader->ipatch = ipatch;
+
+ if(ipatch != NULL){
+ g_object_ref(ipatch);
+ ipatch->reader = (GObject *) ipatch_sf2_reader;
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ipatch_sf2_reader_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsIpatchSF2Reader *ipatch_sf2_reader;
+
+ ipatch_sf2_reader = AGS_IPATCH_SF2_READER(gobject);
+
+ switch(prop_id){
+ case PROP_IPATCH:
+ g_value_set_object(value, ipatch_sf2_reader->ipatch);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ipatch_sf2_reader_connect(AgsConnectable *connectable)
+{
+ ags_ipatch_sf2_reader_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_ipatch_sf2_reader_disconnect(AgsConnectable *connectable)
+{
+ ags_ipatch_sf2_reader_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_ipatch_sf2_reader_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_ipatch_sf2_reader_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+
+/**
+ * ags_ipatch_sf2_reader_new:
+ *
+ * Creates an #AgsIpatchSF2Reader.
+ *
+ * Returns: an empty #AgsIpatchSF2Reader.
+ *
+ * Since: 0.4
+ */
+AgsIpatchSF2Reader*
+ags_ipatch_sf2_reader_new()
+{
+ AgsIpatchSF2Reader *ipatch_sf2_reader;
+
+ ipatch_sf2_reader = (AgsIpatchSF2Reader *) g_object_new(AGS_TYPE_IPATCH_SF2_READER,
+ NULL);
+
+ return(ipatch_sf2_reader);
+}
diff --git a/src/ags/audio/file/ags_ipatch_sf2_reader.h b/src/ags/audio/file/ags_ipatch_sf2_reader.h
new file mode 100644
index 0000000..4f24eb5
--- /dev/null
+++ b/src/ags/audio/file/ags_ipatch_sf2_reader.h
@@ -0,0 +1,76 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_IPATCH_SF2_READER_H__
+#define __AGS_IPATCH_SF2_READER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <libinstpatch/libinstpatch.h>
+
+#include <ags/audio/file/ags_ipatch.h>
+
+#define AGS_TYPE_IPATCH_SF2_READER (ags_ipatch_sf2_reader_get_type())
+#define AGS_IPATCH_SF2_READER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2Reader))
+#define AGS_IPATCH_SF2_READER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2ReaderClass))
+#define AGS_IS_IPATCH_SF2_READER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_IPATCH_SF2_READER))
+#define AGS_IS_IPATCH_SF2_READER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_IPATCH_SF2_READER))
+#define AGS_IPATCH_SF2_READER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2ReaderClass))
+
+typedef struct _AgsIpatchSF2Reader AgsIpatchSF2Reader;
+typedef struct _AgsIpatchSF2ReaderClass AgsIpatchSF2ReaderClass;
+
+typedef enum{
+ AGS_SF2_FILENAME = 0,
+ AGS_SF2_PHDR = 1,
+ AGS_SF2_IHDR = 2,
+ AGS_SF2_SHDR = 3,
+}AgsSF2Levels;
+
+struct _AgsIpatchSF2Reader
+{
+ GObject object;
+
+ AgsIpatch *ipatch;
+
+ gchar **selected;
+
+ IpatchSF2Reader *reader;
+
+ IpatchSF2 *sf2;
+
+ int bank;
+ int program;
+
+ IpatchContainer *preset;
+ IpatchContainer *instrument;
+ IpatchContainer *sample;
+
+ int count;
+};
+
+struct _AgsIpatchSF2ReaderClass
+{
+ GObjectClass object;
+};
+
+GType ags_ipatch_sf2_reader_get_type();
+
+AgsIpatchSF2Reader* ags_ipatch_sf2_reader_new();
+
+#endif /*__AGS_IPATCH_SF2_READER_H__*/
diff --git a/src/ags/audio/file/ags_sndfile.c b/src/ags/audio/file/ags_sndfile.c
new file mode 100644
index 0000000..44b935b
--- /dev/null
+++ b/src/ags/audio/file/ags_sndfile.c
@@ -0,0 +1,488 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/file/ags_sndfile.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_playable.h>
+
+void ags_sndfile_class_init(AgsSndfileClass *sndfile);
+void ags_sndfile_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_sndfile_playable_interface_init(AgsPlayableInterface *playable);
+void ags_sndfile_init(AgsSndfile *sndfile);
+void ags_sndfile_finalize(GObject *gobject);
+
+void ags_sndfile_connect(AgsConnectable *connectable);
+void ags_sndfile_disconnect(AgsConnectable *connectable);
+
+gboolean ags_sndfile_open(AgsPlayable *playable, gchar *name);
+gboolean ags_sndfile_rw_open(AgsPlayable *playable, gchar *name,
+ gboolean create,
+ guint samplerate, guint channels,
+ guint frames,
+ guint format);
+guint ags_sndfile_level_count(AgsPlayable *playable);
+gchar** ags_sndfile_sublevel_names(AgsPlayable *playable);
+void ags_sndfile_iter_start(AgsPlayable *playable);
+gboolean ags_sndfile_iter_next(AgsPlayable *playable);
+void ags_sndfile_info(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error);
+signed short* ags_sndfile_read(AgsPlayable *playable, guint channel, GError **error);
+void ags_sndfile_write(AgsPlayable *playable, signed short *buffer, guint buffer_length);
+void ags_sndfile_flush(AgsPlayable *playable);
+void ags_sndfile_seek(AgsPlayable *playable, guint frames, gint whence);
+void ags_sndfile_close(AgsPlayable *playable);
+
+sf_vio_get_filelen ags_sndfile_vio_get_filelen(void *user_data);
+sf_vio_seek ags_sndfile_vio_seek(sf_count_t offset, int whence, void *user_data);
+sf_vio_read ags_sndfile_vio_read(void *ptr, sf_count_t count, void *user_data);
+sf_vio_write ags_sndfile_vio_write(const void *ptr, sf_count_t count, void *user_data);
+sf_vio_tell ags_sndfile_vio_tell(const void *ptr, sf_count_t count, void *user_data);
+
+/**
+ * SECTION:ags_sndfile
+ * @short_description: Libsndfile wrapper
+ * @title: AgsSndfile
+ * @section_id:
+ * @include: ags/audio/file/ags_sndfile.h
+ *
+ * #AgsSndfile is the base object to ineract with libsndfile.
+ */
+
+static gpointer ags_sndfile_parent_class = NULL;
+static AgsConnectableInterface *ags_sndfile_parent_connectable_interface;
+static AgsPlayableInterface *ags_sndfile_parent_playable_interface;
+static SF_VIRTUAL_IO *ags_sndfile_virtual_io = NULL;
+
+GType
+ags_sndfile_get_type()
+{
+ static GType ags_type_sndfile = 0;
+
+ if(!ags_type_sndfile){
+ static const GTypeInfo ags_sndfile_info = {
+ sizeof (AgsSndfileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_sndfile_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSndfile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_sndfile_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_sndfile_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_playable_interface_info = {
+ (GInterfaceInitFunc) ags_sndfile_playable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_sndfile = g_type_register_static(G_TYPE_OBJECT,
+ "AgsSndfile\0",
+ &ags_sndfile_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_sndfile,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_sndfile,
+ AGS_TYPE_PLAYABLE,
+ &ags_playable_interface_info);
+ }
+
+ return (ags_type_sndfile);
+}
+
+void
+ags_sndfile_class_init(AgsSndfileClass *sndfile)
+{
+ GObjectClass *gobject;
+
+ ags_sndfile_parent_class = g_type_class_peek_parent(sndfile);
+
+ gobject = (GObjectClass *) sndfile;
+
+ gobject->finalize = ags_sndfile_finalize;
+
+ /* sndfile callbacks */
+ if(ags_sndfile_virtual_io == NULL){
+ ags_sndfile_virtual_io = (SF_VIRTUAL_IO *) malloc(sizeof(SF_VIRTUAL_IO));
+
+ ags_sndfile_virtual_io->get_filelen = ags_sndfile_vio_get_filelen;
+ ags_sndfile_virtual_io->seek = ags_sndfile_vio_seek;
+ ags_sndfile_virtual_io->read = ags_sndfile_vio_read;
+ ags_sndfile_virtual_io->write = ags_sndfile_vio_write;
+ ags_sndfile_virtual_io->tell = ags_sndfile_vio_tell;
+ }
+}
+
+void
+ags_sndfile_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_sndfile_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_sndfile_connect;
+ connectable->disconnect = ags_sndfile_disconnect;
+}
+
+void
+ags_sndfile_playable_interface_init(AgsPlayableInterface *playable)
+{
+ ags_sndfile_parent_playable_interface = g_type_interface_peek_parent(playable);
+
+ playable->open = ags_sndfile_open;
+ playable->rw_open = ags_sndfile_rw_open;
+
+ playable->level_count = ags_sndfile_level_count;
+ playable->sublevel_names = ags_sndfile_sublevel_names;
+ playable->level_select = NULL;
+
+ playable->iter_start = ags_sndfile_iter_start;
+ playable->iter_next = ags_sndfile_iter_next;
+
+ playable->info = ags_sndfile_info;
+ playable->read = ags_sndfile_read;
+
+ playable->write = ags_sndfile_write;
+ playable->flush = ags_sndfile_flush;
+
+ playable->seek = ags_sndfile_seek;
+
+ playable->close = ags_sndfile_close;
+}
+
+void
+ags_sndfile_init(AgsSndfile *sndfile)
+{
+ sndfile->flags = 0;
+
+ sndfile->info = NULL;
+ sndfile->file = NULL;
+
+ sndfile->pointer = NULL;
+ sndfile->current = NULL;
+ sndfile->length = 0;
+}
+
+void
+ags_sndfile_connect(AgsConnectable *connectable)
+{
+ ags_sndfile_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_sndfile_disconnect(AgsConnectable *connectable)
+{
+ ags_sndfile_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+gboolean
+ags_sndfile_open(AgsPlayable *playable, gchar *name)
+{
+ AgsSndfile *sndfile;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ sndfile->info = (SF_INFO *) malloc(sizeof(SF_INFO));
+ sndfile->info->format = 0;
+
+ if((AGS_SNDFILE_VIRTUAL & (sndfile->flags)) == 0){
+ if(name != NULL){
+ sndfile->file = (SNDFILE *) sf_open(name, SFM_READ, sndfile->info);
+ }
+ }else{
+ sndfile->file = (SNDFILE *) sf_open_virtual(ags_sndfile_virtual_io, SFM_READ, sndfile->info, sndfile);
+ }
+
+ if(sndfile->file == NULL)
+ return(FALSE);
+ else
+ return(TRUE);
+}
+
+gboolean
+ags_sndfile_rw_open(AgsPlayable *playable, gchar *name,
+ gboolean create,
+ guint samplerate, guint channels,
+ guint frames,
+ guint format)
+{
+ AgsSndfile *sndfile;
+ sf_count_t multi_frames;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ sndfile->info = (SF_INFO *) malloc(sizeof(SF_INFO));
+
+ sndfile->info->samplerate = (int) samplerate;
+ sndfile->info->channels = (int) channels;
+ sndfile->info->format = (int) format;
+ sndfile->info->frames = 0;
+ sndfile->info->seekable = 0;
+ sndfile->info->sections = 0;
+
+ g_message("export to: %s\n samplerate: %d\n channels: %d\n format: %x\0",
+ name,
+ samplerate,
+ channels,
+ format);
+
+ if(!sf_format_check(sndfile->info)){
+ g_warning("invalid format");
+ }
+
+ if((AGS_SNDFILE_VIRTUAL & (sndfile->flags)) == 0){
+ if(name != NULL){
+ sndfile->file = (SNDFILE *) sf_open(name, SFM_RDWR, sndfile->info);
+ }
+ }else{
+ sndfile->file = (SNDFILE *) sf_open_virtual(ags_sndfile_virtual_io, SFM_RDWR, sndfile->info, sndfile);
+ }
+
+ multi_frames = frames * sndfile->info->channels;
+ // sf_command(sndfile->file, SFC_FILE_TRUNCATE, &(multi_frames), sizeof(multi_frames));
+ // sf_command (sndfile, SFC_SET_SCALE_INT_FLOAT_WRITE, NULL, SF_TRUE);
+ // sf_seek(sndfile->file, 0, SEEK_SET);
+
+ // sndfile->info->frames = multi_frames;
+
+ if(sndfile->file == NULL)
+ return(FALSE);
+ else
+ return(TRUE);
+}
+
+guint
+ags_sndfile_level_count(AgsPlayable *playable)
+{
+ return(1);
+}
+
+gchar**
+ags_sndfile_sublevel_names(AgsPlayable *playable)
+{
+ return(NULL);
+}
+
+void
+ags_sndfile_iter_start(AgsPlayable *playable)
+{
+ AgsSndfile *sndfile;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ sndfile->flags |= AGS_SNDFILE_ITER_START;
+}
+
+gboolean
+ags_sndfile_iter_next(AgsPlayable *playable)
+{
+ AgsSndfile *sndfile;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ if((AGS_SNDFILE_ITER_START & (sndfile->flags)) != 0){
+ sndfile->flags &= (~AGS_SNDFILE_ITER_START);
+
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+}
+
+void
+ags_sndfile_info(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error)
+{
+ AgsSndfile *sndfile;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ *channels = sndfile->info->channels;
+ *frames = sndfile->info->frames;
+ *loop_start = 0;
+ *loop_end = 0;
+}
+
+signed short*
+ags_sndfile_read(AgsPlayable *playable, guint channel, GError **error)
+{
+ AgsSndfile *sndfile;
+ signed short *buffer, *source;
+ guint i;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ source = (signed short *) malloc((size_t) sndfile->info->channels *
+ sndfile->info->frames *
+ sizeof(signed short));
+
+ sf_seek(sndfile->file, 0, SEEK_SET);
+ sf_read_short(sndfile->file, source, sndfile->info->frames * sndfile->info->channels);
+
+ buffer = (signed short *) malloc((size_t) sndfile->info->frames *
+ sizeof(signed short));
+
+ for(i = 0; i < sndfile->info->frames; i++){
+ buffer[i] = source[i * sndfile->info->channels + channel];
+ }
+
+ free(source);
+
+ return(buffer);
+}
+
+void
+ags_sndfile_write(AgsPlayable *playable, signed short *buffer, guint buffer_length)
+{
+ AgsSndfile *sndfile;
+ sf_count_t multi_frames, retval;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ multi_frames = buffer_length * sndfile->info->channels;
+
+ retval = sf_write_short(sndfile->file, buffer, multi_frames);
+
+ if(retval > multi_frames){
+ g_warning("retval > multi_frames");
+ // sf_seek(sndfile->file, (multi_frames - retval), SEEK_CUR);
+ }
+}
+
+void
+ags_sndfile_flush(AgsPlayable *playable)
+{
+ AgsSndfile *sndfile;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ sf_write_sync(sndfile->file);
+}
+
+void
+ags_sndfile_seek(AgsPlayable *playable, guint frames, gint whence)
+{
+ AgsSndfile *sndfile;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ sf_seek(sndfile->file, frames, whence);
+}
+
+void
+ags_sndfile_close(AgsPlayable *playable)
+{
+ AgsSndfile *sndfile;
+
+ sndfile = AGS_SNDFILE(playable);
+
+ sf_close(sndfile->file);
+ free(sndfile->info);
+}
+
+void
+ags_sndfile_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_sndfile_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+sf_vio_get_filelen
+ags_sndfile_vio_get_filelen(void *user_data)
+{
+ return(AGS_SNDFILE(user_data)->length);
+}
+
+sf_vio_seek
+ags_sndfile_vio_seek(sf_count_t offset, int whence, void *user_data)
+{
+ switch(whence){
+ case SEEK_CUR:
+ AGS_SNDFILE(user_data)->current += offset;
+ case SEEK_SET:
+ AGS_SNDFILE(user_data)->current = &(AGS_SNDFILE(user_data)->pointer[offset]);
+ case SEEK_END:
+ AGS_SNDFILE(user_data)->current = &(AGS_SNDFILE(user_data)->pointer[AGS_SNDFILE(user_data)->length - offset]);
+ }
+
+ return(AGS_SNDFILE(user_data)->current - AGS_SNDFILE(user_data)->pointer);
+}
+
+sf_vio_read
+ags_sndfile_vio_read(void *ptr, sf_count_t count, void *user_data)
+{
+ guchar *retval;
+
+ retval = memcpy(ptr, AGS_SNDFILE(user_data)->current, count * sizeof(guchar));
+
+ return(retval - AGS_SNDFILE(user_data)->pointer);
+}
+
+sf_vio_write
+ags_sndfile_vio_write(const void *ptr, sf_count_t count, void *user_data)
+{
+ guchar *retval;
+
+ retval = memcpy(AGS_SNDFILE(user_data)->current, ptr, count * sizeof(guchar));
+
+ return(retval - AGS_SNDFILE(user_data)->pointer);
+}
+
+sf_vio_tell
+ags_sndfile_vio_tell(const void *ptr, sf_count_t count, void *user_data)
+{
+ return(AGS_SNDFILE(user_data)->current - AGS_SNDFILE(user_data)->pointer);
+}
+
+/**
+ * ags_sndfile_new:
+ *
+ * Creates an #AgsSndfile.
+ *
+ * Returns: an empty #AgsSndfile.
+ *
+ * Since: 0.3
+ */
+AgsSndfile*
+ags_sndfile_new()
+{
+ AgsSndfile *sndfile;
+
+ sndfile = (AgsSndfile *) g_object_new(AGS_TYPE_SNDFILE,
+ NULL);
+
+ return(sndfile);
+}
diff --git a/src/ags/audio/file/ags_sndfile.h b/src/ags/audio/file/ags_sndfile.h
new file mode 100644
index 0000000..ba91ae9
--- /dev/null
+++ b/src/ags/audio/file/ags_sndfile.h
@@ -0,0 +1,66 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SNDFILE_H__
+#define __AGS_SNDFILE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <sndfile.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_SNDFILE (ags_sndfile_get_type())
+#define AGS_SNDFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SNDFILE, AgsSndfile))
+#define AGS_SNDFILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SNDFILE, AgsSndfileClass))
+#define AGS_IS_SNDFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SNDFILE))
+#define AGS_IS_SNDFILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SNDFILE))
+#define AGS_SNDFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SNDFILE, AgsSndfileClass))
+
+typedef struct _AgsSndfile AgsSndfile;
+typedef struct _AgsSndfileClass AgsSndfileClass;
+
+typedef enum{
+ AGS_SNDFILE_ITER_START = 1,
+ AGS_SNDFILE_VIRTUAL = 1 << 1,
+}AgsSndfileFlags;
+
+struct _AgsSndfile
+{
+ GObject object;
+
+ guint flags;
+
+ SF_INFO *info;
+ SNDFILE *file;
+
+ guchar *pointer;
+ guchar *current;
+ gsize length;
+};
+
+struct _AgsSndfileClass
+{
+ GObjectClass object;
+};
+
+GType ags_sndfile_get_type();
+
+AgsSndfile* ags_sndfile_new();
+
+#endif /*__AGS_SNDFILE_H__*/
diff --git a/src/ags/audio/recall/Makefile b/src/ags/audio/recall/Makefile
new file mode 100644
index 0000000..7373483
--- /dev/null
+++ b/src/ags/audio/recall/Makefile
@@ -0,0 +1,568 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/audio/recall/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/audio/recall
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/audio/recall
+abs_srcdir = /usr/src/ags-devel/src/ags/audio/recall
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../../
+top_builddir = ../../../..
+top_srcdir = ../../../..
+deprecated_ags_recall_audio_h_sources = \
+ ags_amplifier.h \
+ ags_clone_channel.h \
+ ags_clone_channel_run.h \
+ ags_down_mix.h \
+ ags_echo.h \
+ ags_loop_channel.h \
+ ags_loop_channel_run.h \
+ ags_play_note.h \
+ ags_stream.h \
+ ags_synths.h
+
+ags_recall_audio_h_sources = \
+ $(deprecated_ags_recall_audio_h_sources) \
+ ags_buffer_audio_signal.h \
+ ags_buffer_channel.h \
+ ags_buffer_channel_run.h \
+ ags_buffer_recycling.h \
+ ags_copy_audio_signal.h \
+ ags_copy_channel.h \
+ ags_copy_channel_run.h \
+ ags_copy_notation_audio.h \
+ ags_copy_notation_audio_run.h \
+ ags_copy_pattern_audio.h \
+ ags_copy_pattern_audio_run.h \
+ ags_copy_pattern_channel.h \
+ ags_copy_pattern_channel_run.h \
+ ags_copy_recycling.h \
+ ags_count_beats_audio.h \
+ ags_count_beats_audio_run.h \
+ ags_delay_audio.h \
+ ags_delay_audio_run.h \
+ ags_mute_audio.h \
+ ags_mute_audio_signal.h \
+ ags_mute_channel.h \
+ ags_mute_channel_run.h \
+ ags_mute_recycling.h \
+ ags_peak_channel.h \
+ ags_peak_channel_run.h \
+ ags_play_audio_file.h \
+ ags_play_audio.h \
+ ags_play_audio_signal.h \
+ ags_play_channel.h \
+ ags_play_channel_run.h \
+ ags_play_channel_run_master.h \
+ ags_play_notation_audio.h \
+ ags_play_notation_audio_run.h \
+ ags_play_pattern.h \
+ ags_play_recycling.h \
+ ags_stream_audio_signal.h \
+ ags_stream_channel.h \
+ ags_stream_channel_run.h \
+ ags_stream_recycling.h \
+ ags_volume_audio_signal.h \
+ ags_volume_channel.h \
+ ags_volume_channel_run.h \
+ ags_volume_recycling.h
+
+deprecated_ags_recall_audio_c_sources = \
+ ags_amplifier.c \
+ ags_clone_channel.c \
+ ags_clone_channel_run.c \
+ ags_down_mix.c \
+ ags_echo.c \
+ ags_loop_channel.c \
+ ags_loop_channel_run.c \
+ ags_play_note.c \
+ ags_stream.c \
+ ags_synths.c
+
+ags_recall_audio_c_sources = \
+ $(deprecated_ags_recall_audio_c_sources) \
+ ags_buffer_audio_signal.c \
+ ags_buffer_channel.c \
+ ags_buffer_channel_run.c \
+ ags_buffer_recycling.c \
+ ags_copy_audio_signal.c \
+ ags_copy_channel.c \
+ ags_copy_channel_run.c \
+ ags_copy_notation_audio.c \
+ ags_copy_notation_audio_run.c \
+ ags_copy_pattern_audio.c \
+ ags_copy_pattern_audio_run.c \
+ ags_copy_pattern_channel.c \
+ ags_copy_pattern_channel_run.c \
+ ags_copy_recycling.c \
+ ags_count_beats_audio.c \
+ ags_count_beats_audio_run.c \
+ ags_delay_audio.c \
+ ags_delay_audio_run.c \
+ ags_mute_audio.c \
+ ags_mute_audio_signal.c \
+ ags_mute_channel.c \
+ ags_mute_channel_run.c \
+ ags_mute_recycling.c \
+ ags_peak_channel.c \
+ ags_peak_channel_run.c \
+ ags_play_audio_file.c \
+ ags_play_audio.c \
+ ags_play_audio_signal.c \
+ ags_play_channel.c \
+ ags_play_channel_run.c \
+ ags_play_channel_run_master.c \
+ ags_play_notation_audio.c \
+ ags_play_notation_audio_run.c \
+ ags_play_pattern.c \
+ ags_play_recycling.c \
+ ags_stream_audio_signal.c \
+ ags_stream_channel.c \
+ ags_stream_channel_run.c \
+ ags_stream_recycling.c \
+ ags_volume_audio_signal.c \
+ ags_volume_channel.c \
+ ags_volume_channel_run.c \
+ ags_volume_recycling.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/recall/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/recall/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/recall/Makefile.am b/src/ags/audio/recall/Makefile.am
new file mode 100644
index 0000000..0ae626f
--- /dev/null
+++ b/src/ags/audio/recall/Makefile.am
@@ -0,0 +1,115 @@
+deprecated_ags_recall_audio_h_sources = \
+ ags_amplifier.h \
+ ags_clone_channel.h \
+ ags_clone_channel_run.h \
+ ags_down_mix.h \
+ ags_echo.h \
+ ags_loop_channel.h \
+ ags_loop_channel_run.h \
+ ags_play_note.h \
+ ags_stream.h \
+ ags_synths.h
+
+ags_recall_audio_h_sources = \
+ $(deprecated_ags_recall_audio_h_sources) \
+ ags_buffer_audio_signal.h \
+ ags_buffer_channel.h \
+ ags_buffer_channel_run.h \
+ ags_buffer_recycling.h \
+ ags_copy_audio_signal.h \
+ ags_copy_channel.h \
+ ags_copy_channel_run.h \
+ ags_copy_notation_audio.h \
+ ags_copy_notation_audio_run.h \
+ ags_copy_pattern_audio.h \
+ ags_copy_pattern_audio_run.h \
+ ags_copy_pattern_channel.h \
+ ags_copy_pattern_channel_run.h \
+ ags_copy_recycling.h \
+ ags_count_beats_audio.h \
+ ags_count_beats_audio_run.h \
+ ags_delay_audio.h \
+ ags_delay_audio_run.h \
+ ags_mute_audio.h \
+ ags_mute_audio_signal.h \
+ ags_mute_channel.h \
+ ags_mute_channel_run.h \
+ ags_mute_recycling.h \
+ ags_peak_channel.h \
+ ags_peak_channel_run.h \
+ ags_play_audio_file.h \
+ ags_play_audio.h \
+ ags_play_audio_signal.h \
+ ags_play_channel.h \
+ ags_play_channel_run.h \
+ ags_play_channel_run_master.h \
+ ags_play_notation_audio.h \
+ ags_play_notation_audio_run.h \
+ ags_play_pattern.h \
+ ags_play_recycling.h \
+ ags_stream_audio_signal.h \
+ ags_stream_channel.h \
+ ags_stream_channel_run.h \
+ ags_stream_recycling.h \
+ ags_volume_audio_signal.h \
+ ags_volume_channel.h \
+ ags_volume_channel_run.h \
+ ags_volume_recycling.h
+
+deprecated_ags_recall_audio_c_sources = \
+ ags_amplifier.c \
+ ags_clone_channel.c \
+ ags_clone_channel_run.c \
+ ags_down_mix.c \
+ ags_echo.c \
+ ags_loop_channel.c \
+ ags_loop_channel_run.c \
+ ags_play_note.c \
+ ags_stream.c \
+ ags_synths.c
+
+ags_recall_audio_c_sources = \
+ $(deprecated_ags_recall_audio_c_sources) \
+ ags_buffer_audio_signal.c \
+ ags_buffer_channel.c \
+ ags_buffer_channel_run.c \
+ ags_buffer_recycling.c \
+ ags_copy_audio_signal.c \
+ ags_copy_channel.c \
+ ags_copy_channel_run.c \
+ ags_copy_notation_audio.c \
+ ags_copy_notation_audio_run.c \
+ ags_copy_pattern_audio.c \
+ ags_copy_pattern_audio_run.c \
+ ags_copy_pattern_channel.c \
+ ags_copy_pattern_channel_run.c \
+ ags_copy_recycling.c \
+ ags_count_beats_audio.c \
+ ags_count_beats_audio_run.c \
+ ags_delay_audio.c \
+ ags_delay_audio_run.c \
+ ags_mute_audio.c \
+ ags_mute_audio_signal.c \
+ ags_mute_channel.c \
+ ags_mute_channel_run.c \
+ ags_mute_recycling.c \
+ ags_peak_channel.c \
+ ags_peak_channel_run.c \
+ ags_play_audio_file.c \
+ ags_play_audio.c \
+ ags_play_audio_signal.c \
+ ags_play_channel.c \
+ ags_play_channel_run.c \
+ ags_play_channel_run_master.c \
+ ags_play_notation_audio.c \
+ ags_play_notation_audio_run.c \
+ ags_play_pattern.c \
+ ags_play_recycling.c \
+ ags_stream_audio_signal.c \
+ ags_stream_channel.c \
+ ags_stream_channel_run.c \
+ ags_stream_recycling.c \
+ ags_volume_audio_signal.c \
+ ags_volume_channel.c \
+ ags_volume_channel_run.c \
+ ags_volume_recycling.c
diff --git a/src/ags/audio/recall/Makefile.in b/src/ags/audio/recall/Makefile.in
new file mode 100644
index 0000000..daa417f
--- /dev/null
+++ b/src/ags/audio/recall/Makefile.in
@@ -0,0 +1,568 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/audio/recall
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_recall_audio_h_sources = \
+ ags_amplifier.h \
+ ags_clone_channel.h \
+ ags_clone_channel_run.h \
+ ags_down_mix.h \
+ ags_echo.h \
+ ags_loop_channel.h \
+ ags_loop_channel_run.h \
+ ags_play_note.h \
+ ags_stream.h \
+ ags_synths.h
+
+ags_recall_audio_h_sources = \
+ $(deprecated_ags_recall_audio_h_sources) \
+ ags_buffer_audio_signal.h \
+ ags_buffer_channel.h \
+ ags_buffer_channel_run.h \
+ ags_buffer_recycling.h \
+ ags_copy_audio_signal.h \
+ ags_copy_channel.h \
+ ags_copy_channel_run.h \
+ ags_copy_notation_audio.h \
+ ags_copy_notation_audio_run.h \
+ ags_copy_pattern_audio.h \
+ ags_copy_pattern_audio_run.h \
+ ags_copy_pattern_channel.h \
+ ags_copy_pattern_channel_run.h \
+ ags_copy_recycling.h \
+ ags_count_beats_audio.h \
+ ags_count_beats_audio_run.h \
+ ags_delay_audio.h \
+ ags_delay_audio_run.h \
+ ags_mute_audio.h \
+ ags_mute_audio_signal.h \
+ ags_mute_channel.h \
+ ags_mute_channel_run.h \
+ ags_mute_recycling.h \
+ ags_peak_channel.h \
+ ags_peak_channel_run.h \
+ ags_play_audio_file.h \
+ ags_play_audio.h \
+ ags_play_audio_signal.h \
+ ags_play_channel.h \
+ ags_play_channel_run.h \
+ ags_play_channel_run_master.h \
+ ags_play_notation_audio.h \
+ ags_play_notation_audio_run.h \
+ ags_play_pattern.h \
+ ags_play_recycling.h \
+ ags_stream_audio_signal.h \
+ ags_stream_channel.h \
+ ags_stream_channel_run.h \
+ ags_stream_recycling.h \
+ ags_volume_audio_signal.h \
+ ags_volume_channel.h \
+ ags_volume_channel_run.h \
+ ags_volume_recycling.h
+
+deprecated_ags_recall_audio_c_sources = \
+ ags_amplifier.c \
+ ags_clone_channel.c \
+ ags_clone_channel_run.c \
+ ags_down_mix.c \
+ ags_echo.c \
+ ags_loop_channel.c \
+ ags_loop_channel_run.c \
+ ags_play_note.c \
+ ags_stream.c \
+ ags_synths.c
+
+ags_recall_audio_c_sources = \
+ $(deprecated_ags_recall_audio_c_sources) \
+ ags_buffer_audio_signal.c \
+ ags_buffer_channel.c \
+ ags_buffer_channel_run.c \
+ ags_buffer_recycling.c \
+ ags_copy_audio_signal.c \
+ ags_copy_channel.c \
+ ags_copy_channel_run.c \
+ ags_copy_notation_audio.c \
+ ags_copy_notation_audio_run.c \
+ ags_copy_pattern_audio.c \
+ ags_copy_pattern_audio_run.c \
+ ags_copy_pattern_channel.c \
+ ags_copy_pattern_channel_run.c \
+ ags_copy_recycling.c \
+ ags_count_beats_audio.c \
+ ags_count_beats_audio_run.c \
+ ags_delay_audio.c \
+ ags_delay_audio_run.c \
+ ags_mute_audio.c \
+ ags_mute_audio_signal.c \
+ ags_mute_channel.c \
+ ags_mute_channel_run.c \
+ ags_mute_recycling.c \
+ ags_peak_channel.c \
+ ags_peak_channel_run.c \
+ ags_play_audio_file.c \
+ ags_play_audio.c \
+ ags_play_audio_signal.c \
+ ags_play_channel.c \
+ ags_play_channel_run.c \
+ ags_play_channel_run_master.c \
+ ags_play_notation_audio.c \
+ ags_play_notation_audio_run.c \
+ ags_play_pattern.c \
+ ags_play_recycling.c \
+ ags_stream_audio_signal.c \
+ ags_stream_channel.c \
+ ags_stream_channel_run.c \
+ ags_stream_recycling.c \
+ ags_volume_audio_signal.c \
+ ags_volume_channel.c \
+ ags_volume_channel_run.c \
+ ags_volume_recycling.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/recall/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/recall/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/recall/ags_amplifier.c b/src/ags/audio/recall/ags_amplifier.c
new file mode 100644
index 0000000..b783229
--- /dev/null
+++ b/src/ags/audio/recall/ags_amplifier.c
@@ -0,0 +1,26 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_amplifier.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+void
+ags_amplifier(AgsRecall *recall)
+{
+}
diff --git a/src/ags/audio/recall/ags_amplifier.h b/src/ags/audio/recall/ags_amplifier.h
new file mode 100644
index 0000000..cf81583
--- /dev/null
+++ b/src/ags/audio/recall/ags_amplifier.h
@@ -0,0 +1,30 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AMPLIFIER_H__
+#define __AGS_AMPLIFIER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+void ags_amplifier(AgsRecall *recall);
+
+#endif /*__AGS_AMPLIFIER_H__*/
+
diff --git a/src/ags/audio/recall/ags_buffer_audio_signal.c b/src/ags/audio/recall/ags_buffer_audio_signal.c
new file mode 100644
index 0000000..d1c90a8
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_audio_signal.c
@@ -0,0 +1,379 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_buffer_audio_signal.h>
+#include <ags/audio/recall/ags_buffer_recycling.h>
+#include <ags/audio/recall/ags_buffer_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_recycling.h>
+
+#include <ags/audio/ags_config.h>
+
+void ags_buffer_audio_signal_class_init(AgsBufferAudioSignalClass *buffer_audio_signal);
+void ags_buffer_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_buffer_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_buffer_audio_signal_init(AgsBufferAudioSignal *buffer_audio_signal);
+void ags_buffer_audio_signal_connect(AgsConnectable *connectable);
+void ags_buffer_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_buffer_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_buffer_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_buffer_audio_signal_finalize(GObject *gobject);
+
+void ags_buffer_audio_signal_run_init_pre(AgsRecall *recall);
+void ags_buffer_audio_signal_run_pre(AgsRecall *recall);
+void ags_buffer_audio_signal_run_inter(AgsRecall *recall);
+AgsRecall* ags_buffer_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_buffer_audio_signal
+ * @short_description: buffers audio signal
+ * @title: AgsBufferAudioSignal
+ * @section_id:
+ * @include: ags/audio/recall/ags_buffer_audio_signal.h
+ *
+ * The #AgsBufferAudioSignal class buffers the audio signal.
+ */
+
+static gpointer ags_buffer_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_buffer_audio_signal_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_buffer_audio_signal_parent_dynamic_connectable_interface;
+
+GType
+ags_buffer_audio_signal_get_type()
+{
+ static GType ags_type_buffer_audio_signal = 0;
+
+ if(!ags_type_buffer_audio_signal){
+ static const GTypeInfo ags_buffer_audio_signal_info = {
+ sizeof (AgsBufferAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_buffer_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsBufferAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_buffer_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_audio_signal_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_buffer_audio_signal = g_type_register_static(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "AgsBufferAudioSignal\0",
+ &ags_buffer_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_buffer_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_buffer_audio_signal,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_buffer_audio_signal);
+}
+
+void
+ags_buffer_audio_signal_class_init(AgsBufferAudioSignalClass *buffer_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_buffer_audio_signal_parent_class = g_type_class_peek_parent(buffer_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) buffer_audio_signal;
+
+ gobject->finalize = ags_buffer_audio_signal_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) buffer_audio_signal;
+
+ recall->run_init_pre = ags_buffer_audio_signal_run_init_pre;
+ recall->run_pre = ags_buffer_audio_signal_run_pre;
+ recall->run_inter = ags_buffer_audio_signal_run_inter;
+ recall->duplicate = ags_buffer_audio_signal_duplicate;
+}
+
+void
+ags_buffer_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_buffer_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_buffer_audio_signal_connect;
+ connectable->disconnect = ags_buffer_audio_signal_disconnect;
+}
+
+void
+ags_buffer_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_buffer_audio_signal_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_buffer_audio_signal_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_buffer_audio_signal_disconnect_dynamic;
+}
+
+void
+ags_buffer_audio_signal_init(AgsBufferAudioSignal *buffer_audio_signal)
+{
+ AGS_RECALL(buffer_audio_signal)->name = "ags-buffer\0";
+ AGS_RECALL(buffer_audio_signal)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(buffer_audio_signal)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(buffer_audio_signal)->xml_type = "ags-buffer-audio-signal\0";
+ AGS_RECALL(buffer_audio_signal)->port = NULL;
+
+ AGS_RECALL(buffer_audio_signal)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_buffer_audio_signal_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_buffer_audio_signal_parent_class)->finalize(gobject);
+}
+
+void
+ags_buffer_audio_signal_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_buffer_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_buffer_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_buffer_audio_signal_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_buffer_audio_signal_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_audio_signal_run_init_pre(AgsRecall *recall)
+{
+ AgsDevout *devout;
+ AgsRecycling *recycling;
+ AgsAudioSignal *destination;
+ AgsBufferRecycling *buffer_recycling;
+ AgsBufferAudioSignal *buffer_audio_signal;
+ GList *stream;
+ guint buffer_size;
+ guint samplerate;
+ guint length;
+
+ buffer_audio_signal = AGS_BUFFER_AUDIO_SIGNAL(recall);
+ buffer_recycling = AGS_BUFFER_RECYCLING(recall->parent);
+
+ devout = AGS_DEVOUT(AGS_RECALL(buffer_audio_signal)->devout);
+
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ // recall->flags &= (~AGS_RECALL_PERSISTENT);
+ recycling = AGS_RECALL_RECYCLING(buffer_recycling)->destination;
+
+ /* create new audio signal */
+ destination = ags_audio_signal_new((GObject *) devout,
+ (GObject *) recycling,
+ (GObject *) recall->recall_id->recycling_container->parent->recall_id);
+ length = (guint) (2.0 * devout->delay[devout->tic_counter]) + 1;
+ ags_audio_signal_stream_resize(destination,
+ length);
+ stream = destination->stream_beginning;
+
+ while(stream != NULL){
+ memset(stream->data, 0, buffer_size * sizeof(signed short));
+ stream = stream->next;
+ }
+
+ ags_audio_signal_connect(destination);
+
+ destination->stream_current = destination->stream_beginning;
+ ags_recycling_add_audio_signal(recycling,
+ destination);
+ AGS_RECALL_AUDIO_SIGNAL(buffer_audio_signal)->destination = destination;
+
+#ifdef AGS_DEBUG
+ g_message("buffer to %x\0", destination->recall_id);
+ g_message("creating destination\0");
+#endif
+ g_object_unref(destination);
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_buffer_audio_signal_parent_class)->run_init_pre(recall);
+}
+
+void
+ags_buffer_audio_signal_run_pre(AgsRecall *recall)
+{
+ /* call parent */
+ AGS_RECALL_CLASS(ags_buffer_audio_signal_parent_class)->run_pre(recall);
+}
+
+void
+ags_buffer_audio_signal_run_inter(AgsRecall *recall)
+{
+ AgsDevout *devout;
+ AgsRecycling *recycling;
+ AgsAudioSignal *source, *destination;
+ AgsBufferChannel *buffer_channel;
+ AgsBufferRecycling *buffer_recycling;
+ AgsBufferAudioSignal *buffer_audio_signal;
+ GList *stream_source, *stream_destination;
+ gboolean muted;
+ GValue value = {0,};
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_buffer_audio_signal_parent_class)->run_inter(recall);
+
+ /* initialize some variables */
+ buffer_audio_signal = AGS_BUFFER_AUDIO_SIGNAL(recall);
+ buffer_recycling = AGS_BUFFER_RECYCLING(recall->parent);
+ buffer_channel = AGS_BUFFER_CHANNEL(AGS_RECALL_CHANNEL_RUN(AGS_RECALL(buffer_recycling)->parent)->recall_channel);
+
+ devout = AGS_DEVOUT(AGS_RECALL(buffer_audio_signal)->devout);
+ source = AGS_RECALL_AUDIO_SIGNAL(buffer_audio_signal)->source;
+ stream_source = source->stream_current;
+
+ if(stream_source == NULL){
+ if((AGS_RECALL_PERSISTENT & (recall->flags)) == 0){
+ ags_recall_done(recall);
+ }
+
+ return;
+ }
+
+ //FIXME:JK: attack probably needs to be removed
+ destination = AGS_RECALL_AUDIO_SIGNAL(buffer_audio_signal)->destination;
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(buffer_channel->muted,
+ &value);
+
+ muted = g_value_get_boolean(&value);
+ g_value_unset(&value);
+
+ if(muted){
+ return;
+ }
+
+ stream_destination = destination->stream_current;
+
+ if(stream_destination->next == NULL){
+ ags_audio_signal_add_stream(destination);
+ }
+
+ //TODO:JK: in future release buffer size may differ
+ ags_audio_signal_copy_buffer_to_buffer((signed short *) stream_destination->data, 1,
+ (signed short *) stream_source->data, 1,
+ source->buffer_size);
+}
+
+AgsRecall*
+ags_buffer_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsBufferAudioSignal *buffer;
+
+ buffer = (AgsBufferAudioSignal *) AGS_RECALL_CLASS(ags_buffer_audio_signal_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) buffer);
+}
+
+/**
+ * ags_buffer_audio_signal_new:
+ * @audio_signal: an #AgsAudioSignal
+ *
+ * Creates an #AgsBufferAudioSignal
+ *
+ * Returns: a new #AgsBufferAudioSignal
+ *
+ * Since: 0.4
+ */
+AgsBufferAudioSignal*
+ags_buffer_audio_signal_new(AgsAudioSignal *audio_signal)
+{
+ AgsBufferAudioSignal *buffer_audio_signal;
+
+ buffer_audio_signal = (AgsBufferAudioSignal *) g_object_new(AGS_TYPE_BUFFER_AUDIO_SIGNAL,
+ "source\0", audio_signal,
+ NULL);
+
+ return(buffer_audio_signal);
+}
diff --git a/src/ags/audio/recall/ags_buffer_audio_signal.h b/src/ags/audio/recall/ags_buffer_audio_signal.h
new file mode 100644
index 0000000..9766a36
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_audio_signal.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_BUFFER_AUDIO_SIGNAL_H__
+#define __AGS_BUFFER_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#define AGS_TYPE_BUFFER_AUDIO_SIGNAL (ags_buffer_audio_signal_get_type())
+#define AGS_BUFFER_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_AUDIO_SIGNAL, AgsBufferAudioSignal))
+#define AGS_BUFFER_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_AUDIO_SIGNAL, AgsBufferAudioSignalClass))
+#define AGS_IS_BUFFER_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BUFFER_AUDIO_SIGNAL))
+#define AGS_IS_BUFFER_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BUFFER_AUDIO_SIGNAL))
+#define AGS_BUFFER_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BUFFER_AUDIO_SIGNAL, AgsBufferAudioSignalClass))
+
+typedef struct _AgsBufferAudioSignal AgsBufferAudioSignal;
+typedef struct _AgsBufferAudioSignalClass AgsBufferAudioSignalClass;
+
+struct _AgsBufferAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+
+struct _AgsBufferAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+
+GType ags_buffer_audio_signal_get_type();
+
+AgsBufferAudioSignal* ags_buffer_audio_signal_new(AgsAudioSignal *audio_signal);
+
+#endif /*__AGS_BUFFER_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/recall/ags_buffer_channel.c b/src/ags/audio/recall/ags_buffer_channel.c
new file mode 100644
index 0000000..a5a5e41
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_channel.c
@@ -0,0 +1,353 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_buffer_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_mutable.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_buffer_channel_class_init(AgsBufferChannelClass *buffer_channel);
+void ags_buffer_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_buffer_channel_mutable_interface_init(AgsMutableInterface *mutable);
+void ags_buffer_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_buffer_channel_init(AgsBufferChannel *buffer_channel);
+void ags_buffer_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_buffer_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_buffer_channel_connect(AgsConnectable *connectable);
+void ags_buffer_channel_disconnect(AgsConnectable *connectable);
+void ags_buffer_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_buffer_channel_finalize(GObject *gobject);
+
+void ags_buffer_channel_set_muted(AgsMutable *mutable, gboolean muted);
+
+/**
+ * SECTION:ags_buffer_channel
+ * @short_description: buffers channel
+ * @title: AgsBufferChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_buffer_channel.h
+ *
+ * The #AgsBufferChannel class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_MUTED,
+};
+
+static gpointer ags_buffer_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_buffer_channel_parent_connectable_interface;
+static AgsMutableInterface *ags_buffer_channel_parent_mutable_interface;
+static AgsPluginInterface *ags_buffer_channel_parent_plugin_interface;
+
+static const gchar *ags_buffer_channel_plugin_name = "ags-buffer\0";
+static const gchar *ags_buffer_channel_plugin_specifier[] = {
+ "./muted[0]\0",
+};
+static const gchar *ags_buffer_channel_plugin_control_port[] = {
+ "1/1\0",
+};
+
+GType
+ags_buffer_channel_get_type()
+{
+ static GType ags_type_buffer_channel = 0;
+
+ if(!ags_type_buffer_channel){
+ static const GTypeInfo ags_buffer_channel_info = {
+ sizeof (AgsBufferChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_buffer_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsBufferChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_buffer_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_mutable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_channel_mutable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_buffer_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsBufferChannel\0",
+ &ags_buffer_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_buffer_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_buffer_channel,
+ AGS_TYPE_MUTABLE,
+ &ags_mutable_interface_info);
+
+ g_type_add_interface_static(ags_type_buffer_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_buffer_channel);
+}
+
+void
+ags_buffer_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_buffer_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_buffer_channel_connect;
+ connectable->disconnect = ags_buffer_channel_disconnect;
+}
+
+void
+ags_buffer_channel_mutable_interface_init(AgsMutableInterface *mutable)
+{
+ ags_buffer_channel_parent_mutable_interface = g_type_interface_peek_parent(mutable);
+
+ mutable->set_muted = ags_buffer_channel_set_muted;
+}
+
+void
+ags_buffer_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_buffer_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_buffer_channel_set_ports;
+}
+
+void
+ags_buffer_channel_class_init(AgsBufferChannelClass *buffer_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_buffer_channel_parent_class = g_type_class_peek_parent(buffer_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) buffer_channel;
+
+ gobject->set_property = ags_buffer_channel_set_property;
+ gobject->get_property = ags_buffer_channel_get_property;
+
+ gobject->finalize = ags_buffer_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("muted\0",
+ "mute channel\0",
+ "Mute the channel\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MUTED,
+ param_spec);
+}
+
+void
+ags_buffer_channel_init(AgsBufferChannel *buffer_channel)
+{
+ GList *port;
+
+ AGS_RECALL(buffer_channel)->name = "ags-buffer\0";
+ AGS_RECALL(buffer_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(buffer_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(buffer_channel)->xml_type = "ags-buffer-channel\0";
+
+ port = NULL;
+
+ buffer_channel->muted = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_buffer_channel_plugin_name,
+ "specifier\0", ags_buffer_channel_plugin_specifier[0],
+ "control-port\0", ags_buffer_channel_plugin_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_BOOLEAN,
+ "port-value-size\0", sizeof(gboolean),
+ "port-value-length\0", 1,
+ NULL);
+ buffer_channel->muted->port_value.ags_port_boolean = FALSE;
+
+ port = g_list_prepend(port, buffer_channel->muted);
+
+ /* set port */
+ AGS_RECALL(buffer_channel)->port = port;
+
+}
+
+
+void
+ags_buffer_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsBufferChannel *buffer_channel;
+
+ buffer_channel = AGS_BUFFER_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == buffer_channel->muted){
+ return;
+ }
+
+ if(buffer_channel->muted != NULL){
+ g_object_unref(G_OBJECT(buffer_channel->muted));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ buffer_channel->muted = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_buffer_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsBufferChannel *buffer_channel;
+
+ buffer_channel = AGS_BUFFER_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ g_value_set_object(value, buffer_channel->muted);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_buffer_channel_finalize(GObject *gobject)
+{
+ AgsBufferChannel *buffer_channel;
+
+ buffer_channel = AGS_BUFFER_CHANNEL(gobject);
+
+ if(buffer_channel->muted != NULL){
+ g_object_unref(G_OBJECT(buffer_channel->muted));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_buffer_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_buffer_channel_connect(AgsConnectable *connectable)
+{
+ ags_buffer_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_buffer_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./muted[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "muted\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_buffer_channel_set_muted(AgsMutable *mutable, gboolean muted)
+{
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, muted);
+
+ ags_port_safe_write(AGS_BUFFER_CHANNEL(mutable)->muted, &value);
+}
+
+/**
+ * ags_buffer_channel_new:
+ *
+ * Creates an #AgsBufferChannel
+ *
+ * Returns: a new #AgsBufferChannel
+ *
+ * Since: 0.4
+ */
+AgsBufferChannel*
+ags_buffer_channel_new()
+{
+ AgsBufferChannel *buffer_channel;
+
+ buffer_channel = (AgsBufferChannel *) g_object_new(AGS_TYPE_BUFFER_CHANNEL,
+ NULL);
+
+ return(buffer_channel);
+}
diff --git a/src/ags/audio/recall/ags_buffer_channel.h b/src/ags/audio/recall/ags_buffer_channel.h
new file mode 100644
index 0000000..45223d7
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_channel.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_BUFFER_CHANNEL_H__
+#define __AGS_BUFFER_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+
+#define AGS_TYPE_BUFFER_CHANNEL (ags_buffer_channel_get_type())
+#define AGS_BUFFER_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_CHANNEL, AgsBufferChannel))
+#define AGS_BUFFER_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_CHANNEL, AgsBufferChannelClass))
+#define AGS_IS_BUFFER_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BUFFER_CHANNEL))
+#define AGS_IS_BUFFER_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BUFFER_CHANNEL))
+#define AGS_BUFFER_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BUFFER_CHANNEL, AgsBufferChannelClass))
+
+typedef struct _AgsBufferChannel AgsBufferChannel;
+typedef struct _AgsBufferChannelClass AgsBufferChannelClass;
+
+struct _AgsBufferChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+
+struct _AgsBufferChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_buffer_channel_get_type();
+
+AgsBufferChannel* ags_buffer_channel_new();
+
+#endif /*__AGS_BUFFER_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_buffer_channel_run.c b/src/ags/audio/recall/ags_buffer_channel_run.c
new file mode 100644
index 0000000..323791d
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_channel_run.c
@@ -0,0 +1,259 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_buffer_channel_run.h>
+#include <ags/audio/recall/ags_buffer_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+void ags_buffer_channel_run_class_init(AgsBufferChannelRunClass *buffer_channel_run);
+void ags_buffer_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_buffer_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_buffer_channel_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_buffer_channel_run_init(AgsBufferChannelRun *buffer_channel_run);
+void ags_buffer_channel_run_connect(AgsConnectable *connectable);
+void ags_buffer_channel_run_disconnect(AgsConnectable *connectable);
+void ags_buffer_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_buffer_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_buffer_channel_run_finalize(GObject *gobject);
+
+AgsRecall* ags_buffer_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_buffer_channel_run
+ * @short_description: buffers channel
+ * @title: AgsBufferChannelRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_buffer_channel_run.h
+ *
+ * The #AgsBufferChannelRun class buffers the channel.
+ */
+
+static gpointer ags_buffer_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_buffer_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_buffer_channel_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_buffer_channel_run_parent_plugin_interface;
+
+GType
+ags_buffer_channel_run_get_type()
+{
+ static GType ags_type_buffer_channel_run = 0;
+
+ if(!ags_type_buffer_channel_run){
+ static const GTypeInfo ags_buffer_channel_run_info = {
+ sizeof (AgsBufferChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_buffer_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsBufferChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_buffer_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_channel_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_buffer_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsBufferChannelRun\0",
+ &ags_buffer_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_buffer_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_buffer_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_buffer_channel_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_buffer_channel_run);
+}
+
+void
+ags_buffer_channel_run_class_init(AgsBufferChannelRunClass *buffer_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_buffer_channel_run_parent_class = g_type_class_peek_parent(buffer_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) buffer_channel_run;
+
+ gobject->finalize = ags_buffer_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) buffer_channel_run;
+
+ recall->duplicate = ags_buffer_channel_run_duplicate;
+}
+
+void
+ags_buffer_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_buffer_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_buffer_channel_run_connect;
+ connectable->disconnect = ags_buffer_channel_run_disconnect;
+}
+
+void
+ags_buffer_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_buffer_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_buffer_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_buffer_channel_run_disconnect_dynamic;
+}
+
+void
+ags_buffer_channel_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_buffer_channel_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_buffer_channel_run_init(AgsBufferChannelRun *buffer_channel_run)
+{
+ AGS_RECALL(buffer_channel_run)->name = "ags-buffer\0";
+ AGS_RECALL(buffer_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(buffer_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(buffer_channel_run)->xml_type = "ags-buffer-channel-run\0";
+ AGS_RECALL(buffer_channel_run)->port = NULL;
+
+ AGS_RECALL(buffer_channel_run)->flags |= AGS_RECALL_INPUT_ORIENTATED;
+ AGS_RECALL(buffer_channel_run)->child_type = AGS_TYPE_BUFFER_RECYCLING;
+}
+
+void
+ags_buffer_channel_run_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_buffer_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_buffer_channel_run_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_buffer_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_channel_run_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_buffer_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_buffer_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsChannel *channel;
+ AgsBufferChannelRun *buffer_channel_run;
+
+ ags_buffer_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_buffer_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsBufferChannelRun *buffer_channel_run, *copy;
+
+ buffer_channel_run = (AgsBufferChannelRun *) recall;
+ copy = (AgsBufferChannelRun *) AGS_RECALL_CLASS(ags_buffer_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_buffer_channel_run_new:
+ *
+ * Creates an #AgsBufferChannelRun
+ *
+ * Returns: a new #AgsBufferChannelRun
+ *
+ * Since: 0.4
+ */
+AgsBufferChannelRun*
+ags_buffer_channel_run_new()
+{
+ AgsBufferChannelRun *buffer_channel_run;
+
+ buffer_channel_run = (AgsBufferChannelRun *) g_object_new(AGS_TYPE_BUFFER_CHANNEL_RUN,
+ NULL);
+
+ return(buffer_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_buffer_channel_run.h b/src/ags/audio/recall/ags_buffer_channel_run.h
new file mode 100644
index 0000000..813657a
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_channel_run.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_BUFFER_CHANNEL_RUN_H__
+#define __AGS_BUFFER_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/recall/ags_buffer_channel.h>
+
+#define AGS_TYPE_BUFFER_CHANNEL_RUN (ags_buffer_channel_run_get_type())
+#define AGS_BUFFER_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_CHANNEL_RUN, AgsBufferChannelRun))
+#define AGS_BUFFER_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_CHANNEL_RUN, AgsBufferChannelRunClass))
+#define AGS_IS_BUFFER_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_BUFFER_CHANNEL_RUN))
+#define AGS_IS_BUFFER_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_BUFFER_CHANNEL_RUN))
+#define AGS_BUFFER_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_BUFFER_CHANNEL_RUN, AgsBufferChannelRunClass))
+
+typedef struct _AgsBufferChannelRun AgsBufferChannelRun;
+typedef struct _AgsBufferChannelRunClass AgsBufferChannelRunClass;
+
+struct _AgsBufferChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+
+struct _AgsBufferChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_buffer_channel_run_get_type();
+
+AgsBufferChannelRun* ags_buffer_channel_run_new();
+
+#endif /*__AGS_BUFFER_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_buffer_recycling.c b/src/ags/audio/recall/ags_buffer_recycling.c
new file mode 100644
index 0000000..497f466
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_recycling.c
@@ -0,0 +1,236 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_buffer_recycling.h>
+#include <ags/audio/recall/ags_buffer_audio_signal.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/task/ags_remove_audio_signal.h>
+
+void ags_buffer_recycling_class_init(AgsBufferRecyclingClass *buffer_recycling);
+void ags_buffer_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_buffer_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_buffer_recycling_init(AgsBufferRecycling *buffer_recycling);
+void ags_buffer_recycling_connect(AgsConnectable *connectable);
+void ags_buffer_recycling_disconnect(AgsConnectable *connectable);
+void ags_buffer_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_buffer_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_buffer_recycling_finalize(GObject *gobject);
+
+AgsRecall* ags_buffer_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+void ags_buffer_recycling_remove(AgsRecall *recall);
+
+/**
+ * SECTION:ags_buffer_recycling
+ * @short_description: buffers recycling
+ * @title: AgsBufferRecycling
+ * @section_id:
+ * @include: ags/audio/recall/ags_buffer_recycling.h
+ *
+ * The #AgsBufferRecycling class buffers the recycling.
+ */
+
+static gpointer ags_buffer_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_buffer_recycling_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_buffer_recycling_parent_dynamic_connectable_interface;
+
+GType
+ags_buffer_recycling_get_type()
+{
+ static GType ags_type_buffer_recycling = 0;
+
+ if(!ags_type_buffer_recycling){
+ static const GTypeInfo ags_buffer_recycling_info = {
+ sizeof (AgsBufferRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_buffer_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsBufferRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_buffer_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_buffer_recycling_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_buffer_recycling = g_type_register_static(AGS_TYPE_RECALL_RECYCLING,
+ "AgsBufferRecycling\0",
+ &ags_buffer_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_buffer_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_buffer_recycling,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_buffer_recycling);
+}
+
+void
+ags_buffer_recycling_class_init(AgsBufferRecyclingClass *buffer_recycling)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_buffer_recycling_parent_class = g_type_class_peek_parent(buffer_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) buffer_recycling;
+
+ gobject->finalize = ags_buffer_recycling_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) buffer_recycling;
+
+ recall->duplicate = ags_buffer_recycling_duplicate;
+}
+
+void
+ags_buffer_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_buffer_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_buffer_recycling_connect;
+ connectable->disconnect = ags_buffer_recycling_disconnect;
+}
+
+void
+ags_buffer_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_buffer_recycling_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_buffer_recycling_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_buffer_recycling_disconnect_dynamic;
+}
+
+void
+ags_buffer_recycling_init(AgsBufferRecycling *buffer_recycling)
+{
+ AGS_RECALL(buffer_recycling)->name = "ags-buffer\0";
+ AGS_RECALL(buffer_recycling)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(buffer_recycling)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(buffer_recycling)->xml_type = "ags-buffer-recycling\0";
+ AGS_RECALL(buffer_recycling)->port = NULL;
+
+ AGS_RECALL(buffer_recycling)->child_type = AGS_TYPE_BUFFER_AUDIO_SIGNAL;
+
+ AGS_RECALL_RECYCLING(buffer_recycling)->flags |= (AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION |
+ AGS_RECALL_RECYCLING_CREATE_DESTINATION_ON_MAP_SOURCE);
+}
+
+void
+ags_buffer_recycling_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_buffer_recycling_parent_class)->finalize(gobject);
+}
+
+void
+ags_buffer_recycling_connect(AgsConnectable *connectable)
+{
+ ags_buffer_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_recycling_disconnect(AgsConnectable *connectable)
+{
+ ags_buffer_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_buffer_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_buffer_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_buffer_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_buffer_recycling_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+AgsRecall*
+ags_buffer_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsBufferRecycling *copy;
+
+ copy = (AgsBufferRecycling *) AGS_RECALL_CLASS(ags_buffer_recycling_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_buffer_recycling_new:
+ * @recycling: an #AgsRecycling
+ *
+ * Creates an #AgsBufferRecycling
+ *
+ * Returns: a new #AgsBufferRecycling
+ *
+ * Since: 0.4
+ */
+AgsBufferRecycling*
+ags_buffer_recycling_new(AgsRecycling *recycling)
+{
+ AgsBufferRecycling *buffer_recycling;
+
+ buffer_recycling = (AgsBufferRecycling *) g_object_new(AGS_TYPE_BUFFER_RECYCLING,
+ "source\0", recycling,
+ NULL);
+
+ return(buffer_recycling);
+}
diff --git a/src/ags/audio/recall/ags_buffer_recycling.h b/src/ags/audio/recall/ags_buffer_recycling.h
new file mode 100644
index 0000000..ec9b443
--- /dev/null
+++ b/src/ags/audio/recall/ags_buffer_recycling.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_BUFFER_RECYCLING_H__
+#define __AGS_BUFFER_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_recycling.h>
+
+#define AGS_TYPE_BUFFER_RECYCLING (ags_buffer_recycling_get_type())
+#define AGS_BUFFER_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BUFFER_RECYCLING, AgsBufferRecycling))
+#define AGS_BUFFER_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BUFFER_RECYCLING, AgsBufferRecyclingClass))
+#define AGS_IS_BUFFER_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BUFFER_RECYCLING))
+#define AGS_IS_BUFFER_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BUFFER_RECYCLING))
+#define AGS_BUFFER_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BUFFER_RECYCLING, AgsBufferRecyclingClass))
+
+typedef struct _AgsBufferRecycling AgsBufferRecycling;
+typedef struct _AgsBufferRecyclingClass AgsBufferRecyclingClass;
+
+struct _AgsBufferRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+
+struct _AgsBufferRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+
+GType ags_buffer_recycling_get_type();
+
+AgsBufferRecycling* ags_buffer_recycling_new(AgsRecycling *recycling);
+
+#endif /*__AGS_BUFFER_RECYCLING_H__*/
diff --git a/src/ags/audio/recall/ags_clone_channel.c b/src/ags/audio/recall/ags_clone_channel.c
new file mode 100644
index 0000000..a99dcbb
--- /dev/null
+++ b/src/ags/audio/recall/ags_clone_channel.c
@@ -0,0 +1,257 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_clone_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_clone_channel_class_init(AgsCloneChannelClass *clone_channel);
+void ags_clone_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_clone_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_clone_channel_init(AgsCloneChannel *clone_channel);
+void ags_clone_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_clone_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_clone_channel_connect(AgsConnectable *connectable);
+void ags_clone_channel_disconnect(AgsConnectable *connectable);
+void ags_clone_channel_finalize(GObject *gobject);
+void ags_clone_channel_set_ports(AgsPlugin *plugin, GList *port);
+
+enum{
+ PROP_0,
+ PROP_AUDIO_CHANNEL,
+};
+
+static gpointer ags_clone_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_clone_channel_parent_connectable_interface;
+static AgsPluginInterface *ags_clone_channel_parent_plugin_interface;
+
+GType
+ags_clone_channel_get_type()
+{
+ static GType ags_type_clone_channel = 0;
+
+ if(!ags_type_clone_channel){
+ static const GTypeInfo ags_clone_channel_info = {
+ sizeof (AgsCloneChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_clone_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCloneChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_clone_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_clone_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_clone_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_clone_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsCloneChannel\0",
+ &ags_clone_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_clone_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_clone_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_clone_channel);
+}
+
+void
+ags_clone_channel_class_init(AgsCloneChannelClass *clone_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_clone_channel_parent_class = g_type_class_peek_parent(clone_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) clone_channel;
+
+ gobject->set_property = ags_clone_channel_set_property;
+ gobject->get_property = ags_clone_channel_get_property;
+
+ gobject->finalize = ags_clone_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_uint("audio_channel\0",
+ "assigned audio Channel\0",
+ "The audio channel this recall does output to\0",
+ 0,
+ 65536,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_CHANNEL,
+ param_spec);
+}
+
+void
+ags_clone_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_clone_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_clone_channel_connect;
+ connectable->disconnect = ags_clone_channel_disconnect;
+}
+
+void
+ags_clone_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_clone_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_clone_channel_set_ports;
+}
+
+void
+ags_clone_channel_init(AgsCloneChannel *clone_channel)
+{
+ clone_channel->audio_channel = 0;
+}
+
+void
+ags_clone_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCloneChannel *clone_channel;
+
+ clone_channel = AGS_CLONE_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ clone_channel->audio_channel = g_value_get_uint(value);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_clone_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCloneChannel *clone_channel;
+
+ clone_channel = AGS_CLONE_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ g_value_set_uint(value, clone_channel->audio_channel);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_clone_channel_finalize(GObject *gobject)
+{
+ AgsCloneChannel *clone_channel;
+
+ clone_channel = AGS_CLONE_CHANNEL(gobject);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_clone_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_clone_channel_connect(AgsConnectable *connectable)
+{
+ AgsCloneChannel *clone_channel;
+
+ ags_clone_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_clone_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_clone_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_clone_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "muted[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "muted\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+AgsCloneChannel*
+ags_clone_channel_new(AgsDevout *devout,
+ guint audio_channel)
+{
+ AgsCloneChannel *clone_channel;
+
+ clone_channel = (AgsCloneChannel *) g_object_new(AGS_TYPE_CLONE_CHANNEL,
+ "devout\0", devout,
+ "audio_channel\0", audio_channel,
+ NULL);
+
+ return(clone_channel);
+}
diff --git a/src/ags/audio/recall/ags_clone_channel.h b/src/ags/audio/recall/ags_clone_channel.h
new file mode 100644
index 0000000..a57f6d4
--- /dev/null
+++ b/src/ags/audio/recall/ags_clone_channel.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLONE_CHANNEL_H__
+#define __AGS_CLONE_CHANNEL_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall_channel.h>
+
+#define AGS_TYPE_CLONE_CHANNEL (ags_clone_channel_get_type())
+#define AGS_CLONE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLONE_CHANNEL, AgsCloneChannel))
+#define AGS_CLONE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CLONE_CHANNEL, AgsCloneChannel))
+#define AGS_IS_CLONE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CLONE_CHANNEL))
+#define AGS_IS_CLONE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CLONE_CHANNEL))
+#define AGS_CLONE_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_CLONE_CHANNEL, AgsCloneChannelClass))
+
+typedef struct _AgsCloneChannel AgsCloneChannel;
+typedef struct _AgsCloneChannelClass AgsCloneChannelClass;
+
+struct _AgsCloneChannel
+{
+ AgsRecallChannel recall_channel;
+
+ guint audio_channel;
+};
+
+struct _AgsCloneChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_clone_channel_get_type();
+
+AgsCloneChannel* ags_clone_channel_new(AgsDevout *devout,
+ guint audio_channel);
+
+#endif /*__AGS_CLONE_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_clone_channel_run.c b/src/ags/audio/recall/ags_clone_channel_run.c
new file mode 100644
index 0000000..325fd8d
--- /dev/null
+++ b/src/ags/audio/recall/ags_clone_channel_run.c
@@ -0,0 +1,327 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_clone_channel_run.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+#include <ags/audio/recall/ags_clone_channel.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_clone_channel_run_class_init(AgsCloneChannelRunClass *clone_channel_run);
+void ags_clone_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_clone_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_clone_channel_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_clone_channel_run_init(AgsCloneChannelRun *clone_channel_run);
+void ags_clone_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_clone_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_clone_channel_run_connect(AgsConnectable *connectable);
+void ags_clone_channel_run_disconnect(AgsConnectable *connectable);
+void ags_clone_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_clone_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_clone_channel_run_finalize(GObject *gobject);
+
+void ags_clone_channel_run_run_init_pre(AgsRecall *recall);
+void ags_clone_channel_run_done(AgsRecall *recall);
+void ags_clone_channel_run_remove(AgsRecall *recall);
+void ags_clone_channel_run_cancel(AgsRecall *recall);
+AgsRecall* ags_clone_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+enum{
+ PROP_0,
+};
+
+static gpointer ags_clone_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_clone_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_clone_channel_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_clone_channel_run_parent_plugin_interface;
+
+GType
+ags_clone_channel_run_get_type()
+{
+ static GType ags_type_clone_channel_run = 0;
+
+ if(!ags_type_clone_channel_run){
+ static const GTypeInfo ags_clone_channel_run_info = {
+ sizeof (AgsCloneChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_clone_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCloneChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_clone_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_clone_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_clone_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_clone_channel_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_clone_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsCloneChannelRun\0",
+ &ags_clone_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_clone_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_clone_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_clone_channel_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_clone_channel_run);
+}
+
+void
+ags_clone_channel_run_class_init(AgsCloneChannelRunClass *clone_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_clone_channel_run_parent_class = g_type_class_peek_parent(clone_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) clone_channel_run;
+
+ gobject->set_property = ags_clone_channel_run_set_property;
+ gobject->get_property = ags_clone_channel_run_get_property;
+
+ gobject->finalize = ags_clone_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) clone_channel_run;
+
+ recall->run_init_pre = ags_clone_channel_run_run_init_pre;
+ recall->done = ags_clone_channel_run_done;
+ recall->cancel = ags_clone_channel_run_cancel;
+ recall->duplicate = ags_clone_channel_run_duplicate;
+}
+
+void
+ags_clone_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_clone_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_clone_channel_run_connect;
+ connectable->disconnect = ags_clone_channel_run_disconnect;
+}
+
+void
+ags_clone_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_clone_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_clone_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_clone_channel_run_disconnect_dynamic;
+}
+
+void
+ags_clone_channel_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_clone_channel_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_clone_channel_run_init(AgsCloneChannelRun *clone_channel_run)
+{
+ AGS_RECALL(clone_channel_run)->flags |= AGS_RECALL_INPUT_ORIENTATED;
+ AGS_RECALL(clone_channel_run)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_clone_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCloneChannelRun *clone_channel_run;
+
+ clone_channel_run = AGS_CLONE_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_clone_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCloneChannelRun *clone_channel_run;
+
+ clone_channel_run = AGS_CLONE_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_clone_channel_run_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_clone_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_clone_channel_run_connect(AgsConnectable *connectable)
+{
+ AgsCloneChannelRun *clone_channel_run;
+
+ ags_clone_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_clone_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_clone_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_clone_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCloneChannel *clone_channel;
+ AgsCloneChannelRun *clone_channel_run;
+ GObject *gobject;
+
+ ags_clone_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* AgsCloneChannelRun */
+ clone_channel_run = AGS_CLONE_CHANNEL_RUN(dynamic_connectable);
+}
+
+void
+ags_clone_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCloneChannel *clone_channel;
+ AgsCloneChannelRun *clone_channel_run;
+ GObject *gobject;
+
+ ags_clone_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* AgsCloneChannelRun */
+ clone_channel_run = AGS_CLONE_CHANNEL_RUN(dynamic_connectable);
+
+ /* AgsCloneChannel */
+ clone_channel = AGS_CLONE_CHANNEL(AGS_RECALL_CHANNEL_RUN(clone_channel_run)->recall_channel);
+}
+
+void
+ags_clone_channel_run_run_init_pre(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_clone_channel_run_parent_class)->run_init_pre(recall);
+
+ /* empty */
+}
+
+void
+ags_clone_channel_run_done(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_clone_channel_run_parent_class)->done(recall);
+
+ /* empty */
+}
+
+void
+ags_clone_channel_run_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_clone_channel_run_parent_class)->cancel(recall);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_clone_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCloneChannelRun *clone_channel_run, *copy;
+
+ clone_channel_run = (AgsCloneChannelRun *) recall;
+ copy = (AgsCloneChannelRun *) AGS_RECALL_CLASS(ags_clone_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+AgsCloneChannelRun*
+ags_clone_channel_run_new()
+{
+ AgsCloneChannelRun *clone_channel_run;
+
+ clone_channel_run = (AgsCloneChannelRun *) g_object_new(AGS_TYPE_CLONE_CHANNEL_RUN,
+ NULL);
+
+ return(clone_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_clone_channel_run.h b/src/ags/audio/recall/ags_clone_channel_run.h
new file mode 100644
index 0000000..a237e8a
--- /dev/null
+++ b/src/ags/audio/recall/ags_clone_channel_run.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CLONE_CHANNEL_RUN_H__
+#define __AGS_CLONE_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#define AGS_TYPE_CLONE_CHANNEL_RUN (ags_clone_channel_run_get_type())
+#define AGS_CLONE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CLONE_CHANNEL_RUN, AgsCloneChannelRun))
+#define AGS_CLONE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CLONE_CHANNEL_RUN, AgsCloneChannelRunClass))
+#define AGS_IS_CLONE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CLONE_CHANNEL_RUN))
+#define AGS_IS_CLONE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CLONE_CHANNEL_RUN))
+#define AGS_CLONE_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CLONE_CHANNEL_RUN, AgsCloneChannelRunClass))
+
+typedef struct _AgsCloneChannelRun AgsCloneChannelRun;
+typedef struct _AgsCloneChannelRunClass AgsCloneChannelRunClass;
+
+struct _AgsCloneChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+
+struct _AgsCloneChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_clone_channel_run_get_type();
+
+AgsCloneChannelRun* ags_clone_channel_run_new();
+
+#endif /*__AGS_CLONE_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_copy_audio_signal.c b/src/ags/audio/recall/ags_copy_audio_signal.c
new file mode 100644
index 0000000..e2a45c1
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_audio_signal.c
@@ -0,0 +1,325 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_audio_signal.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/recall/ags_copy_channel.h>
+
+#include <stdlib.h>
+
+void ags_copy_audio_signal_class_init(AgsCopyAudioSignalClass *copy_audio_signal);
+void ags_copy_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_copy_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_copy_audio_signal_init(AgsCopyAudioSignal *copy_audio_signal);
+void ags_copy_audio_signal_connect(AgsConnectable *connectable);
+void ags_copy_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_copy_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_audio_signal_finalize(GObject *gobject);
+
+void ags_copy_audio_signal_run_inter(AgsRecall *recall);
+AgsRecall* ags_copy_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_copy_audio_signal
+ * @short_description: copys audio signal
+ * @title: AgsCopyAudioSignal
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_audio_signal.h
+ *
+ * The #AgsCopyAudioSignal class copys the audio signal.
+ */
+
+static gpointer ags_copy_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_copy_audio_signal_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_copy_audio_signal_parent_dynamic_connectable_interface;
+
+extern void ags_audio_signal_copy_buffer_to_buffer(signed short *destination, guint dchannels,
+ signed short *source, guint schannels, guint size)
+ __attribute__ ((hot))
+ __attribute__ ((fastcall));
+
+GType
+ags_copy_audio_signal_get_type()
+{
+ static GType ags_type_copy_audio_signal = 0;
+
+ if(!ags_type_copy_audio_signal){
+ static const GTypeInfo ags_copy_audio_signal_info = {
+ sizeof (AgsCopyAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_audio_signal_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_audio_signal = g_type_register_static(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "AgsCopyAudioSignal\0",
+ &ags_copy_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_audio_signal,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_copy_audio_signal);
+}
+
+void
+ags_copy_audio_signal_class_init(AgsCopyAudioSignalClass *copy_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_copy_audio_signal_parent_class = g_type_class_peek_parent(copy_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_audio_signal;
+
+ gobject->finalize = ags_copy_audio_signal_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) copy_audio_signal;
+
+ recall->run_inter = ags_copy_audio_signal_run_inter;
+ recall->duplicate = ags_copy_audio_signal_duplicate;
+}
+
+void
+ags_copy_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_copy_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_copy_audio_signal_connect;
+ connectable->disconnect = ags_copy_audio_signal_disconnect;
+}
+
+void
+ags_copy_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_copy_audio_signal_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_copy_audio_signal_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_copy_audio_signal_disconnect_dynamic;
+}
+
+void
+ags_copy_audio_signal_init(AgsCopyAudioSignal *copy_audio_signal)
+{
+ AGS_RECALL(copy_audio_signal)->name = "ags-copy\0";
+ AGS_RECALL(copy_audio_signal)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_audio_signal)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_audio_signal)->xml_type = "ags-copy-audio-signal\0";
+ AGS_RECALL(copy_audio_signal)->port = NULL;
+
+ AGS_RECALL(copy_audio_signal)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_copy_audio_signal_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_copy_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_copy_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_copy_audio_signal_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_copy_audio_signal_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_audio_signal_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_audio_signal_parent_class)->finalize(gobject);
+}
+
+void
+ags_copy_audio_signal_run_inter(AgsRecall *recall)
+{
+ AgsDevout *devout;
+ AgsCopyChannel *copy_channel;
+ AgsCopyAudioSignal *copy_audio_signal;
+ AgsAudioSignal *source, *destination;
+ // AgsAttack *attack;
+ GList *stream_source, *stream_destination;
+ gboolean muted;
+ GValue value = {0,};
+
+ AGS_RECALL_CLASS(ags_copy_audio_signal_parent_class)->run_inter(recall);
+
+ copy_audio_signal = AGS_COPY_AUDIO_SIGNAL(recall);
+
+ devout = AGS_DEVOUT(AGS_RECALL(copy_audio_signal)->devout);
+ source = AGS_RECALL_AUDIO_SIGNAL(copy_audio_signal)->source;
+ stream_source = source->stream_current;
+
+ if(stream_source == NULL){
+ ags_recall_done(recall);
+ return;
+ }
+
+ //FIXME:JK: attack probably needs to be removed
+ destination = AGS_RECALL_AUDIO_SIGNAL(copy_audio_signal)->destination;
+
+ if(destination == NULL){
+ g_warning("no destination\0");
+ return;
+ }
+
+ copy_channel = AGS_COPY_CHANNEL(AGS_RECALL_CHANNEL_RUN(recall->parent->parent)->recall_channel);
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(copy_channel->muted,
+ &value);
+
+ muted = g_value_get_boolean(&value);
+ g_value_unset(&value);
+
+ if(muted){
+ return;
+ }
+
+ stream_destination = destination->stream_current;
+ // attack = AGS_RECALL_AUDIO_SIGNAL(copy_audio_signal)->attack;
+
+ if(stream_destination->next == NULL){
+ ags_audio_signal_add_stream(destination);
+ }
+
+ g_message("copy\0");
+
+ //TODO:JK
+ ags_audio_signal_copy_buffer_to_buffer((signed short *) stream_destination->data, 1,
+ (signed short *) stream_source->data, 1,
+ source->buffer_size);
+
+ // if(attack->first_start != 0){
+ // ags_audio_signal_copy_buffer_to_buffer((signed short *) stream_destination->data, 1,
+ // &(((signed short *) stream_source->data)[attack->first_length]), 1,
+ // attack->first_start);
+ // }
+}
+
+AgsRecall*
+ags_copy_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCopyAudioSignal *copy;
+
+ copy = (AgsCopyAudioSignal *) AGS_RECALL_CLASS(ags_copy_audio_signal_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_copy_audio_signal_new:
+ * @destination: the destination #AgsAudioSignal
+ * @source: the source #AgsAudioSignal
+ * @devout: the #AgsDevout defaulting to
+ * @attack: the attack
+ *
+ * Creates an #AgsCopyAudioSignal
+ *
+ * Returns: a new #AgsCopyAudioSignal
+ *
+ * Since: 0.4
+ */
+AgsCopyAudioSignal*
+ags_copy_audio_signal_new(AgsAudioSignal *destination,
+ AgsAudioSignal *source,
+ AgsDevout *devout,
+ AgsAttack *attack)
+{
+ AgsCopyAudioSignal *copy_audio_signal;
+
+ copy_audio_signal = (AgsCopyAudioSignal *) g_object_new(AGS_TYPE_COPY_AUDIO_SIGNAL,
+ "destination\0", destination,
+ "source\0", source,
+ "devout\0", devout,
+ "attack\0", attack,
+ NULL);
+
+ return(copy_audio_signal);
+}
diff --git a/src/ags/audio/recall/ags_copy_audio_signal.h b/src/ags/audio/recall/ags_copy_audio_signal.h
new file mode 100644
index 0000000..ca72f06
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_audio_signal.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_AUDIO_SIGNAL_H__
+#define __AGS_COPY_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#define AGS_TYPE_COPY_AUDIO_SIGNAL (ags_copy_audio_signal_get_type())
+#define AGS_COPY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_AUDIO_SIGNAL, AgsCopyAudioSignal))
+#define AGS_COPY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_AUDIO_SIGNAL, AgsCopyAudioSignalClass))
+#define AGS_IS_COPY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_AUDIO_SIGNAL))
+#define AGS_IS_COPY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_AUDIO_SIGNAL))
+#define AGS_COPY_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_AUDIO_SIGNAL, AgsCopyAudioSignalClass))
+
+typedef struct _AgsCopyAudioSignal AgsCopyAudioSignal;
+typedef struct _AgsCopyAudioSignalClass AgsCopyAudioSignalClass;
+
+struct _AgsCopyAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+
+struct _AgsCopyAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+
+GType ags_copy_audio_signal_get_type();
+
+AgsCopyAudioSignal* ags_copy_audio_signal_new(AgsAudioSignal *destination,
+ AgsAudioSignal *source,
+ AgsDevout *devout,
+ AgsAttack *attack);
+
+#endif /*__AGS_COPY_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/recall/ags_copy_channel.c b/src/ags/audio/recall/ags_copy_channel.c
new file mode 100644
index 0000000..80eeae3
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_channel.c
@@ -0,0 +1,355 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_mutable.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_copy_channel_class_init(AgsCopyChannelClass *copy_channel);
+void ags_copy_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_copy_channel_mutable_interface_init(AgsMutableInterface *mutable);
+void ags_copy_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_copy_channel_init(AgsCopyChannel *copy_channel);
+void ags_copy_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_channel_connect(AgsConnectable *connectable);
+void ags_copy_channel_disconnect(AgsConnectable *connectable);
+void ags_copy_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_copy_channel_finalize(GObject *gobject);
+
+void ags_copy_channel_set_muted(AgsMutable *mutable, gboolean muted);
+
+/**
+ * SECTION:ags_copy_channel
+ * @short_description: copys channel
+ * @title: AgsCopyChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_channel.h
+ *
+ * The #AgsCopyChannel class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_MUTED,
+};
+
+static gpointer ags_copy_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_copy_channel_parent_connectable_interface;
+static AgsMutableInterface *ags_copy_channel_parent_mutable_interface;
+static AgsPluginInterface *ags_copy_channel_parent_plugin_interface;
+
+static const gchar *ags_copy_channel_plugin_name = "ags-copy\0";
+static const gchar *ags_copy_channel_plugin_specifier[] = {
+ "./muted[0]\0",
+};
+static const gchar *ags_copy_channel_plugin_control_port[] = {
+ "1/1\0",
+};
+
+GType
+ags_copy_channel_get_type()
+{
+ static GType ags_type_copy_channel = 0;
+
+ if(!ags_type_copy_channel){
+ static const GTypeInfo ags_copy_channel_info = {
+ sizeof (AgsCopyChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_mutable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_channel_mutable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_copy_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsCopyChannel\0",
+ &ags_copy_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_channel,
+ AGS_TYPE_MUTABLE,
+ &ags_mutable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_copy_channel);
+}
+
+void
+ags_copy_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_copy_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_copy_channel_connect;
+ connectable->disconnect = ags_copy_channel_disconnect;
+}
+
+void
+ags_copy_channel_mutable_interface_init(AgsMutableInterface *mutable)
+{
+ ags_copy_channel_parent_mutable_interface = g_type_interface_peek_parent(mutable);
+
+ mutable->set_muted = ags_copy_channel_set_muted;
+}
+
+void
+ags_copy_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_copy_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_copy_channel_set_ports;
+}
+
+void
+ags_copy_channel_class_init(AgsCopyChannelClass *copy_channel)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_copy_channel_parent_class = g_type_class_peek_parent(copy_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_channel;
+
+ gobject->set_property = ags_copy_channel_set_property;
+ gobject->get_property = ags_copy_channel_get_property;
+
+ gobject->finalize = ags_copy_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("muted\0",
+ "mute channel\0",
+ "Mute the channel\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MUTED,
+ param_spec);
+}
+
+void
+ags_copy_channel_init(AgsCopyChannel *copy_channel)
+{
+ GList *port;
+
+ AGS_RECALL(copy_channel)->name = "ags-copy\0";
+ AGS_RECALL(copy_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_channel)->xml_type = "ags-copy-channel\0";
+
+ port = NULL;
+
+ copy_channel->muted = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_copy_channel_plugin_name,
+ "specifier\0", ags_copy_channel_plugin_specifier[0],
+ "control-port\0", ags_copy_channel_plugin_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_BOOLEAN,
+ "port-value-size\0", sizeof(gboolean),
+ "port-value-length\0", 1,
+ NULL);
+ copy_channel->muted->port_value.ags_port_boolean = FALSE;
+
+ port = g_list_prepend(port, copy_channel->muted);
+
+ /* set port */
+ AGS_RECALL(copy_channel)->port = port;
+}
+
+void
+ags_copy_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyChannel *copy_channel;
+
+ copy_channel = AGS_COPY_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == copy_channel->muted){
+ return;
+ }
+
+ if(copy_channel->muted != NULL){
+ g_object_unref(G_OBJECT(copy_channel->muted));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ copy_channel->muted = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_copy_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyChannel *copy_channel;
+
+ copy_channel = AGS_COPY_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ g_value_set_object(value, copy_channel->muted);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_copy_channel_finalize(GObject *gobject)
+{
+ AgsCopyChannel *copy_channel;
+
+ copy_channel = AGS_COPY_CHANNEL(gobject);
+
+ if(copy_channel->muted != NULL){
+ g_object_unref(G_OBJECT(copy_channel->muted));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_copy_channel_connect(AgsConnectable *connectable)
+{
+ ags_copy_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_copy_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./muted[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "muted\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_copy_channel_set_muted(AgsMutable *mutable, gboolean muted)
+{
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, muted);
+
+ ags_port_safe_write(AGS_COPY_CHANNEL(mutable)->muted, &value);
+}
+
+/**
+ * ags_copy_channel_new:
+ * @destination: the destination #AgsChannel
+ * @source: the source #AgsChannel
+ *
+ * Creates an #AgsCopyChannel
+ *
+ * Returns: a new #AgsCopyChannel
+ *
+ * Since: 0.4
+ */
+AgsCopyChannel*
+ags_copy_channel_new(AgsChannel *destination,
+ AgsChannel *source)
+{
+ AgsCopyChannel *copy_channel;
+
+ copy_channel = (AgsCopyChannel *) g_object_new(AGS_TYPE_COPY_CHANNEL,
+ "destination\0", destination,
+ "channel\0", source,
+ NULL);
+
+ return(copy_channel);
+}
diff --git a/src/ags/audio/recall/ags_copy_channel.h b/src/ags/audio/recall/ags_copy_channel.h
new file mode 100644
index 0000000..0565b95
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_channel.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_CHANNEL_H__
+#define __AGS_COPY_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_COPY_CHANNEL (ags_copy_channel_get_type())
+#define AGS_COPY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_CHANNEL, AgsCopyChannel))
+#define AGS_COPY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_CHANNEL, AgsCopyChannel))
+#define AGS_IS_COPY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_CHANNEL))
+#define AGS_IS_COPY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_CHANNEL))
+#define AGS_COPY_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_CHANNEL, AgsCopyChannelClass))
+
+typedef struct _AgsCopyChannel AgsCopyChannel;
+typedef struct _AgsCopyChannelClass AgsCopyChannelClass;
+
+struct _AgsCopyChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+
+struct _AgsCopyChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_copy_channel_get_type();
+
+AgsCopyChannel* ags_copy_channel_new(AgsChannel *destination,
+ AgsChannel *source);
+
+#endif /*__AGS_COPY_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_copy_channel_run.c b/src/ags/audio/recall/ags_copy_channel_run.c
new file mode 100644
index 0000000..1880647
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_channel_run.c
@@ -0,0 +1,275 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_channel_run.h>
+#include <ags/audio/recall/ags_copy_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_copy_channel_run_class_init(AgsCopyChannelRunClass *copy_channel_run);
+void ags_copy_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_copy_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_copy_channel_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_copy_channel_run_init(AgsCopyChannelRun *copy_channel_run);
+gboolean ags_copy_channel_run_is_ready(AgsConnectable *connectable);
+void ags_copy_channel_run_connect(AgsConnectable *connectable);
+void ags_copy_channel_run_disconnect(AgsConnectable *connectable);
+void ags_copy_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_channel_run_finalize(GObject *gobject);
+
+AgsRecall* ags_copy_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_copy_channel_run
+ * @short_description: copys channel
+ * @title: AgsCopyChannelRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_channel_run.h
+ *
+ * The #AgsCopyChannelRun class copys the channel.
+ */
+
+static gpointer ags_copy_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_copy_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_copy_channel_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_copy_channel_run_parent_plugin_interface;
+
+GType
+ags_copy_channel_run_get_type()
+{
+ static GType ags_type_copy_channel_run = 0;
+
+ if(!ags_type_copy_channel_run){
+ static const GTypeInfo ags_copy_channel_run_info = {
+ sizeof (AgsCopyChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_copy_channel_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsCopyChannelRun\0",
+ &ags_copy_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_channel_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_copy_channel_run);
+}
+
+void
+ags_copy_channel_run_class_init(AgsCopyChannelRunClass *copy_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_copy_channel_run_parent_class = g_type_class_peek_parent(copy_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_channel_run;
+
+ gobject->finalize = ags_copy_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) copy_channel_run;
+}
+
+void
+ags_copy_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_copy_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->is_ready = ags_copy_channel_run_is_ready;
+ connectable->connect = ags_copy_channel_run_connect;
+ connectable->disconnect = ags_copy_channel_run_disconnect;
+}
+
+void
+ags_copy_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_copy_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_copy_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_copy_channel_run_disconnect_dynamic;
+}
+
+void
+ags_copy_channel_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_copy_channel_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_copy_channel_run_init(AgsCopyChannelRun *copy_channel_run)
+{
+ AGS_RECALL(copy_channel_run)->name = "ags-copy\0";
+ AGS_RECALL(copy_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_channel_run)->xml_type = "ags-copy-channel-run\0";
+ AGS_RECALL(copy_channel_run)->port = NULL;
+
+ AGS_RECALL(copy_channel_run)->flags |= (AGS_RECALL_OUTPUT_ORIENTATED |
+ AGS_RECALL_INPUT_ORIENTATED);
+ AGS_RECALL(copy_channel_run)->child_type = AGS_TYPE_COPY_RECYCLING;
+}
+
+gboolean
+ags_copy_channel_run_is_ready(AgsConnectable *connectable)
+{
+ AgsRecallChannelRun *recall_channel_run;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(connectable);
+
+ if(recall_channel_run->source != NULL && recall_channel_run->destination != NULL){
+ return(TRUE);
+ }
+
+ return(FALSE);
+}
+
+void
+ags_copy_channel_run_connect(AgsConnectable *connectable)
+{
+ ags_copy_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_copy_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_copy_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_copy_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_channel_run_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_channel_run_parent_class)->finalize(gobject);
+}
+
+AgsRecall*
+ags_copy_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCopyChannelRun *copy;
+
+ copy = (AgsCopyChannelRun *) AGS_RECALL_CLASS(ags_copy_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_copy_channel_run_new:
+ * @destination: the destination #AgsChannel
+ * @source: the source #AgsChannel
+ * @devout: the #AgsDevout defaulting to
+ *
+ * Creates an #AgsCopyChannelRun
+ *
+ * Returns: a new #AgsCopyChannelRun
+ *
+ * Since: 0.4
+ */
+AgsCopyChannelRun*
+ags_copy_channel_run_new(AgsChannel *destination,
+ AgsChannel *source,
+ AgsDevout *devout)
+{
+ AgsCopyChannelRun *copy_channel_run;
+
+ copy_channel_run = (AgsCopyChannelRun *) g_object_new(AGS_TYPE_COPY_CHANNEL_RUN,
+ "destination\0", destination,
+ "source\0", source,
+ "devout\0", devout,
+ NULL);
+
+ return(copy_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_copy_channel_run.h b/src/ags/audio/recall/ags_copy_channel_run.h
new file mode 100644
index 0000000..2028158
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_channel_run.h
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_CHANNEL_RUN_H__
+#define __AGS_COPY_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_COPY_CHANNEL_RUN (ags_copy_channel_run_get_type())
+#define AGS_COPY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_CHANNEL_RUN, AgsCopyChannelRun))
+#define AGS_COPY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_CHANNEL_RUN, AgsCopyChannelRunClass))
+#define AGS_IS_COPY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_COPY_CHANNEL_RUN))
+#define AGS_IS_COPY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_COPY_CHANNEL_RUN))
+#define AGS_COPY_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_COPY_CHANNEL_RUN, AgsCopyChannelRunClass))
+
+typedef struct _AgsCopyChannelRun AgsCopyChannelRun;
+typedef struct _AgsCopyChannelRunClass AgsCopyChannelRunClass;
+
+typedef enum{
+ AGS_COPY_CHANNEL_RUN_EXACT_LENGTH = 1,
+ AGS_COPY_CHANNEL_RUN_OMIT_FURTHER_ATTACK = 1 << 1,
+}AgsCopyChannelRunFlags;
+
+struct _AgsCopyChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+};
+
+struct _AgsCopyChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_copy_channel_run_get_type();
+
+AgsCopyChannelRun* ags_copy_channel_run_new(AgsChannel *destination,
+ AgsChannel *source,
+ AgsDevout *devout);
+
+#endif /*__AGS_COPY_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_copy_notation_audio.c b/src/ags/audio/recall/ags_copy_notation_audio.c
new file mode 100644
index 0000000..60fbd9f
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_notation_audio.c
@@ -0,0 +1,252 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_notation_audio.h>
+
+void ags_copy_notation_audio_class_init(AgsCopyNotationAudioClass *copy_notation_audio);
+void ags_copy_notation_audio_init(AgsCopyNotationAudio *copy_notation_audio);
+void ags_copy_notation_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_notation_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_notation_audio_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_copy_notation_audio
+ * @short_description: copy notations audio
+ * @title: AgsCopyNotationAudio
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_notation_audio.h
+ *
+ * The #AgsCopyNotationAudio class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+ PROP_NOTATION,
+ PROP_AUDIO_CHANNEL,
+};
+
+static gpointer ags_copy_notation_audio_parent_class = NULL;
+
+GType
+ags_copy_notation_audio_get_type()
+{
+ static GType ags_type_copy_notation_audio = 0;
+
+ if(!ags_type_copy_notation_audio){
+ static const GTypeInfo ags_copy_notation_audio_info = {
+ sizeof (AgsCopyNotationAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_notation_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyNotationAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_notation_audio_init,
+ };
+
+ ags_type_copy_notation_audio = g_type_register_static(AGS_TYPE_RECALL_AUDIO,
+ "AgsCopyNotationAudio\0",
+ &ags_copy_notation_audio_info,
+ 0);
+ }
+
+ return(ags_type_copy_notation_audio);
+}
+
+void
+ags_copy_notation_audio_class_init(AgsCopyNotationAudioClass *copy_notation_audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_copy_notation_audio_parent_class = g_type_class_peek_parent(copy_notation_audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_notation_audio;
+
+ gobject->set_property = ags_copy_notation_audio_set_property;
+ gobject->get_property = ags_copy_notation_audio_get_property;
+
+ gobject->finalize = ags_copy_notation_audio_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("notation\0",
+ "the assigned notation\0",
+ "The AgsNotation it is assigned to\0",
+ AGS_TYPE_NOTATION,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NOTATION,
+ param_spec);
+
+ param_spec = g_param_spec_uint("audio_channel\0",
+ "the audio channel to play\0",
+ "The audio channel to play of audio object\0",
+ 0,
+ 65535,
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_CHANNEL,
+ param_spec);
+}
+
+void
+ags_copy_notation_audio_init(AgsCopyNotationAudio *copy_notation_audio)
+{
+ copy_notation_audio->flags = 0;
+
+ copy_notation_audio->notation = NULL;
+
+ copy_notation_audio->audio_channel = 0;
+}
+
+void
+ags_copy_notation_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyNotationAudio *copy_notation_audio;
+
+ copy_notation_audio = AGS_COPY_NOTATION_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(copy_notation_audio->devout != devout)
+ return;
+
+ if(copy_notation_audio->devout != NULL)
+ g_object_unref(copy_notation_audio->devout);
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ copy_notation_audio->devout = devout;
+ }
+ break;
+ case PROP_NOTATION:
+ {
+ AgsNotation *notation;
+
+ notation = (AgsNotation *) g_value_get_object(value);
+
+ if(copy_notation_audio->notation != notation)
+ return;
+
+ if(copy_notation_audio->notation != NULL)
+ g_object_unref(copy_notation_audio->notation);
+
+ if(notation != NULL)
+ g_object_ref(notation);
+
+ copy_notation_audio->notation = notation;
+ }
+ break;
+ case PROP_AUDIO_CHANNEL:
+ {
+ guint audio_channel;
+
+ audio_channel = g_value_get_uint(value);
+
+ copy_notation_audio->audio_channel = audio_channel;
+ }
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_notation_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyNotationAudio *copy_notation_audio;
+
+ copy_notation_audio = AGS_COPY_NOTATION_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ g_value_set_object(value, copy_notation_audio->devout);
+ }
+ break;
+ case PROP_NOTATION:
+ {
+ g_value_set_object(value, copy_notation_audio->notation);
+ }
+ break;
+ case PROP_AUDIO_CHANNEL:
+ {
+ g_value_set_uint(value, copy_notation_audio->audio_channel);
+ }
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_notation_audio_finalize(GObject *gobject)
+{
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_notation_audio_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_copy_notation_audio_new:
+ * @audio: the #AgsAudio
+ * @notation: the notation
+ * @audio_channel: the audio channel to use
+ *
+ * Creates an #AgsCopyNotationAudio
+ *
+ * Returns: a new #AgsCopyNotationAudio
+ *
+ * Since: 0.4
+ */
+AgsCopyNotationAudio*
+ags_copy_notation_audio_new(AgsDevout *devout,
+ AgsNotation *notation,
+ guint audio_channel)
+{
+ AgsCopyNotationAudio *copy_notation_audio;
+
+ copy_notation_audio = (AgsCopyNotationAudio *) g_object_new(AGS_TYPE_COPY_NOTATION_AUDIO,
+ "devout\0", devout,
+ "notation\0", notation,
+ "audio_channel\0", audio_channel,
+ NULL);
+
+ return(copy_notation_audio);
+}
diff --git a/src/ags/audio/recall/ags_copy_notation_audio.h b/src/ags/audio/recall/ags_copy_notation_audio.h
new file mode 100644
index 0000000..6bdcb96
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_notation_audio.h
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_NOTATION_AUDIO_H__
+#define __AGS_COPY_NOTATION_AUDIO_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_COPY_NOTATION_AUDIO (ags_copy_notation_audio_get_type())
+#define AGS_COPY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_NOTATION_AUDIO, AgsCopyNotationAudio))
+#define AGS_COPY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_NOTATION_AUDIO, AgsCopyNotationAudio))
+#define AGS_IS_COPY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_NOTATION_AUDIO))
+#define AGS_IS_COPY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_NOTATION_AUDIO))
+#define AGS_COPY_NOTATION_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_NOTATION_AUDIO, AgsCopyNotationAudioClass))
+
+typedef struct _AgsCopyNotationAudio AgsCopyNotationAudio;
+typedef struct _AgsCopyNotationAudioClass AgsCopyNotationAudioClass;
+
+typedef enum{
+ AGS_COPY_NOTATION_AUDIO_FIT_AUDIO_SIGNAL = 1,
+}AgsCopyNotationAudioFlags;
+
+struct _AgsCopyNotationAudio
+{
+ AgsRecallAudio recall_audio;
+
+ guint flags;
+
+ AgsDevout *devout;
+
+ AgsNotation *notation;
+ guint audio_channel;
+};
+
+struct _AgsCopyNotationAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+
+GType ags_copy_notation_audio_get_type();
+
+AgsCopyNotationAudio* ags_copy_notation_audio_new(AgsDevout *devout,
+ AgsNotation *notation,
+ guint audio_channel);
+
+#endif /*__AGS_COPY_NOTATION_AUDIO_H__*/
diff --git a/src/ags/audio/recall/ags_copy_notation_audio_run.c b/src/ags/audio/recall/ags_copy_notation_audio_run.c
new file mode 100644
index 0000000..f786a27
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_notation_audio_run.c
@@ -0,0 +1,481 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_notation_audio_run.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_copy_notation_audio.h>
+
+void ags_copy_notation_audio_run_class_init(AgsCopyNotationAudioRunClass *copy_notation_audio_run);
+void ags_copy_notation_audio_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_copy_notation_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_copy_notation_audio_run_init(AgsCopyNotationAudioRun *copy_notation_audio_run);
+void ags_copy_notation_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_notation_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_notation_audio_run_connect(AgsConnectable *connectable);
+void ags_copy_notation_audio_run_disconnect(AgsConnectable *connectable);
+void ags_copy_notation_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_notation_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_notation_audio_run_finalize(GObject *gobject);
+
+void ags_copy_notation_audio_run_resolve_dependencies(AgsRecall *recall);
+AgsRecall* ags_copy_notation_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+void ags_copy_notation_audio_run_run_init_pre(AgsRecall *recall);
+
+void ags_copy_notation_audio_run_tic_alloc_input_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order,
+ AgsCopyNotationAudioRun *copy_notation_audio_run);
+
+/**
+ * SECTION:ags_copy_notation_audio_run
+ * @short_description: copy notations
+ * @title: AgsCopyNotationAudioRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_notation_audio_run.h
+ *
+ * The #AgsCopyNotationAudioRun class copy notations.
+ */
+
+enum{
+ PROP_0,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+};
+
+static gpointer ags_copy_notation_audio_run_parent_class = NULL;
+static AgsConnectableInterface* ags_copy_notation_audio_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_copy_notation_audio_run_parent_dynamic_connectable_interface;
+
+GType
+ags_copy_notation_audio_run_get_type()
+{
+ static GType ags_type_copy_notation_audio_run = 0;
+
+ if(!ags_type_copy_notation_audio_run){
+ static const GTypeInfo ags_copy_notation_audio_run_info = {
+ sizeof (AgsCopyNotationAudioRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_notation_audio_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyNotationAudioRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_notation_audio_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_notation_audio_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_notation_audio_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_notation_audio_run = g_type_register_static(AGS_TYPE_RECALL_AUDIO_RUN,
+ "AgsCopyNotationAudioRun\0",
+ &ags_copy_notation_audio_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_notation_audio_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_notation_audio_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_copy_notation_audio_run);
+}
+
+void
+ags_copy_notation_audio_run_class_init(AgsCopyNotationAudioRunClass *copy_notation_audio_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_copy_notation_audio_run_parent_class = g_type_class_peek_parent(copy_notation_audio_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_notation_audio_run;
+
+ gobject->set_property = ags_copy_notation_audio_run_set_property;
+ gobject->get_property = ags_copy_notation_audio_run_get_property;
+
+ gobject->finalize = ags_copy_notation_audio_run_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("count_beats_audio_run\0",
+ "assigned AgsCountBeatsAudioRun\0",
+ "The AgsCountBeatsAudioRun which emits beat signal\0",
+ AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) copy_notation_audio_run;
+
+ recall->resolve_dependencies = ags_copy_notation_audio_run_resolve_dependencies;
+ recall->duplicate = ags_copy_notation_audio_run_duplicate;
+ recall->run_init_pre = ags_copy_notation_audio_run_run_init_pre;
+}
+
+void
+ags_copy_notation_audio_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_copy_notation_audio_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_copy_notation_audio_run_connect;
+ connectable->disconnect = ags_copy_notation_audio_run_disconnect;
+}
+
+void
+ags_copy_notation_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_copy_notation_audio_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_copy_notation_audio_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_copy_notation_audio_run_disconnect_dynamic;
+}
+
+void
+ags_copy_notation_audio_run_init(AgsCopyNotationAudioRun *copy_notation_audio_run)
+{
+ copy_notation_audio_run->count_beats_audio_run = NULL;
+
+ copy_notation_audio_run->current_note = NULL;
+}
+
+void
+ags_copy_notation_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+
+ copy_notation_audio_run = AGS_COPY_NOTATION_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ gboolean is_template;
+
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) g_value_get_object(value);
+
+ if(copy_notation_audio_run->count_beats_audio_run == count_beats_audio_run)
+ return;
+
+ if(count_beats_audio_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(count_beats_audio_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(copy_notation_audio_run->count_beats_audio_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(copy_notation_audio_run),
+ (AgsRecall *) copy_notation_audio_run->count_beats_audio_run);
+ }
+
+ g_object_unref(G_OBJECT(copy_notation_audio_run->count_beats_audio_run));
+ }
+
+ if(count_beats_audio_run != NULL){
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(copy_notation_audio_run),
+ ags_recall_dependency_new((GObject *) count_beats_audio_run));
+ }
+ }
+
+ copy_notation_audio_run->count_beats_audio_run = count_beats_audio_run;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_notation_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+
+ copy_notation_audio_run = AGS_COPY_NOTATION_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ g_value_set_object(value, copy_notation_audio_run->count_beats_audio_run);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_notation_audio_run_finalize(GObject *gobject)
+{
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+
+ copy_notation_audio_run = AGS_COPY_NOTATION_AUDIO_RUN(gobject);
+
+ if(copy_notation_audio_run->count_beats_audio_run != NULL)
+ g_object_unref(copy_notation_audio_run->count_beats_audio_run);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_notation_audio_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_copy_notation_audio_run_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_copy_notation_audio_run_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_copy_notation_audio_run_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_copy_notation_audio_run_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_copy_notation_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+ AgsDelayAudioRun *delay_audio_run;
+
+ copy_notation_audio_run = AGS_COPY_NOTATION_AUDIO_RUN(dynamic_connectable);
+
+ /* call parent */
+ ags_copy_notation_audio_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* connect tic_alloc in AgsDelayAudioRun */
+ delay_audio_run = copy_notation_audio_run->count_beats_audio_run->delay_audio_run;
+
+ g_object_ref(G_OBJECT(delay_audio_run));
+ copy_notation_audio_run->tic_alloc_input_handler =
+ g_signal_connect(G_OBJECT(delay_audio_run), "tic_alloc_input\0",
+ G_CALLBACK(ags_copy_notation_audio_run_tic_alloc_input_callback), copy_notation_audio_run);
+}
+
+void
+ags_copy_notation_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+ AgsDelayAudioRun *delay_audio_run;
+
+ copy_notation_audio_run = AGS_COPY_NOTATION_AUDIO_RUN(dynamic_connectable);
+
+ /* call parent */
+ ags_copy_notation_audio_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* disconnect tic_alloc in AgsDelayAudioRun */
+ delay_audio_run = copy_notation_audio_run->count_beats_audio_run->delay_audio_run;
+
+ g_signal_handler_disconnect(G_OBJECT(delay_audio_run),
+ copy_notation_audio_run->tic_alloc_input_handler);
+ g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+void
+ags_copy_notation_audio_run_resolve_dependencies(AgsRecall *recall)
+{
+ AgsRecall *template;
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+ AgsRecallDependency *recall_dependency;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ GList *list;
+ AgsRecallID *recall_id;
+ guint i, i_stop;
+
+ copy_notation_audio_run = AGS_COPY_NOTATION_AUDIO_RUN(recall);
+
+ template = AGS_RECALL(ags_recall_find_template(AGS_RECALL_CONTAINER(recall->container)->recall_audio_run)->data);
+
+ list = template->dependencies;
+ recall_id = recall->recall_id;
+
+ count_beats_audio_run = NULL;
+ i_stop = 1;
+
+ for(i = 0; i < i_stop && list != NULL;){
+ recall_dependency = AGS_RECALL_DEPENDENCY(list->data);
+
+ if(AGS_IS_COUNT_BEATS_AUDIO_RUN(recall_dependency->dependency)){
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) ags_recall_dependency_resolve(recall_dependency, recall_id);
+
+ i++;
+ }
+
+ list = list->next;
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "count_beats_audio_run\0", count_beats_audio_run,
+ NULL);
+}
+
+AgsRecall*
+ags_copy_notation_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCopyNotationAudioRun *copy;
+
+ copy = AGS_COPY_NOTATION_AUDIO_RUN(AGS_RECALL_CLASS(ags_copy_notation_audio_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_copy_notation_audio_run_run_init_pre(AgsRecall *recall)
+{
+ AgsCopyNotationAudio *copy_notation_audio;
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+
+ copy_notation_audio_run = AGS_COPY_NOTATION_AUDIO_RUN(recall);
+ copy_notation_audio = AGS_COPY_NOTATION_AUDIO(AGS_RECALL_AUDIO_RUN(copy_notation_audio_run)->recall_audio);
+
+ copy_notation_audio_run->current_note = copy_notation_audio->notation->notes;
+}
+
+void
+ags_copy_notation_audio_run_tic_alloc_input_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order,
+ AgsCopyNotationAudioRun *copy_notation_audio_run)
+{
+ AgsAudio *audio;
+ AgsChannel *input, *current_input;
+ AgsCopyNotationAudio *copy_notation_audio;
+
+ copy_notation_audio = AGS_COPY_NOTATION_AUDIO(AGS_RECALL_AUDIO_RUN(copy_notation_audio_run)->recall_audio);
+ audio = AGS_RECALL_AUDIO(copy_notation_audio)->audio;
+
+ input = ags_channel_nth(audio->input, copy_notation_audio->audio_channel);
+
+ if(input != NULL){
+ AgsRecycling *recycling, *last_recycling;
+ AgsAudioSignal *audio_signal;
+ AgsNote *note;
+ GList *note_list;
+ guint offset;
+ guint length;
+
+ note_list = copy_notation_audio_run->current_note;
+ offset = copy_notation_audio_run->count_beats_audio_run->notation_counter;
+
+ while(note_list != NULL &&
+ (note = AGS_NOTE(note_list->data))->x[0] == offset){
+ current_input = ags_channel_nth(input, note->y);
+
+ if(current_input != NULL){
+ recycling = current_input->first_recycling;
+
+ if(recycling == NULL){
+ note_list = note_list->next;
+ continue;
+ }
+
+ last_recycling = current_input->last_recycling;
+
+ if((AGS_COPY_NOTATION_AUDIO_FIT_AUDIO_SIGNAL & (copy_notation_audio->flags)) != 0){
+ length = note->x[1] - note->x[0];
+ }
+
+ while(recycling != last_recycling->next){
+ if((AGS_COPY_NOTATION_AUDIO_FIT_AUDIO_SIGNAL & (copy_notation_audio->flags)) != 0){
+ audio_signal = ags_audio_signal_new_with_length((GObject *) copy_notation_audio->devout,
+ (GObject *) recycling,
+ (GObject *) AGS_RECALL(copy_notation_audio_run)->recall_id,
+ length);
+ }else{
+ audio_signal = ags_audio_signal_new((GObject *) copy_notation_audio->devout,
+ (GObject *) recycling,
+ (GObject *) AGS_RECALL(copy_notation_audio_run)->recall_id);
+ }
+
+ ags_audio_signal_connect(audio_signal);
+
+ ags_recycling_add_audio_signal(recycling,
+ audio_signal);
+
+ recycling = recycling->next;
+ }
+ }
+
+ note_list = note_list->next;
+ }
+
+ copy_notation_audio_run->current_note = note_list;
+ }
+}
+
+/**
+ * ags_copy_notation_audio_run_new:
+ *
+ * Creates an #AgsCopyNotationAudioRun
+ *
+ * Returns: a new #AgsCopyNotationAudioRun
+ *
+ * Since: 0.4
+ */
+AgsCopyNotationAudioRun*
+ags_copy_notation_audio_run_new(AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AgsCopyNotationAudioRun *copy_notation_audio_run;
+
+ copy_notation_audio_run = (AgsCopyNotationAudioRun *) g_object_new(AGS_TYPE_COPY_NOTATION_AUDIO_RUN,
+ "count_beats_audio_run\0", count_beats_audio_run,
+ NULL);
+
+ return(copy_notation_audio_run);
+}
diff --git a/src/ags/audio/recall/ags_copy_notation_audio_run.h b/src/ags/audio/recall/ags_copy_notation_audio_run.h
new file mode 100644
index 0000000..bae245f
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_notation_audio_run.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_NOTATION_AUDIO_RUN_H__
+#define __AGS_COPY_NOTATION_AUDIO_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_run.h>
+
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+
+#define AGS_TYPE_COPY_NOTATION_AUDIO_RUN (ags_copy_notation_audio_run_get_type())
+#define AGS_COPY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_NOTATION_AUDIO_RUN, AgsCopyNotationAudioRun))
+#define AGS_COPY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_NOTATION_AUDIO_RUN, AgsCopyNotationAudioRun))
+#define AGS_IS_COPY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_NOTATION_AUDIO_RUN))
+#define AGS_IS_COPY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_NOTATION_AUDIO_RUN))
+#define AGS_COPY_NOTATION_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_NOTATION_AUDIO_RUN, AgsCopyNotationAudioRunClass))
+
+typedef struct _AgsCopyNotationAudioRun AgsCopyNotationAudioRun;
+typedef struct _AgsCopyNotationAudioRunClass AgsCopyNotationAudioRunClass;
+
+struct _AgsCopyNotationAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ gulong tic_alloc_input_handler;
+
+ GList *current_note;
+};
+
+struct _AgsCopyNotationAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+};
+
+GType ags_copy_notation_audio_run_get_type();
+
+AgsCopyNotationAudioRun* ags_copy_notation_audio_run_new(AgsCountBeatsAudioRun *count_beats_audio_run);
+
+#endif /*__AGS_COPY_NOTATION_AUDIO_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_copy_pattern_audio.c b/src/ags/audio/recall/ags_copy_pattern_audio.c
new file mode 100644
index 0000000..6effb64
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_audio.c
@@ -0,0 +1,337 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+void ags_copy_pattern_audio_class_init(AgsCopyPatternAudioClass *copy_pattern_audio);
+void ags_copy_pattern_audio_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_copy_pattern_audio_init(AgsCopyPatternAudio *copy_pattern_audio);
+void ags_copy_pattern_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_pattern_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_pattern_audio_set_ports(AgsPlugin *plugin, GList *port);
+void ags_copy_pattern_audio_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_copy_pattern_audio
+ * @short_description: copy audio pattern
+ * @title: AgsCopyPatternAudio
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_pattern_audio.h
+ *
+ * The #AgsCopyPatternAudio class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_BANK_INDEX_0,
+ PROP_BANK_INDEX_1,
+};
+
+static gpointer ags_copy_pattern_audio_parent_class = NULL;
+
+static const gchar *ags_copy_pattern_audio_plugin_name = "ags-copy-pattern\0";
+static const gchar *ags_copy_pattern_audio_specifier[] = {
+ "./bank-index-0[0]\0",
+ "./bank-index-1[0]\0"
+};
+static const gchar *ags_copy_pattern_audio_control_port[] = {
+ "1/2\0",
+ "2/2\0"
+};
+
+GType
+ags_copy_pattern_audio_get_type()
+{
+ static GType ags_type_copy_pattern_audio = 0;
+
+ if(!ags_type_copy_pattern_audio){
+ static const GTypeInfo ags_copy_pattern_audio_info = {
+ sizeof (AgsCopyPatternAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_pattern_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyPatternAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_pattern_audio_init,
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_audio_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_pattern_audio = g_type_register_static(AGS_TYPE_RECALL_AUDIO,
+ "AgsCopyPatternAudio\0",
+ &ags_copy_pattern_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_pattern_audio,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_copy_pattern_audio);
+}
+
+void
+ags_copy_pattern_audio_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->set_ports = ags_copy_pattern_audio_set_ports;
+}
+
+void
+ags_copy_pattern_audio_class_init(AgsCopyPatternAudioClass *copy_pattern_audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_copy_pattern_audio_parent_class = g_type_class_peek_parent(copy_pattern_audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_pattern_audio;
+
+ gobject->set_property = ags_copy_pattern_audio_set_property;
+ gobject->get_property = ags_copy_pattern_audio_get_property;
+
+ gobject->finalize = ags_copy_pattern_audio_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("bank-index-0\0",
+ "current bank index 0\0",
+ "The current bank index 0 of the AgsPattern\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BANK_INDEX_0,
+ param_spec);
+
+ param_spec = g_param_spec_object("bank-index-1\0",
+ "current bank index 1\0",
+ "The current bank index 1 of the AgsPattern\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BANK_INDEX_1,
+ param_spec);
+}
+
+void
+ags_copy_pattern_audio_init(AgsCopyPatternAudio *copy_pattern_audio)
+{
+ GList *port;
+
+ AGS_RECALL(copy_pattern_audio)->name = "ags-copy-pattern\0";
+ AGS_RECALL(copy_pattern_audio)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_pattern_audio)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_pattern_audio)->xml_type = "ags-copy-pattern-audio\0";
+
+ port = NULL;
+
+ copy_pattern_audio->bank_index_0 = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_copy_pattern_audio_plugin_name,
+ "specifier\0", ags_copy_pattern_audio_specifier[0],
+ "control-port\0", ags_copy_pattern_audio_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_UINT64,
+ "port-value-size\0", sizeof(guint),
+ "port-value-length\0", 1,
+ NULL);
+ copy_pattern_audio->bank_index_0->port_value.ags_port_uint = 0;
+
+ port = g_list_prepend(port, copy_pattern_audio->bank_index_0);
+
+ copy_pattern_audio->bank_index_1 = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_copy_pattern_audio_plugin_name,
+ "specifier\0", ags_copy_pattern_audio_specifier[1],
+ "control-port\0", ags_copy_pattern_audio_control_port[1],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_UINT64,
+ "port-value-size\0", sizeof(guint),
+ "port-value-length\0", 1,
+ NULL);
+ copy_pattern_audio->bank_index_1->port_value.ags_port_uint = 0;
+
+ port = g_list_prepend(port, copy_pattern_audio->bank_index_1);
+
+ AGS_RECALL(copy_pattern_audio)->port = port;
+}
+
+void
+ags_copy_pattern_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyPatternAudio *copy_pattern_audio;
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_BANK_INDEX_0:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == copy_pattern_audio->bank_index_0){
+ return;
+ }
+
+ if(copy_pattern_audio->bank_index_0 != NULL){
+ g_object_unref(G_OBJECT(copy_pattern_audio->bank_index_0));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ copy_pattern_audio->bank_index_0 = port;
+ }
+ break;
+ case PROP_BANK_INDEX_1:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == copy_pattern_audio->bank_index_1){
+ return;
+ }
+
+ if(copy_pattern_audio->bank_index_1 != NULL){
+ g_object_unref(G_OBJECT(copy_pattern_audio->bank_index_1));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ copy_pattern_audio->bank_index_1 = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_pattern_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyPatternAudio *copy_pattern_audio;
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_BANK_INDEX_0:
+ {
+ g_value_set_object(value, copy_pattern_audio->bank_index_0);
+ }
+ break;
+ case PROP_BANK_INDEX_1:
+ {
+ g_value_set_object(value, copy_pattern_audio->bank_index_1);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_pattern_audio_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./bank-index-0[0]\0",
+ 16)){
+ g_object_set(G_OBJECT(plugin),
+ "bank-index-0\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./bank-index-1[0]\0",
+ 16)){
+ g_object_set(G_OBJECT(plugin),
+ "bank-index-1\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_copy_pattern_audio_finalize(GObject *gobject)
+{
+ AgsCopyPatternAudio *copy_pattern_audio;
+
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(gobject);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_pattern_audio_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_copy_pattern_audio_new:
+ * @devout: the #AgsDevout defaulting to
+ * @tact: the offset
+ * @i: bank index 0
+ * @j: bank index 1
+ *
+ * Creates an #AgsCopyPatternAudio
+ *
+ * Returns: a new #AgsCopyPatternAudio
+ *
+ * Since: 0.4
+ */
+AgsCopyPatternAudio*
+ags_copy_pattern_audio_new(AgsDevout *devout,
+ gdouble tact,
+ guint i, guint j)
+{
+ AgsCopyPatternAudio *copy_pattern_audio;
+
+ copy_pattern_audio = (AgsCopyPatternAudio *) g_object_new(AGS_TYPE_COPY_PATTERN_AUDIO,
+ "devout\0", devout,
+ "tact\0", tact,
+ "bank_index_0\0", i,
+ "bank_index_1\0", j,
+ NULL);
+
+ return(copy_pattern_audio);
+}
diff --git a/src/ags/audio/recall/ags_copy_pattern_audio.h b/src/ags/audio/recall/ags_copy_pattern_audio.h
new file mode 100644
index 0000000..65a9328
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_audio.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_PATTERN_AUDIO_H__
+#define __AGS_COPY_PATTERN_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_COPY_PATTERN_AUDIO (ags_copy_pattern_audio_get_type())
+#define AGS_COPY_PATTERN_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_AUDIO, AgsCopyPatternAudio))
+#define AGS_COPY_PATTERN_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_AUDIO, AgsCopyPatternAudio))
+#define AGS_IS_COPY_PATTERN_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_AUDIO))
+#define AGS_IS_COPY_PATTERN_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_AUDIO))
+#define AGS_COPY_PATTERN_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_AUDIO, AgsCopyPatternAudioClass))
+
+typedef struct _AgsCopyPatternAudio AgsCopyPatternAudio;
+typedef struct _AgsCopyPatternAudioClass AgsCopyPatternAudioClass;
+
+struct _AgsCopyPatternAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *bank_index_0;
+ AgsPort *bank_index_1;
+};
+
+struct _AgsCopyPatternAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+
+GType ags_copy_pattern_audio_get_type();
+
+AgsCopyPatternAudio* ags_copy_pattern_audio_new(AgsDevout *devout,
+ gdouble tact,
+ guint i, guint j);
+
+#endif /*__AGS_COPY_PATTERN_AUDIO_H__*/
diff --git a/src/ags/audio/recall/ags_copy_pattern_audio_run.c b/src/ags/audio/recall/ags_copy_pattern_audio_run.c
new file mode 100644
index 0000000..0d861e9
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_audio_run.c
@@ -0,0 +1,653 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+void ags_copy_pattern_audio_run_class_init(AgsCopyPatternAudioRunClass *copy_pattern_audio_run);
+void ags_copy_pattern_audio_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_copy_pattern_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_copy_pattern_audio_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_copy_pattern_audio_run_init(AgsCopyPatternAudioRun *copy_pattern_audio_run);
+void ags_copy_pattern_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_pattern_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_pattern_audio_run_finalize(GObject *gobject);
+void ags_copy_pattern_audio_run_connect(AgsConnectable *connectable);
+void ags_copy_pattern_audio_run_disconnect(AgsConnectable *connectable);
+void ags_copy_pattern_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_pattern_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_pattern_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_copy_pattern_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_copy_pattern_audio_run_resolve_dependencies(AgsRecall *recall);
+AgsRecall* ags_copy_pattern_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+void ags_copy_pattern_audio_run_notify_dependency(AgsRecall *recall, guint notify_mode, gint count);
+
+void ags_copy_pattern_audio_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+void ags_copy_pattern_audio_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+
+/**
+ * SECTION:ags_copy_pattern_audio_run
+ * @short_description: copy pattern
+ * @title: AgsCopyPatternAudioRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_pattern_audio_run.h
+ *
+ * The #AgsCopyPatternAudioRun class copy pattern.
+ */
+
+enum{
+ PROP_0,
+ PROP_DELAY_AUDIO_RUN,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+};
+
+static gpointer ags_copy_pattern_audio_run_parent_class = NULL;
+static AgsConnectableInterface* ags_copy_pattern_audio_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_copy_pattern_audio_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_copy_pattern_audio_run_parent_plugin_interface;
+
+GType
+ags_copy_pattern_audio_run_get_type()
+{
+ static GType ags_type_copy_pattern_audio_run = 0;
+
+ if(!ags_type_copy_pattern_audio_run){
+ static const GTypeInfo ags_copy_pattern_audio_run_info = {
+ sizeof (AgsCopyPatternAudioRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_pattern_audio_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyPatternAudioRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_pattern_audio_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_audio_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_audio_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_audio_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_pattern_audio_run = g_type_register_static(AGS_TYPE_RECALL_AUDIO_RUN,
+ "AgsCopyPatternAudioRun\0",
+ &ags_copy_pattern_audio_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_pattern_audio_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_pattern_audio_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_pattern_audio_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_copy_pattern_audio_run);
+}
+
+void
+ags_copy_pattern_audio_run_class_init(AgsCopyPatternAudioRunClass *copy_pattern_audio_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_copy_pattern_audio_run_parent_class = g_type_class_peek_parent(copy_pattern_audio_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_pattern_audio_run;
+
+ gobject->set_property = ags_copy_pattern_audio_run_set_property;
+ gobject->get_property = ags_copy_pattern_audio_run_get_property;
+
+ gobject->finalize = ags_copy_pattern_audio_run_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("delay-audio-run\0",
+ "assigned AgsDelayAudioRun\0",
+ "the AgsDelayAudioRun which emits alloc signal\0",
+ AGS_TYPE_DELAY_AUDIO_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DELAY_AUDIO_RUN,
+ param_spec);
+
+ param_spec = g_param_spec_object("count-beats-audio-run\0",
+ "assigned AgsCountBeatsAudioRun\0",
+ "the AgsCountBeatsAudioRun which emits beat signal\0",
+ AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) copy_pattern_audio_run;
+
+ recall->resolve_dependencies = ags_copy_pattern_audio_run_resolve_dependencies;
+ recall->duplicate = ags_copy_pattern_audio_run_duplicate;
+ recall->notify_dependency = ags_copy_pattern_audio_run_notify_dependency;
+}
+
+void
+ags_copy_pattern_audio_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_copy_pattern_audio_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_copy_pattern_audio_run_connect;
+ connectable->disconnect = ags_copy_pattern_audio_run_disconnect;
+}
+
+void
+ags_copy_pattern_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_copy_pattern_audio_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_copy_pattern_audio_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_copy_pattern_audio_run_disconnect_dynamic;
+}
+
+void
+ags_copy_pattern_audio_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_copy_pattern_audio_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->read = ags_copy_pattern_audio_run_read;
+ plugin->write = ags_copy_pattern_audio_run_write;
+}
+
+void
+ags_copy_pattern_audio_run_init(AgsCopyPatternAudioRun *copy_pattern_audio_run)
+{
+ AGS_RECALL(copy_pattern_audio_run)->name = "ags-copy-pattern\0";
+ AGS_RECALL(copy_pattern_audio_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_pattern_audio_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_pattern_audio_run)->xml_type = "ags-copy-pattern-audio-run\0";
+ AGS_RECALL(copy_pattern_audio_run)->port = NULL;
+
+ copy_pattern_audio_run->hide_ref = 0;
+ copy_pattern_audio_run->hide_ref_counter = 0;
+
+ copy_pattern_audio_run->delay_audio_run = NULL;
+ copy_pattern_audio_run->count_beats_audio_run = NULL;
+}
+
+void
+ags_copy_pattern_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO_RUN:
+ {
+ AgsCountBeatsAudioRun *delay_audio_run;
+ gboolean is_template;
+
+ delay_audio_run = (AgsCountBeatsAudioRun *) g_value_get_object(value);
+
+ if(copy_pattern_audio_run->delay_audio_run == delay_audio_run)
+ return;
+
+ if(delay_audio_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(delay_audio_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(copy_pattern_audio_run->delay_audio_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(copy_pattern_audio_run),
+ (AgsRecall *) copy_pattern_audio_run->delay_audio_run);
+ }
+
+ g_object_unref(G_OBJECT(copy_pattern_audio_run->delay_audio_run));
+ }
+
+ if(delay_audio_run != NULL){
+ g_object_ref(G_OBJECT(delay_audio_run));
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(copy_pattern_audio_run),
+ ags_recall_dependency_new((GObject *) delay_audio_run));
+ }
+ }
+
+ copy_pattern_audio_run->delay_audio_run = delay_audio_run;
+ }
+ break;
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ gboolean is_template;
+
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) g_value_get_object(value);
+
+ if(copy_pattern_audio_run->count_beats_audio_run == count_beats_audio_run)
+ return;
+
+ if(count_beats_audio_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(count_beats_audio_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(copy_pattern_audio_run->count_beats_audio_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(copy_pattern_audio_run),
+ (AgsRecall *) copy_pattern_audio_run->count_beats_audio_run);
+ }
+
+ g_object_unref(G_OBJECT(copy_pattern_audio_run->count_beats_audio_run));
+ }
+
+ if(count_beats_audio_run != NULL){
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(copy_pattern_audio_run),
+ ags_recall_dependency_new((GObject *) count_beats_audio_run));
+ }
+ }
+
+ copy_pattern_audio_run->count_beats_audio_run = count_beats_audio_run;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_pattern_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO_RUN:
+ {
+ g_value_set_object(value, copy_pattern_audio_run->delay_audio_run);
+ }
+ break;
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ g_value_set_object(value, copy_pattern_audio_run->count_beats_audio_run);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_pattern_audio_run_finalize(GObject *gobject)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(gobject);
+
+ if(copy_pattern_audio_run->delay_audio_run != NULL)
+ g_object_unref(copy_pattern_audio_run->delay_audio_run);
+
+ if(copy_pattern_audio_run->count_beats_audio_run != NULL)
+ g_object_unref(copy_pattern_audio_run->count_beats_audio_run);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_pattern_audio_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_copy_pattern_audio_run_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_copy_pattern_audio_run_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_copy_pattern_audio_run_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_copy_pattern_audio_run_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_copy_pattern_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_copy_pattern_audio_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_copy_pattern_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_copy_pattern_audio_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_copy_pattern_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *iter;
+
+ /* read parent */
+ ags_copy_pattern_audio_run_parent_plugin_interface->read(file, node, plugin);
+
+ /* read depenendency */
+ iter = node->children;
+
+ while(iter != NULL){
+ if(iter->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(iter->name,
+ "ags-dependency-list\0",
+ 19)){
+ xmlNode *dependency_node;
+
+ dependency_node = iter->children;
+
+ while(dependency_node != NULL){
+ if(dependency_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(dependency_node->name,
+ "ags-dependency\0",
+ 15)){
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", G_OBJECT(plugin),
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_copy_pattern_audio_run_read_resolve_dependency), AGS_RECALL(plugin));
+ }
+ }
+
+ dependency_node = dependency_node->next;
+ }
+ }
+ }
+
+ iter = iter->next;
+ }
+}
+
+xmlNode*
+ags_copy_pattern_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ xmlNode *dependency_node;
+ GList *list;
+ gchar *id;
+
+ /* write parent */
+ node = ags_copy_pattern_audio_run_parent_plugin_interface->write(file, parent, plugin);
+
+ /* write dependencies */
+ child = xmlNewNode(NULL,
+ "ags-dependency-list\0");
+
+ xmlNewProp(child,
+ AGS_FILE_ID_PROP,
+ ags_id_generator_create_uuid());
+
+ xmlAddChild(node,
+ child);
+
+ list = AGS_RECALL(plugin)->dependencies;
+
+ while(list != NULL){
+ id = ags_id_generator_create_uuid();
+
+ dependency_node = xmlNewNode(NULL,
+ "ags-dependency\0");
+
+ xmlNewProp(dependency_node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ xmlAddChild(child,
+ dependency_node);
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", list->data,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_copy_pattern_audio_run_write_resolve_dependency), AGS_RECALL(plugin));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+AgsRecall*
+ags_copy_pattern_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCopyPatternAudioRun *copy;
+
+ copy = AGS_COPY_PATTERN_AUDIO_RUN(AGS_RECALL_CLASS(ags_copy_pattern_audio_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_copy_pattern_audio_run_notify_dependency(AgsRecall *recall, guint notify_mode, gint count)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(recall);
+
+ switch(notify_mode){
+ case AGS_RECALL_NOTIFY_RUN:
+ break;
+ case AGS_RECALL_NOTIFY_AUDIO:
+ break;
+ case AGS_RECALL_NOTIFY_AUDIO_RUN:
+ break;
+ case AGS_RECALL_NOTIFY_CHANNEL:
+ break;
+ case AGS_RECALL_NOTIFY_CHANNEL_RUN:
+ copy_pattern_audio_run->hide_ref += count;
+ g_message("copy_pattern_audio_run->hide_ref: %u\n\0", copy_pattern_audio_run->hide_ref);
+ break;
+ default:
+ g_message("ags_copy_pattern_audio_run.c - ags_copy_pattern_audio_run_notify: unknown notify\0");
+ }
+}
+
+void
+ags_copy_pattern_audio_run_resolve_dependencies(AgsRecall *recall)
+{
+ AgsRecall *template;
+ AgsRecallContainer *recall_container;
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+ AgsRecallDependency *recall_dependency;
+ AgsDelayAudioRun *delay_audio_run;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ GList *list;
+ AgsRecallID *recall_id;
+ guint i, i_stop;
+
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(recall);
+
+ recall_container = AGS_RECALL_CONTAINER(recall->container);
+
+ list = ags_recall_find_template(recall_container->recall_audio_run);
+
+ if(list != NULL){
+ template = AGS_RECALL(list->data);
+ }else{
+ g_warning("AgsRecallClass::resolve - missing dependency");
+ return;
+ }
+
+ list = template->dependencies;
+ delay_audio_run = NULL;
+ count_beats_audio_run = NULL;
+ i_stop = 2;
+
+ for(i = 0; i < i_stop && list != NULL;){
+ recall_dependency = AGS_RECALL_DEPENDENCY(list->data);
+ recall_id = recall->recall_id;
+
+ if(AGS_IS_DELAY_AUDIO_RUN(recall_dependency->dependency)){
+ delay_audio_run = (AgsDelayAudioRun *) ags_recall_dependency_resolve(recall_dependency,
+ recall_id->recycling_container->parent->recall_id);
+
+ i++;
+ }else if(AGS_IS_COUNT_BEATS_AUDIO_RUN(recall_dependency->dependency)){
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) ags_recall_dependency_resolve(recall_dependency,
+ recall_id->recycling_container->parent->recall_id);
+
+ i++;
+ }
+
+ list = list->next;
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "delay-audio-run\0", delay_audio_run,
+ "count-beats-audio-run\0", count_beats_audio_run,
+ NULL);
+}
+
+void
+ags_copy_pattern_audio_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file,
+ AGS_RECALL_DEPENDENCY(file_lookup->ref)->dependency);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "xpath\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+}
+
+void
+ags_copy_pattern_audio_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "xpath\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(AGS_IS_DELAY_AUDIO_RUN(id_ref->ref)){
+ g_object_set(G_OBJECT(recall),
+ "delay-audio-run\0", id_ref->ref,
+ NULL);
+ }else if(AGS_IS_COUNT_BEATS_AUDIO_RUN(id_ref->ref)){
+ g_object_set(G_OBJECT(recall),
+ "count-beats-audio-run\0", id_ref->ref,
+ NULL);
+ }
+}
+
+/**
+ * ags_copy_pattern_audio_run_new:
+ * @count_beats_audio_run: an #AgsCountBeatsAudioRun as dependency
+ *
+ * Creates an #AgsCopyPatternAudioRun
+ *
+ * Returns: a new #AgsCopyPatternAudioRun
+ *
+ * Since: 0.4
+ */
+AgsCopyPatternAudioRun*
+ags_copy_pattern_audio_run_new(AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+
+ copy_pattern_audio_run = (AgsCopyPatternAudioRun *) g_object_new(AGS_TYPE_COPY_PATTERN_AUDIO_RUN,
+ "count-beats-audio-run\0", count_beats_audio_run,
+ NULL);
+
+ return(copy_pattern_audio_run);
+}
diff --git a/src/ags/audio/recall/ags_copy_pattern_audio_run.h b/src/ags/audio/recall/ags_copy_pattern_audio_run.h
new file mode 100644
index 0000000..e3e39a6
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_audio_run.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_PATTERN_AUDIO_RUN_H__
+#define __AGS_COPY_PATTERN_AUDIO_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_run.h>
+
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+
+#define AGS_TYPE_COPY_PATTERN_AUDIO_RUN (ags_copy_pattern_audio_run_get_type())
+#define AGS_COPY_PATTERN_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_AUDIO_RUN, AgsCopyPatternAudioRun))
+#define AGS_COPY_PATTERN_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_AUDIO_RUN, AgsCopyPatternAudioRun))
+#define AGS_IS_COPY_PATTERN_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_AUDIO_RUN))
+#define AGS_IS_COPY_PATTERN_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_AUDIO_RUN))
+#define AGS_COPY_PATTERN_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_AUDIO_RUN, AgsCopyPatternAudioRunClass))
+
+typedef struct _AgsCopyPatternAudioRun AgsCopyPatternAudioRun;
+typedef struct _AgsCopyPatternAudioRunClass AgsCopyPatternAudioRunClass;
+
+struct _AgsCopyPatternAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ guint hide_ref;
+ guint hide_ref_counter;
+
+ AgsDelayAudioRun *delay_audio_run;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+};
+
+struct _AgsCopyPatternAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+};
+
+GType ags_copy_pattern_audio_run_get_type();
+
+AgsCopyPatternAudioRun* ags_copy_pattern_audio_run_new(AgsCountBeatsAudioRun *count_beats_audio_run);
+
+#endif /*__AGS_COPY_PATTERN_AUDIO_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_copy_pattern_channel.c b/src/ags/audio/recall/ags_copy_pattern_channel.c
new file mode 100644
index 0000000..9e12077
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_channel.c
@@ -0,0 +1,302 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+void ags_copy_pattern_channel_class_init(AgsCopyPatternChannelClass *copy_pattern_channel);
+void ags_copy_pattern_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_copy_pattern_channel_init(AgsCopyPatternChannel *copy_pattern_channel);
+void ags_copy_pattern_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_pattern_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_copy_pattern_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_copy_pattern_channel_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_copy_pattern_channel
+ * @short_description: copy patterns channel
+ * @title: AgsCopyPatternChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_pattern_channel.h
+ *
+ * The #AgsCopyPatternChannel class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_PATTERN,
+};
+
+static gpointer ags_copy_pattern_channel_parent_class = NULL;
+
+static const gchar *ags_copy_pattern_channel_plugin_name = "ags-copy-pattern\0";
+static const gchar *ags_copy_pattern_channel_specifier[] = {
+ "./pattern[0]\0"
+};
+static const gchar *ags_copy_pattern_channel_control_port[] = {
+ "1/1\0"
+};
+
+GType
+ags_copy_pattern_channel_get_type()
+{
+ static GType ags_type_copy_pattern_channel = 0;
+
+ if(!ags_type_copy_pattern_channel){
+ static const GTypeInfo ags_copy_pattern_channel_info = {
+ sizeof (AgsCopyPatternChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_pattern_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyPatternChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_pattern_channel_init,
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_pattern_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsCopyPatternChannel\0",
+ &ags_copy_pattern_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_pattern_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_copy_pattern_channel);
+}
+
+void
+ags_copy_pattern_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->set_ports = ags_copy_pattern_channel_set_ports;
+}
+
+void
+ags_copy_pattern_channel_class_init(AgsCopyPatternChannelClass *copy_pattern_channel)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_copy_pattern_channel_parent_class = g_type_class_peek_parent(copy_pattern_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_pattern_channel;
+
+ gobject->set_property = ags_copy_pattern_channel_set_property;
+ gobject->get_property = ags_copy_pattern_channel_get_property;
+
+ gobject->finalize = ags_copy_pattern_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("pattern\0",
+ "pattern to play\0",
+ "The pattern which has to be played\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PATTERN,
+ param_spec);
+}
+
+void
+ags_copy_pattern_channel_init(AgsCopyPatternChannel *copy_pattern_channel)
+{
+ GList *port;
+
+ AGS_RECALL(copy_pattern_channel)->name = "ags-copy-pattern\0";
+ AGS_RECALL(copy_pattern_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_pattern_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_pattern_channel)->xml_type = "ags-copy-pattern-channel\0";
+
+ port = NULL;
+
+ copy_pattern_channel->pattern = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_copy_pattern_channel_plugin_name,
+ "specifier\0", ags_copy_pattern_channel_specifier[0],
+ "control-port\0", ags_copy_pattern_channel_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_OBJECT,
+ NULL);
+
+ copy_pattern_channel->pattern->port_value.ags_port_object = NULL;
+
+ port = g_list_prepend(port, copy_pattern_channel->pattern);
+
+ AGS_RECALL(copy_pattern_channel)->port = port;
+}
+
+void
+ags_copy_pattern_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyPatternChannel *copy_pattern_channel;
+
+ copy_pattern_channel = AGS_COPY_PATTERN_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_PATTERN:
+ {
+ AgsPort *pattern;
+
+ pattern = (AgsPort *) g_value_get_object(value);
+
+ if(copy_pattern_channel->pattern == pattern)
+ return;
+
+ if(copy_pattern_channel->pattern != NULL)
+ g_object_unref(G_OBJECT(copy_pattern_channel->pattern));
+
+ if(pattern != NULL)
+ g_object_ref(G_OBJECT(pattern));
+
+ copy_pattern_channel->pattern = pattern;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_copy_pattern_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCopyPatternChannel *copy_pattern_channel;
+
+ copy_pattern_channel = AGS_COPY_PATTERN_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_PATTERN:
+ {
+ g_value_set_object(value, copy_pattern_channel->pattern);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_copy_pattern_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./pattern[0]\0",
+ 11)){
+ g_object_set(G_OBJECT(plugin),
+ "pattern\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_copy_pattern_channel_finalize(GObject *gobject)
+{
+ AgsCopyPatternChannel *copy_pattern_channel;
+
+ copy_pattern_channel = AGS_COPY_PATTERN_CHANNEL(gobject);
+
+ if(copy_pattern_channel->pattern != NULL){
+ g_object_unref(copy_pattern_channel->pattern);
+ }
+
+ G_OBJECT_CLASS(ags_copy_pattern_channel_parent_class)->finalize(gobject);
+}
+
+GList*
+ags_copy_pattern_channel_template_find_source_and_destination(GList *recall,
+ AgsChannel *destination,
+ AgsChannel *source)
+{
+ AgsCopyPatternChannel *copy_pattern_channel;
+
+ while(recall != NULL){
+ recall = ags_recall_template_find_type(recall, AGS_TYPE_COPY_PATTERN_CHANNEL);
+
+ if(recall == NULL)
+ break;
+
+ copy_pattern_channel = AGS_COPY_PATTERN_CHANNEL(recall->data);
+
+ if(AGS_RECALL_CHANNEL(copy_pattern_channel)->destination == destination &&
+ AGS_RECALL_CHANNEL(copy_pattern_channel)->source == source)
+ break;
+
+ recall = recall->next;
+ }
+
+ return(recall);
+}
+
+/**
+ * ags_copy_pattern_channel_new:
+ * @destination: the destination #AgsChannel
+ * @source: the source #AgsChannel
+ * @pattern: the pattern port
+ *
+ * Creates an #AgsCopyPatternChannel
+ *
+ * Returns: a new #AgsCopyPatternChannel
+ *
+ * Since: 0.4
+ */
+AgsCopyPatternChannel*
+ags_copy_pattern_channel_new(AgsChannel *destination,
+ AgsChannel *source,
+ AgsPort *pattern)
+{
+ AgsCopyPatternChannel *copy_pattern_channel;
+
+ copy_pattern_channel = (AgsCopyPatternChannel *) g_object_new(AGS_TYPE_COPY_PATTERN_CHANNEL,
+ "destination\0", destination,
+ "channel\0", source,
+ "pattern\0", pattern,
+ NULL);
+
+ return(copy_pattern_channel);
+}
diff --git a/src/ags/audio/recall/ags_copy_pattern_channel.h b/src/ags/audio/recall/ags_copy_pattern_channel.h
new file mode 100644
index 0000000..9ae4bb7
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_channel.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_PATTERN_CHANNEL_H__
+#define __AGS_COPY_PATTERN_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_pattern.h>
+
+#define AGS_TYPE_COPY_PATTERN_CHANNEL (ags_copy_pattern_channel_get_type())
+#define AGS_COPY_PATTERN_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_CHANNEL, AgsCopyPatternChannel))
+#define AGS_COPY_PATTERN_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_CHANNEL, AgsCopyPatternChannel))
+#define AGS_IS_COPY_PATTERN_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL))
+#define AGS_IS_COPY_PATTERN_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_CHANNEL))
+#define AGS_COPY_PATTERN_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL, AgsCopyPatternChannelClass))
+
+typedef struct _AgsCopyPatternChannel AgsCopyPatternChannel;
+typedef struct _AgsCopyPatternChannelClass AgsCopyPatternChannelClass;
+
+struct _AgsCopyPatternChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *pattern;
+};
+
+struct _AgsCopyPatternChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_copy_pattern_channel_get_type();
+
+GList* ags_copy_pattern_channel_template_find_source_and_destination(GList *recall,
+ AgsChannel *destination,
+ AgsChannel *source);
+
+AgsCopyPatternChannel* ags_copy_pattern_channel_new(AgsChannel *destination,
+ AgsChannel *source,
+ AgsPort *pattern);
+
+#endif /*__AGS_COPY_PATTERN_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_copy_pattern_channel_run.c b/src/ags/audio/recall/ags_copy_pattern_channel_run.c
new file mode 100644
index 0000000..1002821
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_channel_run.c
@@ -0,0 +1,508 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_pattern_channel_run.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_copy_pattern_audio.h>
+#include <ags/audio/recall/ags_copy_pattern_audio_run.h>
+#include <ags/audio/recall/ags_copy_pattern_channel.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+
+#include <stdlib.h>
+
+void ags_copy_pattern_channel_run_class_init(AgsCopyPatternChannelRunClass *copy_pattern_channel_run);
+void ags_copy_pattern_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_copy_pattern_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_copy_pattern_channel_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_copy_pattern_channel_run_init(AgsCopyPatternChannelRun *copy_pattern_channel_run);
+void ags_copy_pattern_channel_run_connect(AgsConnectable *connectable);
+void ags_copy_pattern_channel_run_disconnect(AgsConnectable *connectable);
+void ags_copy_pattern_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_pattern_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_pattern_channel_run_finalize(GObject *gobject);
+
+void ags_copy_pattern_channel_run_resolve_dependencies(AgsRecall *recall);
+void ags_copy_pattern_channel_run_run_init_pre(AgsRecall *recall);
+void ags_copy_pattern_channel_run_done(AgsRecall *recall);
+void ags_copy_pattern_channel_run_cancel(AgsRecall *recall);
+void ags_copy_pattern_channel_run_remove(AgsRecall *recall);
+AgsRecall* ags_copy_pattern_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_copy_pattern_channel_run_sequencer_alloc_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order,
+ gdouble delay, guint attack,
+ AgsCopyPatternChannelRun *copy_pattern_channel_run);
+
+/**
+ * SECTION:ags_copy_pattern_channel_run
+ * @short_description: copys pattern
+ * @title: AgsCopyPatternChannelRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_pattern_channel_run.h
+ *
+ * The #AgsCopyPatternChannelRun class copys pattern.
+ */
+
+static gpointer ags_copy_pattern_channel_run_parent_class = NULL;
+static AgsConnectableInterface* ags_copy_pattern_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_copy_pattern_channel_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_copy_pattern_channel_run_parent_plugin_interface;
+
+GType
+ags_copy_pattern_channel_run_get_type()
+{
+ static GType ags_type_copy_pattern_channel_run = 0;
+
+ if(!ags_type_copy_pattern_channel_run){
+ static const GTypeInfo ags_copy_pattern_channel_run_info = {
+ sizeof (AgsCopyPatternChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_pattern_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyPatternChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_pattern_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_copy_pattern_channel_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_pattern_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsCopyPatternChannelRun\0",
+ &ags_copy_pattern_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_pattern_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_pattern_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_pattern_channel_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_copy_pattern_channel_run);
+}
+
+void
+ags_copy_pattern_channel_run_class_init(AgsCopyPatternChannelRunClass *copy_pattern_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ AgsRecallChannelRunClass *recall_channel_run;
+ GParamSpec *param_spec;
+
+ ags_copy_pattern_channel_run_parent_class = g_type_class_peek_parent(copy_pattern_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_pattern_channel_run;
+
+ gobject->finalize = ags_copy_pattern_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) copy_pattern_channel_run;
+
+ recall->resolve_dependencies = ags_copy_pattern_channel_run_resolve_dependencies;
+ recall->run_init_pre = ags_copy_pattern_channel_run_run_init_pre;
+ recall->done = ags_copy_pattern_channel_run_done;
+ recall->cancel = ags_copy_pattern_channel_run_cancel;
+ recall->remove = ags_copy_pattern_channel_run_remove;
+ recall->duplicate = ags_copy_pattern_channel_run_duplicate;
+}
+
+void
+ags_copy_pattern_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ AgsConnectableInterface *ags_copy_pattern_channel_run_connectable_parent_interface;
+
+ ags_copy_pattern_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_copy_pattern_channel_run_connect;
+ connectable->disconnect = ags_copy_pattern_channel_run_disconnect;
+}
+
+void
+ags_copy_pattern_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_copy_pattern_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_copy_pattern_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_copy_pattern_channel_run_disconnect_dynamic;
+}
+
+void
+ags_copy_pattern_channel_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_copy_pattern_channel_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_copy_pattern_channel_run_init(AgsCopyPatternChannelRun *copy_pattern_channel_run)
+{
+ AGS_RECALL(copy_pattern_channel_run)->name = "ags-copy-pattern\0";
+ AGS_RECALL(copy_pattern_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_pattern_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_pattern_channel_run)->xml_type = "ags-copy-pattern-channel-run\0";
+ AGS_RECALL(copy_pattern_channel_run)->port = NULL;
+
+ AGS_RECALL(copy_pattern_channel_run)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_copy_pattern_channel_run_connect(AgsConnectable *connectable)
+{
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+
+ ags_copy_pattern_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_pattern_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_copy_pattern_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_pattern_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+ AgsDelayAudioRun *delay_audio_run;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ ags_copy_pattern_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ // g_message("ags_copy_pattern_channel_run_dynamic_connect\n\0");
+
+ /* AgsCopyPatternChannelRun */
+ copy_pattern_channel_run = AGS_COPY_PATTERN_CHANNEL_RUN(dynamic_connectable);
+
+ /* get AgsCopyPatternAudioRun */
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->recall_audio_run);
+
+ /* connect sequencer_alloc in AgsDelayAudioRun */
+ count_beats_audio_run = copy_pattern_audio_run->count_beats_audio_run;
+ delay_audio_run = copy_pattern_audio_run->delay_audio_run;
+
+ // g_object_ref(G_OBJECT(delay_audio_run));
+ copy_pattern_channel_run->sequencer_alloc_handler =
+ g_signal_connect(G_OBJECT(delay_audio_run), "sequencer-alloc-input\0",
+ G_CALLBACK(ags_copy_pattern_channel_run_sequencer_alloc_callback), copy_pattern_channel_run);
+}
+
+void
+ags_copy_pattern_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+ AgsDelayAudioRun *delay_audio_run;
+
+ ags_copy_pattern_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* AgsCopyPatternChannelRun */
+ copy_pattern_channel_run = AGS_COPY_PATTERN_CHANNEL_RUN(dynamic_connectable);
+
+ /* get AgsCopyPatternAudioRun */
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->recall_audio_run);
+
+ /* disconnect sequencer_alloc in AgsDelayAudioRun */
+ delay_audio_run = copy_pattern_audio_run->delay_audio_run;
+
+ g_signal_handler_disconnect(G_OBJECT(delay_audio_run),
+ copy_pattern_channel_run->sequencer_alloc_handler);
+ // g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+void
+ags_copy_pattern_channel_run_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_copy_pattern_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_copy_pattern_channel_run_resolve_dependencies(AgsRecall *recall)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_copy_pattern_channel_run_run_init_pre(AgsRecall *recall)
+{
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+
+ AGS_RECALL_CLASS(ags_copy_pattern_channel_run_parent_class)->run_init_pre(recall);
+
+ copy_pattern_channel_run = AGS_COPY_PATTERN_CHANNEL_RUN(recall);
+
+ /* get AgsCopyPatternAudioRun */
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->recall_audio_run);
+
+ /* notify dependency */
+ ags_recall_notify_dependency(AGS_RECALL(copy_pattern_audio_run->count_beats_audio_run),
+ AGS_RECALL_NOTIFY_CHANNEL_RUN, 1);
+}
+
+void
+ags_copy_pattern_channel_run_done(AgsRecall *recall)
+{
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+
+ AGS_RECALL_CLASS(ags_copy_pattern_channel_run_parent_class)->done(recall);
+
+ copy_pattern_channel_run = AGS_COPY_PATTERN_CHANNEL_RUN(recall);
+
+ /* get AgsCopyPatternAudioRun */
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->recall_audio_run);
+
+ /* denotify dependency */
+ ags_recall_notify_dependency(AGS_RECALL(copy_pattern_audio_run->count_beats_audio_run),
+ AGS_RECALL_NOTIFY_CHANNEL_RUN, -1);
+}
+
+void
+ags_copy_pattern_channel_run_cancel(AgsRecall *recall)
+{
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+
+ copy_pattern_channel_run = AGS_COPY_PATTERN_CHANNEL_RUN(recall);
+
+ AGS_RECALL_CLASS(ags_copy_pattern_channel_run_parent_class)->cancel(recall);
+
+ /* get AgsCopyPatternAudioRun */
+ // copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(copy_pattern_channel_run->recall_channel_run.recall_audio_run);
+
+ /* notify dependency */
+ // ags_recall_notify_dependency(AGS_RECALL(copy_pattern_audio_run->count_beats_audio_run),
+ // AGS_RECALL_NOTIFY_CHANNEL_RUN, -1);
+}
+
+void
+ags_copy_pattern_channel_run_remove(AgsRecall *recall)
+{
+
+ AGS_RECALL_CLASS(ags_copy_pattern_channel_run_parent_class)->remove(recall);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_copy_pattern_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCopyPatternChannelRun *copy;
+
+ copy = AGS_COPY_PATTERN_CHANNEL_RUN(AGS_RECALL_CLASS(ags_copy_pattern_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ /* empty */
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_copy_pattern_channel_run_sequencer_alloc_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order,
+ gdouble delay, guint attack,
+ AgsCopyPatternChannelRun *copy_pattern_channel_run)
+{
+ AgsChannel *output, *source;
+ AgsCopyPatternAudio *copy_pattern_audio;
+ AgsCopyPatternAudioRun *copy_pattern_audio_run;
+ AgsCopyPatternChannel *copy_pattern_channel;
+ gboolean current_bit;
+ GValue offset_value = { 0, };
+ GValue current_bit_value = { 0, };
+
+ if(AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->run_order != run_order){
+ g_message("blocked %d %d\0", AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->run_order, run_order);
+ return;
+ }
+
+ /* get AgsCopyPatternAudio */
+ copy_pattern_audio = AGS_COPY_PATTERN_AUDIO(AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->recall_audio_run->recall_audio);
+
+ /* get AgsCopyPatternAudioRun */
+ copy_pattern_audio_run = AGS_COPY_PATTERN_AUDIO_RUN(AGS_RECALL_CHANNEL_RUN(copy_pattern_channel_run)->recall_audio_run);
+
+ /* get AgsCopyPatternChannel */
+ copy_pattern_channel = AGS_COPY_PATTERN_CHANNEL(copy_pattern_channel_run->recall_channel_run.recall_channel);
+
+ /* write pattern port - current offset */
+ g_value_init(&offset_value, G_TYPE_UINT);
+ g_value_set_uint(&offset_value,
+ copy_pattern_audio_run->count_beats_audio_run->sequencer_counter);
+
+ ags_port_safe_set_property(copy_pattern_channel->pattern,
+ "offset\0", &offset_value);
+
+ /* read pattern port - current bit */
+ g_value_init(¤t_bit_value, G_TYPE_BOOLEAN);
+ ags_port_safe_get_property(copy_pattern_channel->pattern,
+ "current-bit\0", ¤t_bit_value);
+
+ current_bit = g_value_get_boolean(¤t_bit_value);
+
+ if(current_bit){
+ AgsDevout *devout;
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ gdouble delay;
+ guint attack;
+
+ devout = AGS_DEVOUT(AGS_RECALL(copy_pattern_channel_run)->devout);
+
+ // g_message("ags_copy_pattern_channel_run_sequencer_alloc_callback - playing channel: %u; playing pattern: %u\0",
+ // AGS_RECALL_CHANNEL(copy_pattern_channel)->source->line,
+ // copy_pattern_audio_run->count_beats_audio_run->sequencer_counter);
+
+ /* get source */
+ source = AGS_RECALL_CHANNEL(copy_pattern_channel)->source;
+
+ /* create new audio signals */
+ recycling = source->first_recycling;
+
+ //TODO:JK: unclear
+ attack = 0;
+ delay = 0.0;
+
+ if(recycling != NULL){
+ AgsRecallID *child_recall_id;
+
+ while(recycling != source->last_recycling->next){
+ if(source->link == NULL){
+ child_recall_id = AGS_RECALL(copy_pattern_channel_run)->recall_id;
+ }else{
+ GList *list;
+
+ list = source->link->recall_id;
+
+ while(list != NULL){
+ if(AGS_RECALL_ID(list->data)->recycling_container->parent == AGS_RECALL(copy_pattern_channel_run)->recall_id->recycling_container){
+ child_recall_id = list->data;
+ break;
+ }
+
+ list = list->next;
+ }
+
+ if(list == NULL){
+ child_recall_id = NULL;
+ }
+ }
+
+ audio_signal = ags_audio_signal_new(AGS_RECALL(copy_pattern_audio)->devout,
+ recycling,
+ child_recall_id);
+ ags_recycling_create_audio_signal_with_defaults(recycling,
+ audio_signal,
+ delay, attack);
+ audio_signal->flags &= (~AGS_AUDIO_SIGNAL_TEMPLATE);
+ audio_signal->stream_current = audio_signal->stream_beginning;
+ ags_audio_signal_connect(audio_signal);
+
+ /*
+ * emit add_audio_signal on AgsRecycling
+ */
+#ifdef AGS_DEBUG
+ g_message("play %x\0", AGS_RECALL(copy_pattern_channel_run)->recall_id);
+#endif
+
+ audio_signal->recall_id = child_recall_id;
+ ags_recycling_add_audio_signal(recycling,
+ audio_signal);
+
+ /*
+ * unref AgsAudioSignal because AgsCopyPatternChannelRun has no need for it
+ * if you need a valid reference to audio_signal you have to g_object_ref(audio_signal)
+ */
+ g_object_unref(audio_signal);
+
+ recycling = recycling->next;
+ }
+ }
+ }
+
+ // g_message("%u\n\0", copy_pattern->shared_audio_run->bit);
+ // copy_pattern->shared_audio_run->bit++;
+ // }
+}
+
+/**
+ * ags_copy_pattern_channel_run_new:
+ *
+ * Creates an #AgsCopyPatternChannelRun
+ *
+ * Returns: a new #AgsCopyPatternChannelRun
+ *
+ * Since: 0.4
+ */
+AgsCopyPatternChannelRun*
+ags_copy_pattern_channel_run_new()
+{
+ AgsCopyPatternChannelRun *copy_pattern_channel_run;
+
+ copy_pattern_channel_run = (AgsCopyPatternChannelRun *) g_object_new(AGS_TYPE_COPY_PATTERN_CHANNEL_RUN,
+ NULL);
+
+ return(copy_pattern_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_copy_pattern_channel_run.h b/src/ags/audio/recall/ags_copy_pattern_channel_run.h
new file mode 100644
index 0000000..42a8438
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_pattern_channel_run.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_PATTERN_CHANNEL_RUN_H__
+#define __AGS_COPY_PATTERN_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#define AGS_TYPE_COPY_PATTERN_CHANNEL_RUN (ags_copy_pattern_channel_run_get_type())
+#define AGS_COPY_PATTERN_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN, AgsCopyPatternChannelRun))
+#define AGS_COPY_PATTERN_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN, AgsCopyPatternChannelRunClass))
+#define AGS_IS_COPY_PATTERN_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN))
+#define AGS_IS_COPY_PATTERN_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN))
+#define AGS_COPY_PATTERN_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_PATTERN_CHANNEL_RUN, AgsCopyPatternChannelRunClass))
+
+typedef struct _AgsCopyPatternChannelRun AgsCopyPatternChannelRun;
+typedef struct _AgsCopyPatternChannelRunClass AgsCopyPatternChannelRunClass;
+
+struct _AgsCopyPatternChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ gulong sequencer_alloc_handler;
+};
+
+struct _AgsCopyPatternChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_copy_pattern_channel_run_get_type();
+
+AgsCopyPatternChannelRun* ags_copy_pattern_channel_run_new();
+
+#endif /*__AGS_COPY_PATTERN_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_copy_recycling.c b/src/ags/audio/recall/ags_copy_recycling.c
new file mode 100644
index 0000000..e51da31
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_recycling.c
@@ -0,0 +1,286 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_copy_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/recall/ags_copy_audio_signal.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_copy_recycling_class_init(AgsCopyRecyclingClass *copy_recycling);
+void ags_copy_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_copy_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_copy_recycling_init(AgsCopyRecycling *copy_recycling);
+void ags_copy_recycling_connect(AgsConnectable *connectable);
+void ags_copy_recycling_disconnect(AgsConnectable *connectable);
+void ags_copy_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_copy_recycling_finalize(GObject *gobject);
+
+void ags_copy_recycling_done(AgsRecall *recall);
+void ags_copy_recycling_cancel(AgsRecall *recall);
+void ags_copy_recycling_remove(AgsRecall *recall);
+AgsRecall* ags_copy_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_copy_recycling
+ * @short_description: copys recycling
+ * @title: AgsCopyRecycling
+ * @section_id:
+ * @include: ags/audio/recall/ags_copy_recycling.h
+ *
+ * The #AgsCopyRecycling class copys the recycling.
+ */
+
+static gpointer ags_copy_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_copy_recycling_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_copy_recycling_parent_dynamic_connectable_interface;
+
+GType
+ags_copy_recycling_get_type()
+{
+ static GType ags_type_copy_recycling = 0;
+
+ if(!ags_type_copy_recycling){
+ static const GTypeInfo ags_copy_recycling_info = {
+ sizeof (AgsCopyRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_copy_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCopyRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_copy_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_copy_recycling_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_copy_recycling = g_type_register_static(AGS_TYPE_RECALL_RECYCLING,
+ "AgsCopyRecycling\0",
+ &ags_copy_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_copy_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_copy_recycling,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_copy_recycling);
+}
+
+void
+ags_copy_recycling_class_init(AgsCopyRecyclingClass *copy_recycling)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ AgsRecallRecyclingClass *recall_recycling;
+
+ ags_copy_recycling_parent_class = g_type_class_peek_parent(copy_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) copy_recycling;
+
+ gobject->finalize = ags_copy_recycling_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) copy_recycling;
+
+ recall->done = ags_copy_recycling_done;
+ recall->cancel = ags_copy_recycling_cancel;
+ recall->remove = ags_copy_recycling_remove;
+
+ recall->duplicate = ags_copy_recycling_duplicate;
+
+ /* AgsRecallRecycling */
+ recall_recycling = (AgsRecallRecyclingClass *) copy_recycling;
+}
+
+void
+ags_copy_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_copy_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_copy_recycling_connect;
+ connectable->disconnect = ags_copy_recycling_disconnect;
+}
+
+void
+ags_copy_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_copy_recycling_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_copy_recycling_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_copy_recycling_disconnect_dynamic;
+}
+
+void
+ags_copy_recycling_init(AgsCopyRecycling *copy_recycling)
+{
+ AGS_RECALL(copy_recycling)->name = "ags-copy\0";
+ AGS_RECALL(copy_recycling)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(copy_recycling)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(copy_recycling)->xml_type = "ags-copy-recycling\0";
+ AGS_RECALL(copy_recycling)->port = NULL;
+
+ AGS_RECALL(copy_recycling)->child_type = AGS_TYPE_COPY_AUDIO_SIGNAL;
+ AGS_RECALL_RECYCLING(copy_recycling)->flags |= AGS_RECALL_RECYCLING_MAP_CHILD_DESTINATION;
+}
+
+void
+ags_copy_recycling_finalize(GObject *gobject)
+{
+ AgsCopyRecycling *copy_recycling;
+
+ copy_recycling = AGS_COPY_RECYCLING(gobject);
+
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_copy_recycling_parent_class)->finalize(gobject);
+}
+
+void
+ags_copy_recycling_connect(AgsConnectable *connectable)
+{
+ AgsCopyRecycling *copy_recycling;
+
+ ags_copy_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_recycling_disconnect(AgsConnectable *connectable)
+{
+ AgsCopyRecycling *copy_recycling;
+
+ ags_copy_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCopyRecycling *copy_recycling;
+ GObject *gobject;
+
+ ags_copy_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_copy_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCopyRecycling *copy_recycling;
+ GObject *gobject;
+
+ ags_copy_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_copy_recycling_done(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_copy_recycling_parent_class)->done(recall);
+
+ /* empty */
+}
+
+void
+ags_copy_recycling_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_copy_recycling_parent_class)->cancel(recall);
+
+ /* empty */
+}
+
+void
+ags_copy_recycling_remove(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_copy_recycling_parent_class)->remove(recall);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_copy_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCopyRecycling *copy_recycling, *copy;
+
+ copy_recycling = (AgsCopyRecycling *) recall;
+ copy = (AgsCopyRecycling *) AGS_RECALL_CLASS(ags_copy_recycling_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_copy_recycling_new:
+ * @destination: the destination #AgsRecycling
+ * @source: the source #AgsRecycling
+ * @devout: the #AgsDevout defaulting to
+ *
+ * Creates an #AgsCopyRecycling
+ *
+ * Returns: a new #AgsCopyRecycling
+ *
+ * Since: 0.4
+ */
+AgsCopyRecycling*
+ags_copy_recycling_new(AgsRecycling *destination,
+ AgsRecycling *source,
+ AgsDevout *devout)
+{
+ AgsCopyRecycling *copy_recycling;
+
+ copy_recycling = (AgsCopyRecycling *) g_object_new(AGS_TYPE_COPY_RECYCLING,
+ "devout\0", devout,
+ "destination\0", destination,
+ "source\0", source,
+ NULL);
+
+ return(copy_recycling);
+}
diff --git a/src/ags/audio/recall/ags_copy_recycling.h b/src/ags/audio/recall/ags_copy_recycling.h
new file mode 100644
index 0000000..00f1dc5
--- /dev/null
+++ b/src/ags/audio/recall/ags_copy_recycling.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COPY_RECYCLING_H__
+#define __AGS_COPY_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+
+#define AGS_TYPE_COPY_RECYCLING (ags_copy_recycling_get_type())
+#define AGS_COPY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COPY_RECYCLING, AgsCopyRecycling))
+#define AGS_COPY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COPY_RECYCLING, AgsCopyRecyclingClass))
+#define AGS_IS_COPY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COPY_RECYCLING))
+#define AGS_IS_COPY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COPY_RECYCLING))
+#define AGS_COPY_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COPY_RECYCLING, AgsCopyRecyclingClass))
+
+typedef struct _AgsCopyRecycling AgsCopyRecycling;
+typedef struct _AgsCopyRecyclingClass AgsCopyRecyclingClass;
+
+struct _AgsCopyRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+
+struct _AgsCopyRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+
+GType ags_copy_recycling_get_type();
+
+AgsCopyRecycling* ags_copy_recycling_new(AgsRecycling *destination,
+ AgsRecycling *source,
+ AgsDevout *devout);
+
+#endif /*__AGS_COPY_RECYCLING_H__*/
diff --git a/src/ags/audio/recall/ags_count_beats_audio.c b/src/ags/audio/recall/ags_count_beats_audio.c
new file mode 100644
index 0000000..dd6b7fb
--- /dev/null
+++ b/src/ags/audio/recall/ags_count_beats_audio.c
@@ -0,0 +1,615 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_tactable.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_count_beats_audio_class_init(AgsCountBeatsAudioClass *count_beats_audio);
+void ags_count_beats_audio_tactable_interface_init(AgsTactableInterface *tactable);
+void ags_count_beats_audio_init(AgsCountBeatsAudio *count_beats_audio);
+void ags_count_beats_audio_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_count_beats_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_count_beats_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_count_beats_audio_set_ports(AgsPlugin *plugin, GList *port);
+void ags_count_beats_audio_finalize(GObject *gobject);
+
+void ags_count_beats_audio_change_sequencer_duration(AgsTactable *tactable, gdouble duration);
+void ags_count_beats_audio_change_notation_duration(AgsTactable *tactable, gdouble duration);
+
+/**
+ * SECTION:ags_count_beats_audio
+ * @short_description: count audio beats
+ * @title: AgsCountBeatsAudio
+ * @section_id:
+ * @include: ags/audio/recall/ags_count_beats_audio.h
+ *
+ * The #AgsCountBeatsAudio class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_LOOP,
+ PROP_NOTATION_LOOP_START,
+ PROP_NOTATION_LOOP_END,
+ PROP_SEQUENCER_LOOP_START,
+ PROP_SEQUENCER_LOOP_END,
+};
+
+static gpointer ags_count_beats_audio_parent_class = NULL;
+
+static const gchar *ags_count_beats_audio_plugin_name = "ags-count-beats\0";
+static const gchar *ags_count_beats_audio_specifier[] = {
+ "./loop[0]\0",
+ "./sequencer_loop_start[0]\0",
+ "./notation_loop_start[0]\0",
+ "./sequencer_loop_end[0]\0",
+ "./notation_loop_end[0]\0"
+};
+static const gchar *ags_count_beats_audio_control_port[] = {
+ "1/5\0",
+ "2/5\0",
+ "3/5\0",
+ "4/5\0",
+ "5/5\0",
+};
+
+GType
+ags_count_beats_audio_get_type()
+{
+ static GType ags_type_count_beats_audio = 0;
+
+ if(!ags_type_count_beats_audio){
+ static const GTypeInfo ags_count_beats_audio_info = {
+ sizeof (AgsCountBeatsAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_count_beats_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCountBeatsAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_count_beats_audio_init,
+ };
+
+ static const GInterfaceInfo ags_tactable_interface_info = {
+ (GInterfaceInitFunc) ags_count_beats_audio_tactable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_count_beats_audio_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_count_beats_audio = g_type_register_static(AGS_TYPE_RECALL_AUDIO,
+ "AgsCountBeatsAudio\0",
+ &ags_count_beats_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_count_beats_audio,
+ AGS_TYPE_TACTABLE,
+ &ags_tactable_interface_info);
+
+ g_type_add_interface_static(ags_type_count_beats_audio,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_count_beats_audio);
+}
+
+void
+ags_count_beats_audio_tactable_interface_init(AgsTactableInterface *tactable)
+{
+ tactable->change_sequencer_duration = ags_count_beats_audio_change_sequencer_duration;
+ tactable->change_notation_duration = ags_count_beats_audio_change_notation_duration;
+ tactable->change_tact = NULL;
+ tactable->change_bpm = NULL;
+}
+
+void
+ags_count_beats_audio_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->set_ports = ags_count_beats_audio_set_ports;
+}
+
+void
+ags_count_beats_audio_class_init(AgsCountBeatsAudioClass *count_beats_audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_count_beats_audio_parent_class = g_type_class_peek_parent(count_beats_audio);
+
+ gobject = (GObjectClass *) count_beats_audio;
+
+ gobject->set_property = ags_count_beats_audio_set_property;
+ gobject->get_property = ags_count_beats_audio_get_property;
+
+ gobject->finalize = ags_count_beats_audio_finalize;
+
+ /* properties */
+ /**
+ * AgsCountBeatsAudio:loop:
+ *
+ * Count until loop-end and start at loop-start.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("loop\0",
+ "loop playing\0",
+ "Play in a endless loop\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_LOOP,
+ param_spec);
+
+ /**
+ * AgsCountBeatsAudio:loop:
+ *
+ * The notation's loop-start.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("notation_loop_start\0",
+ "start beat of notation loop\0",
+ "The start beat of the notation loop\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NOTATION_LOOP_START,
+ param_spec);
+
+ /**
+ * AgsCountBeatsAudio:loop:
+ *
+ * The notation's loop-end.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("notation_loop_end\0",
+ "end beat of notation loop\0",
+ "The end beat of the notation loop\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NOTATION_LOOP_END,
+ param_spec);
+
+ /**
+ * AgsCountBeatsAudio:loop:
+ *
+ * The sequencer's loop-start.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("sequencer_loop_start\0",
+ "start beat of loop\0",
+ "The start beat of the sequencer loop\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SEQUENCER_LOOP_START,
+ param_spec);
+
+ /**
+ * AgsCountBeatsAudio:loop:
+ *
+ * The sequencer's loop-end.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("sequencer_loop_end\0",
+ "end beat of sequencer loop\0",
+ "The end beat of the sequencer loop\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SEQUENCER_LOOP_END,
+ param_spec);
+}
+
+void
+ags_count_beats_audio_init(AgsCountBeatsAudio *count_beats_audio)
+{
+ GList *port;
+
+ AGS_RECALL(count_beats_audio)->name = "ags-count-beats\0";
+ AGS_RECALL(count_beats_audio)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(count_beats_audio)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(count_beats_audio)->xml_type = "ags-count-beats-audio\0";
+
+ port = NULL;
+
+ /* loop */
+ count_beats_audio->loop = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_count_beats_audio_plugin_name,
+ "specifier\0", ags_count_beats_audio_specifier[0],
+ "control-port\0", ags_count_beats_audio_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_BOOLEAN,
+ "port-value-size\0", sizeof(gboolean),
+ "port-value-length", 1,
+ NULL);
+
+ count_beats_audio->loop->port_value.ags_port_boolean = FALSE;
+
+ port = g_list_prepend(port, count_beats_audio->loop);
+
+ /* sequencer-loop-start */
+ count_beats_audio->sequencer_loop_start = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_count_beats_audio_plugin_name,
+ "specifier\0", ags_count_beats_audio_specifier[1],
+ "control-port\0", ags_count_beats_audio_control_port[1],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ count_beats_audio->sequencer_loop_start->port_value.ags_port_double = 0.0;
+
+ port = g_list_prepend(port, count_beats_audio->sequencer_loop_start);
+
+ /* notation-loop-start */
+ count_beats_audio->notation_loop_start = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_count_beats_audio_plugin_name,
+ "specifier\0", ags_count_beats_audio_specifier[2],
+ "control-port\0", ags_count_beats_audio_control_port[2],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ count_beats_audio->notation_loop_start->port_value.ags_port_double = 0.0;
+
+ port = g_list_prepend(port, count_beats_audio->notation_loop_start);
+
+ /* sequencer-loop-end */
+ count_beats_audio->sequencer_loop_end = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_count_beats_audio_plugin_name,
+ "specifier\0", ags_count_beats_audio_specifier[3],
+ "control-port\0", ags_count_beats_audio_control_port[3],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ count_beats_audio->sequencer_loop_end->port_value.ags_port_double = 16.0;
+
+ port = g_list_prepend(port, count_beats_audio->sequencer_loop_end);
+
+ /* notation-loop-end */
+ count_beats_audio->notation_loop_end = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_count_beats_audio_plugin_name,
+ "specifier\0", ags_count_beats_audio_specifier[4],
+ "control-port\0", ags_count_beats_audio_control_port[4],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ count_beats_audio->notation_loop_end->port_value.ags_port_double = 64.0;
+
+ port = g_list_prepend(port, count_beats_audio->notation_loop_end);
+
+ /* port */
+ AGS_RECALL(count_beats_audio)->port = port;
+}
+
+void
+ags_count_beats_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_LOOP:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == count_beats_audio->loop){
+ return;
+ }
+
+ if(count_beats_audio->loop != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->loop));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ count_beats_audio->loop = port;
+ }
+ break;
+ case PROP_NOTATION_LOOP_START:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == count_beats_audio->notation_loop_start){
+ return;
+ }
+
+ if(count_beats_audio->notation_loop_start != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->notation_loop_start));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ count_beats_audio->notation_loop_start = port;
+ }
+ break;
+ case PROP_NOTATION_LOOP_END:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == count_beats_audio->notation_loop_end){
+ return;
+ }
+
+ if(count_beats_audio->notation_loop_end != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->notation_loop_end));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ count_beats_audio->notation_loop_end = port;
+ }
+ break;
+ case PROP_SEQUENCER_LOOP_START:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == count_beats_audio->sequencer_loop_start){
+ return;
+ }
+
+ if(count_beats_audio->sequencer_loop_start != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->sequencer_loop_start));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ count_beats_audio->sequencer_loop_start = port;
+ }
+ break;
+ case PROP_SEQUENCER_LOOP_END:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == count_beats_audio->sequencer_loop_end){
+ return;
+ }
+
+ if(count_beats_audio->sequencer_loop_end != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->sequencer_loop_end));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ count_beats_audio->sequencer_loop_end = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_count_beats_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCountBeatsAudio *count_beats;
+
+ count_beats = AGS_COUNT_BEATS_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_LOOP:
+ {
+ g_value_set_object(value, count_beats->loop);
+ }
+ break;
+ case PROP_NOTATION_LOOP_START:
+ {
+ g_value_set_object(value, count_beats->notation_loop_start);
+ }
+ break;
+ case PROP_NOTATION_LOOP_END:
+ {
+ g_value_set_object(value, count_beats->notation_loop_end);
+ }
+ break;
+ case PROP_SEQUENCER_LOOP_START:
+ {
+ g_value_set_object(value, count_beats->sequencer_loop_start);
+ }
+ break;
+ case PROP_SEQUENCER_LOOP_END:
+ {
+ g_value_set_object(value, count_beats->sequencer_loop_end);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_count_beats_audio_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./loop[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "loop\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./notation-loop-start[0]\0",
+ 23)){
+ g_object_set(G_OBJECT(plugin),
+ "notation-loop-start\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./notation-loop-end[0]\0",
+ 21)){
+ g_object_set(G_OBJECT(plugin),
+ "notation-loop-end\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./sequencer-loop-start[0]\0",
+ 24)){
+ g_object_set(G_OBJECT(plugin),
+ "sequencer-loop-start\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./sequencer-loop-end[0]\0",
+ 22)){
+ g_object_set(G_OBJECT(plugin),
+ "sequencer-loop-end\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_count_beats_audio_finalize(GObject *gobject)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(gobject);
+
+ if(count_beats_audio->loop != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->loop));
+ }
+
+ if(count_beats_audio->notation_loop_start != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->notation_loop_start));
+ }
+
+ if(count_beats_audio->notation_loop_end != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->notation_loop_end));
+ }
+
+ if(count_beats_audio->sequencer_loop_start != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->sequencer_loop_start));
+ }
+
+ if(count_beats_audio->sequencer_loop_end != NULL){
+ g_object_unref(G_OBJECT(count_beats_audio->sequencer_loop_end));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_count_beats_audio_parent_class)->finalize(gobject);
+}
+
+void
+ags_count_beats_audio_change_sequencer_duration(AgsTactable *tactable, gdouble duration)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ GValue value = {0,};
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(tactable);
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ g_value_set_double(&value, duration);
+ ags_port_safe_write(count_beats_audio->sequencer_loop_end,
+ &value);
+}
+
+void
+ags_count_beats_audio_change_notation_duration(AgsTactable *tactable, gdouble duration)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ GValue value = {0,};
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(tactable);
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ g_value_set_double(&value, duration);
+ ags_port_safe_write(count_beats_audio->notation_loop_end,
+ &value);
+}
+
+/**
+ * ags_count_beats_audio_new:
+ * @loop: if %TRUE after exceeding counter, effect loops
+ *
+ * Creates an #AgsCountBeatsAudio
+ *
+ * Returns: a new #AgsCountBeatsAudio
+ *
+ * Since: 0.4
+ */
+AgsCountBeatsAudio*
+ags_count_beats_audio_new(gboolean loop)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+
+ count_beats_audio = (AgsCountBeatsAudio *) g_object_new(AGS_TYPE_COUNT_BEATS_AUDIO,
+ "loop\0", loop,
+ NULL);
+
+ return(count_beats_audio);
+}
diff --git a/src/ags/audio/recall/ags_count_beats_audio.h b/src/ags/audio/recall/ags_count_beats_audio.h
new file mode 100644
index 0000000..f86e7df
--- /dev/null
+++ b/src/ags/audio/recall/ags_count_beats_audio.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COUNT_BEATS_AUDIO_H__
+#define __AGS_COUNT_BEATS_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio.h>
+
+#define AGS_TYPE_COUNT_BEATS_AUDIO (ags_count_beats_audio_get_type())
+#define AGS_COUNT_BEATS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNT_BEATS_AUDIO, AgsCountBeatsAudio))
+#define AGS_COUNT_BEATS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COUNT_BEATS_AUDIO, AgsCountBeatsAudio))
+#define AGS_IS_COUNT_BEATS_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COUNT_BEATS_AUDIO))
+#define AGS_IS_COUNT_BEATS_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COUNT_BEATS_AUDIO))
+#define AGS_COUNT_BEATS_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COUNT_BEATS_AUDIO, AgsCountBeatsAudioClass))
+
+typedef struct _AgsCountBeatsAudio AgsCountBeatsAudio;
+typedef struct _AgsCountBeatsAudioClass AgsCountBeatsAudioClass;
+
+struct _AgsCountBeatsAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *loop;
+
+ AgsPort *notation_loop_start;
+ AgsPort *notation_loop_end;
+ AgsPort *sequencer_loop_start;
+ AgsPort *sequencer_loop_end;
+};
+
+struct _AgsCountBeatsAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+
+GType ags_count_beats_audio_get_type();
+
+AgsCountBeatsAudio* ags_count_beats_audio_new(gboolean loop);
+
+#endif /*__AGS_COUNT_BEATS_AUDIO_H__*/
diff --git a/src/ags/audio/recall/ags_count_beats_audio_run.c b/src/ags/audio/recall/ags_count_beats_audio_run.c
new file mode 100644
index 0000000..03f2793
--- /dev/null
+++ b/src/ags/audio/recall/ags_count_beats_audio_run.c
@@ -0,0 +1,1470 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_countable.h>
+#include <ags/object/ags_seekable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/recall/ags_stream_channel_run.h>
+
+#include <math.h>
+
+void ags_count_beats_audio_run_class_init(AgsCountBeatsAudioRunClass *count_beats_audio_run);
+void ags_count_beats_audio_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_count_beats_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_count_beats_audio_run_seekable_interface_init(AgsSeekableInterface *seekable);
+void ags_count_beats_audio_run_countable_interface_init(AgsCountableInterface *countable);
+void ags_count_beats_audio_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_count_beats_audio_run_init(AgsCountBeatsAudioRun *count_beats_audio_run);
+void ags_count_beats_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_count_beats_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_count_beats_audio_run_finalize(GObject *gobject);
+void ags_count_beats_audio_run_connect(AgsConnectable *connectable);
+void ags_count_beats_audio_run_disconnect(AgsConnectable *connectable);
+void ags_count_beats_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_count_beats_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_count_beats_audio_run_seek(AgsSeekable *seekable,
+ guint steps,
+ gboolean forward);
+guint ags_count_beats_audio_run_get_notation_counter(AgsCountable *countable);
+guint ags_count_beats_audio_run_get_sequencer_counter(AgsCountable *countable);
+void ags_count_beats_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_count_beats_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_count_beats_audio_run_resolve_dependencies(AgsRecall *recall);
+AgsRecall* ags_count_beats_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+void ags_count_beats_audio_run_notify_dependency(AgsRecall *recall,
+ guint notify_mode,
+ gint count);
+void ags_count_beats_audio_run_run_init_pre(AgsRecall *recall);
+void ags_count_beats_audio_run_done(AgsRecall *recall);
+
+void ags_count_beats_audio_run_notation_alloc_output_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order, gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run);
+void ags_count_beats_audio_run_notation_count_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order, gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run);
+
+void ags_count_beats_audio_run_sequencer_alloc_output_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order, gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run);
+void ags_count_beats_audio_run_sequencer_count_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order, gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run);
+
+void ags_count_beats_audio_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+void ags_count_beats_audio_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+
+void ags_count_beats_audio_run_stream_audio_signal_done_callback(AgsRecall *recall,
+ AgsCountBeatsAudioRun *count_beats_audio_run);
+void ags_count_beats_audio_run_stop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ gboolean notation);
+
+/**
+ * SECTION:ags_count_beats_audio_run
+ * @short_description: count beats
+ * @title: AgsCountBeatsAudioRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_count_beats_audio_run.h
+ *
+ * The #AgsCountBeatsAudioRun class count beats.
+ */
+
+enum{
+ NOTATION_START,
+ NOTATION_LOOP,
+ NOTATION_STOP,
+ SEQUENCER_START,
+ SEQUENCER_LOOP,
+ SEQUENCER_STOP,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_DELAY_AUDIO_RUN,
+ PROP_NOTATION_COUNTER,
+ PROP_SEQUENCER_COUNTER,
+};
+
+static gpointer ags_count_beats_audio_run_parent_class = NULL;
+static AgsConnectableInterface* ags_count_beats_audio_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_count_beats_audio_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_count_beats_audio_run_parent_plugin_interface;
+
+static guint count_beats_audio_run_signals[LAST_SIGNAL];
+
+GType
+ags_count_beats_audio_run_get_type()
+{
+ static GType ags_type_count_beats_audio_run = 0;
+
+ if(!ags_type_count_beats_audio_run){
+ static const GTypeInfo ags_count_beats_audio_run_info = {
+ sizeof (AgsCountBeatsAudioRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_count_beats_audio_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCountBeatsAudioRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_count_beats_audio_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_count_beats_audio_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_count_beats_audio_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_seekable_interface_info = {
+ (GInterfaceInitFunc) ags_count_beats_audio_run_seekable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_countable_interface_info = {
+ (GInterfaceInitFunc) ags_count_beats_audio_run_countable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_count_beats_audio_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_count_beats_audio_run = g_type_register_static(AGS_TYPE_RECALL_AUDIO_RUN,
+ "AgsCountBeatsAudioRun\0",
+ &ags_count_beats_audio_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_count_beats_audio_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_count_beats_audio_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_count_beats_audio_run,
+ AGS_TYPE_COUNTABLE,
+ &ags_countable_interface_info);
+
+ g_type_add_interface_static(ags_type_count_beats_audio_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_count_beats_audio_run);
+}
+
+void
+ags_count_beats_audio_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_count_beats_audio_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_count_beats_audio_run_connect;
+ connectable->disconnect = ags_count_beats_audio_run_disconnect;
+}
+
+void
+ags_count_beats_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_count_beats_audio_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_count_beats_audio_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_count_beats_audio_run_disconnect_dynamic;
+}
+
+void
+ags_count_beats_audio_run_seekable_interface_init(AgsSeekableInterface *seekable)
+{
+ seekable->seek = ags_count_beats_audio_run_seek;
+}
+
+void
+ags_count_beats_audio_run_countable_interface_init(AgsCountableInterface *countable)
+{
+ countable->get_notation_counter = ags_count_beats_audio_run_get_notation_counter;
+ countable->get_sequencer_counter = ags_count_beats_audio_run_get_sequencer_counter;
+}
+
+void
+ags_count_beats_audio_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_count_beats_audio_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->read = ags_count_beats_audio_run_read;
+ plugin->write = ags_count_beats_audio_run_write;
+}
+
+void
+ags_count_beats_audio_run_class_init(AgsCountBeatsAudioRunClass *count_beats_audio_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_count_beats_audio_run_parent_class = g_type_class_peek_parent(count_beats_audio_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) count_beats_audio_run;
+
+ gobject->set_property = ags_count_beats_audio_run_set_property;
+ gobject->get_property = ags_count_beats_audio_run_get_property;
+
+ gobject->finalize = ags_count_beats_audio_run_finalize;
+
+ /* properties */
+ /**
+ * AgsCountBeatsAudioRun:delay-audio-run:
+ *
+ * The assigned #AgsDelayAudioRun dependency.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_object("delay-audio-run\0",
+ "assigned AgsDelayAudioRun\0",
+ "The AgsDelayAudioRun which emits sequencer_alloc_output sequencer_count signal\0",
+ AGS_TYPE_DELAY_AUDIO_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DELAY_AUDIO_RUN,
+ param_spec);
+
+ /**
+ * AgsCountBeatsAudioRun:notation-counter:
+ *
+ * The notation counter.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("notation-counter\0",
+ "notation counter indicates offset\0",
+ "The notation counter indicates the offset in the notation\0",
+ 0,
+ 65535, //FIXME:JK: figure out how many beats this can really have
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NOTATION_COUNTER,
+ param_spec);
+
+ /**
+ * AgsCountBeatsAudioRun:sequencer-counter:
+ *
+ * The sequencer counter.
+ *
+ * Since: 0.4.0
+ */
+ param_spec = g_param_spec_uint("sequencer-counter\0",
+ "sequencer counter indicates offset\0",
+ "The sequenecer counter indicates the offset in the sequencer\0",
+ 0,
+ 65535, //FIXME:JK: figure out how many beats this can really have
+ 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SEQUENCER_COUNTER,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) count_beats_audio_run;
+
+ recall->resolve_dependencies = ags_count_beats_audio_run_resolve_dependencies;
+ recall->duplicate = ags_count_beats_audio_run_duplicate;
+ recall->notify_dependency = ags_count_beats_audio_run_notify_dependency;
+ recall->run_init_pre = ags_count_beats_audio_run_run_init_pre;
+ recall->done = ags_count_beats_audio_run_done;
+
+ /* AgsCountBeatsAudioRunClass */
+ count_beats_audio_run->notation_start = NULL;
+ count_beats_audio_run->notation_loop = NULL;
+ count_beats_audio_run->notation_stop = NULL;
+ count_beats_audio_run->sequencer_start = NULL;
+ count_beats_audio_run->sequencer_loop = NULL;
+ count_beats_audio_run->sequencer_stop = NULL;
+
+ /* signals */
+ /**
+ * AgsCountBeatsAudioRun::notation-start:
+ * @count_beats_audio_run: the object
+ * @run_order: the nth run
+ *
+ * The ::notation-start signal is emited while starting notation playback.
+ */
+ count_beats_audio_run_signals[NOTATION_START] =
+ g_signal_new("notation-start\0",
+ G_TYPE_FROM_CLASS(count_beats_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsCountBeatsAudioRunClass, notation_start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsCountBeatsAudioRun::notation-loop:
+ * @count_beats_audio_run: the object
+ * @run_order: the nth run
+ *
+ * The ::notation-loop signal is emited while looping notation playback.
+ */
+ count_beats_audio_run_signals[NOTATION_LOOP] =
+ g_signal_new("notation-loop\0",
+ G_TYPE_FROM_CLASS(count_beats_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsCountBeatsAudioRunClass, notation_loop),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsCountBeatsAudioRun::notation-stop:
+ * @count_beats_audio_run: the object
+ * @run_order: the nth run
+ *
+ * The ::notation-loop signal is emited while stoping notation playback.
+ */
+ count_beats_audio_run_signals[NOTATION_STOP] =
+ g_signal_new("notation-stop\0",
+ G_TYPE_FROM_CLASS(count_beats_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsCountBeatsAudioRunClass, notation_stop),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsCountBeatsAudioRun::sequencer-start:
+ * @count_beats_audio_run: the object
+ * @run_order: the nth run
+ *
+ * The ::sequencer-start signal is emited while starting sequencer playback.
+ */
+ count_beats_audio_run_signals[SEQUENCER_START] =
+ g_signal_new("sequencer-start\0",
+ G_TYPE_FROM_CLASS(count_beats_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsCountBeatsAudioRunClass, sequencer_start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsCountBeatsAudioRun::sequencer-loop:
+ * @count_beats_audio_run: the object
+ * @run_order: the nth run
+ *
+ * The ::sequencer-loop signal is emited while looping sequencer playback.
+ */
+ count_beats_audio_run_signals[SEQUENCER_LOOP] =
+ g_signal_new("sequencer-loop\0",
+ G_TYPE_FROM_CLASS(count_beats_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsCountBeatsAudioRunClass, sequencer_loop),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+
+ /**
+ * AgsCountBeatsAudioRun::sequencer-stop:
+ * @count_beats_audio_run: the object
+ * @run_order: the nth run
+ *
+ * The ::sequencer-loop signal is emited while stoping sequencer playback.
+ */
+ count_beats_audio_run_signals[SEQUENCER_STOP] =
+ g_signal_new("sequencer-stop\0",
+ G_TYPE_FROM_CLASS(count_beats_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsCountBeatsAudioRunClass, sequencer_stop),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+}
+
+void
+ags_count_beats_audio_run_init(AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AGS_RECALL(count_beats_audio_run)->name = "ags-count-beats\0";
+ AGS_RECALL(count_beats_audio_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(count_beats_audio_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(count_beats_audio_run)->xml_type = "ags-count-beats-audio-run\0";
+ AGS_RECALL(count_beats_audio_run)->port = NULL;
+
+ count_beats_audio_run->notation_counter = 0;
+ count_beats_audio_run->sequencer_counter = 0;
+
+ count_beats_audio_run->recall_ref = 0;
+
+ count_beats_audio_run->hide_ref = 0;
+ count_beats_audio_run->notation_hide_ref_counter = 0;
+ count_beats_audio_run->sequencer_hide_ref_counter = 0;
+
+ count_beats_audio_run->delay_audio_run = NULL;
+}
+
+void
+ags_count_beats_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO_RUN:
+ {
+ AgsDelayAudioRun *delay_audio_run;
+ gboolean is_template;
+
+ delay_audio_run = (AgsDelayAudioRun *) g_value_get_object(value);
+
+ if(count_beats_audio_run->delay_audio_run == delay_audio_run)
+ return;
+
+ if(delay_audio_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(delay_audio_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(count_beats_audio_run->delay_audio_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(count_beats_audio_run),
+ (AgsRecall *) count_beats_audio_run->delay_audio_run);
+ }else{
+ g_signal_handler_disconnect(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run->sequencer_alloc_output_handler);
+
+ g_signal_handler_disconnect(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run->sequencer_count_handler);
+ }
+
+ g_object_unref(G_OBJECT(count_beats_audio_run->delay_audio_run));
+ }
+
+ if(delay_audio_run != NULL){
+ g_object_ref(G_OBJECT(delay_audio_run));
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(count_beats_audio_run),
+ ags_recall_dependency_new((GObject *) delay_audio_run));
+ }else{
+ count_beats_audio_run->sequencer_count_handler =
+ g_signal_connect(G_OBJECT(delay_audio_run), "sequencer-alloc-output\0",
+ G_CALLBACK(ags_count_beats_audio_run_sequencer_alloc_output_callback), count_beats_audio_run);
+
+ count_beats_audio_run->sequencer_count_handler =
+ g_signal_connect(G_OBJECT(delay_audio_run), "sequencer-count\0",
+ G_CALLBACK(ags_count_beats_audio_run_sequencer_count_callback), count_beats_audio_run);
+
+ count_beats_audio_run->notation_count_handler =
+ g_signal_connect(G_OBJECT(delay_audio_run), "notation-alloc-output\0",
+ G_CALLBACK(ags_count_beats_audio_run_notation_alloc_output_callback), count_beats_audio_run);
+
+ count_beats_audio_run->notation_count_handler =
+ g_signal_connect(G_OBJECT(delay_audio_run), "notation-count\0",
+ G_CALLBACK(ags_count_beats_audio_run_notation_count_callback), count_beats_audio_run);
+ }
+ }
+
+ count_beats_audio_run->delay_audio_run = delay_audio_run;
+ }
+ break;
+ case PROP_NOTATION_COUNTER:
+ {
+ guint counter;
+
+ counter = g_value_get_uint(value);
+
+ count_beats_audio_run->notation_counter = counter;
+ }
+ break;
+ case PROP_SEQUENCER_COUNTER:
+ {
+ guint counter;
+
+ counter = g_value_get_uint(value);
+
+ count_beats_audio_run->sequencer_counter = counter;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_count_beats_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO_RUN:
+ {
+ g_value_set_object(value, count_beats_audio_run->delay_audio_run);
+ }
+ break;
+ case PROP_NOTATION_COUNTER:
+ {
+ g_value_set_uint(value, count_beats_audio_run->notation_counter);
+ }
+ break;
+ case PROP_SEQUENCER_COUNTER:
+ {
+ g_value_set_uint(value, count_beats_audio_run->sequencer_counter);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_count_beats_audio_run_finalize(GObject *gobject)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(gobject);
+
+ if(count_beats_audio_run->delay_audio_run != NULL)
+ g_object_unref(count_beats_audio_run->delay_audio_run);
+
+ G_OBJECT_CLASS(ags_count_beats_audio_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_count_beats_audio_run_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_count_beats_audio_run_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_count_beats_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ ags_count_beats_audio_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* AgsCountBeats */
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(dynamic_connectable);
+
+ count_beats_audio_run->sequencer_alloc_output_handler =
+ g_signal_connect(G_OBJECT(count_beats_audio_run->delay_audio_run), "sequencer-alloc-output\0",
+ G_CALLBACK(ags_count_beats_audio_run_sequencer_alloc_output_callback), count_beats_audio_run);
+
+ count_beats_audio_run->sequencer_count_handler =
+ g_signal_connect(G_OBJECT(count_beats_audio_run->delay_audio_run), "sequencer-count\0",
+ G_CALLBACK(ags_count_beats_audio_run_sequencer_count_callback), count_beats_audio_run);
+
+ count_beats_audio_run->notation_alloc_output_handler =
+ g_signal_connect(G_OBJECT(count_beats_audio_run->delay_audio_run), "notation-alloc-output\0",
+ G_CALLBACK(ags_count_beats_audio_run_notation_alloc_output_callback), count_beats_audio_run);
+
+ count_beats_audio_run->notation_count_handler =
+ g_signal_connect(G_OBJECT(count_beats_audio_run->delay_audio_run), "notation-count\0",
+ G_CALLBACK(ags_count_beats_audio_run_notation_count_callback), count_beats_audio_run);
+}
+
+void
+ags_count_beats_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ ags_count_beats_audio_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* AgsCountBeats */
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(dynamic_connectable);
+
+ g_signal_handler_disconnect(G_OBJECT(count_beats_audio_run), count_beats_audio_run->sequencer_alloc_output_handler);
+ g_signal_handler_disconnect(G_OBJECT(count_beats_audio_run), count_beats_audio_run->sequencer_count_handler);
+
+ g_signal_handler_disconnect(G_OBJECT(count_beats_audio_run), count_beats_audio_run->notation_alloc_output_handler);
+ g_signal_handler_disconnect(G_OBJECT(count_beats_audio_run), count_beats_audio_run->notation_count_handler);
+}
+
+void
+ags_count_beats_audio_run_seek(AgsSeekable *seekable,
+ guint steps,
+ gboolean forward)
+{
+ //TODO:JK: implement this function
+}
+
+guint
+ags_count_beats_audio_run_get_notation_counter(AgsCountable *countable)
+{
+ return(AGS_COUNT_BEATS_AUDIO_RUN(countable)->notation_counter);
+}
+
+guint
+ags_count_beats_audio_run_get_sequencer_counter(AgsCountable *countable)
+{
+ return(AGS_COUNT_BEATS_AUDIO_RUN(countable)->sequencer_counter);
+}
+
+void
+ags_count_beats_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ AgsFileLookup *file_lookup;
+ xmlNode *iter;
+
+ /* read parent */
+ ags_count_beats_audio_run_parent_plugin_interface->read(file, node, plugin);
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(plugin);
+
+ /* read depenendency */
+ iter = node->children;
+
+ while(iter != NULL){
+ if(iter->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(iter->name,
+ "ags-dependency-list\0",
+ 19)){
+ xmlNode *dependency_node;
+
+ dependency_node = iter->children;
+
+ while(dependency_node != NULL){
+ if(dependency_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(dependency_node->name,
+ "ags-dependency\0",
+ 15)){
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", count_beats_audio_run,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_count_beats_audio_run_read_resolve_dependency), count_beats_audio_run);
+ }
+ }
+
+ dependency_node = dependency_node->next;
+ }
+ }
+ }
+
+ iter = iter->next;
+ }
+}
+
+xmlNode*
+ags_count_beats_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ xmlNode *dependency_node;
+ GList *list;
+ gchar *id;
+
+ /* write parent */
+ node = ags_count_beats_audio_run_parent_plugin_interface->write(file, parent, plugin);
+
+ /* write dependencies */
+ child = xmlNewNode(NULL,
+ "ags-dependency-list\0");
+
+ xmlNewProp(child,
+ AGS_FILE_ID_PROP,
+ ags_id_generator_create_uuid());
+
+ xmlAddChild(node,
+ child);
+
+ list = AGS_RECALL(plugin)->dependencies;
+
+ while(list != NULL){
+ id = ags_id_generator_create_uuid();
+
+ dependency_node = xmlNewNode(NULL,
+ "ags-dependency\0");
+
+ xmlNewProp(dependency_node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ xmlAddChild(child,
+ dependency_node);
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", G_OBJECT(plugin),
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_count_beats_audio_run_write_resolve_dependency), G_OBJECT(plugin));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_count_beats_audio_run_resolve_dependencies(AgsRecall *recall)
+{
+ AgsRecall *template;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ AgsRecallDependency *recall_dependency;
+ AgsDelayAudioRun *delay_audio_run;
+ GList *list;
+ AgsRecallID *recall_id;
+ guint i, i_stop;
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(recall);
+
+ template = AGS_RECALL(ags_recall_find_template(AGS_RECALL_CONTAINER(recall->container)->recall_audio_run)->data);
+
+ list = template->dependencies;
+ recall_id = recall->recall_id;
+
+ delay_audio_run = NULL;
+
+ i_stop = 1;
+
+ for(i = 0; i < i_stop && list != NULL;){
+ recall_dependency = AGS_RECALL_DEPENDENCY(list->data);
+
+ if(AGS_IS_DELAY_AUDIO_RUN(recall_dependency->dependency)){
+ delay_audio_run = (AgsDelayAudioRun *) ags_recall_dependency_resolve(recall_dependency, recall_id);
+
+ i++;
+ }
+
+ list = list->next;
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "delay-audio-run\0", delay_audio_run,
+ NULL);
+}
+
+AgsRecall*
+ags_count_beats_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsCountBeatsAudioRun *copy;
+
+ copy = AGS_COUNT_BEATS_AUDIO_RUN(AGS_RECALL_CLASS(ags_count_beats_audio_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ g_message("ags_count_beats_audio_run_duplicate\n\0");
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_count_beats_audio_run_notify_dependency(AgsRecall *recall,
+ guint notify_mode,
+ gint count)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(recall);
+
+ switch(notify_mode){
+ case AGS_RECALL_NOTIFY_RUN:
+ count_beats_audio_run->hide_ref += count;
+ g_message("count_beats_audio_run->hide_ref: %u\n\0", count_beats_audio_run->hide_ref);
+ break;
+ case AGS_RECALL_NOTIFY_AUDIO:
+ break;
+ case AGS_RECALL_NOTIFY_AUDIO_RUN:
+ break;
+ case AGS_RECALL_NOTIFY_CHANNEL:
+ break;
+ case AGS_RECALL_NOTIFY_CHANNEL_RUN:
+ count_beats_audio_run->recall_ref += count;
+
+ break;
+ default:
+ g_message("ags_count_beats_audio_run.c - ags_count_beats_audio_run_notify: unknown notify\0");
+ }
+}
+
+void
+ags_count_beats_audio_run_run_init_pre(AgsRecall *recall)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ AGS_RECALL_CLASS(ags_count_beats_audio_run_parent_class)->run_init_pre(recall);
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(recall);
+
+ count_beats_audio_run->first_run = TRUE;
+
+ count_beats_audio_run->notation_hide_ref_counter = 0;
+ count_beats_audio_run->sequencer_hide_ref_counter = 0;
+
+ count_beats_audio_run->sequencer_counter = 0;
+}
+
+void
+ags_count_beats_audio_run_done(AgsRecall *recall)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ AGS_RECALL_CLASS(ags_count_beats_audio_run_parent_class)->done(recall);
+
+ count_beats_audio_run = AGS_COUNT_BEATS_AUDIO_RUN(recall);
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio);
+
+ ags_audio_done(AGS_RECALL_AUDIO(count_beats_audio)->audio,
+ AGS_RECALL(count_beats_audio_run)->recall_id);
+}
+
+/**
+ * ags_count_beats_audio_run_notation_start:
+ * @count_beats_audio_run: the #AgsCountBeatsAudioRun
+ * @run_order: the nth run order
+ *
+ * Emitted as notation starts playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_count_beats_audio_run_notation_start(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order)
+{
+ g_return_if_fail(AGS_IS_COUNT_BEATS_AUDIO_RUN(count_beats_audio_run));
+
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+ g_signal_emit(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run_signals[NOTATION_START], 0,
+ run_order);
+ g_object_unref(G_OBJECT(count_beats_audio_run));
+}
+
+/**
+ * ags_count_beats_audio_run_notation_loop:
+ * @count_beats_audio_run: the #AgsCountBeatsAudioRun
+ * @run_order: the nth run order
+ *
+ * Emitted as notation loops playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_count_beats_audio_run_notation_loop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order)
+{
+ g_return_if_fail(AGS_IS_COUNT_BEATS_AUDIO_RUN(count_beats_audio_run));
+
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+ g_signal_emit(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run_signals[NOTATION_LOOP], 0,
+ run_order);
+ g_object_unref(G_OBJECT(count_beats_audio_run));
+}
+
+/**
+ * ags_count_beats_audio_run_notation_stop:
+ * @count_beats_audio_run: the #AgsCountBeatsAudioRun
+ * @run_order: the nth run order
+ *
+ * Emitted as notation stops playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_count_beats_audio_run_notation_stop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order)
+{
+ g_return_if_fail(AGS_IS_COUNT_BEATS_AUDIO_RUN(count_beats_audio_run));
+
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+ g_signal_emit(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run_signals[NOTATION_STOP], 0,
+ run_order);
+ g_object_unref(G_OBJECT(count_beats_audio_run));
+}
+
+/**
+ * ags_count_beats_audio_run_sequencer_start:
+ * @count_beats_audio_run: the #AgsCountBeatsAudioRun
+ * @run_order: the nth run order
+ *
+ * Emitted as sequencer starts playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_count_beats_audio_run_sequencer_start(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order)
+{
+ g_return_if_fail(AGS_IS_COUNT_BEATS_AUDIO_RUN(count_beats_audio_run));
+
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+ g_signal_emit(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run_signals[SEQUENCER_START], 0,
+ run_order);
+ g_object_unref(G_OBJECT(count_beats_audio_run));
+}
+
+/**
+ * ags_count_beats_audio_run_sequencer_loop:
+ * @count_beats_audio_run: the #AgsCountBeatsAudioRun
+ * @run_order: the nth run order
+ *
+ * Emitted as sequencer loops playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_count_beats_audio_run_sequencer_loop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order)
+{
+ g_return_if_fail(AGS_IS_COUNT_BEATS_AUDIO_RUN(count_beats_audio_run));
+
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+ g_signal_emit(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run_signals[SEQUENCER_LOOP], 0,
+ run_order);
+ g_object_unref(G_OBJECT(count_beats_audio_run));
+}
+
+/**
+ * ags_count_beats_audio_run_sequencer_stop:
+ * @count_beats_audio_run: the #AgsCountBeatsAudioRun
+ * @run_order: the nth run order
+ *
+ * Emitted as sequencer stops playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_count_beats_audio_run_sequencer_stop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order)
+{
+ g_return_if_fail(AGS_IS_COUNT_BEATS_AUDIO_RUN(count_beats_audio_run));
+
+ g_object_ref(G_OBJECT(count_beats_audio_run));
+ g_signal_emit(G_OBJECT(count_beats_audio_run),
+ count_beats_audio_run_signals[SEQUENCER_STOP], 0,
+ run_order);
+ g_object_unref(G_OBJECT(count_beats_audio_run));
+}
+
+void
+ags_count_beats_audio_run_notation_alloc_output_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order, gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ gboolean loop;
+ GValue value = {0,};
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio);
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(count_beats_audio->loop, &value);
+
+ loop = g_value_get_boolean(&value);
+
+ if(count_beats_audio_run->first_run){
+ // g_message("ags_count_beats_audio_run_sequencer_alloc_output_callback: start\n\0");
+ ags_count_beats_audio_run_notation_start(count_beats_audio_run,
+ run_order);
+ }
+
+ if(!count_beats_audio_run->first_run &&
+ count_beats_audio_run->notation_counter == 0){
+ /* emit notation signals */
+ if(loop){
+ // g_message("ags_count_beats_audio_run_notation_alloc_output_callback: loop\n\0");
+
+ ags_count_beats_audio_run_notation_loop(count_beats_audio_run,
+ run_order);
+ }
+ }
+}
+
+void
+ags_count_beats_audio_run_sequencer_alloc_output_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order,
+ gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ gdouble loop_end;
+ gboolean loop;
+ GValue value = {0,};
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio);
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(count_beats_audio->loop, &value);
+
+ loop = g_value_get_boolean(&value);
+ g_value_unset(&value);
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(count_beats_audio->sequencer_loop_end, &value);
+
+ loop_end = g_value_get_double(&value);
+
+ if(count_beats_audio_run->first_run){
+ // g_message("ags_count_beats_audio_run_sequencer_alloc_output_callback: start\n\0");
+ ags_count_beats_audio_run_sequencer_start(count_beats_audio_run,
+ run_order);
+ }
+
+ if(!count_beats_audio_run->first_run &&
+ count_beats_audio_run->sequencer_counter == 0){
+ /* emit sequencer signals */
+ if(loop){
+ // g_message("ags_count_beats_audio_run_sequencer_alloc_output_callback: loop\n\0");
+
+ ags_count_beats_audio_run_sequencer_loop(count_beats_audio_run,
+ run_order);
+ }
+ }
+}
+
+void
+ags_count_beats_audio_run_notation_count_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order,
+ gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ gboolean loop;
+ GValue value = {0,};
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio);
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(count_beats_audio->loop, &value);
+
+ loop = g_value_get_boolean(&value);
+
+ if(count_beats_audio_run->hide_ref != 0){
+ count_beats_audio_run->notation_hide_ref_counter += 1;
+ }
+
+ // g_message("notation %d\0", count_beats_audio_run->notation_counter);
+
+ /*
+ * Block counter for sequencer and notation counter
+ */
+ if(count_beats_audio_run->notation_hide_ref_counter == count_beats_audio_run->hide_ref){
+ gdouble loop_end;
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(count_beats_audio->notation_loop_end, &value);
+
+ loop_end = g_value_get_double(&value);
+
+ if(loop){
+ if(count_beats_audio_run->notation_counter >= (guint) loop_end - 1.0){
+ count_beats_audio_run->notation_counter = 0;
+ }else{
+ count_beats_audio_run->notation_counter += 1;
+ }
+ }else{
+ if(count_beats_audio_run->notation_counter >= (guint) loop_end - 1.0){
+ return;
+ }
+
+ count_beats_audio_run->notation_counter += 1;
+ }
+
+ count_beats_audio_run->notation_hide_ref_counter = 0;
+ }
+}
+
+void
+ags_count_beats_audio_run_sequencer_count_callback(AgsDelayAudioRun *delay_audio_run,
+ guint run_order, gdouble delay, guint attack,
+ AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AgsCountBeatsAudio *count_beats_audio;
+ gboolean loop;
+ GValue value = {0,};
+
+ count_beats_audio = AGS_COUNT_BEATS_AUDIO(AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio);
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(count_beats_audio->loop, &value);
+
+ loop = g_value_get_boolean(&value);
+
+ if(count_beats_audio_run->hide_ref != 0){
+ count_beats_audio_run->sequencer_hide_ref_counter += 1;
+ }
+
+ ags_audio_tact(AGS_RECALL_AUDIO(count_beats_audio)->audio,
+ AGS_RECALL(count_beats_audio_run)->recall_id);
+
+ /*
+ * Block counter for sequencer and notation counter
+ */
+ if(count_beats_audio_run->sequencer_hide_ref_counter == count_beats_audio_run->hide_ref){
+ gdouble loop_end;
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(count_beats_audio->sequencer_loop_end, &value);
+
+ loop_end = g_value_get_double(&value);
+
+ // g_message("sequencer: tic\0");
+ if(count_beats_audio_run->first_run){
+ count_beats_audio_run->first_run = FALSE;
+ }
+
+ if(loop){
+ if(count_beats_audio_run->sequencer_counter >= (guint) loop_end - 1.0){
+ count_beats_audio_run->sequencer_counter = 0;
+ }else{
+ count_beats_audio_run->sequencer_counter += 1;
+ }
+ }else{
+ if(count_beats_audio_run->sequencer_counter >= (guint) loop_end - 1.0){
+ AgsAudio *audio;
+ GList *devout_play;
+
+ count_beats_audio_run->sequencer_counter = 0;
+
+ audio = AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio->audio;
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+
+ /* emit stop signals */
+ ags_count_beats_audio_run_sequencer_stop(count_beats_audio_run,
+ run_order);
+
+ /* set done flag in devout play */
+ while(devout_play != NULL){
+ if(AGS_DEVOUT_PLAY(devout_play->data)->recall_id[1] != NULL &&
+ AGS_DEVOUT_PLAY(devout_play->data)->recall_id[1]->recycling_container == AGS_RECALL(count_beats_audio_run)->recall_id->recycling_container){
+ AgsChannel *channel;
+ AgsStreamChannelRun *stream_channel_run;
+ GList *list;
+ GList *recall_recycling_list, *recall_audio_signal_list;
+ gboolean found;
+
+ AGS_DEVOUT_PLAY(devout_play->data)->flags |= AGS_DEVOUT_PLAY_DONE;
+
+ /* check if to stop audio processing */
+ channel = audio->output;
+ found = FALSE;
+
+ list = channel->play;
+
+ list = ags_recall_find_type_with_recycling_container(list,
+ AGS_TYPE_STREAM_CHANNEL_RUN,
+ AGS_RECALL(count_beats_audio_run)->recall_id->recycling_container);
+
+ if(list != NULL){
+ stream_channel_run = AGS_STREAM_CHANNEL_RUN(list->data);
+
+ recall_recycling_list = AGS_RECALL(stream_channel_run)->children;
+
+ while(recall_recycling_list != NULL){
+ recall_audio_signal_list = AGS_RECALL(recall_recycling_list->data)->children;
+
+ while(recall_audio_signal_list != NULL){
+ found = TRUE;
+
+ g_signal_connect_after(G_OBJECT(recall_audio_signal_list->data), "done\0",
+ G_CALLBACK(ags_count_beats_audio_run_stream_audio_signal_done_callback), AGS_RECALL(count_beats_audio_run));
+
+ recall_audio_signal_list = recall_audio_signal_list->next;
+ }
+
+ recall_recycling_list = recall_recycling_list->next;
+ }
+ }
+
+ /* stop audio processing*/
+ if(!found){
+ ags_count_beats_audio_run_stop(count_beats_audio_run,
+ FALSE);
+ }
+
+ break;
+ }
+
+ devout_play = devout_play->next;
+ }
+
+ return;
+ }
+
+ count_beats_audio_run->sequencer_counter += 1;
+ }
+
+ count_beats_audio_run->sequencer_hide_ref_counter = 0;
+ }
+}
+
+void
+ags_count_beats_audio_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "xpath\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(AGS_IS_DELAY_AUDIO_RUN(id_ref->ref)){
+ g_object_set(G_OBJECT(recall),
+ "delay-audio-run\0", AGS_DELAY_AUDIO_RUN(id_ref->ref),
+ NULL);
+ }
+}
+
+void
+ags_count_beats_audio_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file,
+ AGS_COUNT_BEATS_AUDIO_RUN(file_lookup->ref)->delay_audio_run);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "xpath\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+}
+
+void
+ags_count_beats_audio_run_stream_audio_signal_done_callback(AgsRecall *recall,
+ AgsCountBeatsAudioRun *count_beats_audio_run)
+{
+ AgsAudio *audio;
+ AgsChannel *channel;
+ AgsStreamChannelRun *stream_channel_run;
+ GList *list;
+ GList *recall_recycling_list, *recall_audio_signal_list;
+ gboolean found;
+
+ audio = AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio->audio;
+ channel = audio->output;
+
+ while((list = ags_recall_find_type_with_recycling_container(channel->play,
+ AGS_TYPE_STREAM_CHANNEL_RUN,
+ recall->recall_id->recycling_container)) == NULL){
+ channel = channel->next;
+ }
+
+ stream_channel_run = AGS_STREAM_CHANNEL_RUN(list->data);
+ found = FALSE;
+
+ recall_recycling_list = AGS_RECALL(count_beats_audio_run)->children;
+
+ while(recall_recycling_list != NULL){
+ recall_audio_signal_list = AGS_RECALL(recall_recycling_list->data)->children;
+
+ while(recall_audio_signal_list != NULL){
+ found = TRUE;
+ recall_audio_signal_list = recall_audio_signal_list->next;
+
+ break;
+ }
+
+ recall_recycling_list = recall_recycling_list->next;
+ }
+
+ /* stop audio processing*/
+ if(!found){
+ ags_count_beats_audio_run_stop(count_beats_audio_run,
+ FALSE);
+ }
+}
+
+void
+ags_count_beats_audio_run_stop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ gboolean notation)
+{
+ AgsAudioLoop *audio_loop;
+ AgsAudio *audio;
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+ GList *devout_play;
+ gboolean all_done;
+
+ audio = AGS_RECALL_AUDIO_RUN(count_beats_audio_run)->recall_audio->audio;
+ audio_loop = AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(audio->devout)->ags_main)->main_loop);
+
+ channel = audio->output;
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+
+ g_object_ref(count_beats_audio_run);
+
+ while(channel != NULL){
+ if(!notation){
+ recall_id = AGS_DEVOUT_PLAY(devout_play->data)->recall_id[1];
+
+ if(recall_id != NULL &&
+ count_beats_audio_run != NULL &&
+ AGS_RECALL(count_beats_audio_run)->recall_id->recycling_container == recall_id->recycling_container){
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_DONE;
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1] = NULL;
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags &= (~(AGS_DEVOUT_PLAY_SEQUENCER |
+ AGS_DEVOUT_PLAY_DONE));
+
+ ags_channel_tillrecycling_cancel(channel,
+ recall_id);
+ }
+ }else{
+ recall_id = AGS_DEVOUT_PLAY(devout_play->data)->recall_id[2];
+
+ if(recall_id != NULL &&
+ count_beats_audio_run != NULL &&
+ AGS_RECALL(count_beats_audio_run)->recall_id->recycling_container == recall_id->recycling_container){
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_DONE;
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2] = NULL;
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags &= (~(AGS_DEVOUT_PLAY_NOTATION |
+ AGS_DEVOUT_PLAY_DONE));
+
+ ags_channel_tillrecycling_cancel(channel,
+ recall_id);
+ }
+ }
+
+ channel = channel->next;
+ devout_play = devout_play->next;
+ }
+
+ ags_recall_done(count_beats_audio_run);
+
+ g_object_unref(count_beats_audio_run);
+
+ channel = audio->output;
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+ all_done = TRUE;
+
+ while(channel != NULL){
+ if(!notation){
+ if(AGS_DEVOUT_PLAY(devout_play->data)->recall_id[1] != NULL){
+ all_done = FALSE;
+ break;
+ }
+ }else{
+ if(AGS_DEVOUT_PLAY(devout_play->data)->recall_id[2] != NULL){
+ all_done = FALSE;
+ break;
+ }
+ }
+
+ channel = channel->next;
+ devout_play = devout_play->next;
+ }
+
+ if(all_done){
+ ags_audio_loop_remove_audio(audio_loop,
+ audio);
+ }
+}
+
+/**
+ * ags_count_beats_audio_run_new:
+ * @delay_audio_run: the #AgsDelayAudioRun dependency
+ *
+ * Creates an #AgsCountBeatsAudioRun
+ *
+ * Returns: a new #AgsCountBeatsAudioRun
+ *
+ * Since: 0.4
+ */
+AgsCountBeatsAudioRun*
+ags_count_beats_audio_run_new(AgsDelayAudioRun *delay_audio_run)
+{
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) g_object_new(AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ "delay_audio_run\0", delay_audio_run,
+ NULL);
+
+ return(count_beats_audio_run);
+}
diff --git a/src/ags/audio/recall/ags_count_beats_audio_run.h b/src/ags/audio/recall/ags_count_beats_audio_run.h
new file mode 100644
index 0000000..8117ffd
--- /dev/null
+++ b/src/ags/audio/recall/ags_count_beats_audio_run.h
@@ -0,0 +1,100 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COUNT_BEATS_AUDIO_RUN_H__
+#define __AGS_COUNT_BEATS_AUDIO_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_run.h>
+
+#include <ags/audio/recall/ags_delay_audio_run.h>
+
+#define AGS_TYPE_COUNT_BEATS_AUDIO_RUN (ags_count_beats_audio_run_get_type())
+#define AGS_COUNT_BEATS_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRun))
+#define AGS_COUNT_BEATS_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRun))
+#define AGS_IS_COUNT_BEATS_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN))
+#define AGS_IS_COUNT_BEATS_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_COUNT_BEATS_AUDIO_RUN))
+#define AGS_COUNT_BEATS_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_COUNT_BEATS_AUDIO_RUN, AgsCountBeatsAudioRunClass))
+
+typedef struct _AgsCountBeatsAudioRun AgsCountBeatsAudioRun;
+typedef struct _AgsCountBeatsAudioRunClass AgsCountBeatsAudioRunClass;
+
+struct _AgsCountBeatsAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ gboolean first_run;
+
+ guint notation_counter;
+ guint sequencer_counter;
+
+ guint recall_ref;
+
+ guint hide_ref;
+ guint notation_hide_ref_counter;
+ guint sequencer_hide_ref_counter;
+
+ gulong sequencer_alloc_output_handler;
+ gulong sequencer_count_handler;
+
+ gulong notation_alloc_output_handler;
+ gulong notation_count_handler;
+
+ AgsDelayAudioRun *delay_audio_run;
+};
+
+struct _AgsCountBeatsAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+
+ void (*notation_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*notation_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*notation_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+
+ void (*sequencer_start)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*sequencer_loop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+ void (*sequencer_stop)(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+};
+
+GType ags_count_beats_audio_run_get_type();
+
+void ags_count_beats_audio_run_notation_start(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+void ags_count_beats_audio_run_notation_loop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+void ags_count_beats_audio_run_notation_stop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+
+void ags_count_beats_audio_run_sequencer_start(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+void ags_count_beats_audio_run_sequencer_loop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+void ags_count_beats_audio_run_sequencer_stop(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order);
+
+AgsCountBeatsAudioRun* ags_count_beats_audio_run_new(AgsDelayAudioRun *delay_audio_run);
+
+#endif /*__AGS_COUNT_BEATS_AUDIO_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_delay_audio.c b/src/ags/audio/recall/ags_delay_audio.c
new file mode 100644
index 0000000..2fc7429
--- /dev/null
+++ b/src/ags/audio/recall/ags_delay_audio.c
@@ -0,0 +1,993 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_delay_audio.h>
+#include <ags/audio/recall/ags_delay_audio_run.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_tactable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/ags_config.h>
+
+void ags_delay_audio_class_init(AgsDelayAudioClass *delay_audio);
+void ags_delay_audio_tactable_interface_init(AgsTactableInterface *tactable);
+void ags_delay_audio_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_delay_audio_init(AgsDelayAudio *delay_audio);
+void ags_delay_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_delay_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_delay_audio_set_ports(AgsPlugin *plugin, GList *port);
+void ags_delay_audio_finalize(GObject *gobject);
+
+void ags_delay_audio_notify_devout_callback(GObject *gobject,
+ GParamSpec *pspec,
+ gpointer user_data);
+
+void ags_delay_audio_change_bpm(AgsTactable *tactable, gdouble bpm);
+void ags_delay_audio_change_tact(AgsTactable *tactable, gdouble tact);
+void ags_delay_audio_change_sequencer_duration(AgsTactable *tactable, gdouble duration);
+void ags_delay_audio_change_notation_duration(AgsTactable *tactable, gdouble duration);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_delay_audio
+ * @short_description: delay audio
+ * @title: AgsDelayAudio
+ * @section_id:
+ * @include: ags/audio/recall/ags_delay_audio.h
+ *
+ * The #AgsDelayAudio class provides ports to the effect processor.
+ */
+
+enum{
+ NOTATION_DURATION_CHANGED,
+ SEQUENCER_DURATION_CHANGED,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_NOTATION_DELAY,
+ PROP_SEQUENCER_DELAY,
+ PROP_TACT,
+ PROP_BPM,
+ PROP_SEQUENCER_DURATION,
+ PROP_NOTATION_DURATION,
+};
+
+static gpointer ags_delay_audio_parent_class = NULL;
+
+static guint delay_audio_signals[LAST_SIGNAL];
+
+static const gchar *ags_delay_audio_plugin_name = "ags-delay\0";
+static const gchar *ags_delay_audio_specifier[] = {
+ "./bpm[0]\0",
+ "./tact[0]\0",
+ "./sequencer_delay[0]\0",
+ "./notation_delay[0]\0",
+ "./sequencer_duration[0]\0",
+ "./notation_duration[0]\0"
+};
+static const gchar *ags_delay_audio_control_port[] = {
+ "1/6\0",
+ "2/6\0",
+ "3/6\0",
+ "4/6\0",
+ "5/6\0",
+ "6/6\0",
+};
+
+GType
+ags_delay_audio_get_type()
+{
+ static GType ags_type_delay_audio = 0;
+
+ if(!ags_type_delay_audio){
+ static const GTypeInfo ags_delay_audio_info = {
+ sizeof (AgsDelayAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_delay_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_audio */
+ sizeof (AgsDelayAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_delay_audio_init,
+ };
+
+ static const GInterfaceInfo ags_tactable_interface_info = {
+ (GInterfaceInitFunc) ags_delay_audio_tactable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_delay_audio_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_delay_audio = g_type_register_static(AGS_TYPE_RECALL_AUDIO,
+ "AgsDelayAudio\0",
+ &ags_delay_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_delay_audio,
+ AGS_TYPE_TACTABLE,
+ &ags_tactable_interface_info);
+
+ g_type_add_interface_static(ags_type_delay_audio,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_delay_audio);
+}
+
+void
+ags_delay_audio_class_init(AgsDelayAudioClass *delay_audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_delay_audio_parent_class = g_type_class_peek_parent(delay_audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) delay_audio;
+
+ gobject->set_property = ags_delay_audio_set_property;
+ gobject->get_property = ags_delay_audio_get_property;
+
+ gobject->finalize = ags_delay_audio_finalize;
+
+ /* properties */
+ /**
+ * AgsDelayAudio:bpm:
+ *
+ * The beats per minute.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("bpm\0",
+ "bpm of recall\0",
+ "The recall's bpm\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_BPM,
+ param_spec);
+
+ /**
+ * AgsDelayAudio:tact:
+ *
+ * The tact segmentation.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("tact\0",
+ "tact of recall\0",
+ "The recall's tact\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_TACT,
+ param_spec);
+
+ /**
+ * AgsDelayAudio:sequencer-delay:
+ *
+ * The sequencer's delay.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("sequencer-delay\0",
+ "sequencer-delay of recall\0",
+ "The delay of the sequencer\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SEQUENCER_DELAY,
+ param_spec);
+
+ /**
+ * AgsDelayAudio:notation-delay:
+ *
+ * The notation's delay.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("notation-delay\0",
+ "notation-delay of recall\0",
+ "The delay of the notation\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NOTATION_DELAY,
+ param_spec);
+
+ /**
+ * AgsDelayAudio:sequencer-duration:
+ *
+ * The sequencer's duration.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("sequencer-duration\0",
+ "sequencer-duration of recall\0",
+ "The duration of the sequencer\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_SEQUENCER_DURATION,
+ param_spec);
+
+ /**
+ * AgsDelayAudio:notation-duration:
+ *
+ * The notation's duration.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("notation-duration\0",
+ "notation-duration of recall\0",
+ "The duration of the notation\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NOTATION_DURATION,
+ param_spec);
+
+
+ /* signals */
+ /**
+ * AgsDelayAudio::notation-duration-changed:
+ * @delay_audio: the object to resolve
+ *
+ * The ::notation-duration-changed signal notifies about changed duration
+ * of notation.
+ */
+ delay_audio_signals[NOTATION_DURATION_CHANGED] =
+ g_signal_new("notation-duration-changed\0",
+ G_TYPE_FROM_CLASS(delay_audio),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioClass, notation_duration_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsDelayAudio::sequencer-duration-changed:
+ * @delay_audio: the object to resolve
+ *
+ * The ::sequencer-duration-changed signal notifies about changed duration
+ * of sequencer.
+ */
+ delay_audio_signals[SEQUENCER_DURATION_CHANGED] =
+ g_signal_new("sequencer-duration-changed\0",
+ G_TYPE_FROM_CLASS(delay_audio),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioClass, sequencer_duration_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_delay_audio_tactable_interface_init(AgsTactableInterface *tactable)
+{
+ tactable->change_sequencer_duration = ags_delay_audio_change_sequencer_duration;
+ tactable->change_notation_duration = ags_delay_audio_change_notation_duration;
+ tactable->change_tact = ags_delay_audio_change_tact;
+ tactable->change_bpm = ags_delay_audio_change_bpm;
+}
+
+void
+ags_delay_audio_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->set_ports = ags_delay_audio_set_ports;
+}
+
+void
+ags_delay_audio_init(AgsDelayAudio *delay_audio)
+{
+ AGS_RECALL(delay_audio)->name = "ags-delay\0";
+ AGS_RECALL(delay_audio)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(delay_audio)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(delay_audio)->xml_type = "ags-delay-audio\0";
+
+ g_signal_connect_after(delay_audio, "notify::devout",
+ G_CALLBACK(ags_delay_audio_notify_devout_callback), NULL);
+}
+
+void
+ags_delay_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsDelayAudio *delay_audio;
+
+ delay_audio = AGS_DELAY_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_BPM:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == delay_audio->bpm){
+ return;
+ }
+
+ if(delay_audio->bpm != NULL){
+ g_object_unref(G_OBJECT(delay_audio->bpm));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ delay_audio->bpm = port;
+ }
+ break;
+ case PROP_TACT:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == delay_audio->tact){
+ return;
+ }
+
+ if(delay_audio->tact != NULL){
+ g_object_unref(G_OBJECT(delay_audio->tact));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ delay_audio->tact = port;
+ }
+ break;
+ case PROP_NOTATION_DELAY:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == delay_audio->notation_delay){
+ return;
+ }
+
+ if(delay_audio->notation_delay != NULL){
+ g_object_unref(G_OBJECT(delay_audio->notation_delay));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ delay_audio->notation_delay = port;
+ }
+ break;
+ case PROP_SEQUENCER_DELAY:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == delay_audio->sequencer_delay){
+ return;
+ }
+
+ if(delay_audio->sequencer_delay != NULL){
+ g_object_unref(G_OBJECT(delay_audio->sequencer_delay));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ delay_audio->sequencer_delay = port;
+ }
+ break;
+ case PROP_NOTATION_DURATION:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == delay_audio->notation_duration){
+ return;
+ }
+
+ if(delay_audio->notation_duration != NULL){
+ g_object_unref(G_OBJECT(delay_audio->notation_duration));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ delay_audio->notation_duration = port;
+ }
+ break;
+ case PROP_SEQUENCER_DURATION:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == delay_audio->sequencer_duration){
+ return;
+ }
+
+ if(delay_audio->sequencer_duration != NULL){
+ g_object_unref(G_OBJECT(delay_audio->sequencer_duration));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ delay_audio->sequencer_duration = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_delay_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsDelayAudio *delay_audio;
+
+ delay_audio = AGS_DELAY_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_BPM:
+ g_value_set_object(value, delay_audio->bpm);
+ break;
+ case PROP_TACT:
+ g_value_set_object(value, delay_audio->tact);
+ break;
+ case PROP_NOTATION_DELAY:
+ g_value_set_object(value, delay_audio->notation_delay);
+ break;
+ case PROP_SEQUENCER_DELAY:
+ g_value_set_object(value, delay_audio->sequencer_delay);
+ break;
+ case PROP_NOTATION_DURATION:
+ g_value_set_object(value, delay_audio->notation_duration);
+ break;
+ case PROP_SEQUENCER_DURATION:
+ g_value_set_object(value, delay_audio->sequencer_duration);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_delay_audio_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./bpm[0]\0",
+ 8)){
+ g_object_set(G_OBJECT(plugin),
+ "bpm\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./tact[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "tact\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./notation-delay[0]\0",
+ 18)){
+ g_object_set(G_OBJECT(plugin),
+ "notation-delay\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./sequencer-delay[0]\0",
+ 19)){
+ g_object_set(G_OBJECT(plugin),
+ "sequencer-delay\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./notation-duration[0]\0",
+ 21)){
+ g_object_set(G_OBJECT(plugin),
+ "notation-duration\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./sequencer-duration[0]\0",
+ 22)){
+ g_object_set(G_OBJECT(plugin),
+ "sequencer-duration\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_delay_audio_finalize(GObject *gobject)
+{
+ AgsDelayAudio *delay_audio;
+
+ delay_audio = AGS_DELAY_AUDIO(gobject);
+
+ if(delay_audio->bpm != NULL){
+ g_object_unref(G_OBJECT(delay_audio->bpm));
+ }
+
+ if(delay_audio->tact != NULL){
+ g_object_unref(G_OBJECT(delay_audio->tact));
+ }
+
+ if(delay_audio->notation_delay != NULL){
+ g_object_unref(G_OBJECT(delay_audio->notation_delay));
+ }
+
+ if(delay_audio->sequencer_delay != NULL){
+ g_object_unref(G_OBJECT(delay_audio->sequencer_delay));
+ }
+
+ if(delay_audio->notation_duration != NULL){
+ g_object_unref(G_OBJECT(delay_audio->notation_duration));
+ }
+
+ if(delay_audio->sequencer_duration != NULL){
+ g_object_unref(G_OBJECT(delay_audio->sequencer_duration));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_delay_audio_parent_class)->finalize(gobject);
+}
+
+void
+ags_delay_audio_notify_devout_callback(GObject *gobject,
+ GParamSpec *pspec,
+ gpointer user_data)
+{
+ AgsDelayAudio *delay_audio;
+ GList *port;
+ guint buffer_size;
+ guint samplerate;
+
+ AgsDevout *devout;
+ gdouble bpm;
+ gdouble delay;
+
+ delay_audio = AGS_DELAY_AUDIO(gobject);
+
+ devout = AGS_RECALL(delay_audio)->devout;
+ port = NULL;
+
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+ bpm = devout->bpm;
+ delay = devout->delay[devout->tic_counter];
+
+ /* bpm */
+ delay_audio->bpm = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_delay_audio_plugin_name,
+ "specifier\0", ags_delay_audio_specifier[0],
+ "control-port\0", ags_delay_audio_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ delay_audio->bpm->port_value.ags_port_double = bpm;
+
+ port = g_list_prepend(port, delay_audio->bpm);
+
+ /* tact */
+ delay_audio->tact = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_delay_audio_plugin_name,
+ "specifier\0", ags_delay_audio_specifier[1],
+ "control-port\0", ags_delay_audio_control_port[1],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ delay_audio->tact->port_value.ags_port_double = AGS_DEVOUT_DEFAULT_TACT;
+
+ port = g_list_prepend(port, delay_audio->tact);
+
+ /* sequencer delay */
+ delay_audio->sequencer_delay = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_delay_audio_plugin_name,
+ "specifier\0", ags_delay_audio_specifier[2],
+ "control-port\0", ags_delay_audio_control_port[2],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ delay_audio->sequencer_delay->port_value.ags_port_double = delay;
+
+ port = g_list_prepend(port, delay_audio->sequencer_delay);
+
+ /* notation delay */
+ delay_audio->notation_delay = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_delay_audio_plugin_name,
+ "specifier\0", ags_delay_audio_specifier[3],
+ "control-port\0", ags_delay_audio_control_port[3],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ delay_audio->notation_delay->port_value.ags_port_double = delay;
+
+ port = g_list_prepend(port, delay_audio->notation_delay);
+
+ /* sequencer duration */
+ delay_audio->sequencer_duration = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_delay_audio_plugin_name,
+ "specifier\0", ags_delay_audio_specifier[4],
+ "control-port\0", ags_delay_audio_control_port[4],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ delay_audio->sequencer_duration->port_value.ags_port_double = ceil(16.0 * delay);
+
+ port = g_list_prepend(port, delay_audio->sequencer_duration);
+
+ /* notation duration */
+ delay_audio->notation_duration = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_delay_audio_plugin_name,
+ "specifier\0", ags_delay_audio_specifier[5],
+ "control-port\0", ags_delay_audio_control_port[5],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ delay_audio->notation_duration->port_value.ags_port_double = ceil(AGS_NOTATION_DEFAULT_DURATION * delay);
+
+ port = g_list_prepend(port, delay_audio->notation_duration);
+
+ /* */
+ AGS_RECALL(delay_audio)->port = port;
+}
+
+void
+ags_delay_audio_change_bpm(AgsTactable *tactable, gdouble new_bpm)
+{
+ AgsDevout *devout;
+ AgsDelayAudio *delay_audio;
+ gdouble old_bpm;
+ gdouble sequencer_delay, notation_delay;
+ gdouble sequencer_duration, notation_duration;
+ GValue value = {0,};
+
+ delay_audio = AGS_DELAY_AUDIO(tactable);
+
+ devout = AGS_DEVOUT(AGS_RECALL(delay_audio)->devout);
+
+ /* retrieve old bpm */
+ g_value_init(&value, G_TYPE_DOUBLE);
+
+ ags_port_safe_read(delay_audio->bpm, &value);
+ old_bpm = g_value_get_double(&value);
+
+ /* retrieve sequencer_delay */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->sequencer_delay, &value);
+ sequencer_delay = g_value_get_double(&value);
+
+ /* retrieve notation_delay */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->notation_delay, &value);
+ notation_delay = g_value_get_double(&value);
+
+ /* retrieve sequencer_duration */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->sequencer_duration, &value);
+ sequencer_duration = g_value_get_double(&value);
+
+ /* retrieve notation_duration */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->notation_duration, &value);
+ notation_duration = g_value_get_double(&value);
+
+ /* -- start adjust -- */
+ /* notation-delay */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, notation_delay * (old_bpm / new_bpm));
+ ags_port_safe_write(delay_audio->notation_delay, &value);
+
+ /* sequencer-delay */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, sequencer_delay * (old_bpm / new_bpm));
+ ags_port_safe_write(delay_audio->sequencer_delay, &value);
+
+ /**/
+ g_value_reset(&value);
+
+ g_value_set_double(&value, new_bpm);
+ ags_port_safe_write(delay_audio->bpm, &value);
+
+ /* notation-duration */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, notation_duration * (old_bpm / new_bpm));
+ ags_port_safe_write(delay_audio->notation_duration, &value);
+
+ /* sequencer-duration */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, sequencer_duration * (old_bpm / new_bpm));
+ ags_port_safe_write(delay_audio->sequencer_duration, &value);
+
+ /* -- finish adjust -- */
+
+ /* emit changed */
+ ags_delay_audio_sequencer_duration_changed(delay_audio);
+}
+
+void
+ags_delay_audio_change_tact(AgsTactable *tactable, gdouble new_tact)
+{
+ AgsDevout *devout;
+ AgsDelayAudio *delay_audio;
+ gdouble old_tact;
+ gdouble sequencer_delay, notation_delay;
+ gdouble sequencer_duration, notation_duration;
+ gdouble factor;
+ GValue value = {0,};
+
+ delay_audio = AGS_DELAY_AUDIO(tactable);
+
+ devout = AGS_DEVOUT(AGS_RECALL(delay_audio)->devout);
+
+ /* retrieve old tact */
+ g_value_init(&value, G_TYPE_DOUBLE);
+
+ ags_port_safe_read(delay_audio->tact, &value);
+ old_tact = g_value_get_double(&value);
+
+ /* retrieve sequencer_delay */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->sequencer_delay, &value);
+ sequencer_delay = g_value_get_double(&value);
+
+ /* retrieve notation_delay */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->notation_delay, &value);
+ notation_delay = g_value_get_double(&value);
+
+ /* retrieve sequencer_duration */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->sequencer_duration, &value);
+ sequencer_duration = g_value_get_double(&value);
+
+ /* retrieve notation_duration */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->notation_duration, &value);
+ notation_duration = g_value_get_double(&value);
+
+ /* -- start adjust -- */
+ factor = (new_tact / old_tact);
+
+ /* notation-delay */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, notation_delay * factor);
+ ags_port_safe_write(delay_audio->notation_delay, &value);
+
+ /* sequencer-delay */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, sequencer_delay * factor);
+ ags_port_safe_write(delay_audio->sequencer_delay, &value);
+
+ /**/
+ g_value_reset(&value);
+
+ g_value_set_double(&value, new_tact);
+ ags_port_safe_write(delay_audio->tact, &value);
+
+ /* notation-duration */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, notation_duration * factor);
+ ags_port_safe_write(delay_audio->notation_duration, &value);
+
+ /* sequencer-duration */
+ g_value_reset(&value);
+
+ g_value_set_double(&value, sequencer_duration * factor);
+ ags_port_safe_write(delay_audio->sequencer_duration, &value);
+
+ /* -- finish adjust -- */
+
+ /* emit changed */
+ ags_delay_audio_sequencer_duration_changed(delay_audio);
+}
+
+void
+ags_delay_audio_change_sequencer_duration(AgsTactable *tactable, gdouble duration)
+{
+ AgsDelayAudio *delay_audio;
+ guint buffer_size;
+ guint samplerate;
+ gdouble delay;
+ GValue value = {0,};
+
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ delay = ((gdouble) samplerate / (gdouble) buffer_size) * (60.0 / AGS_DEVOUT_DEFAULT_BPM);
+
+ delay_audio = AGS_DELAY_AUDIO(tactable);
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ g_value_set_double(&value, duration * delay * AGS_DEVOUT_DEFAULT_SCALE);
+ ags_port_safe_write(delay_audio->sequencer_duration,
+ &value);
+}
+
+void
+ags_delay_audio_change_notation_duration(AgsTactable *tactable, gdouble duration)
+{
+ AgsDelayAudio *delay_audio;
+ guint buffer_size;
+ guint samplerate;
+ gdouble delay;
+ GValue value = {0,};
+
+ delay_audio = AGS_DELAY_AUDIO(tactable);
+
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ delay = ((gdouble) samplerate / (gdouble) buffer_size) * (60.0 / AGS_DEVOUT_DEFAULT_BPM);
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ g_value_set_double(&value, duration * delay * AGS_DEVOUT_DEFAULT_SCALE);
+ ags_port_safe_write(delay_audio->notation_duration,
+ &value);
+}
+
+/**
+ * ags_delay_audio_new:
+ * @delay_audio: the #AgsDelayAudio
+ *
+ * Notation duration changed of #AgsDelayAudio
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_notation_duration_changed(AgsDelayAudio *delay_audio)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO(delay_audio));
+
+ g_object_ref((GObject *) delay_audio);
+ g_signal_emit(G_OBJECT(delay_audio),
+ delay_audio_signals[NOTATION_DURATION_CHANGED], 0);
+ g_object_unref((GObject *) delay_audio);
+}
+
+/**
+ * ags_delay_audio_new:
+ * @delay_audio: the #AgsDelayAudio
+ *
+ * Sequencer duration changed of #AgsDelayAudio
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_sequencer_duration_changed(AgsDelayAudio *delay_audio)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO(delay_audio));
+
+ g_object_ref((GObject *) delay_audio);
+ g_signal_emit(G_OBJECT(delay_audio),
+ delay_audio_signals[SEQUENCER_DURATION_CHANGED], 0);
+ g_object_unref((GObject *) delay_audio);
+}
+
+/**
+ * ags_delay_audio_new:
+ *
+ * Creates an #AgsDelayAudio
+ *
+ * Returns: a new #AgsDelayAudio
+ *
+ * Since: 0.4
+ */
+AgsDelayAudio*
+ags_delay_audio_new()
+{
+ AgsDelayAudio *delay_audio;
+
+ delay_audio = (AgsDelayAudio *) g_object_new(AGS_TYPE_DELAY_AUDIO,
+ NULL);
+
+ return(delay_audio);
+}
diff --git a/src/ags/audio/recall/ags_delay_audio.h b/src/ags/audio/recall/ags_delay_audio.h
new file mode 100644
index 0000000..a04f7ea
--- /dev/null
+++ b/src/ags/audio/recall/ags_delay_audio.h
@@ -0,0 +1,66 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DELAY_AUDIO_H__
+#define __AGS_DELAY_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio.h>
+
+#define AGS_TYPE_DELAY_AUDIO (ags_delay_audio_get_type())
+#define AGS_DELAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DELAY_AUDIO, AgsDelayAudio))
+#define AGS_DELAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DELAY_AUDIO, AgsDelayAudio))
+#define AGS_IS_DELAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DELAY_AUDIO))
+#define AGS_IS_DELAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DELAY_AUDIO))
+#define AGS_DELAY_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_DELAY_AUDIO, AgsDelayAudioClass))
+
+typedef struct _AgsDelayAudio AgsDelayAudio;
+typedef struct _AgsDelayAudioClass AgsDelayAudioClass;
+
+struct _AgsDelayAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *bpm;
+ AgsPort *tact;
+
+ AgsPort *notation_delay;
+ AgsPort *sequencer_delay;
+
+ AgsPort *sequencer_duration;
+ AgsPort *notation_duration;
+};
+
+struct _AgsDelayAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+
+ void (*notation_duration_changed)(AgsDelayAudio *delay_audio);
+ void (*sequencer_duration_changed)(AgsDelayAudio *delay_audio);
+};
+
+GType ags_delay_audio_get_type();
+
+void ags_delay_audio_notation_duration_changed(AgsDelayAudio *delay_audio);
+void ags_delay_audio_sequencer_duration_changed(AgsDelayAudio *delay_audio);
+
+AgsDelayAudio* ags_delay_audio_new();
+
+#endif /*__AGS_DELAY_AUDIO_H__*/
diff --git a/src/ags/audio/recall/ags_delay_audio_run.c b/src/ags/audio/recall/ags_delay_audio_run.c
new file mode 100644
index 0000000..5a6bee5
--- /dev/null
+++ b/src/ags/audio/recall/ags_delay_audio_run.c
@@ -0,0 +1,806 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_delay_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <stdlib.h>
+#include <math.h>
+
+void ags_delay_audio_run_class_init(AgsDelayAudioRunClass *delay_audio_run);
+void ags_delay_audio_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_delay_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_delay_audio_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_delay_audio_run_init(AgsDelayAudioRun *delay_audio_run);
+void ags_delay_audio_run_connect(AgsConnectable *connectable);
+void ags_delay_audio_run_disconnect(AgsConnectable *connectable);
+void ags_delay_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_delay_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_delay_audio_run_finalize(GObject *gobject);
+
+void ags_delay_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_delay_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_delay_audio_run_run_init_pre(AgsRecall *recall);
+void ags_delay_audio_run_run_pre(AgsRecall *recall);
+void ags_delay_audio_run_done(AgsRecall *recall);
+void ags_delay_audio_run_cancel(AgsRecall *recall);
+void ags_delay_audio_run_remove(AgsRecall *recall);
+AgsRecall* ags_delay_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+void ags_delay_audio_run_notify_dependency(AgsRecall *recall, guint notify_mode, gint count);
+
+/**
+ * SECTION:ags_delay_audio_run
+ * @short_description: delay
+ * @title: AgsDelayAudioRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_delay_audio_run.h
+ *
+ * The #AgsDelayNotationAudioRun class delays.
+ */
+
+enum{
+ NOTATION_ALLOC_OUTPUT,
+ NOTATION_ALLOC_INPUT,
+ NOTATION_COUNT,
+ SEQUENCER_ALLOC_OUTPUT,
+ SEQUENCER_ALLOC_INPUT,
+ SEQUENCER_COUNT,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_delay_audio_run_parent_class = NULL;
+static AgsConnectableInterface *ags_delay_audio_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_delay_audio_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_delay_audio_run_parent_plugin_interface;
+
+static guint delay_audio_run_signals[LAST_SIGNAL];
+
+GType
+ags_delay_audio_run_get_type()
+{
+ static GType ags_type_delay_audio_run = 0;
+
+ if(!ags_type_delay_audio_run){
+ static const GTypeInfo ags_delay_audio_run_info = {
+ sizeof (AgsDelayAudioRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_delay_audio_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsDelayAudioRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_delay_audio_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_delay_audio_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_delay_audio_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_delay_audio_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_delay_audio_run = g_type_register_static(AGS_TYPE_RECALL_AUDIO_RUN,
+ "AgsDelayAudioRun\0",
+ &ags_delay_audio_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_delay_audio_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_delay_audio_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_delay_audio_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_delay_audio_run);
+}
+
+void
+ags_delay_audio_run_class_init(AgsDelayAudioRunClass *delay_audio_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_delay_audio_run_parent_class = g_type_class_peek_parent(delay_audio_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) delay_audio_run;
+
+ gobject->finalize = ags_delay_audio_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) delay_audio_run;
+
+ recall->run_init_pre = ags_delay_audio_run_run_init_pre;
+ recall->run_pre = ags_delay_audio_run_run_pre;
+ recall->done = ags_delay_audio_run_done;
+ recall->cancel = ags_delay_audio_run_cancel;
+ recall->remove = ags_delay_audio_run_remove;
+ recall->duplicate = ags_delay_audio_run_duplicate;
+ recall->notify_dependency = ags_delay_audio_run_notify_dependency;
+
+ /* AgsDelayAudioRun */
+ delay_audio_run->notation_alloc_output = NULL;
+ delay_audio_run->notation_alloc_input = NULL;
+ delay_audio_run->notation_count = NULL;
+
+ delay_audio_run->sequencer_alloc_output = NULL;
+ delay_audio_run->sequencer_alloc_input = NULL;
+ delay_audio_run->sequencer_count = NULL;
+
+ /* signals */
+ /**
+ * AgsDelayAudioRun::notation-alloc-output:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * The ::notation-alloc-output signal is emited while allocating
+ * notation output.
+ */
+ delay_audio_run_signals[NOTATION_ALLOC_OUTPUT] =
+ g_signal_new("notation-alloc-output\0",
+ G_TYPE_FROM_CLASS(delay_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioRunClass, notation_alloc_output),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_UINT,
+ G_TYPE_DOUBLE, G_TYPE_UINT);
+
+ /**
+ * AgsDelayAudioRun::notation-alloc-input:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * The ::notation-alloc-input signal is emited while allocating
+ * notation input.
+ */
+ delay_audio_run_signals[NOTATION_ALLOC_INPUT] =
+ g_signal_new("notation-alloc-input\0",
+ G_TYPE_FROM_CLASS(delay_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioRunClass, notation_alloc_input),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_UINT,
+ G_TYPE_DOUBLE, G_TYPE_UINT);
+
+ /**
+ * AgsDelayAudioRun::notation-count:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * The ::notation-count signal is emited while counting
+ * notation.
+ */
+ delay_audio_run_signals[NOTATION_COUNT] =
+ g_signal_new("notation-count\0",
+ G_TYPE_FROM_CLASS(delay_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioRunClass, notation_count),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_UINT,
+ G_TYPE_DOUBLE, G_TYPE_UINT);
+
+ /**
+ * AgsDelayAudioRun::sequencer-alloc-output:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * The ::sequencer-alloc-output signal is emited while allocating
+ * sequencer output.
+ */
+ delay_audio_run_signals[SEQUENCER_ALLOC_OUTPUT] =
+ g_signal_new("sequencer-alloc-output\0",
+ G_TYPE_FROM_CLASS(delay_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioRunClass, sequencer_alloc_output),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_UINT,
+ G_TYPE_DOUBLE, G_TYPE_UINT);
+
+ /**
+ * AgsDelayAudioRun::sequencer-alloc-input:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * The ::sequencer-alloc-input signal is emited while allocating
+ * sequencer input.
+ */
+ delay_audio_run_signals[SEQUENCER_ALLOC_INPUT] =
+ g_signal_new("sequencer-alloc-input\0",
+ G_TYPE_FROM_CLASS(delay_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioRunClass, sequencer_alloc_input),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_UINT,
+ G_TYPE_DOUBLE, G_TYPE_UINT);
+
+ /**
+ * AgsDelayAudioRun::sequencer-count:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * The ::sequencer-count signal is emited while counting
+ * sequencer.
+ */
+ delay_audio_run_signals[SEQUENCER_COUNT] =
+ g_signal_new("sequencer-count\0",
+ G_TYPE_FROM_CLASS(delay_audio_run),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsDelayAudioRunClass, sequencer_count),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT,
+ G_TYPE_NONE, 3,
+ G_TYPE_UINT,
+ G_TYPE_DOUBLE, G_TYPE_UINT);
+
+}
+
+void
+ags_delay_audio_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_delay_audio_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_delay_audio_run_connect;
+ connectable->disconnect = ags_delay_audio_run_disconnect;
+}
+
+void
+ags_delay_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_delay_audio_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_delay_audio_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_delay_audio_run_disconnect_dynamic;
+}
+
+void
+ags_delay_audio_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_delay_audio_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->read = ags_delay_audio_run_read;
+ plugin->write = ags_delay_audio_run_write;
+}
+
+void
+ags_delay_audio_run_init(AgsDelayAudioRun *delay_audio_run)
+{
+ AGS_RECALL(delay_audio_run)->flags |= AGS_RECALL_PERSISTENT;
+
+ AGS_RECALL(delay_audio_run)->name = "ags-delay\0";
+ AGS_RECALL(delay_audio_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(delay_audio_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(delay_audio_run)->xml_type = "ags-delay-audio-run\0";
+ AGS_RECALL(delay_audio_run)->port = NULL;
+
+ delay_audio_run->dependency_ref = 0;
+
+ delay_audio_run->hide_ref = 0;
+ delay_audio_run->hide_ref_counter = 0;
+
+ delay_audio_run->notation_counter = 0;
+ delay_audio_run->sequencer_counter = 0;
+}
+
+void
+ags_delay_audio_run_connect(AgsConnectable *connectable)
+{
+ ags_delay_audio_run_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_delay_audio_run_disconnect(AgsConnectable *connectable)
+{
+ ags_delay_audio_run_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_delay_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_delay_audio_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_delay_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_delay_audio_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+void
+ags_delay_audio_run_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_delay_audio_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_delay_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *iter;
+
+ /* read parent */
+ ags_delay_audio_run_parent_plugin_interface->read(file, node, plugin);
+}
+
+xmlNode*
+ags_delay_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ xmlNode *dependency_node;
+ GList *list;
+ gchar *id;
+
+ /* write parent */
+ node = ags_delay_audio_run_parent_plugin_interface->write(file, parent, plugin);
+
+ return(node);
+}
+
+void
+ags_delay_audio_run_run_init_pre(AgsRecall *recall)
+{
+ AgsDevout *devout;
+ AgsDelayAudio *delay_audio;
+ AgsDelayAudioRun *delay_audio_run;
+
+ /* call parent class */
+ AGS_RECALL_CLASS(ags_delay_audio_run_parent_class)->run_init_pre(recall);
+
+ /* AgsDelayAudioRun */
+ delay_audio = AGS_DELAY_AUDIO(AGS_RECALL_AUDIO_RUN(recall)->recall_audio);
+ delay_audio_run = AGS_DELAY_AUDIO_RUN(recall);
+
+ devout = AGS_DEVOUT(AGS_RECALL_AUDIO(delay_audio)->audio->devout);
+
+ /* run order */
+ delay_audio_run->hide_ref_counter = 0;
+}
+
+void
+ags_delay_audio_run_run_pre(AgsRecall *recall)
+{
+ AgsDelayAudio *delay_audio;
+ AgsDelayAudioRun *delay_audio_run;
+ gdouble notation_delay, sequencer_delay;
+ GValue value = { 0, };
+
+ AGS_RECALL_CLASS(ags_delay_audio_run_parent_class)->run_pre(recall);
+
+ delay_audio_run = AGS_DELAY_AUDIO_RUN(recall);
+
+ if((AGS_RECALL_PERSISTENT & (recall->flags)) == 0 &&
+ delay_audio_run->dependency_ref == 0){
+ delay_audio_run->notation_counter = 0;
+ delay_audio_run->sequencer_counter = 0;
+
+ ags_recall_done(recall);
+
+ return;
+ }
+
+ delay_audio = AGS_DELAY_AUDIO(AGS_RECALL_AUDIO_RUN(delay_audio_run)->recall_audio);
+
+ /* read notation-delay port */
+ g_value_init(&value, G_TYPE_DOUBLE);
+
+ ags_port_safe_read(delay_audio->notation_delay, &value);
+
+ notation_delay = g_value_get_double(&value);
+
+ /* read sequencer-delay port */
+ g_value_reset(&value);
+
+ ags_port_safe_read(delay_audio->sequencer_delay, &value);
+
+ sequencer_delay = g_value_get_double(&value);
+
+ if(delay_audio_run->hide_ref != 0){
+ delay_audio_run->hide_ref_counter += 1;
+
+ if(delay_audio_run->hide_ref_counter == delay_audio_run->hide_ref){
+ delay_audio_run->hide_ref_counter = 0;
+
+ if(delay_audio_run->notation_counter + 1 >= (guint) notation_delay){
+ delay_audio_run->notation_counter = 0;
+ }else{
+ delay_audio_run->notation_counter += 1;
+ }
+
+ if(delay_audio_run->sequencer_counter + 1 >= (guint) sequencer_delay){
+ delay_audio_run->sequencer_counter = 0;
+ }else{
+ delay_audio_run->sequencer_counter += 1;
+ }
+ }
+ }
+
+ if(delay_audio_run->notation_counter == 0 &&
+ delay_audio_run->hide_ref_counter == 0){
+ AgsDevout *devout;
+ guint run_order;
+ gdouble delay;
+ guint attack;
+
+ devout = AGS_DEVOUT(AGS_RECALL_AUDIO(delay_audio)->audio->devout);
+
+ run_order = delay_audio_run->hide_ref_counter;
+
+ /* delay and attack */
+ //TODO:JK: unclear
+ attack = 0; // devout->attack[((devout->tic_counter + 1 == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // devout->tic_counter + 1)];
+
+ delay = 0.0; // devout->delay[((devout->tic_counter + 1 == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // devout->tic_counter + 1)];
+
+ // g_message("ags_delay_audio_run_run_pre@%llu: alloc notation[%u]\0",
+ // delay_audio_run,
+ // run_order);
+
+ /* notation speed */
+ ags_delay_audio_run_notation_alloc_output(delay_audio_run,
+ run_order,
+ delay, attack);
+ ags_delay_audio_run_notation_alloc_input(delay_audio_run,
+ run_order,
+ delay, attack);
+ ags_delay_audio_run_notation_count(delay_audio_run,
+ run_order,
+ delay, attack);
+ }
+
+ if(delay_audio_run->sequencer_counter == 0 &&
+ delay_audio_run->hide_ref_counter == 0){
+ AgsDevout *devout;
+ guint run_order;
+ gdouble delay;
+ guint attack;
+
+ devout = AGS_DEVOUT(AGS_RECALL_AUDIO(delay_audio)->audio->devout);
+
+ /* delay and attack */
+ //TODO:JK: unclear
+ attack = 0; // devout->attack[((devout->tic_counter + 1 == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // devout->tic_counter + 1)];
+ delay = 0.0; // devout->delay[((devout->tic_counter + 1 == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // devout->tic_counter + 1)];
+
+ run_order = delay_audio_run->hide_ref_counter;
+
+ // g_message("ags_delay_audio_run_run_pre@%llu: alloc sequencer[%u]\0",
+ // delay_audio_run,
+ // run_order);
+
+ /* sequencer speed */
+ ags_delay_audio_run_sequencer_alloc_output(delay_audio_run,
+ run_order,
+ delay, attack);
+
+ ags_delay_audio_run_sequencer_alloc_input(delay_audio_run,
+ run_order,
+ delay, attack);
+ ags_delay_audio_run_sequencer_count(delay_audio_run,
+ run_order,
+ delay, attack);
+ }
+}
+
+void
+ags_delay_audio_run_done(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_delay_audio_run_parent_class)->done(recall);
+
+ /* empty */
+}
+
+void
+ags_delay_audio_run_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_delay_audio_run_parent_class)->cancel(recall);
+
+ /* empty */
+}
+
+void
+ags_delay_audio_run_remove(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_delay_audio_run_parent_class)->remove(recall);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_delay_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsDelayAudioRun *delay_audio_run, *copy;
+
+ delay_audio_run = (AgsDelayAudioRun *) recall;
+ copy = (AgsDelayAudioRun *) AGS_RECALL_CLASS(ags_delay_audio_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ copy->dependency_ref = delay_audio_run->dependency_ref;
+
+ copy->hide_ref = delay_audio_run->hide_ref;
+ copy->hide_ref_counter = delay_audio_run->hide_ref_counter;
+
+ //TODO:JK: may be you want to make a AgsRecallDependency, but a AgsCountable isn't a AgsRecall at all
+ copy->notation_counter = delay_audio_run->notation_counter;
+ copy->sequencer_counter = delay_audio_run->sequencer_counter;
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_delay_audio_run_notify_dependency(AgsRecall *recall, guint notify_mode, gint count)
+{
+ AgsDelayAudioRun *delay_audio_run;
+
+ delay_audio_run = AGS_DELAY_AUDIO_RUN(recall);
+
+ switch(notify_mode){
+ case AGS_RECALL_NOTIFY_RUN:
+ delay_audio_run->hide_ref += count;
+ g_message("delay_audio_run->hide_ref: %u\n\0", delay_audio_run->hide_ref);
+ break;
+ case AGS_RECALL_NOTIFY_AUDIO:
+ break;
+ case AGS_RECALL_NOTIFY_AUDIO_RUN:
+ break;
+ case AGS_RECALL_NOTIFY_CHANNEL:
+ break;
+ case AGS_RECALL_NOTIFY_CHANNEL_RUN:
+ delay_audio_run->dependency_ref += count;
+
+ break;
+ default:
+ g_message("ags_delay_audio_run.c - ags_delay_audio_run_notify: unknown notify\0");
+ }
+}
+
+/**
+ * ags_delay_audio_run_notation_alloc_output:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * Emitted as notation allocs output.
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_run_notation_alloc_output(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO_RUN(delay_audio_run));
+
+ g_object_ref(G_OBJECT(delay_audio_run));
+ g_signal_emit(G_OBJECT(delay_audio_run),
+ delay_audio_run_signals[NOTATION_ALLOC_OUTPUT], 0,
+ run_order, attack);
+ g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+/**
+ * ags_delay_audio_run_notation_alloc_input:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * Emitted as notation allocs output.
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_run_notation_alloc_input(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO_RUN(delay_audio_run));
+
+ g_object_ref(G_OBJECT(delay_audio_run));
+ g_signal_emit(G_OBJECT(delay_audio_run),
+ delay_audio_run_signals[NOTATION_ALLOC_INPUT], 0,
+ run_order, attack);
+ g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+/**
+ * ags_delay_audio_run_notation_count:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * Emitted as notation counts.
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_run_notation_count(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO_RUN(delay_audio_run));
+
+ g_object_ref(G_OBJECT(delay_audio_run));
+ g_signal_emit(G_OBJECT(delay_audio_run),
+ delay_audio_run_signals[NOTATION_COUNT], 0,
+ run_order, attack);
+ g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+/**
+ * ags_delay_audio_run_sequencer_alloc_output:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * Emitted as sequencer allocs output.
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_run_sequencer_alloc_output(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO_RUN(delay_audio_run));
+
+ g_object_ref(G_OBJECT(delay_audio_run));
+ g_signal_emit(G_OBJECT(delay_audio_run),
+ delay_audio_run_signals[SEQUENCER_ALLOC_OUTPUT], 0,
+ run_order,
+ delay, attack);
+ g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+/**
+ * ags_delay_audio_run_sequencer_alloc_input:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * Emitted as sequencer allocs output.
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_run_sequencer_alloc_input(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO_RUN(delay_audio_run));
+
+ g_object_ref(G_OBJECT(delay_audio_run));
+ g_signal_emit(G_OBJECT(delay_audio_run),
+ delay_audio_run_signals[SEQUENCER_ALLOC_INPUT], 0,
+ run_order,
+ delay, attack);
+ g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+/**
+ * ags_delay_audio_run_sequencer_count:
+ * @delay_audio_run: the #AgsDelayAudioRun
+ * @run_order: the nth run
+ * @delay: the delay
+ * @attack: the attack
+ *
+ * Emitted as sequencer counts.
+ *
+ * Since: 0.4
+ */
+void
+ags_delay_audio_run_sequencer_count(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack)
+{
+ g_return_if_fail(AGS_IS_DELAY_AUDIO_RUN(delay_audio_run));
+
+ g_object_ref(G_OBJECT(delay_audio_run));
+ g_signal_emit(G_OBJECT(delay_audio_run),
+ delay_audio_run_signals[SEQUENCER_COUNT], 0,
+ run_order,
+ delay, attack);
+ g_object_unref(G_OBJECT(delay_audio_run));
+}
+
+/**
+ * ags_delay_audio_run_new:
+ *
+ * Creates an #AgsDelayAudioRun
+ *
+ * Returns: a new #AgsDelayAudioRun
+ *
+ * Since: 0.4
+ */
+AgsDelayAudioRun*
+ags_delay_audio_run_new()
+{
+ AgsDelayAudioRun *delay_audio_run;
+
+ delay_audio_run = (AgsDelayAudioRun *) g_object_new(AGS_TYPE_DELAY_AUDIO_RUN,
+ NULL);
+
+ return(delay_audio_run);
+}
diff --git a/src/ags/audio/recall/ags_delay_audio_run.h b/src/ags/audio/recall/ags_delay_audio_run.h
new file mode 100644
index 0000000..4d077d5
--- /dev/null
+++ b/src/ags/audio/recall/ags_delay_audio_run.h
@@ -0,0 +1,87 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DELAY_AUDIO_RUN_H__
+#define __AGS_DELAY_AUDIO_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_run.h>
+
+#define AGS_TYPE_DELAY_AUDIO_RUN (ags_delay_audio_run_get_type())
+#define AGS_DELAY_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DELAY_AUDIO_RUN, AgsDelayAudioRun))
+#define AGS_DELAY_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DELAY_AUDIO_RUN, AgsDelayAudioRun))
+#define AGS_IS_DELAY_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DELAY_AUDIO_RUN))
+#define AGS_IS_DELAY_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DELAY_AUDIO_RUN))
+#define AGS_DELAY_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DELAY_AUDIO_RUN, AgsDelayAudioRunClass))
+
+typedef struct _AgsDelayAudioRun AgsDelayAudioRun;
+typedef struct _AgsDelayAudioRunClass AgsDelayAudioRunClass;
+
+struct _AgsDelayAudioRun
+{
+ AgsRecallAudioRun recall_audio_run;
+
+ guint dependency_ref;
+
+ guint hide_ref;
+ guint hide_ref_counter;
+
+ guint notation_counter;
+ guint sequencer_counter;
+};
+
+struct _AgsDelayAudioRunClass
+{
+ AgsRecallAudioRunClass recall_audio_run;
+
+ void (*notation_alloc_output)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+ void (*notation_alloc_input)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+ void (*notation_count)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+
+ void (*sequencer_alloc_output)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+ void (*sequencer_alloc_input)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+ void (*sequencer_count)(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+};
+
+GType ags_delay_audio_run_get_type();
+
+void ags_delay_audio_run_notation_alloc_output(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+void ags_delay_audio_run_notation_alloc_input(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+void ags_delay_audio_run_notation_count(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+
+void ags_delay_audio_run_sequencer_alloc_output(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+void ags_delay_audio_run_sequencer_alloc_input(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+void ags_delay_audio_run_sequencer_count(AgsDelayAudioRun *delay_audio_run, guint run_order,
+ gdouble delay, guint attack);
+
+AgsDelayAudioRun* ags_delay_audio_run_new();
+
+#endif /*__AGS_DELAY_AUDIO_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_down_mix.h b/src/ags/audio/recall/ags_down_mix.h
new file mode 100644
index 0000000..ceec949
--- /dev/null
+++ b/src/ags/audio/recall/ags_down_mix.h
@@ -0,0 +1,24 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DOWN_MIX_H__
+#define __AGS_DOWN_MIX_H__
+
+#include <glib.h>
+
+#endif /*__AGS_DOWN_MIX_H__*/
diff --git a/src/ags/audio/recall/ags_echo.c b/src/ags/audio/recall/ags_echo.c
new file mode 100644
index 0000000..4edb9f0
--- /dev/null
+++ b/src/ags/audio/recall/ags_echo.c
@@ -0,0 +1,27 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_echo.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+void
+ags_echo(AgsRecall *recall)
+{
+}
+
diff --git a/src/ags/audio/recall/ags_echo.h b/src/ags/audio/recall/ags_echo.h
new file mode 100644
index 0000000..d713828
--- /dev/null
+++ b/src/ags/audio/recall/ags_echo.h
@@ -0,0 +1,30 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ECHO_H__
+#define __AGS_ECHO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+void ags_echo(AgsRecall *recall);
+
+#endif /*__AGS_ECHO_H__*/
+
diff --git a/src/ags/audio/recall/ags_loop_channel.c b/src/ags/audio/recall/ags_loop_channel.c
new file mode 100644
index 0000000..e4adc64
--- /dev/null
+++ b/src/ags/audio/recall/ags_loop_channel.c
@@ -0,0 +1,325 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_loop_channel.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <math.h>
+
+void ags_loop_channel_class_init(AgsLoopChannelClass *loop_channel);
+void ags_loop_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_loop_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_loop_channel_init(AgsLoopChannel *loop_channel);
+void ags_loop_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_loop_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_loop_channel_connect(AgsConnectable *connectable);
+void ags_loop_channel_disconnect(AgsConnectable *connectable);
+void ags_loop_channel_finalize(GObject *gobject);
+
+void ags_loop_channel_sequencer_duration_changed_callback(AgsDelayAudio *delay_audio,
+ AgsLoopChannel *loop_channel);
+
+/**
+ * SECTION:ags_loop_channel
+ * @short_description: loops channel
+ * @title: AgsLoopChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_loop_channel.h
+ *
+ * The #AgsLoopChannel class provides ports to the effect processor.
+ */
+
+static gpointer ags_loop_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_loop_channel_parent_connectable_interface;
+static AgsPluginInterface *ags_loop_channel_parent_plugin_interface;
+
+enum{
+ PROP_0,
+ PROP_DELAY_AUDIO,
+};
+
+GType
+ags_loop_channel_get_type()
+{
+ static GType ags_type_loop_channel = 0;
+
+ if(!ags_type_loop_channel){
+ static const GTypeInfo ags_loop_channel_info = {
+ sizeof (AgsLoopChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_loop_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLoopChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_loop_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_loop_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_loop_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_loop_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsLoopChannel\0",
+ &ags_loop_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_loop_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_loop_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_loop_channel);
+}
+
+void
+ags_loop_channel_class_init(AgsLoopChannelClass *loop_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_loop_channel_parent_class = g_type_class_peek_parent(loop_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) loop_channel;
+
+ gobject->set_property = ags_loop_channel_set_property;
+ gobject->get_property = ags_loop_channel_get_property;
+
+ gobject->finalize = ags_loop_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("delay-audio\0",
+ "assigned delay-audio\0",
+ "The delay-audio it is assigned with\0",
+ AGS_TYPE_DELAY_AUDIO,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DELAY_AUDIO,
+ param_spec);
+}
+
+void
+ags_loop_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_loop_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_loop_channel_connect;
+ connectable->disconnect = ags_loop_channel_disconnect;
+}
+
+void
+ags_loop_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_loop_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_loop_channel_init(AgsLoopChannel *loop_channel)
+{
+ AGS_RECALL(loop_channel)->name = "ags-loop\0";
+ AGS_RECALL(loop_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(loop_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(loop_channel)->xml_type = "ags-loop-channel\0";
+ AGS_RECALL(loop_channel)->port = NULL;
+
+ loop_channel->delay_audio = NULL;
+ loop_channel->sequencer_duration_changed_handler = 0;
+}
+
+void
+ags_loop_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLoopChannel *loop_channel;
+
+ loop_channel = AGS_LOOP_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO:
+ {
+ AgsDelayAudio *delay_audio;
+
+ delay_audio = (AgsDelayAudio *) g_value_get_object(value);
+
+ if(loop_channel->delay_audio == delay_audio)
+ return;
+
+ if(loop_channel->delay_audio != NULL){
+ g_object_unref(G_OBJECT(loop_channel->delay_audio));
+
+ g_signal_handler_disconnect(G_OBJECT(loop_channel),
+ loop_channel->sequencer_duration_changed_handler);
+ }
+
+ if(delay_audio != NULL){
+ g_object_ref(G_OBJECT(delay_audio));
+
+ loop_channel->sequencer_duration_changed_handler = g_signal_connect(G_OBJECT(delay_audio), "sequencer-duration-changed\0",
+ G_CALLBACK(ags_loop_channel_sequencer_duration_changed_callback), loop_channel);
+ }
+
+ loop_channel->delay_audio = delay_audio;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_loop_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLoopChannel *loop_channel;
+
+ loop_channel = AGS_LOOP_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO:
+ g_value_set_object(value, loop_channel->delay_audio);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_loop_channel_finalize(GObject *gobject)
+{
+ AgsLoopChannel *loop_channel;
+
+ loop_channel = AGS_LOOP_CHANNEL(gobject);
+
+ if(loop_channel->delay_audio != NULL){
+ g_object_unref(G_OBJECT(loop_channel->delay_audio));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_loop_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_loop_channel_connect(AgsConnectable *connectable)
+{
+ AgsLoopChannel *loop_channel;
+
+ ags_loop_channel_parent_connectable_interface->connect(connectable);
+
+ /* */
+ loop_channel = AGS_LOOP_CHANNEL(connectable);
+
+ if(loop_channel->delay_audio != NULL){
+ loop_channel->sequencer_duration_changed_handler = g_signal_connect(G_OBJECT(loop_channel->delay_audio), "sequencer-duration-changed\0",
+ G_CALLBACK(ags_loop_channel_sequencer_duration_changed_callback), loop_channel);
+ }
+}
+
+void
+ags_loop_channel_disconnect(AgsConnectable *connectable)
+{
+ AgsLoopChannel *loop_channel;
+
+ ags_loop_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* */
+ loop_channel = AGS_LOOP_CHANNEL(connectable);
+
+ if(loop_channel->delay_audio != NULL){
+ g_signal_handler_disconnect(G_OBJECT(loop_channel->delay_audio),
+ loop_channel->sequencer_duration_changed_handler);
+ }
+}
+
+void
+ags_loop_channel_sequencer_duration_changed_callback(AgsDelayAudio *delay_audio,
+ AgsLoopChannel *loop_channel)
+{
+ GList *list;
+ AgsRecycling *recycling;
+ gdouble sequencer_duration;
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(delay_audio->sequencer_duration, &value);
+
+ sequencer_duration = g_value_get_double(&value);
+
+ /* resize audio signal */
+ //TODO:JK: make it advanced
+ // ags_channel_safe_resize_audio_signal(AGS_RECALL_CHANNEL(loop_channel)->source,
+ // (guint) sequencer_duration);
+}
+
+/**
+ * ags_loop_channel_new:
+ * @source: the #AgsChannel as source
+ *
+ * Creates an #AgsLoopChannel
+ *
+ * Returns: a new #AgsLoopChannel
+ *
+ * Since: 0.4
+ */
+AgsLoopChannel*
+ags_loop_channel_new()
+{
+ AgsLoopChannel *loop_channel;
+
+ loop_channel = (AgsLoopChannel *) g_object_new(AGS_TYPE_LOOP_CHANNEL,
+ NULL);
+
+ return(loop_channel);
+}
diff --git a/src/ags/audio/recall/ags_loop_channel.h b/src/ags/audio/recall/ags_loop_channel.h
new file mode 100644
index 0000000..bc40125
--- /dev/null
+++ b/src/ags/audio/recall/ags_loop_channel.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LOOP_CHANNEL_H__
+#define __AGS_LOOP_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/recall/ags_delay_audio.h>
+
+#define AGS_TYPE_LOOP_CHANNEL (ags_loop_channel_get_type())
+#define AGS_LOOP_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOOP_CHANNEL, AgsLoopChannel))
+#define AGS_LOOP_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LOOP_CHANNEL, AgsLoopChannelClass))
+#define AGS_IS_LOOP_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOOP_CHANNEL))
+#define AGS_IS_LOOP_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LOOP_CHANNEL))
+#define AGS_LOOP_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LOOP_CHANNEL, AgsLoopChannelClass))
+
+typedef struct _AgsLoopChannel AgsLoopChannel;
+typedef struct _AgsLoopChannelClass AgsLoopChannelClass;
+
+struct _AgsLoopChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsDelayAudio *delay_audio;
+ gulong sequencer_duration_changed_handler;
+};
+
+struct _AgsLoopChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_loop_channel_get_type();
+
+AgsLoopChannel* ags_loop_channel_new();
+
+#endif /*__AGS_LOOP_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_loop_channel_run.c b/src/ags/audio/recall/ags_loop_channel_run.c
new file mode 100644
index 0000000..59e7906
--- /dev/null
+++ b/src/ags/audio/recall/ags_loop_channel_run.c
@@ -0,0 +1,740 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_loop_channel_run.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/lib/ags_list.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_countable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/recall/ags_delay_audio.h>
+
+#include <math.h>
+
+void ags_loop_channel_run_class_init(AgsLoopChannelRunClass *loop_channel_run);
+void ags_loop_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_loop_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_loop_channel_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_loop_channel_run_init(AgsLoopChannelRun *loop_channel_run);
+void ags_loop_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_loop_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_loop_channel_run_finalize(GObject *gobject);
+void ags_loop_channel_run_connect(AgsConnectable *connectable);
+void ags_loop_channel_run_disconnect(AgsConnectable *connectable);
+void ags_loop_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_loop_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_loop_channel_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_loop_channel_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_loop_channel_run_resolve_dependencies(AgsRecall *recall);
+AgsRecall* ags_loop_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_loop_channel_run_start_callback(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order,
+ AgsLoopChannelRun *loop_channel_run);
+void ags_loop_channel_run_loop_callback(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order,
+ AgsLoopChannelRun *loop_channel_run);
+void ags_loop_channel_run_stop_callback(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order,
+ AgsLoopChannelRun *loop_channel_run);
+
+void ags_loop_channel_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+void ags_loop_channel_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+
+/**
+ * SECTION:ags_loop_channel_run
+ * @short_description: loop
+ * @title: AgsLoopChannelRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_loop_channel_run.h
+ *
+ * The #AgsLoopChannelRun class loops the channel.
+ */
+
+enum{
+ PROP_0,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+};
+
+static gpointer ags_loop_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_loop_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_loop_channel_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_loop_channel_run_parent_plugin_interface;
+
+GType
+ags_loop_channel_run_get_type()
+{
+ static GType ags_type_loop_channel_run = 0;
+
+ if(!ags_type_loop_channel_run){
+ static const GTypeInfo ags_loop_channel_run_info = {
+ sizeof (AgsLoopChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_loop_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLoopChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_loop_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_loop_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_loop_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_loop_channel_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_loop_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsLoopChannelRun\0",
+ &ags_loop_channel_run_info,
+ 0);
+ g_type_add_interface_static(ags_type_loop_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_loop_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_loop_channel_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_loop_channel_run);
+}
+
+void
+ags_loop_channel_run_class_init(AgsLoopChannelRunClass *loop_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_loop_channel_run_parent_class = g_type_class_peek_parent(loop_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) loop_channel_run;
+
+ gobject->set_property = ags_loop_channel_run_set_property;
+ gobject->get_property = ags_loop_channel_run_get_property;
+
+ gobject->finalize = ags_loop_channel_run_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("count-beats-audio-run\0",
+ "assigned AgsCountBeatsAudioRun\0",
+ "The pointer to a counter object which indicates when looping should happen\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) loop_channel_run;
+
+ recall->duplicate = ags_loop_channel_run_duplicate;
+ recall->resolve_dependencies = ags_loop_channel_run_resolve_dependencies;
+}
+
+void
+ags_loop_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_loop_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_loop_channel_run_connect;
+ connectable->disconnect = ags_loop_channel_run_disconnect;
+}
+
+void
+ags_loop_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_loop_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_loop_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_loop_channel_run_disconnect_dynamic;
+}
+
+void
+ags_loop_channel_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_loop_channel_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->read = ags_loop_channel_run_read;
+ plugin->write = ags_loop_channel_run_write;
+}
+
+void
+ags_loop_channel_run_init(AgsLoopChannelRun *loop_channel_run)
+{
+ AGS_RECALL(loop_channel_run)->name = "ags-loop\0";
+ AGS_RECALL(loop_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(loop_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(loop_channel_run)->xml_type = "ags-loop-channel-run\0";
+ AGS_RECALL(loop_channel_run)->port = NULL;
+
+ AGS_RECALL(loop_channel_run)->flags |= AGS_RECALL_INPUT_ORIENTATED;
+ AGS_RECALL(loop_channel_run)->child_type = G_TYPE_NONE;
+
+ loop_channel_run->count_beats_audio_run = NULL;
+}
+
+void
+ags_loop_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLoopChannelRun *loop_channel_run;
+
+ loop_channel_run = AGS_LOOP_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ gboolean is_template;
+
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) g_value_get_object(value);
+
+ if(loop_channel_run->count_beats_audio_run == count_beats_audio_run)
+ return;
+
+ if(count_beats_audio_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(count_beats_audio_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+
+ if(loop_channel_run->count_beats_audio_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(loop_channel_run),
+ (AgsRecall *) loop_channel_run->count_beats_audio_run);
+ }else{
+ if((AGS_RECALL_RUN_INITIALIZED & (AGS_RECALL(loop_channel_run)->flags)) != 0){
+ /* AgsCountBeatsAudioRun */
+ g_signal_handler_disconnect(G_OBJECT(loop_channel_run->count_beats_audio_run),
+ loop_channel_run->start_handler);
+ g_signal_handler_disconnect(G_OBJECT(loop_channel_run->count_beats_audio_run),
+ loop_channel_run->loop_handler);
+ g_signal_handler_disconnect(G_OBJECT(loop_channel_run->count_beats_audio_run),
+ loop_channel_run->stop_handler);
+ }
+
+ g_object_unref(loop_channel_run->count_beats_audio_run);
+ }
+ }
+
+ if(count_beats_audio_run != NULL){
+ g_object_ref(count_beats_audio_run);
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(loop_channel_run),
+ ags_recall_dependency_new((GObject *) count_beats_audio_run));
+ }else{
+ if((AGS_RECALL_RUN_INITIALIZED & (AGS_RECALL(loop_channel_run)->flags)) != 0){
+ /* AgsCountBeatsAudioRun */
+ loop_channel_run->start_handler =
+ g_signal_connect(G_OBJECT(loop_channel_run->count_beats_audio_run), "sequencer-start\0",
+ G_CALLBACK(ags_loop_channel_run_loop_callback), loop_channel_run);
+
+ loop_channel_run->loop_handler =
+ g_signal_connect(G_OBJECT(loop_channel_run->count_beats_audio_run), "sequencer-loop\0",
+ G_CALLBACK(ags_loop_channel_run_loop_callback), loop_channel_run);
+ loop_channel_run->stop_handler =
+ g_signal_connect(G_OBJECT(loop_channel_run->count_beats_audio_run), "sequencer-stop\0",
+ G_CALLBACK(ags_loop_channel_run_loop_callback), loop_channel_run);
+ }
+ }
+ }
+
+ loop_channel_run->count_beats_audio_run = count_beats_audio_run;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_loop_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLoopChannelRun *loop_channel_run;
+
+ loop_channel_run = AGS_LOOP_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ g_value_set_object(value, loop_channel_run->count_beats_audio_run);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_loop_channel_run_finalize(GObject *gobject)
+{
+ AgsLoopChannelRun *loop_channel_run;
+
+ loop_channel_run = AGS_LOOP_CHANNEL_RUN(gobject);
+
+ if(loop_channel_run->count_beats_audio_run != NULL){
+ g_object_unref(G_OBJECT(loop_channel_run->count_beats_audio_run));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_loop_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_loop_channel_run_connect(AgsConnectable *connectable)
+{
+ ags_loop_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_loop_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_loop_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_loop_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsLoopChannelRun *loop_channel_run;
+
+ ags_loop_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ loop_channel_run = AGS_LOOP_CHANNEL_RUN(dynamic_connectable);
+
+ if(loop_channel_run->count_beats_audio_run != NULL){
+ /* AgsCountBeatsAudioRun */
+ loop_channel_run->start_handler =
+ g_signal_connect(G_OBJECT(loop_channel_run->count_beats_audio_run), "sequencer-start\0",
+ G_CALLBACK(ags_loop_channel_run_start_callback), loop_channel_run);
+
+ loop_channel_run->loop_handler =
+ g_signal_connect(G_OBJECT(loop_channel_run->count_beats_audio_run), "sequencer-loop\0",
+ G_CALLBACK(ags_loop_channel_run_loop_callback), loop_channel_run);
+
+ loop_channel_run->stop_handler =
+ g_signal_connect(G_OBJECT(loop_channel_run->count_beats_audio_run), "sequencer-stop\0",
+ G_CALLBACK(ags_loop_channel_run_stop_callback), loop_channel_run);
+ }
+}
+
+void
+ags_loop_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsLoopChannelRun *loop_channel_run;
+
+ ags_loop_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ loop_channel_run = AGS_LOOP_CHANNEL_RUN(dynamic_connectable);
+
+ if(loop_channel_run->count_beats_audio_run != NULL){
+ /* AgsCountBeatsAudioRun */
+ g_signal_handler_disconnect(G_OBJECT(loop_channel_run->count_beats_audio_run),
+ loop_channel_run->start_handler);
+ g_signal_handler_disconnect(G_OBJECT(loop_channel_run->count_beats_audio_run),
+ loop_channel_run->loop_handler);
+ g_signal_handler_disconnect(G_OBJECT(loop_channel_run->count_beats_audio_run),
+ loop_channel_run->stop_handler);
+ }
+}
+
+void
+ags_loop_channel_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *iter;
+
+ /* read parent */
+ ags_loop_channel_run_parent_plugin_interface->read(file, node, plugin);
+
+ /* read depenendency */
+ iter = node->children;
+
+ while(iter != NULL){
+ if(iter->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(iter->name,
+ "ags-dependency-list\0",
+ 19)){
+ xmlNode *dependency_node;
+
+ dependency_node = iter->children;
+
+ while(dependency_node != NULL){
+ if(dependency_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(dependency_node->name,
+ "ags-dependency\0",
+ 15)){
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", G_OBJECT(plugin),
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_loop_channel_run_read_resolve_dependency), G_OBJECT(plugin));
+ }
+ }
+
+ dependency_node = dependency_node->next;
+ }
+ }
+ }
+
+ iter = iter->next;
+ }
+}
+
+xmlNode*
+ags_loop_channel_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ xmlNode *dependency_node;
+ GList *list;
+ gchar *id;
+
+ /* write parent */
+ node = ags_loop_channel_run_parent_plugin_interface->write(file, parent, plugin);
+
+ /* write dependencies */
+ child = xmlNewNode(NULL,
+ "ags-dependency-list\0");
+
+ xmlNewProp(child,
+ AGS_FILE_ID_PROP,
+ ags_id_generator_create_uuid());
+
+ xmlAddChild(node,
+ child);
+
+ list = AGS_RECALL(plugin)->dependencies;
+
+ while(list != NULL){
+ id = ags_id_generator_create_uuid();
+
+ dependency_node = xmlNewNode(NULL,
+ "ags-dependency\0");
+
+ xmlNewProp(dependency_node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ xmlAddChild(child,
+ dependency_node);
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", G_OBJECT(plugin),
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_loop_channel_run_write_resolve_dependency), G_OBJECT(plugin));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_loop_channel_run_resolve_dependencies(AgsRecall *recall)
+{
+ AgsAudio *audio;
+ AgsChannel *channel;
+ AgsRecall *template;
+ AgsLoopChannelRun *loop_channel_run;
+ AgsRecallDependency *recall_dependency;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ GList *list;
+ AgsRecallID *recall_id;
+ guint i, i_stop;
+
+ loop_channel_run = AGS_LOOP_CHANNEL_RUN(recall);
+
+ template = AGS_RECALL(ags_recall_find_template(AGS_RECALL_CONTAINER(recall->container)->recall_channel_run)->data);
+
+ list = template->dependencies;
+
+ channel = AGS_RECALL_CHANNEL_RUN(loop_channel_run)->source;
+ audio = AGS_AUDIO(channel->audio);
+
+ recall_id = recall->recall_id;
+
+ count_beats_audio_run = NULL;
+ i_stop = 1;
+
+ for(i = 0; i < i_stop && list != NULL;){
+ recall_dependency = AGS_RECALL_DEPENDENCY(list->data);
+
+ if(AGS_IS_COUNT_BEATS_AUDIO_RUN(recall_dependency->dependency)){
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) ags_recall_dependency_resolve(recall_dependency, recall_id);
+
+ i++;
+ }
+
+ list = list->next;
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "count-beats-audio-run\0", count_beats_audio_run,
+ NULL);
+}
+
+AgsRecall*
+ags_loop_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsLoopChannelRun *loop_channel_run, *copy;
+
+ loop_channel_run = AGS_LOOP_CHANNEL_RUN(recall);
+ copy = (AgsLoopChannelRun *) AGS_RECALL_CLASS(ags_loop_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_loop_channel_run_create_audio_signals(AgsLoopChannelRun *loop_channel_run)
+{
+ AgsDevout *devout;
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ gdouble delay;
+ guint attack;
+ guint tic_counter_incr;
+
+ // g_message("debug\0");
+
+ devout = AGS_DEVOUT(AGS_RECALL(loop_channel_run)->devout);
+
+ /* recycling */
+ recycling = AGS_RECALL_CHANNEL_RUN(loop_channel_run)->source->first_recycling;
+
+ /* delay and attack */
+ tic_counter_incr = devout->tic_counter + 1;
+
+ //TODO:JK: unclear
+ attack = 0;// devout->attack[((tic_counter_incr == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // tic_counter_incr)];
+ delay = 0.0; //devout->delay[((tic_counter_incr == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // tic_counter_incr)];
+
+ while(recycling != AGS_RECALL_CHANNEL_RUN(loop_channel_run)->source->last_recycling->next){
+ audio_signal = ags_audio_signal_new((GObject *) devout,
+ (GObject *) recycling,
+ (GObject *) AGS_RECALL(loop_channel_run)->recall_id);
+ audio_signal->stream_current = audio_signal->stream_beginning;
+
+ /* */
+ ags_recycling_create_audio_signal_with_defaults(recycling,
+ audio_signal,
+ delay, attack);
+
+ ags_connectable_connect(AGS_CONNECTABLE(audio_signal));
+ ags_recycling_add_audio_signal(recycling,
+ audio_signal);
+
+ /*
+ * unref AgsAudioSignal because AgsLoopChannelRun has no need for it
+ * if you need a valid reference to audio_signal you have to g_object_ref(audio_signal)
+ */
+ //FIXME:JK:
+
+#ifdef AGS_DEBUG
+ g_message("+++++++++++++++++++++++++\n\nloop channel created: AgsAudioSignal#%llx[%u]\n\n+++++++++++++++++++++++++\0",
+ (long long unsigned int) audio_signal, audio_signal->length);
+#endif
+
+ recycling = recycling->next;
+ }
+}
+
+void
+ags_loop_channel_run_start_callback(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order,
+ AgsLoopChannelRun *loop_channel_run)
+{
+
+#ifdef AGS_DEBUG
+ g_message("ags_loop_channel_run_start_callback - run_order: %u; %u\n\0",
+ AGS_RECALL_CHANNEL_RUN(loop_channel_run)->run_order,
+ run_order);
+#endif
+
+ //TODO:JK: optimize tree see deprecated AgsRunOrder
+ // if(AGS_RECALL_CHANNEL_RUN(loop_channel_run)->run_order == run_order){
+ ags_loop_channel_run_create_audio_signals(loop_channel_run);
+ // }
+}
+
+void
+ags_loop_channel_run_loop_callback(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order,
+ AgsLoopChannelRun *loop_channel_run)
+{
+#ifdef AGS_DEBUG
+ g_message("ags_loop_channel_run_loop_callback - run_order: %u; %u\0",
+ AGS_RECALL_CHANNEL_RUN(loop_channel_run)->run_order,
+ run_order);
+#endif
+
+ //TODO:JK: optimize tree see deprecated AgsRunOrder
+ // if(AGS_RECALL_CHANNEL_RUN(loop_channel_run)->run_order == run_order){
+ ags_loop_channel_run_create_audio_signals(loop_channel_run);
+ // }
+}
+
+void
+ags_loop_channel_run_stop_callback(AgsCountBeatsAudioRun *count_beats_audio_run,
+ guint run_order,
+ AgsLoopChannelRun *loop_channel_run)
+{
+}
+
+void
+ags_loop_channel_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, file_lookup->ref);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "xpath\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+}
+
+void
+ags_loop_channel_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "xpath\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(AGS_IS_DELAY_AUDIO_RUN(id_ref->ref)){
+ g_object_set(G_OBJECT(recall),
+ "count-beats-audio-run\0", id_ref->ref,
+ NULL);
+ }
+}
+
+/**
+ * ags_loop_channel_run_new:
+ * @channel: the #AgsChannel as source
+ * @count_beats_audio_run: an #AgsCountBeatsAudioRun
+ * @is_template: if %TRUE recall is templated
+ *
+ * Creates an #AgsLoopChannelRun
+ *
+ * Returns: a new #AgsLoopChannelRun
+ *
+ * Since: 0.4
+ */
+AgsLoopChannelRun*
+ags_loop_channel_run_new(AgsChannel *channel,
+ AgsCountBeatsAudioRun *count_beats_audio_run,
+ gboolean is_template)
+{
+ AgsLoopChannelRun *loop_channel_run;
+
+ loop_channel_run = (AgsLoopChannelRun *) g_object_new(AGS_TYPE_LOOP_CHANNEL_RUN,
+ "source\0", channel,
+ "count-beats-audio-run\0", count_beats_audio_run,
+ NULL);
+
+ if(is_template){
+ AGS_RECALL(loop_channel_run)->flags = AGS_RECALL_TEMPLATE;
+ }
+
+ return(loop_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_loop_channel_run.h b/src/ags/audio/recall/ags_loop_channel_run.h
new file mode 100644
index 0000000..a1ea814
--- /dev/null
+++ b/src/ags/audio/recall/ags_loop_channel_run.h
@@ -0,0 +1,62 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LOOP_CHANNEL_RUN_H__
+#define __AGS_LOOP_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+
+#define AGS_TYPE_LOOP_CHANNEL_RUN (ags_loop_channel_run_get_type())
+#define AGS_LOOP_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOOP_CHANNEL_RUN, AgsLoopChannelRun))
+#define AGS_LOOP_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LOOP_CHANNEL_RUN, AgsLoopChannelRunClass))
+#define AGS_IS_LOOP_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOOP_CHANNEL_RUN))
+#define AGS_IS_LOOP_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LOOP_CHANNEL_RUN))
+#define AGS_LOOP_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LOOP_CHANNEL_RUN, AgsLoopChannelRunClass))
+
+typedef struct _AgsLoopChannelRun AgsLoopChannelRun;
+typedef struct _AgsLoopChannelRunClass AgsLoopChannelRunClass;
+
+struct _AgsLoopChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ gulong start_handler;
+ gulong loop_handler;
+ gulong stop_handler;
+};
+
+struct _AgsLoopChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_loop_channel_run_get_type();
+
+AgsLoopChannelRun* ags_loop_channel_run_new(AgsChannel *channel,
+ AgsCountBeatsAudioRun *count_beats_audio_run,
+ gboolean is_template);
+
+#endif /*__AGS_LOOP_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_mute_audio.c b/src/ags/audio/recall/ags_mute_audio.c
new file mode 100644
index 0000000..b5c1603
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_audio.c
@@ -0,0 +1,340 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_mute_audio.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_mutable.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_mute_audio_class_init(AgsMuteAudioClass *mute_audio);
+void ags_mute_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mute_audio_mutable_interface_init(AgsMutableInterface *mutable);
+void ags_mute_audio_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_mute_audio_init(AgsMuteAudio *mute_audio);
+void ags_mute_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_mute_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_mute_audio_connect(AgsConnectable *connectable);
+void ags_mute_audio_disconnect(AgsConnectable *connectable);
+void ags_mute_audio_set_ports(AgsPlugin *plugin, GList *port);
+void ags_mute_audio_finalize(GObject *gobject);
+
+void ags_mute_audio_set_muted(AgsMutable *mutable, gboolean muted);
+
+/**
+ * SECTION:ags_mute_audio
+ * @short_description: mute audio
+ * @title: AgsMuteAudio
+ * @section_id:
+ * @include: ags/audio/recall/ags_mute_audio.h
+ *
+ * The #AgsMuteAudio class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_MUTED,
+};
+
+static gpointer ags_mute_audio_parent_class = NULL;
+static AgsConnectableInterface *ags_mute_audio_parent_connectable_interface;
+static AgsMutableInterface *ags_mute_audio_parent_mutable_interface;
+
+GType
+ags_mute_audio_get_type()
+{
+ static GType ags_type_mute_audio = 0;
+
+ if(!ags_type_mute_audio){
+ static const GTypeInfo ags_mute_audio_info = {
+ sizeof (AgsMuteAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mute_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_audio */
+ sizeof (AgsMuteAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mute_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_mutable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_audio_mutable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_mute_audio_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mute_audio = g_type_register_static(AGS_TYPE_RECALL_AUDIO,
+ "AgsMuteAudio\0",
+ &ags_mute_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mute_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_mute_audio,
+ AGS_TYPE_MUTABLE,
+ &ags_mutable_interface_info);
+
+ g_type_add_interface_static(ags_type_mute_audio,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_mute_audio);
+}
+
+void
+ags_mute_audio_class_init(AgsMuteAudioClass *mute_audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_mute_audio_parent_class = g_type_class_peek_parent(mute_audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) mute_audio;
+
+ gobject->set_property = ags_mute_audio_set_property;
+ gobject->get_property = ags_mute_audio_get_property;
+
+ gobject->finalize = ags_mute_audio_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("muted\0",
+ "mute audio\0",
+ "Mute the audio\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MUTED,
+ param_spec);
+}
+
+void
+ags_mute_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_mute_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mute_audio_connect;
+ connectable->disconnect = ags_mute_audio_disconnect;
+}
+
+void
+ags_mute_audio_mutable_interface_init(AgsMutableInterface *mutable)
+{
+ ags_mute_audio_parent_mutable_interface = g_type_interface_peek_parent(mutable);
+
+ mutable->set_muted = ags_mute_audio_set_muted;
+}
+
+void
+ags_mute_audio_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->set_ports = ags_mute_audio_set_ports;
+}
+
+void
+ags_mute_audio_init(AgsMuteAudio *mute_audio)
+{
+ GList *port;
+
+ AGS_RECALL(mute_audio)->name = "ags-mute\0";
+ AGS_RECALL(mute_audio)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(mute_audio)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(mute_audio)->xml_type = "ags-mute-audio\0";
+
+ port = NULL;
+
+ mute_audio->muted = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", g_strdup("ags-mute\0"),
+ "specifier\0", "./muted[0]\0",
+ "control-port\0", "1/1\0",
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_BOOLEAN,
+ "port-value-size\0", sizeof(gboolean),
+ "port-value-length\0", 1,
+ NULL);
+ mute_audio->muted->port_value.ags_port_boolean = FALSE;
+
+ port = g_list_prepend(port, mute_audio->muted);
+
+ /* */
+ AGS_RECALL(mute_audio)->port = port;
+}
+
+
+void
+ags_mute_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMuteAudio *mute_audio;
+
+ mute_audio = AGS_MUTE_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == mute_audio->muted){
+ return;
+ }
+
+ if(mute_audio->muted != NULL){
+ g_object_unref(G_OBJECT(mute_audio->muted));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ mute_audio->muted = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_mute_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMuteAudio *mute_audio;
+
+ mute_audio = AGS_MUTE_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ g_value_set_object(value, mute_audio->muted);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_mute_audio_connect(AgsConnectable *connectable)
+{
+ ags_mute_audio_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_mute_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_audio_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "muted[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "muted\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_mute_audio_finalize(GObject *gobject)
+{
+ AgsMuteAudio *mute_audio;
+
+ mute_audio = AGS_MUTE_AUDIO(gobject);
+
+ if(mute_audio->muted != NULL){
+ g_object_unref(G_OBJECT(mute_audio->muted));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_mute_audio_parent_class)->finalize(gobject);
+}
+
+void
+ags_mute_audio_set_muted(AgsMutable *mutable, gboolean muted)
+{
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, muted);
+
+ ags_port_safe_write(AGS_MUTE_AUDIO(mutable)->muted, &value);
+}
+
+/**
+ * ags_mute_audio_new:
+ *
+ * Creates an #AgsMuteAudio
+ *
+ * Returns: a new #AgsMuteAudio
+ *
+ * Since: 0.4
+ */
+AgsMuteAudio*
+ags_mute_audio_new()
+{
+ AgsMuteAudio *mute_audio;
+
+ mute_audio = (AgsMuteAudio *) g_object_new(AGS_TYPE_MUTE_AUDIO,
+ NULL);
+
+ return(mute_audio);
+}
diff --git a/src/ags/audio/recall/ags_mute_audio.h b/src/ags/audio/recall/ags_mute_audio.h
new file mode 100644
index 0000000..2d90cf8
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_audio.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MUTE_AUDIO_H__
+#define __AGS_MUTE_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio.h>
+
+#include <ags/audio/ags_port.h>
+
+#define AGS_TYPE_MUTE_AUDIO (ags_mute_audio_get_type())
+#define AGS_MUTE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_AUDIO, AgsMuteAudio))
+#define AGS_MUTE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_AUDIO, AgsMuteAudio))
+#define AGS_IS_MUTE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_AUDIO))
+#define AGS_IS_MUTE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_AUDIO))
+#define AGS_MUTE_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_AUDIO, AgsMuteAudioClass))
+
+typedef struct _AgsMuteAudio AgsMuteAudio;
+typedef struct _AgsMuteAudioClass AgsMuteAudioClass;
+
+struct _AgsMuteAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *muted;
+};
+
+struct _AgsMuteAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+
+GType ags_mute_audio_get_type();
+
+AgsMuteAudio* ags_mute_audio_new();
+
+#endif /*__AGS_MUTE_AUDIO_H__*/
diff --git a/src/ags/audio/recall/ags_mute_audio_signal.c b/src/ags/audio/recall/ags_mute_audio_signal.c
new file mode 100644
index 0000000..cdefbd4
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_audio_signal.c
@@ -0,0 +1,302 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_mute_audio_signal.h>
+#include <ags/audio/recall/ags_mute_audio.h>
+#include <ags/audio/recall/ags_mute_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <stdlib.h>
+
+void ags_mute_audio_signal_class_init(AgsMuteAudioSignalClass *mute_audio_signal);
+void ags_mute_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mute_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_mute_audio_signal_init(AgsMuteAudioSignal *mute_audio_signal);
+void ags_mute_audio_signal_connect(AgsConnectable *connectable);
+void ags_mute_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_mute_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_mute_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_mute_audio_signal_finalize(GObject *gobject);
+
+void ags_mute_audio_signal_run_inter(AgsRecall *recall);
+AgsRecall* ags_mute_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_mute_audio_signal
+ * @short_description: mutes audio signal
+ * @title: AgsMuteAudioSignal
+ * @section_id:
+ * @include: ags/audio/recall/ags_mute_audio_signal.h
+ *
+ * The #AgsMuteAudioSignal class mutes the audio signal.
+ */
+
+static gpointer ags_mute_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_mute_audio_signal_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_mute_audio_signal_parent_dynamic_connectable_interface;
+
+GType
+ags_mute_audio_signal_get_type()
+{
+ static GType ags_type_mute_audio_signal = 0;
+
+ if(!ags_type_mute_audio_signal){
+ static const GTypeInfo ags_mute_audio_signal_info = {
+ sizeof (AgsMuteAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mute_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMuteAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mute_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_audio_signal_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mute_audio_signal = g_type_register_static(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "AgsMuteAudioSignal\0",
+ &ags_mute_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mute_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_mute_audio_signal,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_mute_audio_signal);
+}
+
+void
+ags_mute_audio_signal_class_init(AgsMuteAudioSignalClass *mute_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_mute_audio_signal_parent_class = g_type_class_peek_parent(mute_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) mute_audio_signal;
+
+ gobject->finalize = ags_mute_audio_signal_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) mute_audio_signal;
+
+ recall->run_inter = ags_mute_audio_signal_run_inter;
+ recall->duplicate = ags_mute_audio_signal_duplicate;
+}
+
+void
+ags_mute_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_mute_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mute_audio_signal_connect;
+ connectable->disconnect = ags_mute_audio_signal_disconnect;
+}
+
+void
+ags_mute_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_mute_audio_signal_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_mute_audio_signal_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_mute_audio_signal_disconnect_dynamic;
+}
+
+void
+ags_mute_audio_signal_init(AgsMuteAudioSignal *mute_audio_signal)
+{
+ AGS_RECALL(mute_audio_signal)->name = "ags-mute\0";
+ AGS_RECALL(mute_audio_signal)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(mute_audio_signal)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(mute_audio_signal)->xml_type = "ags-mute-audio-signal\0";
+ AGS_RECALL(mute_audio_signal)->port = NULL;
+
+ AGS_RECALL(mute_audio_signal)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_mute_audio_signal_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_mute_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_mute_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_mute_audio_signal_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_mute_audio_signal_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_audio_signal_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_mute_audio_signal_parent_class)->finalize(gobject);
+}
+
+void
+ags_mute_audio_signal_run_inter(AgsRecall *recall)
+{
+ AgsMuteAudio *mute_audio;
+ AgsMuteChannel *mute_channel;
+ AgsMuteAudioSignal *mute_audio_signal;
+ AgsAudioSignal *source;
+ GList *stream_source;
+ gboolean audio_muted, channel_muted;
+ guint buffer_size;
+ guint i;
+ GValue audio_value = {0,};
+ GValue channel_value = {0,};
+
+ AGS_RECALL_CLASS(ags_mute_audio_signal_parent_class)->run_inter(recall);
+
+ mute_audio_signal = AGS_MUTE_AUDIO_SIGNAL(recall);
+
+ source = AGS_RECALL_AUDIO_SIGNAL(mute_audio_signal)->source;
+ stream_source = source->stream_current;
+ buffer_size = source->buffer_size;
+
+ if(stream_source == NULL){
+ ags_recall_done(recall);
+ return;
+ }
+
+ /* check channel */
+ mute_channel = AGS_MUTE_CHANNEL(AGS_RECALL_CHANNEL_RUN(recall->parent->parent)->recall_channel);
+
+ g_value_init(&channel_value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(mute_channel->muted,
+ &channel_value);
+
+ channel_muted = g_value_get_boolean(&channel_value);
+ g_value_unset(&channel_value);
+
+ /* check audio */
+ mute_audio = AGS_MUTE_AUDIO(AGS_RECALL_CONTAINER(AGS_RECALL(mute_channel)->container)->recall_audio);
+
+ g_value_init(&audio_value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(mute_audio->muted,
+ &audio_value);
+
+ audio_muted = g_value_get_boolean(&audio_value);
+ g_value_unset(&audio_value);
+
+ /* if not muted return */
+ if(!channel_muted && !audio_muted){
+ return;
+ }
+
+ /* mute */
+ memset((signed short *) stream_source->data, 0, buffer_size * sizeof(signed short));
+}
+
+AgsRecall*
+ags_mute_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsMuteAudioSignal *mute;
+
+ mute = (AgsMuteAudioSignal *) AGS_RECALL_CLASS(ags_mute_audio_signal_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) mute);
+}
+
+/**
+ * ags_mute_audio_signal_new:
+ * @source: the source #AgsAudioSignal
+ *
+ * Creates an #AgsMuteAudioSignal
+ *
+ * Returns: a new #AgsMuteAudioSignal
+ *
+ * Since: 0.4
+ */
+AgsMuteAudioSignal*
+ags_mute_audio_signal_new(AgsAudioSignal *source)
+{
+ AgsMuteAudioSignal *mute_audio_signal;
+
+ mute_audio_signal = (AgsMuteAudioSignal *) g_object_new(AGS_TYPE_MUTE_AUDIO_SIGNAL,
+ "source\0", source,
+ NULL);
+
+ return(mute_audio_signal);
+}
diff --git a/src/ags/audio/recall/ags_mute_audio_signal.h b/src/ags/audio/recall/ags_mute_audio_signal.h
new file mode 100644
index 0000000..39be7be
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_audio_signal.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MUTE_AUDIO_SIGNAL_H__
+#define __AGS_MUTE_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#include <ags/audio/ags_audio_signal.h>
+
+#define AGS_TYPE_MUTE_AUDIO_SIGNAL (ags_mute_audio_signal_get_type())
+#define AGS_MUTE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_AUDIO_SIGNAL, AgsMuteAudioSignal))
+#define AGS_MUTE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_AUDIO_SIGNAL, AgsMuteAudioSignalClass))
+#define AGS_IS_MUTE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_AUDIO_SIGNAL))
+#define AGS_IS_MUTE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_AUDIO_SIGNAL))
+#define AGS_MUTE_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_AUDIO_SIGNAL, AgsMuteAudioSignalClass))
+
+typedef struct _AgsMuteAudioSignal AgsMuteAudioSignal;
+typedef struct _AgsMuteAudioSignalClass AgsMuteAudioSignalClass;
+
+struct _AgsMuteAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+
+struct _AgsMuteAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+
+GType ags_mute_audio_signal_get_type();
+
+AgsMuteAudioSignal* ags_mute_audio_signal_new(AgsAudioSignal *source);
+
+#endif /*__AGS_MUTE_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/recall/ags_mute_channel.c b/src/ags/audio/recall/ags_mute_channel.c
new file mode 100644
index 0000000..e6d981e
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_channel.c
@@ -0,0 +1,338 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_mute_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_mutable.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_mute_channel_class_init(AgsMuteChannelClass *mute_channel);
+void ags_mute_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mute_channel_mutable_interface_init(AgsMutableInterface *mutable);
+void ags_mute_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_mute_channel_init(AgsMuteChannel *mute_channel);
+void ags_mute_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_mute_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_mute_channel_connect(AgsConnectable *connectable);
+void ags_mute_channel_disconnect(AgsConnectable *connectable);
+void ags_mute_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_mute_channel_finalize(GObject *gobject);
+
+void ags_mute_channel_set_muted(AgsMutable *mutable, gboolean muted);
+
+/**
+ * SECTION:ags_mute_channel
+ * @short_description: mutes channel
+ * @title: AgsMuteChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_mute_channel.h
+ *
+ * The #AgsMuteChannel class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_MUTED,
+};
+
+static gpointer ags_mute_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_mute_channel_parent_connectable_interface;
+static AgsMutableInterface *ags_mute_channel_parent_mutable_interface;
+
+GType
+ags_mute_channel_get_type()
+{
+ static GType ags_type_mute_channel = 0;
+
+ if(!ags_type_mute_channel){
+ static const GTypeInfo ags_mute_channel_info = {
+ sizeof (AgsMuteChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mute_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMuteChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mute_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_mutable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_channel_mutable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_mute_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mute_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsMuteChannel\0",
+ &ags_mute_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mute_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_mute_channel,
+ AGS_TYPE_MUTABLE,
+ &ags_mutable_interface_info);
+
+ g_type_add_interface_static(ags_type_mute_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_mute_channel);
+}
+
+void
+ags_mute_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_mute_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mute_channel_connect;
+ connectable->disconnect = ags_mute_channel_disconnect;
+}
+
+void
+ags_mute_channel_mutable_interface_init(AgsMutableInterface *mutable)
+{
+ ags_mute_channel_parent_mutable_interface = g_type_interface_peek_parent(mutable);
+
+ mutable->set_muted = ags_mute_channel_set_muted;
+}
+
+void
+ags_mute_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->set_ports = ags_mute_channel_set_ports;
+}
+
+void
+ags_mute_channel_class_init(AgsMuteChannelClass *mute_channel)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_mute_channel_parent_class = g_type_class_peek_parent(mute_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) mute_channel;
+
+ gobject->set_property = ags_mute_channel_set_property;
+ gobject->get_property = ags_mute_channel_get_property;
+
+ gobject->finalize = ags_mute_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("muted\0",
+ "mute channel\0",
+ "Mute the channel\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MUTED,
+ param_spec);
+}
+
+void
+ags_mute_channel_init(AgsMuteChannel *mute_channel)
+{
+ GList *port;
+
+ AGS_RECALL(mute_channel)->name = "ags-mute\0";
+ AGS_RECALL(mute_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(mute_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(mute_channel)->xml_type = "ags-mute-channel\0";
+
+ port = NULL;
+
+ mute_channel->muted = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", g_strdup("ags-mute\0"),
+ "specifier\0", "./muted[0]\0",
+ "control-port\0", "1/1\0",
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_BOOLEAN,
+ "port-value-size\0", sizeof(gboolean),
+ "port-value-length\0", 1,
+ NULL);
+ mute_channel->muted->port_value.ags_port_boolean = FALSE;
+
+ port = g_list_prepend(port, mute_channel->muted);
+
+ AGS_RECALL(mute_channel)->port = port;
+}
+
+void
+ags_mute_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMuteChannel *mute_channel;
+
+ mute_channel = AGS_MUTE_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == mute_channel->muted){
+ return;
+ }
+
+ if(mute_channel->muted != NULL){
+ g_object_unref(G_OBJECT(mute_channel->muted));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ mute_channel->muted = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_mute_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsMuteChannel *mute_channel;
+
+ mute_channel = AGS_MUTE_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_MUTED:
+ {
+ g_value_set_object(value, mute_channel->muted);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_mute_channel_connect(AgsConnectable *connectable)
+{
+ ags_mute_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_mute_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "muted[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "muted\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_mute_channel_finalize(GObject *gobject)
+{
+ AgsMuteChannel *mute_channel;
+
+ mute_channel = AGS_MUTE_CHANNEL(gobject);
+
+ if(mute_channel->muted != NULL){
+ g_object_unref(G_OBJECT(mute_channel->muted));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_mute_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_mute_channel_set_muted(AgsMutable *mutable, gboolean muted)
+{
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, muted);
+
+ ags_port_safe_write(AGS_MUTE_CHANNEL(mutable)->muted, &value);
+}
+
+/**
+ * ags_mute_channel_new:
+ *
+ * Creates an #AgsMuteChannel
+ *
+ * Returns: a new #AgsMuteChannel
+ *
+ * Since: 0.4
+ */
+AgsMuteChannel*
+ags_mute_channel_new()
+{
+ AgsMuteChannel *mute_channel;
+
+ mute_channel = (AgsMuteChannel *) g_object_new(AGS_TYPE_MUTE_CHANNEL,
+ NULL);
+
+ return(mute_channel);
+}
diff --git a/src/ags/audio/recall/ags_mute_channel.h b/src/ags/audio/recall/ags_mute_channel.h
new file mode 100644
index 0000000..d2c0beb
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_channel.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MUTE_CHANNEL_H__
+#define __AGS_MUTE_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_MUTE_CHANNEL (ags_mute_channel_get_type())
+#define AGS_MUTE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_CHANNEL, AgsMuteChannel))
+#define AGS_MUTE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_CHANNEL, AgsMuteChannel))
+#define AGS_IS_MUTE_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_CHANNEL))
+#define AGS_IS_MUTE_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_CHANNEL))
+#define AGS_MUTE_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_CHANNEL, AgsMuteChannelClass))
+
+typedef struct _AgsMuteChannel AgsMuteChannel;
+typedef struct _AgsMuteChannelClass AgsMuteChannelClass;
+
+struct _AgsMuteChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *muted;
+};
+
+struct _AgsMuteChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_mute_channel_get_type();
+
+AgsMuteChannel* ags_mute_channel_new();
+
+#endif /*__AGS_MUTE_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_mute_channel_run.c b/src/ags/audio/recall/ags_mute_channel_run.c
new file mode 100644
index 0000000..1dc8d1f
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_channel_run.c
@@ -0,0 +1,214 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_mute_channel_run.h>
+#include <ags/audio/recall/ags_mute_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_mute_channel_run_class_init(AgsMuteChannelRunClass *mute_channel_run);
+void ags_mute_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mute_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_mute_channel_run_init(AgsMuteChannelRun *mute_channel_run);
+void ags_mute_channel_run_connect(AgsConnectable *connectable);
+void ags_mute_channel_run_disconnect(AgsConnectable *connectable);
+void ags_mute_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_mute_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_mute_channel_run_finalize(GObject *gobject);
+
+AgsRecall* ags_mute_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+static gpointer ags_mute_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_mute_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_mute_channel_run_parent_dynamic_connectable_interface;
+
+GType
+ags_mute_channel_run_get_type()
+{
+ static GType ags_type_mute_channel_run = 0;
+
+ if(!ags_type_mute_channel_run){
+ static const GTypeInfo ags_mute_channel_run_info = {
+ sizeof (AgsMuteChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mute_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMuteChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mute_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mute_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsMuteChannelRun\0",
+ &ags_mute_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mute_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_mute_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_mute_channel_run);
+}
+
+void
+ags_mute_channel_run_class_init(AgsMuteChannelRunClass *mute_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_mute_channel_run_parent_class = g_type_class_peek_parent(mute_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) mute_channel_run;
+
+ gobject->finalize = ags_mute_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) mute_channel_run;
+}
+
+void
+ags_mute_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_mute_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mute_channel_run_connect;
+ connectable->disconnect = ags_mute_channel_run_disconnect;
+}
+
+void
+ags_mute_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_mute_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_mute_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_mute_channel_run_disconnect_dynamic;
+}
+
+void
+ags_mute_channel_run_init(AgsMuteChannelRun *mute_channel_run)
+{
+ AGS_RECALL(mute_channel_run)->name = "ags-mute\0";
+ AGS_RECALL(mute_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(mute_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(mute_channel_run)->xml_type = "ags-mute-channel-run\0";
+ AGS_RECALL(mute_channel_run)->port = NULL;
+
+ AGS_RECALL(mute_channel_run)->flags |= (AGS_RECALL_OUTPUT_ORIENTATED |
+ AGS_RECALL_INPUT_ORIENTATED);
+ AGS_RECALL(mute_channel_run)->child_type = AGS_TYPE_MUTE_RECYCLING;
+}
+
+void
+ags_mute_channel_run_connect(AgsConnectable *connectable)
+{
+ ags_mute_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_mute_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_mute_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_mute_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_channel_run_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_mute_channel_run_parent_class)->finalize(gobject);
+}
+
+AgsRecall*
+ags_mute_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsMuteChannelRun *mute;
+
+ mute = (AgsMuteChannelRun *) AGS_RECALL_CLASS(ags_mute_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) mute);
+}
+
+AgsMuteChannelRun*
+ags_mute_channel_run_new(AgsChannel *source)
+{
+ AgsMuteChannelRun *mute_channel_run;
+
+ mute_channel_run = (AgsMuteChannelRun *) g_object_new(AGS_TYPE_MUTE_CHANNEL_RUN,
+ "source\0", source,
+ NULL);
+
+ return(mute_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_mute_channel_run.h b/src/ags/audio/recall/ags_mute_channel_run.h
new file mode 100644
index 0000000..882960b
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_channel_run.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MUTE_CHANNEL_RUN_H__
+#define __AGS_MUTE_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_MUTE_CHANNEL_RUN (ags_mute_channel_run_get_type())
+#define AGS_MUTE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_CHANNEL_RUN, AgsMuteChannelRun))
+#define AGS_MUTE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_CHANNEL_RUN, AgsMuteChannelRunClass))
+#define AGS_IS_MUTE_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MUTE_CHANNEL_RUN))
+#define AGS_IS_MUTE_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MUTE_CHANNEL_RUN))
+#define AGS_MUTE_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MUTE_CHANNEL_RUN, AgsMuteChannelRunClass))
+
+typedef struct _AgsMuteChannelRun AgsMuteChannelRun;
+typedef struct _AgsMuteChannelRunClass AgsMuteChannelRunClass;
+
+struct _AgsMuteChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+
+struct _AgsMuteChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_mute_channel_run_get_type();
+
+AgsMuteChannelRun* ags_mute_channel_run_new(AgsChannel *source);
+
+#endif /*__AGS_MUTE_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_mute_recycling.c b/src/ags/audio/recall/ags_mute_recycling.c
new file mode 100644
index 0000000..c354102
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_recycling.c
@@ -0,0 +1,279 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_mute_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/recall/ags_mute_audio_signal.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_mute_recycling_class_init(AgsMuteRecyclingClass *mute_recycling);
+void ags_mute_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_mute_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_mute_recycling_init(AgsMuteRecycling *mute_recycling);
+void ags_mute_recycling_connect(AgsConnectable *connectable);
+void ags_mute_recycling_disconnect(AgsConnectable *connectable);
+void ags_mute_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_mute_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_mute_recycling_finalize(GObject *gobject);
+
+void ags_mute_recycling_done(AgsRecall *recall);
+void ags_mute_recycling_cancel(AgsRecall *recall);
+void ags_mute_recycling_remove(AgsRecall *recall);
+AgsRecall* ags_mute_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_mute_recycling
+ * @short_description: mutes recycling
+ * @title: AgsMuteRecycling
+ * @section_id:
+ * @include: ags/audio/recall/ags_mute_recycling.h
+ *
+ * The #AgsMuteRecycling class mutes the recycling.
+ */
+
+static gpointer ags_mute_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_mute_recycling_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_mute_recycling_parent_dynamic_connectable_interface;
+
+GType
+ags_mute_recycling_get_type()
+{
+ static GType ags_type_mute_recycling = 0;
+
+ if(!ags_type_mute_recycling){
+ static const GTypeInfo ags_mute_recycling_info = {
+ sizeof (AgsMuteRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_mute_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsMuteRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_mute_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_mute_recycling_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_mute_recycling = g_type_register_static(AGS_TYPE_RECALL_RECYCLING,
+ "AgsMuteRecycling\0",
+ &ags_mute_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_mute_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_mute_recycling,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_mute_recycling);
+}
+
+void
+ags_mute_recycling_class_init(AgsMuteRecyclingClass *mute_recycling)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ AgsRecallRecyclingClass *recall_recycling;
+
+ ags_mute_recycling_parent_class = g_type_class_peek_parent(mute_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) mute_recycling;
+
+ gobject->finalize = ags_mute_recycling_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) mute_recycling;
+
+ recall->done = ags_mute_recycling_done;
+ recall->cancel = ags_mute_recycling_cancel;
+ recall->remove = ags_mute_recycling_remove;
+
+ recall->duplicate = ags_mute_recycling_duplicate;
+
+ /* AgsRecallRecycling */
+ recall_recycling = (AgsRecallRecyclingClass *) mute_recycling;
+}
+
+void
+ags_mute_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_mute_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_mute_recycling_connect;
+ connectable->disconnect = ags_mute_recycling_disconnect;
+}
+
+void
+ags_mute_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_mute_recycling_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_mute_recycling_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_mute_recycling_disconnect_dynamic;
+}
+
+void
+ags_mute_recycling_init(AgsMuteRecycling *mute_recycling)
+{
+ AGS_RECALL(mute_recycling)->name = "ags-mute\0";
+ AGS_RECALL(mute_recycling)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(mute_recycling)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(mute_recycling)->xml_type = "ags-mute-recycling\0";
+ AGS_RECALL(mute_recycling)->port = NULL;
+
+ AGS_RECALL(mute_recycling)->child_type = AGS_TYPE_MUTE_AUDIO_SIGNAL;
+}
+
+void
+ags_mute_recycling_finalize(GObject *gobject)
+{
+ AgsMuteRecycling *mute_recycling;
+
+ mute_recycling = AGS_MUTE_RECYCLING(gobject);
+
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_mute_recycling_parent_class)->finalize(gobject);
+}
+
+void
+ags_mute_recycling_connect(AgsConnectable *connectable)
+{
+ AgsMuteRecycling *mute_recycling;
+
+ ags_mute_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_recycling_disconnect(AgsConnectable *connectable)
+{
+ AgsMuteRecycling *mute_recycling;
+
+ ags_mute_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsMuteRecycling *mute_recycling;
+ GObject *gobject;
+
+ ags_mute_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_mute_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsMuteRecycling *mute_recycling;
+ GObject *gobject;
+
+ ags_mute_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_mute_recycling_done(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_mute_recycling_parent_class)->done(recall);
+
+ /* empty */
+}
+
+void
+ags_mute_recycling_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_mute_recycling_parent_class)->cancel(recall);
+
+ /* empty */
+}
+
+void
+ags_mute_recycling_remove(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_mute_recycling_parent_class)->remove(recall);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_mute_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsMuteRecycling *mute_recycling, *mute;
+
+ mute_recycling = (AgsMuteRecycling *) recall;
+ mute = (AgsMuteRecycling *) AGS_RECALL_CLASS(ags_mute_recycling_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) mute);
+}
+
+/**
+ * ags_mute_recycling_new:
+ * @source: the source #AgsRecycling
+ *
+ * Creates an #AgsMuteRecycling
+ *
+ * Returns: a new #AgsMuteRecycling
+ *
+ * Since: 0.4
+ */
+AgsMuteRecycling*
+ags_mute_recycling_new(AgsRecycling *source)
+{
+ AgsMuteRecycling *mute_recycling;
+
+ mute_recycling = (AgsMuteRecycling *) g_object_new(AGS_TYPE_MUTE_RECYCLING,
+ "source\0", source,
+ NULL);
+
+ return(mute_recycling);
+}
diff --git a/src/ags/audio/recall/ags_mute_recycling.h b/src/ags/audio/recall/ags_mute_recycling.h
new file mode 100644
index 0000000..2927604
--- /dev/null
+++ b/src/ags/audio/recall/ags_mute_recycling.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MUTE_RECYCLING_H__
+#define __AGS_MUTE_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_recycling.h>
+
+#include <ags/audio/ags_recycling.h>
+
+#define AGS_TYPE_MUTE_RECYCLING (ags_mute_recycling_get_type())
+#define AGS_MUTE_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTE_RECYCLING, AgsMuteRecycling))
+#define AGS_MUTE_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MUTE_RECYCLING, AgsMuteRecyclingClass))
+#define AGS_IS_MUTE_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MUTE_RECYCLING))
+#define AGS_IS_MUTE_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_MUTE_RECYCLING))
+#define AGS_MUTE_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MUTE_RECYCLING, AgsMuteRecyclingClass))
+
+typedef struct _AgsMuteRecycling AgsMuteRecycling;
+typedef struct _AgsMuteRecyclingClass AgsMuteRecyclingClass;
+
+struct _AgsMuteRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+
+struct _AgsMuteRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+
+GType ags_mute_recycling_get_type();
+
+AgsMuteRecycling* ags_mute_recycling_new(AgsRecycling *source);
+
+#endif /*__AGS_MUTE_RECYCLING_H__*/
diff --git a/src/ags/audio/recall/ags_peak_channel.c b/src/ags/audio/recall/ags_peak_channel.c
new file mode 100644
index 0000000..655676e
--- /dev/null
+++ b/src/ags/audio/recall/ags_peak_channel.c
@@ -0,0 +1,402 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_peak_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_mutable.h>
+#include <ags/object/ags_plugin.h>
+
+void ags_peak_channel_class_init(AgsPeakChannelClass *peak_channel);
+void ags_peak_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_peak_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_peak_channel_init(AgsPeakChannel *peak_channel);
+void ags_peak_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_peak_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_peak_channel_connect(AgsConnectable *connectable);
+void ags_peak_channel_disconnect(AgsConnectable *connectable);
+void ags_peak_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_peak_channel_finalize(GObject *gobject);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_peak_channel
+ * @short_description: peaks channel
+ * @title: AgsPeakChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_peak_channel.h
+ *
+ * The #AgsPeakChannel class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_PEAK,
+};
+
+static gpointer ags_peak_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_peak_channel_parent_connectable_interface;
+static AgsPluginInterface *ags_peak_channel_parent_plugin_interface;
+
+static const gchar *ags_peak_channel_plugin_name = "ags-peak\0";
+static const gchar *ags_peak_channel_plugin_specifier[] = {
+ "./peak[0]\0",
+};
+static const gchar *ags_peak_channel_plugin_control_port[] = {
+ "1/1\0",
+};
+
+GType
+ags_peak_channel_get_type()
+{
+ static GType ags_type_peak_channel = 0;
+
+ if(!ags_type_peak_channel){
+ static const GTypeInfo ags_peak_channel_info = {
+ sizeof (AgsPeakChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_peak_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPeakChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_peak_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_peak_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_peak_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_peak_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsPeakChannel\0",
+ &ags_peak_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_peak_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_peak_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_peak_channel);
+}
+
+void
+ags_peak_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_peak_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_peak_channel_connect;
+ connectable->disconnect = ags_peak_channel_disconnect;
+}
+
+void
+ags_peak_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_peak_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_peak_channel_set_ports;
+}
+
+void
+ags_peak_channel_class_init(AgsPeakChannelClass *peak_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_peak_channel_parent_class = g_type_class_peek_parent(peak_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) peak_channel;
+
+ gobject->set_property = ags_peak_channel_set_property;
+ gobject->get_property = ags_peak_channel_get_property;
+
+ gobject->finalize = ags_peak_channel_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) peak_channel;
+
+ /* properties */
+ param_spec = g_param_spec_object("peak\0",
+ "peak of channel\0",
+ "The peak of channel\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PEAK,
+ param_spec);
+}
+
+void
+ags_peak_channel_init(AgsPeakChannel *peak_channel)
+{
+ GList *port;
+
+ AGS_RECALL(peak_channel)->name = "ags-peak\0";
+ AGS_RECALL(peak_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(peak_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(peak_channel)->xml_type = "ags-peak-channel\0";
+
+ port = NULL;
+
+ peak_channel->peak = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_peak_channel_plugin_name,
+ "specifier\0", ags_peak_channel_plugin_specifier[0],
+ "control-port\0", ags_peak_channel_plugin_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length\0", 1,
+ NULL);
+ peak_channel->peak->port_value.ags_port_double = FALSE;
+
+ port = g_list_prepend(port, peak_channel->peak);
+
+ /* set port */
+ AGS_RECALL(peak_channel)->port = port;
+}
+
+void
+ags_peak_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPeakChannel *peak_channel;
+
+ peak_channel = AGS_PEAK_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_PEAK:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == peak_channel->peak){
+ return;
+ }
+
+ if(peak_channel->peak != NULL){
+ g_object_unref(G_OBJECT(peak_channel->peak));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ peak_channel->peak = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_peak_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPeakChannel *peak_channel;
+
+ peak_channel = AGS_PEAK_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_PEAK:
+ {
+ g_value_set_object(value, peak_channel->peak);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_peak_channel_finalize(GObject *gobject)
+{
+ AgsPeakChannel *peak_channel;
+
+ peak_channel = AGS_PEAK_CHANNEL(gobject);
+
+ if(peak_channel->peak != NULL){
+ g_object_unref(G_OBJECT(peak_channel->peak));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_peak_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_peak_channel_connect(AgsConnectable *connectable)
+{
+ ags_peak_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_peak_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_peak_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_peak_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./peak[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "peak\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_peak_channel_retrieve_peak(AgsPeakChannel *peak_channel,
+ gboolean is_play)
+{
+ AgsRecall *recall;
+ AgsChannel *source;
+ AgsRecycling *recycling;
+ GList *audio_signal;
+ double *buffer;
+ double current_value;
+ guint buffer_size;
+ static const double scale_precision = 10.0;
+ guint i;
+ GValue value = {0,};
+
+ if(peak_channel == NULL){
+ return;
+ }
+
+ recall = (AgsRecall *) peak_channel;
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+
+ source = AGS_RECALL_CHANNEL(peak_channel)->source;
+ recycling = source->first_recycling;
+
+ /* initialize buffer */
+ buffer = (double *) malloc(buffer_size * sizeof(double));
+ for(i = 0; i < buffer_size; i++) buffer[i] = 0.0;
+
+ while(recycling != source->last_recycling->next){
+ audio_signal = recycling->audio_signal;
+
+ while(audio_signal != NULL){
+ if(AGS_AUDIO_SIGNAL(audio_signal->data)->stream_current != NULL){
+ /* copy buffer 1:1 */
+ ags_audio_signal_copy_buffer_to_double_buffer(buffer, 1,
+ (signed short *) AGS_AUDIO_SIGNAL(audio_signal->data)->stream_current->data, 1,
+ buffer_size);
+ }
+
+ audio_signal = audio_signal->next;
+ }
+
+ recycling = recycling->next;
+ }
+
+ /* calculate average value */
+ current_value = 0.0;
+
+ for(i = 0; i < buffer_size; i++){
+ current_value += (1.0 / (1.0 / G_MAXUINT16 * buffer[i]));
+ }
+
+ /* break down to scale */
+ //TODO:JK: verify me
+ current_value = scale_precision * (atan(1.0 / 440.0) / sin(current_value / 440.0));
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+
+ if(current_value < 0.0){
+ current_value *= -1.0;
+ }
+
+ g_value_set_double(&value,
+ current_value);
+
+ ags_port_safe_write(peak_channel->peak,
+ &value);
+
+ /* free buffer */
+ free(buffer);
+}
+
+/**
+ * ags_peak_channel_new:
+ * @source: the #AgsChannel as source
+ *
+ * Creates an #AgsPeakChannel
+ *
+ * Returns: a new #AgsPeakChannel
+ *
+ * Since: 0.4
+ */
+AgsPeakChannel*
+ags_peak_channel_new(AgsChannel *source)
+{
+ AgsPeakChannel *peak_channel;
+
+ peak_channel = (AgsPeakChannel *) g_object_new(AGS_TYPE_PEAK_CHANNEL,
+ "channel\0", source,
+ NULL);
+
+ return(peak_channel);
+}
diff --git a/src/ags/audio/recall/ags_peak_channel.h b/src/ags/audio/recall/ags_peak_channel.h
new file mode 100644
index 0000000..ced0a4b
--- /dev/null
+++ b/src/ags/audio/recall/ags_peak_channel.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PEAK_CHANNEL_H__
+#define __AGS_PEAK_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_PEAK_CHANNEL (ags_peak_channel_get_type())
+#define AGS_PEAK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PEAK_CHANNEL, AgsPeakChannel))
+#define AGS_PEAK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PEAK_CHANNEL, AgsPeakChannel))
+#define AGS_IS_PEAK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PEAK_CHANNEL))
+#define AGS_IS_PEAK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PEAK_CHANNEL))
+#define AGS_PEAK_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PEAK_CHANNEL, AgsPeakChannelClass))
+
+typedef struct _AgsPeakChannel AgsPeakChannel;
+typedef struct _AgsPeakChannelClass AgsPeakChannelClass;
+
+struct _AgsPeakChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *peak;
+};
+
+struct _AgsPeakChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_peak_channel_get_type();
+
+void ags_peak_channel_retrieve_peak(AgsPeakChannel *peak_channel,
+ gboolean is_play);
+
+AgsPeakChannel* ags_peak_channel_new(AgsChannel *source);
+
+#endif /*__AGS_PEAK_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_peak_channel_run.c b/src/ags/audio/recall/ags_peak_channel_run.c
new file mode 100644
index 0000000..d559eb4
--- /dev/null
+++ b/src/ags/audio/recall/ags_peak_channel_run.c
@@ -0,0 +1,274 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_peak_channel_run.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_list.h>
+#include <ags/lib/ags_parameter.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+
+void ags_peak_channel_run_class_init(AgsPeakChannelRunClass *peak_channel_run);
+void ags_peak_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_peak_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_peak_channel_run_init(AgsPeakChannelRun *peak_channel_run);
+void ags_peak_channel_run_connect(AgsConnectable *connectable);
+void ags_peak_channel_run_disconnect(AgsConnectable *connectable);
+void ags_peak_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_peak_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_peak_channel_run_finalize(GObject *gobject);
+
+AgsRecall* ags_peak_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+void ags_peak_channel_run_run_post(AgsRecall *recall);
+
+/**
+ * SECTION:ags_peak_channel_run
+ * @short_description: peak
+ * @title: AgsPeakChannelRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_peak_channel_run.h
+ *
+ * The #AgsPeakChannelRun class peaks the channel.
+ */
+
+static gpointer ags_peak_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_peak_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_peak_channel_run_parent_dynamic_connectable_interface;
+
+GType
+ags_peak_channel_run_get_type()
+{
+ static GType ags_type_peak_channel_run = 0;
+
+ if(!ags_type_peak_channel_run){
+ static const GTypeInfo ags_peak_channel_run_info = {
+ sizeof (AgsPeakChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_peak_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPeakChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_peak_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_peak_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_peak_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_peak_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsPeakChannelRun\0",
+ &ags_peak_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_peak_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_peak_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_peak_channel_run);
+}
+
+void
+ags_peak_channel_run_class_init(AgsPeakChannelRunClass *peak_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_peak_channel_run_parent_class = g_type_class_peek_parent(peak_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) peak_channel_run;
+
+ gobject->finalize = ags_peak_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) peak_channel_run;
+
+ recall->duplicate = ags_peak_channel_run_duplicate;
+ recall->run_post = ags_peak_channel_run_run_post;
+}
+
+void
+ags_peak_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_peak_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_peak_channel_run_connect;
+ connectable->disconnect = ags_peak_channel_run_disconnect;
+}
+
+void
+ags_peak_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_peak_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_peak_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_peak_channel_run_disconnect_dynamic;
+}
+
+void
+ags_peak_channel_run_init(AgsPeakChannelRun *peak_channel_run)
+{
+ AGS_RECALL(peak_channel_run)->name = "ags-peak\0";
+ AGS_RECALL(peak_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(peak_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(peak_channel_run)->xml_type = "ags-peak-channel-run\0";
+ AGS_RECALL(peak_channel_run)->port = NULL;
+
+ AGS_RECALL(peak_channel_run)->flags |= AGS_RECALL_INPUT_ORIENTATED;
+ AGS_RECALL(peak_channel_run)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_peak_channel_run_finalize(GObject *gobject)
+{
+ AgsPeakChannelRun *peak_channel_run;
+
+ peak_channel_run = AGS_PEAK_CHANNEL_RUN(gobject);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_peak_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_peak_channel_run_connect(AgsConnectable *connectable)
+{
+ AgsPeakChannelRun *peak_channel_run;
+
+ ags_peak_channel_run_parent_connectable_interface->connect(connectable);
+
+ peak_channel_run = AGS_PEAK_CHANNEL_RUN(connectable);
+}
+
+void
+ags_peak_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_peak_channel_run_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_peak_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_peak_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_peak_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_peak_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+AgsRecall*
+ags_peak_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsPeakChannelRun *peak_channel_run, *copy;
+
+ peak_channel_run = (AgsPeakChannelRun *) recall;
+
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ NULL);
+ copy = (AgsPeakChannelRun *) AGS_RECALL_CLASS(ags_peak_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_peak_channel_run_run_post(AgsRecall *recall)
+{
+ AgsChannel *source;
+ AgsRecallChannel *recall_channel;
+ GList *list;
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_peak_channel_run_parent_class)->run_post(recall);
+
+ /* */
+ source = AGS_RECALL_CHANNEL_RUN(recall)->source;
+ recall_channel = AGS_RECALL_CHANNEL_RUN(recall)->recall_channel;
+
+ if(AGS_RECYCLING_CONTAINER(AGS_RECALL_ID(recall->recall_id)->recycling_container)->parent == NULL){
+ list = ags_recall_find_type(source->play,
+ AGS_TYPE_PEAK_CHANNEL_RUN);
+
+ // if(g_list_last(list) == recall){
+ ags_peak_channel_retrieve_peak(recall_channel,
+ TRUE);
+ // }
+ }else{
+ list = ags_recall_find_type(source->recall,
+ AGS_TYPE_PEAK_CHANNEL_RUN);
+
+ // if(g_list_last(list) == recall){
+ ags_peak_channel_retrieve_peak(recall_channel,
+ FALSE);
+ // }
+ }
+}
+
+/**
+ * ags_peak_channel_run_new:
+ * @channel: the #AgsChannel as source
+ *
+ * Creates an #AgsPeakChannelRun
+ *
+ * Returns: a new #AgsPeakChannelRun
+ *
+ * Since: 0.4
+ */
+AgsPeakChannelRun*
+ags_peak_channel_run_new(AgsChannel *channel)
+{
+ AgsPeakChannelRun *peak_channel_run;
+
+ peak_channel_run = (AgsPeakChannelRun *) g_object_new(AGS_TYPE_PEAK_CHANNEL_RUN,
+ "source\0", channel,
+ NULL);
+
+ return(peak_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_peak_channel_run.h b/src/ags/audio/recall/ags_peak_channel_run.h
new file mode 100644
index 0000000..a12eedb
--- /dev/null
+++ b/src/ags/audio/recall/ags_peak_channel_run.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PEAK_CHANNEL_RUN_H__
+#define __AGS_PEAK_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_PEAK_CHANNEL_RUN (ags_peak_channel_run_get_type())
+#define AGS_PEAK_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PEAK_CHANNEL_RUN, AgsPeakChannelRun))
+#define AGS_PEAK_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_INSTANCE_CAST(class, AGS_TYPE_PEAK_CHANNEL_RUN, AgsPeakChannelRunClass))
+#define AGS_IS_PEAK_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PEAK_CHANNEL_RUN))
+#define AGS_IS_PEAK_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PEAK_CHANNEL_RUN))
+#define AGS_PEAK_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PEAK_CHANNEL_RUN, AgsPeakChannelRunClass))
+
+typedef struct _AgsPeakChannelRun AgsPeakChannelRun;
+typedef struct _AgsPeakChannelRunClass AgsPeakChannelRunClass;
+
+struct _AgsPeakChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+
+struct _AgsPeakChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_peak_channel_run_get_type();
+
+AgsPeakChannelRun* ags_peak_channel_run_new(AgsChannel *channel);
+
+#endif /*__AGS_PEAK_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_play_audio.c b/src/ags/audio/recall/ags_play_audio.c
new file mode 100644
index 0000000..54218cb
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_audio.c
@@ -0,0 +1,116 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_audio.h>
+
+#include <ags/main.h>
+
+void ags_play_audio_class_init(AgsPlayAudioClass *play_audio);
+void ags_play_audio_init(AgsPlayAudio *play_audio);
+void ags_play_audio_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_play_audio
+ * @short_description: play audio
+ * @title: AgsPlayAudio
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_audio.h
+ *
+ * The #AgsPlayAudio class provides ports to the effect processor.
+ */
+
+static gpointer ags_play_audio_parent_class = NULL;
+
+GType
+ags_play_audio_get_type()
+{
+ static GType ags_type_play_audio = 0;
+
+ if(!ags_type_play_audio){
+ static const GTypeInfo ags_play_audio_info = {
+ sizeof (AgsPlayAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_audio */
+ sizeof (AgsPlayAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_audio_init,
+ };
+
+ ags_type_play_audio = g_type_register_static(AGS_TYPE_RECALL_AUDIO,
+ "AgsPlayAudio\0",
+ &ags_play_audio_info,
+ 0);
+ }
+
+ return(ags_type_play_audio);
+}
+
+void
+ags_play_audio_class_init(AgsPlayAudioClass *play_audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_play_audio_parent_class = g_type_class_peek_parent(play_audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_audio;
+
+ gobject->finalize = ags_play_audio_finalize;
+}
+
+void
+ags_play_audio_init(AgsPlayAudio *play_audio)
+{
+ AGS_RECALL(play_audio)->name = "ags-play\0";
+ AGS_RECALL(play_audio)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(play_audio)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(play_audio)->xml_type = "ags-play-audio\0";
+}
+
+void
+ags_play_audio_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_play_audio_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_play_audio_new:
+ *
+ * Creates an #AgsPlayAudio
+ *
+ * Returns: a new #AgsPlayAudio
+ *
+ * Since: 0.4
+ */
+AgsPlayAudio*
+ags_play_audio_new()
+{
+ AgsPlayAudio *play_audio;
+
+ play_audio = (AgsPlayAudio *) g_object_new(AGS_TYPE_PLAY_AUDIO,
+ NULL);
+
+ return(play_audio);
+}
diff --git a/src/ags/audio/recall/ags_play_audio.h b/src/ags/audio/recall/ags_play_audio.h
new file mode 100644
index 0000000..84c7fd3
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_audio.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_AUDIO_H__
+#define __AGS_PLAY_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio.h>
+
+#define AGS_TYPE_PLAY_AUDIO (ags_play_audio_get_type())
+#define AGS_PLAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_AUDIO, AgsPlayAudio))
+#define AGS_PLAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_AUDIO, AgsPlayAudio))
+#define AGS_IS_PLAY_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_AUDIO))
+#define AGS_IS_PLAY_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_AUDIO))
+#define AGS_PLAY_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_AUDIO, AgsPlayAudioClass))
+
+typedef struct _AgsPlayAudio AgsPlayAudio;
+typedef struct _AgsPlayAudioClass AgsPlayAudioClass;
+
+struct _AgsPlayAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *muted;
+};
+
+struct _AgsPlayAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+
+GType ags_play_audio_get_type();
+
+AgsPlayAudio* ags_play_audio_new();
+
+#endif /*__AGS_PLAY_AUDIO_H__*/
diff --git a/src/ags/audio/recall/ags_play_audio_file.c b/src/ags/audio/recall/ags_play_audio_file.c
new file mode 100644
index 0000000..d92ea64
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_audio_file.c
@@ -0,0 +1,354 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_audio_file.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+void ags_play_audio_file_class_init(AgsPlayAudioFileClass *play_audio_file);
+void ags_play_audio_file_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_play_audio_file_init(AgsPlayAudioFile *play_audio_file);
+void ags_play_audio_file_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_play_audio_file_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_play_audio_file_connect(AgsConnectable *connectable);
+void ags_play_audio_file_disconnect(AgsConnectable *connectable);
+void ags_play_audio_file_finalize(GObject *gobject);
+
+void ags_play_audio_file_run_inter(AgsRecall *recall);
+void ags_play_audio_file_remove(AgsRecall *recall);
+void ags_play_audio_file_cancel(AgsRecall *recall);
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+ PROP_AUDIO_FILE,
+ PROP_CURRENT_FRAME,
+};
+
+static gpointer ags_play_audio_file_parent_class = NULL;
+static AgsConnectableInterface *ags_play_audio_file_parent_connectable_interface;
+
+GType
+ags_play_audio_file_get_type()
+{
+ static GType ags_type_play_audio_file = 0;
+
+ if(!ags_type_play_audio_file){
+ static const GTypeInfo ags_play_audio_file_info = {
+ sizeof (AgsPlayAudioFileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_audio_file_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayAudioFile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_audio_file_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_audio_file_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_audio_file = g_type_register_static(AGS_TYPE_RECALL,
+ "AgsPlayAudioFile\0",
+ &ags_play_audio_file_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_audio_file,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_play_audio_file);
+}
+
+void
+ags_play_audio_file_class_init(AgsPlayAudioFileClass *play_audio_file)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_play_audio_file_parent_class = g_type_class_peek_parent(play_audio_file);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_audio_file;
+
+ gobject->set_property = ags_play_audio_file_set_property;
+ gobject->get_property = ags_play_audio_file_get_property;
+
+ gobject->finalize = ags_play_audio_file_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_gtype("devout\0",
+ "assigned devout\0",
+ "The devout this recall is assigned to\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ param_spec = g_param_spec_gtype("audio_file\0",
+ "assigned audio file\0",
+ "The audio file this recall is assigned to\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_FILE,
+ param_spec);
+
+ param_spec = g_param_spec_gtype("current\0",
+ "current frame\0",
+ "The current frame this recall is playing\0",
+ G_TYPE_UINT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CURRENT_FRAME,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall->run_inter = ags_play_audio_file_run_inter;
+ recall->remove = ags_play_audio_file_remove;
+ recall->cancel = ags_play_audio_file_cancel;
+}
+
+void
+ags_play_audio_file_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_play_audio_file_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_play_audio_file_connect;
+ connectable->disconnect = ags_play_audio_file_disconnect;
+}
+
+void
+ags_play_audio_file_init(AgsPlayAudioFile *play_audio_file)
+{
+ play_audio_file->audio_file = NULL;
+ play_audio_file->current_frame = 0;
+
+ play_audio_file->devout = NULL;
+}
+
+void
+ags_play_audio_file_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayAudioFile *play_audio_file;
+
+ play_audio_file = AGS_PLAY_AUDIO_FILE(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(play_audio_file->devout == devout)
+ return;
+
+ if(play_audio_file->devout != NULL)
+ g_object_unref(play_audio_file->devout);
+
+ if(devout != NULL)
+ g_object_ref(devout);
+
+ play_audio_file->devout = devout;
+ }
+ break;
+ case PROP_AUDIO_FILE:
+ {
+ AgsAudioFile *audio_file;
+
+ audio_file = (AgsAudioFile *) g_value_get_object(value);
+
+ if(play_audio_file->audio_file == audio_file)
+ return;
+
+ if(play_audio_file->audio_file != NULL)
+ g_object_unref(play_audio_file->audio_file);
+
+ if(play_audio_file != NULL)
+ g_object_ref(play_audio_file);
+
+ play_audio_file->audio_file = audio_file;
+ }
+ break;
+ case PROP_CURRENT_FRAME:
+ {
+ play_audio_file->current_frame = (guint) g_value_get_uint(value);
+
+ /*
+ * TODO:JK: implement seeking over the buffer
+ */
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_audio_file_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayAudioFile *play_audio_file;
+
+ play_audio_file = AGS_PLAY_AUDIO_FILE(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ g_value_set_object(value, play_audio_file->devout);
+ }
+ break;
+ case PROP_AUDIO_FILE:
+ {
+ g_value_set_object(value, play_audio_file->audio_file);
+ }
+ break;
+ case PROP_CURRENT_FRAME:
+ {
+ g_value_set_uint(value, play_audio_file->current_frame);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_audio_file_connect(AgsConnectable *connectable)
+{
+ ags_play_audio_file_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_audio_file_disconnect(AgsConnectable *connectable)
+{
+ ags_play_audio_file_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_audio_file_finalize(GObject *gobject)
+{
+ AgsPlayAudioFile *play_audio_file;
+
+ play_audio_file = AGS_PLAY_AUDIO_FILE(gobject);
+
+ g_object_unref(G_OBJECT(play_audio_file->audio_file));
+
+ g_object_unref(G_OBJECT(play_audio_file->devout));
+
+ G_OBJECT_CLASS(ags_play_audio_file_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_audio_file_run_inter(AgsRecall *recall)
+{
+ /* DEPRECATED
+ AgsPlayAudioFile *play_audio_file;
+ signed short *buffer;
+ guint i0, i1, j, stop;
+ gboolean play_done;
+
+ AGS_RECALL_CLASS(ags_play_audio_file_parent_class)->run_inter(recall);
+
+ play_audio_file = (AgsPlayAudioFile *) recall;
+
+ if((AGS_DEVOUT_BUFFER0 & play_audio_file->devout->flags) != 0){
+ buffer = play_audio_file->devout->buffer[1];
+ }else if((AGS_DEVOUT_BUFFER1 & play_audio_file->devout->flags) != 0){
+ buffer = play_audio_file->devout->buffer[2];
+ }else if((AGS_DEVOUT_BUFFER2 & play_audio_file->devout->flags) != 0){
+ buffer = play_audio_file->devout->buffer[3];
+ }else if((AGS_DEVOUT_BUFFER3 & play_audio_file->devout->flags) != 0){
+ buffer = play_audio_file->devout->buffer[0];
+ }
+
+ i0 = play_audio_file->current_frame;
+ stop = i0 + play_audio_file->devout->buffer_size;
+
+ if(stop < play_audio_file->audio_file->frames)
+ play_done = FALSE;
+ else{
+ stop = play_audio_file->audio_file->frames;
+ play_done = TRUE;
+ }
+
+ for(i1 = 0; i0 < stop; i0++, i1++){
+ for(j = 0; j < play_audio_file->audio_file->channels || j < play_audio_file->devout->dsp_channels; j++)
+ buffer[i1 * play_audio_file->devout->dsp_channels + j] = ((buffer[i1 * play_audio_file->devout->dsp_channels + j]) / 2) + ((play_audio_file->audio_file->buffer[i0 * play_audio_file->audio_file->channels + j]) / 2);
+ }
+
+ play_audio_file->current_frame = i0;
+
+ if(play_done)
+ ags_recall_done(recall);
+*/
+}
+
+void
+ags_play_audio_file_remove(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_audio_file_parent_class)->remove(recall);
+}
+
+void
+ags_play_audio_file_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_audio_file_parent_class)->cancel(recall);
+}
+
+AgsPlayAudioFile*
+ags_play_audio_file_new(AgsAudioFile *audio_file,
+ AgsDevout *devout)
+{
+ AgsPlayAudioFile *play_audio_file;
+
+ play_audio_file = (AgsPlayAudioFile *) g_object_new(AGS_TYPE_PLAY_AUDIO_FILE,
+ "audio_file\0", audio_file,
+ "devout\0", devout,
+ NULL);
+
+ return(play_audio_file);
+}
+
diff --git a/src/ags/audio/recall/ags_play_audio_file.h b/src/ags/audio/recall/ags_play_audio_file.h
new file mode 100644
index 0000000..c21795f
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_audio_file.h
@@ -0,0 +1,60 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_AUDIO_FILE_H__
+#define __AGS_PLAY_AUDIO_FILE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_PLAY_AUDIO_FILE (ags_play_audio_file_get_type())
+#define AGS_PLAY_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_AUDIO_FILE, AgsPlayAudioFile))
+#define AGS_PLAY_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AgsPlayAudioFileClass))
+#define AGS_IS_PLAY_AUDIO_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_AUDIO_FILE))
+#define AGS_IS_PLAY_AUDIO_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_AUDIO_FILE))
+#define AGS_PLAY_AUDIO_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_AUDIO_FILE, AgsPlayAudioFileClass))
+
+typedef struct _AgsPlayAudioFile AgsPlayAudioFile;
+typedef struct _AgsPlayAudioFileClass AgsPlayAudioFileClass;
+
+struct _AgsPlayAudioFile
+{
+ AgsRecall recall;
+
+ AgsAudioFile *audio_file;
+ guint current_frame;
+
+ AgsDevout *devout;
+};
+
+struct _AgsPlayAudioFileClass
+{
+ AgsRecallClass recall;
+};
+
+GType ags_play_audio_file_get_type();
+
+AgsPlayAudioFile* ags_play_audio_file_new(AgsAudioFile *audio_file,
+ AgsDevout *devout);
+
+#endif /*__AGS_PLAY_AUDIO_FILE_H__*/
diff --git a/src/ags/audio/recall/ags_play_audio_signal.c b/src/ags/audio/recall/ags_play_audio_signal.c
new file mode 100644
index 0000000..3fcd82e
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_audio_signal.c
@@ -0,0 +1,346 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_audio_signal.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_channel_run_master.h>
+
+#include <stdlib.h>
+
+void ags_play_audio_signal_class_init(AgsPlayAudioSignalClass *play_audio_signal);
+void ags_play_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_play_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_play_audio_signal_init(AgsPlayAudioSignal *play_audio_signal);
+void ags_play_audio_signal_connect(AgsConnectable *connectable);
+void ags_play_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_play_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_audio_signal_finalize(GObject *gobject);
+
+void ags_play_audio_signal_run_init_pre(AgsRecall *recall);
+void ags_play_audio_signal_run_inter(AgsRecall *recall);
+AgsRecall* ags_play_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_play_audio_signal
+ * @short_description: plays audio signal
+ * @title: AgsPlayAudioSignal
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_audio_signal.h
+ *
+ * The #AgsPlayAudioSignal class plays the audio signal.
+ */
+
+static gpointer ags_play_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_play_audio_signal_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_play_audio_signal_parent_dynamic_connectable_interface;
+
+GType
+ags_play_audio_signal_get_type()
+{
+ static GType ags_type_play_audio_signal = 0;
+
+ if(!ags_type_play_audio_signal){
+ static const GTypeInfo ags_play_audio_signal_info = {
+ sizeof (AgsPlayAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_audio_signal_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_audio_signal = g_type_register_static(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "AgsPlayAudioSignal\0",
+ &ags_play_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_audio_signal,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_play_audio_signal);
+}
+
+void
+ags_play_audio_signal_class_init(AgsPlayAudioSignalClass *play_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_play_audio_signal_parent_class = g_type_class_peek_parent(play_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_audio_signal;
+
+ gobject->finalize = ags_play_audio_signal_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) play_audio_signal;
+
+ recall->run_init_pre = ags_play_audio_signal_run_init_pre;
+ recall->run_inter = ags_play_audio_signal_run_inter;
+ recall->duplicate = ags_play_audio_signal_duplicate;
+}
+
+void
+ags_play_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_play_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_play_audio_signal_connect;
+ connectable->disconnect = ags_play_audio_signal_disconnect;
+}
+
+void
+ags_play_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_play_audio_signal_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_play_audio_signal_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_play_audio_signal_disconnect_dynamic;
+}
+
+void
+ags_play_audio_signal_init(AgsPlayAudioSignal *play_audio_signal)
+{
+ AGS_RECALL(play_audio_signal)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_play_audio_signal_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_play_audio_signal_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_audio_signal_connect(AgsConnectable *connectable)
+{
+ ags_play_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ ags_play_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_play_audio_signal_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_play_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_play_audio_signal_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_play_audio_signal_run_init_pre(AgsRecall *recall)
+{
+ /* call parent */
+ AGS_RECALL_CLASS(ags_play_audio_signal_parent_class)->run_init_pre(recall);
+
+ /* empty */
+}
+
+void
+ags_play_audio_signal_run_inter(AgsRecall *recall)
+{
+ AgsDevout *devout;
+ AgsRecycling *recycling;
+ AgsAudioSignal *source;
+ AgsRecallChannelRun *play_channel_run;
+ AgsPlayChannel *play_channel;
+ AgsPlayAudioSignal *play_audio_signal;
+ GList *stream;
+ signed short *buffer0, *buffer1;
+ guint audio_channel;
+ guint buffer_size;
+ gboolean muted;
+ GValue muted_value = {0,};
+ GValue audio_channel_value = {0,};
+
+ play_audio_signal = AGS_PLAY_AUDIO_SIGNAL(recall);
+
+ devout = AGS_DEVOUT(AGS_RECALL(play_audio_signal)->devout);
+ source = AGS_AUDIO_SIGNAL(AGS_RECALL_AUDIO_SIGNAL(play_audio_signal)->source);
+ stream = source->stream_current;
+
+ if(devout == NULL){
+ g_warning("no devout\0");
+ return;
+ }
+
+ if(stream == NULL){
+ ags_recall_done(recall);
+
+ return;
+ }
+
+ if((AGS_DEVOUT_BUFFER0 & devout->flags) != 0){
+ buffer0 = devout->buffer[1];
+ buffer1 = devout->buffer[2];
+ }else if((AGS_DEVOUT_BUFFER1 & devout->flags) != 0){
+ buffer0 = devout->buffer[2];
+ buffer1 = devout->buffer[3];
+ }else if((AGS_DEVOUT_BUFFER2 & devout->flags) != 0){
+ buffer0 = devout->buffer[3];
+ buffer1 = devout->buffer[0];
+ }else if((AGS_DEVOUT_BUFFER3 & devout->flags) != 0){
+ buffer0 = devout->buffer[0];
+ buffer1 = devout->buffer[1];
+ }else{
+ g_warning("no output buffer\0");
+ return;
+ }
+
+ if(recall->parent == NULL ||
+ recall->parent->parent == NULL){
+ play_channel_run = NULL;
+ play_channel = NULL;
+ audio_channel = AGS_RECALL_AUDIO_SIGNAL(play_audio_signal)->audio_channel;
+ }else{
+ play_channel_run = AGS_RECALL_CHANNEL_RUN(recall->parent->parent);
+ play_channel = ags_recall_find_provider(AGS_RECALL_CONTAINER(AGS_RECALL(play_channel_run)->container)->recall_channel,
+ AGS_RECALL_CHANNEL_RUN(play_channel_run)->source)->data;
+
+ g_value_init(&muted_value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(play_channel->muted,
+ &muted_value);
+
+ muted = g_value_get_boolean(&muted_value);
+
+ if(muted){
+ return;
+ }
+
+ g_value_init(&audio_channel_value, G_TYPE_UINT64);
+ ags_port_safe_read(play_channel->audio_channel,
+ &audio_channel_value);
+
+ audio_channel = g_value_get_uint64(&audio_channel_value);
+ }
+
+ buffer_size = source->buffer_size;
+
+ if((AGS_RECALL_INITIAL_RUN & (AGS_RECALL_AUDIO_SIGNAL(recall)->flags)) != 0){
+ AGS_RECALL_AUDIO_SIGNAL(recall)->flags &= (~AGS_RECALL_INITIAL_RUN);
+ ags_audio_signal_copy_buffer_to_buffer(&(buffer0[audio_channel + source->attack * devout->pcm_channels]),
+ devout->pcm_channels,
+ (signed short *) stream->data, 1,
+ buffer_size - source->attack);
+ }else{
+ ags_audio_signal_copy_buffer_to_buffer(&(buffer0[audio_channel]), devout->pcm_channels,
+ (signed short *) stream->data, 1,
+ buffer_size);
+ }
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_play_audio_signal_parent_class)->run_inter(recall);
+}
+
+AgsRecall*
+ags_play_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsPlayAudioSignal *copy;
+
+ copy = (AgsPlayAudioSignal *) AGS_RECALL_CLASS(ags_play_audio_signal_parent_class)->duplicate(recall, recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_play_audio_signal_new:
+ * @source: the source #AgsAudioSignal
+ * @devout: the #AgsDevout outputting to
+ * @attack: the attack
+ *
+ * Creates an #AgsPlayAudioSignal
+ *
+ * Returns: a new #AgsPlayAudioSignal
+ *
+ * Since: 0.4
+ */
+AgsPlayAudioSignal*
+ags_play_audio_signal_new(AgsAudioSignal *source,
+ AgsDevout *devout,
+ guint audio_channel)
+{
+ AgsPlayAudioSignal *play_audio_signal;
+
+ play_audio_signal = (AgsPlayAudioSignal *) g_object_new(AGS_TYPE_PLAY_AUDIO_SIGNAL,
+ "source\0", source,
+ "devout\0", devout,
+ "audio_channel\0", audio_channel,
+ NULL);
+
+ return(play_audio_signal);
+}
diff --git a/src/ags/audio/recall/ags_play_audio_signal.h b/src/ags/audio/recall/ags_play_audio_signal.h
new file mode 100644
index 0000000..350b695
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_audio_signal.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_AUDIO_SIGNAL_H__
+#define __AGS_PLAY_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#define AGS_TYPE_PLAY_AUDIO_SIGNAL (ags_play_audio_signal_get_type())
+#define AGS_PLAY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_AUDIO_SIGNAL, AgsPlayAudioSignal))
+#define AGS_PLAY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_AUDIO_SIGNAL, AgsPlayAudioSignalClass))
+#define AGS_IS_PLAY_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_AUDIO_SIGNAL))
+#define AGS_IS_PLAY_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_AUDIO_SIGNAL))
+#define AGS_PLAY_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_AUDIO_SIGNAL, AgsPlayAudioSignalClass))
+
+typedef struct _AgsPlayAudioSignal AgsPlayAudioSignal;
+typedef struct _AgsPlayAudioSignalClass AgsPlayAudioSignalClass;
+
+struct _AgsPlayAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+
+struct _AgsPlayAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+
+GType ags_play_audio_signal_get_type();
+
+AgsPlayAudioSignal* ags_play_audio_signal_new(AgsAudioSignal *source,
+ AgsDevout *devout,
+ guint audio_channel);
+
+#endif /*__AGS_PLAY_AUDIO_SIGNAL__H__*/
diff --git a/src/ags/audio/recall/ags_play_channel.c b/src/ags/audio/recall/ags_play_channel.c
new file mode 100644
index 0000000..51fe4c7
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_channel.c
@@ -0,0 +1,426 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_mutable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_play_channel_class_init(AgsPlayChannelClass *play_channel);
+void ags_play_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_play_channel_mutable_interface_init(AgsMutableInterface *mutable);
+void ags_play_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_play_channel_init(AgsPlayChannel *play_channel);
+void ags_play_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_play_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_play_channel_connect(AgsConnectable *connectable);
+void ags_play_channel_disconnect(AgsConnectable *connectable);
+void ags_play_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_play_channel_finalize(GObject *gobject);
+
+void ags_play_channel_set_muted(AgsMutable *mutable, gboolean muted);
+
+enum{
+ PROP_0,
+ PROP_AUDIO_CHANNEL,
+ PROP_MUTED,
+};
+
+/**
+ * SECTION:ags_play_channel
+ * @short_description: plays channel
+ * @title: AgsPlayChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_channel.h
+ *
+ * The #AgsPlayChannel class provides ports to the effect processor.
+ */
+
+static gpointer ags_play_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_play_channel_parent_connectable_interface;
+static AgsMutableInterface *ags_play_channel_parent_mutable_interface;
+static AgsPluginInterface *ags_play_channel_parent_plugin_interface;
+
+static const gchar *ags_play_channel_plugin_name = "ags-play\0";
+static const gchar *ags_play_channel_specifier[] = {
+ "./audio-channel[0]\0",
+ "./muted[0]\0",
+};
+static const gchar *ags_play_channel_control_port[] = {
+ "1/2\0",
+ "2/2\0",
+};
+
+GType
+ags_play_channel_get_type()
+{
+ static GType ags_type_play_channel = 0;
+
+ if(!ags_type_play_channel){
+ static const GTypeInfo ags_play_channel_info = {
+ sizeof (AgsPlayChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_mutable_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_mutable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsPlayChannel\0",
+ &ags_play_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_channel,
+ AGS_TYPE_MUTABLE,
+ &ags_mutable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_play_channel);
+}
+
+void
+ags_play_channel_class_init(AgsPlayChannelClass *play_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_play_channel_parent_class = g_type_class_peek_parent(play_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_channel;
+
+ gobject->set_property = ags_play_channel_set_property;
+ gobject->get_property = ags_play_channel_get_property;
+
+ gobject->finalize = ags_play_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("audio-channel\0",
+ "assigned audio channel\0",
+ "The audio channel this recall does output to\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_CHANNEL,
+ param_spec);
+
+ param_spec = g_param_spec_object("muted\0",
+ "mute channel\0",
+ "Mute the channel\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MUTED,
+ param_spec);
+}
+
+void
+ags_play_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_play_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_play_channel_connect;
+ connectable->disconnect = ags_play_channel_disconnect;
+}
+
+void
+ags_play_channel_mutable_interface_init(AgsMutableInterface *mutable)
+{
+ ags_play_channel_parent_mutable_interface = g_type_interface_peek_parent(mutable);
+
+ mutable->set_muted = ags_play_channel_set_muted;
+}
+
+void
+ags_play_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_play_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_play_channel_set_ports;
+}
+
+void
+ags_play_channel_init(AgsPlayChannel *play_channel)
+{
+ GList *port;
+
+ AGS_RECALL(play_channel)->name = "ags-play\0";
+ AGS_RECALL(play_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(play_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(play_channel)->xml_type = "ags-play-channel\0";
+
+ port = NULL;
+
+ play_channel->audio_channel = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_play_channel_plugin_name,
+ "specifier\0", ags_play_channel_specifier[0],
+ "control-port\0", ags_play_channel_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_UINT64,
+ "port-value-size\0", sizeof(guint64),
+ "port-value-length\0", 1,
+ NULL);
+ play_channel->audio_channel->port_value.ags_port_uint = 0;
+
+ port = g_list_prepend(port, play_channel->audio_channel);
+
+ play_channel->muted = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_play_channel_plugin_name,
+ "specifier\0", ags_play_channel_specifier[1],
+ "control-port\0", ags_play_channel_control_port[1],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_BOOLEAN,
+ "port-value-size\0", sizeof(gboolean),
+ "port-value-length\0", 1,
+ NULL);
+ play_channel->muted->port_value.ags_port_boolean = FALSE;
+
+ port = g_list_prepend(port, play_channel->muted);
+
+ /* set port */
+ AGS_RECALL(play_channel)->port = port;
+}
+
+void
+ags_play_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayChannel *play_channel;
+
+ play_channel = AGS_PLAY_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == play_channel->audio_channel){
+ return;
+ }
+
+ if(play_channel->audio_channel != NULL){
+ g_object_unref(G_OBJECT(play_channel->audio_channel));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ play_channel->audio_channel = port;
+ }
+ break;
+ case PROP_MUTED:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == play_channel->muted){
+ return;
+ }
+
+ if(play_channel->muted != NULL){
+ g_object_unref(G_OBJECT(play_channel->muted));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ play_channel->muted = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayChannel *play_channel;
+
+ play_channel = AGS_PLAY_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_CHANNEL:
+ {
+ g_value_set_object(value, play_channel->audio_channel);
+ }
+ break;
+ case PROP_MUTED:
+ {
+ g_value_set_object(value, play_channel->muted);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_channel_finalize(GObject *gobject)
+{
+ AgsPlayChannel *play_channel;
+
+ play_channel = AGS_PLAY_CHANNEL(gobject);
+
+ if(play_channel->audio_channel != NULL){
+ g_object_unref(G_OBJECT(play_channel->audio_channel));
+ }
+
+ if(play_channel->muted != NULL){
+ g_object_unref(G_OBJECT(play_channel->muted));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_play_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_channel_connect(AgsConnectable *connectable)
+{
+ AgsPlayChannel *play_channel;
+
+ ags_play_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_play_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./audio-channel[0]\0",
+ 17)){
+ g_object_set(G_OBJECT(plugin),
+ "audio-channel\0", AGS_PORT(port->data),
+ NULL);
+ }else if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./muted[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "muted\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_play_channel_set_muted(AgsMutable *mutable, gboolean muted)
+{
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(&value, muted);
+
+ ags_port_safe_write(AGS_PLAY_CHANNEL(mutable)->muted, &value);
+}
+
+/**
+ * ags_play_channel_new:
+ * @devout: the #AgsDevout outputting to
+ * @audio_channel: the audio channel to use
+ *
+ * Creates an #AgsPlayChannel
+ *
+ * Returns: a new #AgsPlayChannel
+ *
+ * Since: 0.4
+ */
+AgsPlayChannel*
+ags_play_channel_new(AgsDevout *devout,
+ guint audio_channel)
+{
+ AgsPlayChannel *play_channel;
+
+ play_channel = (AgsPlayChannel *) g_object_new(AGS_TYPE_PLAY_CHANNEL,
+ "devout\0", devout,
+ NULL);
+
+ play_channel->audio_channel->port_value.ags_port_uint = audio_channel;
+
+ return(play_channel);
+}
diff --git a/src/ags/audio/recall/ags_play_channel.h b/src/ags/audio/recall/ags_play_channel.h
new file mode 100644
index 0000000..10c9652
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_channel.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_CHANNEL_H__
+#define __AGS_PLAY_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_PLAY_CHANNEL (ags_play_channel_get_type())
+#define AGS_PLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_CHANNEL, AgsPlayChannel))
+#define AGS_PLAY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_CHANNEL, AgsPlayChannelClass))
+#define AGS_IS_PLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAY_CHANNEL))
+#define AGS_IS_PLAY_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLAY_CHANNEL))
+#define AGS_PLAY_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLAY_CHANNEL, AgsPlayChannelClass))
+
+typedef struct _AgsPlayChannel AgsPlayChannel;
+typedef struct _AgsPlayChannelClass AgsPlayChannelClass;
+
+struct _AgsPlayChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *audio_channel;
+
+ AgsPort *muted;
+};
+
+struct _AgsPlayChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_play_channel_get_type();
+
+AgsPlayChannel* ags_play_channel_new(AgsDevout *devout,
+ guint audio_channel);
+
+#endif /*__AGS_PLAY_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_play_channel_run.c b/src/ags/audio/recall/ags_play_channel_run.c
new file mode 100644
index 0000000..ed1f1b3
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_channel_run.c
@@ -0,0 +1,597 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_channel_run.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_recycling.h>
+#include <ags/audio/recall/ags_play_audio_signal.h>
+#include <ags/audio/recall/ags_stream_channel.h>
+#include <ags/audio/recall/ags_stream_recycling.h>
+#include <ags/audio/recall/ags_stream_audio_signal.h>
+
+#include <ags/audio/task/ags_cancel_channel.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_play_channel_run_class_init(AgsPlayChannelRunClass *play_channel_run);
+void ags_play_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_play_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_play_channel_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_play_channel_run_init(AgsPlayChannelRun *play_channel_run);
+void ags_play_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_play_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_play_channel_run_connect(AgsConnectable *connectable);
+void ags_play_channel_run_disconnect(AgsConnectable *connectable);
+void ags_play_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_channel_run_finalize(GObject *gobject);
+
+void ags_play_channel_run_run_init_inter(AgsRecall *recall);
+void ags_play_channel_run_run_pre(AgsRecall *recall);
+void ags_play_channel_run_run_post(AgsRecall *recall);
+void ags_play_channel_run_done(AgsRecall *recall);
+void ags_play_channel_run_remove(AgsRecall *recall);
+void ags_play_channel_run_cancel(AgsRecall *recall);
+void ags_play_channel_run_resolve_dependencies(AgsRecall *recall);
+AgsRecall* ags_play_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_play_channel_run_stream_audio_signal_done_callback(AgsRecall *recall,
+ AgsPlayChannelRun *play_channel_run);
+void ags_play_channel_run_stop(AgsPlayChannelRun *play_channel_run);
+
+/**
+ * SECTION:ags_play_channel_run
+ * @short_description: plays channel
+ * @title: AgsPlayChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_channel.h
+ *
+ * The #AgsPlayChannel class plays the channel.
+ */
+
+enum{
+ PROP_0,
+ PROP_STREAM_CHANNEL_RUN,
+};
+
+static gpointer ags_play_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_play_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_play_channel_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_play_channel_run_parent_plugin_interface;
+
+static const gchar *ags_play_channel_run_plugin_name = "ags-play\0";
+
+GType
+ags_play_channel_run_get_type()
+{
+ static GType ags_type_play_channel_run = 0;
+
+ if(!ags_type_play_channel_run){
+ static const GTypeInfo ags_play_channel_run_info = {
+ sizeof (AgsPlayChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsPlayChannelRun\0",
+ &ags_play_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_channel_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_play_channel_run);
+}
+
+void
+ags_play_channel_run_class_init(AgsPlayChannelRunClass *play_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_play_channel_run_parent_class = g_type_class_peek_parent(play_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_channel_run;
+
+ gobject->set_property = ags_play_channel_run_set_property;
+ gobject->get_property = ags_play_channel_run_get_property;
+
+ gobject->finalize = ags_play_channel_run_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("stream-channel-run\0",
+ "assigned AgsStreamChannelRun\0",
+ "the assigned AgsStreamChannelRun\0",
+ AGS_TYPE_STREAM_CHANNEL_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_STREAM_CHANNEL_RUN,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) play_channel_run;
+
+ recall->run_init_inter = ags_play_channel_run_run_init_inter;
+ recall->run_pre = ags_play_channel_run_run_pre;
+ recall->run_post = ags_play_channel_run_run_post;
+ recall->done = ags_play_channel_run_done;
+ recall->cancel = ags_play_channel_run_cancel;
+ recall->resolve_dependencies = ags_play_channel_run_resolve_dependencies;
+ recall->duplicate = ags_play_channel_run_duplicate;
+}
+
+void
+ags_play_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_play_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_play_channel_run_connect;
+ connectable->disconnect = ags_play_channel_run_disconnect;
+}
+
+void
+ags_play_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_play_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_play_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_play_channel_run_disconnect_dynamic;
+}
+
+void
+ags_play_channel_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_play_channel_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_play_channel_run_init(AgsPlayChannelRun *play_channel_run)
+{
+ AGS_RECALL(play_channel_run)->name = "ags-play\0";
+ AGS_RECALL(play_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(play_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(play_channel_run)->xml_type = "ags-play-channel-run\0";
+ AGS_RECALL(play_channel_run)->port = NULL;
+
+ AGS_RECALL(play_channel_run)->flags |= (AGS_RECALL_INPUT_ORIENTATED);
+ AGS_RECALL(play_channel_run)->child_type = AGS_TYPE_PLAY_RECYCLING;
+
+ play_channel_run->flags = 0;
+
+ play_channel_run->stream_channel_run = NULL;
+}
+
+void
+ags_play_channel_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayChannelRun *play_channel_run;
+
+ play_channel_run = AGS_PLAY_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_STREAM_CHANNEL_RUN:
+ {
+ AgsStreamChannelRun *stream_channel_run;
+ gboolean is_template;
+
+ stream_channel_run = (AgsStreamChannelRun *) g_value_get_object(value);
+
+ if(stream_channel_run == play_channel_run->stream_channel_run)
+ return;
+
+ if(stream_channel_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(stream_channel_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(play_channel_run->stream_channel_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(play_channel_run),
+ (AgsRecall *) play_channel_run->stream_channel_run);
+ }
+
+ g_object_unref(G_OBJECT(play_channel_run->stream_channel_run));
+ }
+
+ if(stream_channel_run != NULL){
+ g_object_ref(G_OBJECT(stream_channel_run));
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(play_channel_run),
+ ags_recall_dependency_new((GObject *) stream_channel_run));
+ }
+ }
+
+ play_channel_run->stream_channel_run = stream_channel_run;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_channel_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayChannelRun *play_channel_run;
+
+ play_channel_run = AGS_PLAY_CHANNEL_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_STREAM_CHANNEL_RUN:
+ {
+ g_value_set_object(value, G_OBJECT(play_channel_run->stream_channel_run));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_channel_run_finalize(GObject *gobject)
+{
+ AgsPlayChannelRun *play_channel_run;
+
+ play_channel_run = AGS_PLAY_CHANNEL_RUN(gobject);
+
+ if(play_channel_run->stream_channel_run != NULL){
+ g_object_unref(G_OBJECT(play_channel_run->stream_channel_run));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_play_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_channel_run_connect(AgsConnectable *connectable)
+{
+ AgsPlayChannelRun *play_channel_run;
+
+ ags_play_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_play_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_play_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_play_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_play_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+void
+ags_play_channel_run_run_init_inter(AgsRecall *recall)
+{
+ AGS_PLAY_CHANNEL_RUN(recall)->flags |= AGS_PLAY_CHANNEL_RUN_INITIAL_RUN;
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_play_channel_run_parent_class)->run_init_inter(recall);
+}
+
+void
+ags_play_channel_run_run_pre(AgsRecall *recall)
+{
+ AgsChannel *source;
+ AgsDevout *devout;
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ gdouble delay;
+ guint attack;
+ guint tic_counter_incr;
+
+ devout = AGS_DEVOUT(recall->devout);
+
+ // g_message("ags_copy_pattern_channel_run_sequencer_alloc_callback - playing channel: %u; playing pattern: %u\0",
+ // AGS_RECALL_CHANNEL(copy_pattern_channel)->source->line,
+ // copy_pattern_audio_run->count_beats_audio_run->sequencer_counter);
+
+ /* get source */
+ source = AGS_RECALL_CHANNEL_RUN(recall)->source;
+
+ /* create new audio signals */
+ recycling = source->first_recycling;
+
+ tic_counter_incr = devout->tic_counter + 1;
+
+ //TODO:JK: unclear
+ attack = 0; //devout->attack[((tic_counter_incr == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // tic_counter_incr)];
+ delay = 0.0; // devout->delay[((tic_counter_incr == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // tic_counter_incr)];
+
+ if(recycling != NULL){
+ while(recycling != source->last_recycling->next){
+ audio_signal = ags_audio_signal_new((GObject *) recall->devout,
+ (GObject *) recycling,
+ (GObject *) recall->recall_id);
+ ags_recycling_create_audio_signal_with_defaults(recycling,
+ audio_signal,
+ delay, attack);
+ audio_signal->stream_current = audio_signal->stream_beginning;
+ ags_audio_signal_connect(audio_signal);
+
+ /*
+ * emit add_audio_signal on AgsRecycling
+ */
+ ags_recycling_add_audio_signal(recycling,
+ audio_signal);
+
+ /* */
+ recycling = recycling->next;
+ }
+ }
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_play_channel_run_parent_class)->run_pre(recall);
+}
+
+void
+ags_play_channel_run_run_post(AgsRecall *recall)
+{
+ AgsStreamChannelRun *stream_channel_run;
+ AgsChannel *source;
+ GList *list;
+ GList *recall_recycling_list, *recall_audio_signal_list;
+ gboolean found;
+
+ AGS_RECALL_CLASS(ags_play_channel_run_parent_class)->run_post(recall);
+
+ if((AGS_PLAY_CHANNEL_RUN_INITIAL_RUN & (AGS_PLAY_CHANNEL_RUN(recall)->flags)) == 0){
+ return;
+ }
+
+ AGS_PLAY_CHANNEL_RUN(recall)->flags &= (~AGS_PLAY_CHANNEL_RUN_INITIAL_RUN);
+
+ /* connect done */
+ source = AGS_RECALL_CHANNEL_RUN(recall)->source;
+ found = FALSE;
+
+ list = ags_recall_find_type_with_recycling_container(source->play,
+ AGS_TYPE_STREAM_CHANNEL_RUN,
+ recall->recall_id->recycling_container);
+ stream_channel_run = AGS_STREAM_CHANNEL_RUN(list->data);
+
+ recall_recycling_list = AGS_RECALL(stream_channel_run)->children;
+
+ while(recall_recycling_list != NULL){
+ recall_audio_signal_list = AGS_RECALL(recall_recycling_list->data)->children;
+
+ while(recall_audio_signal_list != NULL){
+ found = TRUE;
+ g_signal_connect_after(G_OBJECT(recall_audio_signal_list->data), "done\0",
+ G_CALLBACK(ags_play_channel_run_stream_audio_signal_done_callback), recall);
+
+
+ recall_audio_signal_list = recall_audio_signal_list->next;
+ }
+
+ recall_recycling_list = recall_recycling_list->next;
+ }
+
+ if(!found){
+ ags_play_channel_run_stop(recall);
+ }
+}
+
+void
+ags_play_channel_run_done(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_channel_run_parent_class)->done(recall);
+
+ /* empty */
+}
+
+void
+ags_play_channel_run_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_channel_run_parent_class)->cancel(recall);
+
+ /* empty */
+}
+
+void
+ags_play_channel_run_resolve_dependencies(AgsRecall *recall)
+{
+ AgsRecall *template;
+ AgsPlayChannelRun *play_channel_run;
+ AgsRecallDependency *recall_dependency;
+ AgsStreamChannelRun *stream_channel_run;
+ GList *list;
+ AgsRecallID *recall_id;
+ guint i, i_stop;
+
+ play_channel_run = AGS_PLAY_CHANNEL_RUN(recall);
+
+ template = AGS_RECALL(ags_recall_find_template(AGS_RECALL_CONTAINER(recall->container)->recall_channel_run)->data);
+
+ list = template->dependencies;
+ recall_id = recall->recall_id;
+
+ stream_channel_run = NULL;
+
+ i_stop = 1;
+
+ for(i = 0; i < i_stop && list != NULL;){
+ recall_dependency = AGS_RECALL_DEPENDENCY(list->data);
+
+ if(AGS_IS_STREAM_CHANNEL_RUN(recall_dependency->dependency)){
+ stream_channel_run = (AgsStreamChannelRun *) ags_recall_dependency_resolve(recall_dependency, recall_id);
+
+ i++;
+ }
+
+ list = list->next;
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "stream_channel_run\0", stream_channel_run,
+ NULL);
+}
+
+AgsRecall*
+ags_play_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsPlayChannelRun *play_channel_run, *copy;
+
+ play_channel_run = (AgsPlayChannelRun *) recall;
+ copy = (AgsPlayChannelRun *) AGS_RECALL_CLASS(ags_play_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_play_channel_run_stream_audio_signal_done_callback(AgsRecall *recall,
+ AgsPlayChannelRun *play_channel_run)
+{
+ ags_play_channel_run_stop(play_channel_run);
+}
+
+void
+ags_play_channel_run_stop(AgsPlayChannelRun *play_channel_run)
+{
+ AgsThread *task_thread;
+ AgsChannel *channel;
+ AgsCancelChannel *cancel_channel;
+
+ channel = AGS_RECALL_CHANNEL_RUN(play_channel_run)->source;
+ task_thread = (AgsTaskThread *) AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout)->ags_main)->main_loop)->task_thread;
+
+ /* create append task */
+ cancel_channel = ags_cancel_channel_new(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0], TRUE);
+
+ /* append AgsCancelAudio */
+ ags_task_thread_append_task(task_thread,
+ cancel_channel);
+}
+
+/**
+ * ags_play_channel_run_new:
+ * @stream_channel_run: the #AgsStreamChannelRun as dependency
+ *
+ * Creates an #AgsPlayChannelRun
+ *
+ * Returns: a new #AgsPlayChannelRun
+ *
+ * Since: 0.4
+ */
+AgsPlayChannelRun*
+ags_play_channel_run_new(AgsStreamChannelRun *stream_channel_run)
+{
+ AgsPlayChannelRun *play_channel_run;
+
+ play_channel_run = (AgsPlayChannelRun *) g_object_new(AGS_TYPE_PLAY_CHANNEL_RUN,
+ "stream-channel-run\0", stream_channel_run,
+ NULL);
+
+ return(play_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_play_channel_run.h b/src/ags/audio/recall/ags_play_channel_run.h
new file mode 100644
index 0000000..dadb58d
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_channel_run.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_CHANNEL_RUN_H__
+#define __AGS_PLAY_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+
+#include <ags/audio/recall/ags_stream_channel_run.h>
+
+#define AGS_TYPE_PLAY_CHANNEL_RUN (ags_play_channel_run_get_type())
+#define AGS_PLAY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_CHANNEL_RUN, AgsPlayChannelRun))
+#define AGS_PLAY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_CHANNEL_RUN, AgsPlayChannelRunClass))
+#define AGS_IS_PLAY_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAY_CHANNEL_RUN))
+#define AGS_IS_PLAY_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLAY_CHANNEL_RUN))
+#define AGS_PLAY_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLAY_CHANNEL_RUN, AgsPlayChannelRunClass))
+
+typedef struct _AgsPlayChannelRun AgsPlayChannelRun;
+typedef struct _AgsPlayChannelRunClass AgsPlayChannelRunClass;
+
+typedef enum{
+ AGS_PLAY_CHANNEL_RUN_TERMINATING = 1,
+ AGS_PLAY_CHANNEL_RUN_INITIAL_RUN = 1 << 1,
+}AgsPlayChannelRunFlags;
+
+struct _AgsPlayChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+
+ AgsStreamChannelRun *stream_channel_run;
+ gulong done_handler;
+
+ gulong source_recycling_changed_handler;
+};
+
+struct _AgsPlayChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_play_channel_run_get_type();
+
+AgsPlayChannelRun* ags_play_channel_run_new(AgsStreamChannelRun *stream_channel_run);
+
+#endif /*__AGS_PLAY_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_play_channel_run_master.c b/src/ags/audio/recall/ags_play_channel_run_master.c
new file mode 100644
index 0000000..f1e90c3
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_channel_run_master.c
@@ -0,0 +1,673 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_channel_run_master.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_recycling.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_play_channel_run_master_class_init(AgsPlayChannelRunMasterClass *play_channel_run_master);
+void ags_play_channel_run_master_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_play_channel_run_master_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_play_channel_run_master_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_play_channel_run_master_init(AgsPlayChannelRunMaster *play_channel_run_master);
+void ags_play_channel_run_master_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_play_channel_run_master_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_play_channel_run_master_connect(AgsConnectable *connectable);
+void ags_play_channel_run_master_disconnect(AgsConnectable *connectable);
+void ags_play_channel_run_master_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_channel_run_master_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_channel_run_master_finalize(GObject *gobject);
+
+void ags_play_channel_run_master_run_init_pre(AgsRecall *recall);
+void ags_play_channel_run_master_done(AgsRecall *recall);
+void ags_play_channel_run_master_remove(AgsRecall *recall);
+void ags_play_channel_run_master_cancel(AgsRecall *recall);
+void ags_play_channel_run_master_resolve_dependencies(AgsRecall *recall);
+AgsRecall* ags_play_channel_run_master_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_play_channel_run_master_remap_child_source(AgsPlayChannelRunMaster *play_channel_run_master,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region);
+void ags_play_channel_run_master_remap_dependencies(AgsPlayChannelRunMaster *play_channel_run_master,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region);
+
+void ags_play_channel_run_master_source_recycling_changed_callback(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region,
+ AgsPlayChannelRunMaster *play_channel_run_master);
+void ags_play_channel_run_master_stream_channel_done_callback(AgsRecall *recall,
+ AgsPlayChannelRunMasterStreamer *streamer);
+
+/**
+ * SECTION:ags_play_channel_master_run
+ * @short_description: plays channel as toplevel
+ * @title: AgsPlayChannelMaster
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_channel_master.h
+ *
+ * The #AgsPlayChannelMaster class plays the channel within toplevel context.
+ */
+
+enum{
+ PROP_0,
+ PROP_STREAM_CHANNEL_RUN,
+};
+
+static gpointer ags_play_channel_run_master_parent_class = NULL;
+static AgsConnectableInterface *ags_play_channel_run_master_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_play_channel_run_master_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_play_channel_run_master_parent_plugin_interface;
+
+GType
+ags_play_channel_run_master_get_type()
+{
+ static GType ags_type_play_channel_run_master = 0;
+
+ if(!ags_type_play_channel_run_master){
+ static const GTypeInfo ags_play_channel_run_master_info = {
+ sizeof (AgsPlayChannelRunMasterClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_channel_run_master_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayChannelRunMaster),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_channel_run_master_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_run_master_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_run_master_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_play_channel_run_master_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_channel_run_master = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsPlayChannelRunMaster\0",
+ &ags_play_channel_run_master_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_channel_run_master,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_channel_run_master,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_channel_run_master,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_play_channel_run_master);
+}
+
+void
+ags_play_channel_run_master_class_init(AgsPlayChannelRunMasterClass *play_channel_run_master)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_play_channel_run_master_parent_class = g_type_class_peek_parent(play_channel_run_master);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_channel_run_master;
+
+ gobject->set_property = ags_play_channel_run_master_set_property;
+ gobject->get_property = ags_play_channel_run_master_get_property;
+
+ gobject->finalize = ags_play_channel_run_master_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("stream-channel-run\0",
+ "assigned AgsStreamChannelRun\0",
+ "an assigned AgsStreamChannelRun\0",
+ AGS_TYPE_STREAM_CHANNEL_RUN,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_STREAM_CHANNEL_RUN,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) play_channel_run_master;
+
+ recall->run_init_pre = ags_play_channel_run_master_run_init_pre;
+ recall->done = ags_play_channel_run_master_done;
+ recall->cancel = ags_play_channel_run_master_cancel;
+ recall->resolve_dependencies = ags_play_channel_run_master_resolve_dependencies;
+ recall->duplicate = ags_play_channel_run_master_duplicate;
+}
+
+void
+ags_play_channel_run_master_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_play_channel_run_master_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_play_channel_run_master_connect;
+ connectable->disconnect = ags_play_channel_run_master_disconnect;
+}
+
+void
+ags_play_channel_run_master_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_play_channel_run_master_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_play_channel_run_master_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_play_channel_run_master_disconnect_dynamic;
+}
+
+void
+ags_play_channel_run_master_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_play_channel_run_master_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_play_channel_run_master_init(AgsPlayChannelRunMaster *play_channel_run_master)
+{
+ AGS_RECALL(play_channel_run_master)->name = "ags-play\0";
+ AGS_RECALL(play_channel_run_master)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(play_channel_run_master)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(play_channel_run_master)->xml_type = "ags-play-channel-run-master\0";
+ AGS_RECALL(play_channel_run_master)->port = NULL;
+
+ AGS_RECALL(play_channel_run_master)->flags |= (AGS_RECALL_INPUT_ORIENTATED |
+ AGS_RECALL_PERSISTENT);
+ AGS_RECALL(play_channel_run_master)->child_type = AGS_TYPE_PLAY_RECYCLING;
+
+ play_channel_run_master->flags = 0;
+
+ play_channel_run_master->streamer = NULL;
+}
+
+void
+ags_play_channel_run_master_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(gobject);
+
+ switch(prop_id){
+ case PROP_STREAM_CHANNEL_RUN:
+ {
+ AgsStreamChannelRun *stream_channel_run;
+ AgsPlayChannelRunMasterStreamer *streamer;
+ gboolean is_template;
+
+ stream_channel_run = (AgsStreamChannelRun *) g_value_get_object(value);
+
+ if(g_list_find(play_channel_run_master->streamer, stream_channel_run) != NULL)
+ return;
+
+ if(stream_channel_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(stream_channel_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(stream_channel_run != NULL){
+ g_object_ref(G_OBJECT(stream_channel_run));
+
+ streamer = ags_play_channel_run_master_streamer_alloc(play_channel_run_master,
+ stream_channel_run);
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(play_channel_run_master),
+ ags_recall_dependency_new((GObject *) stream_channel_run));
+ }else{
+ if((AGS_RECALL_RUN_INITIALIZED & (AGS_RECALL(play_channel_run_master)->flags)) != 0){
+ streamer->done_handler =
+ g_signal_connect(G_OBJECT(stream_channel_run), "done\0",
+ G_CALLBACK(ags_play_channel_run_master_stream_channel_done_callback), play_channel_run_master);
+ }
+ }
+ }
+
+ play_channel_run_master->streamer = g_list_prepend(play_channel_run_master->streamer, streamer);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_channel_run_master_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_channel_run_master_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_play_channel_run_master_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_channel_run_master_connect(AgsConnectable *connectable)
+{
+ AgsPlayChannel *play_channel;
+ AgsPlayChannelRunMaster *play_channel_run_master;
+ GObject *gobject;
+
+ ags_play_channel_run_master_parent_connectable_interface->connect(connectable);
+
+ /* AgsPlayChannelRunMaster */
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(connectable);
+
+ /* AgsPlayChannel */
+ play_channel = AGS_PLAY_CHANNEL(AGS_RECALL_CHANNEL_RUN(play_channel_run_master)->recall_channel);
+
+ /* source */
+ gobject = G_OBJECT(AGS_RECALL_CHANNEL(play_channel)->source);
+
+ play_channel_run_master->source_recycling_changed_handler =
+ g_signal_connect(gobject, "recycling_changed\0",
+ G_CALLBACK(ags_play_channel_run_master_source_recycling_changed_callback), play_channel_run_master);
+}
+
+void
+ags_play_channel_run_master_disconnect(AgsConnectable *connectable)
+{
+ AgsPlayChannel *play_channel;
+ AgsPlayChannelRunMaster *play_channel_run_master;
+ GObject *gobject;
+
+ ags_play_channel_run_master_parent_connectable_interface->disconnect(connectable);
+
+ /* AgsPlayChannelRunMaster */
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(connectable);
+
+ /* AgsPlayChannel */
+ play_channel = AGS_PLAY_CHANNEL(AGS_RECALL_CHANNEL_RUN(play_channel_run_master)->recall_channel);
+
+ /* source */
+ gobject = G_OBJECT(AGS_RECALL_CHANNEL(play_channel)->source);
+
+ g_signal_handler_disconnect(gobject, play_channel_run_master->source_recycling_changed_handler);
+}
+
+void
+ags_play_channel_run_master_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+ GObject *gobject;
+ AgsPlayChannelRunMasterStreamer *streamer;
+ GList *list;
+
+ ags_play_channel_run_master_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* AgsPlayChannelRunMaster */
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(dynamic_connectable);
+
+ /* stream_channel_run */
+ list = play_channel_run_master->streamer;
+
+ while(list != NULL){
+ streamer = (AgsPlayChannelRunMasterStreamer *) list->data;
+
+ gobject = G_OBJECT(streamer->stream_channel_run);
+
+ streamer->done_handler =
+ g_signal_connect(gobject, "done\0",
+ G_CALLBACK(ags_play_channel_run_master_stream_channel_done_callback), streamer);
+
+ list = list->next;
+ }
+}
+
+void
+ags_play_channel_run_master_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+ GObject *gobject;
+ AgsPlayChannelRunMasterStreamer *streamer;
+ GList *list;
+
+ ags_play_channel_run_master_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* AgsPlayChannelRunMaster */
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(dynamic_connectable);
+
+ /* stream_channel_run */
+ list = play_channel_run_master->streamer;
+
+ while(list != NULL){
+ streamer = (AgsPlayChannelRunMasterStreamer *) list->data;
+
+ gobject = G_OBJECT(streamer->stream_channel_run);
+
+ g_signal_handler_disconnect(gobject, streamer->done_handler);
+
+ list = list->next;
+ }
+}
+
+void
+ags_play_channel_run_master_run_init_pre(AgsRecall *recall)
+{
+ AgsRecallChannelRun *recall_channel_run;
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ AGS_RECALL_CLASS(ags_play_channel_run_master_parent_class)->run_init_pre(recall);
+
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(recall);
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(recall);
+
+ ags_play_channel_run_master_remap_dependencies(play_channel_run_master,
+ NULL, NULL,
+ recall_channel_run->source->first_recycling, recall_channel_run->source->last_recycling);
+}
+
+void
+ags_play_channel_run_master_done(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_channel_run_master_parent_class)->done(recall);
+
+ /* empty */
+}
+
+void
+ags_play_channel_run_master_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_channel_run_master_parent_class)->cancel(recall);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_play_channel_run_master_resolve_dependencies(AgsRecall *recall)
+{
+ AgsRecall *template;
+ AgsPlayChannelRunMaster *play_channel_run_master;
+ AgsRecallDependency *recall_dependency;
+ AgsStreamChannelRun *stream_channel_run;
+ GList *list;
+ AgsRecallID *recall_id;
+ guint i, i_stop;
+
+ play_channel_run_master = AGS_PLAY_CHANNEL_RUN_MASTER(recall);
+
+ template = AGS_RECALL(ags_recall_find_template(AGS_RECALL_CONTAINER(recall->container)->recall_channel_run)->data);
+
+ list = template->dependencies;
+ recall_id = recall->recall_id;
+
+ stream_channel_run = NULL;
+
+ i_stop = 1;
+
+ for(i = 0; i < i_stop && list != NULL;){
+ recall_dependency = AGS_RECALL_DEPENDENCY(list->data);
+
+ if(AGS_IS_STREAM_CHANNEL_RUN(recall_dependency->dependency)){
+ stream_channel_run = (AgsStreamChannelRun *) ags_recall_dependency_resolve(recall_dependency, recall_id);
+
+ g_object_set(G_OBJECT(recall),
+ "stream-channel-run\0", stream_channel_run,
+ NULL);
+
+ i++;
+ }
+
+ list = list->next;
+ }
+}
+
+AgsRecall*
+ags_play_channel_run_master_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsPlayChannelRunMaster *play_channel_run_master, *copy;
+
+ play_channel_run_master = (AgsPlayChannelRunMaster *) recall;
+ copy = (AgsPlayChannelRunMaster *) AGS_RECALL_CLASS(ags_play_channel_run_master_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_play_channel_run_master_remap_dependencies(AgsPlayChannelRunMaster *play_channel_run_master,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region)
+{
+ AgsRecallContainer *container;
+ AgsPlayChannelRunMaster *current_master;
+ AgsChannel *current;
+ AgsRecycling *recycling;
+ GList *list, *streamer, *master;
+
+ /* remove old */
+ if(old_start_region != NULL){
+ current = NULL;
+ recycling = old_start_region;
+
+ while(recycling != old_end_region->next){
+ if(current != AGS_CHANNEL(recycling->channel)){
+ current = AGS_CHANNEL(recycling->channel);
+
+ list = ags_recall_get_dependencies(AGS_RECALL(play_channel_run_master));
+
+ while((list = ags_recall_dependency_find_dependency_by_provider(list,
+ G_OBJECT(current))) != NULL){
+ /* remove dependency */
+ ags_recall_remove_dependency(AGS_RECALL(play_channel_run_master),
+ AGS_RECALL(AGS_RECALL_DEPENDENCY(list->data)->dependency));
+
+ /* remove streamer */
+ streamer = ags_play_channel_run_master_find_streamer(play_channel_run_master->streamer,
+ AGS_STREAM_CHANNEL_RUN(AGS_RECALL_DEPENDENCY(list->data)->dependency));
+
+ if(streamer != NULL){
+ play_channel_run_master->streamer = g_list_remove(play_channel_run_master->streamer,
+ streamer->data);
+
+ }
+
+ list = list->next;
+ }
+ }
+
+ recycling = recycling->next;
+ }
+ }
+
+ /* add new */
+ if(new_start_region != NULL){
+ current = NULL;
+ recycling = new_start_region;
+
+ while(recycling != new_end_region->next){
+ if(current != AGS_CHANNEL(recycling->channel)){
+ current = AGS_CHANNEL(recycling->channel);
+
+ list = ags_recall_template_find_type(current->play,
+ AGS_TYPE_STREAM_CHANNEL_RUN);
+
+ if(list != NULL){
+ g_object_set(G_OBJECT(play_channel_run_master),
+ "stream-channel-run\0", AGS_STREAM_CHANNEL_RUN(list->data),
+ NULL);
+
+ container = AGS_RECALL_CONTAINER(AGS_RECALL(play_channel_run_master)->container);
+
+ master = container->recall_channel_run;
+
+ while(master != NULL){
+ current_master = AGS_PLAY_CHANNEL_RUN_MASTER(master->data);
+
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(current_master)->flags)) == 0){
+ g_object_set(G_OBJECT(current_master),
+ "stream-channel-run\0", AGS_STREAM_CHANNEL_RUN(list->data),
+ NULL);
+ }
+
+ master = master->next;
+ }
+ }
+ }
+
+ recycling = recycling->next;
+ }
+ }
+}
+
+void
+ags_play_channel_run_master_source_recycling_changed_callback(AgsChannel *channel,
+ AgsRecycling *old_start_region, AgsRecycling *old_end_region,
+ AgsRecycling *new_start_region, AgsRecycling *new_end_region,
+ AgsRecycling *old_start_changed_region, AgsRecycling *old_end_changed_region,
+ AgsRecycling *new_start_changed_region, AgsRecycling *new_end_changed_region,
+ AgsPlayChannelRunMaster *play_channel_run_master)
+{
+ if((AGS_RECALL_TEMPLATE & (play_channel_run_master->flags)) != 0){
+ ags_play_channel_run_master_remap_dependencies(play_channel_run_master,
+ old_start_changed_region, old_end_changed_region,
+ new_start_changed_region, new_end_changed_region);
+ }
+}
+
+void
+ags_play_channel_run_master_stream_channel_done_callback(AgsRecall *recall,
+ AgsPlayChannelRunMasterStreamer *streamer)
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ play_channel_run_master = streamer->play_channel_run_master;
+
+ play_channel_run_master->streamer = g_list_remove(play_channel_run_master->streamer,
+ streamer);
+
+ if(play_channel_run_master->streamer == NULL){
+ // play_channel_run_master->flags |= AGS_PLAY_CHANNEL_RUN_MASTER_TERMINATING;
+ }
+}
+
+AgsPlayChannelRunMasterStreamer*
+ags_play_channel_run_master_streamer_alloc(AgsPlayChannelRunMaster *play_channel_run_master,
+ AgsStreamChannelRun *stream_channel_run)
+{
+ AgsPlayChannelRunMasterStreamer *streamer;
+
+ streamer = (AgsPlayChannelRunMasterStreamer *) malloc(sizeof(AgsPlayChannelRunMasterStreamer));
+
+ streamer->play_channel_run_master = play_channel_run_master;
+ streamer->stream_channel_run = stream_channel_run;
+
+ return(streamer);
+}
+
+GList*
+ags_play_channel_run_master_find_streamer(GList *list,
+ AgsStreamChannelRun *stream_channel_run)
+{
+ while(list != NULL){
+ if(AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER(list->data)->stream_channel_run == stream_channel_run)
+ return(list);
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_play_channel_master_run_new:
+ *
+ * Creates an #AgsPlayChannelMasterRun
+ *
+ * Returns: a new #AgsPlayChannelMasterRun
+ *
+ * Since: 0.4
+ */
+AgsPlayChannelRunMaster*
+ags_play_channel_run_master_new()
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ play_channel_run_master = (AgsPlayChannelRunMaster *) g_object_new(AGS_TYPE_PLAY_CHANNEL_RUN_MASTER,
+ NULL);
+
+ return(play_channel_run_master);
+}
diff --git a/src/ags/audio/recall/ags_play_channel_run_master.h b/src/ags/audio/recall/ags_play_channel_run_master.h
new file mode 100644
index 0000000..b16a1e7
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_channel_run_master.h
@@ -0,0 +1,81 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_CHANNEL_RUN_MASTER_H__
+#define __AGS_PLAY_CHANNEL_RUN_MASTER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+
+#include <ags/audio/recall/ags_stream_channel_run.h>
+
+#define AGS_TYPE_PLAY_CHANNEL_RUN_MASTER (ags_play_channel_run_master_get_type())
+#define AGS_PLAY_CHANNEL_RUN_MASTER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER, AgsPlayChannelRunMaster))
+#define AGS_PLAY_CHANNEL_RUN_MASTER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER, AgsPlayChannelRunMasterClass))
+#define AGS_IS_PLAY_CHANNEL_RUN_MASTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER))
+#define AGS_IS_PLAY_CHANNEL_RUN_MASTER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER))
+#define AGS_PLAY_CHANNEL_RUN_MASTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_PLAY_CHANNEL_RUN_MASTER, AgsPlayChannelRunMasterClass))
+#define AGS_PLAY_CHANNEL_RUN_MASTER_STREAMER(strct) ((AgsPlayChannelRunMasterStreamer *)(strct))
+
+typedef struct _AgsPlayChannelRunMaster AgsPlayChannelRunMaster;
+typedef struct _AgsPlayChannelRunMasterClass AgsPlayChannelRunMasterClass;
+typedef struct _AgsPlayChannelRunMasterStreamer AgsPlayChannelRunMasterStreamer;
+
+typedef enum{
+ AGS_PLAY_CHANNEL_RUN_MASTER_TERMINATING = 1,
+}AgsPlayChannelRunMasterFlags;
+
+struct _AgsPlayChannelRunMaster
+{
+ AgsRecallChannelRun recall_channel_run;
+
+ guint flags;
+
+ GList *streamer;
+
+ gulong source_recycling_changed_handler;
+};
+
+struct _AgsPlayChannelRunMasterClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+struct _AgsPlayChannelRunMasterStreamer
+{
+ AgsPlayChannelRunMaster *play_channel_run_master;
+
+ AgsStreamChannelRun *stream_channel_run;
+ gulong done_handler;
+};
+
+GType ags_play_channel_run_master_get_type();
+
+AgsPlayChannelRunMasterStreamer* ags_play_channel_run_master_streamer_alloc(AgsPlayChannelRunMaster *play_channel_run_master,
+ AgsStreamChannelRun *stream_channel_run);
+GList* ags_play_channel_run_master_find_streamer(GList *list,
+ AgsStreamChannelRun *stream_channel_run);
+
+AgsPlayChannelRunMaster* ags_play_channel_run_master_new();
+
+#endif /*__AGS_PLAY_CHANNEL_RUN_MASTER_H__*/
diff --git a/src/ags/audio/recall/ags_play_notation_audio.c b/src/ags/audio/recall/ags_play_notation_audio.c
new file mode 100644
index 0000000..19005a9
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_notation_audio.c
@@ -0,0 +1,272 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_notation_audio.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+void ags_play_notation_audio_class_init(AgsPlayNotationAudioClass *play_notation_audio);
+void ags_play_notation_audio_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_play_notation_audio_init(AgsPlayNotationAudio *play_notation_audio);
+void ags_play_notation_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_play_notation_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_play_notation_audio_finalize(GObject *gobject);
+void ags_play_notation_audio_set_ports(AgsPlugin *plugin, GList *port);
+
+/**
+ * SECTION:ags_play_notation_audio
+ * @short_description: play audio notation
+ * @title: AgsPlayNotationAudio
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_notation_audio.h
+ *
+ * The #AgsPlayNotationAudio class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_NOTATION,
+ PROP_MONOTONIC,
+};
+
+static gpointer ags_play_notation_audio_parent_class = NULL;
+static AgsPluginInterface *ags_play_notation_parent_plugin_interface;
+
+static const gchar *ags_play_notation_audio_plugin_name = "ags-play-notation\0";
+static const gchar *ags_play_notation_audio_specifier[] = {
+ "./notation[0]\0"
+};
+static const gchar *ags_play_notation_audio_control_port[] = {
+ "1/1\0",
+};
+
+GType
+ags_play_notation_audio_get_type()
+{
+ static GType ags_type_play_notation_audio = 0;
+
+ if(!ags_type_play_notation_audio){
+ static const GTypeInfo ags_play_notation_audio_info = {
+ sizeof (AgsPlayNotationAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_notation_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_audio */
+ sizeof (AgsPlayNotationAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_notation_audio_init,
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_play_notation_audio_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_notation_audio = g_type_register_static(AGS_TYPE_RECALL_AUDIO,
+ "AgsPlayNotationAudio\0",
+ &ags_play_notation_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_notation_audio,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return(ags_type_play_notation_audio);
+}
+
+void
+ags_play_notation_audio_class_init(AgsPlayNotationAudioClass *play_notation_audio)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_play_notation_audio_parent_class = g_type_class_peek_parent(play_notation_audio);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_notation_audio;
+
+ gobject->set_property = ags_play_notation_audio_set_property;
+ gobject->get_property = ags_play_notation_audio_get_property;
+
+ gobject->finalize = ags_play_notation_audio_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("notation\0",
+ "assigned notation\0",
+ "The notation this recall does play\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NOTATION,
+ param_spec);
+}
+
+void
+ags_play_notation_audio_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_play_notation_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_play_notation_audio_set_ports;
+}
+
+void
+ags_play_notation_audio_init(AgsPlayNotationAudio *play_notation_audio)
+{
+ GList *port;
+
+ AGS_RECALL(play_notation_audio)->name = "ags-play-notation\0";
+ AGS_RECALL(play_notation_audio)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(play_notation_audio)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(play_notation_audio)->xml_type = "ags-play-notation-audio\0";
+
+ port = NULL;
+
+ play_notation_audio->notation = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_play_notation_audio_plugin_name,
+ "specifier\0", ags_play_notation_audio_specifier[0],
+ "control-port\0", ags_play_notation_audio_control_port[0],
+ "port-value-is-pointer\0", TRUE,
+ "port-value-type\0", G_TYPE_POINTER,
+ "port-value-size\0", sizeof(gpointer),
+ "port-value-length\0", 1,
+ NULL);
+ play_notation_audio->notation->port_value.ags_port_pointer = NULL;
+
+ port = g_list_prepend(port, play_notation_audio->notation);
+
+ /* set port */
+ AGS_RECALL(play_notation_audio)->port = port;
+}
+
+void
+ags_play_notation_audio_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayNotationAudio *play_notation_audio;
+
+ play_notation_audio = AGS_PLAY_NOTATION_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_NOTATION:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == play_notation_audio->notation){
+ return;
+ }
+
+ if(play_notation_audio->notation != NULL){
+ g_object_unref(G_OBJECT(play_notation_audio->notation));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ play_notation_audio->notation = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_notation_audio_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayNotationAudio *play_notation_audio;
+
+ play_notation_audio = AGS_PLAY_NOTATION_AUDIO(gobject);
+
+ switch(prop_id){
+ case PROP_NOTATION:
+ {
+ g_value_set_object(value, play_notation_audio->notation);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_play_notation_audio_finalize(GObject *gobject)
+{
+ AgsPlayNotationAudio *play_notation_audio;
+
+ play_notation_audio = AGS_PLAY_NOTATION_AUDIO(gobject);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_play_notation_audio_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_notation_audio_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./notation[0]\0",
+ 16)){
+ g_object_set(G_OBJECT(plugin),
+ "notation\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+/**
+ * ags_play_notation_audio_new:
+ *
+ * Creates an #AgsPlayNotationAudio
+ *
+ * Returns: a new #AgsPlayNotationAudio
+ *
+ * Since: 0.4
+ */
+AgsPlayNotationAudio*
+ags_play_notation_audio_new()
+{
+ AgsPlayNotationAudio *play_notation_audio;
+
+ play_notation_audio = (AgsPlayNotationAudio *) g_object_new(AGS_TYPE_PLAY_NOTATION_AUDIO,
+ NULL);
+
+ return(play_notation_audio);
+}
diff --git a/src/ags/audio/recall/ags_play_notation_audio.h b/src/ags/audio/recall/ags_play_notation_audio.h
new file mode 100644
index 0000000..680b3e2
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_notation_audio.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_NOTATION_AUDIO_H__
+#define __AGS_PLAY_NOTATION_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio.h>
+
+#define AGS_TYPE_PLAY_NOTATION_AUDIO (ags_play_notation_audio_get_type())
+#define AGS_PLAY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_NOTATION_AUDIO, AgsPlayNotationAudio))
+#define AGS_PLAY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_NOTATION_AUDIO, AgsPlayNotationAudio))
+#define AGS_IS_PLAY_NOTATION_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO))
+#define AGS_IS_PLAY_NOTATION_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_NOTATION_AUDIO))
+#define AGS_PLAY_NOTATION_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO, AgsPlayNotationAudioClass))
+
+typedef struct _AgsPlayNotationAudio AgsPlayNotationAudio;
+typedef struct _AgsPlayNotationAudioClass AgsPlayNotationAudioClass;
+
+struct _AgsPlayNotationAudio
+{
+ AgsRecallAudio recall_audio;
+
+ AgsPort *notation;
+ AgsPort *monotonic;
+};
+
+struct _AgsPlayNotationAudioClass
+{
+ AgsRecallAudioClass recall_audio;
+};
+
+GType ags_play_notation_audio_get_type();
+
+AgsPlayNotationAudio* ags_play_notation_audio_new();
+
+#endif /*__AGS_PLAY_NOTATION_AUDIO_H__*/
diff --git a/src/ags/audio/recall/ags_play_notation_audio_run.c b/src/ags/audio/recall/ags_play_notation_audio_run.c
new file mode 100644
index 0000000..c3b7ae8
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_notation_audio_run.c
@@ -0,0 +1,795 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_notation_audio_run.h>
+#include <ags/audio/recall/ags_play_notation_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_devout_thread.h>
+#include <ags/thread/ags_timestamp_thread.h>
+
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_container.h>
+
+#include <ags/audio/ags_config.h>
+
+void ags_play_notation_audio_run_class_init(AgsPlayNotationAudioRunClass *play_notation_audio_run);
+void ags_play_notation_audio_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_play_notation_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_play_notation_audio_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_play_notation_audio_run_init(AgsPlayNotationAudioRun *play_notation_audio_run);
+void ags_play_notation_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_play_notation_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_play_notation_audio_run_finalize(GObject *gobject);
+void ags_play_notation_audio_run_connect(AgsConnectable *connectable);
+void ags_play_notation_audio_run_disconnect(AgsConnectable *connectable);
+void ags_play_notation_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_notation_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_notation_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin);
+xmlNode* ags_play_notation_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin);
+
+void ags_play_notation_audio_run_resolve_dependencies(AgsRecall *recall);
+AgsRecall* ags_play_notation_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_play_notation_audio_run_play_note_done(AgsRecall *recall, AgsPlayNotationAudioRun *play_notation_audio_run);
+void ags_play_notation_audio_run_alloc_input_callback(AgsDelayAudioRun *delay_audio_run,
+ guint nth_run,
+ gdouble delay, guint attack,
+ AgsPlayNotationAudioRun *play_notation_audio_run);
+
+void ags_play_notation_audio_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+void ags_play_notation_audio_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_play_notation_audio_run
+ * @short_description: play notation
+ * @title: AgsPlayNotationAudioRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_notation_audio_run.h
+ *
+ * The #AgsPlayNotationAudioRun class play notation.
+ */
+
+enum{
+ PROP_0,
+ PROP_DELAY_AUDIO_RUN,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+};
+
+static gpointer ags_play_notation_audio_run_parent_class = NULL;
+static AgsConnectableInterface* ags_play_notation_audio_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_play_notation_audio_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_play_notation_audio_run_parent_plugin_interface;
+
+GType
+ags_play_notation_audio_run_get_type()
+{
+ static GType ags_type_play_notation_audio_run = 0;
+
+ if(!ags_type_play_notation_audio_run){
+ static const GTypeInfo ags_play_notation_audio_run_info = {
+ sizeof (AgsPlayNotationAudioRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_notation_audio_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayNotationAudioRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_notation_audio_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_notation_audio_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_notation_audio_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_play_notation_audio_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_notation_audio_run = g_type_register_static(AGS_TYPE_RECALL_AUDIO_RUN,
+ "AgsPlayNotationAudioRun\0",
+ &ags_play_notation_audio_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_notation_audio_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_notation_audio_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_notation_audio_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_play_notation_audio_run);
+}
+
+void
+ags_play_notation_audio_run_class_init(AgsPlayNotationAudioRunClass *play_notation_audio_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_play_notation_audio_run_parent_class = g_type_class_peek_parent(play_notation_audio_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_notation_audio_run;
+
+ gobject->set_property = ags_play_notation_audio_run_set_property;
+ gobject->get_property = ags_play_notation_audio_run_get_property;
+
+ gobject->finalize = ags_play_notation_audio_run_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("delay-audio-run\0",
+ "assigned AgsDelayAudioRun\0",
+ "the AgsDelayAudioRun which emits notation_alloc_input signal\0",
+ AGS_TYPE_DELAY_AUDIO_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DELAY_AUDIO_RUN,
+ param_spec);
+
+ param_spec = g_param_spec_object("count-beats-audio-run\0",
+ "assigned AgsCountBeatsAudioRun\0",
+ "the AgsCountBeatsAudioRun which just counts\0",
+ AGS_TYPE_COUNT_BEATS_AUDIO_RUN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_COUNT_BEATS_AUDIO_RUN,
+ param_spec);
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) play_notation_audio_run;
+
+ recall->resolve_dependencies = ags_play_notation_audio_run_resolve_dependencies;
+ recall->duplicate = ags_play_notation_audio_run_duplicate;
+}
+
+void
+ags_play_notation_audio_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_play_notation_audio_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_play_notation_audio_run_connect;
+ connectable->disconnect = ags_play_notation_audio_run_disconnect;
+}
+
+void
+ags_play_notation_audio_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_play_notation_audio_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_play_notation_audio_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_play_notation_audio_run_disconnect_dynamic;
+}
+
+void
+ags_play_notation_audio_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_play_notation_audio_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->read = ags_play_notation_audio_run_read;
+ plugin->write = ags_play_notation_audio_run_write;
+}
+
+void
+ags_play_notation_audio_run_init(AgsPlayNotationAudioRun *play_notation_audio_run)
+{
+ AGS_RECALL(play_notation_audio_run)->name = "ags-play-notation\0";
+ AGS_RECALL(play_notation_audio_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(play_notation_audio_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(play_notation_audio_run)->xml_type = "ags-play-notation-audio-run\0";
+ AGS_RECALL(play_notation_audio_run)->port = NULL;
+
+ play_notation_audio_run->delay_audio_run = NULL;
+ play_notation_audio_run->count_beats_audio_run = NULL;
+}
+
+void
+ags_play_notation_audio_run_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+
+ play_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO_RUN:
+ {
+ AgsDelayAudioRun *delay_audio_run;
+ gboolean is_template;
+
+ delay_audio_run = g_value_get_object(value);
+
+ if(delay_audio_run == play_notation_audio_run->delay_audio_run){
+ return;
+ }
+
+ if(delay_audio_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(delay_audio_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(play_notation_audio_run->delay_audio_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(play_notation_audio_run),
+ (AgsRecall *) play_notation_audio_run->delay_audio_run);
+ }else{
+ if((AGS_RECALL_RUN_INITIALIZED & (AGS_RECALL(play_notation_audio_run)->flags)) != 0){
+ g_signal_handler_disconnect(G_OBJECT(play_notation_audio_run),
+ play_notation_audio_run->notation_alloc_input_handler);
+ }
+ }
+
+ g_object_unref(G_OBJECT(play_notation_audio_run->delay_audio_run));
+ }
+
+ if(delay_audio_run != NULL){
+ g_object_ref(delay_audio_run);
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(play_notation_audio_run),
+ ags_recall_dependency_new((GObject *) delay_audio_run));
+ }else{
+ if((AGS_RECALL_RUN_INITIALIZED & (AGS_RECALL(play_notation_audio_run)->flags)) != 0){
+ play_notation_audio_run->notation_alloc_input_handler =
+ g_signal_connect(G_OBJECT(delay_audio_run), "notation-alloc-input\0",
+ G_CALLBACK(ags_play_notation_audio_run_alloc_input_callback), play_notation_audio_run);
+ }
+ }
+ }
+
+ play_notation_audio_run->delay_audio_run = delay_audio_run;
+ }
+ break;
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ gboolean is_template;
+
+ count_beats_audio_run = g_value_get_object(value);
+
+ if(count_beats_audio_run == play_notation_audio_run->count_beats_audio_run){
+ return;
+ }
+
+ if(count_beats_audio_run != NULL &&
+ (AGS_RECALL_TEMPLATE & (AGS_RECALL(count_beats_audio_run)->flags)) != 0){
+ is_template = TRUE;
+ }else{
+ is_template = FALSE;
+ }
+
+ if(play_notation_audio_run->count_beats_audio_run != NULL){
+ if(is_template){
+ ags_recall_remove_dependency(AGS_RECALL(play_notation_audio_run),
+ (AgsRecall *) play_notation_audio_run->count_beats_audio_run);
+ }
+
+ g_object_unref(G_OBJECT(play_notation_audio_run->count_beats_audio_run));
+ }
+
+ if(count_beats_audio_run != NULL){
+ g_object_ref(count_beats_audio_run);
+
+ if(is_template){
+ ags_recall_add_dependency(AGS_RECALL(play_notation_audio_run),
+ ags_recall_dependency_new((GObject *) count_beats_audio_run));
+ }
+ }
+
+ play_notation_audio_run->count_beats_audio_run = count_beats_audio_run;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_play_notation_audio_run_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+
+ play_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(gobject);
+
+ switch(prop_id){
+ case PROP_DELAY_AUDIO_RUN:
+ {
+ g_value_set_object(value, G_OBJECT(play_notation_audio_run->delay_audio_run));
+ }
+ break;
+ case PROP_COUNT_BEATS_AUDIO_RUN:
+ {
+ g_value_set_object(value, G_OBJECT(play_notation_audio_run->count_beats_audio_run));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ };
+}
+
+void
+ags_play_notation_audio_run_finalize(GObject *gobject)
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+
+ play_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(gobject);
+
+ if(play_notation_audio_run->delay_audio_run != NULL){
+ g_object_unref(G_OBJECT(play_notation_audio_run->delay_audio_run));
+ }
+
+ if(play_notation_audio_run->count_beats_audio_run != NULL){
+ g_object_unref(G_OBJECT(play_notation_audio_run->count_beats_audio_run));
+ }
+
+ G_OBJECT_CLASS(ags_play_notation_audio_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_notation_audio_run_connect(AgsConnectable *connectable)
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+
+ /* call parent */
+ ags_play_notation_audio_run_parent_connectable_interface->connect(connectable);
+
+ play_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(connectable);
+}
+
+void
+ags_play_notation_audio_run_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_play_notation_audio_run_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_play_notation_audio_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+
+ play_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(dynamic_connectable);
+
+ /* call parent */
+ ags_play_notation_audio_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* connect */
+ play_notation_audio_run->notation_alloc_input_handler =
+ g_signal_connect(G_OBJECT(play_notation_audio_run->delay_audio_run), "notation-alloc-input\0",
+ G_CALLBACK(ags_play_notation_audio_run_alloc_input_callback), play_notation_audio_run);
+
+}
+
+void
+ags_play_notation_audio_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+
+ /* call parent */
+ ags_play_notation_audio_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ play_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(dynamic_connectable);
+
+ if(play_notation_audio_run->delay_audio_run != NULL){
+ g_signal_handler_disconnect(G_OBJECT(play_notation_audio_run->delay_audio_run), play_notation_audio_run->notation_alloc_input_handler);
+ }
+}
+
+void
+ags_play_notation_audio_run_read(AgsFile *file, xmlNode *node, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *iter;
+
+ /* read parent */
+ ags_play_notation_audio_run_parent_plugin_interface->read(file, node, plugin);
+
+ /* read depenendency */
+ iter = node->children;
+
+ while(iter != NULL){
+ if(iter->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(iter->name,
+ "ags-dependency-list\0",
+ 19)){
+ xmlNode *dependency_node;
+
+ dependency_node = iter->children;
+
+ while(dependency_node != NULL){
+ if(dependency_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(dependency_node->name,
+ "ags-dependency\0",
+ 15)){
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", G_OBJECT(plugin),
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_play_notation_audio_run_read_resolve_dependency), G_OBJECT(plugin));
+ }
+ }
+
+ dependency_node = dependency_node->next;
+ }
+ }
+ }
+
+ iter = iter->next;
+ }
+}
+
+xmlNode*
+ags_play_notation_audio_run_write(AgsFile *file, xmlNode *parent, AgsPlugin *plugin)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ xmlNode *dependency_node;
+ GList *list;
+ gchar *id;
+
+ /* write parent */
+ node = ags_play_notation_audio_run_parent_plugin_interface->write(file, parent, plugin);
+
+ /* write dependencies */
+ child = xmlNewNode(NULL,
+ "ags-dependency-list\0");
+
+ xmlNewProp(child,
+ AGS_FILE_ID_PROP,
+ ags_id_generator_create_uuid());
+
+ xmlAddChild(node,
+ child);
+
+ list = AGS_RECALL(plugin)->dependencies;
+
+ while(list != NULL){
+ id = ags_id_generator_create_uuid();
+
+ dependency_node = xmlNewNode(NULL,
+ "ags-dependency\0");
+
+ xmlNewProp(dependency_node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ xmlAddChild(child,
+ dependency_node);
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", dependency_node,
+ "reference\0", list->data,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_play_notation_audio_run_write_resolve_dependency), G_OBJECT(plugin));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_play_notation_audio_run_resolve_dependencies(AgsRecall *recall)
+{
+ AgsRecall *template;
+ AgsRecallContainer *recall_container;
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+ AgsRecallDependency *recall_dependency;
+ AgsDelayAudioRun *delay_audio_run;
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+ GList *list;
+ AgsRecallID *recall_id;
+ guint i, i_stop;
+
+ play_notation_audio_run = AGS_PLAY_NOTATION_AUDIO_RUN(recall);
+
+ recall_container = AGS_RECALL_CONTAINER(recall->container);
+
+ list = ags_recall_find_template(recall_container->recall_audio_run);
+
+ if(list != NULL){
+ template = AGS_RECALL(list->data);
+ }else{
+ g_warning("AgsRecallClass::resolve - missing dependency");
+ return;
+ }
+
+ list = template->dependencies;
+ delay_audio_run = NULL;
+ count_beats_audio_run = NULL;
+ i_stop = 2;
+
+ for(i = 0; i < i_stop && list != NULL;){
+ recall_dependency = AGS_RECALL_DEPENDENCY(list->data);
+
+ if(AGS_IS_DELAY_AUDIO_RUN(recall_dependency->dependency)){
+ if(((AGS_RECALL_INPUT_ORIENTATED & (recall->flags)) != 0 &&
+ (AGS_RECALL_INPUT_ORIENTATED & (AGS_RECALL(recall_dependency->dependency)->flags)) != 0) ||
+ ((AGS_RECALL_OUTPUT_ORIENTATED & (recall->flags)) != 0 &&
+ (AGS_RECALL_OUTPUT_ORIENTATED & (AGS_RECALL(recall_dependency->dependency)->flags)) != 0)){
+ recall_id = recall->recall_id;
+ }else{
+ recall_id = recall->recall_id->recycling_container->parent->recall_id;
+ }
+
+ delay_audio_run = (AgsDelayAudioRun *) ags_recall_dependency_resolve(recall_dependency, recall_id);
+
+ i++;
+ }else if(AGS_IS_COUNT_BEATS_AUDIO_RUN(recall_dependency->dependency)){
+ if(((AGS_RECALL_INPUT_ORIENTATED & (recall->flags)) != 0 &&
+ (AGS_RECALL_INPUT_ORIENTATED & (AGS_RECALL(recall_dependency->dependency)->flags)) != 0) ||
+ ((AGS_RECALL_OUTPUT_ORIENTATED & (recall->flags)) != 0 &&
+ (AGS_RECALL_OUTPUT_ORIENTATED & (AGS_RECALL(recall_dependency->dependency)->flags)) != 0)){
+ recall_id = recall->recall_id;
+ }else{
+ recall_id = recall->recall_id->recycling_container->parent->recall_id;
+ }
+
+ count_beats_audio_run = (AgsCountBeatsAudioRun *) ags_recall_dependency_resolve(recall_dependency, recall_id);
+
+ i++;
+ }
+
+ list = list->next;
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "delay-audio-run\0", delay_audio_run,
+ "count-beats-audio-run\0", count_beats_audio_run,
+ NULL);
+}
+
+AgsRecall*
+ags_play_notation_audio_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsPlayNotationAudioRun *copy, *play_notation_audio_run;
+
+ copy = AGS_PLAY_NOTATION_AUDIO_RUN(AGS_RECALL_CLASS(ags_play_notation_audio_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter));
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_play_notation_audio_run_alloc_input_callback(AgsDelayAudioRun *delay_audio_run,
+ guint nth_run,
+ gdouble delay, guint attack,
+ AgsPlayNotationAudioRun *play_notation_audio_run)
+{
+ AgsTimestampThread *timestamp_thread;
+ AgsDevout *devout;
+ AgsAudio *audio;
+ AgsChannel *selected_channel, *channel, *next_pad;
+ AgsAudioSignal *audio_signal;
+ AgsNotation *notation;
+ AgsPlayNotationAudio *play_notation_audio;
+ GList *current_position;
+ AgsNote *note;
+ AgsRecycling *recycling;
+ GList *list;
+ guint audio_channel;
+ guint samplerate;
+ guint buffer_size;
+ guint i;
+ GValue value = {0,};
+
+ play_notation_audio = AGS_PLAY_NOTATION_AUDIO(AGS_RECALL_AUDIO_RUN(play_notation_audio_run)->recall_audio);
+
+ audio = AGS_RECALL_AUDIO(play_notation_audio)->audio;
+ devout = AGS_DEVOUT(audio->devout);
+
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ g_value_init(&value, G_TYPE_POINTER);
+ ags_port_safe_read(play_notation_audio->notation,
+ &value);
+
+ list = (GList *) g_value_get_pointer(&value);
+
+ if(list == NULL)
+ return;
+
+ //FIXME:JK: nth_run isn't best joice
+ if((AGS_AUDIO_NOTATION_DEFAULT & (audio->flags)) != 0){
+ audio_channel = nth_run;
+ channel = ags_channel_nth(audio->input,
+ audio_channel);
+ }else{
+ audio_channel = nth_run;
+ channel = ags_channel_nth(audio->output,
+ audio_channel);
+ }
+
+ timestamp_thread = AGS_DEVOUT_THREAD(AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop)->devout_thread)->timestamp_thread;
+
+ //TODO:JK: make it advanced
+ notation = AGS_NOTATION(g_list_nth(list, audio_channel)->data);//AGS_NOTATION(ags_notation_find_near_timestamp(list, audio_channel,
+ // timestamp_thread->timestamp)->data);
+
+ current_position = notation->notes; // start_loop
+
+ while(current_position != NULL){
+ note = AGS_NOTE(current_position->data);
+
+ if(current_position != NULL){
+ if(note->x[0] == play_notation_audio_run->count_beats_audio_run->notation_counter){
+ selected_channel = ags_channel_pad_nth(channel, note->y);
+
+ /* recycling */
+ recycling = selected_channel->first_recycling;
+
+ //#ifdef AGS_DEBUG
+ g_message("playing: %u | %u\n\0", note->x[0], note->y);
+ //#endif
+
+ while(recycling != selected_channel->last_recycling->next){
+ audio_signal = ags_audio_signal_new((GObject *) audio->devout,
+ (GObject *) recycling,
+ (GObject *) AGS_RECALL(play_notation_audio_run)->recall_id);
+ ags_recycling_create_audio_signal_with_frame_count(recycling,
+ audio_signal,
+ samplerate / ((double) samplerate / (double) buffer_size) * (note->x[1] - note->x[0]),
+ delay, attack);
+ ags_audio_signal_connect(audio_signal);
+
+ audio_signal->stream_current = audio_signal->stream_beginning;
+ ags_recycling_add_audio_signal(recycling,
+ audio_signal);
+ g_object_unref(audio_signal);
+
+ recycling = recycling->next;
+ }
+ }else if(note->x[0] > play_notation_audio_run->count_beats_audio_run->notation_counter){
+ break;
+ }
+ }
+
+ current_position = current_position->next;
+ }
+}
+
+void
+ags_play_notation_audio_run_write_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file,
+ AGS_RECALL_DEPENDENCY(file_lookup->ref)->dependency);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "xpath\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+}
+
+void
+ags_play_notation_audio_run_read_resolve_dependency(AgsFileLookup *file_lookup,
+ GObject *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "xpath\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(AGS_IS_DELAY_AUDIO_RUN(id_ref->ref)){
+ g_object_set(G_OBJECT(recall),
+ "delay-audio-run\0", id_ref->ref,
+ NULL);
+ }else if(AGS_IS_COUNT_BEATS_AUDIO_RUN(id_ref->ref)){
+ g_object_set(G_OBJECT(recall),
+ "count-beats-audio-run\0", id_ref->ref,
+ NULL);
+ }
+}
+
+/**
+ * ags_play_notation_audio_run_new:
+ * @count_beats_audio_run: an #AgsCountBeatsAudioRun as dependency
+ *
+ * Creates an #AgsPlayNotationAudioRun
+ *
+ * Returns: a new #AgsPlayNotationAudioRun
+ *
+ * Since: 0.4
+ */
+AgsPlayNotationAudioRun*
+ags_play_notation_audio_run_new()
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+
+ play_notation_audio_run = (AgsPlayNotationAudioRun *) g_object_new(AGS_TYPE_PLAY_NOTATION_AUDIO_RUN,
+ NULL);
+
+ return(play_notation_audio_run);
+}
diff --git a/src/ags/audio/recall/ags_play_notation_audio_run.h b/src/ags/audio/recall/ags_play_notation_audio_run.h
new file mode 100644
index 0000000..f1658aa
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_notation_audio_run.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_NOTATION_AUDIO_RUN_H__
+#define __AGS_PLAY_NOTATION_AUDIO_RUN_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_notation.h>
+
+#include <ags/audio/recall/ags_delay_audio_run.h>
+#include <ags/audio/recall/ags_count_beats_audio.h>
+#include <ags/audio/recall/ags_count_beats_audio_run.h>
+
+#define AGS_TYPE_PLAY_NOTATION_AUDIO_RUN (ags_play_notation_audio_run_get_type())
+#define AGS_PLAY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN, AgsPlayNotationAudioRun))
+#define AGS_PLAY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN, AgsPlayNotationAudioRun))
+#define AGS_IS_PLAY_NOTATION_AUDIO_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN))
+#define AGS_IS_PLAY_NOTATION_AUDIO_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN))
+#define AGS_PLAY_NOTATION_AUDIO_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_NOTATION_AUDIO_RUN, AgsPlayNotationAudioRunClass))
+
+typedef struct _AgsPlayNotationAudioRun AgsPlayNotationAudioRun;
+typedef struct _AgsPlayNotationAudioRunClass AgsPlayNotationAudioRunClass;
+
+typedef enum{
+ AGS_PLAY_NOTATION_AUDIO_RUN_DEFAULT = 1,
+}AgsPlayNotationAudioRunFlags;
+
+struct _AgsPlayNotationAudioRun
+{
+ AgsRecallAudioRun recall;
+
+ guint flags;
+
+ AgsDelayAudioRun *delay_audio_run;
+ gulong notation_alloc_input_handler;
+
+ AgsCountBeatsAudioRun *count_beats_audio_run;
+};
+
+struct _AgsPlayNotationAudioRunClass
+{
+ AgsRecallAudioRunClass recall;
+};
+
+GType ags_play_notation_audio_run_get_type();
+
+AgsPlayNotationAudioRun* ags_play_notation_audio_run_new();
+
+#endif /*__AGS_PLAY_NOTATION_AUDIO_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_play_note.c b/src/ags/audio/recall/ags_play_note.c
new file mode 100644
index 0000000..1d0c687
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_note.c
@@ -0,0 +1,277 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_note.h>
+
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/recall/ags_play_notation_audio_run.h>
+#include <ags/audio/recall/ags_play_audio_signal.h>
+
+void ags_play_note_class_init(AgsPlayNoteClass *play_note);
+void ags_play_note_init(AgsPlayNote *play_note);
+void ags_play_note_finalize(GObject *gobject);
+void ags_play_note_connect(AgsPlayNote *play_note);
+
+void ags_play_note_map_play_audio_signal(AgsRecall *recall, AgsRecallID *recall_id, gpointer data);
+void ags_play_note(AgsRecall *recall, AgsRecallID *recall_id, gpointer data);
+void ags_play_note_stop(AgsRecall *recall, AgsRecallID *recall_id, gpointer data);
+void ags_play_note_cancel(AgsRecall *recall, AgsRecallID *recall_id, gpointer data);
+
+void ags_play_note_play_audio_signal_done(AgsRecall *recall, AgsRecallID *recall_id, gpointer data);
+
+static gpointer ags_play_note_parent_class = NULL;
+
+GType
+ags_play_note_get_type()
+{
+ static GType ags_type_play_note = 0;
+
+ if(!ags_type_play_note){
+ static const GTypeInfo ags_play_note_info = {
+ sizeof (AgsPlayNoteClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_note_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayNote),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_note_init,
+ };
+ ags_type_play_note = g_type_register_static(AGS_TYPE_RECALL, "AgsPlayNote\0", &ags_play_note_info, 0);
+ }
+ return (ags_type_play_note);
+}
+
+void
+ags_play_note_class_init(AgsPlayNoteClass *play_note)
+{
+ GObjectClass *gobject;
+
+ ags_play_note_parent_class = g_type_class_peek_parent(play_note);
+
+ gobject = (GObjectClass *) play_note;
+ gobject->finalize = ags_play_note_finalize;
+}
+
+void
+ags_play_note_init(AgsPlayNote *play_note)
+{
+ play_note->devout = NULL;
+
+ play_note->note = NULL;
+ play_note->channel = NULL;
+}
+
+void
+ags_play_note_finalize(GObject *gobject)
+{
+ /*
+ AgsPlayNote *play_note;
+ GList *list, *list_next;
+
+ play_note = AGS_PLAY_NOTE(gobject);
+
+ list = play_note->recall.recall;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref(G_OBJECT(list->data));
+ g_list_free1(list);
+
+ list = list_next;
+ }
+ */
+ G_OBJECT_CLASS(ags_play_note_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_note_connect(AgsPlayNote *play_note)
+{
+ // ags_recall_connect(AGS_RECALL(play_note));
+
+ g_signal_connect((GObject *) play_note, "run_inter\0",
+ G_CALLBACK(ags_play_note), NULL);
+
+ g_signal_connect((GObject *) play_note, "stop\0",
+ G_CALLBACK(ags_play_note_stop), NULL);
+
+ g_signal_connect((GObject *) play_note, "cancel\0",
+ G_CALLBACK(ags_play_note_cancel), NULL);
+}
+
+void
+ags_play_note_map_play_audio_signal(AgsRecall *recall, AgsRecallID *recall_id, gpointer data)
+{
+ AgsPlayNotationAudioRun *play_notation_audio_run;
+ AgsPlayNote *play_note;
+ AgsChannel *channel;
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ AgsPlayAudioSignal *play_audio_signal;
+ GList *start_play_audio_signal, *list_play_audio_signal;
+ gboolean first_recall;
+ /*
+ void ags_play_note_map_play_audio_signal_real(){
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_PLAY;
+ audio_signal->audio_channel = channel->audio_channel;
+
+ play_audio_signal = ags_play_audio_signal_new();
+ play_audio_signal->devout = play_note->devout;
+ play_audio_signal->audio_signal = audio_signal;
+ AGS_RECALL(play_audio_signal)->parent = (GObject *) play_note;
+
+ ags_play_audio_signal_connect(play_audio_signal);
+ g_signal_connect((GObject *) play_audio_signal, "done\0",
+ G_CALLBACK(ags_play_note_play_audio_signal_done), NULL);
+
+ if(first_recall){
+ start_play_audio_signal =
+ list_play_audio_signal = g_list_alloc();
+
+ first_recall = FALSE;
+ }else{
+ list_play_audio_signal->next = g_list_alloc();
+ list_play_audio_signal->next->prev = list_play_audio_signal;
+ list_play_audio_signal = list_play_audio_signal->next;
+ }
+
+ list_play_audio_signal->data = (gpointer) play_audio_signal;
+ }
+
+ play_notation_audio_run = (AgsPlayNotationAudioRun *) recall->parent;
+ play_note = (AgsPlayNote *) recall;
+
+ channel = ags_channel_nth_pad(play_notation_audio_run->channel, play_note->note->y);
+
+ if(channel != NULL){
+ recycling = channel->first_recycling;
+
+ first_recall = TRUE;
+ start_play_audio_signal = NULL;
+
+ if((AGS_NOTE_DEFAULT_LENGTH & play_note->note->flags) != 0){
+ while(recycling != channel->last_recycling->next){
+ audio_signal = ags_recycling_add_audio_signal(recycling);
+ ags_play_note_map_play_audio_signal_real();
+
+ recycling = recycling->next;
+ }
+ }else{
+ guint length;
+
+ length = ((double) (play_note->note->x[1] - play_note->note->x[0]) * ((double) play_note->devout->frequence * 60.0 / play_notation_audio_run->bpm[0] / 16.0));
+
+ while(recycling != channel->last_recycling->next){
+ audio_signal = ags_recycling_add_audio_signal_with_length(recycling, length);
+ ags_play_note_map_play_audio_signal_real();
+
+ recycling = recycling->next;
+ }
+ }
+
+ play_note->recall.recall = g_list_concat(play_note->recall.recall, start_play_audio_signal);
+ }else{
+ g_signal_emit_by_name((GObject *) recall, "done\0", recall_id);
+ }
+*/
+}
+
+void
+ags_play_note(AgsRecall *recall, AgsRecallID *recall_id, gpointer data)
+{
+ /*
+ GList *list, *list_next;
+ GStaticMutex mutex = G_STATIC_MUTEX_INIT;
+
+ g_static_mutex_lock(&mutex);
+
+ if(recall->recall == NULL){
+ g_signal_emit_by_name((GObject *) recall, "done\0", recall_id);
+ g_static_mutex_unlock(&mutex);
+ }else{
+ g_static_mutex_unlock(&mutex);
+
+ list = recall->recall;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_signal_emit_by_name(G_OBJECT(list->data), "run_inter\0", recall_id);
+
+ list = list_next;
+ }
+ }
+ */
+}
+
+void
+ags_play_note_stop(AgsRecall *recall, AgsRecallID *recall_id, gpointer data)
+{
+ /*
+ GList *list, *list_next;
+
+ list = recall->recall;
+ recall->recall = NULL;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref(G_OBJECT(list->data));
+ g_list_free1(list);
+
+ list = list_next;
+ }
+ */
+}
+
+void
+ags_play_note_cancel(AgsRecall *recall, AgsRecallID *recall_id, gpointer data)
+{
+}
+
+void
+ags_play_note_play_audio_signal_done(AgsRecall *recall, AgsRecallID *recall_id, gpointer data)
+{
+ /*
+ AgsPlayNote *play_note;
+ AgsPlayAudioSignal *play_audio_signal;
+
+ play_note = AGS_PLAY_NOTE(recall->parent);
+ play_audio_signal = AGS_PLAY_AUDIO_SIGNAL(recall);
+
+ AGS_RECALL(play_note)->recall = g_list_remove(AGS_RECALL(play_note)->recall, recall);
+ g_object_unref(G_OBJECT(play_audio_signal));
+
+ if(play_note->recall.recall == NULL){
+ g_signal_emit_by_name((GObject *) play_note, "done\0", recall_id);
+ }
+ */
+}
+
+AgsPlayNote*
+ags_play_note_new()
+{
+ AgsPlayNote *play_note;
+
+ play_note = (AgsPlayNote *) g_object_new(AGS_TYPE_PLAY_NOTE, NULL);
+
+ return(play_note);
+}
diff --git a/src/ags/audio/recall/ags_play_note.h b/src/ags/audio/recall/ags_play_note.h
new file mode 100644
index 0000000..63f8a08
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_note.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_NOTE_H__
+#define __AGS_PLAY_NOTE_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_PLAY_NOTE (ags_play_note_get_type())
+#define AGS_PLAY_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_NOTE, AgsPlayNote))
+#define AGS_PLAY_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_NOTE, AgsPlayNote))
+#define AGS_IS_PLAY_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_NOTE))
+#define AGS_IS_PLAY_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_NOTE))
+#define AGS_PLAY_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_NOTE, AgsPlayNoteClass))
+
+typedef struct _AgsPlayNote AgsPlayNote;
+typedef struct _AgsPlayNoteClass AgsPlayNoteClass;
+
+struct _AgsPlayNote
+{
+ AgsRecall recall;
+
+ AgsDevout *devout;
+
+ AgsChannel *channel;
+ AgsNote *note;
+};
+
+struct _AgsPlayNoteClass
+{
+ AgsRecallClass recall;
+};
+
+GType ags_play_note_get_type();
+
+AgsPlayNote* ags_play_note_new();
+
+#endif /*__AGS_PLAY_NOTE_H__*/
diff --git a/src/ags/audio/recall/ags_play_pattern.c b/src/ags/audio/recall/ags_play_pattern.c
new file mode 100644
index 0000000..388c8e5
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_pattern.c
@@ -0,0 +1,254 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_pattern.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+#include <ags/audio/recall/ags_play_channel.h>
+#include <ags/audio/recall/ags_play_audio_signal.h>
+
+#include <ags/X/ags_machine.h>
+
+void ags_play_pattern_class_init(AgsPlayPatternClass *play_pattern);
+void ags_play_pattern_init(AgsPlayPattern *play_pattern);
+void ags_play_pattern_finalize(GObject *gobject);
+
+void ags_play_pattern(AgsRecall *recall, AgsRecallID *recall_id);
+void ags_play_pattern_stop(AgsRecall *recall);
+void ags_play_pattern_cancel(AgsRecall *recall);
+
+void ags_play_pattern_play_channel_done(AgsRecall *recall);
+
+static gpointer ags_play_pattern_parent_class = NULL;
+
+GType
+ags_play_pattern_get_type()
+{
+ static GType ags_type_play_pattern = 0;
+
+ if(!ags_type_play_pattern){
+ static const GTypeInfo ags_play_pattern_info = {
+ sizeof (AgsPlayPatternClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_pattern_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayPattern),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_pattern_init,
+ };
+ ags_type_play_pattern = g_type_register_static(AGS_TYPE_RECALL, "AgsPlayPattern\0", &ags_play_pattern_info, 0);
+ }
+ return (ags_type_play_pattern);
+}
+
+void
+ags_play_pattern_class_init(AgsPlayPatternClass *play_pattern)
+{
+ GObjectClass *gobject;
+
+ ags_play_pattern_parent_class = g_type_class_peek_parent(play_pattern);
+
+ gobject = (GObjectClass *) play_pattern;
+ gobject->finalize = ags_play_pattern_finalize;
+}
+
+void
+ags_play_pattern_init(AgsPlayPattern *play_pattern)
+{
+ play_pattern->channel = NULL;
+ play_pattern->pattern = NULL;
+
+ play_pattern->i = 0;
+ play_pattern->j = 0;
+ play_pattern->bit = 0;
+ play_pattern->length = 0;
+
+ play_pattern->loop = FALSE;
+}
+
+void
+ags_play_pattern_finalize(GObject *gobject)
+{
+}
+
+void
+ags_play_pattern_connect(AgsPlayPattern *play_pattern)
+{
+ // ags_recall_connect(AGS_RECALL(play_pattern));
+}
+
+void
+ags_play_pattern(AgsRecall *recall, AgsRecallID *recall_id)
+{
+ /*
+ AgsDelay *delay;
+ AgsPlayPattern *play_pattern;
+ AgsPlayChannel *play_channel;
+ pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ play_pattern = (AgsPlayPattern *) recall;
+ delay = play_pattern->delay;
+ // fprintf(stdout, "ags_play_pattern\n\0");
+
+ pthread_mutex_lock(&mutex);
+
+ if(play_pattern->bit == play_pattern->length){
+ if(play_pattern->loop){
+ pthread_mutex_unlock(&mutex);
+
+ if(delay->counter == 0){
+ play_pattern->bit = 0;
+ goto ags_play_pattern0;
+ }
+ }else{
+
+ if(play_pattern->recall.recall == NULL){
+ AGS_RECALL_GET_CLASS((AgsRecall *) play_pattern)->done(AGS_RECALL(play_pattern), recall_id);
+ // play_pattern->recall.flags |= AGS_RECALL_REMOVE;
+
+ AGS_DELAY(play_pattern->recall.parent)->recall_ref--;
+ play_pattern->bit = 0;
+ }
+
+ pthread_mutex_unlock(&mutex);
+ }
+ }else{
+ pthread_mutex_unlock(&mutex);
+
+ if(delay->counter == 0){
+ // fprintf(stdout, " (AGS_RECALL_DELAY & recall->flags) == 0\n\0");
+ ags_play_pattern0:
+
+ if(ags_pattern_get_bit(play_pattern->pattern, play_pattern->i, play_pattern->j, play_pattern->bit)){
+ // fprintf(stdout, " ags_pattern_get_bit(play_pattern->pattern, play_pattern->i, play_pattern->j, play_pattern->bit)\n\0");
+ play_channel = ags_play_channel_new(play_pattern->channel);
+
+ play_channel->recall.parent = (GObject *) play_pattern;
+ AGS_RECALL_GET_CLASS((AgsRecall *) play_channel)->done = ags_play_pattern_play_channel_done;
+
+ ags_play_channel_map_play_audio_signal(play_channel, NULL);
+
+ recall->recall = g_list_append(recall->recall, play_channel);
+ }
+
+ play_pattern->bit++;
+ }
+ }
+
+ // _ags_recall_run(recall);
+ */
+}
+
+void
+ags_play_pattern_stop(AgsRecall *recall)
+{
+ /*
+ AgsDevout *devout;
+ GList *list, *list_next;
+
+ devout = AGS_DEVOUT(AGS_AUDIO(AGS_RECALL(recall->parent)->parent)->devout);
+
+ list = recall->recall;
+ recall->recall = NULL;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref(G_OBJECT(list->data));
+ g_list_free1(list);
+
+ list = list_next;
+ }
+ */
+}
+
+void
+ags_play_pattern_play_channel_done(AgsRecall *recall)
+{
+ /*
+ AgsPlayPattern *play_pattern;
+ AgsPlayChannel *play_channel;
+ GList *list, *list_next;
+
+ play_pattern = AGS_PLAY_PATTERN(recall->parent);
+ play_channel = AGS_PLAY_CHANNEL(recall);
+
+ AGS_RECALL(play_pattern)->recall = g_list_remove(AGS_RECALL(play_pattern)->recall, recall);
+
+ list = play_channel->recall.recall;
+ play_channel->recall.recall = NULL;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref(G_OBJECT(list->data));
+ g_list_free1(list);
+
+ list = list_next;
+ }
+
+ g_object_unref((GObject *) play_channel);
+ */
+}
+
+void
+ags_play_pattern_cancel(AgsRecall *recall)
+{
+ AgsPlayPattern *play_pattern;
+ /*
+ play_pattern = (AgsPlayPattern *) recall;
+
+ if(play_pattern->bit == play_pattern->length){
+ if(play_pattern->loop && play_pattern->recall.run_main)
+ AGS_RECALL_GET_CLASS(recall)->loop(recall);
+
+ if(play_pattern->recall.recall == NULL)
+ AGS_RECALL_GET_CLASS((AgsRecall *) play_pattern)->done((AgsRecall *) play_pattern);
+ }else
+ if(recall->delay)
+ play_pattern->bit++;
+
+ _ags_recall_cancel(recall);
+ */
+}
+/*
+AgsPlayPattern*
+ags_play_pattern_new(AgsChannel *channel, AgsDelay *delay)
+{
+ AgsPlayPattern *play_pattern;
+
+ play_pattern = (AgsPlayPattern *) g_object_new(AGS_TYPE_PLAY_PATTERN, NULL);
+
+ if(channel != NULL){
+ play_pattern->delay = delay;
+
+ play_pattern->channel = channel;
+ play_pattern->pattern = AGS_PATTERN(channel->pattern->data);
+ }
+
+ return(play_pattern);
+}
+*/
diff --git a/src/ags/audio/recall/ags_play_pattern.h b/src/ags/audio/recall/ags_play_pattern.h
new file mode 100644
index 0000000..9aa0ec0
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_pattern.h
@@ -0,0 +1,64 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_PATTERN_H__
+#define __AGS_PLAY_PATTERN_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+
+//#include <ags/audio/recall/ags_delay.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_pattern.h>
+
+#define AGS_TYPE_PLAY_PATTERN (ags_play_pattern_get_type())
+#define AGS_PLAY_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_PLAY_PATTERN, AgsPlayPattern))
+#define AGS_PLAY_PATTERN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PLAY_PATTERN, AgsPlayPattern))
+
+typedef struct _AgsPlayPattern AgsPlayPattern;
+typedef struct _AgsPlayPatternClass AgsPlayPatternClass;
+
+struct _AgsPlayPattern{
+ AgsRecall recall;
+
+ // AgsDelay *delay;
+
+ AgsChannel *channel;
+ AgsPattern *pattern;
+
+ guint i;
+ guint j;
+ guint bit;
+ guint length;
+
+ gboolean loop;
+};
+
+struct _AgsPlayPatternClass{
+ AgsRecallClass recall;
+};
+
+GType ags_play_pattern_get_type();
+
+void ags_play_pattern_connect(AgsPlayPattern *play_pattern);
+
+//AgsPlayPattern* ags_play_pattern_new(AgsChannel *channel, AgsDelay *delay);
+
+#endif /*__AGS_PLAY_PATTERN_H__*/
diff --git a/src/ags/audio/recall/ags_play_recycling.c b/src/ags/audio/recall/ags_play_recycling.c
new file mode 100644
index 0000000..03ddbf6
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_recycling.c
@@ -0,0 +1,262 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_play_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/recall/ags_play_audio_signal.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+
+void ags_play_recycling_class_init(AgsPlayRecyclingClass *play_recycling);
+void ags_play_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_play_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_play_recycling_init(AgsPlayRecycling *play_recycling);
+void ags_play_recycling_connect(AgsConnectable *connectable);
+void ags_play_recycling_disconnect(AgsConnectable *connectable);
+void ags_play_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_play_recycling_finalize(GObject *gobject);
+
+void ags_play_recycling_done(AgsRecall *recall);
+void ags_play_recycling_cancel(AgsRecall *recall);
+AgsRecall* ags_play_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_play_recycling
+ * @short_description: plays recycling
+ * @title: AgsPlayRecycling
+ * @section_id:
+ * @include: ags/audio/recall/ags_play_recycling.h
+ *
+ * The #AgsPlayRecycling class plays the recycling.
+ */
+
+static gpointer ags_play_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_play_recycling_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_play_recycling_parent_dynamic_connectable_interface;
+
+GType
+ags_play_recycling_get_type()
+{
+ static GType ags_type_play_recycling = 0;
+
+ if(!ags_type_play_recycling){
+ static const GTypeInfo ags_play_recycling_info = {
+ sizeof (AgsPlayRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_play_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPlayRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_play_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_play_recycling_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_play_recycling = g_type_register_static(AGS_TYPE_RECALL_RECYCLING,
+ "AgsPlayRecycling\0",
+ &ags_play_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_play_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_play_recycling,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return(ags_type_play_recycling);
+}
+
+void
+ags_play_recycling_class_init(AgsPlayRecyclingClass *play_recycling)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_play_recycling_parent_class = g_type_class_peek_parent(play_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) play_recycling;
+
+ gobject->finalize = ags_play_recycling_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) play_recycling;
+
+ recall->done = ags_play_recycling_done;
+ recall->cancel = ags_play_recycling_cancel;
+ recall->duplicate = ags_play_recycling_duplicate;
+}
+
+void
+ags_play_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_play_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_play_recycling_connect;
+ connectable->disconnect = ags_play_recycling_disconnect;
+}
+
+void
+ags_play_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_play_recycling_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_play_recycling_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_play_recycling_disconnect_dynamic;
+}
+
+void
+ags_play_recycling_init(AgsPlayRecycling *play_recycling)
+{
+ AGS_RECALL(play_recycling)->child_type = AGS_TYPE_PLAY_AUDIO_SIGNAL;
+}
+
+void
+ags_play_recycling_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_play_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_recycling_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_play_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_play_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_play_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_play_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_play_recycling_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_play_recycling_finalize(GObject *gobject)
+{
+ AgsPlayRecycling *play_recycling;
+
+ play_recycling = AGS_PLAY_RECYCLING(gobject);
+
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_play_recycling_parent_class)->finalize(gobject);
+}
+
+void
+ags_play_recycling_done(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_recycling_parent_class)->done(recall);
+
+ /* empty */
+}
+
+void
+ags_play_recycling_cancel(AgsRecall *recall)
+{
+ AGS_RECALL_CLASS(ags_play_recycling_parent_class)->cancel(recall);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_play_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsPlayRecycling *copy;
+
+ copy = (AgsPlayRecycling *) AGS_RECALL_CLASS(ags_play_recycling_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_play_recycling_new:
+ * @source: the source #AgsRecycling
+ * @devout: the #AgsDevout outputting to
+ * @audio_channel: the audio channel to use
+ *
+ * Creates an #AgsPlayRecycling
+ *
+ * Returns: a new #AgsPlayRecycling
+ *
+ * Since: 0.4
+ */
+AgsPlayRecycling*
+ags_play_recycling_new(AgsRecycling *source,
+ AgsDevout *devout,
+ guint audio_channel)
+{
+ AgsPlayRecycling *play_recycling;
+
+ play_recycling = (AgsPlayRecycling *) g_object_new(AGS_TYPE_PLAY_RECYCLING,
+ "source\0", source,
+ "devout\0", devout,
+ "audio_channel\0", audio_channel,
+ NULL);
+
+ return(play_recycling);
+}
diff --git a/src/ags/audio/recall/ags_play_recycling.h b/src/ags/audio/recall/ags_play_recycling.h
new file mode 100644
index 0000000..005b36d
--- /dev/null
+++ b/src/ags/audio/recall/ags_play_recycling.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAY_RECYCLING_H__
+#define __AGS_PLAY_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_recycling.h>
+
+#define AGS_TYPE_PLAY_RECYCLING (ags_play_recycling_get_type())
+#define AGS_PLAY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAY_RECYCLING, AgsPlayRecycling))
+#define AGS_PLAY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLAY_RECYCLING, AgsPlayRecyclingClass))
+#define AGS_IS_PLAY_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAY_RECYCLING))
+#define AGS_IS_PLAY_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLAY_RECYCLING))
+#define AGS_PLAY_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLAY_RECYCLING, AgsPlayRecyclingClass))
+
+typedef struct _AgsPlayRecycling AgsPlayRecycling;
+typedef struct _AgsPlayRecyclingClass AgsPlayRecyclingClass;
+
+struct _AgsPlayRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+
+struct _AgsPlayRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+
+GType ags_play_recycling_get_type();
+
+AgsPlayRecycling* ags_play_recycling_new(AgsRecycling *source,
+ AgsDevout *devout,
+ guint audio_channel);
+
+#endif /*__AGS_PLAY_RECYCLING_H__*/
diff --git a/src/ags/audio/recall/ags_stream.c b/src/ags/audio/recall/ags_stream.c
new file mode 100644
index 0000000..2a0ecd0
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream.c
@@ -0,0 +1,104 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_stream.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_stream_class_init(AgsStream *stream);
+void ags_stream_init(AgsStream *stream);
+
+GType
+ags_stream_get_type()
+{
+ static GType ags_type_stream = 0;
+
+ if(!ags_type_stream){
+ static const GTypeInfo ags_stream_info = {
+ sizeof (AgsStreamClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_stream_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsStream),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_stream_init,
+ };
+ ags_type_stream = g_type_register_static(G_TYPE_OBJECT, "AgsStream\0", &ags_stream_info, 0);
+ }
+ return (ags_type_stream);
+}
+
+void
+ags_stream_class_init(AgsStream *stream)
+{
+}
+
+void
+ags_stream_init(AgsStream *stream)
+{
+ stream->audio_signal = NULL;
+}
+
+void
+ags_stream(AgsRecall *recall, AgsRecallID *recall_id, gpointer data)
+{
+ /* -- deprecated --
+ AgsStream *stream;
+ AgsDevout *devout;
+ AgsAudioSignal *audio_signal;
+ GList *list;
+ guint *buffer;
+ guint i;
+
+ stream = (AgsStream *) recall;
+ audio_signal = (AgsAudioSignal *) stream->audio_signal;
+ devout = (AgsDevout *) audio_signal->devout;
+
+ if(audio_signal->stream_current == NULL)
+ if(devout->offset < audio_signal->stream_end){
+ // AGS_RECALL_GET_CLASS(recall)->done(recall, recall_id);
+ g_signal_emit_by_name((GObject *) recall, "done\0", recall_id);
+ }else{
+ ags_audio_signal_add_stream(audio_signal);
+ }
+
+ buffer = audio_signal->stream_current->data;
+
+ for(i = 0; i < devout->buffer_size; i++){
+ list = recall->recall;
+
+ while(list != NULL){
+ g_signal_emit_by_name((GObject *) recall, "run_stream\0", recall_id);
+
+ list = list->next;
+ }
+ }
+ */
+}
+
+AgsStream*
+ags_stream_new()
+{
+ AgsStream *stream;
+
+ stream = (AgsStream *) g_object_new(AGS_TYPE_STREAM, NULL);
+
+ return(stream);
+}
diff --git a/src/ags/audio/recall/ags_stream.h b/src/ags/audio/recall/ags_stream.h
new file mode 100644
index 0000000..8c21383
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_STREAM_H__
+#define __AGS_STREAM_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_id.h>
+
+#define AGS_TYPE_STREAM (ags_stream_get_type())
+#define AGS_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_STREAM, AgsStream))
+#define AGS_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_STREAM, AgsStream))
+
+typedef struct _AgsStream AgsStream;
+typedef struct _AgsStreamClass AgsStreamClass;
+
+struct _AgsStream{
+ AgsRecall recall;
+
+ AgsAudioSignal *audio_signal;
+};
+
+struct _AgsStreamClass{
+ AgsRecallClass recall;
+};
+
+GType ags_stream_get_type();
+
+void ags_stream(AgsRecall *recall, AgsRecallID *recall_id, gpointer data);
+
+AgsStream* ags_stream_new();
+
+#endif /*__AGS_STREAM_H__*/
diff --git a/src/ags/audio/recall/ags_stream_audio_signal.c b/src/ags/audio/recall/ags_stream_audio_signal.c
new file mode 100644
index 0000000..b58bc6b
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_audio_signal.c
@@ -0,0 +1,323 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_stream_channel.h>
+#include <ags/audio/recall/ags_stream_channel_run.h>
+#include <ags/audio/recall/ags_stream_recycling.h>
+#include <ags/audio/recall/ags_stream_audio_signal.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/task/ags_unref_audio_signal.h>
+
+void ags_stream_audio_signal_class_init(AgsStreamAudioSignalClass *stream_audio_signal);
+void ags_stream_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_stream_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_stream_audio_signal_init(AgsStreamAudioSignal *stream_audio_signal);
+void ags_stream_audio_signal_connect(AgsConnectable *connectable);
+void ags_stream_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_stream_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_stream_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_stream_audio_signal_finalize(GObject *gobject);
+
+void ags_stream_audio_signal_run_init_pre(AgsRecall *recall);
+void ags_stream_audio_signal_run_post(AgsRecall *recall);
+AgsRecall* ags_stream_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_stream_audio_signal
+ * @short_description: streams audio signal
+ * @title: AgsStreamAudioSignal
+ * @section_id:
+ * @include: ags/audio/recall/ags_stream_audio_signal.h
+ *
+ * The #AgsStreamAudioSignal class streams the audio signal.
+ */
+
+static gpointer ags_stream_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_stream_audio_signal_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_stream_audio_signal_parent_dynamic_connectable_interface;
+
+GType
+ags_stream_audio_signal_get_type()
+{
+ static GType ags_type_stream_audio_signal = 0;
+
+ if(!ags_type_stream_audio_signal){
+ static const GTypeInfo ags_stream_audio_signal_info = {
+ sizeof (AgsStreamAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_stream_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsStreamAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_stream_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_stream_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_stream_audio_signal_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_stream_audio_signal = g_type_register_static(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "AgsStreamAudioSignal\0",
+ &ags_stream_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_stream_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_stream_audio_signal,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_stream_audio_signal);
+}
+
+void
+ags_stream_audio_signal_class_init(AgsStreamAudioSignalClass *stream_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_stream_audio_signal_parent_class = g_type_class_peek_parent(stream_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) stream_audio_signal;
+
+ gobject->finalize = ags_stream_audio_signal_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) stream_audio_signal;
+
+ recall->run_init_pre = ags_stream_audio_signal_run_init_pre;
+ recall->run_post = ags_stream_audio_signal_run_post;
+ recall->duplicate = ags_stream_audio_signal_duplicate;
+}
+
+void
+ags_stream_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_stream_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_stream_audio_signal_connect;
+ connectable->disconnect = ags_stream_audio_signal_disconnect;
+}
+
+void
+ags_stream_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_stream_audio_signal_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_stream_audio_signal_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_stream_audio_signal_disconnect_dynamic;
+}
+
+void
+ags_stream_audio_signal_init(AgsStreamAudioSignal *stream_audio_signal)
+{
+ AGS_RECALL(stream_audio_signal)->name = "ags-stream\0";
+ AGS_RECALL(stream_audio_signal)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(stream_audio_signal)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(stream_audio_signal)->xml_type = "ags-stream-audio-signal\0";
+ AGS_RECALL(stream_audio_signal)->port = NULL;
+
+ AGS_RECALL(stream_audio_signal)->child_type = G_TYPE_NONE;
+}
+
+void
+ags_stream_audio_signal_finalize(GObject *gobject)
+{
+ if(AGS_RECALL_AUDIO_SIGNAL(gobject)->source != NULL &&
+ AGS_RECALL(gobject)->parent != NULL){
+ ags_recycling_remove_audio_signal(AGS_RECALL_RECYCLING(AGS_RECALL(gobject)->parent)->source,
+ AGS_RECALL_AUDIO_SIGNAL(gobject)->source);
+ }
+ // g_object_unref(AGS_RECALL_AUDIO_SIGNAL(gobject)->source);
+ // g_object_unref(AGS_RECALL_AUDIO_SIGNAL(gobject)->source);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_stream_audio_signal_parent_class)->finalize(gobject);
+}
+
+void
+ags_stream_audio_signal_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_stream_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_stream_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_stream_audio_signal_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_stream_audio_signal_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_audio_signal_run_init_pre(AgsRecall *recall)
+{
+ /* call parent */
+ AGS_RECALL_CLASS(ags_stream_audio_signal_parent_class)->run_init_pre(recall);
+
+ // g_message("stream\0");
+}
+
+void
+ags_stream_audio_signal_run_post(AgsRecall *recall)
+{
+ AgsStreamChannel *stream_channel;
+ AgsStreamChannelRun *stream_channel_run;
+ AgsStreamAudioSignal *stream_audio_signal;
+
+ stream_audio_signal = AGS_STREAM_AUDIO_SIGNAL(recall);
+
+ if(recall->parent != NULL &&
+ recall->parent->parent != NULL){
+ stream_channel_run = recall->parent->parent;
+ stream_channel = AGS_RECALL_CHANNEL_RUN(stream_channel_run)->recall_channel;
+ }else{
+ stream_channel_run = NULL;
+ stream_channel = NULL;
+ }
+
+ if(AGS_RECALL_AUDIO_SIGNAL(recall)->source->stream_current != NULL){
+ if(stream_channel != NULL &&
+ AGS_RECALL_AUDIO_SIGNAL(recall)->source->stream_current->next == NULL){
+ GValue value = {0,};
+
+ g_value_init(&value, G_TYPE_BOOLEAN);
+ ags_port_safe_read(stream_channel->auto_sense,
+ &value);
+
+ if(g_value_get_boolean(&value)){
+ signed short *buffer;
+ guint buffer_size;
+ guint i;
+ gboolean add_stream;
+
+ buffer = AGS_RECALL_AUDIO_SIGNAL(recall)->source->stream_current->data;
+
+ buffer_size = AGS_RECALL_AUDIO_SIGNAL(recall)->source->buffer_size;
+ add_stream = FALSE;
+
+ for(i = buffer_size - 1; i > buffer_size / 2; i--){
+ if(buffer[i] != 0){
+ add_stream = TRUE;
+ break;
+ }
+ }
+
+ if(add_stream){
+ ags_audio_signal_add_stream(AGS_RECALL_AUDIO_SIGNAL(recall)->source);
+ }
+ }
+ }
+
+ AGS_RECALL_AUDIO_SIGNAL(recall)->source->stream_current = AGS_RECALL_AUDIO_SIGNAL(recall)->source->stream_current->next;
+
+ /* call parent */
+ AGS_RECALL_CLASS(ags_stream_audio_signal_parent_class)->run_post(recall);
+ }else{
+ /* call parent */
+ AGS_RECALL_CLASS(ags_stream_audio_signal_parent_class)->run_post(recall);
+
+ if(recall->parent != NULL){
+ ags_recycling_remove_audio_signal(AGS_RECALL_RECYCLING(recall->parent)->source,
+ AGS_RECALL_AUDIO_SIGNAL(recall)->source);
+ }
+
+ ags_recall_done(recall);
+ }
+}
+
+AgsRecall*
+ags_stream_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsStreamAudioSignal *copy;
+
+ copy = (AgsStreamAudioSignal *) AGS_RECALL_CLASS(ags_stream_audio_signal_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_stream_audio_signal_new:
+ * @audio_signal: an #AgsAudioSignal
+ *
+ * Creates an #AgsStreamAudioSignal
+ *
+ * Returns: a new #AgsStreamAudioSignal
+ *
+ * Since: 0.4
+ */
+AgsStreamAudioSignal*
+ags_stream_audio_signal_new(AgsAudioSignal *audio_signal)
+{
+ AgsStreamAudioSignal *stream_audio_signal;
+
+ stream_audio_signal = (AgsStreamAudioSignal *) g_object_new(AGS_TYPE_STREAM_AUDIO_SIGNAL,
+ "source\0", audio_signal,
+ NULL);
+
+ return(stream_audio_signal);
+}
diff --git a/src/ags/audio/recall/ags_stream_audio_signal.h b/src/ags/audio/recall/ags_stream_audio_signal.h
new file mode 100644
index 0000000..2ed1bdf
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_audio_signal.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_STREAM_AUDIO_SIGNAL_H__
+#define __AGS_STREAM_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#define AGS_TYPE_STREAM_AUDIO_SIGNAL (ags_stream_audio_signal_get_type())
+#define AGS_STREAM_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_AUDIO_SIGNAL, AgsStreamAudioSignal))
+#define AGS_STREAM_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_AUDIO_SIGNAL, AgsStreamAudioSignalClass))
+#define AGS_IS_STREAM_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_STREAM_AUDIO_SIGNAL))
+#define AGS_IS_STREAM_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_STREAM_AUDIO_SIGNAL))
+#define AGS_STREAM_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_STREAM_AUDIO_SIGNAL, AgsStreamAudioSignalClass))
+
+typedef struct _AgsStreamAudioSignal AgsStreamAudioSignal;
+typedef struct _AgsStreamAudioSignalClass AgsStreamAudioSignalClass;
+
+struct _AgsStreamAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+
+struct _AgsStreamAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+
+GType ags_stream_audio_signal_get_type();
+
+AgsStreamAudioSignal* ags_stream_audio_signal_new(AgsAudioSignal *audio_signal);
+
+#endif /*__AGS_STREAM_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/recall/ags_stream_channel.c b/src/ags/audio/recall/ags_stream_channel.c
new file mode 100644
index 0000000..43772ed
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_channel.c
@@ -0,0 +1,325 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_stream_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+void ags_stream_channel_class_init(AgsStreamChannelClass *stream_channel);
+void ags_stream_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_stream_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_stream_channel_init(AgsStreamChannel *stream_channel);
+void ags_stream_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_stream_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_stream_channel_connect(AgsConnectable *connectable);
+void ags_stream_channel_disconnect(AgsConnectable *connectable);
+void ags_stream_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_stream_channel_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_stream_channel
+ * @short_description: streams channel
+ * @title: AgsStreamChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_stream_channel.h
+ *
+ * The #AgsStreamChannel class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_AUTO_SENSE,
+};
+
+static gpointer ags_stream_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_stream_channel_parent_connectable_interface;
+static AgsPluginInterface *ags_stream_channel_parent_plugin_interface;
+
+extern AgsConfig *config;
+
+static const gchar *ags_stream_channel_plugin_name = "ags-stream\0";
+static const gchar *ags_stream_channel_plugin_specifier[] = {
+ "./auto-sense[0]\0",
+};
+static const gchar *ags_stream_channel_plugin_control_port[] = {
+ "1/1\0",
+};
+
+GType
+ags_stream_channel_get_type()
+{
+ static GType ags_type_stream_channel = 0;
+
+ if(!ags_type_stream_channel){
+ static const GTypeInfo ags_stream_channel_info = {
+ sizeof (AgsStreamChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_stream_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsStreamChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_stream_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_stream_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_stream_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_stream_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsStreamChannel\0",
+ &ags_stream_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_stream_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_stream_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_stream_channel);
+}
+
+void
+ags_stream_channel_class_init(AgsStreamChannelClass *stream_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_stream_channel_parent_class = g_type_class_peek_parent(stream_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) stream_channel;
+
+ gobject->set_property = ags_stream_channel_set_property;
+ gobject->get_property = ags_stream_channel_get_property;
+
+ gobject->finalize = ags_stream_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("auto-sense\0",
+ "mute channel\0",
+ "Mute the channel\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUTO_SENSE,
+ param_spec);
+}
+
+void
+ags_stream_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_stream_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_stream_channel_connect;
+ connectable->disconnect = ags_stream_channel_disconnect;
+}
+
+void
+ags_stream_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_stream_channel_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+
+ plugin->set_ports = ags_stream_channel_set_ports;
+
+}
+
+void
+ags_stream_channel_init(AgsStreamChannel *stream_channel)
+{
+ GList *port;
+
+ AGS_RECALL(stream_channel)->name = "ags-stream\0";
+ AGS_RECALL(stream_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(stream_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(stream_channel)->xml_type = "ags-stream-channel\0";
+
+ port = NULL;
+
+ stream_channel->auto_sense = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", ags_stream_channel_plugin_name,
+ "specifier\0", ags_stream_channel_plugin_specifier[0],
+ "control-port\0", ags_stream_channel_plugin_control_port[0],
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_BOOLEAN,
+ "port-value-size\0", sizeof(gboolean),
+ "port-value-length\0", 1,
+ NULL);
+ stream_channel->auto_sense->port_value.ags_port_boolean = ((!g_strcmp0(ags_config_get(config,
+ AGS_CONFIG_RECALL,
+ "auto-sense\0"), "true\0")
+ ) ? TRUE: FALSE);
+
+ port = g_list_prepend(port, stream_channel->auto_sense);
+
+ /* set port */
+ AGS_RECALL(stream_channel)->port = port;
+
+}
+
+
+void
+ags_stream_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsStreamChannel *stream_channel;
+
+ stream_channel = AGS_STREAM_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUTO_SENSE:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == stream_channel->auto_sense){
+ return;
+ }
+
+ if(stream_channel->auto_sense != NULL){
+ g_object_unref(G_OBJECT(stream_channel->auto_sense));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ stream_channel->auto_sense = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_stream_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsStreamChannel *stream_channel;
+
+ stream_channel = AGS_STREAM_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_AUTO_SENSE:
+ {
+ g_value_set_object(value, stream_channel->auto_sense);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_stream_channel_finalize(GObject *gobject)
+{
+ AgsStreamChannel *stream_channel;
+
+ stream_channel = AGS_STREAM_CHANNEL(gobject);
+
+ if(stream_channel->auto_sense != NULL){
+ g_object_unref(G_OBJECT(stream_channel->auto_sense));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_stream_channel_parent_class)->finalize(gobject);
+}
+
+void
+ags_stream_channel_connect(AgsConnectable *connectable)
+{
+ ags_stream_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_stream_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./auto-sense[0]\0",
+ 9)){
+ g_object_set(G_OBJECT(plugin),
+ "auto-sense\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+/**
+ * ags_stream_channel_new:
+ *
+ * Creates an #AgsStreamChannel
+ *
+ * Returns: a new #AgsStreamChannel
+ *
+ * Since: 0.4
+ */
+AgsStreamChannel*
+ags_stream_channel_new()
+{
+ AgsStreamChannel *stream_channel;
+
+ stream_channel = (AgsStreamChannel *) g_object_new(AGS_TYPE_STREAM_CHANNEL,
+ NULL);
+
+ return(stream_channel);
+}
diff --git a/src/ags/audio/recall/ags_stream_channel.h b/src/ags/audio/recall/ags_stream_channel.h
new file mode 100644
index 0000000..c2e2671
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_channel.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_STREAM_CHANNEL_H__
+#define __AGS_STREAM_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+
+#define AGS_TYPE_STREAM_CHANNEL (ags_stream_channel_get_type())
+#define AGS_STREAM_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_CHANNEL, AgsStreamChannel))
+#define AGS_STREAM_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_CHANNEL, AgsStreamChannelClass))
+#define AGS_IS_STREAM_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_STREAM_CHANNEL))
+#define AGS_IS_STREAM_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_STREAM_CHANNEL))
+#define AGS_STREAM_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_STREAM_CHANNEL, AgsStreamChannelClass))
+
+typedef struct _AgsStreamChannel AgsStreamChannel;
+typedef struct _AgsStreamChannelClass AgsStreamChannelClass;
+
+struct _AgsStreamChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *auto_sense;
+};
+
+struct _AgsStreamChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_stream_channel_get_type();
+
+AgsStreamChannel* ags_stream_channel_new();
+
+#endif /*__AGS_STREAM_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_stream_channel_run.c b/src/ags/audio/recall/ags_stream_channel_run.c
new file mode 100644
index 0000000..e464930
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_channel_run.c
@@ -0,0 +1,259 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_stream_channel_run.h>
+#include <ags/audio/recall/ags_stream_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+void ags_stream_channel_run_class_init(AgsStreamChannelRunClass *stream_channel_run);
+void ags_stream_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_stream_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_stream_channel_run_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_stream_channel_run_init(AgsStreamChannelRun *stream_channel_run);
+void ags_stream_channel_run_connect(AgsConnectable *connectable);
+void ags_stream_channel_run_disconnect(AgsConnectable *connectable);
+void ags_stream_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_stream_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_stream_channel_run_finalize(GObject *gobject);
+
+AgsRecall* ags_stream_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_stream_channel_run
+ * @short_description: streams channel
+ * @title: AgsStreamChannelRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_stream_channel_run.h
+ *
+ * The #AgsStreamChannelRun class streams the channel.
+ */
+
+static gpointer ags_stream_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_stream_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_stream_channel_run_parent_dynamic_connectable_interface;
+static AgsPluginInterface *ags_stream_channel_run_parent_plugin_interface;
+
+GType
+ags_stream_channel_run_get_type()
+{
+ static GType ags_type_stream_channel_run = 0;
+
+ if(!ags_type_stream_channel_run){
+ static const GTypeInfo ags_stream_channel_run_info = {
+ sizeof (AgsStreamChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_stream_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsStreamChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_stream_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_stream_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_stream_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_stream_channel_run_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_stream_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsStreamChannelRun\0",
+ &ags_stream_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_stream_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_stream_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_stream_channel_run,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_stream_channel_run);
+}
+
+void
+ags_stream_channel_run_class_init(AgsStreamChannelRunClass *stream_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_stream_channel_run_parent_class = g_type_class_peek_parent(stream_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) stream_channel_run;
+
+ gobject->finalize = ags_stream_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) stream_channel_run;
+
+ recall->duplicate = ags_stream_channel_run_duplicate;
+}
+
+void
+ags_stream_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_stream_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_stream_channel_run_connect;
+ connectable->disconnect = ags_stream_channel_run_disconnect;
+}
+
+void
+ags_stream_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_stream_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_stream_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_stream_channel_run_disconnect_dynamic;
+}
+
+void
+ags_stream_channel_run_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ ags_stream_channel_run_parent_plugin_interface = g_type_interface_peek_parent(plugin);
+}
+
+void
+ags_stream_channel_run_init(AgsStreamChannelRun *stream_channel_run)
+{
+ AGS_RECALL(stream_channel_run)->name = "ags-stream\0";
+ AGS_RECALL(stream_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(stream_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(stream_channel_run)->xml_type = "ags-stream-channel-run\0";
+ AGS_RECALL(stream_channel_run)->port = NULL;
+
+ AGS_RECALL(stream_channel_run)->flags |= AGS_RECALL_INPUT_ORIENTATED;
+ AGS_RECALL(stream_channel_run)->child_type = AGS_TYPE_STREAM_RECYCLING;
+}
+
+void
+ags_stream_channel_run_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_stream_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_stream_channel_run_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_stream_channel_run_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_channel_run_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_stream_channel_run_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_stream_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsChannel *channel;
+ AgsStreamChannelRun *stream_channel_run;
+
+ ags_stream_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_stream_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsStreamChannelRun *stream_channel_run, *copy;
+
+ stream_channel_run = (AgsStreamChannelRun *) recall;
+ copy = (AgsStreamChannelRun *) AGS_RECALL_CLASS(ags_stream_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_stream_channel_run_new:
+ *
+ * Creates an #AgsStreamChannelRun
+ *
+ * Returns: a new #AgsStreamChannelRun
+ *
+ * Since: 0.4
+ */
+AgsStreamChannelRun*
+ags_stream_channel_run_new()
+{
+ AgsStreamChannelRun *stream_channel_run;
+
+ stream_channel_run = (AgsStreamChannelRun *) g_object_new(AGS_TYPE_STREAM_CHANNEL_RUN,
+ NULL);
+
+ return(stream_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_stream_channel_run.h b/src/ags/audio/recall/ags_stream_channel_run.h
new file mode 100644
index 0000000..2a33ca7
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_channel_run.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_STREAM_CHANNEL_RUN_H__
+#define __AGS_STREAM_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/recall/ags_stream_channel.h>
+
+#define AGS_TYPE_STREAM_CHANNEL_RUN (ags_stream_channel_run_get_type())
+#define AGS_STREAM_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_CHANNEL_RUN, AgsStreamChannelRun))
+#define AGS_STREAM_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_CHANNEL_RUN, AgsStreamChannelRunClass))
+#define AGS_IS_STREAM_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_STREAM_CHANNEL_RUN))
+#define AGS_IS_STREAM_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_STREAM_CHANNEL_RUN))
+#define AGS_STREAM_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_STREAM_CHANNEL_RUN, AgsStreamChannelRunClass))
+
+typedef struct _AgsStreamChannelRun AgsStreamChannelRun;
+typedef struct _AgsStreamChannelRunClass AgsStreamChannelRunClass;
+
+struct _AgsStreamChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+
+struct _AgsStreamChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_stream_channel_run_get_type();
+
+AgsStreamChannelRun* ags_stream_channel_run_new();
+
+#endif /*__AGS_STREAM_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_stream_recycling.c b/src/ags/audio/recall/ags_stream_recycling.c
new file mode 100644
index 0000000..0ba371d
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_recycling.c
@@ -0,0 +1,274 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_stream_recycling.h>
+#include <ags/audio/recall/ags_stream_audio_signal.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/task/ags_remove_audio_signal.h>
+
+void ags_stream_recycling_class_init(AgsStreamRecyclingClass *stream_recycling);
+void ags_stream_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_stream_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_stream_recycling_init(AgsStreamRecycling *stream_recycling);
+void ags_stream_recycling_connect(AgsConnectable *connectable);
+void ags_stream_recycling_disconnect(AgsConnectable *connectable);
+void ags_stream_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_stream_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_stream_recycling_finalize(GObject *gobject);
+
+AgsRecall* ags_stream_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+void ags_stream_recycling_source_add_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsStreamRecycling *stream_recycling);
+void ags_stream_recycling_source_remove_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsStreamRecycling *stream_recycling);
+
+/**
+ * SECTION:ags_stream_recycling
+ * @short_description: streams recycling
+ * @title: AgsStreamRecycling
+ * @section_id:
+ * @include: ags/audio/recall/ags_stream_recycling.h
+ *
+ * The #AgsStreamRecycling streams the recycling with appropriate #AgsRecallID.
+ */
+
+static gpointer ags_stream_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_stream_recycling_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_stream_recycling_parent_dynamic_connectable_interface;
+
+GType
+ags_stream_recycling_get_type()
+{
+ static GType ags_type_stream_recycling = 0;
+
+ if(!ags_type_stream_recycling){
+ static const GTypeInfo ags_stream_recycling_info = {
+ sizeof (AgsStreamRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_stream_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsStreamRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_stream_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_stream_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_stream_recycling_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_stream_recycling = g_type_register_static(AGS_TYPE_RECALL_RECYCLING,
+ "AgsStreamRecycling\0",
+ &ags_stream_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_stream_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_stream_recycling,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_stream_recycling);
+}
+
+void
+ags_stream_recycling_class_init(AgsStreamRecyclingClass *stream_recycling)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_stream_recycling_parent_class = g_type_class_peek_parent(stream_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) stream_recycling;
+
+ gobject->finalize = ags_stream_recycling_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) stream_recycling;
+
+ recall->duplicate = ags_stream_recycling_duplicate;
+}
+
+void
+ags_stream_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_stream_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_stream_recycling_connect;
+ connectable->disconnect = ags_stream_recycling_disconnect;
+}
+
+void
+ags_stream_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_stream_recycling_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_stream_recycling_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_stream_recycling_disconnect_dynamic;
+}
+
+void
+ags_stream_recycling_init(AgsStreamRecycling *stream_recycling)
+{
+ AGS_RECALL(stream_recycling)->name = "ags-stream\0";
+ AGS_RECALL(stream_recycling)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(stream_recycling)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(stream_recycling)->xml_type = "ags-stream-recycling\0";
+ AGS_RECALL(stream_recycling)->port = NULL;
+
+ AGS_RECALL(stream_recycling)->child_type = AGS_TYPE_STREAM_AUDIO_SIGNAL;
+
+ AGS_RECALL_RECYCLING(stream_recycling)->flags |= (AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE);
+}
+
+void
+ags_stream_recycling_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_stream_recycling_parent_class)->finalize(gobject);
+}
+
+void
+ags_stream_recycling_connect(AgsConnectable *connectable)
+{
+ AgsStreamRecycling *stream_recycling;
+
+ stream_recycling = AGS_STREAM_RECYCLING(connectable);
+
+ ags_stream_recycling_parent_connectable_interface->connect(connectable);
+
+ // g_signal_connect(AGS_RECALL_RECYCLING(stream_recycling)->source, "add_audio_signal\0",
+ // G_CALLBACK(ags_stream_recycling_source_add_audio_signal_callback), stream_recycling);
+ // g_signal_connect(AGS_RECALL_RECYCLING(stream_recycling)->source, "remove_audio_signal\0",
+ // G_CALLBACK(ags_stream_recycling_source_remove_audio_signal_callback), stream_recycling);
+}
+
+void
+ags_stream_recycling_disconnect(AgsConnectable *connectable)
+{
+ ags_stream_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_stream_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ AgsStreamRecycling *stream_recycling;
+
+ ags_stream_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_stream_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_stream_recycling_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+AgsRecall*
+ags_stream_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsStreamRecycling *copy;
+
+ copy = (AgsStreamRecycling *) AGS_RECALL_CLASS(ags_stream_recycling_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+
+ return((AgsRecall *) copy);
+}
+
+void
+ags_stream_recycling_source_add_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsStreamRecycling *stream_recycling)
+{
+ // g_object_ref(audio_signal);
+}
+
+void
+ags_stream_recycling_source_remove_audio_signal_callback(AgsRecycling *source,
+ AgsAudioSignal *audio_signal,
+ AgsStreamRecycling *stream_recycling)
+{
+ AgsRemoveAudioSignal *remove_audio_signal;
+ // AgsTaskThread *task_thread;
+ // AgsUnrefAudioSignal *unref_audio_signal;
+
+ // task_thread = AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(AGS_RECALL(gobject)->devout)->ags_main)->main_loop)->task_thread;
+
+ // unref_audio_signal = ags_unref_audio_signal_new(AGS_RECALL_AUDIO_SIGNAL(gobject)->source);
+ // ags_task_thread_append_task(task_thread,
+ // unref_audio_signal);
+}
+
+/**
+ * ags_stream_recycling_new:
+ * @recycling: the #AgsRecycling
+ *
+ * Creates an #AgsStreamRecycling
+ *
+ * Returns: a new #AgsStreamRecycling
+ *
+ * Since: 0.4
+ */
+AgsStreamRecycling*
+ags_stream_recycling_new(AgsRecycling *recycling)
+{
+ AgsStreamRecycling *stream_recycling;
+
+ stream_recycling = (AgsStreamRecycling *) g_object_new(AGS_TYPE_STREAM_RECYCLING,
+ "source\0", recycling,
+ NULL);
+
+ return(stream_recycling);
+}
diff --git a/src/ags/audio/recall/ags_stream_recycling.h b/src/ags/audio/recall/ags_stream_recycling.h
new file mode 100644
index 0000000..fa9fc20
--- /dev/null
+++ b/src/ags/audio/recall/ags_stream_recycling.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_STREAM_RECYCLING_H__
+#define __AGS_STREAM_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_recycling.h>
+
+#define AGS_TYPE_STREAM_RECYCLING (ags_stream_recycling_get_type())
+#define AGS_STREAM_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STREAM_RECYCLING, AgsStreamRecycling))
+#define AGS_STREAM_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_STREAM_RECYCLING, AgsStreamRecyclingClass))
+#define AGS_IS_STREAM_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_STREAM_RECYCLING))
+#define AGS_IS_STREAM_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_STREAM_RECYCLING))
+#define AGS_STREAM_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_STREAM_RECYCLING, AgsStreamRecyclingClass))
+
+typedef struct _AgsStreamRecycling AgsStreamRecycling;
+typedef struct _AgsStreamRecyclingClass AgsStreamRecyclingClass;
+
+struct _AgsStreamRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+
+struct _AgsStreamRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+
+GType ags_stream_recycling_get_type();
+
+AgsStreamRecycling* ags_stream_recycling_new(AgsRecycling *recycling);
+
+#endif /*__AGS_STREAM_RECYCLING_H__*/
diff --git a/src/ags/audio/recall/ags_synths.h b/src/ags/audio/recall/ags_synths.h
new file mode 100644
index 0000000..796381d
--- /dev/null
+++ b/src/ags/audio/recall/ags_synths.h
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+
diff --git a/src/ags/audio/recall/ags_volume_audio_signal.c b/src/ags/audio/recall/ags_volume_audio_signal.c
new file mode 100644
index 0000000..dbe4d0c
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_audio_signal.c
@@ -0,0 +1,269 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_volume_audio_signal.h>
+#include <ags/audio/recall/ags_volume_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_list.h>
+#include <ags/lib/ags_parameter.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+void ags_volume_audio_signal_class_init(AgsVolumeAudioSignalClass *volume_audio_signal);
+void ags_volume_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_volume_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_volume_audio_signal_init(AgsVolumeAudioSignal *volume_audio_signal);
+void ags_volume_audio_signal_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_volume_audio_signal_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_volume_audio_signal_connect(AgsConnectable *connectable);
+void ags_volume_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_volume_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_volume_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_volume_audio_signal_finalize(GObject *gobject);
+
+void ags_volume_audio_signal_run_inter(AgsRecall *recall);
+AgsRecall* ags_volume_audio_signal_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_volume_audio_signal
+ * @short_description: volumes audio signal
+ * @title: AgsVolumeAudioSignal
+ * @section_id:
+ * @include: ags/audio/recall/ags_volume_audio_signal.h
+ *
+ * The #AgsVolumeAudioSignal class volumes the audio signal.
+ */
+
+enum{
+ PROP_0,
+ PROP_VOLUME,
+};
+
+static gpointer ags_volume_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_volume_audio_signal_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_volume_audio_signal_parent_dynamic_connectable_interface;
+
+GType
+ags_volume_audio_signal_get_type()
+{
+ static GType ags_type_volume_audio_signal = 0;
+
+ if(!ags_type_volume_audio_signal){
+ static const GTypeInfo ags_volume_audio_signal_info = {
+ sizeof (AgsVolumeAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_volume_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsVolumeAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_volume_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_volume_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_volume_audio_signal_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_volume_audio_signal = g_type_register_static(AGS_TYPE_RECALL_AUDIO_SIGNAL,
+ "AgsVolumeAudioSignal\0",
+ &ags_volume_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_volume_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_volume_audio_signal,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_volume_audio_signal);
+}
+
+void
+ags_volume_audio_signal_class_init(AgsVolumeAudioSignalClass *volume_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_volume_audio_signal_parent_class = g_type_class_peek_parent(volume_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) volume_audio_signal;
+
+ gobject->finalize = ags_volume_audio_signal_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) volume_audio_signal;
+
+ recall->run_inter = ags_volume_audio_signal_run_inter;
+}
+
+void
+ags_volume_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_volume_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_volume_audio_signal_connect;
+ connectable->disconnect = ags_volume_audio_signal_disconnect;
+}
+
+void
+ags_volume_audio_signal_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_volume_audio_signal_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_volume_audio_signal_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_volume_audio_signal_disconnect_dynamic;
+}
+
+void
+ags_volume_audio_signal_init(AgsVolumeAudioSignal *volume_audio_signal)
+{
+ AGS_RECALL(volume_audio_signal)->name = "ags-volume\0";
+ AGS_RECALL(volume_audio_signal)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(volume_audio_signal)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(volume_audio_signal)->xml_type = "ags-volume-audio-signal\0";
+ AGS_RECALL(volume_audio_signal)->port = NULL;
+}
+
+void
+ags_volume_audio_signal_finalize(GObject *gobject)
+{
+ /* call parent */
+ G_OBJECT_CLASS(ags_volume_audio_signal_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_volume_audio_signal_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_volume_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_volume_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_audio_signal_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_volume_audio_signal_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_audio_signal_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_volume_audio_signal_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_audio_signal_run_inter(AgsRecall *recall)
+{
+ AgsVolumeAudioSignal *volume_audio_signal;
+
+ AGS_RECALL_CLASS(ags_volume_audio_signal_parent_class)->run_inter(recall);
+
+ volume_audio_signal = AGS_VOLUME_AUDIO_SIGNAL(recall);
+
+ if(AGS_RECALL_AUDIO_SIGNAL(recall)->source->stream_current != NULL){
+ AgsVolumeChannel *volume_channel;
+ signed short *buffer;
+ gdouble volume;
+ guint buffer_size;
+ guint i;
+ GValue value = {0,};
+
+ volume_channel = AGS_VOLUME_CHANNEL(AGS_RECALL_CHANNEL_RUN(recall->parent->parent)->recall_channel);
+
+ buffer = (signed short *) AGS_RECALL_AUDIO_SIGNAL(recall)->source->stream_current->data;
+ buffer_size = AGS_RECALL_AUDIO_SIGNAL(recall)->source->buffer_size;
+
+ g_value_init(&value, G_TYPE_DOUBLE);
+ ags_port_safe_read(volume_channel->volume, &value);
+
+ volume = g_value_get_double(&value);
+
+ for(i = 0; i < buffer_size; i++){
+ buffer[i] = (signed short) ((0xffff) & (int)((gdouble)volume * (gdouble)buffer[i]));
+ }
+ }else{
+ ags_recall_done(recall);
+ }
+}
+
+/**
+ * ags_volume_audio_signal_new:
+ * @audio_signal: an #AgsAudioSignal
+ *
+ * Creates an #AgsVolumeAudioSignal
+ *
+ * Returns: a new #AgsVolumeAudioSignal
+ *
+ * Since: 0.4
+ */
+AgsVolumeAudioSignal*
+ags_volume_audio_signal_new(AgsAudioSignal *audio_signal)
+{
+ AgsVolumeAudioSignal *volume_audio_signal;
+
+ volume_audio_signal = (AgsVolumeAudioSignal *) g_object_new(AGS_TYPE_VOLUME_AUDIO_SIGNAL,
+ NULL);
+
+ return(volume_audio_signal);
+}
diff --git a/src/ags/audio/recall/ags_volume_audio_signal.h b/src/ags/audio/recall/ags_volume_audio_signal.h
new file mode 100644
index 0000000..cc298c1
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_audio_signal.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_VOLUME_AUDIO_SIGNAL_H__
+#define __AGS_VOLUME_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#define AGS_TYPE_VOLUME_AUDIO_SIGNAL (ags_volume_audio_signal_get_type())
+#define AGS_VOLUME_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_VOLUME_AUDIO_SIGNAL, AgsVolumeAudioSignal))
+#define AGS_VOLUME_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_VOLUME_AUDIO_SIGNAL, AgsVolumeAudioSignalClass))
+#define AGS_IS_VOLUME_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_VOLUME_AUDIO_SIGNAL))
+#define AGS_IS_VOLUME_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_VOLUME_AUDIO_SIGNAL))
+#define AGS_VOLUME_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_VOLUME_AUDIO_SIGNAL, AgsVolumeAudioSignalClass))
+
+typedef struct _AgsVolumeAudioSignal AgsVolumeAudioSignal;
+typedef struct _AgsVolumeAudioSignalClass AgsVolumeAudioSignalClass;
+
+struct _AgsVolumeAudioSignal
+{
+ AgsRecallAudioSignal recall_audio_signal;
+};
+
+struct _AgsVolumeAudioSignalClass
+{
+ AgsRecallAudioSignalClass recall_audio_signal;
+};
+
+GType ags_volume_audio_signal_get_type();
+
+AgsVolumeAudioSignal* ags_volume_audio_signal_new(AgsAudioSignal *audio_signal);
+
+#endif /*__AGS_VOLUME_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/recall/ags_volume_channel.c b/src/ags/audio/recall/ags_volume_channel.c
new file mode 100644
index 0000000..dd8033b
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_channel.c
@@ -0,0 +1,315 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_volume_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/object/ags_plugin.h>
+
+void ags_volume_channel_class_init(AgsVolumeChannelClass *volume_channel);
+void ags_volume_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_volume_channel_plugin_interface_init(AgsPluginInterface *plugin);
+void ags_volume_channel_init(AgsVolumeChannel *volume_channel);
+void ags_volume_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_volume_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_volume_channel_connect(AgsConnectable *connectable);
+void ags_volume_channel_disconnect(AgsConnectable *connectable);
+void ags_volume_channel_set_ports(AgsPlugin *plugin, GList *port);
+void ags_volume_channel_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_volume_channel
+ * @short_description: volumes channel
+ * @title: AgsVolumeChannel
+ * @section_id:
+ * @include: ags/audio/recall/ags_volume_channel.h
+ *
+ * The #AgsVolumeChannel class provides ports to the effect processor.
+ */
+
+enum{
+ PROP_0,
+ PROP_VOLUME,
+};
+
+static gpointer ags_volume_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_volume_channel_parent_connectable_interface;
+
+static const gchar *ags_volume_channel_plugin_name = "ags-volume\0";
+static const gchar *ags_volume_channel_specifier[] = {
+ "./volume[0]\0"
+};
+static const gchar *ags_volume_channel_control_port[] = {
+ "1/1\0"
+};
+
+GType
+ags_volume_channel_get_type()
+{
+ static GType ags_type_volume_channel = 0;
+
+ if(!ags_type_volume_channel){
+ static const GTypeInfo ags_volume_channel_info = {
+ sizeof (AgsVolumeChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_volume_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsVolumeChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_volume_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_volume_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_plugin_interface_info = {
+ (GInterfaceInitFunc) ags_volume_channel_plugin_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_volume_channel = g_type_register_static(AGS_TYPE_RECALL_CHANNEL,
+ "AgsVolumeChannel\0",
+ &ags_volume_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_volume_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_volume_channel,
+ AGS_TYPE_PLUGIN,
+ &ags_plugin_interface_info);
+ }
+
+ return (ags_type_volume_channel);
+}
+
+void
+ags_volume_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_volume_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_volume_channel_connect;
+ connectable->disconnect = ags_volume_channel_disconnect;
+}
+
+void
+ags_volume_channel_plugin_interface_init(AgsPluginInterface *plugin)
+{
+ plugin->set_ports = ags_volume_channel_set_ports;
+}
+
+void
+ags_volume_channel_class_init(AgsVolumeChannelClass *volume_channel)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_volume_channel_parent_class = g_type_class_peek_parent(volume_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) volume_channel;
+
+ gobject->set_property = ags_volume_channel_set_property;
+ gobject->get_property = ags_volume_channel_get_property;
+
+ gobject->finalize = ags_volume_channel_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("volume\0",
+ "volume to apply\0",
+ "The volume to apply on the channel\0",
+ AGS_TYPE_PORT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_VOLUME,
+ param_spec);
+}
+
+void
+ags_volume_channel_init(AgsVolumeChannel *volume_channel)
+{
+ GList *port;
+
+ AGS_RECALL(volume_channel)->name = "ags-volume\0";
+ AGS_RECALL(volume_channel)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(volume_channel)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(volume_channel)->xml_type = "ags-volume-channel\0";
+
+ port = NULL;
+
+ /* volume */
+ volume_channel->volume = g_object_new(AGS_TYPE_PORT,
+ "plugin-name\0", "ags-volume\0",
+ "specifier\0", "./volume[0]\0",
+ "control-port\0", "1/1\0",
+ "port-value-is-pointer\0", FALSE,
+ "port-value-type\0", G_TYPE_DOUBLE,
+ "port-value-size\0", sizeof(gdouble),
+ "port-value-length", 1,
+ NULL);
+
+ volume_channel->volume->port_value.ags_port_double = 1.0;
+
+ port = g_list_prepend(port, volume_channel->volume);
+
+ AGS_RECALL(volume_channel)->port = port;
+}
+
+void
+ags_volume_channel_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsVolumeChannel *volume_channel;
+
+ volume_channel = AGS_VOLUME_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_VOLUME:
+ {
+ AgsPort *port;
+
+ port = (AgsPort *) g_value_get_object(value);
+
+ if(port == volume_channel->volume){
+ return;
+ }
+
+ if(volume_channel->volume != NULL){
+ g_object_unref(G_OBJECT(volume_channel->volume));
+ }
+
+ if(port != NULL){
+ g_object_ref(G_OBJECT(port));
+ }
+
+ volume_channel->volume = port;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_volume_channel_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsVolumeChannel *volume_channel;
+
+ volume_channel = AGS_VOLUME_CHANNEL(gobject);
+
+ switch(prop_id){
+ case PROP_VOLUME:
+ {
+ g_value_set_object(value, volume_channel->volume);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_volume_channel_connect(AgsConnectable *connectable)
+{
+ ags_volume_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_volume_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_channel_set_ports(AgsPlugin *plugin, GList *port)
+{
+ while(port != NULL){
+ if(!strncmp(AGS_PORT(port->data)->specifier,
+ "./volume[0]\0",
+ 12)){
+ g_object_set(G_OBJECT(plugin),
+ "volume\0", AGS_PORT(port->data),
+ NULL);
+ }
+
+ port = port->next;
+ }
+}
+
+void
+ags_volume_channel_finalize(GObject *gobject)
+{
+ AgsVolumeChannel *volume_channel;
+
+ volume_channel = AGS_VOLUME_CHANNEL(gobject);
+
+ if(volume_channel->volume != NULL){
+ g_object_unref(G_OBJECT(volume_channel->volume));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_volume_channel_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_volume_channel_new:
+ *
+ * Creates an #AgsVolumeChannel
+ *
+ * Returns: a new #AgsVolumeChannel
+ *
+ * Since: 0.4
+ */
+AgsVolumeChannel*
+ags_volume_channel_new()
+{
+ AgsVolumeChannel *volume_channel;
+
+ volume_channel = (AgsVolumeChannel *) g_object_new(AGS_TYPE_VOLUME_CHANNEL,
+ NULL);
+
+ return(volume_channel);
+}
diff --git a/src/ags/audio/recall/ags_volume_channel.h b/src/ags/audio/recall/ags_volume_channel.h
new file mode 100644
index 0000000..98f2171
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_channel.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_VOLUME_CHANNEL_H__
+#define __AGS_VOLUME_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel.h>
+
+#define AGS_TYPE_VOLUME_CHANNEL (ags_volume_channel_get_type())
+#define AGS_VOLUME_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_VOLUME_CHANNEL, AgsVolumeChannel))
+#define AGS_VOLUME_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_VOLUME_CHANNEL, AgsVolumeChannelClass))
+#define AGS_IS_VOLUME_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_VOLUME_CHANNEL))
+#define AGS_IS_VOLUME_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_VOLUME_CHANNEL))
+#define AGS_VOLUME_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_VOLUME_CHANNEL, AgsVolumeChannelClass))
+
+typedef struct _AgsVolumeChannel AgsVolumeChannel;
+typedef struct _AgsVolumeChannelClass AgsVolumeChannelClass;
+
+struct _AgsVolumeChannel
+{
+ AgsRecallChannel recall_channel;
+
+ AgsPort *volume;
+};
+
+struct _AgsVolumeChannelClass
+{
+ AgsRecallChannelClass recall_channel;
+};
+
+GType ags_volume_channel_get_type();
+
+AgsVolumeChannel* ags_volume_channel_new();
+
+#endif /*__AGS_VOLUME_CHANNEL_H__*/
diff --git a/src/ags/audio/recall/ags_volume_channel_run.c b/src/ags/audio/recall/ags_volume_channel_run.c
new file mode 100644
index 0000000..d8e5b8c
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_channel_run.c
@@ -0,0 +1,241 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_volume_channel_run.h>
+#include <ags/audio/recall/ags_volume_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_list.h>
+#include <ags/lib/ags_parameter.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+#include <ags/object/ags_plugin.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+void ags_volume_channel_run_class_init(AgsVolumeChannelRunClass *volume_channel_run);
+void ags_volume_channel_run_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_volume_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_volume_channel_run_init(AgsVolumeChannelRun *volume_channel_run);
+void ags_volume_channel_run_connect(AgsConnectable *connectable);
+void ags_volume_channel_run_disconnect(AgsConnectable *connectable);
+void ags_volume_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_volume_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_volume_channel_run_finalize(GObject *gobject);
+
+AgsRecall* ags_volume_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_volume_channel_run
+ * @short_description: volumes channel
+ * @title: AgsVolumeChannelRun
+ * @section_id:
+ * @include: ags/audio/recall/ags_volume_channel_run.h
+ *
+ * The #AgsVolumeChannelRun class volumes the channel.
+ */
+
+static gpointer ags_volume_channel_run_parent_class = NULL;
+static AgsConnectableInterface *ags_volume_channel_run_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_volume_channel_run_parent_dynamic_connectable_interface;
+
+GType
+ags_volume_channel_run_get_type()
+{
+ static GType ags_type_volume_channel_run = 0;
+
+ if(!ags_type_volume_channel_run){
+ static const GTypeInfo ags_volume_channel_run_info = {
+ sizeof (AgsVolumeChannelRunClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_volume_channel_run_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsVolumeChannelRun),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_volume_channel_run_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_volume_channel_run_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_volume_channel_run_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_volume_channel_run = g_type_register_static(AGS_TYPE_RECALL_CHANNEL_RUN,
+ "AgsVolumeChannelRun\0",
+ &ags_volume_channel_run_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_volume_channel_run,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_volume_channel_run,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_volume_channel_run);
+}
+
+void
+ags_volume_channel_run_class_init(AgsVolumeChannelRunClass *volume_channel_run)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+
+ ags_volume_channel_run_parent_class = g_type_class_peek_parent(volume_channel_run);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) volume_channel_run;
+
+ gobject->finalize = ags_volume_channel_run_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) volume_channel_run;
+
+ recall->duplicate = ags_volume_channel_run_duplicate;
+}
+
+void
+ags_volume_channel_run_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_volume_channel_run_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_volume_channel_run_connect;
+ connectable->disconnect = ags_volume_channel_run_disconnect;
+}
+
+void
+ags_volume_channel_run_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_volume_channel_run_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_volume_channel_run_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_volume_channel_run_disconnect_dynamic;
+}
+
+void
+ags_volume_channel_run_init(AgsVolumeChannelRun *volume_channel_run)
+{
+ AGS_RECALL(volume_channel_run)->name = "ags-volume\0";
+ AGS_RECALL(volume_channel_run)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(volume_channel_run)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(volume_channel_run)->xml_type = "ags-volume-channel-run\0";
+ AGS_RECALL(volume_channel_run)->port = NULL;
+
+ AGS_RECALL(volume_channel_run)->flags |= AGS_RECALL_INPUT_ORIENTATED;
+ AGS_RECALL(volume_channel_run)->child_type = AGS_TYPE_VOLUME_RECYCLING;
+}
+
+void
+ags_volume_channel_run_finalize(GObject *gobject)
+{
+ AgsVolumeChannelRun *volume_channel_run;
+
+ volume_channel_run = AGS_VOLUME_CHANNEL_RUN(gobject);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_volume_channel_run_parent_class)->finalize(gobject);
+}
+
+void
+ags_volume_channel_run_connect(AgsConnectable *connectable)
+{
+ AgsVolumeChannelRun *volume_channel_run;
+
+ ags_volume_channel_run_parent_connectable_interface->connect(connectable);
+
+ volume_channel_run = AGS_VOLUME_CHANNEL_RUN(connectable);
+}
+
+void
+ags_volume_channel_run_disconnect(AgsConnectable *connectable)
+{
+ ags_volume_channel_run_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_volume_channel_run_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_volume_channel_run_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+}
+
+void
+ags_volume_channel_run_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ ags_volume_channel_run_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+}
+
+AgsRecall*
+ags_volume_channel_run_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsVolumeChannelRun *volume_channel_run, *copy;
+
+ volume_channel_run = (AgsVolumeChannelRun *) recall;
+
+ parameter = ags_parameter_grow(G_OBJECT_TYPE(recall),
+ parameter, n_params,
+ NULL);
+ copy = (AgsVolumeChannelRun *) AGS_RECALL_CLASS(ags_volume_channel_run_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_volume_channel_run_new:
+ *
+ * Creates an #AgsVolumeChannelRun
+ *
+ * Returns: a new #AgsVolumeChannelRun
+ *
+ * Since: 0.4
+ */
+AgsVolumeChannelRun*
+ags_volume_channel_run_new(AgsChannel *channel)
+{
+ AgsVolumeChannelRun *volume_channel_run;
+
+ volume_channel_run = (AgsVolumeChannelRun *) g_object_new(AGS_TYPE_VOLUME_CHANNEL_RUN,
+ "source\0", channel,
+ NULL);
+
+ return(volume_channel_run);
+}
diff --git a/src/ags/audio/recall/ags_volume_channel_run.h b/src/ags/audio/recall/ags_volume_channel_run.h
new file mode 100644
index 0000000..3605282
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_channel_run.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_VOLUME_CHANNEL_RUN_H__
+#define __AGS_VOLUME_CHANNEL_RUN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_VOLUME_CHANNEL_RUN (ags_volume_channel_run_get_type())
+#define AGS_VOLUME_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_VOLUME_CHANNEL_RUN, AgsVolumeChannelRun))
+#define AGS_VOLUME_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_INSTANCE_CAST(class, AGS_TYPE_VOLUME_CHANNEL_RUN, AgsVolumeChannelRunClass))
+#define AGS_IS_VOLUME_CHANNEL_RUN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_VOLUME_CHANNEL_RUN))
+#define AGS_IS_VOLUME_CHANNEL_RUN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_VOLUME_CHANNEL_RUN))
+#define AGS_VOLUME_CHANNEL_RUN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_VOLUME_CHANNEL_RUN, AgsVolumeChannelRunClass))
+
+typedef struct _AgsVolumeChannelRun AgsVolumeChannelRun;
+typedef struct _AgsVolumeChannelRunClass AgsVolumeChannelRunClass;
+
+struct _AgsVolumeChannelRun
+{
+ AgsRecallChannelRun recall_channel_run;
+};
+
+struct _AgsVolumeChannelRunClass
+{
+ AgsRecallChannelRunClass recall_channel_run;
+};
+
+GType ags_volume_channel_run_get_type();
+
+AgsVolumeChannelRun* ags_volume_channel_run_new(AgsChannel *channel);
+
+#endif /*__AGS_VOLUME_CHANNEL_RUN_H__*/
diff --git a/src/ags/audio/recall/ags_volume_recycling.c b/src/ags/audio/recall/ags_volume_recycling.c
new file mode 100644
index 0000000..640705a
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_recycling.c
@@ -0,0 +1,241 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/recall/ags_volume_recycling.h>
+#include <ags/audio/recall/ags_volume_channel.h>
+#include <ags/audio/recall/ags_volume_audio_signal.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_parameter.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_recall_id.h>
+
+void ags_volume_recycling_class_init(AgsVolumeRecyclingClass *volume_recycling);
+void ags_volume_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_volume_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable);
+void ags_volume_recycling_init(AgsVolumeRecycling *volume_recycling);
+void ags_volume_recycling_connect(AgsConnectable *connectable);
+void ags_volume_recycling_disconnect(AgsConnectable *connectable);
+void ags_volume_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_volume_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable);
+void ags_volume_recycling_finalize(GObject *gobject);
+
+AgsRecall* ags_volume_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter);
+
+/**
+ * SECTION:ags_volume_recycling
+ * @short_description: volumes recycling
+ * @title: AgsVolumeRecycling
+ * @section_id:
+ * @include: ags/audio/recall/ags_volume_recycling.h
+ *
+ * The #AgsVolumeRecycling class volumes the recycling.
+ */
+
+static gpointer ags_volume_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_volume_recycling_parent_connectable_interface;
+static AgsDynamicConnectableInterface *ags_volume_recycling_parent_dynamic_connectable_interface;
+
+GType
+ags_volume_recycling_get_type()
+{
+ static GType ags_type_volume_recycling = 0;
+
+ if(!ags_type_volume_recycling){
+ static const GTypeInfo ags_volume_recycling_info = {
+ sizeof (AgsVolumeRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_volume_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsVolumeRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_volume_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_volume_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_dynamic_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_volume_recycling_dynamic_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_volume_recycling = g_type_register_static(AGS_TYPE_RECALL_RECYCLING,
+ "AgsVolumeRecycling\0",
+ &ags_volume_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_volume_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_volume_recycling,
+ AGS_TYPE_DYNAMIC_CONNECTABLE,
+ &ags_dynamic_connectable_interface_info);
+ }
+
+ return (ags_type_volume_recycling);
+}
+
+void
+ags_volume_recycling_class_init(AgsVolumeRecyclingClass *volume_recycling)
+{
+ GObjectClass *gobject;
+ AgsRecallClass *recall;
+ GParamSpec *param_spec;
+
+ ags_volume_recycling_parent_class = g_type_class_peek_parent(volume_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) volume_recycling;
+
+ gobject->finalize = ags_volume_recycling_finalize;
+
+ /* AgsRecallClass */
+ recall = (AgsRecallClass *) volume_recycling;
+
+ recall->duplicate = ags_volume_recycling_duplicate;
+}
+
+void
+ags_volume_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_volume_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_volume_recycling_connect;
+ connectable->disconnect = ags_volume_recycling_disconnect;
+}
+
+void
+ags_volume_recycling_dynamic_connectable_interface_init(AgsDynamicConnectableInterface *dynamic_connectable)
+{
+ ags_volume_recycling_parent_dynamic_connectable_interface = g_type_interface_peek_parent(dynamic_connectable);
+
+ dynamic_connectable->connect_dynamic = ags_volume_recycling_connect_dynamic;
+ dynamic_connectable->disconnect_dynamic = ags_volume_recycling_disconnect_dynamic;
+}
+
+void
+ags_volume_recycling_init(AgsVolumeRecycling *volume_recycling)
+{
+ AGS_RECALL(volume_recycling)->name = "ags-volume\0";
+ AGS_RECALL(volume_recycling)->version = AGS_EFFECTS_DEFAULT_VERSION;
+ AGS_RECALL(volume_recycling)->build_id = AGS_BUILD_ID;
+ AGS_RECALL(volume_recycling)->xml_type = "ags-volume-recycling\0";
+ AGS_RECALL(volume_recycling)->port = NULL;
+
+ AGS_RECALL(volume_recycling)->child_type = AGS_TYPE_VOLUME_AUDIO_SIGNAL;
+
+ AGS_RECALL_RECYCLING(volume_recycling)->flags |= (AGS_RECALL_RECYCLING_MAP_CHILD_SOURCE);
+}
+
+void
+ags_volume_recycling_finalize(GObject *gobject)
+{
+ /* empty */
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_volume_recycling_parent_class)->finalize(gobject);
+}
+
+void
+ags_volume_recycling_connect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_volume_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_recycling_disconnect(AgsConnectable *connectable)
+{
+ /* call parent */
+ ags_volume_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_recycling_connect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_volume_recycling_parent_dynamic_connectable_interface->connect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+void
+ags_volume_recycling_disconnect_dynamic(AgsDynamicConnectable *dynamic_connectable)
+{
+ /* call parent */
+ ags_volume_recycling_parent_dynamic_connectable_interface->disconnect_dynamic(dynamic_connectable);
+
+ /* empty */
+}
+
+AgsRecall*
+ags_volume_recycling_duplicate(AgsRecall *recall,
+ AgsRecallID *recall_id,
+ guint *n_params, GParameter *parameter)
+{
+ AgsVolumeRecycling *copy;
+
+ copy = (AgsVolumeRecycling *) AGS_RECALL_CLASS(ags_volume_recycling_parent_class)->duplicate(recall,
+ recall_id,
+ n_params, parameter);
+
+ return((AgsRecall *) copy);
+}
+
+/**
+ * ags_volume_recycling_new:
+ * @recycling: the source #AgsRecycling
+ *
+ * Creates an #AgsVolumeRecycling
+ *
+ * Returns: a new #AgsVolumeRecycling
+ *
+ * Since: 0.4
+ */
+AgsVolumeRecycling*
+ags_volume_recycling_new(AgsRecycling *recycling)
+{
+ AgsVolumeRecycling *volume_recycling;
+
+ volume_recycling = (AgsVolumeRecycling *) g_object_new(AGS_TYPE_VOLUME_RECYCLING,
+ "source\0", recycling,
+ NULL);
+
+ return(volume_recycling);
+}
+
diff --git a/src/ags/audio/recall/ags_volume_recycling.h b/src/ags/audio/recall/ags_volume_recycling.h
new file mode 100644
index 0000000..6d0aa8c
--- /dev/null
+++ b/src/ags/audio/recall/ags_volume_recycling.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_VOLUME_RECYCLING_H__
+#define __AGS_VOLUME_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_recall_recycling.h>
+
+#define AGS_TYPE_VOLUME_RECYCLING (ags_volume_recycling_get_type())
+#define AGS_VOLUME_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_VOLUME_RECYCLING, AgsVolumeRecycling))
+#define AGS_VOLUME_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_VOLUME_RECYCLING, AgsVolumeRecyclingClass))
+#define AGS_IS_VOLUME_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_VOLUME_RECYCLING))
+#define AGS_IS_VOLUME_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_VOLUME_RECYCLING))
+#define AGS_VOLUME_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_VOLUME_RECYCLING, AgsVolumeRecyclingClass))
+
+typedef struct _AgsVolumeRecycling AgsVolumeRecycling;
+typedef struct _AgsVolumeRecyclingClass AgsVolumeRecyclingClass;
+
+struct _AgsVolumeRecycling
+{
+ AgsRecallRecycling recall_recycling;
+};
+
+struct _AgsVolumeRecyclingClass
+{
+ AgsRecallRecyclingClass recall_recycling;
+};
+
+GType ags_volume_recycling_get_type();
+
+AgsVolumeRecycling* ags_volume_recycling_new(AgsRecycling *recycling);
+
+#endif /*__AGS_VOLUME_RECYCLING_H__*/
diff --git a/src/ags/audio/task/Makefile b/src/ags/audio/task/Makefile
new file mode 100644
index 0000000..5c20f93
--- /dev/null
+++ b/src/ags/audio/task/Makefile
@@ -0,0 +1,562 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/audio/task/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/audio/task
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/audio/task
+abs_srcdir = /usr/src/ags-devel/src/ags/audio/task
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../../
+top_builddir = ../../../..
+top_srcdir = ../../../..
+deprecated_ags_task_h_sources = \
+ ags_apply_wavetable.h
+
+ags_audio_task_h_sources = \
+ $(deprecated_ags_audio_task_h_sources) \
+ ags_add_audio.h \
+ ags_add_audio_signal.h \
+ ags_add_line_member.h \
+ ags_add_note.h \
+ ags_add_recall_container.h \
+ ags_add_recall.h \
+ ags_append_audio.h \
+ ags_append_audio_threaded.h \
+ ags_append_channel.h \
+ ags_append_recall.h \
+ ags_apply_synth.h \
+ ags_audio_set_recycling.h \
+ ags_cancel_audio.h \
+ ags_cancel_channel.h \
+ ags_cancel_recall.h \
+ ags_channel_set_recycling.h \
+ ags_export_output.h \
+ ags_init_audio.h \
+ ags_init_channel.h \
+ ags_link_channel.h \
+ ags_open_file.h \
+ ags_open_single_file.h \
+ ags_remove_audio.h \
+ ags_remove_audio_signal.h \
+ ags_remove_note.h \
+ ags_remove_recall_container.h \
+ ags_remove_recall.h \
+ ags_remove_region_from_selection.h \
+ ags_resize_audio.h \
+ ags_set_audio_channels.h \
+ ags_set_buffer_size.h \
+ ags_set_devout_play_flags.h \
+ ags_set_output_device.h \
+ ags_set_samplerate.h \
+ ags_start_devout.h \
+ ags_unref_audio_signal.h
+
+ags_xorg_task_h_sources = \
+ ags_add_point_to_selection.h \
+ ags_add_region_to_selection.h \
+ ags_change_indicator.h \
+ ags_change_tact.h \
+ ags_display_tact.h \
+ ags_free_selection.h \
+ ags_remove_point_from_selection.h \
+ ags_save_file.h \
+ ags_scroll_on_play.h \
+ ags_toggle_led.h \
+ ags_toggle_pattern_bit.h
+
+deprecated_ags_task_c_sources = \
+ ags_apply_wavetable.c
+
+ags_audio_task_c_sources = \
+ $(deprecated_ags_audio_task_c_sources) \
+ ags_add_audio.c \
+ ags_add_audio_signal.c \
+ ags_add_line_member.c \
+ ags_add_note.c \
+ ags_add_recall_container.c \
+ ags_add_recall.c \
+ ags_append_audio.c \
+ ags_append_audio_threaded.c \
+ ags_append_channel.c \
+ ags_append_recall.c \
+ ags_apply_synth.c \
+ ags_audio_set_recycling.c \
+ ags_cancel_audio.c \
+ ags_cancel_channel.c \
+ ags_cancel_recall.c \
+ ags_channel_set_recycling.c \
+ ags_export_output.c \
+ ags_init_audio.c \
+ ags_init_channel.c \
+ ags_link_channel.c \
+ ags_open_file.c \
+ ags_open_single_file.c \
+ ags_remove_audio.c \
+ ags_remove_audio_signal.c \
+ ags_remove_note.c \
+ ags_remove_recall_container.c \
+ ags_remove_recall.c \
+ ags_remove_region_from_selection.c \
+ ags_resize_audio.c \
+ ags_set_audio_channels.c \
+ ags_set_buffer_size.c \
+ ags_set_devout_play_flags.c \
+ ags_set_output_device.c \
+ ags_set_samplerate.c \
+ ags_start_devout.c \
+ ags_unref_audio_signal.c
+
+ags_xorg_task_c_sources = \
+ ags_add_point_to_selection.c \
+ ags_add_region_to_selection.c \
+ ags_change_indicator.c \
+ ags_change_tact.c \
+ ags_display_tact.c \
+ ags_free_selection.c \
+ ags_remove_point_from_selection.c \
+ ags_save_file.c \
+ ags_scroll_on_play.c \
+ ags_toggle_led.c \
+ ags_toggle_pattern_bit.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/task/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/task/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/task/Makefile.am b/src/ags/audio/task/Makefile.am
new file mode 100644
index 0000000..87d48c8
--- /dev/null
+++ b/src/ags/audio/task/Makefile.am
@@ -0,0 +1,109 @@
+deprecated_ags_task_h_sources = \
+ ags_apply_wavetable.h
+
+ags_audio_task_h_sources = \
+ $(deprecated_ags_audio_task_h_sources) \
+ ags_add_audio.h \
+ ags_add_audio_signal.h \
+ ags_add_line_member.h \
+ ags_add_note.h \
+ ags_add_recall_container.h \
+ ags_add_recall.h \
+ ags_append_audio.h \
+ ags_append_audio_threaded.h \
+ ags_append_channel.h \
+ ags_append_recall.h \
+ ags_apply_synth.h \
+ ags_audio_set_recycling.h \
+ ags_cancel_audio.h \
+ ags_cancel_channel.h \
+ ags_cancel_recall.h \
+ ags_channel_set_recycling.h \
+ ags_export_output.h \
+ ags_init_audio.h \
+ ags_init_channel.h \
+ ags_link_channel.h \
+ ags_open_file.h \
+ ags_open_single_file.h \
+ ags_remove_audio.h \
+ ags_remove_audio_signal.h \
+ ags_remove_note.h \
+ ags_remove_recall_container.h \
+ ags_remove_recall.h \
+ ags_remove_region_from_selection.h \
+ ags_resize_audio.h \
+ ags_set_audio_channels.h \
+ ags_set_buffer_size.h \
+ ags_set_devout_play_flags.h \
+ ags_set_output_device.h \
+ ags_set_samplerate.h \
+ ags_start_devout.h \
+ ags_unref_audio_signal.h
+
+ags_xorg_task_h_sources = \
+ ags_add_point_to_selection.h \
+ ags_add_region_to_selection.h \
+ ags_change_indicator.h \
+ ags_change_tact.h \
+ ags_display_tact.h \
+ ags_free_selection.h \
+ ags_remove_point_from_selection.h \
+ ags_save_file.h \
+ ags_scroll_on_play.h \
+ ags_toggle_led.h \
+ ags_toggle_pattern_bit.h
+
+deprecated_ags_task_c_sources = \
+ ags_apply_wavetable.c
+
+ags_audio_task_c_sources = \
+ $(deprecated_ags_audio_task_c_sources) \
+ ags_add_audio.c \
+ ags_add_audio_signal.c \
+ ags_add_line_member.c \
+ ags_add_note.c \
+ ags_add_recall_container.c \
+ ags_add_recall.c \
+ ags_append_audio.c \
+ ags_append_audio_threaded.c \
+ ags_append_channel.c \
+ ags_append_recall.c \
+ ags_apply_synth.c \
+ ags_audio_set_recycling.c \
+ ags_cancel_audio.c \
+ ags_cancel_channel.c \
+ ags_cancel_recall.c \
+ ags_channel_set_recycling.c \
+ ags_export_output.c \
+ ags_init_audio.c \
+ ags_init_channel.c \
+ ags_link_channel.c \
+ ags_open_file.c \
+ ags_open_single_file.c \
+ ags_remove_audio.c \
+ ags_remove_audio_signal.c \
+ ags_remove_note.c \
+ ags_remove_recall_container.c \
+ ags_remove_recall.c \
+ ags_remove_region_from_selection.c \
+ ags_resize_audio.c \
+ ags_set_audio_channels.c \
+ ags_set_buffer_size.c \
+ ags_set_devout_play_flags.c \
+ ags_set_output_device.c \
+ ags_set_samplerate.c \
+ ags_start_devout.c \
+ ags_unref_audio_signal.c
+
+ags_xorg_task_c_sources = \
+ ags_add_point_to_selection.c \
+ ags_add_region_to_selection.c \
+ ags_change_indicator.c \
+ ags_change_tact.c \
+ ags_display_tact.c \
+ ags_free_selection.c \
+ ags_remove_point_from_selection.c \
+ ags_save_file.c \
+ ags_scroll_on_play.c \
+ ags_toggle_led.c \
+ ags_toggle_pattern_bit.c
diff --git a/src/ags/audio/task/Makefile.in b/src/ags/audio/task/Makefile.in
new file mode 100644
index 0000000..9dc706d
--- /dev/null
+++ b/src/ags/audio/task/Makefile.in
@@ -0,0 +1,562 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/audio/task
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_task_h_sources = \
+ ags_apply_wavetable.h
+
+ags_audio_task_h_sources = \
+ $(deprecated_ags_audio_task_h_sources) \
+ ags_add_audio.h \
+ ags_add_audio_signal.h \
+ ags_add_line_member.h \
+ ags_add_note.h \
+ ags_add_recall_container.h \
+ ags_add_recall.h \
+ ags_append_audio.h \
+ ags_append_audio_threaded.h \
+ ags_append_channel.h \
+ ags_append_recall.h \
+ ags_apply_synth.h \
+ ags_audio_set_recycling.h \
+ ags_cancel_audio.h \
+ ags_cancel_channel.h \
+ ags_cancel_recall.h \
+ ags_channel_set_recycling.h \
+ ags_export_output.h \
+ ags_init_audio.h \
+ ags_init_channel.h \
+ ags_link_channel.h \
+ ags_open_file.h \
+ ags_open_single_file.h \
+ ags_remove_audio.h \
+ ags_remove_audio_signal.h \
+ ags_remove_note.h \
+ ags_remove_recall_container.h \
+ ags_remove_recall.h \
+ ags_remove_region_from_selection.h \
+ ags_resize_audio.h \
+ ags_set_audio_channels.h \
+ ags_set_buffer_size.h \
+ ags_set_devout_play_flags.h \
+ ags_set_output_device.h \
+ ags_set_samplerate.h \
+ ags_start_devout.h \
+ ags_unref_audio_signal.h
+
+ags_xorg_task_h_sources = \
+ ags_add_point_to_selection.h \
+ ags_add_region_to_selection.h \
+ ags_change_indicator.h \
+ ags_change_tact.h \
+ ags_display_tact.h \
+ ags_free_selection.h \
+ ags_remove_point_from_selection.h \
+ ags_save_file.h \
+ ags_scroll_on_play.h \
+ ags_toggle_led.h \
+ ags_toggle_pattern_bit.h
+
+deprecated_ags_task_c_sources = \
+ ags_apply_wavetable.c
+
+ags_audio_task_c_sources = \
+ $(deprecated_ags_audio_task_c_sources) \
+ ags_add_audio.c \
+ ags_add_audio_signal.c \
+ ags_add_line_member.c \
+ ags_add_note.c \
+ ags_add_recall_container.c \
+ ags_add_recall.c \
+ ags_append_audio.c \
+ ags_append_audio_threaded.c \
+ ags_append_channel.c \
+ ags_append_recall.c \
+ ags_apply_synth.c \
+ ags_audio_set_recycling.c \
+ ags_cancel_audio.c \
+ ags_cancel_channel.c \
+ ags_cancel_recall.c \
+ ags_channel_set_recycling.c \
+ ags_export_output.c \
+ ags_init_audio.c \
+ ags_init_channel.c \
+ ags_link_channel.c \
+ ags_open_file.c \
+ ags_open_single_file.c \
+ ags_remove_audio.c \
+ ags_remove_audio_signal.c \
+ ags_remove_note.c \
+ ags_remove_recall_container.c \
+ ags_remove_recall.c \
+ ags_remove_region_from_selection.c \
+ ags_resize_audio.c \
+ ags_set_audio_channels.c \
+ ags_set_buffer_size.c \
+ ags_set_devout_play_flags.c \
+ ags_set_output_device.c \
+ ags_set_samplerate.c \
+ ags_start_devout.c \
+ ags_unref_audio_signal.c
+
+ags_xorg_task_c_sources = \
+ ags_add_point_to_selection.c \
+ ags_add_region_to_selection.c \
+ ags_change_indicator.c \
+ ags_change_tact.c \
+ ags_display_tact.c \
+ ags_free_selection.c \
+ ags_remove_point_from_selection.c \
+ ags_save_file.c \
+ ags_scroll_on_play.c \
+ ags_toggle_led.c \
+ ags_toggle_pattern_bit.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/task/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/task/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/task/ags_add_audio.c b/src/ags/audio/task/ags_add_audio.c
new file mode 100644
index 0000000..5b4a888
--- /dev/null
+++ b/src/ags/audio/task/ags_add_audio.c
@@ -0,0 +1,180 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_add_audio_class_init(AgsAddAudioClass *add_audio);
+void ags_add_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_audio_init(AgsAddAudio *add_audio);
+void ags_add_audio_connect(AgsConnectable *connectable);
+void ags_add_audio_disconnect(AgsConnectable *connectable);
+void ags_add_audio_finalize(GObject *gobject);
+
+void ags_add_audio_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_audio
+ * @short_description: add audio object to devout
+ * @title: AgsAddAudio
+ * @section_id:
+ * @include: ags/audio/task/ags_add_audio.h
+ *
+ * The #AgsAddAudio task adds #AgsAudio to #AgsDevout.
+ */
+
+static gpointer ags_add_audio_parent_class = NULL;
+static AgsConnectableInterface *ags_add_audio_parent_connectable_interface;
+
+GType
+ags_add_audio_get_type()
+{
+ static GType ags_type_add_audio = 0;
+
+ if(!ags_type_add_audio){
+ static const GTypeInfo ags_add_audio_info = {
+ sizeof (AgsAddAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_audio = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddAudio\0",
+ &ags_add_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_audio);
+}
+
+void
+ags_add_audio_class_init(AgsAddAudioClass *add_audio)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_audio_parent_class = g_type_class_peek_parent(add_audio);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_audio;
+
+ gobject->finalize = ags_add_audio_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_audio;
+
+ task->launch = ags_add_audio_launch;
+}
+
+void
+ags_add_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_audio_connect;
+ connectable->disconnect = ags_add_audio_disconnect;
+}
+
+void
+ags_add_audio_init(AgsAddAudio *add_audio)
+{
+ add_audio->devout = NULL;
+ add_audio->audio = NULL;
+}
+
+void
+ags_add_audio_connect(AgsConnectable *connectable)
+{
+ ags_add_audio_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_add_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_audio_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_audio_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_audio_launch(AgsTask *task)
+{
+ AgsAddAudio *add_audio;
+
+ add_audio = AGS_ADD_AUDIO(task);
+
+ /* add audio */
+ ags_devout_add_audio(add_audio->devout,
+ G_OBJECT(add_audio->audio));
+
+ /* AgsAudio */
+ ags_connectable_connect(AGS_CONNECTABLE(add_audio->audio));
+}
+
+/**
+ * ags_add_audio_new:
+ * @devout: the #AgsDevout
+ * @audio: the #AgsAudio to add
+ *
+ * Creates an #AgsAddAudio.
+ *
+ * Returns: an new #AgsAddAudio.
+ *
+ * Since: 0.4
+ */
+AgsAddAudio*
+ags_add_audio_new(AgsDevout *devout,
+ AgsAudio *audio)
+{
+ AgsAddAudio *add_audio;
+
+ add_audio = (AgsAddAudio *) g_object_new(AGS_TYPE_ADD_AUDIO,
+ NULL);
+
+ add_audio->devout = devout;
+ add_audio->audio = audio;
+
+ return(add_audio);
+}
diff --git a/src/ags/audio/task/ags_add_audio.h b/src/ags/audio/task/ags_add_audio.h
new file mode 100644
index 0000000..9c52bf1
--- /dev/null
+++ b/src/ags/audio/task/ags_add_audio.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_AUDIO_H__
+#define __AGS_ADD_AUDIO_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_ADD_AUDIO (ags_add_audio_get_type())
+#define AGS_ADD_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_AUDIO, AgsAddAudio))
+#define AGS_ADD_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_AUDIO, AgsAddAudioClass))
+#define AGS_IS_ADD_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_AUDIO))
+#define AGS_IS_ADD_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_AUDIO))
+#define AGS_ADD_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_AUDIO, AgsAddAudioClass))
+
+typedef struct _AgsAddAudio AgsAddAudio;
+typedef struct _AgsAddAudioClass AgsAddAudioClass;
+
+struct _AgsAddAudio
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+ AgsAudio *audio;
+};
+
+struct _AgsAddAudioClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_audio_get_type();
+
+AgsAddAudio* ags_add_audio_new(AgsDevout *devout,
+ AgsAudio *audio);
+
+#endif /*__AGS_ADD_AUDIO_H__*/
diff --git a/src/ags/audio/task/ags_add_audio_signal.c b/src/ags/audio/task/ags_add_audio_signal.c
new file mode 100644
index 0000000..0a2b829
--- /dev/null
+++ b/src/ags/audio/task/ags_add_audio_signal.c
@@ -0,0 +1,243 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_audio_signal.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_add_audio_signal_class_init(AgsAddAudioSignalClass *add_audio_signal);
+void ags_add_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_audio_signal_init(AgsAddAudioSignal *add_audio_signal);
+void ags_add_audio_signal_connect(AgsConnectable *connectable);
+void ags_add_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_add_audio_signal_finalize(GObject *gobject);
+
+void ags_add_audio_signal_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_audio_signal
+ * @short_description: add audio_signal object to recycling
+ * @title: AgsAddAudioSignal
+ * @section_id:
+ * @include: ags/audio/task/ags_add_audio_signal.h
+ *
+ * The #AgsAddAudioSignal task adds #AgsAudioSignal to #AgsRecycling.
+ */
+
+static gpointer ags_add_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_add_audio_signal_parent_connectable_interface;
+
+GType
+ags_add_audio_signal_get_type()
+{
+ static GType ags_type_add_audio_signal = 0;
+
+ if(!ags_type_add_audio_signal){
+ static const GTypeInfo ags_add_audio_signal_info = {
+ sizeof (AgsAddAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_audio_signal = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddAudioSignal\0",
+ &ags_add_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_audio_signal);
+}
+
+void
+ags_add_audio_signal_class_init(AgsAddAudioSignalClass *add_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_audio_signal_parent_class = g_type_class_peek_parent(add_audio_signal);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_audio_signal;
+
+ gobject->finalize = ags_add_audio_signal_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_audio_signal;
+
+ task->launch = ags_add_audio_signal_launch;
+}
+
+void
+ags_add_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_audio_signal_connect;
+ connectable->disconnect = ags_add_audio_signal_disconnect;
+}
+
+void
+ags_add_audio_signal_init(AgsAddAudioSignal *add_audio_signal)
+{
+ add_audio_signal->recycling = NULL;
+ add_audio_signal->audio_signal = NULL;
+ add_audio_signal->devout = NULL;
+ add_audio_signal->recall_id = NULL;
+ add_audio_signal->audio_signal_flags = 0;
+}
+
+void
+ags_add_audio_signal_connect(AgsConnectable *connectable)
+{
+ ags_add_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ ags_add_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_audio_signal_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_audio_signal_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_audio_signal_launch(AgsTask *task)
+{
+ AgsDevout *devout;
+ AgsAddAudioSignal *add_audio_signal;
+ AgsAudioSignal *audio_signal, *old_template;
+ AgsRecallID *recall_id;
+ gdouble delay;
+ guint attack;
+ guint tic_counter_incr;
+
+ add_audio_signal = AGS_ADD_AUDIO_SIGNAL(task);
+
+ devout = AGS_DEVOUT(add_audio_signal->devout);
+
+ /* check for template to remove */
+ if((AGS_AUDIO_SIGNAL_TEMPLATE & (add_audio_signal->audio_signal_flags)) != 0){
+ old_template = ags_audio_signal_get_template(add_audio_signal->recycling->audio_signal);
+ }else{
+ old_template = NULL;
+ }
+
+ recall_id = add_audio_signal->recall_id;
+
+ /* create audio signal */
+ if(add_audio_signal->audio_signal == NULL){
+ add_audio_signal->audio_signal =
+ audio_signal = ags_audio_signal_new((GObject *) devout,
+ (GObject *) add_audio_signal->recycling,
+ (GObject *) recall_id);
+ audio_signal->flags = add_audio_signal->audio_signal_flags;
+ }else{
+ audio_signal = add_audio_signal->audio_signal;
+ }
+
+ /* delay and attack */
+ tic_counter_incr = devout->tic_counter + 1;
+
+ //TODO:JK: unclear
+ attack = 0; //devout->attack[((tic_counter_incr == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // tic_counter_incr)];
+ delay = 0.0; //devout->delay[((tic_counter_incr == AGS_NOTATION_TICS_PER_BEAT) ?
+ // 0:
+ // tic_counter_incr)];
+
+ /* add audio signal */
+ ags_recycling_create_audio_signal_with_defaults(add_audio_signal->recycling,
+ audio_signal,
+ delay, attack);
+ audio_signal->stream_current = audio_signal->stream_beginning;
+ ags_audio_signal_connect(audio_signal);
+
+ /*
+ * emit add_audio_signal on AgsRecycling
+ */
+ ags_recycling_add_audio_signal(add_audio_signal->recycling,
+ audio_signal);
+
+ /* remove template */
+ if(old_template != NULL){
+ ags_recycling_remove_audio_signal(add_audio_signal->recycling,
+ old_template);
+ }
+}
+
+/**
+ * ags_add_audio_signal_new:
+ * @recycling: the #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to add
+ * @devout: the #AgsDevout defaulting to
+ * @recall_id: the #AgsRecallID, may be %NULL if %AGS_AUDIO_SIGNAL_TEMPLATE set
+ * @audio_signal_flags: the flags to set
+ *
+ * Creates an #AgsAddAudioSignal.
+ *
+ * Returns: an new #AgsAddAudioSignal.
+ *
+ * Since: 0.4
+ */
+AgsAddAudioSignal*
+ags_add_audio_signal_new(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal,
+ AgsDevout *devout,
+ AgsRecallID *recall_id,
+ guint audio_signal_flags)
+{
+ AgsAddAudioSignal *add_audio_signal;
+
+ add_audio_signal = (AgsAddAudioSignal *) g_object_new(AGS_TYPE_ADD_AUDIO_SIGNAL,
+ NULL);
+
+ add_audio_signal->recycling = recycling;
+ add_audio_signal->audio_signal = audio_signal;
+ add_audio_signal->devout = devout;
+ add_audio_signal->recall_id = recall_id;
+ add_audio_signal->audio_signal_flags = audio_signal_flags;
+
+ return(add_audio_signal);
+}
diff --git a/src/ags/audio/task/ags_add_audio_signal.h b/src/ags/audio/task/ags_add_audio_signal.h
new file mode 100644
index 0000000..a96185d
--- /dev/null
+++ b/src/ags/audio/task/ags_add_audio_signal.h
@@ -0,0 +1,64 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_AUDIO_SIGNAL_H__
+#define __AGS_ADD_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall_id.h>
+
+#define AGS_TYPE_ADD_AUDIO_SIGNAL (ags_add_audio_signal_get_type())
+#define AGS_ADD_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_AUDIO_SIGNAL, AgsAddAudioSignal))
+#define AGS_ADD_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_AUDIO_SIGNAL, AgsAddAudioSignalClass))
+#define AGS_IS_ADD_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_AUDIO_SIGNAL))
+#define AGS_IS_ADD_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_AUDIO_SIGNAL))
+#define AGS_ADD_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_AUDIO_SIGNAL, AgsAddAudioSignalClass))
+
+typedef struct _AgsAddAudioSignal AgsAddAudioSignal;
+typedef struct _AgsAddAudioSignalClass AgsAddAudioSignalClass;
+
+struct _AgsAddAudioSignal
+{
+ AgsTask task;
+
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+ AgsDevout *devout;
+ AgsRecallID *recall_id;
+ guint audio_signal_flags;
+};
+
+struct _AgsAddAudioSignalClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_audio_signal_get_type();
+
+AgsAddAudioSignal* ags_add_audio_signal_new(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal,
+ AgsDevout *devout,
+ AgsRecallID *recall_id,
+ guint audio_signal_flags);
+
+#endif /*__AGS_ADD_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/task/ags_add_bulk_member.c b/src/ags/audio/task/ags_add_bulk_member.c
new file mode 100644
index 0000000..e804fdc
--- /dev/null
+++ b/src/ags/audio/task/ags_add_bulk_member.c
@@ -0,0 +1,200 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_bulk_member.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_effect_bulk.h>
+
+void ags_add_bulk_member_class_init(AgsAddBulkMemberClass *add_bulk_member);
+void ags_add_bulk_member_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_bulk_member_init(AgsAddBulkMember *add_bulk_member);
+void ags_add_bulk_member_connect(AgsConnectable *connectable);
+void ags_add_bulk_member_disconnect(AgsConnectable *connectable);
+void ags_add_bulk_member_finalize(GObject *gobject);
+
+void ags_add_bulk_member_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_bulk_member
+ * @short_description: add line_member object to line
+ * @title: AgsAddBulkMember
+ * @section_id:
+ * @include: ags/audio/task/ags_add_bulk_member.h
+ *
+ * The #AgsAddBulkMember task addspacks #AgsLineMember to #AgsLine.
+ */
+
+static gpointer ags_add_bulk_member_parent_class = NULL;
+static AgsConnectableInterface *ags_add_bulk_member_parent_connectable_interface;
+
+GType
+ags_add_bulk_member_get_type()
+{
+ static GType ags_type_add_bulk_member = 0;
+
+ if(!ags_type_add_bulk_member){
+ static const GTypeInfo ags_add_bulk_member_info = {
+ sizeof (AgsAddBulkMemberClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_bulk_member_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddBulkMember),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_bulk_member_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_bulk_member_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_bulk_member = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddBulkMember\0",
+ &ags_add_bulk_member_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_bulk_member,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_bulk_member);
+}
+
+void
+ags_add_bulk_member_class_init(AgsAddBulkMemberClass *add_bulk_member)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_bulk_member_parent_class = g_type_class_peek_parent(add_bulk_member);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_bulk_member;
+
+ gobject->finalize = ags_add_bulk_member_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_bulk_member;
+
+ task->launch = ags_add_bulk_member_launch;
+}
+
+void
+ags_add_bulk_member_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_bulk_member_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_bulk_member_connect;
+ connectable->disconnect = ags_add_bulk_member_disconnect;
+}
+
+void
+ags_add_bulk_member_init(AgsAddBulkMember *add_bulk_member)
+{
+ add_bulk_member->effect_bulk = NULL;
+ add_bulk_member->bulk_member = NULL;
+ add_bulk_member->x = 0;
+ add_bulk_member->y = 0;
+ add_bulk_member->width = 0;
+ add_bulk_member->height = 0;
+}
+
+void
+ags_add_bulk_member_connect(AgsConnectable *connectable)
+{
+ ags_add_bulk_member_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_bulk_member_disconnect(AgsConnectable *connectable)
+{
+ ags_add_bulk_member_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_bulk_member_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_bulk_member_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_bulk_member_launch(AgsTask *task)
+{
+ AgsAddBulkMember *add_bulk_member;
+
+ add_bulk_member = AGS_ADD_BULK_MEMBER(task);
+
+ gtk_table_attach(AGS_EFFECT_BULK(add_bulk_member->effect_bulk)->table,
+ add_bulk_member->bulk_member,
+ add_bulk_member->x, add_bulk_member->x + add_bulk_member->width,
+ add_bulk_member->y, add_bulk_member->y + add_bulk_member->height,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_show_all(AGS_EFFECT_BULK(add_bulk_member->effect_bulk)->table);
+}
+
+/**
+ * ags_add_bulk_member_new:
+ * @line: the #AgsLine or #AgsEffectLine
+ * @line_member: the #AgsLineMember to add
+ * @x: pack start x
+ * @y: pack start y
+ * @width: pack width
+ * @height: pack height
+ *
+ * Creates an #AgsAddBulkMember.
+ *
+ * Returns: an new #AgsAddBulkMember.
+ *
+ * Since: 0.4
+ */
+AgsAddBulkMember*
+ags_add_bulk_member_new(GtkWidget *effect_bulk,
+ AgsLineMember *bulk_member,
+ guint x, guint y,
+ guint width, guint height)
+{
+ AgsAddBulkMember *add_bulk_member;
+
+ add_bulk_member = (AgsAddBulkMember *) g_object_new(AGS_TYPE_ADD_BULK_MEMBER,
+ NULL);
+
+ add_bulk_member->effect_bulk = effect_bulk;
+ add_bulk_member->bulk_member = bulk_member;
+ add_bulk_member->x = x;
+ add_bulk_member->y = y;
+ add_bulk_member->width = width;
+ add_bulk_member->height = height;
+
+ return(add_bulk_member);
+}
diff --git a/src/ags/audio/task/ags_add_bulk_member.h b/src/ags/audio/task/ags_add_bulk_member.h
new file mode 100644
index 0000000..a0455ed
--- /dev/null
+++ b/src/ags/audio/task/ags_add_bulk_member.h
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_BULK_MEMBER_H__
+#define __AGS_ADD_BULK_MEMBER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/X/ags_line_member.h>
+
+#define AGS_TYPE_ADD_BULK_MEMBER (ags_add_bulk_member_get_type())
+#define AGS_ADD_BULK_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_BULK_MEMBER, AgsAddBulkMember))
+#define AGS_ADD_BULK_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_BULK_MEMBER, AgsAddBulkMemberClass))
+#define AGS_IS_ADD_BULK_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_BULK_MEMBER))
+#define AGS_IS_ADD_BULK_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_BULK_MEMBER))
+#define AGS_ADD_BULK_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_BULK_MEMBER, AgsAddBulkMemberClass))
+
+typedef struct _AgsAddBulkMember AgsAddBulkMember;
+typedef struct _AgsAddBulkMemberClass AgsAddBulkMemberClass;
+
+struct _AgsAddBulkMember
+{
+ AgsTask task;
+
+ GtkWidget *effect_bulk;
+ AgsLineMember *bulk_member;
+
+ guint x;
+ guint y;
+ guint width;
+ guint height;
+};
+
+struct _AgsAddBulkMemberClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_bulk_member_get_type();
+
+AgsAddBulkMember* ags_add_bulk_member_new(GtkWidget *effect_bulk,
+ AgsLineMember *bulk_member,
+ guint x, guint y,
+ guint width, guint height);
+
+#endif /*__AGS_ADD_BULK_MEMBER_H__*/
diff --git a/src/ags/audio/task/ags_add_line_member.c b/src/ags/audio/task/ags_add_line_member.c
new file mode 100644
index 0000000..c8c1995
--- /dev/null
+++ b/src/ags/audio/task/ags_add_line_member.c
@@ -0,0 +1,215 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_line_member.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_effect_line.h>
+
+void ags_add_line_member_class_init(AgsAddLineMemberClass *add_line_member);
+void ags_add_line_member_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_line_member_init(AgsAddLineMember *add_line_member);
+void ags_add_line_member_connect(AgsConnectable *connectable);
+void ags_add_line_member_disconnect(AgsConnectable *connectable);
+void ags_add_line_member_finalize(GObject *gobject);
+
+void ags_add_line_member_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_line_member
+ * @short_description: add line_member object to line
+ * @title: AgsAddLineMember
+ * @section_id:
+ * @include: ags/audio/task/ags_add_line_member.h
+ *
+ * The #AgsAddLineMember task addspacks #AgsLineMember to #AgsLine.
+ */
+
+static gpointer ags_add_line_member_parent_class = NULL;
+static AgsConnectableInterface *ags_add_line_member_parent_connectable_interface;
+
+GType
+ags_add_line_member_get_type()
+{
+ static GType ags_type_add_line_member = 0;
+
+ if(!ags_type_add_line_member){
+ static const GTypeInfo ags_add_line_member_info = {
+ sizeof (AgsAddLineMemberClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_line_member_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddLineMember),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_line_member_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_line_member_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_line_member = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddLineMember\0",
+ &ags_add_line_member_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_line_member,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_line_member);
+}
+
+void
+ags_add_line_member_class_init(AgsAddLineMemberClass *add_line_member)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_line_member_parent_class = g_type_class_peek_parent(add_line_member);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_line_member;
+
+ gobject->finalize = ags_add_line_member_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_line_member;
+
+ task->launch = ags_add_line_member_launch;
+}
+
+void
+ags_add_line_member_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_line_member_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_line_member_connect;
+ connectable->disconnect = ags_add_line_member_disconnect;
+}
+
+void
+ags_add_line_member_init(AgsAddLineMember *add_line_member)
+{
+ add_line_member->line = NULL;
+ add_line_member->line_member = NULL;
+ add_line_member->x = 0;
+ add_line_member->y = 0;
+ add_line_member->width = 0;
+ add_line_member->height = 0;
+}
+
+void
+ags_add_line_member_connect(AgsConnectable *connectable)
+{
+ ags_add_line_member_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_line_member_disconnect(AgsConnectable *connectable)
+{
+ ags_add_line_member_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_line_member_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_line_member_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_line_member_launch(AgsTask *task)
+{
+ AgsAddLineMember *add_line_member;
+
+ add_line_member = AGS_ADD_LINE_MEMBER(task);
+
+ if(AGS_IS_LINE(add_line_member->line)){
+ ags_expander_add(AGS_LINE(add_line_member->line)->expander,
+ add_line_member->line_member,
+ add_line_member->x, add_line_member->y,
+ add_line_member->width, add_line_member->height);
+ }else if(AGS_IS_EFFECT_LINE(add_line_member->line)){
+ gtk_table_attach(AGS_EFFECT_LINE(add_line_member->line)->table,
+ add_line_member->line_member,
+ add_line_member->x, add_line_member->x + add_line_member->width,
+ add_line_member->y, add_line_member->y + add_line_member->height,
+ GTK_FILL, GTK_FILL,
+ 0, 0);
+ gtk_widget_show_all(AGS_EFFECT_LINE(add_line_member->line)->table);
+ }else{
+ g_warning("ags_add_line_member.c - unknow line type");
+ }
+
+ ags_line_member_find_port(add_line_member->line_member);
+
+ // gtk_widget_set_child_visible(GTK_BIN(add_line_member->line->expander)->child,
+ // TRUE);
+}
+
+/**
+ * ags_add_line_member_new:
+ * @line: the #AgsLine or #AgsEffectLine
+ * @line_member: the #AgsLineMember to add
+ * @x: pack start x
+ * @y: pack start y
+ * @width: pack width
+ * @height: pack height
+ *
+ * Creates an #AgsAddLineMember.
+ *
+ * Returns: an new #AgsAddLineMember.
+ *
+ * Since: 0.4
+ */
+AgsAddLineMember*
+ags_add_line_member_new(GtkWidget *line,
+ AgsLineMember *line_member,
+ guint x, guint y,
+ guint width, guint height)
+{
+ AgsAddLineMember *add_line_member;
+
+ add_line_member = (AgsAddLineMember *) g_object_new(AGS_TYPE_ADD_LINE_MEMBER,
+ NULL);
+
+ add_line_member->line = line;
+ add_line_member->line_member = line_member;
+ add_line_member->x = x;
+ add_line_member->y = y;
+ add_line_member->width = width;
+ add_line_member->height = height;
+
+ return(add_line_member);
+}
diff --git a/src/ags/audio/task/ags_add_line_member.h b/src/ags/audio/task/ags_add_line_member.h
new file mode 100644
index 0000000..fc43da0
--- /dev/null
+++ b/src/ags/audio/task/ags_add_line_member.h
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_LINE_MEMBER_H__
+#define __AGS_ADD_LINE_MEMBER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/X/ags_line_member.h>
+
+#define AGS_TYPE_ADD_LINE_MEMBER (ags_add_line_member_get_type())
+#define AGS_ADD_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_LINE_MEMBER, AgsAddLineMember))
+#define AGS_ADD_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_LINE_MEMBER, AgsAddLineMemberClass))
+#define AGS_IS_ADD_LINE_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_LINE_MEMBER))
+#define AGS_IS_ADD_LINE_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_LINE_MEMBER))
+#define AGS_ADD_LINE_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_LINE_MEMBER, AgsAddLineMemberClass))
+
+typedef struct _AgsAddLineMember AgsAddLineMember;
+typedef struct _AgsAddLineMemberClass AgsAddLineMemberClass;
+
+struct _AgsAddLineMember
+{
+ AgsTask task;
+
+ GtkWidget *line;
+ AgsLineMember *line_member;
+
+ guint x;
+ guint y;
+ guint width;
+ guint height;
+};
+
+struct _AgsAddLineMemberClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_line_member_get_type();
+
+AgsAddLineMember* ags_add_line_member_new(GtkWidget *line,
+ AgsLineMember *line_member,
+ guint x, guint y,
+ guint width, guint height);
+
+#endif /*__AGS_ADD_LINE_MEMBER_H__*/
diff --git a/src/ags/audio/task/ags_add_note.c b/src/ags/audio/task/ags_add_note.c
new file mode 100644
index 0000000..8d6c81f
--- /dev/null
+++ b/src/ags/audio/task/ags_add_note.c
@@ -0,0 +1,182 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_note.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_add_note_class_init(AgsAddNoteClass *add_note);
+void ags_add_note_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_note_init(AgsAddNote *add_note);
+void ags_add_note_connect(AgsConnectable *connectable);
+void ags_add_note_disconnect(AgsConnectable *connectable);
+void ags_add_note_finalize(GObject *gobject);
+
+void ags_add_note_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_note
+ * @short_description: add note object to notation
+ * @title: AgsAddNote
+ * @section_id:
+ * @include: ags/audio/task/ags_add_note.h
+ *
+ * The #AgsAddNote task adds #AgsNote to #AgsNotation.
+ */
+
+static gpointer ags_add_note_parent_class = NULL;
+static AgsConnectableInterface *ags_add_note_parent_connectable_interface;
+
+GType
+ags_add_note_get_type()
+{
+ static GType ags_type_add_note = 0;
+
+ if(!ags_type_add_note){
+ static const GTypeInfo ags_add_note_info = {
+ sizeof (AgsAddNoteClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_note_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddNote),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_note_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_note_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_note = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddNote\0",
+ &ags_add_note_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_note,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_note);
+}
+
+void
+ags_add_note_class_init(AgsAddNoteClass *add_note)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_note_parent_class = g_type_class_peek_parent(add_note);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_note;
+
+ gobject->finalize = ags_add_note_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_note;
+
+ task->launch = ags_add_note_launch;
+}
+
+void
+ags_add_note_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_note_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_note_connect;
+ connectable->disconnect = ags_add_note_disconnect;
+}
+
+void
+ags_add_note_init(AgsAddNote *add_note)
+{
+ add_note->notation = NULL;
+ add_note->note = NULL;
+ add_note->use_selection_list = FALSE;
+}
+
+void
+ags_add_note_connect(AgsConnectable *connectable)
+{
+ ags_add_note_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_note_disconnect(AgsConnectable *connectable)
+{
+ ags_add_note_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_note_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_note_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_note_launch(AgsTask *task)
+{
+ AgsAddNote *add_note;
+
+ add_note = AGS_ADD_NOTE(task);
+
+ /* add note */
+ ags_notation_add_note(add_note->notation,
+ add_note->note,
+ add_note->use_selection_list);
+}
+
+/**
+ * ags_add_note_new:
+ * @notation: the #AgsNotation
+ * @note: the #AgsNote to add
+ * @use_selection_list: if %TRUE added to selection, otherwise to notation
+ *
+ * Creates an #AgsAddNote.
+ *
+ * Returns: an new #AgsAddNote.
+ *
+ * Since: 0.4
+ */
+AgsAddNote*
+ags_add_note_new(AgsNotation *notation,
+ AgsNote *note,
+ gboolean use_selection_list)
+{
+ AgsAddNote *add_note;
+
+ add_note = (AgsAddNote *) g_object_new(AGS_TYPE_ADD_NOTE,
+ NULL);
+
+ add_note->notation = notation;
+ add_note->note = note;
+ add_note->use_selection_list = use_selection_list;
+
+ return(add_note);
+}
diff --git a/src/ags/audio/task/ags_add_note.h b/src/ags/audio/task/ags_add_note.h
new file mode 100644
index 0000000..49e88f0
--- /dev/null
+++ b/src/ags/audio/task/ags_add_note.h
@@ -0,0 +1,60 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_NOTE_H__
+#define __AGS_ADD_NOTE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_notation.h>
+#include <ags/audio/ags_note.h>
+
+#define AGS_TYPE_ADD_NOTE (ags_add_note_get_type())
+#define AGS_ADD_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_NOTE, AgsAddNote))
+#define AGS_ADD_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_NOTE, AgsAddNoteClass))
+#define AGS_IS_ADD_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_NOTE))
+#define AGS_IS_ADD_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_NOTE))
+#define AGS_ADD_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_NOTE, AgsAddNoteClass))
+
+typedef struct _AgsAddNote AgsAddNote;
+typedef struct _AgsAddNoteClass AgsAddNoteClass;
+
+struct _AgsAddNote
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ AgsNote *note;
+ gboolean use_selection_list;
+};
+
+struct _AgsAddNoteClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_note_get_type();
+
+AgsAddNote* ags_add_note_new(AgsNotation *notation,
+ AgsNote *note,
+ gboolean use_selection_list);
+
+#endif /*__AGS_ADD_NOTE_H__*/
diff --git a/src/ags/audio/task/ags_add_point_to_selection.c b/src/ags/audio/task/ags_add_point_to_selection.c
new file mode 100644
index 0000000..79e5366
--- /dev/null
+++ b/src/ags/audio/task/ags_add_point_to_selection.c
@@ -0,0 +1,185 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_point_to_selection.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_add_point_to_selection_class_init(AgsAddPointToSelectionClass *add_point_to_selection);
+void ags_add_point_to_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_point_to_selection_init(AgsAddPointToSelection *add_point_to_selection);
+void ags_add_point_to_selection_connect(AgsConnectable *connectable);
+void ags_add_point_to_selection_disconnect(AgsConnectable *connectable);
+void ags_add_point_to_selection_finalize(GObject *gobject);
+
+void ags_add_point_to_selection_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_point_to_selection
+ * @short_description: add point to notation selection
+ * @title: AgsAddPointToSelection
+ * @section_id:
+ * @include: ags/audio/task/ags_add_point_to_selection.h
+ *
+ * The #AgsAddPointToSelection task adds the specified #AgsNote to selection of #AgsNotation.
+ */
+
+static gpointer ags_add_point_to_selection_parent_class = NULL;
+static AgsConnectableInterface *ags_add_point_to_selection_parent_connectable_interface;
+
+GType
+ags_add_point_to_selection_get_type()
+{
+ static GType ags_type_add_point_to_selection = 0;
+
+ if(!ags_type_add_point_to_selection){
+ static const GTypeInfo ags_add_point_to_selection_info = {
+ sizeof (AgsAddPointToSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_point_to_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddPointToSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_point_to_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_point_to_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_point_to_selection = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddPointToSelection\0",
+ &ags_add_point_to_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_point_to_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_point_to_selection);
+}
+
+void
+ags_add_point_to_selection_class_init(AgsAddPointToSelectionClass *add_point_to_selection)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_point_to_selection_parent_class = g_type_class_peek_parent(add_point_to_selection);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_point_to_selection;
+
+ gobject->finalize = ags_add_point_to_selection_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_point_to_selection;
+
+ task->launch = ags_add_point_to_selection_launch;
+}
+
+void
+ags_add_point_to_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_point_to_selection_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_point_to_selection_connect;
+ connectable->disconnect = ags_add_point_to_selection_disconnect;
+}
+
+void
+ags_add_point_to_selection_init(AgsAddPointToSelection *add_point_to_selection)
+{
+ add_point_to_selection->notation = NULL;
+ add_point_to_selection->x = 0;
+ add_point_to_selection->y = 0;
+ add_point_to_selection->replace_current_selection = TRUE;
+}
+
+void
+ags_add_point_to_selection_connect(AgsConnectable *connectable)
+{
+ ags_add_point_to_selection_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_point_to_selection_disconnect(AgsConnectable *connectable)
+{
+ ags_add_point_to_selection_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_point_to_selection_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_point_to_selection_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_point_to_selection_launch(AgsTask *task)
+{
+ AgsAddPointToSelection *add_point_to_selection;
+
+ add_point_to_selection = AGS_ADD_POINT_TO_SELECTION(task);
+
+ /* add note */
+ ags_notation_add_point_to_selection(add_point_to_selection->notation,
+ add_point_to_selection->x, add_point_to_selection->y,
+ add_point_to_selection->replace_current_selection);
+}
+
+/**
+ * ags_add_point_to_selection_new:
+ * @notation: the #AgsNotation providing the selection
+ * @x: x coordinate
+ * @y: y coordinate
+ * @replace_current_selection: if %TRUE new selection is created, otherwise added to current
+ *
+ * Creates an #AgsAddPointToSelection.
+ *
+ * Returns: an new #AgsAddPointToSelection.
+ *
+ * Since: 0.4
+ */
+AgsAddPointToSelection*
+ags_add_point_to_selection_new(AgsNotation *notation,
+ guint x, guint y,
+ gboolean replace_current_selection)
+{
+ AgsAddPointToSelection *add_point_to_selection;
+
+ add_point_to_selection = (AgsAddPointToSelection *) g_object_new(AGS_TYPE_ADD_POINT_TO_SELECTION,
+ NULL);
+
+ add_point_to_selection->notation = notation;
+ add_point_to_selection->x = x;
+ add_point_to_selection->y = y;
+ add_point_to_selection->replace_current_selection = replace_current_selection;
+
+ return(add_point_to_selection);
+}
diff --git a/src/ags/audio/task/ags_add_point_to_selection.h b/src/ags/audio/task/ags_add_point_to_selection.h
new file mode 100644
index 0000000..35796d3
--- /dev/null
+++ b/src/ags/audio/task/ags_add_point_to_selection.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_POINT_TO_SELECTION_H__
+#define __AGS_ADD_POINT_TO_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_ADD_POINT_TO_SELECTION (ags_add_point_to_selection_get_type())
+#define AGS_ADD_POINT_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_POINT_TO_SELECTION, AgsAddPointToSelection))
+#define AGS_ADD_POINT_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_POINT_TO_SELECTION, AgsAddPointToSelectionClass))
+#define AGS_IS_ADD_POINT_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_POINT_TO_SELECTION))
+#define AGS_IS_ADD_POINT_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_POINT_TO_SELECTION))
+#define AGS_ADD_POINT_TO_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_POINT_TO_SELECTION, AgsAddPointToSelectionClass))
+
+typedef struct _AgsAddPointToSelection AgsAddPointToSelection;
+typedef struct _AgsAddPointToSelectionClass AgsAddPointToSelectionClass;
+
+struct _AgsAddPointToSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+
+ gboolean replace_current_selection;
+};
+
+struct _AgsAddPointToSelectionClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_point_to_selection_get_type();
+
+AgsAddPointToSelection* ags_add_point_to_selection_new(AgsNotation *notation,
+ guint x, guint y,
+ gboolean replace_current_selection);
+
+#endif /*__AGS_ADD_POINT_TO_SELECTION_H__*/
diff --git a/src/ags/audio/task/ags_add_recall.c b/src/ags/audio/task/ags_add_recall.c
new file mode 100644
index 0000000..d7df29b
--- /dev/null
+++ b/src/ags/audio/task/ags_add_recall.c
@@ -0,0 +1,322 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_recall.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_channel.h>
+
+void ags_add_recall_class_init(AgsAddRecallClass *add_recall);
+void ags_add_recall_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_recall_init(AgsAddRecall *add_recall);
+void ags_add_recall_connect(AgsConnectable *connectable);
+void ags_add_recall_disconnect(AgsConnectable *connectable);
+void ags_add_recall_finalize(GObject *gobject);
+
+void ags_add_recall_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_recall
+ * @short_description: add recall object to context
+ * @title: AgsAddRecall
+ * @section_id:
+ * @include: ags/audio/task/ags_add_recall.h
+ *
+ * The #AgsAddRecall task adds #AgsRecall to context.
+ */
+
+static gpointer ags_add_recall_parent_class = NULL;
+static AgsConnectableInterface *ags_add_recall_parent_connectable_interface;
+
+GType
+ags_add_recall_get_type()
+{
+ static GType ags_type_add_recall = 0;
+
+ if(!ags_type_add_recall){
+ static const GTypeInfo ags_add_recall_info = {
+ sizeof (AgsAddRecallClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_recall_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddRecall),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_recall_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_recall_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_recall = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddRecall\0",
+ &ags_add_recall_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_recall,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_recall);
+}
+
+void
+ags_add_recall_class_init(AgsAddRecallClass *add_recall)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_recall_parent_class = g_type_class_peek_parent(add_recall);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_recall;
+
+ gobject->finalize = ags_add_recall_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_recall;
+
+ task->launch = ags_add_recall_launch;
+}
+
+void
+ags_add_recall_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_recall_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_recall_connect;
+ connectable->disconnect = ags_add_recall_disconnect;
+}
+
+void
+ags_add_recall_init(AgsAddRecall *add_recall)
+{
+ add_recall->context = NULL;
+ add_recall->recall = NULL;
+ add_recall->is_play = FALSE;
+}
+
+void
+ags_add_recall_connect(AgsConnectable *connectable)
+{
+ ags_add_recall_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_recall_disconnect(AgsConnectable *connectable)
+{
+ ags_add_recall_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_recall_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_recall_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_recall_launch(AgsTask *task)
+{
+ AgsAddRecall *add_recall;
+
+ add_recall = AGS_ADD_RECALL(task);
+
+ if(AGS_IS_AUDIO(add_recall->context)){
+ AgsRecall *current;
+ GList *recall_id;
+
+ if(g_list_find(AGS_AUDIO(add_recall->context)->container,
+ add_recall->recall->container) == NULL){
+ ags_audio_add_recall_container(AGS_AUDIO(add_recall->context),
+ add_recall->recall->container);
+ }
+
+ ags_audio_add_recall(AGS_AUDIO(add_recall->context),
+ add_recall->recall,
+ add_recall->is_play);
+
+ /* set up playback, sequencer or notation */
+ recall_id = AGS_AUDIO(add_recall->context)->recall_id;
+ if(!AGS_IS_RECALL_AUDIO(add_recall->recall)){
+ while(recall_id != NULL){
+ if((!add_recall->is_play && AGS_RECALL_ID(recall_id->data)->recycling_container->parent == NULL) ||
+ (add_recall->is_play && AGS_RECALL_ID(recall_id->data)->recycling_container->parent != NULL)){
+ recall_id = recall_id->next;
+
+ continue;
+ }
+
+ current = ags_recall_duplicate(add_recall->recall, recall_id->data);
+
+ /* set appropriate flag */
+ if((AGS_RECALL_ID_PLAYBACK & (AGS_RECALL_ID(recall_id->data)->flags)) != 0){
+ ags_recall_set_flags(current, AGS_RECALL_PLAYBACK);
+ }else if((AGS_RECALL_ID_SEQUENCER & (AGS_RECALL_ID(recall_id->data)->flags)) != 0){
+ ags_recall_set_flags(current, AGS_RECALL_SEQUENCER);
+ }else if((AGS_RECALL_ID_NOTATION & (AGS_RECALL_ID(recall_id->data)->flags)) != 0){
+ ags_recall_set_flags(current, AGS_RECALL_NOTATION);
+ }
+
+ /* append to AgsAudio */
+ if(add_recall->is_play)
+ AGS_AUDIO(add_recall->context)->play = g_list_append(AGS_AUDIO(add_recall->context)->play, current);
+ else
+ AGS_AUDIO(add_recall->context)->recall = g_list_append(AGS_AUDIO(add_recall->context)->recall, current);
+
+ /* connect */
+ ags_connectable_connect(AGS_CONNECTABLE(current));
+
+ /* notify run */
+ ags_recall_notify_dependency(current, AGS_RECALL_NOTIFY_RUN, 1);
+
+ /* resolve */
+ ags_recall_resolve_dependencies(current);
+
+ /* init */
+ ags_dynamic_connectable_connect_dynamic(AGS_DYNAMIC_CONNECTABLE(current));
+
+ current->flags &= (~AGS_RECALL_HIDE);
+ ags_recall_run_init_pre(current);
+ current->flags &= (~AGS_RECALL_REMOVE);
+
+ ags_recall_run_init_inter(current);
+ ags_recall_run_init_post(current);
+
+ /* iterate */
+ recall_id = recall_id->next;
+ }
+ }
+ }else if(AGS_IS_CHANNEL(add_recall->context)){
+ AgsRecall *current;
+ GList *recall_id;
+
+ if(g_list_find(AGS_CHANNEL(add_recall->context)->container,
+ add_recall->recall->container) == NULL){
+ ags_channel_add_recall_container(AGS_CHANNEL(add_recall->context),
+ add_recall->recall->container);
+ }
+
+ ags_channel_add_recall(AGS_CHANNEL(add_recall->context),
+ add_recall->recall,
+ add_recall->is_play);
+
+ /* set up playback, sequencer or notation */
+ recall_id = AGS_CHANNEL(add_recall->context)->recall_id;
+
+ if(!AGS_IS_RECALL_CHANNEL(add_recall->recall)){
+ while(recall_id != NULL){
+ if((!add_recall->is_play && AGS_RECALL_ID(recall_id->data)->recycling_container->parent == NULL) ||
+ (add_recall->is_play && AGS_RECALL_ID(recall_id->data)->recycling_container->parent != NULL)){
+ recall_id = recall_id->next;
+
+ continue;
+ }
+
+ current = ags_recall_duplicate(add_recall->recall, recall_id->data);
+
+ /* set appropriate flag */
+ if((AGS_RECALL_ID_PLAYBACK & (AGS_RECALL_ID(recall_id->data)->flags)) != 0){
+ ags_recall_set_flags(current, AGS_RECALL_PLAYBACK);
+ }else if((AGS_RECALL_ID_SEQUENCER & (AGS_RECALL_ID(recall_id->data)->flags)) != 0){
+ ags_recall_set_flags(current, AGS_RECALL_SEQUENCER);
+ }else if((AGS_RECALL_ID_NOTATION & (AGS_RECALL_ID(recall_id->data)->flags)) != 0){
+ ags_recall_set_flags(current, AGS_RECALL_NOTATION);
+ }
+
+ /* append to AgsAudio */
+ if(add_recall->is_play)
+ AGS_CHANNEL(add_recall->context)->play = g_list_append(AGS_CHANNEL(add_recall->context)->play, current);
+ else
+ AGS_CHANNEL(add_recall->context)->recall = g_list_append(AGS_CHANNEL(add_recall->context)->recall, current);
+
+ /* connect */
+ ags_connectable_connect(AGS_CONNECTABLE(current));
+
+ /* notify run */
+ ags_recall_notify_dependency(current, AGS_RECALL_NOTIFY_RUN, 1);
+
+ /* resolve */
+ ags_recall_resolve_dependencies(current);
+
+ /* init */
+ ags_dynamic_connectable_connect_dynamic(AGS_DYNAMIC_CONNECTABLE(current));
+
+ current->flags &= (~AGS_RECALL_HIDE);
+ ags_recall_run_init_pre(current);
+ current->flags &= (~AGS_RECALL_REMOVE);
+
+ ags_recall_run_init_inter(current);
+ ags_recall_run_init_post(current);
+
+ /* iterate */
+ recall_id = recall_id->next;
+ }
+ }
+ }else if(AGS_IS_RECALL(add_recall->context)){
+ ags_recall_add_child(AGS_RECALL(add_recall->context),
+ add_recall->recall);
+ }
+
+ ags_connectable_connect(AGS_CONNECTABLE(add_recall->recall));
+}
+
+/**
+ * ags_add_recall_new:
+ * @context: may be #AgsAudio, #AgsChannel or #AgsRecall
+ * @recall: the #AgsRecall to add
+ * @is_play: if %TRUE non-complex recall
+ *
+ * Creates an #AgsAddRecall.
+ *
+ * Returns: an new #AgsAddRecall.
+ *
+ * Since: 0.4
+ */
+AgsAddRecall*
+ags_add_recall_new(GObject *context,
+ AgsRecall *recall,
+ gboolean is_play)
+{
+ AgsAddRecall *add_recall;
+
+ add_recall = (AgsAddRecall *) g_object_new(AGS_TYPE_ADD_RECALL,
+ NULL);
+
+ add_recall->context = context;
+ add_recall->recall = recall;
+ add_recall->is_play = is_play;
+
+ return(add_recall);
+}
diff --git a/src/ags/audio/task/ags_add_recall.h b/src/ags/audio/task/ags_add_recall.h
new file mode 100644
index 0000000..ef58743
--- /dev/null
+++ b/src/ags/audio/task/ags_add_recall.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_RECALL_H__
+#define __AGS_ADD_RECALL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_recall.h>
+
+#define AGS_TYPE_ADD_RECALL (ags_add_recall_get_type())
+#define AGS_ADD_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_RECALL, AgsAddRecall))
+#define AGS_ADD_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_RECALL, AgsAddRecallClass))
+#define AGS_IS_ADD_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_RECALL))
+#define AGS_IS_ADD_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_RECALL))
+#define AGS_ADD_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_RECALL, AgsAddRecallClass))
+
+typedef struct _AgsAddRecall AgsAddRecall;
+typedef struct _AgsAddRecallClass AgsAddRecallClass;
+
+struct _AgsAddRecall
+{
+ AgsTask task;
+
+ GObject *context;
+
+ AgsRecall *recall;
+ gboolean is_play;
+};
+
+struct _AgsAddRecallClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_recall_get_type();
+
+AgsAddRecall* ags_add_recall_new(GObject *context,
+ AgsRecall *recall,
+ gboolean is_play);
+
+#endif /*__AGS_ADD_RECALL_H__*/
diff --git a/src/ags/audio/task/ags_add_recall_container.c b/src/ags/audio/task/ags_add_recall_container.c
new file mode 100644
index 0000000..e8b8427
--- /dev/null
+++ b/src/ags/audio/task/ags_add_recall_container.c
@@ -0,0 +1,181 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_recall_container.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+
+#include <math.h>
+
+void ags_add_recall_container_class_init(AgsAddRecallContainerClass *add_recall_container);
+void ags_add_recall_container_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_recall_container_init(AgsAddRecallContainer *add_recall_container);
+void ags_add_recall_container_connect(AgsConnectable *connectable);
+void ags_add_recall_container_disconnect(AgsConnectable *connectable);
+void ags_add_recall_container_finalize(GObject *gobject);
+
+void ags_add_recall_container_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_recall_container
+ * @short_description: add recall object to context
+ * @title: AgsAddRecallContainer
+ * @section_id:
+ * @include: ags/audio/task/ags_add_recall_container.h
+ *
+ * The #AgsAddRecallContainer task adds #AgsRecallContainer of audio.
+ */
+
+static gpointer ags_add_recall_container_parent_class = NULL;
+static AgsConnectableInterface *ags_add_recall_container_parent_connectable_interface;
+
+GType
+ags_add_recall_container_get_type()
+{
+ static GType ags_type_add_recall_container = 0;
+
+ if(!ags_type_add_recall_container){
+ static const GTypeInfo ags_add_recall_container_info = {
+ sizeof (AgsAddRecallContainerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_recall_container_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddRecallContainer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_recall_container_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_recall_container_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_recall_container = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddRecallContainer\0",
+ &ags_add_recall_container_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_recall_container,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_recall_container);
+}
+
+void
+ags_add_recall_container_class_init(AgsAddRecallContainerClass *add_recall_container)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_recall_container_parent_class = g_type_class_peek_parent(add_recall_container);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) add_recall_container;
+
+ gobject->finalize = ags_add_recall_container_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) add_recall_container;
+
+ task->launch = ags_add_recall_container_launch;
+}
+
+void
+ags_add_recall_container_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_recall_container_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_recall_container_connect;
+ connectable->disconnect = ags_add_recall_container_disconnect;
+}
+
+void
+ags_add_recall_container_init(AgsAddRecallContainer *add_recall_container)
+{
+ add_recall_container->audio = NULL;
+ add_recall_container->recall_container = NULL;
+}
+
+void
+ags_add_recall_container_connect(AgsConnectable *connectable)
+{
+ ags_add_recall_container_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_recall_container_disconnect(AgsConnectable *connectable)
+{
+ ags_add_recall_container_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_recall_container_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_recall_container_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_recall_container_launch(AgsTask *task)
+{
+ AgsAddRecallContainer *add_recall_container;
+
+ add_recall_container = AGS_ADD_RECALL_CONTAINER(task);
+
+ ags_audio_add_recall_container(add_recall_container->audio,
+ add_recall_container->recall_container);
+}
+
+/**
+ * ags_add_recall_container_new:
+ * @context: the #AgsAudio
+ * @recall: the #AgsRecallContainer to add
+ *
+ * Creates an #AgsAddRecallContainer.
+ *
+ * Returns: an new #AgsAddRecallContainer.
+ *
+ * Since: 0.4
+ */
+AgsAddRecallContainer*
+ags_add_recall_container_new(GObject *audio,
+ AgsRecallContainer *recall_container)
+{
+ AgsAddRecallContainer *add_recall_container;
+
+ add_recall_container = (AgsAddRecallContainer *) g_object_new(AGS_TYPE_ADD_RECALL_CONTAINER,
+ NULL);
+
+ add_recall_container->audio = audio;
+ add_recall_container->recall_container = recall_container;
+
+ return(add_recall_container);
+}
diff --git a/src/ags/audio/task/ags_add_recall_container.h b/src/ags/audio/task/ags_add_recall_container.h
new file mode 100644
index 0000000..684f859
--- /dev/null
+++ b/src/ags/audio/task/ags_add_recall_container.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_RECALL_CONTAINER_H__
+#define __AGS_ADD_RECALL_CONTAINER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+#define AGS_TYPE_ADD_RECALL_CONTAINER (ags_add_recall_container_get_type())
+#define AGS_ADD_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_RECALL_CONTAINER, AgsAddRecallContainer))
+#define AGS_ADD_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_RECALL_CONTAINER, AgsAddRecallContainerClass))
+#define AGS_IS_ADD_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_RECALL_CONTAINER))
+#define AGS_IS_ADD_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_RECALL_CONTAINER))
+#define AGS_ADD_RECALL_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_RECALL_CONTAINER, AgsAddRecallContainerClass))
+
+typedef struct _AgsAddRecallContainer AgsAddRecallContainer;
+typedef struct _AgsAddRecallContainerClass AgsAddRecallContainerClass;
+
+struct _AgsAddRecallContainer
+{
+ AgsTask task;
+
+ GObject *audio;
+
+ AgsRecallContainer *recall_container;
+};
+
+struct _AgsAddRecallContainerClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_recall_container_get_type();
+
+AgsAddRecallContainer* ags_add_recall_container_new(GObject *audio,
+ AgsRecallContainer *recall_container);
+
+#endif /*__AGS_ADD_RECALL_CONTAINER_H__*/
diff --git a/src/ags/audio/task/ags_add_region_to_selection.c b/src/ags/audio/task/ags_add_region_to_selection.c
new file mode 100644
index 0000000..e20e246
--- /dev/null
+++ b/src/ags/audio/task/ags_add_region_to_selection.c
@@ -0,0 +1,193 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_add_region_to_selection.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_add_region_to_selection_class_init(AgsAddRegionToSelectionClass *add_region_to_selection);
+void ags_add_region_to_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_add_region_to_selection_init(AgsAddRegionToSelection *add_region_to_selection);
+void ags_add_region_to_selection_connect(AgsConnectable *connectable);
+void ags_add_region_to_selection_disconnect(AgsConnectable *connectable);
+void ags_add_region_to_selection_finalize(GObject *gobject);
+
+void ags_add_region_to_selection_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_add_region_to_selection
+ * @short_description: add region to notation selection
+ * @title: AgsAddRegionToSelection
+ * @section_id:
+ * @include: ags/audio/task/ags_add_region_to_selection.h
+ *
+ * The #AgsAddRegionToSelection task adds the specified #AgsNote to selection of #AgsNotation.
+ */
+
+static gpointer ags_add_region_to_selection_parent_class = NULL;
+static AgsConnectableInterface *ags_add_region_to_selection_parent_connectable_interface;
+
+GType
+ags_add_region_to_selection_get_type()
+{
+ static GType ags_type_add_region_to_selection = 0;
+
+ if(!ags_type_add_region_to_selection){
+ static const GTypeInfo ags_add_region_to_selection_info = {
+ sizeof (AgsAddRegionToSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_add_region_to_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAddRegionToSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_add_region_to_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_add_region_to_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_add_region_to_selection = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAddRegionToSelection\0",
+ &ags_add_region_to_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_add_region_to_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_add_region_to_selection);
+}
+
+void
+ags_add_region_to_selection_class_init(AgsAddRegionToSelectionClass *add_region_to_selection)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_add_region_to_selection_parent_class = g_type_class_peek_parent(add_region_to_selection);
+
+ /* gobject */
+ gobject = (GObjectClass *) add_region_to_selection;
+
+ gobject->finalize = ags_add_region_to_selection_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) add_region_to_selection;
+
+ task->launch = ags_add_region_to_selection_launch;
+}
+
+void
+ags_add_region_to_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_add_region_to_selection_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_add_region_to_selection_connect;
+ connectable->disconnect = ags_add_region_to_selection_disconnect;
+}
+
+void
+ags_add_region_to_selection_init(AgsAddRegionToSelection *add_region_to_selection)
+{
+ add_region_to_selection->notation = NULL;
+ add_region_to_selection->x0 = 0;
+ add_region_to_selection->y0 = 0;
+ add_region_to_selection->x1 = 0;
+ add_region_to_selection->y1 = 0;
+ add_region_to_selection->replace_current_selection = TRUE;
+}
+
+void
+ags_add_region_to_selection_connect(AgsConnectable *connectable)
+{
+ ags_add_region_to_selection_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_region_to_selection_disconnect(AgsConnectable *connectable)
+{
+ ags_add_region_to_selection_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_add_region_to_selection_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_add_region_to_selection_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_add_region_to_selection_launch(AgsTask *task)
+{
+ AgsAddRegionToSelection *add_region_to_selection;
+
+ add_region_to_selection = AGS_ADD_REGION_TO_SELECTION(task);
+
+ /* add note */
+ ags_notation_add_region_to_selection(add_region_to_selection->notation,
+ add_region_to_selection->x0, add_region_to_selection->y0,
+ add_region_to_selection->x1, add_region_to_selection->y1,
+ add_region_to_selection->replace_current_selection);
+}
+
+/**
+ * ags_add_region_to_selection_new:
+ * @notation: the #AgsNotation providing the selection
+ * @x0: start x coordinate
+ * @y0: start y coordinate
+ * @x1: end x coordinate
+ * @y1: end y coordinate
+ * @replace_current_selection: if %TRUE new selection is created, otherwise added to current
+ *
+ * Creates an #AgsAddRegionToSelection.
+ *
+ * Returns: an new #AgsAddRegionToSelection.
+ *
+ * Since: 0.4
+ */
+AgsAddRegionToSelection*
+ags_add_region_to_selection_new(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean replace_current_selection)
+{
+ AgsAddRegionToSelection *add_region_to_selection;
+
+ add_region_to_selection = (AgsAddRegionToSelection *) g_object_new(AGS_TYPE_ADD_REGION_TO_SELECTION,
+ NULL);
+
+ add_region_to_selection->notation = notation;
+ add_region_to_selection->x0 = x0;
+ add_region_to_selection->y0 = y0;
+ add_region_to_selection->x1 = x1;
+ add_region_to_selection->y1 = y1;
+ add_region_to_selection->replace_current_selection = replace_current_selection;
+
+ return(add_region_to_selection);
+}
diff --git a/src/ags/audio/task/ags_add_region_to_selection.h b/src/ags/audio/task/ags_add_region_to_selection.h
new file mode 100644
index 0000000..ba199fe
--- /dev/null
+++ b/src/ags/audio/task/ags_add_region_to_selection.h
@@ -0,0 +1,65 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ADD_REGION_TO_SELECTION_H__
+#define __AGS_ADD_REGION_TO_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_ADD_REGION_TO_SELECTION (ags_add_region_to_selection_get_type())
+#define AGS_ADD_REGION_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ADD_REGION_TO_SELECTION, AgsAddRegionToSelection))
+#define AGS_ADD_REGION_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ADD_REGION_TO_SELECTION, AgsAddRegionToSelectionClass))
+#define AGS_IS_ADD_REGION_TO_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_ADD_REGION_TO_SELECTION))
+#define AGS_IS_ADD_REGION_TO_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_ADD_REGION_TO_SELECTION))
+#define AGS_ADD_REGION_TO_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_ADD_REGION_TO_SELECTION, AgsAddRegionToSelectionClass))
+
+typedef struct _AgsAddRegionToSelection AgsAddRegionToSelection;
+typedef struct _AgsAddRegionToSelectionClass AgsAddRegionToSelectionClass;
+
+struct _AgsAddRegionToSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x0;
+ guint y0;
+ guint x1;
+ guint y1;
+
+ gboolean replace_current_selection;
+};
+
+struct _AgsAddRegionToSelectionClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_add_region_to_selection_get_type();
+
+AgsAddRegionToSelection* ags_add_region_to_selection_new(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1,
+ gboolean replace_current_selection);
+
+#endif /*__AGS_ADD_REGION_TO_SELECTION_H__*/
+
diff --git a/src/ags/audio/task/ags_append_audio.c b/src/ags/audio/task/ags_append_audio.c
new file mode 100644
index 0000000..1cdb137
--- /dev/null
+++ b/src/ags/audio/task/ags_append_audio.c
@@ -0,0 +1,190 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_append_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+void ags_append_audio_class_init(AgsAppendAudioClass *append_audio);
+void ags_append_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_append_audio_init(AgsAppendAudio *append_audio);
+void ags_append_audio_connect(AgsConnectable *connectable);
+void ags_append_audio_disconnect(AgsConnectable *connectable);
+void ags_append_audio_finalize(GObject *gobject);
+
+void ags_append_audio_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_append_audio
+ * @short_description: append audio object to audio loop
+ * @title: AgsAppendAudio
+ * @section_id:
+ * @include: ags/audio/task/ags_append_audio.h
+ *
+ * The #AgsAppendAudio task appends #AgsAudio to #AgsAudioLoop.
+ */
+
+static gpointer ags_append_audio_parent_class = NULL;
+static AgsConnectableInterface *ags_append_audio_parent_connectable_interface;
+
+GType
+ags_append_audio_get_type()
+{
+ static GType ags_type_append_audio = 0;
+
+ if(!ags_type_append_audio){
+ static const GTypeInfo ags_append_audio_info = {
+ sizeof (AgsAppendAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_append_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAppendAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_append_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_append_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_append_audio = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAppendAudio\0",
+ &ags_append_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_append_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_append_audio);
+}
+
+void
+ags_append_audio_class_init(AgsAppendAudioClass *append_audio)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_append_audio_parent_class = g_type_class_peek_parent(append_audio);
+
+ /* gobject */
+ gobject = (GObjectClass *) append_audio;
+
+ gobject->finalize = ags_append_audio_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) append_audio;
+
+ task->launch = ags_append_audio_launch;
+}
+
+void
+ags_append_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_append_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_append_audio_connect;
+ connectable->disconnect = ags_append_audio_disconnect;
+}
+
+void
+ags_append_audio_init(AgsAppendAudio *append_audio)
+{
+ append_audio->audio_loop = NULL;
+ append_audio->audio = NULL;
+}
+
+void
+ags_append_audio_connect(AgsConnectable *connectable)
+{
+ ags_append_audio_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_append_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_audio_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_append_audio_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_append_audio_launch(AgsTask *task)
+{
+ AgsServer *server;
+ AgsAppendAudio *append_audio;
+ AgsAudioLoop *audio_loop;
+
+ append_audio = AGS_APPEND_AUDIO(task);
+
+ audio_loop = AGS_AUDIO_LOOP(append_audio->audio_loop);
+
+ /* append to AgsDevout */
+ ags_audio_loop_add_audio(audio_loop,
+ append_audio->audio);
+
+ /* add to server registry */
+ server = AGS_MAIN(audio_loop->ags_main)->server;
+
+ if(server != NULL && (AGS_SERVER_RUNNING & (server->flags)) != 0){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(append_audio->audio));
+ }
+}
+
+/**
+ * ags_append_audio_new:
+ * @audio_loop: the #AgsAudioLoop
+ * @audio: the #AgsAudio to append
+ *
+ * Creates an #AgsAppendAudio.
+ *
+ * Returns: an new #AgsAppendAudio.
+ *
+ * Since: 0.4
+ */
+AgsAppendAudio*
+ags_append_audio_new(GObject *audio_loop,
+ GObject *audio)
+{
+ AgsAppendAudio *append_audio;
+
+ append_audio = (AgsAppendAudio *) g_object_new(AGS_TYPE_APPEND_AUDIO,
+ NULL);
+
+ append_audio->audio_loop = audio_loop;
+ append_audio->audio = audio;
+
+ return(append_audio);
+}
diff --git a/src/ags/audio/task/ags_append_audio.h b/src/ags/audio/task/ags_append_audio.h
new file mode 100644
index 0000000..66a5561
--- /dev/null
+++ b/src/ags/audio/task/ags_append_audio.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPEND_AUDIO_H__
+#define __AGS_APPEND_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_APPEND_AUDIO (ags_append_audio_get_type())
+#define AGS_APPEND_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_AUDIO, AgsAppendAudio))
+#define AGS_APPEND_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_AUDIO, AgsAppendAudioClass))
+#define AGS_IS_APPEND_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_AUDIO))
+#define AGS_IS_APPEND_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_AUDIO))
+#define AGS_APPEND_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_AUDIO, AgsAppendAudioClass))
+
+typedef struct _AgsAppendAudio AgsAppendAudio;
+typedef struct _AgsAppendAudioClass AgsAppendAudioClass;
+
+struct _AgsAppendAudio
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ GObject *audio;
+};
+
+struct _AgsAppendAudioClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_append_audio_get_type();
+
+AgsAppendAudio* ags_append_audio_new(GObject *audio_loop,
+ GObject *audio);
+
+#endif /*__AGS_APPEND_AUDIO_H__*/
diff --git a/src/ags/audio/task/ags_append_audio_threaded.c b/src/ags/audio/task/ags_append_audio_threaded.c
new file mode 100644
index 0000000..4f3118c
--- /dev/null
+++ b/src/ags/audio/task/ags_append_audio_threaded.c
@@ -0,0 +1,162 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_append_audio_threaded.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_append_audio_threaded_class_init(AgsAppendAudioThreadedClass *append_audio_threaded);
+void ags_append_audio_threaded_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_append_audio_threaded_init(AgsAppendAudioThreaded *append_audio_threaded);
+void ags_append_audio_threaded_connect(AgsConnectable *connectable);
+void ags_append_audio_threaded_disconnect(AgsConnectable *connectable);
+void ags_append_audio_threaded_finalize(GObject *gobject);
+
+void ags_append_audio_threaded_launch(AgsTask *task);
+
+static gpointer ags_append_audio_threaded_parent_class = NULL;
+static AgsConnectableInterface *ags_append_audio_threaded_parent_connectable_interface;
+
+GType
+ags_append_audio_threaded_get_type()
+{
+ static GType ags_type_append_audio_threaded = 0;
+
+ if(!ags_type_append_audio_threaded){
+ static const GTypeInfo ags_append_audio_threaded_info = {
+ sizeof (AgsAppendAudioThreadedClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_append_audio_threaded_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAppendAudioThreaded),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_append_audio_threaded_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_append_audio_threaded_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_append_audio_threaded = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAppendAudioThreaded\0",
+ &ags_append_audio_threaded_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_append_audio_threaded,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_append_audio_threaded);
+}
+
+void
+ags_append_audio_threaded_class_init(AgsAppendAudioThreadedClass *append_audio_threaded)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_append_audio_threaded_parent_class = g_type_class_peek_parent(append_audio_threaded);
+
+ /* gobject */
+ gobject = (GObjectClass *) append_audio_threaded;
+
+ gobject->finalize = ags_append_audio_threaded_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) append_audio_threaded;
+
+ task->launch = ags_append_audio_threaded_launch;
+}
+
+void
+ags_append_audio_threaded_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_append_audio_threaded_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_append_audio_threaded_connect;
+ connectable->disconnect = ags_append_audio_threaded_disconnect;
+}
+
+void
+ags_append_audio_threaded_init(AgsAppendAudioThreaded *append_audio_threaded)
+{
+ append_audio_threaded->audio_loop = NULL;
+ append_audio_threaded->devout_play = NULL;
+}
+
+void
+ags_append_audio_threaded_connect(AgsConnectable *connectable)
+{
+ ags_append_audio_threaded_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_audio_threaded_disconnect(AgsConnectable *connectable)
+{
+ ags_append_audio_threaded_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_audio_threaded_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_append_audio_threaded_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_append_audio_threaded_launch(AgsTask *task)
+{
+ AgsAppendAudioThreaded *append_audio_threaded;
+ AgsAudioLoop *audio_loop;
+
+ append_audio_threaded = AGS_APPEND_AUDIO_THREADED(task);
+
+ audio_loop = AGS_AUDIO_LOOP(append_audio_threaded->audio_loop);
+
+ /* append to AgsDevout */
+ append_audio_threaded->devout_play->flags &= (~AGS_DEVOUT_PLAY_REMOVE);
+ append_audio_threaded->devout_play->flags |= AGS_DEVOUT_PLAY_SUPER_THREADED;
+ audio_loop->play_audio = g_list_append(audio_loop->play_audio,
+ append_audio_threaded->devout_play);
+ audio_loop->play_audio_ref += 1;
+}
+
+AgsAppendAudioThreaded*
+ags_append_audio_threaded_new(GObject *audio_loop,
+ AgsDevoutPlay *devout_play)
+{
+ AgsAppendAudioThreaded *append_audio_threaded;
+
+ append_audio_threaded = (AgsAppendAudioThreaded *) g_object_new(AGS_TYPE_APPEND_AUDIO_THREADED,
+ NULL);
+
+ append_audio_threaded->audio_loop = audio_loop;
+ append_audio_threaded->devout_play = devout_play;
+
+ return(append_audio_threaded);
+}
diff --git a/src/ags/audio/task/ags_append_audio_threaded.h b/src/ags/audio/task/ags_append_audio_threaded.h
new file mode 100644
index 0000000..b1a41c6
--- /dev/null
+++ b/src/ags/audio/task/ags_append_audio_threaded.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPEND_AUDIO_THREADED_H__
+#define __AGS_APPEND_AUDIO_THREADED_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_APPEND_AUDIO_THREADED (ags_append_audio_threaded_get_type())
+#define AGS_APPEND_AUDIO_THREADED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_AUDIO_THREADED, AgsAppendAudioThreaded))
+#define AGS_APPEND_AUDIO_THREADED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_AUDIO_THREADED, AgsAppendAudioThreadedClass))
+#define AGS_IS_APPEND_AUDIO_THREADED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_AUDIO_THREADED))
+#define AGS_IS_APPEND_AUDIO_THREADED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_AUDIO_THREADED))
+#define AGS_APPEND_AUDIO_THREADED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_AUDIO_THREADED, AgsAppendAudioThreadedClass))
+
+typedef struct _AgsAppendAudioThreaded AgsAppendAudioThreaded;
+typedef struct _AgsAppendAudioThreadedClass AgsAppendAudioThreadedClass;
+
+struct _AgsAppendAudioThreaded
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ AgsDevoutPlay *devout_play;
+};
+
+struct _AgsAppendAudioThreadedClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_append_audio_threaded_get_type();
+
+AgsAppendAudioThreaded* ags_append_audio_threaded_new(GObject *audio_loop,
+ AgsDevoutPlay *play);
+
+#endif /*__AGS_APPEND_AUDIO_THREADED_H__*/
diff --git a/src/ags/audio/task/ags_append_channel.c b/src/ags/audio/task/ags_append_channel.c
new file mode 100644
index 0000000..49aa45f
--- /dev/null
+++ b/src/ags/audio/task/ags_append_channel.c
@@ -0,0 +1,190 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_append_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+void ags_append_channel_class_init(AgsAppendChannelClass *append_channel);
+void ags_append_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_append_channel_init(AgsAppendChannel *append_channel);
+void ags_append_channel_connect(AgsConnectable *connectable);
+void ags_append_channel_disconnect(AgsConnectable *connectable);
+void ags_append_channel_finalize(GObject *gobject);
+
+void ags_append_channel_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_append_channel
+ * @short_description: append channel object to audio loop
+ * @title: AgsAppendChannel
+ * @section_id:
+ * @include: ags/channel/task/ags_append_channel.h
+ *
+ * The #AgsAppendChannel task appends #AgsChannel to #AgsAudioLoop.
+ */
+
+static gpointer ags_append_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_append_channel_parent_connectable_interface;
+
+GType
+ags_append_channel_get_type()
+{
+ static GType ags_type_append_channel = 0;
+
+ if(!ags_type_append_channel){
+ static const GTypeInfo ags_append_channel_info = {
+ sizeof (AgsAppendChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_append_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAppendChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_append_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_append_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_append_channel = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAppendChannel\0",
+ &ags_append_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_append_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_append_channel);
+}
+
+void
+ags_append_channel_class_init(AgsAppendChannelClass *append_channel)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_append_channel_parent_class = g_type_class_peek_parent(append_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) append_channel;
+
+ gobject->finalize = ags_append_channel_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) append_channel;
+
+ task->launch = ags_append_channel_launch;
+}
+
+void
+ags_append_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_append_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_append_channel_connect;
+ connectable->disconnect = ags_append_channel_disconnect;
+}
+
+void
+ags_append_channel_init(AgsAppendChannel *append_channel)
+{
+ append_channel->audio_loop = NULL;
+ append_channel->channel = NULL;
+}
+
+void
+ags_append_channel_connect(AgsConnectable *connectable)
+{
+ ags_append_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_append_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_channel_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_append_channel_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_append_channel_launch(AgsTask *task)
+{
+ AgsServer *server;
+ AgsAppendChannel *append_channel;
+ AgsAudioLoop *audio_loop;
+
+ append_channel = AGS_APPEND_CHANNEL(task);
+
+ audio_loop = AGS_AUDIO_LOOP(append_channel->audio_loop);
+
+ /* append to AgsDevout */
+ ags_audio_loop_add_channel(audio_loop,
+ append_channel->channel);
+
+ /* add to server registry */
+ server = AGS_MAIN(audio_loop->ags_main)->server;
+
+ if(server != NULL && (AGS_SERVER_RUNNING & (server->flags)) != 0){
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(append_channel->channel));
+ }
+}
+
+/**
+ * ags_append_channel_new:
+ * @audio_loop: the #AgsAudioLoop
+ * @channel: the #AgsChannel to append
+ *
+ * Creates an #AgsAppendChannel.
+ *
+ * Returns: an new #AgsAppendChannel.
+ *
+ * Since: 0.4
+ */
+AgsAppendChannel*
+ags_append_channel_new(GObject *audio_loop,
+ GObject *channel)
+{
+ AgsAppendChannel *append_channel;
+
+ append_channel = (AgsAppendChannel *) g_object_new(AGS_TYPE_APPEND_CHANNEL,
+ NULL);
+
+ append_channel->audio_loop = audio_loop;
+ append_channel->channel = channel;
+
+ return(append_channel);
+}
diff --git a/src/ags/audio/task/ags_append_channel.h b/src/ags/audio/task/ags_append_channel.h
new file mode 100644
index 0000000..727e0f6
--- /dev/null
+++ b/src/ags/audio/task/ags_append_channel.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPEND_CHANNEL_H__
+#define __AGS_APPEND_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_APPEND_CHANNEL (ags_append_channel_get_type())
+#define AGS_APPEND_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_CHANNEL, AgsAppendChannel))
+#define AGS_APPEND_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_CHANNEL, AgsAppendChannelClass))
+#define AGS_IS_APPEND_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_CHANNEL))
+#define AGS_IS_APPEND_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_CHANNEL))
+#define AGS_APPEND_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_CHANNEL, AgsAppendChannelClass))
+
+typedef struct _AgsAppendChannel AgsAppendChannel;
+typedef struct _AgsAppendChannelClass AgsAppendChannelClass;
+
+struct _AgsAppendChannel
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ GObject *channel;
+};
+
+struct _AgsAppendChannelClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_append_channel_get_type();
+
+AgsAppendChannel* ags_append_channel_new(GObject *audio_loop,
+ GObject *channel);
+
+#endif /*__AGS_APPEND_CHANNEL_H__*/
diff --git a/src/ags/audio/task/ags_append_recall.c b/src/ags/audio/task/ags_append_recall.c
new file mode 100644
index 0000000..8c14224
--- /dev/null
+++ b/src/ags/audio/task/ags_append_recall.c
@@ -0,0 +1,179 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_append_recall.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+
+void ags_append_recall_class_init(AgsAppendRecallClass *append_recall);
+void ags_append_recall_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_append_recall_init(AgsAppendRecall *append_recall);
+void ags_append_recall_connect(AgsConnectable *connectable);
+void ags_append_recall_disconnect(AgsConnectable *connectable);
+void ags_append_recall_finalize(GObject *gobject);
+
+void ags_append_recall_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_append_recall
+ * @short_description: append recall object to audio loop
+ * @title: AgsAppendRecall
+ * @section_id:
+ * @include: ags/recall/task/ags_append_recall.h
+ *
+ * The #AgsAppendRecall task appends #AgsRecall to #AgsAudioLoop.
+ */
+
+static gpointer ags_append_recall_parent_class = NULL;
+static AgsConnectableInterface *ags_append_recall_parent_connectable_interface;
+
+GType
+ags_append_recall_get_type()
+{
+ static GType ags_type_append_recall = 0;
+
+ if(!ags_type_append_recall){
+ static const GTypeInfo ags_append_recall_info = {
+ sizeof (AgsAppendRecallClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_append_recall_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAppendRecall),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_append_recall_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_append_recall_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_append_recall = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAppendRecall\0",
+ &ags_append_recall_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_append_recall,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_append_recall);
+}
+
+void
+ags_append_recall_class_init(AgsAppendRecallClass *append_recall)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_append_recall_parent_class = g_type_class_peek_parent(append_recall);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) append_recall;
+
+ gobject->finalize = ags_append_recall_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) append_recall;
+
+ task->launch = ags_append_recall_launch;
+}
+
+void
+ags_append_recall_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_append_recall_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_append_recall_connect;
+ connectable->disconnect = ags_append_recall_disconnect;
+}
+
+void
+ags_append_recall_init(AgsAppendRecall *append_recall)
+{
+ append_recall->audio_loop = NULL;
+ append_recall->devout_play = NULL;
+}
+
+void
+ags_append_recall_connect(AgsConnectable *connectable)
+{
+ ags_append_recall_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_recall_disconnect(AgsConnectable *connectable)
+{
+ ags_append_recall_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_append_recall_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_append_recall_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_append_recall_launch(AgsTask *task)
+{
+ AgsAppendRecall *append_recall;
+ AgsAudioLoop *audio_loop;
+
+ append_recall = AGS_APPEND_RECALL(task);
+
+ audio_loop = AGS_AUDIO_LOOP(append_recall->audio_loop);
+ ags_audio_loop_add_recall(audio_loop, append_recall->devout_play);
+}
+
+/**
+ * ags_append_recall_new:
+ * @audio_loop: the #AgsAudioLoop
+ * @recall: the #AgsRecall to append
+ *
+ * Creates an #AgsAppendRecall.
+ *
+ * Returns: an new #AgsAppendRecall.
+ *
+ * Since: 0.4
+ */
+AgsAppendRecall*
+ags_append_recall_new(GObject *audio_loop,
+ AgsDevoutPlay *devout_play)
+{
+ AgsAppendRecall *append_recall;
+
+ append_recall = (AgsAppendRecall *) g_object_new(AGS_TYPE_APPEND_RECALL,
+ NULL);
+
+ append_recall->audio_loop = audio_loop;
+ append_recall->devout_play = devout_play;
+
+ return(append_recall);
+}
diff --git a/src/ags/audio/task/ags_append_recall.h b/src/ags/audio/task/ags_append_recall.h
new file mode 100644
index 0000000..0ce2ccc
--- /dev/null
+++ b/src/ags/audio/task/ags_append_recall.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPEND_RECALL_H__
+#define __AGS_APPEND_RECALL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_APPEND_RECALL (ags_append_recall_get_type())
+#define AGS_APPEND_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPEND_RECALL, AgsAppendRecall))
+#define AGS_APPEND_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPEND_RECALL, AgsAppendRecallClass))
+#define AGS_IS_APPEND_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPEND_RECALL))
+#define AGS_IS_APPEND_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPEND_RECALL))
+#define AGS_APPEND_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPEND_RECALL, AgsAppendRecallClass))
+
+typedef struct _AgsAppendRecall AgsAppendRecall;
+typedef struct _AgsAppendRecallClass AgsAppendRecallClass;
+
+struct _AgsAppendRecall
+{
+ AgsTask task;
+
+ GObject *audio_loop;
+ AgsDevoutPlay *devout_play;
+};
+
+struct _AgsAppendRecallClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_append_recall_get_type();
+
+AgsAppendRecall* ags_append_recall_new(GObject *audio_loop,
+ AgsDevoutPlay *devout_play);
+
+#endif /*__AGS_APPEND_RECALL_H__*/
diff --git a/src/ags/audio/task/ags_apply_synth.c b/src/ags/audio/task/ags_apply_synth.c
new file mode 100644
index 0000000..1e05ec8
--- /dev/null
+++ b/src/ags/audio/task/ags_apply_synth.c
@@ -0,0 +1,359 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_apply_synth.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_synths.h>
+
+#include <ags/audio/ags_config.h>
+
+#include <math.h>
+
+void ags_apply_synth_class_init(AgsApplySynthClass *apply_synth);
+void ags_apply_synth_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_apply_synth_init(AgsApplySynth *apply_synth);
+void ags_apply_synth_connect(AgsConnectable *connectable);
+void ags_apply_synth_disconnect(AgsConnectable *connectable);
+void ags_apply_synth_finalize(GObject *gobject);
+
+void ags_apply_synth_launch(AgsTask *task);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_apply_synth
+ * @short_description: apply synth to channel
+ * @title: AgsApplySynth
+ * @section_id:
+ * @include: ags/synth/task/ags_apply_synth.h
+ *
+ * The #AgsApplySynth task apply the specified synth to channel.
+ */
+
+static gpointer ags_apply_synth_parent_class = NULL;
+static AgsConnectableInterface *ags_apply_synth_parent_connectable_interface;
+
+GType
+ags_apply_synth_get_type()
+{
+ static GType ags_type_apply_synth = 0;
+
+ if(!ags_type_apply_synth){
+ static const GTypeInfo ags_apply_synth_info = {
+ sizeof (AgsApplySynthClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_apply_synth_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsApplySynth),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_apply_synth_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_apply_synth_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_apply_synth = g_type_register_static(AGS_TYPE_TASK,
+ "AgsApplySynth\0",
+ &ags_apply_synth_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_apply_synth,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_apply_synth);
+}
+
+void
+ags_apply_synth_class_init(AgsApplySynthClass *apply_synth)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_apply_synth_parent_class = g_type_class_peek_parent(apply_synth);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) apply_synth;
+
+ gobject->finalize = ags_apply_synth_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) apply_synth;
+
+ task->launch = ags_apply_synth_launch;
+}
+
+void
+ags_apply_synth_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_apply_synth_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_apply_synth_connect;
+ connectable->disconnect = ags_apply_synth_disconnect;
+}
+
+void
+ags_apply_synth_init(AgsApplySynth *apply_synth)
+{
+ apply_synth->start_channel = NULL;
+ apply_synth->count = 0;
+
+ apply_synth->wave = AGS_APPLY_SYNTH_INVALID;
+ apply_synth->attack = 0;
+ apply_synth->frame_count = 0;
+ apply_synth->phase = 0;
+ apply_synth->start = 0;
+ apply_synth->volume = 1.0;
+
+ apply_synth->loop_start = 0;
+ apply_synth->loop_end = 0;
+}
+
+void
+ags_apply_synth_connect(AgsConnectable *connectable)
+{
+ ags_apply_synth_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_synth_disconnect(AgsConnectable *connectable)
+{
+ ags_apply_synth_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_synth_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_apply_synth_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_apply_synth_launch(AgsTask *task)
+{
+ AgsDevout *devout;
+ AgsApplySynth *apply_synth;
+ AgsChannel *channel;
+ AgsAudioSignal *audio_signal;
+ GList *stream;
+ gint wave;
+ guint attack, frame_count, stop, phase, frequency;
+ double volume;
+ guint current_attack, current_frame_count, current_stop, current_phase[2], current_frequency;
+ guint stream_start, last_frame_count;
+ guint i, j;
+ double factor;
+ guint buffer_size;
+ guint samplerate;
+
+ double ags_apply_synth_calculate_factor(guint base_frequency, guint wished_frequency, guint wave){
+ double factor;
+
+ factor = ((1.0 / base_frequency) * (wished_frequency));
+
+ return(factor);
+ }
+ void ags_apply_synth_launch_write(guint offset,
+ guint frequency, guint phase, guint frame_count,
+ double volume){
+ switch(wave){
+ case AGS_APPLY_SYNTH_SIN:
+ ags_synth_sin(devout, (signed short *) stream->data,
+ offset, frequency, phase, frame_count,
+ volume);
+ break;
+ case AGS_APPLY_SYNTH_SAW:
+ ags_synth_saw(devout, (signed short *) stream->data,
+ offset, frequency, phase, frame_count,
+ volume);
+ break;
+ case AGS_APPLY_SYNTH_SQUARE:
+ ags_synth_square(devout, (signed short *) stream->data, offset, frequency, phase, frame_count, volume);
+ break;
+ case AGS_APPLY_SYNTH_TRIANGLE:
+ ags_synth_triangle(devout, (signed short *) stream->data, offset, frequency, phase, frame_count, volume);
+ break;
+ default:
+ g_warning("ags_apply_synth_launch_write: warning no wave selected\n\0");
+ }
+ }
+
+ apply_synth = AGS_APPLY_SYNTH(task);
+ channel = apply_synth->start_channel;
+ devout = AGS_DEVOUT(AGS_AUDIO(channel->audio)->devout);
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ wave = (gint) apply_synth->wave;
+ g_message("wave = %d\n\0", wave);
+
+ /* some settings */
+ frequency = apply_synth->frequency;
+
+ volume = (double) apply_synth->volume;
+
+ /* settings which needs to be initialized for factorizing */
+ attack = apply_synth->attack;
+ frame_count = apply_synth->frame_count;
+ stop = (guint) ceil((double)(attack + frame_count) / (double) buffer_size);
+ phase = apply_synth->phase;
+
+ //TODO:JK:
+ // attack = attack % (guint) buffer_size;
+
+ current_phase[0] = (phase + (buffer_size - attack) + i * buffer_size) % frequency;
+
+ factor = 1.0;
+
+ for(i = 0; channel != NULL; i++){
+ /* calculate wished frequncy and phase */
+ current_frequency = (guint) ((double) frequency * exp2((double)((apply_synth->start * -1.0) + (double)i) / 12.0));
+ current_phase[0] = (guint) ((double) phase * ((double) frequency / (double) current_frequency));
+
+ /* settings which needs to be factorized */
+ factor = ags_apply_synth_calculate_factor(frequency, current_frequency, wave);
+
+ current_attack = (guint) (factor * attack) % (guint) buffer_size;
+ current_frame_count = frame_count * factor;
+ current_stop = (guint) ceil((double)(current_attack + current_frame_count) / (double)buffer_size);
+ current_phase[0] = ((guint)(factor * phase) + (buffer_size - current_attack) + i * buffer_size) % current_frequency;
+
+ stream_start = (guint) floor((double)current_attack / (double) buffer_size);
+ last_frame_count = (current_frame_count - buffer_size - current_attack) % buffer_size;
+
+ /* create AgsAudioSignal */
+ audio_signal = ags_audio_signal_get_template(channel->first_recycling->audio_signal);
+
+ if(audio_signal->length < current_stop)
+ ags_audio_signal_stream_resize(audio_signal, stop);
+
+ audio_signal->loop_start = (guint) ((double) apply_synth->loop_start) * factor;
+ audio_signal->loop_end = (guint) ((double) apply_synth->loop_end) * factor;
+
+
+ /* fill in the stream */
+ stream = g_list_nth(audio_signal->stream_beginning, stream_start);
+
+ if(stream->next != NULL){
+ g_message("freq = %u, phase = %u\n\0", current_frequency, current_phase[0]);
+ ags_apply_synth_launch_write(attack,
+ current_frequency, current_phase[0], buffer_size - attack,
+ volume);
+ }else{
+ ags_apply_synth_launch_write(attack,
+ current_frequency, current_phase[0], frame_count,
+ volume);
+
+ channel = channel->next;
+ continue;
+ }
+
+ stream = stream->next;
+
+
+ for(j = 1; stream->next != NULL; j++){
+ current_phase[1] = (j * buffer_size + current_phase[0]) % (samplerate / current_frequency);
+ g_message("freq = %u, phase = %u\n\0", current_frequency, current_phase[1]);
+
+ ags_apply_synth_launch_write(0,
+ frequency, current_phase[1], buffer_size,
+ volume);
+
+ stream = stream->next;
+ }
+
+ current_phase[1] = (current_phase[0] + (buffer_size - attack) + j * buffer_size) % current_frequency;
+ ags_apply_synth_launch_write(0,
+ current_frequency, current_phase[1], last_frame_count,
+ volume);
+
+
+ channel = channel->next;
+ }
+}
+
+/**
+ * ags_apply_synth_new:
+ * @start_channel:
+ * @count:
+ * @wave:
+ * @attack:
+ * @frame_count:
+ * @frequency:
+ * @phase:
+ * @start:
+ * @volume:
+ * @loop_start:
+ * @loop_end:
+ *
+ * Creates an #AgsApplySynth.
+ *
+ * Returns: an new #AgsApplySynth.
+ *
+ * Since: 0.4
+ */
+AgsApplySynth*
+ags_apply_synth_new(AgsChannel *start_channel, guint count,
+ guint wave,
+ guint attack, guint frame_count,
+ guint frequency, guint phase, guint start,
+ gdouble volume,
+ guint loop_start, guint loop_end)
+{
+ AgsApplySynth *apply_synth;
+
+ apply_synth = (AgsApplySynth *) g_object_new(AGS_TYPE_APPLY_SYNTH,
+ NULL);
+
+ apply_synth->start_channel = start_channel;
+ apply_synth->count = count;
+ apply_synth->wave = wave;
+ apply_synth->attack = attack;
+ apply_synth->frame_count = frame_count;
+ apply_synth->frequency = frequency;
+ apply_synth->phase = phase;
+ apply_synth->start = start;
+ apply_synth->volume = volume;
+ apply_synth->loop_start = loop_start;
+ apply_synth->loop_end = loop_end;
+
+ return(apply_synth);
+}
diff --git a/src/ags/audio/task/ags_apply_synth.h b/src/ags/audio/task/ags_apply_synth.h
new file mode 100644
index 0000000..59b4c1f
--- /dev/null
+++ b/src/ags/audio/task/ags_apply_synth.h
@@ -0,0 +1,82 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPLY_SYNTH_H__
+#define __AGS_APPLY_SYNTH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_APPLY_SYNTH (ags_apply_synth_get_type())
+#define AGS_APPLY_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SYNTH, AgsApplySynth))
+#define AGS_APPLY_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SYNTH, AgsApplySynthClass))
+#define AGS_IS_APPLY_SYNTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SYNTH))
+#define AGS_IS_APPLY_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SYNTH))
+#define AGS_APPLY_SYNTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SYNTH, AgsApplySynthClass))
+
+typedef struct _AgsApplySynth AgsApplySynth;
+typedef struct _AgsApplySynthClass AgsApplySynthClass;
+
+typedef enum{
+ AGS_APPLY_SYNTH_INVALID,
+ AGS_APPLY_SYNTH_SIN,
+ AGS_APPLY_SYNTH_SAW,
+ AGS_APPLY_SYNTH_SQUARE,
+ AGS_APPLY_SYNTH_TRIANGLE,
+}AgsApplySynthWave;
+
+struct _AgsApplySynth
+{
+ AgsTask task;
+
+ AgsChannel *start_channel;
+ guint count;
+
+ guint wave;
+
+ guint attack;
+ guint frame_count;
+ guint frequency;
+ guint phase;
+ guint start;
+
+ gdouble volume;
+
+ guint loop_start;
+ guint loop_end;
+};
+
+struct _AgsApplySynthClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_apply_synth_get_type();
+
+AgsApplySynth* ags_apply_synth_new(AgsChannel *start_channel, guint count,
+ guint wave,
+ guint attack, guint frame_count,
+ guint frequency, guint phase, guint start,
+ gdouble volume,
+ guint loop_start, guint loop_end);
+
+#endif /*__AGS_APPLY_SYNTH_H__*/
diff --git a/src/ags/audio/task/ags_apply_wavetable.c b/src/ags/audio/task/ags_apply_wavetable.c
new file mode 100644
index 0000000..c9d6663
--- /dev/null
+++ b/src/ags/audio/task/ags_apply_wavetable.c
@@ -0,0 +1,129 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_apply_wavetable.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_apply_wavetable_class_init(AgsApplyWavetableClass *apply_wavetable);
+void ags_apply_wavetable_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_apply_wavetable_init(AgsApplyWavetable *apply_wavetable);
+void ags_apply_wavetable_connect(AgsConnectable *connectable);
+void ags_apply_wavetable_disconnect(AgsConnectable *connectable);
+void ags_apply_wavetable_finalize(GObject *gobject);
+
+static gpointer ags_apply_wavetable_parent_class = NULL;
+static AgsConnectableInterface *ags_apply_wavetable_parent_connectable_interface;
+
+GType
+ags_apply_wavetable_get_type()
+{
+ static GType ags_type_apply_wavetable = 0;
+
+ if(!ags_type_apply_wavetable){
+ static const GTypeInfo ags_apply_wavetable_info = {
+ sizeof (AgsApplyWavetableClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_apply_wavetable_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsApplyWavetable),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_apply_wavetable_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_apply_wavetable_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_apply_wavetable = g_type_register_static(AGS_TYPE_TASK,
+ "AgsApplyWavetable\0",
+ &ags_apply_wavetable_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_apply_wavetable,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_apply_wavetable);
+}
+
+void
+ags_apply_wavetable_class_init(AgsApplyWavetableClass *apply_wavetable)
+{
+ GObjectClass *gobject;
+
+ ags_apply_wavetable_parent_class = g_type_class_peek_parent(apply_wavetable);
+
+ gobject = (GObjectClass *) apply_wavetable;
+
+ gobject->finalize = ags_apply_wavetable_finalize;
+}
+
+void
+ags_apply_wavetable_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_apply_wavetable_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_apply_wavetable_connect;
+ connectable->disconnect = ags_apply_wavetable_disconnect;
+}
+
+void
+ags_apply_wavetable_init(AgsApplyWavetable *apply_wavetable)
+{
+}
+
+void
+ags_apply_wavetable_connect(AgsConnectable *connectable)
+{
+ ags_apply_wavetable_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_wavetable_disconnect(AgsConnectable *connectable)
+{
+ ags_apply_wavetable_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_wavetable_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_apply_wavetable_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+AgsApplyWavetable*
+ags_apply_wavetable_new()
+{
+ AgsApplyWavetable *apply_wavetable;
+
+ apply_wavetable = (AgsApplyWavetable *) g_object_new(AGS_TYPE_APPLY_WAVETABLE,
+ NULL);
+
+ return(apply_wavetable);
+}
diff --git a/src/ags/audio/task/ags_apply_wavetable.h b/src/ags/audio/task/ags_apply_wavetable.h
new file mode 100644
index 0000000..092f870
--- /dev/null
+++ b/src/ags/audio/task/ags_apply_wavetable.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPLY_WAVETABLE_H__
+#define __AGS_APPLY_WAVETABLE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_APPLY_WAVETABLE (ags_apply_wavetable_get_type())
+#define AGS_APPLY_WAVETABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_WAVETABLE, AgsApplyWavetable))
+#define AGS_APPLY_WAVETABLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_WAVETABLE, AgsApplyWavetableClass))
+#define AGS_IS_APPLY_WAVETABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_WAVETABLE))
+#define AGS_IS_APPLY_WAVETABLE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_WAVETABLE))
+#define AGS_APPLY_WAVETABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_WAVETABLE, AgsApplyWavetableClass))
+
+typedef struct _AgsApplyWavetable AgsApplyWavetable;
+typedef struct _AgsApplyWavetableClass AgsApplyWavetableClass;
+
+struct _AgsApplyWavetable
+{
+ AgsTask task;
+};
+
+struct _AgsApplyWavetableClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_apply_wavetable_get_type();
+
+AgsApplyWavetable* ags_apply_wavetable_new();
+
+#endif /*__AGS_APPLY_WAVETABLE_H__*/
diff --git a/src/ags/audio/task/ags_audio_set_recycling.c b/src/ags/audio/task/ags_audio_set_recycling.c
new file mode 100644
index 0000000..8c15914
--- /dev/null
+++ b/src/ags/audio/task/ags_audio_set_recycling.c
@@ -0,0 +1,252 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_audio_set_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_synths.h>
+
+#include <math.h>
+
+void ags_audio_set_recycling_class_init(AgsAudioSetRecyclingClass *audio_set_recycling);
+void ags_audio_set_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_audio_set_recycling_init(AgsAudioSetRecycling *audio_set_recycling);
+void ags_audio_set_recycling_connect(AgsConnectable *connectable);
+void ags_audio_set_recycling_disconnect(AgsConnectable *connectable);
+void ags_audio_set_recycling_finalize(GObject *gobject);
+
+void ags_audio_set_recycling_launch(AgsTask *task);
+
+static gpointer ags_audio_set_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_audio_set_recycling_parent_connectable_interface;
+
+GType
+ags_audio_set_recycling_get_type()
+{
+ static GType ags_type_audio_set_recycling = 0;
+
+ if(!ags_type_audio_set_recycling){
+ static const GTypeInfo ags_audio_set_recycling_info = {
+ sizeof (AgsAudioSetRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_set_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAudioSetRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_set_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_set_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_audio_set_recycling = g_type_register_static(AGS_TYPE_TASK,
+ "AgsAudioSetRecycling\0",
+ &ags_audio_set_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_audio_set_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_audio_set_recycling);
+}
+
+void
+ags_audio_set_recycling_class_init(AgsAudioSetRecyclingClass *audio_set_recycling)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_audio_set_recycling_parent_class = g_type_class_peek_parent(audio_set_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) audio_set_recycling;
+
+ gobject->finalize = ags_audio_set_recycling_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) audio_set_recycling;
+
+ task->launch = ags_audio_set_recycling_launch;
+}
+
+void
+ags_audio_set_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_audio_set_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_audio_set_recycling_connect;
+ connectable->disconnect = ags_audio_set_recycling_disconnect;
+}
+
+void
+ags_audio_set_recycling_init(AgsAudioSetRecycling *audio_set_recycling)
+{
+ audio_set_recycling->audio = NULL;
+
+ audio_set_recycling->parameter = NULL;
+}
+
+void
+ags_audio_set_recycling_connect(AgsConnectable *connectable)
+{
+ ags_audio_set_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_audio_set_recycling_disconnect(AgsConnectable *connectable)
+{
+ ags_audio_set_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_audio_set_recycling_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_audio_set_recycling_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_audio_set_recycling_launch(AgsTask *task)
+{
+ AgsAudioSetRecycling *audio_set_recycling;
+ AgsChannel *channel, *start_channel, *end_channel;
+ AgsRecycling *recycling, *start_recycling, *end_recycling;
+ GParameter *parameter;
+ GList *link;
+ GError *error;
+ int i;
+
+ auto void ags_audio_set_recycling_launch_read_parameter();
+
+ void ags_audio_set_recycling_launch_read_parameter(){
+ int i;
+
+ for(i = 0; i < 4; i++){
+ if(!strncmp("start_channel\0", parameter[i].name, 13)){
+ start_channel = (AgsChannel *) g_value_get_object(&(parameter[i].value));
+ }else if(!strncmp("end_channel\0", parameter[i].name, 11)){
+ end_channel = (AgsChannel *) g_value_get_object(&(parameter[i].value));
+ }else if(!strncmp("start_recycling\0", parameter[i].name, 15)){
+ start_recycling = (AgsRecycling *) g_value_get_object(&(parameter[i].value));
+ }else if(!strncmp("end_recycling\0", parameter[i].name, 13)){
+ end_recycling = (AgsRecycling *) g_value_get_object(&(parameter[i].value));
+ }else{
+ g_error("ags_audio_set_recycling_launch_read_parameter: unknow Parameter\0");
+ }
+ }
+ }
+
+ parameter = audio_set_recycling->parameter;
+ audio_set_recycling = AGS_AUDIO_SET_RECYCLING(task);
+
+ for(i = 0; i < audio_set_recycling->audio->audio_channels; i++){
+ ags_audio_set_recycling_launch_read_parameter();
+
+ /* unset link */
+ channel = start_channel;
+ link = NULL;
+
+ while(channel != end_channel){
+ link = g_list_prepend(link, channel->link);
+
+ error = NULL;
+
+ ags_channel_set_link(channel,
+ NULL,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ channel = channel->next_pad;
+ }
+
+ link = g_list_reverse(link);
+
+ /* set recycling */
+ channel = start_channel;
+ recycling = start_recycling;
+
+ while(channel != end_channel && recycling != end_recycling->next){
+ link = g_list_prepend(link, channel->link);
+
+ error = NULL;
+
+ ags_channel_set_recycling(channel,
+ recycling,
+ recycling,
+ TRUE, TRUE);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ channel = channel->next_pad;
+ }
+
+ /* reset link */
+ channel = start_channel;
+
+ while(channel != end_channel){
+ error = NULL;
+
+ ags_channel_set_link(channel,
+ AGS_CHANNEL(link->data),
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ channel = channel->next_pad;
+ link = link->next;
+ }
+ }
+}
+
+AgsAudioSetRecycling*
+ags_audio_set_recycling_new(AgsAudio *audio,
+ GParameter *parameter)
+{
+ AgsAudioSetRecycling *audio_set_recycling;
+
+ audio_set_recycling = (AgsAudioSetRecycling *) g_object_new(AGS_TYPE_AUDIO_SET_RECYCLING,
+ NULL);
+
+ audio_set_recycling->audio = audio;
+
+ audio_set_recycling->parameter = parameter;
+
+ return(audio_set_recycling);
+}
diff --git a/src/ags/audio/task/ags_audio_set_recycling.h b/src/ags/audio/task/ags_audio_set_recycling.h
new file mode 100644
index 0000000..a3995dd
--- /dev/null
+++ b/src/ags/audio/task/ags_audio_set_recycling.h
@@ -0,0 +1,60 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_SET_RECYCLING_H__
+#define __AGS_AUDIO_SET_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_AUDIO_SET_RECYCLING (ags_audio_set_recycling_get_type())
+#define AGS_AUDIO_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_SET_RECYCLING, AgsAudioSetRecycling))
+#define AGS_AUDIO_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_SET_RECYCLING, AgsAudioSetRecyclingClass))
+#define AGS_IS_AUDIO_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO_SET_RECYCLING))
+#define AGS_IS_AUDIO_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO_SET_RECYCLING))
+#define AGS_AUDIO_SET_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO_SET_RECYCLING, AgsAudioSetRecyclingClass))
+
+typedef struct _AgsAudioSetRecycling AgsAudioSetRecycling;
+typedef struct _AgsAudioSetRecyclingClass AgsAudioSetRecyclingClass;
+
+struct _AgsAudioSetRecycling
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ GParameter *parameter;
+};
+
+struct _AgsAudioSetRecyclingClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_audio_set_recycling_get_type();
+
+AgsAudioSetRecycling* ags_audio_set_recycling_new(AgsAudio *audio,
+ GParameter *parameter);
+
+#endif /*__AGS_AUDIO_SET_RECYCLING_H__*/
+
diff --git a/src/ags/audio/task/ags_cancel_audio.c b/src/ags/audio/task/ags_cancel_audio.c
new file mode 100644
index 0000000..bdb5cf7
--- /dev/null
+++ b/src/ags/audio/task/ags_cancel_audio.c
@@ -0,0 +1,257 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_cancel_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_channel.h>
+
+void ags_cancel_audio_class_init(AgsCancelAudioClass *cancel_audio);
+void ags_cancel_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_cancel_audio_init(AgsCancelAudio *cancel_audio);
+void ags_cancel_audio_connect(AgsConnectable *connectable);
+void ags_cancel_audio_disconnect(AgsConnectable *connectable);
+void ags_cancel_audio_finalize(GObject *gobject);
+
+void ags_cancel_audio_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_cancel_audio
+ * @short_description: cancel audio object in audio loop
+ * @title: AgsCancelAudio
+ * @section_id:
+ * @include: ags/audio/task/ags_cancel_audio.h
+ *
+ * The #AgsCancelAudio task cancels #AgsAudio playback.
+ */
+
+static gpointer ags_cancel_audio_parent_class = NULL;
+static AgsConnectableInterface *ags_cancel_audio_parent_connectable_interface;
+
+GType
+ags_cancel_audio_get_type()
+{
+ static GType ags_type_cancel_audio = 0;
+
+ if(!ags_type_cancel_audio){
+ static const GTypeInfo ags_cancel_audio_info = {
+ sizeof (AgsCancelAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_cancel_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCancelAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_cancel_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_cancel_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_cancel_audio = g_type_register_static(AGS_TYPE_TASK,
+ "AgsCancelAudio\0",
+ &ags_cancel_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_cancel_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_cancel_audio);
+}
+
+void
+ags_cancel_audio_class_init(AgsCancelAudioClass *cancel_audio)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_cancel_audio_parent_class = g_type_class_peek_parent(cancel_audio);
+
+ /* gobject */
+ gobject = (GObjectClass *) cancel_audio;
+
+ gobject->finalize = ags_cancel_audio_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) cancel_audio;
+
+ task->launch = ags_cancel_audio_launch;
+}
+
+void
+ags_cancel_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_cancel_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_cancel_audio_connect;
+ connectable->disconnect = ags_cancel_audio_disconnect;
+}
+
+void
+ags_cancel_audio_init(AgsCancelAudio *cancel_audio)
+{
+ cancel_audio->audio = NULL;
+
+ cancel_audio->playback = FALSE;
+ cancel_audio->sequencer = FALSE;
+ cancel_audio->notation = FALSE;
+}
+
+void
+ags_cancel_audio_connect(AgsConnectable *connectable)
+{
+ ags_cancel_audio_parent_connectable_interface->connect(connectable);
+
+
+ /* empty */
+}
+
+void
+ags_cancel_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_cancel_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_cancel_audio_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_cancel_audio_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_cancel_audio_launch(AgsTask *task)
+{
+ AgsCancelAudio *cancel_audio;
+ AgsAudio *audio;
+ AgsChannel *channel;
+
+ cancel_audio = AGS_CANCEL_AUDIO(task);
+
+ audio = cancel_audio->audio;
+
+ /* cancel playback */
+ if(cancel_audio->playback){
+ channel = audio->output;
+
+ while(channel != NULL){
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] == NULL){
+ channel = channel->next;
+
+ continue;
+ }
+
+ g_object_ref(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0]);
+ ags_channel_tillrecycling_cancel(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0]);
+
+ /* set remove flag */
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= (AGS_DEVOUT_PLAY_DONE | AGS_DEVOUT_PLAY_REMOVE);
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] = NULL;
+
+ channel = channel->next;
+ }
+ }
+
+ /* cancel sequencer */
+ if(cancel_audio->sequencer){
+ channel = audio->output;
+
+ while(channel != NULL){
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1] == NULL){
+ channel = channel->next;
+
+ continue;
+ }
+
+ g_object_ref(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1]);
+ ags_channel_tillrecycling_cancel(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1]);
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1] = NULL;
+
+ /* set remove flag */
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= (AGS_DEVOUT_PLAY_DONE | AGS_DEVOUT_PLAY_REMOVE);
+
+ channel = channel->next;
+ }
+ }
+
+ /* cancel notation */
+ if(cancel_audio->notation){
+ channel = audio->output;
+
+ while(channel != NULL){
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2] == NULL){
+ channel = channel->next;
+
+ continue;
+ }
+
+ g_object_ref(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2]);
+ ags_channel_tillrecycling_cancel(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2]);
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2] = NULL;
+
+ /* set remove flag */
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= (AGS_DEVOUT_PLAY_DONE | AGS_DEVOUT_PLAY_REMOVE);
+
+ channel = channel->next;
+ }
+ }
+}
+
+/**
+ * ags_cancel_audio_new:
+ * @audio: the #AgsAudio to cancel
+ * @playback: if %TRUE playback is canceld
+ * @sequencer: if %TRUE sequencer is canceld
+ * @notation: if %TRUE notation is canceld
+ *
+ * Creates an #AgsCancelAudio.
+ *
+ * Returns: an new #AgsCancelAudio.
+ *
+ * Since: 0.4
+ */
+AgsCancelAudio*
+ags_cancel_audio_new(AgsAudio *audio,
+ gboolean playback, gboolean sequencer, gboolean notation)
+{
+ AgsCancelAudio *cancel_audio;
+
+ cancel_audio = (AgsCancelAudio *) g_object_new(AGS_TYPE_CANCEL_AUDIO,
+ NULL);
+
+ cancel_audio->audio = audio;
+
+ cancel_audio->playback = playback;
+ cancel_audio->sequencer = sequencer;
+ cancel_audio->notation = notation;
+
+ return(cancel_audio);
+}
diff --git a/src/ags/audio/task/ags_cancel_audio.h b/src/ags/audio/task/ags_cancel_audio.h
new file mode 100644
index 0000000..6daa459
--- /dev/null
+++ b/src/ags/audio/task/ags_cancel_audio.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CANCEL_AUDIO_H__
+#define __AGS_CANCEL_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_CANCEL_AUDIO (ags_cancel_audio_get_type())
+#define AGS_CANCEL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CANCEL_AUDIO, AgsCancelAudio))
+#define AGS_CANCEL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CANCEL_AUDIO, AgsCancelAudioClass))
+#define AGS_IS_CANCEL_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CANCEL_AUDIO))
+#define AGS_IS_CANCEL_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CANCEL_AUDIO))
+#define AGS_CANCEL_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CANCEL_AUDIO, AgsCancelAudioClass))
+
+typedef struct _AgsCancelAudio AgsCancelAudio;
+typedef struct _AgsCancelAudioClass AgsCancelAudioClass;
+
+struct _AgsCancelAudio
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+
+struct _AgsCancelAudioClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_cancel_audio_get_type();
+
+AgsCancelAudio* ags_cancel_audio_new(AgsAudio *audio,
+ gboolean playback, gboolean sequencer, gboolean notation);
+
+#endif /*__AGS_CANCEL_AUDIO_H__*/
diff --git a/src/ags/audio/task/ags_cancel_channel.c b/src/ags/audio/task/ags_cancel_channel.c
new file mode 100644
index 0000000..1d29b0a
--- /dev/null
+++ b/src/ags/audio/task/ags_cancel_channel.c
@@ -0,0 +1,194 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_cancel_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_cancel_channel_class_init(AgsCancelChannelClass *cancel_channel);
+void ags_cancel_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_cancel_channel_init(AgsCancelChannel *cancel_channel);
+void ags_cancel_channel_connect(AgsConnectable *connectable);
+void ags_cancel_channel_disconnect(AgsConnectable *connectable);
+void ags_cancel_channel_finalize(GObject *gobject);
+
+void ags_cancel_channel_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_cancel_channel
+ * @short_description: cancel channel object
+ * @title: AgsCancelChannel
+ * @section_id:
+ * @include: ags/audio/task/ags_cancel_channel.h
+ *
+ * The #AgsCancelChannel task cancels #AgsChannel playback.
+ */
+
+static gpointer ags_cancel_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_cancel_channel_parent_connectable_interface;
+
+GType
+ags_cancel_channel_get_type()
+{
+ static GType ags_type_cancel_channel = 0;
+
+ if(!ags_type_cancel_channel){
+ static const GTypeInfo ags_cancel_channel_info = {
+ sizeof (AgsCancelChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_cancel_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCancelChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_cancel_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_cancel_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_cancel_channel = g_type_register_static(AGS_TYPE_TASK,
+ "AgsCancelChannel\0",
+ &ags_cancel_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_cancel_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_cancel_channel);
+}
+
+void
+ags_cancel_channel_class_init(AgsCancelChannelClass *cancel_channel)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_cancel_channel_parent_class = g_type_class_peek_parent(cancel_channel);
+
+ /* gobject */
+ gobject = (GObjectClass *) cancel_channel;
+
+ gobject->finalize = ags_cancel_channel_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) cancel_channel;
+
+ task->launch = ags_cancel_channel_launch;
+}
+
+void
+ags_cancel_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_cancel_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_cancel_channel_connect;
+ connectable->disconnect = ags_cancel_channel_disconnect;
+}
+
+void
+ags_cancel_channel_init(AgsCancelChannel *cancel_channel)
+{
+ cancel_channel->channel = NULL;
+ cancel_channel->recall_id = NULL;
+
+ cancel_channel->play = NULL;
+}
+
+void
+ags_cancel_channel_connect(AgsConnectable *connectable)
+{
+ ags_cancel_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_cancel_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_cancel_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_cancel_channel_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_cancel_channel_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_cancel_channel_launch(AgsTask *task)
+{
+ AgsCancelChannel *cancel_channel;
+ AgsChannel *channel;
+
+ cancel_channel = AGS_CANCEL_CHANNEL(task);
+
+ channel = cancel_channel->channel;
+
+ /* cancel playback */
+ if(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] == NULL){
+ return;
+ }
+
+ g_object_ref(AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0]);
+ ags_channel_tillrecycling_cancel(channel,
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0]);
+
+ /* set remove flag */
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= (AGS_DEVOUT_PLAY_DONE | AGS_DEVOUT_PLAY_REMOVE);
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] = NULL;
+}
+
+/**
+ * ags_cancel_channel_new:
+ * @channel: the #AgsChannel to cancel
+ * @recall_id: the #AgsRecallID to cancel
+ * @play: the #AgsDevoutPlay-struct
+ *
+ * Creates an #AgsCancelChannel.
+ *
+ * Returns: an new #AgsCancelChannel.
+ *
+ * Since: 0.4
+ */
+AgsCancelChannel*
+ags_cancel_channel_new(AgsChannel *channel, AgsRecallID *recall_id,
+ AgsDevoutPlay *play)
+{
+ AgsCancelChannel *cancel_channel;
+
+ cancel_channel = (AgsCancelChannel *) g_object_new(AGS_TYPE_CANCEL_CHANNEL,
+ NULL);
+
+ cancel_channel->channel = channel;
+ cancel_channel->recall_id = recall_id;
+
+ cancel_channel->play = play;
+
+ return(cancel_channel);
+}
diff --git a/src/ags/audio/task/ags_cancel_channel.h b/src/ags/audio/task/ags_cancel_channel.h
new file mode 100644
index 0000000..fb05989
--- /dev/null
+++ b/src/ags/audio/task/ags_cancel_channel.h
@@ -0,0 +1,60 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CANCEL_CHANNEL_H__
+#define __AGS_CANCEL_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_CANCEL_CHANNEL (ags_cancel_channel_get_type())
+#define AGS_CANCEL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CANCEL_CHANNEL, AgsCancelChannel))
+#define AGS_CANCEL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CANCEL_CHANNEL, AgsCancelChannelClass))
+#define AGS_IS_CANCEL_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CANCEL_CHANNEL))
+#define AGS_IS_CANCEL_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CANCEL_CHANNEL))
+#define AGS_CANCEL_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CANCEL_CHANNEL, AgsCancelChannelClass))
+
+typedef struct _AgsCancelChannel AgsCancelChannel;
+typedef struct _AgsCancelChannelClass AgsCancelChannelClass;
+
+struct _AgsCancelChannel
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+
+ AgsDevoutPlay *play;
+};
+
+struct _AgsCancelChannelClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_cancel_channel_get_type();
+
+AgsCancelChannel* ags_cancel_channel_new(AgsChannel *channel, AgsRecallID *recall_id,
+ AgsDevoutPlay *play);
+
+#endif /*__AGS_CANCEL_CHANNEL_H__*/
diff --git a/src/ags/audio/task/ags_cancel_recall.c b/src/ags/audio/task/ags_cancel_recall.c
new file mode 100644
index 0000000..25567fc
--- /dev/null
+++ b/src/ags/audio/task/ags_cancel_recall.c
@@ -0,0 +1,186 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_cancel_recall.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_cancel_recall_class_init(AgsCancelRecallClass *cancel_recall);
+void ags_cancel_recall_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_cancel_recall_init(AgsCancelRecall *cancel_recall);
+void ags_cancel_recall_connect(AgsConnectable *connectable);
+void ags_cancel_recall_disconnect(AgsConnectable *connectable);
+void ags_cancel_recall_finalize(GObject *gobject);
+
+void ags_cancel_recall_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_cancel_recall
+ * @short_description: cancel recall object
+ * @title: AgsCancelRecall
+ * @section_id:
+ * @include: ags/audio/task/ags_cancel_recall.h
+ *
+ * The #AgsCancelRecall task cancels #AgsRecall playback.
+ */
+
+static gpointer ags_cancel_recall_parent_class = NULL;
+static AgsConnectableInterface *ags_cancel_recall_parent_connectable_interface;
+
+GType
+ags_cancel_recall_get_type()
+{
+ static GType ags_type_cancel_recall = 0;
+
+ if(!ags_type_cancel_recall){
+ static const GTypeInfo ags_cancel_recall_info = {
+ sizeof (AgsCancelRecallClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_cancel_recall_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsCancelRecall),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_cancel_recall_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_cancel_recall_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_cancel_recall = g_type_register_static(AGS_TYPE_TASK,
+ "AgsCancelRecall\0",
+ &ags_cancel_recall_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_cancel_recall,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_cancel_recall);
+}
+
+void
+ags_cancel_recall_class_init(AgsCancelRecallClass *cancel_recall)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_cancel_recall_parent_class = g_type_class_peek_parent(cancel_recall);
+
+ /* gobject */
+ gobject = (GObjectClass *) cancel_recall;
+
+ gobject->finalize = ags_cancel_recall_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) cancel_recall;
+
+ task->launch = ags_cancel_recall_launch;
+}
+
+void
+ags_cancel_recall_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_cancel_recall_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_cancel_recall_connect;
+ connectable->disconnect = ags_cancel_recall_disconnect;
+}
+
+void
+ags_cancel_recall_init(AgsCancelRecall *cancel_recall)
+{
+ cancel_recall->recall = NULL;
+
+ cancel_recall->play = NULL;
+}
+
+void
+ags_cancel_recall_connect(AgsConnectable *connectable)
+{
+ ags_cancel_recall_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_cancel_recall_disconnect(AgsConnectable *connectable)
+{
+ ags_cancel_recall_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_cancel_recall_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_cancel_recall_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_cancel_recall_launch(AgsTask *task)
+{
+ AgsRecall *recall;
+ AgsCancelRecall *cancel_recall;
+
+ cancel_recall = AGS_CANCEL_RECALL(task);
+
+ recall = cancel_recall->recall;
+ recall->flags |= AGS_RECALL_REMOVE;
+
+ /* cancel AgsRecall */
+ ags_recall_cancel(recall);
+
+ /* set remove flag */
+ if(cancel_recall->play != NULL)
+ cancel_recall->play->flags |= AGS_DEVOUT_PLAY_REMOVE;
+}
+
+/**
+ * ags_cancel_recall_new:
+ * @recall: the #AgsRecall to cancel
+ * @play: the #AgsDevoutPlay-struct
+ *
+ * Creates an #AgsCancelRecall.
+ *
+ * Returns: an new #AgsCancelRecall.
+ *
+ * Since: 0.4
+ */
+AgsCancelRecall*
+ags_cancel_recall_new(AgsRecall *recall,
+ AgsDevoutPlay *play)
+{
+ AgsCancelRecall *cancel_recall;
+
+ cancel_recall = (AgsCancelRecall *) g_object_new(AGS_TYPE_CANCEL_RECALL,
+ NULL);
+
+ cancel_recall->recall = recall;
+
+ cancel_recall->play = play;
+
+ return(cancel_recall);
+}
diff --git a/src/ags/audio/task/ags_cancel_recall.h b/src/ags/audio/task/ags_cancel_recall.h
new file mode 100644
index 0000000..f6853b6
--- /dev/null
+++ b/src/ags/audio/task/ags_cancel_recall.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CANCEL_RECALL_H__
+#define __AGS_CANCEL_RECALL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_recall.h>
+
+#define AGS_TYPE_CANCEL_RECALL (ags_cancel_recall_get_type())
+#define AGS_CANCEL_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CANCEL_RECALL, AgsCancelRecall))
+#define AGS_CANCEL_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CANCEL_RECALL, AgsCancelRecallClass))
+#define AGS_IS_CANCEL_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CANCEL_RECALL))
+#define AGS_IS_CANCEL_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CANCEL_RECALL))
+#define AGS_CANCEL_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CANCEL_RECALL, AgsCancelRecallClass))
+
+typedef struct _AgsCancelRecall AgsCancelRecall;
+typedef struct _AgsCancelRecallClass AgsCancelRecallClass;
+
+struct _AgsCancelRecall
+{
+ AgsTask task;
+
+ AgsRecall *recall;
+
+ AgsDevoutPlay *play;
+};
+
+struct _AgsCancelRecallClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_cancel_recall_get_type();
+
+AgsCancelRecall* ags_cancel_recall_new(AgsRecall *recall,
+ AgsDevoutPlay *play);
+
+#endif /*__AGS_CANCEL_RECALL_H__*/
diff --git a/src/ags/audio/task/ags_change_indicator.c b/src/ags/audio/task/ags_change_indicator.c
new file mode 100644
index 0000000..eda8b81
--- /dev/null
+++ b/src/ags/audio/task/ags_change_indicator.c
@@ -0,0 +1,182 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_change_indicator.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_change_indicator_class_init(AgsChangeIndicatorClass *change_indicator);
+void ags_change_indicator_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_change_indicator_init(AgsChangeIndicator *change_indicator);
+void ags_change_indicator_connect(AgsConnectable *connectable);
+void ags_change_indicator_disconnect(AgsConnectable *connectable);
+void ags_change_indicator_finalize(GObject *gobject);
+void ags_change_indicator_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_change_indicator
+ * @short_description: change indicator object
+ * @title: AgsChangeIndicator
+ * @section_id:
+ * @include: ags/audio/task/ags_change_indicator.h
+ *
+ * The #AgsChangeIndicator task changes #AgsIndicator and the GUI is updated.
+ */
+
+static gpointer ags_change_indicator_parent_class = NULL;
+static AgsConnectableInterface *ags_change_indicator_parent_connectable_interface;
+
+GType
+ags_change_indicator_get_type()
+{
+ static GType ags_type_change_indicator = 0;
+
+ if(!ags_type_change_indicator){
+ static const GTypeInfo ags_change_indicator_info = {
+ sizeof (AgsChangeIndicatorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_change_indicator_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsChangeIndicator),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_change_indicator_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_change_indicator_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_change_indicator = g_type_register_static(AGS_TYPE_TASK,
+ "AgsChangeIndicator\0",
+ &ags_change_indicator_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_change_indicator,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_change_indicator);
+}
+
+void
+ags_change_indicator_class_init(AgsChangeIndicatorClass *change_indicator)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_change_indicator_parent_class = g_type_class_peek_parent(change_indicator);
+
+ /* GObject */
+ gobject = (GObjectClass *) change_indicator;
+
+ gobject->finalize = ags_change_indicator_finalize;
+
+ /* AgsTask */
+ task = (AgsTaskClass *) change_indicator;
+
+ task->launch = ags_change_indicator_launch;
+}
+
+void
+ags_change_indicator_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_change_indicator_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_change_indicator_connect;
+ connectable->disconnect = ags_change_indicator_disconnect;
+}
+
+void
+ags_change_indicator_init(AgsChangeIndicator *change_indicator)
+{
+ change_indicator->indicator = NULL;
+ change_indicator->value = 0.0;
+}
+
+void
+ags_change_indicator_connect(AgsConnectable *connectable)
+{
+ ags_change_indicator_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_change_indicator_disconnect(AgsConnectable *connectable)
+{
+ ags_change_indicator_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_change_indicator_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_change_indicator_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_change_indicator_launch(AgsTask *task)
+{
+ AgsChangeIndicator *change_indicator;
+ GtkAdjustment *adjustment;
+
+ change_indicator = AGS_CHANGE_INDICATOR(task);
+
+ g_object_get(change_indicator->indicator,
+ "adjustment\0", &adjustment,
+ NULL);
+
+ gtk_adjustment_set_value(adjustment,
+ change_indicator->value);
+
+ gtk_widget_queue_draw(change_indicator->indicator);
+}
+
+/**
+ * ags_change_indicator_new:
+ * @indicator: the #AgsIndicator to change
+ * @value: the value to apply
+ *
+ * Creates an #AgsChangeIndicator.
+ *
+ * Returns: an new #AgsChangeIndicator.
+ *
+ * Since: 0.4
+ */
+AgsChangeIndicator*
+ags_change_indicator_new(AgsIndicator *indicator,
+ gdouble value)
+{
+ AgsChangeIndicator *change_indicator;
+
+ change_indicator = (AgsChangeIndicator *) g_object_new(AGS_TYPE_CHANGE_INDICATOR,
+ NULL);
+
+ change_indicator->indicator = indicator;
+ change_indicator->value = value;
+
+ return(change_indicator);
+}
diff --git a/src/ags/audio/task/ags_change_indicator.h b/src/ags/audio/task/ags_change_indicator.h
new file mode 100644
index 0000000..a0e4f7c
--- /dev/null
+++ b/src/ags/audio/task/ags_change_indicator.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CHANGE_INDICATOR_H__
+#define __AGS_CHANGE_INDICATOR_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/widget/ags_indicator.h>
+
+#define AGS_TYPE_CHANGE_INDICATOR (ags_change_indicator_get_type())
+#define AGS_CHANGE_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANGE_INDICATOR, AgsChangeIndicator))
+#define AGS_CHANGE_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANGE_INDICATOR, AgsChangeIndicatorClass))
+#define AGS_IS_CHANGE_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANGE_INDICATOR))
+#define AGS_IS_CHANGE_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CHANGE_INDICATOR))
+#define AGS_CHANGE_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANGE_INDICATOR, AgsChangeIndicatorClass))
+
+typedef struct _AgsChangeIndicator AgsChangeIndicator;
+typedef struct _AgsChangeIndicatorClass AgsChangeIndicatorClass;
+
+struct _AgsChangeIndicator
+{
+ AgsTask task;
+
+ AgsIndicator *indicator;
+ gdouble value;
+};
+
+struct _AgsChangeIndicatorClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_change_indicator_get_type();
+
+AgsChangeIndicator* ags_change_indicator_new(AgsIndicator *indicator,
+ gdouble value);
+
+#endif /*__AGS_CHANGE_INDICATOR_H__*/
diff --git a/src/ags/audio/task/ags_change_tact.c b/src/ags/audio/task/ags_change_tact.c
new file mode 100644
index 0000000..b40a689
--- /dev/null
+++ b/src/ags/audio/task/ags_change_tact.c
@@ -0,0 +1,171 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_change_tact.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+
+void ags_change_tact_class_init(AgsChangeTactClass *change_tact);
+void ags_change_tact_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_change_tact_init(AgsChangeTact *change_tact);
+void ags_change_tact_connect(AgsConnectable *connectable);
+void ags_change_tact_disconnect(AgsConnectable *connectable);
+void ags_change_tact_finalize(GObject *gobject);
+
+void ags_change_tact_launch(AgsTask *task);
+
+static gpointer ags_change_tact_parent_class = NULL;
+static AgsConnectableInterface *ags_change_tact_parent_connectable_interface;
+
+GType
+ags_change_tact_get_type()
+{
+ static GType ags_type_change_tact = 0;
+
+ if(!ags_type_change_tact){
+ static const GTypeInfo ags_change_tact_info = {
+ sizeof (AgsChangeTactClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_change_tact_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsChangeTact),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_change_tact_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_change_tact_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_change_tact = g_type_register_static(AGS_TYPE_TASK,
+ "AgsChangeTact\0",
+ &ags_change_tact_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_change_tact,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_change_tact);
+}
+
+void
+ags_change_tact_class_init(AgsChangeTactClass *change_tact)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_change_tact_parent_class = g_type_class_peek_parent(change_tact);
+
+ /* gobject */
+ gobject = (GObjectClass *) change_tact;
+
+ gobject->finalize = ags_change_tact_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) change_tact;
+
+ task->launch = ags_change_tact_launch;
+}
+
+void
+ags_change_tact_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_change_tact_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_change_tact_connect;
+ connectable->disconnect = ags_change_tact_disconnect;
+}
+
+void
+ags_change_tact_init(AgsChangeTact *change_tact)
+{
+ change_tact->navigation = NULL;
+}
+
+void
+ags_change_tact_connect(AgsConnectable *connectable)
+{
+ ags_change_tact_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_change_tact_disconnect(AgsConnectable *connectable)
+{
+ ags_change_tact_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_change_tact_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_change_tact_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_change_tact_launch(AgsTask *task)
+{
+ gdouble tact;
+
+ if(!gtk_toggle_button_get_active(AGS_CHANGE_TACT(task)->navigation->scroll)){
+ return;
+ }
+
+ AGS_CHANGE_TACT(task)->navigation->flags |= AGS_NAVIGATION_BLOCK_TACT;
+
+ tact = gtk_spin_button_get_value(AGS_CHANGE_TACT(task)->navigation->position_tact);
+
+ if(!gtk_toggle_button_get_active(AGS_CHANGE_TACT(task)->navigation->loop) ||
+ tact + AGS_NAVIGATION_DEFAULT_TACT_STEP < gtk_spin_button_get_value(AGS_CHANGE_TACT(task)->navigation->loop_right_tact)){
+ gtk_spin_button_set_value(AGS_CHANGE_TACT(task)->navigation->position_tact,
+ tact +
+ AGS_NAVIGATION_DEFAULT_TACT_STEP);
+ }else{
+ gtk_spin_button_set_value(AGS_CHANGE_TACT(task)->navigation->position_tact,
+ gtk_spin_button_get_value(AGS_CHANGE_TACT(task)->navigation->loop_left_tact));
+ }
+
+ AGS_CHANGE_TACT(task)->navigation->flags &= (~AGS_NAVIGATION_BLOCK_TACT);
+}
+
+AgsChangeTact*
+ags_change_tact_new(AgsNavigation *navigation)
+{
+ AgsChangeTact *change_tact;
+
+ change_tact = (AgsChangeTact *) g_object_new(AGS_TYPE_CHANGE_TACT,
+ NULL);
+
+ change_tact->navigation = navigation;
+
+ return(change_tact);
+}
diff --git a/src/ags/audio/task/ags_change_tact.h b/src/ags/audio/task/ags_change_tact.h
new file mode 100644
index 0000000..ef7a712
--- /dev/null
+++ b/src/ags/audio/task/ags_change_tact.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CHANGE_TACT_H__
+#define __AGS_CHANGE_TACT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/X/ags_navigation.h>
+
+#define AGS_TYPE_CHANGE_TACT (ags_change_tact_get_type())
+#define AGS_CHANGE_TACT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANGE_TACT, AgsChangeTact))
+#define AGS_CHANGE_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANGE_TACT, AgsChangeTactClass))
+#define AGS_IS_CHANGE_TACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANGE_TACT))
+#define AGS_IS_CHANGE_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CHANGE_TACT))
+#define AGS_CHANGE_TACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANGE_TACT, AgsChangeTactClass))
+
+typedef struct _AgsChangeTact AgsChangeTact;
+typedef struct _AgsChangeTactClass AgsChangeTactClass;
+
+struct _AgsChangeTact
+{
+ AgsTask task;
+
+ AgsNavigation *navigation;
+};
+
+struct _AgsChangeTactClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_change_tact_get_type();
+
+AgsChangeTact* ags_change_tact_new(AgsNavigation *navigation);
+
+#endif /*__AGS_CHANGE_TACT_H__*/
diff --git a/src/ags/audio/task/ags_channel_set_recycling.c b/src/ags/audio/task/ags_channel_set_recycling.c
new file mode 100644
index 0000000..b4dc1a1
--- /dev/null
+++ b/src/ags/audio/task/ags_channel_set_recycling.c
@@ -0,0 +1,190 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_channel_set_recycling.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_synths.h>
+
+#include <math.h>
+
+void ags_channel_set_recycling_class_init(AgsChannelSetRecyclingClass *channel_set_recycling);
+void ags_channel_set_recycling_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_channel_set_recycling_init(AgsChannelSetRecycling *channel_set_recycling);
+void ags_channel_set_recycling_connect(AgsConnectable *connectable);
+void ags_channel_set_recycling_disconnect(AgsConnectable *connectable);
+void ags_channel_set_recycling_finalize(GObject *gobject);
+
+void ags_channel_set_recycling_launch(AgsTask *task);
+
+static gpointer ags_channel_set_recycling_parent_class = NULL;
+static AgsConnectableInterface *ags_channel_set_recycling_parent_connectable_interface;
+
+GType
+ags_channel_set_recycling_get_type()
+{
+ static GType ags_type_channel_set_recycling = 0;
+
+ if(!ags_type_channel_set_recycling){
+ static const GTypeInfo ags_channel_set_recycling_info = {
+ sizeof (AgsChannelSetRecyclingClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_channel_set_recycling_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsChannelSetRecycling),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_channel_set_recycling_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_channel_set_recycling_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_channel_set_recycling = g_type_register_static(AGS_TYPE_TASK,
+ "AgsChannelSetRecycling\0",
+ &ags_channel_set_recycling_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_channel_set_recycling,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_channel_set_recycling);
+}
+
+void
+ags_channel_set_recycling_class_init(AgsChannelSetRecyclingClass *channel_set_recycling)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_channel_set_recycling_parent_class = g_type_class_peek_parent(channel_set_recycling);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) channel_set_recycling;
+
+ gobject->finalize = ags_channel_set_recycling_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) channel_set_recycling;
+
+ task->launch = ags_channel_set_recycling_launch;
+}
+
+void
+ags_channel_set_recycling_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_channel_set_recycling_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_channel_set_recycling_connect;
+ connectable->disconnect = ags_channel_set_recycling_disconnect;
+}
+
+void
+ags_channel_set_recycling_init(AgsChannelSetRecycling *channel_set_recycling)
+{
+ channel_set_recycling->channel = NULL;
+
+ channel_set_recycling->first_recycling = NULL;
+ channel_set_recycling->last_recycling = NULL;
+}
+
+void
+ags_channel_set_recycling_connect(AgsConnectable *connectable)
+{
+ ags_channel_set_recycling_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_channel_set_recycling_disconnect(AgsConnectable *connectable)
+{
+ ags_channel_set_recycling_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_channel_set_recycling_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_channel_set_recycling_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_channel_set_recycling_launch(AgsTask *task)
+{
+ AgsChannelSetRecycling *channel_set_recycling;
+ AgsChannel *link;
+ GError *error;
+
+ channel_set_recycling = AGS_CHANNEL_SET_RECYCLING(task);
+
+ link = channel_set_recycling->channel;
+
+ error = NULL;
+
+ ags_channel_set_link(channel_set_recycling->channel,
+ NULL,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ ags_channel_set_recycling(channel_set_recycling->channel,
+ channel_set_recycling->first_recycling,
+ channel_set_recycling->last_recycling,
+ TRUE, TRUE);
+
+ ags_channel_set_link(channel_set_recycling->channel,
+ link,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+}
+
+AgsChannelSetRecycling*
+ags_channel_set_recycling_new(AgsChannel *channel,
+ AgsRecycling *first_recycling,
+ AgsRecycling *last_recycling)
+{
+ AgsChannelSetRecycling *channel_set_recycling;
+
+ channel_set_recycling = (AgsChannelSetRecycling *) g_object_new(AGS_TYPE_CHANNEL_SET_RECYCLING,
+ NULL);
+
+ channel_set_recycling->channel = channel;
+
+ channel_set_recycling->first_recycling = first_recycling;
+ channel_set_recycling->last_recycling = last_recycling;
+
+ return(channel_set_recycling);
+}
diff --git a/src/ags/audio/task/ags_channel_set_recycling.h b/src/ags/audio/task/ags_channel_set_recycling.h
new file mode 100644
index 0000000..78aac3b
--- /dev/null
+++ b/src/ags/audio/task/ags_channel_set_recycling.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CHANNEL_SET_RECYCLING_H__
+#define __AGS_CHANNEL_SET_RECYCLING_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_CHANNEL_SET_RECYCLING (ags_channel_set_recycling_get_type())
+#define AGS_CHANNEL_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CHANNEL_SET_RECYCLING, AgsChannelSetRecycling))
+#define AGS_CHANNEL_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CHANNEL_SET_RECYCLING, AgsChannelSetRecyclingClass))
+#define AGS_IS_CHANNEL_SET_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CHANNEL_SET_RECYCLING))
+#define AGS_IS_CHANNEL_SET_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CHANNEL_SET_RECYCLING))
+#define AGS_CHANNEL_SET_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CHANNEL_SET_RECYCLING, AgsChannelSetRecyclingClass))
+
+typedef struct _AgsChannelSetRecycling AgsChannelSetRecycling;
+typedef struct _AgsChannelSetRecyclingClass AgsChannelSetRecyclingClass;
+
+struct _AgsChannelSetRecycling
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+
+ AgsRecycling *first_recycling;
+ AgsRecycling *last_recycling;
+};
+
+struct _AgsChannelSetRecyclingClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_channel_set_recycling_get_type();
+
+AgsChannelSetRecycling* ags_channel_set_recycling_new(AgsChannel *channel,
+ AgsRecycling *first_recycling,
+ AgsRecycling *last_recycling);
+
+#endif /*__AGS_CHANNEL_SET_RECYCLING_H__*/
+
diff --git a/src/ags/audio/task/ags_display_tact.c b/src/ags/audio/task/ags_display_tact.c
new file mode 100644
index 0000000..f8826c2
--- /dev/null
+++ b/src/ags/audio/task/ags_display_tact.c
@@ -0,0 +1,186 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_display_tact.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_navigation.h>
+
+#include <ags/main.h>
+
+void ags_display_tact_class_init(AgsDisplayTactClass *display_tact);
+void ags_display_tact_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_display_tact_init(AgsDisplayTact *display_tact);
+void ags_display_tact_connect(AgsConnectable *connectable);
+void ags_display_tact_disconnect(AgsConnectable *connectable);
+void ags_display_tact_finalize(GObject *gobject);
+
+void ags_display_tact_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_display_tact
+ * @short_description: display tact object
+ * @title: AgsDisplayTact
+ * @section_id:
+ * @include: ags/audio/task/ags_display_tact.h
+ *
+ * The #AgsDisplayTact task displays #AgsTact and the GUI is updated.
+ */
+
+static gpointer ags_display_tact_parent_class = NULL;
+static AgsConnectableInterface *ags_display_tact_parent_connectable_interface;
+
+GType
+ags_display_tact_get_type()
+{
+ static GType ags_type_display_tact = 0;
+
+ if(!ags_type_display_tact){
+ static const GTypeInfo ags_display_tact_info = {
+ sizeof (AgsDisplayTactClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_display_tact_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsDisplayTact),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_display_tact_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_display_tact_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_display_tact = g_type_register_static(AGS_TYPE_TASK,
+ "AgsDisplayTact\0",
+ &ags_display_tact_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_display_tact,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_display_tact);
+}
+
+void
+ags_display_tact_class_init(AgsDisplayTactClass *display_tact)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_display_tact_parent_class = g_type_class_peek_parent(display_tact);
+
+ /* gobject */
+ gobject = (GObjectClass *) display_tact;
+
+ gobject->finalize = ags_display_tact_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) display_tact;
+
+ task->launch = ags_display_tact_launch;
+}
+
+void
+ags_display_tact_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_display_tact_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_display_tact_connect;
+ connectable->disconnect = ags_display_tact_disconnect;
+}
+
+void
+ags_display_tact_init(AgsDisplayTact *display_tact)
+{
+ display_tact->navigation = NULL;
+}
+
+void
+ags_display_tact_connect(AgsConnectable *connectable)
+{
+ ags_display_tact_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_display_tact_disconnect(AgsConnectable *connectable)
+{
+ ags_display_tact_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_display_tact_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_display_tact_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_display_tact_launch(AgsTask *task)
+{
+ AgsDisplayTact *display_tact;
+ AgsNavigation *navigation;
+ gchar *timestr;
+
+ display_tact = AGS_DISPLAY_TACT(task);
+
+ navigation = AGS_NAVIGATION(display_tact->navigation);
+
+ // gtk_adjustment_set_value(navigation->position_tact->adjustment,
+ // navigation->position_tact->adjustment->value + (exp2(-4.0)));
+
+ timestr = ags_navigation_tact_to_time_string(navigation->position_tact->adjustment->value,
+ navigation->bpm->adjustment->value);
+ gtk_label_set_text(navigation->duration_time, timestr);
+
+ g_free(timestr);
+}
+
+/**
+ * ags_display_tact_new:
+ * @navigation: the #AgsNavigation to update
+ *
+ * Creates an #AgsDisplayTact.
+ *
+ * Returns: an new #AgsDisplayTact.
+ *
+ * Since: 0.4
+ */
+AgsDisplayTact*
+ags_display_tact_new(GtkWidget *navigation)
+{
+ AgsDisplayTact *display_tact;
+
+ display_tact = (AgsDisplayTact *) g_object_new(AGS_TYPE_DISPLAY_TACT,
+ NULL);
+
+ display_tact->navigation = navigation;
+
+ return(display_tact);
+}
diff --git a/src/ags/audio/task/ags_display_tact.h b/src/ags/audio/task/ags_display_tact.h
new file mode 100644
index 0000000..051ba66
--- /dev/null
+++ b/src/ags/audio/task/ags_display_tact.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DISPLAY_TACT_H__
+#define __AGS_DISPLAY_TACT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_DISPLAY_TACT (ags_display_tact_get_type())
+#define AGS_DISPLAY_TACT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DISPLAY_TACT, AgsDisplayTact))
+#define AGS_DISPLAY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DISPLAY_TACT, AgsDisplayTactClass))
+#define AGS_IS_DISPLAY_TACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DISPLAY_TACT))
+#define AGS_IS_DISPLAY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DISPLAY_TACT))
+#define AGS_DISPLAY_TACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DISPLAY_TACT, AgsDisplayTactClass))
+
+typedef struct _AgsDisplayTact AgsDisplayTact;
+typedef struct _AgsDisplayTactClass AgsDisplayTactClass;
+
+struct _AgsDisplayTact
+{
+ AgsTask task;
+
+ GtkWidget *navigation;
+};
+
+struct _AgsDisplayTactClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_display_tact_get_type();
+
+AgsDisplayTact* ags_display_tact_new(GtkWidget *navigation);
+
+#endif /*__AGS_DISPLAY_TACT_H__*/
diff --git a/src/ags/audio/task/ags_export_output.c b/src/ags/audio/task/ags_export_output.c
new file mode 100644
index 0000000..17717fd
--- /dev/null
+++ b/src/ags/audio/task/ags_export_output.c
@@ -0,0 +1,244 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_export_output.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_export_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+void ags_export_output_class_init(AgsExportOutputClass *export_output);
+void ags_export_output_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_export_output_init(AgsExportOutput *export_output);
+void ags_export_output_connect(AgsConnectable *connectable);
+void ags_export_output_disconnect(AgsConnectable *connectable);
+void ags_export_output_finalize(GObject *gobject);
+
+void ags_export_output_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_export_output
+ * @short_description: export output object
+ * @title: AgsExportOutput
+ * @section_id:
+ * @include: ags/audio/task/ags_export_output.h
+ *
+ * The #AgsExportOutput task exports #AgsDevout to file.
+ */
+
+static gpointer ags_export_output_parent_class = NULL;
+static AgsConnectableInterface *ags_export_output_parent_connectable_interface;
+
+GType
+ags_export_output_get_type()
+{
+ static GType ags_type_export_output = 0;
+
+ if(!ags_type_export_output){
+ static const GTypeInfo ags_export_output_info = {
+ sizeof (AgsExportOutputClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_export_output_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsExportOutput),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_export_output_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_export_output_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_export_output = g_type_register_static(AGS_TYPE_TASK,
+ "AgsExportOutput\0",
+ &ags_export_output_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_export_output,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_export_output);
+}
+
+void
+ags_export_output_class_init(AgsExportOutputClass *export_output)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_export_output_parent_class = g_type_class_peek_parent(export_output);
+
+ /* gobject */
+ gobject = (GObjectClass *) export_output;
+
+ gobject->finalize = ags_export_output_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) export_output;
+
+ task->launch = ags_export_output_launch;
+}
+
+void
+ags_export_output_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_export_output_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_export_output_connect;
+ connectable->disconnect = ags_export_output_disconnect;
+}
+
+void
+ags_export_output_init(AgsExportOutput *export_output)
+{
+ export_output->export_thread = NULL;
+ export_output->devout = NULL;
+ export_output->filename = NULL;
+ export_output->tic = 0;
+ export_output->live_performance = TRUE;
+}
+
+void
+ags_export_output_connect(AgsConnectable *connectable)
+{
+ ags_export_output_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_export_output_disconnect(AgsConnectable *connectable)
+{
+ ags_export_output_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_export_output_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_export_output_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_export_output_launch(AgsTask *task)
+{
+ AgsExportOutput *export_output;
+ AgsExportThread *export_thread;
+ AgsDevout *devout;
+ AgsAudioFile *audio_file;
+ gchar *filename;
+ guint tic;
+ guint val;
+
+ export_output = AGS_EXPORT_OUTPUT(task);
+ devout = export_output->devout;
+ export_thread = export_output->export_thread;
+ filename = export_output->filename;
+ tic = export_output->tic;
+
+ /* open read/write audio file */
+ audio_file = ags_audio_file_new(filename,
+ devout,
+ 0, devout->dsp_channels);
+
+ audio_file->samplerate = (int) devout->frequency;
+ audio_file->channels = devout->dsp_channels;
+
+ ags_audio_file_rw_open(audio_file,
+ TRUE);
+
+ g_message("export output");
+
+ /* start export thread */
+ export_thread->tic = tic;
+ g_object_set(G_OBJECT(export_thread),
+ "devout\0", devout,
+ "audio-file\0", audio_file,
+ NULL);
+ ags_thread_start(export_thread);
+
+ if((AGS_THREAD_SINGLE_LOOP & (AGS_THREAD(export_thread)->flags)) == 0){
+ pthread_mutex_lock(&(AGS_THREAD(export_thread)->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(export_thread)->flags));
+
+ if((AGS_THREAD_INITIAL_RUN & val) != 0){
+ while((AGS_THREAD_INITIAL_RUN & val) != 0){
+ pthread_cond_wait(&(AGS_THREAD(export_thread)->start_cond),
+ &(AGS_THREAD(export_thread)->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(export_thread)->flags));
+ }
+ }
+
+ pthread_mutex_unlock(&(AGS_THREAD(export_thread)->start_mutex));
+ }else{
+ g_atomic_int_or(&(AGS_THREAD(export_thread)->flags),
+ AGS_THREAD_RUNNING);
+ }
+}
+
+/**
+ * ags_export_output_new:
+ * @export_thread: the #AgsExportThread to start
+ * @devout: the #AgsDevout to export
+ * @filename: the filename to save
+ * @tic: stream duration in tact
+ * @live_performance: if %TRUE export is done during real-time
+ *
+ * Creates an #AgsExportOutput.
+ *
+ * Returns: an new #AgsExportOutput.
+ *
+ * Since: 0.4
+ */
+AgsExportOutput*
+ags_export_output_new(AgsExportThread *export_thread,
+ AgsDevout *devout,
+ gchar *filename,
+ guint tic,
+ gboolean live_performance)
+{
+ AgsExportOutput *export_output;
+
+ export_output = (AgsExportOutput *) g_object_new(AGS_TYPE_EXPORT_OUTPUT,
+ NULL);
+
+ export_output->export_thread = export_thread;
+ export_output->devout = devout;
+ export_output->filename = filename;
+ export_output->tic = tic;
+ export_output->live_performance = live_performance;
+
+ return(export_output);
+}
diff --git a/src/ags/audio/task/ags_export_output.h b/src/ags/audio/task/ags_export_output.h
new file mode 100644
index 0000000..3dab04e
--- /dev/null
+++ b/src/ags/audio/task/ags_export_output.h
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EXPORT_OUTPUT_H__
+#define __AGS_EXPORT_OUTPUT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/thread/ags_export_thread.h>
+
+#include <ags/X/ags_window.h>
+
+#define AGS_TYPE_EXPORT_OUTPUT (ags_export_output_get_type())
+#define AGS_EXPORT_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutput))
+#define AGS_EXPORT_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutputClass))
+#define AGS_IS_EXPORT_OUTPUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPORT_OUTPUT))
+#define AGS_IS_EXPORT_OUTPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPORT_OUTPUT))
+#define AGS_EXPORT_OUTPUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPORT_OUTPUT, AgsExportOutputClass))
+
+typedef struct _AgsExportOutput AgsExportOutput;
+typedef struct _AgsExportOutputClass AgsExportOutputClass;
+
+struct _AgsExportOutput
+{
+ AgsTask task;
+
+ AgsExportThread *export_thread;
+ AgsDevout *devout;
+ gchar *filename;
+ guint tic;
+ gboolean live_performance;
+};
+
+struct _AgsExportOutputClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_export_output_get_type();
+
+AgsExportOutput* ags_export_output_new(AgsExportThread *export_thread,
+ AgsDevout *devout,
+ gchar *filename,
+ guint tic,
+ gboolean live_performance);
+
+#endif /*__AGS_EXPORT_OUTPUT_H__*/
diff --git a/src/ags/audio/task/ags_free_selection.c b/src/ags/audio/task/ags_free_selection.c
new file mode 100644
index 0000000..51881e2
--- /dev/null
+++ b/src/ags/audio/task/ags_free_selection.c
@@ -0,0 +1,172 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_free_selection.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_free_selection_class_init(AgsFreeSelectionClass *free_selection);
+void ags_free_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_free_selection_init(AgsFreeSelection *free_selection);
+void ags_free_selection_connect(AgsConnectable *connectable);
+void ags_free_selection_disconnect(AgsConnectable *connectable);
+void ags_free_selection_finalize(GObject *gobject);
+
+void ags_free_selection_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_free_selection
+ * @short_description: free selection object
+ * @title: AgsFreeSelection
+ * @section_id:
+ * @include: ags/audio/task/ags_free_selection.h
+ *
+ * The #AgsFreeSelection task frees selection of #AgsNotation.
+ */
+
+static gpointer ags_free_selection_parent_class = NULL;
+static AgsConnectableInterface *ags_free_selection_parent_connectable_interface;
+
+GType
+ags_free_selection_get_type()
+{
+ static GType ags_type_free_selection = 0;
+
+ if(!ags_type_free_selection){
+ static const GTypeInfo ags_free_selection_info = {
+ sizeof (AgsFreeSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_free_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFreeSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_free_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_free_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_free_selection = g_type_register_static(AGS_TYPE_TASK,
+ "AgsFreeSelection\0",
+ &ags_free_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_free_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_free_selection);
+}
+
+void
+ags_free_selection_class_init(AgsFreeSelectionClass *free_selection)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_free_selection_parent_class = g_type_class_peek_parent(free_selection);
+
+ /* gobject */
+ gobject = (GObjectClass *) free_selection;
+
+ gobject->finalize = ags_free_selection_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) free_selection;
+
+ task->launch = ags_free_selection_launch;
+}
+
+void
+ags_free_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_free_selection_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_free_selection_connect;
+ connectable->disconnect = ags_free_selection_disconnect;
+}
+
+void
+ags_free_selection_init(AgsFreeSelection *free_selection)
+{
+ free_selection->notation = NULL;
+}
+
+void
+ags_free_selection_connect(AgsConnectable *connectable)
+{
+ ags_free_selection_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_free_selection_disconnect(AgsConnectable *connectable)
+{
+ ags_free_selection_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_free_selection_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_free_selection_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_free_selection_launch(AgsTask *task)
+{
+ AgsFreeSelection *free_selection;
+
+ free_selection = AGS_FREE_SELECTION(task);
+
+ /* add note */
+ ags_notation_free_selection(free_selection->notation);
+}
+
+/**
+ * ags_free_selection_new:
+ * @navigation: the #AgsNavigation
+ *
+ * Creates an #AgsFreeSelection.
+ *
+ * Returns: an new #AgsFreeSelection.
+ *
+ * Since: 0.4
+ */
+AgsFreeSelection*
+ags_free_selection_new(AgsNotation *notation)
+{
+ AgsFreeSelection *free_selection;
+
+ free_selection = (AgsFreeSelection *) g_object_new(AGS_TYPE_FREE_SELECTION,
+ NULL);
+
+ free_selection->notation = notation;
+
+ return(free_selection);
+}
diff --git a/src/ags/audio/task/ags_free_selection.h b/src/ags/audio/task/ags_free_selection.h
new file mode 100644
index 0000000..2572301
--- /dev/null
+++ b/src/ags/audio/task/ags_free_selection.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FREE_SELECTION_H__
+#define __AGS_FREE_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_FREE_SELECTION (ags_free_selection_get_type())
+#define AGS_FREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FREE_SELECTION, AgsFreeSelection))
+#define AGS_FREE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FREE_SELECTION, AgsFreeSelectionClass))
+#define AGS_IS_FREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_FREE_SELECTION))
+#define AGS_IS_FREE_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_FREE_SELECTION))
+#define AGS_FREE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_FREE_SELECTION, AgsFreeSelectionClass))
+
+typedef struct _AgsFreeSelection AgsFreeSelection;
+typedef struct _AgsFreeSelectionClass AgsFreeSelectionClass;
+
+struct _AgsFreeSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+};
+
+struct _AgsFreeSelectionClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_free_selection_get_type();
+
+AgsFreeSelection* ags_free_selection_new(AgsNotation *notation);
+
+#endif /*__AGS_FREE_SELECTION_H__*/
diff --git a/src/ags/audio/task/ags_init_audio.c b/src/ags/audio/task/ags_init_audio.c
new file mode 100644
index 0000000..467e1ae
--- /dev/null
+++ b/src/ags/audio/task/ags_init_audio.c
@@ -0,0 +1,232 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_init_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_init_audio_class_init(AgsInitAudioClass *init_audio);
+void ags_init_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_init_audio_init(AgsInitAudio *init_audio);
+void ags_init_audio_connect(AgsConnectable *connectable);
+void ags_init_audio_disconnect(AgsConnectable *connectable);
+void ags_init_audio_finalize(GObject *gobject);
+
+void ags_init_audio_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_init_audio
+ * @short_description: init audio object
+ * @title: AgsInitAudio
+ * @section_id:
+ * @include: ags/audio/task/ags_init_audio.h
+ *
+ * The #AgsInitAudio task inits #AgsAudio.
+ */
+
+static gpointer ags_init_audio_parent_class = NULL;
+static AgsConnectableInterface *ags_init_audio_parent_connectable_interface;
+
+GType
+ags_init_audio_get_type()
+{
+ static GType ags_type_init_audio = 0;
+
+ if(!ags_type_init_audio){
+ static const GTypeInfo ags_init_audio_info = {
+ sizeof (AgsInitAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_init_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsInitAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_init_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_init_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_init_audio = g_type_register_static(AGS_TYPE_TASK,
+ "AgsInitAudio\0",
+ &ags_init_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_init_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_init_audio);
+}
+
+void
+ags_init_audio_class_init(AgsInitAudioClass *init_audio)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_init_audio_parent_class = g_type_class_peek_parent(init_audio);
+
+ /* gobject */
+ gobject = (GObjectClass *) init_audio;
+
+ gobject->finalize = ags_init_audio_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) init_audio;
+
+ task->launch = ags_init_audio_launch;
+}
+
+void
+ags_init_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_init_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_init_audio_connect;
+ connectable->disconnect = ags_init_audio_disconnect;
+}
+
+void
+ags_init_audio_init(AgsInitAudio *init_audio)
+{
+ init_audio->audio = NULL;
+
+ init_audio->playback = FALSE;
+ init_audio->sequencer = FALSE;
+ init_audio->notation = FALSE;
+}
+
+void
+ags_init_audio_connect(AgsConnectable *connectable)
+{
+ ags_init_audio_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_init_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_init_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_init_audio_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_init_audio_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_init_audio_launch(AgsTask *task)
+{
+ AgsInitAudio *init_audio;
+ AgsAudio *audio;
+ AgsRecallID *recall_id;
+ GList *devout_play;
+ GList *list;
+
+ init_audio = AGS_INIT_AUDIO(task);
+
+ audio = init_audio->audio;
+
+ /* init audio */
+ if(init_audio->playback){
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+
+ list = ags_audio_recursive_play_init(audio,
+ TRUE, FALSE, FALSE);
+
+ while(list != NULL){
+ AGS_DEVOUT_PLAY(devout_play->data)->recall_id[0] = list->data;
+
+ devout_play = devout_play->next;
+ list = list->next;
+ }
+ }
+
+ if(init_audio->sequencer){
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+
+ list = ags_audio_recursive_play_init(audio,
+ FALSE, TRUE, FALSE);
+
+ while(list != NULL){
+ AGS_DEVOUT_PLAY(devout_play->data)->recall_id[1] = list->data;
+
+ devout_play = devout_play->next;
+ list = list->next;
+ }
+ }
+
+ if(init_audio->notation){
+ devout_play = AGS_DEVOUT_PLAY_DOMAIN(audio->devout_play_domain)->devout_play;
+
+ list = ags_audio_recursive_play_init(audio,
+ FALSE, FALSE, TRUE);
+
+ while(list != NULL){
+ AGS_DEVOUT_PLAY(devout_play->data)->recall_id[2] = list->data;
+
+ devout_play = devout_play->next;
+ list = list->next;
+ }
+ }
+}
+
+/**
+ * ags_init_audio_new:
+ * @audio: the #AgsAudio
+ * @playback: init playback
+ * @sequencer: init sequencer
+ * @notation: init notation
+ *
+ * Creates an #AgsInitAudio.
+ *
+ * Returns: an new #AgsInitAudio.
+ *
+ * Since: 0.4
+ */
+AgsInitAudio*
+ags_init_audio_new(AgsAudio *audio,
+ gboolean playback, gboolean sequencer, gboolean notation)
+{
+ AgsInitAudio *init_audio;
+
+ init_audio = (AgsInitAudio *) g_object_new(AGS_TYPE_INIT_AUDIO,
+ NULL);
+
+ init_audio->audio = audio;
+
+ init_audio->playback = playback;
+ init_audio->sequencer = sequencer;
+ init_audio->notation = notation;
+
+ return(init_audio);
+}
diff --git a/src/ags/audio/task/ags_init_audio.h b/src/ags/audio/task/ags_init_audio.h
new file mode 100644
index 0000000..2086fdf
--- /dev/null
+++ b/src/ags/audio/task/ags_init_audio.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_INIT_AUDIO_H__
+#define __AGS_INIT_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_INIT_AUDIO (ags_init_audio_get_type())
+#define AGS_INIT_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INIT_AUDIO, AgsInitAudio))
+#define AGS_INIT_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INIT_AUDIO, AgsInitAudioClass))
+#define AGS_IS_INIT_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INIT_AUDIO))
+#define AGS_IS_INIT_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INIT_AUDIO))
+#define AGS_INIT_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INIT_AUDIO, AgsInitAudioClass))
+
+typedef struct _AgsInitAudio AgsInitAudio;
+typedef struct _AgsInitAudioClass AgsInitAudioClass;
+
+struct _AgsInitAudio
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+
+struct _AgsInitAudioClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_init_audio_get_type();
+
+AgsInitAudio* ags_init_audio_new(AgsAudio *audio,
+ gboolean playback, gboolean sequencer, gboolean notation);
+
+#endif /*__AGS_INIT_AUDIO_H__*/
diff --git a/src/ags/audio/task/ags_init_channel.c b/src/ags/audio/task/ags_init_channel.c
new file mode 100644
index 0000000..e56e3d7
--- /dev/null
+++ b/src/ags/audio/task/ags_init_channel.c
@@ -0,0 +1,323 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_init_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_init_channel_class_init(AgsInitChannelClass *init_channel);
+void ags_init_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_init_channel_init(AgsInitChannel *init_channel);
+void ags_init_channel_connect(AgsConnectable *connectable);
+void ags_init_channel_disconnect(AgsConnectable *connectable);
+void ags_init_channel_finalize(GObject *gobject);
+
+void ags_init_channel_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_init_channel
+ * @short_description: init channel object
+ * @title: AgsInitChannel
+ * @section_id:
+ * @include: ags/audio/task/ags_init_channel.h
+ *
+ * The #AgsInitChannel task inits #AgsChannel.
+ */
+
+static gpointer ags_init_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_init_channel_parent_connectable_interface;
+
+GType
+ags_init_channel_get_type()
+{
+ static GType ags_type_init_channel = 0;
+
+ if(!ags_type_init_channel){
+ static const GTypeInfo ags_init_channel_info = {
+ sizeof (AgsInitChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_init_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsInitChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_init_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_init_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_init_channel = g_type_register_static(AGS_TYPE_TASK,
+ "AgsInitChannel\0",
+ &ags_init_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_init_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_init_channel);
+}
+
+void
+ags_init_channel_class_init(AgsInitChannelClass *init_channel)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_init_channel_parent_class = g_type_class_peek_parent(init_channel);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) init_channel;
+
+ gobject->finalize = ags_init_channel_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) init_channel;
+
+ task->launch = ags_init_channel_launch;
+}
+
+void
+ags_init_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_init_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_init_channel_connect;
+ connectable->disconnect = ags_init_channel_disconnect;
+}
+
+void
+ags_init_channel_init(AgsInitChannel *init_channel)
+{
+ init_channel->channel = NULL;
+ init_channel->play_pad = FALSE;
+
+ init_channel->playback = FALSE;
+ init_channel->sequencer = FALSE;
+ init_channel->notation = FALSE;
+}
+
+void
+ags_init_channel_connect(AgsConnectable *connectable)
+{
+ ags_init_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_init_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_init_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_init_channel_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_init_channel_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_init_channel_launch(AgsTask *task)
+{
+ AgsChannel *channel;
+ AgsInitChannel *init_channel;
+ AgsRecallID *recall_id;
+ GList *list, *list_start;
+
+ init_channel = AGS_INIT_CHANNEL(task);
+
+ list = NULL;
+ list_start = NULL;
+
+ /* init channel */
+ if(init_channel->play_pad){
+ AgsChannel *next_pad;
+ gint stage;
+ gboolean arrange_recall_id, duplicate_templates, resolve_dependencies;
+
+ next_pad = init_channel->channel->next_pad;
+
+ for(stage = 0; stage < 3; stage++){
+
+ channel = init_channel->channel;
+ list = list_start;
+
+ if(stage == 0){
+ arrange_recall_id = TRUE;
+ duplicate_templates = TRUE;
+ resolve_dependencies = TRUE;
+ }else{
+ arrange_recall_id = FALSE;
+ duplicate_templates = FALSE;
+ resolve_dependencies = FALSE;
+ }
+
+ while(channel != next_pad){
+ if(stage == 0){
+ if(init_channel->playback){
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_PLAYBACK;
+
+ recall_id = ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ TRUE, FALSE, FALSE,
+ resolve_dependencies,
+ NULL);
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] = recall_id;
+ }
+
+ if(init_channel->sequencer){
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_SEQUENCER;
+
+ recall_id = ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ FALSE, TRUE, FALSE,
+ resolve_dependencies,
+ NULL);
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1] = recall_id;
+ }
+
+ if(init_channel->notation){
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_NOTATION;
+
+ recall_id = ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ FALSE, FALSE, TRUE,
+ resolve_dependencies,
+ NULL);
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2] = recall_id;
+ }
+
+ list_start = g_list_append(list_start,
+ recall_id);
+ }else{
+ if(init_channel->playback){
+ ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ TRUE, FALSE, FALSE,
+ resolve_dependencies,
+ AGS_RECALL_ID(list->data));
+ }
+
+ if(init_channel->sequencer){
+ ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ FALSE, TRUE, FALSE,
+ resolve_dependencies,
+ AGS_RECALL_ID(list->data));
+ }
+
+ if(init_channel->notation){
+ ags_channel_recursive_play_init(channel, stage,
+ arrange_recall_id, duplicate_templates,
+ FALSE, FALSE, TRUE,
+ resolve_dependencies,
+ AGS_RECALL_ID(list->data));
+
+ }
+
+ list = list->next;
+ }
+
+ channel = channel->next;
+ }
+ }
+ }else{
+ AgsRecallID *recall_id;
+
+ channel = init_channel->channel;
+
+ if(init_channel->playback){
+ recall_id = ags_channel_recursive_play_init(init_channel->channel, -1,
+ TRUE, TRUE,
+ TRUE, FALSE, FALSE,
+ TRUE,
+ NULL);
+
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_PLAYBACK;
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[0] = recall_id;
+ }
+
+ if(init_channel->sequencer){
+ recall_id = ags_channel_recursive_play_init(init_channel->channel, -1,
+ TRUE, TRUE,
+ FALSE, TRUE, FALSE,
+ TRUE,
+ NULL);
+
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_SEQUENCER;
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[1] = recall_id;
+ }
+
+ if(init_channel->notation){
+ recall_id = ags_channel_recursive_play_init(init_channel->channel, -1,
+ TRUE, TRUE,
+ FALSE, FALSE, TRUE,
+ TRUE,
+ NULL);
+
+ AGS_DEVOUT_PLAY(channel->devout_play)->flags |= AGS_DEVOUT_PLAY_NOTATION;
+ AGS_DEVOUT_PLAY(channel->devout_play)->recall_id[2] = recall_id;
+ }
+ }
+}
+
+/**
+ * ags_init_channel_new:
+ * @channel: the #AgsChannel
+ * @play_pad: %TRUE all channels of accordig pad are initialized
+ * @playback: init playback
+ * @sequencer: init sequencer
+ * @notation: init notation
+ *
+ * Creates an #AgsInitChannel.
+ *
+ * Returns: an new #AgsInitChannel.
+ *
+ * Since: 0.4
+ */
+AgsInitChannel*
+ags_init_channel_new(AgsChannel *channel, gboolean play_pad,
+ gboolean playback, gboolean sequencer, gboolean notation)
+{
+ AgsInitChannel *init_channel;
+
+ init_channel = (AgsInitChannel *) g_object_new(AGS_TYPE_INIT_CHANNEL,
+ NULL);
+
+ init_channel->channel = channel;
+ init_channel->play_pad = play_pad;
+
+ init_channel->playback = playback;
+ init_channel->sequencer = sequencer;
+ init_channel->notation = notation;
+
+ return(init_channel);
+}
diff --git a/src/ags/audio/task/ags_init_channel.h b/src/ags/audio/task/ags_init_channel.h
new file mode 100644
index 0000000..05e6f9d
--- /dev/null
+++ b/src/ags/audio/task/ags_init_channel.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_INIT_CHANNEL_H__
+#define __AGS_INIT_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_INIT_CHANNEL (ags_init_channel_get_type())
+#define AGS_INIT_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INIT_CHANNEL, AgsInitChannel))
+#define AGS_INIT_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INIT_CHANNEL, AgsInitChannelClass))
+#define AGS_IS_INIT_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INIT_CHANNEL))
+#define AGS_IS_INIT_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INIT_CHANNEL))
+#define AGS_INIT_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INIT_CHANNEL, AgsInitChannelClass))
+
+typedef struct _AgsInitChannel AgsInitChannel;
+typedef struct _AgsInitChannelClass AgsInitChannelClass;
+
+struct _AgsInitChannel
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ gboolean play_pad;
+
+ gboolean playback;
+ gboolean sequencer;
+ gboolean notation;
+};
+
+struct _AgsInitChannelClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_init_channel_get_type();
+
+AgsInitChannel* ags_init_channel_new(AgsChannel *channel, gboolean play_pad,
+ gboolean playback, gboolean sequencer, gboolean notation);
+
+#endif /*__AGS_INIT_CHANNEL_H__*/
diff --git a/src/ags/audio/task/ags_link_channel.c b/src/ags/audio/task/ags_link_channel.c
new file mode 100644
index 0000000..6886208
--- /dev/null
+++ b/src/ags/audio/task/ags_link_channel.c
@@ -0,0 +1,182 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_link_channel.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_link_channel_class_init(AgsLinkChannelClass *link_channel);
+void ags_link_channel_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_link_channel_init(AgsLinkChannel *link_channel);
+void ags_link_channel_connect(AgsConnectable *connectable);
+void ags_link_channel_disconnect(AgsConnectable *connectable);
+void ags_link_channel_finalize(GObject *gobject);
+
+void ags_link_channel_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_link_channel
+ * @short_description: link channel object
+ * @title: AgsLinkChannel
+ * @section_id:
+ * @include: ags/audio/task/ags_link_channel.h
+ *
+ * The #AgsLinkChannel task links #AgsChannel.
+ */
+
+static gpointer ags_link_channel_parent_class = NULL;
+static AgsConnectableInterface *ags_link_channel_parent_connectable_interface;
+
+GType
+ags_link_channel_get_type()
+{
+ static GType ags_type_link_channel = 0;
+
+ if(!ags_type_link_channel){
+ static const GTypeInfo ags_link_channel_info = {
+ sizeof (AgsLinkChannelClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_link_channel_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLinkChannel),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_link_channel_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_link_channel_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_link_channel = g_type_register_static(AGS_TYPE_TASK,
+ "AgsLinkChannel\0",
+ &ags_link_channel_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_link_channel,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_link_channel);
+}
+
+void
+ags_link_channel_class_init(AgsLinkChannelClass *link_channel)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_link_channel_parent_class = g_type_class_peek_parent(link_channel);
+
+ /* GObject */
+ gobject = (GObjectClass *) link_channel;
+
+ gobject->finalize = ags_link_channel_finalize;
+
+ /* AgsTask */
+ task = (AgsTaskClass *) link_channel;
+
+ task->launch = ags_link_channel_launch;
+}
+
+void
+ags_link_channel_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_link_channel_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_link_channel_connect;
+ connectable->disconnect = ags_link_channel_disconnect;
+}
+
+void
+ags_link_channel_init(AgsLinkChannel *link_channel)
+{
+ link_channel->channel = NULL;
+ link_channel->link = NULL;
+
+ link_channel->error = NULL;
+}
+
+void
+ags_link_channel_connect(AgsConnectable *connectable)
+{
+ ags_link_channel_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_link_channel_disconnect(AgsConnectable *connectable)
+{
+ ags_link_channel_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_link_channel_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_link_channel_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_link_channel_launch(AgsTask *task)
+{
+ AgsLinkChannel *link_channel;
+
+ link_channel = AGS_LINK_CHANNEL(task);
+
+ /* link channel */
+ ags_channel_set_link(link_channel->channel, link_channel->link,
+ &(link_channel->error));
+
+ if(link_channel->error != NULL){
+ g_message(link_channel->error->message);
+ }
+}
+
+/**
+ * ags_link_channel_new:
+ * @channel: the #AgsChannel
+ * @play_pad: the #AgsChannel to be linked, may be %NULL
+ *
+ * Creates an #AgsLinkChannel.
+ *
+ * Returns: an new #AgsLinkChannel.
+ *
+ * Since: 0.4
+ */
+AgsLinkChannel*
+ags_link_channel_new(AgsChannel *channel, AgsChannel *link)
+{
+ AgsLinkChannel *link_channel;
+
+ link_channel = (AgsLinkChannel *) g_object_new(AGS_TYPE_LINK_CHANNEL,
+ NULL);
+
+ link_channel->channel = channel;
+ link_channel->link = link;
+
+ return(link_channel);
+}
diff --git a/src/ags/audio/task/ags_link_channel.h b/src/ags/audio/task/ags_link_channel.h
new file mode 100644
index 0000000..032c505
--- /dev/null
+++ b/src/ags/audio/task/ags_link_channel.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LINK_CHANNEL_H__
+#define __AGS_LINK_CHANNEL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_LINK_CHANNEL (ags_link_channel_get_type())
+#define AGS_LINK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LINK_CHANNEL, AgsLinkChannel))
+#define AGS_LINK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LINK_CHANNEL, AgsLinkChannelClass))
+#define AGS_IS_LINK_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LINK_CHANNEL))
+#define AGS_IS_LINK_CHANNEL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_LINK_CHANNEL))
+#define AGS_LINK_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LINK_CHANNEL, AgsLinkChannelClass))
+
+typedef struct _AgsLinkChannel AgsLinkChannel;
+typedef struct _AgsLinkChannelClass AgsLinkChannelClass;
+
+struct _AgsLinkChannel
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsChannel *link;
+
+ GError *error;
+};
+
+struct _AgsLinkChannelClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_link_channel_get_type();
+
+AgsLinkChannel* ags_link_channel_new(AgsChannel *channel, AgsChannel *link);
+
+#endif /*__AGS_LINK_CHANNEL_H__*/
diff --git a/src/ags/audio/task/ags_open_file.c b/src/ags/audio/task/ags_open_file.c
new file mode 100644
index 0000000..a77f027
--- /dev/null
+++ b/src/ags/audio/task/ags_open_file.c
@@ -0,0 +1,305 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_open_file.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/file/ags_file_link.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <ags/X/ags_machine.h>
+
+void ags_open_file_class_init(AgsOpenFileClass *open_file);
+void ags_open_file_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_open_file_init(AgsOpenFile *open_file);
+void ags_open_file_connect(AgsConnectable *connectable);
+void ags_open_file_disconnect(AgsConnectable *connectable);
+void ags_open_file_finalize(GObject *gobject);
+void ags_open_file_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_open_file
+ * @short_description: open file object
+ * @title: AgsOpenFile
+ * @section_id:
+ * @include: ags/audio/task/ags_open_file.h
+ *
+ * The #AgsOpenFile task opens files.
+ */
+
+static gpointer ags_open_file_parent_class = NULL;
+static AgsConnectableInterface *ags_open_file_parent_connectable_interface;
+
+GType
+ags_open_file_get_type()
+{
+ static GType ags_type_open_file = 0;
+
+ if(!ags_type_open_file){
+ static const GTypeInfo ags_open_file_info = {
+ sizeof (AgsOpenFileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_open_file_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsOpenFile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_open_file_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_open_file_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_open_file = g_type_register_static(AGS_TYPE_TASK,
+ "AgsOpenFile\0",
+ &ags_open_file_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_open_file,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_open_file);
+}
+
+void
+ags_open_file_class_init(AgsOpenFileClass *open_file)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_open_file_parent_class = g_type_class_peek_parent(open_file);
+
+ /* GObject */
+ gobject = (GObjectClass *) open_file;
+
+ gobject->finalize = ags_open_file_finalize;
+
+ /* AgsTask */
+ task = (AgsTaskClass *) open_file;
+
+ task->launch = ags_open_file_launch;
+}
+
+void
+ags_open_file_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_open_file_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_open_file_connect;
+ connectable->disconnect = ags_open_file_disconnect;
+}
+
+void
+ags_open_file_init(AgsOpenFile *open_file)
+{
+ open_file->audio = NULL;
+ open_file->filenames = NULL;
+ open_file->overwrite_channels = FALSE;
+ open_file->create_channels = FALSE;
+}
+
+void
+ags_open_file_connect(AgsConnectable *connectable)
+{
+ ags_open_file_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_open_file_disconnect(AgsConnectable *connectable)
+{
+ ags_open_file_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_open_file_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_open_file_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_open_file_launch(AgsTask *task)
+{
+ AgsOpenFile *open_file;
+ AgsAudio *audio;
+ AgsChannel *channel, *iter;
+ AgsAudioFile *audio_file;
+ AgsFileLink *file_link;
+ GSList *current;
+ GList *audio_signal;
+ gchar *current_filename;
+ guint i, i_stop;
+ GError *error;
+
+ open_file = AGS_OPEN_FILE(task);
+
+ audio = open_file->audio;
+
+ current = open_file->filenames;
+
+ i_stop = 0;
+
+ if(open_file->overwrite_channels){
+ channel = audio->input;
+
+ i_stop = audio->input_pads;
+ }
+
+ /* */
+ if(open_file->create_channels){
+ AgsMachine *machine;
+ GList *list;
+ guint pads_old;
+
+ i_stop = g_slist_length(open_file->filenames);
+ pads_old = audio->input_pads;
+
+ if(open_file->overwrite_channels){
+ if(i_stop > audio->input_pads){
+ ags_audio_set_pads(audio, AGS_TYPE_INPUT,
+ i_stop);
+ }
+
+ channel = audio->input;
+ }else{
+ ags_audio_set_pads(audio, AGS_TYPE_INPUT,
+ audio->input_pads + i_stop);
+
+ channel = ags_channel_pad_nth(audio->input,
+ pads_old);
+ }
+
+ iter = ags_channel_pad_nth(audio->input,
+ pads_old);
+
+ while(iter != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(iter));
+
+ iter = iter->next;
+ }
+
+ machine = audio->machine;
+ list = gtk_container_get_children(machine->input);
+ list = g_list_nth(list,
+ pads_old);
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+ gtk_widget_show_all(list->data);
+
+ list = list->next;
+ }
+ }
+
+ for(i = 0; i < i_stop && current != NULL; i++){
+ current_filename = (gchar *) current->data;
+
+ audio_file = ags_audio_file_new((gchar *) current_filename,
+ AGS_DEVOUT(audio->devout),
+ 0, open_file->audio->audio_channels);
+
+ ags_audio_file_open(audio_file);
+ ags_audio_file_read_audio_signal(audio_file);
+
+ iter = channel;
+ audio_signal = audio_file->audio_signal;
+
+ while(iter != channel->next_pad && audio_signal != NULL){
+ file_link = g_object_new(AGS_TYPE_FILE_LINK,
+ "filename\0", current_filename,
+ NULL);
+ g_object_set(G_OBJECT(iter),
+ "file-link", file_link,
+ NULL);
+
+ AGS_AUDIO_SIGNAL(audio_signal->data)->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+
+ if(iter->link != NULL){
+ error = NULL;
+
+ ags_channel_set_link(iter, NULL,
+ &error);
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+ }
+
+ //TODO:JK: add mutex
+ ags_recycling_add_audio_signal(iter->first_recycling,
+ AGS_AUDIO_SIGNAL(audio_signal->data));
+
+ audio_signal = audio_signal->next;
+ iter = iter->next;
+ }
+
+ channel = channel->next_pad;
+ current = current->next;
+ }
+}
+
+/**
+ * ags_open_file_new:
+ * @file: the #AgsFile
+ * @filenames: the filenames to be opened
+ * @overwrite_channels: reset existing #AgsInput
+ * @create_channels: inistantiate new #AgsInput, if @overwrite_channell as needed
+ * else for sure
+ *
+ * Creates an #AgsOpenFile.
+ *
+ * Returns: an new #AgsOpenFile.
+ *
+ * Since: 0.4
+ */
+AgsOpenFile*
+ags_open_file_new(AgsAudio *audio,
+ GSList *filenames,
+ gboolean overwrite_channels,
+ gboolean create_channels)
+{
+ AgsOpenFile *open_file;
+
+ open_file = (AgsOpenFile *) g_object_new(AGS_TYPE_OPEN_FILE,
+ NULL);
+
+ open_file->audio = audio;
+ open_file->filenames = filenames;
+ open_file->overwrite_channels = overwrite_channels;
+ open_file->create_channels = create_channels;
+
+ return(open_file);
+}
diff --git a/src/ags/audio/task/ags_open_file.h b/src/ags/audio/task/ags_open_file.h
new file mode 100644
index 0000000..7f66208
--- /dev/null
+++ b/src/ags/audio/task/ags_open_file.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_OPEN_FILE_H__
+#define __AGS_OPEN_FILE_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_OPEN_FILE (ags_open_file_get_type())
+#define AGS_OPEN_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_FILE, AgsOpenFile))
+#define AGS_OPEN_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_FILE, AgsOpenFileClass))
+#define AGS_IS_OPEN_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_FILE))
+#define AGS_IS_OPEN_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPEN_FILE))
+#define AGS_OPEN_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_FILE, AgsOpenFileClass))
+
+typedef struct _AgsOpenFile AgsOpenFile;
+typedef struct _AgsOpenFileClass AgsOpenFileClass;
+
+struct _AgsOpenFile
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+
+ GSList *filenames;
+
+ gboolean overwrite_channels;
+ gboolean create_channels;
+};
+
+struct _AgsOpenFileClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_open_file_get_type();
+
+AgsOpenFile* ags_open_file_new(AgsAudio *audio,
+ GSList *filenames,
+ gboolean overwrite_channels,
+ gboolean create_channels);
+
+#endif /*__AGS_OPEN_FILE_H__*/
diff --git a/src/ags/audio/task/ags_open_single_file.c b/src/ags/audio/task/ags_open_single_file.c
new file mode 100644
index 0000000..72b3ebb
--- /dev/null
+++ b/src/ags/audio/task/ags_open_single_file.c
@@ -0,0 +1,227 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_open_single_file.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/file/ags_file_link.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+void ags_open_single_file_class_init(AgsOpenSingleFileClass *open_single_file);
+void ags_open_single_file_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_open_single_file_init(AgsOpenSingleFile *open_single_file);
+void ags_open_single_file_connect(AgsConnectable *connectable);
+void ags_open_single_file_disconnect(AgsConnectable *connectable);
+void ags_open_single_file_finalize(GObject *gobject);
+void ags_open_single_file_launch(AgsTask *task);
+
+static gpointer ags_open_single_file_parent_class = NULL;
+static AgsConnectableInterface *ags_open_single_file_parent_connectable_interface;
+
+GType
+ags_open_single_file_get_type()
+{
+ static GType ags_type_open_single_file = 0;
+
+ if(!ags_type_open_single_file){
+ static const GTypeInfo ags_open_single_file_info = {
+ sizeof (AgsOpenSingleFileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_open_single_file_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsOpenSingleFile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_open_single_file_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_open_single_file_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_open_single_file = g_type_register_static(AGS_TYPE_TASK,
+ "AgsOpenSingleFile\0",
+ &ags_open_single_file_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_open_single_file,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_open_single_file);
+}
+
+void
+ags_open_single_file_class_init(AgsOpenSingleFileClass *open_single_file)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_open_single_file_parent_class = g_type_class_peek_parent(open_single_file);
+
+ /* GObject */
+ gobject = (GObjectClass *) open_single_file;
+
+ gobject->finalize = ags_open_single_file_finalize;
+
+ /* AgsTask */
+ task = (AgsTaskClass *) open_single_file;
+
+ task->launch = ags_open_single_file_launch;
+}
+
+void
+ags_open_single_file_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_open_single_file_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_open_single_file_connect;
+ connectable->disconnect = ags_open_single_file_disconnect;
+}
+
+void
+ags_open_single_file_init(AgsOpenSingleFile *open_single_file)
+{
+ open_single_file->channel = NULL;
+ open_single_file->devout = NULL;
+ open_single_file->filename = NULL;
+ open_single_file->start_channel = 0;
+ open_single_file->audio_channels = 0;
+}
+
+void
+ags_open_single_file_connect(AgsConnectable *connectable)
+{
+ ags_open_single_file_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_open_single_file_disconnect(AgsConnectable *connectable)
+{
+ ags_open_single_file_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_open_single_file_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_open_single_file_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_open_single_file_launch(AgsTask *task)
+{
+ AgsOpenSingleFile *open_single_file;
+ AgsChannel *channel;
+ AgsFileLink *file_link;
+ AgsAudioSignal *old_template;
+ AgsAudioFile *audio_file;
+ GList *audio_signal;
+ guint i;
+ GError *error;
+
+ open_single_file = AGS_OPEN_SINGLE_FILE(task);
+
+ /* open audio file and read audio signal */
+ audio_file = ags_audio_file_new(open_single_file->filename,
+ open_single_file->devout,
+ open_single_file->start_channel, open_single_file->audio_channels);
+
+ ags_audio_file_open(audio_file);
+ ags_audio_file_read_audio_signal(audio_file);
+
+ /* iterate channels */
+ channel = open_single_file->channel;
+ audio_signal = audio_file->audio_signal;
+
+ for(i = 0; i < open_single_file->audio_channels; i++){
+ /* unset link */
+ if(channel->link != NULL){
+ error = NULL;
+ ags_channel_set_link(channel, NULL,
+ &error);
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+ }
+
+ file_link = g_object_new(AGS_TYPE_FILE_LINK,
+ "filename\0", open_single_file->filename,
+ NULL);
+ g_object_set(G_OBJECT(channel),
+ "file-link\0", file_link,
+ NULL);
+
+ /* mark as template */
+ AGS_AUDIO_SIGNAL(audio_signal->data)->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+
+ /* old source */
+ old_template = ags_audio_signal_get_template(channel->first_recycling->audio_signal);
+
+ /* add as template */
+ ags_recycling_add_audio_signal(channel->first_recycling,
+ AGS_AUDIO_SIGNAL(audio_signal->data));
+
+ /* remove old template */
+ ags_recycling_remove_audio_signal(channel->first_recycling,
+ old_template);
+
+ /* iterate */
+ channel = channel->next;
+ audio_signal = audio_signal->next;
+ }
+
+ g_object_unref(audio_file);
+}
+
+AgsOpenSingleFile*
+ags_open_single_file_new(AgsChannel *channel,
+ AgsDevout *devout,
+ gchar *filename,
+ guint start_channel,
+ guint audio_channels)
+{
+ AgsOpenSingleFile *open_single_file;
+
+ open_single_file = (AgsOpenSingleFile *) g_object_new(AGS_TYPE_OPEN_SINGLE_FILE,
+ NULL);
+
+ open_single_file->channel = channel;
+ open_single_file->devout = devout;
+ open_single_file->filename = filename;
+ open_single_file->start_channel = start_channel;
+ open_single_file->audio_channels = audio_channels;
+
+ return(open_single_file);
+}
diff --git a/src/ags/audio/task/ags_open_single_file.h b/src/ags/audio/task/ags_open_single_file.h
new file mode 100644
index 0000000..5989647
--- /dev/null
+++ b/src/ags/audio/task/ags_open_single_file.h
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_OPEN_SINGLE_FILE_H__
+#define __AGS_OPEN_SINGLE_FILE_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_OPEN_SINGLE_FILE (ags_open_single_file_get_type())
+#define AGS_OPEN_SINGLE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFile))
+#define AGS_OPEN_SINGLE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFileClass))
+#define AGS_IS_OPEN_SINGLE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_SINGLE_FILE))
+#define AGS_IS_OPEN_SINGLE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPEN_SINGLE_FILE))
+#define AGS_OPEN_SINGLE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFileClass))
+
+typedef struct _AgsOpenSingleFile AgsOpenSingleFile;
+typedef struct _AgsOpenSingleFileClass AgsOpenSingleFileClass;
+
+struct _AgsOpenSingleFile
+{
+ AgsTask task;
+
+ AgsChannel *channel;
+ AgsDevout *devout;
+
+ gchar *filename;
+ guint start_channel;
+ guint audio_channels;
+};
+
+struct _AgsOpenSingleFileClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_open_single_file_get_type();
+
+AgsOpenSingleFile* ags_open_single_file_new(AgsChannel *channel,
+ AgsDevout *devout,
+ gchar *filename,
+ guint start_channel,
+ guint audio_channels);
+
+#endif /*__AGS_OPEN_SINGLE_FILE_H__*/
diff --git a/src/ags/audio/task/ags_remove_audio.c b/src/ags/audio/task/ags_remove_audio.c
new file mode 100644
index 0000000..e283546
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_audio.c
@@ -0,0 +1,177 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_remove_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_remove_audio_class_init(AgsRemoveAudioClass *remove_audio);
+void ags_remove_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remove_audio_init(AgsRemoveAudio *remove_audio);
+void ags_remove_audio_connect(AgsConnectable *connectable);
+void ags_remove_audio_disconnect(AgsConnectable *connectable);
+void ags_remove_audio_finalize(GObject *gobject);
+
+void ags_remove_audio_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_remove_audio
+ * @short_description: remove audio object of devout
+ * @title: AgsRemoveAudio
+ * @section_id:
+ * @include: ags/audio/task/ags_remove_audio.h
+ *
+ * The #AgsRemoveAudio task removes #AgsAudio of #AgsDevout.
+ */
+
+static gpointer ags_remove_audio_parent_class = NULL;
+static AgsConnectableInterface *ags_remove_audio_parent_connectable_interface;
+
+GType
+ags_remove_audio_get_type()
+{
+ static GType ags_type_remove_audio = 0;
+
+ if(!ags_type_remove_audio){
+ static const GTypeInfo ags_remove_audio_info = {
+ sizeof (AgsRemoveAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remove_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemoveAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remove_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remove_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remove_audio = g_type_register_static(AGS_TYPE_TASK,
+ "AgsRemoveAudio\0",
+ &ags_remove_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remove_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remove_audio);
+}
+
+void
+ags_remove_audio_class_init(AgsRemoveAudioClass *remove_audio)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_remove_audio_parent_class = g_type_class_peek_parent(remove_audio);
+
+ /* gobject */
+ gobject = (GObjectClass *) remove_audio;
+
+ gobject->finalize = ags_remove_audio_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) remove_audio;
+
+ task->launch = ags_remove_audio_launch;
+}
+
+void
+ags_remove_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_remove_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_remove_audio_connect;
+ connectable->disconnect = ags_remove_audio_disconnect;
+}
+
+void
+ags_remove_audio_init(AgsRemoveAudio *remove_audio)
+{
+ remove_audio->devout = NULL;
+ remove_audio->audio = NULL;
+}
+
+void
+ags_remove_audio_connect(AgsConnectable *connectable)
+{
+ ags_remove_audio_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_remove_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_audio_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_remove_audio_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_remove_audio_launch(AgsTask *task)
+{
+ AgsRemoveAudio *remove_audio;
+
+ remove_audio = AGS_REMOVE_AUDIO(task);
+
+ /* remove audio */
+ ags_devout_remove_audio(remove_audio->devout,
+ G_OBJECT(remove_audio->audio));
+}
+
+/**
+ * ags_remove_audio_new:
+ * @devout: the #AgsDevout
+ * @audio: the #AgsAudio to remove
+ *
+ * Creates an #AgsRemoveAudio.
+ *
+ * Returns: an new #AgsRemoveAudio.
+ *
+ * Since: 0.4
+ */
+AgsRemoveAudio*
+ags_remove_audio_new(AgsDevout *devout,
+ AgsAudio *audio)
+{
+ AgsRemoveAudio *remove_audio;
+
+ remove_audio = (AgsRemoveAudio *) g_object_new(AGS_TYPE_REMOVE_AUDIO,
+ NULL);
+
+ remove_audio->devout = devout;
+ remove_audio->audio = audio;
+
+ return(remove_audio);
+}
diff --git a/src/ags/audio/task/ags_remove_audio.h b/src/ags/audio/task/ags_remove_audio.h
new file mode 100644
index 0000000..c268503
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_audio.h
@@ -0,0 +1,57 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_REMOVE_AUDIO_H__
+#define __AGS_REMOVE_AUDIO_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_REMOVE_AUDIO (ags_remove_audio_get_type())
+#define AGS_REMOVE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_AUDIO, AgsRemoveAudio))
+#define AGS_REMOVE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_AUDIO, AgsRemoveAudioClass))
+#define AGS_IS_REMOVE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_AUDIO))
+#define AGS_IS_REMOVE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_AUDIO))
+#define AGS_REMOVE_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_AUDIO, AgsRemoveAudioClass))
+
+typedef struct _AgsRemoveAudio AgsRemoveAudio;
+typedef struct _AgsRemoveAudioClass AgsRemoveAudioClass;
+
+struct _AgsRemoveAudio
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+ AgsAudio *audio;
+};
+
+struct _AgsRemoveAudioClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_remove_audio_get_type();
+
+AgsRemoveAudio* ags_remove_audio_new(AgsDevout *devout,
+ AgsAudio *audio);
+
+#endif /*__AGS_REMOVE_AUDIO_H__*/
diff --git a/src/ags/audio/task/ags_remove_audio_signal.c b/src/ags/audio/task/ags_remove_audio_signal.c
new file mode 100644
index 0000000..bd565c4
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_audio_signal.c
@@ -0,0 +1,179 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_remove_audio_signal.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <math.h>
+
+void ags_remove_audio_signal_class_init(AgsRemoveAudioSignalClass *remove_audio_signal);
+void ags_remove_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remove_audio_signal_init(AgsRemoveAudioSignal *remove_audio_signal);
+void ags_remove_audio_signal_connect(AgsConnectable *connectable);
+void ags_remove_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_remove_audio_signal_finalize(GObject *gobject);
+
+void ags_remove_audio_signal_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_remove_audio_signal
+ * @short_description: remove audio_signal object to recycling
+ * @title: AgsRemoveAudioSignal
+ * @section_id:
+ * @include: ags/audio/task/ags_remove_audio_signal.h
+ *
+ * The #AgsRemoveAudioSignal task removes #AgsAudioSignal to #AgsRecycling.
+ */
+
+static gpointer ags_remove_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_remove_audio_signal_parent_connectable_interface;
+
+GType
+ags_remove_audio_signal_get_type()
+{
+ static GType ags_type_remove_audio_signal = 0;
+
+ if(!ags_type_remove_audio_signal){
+ static const GTypeInfo ags_remove_audio_signal_info = {
+ sizeof (AgsRemoveAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remove_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemoveAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remove_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remove_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remove_audio_signal = g_type_register_static(AGS_TYPE_TASK,
+ "AgsRemoveAudioSignal\0",
+ &ags_remove_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remove_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remove_audio_signal);
+}
+
+void
+ags_remove_audio_signal_class_init(AgsRemoveAudioSignalClass *remove_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_remove_audio_signal_parent_class = g_type_class_peek_parent(remove_audio_signal);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) remove_audio_signal;
+
+ gobject->finalize = ags_remove_audio_signal_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) remove_audio_signal;
+
+ task->launch = ags_remove_audio_signal_launch;
+}
+
+void
+ags_remove_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_remove_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_remove_audio_signal_connect;
+ connectable->disconnect = ags_remove_audio_signal_disconnect;
+}
+
+void
+ags_remove_audio_signal_init(AgsRemoveAudioSignal *remove_audio_signal)
+{
+ remove_audio_signal->recycling = NULL;
+ remove_audio_signal->audio_signal = NULL;
+}
+
+void
+ags_remove_audio_signal_connect(AgsConnectable *connectable)
+{
+ ags_remove_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ ags_remove_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_audio_signal_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_remove_audio_signal_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_remove_audio_signal_launch(AgsTask *task)
+{
+ AgsRemoveAudioSignal *remove_audio_signal;
+
+ remove_audio_signal = AGS_REMOVE_AUDIO_SIGNAL(task);
+
+ ags_recycling_remove_audio_signal(remove_audio_signal->recycling,
+ remove_audio_signal->audio_signal);
+}
+
+/**
+ * ags_remove_audio_signal_new:
+ * @recycling: the #AgsRecycling
+ * @audio_signal: the #AgsAudioSignal to remove
+ *
+ * Creates an #AgsRemoveAudioSignal.
+ *
+ * Returns: an new #AgsRemoveAudioSignal.
+ *
+ * Since: 0.4
+ */
+AgsRemoveAudioSignal*
+ags_remove_audio_signal_new(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal)
+{
+ AgsRemoveAudioSignal *remove_audio_signal;
+
+ remove_audio_signal = (AgsRemoveAudioSignal *) g_object_new(AGS_TYPE_REMOVE_AUDIO_SIGNAL,
+ NULL);
+
+
+ remove_audio_signal->recycling = recycling;
+ remove_audio_signal->audio_signal = audio_signal;
+
+ return(remove_audio_signal);
+}
diff --git a/src/ags/audio/task/ags_remove_audio_signal.h b/src/ags/audio/task/ags_remove_audio_signal.h
new file mode 100644
index 0000000..d143a35
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_audio_signal.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_REMOVE_AUDIO_SIGNAL_H__
+#define __AGS_REMOVE_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+
+#define AGS_TYPE_REMOVE_AUDIO_SIGNAL (ags_remove_audio_signal_get_type())
+#define AGS_REMOVE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_AUDIO_SIGNAL, AgsRemoveAudioSignal))
+#define AGS_REMOVE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_AUDIO_SIGNAL, AgsRemoveAudioSignalClass))
+#define AGS_IS_REMOVE_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_AUDIO_SIGNAL))
+#define AGS_IS_REMOVE_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_AUDIO_SIGNAL))
+#define AGS_REMOVE_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_AUDIO_SIGNAL, AgsRemoveAudioSignalClass))
+
+typedef struct _AgsRemoveAudioSignal AgsRemoveAudioSignal;
+typedef struct _AgsRemoveAudioSignalClass AgsRemoveAudioSignalClass;
+
+struct _AgsRemoveAudioSignal
+{
+ AgsTask task;
+
+ AgsRecycling *recycling;
+ AgsAudioSignal *audio_signal;
+};
+
+struct _AgsRemoveAudioSignalClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_remove_audio_signal_get_type();
+
+AgsRemoveAudioSignal* ags_remove_audio_signal_new(AgsRecycling *recycling,
+ AgsAudioSignal *audio_signal);
+
+#endif /*__AGS_REMOVE_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/task/ags_remove_note.c b/src/ags/audio/task/ags_remove_note.c
new file mode 100644
index 0000000..db1d466
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_note.c
@@ -0,0 +1,180 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_remove_note.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_remove_note_class_init(AgsRemoveNoteClass *remove_note);
+void ags_remove_note_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remove_note_init(AgsRemoveNote *remove_note);
+void ags_remove_note_connect(AgsConnectable *connectable);
+void ags_remove_note_disconnect(AgsConnectable *connectable);
+void ags_remove_note_finalize(GObject *gobject);
+
+void ags_remove_note_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_remove_note
+ * @short_description: remove note object to notation
+ * @title: AgsRemoveNote
+ * @section_id:
+ * @include: ags/audio/task/ags_remove_note.h
+ *
+ * The #AgsRemoveNote task removes #AgsNote to #AgsNotation.
+ */
+
+static gpointer ags_remove_note_parent_class = NULL;
+static AgsConnectableInterface *ags_remove_note_parent_connectable_interface;
+
+GType
+ags_remove_note_get_type()
+{
+ static GType ags_type_remove_note = 0;
+
+ if(!ags_type_remove_note){
+ static const GTypeInfo ags_remove_note_info = {
+ sizeof (AgsRemoveNoteClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remove_note_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemoveNote),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remove_note_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remove_note_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remove_note = g_type_register_static(AGS_TYPE_TASK,
+ "AgsRemoveNote\0",
+ &ags_remove_note_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remove_note,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remove_note);
+}
+
+void
+ags_remove_note_class_init(AgsRemoveNoteClass *remove_note)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_remove_note_parent_class = g_type_class_peek_parent(remove_note);
+
+ /* gobject */
+ gobject = (GObjectClass *) remove_note;
+
+ gobject->finalize = ags_remove_note_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) remove_note;
+
+ task->launch = ags_remove_note_launch;
+}
+
+void
+ags_remove_note_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_remove_note_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_remove_note_connect;
+ connectable->disconnect = ags_remove_note_disconnect;
+}
+
+void
+ags_remove_note_init(AgsRemoveNote *remove_note)
+{
+ remove_note->notation = NULL;
+ remove_note->x = 0;
+ remove_note->y = 0;
+}
+
+void
+ags_remove_note_connect(AgsConnectable *connectable)
+{
+ ags_remove_note_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_note_disconnect(AgsConnectable *connectable)
+{
+ ags_remove_note_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_note_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_remove_note_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_remove_note_launch(AgsTask *task)
+{
+ AgsRemoveNote *remove_note;
+
+ remove_note = AGS_REMOVE_NOTE(task);
+
+ /* remove note */
+ ags_notation_remove_note_at_position(remove_note->notation,
+ remove_note->x, remove_note->y);
+}
+
+/**
+ * ags_remove_note_new:
+ * @notation: the #AgsNotation
+ * @x: the x coordinate of #AgsNote
+ * @y: the y coordinate of #AgsNote
+ *
+ * Creates an #AgsRemoveNote.
+ *
+ * Returns: an new #AgsRemoveNote.
+ *
+ * Since: 0.4
+ */
+AgsRemoveNote*
+ags_remove_note_new(AgsNotation *notation,
+ guint x, guint y)
+{
+ AgsRemoveNote *remove_note;
+
+ remove_note = (AgsRemoveNote *) g_object_new(AGS_TYPE_REMOVE_NOTE,
+ NULL);
+
+ remove_note->notation = notation;
+ remove_note->x = x;
+ remove_note->y = y;
+
+ return(remove_note);
+}
diff --git a/src/ags/audio/task/ags_remove_note.h b/src/ags/audio/task/ags_remove_note.h
new file mode 100644
index 0000000..d0495b8
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_note.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_REMOVE_NOTE_H__
+#define __AGS_REMOVE_NOTE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_REMOVE_NOTE (ags_remove_note_get_type())
+#define AGS_REMOVE_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_NOTE, AgsRemoveNote))
+#define AGS_REMOVE_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_NOTE, AgsRemoveNoteClass))
+#define AGS_IS_REMOVE_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_NOTE))
+#define AGS_IS_REMOVE_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_NOTE))
+#define AGS_REMOVE_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_NOTE, AgsRemoveNoteClass))
+
+typedef struct _AgsRemoveNote AgsRemoveNote;
+typedef struct _AgsRemoveNoteClass AgsRemoveNoteClass;
+
+struct _AgsRemoveNote
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+};
+
+struct _AgsRemoveNoteClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_remove_note_get_type();
+
+AgsRemoveNote* ags_remove_note_new(AgsNotation *notation,
+ guint x, guint y);
+
+#endif /*__AGS_REMOVE_NOTE_H__*/
diff --git a/src/ags/audio/task/ags_remove_point_from_selection.c b/src/ags/audio/task/ags_remove_point_from_selection.c
new file mode 100644
index 0000000..3d36781
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_point_from_selection.c
@@ -0,0 +1,180 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_remove_point_from_selection.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_remove_point_from_selection_class_init(AgsRemovePointFromSelectionClass *remove_point_from_selection);
+void ags_remove_point_from_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remove_point_from_selection_init(AgsRemovePointFromSelection *remove_point_from_selection);
+void ags_remove_point_from_selection_connect(AgsConnectable *connectable);
+void ags_remove_point_from_selection_disconnect(AgsConnectable *connectable);
+void ags_remove_point_from_selection_finalize(GObject *gobject);
+
+void ags_remove_point_from_selection_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_remove_point_to_selection
+ * @short_description: remove point to notation selection
+ * @title: AgsRemovePointToSelection
+ * @section_id:
+ * @include: ags/audio/task/ags_remove_point_to_selection.h
+ *
+ * The #AgsRemovePointToSelection task removes the specified #AgsNote to selection of #AgsNotation.
+ */
+
+static gpointer ags_remove_point_from_selection_parent_class = NULL;
+static AgsConnectableInterface *ags_remove_point_from_selection_parent_connectable_interface;
+
+GType
+ags_remove_point_from_selection_get_type()
+{
+ static GType ags_type_remove_point_from_selection = 0;
+
+ if(!ags_type_remove_point_from_selection){
+ static const GTypeInfo ags_remove_point_from_selection_info = {
+ sizeof (AgsRemovePointFromSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remove_point_from_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemovePointFromSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remove_point_from_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remove_point_from_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remove_point_from_selection = g_type_register_static(AGS_TYPE_TASK,
+ "AgsRemovePointFromSelection\0",
+ &ags_remove_point_from_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remove_point_from_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remove_point_from_selection);
+}
+
+void
+ags_remove_point_from_selection_class_init(AgsRemovePointFromSelectionClass *remove_point_from_selection)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_remove_point_from_selection_parent_class = g_type_class_peek_parent(remove_point_from_selection);
+
+ /* gobject */
+ gobject = (GObjectClass *) remove_point_from_selection;
+
+ gobject->finalize = ags_remove_point_from_selection_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) remove_point_from_selection;
+
+ task->launch = ags_remove_point_from_selection_launch;
+}
+
+void
+ags_remove_point_from_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_remove_point_from_selection_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_remove_point_from_selection_connect;
+ connectable->disconnect = ags_remove_point_from_selection_disconnect;
+}
+
+void
+ags_remove_point_from_selection_init(AgsRemovePointFromSelection *remove_point_from_selection)
+{
+ remove_point_from_selection->notation = NULL;
+ remove_point_from_selection->x = 0;
+ remove_point_from_selection->y = 0;
+}
+
+void
+ags_remove_point_from_selection_connect(AgsConnectable *connectable)
+{
+ ags_remove_point_from_selection_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_point_from_selection_disconnect(AgsConnectable *connectable)
+{
+ ags_remove_point_from_selection_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_point_from_selection_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_remove_point_from_selection_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_remove_point_from_selection_launch(AgsTask *task)
+{
+ AgsRemovePointFromSelection *remove_point_from_selection;
+
+ remove_point_from_selection = AGS_REMOVE_POINT_FROM_SELECTION(task);
+
+ /* add note */
+ ags_notation_remove_point_from_selection(remove_point_from_selection->notation,
+ remove_point_from_selection->x, remove_point_from_selection->y);
+}
+
+/**
+ * ags_remove_point_to_selection_new:
+ * @notation: the #AgsNotation providing the selection
+ * @x: x coordinate
+ * @y: y coordinate
+ *
+ * Creates an #AgsRemovePointToSelection.
+ *
+ * Returns: an new #AgsRemovePointToSelection.
+ *
+ * Since: 0.4
+ */
+AgsRemovePointFromSelection*
+ags_remove_point_from_selection_new(AgsNotation *notation,
+ guint x, guint y)
+{
+ AgsRemovePointFromSelection *remove_point_from_selection;
+
+ remove_point_from_selection = (AgsRemovePointFromSelection *) g_object_new(AGS_TYPE_REMOVE_POINT_FROM_SELECTION,
+ NULL);
+
+ remove_point_from_selection->notation = notation;
+ remove_point_from_selection->x = x;
+ remove_point_from_selection->y = y;
+
+ return(remove_point_from_selection);
+}
diff --git a/src/ags/audio/task/ags_remove_point_from_selection.h b/src/ags/audio/task/ags_remove_point_from_selection.h
new file mode 100644
index 0000000..76085fd
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_point_from_selection.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_REMOVE_POINT_FROM_SELECTION_H__
+#define __AGS_REMOVE_POINT_FROM_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_REMOVE_POINT_FROM_SELECTION (ags_remove_point_from_selection_get_type())
+#define AGS_REMOVE_POINT_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_POINT_FROM_SELECTION, AgsRemovePointFromSelection))
+#define AGS_REMOVE_POINT_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_POINT_FROM_SELECTION, AgsRemovePointFromSelectionClass))
+#define AGS_IS_REMOVE_POINT_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_POINT_FROM_SELECTION))
+#define AGS_IS_REMOVE_POINT_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_POINT_FROM_SELECTION))
+#define AGS_REMOVE_POINT_FROM_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_POINT_FROM_SELECTION, AgsRemovePointFromSelectionClass))
+
+typedef struct _AgsRemovePointFromSelection AgsRemovePointFromSelection;
+typedef struct _AgsRemovePointFromSelectionClass AgsRemovePointFromSelectionClass;
+
+struct _AgsRemovePointFromSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x;
+ guint y;
+};
+
+struct _AgsRemovePointFromSelectionClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_remove_point_from_selection_get_type();
+
+AgsRemovePointFromSelection* ags_remove_point_from_selection_new(AgsNotation *notation,
+ guint x, guint y);
+
+#endif /*__AGS_REMOVE_POINT_FROM_SELECTION_H__*/
diff --git a/src/ags/audio/task/ags_remove_recall.c b/src/ags/audio/task/ags_remove_recall.c
new file mode 100644
index 0000000..34d2005
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_recall.c
@@ -0,0 +1,236 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_remove_recall.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel_run.h>
+
+#include <math.h>
+
+void ags_remove_recall_class_init(AgsRemoveRecallClass *remove_recall);
+void ags_remove_recall_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remove_recall_init(AgsRemoveRecall *remove_recall);
+void ags_remove_recall_connect(AgsConnectable *connectable);
+void ags_remove_recall_disconnect(AgsConnectable *connectable);
+void ags_remove_recall_finalize(GObject *gobject);
+
+void ags_remove_recall_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_remove_recall
+ * @short_description: remove recall object to context
+ * @title: AgsRemoveRecall
+ * @section_id:
+ * @include: ags/audio/task/ags_remove_recall.h
+ *
+ * The #AgsRemoveRecall task removes #AgsRecall to context.
+ */
+
+static gpointer ags_remove_recall_parent_class = NULL;
+static AgsConnectableInterface *ags_remove_recall_parent_connectable_interface;
+
+GType
+ags_remove_recall_get_type()
+{
+ static GType ags_type_remove_recall = 0;
+
+ if(!ags_type_remove_recall){
+ static const GTypeInfo ags_remove_recall_info = {
+ sizeof (AgsRemoveRecallClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remove_recall_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemoveRecall),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remove_recall_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remove_recall_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remove_recall = g_type_register_static(AGS_TYPE_TASK,
+ "AgsRemoveRecall\0",
+ &ags_remove_recall_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remove_recall,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remove_recall);
+}
+
+void
+ags_remove_recall_class_init(AgsRemoveRecallClass *remove_recall)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_remove_recall_parent_class = g_type_class_peek_parent(remove_recall);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) remove_recall;
+
+ gobject->finalize = ags_remove_recall_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) remove_recall;
+
+ task->launch = ags_remove_recall_launch;
+}
+
+void
+ags_remove_recall_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_remove_recall_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_remove_recall_connect;
+ connectable->disconnect = ags_remove_recall_disconnect;
+}
+
+void
+ags_remove_recall_init(AgsRemoveRecall *remove_recall)
+{
+ remove_recall->context = NULL;
+ remove_recall->recall = NULL;
+ remove_recall->is_play = FALSE;
+ remove_recall->remove_all = FALSE;
+}
+
+void
+ags_remove_recall_connect(AgsConnectable *connectable)
+{
+ ags_remove_recall_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_recall_disconnect(AgsConnectable *connectable)
+{
+ ags_remove_recall_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_recall_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_remove_recall_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_remove_recall_launch(AgsTask *task)
+{
+ AgsRemoveRecall *remove_recall;
+
+ remove_recall = AGS_REMOVE_RECALL(task);
+
+ if(AGS_IS_AUDIO(remove_recall->context)){
+ ags_audio_remove_recall(AGS_AUDIO(remove_recall->context),
+ remove_recall->recall,
+ remove_recall->is_play);
+
+ if(remove_recall->remove_all){
+ GList *list;
+
+ if(AGS_IS_RECALL_AUDIO_RUN(remove_recall->recall)){
+ list = AGS_RECALL_CONTAINER(remove_recall->recall->container)->recall_audio_run;
+
+ while(list != NULL){
+ ags_audio_remove_recall(AGS_AUDIO(remove_recall->context),
+ list->data,
+ remove_recall->is_play);
+
+ list = list->next;
+ }
+ }
+ }
+ }else if(AGS_IS_CHANNEL(remove_recall->context)){
+ ags_channel_remove_recall(AGS_CHANNEL(remove_recall->context),
+ remove_recall->recall,
+ remove_recall->is_play);
+
+ if(remove_recall->remove_all){
+ GList *list;
+
+ if(AGS_IS_RECALL_CHANNEL_RUN(remove_recall->recall)){
+ list = AGS_RECALL_CONTAINER(remove_recall->recall->container)->recall_channel_run;
+
+ while(list != NULL){
+ ags_channel_remove_recall(AGS_CHANNEL(remove_recall->context),
+ list->data,
+ remove_recall->is_play);
+
+ list = list->next;
+ }
+ }
+ }
+ }else if(AGS_IS_RECALL(remove_recall->context)){
+ ags_recall_remove_child(AGS_RECALL(remove_recall->context),
+ remove_recall->recall);
+ }else{
+ ags_recall_remove(remove_recall->recall);
+ }
+}
+
+/**
+ * ags_remove_recall_new:
+ * @context: may be #AgsAudio, #AgsChannel or #AgsRecall
+ * @recall: the #AgsRecall to remove
+ * @is_play: if %TRUE non-complex recall
+ * @remove_all: if %TRUE all related will be removed
+ *
+ * Creates an #AgsRemoveRecall.
+ *
+ * Returns: an new #AgsRemoveRecall.
+ *
+ * Since: 0.4
+ */
+AgsRemoveRecall*
+ags_remove_recall_new(GObject *context,
+ AgsRecall *recall,
+ gboolean is_play,
+ gboolean remove_all)
+{
+ AgsRemoveRecall *remove_recall;
+
+ remove_recall = (AgsRemoveRecall *) g_object_new(AGS_TYPE_REMOVE_RECALL,
+ NULL);
+
+ remove_recall->context = context;
+ remove_recall->recall = recall;
+ remove_recall->is_play = is_play;
+ remove_recall->remove_all = remove_all;
+
+ return(remove_recall);
+}
diff --git a/src/ags/audio/task/ags_remove_recall.h b/src/ags/audio/task/ags_remove_recall.h
new file mode 100644
index 0000000..cb401ba
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_recall.h
@@ -0,0 +1,62 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_REMOVE_RECALL_H__
+#define __AGS_REMOVE_RECALL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_recall.h>
+
+#define AGS_TYPE_REMOVE_RECALL (ags_remove_recall_get_type())
+#define AGS_REMOVE_RECALL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_RECALL, AgsRemoveRecall))
+#define AGS_REMOVE_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_RECALL, AgsRemoveRecallClass))
+#define AGS_IS_REMOVE_RECALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_RECALL))
+#define AGS_IS_REMOVE_RECALL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_RECALL))
+#define AGS_REMOVE_RECALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_RECALL, AgsRemoveRecallClass))
+
+typedef struct _AgsRemoveRecall AgsRemoveRecall;
+typedef struct _AgsRemoveRecallClass AgsRemoveRecallClass;
+
+struct _AgsRemoveRecall
+{
+ AgsTask task;
+
+ GObject *context;
+
+ AgsRecall *recall;
+ gboolean is_play;
+ gboolean remove_all;
+};
+
+struct _AgsRemoveRecallClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_remove_recall_get_type();
+
+AgsRemoveRecall* ags_remove_recall_new(GObject *context,
+ AgsRecall *recall,
+ gboolean is_play,
+ gboolean remove_all);
+
+#endif /*__AGS_REMOVE_RECALL_H__*/
diff --git a/src/ags/audio/task/ags_remove_recall_container.c b/src/ags/audio/task/ags_remove_recall_container.c
new file mode 100644
index 0000000..7bd21fb
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_recall_container.c
@@ -0,0 +1,181 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_remove_recall_container.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+
+#include <math.h>
+
+void ags_remove_recall_container_class_init(AgsRemoveRecallContainerClass *remove_recall_container);
+void ags_remove_recall_container_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remove_recall_container_init(AgsRemoveRecallContainer *remove_recall_container);
+void ags_remove_recall_container_connect(AgsConnectable *connectable);
+void ags_remove_recall_container_disconnect(AgsConnectable *connectable);
+void ags_remove_recall_container_finalize(GObject *gobject);
+
+void ags_remove_recall_container_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_remove_recall_container
+ * @short_description: remove recall object to context
+ * @title: AgsRemoveRecallContainer
+ * @section_id:
+ * @include: ags/audio/task/ags_remove_recall_container.h
+ *
+ * The #AgsRemoveRecallContainer task removes #AgsRecallContainer of audio.
+ */
+
+static gpointer ags_remove_recall_container_parent_class = NULL;
+static AgsConnectableInterface *ags_remove_recall_container_parent_connectable_interface;
+
+GType
+ags_remove_recall_container_get_type()
+{
+ static GType ags_type_remove_recall_container = 0;
+
+ if(!ags_type_remove_recall_container){
+ static const GTypeInfo ags_remove_recall_container_info = {
+ sizeof (AgsRemoveRecallContainerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remove_recall_container_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemoveRecallContainer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remove_recall_container_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remove_recall_container_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remove_recall_container = g_type_register_static(AGS_TYPE_TASK,
+ "AgsRemoveRecallContainer\0",
+ &ags_remove_recall_container_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remove_recall_container,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remove_recall_container);
+}
+
+void
+ags_remove_recall_container_class_init(AgsRemoveRecallContainerClass *remove_recall_container)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_remove_recall_container_parent_class = g_type_class_peek_parent(remove_recall_container);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) remove_recall_container;
+
+ gobject->finalize = ags_remove_recall_container_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) remove_recall_container;
+
+ task->launch = ags_remove_recall_container_launch;
+}
+
+void
+ags_remove_recall_container_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_remove_recall_container_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_remove_recall_container_connect;
+ connectable->disconnect = ags_remove_recall_container_disconnect;
+}
+
+void
+ags_remove_recall_container_init(AgsRemoveRecallContainer *remove_recall_container)
+{
+ remove_recall_container->audio = NULL;
+ remove_recall_container->recall_container = NULL;
+}
+
+void
+ags_remove_recall_container_connect(AgsConnectable *connectable)
+{
+ ags_remove_recall_container_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_recall_container_disconnect(AgsConnectable *connectable)
+{
+ ags_remove_recall_container_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_recall_container_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_remove_recall_container_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_remove_recall_container_launch(AgsTask *task)
+{
+ AgsRemoveRecallContainer *remove_recall_container;
+
+ remove_recall_container = AGS_REMOVE_RECALL_CONTAINER(task);
+
+ ags_audio_remove_recall_container(remove_recall_container->audio,
+ remove_recall_container->recall_container);
+}
+
+/**
+ * ags_remove_recall_container_new:
+ * @context: the #AgsAudio
+ * @recall: the #AgsRecallContainer to remove
+ *
+ * Creates an #AgsRemoveRecallContainer.
+ *
+ * Returns: an new #AgsRemoveRecallContainer.
+ *
+ * Since: 0.4
+ */
+AgsRemoveRecallContainer*
+ags_remove_recall_container_new(GObject *audio,
+ AgsRecallContainer *recall_container)
+{
+ AgsRemoveRecallContainer *remove_recall_container;
+
+ remove_recall_container = (AgsRemoveRecallContainer *) g_object_new(AGS_TYPE_REMOVE_RECALL_CONTAINER,
+ NULL);
+
+ remove_recall_container->audio = audio;
+ remove_recall_container->recall_container = recall_container;
+
+ return(remove_recall_container);
+}
diff --git a/src/ags/audio/task/ags_remove_recall_container.h b/src/ags/audio/task/ags_remove_recall_container.h
new file mode 100644
index 0000000..b51c1fc
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_recall_container.h
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_REMOVE_RECALL_CONTAINER_H__
+#define __AGS_REMOVE_RECALL_CONTAINER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_recall_container.h>
+
+#define AGS_TYPE_REMOVE_RECALL_CONTAINER (ags_remove_recall_container_get_type())
+#define AGS_REMOVE_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_RECALL_CONTAINER, AgsRemoveRecallContainer))
+#define AGS_REMOVE_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_RECALL_CONTAINER, AgsRemoveRecallContainerClass))
+#define AGS_IS_REMOVE_RECALL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_RECALL_CONTAINER))
+#define AGS_IS_REMOVE_RECALL_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_RECALL_CONTAINER))
+#define AGS_REMOVE_RECALL_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_RECALL_CONTAINER, AgsRemoveRecallContainerClass))
+
+typedef struct _AgsRemoveRecallContainer AgsRemoveRecallContainer;
+typedef struct _AgsRemoveRecallContainerClass AgsRemoveRecallContainerClass;
+
+struct _AgsRemoveRecallContainer
+{
+ AgsTask task;
+
+ GObject *audio;
+
+ AgsRecallContainer *recall_container;
+};
+
+struct _AgsRemoveRecallContainerClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_remove_recall_container_get_type();
+
+AgsRemoveRecallContainer* ags_remove_recall_container_new(GObject *audio,
+ AgsRecallContainer *recall_container);
+
+#endif /*__AGS_REMOVE_RECALL_CONTAINER_H__*/
diff --git a/src/ags/audio/task/ags_remove_region_from_selection.c b/src/ags/audio/task/ags_remove_region_from_selection.c
new file mode 100644
index 0000000..d31366f
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_region_from_selection.c
@@ -0,0 +1,188 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_remove_region_from_selection.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_remove_region_from_selection_class_init(AgsRemoveRegionFromSelectionClass *remove_region_from_selection);
+void ags_remove_region_from_selection_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remove_region_from_selection_init(AgsRemoveRegionFromSelection *remove_region_from_selection);
+void ags_remove_region_from_selection_connect(AgsConnectable *connectable);
+void ags_remove_region_from_selection_disconnect(AgsConnectable *connectable);
+void ags_remove_region_from_selection_finalize(GObject *gobject);
+
+void ags_remove_region_from_selection_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_remove_region_to_selection
+ * @short_description: remove region to notation selection
+ * @title: AgsRemoveRegionToSelection
+ * @section_id:
+ * @include: ags/audio/task/ags_remove_region_to_selection.h
+ *
+ * The #AgsRemoveRegionToSelection task removes the specified #AgsNote to selection of #AgsNotation.
+ */
+
+static gpointer ags_remove_region_from_selection_parent_class = NULL;
+static AgsConnectableInterface *ags_remove_region_from_selection_parent_connectable_interface;
+
+GType
+ags_remove_region_from_selection_get_type()
+{
+ static GType ags_type_remove_region_from_selection = 0;
+
+ if(!ags_type_remove_region_from_selection){
+ static const GTypeInfo ags_remove_region_from_selection_info = {
+ sizeof (AgsRemoveRegionFromSelectionClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remove_region_from_selection_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemoveRegionFromSelection),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remove_region_from_selection_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remove_region_from_selection_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remove_region_from_selection = g_type_register_static(AGS_TYPE_TASK,
+ "AgsRemoveRegionFromSelection\0",
+ &ags_remove_region_from_selection_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remove_region_from_selection,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remove_region_from_selection);
+}
+
+void
+ags_remove_region_from_selection_class_init(AgsRemoveRegionFromSelectionClass *remove_region_from_selection)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_remove_region_from_selection_parent_class = g_type_class_peek_parent(remove_region_from_selection);
+
+ /* gobject */
+ gobject = (GObjectClass *) remove_region_from_selection;
+
+ gobject->finalize = ags_remove_region_from_selection_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) remove_region_from_selection;
+
+ task->launch = ags_remove_region_from_selection_launch;
+}
+
+void
+ags_remove_region_from_selection_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_remove_region_from_selection_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_remove_region_from_selection_connect;
+ connectable->disconnect = ags_remove_region_from_selection_disconnect;
+}
+
+void
+ags_remove_region_from_selection_init(AgsRemoveRegionFromSelection *remove_region_from_selection)
+{
+ remove_region_from_selection->notation = NULL;
+ remove_region_from_selection->x0 = 0;
+ remove_region_from_selection->y0 = 0;
+ remove_region_from_selection->x1 = 0;
+ remove_region_from_selection->y1 = 0;
+}
+
+void
+ags_remove_region_from_selection_connect(AgsConnectable *connectable)
+{
+ ags_remove_region_from_selection_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_region_from_selection_disconnect(AgsConnectable *connectable)
+{
+ ags_remove_region_from_selection_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_remove_region_from_selection_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_remove_region_from_selection_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_remove_region_from_selection_launch(AgsTask *task)
+{
+ AgsRemoveRegionFromSelection *remove_region_from_selection;
+
+ remove_region_from_selection = AGS_REMOVE_REGION_FROM_SELECTION(task);
+
+ /* add note */
+ ags_notation_remove_region_from_selection(remove_region_from_selection->notation,
+ remove_region_from_selection->x0, remove_region_from_selection->y0,
+ remove_region_from_selection->x1, remove_region_from_selection->y1);
+}
+
+/**
+ * ags_remove_region_to_selection_new:
+ * @notation: the #AgsNotation providing the selection
+ * @x0: start x coordinate
+ * @y0: start y coordinate
+ * @x1: end x coordinate
+ * @y1: end y coordinate
+ *
+ * Creates an #AgsRemoveRegionToSelection.
+ *
+ * Returns: an new #AgsRemoveRegionToSelection.
+ *
+ * Since: 0.4
+ */
+AgsRemoveRegionFromSelection*
+ags_remove_region_from_selection_new(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1)
+{
+ AgsRemoveRegionFromSelection *remove_region_from_selection;
+
+ remove_region_from_selection = (AgsRemoveRegionFromSelection *) g_object_new(AGS_TYPE_REMOVE_REGION_FROM_SELECTION,
+ NULL);
+
+ remove_region_from_selection->notation = notation;
+ remove_region_from_selection->x0 = x0;
+ remove_region_from_selection->y0 = y0;
+ remove_region_from_selection->x1 = x1;
+ remove_region_from_selection->y1 = y1;
+
+ return(remove_region_from_selection);
+}
diff --git a/src/ags/audio/task/ags_remove_region_from_selection.h b/src/ags/audio/task/ags_remove_region_from_selection.h
new file mode 100644
index 0000000..2162007
--- /dev/null
+++ b/src/ags/audio/task/ags_remove_region_from_selection.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_REMOVE_REGION_FROM_SELECTION_H__
+#define __AGS_REMOVE_REGION_FROM_SELECTION_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_notation.h>
+
+#define AGS_TYPE_REMOVE_REGION_FROM_SELECTION (ags_remove_region_from_selection_get_type())
+#define AGS_REMOVE_REGION_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelection))
+#define AGS_REMOVE_REGION_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelectionClass))
+#define AGS_IS_REMOVE_REGION_FROM_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION))
+#define AGS_IS_REMOVE_REGION_FROM_SELECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_REMOVE_REGION_FROM_SELECTION))
+#define AGS_REMOVE_REGION_FROM_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_REMOVE_REGION_FROM_SELECTION, AgsRemoveRegionFromSelectionClass))
+
+typedef struct _AgsRemoveRegionFromSelection AgsRemoveRegionFromSelection;
+typedef struct _AgsRemoveRegionFromSelectionClass AgsRemoveRegionFromSelectionClass;
+
+struct _AgsRemoveRegionFromSelection
+{
+ AgsTask task;
+
+ AgsNotation *notation;
+
+ guint x0;
+ guint y0;
+ guint x1;
+ guint y1;
+};
+
+struct _AgsRemoveRegionFromSelectionClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_remove_region_from_selection_get_type();
+
+AgsRemoveRegionFromSelection* ags_remove_region_from_selection_new(AgsNotation *notation,
+ guint x0, guint y0,
+ guint x1, guint y1);
+
+#endif /*__AGS_REMOVE_REGION_FROM_SELECTION_H__*/
diff --git a/src/ags/audio/task/ags_resize_audio.c b/src/ags/audio/task/ags_resize_audio.c
new file mode 100644
index 0000000..bc898a9
--- /dev/null
+++ b/src/ags/audio/task/ags_resize_audio.c
@@ -0,0 +1,259 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_resize_audio.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+
+#include <ags/X/ags_machine.h>
+
+void ags_resize_audio_class_init(AgsResizeAudioClass *resize_audio);
+void ags_resize_audio_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_resize_audio_init(AgsResizeAudio *resize_audio);
+void ags_resize_audio_connect(AgsConnectable *connectable);
+void ags_resize_audio_disconnect(AgsConnectable *connectable);
+void ags_resize_audio_finalize(GObject *gobject);
+
+void ags_resize_audio_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_resize_audio
+ * @short_description: resize audio object
+ * @title: AgsResizeAudio
+ * @section_id:
+ * @include: ags/audio/task/ags_resize_audio.h
+ *
+ * The #AgsResizeAudio task resizes #AgsAudio.
+ */
+
+static gpointer ags_resize_audio_parent_class = NULL;
+static AgsConnectableInterface *ags_resize_audio_parent_connectable_interface;
+
+GType
+ags_resize_audio_get_type()
+{
+ static GType ags_type_resize_audio = 0;
+
+ if(!ags_type_resize_audio){
+ static const GTypeInfo ags_resize_audio_info = {
+ sizeof (AgsResizeAudioClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_resize_audio_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsResizeAudio),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_resize_audio_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_resize_audio_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_resize_audio = g_type_register_static(AGS_TYPE_TASK,
+ "AgsResizeAudio\0",
+ &ags_resize_audio_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_resize_audio,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_resize_audio);
+}
+
+void
+ags_resize_audio_class_init(AgsResizeAudioClass *resize_audio)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_resize_audio_parent_class = g_type_class_peek_parent(resize_audio);
+
+ /* gobject */
+ gobject = (GObjectClass *) resize_audio;
+
+ gobject->finalize = ags_resize_audio_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) resize_audio;
+
+ task->launch = ags_resize_audio_launch;
+}
+
+void
+ags_resize_audio_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_resize_audio_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_resize_audio_connect;
+ connectable->disconnect = ags_resize_audio_disconnect;
+}
+
+void
+ags_resize_audio_init(AgsResizeAudio *resize_audio)
+{
+ resize_audio->audio = NULL;
+ resize_audio->output_pads = 0;
+ resize_audio->input_pads = 0;
+ resize_audio->audio_channels = 0;
+}
+
+void
+ags_resize_audio_connect(AgsConnectable *connectable)
+{
+ ags_resize_audio_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_resize_audio_disconnect(AgsConnectable *connectable)
+{
+ ags_resize_audio_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_resize_audio_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_resize_audio_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_resize_audio_launch(AgsTask *task)
+{
+ AgsResizeAudio *resize_audio;
+ AgsMachine *machine;
+ AgsChannel *iter;
+ GList *list;
+ guint pads_old;
+
+ resize_audio = AGS_RESIZE_AUDIO(task);
+
+ /* resize audio */
+ if(resize_audio->audio->output_pads != resize_audio->output_pads){
+ pads_old = resize_audio->audio->output_pads;
+
+ ags_audio_set_pads(resize_audio->audio,
+ AGS_TYPE_OUTPUT,
+ resize_audio->output_pads);
+
+ if(pads_old < resize_audio->audio->output_pads){
+ iter = ags_channel_pad_nth(resize_audio->audio->input,
+ pads_old);
+
+ while(iter != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(iter));
+
+ iter = iter->next;
+ }
+ }
+
+ machine = resize_audio->audio->machine;
+ list = gtk_container_get_children(machine->output);
+ list = g_list_nth(list,
+ pads_old);
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+ gtk_widget_show_all(list->data);
+
+ list = list->next;
+ }
+ }
+
+ if(resize_audio->audio->input_pads != resize_audio->input_pads){
+ pads_old = resize_audio->audio->input_pads;
+
+ ags_audio_set_pads(resize_audio->audio,
+ AGS_TYPE_INPUT,
+ resize_audio->input_pads);
+
+ if(pads_old < resize_audio->audio->output_pads){
+ iter = ags_channel_pad_nth(resize_audio->audio->input,
+ pads_old);
+
+ while(iter != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(iter));
+
+ iter = iter->next;
+ }
+ }
+
+ machine = resize_audio->audio->machine;
+ list = gtk_container_get_children(machine->input);
+ list = g_list_nth(list,
+ pads_old);
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+ gtk_widget_show_all(list->data);
+
+ list = list->next;
+ }
+ }
+
+ if(resize_audio->audio->audio_channels != resize_audio->audio_channels){
+ ags_audio_set_audio_channels(resize_audio->audio,
+ resize_audio->audio_channels);
+ }
+}
+
+/**
+ * ags_resize_audio_new:
+ * @audio: the #AgsAudio to resize
+ * @output_pads: output pads
+ * @input_pads: input pads
+ * @audio_channels: audio channels
+ *
+ * Creates an #AgsResizeAudio.
+ *
+ * Returns: an new #AgsResizeAudio.
+ *
+ * Since: 0.4
+ */
+AgsResizeAudio*
+ags_resize_audio_new(AgsAudio *audio,
+ guint output_pads,
+ guint input_pads,
+ guint audio_channels)
+{
+ AgsResizeAudio *resize_audio;
+
+ resize_audio = (AgsResizeAudio *) g_object_new(AGS_TYPE_RESIZE_AUDIO,
+ NULL);
+
+ resize_audio->audio = audio;
+ resize_audio->output_pads = output_pads;
+ resize_audio->input_pads = input_pads;
+ resize_audio->audio_channels = audio_channels;
+
+ return(resize_audio);
+}
diff --git a/src/ags/audio/task/ags_resize_audio.h b/src/ags/audio/task/ags_resize_audio.h
new file mode 100644
index 0000000..c695cac
--- /dev/null
+++ b/src/ags/audio/task/ags_resize_audio.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RESIZE_AUDIO_H__
+#define __AGS_RESIZE_AUDIO_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_audio.h>
+
+#define AGS_TYPE_RESIZE_AUDIO (ags_resize_audio_get_type())
+#define AGS_RESIZE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RESIZE_AUDIO, AgsResizeAudio))
+#define AGS_RESIZE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RESIZE_AUDIO, AgsResizeAudioClass))
+#define AGS_IS_RESIZE_AUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RESIZE_AUDIO))
+#define AGS_IS_RESIZE_AUDIO_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RESIZE_AUDIO))
+#define AGS_RESIZE_AUDIO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_RESIZE_AUDIO, AgsResizeAudioClass))
+
+typedef struct _AgsResizeAudio AgsResizeAudio;
+typedef struct _AgsResizeAudioClass AgsResizeAudioClass;
+
+struct _AgsResizeAudio
+{
+ AgsTask task;
+
+ AgsAudio *audio;
+ guint output_pads;
+ guint input_pads;
+ guint audio_channels;
+};
+
+struct _AgsResizeAudioClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_resize_audio_get_type();
+
+AgsResizeAudio* ags_resize_audio_new(AgsAudio *audio,
+ guint output_pads,
+ guint input_pads,
+ guint audio_channels);
+
+#endif /*__AGS_RESIZE_AUDIO_H__*/
diff --git a/src/ags/audio/task/ags_save_file.c b/src/ags/audio/task/ags_save_file.c
new file mode 100644
index 0000000..7f3627d
--- /dev/null
+++ b/src/ags/audio/task/ags_save_file.c
@@ -0,0 +1,176 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_save_file.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_save_file_class_init(AgsSaveFileClass *save_file);
+void ags_save_file_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_save_file_init(AgsSaveFile *save_file);
+void ags_save_file_connect(AgsConnectable *connectable);
+void ags_save_file_disconnect(AgsConnectable *connectable);
+void ags_save_file_finalize(GObject *gobject);
+
+void ags_save_file_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_save_file
+ * @short_description: save file object
+ * @title: AgsSaveFile
+ * @section_id:
+ * @include: ags/audio/task/ags_save_file.h
+ *
+ * The #AgsSaveFile task saves files.
+ */
+
+static gpointer ags_save_file_parent_class = NULL;
+static AgsConnectableInterface *ags_save_file_parent_connectable_interface;
+
+GType
+ags_save_file_get_type()
+{
+ static GType ags_type_save_file = 0;
+
+ if(!ags_type_save_file){
+ static const GTypeInfo ags_save_file_info = {
+ sizeof (AgsSaveFileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_save_file_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSaveFile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_save_file_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_save_file_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_save_file = g_type_register_static(AGS_TYPE_TASK,
+ "AgsSaveFile\0",
+ &ags_save_file_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_save_file,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_save_file);
+}
+
+void
+ags_save_file_class_init(AgsSaveFileClass *save_file)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_save_file_parent_class = g_type_class_peek_parent(save_file);
+
+ /* gobject */
+ gobject = (GObjectClass *) save_file;
+
+ gobject->finalize = ags_save_file_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) save_file;
+
+ task->launch = ags_save_file_launch;
+}
+
+void
+ags_save_file_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_save_file_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_save_file_connect;
+ connectable->disconnect = ags_save_file_disconnect;
+}
+
+void
+ags_save_file_init(AgsSaveFile *save_file)
+{
+ save_file->file = NULL;
+}
+
+void
+ags_save_file_connect(AgsConnectable *connectable)
+{
+ ags_save_file_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_save_file_disconnect(AgsConnectable *connectable)
+{
+ ags_save_file_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_save_file_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_save_file_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_save_file_launch(AgsTask *task)
+{
+ AgsSaveFile *save_file;
+
+ save_file = AGS_SAVE_FILE(task);
+
+ g_message("Saving to: %s", save_file->file->filename);
+ ags_file_rw_open(save_file->file,
+ TRUE);
+ ags_file_write(save_file->file);
+ ags_file_close(save_file->file);
+}
+
+/**
+ * ags_save_file_new:
+ * @file: the #AgsFile
+ *
+ * Creates an #AgsSaveFile.
+ *
+ * Returns: an new #AgsSaveFile.
+ *
+ * Since: 0.4
+ */
+AgsSaveFile*
+ags_save_file_new(AgsFile *file)
+{
+ AgsSaveFile *save_file;
+
+ save_file = (AgsSaveFile *) g_object_new(AGS_TYPE_SAVE_FILE,
+ NULL);
+ g_object_ref(file);
+ save_file->file = file;
+
+ return(save_file);
+}
+
diff --git a/src/ags/audio/task/ags_save_file.h b/src/ags/audio/task/ags_save_file.h
new file mode 100644
index 0000000..dc0ea46
--- /dev/null
+++ b/src/ags/audio/task/ags_save_file.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SAVE_FILE_H__
+#define __AGS_SAVE_FILE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/file/ags_file.h>
+
+#define AGS_TYPE_SAVE_FILE (ags_save_file_get_type())
+#define AGS_SAVE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SAVE_FILE, AgsSaveFile))
+#define AGS_SAVE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SAVE_FILE, AgsSaveFileClass))
+#define AGS_IS_SAVE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SAVE_FILE))
+#define AGS_IS_SAVE_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SAVE_FILE))
+#define AGS_SAVE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SAVE_FILE, AgsSaveFileClass))
+
+typedef struct _AgsSaveFile AgsSaveFile;
+typedef struct _AgsSaveFileClass AgsSaveFileClass;
+
+struct _AgsSaveFile
+{
+ AgsTask task;
+
+ AgsFile *file;
+};
+
+struct _AgsSaveFileClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_save_file_get_type();
+
+AgsSaveFile* ags_save_file_new(AgsFile *file);
+
+#endif /*__AGS_SAVE_FILE_H__*/
diff --git a/src/ags/audio/task/ags_scroll_on_play.c b/src/ags/audio/task/ags_scroll_on_play.c
new file mode 100644
index 0000000..a4df0b9
--- /dev/null
+++ b/src/ags/audio/task/ags_scroll_on_play.c
@@ -0,0 +1,221 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_scroll_on_play.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/X/ags_editor.h>
+
+#include <ags/main.h>
+
+void ags_scroll_on_play_class_init(AgsScrollOnPlayClass *scroll_on_play);
+void ags_scroll_on_play_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_scroll_on_play_init(AgsScrollOnPlay *scroll_on_play);
+void ags_scroll_on_play_connect(AgsConnectable *connectable);
+void ags_scroll_on_play_disconnect(AgsConnectable *connectable);
+void ags_scroll_on_play_finalize(GObject *gobject);
+
+void ags_scroll_on_play_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_scroll_on_play
+ * @short_description: scrolls the editor
+ * @title: AgsScrollOnPlay
+ * @section_id:
+ * @include: ags/audio/task/ags_scroll_on_play.h
+ *
+ * The #AgsScrollOnPlay task scrolls the specified #AgsEditor.
+ */
+
+static gpointer ags_scroll_on_play_parent_class = NULL;
+static AgsConnectableInterface *ags_scroll_on_play_parent_connectable_interface;
+
+GType
+ags_scroll_on_play_get_type()
+{
+ static GType ags_type_scroll_on_play = 0;
+
+ if(!ags_type_scroll_on_play){
+ static const GTypeInfo ags_scroll_on_play_info = {
+ sizeof (AgsScrollOnPlayClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_scroll_on_play_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsScrollOnPlay),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_scroll_on_play_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_scroll_on_play_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_scroll_on_play = g_type_register_static(AGS_TYPE_TASK,
+ "AgsScrollOnPlay\0",
+ &ags_scroll_on_play_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_scroll_on_play,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_scroll_on_play);
+}
+
+void
+ags_scroll_on_play_class_init(AgsScrollOnPlayClass *scroll_on_play)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_scroll_on_play_parent_class = g_type_class_peek_parent(scroll_on_play);
+
+ /* gobject */
+ gobject = (GObjectClass *) scroll_on_play;
+
+ gobject->finalize = ags_scroll_on_play_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) scroll_on_play;
+
+ task->launch = ags_scroll_on_play_launch;
+}
+
+void
+ags_scroll_on_play_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_scroll_on_play_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_scroll_on_play_connect;
+ connectable->disconnect = ags_scroll_on_play_disconnect;
+}
+
+void
+ags_scroll_on_play_init(AgsScrollOnPlay *scroll_on_play)
+{
+ scroll_on_play->editor = NULL;
+}
+
+void
+ags_scroll_on_play_connect(AgsConnectable *connectable)
+{
+ ags_scroll_on_play_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_scroll_on_play_disconnect(AgsConnectable *connectable)
+{
+ ags_scroll_on_play_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_scroll_on_play_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_scroll_on_play_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_scroll_on_play_launch(AgsTask *task)
+{
+ AgsWindow *window;
+ AgsEditor *editor;
+ AgsScrollOnPlay *scroll_on_play;
+ cairo_t *cr;
+ gdouble position;
+ gdouble loop_start, loop_end;
+ gdouble tact;
+
+ scroll_on_play = AGS_SCROLL_ON_PLAY(task);
+
+ editor = AGS_EDITOR(scroll_on_play->editor);
+
+ window = (AgsWindow *) gtk_widget_get_toplevel(GTK_WIDGET(editor));
+
+ loop_start = gtk_spin_button_get_value(window->navigation->loop_left_tact);
+ loop_end = gtk_spin_button_get_value(window->navigation->loop_right_tact);
+
+ tact = gtk_spin_button_get_value(window->navigation->position_tact);
+
+ if(!gtk_toggle_button_get_active(window->navigation->loop) || tact <= loop_end){
+ position = tact * editor->edit.note_edit->control_current.control_width;
+ }else{
+ position = loop_start * editor->edit.note_edit->control_current.control_width;
+ }
+
+ /* scroll */
+ if(position - (0.125 * editor->edit.note_edit->control_current.control_width) > 0.0){
+ gtk_range_set_value(GTK_RANGE(editor->edit.note_edit->hscrollbar),
+ position - (0.125 * editor->edit.note_edit->control_current.control_width));
+ }
+
+ /* draw fader */
+ cairo_push_group(cr);
+
+ cr = gdk_cairo_create(GTK_WIDGET(editor->edit.note_edit->drawing_area)->window);
+ ags_note_edit_draw_scroll(editor->edit.note_edit, cr,
+ position);
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+
+ cairo_destroy(cr);
+
+ /* update tact */
+ if(!gtk_toggle_button_get_active(window->navigation->loop) || tact + 1.0 < loop_end){
+ gtk_spin_button_set_value(window->navigation->position_tact,
+ tact + 1.0);
+ }else{
+ gtk_spin_button_set_value(window->navigation->position_tact,
+ loop_start);
+ }
+}
+
+/**
+ * ags_scroll_on_play_new:
+ * @editor: the #AgsEditor to scroll
+ *
+ * Creates an #AgsScrollOnPlay.
+ *
+ * Returns: an new #AgsScrollOnPlay.
+ *
+ * Since: 0.4
+ */
+AgsScrollOnPlay*
+ags_scroll_on_play_new(GtkWidget *editor)
+{
+ AgsScrollOnPlay *scroll_on_play;
+
+ scroll_on_play = (AgsScrollOnPlay *) g_object_new(AGS_TYPE_SCROLL_ON_PLAY,
+ NULL);
+
+ scroll_on_play->editor = editor;
+
+ return(scroll_on_play);
+}
diff --git a/src/ags/audio/task/ags_scroll_on_play.h b/src/ags/audio/task/ags_scroll_on_play.h
new file mode 100644
index 0000000..765ecca
--- /dev/null
+++ b/src/ags/audio/task/ags_scroll_on_play.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SCROLL_ON_PLAY_H__
+#define __AGS_SCROLL_ON_PLAY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_SCROLL_ON_PLAY (ags_scroll_on_play_get_type())
+#define AGS_SCROLL_ON_PLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlay))
+#define AGS_SCROLL_ON_PLAY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlayClass))
+#define AGS_IS_SCROLL_ON_PLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SCROLL_ON_PLAY))
+#define AGS_IS_SCROLL_ON_PLAY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SCROLL_ON_PLAY))
+#define AGS_SCROLL_ON_PLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SCROLL_ON_PLAY, AgsScrollOnPlayClass))
+
+typedef struct _AgsScrollOnPlay AgsScrollOnPlay;
+typedef struct _AgsScrollOnPlayClass AgsScrollOnPlayClass;
+
+struct _AgsScrollOnPlay
+{
+ AgsTask task;
+
+ GtkWidget *editor;
+};
+
+struct _AgsScrollOnPlayClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_scroll_on_play_get_type();
+
+AgsScrollOnPlay* ags_scroll_on_play_new(GtkWidget *editor);
+
+#endif /*__AGS_SCROLL_ON_PLAY_H__*/
diff --git a/src/ags/audio/task/ags_set_audio_channels.c b/src/ags/audio/task/ags_set_audio_channels.c
new file mode 100644
index 0000000..11c42f8
--- /dev/null
+++ b/src/ags/audio/task/ags_set_audio_channels.c
@@ -0,0 +1,177 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_set_audio_channels.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_set_audio_channels_class_init(AgsSetAudioChannelsClass *set_audio_channels);
+void ags_set_audio_channels_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_set_audio_channels_init(AgsSetAudioChannels *set_audio_channels);
+void ags_set_audio_channels_connect(AgsConnectable *connectable);
+void ags_set_audio_channels_disconnect(AgsConnectable *connectable);
+void ags_set_audio_channels_finalize(GObject *gobject);
+
+void ags_set_audio_channels_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_set_audio_channels
+ * @short_description: resizes audio channels
+ * @title: AgsSetAudioChannels
+ * @section_id:
+ * @include: ags/audio/task/ags_set_audio_channels.h
+ *
+ * The #AgsSetAudioChannels task resizes audio channels of #AgsDevout.
+ */
+
+static gpointer ags_set_audio_channels_parent_class = NULL;
+static AgsConnectableInterface *ags_set_audio_channels_parent_connectable_interface;
+
+GType
+ags_set_audio_channels_get_type()
+{
+ static GType ags_type_set_audio_channels = 0;
+
+ if(!ags_type_set_audio_channels){
+ static const GTypeInfo ags_set_audio_channels_info = {
+ sizeof (AgsSetAudioChannelsClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_set_audio_channels_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSetAudioChannels),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_set_audio_channels_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_set_audio_channels_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_set_audio_channels = g_type_register_static(AGS_TYPE_TASK,
+ "AgsSetAudioChannels\0",
+ &ags_set_audio_channels_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_set_audio_channels,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_set_audio_channels);
+}
+
+void
+ags_set_audio_channels_class_init(AgsSetAudioChannelsClass *set_audio_channels)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_set_audio_channels_parent_class = g_type_class_peek_parent(set_audio_channels);
+
+ /* gobject */
+ gobject = (GObjectClass *) set_audio_channels;
+
+ gobject->finalize = ags_set_audio_channels_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) set_audio_channels;
+
+ task->launch = ags_set_audio_channels_launch;
+}
+
+void
+ags_set_audio_channels_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_set_audio_channels_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_set_audio_channels_connect;
+ connectable->disconnect = ags_set_audio_channels_disconnect;
+}
+
+void
+ags_set_audio_channels_init(AgsSetAudioChannels *set_audio_channels)
+{
+ set_audio_channels->devout = NULL;
+ set_audio_channels->audio_channels = 0;
+}
+
+void
+ags_set_audio_channels_connect(AgsConnectable *connectable)
+{
+ ags_set_audio_channels_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_audio_channels_disconnect(AgsConnectable *connectable)
+{
+ ags_set_audio_channels_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_audio_channels_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_set_audio_channels_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_set_audio_channels_launch(AgsTask *task)
+{
+ AgsSetAudioChannels *set_audio_channels;
+
+ set_audio_channels = AGS_SET_AUDIO_CHANNELS(task);
+
+ g_object_set(G_OBJECT(set_audio_channels->devout),
+ "pcm_channels\0", set_audio_channels->audio_channels,
+ NULL);
+}
+
+/**
+ * ags_set_audio_channels_new:
+ * @devout: the #AgsDevout to reset
+ * @audio_channels: the new count of audio channels
+ *
+ * Creates an #AgsSetAudioChannels.
+ *
+ * Returns: an new #AgsSetAudioChannels.
+ *
+ * Since: 0.4
+ */
+AgsSetAudioChannels*
+ags_set_audio_channels_new(AgsDevout *devout, guint audio_channels)
+{
+ AgsSetAudioChannels *set_audio_channels;
+
+ set_audio_channels = (AgsSetAudioChannels *) g_object_new(AGS_TYPE_SET_AUDIO_CHANNELS,
+ NULL);
+
+
+ set_audio_channels->devout = devout;
+ set_audio_channels->audio_channels = audio_channels;
+
+ return(set_audio_channels);
+}
diff --git a/src/ags/audio/task/ags_set_audio_channels.h b/src/ags/audio/task/ags_set_audio_channels.h
new file mode 100644
index 0000000..16b4ea2
--- /dev/null
+++ b/src/ags/audio/task/ags_set_audio_channels.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SET_AUDIO_CHANNELS_H__
+#define __AGS_SET_AUDIO_CHANNELS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_SET_AUDIO_CHANNELS (ags_set_audio_channels_get_type())
+#define AGS_SET_AUDIO_CHANNELS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannels))
+#define AGS_SET_AUDIO_CHANNELS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannelsClass))
+#define AGS_IS_SET_AUDIO_CHANNELS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_AUDIO_CHANNELS))
+#define AGS_IS_SET_AUDIO_CHANNELS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_AUDIO_CHANNELS))
+#define AGS_SET_AUDIO_CHANNELS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannelsClass))
+
+typedef struct _AgsSetAudioChannels AgsSetAudioChannels;
+typedef struct _AgsSetAudioChannelsClass AgsSetAudioChannelsClass;
+
+struct _AgsSetAudioChannels
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+ guint audio_channels;
+};
+
+struct _AgsSetAudioChannelsClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_set_audio_channels_get_type();
+
+AgsSetAudioChannels* ags_set_audio_channels_new(AgsDevout *devout, guint audio_channels);
+
+#endif /*__AGS_SET_AUDIO_CHANNELS_H__*/
diff --git a/src/ags/audio/task/ags_set_buffer_size.c b/src/ags/audio/task/ags_set_buffer_size.c
new file mode 100644
index 0000000..76e41c7
--- /dev/null
+++ b/src/ags/audio/task/ags_set_buffer_size.c
@@ -0,0 +1,279 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_set_buffer_size.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+
+void ags_set_buffer_size_class_init(AgsSetBufferSizeClass *set_buffer_size);
+void ags_set_buffer_size_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_set_buffer_size_init(AgsSetBufferSize *set_buffer_size);
+void ags_set_buffer_size_connect(AgsConnectable *connectable);
+void ags_set_buffer_size_disconnect(AgsConnectable *connectable);
+void ags_set_buffer_size_finalize(GObject *gobject);
+
+void ags_set_buffer_size_launch(AgsTask *task);
+
+void ags_set_buffer_size_audio_signal(AgsSetBufferSize *set_buffer_size, AgsAudioSignal *audio_signal);
+void ags_set_buffer_size_recycling(AgsSetBufferSize *set_buffer_size, AgsRecycling *recycling);
+void ags_set_buffer_size_channel(AgsSetBufferSize *set_buffer_size, AgsChannel *channel);
+void ags_set_buffer_size_audio(AgsSetBufferSize *set_buffer_size, AgsAudio *audio);
+void ags_set_buffer_size_devout(AgsSetBufferSize *set_buffer_size, AgsDevout *devout);
+
+/**
+ * SECTION:ags_set_buffer_size
+ * @short_description: resizes buffer size
+ * @title: AgsSetAudioChannels
+ * @section_id:
+ * @include: ags/audio/task/ags_set_buffer_size.h
+ *
+ * The #AgsSetAudioChannels task resizes buffer size of #AgsDevout.
+ */
+
+static gpointer ags_set_buffer_size_parent_class = NULL;
+static AgsConnectableInterface *ags_set_buffer_size_parent_connectable_interface;
+
+GType
+ags_set_buffer_size_get_type()
+{
+ static GType ags_type_set_buffer_size = 0;
+
+ if(!ags_type_set_buffer_size){
+ static const GTypeInfo ags_set_buffer_size_info = {
+ sizeof (AgsSetBufferSizeClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_set_buffer_size_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSetBufferSize),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_set_buffer_size_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_set_buffer_size_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_set_buffer_size = g_type_register_static(AGS_TYPE_TASK,
+ "AgsSetBufferSize\0",
+ &ags_set_buffer_size_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_set_buffer_size,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_set_buffer_size);
+}
+
+void
+ags_set_buffer_size_class_init(AgsSetBufferSizeClass *set_buffer_size)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_set_buffer_size_parent_class = g_type_class_peek_parent(set_buffer_size);
+
+ /* gobject */
+ gobject = (GObjectClass *) set_buffer_size;
+
+ gobject->finalize = ags_set_buffer_size_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) set_buffer_size;
+
+ task->launch = ags_set_buffer_size_launch;
+}
+
+void
+ags_set_buffer_size_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_set_buffer_size_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_set_buffer_size_connect;
+ connectable->disconnect = ags_set_buffer_size_disconnect;
+}
+
+void
+ags_set_buffer_size_init(AgsSetBufferSize *set_buffer_size)
+{
+ set_buffer_size->gobject = NULL;
+ set_buffer_size->buffer_size = 128;
+}
+
+void
+ags_set_buffer_size_connect(AgsConnectable *connectable)
+{
+ ags_set_buffer_size_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_buffer_size_disconnect(AgsConnectable *connectable)
+{
+ ags_set_buffer_size_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_buffer_size_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_set_buffer_size_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_set_buffer_size_launch(AgsTask *task)
+{
+ AgsSetBufferSize *set_buffer_size;
+ GObject *gobject;
+
+ set_buffer_size = AGS_SET_BUFFER_SIZE(task);
+
+ gobject = set_buffer_size->gobject;
+
+ if(AGS_IS_DEVOUT(gobject)){
+ ags_set_buffer_size_devout(set_buffer_size, AGS_DEVOUT(gobject));
+ }else if(AGS_IS_AUDIO(gobject)){
+ ags_set_buffer_size_audio(set_buffer_size, AGS_AUDIO(gobject));
+ }else if(AGS_IS_CHANNEL(gobject)){
+ ags_set_buffer_size_channel(set_buffer_size, AGS_CHANNEL(gobject));
+ }else if(AGS_IS_RECYCLING(gobject)){
+ ags_set_buffer_size_recycling(set_buffer_size, AGS_RECYCLING(gobject));
+ }else if(AGS_IS_AUDIO_SIGNAL(gobject)){
+ ags_set_buffer_size_audio_signal(set_buffer_size, AGS_AUDIO_SIGNAL(gobject));
+ }
+}
+
+void
+ags_set_buffer_size_audio_signal(AgsSetBufferSize *set_buffer_size, AgsAudioSignal *audio_signal)
+{
+ ags_audio_signal_realloc_buffer_size(audio_signal,
+ set_buffer_size->buffer_size);
+}
+
+void
+ags_set_buffer_size_recycling(AgsSetBufferSize *set_buffer_size, AgsRecycling *recycling)
+{
+ GList *list;
+
+ list = recycling->audio_signal;
+
+ while(list != NULL){
+ ags_set_buffer_size_audio_signal(set_buffer_size, AGS_AUDIO_SIGNAL(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_set_buffer_size_channel(AgsSetBufferSize *set_buffer_size, AgsChannel *channel)
+{
+ AgsRecycling *recycling;
+
+ recycling = channel->first_recycling;
+
+ while(recycling != NULL){
+ ags_set_buffer_size_recycling(set_buffer_size, recycling);
+
+ recycling = recycling->next;
+ }
+}
+
+void
+ags_set_buffer_size_audio(AgsSetBufferSize *set_buffer_size, AgsAudio *audio)
+{
+ AgsChannel *channel;
+
+ /* AgsOutput */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_set_buffer_size_channel(set_buffer_size, channel);
+
+ channel = channel->next;
+ }
+
+ /* AgsInput */
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_set_buffer_size_channel(set_buffer_size, channel);
+
+ channel = channel->next;
+ }
+}
+
+void
+ags_set_buffer_size_devout(AgsSetBufferSize *set_buffer_size, AgsDevout *devout)
+{
+ GList *list;
+
+ /* */
+ g_object_set(G_OBJECT(devout),
+ "buffer_size\0", set_buffer_size->buffer_size,
+ NULL);
+
+ /* AgsAudio */
+ list = devout->audio;
+
+ while(list != NULL){
+ ags_set_buffer_size_audio(set_buffer_size, AGS_AUDIO(list->data));
+
+ list = list->next;
+ }
+}
+
+/**
+ * ags_set_buffer_size_new:
+ * @devout: the #AgsDevout reset
+ * @buffer_size: the new count of buffer size
+ *
+ * Creates an #AgsSetAudioChannels.
+ *
+ * Returns: an new #AgsSetAudioChannels.
+ *
+ * Since: 0.4
+ */
+AgsSetBufferSize*
+ags_set_buffer_size_new(GObject *gobject,
+ guint buffer_size)
+{
+ AgsSetBufferSize *set_buffer_size;
+
+ set_buffer_size = (AgsSetBufferSize *) g_object_new(AGS_TYPE_SET_BUFFER_SIZE,
+ NULL);
+
+ set_buffer_size->gobject = gobject;
+ set_buffer_size->buffer_size = buffer_size;
+
+ return(set_buffer_size);
+}
diff --git a/src/ags/audio/task/ags_set_buffer_size.h b/src/ags/audio/task/ags_set_buffer_size.h
new file mode 100644
index 0000000..037b9f6
--- /dev/null
+++ b/src/ags/audio/task/ags_set_buffer_size.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SET_BUFFER_SIZE_H__
+#define __AGS_SET_BUFFER_SIZE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_SET_BUFFER_SIZE (ags_set_buffer_size_get_type())
+#define AGS_SET_BUFFER_SIZE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSize))
+#define AGS_SET_BUFFER_SIZE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSizeClass))
+#define AGS_IS_SET_BUFFER_SIZE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_BUFFER_SIZE))
+#define AGS_IS_SET_BUFFER_SIZE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_BUFFER_SIZE))
+#define AGS_SET_BUFFER_SIZE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_BUFFER_SIZE, AgsSetBufferSizeClass))
+
+typedef struct _AgsSetBufferSize AgsSetBufferSize;
+typedef struct _AgsSetBufferSizeClass AgsSetBufferSizeClass;
+
+struct _AgsSetBufferSize
+{
+ AgsTask task;
+
+ GObject *gobject;
+ guint buffer_size;
+};
+
+struct _AgsSetBufferSizeClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_set_buffer_size_get_type();
+
+AgsSetBufferSize* ags_set_buffer_size_new(GObject *gobject,
+ guint buffer_size);
+
+#endif /*__AGS_SET_BUFFER_SIZE_H__*/
diff --git a/src/ags/audio/task/ags_set_devout_play_flags.c b/src/ags/audio/task/ags_set_devout_play_flags.c
new file mode 100644
index 0000000..826362f
--- /dev/null
+++ b/src/ags/audio/task/ags_set_devout_play_flags.c
@@ -0,0 +1,176 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_set_devout_play_flags.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_set_devout_play_flags_class_init(AgsSetDevoutPlayFlagsClass *set_devout_play_flags);
+void ags_set_devout_play_flags_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_set_devout_play_flags_init(AgsSetDevoutPlayFlags *set_devout_play_flags);
+void ags_set_devout_play_flags_connect(AgsConnectable *connectable);
+void ags_set_devout_play_flags_disconnect(AgsConnectable *connectable);
+void ags_set_devout_play_flags_finalize(GObject *gobject);
+
+void ags_set_devout_play_flags_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_set_devout_play_flags
+ * @short_description: modifies devout play flags
+ * @title: AgsSetAudioChannels
+ * @section_id:
+ * @include: ags/audio/task/ags_set_devout_play_flags.h
+ *
+ * The #AgsSetAudioChannels task modifies devout play flags of #AgsDevout.
+ */
+
+static gpointer ags_set_devout_play_flags_parent_class = NULL;
+static AgsConnectableInterface *ags_set_devout_play_flags_parent_connectable_interface;
+
+GType
+ags_set_devout_play_flags_get_type()
+{
+ static GType ags_type_set_devout_play_flags = 0;
+
+ if(!ags_type_set_devout_play_flags){
+ static const GTypeInfo ags_set_devout_play_flags_info = {
+ sizeof (AgsSetDevoutPlayFlagsClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_set_devout_play_flags_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSetDevoutPlayFlags),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_set_devout_play_flags_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_set_devout_play_flags_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_set_devout_play_flags = g_type_register_static(AGS_TYPE_TASK,
+ "AgsSetDevoutPlayFlags\0",
+ &ags_set_devout_play_flags_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_set_devout_play_flags,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_set_devout_play_flags);
+}
+
+void
+ags_set_devout_play_flags_class_init(AgsSetDevoutPlayFlagsClass *set_devout_play_flags)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_set_devout_play_flags_parent_class = g_type_class_peek_parent(set_devout_play_flags);
+
+ /* gobject */
+ gobject = (GObjectClass *) set_devout_play_flags;
+
+ gobject->finalize = ags_set_devout_play_flags_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) set_devout_play_flags;
+
+ task->launch = ags_set_devout_play_flags_launch;
+}
+
+void
+ags_set_devout_play_flags_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_set_devout_play_flags_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_set_devout_play_flags_connect;
+ connectable->disconnect = ags_set_devout_play_flags_disconnect;
+}
+
+void
+ags_set_devout_play_flags_init(AgsSetDevoutPlayFlags *set_devout_play_flags)
+{
+ set_devout_play_flags->devout_play = NULL;
+ set_devout_play_flags->devout_play_flags = 0;
+}
+
+void
+ags_set_devout_play_flags_connect(AgsConnectable *connectable)
+{
+ ags_set_devout_play_flags_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_devout_play_flags_disconnect(AgsConnectable *connectable)
+{
+ ags_set_devout_play_flags_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_devout_play_flags_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_set_devout_play_flags_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_set_devout_play_flags_launch(AgsTask *task)
+{
+ AgsSetDevoutPlayFlags *set_devout_play_flags;
+
+ set_devout_play_flags = AGS_SET_DEVOUT_PLAY_FLAGS(task);
+
+ /* append to AgsDevout */
+ set_devout_play_flags->devout_play->flags |= (set_devout_play_flags->devout_play_flags);
+}
+
+/**
+ * ags_set_devout_play_flags_new:
+ * @devout_play: the #AgsDevoutPlay-struct
+ * @flags: the new devout play flags
+ *
+ * Creates an #AgsSetAudioChannels.
+ *
+ * Returns: an new #AgsSetAudioChannels.
+ *
+ * Since: 0.4
+ */
+AgsSetDevoutPlayFlags*
+ags_set_devout_play_flags_new(AgsDevoutPlay *devout_play,
+ guint flags)
+{
+ AgsSetDevoutPlayFlags *set_devout_play_flags;
+
+ set_devout_play_flags = (AgsSetDevoutPlayFlags *) g_object_new(AGS_TYPE_SET_DEVOUT_PLAY_FLAGS,
+ NULL);
+
+ set_devout_play_flags->devout_play = devout_play;
+ set_devout_play_flags->devout_play_flags = flags;
+
+ return(set_devout_play_flags);
+}
diff --git a/src/ags/audio/task/ags_set_devout_play_flags.h b/src/ags/audio/task/ags_set_devout_play_flags.h
new file mode 100644
index 0000000..9879ca7
--- /dev/null
+++ b/src/ags/audio/task/ags_set_devout_play_flags.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SET_DEVOUT_PLAY_FLAGS_H__
+#define __AGS_SET_DEVOUT_PLAY_FLAGS_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_SET_DEVOUT_PLAY_FLAGS (ags_set_devout_play_flags_get_type())
+#define AGS_SET_DEVOUT_PLAY_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS, AgsSetDevoutPlayFlags))
+#define AGS_SET_DEVOUT_PLAY_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS, AgsSetDevoutPlayFlagsClass))
+#define AGS_IS_SET_DEVOUT_PLAY_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS))
+#define AGS_IS_SET_DEVOUT_PLAY_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS))
+#define AGS_SET_DEVOUT_PLAY_FLAGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_DEVOUT_PLAY_FLAGS, AgsSetDevoutPlayFlagsClass))
+
+typedef struct _AgsSetDevoutPlayFlags AgsSetDevoutPlayFlags;
+typedef struct _AgsSetDevoutPlayFlagsClass AgsSetDevoutPlayFlagsClass;
+
+struct _AgsSetDevoutPlayFlags
+{
+ AgsTask task;
+
+ AgsDevoutPlay *devout_play;
+ guint devout_play_flags;
+};
+
+struct _AgsSetDevoutPlayFlagsClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_set_devout_play_flags_get_type();
+
+AgsSetDevoutPlayFlags* ags_set_devout_play_flags_new(AgsDevoutPlay *play,
+ guint devout_play_flags);
+
+#endif /*__AGS_SET_DEVOUT_PLAY_FLAGS_H__*/
diff --git a/src/ags/audio/task/ags_set_output_device.c b/src/ags/audio/task/ags_set_output_device.c
new file mode 100644
index 0000000..0635f80
--- /dev/null
+++ b/src/ags/audio/task/ags_set_output_device.c
@@ -0,0 +1,185 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_set_output_device.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_set_output_device_class_init(AgsSetOutputDeviceClass *set_output_device);
+void ags_set_output_device_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_set_output_device_init(AgsSetOutputDevice *set_output_device);
+void ags_set_output_device_connect(AgsConnectable *connectable);
+void ags_set_output_device_disconnect(AgsConnectable *connectable);
+void ags_set_output_device_finalize(GObject *gobject);
+
+void ags_set_output_device_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_set_output_device
+ * @short_description: resets soundcard
+ * @title: AgsSetOutputDevice
+ * @section_id:
+ * @include: ags/audio/task/ags_set_output_device.h
+ *
+ * The #AgsSetOutputDevice task resets soundcard of #AgsDevout.
+ */
+
+static gpointer ags_set_output_device_parent_class = NULL;
+static AgsConnectableInterface *ags_set_output_device_parent_connectable_interface;
+
+GType
+ags_set_output_device_get_type()
+{
+ static GType ags_type_set_output_device = 0;
+
+ if(!ags_type_set_output_device){
+ static const GTypeInfo ags_set_output_device_info = {
+ sizeof (AgsSetOutputDeviceClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_set_output_device_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSetOutputDevice),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_set_output_device_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_set_output_device_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_set_output_device = g_type_register_static(AGS_TYPE_TASK,
+ "AgsSetOutputDevice\0",
+ &ags_set_output_device_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_set_output_device,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_set_output_device);
+}
+
+void
+ags_set_output_device_class_init(AgsSetOutputDeviceClass *set_output_device)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_set_output_device_parent_class = g_type_class_peek_parent(set_output_device);
+
+ /* gobject */
+ gobject = (GObjectClass *) set_output_device;
+
+ gobject->finalize = ags_set_output_device_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) set_output_device;
+
+ task->launch = ags_set_output_device_launch;
+}
+
+void
+ags_set_output_device_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_set_output_device_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_set_output_device_connect;
+ connectable->disconnect = ags_set_output_device_disconnect;
+}
+
+void
+ags_set_output_device_init(AgsSetOutputDevice *set_output_device)
+{
+ set_output_device->devout = NULL;
+ set_output_device->card_id = NULL;
+}
+
+void
+ags_set_output_device_connect(AgsConnectable *connectable)
+{
+ ags_set_output_device_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_output_device_disconnect(AgsConnectable *connectable)
+{
+ ags_set_output_device_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_output_device_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_set_output_device_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_set_output_device_launch(AgsTask *task)
+{
+ AgsDevout *devout;
+ AgsSetOutputDevice *set_output_device;
+ char *card_id;
+
+ set_output_device = AGS_SET_OUTPUT_DEVICE(task);
+
+ devout = AGS_DEVOUT(set_output_device->devout);
+ card_id = set_output_device->card_id;
+
+ /* perform task */
+ g_object_set(G_OBJECT(devout),
+ "device\0", card_id,
+ NULL);
+}
+
+/**
+ * ags_set_output_device_new:
+ * @devout: the #AgsDevout to reset
+ * @card_id: the new soundcard
+ *
+ * Creates an #AgsSetOutputDevice.
+ *
+ * Returns: an new #AgsSetOutputDevice.
+ *
+ * Since: 0.4
+ */
+AgsSetOutputDevice*
+ags_set_output_device_new(GObject *devout,
+ char *card_id)
+{
+ AgsSetOutputDevice *set_output_device;
+
+ set_output_device = (AgsSetOutputDevice *) g_object_new(AGS_TYPE_SET_OUTPUT_DEVICE,
+ NULL);
+
+ set_output_device->devout = devout;
+ set_output_device->card_id = card_id;
+
+ return(set_output_device);
+}
diff --git a/src/ags/audio/task/ags_set_output_device.h b/src/ags/audio/task/ags_set_output_device.h
new file mode 100644
index 0000000..57fe944
--- /dev/null
+++ b/src/ags/audio/task/ags_set_output_device.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SET_OUTPUT_DEVICE_H__
+#define __AGS_SET_OUTPUT_DEVICE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_SET_OUTPUT_DEVICE (ags_set_output_device_get_type())
+#define AGS_SET_OUTPUT_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDevice))
+#define AGS_SET_OUTPUT_DEVICE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDeviceClass))
+#define AGS_IS_SET_OUTPUT_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_OUTPUT_DEVICE))
+#define AGS_IS_SET_OUTPUT_DEVICE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_OUTPUT_DEVICE))
+#define AGS_SET_OUTPUT_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_OUTPUT_DEVICE, AgsSetOutputDeviceClass))
+
+typedef struct _AgsSetOutputDevice AgsSetOutputDevice;
+typedef struct _AgsSetOutputDeviceClass AgsSetOutputDeviceClass;
+
+struct _AgsSetOutputDevice
+{
+ AgsTask task;
+
+ GObject *devout;
+ char *card_id;
+};
+
+struct _AgsSetOutputDeviceClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_set_output_device_get_type();
+
+AgsSetOutputDevice* ags_set_output_device_new(GObject *devout,
+ char *card_id);
+
+#endif /*__AGS_SET_OUTPUT_DEVICE_H__*/
diff --git a/src/ags/audio/task/ags_set_samplerate.c b/src/ags/audio/task/ags_set_samplerate.c
new file mode 100644
index 0000000..5de0abe
--- /dev/null
+++ b/src/ags/audio/task/ags_set_samplerate.c
@@ -0,0 +1,278 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_set_samplerate.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+
+void ags_set_samplerate_class_init(AgsSetSamplerateClass *set_samplerate);
+void ags_set_samplerate_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_set_samplerate_init(AgsSetSamplerate *set_samplerate);
+void ags_set_samplerate_connect(AgsConnectable *connectable);
+void ags_set_samplerate_disconnect(AgsConnectable *connectable);
+void ags_set_samplerate_finalize(GObject *gobject);
+
+void ags_set_samplerate_launch(AgsTask *task);
+
+void ags_set_samplerate_audio_signal(AgsSetSamplerate *set_samplerate, AgsAudioSignal *audio_signal);
+void ags_set_samplerate_recycling(AgsSetSamplerate *set_samplerate, AgsRecycling *recycling);
+void ags_set_samplerate_channel(AgsSetSamplerate *set_samplerate, AgsChannel *channel);
+void ags_set_samplerate_audio(AgsSetSamplerate *set_samplerate, AgsAudio *audio);
+void ags_set_samplerate_devout(AgsSetSamplerate *set_samplerate, AgsDevout *devout);
+
+/**
+ * SECTION:ags_set_samplerate
+ * @short_description: modifies samplerate
+ * @title: AgsSetSamplerate
+ * @section_id:
+ * @include: ags/audio/task/ags_set_samplerate.h
+ *
+ * The #AgsSetSamplerate task modifies samplerate of #AgsDevout.
+ */
+
+static gpointer ags_set_samplerate_parent_class = NULL;
+static AgsConnectableInterface *ags_set_samplerate_parent_connectable_interface;
+
+GType
+ags_set_samplerate_get_type()
+{
+ static GType ags_type_set_samplerate = 0;
+
+ if(!ags_type_set_samplerate){
+ static const GTypeInfo ags_set_samplerate_info = {
+ sizeof (AgsSetSamplerateClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_set_samplerate_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSetSamplerate),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_set_samplerate_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_set_samplerate_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_set_samplerate = g_type_register_static(AGS_TYPE_TASK,
+ "AgsSetSamplerate\0",
+ &ags_set_samplerate_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_set_samplerate,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_set_samplerate);
+}
+
+void
+ags_set_samplerate_class_init(AgsSetSamplerateClass *set_samplerate)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_set_samplerate_parent_class = g_type_class_peek_parent(set_samplerate);
+
+ /* gobject */
+ gobject = (GObjectClass *) set_samplerate;
+
+ gobject->finalize = ags_set_samplerate_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) set_samplerate;
+
+ task->launch = ags_set_samplerate_launch;
+}
+
+void
+ags_set_samplerate_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_set_samplerate_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_set_samplerate_connect;
+ connectable->disconnect = ags_set_samplerate_disconnect;
+}
+
+void
+ags_set_samplerate_init(AgsSetSamplerate *set_samplerate)
+{
+ set_samplerate->gobject = NULL;
+ set_samplerate->samplerate = 44100;
+}
+
+void
+ags_set_samplerate_connect(AgsConnectable *connectable)
+{
+ ags_set_samplerate_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_samplerate_disconnect(AgsConnectable *connectable)
+{
+ ags_set_samplerate_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_samplerate_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_set_samplerate_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_set_samplerate_launch(AgsTask *task)
+{
+ AgsSetSamplerate *set_samplerate;
+ GObject *gobject;
+
+ set_samplerate = AGS_SET_SAMPLERATE(task);
+
+ gobject = set_samplerate->gobject;
+
+ if(AGS_IS_DEVOUT(gobject)){
+ ags_set_samplerate_devout(set_samplerate, AGS_DEVOUT(gobject));
+ }else if(AGS_IS_AUDIO(gobject)){
+ ags_set_samplerate_audio(set_samplerate, AGS_AUDIO(gobject));
+ }else if(AGS_IS_CHANNEL(gobject)){
+ ags_set_samplerate_channel(set_samplerate, AGS_CHANNEL(gobject));
+ }else if(AGS_IS_RECYCLING(gobject)){
+ ags_set_samplerate_recycling(set_samplerate, AGS_RECYCLING(gobject));
+ }else if(AGS_IS_AUDIO_SIGNAL(gobject)){
+ ags_set_samplerate_audio_signal(set_samplerate, AGS_AUDIO_SIGNAL(gobject));
+ }
+}
+
+void
+ags_set_samplerate_audio_signal(AgsSetSamplerate *set_samplerate, AgsAudioSignal *audio_signal)
+{
+ ags_audio_signal_morph_samplerate(audio_signal,
+ set_samplerate->samplerate, 0.0);
+}
+
+void
+ags_set_samplerate_recycling(AgsSetSamplerate *set_samplerate, AgsRecycling *recycling)
+{
+ GList *list;
+
+ list = recycling->audio_signal;
+
+ while(list != NULL){
+ ags_set_samplerate_audio_signal(set_samplerate, AGS_AUDIO_SIGNAL(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_set_samplerate_channel(AgsSetSamplerate *set_samplerate, AgsChannel *channel)
+{
+ AgsRecycling *recycling;
+
+ recycling = channel->first_recycling;
+
+ while(recycling != NULL){
+ ags_set_samplerate_recycling(set_samplerate, recycling);
+
+ recycling = recycling->next;
+ }
+}
+
+void
+ags_set_samplerate_audio(AgsSetSamplerate *set_samplerate, AgsAudio *audio)
+{
+ AgsChannel *channel;
+
+ /* AgsOutput */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_set_samplerate_channel(set_samplerate, channel);
+
+ channel = channel->next;
+ }
+
+ /* AgsInput */
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_set_samplerate_channel(set_samplerate, channel);
+
+ channel = channel->next;
+ }
+}
+
+void
+ags_set_samplerate_devout(AgsSetSamplerate *set_samplerate, AgsDevout *devout)
+{
+ GList *list;
+
+ g_object_set(G_OBJECT(devout),
+ "frequency\0", (guint) set_samplerate->samplerate,
+ NULL);
+
+ /* AgsAudio */
+ list = devout->audio;
+
+ while(list != NULL){
+ ags_set_samplerate_audio(set_samplerate, AGS_AUDIO(list->data));
+
+ list = list->next;
+ }
+}
+
+/**
+ * ags_set_samplerate_new:
+ * @devout: the #AgsDevout to reset
+ * @samplerate: the new samplerate
+ *
+ * Creates an #AgsSetSamplerate.
+ *
+ * Returns: an new #AgsSetSamplerate.
+ *
+ * Since: 0.4
+ */
+AgsSetSamplerate*
+ags_set_samplerate_new(GObject *gobject,
+ guint samplerate)
+{
+ AgsSetSamplerate *set_samplerate;
+
+ set_samplerate = (AgsSetSamplerate *) g_object_new(AGS_TYPE_SET_SAMPLERATE,
+ NULL);
+
+ set_samplerate->gobject = gobject;
+ set_samplerate->samplerate = samplerate;
+
+ return(set_samplerate);
+}
diff --git a/src/ags/audio/task/ags_set_samplerate.h b/src/ags/audio/task/ags_set_samplerate.h
new file mode 100644
index 0000000..821b24f
--- /dev/null
+++ b/src/ags/audio/task/ags_set_samplerate.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SET_SAMPLERATE_H__
+#define __AGS_SET_SAMPLERATE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_SET_SAMPLERATE (ags_set_samplerate_get_type())
+#define AGS_SET_SAMPLERATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerate))
+#define AGS_SET_SAMPLERATE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerateClass))
+#define AGS_IS_SET_SAMPLERATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_SAMPLERATE))
+#define AGS_IS_SET_SAMPLERATE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_SAMPLERATE))
+#define AGS_SET_SAMPLERATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_SAMPLERATE, AgsSetSamplerateClass))
+
+typedef struct _AgsSetSamplerate AgsSetSamplerate;
+typedef struct _AgsSetSamplerateClass AgsSetSamplerateClass;
+
+struct _AgsSetSamplerate
+{
+ AgsTask task;
+
+ GObject *gobject;
+ guint samplerate;
+};
+
+struct _AgsSetSamplerateClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_set_samplerate_get_type();
+
+AgsSetSamplerate* ags_set_samplerate_new(GObject *gobject,
+ guint samplerate);
+
+#endif /*__AGS_SET_SAMPLERATE_H__*/
diff --git a/src/ags/audio/task/ags_start_devout.c b/src/ags/audio/task/ags_start_devout.c
new file mode 100644
index 0000000..2c8bc6a
--- /dev/null
+++ b/src/ags/audio/task/ags_start_devout.c
@@ -0,0 +1,223 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_start_devout.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_devout_thread.h>
+
+void ags_start_devout_class_init(AgsStartDevoutClass *start_devout);
+void ags_start_devout_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_start_devout_init(AgsStartDevout *start_devout);
+void ags_start_devout_connect(AgsConnectable *connectable);
+void ags_start_devout_disconnect(AgsConnectable *connectable);
+void ags_start_devout_finalize(GObject *gobject);
+
+void ags_start_devout_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_start_devout
+ * @short_description: start devout object
+ * @title: AgsStartDevout
+ * @section_id:
+ * @include: ags/audio/task/ags_start_devout.h
+ *
+ * The #AgsStartDevout task starts devout.
+ */
+
+static gpointer ags_start_devout_parent_class = NULL;
+static AgsConnectableInterface *ags_start_devout_parent_connectable_interface;
+
+GType
+ags_start_devout_get_type()
+{
+ static GType ags_type_start_devout = 0;
+
+ if(!ags_type_start_devout){
+ static const GTypeInfo ags_start_devout_info = {
+ sizeof (AgsStartDevoutClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_start_devout_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsStartDevout),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_start_devout_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_start_devout_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_start_devout = g_type_register_static(AGS_TYPE_TASK,
+ "AgsStartDevout\0",
+ &ags_start_devout_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_start_devout,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_start_devout);
+}
+
+void
+ags_start_devout_class_init(AgsStartDevoutClass *start_devout)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_start_devout_parent_class = g_type_class_peek_parent(start_devout);
+
+ /* gobject */
+ gobject = (GObjectClass *) start_devout;
+
+ gobject->finalize = ags_start_devout_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) start_devout;
+
+ task->launch = ags_start_devout_launch;
+}
+
+void
+ags_start_devout_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_start_devout_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_start_devout_connect;
+ connectable->disconnect = ags_start_devout_disconnect;
+}
+
+void
+ags_start_devout_init(AgsStartDevout *start_devout)
+{
+ start_devout->devout = NULL;
+}
+
+void
+ags_start_devout_connect(AgsConnectable *connectable)
+{
+ ags_start_devout_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_start_devout_disconnect(AgsConnectable *connectable)
+{
+ ags_start_devout_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_start_devout_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_start_devout_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_start_devout_launch(AgsTask *task)
+{
+ AgsStartDevout *start_devout;
+ AgsDevout *devout;
+ AgsAudioLoop *audio_loop;
+ AgsDevoutThread *devout_thread;
+ guint val;
+ GError *error;
+
+ start_devout = AGS_START_DEVOUT(task);
+
+ devout = start_devout->devout;
+
+ if((AGS_DEVOUT_PLAY & (devout->flags)) != 0){
+ return;
+ }
+
+ audio_loop = AGS_AUDIO_LOOP(AGS_MAIN(devout->ags_main)->main_loop);
+ devout_thread = AGS_DEVOUT_THREAD(audio_loop->devout_thread);
+
+ /* append to AgsDevout */
+ audio_loop->flags |= (AGS_AUDIO_LOOP_PLAY_AUDIO |
+ AGS_AUDIO_LOOP_PLAY_CHANNEL |
+ AGS_AUDIO_LOOP_PLAY_RECALL);
+ devout->flags |= (AGS_DEVOUT_START_PLAY |
+ AGS_DEVOUT_PLAY);
+
+ error = devout_thread->error;
+ devout_thread->error = NULL;
+
+ ags_thread_start(AGS_THREAD(devout_thread));
+
+ if((AGS_THREAD_SINGLE_LOOP & (AGS_THREAD(devout_thread)->flags)) == 0){
+ if(devout_thread->error != NULL &&
+ error == NULL){
+ ags_task_failure(AGS_TASK(start_devout), devout_thread->error);
+ }else{
+ pthread_mutex_lock(&(AGS_THREAD(devout_thread)->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(devout_thread)->flags));
+
+ if((AGS_THREAD_INITIAL_RUN & val) != 0){
+ while((AGS_THREAD_INITIAL_RUN & val) != 0){
+ pthread_cond_wait(&(AGS_THREAD(devout_thread)->start_cond),
+ &(AGS_THREAD(devout_thread)->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(devout_thread)->flags));
+ }
+ }
+
+ // ags_thread_unlock(AGS_THREAD(devout_thread));
+ pthread_mutex_unlock(&(AGS_THREAD(devout_thread)->start_mutex));
+ }
+ }
+}
+
+/**
+ * ags_start_devout_new:
+ * @devout: the #AgsDevout
+ *
+ * Creates an #AgsStartDevout.
+ *
+ * Returns: an new #AgsStartDevout.
+ *
+ * Since: 0.4
+ */
+AgsStartDevout*
+ags_start_devout_new(AgsDevout *devout)
+{
+ AgsStartDevout *start_devout;
+
+ start_devout = (AgsStartDevout *) g_object_new(AGS_TYPE_START_DEVOUT,
+ NULL);
+
+ start_devout->devout = devout;
+
+ return(start_devout);
+}
diff --git a/src/ags/audio/task/ags_start_devout.h b/src/ags/audio/task/ags_start_devout.h
new file mode 100644
index 0000000..21e9743
--- /dev/null
+++ b/src/ags/audio/task/ags_start_devout.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_START_DEVOUT_H__
+#define __AGS_START_DEVOUT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_START_DEVOUT (ags_start_devout_get_type())
+#define AGS_START_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_START_DEVOUT, AgsStartDevout))
+#define AGS_START_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_START_DEVOUT, AgsStartDevoutClass))
+#define AGS_IS_START_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_START_DEVOUT))
+#define AGS_IS_START_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_START_DEVOUT))
+#define AGS_START_DEVOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_START_DEVOUT, AgsStartDevoutClass))
+
+typedef struct _AgsStartDevout AgsStartDevout;
+typedef struct _AgsStartDevoutClass AgsStartDevoutClass;
+
+struct _AgsStartDevout
+{
+ AgsTask task;
+
+ AgsDevout *devout;
+};
+
+struct _AgsStartDevoutClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_start_devout_get_type();
+
+AgsStartDevout* ags_start_devout_new(AgsDevout *devout);
+
+#endif /*__AGS_START_DEVOUT_H__*/
+
diff --git a/src/ags/audio/task/ags_toggle_led.c b/src/ags/audio/task/ags_toggle_led.c
new file mode 100644
index 0000000..e28fb54
--- /dev/null
+++ b/src/ags/audio/task/ags_toggle_led.c
@@ -0,0 +1,196 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_toggle_led.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/widget/ags_led.h>
+
+void ags_toggle_led_class_init(AgsToggleLedClass *toggle_led);
+void ags_toggle_led_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_toggle_led_init(AgsToggleLed *toggle_led);
+void ags_toggle_led_connect(AgsConnectable *connectable);
+void ags_toggle_led_disconnect(AgsConnectable *connectable);
+void ags_toggle_led_finalize(GObject *gobject);
+void ags_toggle_led_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_toggle_led
+ * @short_description: toggle led object
+ * @title: AgsToggleLed
+ * @section_id:
+ * @include: ags/audio/task/ags_toggle_led.h
+ *
+ * The #AgsToggleLed task toggles #AgsLed and the GUI is updated.
+ */
+
+static gpointer ags_toggle_led_parent_class = NULL;
+static AgsConnectableInterface *ags_toggle_led_parent_connectable_interface;
+
+GType
+ags_toggle_led_get_type()
+{
+ static GType ags_type_toggle_led = 0;
+
+ if(!ags_type_toggle_led){
+ static const GTypeInfo ags_toggle_led_info = {
+ sizeof (AgsToggleLedClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_toggle_led_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsToggleLed),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_toggle_led_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_toggle_led_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_toggle_led = g_type_register_static(AGS_TYPE_TASK,
+ "AgsToggleLed\0",
+ &ags_toggle_led_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_toggle_led,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_toggle_led);
+}
+
+void
+ags_toggle_led_class_init(AgsToggleLedClass *toggle_led)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_toggle_led_parent_class = g_type_class_peek_parent(toggle_led);
+
+ /* GObject */
+ gobject = (GObjectClass *) toggle_led;
+
+ gobject->finalize = ags_toggle_led_finalize;
+
+ /* AgsTask */
+ task = (AgsTaskClass *) toggle_led;
+
+ task->launch = ags_toggle_led_launch;
+}
+
+void
+ags_toggle_led_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_toggle_led_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_toggle_led_connect;
+ connectable->disconnect = ags_toggle_led_disconnect;
+}
+
+void
+ags_toggle_led_init(AgsToggleLed *toggle_led)
+{
+ toggle_led->led = NULL;
+ toggle_led->set_active = 0;
+ toggle_led->unset_active = 0;
+}
+
+void
+ags_toggle_led_connect(AgsConnectable *connectable)
+{
+ ags_toggle_led_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_toggle_led_disconnect(AgsConnectable *connectable)
+{
+ ags_toggle_led_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_toggle_led_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_toggle_led_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_toggle_led_launch(AgsTask *task)
+{
+ AgsToggleLed *toggle_led;
+ GList *list, *active;
+ guint i;
+
+ toggle_led = AGS_TOGGLE_LED(task);
+ list = toggle_led->led;
+
+ for(i = 0; list != NULL; i++){
+ if(i == toggle_led->set_active){
+ active = list;
+ list = list->next;
+
+ continue;
+ }
+
+ ags_led_unset_active(AGS_LED(list->data));
+
+ list = list->next;
+ }
+
+ ags_led_set_active(AGS_LED(active->data));
+}
+
+/**
+ * ags_toggle_led_new:
+ * @led: the #AgsLed to toggle
+ * @set_active: the nth led to activate
+ * @unset_active: the nth led to deactivate
+ *
+ * Creates an #AgsToggleLed.
+ *
+ * Returns: an new #AgsToggleLed.
+ *
+ * Since: 0.4
+ */
+AgsToggleLed*
+ags_toggle_led_new(GList *led,
+ guint set_active,
+ guint unset_active)
+{
+ AgsToggleLed *toggle_led;
+
+ toggle_led = (AgsToggleLed *) g_object_new(AGS_TYPE_TOGGLE_LED,
+ NULL);
+
+ toggle_led->led = led;
+ toggle_led->set_active = set_active;
+ toggle_led->unset_active = unset_active;
+
+ return(toggle_led);
+}
diff --git a/src/ags/audio/task/ags_toggle_led.h b/src/ags/audio/task/ags_toggle_led.h
new file mode 100644
index 0000000..b1ed32f
--- /dev/null
+++ b/src/ags/audio/task/ags_toggle_led.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TOGGLE_LED_H__
+#define __AGS_TOGGLE_LED_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_TOGGLE_LED (ags_toggle_led_get_type())
+#define AGS_TOGGLE_LED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TOGGLE_LED, AgsToggleLed))
+#define AGS_TOGGLE_LED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TOGGLE_LED, AgsToggleLedClass))
+#define AGS_IS_TOGGLE_LED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TOGGLE_LED))
+#define AGS_IS_TOGGLE_LED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TOGGLE_LED))
+#define AGS_TOGGLE_LED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TOGGLE_LED, AgsToggleLedClass))
+
+typedef struct _AgsToggleLed AgsToggleLed;
+typedef struct _AgsToggleLedClass AgsToggleLedClass;
+
+struct _AgsToggleLed
+{
+ AgsTask task;
+
+ GList *led;
+ guint set_active;
+ guint unset_active;
+};
+
+struct _AgsToggleLedClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_toggle_led_get_type();
+
+AgsToggleLed* ags_toggle_led_new(GList *led,
+ guint set_active,
+ guint unset_active);
+
+#endif /*__AGS_TOGGLE_LED_H__*/
diff --git a/src/ags/audio/task/ags_toggle_pattern_bit.c b/src/ags/audio/task/ags_toggle_pattern_bit.c
new file mode 100644
index 0000000..9d20d1c
--- /dev/null
+++ b/src/ags/audio/task/ags_toggle_pattern_bit.c
@@ -0,0 +1,222 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_toggle_pattern_bit.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_toggle_pattern_bit_class_init(AgsTogglePatternBitClass *toggle_pattern_bit);
+void ags_toggle_pattern_bit_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_toggle_pattern_bit_init(AgsTogglePatternBit *toggle_pattern_bit);
+void ags_toggle_pattern_bit_connect(AgsConnectable *connectable);
+void ags_toggle_pattern_bit_disconnect(AgsConnectable *connectable);
+void ags_toggle_pattern_bit_finalize(GObject *gobject);
+
+void ags_toggle_pattern_bit_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_toggle_pattern_bit
+ * @short_description: toggles the pattern
+ * @title: AgsTogglePatternBit
+ * @section_id:
+ * @include: ags/audio/task/ags_toggle_pattern_bit.h
+ *
+ * The #AgsTogglePatternBit task toggles the specified #AgsPattern.
+ */
+
+enum{
+ REFRESH_GUI,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_toggle_pattern_bit_parent_class = NULL;
+static AgsConnectableInterface *ags_toggle_pattern_bit_parent_connectable_interface;
+static guint toggle_pattern_bit_signals[LAST_SIGNAL];
+
+GType
+ags_toggle_pattern_bit_get_type()
+{
+ static GType ags_type_toggle_pattern_bit = 0;
+
+ if(!ags_type_toggle_pattern_bit){
+ static const GTypeInfo ags_toggle_pattern_bit_info = {
+ sizeof (AgsTogglePatternBitClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_toggle_pattern_bit_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsTogglePatternBit),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_toggle_pattern_bit_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_toggle_pattern_bit_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_toggle_pattern_bit = g_type_register_static(AGS_TYPE_TASK,
+ "AgsTogglePatternBit\0",
+ &ags_toggle_pattern_bit_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_toggle_pattern_bit,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_toggle_pattern_bit);
+}
+
+void
+ags_toggle_pattern_bit_class_init(AgsTogglePatternBitClass *toggle_pattern_bit)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_toggle_pattern_bit_parent_class = g_type_class_peek_parent(toggle_pattern_bit);
+
+ /* gobject */
+ gobject = (GObjectClass *) toggle_pattern_bit;
+
+ gobject->finalize = ags_toggle_pattern_bit_finalize;
+
+ /* signals */
+ toggle_pattern_bit_signals[REFRESH_GUI] =
+ g_signal_new("refresh-gui\0",
+ G_TYPE_FROM_CLASS (toggle_pattern_bit),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsTogglePatternBitClass, refresh_gui),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /* task */
+ task = (AgsTaskClass *) toggle_pattern_bit;
+
+ task->launch = ags_toggle_pattern_bit_launch;
+
+ /* toggle pattern bit */
+ toggle_pattern_bit->refresh_gui = NULL;
+}
+
+void
+ags_toggle_pattern_bit_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_toggle_pattern_bit_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_toggle_pattern_bit_connect;
+ connectable->disconnect = ags_toggle_pattern_bit_disconnect;
+}
+
+void
+ags_toggle_pattern_bit_init(AgsTogglePatternBit *toggle_pattern_bit)
+{
+ toggle_pattern_bit->pattern = NULL;
+ toggle_pattern_bit->line = 0;
+
+ toggle_pattern_bit->index_i = 0;
+ toggle_pattern_bit->index_j = 0;
+ toggle_pattern_bit->bit = 0;
+}
+
+void
+ags_toggle_pattern_bit_connect(AgsConnectable *connectable)
+{
+ ags_toggle_pattern_bit_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_toggle_pattern_bit_disconnect(AgsConnectable *connectable)
+{
+ ags_toggle_pattern_bit_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_toggle_pattern_bit_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_toggle_pattern_bit_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_toggle_pattern_bit_launch(AgsTask *task)
+{
+ AgsTogglePatternBit *toggle_pattern_bit;
+
+ toggle_pattern_bit = AGS_TOGGLE_PATTERN_BIT(task);
+
+ ags_pattern_toggle_bit((AgsPattern *) toggle_pattern_bit->pattern,
+ toggle_pattern_bit->index_i, toggle_pattern_bit->index_j,
+ toggle_pattern_bit->bit);
+
+ ags_toggle_pattern_bit_refresh_gui(toggle_pattern_bit);
+}
+
+void
+ags_toggle_pattern_bit_refresh_gui(AgsTogglePatternBit *toggle_pattern_bit)
+{
+ g_return_if_fail(AGS_IS_TOGGLE_PATTERN_BIT(toggle_pattern_bit));
+
+ g_object_ref(G_OBJECT(toggle_pattern_bit));
+ g_signal_emit(G_OBJECT(toggle_pattern_bit),
+ toggle_pattern_bit_signals[REFRESH_GUI], 0);
+ g_object_unref(G_OBJECT(toggle_pattern_bit));
+}
+
+/**
+ * ags_toggle_pattern_bit_new:
+ * @pattern: the #AgsPattern to toggle
+ * @line:
+ * @index_i: bank 0
+ * @index_j: bank 1
+ * @bit: the index within pattern
+ *
+ * Creates an #AgsTogglePatternBit.
+ *
+ * Returns: an new #AgsTogglePatternBit.
+ *
+ * Since: 0.4
+ */
+AgsTogglePatternBit*
+ags_toggle_pattern_bit_new(AgsPattern *pattern,
+ guint line,
+ guint index_i, guint index_j,
+ guint bit)
+{
+ AgsTogglePatternBit *toggle_pattern_bit;
+
+ toggle_pattern_bit = (AgsTogglePatternBit *) g_object_new(AGS_TYPE_TOGGLE_PATTERN_BIT,
+ NULL);
+
+ toggle_pattern_bit->pattern = pattern;
+ toggle_pattern_bit->line = line;
+
+ toggle_pattern_bit->index_i = index_i;
+ toggle_pattern_bit->index_j = index_j;
+ toggle_pattern_bit->bit = bit;
+
+ return(toggle_pattern_bit);
+}
diff --git a/src/ags/audio/task/ags_toggle_pattern_bit.h b/src/ags/audio/task/ags_toggle_pattern_bit.h
new file mode 100644
index 0000000..09bbc55
--- /dev/null
+++ b/src/ags/audio/task/ags_toggle_pattern_bit.h
@@ -0,0 +1,66 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TOGGLE_PATTERN_BIT_H__
+#define __AGS_TOGGLE_PATTERN_BIT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_pattern.h>
+
+#define AGS_TYPE_TOGGLE_PATTERN_BIT (ags_toggle_pattern_bit_get_type())
+#define AGS_TOGGLE_PATTERN_BIT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TOGGLE_PATTERN_BIT, AgsTogglePatternBit))
+#define AGS_TOGGLE_PATTERN_BIT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TOGGLE_PATTERN_BIT, AgsTogglePatternBitClass))
+#define AGS_IS_TOGGLE_PATTERN_BIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TOGGLE_PATTERN_BIT))
+#define AGS_IS_TOGGLE_PATTERN_BIT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TOGGLE_PATTERN_BIT))
+#define AGS_TOGGLE_PATTERN_BIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_TOGGLE_PATTERN_BIT, AgsTogglePatternBitClass))
+
+typedef struct _AgsTogglePatternBit AgsTogglePatternBit;
+typedef struct _AgsTogglePatternBitClass AgsTogglePatternBitClass;
+
+struct _AgsTogglePatternBit
+{
+ AgsTask task;
+
+ AgsPattern *pattern;
+ guint line;
+
+ guint index_i;
+ guint index_j;
+ guint bit;
+};
+
+struct _AgsTogglePatternBitClass
+{
+ AgsTaskClass task;
+
+ void (*refresh_gui)(AgsTogglePatternBit *toggle_pattern_bit);
+};
+
+GType ags_toggle_pattern_bit_get_type();
+
+void ags_toggle_pattern_bit_refresh_gui(AgsTogglePatternBit *toggle_pattern_bit);
+
+AgsTogglePatternBit* ags_toggle_pattern_bit_new(AgsPattern *pattern,
+ guint line,
+ guint index_i, guint index_j,
+ guint bit);
+
+#endif /*__AGS_TOGGLE_PATTERN_BIT_H__*/
diff --git a/src/ags/audio/task/ags_unref_audio_signal.c b/src/ags/audio/task/ags_unref_audio_signal.c
new file mode 100644
index 0000000..e799b86
--- /dev/null
+++ b/src/ags/audio/task/ags_unref_audio_signal.c
@@ -0,0 +1,152 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_unref_audio_signal.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_unref_audio_signal_class_init(AgsUnrefAudioSignalClass *unref_audio_signal);
+void ags_unref_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_unref_audio_signal_init(AgsUnrefAudioSignal *unref_audio_signal);
+void ags_unref_audio_signal_connect(AgsConnectable *connectable);
+void ags_unref_audio_signal_disconnect(AgsConnectable *connectable);
+void ags_unref_audio_signal_finalize(GObject *gobject);
+
+void ags_unref_audio_signal_launch(AgsTask *task);
+
+static gpointer ags_unref_audio_signal_parent_class = NULL;
+static AgsConnectableInterface *ags_unref_audio_signal_parent_connectable_interface;
+
+GType
+ags_unref_audio_signal_get_type()
+{
+ static GType ags_type_unref_audio_signal = 0;
+
+ if(!ags_type_unref_audio_signal){
+ static const GTypeInfo ags_unref_audio_signal_info = {
+ sizeof (AgsUnrefAudioSignalClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_unref_audio_signal_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsUnrefAudioSignal),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_unref_audio_signal_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_unref_audio_signal_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_unref_audio_signal = g_type_register_static(AGS_TYPE_TASK,
+ "AgsUnrefAudioSignal\0",
+ &ags_unref_audio_signal_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_unref_audio_signal,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_unref_audio_signal);
+}
+
+void
+ags_unref_audio_signal_class_init(AgsUnrefAudioSignalClass *unref_audio_signal)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_unref_audio_signal_parent_class = g_type_class_peek_parent(unref_audio_signal);
+
+ /* gobject */
+ gobject = (GObjectClass *) unref_audio_signal;
+
+ gobject->finalize = ags_unref_audio_signal_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) unref_audio_signal;
+
+ task->launch = ags_unref_audio_signal_launch;
+}
+
+void
+ags_unref_audio_signal_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_unref_audio_signal_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_unref_audio_signal_connect;
+ connectable->disconnect = ags_unref_audio_signal_disconnect;
+}
+
+void
+ags_unref_audio_signal_init(AgsUnrefAudioSignal *unref_audio_signal)
+{
+ unref_audio_signal->audio_signal = NULL;
+}
+
+void
+ags_unref_audio_signal_connect(AgsConnectable *connectable)
+{
+ ags_unref_audio_signal_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_unref_audio_signal_disconnect(AgsConnectable *connectable)
+{
+ ags_unref_audio_signal_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_unref_audio_signal_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_unref_audio_signal_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_unref_audio_signal_launch(AgsTask *task)
+{
+ AgsUnrefAudioSignal *unref_audio_signal;
+
+ unref_audio_signal = AGS_UNREF_AUDIO_SIGNAL(task);
+
+ /* cancel AgsRecall */
+ g_object_unref(unref_audio_signal->audio_signal);
+}
+
+AgsUnrefAudioSignal*
+ags_unref_audio_signal_new(AgsAudioSignal *audio_signal)
+{
+ AgsUnrefAudioSignal *unref_audio_signal;
+
+ unref_audio_signal = (AgsUnrefAudioSignal *) g_object_new(AGS_TYPE_UNREF_AUDIO_SIGNAL,
+ NULL);
+
+ unref_audio_signal->audio_signal = audio_signal;
+
+ return(unref_audio_signal);
+}
diff --git a/src/ags/audio/task/ags_unref_audio_signal.h b/src/ags/audio/task/ags_unref_audio_signal.h
new file mode 100644
index 0000000..9ad0799
--- /dev/null
+++ b/src/ags/audio/task/ags_unref_audio_signal.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_UNREF_AUDIO_SIGNAL_H__
+#define __AGS_UNREF_AUDIO_SIGNAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#include <ags/audio/ags_audio_signal.h>
+
+#define AGS_TYPE_UNREF_AUDIO_SIGNAL (ags_unref_audio_signal_get_type())
+#define AGS_UNREF_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_UNREF_AUDIO_SIGNAL, AgsUnrefAudioSignal))
+#define AGS_UNREF_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_UNREF_AUDIO_SIGNAL, AgsUnrefAudioSignalClass))
+#define AGS_IS_UNREF_AUDIO_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_UNREF_AUDIO_SIGNAL))
+#define AGS_IS_UNREF_AUDIO_SIGNAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_UNREF_AUDIO_SIGNAL))
+#define AGS_UNREF_AUDIO_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_UNREF_AUDIO_SIGNAL, AgsUnrefAudioSignalClass))
+
+typedef struct _AgsUnrefAudioSignal AgsUnrefAudioSignal;
+typedef struct _AgsUnrefAudioSignalClass AgsUnrefAudioSignalClass;
+
+struct _AgsUnrefAudioSignal
+{
+ AgsTask task;
+
+ AgsAudioSignal *audio_signal;
+};
+
+struct _AgsUnrefAudioSignalClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_unref_audio_signal_get_type();
+
+AgsUnrefAudioSignal* ags_unref_audio_signal_new(AgsAudioSignal *audio_signal);
+
+#endif /*__AGS_UNREF_AUDIO_SIGNAL_H__*/
diff --git a/src/ags/audio/task/ags_update_bulk_member.c b/src/ags/audio/task/ags_update_bulk_member.c
new file mode 100644
index 0000000..ee05140
--- /dev/null
+++ b/src/ags/audio/task/ags_update_bulk_member.c
@@ -0,0 +1,345 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/ags_update_bulk_member.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_ladspa.h>
+#include <ags/audio/ags_port.h>
+
+#include <ags/X/ags_effect_bulk.h>
+#include <ags/X/ags_bulk_member.h>
+
+void ags_update_bulk_member_class_init(AgsUpdateBulkMemberClass *update_bulk_member);
+void ags_update_bulk_member_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_update_bulk_member_init(AgsUpdateBulkMember *update_bulk_member);
+void ags_update_bulk_member_connect(AgsConnectable *connectable);
+void ags_update_bulk_member_disconnect(AgsConnectable *connectable);
+void ags_update_bulk_member_finalize(GObject *gobject);
+
+void ags_update_bulk_member_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_update_bulk_member
+ * @short_description: add line_member object to line
+ * @title: AgsUpdateBulkMember
+ * @section_id:
+ * @include: ags/audio/task/ags_update_bulk_member.h
+ *
+ * The #AgsUpdateBulkMember task addspacks #AgsLineMember to #AgsLine.
+ */
+
+static gpointer ags_update_bulk_member_parent_class = NULL;
+static AgsConnectableInterface *ags_update_bulk_member_parent_connectable_interface;
+
+GType
+ags_update_bulk_member_get_type()
+{
+ static GType ags_type_update_bulk_member = 0;
+
+ if(!ags_type_update_bulk_member){
+ static const GTypeInfo ags_update_bulk_member_info = {
+ sizeof (AgsUpdateBulkMemberClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_update_bulk_member_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsUpdateBulkMember),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_update_bulk_member_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_update_bulk_member_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_update_bulk_member = g_type_register_static(AGS_TYPE_TASK,
+ "AgsUpdateBulkMember\0",
+ &ags_update_bulk_member_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_update_bulk_member,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_update_bulk_member);
+}
+
+void
+ags_update_bulk_member_class_init(AgsUpdateBulkMemberClass *update_bulk_member)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_update_bulk_member_parent_class = g_type_class_peek_parent(update_bulk_member);
+
+ /* gobject */
+ gobject = (GObjectClass *) update_bulk_member;
+
+ gobject->finalize = ags_update_bulk_member_finalize;
+
+ /* task */
+ task = (AgsTaskClass *) update_bulk_member;
+
+ task->launch = ags_update_bulk_member_launch;
+}
+
+void
+ags_update_bulk_member_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_update_bulk_member_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_update_bulk_member_connect;
+ connectable->disconnect = ags_update_bulk_member_disconnect;
+}
+
+void
+ags_update_bulk_member_init(AgsUpdateBulkMember *update_bulk_member)
+{
+ update_bulk_member->effect_bulk = NULL;
+ update_bulk_member->bulk_member = NULL;
+ update_bulk_member->new_size = 0;
+ update_bulk_member->old_size = 0;
+ update_bulk_member->pads = FALSE;
+}
+
+void
+ags_update_bulk_member_connect(AgsConnectable *connectable)
+{
+ ags_update_bulk_member_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_update_bulk_member_disconnect(AgsConnectable *connectable)
+{
+ ags_update_bulk_member_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_update_bulk_member_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_update_bulk_member_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_update_bulk_member_launch(AgsTask *task)
+{
+ AgsUpdateBulkMember *update_bulk_member;
+ AgsChannel *current;
+ AgsBulkPort *bulk_port;
+
+ GList *list, *list_next;
+ GList *recall, *play;
+ GList *port, *recall_port;
+ guint pads, pads_old, audio_channels, audio_channels_old;
+ guint i, j, k;
+
+ update_bulk_member = AGS_UPDATE_BULK_MEMBER(task);
+
+ if(!update_bulk_member->pads){
+ audio_channels = update_bulk_member->new_size;
+ audio_channels_old = update_bulk_member->old_size;
+ }else{
+ audio_channels = AGS_EFFECT_BULK(update_bulk_member->effect_bulk)->audio->audio_channels;
+ audio_channels_old = 0;
+ }
+
+ /* retrieve channel */
+ if(AGS_EFFECT_BULK(update_bulk_member->effect_bulk)->channel_type == AGS_TYPE_OUTPUT){
+ current = AGS_EFFECT_BULK(update_bulk_member->effect_bulk)->audio->output;
+
+ if(update_bulk_member->pads){
+ pads = update_bulk_member->new_size;
+ pads_old = update_bulk_member->old_size;
+ }else{
+ pads = AGS_EFFECT_BULK(update_bulk_member->effect_bulk)->audio->output_pads;
+ pads_old = 0;
+ }
+ }else{
+ current = AGS_EFFECT_BULK(update_bulk_member->effect_bulk)->audio->input;
+
+ if(update_bulk_member->pads){
+ pads = update_bulk_member->new_size;
+ pads_old = update_bulk_member->old_size;
+ }else{
+ pads = AGS_EFFECT_BULK(update_bulk_member->effect_bulk)->audio->input_pads;
+ pads_old = 0;
+ }
+ }
+
+ if(update_bulk_member->new_size > update_bulk_member->old_size){
+ g_message("%s %s\0", update_bulk_member->bulk_member->filename, update_bulk_member->bulk_member->effect);
+
+ /* grow bulk port */
+ if(update_bulk_member->pads){
+ current = ags_channel_pad_nth(current,
+ pads_old);
+ }
+
+ for(i = pads_old; i < pads; i++){
+ if(!update_bulk_member->pads){
+ current = ags_channel_nth(current,
+ audio_channels_old);
+ }
+
+ for(j = audio_channels_old; j < audio_channels; j++){
+ //TODO:JK: verify list order
+ k = 0;
+
+ play = current->play;
+ recall = current->recall;
+
+ while((play = ags_recall_template_find_type(play, AGS_TYPE_RECALL_LADSPA)) != NULL){
+ recall = ags_recall_template_find_type(recall, AGS_TYPE_RECALL_LADSPA);
+
+ if(AGS_IS_RECALL_LADSPA(play->data)){
+
+ if(!g_strcmp0(AGS_RECALL_LADSPA(play->data)->filename,
+ update_bulk_member->bulk_member->filename) &&
+ !g_strcmp0(AGS_RECALL_LADSPA(play->data)->effect,
+ update_bulk_member->bulk_member->effect)){
+ port = AGS_RECALL(play->data)->port;
+ recall_port = AGS_RECALL(recall->data)->port;
+
+ while(port != NULL){
+ bulk_port = ags_bulk_port_alloc(port->data,
+ recall_port->data);
+ if(k != 0){
+ update_bulk_member->bulk_member->bulk_port = g_list_insert(update_bulk_member->bulk_member->bulk_port,
+ bulk_port,
+ k);
+ }else{
+ update_bulk_member->bulk_member->bulk_port = g_list_prepend(update_bulk_member->bulk_member->bulk_port,
+ bulk_port);
+ }
+
+ k++;
+ port = port->next;
+ recall_port = recall_port->next;
+ }
+
+ break;
+ }else{
+ k += g_list_length(AGS_RECALL(recall->data)->port);
+ }
+ }
+
+ play = play->next;
+ recall = recall->next;
+ }
+
+ current = current->next;
+ }
+ }
+ }else{
+ /* shrink bulk port */
+ if(update_bulk_member->pads){
+ current = ags_channel_pad_nth(current,
+ pads_old);
+ }
+
+ for(i = pads_old; i < pads; i++){
+ if(!update_bulk_member->pads){
+ current = ags_channel_nth(current,
+ audio_channels_old);
+ }
+
+ for(j = audio_channels_old; j < audio_channels; j++){
+ //TODO:JK: verify list order
+ recall = current->recall;
+ play = current->play;
+
+ k = 0;
+
+ while(play != NULL){
+ if(AGS_IS_RECALL_LADSPA(play->data)){
+ if(!g_strcmp0(AGS_RECALL_LADSPA(play->data)->filename,
+ update_bulk_member->bulk_member->filename) &&
+ !g_strcmp0(AGS_RECALL_LADSPA(play->data)->effect,
+ update_bulk_member->bulk_member->effect)){
+ list = update_bulk_member->bulk_member->bulk_port;
+
+ while(list != NULL){
+ list_next = list->next;
+ port = AGS_RECALL(recall->data)->port;
+
+ while(port != NULL){
+ if(!g_strcmp0(AGS_PORT(port->data)->specifier,
+ update_bulk_member->bulk_member->specifier)){
+ goto ags_update_bulk_member_launch_REMOVE_CURRENT_END;
+ }
+
+ port = port->next;
+ }
+
+ update_bulk_member->bulk_member->bulk_port = g_list_remove(update_bulk_member->bulk_member->bulk_port,
+ list->data);
+
+ ags_update_bulk_member_launch_REMOVE_CURRENT_END:
+ list = list_next;
+ }
+ }
+ }
+
+ play = play->next;
+ recall = recall->next;
+ }
+
+ current = current->next;
+ }
+ }
+ }
+}
+
+AgsUpdateBulkMember*
+ags_update_bulk_member_new(GtkWidget *effect_bulk,
+ AgsBulkMember *bulk_member,
+ guint new_size,
+ guint old_size,
+ gboolean pads)
+{
+ AgsUpdateBulkMember *update_bulk_member;
+
+ update_bulk_member = (AgsUpdateBulkMember *) g_object_new(AGS_TYPE_UPDATE_BULK_MEMBER,
+ NULL);
+
+ update_bulk_member->effect_bulk = effect_bulk;
+ update_bulk_member->bulk_member = bulk_member;
+ update_bulk_member->new_size = new_size;
+ update_bulk_member->old_size = old_size;
+ update_bulk_member->pads = pads;
+
+ return(update_bulk_member);
+}
+
diff --git a/src/ags/audio/task/ags_update_bulk_member.h b/src/ags/audio/task/ags_update_bulk_member.h
new file mode 100644
index 0000000..754bad2
--- /dev/null
+++ b/src/ags/audio/task/ags_update_bulk_member.h
@@ -0,0 +1,64 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_UPDATE_BULK_MEMBER_H__
+#define __AGS_UPDATE_BULK_MEMBER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+#include <ags/X/ags_bulk_member.h>
+
+#define AGS_TYPE_UPDATE_BULK_MEMBER (ags_update_bulk_member_get_type())
+#define AGS_UPDATE_BULK_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_UPDATE_BULK_MEMBER, AgsUpdateBulkMember))
+#define AGS_UPDATE_BULK_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_UPDATE_BULK_MEMBER, AgsUpdateBulkMemberClass))
+#define AGS_IS_UPDATE_BULK_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_UPDATE_BULK_MEMBER))
+#define AGS_IS_UPDATE_BULK_MEMBER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_UPDATE_BULK_MEMBER))
+#define AGS_UPDATE_BULK_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_UPDATE_BULK_MEMBER, AgsUpdateBulkMemberClass))
+
+typedef struct _AgsUpdateBulkMember AgsUpdateBulkMember;
+typedef struct _AgsUpdateBulkMemberClass AgsUpdateBulkMemberClass;
+
+struct _AgsUpdateBulkMember
+{
+ AgsTask task;
+
+ GtkWidget *effect_bulk;
+ AgsBulkMember *bulk_member;
+
+ guint new_size;
+ guint old_size;
+
+ gboolean pads;
+};
+
+struct _AgsUpdateBulkMemberClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_update_bulk_member_get_type();
+
+AgsUpdateBulkMember* ags_update_bulk_member_new(GtkWidget *effect_bulk,
+ AgsBulkMember *bulk_member,
+ guint new_size,
+ guint old_size,
+ gboolean pads);
+
+#endif /*__AGS_UPDATE_BULK_MEMBER_H__*/
diff --git a/src/ags/audio/task/recall/Makefile b/src/ags/audio/task/recall/Makefile
new file mode 100644
index 0000000..1098dd0
--- /dev/null
+++ b/src/ags/audio/task/recall/Makefile
@@ -0,0 +1,468 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/audio/task/recall/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/audio/task/recall
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/audio/task/recall
+abs_srcdir = /usr/src/ags-devel/src/ags/audio/task/recall
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../../../
+top_builddir = ../../../../..
+top_srcdir = ../../../../..
+deprecated_ags_audio_task_recall_h_sources =
+ags_audio_recall_task_h_sources = \
+ $(deprecated_ags_audio_task_recall_h_sources) \
+ ags_apply_bpm.h \
+ ags_apply_sequencer_length.h \
+ ags_apply_tact.h \
+ ags_set_muted.h
+
+deprecated_ags_audio_task_recall_c_sources =
+ags_audio_recall_task_c_sources = \
+ $(deprecated_ags_audio_task_recall_c_sources) \
+ ags_apply_bpm.c \
+ ags_apply_sequencer_length.c \
+ ags_apply_tact.c \
+ ags_set_muted.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/task/recall/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/task/recall/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/task/recall/Makefile.am b/src/ags/audio/task/recall/Makefile.am
new file mode 100644
index 0000000..a0ba081
--- /dev/null
+++ b/src/ags/audio/task/recall/Makefile.am
@@ -0,0 +1,17 @@
+deprecated_ags_audio_task_recall_h_sources =
+
+ags_audio_recall_task_h_sources = \
+ $(deprecated_ags_audio_task_recall_h_sources) \
+ ags_apply_bpm.h \
+ ags_apply_sequencer_length.h \
+ ags_apply_tact.h \
+ ags_set_muted.h
+
+deprecated_ags_audio_task_recall_c_sources =
+
+ags_audio_recall_task_c_sources = \
+ $(deprecated_ags_audio_task_recall_c_sources) \
+ ags_apply_bpm.c \
+ ags_apply_sequencer_length.c \
+ ags_apply_tact.c \
+ ags_set_muted.c
diff --git a/src/ags/audio/task/recall/Makefile.in b/src/ags/audio/task/recall/Makefile.in
new file mode 100644
index 0000000..8c7ef7b
--- /dev/null
+++ b/src/ags/audio/task/recall/Makefile.in
@@ -0,0 +1,468 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/audio/task/recall
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_audio_task_recall_h_sources =
+ags_audio_recall_task_h_sources = \
+ $(deprecated_ags_audio_task_recall_h_sources) \
+ ags_apply_bpm.h \
+ ags_apply_sequencer_length.h \
+ ags_apply_tact.h \
+ ags_set_muted.h
+
+deprecated_ags_audio_task_recall_c_sources =
+ags_audio_recall_task_c_sources = \
+ $(deprecated_ags_audio_task_recall_c_sources) \
+ ags_apply_bpm.c \
+ ags_apply_sequencer_length.c \
+ ags_apply_tact.c \
+ ags_set_muted.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/audio/task/recall/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/audio/task/recall/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/audio/task/recall/ags_apply_bpm.c b/src/ags/audio/task/recall/ags_apply_bpm.c
new file mode 100644
index 0000000..18b6bfa
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_apply_bpm.c
@@ -0,0 +1,303 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/recall/ags_apply_bpm.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_tactable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall.h>
+
+#include <math.h>
+
+void ags_apply_bpm_class_init(AgsApplyBpmClass *apply_bpm);
+void ags_apply_bpm_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_apply_bpm_init(AgsApplyBpm *apply_bpm);
+void ags_apply_bpm_connect(AgsConnectable *connectable);
+void ags_apply_bpm_disconnect(AgsConnectable *connectable);
+void ags_apply_bpm_finalize(GObject *gobject);
+
+void ags_apply_bpm_launch(AgsTask *task);
+
+void ags_apply_bpm_recall(AgsApplyBpm *apply_bpm, AgsRecall *recall);
+void ags_apply_bpm_channel(AgsApplyBpm *apply_bpm, AgsChannel *channel);
+void ags_apply_bpm_audio(AgsApplyBpm *apply_bpm, AgsAudio *audio);
+void ags_apply_bpm_devout(AgsApplyBpm *apply_bpm, AgsDevout *devout);
+
+/**
+ * SECTION:ags_apply_bpm
+ * @short_description: apply bpm to delay audio
+ * @title: AgsApplyBpm
+ * @section_id:
+ * @include: ags/audio/task/recall/ags_apply_bpm.h
+ *
+ * The #AgsApplyBpm task applys bpm to #AgsDelayAudio.
+ */
+
+static gpointer ags_apply_bpm_parent_class = NULL;
+static AgsConnectableInterface *ags_apply_bpm_parent_connectable_interface;
+
+GType
+ags_apply_bpm_get_type()
+{
+ static GType ags_type_apply_bpm = 0;
+
+ if(!ags_type_apply_bpm){
+ static const GTypeInfo ags_apply_bpm_info = {
+ sizeof (AgsApplyBpmClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_apply_bpm_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsApplyBpm),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_apply_bpm_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_apply_bpm_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_apply_bpm = g_type_register_static(AGS_TYPE_TASK,
+ "AgsApplyBpm\0",
+ &ags_apply_bpm_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_apply_bpm,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_apply_bpm);
+}
+
+void
+ags_apply_bpm_class_init(AgsApplyBpmClass *apply_bpm)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_apply_bpm_parent_class = g_type_class_peek_parent(apply_bpm);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) apply_bpm;
+
+ gobject->finalize = ags_apply_bpm_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) apply_bpm;
+
+ task->launch = ags_apply_bpm_launch;
+}
+
+void
+ags_apply_bpm_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_apply_bpm_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_apply_bpm_connect;
+ connectable->disconnect = ags_apply_bpm_disconnect;
+}
+
+void
+ags_apply_bpm_init(AgsApplyBpm *apply_bpm)
+{
+ apply_bpm->gobject = NULL;
+ apply_bpm->bpm = 0.0;
+}
+
+void
+ags_apply_bpm_connect(AgsConnectable *connectable)
+{
+ ags_apply_bpm_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_bpm_disconnect(AgsConnectable *connectable)
+{
+ ags_apply_bpm_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_bpm_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_apply_bpm_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_apply_bpm_launch(AgsTask *task)
+{
+ AgsApplyBpm *apply_bpm;
+
+ apply_bpm = AGS_APPLY_BPM(task);
+
+ if(AGS_IS_DEVOUT(apply_bpm->gobject)){
+ AgsDevout *devout;
+
+ devout = AGS_DEVOUT(apply_bpm->gobject);
+
+ ags_apply_bpm_devout(apply_bpm, devout);
+ }else if(AGS_IS_AUDIO(apply_bpm->gobject)){
+ AgsAudio *audio;
+
+ audio = AGS_AUDIO(apply_bpm->gobject);
+
+ ags_apply_bpm_audio(apply_bpm, audio);
+ }else if(AGS_IS_CHANNEL(apply_bpm->gobject)){
+ AgsChannel *channel;
+
+ channel = AGS_CHANNEL(apply_bpm->gobject);
+
+ ags_apply_bpm_channel(apply_bpm, channel);
+ }else if(AGS_IS_RECALL(apply_bpm->gobject)){
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(apply_bpm->gobject);
+
+ ags_apply_bpm_recall(apply_bpm, recall);
+ }else{
+ g_warning("AgsApplyBpm: Not supported gobject\0");
+ }
+}
+
+void
+ags_apply_bpm_recall(AgsApplyBpm *apply_bpm, AgsRecall *recall)
+{
+ if(AGS_IS_TACTABLE(recall)){
+ ags_tactable_change_bpm(AGS_TACTABLE(recall), apply_bpm->bpm);
+ }
+}
+
+void
+ags_apply_bpm_channel(AgsApplyBpm *apply_bpm, AgsChannel *channel)
+{
+ GList *list;
+
+ list = channel->play;
+
+ while(list != NULL){
+ ags_apply_bpm_recall(apply_bpm, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = channel->recall;
+
+ while(list != NULL){
+ ags_apply_bpm_recall(apply_bpm, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_apply_bpm_audio(AgsApplyBpm *apply_bpm, AgsAudio *audio)
+{
+ AgsChannel *channel;
+ GList *list;
+
+ /* AgsRecall */
+ list = audio->play;
+
+ while(list != NULL){
+ ags_apply_bpm_recall(apply_bpm, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = audio->recall;
+
+ while(list != NULL){
+ ags_apply_bpm_recall(apply_bpm, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ /* AgsChannel */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_apply_bpm_channel(apply_bpm, channel);
+
+ channel = channel->next;
+ }
+
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_apply_bpm_channel(apply_bpm, channel);
+
+ channel = channel->next;
+ }
+}
+
+void
+ags_apply_bpm_devout(AgsApplyBpm *apply_bpm, AgsDevout *devout)
+{
+ GList *list;
+
+ //TODO:JK: implement me
+
+ /* AgsAudio */
+ list = devout->audio;
+
+ while(list != NULL){
+ ags_apply_bpm_audio(apply_bpm,
+ AGS_AUDIO(list->data));
+
+ list = list->next;
+ }
+}
+
+/**
+ * ags_apply_bpm_new:
+ * @gobject: the #GObject
+ * @bpm: the bpm to apply
+ *
+ * Creates an #AgsApplyBpm.
+ *
+ * Returns: an new #AgsApplyBpm.
+ *
+ * Since: 0.4
+ */
+AgsApplyBpm*
+ags_apply_bpm_new(GObject *gobject,
+ gdouble bpm)
+{
+ AgsApplyBpm *apply_bpm;
+
+ apply_bpm = (AgsApplyBpm *) g_object_new(AGS_TYPE_APPLY_BPM,
+ NULL);
+
+ apply_bpm->gobject = gobject;
+ apply_bpm->bpm = bpm;
+
+ return(apply_bpm);
+}
diff --git a/src/ags/audio/task/recall/ags_apply_bpm.h b/src/ags/audio/task/recall/ags_apply_bpm.h
new file mode 100644
index 0000000..01020b8
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_apply_bpm.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPLY_BPM_H__
+#define __AGS_APPLY_BPM_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_APPLY_BPM (ags_apply_bpm_get_type())
+#define AGS_APPLY_BPM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_BPM, AgsApplyBpm))
+#define AGS_APPLY_BPM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_BPM, AgsApplyBpmClass))
+#define AGS_IS_APPLY_BPM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_BPM))
+#define AGS_IS_APPLY_BPM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_BPM))
+#define AGS_APPLY_BPM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_BPM, AgsApplyBpmClass))
+
+typedef struct _AgsApplyBpm AgsApplyBpm;
+typedef struct _AgsApplyBpmClass AgsApplyBpmClass;
+
+struct _AgsApplyBpm
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble bpm;
+};
+
+struct _AgsApplyBpmClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_apply_bpm_get_type();
+
+AgsApplyBpm* ags_apply_bpm_new(GObject *gobject,
+ gdouble bpm);
+
+#endif /*__AGS_APPLY_BPM_H__*/
diff --git a/src/ags/audio/task/recall/ags_apply_sequencer_length.c b/src/ags/audio/task/recall/ags_apply_sequencer_length.c
new file mode 100644
index 0000000..a76c298
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_apply_sequencer_length.c
@@ -0,0 +1,278 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/recall/ags_apply_sequencer_length.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_tactable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall.h>
+
+#include <math.h>
+
+void ags_apply_sequencer_length_class_init(AgsApplySequencerLengthClass *apply_sequencer_length);
+void ags_apply_sequencer_length_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_apply_sequencer_length_init(AgsApplySequencerLength *apply_sequencer_length);
+void ags_apply_sequencer_length_connect(AgsConnectable *connectable);
+void ags_apply_sequencer_length_disconnect(AgsConnectable *connectable);
+void ags_apply_sequencer_length_finalize(GObject *gobject);
+
+void ags_apply_sequencer_length_recall(AgsApplySequencerLength *apply_sequencer_length, AgsRecall *recall);
+void ags_apply_sequencer_length_channel(AgsApplySequencerLength *apply_sequencer_length, AgsChannel *channel);
+void ags_apply_sequencer_length_audio(AgsApplySequencerLength *apply_sequencer_length, AgsAudio *audio);
+
+void ags_apply_sequencer_length_launch(AgsTask *task);
+
+/**
+ * SECTION:ags_apply_sequencer_length
+ * @short_description: apply sequencer length to delay audio
+ * @title: AgsApplySequencerLength
+ * @section_id:
+ * @include: ags/audio/task/recall/ags_apply_sequencer_length.h
+ *
+ * The #AgsApplySequencerLength task applys sequencer length to #AgsDelayAudio.
+ */
+
+static gpointer ags_apply_sequencer_length_parent_class = NULL;
+static AgsConnectableInterface *ags_apply_sequencer_length_parent_connectable_interface;
+
+GType
+ags_apply_sequencer_length_get_type()
+{
+ static GType ags_type_apply_sequencer_length = 0;
+
+ if(!ags_type_apply_sequencer_length){
+ static const GTypeInfo ags_apply_sequencer_length_info = {
+ sizeof (AgsApplySequencerLengthClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_apply_sequencer_length_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsApplySequencerLength),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_apply_sequencer_length_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_apply_sequencer_length_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_apply_sequencer_length = g_type_register_static(AGS_TYPE_TASK,
+ "AgsApplySequencerLength\0",
+ &ags_apply_sequencer_length_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_apply_sequencer_length,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_apply_sequencer_length);
+}
+
+void
+ags_apply_sequencer_length_class_init(AgsApplySequencerLengthClass *apply_sequencer_length)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_apply_sequencer_length_parent_class = g_type_class_peek_parent(apply_sequencer_length);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) apply_sequencer_length;
+
+ gobject->finalize = ags_apply_sequencer_length_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) apply_sequencer_length;
+
+ task->launch = ags_apply_sequencer_length_launch;
+}
+
+void
+ags_apply_sequencer_length_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_apply_sequencer_length_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_apply_sequencer_length_connect;
+ connectable->disconnect = ags_apply_sequencer_length_disconnect;
+}
+
+void
+ags_apply_sequencer_length_init(AgsApplySequencerLength *apply_sequencer_length)
+{
+ apply_sequencer_length->gobject = NULL;
+ apply_sequencer_length->length = 0.0;
+}
+
+void
+ags_apply_sequencer_length_connect(AgsConnectable *connectable)
+{
+ ags_apply_sequencer_length_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_sequencer_length_disconnect(AgsConnectable *connectable)
+{
+ ags_apply_sequencer_length_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_sequencer_length_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_apply_sequencer_length_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_apply_sequencer_length_launch(AgsTask *task)
+{
+ AgsApplySequencerLength *apply_sequencer_length;
+
+ apply_sequencer_length = AGS_APPLY_SEQUENCER_LENGTH(task);
+
+ if(AGS_IS_AUDIO(apply_sequencer_length->gobject)){
+ AgsAudio *audio;
+
+ audio = AGS_AUDIO(apply_sequencer_length->gobject);
+
+ ags_apply_sequencer_length_audio(apply_sequencer_length, audio);
+ }else if(AGS_IS_CHANNEL(apply_sequencer_length->gobject)){
+ AgsChannel *channel;
+
+ channel = AGS_CHANNEL(apply_sequencer_length->gobject);
+
+ ags_apply_sequencer_length_channel(apply_sequencer_length, channel);
+ }else if(AGS_IS_RECALL(apply_sequencer_length->gobject)){
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(apply_sequencer_length->gobject);
+
+ ags_apply_sequencer_length_recall(apply_sequencer_length, recall);
+ }else{
+ g_warning("AgsApplySequencerLength: Not supported gobject\0");
+ }
+}
+
+void
+ags_apply_sequencer_length_recall(AgsApplySequencerLength *apply_sequencer_length, AgsRecall *recall)
+{
+ if(AGS_IS_TACTABLE(recall)){
+ ags_tactable_change_sequencer_duration(AGS_TACTABLE(recall), apply_sequencer_length->length);
+ }
+}
+
+void
+ags_apply_sequencer_length_channel(AgsApplySequencerLength *apply_sequencer_length, AgsChannel *channel)
+{
+ GList *list;
+
+ list = channel->play;
+
+ while(list != NULL){
+ ags_apply_sequencer_length_recall(apply_sequencer_length, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = channel->recall;
+
+ while(list != NULL){
+ ags_apply_sequencer_length_recall(apply_sequencer_length, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_apply_sequencer_length_audio(AgsApplySequencerLength *apply_sequencer_length, AgsAudio *audio)
+{
+ AgsChannel *channel;
+ GList *list;
+
+ /* AgsRecall */
+ list = audio->play;
+
+ while(list != NULL){
+ ags_apply_sequencer_length_recall(apply_sequencer_length, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = audio->recall;
+
+ while(list != NULL){
+ ags_apply_sequencer_length_recall(apply_sequencer_length, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ /* AgsChannel */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_apply_sequencer_length_channel(apply_sequencer_length, channel);
+
+ channel = channel->next;
+ }
+
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_apply_sequencer_length_channel(apply_sequencer_length, channel);
+
+ channel = channel->next;
+ }
+}
+
+/**
+ * ags_apply_sequencer_length_new:
+ * @gobject: the #GObject
+ * @sequencer_length: the sequencer length to apply
+ *
+ * Creates an #AgsApplySequencerLength.
+ *
+ * Returns: an new #AgsApplySequencerLength.
+ *
+ * Since: 0.4
+ */
+AgsApplySequencerLength*
+ags_apply_sequencer_length_new(GObject *gobject,
+ gdouble length)
+{
+ AgsApplySequencerLength *apply_sequencer_length;
+
+ apply_sequencer_length = (AgsApplySequencerLength *) g_object_new(AGS_TYPE_APPLY_SEQUENCER_LENGTH,
+ NULL);
+
+ apply_sequencer_length->gobject = gobject;
+ apply_sequencer_length->length = length;
+
+ return(apply_sequencer_length);
+}
diff --git a/src/ags/audio/task/recall/ags_apply_sequencer_length.h b/src/ags/audio/task/recall/ags_apply_sequencer_length.h
new file mode 100644
index 0000000..f634f2b
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_apply_sequencer_length.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPLY_SEQUENCER_LENGTH_H__
+#define __AGS_APPLY_SEQUENCER_LENGTH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_APPLY_SEQUENCER_LENGTH (ags_apply_sequencer_length_get_type())
+#define AGS_APPLY_SEQUENCER_LENGTH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SEQUENCER_LENGTH, AgsApplySequencerLength))
+#define AGS_APPLY_SEQUENCER_LENGTH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SEQUENCER_LENGTH, AgsApplySequencerLengthClass))
+#define AGS_IS_APPLY_SEQUENCER_LENGTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SEQUENCER_LENGTH))
+#define AGS_IS_APPLY_SEQUENCER_LENGTH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SEQUENCER_LENGTH))
+#define AGS_APPLY_SEQUENCER_LENGTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SEQUENCER_LENGTH, AgsApplySequencerLengthClass))
+
+typedef struct _AgsApplySequencerLength AgsApplySequencerLength;
+typedef struct _AgsApplySequencerLengthClass AgsApplySequencerLengthClass;
+
+struct _AgsApplySequencerLength
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble length;
+};
+
+struct _AgsApplySequencerLengthClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_apply_sequencer_length_get_type();
+
+AgsApplySequencerLength* ags_apply_sequencer_length_new(GObject *gobject,
+ gdouble length);
+
+#endif /*__AGS_APPLY_SEQUENCER_LENGTH_H__*/
diff --git a/src/ags/audio/task/recall/ags_apply_tact.c b/src/ags/audio/task/recall/ags_apply_tact.c
new file mode 100644
index 0000000..d6781d5
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_apply_tact.c
@@ -0,0 +1,278 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/recall/ags_apply_tact.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_tactable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall.h>
+
+#include <math.h>
+
+void ags_apply_tact_class_init(AgsApplyTactClass *apply_tact);
+void ags_apply_tact_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_apply_tact_init(AgsApplyTact *apply_tact);
+void ags_apply_tact_connect(AgsConnectable *connectable);
+void ags_apply_tact_disconnect(AgsConnectable *connectable);
+void ags_apply_tact_finalize(GObject *gobject);
+
+void ags_apply_tact_launch(AgsTask *task);
+
+void ags_apply_tact_recall(AgsApplyTact *apply_tact, AgsRecall *recall);
+void ags_apply_tact_channel(AgsApplyTact *apply_tact, AgsChannel *channel);
+void ags_apply_tact_audio(AgsApplyTact *apply_tact, AgsAudio *audio);
+
+/**
+ * SECTION:ags_apply_tact
+ * @short_description: apply tact to delay audio
+ * @title: AgsApplyTact
+ * @section_id:
+ * @include: ags/audio/task/recall/ags_apply_tact.h
+ *
+ * The #AgsApplyTact task applys tact to #AgsTactable.
+ */
+
+static gpointer ags_apply_tact_parent_class = NULL;
+static AgsConnectableInterface *ags_apply_tact_parent_connectable_interface;
+
+GType
+ags_apply_tact_get_type()
+{
+ static GType ags_type_apply_tact = 0;
+
+ if(!ags_type_apply_tact){
+ static const GTypeInfo ags_apply_tact_info = {
+ sizeof (AgsApplyTactClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_apply_tact_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsApplyTact),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_apply_tact_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_apply_tact_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_apply_tact = g_type_register_static(AGS_TYPE_TASK,
+ "AgsApplyTact\0",
+ &ags_apply_tact_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_apply_tact,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_apply_tact);
+}
+
+void
+ags_apply_tact_class_init(AgsApplyTactClass *apply_tact)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_apply_tact_parent_class = g_type_class_peek_parent(apply_tact);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) apply_tact;
+
+ gobject->finalize = ags_apply_tact_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) apply_tact;
+
+ task->launch = ags_apply_tact_launch;
+}
+
+void
+ags_apply_tact_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_apply_tact_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_apply_tact_connect;
+ connectable->disconnect = ags_apply_tact_disconnect;
+}
+
+void
+ags_apply_tact_init(AgsApplyTact *apply_tact)
+{
+ apply_tact->gobject = NULL;
+ apply_tact->tact = 0.0;
+}
+
+void
+ags_apply_tact_connect(AgsConnectable *connectable)
+{
+ ags_apply_tact_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_tact_disconnect(AgsConnectable *connectable)
+{
+ ags_apply_tact_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_apply_tact_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_apply_tact_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_apply_tact_launch(AgsTask *task)
+{
+ AgsApplyTact *apply_tact;
+
+ apply_tact = AGS_APPLY_TACT(task);
+
+ if(AGS_IS_AUDIO(apply_tact->gobject)){
+ AgsAudio *audio;
+
+ audio = AGS_AUDIO(apply_tact->gobject);
+
+ ags_apply_tact_audio(apply_tact, audio);
+ }else if(AGS_IS_CHANNEL(apply_tact->gobject)){
+ AgsChannel *channel;
+
+ channel = AGS_CHANNEL(apply_tact->gobject);
+
+ ags_apply_tact_channel(apply_tact, channel);
+ }else if(AGS_IS_RECALL(apply_tact->gobject)){
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(apply_tact->gobject);
+
+ ags_apply_tact_recall(apply_tact, recall);
+ }else{
+ g_warning("AgsApplyTact: Not supported gobject\0");
+ }
+}
+
+void
+ags_apply_tact_recall(AgsApplyTact *apply_tact, AgsRecall *recall)
+{
+ if(AGS_IS_TACTABLE(recall)){
+ ags_tactable_change_tact(AGS_TACTABLE(recall), apply_tact->tact);
+ }
+}
+
+void
+ags_apply_tact_channel(AgsApplyTact *apply_tact, AgsChannel *channel)
+{
+ GList *list;
+
+ list = channel->play;
+
+ while(list != NULL){
+ ags_apply_tact_recall(apply_tact, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = channel->recall;
+
+ while(list != NULL){
+ ags_apply_tact_recall(apply_tact, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_apply_tact_audio(AgsApplyTact *apply_tact, AgsAudio *audio)
+{
+ AgsChannel *channel;
+ GList *list;
+
+ /* AgsRecall */
+ list = audio->play;
+
+ while(list != NULL){
+ ags_apply_tact_recall(apply_tact, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = audio->recall;
+
+ while(list != NULL){
+ ags_apply_tact_recall(apply_tact, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ /* AgsChannel */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_apply_tact_channel(apply_tact, channel);
+
+ channel = channel->next;
+ }
+
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_apply_tact_channel(apply_tact, channel);
+
+ channel = channel->next;
+ }
+}
+
+/**
+ * ags_apply_tact_new:
+ * @gobject: the #GObject
+ * @tact: the tact to apply
+ *
+ * Creates an #AgsApplyTact.
+ *
+ * Returns: an new #AgsApplyTact.
+ *
+ * Since: 0.4
+ */
+AgsApplyTact*
+ags_apply_tact_new(GObject *gobject,
+ gdouble tact)
+{
+ AgsApplyTact *apply_tact;
+
+ apply_tact = (AgsApplyTact *) g_object_new(AGS_TYPE_APPLY_TACT,
+ NULL);
+
+ apply_tact->gobject = gobject;
+ apply_tact->tact = tact;
+
+ return(apply_tact);
+}
diff --git a/src/ags/audio/task/recall/ags_apply_tact.h b/src/ags/audio/task/recall/ags_apply_tact.h
new file mode 100644
index 0000000..aabe967
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_apply_tact.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPLY_TACT_H__
+#define __AGS_APPLY_TACT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_APPLY_TACT (ags_apply_tact_get_type())
+#define AGS_APPLY_TACT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_TACT, AgsApplyTact))
+#define AGS_APPLY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_TACT, AgsApplyTactClass))
+#define AGS_IS_APPLY_TACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_TACT))
+#define AGS_IS_APPLY_TACT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_TACT))
+#define AGS_APPLY_TACT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_TACT, AgsApplyTactClass))
+
+typedef struct _AgsApplyTact AgsApplyTact;
+typedef struct _AgsApplyTactClass AgsApplyTactClass;
+
+struct _AgsApplyTact
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gdouble tact;
+};
+
+struct _AgsApplyTactClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_apply_tact_get_type();
+
+AgsApplyTact* ags_apply_tact_new(GObject *gobject,
+ gdouble tact);
+
+#endif /*__AGS_APPLY_TACT_H__*/
diff --git a/src/ags/audio/task/recall/ags_set_muted.c b/src/ags/audio/task/recall/ags_set_muted.c
new file mode 100644
index 0000000..7fe0d72
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_set_muted.c
@@ -0,0 +1,278 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/audio/task/recall/ags_set_muted.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_mutable.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall.h>
+
+#include <math.h>
+
+void ags_set_muted_class_init(AgsSetMutedClass *set_muted);
+void ags_set_muted_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_set_muted_init(AgsSetMuted *set_muted);
+void ags_set_muted_connect(AgsConnectable *connectable);
+void ags_set_muted_disconnect(AgsConnectable *connectable);
+void ags_set_muted_finalize(GObject *gobject);
+
+void ags_set_muted_launch(AgsTask *task);
+
+void ags_set_muted_recall(AgsSetMuted *set_muted, AgsRecall *recall);
+void ags_set_muted_channel(AgsSetMuted *set_muted, AgsChannel *channel);
+void ags_set_muted_audio(AgsSetMuted *set_muted, AgsAudio *audio);
+
+/**
+ * SECTION:ags_set_muted
+ * @short_description: set muted to delay audio
+ * @title: AgsSetMuted
+ * @section_id:
+ * @include: ags/audio/task/recall/ags_set_muted.h
+ *
+ * The #AgsSetMuted task sets muted to #AgsMutable.
+ */
+
+static gpointer ags_set_muted_parent_class = NULL;
+static AgsConnectableInterface *ags_set_muted_parent_connectable_interface;
+
+GType
+ags_set_muted_get_type()
+{
+ static GType ags_type_set_muted = 0;
+
+ if(!ags_type_set_muted){
+ static const GTypeInfo ags_set_muted_info = {
+ sizeof (AgsSetMutedClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_set_muted_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSetMuted),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_set_muted_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_set_muted_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_set_muted = g_type_register_static(AGS_TYPE_TASK,
+ "AgsSetMuted\0",
+ &ags_set_muted_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_set_muted,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_set_muted);
+}
+
+void
+ags_set_muted_class_init(AgsSetMutedClass *set_muted)
+{
+ GObjectClass *gobject;
+ AgsTaskClass *task;
+
+ ags_set_muted_parent_class = g_type_class_peek_parent(set_muted);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) set_muted;
+
+ gobject->finalize = ags_set_muted_finalize;
+
+ /* AgsTaskClass */
+ task = (AgsTaskClass *) set_muted;
+
+ task->launch = ags_set_muted_launch;
+}
+
+void
+ags_set_muted_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_set_muted_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_set_muted_connect;
+ connectable->disconnect = ags_set_muted_disconnect;
+}
+
+void
+ags_set_muted_init(AgsSetMuted *set_muted)
+{
+ set_muted->gobject = NULL;
+ set_muted->muted = FALSE;
+}
+
+void
+ags_set_muted_connect(AgsConnectable *connectable)
+{
+ ags_set_muted_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_muted_disconnect(AgsConnectable *connectable)
+{
+ ags_set_muted_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_set_muted_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_set_muted_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_set_muted_launch(AgsTask *task)
+{
+ AgsSetMuted *set_muted;
+
+ set_muted = AGS_SET_MUTED(task);
+
+ if(AGS_IS_AUDIO(set_muted->gobject)){
+ AgsAudio *audio;
+
+ audio = AGS_AUDIO(set_muted->gobject);
+
+ ags_set_muted_audio(set_muted, audio);
+ }else if(AGS_IS_CHANNEL(set_muted->gobject)){
+ AgsChannel *channel;
+
+ channel = AGS_CHANNEL(set_muted->gobject);
+
+ ags_set_muted_channel(set_muted, channel);
+ }else if(AGS_IS_RECALL(set_muted->gobject)){
+ AgsRecall *recall;
+
+ recall = AGS_RECALL(set_muted->gobject);
+
+ ags_set_muted_recall(set_muted, recall);
+ }else{
+ g_warning("AgsSetMuted: Not supported gobject\0");
+ }
+}
+
+void
+ags_set_muted_recall(AgsSetMuted *set_muted, AgsRecall *recall)
+{
+ if(AGS_IS_MUTABLE(recall)){
+ ags_mutable_set_muted(AGS_MUTABLE(recall), set_muted->muted);
+ }
+}
+
+void
+ags_set_muted_channel(AgsSetMuted *set_muted, AgsChannel *channel)
+{
+ GList *list;
+
+ list = channel->play;
+
+ while(list != NULL){
+ ags_set_muted_recall(set_muted, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = channel->recall;
+
+ while(list != NULL){
+ ags_set_muted_recall(set_muted, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_set_muted_audio(AgsSetMuted *set_muted, AgsAudio *audio)
+{
+ AgsChannel *channel;
+ GList *list;
+
+ /* AgsRecall */
+ list = audio->play;
+
+ while(list != NULL){
+ ags_set_muted_recall(set_muted, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ list = audio->recall;
+
+ while(list != NULL){
+ ags_set_muted_recall(set_muted, AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ /* AgsChannel */
+ channel = audio->output;
+
+ while(channel != NULL){
+ ags_set_muted_channel(set_muted, channel);
+
+ channel = channel->next;
+ }
+
+ channel = audio->input;
+
+ while(channel != NULL){
+ ags_set_muted_channel(set_muted, channel);
+
+ channel = channel->next;
+ }
+}
+
+/**
+ * ags_set_muted_new:
+ * @gobject: the #GObject
+ * @muted: muted to set
+ *
+ * Creates an #AgsSetMuted.
+ *
+ * Returns: an new #AgsSetMuted.
+ *
+ * Since: 0.4
+ */
+AgsSetMuted*
+ags_set_muted_new(GObject *gobject,
+ gboolean muted)
+{
+ AgsSetMuted *set_muted;
+
+ set_muted = (AgsSetMuted *) g_object_new(AGS_TYPE_SET_MUTED,
+ NULL);
+
+ set_muted->gobject = gobject;
+ set_muted->muted = muted;
+
+ return(set_muted);
+}
diff --git a/src/ags/audio/task/recall/ags_set_muted.h b/src/ags/audio/task/recall/ags_set_muted.h
new file mode 100644
index 0000000..d1862c4
--- /dev/null
+++ b/src/ags/audio/task/recall/ags_set_muted.h
@@ -0,0 +1,56 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SET_MUTED_H__
+#define __AGS_SET_MUTED_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_SET_MUTED (ags_set_muted_get_type())
+#define AGS_SET_MUTED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_MUTED, AgsSetMuted))
+#define AGS_SET_MUTED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_MUTED, AgsSetMutedClass))
+#define AGS_IS_SET_MUTED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_MUTED))
+#define AGS_IS_SET_MUTED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SET_MUTED))
+#define AGS_SET_MUTED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_MUTED, AgsSetMutedClass))
+
+typedef struct _AgsSetMuted AgsSetMuted;
+typedef struct _AgsSetMutedClass AgsSetMutedClass;
+
+struct _AgsSetMuted
+{
+ AgsTask task;
+
+ GObject *gobject;
+
+ gboolean muted;
+};
+
+struct _AgsSetMutedClass
+{
+ AgsTaskClass task;
+};
+
+GType ags_set_muted_get_type();
+
+AgsSetMuted* ags_set_muted_new(GObject *gobject,
+ gboolean muted);
+
+#endif /*__AGS_SET_MUTED_H__*/
diff --git a/src/ags/file/Makefile b/src/ags/file/Makefile
new file mode 100644
index 0000000..0119883
--- /dev/null
+++ b/src/ags/file/Makefile
@@ -0,0 +1,486 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/file/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/file
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/file
+abs_srcdir = /usr/src/ags-devel/src/ags/file
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_file_h_sources =
+ags_file_h_sources = \
+ $(deprecated_ags_file_h_sources) \
+ ags_file_gui.h \
+ ags_file.h \
+ ags_file_id_ref.h \
+ ags_file_launch.h \
+ ags_file_link.h \
+ ags_file_lookup.h \
+ ags_file_read.h \
+ ags_file_sound.h \
+ ags_file_stock.h \
+ ags_file_thread.h \
+ ags_file_util.h \
+ ags_file_value_factory.h \
+ ags_file_write.h
+
+deprecated_ags_file_c_sources =
+ags_file_c_sources = \
+ $(deprecated_ags_file_c_sources) \
+ ags_file_gui.c \
+ ags_file.c \
+ ags_file_id_ref.c \
+ ags_file_launch.c \
+ ags_file_link.c \
+ ags_file_lookup.c \
+ ags_file_read.c \
+ ags_file_sound.c \
+ ags_file_stock.c \
+ ags_file_thread.c \
+ ags_file_util.c \
+ ags_file_value_factory.c \
+ ags_file_write.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/file/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/file/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/file/Makefile.am b/src/ags/file/Makefile.am
new file mode 100644
index 0000000..e1fed15
--- /dev/null
+++ b/src/ags/file/Makefile.am
@@ -0,0 +1,35 @@
+deprecated_ags_file_h_sources =
+
+ags_file_h_sources = \
+ $(deprecated_ags_file_h_sources) \
+ ags_file_gui.h \
+ ags_file.h \
+ ags_file_id_ref.h \
+ ags_file_launch.h \
+ ags_file_link.h \
+ ags_file_lookup.h \
+ ags_file_read.h \
+ ags_file_sound.h \
+ ags_file_stock.h \
+ ags_file_thread.h \
+ ags_file_util.h \
+ ags_file_value_factory.h \
+ ags_file_write.h
+
+deprecated_ags_file_c_sources =
+
+ags_file_c_sources = \
+ $(deprecated_ags_file_c_sources) \
+ ags_file_gui.c \
+ ags_file.c \
+ ags_file_id_ref.c \
+ ags_file_launch.c \
+ ags_file_link.c \
+ ags_file_lookup.c \
+ ags_file_read.c \
+ ags_file_sound.c \
+ ags_file_stock.c \
+ ags_file_thread.c \
+ ags_file_util.c \
+ ags_file_value_factory.c \
+ ags_file_write.c
diff --git a/src/ags/file/Makefile.in b/src/ags/file/Makefile.in
new file mode 100644
index 0000000..d7c861f
--- /dev/null
+++ b/src/ags/file/Makefile.in
@@ -0,0 +1,486 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/file
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_file_h_sources =
+ags_file_h_sources = \
+ $(deprecated_ags_file_h_sources) \
+ ags_file_gui.h \
+ ags_file.h \
+ ags_file_id_ref.h \
+ ags_file_launch.h \
+ ags_file_link.h \
+ ags_file_lookup.h \
+ ags_file_read.h \
+ ags_file_sound.h \
+ ags_file_stock.h \
+ ags_file_thread.h \
+ ags_file_util.h \
+ ags_file_value_factory.h \
+ ags_file_write.h
+
+deprecated_ags_file_c_sources =
+ags_file_c_sources = \
+ $(deprecated_ags_file_c_sources) \
+ ags_file_gui.c \
+ ags_file.c \
+ ags_file_id_ref.c \
+ ags_file_launch.c \
+ ags_file_link.c \
+ ags_file_lookup.c \
+ ags_file_read.c \
+ ags_file_sound.c \
+ ags_file_stock.c \
+ ags_file_thread.c \
+ ags_file_util.c \
+ ags_file_value_factory.c \
+ ags_file_write.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/file/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/file/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/file/ags_conf.dtd b/src/ags/file/ags_conf.dtd
new file mode 100644
index 0000000..f429c24
--- /dev/null
+++ b/src/ags/file/ags_conf.dtd
@@ -0,0 +1,23 @@
+<!ENTITY ags-conf-version "0.4.0">
+
+<!ELEMENT ags-conf (ags-thread, ags-device, ags-server, ags-gui)>
+<!ATTLIST ags-conf
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-thread EMPTY>
+<!ATTLIST ags-thread
+ model CDATA "multi-threaded"
+ lock-global CDATA "ags-thread"
+ lock-parent CDATA "ags-recycling-thread"
+ >
+
+<!ELEMENT ags-device EMPTY>
+<!ATTLIST ags-device
+ samplerate CDATA "44100"
+ buffer-size CDATA "940"
+ pcm-channels CDATA "2"
+ dsp-channels CDATA "2"
+ alsa-handle CDATA "hw:0,0"
+ >
diff --git a/src/ags/file/ags_file-0_3_12-to-0_4_0.xsl b/src/ags/file/ags_file-0_3_12-to-0_4_0.xsl
new file mode 100644
index 0000000..4522893
--- /dev/null
+++ b/src/ags/file/ags_file-0_3_12-to-0_4_0.xsl
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!DOCTYPE schema [
+<!ENTITY ags-default-version "0.4.0">
+]>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:template match="/">
+
+ <ags version="&ags-default-version;">
+
+ <!-- TODO:JK: implement me -->
+
+ </ags>
+
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/src/ags/file/ags_file-0_3_12.dtd b/src/ags/file/ags_file-0_3_12.dtd
new file mode 100644
index 0000000..d07ccc1
--- /dev/null
+++ b/src/ags/file/ags_file-0_3_12.dtd
@@ -0,0 +1,224 @@
+<!ENTITY ags_default_version "0.3.12">
+
+<!ELEMENT ags (AgsWindow, AgsEmbededAudio*)>
+<!ATTLIST ags
+ version CDATA #REQUIRED
+ embedded_audio CDATA "FALSE"
+>
+
+<!ELEMENT AgsAudio (AgsChannel*, AgsNotation*)>
+<!ATTLIST AgsAudio
+ audio_channels NMTOKEN "2"
+ output_pads NMTOKEN "1"
+ input_pads NMTOKEN "1"
+>
+
+<!ELEMENT AgsChannel (AgsRecycling?, AgsRecall*, AgsPattern*, (AgsOutput|AgsInput))>
+<!ATTLIST AgsChannel
+ pad NMTOKEN #REQUIRED
+ audio_channel NMTOKEN #REQUIRED
+ link_name CDATA #REQUIRED
+ link_line NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsOutput EMPTY>
+
+<!ELEMENT AgsInput EMPTY>
+<!ATTLIST AgsInput
+ file CDATA #IMPLIED
+>
+
+<!ELEMENT AgsRecycling (AgsAudioSignal*)>
+
+<!ELEMENT AgsAudioSignal ( AgsStream*)>
+<!ATTLIST AgsAudioSignal
+ start NMTOKEN #REQUIRED
+ stop NMTOKEN #REQUIRED
+ attack0 NMTOKEN #REQUIRED
+ attack1 NMTOKEN #REQUIRED
+ parent_attack NMTOKEN #IMPLIED
+ lock_attack NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsOffset EMPTY>
+
+<!ELEMENT AgsStream (#PCDATA)>
+
+<!ELEMENT AgsPattern (AgsPatternData*)>
+<!ATTLIST AgsPattern
+ dim0 NMTOKEN "1"
+ dim1 NMTOKEN "1"
+ lenght NMTOKEN "32"
+>
+
+<!ELEMENT AgsPatternData (#CDATA)>
+<!ATTLIST AgsPatternData
+ index0 NMTOKEN #REQUIRED
+ index1 NMTOKEN #REQUIRED
+ coding CDATA "human readable"
+>
+
+<!ELEMENT AgsNotation (AgsNote)*>
+<!ATTLIST AgsNotation
+ raster CDATA "TRUE"
+ key CDATA "violine"
+ tact CDATA "1/4"
+ bpm NMTOKEN "120"
+>
+
+<!ELEMENT AgsNote ((AgsBeat, AgsBeat)?,(AgsOffset, AgsOffset)?)>
+<!ATTLIST AgsNote
+ x0 NMTOKEN #REQUIRED
+ x1 NMTOKEN #REQUIRED
+ y NMTOKEN #REQUIRED
+ name NMTOKEN #IMPLIED
+ frequency NMTOKEN #IMPLIED
+>
+
+<!ELEMENT AgsBeat (AgsOffset)>
+
+<!ELEMENT AgsEmbededAudio (AgsFileLink*, #PCDATA)*>
+<!ATTLIST AgsEmbededAudio
+ coding CDATA "raw"
+ channels NMTOKEN "2"
+>
+
+<!ELEMENT AgsFileLink EMPTY>
+<!ATTLIST AgsFileLink
+ type CDATA "embeded audio"
+ mode CDATA "mix"
+ file CDATA #REQUIRED
+ offset CDATA #REQUIRED
+ start CDATA #REQUIRED
+>
+
+<!ELEMENT AgsDevout EMPTY>
+<!ATTLIST AgsDevout
+ pcm_channels NMTOKEN "2"
+ dsp_channels NMTOKEN "2"
+ bits NMTOKEN "16"
+ buffer_size NMTOKEN "512"
+ frequence NMTOKEN "44100"
+ system CDATA "oss"
+ device CDATA "/dev/dsp"
+>
+
+<!ELEMENT AgsTask ()>
+<!ATTLIST AgsTask
+ name CDATA #REQUIRED
+ start NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsRecall ((AgsPlayPattern|AgsPlayChannel|AgsPlayAudioSignal|AgsVolume|AgsCopyPattern|AgsCopyChannel|AgsCopyAudioSignal), AgsRecall*)>
+<!ATTLIST AgsRecall
+ effect CDATA #REQUIRED
+ name CDATA #REQUIRED
+ control_count NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsPlayPattern EMPTY>
+
+<!ELEMENT AgsPlayChannel EMPTY>
+
+<!ELEMENT AgsPlayAudioSignal EMPTY>
+
+<!ELEMENT AgsVolume EMPTY>
+
+<!ELEMENT AgsWindow (AgsMenubar, AgsMachines, AgsEditor, AgsNavigation)>
+
+<!ELEMENT AgsMenuBar EMPTY>
+
+<!ELEMENT AgsMachines (AgsMachine*)>
+
+<!ELEMENT AgsMachine (AgsAudio, (AgsPanel|AgsMixer|AgsDrum|AgsMatrix|AgsSynth|AgsFFPlayer))>
+<!ATTLIST AgsMachine
+ name CDATA #REQUIRED
+>
+
+<!ELEMENT AgsPanel (AgsDevout)>
+
+<!ELEMENT AgsMixer EMPTY>
+
+<!ELEMENT AgsDrum EMPTY>
+
+<!ELEMENT AgsMatrix EMPTY>
+
+<!ELEMENT AgsSynth EMPTY>
+
+<!ELEMENT AgsFFPlayer EMPTY>
+
+<!ELEMENT AgsPad (AgsLine)*>
+<!ATTLIST AgsPad
+ show_grouping CDATA "TRUE"
+ groupe_pad CDATA "FALSE"
+ groupe_channel CDATA "FALSE"
+>
+
+<!ELEMENT AgsLine (AgsLineMember)*>
+<!ATTLIST AgsLine
+ rows NMTOKEN #REQUIRED
+ cols NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsLineMember EMPTY>
+<!ATTLIST AgsLineMember
+ visualization CDATA "GtkDial"
+ left_attach NMTOKEN #REQUIRED
+ rigth_attach NMTOKEN #REQUIRED
+ top_attach NMTOKEN #REQUIRED
+ bottom_attach NMTOKEN #REQUIRED
+ effect CDATA #REQUIRED
+ recall_name CDATA #REQUIRED
+ control NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsMachineEditor (AgsPadEditor*)>
+<!ATTLIST AgsMachineEditor
+ machine CDATA #REQUIRED
+>
+
+<!ELEMENT AgsPadEditor (AgsLineEditor)*>
+<!ATTLIST AgsPadEditor
+ pad NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsLineEditor (AgsLineMemberEditor, AgsLinkEditor)>
+<!ATTLIST AgsLineEditor
+ line NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsLineMemberEditor (#CDATA, #CDATA, #NMTOKEN, ("GtkDial"|"GtkScale"|"GtkSpinButton"), #NMTOKEN, #NMTOKEN, #NMTOKEN, #NMTOKEN)*>
+
+<!ELEMENT AgsLinkEditor EMPTY>
+<!ATTLIST AgsLinkEditor
+ machine CDATA #REQUIRED
+ name CDATA #REQUIRED
+ link NMTOKEN #REQUIRED
+>
+
+<!ELEMENT AgsEditor (AgsToolbar, AgsNotebook)>
+
+<!ELEMENT AgsToolbar EMPTY>
+<!ATTLIST AgsToolbar
+ mode CDATA "edit")
+ tic CDATA "1/8"
+ zoom CDATA "1:8"
+>
+
+<!ELEMENT AgsNotebook EMPTY>
+
+<!ELEMENT AgsNavigation EMPTY>
+<!ATTLIST AgsNavigation
+ expandet CDATA "FALSE"
+ bpm NMTOKEN "120"
+ loop CDATA "FALSE"
+ position_min NMTOKEN "0.0"
+ position_sec NMTOKEN "0.0"
+ duration_min NMTOKEN "0.0"
+ duration_sec NMTOKEN "0.0"
+ loop_left_min NMTOKEN "0.0"
+ loop_left_sec NMTOKEN "0.0"
+ loop_right_min NMTOKEN "0.0"
+ loop_right_sec NMTOKEN "0.0"
+ raster CDATA "TRUE"
+>
diff --git a/src/ags/file/ags_file.c b/src/ags/file/ags_file.c
new file mode 100644
index 0000000..879d627
--- /dev/null
+++ b/src/ags/file/ags_file.c
@@ -0,0 +1,1347 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_thread.h>
+#include <ags/file/ags_file_sound.h>
+#include <ags/file/ags_file_gui.h>
+#include <ags/file/ags_file_stock.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_marshal.h>
+
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_launch.h>
+#include <ags/file/ags_file_sound.h>
+#include <ags/file/ags_file_gui.h>
+
+#include <ags/thread/ags_thread_pool.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/thread/ags_audio_loop.h>
+
+#include <libxml/parser.h>
+#include <libxml/xlink.h>
+#include <libxml/xpath.h>
+#include <libxml/valid.h>
+#include <libxml/xmlIO.h>
+#include <libxml/xmlmemory.h>
+#include <libxml/xmlsave.h>
+
+void ags_file_class_init(AgsFileClass *file);
+void ags_file_init(AgsFile *file);
+void ags_file_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_file_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_file_finalize(GObject *gobject);
+
+void ags_file_real_open(AgsFile *file);
+void ags_file_real_open_from_data(AgsFile *file,
+ gchar *data, guint length);
+void ags_file_real_rw_open(AgsFile *file,
+ gboolean create);
+
+void ags_file_real_write(AgsFile *file);
+void ags_file_real_write_concurrent(AgsFile *file);
+void ags_file_real_write_resolve(AgsFile *file);
+
+void ags_file_real_read(AgsFile *file);
+void ags_file_real_read_resolve(AgsFile *file);
+void ags_file_real_read_start(AgsFile *file);
+
+/**
+ * SECTION:ags_file
+ * @short_description: read/write XML file
+ * @title: AgsFile
+ * @section_id:
+ * @include: ags/file/ags_file.h
+ *
+ * The #AgsFile is an object to read or write files using XML. It
+ * is the persisting layer of Advanced Gtk+ Sequencer.
+ */
+
+enum{
+ PROP_0,
+ PROP_FILENAME,
+ PROP_ENCODING,
+ PROP_AUDIO_FORMAT,
+ PROP_AUDIO_ENCODING,
+ PROP_MAIN,
+};
+
+enum{
+ OPEN,
+ OPEN_FROM_DATA,
+ RW_OPEN,
+ WRITE,
+ WRITE_CONCURRENT,
+ WRITE_RESOLVE,
+ READ,
+ READ_RESOLVE,
+ READ_START,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_file_parent_class = NULL;
+static guint file_signals[LAST_SIGNAL] = { 0 };
+
+GType
+ags_file_get_type (void)
+{
+ static GType ags_type_file = 0;
+
+ if(!ags_type_file){
+ static const GTypeInfo ags_file_info = {
+ sizeof (AgsFileClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_file_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFile),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_file_init,
+ };
+
+ ags_type_file = g_type_register_static(G_TYPE_OBJECT,
+ "AgsFile\0",
+ &ags_file_info,
+ 0);
+ }
+
+ return (ags_type_file);
+}
+
+void
+ags_file_class_init(AgsFileClass *file)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_file_parent_class = g_type_class_peek_parent(file);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) file;
+
+ gobject->get_property = ags_file_get_property;
+ gobject->set_property = ags_file_set_property;
+
+ gobject->finalize = ags_file_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_string("filename\0",
+ "filename to read or write\0",
+ "The filename to read or write to.\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILENAME,
+ param_spec);
+
+ param_spec = g_param_spec_string("encoding\0",
+ "encoding to use\0",
+ "The encoding of the XML document.\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_ENCODING,
+ param_spec);
+
+ param_spec = g_param_spec_string("audio format\0",
+ "audio format to use\0",
+ "The audio format used to embedded audio.\0",
+ AGS_FILE_DEFAULT_AUDIO_FORMAT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_FORMAT,
+ param_spec);
+
+ param_spec = g_param_spec_string("audio encoding\0",
+ "audio encoding to use\0",
+ "The audio encoding used to embedded audio.\0",
+ AGS_FILE_DEFAULT_AUDIO_ENCODING,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_ENCODING,
+ param_spec);
+
+ param_spec = g_param_spec_object("main\0",
+ "main object of file\0",
+ "The main object to write to file.\0",
+ AGS_TYPE_MAIN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN,
+ param_spec);
+
+ /* AgsFileClass */
+ file->open = ags_file_real_open;
+ file->rw_open = ags_file_real_rw_open;
+ file->open_from_data = ags_file_real_open_from_data;
+
+ file->write = ags_file_real_write;
+ file->write_concurrent = ags_file_real_write_concurrent;
+ file->write_resolve = ags_file_real_write_resolve;
+ file->read = ags_file_real_read;
+ file->read_resolve = ags_file_real_read_resolve;
+ file->read_start = ags_file_real_read_start;
+
+ file_signals[OPEN] =
+ g_signal_new("open\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, open),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ file_signals[OPEN_FROM_DATA] =
+ g_signal_new("open-from-data\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, open_from_data),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__STRING_UINT,
+ G_TYPE_NONE, 0);
+
+ file_signals[RW_OPEN] =
+ g_signal_new("rw-open\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, rw_open),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__BOOLEAN,
+ G_TYPE_NONE, 0);
+
+ file_signals[WRITE] =
+ g_signal_new("write\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, write),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ file_signals[WRITE_CONCURRENT] =
+ g_signal_new("write_concurrent\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, write_concurrent),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ file_signals[WRITE_RESOLVE] =
+ g_signal_new("write_resolve\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, write_resolve),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ file_signals[READ] =
+ g_signal_new("read\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, read),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ file_signals[READ_RESOLVE] =
+ g_signal_new("read_resolve\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, read_resolve),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ file_signals[READ_START] =
+ g_signal_new("read_start\0",
+ G_TYPE_FROM_CLASS(file),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileClass, read_start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_file_init(AgsFile *file)
+{
+ file->flags = 0;
+
+ file->out = NULL;
+ file->buffer = NULL;
+
+ file->filename = NULL;
+ file->encoding = AGS_FILE_DEFAULT_ENCODING;
+ file->dtd = AGS_FILE_DEFAULT_DTD;
+
+ file->audio_format = AGS_FILE_DEFAULT_AUDIO_FORMAT;
+ file->audio_encoding = AGS_FILE_DEFAULT_AUDIO_ENCODING;
+
+ file->doc = NULL;
+
+ file->id_refs = NULL;
+ file->lookup = NULL;
+ file->launch = NULL;
+
+ file->ags_main = NULL;
+
+ file->clipboard = NULL;
+ file->property = NULL;
+ file->script = NULL;
+ file->cluster = NULL;
+ file->client = NULL;
+ file->server = NULL;
+
+ file->history = NULL;
+
+ file->embedded_audio = NULL;
+ file->file_link = NULL;
+}
+
+void
+ags_file_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFile *file;
+
+ file = AGS_FILE(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ {
+ gchar *filename;
+
+ filename = g_value_get_string(value);
+
+ if(file->filename == filename){
+ return;
+ }
+
+ file->filename = g_strdup(filename);
+ }
+ break;
+ case PROP_ENCODING:
+ {
+ gchar *encoding;
+
+ encoding = g_value_get_string(value);
+
+ file->encoding = encoding;
+ }
+ break;
+ case PROP_AUDIO_FORMAT:
+ {
+ gchar *audio_format;
+
+ audio_format = g_value_get_string(value);
+
+ file->audio_format = audio_format;
+ }
+ break;
+ case PROP_AUDIO_ENCODING:
+ {
+ gchar *audio_encoding;
+
+ audio_encoding = g_value_get_string(value);
+
+ file->audio_encoding = audio_encoding;
+ }
+ break;
+ case PROP_MAIN:
+ {
+ GObject *ags_main;
+
+ ags_main = g_value_get_object(value);
+
+ if(file->ags_main == ags_main){
+ return;
+ }
+
+ if(file->ags_main != NULL){
+ g_object_unref(file->ags_main);
+ }
+
+ if(ags_main != NULL){
+ g_object_ref(ags_main);
+ }
+
+ file->ags_main = ags_main;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFile *file;
+
+ file = AGS_FILE(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ {
+ g_value_set_string(value, file->filename);
+ }
+ break;
+ case PROP_ENCODING:
+ {
+ g_value_set_string(value, file->encoding);
+ }
+ break;
+ case PROP_AUDIO_FORMAT:
+ {
+ g_value_set_string(value, file->audio_format);
+ }
+ break;
+ case PROP_AUDIO_ENCODING:
+ {
+ g_value_set_string(value, file->audio_encoding);
+ }
+ break;
+ case PROP_MAIN:
+ {
+ g_value_set_object(value, file->ags_main);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_finalize(GObject *gobject)
+{
+ AgsFile *file;
+ void ags_file_destroy_node(xmlNodePtr node){
+ xmlNodePtr child;
+
+ child = node->children;
+
+ while(child != NULL){
+ ags_file_destroy_node(child);
+
+ child = child->next;
+ }
+ }
+
+ file = (AgsFile *) gobject;
+
+ if((AGS_FILE_READ & (file->flags)) != 0){
+ }else if((AGS_FILE_WRITE & (file->flags)) != 0){
+ }else{
+ return;
+ }
+
+ xmlFreeDoc(file->doc);
+ // xmlCleanupParser();
+ // xmlMemoryDump();
+
+ G_OBJECT_CLASS(ags_file_parent_class)->finalize(gobject);
+}
+
+gchar*
+ags_file_str2md5(gchar *content, guint strlen)
+{
+ GChecksum *checksum;
+ gchar *str;
+
+ str = g_compute_checksum_for_string(G_CHECKSUM_MD5,
+ content,
+ strlen);
+
+ return(str);
+}
+
+void
+ags_file_add_id_ref(AgsFile *file, GObject *id_ref)
+{
+ if(id_ref == NULL)
+ return;
+
+ g_object_ref(id_ref);
+
+ file->id_refs = g_list_prepend(file->id_refs,
+ id_ref);
+}
+
+GObject*
+ags_file_find_id_ref_by_node(AgsFile *file, xmlNode *node)
+{
+ AgsFileIdRef *file_id_ref;
+ GList *list;
+
+ list = file->id_refs;
+
+ while(list != NULL){
+ file_id_ref = AGS_FILE_ID_REF(list->data);
+
+ if(file_id_ref->node == node){
+ return((GObject *) file_id_ref);
+ }
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+GObject*
+ags_file_find_id_ref_by_xpath(AgsFile *file, gchar *xpath)
+{
+ AgsFileIdRef *file_id_ref;
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+ xmlNode **node;
+ guint i;
+
+ if(file == NULL || xpath == NULL || !g_str_has_prefix(xpath, "xpath=\0")){
+ g_message("invalid xpath: %s", xpath);
+
+ return(NULL);
+ }
+
+ xpath = &(xpath[6]);
+
+ /* Create xpath evaluation context */
+ xpath_context = xmlXPathNewContext(file->doc);
+
+ if(xpath_context == NULL) {
+ fprintf(stderr,"Error: unable to create new XPath context\n");
+
+ return(NULL);
+ }
+
+ /* Evaluate xpath expression */
+ xpath_object = xmlXPathEval(xpath, xpath_context);
+
+ if(xpath_object == NULL) {
+ g_message("Error: unable to evaluate xpath expression \"%s\"", xpath);
+ xmlXPathFreeContext(xpath_context);
+
+ return(NULL);
+ }
+
+ node = xpath_object->nodesetval->nodeTab;
+
+ for(i = 0; i < xpath_object->nodesetval->nodeNr; i++){
+ if(node[i]->type == XML_ELEMENT_NODE){
+ return(ags_file_find_id_ref_by_node(file,
+ node[i]));
+ }
+ }
+
+ g_message("no xpath match: %s\0", xpath);
+
+ return(NULL);
+}
+
+GObject*
+ags_file_find_id_ref_by_reference(AgsFile *file, gpointer ref)
+{
+ AgsFileIdRef *file_id_ref;
+ GList *list;
+
+ list = file->id_refs;
+
+ while(list != NULL){
+ file_id_ref = AGS_FILE_ID_REF(list->data);
+
+ if(file_id_ref->ref == ref){
+ return((GObject *) file_id_ref);
+ }
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+void
+ags_file_add_lookup(AgsFile *file, GObject *file_lookup)
+{
+ if(file == NULL || file_lookup == NULL){
+ return;
+ }
+
+ g_object_ref(G_OBJECT(file_lookup));
+
+ file->lookup = g_list_prepend(file->lookup,
+ file_lookup);
+}
+
+void
+ags_file_add_launch(AgsFile *file, GObject *file_launch)
+{
+ if(file == NULL || file_launch == NULL){
+ return;
+ }
+
+ g_object_ref(G_OBJECT(file_launch));
+
+ file->launch = g_list_prepend(file->launch,
+ file_launch);
+}
+
+void
+ags_file_real_open(AgsFile *file)
+{
+ if(file == NULL){
+ return;
+ }
+
+ /* parse the file and get the DOM */
+ file->doc = xmlReadFile(file->filename, NULL, 0);
+
+ if(file->doc == NULL){
+ printf("error: could not parse file %s\n", file->filename);
+ }
+
+ /*Get the root element node */
+ file->root_node = xmlDocGetRootElement(file->doc);
+}
+
+void
+ags_file_open(AgsFile *file)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[OPEN], 0);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_real_open_from_data(AgsFile *file,
+ gchar *data, guint length)
+{
+ if(file == NULL){
+ return;
+ }
+
+ file->doc = xmlReadMemory(data, length, file->filename, NULL, 0);
+
+ if(file->doc == NULL) {
+ printf("error: could not parse file %s\n", file->filename);
+ }
+
+ /*Get the root element node */
+ file->root_node = xmlDocGetRootElement(file->doc);
+}
+
+void
+ags_file_open_from_data(AgsFile *file,
+ gchar *data, guint length)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[OPEN_FROM_DATA], 0,
+ data, length);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_real_rw_open(AgsFile *file,
+ gboolean create)
+{
+ if(file == NULL){
+ return;
+ }
+
+ file->out = fopen(file->filename, "w+\0");
+
+ file->doc = xmlNewDoc("1.0\0");
+ file->root_node = xmlNewNode(NULL, "ags\0");
+ xmlDocSetRootElement(file->doc, file->root_node);
+}
+
+void
+ags_file_rw_open(AgsFile *file,
+ gboolean create)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[RW_OPEN], 0,
+ create);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_open_filename(AgsFile *file,
+ gchar *filename)
+{
+ if(file == NULL){
+ return;
+ }
+
+ if(file->filename != NULL){
+ ags_file_close(file);
+ }
+
+ g_object_set(file,
+ "filename\0", filename,
+ NULL);
+ ags_file_open(file);
+}
+
+void
+ags_file_close(AgsFile *file)
+{
+ if(file == NULL){
+ return;
+ }
+
+ if(file->out != NULL){
+ fclose(file->out);
+ }
+
+ /*free the document */
+ xmlFreeDoc(file->doc);
+
+ /*
+ *Free the global variables that may
+ *have been allocated by the parser.
+ */
+ xmlCleanupParser();
+
+ /*
+ * this is to debug memory for regression tests
+ */
+ xmlMemoryDump();
+
+ file->filename = NULL;
+}
+
+void
+ags_file_real_write(AgsFile *file)
+{
+ AgsMain *ags_main;
+ GList *list;
+ int size;
+
+ // ags_file_rw_open(file,
+ // TRUE);
+
+ /* write clip board */
+ //TODO:JK: implement me
+
+ /* write scripts */
+ //TODO:JK: implement me
+
+ /* write cluster */
+ //TODO:JK: implement me
+
+ /* write client */
+ //TODO:JK: implement me
+
+ /* write server */
+ //TODO:JK: implement me
+
+ /* write main */
+ ags_file_write_main(file,
+ file->root_node,
+ file->ags_main);
+
+ /* write embedded audio */
+ //TODO:JK: implement me
+
+ /* write file link */
+ //TODO:JK: implement me
+
+ /* write history */
+ //TODO:JK: implement me
+
+ /* resolve */
+ ags_file_write_resolve(file);
+
+ /*
+ * Dumping document to file
+ */
+ // xmlSaveFormatFileEnc(file->filename, file->doc, "UTF-8\0", 1);
+ xmlDocDumpFormatMemoryEnc(file->doc, &(file->buffer), &size, file->encoding, TRUE);
+
+ fwrite(file->buffer, size, sizeof(xmlChar), file->out);
+ fflush(file->out);
+}
+
+void
+ags_file_write(AgsFile *file)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[WRITE], 0);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_real_write_concurrent(AgsFile *file)
+{
+ AgsMain *ags_main;
+ AgsThread *main_loop, *gui_thread, *task_thread;
+ xmlNode *root_node;
+ FILE *file_out;
+ GList *list;
+ xmlChar *buffer;
+ int size;
+
+ xmlNode *parent, *node, *child;
+ gchar *id;
+
+ main_loop = AGS_MAIN(file->ags_main)->main_loop;
+ gui_thread = AGS_AUDIO_LOOP(main_loop)->gui_thread;
+ task_thread = AGS_AUDIO_LOOP(main_loop)->task_thread;
+
+ ags_main = file->ags_main;
+
+ file->doc = xmlNewDoc("1.0\0");
+ root_node = xmlNewNode(NULL, "ags\0");
+ xmlDocSetRootElement(file->doc, root_node);
+
+ parent = root_node;
+
+ /* write clip board */
+ //TODO:JK: implement me
+
+ /* write scripts */
+ //TODO:JK: implement me
+
+ /* write cluster */
+ //TODO:JK: implement me
+
+ /* write client */
+ //TODO:JK: implement me
+
+ /* write server */
+ //TODO:JK: implement me
+
+ /* the main code - write main */
+ ags_thread_lock(main_loop);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-main\0");
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", ags_main,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", ((~AGS_MAIN_CONNECTED) & (AGS_MAIN(ags_main)->flags))));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ AGS_MAIN(ags_main)->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ AGS_MAIN(ags_main)->build_id);
+
+ /* add to parent */
+ xmlAddChild(parent,
+ node);
+
+ ags_thread_unlock(main_loop);
+
+ /* child elements */
+ /* thread */
+ ags_thread_lock(main_loop);
+
+ ags_file_write_thread(file,
+ node,
+ AGS_THREAD(AGS_MAIN(ags_main)->main_loop));
+
+ ags_thread_unlock(main_loop);
+
+ /* thread pool */
+ ags_thread_lock(main_loop);
+
+ ags_file_write_thread_pool(file,
+ node,
+ AGS_THREAD_POOL(AGS_MAIN(ags_main)->thread_pool));
+
+ ags_thread_unlock(main_loop);
+
+ /* write audio */
+ ags_thread_lock(task_thread);
+
+ ags_file_write_devout_list(file,
+ node,
+ AGS_MAIN(ags_main)->devout);
+
+ ags_thread_unlock(task_thread);
+
+ ags_thread_lock(gui_thread);
+
+ ags_file_write_window(file,
+ node,
+ AGS_MAIN(ags_main)->window);
+
+ ags_thread_unlock(gui_thread);
+
+ /* write embedded audio */
+ //TODO:JK: implement me
+
+ /* write file link */
+ //TODO:JK: implement me
+
+ /* write history */
+ //TODO:JK: implement me
+
+ /* resolve */
+ ags_file_write_resolve(file);
+
+ /*
+ * Dumping document to file
+ */
+ // xmlSaveFormatFileEnc(file->filename, file->doc, "UTF-8\0", 1);
+ xmlDocDumpFormatMemoryEnc(file->doc, &buffer, &size, file->encoding, TRUE);
+
+ file_out = fopen(file->filename, "w+\0");
+ fwrite(buffer, size, sizeof(xmlChar), file_out);
+ fflush(file_out);
+ fclose(file_out);
+
+ /*free the document */
+ xmlFreeDoc(file->doc);
+
+ /*
+ *Free the global variables that may
+ *have been allocated by the parser.
+ */
+ xmlCleanupParser();
+
+ /*
+ * this is to debug memory for regression tests
+ */
+ xmlMemoryDump();
+}
+
+void
+ags_file_write_concurrent(AgsFile *file)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[WRITE_CONCURRENT], 0);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_real_write_resolve(AgsFile *file)
+{
+ GList *list;
+
+ file->lookup = g_list_prepend(file->lookup,
+ NULL);
+ list = file->lookup;
+
+ while(list != NULL){
+ ags_file_lookup_resolve(AGS_FILE_LOOKUP(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_file_write_resolve(AgsFile *file)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[WRITE_RESOLVE], 0);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_real_read(AgsFile *file)
+{
+ AgsMain *ags_main;
+ xmlNode *root_node, *child;
+ pid_t pid_num;
+
+ root_node = file->root_node;
+
+ /* child elements */
+ child = root_node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp("ags-clip-board\0",
+ child->name,
+ 15)){
+ //TODO:JK: implement me
+ }else if(!xmlStrncmp("ags-script-list\0",
+ child->name,
+ 16)){
+ //TODO:JK: implement me
+ }else if(!xmlStrncmp("ags-cluster\0",
+ child->name,
+ 12)){
+ //TODO:JK: implement me
+ }else if(!xmlStrncmp("ags-client\0",
+ child->name,
+ 11)){
+ //TODO:JK: implement me
+ }else if(!xmlStrncmp("ags-server\0",
+ child->name,
+ 11)){
+ //TODO:JK: implement me
+ }else if(!xmlStrncmp("ags-main\0",
+ child->name,
+ 9)){
+ ags_main = NULL;
+
+ ags_file_read_main(file,
+ child,
+ (GObject **) &ags_main);
+ }else if(!xmlStrncmp("ags-embedded-audio-list\0",
+ child->name,
+ 24)){
+ //TODO:JK: implement me
+ }else if(!xmlStrncmp("ags-file-link-list\0",
+ child->name,
+ 19)){
+ //TODO:JK: implement me
+ }else if(!xmlStrncmp("ags-history\0",
+ child->name,
+ 12)){
+ //TODO:JK: implement me
+ }
+ }
+
+ child = child->next;
+ }
+
+ /* resolve */
+ ags_file_read_resolve(file);
+
+ gtk_widget_show_all(GTK_WIDGET(ags_main->window));
+
+ g_message("XML file resolved\0");
+
+ ags_connectable_connect(AGS_CONNECTABLE(ags_main));
+
+ g_message("XML file connected\0");
+
+ /* start */
+ ags_file_read_start(file);
+}
+
+void
+ags_file_read(AgsFile *file)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[READ], 0);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_real_read_resolve(AgsFile *file)
+{
+ GList *list;
+
+ file->lookup = g_list_prepend(file->lookup,
+ NULL);
+ list = g_list_reverse(file->lookup);
+
+ while(list != NULL){
+ ags_file_lookup_resolve(AGS_FILE_LOOKUP(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_file_read_resolve(AgsFile *file)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[READ_RESOLVE], 0);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_real_read_start(AgsFile *file)
+{
+ GList *list;
+
+ list = g_list_reverse(file->launch);
+
+ while(list != NULL){
+ ags_file_launch_start(AGS_FILE_LAUNCH(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_file_read_start(AgsFile *file)
+{
+ g_return_if_fail(AGS_IS_FILE(file));
+
+ g_object_ref(G_OBJECT(file));
+ g_signal_emit(G_OBJECT(file),
+ file_signals[READ_START], 0);
+ g_object_unref(G_OBJECT(file));
+}
+
+void
+ags_file_read_server(AgsFile *file, xmlNode *node, GObject **server)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_write_server(AgsFile *file, xmlNode *parent, GObject *server)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_main(AgsFile *file, xmlNode *node, GObject **ags_main)
+{
+ AgsMain *gobject;
+ GList *list;
+ xmlNode *child;
+ int argc;
+ static const gchar *argv[] = {
+ "ags\0",
+ };
+
+ if(*ags_main == NULL){
+ gobject = g_object_new(AGS_TYPE_MAIN,
+ NULL);
+
+ *ags_main = (GObject *) gobject;
+ }else{
+ gobject = (AgsMain *) *ags_main;
+ }
+
+ file->ags_main = gobject;
+
+ argc = 1;
+ g_object_set(G_OBJECT(file),
+ "main\0", gobject,
+ NULL);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ /* properties */
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->version = xmlGetProp(node,
+ AGS_FILE_VERSION_PROP);
+
+ gobject->build_id = xmlGetProp(node,
+ AGS_FILE_BUILD_ID_PROP);
+
+ //TODO:JK: check version compatibelity
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp("ags-thread\0",
+ child->name,
+ 11)){
+ ags_file_read_thread(file,
+ child,
+ (AgsThread **) &(gobject->main_loop));
+
+ AGS_AUDIO_LOOP(gobject->main_loop)->ags_main = gobject;
+ }else if(!xmlStrncmp("ags-thread-pool\0",
+ child->name,
+ 16)){
+ ags_file_read_thread_pool(file,
+ child,
+ (AgsThreadPool **) &(gobject->thread_pool));
+ }else if(!xmlStrncmp("ags-devout-list\0",
+ child->name,
+ 16)){
+ ags_file_read_devout_list(file,
+ child,
+ &(gobject->devout));
+ }else if(!xmlStrncmp("ags-window\0",
+ child->name,
+ 11)){
+ ags_file_read_window(file,
+ child,
+ &(gobject->window));
+ }
+ }
+
+ child = child->next;
+ }
+
+ //TODO:JK: should be resolved
+ AGS_TASK_THREAD(AGS_AUDIO_LOOP(gobject->main_loop)->task_thread)->thread_pool = gobject->thread_pool;
+ AGS_THREAD_POOL(gobject->thread_pool)->parent = AGS_THREAD(AGS_AUDIO_LOOP(gobject->main_loop)->task_thread);
+
+ list = AGS_THREAD_POOL(gobject->thread_pool)->returnable_thread;
+
+ while(list != NULL){
+ ags_thread_add_child(AGS_THREAD(AGS_AUDIO_LOOP(gobject->main_loop)->task_thread),
+ AGS_THREAD(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_file_write_main(AgsFile *file, xmlNode *parent, GObject *ags_main)
+{
+ xmlNode *node, *child;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-main\0");
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", ags_main,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", ((~AGS_MAIN_CONNECTED) & (AGS_MAIN(ags_main)->flags))));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ AGS_MAIN(ags_main)->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ AGS_MAIN(ags_main)->build_id);
+
+ /* add to parent */
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_file_write_thread(file,
+ node,
+ AGS_THREAD(AGS_MAIN(ags_main)->main_loop));
+
+ ags_file_write_thread_pool(file,
+ node,
+ AGS_THREAD_POOL(AGS_MAIN(ags_main)->thread_pool));
+
+ ags_file_write_devout_list(file,
+ node,
+ AGS_MAIN(ags_main)->devout);
+
+ ags_file_write_window(file,
+ node,
+ AGS_MAIN(ags_main)->window);
+}
+
+/**
+ * ags_file_new:
+ *
+ * Creates an #AgsFile
+ *
+ * Returns: a new #AgsFile
+ *
+ * Since: 0.3
+ */
+AgsFile*
+ags_file_new()
+{
+ AgsFile *file;
+
+ file = (AgsFile *) g_object_new(AGS_TYPE_FILE,
+ NULL);
+
+ return(file);
+}
diff --git a/src/ags/file/ags_file.dtd b/src/ags/file/ags_file.dtd
new file mode 100644
index 0000000..e12812b
--- /dev/null
+++ b/src/ags/file/ags_file.dtd
@@ -0,0 +1,942 @@
+<!ENTITY ags-default-version "0.4.2">
+<!ENTITY ags-effects-default-version "0.4.2">
+<!ENTITY ags-clipboard-default-version "0.4.2">
+<!ENTITY ags-led "AgsLed">
+<!ENTITY ags-vindicator "AgsVIndicator">
+<!ENTITY ags-hindicator "AgsHIndicator">
+<!ENTITY gtk-label "GtkLabel">
+<!ENTITY ags-waveform "AgsWaveform">
+<!ENTITY gtk-button "GtkButton">
+<!ENTITY gtk-toggle-button "GtkToggleButton">
+<!ENTITY gtk-check-button "GtkCheckButton">
+<!ENTITY gtk-spin-button "GtkSpinButton">
+<!ENTITY gtk-vscale "GtkVScale">
+<!ENTITY gtk-hscale "GtkHScale">
+<!ENTITY ags-dial "AgsDial">
+<!ENTITY ags-cartesian "AgsCartesian">
+
+<!-- utility -->
+<!ELEMENT ags-value PCDATA>
+<!ATTLIST ags-value
+ id ID #REQUIRED
+ type CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-parameter (ags-value)*>
+<!ATTLIST ags-parameter
+ id ID #REQUIRED
+ name CDATA #IMPLIED
+ >
+
+<!ELEMENT ags-dependency-list (ags-dependency*)>
+<!ATTLIST ags-dependency-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-dependency EMPTY>
+<!ATTLIST ags-dependency
+ id ID #REQUIRED
+ xpath CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-object (ags-widget | ags-plugin | ags-parameter)>
+<!ATTLIST ags-object
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-plugin EMPTY
+ type CDATA #REQUIRED
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ flags PCDATA #REQUIRED
+ >
+
+<!-- root node -->
+<!ELEMENT ags (ags-clip-board?, ags-script-list?, ags-cluster?, ags-client?, ags-server?, ags-main?, ags-embedded-audio-list?, ags-file-link-list?, ags-history?)>
+<!ATTLIST ags
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ embedded-audio CDATA "FALSE"
+ >
+
+<!ELEMENT ags-offset (#CDATA)>
+<!ATTLIST ags-offset
+ offset-type CDATA "date-time"
+ offset-format CDATA "YYYY-MM-DD H:M:S.N"
+ >
+
+<!ELEMENT ags-tic (#NMTOKEN)>
+
+<!-- clipboard -->
+<!ELEMENT ags-clip-board (#CDATA)>
+<!ATTLIST ags-clip-board
+ id ID #REQUIRED
+ >
+
+<!-- script -->
+<!ELEMENT ags-script-list (ags-script*)>
+
+<!ELEMENT ags-script (#CDATA)>
+<!ATTLIST ags-script
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ filename CDATA #REQUIRED
+ >
+
+<!-- cluster -->
+<!ELEMENT ags-cluster (ags-client-list)>
+<!ATTLIST ags-cluster
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ >
+
+<!-- TODO:JK: define me -->
+
+<!-- client -->
+<!ATTLIST ags-client-list (ags-client*)>
+<!ATTLIST ags-client-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-client>
+<!ATTLIST ags-client
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ socket-type CDATA "IPv4"
+ remote-address CDATA #REQUIRED
+ remote-port CDATA #REQUIRED
+ remote-username CDATA #REQUIRED
+ remote-password CDATA #REQUIRED
+ local-address CDATA #REQUIRED
+ local-port CDATA #IMPLIED
+ proxy-protocol CDATA "HTTPS"
+ proxy-address CDATA #IMPLIED
+ proxy-port CDATA #IMPLIED
+ proxy-username CDATA #IMPLIED
+ proxy-password CDATA #IMPLIED
+ security CDATA "SSLv3"
+ public-key CDATA #REQUIRED
+ private-key CDATA #IMPLIED
+ log-file CDATA #REQUIRED
+ >
+
+<!-- server -->
+<!ELEMENT ags-server (ags-registry, ags-remote-task-list, ags-timestamp-list)>
+<!ATTLIST ags-server
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ autostart CDATA #REQUIRED
+ socket-type CDATA "IPv4"
+ address CDATA #REQUIRED
+ port CDATA #REQUIRED
+ username CDATA #REQUIRED
+ password CDATA #REQUIRED
+ security CDATA "SSLv3"
+ public-key CDATA #REQUIRED
+ private-key CDATA #IMPLIED
+ log-file CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-registry (ags-registry-entry-list)>
+<!ATTLIST ags-registry
+ id ID #REQUIRED
+ id-type CDATA "hex-string"
+ id-length NMTOKEN 16
+ indicated CDATA "FALSE"
+ >
+
+<!ELEMENT ags-registry-entry-list (ags-registry-entry*)>
+<!ATTLIST ags-registry-entry-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-registry-entry EMPTY>
+<!ATTLIST ags-registry-entry
+ id ID #REQUIRED
+ entry IDREF #REQUIRED
+ key PCDATA #REQUIRED
+ >
+
+<!ELEMENT ags-remote-task-list (ags-remote-task*)>
+<!ATTLIST ags-remote-task-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-remote-task (ags-timestamp?)>
+<!ATTLIST ags-remote-task
+ id ID #REQUIRED
+ task IDREF #REQUIRED
+ launched CDATA #REQUIRED
+ >
+
+<!-- main -->
+<!ELEMENT ags-main (ags-audio-loop, ags-devout-list, ags-window, ags-thread, ags-thread-pool)>
+<!ATTLIST ags-main
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ log-file NMTOKEN #REQUIRED
+ >
+
+<!-- thread -->
+<!ELEMENT ags-thread-list (ags-thread*)>
+<!ATTLIST ags-thread-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-thread (ags-thread-list, (ags-audio-loop | ags-task-thread | ags-gui-thread |ags-devout-thread | ags-export-thread | ags-recycling-thread | ags-timestamp-thread | ags-single-thread))>
+<!ATTLIST ags-thread
+ type CDATA #REQUIRED
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ devout CDATA #REQUIRED
+>
+
+<!ELEMENT ags-thread-pool (ags-parameter?)>
+<!ATTLIST ags-thread-pool
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+>
+
+<!ELEMENT ags-audio-loop (ags-parameter, ags-parameter, ags-parameter, ags-parameter)>
+<!ATTLIST ags-audio-loop
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ frequency NMTOKEN #REQUIRED
+>
+
+<!ELEMENT ags-task-thread EMPTY>
+
+<!ELEMENT ags-gui-thread EMPTY>
+
+<!ELEMENT ags-devout-thread EMPTY>
+
+<!ELEMENT ags-export-thread EMPTY>
+
+<!ELEMENT ags-recycling-thread EMPTY>
+
+<!ELEMENT ags-timestamp-thread EMPTY>
+
+<!ELEMENT ags-single-thread EMPTY>
+
+<!-- audio -->
+<!ELEMENT ags-devout-list (ags-devout*)>
+<!ATTLIST ags-devout-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-devout (ags-audio-list, ags-delay-data, ags-attack-data)>
+<!ATTLIST ags-devout
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ dsp-channels NMTOKEN 2
+ pcm-channels NMTOKEN 2
+ bits NMTOKEN 16
+ buffer-size NMTOKEN 128
+ frequency NMTOKEN 44100 <!-- renamed frequence -->
+ bpm NMTOKEN 120.0
+ delay-counter NMTOKEN #REQUIRED
+ device CDATA "default"
+ >
+
+<!ELEMENT ags-delay-data (NMTOKEN)*> <!-- default start 84 -->
+<!ATTLIST ags-delay-data
+ checksum PCDATA #REQUIRED
+ >
+
+<!ELEMENT ags-attack-data (NMTOKEN)*>
+<!ATTLIST ags-attack-data
+ checksum PCDATA #REQUIRED
+ >
+
+<!ELEMENT ags-devout-play-list (ags-devout-play*)>
+<!ATTLIST ags-devout-play-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-devout-play EMPTY>
+<!ATTLIST ags-devout-play
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ source IDREF #REQUIRED
+ audio-channel NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-audio-list ags-audio>
+<!ATTLIST ags-audio-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-audio (ags-channel-list, ags-channel-list, ags-recall-list, ags-recall-list, ags-notation-list)>
+<!ATTLIST ags-audio
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ devout CDATA #REQUIRED
+ sequence-length NMTOKEN 16
+ audio-channels NMTOKEN 2
+ output-pads NMTOKEN 1
+ input-pads NMTOKEN 1
+ >
+
+<!ELEMENT ags-channel-list (ags-channel*)>
+<!ATTLIST ags-channel-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-channel (ags-recycling?, ags-recall-list, ags-recall-list, ags-pattern-list?, (ags-output|ags-input), ags-devout-play)>
+<!ATTLIST ags-channel
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ pad NMTOKEN #REQUIRED
+ audio-channel NMTOKEN #REQUIRED
+ link IDREF #REQUIRED
+ >
+
+<!ELEMENT ags-output EMPTY>
+<!ELEMENT ags-output
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-input (ags-file-link?)>
+<!ELEMENT ags-input
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-recycling (ags-audio-signal-list)>
+<!ATTLIST ags-recycling
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ >
+
+<!ELEMENT ags-audio-signal-list (ags-audio-signal*)>
+<!ATTLIST ags-audio-signal-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-audio-signal (ags-timestamp,ags-stream-list)>
+<!ATTLIST ags-audio-signal
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ samplerate NMTOKEN #REQUIRED
+ buffer-size NMTOKEN #REQUIRED
+ resolution NMTOKEN #REQUIRED
+ length NMTOKEN #REQUIRED
+ last-frame NMTOKEN #REQUIRED
+ loop-start NMTOKEN #REQUIRED
+ loop-end NMTOKEN #REQUIRED
+ delay NMTOKEN #IMPLIED
+ attack NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-stream-list (ags-stream*)>
+<!ATTLIST ags-stream-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-stream (#PCDATA)>
+<!ATTLIST ags-stream
+ id ID #REQUIRED
+ index NMTOKEN #REQUIRED
+ encoding CDATA "base64"
+ demuxer CDATA "raw"
+ >
+
+<!ELEMENT ags-pattern-list (ags-pattern*)>
+<!ATTLIST ags-pattern-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-pattern (ags-timestamp,ags-pattern-data-list)>
+<!ATTLIST ags-pattern
+ id ID #REQUIRED
+ port IDREF #REQUIRED
+ dim-1st-level NMTOKEN 1
+ dim-2nd-level NMTOKEN 1
+ length NMTOKEN 32
+ <!-- TODO:JK: implement following -->
+ delay NMTOKEN #REQUIRED
+ attack NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-pattern-data-list (ags-pattern-data*)>
+<!ATTLIST ags-pattern-data-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-pattern-data (#CDATA)>
+<!ATTLIST ags-pattern-data
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ index-1st-level NMTOKEN #REQUIRED
+ index-2nd-level NMTOKEN #REQUIRED
+ coding CDATA "human readable"
+ >
+
+<!ELEMENT ags-notation-list (ags-notation*)>
+<!ATTLIST ags-notation-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-notation (ags-timestamp, ags-note-list)>
+<!ATTLIST ags-notation
+ id ID #REQUIRED
+ port IDREF #REQUIRED
+ flags PCDATA #REQUIRED
+ audio-channel NMTOKEN #REQUIRED
+ key CDATA "violine"
+ base-frequency NMTOKEN 440.0
+ bpm NMTOKEN 120.0
+ max-note-length NMTOKEN 16.0
+ loop-start NMTOKEN #IMPLIED
+ loop-end NMTOKEN #IMPLIED
+ <!-- TODO:JK: implement following -->
+ delay NMTOKEN #REQUIRED
+ attack NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-note-list (ags-note*)>
+<!ATTLIST ags-note-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-note EMPTY>
+<!ATTLIST ags-note
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ x0 NMTOKEN #REQUIRED
+ x1 NMTOKEN #REQUIRED
+ y NMTOKEN #REQUIRED
+ name CDATA #IMPLIED
+ frequency NMTOKEN #IMPLIED
+ >
+
+<!ELEMENT ags-task-list (ags-task*)>
+<!ATTLIST ags-task-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-task (ags-parameter)>
+<!ATTLIST ags-task
+ type CDATA #REQUIRED
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ name CDATA #REQUIRED
+ delay NMTOKEN #REQUIRED
+ error-message CDATA #IMPLIED
+ >
+
+<!-- recalls -->
+<!ELEMENT ags-recall-list (ags-recall*)>
+<!ATTLIST ags-recall-list
+ id ID #REQUIRED
+ is-play CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-recall ((ags-recall-audio|ags-recall-audio-run|ags-recall-channel|ags-recall-channel-run|ags-recall-recycling|ags-recall-audio-signal)?, ags-recall-list?, ags-port-list?, ags-dependency-list?, ags-parameter?)>
+<!ATTLIST ags-recall
+ type CDATA #REQUIRED
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ flags PCDATA #REQUIRED
+ devout CDATA #REQUIRED
+ effect CDATA #REQUIRED
+ name CDATA #REQUIRED
+ control-count NMTOKEN #REQUIRED
+ control-types CDATA #REQUIRED
+ control-property-name CDATA #REQUIRED
+ control-property-value CDATA #REQUIRED
+ next-grouped IDREF #REQUIRED
+ >
+
+<!ELEMENT ags-recall-container-list (ags-recall-container*)>
+<!ATTLIST ags-recall-container-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-recall-container (ags-parameter)>
+<!ATTLIST ags-recall-container
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-recall-audio EMPTY>
+<!ATTLIST ags-recall-audio
+ id ID #REQUIRED
+ audio-ref IDREF "../"
+ >
+
+<!ELEMENT ags-recall-audio-run EMPTY>
+<!ATTLIST ags-recall-audio-run
+ id ID #REQUIRED
+ audio-ref IDREF "../"
+ >
+
+<!ELEMENT ags-recall-channel EMPTY>
+<!ATTLIST ags-recall-channel
+ id ID #REQUIRED
+ channel-ref IDREF "../"
+ >
+
+<!ELEMENT ags-recall-channel-run EMPTY>
+<!ATTLIST ags-recall-channel-run
+ id ID #REQUIRED
+ channel-ref IDREF "../"
+ >
+
+<!ELEMENT ags-recall-recycling EMPTY>
+<!ATTLIST ags-recall-recycling
+ id ID #REQUIRED
+ recycling-ref IDREF #REQUIRED
+ >
+
+<!ELEMENT ags-recall-audio-signal EMPTY>
+<!ATTLIST ags-recall-audio-signal
+ id ID #REQUIRED
+ audio-signal-ref IDREF #REQUIRED
+ >
+
+<!ELEMENT ags-port-list (ags-port*)>
+<!ATTLIST ags-port-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-port (ags-value)>
+<!ATTLIST ags-port
+ plugin-name CDATA #REQUIRED
+ specifier CDATA #REQUIRED
+ control-port CDATA #REQUIRED
+ port-data-size NMTOKEN #REQUIRED
+ port-data-length NMTOKEN #REQUIRED
+ port-data-is-pointer CDATA #REQUIRED
+ port-data-type CDATA #REQUIRED
+ >
+
+<!--GUI Widgets -->
+<!ELEMENT ags-widget
+ width NMTOKEN #REQUIRED
+ height NMTOKEN #REQUIRED
+ xalign NMTOKEN #IMPLIED
+ xpad NMTOKEN #IMPLIED
+ yalign NMTOKEN #IMPLIED
+ ypad NMTOKEN #IMPLIED
+ upper NMTOKEN #IMPLIED
+ lower NMTOKEN #IMPLIED
+ step NMTOKEN #IMPLIED
+ page NMTOKEN #IMPLIED
+ value NMTOKEN #IMPLIED
+ >
+
+<!ELEMENT ags-window (ags-menu-bar, ags-machine-counter-list, ags-machine-list, ags-editor, ags-navigation, ags-dialog-list, ags-machine-editor-list)>
+<!ATTLIST ags-window
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ name CDATA #REQUIRED
+ devout CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-menu-bar EMPTY>
+<!ATTLIST ags-menu-bar
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-machine-counter-list (ags-machine-counter*)>
+<!ATTLIST ags-machine-counter-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-machine-counter EMPTY>
+<!ATTLIST ags-machine-counter
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ machine-type CDATA #REQUIRED
+ counter CDATA #REQUIRED
+ >
+
+<!-- machine -->
+<!ELEMENT ags-machine-list (ags-machine*)>
+<!ATTLIST ags-machine-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-machine ((ags-panel|ags-mixer|ags-drum|ags-matrix|ags-synth|ags-ffplayer), ags-pad-list, ags-pad-list)>
+<!ATTLIST ags-machine
+ type CDATA #REQUIRED
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ flags PCDATA #REQUIRED
+ file-input-flags PCDATA #REQUIRED
+ name CDATA #REQUIRED
+ audio IDREF #REQUIRED
+ machine-editor IDREF #REQUIRED
+ rename-dialog IDREF #IMPLIED
+ >
+
+<!ELEMENT ags-panel EMPTY>
+<!ATTLIST ags-panel
+ id ID #REQUIRED
+ devout IDREF #REQUIRED
+ >
+
+<!ELEMENT ags-mixer EMPTY>
+<!ATTLIST ags-mixer
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-drum EMPTY>
+<!ATTLIST ags-drum
+ id ID #REQUIRED
+ length NMTOKEN #REQUIRED
+ bank-index-0 NMTOKEN #REQUIRED
+ bank-index-1 NMTOKEN #REQUIRED
+ loop CDATA #IMPLIED
+ >
+
+<!ELEMENT ags-matrix EMPTY>
+<!ATTLIST ags-matrix
+ id ID #REQUIRED
+ length NMTOKEN #REQUIRED
+ bank-index NMTOKEN #REQUIRED
+ loop CDATA #IMPLIED
+ >
+
+<!ELEMENT ags-synth EMPTY>
+<!ATTLIST ags-synth
+ id ID #REQUIRED
+ lower NMTOKEN #REQUIRED
+ loop-begin NMTOKEN #REQUIRED
+ loop-end NMOTKEN #REQUIRED
+ >
+
+<!ELEMENT ags-ffplayer EMPTY>
+<!ATTLIST ags-ffplayer
+ id ID #REQUIRED
+ filename CDATA #IMPLIED
+ preset CDATA #IMPLIED
+ instrument CDATA #IMPLIED
+ >
+
+<!ELEMENT ags-pad-list (ags-pad*)>
+<!ATTLIST ags-pad-list
+ id ID #REQUIRED
+ scope CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-pad (ags-line-list, (ags-panel-input-pad|ags-mixer-input-pad|ags-mixer-output-pad|ags-drum-input-pad|ags-drum-output-pad|ags-synth-input-pad))>
+<!ATTLIST ags-pad
+ type CDATA #REQUIRED
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ flags PCDATA #REQUIRED
+ rows NMTOKEN #REQUIRED
+ cols NMTOKEN #REQUIRED
+ group CDATA "true"
+ mute CDATA "false"
+ solo CDATA "false"
+ >
+
+<!ELEMENT ags-panel-input-pad EMPTY>
+<!ATTLIST ags-panel-input-pad
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-mixer-input-pad EMPTY>
+<!ATTLIST ags-mixer-input-pad
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-mixer-output-pad EMPTY>
+<!ATTLIST ags-mixer-output-pad
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-drum-input-pad EMPTY>
+<!ATTLIST ags-drum-input-pad
+ id ID #REQUIRED
+ edit CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-drum-output-pad EMPTY>
+<!ATTLIST ags-drum-output-pad
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-synth-input-pad EMPTY>
+<!ATTLIST ags-synth-input-pad
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-line (ags-line-member-list, (ags-panel-input-line|ags-mixer-input-line|ags-drum-input-line|ags-drum-output-line|ags-synth-input-line))>
+<!ATTLIST ags-line
+ type CDATA #REQUIRED
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ flags PCDATA #REQUIRED
+ left-attach NMTOKEN #REQUIRED
+ rigth-attach NMTOKEN #REQUIRED
+ top-attach NMTOKEN #REQUIRED
+ bottom-attach NMTOKEN #REQUIRED
+ rows NMTOKEN #REQUIRED
+ cols NMTOKEN #REQUIRED
+ grouped NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-panel-input-line EMPTY>
+<!ATTLIST ags-panel-input-line
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-mixer-input-line EMPTY>
+<!ATTLIST ags-mixer-input-line
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-mixer-output-line EMPTY>
+<!ATTLIST ags-mixer-output-line
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-drum-input-line EMPTY>
+<!ATTLIST ags-drum-input-line
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-drum-output-line EMPTY>
+<!ATTLIST ags-drum-output-line
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-synth-input-line (ags-oscillator)>
+<!ATTLIST ags-synth-input-line
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-oscillator EMPTY>
+<!ATTLIST ags-oscillator
+ id ID #REQUIRED
+ wave CDATA #REQUIRED
+ attack NMTOKEN #REQUIRED
+ frame-count NMTOKEN #REQUIRED
+ frequency NMTOKEN #REQUIRED
+ phase NMTOKEN #REQUIRED
+ volume NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-line-member-list (ags-line-member*)>
+<!ATTLIST ags-line-member-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-line-member EMPTY>
+<!ATTLIST ags-line-member
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ widget-type CDATA "AgsDial"
+ label CDATA #IMPLIED
+ port CDATA #REQUIRED
+ recall-port CDATA #IMPLIED
+ task-type CDATA #REQUIRED
+ left-attach NMTOKEN #REQUIRED
+ rigth-attach NMTOKEN #REQUIRED
+ top-attach NMTOKEN #REQUIRED
+ bottom-attach NMTOKEN #REQUIRED
+ width NMTOKEN #REQUIRED
+ height NMTOKEN #REQUIRED
+ xalign NMTOKEN #IMPLIED
+ xpad NMTOKEN #IMPLIED
+ yalign NMTOKEN #IMPLIED
+ ypad NMTOKEN #IMPLIED
+ upper NMTOKEN #IMPLIED
+ lower NMTOKEN #IMPLIED
+ step NMTOKEN #IMPLIED
+ page NMTOKEN #IMPLIED
+ value CDATA #IMPLIED
+ inverted CDATA #IMPLIED
+ >
+
+<!-- dialogs -->
+<!ELEMENT ags-dialog-list (ags-dialog*)>
+<!ATTLIST ags-dialog-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-dialog EMPTY>
+<!ATTLIST ags-dialog
+ id ID #REQUIRED
+ dialog-type CDATA #REQUIRED
+ >
+
+<!ELEMENT ags-machine-editor-list (ags-machine-editor*)>
+<!ATTLIST ags-machine-editor-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-machine-editor (ags-pad-editor-list)>
+<!ATTLIST ags-machine-editor
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ machine IDREF #REQUIRED
+ >
+
+<!ELEMENT ags-pad-editor-list (ags-pad-editor*)>
+<!ATTLIST ags-pad-editor-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-pad-editor (ags-line-editor-list)>
+<!ATTLIST ags-pad-editor
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ pad NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-line-editor-list (ags-line-editor*)>
+<!ATTLIST ags-line-editor-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-line-editor (ags-line-member-editor-list, ags-link-editor)>
+<!ATTLIST ags-line-editor
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ line NMTOKEN #REQUIRED
+ >
+
+<!ELEMENT ags-line-member-editor-list (ags-line-member-editor*)>
+<!ATTLIST ags-line-member-editor-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-line-member-editor (#IDREF, #CDATA, #CDATA, #NMTOKEN, ((#CDATA), (#CDATA, #CDATA)*)*, #IDREF, #IDREF, #CDATA, #NMTOKEN, #NMTOKEN, #NMTOKEN, #NMTOKEN)*>
+
+<!ELEMENT ags-link-editor-list (ags-link-editor*)>
+<!ATTLIST ags-link-editor-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-link-editor EMPTY>
+<!ATTLIST ags-link-editor
+ id ID #REQUIRED
+ machine CDATA #REQUIRED
+ name CDATA #REQUIRED
+ link NMTOKEN #REQUIRED
+ >
+
+<!-- editor -->
+<!ELEMENT ags-editor (ags-toolbar, ags-notebook)>
+<!ATTLIST ags-editor
+ id ID #REQUIRED
+ version CDATA #REQUIRED
+ build-id CDATA #REQUIRED
+ flags PCDATA #REQUIRED
+ >
+
+<!ELEMENT ags-toolbar EMPTY>
+<!ATTLIST ags-toolbar
+ id ID #REQUIRED
+ edit-mode CDATA "edit"
+ zoom CDATA "1:4"
+ mode CDATA "single-channel"
+ >
+
+<!ELEMENT ags-machine-selector (ags-parameter)>
+<!ATTLIST ags-machine-selector
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-notebook (ags-notebook-tab-list)>
+<!ATTLIST ags-notebook
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-notebook-tab-list (ags-notebook-tab*)>
+<!ATTLIST ags-notebook-tab-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-notebook-tab EMPTY>
+<!ATTLIST ags-notebook-tab
+ id ID #REQUIRED
+ notation IDREF #IMPLIED
+ >
+
+<!-- navigation -->
+<!ELEMENT ags-navigation EMPTY>
+<!ATTLIST ags-navigation
+ id ID #REQUIRED
+ expanded CDATA "FALSE"
+ bpm NMTOKEN 120.0
+ loop CDATA "FALSE"
+ position NMTOKEN "0.0"
+ loop-left NMTOKEN "0.0"
+ loop-right NMTOKEN "4.0"
+ raster CDATA "TRUE"
+ >
+
+<!-- embedded audio list -->
+<!ELEMENT ags-embedded-audio-list (ags-embedded-audio*)>
+<!ATTLIST ags-embedded-audio-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-embedded-audio (#PCDATA)>
+<!ATTLIST ags-embedded-audio
+ id ID #REQUIRED
+ encoding CDATA "base64"
+ demuxer CDATA "raw"
+ length NMTOKEN #IMPLIED
+ >
+
+<!-- file link list -->
+<!ELEMENT ags-file-link-list (ags-file-link*)>
+<!ATTLIST ags-file-link-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-file-link (ags-embedded-audio?, ags-timestamp)>
+<!ATTLIST ags-file-link
+ id ID #REQUIRED
+ type CDATA "url"
+ filename CDATA #REQUIRED
+ delay CDATA #REQUIRED <!-- start renamed -->
+ >
+
+<!ELEMENT ags-history (ags-history-entry-list, ags-timestamp-list))>
+<!ATTLIST ags-history
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-history-entry-list (ags-history-entry*)>
+<!ATTLIST ags-history-entry-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-history-entry (#CDATA)>
+<!ATTLIST ags-history-entry
+ id ID #REQUIRED
+ timestamp IDREF #REQUIRED
+ >
+
+<!ELEMENT ags-timestamp-list (ags-timestamp*)>
+<!ATTLIST ags-timestamp-list
+ id ID #REQUIRED
+ >
+
+<!ELEMENT ags-timestamp (CDATA)>
+<!ATTLIST ags-timestamp
+ id ID #REQUIRED
+ flags PCDATA #REQUIRED
+ delay NMTOKEN #REQUIRED
+ attack NMTOKEN #REQUIRED
+ >
diff --git a/src/ags/file/ags_file.h b/src/ags/file/ags_file.h
new file mode 100644
index 0000000..ff72d52
--- /dev/null
+++ b/src/ags/file/ags_file.h
@@ -0,0 +1,156 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_H__
+#define __AGS_FILE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_FILE (ags_file_get_type())
+#define AGS_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE, AgsFile))
+#define AGS_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE, AgsFileClass))
+#define AGS_IS_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE))
+#define AGS_IS_FILE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE))
+#define AGS_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE, AgsFileClass))
+
+#define AGS_FILE_DEFAULT_ENCODING "UTF-8\0"
+#define AGS_FILE_DEFAULT_DTD "ags_file.dtd\0"
+
+#define AGS_FILE_CHECKSUM_LENGTH (g_checksum_type_get_length(G_CHECKSUM_MD5))
+
+#define AGS_FILE_DEFAULT_AUDIO_FORMAT "raw\0"
+#define AGS_FILE_DEFAULT_AUDIO_ENCODING "base64\0"
+
+typedef struct _AgsFile AgsFile;
+typedef struct _AgsFileClass AgsFileClass;
+
+typedef enum{
+ AGS_FILE_READ = 1,
+ AGS_FILE_READ_AUDIO_SIGNAL = 1 << 1,
+ AGS_FILE_READ_EMBEDDED_AUDIO = 1 << 2,
+ AGS_FILE_WRITE = 1 << 3,
+ AGS_FILE_WRITE_AUDIO_SIGNAL = 1 << 4,
+ AGS_FILE_WRITE_EMBEDDED_AUDIO = 1 << 5,
+}AgsFileFlags;
+
+struct _AgsFile
+{
+ GObject object;
+
+ guint flags;
+
+ FILE *out;
+ xmlChar *buffer;
+
+ gchar *filename;
+ gchar *encoding;
+ gchar *dtd;
+
+ gchar *audio_format;
+ gchar *audio_encoding;
+
+ xmlDoc *doc;
+ xmlNode *root_node;
+
+ GList *id_refs;
+ GList *lookup;
+ GList *launch;
+
+ GObject *ags_main;
+
+ GObject *clipboard;
+ GList *property;
+ GList *script;
+ GObject *cluster;
+ GObject *client;
+ GObject *server;
+
+ GObject *history;
+
+ GList *embedded_audio;
+ GList *file_link;
+};
+
+struct _AgsFileClass
+{
+ GObjectClass object;
+
+ void (*open)(AgsFile *file);
+ void (*open_from_data)(AgsFile *file,
+ gchar *data, guint length);
+ void (*rw_open)(AgsFile *file,
+ gboolean create);
+
+ void (*write)(AgsFile *file);
+ void (*write_concurrent)(AgsFile *file);
+ void (*write_resolve)(AgsFile *file);
+
+ void (*read)(AgsFile *file);
+ void (*read_resolve)(AgsFile *file);
+ void (*read_start)(AgsFile *file);
+};
+
+GType ags_file_get_type(void);
+
+gchar* ags_file_str2md5(gchar *content, guint strlen);
+
+void ags_file_add_id_ref(AgsFile *file, GObject *id_ref);
+
+GObject* ags_file_find_id_ref_by_node(AgsFile *file, xmlNode *node);
+GObject* ags_file_find_id_ref_by_xpath(AgsFile *file, gchar *xpath);
+GObject* ags_file_find_id_ref_by_reference(AgsFile *file, gpointer ref);
+
+void ags_file_add_lookup(AgsFile *file, GObject *file_lookup);
+
+void ags_file_add_launch(AgsFile *file, GObject *file_launch);
+
+/* */
+void ags_file_open(AgsFile *file);
+void ags_file_open_from_data(AgsFile *file,
+ gchar *data, guint length);
+void ags_file_rw_open(AgsFile *file,
+ gboolean create);
+
+void ags_file_open_filename(AgsFile *file,
+ gchar *filename);
+void ags_file_close(AgsFile *file);
+
+/* */
+void ags_file_write(AgsFile *file);
+void ags_file_write_concurrent(AgsFile *file);
+void ags_file_write_resolve(AgsFile *file);
+
+void ags_file_read(AgsFile *file);
+void ags_file_read_resolve(AgsFile *file);
+void ags_file_read_start(AgsFile *file);
+
+/* */
+void ags_file_read_server(AgsFile *file, xmlNode *node, GObject **server);
+void ags_file_write_server(AgsFile *file, xmlNode *parent, GObject *server);
+
+/* */
+void ags_file_read_main(AgsFile *file, xmlNode *node, GObject **main);
+void ags_file_write_main(AgsFile *file, xmlNode *parent, GObject *main);
+
+/* */
+AgsFile* ags_file_new();
+
+#endif /*__AGS_FILE_H__*/
diff --git a/src/ags/file/ags_file.xsd b/src/ags/file/ags_file.xsd
new file mode 100644
index 0000000..d160c03
--- /dev/null
+++ b/src/ags/file/ags_file.xsd
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE schema [
+<!ENTITY ags-default-version "0.4.0">
+<!ENTITY ags-effects-default-version "0.4.0">
+<!ENTITY ags-clipboard-default-version "0.4.0">
+<!ENTITY ags-led "AgsLed">
+<!ENTITY ags-vindicator "AgsVIndicator">
+<!ENTITY ags-hindicator "AgsHIndicator">
+<!ENTITY gtk-label "GtkLabel">
+<!ENTITY ags-waveform "AgsWaveform">
+<!ENTITY gtk-button "GtkButton">
+<!ENTITY gtk-toggle-button "GtkToggleButton">
+<!ENTITY gtk-check-button "GtkCheckButton">
+<!ENTITY gtk-spin-button "GtkSpinButton">
+<!ENTITY gtk-vscale "GtkVScale">
+<!ENTITY gtk-hscale "GtkHScale">
+<!ENTITY ags-dial "AgsDial">
+<!ENTITY ags-cartesian "AgsCartesian">
+]>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <!-- TODO:JK: define me -->
+
+</xsd:schema>
diff --git a/src/ags/file/ags_file_gui.c b/src/ags/file/ags_file_gui.c
new file mode 100644
index 0000000..a2994ca
--- /dev/null
+++ b/src/ags/file/ags_file_gui.c
@@ -0,0 +1,3101 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_gui.h>
+
+#include <libxml/parser.h>
+#include <libxml/xlink.h>
+#include <libxml/xpath.h>
+
+#include <ags/main.h>
+
+#include <ags/plugin/ags_plugin_factory.h>
+
+#include <ags/lib/ags_container.h>
+
+#include <ags/object/ags_plugin.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+
+#include <ags/audio/ags_input.h>
+
+#include <ags/X/machine/ags_drum_input_line_callbacks.h>
+
+#define AGS_FILE_READ_EDITOR_PARAMETER_NAME "ags-file-read-editor-parameter-name\0"
+
+void ags_file_read_window_resolve_devout(AgsFileLookup *file_lookup,
+ AgsWindow *window);
+void ags_file_write_window_resolve_devout(AgsFileLookup *file_lookup,
+ AgsWindow *window);
+
+void ags_file_read_machine_resolve_machine_editor(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+void ags_file_write_machine_resolve_machine_editor(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+void ags_file_write_machine_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+void ags_file_read_machine_resolve_rename_dialog(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+void ags_file_write_machine_resolve_rename_dialog(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+
+void ags_file_read_pad_resolve_channel(AgsFileLookup *file_lookup,
+ AgsPad *pad);
+
+void ags_file_read_line_resolve_channel(AgsFileLookup *file_lookup,
+ AgsLine *line);
+
+void ags_file_read_line_member_resolve_port(AgsFileLookup *file_lookup,
+ AgsLineMember *line_member);
+void ags_file_write_line_member_resolve_port(AgsFileLookup *file_lookup,
+ AgsLineMember *line_member);
+
+void ags_file_read_editor_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsEditor *editor);
+void ags_file_read_editor_launch(AgsFileLaunch *file_launch,
+ AgsEditor *editor);
+
+void ags_file_read_machine_selector_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsMachineSelector *machine_selector);
+
+void
+ags_file_read_widget(AgsFile *file, xmlNode *node, GtkWidget *widget)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_widget(AgsFile *file, xmlNode *parent, GtkWidget *widget)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_window(AgsFile *file, xmlNode *node, AgsWindow **window)
+{
+ AgsWindow *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+ xmlChar *prop, *content;
+
+ if(*window == NULL){
+ gobject = g_object_new(AGS_TYPE_WINDOW,
+ NULL);
+ *window = gobject;
+ }else{
+ gobject = *window;
+ }
+
+ g_object_set(G_OBJECT(gobject),
+ "ags-main\0", file->ags_main,
+ NULL);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->name = (gchar *) g_strdup(xmlGetProp(node, "name\0"));
+
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_window_resolve_devout), gobject);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-menu-bar\0",
+ 11)){
+ ags_file_read_menu_bar(file,
+ child,
+ &(gobject->menu_bar));
+ }else if(!xmlStrncmp(child->name,
+ "ags-machine-counter-list\0",
+ 24)){
+ ags_file_read_machine_counter_list(file,
+ child,
+ &(gobject->machine_counter));
+ }else if(!xmlStrncmp(child->name,
+ "ags-machine-list\0",
+ 16)){
+ GList *list;
+
+ list = NULL;
+
+ ags_file_read_machine_list(file,
+ child,
+ &list);
+
+ while(list != NULL){
+ gtk_box_pack_start((GtkBox *) gobject->machines,
+ GTK_WIDGET(list->data),
+ FALSE, FALSE, 0);
+
+ list = list->next;
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-editor\0",
+ 10)){
+ ags_file_read_editor(file,
+ child,
+ &(gobject->editor));
+ }else if(!xmlStrncmp(child->name,
+ "ags-navigation\0",
+ 14)){
+ ags_file_read_navigation(file,
+ child,
+ &(gobject->navigation));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_window_resolve_devout(AgsFileLookup *file_lookup,
+ AgsWindow *window)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "devout\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ g_object_set(G_OBJECT(window),
+ "devout\0", (AgsWindow *) id_ref->ref,
+ NULL);
+ }
+}
+
+xmlNode*
+ags_file_write_window(AgsFile *file, xmlNode *parent, AgsWindow *window)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-window\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", window,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", window->flags));
+
+ xmlNewProp(node,
+ "name\0",
+ g_strdup(window->name));
+
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", window,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_window_resolve_devout), window);
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_file_write_menu_bar(file,
+ node,
+ window->menu_bar);
+
+ ags_file_write_machine_list(file,
+ node,
+ gtk_container_get_children(GTK_CONTAINER(window->machines)));
+
+ ags_file_write_editor(file,
+ node,
+ window->editor);
+
+ ags_file_write_navigation(file,
+ node,
+ window->navigation);
+}
+
+void
+ags_file_write_window_resolve_devout(AgsFileLookup *file_lookup,
+ AgsWindow *window)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, window->devout);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "devout\0",
+ g_strdup_printf("xpath=//ags-devout[@id='%s']\0", id));
+}
+
+void
+ags_file_read_menu_bar(AgsFile *file, xmlNode *node, AgsMenuBar **menu_bar)
+{
+ AgsMenuBar *gobject;
+ xmlNode *child;
+ xmlChar *prop, *content;
+
+ if(*menu_bar == NULL){
+ gobject = g_object_new(AGS_TYPE_MENU_BAR,
+ NULL);
+ *menu_bar = gobject;
+ }else{
+ gobject = *menu_bar;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_menu_bar(AgsFile *file, xmlNode *parent, AgsMenuBar *menu_bar)
+{
+ xmlNode *node, *child;
+ gchar *id;
+ guint i;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-menu-bar\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", menu_bar,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_read_machine_counter(AgsFile *file, xmlNode *node, AgsMachineCounter **machine_counter)
+{
+ AgsMachineCounter *ptr;
+ xmlNode *child;
+ xmlChar *prop, *content;
+
+ if(*machine_counter == NULL){
+ ptr = ags_machine_counter_alloc(NULL, NULL,
+ G_TYPE_NONE, 0);
+ *machine_counter = ptr;
+ }else{
+ ptr = *machine_counter;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", ptr,
+ NULL));
+
+ ptr->version = xmlGetProp(node,
+ AGS_FILE_VERSION_PROP);
+
+ ptr->build_id = xmlGetProp(node,
+ AGS_FILE_BUILD_ID_PROP);
+
+ ptr->machine_type = g_type_from_name(xmlGetProp(node,
+ AGS_FILE_TYPE_PROP));
+
+ ptr->counter = g_ascii_strtoull(xmlGetProp(node,
+ "counter\0"),
+ NULL,
+ 10);
+}
+
+xmlNode*
+ags_file_write_machine_counter(AgsFile *file, xmlNode *parent, AgsMachineCounter *machine_counter)
+{
+ xmlNode *node, *child;
+ gchar *id;
+ guint i;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-machine-counter\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", machine_counter,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ machine_counter->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ machine_counter->build_id);
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ g_type_name(machine_counter->machine_type));
+
+ xmlNewProp(node,
+ "counter\0",
+ g_strdup_printf("%d\0", machine_counter->counter));
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_read_machine_counter_list(AgsFile *file, xmlNode *node, GList **machine_counter)
+{
+ AgsMachineCounter *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ current = NULL;
+ ags_file_read_machine_counter(file, child, ¤t);
+
+ list = g_list_prepend(list, current);
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *machine_counter = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_machine_counter_list(AgsFile *file, xmlNode *parent, GList *machine_counter)
+{
+ AgsMachineCounter *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-machine-counter-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = machine_counter;
+
+ while(list != NULL){
+ ags_file_write_machine_counter(file, node, AGS_MACHINE_COUNTER(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_machine(AgsFile *file, xmlNode *node, AgsMachine **machine)
+{
+ AgsWindow *window;
+ AgsMachine *gobject;
+ AgsFileLookup *file_lookup;
+ GType machine_type;
+ xmlNode *child;
+ static gboolean machine_type_is_registered = FALSE;
+
+ if(*machine == NULL){
+ if(!machine_type_is_registered){
+ ags_main_register_machine_type();
+
+ machine_type_is_registered = TRUE;
+ }
+
+ machine_type = g_type_from_name(xmlGetProp(node,
+ AGS_FILE_TYPE_PROP));
+
+ gobject = (AgsMachine *) g_object_new(machine_type,
+ NULL);
+ *machine = gobject;
+ }else{
+ gobject = *machine;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->version = g_strdup(xmlGetProp(node,
+ AGS_FILE_VERSION_PROP));
+
+ gobject->build_id = g_strdup(xmlGetProp(node,
+ AGS_FILE_BUILD_ID_PROP));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+ gobject->flags |= AGS_MACHINE_PREMAPPED_RECALL;
+ gobject->flags &= (~AGS_MACHINE_CONNECTED);
+
+ gobject->file_input_flags = (guint) g_ascii_strtoull(xmlGetProp(node, "file-input-flags\0"),
+ NULL,
+ 16);
+
+ gobject->name = g_strdup(xmlGetProp(node,
+ AGS_FILE_NAME_PROP));
+
+ /* audio */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_machine_resolve_audio), gobject);
+
+ /* machine-editor */
+ //TODO:JK: uncomment me
+ // file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ // "file\0", file,
+ // "node\0", node,
+ // "reference\0", gobject,
+ // NULL);
+ // ags_file_add_lookup(file, (GObject *) file_lookup);
+ // g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ // G_CALLBACK(ags_file_read_machine_resolve_machine_editor), gobject);
+
+ /* rename-dialog */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_machine_resolve_rename_dialog), gobject);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(gobject)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(gobject));
+ }else if(!xmlStrncmp(child->name,
+ "ags-pad-list\0",
+ 12)){
+ GList *pad, *list;
+
+ pad = NULL;
+
+ ags_file_read_pad_list(file,
+ child,
+ &pad);
+
+ if(!xmlStrncmp(xmlGetProp(child,
+ AGS_FILE_SCOPE_PROP),
+ "output\0",
+ 6)){
+ if(!GTK_IS_BOX(gobject->output)){
+ ags_container_add_all(gobject->output,
+ pad);
+ }else{
+ list = pad;
+
+ while(list != NULL){
+ gtk_box_pack_start(GTK_BOX(gobject->output),
+ GTK_WIDGET(list->data),
+ FALSE, FALSE,
+ 0);
+
+ list = list->next;
+ }
+ }
+ }else{
+ if(!GTK_IS_BOX(gobject->input)){
+ ags_container_add_all(gobject->input,
+ pad);
+ }else{
+ list = pad;
+
+ while(list != NULL){
+ gtk_box_pack_start(GTK_BOX(gobject->input),
+ GTK_WIDGET(list->data),
+ FALSE, FALSE,
+ 0);
+
+ list = list->next;
+ }
+ }
+ }
+
+ g_list_free(pad);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_machine_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "audio\0");
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ g_object_set(G_OBJECT(machine),
+ "audio\0", (AgsAudio *) id_ref->ref,
+ NULL);
+
+ AGS_AUDIO(id_ref->ref)->machine = machine;
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_audio_channels\0",
+ G_CALLBACK(ags_machine_set_audio_channels), machine);
+
+ g_signal_connect_after(G_OBJECT(machine->audio), "set_pads\0",
+ G_CALLBACK(ags_machine_set_pads), machine);
+}
+
+void
+ags_file_read_machine_resolve_machine_editor(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "machine-editor\0");
+
+ if(xpath == NULL){
+ return;
+ }
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ //TODO:JK: use g_object_set
+ machine->properties = (GtkDialog *) id_ref->ref;
+}
+
+void
+ags_file_read_machine_resolve_rename_dialog(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "rename-dialog\0");
+
+ if(xpath == NULL){
+ return;
+ }
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ //TODO:JK: use g_object_set
+ machine->rename = (GtkDialog *) id_ref->ref;
+}
+
+xmlNode*
+ags_file_write_machine(AgsFile *file, xmlNode *parent, AgsMachine *machine)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-machine\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", machine,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ G_OBJECT_TYPE_NAME(machine));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ machine->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ machine->build_id);
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", ((~(AGS_MACHINE_BLOCK_PLAY | AGS_MACHINE_BLOCK_STOP)) & (machine->flags))));
+
+ xmlNewProp(node,
+ "file-input-flags\0",
+ g_strdup_printf("%x\0", machine->file_input_flags));
+
+ xmlNewProp(node,
+ AGS_FILE_NAME_PROP,
+ machine->name);
+
+ xmlAddChild(parent,
+ node);
+
+ /* audio */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", machine,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_machine_resolve_audio), machine);
+
+ /* machine-editor */
+ //TODO:JK: uncomment me
+ // file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ // "file\0", file,
+ // "node\0", node,
+ // "reference\0", machine,
+ // NULL);
+ // ags_file_add_lookup(file, (GObject *) file_lookup);
+ // g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ // G_CALLBACK(ags_file_write_machine_resolve_machine_editor), machine);
+
+ /* rename-dialog */
+ //TODO:JK: uncomment me
+ // file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ // "file\0", file,
+ // "node\0", node,
+ // "reference\0", machine,
+ // NULL);
+ // ags_file_add_lookup(file, (GObject *) file_lookup);
+ // g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ // G_CALLBACK(ags_file_write_machine_resolve_rename_dialog), machine);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(machine));
+
+ if(machine->output != NULL){
+ child = ags_file_write_pad_list(file,
+ node,
+ gtk_container_get_children(machine->output));
+ xmlNewProp(child,
+ AGS_FILE_SCOPE_PROP,
+ "output\0");
+ }
+
+ if(machine->input != NULL){
+ child = ags_file_write_pad_list(file,
+ node,
+ gtk_container_get_children(machine->input));
+ xmlNewProp(child,
+ AGS_FILE_SCOPE_PROP,
+ "input\0");
+ }
+}
+
+void
+ags_file_write_machine_resolve_machine_editor(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, machine->properties);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "machine-editor\0",
+ g_strdup_printf("xpath=//ags-machine-editor[@id='%s']\0", id));
+}
+
+void
+ags_file_write_machine_resolve_rename_dialog(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, machine->rename);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "rename-dialog\0",
+ g_strdup_printf("xpath=//ags-dialog[@id='%s']\0", id));
+}
+
+void
+ags_file_write_machine_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, AGS_AUDIO(machine->audio));
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "audio\0",
+ g_strdup_printf("xpath=//ags-audio[@id='%s']\0", id));
+}
+
+void
+ags_file_read_machine_list(AgsFile *file, xmlNode *node, GList **machine)
+{
+ AgsMachine *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-machine\0",
+ 12)){
+ current = NULL;
+ ags_file_read_machine(file, child, ¤t);
+
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *machine = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_machine_list(AgsFile *file, xmlNode *parent, GList *machine)
+{
+ AgsMachine *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-machine-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = machine;
+
+ while(list != NULL){
+ ags_file_write_machine(file, node, AGS_MACHINE(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_pad(AgsFile *file, xmlNode *node, AgsPad **pad)
+{
+ AgsPad *gobject;
+ AgsFileLookup *file_lookup;
+ GType pad_type;
+ xmlNode *child;
+
+ if(*pad == NULL){
+ pad_type = g_type_from_name(xmlGetProp(node,
+ AGS_FILE_TYPE_PROP));
+
+ gobject = (AgsPad *) g_object_new(pad_type,
+ NULL);
+ *pad = gobject;
+ }else{
+ gobject = *pad;
+ }
+
+ if(gobject == NULL)
+ return;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->version = g_strdup(xmlGetProp(node,
+ AGS_FILE_VERSION_PROP));
+
+ gobject->build_id = g_strdup(xmlGetProp(node,
+ AGS_FILE_BUILD_ID_PROP));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+ gobject->flags &= (~AGS_PAD_CONNECTED);
+
+ /* channel */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_pad_resolve_channel), gobject);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(gobject)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(gobject));
+ }else if(!xmlStrncmp(child->name,
+ "ags-line-list\0",
+ 13)){
+ xmlNode *line_node;
+ GList *start, *list;
+
+ list = NULL;
+
+ ags_file_read_line_list(file,
+ child,
+ &list);
+ start = list;
+
+ /* add line to pad */
+ line_node = child->children;
+
+ while(line_node != NULL){
+ if(line_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(line_node->name,
+ "ags-line\0",
+ 8)){
+ guint x, y;
+ guint width, height;
+
+ g_object_set(G_OBJECT(list->data),
+ "pad\0", gobject,
+ NULL);
+
+ x = g_ascii_strtoull(xmlGetProp(line_node,
+ "left-attach\0"),
+ NULL,
+ 10);
+
+ y = g_ascii_strtoull(xmlGetProp(line_node,
+ "top-attach\0"),
+ NULL,
+ 10);
+
+ width = g_ascii_strtoull(xmlGetProp(line_node,
+ "right-attach\0"),
+ NULL,
+ 10) - x;
+
+ height = g_ascii_strtoull(xmlGetProp(line_node,
+ "bottom-attach\0"),
+ NULL,
+ 10) - y;
+
+ ags_expander_set_add(gobject->expander_set,
+ GTK_WIDGET(list->data),
+ x, y,
+ width, height);
+
+ list = list->next;
+ }
+ }
+
+ line_node = line_node->next;
+ }
+
+ g_list_free(start);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_pad_resolve_channel(AgsFileLookup *file_lookup,
+ AgsPad *pad)
+{
+ AgsFile *file;
+ AgsMachine *machine;
+ AgsFileIdRef *id_ref;
+ xmlNode *node, *audio_node, *channel_node;
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+ GList *list;
+ xmlChar *xpath;
+ guint position;
+ guint nth, audio_channel;
+ guint i, j;
+ gboolean is_output;
+
+ file = file_lookup->file;
+
+ machine = (AgsMachine *) gtk_widget_get_ancestor(GTK_WIDGET(pad),
+ AGS_TYPE_MACHINE);
+
+ if(machine->output != NULL){
+ list = gtk_container_get_children(machine->output);
+
+ if(list != NULL &&
+ g_list_find(list,
+ pad) != NULL){
+ is_output = TRUE;
+ }else{
+ is_output = FALSE;
+ }
+ }else{
+ is_output = FALSE;
+ }
+
+ node = file_lookup->node;
+
+ /* retrieve position */
+ xpath_context = xmlXPathNewContext(file->doc);
+ // xmlXPathSetContextNode(node->parent,
+ // xpath_context);
+ xpath_context->node = node->parent;
+
+ xpath_object = xmlXPathEval("./ags-pad\0",
+ xpath_context);
+
+ for(i = 0, j = 0; xpath_object->nodesetval->nodeTab[i] != node && i < xpath_object->nodesetval->nodeMax; i++){
+ if(xpath_object->nodesetval->nodeTab[i]->type == XML_ELEMENT_NODE){
+ j++;
+ }
+ }
+ nth = j;
+
+ /* */
+ position = nth * machine->audio->audio_channels;
+
+ /* */
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, machine->audio);
+ audio_node = NULL;
+
+ if(id_ref != NULL){
+ audio_node = id_ref->node;
+ }
+
+ /* */
+ xpath = g_strdup_printf("(./ags-channel-list/ags-channel)/%s\0",
+ (is_output ? "ags-output\0": "ags-input\0"));
+
+ xpath_context = xmlXPathNewContext(file->doc);
+ xpath_context->node = audio_node;
+ xpath_object = xmlXPathEval(xpath,
+ xpath_context);
+
+ /* */
+ if(xpath_object != NULL && xpath_object->nodesetval != NULL){
+ AgsFileIdRef *file_id_ref;
+ xmlNode *channel_node;
+
+ for(i = 0, j = 0; j < position && i < xpath_object->nodesetval->nodeMax; i++){
+ if(xpath_object->nodesetval->nodeTab[i] != NULL && xpath_object->nodesetval->nodeTab[i]->type == XML_ELEMENT_NODE){
+ j++;
+ }
+ }
+
+ channel_node = xpath_object->nodesetval->nodeTab[i];
+
+ file_id_ref = ags_file_find_id_ref_by_node(file,
+ channel_node->parent);
+
+ g_object_set(G_OBJECT(pad),
+ "channel\0", AGS_CHANNEL(file_id_ref->ref),
+ NULL);
+ }else{
+ g_message("no xpath match: %s\0",
+ xpath);
+ }
+}
+
+xmlNode*
+ags_file_write_pad(AgsFile *file, xmlNode *parent, AgsPad *pad)
+{
+ AgsFileLookup *file_lookup;
+ AgsExpanderSetChild *expander_set_child;
+ xmlNode *node, *child;
+ xmlNode *line_node;
+ GList *line;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-pad\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", pad,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ G_OBJECT_TYPE_NAME(pad));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ pad->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ pad->build_id);
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", ((~AGS_PAD_CONNECTED) & (pad->flags))));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(pad));
+
+ line = gtk_container_get_children(GTK_CONTAINER(pad->expander_set));
+
+ child = ags_file_write_line_list(file,
+ node,
+ line);
+
+ line_node = child->children;
+
+ while(line != NULL){
+ expander_set_child = ags_expander_set_child_find(pad->expander_set,
+ line->data);
+
+ xmlNewProp(line_node,
+ "left-attach\0",
+ g_strdup_printf("%d\0", expander_set_child->x));
+
+ xmlNewProp(line_node,
+ "top-attach\0",
+ g_strdup_printf("%d\0", expander_set_child->y));
+
+ xmlNewProp(line_node,
+ "right-attach\0",
+ g_strdup_printf("%d\0", expander_set_child->x + expander_set_child->width));
+
+ xmlNewProp(line_node,
+ "bottom-attach\0",
+ g_strdup_printf("%d\0", expander_set_child->y + expander_set_child->height));
+
+ line = line->next;
+ line_node = line_node->next;
+ }
+}
+
+void
+ags_file_read_pad_list(AgsFile *file, xmlNode *node, GList **pad)
+{
+ AgsPad *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-pad\0",
+ 8)){
+ current = NULL;
+ ags_file_read_pad(file, child, ¤t);
+
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *pad = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_pad_list(AgsFile *file, xmlNode *parent, GList *pad)
+{
+ AgsPad *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-pad-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = pad;
+
+ while(list != NULL){
+ ags_file_write_pad(file, node, AGS_PAD(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_line(AgsFile *file, xmlNode *node, AgsLine **line)
+{
+ AgsLine *gobject;
+ AgsFileLookup *file_lookup;
+ GType line_type;
+ xmlNode *child;
+
+ if(*line == NULL){
+ line_type = g_type_from_name(xmlGetProp(node,
+ AGS_FILE_TYPE_PROP));
+
+ gobject = (AgsLine *) g_object_new(line_type,
+ NULL);
+ *line = gobject;
+ }else{
+ gobject = *line;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->version = g_strdup(xmlGetProp(node,
+ AGS_FILE_VERSION_PROP));
+
+ gobject->build_id = g_strdup(xmlGetProp(node,
+ AGS_FILE_BUILD_ID_PROP));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+ gobject->flags |= AGS_LINE_PREMAPPED_RECALL;
+ gobject->flags &= (~AGS_LINE_CONNECTED);
+
+ /* channel */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_line_resolve_channel), gobject);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(gobject)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(gobject));
+ }else if(!xmlStrncmp(child->name,
+ "ags-line-member-list\0",
+ 20)){
+ xmlNode *line_member_node;
+ GList *start, *list;
+
+ list = NULL;
+
+ ags_file_read_line_member_list(file,
+ child,
+ &list);
+ start = list;
+
+ /* remove default line members */
+ gtk_widget_destroy(GTK_WIDGET(gobject->expander));
+
+ gobject->expander = ags_expander_new(1, 1);
+ gtk_table_set_row_spacings(gobject->expander->table,
+ 2);
+ gtk_table_set_col_spacings(gobject->expander->table,
+ 2);
+ gtk_box_pack_start(GTK_BOX(gobject),
+ GTK_WIDGET(gobject->expander),
+ TRUE, TRUE,
+ 0);
+
+ /* add line member to line */
+ line_member_node = child->children;
+
+ while(line_member_node != NULL){
+ if(line_member_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-line-member\0",
+ 15)){
+ guint x, y;
+ guint width, height;
+ guint control_width, control_height;
+
+ /* pack */
+ x = g_ascii_strtoull(xmlGetProp(line_member_node,
+ "left-attach\0"),
+ NULL,
+ 10);
+
+ y = g_ascii_strtoull(xmlGetProp(line_member_node,
+ "top-attach\0"),
+ NULL,
+ 10);
+
+ width = g_ascii_strtoull(xmlGetProp(line_member_node,
+ "right-attach\0"),
+ NULL,
+ 10) - x;
+
+ height = g_ascii_strtoull(xmlGetProp(line_member_node,
+ "bottom-attach\0"),
+ NULL,
+ 10) - y;
+
+ ags_expander_add(gobject->expander,
+ GTK_WIDGET(list->data),
+ x, y,
+ width, height);
+
+ /* set size request */
+ control_width = g_ascii_strtoull(xmlGetProp(line_member_node,
+ "width\0"),
+ NULL,
+ 10);
+
+ control_height = g_ascii_strtoull(xmlGetProp(line_member_node,
+ "height\0"),
+ NULL,
+ 10);
+
+ gtk_widget_set_size_request(GTK_WIDGET(list->data),
+ control_width, control_height);
+
+ /* iterate */
+ list = list->next;
+ }
+ }
+
+ line_member_node = line_member_node->next;
+ }
+
+ g_list_free(start);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_line_resolve_channel(AgsFileLookup *file_lookup,
+ AgsLine *line)
+{
+ AgsFile *file;
+ AgsMachine *machine;
+ AgsFileIdRef *id_ref;
+ xmlNode *pad_node, *node, *audio_node, *channel_node;
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+ GList *list;
+ xmlChar *xpath;
+ guint position;
+ guint pad, audio_channel;
+ guint i, j;
+ gboolean is_output;
+
+ file = file_lookup->file;
+
+ machine = (AgsMachine *) gtk_widget_get_ancestor(GTK_WIDGET(line),
+ AGS_TYPE_MACHINE);
+
+ if(machine->output != NULL){
+ AgsPad *pad;
+
+ pad = gtk_widget_get_ancestor(line,
+ AGS_TYPE_PAD);
+ list = gtk_container_get_children(machine->output);
+
+ if(list != NULL &&
+ g_list_find(list,
+ pad) != NULL){
+ is_output = TRUE;
+ }else{
+ is_output = FALSE;
+ }
+ }else{
+ is_output = FALSE;
+ }
+
+ node = file_lookup->node;
+ pad_node = node->parent->parent;
+
+ /* retrieve position - pad */
+ xpath_context = xmlXPathNewContext(file->doc);
+ // xmlXPathSetContextNode(node->parent->parent->parent,
+ // xpath_context);
+ xpath_context->node = pad_node->parent;
+
+ xpath_object = xmlXPathEval("./ags-pad\0",
+ xpath_context);
+
+ for(i = 0, j = 0; xpath_object->nodesetval->nodeTab[i] != pad_node && i < xpath_object->nodesetval->nodeMax; i++){
+ if(xpath_object->nodesetval->nodeTab[i]->type == XML_ELEMENT_NODE){
+ j++;
+ }
+ }
+ pad = j;
+
+ /* retrieve position - line */
+ xpath_context = xmlXPathNewContext(file->doc);
+ // xmlXPathSetContextNode(node->parent,
+ // xpath_context);
+ xpath_context->node = node->parent;
+
+ xpath_object = xmlXPathEval("./ags-line\0",
+ xpath_context);
+
+ for(i = 0, j = 0; xpath_object->nodesetval->nodeTab[i] != node && i < xpath_object->nodesetval->nodeMax; i++){
+ if(xpath_object->nodesetval->nodeTab[i]->type == XML_ELEMENT_NODE){
+ j++;
+ }
+ }
+
+ audio_channel = j;
+
+ /* */
+ position = pad * machine->audio->audio_channels + (machine->audio->audio_channels - audio_channel - 1);
+
+ /* */
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, machine->audio);
+ audio_node = NULL;
+
+ if(id_ref != NULL){
+ audio_node = id_ref->node;
+ }
+
+ /* */
+ xpath = g_strdup_printf("(./ags-channel-list/ags-channel)/%s\0",
+ ((is_output) ? "ags-output\0": "ags-input\0"));
+
+ xpath_context = xmlXPathNewContext(file->doc);
+ xpath_context->node = audio_node;
+ xpath_object = xmlXPathEval(xpath,
+ xpath_context);
+
+ /* */
+ if(xpath_object != NULL && xpath_object->nodesetval != NULL){
+ AgsFileIdRef *file_id_ref;
+ xmlNode *channel_node;
+
+ for(i = 0, j = 0; j < position && i < xpath_object->nodesetval->nodeMax; i++){
+ if(xpath_object->nodesetval->nodeTab[i] != NULL && xpath_object->nodesetval->nodeTab[i]->type == XML_ELEMENT_NODE){
+ j++;
+ }
+ }
+
+ channel_node = xpath_object->nodesetval->nodeTab[i];
+
+ file_id_ref = ags_file_find_id_ref_by_node(file,
+ channel_node->parent);
+
+ g_object_set(G_OBJECT(line),
+ "channel\0", AGS_CHANNEL(file_id_ref->ref),
+ NULL);
+ }else{
+ g_message("no xpath match: %s\0",
+ xpath);
+ }
+}
+
+xmlNode*
+ags_file_write_line(AgsFile *file, xmlNode *parent, AgsLine *line)
+{
+ AgsFileLookup *file_lookup;
+ AgsExpanderChild *expander_child;
+ xmlNode *node, *child;
+ xmlNode *line_member_node;
+ GList *line_member;
+ gchar *id;
+ guint control_width, control_height;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-line\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", line,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ G_OBJECT_TYPE_NAME(line));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ line->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ line->build_id);
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", ((~AGS_LINE_CONNECTED)&(line->flags))));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(line));
+
+ line_member = gtk_container_get_children(GTK_CONTAINER(line->expander->table));
+
+ child = ags_file_write_line_member_list(file,
+ node,
+ line_member);
+
+ line_member_node = child->children;
+
+ while(line_member != NULL){
+ if(AGS_IS_LINE_MEMBER(line_member->data)){
+ expander_child = ags_expander_child_find(line->expander,
+ line_member->data);
+
+ xmlNewProp(line_member_node,
+ "left-attach\0",
+ g_strdup_printf("%d\0", expander_child->x));
+
+ xmlNewProp(line_member_node,
+ "top-attach\0",
+ g_strdup_printf("%d\0", expander_child->y));
+
+ xmlNewProp(line_member_node,
+ "right-attach\0",
+ g_strdup_printf("%d\0", expander_child->x + expander_child->width));
+
+ xmlNewProp(line_member_node,
+ "bottom-attach\0",
+ g_strdup_printf("%d\0", expander_child->y + expander_child->height));
+
+ gtk_widget_get_size_request(GTK_BIN(expander_child->child)->child,
+ &control_width, &control_height);
+
+ xmlNewProp(line_member_node,
+ "width\0",
+ g_strdup_printf("%d\0", control_width));
+
+ xmlNewProp(line_member_node,
+ "height\0",
+ g_strdup_printf("%d\0", control_height));
+
+ line_member_node = line_member_node->next;
+ }
+
+ line_member = line_member->next;
+ }
+}
+
+void
+ags_file_read_line_list(AgsFile *file, xmlNode *node, GList **line)
+{
+ AgsLine *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-line\0",
+ 9)){
+ current = NULL;
+ ags_file_read_line(file, child, ¤t);
+
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *line = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_line_list(AgsFile *file, xmlNode *parent, GList *line)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-line-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = line;
+
+ while(list != NULL){
+ ags_file_write_line(file, node, AGS_LINE(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_line_member(AgsFile *file, xmlNode *node, AgsLineMember **line_member)
+{
+ AgsFileLookup *file_lookup;
+ AgsLineMember *gobject;
+ GtkAdjustment *adjustment;
+ GtkWidget *child_widget;
+ xmlNode *child;
+ xmlChar *prop, *content;
+ gchar *widget_type;
+ gchar *label;
+ gchar *task_type;
+ guint width, height;
+ static gboolean widget_type_is_registered = FALSE;
+
+ if(*line_member == NULL){
+ gobject = g_object_new(AGS_TYPE_LINE_MEMBER,
+ NULL);
+ *line_member = gobject;
+ }else{
+ gobject = *line_member;
+
+ if(!AGS_IS_LINE_MEMBER(gobject)){
+ return;
+ }
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ if(!widget_type_is_registered){
+ ags_main_register_widget_type();
+
+ widget_type_is_registered = TRUE;
+ }
+
+ widget_type = (gchar *) xmlGetProp(node, "widget-type\0");
+ g_object_set(gobject,
+ "widget-type\0", g_type_from_name(widget_type),
+ NULL);
+ child_widget = (GtkWidget *) gtk_bin_get_child(gobject);
+
+ /* label */
+ label = (gchar *) xmlGetProp(node, "label\0");
+
+ if(label != NULL){
+ g_object_set(G_OBJECT(gobject),
+ "widget-label\0", label,
+ NULL);
+ }
+
+ /* size */
+ width = (guint) g_ascii_strtoull(xmlGetProp(node, "width\0"),
+ NULL,
+ 10);
+
+ height = (guint) g_ascii_strtoull(xmlGetProp(node, "height\0"),
+ NULL,
+ 10);
+
+ gtk_widget_set_size_request(child_widget,
+ width, height);
+
+ /* check misc */
+ if(GTK_IS_MISC(child_widget)){
+ guint xalign, yalign;
+ guint xpad, ypad;
+
+ xalign = (guint) g_ascii_strtoull(xmlGetProp(node, "xalign\0"),
+ NULL,
+ 10);
+
+ yalign = (guint) g_ascii_strtoull(xmlGetProp(node, "yalign\0"),
+ NULL,
+ 10);
+
+ xpad = (guint) g_ascii_strtoull(xmlGetProp(node, "xpad\0"),
+ NULL,
+ 10);
+
+ ypad = (guint) g_ascii_strtoull(xmlGetProp(node, "ypad\0"),
+ NULL,
+ 10);
+ }
+
+ /* check adjustment and toggle types */
+ adjustment = NULL;
+
+ if(GTK_IS_TOGGLE_BUTTON(child_widget)){
+ if(!xmlStrncmp(AGS_FILE_TRUE,
+ xmlGetProp(node, "value\0"),
+ 5)){
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(child_widget),
+ TRUE);
+ }
+ }else if(AGS_IS_DIAL(child_widget)){
+ AgsDial *dial;
+
+ dial = child_widget;
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0);
+ g_object_set(child_widget,
+ "adjustment\0", adjustment,
+ NULL);
+ gtk_widget_set_size_request(dial,
+ 2 * dial->radius + 2 * dial->outline_strength + dial->button_width + 1,
+ 2 * dial->radius + 2 * dial->outline_strength + 1);
+ }else if(GTK_IS_RANGE(child_widget)){
+ adjustment = GTK_RANGE(child_widget)->adjustment;
+
+ if(!xmlStrncmp(AGS_FILE_TRUE,
+ xmlGetProp(node, "inverted\0"),
+ 9)){
+ gtk_range_set_inverted(GTK_RANGE(child_widget),
+ TRUE);
+ }
+ }else if(AGS_IS_INDICATOR(child_widget)){
+ adjustment = gtk_adjustment_new(0.0, 0.0, 10.0, 1.0, 1.0, 10.0);
+ g_object_set(child_widget,
+ "adjustment\0", adjustment,
+ NULL);
+ }
+
+ //TODO:JK: implement more types
+
+ if(adjustment != NULL){
+ gdouble upper, lower;
+ gdouble step, page;
+ gdouble value;
+
+ step = (gdouble) g_ascii_strtod(xmlGetProp(node, "step\0"),
+ NULL);
+ gtk_adjustment_set_step_increment(adjustment,
+ step);
+
+ lower = (gdouble) g_ascii_strtod(xmlGetProp(node, "lower\0"),
+ NULL);
+ gtk_adjustment_set_lower(adjustment,
+ lower);
+
+ upper = (gdouble) g_ascii_strtod(xmlGetProp(node, "upper\0"),
+ NULL);
+ gtk_adjustment_set_upper(adjustment,
+ upper);
+
+ // page = (gdouble) g_ascii_strtod(xmlGetProp(node, "page\0"),
+ // NULL);
+ // gtk_adjustment_set_page_size(adjustment,
+ // page);
+
+ value = (gdouble) g_ascii_strtod(xmlGetProp(node, "value\0"),
+ NULL);
+ gtk_adjustment_set_value(adjustment,
+ value);
+ }
+
+ /* flags */
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ if((task_type = xmlGetProp(node, "task-type\0")) != NULL){
+ gobject->task_type = g_type_from_name(task_type);
+ }
+
+ /* port */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_line_member_resolve_port), gobject);
+}
+
+void
+ags_file_read_line_member_resolve_port(AgsFileLookup *file_lookup,
+ AgsLineMember *line_member)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ /* play port */
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "port\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref == NULL){
+ g_warning("couldn't find port\0");
+ }else{
+ g_object_set(G_OBJECT(line_member),
+ "port\0", (AgsPort *) id_ref->ref,
+ NULL);
+ }
+
+ /* recall port */
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "recall-port\0");
+
+ if(xpath != NULL){
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref == NULL){
+ g_warning("couldn't find port\0");
+ }else{
+ g_object_set(G_OBJECT(line_member),
+ "recall-port\0", (AgsPort *) id_ref->ref,
+ NULL);
+ }
+ }
+}
+
+xmlNode*
+ags_file_write_line_member(AgsFile *file, xmlNode *parent, AgsLineMember *line_member)
+{
+ AgsFileLookup *file_lookup;
+ GtkWidget *child_widget;
+ GtkAdjustment *adjustment;
+ xmlNode *node;
+ gchar *id;
+ gchar *label;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-line-member\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", line_member,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", line_member->flags));
+
+ xmlNewProp(node,
+ "widget-type\0",
+ g_strdup_printf("%s\0", g_type_name(line_member->widget_type)));
+
+ child_widget = gtk_bin_get_child(GTK_BIN(line_member));
+
+ label = NULL;
+ g_object_get(G_OBJECT(child_widget),
+ "label\0", &label,
+ NULL);
+
+ if(label != NULL){
+ xmlNewProp(node,
+ "label\0",
+ g_strdup_printf("%s\0", label));
+ }
+
+ if(line_member->task_type != G_TYPE_NONE){
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%s\0", g_type_name(line_member->task_type)));
+ }
+
+ /* */
+ if(GTK_IS_MISC(child_widget)){
+ gfloat xalign, yalign;
+ gint xpad, ypad;
+
+ gtk_misc_get_alignment(GTK_MISC(child_widget),
+ &xalign, &yalign);
+ xmlNewProp(node,
+ "xalign\0",
+ g_strdup_printf("%d\0", xalign));
+ xmlNewProp(node,
+ "yalign\0",
+ g_strdup_printf("%d\0", yalign));
+
+ gtk_misc_get_padding(GTK_MISC(child_widget),
+ &xpad, &ypad);
+ xmlNewProp(node,
+ "xpad\0",
+ g_strdup_printf("%d\0", xpad));
+ xmlNewProp(node,
+ "ypad\0",
+ g_strdup_printf("%d\0", ypad));
+
+ }
+
+ /* */
+ adjustment = NULL;
+
+ /* */
+ if(GTK_IS_TOGGLE_BUTTON(child_widget)){
+ xmlNewProp(node,
+ "value\0",
+ g_strdup_printf("%s\0", ((gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(child_widget))) ?
+ AGS_FILE_TRUE:
+ AGS_FILE_FALSE)));
+ }else if(AGS_IS_DIAL(child_widget)){
+ adjustment = AGS_DIAL(child_widget)->adjustment;
+
+ //TODO:JK: improve dial widget work-around
+
+ }else if(GTK_IS_RANGE(child_widget)){
+ adjustment = GTK_RANGE(child_widget)->adjustment;
+
+ xmlNewProp(node,
+ "inverted\0",
+ g_strdup_printf("%s\0", (gtk_range_get_inverted(GTK_RANGE(child_widget)) ?
+ AGS_FILE_TRUE :
+ AGS_FILE_FALSE)));
+ }else if(AGS_IS_INDICATOR(child_widget)){
+ adjustment = AGS_INDICATOR(child_widget)->adjustment;
+ }
+
+ if(adjustment != NULL){
+ gdouble upper, lower;
+ gdouble page, step;
+ gdouble value;
+
+ xmlNewProp(node,
+ "upper\0",
+ g_strdup_printf("%.8f\0", adjustment->upper));
+ xmlNewProp(node,
+ "lower\0",
+ g_strdup_printf("%.8f\0", adjustment->lower));
+
+ xmlNewProp(node,
+ "page\0",
+ g_strdup_printf("%.8f\0", adjustment->page_size));
+ xmlNewProp(node,
+ "step\0",
+ g_strdup_printf("%.8f\0", adjustment->step_increment));
+
+ xmlNewProp(node,
+ "value\0",
+ g_strdup_printf("%.8f\0", adjustment->value));
+ }
+
+ /* port */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", line_member,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_line_member_resolve_port), line_member);
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_write_line_member_resolve_port(AgsFileLookup *file_lookup,
+ AgsLineMember *line_member)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ /* play port */
+ if(line_member->port != NULL){
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, line_member->port);
+
+ if(id_ref != NULL){
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "port\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+ }
+ }
+
+ /* recall port */
+ if(line_member->recall_port != NULL){
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, line_member->recall_port);
+
+ if(id_ref != NULL){
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "recall-port\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+ }
+ }
+}
+
+void
+ags_file_read_line_member_list(AgsFile *file, xmlNode *node, GList **line_member)
+{
+ AgsLineMember *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-line-member\0",
+ 16)){
+ current = NULL;
+ ags_file_read_line_member(file, child, ¤t);
+
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *line_member = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_line_member_list(AgsFile *file, xmlNode *parent, GList *line_member)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-line-member-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = line_member;
+
+ while(list != NULL){
+ if(AGS_IS_LINE_MEMBER(list->data)){
+ ags_file_write_line_member(file, node, AGS_LINE_MEMBER(list->data));
+ }
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_dialog(AgsFile *file, xmlNode *node, GtkDialog **dialog)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_dialog(AgsFile *file, xmlNode *parent, GtkDialog *dialog)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_dialog_list(AgsFile *file, xmlNode *node, GList **dialog)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_dialog_list(AgsFile *file, xmlNode *parent, GList *dialog)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_machine_editor(AgsFile *file, xmlNode *node, AgsMachineEditor **machine_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_machine_editor(AgsFile *file, xmlNode *parent, AgsMachineEditor *machine_editor)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-machine-editor\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", machine_editor,
+ NULL));
+
+ //TODO:JK: implement me
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_read_machine_editor_list(AgsFile *file, xmlNode *node, GList **machine_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_machine_editor_list(AgsFile *file, xmlNode *parent, GList *machine_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_pad_editor(AgsFile *file, xmlNode *node, AgsPadEditor **pad_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_pad_editor(AgsFile *file, xmlNode *parent, AgsPadEditor *pad_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_line_editor(AgsFile *file, xmlNode *node, AgsLineEditor **line_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_line_editor(AgsFile *file, xmlNode *parent, AgsLineEditor *line_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_link_editor(AgsFile *file, xmlNode *node, AgsLinkEditor **link_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_link_editor(AgsFile *file, xmlNode *parent, AgsLinkEditor *link_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_line_member_editor(AgsFile *file, xmlNode *node, AgsLineMemberEditor **line_member_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_line_member_editor(AgsFile *file, xmlNode *parent, AgsLineMemberEditor *line_member_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_link_collection_editor(AgsFile *file, xmlNode *node, AgsLinkCollectionEditor **link_collection_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_link_collection_editor(AgsFile *file, xmlNode *parent, AgsLinkCollectionEditor *link_collection_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_resize_editor(AgsFile *file, xmlNode *node, AgsResizeEditor **resize_editor)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_resize_editor(AgsFile *file, xmlNode *parent, AgsResizeEditor *resize_editor)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_editor(AgsFile *file, xmlNode *node, AgsEditor **editor)
+{
+ AgsEditor *gobject;
+ AgsFileLaunch *file_launch;
+ xmlNode *child;
+
+ if(*editor == NULL){
+ gobject = (AgsEditor *) g_object_new(AGS_TYPE_EDITOR,
+ NULL);
+ *editor = gobject;
+ }else{
+ gobject = *editor;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->version = g_strdup(xmlGetProp(node,
+ AGS_FILE_VERSION_PROP));
+
+ gobject->build_id = g_strdup(xmlGetProp(node,
+ AGS_FILE_BUILD_ID_PROP));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-toolbar\0",
+ 12)){
+ ags_file_read_toolbar(file,
+ child,
+ &(gobject->toolbar));
+ }else if(!xmlStrncmp(child->name,
+ "ags-machine-selector\0",
+ 11)){
+ ags_file_read_machine_selector(file,
+ child,
+ &(gobject->machine_selector));
+ }else if(!xmlStrncmp(child->name,
+ "ags-notebook\0",
+ 13)){
+ ags_file_read_notebook(file,
+ child,
+ &(gobject->notebook));
+ }
+ }
+
+ child = child->next;
+ }
+
+ file_launch = (AgsFileLaunch *) g_object_new(AGS_TYPE_FILE_LAUNCH,
+ NULL);
+ g_signal_connect(G_OBJECT(file_launch), "start\0",
+ G_CALLBACK(ags_file_read_editor_launch), gobject);
+ ags_file_add_launch(file,
+ file_launch);
+}
+
+void
+ags_file_read_editor_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsEditor *editor)
+{
+ gchar *name;
+ GValue *value;
+
+ name = g_object_get_data(G_OBJECT(file_lookup),
+ AGS_FILE_READ_EDITOR_PARAMETER_NAME);
+ value = file_lookup->ref;
+
+ g_object_set_property(G_OBJECT(editor),
+ name,
+ value);
+}
+
+void
+ags_file_read_editor_launch(AgsFileLaunch *file_launch,
+ AgsEditor *editor)
+{
+ AgsMachine *machine;
+ GList *list;
+ double tact_factor, zoom_factor;
+ double tact;
+ guint history;
+ guint tabs, pads;
+ guint i;
+
+ machine = editor->selected_machine;
+
+ if(machine == NULL){
+ return;
+ }
+
+ /* set tabs */
+ tabs = machine->audio->audio_channels;
+
+ for(i = 0; i < tabs; i++){
+ ags_notebook_add_tab(editor->notebook);
+ }
+
+ list = editor->notebook->tabs;
+
+ while(list != NULL){
+ gtk_toggle_button_set_active(AGS_NOTEBOOK_TAB(list->data)->toggle,
+ TRUE);
+
+ list = list->next;
+ }
+
+ /* set zoom */
+ zoom_factor = 0.25;
+
+ tact_factor = exp2(8.0 - (double) gtk_combo_box_get_active(editor->toolbar->zoom));
+ tact = exp2((double) gtk_combo_box_get_active(editor->toolbar->zoom) - 4.0);
+
+ /* reset note edit */
+ history = gtk_combo_box_get_active(editor->toolbar->zoom);
+
+ editor->toolbar->zoom_history = history;
+
+ editor->edit.note_edit->flags |= AGS_NOTE_EDIT_RESETING_HORIZONTALLY;
+ ags_note_edit_reset_horizontally(editor->edit.note_edit, AGS_NOTE_EDIT_RESET_HSCROLLBAR |
+ AGS_NOTE_EDIT_RESET_WIDTH);
+ editor->edit.note_edit->flags &= (~AGS_NOTE_EDIT_RESETING_HORIZONTALLY);
+
+ /* reset ruler */
+ editor->edit.note_edit->ruler->factor = tact_factor;
+ editor->edit.note_edit->ruler->precision = tact;
+ editor->edit.note_edit->ruler->scale_precision = 1.0 / tact;
+
+ gtk_widget_queue_draw(editor->edit.note_edit->ruler);
+ gtk_widget_queue_draw(editor->edit.note_edit);
+}
+
+xmlNode*
+ags_file_write_editor(AgsFile *file, xmlNode *parent, AgsEditor *editor)
+{
+ AgsFileIdRef *id_ref;
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-editor\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", editor,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ editor->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ editor->build_id);
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", editor->flags));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_file_write_machine_selector(file, node, editor->machine_selector);
+ ags_file_write_toolbar(file, node, editor->toolbar);
+ ags_file_write_notebook(file, node, editor->notebook);
+}
+
+void
+ags_file_read_toolbar(AgsFile *file, xmlNode *node, AgsToolbar **toolbar)
+{
+ AgsToolbar *gobject;
+ GtkTreeIter iter;
+ GtkTreeModel *model;
+ xmlNode *child;
+ gchar *value;
+ gchar *str;
+
+ if(*toolbar == NULL){
+ gobject = (AgsToolbar *) g_object_new(AGS_TYPE_TOOLBAR,
+ NULL);
+ *toolbar = gobject;
+ }else{
+ gobject = *toolbar;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ str = xmlGetProp(node,
+ "edit-mode\0");
+
+ if(!g_strcmp0("position\0",
+ str)){
+ gtk_button_clicked(gobject->position);
+ }else if(!g_strcmp0("edit\0",
+ str)){
+ gtk_button_clicked(gobject->edit);
+ }else if(!g_strcmp0("clear\0",
+ str)){
+ gtk_button_clicked(gobject->clear);
+ }else if(!g_strcmp0("select\0",
+ str)){
+ gtk_button_clicked(gobject->select);
+ }
+
+ /* zoom */
+ str = xmlGetProp(node,
+ "zoom\0");
+
+ model = gtk_combo_box_get_model(gobject->zoom);
+
+ if(gtk_tree_model_get_iter_first(model, &iter)){
+ do{
+ gtk_tree_model_get(model, &iter,
+ 0, &value,
+ -1);
+
+ if(!g_strcmp0(str,
+ value)){
+ break;
+ }
+ }while(gtk_tree_model_iter_next(model,
+ &iter));
+
+ gtk_combo_box_set_active_iter(gobject->zoom,
+ &iter);
+
+ gobject->zoom_history = gtk_combo_box_get_active(gobject->zoom);
+ }
+
+ /* mode */
+ str = xmlGetProp(node,
+ "mode\0");
+
+ model = gtk_combo_box_get_model(gobject->mode);
+
+ if(gtk_tree_model_get_iter_first(model, &iter)){
+ do{
+ gtk_tree_model_get(model, &iter,
+ 0, &value,
+ -1);
+
+ if(!g_strcmp0(str,
+ value)){
+ break;
+ }
+ }while(gtk_tree_model_iter_next(model,
+ &iter));
+
+ gtk_combo_box_set_active_iter(gobject->mode,
+ &iter);
+ }
+}
+
+xmlNode*
+ags_file_write_toolbar(AgsFile *file, xmlNode *parent, AgsToolbar *toolbar)
+{
+ AgsFileIdRef *id_ref;
+ xmlNode *node;
+ GList *list;
+ guint n_properties, n_params;
+ gchar *id;
+ gint i;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-toolbar\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", toolbar,
+ NULL));
+
+ if(toolbar->selected_edit_mode == toolbar->position){
+ xmlNewProp(node,
+ "edit-mode\0",
+ g_strdup("position\0"));
+ }else if(toolbar->selected_edit_mode == toolbar->edit){
+ xmlNewProp(node,
+ "edit-mode\0",
+ g_strdup("edit\0"));
+ }else if(toolbar->selected_edit_mode == toolbar->clear){
+ xmlNewProp(node,
+ "edit-mode\0",
+ g_strdup("clear\0"));
+ }else if(toolbar->selected_edit_mode == toolbar->select){
+ xmlNewProp(node,
+ "edit-mode\0",
+ g_strdup("select\0"));
+ }
+
+ xmlNewProp(node,
+ "zoom\0",
+ g_strdup_printf("%s\0", gtk_combo_box_text_get_active_text(toolbar->zoom)));
+
+ xmlNewProp(node,
+ "mode\0",
+ g_strdup_printf("%s\0", gtk_combo_box_text_get_active_text(toolbar->mode)));
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_read_machine_selector(AgsFile *file, xmlNode *node, AgsMachineSelector **machine_selector)
+{
+ AgsMachineSelector *gobject;
+ GParameter *parameter;
+ xmlNode *child;
+ guint n_params;
+
+ if(*machine_selector == NULL){
+ gobject = g_object_new(AGS_TYPE_MACHINE_SELECTOR,
+ NULL);
+
+ *machine_selector = gobject;
+ }else{
+ gobject = *machine_selector;
+ }
+
+ /* child elements */
+ child = node->children;
+
+ parameter = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-parameter\0",
+ 14)){
+ AgsFileLookup *file_lookup;
+ xmlNode *value_node;
+ GList *list;
+
+ ags_file_util_read_parameter(file,
+ child,
+ NULL,
+ ¶meter,
+ &n_params,
+ NULL);
+
+ value_node = child->children;
+
+ while(value_node != NULL){
+ if(value_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(value_node->name,
+ "ags-value\0",
+ 10)){
+ list = ags_file_lookup_find_by_node(file->lookup,
+ value_node);
+
+ if(list != NULL){
+ file_lookup = AGS_FILE_LOOKUP(list->data);
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_machine_selector_resolve_parameter), gobject);
+ }
+ }
+ }
+
+ value_node = value_node->next;
+ }
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_machine_selector_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsMachineSelector *machine_selector)
+{
+ AgsEditor *editor;
+ GObject *gobject;
+ GValue *value;
+
+ value = file_lookup->ref;
+
+ if(G_VALUE_HOLDS(value, G_TYPE_OBJECT)){
+ AgsMachineRadioButton *machine_radio_button;
+
+ gobject = g_value_get_object(value);
+
+ if(gobject == NULL){
+ return;
+ }
+
+ editor = gtk_widget_get_ancestor(machine_selector,
+ AGS_TYPE_EDITOR);
+
+ machine_radio_button = g_object_new(AGS_TYPE_MACHINE_RADIO_BUTTON,
+ NULL);
+ gtk_box_pack_start(GTK_BOX(machine_selector),
+ machine_radio_button,
+ FALSE, FALSE,
+ 0);
+ g_object_set(machine_radio_button,
+ "machine\0", gobject,
+ NULL);
+
+ if(editor->selected_machine == NULL){
+ ags_editor_machine_changed(editor,
+ gobject);
+ }
+
+ }
+}
+
+xmlNode*
+ags_file_write_machine_selector(AgsFile *file, xmlNode *parent, AgsMachineSelector *machine_selector)
+{
+ xmlNode *node;
+ GParameter *parameter;
+ GList *list;
+ gchar *id;
+ gint n_params;
+
+ auto GParameter* ags_file_write_machine_selector_parameter(GList *list, GParameter *parameter, gchar *prop, gint *n_params);
+
+ GParameter* ags_file_write_machine_selector_parameter(GList *list, GParameter *parameter, gchar *prop, gint *n_params){
+ gint i;
+
+ if(n_params == NULL){
+ i = 0;
+ }else{
+ i = *n_params;
+ }
+
+ while(list != NULL){
+ if(!AGS_IS_MACHINE_RADIO_BUTTON(list->data)){
+ list = list->next;
+ continue;
+ }
+
+ if(parameter == NULL){
+ parameter = (GParameter *) malloc(sizeof(GParameter));
+ }else{
+ parameter = (GParameter *) realloc(parameter,
+ (i + 1) * sizeof(GParameter));
+ }
+
+ parameter[i].name = prop;
+
+ memset(&(parameter[i].value), 0, sizeof(GValue));
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value),
+ G_OBJECT(AGS_MACHINE_RADIO_BUTTON(list->data)->machine));
+
+ list = list->next;
+ i++;
+ }
+
+ if(n_params != NULL){
+ *n_params = i;
+ }
+
+ return(parameter);
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-machine-selector\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", machine_selector,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ parameter = NULL;
+ n_params = 0;
+
+ list = gtk_container_get_children(GTK_CONTAINER(machine_selector));
+ list = list->next;
+ parameter = ags_file_write_machine_selector_parameter(list, parameter, "machine\0", &n_params);
+
+ ags_file_util_write_parameter(file,
+ node,
+ ags_id_generator_create_uuid(),
+ parameter, n_params);
+
+ return(node);
+}
+
+void
+ags_file_read_notebook(AgsFile *file, xmlNode *node, AgsNotebook **notebook)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_notebook(AgsFile *file, xmlNode *parent, AgsNotebook *notebook)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_notebook_tab_list(AgsFile *file, xmlNode *node, GList **notebook_tab_list)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_notebook_tab_list(AgsFile *file, xmlNode *parent, GList *notebook_tab_list)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_notebook_tab(AgsFile *file, xmlNode *node, AgsNotebookTab **notebook_tab)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_notebook_tab(AgsFile *file, xmlNode *parent, AgsNotebookTab *notebook_tab)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_navigation(AgsFile *file, xmlNode *node, AgsNavigation **navigation)
+{
+ AgsNavigation *gobject;
+ xmlNode *child;
+ xmlChar *str;
+
+ if(*navigation == NULL){
+ gobject = g_object_new(AGS_TYPE_NAVIGATION,
+ NULL);
+
+ *navigation = gobject;
+ }else{
+ gobject = *navigation;
+ }
+
+ str = xmlGetProp(node,
+ "expanded\0");
+
+ if(!xmlStrncmp(str,
+ AGS_FILE_TRUE,
+ 5)){
+ gtk_toggle_button_set_active(gobject->expander,
+ TRUE);
+ }
+
+ str = xmlGetProp(node,
+ "bpm\0");
+ gtk_spin_button_set_value(gobject->bpm,
+ g_strtod(str,
+ NULL));
+
+ str = xmlGetProp(node,
+ "loop\0");
+
+ if(!xmlStrncmp(str,
+ AGS_FILE_TRUE,
+ 5)){
+ gtk_toggle_button_set_active(gobject->loop,
+ TRUE);
+ }
+
+ str = xmlGetProp(node,
+ "position\0");
+ gtk_spin_button_set_value(gobject->position_tact,
+ g_strtod(str,
+ NULL));
+
+ str = xmlGetProp(node,
+ "loop-left\0");
+ gtk_spin_button_set_value(gobject->loop_left_tact,
+ g_strtod(str,
+ NULL));
+
+ str = xmlGetProp(node,
+ "loop-right\0");
+ gtk_spin_button_set_value(gobject->loop_right_tact,
+ g_strtod(str,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_navigation(AgsFile *file, xmlNode *parent, AgsNavigation *navigation)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-navigation\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", navigation,
+ NULL));
+
+ xmlNewProp(node,
+ "expanded\0",
+ g_strdup_printf("%s\0", ((gtk_toggle_button_get_active(navigation->expander)) ? AGS_FILE_TRUE: AGS_FILE_FALSE)));
+
+ xmlNewProp(node,
+ "bpm\0",
+ g_strdup_printf("%.f\0", gtk_spin_button_get_value(navigation->bpm)));
+
+ xmlNewProp(node,
+ "loop\0",
+ g_strdup_printf("%s\0", ((gtk_toggle_button_get_active(navigation->loop)) ? AGS_FILE_TRUE: AGS_FILE_FALSE)));
+
+ xmlNewProp(node,
+ "position\0",
+ g_strdup_printf("%.3f\0", gtk_spin_button_get_value(navigation->position_tact)));
+
+ xmlNewProp(node,
+ "loop-left\0",
+ g_strdup_printf("%.3f\0", gtk_spin_button_get_value(navigation->loop_left_tact)));
+
+ xmlNewProp(node,
+ "loop-right\0",
+ g_strdup_printf("%.3f\0", gtk_spin_button_get_value(navigation->loop_right_tact)));
+
+ xmlAddChild(parent,
+ node);
+}
+
diff --git a/src/ags/file/ags_file_gui.h b/src/ags/file/ags_file_gui.h
new file mode 100644
index 0000000..fb9b4c5
--- /dev/null
+++ b/src/ags/file/ags_file_gui.h
@@ -0,0 +1,174 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_GUI_H__
+#define __AGS_FILE_GUI_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <libxml/tree.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/X/ags_window.h>
+#include <ags/X/ags_menu_bar.h>
+#include <ags/X/ags_machine.h>
+#include <ags/X/ags_pad.h>
+#include <ags/X/ags_line.h>
+#include <ags/X/ags_line_member.h>
+#include <ags/X/ags_editor.h>
+#include <ags/X/ags_navigation.h>
+#include <ags/X/ags_machine_editor.h>
+#include <ags/X/ags_pad_editor.h>
+#include <ags/X/ags_line_editor.h>
+#include <ags/X/ags_link_editor.h>
+#include <ags/X/ags_line_member_editor.h>
+#include <ags/X/ags_link_collection_editor.h>
+#include <ags/X/ags_resize_editor.h>
+
+#include <ags/X/editor/ags_toolbar.h>
+#include <ags/X/editor/ags_machine_selector.h>
+#include <ags/X/editor/ags_machine_radio_button.h>
+#include <ags/X/editor/ags_notebook.h>
+
+#include <ags/X/machine/ags_panel.h>
+#include <ags/X/machine/ags_mixer.h>
+#include <ags/X/machine/ags_drum.h>
+#include <ags/X/machine/ags_matrix.h>
+#include <ags/X/machine/ags_synth.h>
+#include <ags/X/machine/ags_ffplayer.h>
+
+/* GtkWidget */
+void ags_file_read_widget(AgsFile *file, xmlNode *node, GtkWidget *widget);
+xmlNode* ags_file_write_widget(AgsFile *file, xmlNode *parent, GtkWidget *widget);
+
+/* AgsWindow */
+void ags_file_read_window(AgsFile *file, xmlNode *node, AgsWindow **window);
+xmlNode* ags_file_write_window(AgsFile *file, xmlNode *parent, AgsWindow *window);
+
+/* AgsMenuBar */
+void ags_file_read_menu_bar(AgsFile *file, xmlNode *node, AgsMenuBar **menu_bar);
+xmlNode* ags_file_write_menu_bar(AgsFile *file, xmlNode *parent, AgsMenuBar *menu_bar);
+
+/* AgsMachineCounter */
+void ags_file_read_machine_counter(AgsFile *file, xmlNode *node, AgsMachineCounter **machine_counter);
+xmlNode* ags_file_write_machine_counter(AgsFile *file, xmlNode *parent, AgsMachineCounter *machine_counter);
+
+void ags_file_read_machine_counter_list(AgsFile *file, xmlNode *node, GList **machine_counter);
+xmlNode* ags_file_write_machine_counter_list(AgsFile *file, xmlNode *parent, GList *machine_counter);
+
+/* AgsMachine */
+void ags_file_read_machine(AgsFile *file, xmlNode *node, AgsMachine **machine);
+xmlNode* ags_file_write_machine(AgsFile *file, xmlNode *parent, AgsMachine *machine);
+
+void ags_file_read_machine_list(AgsFile *file, xmlNode *node, GList **machine);
+xmlNode* ags_file_write_machine_list(AgsFile *file, xmlNode *parent, GList *machine);
+
+void ags_file_read_machine_resolve_audio(AgsFileLookup *file_lookup,
+ AgsMachine *machine);
+
+/* AgsPad */
+void ags_file_read_pad(AgsFile *file, xmlNode *node, AgsPad **pad);
+xmlNode* ags_file_write_pad(AgsFile *file, xmlNode *parent, AgsPad *pad);
+
+void ags_file_read_pad_list(AgsFile *file, xmlNode *node, GList **pad);
+xmlNode* ags_file_write_pad_list(AgsFile *file, xmlNode *parent, GList *pad);
+
+void ags_file_read_mixer_input_pad(AgsFile *file, xmlNode *node, AgsPad *mixer_input_pad);
+xmlNode* ags_file_write_mixer_input_pad(AgsFile *file, xmlNode *parent, AgsPad *mixer_input_pad);
+
+void ags_file_read_mixer_output_pad(AgsFile *file, xmlNode *node, AgsPad *mixer_output_pad);
+xmlNode* ags_file_write_mixer_output_pad(AgsFile *file, xmlNode *parent, AgsPad *mixer_output_pad);
+
+/* AgsLine */
+void ags_file_read_line(AgsFile *file, xmlNode *node, AgsLine **line);
+xmlNode* ags_file_write_line(AgsFile *file, xmlNode *parent, AgsLine *line);
+
+void ags_file_read_line_list(AgsFile *file, xmlNode *node, GList **line);
+xmlNode* ags_file_write_line_list(AgsFile *file, xmlNode *parent, GList *line);
+
+/* AgsLineMember */
+void ags_file_read_line_member(AgsFile *file, xmlNode *node, AgsLineMember **line_member);
+xmlNode* ags_file_write_line_member(AgsFile *file, xmlNode *parent, AgsLineMember *line_member);
+
+void ags_file_read_line_member_list(AgsFile *file, xmlNode *node, GList **line_member);
+xmlNode* ags_file_write_line_member_list(AgsFile *file, xmlNode *parent, GList *line_member);
+
+/* GtkDialog */
+void ags_file_read_dialog(AgsFile *file, xmlNode *node, GtkDialog **dialog);
+xmlNode* ags_file_write_dialog(AgsFile *file, xmlNode *parent, GtkDialog *dialog);
+
+void ags_file_read_dialog_list(AgsFile *file, xmlNode *node, GList **dialog);
+xmlNode* ags_file_write_dialog_list(AgsFile *file, xmlNode *parent, GList *dialog);
+
+/* AgsMachineEditor */
+void ags_file_read_machine_editor(AgsFile *file, xmlNode *node, AgsMachineEditor **machine_editor);
+xmlNode* ags_file_write_machine_editor(AgsFile *file, xmlNode *parent, AgsMachineEditor *machine_editor);
+
+void ags_file_read_machine_editor_list(AgsFile *file, xmlNode *node, GList **machine_editor);
+xmlNode* ags_file_write_machine_editor_list(AgsFile *file, xmlNode *parent, GList *machine_editor);
+
+void ags_file_read_pad_editor(AgsFile *file, xmlNode *node, AgsPadEditor **pad_editor);
+xmlNode* ags_file_write_pad_editor(AgsFile *file, xmlNode *parent, AgsPadEditor *pad_editor);
+
+void ags_file_read_line_editor(AgsFile *file, xmlNode *node, AgsLineEditor **line_editor);
+xmlNode* ags_file_write_line_editor(AgsFile *file, xmlNode *parent, AgsLineEditor *line_editor);
+
+void ags_file_read_link_editor(AgsFile *file, xmlNode *node, AgsLinkEditor **link_editor);
+xmlNode* ags_file_write_link_editor(AgsFile *file, xmlNode *parent, AgsLinkEditor *link_editor);
+
+void ags_file_read_line_member_editor(AgsFile *file, xmlNode *node, AgsLineMemberEditor **line_member_editor);
+xmlNode* ags_file_write_line_member_editor(AgsFile *file, xmlNode *parent, AgsLineMemberEditor *line_member_editor);
+
+void ags_file_read_link_collection_editor(AgsFile *file, xmlNode *node, AgsLinkCollectionEditor **link_collection_editor);
+xmlNode* ags_file_write_link_collection_editor(AgsFile *file, xmlNode *parent, AgsLinkCollectionEditor *link_collection_editor);
+
+void ags_file_read_resize_editor(AgsFile *file, xmlNode *node, AgsResizeEditor **resize_editor);
+xmlNode* ags_file_write_resize_editor(AgsFile *file, xmlNode *parent, AgsResizeEditor *resize_editor);
+
+/* AgsEditor */
+void ags_file_read_editor(AgsFile *file, xmlNode *node, AgsEditor **editor);
+xmlNode* ags_file_write_editor(AgsFile *file, xmlNode *parent, AgsEditor *editor);
+
+/* AgsToolbar */
+void ags_file_read_toolbar(AgsFile *file, xmlNode *node, AgsToolbar **toolbar);
+xmlNode* ags_file_write_toolbar(AgsFile *file, xmlNode *parent, AgsToolbar *toolbar);
+
+/* AgsMachineSelector */
+void ags_file_read_machine_selector(AgsFile *file, xmlNode *parent, AgsMachineSelector **machine_selector);
+xmlNode* ags_file_write_machine_selector(AgsFile *file, xmlNode *node, AgsMachineSelector *machine_selector);
+
+/* AgsNotebook */
+void ags_file_read_notebook(AgsFile *file, xmlNode *node, AgsNotebook **notebook);
+xmlNode* ags_file_write_notebook(AgsFile *file, xmlNode *parent, AgsNotebook *notebook);
+
+void ags_file_read_notebook_tab_list(AgsFile *file, xmlNode *node, GList **notebook_tab_list);
+xmlNode* ags_file_write_notebook_tab_list(AgsFile *file, xmlNode *parent, GList *notebook_tab_list);
+
+void ags_file_read_notebook_tab(AgsFile *file, xmlNode *node, AgsNotebookTab **notebook_tab);
+xmlNode* ags_file_write_notebook_tab(AgsFile *file, xmlNode *parent, AgsNotebookTab *notebook_tab);
+
+/* AgsNavigation */
+void ags_file_read_navigation(AgsFile *file, xmlNode *node, AgsNavigation **navigation);
+xmlNode* ags_file_write_navigation(AgsFile *file, xmlNode *parent, AgsNavigation *navigation);
+
+#endif /*__AGS_FILE_GUI_H__*/
diff --git a/src/ags/file/ags_file_id_ref.c b/src/ags/file/ags_file_id_ref.c
new file mode 100644
index 0000000..18fc75f
--- /dev/null
+++ b/src/ags/file/ags_file_id_ref.c
@@ -0,0 +1,347 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_id_ref.h>
+
+void ags_file_id_ref_class_init(AgsFileIdRefClass *file_id_ref);
+void ags_file_id_ref_init(AgsFileIdRef *file_id_ref);
+void ags_file_id_ref_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_file_id_ref_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_file_id_ref_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_file_id_ref
+ * @short_description: file id reference
+ * @title: AgsFileIdRef
+ * @section_id:
+ * @include: ags/file/ags_file_id_ref.h
+ *
+ * The #AgsFileIdRef referes a XML node by its ID. It's used
+ * to perform XPath lookup.
+ */
+
+enum{
+ RESOLVED,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_NODE,
+ PROP_XPATH,
+ PROP_REFERENCE,
+ PROP_FILE,
+ PROP_MAIN,
+};
+
+static gpointer ags_file_id_ref_parent_class = NULL;
+
+static guint file_id_ref_signals[LAST_SIGNAL];
+
+GType
+ags_file_id_ref_get_type()
+{
+ static GType ags_type_file_id_ref = 0;
+
+ if(!ags_type_file_id_ref){
+ static const GTypeInfo ags_file_id_ref_info = {
+ sizeof (AgsFileIdRefClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_file_id_ref_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFileIdRef),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_file_id_ref_init,
+ };
+
+ ags_type_file_id_ref = g_type_register_static(G_TYPE_OBJECT,
+ "AgsFileIdRef\0",
+ &ags_file_id_ref_info,
+ 0);
+ }
+
+ return (ags_type_file_id_ref);
+}
+
+void
+ags_file_id_ref_class_init(AgsFileIdRefClass *file_id_ref)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_file_id_ref_parent_class = g_type_class_peek_parent(file_id_ref);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) file_id_ref;
+
+ gobject->set_property = ags_file_id_ref_set_property;
+ gobject->get_property = ags_file_id_ref_get_property;
+
+ gobject->finalize = ags_file_id_ref_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_pointer("node\0",
+ "the node\0",
+ "The node to find the element\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NODE,
+ param_spec);
+
+ param_spec = g_param_spec_string("xpath\0",
+ "the xpath\0",
+ "The xpath to find the element\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_XPATH,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("reference\0",
+ "reference of the locator\0",
+ "The reference resulted by the xpath locator\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_REFERENCE,
+ param_spec);
+
+ param_spec = g_param_spec_object("file\0",
+ "file assigned to\0",
+ "The entire file assigned to\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILE,
+ param_spec);
+
+ param_spec = g_param_spec_object("main\0",
+ "main access\0",
+ "The main object to access the tree\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN,
+ param_spec);
+
+ /* signals */
+ file_id_ref_signals[RESOLVED] =
+ g_signal_new("resolved\0",
+ G_TYPE_FROM_CLASS(file_id_ref),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileIdRefClass, resolved),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_file_id_ref_init(AgsFileIdRef *file_id_ref)
+{
+ file_id_ref->ags_main = NULL;
+ file_id_ref->file = NULL;
+
+ file_id_ref->node = NULL;
+ file_id_ref->xpath = NULL;
+ file_id_ref->ref = NULL;
+}
+
+
+void
+ags_file_id_ref_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileIdRef *file_id_ref;
+
+ file_id_ref = AGS_FILE_ID_REF(gobject);
+
+ switch(prop_id){
+ case PROP_NODE:
+ {
+ xmlNode *node;
+
+ node = (xmlNode *) g_value_get_pointer(value);
+
+ file_id_ref->node = node;
+ }
+ break;
+ case PROP_XPATH:
+ {
+ char *xpath;
+
+ xpath = (char *) g_value_get_string(value);
+
+ if(file_id_ref->xpath != NULL)
+ g_free(file_id_ref->xpath);
+
+ file_id_ref->xpath = xpath;
+ }
+ break;
+ case PROP_REFERENCE:
+ {
+ gpointer ref;
+
+ ref = (gpointer) g_value_get_pointer(value);
+
+ file_id_ref->ref = ref;
+ }
+ break;
+ case PROP_FILE:
+ {
+ GObject *file;
+
+ file = (GObject *) g_value_get_object(value);
+
+ if(file_id_ref->file != NULL)
+ g_object_unref(file_id_ref->file);
+
+ if(file != NULL)
+ g_object_ref(file);
+
+ file_id_ref->file = file;
+ }
+ break;
+ case PROP_MAIN:
+ {
+ GObject *ags_main;
+
+ ags_main = (GObject *) g_value_get_object(value);
+
+ if(file_id_ref->ags_main != NULL)
+ g_object_unref(file_id_ref->ags_main);
+
+ if(ags_main != NULL)
+ g_object_ref(ags_main);
+
+ file_id_ref->ags_main = ags_main;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_id_ref_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileIdRef *file_id_ref;
+
+ file_id_ref = AGS_FILE_ID_REF(gobject);
+
+ switch(prop_id){
+ case PROP_NODE:
+ {
+ g_value_set_pointer(value, file_id_ref->node);
+ }
+ break;
+ case PROP_XPATH:
+ {
+ g_value_set_string(value, file_id_ref->xpath);
+ }
+ break;
+ case PROP_REFERENCE:
+ {
+ g_value_set_pointer(value, file_id_ref->ref);
+ }
+ break;
+ case PROP_FILE:
+ {
+ g_value_set_object(value, file_id_ref->file);
+ }
+ break;
+ case PROP_MAIN:
+ {
+ g_value_set_object(value, file_id_ref->ags_main);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_id_ref_finalize(GObject *gobject)
+{
+ AgsFileIdRef *file_id_ref;
+
+ file_id_ref = AGS_FILE_ID_REF(gobject);
+
+ if(file_id_ref->xpath != NULL){
+ g_free(file_id_ref->xpath);
+ }
+
+ if(file_id_ref->ref != NULL){
+ g_object_unref(file_id_ref->ref);
+ }
+
+ if(file_id_ref->file != NULL){
+ g_object_unref(file_id_ref->file);
+ }
+
+ if(file_id_ref->ags_main != NULL){
+ g_object_unref(file_id_ref->ags_main);
+ }
+
+ G_OBJECT_CLASS(ags_file_id_ref_parent_class)->finalize(gobject);
+}
+
+void
+ags_file_id_ref_resolved(AgsFileIdRef *file_id_ref)
+{
+ g_return_if_fail(AGS_IS_FILE_ID_REF(file_id_ref));
+
+ g_object_ref((GObject *) file_id_ref);
+ g_signal_emit(G_OBJECT(file_id_ref),
+ file_id_ref_signals[RESOLVED],
+ 0);
+ g_object_unref((GObject *) file_id_ref);
+}
+
+/**
+ * ags_file_id_ref_new:
+ *
+ * Creates an #AgsFileIdRef
+ *
+ * Returns: a new #AgsFileIdRef
+ *
+ * Since: 0.4
+ */
+AgsFileIdRef*
+ags_file_id_ref_new()
+{
+ AgsFileIdRef *file_id_ref;
+
+ file_id_ref = (AgsFileIdRef *) g_object_new(AGS_TYPE_FILE_ID_REF,
+ NULL);
+
+ return(file_id_ref);
+}
diff --git a/src/ags/file/ags_file_id_ref.h b/src/ags/file/ags_file_id_ref.h
new file mode 100644
index 0000000..11ba97e
--- /dev/null
+++ b/src/ags/file/ags_file_id_ref.h
@@ -0,0 +1,69 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_ID_REF_H__
+#define __AGS_FILE_ID_REF_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_FILE_ID_REF (ags_file_id_ref_get_type())
+#define AGS_FILE_ID_REF(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_ID_REF, AgsFileIdRef))
+#define AGS_FILE_ID_REF_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_FILE_ID_REF, AgsFileIdRef))
+#define AGS_IS_FILE_ID_REF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_ID_REF))
+#define AGS_IS_FILE_ID_REF_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_ID_REF))
+#define AGS_FILE_ID_REF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_FILE_ID_REF, AgsFileIdRefClass))
+
+#define AGS_FILE_RESOLVE(f) ((AgsFileResolve)(f))
+
+#define AGS_FILE_ID_REF_SERIALIZE_DATA "ags-file-id-ref-serizalize-data\0"
+#define AGS_FILE_ID_REF_RESOLVE_DATA "ags-file-id-ref-resolve-data\0"
+
+typedef struct _AgsFileIdRef AgsFileIdRef;
+typedef struct _AgsFileIdRefClass AgsFileIdRefClass;
+
+typedef void (*AgsFileResolve)(void);
+
+struct _AgsFileIdRef
+{
+ GObject object;
+
+ GObject *ags_main;
+ GObject *file;
+
+ xmlNode *node;
+ gchar *xpath;
+ gpointer ref;
+};
+
+struct _AgsFileIdRefClass
+{
+ GObjectClass object;
+
+ void (*resolved)(AgsFileIdRef *file_id_ref);
+};
+
+GType ags_file_id_ref_get_type();
+
+void ags_file_id_ref_resolved(AgsFileIdRef *file_id_ref);
+
+AgsFileIdRef* ags_file_id_ref_new();
+
+#endif /*__AGS_FILE_ID_REF_H__*/
diff --git a/src/ags/file/ags_file_launch.c b/src/ags/file/ags_file_launch.c
new file mode 100644
index 0000000..37ead9d
--- /dev/null
+++ b/src/ags/file/ags_file_launch.c
@@ -0,0 +1,284 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_launch.h>
+
+void ags_file_launch_class_init(AgsFileLaunchClass *file_launch);
+void ags_file_launch_init (AgsFileLaunch *file_launch);
+void ags_file_launch_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_file_launch_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_file_launch_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_file_launch
+ * @short_description: launch objects read of file.
+ * @title: AgsFileLaunch
+ * @section_id:
+ * @include: ags/file/ags_file_launch.h
+ *
+ * The #AgsFileLaunch launches read objects of file.
+ */
+
+enum{
+ START,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_NODE,
+ PROP_FILE,
+ PROP_MAIN,
+};
+
+static gpointer ags_file_launch_parent_class = NULL;
+static guint file_launch_signals[LAST_SIGNAL];
+
+GType
+ags_file_launch_get_type (void)
+{
+ static GType ags_type_file_launch = 0;
+
+ if(!ags_type_file_launch){
+ static const GTypeInfo ags_file_launch_info = {
+ sizeof (AgsFileLaunchClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_file_launch_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFileLaunch),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_file_launch_init,
+ };
+
+ ags_type_file_launch = g_type_register_static(G_TYPE_OBJECT,
+ "AgsFileLaunch\0",
+ &ags_file_launch_info,
+ 0);
+ }
+
+ return (ags_type_file_launch);
+}
+
+void
+ags_file_launch_class_init(AgsFileLaunchClass *file_launch)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_file_launch_parent_class = g_type_class_peek_parent(file_launch);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) file_launch;
+
+ gobject->set_property = ags_file_launch_set_property;
+ gobject->get_property = ags_file_launch_get_property;
+
+ gobject->finalize = ags_file_launch_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_pointer("node\0",
+ "the node\0",
+ "The node to find the element\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NODE,
+ param_spec);
+
+ param_spec = g_param_spec_object("file\0",
+ "file assigned to\0",
+ "The entire file assigned to\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILE,
+ param_spec);
+
+ param_spec = g_param_spec_object("main\0",
+ "main access\0",
+ "The main object to access the tree\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN,
+ param_spec);
+
+ /* AgsFileLaunchClass */
+ file_launch->start = NULL;
+
+ file_launch_signals[START] =
+ g_signal_new("start\0",
+ G_TYPE_FROM_CLASS(file_launch),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileLaunchClass, start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_file_launch_init(AgsFileLaunch *file_launch)
+{
+ file_launch->ags_main = NULL;
+ file_launch->node = NULL;
+ file_launch->file = NULL;
+}
+
+void
+ags_file_launch_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileLaunch *file_launch;
+
+ file_launch = AGS_FILE_LAUNCH(gobject);
+
+ switch(prop_id){
+ case PROP_NODE:
+ {
+ xmlNode *node;
+
+ node = (xmlNode *) g_value_get_pointer(value);
+
+ file_launch->node = node;
+ }
+ break;
+ case PROP_FILE:
+ {
+ GObject *file;
+
+ file = (GObject *) g_value_get_object(value);
+
+ if(file_launch->file != NULL)
+ g_object_unref(file_launch->file);
+
+ if(file != NULL)
+ g_object_ref(file);
+
+ file_launch->file = file;
+ }
+ break;
+ case PROP_MAIN:
+ {
+ GObject *ags_main;
+
+ ags_main = (GObject *) g_value_get_object(value);
+
+ if(file_launch->ags_main != NULL)
+ g_object_unref(file_launch->ags_main);
+
+ if(ags_main != NULL)
+ g_object_ref(ags_main);
+
+ file_launch->ags_main = ags_main;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_launch_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileLaunch *file_launch;
+
+ file_launch = AGS_FILE_LAUNCH(gobject);
+
+ switch(prop_id){
+ case PROP_NODE:
+ {
+ g_value_set_pointer(value, file_launch->node);
+ }
+ break;
+ case PROP_FILE:
+ {
+ g_value_set_object(value, file_launch->file);
+ }
+ break;
+ case PROP_MAIN:
+ {
+ g_value_set_object(value, file_launch->ags_main);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_launch_start(AgsFileLaunch *file_launch)
+{
+ g_return_if_fail(AGS_IS_FILE_LAUNCH(file_launch));
+
+ g_object_ref((GObject *) file_launch);
+ g_signal_emit(G_OBJECT(file_launch),
+ file_launch_signals[START], 0);
+ g_object_unref((GObject *) file_launch);
+}
+
+void
+ags_file_launch_finalize(GObject *gobject)
+{
+ AgsFileLaunch *file_launch;
+
+ file_launch = AGS_FILE_LAUNCH(gobject);
+
+ if(file_launch->file != NULL){
+ g_object_unref(file_launch->file);
+ }
+
+ if(file_launch->ags_main != NULL){
+ g_object_unref(file_launch->ags_main);
+ }
+
+ G_OBJECT_CLASS(ags_file_launch_parent_class)->finalize(gobject);
+}
+
+/**
+ * ags_file_launch_new:
+ *
+ * Creates an #AgsFileLaunch
+ *
+ * Returns: a new #AgsFileLaunch
+ *
+ * Since: 0.4
+ */
+AgsFileLaunch*
+ags_file_launch_new()
+{
+ AgsFileLaunch *file_launch;
+
+ file_launch = (AgsFileLaunch *) g_object_new(AGS_TYPE_FILE_LAUNCH,
+ NULL);
+
+ return(file_launch);
+}
diff --git a/src/ags/file/ags_file_launch.h b/src/ags/file/ags_file_launch.h
new file mode 100644
index 0000000..2c6bc14
--- /dev/null
+++ b/src/ags/file/ags_file_launch.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_LAUNCH_H__
+#define __AGS_FILE_LAUNCH_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_FILE_LAUNCH (ags_file_launch_get_type())
+#define AGS_FILE_LAUNCH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_LAUNCH, AgsFileLaunch))
+#define AGS_FILE_LAUNCH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_LAUNCH, AgsFileLaunchClass))
+#define AGS_IS_FILE_LAUNCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_LAUNCH))
+#define AGS_IS_FILE_LAUNCH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_LAUNCH))
+#define AGS_FILE_LAUNCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_LAUNCH, AgsFileLaunchClass))
+
+typedef struct _AgsFileLaunch AgsFileLaunch;
+typedef struct _AgsFileLaunchClass AgsFileLaunchClass;
+
+struct _AgsFileLaunch
+{
+ GObject object;
+
+ GObject *ags_main;
+
+ xmlNode *node;
+ GObject *file;
+};
+
+struct _AgsFileLaunchClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsFileLaunch *file_launch);
+};
+
+GType ags_file_launch_get_type(void);
+
+void ags_file_launch_start(AgsFileLaunch *file_launch);
+
+/* */
+AgsFileLaunch* ags_file_launch_new();
+
+#endif /*__AGS_FILE_LAUNCH_H__*/
diff --git a/src/ags/file/ags_file_link.c b/src/ags/file/ags_file_link.c
new file mode 100644
index 0000000..ffd3d5c
--- /dev/null
+++ b/src/ags/file/ags_file_link.c
@@ -0,0 +1,258 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_link.h>
+
+void ags_file_link_class_init(AgsFileLinkClass *file_link);
+void ags_file_link_init(AgsFileLink *file_link);
+void ags_file_link_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_file_link_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_file_link_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_file_link
+ * @short_description: link objects read of file.
+ * @title: AgsFileLink
+ * @section_id:
+ * @include: ags/file/ags_file_link.h
+ *
+ * The #AgsFileLink links read objects of file.
+ */
+
+enum{
+ PROP_0,
+ PROP_FILENAME,
+ PROP_DATA,
+ PROP_TIMESTAMP,
+};
+
+static gpointer ags_file_link_parent_class = NULL;
+
+GType
+ags_file_link_get_type()
+{
+ static GType ags_type_file_link = 0;
+
+ if(!ags_type_file_link){
+ static const GTypeInfo ags_file_link_info = {
+ sizeof (AgsFileLinkClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_file_link_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFileLink),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_file_link_init,
+ };
+
+ ags_type_file_link = g_type_register_static(G_TYPE_OBJECT,
+ "AgsFileLink\0",
+ &ags_file_link_info,
+ 0);
+ }
+
+ return (ags_type_file_link);
+}
+
+void
+ags_file_link_class_init(AgsFileLinkClass *file_link)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_file_link_parent_class = g_type_class_peek_parent(file_link);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) file_link;
+
+ gobject->set_property = ags_file_link_set_property;
+ gobject->get_property = ags_file_link_get_property;
+
+ gobject->finalize = ags_file_link_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_string("filename\0",
+ "the filename\0",
+ "The filename to locate the file\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILENAME,
+ param_spec);
+
+ param_spec = g_param_spec_string("data\0",
+ "the data\0",
+ "The embedded data\0",
+ NULL,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DATA,
+ param_spec);
+
+ param_spec = g_param_spec_object("timestamp\0",
+ "timestamp\0",
+ "The timestamp\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_TIMESTAMP,
+ param_spec);
+}
+
+void
+ags_file_link_init(AgsFileLink *file_link)
+{
+ file_link->filename = NULL;
+ file_link->data = NULL;
+ file_link->timestamp = NULL;
+}
+
+void
+ags_file_link_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileLink *file_link;
+
+ file_link = AGS_FILE_LINK(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ {
+ char *filename;
+
+ filename = (char *) g_value_get_string(value);
+
+ if(filename == file_link->filename){
+ return;
+ }
+
+ file_link->filename = g_strdup(filename);
+ }
+ break;
+ case PROP_DATA:
+ {
+ char *data;
+
+ data = (char *) g_value_get_string(value);
+
+ if(data == file_link->data){
+ return;
+ }
+
+ file_link->data = data;
+ }
+ break;
+ case PROP_TIMESTAMP:
+ {
+ GObject *timestamp;
+
+ timestamp = (GObject *) g_value_get_object(value);
+
+ if(timestamp == file_link->timestamp){
+ return;
+ }
+
+ if(file_link->timestamp != NULL){
+ g_object_unref(file_link->timestamp);
+ }
+
+ if(timestamp != NULL){
+ g_object_ref(timestamp);
+ }
+
+ file_link->timestamp = timestamp;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_link_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileLink *file_link;
+
+ file_link = AGS_FILE_LINK(gobject);
+
+ switch(prop_id){
+ case PROP_FILENAME:
+ {
+ g_value_set_string(value, file_link->filename);
+ }
+ break;
+ case PROP_DATA:
+ {
+ g_value_set_string(value, file_link->data);
+ }
+ break;
+ case PROP_TIMESTAMP:
+ {
+ g_value_set_object(value, file_link->timestamp);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_link_finalize(GObject *gobject)
+{
+ AgsFileLink *file_link;
+
+ file_link = AGS_FILE_LINK(gobject);
+
+ if(file_link->timestamp != NULL){
+ g_object_unref(file_link->timestamp);
+ }
+}
+
+/**
+ * ags_file_link_new:
+ *
+ * Creates an #AgsFileLink
+ *
+ * Returns: a new #AgsFileLink
+ *
+ * Since: 0.4
+ */
+AgsFileLink*
+ags_file_link_new()
+{
+ AgsFileLink *file_link;
+
+ file_link = (AgsFileLink *) g_object_new(AGS_TYPE_FILE_LINK,
+ NULL);
+
+ return(file_link);
+}
diff --git a/src/ags/file/ags_file_link.h b/src/ags/file/ags_file_link.h
new file mode 100644
index 0000000..d8e7426
--- /dev/null
+++ b/src/ags/file/ags_file_link.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_LINK_H__
+#define __AGS_FILE_LINK_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_timestamp.h>
+
+#define AGS_TYPE_FILE_LINK (ags_file_link_get_type())
+#define AGS_FILE_LINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_LINK, AgsFileLink))
+#define AGS_FILE_LINK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_FILE_LINK, AgsFileLink))
+#define AGS_IS_FILE_LINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_LINK))
+#define AGS_IS_FILE_LINK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_LINK))
+#define AGS_FILE_LINK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_FILE_LINK, AgsFileLinkClass))
+
+typedef struct _AgsFileLink AgsFileLink;
+typedef struct _AgsFileLinkClass AgsFileLinkClass;
+
+struct _AgsFileLink
+{
+ GObject object;
+
+ gchar *filename;
+ gchar *data;
+ AgsTimestamp *timestamp;
+};
+
+struct _AgsFileLinkClass
+{
+ GObjectClass object;
+};
+
+GType ags_file_link_get_type();
+
+AgsFileLink* ags_file_link_new();
+
+#endif /*__AGS_FILE_LINK_H__*/
diff --git a/src/ags/file/ags_file_lookup.c b/src/ags/file/ags_file_lookup.c
new file mode 100644
index 0000000..51e3f1f
--- /dev/null
+++ b/src/ags/file/ags_file_lookup.c
@@ -0,0 +1,283 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_lookup.h>
+
+void ags_file_lookup_class_init(AgsFileLookupClass *file_lookup);
+void ags_file_lookup_init (AgsFileLookup *file_lookup);
+void ags_file_lookup_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_file_lookup_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_file_lookup_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_file_lookup
+ * @short_description: resolve objects read of file.
+ * @title: AgsFileLookup
+ * @section_id:
+ * @include: ags/file/ags_file_lookup.h
+ *
+ * The #AgsFileLookup resolve objects of file.
+ */
+
+enum{
+ RESOLVE,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_FILE,
+ PROP_NODE,
+ PROP_REFERENCE,
+};
+
+static gpointer ags_file_lookup_parent_class = NULL;
+static guint file_lookup_signals[LAST_SIGNAL];
+
+GType
+ags_file_lookup_get_type (void)
+{
+ static GType ags_type_file_lookup = 0;
+
+ if(!ags_type_file_lookup){
+ static const GTypeInfo ags_file_lookup_info = {
+ sizeof (AgsFileLookupClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_file_lookup_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFileLookup),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_file_lookup_init,
+ };
+
+ ags_type_file_lookup = g_type_register_static(G_TYPE_OBJECT,
+ "AgsFileLookup\0",
+ &ags_file_lookup_info,
+ 0);
+ }
+
+ return (ags_type_file_lookup);
+}
+
+void
+ags_file_lookup_class_init(AgsFileLookupClass *file_lookup)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_file_lookup_parent_class = g_type_class_peek_parent(file_lookup);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) file_lookup;
+
+ gobject->get_property = ags_file_lookup_get_property;
+ gobject->set_property = ags_file_lookup_set_property;
+
+ gobject->finalize = ags_file_lookup_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("file\0",
+ "assigned file\0",
+ "The file it is assigned with\0",
+ AGS_TYPE_FILE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILE,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("node\0",
+ "assigned node\0",
+ "The node it is assigned with\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_NODE,
+ param_spec);
+
+ param_spec = g_param_spec_pointer("reference\0",
+ "assigned reference\0",
+ "The reference it is assigned with\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_REFERENCE,
+ param_spec);
+
+ /* AgsFileLookupClass */
+ file_lookup->resolve = NULL;
+
+ file_lookup_signals[RESOLVE] =
+ g_signal_new("resolve\0",
+ G_TYPE_FROM_CLASS(file_lookup),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsFileLookupClass, resolve),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_file_lookup_init(AgsFileLookup *file_lookup)
+{
+ file_lookup->file = NULL;
+
+ file_lookup->node = NULL;
+ file_lookup->ref = NULL;
+}
+
+void
+ags_file_lookup_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileLookup *file_lookup;
+
+ file_lookup = AGS_FILE_LOOKUP(gobject);
+
+ switch(prop_id){
+ case PROP_FILE:
+ {
+ AgsFile *file;
+
+ file = (AgsFile *) g_value_get_object(value);
+
+ if(file_lookup->file == file){
+ return;
+ }
+
+ if(file_lookup->file != NULL){
+ g_object_unref(G_OBJECT(file_lookup->file));
+ }
+
+ if(file != NULL){
+ g_object_ref(file);
+ }
+
+ file_lookup->file = file;
+ }
+ break;
+ case PROP_NODE:
+ {
+ xmlNode *node;
+
+ node = (xmlNode *) g_value_get_pointer(value);
+
+ file_lookup->node = node;
+ }
+ break;
+ case PROP_REFERENCE:
+ {
+ gpointer ref;
+
+ ref = (gpointer) g_value_get_pointer(value);
+
+ file_lookup->ref = ref;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_lookup_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsFileLookup *file_lookup;
+
+ file_lookup = AGS_FILE_LOOKUP(gobject);
+
+ switch(prop_id){
+ case PROP_FILE:
+ g_value_set_object(value, file_lookup->file);
+ break;
+ case PROP_NODE:
+ g_value_set_pointer(value, file_lookup->node);
+ break;
+ case PROP_REFERENCE:
+ g_value_set_pointer(value, file_lookup->ref);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_file_lookup_finalize(GObject *gobject)
+{
+ AgsFileLookup *file_lookup;
+
+ file_lookup = AGS_FILE_LOOKUP(gobject);
+
+ if(file_lookup->file != NULL){
+ g_object_unref(G_OBJECT(file_lookup->file));
+ }
+}
+
+void
+ags_file_lookup_resolve(AgsFileLookup *file_lookup)
+{
+ g_return_if_fail(AGS_IS_FILE_LOOKUP(file_lookup));
+
+ g_object_ref((GObject *) file_lookup);
+ g_signal_emit(G_OBJECT(file_lookup),
+ file_lookup_signals[RESOLVE], 0);
+ g_object_unref((GObject *) file_lookup);
+}
+
+GList*
+ags_file_lookup_find_by_node(GList *file_lookup,
+ xmlNode *node)
+{
+ while(file_lookup != NULL && AGS_FILE_LOOKUP(file_lookup->data)->node != node){
+ file_lookup = file_lookup->next;
+ }
+
+ return(file_lookup);
+}
+
+/**
+ * ags_file_lookup_new:
+ *
+ * Creates an #AgsFileLookup
+ *
+ * Returns: a new #AgsFileLookup
+ *
+ * Since: 0.4
+ */
+AgsFileLookup*
+ags_file_lookup_new()
+{
+ AgsFileLookup *file_lookup;
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ NULL);
+
+ return(file_lookup);
+}
diff --git a/src/ags/file/ags_file_lookup.h b/src/ags/file/ags_file_lookup.h
new file mode 100644
index 0000000..decde28
--- /dev/null
+++ b/src/ags/file/ags_file_lookup.h
@@ -0,0 +1,66 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_LOOKUP_H__
+#define __AGS_FILE_LOOKUP_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/file/ags_file.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_FILE_LOOKUP (ags_file_lookup_get_type())
+#define AGS_FILE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_LOOKUP, AgsFileLookup))
+#define AGS_FILE_LOOKUP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_LOOKUP, AgsFileLookupClass))
+#define AGS_IS_FILE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_LOOKUP))
+#define AGS_IS_FILE_LOOKUP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_LOOKUP))
+#define AGS_FILE_LOOKUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_LOOKUP, AgsFileLookupClass))
+
+typedef struct _AgsFileLookup AgsFileLookup;
+typedef struct _AgsFileLookupClass AgsFileLookupClass;
+
+struct _AgsFileLookup
+{
+ GObject object;
+
+ AgsFile *file;
+
+ xmlNode *node;
+ gpointer ref;
+};
+
+struct _AgsFileLookupClass
+{
+ GObjectClass object;
+
+ void (*resolve)(AgsFileLookup *lookup);
+};
+
+GType ags_file_lookup_get_type(void);
+
+GList* ags_file_lookup_find_by_node(GList *file_lookup,
+ xmlNode *node);
+
+void ags_file_lookup_resolve(AgsFileLookup *lookup);
+
+/* */
+AgsFileLookup* ags_file_lookup_new();
+
+#endif /*__AGS_FILE_LOOKUP_H__*/
diff --git a/src/ags/file/ags_file_read.h b/src/ags/file/ags_file_read.h
new file mode 100644
index 0000000..26d613b
--- /dev/null
+++ b/src/ags/file/ags_file_read.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_READ_H__
+#define __AGS_FILE_READ_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+#include <libxml/tree.h>
+
+#define AGS_TYPE_FILE_READ (ags_file_read_get_type())
+#define AGS_FILE_READ(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_READ, AgsFileRead))
+#define AGS_FILE_READ_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_READ, AgsFileReadClass))
+#define AGS_IS_FILE_READ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_READ))
+#define AGS_IS_FILE_READ_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_READ))
+#define AGS_FILE_READ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_READ, AgsFileReadClass))
+
+typedef struct _AgsFileRead AgsFileRead;
+typedef struct _AgsFileReadClass AgsFileReadClass;
+
+struct _AgsFileRead
+{
+ GObject object;
+};
+
+struct _AgsFileReadClass
+{
+ GObjectClass object;
+};
+
+GType ags_file_read_get_type(void);
+
+AgsFileRead* ags_file_read_new();
+
+#endif /*__AGS_FILE_READ_H__*/
diff --git a/src/ags/file/ags_file_sound.c b/src/ags/file/ags_file_sound.c
new file mode 100644
index 0000000..ecb3dc0
--- /dev/null
+++ b/src/ags/file/ags_file_sound.c
@@ -0,0 +1,5296 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+//TODO:JK: add file to AgsFileIdRef
+#include <ags/file/ags_file_sound.h>
+
+#include <libxml/parser.h>
+#include <libxml/xlink.h>
+#include <libxml/xpath.h>
+
+#include <ags/main.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/object/ags_plugin.h>
+#include <ags/object/ags_packable.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+
+#include <ags/audio/ags_recall_audio.h>
+#include <ags/audio/ags_recall_audio_run.h>
+#include <ags/audio/ags_recall_channel.h>
+#include <ags/audio/ags_recall_channel_run.h>
+#include <ags/audio/ags_recall_recycling.h>
+#include <ags/audio/ags_recall_audio_signal.h>
+
+#define AGS_FILE_READ_PORT_LIST_PORT_RESOLVED_COUNTER "ags-file-read-port-list-port-resolved-counter\0"
+
+void ags_file_read_audio_resolve_devout(AgsFileLookup *file_lookup,
+ AgsAudio *audio);
+void ags_file_write_audio_resolve_devout(AgsFileLookup *file_lookup,
+ AgsAudio *audio);
+
+void ags_file_read_channel_resolve_link(AgsFileLookup *file_lookup,
+ AgsChannel *channel);
+void ags_file_write_channel_resolve_link(AgsFileLookup *file_lookup,
+ AgsChannel *channel);
+
+void ags_file_read_recall_container_resolve_value(AgsFileLookup *file_lookup,
+ AgsRecallContainer *recall_container);
+
+void ags_file_read_recall_resolve_audio(AgsFileLookup *file_lookup,
+ AgsRecall *recall);
+void ags_file_read_recall_resolve_channel(AgsFileLookup *file_lookup,
+ AgsRecall *recall);
+void ags_file_read_recall_resolve_port(AgsFileLookup *file_lookup,
+ AgsRecall *recall);
+void ags_file_read_recall_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsRecall *recall);
+void ags_file_read_recall_resolve_devout(AgsFileLookup *file_lookup,
+ AgsRecall *recall);
+void ags_file_write_recall_resolve_devout(AgsFileLookup *file_lookup,
+ AgsRecall *recall);
+
+void ags_file_read_pattern_resolve_port(AgsFileLookup *file_lookup,
+ AgsPattern *pattern);
+void ags_file_write_pattern_resolve_port(AgsFileLookup *file_lookup,
+ AgsPattern *pattern);
+
+void ags_file_read_notation_resolve_port(AgsFileLookup *file_lookup,
+ AgsNotation *notation);
+void ags_file_write_notation_resolve_port(AgsFileLookup *file_lookup,
+ AgsNotation *notation);
+
+void ags_file_read_port_resolve_port_value(AgsFileLookup *file_lookup,
+ AgsPort *port);
+
+void ags_file_read_task_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsTask *task);
+
+void
+ags_file_read_devout(AgsFile *file, xmlNode *node, AgsDevout **devout)
+{
+ AgsDevout *gobject;
+ xmlNode *child;
+ xmlChar *prop, *content;
+
+ if(*devout == NULL){
+ gobject = g_object_new(AGS_TYPE_DEVOUT,
+ NULL);
+ *devout = gobject;
+ }else{
+ gobject = *devout;
+ }
+
+ g_object_set(G_OBJECT(gobject),
+ "main\0", file->ags_main,
+ NULL);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+ gobject->flags &= (~(AGS_DEVOUT_BUFFER1 |
+ AGS_DEVOUT_BUFFER2 |
+ AGS_DEVOUT_BUFFER3 |
+ AGS_DEVOUT_PLAY));
+
+ gobject->dsp_channels = (guint) g_ascii_strtoull(xmlGetProp(node, "dsp-channels\0"),
+ NULL,
+ 10);
+ gobject->pcm_channels = (guint) g_ascii_strtoull(xmlGetProp(node, "pcm-channels\0"),
+ NULL,
+ 10);
+
+ gobject->bits = (guint) g_ascii_strtoull(xmlGetProp(node, "bits\0"),
+ NULL,
+ 10);
+ gobject->buffer_size = (guint) g_ascii_strtoull(xmlGetProp(node, "buffer-size\0"),
+ NULL,
+ 10);
+ gobject->frequency = (guint) g_ascii_strtoull(xmlGetProp(node, "frequency\0"),
+ NULL,
+ 10);
+
+ gobject->bpm = (gdouble) g_ascii_strtod(xmlGetProp(node, "bpm\0"),
+ NULL);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-audio-list\0",
+ 15)){
+ GList *list;
+
+ list = NULL;
+
+ ags_file_read_audio_list(file,
+ child,
+ &list);
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(list->data),
+ "devout\0", gobject,
+ NULL);
+
+ ags_devout_add_audio(gobject,
+ G_OBJECT(list->data));
+
+ list = list->next;
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-attack-data\0",
+ 15)){
+ xmlChar *checksum;
+
+ checksum = xmlGetProp(child,
+ "checksum\0");
+ content = xmlNodeGetContent(child);
+
+ if(!xmlStrncmp(ags_file_str2md5(content,
+ strlen(content)),
+ checksum,
+ AGS_FILE_CHECKSUM_LENGTH)){
+ xmlChar *str, *endptr;
+ guint i;
+
+ str = content;
+
+ for(i = 0; i < (int) ceil(2.0 * AGS_DEVOUT_DEFAULT_PERIOD); i++){
+ gobject->attack[i] = (guint) g_ascii_strtoull((gchar *) str,
+ (gchar **) &endptr,
+ 10);
+ str = endptr;
+ }
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-delay-data\0",
+ 14)){
+ xmlChar *checksum;
+ guint i;
+
+ checksum = xmlGetProp(child,
+ "checksum\0");
+ content = xmlNodeGetContent(child);
+
+ if(!xmlStrncmp(ags_file_str2md5(content,
+ strlen(content)),
+ checksum,
+ AGS_FILE_CHECKSUM_LENGTH)){
+ xmlChar *str, *endptr;
+
+ str = content;
+
+ for(i = 0; i < (int) ceil(2.0 * AGS_DEVOUT_DEFAULT_PERIOD); i++){
+ gobject->delay[i] = (gdouble) g_ascii_strtod((gchar *) str,
+ (gchar **) &endptr);
+ str = endptr;
+ }
+ }
+ }
+ }
+
+ child = child->next;
+ }
+
+ gobject->delay_counter = (guint) g_ascii_strtoull(xmlGetProp(node, "delay-counter\0"),
+ NULL,
+ 10);
+
+ if((AGS_DEVOUT_LIBAO & (gobject->flags)) != 0){
+ //TODO:JK: implement me
+ }else if((AGS_DEVOUT_OSS & (gobject->flags)) != 0){
+ gobject->out.oss.device = xmlGetProp(node, "device\0");
+ }else if((AGS_DEVOUT_ALSA & (gobject->flags)) != 0){
+ gobject->out.alsa.device = xmlGetProp(node, "device\0");
+ }
+}
+
+xmlNode*
+ags_file_write_devout(AgsFile *file, xmlNode *parent, AgsDevout *devout)
+{
+ xmlNode *node, *child;
+ gchar *id;
+ xmlChar *checksum;
+ xmlChar *content;
+ xmlChar *str;
+ guint value;
+ guint i;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-devout\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", devout,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", devout->flags));
+
+ xmlNewProp(node,
+ "dsp-channels\0",
+ g_strdup_printf("%d\0", devout->dsp_channels));
+ xmlNewProp(node,
+ "pcm-channels\0",
+ g_strdup_printf("%d\0", devout->pcm_channels));
+
+ xmlNewProp(node,
+ "bits\0",
+ g_strdup_printf("%d\0", devout->bits));
+ xmlNewProp(node,
+ "buffer-size\0",
+ g_strdup_printf("%d\0", devout->buffer_size));
+ xmlNewProp(node,
+ "frequency\0",
+ g_strdup_printf("%d\0", devout->frequency));
+
+ xmlNewProp(node,
+ "bpm\0",
+ g_strdup_printf("%f\0", devout->bpm));
+
+ /* ags-audio-list */
+ ags_file_write_audio_list(file,
+ node,
+ devout->audio);
+
+ /* ags-delay-data */
+ child = xmlNewNode(NULL,
+ "ags-delay-data\0");
+ content = NULL;
+
+ for(i = 0; i < (int) ceil(2 * AGS_DEVOUT_DEFAULT_PERIOD); i++){
+ str = content;
+
+ if(str != NULL){
+ content = g_strdup_printf("%s%f\n\0", content, devout->delay[i]);
+ g_free(str);
+ }else{
+ content = g_strdup_printf("%f\n\0", devout->delay[i]);
+ }
+ }
+
+ xmlNodeSetContent(child,
+ content);
+
+ checksum = ags_file_str2md5(content,
+ strlen(content));
+
+
+ xmlNewProp(child,
+ "checksum\0",
+ checksum);
+
+ xmlAddChild(node,
+ child);
+
+ /* ags-attack-data */
+ child = xmlNewNode(NULL,
+ "ags-attack-data\0");
+ content = NULL;
+
+ for(i = 0; i < (int) ceil(2 * AGS_DEVOUT_DEFAULT_PERIOD); i++){
+ str = content;
+
+ if(str != NULL){
+ content = g_strdup_printf("%s%d\n\0", content, devout->attack[i]);
+ g_free(str);
+ }else{
+ content = g_strdup_printf("%d\n\0", devout->attack[i]);
+ }
+ }
+
+ xmlNodeSetContent(child,
+ content);
+
+ checksum = ags_file_str2md5(content,
+ strlen(content));
+
+ xmlNewProp(child,
+ "checksum\0",
+ checksum);
+
+ xmlAddChild(node,
+ child);
+
+ /* */
+ xmlNewProp(node,
+ "delay-counter\0",
+ g_strdup_printf("%u\0", devout->delay_counter));
+
+ xmlNewProp(node,
+ "device\0",
+ g_strdup(devout->out.alsa.device));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_file_read_devout_list(AgsFile *file, xmlNode *node, GList **devout)
+{
+ AgsDevout *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-devout\0",
+ 11)){
+ current = NULL;
+ ags_file_read_devout(file, child, ¤t);
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *devout = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_devout_list(AgsFile *file, xmlNode *parent, GList *devout)
+{
+ AgsDevout *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-devout-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = devout;
+
+ while(list != NULL){
+ ags_file_write_devout(file, node, AGS_DEVOUT(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_devout_play(AgsFile *file, xmlNode *node, AgsDevoutPlay **play)
+{
+ AgsDevoutPlay *pointer;
+ gchar *id;
+
+ if(*play == NULL){
+ pointer = ags_devout_play_alloc();
+ *play = pointer;
+ }else{
+ pointer = *play;
+ }
+
+ id = xmlGetProp(node,
+ AGS_FILE_ID_PROP);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", pointer,
+ NULL));
+
+ pointer->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ pointer->audio_channel = (guint) g_ascii_strtoull(xmlGetProp(node, "audio-channel\0"),
+ NULL,
+ 10);
+
+ // read by parent call: play->source
+}
+
+xmlNode*
+ags_file_write_devout_play(AgsFile *file, xmlNode *parent, AgsDevoutPlay *play)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-devout-play\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", play,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", play->flags));
+
+ xmlNewProp(node,
+ "audio-channel\0",
+ g_strdup_printf("%d\0", play->audio_channel));
+
+ // write by parent call: play->source
+
+ return(node);
+}
+
+void
+ags_file_read_devout_play_list(AgsFile *file, xmlNode *node, GList **play)
+{
+ GList *list;
+ AgsDevoutPlay *current;
+ xmlNode *child;
+ gchar *id;
+
+ id = xmlGetProp(node,
+ AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-devout-play\0",
+ 16)){
+ current = NULL;
+ ags_file_read_devout_play(file, child, ¤t);
+
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *play = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_devout_play_list(AgsFile *file, xmlNode *parent, GList *play)
+{
+ AgsDevout *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-devout-play-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", play,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = play;
+
+ while(list != NULL){
+ ags_file_write_devout_play(file, node, AGS_DEVOUT_PLAY(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_audio(AgsFile *file, xmlNode *node, AgsAudio **audio)
+{
+ AgsAudio *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+ guint pads;
+
+ if(audio[0] == NULL){
+ gobject = (AgsAudio *) g_object_new(AGS_TYPE_AUDIO,
+ NULL);
+ *audio = gobject;
+ }else{
+ gobject = *audio;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->sequence_length = (guint) g_ascii_strtoull(xmlGetProp(node, "sequence-length\0"),
+ NULL,
+ 10);
+
+ gobject->audio_channels = (guint) g_ascii_strtoull(xmlGetProp(node, "audio-channels\0"),
+ NULL,
+ 10);
+
+ pads= (guint) g_ascii_strtoull(xmlGetProp(node, "output-pads\0"),
+ NULL,
+ 10);
+ ags_audio_set_pads(gobject,
+ AGS_TYPE_OUTPUT,
+ pads);
+
+ pads = (guint) g_ascii_strtoull(xmlGetProp(node, "input-pads\0"),
+ NULL,
+ 10);
+ ags_audio_set_pads(gobject,
+ AGS_TYPE_INPUT,
+ pads);
+
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_audio_resolve_devout), gobject);
+
+ /* read child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-channel-list\0",
+ 17)){
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+
+ xpath_context = xmlXPathNewContext(file->doc);
+ // xmlXPathSetContextNode(child,
+ // xpath_context);
+ xpath_context->node = child;
+
+ xpath_object = xmlXPathEval("./ags-channel/ags-output\0",
+ xpath_context);
+
+ if(xmlXPathCastToBoolean(xpath_object)){
+ xmlNode *channel_node;
+
+ channel_node = child->children;
+
+ while(channel_node != NULL){
+ if(channel_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(channel_node->name,
+ "ags-channel\0",
+ 12)){
+ AgsChannel *channel;
+ guint pad, audio_channel;
+
+ pad = (guint) g_ascii_strtoull(xmlGetProp(channel_node,
+ "pad\0"),
+ NULL,
+ 10);
+ audio_channel = (guint) g_ascii_strtoull(xmlGetProp(channel_node,
+ "audio-channel\0"),
+ NULL,
+ 10);
+
+ channel = ags_channel_nth(gobject->output,
+ pad * gobject->audio_channels + audio_channel);
+
+ /* ags-channel output */
+ ags_file_read_channel(file,
+ channel_node,
+ &channel);
+ g_object_set(channel,
+ "audio\0", gobject,
+ NULL);
+ }
+ }
+
+ channel_node = channel_node->next;
+ }
+ }else{
+ xmlNode *channel_node;
+
+ channel_node = child->children;
+
+ while(channel_node != NULL){
+ if(channel_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(channel_node->name,
+ "ags-channel\0",
+ 12)){
+ AgsChannel *channel;
+ guint pad, audio_channel;
+
+ pad = (guint) g_ascii_strtoull(xmlGetProp(channel_node,
+ "pad\0"),
+ NULL,
+ 10);
+ audio_channel = (guint) g_ascii_strtoull(xmlGetProp(channel_node,
+ "audio-channel\0"),
+ NULL,
+ 10);
+
+ channel = ags_channel_nth(gobject->input,
+ pad * gobject->audio_channels + audio_channel);
+
+ /* ags-channel input */
+ ags_file_read_channel(file,
+ channel_node,
+ &channel);
+ g_object_set(channel,
+ "audio\0", gobject,
+ NULL);
+ }
+ }
+
+ channel_node = channel_node->next;
+ }
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-container-list\0",
+ 26)){
+ ags_file_read_recall_container_list(file,
+ child,
+ &(gobject->container));
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-list\0",
+ 15)){
+ GList *list;
+
+ if(!xmlStrncmp(xmlGetProp(child, "is-play\0"),
+ "TRUE\0",
+ 4)){
+
+ /* ags-recall-list play */
+ ags_file_read_recall_list(file,
+ child,
+ &list);
+ gobject->play = list;
+ }else{
+ /* ags-recall-list recall */
+ ags_file_read_recall_list(file,
+ child,
+ &list);
+
+ gobject->recall = list;
+ }
+
+ while(list != NULL){
+ g_object_ref(list->data);
+
+ list = list->next;
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-notation-list\0",
+ 17)){
+ /* ags-notation-list */
+ ags_file_read_notation_list(file,
+ child,
+ &(gobject->notation));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_audio_resolve_devout(AgsFileLookup *file_lookup,
+ AgsAudio *audio)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "devout\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ AgsDevout *devout;
+ AgsChannel *channel;
+ AgsAudioSignal *audio_signal;
+
+ devout = (AgsDevout *) id_ref->ref;
+
+ g_object_set(G_OBJECT(audio),
+ "devout\0", devout,
+ NULL);
+
+ /* create output audio signal template */
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ channel = audio->output;
+
+ while(channel != NULL){
+ audio_signal = ags_audio_signal_new(devout,
+ channel->first_recycling,
+ NULL);
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ ags_recycling_add_audio_signal(channel->first_recycling,
+ audio_signal);
+
+ channel = channel->next;
+ }
+ }
+
+ /* create input audio signal template */
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (audio->flags)) != 0){
+ channel = audio->input;
+
+ while(channel != NULL){
+ audio_signal = ags_audio_signal_new(devout,
+ channel->first_recycling,
+ NULL);
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ ags_recycling_add_audio_signal(channel->first_recycling,
+ audio_signal);
+
+ channel = channel->next;
+ }
+ }
+ }
+}
+
+xmlNode*
+ags_file_write_audio(AgsFile *file, xmlNode *parent, AgsAudio *audio)
+{
+ AgsFileLookup *file_lookup;
+ AgsChannel *channel;
+ xmlNode *node, *child;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-audio\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", audio,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", audio->flags));
+
+ xmlNewProp(node,
+ "sequence-length\0",
+ g_strdup_printf("%d\0", audio->sequence_length));
+
+ xmlNewProp(node,
+ "audio-channels\0",
+ g_strdup_printf("%d\0", audio->audio_channels));
+
+ xmlNewProp(node,
+ "output-pads\0",
+ g_strdup_printf("%d\0", audio->output_pads));
+
+ xmlNewProp(node,
+ "input-pads\0",
+ g_strdup_printf("%d\0", audio->input_pads));
+
+
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", audio,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_audio_resolve_devout), audio);
+
+ /* */
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ /* ags-channel-list output */
+ channel = audio->output;
+
+ child = xmlNewNode(NULL,
+ "ags-channel-list\0");
+ xmlAddChild(node,
+ child);
+
+ //TODO:JK: generate id and add id ref
+
+ while(channel != NULL){
+ ags_file_write_channel(file,
+ child,
+ channel);
+
+ channel = channel->next;
+ }
+
+ /* ags-channel-list input */
+ channel = audio->input;
+
+ child = xmlNewNode(NULL,
+ "ags-channel-list\0");
+ xmlAddChild(node,
+ child);
+
+ //TODO:JK: generate id and add id ref
+
+ while(channel != NULL){
+ ags_file_write_channel(file,
+ child,
+ channel);
+
+ channel = channel->next;
+ }
+
+ /* ags-recall-container */
+ ags_file_write_recall_container_list(file,
+ node,
+ audio->container);
+
+ /* ags-recall-list play */
+ child = ags_file_write_recall_list(file,
+ node,
+ audio->play);
+
+ xmlNewProp(child,
+ "is-play\0",
+ AGS_FILE_TRUE);
+
+ /* ags-recall-list recall */
+ child = ags_file_write_recall_list(file,
+ node,
+ audio->recall);
+
+ xmlNewProp(child,
+ "is-play\0",
+ AGS_FILE_FALSE);
+
+ /* ags-notation-list */
+ ags_file_write_notation_list(file,
+ node,
+ audio->notation);
+
+ return(node);
+}
+
+void
+ags_file_write_audio_resolve_devout(AgsFileLookup *file_lookup,
+ AgsAudio *audio)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, audio->devout);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "devout\0",
+ g_strdup_printf("xpath=//ags-devout[@id='%s']\0", id));
+}
+
+void
+ags_file_read_audio_list(AgsFile *file, xmlNode *node, GList **audio)
+{
+ AgsAudio *current;
+ GList *list;
+ xmlNode *child;
+
+ list = NULL;
+ child = node->children;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-audio\0",
+ 10)){
+ current = NULL;
+ ags_file_read_audio(file,
+ child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *audio = list;
+}
+
+xmlNode*
+ags_file_write_audio_list(AgsFile *file, xmlNode *parent, GList *audio)
+{
+ AgsAudio *current;
+ GList *list;
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-audio-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = audio;
+
+ while(list != NULL){
+ ags_file_write_audio(file,
+ node,
+ AGS_AUDIO(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_channel(AgsFile *file, xmlNode *node, AgsChannel **channel)
+{
+ AgsChannel *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+ gboolean preset;
+ guint pad, audio_channel;
+ gboolean is_output;
+
+ if(*channel == NULL){
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+
+ xpath_context = xmlXPathNewContext(file->doc);
+ // xmlXPathSetContextNode(node,
+ // xpath_context);
+ xpath_context->node = node;
+
+ xpath_object = xmlXPathEval("./ags-output\0",
+ xpath_context);
+
+
+ if(xmlXPathCastToBoolean(xpath_object)){
+ gobject = (AgsChannel *) g_object_new(AGS_TYPE_OUTPUT,
+ NULL);
+
+ is_output = TRUE;
+ }else{
+ gobject = (AgsChannel *) g_object_new(AGS_TYPE_INPUT,
+ NULL);
+
+ is_output = FALSE;
+ }
+
+ *channel = gobject;
+
+ preset = FALSE;
+ }else{
+ gobject = *channel;
+
+ if(AGS_IS_OUTPUT(gobject)){
+ is_output = TRUE;
+ }else{
+ is_output = FALSE;
+ }
+
+ preset = TRUE;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ /* well known properties */
+ pad = (guint) g_ascii_strtoull(xmlGetProp(node, "pad\0"),
+ NULL,
+ 10);
+ audio_channel = (guint) g_ascii_strtoull(xmlGetProp(node, "audio-channel\0"),
+ NULL,
+ 10);
+
+ if(!preset){
+ gobject->pad = pad;
+ gobject->audio_channel = audio_channel;
+ }
+
+
+ /* link */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", AGS_CHANNEL(gobject),
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_channel_resolve_link), AGS_CHANNEL(gobject));
+
+ /* */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-recycling\0",
+ 13)){
+ /* ags-recycling */
+ ags_file_read_recycling(file,
+ child,
+ &(gobject->first_recycling));
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-container-list\0",
+ 26)){
+ ags_file_read_recall_container_list(file,
+ child,
+ &(gobject->container));
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-list\0",
+ 15)){
+ GList *list;
+
+ if(!xmlStrncmp(xmlGetProp(child, "is-play\0"),
+ "TRUE\0",
+ 4)){
+ /* ags-recall-list play */
+ ags_file_read_recall_list(file,
+ child,
+ &list);
+
+ gobject->play = list;
+ }else{
+ /* ags-recall-list recall */
+ ags_file_read_recall_list(file,
+ child,
+ &list);
+
+ gobject->recall = list;
+ }
+
+ while(list != NULL){
+ g_object_ref(list->data);
+
+ list = list->next;
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-pattern-list\0",
+ 17)){
+ g_list_free_full(gobject->pattern,
+ g_object_unref);
+ gobject->pattern = NULL;
+
+ /* ags-pattern-list */
+ ags_file_read_pattern_list(file,
+ child,
+ &(gobject->pattern));
+ }else if(!xmlStrncmp(child->name,
+ "ags-output\0",
+ 10)){
+ /* ags-output */
+ ags_file_read_output(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-input\0",
+ 9)){
+ /* ags-input */
+ ags_file_read_input(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-devout-play\0",
+ 15)){
+ /* ags-devout-play */
+ ags_file_read_devout_play(file,
+ child,
+ (AgsDevoutPlay **) &gobject->devout_play);
+ AGS_DEVOUT_PLAY(gobject->devout_play)->source = (GObject *) gobject;
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_channel_resolve_link(AgsFileLookup *file_lookup,
+ AgsChannel *channel)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "link\0");
+
+ if(xpath == NULL){
+ return;
+ }
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ GError *error;
+
+ error = NULL;
+
+ if(channel->link == NULL){
+ ags_channel_set_link(channel,
+ (AgsChannel *) id_ref->ref,
+ &error);
+ }
+ }
+}
+
+xmlNode*
+ags_file_write_channel(AgsFile *file, xmlNode *parent, AgsChannel *channel)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ gchar *id, *link_id;
+ gboolean is_output;
+
+ id = ags_id_generator_create_uuid();
+
+ if(AGS_IS_OUTPUT(channel)){
+ is_output = TRUE;
+ }else{
+ is_output = FALSE;
+ }
+
+ node = xmlNewNode(NULL,
+ "ags-channel\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", AGS_CHANNEL(channel),
+ NULL));
+
+ /* well known properties */
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", channel->flags));
+
+ xmlNewProp(node,
+ "pad\0",
+ g_strdup_printf("%d\0", channel->pad));
+ xmlNewProp(node,
+ "audio-channel\0",
+ g_strdup_printf("%d\0", channel->audio_channel));
+
+
+ /* link */
+ if(channel->link != NULL){
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", AGS_CHANNEL(channel),
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_channel_resolve_link), AGS_CHANNEL(channel));
+ }
+
+ xmlAddChild(parent,
+ node);
+
+ /* ags-recycling */
+ if(is_output){
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (AGS_AUDIO(channel->audio)->flags)) != 0){
+ ags_file_write_recycling(file,
+ node,
+ channel->first_recycling);
+ }
+ }else{
+ if((AGS_AUDIO_INPUT_HAS_RECYCLING & (AGS_AUDIO(channel->audio)->flags)) != 0){
+ ags_file_write_recycling(file,
+ node,
+ channel->first_recycling);
+ }
+ }
+
+ /* ags-recall-container */
+ if(g_list_find(AGS_AUDIO(channel->audio)->container,
+ channel->container) != NULL){
+ ags_file_write_recall_container_list(file,
+ node,
+ channel->container);
+ }
+
+ /* ags-recall-list play */
+ child = ags_file_write_recall_list(file,
+ node,
+ channel->play);
+
+ xmlNewProp(child,
+ "is-play\0",
+ AGS_FILE_TRUE);
+
+ /* ags-recall-list recall */
+ child = ags_file_write_recall_list(file,
+ node,
+ channel->recall);
+
+ xmlNewProp(child,
+ "is-play\0",
+ AGS_FILE_FALSE);
+
+ /* ags-pattern-list */
+ if(channel->pattern != NULL){
+ ags_file_write_pattern_list(file,
+ node,
+ channel->pattern);
+ }
+
+ /* ags-input or ags-output */
+ if(AGS_IS_OUTPUT(channel)){
+ ags_file_write_output(file,
+ node,
+ channel);
+ }else{
+ ags_file_write_input(file,
+ node,
+ channel);
+ }
+
+ /* ags-devout-play */
+ child = ags_file_write_devout_play(file,
+ node,
+ channel->devout_play);
+
+ return(node);
+}
+
+void
+ags_file_write_channel_resolve_link(AgsFileLookup *file_lookup,
+ AgsChannel *channel)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, AGS_CHANNEL(channel->link));
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "link\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+}
+
+void
+ags_file_read_channel_list(AgsFile *file, xmlNode *node, GList **channel)
+{
+ AgsChannel *current;
+ xmlNode *child;
+ GList *list;
+
+ list = NULL;
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-channel\0",
+ 12)){
+ current = NULL;
+ ags_file_read_channel(file,
+ child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *channel = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_channel_list(AgsFile *file, xmlNode *parent, GList *channel)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-channel-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", channel,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = channel;
+
+ while(list != NULL){
+ ags_file_write_channel(file,
+ node,
+ AGS_CHANNEL(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_input(AgsFile *file, xmlNode *node, AgsChannel *channel)
+{
+ AgsInput *input;
+ xmlNode *child;
+
+ input = AGS_INPUT(channel);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", input,
+ NULL));
+
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-file-link\0",
+ 13)){
+ ags_file_read_file_link(file,
+ child,
+ (AgsFileLink *) &(input->file_link));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_input(AgsFile *file, xmlNode *parent, AgsChannel *channel)
+{
+ AgsInput *input;
+ xmlNode *node;
+ gchar *id;
+
+ input = AGS_INPUT(channel);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-input\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", input,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ if(input->file_link != NULL){
+ ags_file_write_file_link(file,
+ node,
+ input->file_link);
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_output(AgsFile *file, xmlNode *node, AgsChannel *channel)
+{
+ AgsOutput *output;
+
+ output = AGS_OUTPUT(channel);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", output,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_output(AgsFile *file, xmlNode *parent, AgsChannel *channel)
+{
+ AgsOutput *output;
+ xmlNode *node;
+ gchar *id;
+
+ output = AGS_OUTPUT(channel);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-output\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", output,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_file_read_recall(AgsFile *file, xmlNode *node, AgsRecall **recall)
+{
+ AgsFileLookup *file_lookup;
+ AgsRecall *gobject;
+ xmlNode *child;
+ xmlChar *type_name;
+ static gboolean recall_type_is_registered = FALSE;
+
+ if(!recall_type_is_registered){
+ ags_main_register_recall_type();
+
+ recall_type_is_registered = TRUE;
+ }
+
+ if(*recall == NULL){
+ GType type;
+
+ type_name = xmlGetProp(node,
+ AGS_FILE_TYPE_PROP);
+
+ type = g_type_from_name(type_name);
+
+ gobject = g_object_new(type,
+ NULL);
+
+ *recall = gobject;
+ }else{
+ gobject = *recall;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->version = (gchar *) xmlGetProp(node,
+ AGS_FILE_VERSION_PROP);
+
+ gobject->build_id = (gchar *) xmlGetProp(node,
+ AGS_FILE_BUILD_ID_PROP);
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->flags |= AGS_RECALL_TEMPLATE;
+ gobject->flags &= (~(AGS_RECALL_CONNECTED |
+ AGS_RECALL_DYNAMIC_CONNECTED));
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_recall_resolve_devout), gobject);
+
+ /* audio */
+ if(AGS_IS_RECALL_AUDIO(gobject)){
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_recall_resolve_audio), gobject);
+ }
+
+ /* source and destination */
+ if(AGS_IS_RECALL_CHANNEL(gobject) ||
+ AGS_IS_RECALL_CHANNEL_RUN(gobject)){
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_recall_resolve_channel), gobject);
+ }
+
+ /* */
+ gobject->effect = (gchar *) xmlGetProp(node,
+ "effect\0");
+
+ gobject->name = (gchar *) xmlGetProp(node,
+ "name\0");
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-recall-audio\0",
+ 17)){
+ ags_file_read_recall_audio(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-audio-run\0",
+ 21)){
+ ags_file_read_recall_audio_run(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-channel\0",
+ 19)){
+ ags_file_read_recall_channel(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-channel-run\0",
+ 23)){
+ ags_file_read_recall_channel_run(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-recycling\0",
+ 21)){
+ ags_file_read_recall_recycling(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-audio-signal\0",
+ 24)){
+ ags_file_read_recall_audio_signal(file,
+ child,
+ gobject);
+ }else if(!xmlStrncmp(child->name,
+ "ags-recall-list\0",
+ 16)){
+ GList *list, *start;
+
+ ags_file_read_recall_list(file,
+ child,
+ &start);
+
+ list = start;
+
+ while(list != NULL){
+ g_object_set(G_OBJECT(gobject),
+ "child\0", AGS_RECALL(list->data),
+ NULL);
+
+ list = list->next;
+ }
+
+ g_list_free(start);
+ }else if(!xmlStrncmp(child->name,
+ "ags-port-list\0",
+ 14)){
+ AgsFileLookup *file_lookup;
+ GList *list;
+
+ list = NULL;
+
+ ags_file_read_port_list(file,
+ child,
+ &list);
+
+ ags_plugin_set_ports(AGS_PLUGIN(gobject),
+ list);
+ gobject->port = list;
+ }else if(!xmlStrncmp(child->name,
+ "ags-parameter\0",
+ 13)){
+ ags_file_util_read_parameter(file,
+ child, NULL,
+ &(gobject->child_parameters), NULL, NULL);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_recall_resolve_audio(AgsFileLookup *file_lookup,
+ AgsRecall *recall)
+{
+ AgsAudio *audio;
+ AgsFileIdRef *file_id_ref;
+ xmlNode *node;
+
+ audio = NULL;
+
+ node = file_lookup->node->parent->parent;
+ file_id_ref = ags_file_find_id_ref_by_node(file_lookup->file,
+ node);
+
+ if(file_id_ref != NULL){
+ audio = (AgsAudio *) file_id_ref->ref;
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "audio\0", AGS_AUDIO(audio),
+ NULL);
+}
+
+void
+ags_file_read_recall_resolve_channel(AgsFileLookup *file_lookup,
+ AgsRecall *recall)
+{
+ AgsChannel *source, *destination;
+ AgsFileIdRef *file_id_ref;
+ xmlNode *node;
+
+ source = NULL;
+ destination = NULL;
+
+ node = file_lookup->node->parent->parent;
+ file_id_ref = ags_file_find_id_ref_by_node(file_lookup->file,
+ node);
+
+ if(file_id_ref != NULL){
+ source = AGS_CHANNEL(file_id_ref->ref);
+
+ g_object_set(G_OBJECT(recall),
+ "source\0", source,
+ NULL);
+
+ if(AGS_IS_INPUT(source)){
+ if((AGS_AUDIO_ASYNC & (AGS_AUDIO(source->audio)->flags)) != 0){
+ destination = ags_channel_nth(AGS_AUDIO(source->audio)->output,
+ source->audio_channel);
+ }else{
+ destination = ags_channel_nth(AGS_AUDIO(source->audio)->output,
+ source->line);
+ }
+
+ g_object_set(G_OBJECT(recall),
+ "destination\0", AGS_CHANNEL(destination),
+ NULL);
+ }
+ }
+}
+
+void
+ags_file_read_recall_resolve_port(AgsFileLookup *file_lookup,
+ AgsRecall *recall)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_recall_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsRecall *recall)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_recall_resolve_devout(AgsFileLookup *file_lookup,
+ AgsRecall *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "devout\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file,
+ xpath);
+
+ if(id_ref != NULL){
+ recall->devout = (GObject *) id_ref->ref;
+ }
+}
+
+xmlNode*
+ags_file_write_recall(AgsFile *file, xmlNode *parent, AgsRecall *recall)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i;
+
+ if((AGS_RECALL_TEMPLATE & (recall->flags)) == 0){
+ return(NULL);
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ G_OBJECT_TYPE_NAME(recall));
+
+ xmlNewProp(node,
+ AGS_FILE_VERSION_PROP,
+ recall->version);
+
+ xmlNewProp(node,
+ AGS_FILE_BUILD_ID_PROP,
+ recall->build_id);
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", recall->flags));
+
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", recall,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_recall_resolve_devout), recall);
+
+ /* */
+ xmlNewProp(node,
+ "effect\0",
+ recall->effect);
+
+ xmlNewProp(node,
+ AGS_FILE_NAME_PROP,
+ recall->name);
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ if(AGS_IS_RECALL_AUDIO(recall)){
+ ags_file_write_recall_audio(file,
+ node,
+ recall);
+ }else if(AGS_IS_RECALL_AUDIO_RUN(recall)){
+ ags_file_write_recall_audio_run(file,
+ node,
+ recall);
+ }else if(AGS_IS_RECALL_CHANNEL(recall)){
+ ags_file_write_recall_channel(file,
+ node,
+ recall);
+ }else if(AGS_IS_RECALL_CHANNEL_RUN(recall)){
+ ags_file_write_recall_channel_run(file,
+ node,
+ recall);
+ }else if(AGS_IS_RECALL_RECYCLING(recall)){
+ ags_file_write_recall_recycling(file,
+ node,
+ recall);
+ }else if(AGS_IS_RECALL_AUDIO_SIGNAL(recall)){
+ ags_file_write_recall_audio_signal(file,
+ node,
+ recall);
+ }
+
+ if(recall->children != NULL){
+ ags_file_write_recall_list(file,
+ node,
+ recall->children);
+ }
+
+ if(recall->port != NULL){
+ ags_file_write_port_list(file,
+ node,
+ recall->port);
+ }
+
+ /* child parameters */
+ ags_file_util_write_parameter(file,
+ node,
+ ags_id_generator_create_uuid(),
+ recall->child_parameters, recall->n_params);
+
+ return(node);
+}
+
+void
+ags_file_write_recall_resolve_devout(AgsFileLookup *file_lookup,
+ AgsRecall *recall)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, recall->devout);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "devout\0",
+ g_strdup_printf("xpath=//ags-devout[@id='%s']\0", id));
+}
+
+void
+ags_file_read_recall_list(AgsFile *file, xmlNode *node, GList **recall)
+{
+ AgsRecall *current;
+ xmlNode *child;
+ GList *list;
+
+ list = NULL;
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-recall\0",
+ 11)){
+ current = NULL;
+ ags_file_read_recall(file,
+ child,
+ ¤t);
+
+ g_object_ref(current);
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *recall = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_recall_list(AgsFile *file, xmlNode *parent, GList *recall)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = recall;
+
+ while(list != NULL){
+ ags_file_write_recall(file,
+ node,
+ AGS_RECALL(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_recall_container(AgsFile *file, xmlNode *node, AgsRecallContainer **recall_container)
+{
+ AgsFileLookup *file_lookup;
+ AgsRecallContainer *gobject;
+ xmlNode *child;
+ xmlChar *type_name;
+
+ if(*recall_container == NULL){
+ gobject = g_object_new(AGS_TYPE_RECALL_CONTAINER,
+ NULL);
+
+ *recall_container = gobject;
+ }else{
+ gobject = *recall_container;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-parameter\0",
+ 14)){
+ AgsFileLookup *file_lookup;
+ xmlNode *value_node;
+ GList *list;
+
+ ags_file_util_read_parameter(file,
+ child, NULL,
+ NULL, NULL, NULL);
+
+ value_node = child->children;
+
+ while(value_node != NULL){
+ if(value_node->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(value_node->name,
+ "ags-value\0",
+ 10)){
+ list = ags_file_lookup_find_by_node(file->lookup,
+ value_node);
+
+ if(list != NULL){
+ file_lookup = AGS_FILE_LOOKUP(list->data);
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_recall_container_resolve_value), gobject);
+ }
+ }
+ }
+
+ value_node = value_node->next;
+ }
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_recall_container_resolve_value(AgsFileLookup *file_lookup,
+ AgsRecallContainer *recall_container)
+{
+ GObject *gobject;
+ GValue *value;
+
+ value = file_lookup->ref;
+
+ if(G_VALUE_HOLDS(value, G_TYPE_OBJECT)){
+ gobject = g_value_get_object(value);
+
+ if(gobject == NULL){
+ return;
+ }
+
+ g_object_set(gobject,
+ "recall-container\0", recall_container,
+ NULL);
+ }
+}
+
+xmlNode*
+ags_file_write_recall_container(AgsFile *file, xmlNode *parent, AgsRecallContainer *recall_container)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node;
+ GParameter *parameter;
+ GList *list;
+ gchar *id;
+ gint n_params;
+
+ auto GParameter* ags_file_write_recall_container_parameter(GList *list, GParameter *parameter, gchar *prop, gint *n_params);
+
+ GParameter* ags_file_write_recall_container_parameter(GList *list, GParameter *parameter, gchar *prop, gint *n_params){
+ gint i;
+
+ if(n_params == NULL){
+ i = 0;
+ }else{
+ i = *n_params;
+ }
+
+ while(list != NULL){
+ if((AGS_RECALL_TEMPLATE & (AGS_RECALL(list->data)->flags)) == 0){
+ list = list->next;
+ continue;
+ }
+
+ if(parameter == NULL){
+ parameter = (GParameter *) malloc(sizeof(GParameter));
+ }else{
+ parameter = (GParameter *) realloc(parameter,
+ (i + 1) * sizeof(GParameter));
+ }
+
+ parameter[i].name = prop;
+
+ memset(&(parameter[i].value), 0, sizeof(GValue));
+ g_value_init(&(parameter[i].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[i].value),
+ G_OBJECT(list->data));
+
+ list = list->next;
+ i++;
+ }
+
+ if(n_params != NULL){
+ *n_params = i;
+ }
+
+ return(parameter);
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-container\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_container,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ parameter = NULL;
+ n_params = 0;
+
+ if(recall_container->recall_audio != NULL){
+ parameter = (GParameter *) malloc(sizeof(GParameter));
+
+ parameter[0].name = "recall-audio\0";
+
+ memset(&(parameter[0].value), 0, sizeof(GValue));
+ g_value_init(&(parameter[0].value), G_TYPE_OBJECT);
+ g_value_set_object(&(parameter[0].value),
+ recall_container->recall_audio);
+
+ n_params++;
+ }
+
+ list = ags_recall_container_get_recall_audio_run(recall_container);
+ parameter = ags_file_write_recall_container_parameter(list, parameter, "recall-audio-run\0", &n_params);
+
+ list = ags_recall_container_get_recall_channel(recall_container);
+ parameter = ags_file_write_recall_container_parameter(list, parameter, "recall-channel\0", &n_params);
+
+ list = ags_recall_container_get_recall_channel_run(recall_container);
+ parameter = ags_file_write_recall_container_parameter(list, parameter, "recall-channel-run\0", &n_params);
+
+ ags_file_util_write_parameter(file,
+ node,
+ ags_id_generator_create_uuid(),
+ parameter, n_params);
+
+ return(node);
+}
+
+void
+ags_file_read_recall_container_list(AgsFile *file, xmlNode *node, GList **recall_container)
+{
+ AgsRecallContainer *current;
+ GList *list;
+ xmlNode *child;
+
+ list = NULL;
+ child = node->children;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-recall-container\0",
+ 21)){
+ current = NULL;
+ ags_file_read_recall_container(file,
+ child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *recall_container = list;
+}
+
+xmlNode*
+ags_file_write_recall_container_list(AgsFile *file, xmlNode *parent, GList *recall_container)
+{
+ AgsRecallContainer *current;
+ GList *list;
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-container-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = recall_container;
+
+ while(list != NULL){
+ ags_file_write_recall_container(file,
+ node,
+ AGS_RECALL_CONTAINER(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_recall_audio(AgsFile *file, xmlNode *node, AgsRecall *recall)
+{
+ AgsRecallAudio *recall_audio;
+ xmlNode *child;
+
+ recall_audio = AGS_RECALL_AUDIO(recall);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", recall_audio,
+ NULL));
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(recall)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(recall));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_recall_audio(AgsFile *file, xmlNode *parent, AgsRecall *recall)
+{
+ AgsRecallAudio *recall_audio;
+ xmlNode *node;
+ gchar *id;
+
+ recall_audio = AGS_RECALL_AUDIO(recall);
+
+ id = ags_id_generator_create_uuid();
+
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+ node = xmlNewNode(NULL,
+ "ags-recall-audio\0");
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_audio,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(recall));
+
+ return(node);
+}
+
+void
+ags_file_read_recall_audio_run(AgsFile *file, xmlNode *node, AgsRecall *recall)
+{
+ AgsRecallAudioRun *recall_audio_run;
+ xmlNode *child;
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(recall);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", recall_audio_run,
+ NULL));
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(recall)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(recall));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_recall_audio_run(AgsFile *file, xmlNode *parent, AgsRecall *recall)
+{
+ AgsRecallAudioRun *recall_audio_run;
+ xmlNode *node;
+ gchar *id;
+
+ recall_audio_run = AGS_RECALL_AUDIO_RUN(recall);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-audio-run\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_audio_run,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(recall));
+
+ return(node);
+}
+
+void
+ags_file_read_recall_channel(AgsFile *file, xmlNode *node, AgsRecall *recall)
+{
+ AgsRecallChannel *recall_channel;
+ xmlNode *child;
+
+ recall_channel = AGS_RECALL_CHANNEL(recall);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", recall_channel,
+ NULL));
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(recall)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(recall));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_recall_channel(AgsFile *file, xmlNode *parent, AgsRecall *recall)
+{
+ AgsRecallChannel *recall_channel;
+ xmlNode *node;
+ gchar *id;
+
+ recall_channel = AGS_RECALL_CHANNEL(recall);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-channel\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_channel,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(recall));
+
+ return(node);
+}
+
+void
+ags_file_read_recall_channel_run(AgsFile *file, xmlNode *node, AgsRecall *recall)
+{
+ AgsRecallChannelRun *recall_channel_run;
+ xmlNode *child;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(recall);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", recall_channel_run,
+ NULL));
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(recall)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(recall));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_recall_channel_run(AgsFile *file, xmlNode *parent, AgsRecall *recall)
+{
+ AgsRecallChannelRun *recall_channel_run;
+ xmlNode *node;
+ gchar *id;
+
+ recall_channel_run = AGS_RECALL_CHANNEL_RUN(recall);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-channel-run\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_channel_run,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(recall));
+
+ return(node);
+}
+
+void
+ags_file_read_recall_recycling(AgsFile *file, xmlNode *node, AgsRecall *recall)
+{
+ AgsRecallRecycling *recall_recycling;
+ xmlNode *child;
+
+ recall_recycling = AGS_RECALL_RECYCLING(recall);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", recall_recycling,
+ NULL));
+
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(recall)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(recall));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_recall_recycling(AgsFile *file, xmlNode *parent, AgsRecall *recall)
+{
+ AgsRecallRecycling *recall_recycling;
+ xmlNode *node;
+ gchar *id;
+
+ recall_recycling = AGS_RECALL_RECYCLING(recall);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-recycling\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_recycling,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(recall));
+
+ return(node);
+}
+
+void
+ags_file_read_recall_audio_signal(AgsFile *file, xmlNode *node, AgsRecall *recall)
+{
+ AgsRecallAudioSignal *recall_audio_signal;
+ xmlNode *child;
+
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(recall);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", recall_audio_signal,
+ NULL));
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrcmp(child->name,
+ ags_plugin_get_xml_type(AGS_PLUGIN(recall)))){
+ ags_plugin_read(file,
+ child,
+ AGS_PLUGIN(recall));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_recall_audio_signal(AgsFile *file, xmlNode *parent, AgsRecall *recall)
+{
+ AgsRecallAudioSignal *recall_audio_signal;
+ xmlNode *node;
+ gchar *id;
+
+ recall_audio_signal = AGS_RECALL_AUDIO_SIGNAL(recall);
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recall-audio-signal\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recall_audio_signal,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_plugin_write(file,
+ node,
+ AGS_PLUGIN(recall));
+
+ return(node);
+}
+
+void
+ags_file_read_port(AgsFile *file, xmlNode *node, AgsPort **port)
+{
+ AgsPort *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+ GList *list;
+
+ if(*port == NULL){
+ gobject = g_object_new(AGS_TYPE_PORT,
+ NULL);
+ *port = gobject;
+ }else{
+ gobject = *port;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->plugin_name = g_strdup(xmlGetProp(node, "plugin-name\0"));
+
+ gobject->specifier = g_strdup(xmlGetProp(node, "specifier\0"));
+
+ gobject->control_port = g_strdup(xmlGetProp(node, "control-port\0"));
+
+ gobject->port_value_is_pointer = g_ascii_strtoull(xmlGetProp(node, "port-data-is-pointer\0"),
+ NULL,
+ 10);
+ gobject->port_value_type = g_type_from_name(xmlGetProp(node, "port-data-type\0"));
+
+ gobject->port_value_size = g_ascii_strtoull(xmlGetProp(node, "port-data-size\0"),
+ NULL,
+ 10);
+ gobject->port_value_length = g_ascii_strtoull(xmlGetProp(node, "port-data-length\0"),
+ NULL,
+ 10);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-value\0",
+ 10)){
+ GValue *value;
+
+ //FIXME:JK: memory leak
+ value = (GValue *) g_new0(GValue, 1);
+ memset(value, 0, sizeof(GValue));
+ g_value_init(value,
+ gobject->port_value_type);
+
+ ags_file_util_read_value(file,
+ child, NULL,
+ value, NULL);
+
+ if(gobject->port_value_type == G_TYPE_POINTER ||
+ gobject->port_value_type == G_TYPE_OBJECT){
+ list = ags_file_lookup_find_by_node(file->lookup,
+ child);
+
+ if(list != NULL){
+ file_lookup = AGS_FILE_LOOKUP(list->data);
+
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_port_resolve_port_value), gobject);
+ }
+ }else{
+ ags_port_safe_write(gobject,
+ value);
+ }
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_port_resolve_port_value(AgsFileLookup *file_lookup,
+ AgsPort *port)
+{
+ AgsFileIdRef *file_id_ref;
+ gchar *xpath;
+
+ ags_port_safe_write(port,
+ (GValue *) file_lookup->ref);
+
+ file_id_ref = ags_file_find_id_ref_by_reference(file_lookup->file,
+ port);
+ ags_file_id_ref_resolved(file_id_ref);
+}
+
+xmlNode*
+ags_file_write_port(AgsFile *file, xmlNode *parent, AgsPort *port)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node;
+ gchar *id;
+ GValue *a;
+
+ if(!AGS_IS_PORT(port)){
+ return;
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-port\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", port,
+ NULL));
+
+ xmlNewProp(node,
+ BAD_CAST "plugin-name\0",
+ BAD_CAST (port->plugin_name));
+
+ xmlNewProp(node,
+ BAD_CAST "specifier\0",
+ port->specifier);
+
+ xmlNewProp(node,
+ BAD_CAST "control-port\0",
+ port->control_port);
+
+ xmlNewProp(node,
+ BAD_CAST "port-data-is-pointer\0",
+ BAD_CAST (g_strdup_printf("%d\0", port->port_value_is_pointer)));
+
+ xmlNewProp(node,
+ BAD_CAST "port-data-type\0",
+ BAD_CAST (g_strdup(g_type_name(port->port_value_type))));
+
+ xmlNewProp(node,
+ BAD_CAST "port-data-size\0",
+ g_strdup_printf("%d\0", port->port_value_size));
+
+ xmlNewProp(node,
+ BAD_CAST "port-data-length\0",
+ BAD_CAST (g_strdup_printf("%d\0", port->port_value_length)));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ a = g_new0(GValue, 1);
+
+ if(port->port_value_is_pointer){
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ gboolean *ptr;
+
+ ptr = (gboolean *) port->port_value.ags_port_boolean_ptr;
+
+ g_value_init(a,
+ G_TYPE_POINTER);
+ g_value_set_pointer(a,
+ ptr);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ guint64 *ptr;
+
+ ptr = (guint64 *) port->port_value.ags_port_uint_ptr;
+
+ g_value_init(a,
+ G_TYPE_POINTER);
+ g_value_set_pointer(a,
+ ptr);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ gint64 *ptr;
+
+ ptr = (gint64 *) port->port_value.ags_port_int_ptr;
+
+ g_value_init(a,
+ G_TYPE_POINTER);
+ g_value_set_pointer(a,
+ ptr);
+ }else if(port->port_value_type == G_TYPE_FLOAT){
+ gfloat *ptr;
+
+ ptr = (gfloat *) port->port_value.ags_port_float_ptr;
+
+ g_value_init(a,
+ G_TYPE_POINTER);
+ g_value_set_pointer(a,
+ ptr);
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ gdouble *ptr;
+
+ ptr = (gdouble *) port->port_value.ags_port_double_ptr;
+
+ g_value_init(a,
+ G_TYPE_POINTER);
+ g_value_set_pointer(a,
+ ptr);
+ }else if(port->port_value_type == G_TYPE_POINTER){
+ g_value_init(a,
+ G_TYPE_POINTER);
+ g_value_set_pointer(a,
+ port->port_value.ags_port_pointer);
+ }
+ }else{
+ if(port->port_value_type == G_TYPE_BOOLEAN){
+ g_value_init(a,
+ G_TYPE_BOOLEAN);
+ g_value_set_boolean(a,
+ port->port_value.ags_port_boolean);
+ }else if(port->port_value_type == G_TYPE_UINT64){
+ g_value_init(a,
+ G_TYPE_UINT64);
+ g_value_set_uint64(a,
+ port->port_value.ags_port_uint);
+ }else if(port->port_value_type == G_TYPE_INT64){
+ g_value_init(a,
+ G_TYPE_INT64);
+ g_value_set_int64(a,
+ port->port_value.ags_port_int);
+ }else if(port->port_value_type == G_TYPE_FLOAT){
+ g_value_init(a,
+ G_TYPE_FLOAT);
+ g_value_set_float(a,
+ port->port_value.ags_port_float);
+ }else if(port->port_value_type == G_TYPE_DOUBLE){
+ g_value_init(a,
+ G_TYPE_DOUBLE);
+ g_value_set_double(a,
+ port->port_value.ags_port_double);
+ }else if(port->port_value_type == G_TYPE_OBJECT){
+ g_value_init(a,
+ G_TYPE_OBJECT);
+ g_value_set_object(a,
+ port->port_value.ags_port_object);
+ }
+ }
+
+ /* */
+ ags_file_util_write_value(file,
+ node,
+ ags_id_generator_create_uuid(),
+ a, port->port_value_type, port->port_value_size);
+
+ return(node);
+}
+
+void
+ags_file_read_port_list(AgsFile *file, xmlNode *node, GList **port)
+{
+ AgsPort *current;
+ AgsFileIdRef *port_id_ref;
+ xmlNode *child;
+ GList *list, *iter;
+
+ if(*port != NULL){
+ list = *port;
+ }else{
+ list = NULL;
+ }
+
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-port\0",
+ 9)){
+
+ if(*port != NULL){
+ GList *list;
+
+ list = ags_port_find_specifier(*port,
+ xmlGetProp(child, "specifier\0"));
+
+ if(list == NULL){
+ child = child->next;
+
+ continue;
+ }else{
+ current = list->data;
+ g_message("found: %s\0", xmlGetProp(child, "specifier\0"));
+ }
+ }else{
+ current = NULL;
+ }
+
+ ags_file_read_port(file,
+ child,
+ ¤t);
+
+ if(*port == NULL){
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+ }
+
+ child = child->next;
+ }
+
+ if(*port == NULL){
+ list = g_list_reverse(list);
+
+ /* set return value */
+ *port = list;
+ }
+
+ /* add id ref */
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", *port,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_port_list(AgsFile *file, xmlNode *parent, GList *port)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-port-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", port,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ list = port;
+
+ while(list != NULL){
+ ags_file_write_port(file,
+ node,
+ AGS_PORT(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_recycling(AgsFile *file, xmlNode *node, AgsRecycling **recycling)
+{
+ AgsRecycling *gobject;
+ xmlNode *child;
+
+ if(*recycling == NULL){
+ gobject = (AgsRecycling *) g_object_new(AGS_TYPE_RECYCLING,
+ NULL);
+
+ *recycling = gobject;
+ }else{
+ gobject = *recycling;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-audio-signal-list\0",
+ 21)){
+ if((AGS_FILE_READ_AUDIO_SIGNAL & (file->flags)) != 0){
+ ags_file_read_audio_signal_list(file,
+ child,
+ &gobject->audio_signal);
+ }
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_recycling(AgsFile *file, xmlNode *parent, AgsRecycling *recycling)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recycling\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recycling,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", recycling->flags));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ if((AGS_FILE_WRITE_AUDIO_SIGNAL & (file->flags)) != 0){
+ ags_file_write_audio_signal_list(file,
+ node,
+ recycling->audio_signal);
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_recycling_list(AgsFile *file, xmlNode *node, GList **recycling)
+{
+ AgsRecycling *current;
+ xmlNode *child;
+ GList *list;
+
+ list = NULL;
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-recycling\0",
+ 14)){
+ current = NULL;
+ ags_file_read_recycling(file,
+ child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *recycling = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_recycling_list(AgsFile *file, xmlNode *parent, GList *recycling)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-recycling-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", recycling,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = recycling;
+
+ while(list != NULL){
+ ags_file_write_recycling(file,
+ node,
+ AGS_RECYCLING(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_audio_signal(AgsFile *file, xmlNode *node, AgsAudioSignal **audio_signal)
+{
+ AgsAudioSignal *gobject;
+ xmlNode *child;
+
+ if(*audio_signal == NULL){
+ gobject = (AgsAudioSignal *) g_object_new(AGS_TYPE_AUDIO_SIGNAL,
+ NULL);
+
+ *audio_signal = gobject;
+ }else{
+ gobject = *audio_signal;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->samplerate = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ gobject->buffer_size = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "buffer-size\0"),
+ NULL,
+ 10);
+
+ gobject->resolution = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "resolution\0"),
+ NULL,
+ 10);
+
+ gobject->length = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "length\0"),
+ NULL,
+ 10);
+
+ gobject->last_frame = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "last-frame\0"),
+ NULL,
+ 10);
+
+ gobject->loop_start = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "loop-start\0"),
+ NULL,
+ 10);
+
+ gobject->loop_end = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "loop-end\0"),
+ NULL,
+ 10);
+
+ gobject->delay = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "delay\0"),
+ NULL,
+ 10);
+
+ gobject->attack = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "attack\0"),
+ NULL,
+ 10);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-stream-list\0",
+ 21)){
+ ags_file_read_stream_list(file, child,
+ &gobject->stream_beginning,
+ gobject->buffer_size);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_write_audio_signal(AgsFile *file, xmlNode *parent, AgsAudioSignal *audio_signal)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-audio-signal\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", audio_signal,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", audio_signal->flags));
+
+ xmlNewProp(node,
+ "samplerate\0",
+ g_strdup_printf("%d\0", audio_signal->samplerate));
+
+ xmlNewProp(node,
+ "buffer-size\0",
+ g_strdup_printf("%d\0", audio_signal->buffer_size));
+
+ xmlNewProp(node,
+ "resolution\0",
+ g_strdup_printf("%d\0", audio_signal->resolution));
+
+ xmlNewProp(node,
+ "length\0",
+ g_strdup_printf("%d\0", audio_signal->length));
+
+ xmlNewProp(node,
+ "last-frame\0",
+ g_strdup_printf("%d\0", audio_signal->last_frame));
+
+ xmlNewProp(node,
+ "loop-start\0",
+ g_strdup_printf("%d\0", audio_signal->loop_start));
+
+ xmlNewProp(node,
+ "loop-end\0",
+ g_strdup_printf("%d\0", audio_signal->loop_end));
+
+ xmlNewProp(node,
+ "delay\0",
+ g_strdup_printf("%d\0", audio_signal->delay));
+
+ xmlNewProp(node,
+ "attack\0",
+ g_strdup_printf("%d\0", audio_signal->attack));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_file_write_stream_list(file, node,
+ audio_signal->stream_beginning,
+ audio_signal->buffer_size);
+
+ return(node);
+}
+
+void
+ags_file_read_audio_signal_list(AgsFile *file, xmlNode *node, GList **audio_signal)
+{
+ AgsAudioSignal *current;
+ xmlNode *child;
+ GList *list;
+
+ list = NULL;
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-audio-signal\0",
+ 17)){
+ current = NULL;
+ ags_file_read_audio_signal(file,
+ child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *audio_signal = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_audio_signal_list(AgsFile *file, xmlNode *parent, GList *audio_signal)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-audio-signal-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", audio_signal,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = audio_signal;
+
+ while(list != NULL){
+ ags_file_write_audio_signal(file,
+ node,
+ AGS_AUDIO_SIGNAL(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_stream(AgsFile *file, xmlNode *node,
+ GList **stream, guint *index,
+ guint buffer_size)
+{
+ GList *list;
+ xmlChar *encoding;
+ xmlChar *demuxer;
+ xmlChar *content;
+
+ if(*stream == NULL){
+ list = g_list_alloc();
+
+ *stream = list;
+ }else{
+ list = *stream;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+
+ if(index != NULL){
+ *index = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "index\0"),
+ NULL,
+ 10);
+ }
+
+ encoding = xmlGetProp(node,
+ "encoding\0");
+
+ if(!xmlStrncmp(encoding,
+ "base64\0",
+ 7)){
+ demuxer = xmlGetProp(node,
+ "demuxer\0");
+
+ if(!xmlStrncmp(demuxer,
+ "raw\0",
+ 4)){
+ content = node->content;
+
+ //TODO:JK: verify
+ list->data = g_base64_decode(content,
+ NULL);
+ }else{
+ g_warning("ags_file_read_stream: unsupported demuxer %s\0", demuxer);
+ }
+ }else{
+ g_warning("ags_file_read_stream: unsupported encoding %s\0", encoding);
+ }
+}
+
+xmlNode*
+ags_file_write_stream(AgsFile *file, xmlNode *parent,
+ GList *stream, guint index,
+ guint buffer_size)
+{
+ xmlNode *node;
+ xmlChar *content;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-stream\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", stream,
+ NULL));
+
+ xmlNewProp(node,
+ "index\0",
+ g_strdup_printf("%d\0", index));
+
+ xmlNewProp(node,
+ "encoding\0",
+ file->audio_encoding);
+
+ xmlNewProp(node,
+ "demuxer\0",
+ file->audio_format);
+
+ content = g_base64_encode(stream->data,
+ buffer_size);
+
+ node->content = content;
+}
+
+void
+ags_file_read_stream_list(AgsFile *file, xmlNode *node,
+ GList **stream,
+ guint buffer_size)
+{
+ GList *current;
+ xmlNode *child;
+ GList *list;
+ guint *index;
+ guint i;
+
+ auto void ags_file_read_stream_list_sort(GList **stream, guint *index);
+
+ void ags_file_read_stream_list_sort(GList **stream, guint *index){
+ GList *start, *list;
+ GList *sorted;
+ guint stream_length;
+ guint i, i_stop;
+ guint j, k;
+
+ start =
+ list = *stream;
+
+ stream_length =
+ i_stop = g_list_length(list);
+
+ sorted = NULL;
+
+ while(list != NULL){
+ j = index[stream_length - i_stop];
+
+ for(i = 0; i < stream_length - i_stop; i++){
+ if(j < index[i]){
+ break;
+ }
+ }
+
+ sorted = g_list_insert(sorted,
+ list->data,
+ i);
+
+ i_stop--;
+ list = list->next;
+ }
+
+ *stream = sorted;
+ g_list_free(start);
+ }
+
+ child = node->children;
+
+ list = NULL;
+ index = NULL;
+
+ for(i = 0; child != NULL; i++){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-stream\0",
+ 11)){
+ current = NULL;
+
+ if(index == NULL){
+ index = (guint *) malloc(sizeof(guint));
+ }else{
+ index = (guint *) realloc(index,
+ (i + 1) * sizeof(guint));
+ }
+
+ ags_file_read_stream(file, child,
+ ¤t, &(index[i]),
+ buffer_size);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ ags_file_read_stream_list_sort(&list, index);
+ *stream = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_stream_list(AgsFile *file, xmlNode *parent,
+ GList *stream,
+ guint buffer_size)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-stream-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", stream,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ list = stream;
+
+ for(i = 0; list != NULL; i++){
+ ags_file_write_stream(file, node,
+ list, i,
+ buffer_size);
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_pattern(AgsFile *file, xmlNode *node, AgsPattern **pattern)
+{
+ AgsPattern *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+ guint dim[3];
+
+ if(*pattern == NULL){
+ gobject = (AgsPattern *) g_object_new(AGS_TYPE_PATTERN,
+ NULL);
+
+ *pattern = gobject;
+ }else{
+ gobject = *pattern;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ dim[0] = g_ascii_strtoull(xmlGetProp(node,
+ "dim-1st-level\0"),
+ NULL,
+ 10);
+
+ dim[1] = g_ascii_strtoull(xmlGetProp(node,
+ "dim-2nd-level\0"),
+ NULL,
+ 10);
+
+ dim[2] = g_ascii_strtoull(xmlGetProp(node,
+ "length\0"),
+ NULL,
+ 10);
+
+ ags_pattern_set_dim((AgsPattern *) gobject, dim[0], dim[1], dim[2]);
+
+ /* port */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_pattern_resolve_port), gobject);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-timestamp\0",
+ 13)){
+ ags_file_read_timestamp(file,
+ child,
+ (AgsTimestamp **) &gobject->timestamp);
+ }else if(!xmlStrncmp(child->name,
+ "ags-pattern-data-list\0",
+ 21)){
+ ags_file_read_pattern_data_list(file,
+ child,
+ gobject,
+ gobject->dim[2]);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_pattern_resolve_port(AgsFileLookup *file_lookup,
+ AgsPattern *pattern)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "port\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ AgsPort *port;
+ GValue value = {0,};
+
+ port = (AgsPort *) id_ref->ref;
+
+ g_object_set(G_OBJECT(pattern),
+ "port\0", (AgsPort *) port,
+ NULL);
+
+ g_value_init(&value, G_TYPE_OBJECT);
+ g_value_set_object(&value, pattern);
+ ags_port_safe_write(G_OBJECT(id_ref->ref),
+ &value);
+ }
+}
+
+xmlNode*
+ags_file_write_pattern(AgsFile *file, xmlNode *parent, AgsPattern *pattern)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ xmlChar *content;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-pattern\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", pattern,
+ NULL));
+
+ xmlNewProp(node,
+ "dim-1st-level\0",
+ g_strdup_printf("%d\0",
+ pattern->dim[0]));
+
+ xmlNewProp(node,
+ "dim-2nd-level\0",
+ g_strdup_printf("%d\0",
+ pattern->dim[1]));
+
+ xmlNewProp(node,
+ "length\0",
+ g_strdup_printf("%d\0",
+ pattern->dim[2]));
+
+ /* port */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", pattern,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_pattern_resolve_port), pattern);
+
+ /* */
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ if(pattern->timestamp != NULL){
+ ags_file_write_timestamp(file,
+ node,
+ (AgsTimestamp *) pattern->timestamp);
+ }
+
+ ags_file_write_pattern_data_list(file,
+ node,
+ pattern,
+ pattern->dim[2]);
+}
+
+void
+ags_file_write_pattern_resolve_port(AgsFileLookup *file_lookup,
+ AgsPattern *pattern)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ if(pattern->port == NULL){
+ return;
+ }
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, pattern->port);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "port\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+}
+
+void
+ags_file_read_pattern_list(AgsFile *file, xmlNode *node, GList **pattern)
+{
+ AgsPattern *current;
+ xmlNode *child;
+ GList *list;
+
+ child = node->children;
+
+ if(*pattern == NULL){
+ list = NULL;
+ }else{
+ list = *pattern;
+ }
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-pattern\0",
+ 12)){
+ if(*pattern == NULL){
+ current = NULL;
+ }else{
+ current = list->data;
+ }
+
+ ags_file_read_pattern(file, child,
+ ¤t);
+
+ if(*pattern == NULL){
+ list = g_list_prepend(list,
+ current);
+ }else{
+ list = list->next;
+ }
+ }
+ }
+
+ child = child->next;
+ }
+
+ if(*pattern == NULL){
+ list = g_list_reverse(list);
+
+ *pattern = list;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_pattern_list(AgsFile *file, xmlNode *parent, GList *pattern)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-pattern-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", pattern,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = pattern;
+
+ for(i = 0; list != NULL; i++){
+ ags_file_write_pattern(file,
+ node,
+ AGS_PATTERN(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_pattern_data(AgsFile *file, xmlNode *node,
+ AgsPattern *pattern, guint *i, guint *j,
+ guint length)
+{
+ xmlChar *content;
+ xmlChar *coding;
+ guint k;
+
+ if(i != NULL){
+ *i = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "index-1st-level\0"),
+ NULL,
+ 10);
+ }
+
+ if(j != NULL){
+ *j = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "index-2nd-level\0"),
+ NULL,
+ 10);
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", pattern->pattern[*i][*j],
+ NULL));
+
+ content = xmlNodeGetContent(node);
+ coding = xmlGetProp(node,
+ "coding\0");
+
+ if(!xmlStrncmp(coding,
+ "human readable\0",
+ 14)){
+ for(k = 0; k < length; k++){
+ if(!g_strncasecmp(&(content[k]),
+ "1\0",
+ 1)){
+ ags_pattern_toggle_bit(pattern, *i, *j, k);
+ }
+ }
+ }else{
+ g_warning("ags_file_read_pattern_data - unsupported coding: %s\0", coding);
+ }
+}
+
+xmlNode*
+ags_file_write_pattern_data(AgsFile *file, xmlNode *parent,
+ AgsPattern *pattern, guint i, guint j,
+ guint length)
+{
+ xmlNode *node;
+ GString *content;
+ gchar *id;
+ guint k;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-pattern-data\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", pattern->pattern[i][j],
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ "0\0");
+
+ xmlNewProp(node,
+ "index-1st-level\0",
+ g_strdup_printf("%d\0", i));
+
+ xmlNewProp(node,
+ "index-2nd-level\0",
+ g_strdup_printf("%d\0", j));
+
+ xmlNewProp(node,
+ "coding\0",
+ "human readable\0");
+
+ content = g_string_sized_new(length + 1);
+
+ for(k = 0; k < length; k++){
+ g_string_insert_c(content, k, (gchar) (ags_pattern_get_bit(pattern, i, j, k) ? '1': '0'));
+ }
+
+ g_string_insert_c(content, k, (gchar) '\0');
+ xmlNodeAddContent(node, BAD_CAST (content->str));
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_file_read_pattern_data_list(AgsFile *file, xmlNode *node,
+ AgsPattern *pattern,
+ guint length)
+{
+ xmlNode *child;
+ guint i, j;
+
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-pattern-data\0",
+ 17)){
+ ags_file_read_pattern_data(file, child,
+ pattern, &i, &j,
+ length);
+ }
+ }
+
+ child = child->next;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", pattern->pattern,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_pattern_data_list(AgsFile *file, xmlNode *parent,
+ AgsPattern *pattern,
+ guint length)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+ guint i, j;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-pattern-data-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", pattern->pattern,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ for(i = 0; i < pattern->dim[0]; i++){
+ for(j = 0; j < pattern->dim[1]; j++){
+ ags_file_write_pattern_data(file, node,
+ pattern, i, j,
+ length);
+ }
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_notation(AgsFile *file, xmlNode *node, AgsNotation **notation)
+{
+ AgsNotation *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+ xmlChar *prop;
+
+ if(*notation == NULL){
+ gobject = (AgsNotation *) g_object_new(AGS_TYPE_NOTATION,
+ NULL);
+
+ *notation = gobject;
+ }else{
+ gobject = *notation;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->audio_channel = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "audio-channel\0"),
+ NULL,
+ 10);
+
+ gobject->key = g_strdup(xmlGetProp(node,
+ "key\0"));
+
+ gobject->base_frequency = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "base-frequency\0"),
+ NULL);
+
+ gobject->tact = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "tact\0"),
+ NULL);
+
+ gobject->bpm = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "bpm\0"),
+ NULL);
+
+ gobject->maximum_note_length = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "max-note-length\0"),
+ NULL);
+
+ prop = xmlGetProp(node,
+ "loop-start\0");
+
+ if(prop != NULL){
+ gobject->start_loop = (gdouble) g_ascii_strtod(prop,
+ NULL);
+ gobject->end_loop = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "loop-end\0"),
+ NULL);
+ }
+
+ /* port */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_notation_resolve_port), gobject);
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-timestamp\0",
+ 13)){
+ ags_file_read_timestamp(file,
+ child,
+ (AgsTimestamp **) &gobject->timestamp);
+ }else if(!xmlStrncmp(child->name,
+ "ags-note-list\0",
+ 13)){
+ ags_file_read_note_list(file,
+ child,
+ &gobject->notes);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_notation_resolve_port(AgsFileLookup *file_lookup,
+ AgsNotation *notation)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "port\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ AgsPort *port;
+ GValue value = {0,};
+
+ port = (AgsPort *) id_ref->ref;
+
+ g_object_set(G_OBJECT(notation),
+ "port\0", port,
+ NULL);
+
+ g_value_init(&value, G_TYPE_OBJECT);
+ g_value_set_object(&value, notation);
+ ags_port_safe_write(G_OBJECT(port),
+ &value);
+ }
+}
+
+xmlNode*
+ags_file_write_notation(AgsFile *file, xmlNode *parent, AgsNotation *notation)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-notation\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", notation,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", notation->flags));
+
+ xmlNewProp(node,
+ "key\0",
+ notation->key);
+
+ xmlNewProp(node,
+ "audio-channel\0",
+ g_strdup_printf("%d\0", notation->audio_channel));
+
+ xmlNewProp(node,
+ "base-frequency\0",
+ g_strdup_printf("%f\0", notation->base_frequency));
+
+ xmlNewProp(node,
+ "tact\0",
+ g_strdup_printf("%f\0", notation->tact));
+
+ xmlNewProp(node,
+ "bpm\0",
+ g_strdup_printf("%f\0", notation->bpm));
+
+ xmlNewProp(node,
+ "max-note-length\0",
+ g_strdup_printf("%f\0", notation->maximum_note_length));
+
+ xmlNewProp(node,
+ "loop-start\0",
+ g_strdup_printf("%f\0", notation->start_loop));
+
+ xmlNewProp(node,
+ "loop-end\0",
+ g_strdup_printf("%f\0", notation->end_loop));
+
+ /* port */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", notation,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_notation_resolve_port), notation);
+
+ /* */
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ ags_file_write_timestamp(file,
+ node,
+ (AgsTimestamp *) notation->timestamp);
+
+ ags_file_write_note_list(file,
+ node,
+ notation->notes);
+}
+
+void
+ags_file_write_notation_resolve_port(AgsFileLookup *file_lookup,
+ AgsNotation *notation)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ if(notation->port == NULL){
+ return;
+ }
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, notation->port);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "port\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+}
+
+void
+ags_file_read_notation_list(AgsFile *file, xmlNode *node, GList **notation)
+{
+ AgsNotation *current;
+ xmlNode *child;
+ GList *list;
+
+ child = node->children;
+
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-notation\0",
+ 13)){
+ current = NULL;
+
+ ags_file_read_notation(file, child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+
+ *notation = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_notation_list(AgsFile *file, xmlNode *parent, GList *notation)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-notation-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", notation,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = notation;
+
+ while(list != NULL){
+ ags_file_write_notation(file,
+ node,
+ AGS_NOTATION(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_note(AgsFile *file, xmlNode *node, AgsNote **note)
+{
+ AgsNote *gobject;
+ xmlNode *child;
+
+ if(*note == NULL){
+ gobject = (AgsNote *) g_object_new(AGS_TYPE_NOTE,
+ NULL);
+
+ *note = gobject;
+ }else{
+ gobject = *note;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->x[0] = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "x0\0"),
+ NULL,
+ 10);
+
+ gobject->x[1] = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "x1\0"),
+ NULL,
+ 10);
+
+ gobject->y = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "y\0"),
+ NULL,
+ 10);
+
+ gobject->name = g_strdup(xmlGetProp(node,
+ "name\0"));
+
+ gobject->frequency = (gdouble) g_ascii_strtod(xmlGetProp(node,
+ "frequency\0"),
+ NULL);
+}
+
+xmlNode*
+ags_file_write_note(AgsFile *file, xmlNode *parent, AgsNote *note)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-note\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", note,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", note->flags));
+
+ xmlNewProp(node,
+ "x0\0",
+ g_strdup_printf("%d\0", note->x[0]));
+
+ xmlNewProp(node,
+ "x1\0",
+ g_strdup_printf("%d\0", note->x[1]));
+
+ xmlNewProp(node,
+ "y\0",
+ g_strdup_printf("%d\0", note->y));
+
+ xmlNewProp(node,
+ "name\0",
+ note->name);
+
+ xmlNewProp(node,
+ "frequency\0",
+ g_strdup_printf("%f\0", note->frequency));
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_read_note_list(AgsFile *file, xmlNode *node, GList **note)
+{
+ AgsNote *current;
+ xmlNode *child;
+ GList *list;
+
+ child = node->children;
+
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-note\0",
+ 9)){
+ current = NULL;
+
+ ags_file_read_note(file, child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+
+ *note = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_note_list(AgsFile *file, xmlNode *parent, GList *note)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-note-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", note,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = note;
+
+ while(list != NULL){
+ ags_file_write_note(file,
+ node,
+ AGS_NOTE(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_task(AgsFile *file, xmlNode *node, AgsTask **task)
+{
+ AgsTask *gobject;
+ GParameter *parameter;
+ xmlNode *child;
+ xmlChar *type_name;
+ guint n_params;
+ static gboolean task_type_is_registered = FALSE;
+
+ if(*task == NULL){
+ GType type;
+
+ type_name = xmlGetProp(node,
+ AGS_FILE_TYPE_PROP);
+
+ if(!task_type_is_registered){
+ ags_main_register_task_type();
+
+ task_type_is_registered = TRUE;
+ }
+
+ type = g_type_from_name(type_name);
+
+ gobject = g_object_new(type,
+ NULL);
+
+ *task = gobject;
+ }else{
+ gobject = *task;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ /* */
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->name = (gchar *) xmlGetProp(node,
+ "name\0");
+
+ gobject->delay = g_ascii_strtoull((gchar *) xmlGetProp(node,
+ "delay\0"),
+ NULL,
+ 10);
+
+ //TODO:JK: implement error message
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-parameter\0",
+ 13)){
+ AgsFileLookup *file_lookup;
+
+ ags_file_util_read_parameter(file,
+ child,
+ NULL,
+ ¶meter, &n_params, NULL);
+
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", parameter,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_task_resolve_parameter), gobject);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_task_resolve_parameter(AgsFileLookup *file_lookup,
+ AgsTask *task)
+{
+ GParameter *parameter;
+ GParamSpec **param_spec;
+ guint n_properties;
+ guint i, j;
+
+ parameter = (GParameter *) file_lookup->ref;
+
+ param_spec = g_object_class_list_properties(G_OBJECT_GET_CLASS(task),
+ &n_properties);
+
+ for(i = 0, j = 0; i < n_properties; i++){
+ if(g_type_is_a(param_spec[i]->owner_type,
+ AGS_TYPE_TASK)){
+
+ g_object_set_property(G_OBJECT(task),
+ parameter[j].name,
+ ¶meter[j].value);
+
+ j++;
+ }
+ }
+}
+
+xmlNode*
+ags_file_write_task(AgsFile *file, xmlNode *parent, AgsTask *task)
+{
+ AgsFileIdRef *id_ref;
+ GParameter *parameter;
+ GParamSpec **param_spec;
+ xmlNode *node;
+ gchar *id;
+ guint n_properties, n_params;
+ guint i, j;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-task\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", task,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ G_OBJECT_TYPE_NAME(task));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", task->flags));
+
+ /* */
+ xmlNewProp(node,
+ AGS_FILE_NAME_PROP,
+ task->name);
+
+ xmlNewProp(node,
+ "delay\0",
+ g_strdup_printf("%d\0",
+ task->delay));
+
+ //TODO:JK: implement error message
+
+ xmlAddChild(parent,
+ node);
+
+ /* child parameters */
+ param_spec = g_object_class_list_properties(G_OBJECT_GET_CLASS(task),
+ &n_properties);
+
+ parameter = NULL;
+
+ for(i = 0, j = 0; i < n_properties; i++){
+ if(g_type_is_a(param_spec[i]->owner_type,
+ AGS_TYPE_TASK)){
+ if(parameter == NULL){
+ parameter = (GParameter *) g_new(GParameter,
+ 1);
+ }else{
+ parameter = (GParameter *) g_renew(GParameter,
+ parameter,
+ (j + 1));
+ }
+
+ parameter[j].name = param_spec[i]->name;
+ g_object_get_property(G_OBJECT(task),
+ param_spec[i]->name,
+ &(parameter[j].value));
+
+ j++;
+ }
+ }
+
+ n_params = j;
+
+ ags_file_util_write_parameter(file,
+ node,
+ ags_id_generator_create_uuid(),
+ parameter, n_params);
+
+ return(node);
+}
+
+void
+ags_file_read_task_list(AgsFile *file, xmlNode *node, GList **task)
+{
+ AgsTask *current;
+ xmlNode *child;
+ GList *list;
+
+ child = node->children;
+
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-task\0",
+ 9)){
+ current = NULL;
+
+ ags_file_read_task(file, child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+
+ *task = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_task_list(AgsFile *file, xmlNode *parent, GList *task)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-task-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", task,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = task;
+
+ while(list != NULL){
+ ags_file_write_task(file,
+ node,
+ AGS_TASK(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_timestamp(AgsFile *file, xmlNode *node, AgsTimestamp **timestamp)
+{
+ AgsTimestamp *gobject;
+ xmlNode *child;
+
+ if(*timestamp == NULL){
+ gobject = (AgsTimestamp *) g_object_new(AGS_TYPE_TIMESTAMP,
+ NULL);
+
+ *timestamp = gobject;
+ }else{
+ gobject = *timestamp;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+
+ gobject->delay = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "delay\0"),
+ NULL,
+ 10);
+
+ gobject->attack = (guint) g_ascii_strtoull(xmlGetProp(node,
+ "attack\0"),
+ NULL,
+ 10);
+
+ gobject->timer.unix_time.time_val = (guint) g_ascii_strtoull(node->content,
+ NULL,
+ 10);
+}
+
+xmlNode*
+ags_file_write_timestamp(AgsFile *file, xmlNode *parent, AgsTimestamp *timestamp)
+{
+ xmlNode *node;
+ gchar *id;
+
+ if(timestamp == NULL){
+ return;
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-timestamp\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", timestamp,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", timestamp->flags));
+
+ xmlNewProp(node,
+ "delay\0",
+ g_strdup_printf("%d\0", timestamp->delay));
+
+ xmlNewProp(node,
+ "attack\0",
+ g_strdup_printf("%d\0", timestamp->attack));
+
+ xmlAddChild(parent,
+ node);
+
+ xmlNodeAddContent(node,
+ g_strdup_printf("%d\0", timestamp->timer.unix_time.time_val));
+}
+
+void
+ags_file_read_timestamp_list(AgsFile *file, xmlNode *node, GList **timestamp)
+{
+ AgsTimestamp *current;
+ xmlNode *child;
+ GList *list;
+
+ child = node->children;
+
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-timestamp\0",
+ 14)){
+ current = NULL;
+
+ ags_file_read_timestamp(file, child,
+ ¤t);
+
+ list = g_list_prepend(list,
+ current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+
+ *timestamp = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_timestamp_list(AgsFile *file, xmlNode *parent, GList *timestamp)
+{
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-timestamp-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", timestamp,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = timestamp;
+
+ while(list != NULL){
+ ags_file_write_timestamp(file,
+ node,
+ AGS_TIMESTAMP(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
diff --git a/src/ags/file/ags_file_sound.h b/src/ags/file/ags_file_sound.h
new file mode 100644
index 0000000..a3c0c08
--- /dev/null
+++ b/src/ags/file/ags_file_sound.h
@@ -0,0 +1,198 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_SOUND_H__
+#define __AGS_FILE_SOUND_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_link.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_input.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_audio_signal.h>
+#include <ags/audio/ags_pattern.h>
+#include <ags/audio/ags_notation.h>
+#include <ags/audio/ags_note.h>
+#include <ags/audio/ags_task.h>
+#include <ags/audio/ags_recall.h>
+#include <ags/audio/ags_recall_container.h>
+#include <ags/audio/ags_port.h>
+#include <ags/audio/ags_timestamp.h>
+
+/* AgsDevout */
+void ags_file_read_devout(AgsFile *file, xmlNode *node, AgsDevout **devout);
+xmlNode* ags_file_write_devout(AgsFile *file, xmlNode *parent, AgsDevout *devout);
+
+void ags_file_read_devout_list(AgsFile *file, xmlNode *node, GList **devout);
+xmlNode* ags_file_write_devout_list(AgsFile *file, xmlNode *parent, GList *devout);
+
+void ags_file_read_devout_play(AgsFile *file, xmlNode *node, AgsDevoutPlay **play);
+xmlNode* ags_file_write_devout_play(AgsFile *file, xmlNode *parent, AgsDevoutPlay *play);
+
+void ags_file_read_devout_play_list(AgsFile *file, xmlNode *node, GList **play);
+xmlNode* ags_file_write_devout_play_list(AgsFile *file, xmlNode *parent, GList *play);
+
+/* AgsAudio */
+void ags_file_read_audio(AgsFile *file, xmlNode *node, AgsAudio **audio);
+xmlNode* ags_file_write_audio(AgsFile *file, xmlNode *parent, AgsAudio *audio);
+
+void ags_file_read_audio_list(AgsFile *file, xmlNode *node, GList **audio);
+xmlNode* ags_file_write_audio_list(AgsFile *file, xmlNode *parent, GList *audio);
+
+/* AgsChannel */
+void ags_file_read_channel(AgsFile *file, xmlNode *node, AgsChannel **channel);
+xmlNode* ags_file_write_channel(AgsFile *file, xmlNode *parent, AgsChannel *channel);
+
+void ags_file_read_channel_list(AgsFile *file, xmlNode *node, GList **channel);
+xmlNode* ags_file_write_channel_list(AgsFile *file, xmlNode *parent, GList *channel);
+
+void ags_file_read_input(AgsFile *file, xmlNode *node, AgsChannel *input);
+xmlNode* ags_file_write_input(AgsFile *file, xmlNode *parent, AgsChannel *input);
+
+void ags_file_read_output(AgsFile *file, xmlNode *node, AgsChannel *output);
+xmlNode* ags_file_write_output(AgsFile *file, xmlNode *parent, AgsChannel *output);
+
+/* AgsFileLink */
+void ags_file_read_file_link(AgsFile *file, xmlNode *node, AgsFileLink *file_link);
+xmlNode* ags_file_write_file_link(AgsFile *file, xmlNode *parent, AgsFileLink *file_link);
+
+/* AgsRecall */
+void ags_file_read_recall(AgsFile *file, xmlNode *node, AgsRecall **recall);
+xmlNode* ags_file_write_recall(AgsFile *file, xmlNode *parent, AgsRecall *recall);
+
+void ags_file_read_recall_list(AgsFile *file, xmlNode *node, GList **recall);
+xmlNode* ags_file_write_recall_list(AgsFile *file, xmlNode *parent, GList *recall);
+
+void ags_file_read_recall_container(AgsFile *file, xmlNode *node, AgsRecallContainer **recall_container);
+xmlNode* ags_file_write_recall_container(AgsFile *file, xmlNode *parent, AgsRecallContainer *recall_container);
+
+void ags_file_read_recall_container_list(AgsFile *file, xmlNode *node, GList **recall_container);
+xmlNode* ags_file_write_recall_container_list(AgsFile *file, xmlNode *parent, GList *recall_container);
+
+void ags_file_read_recall_audio(AgsFile *file, xmlNode *node, AgsRecall *recall);
+xmlNode* ags_file_write_recall_audio(AgsFile *file, xmlNode *parent, AgsRecall *recall);
+
+void ags_file_read_recall_audio_run(AgsFile *file, xmlNode *node, AgsRecall *recall);
+xmlNode* ags_file_write_recall_audio_run(AgsFile *file, xmlNode *parent, AgsRecall *recall);
+
+void ags_file_read_recall_channel(AgsFile *file, xmlNode *node, AgsRecall *recall);
+xmlNode* ags_file_write_recall_channel(AgsFile *file, xmlNode *parent, AgsRecall *recall);
+
+void ags_file_read_recall_channel_run(AgsFile *file, xmlNode *node, AgsRecall *recall);
+xmlNode* ags_file_write_recall_channel_run(AgsFile *file, xmlNode *parent, AgsRecall *recall);
+
+void ags_file_read_recall_recycling(AgsFile *file, xmlNode *node, AgsRecall *recall);
+xmlNode* ags_file_write_recall_recycling(AgsFile *file, xmlNode *parent, AgsRecall *recall);
+
+void ags_file_read_recall_audio_signal(AgsFile *file, xmlNode *node, AgsRecall *recall);
+xmlNode* ags_file_write_recall_audio_signal(AgsFile *file, xmlNode *parent, AgsRecall *recall);
+
+/* AgsPort */
+void ags_file_read_port(AgsFile *file, xmlNode *node, AgsPort **port);
+xmlNode* ags_file_write_port(AgsFile *file, xmlNode *parent, AgsPort *port);
+
+void ags_file_read_port_list(AgsFile *file, xmlNode *node, GList **port);
+xmlNode* ags_file_write_port_list(AgsFile *file, xmlNode *parent, GList *port);
+
+/* AgsRecycling */
+void ags_file_read_recycling(AgsFile *file, xmlNode *node, AgsRecycling **recycling);
+xmlNode* ags_file_write_recycling(AgsFile *file, xmlNode *parent, AgsRecycling *recycling);
+
+void ags_file_read_recycling_list(AgsFile *file, xmlNode *node, GList **recycling);
+xmlNode* ags_file_write_recycling_list(AgsFile *file, xmlNode *parent, GList *recycling);
+
+/* AgsAudioSignal */
+void ags_file_read_audio_signal(AgsFile *file, xmlNode *node, AgsAudioSignal **audio_signal);
+xmlNode* ags_file_write_audio_signal(AgsFile *file, xmlNode *parent, AgsAudioSignal *audio_signal);
+
+void ags_file_read_audio_signal_list(AgsFile *file, xmlNode *node, GList **audio_signal);
+xmlNode* ags_file_write_audio_signal_list(AgsFile *file, xmlNode *parent, GList *audio_signal);
+
+/* AgsStream */
+void ags_file_read_stream(AgsFile *file, xmlNode *node,
+ GList **stream, guint *index,
+ guint buffer_size);
+xmlNode* ags_file_write_stream(AgsFile *file, xmlNode *parent,
+ GList *stream, guint index,
+ guint buffer_size);
+
+void ags_file_read_stream_list(AgsFile *file, xmlNode *node,
+ GList **stream,
+ guint buffer_size);
+xmlNode* ags_file_write_stream_list(AgsFile *file, xmlNode *parent,
+ GList *stream,
+ guint buffer_size);
+
+/* AgsPattern */
+void ags_file_read_pattern(AgsFile *file, xmlNode *node, AgsPattern **pattern);
+xmlNode* ags_file_write_pattern(AgsFile *file, xmlNode *parent, AgsPattern *pattern);
+
+void ags_file_read_pattern_list(AgsFile *file, xmlNode *node, GList **pattern);
+xmlNode* ags_file_write_pattern_list(AgsFile *file, xmlNode *parent, GList *pattern);
+
+void ags_file_read_pattern_data(AgsFile *file, xmlNode *node,
+ AgsPattern *pattern, guint *i, guint *j,
+ guint length);
+xmlNode* ags_file_write_pattern_data(AgsFile *file, xmlNode *parent,
+ AgsPattern *pattern, guint i, guint j,
+ guint length);
+
+void ags_file_read_pattern_data_list(AgsFile *file, xmlNode *node,
+ AgsPattern *pattern,
+ guint length);
+xmlNode* ags_file_write_pattern_data_list(AgsFile *file, xmlNode *parent,
+ AgsPattern *pattern,
+ guint length);
+
+/* AgsNotation */
+void ags_file_read_notation(AgsFile *file, xmlNode *node, AgsNotation **notation);
+xmlNode* ags_file_write_notation(AgsFile *file, xmlNode *parent, AgsNotation *notation);
+
+void ags_file_read_notation_list(AgsFile *file, xmlNode *node, GList **notation);
+xmlNode* ags_file_write_notation_list(AgsFile *file, xmlNode *parent, GList *notation);
+
+void ags_file_read_note(AgsFile *file, xmlNode *node, AgsNote **note);
+xmlNode* ags_file_write_note(AgsFile *file, xmlNode *parent, AgsNote *note);
+
+void ags_file_read_note_list(AgsFile *file, xmlNode *node, GList **note);
+xmlNode* ags_file_write_note_list(AgsFile *file, xmlNode *parent, GList *note);
+
+/* AgsTask */
+void ags_file_read_task(AgsFile *file, xmlNode *node, AgsTask **task);
+xmlNode* ags_file_write_task(AgsFile *file, xmlNode *parent, AgsTask *task);
+
+void ags_file_read_task_list(AgsFile *file, xmlNode *node, GList **task);
+xmlNode* ags_file_write_task_list(AgsFile *file, xmlNode *parent, GList *task);
+
+/* AgsTimestamp */
+void ags_file_read_timestamp(AgsFile *file, xmlNode *node, AgsTimestamp **timestamp);
+xmlNode* ags_file_write_timestamp(AgsFile *file, xmlNode *parent, AgsTimestamp *timestamp);
+
+void ags_file_read_timestamp_list(AgsFile *file, xmlNode *node, GList **timestamp);
+xmlNode* ags_file_write_timestamp_list(AgsFile *file, xmlNode *parent, GList *timestamp);
+
+#endif /*__AGS_FILE_SOUND_H__*/
diff --git a/src/ags/file/ags_file_stock.h b/src/ags/file/ags_file_stock.h
new file mode 100644
index 0000000..ddaa881
--- /dev/null
+++ b/src/ags/file/ags_file_stock.h
@@ -0,0 +1,81 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_STOCK_H__
+#define __AGS_FILE_STOCK_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_led.h>
+#include <ags/widget/ags_vindicator.h>
+#include <ags/widget/ags_hindicator.h>
+#include <ags/widget/ags_waveform.h>
+#include <ags/widget/ags_dial.h>
+#include <ags/widget/ags_cartesian.h>
+
+#define AGS_FILE_DEFAULT_VERSION "0.4.2\0"
+#define AGS_FILE_EFFECTS_DEFAULT_VERSION "0.4.2\0"
+#define AGS_CLIPBOARD_DEFAULT_VERSION "0.4.2\0"
+
+#define AGS_FILE_FALSE "FALSE\0"
+#define AGS_FILE_TRUE "TRUE\0"
+
+#define AGS_FILE_BOOLEAN_PROP "gboolean\0"
+#define AGS_FILE_CHAR_PROP "gchar\0"
+#define AGS_FILE_INT64_PROP "gint64\0"
+#define AGS_FILE_UINT64_PROP "guint64\0"
+#define AGS_FILE_FLOAT_PROP "gfloat\0"
+#define AGS_FILE_DOUBLE_PROP "gdouble\0"
+
+#define AGS_FILE_POINTER_PROP "gpointer\0"
+#define AGS_FILE_OBJECT_PROP "GObject\0"
+
+#define AGS_FILE_BOOLEAN_POINTER_PROP "gboolean-pointer\0"
+#define AGS_FILE_CHAR_POINTER_PROP "gchar-pointer\0"
+#define AGS_FILE_INT64_POINTER_PROP "gint64-pointer\0"
+#define AGS_FILE_UINT64_POINTER_PROP "guint64-pointer\0"
+#define AGS_FILE_FLOAT_POINTER_PROP "gfloat-pointer\0"
+#define AGS_FILE_DOUBLE_POINTER_PROP "gdouble-pointer\0"
+
+#define AGS_FILE_ID_PROP "id\0"
+#define AGS_FILE_NAME_PROP "name\0"
+#define AGS_FILE_TYPE_PROP "type\0"
+#define AGS_FILE_SCOPE_PROP "scope\0"
+#define AGS_FILE_VERSION_PROP "version\0"
+#define AGS_FILE_BUILD_ID_PROP "build-id\0"
+#define AGS_FILE_XPATH_PROP "xpath\0"
+#define AGS_FILE_FLAGS_PROP "flags\0"
+
+#define AGS_FILE_DYNAMIC_WIDGET_LED (g_type_name(AgsTypeLed))
+#define AGS_FILE_DYNAMIC_WIDGET_VINDICATOR (g_type_name(AgsTypeVIndicator))
+#define AGS_FILE_DYNAMIC_WIDGET_HINDICATOR (g_type_name(AgsTypeHIndicator))
+#define AGS_FILE_DYNAMIC_WIDGET_LABEL (g_type_name(GtkTypeLabel))
+#define AGS_FILE_DYNAMIC_WIDGET_WAVEFORM (g_type_name(AgsTypeWaveform))
+#define AGS_FILE_DYNAMIC_WIDGET_BUTTON (g_type_name(GtkTypeButton))
+#define AGS_FILE_DYNAMIC_WIDGET_TOGGLE_BUTTON (g_type_name(GtkTypeToggleButton))
+#define AGS_FILE_DYNAMIC_WIDGET_CHECK_BUTTON (g_type_name(GtkTypeCheckButton))
+#define AGS_FILE_DYNAMIC_WIDGET_SPIN_BUTTON (g_type_name(GtkTypeSpinButton))
+#define AGS_FILE_DYNAMIC_WIDGET_VSCALE (g_type_name(GtkTypeVScale))
+#define AGS_FILE_DYNAMIC_WIDGET_HSCALE (g_type_name(GtkTypeHScale))
+#define AGS_FILE_DYNAMIC_WIDGET_DIAL (g_type_name(AgsTypeDial))
+#define AGS_FILE_DYNAMIC_WIDGET_CARTESIAN (g_type_name(GtkTypeCartesian))
+
+#endif /*__AGS_FILE_STOCK_H__*/
diff --git a/src/ags/file/ags_file_thread.c b/src/ags/file/ags_file_thread.c
new file mode 100644
index 0000000..9501ecb
--- /dev/null
+++ b/src/ags/file/ags_file_thread.c
@@ -0,0 +1,720 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_thread.h>
+
+#include <libxml/parser.h>
+#include <libxml/xlink.h>
+#include <libxml/xpath.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_returnable_thread.h>
+#include <ags/thread/ags_devout_thread.h>
+
+void ags_file_read_thread_start(AgsFileLaunch *file_launch, AgsThread *thread);
+
+void ags_file_read_thread_resolve_devout(AgsFileLookup *file_lookup,
+ AgsThread *thread);
+void ags_file_write_thread_resolve_devout(AgsFileLookup *file_lookup,
+ AgsThread *thread);
+
+void ags_file_read_thread_pool_start(AgsFileLaunch *file_launch, AgsThreadPool *thread_pool);
+
+void ags_file_read_audio_loop_resolve_task_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop);
+void ags_file_write_audio_loop_resolve_task_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop);
+void ags_file_read_audio_loop_resolve_gui_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop);
+void ags_file_write_audio_loop_resolve_gui_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop);
+void ags_file_read_audio_loop_resolve_devout_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop);
+void ags_file_write_audio_loop_resolve_devout_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop);
+
+void
+ags_file_read_thread(AgsFile *file, xmlNode *node, AgsThread **thread)
+{
+ AgsFileLookup *file_lookup;
+ AgsFileLaunch *file_launch;
+ AgsThread *gobject;
+ xmlNode *child;
+ xmlChar *type_name;
+ static gboolean thread_type_is_registered = FALSE;
+
+ if(*thread != NULL &&
+ AGS_IS_RETURNABLE_THREAD(*thread)){
+ return;
+ }
+
+ if(*thread == NULL){
+ GType type;
+
+ if(!thread_type_is_registered){
+ ags_main_register_thread_type();
+
+ thread_type_is_registered = TRUE;
+ }
+
+ type_name = xmlGetProp(node,
+ AGS_FILE_TYPE_PROP);
+
+ type = g_type_from_name(type_name);
+
+ if(type == AGS_TYPE_RETURNABLE_THREAD){
+ return;
+ }
+
+ gobject = g_object_new(type,
+ NULL);
+
+ *thread = gobject;
+ }else{
+ gobject = *thread;
+ }
+
+ g_message(G_OBJECT_TYPE_NAME(gobject));
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ g_atomic_int_set(&(gobject->flags),
+ ((~(AGS_THREAD_WAIT_0 |
+ AGS_THREAD_WAIT_1 |
+ AGS_THREAD_WAIT_2 |
+ AGS_THREAD_RUNNING)) & (guint) g_ascii_strtoull(xmlGetProp(node,
+ AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16)));
+
+ /* start */
+ if((AGS_THREAD_RUNNING & (g_atomic_int_get(&(gobject->flags)))) != 0){
+ //FIXME:JK: workaround file setting AGS_THREAD_RUNNING is just ignored
+ if(AGS_IS_AUDIO_LOOP(gobject)){
+ file_launch = (AgsFileLaunch *) g_object_new(AGS_TYPE_FILE_LAUNCH,
+ NULL);
+ ags_file_add_launch(file, (GObject *) file_launch);
+ g_signal_connect(G_OBJECT(file_launch), "start\0",
+ G_CALLBACK(ags_file_read_thread_start), gobject);
+ }
+ }
+
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", gobject,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_thread_resolve_devout), gobject);
+
+ /* read children */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-thread-list\0",
+ 16)){
+ if(AGS_IS_AUDIO_LOOP(gobject)){
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+
+ /* task thread */
+ xpath_context = xmlXPathNewContext(file->doc);
+ xpath_context->node = child;
+ // xmlXPathSetContextNode(child,
+ // xpath_context);
+ xpath_object = xmlXPathCompiledEval(xmlXPathCompile("./ags-thread[@type='AgsTaskThread']\0"),
+ xpath_context);
+ //xmlXPathNodeEval(child,
+ // "./ags-thread[@type='AgsTaskThread']\0",
+ // xpath_context);
+
+ ags_file_read_thread(file,
+ xpath_object->nodesetval->nodeTab[0],
+ &(AGS_AUDIO_LOOP(gobject)->task_thread));
+ ags_thread_add_child(gobject,
+ AGS_AUDIO_LOOP(gobject)->task_thread);
+
+ /* devout thread */
+ xpath_context = xmlXPathNewContext(file->doc);
+ xpath_context->node = child;
+ xpath_object = xmlXPathCompiledEval(xmlXPathCompile("./ags-thread[@type='AgsDevoutThread']\0"),
+ xpath_context);
+
+ ags_file_read_thread(file,
+ xpath_object->nodesetval->nodeTab[0],
+ &(AGS_AUDIO_LOOP(gobject)->devout_thread));
+ ags_thread_add_child(gobject,
+ AGS_AUDIO_LOOP(gobject)->devout_thread);
+
+ /* timestamp thread */
+ xpath_context = xmlXPathNewContext(file->doc);
+ xpath_context->node = child;
+ xpath_object = xmlXPathCompiledEval(xmlXPathCompile("./ags-thread[@type='AgsDevoutThread']/ags-thread-list/ags-thread[@type='AgsTimestampThread']\0"),
+ xpath_context);
+
+ ags_file_read_thread(file,
+ xpath_object->nodesetval->nodeTab[0],
+ &(AGS_DEVOUT_THREAD(AGS_AUDIO_LOOP(gobject)->devout_thread)->timestamp_thread));
+ ags_thread_add_child(AGS_DEVOUT_THREAD(AGS_AUDIO_LOOP(gobject)->devout_thread),
+ AGS_DEVOUT_THREAD(AGS_AUDIO_LOOP(gobject)->devout_thread)->timestamp_thread);
+
+ /* gui thread */
+ xpath_context = xmlXPathNewContext(file->doc);
+ xpath_context->node = child;
+ xpath_object = xmlXPathCompiledEval(xmlXPathCompile("./ags-thread[@type='AgsGuiThread']\0"),
+ xpath_context);
+
+ ags_file_read_thread(file,
+ xpath_object->nodesetval->nodeTab[0],
+ &(AGS_AUDIO_LOOP(gobject)->gui_thread));
+ ags_thread_add_child(gobject,
+ AGS_AUDIO_LOOP(gobject)->gui_thread);
+ }else{
+ GList *list;
+
+ list = NULL;
+
+ //FIXME:JK: buggy
+ // ags_file_read_thread_list(file,
+ // child,
+ // &list);
+
+ // while(list != NULL){
+ // ags_thread_add_child(gobject,
+ // list->data);
+
+ // list = list->next;
+ // }
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-audio-loop\0",
+ 15)){
+ ags_file_read_audio_loop(file,
+ child,
+ AGS_AUDIO_LOOP(gobject));
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+void
+ags_file_read_thread_resolve_devout(AgsFileLookup *file_lookup,
+ AgsThread *thread)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "devout\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ g_object_set(G_OBJECT(thread),
+ "devout\0", id_ref->ref,
+ NULL);
+ }
+}
+
+void
+ags_file_read_thread_start(AgsFileLaunch *file_launch, AgsThread *thread)
+{
+ thread->flags &= (~AGS_THREAD_RUNNING);
+ ags_thread_start(thread);
+
+ pthread_mutex_lock(&(thread->start_mutex));
+
+ while((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) == 0){
+ pthread_cond_wait(&(thread->start_cond),
+ &(thread->start_mutex));
+
+ }
+
+ pthread_mutex_unlock(&(thread->start_mutex));
+}
+
+xmlNode*
+ags_file_write_thread(AgsFile *file, xmlNode *parent, AgsThread *thread)
+{
+ AgsFileLookup *file_lookup;
+ AgsThread *current;
+ xmlNode *node, *child;
+ gchar *id;
+
+ if(AGS_IS_RETURNABLE_THREAD(thread)){
+ return;
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-thread\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", thread,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ G_OBJECT_TYPE_NAME(thread));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", thread->flags));
+
+ /* devout */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", thread,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_thread_resolve_devout), thread);
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ if(AGS_IS_AUDIO_LOOP(thread)){
+ ags_file_write_audio_loop(file,
+ node,
+ AGS_AUDIO_LOOP(thread));
+ }
+
+ current = thread->children;
+
+ child = xmlNewNode(NULL,
+ "ags-thread-list\0");
+ xmlAddChild(node,
+ child);
+
+ while(current != NULL){
+ ags_file_write_thread(file,
+ child,
+ current);
+ current = current->next;
+ }
+}
+
+void
+ags_file_write_thread_resolve_devout(AgsFileLookup *file_lookup,
+ AgsThread *thread)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, thread->devout);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "devout\0",
+ g_strdup_printf("xpath=//ags-devout[@id='%s']\0", id));
+}
+
+void
+ags_file_read_thread_list(AgsFile *file, xmlNode *node, GList **thread)
+{
+ AgsThread *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-thread\0",
+ 11)){
+ current = NULL;
+ ags_file_read_thread(file, child, ¤t);
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ // list = g_list_reverse(list);
+ *thread = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_thread_list(AgsFile *file, xmlNode *parent, GList *thread)
+{
+ AgsThread *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-thread-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ //TODO:JK: generate id and add id ref
+
+ list = thread;
+
+ while(list != NULL){
+ ags_file_write_thread(file, node, AGS_THREAD(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_thread_pool(AgsFile *file, xmlNode *node, AgsThreadPool **thread_pool)
+{
+ AgsThreadPool *gobject;
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+ xmlChar *prop, *content;
+
+ if(*thread_pool == NULL){
+ gobject = g_object_new(AGS_TYPE_THREAD_POOL,
+ NULL);
+ *thread_pool = gobject;
+ }else{
+ gobject = *thread_pool;
+ }
+
+ //TODO:JK: implement me
+ // g_object_set(G_OBJECT(gobject),
+ // "ags-main\0", file->ags_main,
+ // NULL);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ gobject->flags = (guint) g_ascii_strtoull(xmlGetProp(node, AGS_FILE_FLAGS_PROP),
+ NULL,
+ 16);
+}
+
+xmlNode*
+ags_file_write_thread_pool(AgsFile *file, xmlNode *parent, AgsThreadPool *thread_pool)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node, *child;
+ gchar *id;
+ guint i;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-thread_pool\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", thread_pool,
+ NULL));
+
+ xmlNewProp(node,
+ AGS_FILE_FLAGS_PROP,
+ g_strdup_printf("%x\0", thread_pool->flags));
+}
+
+void
+ags_file_read_thread_pool_start(AgsFileLaunch *file_launch, AgsThreadPool *thread_pool)
+{
+ ags_thread_pool_start(thread_pool);
+}
+
+void
+ags_file_read_audio_loop(AgsFile *file, xmlNode *node, AgsAudioLoop *audio_loop)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *child;
+
+ audio_loop = AGS_AUDIO_LOOP(audio_loop);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", audio_loop,
+ NULL));
+
+ /* task-thread */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", audio_loop,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_audio_loop_resolve_task_thread), audio_loop);
+
+ /* gui-thread */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", audio_loop,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_audio_loop_resolve_gui_thread), audio_loop);
+
+ /* devout-thread */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", audio_loop,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_read_audio_loop_resolve_devout_thread), audio_loop);
+}
+
+void
+ags_file_read_audio_loop_resolve_task_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "task-thread\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ g_object_set(G_OBJECT(audio_loop),
+ "task-thread\0", (AgsThread *) id_ref->ref,
+ NULL);
+ }
+}
+
+void
+ags_file_read_audio_loop_resolve_gui_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "gui-thread\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ g_object_set(G_OBJECT(audio_loop),
+ "gui-thread\0", (AgsThread *) id_ref->ref,
+ NULL);
+ }
+}
+
+void
+ags_file_read_audio_loop_resolve_devout_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "devout-thread\0");
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref != NULL){
+ g_object_set(G_OBJECT(audio_loop),
+ "devout-thread\0", (AgsThread *) id_ref->ref,
+ NULL);
+ }
+}
+
+xmlNode*
+ags_file_write_audio_loop(AgsFile *file, xmlNode *parent, AgsAudioLoop *audio_loop)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-audio-loop\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", audio_loop,
+ NULL));
+
+ /* task-thread */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", audio_loop,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_audio_loop_resolve_task_thread), audio_loop);
+
+ /* gui-thread */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", audio_loop,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_audio_loop_resolve_gui_thread), audio_loop);
+
+ /* devout-thread */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", audio_loop,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_write_audio_loop_resolve_devout_thread), audio_loop);
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_write_audio_loop_resolve_task_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, audio_loop->task_thread);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "task-thread\0",
+ g_strdup_printf("xpath=//ags-thread[@id='%s']\0", id));
+}
+
+void
+ags_file_write_audio_loop_resolve_gui_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, audio_loop->gui_thread);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "gui-thread\0",
+ g_strdup_printf("xpath=//ags-thread[@id='%s']\0", id));
+}
+
+void
+ags_file_write_audio_loop_resolve_devout_thread(AgsFileLookup *file_lookup,
+ AgsAudioLoop *audio_loop)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, audio_loop->devout_thread);
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "devout-thread\0",
+ g_strdup_printf("xpath=//ags-thread[@id='%s']\0", id));
+}
diff --git a/src/ags/file/ags_file_thread.h b/src/ags/file/ags_file_thread.h
new file mode 100644
index 0000000..01a156a
--- /dev/null
+++ b/src/ags/file/ags_file_thread.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_THREAD_H__
+#define __AGS_FILE_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#include <ags/file/ags_file.h>
+
+#include <ags/thread/ags_thread_pool.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/thread/ags_audio_loop.h>
+
+void ags_file_read_thread(AgsFile *file, xmlNode *node, AgsThread **thread);
+xmlNode* ags_file_write_thread(AgsFile *file, xmlNode *parent, AgsThread *thread);
+
+void ags_file_read_thread_list(AgsFile *file, xmlNode *node, GList **thread);
+xmlNode* ags_file_write_thread_list(AgsFile *file, xmlNode *parent, GList *thread);
+
+void ags_file_read_thread_pool(AgsFile *file, xmlNode *node, AgsThreadPool **thread_pool);
+xmlNode* ags_file_write_thread_pool(AgsFile *file, xmlNode *parent, AgsThreadPool *thread_pool);
+
+void ags_file_read_audio_loop(AgsFile *file, xmlNode *node, AgsAudioLoop *audio_loop);
+xmlNode* ags_file_write_audio_loop(AgsFile *file, xmlNode *parent, AgsAudioLoop *audio_loop);
+
+#endif /*__AGS_FILE_THREAD_H__*/
diff --git a/src/ags/file/ags_file_util.c b/src/ags/file/ags_file_util.c
new file mode 100644
index 0000000..f6cc366
--- /dev/null
+++ b/src/ags/file/ags_file_util.c
@@ -0,0 +1,1354 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_util.h>
+
+#include <libxml/parser.h>
+#include <libxml/xlink.h>
+#include <libxml/xpath.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags/file/ags_file_stock.h>
+#include <ags/file/ags_file_id_ref.h>
+#include <ags/file/ags_file_lookup.h>
+#include <ags/file/ags_file_launch.h>
+
+#include <ags/audio/ags_audio.h>
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#include <string.h>
+
+void ags_file_util_read_value_resolve(AgsFileLookup *file_lookup,
+ GValue *value);
+void ags_file_util_write_value_resolve(AgsFileLookup *file_lookup,
+ GValue *value);
+
+void ags_file_util_read_file_link_launch(AgsFileLaunch *file_launch,
+ AgsFileLink *file_link);
+
+void
+ags_file_util_read_value(AgsFile *file,
+ xmlNode *node, gchar **id,
+ GValue *value, xmlChar **xpath)
+{
+ AgsFileLookup *file_lookup;
+ xmlChar *type_str;
+ xmlChar *value_str;
+ xmlChar *content;
+
+
+ if(id != NULL)
+ *id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ type_str = xmlGetProp(node, "type\0");
+
+ content = xmlNodeGetContent(node);
+
+ if(value == NULL){
+ value = (GValue *) g_new0(GValue, 1);
+ memset(value, 0, sizeof(GValue));
+ }
+
+ if(!xmlStrncmp(type_str,
+ AGS_FILE_BOOLEAN_PROP,
+ 7)){
+ g_value_init(value, G_TYPE_BOOLEAN);
+ g_value_set_boolean(value, ((!xmlStrncmp(content, AGS_FILE_TRUE, 5)) ? TRUE: FALSE));
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_CHAR_PROP,
+ 5)){
+ g_value_init(value, G_TYPE_CHAR);
+ g_value_set_schar(value, content[0]);
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_INT64_PROP,
+ 7)){
+ g_value_init(value, G_TYPE_INT64);
+ g_value_set_int64(value, g_ascii_strtoll(content, NULL, 10));
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_UINT64_PROP,
+ 8)){
+ g_value_init(value, G_TYPE_UINT64);
+ g_value_set_uint64(value, g_ascii_strtoull(content, NULL, 10));
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_FLOAT_PROP,
+ 6)){
+ g_value_init(value, G_TYPE_FLOAT);
+ g_value_set_float(value, g_ascii_strtod(content, NULL));
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_DOUBLE_PROP,
+ 7)){
+ g_value_init(value, G_TYPE_DOUBLE);
+ g_value_set_double(value, g_ascii_strtod(content, NULL));
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_CHAR_POINTER_PROP,
+ 13)){
+ g_value_init(value, G_TYPE_STRING);
+ g_value_set_static_string(value, content);
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_BOOLEAN_POINTER_PROP,
+ 14)){
+ gchar **str_arr, **str_iter;
+ gboolean *arr;
+ guint i;
+
+ str_arr = g_strsplit(content, " \0", -1);
+
+ g_value_init(value, G_TYPE_POINTER);
+
+ arr = NULL;
+ str_iter = str_arr;
+ i = 0;
+
+ while(*str_iter != NULL){
+ if(arr == NULL){
+ arr = (gboolean *) malloc(sizeof(gboolean));
+ }else{
+ arr = (gboolean *) realloc(arr, (i + 1) * sizeof(gboolean));
+ }
+
+ if(!xmlStrcmp(*str_iter, AGS_FILE_TRUE)){
+ arr[i] = TRUE;
+ }else{
+ arr[i] = FALSE;
+ }
+
+ str_iter++;
+ i++;
+ }
+
+ g_value_set_pointer(value, (gpointer) arr);
+ g_free(str_arr);
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_INT64_POINTER_PROP,
+ 11)){
+ gchar **str_arr, **str_iter;
+ gint64 *arr;
+ guint i;
+
+ str_arr = g_strsplit(content, " \0", -1);
+
+ g_value_init(value, G_TYPE_POINTER);
+
+ arr = NULL;
+ str_iter = str_arr;
+ i = 0;
+
+ while(*str_iter != NULL){
+ if(arr == NULL){
+ arr = (gint64 *) malloc(sizeof(gint64));
+ }else{
+ arr = (gint64 *) realloc(arr, (i + 1) * sizeof(gint64));
+ }
+
+ arr[i] = g_ascii_strtoll(*str_iter, NULL, 10);
+
+ str_iter++;
+ i++;
+ }
+
+ g_value_set_pointer(value, (gpointer) arr);
+ g_free(str_arr);
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_UINT64_POINTER_PROP,
+ 12)){
+ gchar **str_arr, **str_iter;
+ guint64 *arr;
+ guint i;
+
+ str_arr = g_strsplit(content, " \0", -1);
+
+ g_value_init(value, G_TYPE_POINTER);
+
+ arr = NULL;
+ str_iter = str_arr;
+ i = 0;
+
+ while(*str_iter != NULL){
+ if(arr == NULL){
+ arr = (guint64 *) malloc(sizeof(guint64));
+ }else{
+ arr = (guint64 *) realloc(arr, (i + 1) * sizeof(guint64));
+ }
+
+ arr[i] = g_ascii_strtoll(*str_iter, NULL, 10);
+
+ str_iter++;
+ i++;
+ }
+
+ g_value_set_pointer(value, (gpointer) arr);
+ g_free(str_arr);
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_FLOAT_POINTER_PROP,
+ 14)){
+ gchar **str_arr, **str_iter;
+ gfloat *arr;
+ guint i;
+
+ str_arr = g_strsplit(content, " \0", -1);
+
+ g_value_init(value, G_TYPE_POINTER);
+
+ arr = NULL;
+ str_iter = str_arr;
+ i = 0;
+
+ while(*str_iter != NULL){
+ if(arr == NULL){
+ arr = (gfloat *) malloc(sizeof(gfloat));
+ }else{
+ arr = (gfloat *) realloc(arr, (i + 1) * sizeof(gfloat));
+ }
+
+ arr[i] = g_ascii_strtod(*str_iter, NULL);
+
+ str_iter++;
+ i++;
+ }
+
+ g_value_set_pointer(value, (gpointer) arr);
+ g_free(str_arr);
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_DOUBLE_POINTER_PROP,
+ 15)){
+ gchar **str_arr, **str_iter;
+ gdouble *arr;
+ guint i;
+
+ str_arr = g_strsplit(content, " \0", -1);
+
+ g_value_init(value, G_TYPE_POINTER);
+
+ arr = NULL;
+ str_iter = str_arr;
+ i = 0;
+
+ while(*str_iter != NULL){
+ if(arr == NULL){
+ arr = (gdouble *) malloc(sizeof(gdouble));
+ }else{
+ arr = (gdouble *) realloc(arr, (i + 1) * sizeof(gdouble));
+ }
+
+ arr[i] = g_ascii_strtod(*str_iter, NULL);
+
+ str_iter++;
+ i++;
+ }
+
+ g_value_set_pointer(value, (gpointer) arr);
+ g_free(str_arr);
+
+ if(xpath != NULL)
+ *xpath = NULL;
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_POINTER_PROP,
+ 9)){
+ g_value_init(value, G_TYPE_POINTER);
+
+ /* gpointer */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", value,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_util_read_value_resolve), value);
+
+ /* xpath */
+ if(xpath != NULL)
+ *xpath = xmlGetProp(node,
+ "link\0");
+ }else if(!xmlStrncmp(type_str,
+ AGS_FILE_OBJECT_PROP,
+ 8)){
+ g_value_init(value, G_TYPE_OBJECT);
+
+ /* GObject */
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", value,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_util_read_value_resolve), value);
+
+ /* xpath */
+ if(xpath != NULL)
+ *xpath = xmlGetProp(node,
+ "link\0");
+ }else{
+ g_warning("ags_file_util_read_value: unsupported type: %s\0", type_str);
+ return;
+ }
+
+
+}
+
+void
+ags_file_util_read_value_resolve(AgsFileLookup *file_lookup,
+ GValue *value)
+{
+ AgsFileIdRef *id_ref;
+ gchar *xpath;
+
+ xpath = (gchar *) xmlGetProp(file_lookup->node,
+ "link\0");
+
+ if(xpath == NULL || value == NULL){
+ return;
+ }
+
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_xpath(file_lookup->file, xpath);
+
+ if(id_ref == NULL){
+ g_warning("can't resolve xpath: %s\0", xpath);
+ return;
+ }
+
+ if(G_VALUE_HOLDS(value, G_TYPE_POINTER)){
+ g_value_set_pointer(value, (gpointer) id_ref->ref);
+ }else if(G_VALUE_HOLDS(value, G_TYPE_OBJECT)){
+ g_value_set_object(value, (GObject *) id_ref->ref);
+ }else if(G_VALUE_HOLDS(value, G_TYPE_STRING)){
+ g_value_set_string(value, (gchar *) id_ref->ref);
+ }else{
+ g_warning("ags_file_util_read_value_resolve: unknown type of GValue %s\0", G_VALUE_TYPE_NAME(value));
+ }
+}
+
+xmlNode*
+ags_file_util_write_value(AgsFile *file,
+ xmlNode *parent, gchar *id,
+ GValue *value, GType pointer_type, guint array_length)
+{
+ AgsFileLookup *file_lookup;
+ xmlNode *node;
+ xmlChar *type_str;
+ xmlChar *content;
+
+ if(value == NULL){
+ return;
+ }
+
+ node = xmlNewNode(NULL,
+ "ags-value\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ content = NULL;
+
+ switch(G_VALUE_TYPE(value)){
+ case G_TYPE_CHAR:
+ {
+ content = BAD_CAST g_strdup_printf("%c\0", g_value_get_schar(value));
+ type_str = AGS_FILE_CHAR_PROP;
+ }
+ break;
+ case G_TYPE_BOOLEAN:
+ {
+ content = BAD_CAST g_strdup_printf("%s\0", ((g_value_get_boolean(value)) ? AGS_FILE_TRUE: AGS_FILE_FALSE));
+ type_str = AGS_FILE_BOOLEAN_PROP;
+ }
+ break;
+ case G_TYPE_INT64:
+ {
+ content = BAD_CAST g_strdup_printf("%lld\0", g_value_get_int64(value));
+ type_str = AGS_FILE_INT64_PROP;
+ }
+ break;
+ case G_TYPE_UINT64:
+ {
+ content = BAD_CAST g_strdup_printf("%lld\0", g_value_get_uint64(value));
+ type_str = AGS_FILE_UINT64_PROP;
+ }
+ break;
+ case G_TYPE_FLOAT:
+ {
+ content = BAD_CAST g_strdup_printf("%f\0", g_value_get_float(value));
+ type_str = AGS_FILE_FLOAT_PROP;
+ }
+ break;
+ case G_TYPE_DOUBLE:
+ {
+ content = BAD_CAST g_strdup_printf("%f\0", g_value_get_double(value));
+ type_str = AGS_FILE_DOUBLE_PROP;
+ }
+ break;
+ case G_TYPE_STRING:
+ {
+ content = BAD_CAST g_strdup_printf("%s\0", g_value_get_string(value));
+ type_str = AGS_FILE_CHAR_POINTER_PROP;
+ }
+ break;
+ case G_TYPE_POINTER:
+ {
+ gchar *str;
+ guint i;
+
+ if(pointer_type == G_TYPE_CHAR){
+ content = BAD_CAST g_strdup_printf("%s\0", g_value_get_string(value));
+ type_str = AGS_FILE_CHAR_POINTER_PROP;
+ }else if(pointer_type == G_TYPE_INT64){
+ gint64 *arr;
+
+ arr = (gint64 *) g_value_get_pointer(value);
+
+ for(i = 0; i < array_length; i++){
+ if(i == 0){
+ content = g_strdup_printf("%d\0", arr[i]);
+ }else{
+ str = content;
+
+ content = g_strdup_printf("%s %d\0", str, arr[i]);
+
+ g_free(str);
+ }
+ }
+
+ type_str = AGS_FILE_INT64_POINTER_PROP;
+ }else if(pointer_type == G_TYPE_UINT64){
+ guint64 *arr;
+
+ arr = (guint64 *) g_value_get_pointer(value);
+
+ for(i = 0; i < array_length; i++){
+ if(i == 0){
+ content = g_strdup_printf("%d\0", arr[i]);
+ }else{
+ str = content;
+
+ content = g_strdup_printf("%s %d\0", str, arr[i]);
+
+ g_free(str);
+ }
+ }
+
+ type_str = AGS_FILE_UINT64_POINTER_PROP;
+ }else if(pointer_type == G_TYPE_FLOAT){
+ gfloat *arr;
+
+ arr = (gfloat *) g_value_get_pointer(value);
+
+ for(i = 0; i < array_length; i++){
+ if(i == 0){
+ content = g_strdup_printf("%f\0", arr[i]);
+ }else{
+ str = content;
+
+ content = g_strdup_printf("%s %f\0", str, arr[i]);
+
+ g_free(str);
+ }
+ }
+
+ type_str = AGS_FILE_DOUBLE_POINTER_PROP;
+ }else if(pointer_type == G_TYPE_DOUBLE){
+ gdouble *arr;
+
+ arr = (gdouble *) g_value_get_pointer(value);
+
+ for(i = 0; i < array_length; i++){
+ if(i == 0){
+ content = g_strdup_printf("%f\0", arr[i]);
+ }else{
+ str = content;
+
+ content = g_strdup_printf("%s %f\0", str, arr[i]);
+
+ g_free(str);
+ }
+ }
+
+ type_str = AGS_FILE_DOUBLE_POINTER_PROP;
+ }else{
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", value,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_util_write_value_resolve), value);
+ }
+
+ type_str = AGS_FILE_POINTER_PROP;
+ }
+ break;
+ case G_TYPE_OBJECT:
+ {
+ file_lookup = (AgsFileLookup *) g_object_new(AGS_TYPE_FILE_LOOKUP,
+ "file\0", file,
+ "node\0", node,
+ "reference\0", value,
+ NULL);
+ ags_file_add_lookup(file, (GObject *) file_lookup);
+ g_signal_connect_after(G_OBJECT(file_lookup), "resolve\0",
+ G_CALLBACK(ags_file_util_write_value_resolve), value);
+
+ type_str = AGS_FILE_OBJECT_PROP;
+ }
+ break;
+ default:
+ g_warning("ags_file_util_write_value %s\0", G_VALUE_TYPE_NAME(value));
+ }
+
+ xmlNewProp(node,
+ AGS_FILE_TYPE_PROP,
+ type_str);
+
+ xmlNodeSetContent(node, content);
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_file_util_write_value_resolve(AgsFileLookup *file_lookup,
+ GValue *value)
+{
+ AgsFileIdRef *id_ref;
+ gchar *id;
+
+ id_ref = NULL;
+
+ if(G_VALUE_HOLDS(value, G_TYPE_OBJECT)){
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, g_value_get_object(value));
+ }else if(G_VALUE_HOLDS(value, G_TYPE_POINTER)){
+ id_ref = (AgsFileIdRef *) ags_file_find_id_ref_by_reference(file_lookup->file, g_value_get_pointer(value));
+ }
+
+ if(id_ref == NULL){
+ return;
+ }
+
+ id = xmlGetProp(id_ref->node, AGS_FILE_ID_PROP);
+
+ xmlNewProp(file_lookup->node,
+ "link\0",
+ g_strdup_printf("xpath=//*[@id='%s']\0", id));
+
+ // g_value_unset(value);
+ // g_free(value);
+}
+
+void
+ags_file_util_read_parameter(AgsFile *file,
+ xmlNode *node, gchar **id,
+ GParameter **parameter, gint *n_params, xmlChar ***xpath)
+{
+ xmlNode *child;
+ GParameter *parameter_arr;
+ gchar **name_arr, **name_iter;
+ xmlChar **xpath_arr, **xpath_iter;
+ guint i;
+
+ name_arr = g_strsplit(xmlGetProp(node, AGS_FILE_NAME_PROP), " \0", -1);
+ parameter_arr = NULL;
+ xpath_arr = NULL;
+
+ /* */
+ name_iter = name_arr;
+ child = node->children;
+ i = 0;
+
+ while(*name_iter != NULL && child != NULL){
+ if(child->type == XML_ELEMENT_NODE &&
+ !xmlStrncmp(child->name,
+ "ags-value\0",
+ 11)){
+ if(parameter_arr == NULL){
+ parameter_arr = (GParameter *) g_new(GParameter, 1);
+ xpath_arr = (xmlChar **) malloc(sizeof(xmlChar *));
+ }else{
+ parameter_arr = (GParameter *) g_renew(GParameter, parameter_arr, i + 1);
+ xpath_arr = (xmlChar **) realloc(xpath_arr, (i + 1) * sizeof(xmlChar *));
+ }
+
+ name_iter++;
+ i++;
+ }
+
+ child = child->next;
+ }
+
+ /* */
+ name_iter = name_arr;
+ child = node->children;
+ i = 0;
+
+ while(*name_iter != NULL && child != NULL){
+ if(child->type == XML_ELEMENT_NODE &&
+ !xmlStrncmp(child->name,
+ "ags-value\0",
+ 11)){
+ xpath_iter = xpath_arr + i;
+
+ parameter_arr[i].name = name_arr[i];
+ memset(&(parameter_arr[i].value), 0, sizeof(GValue));
+ ags_file_util_read_value(file,
+ child, NULL,
+ &(parameter_arr[i].value), (xmlChar **) &xpath_iter);
+
+ name_iter++;
+ i++;
+ }
+
+ child = child->next;
+ }
+
+ g_free(name_arr);
+
+ if(id != NULL)
+ *id = (gchar *) xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ if(parameter != NULL)
+ *parameter = parameter_arr;
+ else
+ g_free(parameter);
+
+ if(n_params != NULL)
+ *n_params = i;
+
+ if(xpath != NULL)
+ *xpath = xpath_arr;
+ else
+ free(xpath_arr);
+}
+
+xmlNode*
+ags_file_util_write_parameter(AgsFile *file,
+ xmlNode *parent, gchar *id,
+ GParameter *parameter, gint n_params)
+{
+ xmlNode *node;
+ xmlChar *name, *old_name;
+ gchar *child_id;
+ guint i;
+
+ if(parameter == NULL){
+ return;
+ }
+
+ node = xmlNewNode(NULL,
+ "ags-parameter\0");
+
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ name = NULL;
+
+ for(i = 0; i < n_params; i++){
+ if(name == NULL){
+ name = g_strdup(parameter[i].name);
+ }else{
+ old_name = name;
+ name = (xmlChar *) g_strdup_printf("%s %s\0", name, parameter[i].name);
+ free(old_name);
+ }
+
+ child_id = ags_id_generator_create_uuid();
+
+ ags_file_util_write_value(file,
+ node, child_id,
+ &(parameter[i].value), G_TYPE_NONE, 0);
+ }
+
+ xmlNewProp(node,
+ AGS_FILE_NAME_PROP,
+ name);
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_file_util_read_dependency(AgsFile *file,
+ xmlNode *node, gchar **id,
+ gchar **name, xmlChar **xpath)
+{
+ *id = xmlGetProp(node, AGS_FILE_ID_PROP);
+ *name = xmlGetProp(node, AGS_FILE_NAME_PROP);
+ *xpath = xmlGetProp(node, AGS_FILE_XPATH_PROP);
+}
+
+xmlNode*
+ags_file_util_write_dependency(AgsFile *file,
+ xmlNode *parent, gchar *id,
+ gchar *name, xmlChar *xpath)
+{
+ xmlNode *node;
+
+ node = xmlNewNode(NULL,
+ "ags-dependency\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ xmlNewProp(node,
+ AGS_FILE_NAME_PROP,
+ name);
+
+ xmlNewProp(node,
+ AGS_FILE_XPATH_PROP,
+ xpath);
+
+ xmlAddChild(parent,
+ node);
+
+ return(node);
+}
+
+void
+ags_file_util_read_object(AgsFile *file,
+ xmlNode *node,
+ GObject **ptr)
+{
+ GObject *gobject;
+ xmlNode *child;
+
+ if(ptr == NULL){
+ return;
+ }else{
+ gobject = *ptr;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ /* child elements */
+ child = node->children;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-parameter\0",
+ 14)){
+ GParameter *parameter;
+ guint n_params;
+ guint i;
+
+ parameter = NULL;
+
+ ags_file_util_read_parameter(file,
+ child,
+ NULL,
+ ¶meter, &n_params, NULL);
+
+ for(i = 0; i < n_params; i++){
+ g_object_set_property(gobject,
+ parameter[i].name, &(parameter[i].value));
+ }
+ }else if(!xmlStrncmp(child->name,
+ "ags-widget\0",
+ 11)){
+ ags_file_read_widget(file,
+ child,
+ gobject);
+ }
+ }
+
+ child = child->next;
+ }
+}
+
+xmlNode*
+ags_file_util_write_object(AgsFile *file,
+ xmlNode *parent,
+ GObject *gobject)
+{
+ xmlNode *node;
+ GParamSpec **param_spec;
+ GParameter *parameter;
+ gchar *id;
+ guint n_properties;
+ guint i;
+
+ if(gobject == NULL){
+ return;
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-object\0");
+
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//[@id='%s']\0", id),
+ "reference\0", gobject,
+ NULL));
+
+
+
+ xmlAddChild(parent,
+ node);
+
+ /* child elements */
+ param_spec = g_object_class_list_properties(G_OBJECT_GET_CLASS(gobject),
+ &n_properties);
+
+ parameter = NULL;
+
+ for(i = 0; i < n_properties; i++){
+ if(parameter == NULL){
+ parameter = (GParameter *) g_new(GParameter,
+ 1);
+ }else{
+ parameter = (GParameter *) g_renew(GParameter,
+ parameter,
+ (i + 1));
+ }
+
+ memset(¶meter[i].value, 0, sizeof(GValue));
+ g_value_init(¶meter[i].value,
+ param_spec[i]->value_type);
+
+ parameter[i].name = param_spec[i]->name;
+ g_object_get_property(G_OBJECT(gobject),
+ param_spec[i]->name,
+ &(parameter[i].value));
+ }
+
+ n_properties = i;
+
+ ags_file_util_write_parameter(file,
+ node,
+ ags_id_generator_create_uuid(),
+ parameter, n_properties);
+
+ if(GTK_IS_WIDGET(gobject)){
+ ags_file_write_widget(file,
+ node,
+ GTK_WIDGET(gobject));
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_history(AgsFile *file, xmlNode *node, AgsHistory **history)
+{
+ //TODO:JK: implement me
+}
+
+xmlNode*
+ags_file_write_history(AgsFile *file, xmlNode *parent, AgsHistory *history)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_read_embedded_audio(AgsFile *file, xmlNode *node,
+ gchar **embedded_audio)
+{
+ gchar *data;
+ xmlChar *content;
+
+ if(*embedded_audio == NULL){
+ return;
+ }else{
+ data = *embedded_audio;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", data,
+ NULL));
+
+ content = node->content;
+
+ *embedded_audio = content;
+}
+
+xmlNode*
+ags_file_write_embedded_audio(AgsFile *file, xmlNode *parent, gchar *embedded_audio)
+{
+ xmlNode *node;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-embedded-audio\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", embedded_audio,
+ NULL));
+
+ xmlNewProp(node,
+ "encoding\0",
+ g_strdup("base64\0"));
+
+ xmlNewProp(node,
+ "demuxer\0",
+ g_strdup("raw\0"));
+
+ xmlNodeSetContent(node,
+ embedded_audio);
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_read_embedded_audio_list(AgsFile *file, xmlNode *node, GList **embedded_audio)
+{
+ gchar *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-embedded-audio\0",
+ 11)){
+ current = NULL;
+ ags_file_read_embedded_audio(file, child, ¤t);
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *embedded_audio = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_embedded_audio_list(AgsFile *file, xmlNode *parent, GList *embedded_audio)
+{
+ gchar *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-embedded-audio-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = embedded_audio;
+
+ while(list != NULL){
+ ags_file_write_embedded_audio(file, node, (gchar *) list->data);
+
+ list = list->next;
+ }
+
+ return(node);
+}
+
+void
+ags_file_read_file_link(AgsFile *file, xmlNode *node, AgsFileLink **file_link)
+{
+ AgsFileLink *gobject;
+ AgsFileLaunch *file_launch;
+ xmlNode *child;
+
+ if(*file_link == NULL){
+ gobject = g_object_new(AGS_TYPE_FILE_LINK,
+ NULL);
+ *file_link = gobject;
+ }else{
+ gobject = *file_link;
+ }
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", xmlGetProp(node, AGS_FILE_ID_PROP)),
+ "reference\0", gobject,
+ NULL));
+
+ file_launch = (AgsFileLaunch *) g_object_new(AGS_TYPE_FILE_LAUNCH,
+ "file\0", file,
+ "node\0", node,
+ NULL);
+ g_signal_connect(G_OBJECT(file_launch), "start\0",
+ G_CALLBACK(ags_file_util_read_file_link_launch), gobject);
+ ags_file_add_launch(file,
+ file_launch);
+}
+
+void
+ags_file_util_read_file_link_launch(AgsFileLaunch *file_launch,
+ AgsFileLink *file_link)
+{
+ AgsFileIdRef *id_ref;
+ AgsDevout *devout;
+ AgsChannel *input;
+ AgsAudioFile *audio_file;
+ GList *audio_signal;
+ xmlNode *node, *child;
+ xmlChar *type;
+ xmlChar *xpath;
+ xmlChar *filename;
+ xmlChar *encoding, *demuxer;
+
+ node = file_launch->node;
+
+ /* */
+ xpath = xmlGetProp(node,
+ "devout\0");
+
+ /* */
+ input = NULL;
+ id_ref = ags_file_find_id_ref_by_node(file_launch->file, node->parent->parent);
+
+ if(id_ref != NULL){
+ input = (AgsChannel *) id_ref->ref;
+ }
+
+ devout = AGS_AUDIO(input->audio)->devout;
+
+ type = xmlGetProp(node,
+ "type\0");
+
+ if(!xmlStrncmp(type,
+ "url\0",
+ 4)){
+ filename = xmlGetProp(node,
+ "filename\0");
+ audio_file = ags_audio_file_new((gchar *) filename,
+ devout,
+ 0, AGS_AUDIO(input->audio)->audio_channels);
+
+ ags_audio_file_open(audio_file);
+ ags_audio_file_read_audio_signal(audio_file);
+
+ audio_signal = g_list_nth(audio_file->audio_signal,
+ input->audio_channel);
+
+ AGS_AUDIO_SIGNAL(audio_signal->data)->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+
+ if(input->link != NULL){
+ GError *error;
+
+ error = NULL;
+
+ ags_channel_set_link(input, NULL,
+ &error);
+
+ g_object_set(G_OBJECT(input),
+ "file-link", g_object_new(AGS_TYPE_FILE_LINK,
+ "filename\0", filename,
+ NULL),
+ NULL);
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+ }else{
+ g_object_set(G_OBJECT(input),
+ "file-link", g_object_new(AGS_TYPE_FILE_LINK,
+ "filename\0", filename,
+ NULL),
+ NULL);
+ }
+
+ ags_recycling_add_audio_signal(input->first_recycling,
+ AGS_AUDIO_SIGNAL(audio_signal->data));
+ }else if(!xmlStrncmp(type,
+ "embedded\0",
+ 9)){
+ xmlXPathContext *xpath_context;
+ xmlXPathObject *xpath_object;
+
+ /* */
+ xpath_context = xmlXPathNewContext(AGS_FILE(file_launch->file)->doc);
+ // xmlXPathSetContextNode(node,
+ // xpath_context);
+ xpath_context->node = node;
+
+ xpath_object = xmlXPathEval("./ags-embedded-audio\0",
+ xpath_context);
+
+ child = NULL;
+
+ if(xpath_object->nodesetval != NULL && xpath_object->nodesetval->nodeTab != NULL){
+ guint i;
+
+ for(i = 0; i < xpath_object->nodesetval->nodeNr; i++){
+ if(xpath_object->nodesetval->nodeTab[i]->type == XML_ELEMENT_NODE){
+ break;
+ }
+ }
+
+ child = xpath_object->nodesetval->nodeTab[i];
+ }
+
+ /**/
+ encoding = xmlGetProp(child, "encoding\0");
+ demuxer = xmlGetProp(child, "demuxer\0");
+
+ if(!xmlStrncmp(encoding,
+ "base64\0",
+ 7)){
+ if(!xmlStrncmp(demuxer,
+ "raw\0",
+ 4)){
+ gchar *data;
+
+ audio_file = ags_audio_file_new(NULL,
+ devout,
+ 0, AGS_AUDIO(input->audio)->audio_channels);
+ data = child->content;
+
+ ags_audio_file_open_from_data(audio_file, data);
+ ags_audio_file_read_audio_signal(audio_file);
+
+ audio_signal = audio_file->audio_signal;
+ ags_recycling_add_audio_signal(input->first_recycling,
+ AGS_AUDIO_SIGNAL(audio_signal->data));
+ }
+ }
+ }
+}
+
+xmlNode*
+ags_file_write_file_link(AgsFile *file, xmlNode *parent, AgsFileLink *file_link)
+{
+ xmlNode *node;
+ gchar *id;
+ gchar *filename;
+
+ if(file_link == NULL){
+ return;
+ }
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-file-link\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", file_link,
+ NULL));
+
+ xmlNewProp(node,
+ "type\0",
+ g_strdup("url\0"));
+
+ if(file_link->filename != NULL){
+ g_message("XML outputting: %s\0", file_link->filename);
+ xmlNewProp(node,
+ "filename\0",
+ g_strdup(file_link->filename));
+ }else{
+ xmlNewProp(node,
+ "filename\0",
+ g_strdup("(null)\0"));
+ }
+
+ xmlNewProp(node,
+ "delay\0",
+ g_strdup_printf("%d\0", 0));
+
+ if((AGS_FILE_WRITE_EMBEDDED_AUDIO & (file->flags)) != 0){
+ //TODO:JK: implement me
+ }
+
+ xmlAddChild(parent,
+ node);
+}
+
+void
+ags_file_read_file_link_list(AgsFile *file, xmlNode *node, GList **file_link)
+{
+ AgsFileLink *current;
+ GList *list;
+ xmlNode *child;
+ xmlChar *id;
+
+ id = xmlGetProp(node, AGS_FILE_ID_PROP);
+
+ child = node->children;
+ list = NULL;
+
+ while(child != NULL){
+ if(child->type == XML_ELEMENT_NODE){
+ if(!xmlStrncmp(child->name,
+ "ags-file-link\0",
+ 11)){
+ current = NULL;
+ ags_file_read_file_link(file, child, ¤t);
+ list = g_list_prepend(list, current);
+ }
+ }
+
+ child = child->next;
+ }
+
+ list = g_list_reverse(list);
+ *file_link = list;
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+}
+
+xmlNode*
+ags_file_write_file_link_list(AgsFile *file, xmlNode *parent, GList *file_link)
+{
+ AgsFileLink *current;
+ xmlNode *node;
+ GList *list;
+ gchar *id;
+
+ id = ags_id_generator_create_uuid();
+
+ node = xmlNewNode(NULL,
+ "ags-file-link-list\0");
+ xmlNewProp(node,
+ AGS_FILE_ID_PROP,
+ id);
+
+ ags_file_add_id_ref(file,
+ g_object_new(AGS_TYPE_FILE_ID_REF,
+ "main\0", file->ags_main,
+ "file\0", file,
+ "node\0", node,
+ "xpath\0", g_strdup_printf("xpath=//*[@id='%s']\0", id),
+ "reference\0", list,
+ NULL));
+
+ xmlAddChild(parent,
+ node);
+
+ list = file_link;
+
+ while(list != NULL){
+ ags_file_write_file_link(file, node, AGS_FILE_LINK(list->data));
+
+ list = list->next;
+ }
+
+ return(node);
+}
diff --git a/src/ags/file/ags_file_util.h b/src/ags/file/ags_file_util.h
new file mode 100644
index 0000000..36440b5
--- /dev/null
+++ b/src/ags/file/ags_file_util.h
@@ -0,0 +1,88 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_UTIL_H__
+#define __AGS_FILE_UTIL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#include <ags/thread/ags_history.h>
+
+#include <ags/file/ags_file.h>
+#include <ags/file/ags_file_link.h>
+
+/* gvalue */
+void ags_file_util_read_value(AgsFile *file,
+ xmlNode *node,
+ gchar **id,
+ GValue *value, xmlChar **xpath);
+xmlNode* ags_file_util_write_value(AgsFile *file,
+ xmlNode *parent,
+ gchar *id,
+ GValue *value, GType pointer_type, guint arr_length);
+
+/* parameter */
+void ags_file_util_read_parameter(AgsFile *file,
+ xmlNode *node,
+ gchar **id,
+ GParameter **parameter, gint *n_params, xmlChar ***xpath);
+xmlNode* ags_file_util_write_parameter(AgsFile *file,
+ xmlNode *parent,
+ gchar *id,
+ GParameter *parameter, gint n_params);
+
+/* dependency */
+void ags_file_util_read_dependency(AgsFile *file,
+ xmlNode *node,
+ gchar **id,
+ gchar **name, xmlChar **xpath);
+xmlNode* ags_file_util_write_dependency(AgsFile *file,
+ xmlNode *parent,
+ gchar *id,
+ gchar *name, xmlChar *xpath);
+
+/* object */
+void ags_file_util_read_object(AgsFile *file,
+ xmlNode *node,
+ GObject **gobject);
+xmlNode* ags_file_util_write_object(AgsFile *file,
+ xmlNode *parent,
+ GObject *gobject);
+
+/* history */
+void ags_file_util_read_history(AgsFile *file, xmlNode *node, AgsHistory **history);
+xmlNode* ags_file_util_write_history(AgsFile *file, xmlNode *parent, AgsHistory *history);
+
+/* embedded audio */
+void ags_file_read_embedded_audio(AgsFile *file, xmlNode *node, gchar **embedded_audio);
+xmlNode* ags_file_write_embedded_audio(AgsFile *file, xmlNode *parent, gchar *embedded_audio);
+
+void ags_file_read_embedded_audio_list(AgsFile *file, xmlNode *node, GList **embedded_audio);
+xmlNode* ags_file_write_embedded_audio_list(AgsFile *file, xmlNode *parent, GList *embedded_audio);
+
+/* file link */
+void ags_file_read_file_link(AgsFile *file, xmlNode *node, AgsFileLink **file_link);
+xmlNode* ags_file_write_file_link(AgsFile *file, xmlNode *parent, AgsFileLink *file_link);
+
+void ags_file_read_file_link_list(AgsFile *file, xmlNode *node, GList **file_link);
+xmlNode* ags_file_write_file_link_list(AgsFile *file, xmlNode *parent, GList *file_link);
+
+#endif /*__AGS_FILE_UTIL_H__*/
diff --git a/src/ags/file/ags_file_value_factory.c b/src/ags/file/ags_file_value_factory.c
new file mode 100644
index 0000000..1038853
--- /dev/null
+++ b/src/ags/file/ags_file_value_factory.c
@@ -0,0 +1,115 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/file/ags_file_value_factory.h>
+
+#include <ags-lib/object/ags_serializeable.h>
+
+void ags_file_value_factory_class_init(AgsFileValueFactoryClass *file_value_factory);
+void ags_file_value_factory_serializeable_interface_init(AgsSerializeableInterface *serializeable);
+void ags_file_value_factory_init(AgsFileValueFactory *file_value_factory);
+void ags_file_value_factory_finalize(GObject *gobject);
+void ags_file_value_factory_serialize(AgsSerializeable *serializeable);
+
+static gpointer ags_file_value_factory_parent_class = NULL;
+
+GType
+ags_file_value_factory_get_type(void)
+{
+ static GType ags_type_file_value_factory = 0;
+
+ if(!ags_type_file_value_factory){
+ static const GTypeInfo ags_file_value_factory_info = {
+ sizeof (AgsFileValueFactoryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_file_value_factory_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsFileValueFactory),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_file_value_factory_init,
+ };
+
+ static const GInterfaceInfo ags_serializeable_interface_info = {
+ (GInterfaceInitFunc) ags_file_value_factory_serializeable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_file_value_factory = g_type_register_static(G_TYPE_OBJECT,
+ "AgsFileValueFactory\0",
+ &ags_file_value_factory_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_file_value_factory,
+ AGS_TYPE_SERIALIZEABLE,
+ &ags_serializeable_interface_info);
+ }
+
+ return(ags_type_file_value_factory);
+}
+
+void
+ags_file_value_factory_class_init(AgsFileClass *file_value_factory)
+{
+ GObjectClass *gobject;
+
+ ags_file_value_factory_parent_class = g_type_class_peek_parent(file_value_factory);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) file_value_factory;
+
+ gobject->finalize = ags_file_value_factory_finalize;
+}
+
+void
+ags_file_value_factory_serializeable_interface_init(AgsSerializeableInterface *serializeable)
+{
+ file_value_factory->serialize = ags_file_value_factory_serialize;
+}
+
+void
+ags_file_value_factory_init(AgsFileValueFactory *file_value_factory)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_value_factory_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_file_value_factory_serialize(AgsSerializeable *serializeable)
+{
+ //TODO:JK: implement me
+}
+
+AgsFileValueFactory*
+ags_file_value_factory_new()
+{
+ AgsFileValueFactory *file_value_factory;
+
+ file_value_factory = g_object_new(AGS_TYPE_FILE_VALUE_FACTORY,
+ NULL);
+
+ return(file_value_factory);
+}
+
diff --git a/src/ags/file/ags_file_value_factory.h b/src/ags/file/ags_file_value_factory.h
new file mode 100644
index 0000000..08717c8
--- /dev/null
+++ b/src/ags/file/ags_file_value_factory.h
@@ -0,0 +1,49 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_VALUE_FACTORY_H__
+#define __AGS_FILE_VALUE_FACTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_TYPE_FILE_VALUE_FACTORY (ags_file_value_factory_get_type())
+#define AGS_FILE_VALUE_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_VALUE_FACTORY, AgsFileValueFactory))
+#define AGS_FILE_VALUE_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_VALUE_FACTORY, AgsFileValueFactoryClass))
+#define AGS_IS_FILE_VALUE_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_VALUE_FACTORY))
+#define AGS_IS_FILE_VALUE_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_VALUE_FACTORY))
+#define AGS_FILE_VALUE_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_VALUE_FACTORY, AgsFileValueFactoryClass))
+
+typedef struct _AgsFileValueFactory AgsFileValueFactory;
+typedef struct _AgsFileValueFactoryClass AgsFileValueFactoryClass;
+
+struct _AgsFileValueFactory
+{
+ GObject object;
+};
+
+struct _AgsFileValueFactoryClass
+{
+ GObject object;
+};
+
+GType ags_file_value_factory_get_type(void);
+
+AgsFileValueFactory* ags_file_value_factory_new();
+
+#define /*__AGS_FILE_VALUE_FACTORY_H__*/
diff --git a/src/ags/file/ags_file_write.h b/src/ags/file/ags_file_write.h
new file mode 100644
index 0000000..ccb7e07
--- /dev/null
+++ b/src/ags/file/ags_file_write.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_FILE_WRITE_H__
+#define __AGS_FILE_WRITE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+#include <libxml/tree.h>
+
+#define AGS_TYPE_FILE_WRITE (ags_file_write_get_type())
+#define AGS_FILE_WRITE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_FILE_WRITE, AgsFileWrite))
+#define AGS_FILE_WRITE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FILE_WRITE, AgsFileWriteClass))
+#define AGS_IS_FILE_WRITE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FILE_WRITE))
+#define AGS_IS_FILE_WRITE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FILE_WRITE))
+#define AGS_FILE_WRITE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FILE_WRITE, AgsFileWriteClass))
+
+typedef struct _AgsFileWrite AgsFileWrite;
+typedef struct _AgsFileWriteClass AgsFileWriteClass;
+
+struct _AgsFileWrite
+{
+ GObject object;
+};
+
+struct _AgsFileWriteClass
+{
+ GObjectClass object;
+};
+
+GType ags_file_write_get_type(void);
+
+AgsFileWrite* ags_file_write_new();
+
+#endif /*__AGS_FILE_WRITE_H__*/
diff --git a/src/ags/lib/Makefile b/src/ags/lib/Makefile
new file mode 100644
index 0000000..dd65288
--- /dev/null
+++ b/src/ags/lib/Makefile
@@ -0,0 +1,470 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/lib/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/lib
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/lib
+abs_srcdir = /usr/src/ags-devel/src/ags/lib
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_lib_h_sources =
+ags_lib_h_sources = \
+ $(deprecated_ags_lib_h_sources) \
+ ags_combo_box_text.h \
+ ags_container.h \
+ ags_list.h \
+ ags_log.h \
+ ags_parameter.h
+
+deprecated_ags_lib_c_sources =
+ags_lib_c_sources = \
+ $(deprecated_ags_lib_c_sources) \
+ ags_combo_box_text.c \
+ ags_container.c \
+ ags_list.c \
+ ags_log.c \
+ ags_parameter.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/lib/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/lib/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/lib/Makefile.am b/src/ags/lib/Makefile.am
new file mode 100644
index 0000000..e032c62
--- /dev/null
+++ b/src/ags/lib/Makefile.am
@@ -0,0 +1,20 @@
+deprecated_ags_lib_h_sources =
+
+ags_lib_h_sources = \
+ $(deprecated_ags_lib_h_sources) \
+ ags_combo_box_text.h \
+ ags_container.h \
+ ags_list.h \
+ ags_log.h \
+ ags_parameter.h
+
+deprecated_ags_lib_c_sources =
+
+ags_lib_c_sources = \
+ $(deprecated_ags_lib_c_sources) \
+ ags_combo_box_text.c \
+ ags_container.c \
+ ags_list.c \
+ ags_log.c \
+ ags_parameter.c
+
diff --git a/src/ags/lib/Makefile.in b/src/ags/lib/Makefile.in
new file mode 100644
index 0000000..863d0b3
--- /dev/null
+++ b/src/ags/lib/Makefile.in
@@ -0,0 +1,470 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/lib
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_lib_h_sources =
+ags_lib_h_sources = \
+ $(deprecated_ags_lib_h_sources) \
+ ags_combo_box_text.h \
+ ags_container.h \
+ ags_list.h \
+ ags_log.h \
+ ags_parameter.h
+
+deprecated_ags_lib_c_sources =
+ags_lib_c_sources = \
+ $(deprecated_ags_lib_c_sources) \
+ ags_combo_box_text.c \
+ ags_container.c \
+ ags_list.c \
+ ags_log.c \
+ ags_parameter.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/lib/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/lib/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/lib/ags_combo_box_text.c b/src/ags/lib/ags_combo_box_text.c
new file mode 100644
index 0000000..7da3d86
--- /dev/null
+++ b/src/ags/lib/ags_combo_box_text.c
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_combo_box_text.h"
+
+/**
+ * SECTION:ags_combo_box_text
+ * @short_description: Complete GtkComboBox
+ * @title: AgsComboBoxText
+ * @section_id:
+ * @include: ags/lib/ags_combo_box_text.h
+ *
+ * Functions completing #GtkComboBoxText API.
+ */
+
+/**
+ * ags_combo_box_text_remove_all:
+ * @combo_box: the #GtkComboBoxText
+ *
+ * Emptys #GtkTreeModel of @combo_box.
+ *
+ * Since: 0.4
+ */
+void
+ags_combo_box_text_remove_all(GtkComboBoxText *combo_box){
+ GtkTreeModel *model;
+ GtkTreeIter iter;
+
+ model = gtk_combo_box_get_model(GTK_COMBO_BOX(combo_box));
+
+ if(GTK_IS_LIST_STORE(model) && gtk_tree_model_get_iter_first(model, &iter)){
+ do{
+ gtk_list_store_remove(GTK_LIST_STORE(model), &iter);
+ }while(gtk_tree_model_iter_next(model, &iter));
+ }
+}
diff --git a/src/ags/lib/ags_combo_box_text.h b/src/ags/lib/ags_combo_box_text.h
new file mode 100644
index 0000000..8f4c30c
--- /dev/null
+++ b/src/ags/lib/ags_combo_box_text.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COMBO_BOX_TEXT_H__
+#define __AGS_COMBO_BOX_TEXT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+void ags_combo_box_text_remove_all(GtkComboBoxText *combo_box);
+
+#endif /*__AGS_COMBO_BOX_TEXT_H__*/
diff --git a/src/ags/lib/ags_container.c b/src/ags/lib/ags_container.c
new file mode 100644
index 0000000..3ee96c3
--- /dev/null
+++ b/src/ags/lib/ags_container.c
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/lib/ags_container.h>
+
+void
+ags_container_add_all(GtkContainer *container,
+ GList *list)
+{
+ while(list != NULL){
+ gtk_container_add(container,
+ GTK_WIDGET(list->data));
+
+ list = list->next;
+ }
+}
diff --git a/src/ags/lib/ags_container.h b/src/ags/lib/ags_container.h
new file mode 100644
index 0000000..432c7cf
--- /dev/null
+++ b/src/ags/lib/ags_container.h
@@ -0,0 +1,31 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CONTAINER_H__
+#define __AGS_CONTAINER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+void ags_container_add_all(GtkContainer *container,
+ GList *list);
+
+#endif /*__AGS_CONTAINER_H__*/
+
diff --git a/src/ags/lib/ags_list.c b/src/ags/lib/ags_list.c
new file mode 100644
index 0000000..f164fe6
--- /dev/null
+++ b/src/ags/lib/ags_list.c
@@ -0,0 +1,99 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/lib/ags_list.h>
+
+/**
+ * SECTION:ags_list
+ * @short_description: Complete GList
+ * @title: AgsList
+ * @section_id:
+ * @include: ags/lib/ags_list.h
+ *
+ * Functions completing #GList API.
+ */
+
+/**
+ * ags_list_free_and_free_link:
+ * @list: the #GList
+ *
+ * Free list and free data.
+ *
+ * Since: 0.3
+ * Deprecated: Use g_list_free_full() with g_free() instead
+ */
+void
+ags_list_free_and_free_link(GList *list)
+{
+ GList *list_next;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_free(list->data);
+ g_list_free1(list);
+
+ list = list_next;
+ }
+}
+
+
+/**
+ * ags_list_free_and_unref_link:
+ * @list: the #GList
+ *
+ * Free list and unref data.
+ *
+ * Since: 0.3
+ * Deprecated: Use g_list_free_full() with g_ojbect_unref() instead
+ */
+void
+ags_list_free_and_unref_link(GList *list)
+{
+ GList *list_next;
+
+ while(list != NULL){
+ list_next = list->next;
+
+ g_object_unref((GObject *) list->data);
+ g_list_free1(list);
+
+ list = list_next;
+ }
+}
+
+/**
+ * ags_list_duplicat_list:
+ * @entry: the entry to prepend
+ * @target: location to store the #GList
+ *
+ * ???
+ *
+ * Since: 0.3
+ * Deprecated: Ever used?
+ */
+void
+ags_list_duplicate_list(gpointer entry, gpointer target)
+{
+ GList **list;
+
+ list = (GList **) target;
+
+ *list = g_list_prepend(*list,
+ entry);
+}
diff --git a/src/ags/lib/ags_list.h b/src/ags/lib/ags_list.h
new file mode 100644
index 0000000..4ae3c94
--- /dev/null
+++ b/src/ags/lib/ags_list.h
@@ -0,0 +1,30 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LIST_H__
+#define __AGS_LIST_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+void ags_list_free_and_free_link(GList *list);
+void ags_list_free_and_unref_link(GList *list);
+
+void ags_list_duplicate_list(gpointer entry, gpointer target);
+
+#endif /*__AGS_LIST_H__*/
diff --git a/src/ags/lib/ags_log.c b/src/ags/lib/ags_log.c
new file mode 100644
index 0000000..696e002
--- /dev/null
+++ b/src/ags/lib/ags_log.c
@@ -0,0 +1,911 @@
+#include <ags/lib/ags_log.h>
+
+#include <ags/lib/ags_list.h>
+
+#include <time.h>
+#include <stdlib.h>
+#include <string.h>
+
+void ags_log_class_init(AgsLogClass *log);
+void ags_log_init(AgsLog *log);
+void ags_log_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_log_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_log_finalize(GObject *gobject);
+
+void* ags_log_timer(void *args);
+void* ags_log_broker(void *ptr);
+void* ags_log_output(void *ptr);
+void* ags_log_queue(void *ptr);
+
+void ags_log_start_threads(AgsLog *log);
+
+AgsLogMessage* ags_log_message_alloc();
+void* ags_log_add_message_thread(void *ptr);
+void ags_log_add_message();
+
+enum{
+ PROP_0,
+ PROP_FILE,
+};
+
+struct _AgsLogAddMessageArgs
+{
+ AgsLog *log;
+ AgsLogMessage *log_message;
+ pthread_mutex_t mutex;
+};
+
+static gpointer ags_log_parent_class = NULL;
+AgsLog *ags_default_log = NULL;
+
+#define AGS_LOG_MESSAGE_LENGTH 4096
+#define AGS_LOG_MESSAGE_DATE_LENGTH 19
+
+GType
+ags_log_get_type (void)
+{
+ static GType ags_type_log = 0;
+
+ if(!ags_type_log){
+ static const GTypeInfo ags_log_info = {
+ sizeof (AgsLogClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_log_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLog),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_log_init,
+ };
+
+ ags_type_log = g_type_register_static(G_TYPE_OBJECT,
+ "AgsLog\0",
+ &ags_log_info,
+ 0);
+ }
+
+ return (ags_type_log);
+}
+
+void
+ags_log_class_init(AgsLogClass *log)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_log_parent_class = g_type_class_peek_parent(log);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) log;
+
+ gobject->set_property = ags_log_set_property;
+ gobject->get_property = ags_log_get_property;
+
+ /* properties */
+ param_spec = g_param_spec_pointer("file\0",
+ "output file\0",
+ "The file to do the output\0",
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FILE,
+ param_spec);
+
+}
+
+void
+ags_log_init(AgsLog *log)
+{
+ log->flags = 0;
+
+ log->file = NULL;
+ pthread_cond_init(&(log->start_wait_cond), NULL);
+
+ /* timer thread related members */
+ log->log_interval = (struct timespec *) malloc(sizeof(struct timespec));
+ log->log_interval->tv_sec = 1;
+ log->log_interval->tv_nsec = 0;// 10000000; /* sleep 10 mili seconds */
+
+ pthread_mutexattr_init(&(log->timer_mutex_attr));
+ pthread_mutex_init(&(log->timer_mutex), &(log->broker_mutex_attr));
+
+ log->timer_started = FALSE;
+ log->timer_active = FALSE;
+ log->timer_awaken = FALSE;
+
+ pthread_cond_init(&(log->timer_wait_cond), NULL);
+
+ /* broker thread related members */
+ pthread_mutexattr_init(&(log->broker_mutex_attr));
+ pthread_mutex_init(&(log->broker_mutex), &(log->broker_mutex_attr));
+
+ log->broker_started = FALSE;
+ log->broker_active = FALSE;
+ log->broker_awaken = FALSE;
+
+ pthread_cond_init(&(log->broker_wait_cond), NULL);
+
+ /* output thread related members */
+ log->output_formated_message = NULL;
+
+ pthread_mutexattr_init(&(log->output_mutex_attr));
+ pthread_mutex_init(&(log->output_mutex), &(log->output_mutex_attr));
+
+ log->output_started = FALSE;
+ log->output_active = FALSE;
+ log->output_awaken = FALSE;
+
+ pthread_cond_init(&(log->output_wait_cond), NULL);
+
+ /* queue thread related members */
+ log->queue_formated_message = NULL;
+ log->queue_message = NULL;
+
+ pthread_mutexattr_init(&(log->queue_mutex_attr));
+ pthread_mutex_init(&(log->queue_mutex), &(log->queue_mutex_attr));
+
+ log->queue_started = FALSE;
+ log->queue_active = FALSE;
+ log->queue_awaken = FALSE;
+
+ pthread_cond_init(&(log->queue_wait_cond), NULL);
+
+ /* log messages */
+ log->log = NULL;
+ log->active_logs = 0;
+ log->suspended_logs = 0;
+ pthread_cond_init(&(log->log_wait_cond), NULL);
+}
+
+void
+ags_log_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLog *log;
+
+ log = AGS_LOG(gobject);
+
+ switch(prop_id){
+ case PROP_FILE:
+ {
+ log->file = g_value_get_pointer(value);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_log_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsLog *log;
+
+ log = AGS_LOG(gobject);
+
+ switch(prop_id){
+ case PROP_FILE:
+ {
+ g_value_set_pointer(value, log->file);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_log_finalize(GObject *gobject)
+{
+ AgsLog *log;
+ GList *list, *list_next;
+
+ log = AGS_LOG(gobject);
+}
+
+/**
+ * ags_log_timer:
+ * @ptr an #AgsLog
+ *
+ * Sleeps specified amount of time and signals broker to wake up as long as
+ * log is running.
+ */
+void*
+ags_log_timer(void *ptr)
+{
+ AgsLog *log;
+
+ log = AGS_LOG(ptr);
+ log->timer_active = FALSE;
+ log->signaled_timer = FALSE;
+
+ printf("timer - start\n\0");
+ goto ags_log_timer_SUSPEND;
+
+ while((AGS_LOG_RUNNING & (log->flags)) != 0){
+ printf("timer - loop\n\0");
+
+ /* */
+ pthread_mutex_lock(&(log->timer_mutex));
+ log->timer_active = TRUE;
+ pthread_mutex_unlock(&(log->timer_mutex));
+
+ /* run timer */
+ //FIXME:JK: doesn't test if it's behindhand, free_float member is reserved for this issue
+ // nanosleep(log->log_interval, NULL);
+
+ /* */
+ pthread_mutex_lock(&(log->timer_mutex));
+ log->timer_active = FALSE;
+ pthread_mutex_unlock(&(log->timer_mutex));
+
+ /* keep in sync with broker */
+ ags_log_timer_SUSPEND:
+ if((AGS_LOG_STARTING & (log->flags)) != 0){
+ log->timer_started = TRUE;
+ pthread_cond_signal(&(log->start_wait_cond));
+ }
+
+ if(!log->broker_active){
+ printf(" timer:0\n\0");
+ pthread_cond_signal(&(log->broker_wait_cond));
+
+ pthread_mutex_lock(&(log->timer_mutex));
+ log->timer_awaken = FALSE;
+
+ while((AGS_LOG_TIMER_SLEEP & (log->flags)) != 0 ||
+ !log->broker_active ||
+ !log->signaled_timer){
+ pthread_cond_wait(&(log->timer_wait_cond),
+ &(log->timer_mutex));
+ }
+ }else{
+ printf(" timer:1\n\0");
+ pthread_mutex_lock(&(log->timer_mutex));
+ log->timer_awaken = FALSE;
+
+ while((AGS_LOG_TIMER_SLEEP & (log->flags)) != 0){
+ pthread_cond_wait(&(log->timer_wait_cond),
+ &(log->timer_mutex));
+ }
+
+ }
+
+ log->flags |= AGS_LOG_TIMER_SLEEP;
+ log->timer_awaken = TRUE;
+ log->signaled_timer = FALSE;
+ pthread_mutex_unlock(&(log->timer_mutex));
+ printf(" timer:2\n\0");
+ pthread_cond_signal(&(log->broker_wait_cond));
+ }
+
+ pthread_exit(NULL);
+}
+
+/**
+ * ags_log_broker:
+ * @ptr an #AgsLog
+ *
+ * Wakes up sleeping output, queue and log threads.
+ */
+void*
+ags_log_broker(void *ptr)
+{
+ AgsLog *log;
+
+ log = AGS_LOG(ptr);
+
+ log->flags |= AGS_LOG_TIMER_SLEEP;
+
+ log->signaled_timer =
+ log->signaled_output =
+ log->signaled_queue =
+ log->signaled_log = TRUE;
+ printf("broker - start\n\0");
+
+ goto ags_log_broker_SUSPEND;
+
+ /* start broker */
+ while((AGS_LOG_RUNNING & (log->flags)) != 0){
+ printf("broker - loop\n\0");
+
+ // log->flags &= ~(AGS_LOG_SUSPEND);
+
+ log->broker_active = TRUE;
+
+
+ /* wake up queue thread and wait for it * /
+ log->signaled_queue = TRUE;
+ pthread_cond_signal(&(log->queue_wait_cond));
+
+ pthread_mutex_lock(&(log->broker_mutex));
+
+ while(!log->queue_awaken ||
+ ){
+ pthread_cond_wait(&(log->broker_wait_cond),
+ &(log->broker_mutex));
+ }
+
+ pthread_mutex_unlock(&(log->broker_mutex));
+
+ /* wake up all waiting log requests and wait for them * /
+ pthread_mutex_lock(&(log->broker_mutex));
+
+ while(log->active_logs != 0){
+ if(!signaled_log){
+ pthread_mutex_unlock(&(log->broker_mutex));
+ pthread_cond_broadcast(&(log->log_wait_cond));
+ pthread_mutex_lock(&(log->broker_mutex));
+
+ signaled_log = TRUE;
+ }
+
+ pthread_cond_wait(&(log->broker_wait_cond),
+ &(log->broker_mutex));
+ }
+
+ pthread_mutex_unlock(&(log->broker_mutex));
+
+ // printf("broker - log\n\0");
+
+ /* wake up output thread and wait for it * /
+ log->signaled_output = TRUE;
+ pthread_cond_signal(&(log->output_wait_cond));
+
+ pthread_mutex_lock(&(log->broker_mutex));
+
+ while(!log->output_awaken){
+ pthread_cond_wait(&(log->broker_wait_cond),
+ &(log->broker_mutex));
+ }
+
+ pthread_mutex_unlock(&(log->broker_mutex));
+
+ /* wake up timer thread and wait for it */
+ pthread_mutex_lock(&(log->broker_mutex));
+
+ if(!log->timer_active){
+ pthread_mutex_unlock(&(log->broker_mutex));
+
+ printf(" broker:0\n\0");
+ log->signaled_timer = TRUE;
+ pthread_cond_signal(&(log->timer_wait_cond));
+
+ pthread_mutex_lock(&(log->broker_mutex));
+
+ while(!log->timer_awaken){
+ pthread_cond_wait(&(log->broker_wait_cond),
+ &(log->broker_mutex));
+ }
+
+ printf(" broker:1\n\0");
+ // pthread_mutex_unlock(&(log->broker_mutex));
+ }else{
+ pthread_mutex_lock(&(log->broker_mutex));
+ }
+
+ /* reset status and entry point */
+ ags_log_broker_SUSPEND:
+ if((AGS_LOG_STARTING & (log->flags)) != 0){
+ log->broker_started = TRUE;
+
+ ags_log_start_threads(log);
+
+ pthread_cond_signal(&(log->start_wait_cond));
+ }
+
+ log->broker_active = FALSE;
+
+ /* wait log_interval amount of time */
+ printf(" broker:2\n\0");
+
+ while(log->timer_active ||
+ log->output_active ||
+ log->queue_active ||
+ log->active_logs != 0){
+
+ //TODO:JK: may be you want set AGS_LOG_TIMER_SLEEP here for better throughput
+
+ /* sleep until all threads are done */
+ pthread_cond_wait(&(log->broker_wait_cond),
+ &(log->broker_mutex));
+
+ /* set timer to sleep */
+ if(!log->timer_active){
+ log->flags |= AGS_LOG_TIMER_SLEEP;
+ }
+
+ /* set output to sleep */
+ if(!log->output_active){
+ log->flags |= AGS_LOG_OUTPUT_SUSPEND;
+ }
+
+ /* set queue to sleep */
+ if(!log->queue_active){
+ log->flags |= AGS_LOG_QUEUE_SUSPEND;
+ }
+
+ /* set log to sleep */
+ if(log->active_logs == 0){
+ log->flags |= AGS_LOG_SUSPEND;
+ }
+ }
+
+ log->broker_awaken = TRUE;
+ printf(" broker:3\n\0");
+ pthread_mutex_unlock(&(log->broker_mutex));
+ }
+
+
+ pthread_exit(NULL);
+}
+
+/**
+ * ags_log_output:
+ * @ptr an #AgsLog
+ *
+ * Writes the output_formated_message #GList to file #FILE, which are
+ * members of #AgsLog.
+ */
+void*
+ags_log_output(void *ptr)
+{
+ AgsLog *log;
+ AgsLogFormatedMessage *formated_message;
+ GList *list;
+
+ log = AGS_LOG(ptr);
+
+ goto ags_log_output_SUSPEND;
+
+ while((AGS_LOG_RUNNING & (log->flags)) != 0){
+ printf("output - loop\n\0");
+
+ /* wait until output_formated_message has been set * /
+ pthread_mutex_lock(&(log->output_mutex));
+
+ if((AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT & (log->flags)) != 0){
+ log->flags |= AGS_LOG_OUTPUT_WAITS_FOR_QUEUE;
+ }
+
+ while((AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT & (log->flags)) != 0){
+ pthread_cond_wait(&(log->output_wait_cond),
+ &(log->output_mutex));
+ }
+
+ log->flags &= (~AGS_LOG_OUTPUT_WAITS_FOR_QUEUE);
+ log->output_active = TRUE;
+
+ pthread_mutex_unlock(&(log->output_mutex));
+
+ /* output output_formated_messages */
+ //FIXME:JK: set AGS_LOG_OUTPUT_SUSPEND
+ list = log->output_formated_message;
+
+ while(list != NULL){
+ formated_message = (AgsLogFormatedMessage *) list->data;
+
+ fwrite(formated_message->message, sizeof(char), formated_message->length, log->file);
+
+ list = list->next;
+ }
+
+ /* free output_formated_message */
+ ags_list_free_and_free_link(log->output_formated_message);
+ log->output_formated_message = NULL;
+ log->output_active = FALSE;
+
+ /* wait until log_interval has exceeded */
+ ags_log_output_SUSPEND:
+ if((AGS_LOG_STARTING & (log->flags)) != 0){
+ log->output_started = TRUE;
+ pthread_cond_signal(&(log->start_wait_cond));
+ }
+
+ pthread_mutex_lock(&(log->output_mutex));
+ log->output_active = FALSE;
+
+ pthread_mutex_unlock(&(log->output_mutex));
+ pthread_cond_signal(&(log->broker_wait_cond));
+
+ pthread_mutex_lock(&(log->output_mutex));
+ log->output_awaken = FALSE;
+
+ while((AGS_LOG_OUTPUT_SUSPEND & (log->flags)) != 0 ||
+ !log->broker_active ||
+ !log->signaled_output){
+ pthread_cond_wait(&(log->output_wait_cond),
+ &(log->output_mutex));
+ }
+
+ log->output_awaken = TRUE;
+ log->signaled_output = FALSE;
+ log->flags |= AGS_LOG_OUTPUT_SUSPEND;
+ pthread_mutex_unlock(&(log->output_mutex));
+ pthread_cond_signal(&(log->broker_wait_cond));
+ }
+
+ pthread_exit(NULL);
+}
+
+/**
+ * ags_log_queue:
+ * @ptr an #AgsLog
+ *
+ * Prints #AgsLogMessage to a string and puts it to queue_formated_message
+ * #GList.
+ */
+void*
+ags_log_queue(void *ptr)
+{
+ AgsLog *log;
+ GList *list;
+ AgsLogMessage *message;
+ AgsLogFormatedMessage *formated_message;
+ time_t time;
+ struct tm *date;
+ char *str;
+ int printed_chars;
+
+ log = AGS_LOG(ptr);
+ log->queue_active = FALSE;
+
+ goto ags_log_queue_SUSPEND;
+
+ while((AGS_LOG_RUNNING & (log->flags)) != 0){
+ printf("queue - loop\n\0");
+
+ /* set output_formated_message * /
+ pthread_mutex_lock(&(log->queue_mutex));
+ log->flags |= AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT;
+
+ log->output_formated_message = log->queue_formated_message;
+ log->flags &= (~AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT);
+
+ /* signal output_wait_cond if necessary * /
+ if((AGS_LOG_OUTPUT_WAITS_FOR_QUEUE & (log->flags)) != 0){
+ pthread_mutex_unlock(&(log->queue_mutex));
+
+ pthread_cond_signal(&(log->output_wait_cond));
+ }else{
+ pthread_mutex_unlock(&(log->queue_mutex));
+ }
+
+ log->queue_formated_message = NULL;
+
+ /* format queue_formated_message */
+ pthread_mutex_lock(&(log->queue_mutex));
+ log->queue_active = TRUE;
+ pthread_mutex_unlock(&(log->queue_mutex));
+
+ list = log->queue_message;
+ log->queue_message = NULL;
+
+ while(list != NULL){
+ message = (AgsLogMessage *) list->data;
+
+ formated_message = (AgsLogFormatedMessage *) malloc(sizeof(AgsLogFormatedMessage));
+
+ str =
+ formated_message->message = (char *) malloc((AGS_LOG_MESSAGE_DATE_LENGTH + 5 + AGS_LOG_MESSAGE_LENGTH) * sizeof(char));
+
+ time = message->time->tv_sec;
+ date = localtime(&time);
+ strftime(str, AGS_LOG_MESSAGE_DATE_LENGTH * sizeof(char), "%Y-%m-%d %H:%M:%S\0", date);
+ sprintf(&(str[AGS_LOG_MESSAGE_DATE_LENGTH]), ".%.3lld \0", (long long int) message->time->tv_nsec);
+
+ printed_chars = vsnprintf(&(str[AGS_LOG_MESSAGE_DATE_LENGTH + 4]), AGS_LOG_MESSAGE_LENGTH * sizeof(char), message->format, message->args);
+
+ if(printed_chars >= 0){
+ formated_message->length = printed_chars + AGS_LOG_MESSAGE_DATE_LENGTH + 4;
+ }else{
+ formated_message->length = printed_chars - (AGS_LOG_MESSAGE_DATE_LENGTH + 4);
+ }
+
+ formated_message->message[formated_message->length] = '\0';
+
+ log->queue_formated_message = g_list_prepend(log->queue_formated_message,
+ formated_message);
+
+ list = list->next;
+ }
+
+ log->queue_formated_message = NULL;
+
+ /* wait until log_interval has exceeded */
+ ags_log_queue_SUSPEND:
+ if((AGS_LOG_STARTING & (log->flags)) != 0){
+ log->queue_started = TRUE;
+ pthread_cond_signal(&(log->start_wait_cond));
+ }
+
+ pthread_mutex_lock(&(log->queue_mutex));
+ log->queue_active = FALSE;
+
+ pthread_mutex_unlock(&(log->queue_mutex));
+ pthread_cond_signal(&(log->broker_wait_cond));
+
+ pthread_mutex_lock(&(log->queue_mutex));
+ log->queue_awaken = FALSE;
+
+ while((AGS_LOG_QUEUE_SUSPEND & (log->flags)) != 0 ||
+ !log->broker_active ||
+ !log->signaled_queue){
+ pthread_cond_wait(&(log->queue_wait_cond),
+ &(log->queue_mutex));
+ }
+
+ log->queue_awaken = TRUE;
+ log->signaled_queue = FALSE;
+ log->flags |= AGS_LOG_QUEUE_SUSPEND;
+ pthread_mutex_unlock(&(log->queue_mutex));
+ pthread_cond_signal(&(log->broker_wait_cond));
+ }
+
+
+ pthread_exit(NULL);
+}
+
+void
+ags_log_start_threads(AgsLog *log){
+ /* */
+ pthread_create(&(log->timer_thread), NULL,
+ &ags_log_timer, log);
+
+ pthread_mutex_lock(&(log->start_mutex));
+
+ while(!log->timer_started){
+ pthread_cond_wait(&(log->start_wait_cond),
+ &(log->start_mutex));
+ }
+
+ pthread_mutex_unlock(&(log->start_mutex));
+
+ /**/
+ log->queue_started = FALSE;
+ pthread_create(&(log->queue_thread), NULL,
+ &ags_log_queue, log);
+
+ pthread_mutex_lock(&(log->start_mutex));
+
+ while(!log->queue_started){
+ pthread_cond_wait(&(log->start_wait_cond),
+ &(log->start_mutex));
+ }
+
+ pthread_mutex_unlock(&(log->start_mutex));
+
+ /**/
+ log->output_started = FALSE;
+ pthread_create(&(log->output_thread), NULL,
+ &ags_log_output, log);
+
+ pthread_mutex_lock(&(log->start_mutex));
+
+ while(!log->output_started){
+ pthread_cond_wait(&(log->start_wait_cond),
+ &(log->start_mutex));
+ }
+
+ pthread_mutex_unlock(&(log->start_mutex));
+}
+
+void
+ags_log_start_queue(AgsLog *log)
+{
+ pthread_mutex_t start_mutex;
+ pthread_mutexattr_t start_mutex_attr;
+
+ log->flags |= AGS_LOG_STARTING;
+ /* AGS_LOG_RUNNING |
+ AGS_LOG_QUEUE_SUSPEND |
+ AGS_LOG_OUTPUT_SUSPEND);
+ pthread_mutexattr_init(&(start_mutex_attr));
+ pthread_mutex_init(&(start_mutex), &(start_mutex_attr));
+ */
+
+ /* */
+ /*
+ log->broker_started = FALSE;
+ log->timer_started = FALSE;
+ */
+
+ pthread_create(&(log->broker_thread), NULL,
+ &ags_log_broker, log);
+
+ pthread_mutex_lock(&(start_mutex));
+
+ while(!log->broker_started){
+ pthread_cond_wait(&(log->start_wait_cond),
+ &start_mutex);
+ }
+
+ log->flags &= ~(AGS_LOG_STARTING);
+ pthread_mutex_unlock(&(start_mutex));
+}
+
+void
+ags_log_stop_queue(AgsLog *log)
+{
+ log->flags &= (~AGS_LOG_RUNNING);
+}
+
+AgsLogMessage*
+ags_log_message_alloc()
+{
+ AgsLogMessage *log_message;
+
+ /* alloc AgsLogMessage */
+ log_message = (AgsLogMessage *) malloc(sizeof(AgsLogMessage));
+
+ /* set timestamp */
+ log_message->time = (struct timespec *) malloc(sizeof(struct timespec));
+ clock_gettime(CLOCK_REALTIME, log_message->time);
+
+ return(log_message);
+}
+
+void*
+ags_log_add_message_thread(void *ptr)
+{
+ struct _AgsLogAddMessageArgs *args;
+ AgsLog *log;
+ AgsLogMessage *log_message;
+ pthread_mutex_t mutex;
+
+ args = (struct _AgsLogAddMessageArgs *) ptr;
+
+ log = args->log;
+ log_message = args->log_message;
+ mutex = args->mutex;
+
+ free(args);
+
+ log->suspended_logs += 1;
+
+ while((AGS_LOG_SUSPEND & (log->flags)) != 0){
+ pthread_cond_wait(&(log->log_wait_cond),
+ &mutex);
+ }
+
+ if(log->suspended_logs == 0){
+ log->flags |= AGS_LOG_SUSPEND;
+ }
+
+ log->active_logs += 1;
+ log->log = g_list_prepend(log->log,
+ log_message);
+
+ log->active_logs -= 1;
+ log->suspended_logs -= 1;
+
+ pthread_mutex_unlock(&mutex);
+
+ pthread_cond_signal(&(log->broker_wait_cond));
+
+ pthread_exit(NULL);
+}
+
+void
+ags_log_add_message(AgsLog *log, AgsLogMessage *log_message, pthread_mutex_t mutex)
+{
+ struct _AgsLogAddMessageArgs *args;
+ pthread_t log_thread;
+
+ if(log->log != NULL){
+ log->queue_message = log->log;
+ }
+
+ args = (struct _AgsLogAddMessageArgs *) malloc(sizeof(struct _AgsLogAddMessageArgs));
+
+ args->log = log;
+ args->log_message = log_message;
+ args->mutex = mutex;
+
+ pthread_create(&(log_thread), NULL,
+ &ags_log_add_message_thread, args);
+}
+
+void
+ags_log_debug(AgsLog *log, char *format, ...)
+{
+ AgsLogMessage *log_debug;
+ pthread_mutex_t log_mutex;
+ pthread_mutexattr_t log_mutex_attr;
+ va_list args;
+
+ if((AGS_LOG_RUNNING & (log->flags)) == 0 ||
+ (AGS_LOG_OMMIT_DEBUG) != 0){
+ return;
+ }
+
+ log_debug = ags_log_message_alloc();
+
+ log_debug->debug = TRUE;
+ log_debug->format = format;
+
+ va_start(args, format);
+ va_copy(log_debug->args, args);
+ va_end(args);
+
+ /* add to queue */
+ pthread_mutexattr_init(&(log_mutex_attr));
+ pthread_mutex_init(&(log_mutex), &(log_mutex_attr));
+
+ pthread_mutex_lock(&(log_mutex));
+
+ if((AGS_LOG_SUSPEND & (log->flags)) == 0){
+ log->active_logs += 1;
+ log->log = g_list_prepend(log->log, log_debug);
+ log->active_logs -= 1;
+
+ pthread_mutex_unlock(&(log_mutex));
+
+ pthread_cond_signal(&(log->broker_wait_cond));
+ }else{
+ ags_log_add_message(log, log_debug, log_mutex);
+ }
+}
+
+void
+ags_log_message(AgsLog *log, char *format, ...)
+{
+ AgsLogMessage *log_message;
+ pthread_mutex_t log_mutex;
+ pthread_mutexattr_t log_mutex_attr;
+ va_list args;
+
+ if((AGS_LOG_RUNNING & (log->flags)) == 0){
+ return;
+ }
+
+ log_message = ags_log_message_alloc();
+
+ log_message->debug = FALSE;
+ log_message->format = format;
+
+ va_start(args, format);
+ va_copy(log_message->args, args);
+ va_end(args);
+
+ /* add to queue */
+ pthread_mutexattr_init(&(log_mutex_attr));
+ pthread_mutex_init(&(log_mutex), &(log_mutex_attr));
+
+ pthread_mutex_lock(&(log_mutex));
+
+ if((AGS_LOG_SUSPEND & (log->flags)) == 0){
+ log->active_logs += 1;
+ log->log = g_list_prepend(log->log, log_message);
+ log->active_logs -= 1;
+
+ pthread_mutex_unlock(&(log_mutex));
+
+ pthread_cond_signal(&(log->broker_wait_cond));
+ }else{
+ ags_log_add_message(log, log_message, log_mutex);
+ }
+}
+
+AgsLog*
+ags_log_new()
+{
+ AgsLog *log;
+
+ log = (AgsLog *) g_object_new(AGS_TYPE_LOG, NULL);
+
+ return(log);
+}
diff --git a/src/ags/lib/ags_log.h b/src/ags/lib/ags_log.h
new file mode 100644
index 0000000..59c16ba
--- /dev/null
+++ b/src/ags/lib/ags_log.h
@@ -0,0 +1,145 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LOG_H__
+#define __AGS_LOG_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define __USE_UNIX98
+#include <pthread.h>
+#include <time.h>
+#include <stdio.h>
+
+#define AGS_TYPE_LOG (ags_log_get_type())
+#define AGS_LOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LOG, AgsLog))
+#define AGS_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_LOG, AgsLog))
+#define AGS_IS_LOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LOG))
+#define AGS_IS_LOG_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LOG))
+#define AGS_LOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_LOG, AgsLogClass))
+
+extern struct _AgsLog *ags_default_log;
+
+#define ags_default_log ags_default_log
+
+typedef struct _AgsLog AgsLog;
+typedef struct _AgsLogClass AgsLogClass;
+typedef struct _AgsLogMessage AgsLogMessage;
+typedef struct _AgsLogFormatedMessage AgsLogFormatedMessage;
+
+typedef enum{
+ AGS_LOG_STARTING = 1,
+ AGS_LOG_RUNNING = 1 << 1,
+ AGS_LOG_TIMER_SLEEP = 1 << 2,
+ AGS_LOG_OUTPUT_SUSPEND = 1 << 3,
+ AGS_LOG_OUTPUT_WAITS_FOR_QUEUE = 1 << 4,
+ AGS_LOG_QUEUE_SUSPEND = 1 << 5,
+ AGS_LOG_SUSPEND = 1 << 6,
+ AGS_LOG_COPY_FROM_QUEUE_TO_OUTPUT = 1 << 7,
+ AGS_LOG_OMMIT_DEBUG = 1 << 8,
+}AgsLogFlags;
+
+struct _AgsLog
+{
+ GObject object;
+
+ guint flags;
+
+ FILE *file;
+ pthread_mutex_t start_mutex;
+ pthread_cond_t start_wait_cond;
+
+ struct timespec *log_interval;
+ struct timespec *free_float;
+ pthread_t timer_thread;
+ pthread_attr_t timer_thread_attr;
+ pthread_mutex_t timer_mutex;
+ pthread_mutexattr_t timer_mutex_attr;
+ gboolean timer_started;
+ gboolean timer_active;
+ gboolean timer_awaken;
+ pthread_cond_t timer_wait_cond;
+
+ pthread_t broker_thread;
+ pthread_attr_t broker_thread_attr;
+ pthread_mutex_t broker_mutex;
+ pthread_mutexattr_t broker_mutex_attr;
+ gboolean broker_started;
+ gboolean broker_active;
+ gboolean broker_awaken;
+ gboolean signaled_timer;
+ gboolean signaled_log;
+ gboolean signaled_queue;
+ gboolean signaled_output;
+ pthread_cond_t broker_wait_cond;
+
+ GList *output_formated_message;
+ pthread_t output_thread;
+ pthread_attr_t output_thread_attr;
+ pthread_mutex_t output_mutex;
+ pthread_mutexattr_t output_mutex_attr;
+ gboolean output_started;
+ gboolean output_active;
+ gboolean output_awaken;
+ pthread_cond_t output_wait_cond;
+
+ GList *queue_formated_message;
+ GList *queue_message;
+ pthread_t queue_thread;
+ pthread_attr_t queue_thread_attr;
+ pthread_mutex_t queue_mutex;
+ pthread_mutexattr_t queue_mutex_attr;
+ gboolean queue_started;
+ gboolean queue_active;
+ gboolean queue_awaken;
+ pthread_cond_t queue_wait_cond;
+
+ GList *log;
+ guint active_logs;
+ guint suspended_logs;
+ pthread_cond_t log_wait_cond;
+};
+
+struct _AgsLogClass
+{
+ GObjectClass object;
+};
+
+struct _AgsLogMessage
+{
+ gboolean debug;
+
+ struct timespec *time;
+ char *format;
+ va_list args;
+};
+
+struct _AgsLogFormatedMessage
+{
+ int length;
+ char *message;
+};
+
+void ags_log_start_queue(AgsLog *log);
+void ags_log_stop_queue(AgsLog *log);
+
+void ags_log_debug(AgsLog *log, char *format, ...);
+void ags_log_message(AgsLog *log, char *format, ...);
+
+#endif /*__AGS_LOG_H__*/
diff --git a/src/ags/lib/ags_parameter.c b/src/ags/lib/ags_parameter.c
new file mode 100644
index 0000000..8dbbd8f
--- /dev/null
+++ b/src/ags/lib/ags_parameter.c
@@ -0,0 +1,109 @@
+/* AGS - Advanced Gtk+ Sequencer
+ * Copyright (C) 1995 Spencer Kimball and Peter Mattis
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/lib/ags_parameter.h>
+
+#include <stdlib.h>
+#include <string.h>
+#include <gobject/gvaluecollector.h>
+
+/**
+ * SECTION:ags_parameter
+ * @short_description: Complete GParameter
+ * @title: AgsParameter
+ * @section_id:
+ * @include: ags/lib/ags_parameter.h
+ *
+ * Functions completing #GParameter API.
+ */
+
+static GParamSpecPool *pspec_pool = NULL;
+
+/**
+ * ags_parameter_grow:
+ * @object_type: the #GType of the object's properties
+ * @params: the #GParameter array
+ * @n_params: location to store new size
+ * @...: a %NULL-terminated list of properties name and value
+ *
+ * Grow parameter array of @object_type object. This function is mainly used to
+ * prepare a #GParameter array to instantiate a new #GObject by using g_object_newv().
+ *
+ * Returns: the resized GParameter array
+ *
+ * Since: 0.3
+ */
+GParameter*
+ags_parameter_grow(GType object_type,
+ GParameter *params, guint *n_params, ...)
+{
+ //Thank you gimp
+
+ GObjectClass *object_class;
+ gchar *param_name;
+ va_list ap;
+
+ object_class = g_type_class_ref (object_type);
+
+ va_start(ap, n_params);
+ param_name = va_arg (ap, gchar *);
+
+ while (param_name)
+ {
+ gchar *error;
+ GParamSpec *pspec;
+
+ error = NULL;
+ pspec = g_object_class_find_property(object_class,
+ param_name);
+
+ if (! pspec)
+ {
+ g_warning ("%s: object class `%s' has no property named `%s'\0",
+ G_STRFUNC, g_type_name (object_type), param_name);
+ break;
+ }
+
+ if(params != NULL){
+ params = g_renew (GParameter, params, *n_params + 1);
+ }else{
+ params = g_new(GParameter, 1);
+ }
+
+ params[*n_params].name = param_name;
+ params[*n_params].value.g_type = 0;
+
+ g_value_init (¶ms[*n_params].value, G_PARAM_SPEC_VALUE_TYPE (pspec));
+
+ G_VALUE_COLLECT (¶ms[*n_params].value, ap, 0, &error);
+
+ if (error)
+ {
+ g_warning ("%s: %s\0", G_STRFUNC, error);
+ g_free (error);
+ g_value_unset (¶ms[*n_params].value);
+ break;
+ }
+
+ *n_params = *n_params + 1;
+
+ param_name = va_arg (ap, gchar *);
+ }
+
+ return(params);
+}
diff --git a/src/ags/lib/ags_parameter.h b/src/ags/lib/ags_parameter.h
new file mode 100644
index 0000000..38c1593
--- /dev/null
+++ b/src/ags/lib/ags_parameter.h
@@ -0,0 +1,29 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PARAMETER_H__
+#define __AGS_PARAMETER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+GParameter*
+ags_parameter_grow(GType type,
+ GParameter *params, guint *n_params, ...);
+
+#endif /*__AGS_PARAMETER_H__*/
diff --git a/src/ags/main.c b/src/ags/main.c
new file mode 100644
index 0000000..7969430
--- /dev/null
+++ b/src/ags/main.c
@@ -0,0 +1,720 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#include <ags/main.h>
+
+#include <gtk/gtk.h>
+#include <libintl.h>
+#include <stdio.h>
+#include <signal.h>
+#include <unistd.h>
+#include <sys/resource.h>
+#include <mcheck.h>
+
+#include <X11/Xlib.h>
+
+#include <gdk/gdk.h>
+
+#include <sys/types.h>
+#include <pwd.h>
+
+#include <sys/mman.h>
+
+void ags_colors_alloc();
+
+static void ags_signal_cleanup();
+void ags_signal_handler(int signr);
+
+static gpointer ags_main_parent_class = NULL;
+static sigset_t ags_wait_mask;
+
+static const gchar *ags_config_thread = AGS_CONFIG_THREAD;
+static const gchar *ags_config_devout = AGS_CONFIG_DEVOUT;
+
+extern void ags_thread_resume_handler(int sig);
+extern void ags_thread_suspend_handler(int sig);
+
+extern GtkStyle *matrix_style;
+extern GtkStyle *ffplayer_style;
+extern GtkStyle *editor_style;
+extern GtkStyle *notebook_style;
+extern GtkStyle *meter_style;
+extern GtkStyle *note_edit_style;
+
+extern AgsLadspaManager *ags_ladspa_manager;
+
+struct sigaction ags_sigact;
+
+void
+ags_colors_alloc()
+{
+ static gboolean allocated = FALSE;
+
+ if(!allocated){
+ allocated = TRUE;
+
+ matrix_style = gtk_style_new();
+ matrix_style->fg[0].red = 120 * (65535/255);
+ matrix_style->fg[0].green = 220 * (65535/255);
+ matrix_style->fg[0].blue = 120 * (65535/255);
+ matrix_style->fg[0].pixel = (gulong)(120*65536 + 220*256 + 120);
+
+ matrix_style->light[0].red = 100 * (65535/255);
+ matrix_style->light[0].green = 200 * (65535/255);
+ matrix_style->light[0].blue = 100 * (65535/255);
+ matrix_style->light[0].pixel = (gulong)(100*65536 + 200*256 + 100);
+
+ matrix_style->bg[0].red = 0 * (65535/255);
+ matrix_style->bg[0].green = 80 * (65535/255);
+ matrix_style->bg[0].blue = 0 * (65535/255);
+ matrix_style->bg[0].pixel = (gulong)(0*65536 + 80*256 + 0);
+
+ matrix_style->bg[1].red = 120 * (65535/255);
+ matrix_style->bg[1].green = 220 * (65535/255);
+ matrix_style->bg[1].blue = 120 * (65535/255);
+ matrix_style->bg[1].pixel = (gulong)(120*65536 + 220*256 + 120);
+
+ matrix_style->bg[2].red = 120 * (65535/255);
+ matrix_style->bg[2].green = 220 * (65535/255);
+ matrix_style->bg[2].blue = 120 * (65535/255);
+ matrix_style->bg[2].pixel = (gulong)(120*65536 + 220*256 + 120);
+
+ matrix_style->base[0].red = 120 * (65535/255);
+ matrix_style->base[0].green = 220 * (65535/255);
+ matrix_style->base[0].blue = 120 * (65535/255);
+ matrix_style->base[0].pixel = (gulong)(120*65536 + 220*256 + 120);
+
+
+ /* matrix_style->fg[1] = matrix_green;
+ matrix_style->fg[2] = matrix_green;
+ matrix_style->fg[3] = matrix_green;
+ matrix_style->fg[4] = matrix_green;
+
+ matrix_style->bg[0] = matrix_led_bg;
+ matrix_style->bg[1] = matrix_led_bg;
+ matrix_style->bg[2] = matrix_led_bg;
+ matrix_style->bg[2] = matrix_led_bg;
+ matrix_style->bg[3] = matrix_led_bg;
+ matrix_style->bg[4] = matrix_led_bg;
+ */
+
+ /* ffplayer style */
+ ffplayer_style = gtk_style_new();
+ ffplayer_style->fg[0].red = 180 * (65535/255);
+ ffplayer_style->fg[0].green = 180 * (65535/255);
+ ffplayer_style->fg[0].blue = 250 * (65535/255);
+ ffplayer_style->fg[0].pixel = (gulong)(120*65536 + 120*256 + 220);
+
+ ffplayer_style->bg[0].red = 4 * (65535/255);
+ ffplayer_style->bg[0].green = 8 * (65535/255);
+ ffplayer_style->bg[0].blue = 56 * (65535/255);
+ ffplayer_style->bg[0].pixel = (gulong)(4*65536 + 8*256 + 56);
+
+ ffplayer_style->bg[1].red = 120 * (65535/255);
+ ffplayer_style->bg[1].green = 120 *(65535/255);
+ ffplayer_style->bg[1].blue = 120 * (65535/255);
+ ffplayer_style->bg[1].pixel = (gulong)(120*65536 + 120*256 + 120);
+
+ ffplayer_style->bg[2].red = 120 * (65535/255);
+ ffplayer_style->bg[2].green = 120 *(65535/255);
+ ffplayer_style->bg[2].blue = 120 * (65535/255);
+ ffplayer_style->bg[2].pixel = (gulong)(255*65536 + 255*256 + 255);
+
+ ffplayer_style->mid[0].red = 4 * (65535/255);
+ ffplayer_style->mid[0].green = 8 * (65535/255);
+ ffplayer_style->mid[0].blue = 56 * (65535/255);
+ ffplayer_style->mid[0].pixel = (gulong)(4*65536 + 8*256 + 56);
+
+ ffplayer_style->light[0].red = 120 * (65535/255);
+ ffplayer_style->light[0].green = 120 * (65535/255);
+ ffplayer_style->light[0].blue = 220 * (65535/255);
+ ffplayer_style->light[0].pixel = (gulong)(120*65536 + 120*256 + 220);
+
+ ffplayer_style->base[0].red = 120 * (65535/255);
+ ffplayer_style->base[0].green = 120 * (65535/255);
+ ffplayer_style->base[0].blue = 220 * (65535/255);
+ ffplayer_style->base[0].pixel = (gulong)(120*65536 + 120*256 + 220);
+
+
+ /* editor style */
+ editor_style = gtk_style_new();
+ editor_style->fg[0].red = 255 * (65535/255);
+ editor_style->fg[0].green = 240 *(65535/255);
+ editor_style->fg[0].blue = 200 * (65535/255);
+ editor_style->fg[0].pixel = (gulong)(255*65536 + 240*256 + 200);
+
+ editor_style->bg[0].red = 255 * (65535/255);
+ editor_style->bg[0].green = 255 *(65535/255);
+ editor_style->bg[0].blue = 100 * (65535/255);
+ editor_style->bg[0].pixel = (gulong)(255*65536 + 255*256 + 255);
+
+ editor_style->mid[0].red = 250 * (65535/255);
+ editor_style->mid[0].green = 0 *(65535/255);
+ editor_style->mid[0].blue = 250 * (65535/255);
+ editor_style->mid[0].pixel = (gulong)(150*65536 + 150*256 + 250);
+
+
+ editor_style->base[0].red = 250 * (65535/255);
+ editor_style->base[0].green = 250 *(65535/255);
+ editor_style->base[0].blue = 250 * (65535/255);
+ editor_style->base[0].pixel = (gulong)(250*65536 + 250*256 + 250);
+
+
+ /* notebook style */
+ notebook_style = gtk_style_new();
+ notebook_style->fg[0].red = 255 * (65535/255);
+ notebook_style->fg[0].green = 255 *(65535/255);
+ notebook_style->fg[0].blue = 0 * (65535/255);
+ notebook_style->fg[0].pixel = (gulong)(255*65536 + 255*256 + 0);
+
+ notebook_style->bg[0].red = 40 * (65535/255);
+ notebook_style->bg[0].green = 40 *(65535/255);
+ notebook_style->bg[0].blue = 40 * (65535/255);
+ notebook_style->bg[0].pixel = (gulong)(40*65536 + 40*256 + 40);
+
+ notebook_style->mid[0].red = 10 * (65535/255);
+ notebook_style->mid[0].green = 20 *(65535/255);
+ notebook_style->mid[0].blue = 230 * (65535/255);
+ notebook_style->mid[0].pixel = (gulong)(10*65536 + 20*256 + 230);
+
+ notebook_style->dark[0].red = 192 * (65535/255);
+ notebook_style->dark[0].green = 192 *(65535/255);
+ notebook_style->dark[0].blue = 0 * (65535/255);
+ notebook_style->dark[0].pixel = (gulong)(150*65536 + 150*256 + 250);
+
+ notebook_style->light[0].red = 255 * (65535/255);
+ notebook_style->light[0].green = 255 *(65535/255);
+ notebook_style->light[0].blue = 63 * (65535/255);
+ notebook_style->light[0].pixel = (gulong)(255*65536 + 255*256 + 63);
+
+ notebook_style->base[0].red = 0 * (65535/255);
+ notebook_style->base[0].green = 0 *(65535/255);
+ notebook_style->base[0].blue = 0 * (65535/255);
+ notebook_style->base[0].pixel = (gulong)(0*65536 + 0*256 + 0);
+
+
+ /* ruler style */
+ //TODO:JK: deprecated
+ // ruler_style = gtk_style_new();
+ // ruler_style->fg[0].red = 255 * (65535/255);
+ // ruler_style->fg[0].green = 240 *(65535/255);
+ // ruler_style->fg[0].blue = 200 * (65535/255);
+ // ruler_style->fg[0].pixel = (gulong)(255*65536 + 240*256 + 200);
+
+ // ruler_style->bg[0].red = 40 * (65535/255);
+ // ruler_style->bg[0].green = 40 *(65535/255);
+ // ruler_style->bg[0].blue = 40 * (65535/255);
+ // ruler_style->bg[0].pixel = (gulong)(40*65536 + 40*256 + 40);
+
+ // ruler_style->mid[0].red = 250 * (65535/255);
+ // ruler_style->mid[0].green = 0 *(65535/255);
+ // ruler_style->mid[0].blue = 250 * (65535/255);
+ // ruler_style->mid[0].pixel = (gulong)(150*65536 + 150*256 + 250);
+
+ // ruler_style->base[0].red = 250 * (65535/255);
+ // ruler_style->base[0].green = 250 *(65535/255);
+ // ruler_style->base[0].blue = 250 * (65535/255);
+ // ruler_style->base[0].pixel = (gulong)(250*65536 + 250*256 + 250);
+
+
+ /* meter style */
+ meter_style = gtk_style_new();
+ meter_style->fg[0].red = 100 * (65535/255);
+ meter_style->fg[0].green = 200 *(65535/255);
+ meter_style->fg[0].blue = 255 * (65535/255);
+ meter_style->fg[0].pixel = (gulong)(100*65536 + 200*256 + 255);
+
+ meter_style->bg[0].red = 40 * (65535/255);
+ meter_style->bg[0].green = 40 *(65535/255);
+ meter_style->bg[0].blue = 40 * (65535/255);
+ meter_style->bg[0].pixel = (gulong)(40*65536 + 40*256 + 40);
+
+ meter_style->mid[0].red = 10 * (65535/255);
+ meter_style->mid[0].green = 20 *(65535/255);
+ meter_style->mid[0].blue = 230 * (65535/255);
+ meter_style->mid[0].pixel = (gulong)(10*65536 + 20*256 + 230);
+
+ meter_style->light[0].red = 0 * (65535/255);
+ meter_style->light[0].green = 150 *(65535/255);
+ meter_style->light[0].blue = 255 * (65535/255);
+ meter_style->light[0].pixel = (gulong)(150*65536 + 150*256 + 250);
+
+ meter_style->base[0].red = 0 * (65535/255);
+ meter_style->base[0].green = 0 *(65535/255);
+ meter_style->base[0].blue = 0 * (65535/255);
+ meter_style->base[0].pixel = (gulong)(0*65536 + 0*256 + 0);
+
+
+ /* note_edit style */
+ note_edit_style = gtk_style_new();
+ note_edit_style->fg[0].red = 255 * (65535/255);
+ note_edit_style->fg[0].green = 240 *(65535/255);
+ note_edit_style->fg[0].blue = 200 * (65535/255);
+ note_edit_style->fg[0].pixel = (gulong)(255*65536 + 240*256 + 200);
+
+ note_edit_style->bg[0].red = 255 * (65535/255);
+ note_edit_style->bg[0].green = 255 *(65535/255);
+ note_edit_style->bg[0].blue = 100 * (65535/255);
+ note_edit_style->bg[0].pixel = (gulong)(255*65536 + 255*256 + 255);
+
+ note_edit_style->mid[0].red = 250 * (65535/255);
+ note_edit_style->mid[0].green = 0 *(65535/255);
+ note_edit_style->mid[0].blue = 250 * (65535/255);
+ note_edit_style->mid[0].pixel = (gulong)(150*65536 + 150*256 + 250);
+
+
+ note_edit_style->base[0].red = 250 * (65535/255);
+ note_edit_style->base[0].green = 250 *(65535/255);
+ note_edit_style->base[0].blue = 250 * (65535/255);
+ note_edit_style->base[0].pixel = (gulong)(250*65536 + 250*256 + 250);
+ }
+}
+
+void
+ags_main_add_devout(AgsMain *ags_main,
+ AgsDevout *devout)
+{
+ if(ags_main == NULL ||
+ devout == NULL){
+ return;
+ }
+
+ g_object_ref(G_OBJECT(devout));
+ ags_main->devout = g_list_prepend(ags_main->devout,
+ devout);
+}
+
+void
+ags_main_register_recall_type()
+{
+ ags_play_audio_get_type();
+ ags_play_channel_get_type();
+ ags_play_channel_run_get_type();
+ ags_play_channel_run_master_get_type();
+
+ ags_stream_channel_get_type();
+ ags_stream_channel_run_get_type();
+
+ ags_loop_channel_get_type();
+ ags_loop_channel_run_get_type();
+
+ ags_copy_channel_get_type();
+ ags_copy_channel_run_get_type();
+
+ ags_volume_channel_get_type();
+ ags_volume_channel_run_get_type();
+
+ ags_peak_channel_get_type();
+ ags_peak_channel_run_get_type();
+
+ ags_recall_ladspa_get_type();
+ ags_recall_channel_run_dummy_get_type();
+ ags_recall_ladspa_run_get_type();
+
+ ags_delay_audio_get_type();
+ ags_delay_audio_run_get_type();
+
+ ags_count_beats_audio_get_type();
+ ags_count_beats_audio_run_get_type();
+
+ ags_copy_pattern_audio_get_type();
+ ags_copy_pattern_audio_run_get_type();
+ ags_copy_pattern_channel_get_type();
+ ags_copy_pattern_channel_run_get_type();
+
+ ags_buffer_channel_get_type();
+ ags_buffer_channel_run_get_type();
+
+ ags_play_notation_audio_get_type();
+ ags_play_notation_audio_run_get_type();
+}
+
+void
+ags_main_register_task_type()
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_main_register_widget_type()
+{
+ ags_dial_get_type();
+}
+
+void
+ags_main_register_machine_type()
+{
+ ags_panel_get_type();
+ ags_panel_input_pad_get_type();
+ ags_panel_input_line_get_type();
+
+ ags_mixer_get_type();
+ ags_mixer_input_pad_get_type();
+ ags_mixer_input_line_get_type();
+
+ ags_drum_get_type();
+ ags_drum_output_pad_get_type();
+ ags_drum_output_line_get_type();
+ ags_drum_input_pad_get_type();
+ ags_drum_input_line_get_type();
+
+ ags_matrix_get_type();
+
+ ags_synth_get_type();
+ ags_synth_input_pad_get_type();
+ ags_synth_input_line_get_type();
+
+ ags_ffplayer_get_type();
+}
+
+void
+ags_main_register_thread_type()
+{
+ ags_thread_get_type();
+
+ ags_audio_loop_get_type();
+ ags_task_thread_get_type();
+ ags_devout_thread_get_type();
+ ags_iterator_thread_get_type();
+ ags_recycling_thread_get_type();
+ ags_timestamp_thread_get_type();
+ ags_gui_thread_get_type();
+
+ ags_thread_pool_get_type();
+ ags_returnable_thread_get_type();
+}
+
+void
+ags_main_quit(AgsMain *ags_main)
+{
+ ags_thread_stop(AGS_AUDIO_LOOP(ags_main->main_loop)->gui_thread);
+}
+
+AgsMain*
+ags_main_new()
+{
+ AgsMain *ags_main;
+
+ ags_main = (AgsMain *) g_object_new(AGS_TYPE_MAIN,
+ NULL);
+
+ return(ags_main);
+}
+
+void
+ags_signal_handler(int signr)
+{
+ if(signr == SIGINT){
+ //TODO:JK: do backup
+
+ exit(-1);
+ }else{
+ sigemptyset(&(ags_sigact.sa_mask));
+
+ if(signr == AGS_ASYNC_QUEUE_SIGNAL_HIGH){
+ // pthread_yield();
+ }
+ }
+}
+
+static void
+ags_signal_cleanup()
+{
+ sigemptyset(&(ags_sigact.sa_mask));
+}
+
+int
+main(int argc, char **argv)
+{
+ AgsApplicationContext *audio_application_context, *xorg_application_context;
+ AgsGuiThread *gui_thread;
+ GFile *autosave_file;
+
+ gchar *filename, *autosave_filename;
+
+ struct sched_param param;
+ struct rlimit rl;
+ struct sigaction sa;
+
+ struct passwd *pw;
+ uid_t uid;
+ gchar *wdir, *config_file;
+ int result;
+
+ gboolean single_thread = FALSE;
+ guint i;
+
+ const char *error;
+ const rlim_t kStackSize = 64L * 1024L * 1024L; // min stack size = 64 Mb
+
+ // mtrace();
+ atexit(ags_signal_cleanup);
+
+ result = getrlimit(RLIMIT_STACK, &rl);
+
+ /* set stack size 64M */
+ if(result == 0){
+ if(rl.rlim_cur < kStackSize){
+ rl.rlim_cur = kStackSize;
+ result = setrlimit(RLIMIT_STACK, &rl);
+
+ if(result != 0){
+ //TODO:JK
+ }
+ }
+ }
+
+ /* Ignore interactive and job-control signals. */
+ signal(SIGINT, SIG_IGN);
+ signal(SIGQUIT, SIG_IGN);
+ signal(SIGTSTP, SIG_IGN);
+ signal(SIGTTIN, SIG_IGN);
+ signal(SIGTTOU, SIG_IGN);
+ signal(SIGCHLD, SIG_IGN);
+
+ ags_sigact.sa_handler = ags_signal_handler;
+ sigemptyset(&ags_sigact.sa_mask);
+ ags_sigact.sa_flags = 0;
+ sigaction(SIGINT, &ags_sigact, (struct sigaction *) NULL);
+ sigaction(SA_RESTART, &ags_sigact, (struct sigaction *) NULL);
+
+ /* */
+ sigfillset(&(ags_wait_mask));
+ sigdelset(&(ags_wait_mask), AGS_THREAD_SUSPEND_SIG);
+ sigdelset(&(ags_wait_mask), AGS_THREAD_RESUME_SIG);
+
+ sigfillset(&(sa.sa_mask));
+ sa.sa_flags = 0;
+
+ sa.sa_handler = ags_thread_resume_handler;
+ sigaction(AGS_THREAD_RESUME_SIG, &sa, NULL);
+
+ sa.sa_handler = ags_thread_suspend_handler;
+ sigaction(AGS_THREAD_SUSPEND_SIG, &sa, NULL);
+
+ /**/
+ LIBXML_TEST_VERSION;
+
+ XInitThreads();
+
+ g_thread_init(NULL);
+ gdk_threads_init();
+
+ gtk_init(&argc, &argv);
+ ipatch_init();
+
+ ao_initialize();
+
+ ags_colors_alloc();
+
+ filename = NULL;
+
+ for(i = 0; i < argc; i++){
+ if(!strncmp(argv[i], "--single-thread\0", 16)){
+ single_thread = TRUE;
+ }else if(!strncmp(argv[i], "--filename\0", 11)){
+ filename = argv[i + 1];
+ i++;
+ }
+ }
+
+ config = ags_config_new();
+ uid = getuid();
+ pw = getpwuid(uid);
+
+ wdir = g_strdup_printf("%s/%s\0",
+ pw->pw_dir,
+ AGS_DEFAULT_DIRECTORY);
+
+ config_file = g_strdup_printf("%s/%s\0",
+ wdir,
+ AGS_DEFAULT_CONFIG);
+
+ ags_config_load_from_file(config,
+ config_file);
+
+ g_free(wdir);
+ g_free(config_file);
+
+ if(filename != NULL){
+ AgsFile *file;
+
+ file = g_object_new(AGS_TYPE_FILE,
+ "filename\0", filename,
+ NULL);
+ ags_file_open(file);
+ ags_file_read(file);
+
+ ags_main = AGS_MAIN(file->ags_main);
+ ags_file_close(file);
+
+ ags_thread_start(ags_main->main_loop);
+
+ /* complete thread pool */
+ ags_main->thread_pool->parent = AGS_THREAD(ags_main->main_loop);
+ ags_thread_pool_start(ags_main->thread_pool);
+
+#ifdef _USE_PTH
+ pth_join(AGS_AUDIO_LOOP(ags_main->main_loop)->gui_thread->thread,
+ NULL);
+#else
+ pthread_join(AGS_AUDIO_LOOP(ags_main->main_loop)->gui_thread->thread,
+ NULL);
+#endif
+ }else{
+ ags_main = ags_main_new();
+
+ if(single_thread){
+ ags_main->flags = AGS_MAIN_SINGLE_THREAD;
+ }
+
+ /* Declare ourself as a real time task */
+ param.sched_priority = AGS_PRIORITY;
+
+ if(sched_setscheduler(0, SCHED_FIFO, ¶m) == -1) {
+ perror("sched_setscheduler failed\0");
+ }
+
+ mlockall(MCL_CURRENT | MCL_FUTURE);
+
+ if((AGS_MAIN_SINGLE_THREAD & (ags_main->flags)) == 0){
+ // GdkFrameClock *frame_clock;
+
+#ifdef AGS_WITH_XMLRPC_C
+ AbyssInit(&error);
+
+ xmlrpc_env_init(&(ags_main->env));
+#endif /* AGS_WITH_XMLRPC_C */
+
+ /* AgsDevout */
+ devout = ags_devout_new((GObject *) ags_main);
+ ags_main_add_devout(ags_main,
+ devout);
+
+ /* */
+ g_object_set(G_OBJECT(ags_main->autosave_thread),
+ "devout\0", devout,
+ NULL);
+
+ /* AgsWindow */
+ ags_main->window =
+ window = ags_window_new((GObject *) ags_main);
+ g_object_set(G_OBJECT(window),
+ "devout\0", devout,
+ NULL);
+ g_object_ref(G_OBJECT(window));
+
+ gtk_window_set_default_size((GtkWindow *) window, 500, 500);
+ gtk_paned_set_position((GtkPaned *) window->paned, 300);
+
+ ags_connectable_connect(window);
+ gtk_widget_show_all((GtkWidget *) window);
+
+ /* AgsServer */
+ ags_main->server = ags_server_new((GObject *) ags_main);
+
+ /* AgsMainLoop */
+ ags_main->main_loop = AGS_MAIN_LOOP(ags_audio_loop_new((GObject *) devout, (GObject *) ags_main));
+ g_object_ref(G_OBJECT(ags_main->main_loop));
+ ags_connectable_connect(AGS_CONNECTABLE(ags_main->main_loop));
+
+ /* start thread tree */
+ ags_thread_start(ags_main->main_loop);
+
+ /* complete thread pool */
+ ags_main->thread_pool->parent = AGS_THREAD(ags_main->main_loop);
+ ags_thread_pool_start(ags_main->thread_pool);
+ }else{
+ AgsSingleThread *single_thread;
+
+ devout = ags_devout_new((GObject *) ags_main);
+ ags_main_add_devout(ags_main,
+ devout);
+
+ g_object_set(G_OBJECT(ags_main->autosave_thread),
+ "devout\0", devout,
+ NULL);
+
+ /* threads */
+ single_thread = ags_single_thread_new((GObject *) devout);
+
+ /* AgsWindow */
+ ags_main->window =
+ window = ags_window_new((GObject *) ags_main);
+ g_object_set(G_OBJECT(window),
+ "devout\0", devout,
+ NULL);
+ gtk_window_set_default_size((GtkWindow *) window, 500, 500);
+ gtk_paned_set_position((GtkPaned *) window->paned, 300);
+
+ ags_connectable_connect(window);
+ gtk_widget_show_all((GtkWidget *) window);
+
+ /* AgsMainLoop */
+ ags_main->main_loop = AGS_MAIN_LOOP(ags_audio_loop_new((GObject *) devout, (GObject *) ags_main));
+ g_object_ref(G_OBJECT(ags_main->main_loop));
+
+ /* complete thread pool */
+ ags_main->thread_pool->parent = AGS_THREAD(ags_main->main_loop);
+ ags_thread_pool_start(ags_main->thread_pool);
+
+ /* start thread tree */
+ ags_thread_start((AgsThread *) single_thread);
+ }
+
+ if(!single_thread){
+ /* join gui thread */
+#ifdef _USE_PTH
+ pth_join(AGS_AUDIO_LOOP(ags_main->main_loop)->gui_thread->thread,
+ NULL);
+#else
+ pthread_join(AGS_AUDIO_LOOP(ags_main->main_loop)->gui_thread->thread,
+ NULL);
+#endif
+ }
+ }
+
+ /* free managers */
+ if(ags_ladspa_manager != NULL){
+ g_object_unref(ags_ladspa_manager_get_instance());
+ }
+
+ uid = getuid();
+ pw = getpwuid(uid);
+
+ autosave_filename = g_strdup_printf("%s/%s/%d-%s\0",
+ pw->pw_dir,
+ AGS_DEFAULT_DIRECTORY,
+ getpid(),
+ AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME);
+
+ autosave_file = g_file_new_for_path(autosave_filename);
+
+ if(g_file_query_exists(autosave_file,
+ NULL)){
+ g_file_delete(autosave_file,
+ NULL,
+ NULL);
+ }
+
+ g_free(autosave_filename);
+ g_object_unref(autosave_file);
+
+ // muntrace();
+
+ return(0);
+}
diff --git a/src/ags/main.h b/src/ags/main.h
new file mode 100644
index 0000000..45d782c
--- /dev/null
+++ b/src/ags/main.h
@@ -0,0 +1,29 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MAIN_H__
+#define __AGS_MAIN_H__
+
+//#define AGS_DEBUG
+#define _GNU_SOURCE
+#define ALSA_PCM_NEW_HW_PARAMS_API
+
+void ags_main_init();
+void ags_main_quit();
+
+#endif /*__AGS_MAIN_H__*/
diff --git a/src/ags/object/Makefile b/src/ags/object/Makefile
new file mode 100644
index 0000000..efdadeb
--- /dev/null
+++ b/src/ags/object/Makefile
@@ -0,0 +1,496 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/object/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/object
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/object
+abs_srcdir = /usr/src/ags-devel/src/ags/object
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_object_h_sources =
+ags_object_h_sources = \
+ $(deprecated_ags_object_h_sources) \
+ ags_applicable.h \
+ ags_countable.h \
+ ags_dynamic_connectable.h \
+ ags_effect.h \
+ ags_main_loop.h \
+ ags_marshal.h \
+ ags_mutable.h \
+ ags_packable.h \
+ ags_persistable.h \
+ ags_playable.h \
+ ags_plugin.h \
+ ags_portlet.h \
+ ags_runnable.h \
+ ags_seekable.h \
+ ags_soundcard.h \
+ ags_stackable.h \
+ ags_tactable.h \
+ ags_tree_iterator.h
+
+deprecated_ags_object_c_sources =
+ags_object_c_sources = \
+ $(deprecated_ags_object_c_sources) \
+ ags_applicable.c \
+ ags_countable.c \
+ ags_dynamic_connectable.c \
+ ags_effect.c \
+ ags_main_loop.c \
+ ags_marshal.c \
+ ags_mutable.c \
+ ags_packable.c \
+ ags_persistable.c \
+ ags_playable.c \
+ ags_plugin.c \
+ ags_portlet.c \
+ ags_runnable.c \
+ ags_seekable.c \
+ ags_soundcard.c \
+ ags_stackable.c \
+ ags_tactable.c \
+ ags_tree_iterator.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/object/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/object/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/object/Makefile.am b/src/ags/object/Makefile.am
new file mode 100644
index 0000000..15ff47a
--- /dev/null
+++ b/src/ags/object/Makefile.am
@@ -0,0 +1,46 @@
+deprecated_ags_object_h_sources =
+
+ags_object_h_sources = \
+ $(deprecated_ags_object_h_sources) \
+ ags_applicable.h \
+ ags_countable.h \
+ ags_dynamic_connectable.h \
+ ags_effect.h \
+ ags_main_loop.h \
+ ags_marshal.h \
+ ags_mutable.h \
+ ags_packable.h \
+ ags_persistable.h \
+ ags_playable.h \
+ ags_plugin.h \
+ ags_portlet.h \
+ ags_runnable.h \
+ ags_seekable.h \
+ ags_soundcard.h \
+ ags_stackable.h \
+ ags_tactable.h \
+ ags_tree_iterator.h
+
+deprecated_ags_object_c_sources =
+
+ags_object_c_sources = \
+ $(deprecated_ags_object_c_sources) \
+ ags_applicable.c \
+ ags_countable.c \
+ ags_dynamic_connectable.c \
+ ags_effect.c \
+ ags_main_loop.c \
+ ags_marshal.c \
+ ags_mutable.c \
+ ags_packable.c \
+ ags_persistable.c \
+ ags_playable.c \
+ ags_plugin.c \
+ ags_portlet.c \
+ ags_runnable.c \
+ ags_seekable.c \
+ ags_soundcard.c \
+ ags_stackable.c \
+ ags_tactable.c \
+ ags_tree_iterator.c
+
diff --git a/src/ags/object/Makefile.in b/src/ags/object/Makefile.in
new file mode 100644
index 0000000..448dddc
--- /dev/null
+++ b/src/ags/object/Makefile.in
@@ -0,0 +1,496 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/object
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_object_h_sources =
+ags_object_h_sources = \
+ $(deprecated_ags_object_h_sources) \
+ ags_applicable.h \
+ ags_countable.h \
+ ags_dynamic_connectable.h \
+ ags_effect.h \
+ ags_main_loop.h \
+ ags_marshal.h \
+ ags_mutable.h \
+ ags_packable.h \
+ ags_persistable.h \
+ ags_playable.h \
+ ags_plugin.h \
+ ags_portlet.h \
+ ags_runnable.h \
+ ags_seekable.h \
+ ags_soundcard.h \
+ ags_stackable.h \
+ ags_tactable.h \
+ ags_tree_iterator.h
+
+deprecated_ags_object_c_sources =
+ags_object_c_sources = \
+ $(deprecated_ags_object_c_sources) \
+ ags_applicable.c \
+ ags_countable.c \
+ ags_dynamic_connectable.c \
+ ags_effect.c \
+ ags_main_loop.c \
+ ags_marshal.c \
+ ags_mutable.c \
+ ags_packable.c \
+ ags_persistable.c \
+ ags_playable.c \
+ ags_plugin.c \
+ ags_portlet.c \
+ ags_runnable.c \
+ ags_seekable.c \
+ ags_soundcard.c \
+ ags_stackable.c \
+ ags_tactable.c \
+ ags_tree_iterator.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/object/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/object/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/object/ags_applicable.c b/src/ags/object/ags_applicable.c
new file mode 100644
index 0000000..037f0e3
--- /dev/null
+++ b/src/ags/object/ags_applicable.c
@@ -0,0 +1,111 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_applicable.h>
+
+#include <stdio.h>
+
+void ags_applicable_base_init(AgsApplicableInterface *interface);
+
+/**
+ * SECTION:ags_applicable
+ * @short_description: unique access to dialogs
+ * @title: AgsApplicable
+ * @section_id:
+ * @include: ags/object/ags_applicable.h
+ *
+ * The #AgsApplicable interface gives you a unique access to dialogs.
+ */
+
+GType
+ags_applicable_get_type()
+{
+ static GType ags_type_applicable = 0;
+
+ if(!ags_type_applicable){
+ static const GTypeInfo ags_applicable_info = {
+ sizeof(AgsApplicableInterface),
+ (GBaseInitFunc) ags_applicable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_applicable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsApplicable\0", &ags_applicable_info,
+ 0);
+ }
+
+ return(ags_type_applicable);
+}
+
+void
+ags_applicable_base_init(AgsApplicableInterface *interface)
+{
+ /* empty */
+}
+
+/**
+ * ags_applicable_set_update:
+ * @applicable: an #AgsApplicable
+ * @update: if %TRUE do ::reset after ::update
+ *
+ * Update behaviour.
+ */
+void
+ags_applicable_set_update(AgsApplicable *applicable, gboolean update)
+{
+ AgsApplicableInterface *applicable_interface;
+
+ g_return_if_fail(AGS_IS_APPLICABLE(applicable));
+ applicable_interface = AGS_APPLICABLE_GET_INTERFACE(applicable);
+ g_return_if_fail(applicable_interface->set_update);
+ applicable_interface->set_update(applicable, update);
+}
+
+/**
+ * ags_applicable_apply:
+ * @applicable: an #AgsApplicable
+ *
+ * Apply.
+ */
+void
+ags_applicable_apply(AgsApplicable *applicable)
+{
+ AgsApplicableInterface *applicable_interface;
+
+ g_return_if_fail(AGS_IS_APPLICABLE(applicable));
+ applicable_interface = AGS_APPLICABLE_GET_INTERFACE(applicable);
+ g_return_if_fail(applicable_interface->apply);
+ applicable_interface->apply(applicable);
+}
+
+/**
+ * ags_applicable_reset:
+ * @applicable: an #AgsApplicable
+ *
+ * Reset.
+ */
+void
+ags_applicable_reset(AgsApplicable *applicable)
+{
+ AgsApplicableInterface *applicable_interface;
+
+ g_return_if_fail(AGS_IS_APPLICABLE(applicable));
+ applicable_interface = AGS_APPLICABLE_GET_INTERFACE(applicable);
+ g_return_if_fail(applicable_interface->reset);
+ applicable_interface->reset(applicable);
+}
diff --git a/src/ags/object/ags_applicable.h b/src/ags/object/ags_applicable.h
new file mode 100644
index 0000000..0d866e2
--- /dev/null
+++ b/src/ags/object/ags_applicable.h
@@ -0,0 +1,49 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPLICABLE_H__
+#define __AGS_APPLICABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_APPLICABLE (ags_applicable_get_type())
+#define AGS_APPLICABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLICABLE, AgsApplicable))
+#define AGS_APPLICABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_APPLICABLE, AgsApplicableInterface))
+#define AGS_IS_APPLICABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLICABLE))
+#define AGS_IS_APPLICABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_APPLICABLE))
+#define AGS_APPLICABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_APPLICABLE, AgsApplicableInterface))
+
+typedef void AgsApplicable;
+typedef struct _AgsApplicableInterface AgsApplicableInterface;
+
+struct _AgsApplicableInterface
+{
+ GTypeInterface interface;
+
+ void (*set_update)(AgsApplicable *applicable, gboolean update);
+ void (*apply)(AgsApplicable *applicable);
+ void (*reset)(AgsApplicable *applicable);
+};
+
+GType ags_applicable_get_type();
+
+void ags_applicable_set_update(AgsApplicable *applicable, gboolean update);
+void ags_applicable_apply(AgsApplicable *applicable);
+void ags_applicable_reset(AgsApplicable *applicable);
+
+#endif /*__AGS_APPLICABLE_H__*/
diff --git a/src/ags/object/ags_application_context.c b/src/ags/object/ags_application_context.c
new file mode 100644
index 0000000..e0bb513
--- /dev/null
+++ b/src/ags/object/ags_application_context.c
@@ -0,0 +1,498 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_application_context_class_init(AgsApplicationContextClass *application_context);
+void ags_application_context_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_application_context_init(AgsApplicationContext *application_context);
+void ags_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_application_context_connect(AgsConnectable *connectable);
+void ags_application_context_disconnect(AgsConnectable *connectable);
+void ags_application_context_finalize(GObject *gobject);
+
+void ags_application_context_real_load_config(AgsApplicationContext *application_context);
+void ags_application_context_real_register_types(AgsApplicationContext *application_context);
+
+enum{
+ LOAD_CONFIG,
+ REGISTER_TYPES,
+ LAST_SIGNAL,
+};
+
+enum{
+ PROP_0,
+ PROP_MAIN_LOOP,
+ PROP_CONFIG,
+};
+
+static guint application_context_signals[LAST_SIGNAL];
+
+static AgsApplicationContext *ags_application_context = NULL;
+extern AgsConfig *ags_config;
+
+GType
+ags_application_context_get_type()
+{
+ static GType ags_type_application_context = 0;
+
+ if(!ags_type_application_context){
+ static const GTypeInfo ags_application_context_info = {
+ sizeof (AgsApplicationContextClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_application_context_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsApplicationContext),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_application_context_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_application_context_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_application_context = g_type_register_static(G_TYPE_OBJECT,
+ "AgsApplicationContext\0",
+ &ags_application_context_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_application_context,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_application_context);
+}
+
+void
+ags_application_context_class_init(AgsApplicationContextClass *application_context)
+{
+ GObjectClass *gobject;
+
+ ags_application_context_parent_class = g_type_class_peek_parent(ags_application_context);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ags_application_context;
+
+ gobject->set_property = ags_application_context_set_property;
+ gobject->get_property = ags_application_context_get_property;
+
+ gobject->finalize = ags_application_context_finalize;
+
+ /* properties */
+ /**
+ * AgsApplicationContext:main-loop:
+ *
+ * The assigned main-loop.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("main-loop\0",
+ "main-loop of application context\0",
+ "The main-loop what application context is running in\0",
+ AGS_TYPE_MAIN_LOOP,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAIN_LOOP,
+ param_spec);
+
+ /* AgsApplicationContextClass */
+ application_context->load_config = ags_application_context_real_load_config;
+ application_context->register_types = ags_application_context_real_register_types;
+
+ /* signals */
+ /**
+ * AgsApplicationContext::load-config:
+ * @application_context: the object to play
+ *
+ * The ::load-config signal notifies about running
+ * stage 2.
+ */
+ application_context_signals[LOAD_CONFIG] =
+ g_signal_new("load-config\0",
+ G_TYPE_FROM_CLASS (application_context),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsApplicationContextClass, load_config),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsApplicationContext::register-types:
+ * @application_context: the object to play
+ *
+ * The ::register-types signal notifies about running
+ * stage 2.
+ */
+ application_context_signals[REGISTER_TYPES] =
+ g_signal_new("register-types\0",
+ G_TYPE_FROM_CLASS (application_context),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsApplicationContextClass, register_types),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_application_context_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_application_context_connect;
+ connectable->disconnect = ags_application_context_disconnect;
+}
+
+void
+ags_application_context_init(AgsApplicationContext *application_context)
+{
+ GFile *file;
+ struct passwd *pw;
+ uid_t uid;
+ gchar *wdir, *filename;
+ pthread_mutexattr_t mutexattr;
+
+ uid = getuid();
+ pw = getpwuid(uid);
+
+ wdir = g_strdup_printf("%s/%s\0",
+ pw->pw_dir,
+ AGS_DEFAULT_DIRECTORY);
+
+ file = g_file_new_for_path(wdir);
+
+ g_file_make_directory(file,
+ NULL,
+ NULL);
+
+ application_context->flags = 0;
+
+ application_context->version = AGS_VERSION;
+ application_context->build_id = AGS_BUILD_ID;
+
+ application_context->log = (AgsLog *) g_object_new(AGS_TYPE_LOG,
+ "file\0", stdout,
+ NULL);
+
+ application_context->sibling = g_list_alloc();
+ application_context->sibling->data = application_context;
+
+ application_context->domain = NULL;
+ application_context->config = NULL;
+
+ pthread_mutexattr_init(&(mutexattr));
+ pthread_mutexattr_settype(&(mutexattr), PTHREAD_MUTEX_RECURSIVE);
+
+ pthread_mutex_init(&(application_context->mutex), &(mutexattr));
+
+ application_context->main_loop = NULL;
+
+ application_context->file = NULL;
+
+ // ags_log_message(ags_default_log, "starting Advanced Gtk+ Sequencer\n\0");
+}
+
+void
+ags_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsApplicationContext *application_context;
+
+ application_context = AGS_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+
+}
+
+void
+ags_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsApplicationContext *application_context;
+
+ application_context = AGS_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_application_context_connect(AgsConnectable *connectable)
+{
+ AgsApplicationContext *application_context;
+ GList *list;
+
+ application_context = AGS_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_APPLICATION_CONTEXT_CONNECTED & (application_context->flags)) != 0)
+ return;
+
+ application_context->flags |= AGS_APPLICATION_CONTEXT_CONNECTED;
+
+ ags_connectable_connect(AGS_CONNECTABLE(application_context->application_context_loop));
+ ags_connectable_connect(AGS_CONNECTABLE(application_context->thread_pool));
+
+ g_message("connected threads\0");
+
+ list = application_context->devout;
+
+ while(list != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(list->data));
+
+ list = list->next;
+ }
+
+ g_message("connected audio\0");
+
+ ags_connectable_connect(AGS_CONNECTABLE(application_context->window));
+ g_message("connected gui\0");
+}
+
+void
+ags_application_context_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_application_context_finalize(GObject *gobject)
+{
+ AgsApplicationContext *application_context;
+
+ G_OBJECT_CLASS(ags_application_context_parent_class)->finalize(gobject);
+
+ application_context = AGS_APPLICATION_CONTEXT(gobject);
+}
+
+void
+ags_application_context_real_load_config(AgsApplicationContext *application_context)
+{
+ AgsConfig *config;
+ GList *list;
+
+ auto void ags_application_context_load_config_thread(AgsThread *thread);
+ auto void ags_application_context_load_config_devout(AgsDevout *devout);
+
+ void ags_application_context_load_config_thread(AgsThread *thread){
+ gchar *model;
+
+ model = ags_config_get(config,
+ ags_config_devout,
+ "model\0");
+
+ if(model != NULL){
+ if(!strncmp(model,
+ "single-threaded\0",
+ 16)){
+ //TODO:JK: implement me
+
+ }else if(!strncmp(model,
+ "multi-threaded",
+ 15)){
+ //TODO:JK: implement me
+ }else if(!strncmp(model,
+ "super-threaded",
+ 15)){
+ //TODO:JK: implement me
+ }
+ }
+ }
+ void ags_application_context_load_config_devout(AgsDevout *devout){
+ gchar *alsa_handle;
+ guint samplerate;
+ guint buffer_size;
+ guint pcm_channels, dsp_channels;
+
+ alsa_handle = ags_config_get(config,
+ ags_config_devout,
+ "alsa-handle\0");
+
+ dsp_channels = strtoul(ags_config_get(config,
+ ags_config_devout,
+ "dsp-channels\0"),
+ NULL,
+ 10);
+
+ pcm_channels = strtoul(ags_config_get(config,
+ ags_config_devout,
+ "pcm-channels\0"),
+ NULL,
+ 10);
+
+ samplerate = strtoul(ags_config_get(config,
+ ags_config_devout,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ buffer_size = strtoul(ags_config_get(config,
+ ags_config_devout,
+ "buffer-size\0"),
+ NULL,
+ 10);
+
+ g_object_set(G_OBJECT(devout),
+ "device\0", alsa_handle,
+ "dsp-channels\0", dsp_channels,
+ "pcm-channels\0", pcm_channels,
+ "frequency\0", samplerate,
+ "buffer-size\0", buffer_size,
+ NULL);
+ }
+
+ if(application_context == NULL){
+ return;
+ }
+
+ config = application_context->config;
+
+ if(config == NULL){
+ return;
+ }
+
+ /* thread */
+ ags_application_context_load_config_thread(application_context->application_context_loop);
+
+ /* devout */
+ list = application_context->devout;
+
+ while(list != NULL){
+ ags_application_context_load_config_devout(AGS_DEVOUT(list->data));
+
+ list = list->next;
+ }
+}
+
+void
+ags_application_context_load_config(AgsApplicationContext *application_context)
+{
+ g_return_if_fail(AGS_IS_APPLICATION_CONTEXT(application_context));
+
+ g_object_ref(G_OBJECT(application_context));
+ g_signal_emit(G_OBJECT(application_context),
+ application_context_signals[LOAD_CONFIG], 0);
+ g_object_unref(G_OBJECT(application_context));
+ g_object_unref(application_context);
+}
+
+void
+ags_application_context_real_register_types(AgsApplicationContext *application_context)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_application_context_register_types(AgsApplicationContext *application_context)
+{
+ g_return_if_fail(AGS_IS_APPLICATION_CONTEXT(application_context));
+
+ g_object_ref(G_OBJECT(application_context));
+ g_signal_emit(G_OBJECT(application_context),
+ application_context_signals[REGISTER_TYPES], 0);
+ g_object_unref(G_OBJECT(application_context));
+ g_object_unref(application_context);
+}
+
+void
+ags_application_context_add_sibling(AgsApplicationContext *application_context,
+ AgsApplicationContext *sibling)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_application_context_remove_sibling(AgsApplicationContext *application_context,
+ AgsApplicationContext *sibling)
+{
+ //TODO:JK: implement me
+}
+
+AgsApplicationContext*
+ags_application_context_find_default(GList *application_context)
+{
+ while(application_context != NULL){
+ if((AGS_APPLICATION_CONTEXT_DEFAULT & (AGS_APPLICATION_CONTEXT(application_context->data)->flags)) != 0){
+ return(application_context->data);
+ }
+
+ application_context = application_context->next;
+ }
+
+ return(NULL);
+}
+
+GList*
+ags_application_context_find_main_loop(GList *application_context)
+{
+ while(application_context != NULL){
+ if(AGS_APPLICATION_CONTEXT(application_context->data)->main_loop != NULL){
+ break;
+ }
+
+ application_context = application_context->next;
+ }
+
+ return(application_context);
+}
+
+AgsApplicationContext*
+ags_application_context_get_instance()
+{
+ if(ags_application_context == NULL){
+ ags_application_context = ags_application_context_new(NULL,
+ ags_config);
+ }
+
+ return(ags_application_context);
+}
+
+AgsApplicationContext*
+ags_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config)
+{
+ AgsApplicationContext *application_context;
+
+ application_context = (AgsApplicationContext *) g_object_new(AGS_TYPE_APPLICATION_CONTEXT,
+ "main-loop\0", main_loop,
+ "config\0", config,
+ NULL);
+
+ return(application_context);
+}
+
+
diff --git a/src/ags/object/ags_application_context.h b/src/ags/object/ags_application_context.h
new file mode 100644
index 0000000..f25fc75
--- /dev/null
+++ b/src/ags/object/ags_application_context.h
@@ -0,0 +1,104 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_APPLICATION_CONTEXT_H__
+#define __AGS_APPLICATION_CONTEXT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/lib/ags_log.h>
+
+#include <ags/object/ags_main_loop.h>
+
+#include <ags/file/ags_file.h>
+
+#define AGS_TYPE_APPLICATION_CONTEXT (ags_application_context_get_type())
+#define AGS_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLICATION_CONTEXT, AgsApplicationContext))
+#define AGS_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_APPLICATION_CONTEXT, AgsApplicationContextClass))
+#define AGS_IS_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_APPLICATION_CONTEXT))
+#define AGS_IS_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_APPLICATION_CONTEXT))
+#define AGS_APPLICATION_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_APPLICATION_CONTEXT, AgsApplicationContextClass))
+
+#define AGS_VERSION "0.4.3\0"
+#define AGS_BUILD_ID "Thu Apr 2 13:04:21 GMT 2015\0"
+
+#define AGS_DEFAULT_DIRECTORY ".gsequencer\0"
+#define AGS_DEFAULT_CONFIG "ags.conf\0"
+
+typedef struct _AgsApplicationContext AgsApplicationContext;
+typedef struct _AgsApplicationContextClass AgsApplicationContextClass;
+
+typedef enum{
+ AGS_APPLICATION_CONTEXT_DEFAULT = 1,
+ AGS_APPLICATION_CONTEXT_REGISTER_TYPES = 1 << 1,
+ AGS_APPLICATION_CONTEXT_ADD_TO_REGISTRY = 1 << 2,
+ AGS_APPLICATION_CONTEXT_CONNECT = 1 << 3,
+ AGS_APPLICATION_CONTEXT_TYPES_REGISTERED = 1 << 4,
+ AGS_APPLICATION_CONTEXT_READY = 1 << 5,
+ AGS_APPLICATION_CONTEXT_CONNECTED = 1 << 6,
+}AgsApplicationContextFlags;
+
+struct _AgsApplicationContext
+{
+ GObject object;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+ AgsLog *log;
+
+ GList *sibling;
+
+ GList *domain;
+ AgsConfig *config;
+
+ pthread_mutex_t mutex;
+ AgsMainLoop *main_loop;
+
+ AgsFile *file;
+};
+
+struct _AgsApplicationContextClass
+{
+ GObjectClass object;
+
+ void (*load_config)(AgsApplicationContext *application_context);
+
+ void (*register_types)(AgsApplicationContext *application_context);
+};
+
+GType ags_application_context_get_type();
+
+void ags_application_context_load_config(AgsApplicationContext *application_context);
+
+void ags_application_context_add_sibling(AgsApplicationContext *application_context,
+ AgsApplicationContext *sibling);
+void ags_application_context_remove_sibling(AgsApplicationContext *application_context,
+ AgsApplicationContext *sibling);
+
+AgsApplicationContext* ags_application_context_find_default(GList *application_context);
+GList* ags_application_context_find_main_loop(GList *application_context);
+
+AgsApplicationContext* ags_application_context_get_instance();
+AgsApplicationContext* ags_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config);
+
+#endif /*__AGS_APPLICATION_CONTEXT_H__*/
diff --git a/src/ags/object/ags_countable.c b/src/ags/object/ags_countable.c
new file mode 100644
index 0000000..42c5722
--- /dev/null
+++ b/src/ags/object/ags_countable.c
@@ -0,0 +1,71 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_countable.h>
+
+#include <stdio.h>
+
+void ags_countable_base_init(AgsCountableInterface *interface);
+
+GType
+ags_countable_get_type()
+{
+ static GType ags_type_countable = 0;
+
+ if(!ags_type_countable){
+ static const GTypeInfo ags_countable_info = {
+ sizeof(AgsCountableInterface),
+ (GBaseInitFunc) ags_countable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_countable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsCountable\0", &ags_countable_info,
+ 0);
+ }
+
+ return(ags_type_countable);
+}
+
+void
+ags_countable_base_init(AgsCountableInterface *interface)
+{
+ /* empty */
+}
+
+guint
+ags_countable_get_notation_counter(AgsCountable *countable)
+{
+ AgsCountableInterface *countable_interface;
+
+ g_return_val_if_fail(AGS_IS_COUNTABLE(countable), -1);
+ countable_interface = AGS_COUNTABLE_GET_INTERFACE(countable);
+ g_return_val_if_fail(countable_interface->get_notation_counter, -1);
+ countable_interface->get_notation_counter(countable);
+}
+
+guint
+ags_countable_get_sequencer_counter(AgsCountable *countable)
+{
+ AgsCountableInterface *countable_interface;
+
+ g_return_val_if_fail(AGS_IS_COUNTABLE(countable), -1);
+ countable_interface = AGS_COUNTABLE_GET_INTERFACE(countable);
+ g_return_val_if_fail(countable_interface->get_sequencer_counter, -1);
+ countable_interface->get_sequencer_counter(countable);
+}
diff --git a/src/ags/object/ags_countable.h b/src/ags/object/ags_countable.h
new file mode 100644
index 0000000..849e8d2
--- /dev/null
+++ b/src/ags/object/ags_countable.h
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_COUNTABLE_H__
+#define __AGS_COUNTABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_COUNTABLE (ags_countable_get_type())
+#define AGS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_COUNTABLE, AgsCountable))
+#define AGS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_COUNTABLE, AgsCountableInterface))
+#define AGS_IS_COUNTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_COUNTABLE))
+#define AGS_IS_COUNTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_COUNTABLE))
+#define AGS_COUNTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_COUNTABLE, AgsCountableInterface))
+
+typedef void AgsCountable;
+typedef struct _AgsCountableInterface AgsCountableInterface;
+
+struct _AgsCountableInterface
+{
+ GTypeInterface interface;
+
+ guint (*get_notation_counter)(AgsCountable *countable);
+ guint (*get_sequencer_counter)(AgsCountable *countable);
+};
+
+GType ags_countable_get_type();
+
+guint ags_countable_get_notation_counter(AgsCountable *countable);
+guint ags_countable_get_sequencer_counter(AgsCountable *countable);
+
+#endif /*__AGS_COUNTABLE_H__*/
diff --git a/src/ags/object/ags_dynamic_connectable.c b/src/ags/object/ags_dynamic_connectable.c
new file mode 100644
index 0000000..3f14c91
--- /dev/null
+++ b/src/ags/object/ags_dynamic_connectable.c
@@ -0,0 +1,91 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_dynamic_connectable.h>
+
+void ags_dynamic_connectable_base_init(AgsDynamicConnectableInterface *interface);
+
+/**
+ * SECTION:ags_dynamic_connectable
+ * @short_description: unique access to recalls
+ * @title: AgsDynamicConnectable
+ * @section_id:
+ * @include: ags/object/ags_dynamic_connectable.h
+ *
+ * The #AgsDynamicConnectable interface gives you a unique access to recalls.
+ */
+
+GType
+ags_dynamic_connectable_get_type()
+{
+ static GType ags_type_dynamic_connectable = 0;
+
+ if(!ags_type_dynamic_connectable){
+ static const GTypeInfo ags_dynamic_connectable_info = {
+ sizeof(AgsDynamicConnectableInterface),
+ (GBaseInitFunc) ags_dynamic_connectable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_dynamic_connectable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsDynamicConnectable\0", &ags_dynamic_connectable_info,
+ 0);
+ }
+
+ return(ags_type_dynamic_connectable);
+}
+
+void
+ags_dynamic_connectable_base_init(AgsDynamicConnectableInterface *interface)
+{
+ /* empty */
+}
+
+/**
+ * ags_dynamic_connectable_connect_dynamic:
+ * @connectable: an #AgsDynamicConnectable
+ *
+ * Connect dynamic.
+ */
+void
+ags_dynamic_connectable_connect_dynamic(AgsDynamicConnectable *connectable)
+{
+ AgsDynamicConnectableInterface *connectable_interface;
+
+ g_return_if_fail(AGS_IS_DYNAMIC_CONNECTABLE(connectable));
+ connectable_interface = AGS_DYNAMIC_CONNECTABLE_GET_INTERFACE(connectable);
+ g_return_if_fail(connectable_interface->connect_dynamic);
+ connectable_interface->connect_dynamic(connectable);
+}
+
+/**
+ * ags_dynamic_connectable_disconnect_dynamic:
+ * @connectable: an #AgsDynamicConnectable
+ *
+ * Disconnect dynamic.
+ */
+void
+ags_dynamic_connectable_disconnect_dynamic(AgsDynamicConnectable *connectable)
+{
+ AgsDynamicConnectableInterface *connectable_interface;
+
+ g_return_if_fail(AGS_IS_DYNAMIC_CONNECTABLE(connectable));
+ connectable_interface = AGS_DYNAMIC_CONNECTABLE_GET_INTERFACE(connectable);
+ g_return_if_fail(connectable_interface->disconnect_dynamic);
+ connectable_interface->disconnect_dynamic(connectable);
+}
diff --git a/src/ags/object/ags_dynamic_connectable.h b/src/ags/object/ags_dynamic_connectable.h
new file mode 100644
index 0000000..3a2842d
--- /dev/null
+++ b/src/ags/object/ags_dynamic_connectable.h
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DYNAMIC_CONNECTABLE_H__
+#define __AGS_DYNAMIC_CONNECTABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_DYNAMIC_CONNECTABLE (ags_dynamic_connectable_get_type())
+#define AGS_DYNAMIC_CONNECTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DYNAMIC_CONNECTABLE, AgsDynamicConnectable))
+#define AGS_DYNAMIC_CONNECTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_DYNAMIC_CONNECTABLE, AgsDynamicConnectableInterface))
+#define AGS_IS_DYNAMIC_CONNECTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DYNAMIC_CONNECTABLE))
+#define AGS_IS_DYNAMIC_CONNECTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_DYNAMIC_CONNECTABLE))
+#define AGS_DYNAMIC_CONNECTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_DYNAMIC_CONNECTABLE, AgsDynamicConnectableInterface))
+
+typedef void AgsDynamicConnectable;
+typedef struct _AgsDynamicConnectableInterface AgsDynamicConnectableInterface;
+
+struct _AgsDynamicConnectableInterface
+{
+ GTypeInterface interface;
+
+ void (*connect_dynamic)(AgsDynamicConnectable *connectable);
+ void (*disconnect_dynamic)(AgsDynamicConnectable *connectable);
+};
+
+GType ags_dynamic_connectable_get_type();
+
+void ags_dynamic_connectable_connect(AgsDynamicConnectable *connectable);
+void ags_dynamic_connectable_disconnect(AgsDynamicConnectable *connectable);
+
+#endif /*__AGS_DYNAMIC_CONNECTABLE_H__*/
diff --git a/src/ags/object/ags_effect.c b/src/ags/object/ags_effect.c
new file mode 100644
index 0000000..377ce39
--- /dev/null
+++ b/src/ags/object/ags_effect.c
@@ -0,0 +1,31 @@
+#include <ags/object/ags_effect.h>
+
+#include <stdio.h>
+
+void ags_effect_base_init(AgsEffectInterface *interface);
+
+GType
+ags_effect_get_type()
+{
+ static GType ags_type_effect = 0;
+
+ if(!ags_type_effect){
+ static const GTypeInfo ags_effect_info = {
+ sizeof(AgsEffectInterface),
+ (GBaseInitFunc) ags_effect_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_effect = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsEffect\0", &ags_effect_info,
+ 0);
+ }
+
+ return(ags_type_effect);
+}
+
+void
+ags_effect_base_init(AgsEffectInterface *interface)
+{
+ /* empty */
+}
diff --git a/src/ags/object/ags_effect.h b/src/ags/object/ags_effect.h
new file mode 100644
index 0000000..0d805a1
--- /dev/null
+++ b/src/ags/object/ags_effect.h
@@ -0,0 +1,43 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EFFECT_H__
+#define __AGS_EFFECT_H__
+
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_EFFECT (ags_effect_get_type())
+#define AGS_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EFFECT, AgsEffect))
+#define AGS_EFFECT_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_EFFECT, AgsEffectInterface))
+#define AGS_IS_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EFFECT))
+#define AGS_IS_EFFECT_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_EFFECT))
+#define AGS_EFFECT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_EFFECT, AgsEffectInterface))
+
+typedef void AgsEffect;
+typedef struct _AgsEffectInterface AgsEffectInterface;
+
+struct _AgsEffectInterface
+{
+ GTypeInterface interface;
+};
+
+GType ags_effect_get_type();
+
+#endif /*__AGS_EFFECT_H__*/
diff --git a/src/ags/object/ags_main_loop.c b/src/ags/object/ags_main_loop.c
new file mode 100644
index 0000000..7dd53c9
--- /dev/null
+++ b/src/ags/object/ags_main_loop.c
@@ -0,0 +1,156 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_main_loop.h>
+
+#include <stdio.h>
+
+void ags_main_loop_base_init(AgsMainLoopInterface *interface);
+
+/**
+ * SECTION:ags_main_loop
+ * @short_description: toplevel threads
+ * @title: AgsMainLoop
+ * @section_id:
+ * @include: ags/object/ags_main_loop.h
+ *
+ * The #AgsMainLoop interface gives you a unique access to toplevel
+ * threads.
+ */
+
+GType
+ags_main_loop_get_type()
+{
+ static GType ags_type_main_loop = 0;
+
+ if(!ags_type_main_loop){
+ static const GTypeInfo ags_main_loop_info = {
+ sizeof(AgsMainLoopInterface),
+ (GBaseInitFunc) ags_main_loop_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_main_loop = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsMainLoop\0", &ags_main_loop_info,
+ 0);
+ }
+
+ return(ags_type_main_loop);
+}
+
+void
+ags_main_loop_base_init(AgsMainLoopInterface *interface)
+{
+ /* empty */
+}
+
+void
+ags_main_loop_set_async_queue(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue)
+{
+ AgsMainLoopInterface *main_loop_interface;
+
+ g_return_if_fail(AGS_IS_MAIN_LOOP(main_loop));
+ main_loop_interface = AGS_MAIN_LOOP_GET_INTERFACE(main_loop);
+ g_return_if_fail(main_loop_interface->set_async_queue);
+ main_loop_interface->set_async_queue(main_loop, async_queue);
+}
+
+AgsAsyncQueue*
+ags_main_loop_get_async_queue(AgsMainLoop *main_loop)
+{
+ AgsMainLoopInterface *main_loop_interface;
+
+ g_return_val_if_fail(AGS_IS_MAIN_LOOP(main_loop), NULL);
+ main_loop_interface = AGS_MAIN_LOOP_GET_INTERFACE(main_loop);
+ g_return_val_if_fail(main_loop_interface->get_async_queue, NULL);
+ main_loop_interface->get_async_queue(main_loop);
+}
+
+/**
+ * ags_main_loop_set_tic:
+ * @main_loop: the #AgsMainLoop
+ * @tic: tic
+ *
+ * Sets tic to @tic.
+ */
+void
+ags_main_loop_set_tic(AgsMainLoop *main_loop, guint tic)
+{
+ AgsMainLoopInterface *main_loop_interface;
+
+ g_return_if_fail(AGS_IS_MAIN_LOOP(main_loop));
+ main_loop_interface = AGS_MAIN_LOOP_GET_INTERFACE(main_loop);
+ g_return_if_fail(main_loop_interface->set_tic);
+ main_loop_interface->set_tic(main_loop, tic);
+}
+
+/**
+ * ags_main_loop_get_tic:
+ * @main_loop: the #AgsMainLoop
+ *
+ * Retrieve tic.
+ *
+ * Returns: tic
+ */
+guint
+ags_main_loop_get_tic(AgsMainLoop *main_loop)
+{
+ AgsMainLoopInterface *main_loop_interface;
+
+ g_return_val_if_fail(AGS_IS_MAIN_LOOP(main_loop), G_MAXUINT);
+ main_loop_interface = AGS_MAIN_LOOP_GET_INTERFACE(main_loop);
+ g_return_val_if_fail(main_loop_interface->get_tic, G_MAXUINT);
+ main_loop_interface->get_tic(main_loop);
+}
+
+/**
+ * ags_main_loop_set_last_sync:
+ * @main_loop: the #AgsMainLoop
+ * @last_sync: last sync
+ *
+ * Sets last sync to @last_sync.
+ */
+void
+ags_main_loop_set_last_sync(AgsMainLoop *main_loop, guint last_sync)
+{
+ AgsMainLoopInterface *main_loop_interface;
+
+ g_return_if_fail(AGS_IS_MAIN_LOOP(main_loop));
+ main_loop_interface = AGS_MAIN_LOOP_GET_INTERFACE(main_loop);
+ g_return_if_fail(main_loop_interface->set_last_sync);
+ main_loop_interface->set_last_sync(main_loop, last_sync);
+}
+
+/**
+ * ags_main_loop_get_last_sync:
+ * @main_loop: the #AgsMainLoop
+ *
+ * Retrieve last sync.
+ *
+ * Returns: last sync
+ */
+guint
+ags_main_loop_get_last_sync(AgsMainLoop *main_loop)
+{
+ AgsMainLoopInterface *main_loop_interface;
+
+ g_return_val_if_fail(AGS_IS_MAIN_LOOP(main_loop), G_MAXUINT);
+ main_loop_interface = AGS_MAIN_LOOP_GET_INTERFACE(main_loop);
+ g_return_val_if_fail(main_loop_interface->get_last_sync, G_MAXUINT);
+ main_loop_interface->get_last_sync(main_loop);
+}
diff --git a/src/ags/object/ags_main_loop.h b/src/ags/object/ags_main_loop.h
new file mode 100644
index 0000000..37307f2
--- /dev/null
+++ b/src/ags/object/ags_main_loop.h
@@ -0,0 +1,61 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MAIN_LOOP_H__
+#define __AGS_MAIN_LOOP_H__
+
+#include <glib-object.h>
+
+#include <ags/thread/ags_async_queue.h>
+
+#define AGS_TYPE_MAIN_LOOP (ags_main_loop_get_type())
+#define AGS_MAIN_LOOP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MAIN_LOOP, AgsMainLoop))
+#define AGS_MAIN_LOOP_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_MAIN_LOOP, AgsMainLoopInterface))
+#define AGS_IS_MAIN_LOOP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MAIN_LOOP))
+#define AGS_IS_MAIN_LOOP_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_MAIN_LOOP))
+#define AGS_MAIN_LOOP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_MAIN_LOOP, AgsMainLoopInterface))
+
+typedef void AgsMainLoop;
+typedef struct _AgsMainLoopInterface AgsMainLoopInterface;
+
+struct _AgsMainLoopInterface
+{
+ GTypeInterface interface;
+
+ void (*set_async_queue)(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue);
+ AgsAsyncQueue* (*get_async_queue)(AgsMainLoop *main_loop);
+
+ void (*set_tic)(AgsMainLoop *main_loop, guint tic);
+ guint (*get_tic)(AgsMainLoop *main_loop);
+
+ void (*set_last_sync)(AgsMainLoop *main_loop, guint last_sync);
+ guint (*get_last_sync)(AgsMainLoop *main_loop);
+};
+
+GType ags_main_loop_get_type();
+
+void ags_main_loop_set_async_queue(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue);
+AgsAsyncQueue* ags_main_loop_get_async_queue(AgsMainLoop *main_loop);
+
+void ags_main_loop_set_tic(AgsMainLoop *main_loop, guint tic);
+guint ags_main_loop_get_tic(AgsMainLoop *main_loop);
+
+void ags_main_loop_set_last_sync(AgsMainLoop *main_loop, guint last_sync);
+guint ags_main_loop_get_last_sync(AgsMainLoop *main_loop);
+
+#endif /*__AGS_MAIN_LOOP_H__*/
diff --git a/src/ags/object/ags_marshal.c b/src/ags/object/ags_marshal.c
new file mode 100644
index 0000000..edb6df8
--- /dev/null
+++ b/src/ags/object/ags_marshal.c
@@ -0,0 +1,1054 @@
+
+#include <glib-object.h>
+
+
+#ifdef G_ENABLE_DEBUG
+#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
+#define g_marshal_value_peek_char(v) g_value_get_schar (v)
+#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
+#define g_marshal_value_peek_int(v) g_value_get_int (v)
+#define g_marshal_value_peek_uint(v) g_value_get_uint (v)
+#define g_marshal_value_peek_long(v) g_value_get_long (v)
+#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
+#define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
+#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
+#define g_marshal_value_peek_enum(v) g_value_get_enum (v)
+#define g_marshal_value_peek_flags(v) g_value_get_flags (v)
+#define g_marshal_value_peek_float(v) g_value_get_float (v)
+#define g_marshal_value_peek_double(v) g_value_get_double (v)
+#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
+#define g_marshal_value_peek_param(v) g_value_get_param (v)
+#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
+#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
+#define g_marshal_value_peek_object(v) g_value_get_object (v)
+#define g_marshal_value_peek_variant(v) g_value_get_variant (v)
+#else /* !G_ENABLE_DEBUG */
+/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
+ * Do not access GValues directly in your code. Instead, use the
+ * g_value_get_*() functions
+ */
+#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
+#define g_marshal_value_peek_char(v) (v)->data[0].v_int
+#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
+#define g_marshal_value_peek_int(v) (v)->data[0].v_int
+#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
+#define g_marshal_value_peek_long(v) (v)->data[0].v_long
+#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
+#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
+#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
+#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
+#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
+#define g_marshal_value_peek_float(v) (v)->data[0].v_float
+#define g_marshal_value_peek_double(v) (v)->data[0].v_double
+#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
+#endif /* !G_ENABLE_DEBUG */
+
+
+/* ULONG:VOID (ags_marshallers.list:1) */
+void
+g_cclosure_user_marshal_ULONG__VOID (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef gulong (*GMarshalFunc_ULONG__VOID) (gpointer data1,
+ gpointer data2);
+ register GMarshalFunc_ULONG__VOID callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ gulong v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 1);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_ULONG__VOID) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ data2);
+
+ g_value_set_ulong (return_value, v_return);
+}
+
+/* VOID:UINT,UINT (ags_marshallers.list:2) */
+void
+g_cclosure_user_marshal_VOID__UINT_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__UINT_UINT) (gpointer data1,
+ guint arg_1,
+ guint arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__UINT_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__UINT_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_uint (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ data2);
+}
+
+/* VOID:UINT,UINT,UINT (ags_marshallers.list:3) */
+void
+g_cclosure_user_marshal_VOID__UINT_UINT_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__UINT_UINT_UINT) (gpointer data1,
+ guint arg_1,
+ guint arg_2,
+ guint arg_3,
+ gpointer data2);
+ register GMarshalFunc_VOID__UINT_UINT_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 4);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__UINT_UINT_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_uint (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ g_marshal_value_peek_uint (param_values + 3),
+ data2);
+}
+
+/* VOID:UINT,DOUBLE,UINT (ags_marshallers.list:4) */
+void
+g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__UINT_DOUBLE_UINT) (gpointer data1,
+ guint arg_1,
+ gdouble arg_2,
+ guint arg_3,
+ gpointer data2);
+ register GMarshalFunc_VOID__UINT_DOUBLE_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 4);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__UINT_DOUBLE_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_uint (param_values + 1),
+ g_marshal_value_peek_double (param_values + 2),
+ g_marshal_value_peek_uint (param_values + 3),
+ data2);
+}
+
+/* VOID:UINT,INT (ags_marshallers.list:5) */
+void
+g_cclosure_user_marshal_VOID__UINT_INT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__UINT_INT) (gpointer data1,
+ guint arg_1,
+ gint arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__UINT_INT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__UINT_INT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_uint (param_values + 1),
+ g_marshal_value_peek_int (param_values + 2),
+ data2);
+}
+
+/* VOID:UINT,DOUBLE (ags_marshallers.list:6) */
+void
+g_cclosure_user_marshal_VOID__UINT_DOUBLE (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__UINT_DOUBLE) (gpointer data1,
+ guint arg_1,
+ gdouble arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__UINT_DOUBLE callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__UINT_DOUBLE) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_uint (param_values + 1),
+ g_marshal_value_peek_double (param_values + 2),
+ data2);
+}
+
+/* VOID:ULONG,UINT (ags_marshallers.list:7) */
+void
+g_cclosure_user_marshal_VOID__ULONG_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__ULONG_UINT) (gpointer data1,
+ gulong arg_1,
+ guint arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__ULONG_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__ULONG_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_ulong (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ data2);
+}
+
+/* VOID:ULONG,UINT,BOOLEAN (ags_marshallers.list:8) */
+void
+g_cclosure_user_marshal_VOID__ULONG_UINT_BOOLEAN (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__ULONG_UINT_BOOLEAN) (gpointer data1,
+ gulong arg_1,
+ guint arg_2,
+ gboolean arg_3,
+ gpointer data2);
+ register GMarshalFunc_VOID__ULONG_UINT_BOOLEAN callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 4);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__ULONG_UINT_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_ulong (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ g_marshal_value_peek_boolean (param_values + 3),
+ data2);
+}
+
+/* VOID:DOUBLE,DOUBLE (ags_marshallers.list:9) */
+void
+g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__DOUBLE_DOUBLE) (gpointer data1,
+ gdouble arg_1,
+ gdouble arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__DOUBLE_DOUBLE callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__DOUBLE_DOUBLE) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_double (param_values + 1),
+ g_marshal_value_peek_double (param_values + 2),
+ data2);
+}
+
+/* VOID:ULONG,UINT,UINT (ags_marshallers.list:10) */
+void
+g_cclosure_user_marshal_VOID__ULONG_UINT_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__ULONG_UINT_UINT) (gpointer data1,
+ gulong arg_1,
+ guint arg_2,
+ guint arg_3,
+ gpointer data2);
+ register GMarshalFunc_VOID__ULONG_UINT_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 4);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__ULONG_UINT_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_ulong (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ g_marshal_value_peek_uint (param_values + 3),
+ data2);
+}
+
+/* VOID:STRING,UINT (ags_marshallers.list:11) */
+void
+g_cclosure_user_marshal_VOID__STRING_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__STRING_UINT) (gpointer data1,
+ gpointer arg_1,
+ guint arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__STRING_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__STRING_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_string (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ data2);
+}
+
+/* VOID:STRING,POINTER (ags_marshallers.list:12) */
+void
+g_cclosure_user_marshal_VOID__STRING_POINTER (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__STRING_POINTER) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__STRING_POINTER callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_string (param_values + 1),
+ g_marshal_value_peek_pointer (param_values + 2),
+ data2);
+}
+
+/* VOID:OBJECT,UINT (ags_marshallers.list:13) */
+void
+g_cclosure_user_marshal_VOID__OBJECT_UINT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__OBJECT_UINT) (gpointer data1,
+ gpointer arg_1,
+ guint arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__OBJECT_UINT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__OBJECT_UINT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_uint (param_values + 2),
+ data2);
+}
+
+/* VOID:OBJECT,OBJECT (ags_marshallers.list:14) */
+void
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer data2);
+ register GMarshalFunc_VOID__OBJECT_OBJECT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_object (param_values + 2),
+ data2);
+}
+
+/* VOID:OBJECT,OBJECT,OBJECT,INT,BOOLEAN (ags_marshallers.list:15) */
+void
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer arg_3,
+ gint arg_4,
+ gboolean arg_5,
+ gpointer data2);
+ register GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 6);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_object (param_values + 2),
+ g_marshal_value_peek_object (param_values + 3),
+ g_marshal_value_peek_int (param_values + 4),
+ g_marshal_value_peek_boolean (param_values + 5),
+ data2);
+}
+
+/* VOID:OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,UINT,INT,BOOLEAN (ags_marshallers.list:16) */
+void
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer arg_3,
+ gpointer arg_4,
+ gpointer arg_5,
+ gpointer arg_6,
+ guint arg_7,
+ gint arg_8,
+ gboolean arg_9,
+ gpointer data2);
+ register GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 10);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_object (param_values + 2),
+ g_marshal_value_peek_object (param_values + 3),
+ g_marshal_value_peek_object (param_values + 4),
+ g_marshal_value_peek_object (param_values + 5),
+ g_marshal_value_peek_object (param_values + 6),
+ g_marshal_value_peek_uint (param_values + 7),
+ g_marshal_value_peek_int (param_values + 8),
+ g_marshal_value_peek_boolean (param_values + 9),
+ data2);
+}
+
+/* VOID:OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT (ags_marshallers.list:17) */
+void
+g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer arg_3,
+ gpointer arg_4,
+ gpointer arg_5,
+ gpointer arg_6,
+ gpointer arg_7,
+ gpointer arg_8,
+ gpointer data2);
+ register GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+
+ g_return_if_fail (n_param_values == 9);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
+
+ callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_object (param_values + 2),
+ g_marshal_value_peek_object (param_values + 3),
+ g_marshal_value_peek_object (param_values + 4),
+ g_marshal_value_peek_object (param_values + 5),
+ g_marshal_value_peek_object (param_values + 6),
+ g_marshal_value_peek_object (param_values + 7),
+ g_marshal_value_peek_object (param_values + 8),
+ data2);
+}
+
+/* BOOLEAN:OBJECT,OBJECT (ags_marshallers.list:18) */
+void
+g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef gboolean (*GMarshalFunc_BOOLEAN__OBJECT_OBJECT) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer data2);
+ register GMarshalFunc_BOOLEAN__OBJECT_OBJECT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ gboolean v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_BOOLEAN__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_object (param_values + 2),
+ data2);
+
+ g_value_set_boolean (return_value, v_return);
+}
+
+/* STRING:ULONG,STRING,STRING,STRING,STRING,UINT,POINTER (ags_marshallers.list:19) */
+void
+g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef gchar* (*GMarshalFunc_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER) (gpointer data1,
+ gulong arg_1,
+ gpointer arg_2,
+ gpointer arg_3,
+ gpointer arg_4,
+ gpointer arg_5,
+ guint arg_6,
+ gpointer arg_7,
+ gpointer data2);
+ register GMarshalFunc_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ gchar* v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 8);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_ulong (param_values + 1),
+ g_marshal_value_peek_string (param_values + 2),
+ g_marshal_value_peek_string (param_values + 3),
+ g_marshal_value_peek_string (param_values + 4),
+ g_marshal_value_peek_string (param_values + 5),
+ g_marshal_value_peek_uint (param_values + 6),
+ g_marshal_value_peek_pointer (param_values + 7),
+ data2);
+
+ g_value_take_string (return_value, v_return);
+}
+
+/* POINTER:VOID (ags_marshallers.list:20) */
+void
+g_cclosure_user_marshal_POINTER__VOID (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef gpointer (*GMarshalFunc_POINTER__VOID) (gpointer data1,
+ gpointer data2);
+ register GMarshalFunc_POINTER__VOID callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ gpointer v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 1);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_POINTER__VOID) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ data2);
+
+ g_value_set_pointer (return_value, v_return);
+}
+
+/* POINTER:STRING,STRING (ags_marshallers.list:21) */
+void
+g_cclosure_user_marshal_POINTER__STRING_STRING (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef gpointer (*GMarshalFunc_POINTER__STRING_STRING) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer data2);
+ register GMarshalFunc_POINTER__STRING_STRING callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ gpointer v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_POINTER__STRING_STRING) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_string (param_values + 1),
+ g_marshal_value_peek_string (param_values + 2),
+ data2);
+
+ g_value_set_pointer (return_value, v_return);
+}
+
+/* OBJECT:VOID (ags_marshallers.list:22) */
+void
+g_cclosure_user_marshal_OBJECT__VOID (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef GObject* (*GMarshalFunc_OBJECT__VOID) (gpointer data1,
+ gpointer data2);
+ register GMarshalFunc_OBJECT__VOID callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ GObject* v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 1);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_OBJECT__VOID) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ data2);
+
+ g_value_take_object (return_value, v_return);
+}
+
+/* OBJECT:STRING,STRING,STRING (ags_marshallers.list:23) */
+void
+g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef GObject* (*GMarshalFunc_OBJECT__STRING_STRING_STRING) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer arg_3,
+ gpointer data2);
+ register GMarshalFunc_OBJECT__STRING_STRING_STRING callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ GObject* v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 4);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_OBJECT__STRING_STRING_STRING) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_string (param_values + 1),
+ g_marshal_value_peek_string (param_values + 2),
+ g_marshal_value_peek_string (param_values + 3),
+ data2);
+
+ g_value_take_object (return_value, v_return);
+}
+
+/* OBJECT:OBJECT,POINTER,POINTER (ags_marshallers.list:24) */
+void
+g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef GObject* (*GMarshalFunc_OBJECT__OBJECT_POINTER_POINTER) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer arg_3,
+ gpointer data2);
+ register GMarshalFunc_OBJECT__OBJECT_POINTER_POINTER callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ GObject* v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 4);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_OBJECT__OBJECT_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_pointer (param_values + 2),
+ g_marshal_value_peek_pointer (param_values + 3),
+ data2);
+
+ g_value_take_object (return_value, v_return);
+}
+
+/* OBJECT:OBJECT,OBJECT (ags_marshallers.list:25) */
+void
+g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value G_GNUC_UNUSED,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint G_GNUC_UNUSED,
+ gpointer marshal_data)
+{
+ typedef GObject* (*GMarshalFunc_OBJECT__OBJECT_OBJECT) (gpointer data1,
+ gpointer arg_1,
+ gpointer arg_2,
+ gpointer data2);
+ register GMarshalFunc_OBJECT__OBJECT_OBJECT callback;
+ register GCClosure *cc = (GCClosure*) closure;
+ register gpointer data1, data2;
+ GObject* v_return;
+
+ g_return_if_fail (return_value != NULL);
+ g_return_if_fail (n_param_values == 3);
+
+ if (G_CCLOSURE_SWAP_DATA (closure))
+ {
+ data1 = closure->data;
+ data2 = g_value_peek_pointer (param_values + 0);
+ }
+ else
+ {
+ data1 = g_value_peek_pointer (param_values + 0);
+ data2 = closure->data;
+ }
+ callback = (GMarshalFunc_OBJECT__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
+
+ v_return = callback (data1,
+ g_marshal_value_peek_object (param_values + 1),
+ g_marshal_value_peek_object (param_values + 2),
+ data2);
+
+ g_value_take_object (return_value, v_return);
+}
+
diff --git a/src/ags/object/ags_marshal.h b/src/ags/object/ags_marshal.h
new file mode 100644
index 0000000..a170975
--- /dev/null
+++ b/src/ags/object/ags_marshal.h
@@ -0,0 +1,212 @@
+
+#ifndef __g_cclosure_user_marshal_MARSHAL_H__
+#define __g_cclosure_user_marshal_MARSHAL_H__
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+/* ULONG:VOID (ags_marshallers.list:1) */
+extern void g_cclosure_user_marshal_ULONG__VOID (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:UINT,UINT (ags_marshallers.list:2) */
+extern void g_cclosure_user_marshal_VOID__UINT_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:UINT,UINT,UINT (ags_marshallers.list:3) */
+extern void g_cclosure_user_marshal_VOID__UINT_UINT_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:UINT,DOUBLE,UINT (ags_marshallers.list:4) */
+extern void g_cclosure_user_marshal_VOID__UINT_DOUBLE_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:UINT,INT (ags_marshallers.list:5) */
+extern void g_cclosure_user_marshal_VOID__UINT_INT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:UINT,DOUBLE (ags_marshallers.list:6) */
+extern void g_cclosure_user_marshal_VOID__UINT_DOUBLE (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:ULONG,UINT (ags_marshallers.list:7) */
+extern void g_cclosure_user_marshal_VOID__ULONG_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:ULONG,UINT,BOOLEAN (ags_marshallers.list:8) */
+extern void g_cclosure_user_marshal_VOID__ULONG_UINT_BOOLEAN (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:DOUBLE,DOUBLE (ags_marshallers.list:9) */
+extern void g_cclosure_user_marshal_VOID__DOUBLE_DOUBLE (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:ULONG,UINT,UINT (ags_marshallers.list:10) */
+extern void g_cclosure_user_marshal_VOID__ULONG_UINT_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:STRING,UINT (ags_marshallers.list:11) */
+extern void g_cclosure_user_marshal_VOID__STRING_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:STRING,POINTER (ags_marshallers.list:12) */
+extern void g_cclosure_user_marshal_VOID__STRING_POINTER (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:OBJECT,UINT (ags_marshallers.list:13) */
+extern void g_cclosure_user_marshal_VOID__OBJECT_UINT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:OBJECT,OBJECT (ags_marshallers.list:14) */
+extern void g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:OBJECT,OBJECT,OBJECT,INT,BOOLEAN (ags_marshallers.list:15) */
+extern void g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,UINT,INT,BOOLEAN (ags_marshallers.list:16) */
+extern void g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* VOID:OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT (ags_marshallers.list:17) */
+extern void g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* BOOLEAN:OBJECT,OBJECT (ags_marshallers.list:18) */
+extern void g_cclosure_user_marshal_BOOLEAN__OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* STRING:ULONG,STRING,STRING,STRING,STRING,UINT,POINTER (ags_marshallers.list:19) */
+extern void g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* POINTER:VOID (ags_marshallers.list:20) */
+extern void g_cclosure_user_marshal_POINTER__VOID (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* POINTER:STRING,STRING (ags_marshallers.list:21) */
+extern void g_cclosure_user_marshal_POINTER__STRING_STRING (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* OBJECT:VOID (ags_marshallers.list:22) */
+extern void g_cclosure_user_marshal_OBJECT__VOID (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* OBJECT:STRING,STRING,STRING (ags_marshallers.list:23) */
+extern void g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* OBJECT:OBJECT,POINTER,POINTER (ags_marshallers.list:24) */
+extern void g_cclosure_user_marshal_OBJECT__OBJECT_POINTER_POINTER (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+/* OBJECT:OBJECT,OBJECT (ags_marshallers.list:25) */
+extern void g_cclosure_user_marshal_OBJECT__OBJECT_OBJECT (GClosure *closure,
+ GValue *return_value,
+ guint n_param_values,
+ const GValue *param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
+
+G_END_DECLS
+
+#endif /* __g_cclosure_user_marshal_MARSHAL_H__ */
+
diff --git a/src/ags/object/ags_marshallers.list b/src/ags/object/ags_marshallers.list
new file mode 100644
index 0000000..f0e9539
--- /dev/null
+++ b/src/ags/object/ags_marshallers.list
@@ -0,0 +1,25 @@
+ULONG:VOID
+VOID:UINT,UINT
+VOID:UINT,UINT,UINT
+VOID:UINT,DOUBLE,UINT
+VOID:UINT,INT
+VOID:UINT,DOUBLE
+VOID:ULONG,UINT
+VOID:ULONG,UINT,BOOLEAN
+VOID:DOUBLE,DOUBLE
+VOID:ULONG,UINT,UINT
+VOID:STRING,UINT
+VOID:STRING,POINTER
+VOID:OBJECT,UINT
+VOID:OBJECT,OBJECT
+VOID:OBJECT,OBJECT,OBJECT,INT,BOOLEAN
+VOID:OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,UINT,INT,BOOLEAN
+VOID:OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT,OBJECT
+BOOLEAN:OBJECT,OBJECT
+STRING:ULONG,STRING,STRING,STRING,STRING,UINT,POINTER
+POINTER:VOID
+POINTER:STRING,STRING
+OBJECT:VOID
+OBJECT:STRING,STRING,STRING
+OBJECT:OBJECT,POINTER,POINTER
+OBJECT:OBJECT,OBJECT
diff --git a/src/ags/object/ags_mutable.c b/src/ags/object/ags_mutable.c
new file mode 100644
index 0000000..3bdd38a
--- /dev/null
+++ b/src/ags/object/ags_mutable.c
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_mutable.h>
+
+void ags_mutable_base_init(AgsMutableInterface *interface);
+
+GType
+ags_mutable_get_type()
+{
+ static GType ags_type_mutable = 0;
+
+ if(!ags_type_mutable){
+ static const GTypeInfo ags_mutable_info = {
+ sizeof(AgsMutableInterface),
+ (GBaseInitFunc) ags_mutable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_mutable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsMutable\0", &ags_mutable_info,
+ 0);
+ }
+
+ return(ags_type_mutable);
+}
+
+void
+ags_mutable_base_init(AgsMutableInterface *interface)
+{
+ /* empty */
+}
+
+void
+ags_mutable_set_muted(AgsMutable *mutable, gboolean muted)
+{
+ AgsMutableInterface *mutable_interface;
+
+ g_return_if_fail(AGS_IS_MUTABLE(mutable));
+ mutable_interface = AGS_MUTABLE_GET_INTERFACE(mutable);
+ g_return_if_fail(mutable_interface->set_muted);
+ mutable_interface->set_muted(mutable, muted);
+}
diff --git a/src/ags/object/ags_mutable.h b/src/ags/object/ags_mutable.h
new file mode 100644
index 0000000..71c5853
--- /dev/null
+++ b/src/ags/object/ags_mutable.h
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MUTABLE_H__
+#define __AGS_MUTABLE_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_MUTABLE (ags_mutable_get_type())
+#define AGS_MUTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MUTABLE, AgsMutable))
+#define AGS_MUTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_MUTABLE, AgsMutableInterface))
+#define AGS_IS_MUTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MUTABLE))
+#define AGS_IS_MUTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_MUTABLE))
+#define AGS_MUTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_MUTABLE, AgsMutableInterface))
+
+typedef void AgsMutable;
+typedef struct _AgsMutableInterface AgsMutableInterface;
+
+struct _AgsMutableInterface
+{
+ GTypeInterface interface;
+
+ void (*set_muted)(AgsMutable *mutable, gboolean muted);
+};
+
+GType ags_mutable_get_type();
+
+void ags_mutable_set_muted(AgsMutable *mutable, gboolean muted);
+
+#endif /*__AGS_MUTABLE_H__*/
diff --git a/src/ags/object/ags_packable.c b/src/ags/object/ags_packable.c
new file mode 100644
index 0000000..5838374
--- /dev/null
+++ b/src/ags/object/ags_packable.c
@@ -0,0 +1,98 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_packable.h>
+
+void ags_packable_base_init(AgsPackableInterface *interface);
+
+/**
+ * SECTION:ags_packable
+ * @short_description: packing recalls
+ * @title: AgsPackable
+ * @section_id:
+ * @include: ags/object/ags_packable.h
+ *
+ * The #AgsPackable interface gives you a unique access to recalls
+ * to be packed into a #AgsRecallContainer.
+ */
+
+GType
+ags_packable_get_type()
+{
+ static GType ags_type_packable = 0;
+
+ if(!ags_type_packable){
+ static const GTypeInfo ags_packable_info = {
+ sizeof(AgsPackableInterface),
+ (GBaseInitFunc) ags_packable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_packable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsPackable\0", &ags_packable_info,
+ 0);
+ }
+
+ return(ags_type_packable);
+}
+
+void
+ags_packable_base_init(AgsPackableInterface *interface)
+{
+ /* empty */
+}
+
+/**
+ * ags_packable_pack:
+ * @packable: the #AgsPackable
+ *
+ * Pack to container.
+ *
+ * Returns: %TRUE on success
+ */
+gboolean
+ags_packable_pack(AgsPackable *packable, GObject *container)
+{
+ AgsPackableInterface *packable_interface;
+
+ g_return_val_if_fail(AGS_IS_PACKABLE(packable), TRUE);
+ packable_interface = AGS_PACKABLE_GET_INTERFACE(packable);
+ g_return_val_if_fail(packable_interface->pack, TRUE);
+
+ return(packable_interface->pack(packable, container));
+}
+
+/**
+ * ags_packable_unpack:
+ * @packable: the #AgsPackable
+ *
+ * Unpack of container.
+ *
+ * Returns: %TRUE on success
+ */
+gboolean
+ags_packable_unpack(AgsPackable *packable)
+{
+ AgsPackableInterface *packable_interface;
+
+ g_return_val_if_fail(AGS_IS_PACKABLE(packable), TRUE);
+ packable_interface = AGS_PACKABLE_GET_INTERFACE(packable);
+ g_return_val_if_fail(packable_interface->unpack, TRUE);
+
+ return(packable_interface->unpack(packable));
+}
diff --git a/src/ags/object/ags_packable.h b/src/ags/object/ags_packable.h
new file mode 100644
index 0000000..4e82c6b
--- /dev/null
+++ b/src/ags/object/ags_packable.h
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PACKABLE_H__
+#define __AGS_PACKABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_PACKABLE (ags_packable_get_type())
+#define AGS_PACKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PACKABLE, AgsPackable))
+#define AGS_PACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PACKABLE, AgsPackableInterface))
+#define AGS_IS_PACKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PACKABLE))
+#define AGS_IS_PACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PACKABLE))
+#define AGS_PACKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PACKABLE, AgsPackableInterface))
+
+typedef void AgsPackable;
+typedef struct _AgsPackableInterface AgsPackableInterface;
+
+struct _AgsPackableInterface
+{
+ GTypeInterface interface;
+
+ gboolean (*pack)(AgsPackable *packable, GObject *container);
+ gboolean (*unpack)(AgsPackable *packable);
+};
+
+GType ags_packable_get_type();
+
+gboolean ags_packable_pack(AgsPackable *packable, GObject *container);
+gboolean ags_packable_unpack(AgsPackable *packable);
+
+#endif /*__AGS_PACKABLE_H__*/
diff --git a/src/ags/object/ags_persistable.c b/src/ags/object/ags_persistable.c
new file mode 100644
index 0000000..1998315
--- /dev/null
+++ b/src/ags/object/ags_persistable.c
@@ -0,0 +1,75 @@
+#include <ags/object/ags_persistable.h>
+
+#include <stdio.h>
+
+void ags_persistable_base_init(AgsPersistableInterface *interface);
+
+GType
+ags_persistable_get_type()
+{
+ static GType ags_type_persistable = 0;
+
+ if(!ags_type_persistable){
+ static const GTypeInfo ags_persistable_info = {
+ sizeof(AgsPersistableInterface),
+ (GBaseInitFunc) ags_persistable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_persistable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsPersistable\0", &ags_persistable_info,
+ 0);
+ }
+
+ return(ags_type_persistable);
+}
+
+void
+ags_persistable_base_init(AgsPersistableInterface *interface)
+{
+ /* empty */
+}
+
+AgsPersistable*
+ags_persistable_read(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node)
+{
+ AgsPersistableInterface *persistable_interface;
+
+ g_return_val_if_fail(AGS_IS_PERSISTABLE(persistable), NULL);
+ persistable_interface = AGS_PERSISTABLE_GET_INTERFACE(persistable);
+ g_return_val_if_fail(persistable_interface->read, NULL);
+ return(persistable_interface->read(persistable, doc, node));
+}
+
+void
+ags_persistable_read_link(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node)
+{
+ AgsPersistableInterface *persistable_interface;
+
+ g_return_if_fail(AGS_IS_PERSISTABLE(persistable));
+ persistable_interface = AGS_PERSISTABLE_GET_INTERFACE(persistable);
+ g_return_if_fail(persistable_interface->read_link);
+ persistable_interface->read_link(persistable, doc, node);
+}
+
+xmlNodePtr
+ags_persistable_write(AgsPersistable *persistable, xmlDocPtr doc)
+{
+ AgsPersistableInterface *persistable_interface;
+
+ g_return_val_if_fail(AGS_IS_PERSISTABLE(persistable), NULL);
+ persistable_interface = AGS_PERSISTABLE_GET_INTERFACE(persistable);
+ g_return_val_if_fail(persistable_interface->write, NULL);
+ return(persistable_interface->write(persistable, doc));
+}
+
+void
+ags_persistable_write_link(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node)
+{
+ AgsPersistableInterface *persistable_interface;
+
+ g_return_if_fail(AGS_IS_PERSISTABLE(persistable));
+ persistable_interface = AGS_PERSISTABLE_GET_INTERFACE(persistable);
+ g_return_if_fail(persistable_interface->write_link);
+ persistable_interface->write_link(persistable, doc, node);
+}
diff --git a/src/ags/object/ags_persistable.h b/src/ags/object/ags_persistable.h
new file mode 100644
index 0000000..a500cbe
--- /dev/null
+++ b/src/ags/object/ags_persistable.h
@@ -0,0 +1,55 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PERSISTABLE_H__
+#define __AGS_PERSISTABLE_H__
+
+#include <glib-object.h>
+
+#include <libxml/tree.h>
+
+#define AGS_TYPE_PERSISTABLE (ags_persistable_get_type())
+#define AGS_PERSISTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PERSISTABLE, AgsPersistable))
+#define AGS_PERSISTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PERSISTABLE, AgsPersistableInterface))
+#define AGS_IS_PERSISTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PERSISTABLE))
+#define AGS_IS_PERSISTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PERSISTABLE))
+#define AGS_PERSISTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PERSISTABLE, AgsPersistableInterface))
+
+typedef void AgsPersistable;
+typedef struct _AgsPersistableInterface AgsPersistableInterface;
+
+struct _AgsPersistableInterface
+{
+ GTypeInterface interface;
+
+ AgsPersistable* (*read)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+ void (*read_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+
+ xmlNodePtr (*write)(AgsPersistable *persistable, xmlDocPtr doc);
+ void (*write_link)(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+};
+
+GType ags_persistable_get_type();
+
+AgsPersistable* ags_persistable_read(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+void ags_persistable_read_link(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+
+xmlNodePtr ags_persistable_write(AgsPersistable *persistable, xmlDocPtr doc);
+void ags_persistable_write_link(AgsPersistable *persistable, xmlDocPtr doc, xmlNodePtr node);
+
+#endif /*__AGS_PERSISTABLE_H__*/
diff --git a/src/ags/object/ags_playable.c b/src/ags/object/ags_playable.c
new file mode 100644
index 0000000..b7e3079
--- /dev/null
+++ b/src/ags/object/ags_playable.c
@@ -0,0 +1,532 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_playable.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_config.h>
+
+#include <math.h>
+
+void ags_playable_base_init(AgsPlayableInterface *interface);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_playable
+ * @short_description: read/write audio
+ * @title: AgsPlayable
+ * @section_id:
+ * @include: ags/object/ags_playable.h
+ *
+ * The #AgsPlayable interface gives you a unique access to file related
+ * IO operations.
+ */
+
+GType
+ags_playable_get_type()
+{
+ static GType ags_type_playable = 0;
+
+ if(!ags_type_playable){
+ static const GTypeInfo ags_playable_info = {
+ sizeof(AgsPlayableInterface),
+ (GBaseInitFunc) ags_playable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_playable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsPlayable\0", &ags_playable_info,
+ 0);
+ }
+
+ return(ags_type_playable);
+}
+
+
+GQuark
+ags_playable_error_quark()
+{
+ return(g_quark_from_static_string("ags-playable-error-quark\0"));
+}
+
+void
+ags_playable_base_init(AgsPlayableInterface *interface)
+{
+ /* empty */
+}
+
+/**
+ * ags_playable_rw_open:
+ * @playable: the #AgsPlayable
+ * @name: the filename
+ * @create: if %TRUE file is created
+ * @samplerate: the samplerate of the file
+ * @channels: the count of audio channels
+ * @frames: the count of frames
+ * @format: the audio file's format
+ *
+ * Opens a file in read/write mode.
+ *
+ * Returns: %TRUE on success.
+ */
+gboolean
+ags_playable_rw_open(AgsPlayable *playable, gchar *name,
+ gboolean create,
+ guint samplerate, guint channels,
+ guint frames,
+ guint format)
+{
+ AgsPlayableInterface *playable_interface;
+ gboolean ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLAYABLE(playable), FALSE);
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_val_if_fail(playable_interface->open, FALSE);
+ ret_val = playable_interface->rw_open(playable, name,
+ create,
+ samplerate, channels,
+ frames,
+ format);
+
+ return(ret_val);
+}
+
+/**
+ * ags_playable_open:
+ * @playable: the #AgsPlayable
+ * @name: the filename
+ *
+ * Opens a file in read-only mode.
+ *
+ * Returns: %TRUE on success
+ */
+gboolean
+ags_playable_open(AgsPlayable *playable, gchar *name)
+{
+ AgsPlayableInterface *playable_interface;
+ gboolean ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLAYABLE(playable), FALSE);
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_val_if_fail(playable_interface->open, FALSE);
+ ret_val = playable_interface->open(playable, name);
+
+ return(ret_val);
+}
+
+/**
+ * ags_playable_level_count:
+ * @playable: the #AgsPlayable
+ *
+ * Retrieve the count of levels.
+ *
+ * Returns: level count
+ */
+guint
+ags_playable_level_count(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+ guint ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLAYABLE(playable), 0);
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_val_if_fail(playable_interface->level_count, 0);
+ ret_val = playable_interface->level_count(playable);
+
+ return(ret_val);
+}
+
+/**
+ * ags_playable_nth_level:
+ * @playable: the #AgsPlayable
+ *
+ * Retrieve the selected level.
+ *
+ * Returns: nth level
+ */
+guint
+ags_playable_nth_level(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+ guint ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLAYABLE(playable), 0);
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_val_if_fail(playable_interface->nth_level, 0);
+ ret_val = playable_interface->nth_level(playable);
+
+ return(ret_val);
+}
+
+/**
+ * ags_playable_selected_level:
+ * @playable: the #AgsPlayable
+ *
+ * Retrieve the selected level's name.
+ *
+ * Returns: nth level name
+ */
+gchar*
+ags_playable_selected_level(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+ gchar *ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLAYABLE(playable), 0);
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_val_if_fail(playable_interface->selected_level, 0);
+ ret_val = playable_interface->selected_level(playable);
+
+ return(ret_val);
+
+}
+
+/**
+ * ags_playable_sublevel_names:
+ * @playable: the #AgsPlayable
+ *
+ * Retrieve the all sub-level's name.
+ *
+ * Returns: sub-level names
+ */
+gchar**
+ags_playable_sublevel_names(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+ gchar **ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLAYABLE(playable), NULL);
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_val_if_fail(playable_interface->sublevel_names, NULL);
+ ret_val = playable_interface->sublevel_names(playable);
+
+ return(ret_val);
+}
+
+/**
+ * ags_playable_level_select:
+ * @playable: an #AgsPlayable
+ * @nth_level: of type guint
+ * @sublevel_name: a gchar pointer
+ * @error: an error that may occure
+ *
+ * Select a level in an monolythic file where @nth_level and @sublevel_name are equivalent.
+ * If @sublevel_name is NULL @nth_level will be chosen.
+ */
+void
+ags_playable_level_select(AgsPlayable *playable,
+ guint nth_level, gchar *sublevel_name,
+ GError **error)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->level_select);
+ playable_interface->level_select(playable, nth_level, sublevel_name, error);
+}
+
+/**
+ * ags_playable_level_up:
+ * @playable: an #AgsPlayable
+ * @levels: n-levels up
+ * @error: returned error
+ *
+ * Move up in hierarchy.
+ */
+void
+ags_playable_level_up(AgsPlayable *playable,
+ guint levels,
+ GError **error)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->level_up);
+ playable_interface->level_up(playable, levels, error);
+}
+
+/**
+ * ags_playable_iter_start:
+ * @playable: an #AgsPlayable
+ *
+ * Start iterating current level.
+ */
+void
+ags_playable_iter_start(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->iter_start);
+ playable_interface->iter_start(playable);
+}
+
+/**
+ * ags_playable_iter_next:
+ * @playable: an #AgsPlayable
+ *
+ * Iterating next on current level.
+ */
+gboolean
+ags_playable_iter_next(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+ gboolean ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLAYABLE(playable), FALSE);
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_val_if_fail(playable_interface->iter_next, FALSE);
+ ret_val = playable_interface->iter_next(playable);
+
+ return(ret_val);
+}
+
+/**
+ * ags_playable_info:
+ * @playable: an #AgsPlayable
+ * @channels: channels
+ * @frames: frames
+ * @loop_start: loop start
+ * @loop_end: loop end
+ * @error: returned error
+ *
+ * Retrieve information about selected audio data.
+ */
+void
+ags_playable_info(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->info);
+ playable_interface->info(playable, channels, frames, loop_start, loop_end, error);
+}
+
+/**
+ * ags_playable_read:
+ * @playable: an #AgsPlayable
+ * @channel: nth channel
+ * @error: returned error
+ *
+ * Read audio buffer of playable audio data.
+ *
+ * Returns: audio buffer
+ */
+short*
+ags_playable_read(AgsPlayable *playable,
+ guint channel,
+ GError **error)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->read);
+ playable_interface->read(playable, channel, error);
+}
+
+/**
+ * ags_playable_write:
+ * @playable: an #AgsPlayable
+ * @buffer: audio data
+ * @buffer_length: frame count
+ *
+ * Write @buffer_length of @buffer audio data.
+ */
+void
+ags_playable_write(AgsPlayable *playable,
+ signed short *buffer, guint buffer_length)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->write);
+ playable_interface->write(playable, buffer, buffer_length);
+}
+
+/**
+ * ags_playable_flush:
+ * @playable: an #AgsPlayable
+ *
+ * Flush internal audio buffer.
+ */
+void
+ags_playable_flush(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->flush);
+ playable_interface->flush(playable);
+}
+
+/**
+ * ags_playable_seek:
+ * @playable: an #AgsPlayable
+ * @frames: n-frames to seek
+ * @whence: SEEK_SET, SEEK_CUR, or SEEK_END
+ *
+ * Seek @playable to address.
+ */
+void
+ags_playable_seek(AgsPlayable *playable,
+ guint frames, gint whence)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->seek);
+ playable_interface->seek(playable, frames, whence);
+}
+
+/**
+ * ags_playable_close:
+ * @playable: an #AgsPlayable
+ *
+ * Close audio file.
+ */
+void
+ags_playable_close(AgsPlayable *playable)
+{
+ AgsPlayableInterface *playable_interface;
+
+ g_return_if_fail(AGS_IS_PLAYABLE(playable));
+ playable_interface = AGS_PLAYABLE_GET_INTERFACE(playable);
+ g_return_if_fail(playable_interface->close);
+ playable_interface->close(playable);
+}
+
+/**
+ * ags_playable_read_audio_signal:
+ * @playable: an #AgsPlayable
+ * @devout: the #AgsDevout defaulting to
+ * @start_channel: read from channel
+ * @channels_to_read: n-times
+ *
+ * Read the audio signal of @AgsPlayable.
+ *
+ * Returns: a #GList of #AgsAudioSignal
+ */
+GList*
+ags_playable_read_audio_signal(AgsPlayable *playable,
+ AgsDevout *devout,
+ guint start_channel, guint channels_to_read)
+{
+ AgsAudioSignal *audio_signal;
+ GList *stream, *list, *list_beginning;
+ short *buffer;
+ guint channels;
+ guint frames;
+ guint loop_start;
+ guint loop_end;
+ guint length;
+ guint buffer_size;
+ guint samplerate;
+ guint i, j, k, i_stop, j_stop;
+ GError *error;
+
+ ags_playable_info(playable,
+ &channels, &frames,
+ &loop_start, &loop_end,
+ &error);
+
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ length = (guint) ceil((double)(frames) / (double)(buffer_size));
+
+#ifdef AGS_DEBUG
+ g_message("ags_playable_read_audio_signal:\n frames = %u\n buffer_size = %u\n length = %u\n\0", frames, buffer_size, length);
+#endif
+
+ list = NULL;
+ i = start_channel;
+ i_stop = start_channel + channels_to_read;
+
+ for(; i < i_stop; i++){
+ audio_signal = ags_audio_signal_new((GObject *) devout,
+ NULL,
+ NULL);
+ audio_signal->flags |= AGS_AUDIO_SIGNAL_TEMPLATE;
+ list = g_list_prepend(list, audio_signal);
+
+ ags_connectable_connect(AGS_CONNECTABLE(audio_signal));
+ }
+
+ list_beginning = list;
+
+ j_stop = (guint) floor((double)(frames) / (double)(buffer_size));
+
+ for(i = start_channel; list != NULL; i++){
+ audio_signal = AGS_AUDIO_SIGNAL(list->data);
+ ags_audio_signal_stream_resize(audio_signal, length);
+ audio_signal->loop_start = loop_start;
+ audio_signal->loop_end = loop_end;
+ //TODO:JK: read resolution of file
+ // audio_signal->resolution = AGS_DEVOUT_RESOLUTION_16_BIT;
+
+ error = NULL;
+ buffer = ags_playable_read(playable,
+ i,
+ &error);
+
+ if(error != NULL){
+ g_error("%s\0", error->message);
+ }
+
+ stream = audio_signal->stream_beginning;
+
+ for(j = 0; j < j_stop; j++){
+ for(k = 0; k < buffer_size; k++){
+ ((short *) stream->data)[k] = buffer[j * buffer_size + k];
+ }
+
+ stream = stream->next;
+ }
+
+ if(frames % buffer_size != 0){
+ for(k = 0; k < frames % buffer_size; k++){
+ ((short *) stream->data)[k] = buffer[j * buffer_size + k];
+ }
+ }
+
+ free(buffer);
+ list = list->next;
+ }
+
+ return(list_beginning);
+}
diff --git a/src/ags/object/ags_playable.h b/src/ags/object/ags_playable.h
new file mode 100644
index 0000000..fc1aaee
--- /dev/null
+++ b/src/ags/object/ags_playable.h
@@ -0,0 +1,137 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLAYABLE_H__
+#define __AGS_PLAYABLE_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_devout.h>
+
+#define AGS_TYPE_PLAYABLE (ags_playable_get_type())
+#define AGS_PLAYABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAYABLE, AgsPlayable))
+#define AGS_PLAYABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PLAYABLE, AgsPlayableInterface))
+#define AGS_IS_PLAYABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLAYABLE))
+#define AGS_IS_PLAYABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PLAYABLE))
+#define AGS_PLAYABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PLAYABLE, AgsPlayableInterface))
+
+typedef void AgsPlayable;
+typedef struct _AgsPlayableInterface AgsPlayableInterface;
+
+#define AGS_PLAYABLE_ERROR (ags_playable_error_quark())
+
+typedef enum{
+ AGS_PLAYABLE_ERROR_NO_SUCH_LEVEL,
+ AGS_PLAYABLE_ERROR_NO_SAMPLE,
+}AgsPlayableError;
+
+struct _AgsPlayableInterface
+{
+ GTypeInterface interface;
+
+ gboolean (*open)(AgsPlayable *playable, gchar *name);
+ gboolean (*rw_open)(AgsPlayable *playable, gchar *name,
+ gboolean create,
+ guint samplerate, guint channels,
+ guint frames,
+ guint format);
+
+ /* these functions are especially for soundfonts */
+ guint (*level_count)(AgsPlayable *playable);
+ guint (*nth_level)(AgsPlayable *playable);
+ gchar* (*selected_level)(AgsPlayable *playable);
+
+ gchar** (*sublevel_names)(AgsPlayable *playable);
+ void (*level_select)(AgsPlayable *playable,
+ guint nth_level, gchar *sublevel_name,
+ GError **error);
+ void (*level_up)(AgsPlayable *playable,
+ guint levels,
+ GError **error);
+
+ void (*iter_start)(AgsPlayable *playable);
+ gboolean (*iter_next)(AgsPlayable *playable);
+
+ /* read sample data */
+ void (*info)(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error);
+ signed short* (*read)(AgsPlayable *playable,
+ guint channel,
+ GError **error);
+
+ /* write sample data */
+ void (*write)(AgsPlayable *playable,
+ signed short *buffer, guint buffer_length);
+ void (*flush)(AgsPlayable *playable);
+
+ /* position */
+ void (*seek)(AgsPlayable *playable,
+ guint frames, gint whence);
+
+ /* close */
+ void (*close)(AgsPlayable *playable);
+};
+
+GType ags_playable_get_type();
+
+GQuark ags_playable_error_quark();
+
+gboolean ags_playable_open(AgsPlayable *playable, gchar *name);
+gboolean ags_playable_rw_open(AgsPlayable *playable, gchar *name,
+ gboolean create,
+ guint samplerate, guint channels,
+ guint frames,
+ guint format);
+
+guint ags_playable_level_count(AgsPlayable *playable);
+guint ags_playable_nth_level(AgsPlayable *playable);
+gchar* ags_playable_selected_level(AgsPlayable *playable);
+
+gchar** ags_playable_sublevel_names(AgsPlayable *playable);
+void ags_playable_level_select(AgsPlayable *playable,
+ guint nth_level, gchar *sublevel_name,
+ GError **error);
+void ags_playable_level_up(AgsPlayable *playable, guint levels, GError **error);
+
+void ags_playable_iter_start(AgsPlayable *playable);
+gboolean ags_playable_iter_next(AgsPlayable *playable);
+
+void ags_playable_info(AgsPlayable *playable,
+ guint *channels, guint *frames,
+ guint *loop_start, guint *loop_end,
+ GError **error);
+signed short* ags_playable_read(AgsPlayable *playable,
+ guint channel,
+ GError **error);
+
+void ags_playable_write(AgsPlayable *playable,
+ signed short *buffer, guint buffer_length);
+void ags_playable_flush(AgsPlayable *playable);
+
+void ags_playable_seek(AgsPlayable *playable,
+ guint frames, gint whence);
+
+void ags_playable_close(AgsPlayable *playable);
+
+GList* ags_playable_read_audio_signal(AgsPlayable *playable,
+ AgsDevout *devout,
+ guint start_channel, guint channels);
+
+#endif /*__AGS_PLAYABLE_H__*/
diff --git a/src/ags/object/ags_plugin.c b/src/ags/object/ags_plugin.c
new file mode 100644
index 0000000..bb1362c
--- /dev/null
+++ b/src/ags/object/ags_plugin.c
@@ -0,0 +1,308 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_plugin.h>
+
+#include <math.h>
+
+void ags_plugin_base_init(AgsPluginInterface *interface);
+
+/**
+ * SECTION:ags_plugin
+ * @short_description: interfacing plugins
+ * @title: AgsPlugin
+ * @section_id:
+ * @include: ags/object/ags_plugin.h
+ *
+ * The #AgsPlugin interface gives you a unique access to recalls,
+ * line members, lines, pads or machines ...
+ */
+
+GType
+ags_plugin_get_type()
+{
+ static GType ags_type_plugin = 0;
+
+ if(!ags_type_plugin){
+ static const GTypeInfo ags_plugin_info = {
+ sizeof(AgsPluginInterface),
+ (GBaseInitFunc) ags_plugin_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_plugin = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsPlugin\0", &ags_plugin_info,
+ 0);
+ }
+
+ return(ags_type_plugin);
+}
+
+void
+ags_plugin_base_init(AgsPluginInterface *interface)
+{
+ /* empty */
+}
+
+/**
+ * ags_plugin_get_name:
+ * @plugin: an @AgsPlugin
+ *
+ * Retrieve the name of the plugin.
+ *
+ * Returns: the plugins name
+ */
+gchar*
+ags_plugin_get_name(AgsPlugin *plugin)
+{
+ AgsPluginInterface *plugin_interface;
+ gchar *ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLUGIN(plugin), NULL);
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_val_if_fail(plugin_interface->get_name, NULL);
+ ret_val = plugin_interface->get_name(plugin);
+
+ return(ret_val);
+}
+
+/**
+ * ags_plugin_set_name:
+ * @plugin: an @AgsPlugin
+ * @name: the name of plugin
+ *
+ * Set the name of the plugin.
+ */
+void
+ags_plugin_set_name(AgsPlugin *plugin, gchar *name)
+{
+ AgsPluginInterface *plugin_interface;
+
+ g_return_if_fail(AGS_IS_PLUGIN(plugin));
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_if_fail(plugin_interface->set_name);
+ plugin_interface->set_name(plugin, name);
+}
+
+/**
+ * ags_plugin_get_version:
+ * @plugin: an @AgsPlugin
+ *
+ * Retrieve the version of the plugin.
+ *
+ * Returns: the plugins version
+ */
+gchar*
+ags_plugin_get_version(AgsPlugin *plugin)
+{
+ AgsPluginInterface *plugin_interface;
+ gchar *ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLUGIN(plugin), NULL);
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_val_if_fail(plugin_interface->get_version, NULL);
+ ret_val = plugin_interface->get_version(plugin);
+
+ return(ret_val);
+}
+
+/**
+ * ags_plugin_set_version:
+ * @plugin: an @AgsPlugin
+ * @version: the version of plugin
+ *
+ * Set the version of the plugin.
+ */
+void
+ags_plugin_set_version(AgsPlugin *plugin, gchar *version)
+{
+ AgsPluginInterface *plugin_interface;
+
+ g_return_if_fail(AGS_IS_PLUGIN(plugin));
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_if_fail(plugin_interface->set_version);
+ plugin_interface->set_version(plugin, version);
+}
+
+/**
+ * ags_plugin_get_build_id:
+ * @plugin: an @AgsPlugin
+ *
+ * Retrieve the build id of the plugin.
+ *
+ * Returns: the plugins build id
+ */
+gchar*
+ags_plugin_get_build_id(AgsPlugin *plugin)
+{
+ AgsPluginInterface *plugin_interface;
+ gchar *ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLUGIN(plugin), NULL);
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_val_if_fail(plugin_interface->get_build_id, NULL);
+ ret_val = plugin_interface->get_build_id(plugin);
+
+ return(ret_val);
+}
+
+/**
+ * ags_plugin_set_build_id:
+ * @plugin: an @AgsPlugin
+ * @build_id: the build id of plugin
+ *
+ * Set the build id of the plugin.
+ */
+void
+ags_plugin_set_build_id(AgsPlugin *plugin, gchar *build_id)
+{
+ AgsPluginInterface *plugin_interface;
+
+ g_return_if_fail(AGS_IS_PLUGIN(plugin));
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_if_fail(plugin_interface->set_build_id);
+ plugin_interface->set_build_id(plugin, build_id);
+}
+
+/**
+ * ags_plugin_get_xml_type:
+ * @plugin: an @AgsPlugin
+ *
+ * Retrieve the xml type of the plugin.
+ *
+ * Returns: the plugins xml type
+ */
+gchar*
+ags_plugin_get_xml_type(AgsPlugin *plugin)
+{
+ AgsPluginInterface *plugin_interface;
+ gchar *ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLUGIN(plugin), NULL);
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_val_if_fail(plugin_interface->get_xml_type, NULL);
+ ret_val = plugin_interface->get_xml_type(plugin);
+
+ return(ret_val);
+}
+
+/**
+ * ags_plugin_set_xml_type:
+ * @plugin: an @AgsPlugin
+ * @xml_type: the build id of plugin
+ *
+ * Set the build id of the plugin.
+ */
+void
+ags_plugin_set_xml_type(AgsPlugin *plugin, gchar *xml_type)
+{
+ AgsPluginInterface *plugin_interface;
+
+ g_return_if_fail(AGS_IS_PLUGIN(plugin));
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_if_fail(plugin_interface->set_xml_type);
+ plugin_interface->set_xml_type(plugin, xml_type);
+}
+
+/**
+ * ags_plugin_get_ports:
+ * @plugin: an @AgsPlugin
+ *
+ * Retrieve the ports of the plugin.
+ *
+ * Returns: the plugins ports
+ */
+GList*
+ags_plugin_get_ports(AgsPlugin *plugin)
+{
+ AgsPluginInterface *plugin_interface;
+ GList *ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLUGIN(plugin), NULL);
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_val_if_fail(plugin_interface->get_ports, NULL);
+ ret_val = plugin_interface->get_ports(plugin);
+
+ return(ret_val);
+}
+
+/**
+ * ags_plugin_set_ports:
+ * @plugin: an @AgsPlugin
+ * @ports: the build id of plugin
+ *
+ * Set the build id of the plugin.
+ */
+void
+ags_plugin_set_ports(AgsPlugin *plugin, GList *ports)
+{
+ AgsPluginInterface *plugin_interface;
+
+ g_return_if_fail(AGS_IS_PLUGIN(plugin));
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_if_fail(plugin_interface->set_ports);
+ plugin_interface->set_ports(plugin, ports);
+}
+
+/**
+ * ags_plugin_read:
+ * @file: the #AgsFile
+ * @node: the node
+ * @plugin: the #AgsPlugin
+ *
+ * Read of file.
+ */
+void
+ags_plugin_read(AgsFile *file,
+ xmlNode *node,
+ AgsPlugin *plugin)
+{
+ AgsPluginInterface *plugin_interface;
+
+ g_return_if_fail(AGS_IS_PLUGIN(plugin));
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_if_fail(plugin_interface->read);
+ plugin_interface->read(file, node, plugin);
+}
+
+
+/**
+ * ags_plugin_write:
+ * @file: the #AgsFile
+ * @parent: the parent node
+ * @plugin: the #AgsPlugin
+ *
+ * Write to file.
+ *
+ * Returns: the new node you created
+ */
+xmlNode*
+ags_plugin_write(AgsFile *file,
+ xmlNode *parent,
+ AgsPlugin *plugin)
+{
+ AgsPluginInterface *plugin_interface;
+ xmlNode *ret_val;
+
+ g_return_val_if_fail(AGS_IS_PLUGIN(plugin), NULL);
+ plugin_interface = AGS_PLUGIN_GET_INTERFACE(plugin);
+ g_return_val_if_fail(plugin_interface->write, NULL);
+ ret_val = plugin_interface->write(file, parent, plugin);
+
+ return(ret_val);
+}
diff --git a/src/ags/object/ags_plugin.h b/src/ags/object/ags_plugin.h
new file mode 100644
index 0000000..a7e2fd0
--- /dev/null
+++ b/src/ags/object/ags_plugin.h
@@ -0,0 +1,87 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLUGIN_H__
+#define __AGS_PLUGIN_H__
+
+#include <glib-object.h>
+
+#include <ags/file/ags_file.h>
+
+#define AGS_TYPE_PLUGIN (ags_plugin_get_type())
+#define AGS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN, AgsPlugin))
+#define AGS_PLUGIN_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PLUGIN, AgsPluginInterface))
+#define AGS_IS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PLUGIN))
+#define AGS_IS_PLUGIN_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PLUGIN))
+#define AGS_PLUGIN_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PLUGIN, AgsPluginInterface))
+
+typedef void AgsPlugin;
+typedef struct _AgsPluginInterface AgsPluginInterface;
+
+struct _AgsPluginInterface
+{
+ GTypeInterface interface;
+
+ gchar* (*get_name)(AgsPlugin *plugin);
+ void (*set_name)(AgsPlugin *plugin, gchar *name);
+
+ gchar* (*get_version)(AgsPlugin *plugin);
+ void (*set_version)(AgsPlugin *plugin, gchar *version);
+
+ gchar* (*get_build_id)(AgsPlugin *plugin);
+ void (*set_build_id)(AgsPlugin *plugin, gchar *build_id);
+
+ gchar* (*get_xml_type)(AgsPlugin *plugin);
+ void (*set_xml_type)(AgsPlugin *plugin, gchar *xml_type);
+
+ GList* (*get_ports)(AgsPlugin *plugin);
+ void (*set_ports)(AgsPlugin *plugin, GList *ports);
+
+ void (*read)(AgsFile *file,
+ xmlNode *node,
+ AgsPlugin *plugin);
+ xmlNode* (*write)(AgsFile *file,
+ xmlNode *parent,
+ AgsPlugin *plugin);
+};
+
+GType ags_plugin_get_type();
+
+gchar* ags_plugin_get_name(AgsPlugin *plugin);
+void ags_plugin_set_name(AgsPlugin *plugin, gchar *name);
+
+gchar* ags_plugin_get_version(AgsPlugin *plugin);
+void ags_plugin_set_version(AgsPlugin *plugin, gchar *version);
+
+gchar* ags_plugin_get_build_id(AgsPlugin *plugin);
+void ags_plugin_set_build_id(AgsPlugin *plugin, gchar *build_id);
+
+gchar* ags_plugin_get_xml_type(AgsPlugin *plugin);
+void ags_plugin_set_xml_type(AgsPlugin *plugin, gchar *xml_type);
+
+GList* ags_plugin_get_ports(AgsPlugin *plugin);
+void ags_plugin_set_ports(AgsPlugin *plugin, GList *ports);
+
+void ags_plugin_read(AgsFile *file,
+ xmlNode *node,
+ AgsPlugin *plugin);
+xmlNode* ags_plugin_write(AgsFile *file,
+ xmlNode *parent,
+ AgsPlugin *plugin);
+
+#endif /*__AGS_PLUGIN_H__*/
diff --git a/src/ags/object/ags_portlet.c b/src/ags/object/ags_portlet.c
new file mode 100644
index 0000000..6407eab
--- /dev/null
+++ b/src/ags/object/ags_portlet.c
@@ -0,0 +1,164 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_portlet.h>
+
+#include <stdio.h>
+
+void ags_portlet_base_init(AgsPortletInterface *interface);
+
+/**
+ * SECTION:ags_portlet
+ * @short_description: interfacing portlets
+ * @title: AgsPortlet
+ * @section_id:
+ * @include: ags/object/ags_portlet.h
+ *
+ * The #AgsPortlet interface is intended to use with ports containing #GObject.
+ * Whereas its should implement this interface.
+ */
+
+GType
+ags_portlet_get_type()
+{
+ static GType ags_type_portlet = 0;
+
+ if(!ags_type_portlet){
+ static const GTypeInfo ags_portlet_info = {
+ sizeof(AgsPortletInterface),
+ (GBaseInitFunc) ags_portlet_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_portlet = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsPortlet\0", &ags_portlet_info,
+ 0);
+ }
+
+ return(ags_type_portlet);
+}
+
+void
+ags_portlet_base_init(AgsPortletInterface *interface)
+{
+ /* empty */
+}
+
+/**
+ * ags_portlet_set_port:
+ * @portlet: an #AgsPortlet
+ * @port: the #AgsPort
+ *
+ * Set port.
+ *
+ * Since: 0.4
+ */
+void
+ags_portlet_set_port(AgsPortlet *portlet, AgsPort *port)
+{
+ AgsPortletInterface *portlet_interface;
+
+ g_return_if_fail(AGS_IS_PORTLET(portlet));
+ portlet_interface = AGS_PORTLET_GET_INTERFACE(portlet);
+ g_return_if_fail(portlet_interface->set_port);
+ portlet_interface->set_port(portlet, port);
+}
+
+/**
+ * ags_portlet_get_port:
+ * @portlet: an #AgsPortlet
+ *
+ * Get port.
+ *
+ * Returns: the #AgsPort
+ *
+ * Since: 0.4
+ */
+AgsPort*
+ags_portlet_get_port(AgsPortlet *portlet)
+{
+ AgsPortletInterface *portlet_interface;
+
+ g_return_val_if_fail(AGS_IS_PORTLET(portlet), NULL);
+ portlet_interface = AGS_PORTLET_GET_INTERFACE(portlet);
+ g_return_val_if_fail(portlet_interface->get_port, NULL);
+ portlet_interface->get_port(portlet);
+}
+
+/**
+ * ags_portlet_list_safe_properties:
+ * @portlet: an #AgsPortlet
+ *
+ * Retrieve thread-safe properties.
+ *
+ * Returns: a #GList containing properties
+ *
+ * Since: 0.4
+ */
+GList*
+ags_portlet_list_safe_properties(AgsPortlet *portlet)
+{
+ AgsPortletInterface *portlet_interface;
+
+ g_return_val_if_fail(AGS_IS_PORTLET(portlet), NULL);
+ portlet_interface = AGS_PORTLET_GET_INTERFACE(portlet);
+ g_return_val_if_fail(portlet_interface->list_safe_properties, NULL);
+ portlet_interface->list_safe_properties(portlet);
+}
+
+/**
+ * ags_portlet_safe_get_property:
+ * @portlet: an #AgsPortlet
+ * @property_name: propertie's name
+ * @value: the #GValue
+ *
+ * Get property thread safe.
+ *
+ * Since: 0.4
+ */
+void
+ags_portlet_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ AgsPortletInterface *portlet_interface;
+
+ g_return_if_fail(AGS_IS_PORTLET(portlet));
+ portlet_interface = AGS_PORTLET_GET_INTERFACE(portlet);
+ g_return_if_fail(portlet_interface->safe_get_property);
+ portlet_interface->safe_get_property(portlet, property_name, value);
+}
+
+/**
+ * ags_portlet_safe_set_property:
+ * @portlet: an #AgsPortlet
+ * @property_name: propertie's name
+ * @value: the #GValue
+ *
+ * Set property thread safe.
+ *
+ * Since: 0.4
+ */
+void
+ags_portlet_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value)
+{
+ AgsPortletInterface *portlet_interface;
+
+ g_return_if_fail(AGS_IS_PORTLET(portlet));
+ portlet_interface = AGS_PORTLET_GET_INTERFACE(portlet);
+ g_return_if_fail(portlet_interface->safe_set_property);
+ portlet_interface->safe_set_property(portlet, property_name, value);
+}
diff --git a/src/ags/object/ags_portlet.h b/src/ags/object/ags_portlet.h
new file mode 100644
index 0000000..b923506
--- /dev/null
+++ b/src/ags/object/ags_portlet.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PORTLET_H__
+#define __AGS_PORTLET_H__
+
+#include <glib-object.h>
+
+#include <ags/audio/ags_port.h>
+
+#define AGS_TYPE_PORTLET (ags_portlet_get_type())
+#define AGS_PORTLET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PORTLET, AgsPortlet))
+#define AGS_PORTLET_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_PORTLET, AgsPortletInterface))
+#define AGS_IS_PORTLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_PORTLET))
+#define AGS_IS_PORTLET_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_PORTLET))
+#define AGS_PORTLET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_PORTLET, AgsPortletInterface))
+
+typedef void AgsPortlet;
+typedef struct _AgsPortletInterface AgsPortletInterface;
+
+struct _AgsPortletInterface
+{
+ GTypeInterface interface;
+
+ AgsPort* (*get_port)(AgsPortlet *portlet);
+ void (*set_port)(AgsPortlet *portlet, AgsPort *port);
+
+ GList* (*list_safe_properties)(AgsPortlet *portlet);
+
+ void (*safe_get_property)(AgsPortlet *portlet, gchar *property_name, GValue *value);
+ void (*safe_set_property)(AgsPortlet *portlet, gchar *property_name, GValue *value);
+};
+
+GType ags_portlet_get_type();
+
+AgsPort* ags_portlet_get_port(AgsPortlet *portlet);
+void ags_portlet_set_port(AgsPortlet *portlet, AgsPort *port);
+
+GList* ags_portlet_list_safe_properties(AgsPortlet *portlet);
+
+void ags_portlet_safe_get_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+void ags_portlet_safe_set_property(AgsPortlet *portlet, gchar *property_name, GValue *value);
+
+#endif /*__AGS_PORTLET_H__*/
diff --git a/src/ags/object/ags_runnable.c b/src/ags/object/ags_runnable.c
new file mode 100644
index 0000000..748ec47
--- /dev/null
+++ b/src/ags/object/ags_runnable.c
@@ -0,0 +1,71 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_runnable.h>
+
+#include <stdio.h>
+
+void ags_runnable_base_init(AgsRunnableInterface *interface);
+
+GType
+ags_runnable_get_type()
+{
+ static GType ags_type_runnable = 0;
+
+ if(!ags_type_runnable){
+ static const GTypeInfo ags_runnable_info = {
+ sizeof(AgsRunnableInterface),
+ (GBaseInitFunc) ags_runnable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_runnable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsRunnable\0", &ags_runnable_info,
+ 0);
+ }
+
+ return(ags_type_runnable);
+}
+
+void
+ags_runnable_base_init(AgsRunnableInterface *interface)
+{
+ /* empty */
+}
+
+void
+ags_runnable_run(AgsRunnable *runnable)
+{
+ AgsRunnableInterface *runnable_interface;
+
+ g_return_if_fail(AGS_IS_RUNNABLE(runnable));
+ runnable_interface = AGS_RUNNABLE_GET_INTERFACE(runnable);
+ g_return_if_fail(runnable_interface->run);
+ runnable_interface->run(runnable);
+}
+
+void
+ags_runnable_stop(AgsRunnable *runnable)
+{
+ AgsRunnableInterface *runnable_interface;
+
+ g_return_if_fail(AGS_IS_RUNNABLE(runnable));
+ runnable_interface = AGS_RUNNABLE_GET_INTERFACE(runnable);
+ g_return_if_fail(runnable_interface->stop);
+ runnable_interface->stop(runnable);
+}
diff --git a/src/ags/object/ags_runnable.h b/src/ags/object/ags_runnable.h
new file mode 100644
index 0000000..e25dbaf
--- /dev/null
+++ b/src/ags/object/ags_runnable.h
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RUNNABLE_H__
+#define __AGS_RUNNABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_RUNNABLE (ags_runnable_get_type())
+#define AGS_RUNNABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RUNNABLE, AgsRunnable))
+#define AGS_RUNNABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_RUNNABLE, AgsRunnableInterface))
+#define AGS_IS_RUNNABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RUNNABLE))
+#define AGS_IS_RUNNABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_RUNNABLE))
+#define AGS_RUNNABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_RUNNABLE, AgsRunnableInterface))
+
+typedef void AgsRunnable;
+typedef struct _AgsRunnableInterface AgsRunnableInterface;
+
+struct _AgsRunnableInterface
+{
+ GTypeInterface interface;
+
+ void (*run)(AgsRunnable *runnable);
+ void (*stop)(AgsRunnable *runnable);
+};
+
+GType ags_runnable_get_type();
+
+void ags_runnable_run(AgsRunnable *runnable);
+void ags_runnable_stop(AgsRunnable *runnable);
+
+#endif /*__AGS_RUNNABLE_H__*/
diff --git a/src/ags/object/ags_seekable.c b/src/ags/object/ags_seekable.c
new file mode 100644
index 0000000..b33ac7b
--- /dev/null
+++ b/src/ags/object/ags_seekable.c
@@ -0,0 +1,58 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_seekable.h>
+
+void ags_seekable_base_init(AgsSeekableInterface *interface);
+
+GType
+ags_seekable_get_type()
+{
+ static GType ags_type_seekable = 0;
+
+ if(!ags_type_seekable){
+ static const GTypeInfo ags_seekable_info = {
+ sizeof(AgsSeekableInterface),
+ (GBaseInitFunc) ags_seekable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_seekable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsSeekable\0", &ags_seekable_info,
+ 0);
+ }
+
+ return(ags_type_seekable);
+}
+
+void
+ags_seekable_base_init(AgsSeekableInterface *interface)
+{
+ /* empty */
+}
+
+void
+ags_seekable_seek(AgsSeekable *seekable, guint steps, gboolean forward)
+{
+ AgsSeekableInterface *seekable_interface;
+
+ g_return_if_fail(AGS_IS_SEEKABLE(seekable));
+ seekable_interface = AGS_SEEKABLE_GET_INTERFACE(seekable);
+ g_return_if_fail(seekable_interface->seek);
+ seekable_interface->seek(seekable, steps, forward);
+}
diff --git a/src/ags/object/ags_seekable.h b/src/ags/object/ags_seekable.h
new file mode 100644
index 0000000..3ba693e
--- /dev/null
+++ b/src/ags/object/ags_seekable.h
@@ -0,0 +1,46 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SEEKABLE_H__
+#define __AGS_SEEKABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_SEEKABLE (ags_seekable_get_type())
+#define AGS_SEEKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SEEKABLE, AgsSeekable))
+#define AGS_SEEKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SEEKABLE, AgsSeekableInterface))
+#define AGS_IS_SEEKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SEEKABLE))
+#define AGS_IS_SEEKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SEEKABLE))
+#define AGS_SEEKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SEEKABLE, AgsSeekableInterface))
+
+typedef void AgsSeekable;
+typedef struct _AgsSeekableInterface AgsSeekableInterface;
+
+struct _AgsSeekableInterface
+{
+ GTypeInterface interface;
+
+ void (*seek)(AgsSeekable *seekable, guint steps, gboolean forward);
+};
+
+GType ags_seekable_get_type();
+
+void ags_seekable_seek(AgsSeekable *seekable, guint steps, gboolean forward);
+
+#endif /*__AGS_SEEKABLE_H__*/
+
diff --git a/src/ags/object/ags_soundcard.c b/src/ags/object/ags_soundcard.c
new file mode 100644
index 0000000..cf9a8b7
--- /dev/null
+++ b/src/ags/object/ags_soundcard.c
@@ -0,0 +1,286 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_soundcard.h>
+
+#include <math.h>
+
+void ags_soundcard_class_init(AgsSoundcardInterface *interface);
+
+GType
+ags_soundcard_get_type()
+{
+ static GType ags_type_soundcard = 0;
+
+ if(!ags_type_soundcard){
+ ags_type_soundcard = g_type_register_static_simple(G_TYPE_INTERFACE,
+ "AgsSoundcard\0",
+ sizeof(AgsSoundcardInterface),
+ (GClassInitFunc) ags_soundcard_class_init,
+ 0, NULL, 0);
+ }
+
+ return(ags_type_soundcard);
+}
+
+GQuark
+ags_soundcard_error_quark()
+{
+ return(g_quark_from_static_string("ags-soundcard-error-quark\0"));
+}
+
+void
+ags_soundcard_class_init(AgsSoundcardInterface *interface)
+{
+ /**
+ * AgsSoundcard::tic:
+ * @soundcard: the object
+ *
+ * The ::tic signal is emitted every tic of the soundcard. This notifies
+ * about a newly played buffer.
+ */
+ g_signal_new("tic\0",
+ G_TYPE_FROM_INTERFACE(interface),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsSoundcardInterface, tic),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsSoundcard::offset-changed:
+ * @soundcard: the object
+ * @note_offset: new notation offset
+ *
+ * The ::offset-changed signal notifies about changed position within
+ * notation.
+ */
+ g_signal_new("offset-changed\0",
+ G_TYPE_FROM_INTERFACE(interface),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsSoundcardInterface, offset_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__UINT,
+ G_TYPE_NONE, 1,
+ G_TYPE_UINT);
+}
+
+/**
+ * ags_soundcard_play:
+ * @soundcard an #AgsSoundcard
+ * @card_id a list containing card ids
+ * @card_name a list containing card names
+ * @error an error that may occure
+ *
+ * Retrieve @card_id and @card_name as a list of strings.
+ */
+void
+ags_soundcard_list_cards(AgsSoundcard *soundcard,
+ GList **card_id, GList **card_name)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->list_cards);
+ soundcard_interface->list_cards(soundcard, card_id, card_name);
+}
+
+/**
+ * ags_soundcard_play:
+ * @soundcard an #AgsSoundcard
+ * @card_id the selected soundcard by its string identifier
+ * @channels_min min channels supported
+ * @channels_max max channels supported
+ * @rate_min min samplerate supported
+ * @rate_max max samplerate supported
+ * @buffer_size_min min buffer size supported by soundcard
+ * @buffer_size_max max buffer size supported by soundcard
+ * @error an error that may occure
+ *
+ * Retrieve detailed information of @card_id soundcard.
+ */
+void
+ags_soundcard_pcm_info(AgsSoundcard *soundcard, gchar *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->pcm_info);
+ soundcard_interface->pcm_info(soundcard, card_id,
+ channels_min, channels_max,
+ rate_min, rate_max,
+ buffer_size_min, buffer_size_max,
+ error);
+}
+
+/**
+ * ags_soundcard_play:
+ * @soundcard an #AgsSoundcard
+ * @error an error that may occure
+ *
+ * Initializes the soundcard for playback.
+ */
+void
+ags_soundcard_play_init(AgsSoundcard *soundcard,
+ GError **error)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->play_init);
+ soundcard_interface->play_init(soundcard,
+ error);
+}
+
+/**
+ * ags_soundcard_play:
+ * @soundcard an #AgsSoundcard
+ * @error an error that may occure
+ *
+ * Plays the current buffer of soundcard.
+ */
+void
+ags_soundcard_play(AgsSoundcard *soundcard,
+ GError **error)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->play);
+ soundcard_interface->play(soundcard,
+ error);
+}
+
+/**
+ * ags_soundcard_stop:
+ * @soundcard an #AgsSoundcard
+ *
+ * Stops the soundcard from playing to it.
+ */
+void
+ags_soundcard_stop(AgsSoundcard *soundcard)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->stop);
+ soundcard_interface->stop(soundcard);
+}
+
+/**
+ * ags_soundcard_tic:
+ * @soundcard an #AgsSoundcard
+ *
+ * Every call to play may generate a tic.
+ */
+void
+ags_soundcard_tic(AgsSoundcard *soundcard)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->tic);
+ soundcard_interface->tic(soundcard);
+}
+
+/**
+ * ags_soundcard_tic:
+ * @soundcard an #AgsSoundcard
+ *
+ * Callback when counter expires minor note offset.
+ */
+void
+ags_soundcard_offset_changed(AgsSoundcard *soundcard,
+ guint note_offset)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->offset_changed);
+ soundcard_interface->offset_changed(soundcard,
+ note_offset);
+}
+
+/**
+ * ags_soundcard_get_buffer:
+ * @soundcard an #AgsSoundcard
+ *
+ * Get current playback buffer.
+ */
+signed short*
+ags_soundcard_get_buffer(AgsSoundcard *soundcard)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_val_if_fail(AGS_IS_SOUNDCARD(soundcard), NULL);
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_val_if_fail(soundcard_interface->get_buffer, NULL);
+ return(soundcard_interface->get_buffer(soundcard));
+}
+
+/**
+ * ags_soundcard_get_next_buffer:
+ * @soundcard an #AgsSoundcard
+ *
+ * Get future playback buffer.
+ */
+signed short*
+ags_soundcard_get_next_buffer(AgsSoundcard *soundcard)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_val_if_fail(AGS_IS_SOUNDCARD(soundcard), NULL);
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_val_if_fail(soundcard_interface->get_next_buffer, NULL);
+ return(soundcard_interface->get_next_buffer(soundcard));
+}
+
+void
+ags_soundcard_set_note_offset(AgsSoundcard *soundcard,
+ guint note_offset)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_if_fail(AGS_IS_SOUNDCARD(soundcard));
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_if_fail(soundcard_interface->set_note_offset);
+ soundcard_interface->set_note_offset(soundcard,
+ note_offset);
+}
+
+guint
+ags_soundcard_get_note_offset(AgsSoundcard *soundcard)
+{
+ AgsSoundcardInterface *soundcard_interface;
+
+ g_return_val_if_fail(AGS_IS_SOUNDCARD(soundcard), G_MAXUINT);
+ soundcard_interface = AGS_SOUNDCARD_GET_INTERFACE(soundcard);
+ g_return_val_if_fail(soundcard_interface->get_note_offset, G_MAXUINT);
+ return(soundcard_interface->get_note_offset(soundcard));
+}
diff --git a/src/ags/object/ags_soundcard.h b/src/ags/object/ags_soundcard.h
new file mode 100644
index 0000000..243ab78
--- /dev/null
+++ b/src/ags/object/ags_soundcard.h
@@ -0,0 +1,91 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SOUNDCARD_H__
+#define __AGS_SOUNDCARD_H__
+
+#include <glib-object.h>
+
+#include <ags/file/ags_file.h>
+
+#define AGS_TYPE_SOUNDCARD (ags_soundcard_get_type())
+#define AGS_SOUNDCARD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOUNDCARD, AgsSoundcard))
+#define AGS_SOUNDCARD_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SOUNDCARD, AgsSoundcardInterface))
+#define AGS_IS_SOUNDCARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SOUNDCARD))
+#define AGS_IS_SOUNDCARD_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SOUNDCARD))
+#define AGS_SOUNDCARD_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SOUNDCARD, AgsSoundcardInterface))
+
+typedef void AgsSoundcard;
+typedef struct _AgsSoundcardInterface AgsSoundcardInterface;
+
+struct _AgsSoundcardInterface
+{
+ GTypeInterface interface;
+
+ void (*list_cards)(AgsSoundcard *soundcard,
+ GList **card_id, GList **card_name);
+ void (*pcm_info)(AgsSoundcard *soundcard, gchar *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error);
+
+ void (*play_init)(AgsSoundcard *soundcard,
+ GError **error);
+ void (*play)(AgsSoundcard *soundcard,
+ GError **error);
+ void (*stop)(AgsSoundcard *soundcard);
+
+ void (*tic)(AgsSoundcard *soundcard);
+ void (*offset_changed)(AgsSoundcard *soundcard, guint note_offset);
+
+ signed short* (*get_buffer)(AgsSoundcard *soundcard);
+ signed short* (*get_next_buffer)(AgsSoundcard *soundcard);
+
+ void (*set_note_offset)(AgsSoundcard *soundcard,
+ guint note_offset);
+ guint (*get_note_offset)(AgsSoundcard *soundcard);
+};
+
+GType ags_soundcard_get_type();
+
+void ags_soundcard_list_cards(AgsSoundcard *soundcard,
+ GList **card_id, GList **card_name);
+void ags_soundcard_pcm_info(AgsSoundcard *soundcard, gchar *card_id,
+ guint *channels_min, guint *channels_max,
+ guint *rate_min, guint *rate_max,
+ guint *buffer_size_min, guint *buffer_size_max,
+ GError **error);
+
+void ags_soundcard_play_init(AgsSoundcard *soundcard,
+ GError **error);
+void ags_soundcard_play(AgsSoundcard *soundcard,
+ GError **error);
+void ags_soundcard_stop(AgsSoundcard *soundcard);
+
+void ags_soundcard_tic(AgsSoundcard *soundcard);
+void ags_soundcard_offset_changed(AgsSoundcard *soundcard, guint note_offset);
+
+signed short* ags_soundcard_get_buffer(AgsSoundcard *soundcard);
+signed short* ags_soundcard_get_next_buffer(AgsSoundcard *soundcard);
+
+void ags_soundcard_set_note_offset(AgsSoundcard *soundcard,
+ guint note_offset);
+guint ags_soundcard_get_note_offset(AgsSoundcard *soundcard);
+
+#endif /*__AGS_SOUNDCARD_H__*/
diff --git a/src/ags/object/ags_stackable.c b/src/ags/object/ags_stackable.c
new file mode 100644
index 0000000..d4ec8f8
--- /dev/null
+++ b/src/ags/object/ags_stackable.c
@@ -0,0 +1,71 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_stackable.h>
+
+#include <stdio.h>
+
+void ags_stackable_base_init(AgsStackableInterface *interface);
+
+GType
+ags_stackable_get_type()
+{
+ static GType ags_type_stackable = 0;
+
+ if(!ags_type_stackable){
+ static const GTypeInfo ags_stackable_info = {
+ sizeof(AgsStackableInterface),
+ (GBaseInitFunc) ags_stackable_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_stackable = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsStackable\0", &ags_stackable_info,
+ 0);
+ }
+
+ return(ags_type_stackable);
+}
+
+void
+ags_stackable_base_init(AgsStackableInterface *interface)
+{
+ /* empty */
+}
+
+void
+ags_stackable_push(AgsStackable *stackable)
+{
+ AgsStackableInterface *stackable_interface;
+
+ g_return_if_fail(AGS_IS_STACKABLE(stackable));
+ stackable_interface = AGS_STACKABLE_GET_INTERFACE(stackable);
+ g_return_if_fail(stackable_interface->push);
+ stackable_interface->push(stackable);
+}
+
+void
+ags_stackable_pop(AgsStackable *stackable)
+{
+ AgsStackableInterface *stackable_interface;
+
+ g_return_if_fail(AGS_IS_STACKABLE(stackable));
+ stackable_interface = AGS_STACKABLE_GET_INTERFACE(stackable);
+ g_return_if_fail(stackable_interface->pop);
+ stackable_interface->pop(stackable);
+}
diff --git a/src/ags/object/ags_stackable.h b/src/ags/object/ags_stackable.h
new file mode 100644
index 0000000..eaf5eae
--- /dev/null
+++ b/src/ags/object/ags_stackable.h
@@ -0,0 +1,47 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_STACKABLE_H__
+#define __AGS_STACKABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_STACKABLE (ags_stackable_get_type())
+#define AGS_STACKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_STACKABLE, AgsStackable))
+#define AGS_STACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_STACKABLE, AgsStackableInterface))
+#define AGS_IS_STACKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_STACKABLE))
+#define AGS_IS_STACKABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_STACKABLE))
+#define AGS_STACKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_STACKABLE, AgsStackableInterface))
+
+typedef void AgsStackable;
+typedef struct _AgsStackableInterface AgsStackableInterface;
+
+struct _AgsStackableInterface
+{
+ GTypeInterface interface;
+
+ void (*push)(AgsStackable *stackable);
+ void (*pop)(AgsStackable *stackable);
+};
+
+GType ags_stackable_get_type();
+
+void ags_stackable_push(AgsStackable *stackable);
+void ags_stackable_pop(AgsStackable *stackable);
+
+#endif /*__AGS_STACKABLE_H__*/
diff --git a/src/ags/object/ags_tactable.c b/src/ags/object/ags_tactable.c
new file mode 100644
index 0000000..0d31e88
--- /dev/null
+++ b/src/ags/object/ags_tactable.c
@@ -0,0 +1,191 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_tactable.h>
+
+#include <ags/object/ags_marshal.h>
+
+void ags_tactable_class_init(AgsTactableInterface *interface);
+
+/**
+ * SECTION:ags_tactable
+ * @short_description: Unique tempo set or attributes access
+ * @title: AgsTactable
+ * @section_id:
+ * @include: ags/object/ags_tactable.h
+ *
+ * The #AgsTactable interface gives you a unique access to modify tempo.
+ */
+
+GType
+ags_tactable_get_type()
+{
+ static GType tactable_type = 0;
+
+ if(!tactable_type){
+ tactable_type = g_type_register_static_simple(G_TYPE_INTERFACE,
+ "AgsTactable\0",
+ sizeof (AgsTactableInterface),
+ (GClassInitFunc) ags_tactable_class_init,
+ 0, NULL, 0);
+ }
+
+ return tactable_type;
+}
+
+void
+ags_tactable_class_init(AgsTactableInterface *interface)
+{
+ /**
+ * AgsTactable::change-sequencer-duration:
+ * @tactable: the object
+ * @duration: new duration
+ *
+ * The ::change-sequencer-duration signal notifies about changed duration
+ * of sequencer.
+ */
+ g_signal_new("change_sequencer_duration\0",
+ G_TYPE_FROM_INTERFACE(interface),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsTactableInterface, change_sequencer_duration),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
+
+ /**
+ * AgsTactable::change-notation-duration:
+ * @tactable: the object
+ * @duration: new duration
+ *
+ * The ::change-notation-duration signal notifies about changed duration
+ * of notation.
+ */
+ g_signal_new("change_notation_duration\0",
+ G_TYPE_FROM_INTERFACE(interface),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsTactableInterface, change_notation_duration),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
+
+ /**
+ * AgsTactable::change-tact
+ * @tactable: the object
+ * @tact: new tact
+ *
+ * The ::change-tact signal notifies about changed tact.
+ */
+ g_signal_new("change_tact\0",
+ G_TYPE_FROM_INTERFACE(interface),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsTactableInterface, change_tact),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
+
+ /**
+ * AgsTactable::change-bpm:
+ * @tactable: the object
+ * @duration: new duration
+ *
+ * The ::change-bpm signal notifies about changed bpm.
+ */
+ g_signal_new("change_bpm\0",
+ G_TYPE_FROM_INTERFACE(interface),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsTactableInterface, change_bpm),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__DOUBLE,
+ G_TYPE_NONE, 1,
+ G_TYPE_DOUBLE);
+}
+
+/**
+ * ags_tactable_change_sequencer_duration:
+ * @tactable: an #AgsTactable
+ * @duration: the duration
+ *
+ * Sequencer duration changed.
+ */
+void
+ags_tactable_change_sequencer_duration(AgsTactable *tactable, double duration)
+{
+ AgsTactableInterface *tactable_interface;
+
+ g_return_if_fail(AGS_IS_TACTABLE(tactable));
+ tactable_interface = AGS_TACTABLE_GET_INTERFACE(tactable);
+ g_return_if_fail(tactable_interface->change_sequencer_duration);
+ tactable_interface->change_sequencer_duration(tactable, duration);
+}
+
+/**
+ * ags_tactable_change_notation_duration:
+ * @tactable: an #AgsTactable
+ * @duration: the duration
+ *
+ * Notation duration changed.
+ */
+void
+ags_tactable_change_notation_duration(AgsTactable *tactable, double duration)
+{
+ AgsTactableInterface *tactable_interface;
+
+ g_return_if_fail(AGS_IS_TACTABLE(tactable));
+ tactable_interface = AGS_TACTABLE_GET_INTERFACE(tactable);
+ g_return_if_fail(tactable_interface->change_notation_duration);
+ tactable_interface->change_notation_duration(tactable, duration);
+}
+
+/**
+ * ags_tactable_change_tact:
+ * @tactable: an #AgsTactable
+ * @tact: the tact
+ *
+ * Tact changed.
+ */
+void
+ags_tactable_change_tact(AgsTactable *tactable, double tact)
+{
+ AgsTactableInterface *tactable_interface;
+
+ g_return_if_fail(AGS_IS_TACTABLE(tactable));
+ tactable_interface = AGS_TACTABLE_GET_INTERFACE(tactable);
+ g_return_if_fail(tactable_interface->change_tact);
+ tactable_interface->change_tact(tactable, tact);
+}
+
+/**
+ * ags_tactable_change_bpm:
+ * @tactable: an #AgsTactable
+ * @bpm: the bpm
+ *
+ * Bpm changed.
+ */
+void
+ags_tactable_change_bpm(AgsTactable *tactable, double bpm)
+{
+ AgsTactableInterface *tactable_interface;
+
+ g_return_if_fail(AGS_IS_TACTABLE(tactable));
+ tactable_interface = AGS_TACTABLE_GET_INTERFACE(tactable);
+ g_return_if_fail(tactable_interface->change_bpm);
+ tactable_interface->change_bpm(tactable, bpm);
+}
diff --git a/src/ags/object/ags_tactable.h b/src/ags/object/ags_tactable.h
new file mode 100644
index 0000000..bdfe7ca
--- /dev/null
+++ b/src/ags/object/ags_tactable.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TACTABLE_H__
+#define __AGS_TACTABLE_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_TACTABLE (ags_tactable_get_type())
+#define AGS_TACTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TACTABLE, AgsTactable))
+#define AGS_TACTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_TACTABLE, AgsTactableInterface))
+#define AGS_IS_TACTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TACTABLE))
+#define AGS_IS_TACTABLE_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_TACTABLE))
+#define AGS_TACTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_TACTABLE, AgsTactableInterface))
+
+typedef void AgsTactable;
+typedef struct _AgsTactableInterface AgsTactableInterface;
+
+struct _AgsTactableInterface
+{
+ GTypeInterface interface;
+
+ void (*change_sequencer_duration)(AgsTactable *tactable, gdouble duration);
+ void (*change_notation_duration)(AgsTactable *tactable, gdouble duration);
+ void (*change_tact)(AgsTactable *tactable, gdouble tact);
+ void (*change_bpm)(AgsTactable *tactable, gdouble bpm);
+};
+
+GType ags_tactable_get_type();
+
+void ags_tactable_change_sequencer_duration(AgsTactable *tactable, gdouble duration);
+void ags_tactable_change_notation_duration(AgsTactable *tactable, gdouble duration);
+void ags_tactable_change_tact(AgsTactable *tactable, gdouble tact);
+void ags_tactable_change_bpm(AgsTactable *tactable, gdouble bpm);
+
+#endif /*__AGS_TACTABLE_H__*/
diff --git a/src/ags/object/ags_tree_iterator.c b/src/ags/object/ags_tree_iterator.c
new file mode 100644
index 0000000..58e7868
--- /dev/null
+++ b/src/ags/object/ags_tree_iterator.c
@@ -0,0 +1,123 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/object/ags_tree_iterator.h>
+
+#include <stdio.h>
+
+void ags_tree_iterator_base_init(AgsTreeIteratorInterface *interface);
+
+GType
+ags_tree_iterator_get_type()
+{
+ static GType ags_type_tree_iterator = 0;
+
+ if(!ags_type_tree_iterator){
+ static const GTypeInfo ags_tree_iterator_info = {
+ sizeof(AgsTreeIteratorInterface),
+ (GBaseInitFunc) ags_tree_iterator_base_init,
+ NULL, /* base_finalize */
+ };
+
+ ags_type_tree_iterator = g_type_register_static(G_TYPE_INTERFACE,
+ "AgsTreeIterator\0", &ags_tree_iterator_info,
+ 0);
+ }
+
+ return(ags_type_tree_iterator);
+}
+
+void
+ags_tree_iterator_base_init(AgsTreeIteratorInterface *interface)
+{
+ /* empty */
+}
+
+void
+ags_tree_iterator_set_inverse_mode(AgsTreeIterator *tree_iterator, gboolean mode)
+{
+ AgsTreeIteratorInterface *tree_iterator_interface;
+
+ g_return_if_fail(AGS_IS_TREE_ITERATOR(tree_iterator));
+ tree_iterator_interface = AGS_TREE_ITERATOR_GET_INTERFACE(tree_iterator);
+ g_return_if_fail(tree_iterator_interface->set_inverse_mode);
+ tree_iterator_interface->set_inverse_mode(tree_iterator, mode);
+}
+
+gboolean
+ags_tree_iterator_is_inverse_mode(AgsTreeIterator *tree_iterator)
+{
+ AgsTreeIteratorInterface *tree_iterator_interface;
+
+ g_return_val_if_fail(AGS_IS_TREE_ITERATOR(tree_iterator), FALSE);
+ tree_iterator_interface = AGS_TREE_ITERATOR_GET_INTERFACE(tree_iterator);
+ g_return_val_if_fail(tree_iterator_interface->is_inverse_mode, FALSE);
+ tree_iterator_interface->is_inverse_mode(tree_iterator);
+}
+
+void
+ags_tree_iterator_iterate(AgsTreeIterator *tree_iterator,
+ gpointer node_id)
+{
+ AgsTreeIteratorInterface *tree_iterator_interface;
+
+ g_return_if_fail(AGS_IS_TREE_ITERATOR(tree_iterator));
+ tree_iterator_interface = AGS_TREE_ITERATOR_GET_INTERFACE(tree_iterator);
+ g_return_if_fail(tree_iterator_interface->iterate);
+ tree_iterator_interface->iterate(tree_iterator,
+ node_id);
+}
+
+void
+ags_tree_iterator_iterate_nested(AgsTreeIterator *tree_iterator,
+ gpointer node_id)
+{
+ AgsTreeIteratorInterface *tree_iterator_interface;
+
+ g_return_if_fail(AGS_IS_TREE_ITERATOR(tree_iterator));
+ tree_iterator_interface = AGS_TREE_ITERATOR_GET_INTERFACE(tree_iterator);
+ g_return_if_fail(tree_iterator_interface->iterate_nested);
+ tree_iterator_interface->iterate_nested(tree_iterator,
+ node_id);
+}
+
+void
+ags_tree_iterator_safe_iterate(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id)
+{
+ AgsTreeIteratorInterface *tree_iterator_interface;
+
+ g_return_if_fail(AGS_IS_TREE_ITERATOR(toplevel));
+ tree_iterator_interface = AGS_TREE_ITERATOR_GET_INTERFACE(toplevel);
+ g_return_if_fail(tree_iterator_interface->iterate);
+ tree_iterator_interface->safe_iterate(toplevel, current,
+ node_id);
+}
+
+void
+ags_tree_iterator_safe_iterate_nested(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id)
+{
+ AgsTreeIteratorInterface *tree_iterator_interface;
+
+ g_return_if_fail(AGS_IS_TREE_ITERATOR(toplevel));
+ tree_iterator_interface = AGS_TREE_ITERATOR_GET_INTERFACE(toplevel);
+ g_return_if_fail(tree_iterator_interface->iterate);
+ tree_iterator_interface->safe_iterate_nested(toplevel, current,
+ node_id);
+}
diff --git a/src/ags/object/ags_tree_iterator.h b/src/ags/object/ags_tree_iterator.h
new file mode 100644
index 0000000..af87f90
--- /dev/null
+++ b/src/ags/object/ags_tree_iterator.h
@@ -0,0 +1,72 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TREE_ITERATOR_H__
+#define __AGS_TREE_ITERATOR_H__
+
+#include <glib-object.h>
+
+#define AGS_TYPE_TREE_ITERATOR (ags_tree_iterator_get_type())
+#define AGS_TREE_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TREE_ITERATOR, AgsTreeIterator))
+#define AGS_TREE_ITERATOR_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_TREE_ITERATOR, AgsTreeIteratorInterface))
+#define AGS_IS_TREE_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TREE_ITERATOR))
+#define AGS_IS_TREE_ITERATOR_INTERFACE(vtable) (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_TREE_ITERATOR))
+#define AGS_TREE_ITERATOR_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_TREE_ITERATOR, AgsTreeIteratorInterface))
+
+typedef void AgsTreeIterator;
+typedef struct _AgsTreeIteratorInterface AgsTreeIteratorInterface;
+
+struct _AgsTreeIteratorInterface
+{
+ GTypeInterface interface;
+
+ void (*set_inverse_mode)(AgsTreeIterator *tree, gboolean mode);
+ gboolean (*is_inverse_mode)(AgsTreeIterator *tree);
+
+ void (*iterate)(AgsTreeIterator *tree,
+ gpointer node_id);
+ void (*iterate_nested)(AgsTreeIterator *tree,
+ gpointer node_id);
+
+ void (*safe_iterate)(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+ void (*safe_iterate_nested)(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+
+ void (*loop_action)(AgsTreeIterator *current,
+ gpointer node_id);
+ void (*nested_loop_action)(AgsTreeIterator *current,
+ gpointer node_id);
+};
+
+GType ags_tree_iterator_get_type();
+
+void ags_tree_iterator_set_inverse_mode(AgsTreeIterator *tree, gboolean mode);
+gboolean ags_tree_iterator_is_inverse_mode(AgsTreeIterator *tree);
+
+void ags_tree_iterator_iterate(AgsTreeIterator *tree,
+ gpointer node_id);
+void ags_tree_iterator_iterate_nested(AgsTreeIterator *tree,
+ gpointer node_id);
+
+void ags_tree_iterator_safe_iterate(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+void ags_tree_iterator_safe_iterate_nested(AgsTreeIterator *toplevel, AgsTreeIterator *current,
+ gpointer node_id);
+
+#endif /*__AGS_TREE_ITERATOR_H__*/
diff --git a/src/ags/plugin/Makefile b/src/ags/plugin/Makefile
new file mode 100644
index 0000000..e6d0918
--- /dev/null
+++ b/src/ags/plugin/Makefile
@@ -0,0 +1,465 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/plugin/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/plugin
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/plugin
+abs_srcdir = /usr/src/ags-devel/src/ags/plugin
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_plugin_h_sources =
+ags_plugin_h_sources = \
+ $(deprecated_ags_plugin_h_sources) \
+ ags_ladspa_manager.h \
+ ags_plugin_factory.h \
+ ags_plugin_stock.h
+
+deprecated_ags_plugin_c_sources =
+ags_plugin_c_sources = \
+ $(deprecated_ags_plugin_c_sources) \
+ ags_ladspa_manager.c \
+ ags_plugin_factory.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/plugin/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/plugin/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/plugin/Makefile.am b/src/ags/plugin/Makefile.am
new file mode 100644
index 0000000..cdf3bd1
--- /dev/null
+++ b/src/ags/plugin/Makefile.am
@@ -0,0 +1,14 @@
+deprecated_ags_plugin_h_sources =
+
+ags_plugin_h_sources = \
+ $(deprecated_ags_plugin_h_sources) \
+ ags_ladspa_manager.h \
+ ags_plugin_factory.h \
+ ags_plugin_stock.h
+
+deprecated_ags_plugin_c_sources =
+
+ags_plugin_c_sources = \
+ $(deprecated_ags_plugin_c_sources) \
+ ags_ladspa_manager.c \
+ ags_plugin_factory.c
diff --git a/src/ags/plugin/Makefile.in b/src/ags/plugin/Makefile.in
new file mode 100644
index 0000000..27ea912
--- /dev/null
+++ b/src/ags/plugin/Makefile.in
@@ -0,0 +1,465 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/plugin
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_plugin_h_sources =
+ags_plugin_h_sources = \
+ $(deprecated_ags_plugin_h_sources) \
+ ags_ladspa_manager.h \
+ ags_plugin_factory.h \
+ ags_plugin_stock.h
+
+deprecated_ags_plugin_c_sources =
+ags_plugin_c_sources = \
+ $(deprecated_ags_plugin_c_sources) \
+ ags_ladspa_manager.c \
+ ags_plugin_factory.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/plugin/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/plugin/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/plugin/ags_ladspa_manager.c b/src/ags/plugin/ags_ladspa_manager.c
new file mode 100644
index 0000000..fa15c6b
--- /dev/null
+++ b/src/ags/plugin/ags_ladspa_manager.c
@@ -0,0 +1,416 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <ags/object/ags_marshal.h>
+
+#include <ags/plugin/ags_ladspa_manager.h>
+
+#include <dlfcn.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <ladspa.h>
+
+void ags_ladspa_manager_class_init(AgsLadspaManagerClass *ladspa_manager);
+void ags_ladspa_manager_init (AgsLadspaManager *ladspa_manager);
+void ags_ladspa_manager_finalize(GObject *gobject);
+
+/**
+ * SECTION:ags_ladspa_manager
+ * @short_description: Singleton pattern to organize LADSPA
+ * @title: AgsLadspaManager
+ * @section_id:
+ * @include: ags/object/ags_ladspa_manager.h
+ *
+ * The #AgsLadspaManager loads/unloads LADSPA plugins.
+ */
+enum{
+ ADD,
+ CREATE,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_ladspa_manager_parent_class = NULL;
+static guint ladspa_manager_signals[LAST_SIGNAL];
+
+AgsLadspaManager *ags_ladspa_manager = NULL;
+static const gchar *ags_ladspa_default_path = "/usr/lib/ladspa\0";
+
+GType
+ags_ladspa_manager_get_type (void)
+{
+ static GType ags_type_ladspa_manager = 0;
+
+ if(!ags_type_ladspa_manager){
+ static const GTypeInfo ags_ladspa_manager_info = {
+ sizeof (AgsLadspaManagerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ladspa_manager_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsLadspaManager),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ladspa_manager_init,
+ };
+
+ ags_type_ladspa_manager = g_type_register_static(G_TYPE_OBJECT,
+ "AgsLadspaManager\0",
+ &ags_ladspa_manager_info,
+ 0);
+ }
+
+ return (ags_type_ladspa_manager);
+}
+
+void
+ags_ladspa_manager_class_init(AgsLadspaManagerClass *ladspa_manager)
+{
+ GObjectClass *gobject;
+
+ ags_ladspa_manager_parent_class = g_type_class_peek_parent(ladspa_manager);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ladspa_manager;
+
+ gobject->finalize = ags_ladspa_manager_finalize;
+}
+
+void
+ags_ladspa_manager_init(AgsLadspaManager *ladspa_manager)
+{
+ ladspa_manager->ladspa_plugin = NULL;
+}
+
+void
+ags_ladspa_manager_finalize(GObject *gobject)
+{
+ AgsLadspaManager *ladspa_manager;
+ GList *ladspa_plugin;
+
+ ladspa_manager = AGS_LADSPA_MANAGER(gobject);
+
+ ladspa_plugin = ladspa_manager->ladspa_plugin;
+
+ g_list_free_full(ladspa_plugin,
+ ags_ladspa_plugin_free);
+}
+
+/**
+ * ags_ladspa_plugin_alloc:
+ *
+ * Alloc the #AgsLadspaPlugin-struct
+ *
+ * Returns: the #AgsLadspaPlugin-struct
+ *
+ * Since: 0.4
+ */
+AgsLadspaPlugin*
+ags_ladspa_plugin_alloc()
+{
+ AgsLadspaPlugin *ladspa_plugin;
+
+ ladspa_plugin = (AgsLadspaPlugin *) malloc(sizeof(AgsLadspaPlugin));
+
+ ladspa_plugin->flags = 0;
+ ladspa_plugin->filename = NULL;
+ ladspa_plugin->plugin_so = NULL;
+
+ return(ladspa_plugin);
+}
+
+/**
+ * ags_ladspa_plugin_free:
+ * @ladspa_plugin: the #AgsLadspaPlugin-struct
+ *
+ * Free the #AgsLadspaPlugin-struct
+ *
+ * Since: 0.4
+ */
+void
+ags_ladspa_plugin_free(AgsLadspaPlugin *ladspa_plugin)
+{
+ if(ladspa_plugin->plugin_so != NULL){
+ dlclose(ladspa_plugin->plugin_so);
+ }
+
+ free(ladspa_plugin->filename);
+ free(ladspa_plugin);
+}
+
+/**
+ * ags_ladspa_manager_get_filenames:
+ *
+ * Retrieve all filenames
+ *
+ * Returns: a %NULL-terminated array of filenames
+ *
+ * Since: 0.4
+ */
+gchar**
+ags_ladspa_manager_get_filenames()
+{
+ AgsLadspaManager *ladspa_manager;
+ GList *ladspa_plugin;
+ gchar **filenames;
+ guint length;
+ guint i;
+
+ ladspa_manager = ags_ladspa_manager_get_instance();
+ length = g_list_length(ladspa_manager->ladspa_plugin);
+
+ ladspa_plugin = ladspa_manager->ladspa_plugin;
+ filenames = (gchar **) malloc((length + 1) * sizeof(gchar *));
+
+ for(i = 0; i < length; i++){
+ filenames[i] = AGS_LADSPA_PLUGIN(ladspa_plugin->data)->filename;
+ ladspa_plugin = ladspa_plugin->next;
+ }
+
+ filenames[i] = NULL;
+
+ return(filenames);
+}
+
+/**
+ * ags_ladspa_manager_find_ladspa_plugin:
+ * @filename: the filename of the plugin
+ *
+ * Lookup filename in loaded plugins.
+ *
+ * Returns: the #AgsLadspaPlugin-struct
+ *
+ * Since: 0.4
+ */
+AgsLadspaPlugin*
+ags_ladspa_manager_find_ladspa_plugin(gchar *filename)
+{
+ AgsLadspaManager *ladspa_manager;
+ AgsLadspaPlugin *ladspa_plugin;
+ GList *list;
+
+ ladspa_manager = ags_ladspa_manager_get_instance();
+
+ list = ladspa_manager->ladspa_plugin;
+
+ while(list != NULL){
+ ladspa_plugin = AGS_LADSPA_PLUGIN(list->data);
+ if(!g_strcmp0(ladspa_plugin->filename,
+ filename)){
+ return(ladspa_plugin);
+ }
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_ladspa_manager_load_file:
+ * @filename: the filename of the plugin
+ *
+ * Load @filename specified plugin.
+ *
+ * Since: 0.4
+ */
+void
+ags_ladspa_manager_load_file(gchar *filename)
+{
+ AgsLadspaManager *ladspa_manager;
+ AgsLadspaPlugin *ladspa_plugin;
+ gchar *path;
+
+ static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ ladspa_manager = ags_ladspa_manager_get_instance();
+
+ pthread_mutex_lock(&(mutex));
+
+ path = g_strdup_printf("%s/%s\0",
+ ags_ladspa_default_path,
+ filename);
+
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(filename);
+ g_message("loading: %s\0", filename);
+
+ if(ladspa_plugin == NULL){
+ ladspa_plugin = ags_ladspa_plugin_alloc();
+ ladspa_plugin->filename = g_strdup(filename);
+ ladspa_manager->ladspa_plugin = g_list_prepend(ladspa_manager->ladspa_plugin,
+ ladspa_plugin);
+
+ ladspa_plugin->plugin_so = dlopen(path,
+ RTLD_NOW);
+
+ if(ladspa_plugin->plugin_so){
+ dlerror();
+ }
+ }
+
+ pthread_mutex_unlock(&(mutex));
+
+ g_free(path);
+}
+
+/**
+ * ags_ladspa_manager_load_default_directory:
+ *
+ * Loads all available plugins.
+ *
+ * Since: 0.4
+ */
+void
+ags_ladspa_manager_load_default_directory()
+{
+ AgsLadspaManager *ladspa_manager;
+ AgsLadspaPlugin *ladspa_plugin;
+ GDir *dir;
+ gchar *filename;
+ GError *error;
+
+ ladspa_manager = ags_ladspa_manager_get_instance();
+
+ error = NULL;
+ dir = g_dir_open(ags_ladspa_default_path,
+ 0,
+ &error);
+
+ if(error != NULL){
+ g_warning(error->message);
+ }
+
+ while((filename = g_dir_read_name(dir)) != NULL){
+ if(g_str_has_suffix(filename,
+ ".so\0")){
+ ags_ladspa_manager_load_file(filename);
+ }
+ }
+}
+
+/**
+ * ags_ladspa_manager_effect_index:
+ * @filename: the plugin.so filename
+ * @effect: the effect's name within plugin
+ *
+ * Retrieve the effect's index within @filename
+ *
+ * Returns: the index, G_MAXULONG if not found
+ *
+ * Since: 0.4
+ */
+unsigned long
+ags_ladspa_manager_effect_index(gchar *filename,
+ gchar *effect)
+{
+ AgsLadspaPlugin *ladspa_plugin;
+
+ void *plugin_so;
+ LADSPA_Descriptor_Function ladspa_descriptor;
+ LADSPA_Descriptor *plugin_descriptor;
+ LADSPA_PortDescriptor *port_descriptor;
+
+ unsigned long index;
+ unsigned long i;
+
+ if(filename == NULL ||
+ effect == NULL){
+ return(G_MAXULONG);
+ }
+
+ /* load plugin */
+ ags_ladspa_manager_load_file(filename);
+ ladspa_plugin = ags_ladspa_manager_find_ladspa_plugin(filename);
+
+ plugin_so = ladspa_plugin->plugin_so;
+
+ index = G_MAXULONG;
+
+ if(plugin_so){
+ ladspa_descriptor = (LADSPA_Descriptor_Function) dlsym(plugin_so,
+ "ladspa_descriptor\0");
+
+ if(dlerror() == NULL && ladspa_descriptor){
+ for(i = 0; (plugin_descriptor = ladspa_descriptor(i)) != NULL; i++){
+ if(!strncmp(plugin_descriptor->Name,
+ effect,
+ strlen(effect))){
+ index = i;
+ break;
+ }
+ }
+ }
+ }
+
+ return(index);
+}
+
+/**
+ * ags_ladspa_manager_get_instance:
+ *
+ * Get instance.
+ *
+ * Returns: the #AgsLadspaManager
+ *
+ * Since: 0.4
+ */
+AgsLadspaManager*
+ags_ladspa_manager_get_instance()
+{
+ static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ pthread_mutex_lock(&(mutex));
+
+ if(ags_ladspa_manager == NULL){
+ ags_ladspa_manager = ags_ladspa_manager_new();
+
+ pthread_mutex_unlock(&(mutex));
+
+ ags_ladspa_manager_load_default_directory();
+ }else{
+ pthread_mutex_unlock(&(mutex));
+ }
+
+ return(ags_ladspa_manager);
+}
+
+/**
+ * ags_ladspa_manager_new:
+ * @devout: an #AgsDevout
+ *
+ * Creates an #AgsLadspaManager
+ *
+ * Returns: a new #AgsLadspaManager
+ *
+ * Since: 0.4
+ */
+AgsLadspaManager*
+ags_ladspa_manager_new()
+{
+ AgsLadspaManager *ladspa_manager;
+
+ ladspa_manager = (AgsLadspaManager *) g_object_new(AGS_TYPE_LADSPA_MANAGER,
+ NULL);
+
+ return(ladspa_manager);
+}
diff --git a/src/ags/plugin/ags_ladspa_manager.h b/src/ags/plugin/ags_ladspa_manager.h
new file mode 100644
index 0000000..7736532
--- /dev/null
+++ b/src/ags/plugin/ags_ladspa_manager.h
@@ -0,0 +1,81 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LADSPA_MANAGER_H__
+#define __AGS_LADSPA_MANAGER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_TYPE_LADSPA_MANAGER (ags_ladspa_manager_get_type())
+#define AGS_LADSPA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManager))
+#define AGS_LADSPA_MANAGER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManagerClass))
+#define AGS_IS_LADSPA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LADSPA_MANAGER))
+#define AGS_IS_LADSPA_MANAGER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LADSPA_MANAGER))
+#define AGS_LADSPA_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LADSPA_MANAGER, AgsLadspaManagerClass))
+
+#define AGS_LADSPA_PLUGIN(ptr) ((AgsLadspaPlugin *)(ptr))
+
+typedef struct _AgsLadspaManager AgsLadspaManager;
+typedef struct _AgsLadspaManagerClass AgsLadspaManagerClass;
+typedef struct _AgsLadspaPlugin AgsLadspaPlugin;
+
+typedef enum{
+ AGS_LADSPA_PLUGIN_IS_LOADED = 1,
+}AgsLadspaPluginFlags;
+
+struct _AgsLadspaManager
+{
+ GObject object;
+
+ GList *ladspa_plugin;
+};
+
+struct _AgsLadspaManagerClass
+{
+ GObjectClass object;
+};
+
+struct _AgsLadspaPlugin
+{
+ guint flags;
+
+ gchar *filename;
+ void *plugin_so;
+};
+
+GType ags_ladspa_manager_get_type(void);
+
+AgsLadspaPlugin* ags_ladspa_plugin_alloc();
+void ags_ladspa_plugin_free(AgsLadspaPlugin *ladspa_plugin);
+
+gchar** ags_ladspa_manager_get_filenames();
+AgsLadspaPlugin* ags_ladspa_manager_find_ladspa_plugin(gchar *filename);
+
+void ags_ladspa_manager_load_file(gchar *filename);
+void ags_ladspa_manager_load_default_directory();
+
+unsigned long ags_ladspa_manager_effect_index(gchar *filename,
+ gchar *effect);
+
+/* */
+AgsLadspaManager* ags_ladspa_manager_get_instance();
+
+AgsLadspaManager* ags_ladspa_manager_new();
+
+#endif /*__AGS_LADSPA_MANAGER_H__*/
diff --git a/src/ags/plugin/ags_plugin_factory.c b/src/ags/plugin/ags_plugin_factory.c
new file mode 100644
index 0000000..b9a39a3
--- /dev/null
+++ b/src/ags/plugin/ags_plugin_factory.c
@@ -0,0 +1,224 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/plugin/ags_plugin_factory.h>
+
+#include <ags/object/ags_marshal.h>
+
+void ags_plugin_factory_class_init(AgsPluginFactoryClass *plugin_factory);
+void ags_plugin_factory_init (AgsPluginFactory *plugin_factory);
+void ags_plugin_factory_finalize(GObject *gobject);
+
+void ags_plugin_factory_real_add(AgsPluginFactory *plugin_factory,
+ GType plugin_type, gchar *plugin_name,
+ gchar *version, gchar *build_id,
+ gchar *xml_type,
+ GParameter *control, guint control_count);
+AgsPlugin* ags_plugin_factory_real_create(AgsPluginFactory *plugin_factory,
+ gchar *plugin_name, gchar *version, gchar *build_id);
+
+enum{
+ ADD,
+ CREATE,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_plugin_factory_parent_class = NULL;
+static guint plugin_factory_signals[LAST_SIGNAL];
+
+static AgsPluginFactory *ags_plugin_factory = NULL;
+
+GType
+ags_plugin_factory_get_type (void)
+{
+ static GType ags_type_plugin_factory = 0;
+
+ if(!ags_type_plugin_factory){
+ static const GTypeInfo ags_plugin_factory_info = {
+ sizeof (AgsPluginFactoryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_plugin_factory_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPluginFactory),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_plugin_factory_init,
+ };
+
+ ags_type_plugin_factory = g_type_register_static(G_TYPE_OBJECT,
+ "AgsPluginFactory\0",
+ &ags_plugin_factory_info,
+ 0);
+ }
+
+ return (ags_type_plugin_factory);
+}
+
+void
+ags_plugin_factory_class_init(AgsPluginFactoryClass *plugin_factory)
+{
+ GObjectClass *gobject;
+
+ ags_plugin_factory_parent_class = g_type_class_peek_parent(plugin_factory);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) plugin_factory;
+
+ gobject->finalize = ags_plugin_factory_finalize;
+
+ /* */
+ plugin_factory->add = ags_plugin_factory_real_add;
+ plugin_factory->create = ags_plugin_factory_real_create;
+
+ plugin_factory_signals[ADD] =
+ g_signal_new("add\0",
+ G_TYPE_FROM_CLASS (plugin_factory),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPluginFactoryClass, add),
+ NULL, NULL,
+ g_cclosure_user_marshal_STRING__ULONG_STRING_STRING_STRING_STRING_UINT_POINTER,
+ G_TYPE_OBJECT, 7,
+ G_TYPE_ULONG,
+ G_TYPE_STRING,
+ G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
+ G_TYPE_UINT, G_TYPE_POINTER);
+
+ plugin_factory_signals[CREATE] =
+ g_signal_new("create\0",
+ G_TYPE_FROM_CLASS (plugin_factory),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPluginFactoryClass, create),
+ NULL, NULL,
+ g_cclosure_user_marshal_OBJECT__STRING_STRING_STRING,
+ G_TYPE_OBJECT, 3,
+ G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
+}
+
+void
+ags_plugin_factory_init(AgsPluginFactory *plugin_factory)
+{
+ plugin_factory->plugin = NULL;
+}
+
+void
+ags_plugin_factory_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_plugin_factory_read_file(AgsPluginFactory *plugin_factory,
+ gchar *path)
+{
+ //TODO:JK: implement me
+}
+
+GList*
+ags_plugin_factory_list_by_name(AgsPluginFactory *plugin_factory,
+ gchar *plugin_name)
+{
+ GList *list;
+
+ list = NULL;
+
+ //TODO:JK: implement me
+
+ return(list);
+}
+
+void
+ags_plugin_factory_real_add(AgsPluginFactory *plugin_factory,
+ GType plugin_type, gchar *plugin_name,
+ gchar *version, gchar *build_id,
+ gchar *xml_type,
+ GParameter *control, guint control_count)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_plugin_factory_add(AgsPluginFactory *plugin_factory,
+ GType plugin_type, gchar *plugin_name,
+ gchar *version, gchar *build_id,
+ gchar *xml_type,
+ GParameter *control, guint control_count)
+{
+ //TODO:JK: implement me
+}
+
+AgsPlugin*
+ags_plugin_factory_real_create(AgsPluginFactory *plugin_factory,
+ gchar *plugin_name, gchar *version, gchar *build_id)
+{
+ AgsPlugin *plugin;
+
+ plugin = NULL;
+
+ //TODO:JK: implement me
+
+ return(plugin);
+}
+
+AgsPlugin*
+ags_plugin_factory_create(AgsPluginFactory *plugin_factory,
+ gchar *plugin_name, gchar *version, gchar *build_id)
+{
+ //TODO:JK: implement me
+}
+
+AgsPluginFactory*
+ags_plugin_factory_get_instance()
+{
+ pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ pthread_mutex_lock(&(mutex));
+
+ if(ags_plugin_factory == NULL){
+ ags_plugin_factory = ags_plugin_factory_new();
+ }
+
+ pthread_mutex_unlock(&(mutex));
+
+ return(ags_plugin_factory);
+}
+
+AgsPluginFactory*
+ags_plugin_factory_new_from_file(gchar *path)
+{
+ AgsPluginFactory *plugin_factory;
+
+ plugin_factory = (AgsPluginFactory *) g_object_new(AGS_TYPE_PLUGIN_FACTORY,
+ NULL);
+
+ ags_plugin_factory_read_file(plugin_factory,
+ path);
+
+ return(plugin_factory);
+}
+
+AgsPluginFactory*
+ags_plugin_factory_new()
+{
+ AgsPluginFactory *plugin_factory;
+
+ plugin_factory = (AgsPluginFactory *) g_object_new(AGS_TYPE_PLUGIN_FACTORY,
+ NULL);
+
+ return(plugin_factory);
+}
diff --git a/src/ags/plugin/ags_plugin_factory.h b/src/ags/plugin/ags_plugin_factory.h
new file mode 100644
index 0000000..df6f4f9
--- /dev/null
+++ b/src/ags/plugin/ags_plugin_factory.h
@@ -0,0 +1,98 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLUGIN_FACTORY_H__
+#define __AGS_PLUGIN_FACTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/object/ags_plugin.h>
+
+#define AGS_TYPE_PLUGIN_FACTORY (ags_plugin_factory_get_type())
+#define AGS_PLUGIN_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactory))
+#define AGS_PLUGIN_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactoryClass))
+#define AGS_IS_PLUGIN_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLUGIN_FACTORY))
+#define AGS_IS_PLUGIN_FACTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PLUGIN_FACTORY))
+#define AGS_PLUGIN_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_PLUGIN_FACTORY, AgsPluginFactoryClass))
+
+typedef struct _AgsPluginFactory AgsPluginFactory;
+typedef struct _AgsPluginFactoryClass AgsPluginFactoryClass;
+typedef struct _AgsPluginMetadata AgsPluginMetadata;
+
+struct _AgsPluginFactory
+{
+ GObject object;
+
+ GList *plugin;
+};
+
+struct _AgsPluginFactoryClass
+{
+ GObjectClass object;
+
+ void (*add)(AgsPluginFactory *plugin_factory,
+ GType plugin_type,
+ gchar *plugin_name,
+ gchar *version, gchar *build_id,
+ gchar *xml_type,
+ GParameter *control, guint control_count);
+
+ AgsPlugin* (*create)(AgsPluginFactory *plugin_factory,
+ gchar *xml_type);
+};
+
+struct _AgsPluginMetadata
+{
+ GType plugin_type;
+ gchar *plugin_name;
+
+ gchar *version;
+ gchar *build_id;
+
+ gchar *xml_type;
+
+ GParameter *control;
+ guint control_count;
+};
+
+GType ags_plugin_factory_get_type(void);
+
+void ags_plugin_factory_read_file(AgsPluginFactory *plugin_factory,
+ gchar *path);
+
+GList* ags_plugin_factory_list_by_name(AgsPluginFactory *plugin_factory,
+ gchar *plugin_name);
+
+void ags_plugin_factory_add(AgsPluginFactory *plugin_factory,
+ GType plugin_type,
+ gchar *plugin_name,
+ gchar *version, gchar *build_id,
+ gchar *xml_type,
+ GParameter *control, guint control_count);
+
+AgsPlugin* ags_plugin_factory_create(AgsPluginFactory *plugin_factory,
+ gchar *plugin_name, gchar *version, gchar *build_id);
+
+/* */
+AgsPluginFactory* ags_plugin_factory_get_instance();
+
+AgsPluginFactory* ags_plugin_factory_new_from_file(gchar *path);
+AgsPluginFactory* ags_plugin_factory_new();
+
+#endif /*__AGS_PLUGIN_FACTORY_H__*/
diff --git a/src/ags/plugin/ags_plugin_stock.h b/src/ags/plugin/ags_plugin_stock.h
new file mode 100644
index 0000000..f15f784
--- /dev/null
+++ b/src/ags/plugin/ags_plugin_stock.h
@@ -0,0 +1,27 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PLUGIN_STOCK_H__
+#define __AGS_PLUGIN_STOCK_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define AGS_PLUGIN_NAME_VOLUME "ags-volume\0"
+
+#endif /*__AGS_PLUGIN_STOCK_H__*/
diff --git a/src/ags/server/Makefile b/src/ags/server/Makefile
new file mode 100644
index 0000000..63b4561
--- /dev/null
+++ b/src/ags/server/Makefile
@@ -0,0 +1,466 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/server/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/server
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/server
+abs_srcdir = /usr/src/ags-devel/src/ags/server
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_server_h_sources =
+ags_server_h_sources = \
+ $(deprecated_ags_server_h_sources) \
+ ags_registry.h \
+ ags_remote_task.h \
+ ags_server.h
+
+deprecated_ags_server_c_sources =
+ags_server_c_sources = \
+ $(deprecated_ags_server_c_sources) \
+ ags_registry.c \
+ ags_remote_task.c \
+ ags_server.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/server/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/server/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/server/Makefile.am b/src/ags/server/Makefile.am
new file mode 100644
index 0000000..0a3ad82
--- /dev/null
+++ b/src/ags/server/Makefile.am
@@ -0,0 +1,16 @@
+deprecated_ags_server_h_sources =
+
+ags_server_h_sources = \
+ $(deprecated_ags_server_h_sources) \
+ ags_registry.h \
+ ags_remote_task.h \
+ ags_server.h
+
+deprecated_ags_server_c_sources =
+
+ags_server_c_sources = \
+ $(deprecated_ags_server_c_sources) \
+ ags_registry.c \
+ ags_remote_task.c \
+ ags_server.c
+
diff --git a/src/ags/server/Makefile.in b/src/ags/server/Makefile.in
new file mode 100644
index 0000000..0ccc818
--- /dev/null
+++ b/src/ags/server/Makefile.in
@@ -0,0 +1,466 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/server
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_server_h_sources =
+ags_server_h_sources = \
+ $(deprecated_ags_server_h_sources) \
+ ags_registry.h \
+ ags_remote_task.h \
+ ags_server.h
+
+deprecated_ags_server_c_sources =
+ags_server_c_sources = \
+ $(deprecated_ags_server_c_sources) \
+ ags_registry.c \
+ ags_remote_task.c \
+ ags_server.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/server/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/server/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/server/ags_registry.c b/src/ags/server/ags_registry.c
new file mode 100644
index 0000000..7975147
--- /dev/null
+++ b/src/ags/server/ags_registry.c
@@ -0,0 +1,272 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/server/ags_registry.h>
+
+#include <stdlib.h>
+
+#include <ags/util/ags_id_generator.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/server/ags_server.h>
+
+void ags_registry_class_init(AgsRegistryClass *registry);
+void ags_registry_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_registry_init(AgsRegistry *registry);
+void ags_registry_add_to_registry(AgsConnectable *connectable);
+void ags_registry_remove_from_registry(AgsConnectable *connectable);
+void ags_registry_connect(AgsConnectable *connectable);
+void ags_registry_disconnect(AgsConnectable *connectable);
+void ags_registry_finalize(GObject *gobject);
+
+static gpointer ags_registry_parent_class = NULL;
+
+GType
+ags_registry_get_type()
+{
+ static GType ags_type_registry = 0;
+
+ if(!ags_type_registry){
+ static const GTypeInfo ags_registry_info = {
+ sizeof (AgsRegistryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_registry_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRegistry),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_registry_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_registry_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_registry = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRegistry\0",
+ &ags_registry_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_registry,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_registry);
+}
+
+void
+ags_registry_class_init(AgsRegistryClass *registry)
+{
+ GObjectClass *gobject;
+
+ ags_registry_parent_class = g_type_class_peek_parent(registry);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) registry;
+
+ gobject->finalize = ags_registry_finalize;
+}
+
+void
+ags_registry_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = ags_registry_add_to_registry;
+ connectable->remove_from_registry = ags_registry_remove_from_registry;
+ connectable->connect = ags_registry_connect;
+ connectable->disconnect = ags_registry_disconnect;
+}
+
+void
+ags_registry_init(AgsRegistry *registry)
+{
+ registry->flags = 0;
+
+ pthread_mutex_init(&(registry->mutex),
+ NULL);
+
+ registry->previous = NULL;
+ registry->current = NULL;
+
+#ifdef AGS_WITH_XMLRPC_C
+ registry->registry = NULL;
+#endif
+
+ registry->id_length = AGS_REGISTRY_DEFAULT_ID_LENGTH;
+ registry->counter = 0;
+
+ registry->entry = NULL;
+}
+
+void
+ags_registry_add_to_registry(AgsConnectable *connectable)
+{
+ AgsServer *server;
+ AgsRegistry *registry;
+ struct xmlrpc_method_info3 *method_info;
+
+ registry = AGS_REGISTRY(connectable);
+ server = AGS_SERVER(registry->server);
+
+#ifdef AGS_WITH_XMLRPC_C
+ /* bulk */
+ method_info = (struct xmlrpc_method_info3 *) malloc(sizeof(struct xmlrpc_method_info3));
+ method_info->methodName = "ags_registry_entry_bulk\0";
+ method_info->methodFunction = &ags_registry_entry_bulk;
+ method_info->serverInfo = NULL;
+ xmlrpc_registry_add_method3(&(AGS_MAIN(server->main)->env),
+ registry->registry,
+ method_info);
+#endif /* AGS_WITH_XMLRPC_C */
+}
+
+void
+ags_registry_remove_from_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_registry_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_registry_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_registry_finalize(GObject *gobject)
+{
+ AgsRegistry *registry;
+
+ registry = AGS_REGISTRY(gobject);
+
+ G_OBJECT_CLASS(ags_registry_parent_class)->finalize(gobject);
+}
+
+AgsRegistryEntry*
+ags_registry_entry_alloc(AgsRegistry *registry)
+{
+ AgsRegistryEntry *registry_entry;
+
+ registry_entry = (AgsRegistryEntry *) malloc(sizeof(AgsRegistryEntry));
+
+ registry_entry->id = ags_id_generator_create_uuid();
+
+ return(registry_entry);
+}
+
+void
+ags_registry_add(AgsRegistry *registry,
+ AgsRegistryEntry *registry_entry)
+{
+ pthread_mutex_lock(&(registry->mutex));
+
+ registry->entry = g_list_prepend(registry->entry,
+ registry_entry);
+
+ pthread_mutex_unlock(&(registry->mutex));
+}
+
+AgsRegistryEntry*
+ags_registry_entry_find(AgsRegistry *registry,
+ gchar *id)
+{
+ static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+
+ GList *current;
+ AgsRegistryEntry *entry;
+
+ pthread_mutex_lock(&(registry->mutex));
+
+ current = registry->entry;
+
+ while(current != NULL){
+ entry = (AgsRegistryEntry *) current->data;
+
+ if(!strncmp(entry->id,
+ id,
+ registry->id_length)){
+ return(entry);
+ }
+
+ current = current->next;
+ }
+
+ pthread_mutex_unlock(&(registry->mutex));
+
+ return(entry);
+}
+
+#ifdef AGS_WITH_XMLRPC_C
+xmlrpc_value*
+ags_registry_entry_bulk(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info)
+{
+ AgsServer *server;
+ AgsRegistry *registry;
+ AgsRegistryEntry *entry;
+ GList *current;
+ xmlrpc_value *bulk;
+ xmlrpc_value *item;
+
+ server = ags_server_lookup(server_info);
+ registry = server->registry;
+
+ bulk = xmlrpc_array_new(env);
+
+ pthread_mutex_lock(&(registry->mutex));
+
+ current = registry->entry;
+
+ while(current != NULL){
+ entry = (AgsRegistryEntry *) current->data;
+ item = xmlrpc_string_new(env, entry->id);
+
+ xmlrpc_array_append_item(env, bulk, item);
+
+ current = current->next;
+ }
+
+ pthread_mutex_unlock(&(registry->mutex));
+
+ return(bulk);
+}
+#endif /* AGS_WITH_XMLRPC_C */
+
+AgsRegistry*
+ags_registry_new()
+{
+ AgsRegistry *registry;
+
+ registry = (AgsRegistry *) g_object_new(AGS_TYPE_REGISTRY,
+ NULL);
+
+ return(registry);
+}
diff --git a/src/ags/server/ags_registry.h b/src/ags/server/ags_registry.h
new file mode 100644
index 0000000..d2bfe89
--- /dev/null
+++ b/src/ags/server/ags_registry.h
@@ -0,0 +1,87 @@
+#ifndef __AGS_REGISTRY_H__
+#define __AGS_REGISTRY_H__
+
+#include <pthread.h>
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_WITH_XMLRPC_C
+#include <xmlrpc.h>
+#include <xmlrpc_server.h>
+#endif
+
+#include <ags/file/ags_file.h>
+
+#define AGS_TYPE_REGISTRY (ags_registry_get_type())
+#define AGS_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REGISTRY, AgsRegistry))
+#define AGS_REGISTRY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_REGISTRY, AgsRegistryClass))
+#define AGS_IS_REGISTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_REGISTRY))
+#define AGS_IS_REGISTRY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_REGISTRY))
+#define AGS_REGISTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_REGISTRY, AgsRegistryClass))
+
+#define AGS_REGISTRY_DEFAULT_ID_LENGTH 16
+
+typedef struct _AgsRegistry AgsRegistry;
+typedef struct _AgsRegistryClass AgsRegistryClass;
+typedef struct _AgsRegistryEntry AgsRegistryEntry;
+
+typedef enum{
+ AGS_REGISTRY_XML_DOCUMENT = 1,
+ AGS_REGISTRY_XML_RPC = 1 << 1,
+ AGS_REGISTRY_DIRTY = 1 << 2,
+};
+
+struct _AgsRegistry
+{
+ GObject object;
+
+ guint flags;
+
+ pthread_mutex_t mutex;
+
+ AgsFile *previous;
+ AgsFile *current;
+
+#ifdef AGS_WITH_XMLRPC_C
+ xmlrpc_registry *registry;
+#endif
+
+ GObject *server;
+
+ guint id_length;
+ guint counter;
+
+ GList *entry;
+};
+
+struct _AgsRegistryClass
+{
+ GObjectClass object;
+};
+
+struct _AgsRegistryEntry
+{
+ gchar *id;
+ GValue entry;
+};
+
+GType ags_registry_get_type();
+
+AgsRegistryEntry* ags_registry_entry_alloc(AgsRegistry *registry);
+
+void ags_registry_add(AgsRegistry *registry,
+ AgsRegistryEntry *registry_entry);
+
+AgsRegistryEntry* ags_registry_entry_find(AgsRegistry *registry,
+ gchar *id);
+
+#ifdef AGS_WITH_XMLRPC_C
+xmlrpc_value* ags_registry_entry_bulk(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info);
+#endif
+
+AgsRegistry* ags_registry_new();
+
+#endif /*__AGS_REGISTRY_H__*/
diff --git a/src/ags/server/ags_remote_task.c b/src/ags/server/ags_remote_task.c
new file mode 100644
index 0000000..20af4ba
--- /dev/null
+++ b/src/ags/server/ags_remote_task.c
@@ -0,0 +1,240 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/server/ags_remote_task.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/server/ags_server.h>
+#include <ags/server/ags_registry.h>
+
+#include <ags/audio/ags_task.h>
+
+void ags_remote_task_class_init(AgsRemoteTaskClass *remote_task);
+void ags_remote_task_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_remote_task_init(AgsRemoteTask *remote_task);
+void ags_remote_task_add_to_registry(AgsConnectable *connectable);
+void ags_remote_task_remove_from_registry(AgsConnectable *connectable);
+void ags_remote_task_connect(AgsConnectable *connectable);
+void ags_remote_task_disconnect(AgsConnectable *connectable);
+void ags_remote_task_finalize(GObject *gobject);
+
+void* ags_remote_task_launch_timed_thread(void *ptr);
+
+static gpointer ags_remote_task_parent_class = NULL;
+
+GType
+ags_remote_task_get_type()
+{
+ static GType ags_type_remote_task = 0;
+
+ if(!ags_type_remote_task){
+ static const GTypeInfo ags_remote_task_info = {
+ sizeof (AgsRemoteTaskClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_remote_task_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRemoteTask),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_remote_task_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_remote_task_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_remote_task = g_type_register_static(G_TYPE_OBJECT,
+ "AgsRemoteTask\0",
+ &ags_remote_task_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_remote_task,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_remote_task);
+}
+
+void
+ags_remote_task_class_init(AgsRemoteTaskClass *remote_task)
+{
+ GObjectClass *gobject;
+
+ ags_remote_task_parent_class = g_type_class_peek_parent(remote_task);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) remote_task;
+
+ gobject->finalize = ags_remote_task_finalize;
+}
+
+void
+ags_remote_task_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = ags_remote_task_add_to_registry;
+ connectable->remove_from_registry = ags_remote_task_remove_from_registry;
+ connectable->connect = ags_remote_task_connect;
+ connectable->disconnect = ags_remote_task_disconnect;
+}
+
+void
+ags_remote_task_init(AgsRemoteTask *remote_task)
+{
+ remote_task->server = NULL;
+}
+
+void
+ags_remote_task_add_to_registry(AgsConnectable *connectable)
+{
+ AgsServer *server;
+ AgsRegistry *registry;
+ AgsRemoteTask *remote_task;
+ struct xmlrpc_method_info3 *method_info;
+
+ remote_task = AGS_REMOTE_TASK(connectable);
+
+ server = AGS_SERVER(remote_task->server);
+ registry = AGS_REGISTRY(server->registry);
+
+#ifdef AGS_WITH_XMLRPC_C
+ /* bulk */
+ method_info = (struct xmlrpc_method_info3 *) malloc(sizeof(struct xmlrpc_method_info3));
+ method_info->methodName = "ags_remote_task_launch\0";
+ method_info->methodFunction = &ags_remote_task_launch;
+ method_info->serverInfo = NULL;
+ xmlrpc_registry_add_method3(&(AGS_MAIN(server->main)->env),
+ registry->registry,
+ method_info);
+#endif /* AGS_WITH_XMLRPC_C */
+}
+
+void
+ags_remote_task_remove_from_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_remote_task_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_remote_task_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_remote_task_finalize(GObject *gobject)
+{
+ AgsRemoteTask *remote_task;
+
+ remote_task = AGS_REMOTE_TASK(gobject);
+
+ G_OBJECT_CLASS(ags_remote_task_parent_class)->finalize(gobject);
+}
+
+#ifdef AGS_WITH_XMLRPC_C
+xmlrpc_value*
+ags_remote_task_launch(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info)
+{
+ AgsServer *server;
+ AgsTask *task;
+ AgsRegistryEntry *registry_entry;
+ gchar *registry_id;
+ xmlrpc_value *item;
+
+ if(xmlrpc_array_size(env, param_array) != 1){
+ return(NULL);
+ }
+
+ server = ags_server_lookup(server_info);
+
+ /* read registry id */
+ xmlrpc_array_read_item(env, param_array, 1, &item);
+ xmlrpc_read_string(env, item, ®istry_id);
+ xmlrpc_DECREF(item);
+
+ registry_entry = ags_registry_entry_find(server->registry,
+ registry_id);
+ task = (AgsTask *) g_value_get_object(&(registry_entry->entry));
+
+ /* launch */
+ ags_task_launch(task);
+
+ return(NULL);
+}
+
+void*
+ags_remote_task_launch_timed_thread(void *ptr)
+{
+ //TODO:JK: implement me
+}
+
+xmlrpc_value*
+ags_remote_task_launch_timed(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info)
+{
+ AgsServer *server;
+ AgsTask *task;
+ AgsRegistryEntry *registry_entry;
+ gchar *registry_id;
+ xmlrpc_value *item;
+
+ if(xmlrpc_array_size(env, param_array) != 1){
+ return(NULL);
+ }
+
+ server = ags_server_lookup(server_info);
+
+ /* read registry id */
+ xmlrpc_array_read_item(env, param_array, 1, &item);
+ xmlrpc_read_string(env, item, ®istry_id);
+ xmlrpc_DECREF(item);
+
+ registry_entry = ags_registry_entry_find(server->registry,
+ registry_id);
+ task = (AgsTask *) g_value_get_object(&(registry_entry->entry));
+
+ /* launch timed */
+ //TODO:JK: implement me
+}
+#endif /* AGS_WITH_XMLRPC_C */
+
+AgsRemoteTask*
+ags_remote_task_new()
+{
+ AgsRemoteTask *remote_task;
+
+ remote_task = (AgsRemoteTask *) g_object_new(AGS_TYPE_REMOTE_TASK,
+ NULL);
+
+ return(remote_task);
+}
diff --git a/src/ags/server/ags_remote_task.h b/src/ags/server/ags_remote_task.h
new file mode 100644
index 0000000..a7a4bb0
--- /dev/null
+++ b/src/ags/server/ags_remote_task.h
@@ -0,0 +1,49 @@
+#ifndef __AGS_REMOTE_TASK_H__
+#define __AGS_REMOTE_TASK_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_WITH_XMLRPC_C
+#include <xmlrpc.h>
+#include <xmlrpc_server.h>
+#endif
+
+#define AGS_TYPE_REMOTE_TASK (ags_remote_task_get_type())
+#define AGS_REMOTE_TASK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_REMOTE_TASK, AgsRemoteTask))
+#define AGS_REMOTE_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_REMOTE_TASK, AgsRemoteTaskClass))
+#define AGS_IS_REMOTE_TASK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_REMOTE_TASK))
+#define AGS_IS_REMOTE_TASK_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_REMOTE_TASK))
+#define AGS_REMOTE_TASK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_REMOTE_TASK, AgsRemoteTaskClass))
+
+typedef struct _AgsRemoteTask AgsRemoteTask;
+typedef struct _AgsRemoteTaskClass AgsRemoteTaskClass;
+
+struct _AgsRemoteTask
+{
+ GObject object;
+
+ GObject *server;
+};
+
+struct _AgsRemoteTaskClass
+{
+ GObjectClass object;
+};
+
+GType ags_remote_task_get_type();
+
+
+#ifdef AGS_WITH_XMLRPC_C
+xmlrpc_value* ags_remote_task_launch(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info);
+
+xmlrpc_value* ags_remote_task_launch_timed(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info);
+#endif
+
+AgsRemoteTask* ags_remote_task_new();
+
+#endif /*__AGS_REMOTE_TASK_H__*/
diff --git a/src/ags/server/ags_server.c b/src/ags/server/ags_server.c
new file mode 100644
index 0000000..39f9509
--- /dev/null
+++ b/src/ags/server/ags_server.c
@@ -0,0 +1,429 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#include <ags/server/ags_server.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+void ags_server_class_init(AgsServerClass *server);
+void ags_server_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_server_init(AgsServer *server);
+void ags_server_add_to_registry(AgsConnectable *connectable);
+void ags_server_remove_from_registry(AgsConnectable *connectable);
+void ags_server_connect(AgsConnectable *connectable);
+void ags_server_disconnect(AgsConnectable *connectable);
+void ags_server_finalize(GObject *gobject);
+
+void ags_server_real_start(AgsServer *server);
+
+enum{
+ START,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_server_parent_class = NULL;
+static guint server_signals[LAST_SIGNAL];
+
+static GList *ags_server_list = NULL;
+
+GType
+ags_server_get_type()
+{
+ static GType ags_type_server = 0;
+
+ if(!ags_type_server){
+ static const GTypeInfo ags_server_info = {
+ sizeof (AgsServerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_server_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsServer),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_server_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_server_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_server = g_type_register_static(G_TYPE_OBJECT,
+ "AgsServer\0",
+ &ags_server_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_server,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_server);
+}
+
+void
+ags_server_class_init(AgsServerClass *server)
+{
+ GObjectClass *gobject;
+
+ ags_server_parent_class = g_type_class_peek_parent(server);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) server;
+
+ gobject->finalize = ags_server_finalize;
+
+ /* AgsServer */
+ server->start = ags_server_real_start;
+
+ server_signals[START] =
+ g_signal_new("start\0",
+ G_TYPE_FROM_CLASS(server),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsServerClass, start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_server_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->add_to_registry = ags_server_add_to_registry;
+ connectable->remove_from_registry = ags_server_remove_from_registry;
+ connectable->connect = ags_server_connect;
+ connectable->disconnect = ags_server_disconnect;
+}
+
+void
+ags_server_init(AgsServer *server)
+{
+ server->flags = 0;
+
+ memset(&(server->address), 0, sizeof(struct sockaddr_in));
+ server->address.sin_port = 8080;
+ server->address.sin_family = AF_INET;
+ inet_aton("127.0.0.1\0", &(server->address.sin_addr.s_addr));
+
+ server->server_info = NULL;
+
+ server->main = NULL;
+
+ server->registry = ags_registry_new();
+ server->remote_task = ags_remote_task_new();
+}
+
+void
+ags_server_add_to_registry(AgsConnectable *connectable)
+{
+ AgsServer *server;
+ AgsRegistry *registry;
+
+#ifdef AGS_WITH_XMLRPC_C
+ struct xmlrpc_method_info3 *method_info;
+#endif /* AGS_WITH_XMLRPC_C */
+
+ server = AGS_SERVER(connectable);
+
+ registry = AGS_REGISTRY(server->registry);
+
+
+#ifdef AGS_WITH_XMLRPC_C
+ /* create object */
+ method_info = (struct xmlrpc_method_info3 *) malloc(sizeof(struct xmlrpc_method_info3));
+ method_info->methodName = "ags_server_create_object\0";
+ method_info->methodFunction = &ags_server_create_object;
+ method_info->serverInfo = NULL;
+ xmlrpc_registry_add_method3(&(AGS_MAIN(server->main)->env),
+ registry->registry,
+ method_info);
+
+ /* set property */
+ method_info = (struct xmlrpc_method_info3 *) malloc(sizeof(struct xmlrpc_method_info3));
+ method_info->methodName = "ags_server_object_set_property\0";
+ method_info->methodFunction = &ags_server_object_set_property;
+ method_info->serverInfo = NULL;
+ xmlrpc_registry_add_method3(&(AGS_MAIN(server->main)->env),
+ registry->registry,
+ method_info);
+#endif /* AGS_WITH_XMLRPC_C */
+
+ /* children */
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(server->registry));
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(server->remote_task));
+}
+
+void
+ags_server_remove_from_registry(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_server_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_server_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_server_finalize(GObject *gobject)
+{
+ AgsServer *server;
+
+ server = AGS_SERVER(gobject);
+
+ G_OBJECT_CLASS(ags_server_parent_class)->finalize(gobject);
+}
+
+void
+ags_server_real_start(AgsServer *server)
+{
+ AgsMain *main;
+ AgsRegistry *registry;
+ const char *error;
+
+ main = AGS_MAIN(server->main);
+
+ registry = AGS_REGISTRY(server->registry);
+#ifdef AGS_WITH_XMLRPC_C
+ registry->registry = xmlrpc_registry_new(&(main->env));
+#endif /* AGS_WITH_XMLRPC_C */
+
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(main->main_loop));
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(server));
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(main->devout));
+ ags_connectable_add_to_registry(AGS_CONNECTABLE(main->window));
+
+ // xmlrpc_registry_set_shutdown(registry,
+ // &requestShutdown, &terminationRequested);
+ server->socket_fd = socket(AF_INET, SOCK_RDM, PF_INET);
+ bind(server->socket_fd, &(server->address), sizeof(struct sockaddr_in));
+
+#ifdef AGS_WITH_XMLRPC_C
+ SocketUnixCreateFd(server->socket_fd, &(server->socket));
+
+ ServerCreateSocket2(&(server->abyss_server), server->socket, &error);
+ xmlrpc_server_abyss_set_handlers2(&(server->abyss_server), "/RPC2", registry->registry);
+ ServerInit(&(server->abyss_server));
+ // setupSignalHandlers();
+
+ while((AGS_SERVER_RUNNING & (server->flags)) != 0){
+ printf("Waiting for next RPC...\n");
+ ServerRunOnce(&(server->abyss_server));
+ /* This waits for the next connection, accepts it, reads the
+ HTTP POST request, executes the indicated RPC, and closes
+ the connection.
+ */
+ }
+#endif /* AGS_WITH_XMLRPC_C */
+}
+
+void
+ags_server_start(AgsServer *server)
+{
+ g_return_if_fail(AGS_IS_SERVER(server));
+
+ g_object_ref((GObject *) server);
+ g_signal_emit(G_OBJECT(server),
+ server_signals[START], 0);
+ g_object_unref((GObject *) server);
+}
+
+AgsServer*
+ags_server_lookup(void *server_info)
+{
+ GList *current;
+
+ current = ags_server_list;
+
+ while(current != NULL){
+ if(server_info == AGS_SERVER(current)->server_info){
+ return(AGS_SERVER(current->data));
+ }
+
+ current = current->next;
+ }
+
+ return(NULL);
+}
+
+#ifdef AGS_WITH_XMLRPC_C
+xmlrpc_value*
+ags_server_create_object(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info)
+{
+ AgsServer *server;
+ GType type;
+ GObjectClass *object_class;
+ GParameter *parameter;
+ GObject *object;
+ AgsRegistryEntry *registry_entry;
+ gchar *type_name;
+ xmlrpc_value *item, *retval;
+ guint n_params;
+ guint i;
+
+ if(xmlrpc_array_size(env, param_array) % 2 != 1){
+ return(NULL);
+ }
+
+ server = ags_server_lookup(server_info);
+
+ /* read type */
+ xmlrpc_array_read_item(env, param_array, 0, &item);
+ xmlrpc_read_string(env, item, &type_name);
+ xmlrpc_DECREF(item);
+
+ type = g_type_from_name(type_name);
+ object_class = g_type_class_ref(type);
+
+ /* read parameters */
+ n_params = (xmlrpc_array_size(env, param_array) - 1) / 2;
+ parameter = g_new(GParameter, n_params);
+
+ for(i = 0; i < n_params; i++){
+ GParamSpec *pspec;
+ AgsRegistryEntry *registry_entry;
+ gchar *param_name, *registry_id;
+ gchar *error;
+
+ /* read parameter name */
+ xmlrpc_array_read_item(env, param_array, 1 + i * 2, &item);
+ xmlrpc_read_string(env, item, ¶m_name);
+ xmlrpc_DECREF(item);
+
+ pspec = g_object_class_find_property(object_class,
+ param_name);
+
+ parameter[i].name = param_name;
+ parameter[i].value.g_type = 0;
+
+ /* read registry id */
+ xmlrpc_array_read_item(env, param_array, 2 + i * 2, &item);
+ xmlrpc_read_string(env, item, ®istry_id);
+ xmlrpc_DECREF(item);
+
+ /* find registry entry */
+ registry_entry = ags_registry_entry_find(server->registry,
+ registry_id);
+
+ /* copy GValue from registry entry to parameter array */
+ g_value_init(¶meter[i].value, G_PARAM_SPEC_VALUE_TYPE(pspec));
+ g_value_copy(&(registry_entry->entry),
+ ¶meter[i].value);
+
+ /* free not needed strings */
+ g_free(param_name);
+ g_free(registry_id);
+
+ if(error){
+ g_warning ("%s: %s\0", G_STRFUNC, error);
+ g_free (error);
+ g_value_unset (¶meter[i].value);
+ break;
+ }
+ }
+
+ /* instantiate object */
+ object = g_object_newv(type,
+ n_params,
+ parameter);
+
+ registry_entry = ags_registry_entry_alloc(server->registry);
+ g_value_init(&(registry_entry->entry),
+ G_TYPE_OBJECT);
+ g_value_set_object(&(registry_entry->entry),
+ object);
+
+ /* create return value */
+ retval = xmlrpc_string_new(env, registry_entry->id);
+
+ return(retval);
+}
+
+xmlrpc_value*
+ags_server_object_set_property(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info)
+{
+ AgsServer *server;
+ GObject *object, *property;
+ AgsRegistryEntry *registry_entry;
+ gchar *param_name, *registry_id;
+ xmlrpc_value *item;
+
+ if(xmlrpc_array_size(env, param_array) != 3){
+ return(NULL);
+ }
+
+ server = ags_server_lookup(server_info);
+
+ /* read registry id */
+ xmlrpc_array_read_item(env, param_array, 1, &item);
+ xmlrpc_read_string(env, item, ®istry_id);
+ xmlrpc_DECREF(item);
+
+ registry_entry = ags_registry_entry_find(server->registry,
+ registry_id);
+ object = g_value_get_object(&(registry_entry->entry));
+
+ /* read parameter name */
+ xmlrpc_array_read_item(env, param_array, 1, &item);
+ xmlrpc_read_string(env, item, ¶m_name);
+ xmlrpc_DECREF(item);
+
+ /* read registry id of object to set as property */
+ xmlrpc_array_read_item(env, param_array, 1, &item);
+ xmlrpc_read_string(env, item, ®istry_id);
+ xmlrpc_DECREF(item);
+
+ registry_entry = ags_registry_entry_find(server->registry,
+ registry_id);
+ property = g_value_get_object(&(registry_entry->entry));
+
+ /* set property */
+ g_object_set(object,
+ param_name, property,
+ NULL);
+
+ return(NULL);
+}
+#endif /* AGS_WITH_XMLRPC_C */
+
+AgsServer*
+ags_server_new(GObject *main)
+{
+ AgsServer *server;
+
+ server = (AgsServer *) g_object_new(AGS_TYPE_SERVER,
+ NULL);
+
+ server->main = main;
+
+ return(server);
+}
diff --git a/src/ags/server/ags_server.h b/src/ags/server/ags_server.h
new file mode 100644
index 0000000..3b26cf2
--- /dev/null
+++ b/src/ags/server/ags_server.h
@@ -0,0 +1,87 @@
+#ifndef __AGS_SERVER_H__
+#define __AGS_SERVER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <netinet/in.h>
+
+#include <sys/types.h>
+#include <sys/socket.h>
+
+#ifdef AGS_WITH_XMLRPC_C
+#include <xmlrpc-c/util.h>
+
+#include <xmlrpc-c/base.h>
+#include <xmlrpc-c/abyss.h>
+#include <xmlrpc-c/server.h>
+#include <xmlrpc-c/server_abyss.h>
+#endif
+
+//#include "config.h"
+
+#include <ags/server/ags_registry.h>
+#include <ags/server/ags_remote_task.h>
+
+#define AGS_TYPE_SERVER (ags_server_get_type())
+#define AGS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERVER, AgsServer))
+#define AGS_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SERVER, AgsServerClass))
+#define AGS_IS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SERVER))
+#define AGS_IS_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SERVER))
+#define AGS_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SERVER, AgsServerClass))
+
+typedef struct _AgsServer AgsServer;
+typedef struct _AgsServerClass AgsServerClass;
+
+typedef enum{
+ AGS_SERVER_STARTED = 1,
+ AGS_SERVER_RUNNING = 1 << 1,
+}AgsServerFlags;
+
+struct _AgsServer
+{
+ GObject object;
+
+ guint flags;
+
+#ifdef AGS_WITH_XMLRPC_C
+ TServer abyss_server;
+ TSocket *socket;
+#endif
+ int socket_fd;
+ struct sockaddr_in address;
+
+ void *server_info;
+
+ GObject *main;
+
+ AgsRegistry *registry;
+ AgsRemoteTask *remote_task;
+};
+
+struct _AgsServerClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsServer *server);
+};
+
+GType ags_server_get_type();
+
+void ags_server_start(AgsServer *server);
+
+AgsServer* ags_server_lookup(void *server_info);
+
+#ifdef AGS_WITH_XMLRPC_C
+xmlrpc_value* ags_server_create_object(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info);
+
+xmlrpc_value* ags_server_object_set_property(xmlrpc_env *env,
+ xmlrpc_value *param_array,
+ void *server_info);
+#endif
+
+AgsServer* ags_server_new(GObject *main);
+
+#endif /*__AGS_SERVER_H__*/
diff --git a/src/ags/server/ags_server_application_context.c b/src/ags/server/ags_server_application_context.c
new file mode 100644
index 0000000..b5bc26e
--- /dev/null
+++ b/src/ags/server/ags_server_application_context.c
@@ -0,0 +1,197 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_server_application_context_class_init(AgsServerApplicationContextClass *server_application_context);
+void ags_server_application_context_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_server_application_context_init(AgsServerApplicationContext *server_application_context);
+void ags_server_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_server_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_server_application_context_connect(AgsConnectable *connectable);
+void ags_server_application_context_disconnect(AgsConnectable *connectable);
+void ags_server_application_context_finalize(GObject *gobject);
+
+static AgsConnectableInterface* ags_server_application_context_parent_connectable_interface;
+
+GType
+ags_server_application_context_get_type()
+{
+ static GType ags_type_server_application_context = 0;
+
+ if(!ags_type_server_application_context){
+ static const GTypeInfo ags_server_application_context_info = {
+ sizeof (AgsServerApplicationContextClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_server_application_context_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsServerApplicationContext),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_server_application_context_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_server_application_context_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_server_application_context = g_type_register_static(AGS_TYPE_APPLICATION_CONTEXT,
+ "AgsServerApplicationContext\0",
+ &ags_server_application_context_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_server_application_context,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_server_application_context);
+}
+
+void
+ags_server_application_context_class_init(AgsServerApplicationContextClass *server_application_context)
+{
+ GObjectClass *gobject;
+ AgsApplicationContextClass *application_context;
+
+ ags_server_application_context_parent_class = g_type_class_peek_parent(ags_server_application_context);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ags_server_application_context;
+
+ gobject->set_property = ags_server_application_context_set_property;
+ gobject->get_property = ags_server_application_context_get_property;
+
+ gobject->finalize = ags_server_application_context_finalize;
+
+ /* AgsServerApplicationContextClass */
+ application_context = (AgsApplicationContextClass *) server_application_context_class;
+
+ application_context->load_config = ags_server_application_context_load_config;
+ application_context->register_types = ags_server_application_context_register_types;
+}
+
+void
+ags_server_application_context_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_server_application_context_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_server_application_context_connect;
+ connectable->disconnect = ags_server_application_context_disconnect;
+}
+
+void
+ags_server_application_context_init(AgsServerApplicationContext *server_application_context)
+{
+ server_application_context->flags = 0;
+}
+
+void
+ags_server_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_server_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_server_application_context_connect(AgsConnectable *connectable)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_SERVER_APPLICATION_CONTEXT_CONNECTED & (server_application_context->flags)) != 0){
+ return;
+ }
+
+ ags_server_application_context_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_server_application_context_disconnect(AgsConnectable *connectable)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_SERVER_APPLICATION_CONTEXT_CONNECTED & (server_application_context->flags)) == 0){
+ return;
+ }
+
+ ags_server_application_context_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_server_application_context_finalize(GObject *gobject)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ G_OBJECT_CLASS(ags_server_application_context_parent_class)->finalize(gobject);
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(gobject);
+}
+
+AgsServerApplicationContext*
+ags_server_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = (AgsServerApplicationContext *) g_object_new(AGS_TYPE_SERVER_APPLICATION_CONTEXT,
+ "main-loop\0", main_loop,
+ "config\0", config,
+ NULL);
+
+ return(server_application_context);
+}
diff --git a/src/ags/server/ags_server_application_context.h b/src/ags/server/ags_server_application_context.h
new file mode 100644
index 0000000..d28d9b4
--- /dev/null
+++ b/src/ags/server/ags_server_application_context.h
@@ -0,0 +1,79 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SERVER_APPLICATION_CONTEXT_H__
+#define __AGS_SERVER_APPLICATION_CONTEXT_H__
+
+#ifdef AGS_WITH_XMLRPC_C
+#include <xmlrpc-c/base.h>
+#include <xmlrpc-c/abyss.h>
+#include <xmlrpc-c/server.h>
+#include <xmlrpc-c/server_abyss.h>
+#endif
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/object/ags_application_context.h>
+
+#include <ags/server/ags_server.h>
+
+#define AGS_TYPE_SERVER_APPLICATION_CONTEXT (ags_server_application_context_get_type())
+#define AGS_SERVER_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERVER_APPLICATION_CONTEXT, AgsServerApplicationContext))
+#define AGS_SERVER_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SERVER_APPLICATION_CONTEXT, AgsServerApplicationContextClass))
+#define AGS_IS_SERVER_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SERVER_APPLICATION_CONTEXT))
+#define AGS_IS_SERVER_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SERVER_APPLICATION_CONTEXT))
+#define AGS_SERVER_APPLICATION_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SERVER_APPLICATION_CONTEXT, AgsServerApplicationContextClass))
+
+#define AGS_SERVER_BUILD_ID "Thu Apr 2 13:04:21 GMT 2015\0"
+#define AGS_SERVER_DEFAULT_VERSION "0.4.3\0"
+
+typedef struct _AgsServerApplicationContext AgsServerApplicationContext;
+typedef struct _AgsServerApplicationContextClass AgsServerApplicationContextClass;
+
+typedef enum{
+ AGS_SERVER_APPLICATION_CONTEXT_ENABLE_SERVER = 1,
+}AgsServerApplicationContextFlags;
+
+struct _AgsServerApplicationContext
+{
+ AgsApplicationContext application_context;
+
+ guint flags;
+
+ gchar *version;
+ gchar *build_id;
+
+#ifdef AGS_WITH_XMLRPC_C
+ xmlrpc_env env;
+#endif
+
+ AgsServer *server;
+};
+
+struct _AgsServerApplicationContextClass
+{
+ AgsApplicationContextClass application_context;
+};
+
+GType ags_server_application_context_get_type();
+
+AgsServerApplicationContext* ags_server_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config);
+
+#endif /*__AGS_SERVER_APPLICATION_CONTEXT_H__*/
diff --git a/src/ags/server/ags_server_application_cotext.c b/src/ags/server/ags_server_application_cotext.c
new file mode 100644
index 0000000..a8de5a4
--- /dev/null
+++ b/src/ags/server/ags_server_application_cotext.c
@@ -0,0 +1,199 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_server_application_context_class_init(AgsServerApplicationContextClass *server_application_context);
+void ags_server_application_context_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_server_application_context_init(AgsServerApplicationContext *server_application_context);
+void ags_server_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_server_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_server_application_context_connect(AgsConnectable *connectable);
+void ags_server_application_context_disconnect(AgsConnectable *connectable);
+void ags_server_application_context_finalize(GObject *gobject);
+
+static AgsConnectableInterface* ags_server_application_context_parent_connectable_interface;
+
+GType
+ags_server_application_context_get_type()
+{
+ static GType ags_type_server_application_context = 0;
+
+ if(!ags_type_server_application_context){
+ static const GTypeInfo ags_server_application_context_info = {
+ sizeof (AgsServerApplicationContextClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_server_application_context_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsServerApplicationContext),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_server_application_context_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_server_application_context_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_server_application_context = g_type_register_static(AGS_TYPE_APPLICATION_CONTEXT,
+ "AgsServerApplicationContext\0",
+ &ags_server_application_context_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_server_application_context,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_server_application_context);
+}
+
+void
+ags_server_application_context_class_init(AgsServerApplicationContextClass *server_application_context)
+{
+ GObjectClass *gobject;
+ AgsApplicationContextClass *application_context;
+
+ ags_server_application_context_parent_class = g_type_class_peek_parent(ags_server_application_context);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ags_server_application_context;
+
+ gobject->set_property = ags_server_application_context_set_property;
+ gobject->get_property = ags_server_application_context_get_property;
+
+ gobject->finalize = ags_server_application_context_finalize;
+
+ /* AgsServerApplicationContextClass */
+ application_context = (AgsApplicationContextClass *) server_application_context_class;
+
+ application_context->load_config = ags_server_application_context_load_config;
+ application_context->register_types = ags_server_application_context_register_types;
+}
+
+void
+ags_server_application_context_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_server_application_context_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_server_application_context_connect;
+ connectable->disconnect = ags_server_application_context_disconnect;
+}
+
+void
+ags_server_application_context_init(AgsServerApplicationContext *server_application_context)
+{
+ server_application_context->flags = 0;
+
+ application_context->server = NULL;
+}
+
+void
+ags_server_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_server_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_server_application_context_connect(AgsConnectable *connectable)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_SERVER_APPLICATION_CONTEXT_CONNECTED & (server_application_context->flags)) != 0){
+ return;
+ }
+
+ ags_server_application_context_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_server_application_context_disconnect(AgsConnectable *connectable)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_SERVER_APPLICATION_CONTEXT_CONNECTED & (server_application_context->flags)) == 0){
+ return;
+ }
+
+ ags_server_application_context_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_server_application_context_finalize(GObject *gobject)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ G_OBJECT_CLASS(ags_server_application_context_parent_class)->finalize(gobject);
+
+ server_application_context = AGS_SERVER_APPLICATION_CONTEXT(gobject);
+}
+
+AgsServerApplicationContext*
+ags_server_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config)
+{
+ AgsServerApplicationContext *server_application_context;
+
+ server_application_context = (AgsServerApplicationContext *) g_object_new(AGS_TYPE_SERVER_APPLICATION_CONTEXT,
+ "main-loop\0", main_loop,
+ "config\0", config,
+ NULL);
+
+ return(server_application_context);
+}
diff --git a/src/ags/test/ags_test_sndfile.c b/src/ags/test/ags_test_sndfile.c
new file mode 100644
index 0000000..6b43044
--- /dev/null
+++ b/src/ags/test/ags_test_sndfile.c
@@ -0,0 +1,68 @@
+#include <glib.h>
+#include <glib-object.h>
+
+#include <sndfile.h>
+
+static const gchar *filename = "/usr/share/hydrogen/data/drumkits/Synthie-1/chh_01.wav\0";
+
+int
+main(int argc, char **argv)
+{
+ SF_INFO *info;
+ SNDFILE *file;
+ signed short *input;
+ signed short *output;
+ sf_count_t multi_frames, retval;
+ guint i;
+
+ info = (SF_INFO *) malloc(sizeof(SF_INFO));
+ info->format = 0;
+
+ /* read buffer */
+ file = (SNDFILE *) sf_open(filename, SFM_READ, info);
+ g_message("open %s\n format: %x\0", filename, info->format);
+
+ input = (signed short *) malloc((size_t) info->channels *
+ info->frames *
+ sizeof(signed short));
+
+ sf_seek(file, 0, SEEK_SET);
+ sf_read_short(file, input, info->frames * info->channels);
+
+ multi_frames = info->frames * info->channels;
+
+ sf_close(file);
+ free(info);
+
+ /* write buffer */
+ info = (SF_INFO *) malloc(sizeof(SF_INFO));
+ info->seekable = 0;
+ info->sections = 0;
+ info->frames = 0;
+ info->channels = 2;
+ info->samplerate = 44100;
+ info->format = (SF_FORMAT_WAV | SF_FORMAT_PCM_16);
+
+ file = (SNDFILE *) sf_open("test.wav\0", SFM_WRITE, info);
+ g_message("open %s\n format: %x\0", "test.wav\0", info->format);
+
+ output = (signed short *) malloc((size_t) info->channels *
+ info->frames *
+ sizeof(signed short));
+
+ for(i = 0; i < multi_frames; i++)
+ output[i] = input[i];
+
+ retval = sf_write_short(file, output, multi_frames);
+
+ if(retval > multi_frames){
+ g_warning("retval > multi_frames");
+ // sf_seek(sndfile->file, (multi_frames - retval), SEEK_CUR);
+ }
+
+ sf_write_sync(file);
+ sf_close(file);
+
+ return(0);
+}
+
diff --git a/src/ags/test/ags_test_thread.c b/src/ags/test/ags_test_thread.c
new file mode 100644
index 0000000..ffba5e4
--- /dev/null
+++ b/src/ags/test/ags_test_thread.c
@@ -0,0 +1,64 @@
+#include <libxml/tree.h>
+#include <glib-object.h>
+
+#include <ags/thread/ags_thread.h>
+
+#define AGS_TEST_THREAD_DEFAULT_ENCODING "UTF-8\0"
+#define AGS_TEST_THREAD_DEFAULT_FILE "./thread_tree.xml\0"
+
+AgsThread* ags_test_thread_create_audio_loop(xmlNode *current);
+AgsThread* ags_test_thread_create_thread(xmlNode *current);
+AgsThread* ags_test_thread_read_thread(xmlNode *current);
+
+static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
+static FILE *log;
+
+AgsThread*
+ags_test_thread_create_audio_loop(AgsThread *thread, xmlNode *current)
+{
+}
+
+AgsThread*
+ags_test_thread_create_thread(AgsThread *thread, xmlNode *current)
+{
+}
+
+void
+ags_test_thread_read_thread(AgsThread *thread, xmlNode *current)
+{
+ while(current != NULL){
+ if(current->type == XML_ELEMENT_NODE && !xmlStrncmp("thread\0", current->name, 6)){
+ ags_test_thread_create_thread(current);
+ }
+
+ current = current->next;
+ }
+}
+
+int
+main(int argc, char **argv)
+{
+ AgsThread *thread;
+ xmlDoc *doc;
+ xmlNode *current;
+ char *name;
+ char *encoding;
+ char *dtd;
+
+ log = fopen("./log\0", "a\0");
+ name = AGS_TEST_THREAD_DEFAULT_FILE;
+ encoding = AGS_TEST_THREAD_DEFAULT_ENCODING;
+
+ doc = xmlReadFile(name, NULL, 0);
+
+ if(doc == NULL){
+ return(-1);
+ }
+
+ thread = (AgsThread *) ags_audio_loop_new();
+ current = xmlDocGetRootElement(doc);
+
+ ags_test_thread_read_thread(thread, current);
+
+ return(0);
+}
diff --git a/src/ags/test/ags_test_thread_pool.c b/src/ags/test/ags_test_thread_pool.c
new file mode 100644
index 0000000..be5c3bf
--- /dev/null
+++ b/src/ags/test/ags_test_thread_pool.c
@@ -0,0 +1,52 @@
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/main.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_main_loop.h>
+
+#include <ags/thread/ags_thread-posix.h>
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_returnable_thread.h>
+#include <ags/thread/ags_thread_pool.h>
+
+int
+main(int argc, char **argv)
+{
+ AgsMain *ags_main;
+ AgsThread *audio_loop;
+ AgsReturnableThread *thread;
+ AgsThreadPool *thread_pool;
+
+ gtk_init(&argc, &argv);
+
+ ags_main = ags_main_new();
+
+ ags_main->main_loop =
+ audio_loop = ags_audio_loop_new(NULL, ags_main);
+ g_object_ref(G_OBJECT(audio_loop));
+ ags_connectable_connect(AGS_CONNECTABLE(audio_loop));
+
+ /* start thread tree */
+ ags_thread_start(audio_loop);
+
+ /* complete thread pool */
+ thread_pool = ags_thread_pool_new(ags_main);
+
+ thread_pool->parent = audio_loop;
+ ags_thread_pool_start(thread_pool);
+
+ while(TRUE){
+ thread = ags_thread_pool_pull(thread_pool);
+ g_atomic_int_or(&(AGS_RETURNABLE_THREAD(thread)->flags),
+ AGS_RETURNABLE_THREAD_IN_USE);
+ g_object_unref(thread);
+ }
+
+ pthread_join(audio_loop->thread,
+ NULL);
+
+ return(0);
+}
diff --git a/src/ags/test/lib/jmath.c b/src/ags/test/lib/jmath.c
new file mode 100644
index 0000000..036dc08
--- /dev/null
+++ b/src/ags/test/lib/jmath.c
@@ -0,0 +1,2699 @@
+#include "jmath.h"
+//#include "jthread.h"
+
+int j_math_or(int a, int b);
+int j_math_exclusive_or(int a, int b);
+int j_math_and(int a, int b);
+JList* j_math_or_list(JList *a, JList *b);
+JList* j_math_exclusive_or_list(JList *a, JList *b);
+JList* j_math_and_list(JList *a, JList *b);
+
+JList* j_math_left_move_list_value(JList *a, uint b);
+JList* j_math_right_move_list_value(JList *a, uint b);
+JList* j_math_left_move_list(JList *list0, JList *list1);
+JList* j_math_right_move_list(JList *list0, JList *list1);
+
+//void __j_math_equal(uint a, uint b, jboolean sign, jboolean sign_equal, uint value0, uint *value1, jboolean *jump);
+uint _j_math_equal(int a, int b);
+jboolean j_math_equal(int a, int b);
+jboolean j_math_equal_list(JList *a, JList *b);
+
+jboolean _j_math_more(uint a, uint b);
+jboolean _j_math_more_list(JList *list_a, JList *a_next, JList *list_b, JList *b_next);
+jboolean j_math_more_list(JList *a, JList *b);
+jboolean _j_math_less(uint a, uint b);
+jboolean _j_math_less_list(JList *list_a, JList *a_next, JList *list_b, JList *b_next);
+jboolean j_math_less_list(JList *a, JList *b);
+
+void _j_math_addition(int a, int b, uint *destination, uint values);
+int j_math_addition(int a, int b);
+void j_math_uaddition(uint a, uint b, uint *destination, uint values);
+void __j_math_addition_list(JList *a, JList *b, uint *pntr, uint value1, uint *part, JList *list);
+void __j_math_addition_list_zero(JList *tmp, JList *zero, uint *pntr, uint value1, uint *part, JList *list);
+void _j_math_addition_list(JList *a, JList *b, uint *destination, uint values);
+JList* j_math_addition_list(JList *a, JList *b);
+JList* j_math_uaddition_list(JList *a, JList *b);
+void _j_math_subtraction(int a, int b, uint *destination, uint values);
+int j_math_subtraction(int a, int b);
+void j_math_usubtraction(uint a, uint b, uint *destination, uint values);
+void _j_math_subtraction_list(JList *a, JList *b, uint *destination, uint values);
+JList* j_math_subtraction_list(JList *a, JList *b);
+JList* j_math_usubtraction_list(JList *a, JList *b);
+int _j_math_multiplication(int a, int b);
+JList* _j_math_multiplication_list(JList *a, JList *b);
+int j_math_multiplication(int a, int b);
+JList* j_math_multiplication_list(JList *a, JList *b);
+uint j_math_umultiplication(uint a, uint b);
+JList* j_math_umultiplication_list(JList *a, JList *b);
+JList* _j_math_division_list(JList *a, JList *b);
+int j_math_division(int a, int b, uint *destination, uint values);
+void j_math_division_list(JList *a, JList *b, uint *pntr, uint values);
+uint j_math_udivision(uint a, uint b);
+JList* j_math_udivision_list(JList *a, JList *b);
+int j_math_rest(int a, int b);
+JList* j_math_rest_list(JList *a, JList *b);
+
+//#define j_math_equal_bit(a, b, value) if(value & a)
+#define j_math_more_bit(a, b, value) if(value & a){if(!(value & b)){return(FALSE);}}else if(value & b){return(TRUE);}
+#define j_math_less_bit(a, b, value) if(value & a){if(!(value & b)){return(TRUE);}}else if(value & b){return(FALSE);}
+
+typedef enum
+{
+ J_MATH_EQUAL,
+ J_MATH_LESS,
+ J_MATH_MORE,
+ J_MATH_SIGN,
+};
+
+#define J_MATH_EQUAL_LESS(a, b, value) ((J_MATH_MORE & (value = _j_math_equal(a, b))) || ((J_MATH_LESS | J_MATH_SIGN) & VALUE) || (J_MATH_EQUAL & value)) ? TRUE: FALSE)
+#define J_MATH_EQUAL_MORE(a, b, value) ((J_MATH_LESS & (value = _j_math_equal(a, b))) || ((J_MATH_MORE | J_MATH_SIGN) & VALUE) || (J_MATH_EQUAL & value)) ? TRUE: FALSE)
+#define J_MATH_EQUAL_RESPECT_SIGN(a, b, value) (((J_MATH_EQUAL | J_MATH_SIGN) & (value = _j_math_equal(a, b))) ? FALSE: TRUE)
+#define j_math_equal_less(a, b) (!j_math_more(a, b))
+#define j_math_equal_more(a, b) (!j_math_less(a, b))
+#define j_math_equal_less_list(a, b) (!j_math_more_list(a, b))
+#define j_math_equal_more_list(a, b) (!j_math_less_list(a, b))
+
+#define __J_MATH_NO_LEADING_ZEROS__
+
+int
+j_math_or(int a, int b)
+{
+ int value;
+
+ return(value);
+}
+
+int
+j_math_exclusive_or(int a, int b)
+{
+ int value;
+
+ return(value);
+}
+
+int
+j_math_and(int a, int b)
+{
+ int value;
+
+ return(value);
+}
+
+JList*
+j_math_or_list(JList *a, JList *b)
+{
+ JList *list0, *list1;
+
+ if(a == NULL || b == NULL)
+ return(NULL);
+
+ list0 = j_list_alloc();
+ goto j_math_or_list0;
+
+ while(a != NULL && b != NULL){
+ list0->prev = j_list_alloc();
+ list0->prev->next = list0;
+ list0 = list0->prev;
+ j_math_or_list0:
+ list0->data = (jpointer) (((uint) a->data) | ((uint) b->data));
+
+ a = a->prev;
+ b = b->prev;
+ }
+
+ if(b == NULL)
+ list1 = a;
+ else
+ list1 = b;
+
+ while(list1 != NULL){
+ list0->prev = j_list_alloc();
+ list0->prev->next = list0;
+ list0 = list0->prev;
+ list0->data = list1->data;
+
+ list1 = list1->prev;
+ }
+
+ return(list0);
+}
+
+JList*
+j_math_exclusive_or_list(JList *a, JList *b)
+{
+ JList *list0, *list1;
+
+ if(a == NULL || b == NULL)
+ return(NULL);
+
+ list0 = j_list_alloc();
+ goto j_math_exclusive_or_list0;
+
+ while(a != NULL && b != NULL){
+ list0->prev = j_list_alloc();
+ list0->prev->next = list0;
+ list0 = list0->prev;
+ j_math_exclusive_or_list0:
+ list0->data = (jpointer) (((uint) a->data) ^ ((uint) b->data));
+
+ a = a->prev;
+ b = b->prev;
+ }
+
+ if(b == NULL)
+ list1 = a;
+ else
+ list1 = b;
+
+ while(list1 != NULL){
+ list0->prev = j_list_alloc();
+ list0->prev->next = list0;
+ list0 = list0->prev;
+ list0->data = list1->data;
+
+ list1 = list1->prev;
+ }
+
+ return(list0);
+}
+
+JList*
+j_math_and_list(JList *a, JList *b)
+{
+ JList *list;
+
+ if(a == NULL || b == NULL)
+ return(NULL);
+
+ list = j_list_alloc();
+ goto j_math_and_list0;
+
+ while(a != NULL && b != NULL){
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ j_math_and_list0:
+ list->data = (jpointer) (((uint) a->data) & ((uint) b->data));
+
+ a = a->prev;
+ b = b->prev;
+ }
+
+ return(list);
+}
+
+JList*
+j_math_left_move_list_stepwise(JList *list0, JList *list1)
+{
+ JList *start, *list, *list_set, *list0_set;
+ JList *i0, *i1, *i_set0, *i_set1, *one;
+ uint value, word;
+ jboolean keep0, keep1;
+
+ i0 = j_list_alloc();
+ i_set0 =
+ i0->data = (jpointer) 0;
+
+ one = j_list_alloc();
+ one->data = (jpointer) 1;
+
+ keep1 = FALSE;
+ list0_set = list0;
+
+ start =
+ list =
+ list_set = j_list_alloc();
+ value = 1 << (sizeof(uint) * 8 -1);
+
+ if(j_math_less_list(list1, i0))
+ goto j_math_left_move_list_stepwise0;
+
+ for(;j_math_less_list(list1, i0);){
+ j_list_destroy(i1);
+ i1 = j_math_addition_list(i0, one);
+ keep0 = FALSE;
+
+ for(i0 = i_set0, word = 0, list = list_set, list0 = list0_set; j_math_less_list(list1, i0); word++){
+ j_list_destroy(i1);
+ j_math_left_move_list_stepwise0:
+ i1 = j_math_addition_list(i0, one);
+
+ if(!(word < sizeof(uint) * 8)){
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ list_set = list_set->prev;
+ list0_set = list0_set->prev;
+ }
+
+ if(value & ((uint) list0->data))
+ keep0 = TRUE;
+
+ list0->data = (jpointer) (((uint) list0->data) << 1);
+
+ if(keep1)
+ list0->data = (jpointer) (((uint) list0->data) | 1);
+
+ keep1 = keep0;
+
+ i0 = i1;
+ }
+
+ i_set1 = j_math_subtraction_list(i_set0, one);
+ j_list_destroy(i_set0);
+ i_set0 = i_set1;
+ }
+
+ return(start);
+}
+
+JList*
+j_math_right_move_list_stepwise(JList *list0, JList *list1)
+{
+ JList *list, *stop, *list_set, *list0_set;
+ JList *i0, *i1, *i_set0, *i_set1, *one;
+ uint value, word;
+ jboolean keep0, keep1;
+
+ i0 = j_list_alloc();
+ i_set0 =
+ i0->data = (jpointer) 0;
+
+ one = j_list_alloc();
+ one->data = (jpointer) 1;
+
+ keep1 = FALSE;
+ list_set =
+ list = j_list_alloc();
+
+ stop = list0;
+ list0_set =
+ list0 = j_list_first(list0);
+ value = 1 << (sizeof(uint) * 8 -1);
+
+ if(j_math_less_list(list1, i0))
+ goto j_math_left_move_list_stepwise0;
+
+ for(;j_math_less_list(list1, i0) && list0 != stop;){
+ j_list_destroy(i1);
+ i1 = j_math_addition_list(i0, one);
+ keep0 = FALSE;
+
+ for(i0 = i_set0, word = 0, list = list_set, list0 = list0_set; j_math_less_list(list1, i0) && list0 != stop; word++){
+ j_list_destroy(i1);
+ j_math_left_move_list_stepwise0:
+ i1 = j_math_addition_list(i0, one);
+
+ if(!(word < sizeof(uint) * 8)){
+ list->next = j_list_alloc();
+ list->next->prev = list;
+ list = list->next;
+ list_set = list_set->next;
+ list0_set = list0_set->next;
+ }
+
+ if(1 & ((uint)list0->data))
+ keep0 = TRUE;
+
+ list->data = (jpointer) (((uint) list0->data) << 1);
+
+ if(keep1)
+ list->data = (jpointer) (((uint) list0->data) | value);
+
+ keep1 = keep0;
+
+ i0 = i1;
+ list0 = list0->next;
+ }
+
+ i_set1 = j_math_subtraction_list(i_set0, one);
+ j_list_destroy(i_set0);
+ i_set0 = i_set1;
+ }
+
+ return(list);
+}
+
+JList*
+j_math_left_move_list(JList *list0, JList *list1)
+{
+ JList *i, *one, *zero, *start, *size, *list2;
+ uint pntr[0];
+ JList *move, *rest;
+ uint value0;
+ uint j, copy0, copy1, value1, right;
+
+ one = j_list_alloc();
+ one->data = (jpointer) 1;
+ size = j_list_alloc();
+ size->data = (jpointer) (8 * sizeof(uint));
+
+ value0 = (1 || (1 << 1));
+ j_math_division_list(list0, size, pntr, value0);
+
+ if(list0->prev != NULL){
+ list2 = list0->prev;
+ goto j_math_left_move_list0;
+
+ for(; list2 != NULL && j_math_less_list(i, move);){
+ list2 = list0->prev;
+ j_math_left_move_list0:
+ list0 = list2;
+ j_math_addition_list(i, one);
+ }
+ }
+
+ start = list0;
+
+ for(; j_math_less_list(i, move);){
+ list0->prev = j_list_alloc();
+ list0->prev->next = list0;
+ list0 = list0->prev;
+ list0->data = NULL;
+ j_math_addition_list(i, one);
+ }
+
+ zero = j_list_alloc();
+ zero->data = 0;
+
+ for(j = 0, value1 = 0; j < ((uint) rest->data); j++)
+ value1 |= (1 << ((8 * sizeof(uint) -1) - j));
+
+ if(j_math_more_list(rest, zero)){
+ list0 = j_list_last(start);
+ right = ((8 * sizeof(uint) -1) - ((uint) rest->data));
+
+ if(list0 != NULL){
+ copy1 = 0;
+ goto j_math_left_move_list1;
+ }
+
+ for(; list0 != NULL;){
+ copy1 = copy0;
+ j_math_left_move_list1:
+ copy0 = ((uint)list0->data) & value1;
+ list0->data = (jpointer) (((uint) list0->data) << ((uint) rest->data));
+ list0->data = (jpointer) (((uint) list0->data) | (copy1 >> right));
+ list0 = list0->next;
+ }
+
+ if(list0 == NULL){
+ list0 = j_list_first(start);
+ list0->prev = j_list_alloc();
+ }
+
+ list0->data = (jpointer) (((uint) list0->data) | (copy0 >> right));
+ }
+
+ return(start);
+}
+
+JList*
+j_math_right_move_list(JList *list0, JList *list1)
+{
+ JList *i, *one, *zero, *start, *size, *list2;
+ uint pntr[0];
+ JList *move, *rest;
+ uint value0;
+ uint j, copy0, copy1, value1, left;
+
+ one = j_list_alloc();
+ one->data = (jpointer) 1;
+ size = j_list_alloc();
+ size->data = (jpointer) (8 * sizeof(uint));
+
+ value0 = (1 || (1 << 1));
+ j_math_division_list(list0, size, pntr, value0);
+
+ if(list0->next != NULL){
+ list2 = list0->next;
+ goto j_math_right_move_list0;
+
+ for(; list2 != NULL && j_math_less_list(i, move);){
+ list2 = list0->next;
+ j_math_right_move_list0:
+ list0 = list2;
+ j_math_addition_list(i, one);
+ }
+ }
+
+ start = list0;
+
+ for(; j_math_less_list(i, move);){
+ list0->next = j_list_alloc();
+ list0->next->prev = list0;
+ list0 = list0->next;
+ list0->data = NULL;
+ j_math_addition_list(i, one);
+ }
+
+ zero = j_list_alloc();
+ zero->data = 0;
+
+ for(j = 0, value1 = 0; j < ((uint) rest->data); j++)
+ value1 |= (1 << j);
+
+ if(j_math_more_list(rest, zero)){
+ list0 = j_list_first(start);
+ left = ((8 * sizeof(uint) -1) - ((uint) rest->data));
+
+ if(list0 != NULL){
+ copy1 = 0;
+ goto j_math_right_move_list1;
+ }
+
+ for(; list0 != NULL;){
+ copy1 = copy0;
+ j_math_right_move_list1:
+ copy0 = ((uint)list0->data) & value1;
+ list0->data = (jpointer) (((uint) list0->data) >> ((uint) rest->data));
+ list0->data = (jpointer) (((uint) list0->data) | (copy1 << left));
+ list0 = list0->next;
+ }
+
+ if(list0 == NULL){
+ list0 = j_list_first(start);
+ list0->next = j_list_alloc();
+ }
+
+ list0->data = (jpointer) (((uint) list0->data) | (copy0 << left));
+ }
+
+ return(start);
+}
+
+uint
+_j_math_equal(int a, int b)
+{
+ uint value0, value1;
+ jboolean sign, sign_equal;
+ jboolean jump;
+ void __j_math_equal(){
+ if(value0 & a){
+ if(!(value0 & b))
+ if(sign_equal){
+ value1 |= J_MATH_MORE;
+ jump = TRUE;
+ }else if(sign){
+ value1 |= J_MATH_LESS;
+ jump = TRUE;
+ }else{
+ value1 |= J_MATH_MORE;
+ jump = TRUE;
+ }
+ }else if(value0 & b)
+ if(sign_equal){
+ value1 |= J_MATH_LESS;
+ jump = TRUE;
+ }else if(sign){
+ value1 |= J_MATH_MORE;
+ jump = TRUE;
+ }else{
+ value1 |= J_MATH_LESS;
+ jump = TRUE;
+ }
+ }
+
+ value0 = (1 << (sizeof(uint) * 8 -1));
+ value1 = 0;
+
+ if((value0 & a) && !(value0 & b)){
+ value1 |= J_MATH_SIGN;
+ sign = TRUE;
+
+ }else if(!(value0 & a) && (value0 & b)){
+ value1 |= J_MATH_SIGN;
+ sign = FALSE;
+ }else{
+ sign_equal = TRUE;
+ goto _j_math_equal0;
+ }
+ sign_equal = FALSE;
+ _j_math_equal0:
+ value0 >>= 1;
+
+ jump = FALSE;
+
+ for(; value0 != 1;){
+ __j_math_equal();
+ if(jump)
+ goto _j_math_equal1;
+ value0 >>= 1;
+ }
+ __j_math_equal();
+ if(jump)
+ goto _j_math_equal1;
+
+ value1 |= J_MATH_EQUAL;
+
+ _j_math_equal1:
+
+ return(value1);
+}
+
+jboolean
+j_math_equal(int a, int b)
+{
+ if(b^a)
+ return(FALSE);
+ else
+ return(TRUE);
+}
+
+uint
+_j_math_equal_list(JList *list_a, JList *a_next, JList *list_b, JList *b_next)
+{
+ JList *list0, *list1;
+ uint value, start;
+
+ list0 = list_a;
+ list1 = list_b;
+
+ while(list0 != a_next && list1 != b_next){
+ list0 = list0->next;
+ list1 = list1->next;
+ }
+
+ if(list0 != a_next)
+ return(2);
+
+ if(list1 != b_next)
+ return(0);
+
+ start = 1 << (sizeof(uint) * 8 -1);
+
+ while(list_a != a_next && list_b != b_next){
+ for(value = start; value != 1;){
+ if(value & (uint) list_a->data){
+ if(!(value & (uint) list_b->data))
+ return(0);
+ }else if(value & (uint) list_b->data)
+ return(2);
+ }
+
+ list_a = list_a->next;
+ list_b = list_b->next;
+ }
+
+ return(1);
+}
+
+jboolean
+j_math_equal_list(JList *a, JList *b)
+{
+#ifdef __J_MATH_LIST_NO_LEADING_ZEROS__
+ while(a != NULL && b != NULL){
+ if(a->data != b->data)
+ return(FALSE);
+
+ a = a->prev;
+ b = b->prev;
+ }
+
+ if(a != NULL || b != NULL)
+ return(FALSE);
+ else
+ return(TRUE);
+#else
+ uint value0, value1;
+
+ while(a->prev != NULL && b->prev != NULL){
+ if(a->data != b->data)
+ return(FALSE);
+
+ a = a->prev;
+ b = b->prev;
+ }
+
+ value0 = 1 << (sizeof(uint) * 8 -1);
+ value1 = 1;
+
+ if((value1 & ((uint) a->data)) != (value1 & ((uint) b->data)))
+ return(FALSE);
+
+ if(a->prev != NULL){
+ if(value0 & ((uint) b->data)){
+ if(value0 & ((uint) a->data))
+ return(FALSE);
+
+ return(j_math_leading_zeros(a->prev, TRUE));
+ }else
+ return(j_math_leading_zeros(a->prev, FALSE));
+ }else if(b->prev != NULL){
+ if(value0 & ((uint) a->data)){
+ if(value0 & ((uint) b->data))
+ return(FALSE);
+
+ return(j_math_leading_zeros(a->prev, FALSE));
+ }else
+ return(j_math_leading_zeros(b->prev, TRUE));
+ }else
+ return(TRUE);
+#endif
+}
+
+jboolean
+j_math_leading_zeros(JList *list, jboolean sign){
+ uint value = 1 << (sizeof(uint) * 8 -1);
+
+ while(list->next != NULL){
+ if(((uint) list->data) != 0)
+ return(FALSE);
+
+ list = list->next;
+ }
+
+ if(sign)
+ if(((uint) list->data) == value)
+ return(TRUE);
+ else
+ return(FALSE);
+ else if(((uint) list->data) == 0)
+ return(TRUE);
+ else
+ return(FALSE);
+}
+
+jboolean
+_j_math_more(uint a, uint b)
+{
+ uint value;
+
+ value = 1 <<(sizeof(int) * 8 -1);
+
+ for(; value != 1;){
+ j_math_more_bit(a, b, value);
+ value = value >> 1;
+ }
+
+ if((value & a) && !(value & b))
+ return(TRUE);
+ else
+ return(FALSE);
+}
+
+jboolean
+j_math_more(int a, int b)
+{
+ uint value;
+
+ value = 1 << (sizeof(int) * 8 -1);
+
+ j_math_less_bit(a, b, value);
+
+ for(; value != 1;){
+ value = value >> 1;
+ j_math_more_bit(a, b, value);
+ }
+
+ return(FALSE);
+}
+
+jboolean
+_j_math_more_list(JList *list_a, JList *a_next, JList *list_b, JList *b_next)
+{
+ JList *list0, *list1;
+ uint value, start;
+
+ list0 = list_a;
+ list1 = list_b;
+
+ while(list0 != a_next && list1 != b_next){
+ list0 = list0->next;
+ list1 = list1->next;
+ }
+
+ if(list0 != a_next)
+ return(TRUE);
+ else if(list1 != b_next)
+ return(FALSE);
+
+ start = 1 << (sizeof(uint) * 8 -1);
+
+ while(list_a != a_next && list_b != b_next){
+ for(value = start; value != 1;){
+ j_math_more_bit((uint) list_a->data, (uint) list_b->data, value);
+
+ value = value >> 1;
+ }
+
+ j_math_more_bit((uint) list_a->data, (uint) list_b->data, value);
+
+ list_a = list_a->next;
+ list_b = list_b->next;
+ }
+
+ if(list_a == NULL)
+ return(FALSE);
+ else
+ return(TRUE);
+}
+
+jboolean
+j_math_more_list(JList *a, JList *b)
+{
+ JList *list_a, *list_b;
+ uint value = 1 << (sizeof(uint) * 8 -1);
+
+#ifdef __J_MATH_NO_LEADING_ZEROS__
+ list_a = j_list_first(a);
+ list_b = j_list_first(b);
+#elif
+ list_a = j_math_cut_leading_zeros(a, TRUE);
+ list_b = j_math_cut_leading_zeros(b, TRUE);
+#endif
+
+ j_math_less_bit((uint) list_a->data, (uint) list_b->data, value);
+
+ if(list_a->data == 0)
+ list_a = list_a->next;
+
+ if(list_b->data == 0)
+ list_b = list_b->next;
+
+ return(_j_math_more_list(list_a, a->next, list_b, b->next));
+}
+
+jboolean
+j_math_more_equal_list(JList *a, JList *b)
+{
+ JList *list_a, *list_b;
+ uint value0, value1;
+
+#ifdef __J_MATH_NO_LEADING_ZEROS__
+ list_a = j_list_first(a);
+ list_b = j_list_first(b);
+#elif
+ list_a = j_math_cut_leading_zeros(a);
+ list_b = j_math_cut_leading_zeros(b);
+#endif
+
+ value0 = 1 << (sizeof(uint) * 8 -1);
+
+ j_math_less_bit((uint) list_a->data, (uint) list_b->data, value0);
+
+ value1 = _j_math_equal_list(list_a, a->next, list_b, b->next);
+
+ switch(value1){
+ case 2:
+ case 1:
+ return(TRUE);
+ }
+
+ return(FALSE);
+}
+
+jboolean
+_j_math_less(uint a, uint b)
+{
+ uint value;
+
+ value = 1 << (sizeof(int) * 8 -1);
+
+ for(; value != 1;){
+ j_math_less_bit(a, b, value);
+ value = value >> 1;
+ }
+
+ if(!(value & a) && (value & b))
+ return(TRUE);
+ else
+ return(FALSE);
+}
+
+jboolean
+j_math_less(int a, int b)
+{
+ uint value, sign;
+
+ sign = 1 << (sizeof(int) * 8 -1);
+
+ j_math_more_bit(a, b, value);
+
+ for(value = sign; value != 1;){
+ value = value >> 1;
+ j_math_less_bit(a, b, value);
+ }
+
+ return(FALSE);
+}
+
+jboolean
+_j_math_less_list(JList *list_a, JList *a_next, JList *list_b, JList *b_next)
+{
+ JList *list0, *list1;
+ uint value, start;
+
+ start = 1 << (sizeof(uint) * 8 -1);
+
+ list0 = list_a;
+ list1 = list_b;
+
+ while(list0 != a_next && list1 != b_next){
+ list0 = list0->next;
+ list1 = list1->next;
+ }
+
+ if(list0 != a_next)
+ return(FALSE);
+ else if(list1 != b_next)
+ return(TRUE);
+
+ if(start == 1)
+ goto _j_math_less_list1;
+ else{
+ value = start >> 1;
+ goto _j_math_less_list0;
+ }
+
+ while(list_a != a_next && list_b != b_next){
+ for(value = start; value != 1;){
+ _j_math_less_list0:
+ j_math_less_bit((uint) list_a->data, (uint) list_b->data, value);
+
+ value = value >> 1;
+ }
+
+ _j_math_less_list1:
+ j_math_less_bit((uint) list_a->data, (uint) list_b->data, value);
+
+ list0 = list0->next;
+ list1 = list1->next;
+ }
+
+ if(list_b == b_next)
+ return(FALSE);
+ else
+ return(TRUE);
+}
+
+jboolean
+j_math_less_list(JList *a, JList *b)
+{
+ JList *list_a, *list_b;
+ uint value;
+
+ value = 1 << (sizeof(uint) * 8 -1);
+
+#ifdef __J_MATH_NO_LEADING_ZEROS__
+ list_a = j_list_first(a);
+ list_b = j_list_first(b);
+#elif
+ list_a = j_math_cut_leading_zeros(a);
+ list_b = j_math_cut_leading_zeros(b);
+#endif
+
+ j_math_more_bit((uint) list_a->data, (uint) list_b->data, value);
+
+ if(((uint) list_a->data) == 0 && list_a != a)
+ list_a = list_a->next;
+
+ if(((uint) list_b->data) == 0 && list_b != b)
+ list_b = list_b->next;
+
+ return(_j_math_less_list(list_a, a->next, list_b, b->next));
+}
+
+jboolean
+j_math_less_equal_list(JList *a, JList *b)
+{
+ JList *list_a, *list_b;
+ uint value0, value1;
+
+#ifdef __J_MATH_NO_LEADING_ZEROS__
+ list_a = j_list_first(a);
+ list_b = j_list_first(b);
+#elif
+ list_a = j_math_cut_leading_zeros(a);
+ list_b = j_math_cut_leading_zeros(b);
+#endif
+
+ value0 = 1 << (sizeof(uint) * 8 -1);
+
+ j_math_more_bit((uint) list_a->data, (uint) list_b->data, value0);
+
+ value1 = _j_math_equal_list(list_a, a->next, list_b, b->next);
+
+ switch(value1){
+ case 0:
+ case 1:
+ return(TRUE);
+ }
+
+ return(FALSE);
+}
+
+int*
+j_math_sort_array(int *array, int size)
+{
+ int *value = (int*) malloc(size * sizeof(int));
+ JList *i_hash, *j_hash, *last;
+ uint i, j, place, equal;
+
+ i_hash = j_list_new(size);
+ j_hash = i_hash->next;
+
+ last = j_list_last(i_hash);
+ last->next = i_hash;
+ i_hash->prev = last;
+
+ for(i = 0; i < size; i++){
+ i_hash->data = (jpointer) array[i];
+ i_hash = i_hash->next;
+ }
+
+ if(j_hash == NULL){
+ value[0] = array[0];
+ return(value);
+ }
+
+ for(i = 0; i < size; i++){
+ for(j = i; j < size; j++){
+ if((int) i_hash->data > (int) j_hash->data)
+ place++;
+
+ array[place] == (int) i_hash->data;
+ j_hash= j_hash->next;
+ }
+ i_hash = i_hash->next;
+ }
+
+ j_hash->prev = NULL;
+ i_hash->next = NULL;
+
+ j_list_destroy(j_hash);
+
+ return(value);
+}
+
+void
+j_math_put_null_at_beginning(int *array, uint size)
+{
+ uint i, j;
+ uint tmp;
+
+ for(i = 0; i < size; i++){
+ if(((jpointer) array[i]) == NULL){
+ tmp = array[0];
+
+ for(j = 1; j < i+1; j++){
+ array[j] = tmp;
+ tmp = array[j+1];
+ }
+
+ array[0] = (int) NULL;
+ }
+ }
+}
+
+void
+j_math_put_null_at_end(int *array, uint size)
+{
+ uint i, j;
+ uint tmp;
+
+ for(i = 0; i < size; i++){
+ if(((jpointer)array[i]) == NULL){
+ tmp = array[i+1];
+
+ for(j = i; j < size -2; j++){
+ array[j] = tmp;
+ tmp = array[j+1];
+ }
+
+ array[size] = (int) NULL;
+ }
+ }
+}
+
+uint
+j_math_width(int a)
+{
+ uint value = 1 << (sizeof(uint) * 8 -2);
+ uint width = sizeof(uint) * 8 -1;
+
+ for(; !(value & a) && !(value & 1); width--)
+ value = value >> 1;
+
+ if(!(value & 1))
+ width--;
+
+ return(width);
+}
+
+JList*
+j_math_width_list(JList *stop)
+{
+ JList *width0, *width1, *word, *list, *one;
+ uint value;
+
+ one = j_list_alloc();
+ one->data = (jpointer) (1 | (1 << (sizeof(uint) * 8 -1)));
+ word = j_list_alloc();
+ word->data = (jpointer) (sizeof(uint) * 8);
+ list = j_list_alloc();
+ list->data = (jpointer) j_list_lenght_backward(stop);
+ width0 = j_math_multiplication_list(word, list);
+ free(word);
+ free(list);
+ width1 = width0;
+ width0 = j_math_subtraction_list(width0, one);
+ j_list_destroy(j_list_first(width1));
+
+#ifdef __J_MATH_NO_LEADING_ZEROS__
+ list = j_list_first(stop);
+#elif
+ list = j_math_cut_leading_zeros(stop);
+#endif
+
+ goto j_math_width_list0;
+
+ while(TRUE){
+ for(value = 1 << (sizeof(uint) * 8 -1);;){
+ if(value & ((uint) list->data))
+ goto j_math_width_list1;
+
+ width1 = width0;
+ width0 = j_math_subtraction_list(width0, one);
+ j_list_destroy(j_list_first(width1));
+ j_math_width_list0:
+
+ if(value == 1)
+ break;
+
+ value = value >> 1;
+ }
+
+ if(list == stop)
+ break;
+
+ list = list->next;
+ }
+
+ j_math_width_list1:
+
+ return(width0);
+}
+
+JList*
+j_math_cut_leading_zeros(JList *stop)
+{
+ JList *start, *list;
+ uint value = 1 << (sizeof(uint) * 8 -1);
+ jboolean sign;
+
+ if(stop->prev == NULL)
+ return(stop);
+
+ list =
+ start = j_list_first(stop);
+
+ if(value & ((uint) start->data))
+ if(value ^ ((uint) start->data))
+ return(stop);
+ else{
+ sign = TRUE;
+ list = list->next;
+ }
+
+ while(list != stop && ((uint) list->data) != 0){
+ list = list->next;
+ free(list->prev);
+ }
+
+ if(sign){
+ if(list == stop){
+ start->next = stop->next;
+ free(stop);
+ stop = start;
+
+ if(stop->next != NULL)
+ stop->next->prev = stop;
+ }else if(value & ((uint) list->data)){
+ list->prev = start;
+ start->next = list;
+ }else{
+ list->prev = NULL;
+ list->data = (jpointer) (value | ((uint ) list->data));
+ free(start);
+ start = list;
+ }
+ }else{
+ if(value & ((uint) list->data)){
+ list->prev = j_list_alloc();
+ start = list->prev;
+ start->next = list;
+ start->data = 0;
+ }else
+ start = list;
+ }
+
+ return(start);
+}
+
+JList*
+j_math_cut_following_zeros(JList *stop)
+{
+ JList *end;
+
+ end = j_list_last(stop);
+
+ while(end != stop && end->data == 0)
+ end = end->prev;
+
+ j_list_destroy(end->next);
+
+ return(end);
+}
+
+void
+_j_math_addition(int a, int b, uint *destination, uint values)
+{
+ int value0;
+ int solution;
+ jboolean keep;
+ uint value1, i;
+
+ solution = 0;
+
+ if((1 << 2) & values)
+ keep = destination[1];
+ else
+ keep = FALSE;
+
+ value0 = 1;
+
+ for(; value0 != (1 << (sizeof(int) * 8 -1));){
+ if(keep){
+ if(value0 & a && value0 & b){
+ solution |= value0;
+ keep = 1;
+ }else if(value0 & a || value0 & b)
+ keep = 1;
+ else{
+ solution |= value0;
+ keep = 0;
+ }
+ }else{
+ if(value0 & a && value0 & b)
+ keep = 1;
+ else if(value0 & a || value0 & b){
+ solution |= value0;
+ keep = 0;
+ }
+ }
+
+ value0 = value0<<1;
+ }
+
+ value1 = 1;
+ i = 0;
+
+ if(value1 & values){
+ destination[0] = solution;
+ i++;
+ }
+
+ value1 = 1 << 1;
+
+ if(value1 & values)
+ destination[i] = keep;
+}
+
+int
+j_math_addition(int a, int b)
+{
+ uint pntr[0];
+ int solution;
+ jboolean keep;
+ uint value0, value1;
+
+ value0 = 1 << (sizeof(int) * 8 -1);
+ value1 = 1;
+
+ if(value0 & a){
+ if(_j_math_less(a, b))
+ _j_math_subtraction(a, b, pntr, value1);
+ else{
+ _j_math_subtraction(b, a, pntr, value1);
+ solution |= value0;
+ }
+ }else
+ _j_math_addition(a, b, pntr, value1);
+
+ return(solution);
+}
+
+
+void
+j_math_uaddition(uint a, uint b, uint *destination, uint values)
+{
+ uint pntr[0];
+ uint solution;
+ jboolean keep;
+ uint value0, value1;
+ uint i;
+
+ value0 = 1 << (sizeof(uint) * 8 -1);
+ value1 = 1 << 1;
+
+ if(value1 & values)
+ keep = destination[1];
+ else
+ keep = FALSE;
+
+ _j_math_addition(a, b, pntr, (1 | (1 << 1)));
+
+ if(keep){
+ if(value0 & a){
+ if(value0 & b)
+ solution |= value0;
+
+ keep = TRUE;
+ }else
+ if(value0 & b)
+ keep = TRUE;
+ else
+ solution |= value0;
+ }else{
+ if(value0 & a){
+ if(value0 & b)
+ keep = TRUE;
+ else
+ solution |= value0;
+ }else if(value0 & b)
+ solution |= value0;
+ }
+
+ i = 0;
+ value1 = 1;
+
+ if(value1 & values){
+ destination[i] = solution;
+ i++;
+ }
+
+ value1 = 1 << 1;
+
+ if(value1 & values)
+ destination[i] = keep;
+}
+
+void
+_j_math_addition_list(JList *a, JList *b, uint *destination, uint values)
+{
+ JList *list, *tmp, *start, *zero;
+ uint pntr[0];
+ uint part;
+ jboolean keep;
+ uint value0, value1;
+ uint i;
+
+ keep = FALSE;
+
+ if(a == NULL || b == NULL){
+ keep = FALSE;
+ start = NULL;
+ list = NULL;
+ goto _j_math_addition_listEND;
+ }
+
+ start =
+ list = j_list_alloc();
+ value1 = (1) | (1 << 1);
+ __j_math_addition_list(a, b, pntr, value1, &part, list);
+
+ while(a->prev != NULL && b->prev != NULL){
+ a = a->prev;
+ b = b->prev;
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ __j_math_addition_list(a, b, pntr, value1, &part, list);
+ }
+
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+
+ _j_math_addition((uint) a->data, (uint) b->data, pntr, value1);
+ list->data = (jpointer) part;
+
+ value0 = 1 << (sizeof(uint) * 8 -1);
+
+ if(b->prev != NULL){
+ b = b->prev;
+ tmp = a;
+ a = zero;
+ }else if(a->prev != NULL){
+ a = a->prev;
+ tmp = b;
+ b = zero;
+ }else
+ goto _j_math_addition_listEND;
+
+ if(keep){
+ if(!(value0 & ((uint) tmp->data))){
+ list->data = (jpointer) (value0 | ((uint) list->data));
+ keep = FALSE;
+ }
+ }else if(value0 & ((uint) tmp->data))
+ list->data = (jpointer) (value0 | ((uint) list->data));
+
+ zero->prev = j_list_alloc();
+ zero->data = (uint) 0;
+
+ while(tmp->prev != NULL){
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+
+ __j_math_addition_list_zero(tmp, zero, pntr, value1, &part, list);
+
+ tmp = tmp->prev;
+ }
+
+ _j_math_addition((uint) tmp->data, (uint) zero->data, pntr, value1);
+ free(zero);
+
+ if(keep){
+ list->data = (jpointer) (value0 | ((uint) list->data));
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ }
+
+ if(a->prev != NULL)
+ a = tmp;
+ else
+ b = tmp;
+
+ _j_math_addition_listEND:
+ value1 = 1;
+ i = 0;
+
+ if(value1 & values){
+ destination[i] = (uint) start;
+ i++;
+ }
+
+ value1 <<= 1;
+
+ if(value1 & values){
+ destination[i] = (uint) list;
+ i++;
+ }
+
+ value1 <<= 1;
+
+ if(value1 & values){
+ destination[i] = (uint) a;
+ i++;
+ }
+
+ value1 <<= 1;
+
+ if(value1 & values){
+ destination[i] = (uint) b;
+ i++;
+ }
+ /*
+ void __j_math_addition_list(){
+ j_math_uaddition((uint) a->data, (uint) b->data, pntr, value1);
+ list->data = (jpointer) part;
+ }
+
+ void __j_math_addition_list_zero(){
+ j_math_uaddition((uint) tmp->data, (uint) zero->data, pntr, value1);
+ list->data = (jpointer) part;
+ }*/
+}
+
+void
+__j_math_addition_list(JList *a, JList *b, uint *pntr, uint value1, uint *part, JList *list)
+{
+ j_math_uaddition((uint) a->data, (uint) b->data, pntr, value1);
+ list->data = (jpointer) (*part);
+}
+
+void
+__j_math_addition_list_zero(JList *tmp, JList *zero, uint *pntr, uint value1, uint *part, JList *list)
+{
+ j_math_uaddition((uint) tmp->data, (uint) zero->data, pntr, value1);
+ list->data = (jpointer) (*part);
+}
+
+JList*
+j_math_addition_list(JList *a, JList *b)
+{
+ JList *list0, *list1;
+ uint pntr[0];
+ JList *point;
+ JList *list;
+ uint value, values;
+ jboolean sign;
+
+#ifdef __J_MATH_NO_LEADING_ZEROS__
+ list0 = j_list_first(a);
+ list1 = j_list_first(b);
+#elif
+ list0 = j_math_cut_leading_zeros(a);
+ list1 = j_math_cut_leading_zeros(b);
+#endif
+
+ value = 1 << (sizeof(uint) * 8 -1);
+ values = 1 | (1 << 2);
+
+ if(value & ((uint) list0->data)){
+ list0->data = (jpointer) (((uint) list0->data) ^ value);
+
+ if(value & ((uint) list1->data)){
+ list1->data = (jpointer) (((uint) list1->data) ^ value);
+ _j_math_addition_list(a, b, pntr, values);
+ sign = TRUE;
+ }else{
+ if(_j_math_less_list(list0, a->next, list1, b->next)){
+ _j_math_subtraction_list(a, b, pntr, values);
+ sign = TRUE;
+ }else{
+ _j_math_subtraction_list(b, a, pntr, values);
+ sign = FALSE;
+ }
+ }
+ }else{
+ if(value & ((uint) list1->data)){
+ list1->data = (jpointer) (((uint) list1->data) ^ value);
+
+ if(_j_math_less_list(list0, a->next, list1, b->next)){
+ _j_math_subtraction_list(a, b, pntr, values);
+ sign = TRUE;
+ }else{
+ _j_math_subtraction_list(b, a, pntr, values);
+ sign = FALSE;
+ }
+ }else
+ _j_math_addition_list(a, b, pntr, values);
+ }
+
+ if(sign)
+ list->data = (jpointer) (((uint) list->data) | value);
+
+ return(point);
+}
+
+JList*
+j_math_uaddition_list(JList *a, JList *b)
+{
+ uint pntr[0];
+ JList *point;
+
+ _j_math_addition_list(a, b, pntr, 1);
+
+ return(point);
+}
+
+void
+_j_math_subtraction(int a, int b, uint *destination, uint values)
+{
+ int solution;
+ jboolean keep;
+ uint value0, stop;
+ uint value1, i;
+
+ stop = 1 << (sizeof(uint) * 8 -1);
+ if(values & (1 << 2))
+ keep = destination[1];
+ solution = 0;
+
+ for(value0 = 1; value0 != stop;){
+ if(value0 & a){
+ if(value0 & b){
+ if(keep)
+ solution |= value0;
+ }else if(!keep){
+ solution |= value0;
+ keep = TRUE;
+ }
+ }else if(value0 & b){
+ if(!keep)
+ solution |= value0;
+ }else if(keep)
+ solution |= value0;
+
+ value0 = value0 << 1;
+ }
+
+ value1 = 1;
+ i = 0;
+
+ if(value1 & values){
+ destination[i] = solution;
+ i++;
+ }
+
+ value1 = 1 << 1;
+
+ if(value1 & values)
+ destination[i] = keep;
+}
+
+int
+j_math_subtraction(int a, int b)
+{
+ uint pntr[0];
+ int solution;
+ jboolean keep;
+ uint value, values;
+
+ value = 1 << (sizeof(int) * 8 -1);
+
+ values = 1 | (1 << 1);
+
+ if(value & a){
+ _j_math_addition(a, b, pntr, values);
+ solution |= value;
+ }else{
+ if(_j_math_less(a, b)){
+ _j_math_subtraction(a, b, pntr, values);
+ solution |= value;
+ }else
+ _j_math_subtraction(b, a, pntr, values);
+ }
+ return(solution);
+}
+
+void
+j_math_usubtraction(uint a, uint b, uint *destination, uint values)
+{
+ uint pntr[0];
+ uint solution;
+ jboolean keep;
+ uint value0;
+ uint value1, i;
+
+ if((1 << 2) & values)
+ keep = destination[1];
+
+ _j_math_subtraction(a, b, pntr, (1 | (1 << 1)));
+ value0 = 1 << (sizeof(uint) * 8 -1);
+
+ if(keep){
+ if(value0 & a){
+ if(value0 & b)
+ solution |= value0;
+
+ keep = TRUE;
+ }else if(value0 & b)
+ keep = TRUE;
+ else
+ solution |= value0;
+ }else{
+ if(value0 & b){
+ if(value0 & a)
+ keep = TRUE;
+ else
+ solution |= value0;
+ }else if(value0 & a)
+ solution |= value0;
+ }
+
+ value1 = 1;
+ i = 0;
+ if(value1 & values){
+ destination[i] = solution;
+ i++;
+ }
+
+ value1 = 1 << 1;
+
+ if(value1 & values)
+ destination[i] = keep;
+}
+
+void
+_j_math_subtraction_list(JList *a, JList *b, uint *destination, uint values)
+{
+ JList *point, *list, *zero;
+ uint pntr[0];
+ uint part;
+ jboolean keep;
+ uint value1, i;
+
+ zero = j_list_alloc();
+ zero->data = (uint) 0;
+
+ point =
+ list = j_list_alloc();
+ list->data = 0;
+
+ if((1 << 2) & values)
+ keep = destination[1];
+ else
+ keep = FALSE;
+
+ value1 = 1 | (1 << 1);
+
+ if(a == NULL && b == NULL){
+ if(!keep)
+ goto _j_math_subtraction_listEND;
+ else{
+ list =
+ point = NULL;
+ goto _j_math_subtraction_listEND;
+ }
+ }else{
+ if(a == NULL)
+ goto _j_math_subtraction_list2;
+ else if(b == NULL)
+ goto _j_math_subtraction_list3;
+ else if(a->prev == NULL || b->prev == NULL)
+ goto _j_math_subtraction_list1;
+ }
+
+ while(a->prev != NULL && b->prev != NULL){
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ _j_math_subtracion_list0:
+ j_math_usubtraction((uint) a->data, (uint) b->data, pntr, value1);
+ list->data = (jpointer) part;
+
+ a = a->prev;
+ b = b->prev;
+ }
+
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ _j_math_subtraction_list1:
+ _j_math_subtraction((uint) a->data, (uint) b->data, pntr, value1);
+ list->data = (jpointer) part;
+
+ a = a->prev;
+ b = b->prev;
+
+ while(a != NULL){
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ _j_math_subtraction_list2:
+ j_math_usubtraction((uint) a->data, (uint) zero->data, pntr, value1);
+ list->data = (jpointer) part;
+
+ a = a->prev;
+ }
+
+ while(b != NULL){
+ list->prev = j_list_alloc();
+ list->prev->next = list;
+ list = list->prev;
+ _j_math_subtraction_list3:
+
+ j_math_usubtraction((uint) zero->data, (uint) b->data, pntr, value1);
+ list->data = (jpointer) part;
+
+ b = b->prev;
+ }
+
+ j_math_cut_leading_zeros(point);
+ _j_math_subtraction_listEND:
+
+ free(zero);
+
+ value1 = 1;
+ i = 0;
+
+ if(value1 & values){
+ destination[i] = (uint) point;
+ i++;
+ }
+
+ value1 <<= 1;
+
+ if(value1 & values){
+ destination[i] = (uint) list;
+ i++;
+ }
+
+ value1 <<= 1;
+
+ if(value1 & values){
+ destination[i] = (uint) a;
+ i++;
+ }
+
+ value1 <<= 1;
+
+ if(value1 & values){
+ destination[i] = (uint) b;
+ i++;
+ }
+}
+
+JList*
+j_math_subtraction_list(JList *a, JList *b)
+{
+ JList *list0, *list1;
+ uint pntr[0];
+ JList *point;
+ JList *start;
+ uint value, value1;
+ jboolean sign;
+
+#ifdef __J_MATH_NO_LEADING_ZEROS__
+ list0 = j_list_first(a);
+ list1 = j_list_first(b);
+#elif
+ list0 = j_math_cut_leading_zeros(a);
+ list1 = j_math_cut_leading_zeros(b);
+#endif
+
+ if(list0 != a && ((uint) list0->data) == 0)
+ list0 = list0->next;
+
+ if(list1 != b && ((uint) list1->data) == 0)
+ list1 = list1->next;
+
+ value = 1 << (sizeof(uint) * 8 -1);
+ value1 = 1 | (1 << 2);
+
+ if(value & ((uint) list0->data)){
+ if(value & ((uint) list1->data)){
+ _j_math_addition_list(a, b, pntr, value1);
+ sign = TRUE;
+ }else if(_j_math_less_list(list0, a, list1, b)){
+ _j_math_subtraction_list(a, b, pntr, value1);
+ sign = TRUE;
+ }else{
+ _j_math_subtraction_list(b, a, pntr, value1);
+ sign = FALSE;
+ }
+ }else{
+ if(value & ((uint) list1->data)){
+ if(_j_math_less_list(list0, a, list1, b)){
+ _j_math_subtraction_list(a, b, pntr, value1);
+ sign = TRUE;
+ }else{
+ _j_math_subtraction_list(b, a, pntr, value1);
+ sign = FALSE;
+ }
+ }else{
+ _j_math_addition_list(a, b, pntr, value1);
+ sign = FALSE;
+ }
+ }
+
+ if(value & ((uint) start->data)){
+ start->prev = j_list_alloc();
+ start->prev->next = start;
+ start = start->prev;
+ start->data = (uint) 0;
+ }
+
+ if(sign)
+ start->data = (jpointer) ((uint) (start->data) | value);
+
+ return(point);
+}
+
+JList*
+j_math_usubtraction_list(JList *a, JList *b)
+{
+ uint pntr[0];
+ JList *list;
+
+ _j_math_subtraction_list(a, b, pntr, 1);
+
+ return(list);
+}
+
+int
+j_math_multiplication(int a, int b)
+{
+ int solution;
+ int i;
+
+ for(i = 0; i < b; i++)
+ solution += a;
+
+ return(solution);
+}
+
+JList*
+j_math_multiplication_list(JList *a, JList *b)
+{
+ JList *list;
+
+ return(list);
+}
+
+uint
+j_math_umultiplication(uint a, uint b)
+{
+}
+
+JList*
+j_math_umultiplication_list(JList *a, JList *b)
+{
+ JList *list;
+
+ return(list);
+}
+
+int
+j_math_division(int a, int b, uint *destination, uint values)
+{
+ int value, value1, value2, value3;
+ uint wa, wb, wc;
+ int solution = 0;
+ jboolean keep = FALSE;
+ int i;
+ uint value4;
+
+ // if(a == b){
+ // division_rest = 0;
+
+ // return(1);
+ // }
+
+ wa = j_math_width(a);
+ wb = j_math_width(b);
+ wc = wa - wb;
+
+ for(i = 0; i < wb; i++)
+ value |= 1<<i;
+
+ value2 = value | 1<<(i++);
+
+ if(wc > 0)
+ for(; wc >= 0; wc--){
+ if(!keep){
+ value1 = a>>wc;
+ if(value1 > b){
+ solution |= 1<<wc;
+ a ^= value<<wc;
+ value3 = value1 - b;
+ a |= value3<<wc;
+ }else
+ keep = 1;
+ }else{
+ value1 = a>>wc;
+
+ solution |= 1<<wc;
+ a ^= value<<wc;
+ a ^= value2;
+ value3 = value1 - b;
+ a |= value3<<wc;
+
+ keep = 0;
+ }
+ value2 <<= 1;
+ }
+
+ value4 = 1;
+ i = 0;
+
+ if(value4 & values){
+ destination[i] = solution;
+ i++;
+ }
+
+ value4 <<= 1;
+
+ if(value4 & values)
+ destination[i] = value1;
+}
+
+void
+j_math_division_list(JList *a0, JList *b0, uint *destination, uint values)
+{
+ JList *a1, *b1;
+ JList *value0, *value1, *value2, *value3;
+ JList *wa, *wb, *wc0, *wc1;
+ JList *solution0, *solution1;
+ jboolean keep = FALSE;
+ JList *i0, *i1, *one, *zero;
+ JList *tmp, *lm;
+ uint i, value4;
+
+ // if(a == b){
+ // division_rest = 0;
+
+ // return(1);
+ // }
+
+ wa = j_math_width_list(a0);
+ wb = j_math_width_list(b0);
+ wc0 = j_math_subtraction_list(wa, wb);
+
+ i0 = j_list_alloc();
+ i0->data = (jpointer) 0;
+ one = j_list_alloc();
+ one->data = (jpointer) 1;
+
+ if(j_math_less_list(i0, wb))
+ goto j_math_division_list0;
+
+ for(; j_math_less_list(i0, wb); ){
+ i1 = i0;
+ j_list_destroy(i0);
+ j_math_division_list0:
+ lm = j_math_left_move_list(one, i0);
+ tmp = value0;
+ value0 = j_math_or_list(value0, lm);
+ j_list_destroy(tmp);
+ i0 = j_math_addition_list(i1, one);
+ }
+
+ i1 = i0;
+ i0 = j_math_addition_list(i1, one);
+ j_list_destroy(i1);
+ lm = j_math_left_move_list_stepwise(one, i0);
+ value2 = j_math_or_list(value0, lm);
+ j_list_destroy(lm);
+
+ zero = j_list_alloc();
+ zero->data = (jpointer) 0;
+
+ solution0 =
+ solution1 = j_list_alloc();
+ solution0->data = (jpointer) 0;
+
+ a0 =
+ a1 = j_list_duplicate(a0);
+ b0 =
+ b1 = j_list_duplicate(b0);
+
+ tmp = NULL;
+
+ if(j_math_more_list(wc0, zero))
+ if(j_math_equal_more_list(wc0, zero))
+ goto j_math_division_list1;
+
+ for(; j_math_equal_more_list(wc0, zero); ){
+ j_list_destroy(wc0);
+ tmp = value1;
+ j_math_division_list1:
+ wc1 = j_math_subtraction_list(wc0, one);
+
+ if(!keep){
+ value1 = j_math_right_move_list_stepwise(a0, wc0);
+ j_list_destroy(tmp);
+
+ if(j_math_more_list(value1, b0)){
+ lm = j_math_left_move_list_stepwise(one, wc0);
+ solution1 = j_math_or_list(solution0, lm);
+ j_list_destroy(solution0);
+ j_list_destroy(lm);
+ solution0 = solution1;
+ lm = j_math_left_move_list_stepwise(value0, wc0);
+ a1 = j_math_exclusive_or_list(a0, lm);
+ j_list_destroy(a0);
+ a0 = a1;
+ value3 = j_math_subtraction(value1, b0);
+ lm = j_math_left_move_list_stepwise(value3, wc0);
+ a1 = j_math_or_list(a0, lm);
+ j_list_destroy(a0);
+ a0 = a1;
+ j_list_destroy(lm);
+ }else
+ keep = 1;
+ }else{
+ lm = j_math_left_move_list_stepwise(one, wc0);
+ solution1 = j_math_or_list(solution0, lm);
+ j_list_destroy(solution0);
+ j_list_destroy(lm);
+ solution0 = solution1;
+ lm = j_math_left_move_list_stepwise(value0, wc0);
+ a1 = j_math_exclusive_or_list(a0, lm);
+ j_list_destroy(lm);
+ j_list_destroy(a0);
+ a0 = a1;
+ a1 = j_math_exclusive_or(a0, value2);
+ j_list_destroy(a0);
+ a0 = a1;
+ tmp = value3;
+ value3 = j_math_subtraction_list(value1, b0);
+ j_list_destroy(tmp);
+ lm = j_math_left_move_list_stepwise(value3, wc0);
+ a1 = j_math_or_list(a0, lm);
+ j_list_destroy(a0);
+ a0 = a1;
+
+ keep = 0;
+ }
+ tmp = value2;
+ value2 = j_math_left_move_list_stepwise(value2, one);
+ j_list_destroy(value2);
+
+ wc0 = wc1;
+ }
+
+ value4 = 1;
+ i = 0;
+
+ if(value4 & values){
+ destination[i] = solution0;
+ i++;
+ }
+
+ value4 <<= 1;
+
+ if(value4 & values)
+ destination[i] = value1;
+}
+
+uint
+j_math_udivision(uint a, uint b)
+{
+}
+
+JList*
+j_math_udivision_list(JList *a, JList *b)
+{
+ JList *list;
+
+ return(list);
+}
+
+int
+j_math_rest(int a, int b)
+{
+ uint pntr[0];
+ uint rest;
+
+ j_math_division(a, b, pntr, (1 << 1));
+
+ return(rest);
+}
+
+JList*
+j_math_rest_list(JList *a, JList *b)
+{
+ uint pntr[0];
+ JList *rest;
+
+ j_math_division_list(a, b, pntr, (1 << 1));
+
+ return(rest);
+}
+
+int
+j_math_exp2(int a)
+{
+ int solution = a * a;
+
+ return(solution);
+}
+
+int
+j_math_exp(int a, int b)
+{
+ int solution;
+ int i;
+
+ if(b != 0){
+ solution = a;
+ for(i = 1; i < b; i++)
+ solution *= a;
+ }else
+ solution = 1;
+}
+
+int
+j_math_root2(int a)
+{
+ int value;
+
+ return(value);
+}
+
+int
+j_math_root(int a, int b)
+{
+ int value;
+
+ return(value);
+}
+
+void
+j_math_make_valid(char *string)
+{
+ char *string0, *string1;
+ /*
+ string0 = string;
+
+ while((string0 = j_string_find_char(string0, ' ')) != NULL)
+ j_string_delete(string0, 0);
+
+ string0 = string;
+
+ while((string0 = j_string_find_char(string0, '(')) != NULL){
+ string1 = string0;
+
+ while(!j_math_is_operator(string1) && string1 >= string)
+ string1--;
+
+ if(!j_math_is_function(string1))
+ j_string_insert(string0, "*\0", 0);
+ }
+ */
+}
+
+jboolean
+j_math_is_operator(char *string)
+{
+ if(string[0] == '=' ||
+ string[0] == '+' ||
+ string[0] == '-' ||
+ string[0] == '*' ||
+ string[0] == '/' ||
+ string[0] == '%' ||
+ string[0] == '<' ||
+ string[0] == '>' ||
+ j_string_ncompare(string, "<=\0", 2) ||
+ j_string_ncompare(string, ">=\0", 2))
+ return(TRUE);
+ else
+ return(FALSE);
+}
+
+jboolean
+j_math_is_function(char *string)
+{
+ char *offset;
+ uint lenght;
+
+ if((offset = j_string_find_char(string, '(')) == NULL)
+ return(FALSE);
+
+ lenght = (uint) (offset - string);
+
+ if(lenght == 2){
+ return(j_string_ncompare("ln\0", string, lenght));
+ }else if(lenght == 3){
+ if(j_string_ncompare("sin\0", string, lenght) ||
+ j_string_ncompare("cos\0", string, lenght) ||
+ j_string_ncompare("tan\0", string, lenght) ||
+ j_string_ncompare("log\0", string, lenght))
+ return(TRUE);
+ else
+ return(FALSE);
+ }else
+ return(FALSE);
+}
+
+jboolean
+j_math_is_function_backward(char *start, char *string)
+{
+ for(; string != start && *string != '('; string--);
+
+ string--;
+
+ if(string == start)
+ return(FALSE);
+ else{
+ if((string = string -2) <= start)
+ return(FALSE);
+ else
+ if(j_string_ncompare("ln\0", string))
+ return(TRUE);
+ else if((string--) <= start)
+ return(FALSE);
+ else if(j_string_ncompare("sin\0", string))
+ return(TRUE);
+ else if(j_string_ncompare("cos\0", string))
+ return(TRUE);
+ else if(j_string_ncompare("tan\0", string))
+ return(TRUE);
+ else if(j_string_ncompare("log\0", string))
+ return(TRUE);
+ else
+ return(FALSE);
+ }
+}
+
+char*
+j_math_get_function(char *string)
+{
+ char *end;
+ jboolean success;
+
+#ifdef __J_ALTERNATE_H__
+ j_regexp("/%s/[[sin],[cos],[tan],[log],[ln]]([[a-z]*,[A-Z]*,[0-9]*,[_]*]$0)/%p$0/", string, end);
+#else
+ success = FALSE;
+
+ if((end = j_string_find(string, "sin(\0")) != NULL)
+ success = TRUE;
+ else if((end = j_string_find(string, "cos(\0")) != NULL)
+ success = TRUE;
+ else if((end = j_string_find(string, "ln(\0")) != NULL)
+ success = TRUE;
+ else if((end = j_string_find(string, "log(\0")) != NULL)
+ success = TRUE;
+ else if((end = j_string_find(string, "tan(\0")) != NULL)
+ success = TRUE;
+
+ if(!success)
+ return(NULL);
+#endif
+ return(end);
+}
+
+char*
+j_math_get_function_backward(char *start, char *string)
+{
+ for(; string >= start; string--){
+ }
+}
+
+char*
+j_math_get_operator(char *string)
+{
+ for(; *string != '+' || *string != '-' || *string != '*' || *string != '/' || *string != '%' || *string != '\0'; string++);
+
+ if(*string == '\0')
+ return(NULL);
+ else
+ return(string);
+}
+
+char*
+j_math_get_first_level_operator(char *string)
+{
+#ifdef __J_ALTERNATE_H__
+ char *multiply, *over, *rest;
+
+ multiply = j_string_find_char(string, '*');
+ over = j_string_find_char(string, '/');
+ rest = j_string_find_char(string, '%');
+
+ if((multiply == NULL || over < multiply) && (rest == NULL || over < rest))
+ return(over);
+ else if(rest == NULL || over < rest)
+ return(multiply);
+ else
+ return(rest);
+#endif
+
+ for(; *string != '*' || *string != '/' || *string != '%'; string++);
+
+ if(string != '\0')
+ return(NULL);
+ else
+ return(string);
+}
+
+char*
+j_math_get_second_level_operator(char *string)
+{
+#ifdef __J_ALTERNATE_H__
+ char *plus, *minus;
+
+ minus = j_string_find_char(string, '-');
+ plus = j_string_find_char(string, '+');
+
+ if(minus == NULL || plus < minus)
+ return(plus);
+ else
+ return(minus);
+#endif
+
+ for(; *string != '-' || *string != '+'; string++);
+
+ if(*string != '\0')
+ return(string);
+ else
+ return(NULL);
+}
+
+int
+j_math_solve_arithmetic(char *string)
+{
+}
+/*
+int
+j_math_solve_arithmetic_text(JText *text)
+{
+}
+*/
+char*
+j_math_get_variable(char *string)
+{
+ char *offset;
+
+ // j_regexp("/%s/[' '*]$0[[[A-Z],[a-z],[_]]+,[[A-Z],[a-z],[_],[0-9]]*]/%p$0/\0", string, offset);
+
+ return(offset);
+}
+
+char*
+j_math_algebra_get_variable_backward(char *start, char *string)
+{
+ char *offset;
+
+ // j_regexp_backward("/[%s-%s]/*$0[[[A-Z],[a-z],[_]]+,[[A-Z],[a-z],[_],[0-9]]*][' '*]['+','-','*','/','%'][['(',')']*]/%p$0/\0", start, string, offset);
+
+ return(offset);
+}
+
+void
+j_math_sort_brackets(char *string, uint *destination, uint flags)
+{
+ char **opened, **closed;
+ char *string0, *string1;
+ uint size;
+ uint *level, level0;
+ char ***bracket;
+ uint i, j, k;
+ jboolean valid;
+ jboolean previous_level = FALSE;
+ uint value;
+
+ size = j_string_count_char(string, '(');
+ opened = (char**) malloc(size * sizeof(char*));
+ closed = (char**) malloc(size * sizeof(char*));
+ string0 =
+ string1 = string;
+
+ for(i = 0; i < size; i++){
+ string0 =
+ opened[i] = j_string_find_char(string0, '(');
+ string1 =
+ closed[i] = j_string_find_char(string1, ')');
+ }
+
+ if(string1 == NULL || j_string_find_char(string1, ')') != NULL){
+ valid = FALSE;
+ opened = NULL;
+ closed = NULL;
+ level = NULL;
+ goto j_math_sort_bracketsEND1;
+ }
+
+ level = (uint*) malloc(size * sizeof(uint));
+ bracket = (char***) malloc(size * sizeof(char**));
+
+ for(i = 0, level0 = 0; i < size; i++){
+ for(j = 0; j < size -1; j++){
+ if(opened[j] < closed[i]){
+ if(opened[j+1] > closed[i]){
+ level[i] = level0;
+ bracket[i] = (char**) malloc(2 * sizeof(char*));
+ bracket[i][0] = opened[j];
+ bracket[i][1] = closed[i];
+
+ if(previous_level){
+ level0 -= 1;
+ previous_level = FALSE;
+ }
+ break;
+ }else{
+ previous_level = TRUE;
+ level0++;
+ }
+ }else{
+ valid = FALSE;
+ i++;
+ goto j_math_sort_bracketsEND0;
+ }
+ }
+ }
+
+ if(opened[size -1] > closed[0]){
+ if(opened[size -1] < closed[size -1]){
+ for(j = 1; j < size; j++)
+ if(opened[size -1] > closed[j]){
+ bracket[size - 1][0] = opened[size -1];
+ bracket[size - 1][1] = closed[j -1];
+ goto j_math_sort_brackets0;
+ }else
+ level0--;
+ bracket[size - 1][0] = opened[0];
+ bracket[size - 1][1] = closed[0];
+ j_math_sort_brackets0:
+
+ level[size -1] = level0;
+ }else{
+ valid = FALSE;
+ goto j_math_sort_bracketsEND0;
+ }
+ }else if(opened[size -1] < closed[0]){
+ level[size -1] = size -1;
+ bracket[size -1][0] = opened[size -1];
+ bracket[size -1][1] = closed[0];
+ }else{
+ valid = FALSE;
+ goto j_math_sort_bracketsEND0;
+ }
+
+ for(i = 0; i < size -1; i++){
+ for(j = i; j < size -1; j++){
+ if(level[j] < level[i]){
+ closed[i] = bracket[j][0];
+ opened[i] = bracket[j][1];
+
+ for(k = i + 1; k <= j; k++){
+ opened[k] = bracket[k][0];
+ closed[k] = bracket[k][1];
+ }
+ }
+ }
+ }
+
+ valid = TRUE;
+ j_math_sort_bracketsEND0:
+ for(i -= 1; i >= 0; i--)
+ free(bracket[i]);
+
+ free(bracket);
+
+ j_math_sort_bracketsEND1:
+
+ value = 1;
+ i = 0;
+
+ if(value & flags){
+ destination[0] = (uint) opened;
+ i++;
+ }else if(opened != NULL)
+ free(opened);
+
+ value <<= 1;
+
+ if(value & flags){
+ destination[i] = (uint) closed;
+ i++;
+ }else if(closed != NULL)
+ free(closed);
+
+ value <<= 1;
+
+ if(value & flags){
+ destination[i] = (uint) level;
+ i++;
+ }else if(level != NULL)
+ free(level);
+
+ value <<= 1;
+
+ if(value & flags){
+ destination[i] = (uint) valid;
+ i++;
+ }
+
+ value <<= 1;
+
+ if(value & flags)
+ destination[i] = (uint) size;
+}
+
+char*
+j_math_algebra_brackets_out(char *string)
+{
+ /*
+ JList *va, *va_current;
+ char *solution, *current;
+ char *operator, *operator_end;
+ char *variable_end;
+ uint lenght;
+ jboolean function;
+ char *string;
+ uint pntr[0];
+ char **opened, **closed;
+ uint *level, size;
+ jboolean valid;
+ uint value;
+ uint i, j, k, l;
+
+ solution = NULL;
+ va = NULL;
+ // solution = j_regexp("/%s/*(/%s/", string, solution);
+ value = 1 | (1 << 1) | (1 << 2) | (1 << 3);
+ j_math_sort_brackets(string, pntr, value);
+
+ if(!valid){
+ solution = NULL;
+ goto j_math_brackets_outEND;
+ };
+
+ for(i = 0; i < size; i++){
+ va = j_list_append(va);
+ va->data =
+ va_current = j_list_alloc();
+ goto j_math_algebra_brackets_out0;
+
+ for(j = i; level[j] == level[i] && i < size; i++){
+ for(current = opened[i]; current < closed[i];){
+ if(j_regexp("/%s/%p[$0['*','/','%','+','-']*$1,[[[[[a-z],[A-Z],[_]]+,[[a-z],[A-Z],[_],[0-9]]*]]$2,[%p[[ln,log,sin,cos,tan],'(',*, ')'%p]]]]/%p$0%p$1%p$2/\0", string, current0, current0, closed[i], operator, operator_end, variable_end)){
+ va_current = j_list_append(va_current);
+ j_math_algebra_brackets_out0:
+ va_current = j_list_append(va_current);
+ va_current->data = operator;
+ va_current = j_list_append(va_current);
+ va_current->data = operator_end;
+ va_current->data = current;
+ va_current = j_list_append(va_current);
+ va_current->data = variable_end;
+ current = variable_end++;
+ }else if(j_regexp("/%s/%p[$0['+','-','*','/','%']$1*]/%p$0%p$1/\0", string, current, operator, operator_end)){
+ va_current = j_list_append(va_current);
+ va_current->data = operator;
+ va_current = j_list_append(va_current);
+ va_current->data = operator_end;
+ }
+ }
+ }
+ }
+
+ j_math_brackets_outEND:
+ free(opened);
+ free(closed);
+ free(level);
+
+ va = j_list_first(va);
+
+ while(va != NULL){
+ va_current = va;
+
+ while(va_current != NULL){
+ // solution = j_string_insert(solution, va_current->data, );
+
+ va_current = va_current->next;
+ }
+ va = va->next;
+ }
+
+ return(solution);
+ */
+ /*
+ if((current1 = closing_bracket = j_string_find_char(string, ')')) != NULL && (current0 = opening_bracket = j_string_find_char_backwards(string, closing_bracket, '(')) != NULL){
+ string = j_string_duplicate(string);
+ function = FALSE;
+ goto j_math_algebra_brackets_out1;
+ }else
+ return(string);
+
+ while(TRUE){
+ va = j_list_append(va);
+ function = FALSE;
+ j_math_algebra_brackets_out0:
+ if((current1 = closing_bracket = j_string_find_char(current1, ')')) != NULL && (current0 = opening_bracket = j_string_find_char_backward(string, current0, '(')) != NULL)
+ break;
+ j_math_algebra_brackets_out1:
+ if(current0 != string){
+ current0--;
+ }else
+ goto j_math_algebra_brackets_out2;
+
+ if(){
+ }else if(j_regexp("/%s/*$0['-', '+', '*', '/', '%']*[ln,log,cos,sin,tan]%p[' '*]([[[[[a-z]*, [A-Z]*, [_]*]+, [0-9]*], [0-9]*]+])$1/%p$0%p$1/\0", string, current, variable)){
+ current0--;
+ goto j_math_algebra_brackets_out0;
+ }else if(j_regexp("/%s/*$0['-', '+', '*', '/', '%']*[[a-z]*,[A-Z]*,[0-9]*,[_]*['+', '-', '*', '/', '%']*]$1[' ']*%p*\0/%p$0%p$1/\0", string, current0, variable, variable_end)){
+ va = ;
+ }
+
+ j_math_algebra_brackets_out2:
+ for(current = opening_bracket; current != closing_bracket; current++){
+ if(*current == ' '){
+ }else if(){
+ }
+ }
+*/
+ /*
+ sign = closing_bracket[1];
+ operator0 = string;
+ variable0 = j_math_algebra_get_variable_backward(string, opening_bracket);
+
+ if((operator0 = j_math_get_first_level_operator(operator)) != NULL && operator0 < opening_bracket)
+ goto j_math_algebra_brackets_out0;
+ else
+ goto j_math_algebra_brackets_out1;
+ */
+ /*
+ while(TRUE){
+ operator0 = j_math_get_first_level_operator(operator);
+
+ if(operator0 == NULL || operator0 > opening_bracket){
+ if((variable = j_math_algebra_get_variable(operator1) == NULL || variable > opening_bracket){
+ if(*variable0 != NULL && *variable0 < opening_bracket && (*operator1 == NULL || *operator1 < *variable0)){
+ }else if(*operator1 == '+'){
+ }else if(*operator1 == '-'){
+ }else if(*operator1 == '*'){
+ }else if(*operator1 == '/'){
+ }else if(*operator1 == '%'){
+ }
+
+ if(*variable1 != NULL && *variable0 < opening_bracket && (*operator1 == NULL || *operator1 < *variable0)){
+ }else if(*operator3 == '-'){
+ }else if(*operator3 == '+'){
+ }else if(*operator3 == '*'){
+ }else if(*operator3 == '/'){
+ }else if(*operator3 == '%'){
+ }
+ }else{
+ }
+
+ goto j_math_algebra_bracket_out0;
+ }
+
+ j_math_algebra_brackets_out0:
+ operator1 = operator0;
+ }
+ */
+ /*
+ j_math_algebra_brackets_out1:
+ if(string == opening_bracket){
+ }
+ */
+}
+
+char*
+j_math_algebra_operators_out(char *string)
+{
+ char **var;
+ uint var_count;
+ char operator;
+}
+
+char*
+j_math_algebra_functions_out(char *string)
+{
+}
+
+int*
+j_math_algebra_solve(char *string, char *operation)
+{
+}
+/*
+int*
+j_math_algebra_solve_text(JText *text)
+{
+}
+*/
+int*
+j_math_gauss(char **string, uint count)
+{
+}
diff --git a/src/ags/test/lib/jmath.h b/src/ags/test/lib/jmath.h
new file mode 100644
index 0000000..999f253
--- /dev/null
+++ b/src/ags/test/lib/jmath.h
@@ -0,0 +1,45 @@
+#ifndef __J_Math_H__
+#define __J_Math_H__
+
+#include "jtypes.h"
+#include "jlist.h"
+//#include "jtext.h"
+
+int j_math_or(int a, int b);
+int j_math_exclusive_or(int a, int b);
+int j_math_and(int a, int b);
+
+jboolean j_math_more(int a, int b);
+jboolean j_math_less(int a, int b);
+int* j_math_sort_array(int *array, int size);
+void j_math_put_null_at_beginning(int *array, uint size);
+void j_math_put_null_at_end(int *array, uint size);
+
+uint j_math_width(int a);
+JList* j_math_width_list(JList *list);
+JList* j_math_cut_leading_zeros(JList *value);
+
+int j_math_exp2(int a);
+int j_math_exp(int a, int b);
+int j_math_root2(int a);
+int j_math_root(int a, int b);
+
+void j_math_make_valid(char *string);
+jboolean j_math_is_operator(char *string);
+jboolean j_math_is_function(char *string);
+jboolean j_math_is_function_backward(char *start, char *string);
+char* j_math_get_first_level_operator(char *string);
+char* j_math_get_second_level_operator(char *string);
+
+int j_math_solve_arithmetic(char *string);
+//int j_math_solve_arithmetic_text(JText *text);
+
+char* j_math_algebra_brackeds_out(char *string);
+char* j_math_algebra_operations_out(char *string);
+char* j_math_algebra_functions_out(char *string);
+int* j_math_algebra_solve(char *string, char *operation);
+//int* j_math_algebra_solve_text(JText *text);
+
+int* j_math_gauss(char **string, uint count);
+
+#endif /*__J_Math_H__*/
diff --git a/src/ags/test/thread_tree.xml b/src/ags/test/thread_tree.xml
new file mode 100644
index 0000000..3759ef9
--- /dev/null
+++ b/src/ags/test/thread_tree.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<thread type="AgsAudioLoop">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ </thread>
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ </thread>
+ </thread>
+ </thread>
+ </thread>
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ <thread type="AgsThread">
+ </thread>
+ </thread>
+ </thread>
+ </thread>
+ </thread>
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ <thread type="AgsThread">
+ </thread>
+ </thread>
+</thread>
diff --git a/src/ags/thread/Makefile b/src/ags/thread/Makefile
new file mode 100644
index 0000000..9f0487b
--- /dev/null
+++ b/src/ags/thread/Makefile
@@ -0,0 +1,498 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/thread/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/thread
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/thread
+abs_srcdir = /usr/src/ags-devel/src/ags/thread
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_thread_h_sources = \
+ ags_history.h
+
+ags_thread_h_sources = \
+ $(deprecated_ags_thread_h_sources) \
+ ags_async_queue.h \
+ ags_audio_loop.h \
+ ags_autosave_thread.h \
+ ags_devout_thread.h \
+ ags_export_thread.h \
+ ags_gui_task_thread.h \
+ ags_gui_thread.h \
+ ags_iterator_thread.h \
+ ags_portable_thread.h \
+ ags_record_thread.h \
+ ags_recycling_thread_callbacks.h \
+ ags_recycling_thread.h \
+ ags_returnable_thread.h \
+ ags_single_thread.h \
+ ags_task_thread.h \
+ ags_thread_pool.h \
+ ags_thread-posix.h \
+ ags_timestamp_thread.h
+
+deprecated_ags_thread_c_sources =
+ags_thread_c_sources = \
+ $(deprecated_ags_thread_c_sources) \
+ ags_async_queue.c \
+ ags_audio_loop.c \
+ ags_autosave_thread.c \
+ ags_devout_thread.c \
+ ags_export_thread.c \
+ ags_gui_task_thread.c \
+ ags_gui_thread.c \
+ ags_iterator_thread.c \
+ ags_portable_thread.c \
+ ags_record_thread.c \
+ ags_recycling_thread_callbacks.c \
+ ags_recycling_thread.c \
+ ags_returnable_thread.c \
+ ags_single_thread.c \
+ ags_task_thread.c \
+ ags_thread_pool.c \
+ ags_thread-posix.c \
+ ags_timestamp_thread.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/thread/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/thread/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/thread/Makefile.am b/src/ags/thread/Makefile.am
new file mode 100644
index 0000000..120f005
--- /dev/null
+++ b/src/ags/thread/Makefile.am
@@ -0,0 +1,46 @@
+deprecated_ags_thread_h_sources = \
+ ags_history.h
+
+ags_thread_h_sources = \
+ $(deprecated_ags_thread_h_sources) \
+ ags_async_queue.h \
+ ags_audio_loop.h \
+ ags_autosave_thread.h \
+ ags_devout_thread.h \
+ ags_export_thread.h \
+ ags_gui_task_thread.h \
+ ags_gui_thread.h \
+ ags_iterator_thread.h \
+ ags_portable_thread.h \
+ ags_record_thread.h \
+ ags_recycling_thread_callbacks.h \
+ ags_recycling_thread.h \
+ ags_returnable_thread.h \
+ ags_single_thread.h \
+ ags_task_thread.h \
+ ags_thread_pool.h \
+ ags_thread-posix.h \
+ ags_timestamp_thread.h
+
+deprecated_ags_thread_c_sources =
+
+ags_thread_c_sources = \
+ $(deprecated_ags_thread_c_sources) \
+ ags_async_queue.c \
+ ags_audio_loop.c \
+ ags_autosave_thread.c \
+ ags_devout_thread.c \
+ ags_export_thread.c \
+ ags_gui_task_thread.c \
+ ags_gui_thread.c \
+ ags_iterator_thread.c \
+ ags_portable_thread.c \
+ ags_record_thread.c \
+ ags_recycling_thread_callbacks.c \
+ ags_recycling_thread.c \
+ ags_returnable_thread.c \
+ ags_single_thread.c \
+ ags_task_thread.c \
+ ags_thread_pool.c \
+ ags_thread-posix.c \
+ ags_timestamp_thread.c
diff --git a/src/ags/thread/Makefile.in b/src/ags/thread/Makefile.in
new file mode 100644
index 0000000..87344b8
--- /dev/null
+++ b/src/ags/thread/Makefile.in
@@ -0,0 +1,498 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/thread
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_thread_h_sources = \
+ ags_history.h
+
+ags_thread_h_sources = \
+ $(deprecated_ags_thread_h_sources) \
+ ags_async_queue.h \
+ ags_audio_loop.h \
+ ags_autosave_thread.h \
+ ags_devout_thread.h \
+ ags_export_thread.h \
+ ags_gui_task_thread.h \
+ ags_gui_thread.h \
+ ags_iterator_thread.h \
+ ags_portable_thread.h \
+ ags_record_thread.h \
+ ags_recycling_thread_callbacks.h \
+ ags_recycling_thread.h \
+ ags_returnable_thread.h \
+ ags_single_thread.h \
+ ags_task_thread.h \
+ ags_thread_pool.h \
+ ags_thread-posix.h \
+ ags_timestamp_thread.h
+
+deprecated_ags_thread_c_sources =
+ags_thread_c_sources = \
+ $(deprecated_ags_thread_c_sources) \
+ ags_async_queue.c \
+ ags_audio_loop.c \
+ ags_autosave_thread.c \
+ ags_devout_thread.c \
+ ags_export_thread.c \
+ ags_gui_task_thread.c \
+ ags_gui_thread.c \
+ ags_iterator_thread.c \
+ ags_portable_thread.c \
+ ags_record_thread.c \
+ ags_recycling_thread_callbacks.c \
+ ags_recycling_thread.c \
+ ags_returnable_thread.c \
+ ags_single_thread.c \
+ ags_task_thread.c \
+ ags_thread_pool.c \
+ ags_thread-posix.c \
+ ags_timestamp_thread.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/thread/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/thread/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/thread/ags_async_queue.c b/src/ags/thread/ags_async_queue.c
new file mode 100644
index 0000000..442e68e
--- /dev/null
+++ b/src/ags/thread/ags_async_queue.c
@@ -0,0 +1,443 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_async_queue.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+void ags_async_queue_class_init(AgsAsyncQueueClass *async_queue);
+void ags_async_queue_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_async_queue_init(AgsAsyncQueue *async_queue);
+void ags_async_queue_connect(AgsConnectable *connectable);
+void ags_async_queue_disconnect(AgsConnectable *connectable);
+void ags_async_queue_finalize(GObject *gobject);
+
+void ags_async_queue_real_interrupt(AgsAsyncQueue *async_queue);
+void ags_async_queue_real_push_context(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+void ags_async_queue_real_pop_context(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+
+void ags_async_queue_run_callback(AgsThread *thread,
+ AgsAsyncQueue *async_queue);
+
+enum{
+ INTERRUPT,
+ PUSH_CONTEXT,
+ POP_CONTEXT,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_async_queue_parent_class = NULL;
+static guint async_queue_signals[LAST_SIGNAL];
+
+GType
+ags_async_queue_get_type()
+{
+ static GType ags_type_async_queue = 0;
+
+ if(!ags_type_async_queue){
+ const GTypeInfo ags_async_queue_info = {
+ sizeof (AgsAsyncQueueClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_async_queue_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAsyncQueue),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_async_queue_init,
+ };
+
+ ags_type_async_queue = g_type_register_static(G_TYPE_OBJECT,
+ "AgsAsyncQueue\0",
+ &ags_async_queue_info,
+ 0);
+ }
+
+ return(ags_type_async_queue);
+}
+
+void
+ags_async_queue_class_init(AgsAsyncQueueClass *async_queue)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_async_queue_parent_class = g_type_class_peek_parent(async_queue);
+
+ /* AgsAsyncQueue */
+ async_queue->interrupt = ags_async_queue_real_interrupt;
+ async_queue->push_context = ags_async_queue_real_push_context;
+ async_queue->pop_context = ags_async_queue_real_pop_context;
+
+ /* signals */
+ async_queue_signals[INTERRUPT] =
+ g_signal_new("interrupt\0",
+ G_TYPE_FROM_CLASS(async_queue),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAsyncQueueClass, interrupt),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ async_queue_signals[PUSH_CONTEXT] =
+ g_signal_new("push_context\0",
+ G_TYPE_FROM_CLASS(async_queue),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAsyncQueueClass, push_context),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1,
+ G_TYPE_POINTER);
+
+ async_queue_signals[POP_CONTEXT] =
+ g_signal_new("pop_context\0",
+ G_TYPE_FROM_CLASS(async_queue),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsAsyncQueueClass, pop_context),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE, 1,
+ G_TYPE_POINTER);
+}
+
+void
+ags_async_queue_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_async_queue_connect;
+ connectable->disconnect = ags_async_queue_disconnect;
+}
+
+void
+ags_async_queue_init(AgsAsyncQueue *async_queue)
+{
+ struct sigevent sev;
+
+ async_queue->flags = AGS_ASYNC_QUEUE_POSIX_THREADS;
+
+ async_queue->output_sum = AGS_DEVOUT_DEFAULT_BUFFER_SIZE;
+ async_queue->systemrate = NSEC_PER_SEC / AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE;
+ //TODO:JK: fix aproximation
+ async_queue->interval = async_queue->output_sum * NSEC_PER_SEC / async_queue->systemrate / 2;
+
+ sev.sigev_notify = SIGEV_SIGNAL;
+ sev.sigev_signo = AGS_ASYNC_QUEUE_SIGNAL_HIGH;
+ sev.sigev_value.sival_ptr = &(async_queue->timerid);
+
+ // timer_create(AGS_ASYNC_QUEUE_CLOCK_ID, &sev, &(async_queue->timerid));
+
+ async_queue->stack = g_queue_new();
+ async_queue->timer = g_hash_table_new(g_str_hash, g_str_equal);
+
+ pthread_mutex_init(&(async_queue->lock.mutex), NULL);
+
+ async_queue->context = NULL;
+ async_queue->unref_context = NULL;
+}
+
+void
+ags_async_queue_connect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_async_queue_disconnect(AgsConnectable *connectable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_async_queue_finalize(GObject *gobject)
+{
+ //TODO:JK: implement me
+}
+
+AgsTimer*
+ags_timer_alloc(time_t tv_sec, long tv_nsec)
+{
+ AgsTimer *timer;
+
+ timer = (AgsTimer *) malloc(sizeof(AgsTimer));
+
+ timer->run_delay.tv_sec = tv_sec;
+ timer->run_delay.tv_nsec = tv_nsec;
+
+ timer->record_history = FALSE;
+ timer->history = NULL;
+
+ return(timer);
+}
+
+AgsContext*
+ags_context_alloc(GQueue *stack, GHashTable *timer)
+{
+ AgsContext *context;
+
+ context = (AgsContext *) malloc(sizeof(AgsContext));
+
+ context->stack = stack;
+ context->timer = timer;
+
+ return(context);
+}
+
+guint
+ags_async_queue_next_interval(AgsAsyncQueue *async_queue)
+{
+ return(async_queue->output_sum * async_queue->systemrate / NSEC_PER_SEC);
+}
+
+AgsContext*
+ags_async_queue_find_context(AgsAsyncQueue *async_queue,
+ AgsStackable *stackable)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_async_queue_add(AgsAsyncQueue *async_queue, AgsStackable *stackable)
+{
+ AgsTimer *timer;
+ static time_t tv_sec = 0;
+ static long tv_nsec = 0;
+ static long delay = 4000;
+ static const long max_delay = 800000;
+ static gboolean odd = FALSE;
+
+ if((AGS_ASYNC_QUEUE_LINUX_THREADS & (async_queue->flags)) != 0){
+ //TODO:JK: uncomment me
+ // while(atomic_read(&(async_queue->lock.monitor)) == 1){
+ // ags_async_queue_idle(async_queue);
+ // }
+
+ // atomic_set(&(async_queue->lock.monitor),
+ // 1);
+ }else if((AGS_ASYNC_QUEUE_POSIX_THREADS & (async_queue->flags)) != 0){
+ pthread_mutex_lock(&(async_queue->lock.mutex));
+ }
+
+ timer = ags_timer_alloc(tv_sec,
+ tv_nsec);
+
+ if(!odd){
+ tv_nsec += delay;
+
+ if(tv_nsec >= max_delay){
+ tv_nsec = max_delay / 2;
+ odd = TRUE;
+ }
+ }else{
+ tv_nsec -= delay;
+
+ if(2 * delay > tv_nsec - delay){
+ odd = FALSE;
+ }
+ }
+
+ g_queue_push_tail(async_queue->stack,
+ stackable);
+ g_hash_table_insert(async_queue->timer, stackable, timer);
+
+ // g_signal_connect(G_OBJECT(stackable), "run\0",
+ // G_CALLBACK(ags_async_queue_run_callback), async_queue);
+
+ if((AGS_ASYNC_QUEUE_LINUX_THREADS & (async_queue->flags)) != 0){
+ //TODO:JK: uncomment me
+ // atomic_set(&(async_queue->lock.monitor),
+ // 0);
+ }else if((AGS_ASYNC_QUEUE_POSIX_THREADS & (async_queue->flags)) != 0){
+ pthread_mutex_unlock(&(async_queue->lock.mutex));
+ }
+}
+
+gboolean
+ags_async_queue_remove(AgsAsyncQueue *async_queue, AgsStackable *stackable)
+{
+ AgsTimer *timer;
+
+ timer = g_hash_table_lookup(async_queue->timer,
+ stackable);
+ g_hash_table_remove(async_queue->timer,
+ stackable);
+ free(timer);
+}
+
+void
+ags_async_queue_idle(AgsAsyncQueue *async_queue)
+{
+ /* software interrupt - caused by exceeding multiplexing by time */
+ ags_async_queue_interrupt(async_queue);
+}
+
+void
+ags_async_queue_run_callback(AgsThread *thread,
+ AgsAsyncQueue *async_queue)
+{
+ AgsTimer *timer;
+ gboolean interrupt_first;
+ struct timespec delay = {
+ 0,
+ NSEC_PER_SEC / thread->freq / 2,
+ };
+
+ interrupt_first = ((AGS_ASYNC_QUEUE_STOP_BIT_0 & (async_queue->flags)) != 0) ? TRUE: FALSE;
+
+ timer = g_hash_table_lookup(async_queue->timer,
+ AGS_STACKABLE(thread));
+
+ // nanosleep(&(timer->run_delay), NULL);
+ // ags_async_queue_interrupt(async_queue);
+
+ // nanosleep(&(delay), NULL);
+
+ while((interrupt_first &&
+ (AGS_ASYNC_QUEUE_STOP_BIT_0 & (async_queue->flags)) != 0) ||
+ (!interrupt_first &&
+ AGS_ASYNC_QUEUE_STOP_BIT_1 & (async_queue->flags)) != 0){
+ }
+}
+
+void
+ags_async_queue_real_interrupt(AgsAsyncQueue *async_queue)
+{
+ // pthread_yield();
+}
+
+void
+ags_async_queue_interrupt(AgsAsyncQueue *async_queue)
+{
+ g_return_if_fail(AGS_IS_ASYNC_QUEUE(async_queue));
+
+ g_object_ref(G_OBJECT(async_queue));
+ g_signal_emit(G_OBJECT(async_queue),
+ async_queue_signals[INTERRUPT], 0);
+ g_object_unref(G_OBJECT(async_queue));
+}
+
+void
+ags_async_queue_real_push_context(AgsAsyncQueue *async_queue,
+ AgsContext *context)
+{
+ async_queue->stack = context->stack;
+ async_queue->timer = context->timer;
+}
+
+void
+ags_async_queue_push_context(AgsAsyncQueue *async_queue,
+ AgsContext *context)
+{
+ g_return_if_fail(AGS_IS_ASYNC_QUEUE(async_queue));
+
+ g_object_ref(G_OBJECT(async_queue));
+ g_signal_emit(G_OBJECT(async_queue),
+ async_queue_signals[PUSH_CONTEXT], 0,
+ context);
+ g_object_unref(G_OBJECT(async_queue));
+}
+
+void
+ags_async_queue_real_pop_context(AgsAsyncQueue *async_queue,
+ AgsContext *context)
+{
+ async_queue->stack = NULL;
+ async_queue->timer = NULL;
+}
+
+void
+ags_async_queue_pop_context(AgsAsyncQueue *async_queue,
+ AgsContext *context)
+{
+ g_return_if_fail(AGS_IS_ASYNC_QUEUE(async_queue));
+
+ g_object_ref(G_OBJECT(async_queue));
+ g_signal_emit(G_OBJECT(async_queue),
+ async_queue_signals[POP_CONTEXT], 0,
+ context);
+ g_object_unref(G_OBJECT(async_queue));
+}
+
+void*
+ags_async_queue_worker(void *ptr)
+{
+ AgsAsyncQueue *async_queue;
+ struct timespec delay = {
+ 0,
+ async_queue->output_sum * NSEC_PER_SEC / async_queue->systemrate / 2,
+ };
+
+
+ while((AGS_ASYNC_QUEUE_WORKER_RUNNING & (async_queue->flags)) != 0){
+ if((AGS_ASYNC_QUEUE_STOP_BIT_0 & (async_queue->flags)) != 0){
+ async_queue->flags &= (~AGS_ASYNC_QUEUE_STOP_BIT_0);
+ async_queue->flags |= (AGS_ASYNC_QUEUE_STOP_BIT_1);
+ }else{
+ async_queue->flags &= (~AGS_ASYNC_QUEUE_STOP_BIT_1);
+ async_queue->flags |= (AGS_ASYNC_QUEUE_STOP_BIT_0);
+ }
+
+ nanosleep(&delay, NULL);
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_async_queue_clean:
+ */
+void
+ags_async_queue_clean(AgsAsyncQueue *async_queue)
+{
+ GList *list;
+
+ list = async_queue->unref_context;
+
+ while(list != NULL){
+ g_object_unref(list->data);
+
+ list = list->next;
+ }
+
+ g_list_free(async_queue->unref_context);
+ async_queue->unref_context = NULL;
+}
+
+/**
+ * ags_async_queue_new:
+ */
+AgsAsyncQueue*
+ags_async_queue_new()
+{
+ AgsAsyncQueue *async_queue;
+
+ async_queue = (AgsAsyncQueue *) g_object_new(AGS_TYPE_ASYNC_QUEUE,
+ NULL);
+
+ return(async_queue);
+}
diff --git a/src/ags/thread/ags_async_queue.h b/src/ags/thread/ags_async_queue.h
new file mode 100644
index 0000000..732bcae
--- /dev/null
+++ b/src/ags/thread/ags_async_queue.h
@@ -0,0 +1,142 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ASYNC_QUEUE_H__
+#define __AGS_ASYNC_QUEUE_H__
+
+#include <signal.h>
+#include <time.h>
+
+#include <linux/futex.h>
+#include <sys/time.h>
+
+#include <pthread.h>
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/object/ags_stackable.h>
+
+#define AGS_TYPE_ASYNC_QUEUE (ags_async_queue_get_type())
+#define AGS_ASYNC_QUEUE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ASYNC_QUEUE, AgsAsyncQueue))
+#define AGS_ASYNC_QUEUE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_ASYNC_QUEUE, AgsAsyncQueueClass))
+#define AGS_IS_ASYNC_QUEUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_ASYNC_QUEUE))
+#define AGS_IS_ASYNC_QUEUE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_ASYNC_QUEUE))
+#define AGS_ASYNC_QUEUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_ASYNC_QUEUE, AgsAsyncQueueClass))
+
+#define AGS_ASYNC_QUEUE_DEFAULT_SYSTEM_JIFFIE (250)
+
+#define AGS_ASYNC_QUEUE_CLOCK_ID CLOCK_REALTIME
+#define AGS_ASYNC_QUEUE_SIGNAL_HIGH SIGRTMAX
+#define AGS_ASYNC_QUEUE_SIGNAL_LOW SIGRTMIN
+
+typedef struct _AgsAsyncQueue AgsAsyncQueue;
+typedef struct _AgsAsyncQueueClass AgsAsyncQueueClass;
+typedef struct _AgsTimer AgsTimer;
+typedef struct _AgsContext AgsContext;
+
+typedef enum{
+ AGS_ASYNC_QUEUE_LINUX_THREADS = 1,
+ AGS_ASYNC_QUEUE_POSIX_THREADS = 1 << 1,
+ AGS_ASYNC_QUEUE_WORKER_RUNNING = 1 << 2,
+ AGS_ASYNC_QUEUE_INTERRUPT_OWN = 1 << 2,
+ AGS_ASYNC_QUEUE_INTERRUPT_OTHER = 1 << 3,
+ AGS_ASYNC_QUEUE_STOP_BIT_0 = 1 << 4,
+ AGS_ASYNC_QUEUE_STOP_BIT_1 = 1 << 5,
+}AgsAsyncQueueFlags;
+
+struct _AgsAsyncQueue
+{
+ GObject object;
+
+ guint flags;
+
+ guint output_sum;
+ guint systemrate;
+ guint interval;
+
+ timer_t timerid;
+
+ GQueue *stack;
+ GHashTable *timer;
+
+ union{
+ // atomic_t monitor;
+ pthread_mutex_t mutex;
+ }lock;
+
+ GList *context;
+ GList *unref_context;
+};
+
+struct _AgsAsyncQueueClass
+{
+ GObjectClass object;
+
+ void (*interrupt)(AgsAsyncQueue *async_queue);
+
+ void (*push_context)(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+ void (*pop_context)(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+};
+
+struct _AgsTimer
+{
+ struct timespec run_delay;
+
+ //NOTE: not supported for now
+ gboolean record_history;
+ gpointer history;
+};
+
+struct _AgsContext
+{
+ GQueue *stack;
+ GHashTable *timer;
+};
+
+GType ags_async_queue_get_type();
+
+AgsTimer* ags_timer_alloc(time_t tv_sec, long tv_nsec);
+AgsContext* ags_context_alloc(GQueue *stack, GHashTable *timer);
+
+guint ags_async_queue_next_interval(AgsAsyncQueue *async_queue);
+
+AgsContext* ags_async_queue_find_context(AgsAsyncQueue *async_queue,
+ AgsStackable *stackable);
+
+void ags_async_queue_add(AgsAsyncQueue *async_queue, AgsStackable *stackable);
+gboolean ags_async_queue_remove(AgsAsyncQueue *async_queue, AgsStackable *stackable);
+
+void ags_async_queue_idle(AgsAsyncQueue *async_queue);
+
+void ags_async_queue_initerrupt(AgsAsyncQueue *async_queue);
+
+void ags_async_queue_push_context(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+void ags_async_queue_pop_context(AgsAsyncQueue *async_queue,
+ AgsContext *context);
+
+void* ags_async_queue_worker(void *ptr);
+
+void ags_async_queue_clean(AgsAsyncQueue *async_queue);
+
+AgsAsyncQueue* ags_async_queue_new();
+
+#endif /*__AGS_ASYNC_QUEUE_H__*/
diff --git a/src/ags/thread/ags_audio_loop.c b/src/ags/thread/ags_audio_loop.c
new file mode 100644
index 0000000..b8be3e0
--- /dev/null
+++ b/src/ags/thread/ags_audio_loop.c
@@ -0,0 +1,1135 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_audio_loop.h>
+
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_main_loop.h>
+
+#include <ags/thread/ags_export_thread.h>
+#include <ags/thread/ags_gui_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recall.h>
+
+void ags_audio_loop_class_init(AgsAudioLoopClass *audio_loop);
+void ags_audio_loop_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_audio_loop_main_loop_interface_init(AgsMainLoopInterface *main_loop);
+void ags_audio_loop_init(AgsAudioLoop *audio_loop);
+void ags_audio_loop_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_loop_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_audio_loop_connect(AgsConnectable *connectable);
+void ags_audio_loop_disconnect(AgsConnectable *connectable);
+void ags_audio_loop_set_async_queue(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue);
+AgsAsyncQueue* ags_audio_loop_get_async_queue(AgsMainLoop *main_loop);
+void ags_audio_loop_set_tic(AgsMainLoop *main_loop, guint tic);
+guint ags_audio_loop_get_tic(AgsMainLoop *main_loop);
+void ags_audio_loop_set_last_sync(AgsMainLoop *main_loop, guint last_sync);
+guint ags_audio_loop_get_last_sync(AgsMainLoop *main_loop);
+void ags_audio_loop_finalize(GObject *gobject);
+
+void ags_audio_loop_start(AgsThread *thread);
+void ags_audio_loop_run(AgsThread *thread);
+
+void ags_audio_loop_play_recall(AgsAudioLoop *audio_loop);
+void ags_audio_loop_play_channel(AgsAudioLoop *audio_loop);
+void ags_audio_loop_play_audio(AgsAudioLoop *audio_loop);
+
+/**
+ * SECTION:ags_audio_loop
+ * @short_description: audio loop
+ * @title: AgsAudioLoop
+ * @section_id:
+ * @include: ags/thread/ags_audio_loop.h
+ *
+ * The #AgsAudioLoop is suitable as #AgsMainLoop and does
+ * audio processing.
+ */
+
+enum{
+ PROP_0,
+ PROP_TASK_THREAD,
+ PROP_GUI_THREAD,
+ PROP_DEVOUT_THREAD,
+ PROP_EXPORT_THREAD,
+ PROP_PLAY_RECALL,
+ PROP_PLAY_CHANNEL,
+ PROP_PLAY_AUDIO,
+};
+
+static gpointer ags_audio_loop_parent_class = NULL;
+static AgsConnectableInterface *ags_audio_loop_parent_connectable_interface;
+
+GType
+ags_audio_loop_get_type()
+{
+ static GType ags_type_audio_loop = 0;
+
+ if(!ags_type_audio_loop){
+ static const GTypeInfo ags_audio_loop_info = {
+ sizeof (AgsAudioLoopClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_audio_loop_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAudioLoop),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_audio_loop_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_audio_loop_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_main_loop_interface_info = {
+ (GInterfaceInitFunc) ags_audio_loop_main_loop_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_audio_loop = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsAudioLoop\0",
+ &ags_audio_loop_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_audio_loop,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_audio_loop,
+ AGS_TYPE_MAIN_LOOP,
+ &ags_main_loop_interface_info);
+ }
+
+ return (ags_type_audio_loop);
+}
+
+void
+ags_audio_loop_class_init(AgsAudioLoopClass *audio_loop)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+ GParamSpec *param_spec;
+
+ ags_audio_loop_parent_class = g_type_class_peek_parent(audio_loop);
+
+ /* GObject */
+ gobject = (GObjectClass *) audio_loop;
+
+ gobject->set_property = ags_audio_loop_set_property;
+ gobject->get_property = ags_audio_loop_get_property;
+
+ gobject->finalize = ags_audio_loop_finalize;
+
+ /* properties */
+ /**
+ * AgsAudioLoop:task-thread:
+ *
+ * The assigned #AgsTaskThread.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("task-thread\0",
+ "task thread to run\0",
+ "The task thread to run\0",
+ AGS_TYPE_TASK_THREAD,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_TASK_THREAD,
+ param_spec);
+
+ /**
+ * AgsAudioLoop:devout-thread:
+ *
+ * The assigned #AgsDevoutThread.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("devout-thread\0",
+ "devout thread to run\0",
+ "The devout thread to run\0",
+ AGS_TYPE_DEVOUT_THREAD,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT_THREAD,
+ param_spec);
+
+ /**
+ * AgsAudioLoop:export-thread:
+ *
+ * The assigned #AgsExportThread.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("export-thread\0",
+ "export thread to run\0",
+ "The export thread to run\0",
+ AGS_TYPE_EXPORT_THREAD,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_EXPORT_THREAD,
+ param_spec);
+
+ /**
+ * AgsAudioLoop:gui-thread:
+ *
+ * The assigned #AgsGuiThread.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("gui-thread\0",
+ "gui thread to run\0",
+ "The gui thread to run\0",
+ AGS_TYPE_GUI_THREAD,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_GUI_THREAD,
+ param_spec);
+
+ /**
+ * AgsAudioLoop:play-recall:
+ *
+ * An #AgsRecall to add for playback.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("play_recall\0",
+ "recall to run\0",
+ "A recall to run\0",
+ AGS_TYPE_RECALL,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PLAY_RECALL,
+ param_spec);
+
+ /**
+ * AgsAudioLoop:play-channel:
+ *
+ * An #AgsChannel to add for playback.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("play_channel\0",
+ "channel to run\0",
+ "A channel to run\0",
+ AGS_TYPE_CHANNEL,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PLAY_CHANNEL,
+ param_spec);
+
+ /**
+ * AgsAudioLoop:play-audio:
+ *
+ * An #AgsAudio to add for playback.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("play_audio\0",
+ "audio to run\0",
+ "A audio to run\0",
+ AGS_TYPE_AUDIO,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_PLAY_AUDIO,
+ param_spec);
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) audio_loop;
+
+ thread->start = ags_audio_loop_start;
+ thread->run = ags_audio_loop_run;
+
+ /* AgsAudioLoop */
+}
+
+void
+ags_audio_loop_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_audio_loop_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_audio_loop_connect;
+ connectable->disconnect = ags_audio_loop_disconnect;
+}
+
+void
+ags_audio_loop_main_loop_interface_init(AgsMainLoopInterface *main_loop)
+{
+ main_loop->set_async_queue = ags_audio_loop_set_async_queue;
+ main_loop->get_async_queue = ags_audio_loop_get_async_queue;
+ main_loop->set_tic = ags_audio_loop_set_tic;
+ main_loop->get_tic = ags_audio_loop_get_tic;
+ main_loop->set_last_sync = ags_audio_loop_set_last_sync;
+ main_loop->get_last_sync = ags_audio_loop_get_last_sync;
+}
+
+void
+ags_audio_loop_init(AgsAudioLoop *audio_loop)
+{
+ AgsThread *thread;
+ AgsGuiThread *gui_thread;
+
+ thread = (AgsThread *) audio_loop;
+
+ // thread->flags |= AGS_THREAD_WAIT_FOR_CHILDREN;
+
+ thread->freq = AGS_AUDIO_LOOP_DEFAULT_JIFFIE;
+
+ audio_loop->flags = 0;
+
+ g_atomic_int_set(&(audio_loop->tic), 0);
+ g_atomic_int_set(&(audio_loop->last_sync), 0);
+
+ audio_loop->ags_main = NULL;
+
+ /* AgsAsyncQueue */
+ audio_loop->async_queue = ags_async_queue_new();
+
+ /* AgsTaskThread */
+ audio_loop->task_thread = (AgsThread *) ags_task_thread_new(NULL);
+ ags_thread_add_child(AGS_THREAD(audio_loop), audio_loop->task_thread);
+
+ /* AgsGuiThread */
+ gui_thread =
+ audio_loop->gui_thread = (AgsThread *) ags_gui_thread_new();
+ ags_thread_add_child(AGS_THREAD(audio_loop), audio_loop->gui_thread);
+
+ /* AgsDevoutThread */
+ audio_loop->devout_thread = (AgsThread *) ags_devout_thread_new(NULL);
+ ags_thread_add_child(AGS_THREAD(audio_loop), audio_loop->devout_thread);
+
+ /* AgsExportThread */
+ audio_loop->export_thread = (AgsThread *) ags_export_thread_new(NULL, NULL);
+ ags_thread_add_child(AGS_THREAD(audio_loop), audio_loop->export_thread);
+
+ /* recall mutex */
+ pthread_mutex_init(&(audio_loop->recall_mutex), NULL);
+
+ /* recall related lists */
+ audio_loop->play_recall_ref = 0;
+ audio_loop->play_recall = NULL;
+
+ audio_loop->play_channel_ref = 0;
+ audio_loop->play_channel = NULL;
+
+ audio_loop->play_audio_ref = 0;
+ audio_loop->play_audio = NULL;
+
+ audio_loop->play_notation_ref = 0;
+ audio_loop->play_notation = NULL;
+}
+
+void
+ags_audio_loop_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudioLoop *audio_loop;
+
+ audio_loop = AGS_AUDIO_LOOP(gobject);
+
+ switch(prop_id){
+ case PROP_TASK_THREAD:
+ {
+ AgsThread *thread;
+
+ thread = (AgsThread *) g_value_get_object(value);
+
+ if(audio_loop->task_thread != NULL){
+ g_object_unref(G_OBJECT(audio_loop->task_thread));
+ }
+
+ if(thread != NULL){
+ g_object_ref(G_OBJECT(thread));
+ }
+
+ audio_loop->task_thread = thread;
+ }
+ break;
+ case PROP_GUI_THREAD:
+ {
+ AgsThread *thread;
+
+ thread = (AgsThread *) g_value_get_object(value);
+
+ if(audio_loop->gui_thread != NULL){
+ g_object_unref(G_OBJECT(audio_loop->gui_thread));
+ }
+
+ if(thread != NULL){
+ g_object_ref(G_OBJECT(thread));
+ }
+
+ audio_loop->gui_thread = thread;
+ }
+ break;
+ case PROP_DEVOUT_THREAD:
+ {
+ AgsThread *thread;
+
+ thread = (AgsThread *) g_value_get_object(value);
+
+ if(audio_loop->devout_thread != NULL){
+ g_object_unref(G_OBJECT(audio_loop->devout_thread));
+ }
+
+ if(thread != NULL){
+ g_object_ref(G_OBJECT(thread));
+ }
+
+ audio_loop->devout_thread = thread;
+ }
+ break;
+ case PROP_EXPORT_THREAD:
+ {
+ AgsThread *thread;
+
+ thread = (AgsThread *) g_value_get_object(value);
+
+ if(audio_loop->export_thread != NULL){
+ g_object_unref(G_OBJECT(audio_loop->export_thread));
+ }
+
+ if(thread != NULL){
+ g_object_ref(G_OBJECT(thread));
+ }
+
+ audio_loop->export_thread = thread;
+ }
+ break;
+ case PROP_PLAY_RECALL:
+ {
+ AgsRecall *recall;
+
+ recall = (AgsRecall *) g_value_get_pointer(value);
+
+ if(recall != NULL){
+ audio_loop->play_recall = g_list_prepend(audio_loop->play_recall,
+ recall);
+ }
+ }
+ break;
+ case PROP_PLAY_CHANNEL:
+ {
+ AgsChannel *channel;
+
+ channel = (AgsChannel *) g_value_get_pointer(value);
+
+ if(channel != NULL){
+ audio_loop->play_channel = g_list_prepend(audio_loop->play_channel,
+ channel);
+ }
+ }
+ break;
+ case PROP_PLAY_AUDIO:
+ {
+ AgsAudio *audio;
+
+ audio = (AgsAudio *) g_value_get_pointer(value);
+
+ if(audio != NULL){
+ audio_loop->play_audio = g_list_prepend(audio_loop->play_audio,
+ audio);
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_loop_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAudioLoop *audio_loop;
+
+ audio_loop = AGS_AUDIO_LOOP(gobject);
+
+ switch(prop_id){
+ case PROP_TASK_THREAD:
+ {
+ g_value_set_object(value, audio_loop->task_thread);
+ }
+ break;
+ case PROP_GUI_THREAD:
+ {
+ g_value_set_object(value, audio_loop->gui_thread);
+ }
+ break;
+ case PROP_DEVOUT_THREAD:
+ {
+ g_value_set_object(value, audio_loop->devout_thread);
+ }
+ break;
+ case PROP_EXPORT_THREAD:
+ {
+ g_value_set_object(value, audio_loop->export_thread);
+ }
+ break;
+ case PROP_PLAY_RECALL:
+ {
+ g_value_set_pointer(value, audio_loop->play_recall);
+ }
+ break;
+ case PROP_PLAY_CHANNEL:
+ {
+ g_value_set_pointer(value, audio_loop->play_channel);
+ }
+ break;
+ case PROP_PLAY_AUDIO:
+ {
+ g_value_set_pointer(value, audio_loop->play_audio);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_audio_loop_connect(AgsConnectable *connectable)
+{
+ ags_audio_loop_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_audio_loop_disconnect(AgsConnectable *connectable)
+{
+ ags_audio_loop_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_audio_loop_set_async_queue(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue)
+{
+ AGS_AUDIO_LOOP(main_loop)->async_queue = async_queue;
+}
+
+AgsAsyncQueue*
+ags_audio_loop_get_async_queue(AgsMainLoop *main_loop)
+{
+ return(AGS_AUDIO_LOOP(main_loop)->async_queue);
+}
+
+void
+ags_audio_loop_set_tic(AgsMainLoop *main_loop, guint tic)
+{
+ g_atomic_int_set(&(AGS_AUDIO_LOOP(main_loop)->tic),
+ tic);
+}
+
+guint
+ags_audio_loop_get_tic(AgsMainLoop *main_loop)
+{
+ return(g_atomic_int_get(&(AGS_AUDIO_LOOP(main_loop)->tic)));
+}
+
+void
+ags_audio_loop_set_last_sync(AgsMainLoop *main_loop, guint last_sync)
+{
+ g_atomic_int_set(&(AGS_AUDIO_LOOP(main_loop)->last_sync),
+ last_sync);
+}
+
+guint
+ags_audio_loop_get_last_sync(AgsMainLoop *main_loop)
+{
+ gint val;
+
+ val = g_atomic_int_get(&(AGS_AUDIO_LOOP(main_loop)->last_sync));
+
+ return(val);
+}
+
+void
+ags_audio_loop_finalize(GObject *gobject)
+{
+ AgsAudioLoop *audio_loop;
+
+ audio_loop = AGS_AUDIO_LOOP(gobject);
+
+ /* free AgsDevoutPlay lists */
+ ags_list_free_and_free_link(audio_loop->play_recall);
+ ags_list_free_and_free_link(audio_loop->play_channel);
+ ags_list_free_and_free_link(audio_loop->play_audio);
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_audio_loop_parent_class)->finalize(gobject);
+}
+
+void
+ags_audio_loop_start(AgsThread *thread)
+{
+ AgsAudioLoop *audio_loop;
+
+ audio_loop = AGS_AUDIO_LOOP(thread);
+
+ if((AGS_THREAD_SINGLE_LOOP & (thread->flags)) == 0){
+ /* */
+ AGS_THREAD_CLASS(ags_audio_loop_parent_class)->start(thread);
+
+ /* */
+ ags_thread_start(audio_loop->task_thread);
+ ags_thread_start(audio_loop->gui_thread);
+ }
+}
+
+void
+ags_audio_loop_run(AgsThread *thread)
+{
+ GMutex mutex;
+ GCond cond;
+ AgsAudioLoop *audio_loop;
+ AgsDevout *devout;
+ guint val;
+
+ audio_loop = AGS_AUDIO_LOOP(thread);
+
+ devout = AGS_DEVOUT(AGS_THREAD(audio_loop)->devout);
+
+ pthread_mutex_lock(&(audio_loop->recall_mutex));
+
+ /* play recall */
+ if((AGS_AUDIO_LOOP_PLAY_RECALL & (audio_loop->flags)) != 0){
+ ags_audio_loop_play_recall(audio_loop);
+
+ if(audio_loop->play_recall_ref == 0){
+ audio_loop->flags &= (~AGS_AUDIO_LOOP_PLAY_RECALL);
+ }
+ }
+
+ /* play channel */
+ if((AGS_AUDIO_LOOP_PLAY_CHANNEL & (audio_loop->flags)) != 0){
+ ags_audio_loop_play_channel(audio_loop);
+
+ if(audio_loop->play_channel_ref == 0){
+ audio_loop->flags &= (~AGS_AUDIO_LOOP_PLAY_CHANNEL);
+ }
+ }
+
+ /* play audio */
+ if((AGS_AUDIO_LOOP_PLAY_AUDIO & (audio_loop->flags)) != 0){
+ ags_audio_loop_play_audio(audio_loop);
+
+ if(audio_loop->play_audio_ref == 0){
+ audio_loop->flags &= (~AGS_AUDIO_LOOP_PLAY_AUDIO);
+ }
+ }
+
+ /* decide if we stop */
+ if(audio_loop->play_recall_ref == 0 &&
+ audio_loop->play_channel_ref == 0 &&
+ audio_loop->play_audio_ref == 0 &&
+ audio_loop->play_notation_ref == 0){
+ if((AGS_THREAD_RUNNING & (g_atomic_int_get(&(AGS_THREAD(audio_loop->devout_thread)->flags)))) != 0){
+ ags_thread_stop(AGS_THREAD(audio_loop->devout_thread));
+
+ if((AGS_THREAD_RUNNING & (g_atomic_int_get(&(AGS_THREAD(audio_loop->export_thread)->flags)))) != 0){
+ ags_thread_stop(AGS_THREAD(audio_loop->export_thread));
+ }
+ }
+ }
+
+ pthread_mutex_unlock(&(audio_loop->recall_mutex));
+
+ /* wait for task thread */
+ pthread_mutex_lock(&(audio_loop->task_thread->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(audio_loop->task_thread)->flags));
+
+ if((AGS_THREAD_INITIAL_RUN & val) != 0){
+ while((AGS_THREAD_INITIAL_RUN & val) != 0){
+ pthread_cond_wait(&(audio_loop->task_thread->start_cond),
+ &(audio_loop->task_thread->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(audio_loop->task_thread)->flags));
+ }
+ }
+
+ pthread_mutex_unlock(&(audio_loop->task_thread->start_mutex));
+
+ /* wait for gui thread */
+ pthread_mutex_lock(&(audio_loop->gui_thread->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(audio_loop->task_thread)->flags));
+
+ if((AGS_THREAD_INITIAL_RUN & val) != 0){
+ while((AGS_THREAD_INITIAL_RUN & val) != 0){
+ pthread_cond_wait(&(audio_loop->gui_thread->start_cond),
+ &(audio_loop->gui_thread->start_mutex));
+
+ val = g_atomic_int_get(&(AGS_THREAD(audio_loop->gui_thread)->flags));
+ }
+ }
+
+ pthread_mutex_unlock(&(audio_loop->gui_thread->start_mutex));
+}
+
+/**
+ * ags_audio_loop_play_recall:
+ * @audio_loop: an #AgsAudioLoop
+ *
+ * Runs all recalls assigned with @audio_loop. You may want to use
+ * #AgsAppendRecall task to add an #AgsRecall.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_play_recall(AgsAudioLoop *audio_loop)
+{
+ AgsDevoutPlay *devout_play;
+ AgsRecall *recall;
+ // AgsRecallID *recall_id;
+ GList *list, *list_next;
+ guint stage;
+
+ audio_loop->flags |= AGS_AUDIO_LOOP_PLAYING_RECALL;
+ stage = 0;
+
+ ags_audio_loop_play_recall0:
+
+ list = audio_loop->play_recall;
+
+ if(list == NULL){
+ if((AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING & (audio_loop->flags)) != 0){
+ audio_loop->flags &= (~(AGS_AUDIO_LOOP_PLAY_RECALL |
+ AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING));
+ }else{
+ audio_loop->flags |= AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING;
+ }
+ }
+
+ audio_loop->flags &= (~AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING);
+
+ while(list != NULL){
+ devout_play = AGS_DEVOUT_PLAY(list->data);
+ recall = AGS_RECALL(devout_play->source);
+
+ // recall_id = devout_play->recall_id;
+ list_next = list->next;
+
+ if((AGS_RECALL_REMOVE & (recall->flags)) == 0){
+ if((AGS_RECALL_HIDE & (recall->flags)) == 0){
+ if(stage == 0){
+ ags_recall_run_pre(recall);
+ }else if(stage == 1){
+ ags_recall_run_inter(recall);
+ }else{
+ ags_recall_run_post(recall);
+ }
+ }
+ }else{
+ ags_audio_loop_remove_recall(audio_loop, devout_play);
+ g_object_unref(recall);
+ free(devout_play);
+ }
+
+ list = list_next;
+ }
+
+ if(stage == 0){
+ stage = 1;
+ goto ags_audio_loop_play_recall0;
+ }else if(stage == 1){
+ stage = 2;
+ goto ags_audio_loop_play_recall0;
+ }
+
+ audio_loop->flags &= (~AGS_AUDIO_LOOP_PLAYING_RECALL);
+}
+
+/**
+ * ags_audio_loop_play_channel:
+ * @audio_loop: an #AgsAudioLoop
+ *
+ * Runs all recalls descending recursively and ascending till next
+ * #AgsRecycling around prior added #AgsChannel with #AgsAppendChannel
+ * task.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_play_channel(AgsAudioLoop *audio_loop)
+{
+ AgsDevoutPlay *play;
+ AgsChannel *channel;
+ GList *list_play, *list_next_play;
+ gint stage;
+
+ if(audio_loop->play_channel == NULL){
+ if((AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING & (audio_loop->flags)) != 0){
+ audio_loop->flags &= (~(AGS_AUDIO_LOOP_PLAY_CHANNEL |
+ AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING));
+ }else{
+ audio_loop->flags |= AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING;
+ }
+ }
+
+ audio_loop->flags &= (~AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING);
+
+ /* entry point */
+ audio_loop->flags |= AGS_AUDIO_LOOP_PLAYING_CHANNEL;
+
+ /* run the 3 stages */
+ for(stage = 0; stage < 3; stage++){
+ list_play = audio_loop->play_channel;
+
+ while(list_play != NULL){
+ gboolean remove_play;
+
+ list_next_play = list_play->next;
+
+ play = (AgsDevoutPlay *) list_play->data;
+ channel = AGS_CHANNEL(play->source);
+
+ if((AGS_DEVOUT_PLAY_REMOVE & (play->flags)) == 0){
+ remove_play = FALSE;
+ if((AGS_DEVOUT_PLAY_SUPER_THREADED & (play->flags)) == 0){
+ /* not super threaded */
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (play->flags)) != 0){
+ ags_channel_recursive_play(channel, play->recall_id[0], stage);
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (play->flags)) != 0){
+ ags_channel_recursive_play(channel, play->recall_id[1], stage);
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (play->flags)) != 0){
+ ags_channel_recursive_play(channel, play->recall_id[2], stage);
+ }
+
+ }else{
+ /* super threaded */
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (play->flags)) != 0){
+ play->iterator_thread[0]->flags |= AGS_ITERATOR_THREAD_DONE;
+ pthread_cond_signal(&(play->iterator_thread[0]->tic_cond));
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (play->flags)) != 0){
+ play->iterator_thread[1]->flags |= AGS_ITERATOR_THREAD_DONE;
+ pthread_cond_signal(&(play->iterator_thread[1]->tic_cond));
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (play->flags)) != 0){
+ play->iterator_thread[2]->flags |= AGS_ITERATOR_THREAD_DONE;
+ pthread_cond_signal(&(play->iterator_thread[2]->tic_cond));
+ }
+ }
+ }
+
+ if(remove_play){
+ audio_loop->play_channel_ref = audio_loop->play_channel_ref - 1;
+ audio_loop->play_channel = g_list_remove(audio_loop->play_channel, (gpointer) play);
+
+ ags_channel_done(play->source,
+ play->recall_id[0]);
+
+ play->flags &= (~(AGS_DEVOUT_PLAY_REMOVE));
+ play->recall_id[0] = NULL;
+ //TODO:JK: verify g_object_unref() missing
+ }
+
+ list_play = list_next_play;
+ }
+ }
+}
+
+/**
+ * ags_audio_loop_play_audio:
+ * @audio_loop: an #AgsAudioLoop
+ *
+ * Like ags_audio_loop_play_channel() except that it runs all channels within
+ * #AgsAudio.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_play_audio(AgsAudioLoop *audio_loop)
+{
+ AgsDevoutPlayDomain *play_domain;
+ AgsDevoutPlay *play;
+ AgsAudio *audio;
+ AgsChannel *output;
+ GList *list_play_domain, *list_next_play_domain;
+ GList *list_play;
+ gint stage;
+
+ if(audio_loop->play_audio == NULL){
+ if((AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING & (audio_loop->flags)) != 0){
+ audio_loop->flags &= (~(AGS_AUDIO_LOOP_PLAY_AUDIO |
+ AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING));
+ }else{
+ audio_loop->flags |= AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING;
+ }
+ }
+
+ audio_loop->flags &= (~AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING);
+
+ /* entry point */
+ audio_loop->flags |= AGS_AUDIO_LOOP_PLAYING_AUDIO;
+
+ /* run the 3 stages */
+ for(stage = 0; stage < 3; stage++){
+ list_play_domain = audio_loop->play_audio;
+
+ while(list_play_domain != NULL){
+ gboolean remove_domain;
+
+ list_next_play_domain = list_play_domain->next;
+
+ play_domain = (AgsDevoutPlayDomain *) list_play_domain->data;
+ audio = AGS_AUDIO(play_domain->domain);
+
+ output = audio->output;
+ remove_domain = TRUE;
+
+ while(output != NULL){
+ play = ags_devout_play_find_source(play_domain->devout_play,
+ output);
+
+ if(play == NULL){
+ output = output->next;
+ continue;
+ }
+
+ if((AGS_DEVOUT_PLAY_REMOVE & (play->flags)) == 0){
+ remove_domain = FALSE;
+
+ if((AGS_DEVOUT_PLAY_SUPER_THREADED & (play->flags)) == 0){
+ /* not super threaded */
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (play->flags)) != 0){
+ ags_channel_recursive_play(output, play->recall_id[0], stage);
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (play->flags)) != 0){
+ ags_channel_recursive_play(output, play->recall_id[1], stage);
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (play->flags)) != 0){
+ ags_channel_recursive_play(output, play->recall_id[2], stage);
+ }
+
+ }else{
+ /* super threaded */
+ if((AGS_DEVOUT_PLAY_PLAYBACK & (play->flags)) != 0){
+ play->iterator_thread[0]->flags |= AGS_ITERATOR_THREAD_DONE;
+ pthread_cond_signal(&(play->iterator_thread[0]->tic_cond));
+ }
+
+ if((AGS_DEVOUT_PLAY_SEQUENCER & (play->flags)) != 0){
+ play->iterator_thread[1]->flags |= AGS_ITERATOR_THREAD_DONE;
+ pthread_cond_signal(&(play->iterator_thread[1]->tic_cond));
+ }
+
+ if((AGS_DEVOUT_PLAY_NOTATION & (play->flags)) != 0){
+ play->iterator_thread[2]->flags |= AGS_ITERATOR_THREAD_DONE;
+ pthread_cond_signal(&(play->iterator_thread[2]->tic_cond));
+ }
+ }
+ }
+
+ output = output->next;
+ }
+
+ if(remove_domain){
+ AgsChannel *channel;
+
+ audio_loop->play_audio_ref = audio_loop->play_audio_ref - 1;
+ audio_loop->play_audio = g_list_remove(audio_loop->play_audio, (gpointer) play_domain);
+
+ channel = audio->output;
+
+ while(channel != NULL){
+ play = AGS_DEVOUT_PLAY(channel->devout_play);
+ play->flags &= (~(AGS_DEVOUT_PLAY_REMOVE));
+
+ // ags_audio_done(audio);
+
+ //TODO:JK: verify g_object_unref() missing
+ //play->recall_id[0] = NULL;
+ play->recall_id[1] = NULL;
+ play->recall_id[2] = NULL;
+
+ channel = channel->next;
+ }
+ }
+
+ list_play_domain = list_next_play_domain;
+ }
+ }
+}
+
+/**
+ * ags_audio_loop_add_audio:
+ * @audio_loop: the #AgsAudioLoop
+ * @audio: an #AgsAudio
+ *
+ * Add audio for playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_add_audio(AgsAudioLoop *audio_loop, GObject *audio)
+{
+ g_object_ref(G_OBJECT(audio));
+ audio_loop->play_audio = g_list_prepend(audio_loop->play_audio,
+ AGS_AUDIO(audio)->devout_play_domain);
+
+ audio_loop->play_audio_ref = audio_loop->play_audio_ref + 1;
+}
+
+/**
+ * ags_audio_loop_remove_audio:
+ * @audio_loop: the #AgsAudioLoop
+ * @audio: an #AgsAudio
+ *
+ * Remove audio of playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_remove_audio(AgsAudioLoop *audio_loop, GObject *audio)
+{
+ audio_loop->play_audio = g_list_remove(audio_loop->play_audio,
+ AGS_AUDIO(audio)->devout_play_domain);
+ audio_loop->play_audio_ref = audio_loop->play_audio_ref - 1;
+
+ g_object_unref(audio);
+}
+
+/**
+ * ags_audio_loop_add_channel:
+ * @audio_loop: the #AgsAudioLoop
+ * @channel: an #AgsChannel
+ *
+ * Add channel for playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_add_channel(AgsAudioLoop *audio_loop, GObject *channel)
+{
+ g_object_ref(G_OBJECT(channel));
+ audio_loop->play_channel = g_list_prepend(audio_loop->play_channel,
+ AGS_CHANNEL(channel)->devout_play);
+
+ audio_loop->play_channel_ref = audio_loop->play_channel_ref + 1;
+}
+
+/**
+ * ags_audio_loop_remove_channel:
+ * @audio_loop: the #AgsAudioLoop
+ * @channel: an #AgsChannel
+ *
+ * Remove channel of playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_remove_channel(AgsAudioLoop *audio_loop, GObject *channel)
+{
+ audio_loop->play_channel = g_list_remove(audio_loop->play_channel,
+ AGS_CHANNEL(channel)->devout_play);
+ audio_loop->play_channel_ref = audio_loop->play_channel_ref - 1;
+
+ g_object_unref(channel);
+}
+
+/**
+ * ags_audio_loop_add_recall:
+ * @audio_loop: the #AgsAudioLoop
+ * @recall: an #AgsRecall
+ *
+ * Add recall for playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_add_recall(AgsAudioLoop *audio_loop, gpointer devout_play)
+{
+ /* append to AgsDevout */
+ AGS_DEVOUT_PLAY(devout_play)->flags &= (~AGS_DEVOUT_PLAY_REMOVE);
+ audio_loop->play_recall = g_list_append(audio_loop->play_recall,
+ devout_play);
+ audio_loop->play_recall_ref += 1;
+}
+
+/**
+ * ags_audio_loop_remove_recall:
+ * @audio_loop: the #AgsAudioLoop
+ * @recall: an #AgsRecall
+ *
+ * Remove recall of playback.
+ *
+ * Since: 0.4
+ */
+void
+ags_audio_loop_remove_recall(AgsAudioLoop *audio_loop, gpointer devout_play)
+{
+ audio_loop->play_recall = g_list_remove(audio_loop->play_recall,
+ devout_play);
+ audio_loop->play_recall_ref = audio_loop->play_recall_ref - 1;
+}
+
+/**
+ * ags_audio_loop_new:
+ * @devout: the #AgsDevout
+ * @ags_main: the #AgsMain
+ *
+ * Create a new #AgsAudioLoop.
+ *
+ * Returns: the new #AgsAudioLoop
+ *
+ * Since: 0.4
+ */
+AgsAudioLoop*
+ags_audio_loop_new(GObject *devout, GObject *ags_main)
+{
+ AgsAudioLoop *audio_loop;
+
+ audio_loop = (AgsAudioLoop *) g_object_new(AGS_TYPE_AUDIO_LOOP,
+ "devout\0", devout,
+ NULL);
+
+ if(ags_main != NULL){
+ g_object_ref(G_OBJECT(ags_main));
+ audio_loop->ags_main = ags_main;
+ }
+
+ return(audio_loop);
+}
diff --git a/src/ags/thread/ags_audio_loop.h b/src/ags/thread/ags_audio_loop.h
new file mode 100644
index 0000000..628bec2
--- /dev/null
+++ b/src/ags/thread/ags_audio_loop.h
@@ -0,0 +1,118 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUDIO_LOOP_H__
+#define __AGS_AUDIO_LOOP_H__
+
+#include <math.h>
+
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/thread/ags_async_queue.h>
+
+#define AGS_TYPE_AUDIO_LOOP (ags_audio_loop_get_type())
+#define AGS_AUDIO_LOOP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_LOOP, AgsAudioLoop))
+#define AGS_AUDIO_LOOP_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_LOOP, AgsAudioLoopClass))
+#define AGS_IS_AUDIO_LOOP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_LOOP))
+#define AGS_IS_AUDIO_LOOP_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_LOOP))
+#define AGS_AUDIO_LOOP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_LOOP, AgsAudioLoopClass))
+
+#define AGS_AUDIO_LOOP_DEFAULT_JIFFIE (48.0)
+
+typedef struct _AgsAudioLoop AgsAudioLoop;
+typedef struct _AgsAudioLoopClass AgsAudioLoopClass;
+
+typedef enum{
+ AGS_AUDIO_LOOP_PLAY_RECALL = 1,
+ AGS_AUDIO_LOOP_PLAYING_RECALL = 1 << 1,
+ AGS_AUDIO_LOOP_PLAY_RECALL_TERMINATING = 1 << 2,
+ AGS_AUDIO_LOOP_PLAY_CHANNEL = 1 << 3,
+ AGS_AUDIO_LOOP_PLAYING_CHANNEL = 1 << 4,
+ AGS_AUDIO_LOOP_PLAY_CHANNEL_TERMINATING = 1 << 5,
+ AGS_AUDIO_LOOP_PLAY_AUDIO = 1 << 6,
+ AGS_AUDIO_LOOP_PLAYING_AUDIO = 1 << 7,
+ AGS_AUDIO_LOOP_PLAY_NOTATION = 1 << 8,
+ AGS_AUDIO_LOOP_PLAYING_NOTATION = 1 << 9,
+ AGS_AUDIO_LOOP_PLAY_AUDIO_TERMINATING = 1 << 10,
+}AgsAudioLoopFlags;
+
+struct _AgsAudioLoop
+{
+ AgsThread thread;
+
+ guint flags;
+
+ volatile guint tic;
+ volatile guint last_sync;
+
+ GCond cond;
+ GMutex mutex;
+
+ gdouble frequency;
+
+ GObject *ags_main;
+
+ AgsAsyncQueue *async_queue;
+
+ AgsThread *task_thread;
+ AgsThread *gui_thread;
+ AgsThread *devout_thread;
+ AgsThread *export_thread;
+
+ pthread_mutex_t recall_mutex;
+
+ guint play_recall_ref;
+ GList *play_recall; // play AgsRecall
+
+ guint play_channel_ref;
+ GList *play_channel; // play AgsChannel
+
+ guint play_audio_ref;
+ GList *play_audio; // play AgsAudio
+
+ guint play_notation_ref;
+ GList *play_notation;
+
+ GList *tree_sanity;
+};
+
+struct _AgsAudioLoopClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_audio_loop_get_type();
+
+void ags_audio_loop_add_audio(AgsAudioLoop *audio_loop, GObject *audio);
+void ags_audio_loop_remove_audio(AgsAudioLoop *audio_loop, GObject *audio);
+
+void ags_audio_loop_add_channel(AgsAudioLoop *audio_loop, GObject *channel);
+void ags_audio_loop_remove_channel(AgsAudioLoop *audio_loop, GObject *channel);
+
+void ags_audio_loop_add_recall(AgsAudioLoop *audio_loop, gpointer devout_play);
+void ags_audio_loop_remove_recall(AgsAudioLoop *audio_loop, gpointer devout_play);
+
+AgsAudioLoop* ags_audio_loop_new(GObject *devout, GObject *ags_main);
+
+#endif /*__AGS_AUDIO_LOOP_H__*/
diff --git a/src/ags/thread/ags_autosave_thread.c b/src/ags/thread/ags_autosave_thread.c
new file mode 100644
index 0000000..a6a47d8
--- /dev/null
+++ b/src/ags/thread/ags_autosave_thread.c
@@ -0,0 +1,372 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_autosave_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <sys/types.h>
+#include <pwd.h>
+
+void ags_autosave_thread_class_init(AgsAutosaveThreadClass *autosave_thread);
+void ags_autosave_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_autosave_thread_main_loop_interface_init(AgsMainLoopInterface *main_loop);
+void ags_autosave_thread_init(AgsAutosaveThread *autosave_thread);
+void ags_autosave_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_autosave_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_autosave_thread_connect(AgsConnectable *connectable);
+void ags_autosave_thread_disconnect(AgsConnectable *connectable);
+void ags_autosave_thread_set_tic(AgsMainLoop *main_loop, guint tic);
+guint ags_autosave_thread_get_tic(AgsMainLoop *main_loop);
+void ags_autosave_thread_set_last_sync(AgsMainLoop *main_loop, guint last_sync);
+guint ags_autosave_thread_get_last_sync(AgsMainLoop *main_loop);
+void ags_autosave_thread_finalize(GObject *gobject);
+
+void ags_autosave_thread_start(AgsThread *thread);
+void ags_autosave_thread_run(AgsThread *thread);
+
+/**
+ * SECTION:ags_autosave_thread
+ * @short_description: auto safe
+ * @title: AgsAutosaveThread
+ * @section_id:
+ * @include: ags/thread/ags_autosave_thread.h
+ *
+ * The #AgsAutosaveThread performs auto-safe.
+ */
+
+enum{
+ PROP_0,
+ PROP_AGS_MAIN,
+};
+
+static gpointer ags_autosave_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_autosave_thread_parent_connectable_interface;
+
+GType
+ags_autosave_thread_get_type()
+{
+ static GType ags_type_autosave_thread = 0;
+
+ if(!ags_type_autosave_thread){
+ static const GTypeInfo ags_autosave_thread_info = {
+ sizeof (AgsAutosaveThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_autosave_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsAutosaveThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_autosave_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_autosave_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ static const GInterfaceInfo ags_main_loop_interface_info = {
+ (GInterfaceInitFunc) ags_autosave_thread_main_loop_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_autosave_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsAutosaveThread\0",
+ &ags_autosave_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_autosave_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_autosave_thread,
+ AGS_TYPE_MAIN_LOOP,
+ &ags_main_loop_interface_info);
+ }
+
+ return (ags_type_autosave_thread);
+}
+
+void
+ags_autosave_thread_class_init(AgsAutosaveThreadClass *autosave_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+ GParamSpec *param_spec;
+
+ ags_autosave_thread_parent_class = g_type_class_peek_parent(autosave_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) autosave_thread;
+
+ gobject->get_property = ags_autosave_thread_get_property;
+ gobject->set_property = ags_autosave_thread_set_property;
+
+ gobject->finalize = ags_autosave_thread_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("ags_main\0",
+ "ags_main to check against\0",
+ "The ags_main to check against serialization.\0",
+ AGS_TYPE_MAIN,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AGS_MAIN,
+ param_spec);
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) autosave_thread;
+
+ thread->start = ags_autosave_thread_start;
+ thread->run = ags_autosave_thread_run;
+}
+
+void
+ags_autosave_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_autosave_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_autosave_thread_connect;
+ connectable->disconnect = ags_autosave_thread_disconnect;
+}
+
+void
+ags_autosave_thread_main_loop_interface_init(AgsMainLoopInterface *main_loop)
+{
+ main_loop->set_tic = ags_autosave_thread_set_tic;
+ main_loop->get_tic = ags_autosave_thread_get_tic;
+ main_loop->set_last_sync = ags_autosave_thread_set_last_sync;
+ main_loop->get_last_sync = ags_autosave_thread_get_last_sync;
+}
+
+void
+ags_autosave_thread_init(AgsAutosaveThread *autosave_thread)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(autosave_thread);
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_READY);
+
+ thread->freq = AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE;
+
+
+ g_atomic_int_set(&(autosave_thread->tic), 0);
+ g_atomic_int_set(&(autosave_thread->last_sync), 0);
+
+ autosave_thread->ags_main = NULL;
+ autosave_thread->counter = 0;
+}
+
+void
+ags_autosave_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAutosaveThread *autosave_thread;
+
+ autosave_thread = AGS_AUTOSAVE_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_AGS_MAIN:
+ {
+ AgsMain *ags_main;
+
+ ags_main = g_value_get_object(value);
+
+ if(autosave_thread->ags_main == ags_main){
+ return;
+ }
+
+ if(autosave_thread->ags_main != NULL){
+ g_object_unref(autosave_thread->ags_main);
+ }
+
+ if(ags_main != NULL){
+ g_object_ref(ags_main);
+ }
+
+ autosave_thread->ags_main = ags_main;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_autosave_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsAutosaveThread *autosave_thread;
+
+ autosave_thread = AGS_AUTOSAVE_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_AGS_MAIN:
+ {
+ g_value_set_object(value, autosave_thread->ags_main);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_autosave_thread_connect(AgsConnectable *connectable)
+{
+ ags_autosave_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_autosave_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_autosave_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_autosave_thread_set_tic(AgsMainLoop *main_loop, guint tic)
+{
+ g_atomic_int_set(&(AGS_AUTOSAVE_THREAD(main_loop)->tic),
+ tic);
+}
+
+guint
+ags_autosave_thread_get_tic(AgsMainLoop *main_loop)
+{
+ return(g_atomic_int_get(&(AGS_AUTOSAVE_THREAD(main_loop)->tic)));
+}
+
+void
+ags_autosave_thread_set_last_sync(AgsMainLoop *main_loop, guint last_sync)
+{
+ g_atomic_int_set(&(AGS_AUTOSAVE_THREAD(main_loop)->last_sync),
+ last_sync);
+}
+
+guint
+ags_autosave_thread_get_last_sync(AgsMainLoop *main_loop)
+{
+ gint val;
+
+ val = g_atomic_int_get(&(AGS_AUTOSAVE_THREAD(main_loop)->last_sync));
+
+ return(val);
+}
+
+void
+ags_autosave_thread_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_autosave_thread_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_autosave_thread_start(AgsThread *thread)
+{
+ AGS_THREAD_CLASS(ags_autosave_thread_parent_class)->start(thread);
+}
+
+void
+ags_autosave_thread_run(AgsThread *thread)
+{
+ AgsAutosaveThread *autosave_thread;
+
+ static const struct timespec delay = {
+ 1,
+ 0,
+ };
+
+ autosave_thread = AGS_AUTOSAVE_THREAD(thread);
+
+ if(autosave_thread->counter != autosave_thread->delay){
+ autosave_thread->counter += 1;
+ }else{
+ AgsFile *file;
+ struct passwd *pw;
+ uid_t uid;
+ gchar *filename;
+
+ autosave_thread->counter = 0;
+
+ uid = getuid();
+ pw = getpwuid(uid);
+
+ filename = g_strdup_printf("%s/%s/%d-%s\0",
+ pw->pw_dir,
+ AGS_DEFAULT_DIRECTORY,
+ getpid(),
+ AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME);
+
+ file = (AgsFile *) g_object_new(AGS_TYPE_FILE,
+ "main\0", autosave_thread->ags_main,
+ "filename\0", filename,
+ NULL);
+ ags_file_write_concurrent(file);
+ g_object_unref(file);
+ }
+
+ nanosleep(&delay, NULL);
+}
+
+/**
+ * ags_autosave_thread_new:
+ * @devout: the #AgsDevout
+ * @ags_main: the #AgsMain
+ *
+ * Create a new #AgsAutosaveThread.
+ *
+ * Returns: the new #AgsAutosaveThread
+ *
+ * Since: 0.4
+ */
+AgsAutosaveThread*
+ags_autosave_thread_new(GObject *devout, AgsMain *ags_main)
+{
+ AgsAutosaveThread *autosave_thread;
+
+ autosave_thread = (AgsAutosaveThread *) g_object_new(AGS_TYPE_AUTOSAVE_THREAD,
+ "devout\0", devout,
+ "ags-main\0", ags_main,
+ NULL);
+
+ return(autosave_thread);
+}
diff --git a/src/ags/thread/ags_autosave_thread.h b/src/ags/thread/ags_autosave_thread.h
new file mode 100644
index 0000000..23d4da6
--- /dev/null
+++ b/src/ags/thread/ags_autosave_thread.h
@@ -0,0 +1,69 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_AUTOSAVE_THREAD_H__
+#define __AGS_AUTOSAVE_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/main.h>
+
+#define AGS_TYPE_AUTOSAVE_THREAD (ags_autosave_thread_get_type())
+#define AGS_AUTOSAVE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThread))
+#define AGS_AUTOSAVE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThreadClass))
+#define AGS_IS_AUTOSAVE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOSAVE_THREAD))
+#define AGS_IS_AUTOSAVE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOSAVE_THREAD))
+#define AGS_AUTOSAVE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUTOSAVE_THREAD, AgsAutosaveThreadClass))
+
+#define AGS_AUTOSAVE_THREAD_DEFAULT_JIFFIE (0.2)
+#define AGS_AUTOSAVE_THREAD_DEFAULT_FILENAME "ags-autosaved.xml\0"
+
+typedef struct _AgsAutosaveThread AgsAutosaveThread;
+typedef struct _AgsAutosaveThreadClass AgsAutosaveThreadClass;
+
+struct _AgsAutosaveThread
+{
+ AgsThread thread;
+
+
+ volatile guint tic;
+ volatile guint last_sync;
+
+ AgsMain *ags_main;
+
+ guint delay;
+ guint counter;
+};
+
+struct _AgsAutosaveThreadClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_autosave_thread_get_type();
+
+AgsAutosaveThread* ags_autosave_thread_new(GObject *devout, AgsMain *ags_main);
+
+#endif /*__AGS_AUTOSAVE_THREAD_H__*/
diff --git a/src/ags/thread/ags_devout_thread.c b/src/ags/thread/ags_devout_thread.c
new file mode 100644
index 0000000..7a84d23
--- /dev/null
+++ b/src/ags/thread/ags_devout_thread.c
@@ -0,0 +1,304 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_devout_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_soundcard.h>
+
+#include <ags/thread/ags_timestamp_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/ags_config.h>
+
+void ags_devout_thread_class_init(AgsDevoutThreadClass *devout_thread);
+void ags_devout_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_devout_thread_init(AgsDevoutThread *devout_thread);
+void ags_devout_thread_connect(AgsConnectable *connectable);
+void ags_devout_thread_disconnect(AgsConnectable *connectable);
+void ags_devout_thread_finalize(GObject *gobject);
+
+void ags_devout_thread_start(AgsThread *thread);
+void ags_devout_thread_run(AgsThread *thread);
+void ags_devout_thread_stop(AgsThread *thread);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_devout_thread
+ * @short_description: devout thread
+ * @title: AgsDevoutThread
+ * @section_id:
+ * @include: ags/thread/ags_devout_thread.h
+ *
+ * The #AgsDevoutThread acts as audio output thread to soundcard.
+ */
+
+static gpointer ags_devout_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_devout_thread_parent_connectable_interface;
+
+GType
+ags_devout_thread_get_type()
+{
+ static GType ags_type_devout_thread = 0;
+
+ if(!ags_type_devout_thread){
+ static const GTypeInfo ags_devout_thread_info = {
+ sizeof (AgsDevoutThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_devout_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsDevoutThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_devout_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_devout_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_devout_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsDevoutThread\0",
+ &ags_devout_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_devout_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_devout_thread);
+}
+
+void
+ags_devout_thread_class_init(AgsDevoutThreadClass *devout_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+
+ ags_devout_thread_parent_class = g_type_class_peek_parent(devout_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) devout_thread;
+
+ gobject->finalize = ags_devout_thread_finalize;
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) devout_thread;
+
+ thread->start = ags_devout_thread_start;
+ thread->run = ags_devout_thread_run;
+ thread->stop = ags_devout_thread_stop;
+}
+
+void
+ags_devout_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_devout_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_devout_thread_connect;
+ connectable->disconnect = ags_devout_thread_disconnect;
+}
+
+void
+ags_devout_thread_init(AgsDevoutThread *devout_thread)
+{
+ AgsThread *thread;
+ guint buffer_size;
+ guint samplerate;
+
+ thread = AGS_THREAD(devout_thread);
+
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate"),
+ NULL,
+ 10);
+
+ thread->freq = samplerate / buffer_size;
+ devout_thread->timestamp_thread = ags_timestamp_thread_new();
+ ags_thread_add_child(thread, devout_thread->timestamp_thread);
+
+ devout_thread->error = NULL;
+}
+
+void
+ags_devout_thread_connect(AgsConnectable *connectable)
+{
+ ags_devout_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_devout_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_devout_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_devout_thread_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_devout_thread_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_devout_thread_start(AgsThread *thread)
+{
+ AgsDevout *devout;
+ AgsDevoutThread *devout_thread;
+ static gboolean initialized = FALSE;
+ GError *error;
+
+ devout_thread = AGS_DEVOUT_THREAD(thread);
+
+ devout = AGS_DEVOUT(thread->devout);
+
+ /* */
+ devout->flags |= (AGS_DEVOUT_BUFFER3 |
+ AGS_DEVOUT_PLAY |
+ AGS_DEVOUT_NONBLOCKING);
+
+ /* */
+ devout_thread->error = NULL;
+
+ if((AGS_DEVOUT_ALSA & (devout->flags)) != 0){
+ if(ags_soundcard_get_buffer(AGS_SOUNDCARD(devout)) == NULL){
+ ags_soundcard_play_init(AGS_SOUNDCARD(devout),
+ &(devout_thread->error));
+
+ if(devout_thread->error == NULL){
+ devout->flags &= (~AGS_DEVOUT_START_PLAY);
+ }else{
+ /* preserve AgsAudioLoop from playing */
+
+ return;
+ }
+
+#ifdef AGS_DEBUG
+ g_message("ags_devout_alsa_play\0");
+#endif
+ }
+ }
+
+ memset(devout->buffer[0], 0, devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+ memset(devout->buffer[1], 0, devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+ memset(devout->buffer[2], 0, devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+ memset(devout->buffer[3], 0, devout->dsp_channels * devout->buffer_size * sizeof(signed short));
+
+ if((AGS_THREAD_SINGLE_LOOP & (g_atomic_int_get(&(thread->flags)))) == 0){
+ AGS_THREAD_CLASS(ags_devout_thread_parent_class)->start(thread);
+ }
+}
+
+void
+ags_devout_thread_run(AgsThread *thread)
+{
+ AgsDevout *devout;
+ AgsDevoutThread *devout_thread;
+ long delay;
+ GError *error;
+
+ devout_thread = AGS_DEVOUT_THREAD(thread);
+
+ devout = AGS_DEVOUT(thread->devout);
+
+ // delay = (long) floor(NSEC_PER_SEC / devout->frequency * devout->buffer_size);
+
+ if((AGS_THREAD_INITIAL_RUN & (thread->flags)) != 0){
+ // time(&(devout_thread->time_val));
+ }
+
+ // g_message("play\0");
+ if((AGS_DEVOUT_PLAY & (devout->flags)) != 0){
+ error = NULL;
+ ags_soundcard_play(AGS_SOUNDCARD(devout),
+ &error);
+ }
+
+ if(error != NULL){
+ //TODO:JK: implement me
+ }
+}
+
+void
+ags_devout_thread_stop(AgsThread *thread)
+{
+ AgsDevout *devout;
+ AgsAudioLoop *audio_loop;
+ AgsDevoutThread *devout_thread;
+
+ devout_thread = AGS_DEVOUT_THREAD(thread);
+
+ devout = AGS_DEVOUT(thread->devout);
+ audio_loop = AGS_AUDIO_LOOP(thread->parent);
+
+ if((AGS_DEVOUT_START_PLAY & (devout->flags)) != 0){
+#ifdef AGS_DEBUG
+ g_message("ags_devout_thread_stop: just starting\n\0");
+#endif
+ return;
+ }
+
+ AGS_THREAD_CLASS(ags_devout_thread_parent_class)->stop(thread);
+
+ devout->flags &= ~(AGS_DEVOUT_PLAY);
+
+ if((AGS_DEVOUT_ALSA & (devout->flags)) != 0){
+ ags_devout_alsa_free(devout);
+ }else{
+ }
+}
+
+/**
+ * ags_devout_thread_new:
+ * @devout: the #AgsDevout
+ *
+ * Create a new #AgsDevoutThread.
+ *
+ * Returns: the new #AgsDevoutThread
+ *
+ * Since: 0.4
+ */
+AgsDevoutThread*
+ags_devout_thread_new(GObject *devout)
+{
+ AgsDevoutThread *devout_thread;
+
+ devout_thread = (AgsDevoutThread *) g_object_new(AGS_TYPE_DEVOUT_THREAD,
+ "devout\0", devout,
+ NULL);
+
+
+ return(devout_thread);
+}
diff --git a/src/ags/thread/ags_devout_thread.h b/src/ags/thread/ags_devout_thread.h
new file mode 100644
index 0000000..2635f9f
--- /dev/null
+++ b/src/ags/thread/ags_devout_thread.h
@@ -0,0 +1,63 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DEVOUT_THREAD_H__
+#define __AGS_DEVOUT_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#define AGS_TYPE_DEVOUT_THREAD (ags_devout_thread_get_type())
+#define AGS_DEVOUT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DEVOUT_THREAD, AgsDevoutThread))
+#define AGS_DEVOUT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DEVOUT_THREAD, AgsDevoutThreadClass))
+#define AGS_IS_DEVOUT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_DEVOUT_THREAD))
+#define AGS_IS_DEVOUT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DEVOUT_THREAD))
+#define AGS_DEVOUT_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DEVOUT_THREAD, AgsDevoutThreadClass))
+
+#define AGS_DEVOUT_THREAD_DEFAULT_JIFFIE (48.0)
+
+typedef struct _AgsDevoutThread AgsDevoutThread;
+typedef struct _AgsDevoutThreadClass AgsDevoutThreadClass;
+
+struct _AgsDevoutThread
+{
+ AgsThread thread;
+
+ time_t time_val;
+
+ AgsThread *timestamp_thread;
+
+ GError *error;
+};
+
+struct _AgsDevoutThreadClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_devout_thread_get_type();
+
+AgsDevoutThread* ags_devout_thread_new(GObject *devout);
+
+#endif /*__AGS_DEVOUT_THREAD_H__*/
diff --git a/src/ags/thread/ags_export_thread.c b/src/ags/thread/ags_export_thread.c
new file mode 100644
index 0000000..9d2bd60
--- /dev/null
+++ b/src/ags/thread/ags_export_thread.c
@@ -0,0 +1,320 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_export_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_export_thread_class_init(AgsExportThreadClass *export_thread);
+void ags_export_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_export_thread_init(AgsExportThread *export_thread);
+void ags_export_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_export_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_export_thread_connect(AgsConnectable *connectable);
+void ags_export_thread_disconnect(AgsConnectable *connectable);
+void ags_export_thread_finalize(GObject *gobject);
+
+void ags_export_thread_start(AgsThread *thread);
+void ags_export_thread_run(AgsThread *thread);
+void ags_export_thread_stop(AgsThread *thread);
+
+/**
+ * SECTION:ags_export_thread
+ * @short_description: export thread
+ * @title: AgsExportThread
+ * @section_id:
+ * @include: ags/thread/ags_export_thread.h
+ *
+ * The #AgsExportThread acts as audio output thread to file.
+ */
+
+enum{
+ PROP_0,
+ PROP_AUDIO_FILE,
+};
+
+static gpointer ags_export_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_export_thread_parent_connectable_interface;
+
+GType
+ags_export_thread_get_type()
+{
+ static GType ags_type_export_thread = 0;
+
+ if(!ags_type_export_thread){
+ static const GTypeInfo ags_export_thread_info = {
+ sizeof (AgsExportThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_export_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsExportThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_export_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_export_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_export_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsExportThread\0",
+ &ags_export_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_export_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_export_thread);
+}
+
+void
+ags_export_thread_class_init(AgsExportThreadClass *export_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+ GParamSpec *param_spec;
+
+ ags_export_thread_parent_class = g_type_class_peek_parent(export_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) export_thread;
+
+ gobject->get_property = ags_export_thread_get_property;
+ gobject->set_property = ags_export_thread_set_property;
+
+ gobject->finalize = ags_export_thread_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("audio-file\0",
+ "audio file to write\0",
+ "The audio file to write output.\0",
+ AGS_TYPE_AUDIO_FILE,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_AUDIO_FILE,
+ param_spec);
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) export_thread;
+
+ thread->start = ags_export_thread_start;
+ thread->run = ags_export_thread_run;
+ thread->stop = ags_export_thread_stop;
+}
+
+void
+ags_export_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_export_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_export_thread_connect;
+ connectable->disconnect = ags_export_thread_disconnect;
+}
+
+void
+ags_export_thread_init(AgsExportThread *export_thread)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(export_thread);
+ thread->freq = AGS_EXPORT_THREAD_DEFAULT_JIFFIE;
+
+ export_thread->flags = 0;
+
+ export_thread->tic = 0;
+ export_thread->counter = 0;
+ export_thread->audio_file = NULL;
+}
+
+void
+ags_export_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExportThread *export_thread;
+
+ export_thread = AGS_EXPORT_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_FILE:
+ {
+ AgsAudioFile *audio_file;
+
+ audio_file = g_value_get_object(value);
+
+ if(export_thread->audio_file == audio_file){
+ return;
+ }
+
+ if(export_thread->audio_file != NULL){
+ g_object_unref(export_thread->audio_file);
+ }
+
+ if(audio_file != NULL){
+ g_object_ref(audio_file);
+ }
+
+ export_thread->audio_file = audio_file;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_export_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExportThread *export_thread;
+
+ export_thread = AGS_EXPORT_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_AUDIO_FILE:
+ {
+ g_value_set_object(value, export_thread->audio_file);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_export_thread_connect(AgsConnectable *connectable)
+{
+ ags_export_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_export_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_export_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_export_thread_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_export_thread_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_export_thread_start(AgsThread *thread)
+{
+ //TODO:JK: implement me
+ g_message("export start");
+
+ AGS_THREAD_CLASS(ags_export_thread_parent_class)->start(thread);
+}
+
+void
+ags_export_thread_run(AgsThread *thread)
+{
+ AgsExportThread *export_thread;
+ AgsDevout *devout;
+ signed short *devout_buffer;
+ guint buffer_length;
+
+ export_thread = AGS_EXPORT_THREAD(thread);
+
+ if(export_thread->counter == export_thread->tic){
+ ags_thread_stop(thread);
+ }else{
+ export_thread->counter += 1;
+ }
+
+ devout = thread->devout;
+
+ if((AGS_DEVOUT_BUFFER0 & (devout->flags)) != 0){
+ devout_buffer = devout->buffer[0];
+ }else if((AGS_DEVOUT_BUFFER1 & (devout->flags)) != 0){
+ devout_buffer = devout->buffer[1];
+ }else if((AGS_DEVOUT_BUFFER2 & (devout->flags)) != 0){
+ devout_buffer = devout->buffer[2];
+ }else if((AGS_DEVOUT_BUFFER3 & (devout->flags)) != 0){
+ devout_buffer = devout->buffer[3];
+ }
+
+ buffer_length = devout->buffer_size;
+
+ ags_audio_file_write(export_thread->audio_file,
+ devout_buffer, (guint) buffer_length);
+}
+
+void
+ags_export_thread_stop(AgsThread *thread)
+{
+ AgsExportThread *export_thread;
+
+ export_thread = AGS_EXPORT_THREAD(thread);
+
+ AGS_THREAD_CLASS(ags_export_thread_parent_class)->stop(thread);
+
+ ags_audio_file_flush(export_thread->audio_file);
+ ags_audio_file_close(export_thread->audio_file);
+}
+
+/**
+ * ags_export_thread_new:
+ * @export: the #AgsExport
+ * @audio_file: the output file
+ *
+ * Create a new #AgsExportThread.
+ *
+ * Returns: the new #AgsExportThread
+ *
+ * Since: 0.4
+ */
+AgsExportThread*
+ags_export_thread_new(GObject *devout, AgsAudioFile *audio_file)
+{
+ AgsExportThread *export_thread;
+
+ export_thread = (AgsExportThread *) g_object_new(AGS_TYPE_EXPORT_THREAD,
+ "devout\0", devout,
+ "audio-file\0", audio_file,
+ NULL);
+
+ return(export_thread);
+}
diff --git a/src/ags/thread/ags_export_thread.h b/src/ags/thread/ags_export_thread.h
new file mode 100644
index 0000000..47c93cc
--- /dev/null
+++ b/src/ags/thread/ags_export_thread.h
@@ -0,0 +1,71 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EXPORT_THREAD_H__
+#define __AGS_EXPORT_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/audio/file/ags_audio_file.h>
+
+#define AGS_TYPE_EXPORT_THREAD (ags_export_thread_get_type())
+#define AGS_EXPORT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_THREAD, AgsExportThread))
+#define AGS_EXPORT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_EXPORT_THREAD, AgsExportThreadClass))
+#define AGS_IS_EXPORT_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_EXPORT_THREAD))
+#define AGS_IS_EXPORT_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_EXPORT_THREAD))
+#define AGS_EXPORT_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_EXPORT_THREAD, AgsExportThreadClass))
+
+#define AGS_EXPORT_THREAD_DEFAULT_JIFFIE (48.0) // same as devout thread
+#define AGS_EXPORT_THREAD_BUFFER_TIME (1.0 / (AGS_DEVOUT_DEFAULT_FORMAT / 8))
+
+typedef struct _AgsExportThread AgsExportThread;
+typedef struct _AgsExportThreadClass AgsExportThreadClass;
+
+typedef enum{
+ AGS_EXPORT_THREAD_LIVE_PERFORMANCE = 1,
+};
+
+struct _AgsExportThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ guint tic;
+ guint counter;
+
+ AgsAudioFile *audio_file;
+};
+
+struct _AgsExportThreadClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_export_thread_get_type();
+
+AgsExportThread* ags_export_thread_new(GObject *devout, AgsAudioFile *audio_file);
+
+#endif /*__AGS_EXPORT_THREAD_H__*/
diff --git a/src/ags/thread/ags_gui_task_thread.c b/src/ags/thread/ags_gui_task_thread.c
new file mode 100644
index 0000000..efbad74
--- /dev/null
+++ b/src/ags/thread/ags_gui_task_thread.c
@@ -0,0 +1,188 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_gui_task_thread.h>
+#include <ags/thread/ags_gui_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <math.h>
+
+void ags_gui_task_thread_class_init(AgsGuiTaskThreadClass *gui_task_thread);
+void ags_gui_task_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_gui_task_thread_init(AgsGuiTaskThread *gui_task_thread);
+void ags_gui_task_thread_connect(AgsConnectable *connectable);
+void ags_gui_task_thread_disconnect(AgsConnectable *connectable);
+void ags_gui_task_thread_finalize(GObject *gobject);
+
+void ags_gui_task_thread_start(AgsThread *thread);
+void ags_gui_task_thread_run(AgsThread *thread);
+
+static gpointer ags_gui_task_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_gui_task_thread_parent_connectable_interface;
+
+GType
+ags_gui_task_thread_get_type()
+{
+ static GType ags_type_gui_task_thread = 0;
+
+ if(!ags_type_gui_task_thread){
+ static const GTypeInfo ags_gui_task_thread_info = {
+ sizeof (AgsGuiTaskThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_gui_task_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsGuiTaskThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_gui_task_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_gui_task_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_gui_task_thread = g_type_register_static(AGS_TYPE_TASK_THREAD,
+ "AgsGuiTaskThread\0",
+ &ags_gui_task_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_gui_task_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_gui_task_thread);
+}
+
+void
+ags_gui_task_thread_class_init(AgsGuiTaskThreadClass *gui_task_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+
+ ags_gui_task_thread_parent_class = g_type_class_peek_parent(gui_task_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) gui_task_thread;
+
+ gobject->finalize = ags_gui_task_thread_finalize;
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) gui_task_thread;
+
+ thread->start = ags_gui_task_thread_start;
+ thread->run = ags_gui_task_thread_run;
+}
+
+void
+ags_gui_task_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_gui_task_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_gui_task_thread_connect;
+ connectable->disconnect = ags_gui_task_thread_disconnect;
+}
+
+void
+ags_gui_task_thread_init(AgsGuiTaskThread *gui_task_thread)
+{
+ /* empty */
+}
+
+void
+ags_gui_task_thread_connect(AgsConnectable *connectable)
+{
+ AgsGuiTaskThread *gui_task_thread;
+
+ ags_gui_task_thread_parent_connectable_interface->connect(connectable);
+}
+
+void
+ags_gui_task_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_gui_task_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_gui_task_thread_finalize(GObject *gobject)
+{
+ /* */
+ G_OBJECT_CLASS(ags_gui_task_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_gui_task_thread_start(AgsThread *thread)
+{
+ AgsGuiTaskThread *gui_task_thread;
+
+ gui_task_thread = AGS_GUI_TASK_THREAD(thread);
+
+ if((AGS_THREAD_SINGLE_LOOP & (g_atomic_int_get(&(thread->flags)))) == 0){
+ AGS_THREAD_CLASS(ags_gui_task_thread_parent_class)->start(thread);
+ }
+}
+
+void
+ags_gui_task_thread_run(AgsThread *thread)
+{
+ AgsGuiThread *gui_thread;
+ GMainContext *main_context;
+
+ gui_thread = AGS_AUDIO_LOOP(AGS_MAIN(AGS_DEVOUT(thread->devout)->ags_main)->main_loop)->gui_thread;
+ main_context = g_main_context_default();
+
+ if(!g_main_context_acquire(main_context)){
+ gboolean got_ownership = FALSE;
+
+ while(!got_ownership){
+ got_ownership = g_main_context_wait(main_context,
+ &(gui_thread->cond),
+ &(gui_thread->mutex));
+ }
+ }
+
+ gdk_threads_enter();
+ gdk_threads_leave();
+
+ g_main_context_iteration(main_context, FALSE);
+
+ AGS_THREAD_CLASS(ags_gui_task_thread_parent_class)->run(thread);
+
+ g_main_context_release(main_context);
+}
+
+AgsGuiTaskThread*
+ags_gui_task_thread_new(GObject *devout)
+{
+ AgsGuiTaskThread *gui_task_thread;
+
+ gui_task_thread = (AgsGuiTaskThread *) g_object_new(AGS_TYPE_GUI_TASK_THREAD,
+ "devout\0", devout,
+ NULL);
+
+
+ return(gui_task_thread);
+}
diff --git a/src/ags/thread/ags_gui_task_thread.h b/src/ags/thread/ags_gui_task_thread.h
new file mode 100644
index 0000000..7a406da
--- /dev/null
+++ b/src/ags/thread/ags_gui_task_thread.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_GUI_TASK_THREAD_H__
+#define __AGS_GUI_TASK_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/thread/ags_task_thread.h>
+
+#define AGS_TYPE_GUI_TASK_THREAD (ags_gui_task_thread_get_type())
+#define AGS_GUI_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GUI_TASK_THREAD, AgsGuiTaskThread))
+#define AGS_GUI_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GUI_TASK_THREAD, AgsGuiTaskThread))
+#define AGS_IS_GUI_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_GUI_TASK_THREAD))
+#define AGS_IS_GUI_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_GUI_TASK_THREAD))
+#define AGS_GUI_TASK_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_GUI_TASK_THREAD, AgsGuiTaskThreadClass))
+
+typedef struct _AgsGuiTaskThread AgsGuiTaskThread;
+typedef struct _AgsGuiTaskThreadClass AgsGuiTaskThreadClass;
+
+struct _AgsGuiTaskThread
+{
+ AgsTaskThread task_thread;
+};
+
+struct _AgsGuiTaskThreadClass
+{
+ AgsTaskThreadClass task_thread;
+};
+
+
+GType ags_gui_task_thread_get_type();
+
+AgsGuiTaskThread* ags_gui_task_thread_new(GObject *devout);
+
+#endif /*__AGS_GUI_TASK_THREAD_H__*/
diff --git a/src/ags/thread/ags_gui_thread.c b/src/ags/thread/ags_gui_thread.c
new file mode 100644
index 0000000..945510b
--- /dev/null
+++ b/src/ags/thread/ags_gui_thread.c
@@ -0,0 +1,342 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_gui_thread.h>
+#include <ags/thread/ags_gui_task_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <math.h>
+
+void ags_gui_thread_class_init(AgsGuiThreadClass *gui_thread);
+void ags_gui_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_gui_thread_init(AgsGuiThread *gui_thread);
+void ags_gui_thread_connect(AgsConnectable *connectable);
+void ags_gui_thread_disconnect(AgsConnectable *connectable);
+void ags_gui_thread_finalize(GObject *gobject);
+
+void ags_gui_thread_start(AgsThread *thread);
+void ags_gui_thread_run(AgsThread *thread);
+void ags_gui_thread_suspend(AgsThread *thread);
+void ags_gui_thread_resume(AgsThread *thread);
+void ags_gui_thread_stop(AgsThread *thread);
+
+void ags_gui_thread_suspend_handler(int sig);
+
+/**
+ * SECTION:ags_gui_thread
+ * @short_description: gui thread
+ * @title: AgsGuiThread
+ * @section_id:
+ * @include: ags/thread/ags_gui_thread.h
+ *
+ * The #AgsGuiThread acts as graphical user interface thread.
+ */
+
+static gpointer ags_gui_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_gui_thread_parent_connectable_interface;
+
+GType
+ags_gui_thread_get_type()
+{
+ static GType ags_type_gui_thread = 0;
+
+ if(!ags_type_gui_thread){
+ static const GTypeInfo ags_gui_thread_info = {
+ sizeof (AgsGuiThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_gui_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsGuiThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_gui_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_gui_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_gui_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsGuiThread\0",
+ &ags_gui_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_gui_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_gui_thread);
+}
+
+void
+ags_gui_thread_class_init(AgsGuiThreadClass *gui_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+
+ ags_gui_thread_parent_class = g_type_class_peek_parent(gui_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) gui_thread;
+
+ gobject->finalize = ags_gui_thread_finalize;
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) gui_thread;
+
+ thread->start = ags_gui_thread_start;
+ thread->run = ags_gui_thread_run;
+ thread->suspend = ags_gui_thread_suspend;
+ thread->resume = ags_gui_thread_resume;
+ thread->stop = ags_gui_thread_stop;
+}
+
+void
+ags_gui_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_gui_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_gui_thread_connect;
+ connectable->disconnect = ags_gui_thread_disconnect;
+}
+
+void
+ags_gui_thread_init(AgsGuiThread *gui_thread)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(gui_thread);
+
+ // g_atomic_int_or(&(thread->flags),
+ // AGS_THREAD_TIMELOCK_RUN);
+
+ thread->freq = AGS_GUI_THREAD_DEFAULT_JIFFIE;
+
+ g_cond_init(&(gui_thread->cond));
+ g_mutex_init(&(gui_thread->mutex));
+
+ gui_thread->gui_task_thread = NULL;
+ // gui_thread->gui_task_thread = ags_gui_task_thread_new(NULL);
+ // ags_thread_add_child(gui_thread,
+ // gui_thread->gui_task_thread);
+}
+
+void
+ags_gui_thread_connect(AgsConnectable *connectable)
+{
+ ags_gui_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_gui_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_gui_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_gui_thread_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_gui_thread_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_gui_thread_start(AgsThread *thread)
+{
+ AgsGuiThread *gui_thread;
+
+ /* */
+ gui_thread = AGS_GUI_THREAD(thread);
+
+ /* */
+ if((AGS_THREAD_SINGLE_LOOP & (g_atomic_int_get(&(thread->flags)))) == 0){
+ AGS_THREAD_CLASS(ags_gui_thread_parent_class)->start(thread);
+
+ // ags_thread_start(gui_thread->gui_task_thread);
+ }
+}
+
+void
+ags_gui_thread_run(AgsThread *thread)
+{
+ AgsAudioLoop *audio_loop;
+ AgsGuiThread *gui_thread;
+ AgsTaskThread *task_thread;
+ GMainContext *main_context;
+ int success;
+
+ auto void ags_gui_thread_do_gtk_iteration();
+
+ void ags_gui_thread_do_gtk_iteration(){
+
+ if(!g_main_context_acquire(main_context)){
+ gboolean got_ownership = FALSE;
+
+ while(!got_ownership){
+ got_ownership = g_main_context_wait(main_context,
+ &(gui_thread->cond),
+ &(gui_thread->mutex));
+ }
+ }
+
+ /* */
+ // success = pthread_mutex_trylock(&(thread->suspend_mutex));
+ success = FALSE;
+
+ if(success){
+ g_atomic_int_set(&(thread->critical_region),
+ TRUE);
+ }
+
+ /* */
+ pthread_mutex_lock(&(audio_loop->recall_mutex));
+
+ if(success){
+ /* */
+ pthread_mutex_unlock(&(thread->suspend_mutex));
+ }else{
+ // g_atomic_int_set(&(thread->critical_region),
+ // TRUE);
+ }
+
+ /* */
+ gdk_threads_enter();
+ gdk_threads_leave();
+
+ g_main_context_iteration(main_context, FALSE);
+
+ /* */
+ // success = pthread_mutex_trylock(&(thread->suspend_mutex));
+
+ /* */
+ pthread_mutex_unlock(&(audio_loop->recall_mutex));
+
+ /* */
+ // g_atomic_int_set(&(thread->critical_region),
+ // FALSE);
+
+ if(success){
+ pthread_mutex_unlock(&(thread->suspend_mutex));
+ }
+
+ g_main_context_release(main_context);
+ }
+
+ gui_thread = AGS_GUI_THREAD(thread);
+ audio_loop = AGS_AUDIO_LOOP(thread->parent);
+ task_thread = AGS_TASK_THREAD(audio_loop->task_thread);
+
+ /* */
+ main_context = g_main_context_default();
+
+ ags_gui_thread_do_gtk_iteration();
+}
+
+void
+ags_gui_thread_suspend(AgsThread *thread)
+{
+ gboolean success;
+ gboolean critical_region;
+
+ success = pthread_mutex_trylock(&(thread->suspend_mutex));
+ critical_region = g_atomic_int_get(&(thread->critical_region));
+
+ if(success || critical_region){
+ AgsAudioLoop *audio_loop;
+ AgsGuiThread *gui_thread;
+ AgsTaskThread *task_thread;
+
+ if(success){
+ pthread_mutex_unlock(&(thread->suspend_mutex));
+ }
+
+ gui_thread = AGS_GUI_THREAD(thread);
+ audio_loop = AGS_AUDIO_LOOP(thread->parent);
+ task_thread = AGS_TASK_THREAD(audio_loop->task_thread);
+
+ pthread_mutex_unlock(&(task_thread->launch_mutex));
+ }
+}
+
+void
+ags_gui_thread_resume(AgsThread *thread)
+{
+ gboolean success;
+ gboolean critical_region;
+
+ success = pthread_mutex_trylock(&(thread->suspend_mutex));
+ critical_region = g_atomic_int_get(&(thread->critical_region));
+
+ if(success || critical_region){
+ AgsAudioLoop *audio_loop;
+ AgsGuiThread *gui_thread;
+ AgsTaskThread *task_thread;
+
+ if(success){
+ pthread_mutex_unlock(&(thread->suspend_mutex));
+ }
+
+ gui_thread = AGS_GUI_THREAD(thread);
+ audio_loop = AGS_AUDIO_LOOP(thread->parent);
+ task_thread = AGS_TASK_THREAD(audio_loop->task_thread);
+
+ pthread_mutex_lock(&(task_thread->launch_mutex));
+ }
+}
+
+void
+ags_gui_thread_stop(AgsThread *thread)
+{
+ /* */
+ AGS_THREAD_CLASS(ags_gui_thread_parent_class)->stop(thread);
+
+ /* */
+ gdk_flush();
+}
+
+/**
+ * ags_gui_thread_new:
+ *
+ * Create a new #AgsGuiThread.
+ *
+ * Returns: the new #AgsGuiThread
+ *
+ * Since: 0.4
+ */
+AgsGuiThread*
+ags_gui_thread_new()
+{
+ AgsGuiThread *gui_thread;
+
+ gui_thread = (AgsGuiThread *) g_object_new(AGS_TYPE_GUI_THREAD,
+ NULL);
+
+ return(gui_thread);
+}
diff --git a/src/ags/thread/ags_gui_thread.h b/src/ags/thread/ags_gui_thread.h
new file mode 100644
index 0000000..20df056
--- /dev/null
+++ b/src/ags/thread/ags_gui_thread.h
@@ -0,0 +1,64 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_GUI_THREAD_H__
+#define __AGS_GUI_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <unistd.h>
+
+#define AGS_TYPE_GUI_THREAD (ags_gui_thread_get_type())
+#define AGS_GUI_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GUI_THREAD, AgsGuiThread))
+#define AGS_GUI_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GUI_THREAD, AgsGuiThreadClass))
+#define AGS_IS_GUI_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_GUI_THREAD))
+#define AGS_IS_GUI_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_GUI_THREAD))
+#define AGS_GUI_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_GUI_THREAD, AgsGuiThreadClass))
+
+#define AGS_GUI_THREAD_DEFAULT_JIFFIE (60)
+
+typedef struct _AgsGuiThread AgsGuiThread;
+typedef struct _AgsGuiThreadClass AgsGuiThreadClass;
+
+struct _AgsGuiThread
+{
+ AgsThread thread;
+
+ GMutex mutex;
+ GCond cond;
+
+ AgsThread *gui_task_thread;
+};
+
+struct _AgsGuiThreadClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_gui_thread_get_type();
+
+AgsGuiThread* ags_gui_thread_new();
+
+#endif /*__AGS_GUI_THREAD_H__*/
diff --git a/src/ags/thread/ags_history.c b/src/ags/thread/ags_history.c
new file mode 100644
index 0000000..af3536f
--- /dev/null
+++ b/src/ags/thread/ags_history.c
@@ -0,0 +1,128 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_history.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+void ags_history_class_init(AgsHistoryClass *history);
+void ags_history_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_history_init(AgsHistory *history);
+void ags_history_connect(AgsConnectable *connectable);
+void ags_history_disconnect(AgsConnectable *connectable);
+void ags_history_finalize(GObject *gobject);
+
+enum{
+ LAUNCH,
+ FAILURE,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_history_parent_class = NULL;
+static guint history_signals[LAST_SIGNAL];
+
+GType
+ags_history_get_type()
+{
+ static GType ags_type_history = 0;
+
+ if(!ags_type_history){
+ static const GTypeInfo ags_history_info = {
+ sizeof (AgsHistoryClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_history_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsHistory),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_history_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_history_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_history = g_type_register_static(G_TYPE_OBJECT,
+ "AgsHistory\0",
+ &ags_history_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_history,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_history);
+}
+
+void
+ags_history_class_init(AgsHistoryClass *history)
+{
+ GObjectClass *gobject;
+
+ ags_history_parent_class = g_type_class_peek_parent(history);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) history;
+
+ gobject->finalize = ags_history_finalize;
+}
+
+void
+ags_history_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_history_connect;
+ connectable->disconnect = ags_history_disconnect;
+}
+
+void
+ags_history_init(AgsHistory *history)
+{
+}
+
+void
+ags_history_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_history_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_history_finalize(GObject *gobject)
+{
+}
+
+AgsHistory*
+ags_history_new()
+{
+ AgsHistory *history;
+
+ history = (AgsHistory *) g_object_new(AGS_TYPE_HISTORY,
+ NULL);
+
+ return(history);
+}
+
diff --git a/src/ags/thread/ags_history.h b/src/ags/thread/ags_history.h
new file mode 100644
index 0000000..417ea29
--- /dev/null
+++ b/src/ags/thread/ags_history.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_HISTORY_H__
+#define __AGS_HISTORY_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_HISTORY (ags_history_get_type())
+#define AGS_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_HISTORY, AgsHistory))
+#define AGS_HISTORY_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_HISTORY, AgsHistory))
+#define AGS_IS_HISTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_HISTORY))
+#define AGS_IS_HISTORY_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_HISTORY))
+#define AGS_HISTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_HISTORY, AgsHistoryClass))
+
+typedef struct _AgsHistory AgsHistory;
+typedef struct _AgsHistoryClass AgsHistoryClass;
+typedef struct _AgsHistoryAppend AgsHistoryAppend;
+
+struct _AgsHistory
+{
+ GObject gobject;
+
+ GList *task;
+};
+
+struct _AgsHistoryClass
+{
+ GObjectClass gobject;
+};
+
+GType ags_history_get_type();
+
+AgsHistory* ags_history_new();
+
+#endif /*__AGS_HISTORY_H__*/
diff --git a/src/ags/thread/ags_iterator_thread.c b/src/ags/thread/ags_iterator_thread.c
new file mode 100644
index 0000000..06bcef5
--- /dev/null
+++ b/src/ags/thread/ags_iterator_thread.c
@@ -0,0 +1,258 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_iterator_thread.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_recycling_thread.h>
+
+void ags_iterator_thread_class_init(AgsIteratorThreadClass *iterator_thread);
+void ags_iterator_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_iterator_thread_init(AgsIteratorThread *iterator_thread);
+void ags_iterator_thread_connect(AgsConnectable *connectable);
+void ags_iterator_thread_disconnect(AgsConnectable *connectable);
+void ags_iterator_thread_finalize(GObject *gobject);
+
+void ags_iterator_thread_start(AgsThread *thread);
+void ags_iterator_thread_run(AgsThread *thread);
+
+void ags_iterator_thread_real_children_ready(AgsIteratorThread *iterator_thread,
+ AgsThread *current);
+
+enum{
+ CHILDREN_READY,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_iterator_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_iterator_thread_parent_connectable_interface;
+
+static guint iterator_thread_signals[LAST_SIGNAL];
+
+GType
+ags_iterator_thread_get_type()
+{
+ static GType ags_type_iterator_thread = 0;
+
+ if(!ags_type_iterator_thread){
+ static const GTypeInfo ags_iterator_thread_info = {
+ sizeof (AgsIteratorThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_iterator_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsIteratorThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_iterator_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_iterator_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_iterator_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsIteratorThread\0",
+ &ags_iterator_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_iterator_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_iterator_thread);
+}
+
+void
+ags_iterator_thread_class_init(AgsIteratorThreadClass *iterator_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+
+ ags_iterator_thread_parent_class = g_type_class_peek_parent(iterator_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) iterator_thread;
+
+ gobject->finalize = ags_iterator_thread_finalize;
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) iterator_thread;
+
+ thread->start = ags_iterator_thread_start;
+
+ /* AgsIteratorThread */
+ iterator_thread->children_ready = ags_iterator_thread_real_children_ready;
+
+ /* signals */
+ iterator_thread_signals[CHILDREN_READY] =
+ g_signal_new("children_ready\0",
+ G_TYPE_FROM_CLASS(iterator_thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsIteratorThreadClass, children_ready),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__OBJECT_OBJECT,
+ G_TYPE_BOOLEAN, 2,
+ G_TYPE_OBJECT,
+ G_TYPE_OBJECT);
+}
+
+void
+ags_iterator_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_iterator_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_iterator_thread_connect;
+ connectable->disconnect = ags_iterator_thread_disconnect;
+}
+
+void
+ags_iterator_thread_init(AgsIteratorThread *iterator_thread)
+{
+ iterator_thread->flags = 0;
+
+ pthread_mutex_init(&(iterator_thread->tic_mutex), NULL);
+ pthread_cond_init(&(iterator_thread->tic_cond), NULL);
+
+ iterator_thread->recycling_thread = NULL;
+
+ iterator_thread->channel = NULL;
+ iterator_thread->recall_id = 0;
+ iterator_thread->stage = 0;
+}
+
+void
+ags_iterator_thread_connect(AgsConnectable *connectable)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(connectable);
+
+ ags_iterator_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_iterator_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_iterator_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_iterator_thread_finalize(GObject *gobject)
+{
+ AgsIteratorThread *iterator_thread;
+
+ iterator_thread = AGS_ITERATOR_THREAD(gobject);
+
+ /* */
+ G_OBJECT_CLASS(ags_iterator_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_iterator_thread_start(AgsThread *thread)
+{
+ AGS_THREAD_CLASS(ags_iterator_thread_parent_class)->start(thread);
+}
+
+void
+ags_iterator_thread_run(AgsThread *thread)
+{
+ AgsIteratorThread *iterator_thread;
+
+ iterator_thread = AGS_ITERATOR_THREAD(thread);
+
+ /* */
+ pthread_mutex_lock(&(iterator_thread->tic_mutex));
+
+ iterator_thread->flags &= (~AGS_ITERATOR_THREAD_DONE);
+
+ if((AGS_ITERATOR_THREAD_WAIT & (iterator_thread->flags)) != 0 &&
+ (AGS_ITERATOR_THREAD_DONE & (iterator_thread->flags)) == 0){
+ while((AGS_ITERATOR_THREAD_WAIT & (iterator_thread->flags)) != 0 &&
+ (AGS_ITERATOR_THREAD_DONE & (iterator_thread->flags)) == 0){
+ pthread_cond_wait(&(iterator_thread->tic_cond),
+ &(iterator_thread->tic_mutex));
+ }
+ }
+
+ iterator_thread->flags |= AGS_ITERATOR_THREAD_WAIT;
+
+ pthread_mutex_unlock(&(iterator_thread->tic_mutex));
+
+ /* */
+ AGS_THREAD_CLASS(ags_iterator_thread_parent_class)->run(thread);
+
+ ags_channel_recursive_play_threaded(iterator_thread->channel,
+ iterator_thread->recall_id,
+ iterator_thread->stage);
+}
+
+void
+ags_iterator_thread_real_children_ready(AgsIteratorThread *iterator_thread,
+ AgsThread *current)
+{
+ AgsRecyclingThread *recycling_thread;
+
+ recycling_thread = AGS_RECYCLING_THREAD(current);
+
+ pthread_mutex_lock(&(recycling_thread->iteration_mutex));
+
+ recycling_thread->flags &= (~AGS_RECYCLING_THREAD_WAIT);
+ pthread_cond_signal(&(recycling_thread->iteration_cond));
+
+ pthread_mutex_unlock(&(recycling_thread->iteration_mutex));
+}
+
+void
+ags_iterator_thread_children_ready(AgsIteratorThread *iterator_thread,
+ AgsThread *current)
+{
+ g_return_if_fail(AGS_IS_ITERATOR_THREAD(iterator_thread));
+
+ g_object_ref((GObject *) iterator_thread);
+ g_signal_emit(G_OBJECT(iterator_thread),
+ iterator_thread_signals[CHILDREN_READY], 0,
+ current);
+ g_object_unref((GObject *) iterator_thread);
+}
+
+AgsIteratorThread*
+ags_iterator_thread_new(AgsChannel *channel,
+ AgsRecallID *recall_id,
+ gint stage)
+{
+ AgsIteratorThread *iterator_thread;
+
+ iterator_thread = (AgsIteratorThread *) g_object_new(AGS_TYPE_ITERATOR_THREAD,
+ NULL);
+
+ iterator_thread->channel = channel;
+ iterator_thread->recall_id = recall_id;
+ iterator_thread->stage = stage;
+
+ return(iterator_thread);
+}
diff --git a/src/ags/thread/ags_iterator_thread.h b/src/ags/thread/ags_iterator_thread.h
new file mode 100644
index 0000000..02aa0f1
--- /dev/null
+++ b/src/ags/thread/ags_iterator_thread.h
@@ -0,0 +1,79 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_ITERATOR_THREAD_H__
+#define __AGS_ITERATOR_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/audio/ags_channel.h>
+
+#define AGS_TYPE_ITERATOR_THREAD (ags_iterator_thread_get_type())
+#define AGS_ITERATOR_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ITERATOR_THREAD, AgsIteratorThread))
+#define AGS_ITERATOR_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_ITERATOR_THREAD, AgsIteratorThread))
+#define AGS_IS_ITERATOR_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_ITERATOR_THREAD))
+#define AGS_IS_ITERATOR_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_ITERATOR_THREAD))
+#define AGS_ITERATOR_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_ITERATOR_THREAD, AgsIteratorThreadClass))
+
+typedef struct _AgsIteratorThread AgsIteratorThread;
+typedef struct _AgsIteratorThreadClass AgsIteratorThreadClass;
+
+typedef enum{
+ AGS_ITERATOR_THREAD_DONE = 1,
+ AGS_ITERATOR_THREAD_WAIT = 1 << 1,
+}AgsIteratorThreadFlags;
+
+struct _AgsIteratorThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ pthread_mutex_t tic_mutex;
+ pthread_cond_t tic_cond;
+
+ AgsThread *recycling_thread;
+
+ AgsChannel *channel;
+ AgsRecallID *recall_id;
+ gint stage;
+};
+
+struct _AgsIteratorThreadClass
+{
+ AgsThreadClass thread;
+
+ void (*children_ready)(AgsIteratorThread *iterator_thread,
+ AgsThread *current);
+};
+
+GType ags_iterator_thread_get_type();
+
+void ags_iterator_thread_children_ready(AgsIteratorThread *iterator_thread,
+ AgsThread *current);
+
+AgsIteratorThread* ags_iterator_thread_new();
+
+#endif /*__AGS_ITERATOR_THREAD_H__*/
diff --git a/src/ags/thread/ags_portable_thread.c b/src/ags/thread/ags_portable_thread.c
new file mode 100644
index 0000000..0a2b020
--- /dev/null
+++ b/src/ags/thread/ags_portable_thread.c
@@ -0,0 +1,1725 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_portable_thread.h>
+
+#include <ags/object/ags_tree_iterator.h>
+#include <ags-lib/object/ags_connectable.h>
+#include <ags/object/ags_main_loop.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <stdio.h>
+#include <math.h>
+
+void ags_portable_thread_class_init(AgsPortableThreadClass *thread);
+void ags_portable_thread_tree_iterator_interface_init(AgsTreeIteratorInterface *tree);
+void ags_portable_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_portable_thread_init(AgsPortableThread *thread);
+void ags_portable_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_portable_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_portable_thread_iterate_nested(AgsTreeIterator *tree,
+ gpointer node_id);
+void ags_portable_thread_connect(AgsConnectable *connectable);
+void ags_portable_thread_disconnect(AgsConnectable *connectable);
+void ags_portable_thread_finalize(GObject *gobject);
+
+void ags_portable_thread_set_devout(AgsPortableThread *thread, GObject *devout);
+
+void ags_portable_thread_real_start(AgsPortableThread *thread);
+void* ags_portable_thread_loop(void *ptr);
+void ags_portable_thread_real_run(AgsPortableThread *thread);
+void ags_portable_thread_real_timelock(AgsPortableThread *thread);
+void* ags_portable_thread_timelock_loop(void *ptr);
+void ags_portable_thread_real_stop(AgsPortableThread *thread);
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+};
+
+enum{
+ START,
+ RUN,
+ TIMELOCK,
+ STOP,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_portable_thread_parent_class = NULL;
+static GType ags_portable_thread_type_id = 0;
+static guint thread_signals[LAST_SIGNAL];
+
+#define USEC_PER_SEC (1000000) /* The number of nsecs per sec. */
+
+GType
+ags_portable_thread_get_type()
+{
+ return(ags_portable_thread_type_id);
+}
+
+static GType
+ags_portable_thread_register_type(GTypeModule *type_module)
+{
+ GType ags_type_portable_thread = 0;
+
+ const GTypeInfo ags_portable_thread_info = {
+ sizeof (AgsPortableThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_portable_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsPortableThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_portable_thread_init,
+ };
+
+ const GInterfaceInfo ags_tree_iterator_interface_info = {
+ (GInterfaceInitFunc) ags_portable_thread_tree_iterator_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_portable_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_portable_thread = g_type_module_register(type_module,
+ G_TYPE_OBJECT,
+ "AgsPortableThread\0",
+ &ags_portable_thread_info,
+ 0);
+
+ g_type_module_add_interface(type_module,
+ ags_type_portable_thread,
+ AGS_TYPE_TREE_ITERATOR,
+ &ags_tree_iterator_interface_info);
+
+ g_type_module_add_interface(type_module,
+ ags_type_portable_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ return (ags_type_portable_thread);
+}
+
+void
+ags_portable_thread_class_init(AgsPortableThreadClass *thread)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_portable_thread_parent_class = g_type_class_peek_parent(thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) thread;
+
+ gobject->set_property = ags_portable_thread_set_property;
+ gobject->get_property = ags_portable_thread_get_property;
+
+ gobject->finalize = ags_portable_thread_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("devout\0",
+ "devout assigned to\0",
+ "The AgsDevout it is assigned to.\0",
+ AGS_TYPE_DEVOUT,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /* AgsPortableThread */
+ thread->start = ags_portable_thread_real_start;
+ thread->run = NULL;
+ thread->timelock = ags_portable_thread_real_timelock;
+ thread->stop = ags_portable_thread_real_stop;
+
+ /* signals */
+ thread_signals[START] =
+ g_signal_new("start\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortableThreadClass, start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[RUN] =
+ g_signal_new("run\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortableThreadClass, run),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[TIMELOCK] =
+ g_signal_new("timelock\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortableThreadClass, timelock),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[STOP] =
+ g_signal_new("stop\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsPortableThreadClass, stop),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_portable_thread_tree_iterator_interface_init(AgsTreeIteratorInterface *tree)
+{
+ tree->iterate_nested = ags_portable_thread_iterate_nested;
+}
+
+void
+ags_portable_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_portable_thread_connect;
+ connectable->disconnect = ags_portable_thread_disconnect;
+}
+
+void
+ags_portable_thread_init(AgsPortableThread *thread)
+{
+ g_atomic_int_set(&(thread->flags),
+ 0);
+
+ pth_attr_init(thread->thread_attr);
+
+ pth_mutex_init(&thread->mutex);
+ pth_cond_init(&thread->cond);
+
+ pth_mutex_init(&thread->start_mutex);
+ pth_cond_init(&thread->start_cond);
+
+ thread->first_barrier = TRUE;
+ thread->wait_count[0] = 1;
+ thread->wait_count[1] = 1;
+
+ pth_mutex_init(&thread->timelock_mutex);
+ pth_cond_init(&thread->timelock_cond);
+ thread->timelock = floor(USEC_PER_SEC *
+ ((double) AGS_DEVOUT_DEFAULT_SAMPLERATE / (double) AGS_DEVOUT_DEFAULT_BUFFER_SIZE));
+
+ thread->devout = NULL;
+
+ thread->parent = NULL;
+ thread->next = NULL;
+ thread->prev = NULL;
+ thread->children = NULL;
+
+ thread->data = NULL;
+}
+
+void
+ags_portable_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPortableThread *thread;
+
+ thread = AGS_PORTABLE_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+ AgsPortableThread *current;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(thread->devout != NULL){
+ g_object_unref(G_OBJECT(thread->devout));
+ }
+
+ if(devout != NULL){
+ g_object_ref(G_OBJECT(devout));
+ }
+
+ thread->devout = G_OBJECT(devout);
+
+ current = thread->children;
+
+ while(current != NULL){
+ g_object_set(G_OBJECT(current),
+ "devout\0", devout,
+ NULL);
+
+ current = current->next;
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_portable_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsPortableThread *thread;
+
+ thread = AGS_PORTABLE_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ g_value_set_object(value, G_OBJECT(thread->devout));
+ }
+ break;
+ }
+}
+
+void
+ags_portable_thread_iterate_nested(AgsTreeIterator *tree,
+ gpointer node_id)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_portable_thread_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_portable_thread_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_portable_thread_finalize(GObject *gobject)
+{
+ AgsPortableThread *thread;
+
+ thread = AGS_PORTABLE_THREAD(gobject);
+
+ pth_attr_destroy(thread->thread_attr);
+
+ g_object_unref(G_OBJECT(thread->devout));
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_portable_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_portable_thread_set_devout(AgsPortableThread *thread, GObject *devout)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_portable_thread_lock:
+ * @thread an #AgsPortableThread
+ *
+ * Locks the threads own mutex and sets the appropriate flag.
+ */
+void
+ags_portable_thread_lock(AgsPortableThread *thread)
+{
+ AgsPortableThread *main_loop;
+
+ if(thread == NULL){
+ return;
+ }
+
+ main_loop = ags_portable_thread_get_toplevel(thread);
+
+ if(main_loop == thread){
+ pth_mutex_acquire(&(thread->mutex), FALSE, NULL);
+ g_atomic_int_or(&(thread->flags),
+ (AGS_PORTABLE_THREAD_LOCKED));
+ }else{
+ pth_mutex_acquire(&(main_loop->mutex), FALSE, NULL);
+ pth_mutex_acquire(&(thread->mutex), FALSE, NULL);
+ g_atomic_int_or(&(thread->flags),
+ (AGS_PORTABLE_THREAD_LOCKED));
+ pth_mutex_release(&(main_loop->mutex));
+ }
+}
+
+
+gboolean
+ags_portable_thread_trylock(AgsPortableThread *thread)
+{
+ AgsPortableThread *main_loop;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ main_loop = ags_portable_thread_get_toplevel(thread);
+
+ if(main_loop == thread){
+ if(pth_mutex_acquire(&(thread->mutex), TRUE, NULL) != 0){
+ return(FALSE);
+ }
+
+ g_atomic_int_or(&(thread->flags),
+ (AGS_PORTABLE_THREAD_LOCKED));
+ }else{
+ if(pth_mutex_acquire(&(main_loop->mutex), TRUE, NULL) != 0){
+ return(FALSE);
+ }
+
+ if(pth_mutex_acquire(&(thread->mutex), TRUE, NULL) != 0){
+ pth_mutex_release(&(main_loop->mutex));
+ return(FALSE);
+ }
+
+ g_atomic_int_or(&(thread->flags),
+ (AGS_PORTABLE_THREAD_LOCKED));
+ pth_mutex_release(&(main_loop->mutex));
+ }
+
+ return(TRUE);
+}
+
+/**
+ * ags_portable_thread_unlock:
+ * @thread an #AgsPortableThread
+ *
+ * Unlocks the threads own mutex and unsets the appropriate flag.
+ */
+void
+ags_portable_thread_unlock(AgsPortableThread *thread)
+{
+ if(thread == NULL){
+ return;
+ }
+
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_PORTABLE_THREAD_LOCKED));
+
+ pth_mutex_release(&(thread->mutex));
+}
+
+/**
+ * ags_portable_thread_get_toplevel:
+ * @thread an #AgsPortableThread
+ * Returns: the toplevevel #AgsPortableThread
+ *
+ * Retrieve toplevel thread.
+ */
+AgsPortableThread*
+ags_portable_thread_get_toplevel(AgsPortableThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->parent != NULL){
+ thread = thread->parent;
+ }
+
+ return(thread);
+}
+
+/**
+ * ags_portable_thread_first:
+ * @thread an #AgsPortableThread
+ * Returns: the very first #AgsPortableThread within same tree level
+ *
+ * Retrieve first sibling.
+ */
+AgsPortableThread*
+ags_portable_thread_first(AgsPortableThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->prev != NULL){
+ thread = thread->prev;
+ }
+
+ return(thread);
+}
+
+/**
+ * ags_portable_thread_last:
+ * @thread an #AgsPortableThread
+ * Returns: the very last @AgsPortableThread within same tree level
+ *
+ * Retrieve last sibling.
+ */
+AgsPortableThread*
+ags_portable_thread_last(AgsPortableThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->next != NULL){
+ thread = thread->next;
+ }
+
+ return(thread);
+}
+
+void
+ags_portable_thread_remove_child(AgsPortableThread *thread, AgsPortableThread *child)
+{
+ if(thread == NULL || child == NULL){
+ return;
+ }
+
+ if(child->prev != NULL){
+ child->prev->next = child->next;
+ }
+
+ if(child->next != NULL){
+ child->next->prev = child->prev;
+ }
+
+ child->parent = NULL;
+ child->prev = NULL;
+ child->next = NULL;
+}
+
+void
+ags_portable_thread_add_child(AgsPortableThread *thread, AgsPortableThread *child)
+{
+ if(thread == NULL || child == NULL){
+ return;
+ }
+
+ if(child->parent != NULL){
+ ags_portable_thread_remove_child(child->parent, child);
+ }
+
+ /* */
+ if(thread->children == NULL){
+ thread->children = child;
+ child->parent = thread;
+ }else{
+ AgsPortableThread *sibling;
+
+ sibling = ags_portable_thread_last(thread->children);
+
+ sibling->next = child;
+ child->prev = sibling;
+ child->parent = thread;
+ }
+
+ if((AGS_PORTABLE_THREAD_RUNNING & (thread->flags)) != 0){
+ ags_portable_thread_start(child);
+ }
+}
+
+/**
+ * ags_portable_thread_parental_is_locked:
+ * @thread an #AgsPortableThread
+ * @parent where to stop iteration
+ * Returns: TRUE if locked otherwise FALSE
+ *
+ * Check the AGS_PORTABLE_THREAD_LOCKED flag in parental levels.
+ */
+gboolean
+ags_portable_thread_parental_is_locked(AgsPortableThread *thread, AgsPortableThread *parent)
+{
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ current = thread->parent;
+
+ while(current != parent){
+ if((AGS_PORTABLE_THREAD_LOCKED & (current->flags)) != 0){
+
+ return(TRUE);
+ }
+
+ current = current->parent;
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_portable_thread_sibling_is_locked:
+ * @thread an #AgsPortableThread
+ * Returns: TRUE if locked otherwise FALSE
+ *
+ * Check the AGS_PORTABLE_THREAD_LOCKED flag within sibling.
+ */
+gboolean
+ags_portable_thread_sibling_is_locked(AgsPortableThread *thread)
+{
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ thread = ags_portable_thread_first(thread);
+
+ while(thread->next != NULL){
+ if((AGS_PORTABLE_THREAD_LOCKED & (thread->flags)) != 0){
+ return(TRUE);
+ }
+
+ thread = thread->next;
+ }
+
+ return(FALSE);
+}
+
+
+/**
+ * ags_portable_thread_sibling_is_locked:
+ * @thread an #AgsPortableThread
+ * Returns: TRUE if locked otherwise FALSE
+ *
+ * Check the AGS_PORTABLE_THREAD_LOCKED flag within sibling.
+ */
+gboolean
+ags_portable_thread_children_is_locked(AgsPortableThread *thread)
+{
+ auto gboolean ags_portable_thread_children_is_locked_recursive(AgsPortableThread *thread);
+
+ gboolean ags_portable_thread_children_is_locked_recursive(AgsPortableThread *thread){
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ current = thread;
+
+ while(current != NULL){
+ if((AGS_PORTABLE_THREAD_LOCKED & (thread->flags)) != 0){
+ return(TRUE);
+ }
+
+ if(ags_portable_thread_children_is_locked_recursive(current->children)){
+ return(TRUE);
+ }
+
+ current = current->next;
+ }
+
+ return(FALSE);
+ }
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ return(ags_portable_thread_children_is_locked_recursive(thread->children));
+}
+
+gboolean
+ags_portable_thread_is_current_ready(AgsPortableThread *current)
+{
+ gint val;
+
+ val = g_atomic_int_get(&(current->flags));
+
+ if((AGS_PORTABLE_THREAD_RUNNING & (val)) == 0){
+ return(TRUE);
+ }
+
+ if((AGS_PORTABLE_THREAD_WAIT_0 & (val)) != 0){
+ return(TRUE);
+ }
+
+ return(FALSE);
+}
+
+gboolean
+ags_portable_thread_is_tree_ready(AgsPortableThread *thread)
+{
+ AgsPortableThread *main_loop;
+
+ auto gboolean ags_portable_thread_is_tree_ready_recursive(AgsPortableThread *current);
+
+ gboolean ags_portable_thread_is_tree_ready_recursive(AgsPortableThread *current){
+
+ while(current != NULL){
+ if(current == thread){
+ return(!ags_portable_thread_is_tree_ready_recursive(current->children));
+ }
+
+ if(thread != current && !ags_portable_thread_is_current_ready(current)){
+ return(FALSE);
+ }
+
+ if(!ags_portable_thread_is_tree_ready_recursive(current->children)){
+ return(FALSE);
+ }
+
+ current = current->next;
+ }
+
+ return(TRUE);
+ }
+
+ main_loop = ags_portable_thread_get_toplevel(thread);
+
+ return(ags_portable_thread_is_tree_ready_recursive(main_loop));
+}
+
+void
+ags_portable_thread_main_loop_unlock_children(AgsPortableThread *thread)
+{
+ AgsPortableThread *main_loop;
+
+ auto void ags_portable_thread_main_loop_unlock_children_recursive(AgsPortableThread *child);
+
+ void ags_portable_thread_main_loop_unlock_children_recursive(AgsPortableThread *child){
+ if(child == NULL){
+ return;
+ }
+
+ while(child != NULL){
+ g_atomic_int_and(&(child->flags),
+ (~AGS_PORTABLE_THREAD_WAIT_0));
+
+ ags_portable_thread_main_loop_unlock_children_recursive(child->children);
+
+ if((AGS_PORTABLE_THREAD_BROADCAST_PARENT & (thread->flags)) == 0){
+ pth_cond_notify(&(child->cond), FALSE);
+ }else{
+ pth_cond_notify(&(child->cond), TRUE);
+ }
+
+ child = child->next;
+ }
+ }
+
+ main_loop = ags_portable_thread_get_toplevel(thread);
+
+ ags_portable_thread_main_loop_unlock_children_recursive(main_loop);
+}
+
+/**
+ * ags_portable_thread_next_parent_locked:
+ * @thread an #AgsPortableThread
+ * @parent the parent #AgsPortableThread where to stop.
+ *
+ * Retrieve next locked thread above @thread.
+ */
+AgsPortableThread*
+ags_portable_thread_next_parent_locked(AgsPortableThread *thread, AgsPortableThread *parent)
+{
+ AgsPortableThread *current;
+
+ current = thread->parent;
+
+ while(current != parent){
+ if((AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN & (current->flags)) != 0){
+ return(current);
+ }
+
+ current = current->parent;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_portable_thread_next_sibling_locked:
+ * @thread an #AgsPortableThread
+ *
+ * Retrieve next locked thread neighbooring @thread
+ */
+AgsPortableThread*
+ags_portable_thread_next_sibling_locked(AgsPortableThread *thread)
+{
+ AgsPortableThread *current;
+
+ current = ags_portable_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ if((AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING & (thread->flags)) != 0){
+ return(current);
+ }
+
+ current = current->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_portable_thread_next_children_locked:
+ * @thread an #AgsPortableThread
+ *
+ * Retrieve next locked thread following @thread
+ */
+AgsPortableThread*
+ags_portable_thread_next_children_locked(AgsPortableThread *thread)
+{
+ auto AgsPortableThread* ags_portable_thread_next_children_locked_recursive(AgsPortableThread *thread);
+
+ AgsPortableThread* ags_portable_thread_next_children_locked_recursive(AgsPortableThread *child){
+ AgsPortableThread *current;
+
+ current = ags_portable_thread_last(child);
+
+ while(current != NULL){
+ ags_portable_thread_next_children_locked_recursive(current->children);
+
+ if((AGS_PORTABLE_THREAD_WAITING_FOR_PARENT & (current->flags)) != 0){
+ return(current);
+ }
+
+ current = current->prev;
+ }
+
+ return(NULL);
+ }
+
+ return(ags_portable_thread_next_children_locked(thread->children));
+}
+
+/**
+ * ags_portable_thread_lock_parent:
+ * @thread an #AgsPortableThread
+ * @parent the parent #AgsPortableThread where to stop.
+ *
+ * Lock parent tree structure.
+ */
+void
+ags_portable_thread_lock_parent(AgsPortableThread *thread, AgsPortableThread *parent)
+{
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ ags_portable_thread_lock(thread);
+
+ current = thread->parent;
+
+ while(current != parent){
+ ags_portable_thread_lock(current);
+ current->flags |= AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN;
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_portable_thread_lock_sibling:
+ * @thread an #AgsPortableThread
+ *
+ * Lock sibling tree structure.
+ */
+void
+ags_portable_thread_lock_sibling(AgsPortableThread *thread)
+{
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ ags_portable_thread_lock(thread);
+
+ current = ags_portable_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ ags_portable_thread_lock(current);
+ current->flags |= AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING;
+
+ current = current->next;
+ }
+}
+
+/**
+ * ags_portable_thread_lock_children:
+ * @thread an #AgsPortableThread
+ *
+ * Lock child tree structure.
+ */
+void
+ags_portable_thread_lock_children(AgsPortableThread *thread)
+{
+ auto void ags_portable_thread_lock_children_recursive(AgsPortableThread *child);
+
+ void ags_portable_thread_lock_children_recursive(AgsPortableThread *child){
+ AgsPortableThread *current;
+
+ current = ags_portable_thread_last(child);
+
+ while(current != NULL){
+ ags_portable_thread_lock_children_recursive(current->children);
+
+ ags_portable_thread_lock(current);
+ current->flags |= AGS_PORTABLE_THREAD_WAITING_FOR_PARENT;
+
+ current = current->prev;
+ }
+ }
+
+ ags_portable_thread_lock(thread);
+
+ ags_portable_thread_lock_children_recursive(thread->children);
+}
+
+void
+ags_portable_thread_lock_all(AgsPortableThread *thread)
+{
+ ags_portable_thread_lock_parent(thread, NULL);
+ ags_portable_thread_lock_sibling(thread);
+ ags_portable_thread_lock_children(thread);
+}
+
+/**
+ * ags_portable_thread_unlock_parent:
+ * @thread an #AgsPortableThread
+ * @parent the parent #AgsPortableThread where to stop.
+ *
+ * Unlock parent tree structure.
+ */
+void
+ags_portable_thread_unlock_parent(AgsPortableThread *thread, AgsPortableThread *parent)
+{
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = thread->parent;
+
+ while(current != parent){
+ current->flags &= (~AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN);
+
+ if((AGS_PORTABLE_THREAD_BROADCAST_PARENT & (thread->flags)) == 0){
+ pth_cond_notify(&(current->cond), FALSE);
+ }else{
+ pth_cond_notify(&(current->cond), TRUE);
+ }
+
+ ags_portable_thread_unlock(current);
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_portable_thread_unlock_sibling:
+ * @thread an #AgsPortableThread
+ *
+ * Unlock sibling tree structure.
+ */
+void
+ags_portable_thread_unlock_sibling(AgsPortableThread *thread)
+{
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = ags_portable_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ current->flags &= (~AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING);
+
+ if((AGS_PORTABLE_THREAD_BROADCAST_SIBLING & (thread->flags)) == 0){
+ pth_cond_notify(&(current->cond), FALSE);
+ }else{
+ pth_cond_notify(&(current->cond), TRUE);
+ }
+
+ ags_portable_thread_unlock(current);
+
+ current = current->next;
+ }
+}
+
+/**
+ * ags_portable_thread_unlock_children:
+ * @thread an #AgsPortableThread
+ *
+ * Unlock child tree structure.
+ */
+void
+ags_portable_thread_unlock_children(AgsPortableThread *thread)
+{
+ auto void ags_portable_thread_unlock_children_recursive(AgsPortableThread *child);
+
+ void ags_portable_thread_unlock_children_recursive(AgsPortableThread *child){
+ AgsPortableThread *current;
+
+ if(child == NULL){
+ return;
+ }
+
+ current = ags_portable_thread_last(child);
+
+ while(current != NULL){
+ ags_portable_thread_unlock_children_recursive(current->children);
+
+ current->flags &= (~AGS_PORTABLE_THREAD_WAITING_FOR_PARENT);
+
+ if(!((AGS_PORTABLE_THREAD_INITIAL_RUN & (thread->flags)) != 0 &&
+ AGS_IS_AUDIO_LOOP(thread))){
+
+ if((AGS_PORTABLE_THREAD_BROADCAST_CHILDREN & (thread->flags)) == 0){
+ pth_cond_notify(&(current->cond), FALSE);
+ }else{
+ pth_cond_notify(&(current->cond), TRUE);
+ }
+ }
+
+ ags_portable_thread_unlock(current);
+
+ current = current->prev;
+ }
+ }
+
+ ags_portable_thread_unlock_children_recursive(thread->children);
+}
+
+void
+ags_portable_thread_unlock_all(AgsPortableThread *thread)
+{
+ ags_portable_thread_unlock_parent(thread, NULL);
+ ags_portable_thread_unlock_sibling(thread);
+ ags_portable_thread_unlock_children(thread);
+}
+
+/**
+ * ags_portable_thread_wait_parent:
+ * @thread an #AgsPortableThread
+ * @parent the parent #AgsPortableThread where to stop.
+ *
+ * Wait on parent tree structure.
+ */
+void
+ags_portable_thread_wait_parent(AgsPortableThread *thread, AgsPortableThread *parent)
+{
+ AgsPortableThread *current;
+
+ if(thread == NULL || thread == parent){
+ return;
+ }
+
+ /* wait parent */
+ current = thread->parent;
+
+ while((current != NULL && current != parent) &&
+ (((AGS_PORTABLE_THREAD_IDLE & (current->flags)) != 0 ||
+ (AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN & (current->flags)) == 0) ||
+ current->parent != parent)){
+ pth_cond_await(&(current->cond),
+ &(current->mutex),
+ NULL);
+
+ if(!((AGS_PORTABLE_THREAD_IDLE & (current->flags)) != 0 ||
+ (AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN & (current->flags)) == 0)){
+ current = current->parent;
+ }
+ }
+
+ /* unset flag */
+ thread->flags &= (~AGS_PORTABLE_THREAD_WAITING_FOR_PARENT);
+}
+
+/**
+ * ags_portable_thread_wait_sibling:
+ * @thread an #AgsPortableThread
+ *
+ * Wait on sibling tree structure.
+ */
+void
+ags_portable_thread_wait_sibling(AgsPortableThread *thread)
+{
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ /* wait sibling */
+ current = ags_portable_thread_first(thread);
+
+ while(current != NULL &&
+ (((AGS_PORTABLE_THREAD_IDLE & (current->flags)) != 0 ||
+ (AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING & (current->flags)) == 0) ||
+ current->next != NULL)){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ pth_cond_await(&(current->cond),
+ &(current->mutex),
+ NULL);
+
+ if(!((AGS_PORTABLE_THREAD_IDLE & (current->flags)) != 0 ||
+ (AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING & (current->flags)) == 0)){
+ current = current->next;
+ }
+ }
+
+ /* unset flags */
+ thread->flags &= (~AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING);
+}
+
+/**
+ * ags_portable_thread_wait_children:
+ * @thread an #AgsPortableThread
+ *
+ * Wait on child tree structure.
+ */
+void
+ags_portable_thread_wait_children(AgsPortableThread *thread)
+{
+ auto void ags_portable_thread_wait_children_recursive(AgsPortableThread *child);
+
+ void ags_portable_thread_wait_children_recursive(AgsPortableThread *child){
+ gboolean initial_run;
+
+ if(child == NULL){
+ return;
+ }
+
+ initial_run = TRUE;
+
+ while(child != NULL &&
+ (((AGS_PORTABLE_THREAD_IDLE & (child->flags)) != 0 ||
+ (AGS_PORTABLE_THREAD_WAITING_FOR_PARENT & (child->flags)) == 0) ||
+ child->next != NULL)){
+ if(initial_run){
+ ags_portable_thread_wait_children_recursive(child->children);
+
+ initial_run = FALSE;
+ }
+
+ pth_cond_await(&(child->cond),
+ &(child->mutex),
+ NULL);
+
+ if(!((AGS_PORTABLE_THREAD_IDLE & (child->flags)) != 0 ||
+ (AGS_PORTABLE_THREAD_WAITING_FOR_PARENT & (child->flags)) == 0)){
+ child = child->next;
+
+ initial_run = TRUE;
+ }
+ }
+ }
+
+ if(thread == NULL){
+ return;
+ }
+
+ /* wait children */
+ ags_portable_thread_wait_children_recursive(thread->children);
+
+ /* unset flags */
+ thread->flags &= (~AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN);
+}
+
+/**
+ * ags_portable_thread_signal_parent:
+ * @thread an #AgsPortableThread
+ * @broadcast whether to perforam a signal or to broadcast
+ *
+ * Signals the tree in higher levels.
+ */
+void
+ags_portable_thread_signal_parent(AgsPortableThread *thread, AgsPortableThread *parent,
+ gboolean broadcast)
+{
+ AgsPortableThread *current;
+
+ current = thread->parent;
+
+ while(current != NULL){
+ if((AGS_PORTABLE_THREAD_WAIT_FOR_CHILDREN & (current->flags)) != 0){
+ if(!broadcast){
+ pth_cond_notify(&(current->cond), FALSE);
+ }else{
+ pth_cond_notify(&(current->cond), TRUE);
+ }
+ }
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_portable_thread_signal_sibling:
+ * @thread an #AgsPortableThread
+ * @broadcast whether to perforam a signal or to broadcast
+ *
+ * Signals the tree on same level.
+ */
+void
+ags_portable_thread_signal_sibling(AgsPortableThread *thread, gboolean broadcast)
+{
+ AgsPortableThread *current;
+
+ current = ags_portable_thread_first(thread);
+
+ while(current != NULL){
+ if((AGS_PORTABLE_THREAD_WAIT_FOR_SIBLING & (current->flags)) != 0){
+ if(!broadcast){
+ pth_cond_notify(&(current->cond), FALSE);
+ }else{
+ pth_cond_notify(&(current->cond), TRUE);
+ }
+ }
+ }
+}
+
+/**
+ * ags_portable_thread_signal_children:
+ * @thread an #AgsPortableThread
+ * @broadcast whether to perforam a signal or to broadcast
+ *
+ * Signals the tree in lower levels.
+ */
+void
+ags_portable_thread_signal_children(AgsPortableThread *thread, gboolean broadcast)
+{
+ auto void ags_portable_thread_signal_children_recursive(AgsPortableThread *thread, gboolean broadcast);
+
+ void ags_portable_thread_signal_children_recursive(AgsPortableThread *thread, gboolean broadcast){
+ AgsPortableThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = thread;
+
+ while(current != NULL){
+ if((AGS_PORTABLE_THREAD_WAIT_FOR_PARENT & (current->flags)) != 0){
+ if(!broadcast){
+ pth_cond_nofify(&(current->cond), FALSE);
+ }else{
+ pth_cond_notify(&(current->cond), TRUE);
+ }
+ }
+
+ ags_portable_thread_signal_children_recursive(current, broadcast);
+
+ current = current->next;
+ }
+ }
+
+ ags_portable_thread_signal_children(thread->children, broadcast);
+}
+
+void
+ags_portable_thread_real_start(AgsPortableThread *thread)
+{
+ AgsPortableThread *main_loop;
+ guint current_tic;
+ guint val;
+
+ if(thread == NULL){
+ return;
+ }
+
+ /* */
+ main_loop = ags_portable_thread_get_toplevel(thread);
+
+ ags_portable_thread_lock(main_loop);
+
+ current_tic = ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop));
+
+ g_atomic_int_or(&(thread->flags),
+ (AGS_PORTABLE_THREAD_RUNNING |
+ AGS_PORTABLE_THREAD_INITIAL_RUN));
+
+ ags_portable_thread_unlock(main_loop);
+
+ /* */
+ thread->thread = pth_spawn(thread->thread_attr,
+ &(ags_portable_thread_loop),
+ thread);
+
+ /* */
+ val = g_atomic_int_get(&(thread->flags));
+
+ if((AGS_PORTABLE_THREAD_TIMELOCK_RUN & val) != 0){
+ thread->timelock_thread = pth_spawn(NULL,
+ &(ags_portable_thread_timelock_loop),
+ thread);
+ }
+}
+
+/**
+ * ags_portable_thread_start:
+ * @thread the #AgsPortableThread instance
+ *
+ * Start the thread.
+ */
+void
+ags_portable_thread_start(AgsPortableThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[START], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void*
+ags_portable_thread_loop(void *ptr)
+{
+ AgsPortableThread *thread, *main_loop;
+ gboolean is_in_sync;
+ gboolean wait_for_parent, wait_for_sibling, wait_for_children;
+ guint current_tic;
+ guint val;
+
+ auto void ags_portable_thread_loop_sync(AgsPortableThread *thread);
+
+ void ags_portable_thread_loop_sync(AgsPortableThread *thread){
+ guint tic;
+
+ ags_portable_thread_lock(main_loop);
+
+ if(!ags_portable_thread_is_tree_ready(thread)){
+ g_atomic_int_or(&(thread->flags),
+ AGS_PORTABLE_THREAD_WAIT_0);
+
+ ags_portable_thread_unlock(main_loop);
+
+ if(thread != main_loop){
+ if(tic == 0 && current_tic == 2){
+ return;
+ }else if(tic == 1 && current_tic == 0){
+ return;
+ }else if(tic == 2 && current_tic == 1){
+ return;
+ }
+ }
+
+ while(!ags_portable_thread_is_current_ready(thread)){
+ pth_cond_await(&(thread->cond),
+ &(thread->mutex),
+ NULL);
+
+ tic = ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop));
+ }
+ }else{
+ guint next_tic;
+
+ tic = ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop));
+
+ ags_portable_thread_unlock(main_loop);
+
+ if(tic = 2){
+ next_tic = 0;
+ }else if(tic = 0){
+ next_tic = 1;
+ }else if(tic = 1){
+ next_tic = 2;
+ }
+
+ ags_main_loop_set_tic(AGS_MAIN_LOOP(main_loop), next_tic);
+ ags_portable_thread_main_loop_unlock_children(main_loop);
+ ags_main_loop_set_last_sync(AGS_MAIN_LOOP(main_loop), tic);
+ }
+ }
+
+ thread = AGS_PORTABLE_THREAD(ptr);
+ main_loop = ags_portable_thread_get_toplevel(thread);
+
+ current_tic = ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop));
+
+ while((AGS_PORTABLE_THREAD_RUNNING & (thread->flags)) != 0){
+
+ /* barrier */
+ if((AGS_PORTABLE_THREAD_WAITING_FOR_BARRIER & (thread->flags)) != 0){
+ int wait_count;
+
+ if(thread->first_barrier){
+ /* retrieve wait count */
+ ags_portable_thread_lock(thread);
+
+ wait_count = thread->wait_count[0];
+
+ ags_portable_thread_unlock(thread);
+
+ /* init and wait */
+ pth_barrier_init(&(thread->barrier[0]), wait_count);
+ pth_barrier_reach(&(thread->barrier[0]));
+ }else{
+ /* retrieve wait count */
+ ags_portable_thread_lock(thread);
+
+ wait_count = thread->wait_count[1];
+
+ ags_portable_thread_unlock(thread);
+
+ /* init and wait */
+ pth_barrier_init(&(thread->barrier[1]), wait_count);
+ pth_barrier_reach(&(thread->barrier[1]));
+ }
+ }
+
+ /* run in hierarchy */
+ ags_portable_thread_lock(thread);
+
+ ags_portable_thread_loop_sync(thread);
+
+ /* */
+ val = g_atomic_int_get(&(thread->flags));
+
+ if((AGS_PORTABLE_THREAD_TIMELOCK_RUN & val) != 0){
+ pth_mutex_acquire(&(thread->timelock_mutex),
+ FALSE,
+ NULL);
+
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_PORTABLE_THREAD_TIMELOCK_WAIT));
+
+ pth_cond_notify(&(thread->timelock_cond),
+ FALSE);
+
+ pth_mutex_release(&(thread->timelock_mutex));
+ }
+
+ /* */
+ switch(current_tic){
+ case 2:
+ {
+ current_tic = 0;
+ break;
+ }
+ case 1:
+ {
+ current_tic = 2;
+ break;
+ }
+ case 0:
+ {
+ current_tic = 1;
+ break;
+ }
+ }
+
+ /* set idle flag */
+ g_atomic_int_or(&(thread->flags),
+ AGS_PORTABLE_THREAD_IDLE);
+
+ if((AGS_PORTABLE_THREAD_WAIT_FOR_PARENT & (thread->flags)) != 0){
+ wait_for_parent = TRUE;
+
+ thread->flags |= AGS_PORTABLE_THREAD_WAITING_FOR_PARENT;
+ ags_portable_thread_lock_parent(thread, NULL);
+ }else{
+ wait_for_parent = FALSE;
+ }
+
+ /* lock sibling */
+ if((AGS_PORTABLE_THREAD_WAIT_FOR_SIBLING & (thread->flags)) != 0){
+ wait_for_sibling = TRUE;
+
+ thread->flags |= AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING;
+ ags_portable_thread_lock_sibling(thread);
+ }else{
+ wait_for_sibling = FALSE;
+ }
+
+ /* lock_children */
+ if((AGS_PORTABLE_THREAD_WAIT_FOR_CHILDREN & (thread->flags)) != 0){
+ wait_for_children = TRUE;
+
+ thread->flags |= AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN;
+ ags_portable_thread_lock_children(thread);
+ }else{
+ wait_for_children = FALSE;
+ }
+
+ /* skip very first sync of AgsAudioLoop */
+ if(!((AGS_PORTABLE_THREAD_INITIAL_RUN & (thread->flags)) != 0 &&
+ AGS_IS_AUDIO_LOOP(thread))){
+
+ /* wait parent */
+ if(wait_for_parent){
+ ags_portable_thread_wait_parent(thread, NULL);
+ }
+
+ /* wait sibling */
+ if(wait_for_sibling){
+ ags_portable_thread_wait_sibling(thread);
+ }
+
+ /* wait children */
+ if(wait_for_children){
+ ags_portable_thread_wait_children(thread);
+ }
+ }
+
+ ags_portable_thread_unlock(thread);
+
+ /* run */
+ ags_portable_thread_run(thread);
+
+ /**/
+ ags_portable_thread_lock(thread);
+
+ /* unset idle flag */
+ thread->flags &= (~AGS_PORTABLE_THREAD_IDLE);
+
+ /* unlock parent */
+ if(wait_for_parent){
+ ags_portable_thread_unlock_parent(thread, NULL);
+ }
+
+ /* unlock sibling */
+ if(wait_for_sibling){
+ ags_portable_thread_unlock_sibling(thread);
+ }
+
+ /* unlock children */
+ if(wait_for_children){
+ ags_portable_thread_unlock_children(thread);
+ }
+
+ /* unset initial run */
+ if((AGS_PORTABLE_THREAD_INITIAL_RUN & (thread->flags)) != 0){
+ thread->flags &= (~AGS_PORTABLE_THREAD_INITIAL_RUN);
+
+ /* signal AgsAudioLoop */
+ if(AGS_IS_TASK_THREAD(thread)){
+
+ thread->flags &= (~AGS_PORTABLE_THREAD_INITIAL_RUN);
+ pth_cond_notify(&(thread->start_cond),
+ FALSE);
+ }
+ }
+
+ ags_portable_thread_unlock(thread);
+ }
+
+ pth_exit(NULL);
+}
+
+/**
+ * ags_portable_thread_run:
+ * @thread the #AgsPortableThread instance
+ *
+ * Only for internal use of ags_portable_thread_loop but you may want to set the your very own
+ * class function namely your thread's routine.
+ */
+void
+ags_portable_thread_run(AgsPortableThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[RUN], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void*
+ags_portable_thread_timelock_loop(void *ptr)
+{
+ AgsPortableThread *thread;
+ guint val;
+
+ thread = AGS_PORTABLE_THREAD(ptr);
+
+ val = g_atomic_int_get(&(thread->flags));
+
+ while((AGS_PORTABLE_THREAD_RUNNING & (val)) != 0){
+ pth_mutex_acquire(&thread->timelock_mutex,
+ FALSE,
+ NULL);
+
+ val = g_atomic_int_get(&(thread->flags));
+
+ while((AGS_PORTABLE_THREAD_TIMELOCK_WAIT & (val)) != 0){
+ pth_cond_await(&(thread->timelock_cond),
+ &(thread->timelock_mutex),
+ pth_event(PTH_EVENT_TIME, pth_timeout(0, thread->timelock)));
+
+ val = g_atomic_int_get(&(thread->flags));
+ }
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_PORTABLE_THREAD_TIMELOCK_WAIT);
+
+ pth_mutex_release(&thread->timelock_mutex);
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_PORTABLE_THREAD_TIMELOCK_RESUME);
+
+ ags_portable_thread_timelock(thread);
+
+ val = g_atomic_int_get(&(thread->flags));
+ }
+}
+
+void
+ags_portable_thread_real_timelock(AgsPortableThread *thread)
+{
+ AgsPortableThread *main_loop;
+ int sig;
+ static sigset_t set;
+
+ ags_portable_thread_lock(thread);
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_PORTABLE_THREAD_TIMELOCK_RESUME);
+
+ pth_suspend(thread->thread);
+
+ main_loop = ags_portable_thread_get_toplevel(thread);
+
+ ags_portable_thread_lock(main_loop);
+
+ if(!ags_portable_thread_is_tree_ready(thread)){
+ g_atomic_int_or(&(thread->flags),
+ AGS_PORTABLE_THREAD_WAIT_0);
+
+ ags_portable_thread_unlock(main_loop);
+
+ while(!ags_portable_thread_is_current_ready(thread)){
+ pth_cond_await(&(thread->cond),
+ &(thread->mutex),
+ NULL);
+ }
+ }else{
+ guint tic, next_tic;
+
+ tic = ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop));
+
+ ags_portable_thread_unlock(main_loop);
+
+ if(tic = 2){
+ next_tic = 0;
+ }else if(tic = 0){
+ next_tic = 1;
+ }else if(tic = 1){
+ next_tic = 2;
+ }
+
+ ags_main_loop_set_tic(AGS_MAIN_LOOP(main_loop), next_tic);
+ ags_portable_thread_main_loop_unlock_children(main_loop);
+ ags_main_loop_set_last_sync(AGS_MAIN_LOOP(main_loop), tic);
+ }
+
+ pth_resume(thread->thread);
+
+ ags_portable_thread_unlock(thread);
+}
+
+void
+ags_portable_thread_timelock(AgsPortableThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[TIMELOCK], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void
+ags_portable_thread_real_stop(AgsPortableThread *thread)
+{
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_PORTABLE_THREAD_RUNNING));
+}
+
+/**
+ * ags_portable_thread_stop:
+ * @thread the #AgsPortableThread instance
+ *
+ * Stop the threads loop by unsetting AGS_PORTABLE_THREAD_RUNNING flag.
+ */
+void
+ags_portable_thread_stop(AgsPortableThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[STOP], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+/**
+ * ags_portable_thread_new:
+ * @data an #GObject
+ *
+ * Create a new #AgsPortableThread you may provide an #GObject as @data
+ * to your thread routine.
+ */
+AgsPortableThread*
+ags_portable_thread_new(GObject *data)
+{
+ AgsPortableThread *thread;
+
+ thread = (AgsPortableThread *) g_object_new(AGS_TYPE_PORTABLE_THREAD,
+ NULL);
+
+ thread->data = data;
+
+ return(thread);
+}
diff --git a/src/ags/thread/ags_portable_thread.h b/src/ags/thread/ags_portable_thread.h
new file mode 100644
index 0000000..c6743a9
--- /dev/null
+++ b/src/ags/thread/ags_portable_thread.h
@@ -0,0 +1,164 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_PORTABLE_THREAD_H__
+#define __AGS_PORTABLE_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define _GNU_SOURCE
+
+#include <pth.h>
+
+#define AGS_TYPE_PORTABLE_THREAD (ags_portable_thread_get_type())
+#define AGS_PORTABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD, AgsPortableThread))
+#define AGS_PORTABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD, AgsPortableThreadClass))
+#define AGS_IS_PORTABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD))
+#define AGS_IS_PORTABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD))
+#define AGS_PORTABLE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD, AgsPortableThreadClass))
+
+typedef struct _AgsPortableThread AgsPortableThread;
+typedef struct _AgsPortableThreadClass AgsPortableThreadClass;
+
+typedef enum{
+ AGS_PORTABLE_THREAD_RUNNING = 1,
+ AGS_PORTABLE_THREAD_IDLE = 1 << 1,
+ AGS_PORTABLE_THREAD_LOCKED = 1 << 2,
+ AGS_PORTABLE_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_PORTABLE_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_PORTABLE_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_PORTABLE_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_PORTABLE_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_PORTABLE_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_PORTABLE_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_PORTABLE_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_PORTABLE_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_PORTABLE_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_PORTABLE_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_PORTABLE_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_PORTABLE_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_PORTABLE_THREAD_WAIT_0 = 1 << 16,
+ AGS_PORTABLE_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_PORTABLE_THREAD_WAIT_1 = 1 << 18,
+ AGS_PORTABLE_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_PORTABLE_THREAD_WAIT_2 = 1 << 20,
+ AGS_PORTABLE_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_PORTABLE_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_PORTABLE_THREAD_TIMELOCK_RESUME = 1 << 23,
+}AgsPortableThreadFlags;
+
+struct _AgsPortableThread
+{
+ GObject object;
+
+ volatile guint flags;
+
+ pth_t thread;
+ pth_attr_t thread_attr;
+
+ pth_mutex_t mutex;
+ pth_cond_t cond;
+
+ pth_mutex_t start_mutex;
+ pth_cond_t start_cond;
+
+ pth_barrier_t barrier[2];
+ gboolean first_barrier;
+ int wait_count[2];
+
+ pth_t timelock_thread;
+ pth_mutex_t timelock_mutex;
+ pth_cond_t timelock_cond;
+
+ long timelock;
+
+ GObject *devout;
+ AgsPortableThread *parent;
+
+ AgsPortableThread *next;
+ AgsPortableThread *prev;
+
+ AgsPortableThread *children;
+
+ GObject *data;
+};
+
+struct _AgsPortableThreadClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsPortableThread *thread);
+ void (*run)(AgsPortableThread *thread);
+ void (*timelock)(AgsPortableThread *thread);
+ void (*stop)(AgsPortableThread *thread);
+};
+
+GType ags_portable_thread_get_type();
+
+void ags_portable_thread_lock(AgsPortableThread *thread);
+gboolean ags_portable_thread_trylock(AgsPortableThread *thread);
+void ags_portable_thread_unlock(AgsPortableThread *thread);
+
+AgsPortableThread* ags_portable_thread_get_toplevel(AgsPortableThread *thread);
+AgsPortableThread* ags_portable_thread_first(AgsPortableThread *thread);
+AgsPortableThread* ags_portable_thread_last(AgsPortableThread *thread);
+
+void ags_portable_thread_remove_child(AgsPortableThread *thread, AgsPortableThread *child);
+void ags_portable_thread_add_child(AgsPortableThread *thread, AgsPortableThread *child);
+
+gboolean ags_portable_thread_parental_is_locked(AgsPortableThread *thread, AgsPortableThread *parent);
+gboolean ags_portable_thread_sibling_is_locked(AgsPortableThread *thread);
+gboolean ags_portable_thread_children_is_locked(AgsPortableThread *thread);
+
+gboolean ags_portable_thread_is_current_ready(AgsPortableThread *current);
+gboolean ags_portable_thread_is_current_synced(AgsPortableThread *current);
+gboolean ags_portable_thread_is_tree_ready(AgsPortableThread *thread);
+gboolean ags_portable_thread_is_tree_synced(AgsPortableThread *thread);
+void ags_portable_thread_main_loop_unlock_children(AgsPortableThread *thread);
+
+AgsPortableThread* ags_portable_thread_next_parent_locked(AgsPortableThread *thread, AgsPortableThread *parent);
+AgsPortableThread* ags_portable_thread_next_sibling_locked(AgsPortableThread *thread);
+AgsPortableThread* ags_portable_thread_next_children_locked(AgsPortableThread *thread);
+
+void ags_portable_thread_lock_parent(AgsPortableThread *thread, AgsPortableThread *parent);
+void ags_portable_thread_lock_sibling(AgsPortableThread *thread);
+void ags_portable_thread_lock_children(AgsPortableThread *thread);
+void ags_portable_thread_lock_all(AgsPortableThread *thread);
+
+void ags_portable_thread_unlock_parent(AgsPortableThread *thread, AgsPortableThread *parent);
+void ags_portable_thread_unlock_sibling(AgsPortableThread *thread);
+void ags_portable_thread_unlock_children(AgsPortableThread *thread);
+void ags_portable_thread_unlock_all(AgsPortableThread *thread);
+
+void ags_portable_thread_wait_parent(AgsPortableThread *thread, AgsPortableThread *parent);
+void ags_portable_thread_wait_sibling(AgsPortableThread *thread);
+void ags_portable_thread_wait_children(AgsPortableThread *thread);
+
+void ags_portable_thread_signal_parent(AgsPortableThread *thread, AgsPortableThread *parent, gboolean broadcast);
+void ags_portable_thread_signal_sibling(AgsPortableThread *thread, gboolean broadcast);
+void ags_portable_thread_signal_children(AgsPortableThread *thread, gboolean broadcast);
+
+void ags_portable_thread_start(AgsPortableThread *thread);
+void ags_portable_thread_run(AgsPortableThread *thread);
+void ags_portable_thread_timelock(AgsPortableThread *thread);
+void ags_portable_thread_stop(AgsPortableThread *thread);
+
+AgsPortableThread* ags_portable_thread_new(GObject *data);
+
+#endif /*__AGS_PORTABLE_THREAD_H__*/
diff --git a/src/ags/thread/ags_record_thread.c b/src/ags/thread/ags_record_thread.c
new file mode 100644
index 0000000..14dddfb
--- /dev/null
+++ b/src/ags/thread/ags_record_thread.c
@@ -0,0 +1,289 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_record_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_record_thread_class_init(AgsRecordThreadClass *record_thread);
+void ags_record_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_record_thread_init(AgsRecordThread *record_thread);
+void ags_record_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_record_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_record_thread_connect(AgsConnectable *connectable);
+void ags_record_thread_disconnect(AgsConnectable *connectable);
+void ags_record_thread_finalize(GObject *gobject);
+
+void ags_record_thread_start(AgsThread *thread);
+void ags_record_thread_run(AgsThread *thread);
+void ags_record_thread_stop(AgsThread *thread);
+
+enum{
+ PROP_0,
+ PROP_REGISTRY,
+};
+
+static gpointer ags_record_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_record_thread_parent_connectable_interface;
+
+GType
+ags_record_thread_get_type()
+{
+ static GType ags_type_record_thread = 0;
+
+ if(!ags_type_record_thread){
+ static const GTypeInfo ags_record_thread_info = {
+ sizeof (AgsRecordThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_record_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecordThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_record_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_record_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_record_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsRecordThread\0",
+ &ags_record_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_record_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_record_thread);
+}
+
+void
+ags_record_thread_class_init(AgsRecordThreadClass *record_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+ GParamSpec *param_spec;
+
+ ags_record_thread_parent_class = g_type_class_peek_parent(record_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) record_thread;
+
+ gobject->get_property = ags_record_thread_get_property;
+ gobject->set_property = ags_record_thread_set_property;
+
+ gobject->finalize = ags_record_thread_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("registry\0",
+ "registry to check against\0",
+ "The registry to check against serialization.\0",
+ AGS_TYPE_REGISTRY,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_REGISTRY,
+ param_spec);
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) record_thread;
+
+ thread->start = ags_record_thread_start;
+ thread->run = ags_record_thread_run;
+ thread->stop = ags_record_thread_stop;
+}
+
+void
+ags_record_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_record_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_record_thread_connect;
+ connectable->disconnect = ags_record_thread_disconnect;
+}
+
+void
+ags_record_thread_init(AgsRecordThread *record_thread)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(record_thread);
+
+ record_thread->registry = NULL;
+
+ record_thread->delay = AGS_RECORD_THREAD_DEFAULT_DELAY;
+ record_thread->counter = 0;
+}
+
+void
+ags_record_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecordThread *record_thread;
+
+ record_thread = AGS_RECORD_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_REGISTRY:
+ {
+ AgsRegistry *registry;
+
+ registry = g_value_get_object(value);
+
+ if(record_thread->registry == registry){
+ return;
+ }
+
+ if(record_thread->registry != NULL){
+ g_object_unref(record_thread->registry);
+ }
+
+ if(registry != NULL){
+ g_object_ref(registry);
+ }
+
+ record_thread->registry = registry;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_record_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecordThread *record_thread;
+
+ record_thread = AGS_RECORD_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_REGISTRY:
+ {
+ g_value_set_object(value, record_thread->registry);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_record_thread_connect(AgsConnectable *connectable)
+{
+ ags_record_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_record_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_record_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_record_thread_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_record_thread_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_record_thread_start(AgsThread *thread)
+{
+ //TODO:JK: implement me
+
+ AGS_THREAD_CLASS(ags_record_thread_parent_class)->start(thread);
+}
+
+void
+ags_record_thread_run(AgsThread *thread)
+{
+ AgsRecordThread *record_thread;
+
+ record_thread = AGS_RECORD_THREAD(thread);
+
+ if(record_thread->counter != record_thread->delay){
+ record_thread->counter += 1;
+ }else{
+ record_thread->counter = 0;
+
+ if((AGS_REGISTRY_DIRTY & (record_thread->registry->flags)) != 0){
+ AgsFile *next_file, *current_file;
+
+ current_file = record_thread->registry->current;
+ next_file = ags_file_new(current_file->filename);
+
+ pthread_mutex_lock(&(record_thread->registry->mutex));
+
+ g_object_unref(record_thread->registry->previous);
+
+ record_thread->registry->previous = current_file;
+ record_thread->registry->current = next_file;
+
+ pthread_mutex_unlock(&(record_thread->registry->mutex));
+
+ ags_file_write(current_file);
+
+ record_thread->registry->flags &= (~AGS_REGISTRY_DIRTY);
+ }
+ }
+}
+
+void
+ags_record_thread_stop(AgsThread *thread)
+{
+ //TODO:JK: implement me
+}
+
+AgsRecordThread*
+ags_record_thread_new(GObject *devout, AgsRegistry *registry)
+{
+ AgsRecordThread *record_thread;
+
+ record_thread = (AgsRecordThread *) g_object_new(AGS_TYPE_RECORD_THREAD,
+ "devout\0", devout,
+ "registry\0", registry,
+ NULL);
+
+ return(record_thread);
+}
diff --git a/src/ags/thread/ags_record_thread.h b/src/ags/thread/ags_record_thread.h
new file mode 100644
index 0000000..992dfce
--- /dev/null
+++ b/src/ags/thread/ags_record_thread.h
@@ -0,0 +1,64 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECORD_THREAD_H__
+#define __AGS_RECORD_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/server/ags_registry.h>
+
+#define AGS_TYPE_RECORD_THREAD (ags_record_thread_get_type())
+#define AGS_RECORD_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECORD_THREAD, AgsRecordThread))
+#define AGS_RECORD_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RECORD_THREAD, AgsRecordThreadClass))
+#define AGS_IS_RECORD_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECORD_THREAD))
+#define AGS_IS_RECORD_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECORD_THREAD))
+#define AGS_RECORD_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RECORD_THREAD, AgsRecordThreadClass))
+
+#define AGS_RECORD_THREAD_DEFAULT_DELAY (128)
+
+typedef struct _AgsRecordThread AgsRecordThread;
+typedef struct _AgsRecordThreadClass AgsRecordThreadClass;
+
+struct _AgsRecordThread
+{
+ AgsThread thread;
+
+ AgsRegistry *registry;
+
+ guint delay;
+ guint counter;
+};
+
+struct _AgsRecordThreadClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_record_thread_get_type();
+
+AgsRecordThread* ags_record_thread_new(GObject *devout, AgsRegistry *registry);
+
+#endif /*__AGS_RECORD_THREAD_H__*/
diff --git a/src/ags/thread/ags_recycling_thread.c b/src/ags/thread/ags_recycling_thread.c
new file mode 100644
index 0000000..ab0162f
--- /dev/null
+++ b/src/ags/thread/ags_recycling_thread.c
@@ -0,0 +1,427 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_recycling_thread.h>
+
+#include <ags/object/ags_marshal.h>
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_iterator_thread.h>
+
+#include <ags/audio/ags_devout.h>
+#include <ags/audio/ags_audio.h>
+#include <ags/audio/ags_output.h>
+#include <ags/audio/ags_channel.h>
+#include <ags/audio/ags_recycling.h>
+#include <ags/audio/ags_recall_id.h>
+
+#include <math.h>
+
+void ags_recycling_thread_class_init(AgsRecyclingThreadClass *recycling_thread);
+void ags_recycling_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_recycling_thread_init(AgsRecyclingThread *recycling_thread);
+void ags_recycling_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_recycling_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_recycling_thread_connect(AgsConnectable *connectable);
+void ags_recycling_thread_disconnect(AgsConnectable *connectable);
+void ags_recycling_thread_finalize(GObject *gobject);
+
+void ags_recycling_thread_start(AgsThread *thread);
+
+void ags_recycling_thread_real_play_channel(AgsRecyclingThread *recycling_thread,
+ GObject *channel,
+ AgsRecallID *recall_id,
+ gint stage);
+void ags_recycling_thread_real_play_audio(AgsRecyclingThread *recycling_thread,
+ GObject *output, GObject *audio,
+ AgsRecallID *recall_id,
+ gint stage);
+
+void ags_recycling_thread_fifo(AgsRecyclingThread *thread);
+
+enum{
+ PROP_0,
+ PROP_ITERATOR_THREAD,
+};
+
+enum{
+ PLAY_AUDIO,
+ PLAY_CHANNEL,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_recycling_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_recycling_thread_parent_connectable_interface;
+
+static guint recycling_thread_signals[LAST_SIGNAL];
+
+GType
+ags_recycling_thread_get_type()
+{
+ static GType ags_type_recycling_thread = 0;
+
+ if(!ags_type_recycling_thread){
+ static const GTypeInfo ags_recycling_thread_info = {
+ sizeof (AgsRecyclingThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_recycling_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsRecyclingThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_recycling_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_recycling_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_recycling_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsRecyclingThread\0",
+ &ags_recycling_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_recycling_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_recycling_thread);
+}
+
+void
+ags_recycling_thread_class_init(AgsRecyclingThreadClass *recycling_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+ GParamSpec *param_spec;
+
+ ags_recycling_thread_parent_class = g_type_class_peek_parent(recycling_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) recycling_thread;
+
+ gobject->set_property = ags_recycling_thread_set_property;
+ gobject->get_property = ags_recycling_thread_get_property;
+
+ gobject->finalize = ags_recycling_thread_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("iterator_thread\0",
+ "assigned iterator thread\0",
+ "The iterator thread object it is assigned to\0",
+ AGS_TYPE_ITERATOR_THREAD,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_ITERATOR_THREAD,
+ param_spec);
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) recycling_thread;
+
+ thread->start = ags_recycling_thread_start;
+
+ /* AgsRecyclingThread */
+ recycling_thread->play_channel = ags_recycling_thread_play_channel;
+ recycling_thread->play_audio = ags_recycling_thread_play_audio;
+
+ /* signals */
+ recycling_thread_signals[PLAY_CHANNEL] =
+ g_signal_new("play_channel\0",
+ G_TYPE_FROM_CLASS(recycling_thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsRecyclingThreadClass, play_channel),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_INT_BOOLEAN,
+ G_TYPE_NONE, 5,
+ G_TYPE_OBJECT,
+ G_TYPE_OBJECT,
+ G_TYPE_OBJECT,
+ G_TYPE_INT, G_TYPE_BOOLEAN);
+
+ recycling_thread_signals[PLAY_AUDIO] =
+ g_signal_new("play_audio\0",
+ G_TYPE_FROM_CLASS(recycling_thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET(AgsRecyclingThreadClass, play_audio),
+ NULL, NULL,
+ g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_OBJECT_UINT_INT_BOOLEAN,
+ G_TYPE_NONE, 9,
+ G_TYPE_OBJECT,
+ G_TYPE_OBJECT, G_TYPE_OBJECT,
+ G_TYPE_OBJECT, G_TYPE_OBJECT,
+ G_TYPE_OBJECT, G_TYPE_UINT,
+ G_TYPE_INT, G_TYPE_BOOLEAN);
+}
+
+void
+ags_recycling_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_recycling_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_recycling_thread_connect;
+ connectable->disconnect = ags_recycling_thread_disconnect;
+}
+
+void
+ags_recycling_thread_init(AgsRecyclingThread *recycling_thread)
+{
+ recycling_thread->flags = 0;
+
+ recycling_thread->iterator_thread = NULL;
+
+ pthread_mutex_init(&(recycling_thread->iteration_mutex), NULL);
+ pthread_cond_init(&(recycling_thread->iteration_cond), NULL);
+}
+
+
+void
+ags_recycling_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecyclingThread *recycling_thread;
+
+ recycling_thread = AGS_RECYCLING_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_ITERATOR_THREAD:
+ {
+ AgsThread *iterator_thread;
+
+ iterator_thread = (AgsThread *) g_value_get_object(value);
+
+ if(recycling_thread->iterator_thread == iterator_thread)
+ return;
+
+ if(recycling_thread->iterator_thread != NULL)
+ g_object_unref(recycling_thread->iterator_thread);
+
+ if(iterator_thread != NULL)
+ g_object_ref(iterator_thread);
+
+ recycling_thread->iterator_thread = iterator_thread;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recycling_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRecyclingThread *recycling_thread;
+
+ recycling_thread = AGS_RECYCLING_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_ITERATOR_THREAD:
+ g_value_set_object(value, recycling_thread->iterator_thread);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_recycling_thread_connect(AgsConnectable *connectable)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(connectable);
+
+ ags_recycling_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recycling_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_recycling_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_recycling_thread_finalize(GObject *gobject)
+{
+ AgsRecyclingThread *recycling_thread;
+
+ recycling_thread = AGS_RECYCLING_THREAD(gobject);
+
+ /* */
+ G_OBJECT_CLASS(ags_recycling_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_recycling_thread_start(AgsThread *thread)
+{
+ AGS_THREAD_CLASS(ags_recycling_thread_parent_class)->start(thread);
+}
+
+void
+ags_recycling_thread_real_play_channel(AgsRecyclingThread *recycling_thread,
+ GObject *channel,
+ AgsRecallID *recall_id,
+ gint stage)
+{
+ while((AGS_RECYCLING_THREAD_RUNNING & (recycling_thread->flags)) != 0){
+ ags_recycling_thread_fifo(recycling_thread);
+
+ ags_channel_play(AGS_CHANNEL(channel),
+ recall_id,
+ stage);
+ }
+}
+
+void
+ags_recycling_thread_play_channel(AgsRecyclingThread *recycling_thread,
+ GObject *channel,
+ AgsRecallID *recall_id,
+ gint stage)
+{
+ g_return_if_fail(AGS_IS_RECYCLING_THREAD(recycling_thread));
+ g_return_if_fail(AGS_IS_CHANNEL(channel));
+
+ g_object_ref((GObject *) recycling_thread);
+ g_signal_emit(G_OBJECT(recycling_thread),
+ recycling_thread_signals[PLAY_CHANNEL], 0,
+ channel,
+ recall_id,
+ stage);
+ g_object_unref((GObject *) recycling_thread);
+}
+
+void
+ags_recycling_thread_real_play_audio(AgsRecyclingThread *recycling_thread,
+ GObject *output, GObject *audio,
+ AgsRecallID *recall_id,
+ gint stage)
+{
+ AgsChannel *input;
+ if((AGS_AUDIO_ASYNC & (AGS_AUDIO(audio)->flags)) != 0){
+ input = ags_channel_nth(AGS_AUDIO(audio)->input,
+ AGS_CHANNEL(output)->audio_channel);
+ }else{
+ input = ags_channel_nth(AGS_AUDIO(audio)->input,
+ AGS_CHANNEL(output)->line);
+ }
+
+ while((AGS_RECYCLING_THREAD_RUNNING & (recycling_thread->flags)) != 0){
+ ags_recycling_thread_fifo(recycling_thread);
+
+ if((AGS_AUDIO_OUTPUT_HAS_RECYCLING & (AGS_AUDIO(audio)->flags)) != 0){
+ AgsRecallID *input_recall_id;
+ gint child_position;
+
+ /* input_recall_id - check if there is a new recycling */
+ child_position = ags_recycling_container_find_child(recall_id->recycling_container,
+ input->first_recycling);
+
+ if(child_position == -1){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ recall_id->recycling_container);
+ }else{
+ GList *list;
+
+ list = g_list_nth(recall_id->recycling_container->children,
+ child_position);
+
+ if(list != NULL){
+ input_recall_id = ags_recall_id_find_recycling_container(input->recall_id,
+ AGS_RECYCLING_CONTAINER(list->data));
+ }else{
+ input_recall_id = NULL;
+ }
+ }
+
+ ags_audio_play(AGS_AUDIO(audio),
+ input_recall_id,
+ stage);
+ }
+
+ ags_audio_play(AGS_AUDIO(audio),
+ recall_id,
+ stage);
+ }
+}
+
+void
+ags_recycling_thread_play_audio(AgsRecyclingThread *recycling_thread,
+ GObject *output, GObject *audio,
+ AgsRecallID *recall_id,
+ gint stage)
+{
+ g_return_if_fail(AGS_IS_RECYCLING_THREAD(recycling_thread));
+ g_return_if_fail(AGS_IS_AUDIO(audio));
+ g_return_if_fail(AGS_IS_CHANNEL(output));
+
+ g_object_ref((GObject *) recycling_thread);
+ g_signal_emit(G_OBJECT(recycling_thread),
+ recycling_thread_signals[PLAY_CHANNEL], 0,
+ output, audio,
+ recall_id,
+ stage);
+ g_object_unref((GObject *) recycling_thread);
+}
+
+void
+ags_recycling_thread_fifo(AgsRecyclingThread *recycling_thread)
+{
+ pthread_mutex_lock(&(recycling_thread->iteration_mutex));
+
+ recycling_thread->flags |= AGS_RECYCLING_THREAD_WAIT;
+
+ while((AGS_RECYCLING_THREAD_WAIT & (recycling_thread->flags)) != 0 &&
+ (AGS_RECYCLING_THREAD_DONE & (recycling_thread->flags)) == 0){
+ pthread_cond_wait(&(recycling_thread->iteration_cond),
+ &(recycling_thread->iteration_mutex));
+ }
+
+ recycling_thread->flags &= (~AGS_RECYCLING_THREAD_WAIT);
+
+ pthread_mutex_unlock(&(recycling_thread->iteration_mutex));
+}
+
+AgsRecyclingThread*
+ags_recycling_thread_new()
+{
+ AgsRecyclingThread *recycling_thread;
+
+ recycling_thread = (AgsRecyclingThread *) g_object_new(AGS_TYPE_RECYCLING_THREAD,
+ NULL);
+
+ return(recycling_thread);
+}
diff --git a/src/ags/thread/ags_recycling_thread.h b/src/ags/thread/ags_recycling_thread.h
new file mode 100644
index 0000000..517b988
--- /dev/null
+++ b/src/ags/thread/ags_recycling_thread.h
@@ -0,0 +1,92 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RECYCLING_THREAD_H__
+#define __AGS_RECYCLING_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/audio/ags_recall_id.h>
+
+#define AGS_TYPE_RECYCLING_THREAD (ags_recycling_thread_get_type())
+#define AGS_RECYCLING_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECYCLING_THREAD, AgsRecyclingThread))
+#define AGS_RECYCLING_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RECYCLING_THREAD, AgsRecyclingThread))
+#define AGS_IS_RECYCLING_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECYCLING_THREAD))
+#define AGS_IS_RECYCLING_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RECYCLING_THREAD))
+#define AGS_RECYCLING_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RECYCLING_THREAD, AgsRecyclingThreadClass))
+
+#define AGS_RECYCLING_THREAD_DEFAULT_JIFFIE (100)
+
+typedef struct _AgsRecyclingThread AgsRecyclingThread;
+typedef struct _AgsRecyclingThreadClass AgsRecyclingThreadClass;
+
+typedef enum{
+ AGS_RECYCLING_THREAD_RUNNING = 1,
+ AGS_RECYCLING_THREAD_WAIT = 1 << 1,
+ AGS_RECYCLING_THREAD_DONE = 1 << 2,
+}AgsRecyclingThreadFlags;
+
+struct _AgsRecyclingThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ AgsThread *iterator_thread;
+
+ pthread_mutex_t iteration_mutex;
+ pthread_cond_t iteration_cond;
+};
+
+struct _AgsRecyclingThreadClass
+{
+ AgsThreadClass thread;
+
+ void (*play_channel)(AgsRecyclingThread *recycling_thread,
+ GObject *channel,
+ AgsRecallID *recall_id,
+ gint stage);
+
+ void (*play_audio)(AgsRecyclingThread *recycling_thread,
+ GObject *output, GObject *audio,
+ AgsRecallID *recall_id,
+ gint stage);
+};
+
+GType ags_recycling_thread_get_type();
+
+void ags_recycling_thread_play_channel(AgsRecyclingThread *recycling_thread,
+ GObject *channel,
+ AgsRecallID *recall_id,
+ gint stage);
+
+void ags_recycling_thread_play_audio(AgsRecyclingThread *recycling_thread,
+ GObject *output, GObject *audio,
+ AgsRecallID *recall_id,
+ gint stage);
+
+AgsRecyclingThread* ags_recycling_thread_new();
+
+#endif /*__AGS_RECYCLING_THREAD_H__*/
diff --git a/src/ags/thread/ags_recycling_thread_callbacks.c b/src/ags/thread/ags_recycling_thread_callbacks.c
new file mode 100644
index 0000000..aae5546
--- /dev/null
+++ b/src/ags/thread/ags_recycling_thread_callbacks.c
@@ -0,0 +1,24 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#include <ags/thread/ags_recycling_thread_callbacks.h>
+
+void
+ags_recycling_thread_iterate_callback(AgsRecyclingThread *thread, gpointer user_data)
+{
+
+}
diff --git a/src/ags/thread/ags_recycling_thread_callbacks.h b/src/ags/thread/ags_recycling_thread_callbacks.h
new file mode 100644
index 0000000..db32b4b
--- /dev/null
+++ b/src/ags/thread/ags_recycling_thread_callbacks.h
@@ -0,0 +1,28 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#ifndef __AGS_RECYCLING_THREAD_CALLBACKS_H__
+#define __AGS_RECYCLING_THREAD_CALLBACKS_H__
+
+#include <glib-object.h>
+
+#include <ags/thread/ags_recycling_thread.h>
+
+void ags_recycling_thread_iterate_callback(AgsRecyclingThread *thread,
+ gpointer user_data);
+
+#endif /* __AGS_RECYCLING_THREAD_CALLBACKS_H__ */
diff --git a/src/ags/thread/ags_returnable_thread.c b/src/ags/thread/ags_returnable_thread.c
new file mode 100644
index 0000000..71cf726
--- /dev/null
+++ b/src/ags/thread/ags_returnable_thread.c
@@ -0,0 +1,328 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_returnable_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_thread_pool.h>
+
+#include <pthread.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <errno.h>
+
+void ags_returnable_thread_class_init(AgsReturnableThreadClass *returnable_thread);
+void ags_returnable_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_returnable_thread_init(AgsReturnableThread *returnable_thread);
+void ags_returnable_thread_connect(AgsConnectable *connectable);
+void ags_returnable_thread_disconnect(AgsConnectable *connectable);
+void ags_returnable_thread_finalize(GObject *gobject);
+
+void ags_returnable_thread_start(AgsThread *thread);
+void ags_returnable_thread_run(AgsThread *thread);
+void ags_returnable_thread_resume(AgsThread *thread);
+
+/**
+ * SECTION:ags_returnable_thread
+ * @short_description: returnable thread
+ * @title: AgsReturnableThread
+ * @section_id:
+ * @include: ags/thread/ags_returnable_thread.h
+ *
+ * The #AgsReturnableThread acts as thread. It should return after a short
+ * while because of limited thread pool.
+ */
+
+enum{
+ SAFE_RUN,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_returnable_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_returnable_thread_parent_connectable_interface;
+static guint returnable_thread_signals[LAST_SIGNAL];
+
+GType
+ags_returnable_thread_get_type()
+{
+ static GType ags_type_returnable_thread = 0;
+
+ if(!ags_type_returnable_thread){
+ static const GTypeInfo ags_returnable_thread_info = {
+ sizeof (AgsReturnableThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_returnable_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsReturnableThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_returnable_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_returnable_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_returnable_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsReturnableThread\0",
+ &ags_returnable_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_returnable_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_returnable_thread);
+}
+
+void
+ags_returnable_thread_class_init(AgsReturnableThreadClass *returnable_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+
+ ags_returnable_thread_parent_class = g_type_class_peek_parent(returnable_thread);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) returnable_thread;
+
+ gobject->finalize = ags_returnable_thread_finalize;
+
+ /* AgsThreadClass */
+ thread = (AgsThread *) returnable_thread;
+
+ thread->start = ags_returnable_thread_start;
+ thread->run = ags_returnable_thread_run;
+ thread->resume = ags_returnable_thread_resume;
+
+ /* AgsReturnableThreadClass */
+ returnable_thread->safe_run = NULL;
+
+ /* signals */
+ returnable_thread_signals[SAFE_RUN] =
+ g_signal_new("safe-run\0",
+ G_TYPE_FROM_CLASS (returnable_thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsReturnableThreadClass, safe_run),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+}
+
+void
+ags_returnable_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_returnable_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_returnable_thread_connect;
+ connectable->disconnect = ags_returnable_thread_disconnect;
+}
+
+void
+ags_returnable_thread_init(AgsReturnableThread *returnable_thread)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(returnable_thread);
+
+ pthread_attr_setdetachstate(&(thread->thread_attr),
+ PTHREAD_CREATE_DETACHED);
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_UNREF_ON_EXIT);
+
+ thread->freq = AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE;
+
+ g_atomic_int_set(&(returnable_thread->flags),
+ 0);
+ pthread_mutex_init(&(returnable_thread->reset_mutex), NULL);
+ g_atomic_pointer_set(&(returnable_thread->safe_data),
+ NULL);
+}
+
+void
+ags_returnable_thread_connect(AgsConnectable *connectable)
+{
+ ags_returnable_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_returnable_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_returnable_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_returnable_thread_finalize(GObject *gobject)
+{
+ pthread_mutex_destroy(&(AGS_RETURNABLE_THREAD(gobject)->reset_mutex));
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_returnable_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_returnable_thread_start(AgsThread *thread)
+{
+ AGS_THREAD_CLASS(ags_returnable_thread_parent_class)->start(thread);
+}
+
+void
+ags_returnable_thread_run(AgsThread *thread)
+{
+ AgsReturnableThread *returnable_thread;
+ AgsThreadPool *thread_pool;
+ GList *tmplist;
+
+ // g_message("reset:0\0");
+
+ /* retrieve some variables */
+ returnable_thread = AGS_RETURNABLE_THREAD(thread);
+ thread_pool = returnable_thread->thread_pool;
+
+ if((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) != 0){
+#ifdef AGS_DEBUG
+ g_message("returnable thread initial\0");
+#endif
+
+ return;
+ }
+
+ /* safe run */
+ pthread_mutex_lock(&(returnable_thread->reset_mutex));
+
+ if((AGS_RETURNABLE_THREAD_IN_USE & (g_atomic_int_get(&(returnable_thread->flags)))) != 0){
+
+ ags_returnable_thread_safe_run(returnable_thread);
+
+ pthread_mutex_unlock(&(returnable_thread->reset_mutex));
+
+ /* release thread in thread pool */
+ pthread_mutex_lock(&(thread_pool->pull_mutex));
+
+ tmplist = g_atomic_pointer_get(&(thread_pool->running_thread));
+ g_atomic_pointer_set(&(thread_pool->running_thread),
+ g_list_remove(tmplist,
+ thread));
+
+ ags_returnable_thread_disconnect(returnable_thread);
+ g_atomic_int_and(&(returnable_thread->flags),
+ (~AGS_RETURNABLE_THREAD_IN_USE));
+
+ pthread_mutex_unlock(&(thread_pool->pull_mutex));
+
+ pthread_mutex_lock(&(thread_pool->return_mutex));
+
+ g_atomic_int_dec_and_test(&(thread_pool->n_threads));
+ // ags_thread_remove_child(thread->parent,
+ // thread);
+
+ g_atomic_int_and(&(AGS_THREAD(returnable_thread)->flags),
+ (~AGS_THREAD_RUNNING));
+
+ if(g_atomic_int_get(&(thread_pool->queued)) > 0){
+ pthread_cond_signal(&(thread_pool->return_cond));
+ }
+
+ pthread_mutex_unlock(&(thread_pool->return_mutex));
+ }else{
+ pthread_mutex_unlock(&(returnable_thread->reset_mutex));
+ }
+}
+
+void
+ags_returnable_thread_safe_run(AgsReturnableThread *returnable_thread)
+{
+ g_return_if_fail(AGS_IS_RETURNABLE_THREAD(returnable_thread));
+
+ g_object_ref(G_OBJECT(returnable_thread));
+ g_signal_emit(G_OBJECT(returnable_thread),
+ returnable_thread_signals[SAFE_RUN], 0);
+ g_object_unref(G_OBJECT(returnable_thread));
+}
+
+void
+ags_returnable_thread_resume(AgsThread *thread)
+{
+ /* empty */
+}
+
+/**
+ * ags_returnable_thread_connect_safe_run:
+ * @returnable_thread: the thread to connect
+ * @callback: the callback
+ *
+ * Connects @callback to @thread.
+ *
+ * Since: 0.4
+ */
+void
+ags_returnable_thread_connect_safe_run(AgsReturnableThread *returnable_thread, AgsReturnableThreadCallback callback)
+{
+ returnable_thread->handler = g_signal_connect(G_OBJECT(returnable_thread), "safe-run\0",
+ G_CALLBACK(callback), returnable_thread);
+}
+
+/**
+ * ags_returnable_thread_disconnect_safe_run:
+ * @returnable_thread: the thread to disconnect
+ *
+ * Disconnects callback of @thread.
+ *
+ * Since: 0.4
+ */
+void
+ags_returnable_thread_disconnect_safe_run(AgsReturnableThread *returnable_thread)
+{
+ g_signal_handler_disconnect(G_OBJECT(returnable_thread),
+ returnable_thread->handler);
+}
+
+/**
+ * ags_returnable_thread_new:
+ * @thread_pool: the #AgsThreadPool
+ *
+ * Create a new #AgsReturnableThread.
+ *
+ * Returns: the new #AgsReturnableThread
+ *
+ * Since: 0.4
+ */
+AgsReturnableThread*
+ags_returnable_thread_new(GObject *thread_pool)
+{
+ AgsReturnableThread *returnable_thread;
+
+ returnable_thread = (AgsReturnableThread *) g_object_new(AGS_TYPE_RETURNABLE_THREAD,
+ NULL);
+
+ returnable_thread->thread_pool = thread_pool;
+
+ return(returnable_thread);
+}
diff --git a/src/ags/thread/ags_returnable_thread.h b/src/ags/thread/ags_returnable_thread.h
new file mode 100644
index 0000000..22a8ee0
--- /dev/null
+++ b/src/ags/thread/ags_returnable_thread.h
@@ -0,0 +1,80 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RETURNABLE_THREAD_H__
+#define __AGS_RETURNABLE_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#define AGS_TYPE_RETURNABLE_THREAD (ags_returnable_thread_get_type())
+#define AGS_RETURNABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThread))
+#define AGS_RETURNABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThreadClass))
+#define AGS_IS_RETURNABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RETURNABLE_THREAD))
+#define AGS_IS_RETURNABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RETURNABLE_THREAD))
+#define AGS_RETURNABLE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThreadClass))
+
+#define AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE (1000)
+
+typedef struct _AgsReturnableThread AgsReturnableThread;
+typedef struct _AgsReturnableThreadClass AgsReturnableThreadClass;
+
+typedef void (*AgsReturnableThreadCallback)(AgsReturnableThread *returnable_thread, gpointer data);
+
+typedef enum{
+ AGS_RETURNABLE_THREAD_IN_USE = 1,
+ AGS_RETURNABLE_THREAD_RESET = 1 << 1,
+}AgsReturnableThreadFlags;
+
+struct _AgsReturnableThread
+{
+ AgsThread thread;
+
+ volatile guint flags;
+
+ GObject *thread_pool;
+
+ pthread_mutex_t reset_mutex;
+ volatile void *safe_data;
+
+ gulong handler;
+};
+
+struct _AgsReturnableThreadClass
+{
+ AgsThreadClass thread;
+
+ void (*safe_run)(AgsReturnableThread *returnable_thread);
+};
+
+GType ags_returnable_thread_get_type();
+
+void ags_returnable_thread_safe_run(AgsReturnableThread *returnable_thread);
+
+void ags_returnable_thread_connect_safe_run(AgsReturnableThread *returnable_thread, AgsReturnableThreadCallback callback);
+void ags_returnable_thread_disconnect_safe_run(AgsReturnableThread *returnable_thread);
+
+AgsReturnableThread* ags_returnable_thread_new(GObject *thread_pool);
+
+#endif /*__AGS_RETURNABLE_THREAD_H__*/
diff --git a/src/ags/thread/ags_single_thread.c b/src/ags/thread/ags_single_thread.c
new file mode 100644
index 0000000..acb6523
--- /dev/null
+++ b/src/ags/thread/ags_single_thread.c
@@ -0,0 +1,281 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_single_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_devout.h>
+
+void ags_single_thread_class_init(AgsSingleThreadClass *single_thread);
+void ags_single_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_single_thread_init(AgsSingleThread *single_thread);
+void ags_single_thread_connect(AgsConnectable *connectable);
+void ags_single_thread_disconnect(AgsConnectable *connectable);
+void ags_single_thread_finalize(GObject *gobject);
+
+void ags_single_thread_start(AgsThread *thread);
+void ags_single_thread_run(AgsThread *thread);
+void ags_single_thread_stop(AgsThread *thread);
+
+void* ags_single_thread_loop(void *ptr);
+
+static gpointer ags_single_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_single_thread_parent_connectable_interface;
+
+GType
+ags_single_thread_get_type()
+{
+ static GType ags_type_single_thread = 0;
+
+ if(!ags_type_single_thread){
+ static const GTypeInfo ags_single_thread_info = {
+ sizeof (AgsSingleThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_single_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsSingleThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_single_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_single_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_single_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsSingleThread\0",
+ &ags_single_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_single_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_single_thread);
+}
+
+void
+ags_single_thread_class_init(AgsSingleThreadClass *single_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+
+ ags_single_thread_parent_class = g_type_class_peek_parent(single_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) single_thread;
+
+ gobject->finalize = ags_single_thread_finalize;
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) single_thread;
+
+ thread->start = ags_single_thread_start;
+ thread->run = ags_single_thread_run;
+ thread->stop = ags_single_thread_stop;
+}
+
+void
+ags_single_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_single_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_single_thread_connect;
+ connectable->disconnect = ags_single_thread_disconnect;
+}
+
+void
+ags_single_thread_init(AgsSingleThread *single_thread)
+{
+ AgsThread *thread;
+ AgsAudioLoop *audio_loop;
+
+ thread = AGS_THREAD(single_thread);
+
+ audio_loop =
+ single_thread->audio_loop = ags_audio_loop_new(NULL, NULL);
+ AGS_THREAD(single_thread->audio_loop)->flags |= AGS_THREAD_SINGLE_LOOP;
+
+ single_thread->task_thread = AGS_TASK_THREAD(audio_loop->task_thread);
+ AGS_THREAD(single_thread->task_thread)->flags |= AGS_THREAD_SINGLE_LOOP;
+
+ single_thread->devout_thread = AGS_DEVOUT_THREAD(audio_loop->devout_thread);
+ AGS_THREAD(single_thread->task_thread)->flags |= AGS_THREAD_SINGLE_LOOP;
+
+ single_thread->gui_thread = AGS_GUI_THREAD(audio_loop->gui_thread);
+ AGS_THREAD(single_thread->gui_thread)->flags |= AGS_THREAD_SINGLE_LOOP;
+}
+
+void
+ags_single_thread_connect(AgsConnectable *connectable)
+{
+ ags_single_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_single_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_single_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_single_thread_finalize(GObject *gobject)
+{
+ G_OBJECT_CLASS(ags_single_thread_parent_class)->finalize(gobject);
+
+ /* empty */
+}
+
+void
+ags_single_thread_start(AgsThread *thread)
+{
+ AgsSingleThread *single_thread;
+ AgsDevout *devout;
+
+ single_thread = AGS_SINGLE_THREAD(thread);
+
+ devout = AGS_DEVOUT(thread->devout);
+ devout->flags |= AGS_DEVOUT_NONBLOCKING;
+
+ g_object_set(G_OBJECT(single_thread->audio_loop),
+ "devout\0", devout,
+ NULL);
+
+ g_object_set(G_OBJECT(single_thread->task_thread),
+ "devout\0", devout,
+ NULL);
+
+ g_object_set(G_OBJECT(single_thread->devout_thread),
+ "devout\0", devout,
+ NULL);
+
+ g_object_set(G_OBJECT(single_thread->gui_thread),
+ "devout\0", devout,
+ NULL);
+
+ g_atomic_int_or(&(thread->flags),
+ (AGS_THREAD_RUNNING |
+ AGS_THREAD_INITIAL_RUN));
+
+ ags_single_thread_run(thread);
+
+ // pthread_create(&(AGS_THREAD(single_thread)->thread), NULL,
+ // &(ags_single_thread_loop), thread);
+
+ ags_thread_start((AgsThread *) single_thread->audio_loop);
+
+ ags_thread_start((AgsThread *) single_thread->task_thread);
+
+ ags_thread_start((AgsThread *) single_thread->gui_thread);
+
+}
+
+void*
+ags_single_thread_loop(void *ptr)
+{
+ ags_single_thread_run(AGS_THREAD(ptr));
+
+ pthread_exit(NULL);
+}
+
+void
+ags_single_thread_run(AgsThread *thread)
+{
+ AgsSingleThread *single_thread;
+ struct timespec play_start, play_exceeded, play_idle, current;
+
+ single_thread = AGS_SINGLE_THREAD(thread);
+
+ play_idle.tv_sec = 0;
+ play_idle.tv_nsec = floor((double) NSEC_PER_SEC / (double) AGS_AUDIO_LOOP_DEFAULT_JIFFIE);
+
+ while((AGS_THREAD_RUNNING & (g_atomic_int_get(&thread->flags))) != 0){
+ /* initial value to calculate timing */
+ clock_gettime(CLOCK_MONOTONIC, &play_start);
+
+ /* */
+ ags_thread_run((AgsThread *) single_thread->audio_loop);
+
+ ags_thread_run((AgsThread *) single_thread->task_thread);
+
+ if((AGS_THREAD_RUNNING & (AGS_THREAD(single_thread->devout_thread)->flags)) != 0){
+ ags_thread_run((AgsThread *) single_thread->devout_thread);
+ }
+
+ ags_thread_run((AgsThread *) single_thread->gui_thread);
+
+ /* do timing */
+ clock_gettime(CLOCK_MONOTONIC, &play_exceeded);
+
+ if(play_start.tv_sec < play_exceeded.tv_sec){
+ play_exceeded.tv_nsec += NSEC_PER_SEC;
+ play_exceeded.tv_sec--;
+ }
+
+ if(play_start.tv_sec < play_exceeded.tv_sec){
+ continue;
+ }
+
+ /* calculate timing */
+ current.tv_sec = 0;
+ current.tv_nsec = play_idle.tv_nsec - (play_exceeded.tv_nsec - play_start.tv_nsec);
+
+ // nanosleep(¤t, NULL);
+ }
+}
+
+void
+ags_single_thread_stop(AgsThread *thread)
+{
+ AgsSingleThread *single_thread;
+
+ single_thread = AGS_SINGLE_THREAD(thread);
+
+ ags_thread_stop((AgsThread *) single_thread->audio_loop);
+
+ ags_thread_stop((AgsThread *) single_thread->task_thread);
+
+ ags_thread_stop((AgsThread *) single_thread->devout_thread);
+
+ ags_thread_stop((AgsThread *) single_thread->gui_thread);
+}
+
+AgsSingleThread*
+ags_single_thread_new(GObject *devout)
+{
+ AgsSingleThread *single_thread;
+
+ single_thread = (AgsSingleThread *) g_object_new(AGS_TYPE_SINGLE_THREAD,
+ "devout\0", devout,
+ NULL);
+
+
+ return(single_thread);
+}
+
+
diff --git a/src/ags/thread/ags_single_thread.h b/src/ags/thread/ags_single_thread.h
new file mode 100644
index 0000000..51334a7
--- /dev/null
+++ b/src/ags/thread/ags_single_thread.h
@@ -0,0 +1,70 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SINGLE_THREAD_H__
+#define __AGS_SINGLE_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_devout_thread.h>
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_gui_thread.h>
+
+#include <unistd.h>
+
+#define AGS_TYPE_SINGLE_THREAD (ags_single_thread_get_type())
+#define AGS_SINGLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SINGLE_THREAD, AgsSingleThread))
+#define AGS_SINGLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SINGLE_THREAD, AgsSingleThreadClass))
+#define AGS_IS_SINGLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SINGLE_THREAD))
+#define AGS_IS_SINGLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SINGLE_THREAD))
+#define AGS_SINGLE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SINGLE_THREAD, AgsSingleThreadClass))
+
+#define AGS_SINGLE_THREAD_DEFAULT_GUI_JIFFIE (30)
+
+typedef struct _AgsSingleThread AgsSingleThread;
+typedef struct _AgsSingleThreadClass AgsSingleThreadClass;
+
+struct _AgsSingleThread
+{
+ AgsThread thread;
+
+ AgsAudioLoop *audio_loop;
+ AgsDevoutThread *devout_thread;
+ AgsTaskThread *task_thread;
+ AgsGuiThread *gui_thread;
+};
+
+struct _AgsSingleThreadClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_single_thread_get_type();
+
+AgsSingleThread* ags_single_thread_new();
+
+#endif /*__AGS_SINGLE_THREAD_H__*/
+
diff --git a/src/ags/thread/ags_task_thread.c b/src/ags/thread/ags_task_thread.c
new file mode 100644
index 0000000..69c10a1
--- /dev/null
+++ b/src/ags/thread/ags_task_thread.c
@@ -0,0 +1,483 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_task_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/main.h>
+
+#include <ags/lib/ags_list.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_returnable_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <ags/audio/ags_config.h>
+
+#include <math.h>
+
+void ags_task_thread_class_init(AgsTaskThreadClass *task_thread);
+void ags_task_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_task_thread_init(AgsTaskThread *task_thread);
+void ags_task_thread_connect(AgsConnectable *connectable);
+void ags_task_thread_disconnect(AgsConnectable *connectable);
+void ags_task_thread_finalize(GObject *gobject);
+
+void ags_task_thread_start(AgsThread *thread);
+void ags_task_thread_run(AgsThread *thread);
+
+void ags_task_thread_append_task_queue(AgsReturnableThread *returnable_thread, gpointer data);
+void ags_task_thread_append_tasks_queue(AgsReturnableThread *returnable_thread, gpointer data);
+
+extern AgsConfig *config;
+
+/**
+ * SECTION:ags_task_thread
+ * @short_description: task thread
+ * @title: AgsTaskThread
+ * @section_id:
+ * @include: ags/thread/ags_task_thread.h
+ *
+ * The #AgsTaskThread acts as task queue thread.
+ */
+
+static gpointer ags_task_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_task_thread_parent_connectable_interface;
+
+static gboolean DEBUG;
+
+GType
+ags_task_thread_get_type()
+{
+ static GType ags_type_task_thread = 0;
+
+ if(!ags_type_task_thread){
+ static const GTypeInfo ags_task_thread_info = {
+ sizeof (AgsTaskThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_task_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsTaskThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_task_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_task_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_task_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsTaskThread\0",
+ &ags_task_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_task_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_task_thread);
+}
+
+void
+ags_task_thread_class_init(AgsTaskThreadClass *task_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+
+ ags_task_thread_parent_class = g_type_class_peek_parent(task_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) task_thread;
+
+ gobject->finalize = ags_task_thread_finalize;
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) task_thread;
+
+ thread->start = ags_task_thread_start;
+ thread->run = ags_task_thread_run;
+}
+
+void
+ags_task_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_task_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_task_thread_connect;
+ connectable->disconnect = ags_task_thread_disconnect;
+}
+
+void
+ags_task_thread_init(AgsTaskThread *task_thread)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(task_thread);
+
+ // g_atomic_int_or(&(thread->flags),
+ // AGS_THREAD_LOCK_GREEDY_RUN_MUTEX);
+
+ thread->freq = AGS_TASK_THREAD_DEFAULT_JIFFIE;
+
+ g_cond_init(&(task_thread->cond));
+ g_mutex_init(&(task_thread->mutex));
+
+ pthread_mutex_init(&(task_thread->read_mutex), NULL);
+ pthread_mutex_init(&(task_thread->launch_mutex), NULL);
+
+ g_atomic_int_set(&(task_thread->queued),
+ 0);
+ g_atomic_int_set(&(task_thread->pending),
+ 0);
+
+ g_atomic_pointer_set(&(task_thread->exec), NULL);
+ g_atomic_pointer_set(&(task_thread->queue),
+ NULL);
+
+ task_thread->thread_pool = NULL;
+}
+
+void
+ags_task_thread_connect(AgsConnectable *connectable)
+{
+ AgsTaskThread *task_thread;
+
+ ags_task_thread_parent_connectable_interface->connect(connectable);
+
+ task_thread = AGS_TASK_THREAD(connectable);
+ task_thread->thread_pool = AGS_MAIN(AGS_AUDIO_LOOP(AGS_THREAD(task_thread)->parent)->ags_main)->thread_pool;
+ task_thread->thread_pool->parent = task_thread;
+}
+
+void
+ags_task_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_task_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_task_thread_finalize(GObject *gobject)
+{
+ AgsTaskThread *task_thread;
+
+ task_thread = AGS_TASK_THREAD(gobject);
+
+ /* free AgsTask lists */
+ ags_list_free_and_unref_link(g_atomic_pointer_get(&(task_thread->exec)));
+ ags_list_free_and_unref_link(g_atomic_pointer_get(&(task_thread->queue)));
+
+ /* */
+ G_OBJECT_CLASS(ags_task_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_task_thread_start(AgsThread *thread)
+{
+ AgsTaskThread *task_thread;
+
+ task_thread = AGS_TASK_THREAD(thread);
+
+ if((AGS_THREAD_RUNNING & (g_atomic_int_get(&(task_thread->thread_pool->flags)))) == 0){
+ ags_thread_pool_start(task_thread->thread_pool);
+
+ while((AGS_THREAD_POOL_READY & (g_atomic_int_get(&(task_thread->thread_pool->flags)))) == 0){
+ usleep(500000);
+ }
+ }
+
+ if((AGS_THREAD_SINGLE_LOOP & (g_atomic_int_get(&(thread->flags)))) == 0){
+ AGS_THREAD_CLASS(ags_task_thread_parent_class)->start(thread);
+ }
+}
+
+void
+ags_task_thread_run(AgsThread *thread)
+{
+ AgsDevout *devout;
+ AgsTaskThread *task_thread;
+ GList *list;
+ guint buffer_size;
+ guint samplerate;
+ static struct timespec play_idle;
+ static useconds_t idle;
+ guint prev_pending;
+ static gboolean initialized = FALSE;
+
+ task_thread = AGS_TASK_THREAD(thread);
+ devout = AGS_DEVOUT(thread->devout);
+
+ buffer_size = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "buffer-size\0"),
+ NULL,
+ 10);
+ samplerate = g_ascii_strtoull(ags_config_get(config,
+ AGS_CONFIG_DEVOUT,
+ "samplerate\0"),
+ NULL,
+ 10);
+
+ if(!initialized){
+ play_idle.tv_sec = 0;
+ play_idle.tv_nsec = 10 * round(sysconf(_SC_CLK_TCK) * (double) buffer_size / (double) samplerate);
+ // idle = sysconf(_SC_CLK_TCK) * round(sysconf(_SC_CLK_TCK) * (double) buffer_size / (double) samplerate / 8.0);
+
+ initialized = TRUE;
+ }
+
+ /* */
+ pthread_mutex_lock(&(task_thread->read_mutex));
+
+ g_atomic_pointer_set(&(task_thread->exec),
+ g_atomic_pointer_get(&(task_thread->queue)));
+ g_atomic_pointer_set(&(task_thread->queue),
+ NULL);
+
+ list = g_atomic_pointer_get(&(task_thread->exec));
+
+ prev_pending = g_atomic_int_get(&(task_thread->pending));
+ g_atomic_int_set(&(task_thread->pending),
+ g_list_length(list));
+ g_atomic_int_set(&(task_thread->queued),
+ g_atomic_int_get(&(task_thread->queued)) - prev_pending);
+
+ pthread_mutex_unlock(&(task_thread->read_mutex));
+
+ /* launch tasks */
+ if(list != NULL){
+ AgsTask *task;
+ int i;
+
+ pthread_mutex_lock(&(task_thread->launch_mutex));
+ pthread_mutex_lock(&(AGS_AUDIO_LOOP(thread->parent)->recall_mutex));
+
+ for(i = 0; i < g_atomic_int_get(&(task_thread->pending)); i++){
+ task = AGS_TASK(list->data);
+
+#ifdef AGS_DEBUG
+ g_message("ags_task_thread - launching task: %s\n\0", G_OBJECT_TYPE_NAME(task));
+#endif
+
+ ags_task_launch(task);
+
+ list = list->next;
+ }
+
+ pthread_mutex_unlock(&(AGS_AUDIO_LOOP(thread->parent)->recall_mutex));
+ pthread_mutex_unlock(&(task_thread->launch_mutex));
+ }
+
+ pthread_mutex_lock(&(task_thread->read_mutex));
+
+ g_list_free_full(g_atomic_pointer_get(&(task_thread->exec)),
+ g_object_unref);
+ g_atomic_pointer_set(&(task_thread->exec),
+ NULL);
+
+ pthread_mutex_unlock(&(task_thread->read_mutex));
+}
+
+void
+ags_task_thread_append_task_queue(AgsReturnableThread *returnable_thread, gpointer data)
+{
+ AgsTask *task;
+ AgsTaskThread *task_thread;
+ AgsTaskThreadAppend *append;
+ GList *tmplist;
+ gboolean initial_wait;
+ int ret;
+
+ g_atomic_int_and(&(AGS_THREAD(returnable_thread)->flags),
+ (~AGS_THREAD_READY));
+
+ append = (AgsTaskThreadAppend *) g_atomic_pointer_get(&(returnable_thread->safe_data));
+
+ task_thread = g_atomic_pointer_get(&(append->task_thread));
+ task = AGS_TASK(g_atomic_pointer_get(&(append->data)));
+
+ free(append);
+
+ /* lock */
+ pthread_mutex_lock(&(task_thread->read_mutex));
+
+ /* append to queue */
+ g_atomic_int_set(&(task_thread->queued),
+ g_atomic_int_get(&(task_thread->queued)) + 1);
+
+ tmplist = g_atomic_pointer_get(&(task_thread->queue));
+ g_atomic_pointer_set(&(task_thread->queue),
+ g_list_append(tmplist, task));
+
+ /* unlock */
+ pthread_mutex_unlock(&(task_thread->read_mutex));
+
+ /* */
+ // g_message("ags_task_thread_append_task_thread ------------------------- %d\0", devout->append_task_suspend);
+}
+
+/**
+ * ags_task_thread_append_task:
+ * @task_thread: an #AgsTaskThread
+ * @task: an #AgsTask
+ *
+ * Adds the task to @task_thread.
+ *
+ * Since: 0.4
+ */
+void
+ags_task_thread_append_task(AgsTaskThread *task_thread, AgsTask *task)
+{
+ AgsTaskThreadAppend *append;
+ AgsThread *thread;
+
+#ifdef AGS_DEBUG
+ g_message("append task\0");
+#endif
+
+ append = (AgsTaskThreadAppend *) malloc(sizeof(AgsTaskThreadAppend));
+
+ g_atomic_pointer_set(&(append->task_thread),
+ task_thread);
+ g_atomic_pointer_set(&(append->data),
+ task);
+
+ thread = ags_thread_pool_pull(task_thread->thread_pool);
+
+ pthread_mutex_lock(&(AGS_RETURNABLE_THREAD(thread)->reset_mutex));
+
+ g_atomic_pointer_set(&(AGS_RETURNABLE_THREAD(thread)->safe_data),
+ append);
+
+ ags_returnable_thread_connect_safe_run(AGS_RETURNABLE_THREAD(thread),
+ ags_task_thread_append_task_queue);
+
+ g_atomic_int_or(&(AGS_RETURNABLE_THREAD(thread)->flags),
+ AGS_RETURNABLE_THREAD_IN_USE);
+
+ pthread_mutex_unlock(&(AGS_RETURNABLE_THREAD(thread)->reset_mutex));
+}
+
+void
+ags_task_thread_append_tasks_queue(AgsReturnableThread *returnable_thread, gpointer data)
+{
+ AgsTask *task;
+ AgsTaskThread *task_thread;
+ AgsTaskThreadAppend *append;
+ GList *list, *tmplist;
+ gboolean initial_wait;
+ int ret;
+
+ g_atomic_int_and(&(AGS_THREAD(returnable_thread)->flags),
+ (~AGS_THREAD_READY));
+
+ append = (AgsTaskThreadAppend *) g_atomic_pointer_get(&(returnable_thread->safe_data));
+
+ task_thread = g_atomic_pointer_get(&(append->task_thread));
+ list = (GList *) g_atomic_pointer_get(&(append->data));
+
+ free(append);
+
+ /* lock */
+ pthread_mutex_lock(&(task_thread->read_mutex));
+
+ /* append to queue */
+ g_atomic_int_set(&(task_thread->queued),
+ g_atomic_int_get(&(task_thread->queued)) + g_list_length(list));
+
+ tmplist = g_atomic_pointer_get(&(task_thread->queue));
+ g_atomic_pointer_set(&(task_thread->queue),
+ g_list_concat(tmplist, list));
+
+ /* */
+ pthread_mutex_unlock(&(task_thread->read_mutex));
+}
+
+/**
+ * ags_task_thread_append_tasks:
+ * @task_thread: an #AgsTaskThread
+ * @list: a GList with #AgsTask as data
+ *
+ * Concats the list with @task_thread's internal task list. Don't
+ * free the list you pass. It will be freed for you.
+ *
+ * Since: 0.4
+ */
+void
+ags_task_thread_append_tasks(AgsTaskThread *task_thread, GList *list)
+{
+ AgsTaskThreadAppend *append;
+ AgsThread *thread;
+
+#ifdef AGS_DEBUG
+ g_message("append tasks\0");
+#endif
+
+ append = (AgsTaskThreadAppend *) malloc(sizeof(AgsTaskThreadAppend));
+
+ g_atomic_pointer_set(&(append->task_thread),
+ task_thread);
+ g_atomic_pointer_set(&(append->data),
+ list);
+
+ thread = ags_thread_pool_pull(task_thread->thread_pool);
+
+ pthread_mutex_lock(&(AGS_RETURNABLE_THREAD(thread)->reset_mutex));
+
+
+ g_atomic_pointer_set(&(AGS_RETURNABLE_THREAD(thread)->safe_data),
+ append);
+
+ ags_returnable_thread_connect_safe_run(AGS_RETURNABLE_THREAD(thread),
+ ags_task_thread_append_tasks_queue);
+ g_atomic_int_or(&(AGS_RETURNABLE_THREAD(thread)->flags),
+ AGS_RETURNABLE_THREAD_IN_USE);
+
+ pthread_mutex_unlock(&(AGS_RETURNABLE_THREAD(thread)->reset_mutex));
+}
+
+/**
+ * ags_task_thread_new:
+ * @devout: the #AgsDevout
+ *
+ * Create a new #AgsTaskThread.
+ *
+ * Returns: the new #AgsTaskThread
+ *
+ * Since: 0.4
+ */
+AgsTaskThread*
+ags_task_thread_new(GObject *devout)
+{
+ AgsTaskThread *task_thread;
+
+ task_thread = (AgsTaskThread *) g_object_new(AGS_TYPE_TASK_THREAD,
+ "devout\0", devout,
+ NULL);
+
+
+ return(task_thread);
+}
diff --git a/src/ags/thread/ags_task_thread.h b/src/ags/thread/ags_task_thread.h
new file mode 100644
index 0000000..46e4fe8
--- /dev/null
+++ b/src/ags/thread/ags_task_thread.h
@@ -0,0 +1,87 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TASK_THREAD_H__
+#define __AGS_TASK_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#include <ags/thread/ags_thread_pool.h>
+
+#include <ags/audio/ags_task.h>
+
+#define AGS_TYPE_TASK_THREAD (ags_task_thread_get_type())
+#define AGS_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TASK_THREAD, AgsTaskThread))
+#define AGS_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_TASK_THREAD, AgsTaskThread))
+#define AGS_IS_TASK_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TASK_THREAD))
+#define AGS_IS_TASK_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TASK_THREAD))
+#define AGS_TASK_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_TASK_THREAD, AgsTaskThreadClass))
+
+#define AGS_TASK_THREAD_DEFAULT_JIFFIE (1000)
+
+typedef struct _AgsTaskThread AgsTaskThread;
+typedef struct _AgsTaskThreadClass AgsTaskThreadClass;
+typedef struct _AgsTaskThreadAppend AgsTaskThreadAppend;
+
+struct _AgsTaskThread
+{
+ AgsThread thread;
+
+ guint flags;
+
+ GMutex mutex;
+ GCond cond;
+
+ pthread_mutex_t read_mutex;
+ pthread_mutex_t launch_mutex;
+
+ volatile guint queued;
+ volatile guint pending;
+
+ volatile GList *exec;
+ volatile GList *queue;
+
+ AgsThreadPool *thread_pool;
+};
+
+struct _AgsTaskThreadClass
+{
+ AgsThreadClass thread;
+};
+
+struct _AgsTaskThreadAppend
+{
+ volatile AgsTaskThread *task_thread;
+ volatile gpointer data;
+};
+
+GType ags_task_thread_get_type();
+
+void ags_task_thread_append_task(AgsTaskThread *task_thread, AgsTask *task);
+void ags_task_thread_append_tasks(AgsTaskThread *task_thread, GList *list);
+
+AgsTaskThread* ags_task_thread_new(GObject *devout);
+
+#endif /*__AGS_TASK_THREAD_H__*/
diff --git a/src/ags/thread/ags_thread-kthreads.c b/src/ags/thread/ags_thread-kthreads.c
new file mode 100644
index 0000000..eaab893
--- /dev/null
+++ b/src/ags/thread/ags_thread-kthreads.c
@@ -0,0 +1,1633 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_thread-kthreads.h>
+
+#include <linux/futex.h>
+#include <sys/time.h>
+
+void ags_thread_class_init(AgsThreadClass *thread);
+void ags_thread_tree_iterator_interface_init(AgsTreeIteratorInterface *tree);
+void ags_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_thread_stackable_interface_init(AgsStackableInterface *stackable);
+void ags_thread_init(AgsThread *thread);
+void ags_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_iterate_nested(AgsTreeIterator *tree,
+ gpointer node_id);
+void ags_thread_connect(AgsConnectable *connectable);
+void ags_thread_disconnect(AgsConnectable *connectable);
+void ags_thread_finalize(GObject *gobject);
+
+void ags_thread_resume_handler(int sig);
+void ags_thread_suspend_handler(int sig);
+
+void ags_thread_set_devout(AgsThread *thread, GObject *devout);
+
+void ags_thread_real_start(AgsThread *thread);
+void* ags_thread_loop(void *ptr);
+void ags_thread_real_timelock(AgsThread *thread);
+void* ags_thread_timelock_loop(void *ptr);
+void ags_thread_real_stop(AgsThread *thread);
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+};
+
+enum{
+ START,
+ RUN,
+ SUSPEND,
+ RESUME,
+ TIMELOCK,
+ STOP,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_thread_parent_class = NULL;
+static guint thread_signals[LAST_SIGNAL];
+
+__thread AgsThread *ags_thread_self = NULL;
+
+GType
+ags_thread_get_type()
+{
+ static GType ags_type_thread = 0;
+
+ if(!ags_type_thread){
+ const GTypeInfo ags_thread_info = {
+ sizeof (AgsThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_thread_init,
+ };
+
+ const GInterfaceInfo ags_tree_iterator_interface_info = {
+ (GInterfaceInitFunc) ags_thread_tree_iterator_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ const GInterfaceInfo ags_stackable_interface_info = {
+ (GInterfaceInitFunc) ags_thread_stackable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_thread = g_type_register_static(G_TYPE_OBJECT,
+ "AgsThread\0",
+ &ags_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_thread,
+ AGS_TYPE_TREE_ITERATOR,
+ &ags_tree_iterator_interface_info);
+
+ g_type_add_interface_static(ags_type_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_thread,
+ AGS_TYPE_STACKABLE,
+ &ags_stackable_interface_info);
+ }
+
+ return(ags_type_thread);
+}
+
+void
+ags_thread_class_init(AgsThreadClass *thread)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_thread_parent_class = g_type_class_peek_parent(thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) thread;
+
+ gobject->set_property = ags_thread_set_property;
+ gobject->get_property = ags_thread_get_property;
+
+ gobject->finalize = ags_thread_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_object("devout\0",
+ "devout assigned to\0",
+ "The AgsDevout it is assigned to.\0",
+ AGS_TYPE_DEVOUT,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /* AgsThread */
+ thread->start = ags_thread_real_start;
+ thread->run = NULL;
+ thread->suspend = NULL;
+ thread->resume = NULL;
+ thread->timelock = ags_thread_real_timelock;
+ thread->stop = ags_thread_real_stop;
+
+ /* signals */
+ thread_signals[START] =
+ g_signal_new("start\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[RUN] =
+ g_signal_new("run\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, run),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[SUSPEND] =
+ g_signal_new("suspend\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, suspend),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[RESUME] =
+ g_signal_new("resume\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, resume),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[TIMELOCK] =
+ g_signal_new("timelock\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, timelock),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ thread_signals[STOP] =
+ g_signal_new("stop\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, stop),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_thread_tree_iterator_interface_init(AgsTreeIteratorInterface *tree)
+{
+ tree->iterate_nested = ags_thread_iterate_nested;
+}
+
+void
+ags_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_thread_connect;
+ connectable->disconnect = ags_thread_disconnect;
+}
+
+void
+ags_thread_stackable_interface_init(AgsStackableInterface *stackable)
+{
+ stackable->push = NULL;
+ stackable->pop = NULL;
+}
+
+void
+ags_thread_init(AgsThread *thread)
+{
+ g_atomic_int_set(&(thread->flags),
+ 0);
+
+ //TODO:JK: implement me
+}
+
+void
+ags_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+ AgsThread *current;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(thread->devout != NULL){
+ g_object_unref(G_OBJECT(thread->devout));
+ }
+
+ if(devout != NULL){
+ g_object_ref(G_OBJECT(devout));
+ }
+
+ thread->devout = G_OBJECT(devout);
+
+ current = thread->children;
+
+ while(current != NULL){
+ g_object_set(G_OBJECT(current),
+ "devout\0", devout,
+ NULL);
+
+ current = current->next;
+ }
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ g_value_set_object(value, G_OBJECT(thread->devout));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+
+void
+ags_thread_finalize(GObject *gobject)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(gobject);
+
+ if(thread->devout != NULL){
+ g_object_unref(G_OBJECT(thread->devout));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_thread_resume_handler(int sig)
+{
+#ifdef AGS_DEBUG
+ g_message("thread resume\0");
+#endif
+
+ g_atomic_int_and(&(ags_thread_self->flags),
+ (~AGS_THREAD_SUSPENDED));
+
+ ags_thread_resume(ags_thread_self);
+}
+
+void
+ags_thread_suspend_handler(int sig)
+{
+#ifdef AGS_DEBUG
+ g_message("thread suspend\0");
+#endif
+
+ if(ags_thread_self == NULL)
+ return;
+
+ if ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0) return;
+
+ g_atomic_int_or(&(ags_thread_self->flags),
+ AGS_THREAD_SUSPENDED);
+
+ ags_thread_suspend(ags_thread_self);
+
+ do sigsuspend(&(ags_thread_self->wait_mask)); while ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0);
+}
+
+/**
+ * ags_thread_set_sync:
+ * @thread an #AgsThread
+ * @dyntic the dyntic as sync occured.
+ *
+ * Unsets AGS_THREAD_WAIT_0, AGS_THREAD_WAIT_1 or AGS_THREAD_WAIT_2.
+ * Additionaly the thread is woken up by this function if waiting.
+ */
+void
+ags_thread_set_sync(AgsThread *thread, guint dyntic)
+{
+ unsigned int flags;
+
+ if(thread == NULL){
+ return;
+ }
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+
+ switch(dyntic){
+ case 0:
+ {
+ atomic_set(&(thread->flags),
+ ((~AGS_THREAD_WAIT_0) & flags));
+ }
+ break;
+ case 1:
+ {
+ atomic_set(&(thread->flags),
+ ((~AGS_THREAD_WAIT_1) & flags));
+ }
+ break;
+ case 2:
+ {
+ atomic_set(&(thread->flags),
+ ((~AGS_THREAD_WAIT_2) & flags));
+ }
+ break;
+ }
+}
+
+/**
+ * ags_thread_set_sync:
+ * @thread an #AgsThread
+ * @tic the tic as sync occured.
+ *
+ * Calls ags_thread_set_sync() on all threads.
+ */
+void
+ags_thread_set_sync_all(AgsThread *thread, guint tic)
+{
+ AgsThread *toplevel;
+
+ auto void ags_thread_set_sync_all_recursive(AgsThread *thread, guint tic);
+
+ void ags_thread_set_sync_all_recursive(AgsThread *thread, guint tic){
+ AgsThread *child;
+
+ ags_thread_set_sync(thread, tic);
+
+ child = thread->children;
+
+ while(child != NULL){
+ ags_thread_set_sync_all_recursive(child, tic);
+
+ child = child->next;
+ }
+ }
+
+ toplevel = ags_thread_get_toplevel(thread);
+ ags_thread_set_sync_all_recursive(toplevel, tic);
+}
+
+/**
+ * ags_thread_lock:
+ * @thread an #AgsThread
+ *
+ * Locks the threads own mutex and sets the appropriate flag.
+ */
+void
+ags_thread_lock(AgsThread *thread)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+ unsigned int flags;
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+
+ while(((AGS_THREAD_LOCKED & flags) != 0 &&
+ thread != g_queue_peek_head(async_queue->stack))){
+ ags_async_queue_idle(async_queue);
+ }
+
+ atomic_inc(&(thread->lock_count));
+
+ if(thread == g_queue_peek_head(async_queue->stack) &&
+ (AGS_THREAD_LOCKED & flags) != 0){
+ return;
+ }
+
+ atomic_set(&(thread->flags),
+ (AGS_THREAD_LOCKED | flags));
+ atomic_set(&(thread->monitor),
+ 1);
+
+ futex(&(thread->monitor), FUTEX_WAIT, 1,
+ NULL,
+ NULL, 0);
+}
+
+gboolean
+ags_thread_trylock(AgsThread *thread)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_thread_unlock:
+ * @thread an #AgsThread
+ *
+ * Unlocks the threads own mutex and unsets the appropriate flag.
+ */
+void
+ags_thread_unlock(AgsThread *thread)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+ unsigned int flags;
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+
+ if((AGS_THREAD_LOCKED & flags) == 0 ||
+ thread != g_queue_peek_head(async_queue->stack)){
+ return;
+ }
+
+ if(atomic_dec_and_test(&(thread->lock_count)) == 0){
+ atomic_set(&(thread->flags),
+ ((~AGS_THREAD_LOCKED) & flags));
+ atomic_set(&(thread->monitor),
+ 0);
+
+ futex(&(thread->monitor), FUTEX_WAKE, 0,
+ NULL,
+ NULL, 0);
+ }
+}
+
+/**
+ * ags_thread_first:
+ * @thread an #AgsThread
+ * Returns: the very first #AgsThread within same tree level
+ *
+ * Retrieve first sibling.
+ */
+AgsThread*
+ags_thread_first(AgsThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->prev != NULL){
+ thread = thread->prev;
+ }
+
+ return(thread);
+}
+
+/**
+ * ags_thread_last:
+ * @thread an #AgsThread
+ * Returns: the very last @AgsThread within same tree level
+ *
+ * Retrieve last sibling.
+ */
+AgsThread*
+ags_thread_last(AgsThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->next != NULL){
+ thread = thread->next;
+ }
+
+ return(thread);
+}
+
+void
+ags_thread_remove_child(AgsThread *thread, AgsThread *child)
+{
+ if(thread == NULL ||
+ child == NULL ||
+ child->parent != thread){
+ return;
+ }
+
+ if(child->prev != NULL){
+ child->prev->next = child->next;
+ }else{
+ thread->children = child->next;
+ }
+
+ if(child->next != NULL){
+ child->next->prev = child->prev;
+ }
+}
+
+void
+ags_thread_add_child(AgsThread *thread, AgsThread *child)
+{
+ if(thread == NULL ||
+ child == NULL){
+ return;
+ }
+
+ if(thread->children == NULL){
+ thread->children = child;
+ }else{
+ AgsThread *last_sibling;
+
+ last_sibling = ags_thread_last(thread->children);
+
+ last_sibling->next = child;
+ child->prev = last_sibling;
+ }
+}
+
+/**
+ * ags_thread_parental_is_locked:
+ * @thread an #AgsThread
+ * @parent where to stop iteration
+ * Returns: TRUE if locked otherwise FALSE
+ *
+ * Check the AGS_THREAD_LOCKED flag in parental levels.
+ */
+gboolean
+ags_thread_parental_is_locked(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ current = thread->parent;
+
+ while(current != parent){
+ if((AGS_THREAD_LOCKED & (atomic_read(&(current->flags)))) != 0){
+
+ return(TRUE);
+ }
+
+ current = current->parent;
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_thread_sibling_is_locked:
+ * @thread an #AgsThread
+ * Returns: TRUE if locked otherwise FALSE
+ *
+ * Check the AGS_THREAD_LOCKED flag within sibling.
+ */
+gboolean
+ags_thread_sibling_is_locked(AgsThread *thread)
+{
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ thread = ags_thread_first(thread);
+
+ while(thread->next != NULL){
+ if((AGS_THREAD_LOCKED & (atomic_read(&(thread->flags)))) != 0){
+ return(TRUE);
+ }
+
+ thread = thread->next;
+ }
+
+ return(FALSE);
+
+}
+
+/**
+ * ags_thread_children_is_locked:
+ * @thread an #AgsThread
+ * Returns: TRUE if locked otherwise FALSE
+ *
+ * Check the AGS_THREAD_LOCKED flag within sibling.
+ */
+gboolean
+ags_thread_children_is_locked(AgsThread *thread)
+{
+ auto gboolean ags_thread_children_is_locked_recursive(AgsThread *thread);
+
+ gboolean ags_thread_children_is_locked_recursive(AgsThread *thread){
+ AgsThread *child;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ if((AGS_THREAD_LOCKED & (atomic_read(&(thread->flags)))) != 0){
+ return(TRUE);
+ }
+
+ child = thread->children;
+
+ while(child != NULL){
+ if(ags_thread_children_is_locked_recursive(child)){
+ return(TRUE);
+ }
+
+ child = child->next;
+ }
+
+ return(FALSE);
+ }
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ return(ags_thread_children_is_locked_recursive(thread));
+}
+
+gboolean
+ags_thread_is_current_ready(AgsThread *current)
+{
+ unsigned int flags;
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+
+ if((AGS_THREAD_READY & flags) != 0 ||
+ ((thread->dyntic == 0 && (AGS_THREAD_WAIT_0 & flags) != 0) ||
+ (thread->dyntic == 1 && (AGS_THREAD_WAIT_1 & flags) != 0) ||
+ (thread->dyntic == 2 && (AGS_THREAD_WAIT_2 & flags) != 0))){
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+}
+
+gboolean
+ags_thread_is_tree_ready(AgsThread *thread)
+{
+ AgsThread *audio_loop;
+ gboolean retval;
+
+ auto gboolean ags_thread_is_tree_ready_recursive(AgsThread *current);
+
+ gboolean ags_thread_is_tree_ready_recursive(AgsThread *current){
+ AgsThread *children;
+
+ children = current->children;
+
+ if(!ags_thread_is_current_ready(current)){
+ return(FALSE);
+ }
+
+ while(children != NULL){
+ if(!ags_thread_is_tree_ready_recursive(children)){
+ return(FALSE);
+ }
+
+ children = children->next;
+ }
+
+ return(TRUE);
+ }
+
+ audio_loop = ags_thread_get_toplevel(thread);
+
+ retval = ags_thread_is_tree_ready_recursive(audio_loop);
+
+ return(retval);
+}
+
+/**
+ * ags_thread_next_parent_locked:
+ * @thread an #AgsThread
+ * @parent the parent #AgsThread where to stop.
+ *
+ * Retrieve next locked thread above @thread.
+ */
+AgsThread*
+ags_thread_next_parent_locked(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ current = thread->parent;
+
+ while(current != parent){
+ if((AGS_THREAD_WAITING_FOR_CHILDREN & (atomic_read(&(current->flags)))) != 0){
+ return(current);
+ }
+
+ current = current->parent;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_thread_next_sibling_locked:
+ * @thread an #AgsThread
+ *
+ * Retrieve next locked thread neighbooring @thread
+ */
+AgsThread*
+ags_thread_next_sibling_locked(AgsThread *thread)
+{
+ AgsThread *current;
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ if((AGS_THREAD_WAITING_FOR_SIBLING & (atomic_read(&(thread->flags)))) != 0){
+ return(current);
+ }
+
+ current = current->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_thread_next_children_locked:
+ * @thread an #AgsThread
+ *
+ * Retrieve next locked thread following @thread
+ */
+AgsThread*
+ags_thread_next_children_locked(AgsThread *thread)
+{
+ auto AgsThread* ags_thread_next_children_locked_recursive(AgsThread *thread);
+
+ AgsThread* ags_thread_next_children_locked_recursive(AgsThread *child){
+ AgsThread *current;
+
+ current = ags_thread_last(child);
+
+ while(current != NULL){
+ ags_thread_next_children_locked_recursive(current->children);
+
+ if((AGS_THREAD_WAITING_FOR_PARENT & (atomic_read(&(current->flags)))) != 0){
+ return(current);
+ }
+
+ current = current->prev;
+ }
+
+ return(NULL);
+ }
+
+ return(ags_thread_next_children_locked(thread->children));
+}
+
+/**
+ * ags_thread_lock_parent:
+ * @thread an #AgsThread
+ * @parent the parent #AgsThread where to stop.
+ *
+ * Lock parent tree structure.
+ */
+void
+ags_thread_lock_parent(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ ags_thread_lock(thread);
+
+ current = thread->parent;
+
+ while(current != parent){
+ ags_thread_lock(current);
+ atomic_or(AGS_THREAD_WAITING_FOR_CHILDREN,
+ &(current->flags));
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_thread_lock_sibling:
+ * @thread an #AgsThread
+ *
+ * Lock sibling tree structure.
+ */
+void
+ags_thread_lock_sibling(AgsThread *thread)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ ags_thread_lock(thread);
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ ags_thread_lock(current);
+ atomic_or(AGS_THREAD_WAITING_FOR_SIBLING,
+ &(current->flags));
+
+ current = current->next;
+ }
+}
+
+/**
+ * ags_thread_lock_children:
+ * @thread an #AgsThread
+ *
+ * Lock child tree structure.
+ */
+void
+ags_thread_lock_children(AgsThread *thread)
+{
+ auto void ags_thread_lock_children_recursive(AgsThread *child);
+
+ void ags_thread_lock_children_recursive(AgsThread *child){
+ AgsThread *current;
+
+ current = ags_thread_last(child);
+
+ while(current != NULL){
+ ags_thread_lock_children_recursive(current->children);
+
+ ags_thread_lock(current);
+ atomic_or(AGS_THREAD_WAITING_FOR_PARENT,
+ &(current->flags));
+
+ current = current->prev;
+ }
+ }
+
+ ags_thread_lock(thread);
+
+ ags_thread_lock_children_recursive(thread->children);
+}
+
+void
+ags_thread_lock_all(AgsThread *thread)
+{
+ ags_thread_lock_parent(thread, NULL);
+ ags_thread_lock_sibling(thread);
+ ags_thread_lock_children(thread);
+}
+
+/**
+ * ags_thread_unlock_parent:
+ * @thread an #AgsThread
+ * @parent the parent #AgsThread where to stop.
+ *
+ * Unlock parent tree structure.
+ */
+void
+ags_thread_unlock_parent(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = thread->parent;
+
+ while(current != parent){
+ atomic_and((~AGS_THREAD_WAITING_FOR_CHILDREN),
+ &(current->flags));
+
+ ags_thread_unlock(current);
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_thread_unlock_sibling:
+ * @thread an #AgsThread
+ *
+ * Unlock sibling tree structure.
+ */
+void
+ags_thread_unlock_sibling(AgsThread *thread)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ atomic_and((~AGS_THREAD_WAITING_FOR_SIBLING),
+ &(current->flags));
+
+ ags_thread_unlock(current);
+
+ current = current->next;
+ }
+}
+
+/**
+ * ags_thread_unlock_children:
+ * @thread an #AgsThread
+ *
+ * Unlock child tree structure.
+ */
+void
+ags_thread_unlock_children(AgsThread *thread)
+{
+ auto void ags_thread_unlock_children_recursive(AgsThread *child);
+
+ void ags_thread_unlock_children_recursive(AgsThread *child){
+ AgsThread *current;
+
+ if(child == NULL){
+ return;
+ }
+
+ current = ags_thread_last(child);
+
+ while(current != NULL){
+ ags_thread_unlock_children_recursive(current->children);
+
+ atomic_and((~AGS_THREAD_WAITING_FOR_PARENT),
+ &(current->flags));
+
+ ags_thread_unlock(current);
+
+ current = current->prev;
+ }
+ }
+
+ ags_thread_unlock_children_recursive(thread->children);
+}
+
+void
+ags_thread_unlock_all(AgsThread *thread)
+{
+ ags_thread_unlock_parent(thread, NULL);
+ ags_thread_unlock_sibling(thread);
+ ags_thread_unlock_children(thread);
+}
+
+/**
+ * ags_thread_wait_parent:
+ * @thread an #AgsThread
+ * @parent the parent #AgsThread where to stop.
+ *
+ * Wait on parent tree structure.
+ */
+void
+ags_thread_wait_parent(AgsThread *thread, AgsThread *parent)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+ AgsThread *current;
+
+ if(thread == NULL || thread == parent){
+ return;
+ }
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ ags_thread_lock_parent(thread);
+
+ /* wait parent */
+ current = thread->parent;
+
+ while(current != NULL){
+ ags_async_queue_idle(async_queue);
+
+ current = current->parent;
+ }
+
+ ags_thread_unlock_parent(thread);
+}
+
+/**
+ * ags_thread_wait_sibling:
+ * @thread an #AgsThread
+ *
+ * Wait on sibling tree structure.
+ */
+void
+ags_thread_wait_sibling(AgsThread *thread)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ ags_thread_lock_sibling(thread);
+
+ /* wait sibling */
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ ags_async_queue_idle(async_queue);
+
+ current = current->next;
+ }
+}
+
+/**
+ * ags_thread_wait_children:
+ * @thread an #AgsThread
+ *
+ * Wait on child tree structure.
+ */
+void
+ags_thread_wait_children(AgsThread *thread)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+
+ auto void ags_thread_wait_children_recursive(AgsThread *child);
+
+ void ags_thread_wait_children_recursive(AgsThread *child){
+ gboolean initial_run;
+
+ if(child == NULL){
+ return;
+ }
+
+ while(child != NULL){
+ ags_thread_wait_children_recursive(child->children);
+
+ child = child->next;
+ }
+
+ ags_async_queue_idle(async_queue);
+ }
+
+ if(thread == NULL){
+ return;
+ }
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ ags_thread_lock_children(thread);
+
+ /* wait children */
+ ags_thread_wait_children_recursive(thread->children);
+}
+
+/**
+ * ags_thread_signal_parent:
+ * @thread an #AgsThread
+ * @broadcast whether to perforam a signal or to broadcast
+ *
+ * Signals the tree in higher levels.
+ */
+void
+ags_thread_signal_parent(AgsThread *thread, AgsThread *parent,
+ gboolean broadcast)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+ AgsThread *current;
+ guint flags;
+
+ if(thread == NULL){
+ return;
+ }
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ current = thread->parent;
+
+ while(current != parent){
+ if((AGS_THREAD_WAIT_FOR_CHILDREN & (g_atomic_int_get(&(current->flags)))) != 0){
+ flags = async_queue->flags;
+
+ if(!broadcast){
+ async_queue->flags |= AGS_ASYNC_QUEUE_INTERRUPT_OTHER;
+ ags_async_queue_interrupt(async_queue);
+ }else{
+ async_queue->flags |= AGS_ASYNC_QUEUE_INTERRUPT_OWN;
+ ags_async_queue_interrupt(async_queue);
+ }
+
+ async_queue->flags = flags;
+ }
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_thread_signal_sibling:
+ * @thread an #AgsThread
+ * @broadcast whether to perforam a signal or to broadcast
+ *
+ * Signals the tree on same level.
+ */
+void
+ags_thread_signal_sibling(AgsThread *thread, gboolean broadcast)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+ AgsThread *current;
+ guint flags;
+
+ if(thread == NULL){
+ return;
+ }
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if((AGS_THREAD_WAIT_FOR_SIBLING & (g_atomic_int_get(&(current->flags)))) != 0){
+ flags = async_queue->flags;
+
+ if(!broadcast){
+ async_queue->flags |= AGS_ASYNC_QUEUE_INTERRUPT_OTHER;
+ ags_async_queue_interrupt(async_queue);
+ }else{
+ async_queue->flags |= AGS_ASYNC_QUEUE_INTERRUPT_OWN;
+ ags_async_queue_interrupt(async_queue);
+ }
+
+ async_queue->flags = flags;
+ }
+ }
+}
+
+/**
+ * ags_thread_signal_children:
+ * @thread an #AgsThread
+ * @broadcast whether to perforam a signal or to broadcast
+ *
+ * Signals the tree in lower levels.
+ */
+void
+ags_thread_signal_children(AgsThread *thread, gboolean broadcast)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *audio_loop;
+ AgsThread *current;
+ guint flags;
+
+ auto void ags_thread_signal_children_recursive(AgsThread *thread, gboolean broadcast);
+
+ void ags_thread_signal_children_recursive(AgsThread *thread, gboolean broadcast){
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = thread;
+
+ while(current != NULL){
+ if((AGS_THREAD_WAIT_FOR_PARENT & (g_atomic_int_get(&(current->flags)))) != 0){
+ flags = async_queue->flags;
+
+ if(!broadcast){
+ async_queue->flags |= AGS_ASYNC_QUEUE_INTERRUPT_OTHER;
+ ags_async_queue_interrupt(async_queue);
+ }else{
+ async_queue->flags |= AGS_ASYNC_QUEUE_INTERRUPT_OWN;
+ ags_async_queue_interrupt(async_queue);
+ }
+
+ async_queue->flags = flags;
+ }
+ }
+ }
+
+ if(thread == NULL){
+ return;
+ }
+
+ audio_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(audio_loop));
+
+ ags_thread_signal_children(thread->children, broadcast);
+}
+
+void
+ags_thread_real_start(AgsThread *thread)
+{
+ long retval;
+ void **newstack;
+
+ /*
+ * allocate new stack for subthread
+ */
+ newstack = (void **) malloc(AGS_THREAD_STACKSIZE);
+
+ if(!newstack)
+ return;
+
+ /*
+ * Set up the stack for child function, put the (void *)
+ * argument on the stack.
+ */
+ newstack = (void **) (AGS_THREAD_STACKSIZE + (char *) newstack);
+ *--newstack = (void *) thread;
+
+ /* clone new thread */
+ clone(ags_thread_loop, newstack,
+ CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES | CLONE_THREAD,
+ NULL);
+}
+
+/**
+ * ags_thread_start:
+ * @thread the #AgsThread instance
+ *
+ * Start the thread.
+ */
+void
+ags_thread_start(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[START], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void*
+ags_thread_loop(void *ptr)
+{
+ AgsThread *thread;
+ unsigned int flags;
+
+ auto void ags_thread_loop_do_barrier(AgsThread *thread);
+ auto void ags_thread_loop_do_cond(AgsThread *thread);
+
+ void ags_thread_loop_do_barrier(AgsThread *thread){
+ unsigned int flags;
+ int barrier, barrier_count;
+
+ ags_thread_lock(thread);
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+ barrier = atomic_read(&(thread->barrier));
+ barrier_count = atomic_read(&(thread->barrier_count));
+
+ if(barrier == 0){
+ ags_thread_unlock(thread);
+
+ return;
+ }
+
+ atomic_set(&(thread->barrier),
+ barrier++);
+
+ if((AGS_THREAD_RUNNING & flags) != 0){
+ if(barrier == barrier_count){
+ ags_thread_unlock_all(thread);
+ }else{
+ while(barrier != barrier_count){
+ ags_thread_suspend(thread);
+ }
+ }
+ }else{
+ if(barrier == barrier_count){
+ ags_thread_unlock_all(thread);
+ }
+ }
+
+ ags_thread_unlock(thread);
+ }
+ void ags_thread_loop_do_cond(AgsThread *thread){
+ unsigned int flags;
+
+ ags_thread_lock(thread);
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+
+ if((AGS_THREAD_RUNNING & flags) != 0){
+ if(ags_thread_is_tree_ready(thread)){
+ ags_thread_set_sync_all(thread);
+ }else{
+ while(!ags_thread_is_current_ready(thread)){
+ ags_thread_suspend(thread);
+ }
+ }
+ }else{
+ if(ags_thread_is_tree_ready(thread)){
+ ags_thread_set_sync_all(thread);
+ }
+ }
+
+ ags_thread_unlock(thread);
+ }
+
+ ags_thread_self =
+ thread = AGS_THREAD(ptr);
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+ atomic_set(&(thread->flags),
+ (AGS_THREAD_INITIAL_RUN & flags));
+
+ while((AGS_THREAD_RUNNING & flags) != 0){
+ /* do barrier */
+ ags_thread_loop_do_barrier(thread);
+
+ /* do cond */
+ ags_thread_loop_do_cond(thread);
+
+ /* run */
+ if((AGS_THREAD_SKIPPED_BY_TIMELOCK & flags) == 0 ||
+ ((AGS_THREAD_SKIP_NON_GREEDY & flags) != 0 &&
+ (AGS_THREAD_TIMELOCK_RUN & flags) == 0)){
+ ags_thread_run(thread);
+ }
+
+ /* lock parent */
+ if((AGS_THREAD_WAIT_FOR_PARENT & flags) != 0){
+ ags_thread_lock_parent(thread);
+ }
+
+ /* lock sibling */
+ if((AGS_THREAD_WAIT_FOR_SIBLING & flags) != 0){
+ ags_thread_lock_sibling(thread);
+ }
+
+ /* lock children */
+ if((AGS_THREAD_WAIT_FOR_CHILDREN & flags) != 0){
+ ags_thread_lock_children(thread);
+ }
+
+ /* read flags */
+ flags = (unsigned int) atomic_read(&(thread->flags));
+ }
+
+ /* do barrier */
+ ags_thread_loop_do_barrier(thread);
+
+ /* do cond */
+ ags_thread_loop_do_cond(thread);
+
+
+ return(NULL);
+}
+
+/**
+ * ags_thread_run:
+ * @thread the #AgsThread instance
+ *
+ * Only for internal use of ags_thread_loop but you may want to set the your very own
+ * class function namely your thread's routine.
+ */
+void
+ags_thread_run(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[RUN], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void
+ags_thread_suspend(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[SUSPEND], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void
+ags_thread_resume(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[RESUME], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void*
+ags_thread_timelock_loop(void *ptr)
+{
+ AgsThread *thread;
+ unsigned int flags;
+ int dyntic;
+
+ thread = AGS_THREAD(ptr);
+
+ while((AGS_THREAD_RUNNING & (atomic_read(&(thread->flags)))) != 0){
+ nanosleep(&(thread->timed_suspend), NULL);
+
+ flags = (unsigned int) atomic_read(&(thread->flags));
+
+ if(!((AGS_THREAD_WAIT_O & flags) ||
+ (AGS_THREAD_WAIT_1 & flags) ||
+ (AGS_THREAD_WAIT_2 & flags))){
+ dyntic = atomic_read(&(thread->dyntic));
+
+ if(dyntic < 0){
+ dyntic += 1;
+ dyntic *= -1;
+ }
+
+ atomic_set(&(thread->dyntic),
+ dyntic);
+
+ switch(dyntic){
+ case 0:
+ case 1:
+ {
+ dyntic += 1;
+ }
+ break;
+ case 2:
+ {
+ dyntic = 0;
+ }
+ break;
+ }
+
+ atomic_int_set(&(thread->flags),
+ (AGS_THREAD_READY | flags));
+ ags_thread_suspend(thread);
+
+ dyntic *= -1;
+ dyntic -= 1;
+
+ atomic_set(&(thread->dyntic),
+ dyntic);
+ }
+ }
+}
+
+void
+ags_thread_real_timelock(AgsThread *thread)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_thread_timelock(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[TIMELOCK], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void
+ags_thread_real_stop(AgsThread *thread)
+{
+ atomic_set(&(thread->flags),
+ (atomic_read(&(thread->flags)) & (~AGS_THREAD_RUNNING)));
+}
+
+/**
+ * ags_thread_stop:
+ * @thread the #AgsThread instance
+ *
+ * Stop the threads loop by unsetting AGS_THREAD_RUNNING flag.
+ */
+void
+ags_thread_stop(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[STOP], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+/**
+ * ags_thread_hangcheck:
+ * @thread the #AgsThread instance
+ *
+ * Performs hangcheck of thread.
+ */
+void
+ags_thread_hangcheck(AgsThread *thread)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_thread_new:
+ * @data an #GObject
+ *
+ * Create a new #AgsThread you may provide a #gpointer as @data
+ * to your thread routine.
+ */
+AgsThread*
+ags_thread_new(gpointer data)
+{
+ AgsThread *thread;
+
+ thread = (AgsThread *) g_object_new(AGS_TYPE_THREAD,
+ NULL);
+
+ thread->data = data;
+
+ return(thread);
+}
diff --git a/src/ags/thread/ags_thread-kthreads.h b/src/ags/thread/ags_thread-kthreads.h
new file mode 100644
index 0000000..6560d88
--- /dev/null
+++ b/src/ags/thread/ags_thread-kthreads.h
@@ -0,0 +1,176 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2014 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_THREAD_H__
+#define __AGS_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define _GNU_SOURCE
+
+#include <signal.h>
+#include <pthread.h>
+
+#define AGS_TYPE_THREAD (ags_thread_get_type())
+#define AGS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD, AgsThread))
+#define AGS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD, AgsThreadClass))
+#define AGS_IS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD))
+#define AGS_IS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD))
+#define AGS_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD, AgsThreadClass))
+
+#define MSEC_PER_SEC (1000000) /* The number of msecs per sec. */
+#define NSEC_PER_SEC (1000000000) /* The number of nsecs per sec. */
+#define AGS_THREAD_STACKSIZE (16384)
+#define AGS_THREAD_RESUME_SIG SIGUSR2
+#define AGS_THREAD_SUSPEND_SIG SIGUSR1
+
+typedef struct _AgsThread AgsThread;
+typedef struct _AgsThreadClass AgsThreadClass;
+
+typedef enum{
+ AGS_THREAD_RUNNING = 1,
+ AGS_THREAD_IDLE = 1 << 1,
+ AGS_THREAD_LOCKED = 1 << 2,
+ AGS_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_THREAD_WAIT_0 = 1 << 16,
+ AGS_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_THREAD_WAIT_1 = 1 << 18,
+ AGS_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_THREAD_WAIT_2 = 1 << 20,
+ AGS_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_THREAD_TIMELOCK_RESUME = 1 << 23,
+ /*
+ * prefered way would be unlocking greedy_locks
+ * and the suspend to not become greedy
+ * but while pthread_suspend and pthread_resume
+ * are missing you need this as work-around
+ */
+ AGS_THREAD_SKIP_NON_GREEDY = 1 << 24,
+ AGS_THREAD_SKIPPED_BY_TIMELOCK = 1 << 25,
+ AGS_THREAD_LOCK_GREEDY_RUN_MUTEX = 1 << 26,
+ AGS_THREAD_SUSPENDED = 1 << 27,
+ AGS_THREAD_SINGLE_LOOP = 1 << 28,
+ AGS_THREAD_READY = 1 << 29,
+ AGS_THREAD_UNREF_ON_EXIT = 1 << 30,
+}AgsThreadFlags;
+
+struct _AgsThread
+{
+ GObject object;
+
+ atomic_t flags;
+
+ atomic_t monitor;
+ atomic_t lock_count;
+
+ atomic_t barrier;
+ atomic_t barrier_count;
+
+ atomic_t dyntic;
+
+ struct timespec timed_suspend;
+ gint goodness;
+
+ AgsThread *children;
+ AgsThread *next;
+ AgsThread *prev;
+};
+
+struct _AgsThreadClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsThread *thread);
+ void (*run)(AgsThread *thread);
+ void (*suspend)(AgsThread *thread);
+ void (*resume)(AgsThread *thread);
+ void (*timelock)(AgsThread *thread);
+ void (*stop)(AgsThread *thread);
+};
+
+GType ags_thread_get_type();
+
+void ags_thread_set_sync(AgsThread *thread, guint tic);
+void ags_thread_set_sync_all(AgsThread *thread, guint tic);
+
+void ags_thread_lock(AgsThread *thread);
+gboolean ags_thread_trylock(AgsThread *thread);
+void ags_thread_unlock(AgsThread *thread);
+
+AgsThread* ags_thread_get_toplevel(AgsThread *thread);
+AgsThread* ags_thread_first(AgsThread *thread);
+AgsThread* ags_thread_last(AgsThread *thread);
+
+void ags_thread_remove_child(AgsThread *thread, AgsThread *child);
+void ags_thread_add_child(AgsThread *thread, AgsThread *child);
+
+gboolean ags_thread_parental_is_locked(AgsThread *thread, AgsThread *parent);
+gboolean ags_thread_sibling_is_locked(AgsThread *thread);
+gboolean ags_thread_children_is_locked(AgsThread *thread);
+
+gboolean ags_thread_is_current_ready(AgsThread *current);
+gboolean ags_thread_is_tree_ready(AgsThread *thread);
+
+AgsThread* ags_thread_next_parent_locked(AgsThread *thread, AgsThread *parent);
+AgsThread* ags_thread_next_sibling_locked(AgsThread *thread);
+AgsThread* ags_thread_next_children_locked(AgsThread *thread);
+
+void ags_thread_lock_parent(AgsThread *thread, AgsThread *parent);
+void ags_thread_lock_sibling(AgsThread *thread);
+void ags_thread_lock_children(AgsThread *thread);
+void ags_thread_lock_all(AgsThread *thread);
+
+void ags_thread_unlock_parent(AgsThread *thread, AgsThread *parent);
+void ags_thread_unlock_sibling(AgsThread *thread);
+void ags_thread_unlock_children(AgsThread *thread);
+void ags_thread_unlock_all(AgsThread *thread);
+
+void ags_thread_wait_parent(AgsThread *thread, AgsThread *parent);
+void ags_thread_wait_sibling(AgsThread *thread);
+void ags_thread_wait_children(AgsThread *thread);
+
+void ags_thread_signal_parent(AgsThread *thread, AgsThread *parent, gboolean broadcast);
+void ags_thread_signal_sibling(AgsThread *thread, gboolean broadcast);
+void ags_thread_signal_children(AgsThread *thread, gboolean broadcast);
+
+void ags_thread_start(AgsThread *thread);
+void ags_thread_run(AgsThread *thread);
+void ags_thread_suspend(AgsThread *thread);
+void ags_thread_resume(AgsThread *thread);
+void ags_thread_timelock(AgsThread *thread);
+void ags_thread_stop(AgsThread *thread);
+
+void ags_thread_hangcheck(AgsThread *thread);
+
+AgsThread* ags_thread_new(gpointer data);
+
+#endif /*__AGS_THREAD_H__*/
diff --git a/src/ags/thread/ags_thread-posix.c b/src/ags/thread/ags_thread-posix.c
new file mode 100644
index 0000000..becfa60
--- /dev/null
+++ b/src/ags/thread/ags_thread-posix.c
@@ -0,0 +1,2796 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_thread-posix.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/object/ags_tree_iterator.h>
+#include <ags/object/ags_stackable.h>
+#include <ags/object/ags_main_loop.h>
+
+#include <ags/thread/ags_async_queue.h>
+#include <ags/thread/ags_task_thread.h>
+#include <ags/thread/ags_gui_thread.h>
+#include <ags/thread/ags_returnable_thread.h>
+
+#include <ags/audio/ags_devout.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <math.h>
+
+void ags_thread_class_init(AgsThreadClass *thread);
+void ags_thread_tree_iterator_interface_init(AgsTreeIteratorInterface *tree);
+void ags_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_thread_stackable_interface_init(AgsStackableInterface *stackable);
+void ags_thread_init(AgsThread *thread);
+void ags_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_iterate_nested(AgsTreeIterator *tree,
+ gpointer node_id);
+void ags_thread_connect(AgsConnectable *connectable);
+void ags_thread_disconnect(AgsConnectable *connectable);
+void ags_thread_finalize(GObject *gobject);
+
+void ags_thread_resume_handler(int sig);
+void ags_thread_suspend_handler(int sig);
+
+void ags_thread_set_devout(AgsThread *thread, GObject *devout);
+
+void ags_thread_real_start(AgsThread *thread);
+void* ags_thread_loop(void *ptr);
+void ags_thread_real_timelock(AgsThread *thread);
+void* ags_thread_timelock_loop(void *ptr);
+void ags_thread_real_stop(AgsThread *thread);
+
+/**
+ * SECTION:ags_thread-posix
+ * @short_description: threads
+ * @title: AgsThread
+ * @section_id:
+ * @include: ags/thread/ags_thread.h
+ *
+ * The #AgsThread base class. It supports organizing them within a tree,
+ * perform syncing and frequencies.
+ */
+
+enum{
+ PROP_0,
+ PROP_DEVOUT,
+ PROP_FREQUENCY,
+};
+
+enum{
+ START,
+ RUN,
+ SUSPEND,
+ RESUME,
+ TIMELOCK,
+ STOP,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_thread_parent_class = NULL;
+static guint thread_signals[LAST_SIGNAL];
+
+__thread AgsThread *ags_thread_self = NULL;
+
+GType
+ags_thread_get_type()
+{
+ static GType ags_type_thread = 0;
+
+ if(!ags_type_thread){
+ const GTypeInfo ags_thread_info = {
+ sizeof (AgsThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_thread_init,
+ };
+
+ const GInterfaceInfo ags_tree_iterator_interface_info = {
+ (GInterfaceInitFunc) ags_thread_tree_iterator_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ const GInterfaceInfo ags_stackable_interface_info = {
+ (GInterfaceInitFunc) ags_thread_stackable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_thread = g_type_register_static(G_TYPE_OBJECT,
+ "AgsThread\0",
+ &ags_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_thread,
+ AGS_TYPE_TREE_ITERATOR,
+ &ags_tree_iterator_interface_info);
+
+ g_type_add_interface_static(ags_type_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+
+ g_type_add_interface_static(ags_type_thread,
+ AGS_TYPE_STACKABLE,
+ &ags_stackable_interface_info);
+ }
+
+ return(ags_type_thread);
+}
+
+void
+ags_thread_class_init(AgsThreadClass *thread)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_thread_parent_class = g_type_class_peek_parent(thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) thread;
+
+ gobject->set_property = ags_thread_set_property;
+ gobject->get_property = ags_thread_get_property;
+
+ gobject->finalize = ags_thread_finalize;
+
+ /* properties */
+ /**
+ * AgsThread:devout:
+ *
+ * The assigned #AgsDevout.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_object("devout\0",
+ "devout assigned to\0",
+ "The AgsDevout it is assigned to.\0",
+ AGS_TYPE_DEVOUT,
+ G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_DEVOUT,
+ param_spec);
+
+ /**
+ * AgsThread:frequency:
+ *
+ * The frequency to run at in Hz.
+ *
+ * Since: 0.4
+ */
+ param_spec = g_param_spec_double("frequency\0",
+ "JIFFIE\0",
+ "JIFFIE\0",
+ 0.01,
+ 1000.0,
+ 1000.0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_FREQUENCY,
+ param_spec);
+
+ /* AgsThread */
+ thread->start = ags_thread_real_start;
+ thread->run = NULL;
+ thread->suspend = NULL;
+ thread->resume = NULL;
+ thread->timelock = ags_thread_real_timelock;
+ thread->stop = ags_thread_real_stop;
+
+ /* signals */
+ /**
+ * AgsThread::start:
+ * @thread: the object playing.
+ *
+ * The ::start signal is invoked as thread started.
+ */
+ thread_signals[START] =
+ g_signal_new("start\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsThread::run:
+ * @thread: the object playing.
+ *
+ * The ::run signal is invoked during run loop.
+ */
+ thread_signals[RUN] =
+ g_signal_new("run\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, run),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsThread::suspend:
+ * @thread: the object playing.
+ *
+ * The ::suspend signal is invoked during suspending.
+ */
+ thread_signals[SUSPEND] =
+ g_signal_new("suspend\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, suspend),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsThread::resume:
+ * @thread: the object playing.
+ * @recall_id: the appropriate #AgsRecallID
+ *
+ * The ::resume signal is invoked during resuming.
+ */
+ thread_signals[RESUME] =
+ g_signal_new("resume\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, resume),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsThread::timelock:
+ * @thread: the object playing.
+ * @recall_id: the appropriate #AgsRecallID
+ *
+ * The ::timelock signal is invoked as standard compution
+ * time exceeded.
+ */
+ thread_signals[TIMELOCK] =
+ g_signal_new("timelock\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, timelock),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+
+ /**
+ * AgsThread::stop:
+ * @thread: the object playing.
+ * @recall_id: the appropriate #AgsRecallID
+ *
+ * The ::stop signal is invoked as @thread stopped.
+ */
+ thread_signals[STOP] =
+ g_signal_new("stop\0",
+ G_TYPE_FROM_CLASS (thread),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadClass, stop),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_thread_tree_iterator_interface_init(AgsTreeIteratorInterface *tree)
+{
+ tree->iterate_nested = ags_thread_iterate_nested;
+}
+
+void
+ags_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->is_ready = NULL;
+ connectable->is_connected = NULL;
+ connectable->connect = ags_thread_connect;
+ connectable->disconnect = ags_thread_disconnect;
+}
+
+void
+ags_thread_stackable_interface_init(AgsStackableInterface *stackable)
+{
+ stackable->push = NULL;
+ stackable->pop = NULL;
+}
+
+void
+ags_thread_init(AgsThread *thread)
+{
+ g_atomic_int_set(&(thread->flags),
+ 0);
+
+ pthread_attr_init(&(thread->thread_attr));
+
+ thread->freq = AGS_THREAD_DEFAULT_JIFFIE;
+
+ pthread_mutexattr_init(&(thread->mutexattr));
+ pthread_mutexattr_settype(&(thread->mutexattr), PTHREAD_MUTEX_RECURSIVE);
+
+ pthread_mutex_init(&(thread->mutex), &(thread->mutexattr));
+ pthread_cond_init(&(thread->cond), NULL);
+
+ pthread_mutex_init(&(thread->start_mutex), NULL);
+ pthread_cond_init(&(thread->start_cond), NULL);
+
+ thread->first_barrier = TRUE;
+ thread->wait_count[0] = 1;
+ thread->wait_count[1] = 1;
+
+ pthread_mutex_init(&(thread->timelock_mutex), NULL);
+ pthread_cond_init(&(thread->timelock_cond), NULL);
+
+ pthread_mutex_init(&(thread->greedy_mutex), NULL);
+ pthread_cond_init(&(thread->greedy_cond), NULL);
+ g_atomic_int_set(&(thread->locked_greedy),
+ 0);
+
+ thread->timelock.tv_sec = 0;
+ thread->timelock.tv_nsec = floor(NSEC_PER_SEC /
+ (AGS_AUDIO_LOOP_DEFAULT_JIFFIE + 1));
+
+ thread->greedy_locks = NULL;
+
+ pthread_mutex_init(&(thread->suspend_mutex), NULL);
+
+ thread->devout = NULL;
+
+ thread->parent = NULL;
+ thread->next = NULL;
+ thread->prev = NULL;
+ thread->children = NULL;
+
+ thread->data = NULL;
+}
+
+void
+ags_thread_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ AgsDevout *devout;
+ AgsThread *current;
+
+ devout = (AgsDevout *) g_value_get_object(value);
+
+ if(thread->devout != NULL){
+ g_object_unref(G_OBJECT(thread->devout));
+ }
+
+ if(devout != NULL){
+ g_object_ref(G_OBJECT(devout));
+ }
+
+ thread->devout = G_OBJECT(devout);
+
+ current = thread->children;
+
+ while(current != NULL){
+ g_object_set(G_OBJECT(current),
+ "devout\0", devout,
+ NULL);
+
+ current = current->next;
+ }
+ }
+ break;
+ case PROP_FREQUENCY:
+ {
+ gdouble freq;
+
+ freq = g_value_get_double(value);
+
+ if(freq == thread->freq){
+ return;
+ }
+
+ thread->freq = freq;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_thread_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(gobject);
+
+ switch(prop_id){
+ case PROP_DEVOUT:
+ {
+ g_value_set_object(value, G_OBJECT(thread->devout));
+ }
+ break;
+ case PROP_FREQUENCY:
+ {
+ g_value_set_double(value, thread->freq);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_thread_iterate_nested(AgsTreeIterator *tree,
+ gpointer node_id)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_thread_connect(AgsConnectable *connectable)
+{
+ AgsThread *thread, *child;
+
+#ifdef AGS_DEBUG
+ g_message("thread connect\0");
+#endif
+
+ thread = AGS_THREAD(connectable);
+
+ child = thread->children;
+
+ while(child != NULL){
+ ags_connectable_connect(AGS_CONNECTABLE(child));
+
+ child = child->next;
+ }
+}
+
+void
+ags_thread_disconnect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_thread_finalize(GObject *gobject)
+{
+ AgsThread *thread;
+ void *stackaddr;
+ size_t stacksize;
+
+ thread = AGS_THREAD(gobject);
+
+ pthread_attr_getstack(&(thread->thread_attr),
+ &stackaddr, &stacksize);
+
+ pthread_attr_destroy(&(thread->thread_attr));
+
+ pthread_mutexattr_destroy(&(thread->mutexattr));
+ pthread_mutex_destroy(&(thread->mutex));
+ pthread_cond_destroy(&(thread->cond));
+
+ pthread_mutex_destroy(&(thread->start_mutex));
+ pthread_cond_destroy(&(thread->start_cond));
+
+ pthread_mutex_destroy(&(thread->timelock_mutex));
+ pthread_cond_destroy(&(thread->timelock_cond));
+
+ pthread_mutex_destroy(&(thread->greedy_mutex));
+ pthread_cond_destroy(&(thread->greedy_cond));
+
+ pthread_mutex_destroy(&(thread->suspend_mutex));
+
+ if(thread->devout != NULL){
+ g_object_unref(G_OBJECT(thread->devout));
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_thread_parent_class)->finalize(gobject);
+
+ free(stackaddr);
+}
+
+void
+ags_thread_resume_handler(int sig)
+{
+#ifdef AGS_DEBUG
+ g_message("thread resume\0");
+#endif
+
+ g_atomic_int_and(&(ags_thread_self->flags),
+ (~AGS_THREAD_SUSPENDED));
+
+ ags_thread_resume(ags_thread_self);
+}
+
+void
+ags_thread_suspend_handler(int sig)
+{
+#ifdef AGS_DEBUG
+ g_message("thread suspend\0");
+#endif
+
+ if(ags_thread_self == NULL)
+ return;
+
+ if ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0) return;
+
+ g_atomic_int_or(&(ags_thread_self->flags),
+ AGS_THREAD_SUSPENDED);
+
+ ags_thread_suspend(ags_thread_self);
+
+ do sigsuspend(&(ags_thread_self->wait_mask)); while ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0);
+}
+
+AgsAccountingTable*
+ags_accounting_table_alloc(AgsThread *thread)
+{
+ AgsAccountingTable *accounting_table;
+
+ accounting_table = (AgsAccountingTable *) malloc(sizeof(AgsAccountingTable));
+
+ accounting_table->thread = thread;
+
+ return(accounting_table);
+}
+
+void
+ags_accounting_table_set_sanity(GList *table,
+ AgsThread *thread, gdouble sanity)
+{
+ if(table == NULL){
+ return;
+ }
+
+ table = g_list_first(table);
+
+ while(table != NULL){
+ if(AGS_ACCOUNTING_TABLE(table->data)->thread == thread){
+ break;
+ }
+
+ table = table->next;
+ }
+
+ if(table != NULL){
+ AGS_ACCOUNTING_TABLE(table->data)->sanity == sanity;
+ }
+}
+
+void
+ags_thread_set_devout(AgsThread *thread, GObject *devout)
+{
+ //TODO:JK: implement me
+}
+
+/**
+ * ags_thread_set_sync:
+ * @thread: an #AgsThread
+ * @tic: the tic as sync occured.
+ *
+ * Unsets AGS_THREAD_WAIT_0, AGS_THREAD_WAIT_1 or AGS_THREAD_WAIT_2.
+ * Additionaly the thread is woken up by this function if waiting.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_set_sync(AgsThread *thread, guint tic)
+{
+ guint flags;
+ gboolean broadcast;
+ gboolean waiting;
+
+ if(thread == NULL){
+ return;
+ }
+
+ broadcast = FALSE;
+ waiting = FALSE;
+
+ if(tic > 2){
+ tic = tic % 3;
+ }
+
+ flags = g_atomic_int_get(&(thread->flags));
+
+ switch(tic){
+ case 0:
+ {
+ if((AGS_THREAD_WAIT_0 & flags) != 0){
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAIT_0));
+ waiting = TRUE;
+ }
+ }
+ break;
+ case 1:
+ {
+ if((AGS_THREAD_WAIT_1 & flags) != 0){
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAIT_1));
+ waiting = TRUE;
+ }
+ }
+ break;
+ case 2:
+ {
+ if((AGS_THREAD_WAIT_2 & flags) != 0){
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAIT_2));
+ waiting = TRUE;
+ }
+ }
+ break;
+ }
+
+ if(waiting){
+ pthread_mutex_lock(&(thread->mutex));
+
+ if(broadcast){
+ pthread_cond_broadcast(&(thread->cond));
+ }else{
+ pthread_cond_signal(&(thread->cond));
+ }
+
+ pthread_mutex_unlock(&(thread->mutex));
+ }
+}
+
+/**
+ * ags_thread_set_sync:
+ * @thread: an #AgsThread
+ * @tic: the tic as sync occured.
+ *
+ * Calls ags_thread_set_sync() on all threads.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_set_sync_all(AgsThread *thread, guint tic)
+{
+ AgsThread *toplevel;
+
+ auto void ags_thread_set_sync_all_recursive(AgsThread *thread, guint tic);
+
+ void ags_thread_set_sync_all_recursive(AgsThread *thread, guint tic){
+ AgsThread *child;
+
+ ags_thread_set_sync(thread, tic);
+
+ child = thread->children;
+
+ while(child != NULL){
+ ags_thread_set_sync_all_recursive(child, tic);
+
+ child = child->next;
+ }
+ }
+
+ toplevel = ags_thread_get_toplevel(thread);
+
+ ags_thread_lock(toplevel);
+
+ ags_thread_set_sync_all_recursive(toplevel, tic);
+
+ ags_thread_unlock(toplevel);
+}
+
+/**
+ * ags_thread_lock:
+ * @thread: an #AgsThread
+ *
+ * Locks the threads own mutex and sets the appropriate flag.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_lock(AgsThread *thread)
+{
+ AgsThread *main_loop;
+
+ if(thread == NULL){
+ return;
+ }
+
+ main_loop = ags_thread_get_toplevel(thread);
+
+ if(main_loop == thread){
+ pthread_mutex_lock(&(thread->mutex));
+ g_atomic_int_or(&(thread->flags),
+ (AGS_THREAD_LOCKED));
+ }else{
+ pthread_mutex_lock(&(main_loop->mutex));
+ pthread_mutex_lock(&(thread->mutex));
+ g_atomic_int_or(&(thread->flags),
+ (AGS_THREAD_LOCKED));
+ pthread_mutex_unlock(&(main_loop->mutex));
+ }
+}
+
+/**
+ * ags_thread_trylock:
+ * @thread: an #AgsThread
+ *
+ * Locks the threads own mutex if available and sets the
+ * appropriate flag and returning %TRUE. Otherwise return %FALSE
+ * without lock.
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_thread_trylock(AgsThread *thread)
+{
+ AgsThread *main_loop;
+ guint val;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ main_loop = ags_thread_get_toplevel(thread);
+
+ if(main_loop == thread){
+ if(pthread_mutex_trylock(&(thread->mutex)) != 0){
+ return(FALSE);
+ }
+
+ g_atomic_int_or(&(thread->flags),
+ (AGS_THREAD_LOCKED));
+ }else{
+ if(pthread_mutex_trylock(&(main_loop->mutex)) != 0){
+ return(FALSE);
+ }
+
+ if(pthread_mutex_trylock(&(thread->mutex)) != 0){
+ pthread_mutex_unlock(&(main_loop->mutex));
+ return(FALSE);
+ }
+
+ g_atomic_int_or(&(thread->flags),
+ (AGS_THREAD_LOCKED));
+ pthread_mutex_unlock(&(main_loop->mutex));
+ }
+
+ return(TRUE);
+}
+
+/**
+ * ags_thread_unlock:
+ * @thread: an #AgsThread
+ *
+ * Unlocks the threads own mutex and unsets the appropriate flag.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_unlock(AgsThread *thread)
+{
+ if(thread == NULL){
+ return;
+ }
+
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_LOCKED));
+
+ pthread_mutex_unlock(&(thread->mutex));
+}
+
+/**
+ * ags_thread_get_toplevel:
+ * @thread: an #AgsThread
+ *
+ * Retrieve toplevel thread.
+ *
+ * Returns: the toplevevel #AgsThread
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_get_toplevel(AgsThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->parent != NULL){
+ thread = thread->parent;
+ }
+
+ return(thread);
+}
+
+/**
+ * ags_thread_first:
+ * @thread: an #AgsThread
+ *
+ * Retrieve first sibling.
+ *
+ * Returns: the very first #AgsThread within same tree level
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_first(AgsThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->prev != NULL){
+ thread = thread->prev;
+ }
+
+ return(thread);
+}
+
+/**
+ * ags_thread_last:
+ * @thread: an #AgsThread
+ *
+ * Retrieve last sibling.
+ *
+ * Returns: the very last @AgsThread within same tree level
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_last(AgsThread *thread)
+{
+ if(thread == NULL){
+ return(NULL);
+ }
+
+ while(thread->next != NULL){
+ thread = thread->next;
+ }
+
+ return(thread);
+}
+
+/**
+ * ags_thread_remove_child:
+ * @thread: an #AgsThread
+ * @child: the child to remove
+ *
+ * Remove child of thread.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_remove_child(AgsThread *thread, AgsThread *child)
+{
+ AgsThread *main_loop;
+
+ if(thread == NULL || child == NULL){
+ return;
+ }
+
+ main_loop = ags_thread_get_toplevel(thread);
+
+ ags_thread_lock(main_loop);
+
+ if(thread->children == child){
+ thread->children = child->next;
+ }
+
+ if(child->prev != NULL){
+ child->prev->next = child->next;
+ }
+
+ if(child->next != NULL){
+ child->next->prev = child->prev;
+ }
+
+ child->parent = NULL;
+ child->prev = NULL;
+ child->next = NULL;
+
+ ags_thread_unlock(main_loop);
+}
+
+/**
+ * ags_thread_add_child:
+ * @thread: an #AgsThread
+ * @child: the child to remove
+ *
+ * Add child to thread.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_add_child(AgsThread *thread, AgsThread *child)
+{
+ AgsThread *main_loop;
+
+ if(thread == NULL || child == NULL){
+ return;
+ }
+
+ main_loop = ags_thread_get_toplevel(thread);
+
+ if(child->parent != NULL){
+ ags_thread_remove_child(child->parent, child);
+ }
+
+ /* */
+ ags_thread_lock(main_loop);
+
+ if(thread->children == NULL){
+ thread->children = child;
+ child->parent = thread;
+ }else{
+ AgsThread *sibling;
+
+ sibling = ags_thread_last(thread->children);
+
+ sibling->next = child;
+ child->prev = sibling;
+ child->parent = thread;
+ }
+
+ ags_thread_unlock(main_loop);
+
+ if((AGS_THREAD_RUNNING & (g_atomic_int_get(&(thread->flags)))) != 0){
+ ags_thread_start(child);
+ }
+}
+
+/**
+ * ags_thread_parental_is_locked:
+ * @thread: an #AgsThread
+ * @parent: where to stop iteration
+ *
+ * Check the AGS_THREAD_LOCKED flag in parental levels.
+ *
+ * Returns: %TRUE if locked otherwise %FALSE
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_thread_parental_is_locked(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ current = thread->parent;
+
+ while(current != parent){
+ if((AGS_THREAD_LOCKED & (g_atomic_int_get(&(current->flags)))) != 0){
+
+ return(TRUE);
+ }
+
+ current = current->parent;
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_thread_sibling_is_locked:
+ * @thread: an #AgsThread
+ *
+ * Check the AGS_THREAD_LOCKED flag within sibling.
+ *
+ * Returns: %TRUE if locked otherwise %FALSE
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_thread_sibling_is_locked(AgsThread *thread)
+{
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ thread = ags_thread_first(thread);
+
+ while(thread->next != NULL){
+ if((AGS_THREAD_LOCKED & (g_atomic_int_get(&(thread->flags)))) != 0){
+ return(TRUE);
+ }
+
+ thread = thread->next;
+ }
+
+ return(FALSE);
+}
+
+
+/**
+ * ags_thread_children_is_locked:
+ * @thread: an #AgsThread
+ *
+ * Check the AGS_THREAD_LOCKED flag within children.
+ *
+ * Returns: %TRUE if locked otherwise %FALSE
+ *
+ * Since: 0.4
+ */
+gboolean
+ags_thread_children_is_locked(AgsThread *thread)
+{
+ auto gboolean ags_thread_children_is_locked_recursive(AgsThread *thread);
+
+ gboolean ags_thread_children_is_locked_recursive(AgsThread *thread){
+ AgsThread *child;
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ if((AGS_THREAD_LOCKED & (g_atomic_int_get(&(thread->flags)))) != 0){
+ return(TRUE);
+ }
+
+ child = thread->children;
+
+ while(child != NULL){
+ if(ags_thread_children_is_locked_recursive(child)){
+ return(TRUE);
+ }
+
+ child = child->next;
+ }
+
+ return(FALSE);
+ }
+
+ if(thread == NULL){
+ return(FALSE);
+ }
+
+ return(ags_thread_children_is_locked_recursive(thread));
+}
+
+gboolean
+ags_thread_is_current_ready(AgsThread *current,
+ guint tic)
+{
+ AgsThread *toplevel;
+ guint flags;
+ gboolean retval;
+
+ toplevel = ags_thread_get_toplevel(current);
+
+ // pthread_mutex_lock(&(current->mutex));
+
+ flags = g_atomic_int_get(&(current->flags));
+ retval = FALSE;
+
+ if((AGS_THREAD_RUNNING & flags) == 0){
+ retval = TRUE;
+ }
+
+ if((AGS_THREAD_INITIAL_RUN & flags) != 0){
+ retval = TRUE;
+ }
+
+ if((AGS_THREAD_READY & flags) != 0){
+ retval = TRUE;
+ }
+
+ if(retval){
+ // pthread_mutex_unlock(&(current->mutex));
+
+ return(TRUE);
+ }
+
+ if(tic > 2){
+ tic = tic % 3;
+ }
+
+ switch(tic){
+ case 0:
+ {
+ if((AGS_THREAD_WAIT_0 & flags) == 0){
+ retval = TRUE;
+ }
+ }
+ break;
+ case 1:
+ {
+ if((AGS_THREAD_WAIT_1 & flags) == 0){
+ retval = TRUE;
+ }
+ }
+ break;
+ case 2:
+ {
+ if((AGS_THREAD_WAIT_2 & flags) == 0){
+ retval = TRUE;
+ }
+ }
+ break;
+ }
+
+ // pthread_mutex_unlock(&(current->mutex));
+
+ return(retval);
+}
+
+gboolean
+ags_thread_is_tree_ready(AgsThread *thread,
+ guint tic)
+{
+ AgsThread *main_loop;
+ gboolean retval;
+
+ auto gboolean ags_thread_is_tree_ready_current_tic(AgsThread *current);
+ auto gboolean ags_thread_is_tree_ready_recursive(AgsThread *current);
+
+ gboolean ags_thread_is_tree_ready_current_tic(AgsThread *current){
+ AgsThread *toplevel;
+ guint flags;
+ gboolean retval;
+
+ toplevel = ags_thread_get_toplevel(current);
+
+ // pthread_mutex_lock(&(current->mutex));
+
+ flags = g_atomic_int_get(&(current->flags));
+ retval = FALSE;
+
+ if((AGS_THREAD_RUNNING & flags) == 0){
+ retval = TRUE;
+ }
+
+ if((AGS_THREAD_INITIAL_RUN & flags) != 0){
+ retval = TRUE;
+ }
+
+ if((AGS_THREAD_READY & flags) != 0){
+ retval = TRUE;
+ }
+
+ if(retval){
+ // pthread_mutex_unlock(&(current->mutex));
+
+ return(TRUE);
+ }
+
+ if(tic > 2){
+ tic = tic % 3;
+ }
+
+ switch(tic){
+ case 0:
+ {
+ if((AGS_THREAD_WAIT_0 & flags) != 0){
+ retval = TRUE;
+ }
+ }
+ break;
+ case 1:
+ {
+ if((AGS_THREAD_WAIT_1 & flags) != 0){
+ retval = TRUE;
+ }
+ }
+ break;
+ case 2:
+ {
+ if((AGS_THREAD_WAIT_2 & flags) != 0){
+ retval = TRUE;
+ }
+ }
+ break;
+ }
+
+ // pthread_mutex_unlock(&(current->mutex));
+ return(retval);
+ }
+ gboolean ags_thread_is_tree_ready_recursive(AgsThread *current){
+ AgsThread *children;
+
+ children = current->children;
+
+ if(!ags_thread_is_tree_ready_current_tic(current)){
+ return(FALSE);
+ }
+
+ while(children != NULL){
+ if(!ags_thread_is_tree_ready_recursive(children)){
+ return(FALSE);
+ }
+
+ children = children->next;
+ }
+
+ return(TRUE);
+ }
+
+ main_loop = ags_thread_get_toplevel(thread);
+
+ retval = ags_thread_is_tree_ready_recursive(main_loop);
+
+ return(retval);
+}
+
+/**
+ * ags_thread_next_parent_locked:
+ * @thread: an #AgsThread
+ * @parent: the parent #AgsThread where to stop.
+ *
+ * Retrieve next locked thread above @thread.
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_next_parent_locked(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ current = thread->parent;
+
+ while(current != parent){
+ if((AGS_THREAD_WAITING_FOR_CHILDREN & (g_atomic_int_get(&(current->flags)))) != 0){
+ return(current);
+ }
+
+ current = current->parent;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_thread_next_sibling_locked:
+ * @thread: an #AgsThread
+ *
+ * Retrieve next locked thread neighbooring @thread
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_next_sibling_locked(AgsThread *thread)
+{
+ AgsThread *current;
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ if((AGS_THREAD_WAITING_FOR_SIBLING & (g_atomic_int_get(&(thread->flags)))) != 0){
+ return(current);
+ }
+
+ current = current->next;
+ }
+
+ return(NULL);
+}
+
+/**
+ * ags_thread_next_children_locked:
+ * @thread: an #AgsThread
+ *
+ * Retrieve next locked thread following @thread
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_next_children_locked(AgsThread *thread)
+{
+ auto AgsThread* ags_thread_next_children_locked_recursive(AgsThread *thread);
+
+ AgsThread* ags_thread_next_children_locked_recursive(AgsThread *child){
+ AgsThread *current;
+
+ current = ags_thread_last(child);
+
+ while(current != NULL){
+ ags_thread_next_children_locked_recursive(current->children);
+
+ if((AGS_THREAD_WAITING_FOR_PARENT & (g_atomic_int_get(&(current->flags)))) != 0){
+ return(current);
+ }
+
+ current = current->prev;
+ }
+
+ return(NULL);
+ }
+
+ return(ags_thread_next_children_locked(thread->children));
+}
+
+/**
+ * ags_thread_lock_parent:
+ * @thread: an #AgsThread
+ * @parent: the parent #AgsThread where to stop.
+ *
+ * Lock parent tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_lock_parent(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ ags_thread_lock(thread);
+
+ current = thread->parent;
+
+ while(current != parent){
+ ags_thread_lock(current);
+ g_atomic_int_or(&(current->flags),
+ AGS_THREAD_WAITING_FOR_CHILDREN);
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_thread_lock_sibling:
+ * @thread: an #AgsThread
+ *
+ * Lock sibling tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_lock_sibling(AgsThread *thread)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ ags_thread_lock(thread);
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ ags_thread_lock(current);
+ g_atomic_int_or(&(current->flags),
+ AGS_THREAD_WAITING_FOR_SIBLING);
+
+ current = current->next;
+ }
+}
+
+/**
+ * ags_thread_lock_children:
+ * @thread: an #AgsThread
+ *
+ * Lock child tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_lock_children(AgsThread *thread)
+{
+ auto void ags_thread_lock_children_recursive(AgsThread *child);
+
+ void ags_thread_lock_children_recursive(AgsThread *child){
+ AgsThread *current;
+
+ current = ags_thread_last(child);
+
+ while(current != NULL){
+ ags_thread_lock_children_recursive(current->children);
+
+ ags_thread_lock(current);
+ g_atomic_int_or(&(current->flags),
+ AGS_THREAD_WAITING_FOR_PARENT);
+
+ current = current->prev;
+ }
+ }
+
+ ags_thread_lock(thread);
+
+ ags_thread_lock_children_recursive(thread->children);
+}
+
+void
+ags_thread_lock_all(AgsThread *thread)
+{
+ ags_thread_lock_parent(thread, NULL);
+ ags_thread_lock_sibling(thread);
+ ags_thread_lock_children(thread);
+}
+
+/**
+ * ags_thread_unlock_parent:
+ * @thread: an #AgsThread
+ * @parent: the parent #AgsThread where to stop.
+ *
+ * Unlock parent tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_unlock_parent(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = thread->parent;
+
+ while(current != parent){
+ g_atomic_int_and(&(current->flags),
+ (~AGS_THREAD_WAITING_FOR_CHILDREN));
+
+ if((AGS_THREAD_BROADCAST_PARENT & (g_atomic_int_get(&(thread->flags)))) == 0){
+ pthread_cond_signal(&(current->cond));
+ }else{
+ pthread_cond_broadcast(&(current->cond));
+ }
+
+ ags_thread_unlock(current);
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_thread_unlock_sibling:
+ * @thread: an #AgsThread
+ *
+ * Unlock sibling tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_unlock_sibling(AgsThread *thread)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ g_atomic_int_and(&(current->flags),
+ (~AGS_THREAD_WAITING_FOR_SIBLING));
+
+ if((AGS_THREAD_BROADCAST_SIBLING & (g_atomic_int_get(&(thread->flags)))) == 0){
+ pthread_cond_signal(&(current->cond));
+ }else{
+ pthread_cond_broadcast(&(current->cond));
+ }
+
+ ags_thread_unlock(current);
+
+ current = current->next;
+ }
+}
+
+/**
+ * ags_thread_unlock_children:
+ * @thread: an #AgsThread
+ *
+ * Unlock child tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_unlock_children(AgsThread *thread)
+{
+ auto void ags_thread_unlock_children_recursive(AgsThread *child);
+
+ void ags_thread_unlock_children_recursive(AgsThread *child){
+ AgsThread *current;
+
+ if(child == NULL){
+ return;
+ }
+
+ current = ags_thread_last(child);
+
+ while(current != NULL){
+ ags_thread_unlock_children_recursive(current->children);
+
+ g_atomic_int_and(&(current->flags),
+ (~AGS_THREAD_WAITING_FOR_PARENT));
+
+ if((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) == 0 &&
+ !AGS_IS_MAIN_LOOP(thread)){
+
+ if((AGS_THREAD_BROADCAST_CHILDREN & (g_atomic_int_get(&(thread->flags)))) == 0){
+ pthread_cond_signal(&(current->cond));
+ }else{
+ pthread_cond_broadcast(&(current->cond));
+ }
+ }
+
+ ags_thread_unlock(current);
+
+ current = current->prev;
+ }
+ }
+
+ ags_thread_unlock_children_recursive(thread->children);
+}
+
+void
+ags_thread_unlock_all(AgsThread *thread)
+{
+ ags_thread_unlock_parent(thread, NULL);
+ ags_thread_unlock_sibling(thread);
+ ags_thread_unlock_children(thread);
+}
+
+/**
+ * ags_thread_wait_parent:
+ * @thread: an #AgsThread
+ * @parent: the parent #AgsThread where to stop.
+ *
+ * Wait on parent tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_wait_parent(AgsThread *thread, AgsThread *parent)
+{
+ AgsThread *current;
+
+ if(thread == NULL || thread == parent){
+ return;
+ }
+
+ /* wait parent */
+ current = thread->parent;
+
+ while((current != NULL && current != parent) &&
+ (((AGS_THREAD_IDLE & (g_atomic_int_get(&(current->flags)))) != 0 ||
+ (AGS_THREAD_WAITING_FOR_CHILDREN & (g_atomic_int_get(&(current->flags)))) == 0) ||
+ current->parent != parent)){
+ pthread_cond_wait(&(current->cond),
+ &(current->mutex));
+
+ if(!((AGS_THREAD_IDLE & (g_atomic_int_get(&(current->flags)))) != 0 ||
+ (AGS_THREAD_WAITING_FOR_CHILDREN & (g_atomic_int_get(&(current->flags)))) == 0)){
+ current = current->parent;
+ }
+ }
+
+ /* unset flag */
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAITING_FOR_PARENT));
+}
+
+/**
+ * ags_thread_wait_sibling:
+ * @thread: an #AgsThread
+ *
+ * Wait on sibling tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_wait_sibling(AgsThread *thread)
+{
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ /* wait sibling */
+ current = ags_thread_first(thread);
+
+ while(current != NULL &&
+ (((AGS_THREAD_IDLE & (g_atomic_int_get(&(current->flags)))) != 0 ||
+ (AGS_THREAD_WAITING_FOR_SIBLING & (g_atomic_int_get(&(current->flags)))) == 0) ||
+ current->next != NULL)){
+ if(current == thread){
+ current = current->next;
+
+ continue;
+ }
+
+ pthread_cond_wait(&(current->cond),
+ &(current->mutex));
+
+ if(!((AGS_THREAD_IDLE & (g_atomic_int_get(&(current->flags)))) != 0 ||
+ (AGS_THREAD_WAITING_FOR_SIBLING & (g_atomic_int_get(&(current->flags)))) == 0)){
+ current = current->next;
+ }
+ }
+
+ /* unset flags */
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAITING_FOR_SIBLING));
+}
+
+/**
+ * ags_thread_wait_children:
+ * @thread: an #AgsThread
+ *
+ * Wait on child tree structure.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_wait_children(AgsThread *thread)
+{
+ auto void ags_thread_wait_children_recursive(AgsThread *child);
+
+ void ags_thread_wait_children_recursive(AgsThread *child){
+ gboolean initial_run;
+
+ if(child == NULL){
+ return;
+ }
+
+ initial_run = TRUE;
+
+ while(child != NULL &&
+ (((AGS_THREAD_IDLE & (g_atomic_int_get(&(child->flags)))) != 0 ||
+ (AGS_THREAD_WAITING_FOR_PARENT & (g_atomic_int_get(&(child->flags)))) == 0) ||
+ child->next != NULL)){
+ if(initial_run){
+ ags_thread_wait_children_recursive(child->children);
+
+ initial_run = FALSE;
+ }
+
+ pthread_cond_wait(&(child->cond),
+ &(child->mutex));
+
+ if(!((AGS_THREAD_IDLE & (g_atomic_int_get(&(child->flags)))) != 0 ||
+ (AGS_THREAD_WAITING_FOR_PARENT & (g_atomic_int_get(&(child->flags)))) == 0)){
+ child = child->next;
+
+ initial_run = TRUE;
+ }
+ }
+ }
+
+ if(thread == NULL){
+ return;
+ }
+
+ /* wait children */
+ ags_thread_wait_children_recursive(thread->children);
+
+ /* unset flags */
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAITING_FOR_CHILDREN));
+}
+
+/**
+ * ags_thread_signal_parent:
+ * @thread: an #AgsThread
+ * @broadcast: whether to perforam a signal or to broadcast
+ *
+ * Signals the tree in higher levels.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_signal_parent(AgsThread *thread, AgsThread *parent,
+ gboolean broadcast)
+{
+ AgsThread *current;
+
+ current = thread->parent;
+
+ while(current != NULL){
+ if((AGS_THREAD_WAIT_FOR_CHILDREN & (g_atomic_int_get(&(current->flags)))) != 0){
+ if(!broadcast){
+ pthread_cond_signal(&(current->cond));
+ }else{
+ pthread_cond_broadcast(&(current->cond));
+ }
+ }
+
+ current = current->parent;
+ }
+}
+
+/**
+ * ags_thread_signal_sibling:
+ * @thread: an #AgsThread
+ * @broadcast: whether to perforam a signal or to broadcast
+ *
+ * Signals the tree on same level.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_signal_sibling(AgsThread *thread, gboolean broadcast)
+{
+ AgsThread *current;
+
+ current = ags_thread_first(thread);
+
+ while(current != NULL){
+ if((AGS_THREAD_WAIT_FOR_SIBLING & (g_atomic_int_get(&(current->flags)))) != 0){
+ if(!broadcast){
+ pthread_cond_signal(&(current->cond));
+ }else{
+ pthread_cond_broadcast(&(current->cond));
+ }
+ }
+ }
+}
+
+/**
+ * ags_thread_signal_children:
+ * @thread: an #AgsThread
+ * @broadcast: whether to perforam a signal or to broadcast
+ *
+ * Signals the tree in lower levels.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_signal_children(AgsThread *thread, gboolean broadcast)
+{
+ auto void ags_thread_signal_children_recursive(AgsThread *thread, gboolean broadcast);
+
+ void ags_thread_signal_children_recursive(AgsThread *thread, gboolean broadcast){
+ AgsThread *current;
+
+ if(thread == NULL){
+ return;
+ }
+
+ current = thread;
+
+ while(current != NULL){
+ if((AGS_THREAD_WAIT_FOR_PARENT & (g_atomic_int_get(&(current->flags)))) != 0){
+ if(!broadcast){
+ pthread_cond_signal(&(current->cond));
+ }else{
+ pthread_cond_broadcast(&(current->cond));
+ }
+ }
+
+ ags_thread_signal_children_recursive(current, broadcast);
+
+ current = current->next;
+ }
+ }
+
+ ags_thread_signal_children(thread->children, broadcast);
+}
+
+void
+ags_thread_real_start(AgsThread *thread)
+{
+ AgsAsyncQueue *async_queue;
+ AgsMainLoop *main_loop;
+ guint val;
+
+ if(thread == NULL){
+ return;
+ }
+
+ main_loop = AGS_MAIN_LOOP(ags_thread_get_toplevel(thread));
+ async_queue = ags_main_loop_get_async_queue(main_loop);
+
+#ifdef AGS_DEBUG
+ g_message("thread start: %s\0", G_OBJECT_TYPE_NAME(thread));
+#endif
+
+ /* add to async queue */
+ // ags_async_queue_add(async_queue,
+ // AGS_STACKABLE(thread));
+
+ /* */
+ val = g_atomic_int_get(&(thread->flags));
+
+ if((AGS_THREAD_TIMELOCK_RUN & val) != 0){
+ pthread_create(&(thread->timelock_thread), NULL,
+ &(ags_thread_timelock_loop), thread);
+ }
+
+ /* */
+ pthread_create(&(thread->thread), &(thread->thread_attr),
+ &ags_thread_loop, thread);
+}
+
+/**
+ * ags_thread_start:
+ * @thread: the #AgsThread instance
+ *
+ * Start the thread.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_start(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[START], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void*
+ags_thread_loop(void *ptr)
+{
+ AgsAsyncQueue *async_queue;
+ AgsThread *thread, *main_loop;
+ gboolean is_in_sync;
+ gboolean wait_for_parent, wait_for_sibling, wait_for_children;
+ guint current_tic, next_tic;
+ guint tic;
+ guint val, running, locked_greedy;
+ guint counter, delay;
+ guint i, i_stop;
+ struct timespec time_prev, time_now;
+
+ auto void ags_thread_loop_sync(AgsThread *thread);
+
+ void ags_thread_loop_sync(AgsThread *thread){
+ if(current_tic = 2){
+ next_tic = 0;
+ }else if(current_tic = 0){
+ next_tic = 1;
+ }else if(current_tic = 1){
+ next_tic = 2;
+ }
+
+ if(next_tic = 2){
+ tic = 0;
+ }else if(next_tic = 0){
+ tic = 1;
+ }else if(next_tic = 1){
+ tic = 2;
+ }
+
+ pthread_mutex_lock(&(main_loop->mutex));
+
+ switch(current_tic){
+ case 0:
+ {
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAIT_0);
+ }
+ break;
+ case 1:
+ {
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAIT_1);
+ }
+ break;
+ case 2:
+ {
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAIT_2);
+ }
+ break;
+ }
+
+ if(!ags_thread_is_tree_ready(thread,
+ current_tic)){
+ // ags_thread_hangcheck(main_loop);
+
+ while(!ags_thread_is_current_ready(thread,
+ current_tic)){
+ pthread_mutex_unlock(&(main_loop->mutex));
+ pthread_cond_wait(&(thread->cond),
+ &(thread->mutex));
+ pthread_mutex_lock(&(main_loop->mutex));
+ }
+
+ pthread_mutex_unlock(&(main_loop->mutex));
+
+ ags_main_loop_set_last_sync(AGS_MAIN_LOOP(main_loop), current_tic);
+ ags_main_loop_set_tic(AGS_MAIN_LOOP(main_loop), next_tic);
+ }else{
+ ags_async_queue_clean(ags_main_loop_get_async_queue(main_loop));
+
+ ags_thread_set_sync_all(main_loop, current_tic);
+ pthread_mutex_unlock(&(main_loop->mutex));
+
+ ags_main_loop_set_last_sync(AGS_MAIN_LOOP(main_loop), current_tic);
+ ags_main_loop_set_tic(AGS_MAIN_LOOP(main_loop), next_tic);
+ }
+
+ current_tic = next_tic;
+ }
+
+ ags_thread_self =
+ thread = AGS_THREAD(ptr);
+
+ main_loop = ags_thread_get_toplevel(thread);
+ async_queue = ags_main_loop_get_async_queue(main_loop);
+
+ /* */
+ current_tic = ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop));
+
+ g_atomic_int_or(&(thread->flags),
+ (AGS_THREAD_RUNNING |
+ AGS_THREAD_INITIAL_RUN));
+
+ running = g_atomic_int_get(&(thread->flags));
+
+ if(thread->freq >= 1.0){
+ delay = AGS_THREAD_MAX_PRECISION / thread->freq;
+
+ i_stop = 1;
+ }else{
+ delay = 1.0 / thread->freq * AGS_THREAD_MAX_PRECISION;
+
+ i_stop = 1;
+ }
+
+ counter = 0;
+
+ clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &time_prev);
+
+ while((AGS_THREAD_RUNNING & running) != 0){
+ running = g_atomic_int_get(&(thread->flags));
+
+ if(thread->parent == NULL){
+ long time_spent;
+
+ static const long time_unit = NSEC_PER_SEC / AGS_THREAD_MAX_PRECISION;
+
+ clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &time_now);
+
+ if(time_now.tv_sec > time_prev.tv_sec){
+ time_spent = (time_now.tv_nsec);
+ }else{
+ time_spent = time_now.tv_nsec - time_prev.tv_nsec;
+ }
+
+ if(time_spent < time_unit){
+ struct timespec timed_sleep = {
+ 0,
+ 0,
+ };
+
+ if(time_spent < time_unit){
+ timed_sleep.tv_nsec = time_unit - time_spent;
+
+ nanosleep(&timed_sleep, NULL);
+ }
+ }
+
+ clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &time_prev);
+ }
+
+ if(delay >= 1.0){
+ counter++;
+
+ if(counter < delay){
+ counter++;
+
+ if((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) != 0){
+ /* unset initial run */
+ /* signal AgsAudioLoop */
+ pthread_mutex_lock(&(thread->mutex));
+
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_INITIAL_RUN));
+
+ pthread_cond_signal(&(thread->start_cond));
+
+ pthread_mutex_unlock(&(thread->mutex));
+ }else{
+ /* run in hierarchy */
+ pthread_mutex_lock(&(thread->mutex));
+
+ ags_thread_loop_sync(thread);
+
+ pthread_mutex_unlock(&(thread->mutex));
+ }
+
+ // pthread_yield();
+
+ continue;
+ }else{
+ counter = 0;
+ }
+ }else{
+ if(counter < delay){
+ counter++;
+
+ if((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) != 0){
+ /* unset initial run */
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_INITIAL_RUN));
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAIT_0));
+
+ /* signal AgsAudioLoop */
+ if(AGS_IS_TASK_THREAD(thread)){
+ pthread_cond_signal(&(thread->start_cond));
+ }
+ }else{
+ /* run in hierarchy */
+ pthread_mutex_lock(&(thread->mutex));
+
+ ags_thread_loop_sync(thread);
+
+ pthread_mutex_unlock(&(thread->mutex));
+ }
+
+ // pthread_yield();
+
+ continue;
+ }else{
+ counter = 0;
+ }
+ }
+
+ for(i = 0; i < i_stop && (AGS_THREAD_RUNNING & running) != 0; i++){
+ running = g_atomic_int_get(&(thread->flags));
+
+ /* barrier */
+ if((AGS_THREAD_WAITING_FOR_BARRIER & (g_atomic_int_get(&(thread->flags)))) != 0){
+ int wait_count;
+
+ if(thread->first_barrier){
+ /* retrieve wait count */
+ ags_thread_lock(thread);
+
+ wait_count = thread->wait_count[0];
+
+ ags_thread_unlock(thread);
+
+ /* init and wait */
+ pthread_barrier_init(&(thread->barrier[0]), NULL, wait_count);
+ pthread_barrier_wait(&(thread->barrier[0]));
+ }else{
+ /* retrieve wait count */
+ ags_thread_lock(thread);
+
+ wait_count = thread->wait_count[1];
+
+ ags_thread_unlock(thread);
+
+ /* init and wait */
+ pthread_barrier_init(&(thread->barrier[1]), NULL, wait_count);
+ pthread_barrier_wait(&(thread->barrier[1]));
+ }
+ }
+
+ if((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) == 0){
+ /* run in hierarchy */
+ pthread_mutex_lock(&(thread->mutex));
+
+ ags_thread_loop_sync(thread);
+
+ pthread_mutex_unlock(&(thread->mutex));
+ }
+
+ /* */
+ switch(current_tic){
+ case 2:
+ {
+ current_tic = 0;
+ break;
+ }
+ case 1:
+ {
+ current_tic = 2;
+ break;
+ }
+ case 0:
+ {
+ current_tic = 1;
+ break;
+ }
+ }
+
+ /* set idle flag */
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_IDLE);
+
+ if((AGS_THREAD_WAIT_FOR_PARENT & (g_atomic_int_get(&(thread->flags)))) != 0){
+ wait_for_parent = TRUE;
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAITING_FOR_PARENT);
+ ags_thread_lock_parent(thread, NULL);
+ }else{
+ wait_for_parent = FALSE;
+ }
+
+ /* lock sibling */
+ if((AGS_THREAD_WAIT_FOR_SIBLING & (g_atomic_int_get(&(thread->flags)))) != 0){
+ wait_for_sibling = TRUE;
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAITING_FOR_SIBLING);
+ ags_thread_lock_sibling(thread);
+ }else{
+ wait_for_sibling = FALSE;
+ }
+
+ /* lock_children */
+ if((AGS_THREAD_WAIT_FOR_CHILDREN & (g_atomic_int_get(&(thread->flags)))) != 0){
+ wait_for_children = TRUE;
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAITING_FOR_CHILDREN);
+ ags_thread_lock_children(thread);
+ }else{
+ wait_for_children = FALSE;
+ }
+
+ /* skip very first sync of AgsAudioLoop */
+ if((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) == 0 &&
+ !AGS_IS_MAIN_LOOP(thread)){
+
+ /* wait parent */
+ if(wait_for_parent){
+ ags_thread_wait_parent(thread, NULL);
+ }
+
+ /* wait sibling */
+ if(wait_for_sibling){
+ ags_thread_wait_sibling(thread);
+ }
+
+ /* wait children */
+ if(wait_for_children){
+ ags_thread_wait_children(thread);
+ }
+ }
+
+ /* check for greedy to announce */
+ if(thread->greedy_locks != NULL){
+ GList *greedy_locks;
+
+ greedy_locks = thread->greedy_locks;
+
+ while(greedy_locks != NULL){
+ pthread_mutex_lock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ locked_greedy = g_atomic_int_get(&(AGS_THREAD(greedy_locks->data)->locked_greedy));
+ locked_greedy++;
+
+ g_atomic_int_set(&(AGS_THREAD(greedy_locks->data)->locked_greedy),
+ locked_greedy);
+
+ pthread_mutex_unlock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ greedy_locks = greedy_locks->next;
+ }
+ }
+
+ /* greedy work around */
+ pthread_mutex_lock(&(thread->greedy_mutex));
+
+ locked_greedy = g_atomic_int_get(&(thread->locked_greedy));
+
+ if(locked_greedy != 0){
+ while(locked_greedy != 0){
+ pthread_cond_wait(&(thread->greedy_cond),
+ &(thread->greedy_mutex));
+
+ locked_greedy = g_atomic_int_get(&(thread->locked_greedy));
+ }
+ }
+
+ pthread_mutex_unlock(&(thread->greedy_mutex));
+
+
+ /* */
+ pthread_mutex_lock(&(thread->timelock_mutex));
+
+ val = g_atomic_int_get(&(thread->flags));
+
+ if((AGS_THREAD_TIMELOCK_RUN & val) != 0){
+ guint locked;
+
+ locked = g_atomic_int_get(&(thread->flags));
+
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_TIMELOCK_WAIT));
+
+ if((AGS_THREAD_TIMELOCK_WAIT & locked) != 0){
+ pthread_cond_signal(&(thread->timelock_cond));
+ }
+ }
+
+ pthread_mutex_unlock(&(thread->timelock_mutex));
+
+ /* run */
+ ags_thread_run(thread);
+ // g_printf("%s\n\0", G_OBJECT_TYPE_NAME(thread));
+
+ /* */
+ running = g_atomic_int_get(&(thread->flags));
+
+ /* check for greedy to release */
+ if(thread->greedy_locks != NULL){
+ GList *greedy_locks;
+
+ greedy_locks = thread->greedy_locks;
+
+ while(greedy_locks != NULL){
+ pthread_mutex_lock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ locked_greedy = g_atomic_int_get(&(AGS_THREAD(greedy_locks->data)->locked_greedy));
+ locked_greedy--;
+
+ g_atomic_int_set(&(AGS_THREAD(greedy_locks->data)->locked_greedy),
+ locked_greedy);
+
+ pthread_cond_signal(&(AGS_THREAD(greedy_locks->data)->greedy_cond));
+
+ pthread_mutex_unlock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ greedy_locks = greedy_locks->next;
+ }
+ }
+
+ /**/
+ ags_thread_lock(thread);
+
+ /* unset idle flag */
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_IDLE));
+
+ /* unlock parent */
+ if(wait_for_parent){
+ ags_thread_unlock_parent(thread, NULL);
+ }
+
+ /* unlock sibling */
+ if(wait_for_sibling){
+ ags_thread_unlock_sibling(thread);
+ }
+
+ /* unlock children */
+ if(wait_for_children){
+ ags_thread_unlock_children(thread);
+ }
+
+ if(thread->freq >= 1.0){
+ /* unset initial run */
+ if((AGS_THREAD_INITIAL_RUN & (g_atomic_int_get(&(thread->flags)))) != 0){
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_INITIAL_RUN));
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_WAIT_0));
+
+ /* signal AgsAudioLoop */
+ if(AGS_IS_TASK_THREAD(thread)){
+ pthread_cond_signal(&(thread->start_cond));
+ }
+ }
+ }
+
+ ags_thread_unlock(thread);
+ }
+
+ pthread_yield();
+ }
+
+ if(current_tic = 2){
+ next_tic = 0;
+ }else if(current_tic = 0){
+ next_tic = 1;
+ }else if(current_tic = 1){
+ next_tic = 2;
+ }
+
+ if(next_tic = 2){
+ tic = 0;
+ }else if(next_tic = 0){
+ tic = 1;
+ }else if(next_tic = 1){
+ tic = 2;
+ }
+
+ pthread_mutex_lock(&(main_loop->mutex));
+
+ if((AGS_THREAD_UNREF_ON_EXIT & (g_atomic_int_get(&(thread->flags)))) != 0){
+ ags_thread_remove_child(thread->parent,
+ thread);
+ }
+
+ if(ags_thread_is_tree_ready(main_loop,
+ current_tic) &&
+ current_tic == ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop))){
+
+ ags_async_queue_clean(ags_main_loop_get_async_queue(AGS_MAIN_LOOP(main_loop)));
+
+ ags_thread_set_sync_all(main_loop, current_tic);
+
+ if((AGS_THREAD_UNREF_ON_EXIT & (g_atomic_int_get(&(thread->flags)))) != 0){
+ AgsAsyncQueue *async_queue;
+
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(main_loop));
+
+ async_queue->unref_context = g_list_prepend(async_queue->unref_context,
+ thread);
+ }
+
+ pthread_mutex_unlock(&(main_loop->mutex));
+
+ ags_main_loop_set_last_sync(AGS_MAIN_LOOP(main_loop), current_tic);
+ ags_main_loop_set_tic(AGS_MAIN_LOOP(main_loop), next_tic);
+ }else{
+
+ if((AGS_THREAD_UNREF_ON_EXIT & (g_atomic_int_get(&(thread->flags)))) != 0){
+ AgsAsyncQueue *async_queue;
+
+ async_queue = ags_main_loop_get_async_queue(AGS_MAIN_LOOP(main_loop));
+
+ async_queue->unref_context = g_list_prepend(async_queue->unref_context,
+ thread);
+ }
+
+ pthread_mutex_unlock(&(main_loop->mutex));
+ }
+
+
+#ifdef AGS_DEBUG
+ g_message("thread finished\0");
+#endif
+
+
+ /* remove of AgsAsyncQueue */
+ // ags_async_queue_remove(async_queue,
+ // AGS_STACKABLE(thread));
+
+ /* exit thread */
+ pthread_exit(NULL);
+}
+
+/**
+ * ags_thread_run:
+ * @thread: the #AgsThread instance
+ *
+ * Only for internal use of ags_thread_loop but you may want to set the your very own
+ * class function namely your thread's routine.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_run(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[RUN], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void
+ags_thread_suspend(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[SUSPEND], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void
+ags_thread_resume(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[RESUME], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void*
+ags_thread_timelock_loop(void *ptr)
+{
+ AgsThread *thread;
+ int retval;
+ guint val;
+
+ thread = AGS_THREAD(ptr);
+
+ val = g_atomic_int_get(&(thread->flags));
+
+ pthread_mutex_lock(&(thread->timelock_mutex));
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_TIMELOCK_WAIT);
+
+ while((AGS_THREAD_RUNNING & (val)) != 0){
+
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_TIMELOCK_WAIT);
+
+ val = g_atomic_int_get(&(thread->flags));
+
+ while((AGS_THREAD_TIMELOCK_WAIT & (val)) != 0){
+ retval = pthread_cond_wait(&(thread->timelock_cond),
+ &(thread->timelock_mutex));
+
+ val = g_atomic_int_get(&(thread->flags));
+ }
+
+ nanosleep(&(thread->timelock), NULL);
+
+ val = g_atomic_int_get(&(thread->flags));
+
+ if((AGS_THREAD_WAIT_0 & val) != 0){
+#ifdef AGS_DEBUG
+ g_message("thread in realtime\0");
+#endif
+ }else{
+#ifdef AGS_DEBUG
+ g_message("thread timelock\0");
+#endif
+ ags_thread_timelock(thread);
+ }
+
+ val = g_atomic_int_get(&(thread->flags));
+ }
+
+ pthread_mutex_unlock(&(thread->timelock_mutex));
+}
+
+void
+ags_thread_real_timelock(AgsThread *thread)
+{
+ AgsThread *main_loop;
+ GList *greedy_locks;
+ guint locked_greedy, val;
+ guint tic, next_tic;
+
+ pthread_mutex_lock(&(thread->greedy_mutex));
+
+ tic = ags_main_loop_get_tic(AGS_MAIN_LOOP(main_loop));
+
+ if(tic = 2){
+ next_tic = 0;
+ }else if(tic = 0){
+ next_tic = 1;
+ }else if(tic = 1){
+ next_tic = 2;
+ }
+
+#if defined(AGS_PTHREAD_SUSPEND) || defined(AGS_LINUX_SIGNALS)
+ val = g_atomic_int_get(&(thread->flags));
+
+ if((AGS_THREAD_SKIP_NON_GREEDY & val) != 0){
+#endif
+ /*
+ * bad choice because throughput will suffer but it's your only choice as long
+ * pthread_suspend and pthread_resume will be missing.
+ */
+
+ ags_thread_lock(main_loop);
+ greedy_locks = thread->greedy_locks;
+
+ while(greedy_locks != NULL){
+ pthread_mutex_lock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ g_atomic_int_or(&(AGS_THREAD(greedy_locks->data)->flags),
+ (AGS_THREAD_WAIT_0 | AGS_THREAD_SKIPPED_BY_TIMELOCK));
+
+ pthread_mutex_unlock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ greedy_locks = greedy_locks->next;
+ }
+
+ ags_thread_unlock(main_loop);
+
+ if(!ags_thread_is_tree_ready(thread,
+ next_tic)){
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAIT_0);
+
+ while(!ags_thread_is_current_ready(thread,
+ next_tic)){
+ pthread_cond_wait(&(thread->cond),
+ &(thread->greedy_mutex));
+ }
+ }else{
+ ags_main_loop_set_last_sync(AGS_MAIN_LOOP(main_loop), tic);
+ ags_main_loop_set_tic(AGS_MAIN_LOOP(main_loop), next_tic);
+ ags_thread_set_sync_all(main_loop, tic);
+ }
+#if defined(AGS_PTHREAD_SUSPEND) || defined(AGS_LINUX_SIGNALS)
+ }else{
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_TIMELOCK_RESUME);
+
+ /* throughput is mandatory */
+#ifdef AGS_PTHREAD_SUSPEND
+ pthread_suspend(&(thread->thread));
+#else
+ pthread_kill(thread_id, AGS_THREAD_SUSPEND_SIG);
+#endif
+
+ /* allow non greedy to continue */
+ greedy_locks = thread->greedy_locks;
+
+ while(greedy_locks != NULL){
+ pthread_mutex_lock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ locked_greedy = g_atomic_int_get(&(AGS_THREAD(greedy_locks->data)->locked_greedy));
+
+ locked_greedy--;
+
+ g_atomic_int_set(&(AGS_THREAD(greedy_locks->data)->locked_greedy),
+ locked_greedy);
+
+ pthread_cond_signal(&(AGS_THREAD(greedy_locks->data)->greedy_cond));
+
+ pthread_mutex_unlock(&(AGS_THREAD(greedy_locks->data)->greedy_mutex));
+
+ greedy_locks = greedy_locks->next;
+ }
+
+ /* skip syncing for greedy */
+ main_loop = ags_thread_get_toplevel(thread);
+
+ if(!ags_thread_is_tree_ready(thread,
+ next_tic)){
+ g_atomic_int_or(&(thread->flags),
+ AGS_THREAD_WAIT_0);
+
+ while(!ags_thread_is_current_ready(thread,
+ next_tic)){
+ pthread_cond_wait(&(thread->cond),
+ &(thread->greedy_mutex));
+ }
+ }else{
+ ags_main_loop_set_last_sync(AGS_MAIN_LOOP(main_loop), tic);
+ ags_main_loop_set_tic(AGS_MAIN_LOOP(main_loop), next_tic);
+ ags_thread_set_sync_all(main_loop, tic);
+ }
+
+ /* your chance */
+#ifdef AGS_PTHREAD_SUSPEND
+ pthread_resume(&(thread->thread));
+#else
+ pthread_kill(thread_id, AGS_THREAD_RESUME_SIG);
+#endif
+ }
+#endif
+ pthread_mutex_unlock(&(thread->greedy_mutex));
+}
+
+void
+ags_thread_timelock(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[TIMELOCK], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+void
+ags_thread_real_stop(AgsThread *thread)
+{
+ g_atomic_int_and(&(thread->flags),
+ (~AGS_THREAD_RUNNING));
+}
+
+/**
+ * ags_thread_stop:
+ * @thread: the #AgsThread instance
+ *
+ * Stop the threads loop by unsetting AGS_THREAD_RUNNING flag.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_stop(AgsThread *thread)
+{
+ g_return_if_fail(AGS_IS_THREAD(thread));
+
+ g_object_ref(G_OBJECT(thread));
+ g_signal_emit(G_OBJECT(thread),
+ thread_signals[STOP], 0);
+ g_object_unref(G_OBJECT(thread));
+}
+
+/**
+ * ags_thread_hangcheck:
+ * @thread: the #AgsThread instance
+ *
+ * Performs hangcheck of thread.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_hangcheck(AgsThread *thread)
+{
+ AgsThread *toplevel;
+ gboolean synced[3];
+
+ auto void ags_thread_hangcheck_recursive(AgsThread *thread);
+ auto void ags_thread_hangcheck_unsync_all(AgsThread *thread, gboolean broadcast);
+
+ void ags_thread_hangcheck_recursive(AgsThread *thread){
+ AgsThread *child;
+ guint flags;
+
+ flags = g_atomic_int_get(&(thread->flags));
+
+ if((AGS_THREAD_WAIT_0 & flags) != 0){
+ synced[0] = TRUE;
+ }
+
+ if((AGS_THREAD_WAIT_1 & flags) != 0){
+ synced[1] = TRUE;
+ }
+
+ if((AGS_THREAD_WAIT_2 & flags) != 0){
+ synced[2] = TRUE;
+ }
+
+ /* iterate tree */
+ child = thread->children;
+
+ while(child != NULL){
+ ags_thread_hangcheck_recursive(child);
+
+ child = child->next;
+ }
+ }
+ void ags_thread_hangcheck_unsync_all(AgsThread *thread, gboolean broadcast){
+ AgsThread *child;
+ guint flags;
+
+ flags = g_atomic_int_get(&(thread->flags));
+ g_atomic_int_and(&(thread->flags),
+ (~(AGS_THREAD_WAIT_0 |
+ AGS_THREAD_WAIT_1 |
+ AGS_THREAD_WAIT_2)));
+
+ if(AGS_THREAD_WAIT_0 & flags){
+ if(broadcast){
+ pthread_cond_broadcast(&(thread->cond));
+ }else{
+ pthread_cond_signal(&(thread->cond));
+ }
+ }
+
+ if(AGS_THREAD_WAIT_1 & flags){
+ if(broadcast){
+ pthread_cond_broadcast(&(thread->cond));
+ }else{
+ pthread_cond_signal(&(thread->cond));
+ }
+ }
+
+ if(AGS_THREAD_WAIT_2 & flags){
+ if(broadcast){
+ pthread_cond_broadcast(&(thread->cond));
+ }else{
+ pthread_cond_signal(&(thread->cond));
+ }
+ }
+
+ /* iterate tree */
+ child = thread->children;
+
+ while(child != NULL){
+ ags_thread_hangcheck_unsync_all(child, broadcast);
+
+ child = child->next;
+ }
+ }
+
+ /* detect memory corruption */
+ synced[0] = FALSE;
+ synced[1] = FALSE;
+ synced[2] = FALSE;
+
+ /* fill synced array */
+ toplevel = ags_thread_get_toplevel(thread);
+ ags_thread_hangcheck_recursive(toplevel);
+
+ /* */
+ if(!((synced[0] && !synced[1] && !synced[2]) ||
+ (!synced[0] && synced[1] && !synced[2]) ||
+ (!synced[0] && !synced[1] && synced[2]))){
+ g_warning("thread tree hung up\0");
+
+ ags_thread_hangcheck_unsync_all(toplevel, FALSE);
+ }
+}
+
+/**
+ * ags_thread_new:
+ * @data: an #GObject
+ *
+ * Create a new #AgsThread you may provide a #gpointer as @data
+ * to your thread routine.
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_new(gpointer data)
+{
+ AgsThread *thread;
+
+ thread = (AgsThread *) g_object_new(AGS_TYPE_THREAD,
+ NULL);
+
+ thread->data = data;
+
+ return(thread);
+}
diff --git a/src/ags/thread/ags_thread-posix.h b/src/ags/thread/ags_thread-posix.h
new file mode 100644
index 0000000..131cfd8
--- /dev/null
+++ b/src/ags/thread/ags_thread-posix.h
@@ -0,0 +1,221 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_THREAD_H__
+#define __AGS_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#define _GNU_SOURCE
+
+#include <signal.h>
+#include <pthread.h>
+
+#define AGS_TYPE_THREAD (ags_thread_get_type())
+#define AGS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD, AgsThread))
+#define AGS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD, AgsThreadClass))
+#define AGS_IS_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD))
+#define AGS_IS_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD))
+#define AGS_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD, AgsThreadClass))
+
+#define AGS_ACCOUNTING_TABLE(ptr) ((AgsAccountingTable *)(ptr))
+
+#define MSEC_PER_SEC (1000000) /* The number of msecs per sec. */
+#define NSEC_PER_SEC (1000000000) /* The number of nsecs per sec. */
+#define AGS_THREAD_RESUME_SIG SIGUSR2
+#define AGS_THREAD_SUSPEND_SIG SIGUSR1
+#define AGS_THREAD_DEFAULT_JIFFIE (250)
+#define AGS_THREAD_MAX_PRECISION (1000)
+#define AGS_THREAD_DEFAULT_ATTACK (1.0)
+
+typedef struct _AgsThread AgsThread;
+typedef struct _AgsThreadClass AgsThreadClass;
+typedef struct _AgsAccountingTable AgsAccountingTable;
+
+typedef enum{
+ AGS_THREAD_RUNNING = 1,
+ AGS_THREAD_IDLE = 1 << 1,
+ AGS_THREAD_LOCKED = 1 << 2,
+ AGS_THREAD_WAIT_FOR_PARENT = 1 << 3,
+ AGS_THREAD_WAIT_FOR_SIBLING = 1 << 4,
+ AGS_THREAD_WAIT_FOR_CHILDREN = 1 << 5,
+ AGS_THREAD_WAIT_FOR_BARRIER = 1 << 6,
+ AGS_THREAD_WAITING_FOR_PARENT = 1 << 7,
+ AGS_THREAD_WAITING_FOR_SIBLING = 1 << 8,
+ AGS_THREAD_WAITING_FOR_CHILDREN = 1 << 9,
+ AGS_THREAD_WAITING_FOR_BARRIER = 1 << 10,
+ AGS_THREAD_BROADCAST_PARENT = 1 << 11,
+ AGS_THREAD_BROADCAST_SIBLING = 1 << 12,
+ AGS_THREAD_BROADCAST_CHILDREN = 1 << 13,
+ AGS_THREAD_INITIAL_RUN = 1 << 14,
+ AGS_THREAD_TREE_SYNC_0 = 1 << 15,
+ AGS_THREAD_WAIT_0 = 1 << 16,
+ AGS_THREAD_TREE_SYNC_1 = 1 << 17,
+ AGS_THREAD_WAIT_1 = 1 << 18,
+ AGS_THREAD_TREE_SYNC_2 = 1 << 19,
+ AGS_THREAD_WAIT_2 = 1 << 20,
+ AGS_THREAD_TIMELOCK_RUN = 1 << 21,
+ AGS_THREAD_TIMELOCK_WAIT = 1 << 22,
+ AGS_THREAD_TIMELOCK_RESUME = 1 << 23,
+ /*
+ * prefered way would be unlocking greedy_locks
+ * and the suspend to not become greedy
+ * but while pthread_suspend and pthread_resume
+ * are missing you need this as work-around
+ */
+ AGS_THREAD_SKIP_NON_GREEDY = 1 << 24,
+ AGS_THREAD_SKIPPED_BY_TIMELOCK = 1 << 25,
+ AGS_THREAD_LOCK_GREEDY_RUN_MUTEX = 1 << 26,
+ AGS_THREAD_SUSPENDED = 1 << 27,
+ AGS_THREAD_SINGLE_LOOP = 1 << 28,
+ AGS_THREAD_READY = 1 << 29,
+ AGS_THREAD_UNREF_ON_EXIT = 1 << 30,
+}AgsThreadFlags;
+
+struct _AgsThread
+{
+ GObject object;
+
+ volatile guint flags;
+
+ sigset_t wait_mask;
+
+ pthread_t thread;
+ pthread_attr_t thread_attr;
+
+ gdouble freq;
+
+ pthread_mutex_t mutex;
+ pthread_mutexattr_t mutexattr;
+ pthread_cond_t cond;
+
+ pthread_mutex_t start_mutex;
+ pthread_cond_t start_cond;
+
+ pthread_barrier_t barrier[2];
+ gboolean first_barrier;
+ int wait_count[2];
+
+ pthread_t timelock_thread;
+ pthread_mutex_t timelock_mutex;
+ pthread_cond_t timelock_cond;
+
+ pthread_mutex_t greedy_mutex;
+ pthread_cond_t greedy_cond;
+ pthread_mutex_t greedy_run_mutex;
+ volatile guint locked_greedy;
+
+ struct timespec timelock;
+ GList *greedy_locks;
+
+ pthread_mutex_t suspend_mutex;
+ volatile gboolean critical_region;
+
+ GObject *devout;
+ AgsThread *parent;
+
+ AgsThread *next;
+ AgsThread *prev;
+
+ AgsThread *children;
+
+ gpointer data;
+};
+
+struct _AgsThreadClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsThread *thread);
+ void (*run)(AgsThread *thread);
+ void (*suspend)(AgsThread *thread);
+ void (*resume)(AgsThread *thread);
+ void (*timelock)(AgsThread *thread);
+ void (*stop)(AgsThread *thread);
+};
+
+struct _AgsAccountingTable
+{
+ AgsThread *thread;
+ gdouble sanity;
+};
+
+GType ags_thread_get_type();
+
+AgsAccountingTable* ags_accounting_table_alloc(AgsThread *thread);
+void ags_accounting_table_set_sanity(GList *table,
+ AgsThread *thread, gdouble sanity);
+
+void ags_thread_set_sync(AgsThread *thread, guint tic);
+void ags_thread_set_sync_all(AgsThread *thread, guint tic);
+
+void ags_thread_lock(AgsThread *thread);
+gboolean ags_thread_trylock(AgsThread *thread);
+void ags_thread_unlock(AgsThread *thread);
+
+AgsThread* ags_thread_get_toplevel(AgsThread *thread);
+AgsThread* ags_thread_first(AgsThread *thread);
+AgsThread* ags_thread_last(AgsThread *thread);
+
+void ags_thread_remove_child(AgsThread *thread, AgsThread *child);
+void ags_thread_add_child(AgsThread *thread, AgsThread *child);
+
+gboolean ags_thread_parental_is_locked(AgsThread *thread, AgsThread *parent);
+gboolean ags_thread_sibling_is_locked(AgsThread *thread);
+gboolean ags_thread_children_is_locked(AgsThread *thread);
+
+gboolean ags_thread_is_current_ready(AgsThread *current,
+ guint tic);
+gboolean ags_thread_is_tree_ready(AgsThread *thread,
+ guint tic);
+
+AgsThread* ags_thread_next_parent_locked(AgsThread *thread, AgsThread *parent);
+AgsThread* ags_thread_next_sibling_locked(AgsThread *thread);
+AgsThread* ags_thread_next_children_locked(AgsThread *thread);
+
+void ags_thread_lock_parent(AgsThread *thread, AgsThread *parent);
+void ags_thread_lock_sibling(AgsThread *thread);
+void ags_thread_lock_children(AgsThread *thread);
+void ags_thread_lock_all(AgsThread *thread);
+
+void ags_thread_unlock_parent(AgsThread *thread, AgsThread *parent);
+void ags_thread_unlock_sibling(AgsThread *thread);
+void ags_thread_unlock_children(AgsThread *thread);
+void ags_thread_unlock_all(AgsThread *thread);
+
+void ags_thread_wait_parent(AgsThread *thread, AgsThread *parent);
+void ags_thread_wait_sibling(AgsThread *thread);
+void ags_thread_wait_children(AgsThread *thread);
+
+void ags_thread_signal_parent(AgsThread *thread, AgsThread *parent, gboolean broadcast);
+void ags_thread_signal_sibling(AgsThread *thread, gboolean broadcast);
+void ags_thread_signal_children(AgsThread *thread, gboolean broadcast);
+
+void ags_thread_start(AgsThread *thread);
+void ags_thread_run(AgsThread *thread);
+void ags_thread_suspend(AgsThread *thread);
+void ags_thread_resume(AgsThread *thread);
+void ags_thread_timelock(AgsThread *thread);
+void ags_thread_stop(AgsThread *thread);
+
+void ags_thread_hangcheck(AgsThread *thread);
+
+AgsThread* ags_thread_new(gpointer data);
+
+#endif /*__AGS_THREAD_H__*/
diff --git a/src/ags/thread/ags_thread_application_context.c b/src/ags/thread/ags_thread_application_context.c
new file mode 100644
index 0000000..2ada28a
--- /dev/null
+++ b/src/ags/thread/ags_thread_application_context.c
@@ -0,0 +1,211 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_audio_loop.h>
+#include <ags/thread/ags_gui_thread.h>
+#include <ags/thread/ags_autosave_thread.h>
+#include <ags/thread/ags_single_thread.h>
+
+void ags_thread_application_context_class_init(AgsThreadApplicationContextClass *thread_application_context);
+void ags_thread_application_context_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_thread_application_context_init(AgsThreadApplicationContext *thread_application_context);
+void ags_thread_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_application_context_connect(AgsConnectable *connectable);
+void ags_thread_application_context_disconnect(AgsConnectable *connectable);
+void ags_thread_application_context_finalize(GObject *gobject);
+
+static AgsConnectableInterface* ags_thread_application_context_parent_connectable_interface;
+
+GType
+ags_thread_application_context_get_type()
+{
+ static GType ags_type_thread_application_context = 0;
+
+ if(!ags_type_thread_application_context){
+ static const GTypeInfo ags_thread_application_context_info = {
+ sizeof (AgsThreadApplicationContextClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_thread_application_context_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsThreadApplicationContext),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_thread_application_context_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_thread_application_context_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_thread_application_context = g_type_register_static(AGS_TYPE_APPLICATION_CONTEXT,
+ "AgsThreadApplicationContext\0",
+ &ags_thread_application_context_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_thread_application_context,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_thread_application_context);
+}
+
+void
+ags_thread_application_context_class_init(AgsThreadApplicationContextClass *thread_application_context)
+{
+ GObjectClass *gobject;
+ AgsApplicationContextClass *application_context;
+
+ ags_thread_application_context_parent_class = g_type_class_peek_parent(ags_thread_application_context);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ags_thread_application_context;
+
+ gobject->set_property = ags_thread_application_context_set_property;
+ gobject->get_property = ags_thread_application_context_get_property;
+
+ gobject->finalize = ags_thread_application_context_finalize;
+
+ /* AgsThreadApplicationContextClass */
+ application_context = (AgsApplicationContextClass *) thread_application_context_class;
+
+ application_context->load_config = ags_thread_application_context_load_config;
+ application_context->register_types = ags_thread_application_context_register_types;
+}
+
+void
+ags_thread_application_context_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_thread_application_context_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_thread_application_context_connect;
+ connectable->disconnect = ags_thread_application_context_disconnect;
+}
+
+void
+ags_thread_application_context_init(AgsThreadApplicationContext *thread_application_context)
+{
+ thread_application_context->flags = 0;
+
+ /* AgsAutosaveThread */
+ thread_application_context->autosave_thread = NULL;
+ thread_application_context->autosave_thread = ags_autosave_thread_new(NULL, thread_application_context);
+ g_object_ref(G_OBJECT(thread_application_context->autosave_thread));
+
+ application_context->thread_pool = ags_thread_pool_new(NULL);
+}
+
+void
+ags_thread_application_context_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThreadApplicationContext *thread_application_context;
+
+ thread_application_context = AGS_THREAD_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_thread_application_context_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThreadApplicationContext *thread_application_context;
+
+ thread_application_context = AGS_THREAD_APPLICATION_CONTEXT(gobject);
+
+ switch(prop_id){
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_thread_application_context_connect(AgsConnectable *connectable)
+{
+ AgsThreadApplicationContext *thread_application_context;
+
+ thread_application_context = AGS_THREAD_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_THREAD_APPLICATION_CONTEXT_CONNECTED & (thread_application_context->flags)) != 0){
+ return;
+ }
+
+ ags_thread_application_context_parent_connectable_interface->connect(connectable);
+
+ ags_connectable_connect(AGS_CONNECTABLE(thread_application_context->autosave_thread));
+}
+
+void
+ags_thread_application_context_disconnect(AgsConnectable *connectable)
+{
+ AgsThreadApplicationContext *thread_application_context;
+
+ thread_application_context = AGS_THREAD_APPLICATION_CONTEXT(connectable);
+
+ if((AGS_THREAD_APPLICATION_CONTEXT_CONNECTED & (thread_application_context->flags)) == 0){
+ return;
+ }
+
+ ags_thread_application_context_parent_connectable_interface->disconnect(connectable);
+}
+
+void
+ags_thread_application_context_finalize(GObject *gobject)
+{
+ AgsThreadApplicationContext *thread_application_context;
+
+ G_OBJECT_CLASS(ags_thread_application_context_parent_class)->finalize(gobject);
+
+ thread_application_context = AGS_THREAD_APPLICATION_CONTEXT(gobject);
+}
+
+AgsThreadApplicationContext*
+ags_thread_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config)
+{
+ AgsThreadApplicationContext *thread_application_context;
+
+ thread_application_context = (AgsThreadApplicationContext *) g_object_new(AGS_TYPE_THREAD_APPLICATION_CONTEXT,
+ "main-loop\0", main_loop,
+ "config\0", config,
+ NULL);
+
+ return(thread_application_context);
+}
diff --git a/src/ags/thread/ags_thread_application_context.h b/src/ags/thread/ags_thread_application_context.h
new file mode 100644
index 0000000..c31fdb5
--- /dev/null
+++ b/src/ags/thread/ags_thread_application_context.h
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2015 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_THREAD_APPLICATION_CONTEXT_H__
+#define __AGS_THREAD_APPLICATION_CONTEXT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/object/ags_application_context.h>
+
+#include <ags/thread/ags_thread.h>
+#include <ags/thread/ags_thread_pool.h>
+
+#define AGS_TYPE_THREAD_APPLICATION_CONTEXT (ags_thread_application_context_get_type())
+#define AGS_THREAD_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD_APPLICATION_CONTEXT, AgsThreadApplicationContext))
+#define AGS_THREAD_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD_APPLICATION_CONTEXT, AgsThreadApplicationContextClass))
+#define AGS_IS_THREAD_APPLICATION_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD_APPLICATION_CONTEXT))
+#define AGS_IS_THREAD_APPLICATION_CONTEXT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD_APPLICATION_CONTEXT))
+#define AGS_THREAD_APPLICATION_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD_APPLICATION_CONTEXT, AgsThreadApplicationContextClass))
+
+#define AGS_THREAD_BUILD_ID "Thu Apr 2 13:04:21 GMT 2015\0"
+#define AGS_THREAD_DEFAULT_VERSION "0.4.3\0"
+
+typedef struct _AgsThreadApplicationContext AgsThreadApplicationContext;
+typedef struct _AgsThreadApplicationContextClass AgsThreadApplicationContextClass;
+
+typedef enum{
+ AGS_THREAD_APPLICATION_CONTEXT_SINGLE_THREAD = 1,
+}AgsThreadApplicationContextFlags;
+
+struct _AgsThreadApplicationContext
+{
+ AgsApplicationContextClass application_contex;
+
+ guint flags;
+
+ AgsThread *main_loop;
+ AgsThread *autosave_thread;
+ AgsThreadPool *thread_pool;
+};
+
+struct _AgsThreadApplicationContextClass
+{
+ AgsApplicationContextClass application_contex;
+};
+
+GType ags_thread_application_context_get_type();
+
+AgsThreadApplicationContext* ags_thread_application_context_new(AgsMainLoop *main_loop,
+ AgsConfig *config);
+
+#endif /*__AGS_THREAD_APPLICATION_CONTEXT_H__*/
diff --git a/src/ags/thread/ags_thread_pool.c b/src/ags/thread/ags_thread_pool.c
new file mode 100644
index 0000000..1e3109b
--- /dev/null
+++ b/src/ags/thread/ags_thread_pool.c
@@ -0,0 +1,528 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_thread_pool.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/thread/ags_returnable_thread.h>
+
+#include <stdlib.h>
+
+void ags_thread_pool_class_init(AgsThreadPoolClass *thread_pool);
+void ags_thread_pool_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_thread_pool_init(AgsThreadPool *thread_pool);
+void ags_thread_pool_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_pool_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_thread_pool_connect(AgsConnectable *connectable);
+void ags_thread_pool_disconnect(AgsConnectable *connectable);
+void ags_thread_pool_finalize(GObject *gobject);
+
+void* ags_thread_pool_creation_thread(void *ptr);
+
+void ags_thread_pool_real_start(AgsThreadPool *thread_pool);
+
+/**
+ * SECTION:ags_thread_pool
+ * @short_description: thread pool
+ * @title: AgsThreadPool
+ * @section_id:
+ * @include: ags/thread/ags_thread_pool.h
+ *
+ * The #AgsThreadPool acts as preinstantiated threads store.
+ * This can achieve enormeous performance.
+ */
+
+#define AGS_THREAD_POOL_DEFAULT_MAX_UNUSED_THREADS 16
+#define AGS_THREAD_POOL_DEFAULT_MAX_THREADS 1024
+
+enum{
+ PROP_0,
+ PROP_MAX_UNUSED_THREADS,
+ PROP_MAX_THREADS,
+};
+
+enum{
+ START,
+ LAST_SIGNAL,
+};
+
+static gpointer ags_thread_pool_parent_class = NULL;
+static guint thread_pool_signals[LAST_SIGNAL];
+
+GType
+ags_thread_pool_get_type()
+{
+ static GType ags_type_thread_pool = 0;
+
+ if(!ags_type_thread_pool){
+ static const GTypeInfo ags_thread_pool_info = {
+ sizeof (AgsThreadPoolClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_thread_pool_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsThreadPool),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_thread_pool_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_thread_pool_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_thread_pool = g_type_register_static(G_TYPE_OBJECT,
+ "AgsThreadPool\0",
+ &ags_thread_pool_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_thread_pool,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_thread_pool);
+}
+
+void
+ags_thread_pool_class_init(AgsThreadPoolClass *thread_pool)
+{
+ GObjectClass *gobject;
+ GParamSpec *param_spec;
+
+ ags_thread_pool_parent_class = g_type_class_peek_parent(thread_pool);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) thread_pool;
+
+ gobject->set_property = ags_thread_pool_set_property;
+ gobject->get_property = ags_thread_pool_get_property;
+
+ gobject->finalize = ags_thread_pool_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_uint("max-unused-threads\0",
+ "maximum unused threads\0",
+ "The maximum of unused threads.\0",
+ 1, 65535,
+ 24,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAX_UNUSED_THREADS,
+ param_spec);
+
+ param_spec = g_param_spec_uint("max-threads\0",
+ "maximum threads to use\0",
+ "The maximum of threads to be created.\0",
+ 1, 65535,
+ 1024,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_MAX_THREADS,
+ param_spec);
+
+ /* AgsThreadPoolClass */
+ thread_pool->start = ags_thread_pool_real_start;
+
+ /* signals */
+ thread_pool_signals[START] =
+ g_signal_new("start\0",
+ G_TYPE_FROM_CLASS (thread_pool),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AgsThreadPoolClass, start),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
+}
+
+void
+ags_thread_pool_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ connectable->connect = ags_thread_pool_connect;
+ connectable->disconnect = ags_thread_pool_disconnect;
+}
+
+void
+ags_thread_pool_init(AgsThreadPool *thread_pool)
+{
+ AgsThread *thread;
+ GList *list;
+ guint i;
+
+ g_atomic_int_set(&(thread_pool->flags),
+ 0);
+
+ g_atomic_int_set(&(thread_pool->max_unused_threads),
+ AGS_THREAD_POOL_DEFAULT_MAX_UNUSED_THREADS);
+ g_atomic_int_set(&(thread_pool->max_threads),
+ AGS_THREAD_POOL_DEFAULT_MAX_THREADS);
+
+ pthread_mutex_init(&(thread_pool->creation_mutex), NULL);
+ pthread_cond_init(&(thread_pool->creation_cond), NULL);
+
+ g_atomic_int_set(&(thread_pool->n_threads),
+ g_atomic_int_get(&(thread_pool->max_unused_threads)));
+ g_atomic_int_set(&(thread_pool->newly_pulled),
+ 0);
+ g_atomic_int_set(&(thread_pool->queued),
+ 0);
+
+ thread_pool->parent = NULL;
+ list = NULL;
+
+ for(i = 0; i < g_atomic_int_get(&(thread_pool->max_unused_threads)); i++){
+ thread = (AgsThread *) ags_returnable_thread_new(thread_pool);
+
+ list = g_list_prepend(list, thread);
+ }
+
+ g_atomic_pointer_set(&(thread_pool->returnable_thread),
+ list);
+ g_atomic_pointer_set(&(thread_pool->running_thread),
+ NULL);
+
+ pthread_mutex_init(&(thread_pool->pull_mutex), NULL);
+
+ pthread_mutex_init(&(thread_pool->return_mutex), NULL);
+ pthread_cond_init(&(thread_pool->return_cond), NULL);
+}
+
+void
+ags_thread_pool_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThreadPool *thread_pool;
+
+ thread_pool = AGS_THREAD_POOL(gobject);
+
+ switch(prop_id){
+ case PROP_MAX_UNUSED_THREADS:
+ {
+ g_atomic_int_set(&(thread_pool->max_unused_threads),
+ g_value_get_uint(value));
+ }
+ break;
+ case PROP_MAX_THREADS:
+ {
+ g_atomic_int_set(&(thread_pool->max_threads),
+ g_value_get_uint(value));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_thread_pool_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsThreadPool *thread_pool;
+
+ thread_pool = AGS_THREAD_POOL(gobject);
+
+ switch(prop_id){
+ case PROP_MAX_UNUSED_THREADS:
+ {
+ g_value_set_uint(value, g_atomic_int_get(&(thread_pool->max_unused_threads)));
+ }
+ break;
+ case PROP_MAX_THREADS:
+ {
+ g_value_set_uint(value, g_atomic_int_get(&(thread_pool->max_threads)));
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_thread_pool_connect(AgsConnectable *connectable)
+{
+ /* empty */
+}
+
+void
+ags_thread_pool_disconnect(AgsConnectable *connectable)
+{
+ AgsThreadPool *thread_pool;
+ GList *list;
+
+ thread_pool = AGS_THREAD_POOL(connectable);
+
+ list = g_atomic_pointer_get(&(thread_pool->returnable_thread));
+
+ //TODO:JK: implement me
+}
+
+void
+ags_thread_pool_finalize(GObject *gobject)
+{
+ AgsThreadPool *thread_pool;
+
+ thread_pool = AGS_THREAD_POOL(gobject);
+
+ ags_list_free_and_unref_link(g_atomic_pointer_get(&(thread_pool->returnable_thread)));
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_thread_pool_parent_class)->finalize(gobject);
+}
+
+void*
+ags_thread_pool_creation_thread(void *ptr)
+{
+ AgsThreadPool *thread_pool;
+ AgsThread *thread;
+ GList *tmplist;
+ guint n_threads, max_threads;
+ guint i, i_stop;
+
+ thread_pool = AGS_THREAD_POOL(ptr);
+
+#ifdef AGS_DEBUG
+ g_message("ags_thread_pool_creation_thread\0");
+#endif
+
+ while((AGS_THREAD_POOL_RUNNING & (g_atomic_int_get(&(thread_pool->flags)))) != 0){
+#ifdef AGS_DEBUG
+ g_message("ags_thread_pool_creation_thread at loopStart\0");
+#endif
+
+ pthread_mutex_lock(&(thread_pool->creation_mutex));
+
+ g_atomic_int_or(&(thread_pool->flags),
+ AGS_THREAD_POOL_READY);
+
+ while(g_atomic_int_get(&(thread_pool->newly_pulled)) == 0){
+ pthread_cond_wait(&(thread_pool->creation_cond),
+ &(thread_pool->creation_mutex));
+ }
+
+ n_threads = g_atomic_int_get(&(thread_pool->n_threads));
+ max_threads = g_atomic_int_get(&(thread_pool->max_threads));
+
+ i_stop = g_atomic_int_get(&(thread_pool->newly_pulled));
+ g_atomic_int_set(&(thread_pool->newly_pulled),
+ 0);
+
+#ifdef AGS_DEBUG
+ g_message("ags_thread_pool_creation_thread at loop0\0");
+#endif
+
+ g_atomic_int_and(&(thread_pool->flags),
+ (~AGS_THREAD_POOL_READY));
+
+ if(n_threads < max_threads){
+ for(i = 0; i < i_stop && n_threads < max_threads; i++){
+ thread = (AgsThread *) ags_returnable_thread_new(thread_pool);
+ tmplist = g_atomic_pointer_get(&(thread_pool->returnable_thread));
+ g_atomic_pointer_set(&(thread_pool->returnable_thread),
+ g_list_prepend(tmplist, thread));
+ ags_thread_add_child(AGS_THREAD(thread_pool->parent),
+ thread);
+ ags_connectable_connect(AGS_CONNECTABLE(thread));
+ g_atomic_int_inc(&(thread_pool->n_threads));
+
+ n_threads++;
+ }
+ }
+
+ pthread_mutex_unlock(&(thread_pool->creation_mutex));
+
+#ifdef AGS_DEBUG
+ g_message("ags_thread_pool_creation_thread at loopEND\0");
+#endif
+ }
+}
+
+/**
+ * ags_thread_pool_pull:
+ * @thread_pool: the #AgsThreadPool
+ *
+ * Pull a previously instantiated #AgsReturnableThread. Note this
+ * function may block until a new thread is available.
+ *
+ * Returns: a new #AgsThread
+ *
+ * Since: 0.4
+ */
+AgsThread*
+ags_thread_pool_pull(AgsThreadPool *thread_pool)
+{
+ AgsReturnableThread *returnable_thread;
+ GList *list, *tmplist;
+ guint max_threads, n_threads;
+
+ auto void ags_thread_pool_pull_running();
+
+ void ags_thread_pool_pull_running(){
+ g_atomic_int_inc(&(thread_pool->newly_pulled));
+
+ do{
+ pthread_mutex_lock(&(thread_pool->creation_mutex));
+
+ if((AGS_THREAD_POOL_READY & (g_atomic_int_get(&(thread_pool->flags)))) != 0){
+ pthread_cond_signal(&(thread_pool->creation_cond));
+ }
+
+ pthread_mutex_unlock(&(thread_pool->creation_mutex));
+
+ list = g_atomic_pointer_get(&(thread_pool->returnable_thread));
+
+ while(list != NULL){
+ returnable_thread = AGS_RETURNABLE_THREAD(list->data);
+
+ if((AGS_RETURNABLE_THREAD_IN_USE & (g_atomic_int_get(&(returnable_thread->flags)))) == 0){
+ pthread_mutex_lock(&(thread_pool->creation_mutex));
+
+ tmplist = g_atomic_pointer_get(&(thread_pool->returnable_thread));
+ g_atomic_pointer_set(&(thread_pool->returnable_thread),
+ g_list_remove(tmplist,
+ returnable_thread));
+
+ pthread_mutex_unlock(&(thread_pool->creation_mutex));
+
+ pthread_mutex_lock(&(thread_pool->pull_mutex));
+
+ tmplist = g_atomic_pointer_get(&(thread_pool->running_thread));
+ g_atomic_pointer_set(&(thread_pool->running_thread),
+ g_list_prepend(tmplist,
+ returnable_thread));
+
+ pthread_mutex_unlock(&(thread_pool->pull_mutex));
+
+ break;
+ }
+
+ list = list->next;
+ }
+ }while(list == NULL);
+ }
+
+ returnable_thread = NULL;
+
+ pthread_mutex_lock(&(thread_pool->return_mutex));
+
+ max_threads = g_atomic_int_get(&(thread_pool->max_threads));
+
+ if((n_threads = g_atomic_int_get(&(thread_pool->n_threads))) <= max_threads){
+ ags_thread_pool_pull_running();
+ }else{
+ g_atomic_int_inc(&(thread_pool->queued));
+
+ while((n_threads = g_atomic_int_get(&(thread_pool->n_threads))) > max_threads){
+ g_message("n_threads >= max_threads\0");
+
+ pthread_cond_wait(&(thread_pool->return_cond),
+ &(thread_pool->return_mutex));
+ }
+
+ g_atomic_int_dec_and_test(&(thread_pool->queued));
+ ags_thread_pool_pull_running();
+ }
+
+ if(g_atomic_int_get(&(thread_pool->queued)) > 0){
+ pthread_cond_signal(&(thread_pool->return_cond));
+ }
+
+ pthread_mutex_unlock(&(thread_pool->return_mutex));
+
+ return(AGS_THREAD(returnable_thread));
+}
+
+void
+ags_thread_pool_real_start(AgsThreadPool *thread_pool)
+{
+ GList *list;
+ gint n_threads;
+ gint i;
+
+ g_atomic_int_or(&(thread_pool->flags),
+ AGS_THREAD_POOL_RUNNING);
+
+ pthread_create(&(thread_pool->thread), NULL,
+ &(ags_thread_pool_creation_thread), thread_pool);
+
+ list = g_atomic_pointer_get(&(thread_pool->returnable_thread));
+
+ while(list != NULL){
+ ags_thread_add_child(AGS_THREAD(thread_pool->parent),
+ AGS_THREAD(list->data));
+ // ags_thread_start(AGS_THREAD(list->data));
+
+ list = list->next;
+ }
+}
+
+/**
+ * ags_thread_pool_start:
+ * @thread_pool: the #AgsThreadPool
+ *
+ * Start the thread pool.
+ *
+ * Since: 0.4
+ */
+void
+ags_thread_pool_start(AgsThreadPool *thread_pool)
+{
+ g_return_if_fail(AGS_IS_THREAD_POOL(thread_pool));
+
+ g_object_ref(G_OBJECT(thread_pool));
+ g_signal_emit(G_OBJECT(thread_pool),
+ thread_pool_signals[START], 0);
+ g_object_unref(G_OBJECT(thread_pool));
+}
+
+/**
+ * ags_thread_pool_new:
+ * @parent: the parent #AgsThread of returnable threads
+ *
+ * Create a new #AgsThreadPool.
+ *
+ * Returns: the new #AgsThreadPool
+ *
+ * Since: 0.4
+ */
+AgsThreadPool*
+ags_thread_pool_new(AgsThread *parent)
+{
+ AgsThreadPool *thread_pool;
+
+ thread_pool = (AgsThreadPool *) g_object_new(AGS_TYPE_THREAD_POOL,
+ NULL);
+
+ thread_pool->parent = parent;
+
+ return(thread_pool);
+}
diff --git a/src/ags/thread/ags_thread_pool.h b/src/ags/thread/ags_thread_pool.h
new file mode 100644
index 0000000..4e89296
--- /dev/null
+++ b/src/ags/thread/ags_thread_pool.h
@@ -0,0 +1,91 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_THREAD_POOL_H__
+#define __AGS_THREAD_POOL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <ags/object/ags_main_loop.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#define AGS_TYPE_THREAD_POOL (ags_thread_pool_get_type())
+#define AGS_THREAD_POOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_THREAD_POOL, AgsThreadPool))
+#define AGS_THREAD_POOL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_THREAD_POOL, AgsThreadPoolClass))
+#define AGS_IS_THREAD_POOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_THREAD_POOL))
+#define AGS_IS_THREAD_POOL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_THREAD_POOL))
+#define AGS_THREAD_POOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_THREAD_POOL, AgsThreadPoolClass))
+
+typedef struct _AgsThreadPool AgsThreadPool;
+typedef struct _AgsThreadPoolClass AgsThreadPoolClass;
+
+typedef enum{
+ AGS_THREAD_POOL_RUNNING = 1,
+ AGS_THREAD_POOL_READY = 1 << 1,
+}AgsThreadPoolFlags;
+
+struct _AgsThreadPool
+{
+ GObject object;
+
+ volatile guint flags;
+
+ volatile guint max_unused_threads;
+ volatile guint max_threads;
+
+ pthread_t thread;
+
+ pthread_mutex_t creation_mutex;
+ pthread_cond_t creation_cond;
+
+ volatile guint n_threads;
+ volatile guint newly_pulled;
+ volatile guint queued;
+
+ AgsThread *parent;
+ volatile GList *returnable_thread;
+ volatile GList *running_thread;
+
+ pthread_mutex_t pull_mutex;
+
+ pthread_mutex_t return_mutex;
+ pthread_cond_t return_cond;
+};
+
+struct _AgsThreadPoolClass
+{
+ GObjectClass object;
+
+ void (*start)(AgsThreadPool *thread_pool);
+};
+
+GType ags_thread_pool_get_type();
+
+AgsThread* ags_thread_pool_pull(AgsThreadPool *thread_pool);
+
+void ags_thread_pool_start(AgsThreadPool *thread_pool);
+
+AgsThreadPool* ags_thread_pool_new(AgsThread *parent);
+
+#endif /*__AGS_THREAD_POOL_H__*/
diff --git a/src/ags/thread/ags_timestamp_thread.c b/src/ags/thread/ags_timestamp_thread.c
new file mode 100644
index 0000000..e56daa9
--- /dev/null
+++ b/src/ags/thread/ags_timestamp_thread.c
@@ -0,0 +1,171 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/thread/ags_timestamp_thread.h>
+
+#include <ags-lib/object/ags_connectable.h>
+
+#include <ags/audio/ags_timestamp.h>
+#include <ags/audio/ags_devout.h>
+
+void ags_timestamp_thread_class_init(AgsTimestampThreadClass *timestamp_thread);
+void ags_timestamp_thread_connectable_interface_init(AgsConnectableInterface *connectable);
+void ags_timestamp_thread_init(AgsTimestampThread *timestamp_thread);
+void ags_timestamp_thread_connect(AgsConnectable *connectable);
+void ags_timestamp_thread_disconnect(AgsConnectable *connectable);
+void ags_timestamp_thread_finalize(GObject *gobject);
+
+void ags_timestamp_thread_run(AgsThread *thread);
+
+static gpointer ags_timestamp_thread_parent_class = NULL;
+static AgsConnectableInterface *ags_timestamp_thread_parent_connectable_interface;
+
+GType
+ags_timestamp_thread_get_type()
+{
+ static GType ags_type_timestamp_thread = 0;
+
+ if(!ags_type_timestamp_thread){
+ static const GTypeInfo ags_timestamp_thread_info = {
+ sizeof (AgsTimestampThreadClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_timestamp_thread_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof (AgsTimestampThread),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_timestamp_thread_init,
+ };
+
+ static const GInterfaceInfo ags_connectable_interface_info = {
+ (GInterfaceInitFunc) ags_timestamp_thread_connectable_interface_init,
+ NULL, /* interface_finalize */
+ NULL, /* interface_data */
+ };
+
+ ags_type_timestamp_thread = g_type_register_static(AGS_TYPE_THREAD,
+ "AgsTimestampThread\0",
+ &ags_timestamp_thread_info,
+ 0);
+
+ g_type_add_interface_static(ags_type_timestamp_thread,
+ AGS_TYPE_CONNECTABLE,
+ &ags_connectable_interface_info);
+ }
+
+ return (ags_type_timestamp_thread);
+}
+
+void
+ags_timestamp_thread_class_init(AgsTimestampThreadClass *timestamp_thread)
+{
+ GObjectClass *gobject;
+ AgsThreadClass *thread;
+ GParamSpec *param_spec;
+
+ ags_timestamp_thread_parent_class = g_type_class_peek_parent(timestamp_thread);
+
+ /* GObject */
+ gobject = (GObjectClass *) timestamp_thread;
+
+ gobject->finalize = ags_timestamp_thread_finalize;
+
+ /* AgsThread */
+ thread = (AgsThreadClass *) timestamp_thread;
+
+ thread->run = ags_timestamp_thread_run;
+}
+
+void
+ags_timestamp_thread_connectable_interface_init(AgsConnectableInterface *connectable)
+{
+ ags_timestamp_thread_parent_connectable_interface = g_type_interface_peek_parent(connectable);
+
+ connectable->connect = ags_timestamp_thread_connect;
+ connectable->disconnect = ags_timestamp_thread_disconnect;
+}
+
+void
+ags_timestamp_thread_init(AgsTimestampThread *timestamp_thread)
+{
+ timestamp_thread->current_timestamp = ags_timestamp_new();
+ timestamp_thread->current_latency = ags_timestamp_new();
+}
+
+void
+ags_timestamp_thread_connect(AgsConnectable *connectable)
+{
+ AgsThread *thread;
+
+ thread = AGS_THREAD(connectable);
+
+ ags_timestamp_thread_parent_connectable_interface->connect(connectable);
+
+ /* empty */
+}
+
+void
+ags_timestamp_thread_disconnect(AgsConnectable *connectable)
+{
+ ags_timestamp_thread_parent_connectable_interface->disconnect(connectable);
+
+ /* empty */
+}
+
+void
+ags_timestamp_thread_finalize(GObject *gobject)
+{
+ AgsTimestampThread *timestamp_thread;
+
+ timestamp_thread = AGS_TIMESTAMP_THREAD(gobject);
+
+ /* */
+ G_OBJECT_CLASS(ags_timestamp_thread_parent_class)->finalize(gobject);
+}
+
+void
+ags_timestamp_thread_run(AgsThread *thread)
+{
+ AgsTimestampThread *timestamp_thread;
+ AgsDevout *devout;
+ guint duration;
+ time_t timer;
+
+ timestamp_thread = AGS_TIMESTAMP_THREAD(thread);
+ devout = AGS_DEVOUT(thread->devout);
+
+ duration = (devout->tic_counter /
+ (devout->frequency / devout->buffer_size) *
+ AGS_MICROSECONDS_PER_SECOND);
+
+ timer = time(&(AGS_TIMESTAMP(timestamp_thread->current_timestamp)->timer.unix_time.time_val));
+ AGS_TIMESTAMP(timestamp_thread->current_latency)->timer.unix_time.time_val = timer - duration;
+ AGS_TIMESTAMP(timestamp_thread->timestamp)->timer.unix_time.time_val = duration;
+}
+
+AgsTimestampThread*
+ags_timestamp_thread_new()
+{
+ AgsTimestampThread *timestamp_thread;
+
+ timestamp_thread = (AgsTimestampThread *) g_object_new(AGS_TYPE_TIMESTAMP_THREAD,
+ NULL);
+
+ return(timestamp_thread);
+}
diff --git a/src/ags/thread/ags_timestamp_thread.h b/src/ags/thread/ags_timestamp_thread.h
new file mode 100644
index 0000000..17e784c
--- /dev/null
+++ b/src/ags/thread/ags_timestamp_thread.h
@@ -0,0 +1,70 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TIMESTAMP_THREAD_H__
+#define __AGS_TIMESTAMP_THREAD_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#ifdef AGS_USE_LINUX_THREADS
+#include <ags/thread/ags_thread-kthreads.h>
+#else
+#include <ags/thread/ags_thread-posix.h>
+#endif
+
+#define AGS_TYPE_TIMESTAMP_THREAD (ags_timestamp_thread_get_type())
+#define AGS_TIMESTAMP_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMESTAMP_THREAD, AgsTimestampThread))
+#define AGS_TIMESTAMP_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_TIMESTAMP_THREAD, AgsTimestampThread))
+#define AGS_IS_TIMESTAMP_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TIMESTAMP_THREAD))
+#define AGS_IS_TIMESTAMP_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_TIMESTAMP_THREAD))
+#define AGS_TIMESTAMP_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_TIMESTAMP_THREAD, AgsTimestampThreadClass))
+
+#define AGS_MICROSECONDS_PER_SECOND (1000000.0)
+#define AGS_TIMESTAMP_THREAD_DEFAULT_BPM (120.0)
+#define AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE (44100.0)
+#define AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE (256.0)
+#define AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE (AGS_MICROSECONDS_PER_SECOND * \
+ 60.0 / AGS_TIMESTAMP_THREAD_DEFAULT_BPM)
+#define AGS_TIMESTAMP_THREAD_DEFAULT_TIC (AGS_TIMESTAMP_THREAD_DEFAULT_JIFFIE / \
+ AGS_TIMESTAMP_THREAD_DEFAULT_SAMPLERATE / AGS_TIMESTAMP_THREAD_DEFAULT_BUFFER_SIZE)
+
+typedef struct _AgsTimestampThread AgsTimestampThread;
+typedef struct _AgsTimestampThreadClass AgsTimestampThreadClass;
+
+struct _AgsTimestampThread
+{
+ AgsThread thread;
+
+ GObject *current_timestamp;
+ GObject *current_latency;
+
+ GObject *timestamp;
+};
+
+struct _AgsTimestampThreadClass
+{
+ AgsThreadClass thread;
+};
+
+GType ags_timestamp_thread_get_type();
+
+AgsTimestampThread* ags_timestamp_thread_new();
+
+#endif /*__AGS_TIMESTAMP_THREAD_H__*/
+
diff --git a/src/ags/util/Makefile b/src/ags/util/Makefile
new file mode 100644
index 0000000..9d176ed
--- /dev/null
+++ b/src/ags/util/Makefile
@@ -0,0 +1,462 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/util/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/util
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/util
+abs_srcdir = /usr/src/ags-devel/src/ags/util
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+deprecated_ags_util_h_sources =
+ags_util_h_sources = \
+ $(deprecated_ags_util_h_sources) \
+ ags_util.h
+
+deprecated_ags_util_c_sources =
+ags_util_c_sources = \
+ $(deprecated_ags_util_c_sources) \
+ ags_util.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/util/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/util/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/util/Makefile.am b/src/ags/util/Makefile.am
new file mode 100644
index 0000000..be20b19
--- /dev/null
+++ b/src/ags/util/Makefile.am
@@ -0,0 +1,11 @@
+deprecated_ags_util_h_sources =
+
+ags_util_h_sources = \
+ $(deprecated_ags_util_h_sources) \
+ ags_util.h
+
+deprecated_ags_util_c_sources =
+
+ags_util_c_sources = \
+ $(deprecated_ags_util_c_sources) \
+ ags_util.c
diff --git a/src/ags/util/Makefile.in b/src/ags/util/Makefile.in
new file mode 100644
index 0000000..c536de5
--- /dev/null
+++ b/src/ags/util/Makefile.in
@@ -0,0 +1,462 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/util
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+deprecated_ags_util_h_sources =
+ags_util_h_sources = \
+ $(deprecated_ags_util_h_sources) \
+ ags_util.h
+
+deprecated_ags_util_c_sources =
+ags_util_c_sources = \
+ $(deprecated_ags_util_c_sources) \
+ ags_util.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/util/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/util/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/util/ags_id_generator.c b/src/ags/util/ags_id_generator.c
new file mode 100644
index 0000000..b89d186
--- /dev/null
+++ b/src/ags/util/ags_id_generator.c
@@ -0,0 +1,43 @@
+#include <ags/util/ags_id_generator.h>
+
+#include <stdlib.h>
+
+#include <uuid/uuid.h>
+
+/**
+ * SECTION:ags_id_generator
+ * @short_description: UUID util functions
+ * @title: AgsIdGenerator
+ * @section_id:
+ * @include: ags/util/ags_id_generator.h
+ *
+ * Functions related to UUID.
+ */
+
+#define AGS_ID_GENERATOR_DEFAULT_UUID_LENGTH 36
+
+/**
+ * ags_id_generator_create_uuid:
+ *
+ * Creates an new string containing UUID.
+ *
+ * Returns: a new string
+ *
+ * Since: 0.4
+ */
+gchar*
+ags_id_generator_create_uuid()
+{
+ uuid_t out;
+ gchar *uuid_str;
+
+ /* make sure uuid is really unique */
+ while(uuid_generate_time_safe(out) != 0);
+
+ /* create a string representation */
+ uuid_str = (gchar *) malloc((AGS_ID_GENERATOR_DEFAULT_UUID_LENGTH + 1) * sizeof(gchar));
+ uuid_unparse(out, uuid_str);
+ uuid_str[AGS_ID_GENERATOR_DEFAULT_UUID_LENGTH] = '\0';
+
+ return(uuid_str);
+}
diff --git a/src/ags/util/ags_id_generator.h b/src/ags/util/ags_id_generator.h
new file mode 100644
index 0000000..1fecb08
--- /dev/null
+++ b/src/ags/util/ags_id_generator.h
@@ -0,0 +1,8 @@
+#ifndef __AGS_ID_GENERATOR_H__
+#define __AGS_ID_GENERATOR_H__
+
+#include <glib.h>
+
+gchar* ags_id_generator_create_uuid();
+
+#endif /*__AGS_ID_GENERATOR_H__*/
diff --git a/src/ags/widget/Makefile b/src/ags/widget/Makefile
new file mode 100644
index 0000000..51265ee
--- /dev/null
+++ b/src/ags/widget/Makefile
@@ -0,0 +1,494 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# src/ags/widget/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/gsequencer
+pkgincludedir = $(includedir)/gsequencer
+pkglibdir = $(libdir)/gsequencer
+pkglibexecdir = $(libexecdir)/gsequencer
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = src/ags/widget
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/src/ags-devel/missing aclocal-1.14
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+AR = ar
+AS = as
+AUTOCONF = ${SHELL} /usr/src/ags-devel/missing autoconf
+AUTOHEADER = ${SHELL} /usr/src/ags-devel/missing autoheader
+AUTOMAKE = ${SHELL} /usr/src/ags-devel/missing automake-1.14
+AWK = gawk
+CAIRO_CFLAGS = -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/X11/include
+CAIRO_LIBS = -lcairo
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+FGREP = /bin/grep -F
+GDKPIXBUF_CFLAGS = -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GDKPIXBUF_LIBS = -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
+GOBJECT_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+GOBJECT_LIBS = -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0
+GREP = /bin/grep
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/X11/include
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBAO_CFLAGS =
+LIBAO_LIBS = -lao
+LIBASOUND2_CFLAGS = -I/usr/include/alsa
+LIBASOUND2_LIBS = -lasound
+LIBINSTPATCH_CFLAGS = -I/usr/include/libinstpatch-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+LIBINSTPATCH_LIBS = -linstpatch-1.0 -lgobject-2.0 -lglib-2.0 -lsndfile
+LIBOBJS =
+LIBS = -lrt -lm -lgmp
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIBXML2_CFLAGS = -I/usr/include/libxml2
+LIBXML2_LIBS = -lxml2
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/src/ags-devel/missing makeinfo
+MANIFEST_TOOL = :
+MKDIR_P = /bin/mkdir -p
+NM = /usr/bin/nm -B
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+PACKAGE = gsequencer
+PACKAGE_BUGREPORT = weedlight at gmail.com
+PACKAGE_NAME = gsequencer
+PACKAGE_STRING = gsequencer 0.4.3
+PACKAGE_TARNAME = gsequencer
+PACKAGE_URL =
+PACKAGE_VERSION = 0.4.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig
+RANLIB = ranlib
+SED = /bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SNDFILE_CFLAGS =
+SNDFILE_LIBS = -lsndfile
+STRIP = strip
+UUID_CFLAGS = -I/usr/include/uuid
+UUID_LIBS = -luuid
+VERSION = 0.4.3
+XMKMF =
+abs_builddir = /usr/src/ags-devel/src/ags/widget
+abs_srcdir = /usr/src/ags-devel/src/ags/widget
+abs_top_builddir = /usr/src/ags-devel
+abs_top_srcdir = /usr/src/ags-devel
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /usr/src/ags-devel/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+subdirs = po doc src/ags src/ags/X src/ags/X/editor src/ags/X/machine src/ags/audio src/ags/audio/file src/ags/audio/recall src/ags/audio/task src/ags/audio/task/recall src/ags/file src/ags/lib src/ags/object src/ags/plugin src/ags/server src/ags/thread src/ags/util src/ags/widget
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../../
+top_builddir = ../../..
+top_srcdir = ../../..
+odeprecated_ags_widget_h_sources =
+ags_widget_h_sources = \
+ $(deprecated_ags_widget_h_sources) \
+ ags_cartesian.h \
+ ags_dial.h \
+ ags_expander.h \
+ ags_expander_set.h \
+ ags_hindicator.h \
+ ags_htimebar.h \
+ ags_indicator.h \
+ ags_led.h \
+ ags_menu.h \
+ ags_menu_item.h \
+ ags_option_menu.h \
+ ags_ruler.h \
+ ags_segment.h \
+ ags_table.h \
+ ags_timebar.h \
+ ags_vindicator.h \
+ ags_waveform.h
+
+deprecated_ags_widget_c_sources =
+ags_widget_c_sources = \
+ $(deprecated_ags_widget_c_sources) \
+ ags_cartesian.c \
+ ags_dial.c \
+ ags_expander.c \
+ ags_expander_set.c \
+ ags_hindicator.c \
+ ags_htimebar.c \
+ ags_indicator.c \
+ ags_led.c \
+ ags_menu.c \
+ ags_menu_item.c \
+ ags_option_menu.c \
+ ags_ruler.c \
+ ags_segment.c \
+ ags_table.c \
+ ags_timebar.c \
+ ags_vindicator.c \
+ ags_waveform.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/widget/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/widget/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/widget/Makefile.am b/src/ags/widget/Makefile.am
new file mode 100644
index 0000000..4204164
--- /dev/null
+++ b/src/ags/widget/Makefile.am
@@ -0,0 +1,43 @@
+odeprecated_ags_widget_h_sources =
+
+ags_widget_h_sources = \
+ $(deprecated_ags_widget_h_sources) \
+ ags_cartesian.h \
+ ags_dial.h \
+ ags_expander.h \
+ ags_expander_set.h \
+ ags_hindicator.h \
+ ags_htimebar.h \
+ ags_indicator.h \
+ ags_led.h \
+ ags_menu.h \
+ ags_menu_item.h \
+ ags_option_menu.h \
+ ags_ruler.h \
+ ags_segment.h \
+ ags_table.h \
+ ags_timebar.h \
+ ags_vindicator.h \
+ ags_waveform.h
+
+deprecated_ags_widget_c_sources =
+
+ags_widget_c_sources = \
+ $(deprecated_ags_widget_c_sources) \
+ ags_cartesian.c \
+ ags_dial.c \
+ ags_expander.c \
+ ags_expander_set.c \
+ ags_hindicator.c \
+ ags_htimebar.c \
+ ags_indicator.c \
+ ags_led.c \
+ ags_menu.c \
+ ags_menu_item.c \
+ ags_option_menu.c \
+ ags_ruler.c \
+ ags_segment.c \
+ ags_table.c \
+ ags_timebar.c \
+ ags_vindicator.c \
+ ags_waveform.c
diff --git a/src/ags/widget/Makefile.in b/src/ags/widget/Makefile.in
new file mode 100644
index 0000000..49d20ef
--- /dev/null
+++ b/src/ags/widget/Makefile.in
@@ -0,0 +1,494 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src/ags/widget
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_ at AM_V@)
+am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_ at AM_V@)
+am__v_GEN_ = $(am__v_GEN_ at AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_ at AM_V@)
+am__v_at_ = $(am__v_at_ at AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_LIBS = @CAIRO_LIBS@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GDKPIXBUF_CFLAGS = @GDKPIXBUF_CFLAGS@
+GDKPIXBUF_LIBS = @GDKPIXBUF_LIBS@
+GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
+GOBJECT_LIBS = @GOBJECT_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBAO_CFLAGS = @LIBAO_CFLAGS@
+LIBAO_LIBS = @LIBAO_LIBS@
+LIBASOUND2_CFLAGS = @LIBASOUND2_CFLAGS@
+LIBASOUND2_LIBS = @LIBASOUND2_LIBS@
+LIBINSTPATCH_CFLAGS = @LIBINSTPATCH_CFLAGS@
+LIBINSTPATCH_LIBS = @LIBINSTPATCH_LIBS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
+LIBXML2_LIBS = @LIBXML2_LIBS@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+UUID_CFLAGS = @UUID_CFLAGS@
+UUID_LIBS = @UUID_LIBS@
+VERSION = @VERSION@
+XMKMF = @XMKMF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+odeprecated_ags_widget_h_sources =
+ags_widget_h_sources = \
+ $(deprecated_ags_widget_h_sources) \
+ ags_cartesian.h \
+ ags_dial.h \
+ ags_expander.h \
+ ags_expander_set.h \
+ ags_hindicator.h \
+ ags_htimebar.h \
+ ags_indicator.h \
+ ags_led.h \
+ ags_menu.h \
+ ags_menu_item.h \
+ ags_option_menu.h \
+ ags_ruler.h \
+ ags_segment.h \
+ ags_table.h \
+ ags_timebar.h \
+ ags_vindicator.h \
+ ags_waveform.h
+
+deprecated_ags_widget_c_sources =
+ags_widget_c_sources = \
+ $(deprecated_ags_widget_c_sources) \
+ ags_cartesian.c \
+ ags_dial.c \
+ ags_expander.c \
+ ags_expander_set.c \
+ ags_hindicator.c \
+ ags_htimebar.c \
+ ags_indicator.c \
+ ags_led.c \
+ ags_menu.c \
+ ags_menu_item.c \
+ ags_option_menu.c \
+ ags_ruler.c \
+ ags_segment.c \
+ ags_table.c \
+ ags_timebar.c \
+ ags_vindicator.c \
+ ags_waveform.c
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ags/widget/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/ags/widget/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/ags/widget/ags_cartesian.c b/src/ags/widget/ags_cartesian.c
new file mode 100644
index 0000000..0d7a298
--- /dev/null
+++ b/src/ags/widget/ags_cartesian.c
@@ -0,0 +1,78 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_cartesian.h"
+
+void ags_cartesian_class_init(AgsCartesianClass *cartesian);
+void ags_cartesian_init(AgsCartesian *cartesian);
+void ags_cartesian_show(GtkWidget *widget);
+
+static gpointer ags_cartesian_parent_class = NULL;
+
+GType
+ags_cartesian_get_type(void)
+{
+ static GType ags_type_cartesian = 0;
+
+ if(!ags_type_cartesian){
+ static const GTypeInfo ags_cartesian_info = {
+ sizeof(AgsCartesianClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_cartesian_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsCartesian),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_cartesian_init,
+ };
+
+ ags_type_cartesian = g_type_register_static(GTK_TYPE_WIDGET,
+ "AgsCartesian\0", &ags_cartesian_info,
+ 0);
+ }
+
+ return(ags_type_cartesian);
+}
+
+void
+ags_cartesian_class_init(AgsCartesianClass *cartesian)
+{
+ GtkWidgetClass *widget;
+
+ ags_cartesian_parent_class = g_type_class_peek_parent(cartesian);
+}
+
+void
+ags_cartesian_init(AgsCartesian *cartesian)
+{
+ g_object_set(G_OBJECT(cartesian),
+ "app-paintable\0", TRUE,
+ NULL);
+}
+
+AgsCartesian*
+ags_cartesian_new()
+{
+ AgsCartesian *cartesian;
+
+ cartesian = (AgsCartesian *) g_object_new(AGS_TYPE_CARTESIAN,
+ NULL);
+
+ return(cartesian);
+}
diff --git a/src/ags/widget/ags_cartesian.h b/src/ags/widget/ags_cartesian.h
new file mode 100644
index 0000000..24a6d29
--- /dev/null
+++ b/src/ags/widget/ags_cartesian.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_CARTESIAN_H__
+#define __AGS_CARTESIAN_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_CARTESIAN (ags_cartesian_get_type())
+#define AGS_CARTESIAN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CARTESIAN, AgsCartesian))
+#define AGS_CARTESIAN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CARTESIAN, AgsCartesianClass))
+#define AGS_IS_CARTESIAN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CARTESIAN))
+#define AGS_IS_CARTESIAN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CARTESIAN))
+#define AGS_CARTESIAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CARTESIAN, AgsCartesianClass))
+
+typedef struct _AgsCartesian AgsCartesian;
+typedef struct _AgsCartesianClass AgsCartesianClass;
+
+struct _AgsCartesian
+{
+ GtkWidget widget;
+};
+
+struct _AgsCartesianClass
+{
+ GtkWidgetClass widget;
+};
+
+GType ags_cartesian_get_type(void);
+
+AgsCartesian* ags_cartesian_new();
+
+#endif /*__AGS_CARTESIAN_H__*/
+
diff --git a/src/ags/widget/ags_dial.c b/src/ags/widget/ags_dial.c
new file mode 100644
index 0000000..2753c98
--- /dev/null
+++ b/src/ags/widget/ags_dial.c
@@ -0,0 +1,798 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_dial.h"
+
+#include <stdlib.h>
+#include <math.h>
+
+void ags_dial_class_init(AgsDialClass *dial);
+void ags_dial_init(AgsDial *dial);
+void ags_dial_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_dial_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_dial_show(GtkWidget *widget);
+
+void ags_dial_map(GtkWidget *widget);
+void ags_dial_realize(GtkWidget *widget);
+void ags_dial_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+void ags_dial_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation);
+gboolean ags_dial_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+gboolean ags_dial_button_press(GtkWidget *widget,
+ GdkEventButton *event);
+gboolean ags_dial_button_release(GtkWidget *widget,
+ GdkEventButton *event);
+gboolean ags_dial_motion_notify(GtkWidget *widget,
+ GdkEventMotion *event);
+
+void ags_dial_draw(AgsDial *dial);
+void* ags_dial_idle(void *dial0);
+
+/**
+ * SECTION:ags_dial
+ * @short_description: A dial widget
+ * @title: AgsDial
+ * @section_id:
+ * @include: ags/widget/ags_dial.h
+ *
+ * #AgsDial is a widget representing a #GtkAdjustment.
+ */
+
+enum{
+ PROP_0,
+ PROP_ADJUSTMENT,
+};
+
+static gpointer ags_dial_parent_class = NULL;
+
+GType
+ags_dial_get_type(void)
+{
+ static GType ags_type_dial = 0;
+
+ if(!ags_type_dial){
+ static const GTypeInfo ags_dial_info = {
+ sizeof(AgsDialClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_dial_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsDial),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_dial_init,
+ };
+
+ ags_type_dial = g_type_register_static(GTK_TYPE_WIDGET,
+ "AgsDial\0", &ags_dial_info,
+ 0);
+ }
+
+ return(ags_type_dial);
+}
+
+void
+ags_dial_class_init(AgsDialClass *dial)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_dial_parent_class = g_type_class_peek_parent(dial);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) dial;
+
+ gobject->set_property = ags_dial_set_property;
+ gobject->get_property = ags_dial_get_property;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) dial;
+
+ // widget->map = ags_dial_map;
+ widget->realize = ags_dial_realize;
+ widget->expose_event = ags_dial_expose;
+ widget->size_request = ags_dial_size_request;
+ widget->size_allocate = ags_dial_size_allocate;
+ widget->button_press_event = ags_dial_button_press;
+ widget->button_release_event = ags_dial_button_release;
+ widget->motion_notify_event = ags_dial_motion_notify;
+ widget->show = ags_dial_show;
+
+ /* properties */
+ param_spec = g_param_spec_object("adjustment\0",
+ "assigned adjustment\0",
+ "The adjustment it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_ADJUSTMENT,
+ param_spec);
+}
+
+void
+ags_dial_init(AgsDial *dial)
+{
+ g_object_set(G_OBJECT(dial),
+ "app-paintable\0", TRUE,
+ NULL);
+
+ dial->flags = 0; //AGS_DIAL_WITH_BUTTONS;
+
+ dial->adjustment = NULL;
+
+ dial->radius = 8;
+ dial->scale_precision = AGS_DIAL_DEFAULT_PRECISION;
+ dial->outline_strength = 4;
+
+ dial->font_size = 14;
+ dial->button_width = 0;
+ dial->button_height = 0;
+ dial->margin_left = 4.0;
+ dial->margin_right = 4.0;
+
+ dial->tolerance = 0.9;
+ dial->negated_tolerance = 1.1;
+
+ dial->gravity_x = 0.0;
+ dial->gravity_y = 0.0;
+ dial->current_x = 0.0;
+ dial->current_y = 0.0;
+}
+
+void
+ags_dial_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsDial *dial;
+
+ dial = AGS_DIAL(gobject);
+
+ switch(prop_id){
+ case PROP_ADJUSTMENT:
+ {
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) g_value_get_object(value);
+
+ if(dial->adjustment == adjustment)
+ return;
+
+ if(dial->adjustment != NULL){
+ g_object_unref(G_OBJECT(dial->adjustment));
+ }
+
+ if(adjustment != NULL){
+ g_object_ref(G_OBJECT(adjustment));
+ }
+
+ dial->adjustment = (GObject *) adjustment;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_dial_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsDial *dial;
+
+ dial = AGS_DIAL(gobject);
+
+ switch(prop_id){
+ case PROP_ADJUSTMENT:
+ g_value_set_object(value, dial->adjustment);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_dial_map(GtkWidget *widget)
+{
+ if (gtk_widget_get_realized (widget) && !gtk_widget_get_mapped (widget)) {
+ GTK_WIDGET_CLASS (ags_dial_parent_class)->map(widget);
+
+ gdk_window_show(widget->window);
+ ags_dial_draw(widget);
+ }
+}
+
+void
+ags_dial_realize(GtkWidget *widget)
+{
+ AgsDial *dial;
+ GdkWindowAttr attributes;
+ gint attributes_mask;
+ gint buttons_width;
+ gint border_left, border_top;
+
+ g_return_if_fail (widget != NULL);
+ g_return_if_fail (AGS_IS_DIAL (widget));
+
+ dial = AGS_DIAL(widget);
+
+ gtk_widget_set_realized (widget, TRUE);
+
+ /* calculate some display dependend fields */
+ buttons_width = 0;
+
+ if((AGS_DIAL_WITH_BUTTONS & (dial->flags)) != 0){
+ cairo_t *cr;
+ cairo_text_extents_t te_up, te_down;
+
+ cr = gdk_cairo_create(widget->parent->window);
+
+ cairo_select_font_face (cr, "Georgia\0",
+ CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
+ cairo_set_font_size (cr, (gdouble) dial->font_size);
+ cairo_text_extents (cr, "-\0", &te_down);
+ cairo_text_extents (cr, "+\0", &te_up);
+
+ if(te_down.width < te_up.width){
+ dial->button_width = te_up.width * 3;
+ }else{
+ dial->button_width = te_down.width * 3;
+ }
+
+ buttons_width = 2 * dial->button_width;
+
+ if(te_down.height < te_up.height){
+ dial->button_height = te_up.height * 2;
+ }else{
+ dial->button_height = te_down.height * 2;
+ }
+
+ cairo_destroy(cr);
+ }
+
+ /* */
+ attributes.window_type = GDK_WINDOW_CHILD;
+
+ attributes.x = widget->allocation.x;
+ attributes.y = widget->allocation.y;
+ attributes.width = widget->allocation.width;
+ attributes.height = widget->allocation.height;
+
+ attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
+
+ attributes.window_type = GDK_WINDOW_CHILD;
+
+ attributes.wclass = GDK_INPUT_OUTPUT;
+ attributes.visual = gtk_widget_get_visual (widget);
+ attributes.colormap = gtk_widget_get_colormap (widget);
+ attributes.event_mask = gtk_widget_get_events (widget);
+ attributes.event_mask |= (GDK_EXPOSURE_MASK |
+ GDK_BUTTON_PRESS_MASK |
+ GDK_BUTTON_RELEASE_MASK |
+ GDK_BUTTON1_MOTION_MASK |
+ GDK_BUTTON3_MOTION_MASK |
+ GDK_POINTER_MOTION_HINT_MASK |
+ GDK_POINTER_MOTION_MASK |
+ GDK_ENTER_NOTIFY_MASK |
+ GDK_LEAVE_NOTIFY_MASK);
+
+ widget->window = gdk_window_new (gtk_widget_get_parent_window (widget),
+ &attributes, attributes_mask);
+ gdk_window_set_user_data (widget->window, dial);
+
+ widget->style = gtk_style_attach (widget->style, widget->window);
+ gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
+
+ gtk_widget_queue_resize (widget);
+}
+
+void
+ags_dial_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_dial_parent_class)->show(widget);
+}
+
+void
+ags_dial_size_request(GtkWidget *widget,
+ GtkRequisition *requisition)
+{
+ GTK_WIDGET_CLASS(ags_dial_parent_class)->size_request(widget, requisition);
+
+ /* implement me */
+ //TODO:JK:
+}
+
+void
+ags_dial_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation)
+{
+ GTK_WIDGET_CLASS(ags_dial_parent_class)->size_allocate(widget, allocation);
+
+ /* implement me */
+ //TODO:JK:
+}
+
+gboolean
+ags_dial_expose(GtkWidget *widget,
+ GdkEventExpose *event)
+{
+ ags_dial_draw(AGS_DIAL(widget));
+
+ return(FALSE);
+}
+
+gboolean
+ags_dial_button_press(GtkWidget *widget,
+ GdkEventButton *event)
+{
+ AgsDial *dial;
+ gint border_left, border_top;
+ gint dial_left_position;
+ auto gboolean ags_dial_button_press_is_down_event();
+ auto gboolean ags_dial_button_press_is_up_event();
+ auto gboolean ags_dial_button_press_is_dial_event();
+ gboolean ags_dial_button_press_is_down_event(){
+ if(event->x >= border_left &&
+ event->x <= border_left + dial->button_width &&
+ event->y >= border_top + 2 * dial->radius + 2 * dial->outline_strength - dial->button_height &&
+ event->y <= border_top + 2 * dial->radius + 2 * dial->outline_strength){
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+ }
+ gboolean ags_dial_button_press_is_up_event(){
+ gint offset;
+
+ offset = border_left + dial->button_width + 2 * dial->radius + dial->margin_left + dial->margin_right;
+
+ if(event->x >= offset &&
+ event->x <= offset + dial->button_width &&
+ event->y >= border_top + 2 * dial->radius + 2 * dial->outline_strength - dial->button_height &&
+ event->y <= border_top + 2 * dial->radius + 2 * dial->outline_strength){
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+ }
+ gboolean ags_dial_button_press_is_dial_event(){
+ if(event->x >= dial_left_position &&
+ event->x <= dial_left_position + 2 * dial->radius + 2 * dial->outline_strength){
+ if((cos(event->y) < 0.0 && cos(event->y) >= -1.0) ||
+ (sin(event->y) > 0.0 && sin(event->y) <= 1.0) ||
+ (cos(event->y) < 0.0 && sin(event->y) >= -1.0) ||
+ (sin(event->y) < 0.0 && cos(event->y) >= -1.0)){
+ return(TRUE);
+ }else{
+ return(FALSE);
+ }
+ }else{
+ return(FALSE);
+ }
+ }
+
+ // GTK_WIDGET_CLASS(ags_dial_parent_class)->button_press_event(widget, event);
+
+ dial = AGS_DIAL(widget);
+ dial->flags |= AGS_DIAL_MOUSE_BUTTON_PRESSED;
+
+ //TODO:JK: retrieve borders
+ border_left = 0;
+ border_top = 0;
+
+ if((AGS_DIAL_WITH_BUTTONS & (dial->flags)) != 0){
+ if(ags_dial_button_press_is_down_event()){
+ dial->flags |= AGS_DIAL_BUTTON_DOWN_PRESSED;
+ }else if(ags_dial_button_press_is_up_event()){
+ dial->flags |= AGS_DIAL_BUTTON_UP_PRESSED;
+ }else{
+ dial_left_position = border_left + dial->button_width;
+
+ if(ags_dial_button_press_is_dial_event()){
+ dial->flags |= AGS_DIAL_MOTION_CAPTURING;
+ }
+ }
+ }else{
+ dial_left_position = border_left;
+
+ if(ags_dial_button_press_is_dial_event()){
+ dial->gravity_x = event->x;
+ dial->gravity_y = event->y;
+ dial->current_x = event->x;
+ dial->current_y = event->y;
+
+ dial->flags |= AGS_DIAL_MOTION_CAPTURING_INIT;
+ dial->flags |= AGS_DIAL_MOTION_CAPTURING;
+ }
+ }
+
+ return(FALSE);
+}
+
+gboolean
+ags_dial_button_release(GtkWidget *widget,
+ GdkEventButton *event)
+{
+ AgsDial *dial;
+
+ // GTK_WIDGET_CLASS(ags_dial_parent_class)->button_release_event(widget, event);
+
+ dial = AGS_DIAL(widget);
+ dial->flags &= (~AGS_DIAL_MOUSE_BUTTON_PRESSED);
+
+ if((AGS_DIAL_BUTTON_DOWN_PRESSED & (dial->flags)) != 0){
+ GtkAdjustment *adjustment;
+
+ adjustment = dial->adjustment;
+
+ if(adjustment->value > adjustment->lower){
+ gtk_adjustment_set_value(adjustment,
+ adjustment->value - adjustment->step_increment);
+
+ ags_dial_draw(dial);
+ }
+
+ dial->flags &= (~AGS_DIAL_BUTTON_DOWN_PRESSED);
+ }else if((AGS_DIAL_BUTTON_UP_PRESSED & (dial->flags)) != 0){
+ GtkAdjustment *adjustment;
+
+ adjustment = dial->adjustment;
+
+ if(adjustment->value < adjustment->upper){
+ gtk_adjustment_set_value(adjustment,
+ adjustment->value + adjustment->step_increment);
+
+ ags_dial_draw(dial);
+ }
+
+ dial->flags &= (~AGS_DIAL_BUTTON_UP_PRESSED);
+ }else if((AGS_DIAL_MOTION_CAPTURING & (dial->flags)) != 0){
+ dial->flags &= (~AGS_DIAL_MOTION_CAPTURING);
+ }
+
+ return(FALSE);
+}
+
+gboolean
+ags_dial_motion_notify(GtkWidget *widget,
+ GdkEventMotion *event)
+{
+ AgsDial *dial;
+ auto void ags_dial_motion_notify_do_dial();
+ void ags_dial_motion_notify_do_dial(){
+ GtkAdjustment *adjustment;
+ gboolean gravity_up;
+
+ adjustment = dial->adjustment;
+
+ if(dial->gravity_y < dial->current_y){
+ if(dial->gravity_x < dial->current_x){
+ gravity_up = ((dial->gravity_x - dial->current_x) * dial->tolerance < (dial->gravity_y - dial->current_y) * dial->tolerance) ? TRUE: FALSE;
+ }else{
+ gravity_up = (-1 * (dial->gravity_x - dial->current_x) * dial->tolerance < (dial->gravity_y - dial->current_y) * dial->tolerance) ? TRUE: FALSE;
+ }
+ }else{
+ if(dial->gravity_x < dial->current_x){
+ gravity_up = ((dial->gravity_x - dial->current_x) * dial->tolerance < -1 * (dial->gravity_y - dial->current_y) * dial->tolerance) ? TRUE: FALSE;
+ }else{
+ gravity_up = ((dial->gravity_x - dial->current_x) * dial->tolerance < (dial->gravity_y - dial->current_y) * dial->tolerance) ? TRUE: FALSE;
+ }
+ }
+
+ if(!gravity_up){
+ if(adjustment->value > adjustment->lower){
+ gtk_adjustment_set_value(adjustment,
+ adjustment->value - adjustment->step_increment);
+
+ ags_dial_draw(dial);
+ }
+ }else{
+ if(adjustment->value < adjustment->upper){
+ gtk_adjustment_set_value(adjustment,
+ adjustment->value + adjustment->step_increment);
+
+ ags_dial_draw(dial);
+ }
+ }
+ }
+
+ // GTK_WIDGET_CLASS(ags_dial_parent_class)->motion_notify_event(widget, event);
+
+ dial = AGS_DIAL(widget);
+
+ if((AGS_DIAL_MOTION_CAPTURING & (dial->flags)) != 0){
+ if((AGS_DIAL_MOTION_CAPTURING_INIT & (dial->flags)) != 0){
+ dial->current_x = event->x;
+ dial->current_y = event->y;
+
+ dial->flags &= (~AGS_DIAL_MOTION_CAPTURING_INIT);
+
+ ags_dial_motion_notify_do_dial();
+ }else{
+ dial->gravity_x = dial->current_x;
+ dial->gravity_y = dial->current_y;
+ dial->current_x = event->x;
+ dial->current_y = event->y;
+
+ ags_dial_motion_notify_do_dial();
+ }
+ }
+
+ return(FALSE);
+}
+
+/**
+ * ags_dial_draw:
+ * @dial an #AgsDial
+ *
+ * draws the widget
+ */
+void
+ags_dial_draw(AgsDial *dial)
+{
+ GtkWidget *widget;
+ cairo_t *cr;
+ cairo_text_extents_t te_up, te_down;
+ gdouble button_width, button_height, margin_left, margin_right;
+ gdouble radius, outline_strength;
+ gdouble unused;
+ gdouble scale_area, scale_width, scale_inverted_width;
+ gdouble starter_angle;
+ gdouble translated_value;
+ gdouble range;
+ guint scale_precision;
+ guint i;
+
+ widget = GTK_WIDGET(dial);
+
+ cr = gdk_cairo_create(widget->window);
+
+ radius = (gdouble) dial->radius;
+ outline_strength = (gdouble) dial->outline_strength;
+
+ margin_left = (gdouble) dial->margin_left;
+ margin_right = (gdouble) dial->margin_right;
+
+ cairo_select_font_face (cr, "Georgia\0",
+ CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
+ cairo_set_font_size (cr, (gdouble) dial->font_size);
+ cairo_text_extents (cr, "-\0", &te_down);
+ cairo_text_extents (cr, "+\0", &te_up);
+
+ button_width = dial->button_width;
+ button_height = dial->button_height;
+
+ if((AGS_DIAL_WITH_BUTTONS & (dial->flags)) != 0){
+ /* draw controller button down */
+ cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 1.0);
+ cairo_set_line_width(cr, 2.0);
+
+ cairo_rectangle(cr,
+ 1.0, (2.0 * radius) - button_height + outline_strength,
+ button_width, button_height);
+ cairo_stroke(cr);
+
+ cairo_move_to (cr,
+ 1.0 + 0.5 - te_down.width / 2.0 - te_down.x_bearing + button_width / 2.25,
+ 0.5 - te_down.height / 2.0 - te_down.y_bearing + (radius * 2.0) - button_height / 2.0 + outline_strength);
+ cairo_show_text (cr, "-\0");
+ }
+
+
+ /* border fill */
+ cairo_set_source_rgba(cr, 1.0, 1.0, 1.0, 1.0);
+ cairo_set_line_width(cr, 3.0);
+ cairo_arc (cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + outline_strength,
+ radius + 2.0,
+ -1.0 * M_PI,
+ 1.0 * M_PI);
+ cairo_stroke(cr);
+
+ /* background */
+ cairo_set_source_rgba(cr, 0.5, 0.3, 0.9, 1.0);
+ cairo_arc (cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + outline_strength,
+ radius,
+ -1.0 * M_PI,
+ 1.0 * M_PI);
+ cairo_fill(cr);
+
+ /* light effect */
+ cairo_set_source_rgba(cr, 1.0, 1.0, 1.0, 0.3);
+
+ cairo_line_to(cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + 2.0 * outline_strength - 2.0 - outline_strength);
+ cairo_line_to(cr,
+ 1.0 + sin(-1 * (0.35 * M_PI) / (0.65 * M_PI)) + button_width + margin_left + radius,
+ cos((0.65 * M_PI) / (0.35 * M_PI)) + radius + 2.0 * outline_strength - 1.0);
+ cairo_line_to(cr,
+ 1.0 + sin((0.65 * M_PI) / (0.35 * M_PI)) + button_width + margin_left + radius,
+ -1 * cos((0.35 * M_PI) / (0.65 * M_PI)) + radius + 2.0 * outline_strength - 1.0);
+ cairo_close_path(cr);
+
+ cairo_arc (cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + outline_strength,
+ radius,
+ 0.35 * M_PI,
+ 0.65 * M_PI);
+ cairo_fill(cr);
+
+ cairo_line_to(cr,
+ 1.0 + cos((0.65 * M_PI) / (0.35 * M_PI)) + button_width + margin_left + radius,
+ -1 * sin((0.35 * M_PI) / (0.65 * M_PI)) + radius + 2.0 * outline_strength - 1.0);
+ cairo_line_to(cr,
+ 1.0 + -1 * cos((0.35 * M_PI) / (0.65 * M_PI)) + button_width + margin_left + radius,
+ sin((0.65 * M_PI) / (0.35 * M_PI)) + radius + 2.0 * outline_strength - 1.0);
+ cairo_line_to(cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + 2.0 * outline_strength - 1.0);
+ cairo_close_path(cr);
+
+ cairo_arc (cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + outline_strength,
+ radius,
+ -0.65 * M_PI,
+ -0.35 * M_PI);
+ cairo_fill(cr);
+
+ /* outline */
+ cairo_set_source_rgba(cr, 0.0, 0.0, 0.0, 1.0);
+ // cairo_set_line_width(cr, 1.0 - (2.0 / M_PI));
+ cairo_set_line_width(cr, 1.0);
+ cairo_arc (cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + outline_strength,
+ radius,
+ -1.0 * M_PI,
+ 1.0 * M_PI);
+ cairo_stroke(cr);
+
+ /* scale */
+ cairo_set_source_rgba(cr, 0.0, 0.0, 0.0, 1.0);
+ cairo_set_line_width(cr, 3.0);
+
+ unused = 0.25 * 2.0 * M_PI;
+ starter_angle = (2.0 * M_PI - unused) * 0.5;
+
+ scale_precision = (gdouble) dial->scale_precision;
+ scale_inverted_width = (2.0 * (radius + outline_strength) * M_PI - ((radius + outline_strength) * unused)) / scale_precision - 4.0;
+ scale_width = (2.0 * (radius + outline_strength) * M_PI - ((radius + outline_strength) * unused)) / scale_precision - scale_inverted_width;
+
+ scale_inverted_width /= (radius + outline_strength);
+ scale_width /= (radius + outline_strength);
+
+ for(i = 0; i <= scale_precision; i++){
+ cairo_arc (cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + outline_strength,
+ radius + outline_strength / M_PI,
+ starter_angle + ((gdouble) i * scale_inverted_width) + ((gdouble) i * scale_width),
+ starter_angle + ((gdouble) i * scale_inverted_width) + ((gdouble) i * scale_width) + scale_width);
+ cairo_stroke(cr);
+ }
+
+ /* draw value */
+ if(dial->adjustment->upper >= 0.0 && dial->adjustment->lower >= 0.0){
+ range = (dial->adjustment->upper - dial->adjustment->lower);
+ }else if(dial->adjustment->upper < 0.0 && dial->adjustment->lower < 0.0){
+ range = -1.0 * (dial->adjustment->lower - dial->adjustment->upper);
+ }else{
+ range = (dial->adjustment->upper - dial->adjustment->lower);
+ }
+
+ if(range == 0.0){
+ g_warning("ags_dial.c: range = 0, lower = %f, upper = %f\0", dial->adjustment->lower, dial->adjustment->upper);
+ return;
+ }
+
+ if(dial->adjustment->lower < 0.0){
+ translated_value = (gdouble) scale_precision * (dial->adjustment->value - dial->adjustment->lower) / range;
+ }else{
+ translated_value = (gdouble) scale_precision * (dial->adjustment->value + dial->adjustment->lower) / range;
+ }
+
+ // g_message("value: %f\nupper: %f\ntranslated_value: %f\n\0", GTK_RANGE(dial)->adjustment->value, GTK_RANGE(dial)->adjustment->upper, translated_value);
+ cairo_set_line_width(cr, 4.0);
+ cairo_set_source_rgba (cr, 0.6, 0.0, 0.0, 1.0);
+
+ cairo_arc (cr,
+ 1.0 + button_width + margin_left + radius,
+ radius + outline_strength,
+ radius - (outline_strength + 4.0) / M_PI,
+ starter_angle + (translated_value * scale_inverted_width) + (translated_value * scale_width),
+ starter_angle + (translated_value * scale_inverted_width) + (translated_value * scale_width) + scale_width);
+ cairo_stroke(cr);
+
+
+ if((AGS_DIAL_WITH_BUTTONS & (dial->flags)) != 0){
+ /* draw controller button up */
+ cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 1.0);
+ cairo_set_line_width(cr, 2.0);
+
+ cairo_rectangle(cr,
+ 1.0 + (2.0 * radius) + button_width + margin_left + margin_right,
+ (2.0 * radius) - button_height + outline_strength,
+ button_width, button_height);
+ cairo_set_line_join(cr, CAIRO_LINE_JOIN_MITER);
+ cairo_stroke(cr);
+
+ cairo_move_to (cr,
+ 1.0 + 0.5 - te_up.width / 2.0 - te_up.x_bearing + (radius * 2.0) + margin_left + margin_right + button_width + button_width / 2.25,
+ 0.5 - te_up.height / 2.0 - te_up.y_bearing + (radius * 2.0) - button_height / 2.0 + outline_strength);
+ cairo_show_text (cr, "+\0");
+ }
+
+ cairo_destroy(cr);
+}
+
+void*
+ags_dial_idle(void *dial0)
+{
+ AgsDial *dial;
+
+ dial = AGS_DIAL(dial0);
+
+ usleep(dial->sleep_interval);
+ dial->flags &= (~AGS_DIAL_IDLE);
+
+ return(NULL);
+}
+
+/**
+ * ags_dial_new:
+ *
+ * Creates an #AgsDial
+ *
+ * Returns: a new #AgsDial
+ *
+ * Since: 0.4
+ */
+AgsDial*
+ags_dial_new()
+{
+ AgsDial *dial;
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0);
+
+ dial = (AgsDial *) g_object_new(AGS_TYPE_DIAL,
+ "adjustment\0", adjustment,
+ NULL);
+
+ return(dial);
+}
diff --git a/src/ags/widget/ags_dial.h b/src/ags/widget/ags_dial.h
new file mode 100644
index 0000000..6da1ee5
--- /dev/null
+++ b/src/ags/widget/ags_dial.h
@@ -0,0 +1,89 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_DIAL_H__
+#define __AGS_DIAL_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define __USE_UNIX98
+#include <pthread.h>
+
+#define AGS_TYPE_DIAL (ags_dial_get_type())
+#define AGS_DIAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DIAL, AgsDial))
+#define AGS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DIAL, AgsDialClass))
+#define AGS_IS_DIAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_DIAL))
+#define AGS_IS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DIAL))
+#define AGS_DIAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DIAL, AgsDialClass))
+
+#define AGS_DIAL_DEFAULT_PRECISION (8.0)
+
+typedef struct _AgsDial AgsDial;
+typedef struct _AgsDialClass AgsDialClass;
+
+typedef enum{
+ AGS_DIAL_WITH_BUTTONS = 1,
+ AGS_DIAL_MOUSE_BUTTON_PRESSED = 1 << 1,
+ AGS_DIAL_BUTTON_DOWN_PRESSED = 1 << 2,
+ AGS_DIAL_BUTTON_UP_PRESSED = 1 << 3,
+ AGS_DIAL_MOTION_CAPTURING_INIT = 1 << 4,
+ AGS_DIAL_MOTION_CAPTURING = 1 << 5,
+ AGS_DIAL_IDLE = 1 << 6,
+}AgsDialFlags;
+
+struct _AgsDial
+{
+ GtkWidget widget;
+
+ guint flags;
+
+ guint radius;
+ guint outline_strength;
+ guint scale_precision;
+
+ guint font_size;
+ gint button_width;
+ gint button_height;
+ gint margin_left;
+ gint margin_right;
+
+ gdouble tolerance;
+ gdouble negated_tolerance;
+
+ gint sleep_interval;
+
+ GtkAdjustment *adjustment;
+
+ gdouble gravity_x;
+ gdouble gravity_y;
+ gdouble current_x;
+ gdouble current_y;
+};
+
+struct _AgsDialClass
+{
+ GtkWidgetClass widget;
+};
+
+GType ags_dial_get_type(void);
+
+AgsDial* ags_dial_new();
+
+#endif /*__AGS_DIAL_H__*/
diff --git a/src/ags/widget/ags_expander.c b/src/ags/widget/ags_expander.c
new file mode 100644
index 0000000..3adaf09
--- /dev/null
+++ b/src/ags/widget/ags_expander.c
@@ -0,0 +1,541 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_expander.h"
+
+#include <ags/lib/ags_list.h>
+
+#include <stdlib.h>
+
+void ags_expander_class_init(AgsExpanderClass *expander);
+void ags_expander_init(AgsExpander *expander);
+void ags_expander_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_expander_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_expander_finalize(GObject *gobject);
+void ags_expander_show(GtkWidget *widget);
+
+void ags_expander_realize(GtkWidget *widget);
+void ags_expander_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+void ags_expander_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation);
+gboolean ags_expander_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+
+void ags_expander_activate(GtkExpander *expander);
+
+void ags_expander_width_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpander *expander);
+void ags_expander_height_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpander *expander);
+
+void ags_expander_draw(AgsExpander *expander);
+void ags_expander_insert_child(AgsExpander *expander,
+ AgsExpanderChild *child);
+void ags_expander_remove_child(AgsExpander *expander,
+ AgsExpanderChild *child);
+
+/**
+ * SECTION:ags_expander
+ * @short_description: A expander widget
+ * @title: AgsExpander
+ * @section_id:
+ * @include: ags/widget/ags_expander.h
+ *
+ * #AgsExpander is a composite widget containing a #GtkTable. It
+ * is mainly used to layout childs in rows and columns that can
+ * be expanded.
+ */
+
+enum{
+ PROP_0,
+ PROP_WIDTH,
+ PROP_HEIGHT,
+ PROP_CHILD,
+};
+
+static gpointer ags_expander_parent_class = NULL;
+
+GType
+ags_expander_get_type(void)
+{
+ static GType ags_type_expander = 0;
+
+ if(!ags_type_expander){
+ static const GTypeInfo ags_expander_info = {
+ sizeof(AgsExpanderClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_expander_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsExpander),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_expander_init,
+ };
+
+ ags_type_expander = g_type_register_static(GTK_TYPE_EXPANDER,
+ "AgsExpander\0", &ags_expander_info,
+ 0);
+ }
+
+ return(ags_type_expander);
+}
+
+void
+ags_expander_class_init(AgsExpanderClass *expander)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GtkExpanderClass *parent;
+ GParamSpec *param_spec;
+
+ ags_expander_parent_class = g_type_class_peek_parent(expander);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(expander);
+
+ gobject->set_property = ags_expander_set_property;
+ gobject->get_property = ags_expander_get_property;
+
+ gobject->finalize = ags_expander_finalize;
+
+ /* properties */
+ param_spec = g_param_spec_uint("width\0",
+ "width of expander grid\0",
+ "The width of the expander's grid\0",
+ 0, G_MAXUINT,
+ 1,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_WIDTH,
+ param_spec);
+
+ param_spec = g_param_spec_uint("height\0",
+ "height of expander\0",
+ "The height which this expander is packed into\0",
+ 0, G_MAXUINT,
+ 1,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_HEIGHT,
+ param_spec);
+
+ param_spec = g_param_spec_object("child\0",
+ "child of expander\0",
+ "The child which this expander is packed into\0",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_CHILD,
+ param_spec);
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) expander;
+
+ // widget->realize = ags_expander_realize;
+ // widget->expose_event = ags_expander_expose;
+ // widget->size_request = ags_expander_size_request;
+ // widget->size_allocate = ags_expander_size_allocate;
+
+ /* GtkExpanderClass */
+ parent = (GtkExpanderClass *) expander;
+
+ parent->activate = ags_expander_activate;
+}
+
+void
+ags_expander_init(AgsExpander *expander)
+{
+ g_object_set(G_OBJECT(expander),
+ "app-paintable\0", TRUE,
+ NULL);
+
+ g_signal_connect(expander, "notify::width\0",
+ G_CALLBACK(ags_expander_width_changed),
+ expander);
+ g_signal_connect(expander, "notify::height\0",
+ G_CALLBACK(ags_expander_height_changed),
+ expander);
+
+ expander->flags = 0;
+
+ expander->table = (GtkTable *) gtk_table_new(2, 2, FALSE);
+ gtk_container_add(GTK_CONTAINER(expander),
+ GTK_WIDGET(expander->table));
+
+ expander->children = NULL;
+}
+
+void
+ags_expander_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExpander *expander;
+
+ expander = AGS_EXPANDER(gobject);
+
+ switch(prop_id){
+ case PROP_WIDTH:
+ {
+ guint width, height;
+
+ gtk_table_get_size(expander->table,
+ &width, &height);
+
+ width = g_value_get_uint(value);
+
+ gtk_table_resize(expander->table,
+ width, height);
+ }
+ break;
+ case PROP_HEIGHT:
+ {
+ guint width, height;
+
+ gtk_table_get_size(expander->table,
+ &width, &height);
+
+ height = g_value_get_uint(value);
+
+ gtk_table_resize(expander->table,
+ width, height);
+ }
+ break;
+ case PROP_CHILD:
+ {
+ AgsExpanderChild *child;
+
+ child = (AgsExpanderChild *) g_value_get_pointer(value);
+
+ ags_expander_insert_child(expander,
+ child);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_expander_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExpander *expander;
+
+ expander = AGS_EXPANDER(gobject);
+
+ switch(prop_id){
+ case PROP_WIDTH:
+ {
+ guint width, height;
+
+ gtk_table_get_size(expander->table,
+ &width, &height);
+
+ g_value_set_uint(value, width);
+ }
+ break;
+ case PROP_HEIGHT:
+ {
+ guint width, height;
+
+ gtk_table_get_size(expander->table,
+ &width, &height);
+
+ g_value_set_uint(value, height);
+ }
+ break;
+ case PROP_CHILD:
+ g_value_set_pointer(value, expander->children);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_expander_finalize(GObject *gobject)
+{
+ AgsExpander *expander;
+
+ expander = AGS_EXPANDER(gobject);
+
+ if(expander->children != NULL){
+ ags_list_free_and_free_link(expander->children);
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_expander_parent_class)->finalize(gobject);
+}
+
+void
+ags_expander_realize(GtkWidget *widget)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_size_request(GtkWidget *widget,
+ GtkRequisition *requisition)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation)
+{
+ //TODO:JK: implement me
+}
+
+gboolean
+ags_expander_expose(GtkWidget *widget,
+ GdkEventExpose *event)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_activate(GtkExpander *expander)
+{
+ GTK_EXPANDER_CLASS(ags_expander_parent_class)->activate(expander);
+
+ if(gtk_expander_get_expanded(expander)){
+ gtk_widget_show_all(GTK_WIDGET(AGS_EXPANDER(expander)->table));
+ }else{
+ gtk_widget_hide(GTK_WIDGET(AGS_EXPANDER(expander)->table));
+ }
+}
+
+void
+ags_expander_width_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpander *expander)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_height_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpander *expander)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_flags(AgsExpander *expander,
+ guint flags)
+{
+ //TODO:JK: implement me
+}
+
+AgsExpanderChild*
+ags_expander_child_alloc(guint x, guint y,
+ guint width, guint height)
+{
+ AgsExpanderChild *child;
+
+ child = (AgsExpanderChild *) malloc(sizeof(AgsExpanderChild));
+
+ child->x = x;
+ child->y = y;
+ child->width = width;
+ child->height = height;
+
+ return(child);
+}
+
+void
+ags_expander_draw(AgsExpander *expander)
+{
+ //TODO:JK: implement me
+}
+
+AgsExpanderChild*
+ags_expander_child_find(AgsExpander *expander,
+ GtkWidget *child)
+{
+ GList *list;
+
+ list = expander->children;
+
+ while(list != NULL){
+ if(AGS_EXPANDER_CHILD(list->data)->child == child){
+ return((AgsExpanderChild *) list->data);
+ }
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+void
+ags_expander_insert_child(AgsExpander *expander,
+ AgsExpanderChild *child)
+{
+ GList *list;
+ guint i;
+
+ list = expander->children;
+
+ i = 0;
+
+ while(list != NULL){
+ if(AGS_EXPANDER_CHILD(list->data)->x > child->x){
+ break;
+ }
+
+ if(AGS_EXPANDER_CHILD(list->data)->x == child->x){
+ while(list != NULL){
+ if(AGS_EXPANDER_CHILD(list->data)->x > child->x){
+ break;
+ }
+
+ if(AGS_EXPANDER_CHILD(list->data)->x == child->x &&
+ AGS_EXPANDER_CHILD(list->data)->y >= child->y){
+ break;
+ }
+
+ i++;
+ list = list->next;
+ }
+
+ break;
+ }
+
+ i++;
+ list = list->next;
+ }
+
+ gtk_table_attach(expander->table,
+ child->child,
+ child->x, child->x + child->width,
+ child->y, child->y + child->height,
+ 0,
+ 0,
+ 0, 0);
+
+ expander->children = g_list_insert(expander->children,
+ child,
+ i);
+}
+
+void
+ags_expander_remove_child(AgsExpander *expander,
+ AgsExpanderChild *child)
+{
+ gtk_container_remove(GTK_CONTAINER(expander->table),
+ child->child);
+
+ expander->children = g_list_remove(expander->children,
+ child);
+
+ free(child);
+}
+
+/**
+ * ags_expander_add:
+ * @expander: the #AgsExpander
+ * @widget: the child #GtkWidget
+ * @x: x-position
+ * @y: y-position
+ * @width: allocation width
+ * @height: allocation height
+ *
+ * Adds a #GtkWidget to #AgsExpander
+ *
+ * Since: 0.4
+ */
+void
+ags_expander_add(AgsExpander *expander,
+ GtkWidget *widget,
+ guint x, guint y,
+ guint width, guint height)
+{
+ AgsExpanderChild *child;
+
+ child = ags_expander_child_alloc(x, y,
+ width, height);
+ child->child = widget;
+
+ ags_expander_insert_child(expander,
+ child);
+
+ if(GTK_WIDGET_VISIBLE(expander)){
+ gtk_widget_show_all(child->child);
+ }
+}
+
+/**
+ * ags_expander_remove:
+ * @expander: the #AgsExpander
+ * @widget: the child #GtkWidget
+ *
+ * Removes a #GtkWidget of #AgsExpander
+ *
+ * Since: 0.4
+ */
+void
+ags_expander_remove(AgsExpander *expander,
+ GtkWidget *widget)
+{
+ ags_expander_remove_child(expander,
+ ags_expander_child_find(expander,
+ widget));
+}
+
+/**
+ * ags_expander_new:
+ * @height: the table's height
+ * @width: the table's width
+ *
+ * Creates an #AgsExpander
+ *
+ * Returns: a new #AgsExpander
+ *
+ * Since: 0.4
+ */
+AgsExpander*
+ags_expander_new(guint width, guint height)
+{
+ AgsExpander *expander;
+
+ expander = (AgsExpander *) g_object_new(AGS_TYPE_EXPANDER,
+ "width\0", width,
+ "height\0", height,
+ NULL);
+
+ return(expander);
+}
diff --git a/src/ags/widget/ags_expander.h b/src/ags/widget/ags_expander.h
new file mode 100644
index 0000000..7f45a65
--- /dev/null
+++ b/src/ags/widget/ags_expander.h
@@ -0,0 +1,87 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EXPANDER_H__
+#define __AGS_EXPANDER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_EXPANDER (ags_expander_get_type())
+#define AGS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPANDER, AgsExpander))
+#define AGS_EXPANDER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPANDER, AgsExpanderClass))
+#define AGS_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPANDER))
+#define AGS_IS_EXPANDER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPANDER))
+#define AGS_EXPANDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPANDER, AgsExpanderClass))
+
+#define AGS_EXPANDER_CHILD(ptr) ((AgsExpanderChild *)(ptr))
+
+typedef struct _AgsExpander AgsExpander;
+typedef struct _AgsExpanderClass AgsExpanderClass;
+typedef struct _AgsExpanderChild AgsExpanderChild;
+
+typedef enum{
+ AGS_EXPANDER_DRAW_BORDER = 1,
+}AgsExpanderFlags;
+
+struct _AgsExpander
+{
+ GtkExpander expander;
+
+ guint flags;
+
+ GtkTable *table;
+
+ GList *children;
+};
+
+struct _AgsExpanderClass
+{
+ GtkExpanderClass expander;
+};
+
+struct _AgsExpanderChild
+{
+ GtkWidget *child;
+
+ guint x;
+ guint y;
+
+ guint width;
+ guint height;
+};
+
+GType ags_expander_get_type(void);
+
+AgsExpanderChild* ags_expander_child_alloc(guint x, guint y,
+ guint width, guint height);
+AgsExpanderChild* ags_expander_child_find(AgsExpander *expander,
+ GtkWidget *child);
+
+void ags_expander_add(AgsExpander *expander,
+ GtkWidget *widget,
+ guint x, guint y,
+ guint width, guint height);
+void ags_expander_remove(AgsExpander *expander,
+ GtkWidget *widget);
+
+AgsExpander* ags_expander_new(guint width, guint height);
+
+#endif /*__AGS_EXPANDER_H__*/
diff --git a/src/ags/widget/ags_expander_set.c b/src/ags/widget/ags_expander_set.c
new file mode 100644
index 0000000..c26bc7a
--- /dev/null
+++ b/src/ags/widget/ags_expander_set.c
@@ -0,0 +1,484 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_expander_set.h"
+
+#include <ags/lib/ags_list.h>
+
+#include <stdlib.h>
+
+void ags_expander_set_class_init(AgsExpanderSetClass *expander_set);
+void ags_expander_set_init(AgsExpanderSet *expander_set);
+void ags_expander_set_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_expander_set_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_expander_set_finalize(GObject *gobject);
+void ags_expander_set_show(GtkWidget *widget);
+
+void ags_expander_set_realize(GtkWidget *widget);
+void ags_expander_set_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+void ags_expander_set_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation);
+gboolean ags_expander_set_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+
+void ags_expander_set_width_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpanderSet *expander_set);
+void ags_expander_set_height_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpanderSet *expander_set);
+
+void ags_expander_set_draw(AgsExpanderSet *expander_set);
+void ags_expander_set_insert_child(AgsExpanderSet *expander_set,
+ AgsExpanderSetChild *child,
+ gboolean ghost);
+void ags_expander_set_remove_child(AgsExpanderSet *expander_set,
+ AgsExpanderSetChild *child,
+ gboolean ghost);
+
+/**
+ * SECTION:ags_expander_set
+ * @short_description: A container
+ * @title: AgsExpanderSet
+ * @section_id:
+ * @include: ags/widget/ags_expander_set.h
+ *
+ * #AgsExpanderSet is a composite widget containing a #GtkTable.
+ */
+
+enum{
+ PROP_0,
+ PROP_GHOST,
+ PROP_LOCATION,
+};
+
+static gpointer ags_expander_set_parent_class = NULL;
+
+GType
+ags_expander_set_get_type(void)
+{
+ static GType ags_type_expander_set = 0;
+
+ if(!ags_type_expander_set){
+ static const GTypeInfo ags_expander_set_info = {
+ sizeof(AgsExpanderSetClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_expander_set_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsExpanderSet),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_expander_set_init,
+ };
+
+ ags_type_expander_set = g_type_register_static(GTK_TYPE_TABLE,
+ "AgsExpanderSet\0", &ags_expander_set_info,
+ 0);
+ }
+
+ return(ags_type_expander_set);
+}
+
+void
+ags_expander_set_class_init(AgsExpanderSetClass *expander_set)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_expander_set_parent_class = g_type_class_peek_parent(expander_set);
+
+ /* GObjectClass */
+ gobject = G_OBJECT_CLASS(expander_set);
+
+ gobject->set_property = ags_expander_set_set_property;
+ gobject->get_property = ags_expander_set_get_property;
+
+ gobject->finalize = ags_expander_set_finalize;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) expander_set;
+
+ // widget->realize = ags_expander_set_realize;
+ // widget->expose_event = ags_expander_set_expose;
+ // widget->size_request = ags_expander_set_size_request;
+ // widget->size_allocate = ags_expander_set_size_allocate;
+}
+
+void
+ags_expander_set_init(AgsExpanderSet *expander_set)
+{
+ g_object_set(G_OBJECT(expander_set),
+ "app-paintable\0", TRUE,
+ "homogeneous", TRUE,
+ NULL);
+
+ g_signal_connect(expander_set, "notify::n-columns\0",
+ G_CALLBACK(ags_expander_set_width_changed),
+ expander_set);
+ g_signal_connect(expander_set, "notify::n-rows\0",
+ G_CALLBACK(ags_expander_set_height_changed),
+ expander_set);
+
+ expander_set->flags = 0;
+
+ expander_set->ghost = NULL;
+ expander_set->location = NULL;
+}
+
+void
+ags_expander_set_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExpanderSet *expander_set;
+
+ expander_set = AGS_EXPANDER_SET(gobject);
+
+ switch(prop_id){
+ case PROP_GHOST:
+ {
+ AgsExpanderSetChild *ghost;
+
+ ghost = (AgsExpanderSetChild *) g_value_get_pointer(value);
+
+ ags_expander_set_insert_child(expander_set,
+ ghost,
+ TRUE);
+ }
+ break;
+ case PROP_LOCATION:
+ {
+ AgsExpanderSetChild *location;
+
+ location = (AgsExpanderSetChild *) g_value_get_pointer(value);
+
+ ags_expander_set_insert_child(expander_set,
+ location,
+ FALSE);
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_expander_set_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsExpanderSet *expander_set;
+
+ expander_set = AGS_EXPANDER_SET(gobject);
+
+ switch(prop_id){
+ case PROP_GHOST:
+ g_value_set_pointer(value, expander_set->ghost);
+ break;
+ case PROP_LOCATION:
+ g_value_set_pointer(value, expander_set->location);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_expander_set_finalize(GObject *gobject)
+{
+ AgsExpanderSet *expander_set;
+
+ expander_set = AGS_EXPANDER_SET(gobject);
+
+ if(expander_set->ghost != NULL){
+ ags_list_free_and_free_link(expander_set->ghost);
+ }
+
+ if(expander_set->location != NULL){
+ ags_list_free_and_free_link(expander_set->location);
+ }
+
+ /* call parent */
+ G_OBJECT_CLASS(ags_expander_set_parent_class)->finalize(gobject);
+}
+
+void
+ags_expander_set_realize(GtkWidget *widget)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_set_size_request(GtkWidget *widget,
+ GtkRequisition *requisition)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_set_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation)
+{
+ //TODO:JK: implement me
+}
+
+gboolean
+ags_expander_set_expose(GtkWidget *widget,
+ GdkEventExpose *event)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_set_width_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpanderSet *expander_set)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_set_height_changed(GObject *gobject,
+ GParamSpec *pspec,
+ AgsExpanderSet *expander_set)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_set_set_flags(AgsExpanderSet *expander_set,
+ guint flags)
+{
+ //TODO:JK: implement me
+}
+
+AgsExpanderSetChild*
+ags_expander_set_child_alloc(guint x, guint y,
+ guint width, guint height)
+{
+ AgsExpanderSetChild *child;
+
+ child = (AgsExpanderSetChild *) malloc(sizeof(AgsExpanderSetChild));
+
+ child->x = x;
+ child->y = y;
+ child->width = width;
+ child->height = height;
+
+ return(child);
+}
+
+AgsExpanderSetChild*
+ags_expander_set_child_find(AgsExpanderSet *expander_set,
+ GtkWidget *child)
+{
+ GList *list;
+
+ list = expander_set->location;
+
+ while(list != NULL){
+ if(AGS_EXPANDER_SET_CHILD(list->data)->child == child){
+ return((AgsExpanderSetChild *) list->data);
+ }
+
+ list = list->next;
+ }
+
+ return(NULL);
+}
+
+void
+ags_expander_set_draw(AgsExpanderSet *expander_set)
+{
+ //TODO:JK: implement me
+}
+
+void
+ags_expander_set_insert_child(AgsExpanderSet *expander_set,
+ AgsExpanderSetChild *child,
+ gboolean ghost)
+{
+ GList *list;
+ guint i;
+
+ if(ghost){
+ list = expander_set->ghost;
+ }else{
+ list = expander_set->location;
+ }
+
+ i = 0;
+
+ while(list != NULL){
+ if(AGS_EXPANDER_SET_CHILD(list->data)->x > child->x){
+ break;
+ }
+
+ if(AGS_EXPANDER_SET_CHILD(list->data)->x == child->x){
+ while(list != NULL){
+ if(AGS_EXPANDER_SET_CHILD(list->data)->x > child->x){
+ break;
+ }
+
+ if(AGS_EXPANDER_SET_CHILD(list->data)->x == child->x &&
+ AGS_EXPANDER_SET_CHILD(list->data)->y >= child->y){
+ break;
+ }
+
+ i++;
+ list = list->next;
+ }
+
+ break;
+ }
+
+ i++;
+ list = list->next;
+ }
+
+ gtk_table_attach(GTK_TABLE(expander_set),
+ child->child,
+ child->x, child->x + child->width,
+ child->y, child->y + child->height,
+ GTK_FILL |
+ GTK_EXPAND,
+ GTK_FILL |
+ GTK_EXPAND,
+ 0, 0);
+
+ if(ghost){
+ expander_set->ghost = g_list_insert(expander_set->ghost,
+ child,
+ i);
+ }else{
+ expander_set->location = g_list_insert(expander_set->location,
+ child,
+ i);
+ }
+}
+
+void
+ags_expander_set_remove_child(AgsExpanderSet *expander_set,
+ AgsExpanderSetChild *child,
+ gboolean ghost)
+{
+ gtk_container_remove(GTK_CONTAINER(expander_set),
+ child->child);
+
+ if(ghost){
+ expander_set->ghost = g_list_remove(expander_set->ghost,
+ child);
+ }else{
+ expander_set->location = g_list_remove(expander_set->location,
+ child);
+ }
+
+ free(child);
+}
+
+/**
+ * ags_expander_set_add:
+ * @expander_set: the #AgsExpanderSet
+ * @widget: the child #GtkWidget
+ * @x: x-position
+ * @y: y-position
+ * @width: allocation width
+ * @height: allocation height
+ *
+ * Adds a #GtkWidget to #AgsExpanderSet
+ *
+ * Since: 0.4
+ */
+void
+ags_expander_set_add(AgsExpanderSet *expander_set,
+ GtkWidget *widget,
+ guint x, guint y,
+ guint width, guint height)
+{
+ AgsExpanderSetChild *child;
+
+ child = ags_expander_set_child_alloc(x, y,
+ width, height);
+ child->child = widget;
+
+ if(widget != NULL){
+ ags_expander_set_insert_child(expander_set,
+ child,
+ FALSE);
+ }else{
+ ags_expander_set_insert_child(expander_set,
+ child,
+ TRUE);
+ }
+}
+
+/**
+ * ags_expander_set_remove:
+ * @expander_set: the #AgsExpanderSet
+ * @widget: the child #GtkWidget
+ *
+ * Removes a #GtkWidget of #AgsExpanderSet
+ *
+ * Since: 0.4
+ */
+void
+ags_expander_set_remove(AgsExpanderSet *expander_set,
+ GtkWidget *widget)
+{
+ ags_expander_set_remove_child(expander_set,
+ ags_expander_set_child_find(expander_set,
+ widget),
+ FALSE);
+}
+
+/**
+ * ags_expander_set_new:
+ * @height: the table's height
+ * @width: the table's width
+ *
+ * Creates an #AgsExpanderSet
+ *
+ * Returns: a new #AgsExpanderSet
+ *
+ * Since: 0.4
+ */
+AgsExpanderSet*
+ags_expander_set_new(guint width, guint height)
+{
+ AgsExpanderSet *expander_set;
+
+ expander_set = (AgsExpanderSet *) g_object_new(AGS_TYPE_EXPANDER_SET,
+ "n-columns\0", width,
+ "n-rows\0", height,
+ NULL);
+
+ return(expander_set);
+}
diff --git a/src/ags/widget/ags_expander_set.h b/src/ags/widget/ags_expander_set.h
new file mode 100644
index 0000000..9598386
--- /dev/null
+++ b/src/ags/widget/ags_expander_set.h
@@ -0,0 +1,93 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_EXPANDER_SET_H__
+#define __AGS_EXPANDER_SET_H__
+
+#include <glib.h>
+#include <glib-object.h>
+
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_EXPANDER_SET (ags_expander_set_get_type())
+#define AGS_EXPANDER_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPANDER_SET, AgsExpanderSet))
+#define AGS_EXPANDER_SET_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPANDER_SET, AgsExpanderSetClass))
+#define AGS_IS_EXPANDER_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPANDER_SET))
+#define AGS_IS_EXPANDER_SET_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPANDER_SET))
+#define AGS_EXPANDER_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPANDER_SET, AgsExpanderSetClass))
+
+#define AGS_EXPANDER_SET_CHILD(ptr) ((AgsExpanderSetChild *)(ptr))
+
+typedef struct _AgsExpanderSet AgsExpanderSet;
+typedef struct _AgsExpanderSetClass AgsExpanderSetClass;
+typedef struct _AgsExpanderSetChild AgsExpanderSetChild;
+
+typedef enum{
+ AGS_EXPANDER_SET_DRAW_GHOST = 1,
+ AGS_EXPANDER_SET_DRAW_LEFT_ENDING = 1 << 1,
+ AGS_EXPANDER_SET_DRAW_RIGHT_ENDING = 1 << 2,
+ AGS_EXPANDER_SET_DRAW_LEFT_CONNECTOR = 1 << 3,
+ AGS_EXPANDER_SET_DRAW_RIGHT_CONNECTOR = 1 << 4,
+}AgsExpanderSetFlags;
+
+struct _AgsExpanderSet
+{
+ GtkTable table;
+
+ guint flags;
+
+ GList *ghost;
+ GList *location;
+};
+
+struct _AgsExpanderSetClass
+{
+ GtkTableClass table;
+};
+
+struct _AgsExpanderSetChild
+{
+ GtkWidget *child;
+
+ guint x;
+ guint y;
+
+ guint width;
+ guint height;
+};
+
+GType ags_expander_set_get_type(void);
+
+AgsExpanderSetChild* ags_expander_set_child_alloc(guint x, guint y,
+ guint width, guint height);
+AgsExpanderSetChild* ags_expander_set_child_find(AgsExpanderSet *expander_set,
+ GtkWidget *child);
+
+void ags_expander_set_set_flags(AgsExpanderSet *expander_set,
+ guint flags);
+
+void ags_expander_set_add(AgsExpanderSet *expander_set,
+ GtkWidget *widget,
+ guint x, guint y,
+ guint width, guint height);
+void ags_expander_set_remove(AgsExpanderSet *expander_set,
+ GtkWidget *widget);
+
+AgsExpanderSet* ags_expander_set_new(guint width, guint height);
+
+#endif /*__AGS_EXPANDER_SET_H__*/
diff --git a/src/ags/widget/ags_hindicator.c b/src/ags/widget/ags_hindicator.c
new file mode 100644
index 0000000..bd29c97
--- /dev/null
+++ b/src/ags/widget/ags_hindicator.c
@@ -0,0 +1,78 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_hindicator.h"
+
+void ags_hindicator_class_init(AgsHIndicatorClass *indicator);
+void ags_hindicator_init(AgsHIndicator *indicator);
+void ags_hindicator_show(GtkWidget *widget);
+
+static gpointer ags_hindicator_parent_class = NULL;
+
+GType
+ags_hindicator_get_type(void)
+{
+ static GType ags_type_hindicator = 0;
+
+ if(!ags_type_hindicator){
+ static const GTypeInfo ags_hindicator_info = {
+ sizeof(AgsHIndicatorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_hindicator_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsHIndicator),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_hindicator_init,
+ };
+
+ ags_type_hindicator = g_type_register_static(AGS_TYPE_INDICATOR,
+ "AgsHIndicator\0", &ags_hindicator_info,
+ 0);
+ }
+
+ return(ags_type_hindicator);
+}
+
+void
+ags_hindicator_class_init(AgsHIndicatorClass *indicator)
+{
+ GtkWidgetClass *widget;
+
+ ags_hindicator_parent_class = g_type_class_peek_parent(indicator);
+}
+
+void
+ags_hindicator_init(AgsHIndicator *indicator)
+{
+ g_object_set(G_OBJECT(indicator),
+ "app-paintable\0", TRUE,
+ NULL);
+}
+
+AgsHIndicator*
+ags_hindicator_new()
+{
+ AgsHIndicator *indicator;
+
+ indicator = (AgsHIndicator *) g_object_new(AGS_TYPE_HINDICATOR,
+ NULL);
+
+ return(indicator);
+}
diff --git a/src/ags/widget/ags_hindicator.h b/src/ags/widget/ags_hindicator.h
new file mode 100644
index 0000000..1eb78a4
--- /dev/null
+++ b/src/ags/widget/ags_hindicator.h
@@ -0,0 +1,53 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_HINDICATOR_H__
+#define __AGS_HINDICATOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include "ags_indicator.h"
+
+#define AGS_TYPE_HINDICATOR (ags_hindicator_get_type())
+#define AGS_HINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsHIndicator))
+#define AGS_HINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsHIndicatorClass))
+#define AGS_IS_HINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
+#define AGS_IS_HINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
+#define AGS_HINDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsHIndicatorClass))
+
+typedef struct _AgsHIndicator AgsHIndicator;
+typedef struct _AgsHIndicatorClass AgsHIndicatorClass;
+
+struct _AgsHIndicator
+{
+ AgsIndicator indicator;
+};
+
+struct _AgsHIndicatorClass
+{
+ GtkWidgetClass indicator;
+};
+
+GType ags_hindicator_get_type(void);
+
+AgsHIndicator* ags_hindicator_new();
+
+#endif /*__AGS_HINDICATOR_H__*/
+
diff --git a/src/ags/widget/ags_htimebar.c b/src/ags/widget/ags_htimebar.c
new file mode 100644
index 0000000..140b11b
--- /dev/null
+++ b/src/ags/widget/ags_htimebar.c
@@ -0,0 +1,19 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/widget/ags_htimebar.h>
diff --git a/src/ags/widget/ags_htimebar.h b/src/ags/widget/ags_htimebar.h
new file mode 100644
index 0000000..e155e1f
--- /dev/null
+++ b/src/ags/widget/ags_htimebar.h
@@ -0,0 +1,50 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_HTIMEBAR_H__
+#define __AGS_HTIMEBAR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_timebar.h>
+
+#define AGS_TYPE_HTIMEBAR (ags_htimebar_get_type())
+#define AGS_HTIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_HTIMEBAR, AgsHTimebar))
+#define AGS_HTIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_HTIMEBAR, AgsHTimebarClass))
+#define AGS_IS_HTIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_HTIMEBAR))
+#define AGS_IS_HTIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_HTIMEBAR))
+#define AGS_HTIMEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_HTIMEBAR, AgsHTimebarClass))
+
+typedef struct _AgsHTimebar AgsHTimebar;
+typedef struct _AgsHTimebarClass AgsHTimebarClass;
+
+struct _AgsHTimebar
+{
+ AgsTimebar range;
+};
+
+struct _AgsHTimebarClass
+{
+ AgsTimebarClass timebar;
+};
+
+AgsHTimebar* ags_htimebar_new();
+
+#endif /*__AGS_HTIMEBAR_H__*/
diff --git a/src/ags/widget/ags_indicator.c b/src/ags/widget/ags_indicator.c
new file mode 100644
index 0000000..8ca9fe2
--- /dev/null
+++ b/src/ags/widget/ags_indicator.c
@@ -0,0 +1,292 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_indicator.h"
+
+void ags_indicator_class_init(AgsIndicatorClass *indicator);
+void ags_indicator_init(AgsIndicator *indicator);
+void ags_indicator_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_indicator_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_indicator_show(GtkWidget *widget);
+
+void ags_indicator_map(GtkWidget *widget);
+void ags_indicator_realize(GtkWidget *widget);
+void ags_indicator_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+void ags_indicator_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation);
+
+/**
+ * SECTION:ags_indicator
+ * @short_description: A indicator widget
+ * @title: AgsIndicator
+ * @section_id:
+ * @include: ags/widget/ags_indicator.h
+ *
+ * #AgsIndicator is a widget representing a #GtkAdjustment.
+ */
+
+enum{
+ PROP_0,
+ PROP_ADJUSTMENT,
+};
+
+static gpointer ags_indicator_parent_class = NULL;
+
+GType
+ags_indicator_get_type(void)
+{
+ static GType ags_type_indicator = 0;
+
+ if(!ags_type_indicator){
+ static const GTypeInfo ags_indicator_info = {
+ sizeof(AgsIndicatorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_indicator_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsIndicator),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_indicator_init,
+ };
+
+ ags_type_indicator = g_type_register_static(GTK_TYPE_WIDGET,
+ "AgsIndicator\0", &ags_indicator_info,
+ 0);
+ }
+
+ return(ags_type_indicator);
+}
+
+void
+ags_indicator_class_init(AgsIndicatorClass *indicator)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_indicator_parent_class = g_type_class_peek_parent(indicator);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) indicator;
+
+ gobject->set_property = ags_indicator_set_property;
+ gobject->get_property = ags_indicator_get_property;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) indicator;
+
+ widget->realize = ags_indicator_realize;
+ widget->size_request = ags_indicator_size_request;
+ widget->size_allocate = ags_indicator_size_allocate;
+ widget->show = ags_indicator_show;
+
+ /* properties */
+ param_spec = g_param_spec_object("adjustment\0",
+ "assigned adjustment\0",
+ "The adjustment it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_ADJUSTMENT,
+ param_spec);
+}
+
+void
+ags_indicator_init(AgsIndicator *indicator)
+{
+ g_object_set(G_OBJECT(indicator),
+ "app-paintable\0", TRUE,
+ NULL);
+
+ indicator->adjustment = NULL;
+}
+
+void
+ags_indicator_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsIndicator *indicator;
+
+ indicator = AGS_INDICATOR(gobject);
+
+ switch(prop_id){
+ case PROP_ADJUSTMENT:
+ {
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) g_value_get_object(value);
+
+ if(indicator->adjustment == adjustment)
+ return;
+
+ if(indicator->adjustment != NULL){
+ g_object_unref(G_OBJECT(indicator->adjustment));
+ }
+
+ if(adjustment != NULL){
+ g_object_ref(G_OBJECT(adjustment));
+ }
+
+ indicator->adjustment = (GObject *) adjustment;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_indicator_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsIndicator *indicator;
+
+ indicator = AGS_INDICATOR(gobject);
+
+ switch(prop_id){
+ case PROP_ADJUSTMENT:
+ g_value_set_object(value, indicator->adjustment);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_indicator_map(GtkWidget *widget)
+{
+ if (gtk_widget_get_realized (widget) && !gtk_widget_get_mapped (widget)) {
+ GTK_WIDGET_CLASS (ags_indicator_parent_class)->map(widget);
+
+ gdk_window_show(widget->window);
+ // ags_indicator_draw(widget);
+ }
+}
+
+void
+ags_indicator_realize(GtkWidget *widget)
+{
+ AgsIndicator *indicator;
+ GdkWindowAttr attributes;
+ gint attributes_mask;
+ gint buttons_width;
+ gint border_left, border_top;
+
+ g_return_if_fail (widget != NULL);
+ g_return_if_fail (AGS_IS_INDICATOR (widget));
+
+ indicator = AGS_INDICATOR(widget);
+
+ gtk_widget_set_realized (widget, TRUE);
+
+ /* */
+ attributes.window_type = GDK_WINDOW_CHILD;
+
+ attributes.x = widget->allocation.x;
+ attributes.y = widget->allocation.y;
+ attributes.width = widget->allocation.width;
+ attributes.height = widget->allocation.height;
+
+ attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
+
+ attributes.window_type = GDK_WINDOW_CHILD;
+
+ attributes.wclass = GDK_INPUT_OUTPUT;
+ attributes.visual = gtk_widget_get_visual (widget);
+ attributes.colormap = gtk_widget_get_colormap (widget);
+ attributes.event_mask = gtk_widget_get_events (widget);
+ attributes.event_mask |= (GDK_EXPOSURE_MASK |
+ GDK_BUTTON_PRESS_MASK |
+ GDK_BUTTON_RELEASE_MASK |
+ GDK_BUTTON1_MOTION_MASK |
+ GDK_BUTTON3_MOTION_MASK |
+ GDK_POINTER_MOTION_HINT_MASK |
+ GDK_POINTER_MOTION_MASK |
+ GDK_ENTER_NOTIFY_MASK |
+ GDK_LEAVE_NOTIFY_MASK);
+
+ widget->window = gdk_window_new (gtk_widget_get_parent_window (widget),
+ &attributes, attributes_mask);
+ gdk_window_set_user_data (widget->window, indicator);
+
+ widget->style = gtk_style_attach (widget->style, widget->window);
+ gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
+
+ gtk_widget_queue_resize (widget);
+}
+
+void
+ags_indicator_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_indicator_parent_class)->show(widget);
+}
+
+void
+ags_indicator_size_request(GtkWidget *widget,
+ GtkRequisition *requisition)
+{
+ GTK_WIDGET_CLASS(ags_indicator_parent_class)->size_request(widget, requisition);
+
+ /* implement me */
+ //TODO:JK:
+}
+
+void
+ags_indicator_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation)
+{
+ GTK_WIDGET_CLASS(ags_indicator_parent_class)->size_allocate(widget, allocation);
+
+ /* implement me */
+ //TODO:JK:
+}
+
+/**
+ * ags_indicator_new:
+ *
+ * Creates an #AgsIndicator. Note, use rather its implementation #AgsVIndicator or
+ * #AgsHIndicator.
+ *
+ * Returns: a new #AgsIndicator
+ *
+ * Since: 0.4
+ */
+AgsIndicator*
+ags_indicator_new()
+{
+ AgsIndicator *indicator;
+
+ indicator = (AgsIndicator *) g_object_new(AGS_TYPE_INDICATOR,
+ NULL);
+
+ return(indicator);
+}
diff --git a/src/ags/widget/ags_indicator.h b/src/ags/widget/ags_indicator.h
new file mode 100644
index 0000000..09e17f1
--- /dev/null
+++ b/src/ags/widget/ags_indicator.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_INDICATOR_H__
+#define __AGS_INDICATOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_INDICATOR (ags_indicator_get_type())
+#define AGS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsIndicator))
+#define AGS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsIndicatorClass))
+#define AGS_IS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
+#define AGS_IS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
+#define AGS_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsIndicatorClass))
+
+typedef struct _AgsIndicator AgsIndicator;
+typedef struct _AgsIndicatorClass AgsIndicatorClass;
+
+struct _AgsIndicator
+{
+ GtkWidget widget;
+
+ GtkAdjustment *adjustment;
+};
+
+struct _AgsIndicatorClass
+{
+ GtkWidgetClass widget;
+};
+
+GType ags_indicator_get_type(void);
+
+AgsIndicator* ags_indicator_new();
+
+#endif /*__AGS_INDICATOR_H__*/
diff --git a/src/ags/widget/ags_led.c b/src/ags/widget/ags_led.c
new file mode 100644
index 0000000..8eac134
--- /dev/null
+++ b/src/ags/widget/ags_led.c
@@ -0,0 +1,249 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_led.h"
+
+#include <stdlib.h>
+#include <math.h>
+
+void ags_led_class_init(AgsLedClass *led);
+void ags_led_init(AgsLed *led);
+void ags_led_show(GtkWidget *widget);
+
+void ags_led_realize(GtkWidget *widget);
+gint ags_led_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+void ags_led_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+void ags_led_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation);
+gboolean ags_led_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+
+void ags_led_draw(AgsLed *led);
+
+/**
+ * SECTION:ags_led
+ * @short_description: A led widget
+ * @title: AgsLed
+ * @section_id:
+ * @include: ags/widget/ags_led.h
+ *
+ * #AgsLed is a widget visualizing a #gboolean value.
+ */
+
+static gpointer ags_led_parent_class = NULL;
+
+GType
+ags_led_get_type(void)
+{
+ static GType ags_type_led = 0;
+
+ if(!ags_type_led){
+ static const GTypeInfo ags_led_info = {
+ sizeof(AgsLedClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_led_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsLed),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_led_init,
+ };
+
+ ags_type_led = g_type_register_static(GTK_TYPE_BIN,
+ "AgsLed\0", &ags_led_info,
+ 0);
+ }
+
+ return(ags_type_led);
+}
+
+void
+ags_led_class_init(AgsLedClass *led)
+{
+ GtkWidgetClass *widget;
+
+ ags_led_parent_class = g_type_class_peek_parent(led);
+
+ widget = (GtkWidgetClass *) led;
+
+ widget->realize = ags_led_realize;
+ widget->expose_event = ags_led_expose;
+ widget->show = ags_led_show;
+}
+
+void
+ags_led_init(AgsLed *led)
+{
+ g_object_set(G_OBJECT(led),
+ "app-paintable\0", TRUE,
+ NULL);
+
+ led->flags = 0;
+}
+
+void
+ags_led_realize(GtkWidget *widget)
+{
+ AgsLed *led;
+ GdkWindowAttr attributes;
+ gint attributes_mask;
+
+ g_return_if_fail (widget != NULL);
+ g_return_if_fail (AGS_IS_LED (widget));
+
+ GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+ led = AGS_LED (widget);
+
+ /* */
+ //TODO:JK: apply borders of container widgets
+ attributes.x = widget->allocation.x;
+ attributes.y = widget->allocation.y;
+ attributes.width = widget->allocation.width;
+ attributes.height = widget->allocation.height;
+ attributes.wclass = GDK_INPUT_OUTPUT;
+ attributes.window_type = GDK_WINDOW_CHILD;
+ attributes.event_mask = gtk_widget_get_events (widget) |
+ GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK |
+ GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK |
+ GDK_POINTER_MOTION_HINT_MASK;
+ attributes.visual = gtk_widget_get_visual (widget);
+ attributes.colormap = gtk_widget_get_colormap (widget);
+
+ attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
+ widget->window = gdk_window_new(gtk_widget_get_parent_window(widget), &attributes, attributes_mask);
+
+ widget->style = gtk_style_attach(widget->style, widget->window);
+
+ gdk_window_set_user_data(widget->window, widget);
+
+ gtk_style_set_background(widget->style, widget->window, GTK_STATE_ACTIVE);
+
+
+ GTK_WIDGET_CLASS(ags_led_parent_class)->realize(widget);
+}
+
+void
+ags_led_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_led_parent_class)->show(widget);
+}
+
+gboolean
+ags_led_expose(GtkWidget *widget,
+ GdkEventExpose *event)
+{
+ GTK_WIDGET_CLASS(ags_led_parent_class)->expose_event(widget, event);
+
+ ags_led_draw(AGS_LED(widget));
+
+ return(FALSE);
+}
+
+void
+ags_led_draw(AgsLed *led)
+{
+ GtkWidget *widget;
+ GdkWindow *window;
+ GtkStyle *style;
+ cairo_t *cr;
+
+ widget = GTK_WIDGET(led);
+
+ cr = gdk_cairo_create(widget->window);
+
+ style = widget->style;
+
+ /* */
+ if((AGS_LED_ACTIVE & (led->flags)) != 0){
+ cairo_set_source_rgba (cr,
+ 1.0,
+ 0.0,
+ 0.0,
+ 1.0);
+ }else{
+ cairo_set_source_rgba (cr,
+ 0.3,
+ 0.0,
+ 0.0,
+ 1.0);
+ }
+
+ cairo_rectangle(cr,
+ widget->allocation.x, widget->allocation.y,
+ widget->allocation.width, widget->allocation.height);
+ cairo_fill(cr);
+
+ /* */
+ cairo_set_source_rgba (cr,
+ 1.0 / G_MAXUINT16 * style->fg[0].red,
+ 1.0 / G_MAXUINT16 * style->fg[0].green,
+ 1.0 / G_MAXUINT16 * style->fg[0].blue,
+ 1.0);
+ cairo_set_line_width(cr, 1.0);
+
+ cairo_rectangle(cr,
+ widget->allocation.x, widget->allocation.y,
+ widget->allocation.width, widget->allocation.height);
+ cairo_stroke(cr);
+
+ /* */
+ cairo_destroy(cr);
+}
+
+void
+ags_led_set_active(AgsLed *led)
+{
+ led->flags |= AGS_LED_ACTIVE;
+
+ gtk_widget_queue_draw(led);
+
+ // ags_led_draw(led);
+}
+
+void
+ags_led_unset_active(AgsLed *led)
+{
+ led->flags &= (~AGS_LED_ACTIVE);
+
+ gtk_widget_queue_draw(led);
+
+ // ags_led_draw(led);
+}
+
+/**
+ * ags_led_new:
+ *
+ * Creates an #AgsLed.
+ *
+ * Returns: a new #AgsLed
+ *
+ * Since: 0.4
+ */
+AgsLed*
+ags_led_new()
+{
+ AgsLed *led;
+
+ led = (AgsLed *) g_object_new(AGS_TYPE_LED,
+ NULL);
+
+ return(led);
+}
diff --git a/src/ags/widget/ags_led.h b/src/ags/widget/ags_led.h
new file mode 100644
index 0000000..33b7851
--- /dev/null
+++ b/src/ags/widget/ags_led.h
@@ -0,0 +1,59 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_LED_H__
+#define __AGS_LED_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_LED (ags_led_get_type())
+#define AGS_LED(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LED, AgsLed))
+#define AGS_LED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LED, AgsLedClass))
+#define AGS_IS_LED(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_LED))
+#define AGS_IS_LED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_LED))
+#define AGS_LED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_LED, AgsLedClass))
+
+typedef struct _AgsLed AgsLed;
+typedef struct _AgsLedClass AgsLedClass;
+
+typedef enum{
+ AGS_LED_ACTIVE = 1,
+}AgsLedFlags;
+
+struct _AgsLed
+{
+ GtkBin bin;
+
+ guint flags;
+};
+
+struct _AgsLedClass
+{
+ GtkBinClass bin;
+};
+
+GType ags_led_get_type(void);
+
+void ags_led_set_active(AgsLed *led);
+void ags_led_unset_active(AgsLed *led);
+
+AgsLed* ags_led_new();
+
+#endif /*__AGS_LED_H__*/
diff --git a/src/ags/widget/ags_menu.c b/src/ags/widget/ags_menu.c
new file mode 100644
index 0000000..34464b7
--- /dev/null
+++ b/src/ags/widget/ags_menu.c
@@ -0,0 +1,78 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/widget/ags_menu.h>
+
+void ags_menu_class_init(AgsMenuClass *menu);
+void ags_menu_init(AgsMenu *menu);
+
+GType
+ags_menu_get_type(void)
+{
+ static GType ags_type_menu = 0;
+
+ if(!ags_type_menu){
+ static const GTypeInfo ags_menu_info = {
+ sizeof(AgsMenuClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_menu_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMenu),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_menu_init,
+ };
+
+ ags_type_menu = g_type_register_static(GTK_TYPE_WINDOW,
+ "AgsMenu\0", &ags_menu_info,
+ 0);
+ }
+
+ return(ags_type_menu);
+}
+
+void
+ags_menu_class_init(AgsMenuClass *menu)
+{
+}
+
+void
+ags_menu_init(AgsMenu *menu)
+{
+ GValue window_type_value = {0,};
+
+ g_value_init(&window_type_value, G_TYPE_ENUM);
+ g_value_set_enum(&window_type_value, GTK_WINDOW_POPUP);
+ g_object_set_property(G_OBJECT(menu),
+ "type\0",
+ &window_type_value);
+ g_value_unset(&window_type_value);
+
+ menu->table = ags_table_new(0, 0, FALSE);
+}
+
+AgsMenu*
+ags_menu_new()
+{
+ AgsMenu *menu;
+
+ menu = (AgsMenu *) g_object_new(AGS_TYPE_MENU, NULL);
+
+ return(menu);
+}
diff --git a/src/ags/widget/ags_menu.h b/src/ags/widget/ags_menu.h
new file mode 100644
index 0000000..963d094
--- /dev/null
+++ b/src/ags/widget/ags_menu.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MENU_H__
+#define __AGS_MENU_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_table.h>
+
+#define AGS_TYPE_MENU (ags_menu_get_type())
+#define AGS_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MENU, AgsMenu))
+#define AGS_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MENU, AgsMenuClass))
+#define AGS_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MENU))
+#define AGS_IS_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MENU))
+#define AGS_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MENU, AgsMenuClass))
+
+typedef struct _AgsMenu AgsMenu;
+typedef struct _AgsMenuClass AgsMenuClass;
+
+struct _AgsMenu
+{
+ GtkWindow window;
+
+ AgsTable *table;
+};
+
+struct _AgsMenuClass
+{
+ GtkWindowClass window;
+};
+
+GType ags_menu_get_type(void);
+
+AgsMenu* ags_menu_new();
+
+#endif /*__AGS_MENU_H__*/
diff --git a/src/ags/widget/ags_menu_item.c b/src/ags/widget/ags_menu_item.c
new file mode 100644
index 0000000..776ffe7
--- /dev/null
+++ b/src/ags/widget/ags_menu_item.c
@@ -0,0 +1,68 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/widget/ags_menu_item.h>
+
+void ags_menu_item_class_init(AgsMenuItemClass *menu_item);
+void ags_menu_item_init(AgsMenuItem *menu_item);
+
+GType
+ags_menu_item_get_type(void)
+{
+ static GType ags_type_menu_item = 0;
+
+ if(!ags_type_menu_item){
+ static const GTypeInfo ags_menu_item_info = {
+ sizeof(AgsMenuItemClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_menu_item_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsMenuItem),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_menu_item_init,
+ };
+
+ ags_type_menu_item = g_type_register_static(AGS_TYPE_TABLE,
+ "AgsMenuItem\0", &ags_menu_item_info,
+ 0);
+ }
+
+ return(ags_type_menu_item);
+}
+
+void
+ags_menu_item_class_init(AgsMenuItemClass *menu_item)
+{
+}
+
+void
+ags_menu_item_init(AgsMenuItem *menu_item)
+{
+}
+
+AgsMenuItem*
+ags_menu_item_new()
+{
+ AgsMenuItem *menu_item;
+
+ menu_item = (AgsMenuItem *) g_object_new(AGS_TYPE_MENU_ITEM, NULL);
+
+ return(menu_item);
+}
diff --git a/src/ags/widget/ags_menu_item.h b/src/ags/widget/ags_menu_item.h
new file mode 100644
index 0000000..f4c5451
--- /dev/null
+++ b/src/ags/widget/ags_menu_item.h
@@ -0,0 +1,52 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_MENU_ITEM_H__
+#define __AGS_MENU_ITEM_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_table.h>
+
+#define AGS_TYPE_MENU_ITEM (ags_menu_get_type())
+#define AGS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MENU_ITEM, AgsMenuItem))
+#define AGS_MENU_ITEM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MENU_ITEM, AgsMenuItemClass))
+#define AGS_IS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_MENU_ITEM))
+#define AGS_IS_MENU_ITEM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MENU_ITEM))
+#define AGS_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MENU_ITEM, AgsMenuItemClass))
+
+typedef struct _AgsMenuItem AgsMenuItem;
+typedef struct _AgsMenuItemClass AgsMenuItemClass;
+
+struct _AgsMenuItem
+{
+ AgsTable table;
+};
+
+struct _AgsMenuItemClass
+{
+ AgsTableClass table;
+};
+
+GType ags_menu_item_get_type(void);
+
+AgsMenuItem* ags_menu_item_new();
+
+#endif /*__AGS_MENU_ITEM_H__*/
diff --git a/src/ags/widget/ags_option_menu.c b/src/ags/widget/ags_option_menu.c
new file mode 100644
index 0000000..7991e12
--- /dev/null
+++ b/src/ags/widget/ags_option_menu.c
@@ -0,0 +1,76 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/widget/ags_option_menu.h>
+
+void ags_option_menu_class_init(AgsOptionMenuClass *option_menu);
+void ags_option_menu_init(AgsOptionMenu *option_menu);
+
+void ags_option_menu_changed(AgsOptionMenu *option_menu);
+
+GType
+ags_option_menu_get_type(void)
+{
+ static GType ags_type_option_menu = 0;
+
+ if(!ags_type_option_menu){
+ static const GTypeInfo ags_option_menu_info = {
+ sizeof(AgsOptionMenuClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_option_menu_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsOptionMenu),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_option_menu_init,
+ };
+
+ ags_type_option_menu = g_type_register_static(GTK_TYPE_HBOX,
+ "AgsOptionMenu\0", &ags_option_menu_info,
+ 0);
+ }
+
+ return(ags_type_option_menu);
+}
+
+void
+ags_option_menu_class_init(AgsOptionMenuClass *option_menu)
+{
+ option_menu->changed = NULL;
+ option_menu->focus_changed = NULL;
+}
+
+void
+ags_option_menu_init(AgsOptionMenu *option_menu)
+{
+ option_menu->menu = NULL;
+ option_menu->active_item = NULL;
+ option_menu->focus = NULL;
+}
+
+AgsOptionMenu*
+ags_option_menu_new()
+{
+ AgsOptionMenu *option_menu;
+
+ option_menu = (AgsOptionMenu *) g_object_new(AGS_TYPE_OPTION_MENU,
+ NULL);
+
+ return(option_menu);
+}
diff --git a/src/ags/widget/ags_option_menu.h b/src/ags/widget/ags_option_menu.h
new file mode 100644
index 0000000..918439e
--- /dev/null
+++ b/src/ags/widget/ags_option_menu.h
@@ -0,0 +1,62 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_OPTION_MENU_H__
+#define __AGS_OPTION_MENU_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include <ags/widget/ags_table.h>
+
+#define AGS_TYPE_OPTION_MENU (ags_option_menu_get_type())
+#define AGS_OPTION_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPTION_MENU, AgsOptionMenu))
+#define AGS_OPTION_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPTION_MENU, AgsOptionMenuClass))
+#define AGS_IS_OPTION_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPTION_MENU))
+#define AGS_IS_OPTION_MENU_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPTION_MENU))
+#define AGS_OPTION_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPTION_MENU, AgsOptionMenuClass))
+
+typedef struct _AgsOptionMenu AgsOptionMenu;
+typedef struct _AgsOptionMenuClass AgsOptionMenuClass;
+
+struct _AgsOptionMenu
+{
+ GtkHBox hbox;
+
+ GtkWidget *button;
+ AgsTable *table;
+
+ GtkWidget *menu;
+ GList *active_item;
+ GtkWidget *focus;
+};
+
+struct _AgsOptionMenuClass
+{
+ GtkHBoxClass hbox;
+
+ void (*changed)(AgsOptionMenu *option_menu);
+ void (*focus_changed)(AgsOptionMenu *option_menu);
+};
+
+GType ags_option_menu_get_type(void);
+
+AgsOptionMenu* ags_option_menu_new();
+
+#endif /*__AGS_OPTION_MENU_H__*/
diff --git a/src/ags/widget/ags_ruler.c b/src/ags/widget/ags_ruler.c
new file mode 100644
index 0000000..5d01714
--- /dev/null
+++ b/src/ags/widget/ags_ruler.c
@@ -0,0 +1,455 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_ruler.h"
+
+#include <math.h>
+
+void ags_ruler_class_init(AgsRulerClass *ruler);
+void ags_ruler_init(AgsRuler *ruler);
+void ags_ruler_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec);
+void ags_ruler_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec);
+void ags_ruler_show(GtkWidget *widget);
+
+void ags_ruler_map(GtkWidget *widget);
+void ags_ruler_realize(GtkWidget *widget);
+void ags_ruler_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+void ags_ruler_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation);
+gboolean ags_ruler_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+
+void ags_ruler_draw(AgsRuler *ruler);
+
+/**
+ * SECTION:ags_ruler
+ * @short_description: A ruler widget
+ * @title: AgsRuler
+ * @section_id:
+ * @include: ags/widget/ags_ruler.h
+ *
+ * #AgsRuler is a widget representing a #GtkAdjustment.
+ */
+
+enum{
+ PROP_0,
+ PROP_ADJUSTMENT,
+};
+
+static gpointer ags_ruler_parent_class = NULL;
+
+GType
+ags_ruler_get_type()
+{
+ static GType ags_type_ruler = 0;
+
+ if(!ags_type_ruler){
+ static const GTypeInfo ags_ruler_info = {
+ sizeof(AgsRulerClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_ruler_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsRuler),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_ruler_init,
+ };
+
+ ags_type_ruler = g_type_register_static(GTK_TYPE_WIDGET,
+ "AgsRuler\0", &ags_ruler_info,
+ 0);
+ }
+
+ return(ags_type_ruler);
+}
+
+void
+ags_ruler_class_init(AgsRulerClass *ruler)
+{
+ GObjectClass *gobject;
+ GtkWidgetClass *widget;
+ GParamSpec *param_spec;
+
+ ags_ruler_parent_class = g_type_class_peek_parent(ruler);
+
+ /* GObjectClass */
+ gobject = (GObjectClass *) ruler;
+
+ gobject->set_property = ags_ruler_set_property;
+ gobject->get_property = ags_ruler_get_property;
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) ruler;
+
+ // widget->map = ags_ruler_map;
+ widget->realize = ags_ruler_realize;
+ widget->expose_event = ags_ruler_expose;
+ widget->size_request = ags_ruler_size_request;
+ widget->size_allocate = ags_ruler_size_allocate;
+ widget->show = ags_ruler_show;
+
+ /* properties */
+ param_spec = g_param_spec_object("adjustment\0",
+ "assigned adjustment\0",
+ "The adjustment it is assigned with\0",
+ G_TYPE_OBJECT,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
+ g_object_class_install_property(gobject,
+ PROP_ADJUSTMENT,
+ param_spec);
+}
+
+void
+ags_ruler_init(AgsRuler *ruler)
+{
+ g_object_set(G_OBJECT(ruler),
+ "app-paintable\0", TRUE,
+ NULL);
+
+ ruler->flags = 0;
+
+ ruler->font_size = 14;
+
+ ruler->adjustment = NULL;
+
+ ruler->step = AGS_RULER_DEFAULT_STEP;
+
+ ruler->factor = 16.0;
+ ruler->precision = 1.0;
+ ruler->scale_precision = 1.0;
+
+ gtk_widget_set_size_request(ruler,
+ 20,
+ 24);
+}
+
+
+void
+ags_ruler_set_property(GObject *gobject,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRuler *ruler;
+
+ ruler = AGS_RULER(gobject);
+
+ switch(prop_id){
+ case PROP_ADJUSTMENT:
+ {
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) g_value_get_object(value);
+
+ if(ruler->adjustment == adjustment)
+ return;
+
+ if(ruler->adjustment != NULL){
+ g_object_unref(G_OBJECT(ruler->adjustment));
+ }
+
+ if(adjustment != NULL){
+ g_object_ref(G_OBJECT(adjustment));
+ }
+
+ ruler->adjustment = (GObject *) adjustment;
+ }
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ruler_get_property(GObject *gobject,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *param_spec)
+{
+ AgsRuler *ruler;
+
+ ruler = AGS_RULER(gobject);
+
+ switch(prop_id){
+ case PROP_ADJUSTMENT:
+ g_value_set_object(value, ruler->adjustment);
+ break;
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID(gobject, prop_id, param_spec);
+ break;
+ }
+}
+
+void
+ags_ruler_map(GtkWidget *widget)
+{
+ if (gtk_widget_get_realized (widget) && !gtk_widget_get_mapped (widget)) {
+ GTK_WIDGET_CLASS (ags_ruler_parent_class)->map(widget);
+
+ gdk_window_show(widget->window);
+ ags_ruler_draw(widget);
+ }
+}
+
+void
+ags_ruler_realize(GtkWidget *widget)
+{
+ AgsRuler *ruler;
+ GdkWindowAttr attributes;
+ gint attributes_mask;
+ gint border_left, border_top;
+
+ g_return_if_fail (widget != NULL);
+ g_return_if_fail (AGS_IS_RULER (widget));
+
+ ruler = AGS_RULER(widget);
+
+ gtk_widget_set_realized (widget, TRUE);
+
+ /* */
+ attributes.window_type = GDK_WINDOW_CHILD;
+
+ attributes.x = widget->allocation.x;
+ attributes.y = widget->allocation.y;
+ attributes.width = widget->allocation.width;
+ attributes.height = widget->allocation.height;
+
+ attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
+
+ attributes.window_type = GDK_WINDOW_CHILD;
+
+ attributes.wclass = GDK_INPUT_OUTPUT;
+ attributes.visual = gtk_widget_get_visual (widget);
+ attributes.colormap = gtk_widget_get_colormap (widget);
+ attributes.event_mask = gtk_widget_get_events (widget);
+ attributes.event_mask |= (GDK_EXPOSURE_MASK |
+ GDK_BUTTON_PRESS_MASK |
+ GDK_BUTTON_RELEASE_MASK |
+ GDK_BUTTON1_MOTION_MASK |
+ GDK_BUTTON3_MOTION_MASK |
+ GDK_POINTER_MOTION_HINT_MASK |
+ GDK_POINTER_MOTION_MASK |
+ GDK_ENTER_NOTIFY_MASK |
+ GDK_LEAVE_NOTIFY_MASK);
+
+ widget->window = gdk_window_new (gtk_widget_get_parent_window (widget),
+ &attributes, attributes_mask);
+ gdk_window_set_user_data (widget->window, ruler);
+
+ widget->style = gtk_style_attach (widget->style, widget->window);
+ gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
+
+ gtk_widget_queue_resize (widget);
+}
+
+void
+ags_ruler_show(GtkWidget *widget)
+{
+ GTK_WIDGET_CLASS(ags_ruler_parent_class)->show(widget);
+}
+
+void
+ags_ruler_size_request(GtkWidget *widget,
+ GtkRequisition *requisition)
+{
+ GTK_WIDGET_CLASS(ags_ruler_parent_class)->size_request(widget, requisition);
+
+ /* implement me */
+ //TODO:JK:
+}
+
+void
+ags_ruler_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation)
+{
+ GTK_WIDGET_CLASS(ags_ruler_parent_class)->size_allocate(widget, allocation);
+
+ /* implement me */
+ //TODO:JK:
+}
+
+gboolean
+ags_ruler_expose(GtkWidget *widget,
+ GdkEventExpose *event)
+{
+ ags_ruler_draw(AGS_RULER(widget));
+
+ return(FALSE);
+}
+
+/**
+ * ags_ruler_draw:
+ * @ruler an #AgsRuler
+ *
+ * draws the widget
+ */
+void
+ags_ruler_draw(AgsRuler *ruler)
+{
+ GtkWidget *widget;
+ cairo_t *cr;
+
+ gchar *str;
+ gdouble tact_factor, zoom_factor;
+ gdouble tact;
+ gdouble step;
+ gdouble offset;
+ guint i, j, j_set;
+ guint z;
+ gboolean omit_scales;
+
+ widget = GTK_WIDGET(ruler);
+
+ cr = gdk_cairo_create(widget->window);
+
+ cairo_select_font_face(cr, "Georgia\0",
+ CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD);
+ cairo_set_font_size(cr, (gdouble) ruler->font_size);
+
+ /* draw ruler and scale */
+ zoom_factor = 0.25;
+
+ tact_factor = ruler->factor;
+ tact = ruler->precision;
+
+ step = ruler->step * zoom_factor * tact_factor * tact;
+
+ /* draw bg */
+ cairo_set_source_rgba(cr, 0.0, 0.0, 0.125, 1.0);
+ cairo_rectangle(cr,
+ 0, 0,
+ widget->allocation.width, widget->allocation.height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgba(cr,
+ 1.0,
+ 1.0,
+ 1.0,
+ 1.0);
+ cairo_set_line_width(cr,
+ 1.25);
+
+ offset = ruler->adjustment->value;
+
+ i = ((guint) round((double) offset * step)) % (guint) round(step);
+
+ if(i != 0){
+ i = step - i;
+ }
+
+ z = 0;
+
+ if(i < widget->allocation.width &&
+ tact > 1.0){
+ j_set = (guint) ceil(offset) % (guint) (tact);
+
+ if(j_set != 0){
+ j = j_set;
+ goto ags_ruler_draw_scale0;
+ }
+ }
+
+ for(; i < widget->allocation.width; ){
+ /* draw large step */
+ cairo_move_to(cr,
+ (double) (i),
+ (double) (widget->allocation.height));
+
+ cairo_set_line_width(cr,
+ 1.75);
+
+ cairo_line_to(cr,
+ (double) (i),
+ (double) (widget->allocation.height - AGS_RULER_LARGE_STEP));
+
+ cairo_stroke(cr);
+
+ /* draw scale */
+ cairo_move_to(cr,
+ (double) (i),
+ (double) (widget->allocation.height - AGS_RULER_LARGE_STEP));
+
+ str = g_strdup_printf("%.2f\0",
+ (ceil(offset) + z) * ruler->scale_precision);
+
+ cairo_show_text(cr,
+ str);
+ g_free(str);
+
+
+ i += step;
+ z++;
+
+ /* reset line width */
+ for(j = 1; i < widget->allocation.width && j < tact; j++){
+ ags_ruler_draw_scale0:
+ /* draw large step */
+ cairo_move_to(cr,
+ (double) (i),
+ (double) (widget->allocation.height));
+
+ cairo_set_line_width(cr,
+ 1.25);
+
+ cairo_line_to(cr,
+ (double) (i),
+ (double) (widget->allocation.height - AGS_RULER_SMALL_STEP));
+
+ cairo_stroke(cr);
+
+
+ i += step;
+ z++;
+ }
+ }
+
+ cairo_destroy(cr);
+}
+
+/**
+ * ags_ruler_new:
+ *
+ * Creates an #AgsRuler
+ *
+ * Returns: a new #AgsRuler
+ *
+ * Since: 0.4
+ */
+AgsRuler*
+ags_ruler_new()
+{
+ AgsRuler *ruler;
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0);
+
+ ruler = (AgsRuler *) g_object_new(AGS_TYPE_RULER,
+ "adjustment\0", adjustment,
+ NULL);
+
+ return(ruler);
+}
diff --git a/src/ags/widget/ags_ruler.h b/src/ags/widget/ags_ruler.h
new file mode 100644
index 0000000..6dcd123
--- /dev/null
+++ b/src/ags/widget/ags_ruler.h
@@ -0,0 +1,66 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_RULER_H__
+#define __AGS_RULER_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_RULER (ags_ruler_get_type())
+#define AGS_RULER(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, AGS_TYPE_RULER, AgsRuler))
+#define AGS_RULER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RULER, AgsRulerClass))
+#define AGS_IS_RULER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_RULER))
+#define AGS_IS_RULER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_RULER))
+#define AGS_RULER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RULER, AgsRulerClass))
+
+#define AGS_RULER_DEFAULT_STEP (16)
+#define AGS_RULER_LARGE_STEP (8.0)
+#define AGS_RULER_SMALL_STEP (6.0)
+
+typedef struct _AgsRuler AgsRuler;
+typedef struct _AgsRulerClass AgsRulerClass;
+
+struct _AgsRuler
+{
+ GtkWidget widget;
+
+ guint flags;
+
+ guint font_size;
+
+ GtkAdjustment *adjustment;
+
+ guint step;
+
+ gdouble factor;
+ gdouble precision;
+ gdouble scale_precision;
+};
+
+struct _AgsRulerClass
+{
+ GtkWidgetClass widget;
+};
+
+GType ags_ruler_get_type();
+
+AgsRuler* ags_ruler_new();
+
+#endif /*__AGS_RULER_H__*/
diff --git a/src/ags/widget/ags_segment.c b/src/ags/widget/ags_segment.c
new file mode 100644
index 0000000..139a70d
--- /dev/null
+++ b/src/ags/widget/ags_segment.c
@@ -0,0 +1,2 @@
+#include <ags/widget/ags_segment.h>
+
diff --git a/src/ags/widget/ags_segment.h b/src/ags/widget/ags_segment.h
new file mode 100644
index 0000000..80eb528
--- /dev/null
+++ b/src/ags/widget/ags_segment.h
@@ -0,0 +1,89 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_SEGMENT_H__
+#define __AGS_SEGMENT_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_SEGMENT (ags_segment_get_type())
+#define AGS_SEGMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SEGMENT, AgsSegment))
+#define AGS_SEGMENT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SEGMENT, AgsSegmentClass))
+#define AGS_IS_SEGMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SEGMENT))
+#define AGS_IS_SEGMENT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_SEGMENT))
+#define AGS_SEGMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SEGMENT, AgsSegmentClass))
+
+typedef struct _AgsSegment AgsSegment;
+typedef struct _AgsSegmentClass AgsSegmentClass;
+
+typedef enum{
+ AGS_SEGMENT_MONOCHROME = 1,
+ AGS_SEGMENT_COLOR_RED = 1 << 1,
+ AGS_SEGMENT_COLOR_BLUE = 1 << 2,
+ AGS_SGEMENT_COLOR_GREEN = 1 << 3,
+}AGS_SEGMENT_FLAGS;
+
+typedef enum{
+ AGS_SEGMENT_UPPER_LEFT = 1,
+ AGS_SEGMENT_UPPER_RIGHT = 1 << 1,
+ AGS_SEGMENT_LOWER_LEFT = 1 << 2,
+ AGS_SEGMENT_LOWER_RIGHT = 1 << 3,
+ AGS_SEGMENT_LEFT_UPPER_1 = 1 << 4,
+ AGS_SEGMENT_LEFT_UPPER_2 = 1 << 5,
+ AGS_SEGMENT_LEFT_LOWER_1 = 1 << 6,
+ AGS_SEGMENT_LEFT_LOWER_2 = 1 << 7,
+ AGS_SEGMENT_RIGHT_UPPER_1 = 1 << 8,
+ AGS_SEGMENT_RIGHT_UPPER_2 = 1 << 9,
+ AGS_SEGMENT_RIGHT_LOWER_1 = 1 << 10,
+ AGS_SEGMENT_RIGHT_LOWER_2 = 1 << 11,
+ AGS_SEGMENT_DIAGONAL_UPPER_LEFT_1 = 1 << 12,
+ AGS_SEGMENT_DIAGONAL_UPPER_LEFT_2 = 1 << 13,
+ AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_1 = 1 << 14,
+ AGS_SEGMENT_DIAGONAL_UPPER_RIGHT_2 = 1 << 15,
+ AGS_SEGMENT_DIAGONAL_LOWER_LEFT_1 = 1 << 16,
+ AGS_SEGMENT_DIAGONAL_LOWER_LEFT_2 = 1 << 17,
+ AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_1 = 1 << 18,
+ AGS_SEGMENT_DIAGONAL_LOWER_RIGHT_2 = 1 << 19,
+}AgsSegmentFields;
+
+struct _AgsSegment
+{
+ GtkWidget widget;
+
+ guint flags;
+
+ guint count;
+};
+
+struct _AgsSegmentClass
+{
+ GtkWidgetClass widget;
+};
+
+GType ags_segment_get_type(void);
+
+void ags_segment_field_on(AgsSegment *segment, guint field);
+void ags_segment_field_off(AgsSegment *segment, guint field);
+
+void ags_segment_draw_string(AgsSegment *segment, gchar **string);
+
+AgsSegment* ags_segment_new();
+
+#endif /*__AGS_SEGMENT_H__*/
diff --git a/src/ags/widget/ags_table.c b/src/ags/widget/ags_table.c
new file mode 100644
index 0000000..4d17125
--- /dev/null
+++ b/src/ags/widget/ags_table.c
@@ -0,0 +1,72 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/widget/ags_table.h>
+
+void ags_table_class_init(AgsTableClass *table);
+void ags_table_init(AgsTable *table);
+
+GType
+ags_table_get_type(void)
+{
+ static GType ags_type_table = 0;
+
+ if(!ags_type_table){
+ static const GTypeInfo ags_table_info = {
+ sizeof(AgsTableClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_table_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsTable),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_table_init,
+ };
+
+ ags_type_table = g_type_register_static(GTK_TYPE_TABLE,
+ "AgsTable\0", &ags_table_info,
+ 0);
+ }
+
+ return(ags_type_table);
+}
+
+void
+ags_table_class_init(AgsTableClass *table)
+{
+}
+
+void
+ags_table_init(AgsTable *table)
+{
+}
+
+AgsTable*
+ags_table_new(guint row, guint columns, gboolean homogeneous)
+{
+ AgsTable *table;
+
+ table = (AgsTable *) g_object_new(AGS_TYPE_TABLE,
+ "n-rows\0", row,
+ "n-columns\0", columns,
+ "homogeneous\0", homogeneous,
+ NULL);
+
+ return(table);
+}
diff --git a/src/ags/widget/ags_table.h b/src/ags/widget/ags_table.h
new file mode 100644
index 0000000..82a0248
--- /dev/null
+++ b/src/ags/widget/ags_table.h
@@ -0,0 +1,51 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TABLE_H__
+#define __AGS_TABLE_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_TABLE (ags_table_get_type())
+#define AGS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TABLE, AgsTable))
+#define AGS_TABLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TABLE, AgsTableClass))
+#define AGS_IS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TABLE))
+#define AGS_IS_TABLE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TABLE))
+#define AGS_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TABLE, AgsTableClass))
+
+typedef struct _AgsTable AgsTable;
+typedef struct _AgsTableClass AgsTableClass;
+
+struct _AgsTable
+{
+ GtkTable table;
+};
+
+struct _AgsTableClass
+{
+ GtkTableClass table;
+};
+
+GType ags_table_get_type(void);
+
+AgsTable* ags_table_new(guint row, guint columns, gboolean homogeneous);
+
+#endif /*__AGS_TABLE_H__*/
+
diff --git a/src/ags/widget/ags_timebar.c b/src/ags/widget/ags_timebar.c
new file mode 100644
index 0000000..5893100
--- /dev/null
+++ b/src/ags/widget/ags_timebar.c
@@ -0,0 +1,20 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <ags/widget/ags_timebar.h>
+
diff --git a/src/ags/widget/ags_timebar.h b/src/ags/widget/ags_timebar.h
new file mode 100644
index 0000000..695d9e7
--- /dev/null
+++ b/src/ags/widget/ags_timebar.h
@@ -0,0 +1,48 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2005-2011 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_TIMEBAR_H__
+#define __AGS_TIMEBAR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_TIMEBAR (ags_timebar_get_type())
+#define AGS_TIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TIMEBAR, AgsTimebar))
+#define AGS_TIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TIMEBAR, AgsTimebarClass))
+#define AGS_IS_TIMEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_TIMEBAR))
+#define AGS_IS_TIMEBAR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_TIMEBAR))
+#define AGS_TIMEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TIMEBAR, AgsTimebarClass))
+
+typedef struct _AgsTimebar AgsTimebar;
+typedef struct _AgsTimebarClass AgsTimebarClass;
+
+struct _AgsTimebar
+{
+ GtkRange range;
+};
+
+struct _AgsTimebarClass
+{
+ GtkRangeClass range;
+};
+
+AgsTimebar* ags_timebar_new();
+
+#endif /*__AGS_TIMEBAR_H__*/
diff --git a/src/ags/widget/ags_vindicator.c b/src/ags/widget/ags_vindicator.c
new file mode 100644
index 0000000..f2a9a2c
--- /dev/null
+++ b/src/ags/widget/ags_vindicator.c
@@ -0,0 +1,191 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_vindicator.h"
+
+void ags_vindicator_class_init(AgsVIndicatorClass *indicator);
+void ags_vindicator_init(AgsVIndicator *indicator);
+void ags_vindicator_show(GtkWidget *widget);
+
+gboolean ags_vindicator_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+gboolean ags_vindicator_configure(GtkWidget *widget,
+ GdkEventConfigure *event);
+
+void ags_vindicator_draw(AgsVIndicator *indicator);
+
+/**
+ * SECTION:ags_vindicator
+ * @short_description: A vertical indicator widget
+ * @title: AgsVIndicator
+ * @section_id:
+ * @include: ags/widget/ags_vindicator.h
+ *
+ * #AgsVIndicator is a widget visualizing a #GtkAdjustment.
+ */
+
+static gpointer ags_vindicator_parent_class = NULL;
+
+GType
+ags_vindicator_get_type(void)
+{
+ static GType ags_type_vindicator = 0;
+
+ if(!ags_type_vindicator){
+ static const GTypeInfo ags_vindicator_info = {
+ sizeof(AgsVIndicatorClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_vindicator_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsVIndicator),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_vindicator_init,
+ };
+
+ ags_type_vindicator = g_type_register_static(AGS_TYPE_INDICATOR,
+ "AgsVIndicator\0", &ags_vindicator_info,
+ 0);
+ }
+
+ return(ags_type_vindicator);
+}
+
+void
+ags_vindicator_class_init(AgsVIndicatorClass *indicator)
+{
+ GtkWidgetClass *widget;
+
+ ags_vindicator_parent_class = g_type_class_peek_parent(indicator);
+
+ /* GtkWidgetClass */
+ widget = (GtkWidgetClass *) indicator;
+
+ widget->expose_event = ags_vindicator_expose;
+ widget->configure_event = ags_vindicator_configure;
+}
+
+void
+ags_vindicator_init(AgsVIndicator *indicator)
+{
+ gtk_widget_set_size_request(indicator,
+ 16,
+ 100);
+}
+
+gboolean
+ags_vindicator_configure(GtkWidget *widget,
+ GdkEventConfigure *event)
+{
+ ags_vindicator_draw(widget);
+
+ return(FALSE);
+}
+
+gboolean
+ags_vindicator_expose(GtkWidget *widget,
+ GdkEventExpose *event)
+{
+ ags_vindicator_draw(widget);
+
+ return(FALSE);
+}
+
+void
+ags_vindicator_draw(AgsVIndicator *indicator)
+{
+ GtkWidget *widget;
+ GtkAdjustment *adjustment;
+ cairo_t *cr;
+ gdouble value;
+ guint width, height;
+ guint segment_width, segment_height;
+ guint padding;
+ guint i;
+
+ widget = GTK_WIDGET(indicator);
+ adjustment = AGS_INDICATOR(indicator)->adjustment;
+
+ // g_message("draw %f\0", adjustment->value);
+
+ cr = gdk_cairo_create(widget->window);
+
+ if(cr == NULL){
+ return;
+ }
+
+ width = 16;
+ height = 100;
+
+ segment_width = 16;
+ segment_height = 7;
+
+ padding = 3;
+
+ cairo_push_group(cr);
+
+ for(i = 0; i < height / (segment_height + padding); i++){
+ if(adjustment->value > 0.0 &&
+ (1 / adjustment->value * i < (height / (segment_height + padding)))){
+ /* active */
+ cairo_set_source_rgba(cr, 0.9, 0.7, 0.2, 1.0);
+ }else{
+ /* normal */
+ cairo_set_source_rgba(cr, 0.0, 0.0, 0.4, 1.0);
+ }
+
+ cairo_rectangle(cr,
+ 0, height - i * (segment_height + padding) - segment_height,
+ segment_width, segment_height);
+ cairo_fill(cr);
+
+ cairo_set_source_rgba(cr, 0.0, 0.0, 1.0, 0.3);
+ cairo_rectangle(cr,
+ 0, height - i * (segment_height + padding) - segment_height,
+ segment_width, segment_height);
+ cairo_stroke(cr);
+ }
+
+ cairo_pop_group_to_source(cr);
+ cairo_paint(cr);
+
+ cairo_destroy(cr);
+}
+
+/**
+ * ags_vindicator_new:
+ *
+ * Creates an #AgsVIndicator.
+ *
+ * Since: 0.4
+ */
+AgsVIndicator*
+ags_vindicator_new()
+{
+ AgsVIndicator *indicator;
+ GtkAdjustment *adjustment;
+
+ adjustment = (GtkAdjustment *) gtk_adjustment_new(0.0, 0.0, 1.0, 0.1, 0.1, 0.0);
+
+ indicator = (AgsVIndicator *) g_object_new(AGS_TYPE_VINDICATOR,
+ "adjustment\0", adjustment,
+ NULL);
+
+ return(indicator);
+}
diff --git a/src/ags/widget/ags_vindicator.h b/src/ags/widget/ags_vindicator.h
new file mode 100644
index 0000000..1eee990
--- /dev/null
+++ b/src/ags/widget/ags_vindicator.h
@@ -0,0 +1,54 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_VINDICATOR_H__
+#define __AGS_VINDICATOR_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include "ags_indicator.h"
+
+#define AGS_TYPE_VINDICATOR (ags_vindicator_get_type())
+#define AGS_VINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsVIndicator))
+#define AGS_VINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsVIndicatorClass))
+#define AGS_IS_VINDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
+#define AGS_IS_VINDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
+#define AGS_VINDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsVIndicatorClass))
+
+typedef struct _AgsVIndicator AgsVIndicator;
+typedef struct _AgsVIndicatorClass AgsVIndicatorClass;
+
+struct _AgsVIndicator
+{
+ AgsIndicator indicator;
+};
+
+struct _AgsVIndicatorClass
+{
+ GtkWidgetClass indicator;
+};
+
+GType ags_vindicator_get_type(void);
+
+AgsVIndicator* ags_vindicator_new();
+
+#endif /*__AGS_VINDICATOR_H__*/
+
+
diff --git a/src/ags/widget/ags_waveform.c b/src/ags/widget/ags_waveform.c
new file mode 100644
index 0000000..922098f
--- /dev/null
+++ b/src/ags/widget/ags_waveform.c
@@ -0,0 +1,78 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include "ags_waveform.h"
+
+void ags_waveform_class_init(AgsWaveformClass *waveform);
+void ags_waveform_init(AgsWaveform *waveform);
+void ags_waveform_show(GtkWidget *widget);
+
+static gpointer ags_waveform_parent_class = NULL;
+
+GType
+ags_waveform_get_type(void)
+{
+ static GType ags_type_waveform = 0;
+
+ if(!ags_type_waveform){
+ static const GTypeInfo ags_waveform_info = {
+ sizeof(AgsWaveformClass),
+ NULL, /* base_init */
+ NULL, /* base_finalize */
+ (GClassInitFunc) ags_waveform_class_init,
+ NULL, /* class_finalize */
+ NULL, /* class_data */
+ sizeof(AgsWaveform),
+ 0, /* n_preallocs */
+ (GInstanceInitFunc) ags_waveform_init,
+ };
+
+ ags_type_waveform = g_type_register_static(GTK_TYPE_WIDGET,
+ "AgsWaveform\0", &ags_waveform_info,
+ 0);
+ }
+
+ return(ags_type_waveform);
+}
+
+void
+ags_waveform_class_init(AgsWaveformClass *waveform)
+{
+ GtkWidgetClass *widget;
+
+ ags_waveform_parent_class = g_type_class_peek_parent(waveform);
+}
+
+void
+ags_waveform_init(AgsWaveform *waveform)
+{
+ g_object_set(G_OBJECT(waveform),
+ "app-paintable\0", TRUE,
+ NULL);
+}
+
+AgsWaveform*
+ags_waveform_new()
+{
+ AgsWaveform *waveform;
+
+ waveform = (AgsWaveform *) g_object_new(AGS_TYPE_WAVEFORM,
+ NULL);
+
+ return(waveform);
+}
diff --git a/src/ags/widget/ags_waveform.h b/src/ags/widget/ags_waveform.h
new file mode 100644
index 0000000..e3a0bde
--- /dev/null
+++ b/src/ags/widget/ags_waveform.h
@@ -0,0 +1,50 @@
+/* AGS - Advanced GTK Sequencer
+ * Copyright (C) 2013 Joël Krähemann
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __AGS_WAVEFORM_H__
+#define __AGS_WAVEFORM_H__
+
+#include <glib.h>
+#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#define AGS_TYPE_WAVEFORM (ags_waveform_get_type())
+#define AGS_WAVEFORM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_WAVEFORM, AgsWaveform))
+#define AGS_WAVEFORM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_WAVEFORM, AgsWaveformClass))
+#define AGS_IS_WAVEFORM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_WAVEFORM))
+#define AGS_IS_WAVEFORM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_WAVEFORM))
+#define AGS_WAVEFORM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_WAVEFORM, AgsWaveformClass))
+
+typedef struct _AgsWaveform AgsWaveform;
+typedef struct _AgsWaveformClass AgsWaveformClass;
+
+struct _AgsWaveform
+{
+ GtkWidget widget;
+};
+
+struct _AgsWaveformClass
+{
+ GtkWidgetClass widget;
+};
+
+GType ags_waveform_get_type(void);
+
+AgsWaveform* ags_waveform_new();
+
+#endif /*__AGS_WAVEFORM_H__*/
diff --git a/stamp-h1 b/stamp-h1
new file mode 100644
index 0000000..4547fe1
--- /dev/null
+++ b/stamp-h1
@@ -0,0 +1 @@
+timestamp for config.h
diff --git a/threads.dia b/threads.dia
new file mode 100644
index 0000000..e69de29
--
gsequencer packaging
More information about the pkg-multimedia-commits
mailing list